@nest-boot/validator 4.1.4 → 4.2.1

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 (29) hide show
  1. package/dist/decorators/common/array-length.decorator.d.ts +1 -1
  2. package/dist/decorators/number/is-greater-than-or-equal.decorator.d.ts +1 -1
  3. package/dist/decorators/number/is-greater-than.decorator.d.ts +1 -1
  4. package/dist/decorators/number/is-less-than-or-equal.decorator.d.ts +1 -1
  5. package/dist/decorators/number/is-less-than.decorator.d.ts +1 -1
  6. package/dist/decorators/number/max.decorator.d.ts +1 -1
  7. package/dist/decorators/number/max.decorator.js.map +1 -1
  8. package/dist/decorators/number/min.decorator.d.ts +1 -1
  9. package/dist/decorators/number/min.decorator.js.map +1 -1
  10. package/dist/decorators/number/validate-compare-number.decorator.d.ts +1 -1
  11. package/dist/decorators/number/validate-compare-number.decorator.js +1 -1
  12. package/dist/decorators/number/validate-compare-number.decorator.js.map +1 -1
  13. package/dist/decorators/string/is-domain.decorator.d.ts +1 -1
  14. package/dist/decorators/string/is-domain.decorator.js.map +1 -1
  15. package/dist/decorators/string/is-email.decorator.d.ts +2 -2
  16. package/dist/decorators/string/is-email.decorator.js.map +1 -1
  17. package/dist/decorators/string/is-number-string.decorator.d.ts +2 -2
  18. package/dist/decorators/string/is-number-string.decorator.js.map +1 -1
  19. package/dist/decorators/string/is-timezone.decorator.d.ts +1 -1
  20. package/dist/decorators/string/is-timezone.decorator.js.map +1 -1
  21. package/dist/decorators/string/is-url.decorator.d.ts +2 -2
  22. package/dist/decorators/string/is-url.decorator.js.map +1 -1
  23. package/dist/decorators/string/length.decorator.d.ts +1 -1
  24. package/dist/decorators/string/length.decorator.js.map +1 -1
  25. package/dist/decorators/type-check/is-date.decorator.d.ts +1 -1
  26. package/dist/decorators/type-check/is-date.decorator.js.map +1 -1
  27. package/dist/tsconfig.tsbuildinfo +1 -1
  28. package/dist/utils/build-i18n-message.d.ts +1 -1
  29. package/package.json +13 -13
