mirror of https://github.com/kortix-ai/suna.git
chore: fix type
This commit is contained in:
parent
50ea2da1ac
commit
3e2f442a17
|
@ -1,18 +1,16 @@
|
||||||
export interface TaskListData {
|
export interface TaskListData {
|
||||||
tasks?: Task[]
|
tasks: Task[]
|
||||||
updated_tasks?: Task[]
|
|
||||||
deleted_tasks?: Task[]
|
|
||||||
filter?: string
|
filter?: string
|
||||||
total?: number
|
total?: number
|
||||||
[key: string]: any
|
message?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Task {
|
export interface Task {
|
||||||
id: string
|
id: string
|
||||||
content: string
|
content: string
|
||||||
status: "pending" | "completed" | "cancelled"
|
status: "pending" | "completed" | "cancelled"
|
||||||
created_at?: string
|
created_at: string
|
||||||
updated_at?: string
|
updated_at: string
|
||||||
completed_at?: string
|
completed_at?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue