@redocly/theme
Version:
Shared UI components lib
12 lines (11 loc) • 392 B
TypeScript
import { BffCatalogEntity, BffCatalogRelatedEntity } from '../../types';
type CatalogEntitySchemaProps = {
entity: BffCatalogEntity;
relatedEntity: BffCatalogRelatedEntity | null;
};
export declare function useCatalogEntitySchema({ entity, relatedEntity }: CatalogEntitySchemaProps): {
definition: Record<string, unknown>;
parsedSchema: any;
rawSchema: any;
};
export {};