@redocly/graphql-docs
Version:
Redocly GraphQL docs
7 lines (6 loc) • 584 B
TypeScript
import type { GraphQLDirective, GraphQLField, GraphQLNamedType } from 'graphql';
import type { IndexedMenuGroupConfig } from '../config';
import type { OperationTypeGroup } from '../../../schema';
export declare function typeMatchesGroup(type: GraphQLNamedType, groupConfig: IndexedMenuGroupConfig): boolean;
export declare function fieldMatchesGroup(field: GraphQLField<any, any>, typeGroupId: OperationTypeGroup, groupConfig: IndexedMenuGroupConfig): boolean;
export declare function directiveMatchesGroup(directive: GraphQLDirective, groupConfig: IndexedMenuGroupConfig): boolean;