fix(catalog): keep only Hyundai/Kia/Nissan on de (Ford/Polestar not de-fixable)

Tested Ford & Polestar on de: Ford returns a real variant tree but drilling can't
reach parts (needs dedicated Ford variant-drill logic); Polestar returns 0
categories (data gap). Revert them to tr; keep the verified Hyundai/Kia/Nissan
de-routing.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-05 16:49:20 +03:00
parent dda3931933
commit 678a33a57a

View File

@@ -49,15 +49,11 @@ export interface P4BrandHooks {
// Brands whose parts are licensed only on the de (account 2) PL24 subscription —
// the tr account serves a NOT_LOGGED_IN_DEMO page for these. All P4 fetches for
// these services are routed to de (see fetchP4Page + resolveAccount).
const HYUNDAI_KIA_NISSAN_DE = new Set([
"hyundai_parts",
"kia_parts",
"nissan_parts",
// TEMP under test: do Ford/Polestar also work on de?
"fordp_parts",
"fordt_parts",
"polestar_parts",
]);
const HYUNDAI_KIA_NISSAN_DE = new Set(["hyundai_parts", "kia_parts", "nissan_parts"]);
// Tested on de but NOT helped: Ford (de gives a real variant tree but the current
// drill logic can't reach parts through Ford's engine/transmission variant nodes —
// needs dedicated Ford variant-drill work); Polestar (de returns 0 categories — data
// gap). Fiat stays on de via resolveAccount but its model-list needs launchCatalog.do.
@Injectable()
export class PL24FordLegacyService {