2019-07-01 04:34:34 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Types
|
|
|
|
module Notes
|
|
|
|
class DiffImagePositionInputType < DiffPositionBaseInputType
|
|
|
|
graphql_name 'DiffImagePositionInput'
|
|
|
|
|
2022-02-22 15:18:06 +00:00
|
|
|
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)
|
2021-07-22 09:08:22 +00:00
|
|
|
argument :x, GraphQL::Types::Int, required: true,
|
2019-07-01 04:34:34 +00:00
|
|
|
description: copy_field_description(Types::Notes::DiffPositionType, :x)
|
2021-07-22 09:08:22 +00:00
|
|
|
argument :y, GraphQL::Types::Int, required: true,
|
2019-07-01 04:34:34 +00:00
|
|
|
description: copy_field_description(Types::Notes::DiffPositionType, :y)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|