summaryrefslogtreecommitdiff
path: root/app/graphql/types/ci/config/need_type.rb
blob: a442450b9ae892c9f8db1ca159a2aaec4dbea5e3 (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::STRING_TYPE, null: true,
              description: 'Name of the need'
      end
    end
  end
end