vhp-mongo-models 2.0.4 → 2.0.6

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.
@@ -5,6 +5,7 @@ module.exports = [
5
5
  group:{type:String,default:''},//names the type of product it is. Would like to use this instead of type
6
6
  system:{type:String,default:''}, //way to link related service items
7
7
  space:{type:String,default:''},
8
+ considerreplace:{type:Boolean,default:false},
8
9
  subspace:{type:String,default:''},
9
10
  quantity:{type:Number,default:1}, //optional qty
10
11
  notes:{type:Array,default:[]},// for better history {tech:'',date:'',ticketId:''}
@@ -6,7 +6,7 @@ module.exports = [
6
6
  ...aticket,
7
7
  status: { type: String, default: 'active' },
8
8
  documents: { type: Array, default: [] },
9
- approval:{type:String,default:'WORKING'}, // WORKING | SENT | APPROVED
9
+ approval:{type:String,default:'PREPARING'}, // WORKING | SENT | APPROVED
10
10
  approvalCode:{type:String,default:''}
11
11
  },{minimize:false}
12
12
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vhp-mongo-models",
3
- "version": "2.0.4",
3
+ "version": "2.0.6",
4
4
  "productName": "VHP Mongo Models",
5
5
  "description": "Mongo Models library to setup Mongoose Schemas",
6
6
  "author": "VHPim",