import type { DownloadJob } from "../lib/api"; // A download job's display title (a user rename wins over the extracted asset title), shared by the // row, the admin list and the library player. Its own module so downloadRow exports only components. export function jobTitle(job: DownloadJob): string { return job.display_name || job.asset?.title || job.source_ref; }