Files

53 lines
1.6 KiB
JSON

{
"type": "API Response Schema",
"menuItems": [
{
"action": "Configure",
"actionFunction": "uiObject.configEditor.activate",
"label": "Configure",
"iconPathOn": "configuration",
"iconPathOff": "configuration"
},
{
"action": "Add UI Object",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "apiResponseFields",
"label": "Add API Response Field",
"relatedUiObject": "API Response Field",
"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"
}
],
"editors": {
"config": true
},
"initialValues": {
"config": "{\"nodePath\": \"apiResponseReceivedObject.data\"}"
},
"addLeftIcons": true,
"level": 4,
"attachingRules": {
"compatibleTypes": "->API Query Response->"
},
"propertyNameAtParent": "apiResponseSchema",
"childrenNodesProperties": [
{
"name": "apiResponseFields",
"type": "node",
"childType": "API Response Field",
"autoAdd": false
}
],
"icon": "bitcoin"
}