@rudderstack/workflow-engine
Version:
A generic workflow execution engine
21 lines • 1.01 kB
TypeScript
import { BatchStep, CustomStep, SimpleStep, Step, StepType, WorkflowStep } from '../types';
export declare class StepUtils {
static getStepType(step: Step): StepType;
static isBatchStep(step: BatchStep): boolean;
static isCustomStep(step: BatchStep): boolean;
static isWorkflowStep(step: WorkflowStep): boolean;
static isSimpleStep(step: SimpleStep): boolean;
static populateElseStep(step: Step): void;
static populateSteps(steps: Step[]): void;
private static checkForStepNameDuplicates;
static validateSteps(steps: Step[], notAllowedTypes?: string[]): void;
private static validateStepName;
private static validateStepType;
private static validateElseStep;
private static validateLoopStep;
private static validateOnComplete;
static validateStep(step: Step, index: number, notAllowed: string[]): void;
static ValidateBatchStep(step: BatchStep): void;
static ValidateCustomStep(step: CustomStep): void;
}
//# sourceMappingURL=step.d.ts.map