@graphty/graphty-element / index / NotePatch
Interface: NotePatch ​
Defined in: graphty-element/src/session/notes/types.ts:119
A field left out is unchanged. null clears an optional field; cites: [] clears the cites.
Properties ​
cites? ​
readonlyoptionalcites?: readonlyobject[]
Defined in: graphty-element/src/session/notes/types.ts:125
The new cites; [] clears them. A cite left unchanged keeps its run.
done? ​
readonlyoptionaldone?:boolean
Defined in: graphty-element/src/session/notes/types.ts:134
True marks the note done, stamping the time; a note already done keeps its time. False clears it.
extensions? ​
readonlyoptionalextensions?:Readonly<Record<string,unknown>> |null
Defined in: graphty-element/src/session/notes/types.ts:132
The new extensions, replacing the old ones; null clears them.
mediaType? ​
readonlyoptionalmediaType?:string|null
Defined in: graphty-element/src/session/notes/types.ts:130
The new media type; null clears it.
targets? ​
readonlyoptionaltargets?: readonlyNoteTargetInput[]
Defined in: graphty-element/src/session/notes/types.ts:123
The new targets, replacing the old ones.
text? ​
readonlyoptionaltext?:string
Defined in: graphty-element/src/session/notes/types.ts:121
The new text.