Recreated solution with web app template. Improved theme. Switched to ShadcnBlazor library

This commit is contained in:
2025-12-25 19:16:53 +01:00
parent 0cc35300f1
commit a2d4edc0e5
272 changed files with 2441 additions and 14449 deletions

View File

@@ -1,10 +0,0 @@
namespace Moonlight.Shared.Http.Responses.Admin.ApiKeys;
public class ApiKeyResponse
{
public int Id { get; set; }
public string Description { get; set; }
public string[] Permissions { get; set; } = [];
public DateTimeOffset ExpiresAt { get; set; }
public DateTimeOffset CreatedAt { get; set; }
}

View File

@@ -1,10 +0,0 @@
namespace Moonlight.Shared.Http.Responses.Admin.ApiKeys;
public class CreateApiKeyResponse
{
public int Id { get; set; }
public string Secret { get; set; }
public string Description { get; set; }
public string[] Permissions { get; set; } = [];
public DateTimeOffset ExpiresAt { get; set; }
}

View File

@@ -1,16 +0,0 @@
namespace Moonlight.Shared.Http.Responses.Admin.Hangfire;
public class HangfireStatsResponse
{
public long Servers { get; set; }
public long Recurring { get; set; }
public long Enqueued { get; set; }
public long Queues { get; set; }
public long Scheduled { get; set; }
public long Processing { get; set; }
public long Succeeded { get; set; }
public long Failed { get; set; }
public long Deleted { get; set; }
public long? Retries { get; set; }
public long? Awaiting { get; set; }
}

View File

@@ -1,7 +0,0 @@
namespace Moonlight.Shared.Http.Responses.Admin.Sys;
public class DiagnoseProvideResponse
{
public string Name { get; set; }
public string Type { get; set; }
}

View File

@@ -1,6 +0,0 @@
namespace Moonlight.Shared.Http.Responses.Admin.Sys;
public class DownloadUrlResponse
{
public string Url { get; set; }
}

View File

@@ -1,11 +0,0 @@
namespace Moonlight.Shared.Http.Responses.Admin.Sys;
public class FileSystemEntryResponse
{
public string Name { get; set; }
public bool IsFolder { get; set; }
public long Size { get; set; }
public DateTime CreatedAt { get; set; }
public DateTime UpdatedAt { get; set; }
}

View File

@@ -1,9 +0,0 @@
namespace Moonlight.Shared.Http.Responses.Admin.Sys;
public class SystemOverviewResponse
{
public int CpuUsage { get; set; }
public long MemoryUsage { get; set; }
public string OperatingSystem { get; set; }
public TimeSpan Uptime { get; set; }
}

View File

@@ -1,19 +0,0 @@
using Moonlight.Shared.Misc;
namespace Moonlight.Shared.Http.Responses.Admin;
public class ThemeResponse
{
public int Id { get; set; }
public bool IsEnabled { get; set; }
public string Name { get; set; }
public string Author { get; set; }
public string Version { get; set; }
public string? UpdateUrl { get; set; }
public string? DonateUrl { get; set; }
public ApplicationTheme Content { get; set; }
}

View File

@@ -1,9 +0,0 @@
namespace Moonlight.Shared.Http.Responses.Admin.Users;
public class UserResponse
{
public int Id { get; set; }
public string Username { get; set; }
public string Email { get; set; }
public string[] Permissions { get; set; }
}