WIP for viewing CSI question sets BOD-380
This commit is contained in:
@@ -22,6 +22,22 @@ export const COMPLETE_SURVEY = gql`
|
||||
}
|
||||
`;
|
||||
|
||||
export const GET_ALL_QUESTION_SETS = gql`
|
||||
query GET_ALL_QUESTION_SETS {
|
||||
csiquestions(order_by: { created_at: desc }) {
|
||||
id
|
||||
created_at
|
||||
config
|
||||
current
|
||||
csis_aggregate {
|
||||
aggregate {
|
||||
count
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export const GET_CURRENT_QUESTIONSET_ID = gql`
|
||||
query GET_CURRENT_QUESTIONSET_ID {
|
||||
csiquestions(where: { current: { _eq: true } }) {
|
||||
|
||||
Reference in New Issue
Block a user