Skip to main content

CommitKind Enum

The type of a commit. This is used to describe the context in which the commit was created.

Signature​

export declare enum CommitKind

Flags​

FlagDescription
DefaultA commit corresponding to a change that is not the result of an undo/redo from this client.
RedoA commit that is the result of a redo from this client.
UndoA commit that is the result of an undo from this client.

Default​

A commit corresponding to a change that is not the result of an undo/redo from this client.

Signature​

Default = 0

Redo​

A commit that is the result of a redo from this client.

Signature​

Redo = 2

Undo​

A commit that is the result of an undo from this client.

Signature​

Undo = 1