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
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
}]
|