@tsed/mongoose 7.0.0-beta.14 → 7.0.0-beta.17
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/lib/types/utils/createModel.d.ts +1 -1
- package/package.json +12 -12
- package/readme.md +1 -1
|
@@ -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):
|
|
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": "7.0.0-beta.
|
|
3
|
+
"version": "7.0.0-beta.17",
|
|
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": "7.0.0-beta.
|
|
36
|
-
"@tsed/core": "7.0.0-beta.
|
|
37
|
-
"@tsed/di": "7.0.0-beta.
|
|
38
|
-
"@tsed/json-mapper": "7.0.0-beta.
|
|
35
|
+
"@tsed/ajv": "7.0.0-beta.17",
|
|
36
|
+
"@tsed/core": "7.0.0-beta.17",
|
|
37
|
+
"@tsed/di": "7.0.0-beta.17",
|
|
38
|
+
"@tsed/json-mapper": "7.0.0-beta.17",
|
|
39
39
|
"@tsed/logger": ">=6.2.0",
|
|
40
|
-
"@tsed/schema": "7.0.0-beta.
|
|
41
|
-
"mongoose": "
|
|
40
|
+
"@tsed/schema": "7.0.0-beta.17",
|
|
41
|
+
"mongoose": "6.5.1"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
|
-
"@tsed/ajv": "^7.0.0-beta.
|
|
45
|
-
"@tsed/core": "^7.0.0-beta.
|
|
46
|
-
"@tsed/di": "^7.0.0-beta.
|
|
47
|
-
"@tsed/json-mapper": "^7.0.0-beta.
|
|
44
|
+
"@tsed/ajv": "^7.0.0-beta.17",
|
|
45
|
+
"@tsed/core": "^7.0.0-beta.17",
|
|
46
|
+
"@tsed/di": "^7.0.0-beta.17",
|
|
47
|
+
"@tsed/json-mapper": "^7.0.0-beta.17",
|
|
48
48
|
"@tsed/logger": ">=6.2.0",
|
|
49
|
-
"@tsed/schema": "^7.0.0-beta.
|
|
49
|
+
"@tsed/schema": "^7.0.0-beta.17",
|
|
50
50
|
"mongoose": ">=6.0.0"
|
|
51
51
|
},
|
|
52
52
|
"repository": "https://github.com/tsedio/tsed",
|
package/readme.md
CHANGED
|
@@ -364,7 +364,7 @@ Support this project by becoming a sponsor. Your logo will show up here with a l
|
|
|
364
364
|
|
|
365
365
|
The MIT License (MIT)
|
|
366
366
|
|
|
367
|
-
Copyright (c) 2016 -
|
|
367
|
+
Copyright (c) 2016 - 2022 Romain Lenzotti
|
|
368
368
|
|
|
369
369
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
370
370
|
|