Module: Ecoportal::API::GraphQL::Input::WorkflowCommand::AddSmartFillConfig
- Defined in:
- lib/ecoportal/api/graphql/input/workflow_command/add_smart_fill_config.rb
Overview
20260713: smart-fill (AI) configuration extracted from the field-config inputs
into its own add/edit/remove command family. fieldConfigurations accepts an array
of pre-built WorkflowSmartFillFieldConfigurationInput hashes.
Constant Summary collapse
- SCHEMA_VERSION =
'20260713'.freeze
- VALID_KEYS =
%i[ dataFieldId triggerType instructions editEnabled textFormat limitLength fieldConfigurations ].freeze
Class Method Summary collapse
Class Method Details
.build(**kwargs) ⇒ Object
15 16 17 |
# File 'lib/ecoportal/api/graphql/input/workflow_command/add_smart_fill_config.rb', line 15 def self.build(**kwargs) kwargs.slice(*VALID_KEYS).compact end |