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

build_need_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: b71d10c4c06cccccf5a2bd9014a33428e8b5213a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

module Types
  module Ci
    # rubocop: disable Graphql/AuthorizeTypes
    # This type is only accessible from CiJob
    class BuildNeedType < BaseObject
      graphql_name 'CiBuildNeed'

      field :id, GraphQL::Types::ID, null: false,
            description: 'ID of the BuildNeed.'
      field :name, GraphQL::Types::String, null: true,
            description: 'Name of the job we need to complete.'
    end
  end
end