@bash-app/bash-common 29.19.25 → 29.19.27

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.19.25",
3
+ "version": "29.19.27",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -35,6 +35,7 @@ import {
35
35
  ServiceDailyRates,
36
36
  ServiceSpecialRates,
37
37
  ServiceAddon,
38
+ ServicePackage,
38
39
  } from "@prisma/client";
39
40
  import { SERVICE_LINK_DATA_TO_INCLUDE, UnionFromArray } from "./definitions";
40
41
 
@@ -278,14 +279,14 @@ export interface ServiceExt extends Service {
278
279
 
279
280
  // googleReviews: GoogleReview[];
280
281
  }
281
- export interface ServicePackageExt extends ServiceDailyRates {
282
+ export interface ServicePackageExt extends ServicePackage {
282
283
  serviceAddons: ServiceAddon[]
283
284
  }
284
285
 
285
286
  export interface ServiceDailyRatesExt extends ServiceDailyRates {
286
287
  serviceRate?: ServiceRate;
287
288
  }
288
- export interface ServiceSpecialRatesExt extends ServiceRatesAssociation {
289
+ export interface ServiceSpecialRatesExt extends ServiceSpecialRates {
289
290
  serviceRate?: ServiceRate;
290
291
  }
291
292
 
@@ -294,8 +295,8 @@ export interface ServiceRatesAssociationExt extends ServiceRatesAssociation {
294
295
  serviceDailyRates?: ServiceDailyRates;
295
296
  serviceSpecialRates?: ServiceSpecialRates;
296
297
 
297
- packages?: ServicePackageExt;
298
298
  addons: ServiceAddon[];
299
+ packages: ServicePackageExt[];
299
300
  }
300
301
 
301
302