extract swtich

This commit is contained in:
Alex Holliday committed 2026-07-24 11:09:53 -07:00
1 parent 86eeda3f0e
commit c021d04f53
13 files changed
+56 -80

No files matched your search

@@ -2,7 +2,8 @@ import { IStatusProvider } from "@/service/network/IStatusProvider.js";
import { WebSocketStatusPayload, MonitorStatusResponse } from "@/types/network.js";
import { Monitor, MonitorType } from "@/domain/monitors/monitor.types.js";
import { AppError } from "@/utils/AppError.js";
import { NETWORK_ERROR, timeRequest } from "@/service/network/utils.js";
import { timeRequest } from "@/service/network/utils.js";
import { NETWORK_ERROR } from "@/types/network.js";
import type WebSocket from "ws";
type WebSocketConstructor = typeof WebSocket;