makeExecutableSchema.d.ts 610 B

123456
  1. import { GraphQLSchema } from 'graphql';
  2. import { IExecutableSchemaDefinition, ILogger } from './Interfaces';
  3. export declare function makeExecutableSchema<TContext = any>({ typeDefs, resolvers, connectors, logger, allowUndefinedInResolve, resolverValidationOptions, directiveResolvers, schemaDirectives, parseOptions, inheritResolversFromInterfaces }: IExecutableSchemaDefinition<TContext>): GraphQLSchema;
  4. export declare function addCatchUndefinedToSchema(schema: GraphQLSchema): void;
  5. export declare function addErrorLoggingToSchema(schema: GraphQLSchema, logger: ILogger): void;
  6. export * from './generate';