diff options
Diffstat (limited to 'src/canary/job.ts')
| -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; |
