@midwayjs/typegoose 3.0.0-beta.2 → 3.0.0-beta.6

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/CHANGELOG.md CHANGED
@@ -3,6 +3,41 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.0.0-beta.6](https://github.com/midwayjs/midway/compare/v3.0.0-beta.5...v3.0.0-beta.6) (2021-11-26)
7
+
8
+ **Note:** Version bump only for package @midwayjs/typegoose
9
+
10
+
11
+
12
+
13
+
14
+ # [3.0.0-beta.5](https://github.com/midwayjs/midway/compare/v3.0.0-beta.4...v3.0.0-beta.5) (2021-11-25)
15
+
16
+ **Note:** Version bump only for package @midwayjs/typegoose
17
+
18
+
19
+
20
+
21
+
22
+ # [3.0.0-beta.4](https://github.com/midwayjs/midway/compare/v3.0.0-beta.3...v3.0.0-beta.4) (2021-11-24)
23
+
24
+ **Note:** Version bump only for package @midwayjs/typegoose
25
+
26
+
27
+
28
+
29
+
30
+ # [3.0.0-beta.3](https://github.com/midwayjs/midway/compare/v3.0.0-beta.2...v3.0.0-beta.3) (2021-11-18)
31
+
32
+
33
+ ### Features
34
+
35
+ * add component and framework config definition ([#1367](https://github.com/midwayjs/midway/issues/1367)) ([b2fe615](https://github.com/midwayjs/midway/commit/b2fe6157f99659471ff1333eca0b86bb889f61a3))
36
+
37
+
38
+
39
+
40
+
6
41
  # [3.0.0-beta.2](https://github.com/midwayjs/midway/compare/v3.0.0-beta.1...v3.0.0-beta.2) (2021-11-16)
7
42
 
8
43
  **Note:** Version bump only for package @midwayjs/typegoose
@@ -1,19 +1,5 @@
1
- import * as mongoose from 'mongoose';
2
1
  export interface EntityOptions {
3
2
  connectionName: string;
4
3
  }
5
4
  export declare const ENTITY_MODEL_KEY = "TYPEGOOSE:MODEL";
6
- interface M5 {
7
- ConnectionOptions: unknown;
8
- }
9
- interface M6 {
10
- ConnectOptions: unknown;
11
- }
12
- declare type ExtractConnectionOptions<T> = T extends M5 ? T['ConnectionOptions'] : T extends M6 ? T['ConnectOptions'] : never;
13
- declare type ConnectionOptions = ExtractConnectionOptions<typeof mongoose>;
14
- export declare type DefaultConfig = {
15
- uri: string;
16
- options: ConnectionOptions;
17
- };
18
- export {};
19
5
  //# sourceMappingURL=interface.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midwayjs/typegoose",
3
- "version": "3.0.0-beta.2",
3
+ "version": "3.0.0-beta.6",
4
4
  "description": "Midway Component for typegoose",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -21,14 +21,14 @@
21
21
  },
22
22
  "license": "MIT",
23
23
  "dependencies": {
24
- "@midwayjs/mongoose": "^3.0.0-beta.2"
24
+ "@midwayjs/mongoose": "^3.0.0-beta.6"
25
25
  },
26
26
  "devDependencies": {
27
- "@midwayjs/core": "^3.0.0-beta.2",
28
- "@midwayjs/decorator": "^3.0.0-beta.2",
29
- "@midwayjs/mock": "^3.0.0-beta.2",
27
+ "@midwayjs/core": "^3.0.0-beta.6",
28
+ "@midwayjs/decorator": "^3.0.0-beta.6",
29
+ "@midwayjs/mock": "^3.0.0-beta.6",
30
30
  "@typegoose/typegoose": "^9.0.0",
31
31
  "mongoose": "~6.0.11"
32
32
  },
33
- "gitHead": "7f07de960da1155a9f7df554e1789c7a97bdd3fe"
33
+ "gitHead": "e4595d30b369e36bef21b36f2b3737d8bc2f802d"
34
34
  }