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

@@ -6,16 +6,16 @@ mutation CreateEvent(
$recurrenceType: RecurrenceType,
$recurrenceStartDate: Timestamp,
$recurrenceEndDate: Timestamp,
$scatterDates: String,
$scatterDates: Any,
$multiDayStartDate: Timestamp,
$multiDayEndDate: Timestamp,
$bufferTimeBefore: Float,
$bufferTimeAfter: Float,
$conflictDetectionEnabled: Boolean,
$detectedConflicts: String,
$detectedConflicts: Any,
$businessId: UUID!,
$businessName: String,
$vendorId: UUID,
$vendorId: String,
$vendorName: String,
$hub: String,
$eventLocation: String,
@@ -23,8 +23,8 @@ mutation CreateEvent(
$poReference: String,
$status: EventStatus!,
$date: Timestamp!,
$shifts: String,
$addons: String,
$shifts: Any,
$addons: Any,
$total: Float,
$clientName: String,
$clientEmail: String,
@@ -32,7 +32,7 @@ mutation CreateEvent(
$invoiceId: UUID,
$notes: String,
$requested: Int,
$assignedStaff: String
$assignedStaff: Any
) @auth(level: USER) {
event_insert(
data: {
@@ -84,16 +84,16 @@ mutation UpdateEvent(
$recurrenceType: RecurrenceType,
$recurrenceStartDate: Timestamp,
$recurrenceEndDate: Timestamp,
$scatterDates: String,
$scatterDates: Any,
$multiDayStartDate: Timestamp,
$multiDayEndDate: Timestamp,
$bufferTimeBefore: Float,
$bufferTimeAfter: Float,
$conflictDetectionEnabled: Boolean,
$detectedConflicts: String,
$detectedConflicts: Any,
$businessId: UUID,
$businessName: String,
$vendorId: UUID,
$vendorId: String,
$vendorName: String,
$hub: String,
$eventLocation: String,
@@ -101,8 +101,8 @@ mutation UpdateEvent(
$poReference: String,
$status: EventStatus,
$date: Timestamp,
$shifts: String,
$addons: String,
$shifts: Any,
$addons: Any,
$total: Float,
$clientName: String,
$clientEmail: String,
@@ -110,7 +110,7 @@ mutation UpdateEvent(
$invoiceId: UUID,
$notes: String,
$requested: Int,
$assignedStaff: String
$assignedStaff: Any
) @auth(level: USER) {
event_update(
id: $id,