mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-03 09:38:54 +00:00
feat(shared): WS event contract registry
TREK_WS_EVENTS: 65 trip-scoped + 29 user-scoped events with Zod payload schemas transcribed from the emitting call sites; derived name unions and payload types; plugin: namespace reserved as the escape hatch. 8 payload-drift shapes modeled as unions and flagged.
This commit is contained in:
@@ -47,6 +47,9 @@ export * from './oidc/oidc.schema';
|
||||
export * from './oauth/oauth.schema';
|
||||
export * from './admin/admin.schema';
|
||||
|
||||
// Realtime WS event contract registry (event names + payload schemas)
|
||||
export * from './realtime/events.schema';
|
||||
|
||||
// Sanitisation helpers — used by the client today, scoped here so the server
|
||||
// has them ready if rich-text input ever ships.
|
||||
export * from './sanitize/sanitize';
|
||||
|
||||
Reference in New Issue
Block a user