debian-mirror-gitlab/app/graphql/types/ci/build_need_type.rb
2021-10-27 15:23:28 +05:30

16 lines
468 B
Ruby

# 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 job we need to complete.'
field :name, GraphQL::Types::String, null: true,
description: 'Name of the job we need to complete.'
end
end
end