Files
Superalgos/Projects/Foundations/Schemas/App-Schema/position-counters.json
T

53 lines
1.6 KiB
JSON

{
"type": "Position Counters",
"menuItems": [
{
"action": "Add UI Object",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "periods",
"label": "Add Periods",
"relatedUiObject": "Periods",
"actionFunction": "payload.executeAction",
"actionProject": "Visual-Scripting",
"relatedUiObjectProject": "Foundations"
},
{
"action": "Add UI Object",
"label": "Add User Defined Counter",
"relatedUiObject": "User Defined Counter",
"actionFunction": "payload.executeAction",
"actionProject": "Visual-Scripting",
"relatedUiObjectProject": "Foundations"
},
{
"action": "Delete UI Object",
"actionProject": "Visual-Scripting",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete-entity",
"iconPathOff": "delete-entity",
"actionFunction": "payload.executeAction"
}
],
"addLeftIcons": true,
"level": 3,
"attachingRules": {
"compatibleTypes": "->Position->"
},
"propertyNameAtParent": "positionCounters",
"childrenNodesProperties": [
{
"name": "periods",
"type": "node",
"childType": "Periods",
"autoAdd": true
},
{
"name": "userDefinedCounters",
"type": "array",
"childType": "User Defined Counter",
"autoAdd": false
}
]
}