(relPath: string)
| 381 | } |
| 382 | |
| 383 | function readNote(relPath: string): Promise<NoteContent> { |
| 384 | return jsonRequest<NoteContent>(`/notes/read?path=${encodeURIComponent(relPath)}`) |
| 385 | } |
| 386 | |
| 387 | function readNoteComments(relPath: string): Promise<NoteComment[]> { |
| 388 | return jsonRequest<NoteComment[]>(`/comments/read?path=${encodeURIComponent(relPath)}`) |
no test coverage detected