@bash-app/bash-common 26.1.0 → 26.1.1

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": "26.1.0",
3
+ "version": "26.1.1",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -1187,22 +1187,20 @@ model Venue {
1187
1187
  serviceId String
1188
1188
  serviceConnectionId String?
1189
1189
  serviceConnection String?
1190
- venueName String
1191
- email String
1192
- street String
1193
- city String
1194
- state String
1195
- zipCode String
1196
- country String
1197
- phone String
1190
+ venueName String?
1191
+ email String?
1192
+ street String?
1193
+ city String?
1194
+ state String?
1195
+ zipCode String?
1196
+ country String?
1197
+ phone String?
1198
1198
  coverPhoto String?
1199
1199
  media Media[]
1200
1200
  visibility VisibilityPreference @default(Public)
1201
1201
  status ServiceStatus @default(Draft)
1202
1202
  yearsInBusiness YearsOfExperience @default(LessThanOneYear)
1203
1203
  description String?
1204
- serviceRangeId String @unique
1205
- serviceRange ServiceRange @relation(fields: [serviceRangeId], references: [id], onDelete: Cascade)
1206
1204
  amenities String[]
1207
1205
  menuItems String?
1208
1206
  additionalInfo String?
@@ -1342,7 +1340,6 @@ model ServiceRange {
1342
1340
  min Int @default(0)
1343
1341
  max Int @default(50)
1344
1342
  volunteerServices VolunteerService[]
1345
- venue Venue?
1346
1343
  }
1347
1344
 
1348
1345
  model Availability {
@@ -197,17 +197,6 @@ export interface VenueExt extends Venue {
197
197
  amountOfGuests?: AmountOfGuests | null; // Reflecting the correct relation with AmountOfGuests
198
198
  }
199
199
 
200
- export const VENUE_DATA_TO_INCLUDE = {
201
- availableDateTimes: true,
202
- targetAudience: true,
203
- links: {
204
- include: SERVICE_LINK_DATA_TO_INCLUDE
205
- },
206
- media: true,
207
- serviceRange: true,
208
- amountOfGuests: true,
209
- } satisfies Prisma.VenueInclude;
210
-
211
200
  export const VOLUNTEER_DATA_TO_INCLUDE = {
212
201
  links: {
213
202
  include: {
@@ -264,23 +253,6 @@ export interface ServiceExt extends Service {
264
253
  bookings?: Booking[];
265
254
  }
266
255
 
267
- export const BUSINESS_DATA_TO_INCLUDE = {
268
- owner: {
269
- select: FRONT_END_USER_DATA_TO_SELECT,
270
- },
271
- media: true,
272
- targetAudience: true,
273
- serviceLinks: {
274
- include: SERVICE_LINK_DATA_TO_INCLUDE,
275
- },
276
- venues: {
277
- include: VENUE_DATA_TO_INCLUDE,
278
- },
279
- vendors: {
280
- include: VENDOR_DATA_TO_INCLUDE,
281
- },
282
- }
283
-
284
256
 
285
257
  export interface ServiceLinkExt extends ServiceLink {
286
258
  link: Link;