debian-mirror-gitlab/app/assets/javascripts/protected_branches/constants.js
2023-06-20 00:43:36 +05:30

17 lines
412 B
JavaScript

export const ACCESS_LEVELS = {
MERGE: 'merge_access_levels',
PUSH: 'push_access_levels',
};
export const LEVEL_TYPES = {
ROLE: 'role',
USER: 'user',
GROUP: 'group',
DEPLOY_KEY: 'deploy_key',
};
export const BRANCH_RULES_ANCHOR = '#branch-rules';
export const IS_PROTECTED_BRANCH_CREATED = 'is_protected_branch_created';
export const PROTECTED_BRANCHES_ANCHOR = '#js-protected-branches-settings';