From 3e2f442a17f0a181df03f5b0a058fbf3fec95830 Mon Sep 17 00:00:00 2001 From: Krishav Raj Singh Date: Wed, 30 Jul 2025 00:23:39 +0530 Subject: [PATCH] chore: fix type --- .../components/thread/tool-views/task-list/_utils.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/frontend/src/components/thread/tool-views/task-list/_utils.ts b/frontend/src/components/thread/tool-views/task-list/_utils.ts index 948557e4..b72fe7c6 100644 --- a/frontend/src/components/thread/tool-views/task-list/_utils.ts +++ b/frontend/src/components/thread/tool-views/task-list/_utils.ts @@ -1,18 +1,16 @@ export interface TaskListData { - tasks?: Task[] - updated_tasks?: Task[] - deleted_tasks?: Task[] + tasks: Task[] filter?: string total?: number - [key: string]: any + message?: string } export interface Task { id: string content: string status: "pending" | "completed" | "cancelled" - created_at?: string - updated_at?: string + created_at: string + updated_at: string completed_at?: string }