Variable settingsFormSchemaConst
settingsFormSchema: ZodObject<
{
clientId: ZodString;
clientSecret: ZodString;
redirectUri: ZodString;
fileLogLevel: ZodEnum<
{
DEBUG: "DEBUG";
INFO: "INFO";
WARNING: "WARNING";
ERROR: "ERROR";
CRITICAL: "CRITICAL";
},
>;
logLineCount: ZodCoercedNumber<unknown>;
maxLogFiles: ZodCoercedNumber<unknown>;
logRetentionDays: ZodCoercedNumber<unknown>;
skipThreshold: ZodCoercedNumber<unknown>;
timeframeInDays: ZodCoercedNumber<unknown>;
autoStartMonitoring: ZodDefault<ZodBoolean>;
autoUnlike: ZodDefault<ZodBoolean>;
pollingInterval: ZodDefault<ZodCoercedNumber<unknown>>;
},
$strip,
> = ...
Settings Form Validation Schema
Comprehensive validation schema for all application settings with field-specific constraints, type coercion, and validation error messages. Defines the complete contract for application configuration.
Security considerations:
Performance boundaries: