@midwayjs/typegoose 2.12.9 → 2.13.3

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,38 @@
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
+ ## [2.13.3](https://github.com/midwayjs/midway/compare/v2.13.2...v2.13.3) (2021-09-28)
7
+
8
+ **Note:** Version bump only for package @midwayjs/typegoose
9
+
10
+
11
+
12
+
13
+
14
+ ## [2.13.2](https://github.com/midwayjs/midway/compare/v2.13.1...v2.13.2) (2021-09-09)
15
+
16
+ **Note:** Version bump only for package @midwayjs/typegoose
17
+
18
+
19
+
20
+
21
+
22
+ ## [2.13.1](https://github.com/midwayjs/midway/compare/v2.13.0...v2.13.1) (2021-09-08)
23
+
24
+ **Note:** Version bump only for package @midwayjs/typegoose
25
+
26
+
27
+
28
+
29
+
30
+ # [2.13.0](https://github.com/midwayjs/midway/compare/v2.12.9...v2.13.0) (2021-09-07)
31
+
32
+ **Note:** Version bump only for package @midwayjs/typegoose
33
+
34
+
35
+
36
+
37
+
6
38
  ## [2.12.9](https://github.com/midwayjs/midway/compare/v2.12.8...v2.12.9) (2021-09-01)
7
39
 
8
40
  **Note:** Version bump only for package @midwayjs/typegoose
@@ -19,9 +19,9 @@ let AutoConfiguration = class AutoConfiguration {
19
19
  }
20
20
  };
21
21
  AutoConfiguration = __decorate([
22
- decorator_1.Configuration({
22
+ (0, decorator_1.Configuration)({
23
23
  namespace: 'mongoose',
24
- importConfigs: [path_1.join(__dirname, 'config')],
24
+ importConfigs: [(0, path_1.join)(__dirname, 'config')],
25
25
  })
26
26
  ], AutoConfiguration);
27
27
  exports.AutoConfiguration = AutoConfiguration;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  export { AutoConfiguration as Configuration } from './configuration';
2
2
  export * from './service/mongoose';
3
- export * from '@typegoose/typegoose';
4
3
  export * from './interface/config.type';
5
4
  //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -14,6 +14,5 @@ exports.Configuration = void 0;
14
14
  var configuration_1 = require("./configuration");
15
15
  Object.defineProperty(exports, "Configuration", { enumerable: true, get: function () { return configuration_1.AutoConfiguration; } });
16
16
  __exportStar(require("./service/mongoose"), exports);
17
- __exportStar(require("@typegoose/typegoose"), exports);
18
17
  __exportStar(require("./interface/config.type"), exports);
19
18
  //# sourceMappingURL=index.js.map
@@ -18,18 +18,18 @@ let MongooseService = class MongooseService {
18
18
  }
19
19
  };
20
20
  __decorate([
21
- decorator_1.Config('mongoose'),
21
+ (0, decorator_1.Config)('mongoose'),
22
22
  __metadata("design:type", Object)
23
23
  ], MongooseService.prototype, "config", void 0);
24
24
  __decorate([
25
- decorator_1.Init(),
25
+ (0, decorator_1.Init)(),
26
26
  __metadata("design:type", Function),
27
27
  __metadata("design:paramtypes", []),
28
28
  __metadata("design:returntype", Promise)
29
29
  ], MongooseService.prototype, "init", null);
30
30
  MongooseService = __decorate([
31
- decorator_1.Provide('mongooseService'),
32
- decorator_1.Scope(decorator_1.ScopeEnum.Singleton)
31
+ (0, decorator_1.Provide)('mongooseService'),
32
+ (0, decorator_1.Scope)(decorator_1.ScopeEnum.Singleton)
33
33
  ], MongooseService);
34
34
  exports.MongooseService = MongooseService;
35
35
  //# sourceMappingURL=mongoose.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midwayjs/typegoose",
3
- "version": "2.12.9",
3
+ "version": "2.13.3",
4
4
  "description": "Midway Component for typegoose",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -21,13 +21,13 @@
21
21
  },
22
22
  "license": "MIT",
23
23
  "devDependencies": {
24
- "@midwayjs/core": "^2.12.9",
25
- "@midwayjs/decorator": "^2.12.9",
26
- "@midwayjs/koa": "^2.12.9",
27
- "@midwayjs/mock": "^2.12.9",
24
+ "@midwayjs/core": "^2.13.3",
25
+ "@midwayjs/decorator": "^2.13.2",
26
+ "@midwayjs/koa": "^2.13.3",
27
+ "@midwayjs/mock": "^2.13.3",
28
28
  "@typegoose/typegoose": "^8.1.0",
29
29
  "mongodb-memory-server": "^6.9.6",
30
30
  "mongoose": "~5.13.3"
31
31
  },
32
- "gitHead": "f43ea420fd98164a5e06c3fb3f31588203a9897e"
32
+ "gitHead": "30f63af0d6560421b36f31064cb20b13a53b5afb"
33
33
  }