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

diff_image_position_input_type.rb « notes « types « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8c82f4fec2e692f7173833f44977ecba2b04441b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# frozen_string_literal: true

module Types
  module Notes
    class DiffImagePositionInputType < DiffPositionBaseInputType
      graphql_name 'DiffImagePositionInput'

      argument :height,
               GraphQL::Types::Int,
               required: true,
               description: copy_field_description(Types::Notes::DiffPositionType, :height)
      argument :width,
               GraphQL::Types::Int,
               required: true,
               description: copy_field_description(Types::Notes::DiffPositionType, :width)
      argument :x,
               GraphQL::Types::Int,
               required: true,
               description: copy_field_description(Types::Notes::DiffPositionType, :x)
      argument :y,
               GraphQL::Types::Int,
               required: true,
               description: copy_field_description(Types::Notes::DiffPositionType, :y)
    end
  end
end