feat(mcp): Archivierte Einträge wiederherstellen und Kontostände abfragen
All checks were successful
Build and Release FEDEO / verify (push) Successful in 1m5s
Build and Release FEDEO / build-and-release (push) Successful in 6m21s

- archive.entities.list / archive.entities.restore für alle per MCP archivierbaren Entitäten mit Berechtigungsprüfung je Entität und Historieneintrag
- accounting.bank_accounts.balances liefert Stände von Bankkonten und Kassenbüchern, optional zu einem Stichtag

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-25 14:28:05 +01:00
parent 36dffc057a
commit 0777315d1d
11 changed files with 377 additions and 6 deletions

View File

@@ -50,7 +50,7 @@ export async function insertHistoryItem(
created_by: string | null
entity: string
entityId: string | number
action: "created" | "updated" | "unchanged" | "deleted" | "archived"
action: "created" | "updated" | "unchanged" | "deleted" | "archived" | "restored"
oldVal?: any
newVal?: any
text?: string
@@ -62,6 +62,7 @@ export async function insertHistoryItem(
updated: `Eintrag in ${entityLabel} geändert`,
unchanged: `Eintrag in ${entityLabel} unverändert`,
archived: `Eintrag in ${entityLabel} archiviert`,
restored: `Eintrag in ${entityLabel} wiederhergestellt`,
deleted: `Eintrag in ${entityLabel} gelöscht`
}