fix(frontend): regen api-types.ts — add POI-score fields (#1709)
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:
parent
57800b24e9
commit
d44f78c33e
1 changed files with 4 additions and 0 deletions
|
|
@ -4168,6 +4168,8 @@ export interface components {
|
||||||
distance_m: number;
|
distance_m: number;
|
||||||
/** Weight */
|
/** Weight */
|
||||||
weight: number;
|
weight: number;
|
||||||
|
/** Score Contribution */
|
||||||
|
score_contribution: number;
|
||||||
/** Address */
|
/** Address */
|
||||||
address: string | null;
|
address: string | null;
|
||||||
};
|
};
|
||||||
|
|
@ -4177,6 +4179,8 @@ export interface components {
|
||||||
cad_num: string;
|
cad_num: string;
|
||||||
/** Radius M */
|
/** Radius M */
|
||||||
radius_m: number;
|
radius_m: number;
|
||||||
|
/** Poi Weighted Score */
|
||||||
|
poi_weighted_score: number;
|
||||||
/** Top Poi */
|
/** Top Poi */
|
||||||
top_poi: components["schemas"]["PoiScoreItem"][];
|
top_poi: components["schemas"]["PoiScoreItem"][];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue