UNPKG

@flanksource/clicky-ui

Version:

Flanksource Clicky UI — React component library built on shadcn/ui with light/dark and density theming.

21 lines 1.07 kB
import { ReactNode } from 'react'; import { ClickyCommandRuntime } from '../data/Clicky'; import { RenderLink } from './EndpointList'; import { DomainDefinition, ResolvedOperation } from './types'; import { OperationsApiClient } from './useOperations'; export type OperationCatalogProps = { definition: DomainDefinition; entities: string[]; client: OperationsApiClient; renderLink: RenderLink; allOperations?: boolean; operationIdPrefix?: string; listOperationId?: string; surfaceKey?: string; getCommandHref?: (operationId: string, op: ResolvedOperation) => string; renderError?: (err: unknown, title: string) => ReactNode; kind?: "operations" | "configuration"; commandRuntime?: ClickyCommandRuntime; }; export declare function OperationCatalog({ definition, entities, client, renderLink, allOperations, operationIdPrefix, listOperationId, surfaceKey, getCommandHref, renderError, kind, commandRuntime, }: OperationCatalogProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=OperationCatalog.d.ts.map