@tsed/schema 7.62.0 → 7.62.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.
@@ -9,7 +9,7 @@ const errorMsg_1 = require("./errorMsg");
9
9
  * ## Example
10
10
  *
11
11
  * ```typescript
12
- * @DefaultMessage("foo should be a string")
12
+ * @DefaultMsg("foo should be a string")
13
13
  * class Model {
14
14
  * property: number;
15
15
  * }
@@ -3,9 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ErrorMsg = void 0;
4
4
  const jsonEntityFn_1 = require("./jsonEntityFn");
5
5
  /**
6
- * Create a new custom formats validator
7
- * @param name
8
- * @param options
6
+ * Add an error message to the property.
9
7
  * @decorator
10
8
  * @ajv
11
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"errorMsg.js","sourceRoot":"","sources":["../../../../src/decorators/common/errorMsg.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C;;;;;;GAMG;AACH,SAAgB,QAAQ,CAAC,GAA2B;IAClD,OAAO,IAAA,2BAAY,EAAC,CAAC,KAAK,EAAE,EAAE;QAC5B,0GAA0G;QAC1G,MAAM,YAAY,GAAG,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,eAAe,CAAC,IAAI,EAAE,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,SAAS,CAAC,cAAc,EAAE,EAAC,GAAG,YAAY,EAAE,GAAG,GAAG,EAAC,CAAC,CAAC;IAC1E,CAAC,CAAC,CAAC;AACL,CAAC;AAND,4BAMC"}
1
+ {"version":3,"file":"errorMsg.js","sourceRoot":"","sources":["../../../../src/decorators/common/errorMsg.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C;;;;GAIG;AACH,SAAgB,QAAQ,CAAC,GAA2B;IAClD,OAAO,IAAA,2BAAY,EAAC,CAAC,KAAK,EAAE,EAAE;QAC5B,0GAA0G;QAC1G,MAAM,YAAY,GAAG,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,eAAe,CAAC,IAAI,EAAE,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,SAAS,CAAC,cAAc,EAAE,EAAC,GAAG,YAAY,EAAE,GAAG,GAAG,EAAC,CAAC,CAAC;IAC1E,CAAC,CAAC,CAAC;AACL,CAAC;AAND,4BAMC"}
@@ -6,7 +6,7 @@ import { ErrorMsg } from "./errorMsg.js";
6
6
  * ## Example
7
7
  *
8
8
  * ```typescript
9
- * @DefaultMessage("foo should be a string")
9
+ * @DefaultMsg("foo should be a string")
10
10
  * class Model {
11
11
  * property: number;
12
12
  * }
@@ -1,8 +1,6 @@
1
1
  import { JsonEntityFn } from "./jsonEntityFn.js";
2
2
  /**
3
- * Create a new custom formats validator
4
- * @param name
5
- * @param options
3
+ * Add an error message to the property.
6
4
  * @decorator
7
5
  * @ajv
8
6
  */
@@ -1 +1 @@
1
- {"version":3,"file":"errorMsg.js","sourceRoot":"","sources":["../../../../src/decorators/common/errorMsg.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAE5C;;;;;;GAMG;AACH,MAAM,UAAU,QAAQ,CAAC,GAA2B;IAClD,OAAO,YAAY,CAAC,CAAC,KAAK,EAAE,EAAE;QAC5B,0GAA0G;QAC1G,MAAM,YAAY,GAAG,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,eAAe,CAAC,IAAI,EAAE,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,SAAS,CAAC,cAAc,EAAE,EAAC,GAAG,YAAY,EAAE,GAAG,GAAG,EAAC,CAAC,CAAC;IAC1E,CAAC,CAAC,CAAC;AACL,CAAC"}
1
+ {"version":3,"file":"errorMsg.js","sourceRoot":"","sources":["../../../../src/decorators/common/errorMsg.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAE5C;;;;GAIG;AACH,MAAM,UAAU,QAAQ,CAAC,GAA2B;IAClD,OAAO,YAAY,CAAC,CAAC,KAAK,EAAE,EAAE;QAC5B,0GAA0G;QAC1G,MAAM,YAAY,GAAG,KAAK,CAAC,YAAY,CAAC,GAAG,CAAC,eAAe,CAAC,IAAI,EAAE,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,SAAS,CAAC,cAAc,EAAE,EAAC,GAAG,YAAY,EAAE,GAAG,GAAG,EAAC,CAAC,CAAC;IAC1E,CAAC,CAAC,CAAC;AACL,CAAC"}
@@ -4,7 +4,7 @@
4
4
  * ## Example
5
5
  *
6
6
  * ```typescript
7
- * @DefaultMessage("foo should be a string")
7
+ * @DefaultMsg("foo should be a string")
8
8
  * class Model {
9
9
  * property: number;
10
10
  * }
@@ -1,7 +1,5 @@
1
1
  /**
2
- * Create a new custom formats validator
3
- * @param name
4
- * @param options
2
+ * Add an error message to the property.
5
3
  * @decorator
6
4
  * @ajv
7
5
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsed/schema",
3
- "version": "7.62.0",
3
+ "version": "7.62.2",
4
4
  "description": "JsonSchema module for Ts.ED Framework",
5
5
  "source": "./src/index.ts",
6
6
  "main": "./lib/cjs/index.js",
@@ -33,7 +33,7 @@
33
33
  "tsed"
34
34
  ],
35
35
  "dependencies": {
36
- "@tsed/openspec": "7.62.0",
36
+ "@tsed/openspec": "7.62.2",
37
37
  "change-case": "^4.1.2",
38
38
  "fs-extra": "^11.1.1",
39
39
  "json-schema": "0.4.0",
@@ -43,9 +43,9 @@
43
43
  },
44
44
  "devDependencies": {
45
45
  "@apidevtools/swagger-parser": "10.0.3",
46
- "@tsed/core": "7.62.0",
47
- "@tsed/openspec": "7.62.0",
48
- "@tsed/typescript": "7.62.0",
46
+ "@tsed/core": "7.62.2",
47
+ "@tsed/openspec": "7.62.2",
48
+ "@tsed/typescript": "7.62.2",
49
49
  "@types/fs-extra": "11.0.3",
50
50
  "@types/json-schema": "7.0.11",
51
51
  "@types/picomatch": "2.3.0",
@@ -56,8 +56,8 @@
56
56
  "picomatch-browser": "^2.2.6"
57
57
  },
58
58
  "peerDependencies": {
59
- "@tsed/core": "7.62.0",
60
- "@tsed/openspec": "7.62.0"
59
+ "@tsed/core": "7.62.2",
60
+ "@tsed/openspec": "7.62.2"
61
61
  },
62
62
  "peerDependenciesMeta": {
63
63
  "@tsed/core": {