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

index.js « store « security_reports « vue_shared « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 164faa867445abe993599df1ec30bc4c802ff132 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import Vuex from 'vuex';
import { MODULE_SAST, MODULE_SECRET_DETECTION } from './constants';
import * as getters from './getters';
import sast from './modules/sast';
import secretDetection from './modules/secret_detection';
import state from './state';

export default () =>
  new Vuex.Store({
    modules: {
      [MODULE_SAST]: sast,
      [MODULE_SECRET_DETECTION]: secretDetection,
    },
    getters,
    state,
  });