@bash-app/bash-common 18.2.0 → 18.3.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/extendedSchemas.ts +11 -0
package/package.json
CHANGED
package/src/extendedSchemas.ts
CHANGED
|
@@ -14,6 +14,7 @@ import {
|
|
|
14
14
|
Link, Venue, Availability,
|
|
15
15
|
TargetAudience,
|
|
16
16
|
ServiceStatus,
|
|
17
|
+
Vendor,
|
|
17
18
|
} from "@prisma/client";
|
|
18
19
|
import { AttendeeOfBashEvent } from "./definitions";
|
|
19
20
|
|
|
@@ -123,6 +124,16 @@ export const BASH_EVENT_DATA_TO_REMOVE: RemoveCommonProperties<BashEvent, BashEv
|
|
|
123
124
|
'tickets'
|
|
124
125
|
];
|
|
125
126
|
|
|
127
|
+
export interface VendorExt extends Vendor {
|
|
128
|
+
service: Service;
|
|
129
|
+
availableDateTimes: Availability[];
|
|
130
|
+
targetAudience: TargetAudience;
|
|
131
|
+
vendorLinks: ServiceLinkExt[];
|
|
132
|
+
capacity?: AmountOfGuests;
|
|
133
|
+
media?: Media[];
|
|
134
|
+
status: ServiceStatus;
|
|
135
|
+
}
|
|
136
|
+
|
|
126
137
|
export interface VenueExt extends Venue {
|
|
127
138
|
service: Service;
|
|
128
139
|
availableDateTimes: Availability[];
|