@bytebrand/export-cars 1.11.0 → 1.11.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytebrand/export-cars",
3
- "version": "1.11.0",
3
+ "version": "1.11.2",
4
4
  "description": "",
5
5
  "author": "bytebrand",
6
6
  "license": "UNLICENSED",
@@ -60,5 +60,5 @@
60
60
  "engines": {
61
61
  "node": ">=14.0.0"
62
62
  },
63
- "gitHead": "52e8a6afc5e3392fbdd35795da8fffc24f5ca754"
63
+ "gitHead": "504e45460b7c5f248250077d143378e35cea8d24"
64
64
  }
@@ -9,4 +9,6 @@ export const CategoryList: IModixItemsList = {
9
9
  selector_category_suv: { value: 'Off - Road', atributes: { id: 11 } },
10
10
  selector_category_van: { value: 'Van', atributes: { id: 388 } },
11
11
  selector_category_minibus: { value: 'Minibusses', atributes: { id: 251 } },
12
+ selector_category_transporter: { value: 'Transporter', atributes: { id: 432 } },
13
+ selector_unknown: { value: null },
12
14
  };
@@ -157,7 +157,7 @@ export class ModixTransformer {
157
157
 
158
158
  private getBodyStyleData(car: DataSchemes.Car): IAtributeWrapItem {
159
159
  const body_style_selector = get(car, 'mainData.category', 'selector_unknown');
160
- return get(CategoryList, body_style_selector);
160
+ return get(CategoryList, body_style_selector) || null;
161
161
  }
162
162
 
163
163
  private getPainId(car: DataSchemes.Car): IAtributeWrapItem {