@bash-app/bash-common 29.15.6 → 29.15.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bash-app/bash-common",
3
- "version": "29.15.6",
3
+ "version": "29.15.8",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -211,6 +211,7 @@ model BashEvent {
211
211
  privacy Privacy @default(Public)
212
212
  tickets Ticket[]
213
213
  reviews Review[]
214
+ googleReview GoogleReview[]
214
215
  sponsorships SponsoredEvent[]
215
216
  investments Investment[]
216
217
  capacity Int?
@@ -240,6 +241,8 @@ model BashEvent {
240
241
  rate Rate[]
241
242
  venueId String? // Nullable, meaning it's optional
242
243
  venue Venue? @relation(fields: [venueId], references: [id])
244
+
245
+
243
246
  }
244
247
 
245
248
  model Coordinates {
@@ -785,6 +788,17 @@ model Review {
785
788
  comments BashComment[]
786
789
  }
787
790
 
791
+ model GoogleReview {
792
+ id String @id @default(cuid())
793
+ bashEventId String
794
+ bashEvent BashEvent @relation(fields: [bashEventId], references: [id], onDelete: Cascade)
795
+ author_name String?
796
+ rating Float
797
+ text String?
798
+ createdAt DateTime @default(now())
799
+ }
800
+
801
+
788
802
  model Session {
789
803
  id String @id @default(cuid())
790
804
  sessionToken String @unique
@@ -1028,7 +1042,7 @@ model EventService {
1028
1042
  goodsOrServices String[]
1029
1043
  menuItems String?
1030
1044
  venueTypes String[]
1031
- secondaryVenueTypes String[]
1045
+ secondaryVenueTypes String[] @default([])
1032
1046
  }
1033
1047
 
1034
1048
  model EntertainmentService {
@@ -1045,7 +1059,7 @@ model EntertainmentService {
1045
1059
  crowdSize AmountOfGuests? @relation(fields: [crowdSizeId], references: [id], onDelete: Cascade)
1046
1060
  goodsOrServices String[]
1047
1061
  venueTypes String[]
1048
- secondaryVenueTypes String[]
1062
+ secondaryVenueTypes String[] @default([])
1049
1063
  }
1050
1064
 
1051
1065
  model Vendor {
@@ -1060,7 +1074,7 @@ model Vendor {
1060
1074
  goodsOrServices String[]
1061
1075
  menuItems String?
1062
1076
  venueTypes String[]
1063
- secondaryVenueTypes String[]
1077
+ secondaryVenueTypes String[] @default([])
1064
1078
  }
1065
1079
 
1066
1080
  model Exhibitor {
@@ -1074,7 +1088,7 @@ model Exhibitor {
1074
1088
  crowdSize AmountOfGuests? @relation(fields: [crowdSizeId], references: [id], onDelete: Cascade)
1075
1089
  goodsOrServices String[]
1076
1090
  venueTypes String[]
1077
- secondaryVenueTypes String[]
1091
+ secondaryVenueTypes String[] @default([])
1078
1092
  }
1079
1093
 
1080
1094
  model Sponsor {
@@ -1101,7 +1115,7 @@ model Venue {
1101
1115
  menuItems String?
1102
1116
  features String[]
1103
1117
  venueTypes String[]
1104
- secondaryVenueTypes String[]
1118
+ secondaryVenueTypes String[] @default([])
1105
1119
  pitch String?
1106
1120
  capacity Int?
1107
1121
  trademark Boolean?
@@ -1121,7 +1135,7 @@ model Organization {
1121
1135
  organizationType OrganizationType[]
1122
1136
  goodsOrServices String[]
1123
1137
  venueTypes String[]
1124
- secondaryVenueTypes String[]
1138
+ secondaryVenueTypes String[] @default([])
1125
1139
  }
1126
1140
 
1127
1141
  enum EventServiceType {