From 32726cba305f64f6d084532fb4df80b3f106057e Mon Sep 17 00:00:00 2001 From: ogabrielluiz Date: Thu, 30 May 2024 16:43:03 -0300 Subject: [PATCH] added OutputFieldType --- src/frontend/src/types/api/index.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/frontend/src/types/api/index.ts b/src/frontend/src/types/api/index.ts index cdc4da207..273da960d 100644 --- a/src/frontend/src/types/api/index.ts +++ b/src/frontend/src/types/api/index.ts @@ -28,7 +28,7 @@ export type APIClassType = { documentation: string; error?: string; official?: boolean; - outputs?: Array<{ types: Array; selected?: string }>; + outputs?: Array; frozen?: boolean; flow?: FlowType; field_order?: string[]; @@ -63,7 +63,11 @@ export type InputFieldType = { refresh_button_text?: string; [key: string]: any; }; - +export type OutputFieldType = { + types: Array; + selected?: string; + name: string; +}; export type sendAllProps = { nodes: Node[]; edges: Edge[];