updated
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<script type="module">
|
<script type="module">
|
||||||
|
|
||||||
import * as menuUtils from "/generalFunctions/helper/menuUtils.js";
|
import * as menuUtils from "/generalfunctions/helper/menuUtils.js";
|
||||||
|
|
||||||
RED.nodes.registerType('dashboardapi', {
|
RED.nodes.registerType('dashboardapi', {
|
||||||
category: 'wbd typical',
|
category: 'wbd typical',
|
||||||
|
|||||||
@@ -47,14 +47,14 @@
|
|||||||
|
|
||||||
//load local dependencies
|
//load local dependencies
|
||||||
const EventEmitter = require('events');
|
const EventEmitter = require('events');
|
||||||
const Logger = require('../../../generalFunctions/helper/logger');
|
const Logger = require('../../../generalfunctions/helper/logger');
|
||||||
|
|
||||||
//load all config modules
|
//load all config modules
|
||||||
const defaultConfig = require('./dashboardapiConfig.json');
|
const defaultConfig = require('./dashboardapiConfig.json');
|
||||||
const ConfigUtils = require('../../../generalFunctions/helper/configUtils');
|
const ConfigUtils = require('../../../generalfunctions/helper/configUtils');
|
||||||
|
|
||||||
//load registration utility
|
//load registration utility
|
||||||
const ChildRegistrationUtils = require('../../../generalFunctions/helper/childRegistrationUtils');
|
const ChildRegistrationUtils = require('../../../generalfunctions/helper/childRegistrationUtils');
|
||||||
|
|
||||||
class Dashboardapi{
|
class Dashboardapi{
|
||||||
/*------------------- Construct and set vars -------------------*/
|
/*------------------- Construct and set vars -------------------*/
|
||||||
|
|||||||
Reference in New Issue
Block a user