|
@@ -53,6 +53,7 @@ export const AllSettingSchema = z.object({
|
|
|
smtpEnabledEvents: z.string(),
|
|
smtpEnabledEvents: z.string(),
|
|
|
smtpEncryptionType: z.string(),
|
|
smtpEncryptionType: z.string(),
|
|
|
smtpHost: z.string(),
|
|
smtpHost: z.string(),
|
|
|
|
|
+ smtpMemory: z.number().int().min(0).max(100),
|
|
|
smtpPassword: z.string(),
|
|
smtpPassword: z.string(),
|
|
|
smtpPort: z.number().int().min(1).max(65535),
|
|
smtpPort: z.number().int().min(1).max(65535),
|
|
|
smtpTo: z.string(),
|
|
smtpTo: z.string(),
|
|
@@ -95,6 +96,7 @@ export const AllSettingSchema = z.object({
|
|
|
tgCpu: z.number().int().min(0).max(100),
|
|
tgCpu: z.number().int().min(0).max(100),
|
|
|
tgEnabledEvents: z.string(),
|
|
tgEnabledEvents: z.string(),
|
|
|
tgLang: z.string(),
|
|
tgLang: z.string(),
|
|
|
|
|
+ tgMemory: z.number().int().min(0).max(100),
|
|
|
tgRunTime: z.string(),
|
|
tgRunTime: z.string(),
|
|
|
timeLocation: z.string(),
|
|
timeLocation: z.string(),
|
|
|
trafficDiff: z.number().int().min(0).max(100),
|
|
trafficDiff: z.number().int().min(0).max(100),
|
|
@@ -153,6 +155,7 @@ export const AllSettingViewSchema = z.object({
|
|
|
smtpEnabledEvents: z.string(),
|
|
smtpEnabledEvents: z.string(),
|
|
|
smtpEncryptionType: z.string(),
|
|
smtpEncryptionType: z.string(),
|
|
|
smtpHost: z.string(),
|
|
smtpHost: z.string(),
|
|
|
|
|
+ smtpMemory: z.number().int().min(0).max(100),
|
|
|
smtpPassword: z.string(),
|
|
smtpPassword: z.string(),
|
|
|
smtpPort: z.number().int().min(1).max(65535),
|
|
smtpPort: z.number().int().min(1).max(65535),
|
|
|
smtpTo: z.string(),
|
|
smtpTo: z.string(),
|
|
@@ -195,6 +198,7 @@ export const AllSettingViewSchema = z.object({
|
|
|
tgCpu: z.number().int().min(0).max(100),
|
|
tgCpu: z.number().int().min(0).max(100),
|
|
|
tgEnabledEvents: z.string(),
|
|
tgEnabledEvents: z.string(),
|
|
|
tgLang: z.string(),
|
|
tgLang: z.string(),
|
|
|
|
|
+ tgMemory: z.number().int().min(0).max(100),
|
|
|
tgRunTime: z.string(),
|
|
tgRunTime: z.string(),
|
|
|
timeLocation: z.string(),
|
|
timeLocation: z.string(),
|
|
|
trafficDiff: z.number().int().min(0).max(100),
|
|
trafficDiff: z.number().int().min(0).max(100),
|