Skip to content
Sheetwrite

@sheetwrite/core/history

HistoryListRequestinterface

Report a problem

On this page

Bounded metadata-only page. Cursors are scoped to a manifest generation.

Members

Properties

kind?: "versions" | HistoryStoredRecord["kind"];

optional

List version markers (the default), or records of one kind.

fromRevision?: number;

optional

Lowest revision to include.

toRevision?: number;

optional

Highest revision to include.

maxEntries: number;

Entries the page may hold, from 1 to limits.maxPageEntries.

maxBytes: number;

Largest size of the page as JSON, in bytes, from 1 to limits.maxPageBytes.

cursor?: string;

optional

Where to continue, from the previous page's cursor.

documentId: string;

ID of the document whose history the call is about.

limits: Readonly<HistoryLimits>;

The archive's limits; the adapter must refuse work that goes over them.

signal?: AbortSignal;

optional

Aborts when the archive stops waiting for the call.

Declaration

View full TypeScript declaration
export interface HistoryListRequest {
kind?: "versions" | HistoryStoredRecord["kind"];
fromRevision?: number;
toRevision?: number;
maxEntries: number;
maxBytes: number;
cursor?: string;
documentId: string;
limits: Readonly<HistoryLimits>;
signal?: AbortSignal;
}

Referenced by

Public exports naming HistoryListRequest