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

    单个协议 surface 的内存状态。

    属性

    catalogId?

    optional catalogId?: string


    components

    components: Map<string, ComponentInstance>


    resources

    resources: Map<string, Resource>


    rootComponentId?

    optional rootComponentId?: string | null

    该 surface 根组件的 id(必须为 'root')。


    sendDataModel?

    optional sendDataModel?: boolean


    store

    store: SignalStore


    surfaceId

    surfaceId: string


    theme?

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

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