Module: Ecoportal::API::GraphQL::Input::WorkflowCommand::EditFieldConfiguration::ImageGallery

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

Constant Summary collapse

SCHEMA_VERSION =
'20260713'.freeze
VALID_KEYS =

20260713: gained addImageSourceIds/removeImageIds (set-diff of gallery images).

%i[layout stretch noPopup hideOptions addImageSourceIds removeImageIds].freeze

Class Method Summary collapse

Class Method Details

.build(**kwargs) ⇒ Object



12
13
14
# File 'lib/ecoportal/api/graphql/input/workflow_command/field_config/image_gallery.rb', line 12

def self.build(**kwargs)
  { imageGallery: kwargs.slice(*VALID_KEYS).compact }
end