@bash-app/bash-common 29.14.5 → 29.15.6

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.6",
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
@@ -1030,6 +1028,7 @@ model EventService {
1030
1028
  goodsOrServices String[]
1031
1029
  menuItems String?
1032
1030
  venueTypes String[]
1031
+ secondaryVenueTypes String[]
1033
1032
  }
1034
1033
 
1035
1034
  model EntertainmentService {
@@ -1046,6 +1045,7 @@ model EntertainmentService {
1046
1045
  crowdSize AmountOfGuests? @relation(fields: [crowdSizeId], references: [id], onDelete: Cascade)
1047
1046
  goodsOrServices String[]
1048
1047
  venueTypes String[]
1048
+ secondaryVenueTypes String[]
1049
1049
  }
1050
1050
 
1051
1051
  model Vendor {
@@ -1060,6 +1060,7 @@ model Vendor {
1060
1060
  goodsOrServices String[]
1061
1061
  menuItems String?
1062
1062
  venueTypes String[]
1063
+ secondaryVenueTypes String[]
1063
1064
  }
1064
1065
 
1065
1066
  model Exhibitor {
@@ -1073,6 +1074,7 @@ model Exhibitor {
1073
1074
  crowdSize AmountOfGuests? @relation(fields: [crowdSizeId], references: [id], onDelete: Cascade)
1074
1075
  goodsOrServices String[]
1075
1076
  venueTypes String[]
1077
+ secondaryVenueTypes String[]
1076
1078
  }
1077
1079
 
1078
1080
  model Sponsor {
@@ -1099,14 +1101,15 @@ model Venue {
1099
1101
  menuItems String?
1100
1102
  features String[]
1101
1103
  venueTypes String[]
1104
+ secondaryVenueTypes String[]
1102
1105
  pitch String?
1103
1106
  capacity Int?
1104
1107
  trademark Boolean?
1105
1108
  manager Boolean?
1106
- allowed String?
1107
- notAllowed String?
1108
- vibe String?
1109
- dress String?
1109
+ allowed String?
1110
+ notAllowed String?
1111
+ vibe String?
1112
+ dress String?
1110
1113
 
1111
1114
  bashEvents BashEvent[]
1112
1115
  }
@@ -1118,6 +1121,7 @@ model Organization {
1118
1121
  organizationType OrganizationType[]
1119
1122
  goodsOrServices String[]
1120
1123
  venueTypes String[]
1124
+ secondaryVenueTypes String[]
1121
1125
  }
1122
1126
 
1123
1127
  enum EventServiceType {
@@ -1281,7 +1285,7 @@ model VerificationToken {
1281
1285
 
1282
1286
  model ServiceLink {
1283
1287
  id String @id @default(cuid())
1284
- serviceId String @unique
1288
+ serviceId String
1285
1289
  service Service @relation(fields: [serviceId], references: [id], onDelete: Cascade)
1286
1290
  linkId String
1287
1291
  link Link @relation(fields: [linkId], references: [id], onDelete: Cascade)