Express_Crud_Example/node_modules/mongodb-connection-string-url/lib/redact.d.ts
2022-01-28 22:33:42 +01:00

8 lines
423 B
TypeScript

import ConnectionString from './index';
export interface ConnectionStringRedactionOptions {
redactUsernames?: boolean;
replacementString?: string;
}
export declare function redactValidConnectionString(inputUrl: Readonly<ConnectionString>, options?: ConnectionStringRedactionOptions): ConnectionString;
export declare function redactConnectionString(uri: string, options?: ConnectionStringRedactionOptions): string;