This commit is contained in:
2023-06-26 21:51:50 +08:00
parent 4a9687a045
commit ddf3a0a878
11 changed files with 157 additions and 14 deletions

7
server/config.ts Normal file
View File

@@ -0,0 +1,7 @@
import { ConfigType } from "../config.ts";
export type ConfigClientSocketData = { type: "close" };
export type ConfigSeverSocketData = { type: "close" } | {
type: "cfg";
cfg: ConfigType;
};