@justair/justair-library 4.5.1 → 4.5.2
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 +7 -2
package/package.json
CHANGED
package/src/models/monitors.js
CHANGED
|
@@ -131,7 +131,9 @@ const monitorsSchema = mongoose.Schema(
|
|
|
131
131
|
"blue sky",
|
|
132
132
|
"aq mesh",
|
|
133
133
|
"quant aq",
|
|
134
|
-
"airgradient"
|
|
134
|
+
"airgradient",
|
|
135
|
+
"oizom",
|
|
136
|
+
"metOne"
|
|
135
137
|
],
|
|
136
138
|
},
|
|
137
139
|
monitorType: String,
|
|
@@ -194,7 +196,10 @@ const monitorsSchema = mongoose.Schema(
|
|
|
194
196
|
default: [],
|
|
195
197
|
},
|
|
196
198
|
applyCorrections: { type: Boolean, default: false },
|
|
197
|
-
pausedParameters: {
|
|
199
|
+
pausedParameters: {
|
|
200
|
+
type: [{ parameter: String, timestamp: Date, isPaused: Boolean }],
|
|
201
|
+
default: [],
|
|
202
|
+
},
|
|
198
203
|
},
|
|
199
204
|
{
|
|
200
205
|
timestamps: true,
|