@justair/justair-library 7.8.0-alpha.499111d → 7.8.0-alpha.8f5fa06
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.md
CHANGED
|
@@ -109,7 +109,7 @@ The following parameters were added to `PARAMETERS` and are now included in `par
|
|
|
109
109
|
|
|
110
110
|
These are **not** interchangeable with the bare `T` / `RH` / `DP` ids, which are enclosure-internal readings used only by correction equations and fog detection. Never fall back from one kind to the other. See "Ambient vs internal met parameters" in `CLAUDE.md` before wiring these up.
|
|
111
111
|
|
|
112
|
-
Processing-Engine writes these as of JA-3061 and CalculateAQIService averages them into `monitorProperties.metProperties` as of JA-3626.
|
|
112
|
+
Processing-Engine writes these as of JA-3061 and CalculateAQIService averages them into `monitorProperties.metProperties` as of JA-3626.
|
|
113
113
|
|
|
114
114
|
### New met parameter in 7.8.0
|
|
115
115
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../src/models/users.js"],"names":[],"mappings":"AA8FA,
|
|
1
|
+
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../src/models/users.js"],"names":[],"mappings":"AA8FA,8BA2IE;AAiCF,wBAAmD;AAhQnD,iDAA4D;AAC5D,6CAAmD;AAUnD,4DA0BC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
// Parameters measured by air quality sensors in real time, plus values derived from them.
|
|
2
2
|
// These correspond to the values stored in Monitors.parameters and used across the platform.
|
|
3
|
-
//
|
|
4
|
-
//
|
|
3
|
+
// Most entries are read off a sensor channel. HI and DP are always derived during normalization,
|
|
4
|
+
// and DP_AMB is derived when the supplier does not report dew point. See "Ambient vs internal met
|
|
5
|
+
// parameters" in CLAUDE.md.
|
|
5
6
|
export const PARAMETERS = {
|
|
6
7
|
CO: {
|
|
7
8
|
id: "CO",
|
package/src/models/users.js
CHANGED
|
@@ -147,6 +147,10 @@ const usersSchema = mongoose.Schema(
|
|
|
147
147
|
optInEmail: { type: Boolean, default: false },
|
|
148
148
|
isActive: { type: Boolean, default: true },
|
|
149
149
|
hasOnboarded: { type: Boolean, default: false },
|
|
150
|
+
// JA-2670: "this account no longer needs the V2 what's-new screen".
|
|
151
|
+
// No backfill, so old accounts have no value at all: filter with
|
|
152
|
+
// { hasSeenV2WhatsNew: { $ne: true } }, never { hasSeenV2WhatsNew: false }.
|
|
153
|
+
hasSeenV2WhatsNew: { type: Boolean, default: false },
|
|
150
154
|
isSharingLocation: { type: Boolean, default: false },
|
|
151
155
|
toolTips: Object,
|
|
152
156
|
alertPreferenceLevel: {
|