@bash-app/bash-common 30.19.0 → 30.21.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": "30.19.0",
3
+ "version": "30.21.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",
@@ -313,7 +313,7 @@ model BashEvent {
313
313
  venue Venue? @relation(fields: [venueId], references: [id])
314
314
  userPromoCodeRedemption UserPromoCodeRedemption[]
315
315
  averageRating Float? @default(0)
316
- serviceBookings ServiceBooking[] // Add this field to create the reverse relation
316
+ serviceBookings ServiceBooking[] // Add this field to create the reverse relation
317
317
  }
318
318
 
319
319
  model Coordinates {
@@ -1242,11 +1242,12 @@ model Service {
1242
1242
  communityInvolvement String?
1243
1243
  emergencyContact String?
1244
1244
  contactDetails String?
1245
- // rates Rate[] @relation("MultipleRates")
1246
1245
  cancellationPolicy ServiceCancellationPolicy? @default(None)
1247
1246
  // refundPolicy String?
1248
1247
  // insurancePolicy String?
1249
- // hoursOfOperation Json? @default("{}")
1248
+ availableHours String?
1249
+ allowsInstantBooking Boolean @default(false)
1250
+ instantBookingLeadTimeHours Int @default(0)
1250
1251
 
1251
1252
  displayGoogleReviewsOnDetailPage Boolean @default(true)
1252
1253
  displayBashReviewsOnDetailPage Boolean @default(true)
@@ -1929,7 +1930,7 @@ model ServiceBooking {
1929
1930
  daysTotalATBCents Int //ATB=At Time of Booking
1930
1931
  totalATBCents Int
1931
1932
 
1932
- bashEventId String?
1933
+ bashEventId String?
1933
1934
  bashEvent BashEvent? @relation(fields: [bashEventId], references: [id])
1934
1935
 
1935
1936
  @@index([status])