UNPKG

407 BTypeScriptView Raw
1/// <reference types="mongoose" />
2export class DbModule extends Module {
3 provider: string;
4 client: string;
5 Mongoose: new (options?: import("mongoose").MongooseOptions | null | undefined) => typeof import("mongoose");
6 reconnectios: number;
7 getOptions(): any;
8 reconnect(): Promise<void>;
9 healthcheck(): Promise<any>;
10}
11export default DbModule;
12import Module from "@lskjs/module";