undo-redo-vuex
Version:
A Vuex plugin for module namespaced undo and redo functionality. This plugin takes inspiration from and extends the work of [vuex-undo-redo](https://github.com/anthonygore/vuex-undo-redo).
9 lines (8 loc) • 318 B
text/typescript
export const EMPTY_STATE = "emptyState";
export const RESET_STATE = "resetState";
export const UPDATE_CAN_UNDO_REDO = "updateCanUndoRedo";
export const REDO = "redo";
export const UNDO = "undo";
export const CLEAR = "clear";
export const RESET = "reset";
export const UPDATE_UNDO_REDO_CONFIG = "updateUndoRedoConfig";