- - when before Type
- - when after Type
- A map thunk is a function that returns the map type GraphQLFieldConfigMapThunk = () => GraphQLFieldConfigMap
##################################### type GraphQLSchemaConfig = { query: GraphQLObjectType; mutation?: ?GraphQLObjectType; };
type GraphQLObjectTypeConfig = { name: string; description?: ?string; fields: GraphQLFieldConfigMapThunk | GraphQLFieldConfigMap; interfaces?: ...; };
type GraphQLFieldConfigMap = { [fieldName: string]: GraphQLFieldConfig; };
type GraphQLFieldConfig = { type: GraphQLOutputType; description?: ?string; args?: GraphQLFieldConfigArgumentMap; resolve?: GraphQLFieldResolveFn; deprecationReason?: string; };
type GraphQLFieldResolveFn = ( source?: any, args?: {[argName: string]: any}, context?: any, info?: GraphQLResolveInfo ) => any;