MCPcopy Create free account
hub / github.com/TraderAlice/OpenAlice / resolveWikilink

Function resolveWikilink

ui/src/api/issues.ts:165–169  ·  view source on GitHub ↗

* Resolve a `[[name]]` token across BOTH namespaces (entity + issues). Used by * the issue-detail body's clickable wikilinks: a unique target navigates * straight through; a collision opens the disambiguation picker.

(name: string)

Source from the content-addressed store, hash-verified

163 * straight through; a collision opens the disambiguation picker.
164 */
165 async resolveWikilink(name: string): Promise<WikilinkResolution> {
166 return fetchJson<WikilinkResolution>(
167 `/api/wikilink/resolve?name=${encodeURIComponent(name)}`,
168 )
169 },
170
171 /**
172 * Human write path: patch one issue's editable fields (any subset of

Callers

nothing calls this directly

Calls 1

fetchJsonFunction · 0.90

Tested by

no test coverage detected