Files
Superalgos/Projects/Foundations/Schemas/App-Schema/super-scripts.json
T

50 lines
1.5 KiB
JSON

{
"type": "Super Scripts",
"menuItems": [
{
"action": "Configure",
"actionFunction": "uiObject.configEditor.activate",
"label": "Configure",
"iconPathOn": "configuration",
"iconPathOff": "configuration"
},
{
"action": "Add UI Object",
"label": "Add Scripts Library",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "scriptsLibrary",
"relatedUiObject": "Scripts Library",
"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"
}
],
"isTitleAllwaysVisible": true,
"isHierarchyHead": true,
"addLeftIcons": true,
"level": 0,
"editors": {
"config": true
},
"initialValues": {
"config": "{ \n \"codeName\": \"\"\n}"
},
"childrenNodesProperties": [
{
"name": "scriptsLibrary",
"type": "node",
"childType": "Scripts Library",
"autoAdd": true
}
]
}