Skip to main content
Version: v1

Build Interface

Constructs a sequence of nodes, associates it with the supplied ID, and stores it for use in later changes. Does not modify the document.

Valid if (transitively) all DetachedSequenceId are used according to their rules (use here counts as a destination), and all Nodes' identifiers are previously unused.

Signature

export interface Build

Properties

Property Type Description
destination number
source BuildNode | TreeNodeSequence<BuildNode>
type typeof ChangeType.Build

Property Details

destination

Signature

readonly destination: number;

Type: number

source

Signature

readonly source: BuildNode | TreeNodeSequence<BuildNode>;

Type: BuildNode | TreeNodeSequence<BuildNode>

type

Signature

readonly type: typeof ChangeType.Build;

Type: typeof ChangeType.Build