( rawNotifications: RawGitHubNotification[], account: Account, )
| 23 | * @returns Transformed Atlassify notifications. |
| 24 | */ |
| 25 | export function transformNotifications( |
| 26 | rawNotifications: RawGitHubNotification[], |
| 27 | account: Account, |
| 28 | ): GitifyNotification[] { |
| 29 | return rawNotifications.map((raw) => { |
| 30 | return transformNotification(raw, account); |
| 31 | }); |
| 32 | } |
| 33 | |
| 34 | /** |
| 35 | * Transform a raw GitHub notification to GitifyNotification. |
no test coverage detected