Module: Ecoportal::API::GraphQL::Input::WorkflowCommand::ReorderForces

Defined in:
lib/ecoportal/api/graphql/input/workflow_command/reorder_forces.rb

Constant Summary collapse

SCHEMA_VERSION =
'20260713'.freeze
VALID_KEYS =

20260713: after/before replaced by anchor-based positioning.

%i[forceId anchorId anchorPosition].freeze

Class Method Summary collapse

Class Method Details

.build(**kwargs) ⇒ Object



11
12
13
# File 'lib/ecoportal/api/graphql/input/workflow_command/reorder_forces.rb', line 11

def self.build(**kwargs)
  kwargs.slice(*VALID_KEYS).compact
end