@bash-app/bash-common 25.0.2 → 25.1.1

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.2",
3
+ "version": "25.1.1",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -1433,3 +1433,13 @@ enum ServiceType {
1433
1433
  Venue
1434
1434
  Organization
1435
1435
  }
1436
+
1437
+ enum ServiceTypes {
1438
+ EventServices
1439
+ EntertainmentServices
1440
+ Vendors
1441
+ Exhibitors
1442
+ Sponsors
1443
+ Venues
1444
+ Organizations
1445
+ }
@@ -94,13 +94,13 @@ export type ValueOf<T> = T[keyof T];
94
94
  export type ValueOfServiceType = ValueOf<typeof ServiceType>;
95
95
 
96
96
  export const ServiceType = {
97
- 'EventService': 'eventServices',
98
- 'Organization': 'organizations',
99
- 'Venue': 'venues',
100
- 'Vendor': 'vendors',
101
- 'Sponsor': 'sponsors',
102
- 'Exhibitor': 'exhibitors',
103
- 'EntertainmentService': 'entertainmentServices',
97
+ 'EventServices': 'eventServices',
98
+ 'Organizations': 'organizations',
99
+ 'Venues': 'venues',
100
+ 'Vendors': 'vendors',
101
+ 'Sponsors': 'sponsors',
102
+ 'Exhibitors': 'exhibitors',
103
+ 'EntertainmentServices': 'entertainmentServices',
104
104
  } satisfies {[key: string]: keyof BusinessExt}
105
105
 
106
106
  export type FilterFields = {
@@ -313,13 +313,13 @@ export type ServiceTypeToStringType = {
313
313
  [key in ValueOf<typeof ServiceType>]: string;
314
314
  };
315
315
  export const ServiceTypeToString: ServiceTypeToStringType = {
316
- [ServiceType.EventService]: "/servicesDefault.webp",
317
- [ServiceType.EntertainmentService]: "/servicesDefault.webp",
318
- [ServiceType.Vendor]: "/servicesDefault.webp",
319
- [ServiceType.Exhibitor]: "/servicesDefault.webp",
320
- [ServiceType.Sponsor]: "/servicesDefault.webp",
321
- [ServiceType.Venue]: "/servicesDefault.webp",
322
- [ServiceType.Organization]: "/servicesDefault.webp"
316
+ [ServiceType.EventServices]: "/servicesDefault.webp",
317
+ [ServiceType.EntertainmentServices]: "/servicesDefault.webp",
318
+ [ServiceType.Vendors]: "/servicesDefault.webp",
319
+ [ServiceType.Exhibitors]: "/servicesDefault.webp",
320
+ [ServiceType.Sponsors]: "/servicesDefault.webp",
321
+ [ServiceType.Venues]: "/servicesDefault.webp",
322
+ [ServiceType.Organizations]: "/servicesDefault.webp"
323
323
  }
324
324
 
325
325
  export type BashEventTypeToStringType = {