using System.Diagnostics.CodeAnalysis; namespace Moonlight.Frontend.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; } }