@midwayjs/mongoose 3.9.0 → 3.10.0
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/interface.d.ts +1 -1
- package/package.json +5 -5
package/dist/interface.d.ts
CHANGED
|
@@ -10,6 +10,6 @@ interface Plus {
|
|
|
10
10
|
}
|
|
11
11
|
declare type ExtractConnectionOptionsFromConnection<T extends (...args: any[]) => any> = Parameters<T>[1];
|
|
12
12
|
declare type ExtractConnectionOptions<T> = T extends M5 ? T['ConnectionOptions'] : T extends M6 ? T['ConnectOptions'] : T extends Plus ? ExtractConnectionOptionsFromConnection<T['Connection']['prototype']['openUri']> : never;
|
|
13
|
-
export
|
|
13
|
+
export type ConnectionOptions = ExtractConnectionOptions<typeof mongoose>;
|
|
14
14
|
export {};
|
|
15
15
|
//# sourceMappingURL=interface.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@midwayjs/mongoose",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.10.0",
|
|
4
4
|
"description": "Midway Component for mongoose",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "index.d.ts",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "MIT",
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@midwayjs/core": "^3.
|
|
26
|
-
"@midwayjs/mock": "^3.
|
|
27
|
-
"mongoose": "6.
|
|
25
|
+
"@midwayjs/core": "^3.10.0",
|
|
26
|
+
"@midwayjs/mock": "^3.10.0",
|
|
27
|
+
"mongoose": "6.9.0"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "33d28f1a020963404488e866432916fd15c0952c"
|
|
30
30
|
}
|