Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
react-native-fcm
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ym
react-native-fcm
Commits
cbe81048
Commit
cbe81048
authored
Oct 24, 2017
by
Libin Lu
Committed by
GitHub
Oct 24, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #624 from danieloprado/master
Fix typings
parents
804aaa4d
c1bb3be2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
index.d.ts
index.d.ts
+12
-3
No files found.
index.d.ts
View file @
cbe81048
...
...
@@ -25,7 +25,7 @@ declare module "react-native-fcm" {
const
Local
=
"
local_notification
"
;
}
export
interface
Notification
{
export
interface
Notification
{
collapse_key
:
string
;
opened_from_tray
:
boolean
;
from
:
string
;
...
...
@@ -34,9 +34,18 @@ declare module "react-native-fcm" {
body
:
string
;
icon
:
string
;
};
fcm
:
{
action
?:
string
;
tag
?:
string
;
icon
?:
string
;
color
?:
string
;
body
:
string
;
title
?:
string
;
};
local_notification
?:
boolean
;
_notificationType
:
string
;
finish
(
type
?:
string
):
void
;
[
key
:
string
]:
any
;
}
export
interface
LocalNotification
{
...
...
@@ -59,12 +68,12 @@ declare module "react-native-fcm" {
auto_cancel
?:
boolean
;
group
?:
string
;
picture
?:
string
;
my_custom_data
?:
string
;
ongoing
?:
boolean
;
lights
?:
boolean
;
[
key
:
string
]:
any
;
}
export
interface
ScheduleLocalNotification
extends
LocalNotification
{
export
interface
ScheduleLocalNotification
extends
LocalNotification
{
id
:
string
;
fire_date
:
number
;
repeat_interval
?:
"
week
"
|
"
day
"
|
"
hour
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment