@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justair/justair-library",
3
- "version": "4.8.13",
3
+ "version": "4.8.15",
4
4
  "description": "JustAir Internal Library",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
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,
@@ -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 };