-
Notifications
You must be signed in to change notification settings - Fork 1
/
priorities.js
52 lines (52 loc) · 1.92 KB
/
priorities.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// eslint-disable-next-line @eslint-community/eslint-comments/disable-enable-pair
/* eslint-disable write-good-comments/write-good-comments */
/**
* Max Priority Options
* - Really long vibration bursts, default notification sound with a pop-over notification.
*/
export const ntfyMessagePrioritiesMax = ['5', 'max', 'urgent'];
/**
* Max Priority
* - Really long vibration bursts, default notification sound with a pop-over notification.
*/
export const ntfyMessagePriorityMax = ntfyMessagePrioritiesMax[0];
/**
* High Priority Options
* - Long vibration burst, default notification sound with a pop-over notification.
*/
export const ntfyMessagePrioritiesHigh = ['4', 'high'];
/**
* High Priority
* - Long vibration burst, default notification sound with a pop-over notification.
*/
export const ntfyMessagePriorityHigh = ntfyMessagePrioritiesHigh[0];
/**
* Default Priority Options
* - Short default vibration and sound. Default notification behavior.
*/
export const ntfyMessagePrioritiesDefault = ['3', 'default'];
/**
* Default Priority
* - Short default vibration and sound. Default notification behavior.
*/
export const ntfyMessagePriorityDefault = ntfyMessagePrioritiesDefault[0];
/**
* Low Priority Options
* - No vibration or sound. Notification will not visibly show up until notification drawer is pulled down.
*/
export const ntfyMessagePrioritiesLow = ['2', 'low'];
/**
* Low Priority
* - No vibration or sound. Notification will not visibly show up until notification drawer is pulled down.
*/
export const ntfyMessagePriorityLow = ntfyMessagePrioritiesLow[0];
/**
* Min Priority Options
* - No vibration or sound. The notification will be under the fold in "Other notifications".
*/
export const ntfyMessagePrioritiesMin = ['1', 'min'];
/**
* Min Priority
* - No vibration or sound. The notification will be under the fold in "Other notifications".
*/
export const ntfyMessagePriorityMin = ntfyMessagePrioritiesMin[0];