ytptube/ui/@types/tasks.ts
2025-06-13 21:22:55 +03:00

17 lines
354 B
TypeScript

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