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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
550 B
JavaScript
Raw Normal View History

2022-04-04 11:22:00 +05:30
import { __ } from '~/locale';
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
2022-04-04 11:22:00 +05:30
// must match pipeline/chain/validate/after_config.rb
export const CC_VALIDATION_REQUIRED_ERROR = __(
'Credit card required to be on file in order to create a pipeline',
);