Lynx

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

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.