Skip to main content

XpmAction.jsonAction property

The JSON definition of the action commands.

Signature

readonly jsonAction: JsonActionContent;

Remarks

This holds the raw command definition as it appears in package.json, before variable substitution. The format can be:

  1. Simple string: Single command line.
  2. String array: Multiple commands for sequential execution.

The definition is preserved in its original form to enable:

  1. Creating copies of inherited actions with identical definitions.
  2. Deferred template evaluation during XpmAction.initialise().
  3. Re-evaluation if needed with different variable contexts.

This immutable storage ensures actions can be safely copied and initialised multiple times without side effects.


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