26 lines
538 B
TypeScript
26 lines
538 B
TypeScript
export interface FileInfo {
|
|
id: string;
|
|
file_name: string;
|
|
url: string;
|
|
}
|
|
|
|
export interface TaskInfo {
|
|
task_id: string;
|
|
user_id: string;
|
|
status: string;
|
|
created_at: string;
|
|
started_at: string | null;
|
|
completed_at: string | null;
|
|
failure_reason: string | null;
|
|
template_id: number;
|
|
source_files: FileInfo[];
|
|
output_video_file: FileInfo | null;
|
|
}
|
|
|
|
export interface TaskItem {
|
|
info: TaskInfo;
|
|
generate_method: string;
|
|
job_id: number;
|
|
requires_manual_review: boolean;
|
|
manual_review_status: string | null;
|
|
} |