ntfy
Version:
Send notifications over ntfy.sh.
15 lines (14 loc) • 917 B
JavaScript
/* eslint-disable no-magic-numbers */
export var MessagePriority;
(function (MessagePriority) {
/** No vibration or sound. The notification will be under the fold in "Other notifications". */
MessagePriority[MessagePriority["MIN"] = 1] = "MIN";
/** No vibration or sound. Notification will not visibly show up until notification drawer is pulled down. */
MessagePriority[MessagePriority["LOW"] = 2] = "LOW";
/** Short default vibration and sound. Default notification behavior. */
MessagePriority[MessagePriority["DEFAULT"] = 3] = "DEFAULT";
/** Long vibration burst, default notification sound with a pop-over notification. */
MessagePriority[MessagePriority["HIGH"] = 4] = "HIGH";
/** Really long vibration bursts, default notification sound with a pop-over notification. */
MessagePriority[MessagePriority["MAX"] = 5] = "MAX";
})(MessagePriority || (MessagePriority = {}));