@tsed/mongoose 6.123.1 → 6.125.1

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.
@@ -16,4 +16,4 @@ export declare function getModelToken(target: Type<any>, options: any): {
16
16
  * @param discriminatorValue
17
17
  * @returns {Model<T extends Document>}
18
18
  */
19
- export declare function createModel<T>(target: any, schema: mongoose.Schema, name?: string, collection?: string, overwriteModels?: boolean, connection?: Connection, discriminatorValue?: string): mongoose.Model<any, any, any, any>;
19
+ export declare function createModel<T>(target: any, schema: mongoose.Schema, name?: string, collection?: string, overwriteModels?: boolean, connection?: Connection, discriminatorValue?: string): unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsed/mongoose",
3
- "version": "6.123.1",
3
+ "version": "6.125.1",
4
4
  "description": "Mongoose package for Ts.ED framework",
5
5
  "private": false,
6
6
  "keywords": [
@@ -32,21 +32,21 @@
32
32
  "tslib": "2.4.0"
33
33
  },
34
34
  "devDependencies": {
35
- "@tsed/ajv": "6.123.1",
36
- "@tsed/core": "6.123.1",
37
- "@tsed/di": "6.123.1",
38
- "@tsed/json-mapper": "6.123.1",
35
+ "@tsed/ajv": "6.125.1",
36
+ "@tsed/core": "6.125.1",
37
+ "@tsed/di": "6.125.1",
38
+ "@tsed/json-mapper": "6.125.1",
39
39
  "@tsed/logger": ">=6.2.0",
40
- "@tsed/schema": "6.123.1",
41
- "mongoose": "^6.1.7"
40
+ "@tsed/schema": "6.125.1",
41
+ "mongoose": "6.5.1"
42
42
  },
43
43
  "peerDependencies": {
44
- "@tsed/ajv": "^6.123.1",
45
- "@tsed/core": "^6.123.1",
46
- "@tsed/di": "^6.123.1",
47
- "@tsed/json-mapper": "^6.123.1",
44
+ "@tsed/ajv": "^6.125.1",
45
+ "@tsed/core": "^6.125.1",
46
+ "@tsed/di": "^6.125.1",
47
+ "@tsed/json-mapper": "^6.125.1",
48
48
  "@tsed/logger": ">=6.2.0",
49
- "@tsed/schema": "^6.123.1",
49
+ "@tsed/schema": "^6.125.1",
50
50
  "mongoose": ">=6.0.0"
51
51
  },
52
52
  "repository": "https://github.com/tsedio/tsed",