refactor: Remove test run methods from triggers

This commit is contained in:
Faruk AYDIN
2022-10-14 23:41:00 +02:00
committed by Ali BARIN
parent c422ca530d
commit cad42eed54
5 changed files with 1 additions and 23 deletions

View File

@@ -208,7 +208,6 @@ export interface ITrigger {
substeps: ISubstep[];
getInterval(parameters: IGlobalVariable['step']['parameters']): string;
run($: IGlobalVariable): Promise<ITriggerOutput>;
testRun($: IGlobalVariable): Promise<ITriggerOutput>;
}
export interface IActionOutput {
@@ -271,7 +270,7 @@ export type IGlobalVariable = {
execution?: {
id: string;
testRun: boolean;
}
};
process?: (triggerDataItem: ITriggerDataItem) => Promise<void>;
};