@graphty/graphty-element / index / NoteMergeOptions
Interface: NoteMergeOptions ​
Defined in: graphty-element/src/session/notes/types.ts:233
What notes.mergeDocument takes beside the member.
Properties ​
name? ​
readonlyoptionalname?:string
Defined in: graphty-element/src/session/notes/types.ts:240
What to call the source in each note's status and in the history: usually the file name. At most 1,024 characters.
onConflict? ​
readonlyoptionalonConflict?:"replace"|"keep-both"|"keep-mine"
Defined in: graphty-element/src/session/notes/types.ts:238
When a saved note and a held note share an id but disagree. Default "keep-both": the saved note is added under a new id. "replace" overwrites the held note; "keep-mine" keeps it.