* The `navigates` edges a router's resolver made (not a synthesizer's), with * the source file and language a resurrection needs — the navigation calls * a sync re-resolves after a route appeared or went away.
()
| 5273 | * a sync re-resolves after a route appeared or went away. |
| 5274 | */ |
| 5275 | getResolvedNavigations(): Array<Edge & { edgeId: number; sourceFilePath: string; sourceLanguage: Language }> { |
| 5276 | const rows = this.db |
| 5277 | .prepare( |
| 5278 | `SELECT e.*, src.file_path AS source_file_path, src.language AS source_language |
| 5279 | FROM edges e |
| 5280 | JOIN nodes src ON src.id = e.source |
| 5281 | WHERE e.kind = 'navigates' AND (e.provenance IS NULL OR e.provenance != 'heuristic')` |
| 5282 | ) |
| 5283 | .all() as Array<EdgeRow & { source_file_path: string; source_language: Language }>; |
| 5284 | return rows.map((row) => ({ |
| 5285 | ...rowToEdge(row), |
| 5286 | edgeId: row.id, |
| 5287 | sourceFilePath: row.source_file_path, |
| 5288 | sourceLanguage: row.source_language, |
| 5289 | })); |
| 5290 | } |
| 5291 | |
| 5292 | /** |
| 5293 | * The keys failed references wait for a module under (`module:pages`), each |