Add document, knowledge, and automation subsystems

Migration 040 creates documents, knowledge_entries, and automation_rules
tables. Full-stack services (DocumentService, KnowledgeService,
AutomationService), IPC handlers, preload bridge, desktop-api types,
and domain records wired into the snapshot. UI pages follow next.
This commit is contained in:
ZacharyZhang-NY committed 2026-06-07 17:46:55 -04:00
1 parent 3b115e8bec
commit b5b8f3ba3c
13 files changed
+344 -1

No files matched your search

+8
View File
@@ -20,6 +20,14 @@ const api: DesktopApi = {
createGoal: (input) => invoke(IPC_CHANNELS.createGoal, input),
createProject: (input) => invoke(IPC_CHANNELS.createProject, input),
createWorkspace: (input) => invoke(IPC_CHANNELS.createWorkspace, input),
createDocument: (input) => invoke(IPC_CHANNELS.createDocument, input),
updateDocument: (input) => invoke(IPC_CHANNELS.updateDocument, input),
deleteDocument: (input) => invoke(IPC_CHANNELS.deleteDocument, input),
createKnowledgeEntry: (input) => invoke(IPC_CHANNELS.createKnowledgeEntry, input),
deleteKnowledgeEntry: (input) => invoke(IPC_CHANNELS.deleteKnowledgeEntry, input),
createAutomationRule: (input) => invoke(IPC_CHANNELS.createAutomationRule, input),
updateAutomationRule: (input) => invoke(IPC_CHANNELS.updateAutomationRule, input),
deleteAutomationRule: (input) => invoke(IPC_CHANNELS.deleteAutomationRule, input),
createApproval: (input) => invoke(IPC_CHANNELS.createApproval, input),
decideApproval: (input) => invoke(IPC_CHANNELS.decideApproval, input),
syncEmployeeIdentity: (input) => invoke(IPC_CHANNELS.syncEmployeeIdentity, input),