jubnl
d499b4505f
refactor(server): plan 4 — retire the safely-convertible string-form where conditions (rule 23)
...
Places.repository.ts's existsInTrip/findInTrip/findRaw/reclaimInputs/
listByTripAndIds and Trips.repository.ts's findPublicForShare all took a
raw `.where('col = ?', [v])` string condition even though their id/trip_id
parameters were already plain `number` (or, for findPublicForShare,
narrowed to `number` here after confirming its one caller,
share.service.ts#getSharedTripData, only ever passes a number sourced
from a Kysely-typed share_tokens row, never an unconverted URL param) —
converted all six to MikroORM's typed `.where({...})` filter object.
The remaining raw string-form conditions in src/db/repositories/** are
NOT converted here: they are the `number | string` raw-bind seam
findAccessible/isOwner's own docstrings describe (trip_id/id threaded
through unconverted from req.params), which structurally requires the
deferred guard-level single toRowId parse to land first — narrowing any
of those methods' signatures now would either break the '0x10'/'007' id
parity those docstrings warn about, or duplicate the deferred item's own
work ahead of it landing.
2026-09-24 06:10:33 +02:00
..
2026-09-24 00:39:08 +02:00
2026-09-22 20:32:35 +02:00
2026-09-24 02:39:30 +02:00
2026-09-23 06:27:21 +02:00
2026-09-22 18:01:45 +02:00
2026-09-24 04:47:29 +02:00
2026-09-22 07:54:09 +02:00
2026-09-24 04:59:54 +02:00
2026-09-22 18:01:45 +02:00
2026-09-23 22:58:03 +02:00
2026-09-24 01:24:21 +02:00
2026-08-07 19:58:12 +02:00
2026-09-22 18:01:45 +02:00
2026-09-24 04:47:29 +02:00
2026-09-23 12:22:36 +02:00
2026-09-22 15:08:49 +02:00
2026-09-01 17:18:10 +02:00
2026-09-22 05:21:48 +02:00
2026-09-24 04:47:29 +02:00
refactor(realtime, systemNotices, addons, airports, audit, categories, permissions, query-helpers, tags, transit, trip-membership): async DB-touching methods; transactions through UnitOfWork
2026-09-21 20:48:03 +02:00
refactor(realtime, systemNotices, addons, airports, audit, categories, permissions, query-helpers, tags, transit, trip-membership): async DB-touching methods; transactions through UnitOfWork
2026-09-21 20:48:03 +02:00
2026-09-23 06:41:03 +02:00
2026-09-22 07:54:09 +02:00
2026-09-21 19:01:38 +02:00
2026-09-22 00:00:53 +02:00
2026-09-22 02:21:06 +02:00
2026-09-22 03:29:33 +02:00
2026-09-24 04:59:54 +02:00
2026-09-24 04:59:54 +02:00
2026-06-16 22:22:45 +02:00
2026-09-24 00:39:08 +02:00
2026-07-25 15:12:38 +02:00
2026-09-22 05:21:48 +02:00
2026-09-24 05:47:21 +02:00
2026-08-17 14:48:23 +02:00
2026-09-15 21:36:34 +02:00
2026-09-21 21:23:10 +02:00
2026-09-24 04:47:29 +02:00
2026-07-27 22:34:41 +02:00
2026-09-24 04:47:29 +02:00
2026-09-22 19:39:01 +02:00
2026-09-22 02:32:59 +02:00
2026-08-07 15:14:14 +02:00
2026-09-24 04:59:54 +02:00
2026-08-22 11:33:55 +02:00
2026-09-22 02:32:59 +02:00
2026-09-24 02:58:37 +02:00
2026-09-21 22:39:11 +02:00
2026-09-23 19:14:57 +02:00
2026-09-24 05:47:21 +02:00
2026-09-24 05:47:21 +02:00
2026-09-24 00:39:08 +02:00
2026-09-24 05:47:21 +02:00
refactor(realtime, systemNotices, addons, airports, audit, categories, permissions, query-helpers, tags, transit, trip-membership): async DB-touching methods; transactions through UnitOfWork
2026-09-21 20:48:03 +02:00
2026-09-24 04:47:29 +02:00
2026-09-24 04:47:29 +02:00
2026-09-22 00:00:53 +02:00
2026-09-23 14:44:10 +02:00
2026-08-12 14:14:37 +02:00
2026-09-23 21:02:35 +02:00
2026-09-24 05:47:21 +02:00
2026-09-19 21:01:45 +02:00
2026-09-22 01:49:18 +02:00
2026-09-24 04:47:29 +02:00
2026-08-25 19:26:38 +02:00
2026-06-16 22:22:45 +02:00
2026-09-01 17:18:10 +02:00
2026-09-22 22:37:49 +02:00
2026-09-23 04:46:18 +02:00
2026-09-23 04:46:18 +02:00
2026-09-24 04:47:29 +02:00
2026-09-23 23:55:52 +02:00
2026-09-24 04:47:29 +02:00
2026-09-23 23:55:52 +02:00
2026-09-14 23:00:57 +02:00
2026-09-22 06:11:41 +02:00
2026-09-14 23:00:57 +02:00
2026-09-22 07:54:09 +02:00
2026-09-24 04:47:29 +02:00
2026-09-23 14:44:10 +02:00
2026-09-24 05:47:21 +02:00
2026-09-21 22:39:11 +02:00
2026-09-24 05:47:21 +02:00
2026-09-24 02:04:32 +02:00
2026-08-07 18:42:53 +02:00
2026-09-24 02:04:32 +02:00
2026-09-22 14:06:57 +02:00
2026-08-22 11:33:55 +02:00
2026-08-11 16:42:49 +02:00
refactor(realtime, systemNotices, addons, airports, audit, categories, permissions, query-helpers, tags, transit, trip-membership): async DB-touching methods; transactions through UnitOfWork
2026-09-21 20:48:03 +02:00
2026-09-23 15:12:13 +02:00
2026-09-22 01:08:22 +02:00
2026-09-24 05:47:21 +02:00
2026-09-16 11:08:07 +02:00
2026-09-23 14:44:10 +02:00
2026-09-24 04:59:54 +02:00
2026-09-01 17:18:10 +02:00
2026-09-24 04:59:54 +02:00
2026-09-24 04:47:29 +02:00
2026-09-24 04:47:29 +02:00
2026-09-24 04:47:29 +02:00
2026-09-24 04:47:29 +02:00
2026-08-20 15:43:27 +02:00
2026-09-24 04:47:29 +02:00
2026-09-03 10:47:08 +02:00
2026-09-22 04:16:07 +02:00
2026-09-24 04:47:29 +02:00
2026-08-15 16:42:27 +02:00
2026-08-15 16:42:27 +02:00
2026-09-12 18:02:57 +02:00
2026-08-15 16:42:27 +02:00
2026-08-15 16:42:27 +02:00
2026-09-07 18:36:54 +02:00
2026-09-24 00:39:08 +02:00
2026-09-24 00:39:08 +02:00
2026-09-24 00:39:08 +02:00
2026-09-22 01:49:18 +02:00
2026-09-24 00:39:08 +02:00
2026-09-24 00:39:08 +02:00
2026-09-24 00:39:08 +02:00
2026-09-07 18:36:54 +02:00
2026-09-24 00:39:08 +02:00
2026-09-07 14:05:33 +02:00
2026-09-24 00:39:08 +02:00
2026-09-24 00:39:08 +02:00
2026-09-24 00:39:08 +02:00
2026-09-21 21:54:19 +02:00
2026-09-07 18:36:54 +02:00
2026-09-24 04:59:54 +02:00
2026-09-21 23:27:01 +02:00
2026-09-24 05:47:21 +02:00
2026-09-22 02:32:59 +02:00
2026-09-20 12:48:44 +02:00
2026-09-22 02:32:59 +02:00
2026-09-22 19:39:01 +02:00
2026-09-24 04:47:29 +02:00
2026-09-24 04:47:29 +02:00
2026-09-22 02:32:59 +02:00
2026-09-24 04:47:29 +02:00
2026-09-24 04:47:29 +02:00
2026-09-04 12:15:53 +02:00
2026-09-04 12:15:53 +02:00
2026-09-21 22:41:35 +02:00
2026-09-24 04:47:29 +02:00
2026-08-15 16:42:27 +02:00
2026-09-20 12:48:44 +02:00
2026-09-24 04:59:54 +02:00
2026-09-22 02:21:06 +02:00
2026-09-24 04:47:29 +02:00
2026-09-24 04:59:54 +02:00
2026-09-24 04:47:29 +02:00
2026-09-23 17:58:20 +02:00
2026-08-10 17:08:54 +02:00
2026-09-24 04:47:29 +02:00
2026-09-23 06:41:03 +02:00
2026-08-10 12:24:15 +02:00
2026-09-23 06:41:03 +02:00
2026-09-23 06:41:03 +02:00
2026-09-21 23:27:01 +02:00
2026-09-21 23:27:01 +02:00
2026-09-23 06:41:03 +02:00
2026-09-22 05:21:48 +02:00
2026-09-24 04:47:29 +02:00
2026-07-30 17:07:12 +02:00
2026-08-12 17:43:22 +02:00
2026-09-24 04:47:29 +02:00
2026-09-24 04:59:54 +02:00
2026-09-22 20:23:11 +02:00
2026-09-22 05:21:48 +02:00
2026-09-22 01:21:29 +02:00
2026-09-21 21:23:10 +02:00
2026-09-23 06:41:03 +02:00
2026-08-23 11:59:12 +02:00
2026-09-24 05:47:21 +02:00
2026-08-10 19:54:46 +02:00
2026-09-24 04:59:54 +02:00
2026-09-24 04:47:29 +02:00
2026-09-22 06:11:41 +02:00
2026-09-24 05:47:21 +02:00
2026-09-12 11:23:09 +02:00
2026-09-20 13:54:31 +02:00
2026-09-23 14:44:10 +02:00
2026-09-23 17:44:48 +02:00
2026-09-23 14:44:10 +02:00
2026-09-24 03:53:44 +02:00
2026-09-12 12:24:33 +02:00
2026-09-22 06:11:41 +02:00
2026-09-23 17:44:48 +02:00
2026-09-21 10:13:40 +02:00
2026-09-24 00:39:08 +02:00
2026-09-24 04:47:29 +02:00
2026-09-22 01:08:22 +02:00
2026-09-21 21:23:10 +02:00
2026-09-24 04:47:29 +02:00
2026-09-21 21:54:19 +02:00
2026-09-24 04:47:29 +02:00
2026-09-02 21:06:42 +02:00
2026-09-09 10:11:36 +02:00
2026-08-25 19:26:38 +02:00
2026-09-24 04:47:29 +02:00
2026-09-23 22:58:03 +02:00
2026-09-22 01:16:50 +02:00
2026-09-23 22:58:03 +02:00
refactor(realtime, systemNotices, addons, airports, audit, categories, permissions, query-helpers, tags, transit, trip-membership): async DB-touching methods; transactions through UnitOfWork
2026-09-21 20:48:03 +02:00
2026-09-24 04:47:29 +02:00
2026-09-23 17:58:20 +02:00
2026-09-23 01:48:27 +02:00
2026-09-21 23:27:01 +02:00
2026-09-24 05:47:21 +02:00
2026-09-24 04:47:29 +02:00
2026-08-01 12:45:35 +02:00
2026-09-24 04:59:54 +02:00
2026-09-24 04:47:29 +02:00
2026-09-23 17:58:20 +02:00
2026-09-24 06:10:33 +02:00
2026-09-20 13:54:31 +02:00
2026-09-23 01:48:27 +02:00
2026-09-23 04:46:18 +02:00
2026-09-24 05:47:21 +02:00
2026-09-23 09:33:48 +02:00
2026-09-24 05:47:21 +02:00
2026-09-23 04:46:18 +02:00
2026-09-24 05:47:21 +02:00
2026-09-23 08:31:36 +02:00
2026-09-24 05:47:21 +02:00
2026-09-24 05:47:21 +02:00
2026-09-24 04:59:54 +02:00
2026-09-24 04:47:29 +02:00
2026-09-22 03:29:33 +02:00
2026-09-24 04:47:29 +02:00
2026-08-23 11:59:12 +02:00
2026-08-15 16:42:27 +02:00
2026-08-18 22:24:29 +02:00
2026-09-22 19:39:01 +02:00
2026-08-23 11:59:12 +02:00
2026-08-10 13:38:26 +02:00
2026-08-11 09:58:37 +02:00
2026-06-16 22:22:45 +02:00