A2uiSurfaceSnapshot

Unpublished development API. This package is under development and is not available as a published release.

Published surface containing catalog metadata, component descriptors, and the current owned data model.

import type { A2uiSurfaceSnapshot } from '@threadplane/content/a2ui';

Declaration

export interface A2uiSurfaceSnapshot  {
  readonly catalogId: string;
  readonly components: readonly A2uiComponentSnapshot[];
  readonly dataModel: A2uiValue;
  readonly sendDataModel?: boolean;
  readonly surfaceId: string;
  readonly theme?: Readonly<A2uiTheme>;
}

Members

catalogId

readonly catalogId: string;

components

readonly components: readonly A2uiComponentSnapshot[];

dataModel

readonly dataModel: A2uiValue;

sendDataModel

readonly sendDataModel?: boolean;

surfaceId

readonly surfaceId: string;

theme

readonly theme?: Readonly<A2uiTheme>;