diff options
Diffstat (limited to 'app/graphql/types/work_items/widgets/weight_input_type.rb')
-rw-r--r-- | app/graphql/types/work_items/widgets/weight_input_type.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app/graphql/types/work_items/widgets/weight_input_type.rb b/app/graphql/types/work_items/widgets/weight_input_type.rb new file mode 100644 index 00000000000..a01c63222a5 --- /dev/null +++ b/app/graphql/types/work_items/widgets/weight_input_type.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +module Types + module WorkItems + module Widgets + class WeightInputType < BaseInputObject + graphql_name 'WorkItemWidgetWeightInput' + + argument :weight, GraphQL::Types::Int, + required: true, + description: 'Weight of the work item.' + end + end + end +end |