feat(settings): replicate the WorkBuddy general settings panel (TODO 10)
This commit is contained in:
1 parent
401926d7eb
commit
7b68d9eb25
21 files changed
+1150
-11
No files matched your search
@@ -106,6 +106,13 @@ const api: YCodeApi = {
|
||||
get: () => ipcRenderer.invoke('config:get'),
|
||||
update: (patch: ConfigPatchLike) => ipcRenderer.invoke('config:update', patch)
|
||||
},
|
||||
general: {
|
||||
get: (options) => ipcRenderer.invoke('general:get', options),
|
||||
update: (patch) => ipcRenderer.invoke('general:update', patch),
|
||||
openFolder: (kind) => ipcRenderer.invoke('general:openFolder', kind),
|
||||
changeWorkspaceRoot: (path) => ipcRenderer.invoke('general:changeWorkspaceRoot', path),
|
||||
openSystemNotificationSettings: () => ipcRenderer.invoke('general:open-system-notification-settings')
|
||||
},
|
||||
workspace: {
|
||||
get: () => ipcRenderer.invoke('workspace:get'),
|
||||
choose: () => ipcRenderer.invoke('workspace:choose'),
|
||||
|
||||
Reference in new issue
Block a user