@justair/justair-library 1.3.1 → 1.3.3

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 ADDED
@@ -0,0 +1,9 @@
1
+ # JustAir NPM Library
2
+
3
+ The JustAir NPM Library was created to share MongoDB models and other configurations that will be the same across services in the JustAir ecosystem.
4
+
5
+
6
+ ## Requirements
7
+
8
+
9
+ ##
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@justair/justair-library",
3
- "version": "1.3.1",
3
+ "version": "1.3.3",
4
4
  "description": "JustAir Internal Library",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -18,6 +18,7 @@ const monitorsSchema = mongoose.Schema(
18
18
  "quant aq"
19
19
  ],
20
20
  },
21
+ monitorType: String,
21
22
  monitorIdFromSupplier: String,
22
23
  measurementUpdate: Date,
23
24
  monitorProperties: Object,
@@ -15,6 +15,7 @@ const usersSchema = mongoose.Schema({
15
15
  optInPhone: { type: Boolean, default: true },
16
16
  optInEmail: { type: Boolean, default: true },
17
17
  isActive: { type: Boolean, default: true },
18
+ hasOnboarded: {type: Boolean, default: false}
18
19
  },
19
20
  {
20
21
  timestamps: true