@bash-app/bash-common 25.0.1 → 25.0.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/src/definitions.ts +1 -3
package/package.json
CHANGED
package/src/definitions.ts
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
User,
|
|
10
10
|
YearsOfExperience
|
|
11
11
|
} from "@prisma/client";
|
|
12
|
-
import {BusinessExt, CheckoutExt, PublicUser} from "./extendedSchemas";
|
|
12
|
+
import {BusinessExt, CheckoutExt, PublicUser, VolunteerServiceExt} from "./extendedSchemas";
|
|
13
13
|
|
|
14
14
|
export const PASSWORD_MIN_LENGTH = 10 as const;
|
|
15
15
|
export const PASSWORD_REQUIREMENTS_REGEX = new RegExp(String.raw`^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{${PASSWORD_MIN_LENGTH},}$`);
|
|
@@ -94,7 +94,6 @@ export type ValueOf<T> = T[keyof T];
|
|
|
94
94
|
export type ValueOfServiceType = ValueOf<typeof ServiceType>;
|
|
95
95
|
|
|
96
96
|
export const ServiceType = {
|
|
97
|
-
'Volunteer': 'volunteerService',
|
|
98
97
|
'EventService': 'eventServices',
|
|
99
98
|
'Organization': 'organizations',
|
|
100
99
|
'Venue': 'venues',
|
|
@@ -314,7 +313,6 @@ export type ServiceTypeToStringType = {
|
|
|
314
313
|
[key in ValueOf<typeof ServiceType>]: string;
|
|
315
314
|
};
|
|
316
315
|
export const ServiceTypeToString: ServiceTypeToStringType = {
|
|
317
|
-
[ServiceType.Volunteer]: "/servicesDefault.webp",
|
|
318
316
|
[ServiceType.EventService]: "/servicesDefault.webp",
|
|
319
317
|
[ServiceType.EntertainmentService]: "/servicesDefault.webp",
|
|
320
318
|
[ServiceType.Vendor]: "/servicesDefault.webp",
|