fix(frontend): regen api-types.ts — add POI-score fields (#1709)
All checks were successful
CI / changes (pull_request) Successful in 6s
CI / backend-tests (pull_request) Has been skipped
CI / frontend-tests (pull_request) Successful in 47s
CI / openapi-codegen-check (pull_request) Successful in 3m7s

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
This commit is contained in:
bot-backend 2026-06-17 22:22:02 +03:00
parent 57800b24e9
commit d44f78c33e

View file

@ -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"][];
};