summaryrefslogtreecommitdiff
path: root/app/graphql/types/ci/build_need_type.rb
blob: 3bd81f8fa8f5f1e039ecea41b3f83e0b889ba1fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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 :name, GraphQL::STRING_TYPE, null: true,
            description: 'Name of the job we need to complete.'
    end
  end
end