ref: project structure

This commit is contained in:
2026-08-19 23:25:08 +07:00
parent 05a93cfc09
commit a1fe31cf70
155 changed files with 3339 additions and 1007 deletions
+19
View File
@@ -0,0 +1,19 @@
namespace mws.backend.dotnet.application.Permissions;
public record ScreenDefinition(string Key, string Label, string Path);
public static class ScreenCatalog
{
public static readonly IReadOnlyList<ScreenDefinition> Screens =
[
new("dashboard", "Dashboard", "/"),
new("projects", "Projects", "/projects"),
new("tasks", "Tasks", "/tasks"),
new("documents", "Documents", "/documents"),
new("users", "Users", "/users"),
new("permissions", "Permissions", "/settings/permission"),
new("masterdata", "Master Data", "/settings/masterdata"),
];
public static readonly IReadOnlySet<string> Keys = Screens.Select(s => s.Key).ToHashSet();
}