( raw: NonNullable<RawGitHubNotification['repository']['owner']>, )
| 94 | } |
| 95 | |
| 96 | function transformOwner( |
| 97 | raw: NonNullable<RawGitHubNotification['repository']['owner']>, |
| 98 | ): GitifyOwner { |
| 99 | return { |
| 100 | login: raw.login, |
| 101 | avatarUrl: raw.avatar_url as Link, |
| 102 | type: raw.type as UserType, |
| 103 | }; |
| 104 | } |
no outgoing calls
no test coverage detected