@bash-app/bash-common 24.3.0 → 24.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": "24.3.0",
3
+ "version": "24.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",
@@ -928,21 +928,23 @@ model Business {
928
928
  }
929
929
 
930
930
  model VolunteerService {
931
- id String @id @default(cuid())
931
+ id String @id @default(cuid())
932
932
  businessId String?
933
- business Business? @relation(fields: [businessId], references: [id])
933
+ business Business? @relation(fields: [businessId], references: [id])
934
934
  userId String?
935
- user User? @relation(fields: [userId], references: [id])
935
+ user User? @relation(fields: [userId], references: [id])
936
936
  serviceRangeId String?
937
- serviceRange ServiceRange? @relation(fields: [serviceRangeId], references: [id])
938
- media Media[] @relation("VolunteerServiceMedia")
939
- links Link[] @relation("VolunteerServiceLinks")
940
- availableDateTimes Availability[] @relation("AvailableDateTimes")
937
+ serviceRange ServiceRange? @relation(fields: [serviceRangeId], references: [id])
938
+ media Media[] @relation("VolunteerServiceMedia")
939
+ links Link[] @relation("VolunteerServiceLinks")
940
+ availableDateTimes Availability[] @relation("AvailableDateTimes")
941
941
  fullName String?
942
942
  address String?
943
943
  email String?
944
944
  phone String?
945
- agreedToAgreement Boolean @default(false)
945
+ agreedToAgreement Boolean @default(false)
946
+ description String?
947
+ status ServiceStatus[]
946
948
  }
947
949
 
948
950
  model EventService {
@@ -243,6 +243,8 @@ export interface VolunteerServiceExt extends VolunteerService {
243
243
  email: string | null;
244
244
  phone: string | null;
245
245
  agreedToAgreement: boolean;
246
+ description: string | null;
247
+ status: ServiceStatus[]
246
248
  }
247
249
 
248
250