Skip to content

@graphty/graphty-element / index / AutosaveEntry

Interface: AutosaveEntry ​

Defined in: graphty-element/src/autosave/types.ts:200

One autosaved entry, as a list describes it without reading its parts.

Properties ​

createdAt ​

readonly createdAt: string

Defined in: graphty-element/src/autosave/types.ts:208

When the entry was started (ISO 8601 UTC).


dirty ​

readonly dirty: boolean

Defined in: graphty-element/src/autosave/types.ts:218

Whether it holds work that was never saved to a file.


edges ​

readonly edges: number

Defined in: graphty-element/src/autosave/types.ts:216

Its edge count.


ended? ​

readonly optional ended?: "replaced"

Defined in: graphty-element/src/autosave/types.ts:222

"replaced" once its tab moved on to another project; such an entry is never restored automatically.


id ​

readonly id: string

Defined in: graphty-element/src/autosave/types.ts:202

The entry's id.


key ​

readonly key: string

Defined in: graphty-element/src/autosave/types.ts:204

The autosave key it belongs to.


live ​

readonly live: boolean

Defined in: graphty-element/src/autosave/types.ts:220

Whether a live tab or element is writing it now.


name ​

readonly name: string

Defined in: graphty-element/src/autosave/types.ts:206

The project's name when it was written; empty when it had none.


nodes ​

readonly nodes: number

Defined in: graphty-element/src/autosave/types.ts:214

Its node count.


revision ​

readonly revision: number

Defined in: graphty-element/src/autosave/types.ts:212

The number of committed changes it contains.


savedAt ​

readonly savedAt: string

Defined in: graphty-element/src/autosave/types.ts:210

When it was last written (ISO 8601 UTC).