ref: project structure
This commit is contained in:
@@ -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();
|
||||
}
|
||||
Reference in New Issue
Block a user