Extended file manager to support the new interfaces for downloading via url. Improved the handling of compressing and decompressing. Seperated file manager controllers. Updated mooncore versions

This commit is contained in:
2025-08-26 01:07:59 +02:00
parent dc862e4b3c
commit a6ae2aacfb
17 changed files with 868 additions and 503 deletions

View File

@@ -1,8 +1,18 @@
namespace Moonlight.Shared.Http.Requests.Admin.Sys.Files;
using System.ComponentModel.DataAnnotations;
namespace Moonlight.Shared.Http.Requests.Admin.Sys.Files;
public class CompressRequest
{
public string Type { get; set; }
public string Path { get; set; }
public string[] ItemsToCompress { get; set; }
[Required(ErrorMessage = "Format is required")]
public string Format { get; set; }
[Required(ErrorMessage = "Destination is required")]
public string Destination { get; set; }
[Required(ErrorMessage = "Root is required")]
public string Root { get; set; }
[Required(ErrorMessage = "Items are required")]
public string[] Items { get; set; }
}