@bash-app/bash-common 27.5.1 → 27.5.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.5.1",
3
+ "version": "27.5.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",
@@ -905,27 +905,27 @@ model Service {
905
905
  creator User @relation("CreatedService", fields: [creatorId], references: [id], onDelete: Cascade)
906
906
  createdAt DateTime @default(now())
907
907
  updatedAt DateTime @updatedAt
908
- email String
908
+ email String?
909
909
  place String?
910
- street String
911
- city String
912
- state String
913
- zipCode String
914
- country String
915
- phone String
916
- name String @default("New Service")
910
+ street String?
911
+ city String?
912
+ state String?
913
+ zipCode String?
914
+ country String?
915
+ phone String?
916
+ name String? @default("New Service")
917
917
  coverPhoto String?
918
918
  agreedToAgreement Boolean?
919
919
  media Media[]
920
920
  customServiceTag String[]
921
- yearsOfExperince YearsOfExperience @default(LessThanOneYear)
921
+ yearsOfExperince YearsOfExperience? @default(LessThanOneYear)
922
922
  serviceLinks ServiceLink[]
923
923
  description String?
924
924
  canContact Boolean?
925
925
  // musicGenre MusicGenreType?
926
- visibility VisibilityPreference @default(Public)
926
+ visibility VisibilityPreference? @default(Public)
927
927
  // bashesInterestedIn BashEventType[]
928
- status ServiceStatus @default(Draft)
928
+ status ServiceStatus? @default(Draft)
929
929
  venues Venue[]
930
930
  targetAudienceId String? @unique
931
931
  targetAudience TargetAudience? @relation(fields: [targetAudienceId], references: [id])