feat(places): remember the Amap id a place was found by

The provider produced amap_poi_id, but nothing stored it, so a saved
Amap place could never be reopened against Amap. The column now travels
with google_place_id and osm_id through the shared contract, the place
insert and update, duplicate matching, the assignment projections, the
trip copy and the three place MCP tools.
This commit is contained in:
Maurice
2026-09-12 13:26:28 +02:00
parent 1944bdf0a5
commit 43a6c30325
10 changed files with 45 additions and 31 deletions
+2
View File
@@ -75,6 +75,7 @@ export interface Place {
google_place_id?: string | null;
google_ftid?: string | null;
osm_id?: string | null;
amap_poi_id?: string | null;
route_geometry?: string | null;
route_color?: string | null;
website?: string | null;
@@ -350,6 +351,7 @@ export interface AssignmentRow extends DayAssignment {
google_place_id: string | null;
google_ftid: string | null;
osm_id: string | null;
amap_poi_id: string | null;
website: string | null;
phone: string | null;
stop_type: string | null;