From 39ca2a2618b8ae9f30741516e52a863ca21ccada Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Wed, 5 Jun 2024 06:34:46 +0530 Subject: [PATCH] feat: add Workflow type --- server/src/workflow-management/selector.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/src/workflow-management/selector.ts b/server/src/workflow-management/selector.ts index 5a4fe3bd..8526e6ec 100644 --- a/server/src/workflow-management/selector.ts +++ b/server/src/workflow-management/selector.ts @@ -4,6 +4,8 @@ import { WhereWhatPair, WorkflowFile } from "@wbr-project/wbr-interpret"; import logger from "../logger"; import { getBestSelectorForAction } from "./utils"; +type Workflow = WorkflowFile["workflow"]; + /** * Returns a {@link Rectangle} object representing * the coordinates, width, height and corner points of the element.