@bash-app/bash-common 24.5.1 → 24.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": "24.5.1",
3
+ "version": "24.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",
@@ -621,6 +621,12 @@ enum ServiceStatus {
621
621
  Created
622
622
  }
623
623
 
624
+ enum VolunteerServiceStatus {
625
+ Draft
626
+ Pending
627
+ Created
628
+ }
629
+
624
630
  model DocumentID {
625
631
  id String @id @default(cuid())
626
632
  givenName String?
@@ -944,7 +950,7 @@ model VolunteerService {
944
950
  phone String?
945
951
  agreedToAgreement Boolean @default(false)
946
952
  description String?
947
- status ServiceStatus
953
+ status VolunteerServiceStatus
948
954
  }
949
955
 
950
956
  model EventService {
@@ -14,6 +14,7 @@ import {
14
14
  Link, Venue, Availability,
15
15
  TargetAudience,
16
16
  ServiceStatus,
17
+ VolunteerServiceStatus,
17
18
  Vendor,
18
19
  EventService,
19
20
  EntertainmentService,
@@ -244,7 +245,7 @@ export interface VolunteerServiceExt extends VolunteerService {
244
245
  phone: string | null;
245
246
  agreedToAgreement: boolean;
246
247
  description: string | null;
247
- status: ServiceStatus
248
+ status: VolunteerServiceStatus;
248
249
  }
249
250
 
250
251