@justair/justair-library 4.8.29 → 4.8.30

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.29",
3
+ "version": "4.8.30",
4
4
  "description": "JustAir Internal Library",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -213,6 +213,9 @@ const monitorsSchema = mongoose.Schema(
213
213
  },
214
214
  sponsor: { type: mongoose.Types.ObjectId, ref: "Organizations" },
215
215
  sponsorName: String,
216
+ // Sponsored By, Managed By (both optional strings for display purposes)
217
+ sponsoredBy: String,
218
+ managedBy: String,
216
219
  monitorLatitude: Number,
217
220
  monitorLongitude: Number,
218
221
  gpsLocation: {
@@ -234,7 +237,8 @@ const monitorsSchema = mongoose.Schema(
234
237
  latestAQI_PM2_5: Number,
235
238
  notes: [noteSchema],
236
239
  calculatedAverages: [Object],
237
- images: [String],
240
+ image: String,
241
+ images: [String], // deprecated as of 2/9/26
238
242
  isActive: { type: Boolean, default: true },
239
243
  parameterThresholds: Object,
240
244
  completionPercentageThresholds: Object,