UNPKG

@graphql-tools/graphql

Version:
7 lines (6 loc) 337 B
import { DocumentNode } from '../language/ast.js'; import { GraphQLSchema } from '../type/index.js'; export interface GetDocumentNodeFromSchemaOptions { pathToDirectivesInExtensions?: Array<string>; } export declare function getDocumentNodeFromSchema(schema: GraphQLSchema, options?: GetDocumentNodeFromSchemaOptions): DocumentNode;