ytptube/ui/@types/tasks.ts
2025-07-08 22:13:45 +03:00

18 lines
378 B
TypeScript

type task_item = {
id: string,
name: string,
url: string,
preset?: string,
folder?: string,
template?: string,
cli?: string,
timer?: string,
in_progress?: boolean,
auto_start?: boolean,
}
type exported_task = task_item & { _type: string, _version: string }
type error_response = { error: string }
export type { task_item, exported_task, error_response };