@bash-app/bash-common 27.3.3 → 27.4.0
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 +8 -6
package/package.json
CHANGED
package/src/definitions.ts
CHANGED
|
@@ -91,7 +91,7 @@ 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 =
|
|
94
|
+
export type ValueOfServiceType = typeof ServiceTypes[keyof typeof ServiceTypes];
|
|
95
95
|
|
|
96
96
|
export const ServiceTypes = {
|
|
97
97
|
'EventServices': 'eventServices',
|
|
@@ -101,12 +101,14 @@ export const ServiceTypes = {
|
|
|
101
101
|
'Sponsors': 'sponsors',
|
|
102
102
|
'Exhibitors': 'exhibitors',
|
|
103
103
|
'EntertainmentServices': 'entertainmentServices',
|
|
104
|
-
}
|
|
104
|
+
} as const;
|
|
105
105
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
106
|
+
export type ValueOfServiceStatus = typeof ServiceStatus[keyof typeof ServiceStatus];
|
|
107
|
+
|
|
108
|
+
export const ServiceStatus = {
|
|
109
|
+
'Draft': 'draft',
|
|
110
|
+
'Created': 'created',
|
|
111
|
+
} as const;
|
|
110
112
|
|
|
111
113
|
export type FilterFields = {
|
|
112
114
|
price: string[];
|