2019-01-24 20:15:10 +00:00
|
|
|
// Copyright (C) 2019 Storj Labs, Inc.
|
2018-11-27 10:51:33 +00:00
|
|
|
// 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-12-26 15:05:33 +00:00
|
|
|
import { appStateModule } from '@/store/modules/appState';
|
2019-02-01 16:19:30 +00:00
|
|
|
import { apiKeysModule } from '@/store/modules/apiKeys';
|
2019-05-16 11:43:46 +01:00
|
|
|
import { bucketUsageModule, usageModule } from '@/store/modules/usage';
|
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({
|
2019-02-20 13:33:56 +00:00
|
|
|
modules: {
|
|
|
|
usersModule,
|
|
|
|
projectsModule,
|
|
|
|
projectMembersModule,
|
|
|
|
notificationsModule,
|
|
|
|
appStateModule,
|
2019-04-05 12:24:34 +01:00
|
|
|
apiKeysModule,
|
2019-05-16 11:43:46 +01:00
|
|
|
usageModule,
|
|
|
|
bucketUsageModule
|
2019-02-20 13:33:56 +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;
|