Implements a very very basic config store

This commit is contained in:
Alicia Sykes
2021-10-09 18:31:10 +01:00
parent c2e70dc07e
commit 8a8166bb47
3 changed files with 60 additions and 10 deletions

View 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;