@bytebrand/export-cars 1.22.3 → 1.22.5
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
|
@@ -115,8 +115,11 @@ export class GoogleTransformer {
|
|
|
115
115
|
|
|
116
116
|
private getTitle(car: DataSchemes.Car): string {
|
|
117
117
|
const model = toString(get(car, 'mainData.model', ''));
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
const brand = trim(this.getBrand(car));
|
|
119
|
+
const subModel = trim(this.getTrim(car))
|
|
120
|
+
const year = this.getYear(car);
|
|
121
|
+
|
|
122
|
+
return truncate(trim(escape(join([brand, model, year, subModel], ' '))), { length: 100, separator: ' ' })
|
|
120
123
|
}
|
|
121
124
|
|
|
122
125
|
private processText(input: string) {
|