@graphty/graphty-element / index / AutosaveRestored
Interface: AutosaveRestored ​
Defined in: graphty-element/src/autosave/types.ts:226
What an automatic restore brought back.
Properties ​
copiedFrom ​
readonlycopiedFrom:string|null
Defined in: graphty-element/src/autosave/types.ts:242
The entry this one was copied from, when another tab was writing this tab's own entry.
entry ​
readonlyentry:AutosaveEntry
Defined in: graphty-element/src/autosave/types.ts:228
The entry restored (a copy, when copiedFrom is set).
navigationType ​
readonlynavigationType:string|null
Defined in: graphty-element/src/autosave/types.ts:238
The navigation's type ("reload", "navigate", "back_forward"), or null where unknown.
others ​
readonlyothers:number
Defined in: graphty-element/src/autosave/types.ts:240
Other entries of this key holding unsaved work that no tab is writing.
pageOverrides ​
readonlypageOverrides: readonlystring[]
Defined in: graphty-element/src/autosave/types.ts:244
The page settings that changed since the entry was written, and so were applied over it.
report ​
readonlyreport:ProjectOpenReport
Defined in: graphty-element/src/autosave/types.ts:234
The project-open report of the restore: runs that were computing come back as W_RUN_PENDING.
revision ​
readonlyrevision:number
Defined in: graphty-element/src/autosave/types.ts:232
The number of committed changes it contains.
savedAt ​
readonlysavedAt:string
Defined in: graphty-element/src/autosave/types.ts:230
When the work was last written (ISO 8601 UTC).
wasDiscarded ​
readonlywasDiscarded:boolean|null
Defined in: graphty-element/src/autosave/types.ts:236
document.wasDiscarded, or null where the browser does not say.