Class: Ecoportal::API::GraphQL::Query::PagesWorkflowCommands

Inherits:
Logic::QueryConnection show all
Defined in:
lib/ecoportal/api/graphql/query/pages_workflow_commands.rb

Overview

Paginated command log for a page's PagesWorkflow. Returns PagesWorkflowCommandInterface nodes — each command applied to the workflow builder (change, changeMessage, esChange concrete types).

Usage: q = Query::PagesWorkflowCommands.new(client) q.each(id: page.id, first: 50) { |cmd| puts cmd.doc['commandAction'] }

Constant Summary collapse

SCHEMA_VERSION =
'20260605'.freeze

Instance Method Summary collapse

Methods inherited from Logic::QueryConnection

#each, #response_class

Instance Method Details

#pathObject



22
23
24
# File 'lib/ecoportal/api/graphql/query/pages_workflow_commands.rb', line 22

def path
  %w[currentOrganization page workflow commands]
end