@tsed/ajv 8.0.0-beta.3 → 8.0.0-beta.5

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.
Files changed (2) hide show
  1. package/package.json +11 -11
  2. package/readme.md +3 -3
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@tsed/ajv",
3
3
  "description": "AJV package for Ts.ED framework",
4
4
  "type": "module",
5
- "version": "8.0.0-beta.3",
5
+ "version": "8.0.0-beta.5",
6
6
  "source": "./src/index.ts",
7
7
  "main": "./lib/esm/index.js",
8
8
  "module": "./lib/esm/index.js",
@@ -27,22 +27,22 @@
27
27
  "tslib": "2.7.0"
28
28
  },
29
29
  "devDependencies": {
30
- "@tsed/barrels": "8.0.0-beta.3",
31
- "@tsed/core": "8.0.0-beta.3",
32
- "@tsed/di": "8.0.0-beta.3",
33
- "@tsed/exceptions": "8.0.0-beta.3",
34
- "@tsed/schema": "8.0.0-beta.3",
35
- "@tsed/typescript": "8.0.0-beta.3",
30
+ "@tsed/barrels": "8.0.0-beta.5",
31
+ "@tsed/core": "8.0.0-beta.5",
32
+ "@tsed/di": "8.0.0-beta.5",
33
+ "@tsed/exceptions": "8.0.0-beta.5",
34
+ "@tsed/schema": "8.0.0-beta.5",
35
+ "@tsed/typescript": "8.0.0-beta.5",
36
36
  "ajv": "^8.17.1",
37
37
  "eslint": "9.12.0",
38
38
  "typescript": "5.4.5",
39
39
  "vitest": "2.1.2"
40
40
  },
41
41
  "peerDependencies": {
42
- "@tsed/core": "8.0.0-beta.3",
43
- "@tsed/di": "8.0.0-beta.3",
44
- "@tsed/exceptions": "8.0.0-beta.3",
45
- "@tsed/schema": "8.0.0-beta.3",
42
+ "@tsed/core": "8.0.0-beta.5",
43
+ "@tsed/di": "8.0.0-beta.5",
44
+ "@tsed/exceptions": "8.0.0-beta.5",
45
+ "@tsed/schema": "8.0.0-beta.5",
46
46
  "ajv": ">=8.9.0",
47
47
  "ajv-errors": ">=3.0.0"
48
48
  },
package/readme.md CHANGED
@@ -29,7 +29,7 @@ npm install --save @tsed/ajv
29
29
  Then import `@tsed/ajv` in your Server:
30
30
 
31
31
  ```typescript
32
- import {Configuration} from "@tsed/common";
32
+ import {Configuration} from "@tsed/di";
33
33
  import "@tsed/ajv"; // import ajv ts.ed module
34
34
 
35
35
  @Configuration({})
@@ -46,7 +46,7 @@ A model can used on a method controller along with [@BodyParams](http://tsed.io/
46
46
  be validated by Ajv.
47
47
 
48
48
  ```typescript
49
- import {Required, MaxLength, MinLength, Minimum, Maximum, Format, Enum, Pattern, Email} from "@tsed/common";
49
+ import {Required, MaxLength, MinLength, Minimum, Maximum, Format, Enum, Pattern, Email} from "@tsed/schema";
50
50
 
51
51
  export class CalendarModel {
52
52
  @MaxLength(20)
@@ -84,7 +84,7 @@ The AJV module allows a few settings to be added through the ServerSettings (all
84
84
  The error message could be changed like:
85
85
 
86
86
  ```typescript
87
- import {Configuration} from "@tsed/common";
87
+ import {Configuration} from "@tsed/di";
88
88
  import "@tsed/ajv"; // import ajv ts.ed module
89
89
 
90
90
  @Configuration({