blob: cb63e5451d8a9bdfd6d07a67dc8ec9fa120eb604 [file] [log] [blame]
import Vue from 'vue';
import Vuex from 'vuex';
import GlobalStore from './modules/GlobalStore';
import AuthenticationStore from './modules/Authentication/AuthenticanStore';
import LocalUserManagementStore from './modules/AccessControl/LocalUserMangementStore';
import OverviewStore from './modules/Overview/OverviewStore';
import FirmwareStore from './modules/Configuration/FirmwareStore';
import PowerConsumptionStore from './modules/Control/PowerConsumptionStore';
import PowerCapStore from './modules/Control/PowerCapStore';
import NetworkSettingStore from './modules/Configuration/NetworkSettingsStore';
import EventLogStore from './modules/Health/EventLogStore';
import WebSocketPlugin from './plugins/WebSocketPlugin';
Vue.use(Vuex);
export default new Vuex.Store({
state: {},
mutations: {},
actions: {},
modules: {
global: GlobalStore,
authentication: AuthenticationStore,
localUsers: LocalUserManagementStore,
overview: OverviewStore,
firmware: FirmwareStore,
powerConsumption: PowerConsumptionStore,
powerCap: PowerCapStore,
networkSettings: NetworkSettingStore,
eventLog: EventLogStore
},
plugins: [WebSocketPlugin]
});