@@ -1,4 +1,4 @@
1
- import { ValidationOptions } from "class-validator";
1
+ import { type ValidationOptions } from "class-validator";
2
2
  export interface ArrayLengthOptions extends ValidationOptions {
3
3
  min?: number;
4
4
  max?: number;
@@ -1,2 +1,2 @@
1
- import { ValidationOptions } from "class-validator";
1
+ import { type ValidationOptions } from "class-validator";
2
2
  export declare function IsGreaterThanOrEqual(field: string, validationOptions?: ValidationOptions): PropertyDecorator;
@@ -1,2 +1,2 @@
1
- import { ValidationOptions } from "class-validator";
1
+ import { type ValidationOptions } from "class-validator";
2
2
  export declare function IsGreaterThan(field: string, validationOptions?: ValidationOptions): PropertyDecorator;
@@ -1,2 +1,2 @@
1
- import { ValidationOptions } from "class-validator";
1
+ import { type ValidationOptions } from "class-validator";
2
2
  export declare function IsLessThanOrEqual(field: string, validationOptions?: ValidationOptions): PropertyDecorator;
@@ -1,2 +1,2 @@
1
- import { ValidationOptions } from "class-validator";
1
+ import { type ValidationOptions } from "class-validator";
2
2
  export declare function IsLessThan(field: string, validationOptions?: ValidationOptions): PropertyDecorator;
@@ -1,2 +1,2 @@
1
- import { ValidationOptions } from "class-validator";
1
+ import { type ValidationOptions } from "class-validator";
2
2
  export declare function Max(maxValue: number, validationOptions?: ValidationOptions): PropertyDecorator;
@@ -1 +1 @@
1
- {"version":3,"file":"max.decorator.js","sourceRoot":"","sources":["../../../src/decorators/number/max.decorator.ts"],"names":[],"mappings":";;;AAAA,qDAAgE;AAEhE,uCAA+C;AAE/C,SAAgB,GAAG,CACjB,QAAgB,EAChB,iBAAqC;IAErC,OAAO,IAAA,4BAAU,EACf;QACE,IAAI,EAAE,KAAK;QACX,WAAW,EAAE,CAAC,QAAQ,CAAC;QACvB,SAAS,EAAE;YACT,QAAQ,EAAE,CAAC,KAAK,EAAE,IAAI,EAAW,EAAE,CACjC,OAAO,IAAI,KAAK,WAAW;gBAC3B,MAAM,CAAC,KAAK,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;YAC9C,cAAc,EAAE,IAAA,wBAAgB,EAAC,GAAG,EAAE,CAAC,KAAK,CAAC;SAC9C;KACF,EACD,iBAAiB,CAClB,CAAC;AACJ,CAAC;AAjBD,kBAiBC"}
1
+ {"version":3,"file":"max.decorator.js","sourceRoot":"","sources":["../../../src/decorators/number/max.decorator.ts"],"names":[],"mappings":";;;AAAA,qDAAqE;AAErE,uCAA+C;AAE/C,SAAgB,GAAG,CACjB,QAAgB,EAChB,iBAAqC;IAErC,OAAO,IAAA,4BAAU,EACf;QACE,IAAI,EAAE,KAAK;QACX,WAAW,EAAE,CAAC,QAAQ,CAAC;QACvB,SAAS,EAAE;YACT,QAAQ,EAAE,CAAC,KAAK,EAAE,IAAI,EAAW,EAAE,CACjC,OAAO,IAAI,KAAK,WAAW;gBAC3B,MAAM,CAAC,KAAK,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;YAC9C,cAAc,EAAE,IAAA,wBAAgB,EAAC,GAAG,EAAE,CAAC,KAAK,CAAC;SAC9C;KACF,EACD,iBAAiB,CAClB,CAAC;AACJ,CAAC;AAjBD,kBAiBC"}
@@ -1,2 +1,2 @@
1
- import { ValidationOptions } from "class-validator";
1
+ import { type ValidationOptions } from "class-validator";
2
2
  export declare function Min(minValue: number, validationOptions?: ValidationOptions): PropertyDecorator;
@@ -1 +1 @@
1
- {"version":3,"file":"min.decorator.js","sourceRoot":"","sources":["../../../src/decorators/number/min.decorator.ts"],"names":[],"mappings":";;;AAAA,qDAAgE;AAEhE,uCAA+C;AAE/C,SAAgB,GAAG,CACjB,QAAgB,EAChB,iBAAqC;IAErC,OAAO,IAAA,4BAAU,EACf;QACE,IAAI,EAAE,KAAK;QACX,WAAW,EAAE,CAAC,QAAQ,CAAC;QACvB,SAAS,EAAE;YACT,QAAQ,EAAE,CAAC,KAAK,EAAE,IAAI,EAAW,EAAE,CACjC,OAAO,IAAI,KAAK,WAAW;gBAC3B,MAAM,CAAC,KAAK,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;YAC9C,cAAc,EAAE,IAAA,wBAAgB,EAAC,GAAG,EAAE,CAAC,KAAK,CAAC;SAC9C;KACF,EACD,iBAAiB,CAClB,CAAC;AACJ,CAAC;AAjBD,kBAiBC"}
1
+ {"version":3,"file":"min.decorator.js","sourceRoot":"","sources":["../../../src/decorators/number/min.decorator.ts"],"names":[],"mappings":";;;AAAA,qDAAqE;AAErE,uCAA+C;AAE/C,SAAgB,GAAG,CACjB,QAAgB,EAChB,iBAAqC;IAErC,OAAO,IAAA,4BAAU,EACf;QACE,IAAI,EAAE,KAAK;QACX,WAAW,EAAE,CAAC,QAAQ,CAAC;QACvB,SAAS,EAAE;YACT,QAAQ,EAAE,CAAC,KAAK,EAAE,IAAI,EAAW,EAAE,CACjC,OAAO,IAAI,KAAK,WAAW;gBAC3B,MAAM,CAAC,KAAK,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;YAC9C,cAAc,EAAE,IAAA,wBAAgB,EAAC,GAAG,EAAE,CAAC,KAAK,CAAC;SAC9C;KACF,EACD,iBAAiB,CAClB,CAAC;AACJ,CAAC;AAjBD,kBAiBC"}
@@ -1,4 +1,4 @@
1
- import { ValidationOptions } from "class-validator";
1
+ import { type ValidationOptions } from "class-validator";
2
2
  export declare enum Comparator {
3
3
  EQ = "EQ",
4
4
  GT = "GT",
@@ -10,7 +10,7 @@ var Comparator;
10
10
  Comparator["GTE"] = "GTE";
11
11
  Comparator["LT"] = "LT";
12
12
  Comparator["LTE"] = "LTE";
13
- })(Comparator = exports.Comparator || (exports.Comparator = {}));
13
+ })(Comparator || (exports.Comparator = Comparator = {}));
14
14
  function ValidateCompareNumber(comparator, compareProperty, validationOptions) {
15
15
  return (target, propertyName) => {
16
16
  if (typeof propertyName === "string") {
@@ -1 +1 @@
1
- {"version":3,"file":"validate-compare-number.decorator.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C9C,KAAK,UAAU,CAAC,GAAG;gCACjB,OAAO,MAAM,CAAC,KAAK,CAAC,IAAI,MAAM,CAAC,YAAY,CAAC,CAAC;4BAC/C,KAAK,UAAU,CAAC,EAAE;gCAChB,OAAO,MAAM,CAAC,KAAK,CAAC,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC;4BAC9C,KAAK,UAAU,CAAC,GAAG;gCACjB,OAAO,MAAM,CAAC,KAAK,CAAC,IAAI,MAAM,CAAC,YAAY,CAAC,CAAC;4BAC/C;gCACE,OAAO,KAAK,CAAC;yBAChB;oBACH,CAAC;oBACD,cAAc,CAAC,IAAI;wBACjB,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,IAA2B,CAAC;wBAC9D,MAAM,CAAC,eAAe,EAAE,oBAAoB,CAAC,GAAG,WAG/C,CAAC;wBAEF,OAAO,IAAA,QAAC,EAAC,iBAAiB,eAAe,CAAC,WAAW,EAAE,EAAE,EAAE;4BACzD,GAAG,IAAI;4BACP,QAAQ,EAAE,IAAA,QAAC,EAAC,YAAY,QAAQ,EAAE,CAAC;4BACnC,eAAe,EAAE,IAAA,QAAC,EAAC,YAAY,oBAAoB,EAAE,CAAC;yBACvD,CAAC,CAAC;oBACL,CAAC;iBACF;aACF,CAAC,CAAC;SACJ;IACH,CAAC,CAAC;AACJ,CAAC;AA5DD,sDA4DC"}
1
+ {"version":3,"file":"validate-compare-number.decorator.js","sourceRoot":"","sources":["../../../src/decorators/number/validate-compare-number.decorator.ts"],"names":[],"mappings":";;;AAAA,0CAAoC;AACpC,qDAIyB;AAEzB,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,uBAAS,CAAA;IACT,uBAAS,CAAA;IACT,yBAAW,CAAA;IACX,uBAAS,CAAA;IACT,yBAAW,CAAA;AACb,CAAC,EANW,UAAU,0BAAV,UAAU,QAMrB;AAED,SAAgB,qBAAqB,CACnC,UAAsB,EACtB,eAAuB,EACvB,iBAAqC;IAErC,OAAO,CAAC,MAAc,EA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oBACD,cAAc,CAAC,IAAI;wBACjB,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,IAA2B,CAAC;wBAC9D,MAAM,CAAC,eAAe,EAAE,oBAAoB,CAAC,GAAG,WAG/C,CAAC;wBAEF,OAAO,IAAA,QAAC,EAAC,iBAAiB,eAAe,CAAC,WAAW,EAAE,EAAE,EAAE;4BACzD,GAAG,IAAI;4BACP,QAAQ,EAAE,IAAA,QAAC,EAAC,YAAY,QAAQ,EAAE,CAAC;4BACnC,eAAe,EAAE,IAAA,QAAC,EAAC,YAAY,oBAAoB,EAAE,CAAC;yBACvD,CAAC,CAAC;oBACL,CAAC;iBACF;aACF,CAAC,CAAC;SACJ;IACH,CAAC,CAAC;AACJ,CAAC;AA5DD,sDA4DC"}
@@ -1,2 +1,2 @@
1
- import { ValidationOptions } from "class-validator";
1
+ import { type ValidationOptions } from "class-validator";
2
2
  export declare function IsDomain(validationOptions?: ValidationOptions): PropertyDecorator;
@@ -1 +1 @@
1
- {"version":3,"file":"is-domain.decorator.js","sourceRoot":"","sources":["../../../src/decorators/string/is-domain.decorator.ts"],"names":[],"mappings":";;;AAAA,qDAAgE;AAEhE,uCAA+C;AAE/C,SAAgB,QAAQ,CACtB,iBAAqC;IAErC,OAAO,IAAA,4BAAU,EACf;QACE,IAAI,EAAE,UAAU;QAChB,SAAS,EAAE;YACT,QAAQ,EAAE,CAAC,KAAK,EAAW,EAAE,CAC3B,OAAO,KAAK,KAAK,QAAQ;gBACzB,iFAAiF,CAAC,IAAI,CACpF,KAAK,CACN;YACH,cAAc,EAAE,IAAA,wBAAgB,EAAC,GAAG,EAAE,CAAC,WAAW,CAAC;SACpD;KACF,EACD,iBAAiB,CAClB,CAAC;AACJ,CAAC;AAjBD,4BAiBC"}
1
+ {"version":3,"file":"is-domain.decorator.js","sourceRoot":"","sources":["../../../src/decorators/string/is-domain.decorator.ts"],"names":[],"mappings":";;;AAAA,qDAAqE;AAErE,uCAA+C;AAE/C,SAAgB,QAAQ,CACtB,iBAAqC;IAErC,OAAO,IAAA,4BAAU,EACf;QACE,IAAI,EAAE,UAAU;QAChB,SAAS,EAAE;YACT,QAAQ,EAAE,CAAC,KAAK,EAAW,EAAE,CAC3B,OAAO,KAAK,KAAK,QAAQ;gBACzB,iFAAiF,CAAC,IAAI,CACpF,KAAK,CACN;YACH,cAAc,EAAE,IAAA,wBAAgB,EAAC,GAAG,EAAE,CAAC,WAAW,CAAC;SACpD;KACF,EACD,iBAAiB,CAClB,CAAC;AACJ,CAAC;AAjBD,4BAiBC"}
@@ -1,5 +1,5 @@
1
- import { ValidationOptions } from "class-validator";
2
- import ValidatorJS from "validator";
1
+ import { type ValidationOptions } from "class-validator";
2
+ import type ValidatorJS from "validator";
3
3
  export declare const IS_EMAIL = "isEmail";
4
4
  export declare function isEmail(value: unknown, options?: ValidatorJS.IsEmailOptions): boolean;
5
5
  export declare function IsEmail(options?: ValidatorJS.IsEmailOptions, validationOptions?: ValidationOptions): PropertyDecorator;
@@ -1 +1 @@
1
- {"version":3,"file":"is-email.decorator.js","sourceRoot":"","sources":["../../../src/decorators/string/is-email.decorator.ts"],"names":[],"mappings":";;;;;;AAAA,qDAAgE;AAEhE,oEAAqD;AAErD,uCAA+C;AAElC,QAAA,QAAQ,GAAG,SAAS,CAAC;AAMlC,SAAgB,OAAO,CACrB,KAAc,EACd,OAAoC;IAEpC,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,IAAA,iBAAgB,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;AACvE,CAAC;AALD,0BAKC;AAMD,SAAgB,OAAO,CACrB,OAAoC,EACpC,iBAAqC;IAErC,OAAO,IAAA,4BAAU,EACf;QACE,IAAI,EAAE,gBAAQ;QACd,WAAW,EAAE,CAAC,OAAO,CAAC;QACtB,SAAS,EAAE;YACT,QAAQ,EAAE,CAAC,KAAK,EAAE,IAAI,EAAW,EAAE,CACjC,OAAO,IAAI,KAAK,WAAW,IAAI,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;YACpE,cAAc,EAAE,IAAA,wBAAgB,EAAC,GAAG,EAAE,CAAC,UAAU,CAAC;SACnD;KACF,EACD,iBAAiB,CAClB,CAAC;AACJ,CAAC;AAhBD,0BAgBC"}
1
+ {"version":3,"file":"is-email.decorator.js","sourceRoot":"","sources":["../../../src/decorators/string/is-email.decorator.ts"],"names":[],"mappings":";;;;;;AAAA,qDAAqE;AAErE,oEAAqD;AAErD,uCAA+C;AAElC,QAAA,QAAQ,GAAG,SAAS,CAAC;AAMlC,SAAgB,OAAO,CACrB,KAAc,EACd,OAAoC;IAEpC,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,IAAA,iBAAgB,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;AACvE,CAAC;AALD,0BAKC;AAMD,SAAgB,OAAO,CACrB,OAAoC,EACpC,iBAAqC;IAErC,OAAO,IAAA,4BAAU,EACf;QACE,IAAI,EAAE,gBAAQ;QACd,WAAW,EAAE,CAAC,OAAO,CAAC;QACtB,SAAS,EAAE;YACT,QAAQ,EAAE,CAAC,KAAK,EAAE,IAAI,EAAW,EAAE,CACjC,OAAO,IAAI,KAAK,WAAW,IAAI,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;YACpE,cAAc,EAAE,IAAA,wBAAgB,EAAC,GAAG,EAAE,CAAC,UAAU,CAAC;SACnD;KACF,EACD,iBAAiB,CAClB,CAAC;AACJ,CAAC;AAhBD,0BAgBC"}
@@ -1,5 +1,5 @@
1
- import { ValidationOptions } from "class-validator";
2
- import ValidatorJS from "validator";
1
+ import { type ValidationOptions } from "class-validator";
2
+ import type ValidatorJS from "validator";
3
3
  export declare const IS_NUMBER_STRING = "isNumberString";
4
4
  export declare function isNumberString(value: unknown, options?: ValidatorJS.IsNumericOptions): boolean;
5
5
  export declare function IsNumberString(options?: ValidatorJS.IsNumericOptions, validationOptions?: ValidationOptions): PropertyDecorator;
@@ -1 +1 @@
1
- {"version":3,"file":"is-number-string.decorator.js","sourceRoot":"","sources":["../../../src/decorators/string/is-number-string.decorator.ts"],"names":[],"mappings":";;;;;;AAAA,qDAAgE;AAEhE,wEAAyD;AAEzD,uCAA+C;AAElC,QAAA,gBAAgB,GAAG,gBAAgB,CAAC;AAMjD,SAAgB,cAAc,CAC5B,KAAc,EACd,OAAsC;IAEtC,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,IAAA,mBAAkB,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;AACzE,CAAC;AALD,wCAKC;AAMD,SAAgB,cAAc,CAC5B,OAAsC,EACtC,iBAAqC;IAErC,OAAO,IAAA,4BAAU,EACf;QACE,IAAI,EAAE,wBAAgB;QACtB,WAAW,EAAE,CAAC,OAAO,CAAC;QACtB,SAAS,EAAE;YACT,QAAQ,EAAE,CAAC,KAAK,EAAE,IAAI,EAAW,EAAE,CACjC,OAAO,IAAI,KAAK,WAAW;gBAC3B,cAAc,CAAC,KAAK,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;YAC5C,cAAc,EAAE,IAAA,wBAAgB,EAAC,GAAG,EAAE,CAAC,kBAAkB,CAAC;SAC3D;KACF,EACD,iBAAiB,CAClB,CAAC;AACJ,CAAC;AAjBD,wCAiBC"}
1
+ {"version":3,"file":"is-number-string.decorator.js","sourceRoot":"","sources":["../../../src/decorators/string/is-number-string.decorator.ts"],"names":[],"mappings":";;;;;;AAAA,qDAAqE;AAErE,wEAAyD;AAEzD,uCAA+C;AAElC,QAAA,gBAAgB,GAAG,gBAAgB,CAAC;AAMjD,SAAgB,cAAc,CAC5B,KAAc,EACd,OAAsC;IAEtC,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,IAAA,mBAAkB,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;AACzE,CAAC;AALD,wCAKC;AAMD,SAAgB,cAAc,CAC5B,OAAsC,EACtC,iBAAqC;IAErC,OAAO,IAAA,4BAAU,EACf;QACE,IAAI,EAAE,wBAAgB;QACtB,WAAW,EAAE,CAAC,OAAO,CAAC;QACtB,SAAS,EAAE;YACT,QAAQ,EAAE,CAAC,KAAK,EAAE,IAAI,EAAW,EAAE,CACjC,OAAO,IAAI,KAAK,WAAW;gBAC3B,cAAc,CAAC,KAAK,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;YAC5C,cAAc,EAAE,IAAA,wBAAgB,EAAC,GAAG,EAAE,CAAC,kBAAkB,CAAC;SAC3D;KACF,EACD,iBAAiB,CAClB,CAAC;AACJ,CAAC;AAjBD,wCAiBC"}
@@ -1,2 +1,2 @@
1
- import { ValidationOptions } from "class-validator";
1
+ import { type ValidationOptions } from "class-validator";
2
2
  export declare function IsTimezone(validationOptions?: ValidationOptions): PropertyDecorator;
@@ -1 +1 @@
1
- {"version":3,"file":"is-timezone.decorator.js","sourceRoot":"","sources":["../../../src/decorators/string/is-timezone.decorator.ts"],"names":[],"mappings":";;;;;;AAAA,qDAAgE;AAChE,sEAAqC;AAErC,uCAA+C;AAE/C,SAAgB,UAAU,CACxB,iBAAqC;IAErC,OAAO,IAAA,4BAAU,EACf;QACE,IAAI,EAAE,YAAY;QAClB,SAAS,EAAE;YACT,QAAQ,EAAE,CAAC,KAAK,EAAW,EAAE,CAC3B,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,CAAC,yBAAM,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC;YAC/D,cAAc,EAAE,IAAA,wBAAgB,EAAC,GAAG,EAAE,CAAC,aAAa,CAAC;SACtD;KACF,EACD,iBAAiB,CAClB,CAAC;AACJ,CAAC;AAdD,gCAcC"}
1
+ {"version":3,"file":"is-timezone.decorator.js","sourceRoot":"","sources":["../../../src/decorators/string/is-timezone.decorator.ts"],"names":[],"mappings":";;;;;;AAAA,qDAAqE;AACrE,sEAAqC;AAErC,uCAA+C;AAE/C,SAAgB,UAAU,CACxB,iBAAqC;IAErC,OAAO,IAAA,4BAAU,EACf;QACE,IAAI,EAAE,YAAY;QAClB,SAAS,EAAE;YACT,QAAQ,EAAE,CAAC,KAAK,EAAW,EAAE,CAC3B,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,CAAC,yBAAM,CAAC,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC;YAC/D,cAAc,EAAE,IAAA,wBAAgB,EAAC,GAAG,EAAE,CAAC,aAAa,CAAC;SACtD;KACF,EACD,iBAAiB,CAClB,CAAC;AACJ,CAAC;AAdD,gCAcC"}
@@ -1,5 +1,5 @@
1
- import { ValidationOptions } from "class-validator";
2
- import ValidatorJS from "validator";
1
+ import { type ValidationOptions } from "class-validator";
2
+ import type ValidatorJS from "validator";
3
3
  export declare const IS_URL = "isUrl";
4
4
  export declare function isURL(value: string, options?: ValidatorJS.IsURLOptions): boolean;
5
5
  export declare function IsUrl(options?: ValidatorJS.IsURLOptions, validationOptions?: ValidationOptions): PropertyDecorator;
@@ -1 +1 @@
1
- {"version":3,"file":"is-url.decorator.js","sourceRoot":"","sources":["../../../src/decorators/string/is-url.decorator.ts"],"names":[],"mappings":";;;;;;AAAA,qDAAgE;AAEhE,gEAAiD;AAEjD,uCAA+C;AAElC,QAAA,MAAM,GAAG,OAAO,CAAC;AAM9B,SAAgB,KAAK,CACnB,KAAa,EACb,OAAkC;IAElC,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,IAAA,eAAc,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;AACrE,CAAC;AALD,sBAKC;AAMD,SAAgB,KAAK,CACnB,OAAkC,EAClC,iBAAqC;IAErC,OAAO,IAAA,4BAAU,EACf;QACE,IAAI,EAAE,cAAM;QACZ,WAAW,EAAE,CAAC,OAAO,CAAC;QACtB,SAAS,EAAE;YACT,QAAQ,EAAE,CAAC,KAAK,EAAE,IAAI,EAAW,EAAE,CACjC,OAAO,IAAI,KAAK,WAAW,IAAI,KAAK,CAAC,KAAK,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;YAClE,cAAc,EAAE,IAAA,wBAAgB,EAAC,GAAG,EAAE,CAAC,QAAQ,CAAC;SACjD;KACF,EACD,iBAAiB,CAClB,CAAC;AACJ,CAAC;AAhBD,sBAgBC"}
1
+ {"version":3,"file":"is-url.decorator.js","sourceRoot":"","sources":["../../../src/decorators/string/is-url.decorator.ts"],"names":[],"mappings":";;;;;;AAAA,qDAAqE;AAErE,gEAAiD;AAEjD,uCAA+C;AAElC,QAAA,MAAM,GAAG,OAAO,CAAC;AAM9B,SAAgB,KAAK,CACnB,KAAa,EACb,OAAkC;IAElC,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,IAAA,eAAc,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;AACrE,CAAC;AALD,sBAKC;AAMD,SAAgB,KAAK,CACnB,OAAkC,EAClC,iBAAqC;IAErC,OAAO,IAAA,4BAAU,EACf;QACE,IAAI,EAAE,cAAM;QACZ,WAAW,EAAE,CAAC,OAAO,CAAC;QACtB,SAAS,EAAE;YACT,QAAQ,EAAE,CAAC,KAAK,EAAE,IAAI,EAAW,EAAE,CACjC,OAAO,IAAI,KAAK,WAAW,IAAI,KAAK,CAAC,KAAK,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;YAClE,cAAc,EAAE,IAAA,wBAAgB,EAAC,GAAG,EAAE,CAAC,QAAQ,CAAC;SACjD;KACF,EACD,iBAAiB,CAClB,CAAC;AACJ,CAAC;AAhBD,sBAgBC"}
@@ -1,4 +1,4 @@
1
- import { ValidationOptions } from "class-validator";
1
+ import { type ValidationOptions } from "class-validator";
2
2
  export declare const IS_LENGTH = "isLength";
3
3
  export declare function length(value: unknown, min: number, max?: number): boolean;
4
4
  export declare function Length(min: number, max?: number, validationOptions?: ValidationOptions): PropertyDecorator;
@@ -1 +1 @@
1
- {"version":3,"file":"length.decorator.js","sourceRoot":"","sources":["../../../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gBAED,OAAO,gBAAgB,CAAC;YAC1B,CAAC,CAAC;SACH;KACF,EACD,iBAAiB,CAClB,CAAC;AACJ,CAAC;AAnCD,wBAmCC"}
1
+ {"version":3,"file":"length.decorator.js","sourceRoot":"","sources":["../../../src/decorators/string/length.decorator.ts"],"names":[],"mappings":";;;;;;AAAA,qDAAqE;AACrE,sEAAuD;AAEvD,uEAAkE;AAErD,QAAA,SAAS,GAAG,UAAU,CAAC;AAMpC,SAAgB,MAAM,CAAC,KAAc,EAAE,GAAW,EAAE,GAAY;IAC9D,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,IAAA,kBAAiB,EAAC,KAAK,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC;AAC7E,CAAC;AAFD,wBAEC;AAMD,SAAgB,MAAM,CACpB,GAAW,EACX,GAAY,EACZ,iBAAqC;IAErC,OAAO,IAAA,4BAAU,EACf;QACE,IAAI,EAAE,iBAAS;QACf,WAAW,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC;QACvB,SAAS,EAAE;YACT,QAAQ,EAAE,CAAC,KAAK,EAAE,IAAI,EAAW,EAAE,CACjC,OAAO,IAAI,KAAK,WAAW;gBAC3B,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;YACzD,cAAc,EAAE,IAAA,qCAAgB,EAAC,CAAC,IAAI,EAAE,EAAE;gBACxC,IAAI,OAAO,IAAI,KAAK,WAAW,EAAE;oBAC/B,MAAM,WAAW,GACf,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,KAAK,IAAI,IAAI,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,KAAK,SAAS,CAAC;oBACpE,MAAM,WAAW,GACf,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,KAAK,IAAI,IAAI,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,KAAK,SAAS,CAAC;oBAEpE,IACE,WAAW;wBACX,CAAC,WAAW;wBACZ,IAAI,CAAC,KAAK,CAAC,MAAM,GAAG,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,EACvC;wBACA,OAAO,YAAY,CAAC;qBACrB;iBACF;gBAED,OAAO,gBAAgB,CAAC;YAC1B,CAAC,CAAC;SACH;KACF,EACD,iBAAiB,CAClB,CAAC;AACJ,CAAC;AAnCD,wBAmCC"}
@@ -1,4 +1,4 @@
1
- import { ValidationOptions } from "class-validator";
1
+ import { type ValidationOptions } from "class-validator";
2
2
  export declare const IS_DATE = "isDate";
3
3
  export declare function isDate(value: unknown): boolean;
4
4
  export declare function IsDate(validationOptions?: ValidationOptions): PropertyDecorator;
@@ -1 +1 @@
1
- {"version":3,"file":"is-date.decorator.js","sourceRoot":"","sources":["../../../src/decorators/type-check/is-date.decorator.ts"],"names":[],"mappings":";;;AAAA,qDAAgE;AAEhE,uCAA+C;AAElC,QAAA,OAAO,GAAG,QAAQ,CAAC;AAKhC,SAAgB,MAAM,CAAC,KAAc;IACnC,OAAO,KAAK,YAAY,IAAI,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;AACjE,CAAC;AAFD,wBAEC;AAKD,SAAgB,MAAM,CACpB,iBAAqC;IAErC,OAAO,IAAA,4BAAU,EACf;QACE,IAAI,EAAE,eAAO;QACb,SAAS,EAAE;YACT,QAAQ,EAAE,CAAC,KAAK,EAAW,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC;YAC3C,cAAc,EAAE,IAAA,wBAAgB,EAAC,GAAG,EAAE,CAAC,SAAS,CAAC;SAClD;KACF,EACD,iBAAiB,CAClB,CAAC;AACJ,CAAC;AAbD,wBAaC"}
1
+ {"version":3,"file":"is-date.decorator.js","sourceRoot":"","sources":["../../../src/decorators/type-check/is-date.decorator.ts"],"names":[],"mappings":";;;AAAA,qDAAqE;AAErE,uCAA+C;AAElC,QAAA,OAAO,GAAG,QAAQ,CAAC;AAKhC,SAAgB,MAAM,CAAC,KAAc;IACnC,OAAO,KAAK,YAAY,IAAI,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;AACjE,CAAC;AAFD,wBAEC;AAKD,SAAgB,MAAM,CACpB,iBAAqC;IAErC,OAAO,IAAA,4BAAU,EACf;QACE,IAAI,EAAE,eAAO;QACb,SAAS,EAAE;YACT,QAAQ,EAAE,CAAC,KAAK,EAAW,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC;YAC3C,cAAc,EAAE,IAAA,wBAAgB,EAAC,GAAG,EAAE,CAAC,SAAS,CAAC;SAClD;KACF,EACD,iBAAiB,CAClB,CAAC;AACJ,CAAC;AAbD,wBAaC"}