2021-04-21 09:09:15 +00:00
|
|
|
/**
|
|
|
|
* While we are in the process implementing group level features at the project level
|
|
|
|
* we will use a simplified vuex store for the project level, eventually this can be
|
|
|
|
* replaced with the store at ee/app/assets/javascripts/analytics/cycle_analytics/store/index.js
|
|
|
|
* once we have enough of the same features implemented across the project and group level
|
|
|
|
*/
|
|
|
|
|
|
|
|
import Vue from 'vue';
|
|
|
|
import Vuex from 'vuex';
|
2021-07-05 21:07:32 +00:00
|
|
|
import filters from '~/vue_shared/components/filtered_search_bar/store/modules/filters';
|
2021-04-21 09:09:15 +00:00
|
|
|
import * as actions from './actions';
|
2021-06-02 09:09:46 +00:00
|
|
|
import * as getters from './getters';
|
2021-04-21 09:09:15 +00:00
|
|
|
import mutations from './mutations';
|
|
|
|
import state from './state';
|
|
|
|
|
|
|
|
Vue.use(Vuex);
|
|
|
|
|
|
|
|
export default () =>
|
|
|
|
new Vuex.Store({
|
|
|
|
actions,
|
2021-06-02 09:09:46 +00:00
|
|
|
getters,
|
2021-04-21 09:09:15 +00:00
|
|
|
mutations,
|
|
|
|
state,
|
2021-07-05 21:07:32 +00:00
|
|
|
modules: { filters },
|
2021-04-21 09:09:15 +00:00
|
|
|
});
|