@autofleet/node-common 1.1.76 → 1.1.78

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": "@autofleet/node-common",
3
- "version": "1.1.76",
3
+ "version": "1.1.78",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "coverage": "jest --coverage --forceExit --runInBand",
package/settings/map.js CHANGED
@@ -125,9 +125,16 @@ module.exports = {
125
125
  name: 'Reroute interval',
126
126
  description: 'Vehicles reroute interval in seconds',
127
127
  type: 'number',
128
- defaultValue: 300,
128
+ defaultValue: 0,
129
129
  context: 'route',
130
130
  },
131
+ CS_PLACEMENT_AMOUNT_OF_INTERVALS_TO_PREDICT: {
132
+ name: 'Amount of intervals to predict for cs placement',
133
+ description: 'Amount of intervals to predict for cs placement',
134
+ type: 'number',
135
+ defaultValue: 0,
136
+ context: 'placement',
137
+ }
131
138
  LOOK_FOR_ADDRESS: {
132
139
  name: 'Should fill missing addresses',
133
140
  description: 'If true request from map provider geocode for the stop point',
@@ -262,6 +269,13 @@ module.exports = {
262
269
  defaultValue: 60 * 60 * 1000,
263
270
  context: 'operation',
264
271
  },
272
+ REFUEl_ELECTRIC_BEFORE_PARKING_METERS: {
273
+ name: 'Refuel instead of parking in defleet threshold ',
274
+ description: 'Minimum range in meters',
275
+ type: 'number',
276
+ defaultValue: 100000,
277
+ context: 'pit-stop',
278
+ },
265
279
  MAXIMUN_RIDES_PER_TILE_ON_MAP: {
266
280
  name: 'Maximum rides per tile on CC map',
267
281
  description: '',
package/.npmignore DELETED
@@ -1,4 +0,0 @@
1
- node_modules
2
- logs
3
- coverage
4
- !.vscode/launch.json