Files
Superalgos/Projects/Governance/Schemas/App-Schema/community-building-programs.json

100 lines
3.2 KiB
JSON

{
"type": "Community Building Programs",
"menuItems": [
{
"action": "Configure",
"actionFunction": "uiObject.configEditor.activate",
"label": "Configure",
"iconPathOn": "configuration",
"iconPathOff": "configuration"
},
{
"action": "Add UI Object",
"actionProject": "Visual-Scripting",
"actionFunction": "payload.executeAction",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "referralProgram",
"label": "Add Referral Program",
"relatedUiObject": "Referral Program",
"relatedUiObjectProject": "Governance"
},
{
"action": "Add UI Object",
"actionProject": "Visual-Scripting",
"actionFunction": "payload.executeAction",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "supportProgram",
"label": "Add Support Program",
"relatedUiObject": "Support Program",
"relatedUiObjectProject": "Governance"
},
{
"action": "Add UI Object",
"actionProject": "Visual-Scripting",
"actionFunction": "payload.executeAction",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "mentorshipProgram",
"label": "Add Mentorship Program",
"relatedUiObject": "Mentorship Program",
"relatedUiObjectProject": "Governance"
},
{
"action": "Add UI Object",
"actionProject": "Visual-Scripting",
"actionFunction": "payload.executeAction",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "influencerProgram",
"label": "Add Influencer Program",
"relatedUiObject": "Influencer Program",
"relatedUiObjectProject": "Governance"
},
{
"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": "{}"
},
"addLeftIcons": true,
"level": 2,
"attachingRules": {
"compatibleTypes": "->Token Power Switch->"
},
"propertyNameAtParent": "communityBuildingPrograms",
"childrenNodesProperties": [
{
"name": "referralProgram",
"type": "node",
"childType": "Referral Program",
"autoAdd": false
},
{
"name": "supportProgram",
"type": "node",
"childType": "Support Program",
"autoAdd": false
},
{
"name": "mentorshipProgram",
"type": "node",
"childType": "Mentorship Program",
"autoAdd": false
},
{
"name": "influencerProgram",
"type": "node",
"childType": "Influencer Program",
"autoAdd": false
}
]
}