@bash-app/bash-common 29.16.3 → 29.17.4
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 +72 -72
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -240,8 +240,6 @@ model BashEvent {
|
|
|
240
240
|
rate Rate[]
|
|
241
241
|
venueId String? // Nullable, meaning it's optional
|
|
242
242
|
venue Venue? @relation(fields: [venueId], references: [id])
|
|
243
|
-
|
|
244
|
-
|
|
245
243
|
}
|
|
246
244
|
|
|
247
245
|
model Coordinates {
|
|
@@ -788,16 +786,14 @@ model Review {
|
|
|
788
786
|
}
|
|
789
787
|
|
|
790
788
|
model GoogleReview {
|
|
791
|
-
id
|
|
792
|
-
author_name
|
|
793
|
-
rating
|
|
794
|
-
text
|
|
795
|
-
createdAt
|
|
796
|
-
|
|
797
|
-
service Service
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
789
|
+
id String @id @default(cuid())
|
|
790
|
+
author_name String?
|
|
791
|
+
rating Float
|
|
792
|
+
text String?
|
|
793
|
+
createdAt DateTime @default(now())
|
|
794
|
+
serviceId String
|
|
795
|
+
service Service @relation(fields: [serviceId], references: [id], onDelete: Cascade)
|
|
796
|
+
}
|
|
801
797
|
|
|
802
798
|
model Session {
|
|
803
799
|
id String @id @default(cuid())
|
|
@@ -956,15 +952,20 @@ model Service {
|
|
|
956
952
|
tagline String?
|
|
957
953
|
|
|
958
954
|
//this is not the business info but that which is associated with the service
|
|
959
|
-
place
|
|
960
|
-
|
|
961
|
-
street
|
|
962
|
-
city
|
|
963
|
-
state
|
|
964
|
-
zipCode
|
|
965
|
-
country
|
|
966
|
-
|
|
967
|
-
|
|
955
|
+
place String?
|
|
956
|
+
googlePlaceId String?
|
|
957
|
+
street String?
|
|
958
|
+
city String?
|
|
959
|
+
state String?
|
|
960
|
+
zipCode String?
|
|
961
|
+
country String?
|
|
962
|
+
description String?
|
|
963
|
+
// email String?
|
|
964
|
+
// phone String?
|
|
965
|
+
|
|
966
|
+
pocName String?
|
|
967
|
+
pocPhoneNumber String?
|
|
968
|
+
pocBusinessEmail String?
|
|
968
969
|
|
|
969
970
|
additionalInfo String?
|
|
970
971
|
coverPhoto String?
|
|
@@ -1000,7 +1001,7 @@ model Service {
|
|
|
1000
1001
|
venue Venue?
|
|
1001
1002
|
organization Organization?
|
|
1002
1003
|
|
|
1003
|
-
googleReviews GoogleReview[]
|
|
1004
|
+
googleReviews GoogleReview[]
|
|
1004
1005
|
}
|
|
1005
1006
|
|
|
1006
1007
|
model StripeAccount {
|
|
@@ -1044,7 +1045,7 @@ model EventService {
|
|
|
1044
1045
|
goodsOrServices String[]
|
|
1045
1046
|
menuItems String?
|
|
1046
1047
|
venueTypes String[]
|
|
1047
|
-
secondaryVenueTypes String[]
|
|
1048
|
+
secondaryVenueTypes String[] @default([])
|
|
1048
1049
|
}
|
|
1049
1050
|
|
|
1050
1051
|
model EntertainmentService {
|
|
@@ -1061,36 +1062,36 @@ model EntertainmentService {
|
|
|
1061
1062
|
crowdSize AmountOfGuests? @relation(fields: [crowdSizeId], references: [id], onDelete: Cascade)
|
|
1062
1063
|
goodsOrServices String[]
|
|
1063
1064
|
venueTypes String[]
|
|
1064
|
-
secondaryVenueTypes
|
|
1065
|
+
secondaryVenueTypes String[] @default([])
|
|
1065
1066
|
}
|
|
1066
1067
|
|
|
1067
1068
|
model Vendor {
|
|
1068
|
-
id
|
|
1069
|
-
serviceId
|
|
1070
|
-
service
|
|
1071
|
-
serviceRangeId
|
|
1072
|
-
serviceRange
|
|
1073
|
-
yearsOfExperience
|
|
1074
|
-
crowdSizeId
|
|
1075
|
-
crowdSize
|
|
1076
|
-
goodsOrServices
|
|
1077
|
-
menuItems
|
|
1078
|
-
venueTypes
|
|
1079
|
-
secondaryVenueTypes String[]
|
|
1069
|
+
id String @id @default(cuid())
|
|
1070
|
+
serviceId String @unique
|
|
1071
|
+
service Service @relation(fields: [serviceId], references: [id], onDelete: Cascade)
|
|
1072
|
+
serviceRangeId String?
|
|
1073
|
+
serviceRange ServiceRange? @relation(fields: [serviceRangeId], references: [id])
|
|
1074
|
+
yearsOfExperience YearsOfExperience
|
|
1075
|
+
crowdSizeId String? @unique
|
|
1076
|
+
crowdSize AmountOfGuests? @relation(fields: [crowdSizeId], references: [id], onDelete: Cascade)
|
|
1077
|
+
goodsOrServices String[]
|
|
1078
|
+
menuItems String?
|
|
1079
|
+
venueTypes String[]
|
|
1080
|
+
secondaryVenueTypes String[] @default([])
|
|
1080
1081
|
}
|
|
1081
1082
|
|
|
1082
1083
|
model Exhibitor {
|
|
1083
|
-
id
|
|
1084
|
-
serviceId
|
|
1085
|
-
service
|
|
1086
|
-
serviceRangeId
|
|
1087
|
-
serviceRange
|
|
1088
|
-
yearsOfExperience
|
|
1089
|
-
crowdSizeId
|
|
1090
|
-
crowdSize
|
|
1091
|
-
goodsOrServices
|
|
1092
|
-
venueTypes
|
|
1093
|
-
secondaryVenueTypes String[]
|
|
1084
|
+
id String @id @default(cuid())
|
|
1085
|
+
serviceId String @unique
|
|
1086
|
+
service Service @relation(fields: [serviceId], references: [id], onDelete: Cascade)
|
|
1087
|
+
serviceRangeId String?
|
|
1088
|
+
serviceRange ServiceRange? @relation(fields: [serviceRangeId], references: [id])
|
|
1089
|
+
yearsOfExperience YearsOfExperience
|
|
1090
|
+
crowdSizeId String? @unique
|
|
1091
|
+
crowdSize AmountOfGuests? @relation(fields: [crowdSizeId], references: [id], onDelete: Cascade)
|
|
1092
|
+
goodsOrServices String[]
|
|
1093
|
+
venueTypes String[]
|
|
1094
|
+
secondaryVenueTypes String[] @default([])
|
|
1094
1095
|
}
|
|
1095
1096
|
|
|
1096
1097
|
model Sponsor {
|
|
@@ -1107,38 +1108,37 @@ model Sponsor {
|
|
|
1107
1108
|
}
|
|
1108
1109
|
|
|
1109
1110
|
model Venue {
|
|
1110
|
-
id
|
|
1111
|
-
serviceId
|
|
1112
|
-
service
|
|
1111
|
+
id String @id @default(cuid())
|
|
1112
|
+
serviceId String @unique
|
|
1113
|
+
service Service @relation(fields: [serviceId], references: [id], onDelete: Cascade)
|
|
1113
1114
|
// serviceConnectionId String? //Check: ?
|
|
1114
1115
|
// serviceConnection String?
|
|
1115
|
-
yearsInBusiness
|
|
1116
|
-
amenities
|
|
1117
|
-
menuItems
|
|
1118
|
-
features
|
|
1119
|
-
venueTypes
|
|
1120
|
-
secondaryVenueTypes String[]
|
|
1121
|
-
pitch
|
|
1122
|
-
capacity
|
|
1123
|
-
trademark
|
|
1124
|
-
manager
|
|
1125
|
-
allowed
|
|
1126
|
-
notAllowed
|
|
1127
|
-
vibe
|
|
1128
|
-
dress
|
|
1116
|
+
yearsInBusiness YearsOfExperience @default(LessThanOneYear)
|
|
1117
|
+
amenities String[]
|
|
1118
|
+
menuItems String?
|
|
1119
|
+
features String[]
|
|
1120
|
+
venueTypes String[]
|
|
1121
|
+
secondaryVenueTypes String[] @default([])
|
|
1122
|
+
pitch String?
|
|
1123
|
+
capacity Int?
|
|
1124
|
+
trademark Boolean?
|
|
1125
|
+
manager Boolean?
|
|
1126
|
+
allowed String?
|
|
1127
|
+
notAllowed String?
|
|
1128
|
+
vibe String?
|
|
1129
|
+
dress String?
|
|
1129
1130
|
|
|
1130
1131
|
bashEvents BashEvent[]
|
|
1131
|
-
|
|
1132
1132
|
}
|
|
1133
1133
|
|
|
1134
1134
|
model Organization {
|
|
1135
|
-
id
|
|
1136
|
-
serviceId
|
|
1137
|
-
service
|
|
1138
|
-
organizationType
|
|
1139
|
-
goodsOrServices
|
|
1140
|
-
venueTypes
|
|
1141
|
-
secondaryVenueTypes String[]
|
|
1135
|
+
id String @id @default(cuid())
|
|
1136
|
+
serviceId String @unique
|
|
1137
|
+
service Service @relation(fields: [serviceId], references: [id], onDelete: Cascade)
|
|
1138
|
+
organizationType OrganizationType[]
|
|
1139
|
+
goodsOrServices String[]
|
|
1140
|
+
venueTypes String[]
|
|
1141
|
+
secondaryVenueTypes String[] @default([])
|
|
1142
1142
|
}
|
|
1143
1143
|
|
|
1144
1144
|
enum EventServiceType {
|