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

user_bot_type_enums.rb « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9cfa73b15b2f40aff61e0f1c0e51cc4ca7485c22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

module UserBotTypeEnums
  def self.bots
    # When adding a new key, please ensure you are not conflicting
    # with EE-only keys in app/models/user_type_enums.rb
    # or app/models/user_bot_type_enums.rb
    {
      alert_bot: 2
    }
  end
end

UserBotTypeEnums.prepend_if_ee('EE::UserBotTypeEnums')