@justair/justair-library 4.8.13 → 4.8.15
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/package.json +1 -1
- package/src/index.js +2 -0
- package/src/models/monitors.js +2 -1
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
Monitors,
|
|
19
19
|
monitorAuditSchema,
|
|
20
20
|
MonitorAudit,
|
|
21
|
+
parametersEnum,
|
|
21
22
|
} from "./models/monitors.js";
|
|
22
23
|
import { organizationsSchema, Organizations } from "./models/organizations.js";
|
|
23
24
|
import {
|
|
@@ -103,6 +104,7 @@ export {
|
|
|
103
104
|
eventsAuditSchema,
|
|
104
105
|
MonitorAudit,
|
|
105
106
|
monitorAuditSchema,
|
|
107
|
+
parametersEnum,
|
|
106
108
|
AlertsAudit,
|
|
107
109
|
Alerts,
|
|
108
110
|
alertsSchema,
|
package/src/models/monitors.js
CHANGED
|
@@ -15,6 +15,7 @@ const parametersEnum = [
|
|
|
15
15
|
"DP",
|
|
16
16
|
"CO2",
|
|
17
17
|
"CH4",
|
|
18
|
+
"H2S",
|
|
18
19
|
];
|
|
19
20
|
|
|
20
21
|
const noteSchema = mongoose.Schema({
|
|
@@ -391,4 +392,4 @@ monitorsSchema.pre("updateMany", async function () {
|
|
|
391
392
|
// Create the Monitors model
|
|
392
393
|
const Monitors = mongoose.model("Monitors", monitorsSchema);
|
|
393
394
|
|
|
394
|
-
export { monitorsSchema, Monitors, monitorAuditSchema, MonitorAudit };
|
|
395
|
+
export { monitorsSchema, Monitors, monitorAuditSchema, MonitorAudit, parametersEnum };
|