53 lines
1.7 KiB
JSON
53 lines
1.7 KiB
JSON
{
|
|
"type": "Trading Bot Instance",
|
|
"menuItems": [
|
|
{
|
|
"action": "Add UI Object",
|
|
"label": "Add Process Instance",
|
|
"relatedUiObject": "Trading Process Instance",
|
|
"actionFunction": "payload.executeAction",
|
|
"actionProject": "Visual-Scripting",
|
|
"relatedUiObjectProject": "Foundations"
|
|
},
|
|
{
|
|
"action": "Add UI Object",
|
|
"actionProject": "Visual-Scripting",
|
|
"disableIfPropertyIsDefined": true,
|
|
"propertyToCheckFor": "socialTradingBotReference",
|
|
"actionFunction": "payload.executeAction",
|
|
"label": "Add Social Trading Bot Reference",
|
|
"relatedUiObject": "Social Trading Bot Reference",
|
|
"relatedUiObjectProject": "Governance"
|
|
},
|
|
{
|
|
"action": "Delete UI Object",
|
|
"actionProject": "Visual-Scripting",
|
|
"askConfirmation": true,
|
|
"confirmationLabel": "Confirm to Delete",
|
|
"label": "Delete",
|
|
"iconPathOn": "delete-entity",
|
|
"iconPathOff": "delete-entity",
|
|
"actionFunction": "payload.executeAction"
|
|
}
|
|
],
|
|
"addLeftIcons": true,
|
|
"level": 3,
|
|
"attachingRules": {
|
|
"compatibleTypes": "->Task->"
|
|
},
|
|
"childrenNodesProperties": [
|
|
{
|
|
"name": "processes",
|
|
"type": "array",
|
|
"childType": "Trading Process Instance",
|
|
"autoAdd": false
|
|
},
|
|
{
|
|
"name": "socialTradingBotReference",
|
|
"type": "node",
|
|
"childType": "Social Trading Bot Reference",
|
|
"autoAdd": false
|
|
}
|
|
],
|
|
"propertyNameAtParent": "bot"
|
|
} |