interface NtfyJSONBody {
topic: string;
message?: string;
title?: string;
tags?: (NtfyEmojiTags)[] | string[];
priority?: 1 | 2 | 3 | 4 | 5;
actions?: NtfyAction;
click?: string;
attach?: string;
markdown?: boolean;
icon?: string;
filename?: string;
delay?: string;
email?: string;
call?: string;
}
type NtfyEmojiTags =
| "+1"
| "partying_face"
| "tada"
| "heavy_check_mark"
| "loudspeaker"
| "-1"
| "warning"
| "rotating_light"
| "triangular_flag_on_post"
| "skull"
| "facepalm"
| "no_entry"
| "no_entry_sign"
| "cd"
| "computer";
type NtfyAction = NtfyHTTPAction | NtfyViewAction | NtfyBroadcastAction;
interface NtfyHTTPAction {
action: "http";
label: string;
url: string;
method?: string;