51 lines
1.5 KiB
JSON
51 lines
1.5 KiB
JSON
{
|
|
"type": "API Response Field",
|
|
"menuItems": [
|
|
{
|
|
"action": "Configure",
|
|
"actionFunction": "uiObject.configEditor.activate",
|
|
"label": "Configure",
|
|
"iconPathOn": "configuration",
|
|
"iconPathOff": "configuration"
|
|
},
|
|
{
|
|
"action": "Add UI Object",
|
|
"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": "{\"codeName\": \"\", \"fieldType\": \"\", \"descrption\": \"\"}"
|
|
},
|
|
"addLeftIcons": true,
|
|
"level": 4,
|
|
"propertyNameAtParent": "apiResponseFields",
|
|
"attachingRules": {
|
|
"compatibleTypes": "->API Response Field->API Response Schema->"
|
|
},
|
|
"childrenNodesProperties": [
|
|
{
|
|
"name": "apiResponseFields",
|
|
"type": "array",
|
|
"childType": "API Response Field",
|
|
"autoAdd": false
|
|
}
|
|
],
|
|
"icon": "bitcoin"
|
|
} |