vhp-mongo-models 1.4.0 → 1.4.2

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.
@@ -16,6 +16,7 @@ module.exports=[
16
16
  dept: {type:String,default:''},
17
17
  repTo: { type: String, default: '' }, // empID
18
18
  title: { type: String, default: '' },
19
+ type:{type:String,default:''},
19
20
  teams: { type: Array, default: '' }, //remove
20
21
  jobDesc: { type: String, default: '' },
21
22
 
@@ -9,8 +9,5 @@ module.exports=[
9
9
  filename: { type: String, default: '' },
10
10
  type: { type: String, default: '' },
11
11
  contentType: { type: String, default: 'application/pdf' }
12
- },
13
- {
14
- strict:false
15
12
  }
16
13
  ]
@@ -9,8 +9,5 @@ module.exports=[
9
9
  filename: { type: String, default: '' },//does not have to be unique right now, but try to
10
10
  type: { type: String, default: '' },
11
11
  contentType: { type: String, default: 'application/pdf' }
12
- },
13
- {
14
- strict:false
15
12
  }
16
13
  ]
@@ -22,6 +22,5 @@ module.exports = [
22
22
  location:{type:String,default:''},
23
23
  area:{type:String,default:''},
24
24
  status:{type:String,default:''}
25
- },
26
- {strict:false}
25
+ }
27
26
  ]
@@ -12,6 +12,5 @@ module.exports = [
12
12
  runLast:{type:Number},
13
13
  pull:{type:Array, default:[]},
14
14
  statics:{type:Object, default:{}}
15
- },
16
- { strict: false }
15
+ }
17
16
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vhp-mongo-models",
3
- "version": "1.4.0",
3
+ "version": "1.4.2",
4
4
  "productName": "VHP Mongo Models",
5
5
  "description": "Mongo Models library to setup Mongoose Schemas",
6
6
  "author": "VHPim",