chore: history page support sharedworker.js

This commit is contained in:
duorameng
2026-05-09 08:42:15 +08:00
parent 95a7de599e
commit 9c174d8db2
10 changed files with 92 additions and 25 deletions
+16
View File
@@ -0,0 +1,16 @@
export interface WSMessage {
type: string
timestamp: number
payload: any
}
export interface TaskStatusPayload {
id: string
task_id: string
task_name: string
status: string
duration: number
start_time: string | null
end_time: string | null
error?: string | null
}