This is the dev preview website. Check out the document at lynxjs.org

Home > @lynx-js/genui > createA2UICatalogFromManifests

createA2UICatalogFromManifests() function

Signature:

export declare function createA2UICatalogFromManifests(options: {
    catalogId: string;
    componentManifests: Record<string, JsonSchema>[];
    examples?: A2UIExample[];
    extraRules?: string[];
    functions?: A2UIFunctionSpec[];
    label?: string;
    version?: string;
}): A2UICatalog;

Parameters

Parameter

Type

Description

options

{ catalogId: string; componentManifests: Record<string, JsonSchema>[]; examples?: A2UIExample[]; extraRules?: string[]; functions?: A2UIFunctionSpec[]; label?: string; version?: string; }

Returns:

A2UICatalog