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

module Types
  class DiffPathsInputType < BaseInputObject
    argument :old_path, GraphQL::STRING_TYPE, required: false,
              description: 'The path of the file on the start sha.'
    argument :new_path, GraphQL::STRING_TYPE, required: false,
              description: 'The path of the file on the head sha.'
  end
end