(relPath: string, body: string)
| 399 | } |
| 400 | |
| 401 | function writeNote(relPath: string, body: string): Promise<NoteMeta> { |
| 402 | return jsonRequest<NoteMeta>('/notes/write', { |
| 403 | method: 'POST', |
| 404 | body: { path: relPath, body } |
| 405 | }) |
| 406 | } |
| 407 | |
| 408 | async function appendToNote( |
| 409 | relPath: string, |
no test coverage detected