From fa31e7f8db61efe085f7d8a317e6a8640ebb3f46 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Thu, 12 Aug 2021 20:18:05 +0200 Subject: :sparkles: gateway --- src/util/WebSocket.ts | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 src/util/WebSocket.ts (limited to 'src/util/WebSocket.ts') 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 }; - permissions: Record; -} - -export default WebSocket; -export { Server, Data }; -- cgit 1.5.1