debian-mirror-gitlab/app/graphql/types/diff_paths_input_type.rb

11 lines
360 B
Ruby
Raw Normal View History

2019-09-30 21:07:59 +05:30
# frozen_string_literal: true
module Types
class DiffPathsInputType < BaseInputObject
argument :old_path, GraphQL::STRING_TYPE, required: false,
2021-03-11 19:13:27 +05:30
description: 'The path of the file on the start sha.'
2019-09-30 21:07:59 +05:30
argument :new_path, GraphQL::STRING_TYPE, required: false,
2021-03-11 19:13:27 +05:30
description: 'The path of the file on the head sha.'
2019-09-30 21:07:59 +05:30
end
end