Skip to content

Type Alias: ArgsCaptureMode

ArgsCaptureMode = "raw" | "hash" | "redacted"

Defined in: server/src/audit/recorder.ts:26

Args-capture mode chosen for a single mutation. 'raw' stores the canonicalised normalized args as a string; 'hash' stores only the SHA-256 hex; 'redacted' drops both. Selecting per-mutation is what lets a payment.approve write raw values while a note.update only keeps a hash for GDPR reasons.