@bash-app/bash-common 27.0.1 → 27.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 +1 -1
- package/src/extendedSchemas.ts +3 -1
package/package.json
CHANGED
package/src/extendedSchemas.ts
CHANGED
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
Booking,
|
|
25
25
|
VolunteerService, Prisma, ServiceRange,
|
|
26
26
|
} from "@prisma/client";
|
|
27
|
-
import {UnionFromArray} from "./definitions";
|
|
27
|
+
import {ServiceTypes, UnionFromArray} from "./definitions";
|
|
28
28
|
|
|
29
29
|
export const FRONT_END_USER_DATA_TO_SELECT = {
|
|
30
30
|
id: true,
|
|
@@ -250,6 +250,8 @@ export interface ServiceExt extends Service {
|
|
|
250
250
|
sponsors?: Sponsor[];
|
|
251
251
|
organizations?: Organization[];
|
|
252
252
|
bookings?: Booking[];
|
|
253
|
+
type?: keyof typeof ServiceTypes; // Add this line to include the service type
|
|
254
|
+
|
|
253
255
|
}
|
|
254
256
|
|
|
255
257
|
|