gitlab-org--gitlab-foss/app/graphql/types/work_items/widgets/hierarchy_update_input_type.rb

23 lines
724 B
Ruby

# frozen_string_literal: true
module Types
module WorkItems
module Widgets
class HierarchyUpdateInputType < BaseInputObject
graphql_name 'WorkItemWidgetHierarchyUpdateInput'
argument :parent_id, ::Types::GlobalIDType[::WorkItem],
required: false,
loads: ::Types::WorkItemType,
description: 'Global ID of the parent work item. Use `null` to remove the association.'
argument :children_ids, [::Types::GlobalIDType[::WorkItem]],
required: false,
description: 'Global IDs of children work items.',
loads: ::Types::WorkItemType,
as: :children
end
end
end
end