mirror of
https://github.com/yusufipk/YTChatHub.git
synced 2026-09-11 10:56:17 +00:00
feat: Add combined start script, correct backend path, and allow nullable poll event.
This commit is contained in:
@@ -17,7 +17,7 @@ export type ContinuationState = {
|
||||
|
||||
export type ChatEventEmitter = EventEmitter<{
|
||||
message: (message: ChatMessage) => void;
|
||||
poll: (poll: Poll) => void;
|
||||
poll: (poll: Poll | null) => void;
|
||||
error: (error: unknown) => void;
|
||||
}>;
|
||||
|
||||
|
||||
+2
-1
@@ -12,7 +12,8 @@
|
||||
"build": "pnpm build:backend && pnpm build:client",
|
||||
"build:backend": "tsc -p backend/tsconfig.build.json",
|
||||
"build:client": "next build client",
|
||||
"start:backend": "node backend/dist/index.js",
|
||||
"start": "concurrently \"pnpm start:backend\" \"pnpm start:client\"",
|
||||
"start:backend": "node backend/dist/backend/src/index.js",
|
||||
"start:client": "next start client",
|
||||
"lint": "next lint client"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user