Skip to content
Sheetwrite

@sheetwrite/core/history

HistoryArchiveOptionsinterface

Report a problem

On this page

Host-controlled archive configuration. No history is created until explicitly opened.

Members

Properties

documentId: string;

ID of the document whose history the archive keeps.

Where the archive stores its records, such as IndexedDB storage from @sheetwrite/core/browser-history.

limits?: Partial<HistoryLimits>;

optional

Overrides for DEFAULT_HISTORY_LIMITS. Each must be a positive safe integer, and maxTransactionBytes cannot go above its default.

Declaration

View full TypeScript declaration
export interface HistoryArchiveOptions {
documentId: string;
limits?: Partial<HistoryLimits>;
}

Referenced by

Public exports naming HistoryArchiveOptions