@justair/justair-library 7.8.0 → 7.9.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../src/models/users.js"],"names":[],"mappings":"AA8FA,8BAuIE;AAiCF,wBAAmD;AA5PnD,iDAA4D;AAC5D,6CAAmD;AAUnD,4DA0BC"}
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@justair/justair-library",
3
- "version": "7.8.0",
3
+ "version": "7.9.0",
4
4
  "description": "JustAir Internal Library",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -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: {