Refactored project to module structure

This commit is contained in:
2026-03-12 22:50:15 +01:00
parent 93de9c5d00
commit 1257e8b950
219 changed files with 1231 additions and 1259 deletions

View File

@@ -0,0 +1,19 @@
using System.Diagnostics.CodeAnalysis;
namespace Moonlight.Frontend.Infrastructure.Models;
public record SidebarItem
{
public string Name { get; init; }
public string Path { get; init; }
public bool IsExactPath { get; init; }
public string? Group { get; init; }
public int Order { get; init; }
// Used to prevent the IL-Trimming from removing this type as its dynamically assigned a type and we
// need it to work properly
[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)]
public Type IconType { get; init; }
public string? Policy { get; set; }
}