Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index.js « store « cycle_analytics « analytics « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 76e3e835016b69e575cc2316689de817a132e0a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/**
 * 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';
import filters from '~/vue_shared/components/filtered_search_bar/store/modules/filters';
import * as actions from './actions';
import * as getters from './getters';
import mutations from './mutations';
import state from './state';

Vue.use(Vuex);

export default () =>
  new Vuex.Store({
    actions,
    getters,
    mutations,
    state,
    modules: { filters },
  });