Compare commits

..

2 commits

Author SHA1 Message Date
1de2ef2abf Merge pull request 'fix(frontend): regen api-types.ts — POI-score fields (#1709 systemic CI red)' (#1714) from fix/api-types-poiscore-drift-1709 into main
Some checks are pending
Deploy / deploy (push) Blocked by required conditions
Deploy / changes (push) Successful in 8s
Deploy / build-backend (push) Has been skipped
Deploy / build-worker (push) Has been skipped
Deploy / build-frontend (push) Successful in 5m43s
Reviewed-on: #1714
2026-06-17 19:31:49 +00:00
d44f78c33e 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
2026-06-17 22:22:02 +03:00

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