VersionHistorySettingsModel

9 Jul 20261 minute to read

Interface for a class VersionHistorySettings

Properties

snapshotInterval number

Snapshot interval in milliseconds after a structural change.
Multiple changes within this window are batched into one snapshot.

storage IVersionStorage

Storage backend that persists snapshots.
The app must implement IVersionStorage and supply it here.

Events

snapshotCreated EmitType<SnapshotCreatedEventArgs>

Callback invoked after every snapshot is created.

snapshotRestored EmitType<SnapshotRestoredEventArgs>

Callback invoked after a snapshot is restored.