Files
Superalgos/Projects/Governance/Schemas/App-Schema/user-profile.json
T

64 lines
1.9 KiB
JSON

{
"type": "User Profile",
"menuItems": [
{
"action": "Configure",
"actionFunction": "uiObject.configEditor.activate",
"label": "Configure",
"iconPathOn": "configuration",
"iconPathOff": "configuration"
},
{
"action": "Add UI Object",
"actionProject": "Foundations",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "tokenPowerSwitch",
"actionFunction": "payload.executeAction",
"label": "Add Token Power Switch",
"relatedUiObject": "Token Power Switch"
},
{
"action": "Add UI Object",
"actionProject": "Foundations",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "tokensMined",
"actionFunction": "payload.executeAction",
"label": "Add Tokens Mined",
"relatedUiObject": "Tokens Mined"
},
{
"action": "Delete UI Object",
"actionProject": "Foundations",
"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
}
]
}