refactor(app): type RoutePlan.run as async; add validation e2e tests
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
2 files changed
+44
-1
No files matched your search
+1
-1
@@ -43,7 +43,7 @@ interface RoutePlan {
|
||||
steps: GraphNode[];
|
||||
handlerName: string;
|
||||
needs: string[];
|
||||
run: (ctx: any) => unknown;
|
||||
run: (ctx: any) => Promise<unknown>;
|
||||
transformer: typeof JsonTransformer;
|
||||
duplicates?: 'array' | 'last';
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user