This repository has been archived on 2024-09-11. You can view files and clone it, but cannot push or open issues or pull requests.
svrjs-blog-newsletter/backend/node_modules/mongodb-connection-string-url/lib/redact.d.ts

8 lines
423 B
TypeScript
Raw Normal View History

2024-05-26 22:54:55 +02:00
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;