@redocly/graphql-docs
Version:
Redocly GraphQL docs
12 lines (11 loc) • 732 B
TypeScript
import type { IndexedMenuGroup, MenuTypeGroup } from '../../models';
import type { IndexedMenuGroupingConfig } from '../config';
import type { TypeGroup } from '../../../schema/index.js';
import type { TranslationKey } from '@redocly/theme';
export declare const TYPE_GROUP_NAMES: Record<TypeGroup, {
name: string;
labelTranslationKey: TranslationKey;
}>;
export declare function getInitialMenuGroup(groupId: string, name?: string): IndexedMenuGroup;
export declare function getInitialTypeGroup(menuGroupId: string, typeGroupId: TypeGroup, menuConfig: IndexedMenuGroupingConfig): MenuTypeGroup;
export declare function getTypeGroupId(menuGroupId: string, typeGroupId: string, menuConfig: IndexedMenuGroupingConfig): string;