Skip to main content
Version: v1

EditBase Interface

The information included in an edit.

Signature

export interface EditBase<TChange>

Type Parameters

Parameter Description
TChange

Properties

Property Modifiers Type Description
changes readonly TChange[] Actual changes to apply. Applied in order as part of a single transaction.
pastAttemptCount optional number For edits which are being re-issued due to a conflict, the number of times this edit has already been attempted. Undefined means 0.

Property Details

changes

Actual changes to apply. Applied in order as part of a single transaction.

Signature

readonly changes: readonly TChange[];

Type: readonly TChange[]

pastAttemptCount

For edits which are being re-issued due to a conflict, the number of times this edit has already been attempted. Undefined means 0.

Signature

readonly pastAttemptCount?: number;

Type: number