diff options
Diffstat (limited to 'src/publisher')
| -rw-r--r-- | src/publisher/index.ts | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/publisher/index.ts b/src/publisher/index.ts deleted file mode 100644 index f37e108..0000000 --- a/src/publisher/index.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { D } from "../util"; - -export enum PublisherType { - DISCORD = "discord", - NTFY = "ntfy", -} - -export interface DiscordPost { - webhook: string; - role_id: string; -} - -export interface NtfyPost { - webhook: string; -} - -export type PublisherPost = DiscordPost | NtfyPost; - -export interface Publisher { - type: PublisherType; - at: D.Duration; - post: PublisherPost; -} |
