@bytebrand/export-cars 1.22.13 → 1.22.14
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
|
@@ -281,10 +281,11 @@ export class GoogleTransformer {
|
|
|
281
281
|
};
|
|
282
282
|
const fuel = get(car, 'consumption.fuel', 'selector_unknown');
|
|
283
283
|
let engine = get(available, fuel)
|
|
284
|
-
|
|
284
|
+
const hybridPlugin = car?.engineData?.hybridPlugin;
|
|
285
|
+
if (engine === 'Hybrid' && hybridPlugin)
|
|
285
286
|
engine = 'plug-in_hybrid';
|
|
286
287
|
|
|
287
|
-
return
|
|
288
|
+
return engine;
|
|
288
289
|
}
|
|
289
290
|
|
|
290
291
|
private mapBodyStyle(car: DataSchemes.Car): string {
|