From c8cd750b4f7dc615667424be175ae6b3dd35661b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Salazar?= <73718835+joshrs23@users.noreply.github.com> Date: Mon, 15 Dec 2025 14:32:54 -0500 Subject: [PATCH] modifiying staff schema for front --- dataconnect/connector/staff/mutations.gql | 6 +++--- dataconnect/schema/staff.gql | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dataconnect/connector/staff/mutations.gql b/dataconnect/connector/staff/mutations.gql index 64f2954a..28c40b21 100644 --- a/dataconnect/connector/staff/mutations.gql +++ b/dataconnect/connector/staff/mutations.gql @@ -10,12 +10,12 @@ mutation CreateStaff( $track: String, $position: String, $profileType: ProfileType, - $employmentType: EmploymentType!, + $employmentType: EmploymentType, $english: EnglishLevel, $rate: Float, $rating: Float, $reliabilityScore: Int, - $backgroundCheckStatus: BackgroundCheckStatus! + $backgroundCheckStatus: BackgroundCheckStatus, $notes: String ) @auth(level: USER) { staff_insert( @@ -60,7 +60,7 @@ mutation UpdateStaff( $rate: Float, $rating: Float, $reliabilityScore: Int, - $backgroundCheckStatus: BackgroundCheckStatus + $backgroundCheckStatus: BackgroundCheckStatus, $notes: String ) @auth(level: USER) { staff_update( diff --git a/dataconnect/schema/staff.gql b/dataconnect/schema/staff.gql index a4aaf878..9a566a52 100644 --- a/dataconnect/schema/staff.gql +++ b/dataconnect/schema/staff.gql @@ -53,12 +53,12 @@ type Staff @table(name: "staffs") { track: String position: String profileType: ProfileType @col(name: "profile_type") - employmentType: EmploymentType! @col(name: "employment_type") + employmentType: EmploymentType @col(name: "employment_type") english: EnglishLevel rate: Float rating: Float reliabilityScore: Int @col(name: "reliability_score") - backgroundCheckStatus: BackgroundCheckStatus! @col(name: "background_check_status") + backgroundCheckStatus: BackgroundCheckStatus @col(name: "background_check_status") notes: String createdDate: Timestamp @default(expr: "request.time") updatedDate: Timestamp @default(expr: "request.time")