feat(api): redirect artifact downloads to presigned storage URLs (#1703)

This commit is contained in:
Hampus authored and GitHub committed 2026-08-17 21:47:46 +02:00
1 parent c35d29ea0b
commit 41c7acdd8f
11 files changed
+149 -2

No files matched your search

@@ -305,7 +305,13 @@ export class MockStorageService implements IStorageService {
await this.deleteObject(params.sourceBucket, params.sourceKey);
}
async getPresignedDownloadURL(_params: {bucket: string; key: string; expiresIn?: number}): Promise<string> {
async getPresignedDownloadURL(_params: {
bucket: string;
key: string;
expiresIn?: number;
responseContentType?: string;
responseContentDisposition?: string;
}): Promise<string> {
this.getPresignedDownloadURLSpy(_params);
return 'https://presigned.url/test';
}