Add impossible seen dates maintenance endpoint

- Backend: fixImpossibleSeenDates scan/fix in maintenanceService
  detects movies with EntrySeen date before release_date, adds
  them to a "Movies with impossible seen date" collection
- Frontend: ImpossibleSeenDatesSection in SettingsPage with
  Scan and Fix buttons
- Updated API docs (Clients + Reference), cleaned up removed
  migrateSeenWith references
This commit is contained in:
X4Lo committed 2026-06-25 21:38:31 +01:00
1 parent 3df2e2ce3e
commit d984210dd9
8 files changed
+294 -124

No files matched your search

+13
View File
@@ -74,4 +74,17 @@ export const maintenanceApi = {
planToWatch: number;
}>("/maintenance/auto-fix-watch-statuses")
.then((r) => r.data),
scanImpossibleSeenDates: () =>
api
.get<{ count: number }>("/maintenance/impossible-seen-dates")
.then((r) => r.data),
fixImpossibleSeenDates: () =>
api
.post<{
count: number;
added: number;
}>("/maintenance/impossible-seen-dates")
.then((r) => r.data),
};