1 | export declare type Notification = {
|
2 | origin: 'selected' | 'received';
|
3 | data: any;
|
4 | remote: boolean;
|
5 | isMultiple: boolean;
|
6 | };
|
7 | export declare type LocalNotification = {
|
8 | title: string;
|
9 | body?: string;
|
10 | data?: any;
|
11 | categoryId?: string;
|
12 | ios?: {
|
13 | sound?: boolean;
|
14 | _displayInForeground?: boolean;
|
15 | };
|
16 | android?: {
|
17 | channelId?: string;
|
18 | icon?: string;
|
19 | color?: string;
|
20 | sticky?: boolean;
|
21 | link?: string;
|
22 | };
|
23 | web?: NotificationOptions;
|
24 | };
|
25 | export declare type Channel = {
|
26 | name: string;
|
27 | description?: string;
|
28 | priority?: string;
|
29 | sound?: boolean;
|
30 | vibrate?: boolean | number[];
|
31 | badge?: boolean;
|
32 | };
|
33 | export declare type ActionType = {
|
34 | actionId: string;
|
35 | buttonTitle: string;
|
36 | isDestructive?: boolean;
|
37 | isAuthenticationRequired?: boolean;
|
38 | doNotOpenInForeground?: boolean;
|
39 | textInput?: {
|
40 | submitButtonTitle: string;
|
41 | placeholder: string;
|
42 | };
|
43 | };
|
44 | export declare type LocalNotificationId = string | number;
|