@bash-app/bash-common 29.20.22 → 29.21.22

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.20.22",
3
+ "version": "29.21.22",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -1382,10 +1382,10 @@ model ServiceSpecialRates {
1382
1382
  // can have special rates on different days of the year (single or range)
1383
1383
  // free trial period with promo code (1 or 2 months of listing for free)
1384
1384
  model ServiceDailyRates {
1385
- id String @id @default(cuid())
1386
- dayOfWeek Int
1387
- startDateTime DateTime @db.Time
1388
- endDateTime DateTime @db.Time
1385
+ id String @id @default(cuid())
1386
+ dayOfWeek Int
1387
+ startTime DateTime @db.Time
1388
+ endTime DateTime @db.Time
1389
1389
 
1390
1390
  serviceRateId String?
1391
1391
  serviceRate ServiceRate? @relation(fields: [serviceRateId], references: [id], onDelete: Cascade)
@@ -252,6 +252,8 @@ export interface ServiceExt extends Service {
252
252
  venue?: Venue;
253
253
  organization?: Organization;
254
254
 
255
+ serviceRatesAssociation?: ServiceRatesAssociationExt;
256
+
255
257
  // googleReviews: GoogleReview[];
256
258
  }
257
259
  export interface ServicePackageExt extends ServiceDailyRates {
@@ -269,6 +271,9 @@ export interface ServiceRatesAssociationExt extends ServiceRatesAssociation {
269
271
  serviceGeneralRates?: ServiceRate;
270
272
  serviceDailyRates?: ServiceDailyRates;
271
273
  serviceSpecialRates?: ServiceSpecialRates;
274
+
275
+ packages?: ServicePackageExt;
276
+ addons: ServiceAddon[];
272
277
  }
273
278
 
274
279