@fnlb-project/database 1.0.49 → 1.0.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  import { GenericErrorSender } from '@fnlb-project/shared/errors';
4
4
  import { CategoryConfigSupportedPlatforms, Locales } from '@fnlb-project/shared/types';
5
- import { Schema, connection } from 'mongoose';
5
+ import { ConnectOptions, Schema } from 'mongoose';
6
6
 
7
7
  export declare class DatabaseClient {
8
8
  private dbURI;
9
9
  constructor(dbURI: string);
10
- connect(options?: mongoose.ConnectOptions): Promise<void>;
10
+ connect(options?: ConnectOptions): Promise<void>;
11
11
  private connectWithRetry;
12
12
  }
13
13
  export declare class DatabaseErrorHandler {
@@ -4203,8 +4203,4 @@ export declare enum DatabaseErrors {
4203
4203
  DuplicateKey = 11000
4204
4204
  }
4205
4205
 
4206
- export {
4207
- connection,
4208
- };
4209
-
4210
4206
  export {};