Add files via upload

This commit is contained in:
Zura
2025-08-21 23:17:27 +02:00
committed by GitHub
parent a859350624
commit 73ecaf1e3e
81 changed files with 1598 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
using MessagePack;
namespace LightlessSync.API.Dto.Files;
[MessagePackObject(keyAsPropertyName: true)]
public record UploadFileDto : ITransferFileDto
{
public string Hash { get; set; } = string.Empty;
public bool IsForbidden { get; set; } = false;
public string ForbiddenBy { get; set; } = string.Empty;
}