Μετάβαση στο περιεχόμενο
Από την έκδοση 0.5.0 τα πακέτα συνεχίζουν ως @cqrs-ddd, με τεκμηρίωση στο aristoteliss.github.io/ddd-cqrs· οι εφαρμογές NestJS προσθέτουν το @cqrs-ddd/nestjs. Αυτός ο ιστότοπος τεκμηριώνει τη σειρά 0.4.x.

redactValue

Αυτό το περιεχόμενο δεν είναι ακόμη διαθέσιμο στη γλώσσα σου.

redactValue(value, keys?): unknown

Defined in: safeStringify.ts:335

Returns a copy of value with the given keys masked with REDACTED.

Copies in the 'clone' mode of SanitizeOptions: Date, RegExp, Map, Set, and binary values keep their classes; an Error becomes a plain Error with the same name, message, stack, and own enumerable properties; any other object becomes a plain object. A cyclic reference becomes '[Circular]', streams and Multer files become placeholder strings, and functions are returned by reference.

unknown

readonly string[] = DEFAULT_REDACT_KEYS

unknown