diff options
| author | Elizabeth Alexander Hunt <me@liz.coffee> | 2026-07-02 11:10:07 -0700 |
|---|---|---|
| committer | Elizabeth Alexander Hunt <me@liz.coffee> | 2026-07-02 11:10:07 -0700 |
| commit | 2859955095020b07909b079d34be8a80e7f58ecd (patch) | |
| tree | b10ee799208a50a800fe5cee47ade46c90770d2e /src/canary | |
| parent | 5dbd16878546886cae5b56b67de6185bfbae0d07 (diff) | |
| download | mon.hatecomputers.club-2859955095020b07909b079d34be8a80e7f58ecd.tar.gz mon.hatecomputers.club-2859955095020b07909b079d34be8a80e7f58ecd.zip | |
Diffstat (limited to 'src/canary')
| -rw-r--r-- | src/canary/job.ts | 18 |
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; |
