API reference@evolu/common › Redacted

Sensitive value protection against accidental exposure.

Functions

FunctionDescription
createEqRedactedCreates an Eq for Redacted values based on an equality function for the underlying type.
createRedactedCreates a Redacted wrapper for a sensitive value.
isRedactedChecks if a value is a Redacted wrapper.
revealRedactedReveals the original value from a Redacted wrapper.

Interfaces

InterfaceDescription
RedactedA wrapper type that prevents sensitive values from being accidentally exposed through logging, serialization, or inspection.