diff options
Diffstat (limited to 'app/graphql/types/work_items/widgets/hierarchy_create_input_type.rb')
-rw-r--r-- | app/graphql/types/work_items/widgets/hierarchy_create_input_type.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app/graphql/types/work_items/widgets/hierarchy_create_input_type.rb b/app/graphql/types/work_items/widgets/hierarchy_create_input_type.rb new file mode 100644 index 00000000000..cee6d69cd0c --- /dev/null +++ b/app/graphql/types/work_items/widgets/hierarchy_create_input_type.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module Types + module WorkItems + module Widgets + class HierarchyCreateInputType < BaseInputObject + graphql_name 'WorkItemWidgetHierarchyCreateInput' + + argument :parent_id, ::Types::GlobalIDType[::WorkItem], + required: false, + loads: ::Types::WorkItemType, + description: 'Global ID of the parent work item.' + end + end + end +end |