UNPKG

@redocly/graphql-docs

Version:

Redocly GraphQL docs

8 lines (7 loc) 435 B
import type { GraphQLSchema } from 'graphql'; import type { IndexedMenuGroup } from '../../models/index.js'; import type { IndexedMenuGroupingConfig } from '../config/index.js'; export declare function groupAndIndexSchema(schema: GraphQLSchema, menuConfig: IndexedMenuGroupingConfig, showBuiltInScalars: boolean, showBuiltInDirectives: boolean): { groups: Map<string, IndexedMenuGroup>; typeGroupIndex: Map<string, string>; };