@justair/justair-library 4.8.14 → 4.8.16
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/models/monitors.js +3 -0
package/package.json
CHANGED
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({
|
|
@@ -247,6 +248,8 @@ const monitorsSchema = mongoose.Schema(
|
|
|
247
248
|
default: [],
|
|
248
249
|
},
|
|
249
250
|
applyCorrections: { type: Boolean, default: false },
|
|
251
|
+
// Optional readKey for private API access (e.g. PurpleAir)
|
|
252
|
+
readKey: { type: String, required: false },
|
|
250
253
|
pausedParameters: {
|
|
251
254
|
type: [{ parameter: String, timestamp: Date, isPaused: Boolean }],
|
|
252
255
|
default: [],
|