Maurice
e8d4278899
Give travel stats to the domain whose data it reads
...
getTravelStats sat on AuthService for historical reasons only. It reads
places, trips, visited_countries, place_regions and reservation_endpoints,
and subtracts the countries hidden in Atlas, so every one of its sources is
an Atlas concern.
Keeping it there had a real cost: AuthModule had to import AtlasModule, and
that edge is the reason atlas.mcp.ts reaches AuthService through auth.bridge
instead of injecting it. The direction is now free to reverse.
GET /api/auth/travel-stats keeps its path. The client calls it there, so the
route moves to a small controller in atlas/ that holds the /api/auth prefix
rather than changing the URL. PROFILE-014 runs against the full app and
proves the endpoint is untouched.
KNOWN_COUNTRIES moves along, since getTravelStats was its only reader. Both
bridges construct AuthService by hand and needed the argument dropped.
2026-08-09 22:43:05 +02:00
..
2026-08-07 21:07:14 +02:00
2026-08-07 22:18:14 +02:00
2026-08-07 16:00:12 +02:00
2026-08-07 16:00:12 +02:00
2026-08-07 19:34:31 +02:00
2026-08-07 22:18:14 +02:00
2026-08-07 20:27:19 +02:00
2026-08-07 19:58:12 +02:00
2026-08-07 16:00:12 +02:00
2026-08-07 19:34:31 +02:00
2026-08-07 21:47:21 +02:00
2026-08-09 19:46:00 +02:00
2026-08-07 18:42:53 +02:00
2026-07-28 20:22:01 +02:00
2026-06-16 22:22:45 +02:00
2026-08-09 20:54:39 +02:00
2026-08-09 20:54:39 +02:00
2026-08-09 20:54:39 +02:00
2026-08-09 20:54:39 +02:00
2026-08-09 20:54:39 +02:00
2026-08-09 20:54:39 +02:00
2026-08-09 20:54:39 +02:00
2026-06-16 22:22:45 +02:00
2026-07-25 15:12:38 +02:00
2026-08-09 19:46:00 +02:00
2026-08-07 16:00:12 +02:00
2026-08-09 22:43:05 +02:00
2026-08-09 22:43:05 +02:00
2026-07-27 22:34:41 +02:00
2026-07-27 22:34:41 +02:00
2026-08-07 18:01:24 +02:00
2026-08-09 22:43:05 +02:00
2026-08-07 15:14:14 +02:00
2026-08-09 22:43:05 +02:00
2026-08-09 18:44:59 +02:00
2026-08-09 19:13:21 +02:00
2026-08-09 19:46:00 +02:00
2026-07-29 00:07:51 +02:00
2026-08-08 21:20:36 +02:00
2026-08-07 16:00:12 +02:00
2026-08-07 13:43:38 +02:00
2026-07-26 15:28:55 +02:00
2026-08-08 12:09:56 +02:00
2026-08-08 12:09:56 +02:00
2026-08-09 19:46:00 +02:00
2026-08-07 15:14:14 +02:00
2026-08-07 18:42:53 +02:00
2026-08-07 20:27:19 +02:00
2026-06-16 22:22:45 +02:00
2026-07-25 18:14:37 +02:00
2026-07-25 18:14:37 +02:00
2026-08-09 19:13:21 +02:00
2026-08-09 19:13:21 +02:00
2026-08-09 19:13:21 +02:00
2026-08-07 18:42:53 +02:00
2026-06-16 22:22:45 +02:00
2026-07-27 23:48:05 +02:00
2026-08-09 19:13:21 +02:00
2026-08-07 22:18:14 +02:00
2026-06-16 22:22:45 +02:00
2026-06-16 22:22:45 +02:00
2026-06-16 22:22:45 +02:00
2026-08-08 22:27:56 +02:00
2026-08-08 23:25:57 +02:00
2026-08-08 23:25:57 +02:00
2026-08-07 18:42:53 +02:00
2026-07-29 20:21:09 +02:00
2026-08-07 20:27:19 +02:00
2026-08-08 22:27:56 +02:00
2026-07-27 22:09:08 +02:00
2026-08-08 22:27:56 +02:00
2026-08-08 12:09:56 +02:00
2026-08-08 12:09:56 +02:00
2026-08-02 11:36:36 +02:00
2026-08-08 12:09:56 +02:00
2026-08-08 12:09:56 +02:00
2026-08-06 22:44:59 +02:00
2026-08-08 11:14:24 +02:00
2026-08-01 18:36:07 +02:00
2026-08-09 20:54:39 +02:00
2026-08-09 19:13:21 +02:00
2026-08-03 21:40:02 +02:00
2026-08-08 12:09:56 +02:00
2026-07-27 22:34:41 +02:00
2026-08-08 22:27:56 +02:00
2026-08-07 18:42:53 +02:00
2026-07-30 17:07:12 +02:00
2026-07-30 17:07:12 +02:00
2026-08-07 20:27:19 +02:00
2026-08-07 18:01:24 +02:00
2026-07-29 00:07:51 +02:00
2026-08-09 19:46:00 +02:00
2026-08-02 11:36:06 +02:00
2026-07-26 22:24:14 +02:00
2026-08-07 15:14:14 +02:00
2026-06-16 22:22:45 +02:00
2026-08-07 20:27:19 +02:00
2026-08-08 22:27:56 +02:00
2026-06-16 22:22:45 +02:00
2026-06-16 22:22:45 +02:00
2026-07-26 15:28:55 +02:00
2026-08-08 22:27:56 +02:00
2026-08-09 19:13:21 +02:00
2026-08-09 19:13:21 +02:00
2026-08-01 12:45:35 +02:00
2026-07-29 21:39:51 +02:00
2026-08-08 22:27:56 +02:00
2026-08-09 19:13:21 +02:00
2026-07-27 22:08:37 +02:00
2026-08-08 23:01:40 +02:00
2026-08-08 23:01:40 +02:00
2026-08-08 22:27:56 +02:00
2026-08-08 22:27:56 +02:00
2026-08-08 11:14:24 +02:00
2026-07-27 18:39:47 +02:00
2026-08-02 11:36:06 +02:00
2026-07-26 14:55:13 +02:00
2026-08-07 21:47:21 +02:00
2026-08-08 11:14:24 +02:00
2026-08-08 11:14:24 +02:00
2026-07-25 18:14:37 +02:00
2026-06-16 22:22:45 +02:00