🎨 remove long relatives paths -> short module paths

This commit is contained in:
Flam3rboy
2021-09-12 21:09:29 +02:00
parent 7eea37d184
commit 60535f5159
79 changed files with 1633 additions and 261 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ var erlpack: any;
try {
erlpack = require("erlpack");
} catch (error) {}
import { Payload } from "../util/Constants";
import { Payload } from "@fosscord/gateway/util/Constants";
import WebSocket from "./WebSocket";
+1 -3
View File
@@ -1,7 +1,6 @@
import { Intents, Permissions } from "@fosscord/util";
import WS, { Server, Data } from "ws";
import WS from "ws";
import { Deflate } from "zlib";
import { Channel } from "amqplib";
interface WebSocket extends WS {
version: number;
@@ -21,4 +20,3 @@ interface WebSocket extends WS {
}
export default WebSocket;
export { Server, Data };
+5
View File
@@ -0,0 +1,5 @@
export * from "./Constants";
export * from "./Send";
export * from "./SessionUtils";
export * from "./setHeartbeat";
export * from "./WebSocket";