chore(legacy): relocate v1 dataconnect source
This commit is contained in:
29
legacy/dataconnect-v1/connector/faqData/mutations.gql
Normal file
29
legacy/dataconnect-v1/connector/faqData/mutations.gql
Normal file
@@ -0,0 +1,29 @@
|
||||
mutation createFaqData(
|
||||
$category: String!
|
||||
$questions: [Any!]
|
||||
) @auth(level: USER) {
|
||||
faqData_insert(
|
||||
data: {
|
||||
category: $category
|
||||
questions: $questions
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
mutation updateFaqData(
|
||||
$id: UUID!
|
||||
$category: String
|
||||
$questions: [Any!]
|
||||
) @auth(level: USER) {
|
||||
faqData_update(
|
||||
id: $id
|
||||
data: {
|
||||
category: $category
|
||||
questions: $questions
|
||||
}
|
||||
)
|
||||
}
|
||||
|
||||
mutation deleteFaqData($id: UUID!) @auth(level: USER) {
|
||||
faqData_delete(id: $id)
|
||||
}
|
||||
Reference in New Issue
Block a user