UNPKG

529 BTypeScriptView Raw
1import { IModulePatcher } from "diagnostic-channel";
2export interface IMongoData {
3 startedData: {
4 databaseName?: string;
5 command?: any;
6 time: Date;
7 };
8 event: {
9 commandName?: string;
10 duration?: number;
11 failure?: string;
12 reply?: any;
13 };
14 succeeded: boolean;
15}
16export declare const mongo2: IModulePatcher;
17export declare const mongo3: IModulePatcher;
18export declare const mongo330: IModulePatcher;
19export declare function enable(): void;