fix: change upload name

This commit is contained in:
2026-09-15 22:23:54 +07:00
parent 4078bf01f4
commit 637ca51f47
11 changed files with 62 additions and 46 deletions
@@ -2,9 +2,7 @@ namespace mws.backend.dotnet.application.Documents;
public interface IDocumentContentStore
{
Task EnsureBucketAsync(Guid projectId, CancellationToken ct);
Task UploadAsync(Guid projectId, Guid documentId, string contentType, Stream body, CancellationToken ct);
Task<Stream> DownloadAsync(Guid projectId, Guid documentId, CancellationToken ct);
Task<bool> ExistsAsync(Guid projectId, Guid documentId, CancellationToken ct);
Task DeleteAsync(Guid projectId, Guid documentId, CancellationToken ct);
Task<string> UploadAsync(Guid projectId, string fileName, string contentType, Stream body, CancellationToken ct);
Task<Stream> DownloadAsync(string storageKey, CancellationToken ct);
Task DeleteAsync(string storageKey, CancellationToken ct);
}