correct payload type for monitor response

This commit is contained in:
Alex Holliday committed 2026-03-03 18:29:17 +00:00
1 parent 07a2f36dd7
commit bfa11216f0
1 file changed
+10 -1
+10 -1
View File
@@ -14,7 +14,16 @@ import type {
MonitorStatus,
} from "@/types/index.js";
export interface MonitorStatusResponse<T = any> {
export interface MonitorStatusResponse<
T =
| HttpStatusPayload
| PingStatusPayload
| PageSpeedStatusPayload
| HardwareStatusPayload
| DockerStatusPayload
| GameStatusPayload
| GrpcStatusPayload,
> {
monitorId: string;
teamId: string;
type: MonitorType;