// Copyright (C) 2019 Storj Labs, Inc. // See LICENSE for copying information. import Vue from 'vue'; import Vuex from 'vuex'; import { usersModule } from '@/store/modules/users'; import { projectsModule } from '@/store/modules/projects'; import { projectMembersModule } from '@/store/modules/projectMembers'; import { notificationsModule } from '@/store/modules/notifications'; import { appStateModule } from '@/store/modules/appState'; import { apiKeysModule } from '@/store/modules/apiKeys'; import { bucketUsageModule, usageModule, creditUsageModule } from '@/store/modules/usage'; Vue.use(Vuex); // Satellite store (vuex) const store = new Vuex.Store({ modules: { usersModule, projectsModule, projectMembersModule, notificationsModule, appStateModule, apiKeysModule, usageModule, bucketUsageModule, creditUsageModule } }); export default store;