From 6704ae5da427fa41ab0be52555269dfdabe50c90 Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Mon, 11 Oct 2021 22:18:38 +0200 Subject: [PATCH 1/3] Upgrade to deal with multiple soolutions --- Platform/Client/httpInterface.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Platform/Client/httpInterface.js b/Platform/Client/httpInterface.js index d3a392d2b..7c1237bb3 100644 --- a/Platform/Client/httpInterface.js +++ b/Platform/Client/httpInterface.js @@ -1009,6 +1009,7 @@ exports.newHttpInterface = function newHttpInterface() { let directoryCount = 0 let allAppSchemas = [] let allAppSchemasFilePaths = [] + let allAppSchemasFileProjects = [] for (let i = 0; i < projects.length; i++) { let project = projects[i] @@ -1044,6 +1045,7 @@ exports.newHttpInterface = function newHttpInterface() { SCHEMA_MAP.set(schemaDocument.type, schemaDocument) allAppSchemas.push(schemaDocument) allAppSchemasFilePaths.push(fileToRead) + allAppSchemasFileProjects.push(project) } catch (err) { console.log('[ERROR] sendSchema -> Error Parsing JSON File: ' + fileToRead + ' .Error = ' + err.stack) return @@ -1088,6 +1090,14 @@ exports.newHttpInterface = function newHttpInterface() { hits++ foundProject = project multiProject = multiProject + ' -> ' + project + + let fileProject = allAppSchemasFileProjects[i] + //console.log(fileProject, project) + if (fileProject === project) { + /* If the projec of the file is the same as the project found, then we consider this a match*/ + hits = 1 + continue + } } } From 14db83c833298550756be97759b3173803522aac Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Mon, 11 Oct 2021 22:24:42 +0200 Subject: [PATCH 2/3] More Actions Fixed --- Platform/Client/httpInterface.js | 6 +++--- .../Ethereum/Schemas/App-Schema/ethereum-project.json | 3 ++- .../Foundations/Schemas/App-Schema/charting-space.json | 6 ++++-- .../Foundations/Schemas/App-Schema/data-mines-data.json | 8 +++++--- Projects/Foundations/Schemas/App-Schema/data-tasks.json | 8 +++++--- .../Schemas/App-Schema/learning-mines-data.json | 8 +++++--- .../Foundations/Schemas/App-Schema/learning-tasks.json | 8 +++++--- .../Schemas/App-Schema/production-trading-tasks.json | 8 +++++--- .../Schemas/App-Schema/testing-trading-tasks.json | 8 +++++--- .../Schemas/App-Schema/trading-mines-data.json | 8 +++++--- Projects/Governance/Schemas/App-Schema/asset-class.json | 6 ++++-- Projects/Governance/Schemas/App-Schema/asset.json | 3 ++- Projects/Governance/Schemas/App-Schema/assets.json | 6 ++++-- Projects/Governance/Schemas/App-Schema/feature-class.json | 3 ++- Projects/Governance/Schemas/App-Schema/feature.json | 3 ++- Projects/Governance/Schemas/App-Schema/features.json | 3 ++- .../Governance/Schemas/App-Schema/governance-project.json | 6 ++++-- .../Governance/Schemas/App-Schema/plugin-features.json | 3 ++- .../Governance/Schemas/App-Schema/plugin-positions.json | 3 ++- .../Governance/Schemas/App-Schema/position-class.json | 3 ++- Projects/Governance/Schemas/App-Schema/position.json | 3 ++- Projects/Governance/Schemas/App-Schema/positions.json | 3 ++- Projects/Network/Schemas/App-Schema/p2p-network.json | 3 ++- 23 files changed, 76 insertions(+), 43 deletions(-) diff --git a/Platform/Client/httpInterface.js b/Platform/Client/httpInterface.js index 7c1237bb3..059a6362a 100644 --- a/Platform/Client/httpInterface.js +++ b/Platform/Client/httpInterface.js @@ -1120,9 +1120,9 @@ exports.newHttpInterface = function newHttpInterface() { if (wasUpdated === true) { let fileContent = JSON.stringify(schemaDocument, undefined, 4) let filePath = allAppSchemasFilePaths[i] - //console.log('Saving File at ' + filePath) - //console.log(fileContent) - //fs.writeFileSync(filePath, fileContent) + console.log('Saving File at ' + filePath) + console.log(fileContent) + fs.writeFileSync(filePath, fileContent) } } } catch (err) { diff --git a/Projects/Ethereum/Schemas/App-Schema/ethereum-project.json b/Projects/Ethereum/Schemas/App-Schema/ethereum-project.json index e405e3ccd..403ffa099 100644 --- a/Projects/Ethereum/Schemas/App-Schema/ethereum-project.json +++ b/Projects/Ethereum/Schemas/App-Schema/ethereum-project.json @@ -38,7 +38,8 @@ "actionProject": "Visual-Scripting", "label": "Add Data Mine", "relatedUiObject": "Data Mine", - "actionFunction": "payload.executeAction" + "actionFunction": "payload.executeAction", + "relatedUiObjectProject": "Ethereum" }, { "action": "Delete UI Object", diff --git a/Projects/Foundations/Schemas/App-Schema/charting-space.json b/Projects/Foundations/Schemas/App-Schema/charting-space.json index 4b6abd50b..78c1d5ebe 100644 --- a/Projects/Foundations/Schemas/App-Schema/charting-space.json +++ b/Projects/Foundations/Schemas/App-Schema/charting-space.json @@ -36,7 +36,8 @@ "label": "Add Project Dashboards", "relatedUiObject": "Project Dashboards", "actionFunction": "payload.executeAction", - "actionProject": "Visual-Scripting" + "actionProject": "Visual-Scripting", + "relatedUiObjectProject": "Foundations" }, { "action": "Add Missing Project Dashboards", @@ -45,7 +46,8 @@ "confirmationLabel": "Confirm to Proceed", "workDoneLabel": "Done", "relatedUiObject": "Project Dashboards", - "actionFunction": "payload.executeAction" + "actionFunction": "payload.executeAction", + "relatedUiObjectProject": "Foundations" }, { "action": "Delete UI Object", diff --git a/Projects/Foundations/Schemas/App-Schema/data-mines-data.json b/Projects/Foundations/Schemas/App-Schema/data-mines-data.json index 8de60a253..b79d789e4 100644 --- a/Projects/Foundations/Schemas/App-Schema/data-mines-data.json +++ b/Projects/Foundations/Schemas/App-Schema/data-mines-data.json @@ -6,7 +6,8 @@ "label": "Add Project Data Products", "relatedUiObject": "Project Data Products", "actionFunction": "payload.executeAction", - "actionProject": "Visual-Scripting" + "actionProject": "Visual-Scripting", + "relatedUiObjectProject": "Foundations" }, { "action": "Add Missing Project Data Products", @@ -15,11 +16,12 @@ "confirmationLabel": "Confirm to Proceed", "workDoneLabel": "Done", "relatedUiObject": "Project Data Products", - "actionFunction": "payload.executeAction" + "actionFunction": "payload.executeAction", + "relatedUiObjectProject": "Foundations" }, { "action": "Delete UI Object", -"actionProject": "Visual-Scripting", + "actionProject": "Visual-Scripting", "askConfirmation": true, "confirmationLabel": "Confirm to Delete", "label": "Delete", diff --git a/Projects/Foundations/Schemas/App-Schema/data-tasks.json b/Projects/Foundations/Schemas/App-Schema/data-tasks.json index df0191d17..c51c0cc09 100644 --- a/Projects/Foundations/Schemas/App-Schema/data-tasks.json +++ b/Projects/Foundations/Schemas/App-Schema/data-tasks.json @@ -26,7 +26,8 @@ "label": "Add Project Data Tasks", "relatedUiObject": "Project Data Tasks", "actionFunction": "payload.executeAction", - "actionProject": "Visual-Scripting" + "actionProject": "Visual-Scripting", + "relatedUiObjectProject": "Foundations" }, { "action": "Add Missing Project Data Tasks", @@ -35,11 +36,12 @@ "confirmationLabel": "Confirm to Proceed", "workDoneLabel": "Done", "relatedUiObject": "Project Data Tasks", - "actionFunction": "payload.executeAction" + "actionFunction": "payload.executeAction", + "relatedUiObjectProject": "Foundations" }, { "action": "Delete UI Object", -"actionProject": "Visual-Scripting", + "actionProject": "Visual-Scripting", "askConfirmation": true, "confirmationLabel": "Confirm to Delete", "label": "Delete", diff --git a/Projects/Foundations/Schemas/App-Schema/learning-mines-data.json b/Projects/Foundations/Schemas/App-Schema/learning-mines-data.json index 434a56179..1460ec7e8 100644 --- a/Projects/Foundations/Schemas/App-Schema/learning-mines-data.json +++ b/Projects/Foundations/Schemas/App-Schema/learning-mines-data.json @@ -6,7 +6,8 @@ "label": "Add Project Learning Products", "relatedUiObject": "Project Learning Products", "actionFunction": "payload.executeAction", - "actionProject": "Visual-Scripting" + "actionProject": "Visual-Scripting", + "relatedUiObjectProject": "Foundations" }, { "action": "Add Missing Project Learning Products", @@ -15,11 +16,12 @@ "confirmationLabel": "Confirm to Proceed", "workDoneLabel": "Done", "relatedUiObject": "Project Learning Products", - "actionFunction": "payload.executeAction" + "actionFunction": "payload.executeAction", + "relatedUiObjectProject": "Foundations" }, { "action": "Delete UI Object", -"actionProject": "Visual-Scripting", + "actionProject": "Visual-Scripting", "askConfirmation": true, "confirmationLabel": "Confirm to Delete", "label": "Delete", diff --git a/Projects/Foundations/Schemas/App-Schema/learning-tasks.json b/Projects/Foundations/Schemas/App-Schema/learning-tasks.json index fb0f1d5bb..507370b0a 100644 --- a/Projects/Foundations/Schemas/App-Schema/learning-tasks.json +++ b/Projects/Foundations/Schemas/App-Schema/learning-tasks.json @@ -26,7 +26,8 @@ "label": "Add Project Learning Tasks", "relatedUiObject": "Project Learning Tasks", "actionFunction": "payload.executeAction", - "actionProject": "Visual-Scripting" + "actionProject": "Visual-Scripting", + "relatedUiObjectProject": "Foundations" }, { "action": "Add Missing Project Learning Tasks", @@ -35,11 +36,12 @@ "confirmationLabel": "Confirm to Proceed", "workDoneLabel": "Done", "relatedUiObject": "Project Learning Tasks", - "actionFunction": "payload.executeAction" + "actionFunction": "payload.executeAction", + "relatedUiObjectProject": "Foundations" }, { "action": "Delete UI Object", -"actionProject": "Visual-Scripting", + "actionProject": "Visual-Scripting", "askConfirmation": true, "confirmationLabel": "Confirm to Delete", "label": "Delete", diff --git a/Projects/Foundations/Schemas/App-Schema/production-trading-tasks.json b/Projects/Foundations/Schemas/App-Schema/production-trading-tasks.json index 6de6c9fa4..f8f8ad76c 100644 --- a/Projects/Foundations/Schemas/App-Schema/production-trading-tasks.json +++ b/Projects/Foundations/Schemas/App-Schema/production-trading-tasks.json @@ -26,7 +26,8 @@ "label": "Add Project Trading Tasks", "relatedUiObject": "Project Trading Tasks", "actionFunction": "payload.executeAction", - "actionProject": "Visual-Scripting" + "actionProject": "Visual-Scripting", + "relatedUiObjectProject": "Foundations" }, { "action": "Add Missing Project Trading Tasks", @@ -35,11 +36,12 @@ "confirmationLabel": "Confirm to Proceed", "workDoneLabel": "Done", "relatedUiObject": "Project Trading Tasks", - "actionFunction": "payload.executeAction" + "actionFunction": "payload.executeAction", + "relatedUiObjectProject": "Foundations" }, { "action": "Delete UI Object", -"actionProject": "Visual-Scripting", + "actionProject": "Visual-Scripting", "askConfirmation": true, "confirmationLabel": "Confirm to Delete", "label": "Delete", diff --git a/Projects/Foundations/Schemas/App-Schema/testing-trading-tasks.json b/Projects/Foundations/Schemas/App-Schema/testing-trading-tasks.json index e7b2052a7..7ed86213a 100644 --- a/Projects/Foundations/Schemas/App-Schema/testing-trading-tasks.json +++ b/Projects/Foundations/Schemas/App-Schema/testing-trading-tasks.json @@ -26,7 +26,8 @@ "label": "Add Project Trading Tasks", "relatedUiObject": "Project Trading Tasks", "actionFunction": "payload.executeAction", - "actionProject": "Visual-Scripting" + "actionProject": "Visual-Scripting", + "relatedUiObjectProject": "Foundations" }, { "action": "Add Missing Project Trading Tasks", @@ -35,11 +36,12 @@ "confirmationLabel": "Confirm to Proceed", "workDoneLabel": "Done", "relatedUiObject": "Project Trading Tasks", - "actionFunction": "payload.executeAction" + "actionFunction": "payload.executeAction", + "relatedUiObjectProject": "Foundations" }, { "action": "Delete UI Object", -"actionProject": "Visual-Scripting", + "actionProject": "Visual-Scripting", "askConfirmation": true, "confirmationLabel": "Confirm to Delete", "label": "Delete", diff --git a/Projects/Foundations/Schemas/App-Schema/trading-mines-data.json b/Projects/Foundations/Schemas/App-Schema/trading-mines-data.json index 5ec38a56b..b23053b92 100644 --- a/Projects/Foundations/Schemas/App-Schema/trading-mines-data.json +++ b/Projects/Foundations/Schemas/App-Schema/trading-mines-data.json @@ -6,7 +6,8 @@ "label": "Add Project Trading Products", "relatedUiObject": "Project Trading Products", "actionFunction": "payload.executeAction", - "actionProject": "Visual-Scripting" + "actionProject": "Visual-Scripting", + "relatedUiObjectProject": "Foundations" }, { "action": "Add Missing Project Trading Products", @@ -15,11 +16,12 @@ "confirmationLabel": "Confirm to Proceed", "workDoneLabel": "Done", "relatedUiObject": "Project Trading Products", - "actionFunction": "payload.executeAction" + "actionFunction": "payload.executeAction", + "relatedUiObjectProject": "Foundations" }, { "action": "Delete UI Object", -"actionProject": "Visual-Scripting", + "actionProject": "Visual-Scripting", "askConfirmation": true, "confirmationLabel": "Confirm to Delete", "label": "Delete", diff --git a/Projects/Governance/Schemas/App-Schema/asset-class.json b/Projects/Governance/Schemas/App-Schema/asset-class.json index 52c64f1cc..030de2687 100644 --- a/Projects/Governance/Schemas/App-Schema/asset-class.json +++ b/Projects/Governance/Schemas/App-Schema/asset-class.json @@ -16,7 +16,8 @@ "confirmationLabel": "Confirm to Proceed", "workDoneLabel": "Done", "relatedUiObject": "Asset", - "actionFunction": "payload.executeAction" + "actionFunction": "payload.executeAction", + "relatedUiObjectProject": "Governance" }, { "action": "Add UI Object", @@ -31,7 +32,8 @@ "actionFunction": "payload.executeAction", "label": "Add Asset", "relatedUiObject": "Asset", - "actionProject": "Visual-Scripting" + "actionProject": "Visual-Scripting", + "relatedUiObjectProject": "Governance" }, { "action": "Delete UI Object", diff --git a/Projects/Governance/Schemas/App-Schema/asset.json b/Projects/Governance/Schemas/App-Schema/asset.json index c58728444..236c34e7e 100644 --- a/Projects/Governance/Schemas/App-Schema/asset.json +++ b/Projects/Governance/Schemas/App-Schema/asset.json @@ -21,7 +21,8 @@ "actionProject": "Visual-Scripting", "actionFunction": "payload.executeAction", "label": "Add Asset", - "relatedUiObject": "Asset" + "relatedUiObject": "Asset", + "relatedUiObjectProject": "Governance" }, { "action": "Delete UI Object", diff --git a/Projects/Governance/Schemas/App-Schema/assets.json b/Projects/Governance/Schemas/App-Schema/assets.json index 82d78a39d..f7dae5084 100644 --- a/Projects/Governance/Schemas/App-Schema/assets.json +++ b/Projects/Governance/Schemas/App-Schema/assets.json @@ -16,7 +16,8 @@ "confirmationLabel": "Confirm to Proceed", "workDoneLabel": "Done", "relatedUiObject": "Asset", - "actionFunction": "payload.executeAction" + "actionFunction": "payload.executeAction", + "relatedUiObjectProject": "Governance" }, { "action": "Add UI Object", @@ -31,7 +32,8 @@ "actionProject": "Visual-Scripting", "actionFunction": "payload.executeAction", "label": "Add Asset", - "relatedUiObject": "Asset" + "relatedUiObject": "Asset", + "relatedUiObjectProject": "Governance" }, { "action": "Install as Plugin", diff --git a/Projects/Governance/Schemas/App-Schema/feature-class.json b/Projects/Governance/Schemas/App-Schema/feature-class.json index bb1d84ec7..973570697 100644 --- a/Projects/Governance/Schemas/App-Schema/feature-class.json +++ b/Projects/Governance/Schemas/App-Schema/feature-class.json @@ -21,7 +21,8 @@ "actionProject": "Visual-Scripting", "actionFunction": "payload.executeAction", "label": "Add Feature", - "relatedUiObject": "Feature" + "relatedUiObject": "Feature", + "relatedUiObjectProject": "Governance" }, { "action": "Delete UI Object", diff --git a/Projects/Governance/Schemas/App-Schema/feature.json b/Projects/Governance/Schemas/App-Schema/feature.json index 5ead8d422..29755cc5b 100644 --- a/Projects/Governance/Schemas/App-Schema/feature.json +++ b/Projects/Governance/Schemas/App-Schema/feature.json @@ -21,7 +21,8 @@ "actionProject": "Visual-Scripting", "actionFunction": "payload.executeAction", "label": "Add Feature", - "relatedUiObject": "Feature" + "relatedUiObject": "Feature", + "relatedUiObjectProject": "Governance" }, { "action": "Delete UI Object", diff --git a/Projects/Governance/Schemas/App-Schema/features.json b/Projects/Governance/Schemas/App-Schema/features.json index 769eaea88..0debff06e 100644 --- a/Projects/Governance/Schemas/App-Schema/features.json +++ b/Projects/Governance/Schemas/App-Schema/features.json @@ -14,7 +14,8 @@ "actionProject": "Visual-Scripting", "actionFunction": "payload.executeAction", "label": "Add Feature", - "relatedUiObject": "Feature" + "relatedUiObject": "Feature", + "relatedUiObjectProject": "Governance" }, { "action": "Install as Plugin", diff --git a/Projects/Governance/Schemas/App-Schema/governance-project.json b/Projects/Governance/Schemas/App-Schema/governance-project.json index f79f4a1e5..44db1bfed 100644 --- a/Projects/Governance/Schemas/App-Schema/governance-project.json +++ b/Projects/Governance/Schemas/App-Schema/governance-project.json @@ -22,14 +22,16 @@ "actionProject": "Visual-Scripting", "label": "Add Features", "relatedUiObject": "Features", - "actionFunction": "payload.executeAction" + "actionFunction": "payload.executeAction", + "relatedUiObjectProject": "Governance" }, { "action": "Add UI Object", "actionProject": "Visual-Scripting", "label": "Add Positions", "relatedUiObject": "Positions", - "actionFunction": "payload.executeAction" + "actionFunction": "payload.executeAction", + "relatedUiObjectProject": "Governance" }, { "action": "Add UI Object", diff --git a/Projects/Governance/Schemas/App-Schema/plugin-features.json b/Projects/Governance/Schemas/App-Schema/plugin-features.json index 99d8e801c..147e82c82 100644 --- a/Projects/Governance/Schemas/App-Schema/plugin-features.json +++ b/Projects/Governance/Schemas/App-Schema/plugin-features.json @@ -8,7 +8,8 @@ "confirmationLabel": "Confirm to Proceed", "workDoneLabel": "Done", "relatedUiObject": "Features", - "actionFunction": "payload.executeAction" + "actionFunction": "payload.executeAction", + "relatedUiObjectProject": "Governance" }, { "action": "Delete UI Object", diff --git a/Projects/Governance/Schemas/App-Schema/plugin-positions.json b/Projects/Governance/Schemas/App-Schema/plugin-positions.json index bb8f25748..838c77df2 100644 --- a/Projects/Governance/Schemas/App-Schema/plugin-positions.json +++ b/Projects/Governance/Schemas/App-Schema/plugin-positions.json @@ -8,7 +8,8 @@ "confirmationLabel": "Confirm to Proceed", "workDoneLabel": "Done", "relatedUiObject": "Positions", - "actionFunction": "payload.executeAction" + "actionFunction": "payload.executeAction", + "relatedUiObjectProject": "Governance" }, { "action": "Delete UI Object", diff --git a/Projects/Governance/Schemas/App-Schema/position-class.json b/Projects/Governance/Schemas/App-Schema/position-class.json index 4ab3f2c8d..b364e0f88 100644 --- a/Projects/Governance/Schemas/App-Schema/position-class.json +++ b/Projects/Governance/Schemas/App-Schema/position-class.json @@ -13,7 +13,8 @@ "actionProject": "Visual-Scripting", "actionFunction": "payload.executeAction", "label": "Add Position", - "relatedUiObject": "Position" + "relatedUiObject": "Position", + "relatedUiObjectProject": "Governance" }, { "action": "Add UI Object", diff --git a/Projects/Governance/Schemas/App-Schema/position.json b/Projects/Governance/Schemas/App-Schema/position.json index ee2da13de..1408b5245 100644 --- a/Projects/Governance/Schemas/App-Schema/position.json +++ b/Projects/Governance/Schemas/App-Schema/position.json @@ -13,7 +13,8 @@ "actionProject": "Visual-Scripting", "actionFunction": "payload.executeAction", "label": "Add Position", - "relatedUiObject": "Position" + "relatedUiObject": "Position", + "relatedUiObjectProject": "Governance" }, { "action": "Add UI Object", diff --git a/Projects/Governance/Schemas/App-Schema/positions.json b/Projects/Governance/Schemas/App-Schema/positions.json index e115be866..d1d053d2a 100644 --- a/Projects/Governance/Schemas/App-Schema/positions.json +++ b/Projects/Governance/Schemas/App-Schema/positions.json @@ -14,7 +14,8 @@ "actionProject": "Visual-Scripting", "label": "Add Position", "relatedUiObject": "Position", - "actionFunction": "payload.executeAction" + "actionFunction": "payload.executeAction", + "relatedUiObjectProject": "Governance" }, { "action": "Install as Plugin", diff --git a/Projects/Network/Schemas/App-Schema/p2p-network.json b/Projects/Network/Schemas/App-Schema/p2p-network.json index f45f95859..61c7b111c 100644 --- a/Projects/Network/Schemas/App-Schema/p2p-network.json +++ b/Projects/Network/Schemas/App-Schema/p2p-network.json @@ -6,7 +6,8 @@ "actionProject": "Visual-Scripting", "label": "Add P2P Network Node", "relatedUiObject": "P2P Network Node", - "actionFunction": "payload.executeAction" + "actionFunction": "payload.executeAction", + "relatedUiObjectProject": "Network" }, { "action": "Delete UI Object", From 76dfeeb6a27a3e225cca9815bec13da778dad41f Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Mon, 11 Oct 2021 22:42:48 +0200 Subject: [PATCH 3/3] Manual APP Schema Fixes --- Platform/Client/httpInterface.js | 6 +++--- .../Foundations/Schemas/App-Schema/exchange-assets.json | 4 +++- Projects/Foundations/Schemas/App-Schema/features.json | 3 ++- Projects/Foundations/Schemas/App-Schema/mines.json | 3 ++- Projects/Governance/Schemas/App-Schema/signing-account.json | 3 ++- 5 files changed, 12 insertions(+), 7 deletions(-) diff --git a/Platform/Client/httpInterface.js b/Platform/Client/httpInterface.js index 059a6362a..7c1237bb3 100644 --- a/Platform/Client/httpInterface.js +++ b/Platform/Client/httpInterface.js @@ -1120,9 +1120,9 @@ exports.newHttpInterface = function newHttpInterface() { if (wasUpdated === true) { let fileContent = JSON.stringify(schemaDocument, undefined, 4) let filePath = allAppSchemasFilePaths[i] - console.log('Saving File at ' + filePath) - console.log(fileContent) - fs.writeFileSync(filePath, fileContent) + //console.log('Saving File at ' + filePath) + //console.log(fileContent) + //fs.writeFileSync(filePath, fileContent) } } } catch (err) { diff --git a/Projects/Foundations/Schemas/App-Schema/exchange-assets.json b/Projects/Foundations/Schemas/App-Schema/exchange-assets.json index adeaebcdc..a915979a8 100644 --- a/Projects/Foundations/Schemas/App-Schema/exchange-assets.json +++ b/Projects/Foundations/Schemas/App-Schema/exchange-assets.json @@ -12,6 +12,7 @@ "action": "Add UI Object", "label": "Add Asset", "relatedUiObject": "Asset", + "relatedUiObjectProject": "Foundations", "actionFunction": "payload.executeAction", "actionProject": "Visual-Scripting" }, @@ -22,11 +23,12 @@ "confirmationLabel": "Confirm to Proceed", "workDoneLabel": "Done", "relatedUiObject": "Asset", + "relatedUiObjectProject": "Foundations", "actionFunction": "payload.executeAction" }, { "action": "Delete UI Object", -"actionProject": "Visual-Scripting", + "actionProject": "Visual-Scripting", "askConfirmation": true, "confirmationLabel": "Confirm to Delete", "label": "Delete", diff --git a/Projects/Foundations/Schemas/App-Schema/features.json b/Projects/Foundations/Schemas/App-Schema/features.json index ba1eed100..46b92f24f 100644 --- a/Projects/Foundations/Schemas/App-Schema/features.json +++ b/Projects/Foundations/Schemas/App-Schema/features.json @@ -5,12 +5,13 @@ "action": "Add UI Object", "label": "Add Feature", "relatedUiObject": "Feature", + "relatedUiObjectProject": "TensorFlow", "actionFunction": "payload.executeAction", "actionProject": "Visual-Scripting" }, { "action": "Delete UI Object", -"actionProject": "Visual-Scripting", + "actionProject": "Visual-Scripting", "askConfirmation": true, "confirmationLabel": "Confirm to Delete", "label": "Delete", diff --git a/Projects/Foundations/Schemas/App-Schema/mines.json b/Projects/Foundations/Schemas/App-Schema/mines.json index 571095a23..6e2a71ca4 100644 --- a/Projects/Foundations/Schemas/App-Schema/mines.json +++ b/Projects/Foundations/Schemas/App-Schema/mines.json @@ -6,7 +6,8 @@ "label": "Add Data Mine", "relatedUiObject": "Data Mine", "actionFunction": "payload.executeAction", - "actionProject": "Visual-Scripting" + "actionProject": "Visual-Scripting", + "relatedUiObjectProject": "Data-Mining" }, { "action": "Add UI Object", diff --git a/Projects/Governance/Schemas/App-Schema/signing-account.json b/Projects/Governance/Schemas/App-Schema/signing-account.json index afd879868..befea1dc9 100644 --- a/Projects/Governance/Schemas/App-Schema/signing-account.json +++ b/Projects/Governance/Schemas/App-Schema/signing-account.json @@ -16,7 +16,8 @@ "propertyToCheckFor": "assignedTo", "label": "Add P2P Network Node", "relatedUiObject": "P2P Network Node", - "actionFunction": "payload.executeAction" + "actionFunction": "payload.executeAction", + "relatedUiObjectProject": "Network" }, { "action": "Add UI Object",