Module: Ecoportal::API::GraphQL::Input::WorkflowCommand::EditTemplateBasicSettings

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

Overview

20260713: replaces the page-level editPage command (template-scoped).

Constant Summary collapse

SCHEMA_VERSION =
'20260828'.freeze
VALID_KEYS =

20260828: added enableCopyPage, a real top-level argument on the backend's EditTemplateBasicSettingsInput but previously dropped by this builder's kwargs.slice. Schema authority: backend source, not the stale 2026-07-30 introspection dump.

i[
  name icon themeId timeZone disableDirectPermissions mobileEnabled
  useSectionsOnMobile showStrategyForRestrictedStages
  showAssigneeNamesForRestrictedStages showTaskDueDateForRestrictedStages
  hideActivityStream disableComments hidePageLocationUi enableDashboardImport
  enableActionsOnFields showCreator active counterPrefix counterPostfix
  counterEnabled counter enableCopyPage
  addLocationIds removeLocationIds addFolders removeFolders
  addBaseTags removeBaseTags creatorEnabled creatorEditable creatorFlags
].freeze

Class Method Summary collapse

Class Method Details

.build(**kwargs) ⇒ Object



24
25
26
# File 'lib/ecoportal/api/graphql/input/workflow_command/edit_template_basic_settings.rb', line 24

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