From 76dfeeb6a27a3e225cca9815bec13da778dad41f Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Mon, 11 Oct 2021 22:42:48 +0200 Subject: [PATCH] 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",