🎨 fix imports with new build script
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import { Payload, Send, setHeartbeat, WebSocket } from "@fosscord/gateway";
|
||||
import { Payload, WebSocket } from "@fosscord/gateway";
|
||||
import { setHeartbeat } from "../util/Heartbeat";
|
||||
import { Send } from "../util/Send";
|
||||
|
||||
export async function onHeartbeat(this: WebSocket, data: Payload) {
|
||||
// TODO: validate payload
|
||||
|
||||
@@ -1,14 +1,6 @@
|
||||
import { WebSocket, Payload } from "@fosscord/gateway";
|
||||
import {
|
||||
WebSocket,
|
||||
CLOSECODES,
|
||||
Payload,
|
||||
OPCODES,
|
||||
genSessionId,
|
||||
} from "@fosscord/gateway";
|
||||
import {
|
||||
Channel,
|
||||
checkToken,
|
||||
Guild,
|
||||
Intents,
|
||||
Member,
|
||||
ReadyEventData,
|
||||
@@ -16,16 +8,15 @@ import {
|
||||
Session,
|
||||
EVENTEnum,
|
||||
Config,
|
||||
dbConnection,
|
||||
PublicMemberProjection,
|
||||
PublicMember,
|
||||
ChannelType,
|
||||
PublicUser,
|
||||
PrivateUserProjection,
|
||||
} from "@fosscord/util";
|
||||
import { Send } from "../util/Send";
|
||||
import { CLOSECODES, OPCODES } from "../util/Constants";
|
||||
import { genSessionId } from "../util/SessionUtils";
|
||||
import { setupListener } from "../listener/listener";
|
||||
import { IdentifySchema } from "../schema/Identify";
|
||||
import { Send } from "@fosscord/gateway/util/Send";
|
||||
// import experiments from "./experiments.json";
|
||||
const experiments: any = [];
|
||||
import { check } from "./instanceOf";
|
||||
|
||||
@@ -5,7 +5,9 @@ import {
|
||||
Role,
|
||||
} from "@fosscord/util";
|
||||
import { LazyRequest } from "../schema/LazyRequest";
|
||||
import { WebSocket, Send, OPCODES, Payload } from "@fosscord/gateway";
|
||||
import { Send } from "../util/Send";
|
||||
import { OPCODES } from "../util/Constants";
|
||||
import { WebSocket, Payload } from "@fosscord/gateway";
|
||||
import { check } from "./instanceOf";
|
||||
import "missing-native-js-functions";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user