From d096cf54ddb5deeba9d0caa185033db97d9adea8 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Wed, 9 Oct 2024 20:43:15 +0530 Subject: [PATCH] feat: rename interface to RobotWorkflow --- server/src/models/Robot.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/src/models/Robot.ts b/server/src/models/Robot.ts index 4a193477..2400a917 100644 --- a/server/src/models/Robot.ts +++ b/server/src/models/Robot.ts @@ -11,14 +11,14 @@ interface RobotMeta { params: any[]; } -interface Robot { +interface RobotWorkflow { workflow: WhereWhatPair[]; } interface RobotAttributes { id: string; recording_meta: RobotMeta; - recording: Robot; + recording: RobotWorkflow; } interface RobotCreationAttributes extends Optional { } @@ -26,7 +26,7 @@ interface RobotCreationAttributes extends Optional { } class Robot extends Model implements RobotAttributes { public id!: string; public recording_meta!: RobotMeta; - public recording!: Robot; + public recording!: RobotWorkflow; } Robot.init(