platform/engines
Documentation
- source: platform/engines.ts
Overview
Classes
Engine
getTypes()
Retrieves the list of available engine types from the platform.
tsstatic getTypes(): void;Returns
- Type:
void- Description: An array of supported engine type names.
execute()
Executes a project script or process using the configured engine type.
tsexecute(projectName: string, projectFilePath: string, projectFilePathParam: string, parameters: ExecutionParameters, debug: boolean): any;
Parameter Type Description projectNamestringThe name of the project. projectFilePathstringThe relative path to the main file to execute within the project (e.g., "lib/script.js"). projectFilePathParamstringA secondary file path parameter (often unused or context-specific). parametersExecutionParametersAn object containing key/value parameters to pass to the script context. debugbooleanWhether to execute in debug mode. Returns
- Type:
any- Description: The result returned by the executed script.
