export enum HistoryEvent { /** * 当命令被撤销时 * * When the command is undone */ UNDO = 'undo', /** * 当命令被重做时 * * When the command is redone */ REDO = 'redo', /** * 当命令被取消时 * * When the command is canceled */ CANCEL = 'cancel', /** * 当命令被添加到队列时 * * When the command is added */ ADD = 'add', /** * 当历史队列被清空时 * * When the command queue is cleared */ CLEAR = 'clear', /** * 当历史队列发生变化时 * * When the command queue changes */ CHANGE = 'change', }