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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/graphql/mutations/design_management/move.rb')
-rw-r--r--app/graphql/mutations/design_management/move.rb19
1 files changed, 11 insertions, 8 deletions
diff --git a/app/graphql/mutations/design_management/move.rb b/app/graphql/mutations/design_management/move.rb
index b19d9b4ce61..cf7b7a7b99b 100644
--- a/app/graphql/mutations/design_management/move.rb
+++ b/app/graphql/mutations/design_management/move.rb
@@ -7,18 +7,21 @@ module Mutations
DesignID = ::Types::GlobalIDType[::DesignManagement::Design]
- argument :id, DesignID, required: true, as: :current_design,
- description: "ID of the design to move."
+ argument :id, DesignID,
+ required: true, as: :current_design,
+ description: "ID of the design to move."
- argument :previous, DesignID, required: false, as: :previous_design,
- description: "ID of the immediately preceding design."
+ argument :previous, DesignID,
+ required: false, as: :previous_design,
+ description: "ID of the immediately preceding design."
- argument :next, DesignID, required: false, as: :next_design,
- description: "ID of the immediately following design."
+ argument :next, DesignID,
+ required: false, as: :next_design,
+ description: "ID of the immediately following design."
field :design_collection, Types::DesignManagement::DesignCollectionType,
- null: true,
- description: "Current state of the collection."
+ null: true,
+ description: "Current state of the collection."
def resolve(**args)
service = ::DesignManagement::MoveDesignsService.new(current_user, parameters(**args))