@bash-app/bash-common 29.14.4 → 29.15.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.4",
3
+ "version": "29.15.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,8 @@ 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])
241
243
  }
242
244
 
243
245
  model Coordinates {
@@ -594,21 +596,20 @@ enum Privacy {
594
596
  }
595
597
 
596
598
  model TargetAudience {
597
- id String @id @default(cuid())
598
- ageRange AgeRange[]
599
- secondaryAgeRange AgeRange[]
600
- gender Gender[]
601
- secondaryGender Gender[]
602
- occupation Occupation[]
599
+ id String @id @default(cuid())
600
+ ageRange AgeRange[]
601
+ secondaryAgeRange AgeRange[]
602
+ gender Gender[]
603
+ secondaryGender Gender[]
604
+ occupation Occupation[]
603
605
  secondaryOccupation Occupation[]
604
- education Education[]
605
- secondaryEducation Education[]
606
- showOnDetailPage Boolean @default(true)
607
- bashEvent BashEvent?
608
- service Service?
606
+ education Education[]
607
+ secondaryEducation Education[]
608
+ showOnDetailPage Boolean @default(true)
609
+ bashEvent BashEvent?
610
+ service Service?
609
611
  }
610
612
 
611
-
612
613
  enum AgeRange {
613
614
  Sixteen_17
614
615
  Eighteen_20
@@ -1100,6 +1101,12 @@ model Venue {
1100
1101
  capacity Int?
1101
1102
  trademark Boolean?
1102
1103
  manager Boolean?
1104
+ allowed String?
1105
+ notAllowed String?
1106
+ vibe String?
1107
+ dress String?
1108
+
1109
+ bashEvents BashEvent[]
1103
1110
  }
1104
1111
 
1105
1112
  model Organization {
@@ -1272,7 +1279,7 @@ model VerificationToken {
1272
1279
 
1273
1280
  model ServiceLink {
1274
1281
  id String @id @default(cuid())
1275
- serviceId String @unique
1282
+ serviceId String
1276
1283
  service Service @relation(fields: [serviceId], references: [id], onDelete: Cascade)
1277
1284
  linkId String
1278
1285
  link Link @relation(fields: [linkId], references: [id], onDelete: Cascade)