removing the concept of subtypes

This commit is contained in:
Luis Fernando Molina committed 2020-01-24 10:45:43 +01:00
1 parent 031c532bf3
commit fa1345ce43
6 files changed
+16 -62

No files matched your search

@@ -23,7 +23,6 @@ function newNodeCloning () {
if (nodeDefinition !== undefined) {
let object = {
type: node.type,
subType: node.subType,
name: node.name,
code: node.code
}
@@ -76,7 +75,6 @@ function newNodeCloning () {
if (nodeDefinition !== undefined) {
let object = {
type: node.type,
subType: node.subType,
name: node.name,
code: node.code
}
@@ -159,7 +157,6 @@ function newNodeCloning () {
if (node.payload.referenceParent !== undefined) {
savedPayload.referenceParent = {
type: node.payload.referenceParent.type,
subType: node.payload.referenceParent.subType,
name: node.payload.referenceParent.name,
id: node.payload.referenceParent.id
}
@@ -18,7 +18,6 @@ function newProtocolNode () {
if (removePersonalData === true && nodeDefinition.isPersonalData === true) { return }
let object = {
type: node.type,
subType: node.subType,
name: node.name,
code: node.code
}
@@ -174,7 +173,6 @@ function newProtocolNode () {
if (node.payload.referenceParent !== undefined) {
savedPayload.referenceParent = {
type: node.payload.referenceParent.type,
subType: node.payload.referenceParent.subType,
name: node.payload.referenceParent.name,
id: node.payload.referenceParent.id
}
@@ -28,7 +28,7 @@ function newTaskFunctions () {
'Sensor Bot Instance->' +
'Indicator Bot Instance->' +
'Trading Bot Instance->' +
'Process Instance->' +
'Sensor Process Instance->Indicator Process Instance->Trading Process Instance->' +
'Market Reference->Market->Exchange Markets->Crypto Exchange->' +
'Market Base Asset->Market Quoted Asset->Asset->' +
'Backtesting Session->Live Trading Session->Paper Trading Session->Fordward Testing Session->' +
@@ -76,8 +76,8 @@ function newUiObjectsFromNodes () {
for (let j = 0; j < nodeChildren.length; j++) {
if (node.id === nodeChildren[j].id) {
if (j > 0) {
chainParent = nodeChildren[j - 1]
}
chainParent = nodeChildren[j - 1]
}
}
}
}