@bytebrand/export-cars 1.16.0 → 1.16.1
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/dist/constants/modix/vehicle-class.constant.js +1 -1
- package/dist/formats/modix-xml.builder.js +2 -7
- package/dist/formats/modix-xml.builder.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/constants/modix/vehicle-class.constant.ts +1 -1
- package/src/formats/modix-xml.builder.ts +2 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bytebrand/export-cars",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.1",
|
|
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": "
|
|
63
|
+
"gitHead": "176c968f9007bf8291198d399c82981869307f5b"
|
|
64
64
|
}
|
|
@@ -10,7 +10,7 @@ export const VehicleClassList: IModixItemsList = {
|
|
|
10
10
|
selector_vehicleClass_motorBike: { value: 'Motorbike', atributes: { id: 5 } },
|
|
11
11
|
selector_vehicleClass_forklift: { value: 'Forklift', atributes: { id: 13 } },
|
|
12
12
|
selector_vehicleClass_camperVan: { value: 'Caravan', atributes: { id: 4 } },
|
|
13
|
-
selector_vehicleClass_car: { value: 'Passenger car', atributes: { id:
|
|
13
|
+
selector_vehicleClass_car: { value: 'Passenger car', atributes: { id: 1 } },
|
|
14
14
|
selector_vehicleClass_trailer: { value: 'Trailer', atributes: { id: 8 } },
|
|
15
15
|
selector_vehicleClass_bus: { value: 'Bus', atributes: { id: 11 } },
|
|
16
16
|
selector_unknown: { value: 'Passenger car', atributes: { id: 1 } },
|
|
@@ -136,16 +136,10 @@ export class ModixXmlBuilder extends XMLBuilderBase {
|
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
mapImages(imageData: imageItem) {
|
|
139
|
-
let item = `\n<media>\n<images url="${imageData.url}">\n`;
|
|
139
|
+
let item = `\n<media>\n<images url="${imageData.url}/">\n`;
|
|
140
140
|
|
|
141
|
-
item += '\n<meta>\n';
|
|
142
141
|
imageData.imageList.forEach(image => {
|
|
143
|
-
item += `<
|
|
144
|
-
});
|
|
145
|
-
item += '\n</meta>\n';
|
|
146
|
-
|
|
147
|
-
imageData.imageList.forEach(image => {
|
|
148
|
-
item += `<media name="${image.atributes?.name}" position="${image.atributes?.position}" />\n`;
|
|
142
|
+
item += `<image name="${image.atributes?.name}" />\n`;
|
|
149
143
|
});
|
|
150
144
|
|
|
151
145
|
item += '\n</images>\n</media>';
|