chore(legacy): relocate v1 dataconnect source
This commit is contained in:
45
legacy/dataconnect-v1/connector/attireOption/mutations.gql
Normal file
45
legacy/dataconnect-v1/connector/attireOption/mutations.gql
Normal file
@@ -0,0 +1,45 @@
|
||||
mutation createAttireOption(
|
||||
$itemId: String!
|
||||
$label: String!
|
||||
$description: String
|
||||
$imageUrl: String
|
||||
$isMandatory: Boolean
|
||||
$vendorId: UUID
|
||||
) @auth(level: USER) {
|
||||
attireOption_insert(
|
||||
data: {
|
||||
itemId: $itemId
|
||||
label: $label
|
||||
description: $description
|
||||
imageUrl: $imageUrl
|
||||
isMandatory: $isMandatory
|
||||
vendorId: $vendorId
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
mutation updateAttireOption(
|
||||
$id: UUID!
|
||||
$itemId: String
|
||||
$label: String
|
||||
$description: String
|
||||
$imageUrl: String
|
||||
$isMandatory: Boolean
|
||||
$vendorId: UUID
|
||||
) @auth(level: USER) {
|
||||
attireOption_update(
|
||||
id: $id
|
||||
data: {
|
||||
itemId: $itemId
|
||||
label: $label
|
||||
description: $description
|
||||
imageUrl: $imageUrl
|
||||
isMandatory: $isMandatory
|
||||
vendorId: $vendorId
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
mutation deleteAttireOption($id: UUID!) @auth(level: USER) {
|
||||
attireOption_delete(id: $id)
|
||||
}
|
||||
Reference in New Issue
Block a user