@bash-app/bash-common 29.15.7 → 29.15.9

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.9",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -240,6 +240,8 @@ model BashEvent {
240
240
  rate Rate[]
241
241
  venueId String? // Nullable, meaning it's optional
242
242
  venue Venue? @relation(fields: [venueId], references: [id])
243
+
244
+
243
245
  }
244
246
 
245
247
  model Coordinates {
@@ -785,6 +787,20 @@ model Review {
785
787
  comments BashComment[]
786
788
  }
787
789
 
790
+ model GoogleReview {
791
+ id String @id @default(cuid())
792
+ reviewableId String
793
+ reviewableType ServiceTypes
794
+ author_name String?
795
+ rating Float
796
+ text String?
797
+ createdAt DateTime @default(now())
798
+
799
+ @@index([reviewableId, reviewableType])
800
+ }
801
+
802
+
803
+
788
804
  model Session {
789
805
  id String @id @default(cuid())
790
806
  sessionToken String @unique
@@ -1112,6 +1128,7 @@ model Venue {
1112
1128
  dress String?
1113
1129
 
1114
1130
  bashEvents BashEvent[]
1131
+
1115
1132
  }
1116
1133
 
1117
1134
  model Organization {