Changeset View
Changeset View
Standalone View
Standalone View
lib/utils/push-alerts.js
- This file was moved from native/push/alerts.js.
// @flow | // @flow | ||||
export type NotifPermissionAlertInfo = { | export type NotifPermissionAlertInfo = { | ||||
+totalAlerts: number, | +totalAlerts: number, | ||||
+lastAlertTime: number, | +lastAlertTime: number, | ||||
}; | }; | ||||
const defaultNotifPermissionAlertInfo: NotifPermissionAlertInfo = { | const defaultNotifPermissionAlertInfo: NotifPermissionAlertInfo = { | ||||
totalAlerts: 0, | totalAlerts: 0, | ||||
lastAlertTime: 0, | lastAlertTime: 0, | ||||
}; | }; | ||||
export { defaultNotifPermissionAlertInfo }; | const recordNotifPermissionAlertActionType = 'RECORD_NOTIF_PERMISSION_ALERT'; | ||||
export { | |||||
defaultNotifPermissionAlertInfo, | |||||
recordNotifPermissionAlertActionType, | |||||
}; |