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

package_type.rb « packages « types « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f6586670c7214884e0384a89b5c460a1f4a883fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# frozen_string_literal: true

module Types
  module Packages
    class PackageType < Types::Packages::PackageBaseType
      graphql_name 'Package'
      description 'Represents a package with pipelines in the Package Registry'

      authorize :read_package

      field :pipelines,
            resolver: Resolvers::PackagePipelinesResolver,
            description: <<-DESC
              Pipelines that built the package. Max page size #{Resolvers::PackagePipelinesResolver::MAX_PAGE_SIZE}.
            DESC
    end
  end
end