2018-11-27 10:51:33 +00:00
|
|
|
// Copyright (C) 2018 Storj Labs, Inc.
|
|
|
|
// See LICENSE for copying information.
|
|
|
|
|
2018-11-05 15:26:18 +00:00
|
|
|
import Vue from 'vue';
|
|
|
|
import Vuex from 'vuex';
|
|
|
|
|
2018-12-12 16:19:20 +00:00
|
|
|
|
|
|
|
import { usersModule } from '@/store/modules/users';
|
|
|
|
import { projectsModule } from '@/store/modules/projects';
|
|
|
|
import { projectMembersModule } from '@/store/modules/projectMembers';
|
2018-12-12 13:44:01 +00:00
|
|
|
import { notificationsModule } from '@/store/modules/notifications';
|
2018-11-26 15:57:11 +00:00
|
|
|
|
2018-11-05 15:26:18 +00:00
|
|
|
Vue.use(Vuex);
|
|
|
|
|
2018-11-27 13:14:10 +00:00
|
|
|
// Satellite store (vuex)
|
2018-11-05 15:26:18 +00:00
|
|
|
const store = new Vuex.Store({
|
|
|
|
modules: {
|
2018-12-12 16:19:20 +00:00
|
|
|
usersModule,
|
2018-12-12 13:44:01 +00:00
|
|
|
projectsModule,
|
2018-12-12 16:19:20 +00:00
|
|
|
projectMembersModule,
|
2018-12-18 14:43:23 +00:00
|
|
|
notificationsModule,
|
2018-12-12 16:19:20 +00:00
|
|
|
}
|
2018-11-05 15:26:18 +00:00
|
|
|
});
|
2018-12-12 16:19:20 +00:00
|
|
|
|
2018-11-05 15:26:18 +00:00
|
|
|
export default store;
|