@fnlb-project/database 1.0.47 → 1.0.49

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,7 +2,7 @@
2
2
 
3
3
  import { GenericErrorSender } from '@fnlb-project/shared/errors';
4
4
  import { CategoryConfigSupportedPlatforms, Locales } from '@fnlb-project/shared/types';
5
- import { Schema } from 'mongoose';
5
+ import { Schema, connection } from 'mongoose';
6
6
 
7
7
  export declare class DatabaseClient {
8
8
  private dbURI;
@@ -4202,10 +4202,9 @@ export declare enum DatabaseErrors {
4202
4202
  KeyNotFound = 211,
4203
4203
  DuplicateKey = 11000
4204
4204
  }
4205
- declare const exportedMongoose: typeof mongoose;
4206
4205
 
4207
4206
  export {
4208
- exportedMongoose as mongoose,
4207
+ connection,
4209
4208
  };
4210
4209
 
4211
4210
  export {};