vhp-mongo-models 2.0.9 → 2.1.0

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.
@@ -23,11 +23,16 @@ let ticketTime = {
23
23
  hours:{type:Number,default:0},
24
24
  revenuePer:{type:Number,default:0}
25
25
  }
26
+ let conform = {
27
+ interested:{type:Boolean,default:false},
28
+ purchased:{type:Boolean,default:false},
29
+ details:{type:Object,default:{}}
30
+ }
26
31
 
27
32
  let ticketFinal = {
28
33
  showReplacement:{type:Boolean,default:false},
29
34
  summary:{type:Object,default:{}}, //a static version of the presentation
30
- conform:{type:Object,default:{}},
35
+ conform:conform,
31
36
  invoice:ticketInvoice,
32
37
  signature:{type:String,default:''},
33
38
  emailed:{type:Boolean,default:false},
@@ -45,13 +50,7 @@ let ticketFinal = {
45
50
  }
46
51
 
47
52
  module.exports = ticketFinal
48
- /* conform
49
- {
50
- interested:{type:Bool,default:false},
51
- purchased:{type:Bool,default:false},
52
- details:contract
53
- }
54
- */
53
+
55
54
  /*
56
55
  timelog = {
57
56
  <tech>:[{driveTime,startTime,endTime}]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vhp-mongo-models",
3
- "version": "2.0.9",
3
+ "version": "2.1.0",
4
4
  "productName": "VHP Mongo Models",
5
5
  "description": "Mongo Models library to setup Mongoose Schemas",
6
6
  "author": "VHPim",