client types: drop verified, add job on DetailData
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -6,7 +6,7 @@ import { Button } from "~/shared/components/ui/button";
|
|||||||
import { Select } from "~/shared/components/ui/select";
|
import { Select } from "~/shared/components/ui/select";
|
||||||
import { api } from "~/shared/lib/api";
|
import { api } from "~/shared/lib/api";
|
||||||
import { LANG_NAMES, langName } from "~/shared/lib/lang";
|
import { LANG_NAMES, langName } from "~/shared/lib/lang";
|
||||||
import type { MediaItem, MediaStream, ReviewPlan, StreamDecision } from "~/shared/lib/types";
|
import type { Job, MediaItem, MediaStream, ReviewPlan, StreamDecision } from "~/shared/lib/types";
|
||||||
|
|
||||||
// ─── Types ────────────────────────────────────────────────────────────────────
|
// ─── Types ────────────────────────────────────────────────────────────────────
|
||||||
|
|
||||||
@@ -16,6 +16,7 @@ interface DetailData {
|
|||||||
plan: ReviewPlan | null;
|
plan: ReviewPlan | null;
|
||||||
decisions: StreamDecision[];
|
decisions: StreamDecision[];
|
||||||
command: string | null;
|
command: string | null;
|
||||||
|
job: Job | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
// ─── Utilities ────────────────────────────────────────────────────────────────
|
// ─── Utilities ────────────────────────────────────────────────────────────────
|
||||||
|
|||||||
@@ -155,10 +155,6 @@ export interface PipelineJobItem {
|
|||||||
file_path?: string;
|
file_path?: string;
|
||||||
confidence?: "high" | "low";
|
confidence?: "high" | "low";
|
||||||
is_noop?: number;
|
is_noop?: number;
|
||||||
// 1 when an independent post-hoc check confirms the on-disk file matches
|
|
||||||
// the plan (ffprobe after a job, or is_noop=1 on the very first scan).
|
|
||||||
// Renders as the second checkmark in the Done column.
|
|
||||||
verified?: number;
|
|
||||||
transcode_reasons?: string[];
|
transcode_reasons?: string[];
|
||||||
audio_streams?: PipelineAudioStream[];
|
audio_streams?: PipelineAudioStream[];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user