(userId: string, sessionId: string)
| 854 | |
| 855 | // User-scoped annotations |
| 856 | getPendingAnnotationsForUser(userId: string, sessionId: string): Annotation[] { |
| 857 | // First verify the session belongs to the user |
| 858 | const session = this.getSessionForUser(userId, sessionId); |
| 859 | if (!session) return []; |
| 860 | |
| 861 | const rows = tenantStmts.getPendingAnnotationsForSession.all(sessionId) as Record<string, unknown>[]; |
| 862 | return rows.map(rowToAnnotation); |
| 863 | }, |
| 864 | |
| 865 | getAllPendingForUser(userId: string): Annotation[] { |
| 866 | const rows = tenantStmts.getAllPendingForUser.all(userId) as Record<string, unknown>[]; |
nothing calls this directly
no test coverage detected
searching dependent graphs…