@bash-app/bash-common 10.1.1 → 10.3.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 +1 -1
- package/prisma/schema.prisma +6 -0
- package/src/extendedSchemas.ts +1 -1
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -555,6 +555,11 @@ enum BashStatus {
|
|
|
555
555
|
Published
|
|
556
556
|
}
|
|
557
557
|
|
|
558
|
+
enum ServiceStatus {
|
|
559
|
+
Draft
|
|
560
|
+
Created
|
|
561
|
+
}
|
|
562
|
+
|
|
558
563
|
model DocumentID {
|
|
559
564
|
id String @id @default(cuid())
|
|
560
565
|
givenName String?
|
|
@@ -830,6 +835,7 @@ model Service {
|
|
|
830
835
|
serviceRange ServiceRange @relation("ServiceRange", fields: [serviceRangeId], references: [id], onDelete: Cascade)
|
|
831
836
|
availableDateTimes String[] /// Stored in format: ["startDateTime,endDateTime",...]
|
|
832
837
|
serviceTargetAudience ServiceTargetAudience[]
|
|
838
|
+
status ServiceStatus @default(Draft)
|
|
833
839
|
|
|
834
840
|
@@index([email])
|
|
835
841
|
@@index([phone])
|