@bash-app/bash-common 27.2.7 → 27.2.9

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.2.7",
3
+ "version": "27.2.9",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -235,7 +235,7 @@ model BashEvent {
235
235
  subtitle String?
236
236
  isFeatured Boolean?
237
237
  isTrending Boolean?
238
- stripeAccount StripeAccount[]
238
+ stripeAccount StripeAccount[]
239
239
  }
240
240
 
241
241
  model Checkout {
@@ -564,12 +564,12 @@ enum Privacy {
564
564
  }
565
565
 
566
566
  model TargetAudience {
567
- id String @id @default(cuid())
568
- ageRange AgeRange @default(NoPreference)
569
- gender Gender @default(NoPreference)
570
- occupation Occupation @default(NoPreference)
571
- education Education @default(NoPreference)
572
- showOnDetailPage Boolean @default(true)
567
+ id String @id @default(cuid())
568
+ ageRange AgeRange @default(NoPreference)
569
+ gender Gender @default(NoPreference)
570
+ occupation Occupation @default(NoPreference)
571
+ education Education @default(NoPreference)
572
+ showOnDetailPage Boolean @default(true)
573
573
  bashEvent BashEvent?
574
574
  service Service?
575
575
  venue Venue?
@@ -904,6 +904,7 @@ model Service {
904
904
  creator User @relation("CreatedService", fields: [creatorId], references: [id], onDelete: Cascade)
905
905
  dateCreated DateTime @default(now())
906
906
  email String
907
+ place String?
907
908
  street String
908
909
  city String
909
910
  state String
@@ -934,30 +935,30 @@ model Service {
934
935
  exhibitor Exhibitor[]
935
936
  sponsors Sponsor[]
936
937
  organizations Organization[]
937
- trademark String?
938
- manager String?
938
+ trademark Boolean?
939
+ manager Boolean?
939
940
  dba String?
940
941
  contactPerson String?
941
942
  contactPhone String?
942
943
  contactEmail String?
943
944
  businessPhone String?
944
945
  bookings Booking[]
945
- stripeAccount StripeAccount[]
946
+ stripeAccount StripeAccount[]
946
947
 
947
948
  @@index([email])
948
949
  @@index([phone])
949
950
  }
950
951
 
951
952
  model StripeAccount {
952
- id String @id @default(cuid())
953
+ id String @id @default(cuid())
953
954
  stripeAccountId String?
954
- entityId String
955
- entityType EntityType
956
- createdAt DateTime @default(now())
957
- updatedAt DateTime @updatedAt
958
- service Service? @relation(fields: [entityId], references: [id])
955
+ entityId String
956
+ entityType EntityType
957
+ createdAt DateTime @default(now())
958
+ updatedAt DateTime @updatedAt
959
+ service Service? @relation(fields: [entityId], references: [id])
959
960
  bashEventId String?
960
- bashEvent BashEvent? @relation(fields: [bashEventId], references: [id])
961
+ bashEvent BashEvent? @relation(fields: [bashEventId], references: [id])
961
962
  }
962
963
 
963
964
  model VolunteerService {
@@ -1191,54 +1192,52 @@ model Venue {
1191
1192
  id String @id @default(cuid())
1192
1193
  ownerId String
1193
1194
  owner User @relation(fields: [ownerId], references: [id], onDelete: Cascade)
1194
- service Service? @relation(fields: [serviceId], references: [id], onDelete: Cascade)
1195
- serviceId String?
1196
- serviceConnectionId String?
1197
- serviceConnection String?
1198
- venueName String?
1199
- email String?
1200
- place String?
1201
- street String?
1202
- city String?
1203
- state String?
1204
- zipCode String?
1205
- country String?
1206
- phone String?
1207
- coverPhoto String?
1195
+ service Service? @relation(fields: [serviceId], references: [id], onDelete: Cascade)
1196
+ serviceId String?
1197
+ serviceConnectionId String?
1198
+ serviceConnection String?
1199
+ venueName String?
1200
+ email String?
1201
+ place String?
1202
+ street String?
1203
+ city String?
1204
+ state String?
1205
+ zipCode String?
1206
+ country String?
1207
+ phone String?
1208
+ coverPhoto String?
1208
1209
  media Media[]
1209
1210
  visibility VisibilityPreference @default(Public)
1210
1211
  status ServiceStatus @default(Draft)
1211
1212
  yearsInBusiness YearsOfExperience @default(LessThanOneYear)
1212
- description String?
1213
- amenities String[]
1214
- menuItems String?
1215
- additionalInfo String?
1216
- features String[]
1217
- venueTypes String[]
1213
+ description String?
1214
+ amenities String[]
1215
+ menuItems String?
1216
+ additionalInfo String?
1217
+ features String[]
1218
+ venueTypes String[]
1218
1219
  availableDateTimes Availability[] @relation("AvailableDateTimes")
1219
- mission String?
1220
- pitch String?
1221
- communityInvolvement String?
1222
- emergencyContact String?
1223
- contactDetails String?
1224
- rates String?
1225
- cancellationPolicy String?
1226
- refundPolicy String?
1227
- safetyPolicy String?
1228
- insurancePolicy String?
1220
+ mission String?
1221
+ pitch String?
1222
+ communityInvolvement String?
1223
+ emergencyContact String?
1224
+ contactDetails String?
1225
+ rates String?
1226
+ cancellationPolicy String?
1227
+ refundPolicy String?
1228
+ safetyPolicy String?
1229
+ insurancePolicy String?
1229
1230
  targetAudience TargetAudience? @relation(fields: [targetAudienceId], references: [id])
1230
1231
  targetAudienceId String? @unique
1231
1232
  bashesInterestedIn BashEventType[]
1232
1233
  links ServiceLink[]
1233
- capacity Int?
1234
+ capacity Int?
1234
1235
  amountOfGuests AmountOfGuests? @relation(fields: [amountOfGuestsId], references: [id], onDelete: Cascade)
1235
1236
  amountOfGuestsId String? @unique
1236
- trademark Boolean?
1237
- manager Boolean?
1237
+ trademark Boolean?
1238
+ manager Boolean?
1238
1239
  }
1239
1240
 
1240
-
1241
-
1242
1241
  model Organization {
1243
1242
  id String @id @default(cuid())
1244
1243
  ownerId String
@@ -215,6 +215,7 @@ export interface VenueExt extends Venue {
215
215
  coverPhotoUrl?: string;
216
216
  media?: Media[];
217
217
  amountOfGuests?: AmountOfGuests | null;
218
+
218
219
  }
219
220
 
220
221
 
@@ -275,7 +276,6 @@ agreedToAgreement: boolean;
275
276
  organizations?: Organization[];
276
277
  bookings?: Booking[];
277
278
  type?: keyof typeof ServiceTypes; // Add this line to include the service type
278
-
279
279
  }
280
280
 
281
281