@justair/justair-library 4.8.41 → 4.8.43
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/README +1 -1
- package/package.json +1 -1
- package/src/models/monitors.js +3 -0
- package/src/models/samples.js +2 -1
package/README
CHANGED
package/package.json
CHANGED
package/src/models/monitors.js
CHANGED
|
@@ -3,10 +3,12 @@ const parametersEnum = [
|
|
|
3
3
|
"NO2",
|
|
4
4
|
"SO2",
|
|
5
5
|
"PM2.5",
|
|
6
|
+
"PM2_5",
|
|
6
7
|
"PM10",
|
|
7
8
|
"Temperature",
|
|
8
9
|
"Humidity",
|
|
9
10
|
"OZONE",
|
|
11
|
+
"O3",
|
|
10
12
|
"VOC",
|
|
11
13
|
"CO",
|
|
12
14
|
"NO",
|
|
@@ -187,6 +189,7 @@ const monitorsSchema = mongoose.Schema(
|
|
|
187
189
|
"metOne",
|
|
188
190
|
"aqMesh",
|
|
189
191
|
"kunak",
|
|
192
|
+
"airLink",
|
|
190
193
|
],
|
|
191
194
|
},
|
|
192
195
|
monitorType: String,
|
package/src/models/samples.js
CHANGED
|
@@ -53,6 +53,7 @@ const samplesSchema = mongoose.Schema(
|
|
|
53
53
|
parameterUnit: { type: String },
|
|
54
54
|
upperDetectionLimit: { type: Number },
|
|
55
55
|
lowerDetectionLimit: { type: Number },
|
|
56
|
+
uploadedByName: { type: String }, // Name of the user who uploaded the sample
|
|
56
57
|
},
|
|
57
58
|
{
|
|
58
59
|
timestamps: true,
|
|
@@ -178,4 +179,4 @@ samplesSchema.pre("updateMany", async function () {
|
|
|
178
179
|
|
|
179
180
|
// Create the SampleSites model
|
|
180
181
|
const Samples = mongoose.model("Samples", samplesSchema);
|
|
181
|
-
export { samplesSchema, Samples, SamplesAudit, samplesAuditSchema, sampleParameterReferenceConcentrations };
|
|
182
|
+
export { samplesSchema, Samples, SamplesAudit, samplesAuditSchema, sampleParameterReferenceConcentrations };
|