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