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

79 lines
2.4 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": "contributionClaims",
"actionFunction": "payload.executeAction",
"label": "Add Contribution Claims",
"relatedUiObject": "Contribution Claims"
},
{
"action": "Add UI Object",
"actionProject": "Foundations",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "votesDistribution",
"actionFunction": "payload.executeAction",
"label": "Add Votes Distribution",
"relatedUiObject": "Votes Distribution"
},
{
"action": "Add UI Object",
"actionProject": "Foundations",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "userReferrer",
"actionFunction": "payload.executeAction",
"label": "Add User Referrer",
"relatedUiObject": "User Referrer"
},
{
"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": "{\n\"codeName\": \"\"\n}"
},
"isTitleAllwaysVisible": false,
"isHierarchyHead": true,
"addLeftIcons": true,
"level": 0,
"childrenNodesProperties": [
{
"name": "contributionClaims",
"type": "node",
"childType": "Contribution Claims",
"autoAdd": false
},
{
"name": "votesDistribution",
"type": "node",
"childType": "Votes Distribution",
"autoAdd": false
},
{
"name": "userReferrer",
"type": "node",
"childType": "User Referrer",
"autoAdd": false
}
]
}