| 7 | } from './types'; |
| 8 | |
| 9 | interface FetchShortestPathsResponse { |
| 10 | readonly paths: readonly WikipediaPageId[][]; |
| 11 | readonly pagesById: Record<WikipediaPageId, WikipediaPage>; |
| 12 | readonly sourcePageTitle: string; |
| 13 | readonly targetPageTitle: string; |
| 14 | readonly isSourceRedirected: boolean; |
| 15 | readonly isTargetRedirected: boolean; |
| 16 | } |
| 17 | |
| 18 | export async function fetchShortestPaths({ |
| 19 | sourcePageTitle, |
nothing calls this directly
no outgoing calls
no test coverage detected