Skip to content

@graphty/graphty-element / index / NoteStatus

Interface: NoteStatus ​

Defined in: graphty-element/src/session/notes/types.ts:154

What a note's targets and cites point at now, worked out when read.

Properties ​

cites ​

readonly cites: readonly NoteCiteStatus[]

Defined in: graphty-element/src/session/notes/types.ts:158

One per entry of note.cites, in the same order; empty when the note cites nothing.


source? ​

readonly optional source?: object

Defined in: graphty-element/src/session/notes/types.ts:160

Present when the note came from an opened file: which one, and when.

name? ​

readonly optional name?: string

The source's name: the name given to mergeDocument, or the document's.

opened ​

readonly opened: string

When it was opened, as Date.prototype.toISOString() writes it.


targets ​

readonly targets: readonly NoteTargetStatus[]

Defined in: graphty-element/src/session/notes/types.ts:156

One per entry of note.targets, in the same order.