aboutsummaryrefslogtreecommitdiffstats
path: root/backend/src/model/websocket.ts
diff options
context:
space:
mode:
Diffstat (limited to 'backend/src/model/websocket.ts')
-rw-r--r--backend/src/model/websocket.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/backend/src/model/websocket.ts b/backend/src/model/websocket.ts
new file mode 100644
index 0000000..bb2ae8d
--- /dev/null
+++ b/backend/src/model/websocket.ts
@@ -0,0 +1,7 @@
+import { WebSocket } from 'ws';
+
+export interface CoopWebSocket extends WebSocket {
+ clientId: string;
+ sessionId: string;
+ nextMoveTimestamp: number;
+}