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,8 @@
using Moonlight.Frontend.Admin.Users.Shared;
namespace Moonlight.Frontend.Infrastructure.Hooks;
public interface IPermissionProvider
{
public Task<PermissionCategory[]> GetPermissionsAsync();
}

View File

@@ -0,0 +1,8 @@
using Moonlight.Frontend.Infrastructure.Models;
namespace Moonlight.Frontend.Infrastructure.Hooks;
public interface ISidebarProvider
{
public Task<SidebarItem[]> GetItemsAsync();
}

View File

@@ -0,0 +1,8 @@
using Microsoft.AspNetCore.Components;
namespace Moonlight.Frontend.Infrastructure.Hooks;
public abstract class LayoutMiddlewareBase : ComponentBase
{
[Parameter] public RenderFragment ChildContent { get; set; }
}