@bash-app/bash-common 27.3.1 → 27.3.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bash-app/bash-common",
3
- "version": "27.3.1",
3
+ "version": "27.3.2",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -166,6 +166,7 @@ export interface EntertainmentServiceExt extends EntertainmentService {
166
166
  links: ServiceLinkExt[];
167
167
  crowdSize?: AmountOfGuests;
168
168
  media?: Media[];
169
+ status: ServiceStatus;
169
170
  }
170
171
 
171
172
  export interface ExhibitorExt extends Exhibitor {
@@ -175,6 +176,7 @@ export interface ExhibitorExt extends Exhibitor {
175
176
  links: ServiceLinkExt[];
176
177
  crowdSize?: AmountOfGuests;
177
178
  media?: Media[];
179
+ status: ServiceStatus;
178
180
  }
179
181
 
180
182
  export interface SponsorExt extends Sponsor {
@@ -184,6 +186,7 @@ export interface SponsorExt extends Sponsor {
184
186
  links: ServiceLinkExt[];
185
187
  crowdSize?: AmountOfGuests;
186
188
  media?: Media[];
189
+ status: ServiceStatus;
187
190
  }
188
191
 
189
192
  export interface VendorExt extends Vendor {
@@ -193,21 +196,11 @@ export interface VendorExt extends Vendor {
193
196
  links: ServiceLinkExt[];
194
197
  crowdSize?: AmountOfGuests;
195
198
  media?: Media[];
199
+ status: ServiceStatus;
196
200
  }
197
201
 
198
- export const VENDOR_DATA_TO_INCLUDE = {
199
- availableDateTimes: true,
200
- targetAudience: true,
201
- links: true,
202
- crowdSize: true,
203
- media: true,
204
- } satisfies Prisma.VendorInclude;
205
-
206
- export const SERVICE_LINK_DATA_TO_INCLUDE = {
207
- link: true,
208
- } satisfies Prisma.ServiceLinkInclude;
209
-
210
202
  export interface VenueExt extends Venue {
203
+ owner: User;
211
204
  service?: Service;
212
205
  availableDateTimes?: Availability[];
213
206
  targetAudience?: TargetAudience | null;
@@ -215,23 +208,9 @@ export interface VenueExt extends Venue {
215
208
  coverPhotoUrl?: string;
216
209
  media?: Media[];
217
210
  amountOfGuests?: AmountOfGuests | null;
218
-
211
+ status: ServiceStatus;
219
212
  }
220
213
 
221
-
222
- export const VOLUNTEER_DATA_TO_INCLUDE = {
223
- links: {
224
- include: {
225
- serviceLinks: true,
226
- },
227
- },
228
- media: true,
229
- serviceRange: true,
230
- } satisfies Prisma.VolunteerServiceInclude;
231
-
232
-
233
-
234
-
235
214
  export interface OrganizationExt extends Organization {
236
215
  service?: Service;
237
216
  availableDateTimes: Availability[];
@@ -256,8 +235,6 @@ export interface VolunteerServiceExt extends VolunteerService {
256
235
  status: VolunteerServiceStatus | null;
257
236
  }
258
237
 
259
-
260
-
261
238
  export interface ServiceExt extends Service {
262
239
  owner?: PublicUser;
263
240
  media?: Media[];