1 | import type { DocumentNode } from '../language/ast';
|
2 | import type { ParseOptions } from '../language/parser';
|
3 | import type { Source } from '../language/source';
|
4 | import type { GraphQLSchemaValidationOptions } from '../type/schema';
|
5 | import { GraphQLSchema } from '../type/schema';
|
6 | export interface BuildSchemaOptions extends GraphQLSchemaValidationOptions {
|
7 | |
8 |
|
9 |
|
10 |
|
11 |
|
12 | assumeValidSDL?: boolean;
|
13 | }
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 | export declare function buildASTSchema(
|
25 | documentAST: DocumentNode,
|
26 | options?: BuildSchemaOptions,
|
27 | ): GraphQLSchema;
|
28 |
|
29 |
|
30 |
|
31 |
|
32 | export declare function buildSchema(
|
33 | source: string | Source,
|
34 | options?: BuildSchemaOptions & ParseOptions,
|
35 | ): GraphQLSchema;
|