MCPcopy Create free account
hub / github.com/backnotprop/plannotator / remove

Method remove

packages/shared/external-annotation.ts:347–347  ·  view source on GitHub ↗

Remove an annotation by ID. Returns true if found.

(id: string)

Source from the content-addressed store, hash-verified

345 add(items: T[]): T[];
346 /** Remove an annotation by ID. Returns true if found. */
347 remove(id: string): boolean;
348 /** Remove all annotations from a specific source. Returns count removed. */
349 clearBySource(source: string): number;
350 /** Update an annotation by ID. Returns the updated annotation, or null if not found. */

Callers 15

ai.test.tsFile · 0.65
mountEditableDocumentsFunction · 0.65
mixResolvedColorFunction · 0.65
handleFunction · 0.65
mountAndReadFunction · 0.65
mountSessionFunction · 0.65
mountSessionFunction · 0.65
applyThemeClassesFunction · 0.65
handleCopyFunction · 0.65

Calls

no outgoing calls

Tested by 5

mountEditableDocumentsFunction · 0.52
mountAndReadFunction · 0.52
mountSessionFunction · 0.52
mountSessionFunction · 0.52
mountHookFunction · 0.52