123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- import { Maybe } from '../jsutils/Maybe';
- import { Location, DocumentNode, StringValueNode } from '../language/ast';
- import {
- GraphQLSchemaValidationOptions,
- GraphQLSchema,
- GraphQLSchemaNormalizedConfig,
- } from '../type/schema';
- interface Options extends GraphQLSchemaValidationOptions {
-
- commentDescriptions?: boolean;
-
- assumeValidSDL?: boolean;
- }
- export function extendSchema(
- schema: GraphQLSchema,
- documentAST: DocumentNode,
- options?: Options,
- ): GraphQLSchema;
- export function extendSchemaImpl(
- schemaConfig: GraphQLSchemaNormalizedConfig,
- documentAST: DocumentNode,
- options?: Options,
- ): GraphQLSchemaNormalizedConfig;
- export function getDescription(
- node: { readonly description?: StringValueNode; readonly loc?: Location },
- options?: Maybe<{ commentDescriptions?: boolean }>,
- ): string | undefined;
|