storj/web/satellite/src/store/index.ts

34 lines
936 B
TypeScript
Raw Normal View History

2019-01-24 20:15:10 +00:00
// 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,
2019-04-05 12:24:34 +01:00
apiKeysModule,
2019-05-16 11:43:46 +01:00
usageModule,
bucketUsageModule,
creditUsageModule
}
});
export default store;