@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 +1 -1
- package/prisma/schema.prisma +7 -1
- package/src/extendedSchemas.ts +2 -1
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -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
|
|
953
|
+
status VolunteerServiceStatus
|
|
948
954
|
}
|
|
949
955
|
|
|
950
956
|
model EventService {
|
package/src/extendedSchemas.ts
CHANGED
|
@@ -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:
|
|
248
|
+
status: VolunteerServiceStatus;
|
|
248
249
|
}
|
|
249
250
|
|
|
250
251
|
|