| 43 | `; |
| 44 | |
| 45 | export interface PRByOrg { |
| 46 | orgName: string; |
| 47 | orgAvatar: string; |
| 48 | orgLogin: string; |
| 49 | prs: Array<{ |
| 50 | number: number; |
| 51 | title: string; |
| 52 | url: string; |
| 53 | state: string; |
| 54 | mergedAt: string | null; |
| 55 | createdAt: string; |
| 56 | updatedAt: string; |
| 57 | repository: string; |
| 58 | baseRef: string; |
| 59 | headRef: string; |
| 60 | ownerLogin: string; |
| 61 | }>; |
| 62 | } |
| 63 | |
| 64 | export class GitHubPRsByOrgFetcher { |
| 65 | static async fetchPRsByOrg(username: string): Promise<PRByOrg[]> { |
nothing calls this directly
no outgoing calls
no test coverage detected