146 lines
4.7 KiB
JSON
146 lines
4.7 KiB
JSON
{
|
|
"type": "User Profile",
|
|
"menuItems": [
|
|
{
|
|
"action": "Configure",
|
|
"actionFunction": "uiObject.configEditor.activate",
|
|
"label": "Configure",
|
|
"iconPathOn": "configuration",
|
|
"iconPathOff": "configuration"
|
|
},
|
|
{
|
|
"action": "Add UI Object",
|
|
"actionProject": "Visual-Scripting",
|
|
"disableIfPropertyIsDefined": true,
|
|
"propertyToCheckFor": "tokenPowerSwitch",
|
|
"actionFunction": "payload.executeAction",
|
|
"label": "Add Token Power Switch",
|
|
"relatedUiObject": "Token Power Switch",
|
|
"relatedUiObjectProject": "Governance"
|
|
},
|
|
{
|
|
"action": "Add UI Object",
|
|
"actionProject": "Visual-Scripting",
|
|
"disableIfPropertyIsDefined": true,
|
|
"propertyToCheckFor": "tokensMined",
|
|
"actionFunction": "payload.executeAction",
|
|
"label": "Add Tokens Mined",
|
|
"relatedUiObject": "Tokens Mined",
|
|
"relatedUiObjectProject": "Governance"
|
|
},
|
|
{
|
|
"action": "Add UI Object",
|
|
"actionProject": "Visual-Scripting",
|
|
"disableIfPropertyIsDefined": true,
|
|
"propertyToCheckFor": "userApps",
|
|
"actionFunction": "payload.executeAction",
|
|
"label": "Add User Apps",
|
|
"relatedUiObject": "User Apps",
|
|
"relatedUiObjectProject": "Governance"
|
|
},
|
|
{
|
|
"action": "Add UI Object",
|
|
"actionProject": "Visual-Scripting",
|
|
"disableIfPropertyIsDefined": true,
|
|
"propertyToCheckFor": "userBots",
|
|
"actionFunction": "payload.executeAction",
|
|
"label": "Add User Bots",
|
|
"relatedUiObject": "User Bots",
|
|
"relatedUiObjectProject": "Governance"
|
|
},
|
|
{
|
|
"action": "Add UI Object",
|
|
"actionProject": "Visual-Scripting",
|
|
"disableIfPropertyIsDefined": true,
|
|
"propertyToCheckFor": "socialPersonas",
|
|
"actionFunction": "payload.executeAction",
|
|
"label": "Add Social Personas",
|
|
"relatedUiObject": "Social Personas",
|
|
"relatedUiObjectProject": "Governance"
|
|
},
|
|
{
|
|
"action": "Add UI Object",
|
|
"actionProject": "Visual-Scripting",
|
|
"disableIfPropertyIsDefined": true,
|
|
"propertyToCheckFor": "p2pNetworkNodes",
|
|
"actionFunction": "payload.executeAction",
|
|
"label": "Add P2P Network Nodes",
|
|
"relatedUiObject": "P2P Network Nodes",
|
|
"relatedUiObjectProject": "Governance"
|
|
},
|
|
{
|
|
"action": "Install as Plugin",
|
|
"actionProject": "Community-Plugins",
|
|
"askConfirmation": true,
|
|
"confirmationLabel": "Confirm to Install",
|
|
"label": "Install as Plugin",
|
|
"iconPathOn": "configuration",
|
|
"iconPathOff": "configuration",
|
|
"actionFunction": "payload.executeAction"
|
|
},
|
|
{
|
|
"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": "{}"
|
|
},
|
|
"isTitleAllwaysVisible": false,
|
|
"isHierarchyHead": true,
|
|
"addLeftIcons": true,
|
|
"level": 0,
|
|
"childrenNodesProperties": [
|
|
{
|
|
"name": "tokenPowerSwitch",
|
|
"type": "node",
|
|
"childType": "Token Power Switch",
|
|
"autoAdd": true
|
|
},
|
|
{
|
|
"name": "tokensMined",
|
|
"type": "node",
|
|
"childType": "Tokens Mined",
|
|
"autoAdd": true
|
|
},
|
|
{
|
|
"name": "userApps",
|
|
"type": "node",
|
|
"childType": "User Apps",
|
|
"autoAdd": false
|
|
},
|
|
{
|
|
"name": "userBots",
|
|
"type": "node",
|
|
"childType": "User Bots",
|
|
"autoAdd": false
|
|
},
|
|
{
|
|
"name": "socialPersonas",
|
|
"type": "node",
|
|
"childType": "Social Personas",
|
|
"autoAdd": false
|
|
},
|
|
{
|
|
"name": "p2pNetworkNodes",
|
|
"type": "node",
|
|
"childType": "P2P Network Nodes",
|
|
"autoAdd": false
|
|
}
|
|
],
|
|
"inMapMode": {
|
|
"showNodeType": false,
|
|
"showHierarchyHeadRing": false,
|
|
"smallIcon": true,
|
|
"smallText": true
|
|
}
|
|
} |