Skip to content
Sheetwrite

@sheetwrite/core/history

HistoryManifestinterface

Report a problem

On this page

Archive state, read without fetching any payload.

Members

Properties

generation: number;

Increases on each publication or prune; writers compare it to detect a concurrent writer.

head?: HistoryHead;

optional

The recorder's position; absent before the first commit is archived.

encodedBytes: number;

Bytes the document's history takes in storage.

namedVersionCount: number;

Named versions. Retention removes one only when HistoryPruneRequest.deleteVersionId names it.

recordCount: number;

Stored records. A record that several versions share counts once.

versionCount: number;

Number of versions, named and automatic.

Declaration

View full TypeScript declaration
export interface HistoryManifest {
generation: number;
head?: HistoryHead;
encodedBytes: number;
namedVersionCount: number;
recordCount: number;
versionCount: number;
}

Referenced by

Public exports naming HistoryManifest