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

module Types
  # rubocop: disable Graphql/AuthorizeTypes
  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
  # rubocop: enable Graphql/AuthorizeTypes
end