File tree Expand file tree Collapse file tree 1 file changed +53
-1
lines changed
src/@ionic-native/plugins/local-notifications Expand file tree Collapse file tree 1 file changed +53
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,58 @@ export enum ELocalNotificationTriggerUnit {
16
16
WEEK_OF_MONTH = 'weekOfMonth'
17
17
}
18
18
19
+ export interface ILocalNotificationEvery {
20
+ /**
21
+ * The minute.
22
+ */
23
+ minute ?: number ;
24
+
25
+ /**
26
+ * The hour.
27
+ */
28
+ hour ?: number ;
29
+
30
+ /**
31
+ * The day.
32
+ */
33
+ day ?: number ;
34
+
35
+ /**
36
+ * The day of week.
37
+ */
38
+ weekday ?: number ;
39
+
40
+ /**
41
+ * The week of yeaday of the ardinal week.
42
+ */
43
+ week ?: number ;
44
+
45
+ /**
46
+ * The day of the ordinal week.
47
+ */
48
+ weekdayOrdinal ?: number ;
49
+
50
+ /**
51
+ * The week of month.
52
+ */
53
+ weekOfMonth ?: number ;
54
+
55
+ /**
56
+ * The month.
57
+ */
58
+ month ?: number ;
59
+
60
+ /**
61
+ * The quarter.
62
+ */
63
+ quarter ?: number ;
64
+
65
+ /**
66
+ * The year.
67
+ */
68
+ year ?: number ;
69
+ }
70
+
19
71
export interface ILocalNotificationTrigger {
20
72
/** ***** FIX ***** */
21
73
@@ -47,7 +99,7 @@ export interface ILocalNotificationTrigger {
47
99
/**
48
100
* The unit
49
101
*/
50
- every ?: ELocalNotificationTriggerUnit ;
102
+ every ?: ELocalNotificationTriggerUnit | ILocalNotificationEvery ;
51
103
52
104
/**
53
105
* The end of the repeating notification
You can’t perform that action at this time.
0 commit comments