@justair/justair-library 7.8.0 → 7.9.0-alpha.4abb754
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,
|
|
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
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: {
|