Added framework for CSI questions & viewing. Schema changes to allow anon viewing of survey BOD-98
This commit is contained in:
16
client/src/graphql/csi.queries.js
Normal file
16
client/src/graphql/csi.queries.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import gql from "graphql-tag";
|
||||
|
||||
export const QUERY_SURVEY = gql`
|
||||
query QUERY_SURVEY($surveyId: uuid!) {
|
||||
csi_by_pk(id: $surveyId) {
|
||||
relateddata
|
||||
valid
|
||||
validuntil
|
||||
id
|
||||
csiquestion {
|
||||
id
|
||||
config
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
Reference in New Issue
Block a user