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