Mare 0.8 (#13)
* get rid of file handling through grpc and signalr * make non empty uri for serialization * adjust api DataHash calc into their respective classes * Revert "adapt api extensions" This reverts commit5fb78ba367. * Revert "adapt userpermissions" This reverts commit28dd123ca6. * Revert "Revert "adapt api extensions"" This reverts commit 12c9bc3c53566532e2984ace0b3d2e0a8b7facc0. * Revert "Revert "adapt userpermissions"" This reverts commit 4193ac008cccf2f5b42e9cdf50b2a084877cbf9a. * update flags * add upload status to server --------- Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
This commit is contained in:
13
MareSynchronosAPI/Dto/Files/FilesSendDto.cs
Normal file
13
MareSynchronosAPI/Dto/Files/FilesSendDto.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MareSynchronos.API.Dto.Files;
|
||||
|
||||
public class FilesSendDto
|
||||
{
|
||||
public List<string> FileHashes { get; set; } = new();
|
||||
public List<string> UIDs { get; set; } = new();
|
||||
}
|
||||
@@ -1,10 +0,0 @@
|
||||
using MessagePack;
|
||||
|
||||
namespace MareSynchronos.API.Dto.Files;
|
||||
|
||||
[MessagePackObject(keyAsPropertyName: true)]
|
||||
public record ForbiddenFileDto
|
||||
{
|
||||
public string Hash { get; set; } = string.Empty;
|
||||
public string ForbiddenBy { get; set; } = string.Empty;
|
||||
}
|
||||
Reference in New Issue
Block a user