@tsed/schema 8.32.1 → 8.32.2
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StoreSet, useDecorators } from "@tsed/core";
|
|
2
|
-
import {
|
|
2
|
+
import { Produces } from "./produces.js";
|
|
3
3
|
/**
|
|
4
4
|
* Set a mime list which are acceptable and checks if the specified content types are acceptable, based on the request’s Accept HTTP header field.
|
|
5
5
|
*
|
|
@@ -19,5 +19,5 @@ import { Consumes } from "./consumes.js";
|
|
|
19
19
|
* @response
|
|
20
20
|
*/
|
|
21
21
|
export function AcceptMime(...mimes) {
|
|
22
|
-
return useDecorators(
|
|
22
|
+
return useDecorators(Produces(...mimes), StoreSet("acceptMimes", mimes));
|
|
23
23
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@tsed/schema",
|
|
3
3
|
"description": "JsonSchema module for Ts.ED Framework",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "8.32.
|
|
5
|
+
"version": "8.32.2",
|
|
6
6
|
"source": "./src/index.ts",
|
|
7
7
|
"main": "./lib/esm/index.js",
|
|
8
8
|
"module": "./lib/esm/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"tsed"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@tsed/openspec": "8.32.
|
|
37
|
+
"@tsed/openspec": "8.32.2",
|
|
38
38
|
"change-case": "^5.4.4",
|
|
39
39
|
"json-schema": "0.4.0",
|
|
40
40
|
"picomatch": "4.0.4",
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@apidevtools/swagger-parser": "10.1.0",
|
|
46
|
-
"@tsed/barrels": "8.32.
|
|
47
|
-
"@tsed/core": "8.32.
|
|
48
|
-
"@tsed/hooks": "8.32.
|
|
49
|
-
"@tsed/openspec": "8.32.
|
|
50
|
-
"@tsed/typescript": "8.32.
|
|
46
|
+
"@tsed/barrels": "8.32.2",
|
|
47
|
+
"@tsed/core": "8.32.2",
|
|
48
|
+
"@tsed/hooks": "8.32.2",
|
|
49
|
+
"@tsed/openspec": "8.32.2",
|
|
50
|
+
"@tsed/typescript": "8.32.2",
|
|
51
51
|
"@types/fs-extra": "11.0.4",
|
|
52
52
|
"@types/json-schema": "7.0.15",
|
|
53
53
|
"@types/picomatch": "3.0.2",
|