mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-06 02:34:21 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user