Skip to main content
Version: v1

Edit Interface

A collection of changes to the tree that are applied atomically along with a unique identifier for the edit. If any individual change fails to apply, the entire Edit will fail to apply.

Signature

export interface Edit<TChange> extends EditBase<TChange>

Extends: EditBase

Type Parameters

Parameter Description
TChange

Properties

Property Type Description
id EditId Unique identifier for this edit. Must never be reused. Used for referencing and de-duplicating edits.

Property Details

id

Unique identifier for this edit. Must never be reused. Used for referencing and de-duplicating edits.

Signature

readonly id: EditId;

Type: EditId