mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-19 13:36:48 +00:00
72fbbd55d4
A note's attachment moved to the trash from the file manager kept showing on the note; the hydration read now skips it, as the chat one already did. The MCP session sweep logged a line every minute while any session was open; it logs only when it cleaned something. The compose file caps the container log, and three test mocks that pointed at modules long gone are removed.
15 lines
803 B
TypeScript
15 lines
803 B
TypeScript
/**
|
|
* The transport's public surface, for code outside the Nest container.
|
|
*
|
|
* The implementation moved to nest/realtime: the connection lifecycle and the
|
|
* handshake are RealtimeGateway, the wire protocol is TrekWsAdapter, and the
|
|
* socket registry is ws-state.ts. This file stays because it is the import path
|
|
* the rest of the tree knows, including the more than 160 test files that `vi.mock` it to
|
|
* assert on broadcasts. Repointing them all would be a large diff that proves
|
|
* nothing, and this re-export keeps every one of those mocks working.
|
|
*
|
|
* `setupWebSocket` is gone: the server is created by the adapter now, when Nest
|
|
* initialises the gateway, rather than by index.ts after listen().
|
|
*/
|
|
export { broadcast, broadcastToUser, getOnlineUserIds } from './nest/realtime/ws-state';
|