@bash-app/bash-common 29.10.0 → 29.12.0

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.10.0",
3
+ "version": "29.12.0",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -214,6 +214,12 @@ export interface AvailableHoursForRate {
214
214
  availableHours: NumberOfHoursForDate[];
215
215
  }
216
216
 
217
+ export interface DeletedAndHiddenRates {
218
+ deletedRates: Rate[];
219
+ hiddenRates: Rate[];
220
+ errorType?: ApiErrorType;
221
+ }
222
+
217
223
  export interface SignInEmailWithPassword {
218
224
  email: string;
219
225
  password: string;
@@ -25,6 +25,7 @@ import {
25
25
  VisibilityPreference,
26
26
  BashEventType,
27
27
  Coordinates,
28
+ Rate,
28
29
  } from "@prisma/client";
29
30
  import { UnionFromArray } from "./definitions";
30
31
 
@@ -160,6 +161,7 @@ export interface ServiceExt extends Service {
160
161
  availableDateTimes?: Availability[];
161
162
 
162
163
  bookings?: Booking[];
164
+ rates?: Rate[];
163
165
  targetAudience?: TargetAudience;
164
166
  media?: Media[];
165
167
  serviceLinks?: ServiceLinkExt[];