@devicecloud.dev/dcd
Version:
Better cloud maestro testing
32 lines (31 loc) • 992 B
TypeScript
interface IWorkspaceConfig {
excludeTags?: null | string[];
executionOrder?: IExecutionOrder | null;
flows?: null | string[];
includeTags?: null | string[];
local?: ILocal | null;
}
interface ILocal {
deterministicOrder: boolean | null;
}
interface IExecutionOrder {
continueOnFailure: boolean;
flowsOrder: string[];
}
interface IExecutionPlan {
allExcludeTags?: null | string[];
allIncludeTags?: null | string[];
flowMetadata: Record<string, Record<string, unknown>>;
flowOverrides: Record<string, Record<string, unknown>>;
flowsToRun: string[];
referencedFiles: string[];
sequence?: IFlowSequence | null;
totalFlowFiles: number;
workspaceConfig?: IWorkspaceConfig;
}
interface IFlowSequence {
continueOnFailure?: boolean;
flows: string[];
}
export declare function plan(input: string, includeTags: string[], excludeTags: string[], excludeFlows?: string[], configFile?: string): Promise<IExecutionPlan>;
export {};