@fiado/type-kit 1.4.23 → 1.4.24

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.
@@ -12,14 +12,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  const class_validator_1 = require("class-validator");
13
13
  const country_1 = require("../../country");
14
14
  const productCatalog_1 = require("../../productCatalog");
15
- const regex_1 = require("../../helpers/constans/regex");
16
15
  class CreditContractCreateRequest {
17
16
  }
18
17
  exports.default = CreditContractCreateRequest;
19
18
  __decorate([
20
19
  (0, class_validator_1.IsString)(),
21
20
  (0, class_validator_1.IsNotEmpty)(),
22
- (0, class_validator_1.Matches)(regex_1.regexUuidV4, { message: 'id must be a valid UUID v4', }),
23
21
  __metadata("design:type", String)
24
22
  ], CreditContractCreateRequest.prototype, "id", void 0);
25
23
  __decorate([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiado/type-kit",
3
- "version": "1.4.23",
3
+ "version": "1.4.24",
4
4
  "description": "",
5
5
  "main": "bin/index.js",
6
6
  "types": "bin/index.d.ts",
@@ -1,14 +1,10 @@
1
1
  import { IsEnum, IsNotEmpty, IsNumber, IsString, Matches } from "class-validator";
2
2
  import { CountryId } from "../../country";
3
3
  import { ProductTypeEnum } from "../../productCatalog";
4
- import { regexUuidV4 } from "../../helpers/constans/regex";
5
-
6
-
7
4
  export default class CreditContractCreateRequest {
8
5
 
9
6
  @IsString()
10
7
  @IsNotEmpty()
11
- @Matches(regexUuidV4,{message: 'id must be a valid UUID v4',})
12
8
  id: string;
13
9
 
14
10
  @IsString()