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

package_type_enum.rb « types « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bc03b8f5f8b04412cb2e5a75e76de58d39c1e548 (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

module Types
  class PackageTypeEnum < BaseEnum
    ::Packages::Package.package_types.keys.each do |package_type|
      value package_type.to_s.upcase, "Packages from the #{package_type} package manager", value: package_type.to_s
    end
  end
end