A2uiSurface
Renderer-side surface state combining catalog settings, components indexed by ID, and the current data model.
import type { A2uiSurface } from '@threadplane/a2ui';Declaration
export interface A2uiSurface {
catalogId: string;
components: Map<string, A2uiComponent>;
dataModel: Record<string, unknown>;
sendDataModel?: boolean;
surfaceId: string;
theme?: A2uiTheme;
}Members
catalogId
catalogId: string;components
components: Map<string, A2uiComponent>;dataModel
dataModel: Record<string, unknown>;sendDataModel
sendDataModel?: boolean;surfaceId
surfaceId: string;theme
theme?: A2uiTheme;