payservedb 6.7.0 → 6.7.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payservedb",
3
- "version": "6.7.0",
3
+ "version": "6.7.1",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -39,6 +39,18 @@ const powerMeterSchema = new mongoose.Schema({
39
39
  type: Number,
40
40
  default: 0,
41
41
  },
42
+ kwh: {
43
+ type: Number,
44
+ default: 0
45
+ },
46
+ pf: {
47
+ type: Number,
48
+ default: 1.0
49
+ },
50
+ wh: {
51
+ type: Number,
52
+ default: 0
53
+ },
42
54
  lastUpdated: {
43
55
  type: Date,
44
56
  required: true
@@ -95,4 +107,4 @@ const powerMeterSchema = new mongoose.Schema({
95
107
 
96
108
  const PowerMeters = mongoose.model('PowerMeters', powerMeterSchema);
97
109
 
98
- module.exports = PowerMeters;
110
+ module.exports = PowerMeters;