@tsed/mongoose 8.0.0-beta.3 → 8.0.0-beta.4
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.
|
@@ -6,7 +6,7 @@ import { schemaOptions } from "../utils/schemaOptions.js";
|
|
|
6
6
|
* define the hook function like you normally would in Mongoose.
|
|
7
7
|
*
|
|
8
8
|
* ```typescript
|
|
9
|
-
* import {Ignore, Required} from "@tsed/
|
|
9
|
+
* import {Ignore, Required} from "@tsed/platform-http";
|
|
10
10
|
* import {PreHook, Model} from "@tsed/mongoose";
|
|
11
11
|
*
|
|
12
12
|
* @Model()
|
|
@@ -5,7 +5,7 @@ import { MongooseHookOptions, MongoosePostHookCB } from "../interfaces/MongooseS
|
|
|
5
5
|
* define the hook function like you normally would in Mongoose.
|
|
6
6
|
*
|
|
7
7
|
* ```typescript
|
|
8
|
-
* import {Ignore, Required} from "@tsed/
|
|
8
|
+
* import {Ignore, Required} from "@tsed/platform-http";
|
|
9
9
|
* import {PostHook, Model} from "@tsed/mongoose";
|
|
10
10
|
*
|
|
11
11
|
* @Model()
|
|
@@ -5,7 +5,7 @@ import { MongooseHookOptions, MongoosePreHookCB } from "../interfaces/MongooseSc
|
|
|
5
5
|
* define the hook function like you normally would in Mongoose.
|
|
6
6
|
*
|
|
7
7
|
* ```typescript
|
|
8
|
-
* import {Ignore, Required} from "@tsed/
|
|
8
|
+
* import {Ignore, Required} from "@tsed/platform-http";
|
|
9
9
|
* import {PreHook, Model} from "@tsed/mongoose";
|
|
10
10
|
*
|
|
11
11
|
* @Model()
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@tsed/mongoose",
|
|
3
3
|
"description": "Mongoose package for Ts.ED framework",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "8.0.0-beta.
|
|
5
|
+
"version": "8.0.0-beta.4",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"tsed",
|
|
8
8
|
"mongoose",
|
|
@@ -33,27 +33,27 @@
|
|
|
33
33
|
"tslib": "2.7.0"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@tsed/ajv": "8.0.0-beta.
|
|
37
|
-
"@tsed/barrels": "8.0.0-beta.
|
|
38
|
-
"@tsed/core": "8.0.0-beta.
|
|
39
|
-
"@tsed/di": "8.0.0-beta.
|
|
40
|
-
"@tsed/json-mapper": "8.0.0-beta.
|
|
36
|
+
"@tsed/ajv": "8.0.0-beta.4",
|
|
37
|
+
"@tsed/barrels": "8.0.0-beta.4",
|
|
38
|
+
"@tsed/core": "8.0.0-beta.4",
|
|
39
|
+
"@tsed/di": "8.0.0-beta.4",
|
|
40
|
+
"@tsed/json-mapper": "8.0.0-beta.4",
|
|
41
41
|
"@tsed/logger": "^6.7.8",
|
|
42
|
-
"@tsed/schema": "8.0.0-beta.
|
|
43
|
-
"@tsed/testcontainers-mongo": "8.0.0-beta.
|
|
44
|
-
"@tsed/typescript": "8.0.0-beta.
|
|
42
|
+
"@tsed/schema": "8.0.0-beta.4",
|
|
43
|
+
"@tsed/testcontainers-mongo": "8.0.0-beta.4",
|
|
44
|
+
"@tsed/typescript": "8.0.0-beta.4",
|
|
45
45
|
"eslint": "9.12.0",
|
|
46
46
|
"mongoose": "8.7.0",
|
|
47
47
|
"typescript": "5.4.5",
|
|
48
48
|
"vitest": "2.1.2"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@tsed/ajv": "8.0.0-beta.
|
|
52
|
-
"@tsed/core": "8.0.0-beta.
|
|
53
|
-
"@tsed/di": "8.0.0-beta.
|
|
54
|
-
"@tsed/json-mapper": "8.0.0-beta.
|
|
51
|
+
"@tsed/ajv": "8.0.0-beta.4",
|
|
52
|
+
"@tsed/core": "8.0.0-beta.4",
|
|
53
|
+
"@tsed/di": "8.0.0-beta.4",
|
|
54
|
+
"@tsed/json-mapper": "8.0.0-beta.4",
|
|
55
55
|
"@tsed/logger": ">=6.7.5",
|
|
56
|
-
"@tsed/schema": "8.0.0-beta.
|
|
56
|
+
"@tsed/schema": "8.0.0-beta.4",
|
|
57
57
|
"mongoose": ">=6.0.0"
|
|
58
58
|
},
|
|
59
59
|
"repository": "https://github.com/tsedio/tsed",
|