@rudderstack/workflow-engine
Version:
A generic workflow execution engine
18 lines • 1.12 kB
TypeScript
import { Binding, Workflow, WorkflowExecutor, WorkflowOptionsInternal } from '../common';
export declare class WorkflowUtils {
private static populateWorkflowName;
static createWorkflowFromFilePath(yamlPath: string): Promise<Workflow>;
static createFromFilePath<T>(yamlPath: string): Promise<T>;
static createFromYaml<T>(yamlString: string): T;
static validateWorkflow(workflow: Workflow): void;
static validate(workflow: Workflow): void;
private static getModuleExports;
private static getModuleExportsFromProvider;
private static getModuleExportsFromBindingsPath;
private static getModuleExportsFromAllPaths;
static extractWorkflowOptionsBindings(options: WorkflowOptionsInternal): Promise<Record<string, any>>;
static extractBinding(binding: Binding, options: WorkflowOptionsInternal): Promise<Record<string, any>>;
static extractBindings(options: WorkflowOptionsInternal, bindings?: Binding[]): Promise<Record<string, any>>;
static getExecutor(workflow: Workflow, options: WorkflowOptionsInternal): Promise<WorkflowExecutor>;
}
//# sourceMappingURL=utils.d.ts.map