Add fully-formed annotations. Returns the added annotations.
(items: T[])
| 343 | export interface AnnotationStore<T extends StorableAnnotation> { |
| 344 | /** Add fully-formed annotations. Returns the added annotations. */ |
| 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. */ |
no outgoing calls