DMS Layout mit Fehlern
All checks were successful
Build & Deploy PLDpro.Web Test to 192.168.1.100 / build-and-deploy (push) Successful in 1m15s
All checks were successful
Build & Deploy PLDpro.Web Test to 192.168.1.100 / build-and-deploy (push) Successful in 1m15s
This commit is contained in:
20
Services/UI/IDocumentClient.cs
Normal file
20
Services/UI/IDocumentClient.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using Microsoft.AspNetCore.Components.Forms;
|
||||
using Pldpro.Web.UI.Models;
|
||||
|
||||
namespace Pldpro.Web.UI.Services;
|
||||
|
||||
public interface IDocumentClient
|
||||
{
|
||||
Task<IReadOnlyList<string>> ListBucketsAsync(CancellationToken ct = default);
|
||||
|
||||
Task<(IReadOnlyList<DocumentListItem> Items, int Total)> SearchAsync(
|
||||
string bucket, string? query, string? pathPrefix, int page, int pageSize, CancellationToken ct = default);
|
||||
|
||||
Task<DocumentDetail?> GetAsync(string bucket, string key, CancellationToken ct = default);
|
||||
|
||||
Task UploadAsync(string bucket, string? pathPrefix, IBrowserFile file, long streamLimit, CancellationToken ct = default);
|
||||
|
||||
Task DeleteAsync(string bucket, string key, CancellationToken ct = default);
|
||||
|
||||
string GetDownloadUrl(string bucket, string key);
|
||||
}
|
||||
Reference in New Issue
Block a user