Files
TREK/shared/src
jubnl ee13b6325b feat(shared): extend the admin request contracts
Twelve schemas covering every AdminController body, replacing the four that were
imported nowhere. Deliberately permissive wherever AdminService already owns a
bespoke 400 ('Invalid role', 'Name is required', 'Username, email and password
are required'), so those errors survive byte-identically: role is z.string() not
an enum, template name and the user-create fields stay optional. savePermissions
keeps z.unknown() values so unknown levels still land in the 200 response's
skipped list; addon config and the notification-preference matrix stay records so
per-addon keys and plugin channels are not stripped; devTestNotification's inApp
accepts the object form the dev panel actually sends.
2026-08-02 15:07:23 +02:00
..
2026-06-16 22:22:45 +02:00
2026-07-18 22:13:52 +02:00
2026-07-11 22:28:32 +02:00
2026-06-18 20:13:30 +02:00
2026-06-18 20:13:30 +02:00
2026-06-18 20:13:30 +02:00
2026-06-16 22:22:45 +02:00
2026-07-05 01:13:04 +02:00
2026-06-18 20:13:30 +02:00
2026-06-18 20:13:30 +02:00
2026-06-18 20:13:30 +02:00
2026-06-18 20:13:30 +02:00
2026-06-18 20:13:30 +02:00
2026-06-18 20:13:30 +02:00
2026-07-18 22:13:52 +02:00
2026-06-18 20:13:30 +02:00