(id: string)
| 532 | }, |
| 533 | |
| 534 | deleteAnnotation(id: string): Annotation | undefined { |
| 535 | const existing = this.getAnnotation(id); |
| 536 | if (!existing) return undefined; |
| 537 | |
| 538 | stmts.deleteAnnotation.run(id); |
| 539 | |
| 540 | if (existing.sessionId) { |
| 541 | const event = eventBus.emit("annotation.deleted", existing.sessionId, existing); |
| 542 | persistEvent(event); |
| 543 | } |
| 544 | |
| 545 | return existing; |
| 546 | }, |
| 547 | |
| 548 | // Events |
| 549 | getEventsSince(sessionId: string, sequence: number): AFSEvent[] { |
nothing calls this directly
no test coverage detected
searching dependent graphs…