UNPKG

@redocly/asyncapi-docs

Version:

Async API docs for Redocly Realm

23 lines (22 loc) 464 B
export type ApiItemType = 'operation' | 'channel' | 'message'; export type ApiItemData = { id: string; type: ApiItemType; }; export type ApiItem = { id: string; label: string; link: string; dataSectionId: string; type: ApiItemType; action?: string; items: ApiItem[]; }; export type ApiItemsGroup = { label: string; link: string; dataSectionId: string; items: ApiItem[]; isGroup?: true; type?: string; };