feat: first cut at menu editor

This commit is contained in:
2026-02-21 19:51:34 +01:00
parent f371dbd2b2
commit 76c3a8368e
37 changed files with 2148 additions and 4 deletions

View File

@@ -258,6 +258,11 @@ export const electronAPI: ElectronAPI = {
applyValidation: (report: SiteValidationReport) => ipcRenderer.invoke('blog:applyValidation', report),
},
menu: {
get: () => ipcRenderer.invoke('menu:get'),
save: (menu: import('./shared/electronApi').MenuDocument) => ipcRenderer.invoke('menu:save', menu),
},
// AI Chat (OpenCode Zen API integration)
chat: {
// API Key Management