feat: rename interface to RobotWorkflow

This commit is contained in:
karishmas6
2024-10-09 20:43:15 +05:30
parent 28e2a89548
commit d096cf54dd

View File

@@ -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<RobotAttributes, 'id'> { }
@@ -26,7 +26,7 @@ interface RobotCreationAttributes extends Optional<RobotAttributes, 'id'> { }
class Robot extends Model<RobotAttributes, RobotCreationAttributes> implements RobotAttributes {
public id!: string;
public recording_meta!: RobotMeta;
public recording!: Robot;
public recording!: RobotWorkflow;
}
Robot.init(