2020-05-04 17:33:50 +02:00
|
|
|
'use strict';
|
2022-04-21 14:39:24 +02:00
|
|
|
import { createStore } from 'vuex/dist/vuex.esm-bundler';
|
2020-05-04 17:33:50 +02:00
|
|
|
|
|
|
|
import application from './modules/application.store';
|
2020-05-29 18:19:35 +02:00
|
|
|
import settings from './modules/settings.store';
|
2021-09-15 15:31:57 +02:00
|
|
|
import history from './modules/history.store';
|
2021-04-03 12:17:40 +02:00
|
|
|
import scratchpad from './modules/scratchpad.store';
|
2020-05-08 18:02:18 +02:00
|
|
|
import connections from './modules/connections.store';
|
2020-05-17 19:34:56 +02:00
|
|
|
import workspaces from './modules/workspaces.store';
|
2020-05-15 17:52:59 +02:00
|
|
|
import notifications from './modules/notifications.store';
|
2020-05-04 17:33:50 +02:00
|
|
|
|
2020-06-19 18:03:52 +02:00
|
|
|
import ipcUpdates from './plugins/ipcUpdates';
|
2021-09-15 15:31:57 +02:00
|
|
|
import ipcExceptions from './plugins/ipcExceptions';
|
2021-10-24 13:02:37 +02:00
|
|
|
import ipcShortcuts from './plugins/ipcShortcuts';
|
2020-06-19 18:03:52 +02:00
|
|
|
|
2022-04-21 14:39:24 +02:00
|
|
|
// Vue.use(Vuex);
|
2020-05-04 17:33:50 +02:00
|
|
|
|
2022-04-21 14:39:24 +02:00
|
|
|
export const store = createStore({
|
2020-05-04 17:33:50 +02:00
|
|
|
strict: true,
|
|
|
|
modules: {
|
2020-05-08 18:02:18 +02:00
|
|
|
application,
|
2020-05-29 18:19:35 +02:00
|
|
|
settings,
|
2021-09-15 15:31:57 +02:00
|
|
|
history,
|
2021-04-03 12:17:40 +02:00
|
|
|
scratchpad,
|
2020-05-15 17:52:59 +02:00
|
|
|
connections,
|
2020-05-17 19:34:56 +02:00
|
|
|
workspaces,
|
2020-05-15 17:52:59 +02:00
|
|
|
notifications
|
2020-05-12 18:27:31 +02:00
|
|
|
},
|
2020-06-19 18:03:52 +02:00
|
|
|
plugins: [
|
2021-09-15 15:31:57 +02:00
|
|
|
ipcUpdates,
|
2021-10-24 13:02:37 +02:00
|
|
|
ipcExceptions,
|
|
|
|
ipcShortcuts
|
2020-06-19 18:03:52 +02:00
|
|
|
]
|
2020-05-04 17:33:50 +02:00
|
|
|
});
|