35 lines
1.7 KiB
C#
35 lines
1.7 KiB
C#
namespace PostFundManagement.Domain.Extensions;
|
|
|
|
public static class Constants
|
|
{
|
|
public const string SkorubaCredentialClient = nameof(SkorubaCredentialClient);
|
|
public const string SkorubaHttpClient = nameof(SkorubaHttpClient);
|
|
public const string MainScope = "ApiScope";
|
|
public const string CorsPolicy = "AllowConfiguredOrigins";
|
|
public const string CachePolicy = "DefaultCachePolicy";
|
|
|
|
public const string EmailtemKey = "UserEmail";
|
|
public const string UserRoleItemKey = "UserRole";
|
|
public const string UserIdItemKey = "UserId";
|
|
|
|
public const string GeneralS3SettingsSection = "GeneralS3Settings";
|
|
public const string EvidenceS3SettingsSection = "EvidenceS3Settings";
|
|
public const string ContractS3SettingsSection = "ContractS3Settings";
|
|
public const string GeneralBucketName = "pfm";
|
|
|
|
public const string DatabaseConfigName = "PfmDatabase";
|
|
public const string DefaultSchedulerName = "pfm-scheduler";
|
|
public const string SchedulerDatabaseConfigName = "PfmSchedulerDatabase";
|
|
|
|
public const int LabelLength = 256;
|
|
public const int ShortLabelLength = 100;
|
|
public const int TextLength = 1024;
|
|
public const int MediumTextLength = 2048;
|
|
public const int LargeTextLength = 1_048_576; // 1 MB — accommodates branded HTML emails with embedded logo
|
|
|
|
public const string FeatureEmailProcessor = "EmailProcessorJobEnabled";
|
|
public const string FeatureLateProjectReminder = "LateProjectReminderEnabled";
|
|
public const string FeatureServiceCaching = "ServiceCaching";
|
|
|
|
public static Guid SystemUser { get; } = new(0x6059f1e4, 0x6a41, 0x4447, 0xa5, 0x46, 0x86, 0xec, 0xe5, 0x10, 0x20, 0x4) /* 6059f1e4-6a41-4447-a546-86ece5102004 */;
|
|
} |