Welcome to mirror list, hosted at ThFree Co, Russian Federation.

diff_paths_input_type.rb « types « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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