sentence length histogram

This commit is contained in:
TC
2026-06-10 22:37:07 +10:00
parent 9beb48129e
commit fc34480ff3
9 changed files with 558 additions and 23 deletions

View File

@@ -122,8 +122,8 @@ contextBridge.exposeInMainWorld('api', {
exportPDF: (content: string, fileName: string): Promise<void> =>
ipcRenderer.invoke('export:pdf', content, fileName),
exportProjectPDF: (): Promise<void> =>
ipcRenderer.invoke('export:projectPdf'),
exportProjectPDF: (opts: unknown): Promise<void> =>
ipcRenderer.invoke('export:projectPdf', opts),
readAllDraftFiles: (): Promise<{ relativePath: string; content: string }[]> =>
ipcRenderer.invoke('fs:readAllFiles'),