Add features: custom server and websocket. Minor refactoring

This commit is contained in:
2026-03-21 07:42:38 +01:00
parent 1611c845b9
commit 98d3cf7da7
29 changed files with 321 additions and 286 deletions
+12
View File
@@ -1,5 +1,17 @@
import bunextInit from "./functions/bunext-init";
import bunextRequestHandler from "./functions/server/bunext-req-handler";
declare const bunext: {
bunextRequestHandler: typeof bunextRequestHandler;
bunextLog: {
info: (msg: string, log?: any) => void;
success: (msg: string, log?: any) => void;
error: (msg: string | Error) => void;
warn: (msg: string) => void;
build: (msg: string) => void;
watch: (msg: string) => void;
server: (url: string) => void;
banner: () => void;
};
bunextInit: typeof bunextInit;
};
export default bunext;