@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bash-app/bash-common",
3
- "version": "29.16.3",
3
+ "version": "29.17.4",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -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 String @id @default(cuid())
792
- author_name String?
793
- rating Float
794
- text String?
795
- createdAt DateTime @default(now())
796
- serviceId String
797
- service Service @relation(fields: [serviceId], references: [id], onDelete: Cascade)
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 String?
960
- email String?
961
- street String?
962
- city String?
963
- state String?
964
- zipCode String?
965
- country String?
966
- phone String?
967
- description String?
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[] @default([])
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 String[] @default([])
1065
+ secondaryVenueTypes String[] @default([])
1065
1066
  }
1066
1067
 
1067
1068
  model Vendor {
1068
- id String @id @default(cuid())
1069
- serviceId String @unique
1070
- service Service @relation(fields: [serviceId], references: [id], onDelete: Cascade)
1071
- serviceRangeId String?
1072
- serviceRange ServiceRange? @relation(fields: [serviceRangeId], references: [id])
1073
- yearsOfExperience YearsOfExperience
1074
- crowdSizeId String? @unique
1075
- crowdSize AmountOfGuests? @relation(fields: [crowdSizeId], references: [id], onDelete: Cascade)
1076
- goodsOrServices String[]
1077
- menuItems String?
1078
- venueTypes String[]
1079
- secondaryVenueTypes String[] @default([])
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 String @id @default(cuid())
1084
- serviceId String @unique
1085
- service Service @relation(fields: [serviceId], references: [id], onDelete: Cascade)
1086
- serviceRangeId String?
1087
- serviceRange ServiceRange? @relation(fields: [serviceRangeId], references: [id])
1088
- yearsOfExperience YearsOfExperience
1089
- crowdSizeId String? @unique
1090
- crowdSize AmountOfGuests? @relation(fields: [crowdSizeId], references: [id], onDelete: Cascade)
1091
- goodsOrServices String[]
1092
- venueTypes String[]
1093
- secondaryVenueTypes String[] @default([])
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 String @id @default(cuid())
1111
- serviceId String @unique
1112
- service Service @relation(fields: [serviceId], references: [id], onDelete: Cascade)
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 YearsOfExperience @default(LessThanOneYear)
1116
- amenities String[]
1117
- menuItems String?
1118
- features String[]
1119
- venueTypes String[]
1120
- secondaryVenueTypes String[] @default([])
1121
- pitch String?
1122
- capacity Int?
1123
- trademark Boolean?
1124
- manager Boolean?
1125
- allowed String?
1126
- notAllowed String?
1127
- vibe String?
1128
- dress String?
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 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([])
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 {