Skip to main content

XpmAction.parentActions property

The parent actions collection this action belongs to.

Signature

readonly parentActions: XpmActions;

Remarks

This reference maintains the hierarchical relationship between individual actions and their containing collection, providing essential context for action initialisation and execution.

The parent collection provides access to:

  1. Liquid templating engine for variable substitution.
  2. Substitution variables hierarchy (package metadata, configuration, environment, platform detection).
  3. Logger instance for diagnostic output.
  4. Build configuration context when actions belong to a specific configuration rather than the package root.

This design enables actions to access shared resources without duplicating them, while maintaining proper scoping for template evaluation. During initialisation, the action combines parent-level substitution variables with its own matrix parameters to create a complete context for Liquid template processing.


Generated via tsdoc2docusaurus 1.3.0-pre by API Extractor/Documenter 7.55.2.