add questionFilterOptions query
This commit is contained in:
6
app/javascript/__generated__/graphql-schema.ts
generated
6
app/javascript/__generated__/graphql-schema.ts
generated
@@ -163,6 +163,7 @@ export type Query = {
|
||||
node?: Maybe<Node>;
|
||||
/** Fetches a list of objects given a list of IDs. */
|
||||
nodes: Array<Maybe<Node>>;
|
||||
questionFilterOptions: QuestionFilterOptions;
|
||||
questions: QuestionConnection;
|
||||
reviewers: UserConnection;
|
||||
subjects: SubjectConnection;
|
||||
@@ -313,6 +314,11 @@ export type QuestionEdge = {
|
||||
node?: Maybe<Question>;
|
||||
};
|
||||
|
||||
export type QuestionFilterOptions = {
|
||||
__typename?: 'QuestionFilterOptions';
|
||||
years: Array<Scalars['String']>;
|
||||
};
|
||||
|
||||
export enum QuestionStatus {
|
||||
Approved = 'APPROVED',
|
||||
Draft = 'DRAFT',
|
||||
|
||||
5
app/javascript/__generated__/schema.graphql
generated
5
app/javascript/__generated__/schema.graphql
generated
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user