Initial commit: Setup serveur underground et structure

This commit is contained in:
WhyKorp's server
2026-04-30 11:44:03 +00:00
parent 28cbcf258b
commit da221a792c
968 changed files with 175350 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
declare const PACKET_TYPES: any;
declare const PACKET_TYPES_REVERSE: any;
declare const ERROR_PACKET: Packet;
export { PACKET_TYPES, PACKET_TYPES_REVERSE, ERROR_PACKET };
export type PacketType = "open" | "close" | "ping" | "pong" | "message" | "upgrade" | "noop" | "error";
export type RawData = any;
export interface Packet {
type: PacketType;
options?: {
compress: boolean;
};
data?: RawData;
}
export type BinaryType = "nodebuffer" | "arraybuffer" | "blob";