vhp-mongo-models 2.1.995 → 2.1.996

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.
@@ -2,11 +2,11 @@
2
2
  const aticket = require('./subs/ticket.js')
3
3
 
4
4
  module.exports = [
5
- {
6
- ...aticket,
7
- status: { type: String, default: 'active' },
8
- documents: { type: Array, default: [] }, //remove?
9
- approval:{type:String,default:'PREPARING'}, // SENT | APPROVED
10
- approvalCode:{type:String,default:''}
11
- },{minimize:false}
5
+ {
6
+ ...aticket,
7
+ status: { type: String, default: 'active' },
8
+ documents: { type: Array, default: [] }, //remove?
9
+ approval: { type: String, default: 'PREPARING' }, // SENT | APPROVED
10
+ approvalCode: { type: String, default: '' }
11
+ }, { minimize: false }
12
12
  ]
@@ -5,9 +5,9 @@ const aticket = require('./subs/ticket.js')
5
5
  "status": 1
6
6
  }*/
7
7
  module.exports = [
8
- {
9
- ...aticket,
10
- status: { type: String, default: 'complete' }, // active, complete, archived
11
- documents: { type: Array, default: [] } //could get rid of
12
- },{minimize:false}
8
+ {
9
+ ...aticket,
10
+ status: { type: String, default: 'complete' }, // active, complete, archived
11
+ documents: { type: Array, default: [] } //could get rid of
12
+ }, { minimize: false }
13
13
  ]
@@ -1,7 +1,9 @@
1
1
  module.exports = [{
2
+ hhid: { type: String, default: '' },
3
+ coid: { type: String, default: '' },
4
+ dept: { type: String, default: '' },
2
5
  ticket: { type: String, default: '' },
3
6
  tech: { type: String, default: '' },
4
- hhid: { type: String, default: '' },
5
7
  datesubmitted: { type: Date, default: '' },
6
8
  dateorder: { type: Date, default: '' },
7
9
  datereceived: { type: Date, default: '' },
@@ -1,24 +1,24 @@
1
1
  module.exports = [
2
- {
3
- FormID: { type: String, default: '' },
4
- TechID: { type: String, default: '' },
5
- TechLName: { type: String, default: '' },
6
- TechFName: { type: String, default: '' },
7
- Date: { type: Date, default: '' },
8
- WO: { type: String, default: '' },
9
- Address: { type: String, default: '' },
10
- CustLName: { type: String, default: '' },
11
- CustFName: { type: String, default: '' },
12
- ReferTo: { type: String, default: '' },
13
- SpiffFor: { type: String, default: '' },
14
- status: { type: String, default: '' },
15
- paid: { type: String, default: '' },
16
- comments: { type: Array, default: [] },
17
- closedate: { type: Date, default: '' },
18
- reportmonth: { type: String, default: '' },
19
- reportid: { type: String, default: '' },
20
- lastdate: { type: Date, default: '' },
21
- editor: { type: Array, defualt: [] },
22
- reportStatus: { type: String, deafult: '' }
23
- }
2
+ {
3
+ FormID: { type: String, default: '' },
4
+ TechID: { type: String, default: '' },
5
+ TechLName: { type: String, default: '' },
6
+ TechFName: { type: String, default: '' },
7
+ Date: { type: Date, default: '' },
8
+ WO: { type: String, default: '' },
9
+ Address: { type: String, default: '' },
10
+ CustLName: { type: String, default: '' },
11
+ CustFName: { type: String, default: '' },
12
+ ReferTo: { type: String, default: '' },
13
+ SpiffFor: { type: String, default: '' },
14
+ status: { type: String, default: '' },
15
+ paid: { type: String, default: '' },
16
+ comments: { type: Array, default: [] },
17
+ closedate: { type: Date, default: '' },
18
+ reportmonth: { type: String, default: '' },
19
+ reportid: { type: String, default: '' },
20
+ lastdate: { type: Date, default: '' },
21
+ editor: { type: Array, default: [] },
22
+ reportStatus: { type: String, default: '' }
23
+ }
24
24
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vhp-mongo-models",
3
- "version": "2.1.995",
3
+ "version": "2.1.996",
4
4
  "productName": "VHP Mongo Models",
5
5
  "description": "Mongo Models library to setup Mongoose Schemas",
6
6
  "author": "VHPim",