Changeset View
Changeset View
Standalone View
Standalone View
keyserver/src/push/types.js
// @flow | // @flow | ||||
import apn from '@parse/node-apn'; | import apn from '@parse/node-apn'; | ||||
export type TargetedAPNsNotification = { | export type TargetedAPNsNotification = { | ||||
+notification: apn.Notification, | +notification: apn.Notification, | ||||
+deviceToken: string, | +deviceToken: string, | ||||
}; | }; | ||||
export type AndroidNotification = { | |||||
+data: { | |||||
+id?: string, | |||||
+badgeOnly?: string, | |||||
+[string]: string, | |||||
}, | |||||
}; |