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

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

11 lines
342 B
JavaScript
Raw Normal View History

2022-08-27 11:52:29 +05:30
export const VISIBILITY_LEVEL_PRIVATE = 'private';
export const VISIBILITY_LEVEL_INTERNAL = 'internal';
export const VISIBILITY_LEVEL_PUBLIC = 'public';
// Matches `lib/gitlab/visibility_level.rb`
export const VISIBILITY_LEVELS_ENUM = {
[VISIBILITY_LEVEL_PRIVATE]: 0,
[VISIBILITY_LEVEL_INTERNAL]: 10,
[VISIBILITY_LEVEL_PUBLIC]: 20,
};