@bash-app/bash-common 29.16.4 → 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 -76
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?
|
|
@@ -992,10 +993,6 @@ model Service {
|
|
|
992
993
|
media Media[]
|
|
993
994
|
serviceLinks ServiceLink[]
|
|
994
995
|
|
|
995
|
-
pocName String?
|
|
996
|
-
pocPhoneNumber String?
|
|
997
|
-
pocBusinessEmail String?
|
|
998
|
-
|
|
999
996
|
eventService EventService?
|
|
1000
997
|
entertainmentService EntertainmentService?
|
|
1001
998
|
vendor Vendor?
|
|
@@ -1004,7 +1001,7 @@ model Service {
|
|
|
1004
1001
|
venue Venue?
|
|
1005
1002
|
organization Organization?
|
|
1006
1003
|
|
|
1007
|
-
googleReviews GoogleReview[]
|
|
1004
|
+
googleReviews GoogleReview[]
|
|
1008
1005
|
}
|
|
1009
1006
|
|
|
1010
1007
|
model StripeAccount {
|
|
@@ -1048,7 +1045,7 @@ model EventService {
|
|
|
1048
1045
|
goodsOrServices String[]
|
|
1049
1046
|
menuItems String?
|
|
1050
1047
|
venueTypes String[]
|
|
1051
|
-
secondaryVenueTypes String[]
|
|
1048
|
+
secondaryVenueTypes String[] @default([])
|
|
1052
1049
|
}
|
|
1053
1050
|
|
|
1054
1051
|
model EntertainmentService {
|
|
@@ -1065,36 +1062,36 @@ model EntertainmentService {
|
|
|
1065
1062
|
crowdSize AmountOfGuests? @relation(fields: [crowdSizeId], references: [id], onDelete: Cascade)
|
|
1066
1063
|
goodsOrServices String[]
|
|
1067
1064
|
venueTypes String[]
|
|
1068
|
-
secondaryVenueTypes
|
|
1065
|
+
secondaryVenueTypes String[] @default([])
|
|
1069
1066
|
}
|
|
1070
1067
|
|
|
1071
1068
|
model Vendor {
|
|
1072
|
-
id
|
|
1073
|
-
serviceId
|
|
1074
|
-
service
|
|
1075
|
-
serviceRangeId
|
|
1076
|
-
serviceRange
|
|
1077
|
-
yearsOfExperience
|
|
1078
|
-
crowdSizeId
|
|
1079
|
-
crowdSize
|
|
1080
|
-
goodsOrServices
|
|
1081
|
-
menuItems
|
|
1082
|
-
venueTypes
|
|
1083
|
-
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([])
|
|
1084
1081
|
}
|
|
1085
1082
|
|
|
1086
1083
|
model Exhibitor {
|
|
1087
|
-
id
|
|
1088
|
-
serviceId
|
|
1089
|
-
service
|
|
1090
|
-
serviceRangeId
|
|
1091
|
-
serviceRange
|
|
1092
|
-
yearsOfExperience
|
|
1093
|
-
crowdSizeId
|
|
1094
|
-
crowdSize
|
|
1095
|
-
goodsOrServices
|
|
1096
|
-
venueTypes
|
|
1097
|
-
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([])
|
|
1098
1095
|
}
|
|
1099
1096
|
|
|
1100
1097
|
model Sponsor {
|
|
@@ -1111,38 +1108,37 @@ model Sponsor {
|
|
|
1111
1108
|
}
|
|
1112
1109
|
|
|
1113
1110
|
model Venue {
|
|
1114
|
-
id
|
|
1115
|
-
serviceId
|
|
1116
|
-
service
|
|
1111
|
+
id String @id @default(cuid())
|
|
1112
|
+
serviceId String @unique
|
|
1113
|
+
service Service @relation(fields: [serviceId], references: [id], onDelete: Cascade)
|
|
1117
1114
|
// serviceConnectionId String? //Check: ?
|
|
1118
1115
|
// serviceConnection String?
|
|
1119
|
-
yearsInBusiness
|
|
1120
|
-
amenities
|
|
1121
|
-
menuItems
|
|
1122
|
-
features
|
|
1123
|
-
venueTypes
|
|
1124
|
-
secondaryVenueTypes String[]
|
|
1125
|
-
pitch
|
|
1126
|
-
capacity
|
|
1127
|
-
trademark
|
|
1128
|
-
manager
|
|
1129
|
-
allowed
|
|
1130
|
-
notAllowed
|
|
1131
|
-
vibe
|
|
1132
|
-
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?
|
|
1133
1130
|
|
|
1134
1131
|
bashEvents BashEvent[]
|
|
1135
|
-
|
|
1136
1132
|
}
|
|
1137
1133
|
|
|
1138
1134
|
model Organization {
|
|
1139
|
-
id
|
|
1140
|
-
serviceId
|
|
1141
|
-
service
|
|
1142
|
-
organizationType
|
|
1143
|
-
goodsOrServices
|
|
1144
|
-
venueTypes
|
|
1145
|
-
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([])
|
|
1146
1142
|
}
|
|
1147
1143
|
|
|
1148
1144
|
enum EventServiceType {
|