For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /api/genui/a2ui/functions/resolveCatalog.md.
Lynx
  • English
  • genui / a2ui / resolveCatalog

    resolveCatalog()

    function resolveCatalog(catalog: Catalog): ReadonlyMap<string, CatalogComponent>

    Build a name → component lookup map from a catalog. The renderer uses this to resolve { component: 'Text', ... } from the protocol stream.

    Parameters

    ParameterType
    catalogCatalog

    Returns

    ReadonlyMap<string, CatalogComponent>

    Defined in

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

    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.