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/interfaces/Surface.md.
Lynx
  • English
  • genui / a2ui / Surface

    Surface

    In-memory state for a single protocol surface.

    Properties

    catalogId?

    optional catalogId: string;

    Defined in

    @lynx-js/genui/a2ui/src/store/types.ts:32


    components

    components: Map<string, any>;

    Defined in

    @lynx-js/genui/a2ui/src/store/types.ts:37


    resources

    resources: Map<string, Resource>;

    Defined in

    @lynx-js/genui/a2ui/src/store/types.ts:38


    rootComponentId?

    optional rootComponentId: null | string;

    id of the root component for this surface (must be 'root').

    Defined in

    @lynx-js/genui/a2ui/src/store/types.ts:36


    sendDataModel?

    optional sendDataModel: boolean;

    Defined in

    @lynx-js/genui/a2ui/src/store/types.ts:34


    store

    store: SignalStore;

    Defined in

    @lynx-js/genui/a2ui/src/store/types.ts:39


    surfaceId

    surfaceId: string;

    Defined in

    @lynx-js/genui/a2ui/src/store/types.ts:31


    theme?

    optional theme: Readonly<Record<string, unknown>>;

    Defined in

    @lynx-js/genui/a2ui/src/store/types.ts:33

    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.