# frozen_string_literal: true

module Types
  module VulnerabilityDetails
    # rubocop: disable Graphql/AuthorizeTypes
    class CommitType < BaseType
      graphql_name 'VulnerabilityDetailCommit'
      description 'Represents the vulnerability details commit field'

      field :value, GraphQL::STRING_TYPE, null: false,
            description: 'The commit SHA value.'
    end
  end
end
