@bash-app/bash-common 29.16.4 → 29.17.5

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.4",
3
+ "version": "29.17.5",
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?
@@ -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[] @default([])
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 String[] @default([])
1065
+ secondaryVenueTypes String[] @default([])
1069
1066
  }
1070
1067
 
1071
1068
  model Vendor {
1072
- id String @id @default(cuid())
1073
- serviceId String @unique
1074
- service Service @relation(fields: [serviceId], references: [id], onDelete: Cascade)
1075
- serviceRangeId String?
1076
- serviceRange ServiceRange? @relation(fields: [serviceRangeId], references: [id])
1077
- yearsOfExperience YearsOfExperience
1078
- crowdSizeId String? @unique
1079
- crowdSize AmountOfGuests? @relation(fields: [crowdSizeId], references: [id], onDelete: Cascade)
1080
- goodsOrServices String[]
1081
- menuItems String?
1082
- venueTypes String[]
1083
- 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([])
1084
1081
  }
1085
1082
 
1086
1083
  model Exhibitor {
1087
- id String @id @default(cuid())
1088
- serviceId String @unique
1089
- service Service @relation(fields: [serviceId], references: [id], onDelete: Cascade)
1090
- serviceRangeId String?
1091
- serviceRange ServiceRange? @relation(fields: [serviceRangeId], references: [id])
1092
- yearsOfExperience YearsOfExperience
1093
- crowdSizeId String? @unique
1094
- crowdSize AmountOfGuests? @relation(fields: [crowdSizeId], references: [id], onDelete: Cascade)
1095
- goodsOrServices String[]
1096
- venueTypes String[]
1097
- 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([])
1098
1095
  }
1099
1096
 
1100
1097
  model Sponsor {
@@ -1111,38 +1108,37 @@ model Sponsor {
1111
1108
  }
1112
1109
 
1113
1110
  model Venue {
1114
- id String @id @default(cuid())
1115
- serviceId String @unique
1116
- 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)
1117
1114
  // serviceConnectionId String? //Check: ?
1118
1115
  // serviceConnection String?
1119
- yearsInBusiness YearsOfExperience @default(LessThanOneYear)
1120
- amenities String[]
1121
- menuItems String?
1122
- features String[]
1123
- venueTypes String[]
1124
- secondaryVenueTypes String[] @default([])
1125
- pitch String?
1126
- capacity Int?
1127
- trademark Boolean?
1128
- manager Boolean?
1129
- allowed String?
1130
- notAllowed String?
1131
- vibe String?
1132
- 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?
1133
1130
 
1134
1131
  bashEvents BashEvent[]
1135
-
1136
1132
  }
1137
1133
 
1138
1134
  model Organization {
1139
- id String @id @default(cuid())
1140
- serviceId String @unique
1141
- service Service @relation(fields: [serviceId], references: [id], onDelete: Cascade)
1142
- organizationType OrganizationType[]
1143
- goodsOrServices String[]
1144
- venueTypes String[]
1145
- 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([])
1146
1142
  }
1147
1143
 
1148
1144
  enum EventServiceType {
@@ -575,6 +575,7 @@ export type AllKeys<T> = AllKeysUnion<T>[];
575
575
 
576
576
  export interface IAddress {
577
577
  place?: string;
578
+ googlePlaceId?: string;
578
579
  street: string;
579
580
  city: string;
580
581
  state: string;