Lynx

genui / a2ui / CatalogSchema

CatalogSchema

type CatalogSchema: Record<string, unknown>;

JSON Schema fragment describing a component's props. Produced at build time by @lynx-js/genui/a2ui-catalog-extractor from the component's TypeScript interface marked with @a2uiCatalog <Name>. Optional at runtime — entries that ship without a schema serialize to just { name }.

Defined in

@lynx-js/genui/a2ui/src/catalog/defineCatalog.ts:19

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.