1234567891011121314151617181920212223242526272829303132333435 |
- import type { DocumentNode } from '../language/ast';
- import type { ParseOptions } from '../language/parser';
- import type { Source } from '../language/source';
- import type { GraphQLSchemaValidationOptions } from '../type/schema';
- import { GraphQLSchema } from '../type/schema';
- export interface BuildSchemaOptions extends GraphQLSchemaValidationOptions {
-
- assumeValidSDL?: boolean;
- }
- export declare function buildASTSchema(
- documentAST: DocumentNode,
- options?: BuildSchemaOptions,
- ): GraphQLSchema;
- export declare function buildSchema(
- source: string | Source,
- options?: BuildSchemaOptions & ParseOptions,
- ): GraphQLSchema;
|