@bash-app/bash-common 1.4.0 → 1.5.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.4.0",
3
+ "version": "1.5.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",
@@ -485,13 +485,14 @@ enum Privacy {
485
485
  }
486
486
 
487
487
  model TargetAudience {
488
- id String @id @default(cuid())
489
- bashEventId String @unique
490
- bashEvent BashEvent @relation(fields: [bashEventId], references: [id], onDelete: Cascade)
491
- ageRange AgeRange @default(NoPreference)
492
- gender Gender @default(NoPreference)
493
- occupation Occupation @default(NoPreference)
494
- education Education @default(NoPreference)
488
+ id String @id @default(cuid())
489
+ bashEventId String @unique
490
+ bashEvent BashEvent @relation(fields: [bashEventId], references: [id], onDelete: Cascade)
491
+ ageRange AgeRange @default(NoPreference)
492
+ gender Gender @default(NoPreference)
493
+ occupation Occupation @default(NoPreference)
494
+ education Education @default(NoPreference)
495
+ showOnDetailPage Boolean @default(true)
495
496
  }
496
497
 
497
498
  enum AgeRange {