@autofleet/node-common 1.1.70 → 1.1.71

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/settings/map.js +8 -15
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autofleet/node-common",
3
- "version": "1.1.70",
3
+ "version": "1.1.71",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "coverage": "jest --coverage --forceExit --runInBand",
package/settings/map.js CHANGED
@@ -121,13 +121,6 @@ module.exports = {
121
121
  defaultValue: 300,
122
122
  context: 'route',
123
123
  },
124
- LOOK_FOR_ADDRESS: {
125
- name: 'Should fill missing addresses',
126
- description: 'If true request from map provider geocode for the stop point',
127
- type: 'boolean',
128
- defaultValue: false,
129
- context: 'route',
130
- },
131
124
  METERS_FOR_CALC_NEW_ROUTE: {
132
125
  name: 'Meters for re-calculation route',
133
126
  description: 'The distance im meters to recalc the route',
@@ -142,6 +135,13 @@ module.exports = {
142
135
  defaultValue: 50000,
143
136
  context: 'fuel',
144
137
  },
138
+ MIN_TO_ELECTRIC_FUEL: {
139
+ name: 'Maximum time for electric fuel',
140
+ description: '',
141
+ type: 'number',
142
+ defaultValue: 15,
143
+ context: 'fuel',
144
+ },
145
145
  DRIVER_MAX_MIN_TO_FUEL: {
146
146
  name: 'Maximum time for fuel',
147
147
  description: 'The maximum time in minutes for driver done with fuel',
@@ -187,18 +187,11 @@ module.exports = {
187
187
  },
188
188
  PLACEMENT_STRATEGY_NAME: { // TODO: per fleet
189
189
  name: 'Placement Strategy Name',
190
- description: 'The name of the strategy to compute the placement of vehicles',
190
+ description: 'The name of the strategy to compute the placment of vehicles',
191
191
  type: 'string',
192
192
  defaultValue: 'min-fleet-dist-to-fill-close-max-demand-tiles',
193
193
  context: 'placement',
194
194
  },
195
- CS_CRON_TIME: {
196
- name: 'Car Sharing Cron',
197
- description: 'Car sharing placement interval cron setting',
198
- type: 'string',
199
- defaultValue: '0 */12 * * *',
200
- context: 'placement',
201
- },
202
195
  DRIVER_MAX_MINUTES_TO_COME_BACK: {
203
196
  name: 'Parking threshold',
204
197
  description: 'Minuets before the end of the shift for vehicles to get parking',