@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 +1 -1
- package/prisma/schema.prisma +4 -4
- package/src/extendedSchemas.ts +2 -2
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -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
|
|
1393
|
-
dayOfWeek
|
|
1394
|
-
startTime DateTime
|
|
1395
|
-
endTime DateTime
|
|
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)
|
package/src/extendedSchemas.ts
CHANGED
|
@@ -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?:
|
|
310
|
-
serviceSpecialRates?:
|
|
309
|
+
serviceDailyRates?: ServiceDailyRatesExt[];
|
|
310
|
+
serviceSpecialRates?: ServiceSpecialRatesExt[];
|
|
311
311
|
|
|
312
312
|
addons?: ServiceAddon[];
|
|
313
313
|
packages?: ServicePackageExt[];
|