diff --git a/web/src/lib/stores/download-store.svelte.ts b/web/src/lib/managers/download-manager.svelte.ts
similarity index 74%
rename from web/src/lib/stores/download-store.svelte.ts
rename to web/src/lib/managers/download-manager.svelte.ts
index 8c03671e73..107f80b8dc 100644
--- a/web/src/lib/stores/download-store.svelte.ts
+++ b/web/src/lib/managers/download-manager.svelte.ts
@@ -5,7 +5,7 @@ export interface DownloadProgress {
abort: AbortController | null;
}
-class DownloadStore {
+class DownloadManager {
assets = $state>({});
isDownloading = $derived(Object.keys(this.assets).length > 0);
@@ -42,10 +42,4 @@ class DownloadStore {
}
}
-export const downloadStore = new DownloadStore();
-
-export const downloadManager = {
- add: (key: string, total: number, abort?: AbortController) => downloadStore.add(key, total, abort),
- clear: (key: string) => downloadStore.clear(key),
- update: (key: string, progress: number, total?: number) => downloadStore.update(key, progress, total),
-};
+export const downloadManager = new DownloadManager();
diff --git a/web/src/lib/utils/asset-utils.ts b/web/src/lib/utils/asset-utils.ts
index bd3cb416b5..35aea7eb9e 100644
--- a/web/src/lib/utils/asset-utils.ts
+++ b/web/src/lib/utils/asset-utils.ts
@@ -3,9 +3,9 @@ import FormatBoldMessage from '$lib/components/i18n/format-bold-message.svelte';
import type { InterpolationValues } from '$lib/components/i18n/format-message';
import { NotificationType, notificationController } from '$lib/components/shared-components/notification/notification';
import { AppRoute } from '$lib/constants';
+import { downloadManager } from '$lib/managers/download-manager.svelte';
import type { AssetInteraction } from '$lib/stores/asset-interaction.svelte';
import { assetsSnapshot, isSelectingAllAssets, type AssetStore } from '$lib/stores/assets-store.svelte';
-import { downloadManager } from '$lib/stores/download-store.svelte';
import { preferences } from '$lib/stores/user.store';
import { downloadRequest, getKey, withError } from '$lib/utils';
import { createAlbum } from '$lib/utils/album-utils';
diff --git a/web/src/routes/admin/repair/+page.svelte b/web/src/routes/admin/repair/+page.svelte
index b04d8f1944..2d8ceca4da 100644
--- a/web/src/routes/admin/repair/+page.svelte
+++ b/web/src/routes/admin/repair/+page.svelte
@@ -7,7 +7,7 @@
NotificationType,
notificationController,
} from '$lib/components/shared-components/notification/notification';
- import { downloadManager } from '$lib/stores/download-store.svelte';
+ import { downloadManager } from '$lib/managers/download-manager.svelte';
import { locale } from '$lib/stores/preferences.store';
import { copyToClipboard } from '$lib/utils';
import { downloadBlob } from '$lib/utils/asset-utils';
diff --git a/web/src/routes/admin/system-settings/+page.svelte b/web/src/routes/admin/system-settings/+page.svelte
index 6512461ee9..1ac9f0b6fd 100644
--- a/web/src/routes/admin/system-settings/+page.svelte
+++ b/web/src/routes/admin/system-settings/+page.svelte
@@ -1,15 +1,16 @@