diff --git a/types/node-gcm/index.d.ts b/types/node-gcm/index.d.ts index 61c7ae70dc..c2bca37a37 100644 --- a/types/node-gcm/index.d.ts +++ b/types/node-gcm/index.d.ts @@ -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 +// BWYou // 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[]