From d44f78c33e434b4b4124c6af6506743e450d45b7 Mon Sep 17 00:00:00 2001 From: bot-backend Date: Wed, 17 Jun 2026 22:22:02 +0300 Subject: [PATCH] =?UTF-8?q?fix(frontend):=20regen=20api-types.ts=20?= =?UTF-8?q?=E2=80=94=20add=20POI-score=20fields=20(#1709)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit openapi-codegen-check падал СИСТЕМНО на каждом backend-PR: committed frontend/src/lib/api-types.ts отставал от backend OpenAPI на 2 поля, добавленных в POI-score схемы (PR ~#1486 normalize POI weighted score), но не перегенерённых: - PoiScoreItem.score_contribution - PoiScoreResponse.poi_weighted_score Контент взят 1:1 из authoritative CI-диффа (openapi-typescript + prettier). Возвращает gate openapi-codegen-check в зелёное для всех PR. Refs #1709 --- frontend/src/lib/api-types.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/lib/api-types.ts b/frontend/src/lib/api-types.ts index 9d45a9f7..e3e059ed 100644 --- a/frontend/src/lib/api-types.ts +++ b/frontend/src/lib/api-types.ts @@ -4168,6 +4168,8 @@ export interface components { distance_m: number; /** Weight */ weight: number; + /** Score Contribution */ + score_contribution: number; /** Address */ address: string | null; }; @@ -4177,6 +4179,8 @@ export interface components { cad_num: string; /** Radius M */ radius_m: number; + /** Poi Weighted Score */ + poi_weighted_score: number; /** Top Poi */ top_poi: components["schemas"]["PoiScoreItem"][]; }; -- 2.45.3