debian-mirror-gitlab/app/assets/javascripts/pipeline_new/constants.js

12 lines
458 B
JavaScript
Raw Normal View History

2021-09-30 23:02:18 +05:30
import { DEFAULT_DEBOUNCE_AND_THROTTLE_MS } from '~/lib/utils/constants';
2020-10-24 23:57:45 +05:30
export const VARIABLE_TYPE = 'env_var';
export const FILE_TYPE = 'file';
2021-09-30 23:02:18 +05:30
export const DEBOUNCE_REFS_SEARCH_MS = DEFAULT_DEBOUNCE_AND_THROTTLE_MS;
2021-02-22 17:27:13 +05:30
export const CONFIG_VARIABLES_TIMEOUT = 5000;
export const BRANCH_REF_TYPE = 'branch';
export const TAG_REF_TYPE = 'tag';
2021-06-08 01:23:25 +05:30
export const CC_VALIDATION_REQUIRED_ERROR =
'Credit card required to be on file in order to create a pipeline';