@bash-app/bash-common 25.1.1 → 25.1.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 +10 -10
package/package.json
CHANGED
package/src/definitions.ts
CHANGED
|
@@ -91,9 +91,9 @@ export type ContactOrUser = Contact | PublicUser;
|
|
|
91
91
|
export type UnionFromArray<T extends ReadonlyArray<any>> = T[number];
|
|
92
92
|
export type ValueOf<T> = T[keyof T];
|
|
93
93
|
|
|
94
|
-
export type ValueOfServiceType = ValueOf<typeof
|
|
94
|
+
export type ValueOfServiceType = ValueOf<typeof ServiceTypes>;
|
|
95
95
|
|
|
96
|
-
export const
|
|
96
|
+
export const ServiceTypes = {
|
|
97
97
|
'EventServices': 'eventServices',
|
|
98
98
|
'Organizations': 'organizations',
|
|
99
99
|
'Venues': 'venues',
|
|
@@ -310,16 +310,16 @@ export const YearsOfExperienceToString: { [key in YearsOfExperience]: string } =
|
|
|
310
310
|
};
|
|
311
311
|
|
|
312
312
|
export type ServiceTypeToStringType = {
|
|
313
|
-
[key in ValueOf<typeof
|
|
313
|
+
[key in ValueOf<typeof ServiceTypes>]: string;
|
|
314
314
|
};
|
|
315
315
|
export const ServiceTypeToString: ServiceTypeToStringType = {
|
|
316
|
-
[
|
|
317
|
-
[
|
|
318
|
-
[
|
|
319
|
-
[
|
|
320
|
-
[
|
|
321
|
-
[
|
|
322
|
-
[
|
|
316
|
+
[ServiceTypes.EventServices]: "/servicesDefault.webp",
|
|
317
|
+
[ServiceTypes.EntertainmentServices]: "/servicesDefault.webp",
|
|
318
|
+
[ServiceTypes.Vendors]: "/servicesDefault.webp",
|
|
319
|
+
[ServiceTypes.Exhibitors]: "/servicesDefault.webp",
|
|
320
|
+
[ServiceTypes.Sponsors]: "/servicesDefault.webp",
|
|
321
|
+
[ServiceTypes.Venues]: "/servicesDefault.webp",
|
|
322
|
+
[ServiceTypes.Organizations]: "/servicesDefault.webp"
|
|
323
323
|
}
|
|
324
324
|
|
|
325
325
|
export type BashEventTypeToStringType = {
|