@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 +1 -1
- package/prisma/schema.prisma +24 -20
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -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
|
|
242
|
-
venue
|
|
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
|
|
601
|
-
ageRange
|
|
602
|
-
secondaryAgeRange
|
|
603
|
-
gender
|
|
604
|
-
secondaryGender
|
|
605
|
-
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
|
|
608
|
-
secondaryEducation
|
|
609
|
-
showOnDetailPage
|
|
610
|
-
bashEvent
|
|
611
|
-
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
|
|
1107
|
-
notAllowed
|
|
1108
|
-
vibe
|
|
1109
|
-
dress
|
|
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
|
|
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)
|