| 28 | } |
| 29 | |
| 30 | export interface Task { |
| 31 | id: number; |
| 32 | status: "pending" | "in_progress" | "completed" | "failed" | "aborted"; |
| 33 | task_name: string; |
| 34 | scraper_name: string; |
| 35 | scraper_type: string; |
| 36 | is_all_task: boolean; |
| 37 | priority: number; |
| 38 | is_large: boolean; |
| 39 | parent_task_id: number | null; |
| 40 | duration: number | null; |
| 41 | started_at: string | null; |
| 42 | finished_at: string | null; |
| 43 | data: Record<string, any>; |
| 44 | metadata: Record<string, any>; |
| 45 | result: any; |
| 46 | result_count: number; |
| 47 | created_at: string; |
| 48 | updated_at: string; |
| 49 | } |
| 50 | |
| 51 | |
| 52 | export interface PaginatedResponse<T> { |
nothing calls this directly
no outgoing calls
no test coverage detected