import { apiGet } from "@/lib/api/client"; export type PhysicsChapterVideoStatus = { chapterId: string; title: string | null; status: string; ready: boolean; qaPassed: boolean; audioPresent: boolean; resolution: { width?: number; height?: number } | null; durationSeconds: number | null; downloadUrl: string | null; }; export function getPhysicsChapterVideoStatus(chapterId: string) { return apiGet( `/video/physics-curriculum/chapters/${encodeURIComponent(chapterId)}/video`, { cache: "no-store" }, ); }