Commits
Commits on
dcf123a8823bd55f0a656ce94de6b865f41dc08aFiltered to src/lib/websocket-messages.tsClear filter2026-08-01
refactor: ♻️ shared WebSocket message parsers and strict page shape - websocket-messages: runtime-validated parsers for exam and board WS frames, replacing the duplicated local unions in exam-room-ws and whiteboard-room-ws; drops the as-any casts on status updates - normalizePage throws PageShapeError on a malformed envelope instead of silently reading it as an empty list, so a backend DTO regression can't masquerade as no dataBurak Boduroğlu · 38703d4
refactor: ♻️ shared WebSocket message parsers and strict page shape - websocket-messages: runtime-validated parsers for exam and board WS frames, replacing the duplicated local unions in exam-room-ws and whiteboard-room-ws; drops the as-any casts on status updates - normalizePage throws PageShapeError on a malformed envelope instead of silently reading it as an empty list, so a backend DTO regression can't masquerade as no data