This commit is contained in:
Alex Holliday committed 2026-01-05 17:58:47 +00:00
1 parent e62e4898b9
commit 36cdb20dfc
17 files changed
+159 -594

No files matched your search

+2 -20
View File
@@ -7,26 +7,8 @@ import {
StatsDaily,
StatsHourly,
} from "@/db/models/index.js";
export const MonitorTypes = [
"http",
"https",
"port",
"ping",
"infrastructure",
"pagespeed",
"docker",
] as const;
export type MonitorType = (typeof MonitorTypes)[number];
export const MonitorStatuses = [
"up",
"down",
"paused",
"initializing",
"resuming",
] as const;
export type MonitorStatus = (typeof MonitorStatuses)[number];
import type { MonitorType, MonitorStatus } from "@/types/domain/index.js";
import { MonitorStatuses, MonitorTypes } from "@/types/domain/index.js";
export interface IMonitorThresholds {
cpu?: number;