@bash-app/bash-common 29.14.3 → 29.14.5

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.14.3",
3
+ "version": "29.14.5",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -238,6 +238,9 @@ model BashEvent {
238
238
  coordinates Coordinates[] // A BashEvent can have multiple sets of coordinates
239
239
  // stripeAccount StripeAccount[]
240
240
  rate Rate[]
241
+ venueId String? // Nullable, meaning it's optional
242
+ venue Venue? @relation(fields: [venueId], references: [id])
243
+
241
244
  }
242
245
 
243
246
  model Coordinates {
@@ -595,13 +598,13 @@ enum Privacy {
595
598
 
596
599
  model TargetAudience {
597
600
  id String @id @default(cuid())
598
- primaryAgeRange AgeRange[]
601
+ ageRange AgeRange[]
599
602
  secondaryAgeRange AgeRange[]
600
- primaryGender Gender[]
603
+ gender Gender[]
601
604
  secondaryGender Gender[]
602
- primaryOccupation Occupation[]
605
+ occupation Occupation[]
603
606
  secondaryOccupation Occupation[]
604
- primaryEducation Education[]
607
+ education Education[]
605
608
  secondaryEducation Education[]
606
609
  showOnDetailPage Boolean @default(true)
607
610
  bashEvent BashEvent?
@@ -1100,6 +1103,12 @@ model Venue {
1100
1103
  capacity Int?
1101
1104
  trademark Boolean?
1102
1105
  manager Boolean?
1106
+ allowed String?
1107
+ notAllowed String?
1108
+ vibe String?
1109
+ dress String?
1110
+
1111
+ bashEvents BashEvent[]
1103
1112
  }
1104
1113
 
1105
1114
  model Organization {