feat: integration cloudfile
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
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);
|
||||
}
|
||||
Reference in New Issue
Block a user