@bash-app/bash-common 26.1.2 → 27.0.0

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": "26.1.2",
3
+ "version": "27.0.0",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -1183,50 +1183,51 @@ model Venue {
1183
1183
  id String @id @default(cuid())
1184
1184
  ownerId String
1185
1185
  owner User @relation(fields: [ownerId], references: [id], onDelete: Cascade)
1186
- service Service @relation(fields: [serviceId], references: [id], onDelete: Cascade)
1187
- serviceId String
1188
- serviceConnectionId String?
1189
- serviceConnection String?
1190
- venueName String?
1191
- email String?
1192
- street String?
1193
- city String?
1194
- state String?
1195
- zipCode String?
1196
- country String?
1197
- phone String?
1198
- coverPhoto String?
1186
+ service Service? @relation(fields: [serviceId], references: [id], onDelete: Cascade)
1187
+ serviceId String?
1188
+ serviceConnectionId String?
1189
+ serviceConnection String?
1190
+ venueName String?
1191
+ email String?
1192
+ street String?
1193
+ city String?
1194
+ state String?
1195
+ zipCode String?
1196
+ country String?
1197
+ phone String?
1198
+ coverPhoto String?
1199
1199
  media Media[]
1200
1200
  visibility VisibilityPreference @default(Public)
1201
1201
  status ServiceStatus @default(Draft)
1202
1202
  yearsInBusiness YearsOfExperience @default(LessThanOneYear)
1203
- description String?
1204
- amenities String[]
1205
- menuItems String?
1206
- additionalInfo String?
1207
- features String[]
1208
- venueTypes String[]
1203
+ description String?
1204
+ amenities String[]
1205
+ menuItems String?
1206
+ additionalInfo String?
1207
+ features String[]
1208
+ venueTypes String[]
1209
1209
  availableDateTimes Availability[] @relation("AvailableDateTimes")
1210
- // specialDateTimes Availability[] @relation("SpecialDateTimes")
1211
- mission String?
1212
- pitch String?
1213
- communityInvolvement String?
1214
- emergencyContact String?
1215
- contactDetails String?
1216
- rates String?
1217
- cancellationPolicy String?
1218
- refundPolicy String?
1219
- safetyPolicy String?
1220
- insurancePolicy String?
1210
+ mission String?
1211
+ pitch String?
1212
+ communityInvolvement String?
1213
+ emergencyContact String?
1214
+ contactDetails String?
1215
+ rates String?
1216
+ cancellationPolicy String?
1217
+ refundPolicy String?
1218
+ safetyPolicy String?
1219
+ insurancePolicy String?
1221
1220
  targetAudience TargetAudience? @relation(fields: [targetAudienceId], references: [id])
1222
1221
  targetAudienceId String? @unique
1223
1222
  bashesInterestedIn BashEventType[]
1224
1223
  links ServiceLink[]
1225
- capacity Int? // Maximum number of people the venue can accommodate
1224
+ capacity Int?
1226
1225
  amountOfGuests AmountOfGuests? @relation(fields: [amountOfGuestsId], references: [id], onDelete: Cascade)
1227
1226
  amountOfGuestsId String? @unique
1228
1227
  }
1229
1228
 
1229
+
1230
+
1230
1231
  model Organization {
1231
1232
  id String @id @default(cuid())
1232
1233
  ownerId String