@justair/justair-library 4.14.0-alpha.c91c8ec → 4.14.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"measurements.d.ts","sourceRoot":"","sources":["../../src/models/measurements.js"],"names":[],"mappings":"AA8FA,qCAyBE;AAgJF,+BAAwE;AA5KxE,wBAAmD;AAzBnD,8BAuBE;AAjEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCE;qBA5DmB,UAAU"}
1
+ {"version":3,"file":"measurements.d.ts","sourceRoot":"","sources":["../../src/models/measurements.js"],"names":[],"mappings":"AA+FA,qCA0BE;AAgJF,+BAAwE;AA7KxE,wBAAmD;AA1BnD,8BAwBE;AAlEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCE;qBA5DmB,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"monitors.d.ts","sourceRoot":"","sources":["../../src/models/monitors.js"],"names":[],"mappings":"AAiLA,iCAwHE;AA6IF,2BAA4D;AAvS5D,qCA4BE;AAGF,+BAAwE;AA7KxE,sCAsBE"}
1
+ {"version":3,"file":"monitors.d.ts","sourceRoot":"","sources":["../../src/models/monitors.js"],"names":[],"mappings":"AAiLA,iCA0HE;AA6IF,2BAA4D;AAzS5D,qCA4BE;AAGF,+BAAwE;AA7KxE,sCAsBE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justair/justair-library",
3
- "version": "4.14.0-alpha.c91c8ec",
3
+ "version": "4.14.0",
4
4
  "description": "JustAir Internal Library",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -83,6 +83,7 @@ const auditSchema = mongoose.Schema(
83
83
  },
84
84
  annotations: [annotationSchema], // Include annotations in audit trail
85
85
  isCorrected: { type: Boolean },
86
+ isFog: { type: Boolean },
86
87
  },
87
88
  {
88
89
  timestamps: true,
@@ -113,6 +114,7 @@ const measurementsSchema = mongoose.Schema(
113
114
  default: [],
114
115
  },
115
116
  isCorrected: { type: Boolean },
117
+ isFog: { type: Boolean },
116
118
  },
117
119
  {
118
120
  timestamps: true,
@@ -291,6 +291,8 @@ const monitorsSchema = mongoose.Schema(
291
291
  },
292
292
  // Optional Clarity node ID (1:1 relationship with Node-S sensor)
293
293
  nodeId: { type: String },
294
+ // Active alarms from Clarity node (keyed by alarmType)
295
+ activeAlarms: { type: Object },
294
296
  },
295
297
  {
296
298
  timestamps: true,