blob: 0180213d6f7624ff533ef04ae78893405ea0e6fc [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 Muranaka37393812020-03-24 15:25:24 -07007import SslCertificatesStore from './modules/AccessControl/SslCertificatesStore';
Dixsie Wolmersf65ee342020-01-22 19:47:56 -06008import OverviewStore from './modules/Overview/OverviewStore';
9import FirmwareStore from './modules/Configuration/FirmwareStore';
Yoshie Muranakac05ff642020-02-26 14:23:15 -080010import BootSettingsStore from './modules/Control/BootSettingsStore';
Yoshie Muranakac11d3892020-02-19 08:07:40 -080011import ControlStore from './modules/Control/ControlStore';
Dixsie Wolmers4c69f5b2020-02-26 11:23:52 -060012import PowerControlStore from './modules/Control/PowerControlStore';
Dixsie Wolmersf65ee342020-01-22 19:47:56 -060013import NetworkSettingStore from './modules/Configuration/NetworkSettingsStore';
14import EventLogStore from './modules/Health/EventLogStore';
Yoshie Muranaka30abccb2020-03-11 12:44:24 -070015import SensorsStore from './modules/Health/SensorsStore';
Yoshie Muranaka35080ac2020-01-17 15:38:57 -060016
Yoshie Muranakadc04feb2019-12-04 08:41:22 -080017import WebSocketPlugin from './plugins/WebSocketPlugin';
18
Derick Montaguea2988f42020-01-17 13:46:30 -060019Vue.use(Vuex);
20
21export default new Vuex.Store({
22 state: {},
23 mutations: {},
24 actions: {},
Yoshie Muranaka35080ac2020-01-17 15:38:57 -060025 modules: {
Yoshie Muranakab8b6f792019-12-03 14:47:32 -080026 global: GlobalStore,
Derick Montaguee080a1a2019-12-04 16:30:08 -060027 authentication: AuthenticationStore,
Dixsie Wolmersf65ee342020-01-22 19:47:56 -060028 localUsers: LocalUserManagementStore,
29 overview: OverviewStore,
30 firmware: FirmwareStore,
Yoshie Muranakac05ff642020-02-26 14:23:15 -080031 hostBootSettings: BootSettingsStore,
Yoshie Muranakac11d3892020-02-19 08:07:40 -080032 controls: ControlStore,
Dixsie Wolmers4c69f5b2020-02-26 11:23:52 -060033 powerControl: PowerControlStore,
Dixsie Wolmersf65ee342020-01-22 19:47:56 -060034 networkSettings: NetworkSettingStore,
Yoshie Muranaka30abccb2020-03-11 12:44:24 -070035 eventLog: EventLogStore,
Yoshie Muranaka37393812020-03-24 15:25:24 -070036 sensors: SensorsStore,
37 sslCertificates: SslCertificatesStore
Yoshie Muranakadc04feb2019-12-04 08:41:22 -080038 },
39 plugins: [WebSocketPlugin]
Derick Montaguea2988f42020-01-17 13:46:30 -060040});