diff --git a/src/MongoDB.ts b/src/MongoDB.ts index 7b3a53c..3bf9f21 100644 --- a/src/MongoDB.ts +++ b/src/MongoDB.ts @@ -3,13 +3,13 @@ import { MongoClient, MongoClientOptions, Db, Document, WithId, ObjectId } from import { IServer, ILogger, LoggerClientOptions } from "./interfaces/index.js"; type Credentials = { - URI: string, - user: string, - password: string, - host: string, - port: number, + URI?: string, + user?: string, + password?: string, + host?: string, + port?: number, database: string, - authDb: string + authDb?: string } export type MongoOptions = {