chapter re-ordering

This commit is contained in:
2026-02-21 10:42:01 +10:00
parent 740faae8c8
commit ca49a407da
8 changed files with 162 additions and 9 deletions

View File

@@ -45,5 +45,8 @@ contextBridge.exposeInMainWorld('api', {
ipcRenderer.removeAllListeners('ai:error')
},
getProjectWordCount: (): Promise<number> => ipcRenderer.invoke('fs:projectWordCount')
getProjectWordCount: (): Promise<number> => ipcRenderer.invoke('fs:projectWordCount'),
saveOrder: (order: Record<string, string[]>): Promise<void> =>
ipcRenderer.invoke('fs:saveOrder', order)
})