ProtectedaddAppend an output param to the params array so callers can read results.
ProtectedbuildBuild PipelineExecutionOptions from action params.
ProtectedbuildMap a PipelineExecutionResult to ActionResultSimple and populate output params so workflow engines can read EntityID, EntityName, etc.
ProtectedcheckCheck that the contextUser holds the authorization required for the requested operation type. Returns an error string on failure, null on success.
ProtectedgetExtract a boolean param by name with a fallback default.
ProtectedgetExtract the ModificationType param ('create' | 'alter'). Defaults to 'create'.
ProtectedgetExtract a string param by name, returning undefined when absent.
ProtectedgetExtract and parse the TableDefinition param (JSON object or string).
Returns { error } on missing/malformed input, { td } on success.
ProtectedhandleCommon error handler for unexpected exceptions.
ProtectedInternalInternal method that must be implemented by derived action classes. This is where the actual action logic should be implemented.
The action execution parameters including typed context
Promise resolving to the action result
Executes the action with the provided parameters.
The action execution parameters including context
Promise resolving to the action result
Creates a new MemberJunction entity from a fully-formed
TableDefinition.Input params:
TableDefinition(required) — JSON object conforming to the schema-engineTableDefinitioninterface.SkipGitCommit(optional, default false) — skip creating a migration git commit.SkipRestart(optional, default false) — skip restarting MJAPI after the pipeline.Output params written on success:
EntityID— MJ entity UUID.EntityName— Human-readable entity name.SchemaName— Database schema.TableName— Physical table name.PipelineSteps— Array of step summaries from RuntimeSchemaManager.