From 9ca66c1760f77599d9bf0f34de357f14b67da539 Mon Sep 17 00:00:00 2001 From: Rick Carlino Date: Fri, 6 Jan 2017 12:40:27 -0600 Subject: [PATCH] Pushing up because FE is on Farmbotjs rc13 now. --- latest_corpus.ts | 2 +- latest_schema.json | 326 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 327 insertions(+), 1 deletion(-) create mode 100644 latest_schema.json diff --git a/latest_corpus.ts b/latest_corpus.ts index 54c0b877f..f6e4012e1 100644 --- a/latest_corpus.ts +++ b/latest_corpus.ts @@ -1,7 +1,7 @@ /* -THIS INTERFACE WAS AUTO GENERATED ON 2017-01-05 +THIS INTERFACE WAS AUTO GENERATED ON 2017-01-06 DO NOT EDIT THIS FILE. diff --git a/latest_schema.json b/latest_schema.json new file mode 100644 index 000000000..fd8ce71f1 --- /dev/null +++ b/latest_schema.json @@ -0,0 +1,326 @@ +[ + { + "name":"nothing", + "allowed_args":[ + + ], + "allowed_body_types":[ + + ] + }, + { + "name":"tool", + "allowed_args":[ + "tool_id" + ], + "allowed_body_types":[ + + ] + }, + { + "name":"coordinate", + "allowed_args":[ + "x", + "y", + "z" + ], + "allowed_body_types":[ + + ] + }, + { + "name":"move_absolute", + "allowed_args":[ + "location", + "speed", + "offset" + ], + "allowed_body_types":[ + + ] + }, + { + "name":"move_relative", + "allowed_args":[ + "x", + "y", + "z", + "speed" + ], + "allowed_body_types":[ + + ] + }, + { + "name":"write_pin", + "allowed_args":[ + "pin_number", + "pin_value", + "pin_mode" + ], + "allowed_body_types":[ + + ] + }, + { + "name":"read_pin", + "allowed_args":[ + "pin_number", + "label", + "pin_mode" + ], + "allowed_body_types":[ + + ] + }, + { + "name":"channel", + "allowed_args":[ + "channel_name" + ], + "allowed_body_types":[ + + ] + }, + { + "name":"wait", + "allowed_args":[ + "milliseconds" + ], + "allowed_body_types":[ + + ] + }, + { + "name":"send_message", + "allowed_args":[ + "message", + "message_type" + ], + "allowed_body_types":[ + "channel" + ] + }, + { + "name":"execute", + "allowed_args":[ + "sequence_id" + ], + "allowed_body_types":[ + + ] + }, + { + "name":"_if", + "allowed_args":[ + "lhs", + "op", + "rhs", + "_then", + "_else" + ], + "allowed_body_types":[ + + ] + }, + { + "name":"sequence", + "allowed_args":[ + "version" + ], + "allowed_body_types":[ + "move_absolute", + "move_relative", + "write_pin", + "read_pin", + "wait", + "send_message", + "execute", + "_if" + ] + }, + { + "name":"home", + "allowed_args":[ + "speed", + "axis" + ], + "allowed_body_types":[ + + ] + }, + { + "name":"emergency_lock", + "allowed_args":[ + + ], + "allowed_body_types":[ + + ] + }, + { + "name":"emergency_unlock", + "allowed_args":[ + + ], + "allowed_body_types":[ + + ] + }, + { + "name":"read_status", + "allowed_args":[ + + ], + "allowed_body_types":[ + + ] + }, + { + "name":"sync", + "allowed_args":[ + + ], + "allowed_body_types":[ + + ] + }, + { + "name":"check_updates", + "allowed_args":[ + "package" + ], + "allowed_body_types":[ + + ] + }, + { + "name":"power_off", + "allowed_args":[ + + ], + "allowed_body_types":[ + + ] + }, + { + "name":"reboot", + "allowed_args":[ + + ], + "allowed_body_types":[ + + ] + }, + { + "name":"toggle_pin", + "allowed_args":[ + "pin_number" + ], + "allowed_body_types":[ + + ] + }, + { + "name":"start_regimen", + "allowed_args":[ + "regimen_id", + "label" + ], + "allowed_body_types":[ + + ] + }, + { + "name":"stop_regimen", + "allowed_args":[ + "label" + ], + "allowed_body_types":[ + + ] + }, + { + "name":"explanation", + "allowed_args":[ + "message" + ], + "allowed_body_types":[ + + ] + }, + { + "name":"rpc_request", + "allowed_args":[ + "label" + ], + "allowed_body_types":[ + "home", + "emergency_lock", + "emergency_unlock", + "read_status", + "sync", + "check_updates", + "power_off", + "reboot", + "toggle_pin", + "start_regimen", + "stop_regimen", + "config_update", + "calibrate", + "execute", + "move_absolute", + "move_relative", + "write_pin", + "read_pin", + "wait", + "send_message" + ] + }, + { + "name":"rpc_ok", + "allowed_args":[ + "label" + ], + "allowed_body_types":[ + + ] + }, + { + "name":"rpc_error", + "allowed_args":[ + "label" + ], + "allowed_body_types":[ + "explanation" + ] + }, + { + "name":"calibrate", + "allowed_args":[ + "axis" + ], + "allowed_body_types":[ + + ] + }, + { + "name":"pair", + "allowed_args":[ + "label", + "value" + ], + "allowed_body_types":[ + + ] + }, + { + "name":"config_update", + "allowed_args":[ + "package" + ], + "allowed_body_types":[ + "pair" + ] + } + ]