Type aliases
ArgumentTypeDef
ArgumentTypeDef: { ANGLE: "angle"; BOOLEAN: "Boolean"; COLOR: "color"; CUSTOM: "custom"; DIALOG_MENU: "dialog_menu"; DROPDOWN_MENU: "field_dropdown_menu"; FIELD_INPUT: "field_input"; IMAGE: "image"; MATRIX: "matrix"; NOTE: "note"; NUMBER: "number"; NUMBER_INPUT: "number_input"; NUMBER_PAD: "number_pad"; RGB_COLOR: "rgb_color"; STRING: "string"; UCODE_CUSTOM_MATRIX: "custom_matrix"; VARIABLE: "variable" }
Type declaration
ANGLE: "angle"
BOOLEAN: "Boolean"
COLOR: "color"
CUSTOM: "custom"
DIALOG_MENU: "dialog_menu"
DROPDOWN_MENU: "field_dropdown_menu"
FIELD_INPUT: "field_input"
IMAGE: "image"
MATRIX: "matrix"
NOTE: "note"
NUMBER: "number"
NUMBER_INPUT: "number_input"
NUMBER_PAD: "number_pad"
RGB_COLOR: "rgb_color"
STRING: "string"
UCODE_CUSTOM_MATRIX: "custom_matrix"
VARIABLE: "variable"
BlockFilter
BlockFilter: { list: {}; type: "blacklist" | "whitelist" }
Type declaration
list: {}
type: "blacklist" | "whitelist"
BlockTypeDef
BlockTypeDef: { BOOLEAN: "Boolean"; COMMAND: "command"; CONDITIONAL: "conditional"; EVENT: "event"; HAT: "hat"; LABEL: "label"; LOOP: "loop"; NUMBER: "Number"; REPORTER: "reporter" }
Type declaration
BOOLEAN: "Boolean"
COMMAND: "command"
CONDITIONAL: "conditional"
EVENT: "event"
HAT: "hat"
LABEL: "label"
LOOP: "loop"
NUMBER: "Number"
REPORTER: "reporter"
DataEncoding
DataEncoding: "ascii" | "utf8" | "utf16le" | "ucs2" | "base64" | "binary" | "hex"
DeviceConnectStatusType
DeviceConnectStatusType: { ConnectFail: 4; Connected: 0; Connecting: 2; DisconnectFail: 5; Disconnected: 1; Disconnecting: 3 }
Type declaration
ConnectFail: 4
Connected: 0
Connecting: 2
DisconnectFail: 5
Disconnected: 1
Disconnecting: 3
DeviceConnectStatusUnionType
GeneratorLanguageDef
GeneratorLanguageDef: { Arduino: "Arduino"; Lua: "Lua"; Python: "Python" }
Type declaration
Arduino: "Arduino"
Lua: "Lua"
Python: "Python"
HostType
HostType: "web" | "electron" | "webview" | "flutter" | "qt"
PlatformType
PlatformType: "windows" | "macos" | "linux" | "ios" | "android" | "chromeos"
TargetType
TargetType: "stage" | "device" | "all"
WorkingModeDef
WorkingModeDef: { Online: "online"; Upload: "upload" }
Type declaration
Online: "online"
Upload: "upload"
uCode 全局类型