@redocly/graphql-docs
Version:
Redocly GraphQL docs
8 lines (7 loc) • 356 B
TypeScript
import type { GraphQLSchema } from 'graphql';
import type { IndexedMenuGroup } from '../../models';
import type { IndexedMenuGroupingConfig } from '../config';
export declare function groupAndIndexSchema(schema: GraphQLSchema, menuConfig: IndexedMenuGroupingConfig): {
groups: Map<string, IndexedMenuGroup>;
typeGroupIndex: Map<string, string>;
};