payservedb 4.6.9 → 4.7.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payservedb",
3
- "version": "4.6.9",
3
+ "version": "4.7.0",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -29,9 +29,6 @@ const commonAreaElectricityReadingSchema = new mongoose.Schema({
29
29
  consumptionKWh: {
30
30
  type: Number,
31
31
  required: true
32
- },
33
- total: {
34
- type: Number
35
32
  }
36
33
  }, {
37
34
  timestamps: true
@@ -11,11 +11,11 @@ const commonAreaGeneratorReadingSchema = new mongoose.Schema({
11
11
  type: Date,
12
12
  required: true
13
13
  },
14
- openingReadingHrs: {
14
+ openingReadingLtrs: {
15
15
  type: Number,
16
16
  required: true
17
17
  },
18
- closingReadingHrs: {
18
+ closingReadingLtrs: {
19
19
  type: Number,
20
20
  required: true
21
21
  },
@@ -23,7 +23,7 @@ const commonAreaGeneratorReadingSchema = new mongoose.Schema({
23
23
  type: Number,
24
24
  required: true
25
25
  },
26
- fuelLevel: {
26
+ totalFuelLevel: {
27
27
  type: String,
28
28
  trim: true
29
29
  },