@bash-app/bash-common 29.14.5 → 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.5",
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,9 +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])
243
-
241
+ venueId String? // Nullable, meaning it's optional
242
+ venue Venue? @relation(fields: [venueId], references: [id])
244
243
  }
245
244
 
246
245
  model Coordinates {
@@ -597,21 +596,20 @@ enum Privacy {
597
596
  }
598
597
 
599
598
  model TargetAudience {
600
- id String @id @default(cuid())
601
- ageRange AgeRange[]
602
- secondaryAgeRange AgeRange[]
603
- gender Gender[]
604
- secondaryGender Gender[]
605
- occupation Occupation[]
599
+ id String @id @default(cuid())
600
+ ageRange AgeRange[]
601
+ secondaryAgeRange AgeRange[]
602
+ gender Gender[]
603
+ secondaryGender Gender[]
604
+ occupation Occupation[]
606
605
  secondaryOccupation Occupation[]
607
- education Education[]
608
- secondaryEducation Education[]
609
- showOnDetailPage Boolean @default(true)
610
- bashEvent BashEvent?
611
- service Service?
606
+ education Education[]
607
+ secondaryEducation Education[]
608
+ showOnDetailPage Boolean @default(true)
609
+ bashEvent BashEvent?
610
+ service Service?
612
611
  }
613
612
 
614
-
615
613
  enum AgeRange {
616
614
  Sixteen_17
617
615
  Eighteen_20
@@ -1103,10 +1101,10 @@ model Venue {
1103
1101
  capacity Int?
1104
1102
  trademark Boolean?
1105
1103
  manager Boolean?
1106
- allowed String?
1107
- notAllowed String?
1108
- vibe String?
1109
- dress String?
1104
+ allowed String?
1105
+ notAllowed String?
1106
+ vibe String?
1107
+ dress String?
1110
1108
 
1111
1109
  bashEvents BashEvent[]
1112
1110
  }
@@ -1281,7 +1279,7 @@ model VerificationToken {
1281
1279
 
1282
1280
  model ServiceLink {
1283
1281
  id String @id @default(cuid())
1284
- serviceId String @unique
1282
+ serviceId String
1285
1283
  service Service @relation(fields: [serviceId], references: [id], onDelete: Cascade)
1286
1284
  linkId String
1287
1285
  link Link @relation(fields: [linkId], references: [id], onDelete: Cascade)