mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-20 12:42:34 +02:00

* implement ntfy notification * fix notification fields order * fix schema for ntfy --------- Co-authored-by: yusing <yusing@6uo.me>
11 lines
422 B
JavaScript
11 lines
422 B
JavaScript
export const NOTIFICATION_PROVIDERS = ["webhook", "gotify", "ntfy"];
|
|
export const NTFY_MSG_STYLES = ["markdown", "plain"];
|
|
export const WEBHOOK_TEMPLATES = ["", "discord"];
|
|
export const WEBHOOK_METHODS = ["POST", "GET", "PUT"];
|
|
export const WEBHOOK_MIME_TYPES = [
|
|
"application/json",
|
|
"application/x-www-form-urlencoded",
|
|
"text/plain",
|
|
"text/markdown",
|
|
];
|
|
export const WEBHOOK_COLOR_MODES = ["hex", "dec"];
|