@tsed/schema 8.29.1 → 8.31.0

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.
@@ -84,7 +84,7 @@ export interface ReturnsChainedDecorators {
84
84
  * Assign partial schema
85
85
  * @param schema
86
86
  */
87
- Schema(schema: Partial<JsonSchemaObject> | JsonSchema): this;
87
+ Schema<T>(schema: Partial<JsonSchemaObject> | JsonSchema<T>): this;
88
88
  /**
89
89
  * Add an inline title for the return model.
90
90
  * @param title
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.29.1",
5
+ "version": "8.31.0",
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.29.1",
37
+ "@tsed/openspec": "8.31.0",
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.29.1",
47
- "@tsed/core": "8.29.1",
48
- "@tsed/hooks": "8.29.1",
49
- "@tsed/openspec": "8.29.1",
50
- "@tsed/typescript": "8.29.1",
46
+ "@tsed/barrels": "8.31.0",
47
+ "@tsed/core": "8.31.0",
48
+ "@tsed/hooks": "8.31.0",
49
+ "@tsed/openspec": "8.31.0",
50
+ "@tsed/typescript": "8.31.0",
51
51
  "@types/fs-extra": "11.0.4",
52
52
  "@types/json-schema": "7.0.15",
53
53
  "@types/picomatch": "3.0.2",