Farmbot-Web-App/frontend/__test_support__/fake_state/bot.ts

64 lines
1.3 KiB
TypeScript

import { Everything } from "../../interfaces";
export let bot: Everything["bot"] = {
"consistent": true,
"stepSize": 100,
"controlPanelState": {
"homing_and_calibration": false,
"motors": false,
"encoders_and_endstops": false,
"danger_zone": false,
"power_and_reset": false,
"pin_guard": false,
"diagnostic_dumps": false
},
"hardware": {
"gpio_registry": {},
"mcu_params": {
encoder_enabled_x: 1,
encoder_enabled_y: 1,
encoder_enabled_z: 0
},
"jobs": {},
"location_data": {
"position": {
x: undefined,
y: undefined,
z: undefined
},
"scaled_encoders": {
x: undefined,
y: undefined,
z: undefined
},
"raw_encoders": {
x: undefined,
y: undefined,
z: undefined
},
},
"pins": {},
"configuration": {},
"informational_settings": {
busy: false,
locked: false,
commit: "---",
target: "---",
env: "---",
node_name: "---",
firmware_commit: "---",
},
"user_env": {},
"process_info": {
"farmwares": {}
}
},
"dirty": false,
"currentOSVersion": "3.1.6",
"connectivity": {
"bot.mqtt": undefined,
"user.mqtt": undefined,
"user.api": undefined,
}
};