@bash-app/bash-common 29.15.7 → 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.7",
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