feat: check orphaned file reports are not out of date

This commit is contained in:
izzy
2025-11-27 15:40:14 +00:00
parent cc31b9c7f1
commit ef7d8e94fa
5 changed files with 70 additions and 23 deletions
@@ -319,6 +319,11 @@ export class AssetJobRepository {
.stream();
}
@GenerateSql({ params: [DummyValue.STRING], stream: true })
streamIntegrityReports(type: IntegrityReportType) {
return this.db.selectFrom('integrity_report').select(['id as reportId', 'path']).where('type', '=', type).stream();
}
@GenerateSql({ params: [], stream: true })
streamForVideoConversion(force?: boolean) {
return this.db