⚡ Implements a very very basic config store
This commit is contained in:
9
src/utils/StoreMutations.js
Normal file
9
src/utils/StoreMutations.js
Normal file
@@ -0,0 +1,9 @@
|
||||
// A list of mutation names
|
||||
const KEY_NAMES = [
|
||||
'UPDATE_CONFIG',
|
||||
];
|
||||
|
||||
// Convert array of key names into an object, and export
|
||||
const MUTATIONS = {};
|
||||
KEY_NAMES.forEach((key) => { MUTATIONS[key] = key; });
|
||||
export default MUTATIONS;
|
||||
Reference in New Issue
Block a user