add questionFilterOptions query

This commit is contained in:
2022-10-17 10:27:55 -03:00
parent 7dd11f8e07
commit f14eeb614d
5 changed files with 36 additions and 0 deletions

View File

@@ -223,6 +223,7 @@ type Query {
"""
ids: [ID!]!
): [Node]!
questionFilterOptions: QuestionFilterOptions!
questions(
"""
Returns the elements in the list that come after the specified cursor.
@@ -424,6 +425,10 @@ type QuestionEdge {
node: Question
}
type QuestionFilterOptions {
years: [String!]!
}
enum QuestionStatus {
APPROVED
DRAFT