vhp-mongo-models 1.4.2 → 1.4.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.
@@ -7,7 +7,6 @@ module.exports=[
7
7
  twoFactors: [{ type: String, contact: String }],
8
8
  devices: { type: Array, default: [] },
9
9
  active: { type: Boolean, default: true },
10
- admin: { type: Boolean, default: false },
11
10
  resetPswrd: { type: Date, default: '' },
12
11
  tier:{type:String,default:''}
13
12
  }
@@ -8,16 +8,13 @@ module.exports=[
8
8
  {
9
9
  devID: { type: String, default: '' },
10
10
  empID: { type: String, default: '' },
11
- name: { type: String, default: '' }, //get ride of redundant
12
11
  type: { type: String, default: '' },
13
- group: {type:String,default:''}, //tags as an array of custom whatever
14
12
  active:{type:Boolean,default:true},
15
13
 
16
14
  manf: { type: String, default: '' },
17
15
  model: { type: String, default: '' },
18
16
  serial: { type: String, default: '' },
19
17
 
20
- line: { type:String, default:'' },
21
18
  simRef: { type: String, default: '' }, //relace with line
22
19
  imei:{type:String,default:''},
23
20
 
@@ -17,8 +17,8 @@ module.exports=[
17
17
  empID: {type:String,default:''}, //sync with device
18
18
  esim:{type:Boolean,default:false},
19
19
  number: {type:String,default:undefined},//is undefined to keep unique even if it is not filled in yet
20
- group: {type:String,default:''},
21
20
  plan:{type:Number,default:''}, //the amount a month
22
- active: {type:Boolean,default:true}
21
+ active: {type:Boolean,default:true},
22
+ esim:{type:Boolean,default:true}
23
23
  }
24
24
  ]
@@ -4,7 +4,6 @@ module.exports=[
4
4
  id:{type:String,default:''},//unique?
5
5
  user: {type:String,default:''},//unique
6
6
  pswrd: {type:String,default:''},
7
- profile:{type:String,default:''},
8
7
  reset:{type:Date,default:''},
9
8
  lock: {type:Boolean,default:false}
10
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vhp-mongo-models",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "productName": "VHP Mongo Models",
5
5
  "description": "Mongo Models library to setup Mongoose Schemas",
6
6
  "author": "VHPim",