Immutable, content-addressed history payload and the records it refers to.
Members
Properties
schemaVersion: 1;Format version of the record; always 1 today.
id: string;SHA-256 over the header and compressed bytes, as 64 lowercase hex digits.
kind: "cells" | "metadata" | "sheet" | "checkpoint" | "segment" | "transaction";What the payload holds, such as a checkpoint snapshot or one transaction.
encoding: "deflate-json-v1" | "deflate-bytes-v1";How bytes decode: deflated JSON or deflated raw bytes.
decodedBytes: number;Exact size after inflate.
bytes: Uint8Array;Deflate-compressed payload.
references: readonly string[];Records this record needs; they stay while this record exists.
Declaration
View full TypeScript declaration
export interface HistoryStoredRecord { schemaVersion: 1; id: string; kind: "cells" | "metadata" | "sheet" | "checkpoint" | "segment" | "transaction"; encoding: "deflate-json-v1" | "deflate-bytes-v1"; decodedBytes: number; bytes: Uint8Array; references: readonly string[];}Referenced by
Public exports naming HistoryStoredRecord
AtomicHistoryStorage@sheetwrite/coreHistoryListRequest@sheetwrite/coreHistoryPublishRequest@sheetwrite/coreHistoryRecordMetadata@sheetwrite/coreHistoryStorageAdapter@sheetwrite/coreHistoryStorageTransaction@sheetwrite/core