@devicechain/dashboards 0.17.0 → 0.18.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +5 -7
- package/dist/index.js.map +2 -2
- package/dist/types.d.ts +0 -1
- package/package.json +4 -3
package/dist/index.js
CHANGED
|
@@ -790,7 +790,6 @@ var ALARMS_QUERY = `
|
|
|
790
790
|
acknowledgedTime
|
|
791
791
|
acknowledgedBy
|
|
792
792
|
lastValue
|
|
793
|
-
message
|
|
794
793
|
}
|
|
795
794
|
pagination {
|
|
796
795
|
totalRecords
|
|
@@ -1392,11 +1391,11 @@ var SYNTHETIC_GENERATORS = [
|
|
|
1392
1391
|
];
|
|
1393
1392
|
var DEFAULT_NAME = "value";
|
|
1394
1393
|
var SYNTHETIC_ALARMS = [
|
|
1395
|
-
{ severity: "CRITICAL", state: "ACTIVE", acknowledged: false, alarmKey: "over-temperature", metricKey: "temperature", lastValue: 87.4, originatorToken: "thermostat-01"
|
|
1396
|
-
{ severity: "MAJOR", state: "ACTIVE", acknowledged: true, alarmKey: "low-battery", metricKey: "battery", lastValue: 12, originatorToken: "sensor-14"
|
|
1397
|
-
{ severity: "MINOR", state: "ACTIVE", acknowledged: false, alarmKey: "humidity-high", metricKey: "humidity", lastValue: 78, originatorToken: "sensor-03"
|
|
1398
|
-
{ severity: "WARNING", state: "CLEARED", acknowledged: true, alarmKey: "signal-weak", metricKey: "rssi", lastValue: -89, originatorToken: "gateway-02"
|
|
1399
|
-
{ severity: "INDETERMINATE", state: "ACTIVE", acknowledged: false, alarmKey: "self-test", metricKey: "status", lastValue: null, originatorToken: "device-99"
|
|
1394
|
+
{ severity: "CRITICAL", state: "ACTIVE", acknowledged: false, alarmKey: "over-temperature", metricKey: "temperature", lastValue: 87.4, originatorToken: "thermostat-01" },
|
|
1395
|
+
{ severity: "MAJOR", state: "ACTIVE", acknowledged: true, alarmKey: "low-battery", metricKey: "battery", lastValue: 12, originatorToken: "sensor-14" },
|
|
1396
|
+
{ severity: "MINOR", state: "ACTIVE", acknowledged: false, alarmKey: "humidity-high", metricKey: "humidity", lastValue: 78, originatorToken: "sensor-03" },
|
|
1397
|
+
{ severity: "WARNING", state: "CLEARED", acknowledged: true, alarmKey: "signal-weak", metricKey: "rssi", lastValue: -89, originatorToken: "gateway-02" },
|
|
1398
|
+
{ severity: "INDETERMINATE", state: "ACTIVE", acknowledged: false, alarmKey: "self-test", metricKey: "status", lastValue: null, originatorToken: "device-99" }
|
|
1400
1399
|
];
|
|
1401
1400
|
var SYNTHETIC_COMMANDS = [
|
|
1402
1401
|
{ name: "reboot", status: "SENT", payload: '{"delaySeconds":5}', responsePayload: null, error: null, dispatched: true },
|
|
@@ -1496,7 +1495,6 @@ var SyntheticDataSource = class {
|
|
|
1496
1495
|
severity: a.severity,
|
|
1497
1496
|
originatorToken: a.originatorToken,
|
|
1498
1497
|
lastValue: a.lastValue,
|
|
1499
|
-
message: a.message,
|
|
1500
1498
|
raisedTime: raised,
|
|
1501
1499
|
clearedTime: a.state === "CLEARED" ? raised : null,
|
|
1502
1500
|
acknowledgedTime: a.acknowledged ? raised : null,
|