vhp-mongo-models 2.1.91 → 2.1.92

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.
@@ -4,13 +4,23 @@ let attachment = {
4
4
  }
5
5
 
6
6
  module.exports = [{
7
- dates: { type: Array, default: [] }, // array of date objects
8
- type: { type: String, default: '' }, // 'consult' || 'install' || 'service'
9
- ref: { type: String, default: '' },
10
- status: { type: String, default: '' },
11
- attendees: { type: Array, default: [] }, // array of ids
7
+ id:{type:String,default:''},
8
+ board:{type:String,default:''},
9
+ coid:{type:String,default:''}, //required
10
+ dept:{type:String,default:''}, //would like to require
11
+ hhid:{type:String,default:''}, //
12
+ type: { type: String, default: '' }, //'consult' || 'install' || 'service'
13
+ title: { type: String, default: '' },
14
+ status: { type: String, default: '' }, //
15
+ dates: { type: Array, default: [] }, // array of date objects. dates[0]=start dates[1]=end
16
+ lead: {type: String, default:''}, //to tie to the lead
17
+ workRef: { type: String, default: '' }, // refrence to work can only be tied to one piece of work
18
+ workType: {type:String, default:''}, // the type of work refrenced
19
+
20
+ ref:{type:String, default:''}, //was the connection to projects - can be moved to workRef
21
+ wonum: { type: String, default: '' },//do not need -> was the refrerence the wo
22
+
23
+ attendees: { type: Array, default: [] }, // array of user names
12
24
  attachments: { type: Array, default: [] }, // array of 'attachment's
13
25
  notes: { type: String, default: '' },
14
- title: { type: String, default: '' },
15
- wonum: { type: String, default: '' },
16
26
  }]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vhp-mongo-models",
3
- "version": "2.1.91",
3
+ "version": "2.1.92",
4
4
  "productName": "VHP Mongo Models",
5
5
  "description": "Mongo Models library to setup Mongoose Schemas",
6
6
  "author": "VHPim",