gitlab-org--gitlab-foss/app/graphql/types/dependency_proxy/manifest_type_enum.rb

12 lines
338 B
Ruby

# frozen_string_literal: true
module Types
class DependencyProxy::ManifestTypeEnum < BaseEnum
graphql_name 'DependencyProxyManifestStatus'
::DependencyProxy::Manifest.statuses.keys.each do |status|
value status.upcase, description: "Dependency proxy manifest has a status of #{status}.", value: status
end
end
end