aboutsummaryrefslogtreecommitdiff
path: root/src/canary/job.ts
diff options
context:
space:
mode:
authorElizabeth Alexander Hunt <me@liz.coffee>2026-07-02 11:10:07 -0700
committerElizabeth Alexander Hunt <me@liz.coffee>2026-07-02 11:10:07 -0700
commit2859955095020b07909b079d34be8a80e7f58ecd (patch)
treeb10ee799208a50a800fe5cee47ade46c90770d2e /src/canary/job.ts
parent5dbd16878546886cae5b56b67de6185bfbae0d07 (diff)
downloadmon.hatecomputers.club-2859955095020b07909b079d34be8a80e7f58ecd.tar.gz
mon.hatecomputers.club-2859955095020b07909b079d34be8a80e7f58ecd.zip
BackupHEADmain
Diffstat (limited to 'src/canary/job.ts')
-rw-r--r--src/canary/job.ts18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/canary/job.ts b/src/canary/job.ts
index 61af876..a654417 100644
--- a/src/canary/job.ts
+++ b/src/canary/job.ts
@@ -1,20 +1,6 @@
-import { D } from "../util";
-
-export interface PingJob {
- hosts: string[];
-}
-
export interface Retry {
retries: number;
- interval: D.Duration;
-}
-
-export interface HealthCheckJob {
- healthcheck_routes: string[];
-}
-
-export interface DnsJob {
- resolutions: { [key: string]: string };
+ interval: number;
}
export interface EmailInstruction {
@@ -37,5 +23,3 @@ export interface EmailJob {
to: EmailToInstruction;
readRetry: Retry;
}
-
-export type Job = EmailJob | PingJob | HealthCheckJob | DnsJob;