@graphty/graphty-element / index / NoteInput
Interface: NoteInput ​
Defined in: graphty-element/src/session/notes/types.ts:102
What notes.add takes. id, time, author and edited are graphty-element's to stamp. A new note is never done; mark it with update.
Properties ​
cites? ​
readonlyoptionalcites?: readonlyobject[]
Defined in: graphty-element/src/session/notes/types.ts:108
Results the claim rests on. Each cite is pinned to the result's current finished run.
extensions? ​
readonlyoptionalextensions?:Readonly<Record<string,unknown>>
Defined in: graphty-element/src/session/notes/types.ts:115
Plain JSON under reverse-domain keys, at most 32 levels deep and 64 KB saved.
mediaType? ​
readonlyoptionalmediaType?:string
Defined in: graphty-element/src/session/notes/types.ts:113
type/subtype, optionally with parameters in visible ASCII; at most 255 characters.
targets ​
readonlytargets: readonlyNoteTargetInput[]
Defined in: graphty-element/src/session/notes/types.ts:106
What the note is about: one to 64.
text ​
readonlytext:string
Defined in: graphty-element/src/session/notes/types.ts:104
Plain text, stored exactly as given; not blank, at most 65,536 characters.