From cb534740701dff68ecbbf582e8fc99af0ceeaff4 Mon Sep 17 00:00:00 2001 From: Rohit Date: Tue, 28 Jan 2025 16:49:22 +0530 Subject: [PATCH] feat: add login bool for robot metadata --- server/src/models/Robot.ts | 1 + src/components/robot/RobotDuplicate.tsx | 1 + src/components/robot/RobotEdit.tsx | 1 + src/components/robot/RobotSettings.tsx | 1 + 4 files changed, 4 insertions(+) diff --git a/server/src/models/Robot.ts b/server/src/models/Robot.ts index 3b6dc98b..ee88b8cc 100644 --- a/server/src/models/Robot.ts +++ b/server/src/models/Robot.ts @@ -9,6 +9,7 @@ interface RobotMeta { pairs: number; updatedAt: string; params: any[]; + isLogin?: boolean; } interface RobotWorkflow { diff --git a/src/components/robot/RobotDuplicate.tsx b/src/components/robot/RobotDuplicate.tsx index efde9b2a..2643fc8e 100644 --- a/src/components/robot/RobotDuplicate.tsx +++ b/src/components/robot/RobotDuplicate.tsx @@ -14,6 +14,7 @@ interface RobotMeta { pairs: number; updatedAt: string; params: any[]; + isLogin?: boolean; } interface RobotWorkflow { diff --git a/src/components/robot/RobotEdit.tsx b/src/components/robot/RobotEdit.tsx index f1f79b77..c56f878a 100644 --- a/src/components/robot/RobotEdit.tsx +++ b/src/components/robot/RobotEdit.tsx @@ -15,6 +15,7 @@ interface RobotMeta { pairs: number; updatedAt: string; params: any[]; + isLogin: boolean; } interface RobotWorkflow { diff --git a/src/components/robot/RobotSettings.tsx b/src/components/robot/RobotSettings.tsx index fdbf90e2..56fd9daf 100644 --- a/src/components/robot/RobotSettings.tsx +++ b/src/components/robot/RobotSettings.tsx @@ -14,6 +14,7 @@ interface RobotMeta { pairs: number; updatedAt: string; params: any[]; + isLogin?: boolean; } interface RobotWorkflow {