Marc-André Bombeck
6770bf3b7f
feat(api): add emergency profile read and write route
...
GET/PATCH /api/anamnesis/emergency, wrapped in apiHandler. The PATCH
validates a partial body with per-field length caps, builds the Prisma
data field-by-field from the parsed input (never a spread), narrows the
user from requireAuth rather than the body, encrypts the free text on
write, and audits the change. The GET decrypts fail-soft for the form
prefill. Registers the OpenAPI operations and schema. An integration
test reads the row back to prove the write lands.
2026-08-10 05:32:59 +02:00
..
2026-08-08 21:43:28 +02:00
2026-08-08 21:14:23 +02:00
2026-08-08 13:54:24 +02:00
2026-07-26 22:27:48 +02:00
2026-08-07 00:01:27 +02:00
2026-08-01 10:51:01 +02:00
2026-08-10 05:32:59 +02:00
2026-08-08 15:17:05 +02:00
2026-08-06 00:19:35 +02:00
2026-06-19 22:20:31 +02:00
2026-08-04 17:11:40 +02:00
2026-07-19 11:52:34 +02:00
2026-08-04 17:11:40 +02:00
2026-08-09 14:57:12 +02:00
2026-08-04 17:11:40 +02:00
2026-08-06 00:19:35 +02:00
2026-07-21 01:34:29 +02:00
2026-08-08 14:38:26 +02:00
2026-08-08 15:06:10 +02:00
2026-07-26 14:37:57 +02:00
2026-08-08 21:43:28 +02:00
2026-08-07 00:01:27 +02:00
2026-08-03 21:12:35 +02:00
2026-07-28 21:11:43 +02:00
2026-07-27 22:53:43 +02:00
2026-08-04 17:11:40 +02:00
2026-07-29 15:01:13 +02:00
2026-07-21 00:05:03 +02:00
2026-08-06 00:19:35 +02:00
2026-08-08 00:49:15 +02:00
2026-07-25 18:07:13 +02:00
2026-08-07 21:40:41 +02:00
2026-07-27 14:35:33 +02:00
2026-06-19 22:20:31 +02:00
2026-08-08 14:08:09 +02:00
2026-08-07 04:42:51 +02:00
2026-08-06 17:52:10 +02:00
2026-08-02 16:36:25 +02:00
2026-08-09 14:18:56 +02:00
2026-08-07 22:19:43 +02:00
2026-08-07 14:03:09 +02:00
2026-08-06 00:19:35 +02:00
2026-07-30 19:54:49 +02:00
2026-06-19 22:20:31 +02:00
2026-08-09 14:57:12 +02:00
2026-08-08 09:58:50 +02:00
2026-07-29 13:57:07 +02:00
2026-06-11 02:19:27 +02:00
2026-08-06 00:19:35 +02:00
2026-07-26 17:09:03 +02:00
2026-07-27 22:53:43 +02:00
2026-08-04 17:11:40 +02:00
2026-07-27 22:53:43 +02:00
2026-08-09 06:53:57 +02:00
2026-08-06 04:59:25 +02:00
2026-08-06 03:52:49 +02:00
2026-06-28 15:18:20 +02:00
2026-08-07 01:00:02 +02:00
2026-08-01 11:38:16 +02:00
2026-08-04 17:11:40 +02:00
2026-07-27 22:53:43 +02:00
2026-08-08 07:46:14 +02:00
2026-08-06 05:37:05 +02:00
2026-07-19 00:51:29 +02:00
2026-07-30 23:25:18 +02:00
2026-08-08 21:11:21 +02:00
2026-06-30 18:08:57 +02:00
2026-07-27 22:53:43 +02:00
2026-07-27 22:53:43 +02:00
2026-08-08 09:28:12 +02:00