Lynx

Home > @lynx-js/genui-a2ui > CatalogSchema

CatalogSchema type

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 }.

Signature:

export type CatalogSchema = Record<string, unknown>;
除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。