@justair/justair-library 4.8.25 → 4.8.26

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justair/justair-library",
3
- "version": "4.8.25",
3
+ "version": "4.8.26",
4
4
  "description": "JustAir Internal Library",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -158,6 +158,7 @@ measurementsSchema.pre("findOneAndDelete", async function () {
158
158
  });
159
159
 
160
160
  // Pre-hook to log multiple document deletions
161
+ /*
161
162
  measurementsSchema.pre("deleteMany", async function () {
162
163
  console.log("deleteMany pre-hook triggered");
163
164
  const docsToDelete = await this.model.find(this.getFilter()).lean();
@@ -183,6 +184,7 @@ measurementsSchema.pre("deleteMany", async function () {
183
184
  await Audit.insertMany(auditLogs);
184
185
  }
185
186
  });
187
+ */
186
188
 
187
189
  // Pre-hook to log a single document deletion (for deleteOne)
188
190
  measurementsSchema.pre("deleteOne", async function () {
@@ -11,6 +11,8 @@ const parametersEnum = [
11
11
  "CO",
12
12
  "NO",
13
13
  "PM1",
14
+ "WS",
15
+ "WD",
14
16
  "WS And Direction",
15
17
  "DP",
16
18
  "CO2",