chaging schemas for front

This commit is contained in:
José Salazar
2025-12-04 17:05:27 -05:00
parent ef88639463
commit cf18fdb16b
9 changed files with 43 additions and 31 deletions

View File

@@ -33,16 +33,16 @@ type Event @table(name: "events") {
recurrenceType: RecurrenceType
recurrenceStartDate: Timestamp
recurrenceEndDate: Timestamp
scatterDates: String
scatterDates: Any
multiDayStartDate: Timestamp
multiDayEndDate: Timestamp
bufferTimeBefore: Float @default(expr: "0")
bufferTimeAfter: Float @default(expr: "0")
conflictDetectionEnabled: Boolean @default(expr: "true")
detectedConflicts: String
detectedConflicts: Any
businessId: UUID!
businessName: String
vendorId: UUID
vendorId: String
vendorName: String
hub: String
eventLocation: String
@@ -50,8 +50,8 @@ type Event @table(name: "events") {
poReference: String
status: EventStatus!
date: Timestamp!
shifts: String
addons: String
shifts: Any
addons: Any
total: Float
clientName: String
clientEmail: String
@@ -59,7 +59,7 @@ type Event @table(name: "events") {
invoiceId: UUID
notes: String
requested: Int @default(expr: "0")
assignedStaff: String
assignedStaff: Any
createdDate: Timestamp @default(expr: "request.time")
updatedDate: Timestamp @default(expr: "request.time")
createdBy: String @default(expr: "auth.uid")