@bash-app/bash-common 29.22.0 → 29.22.2

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.22.0",
3
+ "version": "29.22.2",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -1389,10 +1389,10 @@ model ServiceSpecialRates {
1389
1389
  // can have special rates on different days of the year (single or range)
1390
1390
  // free trial period with promo code (1 or 2 months of listing for free)
1391
1391
  model ServiceDailyRates {
1392
- id String @id @default(cuid())
1393
- dayOfWeek Int
1394
- startTime DateTime @db.Time
1395
- endTime DateTime @db.Time
1392
+ id String @id @default(cuid())
1393
+ dayOfWeek DayOfWeek
1394
+ startTime DateTime @db.Time
1395
+ endTime DateTime @db.Time
1396
1396
 
1397
1397
  serviceRateId String?
1398
1398
  serviceRate ServiceRate? @relation(fields: [serviceRateId], references: [id], onDelete: Cascade)
@@ -306,8 +306,8 @@ export interface ServiceSpecialRatesExt extends ServiceSpecialRates {
306
306
 
307
307
  export interface ServiceRatesAssociationExt extends ServiceRatesAssociation {
308
308
  serviceGeneralRates?: ServiceRate | null;
309
- serviceDailyRates?: ServiceDailyRates[];
310
- serviceSpecialRates?: ServiceSpecialRates[];
309
+ serviceDailyRates?: ServiceDailyRatesExt[];
310
+ serviceSpecialRates?: ServiceSpecialRatesExt[];
311
311
 
312
312
  addons?: ServiceAddon[];
313
313
  packages?: ServicePackageExt[];