CommitKind
Packages > @fluidframework/tree > CommitKind
The type of a commit. This is used to describe the context in which the commit was created.
Signature
export declare enum CommitKind
Flags
Flag | Description |
---|---|
Default | A commit corresponding to a change that is not the result of an undo/redo. |
Redo | A commit that is the result of a redo. |
Undo | A commit that is the result of an undo. |
Default
A commit corresponding to a change that is not the result of an undo/redo.
Signature
Default = 0
Redo
A commit that is the result of a redo.
Signature
Redo = 2
Undo
A commit that is the result of an undo.
Signature
Undo = 1