summaryrefslogtreecommitdiff
path: root/app/graphql/types/ci/config/need_type.rb
blob: dd26292324653d15cea828c0576707cc0bd7f690 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

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

        field :name, GraphQL::Types::String, null: true,
                                             description: 'Name of the need.'
      end
    end
  end
end