summaryrefslogtreecommitdiff
path: root/app/graphql/types/diff_paths_input_type.rb
blob: cdcff1a7e3431b08777a118a23f2c74b6f3b0609 (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

module Types
  class DiffPathsInputType < BaseInputObject
    argument :old_path, GraphQL::Types::String, required: false,
              description: 'Path of the file on the start SHA.'
    argument :new_path, GraphQL::Types::String, required: false,
              description: 'Path of the file on the HEAD SHA.'
  end
end