Skip to main content
Version: v1

IAttachMessage Interface

Message send by client attaching local data structure. Contains snapshot of data structure which is the current state of this data structure.

Signature

export interface IAttachMessage

Properties

PropertyTypeDescription
idstringThe identifier for the object
snapshotITreeInitial snapshot of the document (contains ownership)
typestringThe type of object

Property Details

id

The identifier for the object

Signature

id: string;

Type: string

snapshot

Initial snapshot of the document (contains ownership)

Signature

snapshot: ITree;

Type: ITree

type

The type of object

Signature

type: string;

Type: string