@bash-app/bash-common 1.5.0 → 1.7.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bash-app/bash-common",
3
- "version": "1.5.0",
3
+ "version": "1.7.0",
4
4
  "description": "Common data and scripts to use on the frontend and backend",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -240,6 +240,8 @@ model BashEvent {
240
240
  bashNotificationsReferencingMe BashNotification[]
241
241
  checkouts Checkout[]
242
242
  eventTasks EventTask[]
243
+ videoLink String?
244
+ subtitle String?
243
245
  }
244
246
 
245
247
  model Checkout {
@@ -471,11 +473,13 @@ model CustomBashEventType {
471
473
  }
472
474
 
473
475
  model AmountOfGuests {
474
- id String @id @default(cuid())
475
- bashEventId String @unique
476
- bashEvent BashEvent @relation(fields: [bashEventId], references: [id], onDelete: Cascade)
477
- minimum Int? @default(10)
478
- ideal Int? @default(35)
476
+ id String @id @default(cuid())
477
+ bashEventId String @unique
478
+ bashEvent BashEvent @relation(fields: [bashEventId], references: [id], onDelete: Cascade)
479
+ minimum Int? @default(10)
480
+ ideal Int? @default(35)
481
+ showMinimumGuests Boolean @default(true)
482
+ showIdealGuests Boolean @default(true)
479
483
  }
480
484
 
481
485
  enum Privacy {