# frozen_string_literal: true

module Types
  module VulnerabilityDetails
    # rubocop: disable Graphql/AuthorizeTypes
    class TextType < BaseType
      graphql_name 'VulnerabilityDetailText'
      description 'Represents the vulnerability details text field'

      field :value, GraphQL::STRING_TYPE, null: false,
            description: 'Value of the text field.'
    end
  end
end
