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

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

module Types
  module Ci
    # rubocop: disable Graphql/AuthorizeTypes
    module Config
      class GroupType < BaseObject
        graphql_name 'CiConfigGroup'

        field :name, GraphQL::Types::String, null: true,
              description: 'Name of the job group.'
        field :jobs, Types::Ci::Config::JobType.connection_type, null: true,
              description: 'Jobs in group.'
        field :size, GraphQL::Types::Int, null: true,
              description: 'Size of the job group.'
      end
    end
  end
end