( notification: GitifyNotification, )
| 5 | import { createNotificationHandler } from './handlers'; |
| 6 | |
| 7 | export function generateNotificationReferrerId( |
| 8 | notification: GitifyNotification, |
| 9 | ): string { |
| 10 | const raw = `018:NotificationThread${notification.id}:${notification.account.user?.id}`; |
| 11 | return btoa(raw); |
| 12 | } |
| 13 | |
| 14 | export async function generateGitHubWebUrl( |
| 15 | notification: GitifyNotification, |
no outgoing calls
no test coverage detected