feat(api): route downloads through the configured downloads provider (#1802)

This commit is contained in:
Hampus authored and GitHub committed 2026-08-20 21:44:53 +02:00
1 parent bdacaea4a8
commit ddee116339
8 files changed
+79 -12

No files matched your search

+2
View File
@@ -1,5 +1,6 @@
// SPDX-License-Identifier: AGPL-3.0-or-later
import type {ResolvedDownloadsProvider} from '@fluxer/config/src/S3DownloadsProvider';
import type {WorkerTaskName} from '../worker/WorkerLaneConfig';
export type APIWorkerMode = 'all_lanes' | 'single_lane' | 'single_task';
@@ -150,6 +151,7 @@ export interface APIConfig {
static: string;
};
};
s3Downloads: ResolvedDownloadsProvider;
email: {
enabled: boolean;
provider: 'smtp' | 'none';