chore: history page support sharedworker.js
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user