UNPKG

@graphql-mesh/utils

Version:
7 lines (6 loc) 309 B
import type { ASTNode, GraphQLSchema } from 'graphql'; import type { DirectiveAnnotation } from '@graphql-tools/utils'; export declare function getDefDirectives(schema: GraphQLSchema, { astNode, extensions }: { astNode?: ASTNode | null; extensions?: any; }, subgraph?: string): DirectiveAnnotation[];