mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Merge pull request #28518 from yousky/master
adds typings for the 'node-gcm' package
This commit is contained in:
Vendored
+8
-1
@@ -1,6 +1,7 @@
|
||||
// Type definitions for node-gcm 0.14.0
|
||||
// Type definitions for node-gcm 1.0.2
|
||||
// Project: https://www.npmjs.org/package/node-gcm
|
||||
// Definitions by: Hiroki Horiuchi <https://github.com/horiuchi>
|
||||
// BWYou <https://github.com/yousky/>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
|
||||
@@ -14,12 +15,17 @@ export interface INotificationOptions {
|
||||
tag?: string;
|
||||
color?: string;
|
||||
click_action?: string;
|
||||
body_loc_key?: string;
|
||||
body_loc_args?: string;
|
||||
title_loc_args?: string;
|
||||
title_loc_key?: string;
|
||||
}
|
||||
|
||||
export interface IMessageOptions {
|
||||
collapseKey?: string;
|
||||
priority?: string;
|
||||
contentAvailable?: boolean;
|
||||
mutableContent?: boolean;
|
||||
delayWhileIdle?: boolean;
|
||||
timeToLive?: number;
|
||||
restrictedPackageName?: string;
|
||||
@@ -57,6 +63,7 @@ export interface ISenderSendOptions {
|
||||
export interface IRecipient {
|
||||
to?: string,
|
||||
topic?: string,
|
||||
condition?: string,
|
||||
notificationKey?: string,
|
||||
registrationIds?: string[],
|
||||
registrationTokens?: string[]
|
||||
|
||||
Reference in New Issue
Block a user