@bash-app/bash-common 25.0.0 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bash-app/bash-common",
3
- "version": "25.0.0",
3
+ "version": "25.0.2",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -1424,7 +1424,7 @@ model ServiceLink {
1424
1424
  @@index([businessId])
1425
1425
  }
1426
1426
 
1427
- enum BusinessType {
1427
+ enum ServiceType {
1428
1428
  EventService
1429
1429
  EntertainmentService
1430
1430
  Vendor
@@ -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",