A durable marker at one archived revision.
Members
Properties
id: string;Content ID of the marker fields.
revision: number;Document revision the version restores to.
kind: "named" | "automatic";named when a user saved it; automatic when the archive made it on its schedule.
name?: string;optional
Present on named versions.
authorId: string;Who saved a named version, or who made the last change of an automatic one.
time: number;When the version was made, in milliseconds since the Unix epoch.
checkpoint: string;Record ID of the checkpoint the version rebuilds from.
tail: readonly string[];Transaction envelope IDs applied after the checkpoint, in order.
checkpoints: readonly string[];Checkpoints made since the previous marker. The marker keeps them, so the log between two retained versions stays readable for a diff.
Declaration
View full TypeScript declaration
export interface HistoryVersion { id: string; revision: number; kind: "named" | "automatic"; name?: string; authorId: string; time: number; checkpoint: string; tail: readonly string[]; checkpoints: readonly string[];}Referenced by
Public exports naming HistoryVersion
AtomicHistoryStorage@sheetwrite/coreHistoryArchive@sheetwrite/coreHistoryListPage@sheetwrite/coreHistoryPanelArchive@sheetwrite/coreHistoryPublishRequest@sheetwrite/coreHistoryStorageAdapter@sheetwrite/coreHistoryStorageTransaction@sheetwrite/core