chore(legacy): relocate v1 dataconnect source
This commit is contained in:
29
legacy/dataconnect-v1/connector/faqData/queries.gql
Normal file
29
legacy/dataconnect-v1/connector/faqData/queries.gql
Normal file
@@ -0,0 +1,29 @@
|
||||
query listFaqDatas @auth(level: USER) {
|
||||
faqDatas {
|
||||
id
|
||||
category
|
||||
questions
|
||||
createdAt
|
||||
updatedAt
|
||||
createdBy
|
||||
}
|
||||
}
|
||||
|
||||
query getFaqDataById($id: UUID!) @auth(level: USER) {
|
||||
faqData(id: $id) {
|
||||
id
|
||||
category
|
||||
questions
|
||||
createdAt
|
||||
updatedAt
|
||||
createdBy
|
||||
}
|
||||
}
|
||||
|
||||
query filterFaqDatas($category: String) @auth(level: USER) {
|
||||
faqDatas(where: { category: { eq: $category } }) {
|
||||
id
|
||||
category
|
||||
questions
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user