52 lines
1.6 KiB
JSON
52 lines
1.6 KiB
JSON
{
|
|
"type": "User Bots",
|
|
"menuItems": [
|
|
{
|
|
"action": "Configure",
|
|
"actionFunction": "uiObject.configEditor.activate",
|
|
"label": "Configure",
|
|
"iconPathOn": "configuration",
|
|
"iconPathOff": "configuration"
|
|
},
|
|
{
|
|
"action": "Add UI Object",
|
|
"actionProject": "Visual-Scripting",
|
|
"disableIfPropertyIsDefined": true,
|
|
"propertyToCheckFor": "socialTradingBots",
|
|
"actionFunction": "payload.executeAction",
|
|
"label": "Add Social Trading Bots",
|
|
"relatedUiObject": "Social Trading Bots",
|
|
"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"
|
|
}
|
|
],
|
|
"editors": {
|
|
"config": true
|
|
},
|
|
"initialValues": {
|
|
"config": "{\"socialHandle\": \"\",\"bio\": \"\"}"
|
|
},
|
|
"addLeftIcons": true,
|
|
"level": 2,
|
|
"attachingRules": {
|
|
"compatibleTypes": "->User Profile->"
|
|
},
|
|
"propertyNameAtParent": "userBots",
|
|
"childrenNodesProperties": [
|
|
{
|
|
"name": "socialTradingBots",
|
|
"type": "node",
|
|
"childType": "Social Trading Bots",
|
|
"autoAdd": false
|
|
}
|
|
]
|
|
} |