Skip to main content

Type Alias: DnsMonitorSchemaType

DnsMonitorSchemaType = z.ZodObject<{ activeOperations: ActiveOperationsArray; checkInterval: z.ZodNumber; expectedValue: z.ZodOptional<z.ZodString>; history: HistoryArray; host: z.ZodString; id: z.ZodString; lastChecked: z.ZodOptional<z.ZodDate>; monitoring: z.ZodBoolean; recordType: DnsRecordEnum; responseTime: z.ZodNumber; retryAttempts: z.ZodNumber; status: MonitorStatusEnum; timeout: z.ZodNumber; type: z.ZodLiteral<"dns">; }>

Defined in: shared/types/schemaTypes.ts:277

Zod schema describing DNS monitor payloads.