import { AnswerResolvers, Form, MutationCreateFormArgs, MutationFormSubmitArgs, QueryFormArgs, QuestionResolvers, Resolver, ServerAnswer } from '../typeDefs/typeDefs.gen' import { ApolloContextType } from '../types' import { checkRightsAndResolve, createFormFrom, getForm, getFormAuthor, getForms, submitAnswer } from '../controllers' const formQuery: Resolver