PiiMapping
Per-session PII redaction mapping for restore mechanism.
Maintained by guard.piiRedact() — tools get original values.
Properties
Section titled “Properties”original
Section titled “original”original:
string
Original PII value (e.g., “[email protected]”).
placeholder
Section titled “placeholder”placeholder:
string
Placeholder used in redacted text (e.g., “[EMAIL_1]“).
type:
PiiType|string&object
PII type — built-in (“email”, “phone”, etc.) or custom pattern name.