Skip to content
Sheetwrite

@sheetwrite/core/history

HistoryHeadinterface

Report a problem

On this page

Durable recorder cursor: the newest checkpoint, the log tail since it, and cadence counters.

Members

Properties

revision: number;

Revision of the last archived commit.

checkpoint: string;

Record ID of the newest checkpoint.

tail: readonly string[];

Transaction record IDs archived after that checkpoint, in order.

checkpoints: readonly string[];

Checkpoints made since the newest version marker; the next marker takes them over.

time: number;

Time of the last archived commit.

activeMs: number;

Active editing time since the baseline; idle gaps count as at most one automatic interval.

automaticAt: number;

activeMs at the last automatic version.

checkpointAt: number;

activeMs at the last checkpoint.

checkpointTransactions: number;

Transactions since the last checkpoint.

checkpointLogBytes: number;

Encoded operation bytes since the last checkpoint.

Declaration

View full TypeScript declaration
export interface HistoryHead {
revision: number;
checkpoint: string;
tail: readonly string[];
checkpoints: readonly string[];
time: number;
activeMs: number;
automaticAt: number;
checkpointAt: number;
checkpointTransactions: number;
checkpointLogBytes: number;
}

Referenced by

Public exports naming HistoryHead