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

View File

@@ -287,8 +287,8 @@ export interface IIntegrityOrphanedFilesJob {
paths: string[];
}
export interface IIntegrityMissingFilesJob {
paths: { path: string; reportId: string | null }[];
export interface IIntegrityPathWithReportJob {
items: { path: string; reportId: string | null }[];
}
export interface JobCounts {
@@ -405,8 +405,9 @@ export type JobItem =
// Integrity
| { name: JobName.IntegrityOrphanedFilesQueueAll; data: IBaseJob }
| { name: JobName.IntegrityOrphanedFiles; data: IIntegrityOrphanedFilesJob }
| { name: JobName.IntegrityOrphanedCheckReports; data: IIntegrityPathWithReportJob }
| { name: JobName.IntegrityMissingFilesQueueAll; data: IBaseJob }
| { name: JobName.IntegrityMissingFiles; data: IIntegrityMissingFilesJob }
| { name: JobName.IntegrityMissingFiles; data: IIntegrityPathWithReportJob }
| { name: JobName.IntegrityChecksumFiles; data: IBaseJob };
export type VectorExtension = (typeof VECTOR_EXTENSIONS)[number];