MCPcopy Index your code
hub / github.com/gitify-app/gitify / transformNotifications

Function transformNotifications

src/renderer/utils/api/transform.ts:25–32  ·  view source on GitHub ↗
(
  rawNotifications: RawGitHubNotification[],
  account: Account,
)

Source from the content-addressed store, hash-verified

23 * @returns Transformed Atlassify notifications.
24 */
25export 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.

Callers 1

getAllNotificationsFunction · 0.90

Calls 1

transformNotificationFunction · 0.85

Tested by

no test coverage detected