@fnlb-project/database 1.0.52 → 1.0.53
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 +5 -1
- package/dist/index.js +193 -193
- package/package.json +1 -1
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 { ConnectOptions, Schema } from 'mongoose';
|
|
5
|
+
import { ConnectOptions, Schema, connection } from 'mongoose';
|
|
6
6
|
|
|
7
7
|
export declare class DatabaseClient {
|
|
8
8
|
private dbURI;
|
|
@@ -4203,4 +4203,8 @@ export declare enum DatabaseErrors {
|
|
|
4203
4203
|
DuplicateKey = 11000
|
|
4204
4204
|
}
|
|
4205
4205
|
|
|
4206
|
+
export {
|
|
4207
|
+
connection,
|
|
4208
|
+
};
|
|
4209
|
+
|
|
4206
4210
|
export {};
|