Skip to content
Sheetwrite

@sheetwrite/core/history

HistoryAddonOptionsinterface

Report a problem

On this page

Host identity and persistence of one grid's version history panel.

Members

Properties

authorId: string;

Authenticated person saving named versions.

Methods

sync?: (grid: Grid) => SyncCoordinator;

optional

The grid's coordinator, resolved when a command runs. Omit for a local archive.

authorName?: (authorId: string) => string;

optional

Display name for an authenticated author ID; the ID is shown when omitted.

Declaration

View full TypeScript declaration
export interface HistoryAddonOptions {
authorId: string;
sync?: (grid: Grid) => SyncCoordinator;
authorName?: (authorId: string) => string;
}

Referenced by

Public exports naming HistoryAddonOptions