Schemas and Icons moved

This commit is contained in:
Luis Fernando Molina committed 2021-10-09 10:15:55 +02:00
1 parent 780f975e7c
commit 780fce04ff
14 files changed

No files matched your search

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.8 KiB

@@ -1,33 +0,0 @@
{
"type": "Announcement Condition",
"editors": {
"code": true
},
"menuItems": [
{
"action": "Configure",
"actionFunction": "uiObject.codeEditor.activate",
"label": "Configure",
"iconPathOn": "configuration",
"iconPathOff": "configuration"
},
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete-entity",
"iconPathOff": "delete-entity",
"actionFunction": "payload.executeAction"
}
],
"initialValues": {
"code": "// Type here a condition that needs to be met in order to make the announcement."
},
"addLeftIcons": true,
"level": 3,
"attachingRules": {
"compatibleTypes": "->Announcement->"
},
"propertyNameAtParent": "announcementCondition"
}
@@ -1,34 +0,0 @@
{
"type": "Announcement Formula",
"menuItems": [
{
"action": "Edit",
"label": "Edit",
"iconPathOn": "javascript-code",
"iconPathOff": "javascript-code",
"dontShowAtFullscreen": true,
"actionFunction": "uiObject.formulaEditor.activate"
},
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete-entity",
"iconPathOff": "delete-entity",
"actionFunction": "payload.executeAction"
}
],
"addLeftIcons": true,
"editors": {
"formula": true
},
"initialValues": {
"code": "// Type your formula"
},
"level": 4,
"attachingRules": {
"compatibleTypes": "->Announcement->"
},
"propertyNameAtParent": "announcementFormula"
}
@@ -1,63 +0,0 @@
{
"type": "Announcement",
"editors": {
"config": true
},
"menuItems": [
{
"action": "Configure",
"actionFunction": "uiObject.configEditor.activate",
"label": "Configure",
"iconPathOn": "configuration",
"iconPathOff": "configuration"
},
{
"action": "Add UI Object",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "announcementFormula",
"label": "Add Announcement Formula",
"relatedUiObject": "Announcement Formula",
"actionFunction": "payload.executeAction"
},
{
"action": "Add UI Object",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "announcementCondition",
"label": "Add Announcement Condition",
"relatedUiObject": "Announcement Condition",
"actionFunction": "payload.executeAction"
},
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete-entity",
"iconPathOff": "delete-entity",
"actionFunction": "payload.executeAction"
}
],
"initialValues": {
"config": "{ \n\"text\": \"Type the message you wish to announce when there is no formula\"\n}"
},
"addLeftIcons": true,
"level": 4,
"attachingRules": {
"compatibleTypes": "->Trigger On Event->Trigger Off Event->Take Position Event->Next Phase Event->Move To Phase Event->Phase->Trigger Stage->Open Stage->Manage Stage->Close Stage->Create Order Event->Cancel Order Event->"
},
"childrenNodesProperties": [
{
"name": "announcementFormula",
"type": "node",
"childType": "Announcement Formula",
"autoAdd": true
},
{
"name": "announcementCondition",
"type": "node",
"childType": "Announcement Condition",
"autoAdd": true
}
],
"propertyNameAtParent": "announcements"
}
@@ -1,41 +0,0 @@
{
"type": "Discord Bot",
"editors": {
"config": true
},
"menuItems": [
{
"action": "Configure",
"actionFunction": "uiObject.configEditor.activate",
"label": "Configure",
"iconPathOn": "configuration",
"iconPathOff": "configuration"
},
{
"action": "Send Discord Test Message",
"label": "Send Discord Test Message",
"iconPathOn": "test-entity",
"iconPathOff": "test-entity",
"actionFunction": "payload.executeAction"
},
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete-entity",
"iconPathOff": "delete-entity",
"actionFunction": "payload.executeAction"
}
],
"initialValues": {
"config": "{\n\"webhookURL\": \"Paste the webhook url obtained from Discord > Channel Settings > Integrations > Webhooks > New Webhook\"\n}"
},
"addLeftIcons": true,
"level": 3,
"attachingRules": {
"compatibleTypes": "->Social Bots->"
},
"childrenNodesProperties": [],
"propertyNameAtParent": "discordBots"
}
@@ -1,41 +0,0 @@
{
"type": "Slack Bot",
"editors": {
"config": true
},
"menuItems": [
{
"action": "Configure",
"actionFunction": "uiObject.configEditor.activate",
"label": "Configure",
"iconPathOn": "configuration",
"iconPathOff": "configuration"
},
{
"action": "Send Slack Test Message",
"label": "Send Slack Test Message",
"iconPathOn": "test-entity",
"iconPathOff": "test-entity",
"actionFunction": "payload.executeAction"
},
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete-entity",
"iconPathOff": "delete-entity",
"actionFunction": "payload.executeAction"
}
],
"initialValues": {
"config": "{\n\"webhookURL\": \"https://hooks.slack.com/services/abc/abc/abc\"\n}"
},
"addLeftIcons": true,
"level": 3,
"attachingRules": {
"compatibleTypes": "->Social Bots->"
},
"childrenNodesProperties": [],
"propertyNameAtParent": "slackBots"
}
@@ -1,49 +0,0 @@
{
"type": "Social Bot Command",
"editors": {
"config": true
},
"menuItems": [
{
"action": "Configure",
"actionFunction": "uiObject.configEditor.activate",
"label": "Configure",
"iconPathOn": "configuration",
"iconPathOff": "configuration"
},
{
"action": "Add UI Object",
"disableIfPropertyIsDefined": true,
"propertyToCheckFor": "formula",
"label": "Add Formula",
"relatedUiObject": "Formula",
"actionFunction": "payload.executeAction"
},
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete-entity",
"iconPathOff": "delete-entity",
"actionFunction": "payload.executeAction"
}
],
"initialValues": {
"config": "{ \n\"name\": \"Enter the name of the command without a leading slash\"\n}"
},
"addLeftIcons": true,
"level": 4,
"attachingRules": {
"compatibleTypes": "->Telegram Bot->"
},
"childrenNodesProperties": [
{
"name": "formula",
"type": "node",
"childType": "Formula",
"autoAdd": true
}
],
"propertyNameAtParent": "socialBotCommand"
}
@@ -1,58 +0,0 @@
{
"type": "Social Bots",
"menuItems": [
{
"action": "Add UI Object",
"label": "Add Telegram Bot",
"relatedUiObject": "Telegram Bot",
"actionFunction": "payload.executeAction"
},
{
"action": "Add UI Object",
"label": "Add Discord Bot",
"relatedUiObject": "Discord Bot",
"actionFunction": "payload.executeAction"
},
{
"action": "Add UI Object",
"label": "Add Slack Bot",
"relatedUiObject": "Slack Bot",
"actionFunction": "payload.executeAction"
},
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete-entity",
"iconPathOff": "delete-entity",
"actionFunction": "payload.executeAction"
}
],
"addLeftIcons": true,
"level": 4,
"attachingRules": {
"compatibleTypes": "->Backtesting Session->Live Trading Session->Paper Trading Session->Forward Testing Session->Back Learning Session->Live Learning Session->"
},
"childrenNodesProperties": [
{
"name": "telegramBots",
"type": "array",
"childType": "Telegram Bot",
"autoAdd": true
},
{
"name": "discordBots",
"type": "array",
"childType": "Discord Bot",
"autoAdd": true
},
{
"name": "slackBots",
"type": "array",
"childType": "Slack Bot",
"autoAdd": true
}
],
"propertyNameAtParent": "socialBots"
}
@@ -1,54 +0,0 @@
{
"type": "Telegram Bot",
"editors": {
"config": true
},
"menuItems": [
{
"action": "Configure",
"actionFunction": "uiObject.configEditor.activate",
"label": "Configure",
"iconPathOn": "configuration",
"iconPathOff": "configuration"
},
{
"action": "Add UI Object",
"label": "Add Social Bot Command",
"relatedUiObject": "Social Bot Command",
"actionFunction": "payload.executeAction"
},
{
"action": "Send Telegram Test Message",
"label": "Send Telegram Test Message",
"iconPathOn": "test-entity",
"iconPathOff": "test-entity",
"actionFunction": "payload.executeAction"
},
{
"action": "Delete UI Object",
"askConfirmation": true,
"confirmationLabel": "Confirm to Delete",
"label": "Delete",
"iconPathOn": "delete-entity",
"iconPathOff": "delete-entity",
"actionFunction": "payload.executeAction"
}
],
"initialValues": {
"config": "{ \n\"botToken\": \"Paste the bot token obtained from Telegram Bot Father\",\n\"chatId\": \"Type or paste the chat or group id -a number with no quotes- where announcements are going to be sent to\"\n}"
},
"addLeftIcons": true,
"level": 3,
"attachingRules": {
"compatibleTypes": "->Social Bots->"
},
"childrenNodesProperties": [
{
"name": "socialBotCommand",
"type": "array",
"childType": "Social Bot Command",
"autoAdd": false
}
],
"propertyNameAtParent": "telegramBots"
}