Commit 8a502133 authored by RafaelFS's avatar RafaelFS

Adds some missing parameters on types

parent dd2a0d5d
...@@ -34,24 +34,40 @@ declare module "react-native-fcm" { ...@@ -34,24 +34,40 @@ declare module "react-native-fcm" {
body: string; body: string;
icon: string; icon: string;
}; };
local_notification?: boolean;
_notificationType: string; _notificationType: string;
finish(type?: string): void; finish(type?: string): void;
} }
export interface LocalNotification { export interface LocalNotification {
id?: string;
title?: string; title?: string;
body: string; body: string;
icon?: string; icon?: string;
vibrate?: number; vibrate?: number;
sound?: string; sound?: string;
big_text?: string; big_text?: string;
sub_text?: string;
color?: string;
large_icon?: string; large_icon?: string;
priority?: string priority?: string;
show_in_foreground?: boolean;
click_action?: string;
badge?: number;
number?: number;
ticker?: string;
auto_cancel?: boolean;
tag?: string;
group?: string;
picture?: string;
my_custom_data?: string;
lights?: boolean
} }
export interface ScheduleLocalNotification extends LocalNotification{ export interface ScheduleLocalNotification extends LocalNotification{
id: string; id: string;
fire_date: number fire_date: number;
repeat_interval?: "week" | "day" | "hour"
} }
export interface Subscription { export interface Subscription {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment