feat: sitemap validattion

This commit is contained in:
2026-02-21 14:26:06 +01:00
parent d651049659
commit bca3da1587
28 changed files with 1124 additions and 14 deletions

View File

@@ -1,6 +1,7 @@
import { contextBridge, ipcRenderer } from 'electron';
import type { ElectronAPI } from './shared/electronApi';
import type { GitInitProgress } from './shared/electronApi';
import type { SiteValidationReport } from './shared/electronApi';
// Expose protected methods that allow the renderer process to use
// ipcRenderer without exposing the entire object
@@ -253,6 +254,8 @@ export const electronAPI: ElectronAPI = {
// Blog operations
blog: {
generateSitemap: () => ipcRenderer.invoke('blog:generateSitemap'),
validateSite: () => ipcRenderer.invoke('blog:validateSite'),
applyValidation: (report: SiteValidationReport) => ipcRenderer.invoke('blog:applyValidation', report),
},
// AI Chat (OpenCode Zen API integration)