@bluedot-innovation/models 5.1.15 → 5.1.16

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/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 5.1.16
2
+ - Added option field `superAdmin` to User collection
3
+
1
4
  ## 5.1.15
2
5
  - Updated TMP and Blueconnect models to latest file structure
3
6
 
package/models/User.js CHANGED
@@ -39,7 +39,8 @@ let UserSchema = new mongoose.Schema({
39
39
  type: String,
40
40
  required: true,
41
41
  validator: helpers.validateUUIDv4
42
- }
42
+ },
43
+ superAdmin: Boolean
43
44
  },
44
45
  {collection: 'user'})
45
46
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bluedot-innovation/models",
3
- "version": "5.1.15",
3
+ "version": "5.1.16",
4
4
  "main": "Models.js",
5
5
  "scripts": {
6
6
  "lint": "./node_modules/.bin/eslint -c .eslintrc.js ./models/*.js ./__tests__/**/*.js ./__tests__/**/**/*.js ./schemas/*.js",