feat: media duplicate purge, part 3 of 3: the SPA (Settings "Media cleanup" card, PurgeDuplicatesDialog, Media Duplicates toolbar button)

This commit is contained in:
fsylvain committed 2026-10-05 23:57:50 +02:00
1 parent 1a55a39425
commit 2303b12377
26 files changed
+3856 -83

No files matched your search

+12
View File
@@ -134,3 +134,15 @@ export function plainRestartDone(): UpdateStatus {
finished_at: RESTART_FINISHED_AT,
})
}
export const PURGE_SETTINGS_PATH = '/v1/media/purge-settings'
export const DEFAULT_PURGE_SETTINGS = {
auto_purge_enabled: false,
auto_purge_interval_days: 30,
last_purge_at: null,
last_purge_merged: 0,
last_purge_articles_updated: 0,
enabled_at: null,
next_purge_at: null,
}