@graphty/graphty-element / index / AutosaveAvailable
Interface: AutosaveAvailable ​
Defined in: graphty-element/src/autosave/types.ts:248
An entry that was not restored automatically, and why.
Properties ​
entry ​
readonlyentry:AutosaveEntry
Defined in: graphty-element/src/autosave/types.ts:250
The entry.
problem ​
readonlyproblem:CodedFact<string> |null
Defined in: graphty-element/src/autosave/types.ts:259
Why the restore failed, for "restore-failed"; otherwise null.
reason ​
readonlyreason:"page-data-changed"|"held-by-other-tab"|"restore-failed"|"manual"
Defined in: graphty-element/src/autosave/types.ts:257
"page-data-changed": the page loaded different data, which replaced the restored work. "held-by-other-tab": another tab is writing it. "restore-failed": it could not be read, was written by newer code, or its restore did not finish twice (problem says which). "manual": automatic restore is off.