On this page
Snapshot provider invoked only when a checkpoint is due. Must describe the committed head.
Declaration
export type HistorySnapshotProvider = () =>
Referenced by
Public exports naming HistorySnapshotProvider
interface WorkbookSnapshot {
schemaVersion: 1;
documentId?: string;
version?: number;
workbook: {
activeSheet: SheetId;
namedRanges?: NamedRangeSnapshot[];
xlsxSource?: XlsxSourceSnapshot;
calculation?: CalculationSettings;
dataModel?: DataModel;
queries?: SavedQuery[];
externalLinks?: ExternalLink[];
};
sheets: SheetSnapshot[];
}interface WorkbookSnapshot {
schemaVersion: 1;
documentId?: string;
version?: number;
workbook: {
activeSheet: SheetId;
namedRanges?: NamedRangeSnapshot[];
xlsxSource?: XlsxSourceSnapshot;
calculation?: CalculationSettings;
dataModel?: DataModel;
queries?: SavedQuery[];
externalLinks?: ExternalLink[];
};
sheets: SheetSnapshot[];
}interface WorkbookSnapshot {
schemaVersion: 1;
documentId?: string;
version?: number;
workbook: {
activeSheet: SheetId;
namedRanges?: NamedRangeSnapshot[];
xlsxSource?: XlsxSourceSnapshot;
calculation?: CalculationSettings;
dataModel?: DataModel;
queries?: SavedQuery[];
externalLinks?: ExternalLink[];
};
sheets: SheetSnapshot[];
}Schema-versioned serializable workbook document.API reference