Merge outstanding changes before pulling dev
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
mutation createAttireOption(
|
||||
$itemId: String!
|
||||
$label: String!
|
||||
$icon: String
|
||||
$description: String
|
||||
$imageUrl: String
|
||||
$isMandatory: Boolean
|
||||
$vendorId: UUID
|
||||
@@ -10,7 +10,7 @@ mutation createAttireOption(
|
||||
data: {
|
||||
itemId: $itemId
|
||||
label: $label
|
||||
icon: $icon
|
||||
description: $description
|
||||
imageUrl: $imageUrl
|
||||
isMandatory: $isMandatory
|
||||
vendorId: $vendorId
|
||||
@@ -22,7 +22,7 @@ mutation updateAttireOption(
|
||||
$id: UUID!
|
||||
$itemId: String
|
||||
$label: String
|
||||
$icon: String
|
||||
$description: String
|
||||
$imageUrl: String
|
||||
$isMandatory: Boolean
|
||||
$vendorId: UUID
|
||||
@@ -32,7 +32,7 @@ mutation updateAttireOption(
|
||||
data: {
|
||||
itemId: $itemId
|
||||
label: $label
|
||||
icon: $icon
|
||||
description: $description
|
||||
imageUrl: $imageUrl
|
||||
isMandatory: $isMandatory
|
||||
vendorId: $vendorId
|
||||
|
||||
@@ -3,7 +3,7 @@ query listAttireOptions @auth(level: USER) {
|
||||
id
|
||||
itemId
|
||||
label
|
||||
icon
|
||||
description
|
||||
imageUrl
|
||||
isMandatory
|
||||
vendorId
|
||||
@@ -16,7 +16,7 @@ query getAttireOptionById($id: UUID!) @auth(level: USER) {
|
||||
id
|
||||
itemId
|
||||
label
|
||||
icon
|
||||
description
|
||||
imageUrl
|
||||
isMandatory
|
||||
vendorId
|
||||
@@ -39,7 +39,7 @@ query filterAttireOptions(
|
||||
id
|
||||
itemId
|
||||
label
|
||||
icon
|
||||
description
|
||||
imageUrl
|
||||
isMandatory
|
||||
vendorId
|
||||
|
||||
16
backend/dataconnect/connector/staffAttire/mutations.gql
Normal file
16
backend/dataconnect/connector/staffAttire/mutations.gql
Normal file
@@ -0,0 +1,16 @@
|
||||
mutation upsertStaffAttire(
|
||||
$staffId: UUID!
|
||||
$attireOptionId: UUID!
|
||||
$verificationPhotoUrl: String
|
||||
$verificationId: String
|
||||
) @auth(level: USER) {
|
||||
staffAttire_upsert(
|
||||
data: {
|
||||
staffId: $staffId
|
||||
attireOptionId: $attireOptionId
|
||||
verificationPhotoUrl: $verificationPhotoUrl
|
||||
verificationId: $verificationId
|
||||
verificationStatus: PENDING
|
||||
}
|
||||
)
|
||||
}
|
||||
8
backend/dataconnect/connector/staffAttire/queries.gql
Normal file
8
backend/dataconnect/connector/staffAttire/queries.gql
Normal file
@@ -0,0 +1,8 @@
|
||||
query getStaffAttire($staffId: UUID!) @auth(level: USER) {
|
||||
staffAttires(where: { staffId: { eq: $staffId } }) {
|
||||
attireOptionId
|
||||
verificationStatus
|
||||
verificationPhotoUrl
|
||||
verificationId
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user