@bash-app/bash-common 30.8.0 → 30.10.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 +2 -21
- 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 };
|
|
@@ -621,11 +605,8 @@ export const ASSET_MIME_TYPES_TO_EXT = {
|
|
|
621
605
|
"image/tiff": ".tiff",
|
|
622
606
|
"image/vnd": ".ico",
|
|
623
607
|
"video/mp4": ".mp4",
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
// '.avi',
|
|
627
|
-
// '.mov',
|
|
628
|
-
// '.mkv'
|
|
608
|
+
"application/pdf": ".pdf",
|
|
609
|
+
"video/mov": ".mov",
|
|
629
610
|
};
|
|
630
611
|
export const VALID_ASSET_MIME_TYPES = Object.keys(ASSET_MIME_TYPES_TO_EXT);
|
|
631
612
|
|
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 {
|