* 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.
()
| 5162 | * a sync re-resolves after a route appeared or went away. |
| 5163 | */ |
| 5164 | getResolvedNavigations(): Array<Edge & { edgeId: number; sourceFilePath: string; sourceLanguage: Language }> { |
| 5165 | const rows = this.db |
| 5166 | .prepare( |
| 5167 | `SELECT e.*, src.file_path AS source_file_path, src.language AS source_language |
| 5168 | FROM edges e |
| 5169 | JOIN nodes src ON src.id = e.source |
| 5170 | WHERE e.kind = 'navigates' AND (e.provenance IS NULL OR e.provenance != 'heuristic')` |
| 5171 | ) |
| 5172 | .all() as Array<EdgeRow & { source_file_path: string; source_language: Language }>; |
| 5173 | return rows.map((row) => ({ |
| 5174 | ...rowToEdge(row), |
| 5175 | edgeId: row.id, |
| 5176 | sourceFilePath: row.source_file_path, |
| 5177 | sourceLanguage: row.source_language, |
| 5178 | })); |
| 5179 | } |
| 5180 | |
| 5181 | /** |
| 5182 | * The keys failed references wait for a module under (`module:pages`), each |