Module: Enums::InternalId

Defined in:
app/models/concerns/enums/internal_id.rb

Class Method Summary collapse

Class Method Details

.usage_resourcesObject


5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'app/models/concerns/enums/internal_id.rb', line 5

def self.usage_resources
  # when adding new resource, make sure it doesn't conflict with EE usage_resources
  {
    issues: 0,
    merge_requests: 1,
    deployments: 2,
    milestones: 3,
    epics: 4,
    ci_pipelines: 5,
    operations_feature_flags: 6,
    operations_user_lists: 7,
    alert_management_alerts: 8,
    sprints: 9 # iterations
  }
end