chore(legacy): relocate v1 dataconnect source
This commit is contained in:
47
legacy/dataconnect-v1/connector/attireOption/queries.gql
Normal file
47
legacy/dataconnect-v1/connector/attireOption/queries.gql
Normal file
@@ -0,0 +1,47 @@
|
||||
query listAttireOptions @auth(level: USER) {
|
||||
attireOptions {
|
||||
id
|
||||
itemId
|
||||
label
|
||||
description
|
||||
imageUrl
|
||||
isMandatory
|
||||
vendorId
|
||||
createdAt
|
||||
}
|
||||
}
|
||||
|
||||
query getAttireOptionById($id: UUID!) @auth(level: USER) {
|
||||
attireOption(id: $id) {
|
||||
id
|
||||
itemId
|
||||
label
|
||||
description
|
||||
imageUrl
|
||||
isMandatory
|
||||
vendorId
|
||||
createdAt
|
||||
}
|
||||
}
|
||||
|
||||
query filterAttireOptions(
|
||||
$itemId: String
|
||||
$isMandatory: Boolean
|
||||
$vendorId: UUID
|
||||
) @auth(level: USER) {
|
||||
attireOptions(
|
||||
where: {
|
||||
itemId: { eq: $itemId }
|
||||
isMandatory: { eq: $isMandatory }
|
||||
vendorId: { eq: $vendorId }
|
||||
}
|
||||
) {
|
||||
id
|
||||
itemId
|
||||
label
|
||||
description
|
||||
imageUrl
|
||||
isMandatory
|
||||
vendorId
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user