Module: Ecoportal::API::GraphQL::Input::WorkflowCommand::EditPage

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

Constant Summary collapse

SCHEMA_VERSION =
'20260605'.freeze
VALID_KEYS =
%i[
  name icon themeId timeZone disableDirectPermissions mobileEnabled useSectionsOnMobile
  showStrategyForRestrictedStages showAssigneeNamesForRestrictedStages showTaskDueDateForRestrictedStages
  hideActivityStream disableComments enableDashboardImport enableActionsOnFields showCreator active
  counterPrefix counterPostfix counterEnabled counter
  addLocationIds removeLocationIds
  addBaseTags removeBaseTags
  addOtherTags removeOtherTags
  addFolders removeFolders
  creatorEnabled creatorEditable creatorFlags
].freeze

Class Method Summary collapse

Class Method Details

.build(**kwargs) ⇒ Object



20
21
22
# File 'lib/ecoportal/api/graphql/input/workflow_command/edit_page.rb', line 20

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