diff options
| author | Elizabeth Alexander Hunt <me@liz.coffee> | 2026-07-02 11:10:07 -0700 |
|---|---|---|
| committer | Elizabeth Alexander Hunt <me@liz.coffee> | 2026-07-02 11:10:07 -0700 |
| commit | 2859955095020b07909b079d34be8a80e7f58ecd (patch) | |
| tree | b10ee799208a50a800fe5cee47ade46c90770d2e /src/publisher | |
| parent | 5dbd16878546886cae5b56b67de6185bfbae0d07 (diff) | |
| download | mon.hatecomputers.club-main.tar.gz mon.hatecomputers.club-main.zip | |
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; -} |
