@bash-app/bash-common 29.20.3 → 29.20.5
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/src/definitions.ts +1 -1
- package/src/extendedSchemas.ts +17 -17
package/package.json
CHANGED
package/src/definitions.ts
CHANGED
|
@@ -79,7 +79,7 @@ export const PRISMA_USER_TTL_SECONDS = 60 * 7; // 7 hours
|
|
|
79
79
|
export const PRISMA_BASH_EVENT_TTL_SECONDS = 60 as const;
|
|
80
80
|
export const PRISMA_SERVICE_TTL_SECONDS = 60 as const;
|
|
81
81
|
|
|
82
|
-
export const MIN_PASSWORD_LENGTH =
|
|
82
|
+
export const MIN_PASSWORD_LENGTH = 8 as const;
|
|
83
83
|
|
|
84
84
|
export const DEBOUNCE_WAIT = 1000 as const;
|
|
85
85
|
|
package/src/extendedSchemas.ts
CHANGED
|
@@ -185,23 +185,23 @@ export const SERVICE_DAILYRATES_DATA_TO_INCLUDE = {
|
|
|
185
185
|
serviceRate: true
|
|
186
186
|
} satisfies Prisma.ServiceDailyRatesInclude;
|
|
187
187
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
188
|
+
export const SERVICE_SPECIALRATES_DATA_TO_INCLUDE = {
|
|
189
|
+
serviceRate: true
|
|
190
|
+
} satisfies Prisma.ServiceSpecialRatesInclude;
|
|
191
|
+
|
|
192
|
+
export const SERVICE_RATES_ASSOCIATION_DATA_TO_INCLUDE = {
|
|
193
|
+
serviceGeneralRates: true,
|
|
194
|
+
serviceDailyRates: {
|
|
195
|
+
include: SERVICE_DAILYRATES_DATA_TO_INCLUDE
|
|
196
|
+
},
|
|
197
|
+
serviceSpecialRates: {
|
|
198
|
+
include: SERVICE_SPECIALRATES_DATA_TO_INCLUDE
|
|
199
|
+
},
|
|
200
|
+
addons: true,
|
|
201
|
+
packages: {
|
|
202
|
+
include: SERVICE_PACKAGE_DATA_TO_INCLUDE
|
|
203
|
+
},
|
|
204
|
+
} satisfies Prisma.ServiceRatesAssociationInclude;
|
|
205
205
|
|
|
206
206
|
export interface BashNotificationExt extends BashNotification {
|
|
207
207
|
creator?: PublicUser;
|