This commit is contained in:
Rizky
2024-07-29 18:45:11 +07:00
parent 6df0d20576
commit 5f97ccb5c4
3 changed files with 27 additions and 9 deletions
+7 -1
View File
@@ -1,4 +1,4 @@
import { Server, WebSocketHandler } from "bun";
import { Server, Subprocess, WebSocketHandler } from "bun";
import { Logger } from "pino";
import { RadixRouter } from "radix3";
import { PrismaClient } from "../../app/db/db";
@@ -47,6 +47,12 @@ export const g = global as unknown as {
log: Logger;
firebaseInit: boolean;
firebase: admin.app.App;
main: {
process: null | Subprocess;
restart: {
timeout: any;
};
};
notif: {
db: Database;
};