diff options
Diffstat (limited to 'src/publisher')
| -rw-r--r-- | src/publisher/index.ts | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/publisher/index.ts b/src/publisher/index.ts index e721160..f37e108 100644 --- a/src/publisher/index.ts +++ b/src/publisher/index.ts @@ -1,4 +1,4 @@ -import type { Duration, Result } from "../util"; +import { D } from "../util"; export enum PublisherType { DISCORD = "discord", @@ -18,10 +18,6 @@ export type PublisherPost = DiscordPost | NtfyPost; export interface Publisher { type: PublisherType; - at: Duration; + at: D.Duration; post: PublisherPost; } - -export interface ResultPublishable { - publish(testResult: Result<boolean, Error>): void; -} |
