errormetrics fix

This commit is contained in:
znetsixe
2025-09-16 12:10:41 +02:00
parent a30f2c90f4
commit 241ed1d3cb
5 changed files with 10 additions and 10 deletions

View File

@@ -1,10 +1,10 @@
/** /**
* generalFunctions/index.js * generalfunctions/index.js
* ----------------------------------------------------------- * -----------------------------------------------------------
* Central barrel file for re-exporting helpers and configurations. * Central barrel file for re-exporting helpers and configurations.
* Provides both namespace exports and dynamic loading capabilities. * Provides both namespace exports and dynamic loading capabilities.
* now we can load modules like this: * now we can load modules like this:
* const { menuUtils, outputUtils } = require('generalFunctions'); * const { menuUtils, outputUtils } = require('generalfunctions');
*/ */
// Core helper modules // Core helper modules
@@ -16,7 +16,7 @@ const configUtils = require('./src/helper/configUtils.js');
// Domain-specific modules // Domain-specific modules
const { MeasurementContainer } = require('./src/measurements/index.js'); const { MeasurementContainer } = require('./src/measurements/index.js');
const configManager = require('./src/configs/index.js'); const configManager = require('./src/configs/index.js');
const nrmse = require('./src/nrmse/ErrorMetrics.js'); const nrmse = require('./src/nrmse/errorMetrics.js');
const state = require('./src/state/state.js'); const state = require('./src/state/state.js');
const convert = require('./src/convert/index.js'); const convert = require('./src/convert/index.js');
const MenuManager = require('./src/menu/index.js'); const MenuManager = require('./src/menu/index.js');

View File

@@ -1,5 +1,5 @@
{ {
"name": "generalFunctions", "name": "generalfunctions",
"version": "1.0.0", "version": "1.0.0",
"description": "General utility functions used across multiple Node-RED modules", "description": "General utility functions used across multiple Node-RED modules",
"main": "./index.js", "main": "./index.js",
@@ -17,7 +17,7 @@
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://gitea.centraal.wbd-rd.nl/RnD/generalFunctions.git" "url": "https://gitea.centraal.wbd-rd.nl/RnD/generalfunctions.git"
}, },
"keywords": [ "keywords": [
"utilities", "utilities",

View File

@@ -7,8 +7,8 @@
"taggcodeAPI": "https://pimmoerman.nl/rdlab/tagcode.app/v2.1/apiBLAH" "taggcodeAPI": "https://pimmoerman.nl/rdlab/tagcode.app/v2.1/apiBLAH"
}, },
"local": { "local": {
"units": "http://localhost:1880/generalFunctions/datasets/unitData.json", "units": "http://localhost:1880/generalfunctions/datasets/unitData.json",
"taggcodeAPI": "http://localhost:1880/generalFunctions/datasets/assetData" "taggcodeAPI": "http://localhost:1880/generalfunctions/datasets/assetData"
} }
} }
} }

View File

@@ -88,8 +88,8 @@ class ProjectSettings {
taggcodeAPI: this.cloudAPI, taggcodeAPI: this.cloudAPI,
}, },
local: { local: {
units: "http://localhost:1880/generalFunctions/datasets/unitData.json", units: "http://localhost:1880/generalfunctions/datasets/unitData.json",
taggcodeAPI: "http://localhost:1880/generalFunctions/datasets/assetData", taggcodeAPI: "http://localhost:1880/generalfunctions/datasets/assetData",
}, },
}, },
}; };

View File

@@ -33,7 +33,7 @@ const nodeTemplates = {
parent: "node-input-parent", parent: "node-input-parent",
}, },
projectSettingsURL: projectSettingsURL:
"http://localhost:1880/generalFunctions/settings/projectSettings.json", "http://localhost:1880/generalfunctions/settings/projectSettings.json",
}, },
exampleTemplate: { exampleTemplate: {