60 lines
1.8 KiB
JSON
60 lines
1.8 KiB
JSON
{
|
|
"type": "Software Contributions",
|
|
"menuItems": [
|
|
{
|
|
"action": "Configure",
|
|
"actionFunction": "uiObject.configEditor.activate",
|
|
"label": "Configure",
|
|
"iconPathOn": "configuration",
|
|
"iconPathOff": "configuration"
|
|
},
|
|
{
|
|
"action": "Add UI Object",
|
|
"actionFunction": "payload.executeAction",
|
|
"label": "Add Software Contributions",
|
|
"relatedUiObject": "Software Contributions"
|
|
},
|
|
{
|
|
"action": "Add UI Object",
|
|
"actionFunction": "payload.executeAction",
|
|
"label": "Add Contributed Asset",
|
|
"relatedUiObject": "Contributed Asset"
|
|
},
|
|
{
|
|
"action": "Delete UI Object",
|
|
"askConfirmation": true,
|
|
"confirmationLabel": "Confirm to Delete",
|
|
"label": "Delete",
|
|
"iconPathOn": "delete-entity",
|
|
"iconPathOff": "delete-entity",
|
|
"actionFunction": "payload.executeAction"
|
|
}
|
|
],
|
|
"editors": {
|
|
"config": true
|
|
},
|
|
"initialValues": {
|
|
"config": "{\n \"description\": \"\"\n}"
|
|
},
|
|
"addLeftIcons": true,
|
|
"level": 2,
|
|
"attachingRules": {
|
|
"compatibleTypes": "->User Contributions->Software Contributions->"
|
|
},
|
|
"propertyNameAtParent": "softwareContributions",
|
|
"childrenNodesProperties": [
|
|
{
|
|
"name": "softwareContributions",
|
|
"type": "array",
|
|
"childType": "Software Contributions",
|
|
"autoAdd": false
|
|
},
|
|
{
|
|
"name": "contributedAssets",
|
|
"type": "array",
|
|
"childType": "Contributed Asset",
|
|
"autoAdd": false
|
|
}
|
|
],
|
|
"icon": "bitcoin"
|
|
} |