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

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

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

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