✨ types(audit): excludeFields und AuditEntry (#67)

collection.audit.excludeFields (dot notation) hält Werte aus dem Audit-Verlauf
heraus; AuditLog.redactedFields nennt die betroffenen Pfade. AuditEntry ist
jetzt als Typ deklariert, damit Clients das Feld sehen.

Refs cms/tibi-server#67
This commit is contained in:
apairon committed 2026-11-04 13:33:58 +00:00
1 parent 779dd574fc
commit cbec4753a1
2 files changed
+35

No files matched your search

+8
View File
@@ -124,6 +124,14 @@
"bulkDelete"
]
}
},
"excludeFields": {
"description": "Document paths (dot notation) whose values are never stored in the audit history. The paths are recorded in AuditLog.redactedFields; snapshot backups are not affected.",
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
}
},