picker-db 4.3.0 → 4.3.2

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.
@@ -118,6 +118,14 @@ module.exports = (connection) => {
118
118
  required: true,
119
119
  enum: ALLOWED_STATUS_TEXTS,
120
120
  },
121
+ driverLocation: {
122
+ lat: {
123
+ type: Number
124
+ },
125
+ lng: {
126
+ type: Number
127
+ }
128
+ }
121
129
  }, { _id: false });
122
130
  // #endregion Internal Schemas
123
131
 
@@ -6,19 +6,19 @@ module.exports = (connection) => {
6
6
  min: {
7
7
  type: Number,
8
8
  min: 0,
9
- max: 1000,
9
+ max: 9999,
10
10
  default: 0,
11
11
  },
12
12
  max: {
13
13
  type: Number,
14
14
  min: 0,
15
- max: 1000,
15
+ max: 9999,
16
16
  default: 100,
17
17
  },
18
18
  amount: {
19
19
  type: Number,
20
20
  min: 0,
21
- max: 1000,
21
+ max: 999999,
22
22
  default: 0,
23
23
  },
24
24
  }, { _id: false });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "picker-db",
3
- "version": "4.3.0",
3
+ "version": "4.3.2",
4
4
  "description": "Picker DB services",
5
5
  "main": "index.js",
6
6
  "scripts": {