You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using System.Collections.Immutable;
|
|
|
|
|
|
|
|
|
|
namespace Connected.ServiceModel.Storage;
|
|
|
|
|
|
|
|
|
|
public interface IStorageService
|
|
|
|
|
{
|
|
|
|
|
Task<ImmutableList<IFile>?> QueryFiles(DirectoryArgs args);
|
|
|
|
|
|
|
|
|
|
Task<ImmutableList<IDirectory>?> QueryDirectories(DirectoryArgs args);
|
|
|
|
|
|
|
|
|
|
Task<byte[]?> SelectFile(FileArgs args);
|
|
|
|
|
|
|
|
|
|
Task UpdateFile(UpdateFileArgs args);
|
|
|
|
|
|
|
|
|
|
Task DeleteFile(DeleteFileArgs args);
|
|
|
|
|
|
|
|
|
|
Task MoveFile(MoveFileArgs args);
|
|
|
|
|
|
|
|
|
|
Task InsertDirectory(InsertDirectoryArgs args);
|
|
|
|
|
|
|
|
|
|
Task UpdateDirectory(UpdateDirectoryArgs args);
|
|
|
|
|
|
|
|
|
|
Task DeleteDirectory(DeleteDirectoryArgs args);
|
|
|
|
|
}
|