flow like the river

This commit is contained in:
root 2025-11-07 00:06:12 +01:00
commit 013fe673f3
42435 changed files with 5764238 additions and 0 deletions

15
BACK_BACK/node_modules/@elastic/transport/lib/security.d.ts generated vendored Executable file
View file

@ -0,0 +1,15 @@
import { DiagnosticResult } from './types';
import { RedactionOptions } from './Transport';
/**
* Clones an object and recursively loops through all keys, redacting their values if the key matches any of a list of strings.
* @param obj: Object to clone and redact
* @param additionalKeys: Extra keys that can be matched for redaction. Does not overwrite the default set.
*/
export declare function redactObject(obj: Record<string, any>, additionalKeys?: string[]): Record<string, any>;
/**
* Redacts a DiagnosticResult object using the provided options.
* - 'off' does nothing
* - 'remove' removes most optional properties, replaces non-optional properties with the simplest possible alternative
* - 'replace' runs `redactObject`, which replaces secret keys with `[redacted]`
*/
export declare function redactDiagnostic(diag: DiagnosticResult, options: RedactionOptions): DiagnosticResult;