initial commit
Pulsar .NET 9.0 Windows Release / build (push) Waiting to run
Mirror to Codeberg and Gitea / mirror (push) Waiting to run

This commit is contained in:
i2p
2026-08-27 10:57:58 -06:00
commit 773d05f8f1
1038 changed files with 109261 additions and 0 deletions
@@ -0,0 +1,16 @@
using MessagePack;
using Pulsar.Common.Enums;
using Pulsar.Common.Messages.Other;
namespace Pulsar.Common.Messages.Administration.FileManager
{
[MessagePackObject]
public class DoPathDelete : IMessage
{
[Key(1)]
public string Path { get; set; }
[Key(2)]
public FileType PathType { get; set; }
}
}
@@ -0,0 +1,19 @@
using MessagePack;
using Pulsar.Common.Enums;
using Pulsar.Common.Messages.Other;
namespace Pulsar.Common.Messages.Administration.FileManager
{
[MessagePackObject]
public class DoPathRename : IMessage
{
[Key(1)]
public string Path { get; set; }
[Key(2)]
public string NewPath { get; set; }
[Key(3)]
public FileType PathType { get; set; }
}
}
@@ -0,0 +1,18 @@
using MessagePack;
using Pulsar.Common.Messages.Other;
namespace Pulsar.Common.Messages.Administration.FileManager
{
[MessagePackObject]
public class DoZipFolder : IMessage
{
[Key(1)]
public string SourcePath { get; set; }
[Key(2)]
public string DestinationPath { get; set; }
[Key(3)]
public int CompressionLevel { get; set; } = (int)System.IO.Compression.CompressionLevel.Optimal;
}
}
@@ -0,0 +1,15 @@
using MessagePack;
using Pulsar.Common.Messages.Other;
namespace Pulsar.Common.Messages.Administration.FileManager
{
[MessagePackObject]
public class FileTransferCancel : IMessage
{
[Key(1)]
public int Id { get; set; }
[Key(2)]
public string Reason { get; set; }
}
}
@@ -0,0 +1,25 @@
using MessagePack;
using Pulsar.Common.Messages.Other;
using Pulsar.Common.Models;
namespace Pulsar.Common.Messages.Administration.FileManager
{
[MessagePackObject]
public class FileTransferChunk : IMessage
{
[Key(1)]
public int Id { get; set; }
[Key(2)]
public string FilePath { get; set; }
[Key(3)]
public long FileSize { get; set; }
[Key(4)]
public FileChunk Chunk { get; set; }
[Key(5)]
public string FileExtension { get; set; }
}
}
@@ -0,0 +1,15 @@
using MessagePack;
using Pulsar.Common.Messages.Other;
namespace Pulsar.Common.Messages.Administration.FileManager
{
[MessagePackObject]
public class FileTransferComplete : IMessage
{
[Key(1)]
public int Id { get; set; }
[Key(2)]
public string FilePath { get; set; }
}
}
@@ -0,0 +1,15 @@
using MessagePack;
using Pulsar.Common.Messages.Other;
namespace Pulsar.Common.Messages
{
[MessagePackObject]
public class FileTransferRequest : IMessage
{
[Key(1)]
public int Id { get; set; }
[Key(2)]
public string RemotePath { get; set; }
}
}
@@ -0,0 +1,12 @@
using MessagePack;
using Pulsar.Common.Messages.Other;
namespace Pulsar.Common.Messages.Administration.FileManager
{
[MessagePackObject]
public class GetDirectory : IMessage
{
[Key(1)]
public string RemotePath { get; set; }
}
}
@@ -0,0 +1,16 @@
using MessagePack;
using Pulsar.Common.Messages.Other;
using Pulsar.Common.Models;
namespace Pulsar.Common.Messages.Administration.FileManager
{
[MessagePackObject]
public class GetDirectoryResponse : IMessage
{
[Key(1)]
public string RemotePath { get; set; }
[Key(2)]
public FileSystemEntry[] Items { get; set; }
}
}
@@ -0,0 +1,10 @@
using MessagePack;
using Pulsar.Common.Messages.Other;
namespace Pulsar.Common.Messages.Administration.FileManager
{
[MessagePackObject]
public class GetDrives : IMessage
{
}
}
@@ -0,0 +1,13 @@
using MessagePack;
using Pulsar.Common.Messages.Other;
using Pulsar.Common.Models;
namespace Pulsar.Common.Messages.Administration.FileManager
{
[MessagePackObject]
public class GetDrivesResponse : IMessage
{
[Key(1)]
public Drive[] Drives { get; set; }
}
}
@@ -0,0 +1,15 @@
using MessagePack;
using Pulsar.Common.Messages.Other;
namespace Pulsar.Common.Messages.Administration.FileManager
{
[MessagePackObject]
public class SetStatusFileManager : IMessage
{
[Key(1)]
public string Message { get; set; }
[Key(2)]
public bool SetLastDirectorySeen { get; set; }
}
}