@bash-app/bash-common 29.19.27 → 29.19.29

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.27",
3
+ "version": "29.19.29",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -191,8 +191,12 @@ export const SERVICE_SPECIALRATES_DATA_TO_INCLUDE = {
191
191
 
192
192
  export const SERVICE_RATES_ASSOCIATION_DATA_TO_INCLUDE = {
193
193
  serviceGeneralRates: true,
194
- serviceDailyRates: true,
195
- serviceSpecialRates: true,
194
+ serviceDailyRates: {
195
+ include: SERVICE_DAILYRATES_DATA_TO_INCLUDE
196
+ },
197
+ serviceSpecialRates: {
198
+ include: SERVICE_SPECIALRATES_DATA_TO_INCLUDE
199
+ },
196
200
  addons: true,
197
201
  packages: {
198
202
  include: SERVICE_PACKAGE_DATA_TO_INCLUDE
@@ -275,12 +279,12 @@ export interface ServiceExt extends Service {
275
279
  venue?: Venue;
276
280
  organization?: Organization;
277
281
 
278
- serviceRatesAssociation?: ServiceRatesAssociationExt;
282
+ serviceRatesAssociation?: ServiceRatesAssociationExt | null;
279
283
 
280
284
  // googleReviews: GoogleReview[];
281
285
  }
282
286
  export interface ServicePackageExt extends ServicePackage {
283
- serviceAddons: ServiceAddon[]
287
+ serviceAddons: ServiceAddon[];
284
288
  }
285
289
 
286
290
  export interface ServiceDailyRatesExt extends ServiceDailyRates {