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

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

Constant Summary collapse

SCHEMA_VERSION =
'20260605'.freeze
VALID_KEYS =
%i[
  tableType jurisdictionFieldRef industrialAwardFieldRef
  workAgreementFieldRef preIncapacityFieldRef claimStatusFieldRef
  firstIncapacityFieldRef endIncapacityFieldRef
  firstDayOfTheWeek inProgress nextRowAdditionAt
].freeze

Class Method Summary collapse

Class Method Details

.build(**kwargs) ⇒ Object



16
17
18
# File 'lib/ecoportal/api/graphql/input/workflow_command/field_config/table.rb', line 16

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