MCPcopy
hub / github.com/jwngr/sdow / FetchShortestPathsResponse

Interface FetchShortestPathsResponse

website/src/api.ts:9–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7} from './types';
8
9interface 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
18export async function fetchShortestPaths({
19 sourcePageTitle,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected