@bash-app/bash-common 30.8.0 → 30.9.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 +0 -16
- package/src/extendedSchemas.ts +19 -0
package/package.json
CHANGED
package/src/definitions.ts
CHANGED
|
@@ -195,22 +195,6 @@ export const SERVICE_LINK_DATA_TO_INCLUDE = {
|
|
|
195
195
|
// "organization"
|
|
196
196
|
// >;
|
|
197
197
|
|
|
198
|
-
export const VENUE_DATA_TO_INCLUDE = {} satisfies Prisma.VenueInclude;
|
|
199
|
-
|
|
200
|
-
export const VENDOR_DATA_TO_INCLUDE = {
|
|
201
|
-
crowdSize: true,
|
|
202
|
-
} satisfies Prisma.VendorInclude;
|
|
203
|
-
|
|
204
|
-
export const VOLUNTEER_DATA_TO_INCLUDE = {
|
|
205
|
-
links: {
|
|
206
|
-
include: {
|
|
207
|
-
serviceLinks: true,
|
|
208
|
-
},
|
|
209
|
-
},
|
|
210
|
-
media: true,
|
|
211
|
-
serviceRange: true,
|
|
212
|
-
} satisfies Prisma.VolunteerServiceInclude;
|
|
213
|
-
|
|
214
198
|
export type DateTimeArgType = Date | string | undefined | null;
|
|
215
199
|
export type RequiredStripeInfoMissingErrorDataType = {
|
|
216
200
|
[k in keyof User]?: { type: string; label: string };
|
package/src/extendedSchemas.ts
CHANGED
|
@@ -531,6 +531,25 @@ export interface ServiceLinkExt extends ServiceLink {
|
|
|
531
531
|
link: Link;
|
|
532
532
|
}
|
|
533
533
|
|
|
534
|
+
export const VENDOR_DATA_TO_INCLUDE = {
|
|
535
|
+
crowdSize: true,
|
|
536
|
+
} satisfies Prisma.VendorInclude;
|
|
537
|
+
|
|
538
|
+
export const VOLUNTEER_DATA_TO_INCLUDE = {
|
|
539
|
+
links: {
|
|
540
|
+
include: {
|
|
541
|
+
serviceLinks: true,
|
|
542
|
+
},
|
|
543
|
+
},
|
|
544
|
+
media: true,
|
|
545
|
+
serviceRange: true,
|
|
546
|
+
service: {
|
|
547
|
+
include: SERVICE_DATA_TO_INCLUDE,
|
|
548
|
+
},
|
|
549
|
+
} satisfies Prisma.VolunteerServiceInclude;
|
|
550
|
+
|
|
551
|
+
export const VENUE_DATA_TO_INCLUDE = {} satisfies Prisma.VenueInclude;
|
|
552
|
+
|
|
534
553
|
//-----------------------------------------
|
|
535
554
|
|
|
536
555
|
export interface BashNotificationExt extends BashNotification {
|