improvements to the ui
This commit is contained in:
@@ -56,6 +56,11 @@ const api = {
|
||||
theme: (): Promise<string> => ipcRenderer.invoke('config:theme'),
|
||||
},
|
||||
|
||||
recent: {
|
||||
get: (): Promise<string[]> => ipcRenderer.invoke('recent:get'),
|
||||
set: (list: string[]): Promise<void> => ipcRenderer.invoke('recent:set', list),
|
||||
},
|
||||
|
||||
search: {
|
||||
content: (query: string) => ipcRenderer.invoke('search:content', query),
|
||||
files: (): Promise<string[]> => ipcRenderer.invoke('search:files'),
|
||||
|
||||
Reference in New Issue
Block a user