For AI agents: the complete documentation index is available at /zh/llms.txt, the full documentation bundle is available at /zh/llms-full.txt, and this page is available as Markdown at /zh/api/genui/a2ui/interfaces/Surface.md.
Lynx
  • 简体中文
  • genui / a2ui / Surface

    Surface

    In-memory state for a single protocol surface.

    属性

    catalogId?

    optional catalogId: string;

    定义于

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


    components

    components: Map<string, any>;

    定义于

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


    resources

    resources: Map<string, Resource>;

    定义于

    @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').

    定义于

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


    sendDataModel?

    optional sendDataModel: boolean;

    定义于

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


    store

    store: SignalStore;

    定义于

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


    surfaceId

    surfaceId: string;

    定义于

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


    theme?

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

    定义于

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

    除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。