chore(legacy): relocate v1 dataconnect source
This commit is contained in:
17
legacy/dataconnect-v1/connector/staffAttire/mutations.gql
Normal file
17
legacy/dataconnect-v1/connector/staffAttire/mutations.gql
Normal file
@@ -0,0 +1,17 @@
|
||||
mutation upsertStaffAttire(
|
||||
$staffId: UUID!
|
||||
$attireOptionId: UUID!
|
||||
$verificationPhotoUrl: String
|
||||
$verificationId: String
|
||||
$verificationStatus: AttireVerificationStatus
|
||||
) @auth(level: USER) {
|
||||
staffAttire_upsert(
|
||||
data: {
|
||||
staffId: $staffId
|
||||
attireOptionId: $attireOptionId
|
||||
verificationPhotoUrl: $verificationPhotoUrl
|
||||
verificationId: $verificationId
|
||||
verificationStatus: $verificationStatus
|
||||
}
|
||||
)
|
||||
}
|
||||
8
legacy/dataconnect-v1/connector/staffAttire/queries.gql
Normal file
8
legacy/dataconnect-v1/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