vhp-mongo-models 2.1.73 → 2.1.74

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.
@@ -35,7 +35,7 @@ module.exports = [
35
35
  id:{type:String, default:''},
36
36
  coid:{type:String, default:''},
37
37
  dept:{type:String, default:''},
38
- type:{type:String, default:''} //SERVICE | PROJECTS | MEMBERSHIPS
38
+ type:{type:String, default:''} //SERVICE | PROJECT | MEMBERSHIP
39
39
  },
40
40
  desc:{type:String,default:''},
41
41
  notes:{type:Array, default:[]},
@@ -48,5 +48,6 @@ module.exports = [
48
48
  carryover:{type: Date, default: '' },
49
49
  prstvia:{type: String, default: '' },
50
50
  rewards:{type: Boolean, default: false }
51
- }
51
+ },
52
+ {minimize:false}
52
53
  ]
@@ -2,11 +2,11 @@ module.exports = [
2
2
  {
3
3
  //VHP ADD fields
4
4
  hhid:{type:String,default:''}, //must have a hhid
5
+ coid:{type:String,default:''},//need to link from JONAS
5
6
  group:{type:String,default:''},//names the type of product it is. Would like to use this instead of type
6
7
  considerreplace:{type:Date,default:''},
7
8
  quantity:{type:Number,default:1}, //optional qty
8
9
  notes:{type:Array,default:[]},// for better history {tech:'',date:'',ticketId:''}
9
- edits:{type:Object,defualt:{}}, //to track all of the fields that have been changed since sync
10
10
  tags:{type:Array,default:[]},
11
11
 
12
12
  //JONAS props
@@ -45,6 +45,7 @@ module.exports = [
45
45
  filt3q:{type:String,default:''}
46
46
 
47
47
 
48
+ // edits:{type:Object,defualt:{}}, //to track all of the fields that have been changed since sync
48
49
  // system:{type:String,default:''}, //way to link related service items
49
50
  // space:{type:String,default:''},
50
51
  // subspace:{type:String,default:''},
@@ -34,7 +34,6 @@ let ticketFinal = {
34
34
  approved:{type:Array,default:[]},
35
35
  conform:conform,
36
36
  invoice:ticketInvoice,
37
- signature:{type:String,default:''},
38
37
  emailed:{type:Array,default:[]}, //was boolean
39
38
  returnVisit:{type:String,default:''}, //change to String, and attach return ticket id
40
39
  returnNotes:{type:String,default:''},
@@ -48,6 +47,7 @@ let ticketFinal = {
48
47
  serviceReferral:{type:Boolean,default:false}, //may not need
49
48
 
50
49
 
50
+ // signature:{type:String,default:''},
51
51
  // officeSubmit:{type:String,default:''},
52
52
  //addlDetails:{type:String,default:''},
53
53
  //timelog:{type:Object,default:{}},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vhp-mongo-models",
3
- "version": "2.1.73",
3
+ "version": "2.1.74",
4
4
  "productName": "VHP Mongo Models",
5
5
  "description": "Mongo Models library to setup Mongoose Schemas",
6
6
  "author": "VHPim",