feat(journey): entry updates and reorders answer what they replaced

update_journey_entry now answers previous, the entry's earlier values of
exactly the fields it names (a suggestion written up goes back to being
one), and reorder_journey_entries answers previous_order, the ids in the
order they stood in before. Both come from the service the REST routes
use, which now builds an entry's patch in one pure helper; the routes'
bodies are unchanged. The tools' inline zod moves into strict schemas in
@trek/shared.
This commit is contained in:
Maurice
2026-10-24 21:46:43 +02:00
parent 48ff1b3a98
commit 5160bd23d5
8 changed files with 340 additions and 186 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
"src/nest/help/help.mcp.ts": 4,
"src/nest/integrations/airtrail.mcp.ts": 2,
"src/nest/integrations/dawarich.mcp.ts": 13,
"src/nest/journey/journey.mcp.ts": 46,
"src/nest/journey/journey.mcp.ts": 30,
"src/nest/maps/maps.mcp.ts": 18,
"src/nest/memories/memories.mcp.ts": 8,
"src/nest/notifications/notifications.mcp.ts": 2,
+1 -1
View File
@@ -11,7 +11,7 @@
"src/nest/collections/collections.service.ts": 1478,
"src/nest/doc-sync/doc-sync.service.ts": 1060,
"src/nest/doc-sync/providers/synology-drive.client.ts": 1160,
"src/nest/journey/journey-domain.service.ts": 1725,
"src/nest/journey/journey-domain.service.ts": 1659,
"src/nest/places/places.service.ts": 1592,
"src/nest/plugins/plugin-runtime.service.ts": 1463,
"src/nest/plugins/runtime/plugin-sdk.ts": 1093,