diff options
Diffstat (limited to 'src/canary/testable.ts')
| -rw-r--r-- | src/canary/testable.ts | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/canary/testable.ts b/src/canary/testable.ts deleted file mode 100644 index d79aa99..0000000 --- a/src/canary/testable.ts +++ /dev/null @@ -1,24 +0,0 @@ -import type { TaskEither } from "fp-ts/lib/TaskEither"; -import type { Job } from "./job"; -import type { D } from "../util"; - -export enum TestType { - EMAIL = "email", - PING = "ping", - HEALTHCHECK = "healthcheck", - DNS = "dns", -} - -export interface Schedule { - every: D.Duration; - jitter: D.Duration; -} - -export interface Test { - name: string; - type: TestType; - job: Job; - schedule: Schedule; -} - -export type Testable<T extends Job> = (job: T) => TaskEither<Error, boolean>; |
