Switched to postgresql. Documented startup. Updated dbcontext register call. Added virtual plugin manifest loading

This commit is contained in:
2025-02-26 22:39:48 +01:00
parent a8d867c3c7
commit 8f1cc29b8d
20 changed files with 555 additions and 2437 deletions

View File

@@ -5,25 +5,26 @@ namespace MoonlightServers.Frontend.Implementations;
public class SidebarImplementation : ISidebarItemProvider
{
public SidebarItem[] Get()
public void ModifySidebar(List<SidebarItem> items)
{
return
[
new SidebarItem()
{
Name = "Servers",
Path = "/servers",
Icon = "icon-server",
Priority = 4
},
new SidebarItem()
{
Name = "Servers",
Path = "/admin/servers",
Icon = "icon-server",
Group = "Admin",
Priority = 4
}
];
items.AddRange(
[
new SidebarItem()
{
Name = "Servers",
Path = "/servers",
Icon = "icon-server",
Priority = 4
},
new SidebarItem()
{
Name = "Servers",
Path = "/admin/servers",
Icon = "icon-server",
Group = "Admin",
Priority = 4
}
]
);
}
}