2020-03-24 23:09:29 +01:00
|
|
|
namespace zero.Core
|
2020-03-22 14:18:34 +01:00
|
|
|
{
|
|
|
|
|
public static class Constants
|
|
|
|
|
{
|
2020-04-15 15:13:38 +02:00
|
|
|
public const string ErrorFieldNone = "__zero_no_field";
|
|
|
|
|
|
2020-04-29 15:03:45 +02:00
|
|
|
public static class Tabs
|
|
|
|
|
{
|
|
|
|
|
public const string General = "general";
|
|
|
|
|
}
|
|
|
|
|
|
2020-04-10 13:35:39 +02:00
|
|
|
public static class Auth
|
|
|
|
|
{
|
2020-12-02 15:45:44 +01:00
|
|
|
public const string SystemUser = "system";
|
2020-11-04 16:16:36 +01:00
|
|
|
public const string DefaultScheme = "zeroScheme";
|
|
|
|
|
public const string BackofficeDisplayName = "Zero Bacckoffice";
|
2020-11-04 01:25:38 +01:00
|
|
|
public const string BackofficeScheme = "zeroBackoffice";
|
2020-11-04 16:16:36 +01:00
|
|
|
public const string BackofficeCookieName = "zero.be.session";
|
|
|
|
|
public const string DefaultCookieName = "zero.session";
|
2020-04-15 14:09:52 +02:00
|
|
|
|
|
|
|
|
public static class Claims
|
|
|
|
|
{
|
|
|
|
|
public const string IsZero = "zero.claim.iszero";
|
2020-04-16 00:56:22 +02:00
|
|
|
public const string IsSuper = "zero.claim.issuper";
|
2020-04-15 14:09:52 +02:00
|
|
|
public const string UserId = "zero.claim.userid";
|
|
|
|
|
public const string UserName = "zero.claim.username";
|
2020-04-16 12:56:17 +02:00
|
|
|
public const string Role = "zero.claim.rolealias";
|
2020-04-15 14:09:52 +02:00
|
|
|
public const string SecurityStamp = "zero.claim.securitystamp";
|
2020-11-04 01:25:38 +01:00
|
|
|
public const string Email = "zero.claim.email";
|
2020-04-16 12:56:17 +02:00
|
|
|
public const string Permission = "zero.claim.permission";
|
2020-05-20 16:09:56 +02:00
|
|
|
public const string DefaultAppId = "zero.claim.defaultAppId";
|
2020-11-16 01:07:07 +01:00
|
|
|
public const string AppId = "zero.claim.appId";
|
2020-11-03 16:07:35 +01:00
|
|
|
public const string TicketExpires = "zero.claim.ticketExpires";
|
2020-04-15 14:09:52 +02:00
|
|
|
}
|
2020-04-10 13:35:39 +02:00
|
|
|
}
|
|
|
|
|
|
2020-03-24 20:30:03 +01:00
|
|
|
public static class Database
|
|
|
|
|
{
|
2020-04-14 20:16:04 +02:00
|
|
|
public const string ReservationPrefix = "zero.";
|
2020-11-25 00:51:01 +01:00
|
|
|
public const string CoreIdPrefix = "core.";
|
2020-04-22 15:46:35 +02:00
|
|
|
public const string Expires = Raven.Client.Constants.Documents.Metadata.Expires;
|
2020-03-24 20:30:03 +01:00
|
|
|
}
|
|
|
|
|
|
2020-03-22 14:18:34 +01:00
|
|
|
public static class Sections
|
|
|
|
|
{
|
|
|
|
|
public const string Dashboard = "dashboard";
|
|
|
|
|
public const string Pages = "pages";
|
2020-04-30 11:53:59 +02:00
|
|
|
public const string Spaces = "spaces";
|
2020-03-22 14:18:34 +01:00
|
|
|
public const string Media = "media";
|
|
|
|
|
public const string Settings = "settings";
|
|
|
|
|
}
|
2020-04-08 00:22:04 +02:00
|
|
|
|
2020-04-27 15:49:14 +02:00
|
|
|
public static class Settings
|
2020-04-08 00:22:04 +02:00
|
|
|
{
|
|
|
|
|
public const string Updates = "updates";
|
|
|
|
|
public const string Applications = "applications";
|
|
|
|
|
public const string Users = "users";
|
2020-05-04 16:00:39 +02:00
|
|
|
public const string Languages = "languages";
|
2020-04-08 00:22:04 +02:00
|
|
|
public const string Translations = "translations";
|
|
|
|
|
public const string Countries = "countries";
|
2020-11-13 12:24:07 +01:00
|
|
|
public const string Mails = "mailTemplates";
|
2020-12-10 15:57:59 +01:00
|
|
|
public const string Integrations = "integrations";
|
2020-04-08 00:22:04 +02:00
|
|
|
public const string Logging = "logs";
|
2020-04-27 15:49:14 +02:00
|
|
|
public const string Plugins = "plugins";
|
|
|
|
|
public const string CreatePlugin = "createplugin";
|
2020-04-08 00:22:04 +02:00
|
|
|
}
|
2020-05-13 14:06:11 +02:00
|
|
|
|
|
|
|
|
public static class PermissionCollections
|
|
|
|
|
{
|
|
|
|
|
public const string Sections = "permissionCollectionSections";
|
|
|
|
|
public const string Spaces = "permissionCollectionSpaces";
|
|
|
|
|
public const string Settings = "permisssionCollectionSettings";
|
2020-08-31 11:48:05 +02:00
|
|
|
public const string Modules = "permissionCollectionModules";
|
2020-05-13 14:06:11 +02:00
|
|
|
}
|
2020-12-03 15:39:54 +01:00
|
|
|
|
|
|
|
|
public static class Pages
|
|
|
|
|
{
|
|
|
|
|
public const string FolderAlias = "zero.folder";
|
2021-01-19 13:07:38 +01:00
|
|
|
public const string DefaultRootPageTypeAlias = "root";
|
2021-11-05 13:46:07 +01:00
|
|
|
public const string PageRouteProviderAlias = "zero.pages";
|
2020-12-03 15:39:54 +01:00
|
|
|
}
|
2021-04-02 15:14:30 +02:00
|
|
|
|
|
|
|
|
public static class Routing
|
|
|
|
|
{
|
|
|
|
|
public const string InternalRoutePrefix = "/__zero/";
|
|
|
|
|
|
|
|
|
|
public const string ErrorRoute = InternalRoutePrefix + "error";
|
|
|
|
|
}
|
2020-03-22 14:18:34 +01:00
|
|
|
}
|
|
|
|
|
}
|