From 6604ef5351d65339a6e58dddafbb0f8da5c7213f Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Wed, 12 Jul 2023 17:49:15 -0300 Subject: [PATCH] created type for HandleIds --- src/frontend/src/types/flow/index.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/frontend/src/types/flow/index.ts b/src/frontend/src/types/flow/index.ts index 9f947950c..3f244c753 100644 --- a/src/frontend/src/types/flow/index.ts +++ b/src/frontend/src/types/flow/index.ts @@ -35,3 +35,17 @@ export type TweaksType = Array< }; } & FlowStyleType >; + +// right side +export type sourceHandleType = { + dataType: string; + id: string; + baseClasses: string[]; +}; +//left side +export type targetHandleType = { + inputTypes?: string[]; + type: string; + fieldName: string; + id: string; +};