2023-01-13 00:05:48 +05:30
|
|
|
import { s__ } from '~/locale';
|
|
|
|
|
|
|
|
export const BRANCH_FILTER_ALL_BRANCHES = 'all_branches';
|
|
|
|
export const BRANCH_FILTER_WILDCARD = 'wildcard';
|
|
|
|
export const BRANCH_FILTER_REGEX = 'regex';
|
|
|
|
|
|
|
|
export const WILDCARD_CODE_STABLE = '*-stable';
|
|
|
|
export const WILDCARD_CODE_PRODUCTION = 'production/*';
|
|
|
|
|
2023-03-04 22:38:38 +05:30
|
|
|
export const REGEX_CODE = '^(feature|hotfix)/';
|
2023-01-13 00:05:48 +05:30
|
|
|
|
|
|
|
export const descriptionText = {
|
|
|
|
[BRANCH_FILTER_WILDCARD]: s__(
|
|
|
|
'Webhooks|Wildcards such as %{WILDCARD_CODE_STABLE} or %{WILDCARD_CODE_PRODUCTION} are supported.',
|
|
|
|
),
|
2023-03-04 22:38:38 +05:30
|
|
|
[BRANCH_FILTER_REGEX]: s__('Webhooks|Regular expressions such as %{REGEX_CODE} are supported.'),
|
2023-01-13 00:05:48 +05:30
|
|
|
};
|
|
|
|
|
|
|
|
export const MASK_ITEM_VALUE_HIDDEN = '************';
|