CodeLiturgy.Dashboard/BlueWest.Views/Utils/Routes.cs

92 lines
3.3 KiB
C#

using System.Collections.Immutable;
namespace BlueWest.Views.Utils
{
internal static class Routes
{
public const string DefaultCultureName = "en-gb";
#region View Data Keys
internal const string FooterMenuViewDataId = "m1";
internal const string UserViewDataId = "uvd";
internal const string HeaderMenuId = "m2";
internal const string LanguageViewStorage = "i81";
internal const string IpViewStorage = "ip";
internal const string AgentViewStorage = "ag2";
#endregion View Data Keys
internal const string RootKeyName = "root";
internal const string RootLocation = "/";
internal const string RootAuthRoute = "/auth";
internal const string RootAuthKeyName = "auth";
internal const string AuthLoginRoute = $"{RootAuthRoute}/login";
internal const string AuthLoginKeyName = "login";
internal const string AuthSignupRoute = $"{RootAuthRoute}/signup";
internal const string AuthSignupKeyName = "signup";
internal const string RolesLocation = $"{SystemRouteLocation}/roles";
internal const string RolesKeyName = "roles";
internal const string ApplicationUsersLocation = $"{SystemRouteLocation}/users";
internal const string ApplicationUsersKeyName = "app_users";
internal const string LogsLocation = $"{SystemRouteLocation}/logs";
internal const string LogsKeyName = "logs";
internal const string SettingsRouteLocation = $"{SystemRouteLocation}/settings";
internal const string SettingsKeyName = "settings";
internal const string DataLocation = $"/data";
internal const string DataKeyName = "data";
internal const string DataUsersLocation = "/data/users";
internal const string DataUsersKeyName = "users";
internal const string SystemRouteLocation = $"/system";
internal const string SystemKeyName = "system";
internal const string BanksKeyName = "banks";
internal const string BanksLocation = $"{DataLocation}/banks";
internal const string CountriesLocation = $"{DataLocation}/countries";
internal const string CountriesKeyName = "countries";
internal const string CurrenciesLocation = $"{DataLocation}/currencies";
internal const string CurrenciesKeyName = "currencies";
internal const string IndustriesKeyName = "industries";
internal const string IndustriesLocation = $"{DataLocation}/industries";
internal const string CompaniesLocation = $"{DataLocation}/companies";
internal const string CompaniesKeyName = "companies";
// Jobs
internal const string Curriculums = "curriculums";
internal const string Proposals = "proposals";
internal const string Offers = "offers";
internal const string Processes = "processes";
internal const string AuthLogoutRoute = "/auth/logout";
// Account
internal const string AccountRouteLocation = "/account";
internal const string AccountKeyName = "profile";
internal const string ChangePasswordKeyName = "changepwd";
internal const string ChangePasswordRouteLocation = $"{AccountRouteLocation}/change";
}
}