RemoteContentProvider get items WIP
This commit is contained in:
@@ -1,7 +1,13 @@
|
||||
namespace FileTime.Server.Common.Connections.SignalR;
|
||||
using FileTime.Core.Enums;
|
||||
using FileTime.Core.Models;
|
||||
using FileTime.Core.Serialization;
|
||||
using FileTime.Core.Timeline;
|
||||
|
||||
namespace FileTime.Server.Common.Connections.SignalR;
|
||||
|
||||
public interface ISignalRHub
|
||||
{
|
||||
Task SetClientIdentifier(string providerName);
|
||||
Task Exit();
|
||||
Task CreateContainerAsync(string contentProviderId, string fullName);
|
||||
Task CreateElementAsync(string contentProviderId, string fullName);
|
||||
@@ -15,5 +21,16 @@ public interface ISignalRHub
|
||||
//TODO: CancellationToken https://github.com/nenoNaninu/TypedSignalR.Client/issues/120
|
||||
Task WriteBytesAsync(string transactionId, string data, int index);
|
||||
Task CloseWriterAsync(string transactionId);
|
||||
Task<string?> GetNativePathAsync(string fullNamePath);
|
||||
Task<string> GetNativePathAsync(string contentProviderId, string fullNamePath);
|
||||
Task<ISerialized> GetItemByNativePathAsync(
|
||||
string contentProviderId,
|
||||
NativePath nativePath,
|
||||
PointInTime pointInTime,
|
||||
bool forceResolve,
|
||||
AbsolutePathType forceResolvePathType,
|
||||
ItemInitializationSettings itemInitializationSettings);
|
||||
|
||||
Task<SerializedAbsolutePath[]> GetChildren(
|
||||
string contentProviderId,
|
||||
string fullName);
|
||||
}
|
||||
Reference in New Issue
Block a user