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(