Welcome to mirror list, hosted at ThFree Co, Russian Federation.

constants.js « visibility_level « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 65f0eceae55296ab17940ec9bdc9b07b40b1b58b (plain)
1
2
3
4
5
6
7
8
9
10
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,
};