Commits
2026-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