diff options
| author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-07-28 14:10:38 -0700 |
|---|---|---|
| committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-07-28 14:10:38 -0700 |
| commit | ad74ff999589e0df2b60ba6e94362ed5215af312 (patch) | |
| tree | a10800668c18c7b9f7222ac9fabbca01b941f834 /src/publisher/index.ts | |
| parent | 452c41a75aa2f9036614d677fda3867221db959e (diff) | |
| download | mon.hatecomputers.club-ad74ff999589e0df2b60ba6e94362ed5215af312.tar.gz mon.hatecomputers.club-ad74ff999589e0df2b60ba6e94362ed5215af312.zip | |
something
Diffstat (limited to 'src/publisher/index.ts')
| -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; -} |
