summary refs log tree commit diff
path: root/src/util/WebSocket.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/WebSocket.ts')
-rw-r--r--src/util/WebSocket.ts23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/util/WebSocket.ts b/src/util/WebSocket.ts
deleted file mode 100644

index 1bd0ff2f..00000000 --- a/src/util/WebSocket.ts +++ /dev/null
@@ -1,23 +0,0 @@ -import { Intents, Permissions } from "@fosscord/server-util"; -import WS, { Server, Data } from "ws"; -import { Deflate } from "zlib"; -import { Channel } from "amqplib"; - -interface WebSocket extends WS { - version: number; - user_id: string; - encoding: "etf" | "json"; - compress?: "zlib-stream"; - shard_count?: bigint; - shard_id?: bigint; - deflate?: Deflate; - heartbeatTimeout: NodeJS.Timeout; - readyTimeout: NodeJS.Timeout; - intents: Intents; - sequence: number; - rabbitCh?: Channel & { queues: Record<string, string> }; - permissions: Record<string, Permissions>; -} - -export default WebSocket; -export { Server, Data };