Merge branch 'dev' into Inconsistent-Shift-Booking-Status
This commit is contained in:
@@ -15,6 +15,7 @@ mutation createOrder(
|
||||
$shifts: Any
|
||||
$requested: Int
|
||||
$teamHubId: UUID!
|
||||
$hubManagerId: UUID
|
||||
$recurringDays: [String!]
|
||||
$permanentStartDate: Timestamp
|
||||
$permanentDays: [String!]
|
||||
@@ -40,6 +41,7 @@ mutation createOrder(
|
||||
shifts: $shifts
|
||||
requested: $requested
|
||||
teamHubId: $teamHubId
|
||||
hubManagerId: $hubManagerId
|
||||
recurringDays: $recurringDays
|
||||
permanentDays: $permanentDays
|
||||
notes: $notes
|
||||
|
||||
@@ -3,6 +3,7 @@ mutation upsertStaffAttire(
|
||||
$attireOptionId: UUID!
|
||||
$verificationPhotoUrl: String
|
||||
$verificationId: String
|
||||
$verificationStatus: AttireVerificationStatus
|
||||
) @auth(level: USER) {
|
||||
staffAttire_upsert(
|
||||
data: {
|
||||
@@ -10,7 +11,7 @@ mutation upsertStaffAttire(
|
||||
attireOptionId: $attireOptionId
|
||||
verificationPhotoUrl: $verificationPhotoUrl
|
||||
verificationId: $verificationId
|
||||
verificationStatus: PENDING
|
||||
verificationStatus: $verificationStatus
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
@@ -1,7 +1,12 @@
|
||||
enum AttireVerificationStatus {
|
||||
PENDING
|
||||
FAILED
|
||||
SUCCESS
|
||||
PROCESSING
|
||||
AUTO_PASS
|
||||
AUTO_FAIL
|
||||
NEEDS_REVIEW
|
||||
APPROVED
|
||||
REJECTED
|
||||
ERROR
|
||||
}
|
||||
|
||||
type StaffAttire @table(name: "staff_attires", key: ["staffId", "attireOptionId"]) {
|
||||
|
||||
Reference in New Issue
Block a user