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

constants.js « reports « ci « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3968f8db7521fc5e7f44536642a904073a994fe4 (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
export const LOADING = 'LOADING';
export const ERROR = 'ERROR';
export const SUCCESS = 'SUCCESS';

export const STATUS_FAILED = 'failed';
export const STATUS_SUCCESS = 'success';
export const STATUS_NEUTRAL = 'neutral';
export const STATUS_NOT_FOUND = 'not_found';

export const status = {
  LOADING,
  ERROR,
  SUCCESS,
};

/**
 * Slot names for the ReportSection component, corresponding to the success,
 * loading and error statuses.
 */
export const SLOT_SUCCESS = 'success';
export const SLOT_LOADING = 'loading';
export const SLOT_ERROR = 'error';

export const CODE_QUALITY_SCALE_KEY = 'codeQuality';
export const SAST_SCALE_KEY = 'sast';