blob: 889e52b4ad65f34f69bc82c863bb95c5189549dd [file] [log] [blame]
Derick Montaguefded0d12019-12-11 06:16:40 -06001import Vue from 'vue';
2import Vuex from 'vuex';
Derick Montaguea2988f42020-01-17 13:46:30 -06003
Derick Montaguefded0d12019-12-11 06:16:40 -06004import GlobalStore from './modules/GlobalStore';
5import AuthenticationStore from './modules/Authentication/AuthenticanStore';
6import LocalUserManagementStore from './modules/AccessControl/LocalUserMangementStore';
Yoshie Muranaka35080ac2020-01-17 15:38:57 -06007
Yoshie Muranakadc04feb2019-12-04 08:41:22 -08008import WebSocketPlugin from './plugins/WebSocketPlugin';
9
Derick Montaguea2988f42020-01-17 13:46:30 -060010Vue.use(Vuex);
11
12export default new Vuex.Store({
13 state: {},
14 mutations: {},
15 actions: {},
Yoshie Muranaka35080ac2020-01-17 15:38:57 -060016 modules: {
Yoshie Muranakab8b6f792019-12-03 14:47:32 -080017 global: GlobalStore,
Derick Montaguee080a1a2019-12-04 16:30:08 -060018 authentication: AuthenticationStore,
Yoshie Muranaka35080ac2020-01-17 15:38:57 -060019 localUsers: LocalUserManagementStore
Yoshie Muranakadc04feb2019-12-04 08:41:22 -080020 },
21 plugins: [WebSocketPlugin]
Derick Montaguea2988f42020-01-17 13:46:30 -060022});