@graphty/graphty-element / commands / CommandMeta
Type Alias: CommandMeta ​
CommandMeta = {
undo:"undoable"; } | {reason:string;undo:"exempt"; }
Defined in: graphty-element/commands.ts:25
How one op behaves under undo: a step in the history, or exempt from it and why.
Union Members ​
Type Literal ​
{ undo: "undoable"; }
Type Literal ​
{ reason: string; undo: "exempt"; }
reason ​
readonlyreason:string
Why it changes nothing a project file saves.
undo ​
readonlyundo:"exempt"