pingProvider, httpProvider

This commit is contained in:
Alex Holliday committed 2026-03-04 23:24:48 +00:00
1 parent 3c99809e8e
commit 82175f166f
11 files changed
+345 -57

No files matched your search

@@ -0,0 +1,8 @@
import { Monitor, MonitorType } from "@/types/monitor.js";
import { MonitorStatusResponse } from "@/types/network.js";
export interface IStatusProvider<T> {
type: string;
supports: (type: MonitorType) => boolean;
handle(monitor: Monitor): Promise<MonitorStatusResponse<T>>;
}