Derick Montague | fded0d1 | 2019-12-11 06:16:40 -0600 | [diff] [blame^] | 1 | import Vue from 'vue'; |
| 2 | import Vuex from 'vuex'; |
Derick Montague | a2988f4 | 2020-01-17 13:46:30 -0600 | [diff] [blame] | 3 | |
Derick Montague | fded0d1 | 2019-12-11 06:16:40 -0600 | [diff] [blame^] | 4 | import GlobalStore from './modules/GlobalStore'; |
| 5 | import AuthenticationStore from './modules/Authentication/AuthenticanStore'; |
| 6 | import LocalUserManagementStore from './modules/AccessControl/LocalUserMangementStore'; |
Yoshie Muranaka | 35080ac | 2020-01-17 15:38:57 -0600 | [diff] [blame] | 7 | |
Derick Montague | a2988f4 | 2020-01-17 13:46:30 -0600 | [diff] [blame] | 8 | Vue.use(Vuex); |
| 9 | |
| 10 | export default new Vuex.Store({ |
| 11 | state: {}, |
| 12 | mutations: {}, |
| 13 | actions: {}, |
Yoshie Muranaka | 35080ac | 2020-01-17 15:38:57 -0600 | [diff] [blame] | 14 | modules: { |
Yoshie Muranaka | b8b6f79 | 2019-12-03 14:47:32 -0800 | [diff] [blame] | 15 | global: GlobalStore, |
Derick Montague | e080a1a | 2019-12-04 16:30:08 -0600 | [diff] [blame] | 16 | authentication: AuthenticationStore, |
Yoshie Muranaka | 35080ac | 2020-01-17 15:38:57 -0600 | [diff] [blame] | 17 | localUsers: LocalUserManagementStore |
| 18 | } |
Derick Montague | a2988f4 | 2020-01-17 13:46:30 -0600 | [diff] [blame] | 19 | }); |