mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-03 21:29:08 +00:00
Indicate in the desktop if the user gets rate limited for indexing
This commit is contained in:
@@ -31,6 +31,10 @@ contextBridge.exposeInMainWorld('updateStateAPI', {
|
||||
onUpdateState: (callback) => ipcRenderer.on('update-state', callback)
|
||||
})
|
||||
|
||||
contextBridge.exposeInMainWorld('needsSubscriptionAPI', {
|
||||
onNeedsSubscription: (callback) => ipcRenderer.on('needsSubscription', callback)
|
||||
})
|
||||
|
||||
contextBridge.exposeInMainWorld('removeFileAPI', {
|
||||
removeFile: (filePath) => ipcRenderer.invoke('removeFile', filePath)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user