summaryrefslogtreecommitdiff
path: root/app/graphql/types/ci/config/need_type.rb
blob: 6e9aea8eb643df22f5e6317d5a6c197c7bb8c945 (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