@bash-app/bash-common 18.3.2 → 18.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bash-app/bash-common",
3
- "version": "18.3.2",
3
+ "version": "18.3.3",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -16,6 +16,10 @@ import {
16
16
  ServiceStatus,
17
17
  Vendor,
18
18
  EventService,
19
+ EntertainmentService,
20
+ Exhibitor,
21
+ Sponsor,
22
+ Organization,
19
23
  } from "@prisma/client";
20
24
  import { AttendeeOfBashEvent } from "./definitions";
21
25
 
@@ -130,7 +134,37 @@ export interface EventServiceExt extends EventService {
130
134
  availableDateTimes: Availability[];
131
135
  targetAudience: TargetAudience;
132
136
  links: ServiceLinkExt[];
133
- capacity?: AmountOfGuests;
137
+ crowdSize?: AmountOfGuests;
138
+ media?: Media[];
139
+ status: ServiceStatus;
140
+ }
141
+
142
+ export interface EntertainmentServiceExt extends EntertainmentService {
143
+ service: Service;
144
+ availableDateTimes: Availability[];
145
+ targetAudience: TargetAudience;
146
+ links: ServiceLinkExt[];
147
+ crowdSize?: AmountOfGuests;
148
+ media?: Media[];
149
+ status: ServiceStatus;
150
+ }
151
+
152
+ export interface ExhibitorExt extends Exhibitor {
153
+ service: Service;
154
+ availableDateTimes: Availability[];
155
+ targetAudience: TargetAudience;
156
+ links: ServiceLinkExt[];
157
+ crowdSize?: AmountOfGuests;
158
+ media?: Media[];
159
+ status: ServiceStatus;
160
+ }
161
+
162
+ export interface SponsorExt extends Sponsor {
163
+ service: Service;
164
+ availableDateTimes: Availability[];
165
+ targetAudience: TargetAudience;
166
+ links: ServiceLinkExt[];
167
+ crowdSize?: AmountOfGuests;
134
168
  media?: Media[];
135
169
  status: ServiceStatus;
136
170
  }
@@ -140,7 +174,7 @@ export interface VendorExt extends Vendor {
140
174
  availableDateTimes: Availability[];
141
175
  targetAudience: TargetAudience;
142
176
  links: ServiceLinkExt[];
143
- capacity?: AmountOfGuests;
177
+ crowdSize?: AmountOfGuests;
144
178
  media?: Media[];
145
179
  status: ServiceStatus;
146
180
  }
@@ -155,6 +189,16 @@ export interface VenueExt extends Venue {
155
189
  status: ServiceStatus;
156
190
  }
157
191
 
192
+ export interface OrganizationExt extends Organization {
193
+ service: Service;
194
+ availableDateTimes: Availability[];
195
+ targetAudience: TargetAudience;
196
+ links: ServiceLinkExt[];
197
+ crowdSize?: AmountOfGuests;
198
+ media?: Media[];
199
+ status: ServiceStatus;
200
+ }
201
+
158
202
  export const VENUE_DATA_TO_INCLUDE = {
159
203
  service: true,
160
204
  availableDateTimes: true,