use enums for validation

This commit is contained in:
Alex committed 2026-05-08 12:56:56 -07:00
1 parent 172d36ba1d
commit 4b4fae91c2
2 files changed
+4 -13

No files matched your search

+2 -1
View File
@@ -8,6 +8,7 @@ import type {
CheckNetworkInterfaceInfo,
GotTimings,
ILighthouseAudit,
DnsRecordType,
Monitor,
MonitorMatchMethod,
MonitorType,
@@ -119,7 +120,7 @@ export interface WebSocketStatusPayload {
export interface DNSStatusPayload {
hostname: string;
dnsServer: string;
recordType: string;
recordType: DnsRecordType;
resolved: boolean;
results: unknown;
}