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

index.js « edit « store « feature_flags « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 65ea61c3025a5b5a8006c3d5b45791cb81e39349 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import Vuex from 'vuex';
import userLists from '../gitlab_user_list';
import state from './state';
import * as actions from './actions';
import mutations from './mutations';

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