@bash-app/bash-common 27.3.2 → 27.3.3
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 +5 -0
- package/src/extendedSchemas.ts +7 -0
package/package.json
CHANGED
package/src/definitions.ts
CHANGED
|
@@ -103,6 +103,11 @@ export const ServiceTypes = {
|
|
|
103
103
|
'EntertainmentServices': 'entertainmentServices',
|
|
104
104
|
} satisfies {[key: string]: keyof ServiceExt}
|
|
105
105
|
|
|
106
|
+
// export const ServiceStatus = {
|
|
107
|
+
// 'Draft': 'draft',
|
|
108
|
+
// 'Created': 'created',
|
|
109
|
+
// } satisfies {[key: string]: keyof Service}
|
|
110
|
+
|
|
106
111
|
export type FilterFields = {
|
|
107
112
|
price: string[];
|
|
108
113
|
ageRequirement: string[];
|
package/src/extendedSchemas.ts
CHANGED
|
@@ -157,6 +157,7 @@ export interface EventServiceExt extends EventService {
|
|
|
157
157
|
links: ServiceLinkExt[];
|
|
158
158
|
crowdSize?: AmountOfGuests;
|
|
159
159
|
media?: Media[];
|
|
160
|
+
serviceType: ServiceTypes;
|
|
160
161
|
}
|
|
161
162
|
|
|
162
163
|
export interface EntertainmentServiceExt extends EntertainmentService {
|
|
@@ -167,6 +168,7 @@ export interface EntertainmentServiceExt extends EntertainmentService {
|
|
|
167
168
|
crowdSize?: AmountOfGuests;
|
|
168
169
|
media?: Media[];
|
|
169
170
|
status: ServiceStatus;
|
|
171
|
+
serviceType: ServiceTypes;
|
|
170
172
|
}
|
|
171
173
|
|
|
172
174
|
export interface ExhibitorExt extends Exhibitor {
|
|
@@ -177,6 +179,7 @@ export interface ExhibitorExt extends Exhibitor {
|
|
|
177
179
|
crowdSize?: AmountOfGuests;
|
|
178
180
|
media?: Media[];
|
|
179
181
|
status: ServiceStatus;
|
|
182
|
+
serviceType: ServiceTypes;
|
|
180
183
|
}
|
|
181
184
|
|
|
182
185
|
export interface SponsorExt extends Sponsor {
|
|
@@ -187,6 +190,7 @@ export interface SponsorExt extends Sponsor {
|
|
|
187
190
|
crowdSize?: AmountOfGuests;
|
|
188
191
|
media?: Media[];
|
|
189
192
|
status: ServiceStatus;
|
|
193
|
+
serviceType: ServiceTypes;
|
|
190
194
|
}
|
|
191
195
|
|
|
192
196
|
export interface VendorExt extends Vendor {
|
|
@@ -197,6 +201,7 @@ export interface VendorExt extends Vendor {
|
|
|
197
201
|
crowdSize?: AmountOfGuests;
|
|
198
202
|
media?: Media[];
|
|
199
203
|
status: ServiceStatus;
|
|
204
|
+
serviceType: ServiceTypes;
|
|
200
205
|
}
|
|
201
206
|
|
|
202
207
|
export interface VenueExt extends Venue {
|
|
@@ -209,6 +214,7 @@ export interface VenueExt extends Venue {
|
|
|
209
214
|
media?: Media[];
|
|
210
215
|
amountOfGuests?: AmountOfGuests | null;
|
|
211
216
|
status: ServiceStatus;
|
|
217
|
+
serviceType: ServiceTypes;
|
|
212
218
|
}
|
|
213
219
|
|
|
214
220
|
export interface OrganizationExt extends Organization {
|
|
@@ -219,6 +225,7 @@ export interface OrganizationExt extends Organization {
|
|
|
219
225
|
crowdSize?: AmountOfGuests;
|
|
220
226
|
media?: Media[];
|
|
221
227
|
status: ServiceStatus;
|
|
228
|
+
serviceType: ServiceTypes;
|
|
222
229
|
}
|
|
223
230
|
|
|
224
231
|
export interface VolunteerServiceExt extends VolunteerService {
|