@nest-boot/validator 7.0.2 → 7.1.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.
Files changed (52) hide show
  1. package/dist/decorators/common/array-length.decorator.d.ts +8 -0
  2. package/dist/decorators/common/array-length.decorator.js +9 -4
  3. package/dist/decorators/common/array-length.decorator.js.map +1 -1
  4. package/dist/decorators/index.js +4 -4
  5. package/dist/decorators/index.js.map +1 -1
  6. package/dist/decorators/number/is-greater-than-or-equal.decorator.d.ts +6 -0
  7. package/dist/decorators/number/is-greater-than-or-equal.decorator.js +6 -0
  8. package/dist/decorators/number/is-greater-than-or-equal.decorator.js.map +1 -1
  9. package/dist/decorators/number/is-greater-than.decorator.d.ts +6 -0
  10. package/dist/decorators/number/is-greater-than.decorator.js +6 -0
  11. package/dist/decorators/number/is-greater-than.decorator.js.map +1 -1
  12. package/dist/decorators/number/is-less-than-or-equal.decorator.d.ts +6 -0
  13. package/dist/decorators/number/is-less-than-or-equal.decorator.js +6 -0
  14. package/dist/decorators/number/is-less-than-or-equal.decorator.js.map +1 -1
  15. package/dist/decorators/number/is-less-than.decorator.d.ts +6 -0
  16. package/dist/decorators/number/is-less-than.decorator.js +6 -0
  17. package/dist/decorators/number/is-less-than.decorator.js.map +1 -1
  18. package/dist/decorators/number/max.decorator.d.ts +6 -0
  19. package/dist/decorators/number/max.decorator.js +6 -0
  20. package/dist/decorators/number/max.decorator.js.map +1 -1
  21. package/dist/decorators/number/min.decorator.d.ts +6 -0
  22. package/dist/decorators/number/min.decorator.js +6 -0
  23. package/dist/decorators/number/min.decorator.js.map +1 -1
  24. package/dist/decorators/number/validate-compare-number.decorator.d.ts +13 -0
  25. package/dist/decorators/number/validate-compare-number.decorator.js +13 -0
  26. package/dist/decorators/number/validate-compare-number.decorator.js.map +1 -1
  27. package/dist/decorators/string/is-domain.decorator.d.ts +5 -0
  28. package/dist/decorators/string/is-domain.decorator.js +5 -0
  29. package/dist/decorators/string/is-domain.decorator.js.map +1 -1
  30. package/dist/decorators/string/is-email.decorator.d.ts +1 -0
  31. package/dist/decorators/string/is-email.decorator.js +1 -0
  32. package/dist/decorators/string/is-email.decorator.js.map +1 -1
  33. package/dist/decorators/string/is-number-string.decorator.d.ts +1 -0
  34. package/dist/decorators/string/is-number-string.decorator.js +1 -0
  35. package/dist/decorators/string/is-number-string.decorator.js.map +1 -1
  36. package/dist/decorators/string/is-timezone.decorator.d.ts +5 -0
  37. package/dist/decorators/string/is-timezone.decorator.js +5 -0
  38. package/dist/decorators/string/is-timezone.decorator.js.map +1 -1
  39. package/dist/decorators/string/is-url.decorator.d.ts +1 -0
  40. package/dist/decorators/string/is-url.decorator.js +1 -0
  41. package/dist/decorators/string/is-url.decorator.js.map +1 -1
  42. package/dist/decorators/string/length.decorator.d.ts +1 -0
  43. package/dist/decorators/string/length.decorator.js +1 -0
  44. package/dist/decorators/string/length.decorator.js.map +1 -1
  45. package/dist/decorators/type-check/is-date.decorator.d.ts +1 -0
  46. package/dist/decorators/type-check/is-date.decorator.js +1 -0
  47. package/dist/decorators/type-check/is-date.decorator.js.map +1 -1
  48. package/dist/tsconfig.build.tsbuildinfo +1 -1
  49. package/dist/utils/build-i18n-message.d.ts +10 -0
  50. package/dist/utils/build-i18n-message.js +10 -0
  51. package/dist/utils/build-i18n-message.js.map +1 -1
  52. package/package.json +23 -12
@@ -1,6 +1,14 @@
1
1
  import { type ValidationOptions } from "class-validator";
2
+ /** Options for the {@link ArrayLength} decorator. */
2
3
  export interface ArrayLengthOptions extends ValidationOptions {
4
+ /** Minimum array length. */
3
5
  min?: number;
6
+ /** Maximum array length. */
4
7
  max?: number;
5
8
  }
9
+ /**
10
+ * Validates that the array length falls within the specified range.
11
+ * @param validationOptions - Array length constraints and validation options
12
+ * @returns Property decorator
13
+ */
6
14
  export declare function ArrayLength(validationOptions: ArrayLengthOptions): PropertyDecorator;
@@ -12,14 +12,14 @@ function arrayLengthMessage(value, property, min, max) {
12
12
  max,
13
13
  });
14
14
  }
15
- // 长度小于要求
15
+ // Length is less than required
16
16
  if (typeof min !== "undefined" && value.length < min) {
17
17
  return (0, i18n_1.t)("validation:arrayLength.gte", {
18
18
  property: (0, i18n_1.t)(`property:${property}`),
19
19
  compareProperty: String(min),
20
20
  });
21
21
  }
22
- // 长度大于要求
22
+ // Length exceeds required
23
23
  if (typeof max !== "undefined" && value.length > max) {
24
24
  return (0, i18n_1.t)("validation:arrayLength.lte", {
25
25
  property: (0, i18n_1.t)(`property:${property}`),
@@ -27,11 +27,16 @@ function arrayLengthMessage(value, property, min, max) {
27
27
  });
28
28
  }
29
29
  }
30
- // 不是数组
30
+ // Not an array
31
31
  return (0, i18n_1.t)("validation:is-array", {
32
32
  property: (0, i18n_1.t)(`property:${property}`),
33
33
  });
34
34
  }
35
+ /**
36
+ * Validates that the array length falls within the specified range.
37
+ * @param validationOptions - Array length constraints and validation options
38
+ * @returns Property decorator
39
+ */
35
40
  function ArrayLength(validationOptions) {
36
41
  return (target, propertyName) => {
37
42
  if (typeof propertyName === "string") {
@@ -50,7 +55,7 @@ function ArrayLength(validationOptions) {
50
55
  }
51
56
  return true;
52
57
  }
53
- // 不是数组
58
+ // Not an array
54
59
  return false;
55
60
  },
56
61
  defaultMessage(args) {
@@ -1 +1 @@
1
- {"version":3,"file":"array-length.decorator.js","sourceRoot":"","sources":["../../../src/decorators/common/array-length.decorator.ts"],"names":[],"mappings":";;AA8CA,kCAsCC;AApFD,0CAAoC;AACpC,qDAA4E;AAO5E,SAAS,kBAAkB,CACzB,KAAc,EACd,QAAgB,EAChB,GAAY,EACZ,GAAY;IAEZ,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACzB,IAAI,OAAO,GAAG,KAAK,WAAW,IAAI,OAAO,GAAG,KAAK,WAAW,EAAE,CAAC;YAC7D,OAAO,IAAA,QAAC,EAAC,gCAAgC,EAAE;gBACzC,QAAQ,EAAE,IAAA,QAAC,EAAC,YAAY,QAAQ,EAAE,CAAC;gBACnC,GAAG;gBACH,GAAG;aACJ,CAAC,CAAC;QACL,CAAC;QAED,SAAS;QACT,IAAI,OAAO,GAAG,KAAK,WAAW,IAAI,KAAK,CAAC,MAAM,GAAG,GAAG,EAAE,CAAC;YACrD,OAAO,IAAA,QAAC,EAAC,4BAA4B,EAAE;gBACrC,QAAQ,EAAE,IAAA,QAAC,EAAC,YAAY,QAAQ,EAAE,CAAC;gBACnC,eAAe,EAAE,MAAM,CAAC,GAAG,CAAC;aAC7B,CAAC,CAAC;QACL,CAAC;QAED,SAAS;QACT,IAAI,OAAO,GAAG,KAAK,WAAW,IAAI,KAAK,CAAC,MAAM,GAAG,GAAG,EAAE,CAAC;YACrD,OAAO,IAAA,QAAC,EAAC,4BAA4B,EAAE;gBACrC,QAAQ,EAAE,IAAA,QAAC,EAAC,YAAY,QAAQ,EAAE,CAAC;gBACnC,eAAe,EAAE,MAAM,CAAC,GAAG,CAAC;aAC7B,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IAED,OAAO;IACP,OAAO,IAAA,QAAC,EAAC,qBAAqB,EAAE;QAC9B,QAAQ,EAAE,IAAA,QAAC,EAAC,YAAY,QAAQ,EAAE,CAAC;KACpC,CAAC,CAAC;AACL,CAAC;AAED,SAAgB,WAAW,CACzB,iBAAqC;IAErC,OAAO,CAAC,MAAc,EAAE,YAA6B,EAAE,EAAE;QACvD,IAAI,OAAO,YAAY,KAAK,QAAQ,EAAE,CAAC;YACrC,IAAA,mCAAiB,EAAC;gBAChB,IAAI,EAAE,aAAa;gBACnB,MAAM,EAAE,MAAM,CAAC,WAAW;gBAC1B,YAAY;gBACZ,OAAO,EAAE,iBAAiB;gBAC1B,SAAS,EAAE;oBACT,QAAQ,CAAC,KAAc;wBACrB,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;4BACzB,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC;4BAEvC,IACE,CAAC,OAAO,GAAG,KAAK,WAAW,IAAI,KAAK,CAAC,MAAM,GAAG,GAAG,CAAC;gCAClD,CAAC,OAAO,GAAG,KAAK,WAAW,IAAI,KAAK,CAAC,MAAM,GAAG,GAAG,CAAC,EAClD,CAAC;gCACD,OAAO,KAAK,CAAC;4BACf,CAAC;4BAED,OAAO,IAAI,CAAC;wBACd,CAAC;wBAED,OAAO;wBACP,OAAO,KAAK,CAAC;oBACf,CAAC;oBACD,cAAc,CAAC,IAAI;wBACjB,oEAAoE;wBACpE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,IAAK,CAAC;wBAClC,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC;wBACvC,OAAO,kBAAkB,CAAC,KAAK,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;oBACvD,CAAC;iBACF;aACF,CAAC,CAAC;QACL,CAAC;IACH,CAAC,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"array-length.decorator.js","sourceRoot":"","sources":["../../../src/decorators/common/array-length.decorator.ts"],"names":[],"mappings":";;AAsDA,kCAsCC;AA5FD,0CAAoC;AACpC,qDAA4E;AAU5E,SAAS,kBAAkB,CACzB,KAAc,EACd,QAAgB,EAChB,GAAY,EACZ,GAAY;IAEZ,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACzB,IAAI,OAAO,GAAG,KAAK,WAAW,IAAI,OAAO,GAAG,KAAK,WAAW,EAAE,CAAC;YAC7D,OAAO,IAAA,QAAC,EAAC,gCAAgC,EAAE;gBACzC,QAAQ,EAAE,IAAA,QAAC,EAAC,YAAY,QAAQ,EAAE,CAAC;gBACnC,GAAG;gBACH,GAAG;aACJ,CAAC,CAAC;QACL,CAAC;QAED,+BAA+B;QAC/B,IAAI,OAAO,GAAG,KAAK,WAAW,IAAI,KAAK,CAAC,MAAM,GAAG,GAAG,EAAE,CAAC;YACrD,OAAO,IAAA,QAAC,EAAC,4BAA4B,EAAE;gBACrC,QAAQ,EAAE,IAAA,QAAC,EAAC,YAAY,QAAQ,EAAE,CAAC;gBACnC,eAAe,EAAE,MAAM,CAAC,GAAG,CAAC;aAC7B,CAAC,CAAC;QACL,CAAC;QAED,0BAA0B;QAC1B,IAAI,OAAO,GAAG,KAAK,WAAW,IAAI,KAAK,CAAC,MAAM,GAAG,GAAG,EAAE,CAAC;YACrD,OAAO,IAAA,QAAC,EAAC,4BAA4B,EAAE;gBACrC,QAAQ,EAAE,IAAA,QAAC,EAAC,YAAY,QAAQ,EAAE,CAAC;gBACnC,eAAe,EAAE,MAAM,CAAC,GAAG,CAAC;aAC7B,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IAED,eAAe;IACf,OAAO,IAAA,QAAC,EAAC,qBAAqB,EAAE;QAC9B,QAAQ,EAAE,IAAA,QAAC,EAAC,YAAY,QAAQ,EAAE,CAAC;KACpC,CAAC,CAAC;AACL,CAAC;AAED;;;;GAIG;AACH,SAAgB,WAAW,CACzB,iBAAqC;IAErC,OAAO,CAAC,MAAc,EAAE,YAA6B,EAAE,EAAE;QACvD,IAAI,OAAO,YAAY,KAAK,QAAQ,EAAE,CAAC;YACrC,IAAA,mCAAiB,EAAC;gBAChB,IAAI,EAAE,aAAa;gBACnB,MAAM,EAAE,MAAM,CAAC,WAAW;gBAC1B,YAAY;gBACZ,OAAO,EAAE,iBAAiB;gBAC1B,SAAS,EAAE;oBACT,QAAQ,CAAC,KAAc;wBACrB,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;4BACzB,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC;4BAEvC,IACE,CAAC,OAAO,GAAG,KAAK,WAAW,IAAI,KAAK,CAAC,MAAM,GAAG,GAAG,CAAC;gCAClD,CAAC,OAAO,GAAG,KAAK,WAAW,IAAI,KAAK,CAAC,MAAM,GAAG,GAAG,CAAC,EAClD,CAAC;gCACD,OAAO,KAAK,CAAC;4BACf,CAAC;4BAED,OAAO,IAAI,CAAC;wBACd,CAAC;wBAED,eAAe;wBACf,OAAO,KAAK,CAAC;oBACf,CAAC;oBACD,cAAc,CAAC,IAAI;wBACjB,oEAAoE;wBACpE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,IAAK,CAAC;wBAClC,MAAM,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC;wBACvC,OAAO,kBAAkB,CAAC,KAAK,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;oBACvD,CAAC;iBACF;aACF,CAAC,CAAC;QACL,CAAC;IACH,CAAC,CAAC;AACJ,CAAC"}
@@ -14,22 +14,22 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- // 通用
17
+ // Common
18
18
  __exportStar(require("./common/array-length.decorator"), exports);
19
- // 字符串
19
+ // String
20
20
  __exportStar(require("./string/is-domain.decorator"), exports);
21
21
  __exportStar(require("./string/is-email.decorator"), exports);
22
22
  __exportStar(require("./string/is-number-string.decorator"), exports);
23
23
  __exportStar(require("./string/is-timezone.decorator"), exports);
24
24
  __exportStar(require("./string/is-url.decorator"), exports);
25
25
  __exportStar(require("./string/length.decorator"), exports);
26
- // 数值
26
+ // Number
27
27
  __exportStar(require("./number/is-greater-than.decorator"), exports);
28
28
  __exportStar(require("./number/is-greater-than-or-equal.decorator"), exports);
29
29
  __exportStar(require("./number/is-less-than.decorator"), exports);
30
30
  __exportStar(require("./number/is-less-than-or-equal.decorator"), exports);
31
31
  __exportStar(require("./number/max.decorator"), exports);
32
32
  __exportStar(require("./number/min.decorator"), exports);
33
- // 类型检查
33
+ // Type check
34
34
  __exportStar(require("./type-check/is-date.decorator"), exports);
35
35
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/decorators/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,KAAK;AACL,kEAAgD;AAEhD,MAAM;AACN,+DAA6C;AAC7C,8DAA4C;AAC5C,sEAAoD;AACpD,iEAA+C;AAC/C,4DAA0C;AAC1C,4DAA0C;AAE1C,KAAK;AACL,qEAAmD;AACnD,8EAA4D;AAC5D,kEAAgD;AAChD,2EAAyD;AACzD,yDAAuC;AACvC,yDAAuC;AAEvC,OAAO;AACP,iEAA+C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/decorators/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,SAAS;AACT,kEAAgD;AAEhD,SAAS;AACT,+DAA6C;AAC7C,8DAA4C;AAC5C,sEAAoD;AACpD,iEAA+C;AAC/C,4DAA0C;AAC1C,4DAA0C;AAE1C,SAAS;AACT,qEAAmD;AACnD,8EAA4D;AAC5D,kEAAgD;AAChD,2EAAyD;AACzD,yDAAuC;AACvC,yDAAuC;AAEvC,aAAa;AACb,iEAA+C"}
@@ -1,2 +1,8 @@
1
1
  import { type ValidationOptions } from "class-validator";
2
+ /**
3
+ * Validates that the property value is greater than or equal to the given field's value.
4
+ * @param field - The name of the property to compare against
5
+ * @param validationOptions - Optional class-validator validation options
6
+ * @returns Property decorator
7
+ */
2
8
  export declare function IsGreaterThanOrEqual(field: string, validationOptions?: ValidationOptions): PropertyDecorator;
@@ -2,6 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.IsGreaterThanOrEqual = IsGreaterThanOrEqual;
4
4
  const validate_compare_number_decorator_1 = require("./validate-compare-number.decorator");
5
+ /**
6
+ * Validates that the property value is greater than or equal to the given field's value.
7
+ * @param field - The name of the property to compare against
8
+ * @param validationOptions - Optional class-validator validation options
9
+ * @returns Property decorator
10
+ */
5
11
  function IsGreaterThanOrEqual(field, validationOptions) {
6
12
  return (0, validate_compare_number_decorator_1.ValidateCompareNumber)(validate_compare_number_decorator_1.Comparator.GTE, field, validationOptions);
7
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"is-greater-than-or-equal.decorator.js","sourceRoot":"","sources":["../../../src/decorators/number/is-greater-than-or-equal.decorator.ts"],"names":[],"mappings":";;AAOA,oDAKC;AAVD,2FAG6C;AAE7C,SAAgB,oBAAoB,CAClC,KAAa,EACb,iBAAqC;IAErC,OAAO,IAAA,yDAAqB,EAAC,8CAAU,CAAC,GAAG,EAAE,KAAK,EAAE,iBAAiB,CAAC,CAAC;AACzE,CAAC"}
1
+ {"version":3,"file":"is-greater-than-or-equal.decorator.js","sourceRoot":"","sources":["../../../src/decorators/number/is-greater-than-or-equal.decorator.ts"],"names":[],"mappings":";;AAaA,oDAKC;AAhBD,2FAG6C;AAE7C;;;;;GAKG;AACH,SAAgB,oBAAoB,CAClC,KAAa,EACb,iBAAqC;IAErC,OAAO,IAAA,yDAAqB,EAAC,8CAAU,CAAC,GAAG,EAAE,KAAK,EAAE,iBAAiB,CAAC,CAAC;AACzE,CAAC"}
@@ -1,2 +1,8 @@
1
1
  import { type ValidationOptions } from "class-validator";
2
+ /**
3
+ * Validates that the property value is greater than the given field's value.
4
+ * @param field - The name of the property to compare against
5
+ * @param validationOptions - Optional class-validator validation options
6
+ * @returns Property decorator
7
+ */
2
8
  export declare function IsGreaterThan(field: string, validationOptions?: ValidationOptions): PropertyDecorator;
@@ -2,6 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.IsGreaterThan = IsGreaterThan;
4
4
  const validate_compare_number_decorator_1 = require("./validate-compare-number.decorator");
5
+ /**
6
+ * Validates that the property value is greater than the given field's value.
7
+ * @param field - The name of the property to compare against
8
+ * @param validationOptions - Optional class-validator validation options
9
+ * @returns Property decorator
10
+ */
5
11
  function IsGreaterThan(field, validationOptions) {
6
12
  return (0, validate_compare_number_decorator_1.ValidateCompareNumber)(validate_compare_number_decorator_1.Comparator.GT, field, validationOptions);
7
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"is-greater-than.decorator.js","sourceRoot":"","sources":["../../../src/decorators/number/is-greater-than.decorator.ts"],"names":[],"mappings":";;AAOA,sCAKC;AAVD,2FAG6C;AAE7C,SAAgB,aAAa,CAC3B,KAAa,EACb,iBAAqC;IAErC,OAAO,IAAA,yDAAqB,EAAC,8CAAU,CAAC,EAAE,EAAE,KAAK,EAAE,iBAAiB,CAAC,CAAC;AACxE,CAAC"}
1
+ {"version":3,"file":"is-greater-than.decorator.js","sourceRoot":"","sources":["../../../src/decorators/number/is-greater-than.decorator.ts"],"names":[],"mappings":";;AAaA,sCAKC;AAhBD,2FAG6C;AAE7C;;;;;GAKG;AACH,SAAgB,aAAa,CAC3B,KAAa,EACb,iBAAqC;IAErC,OAAO,IAAA,yDAAqB,EAAC,8CAAU,CAAC,EAAE,EAAE,KAAK,EAAE,iBAAiB,CAAC,CAAC;AACxE,CAAC"}
@@ -1,2 +1,8 @@
1
1
  import { type ValidationOptions } from "class-validator";
2
+ /**
3
+ * Validates that the property value is less than or equal to the given field's value.
4
+ * @param field - The name of the property to compare against
5
+ * @param validationOptions - Optional class-validator validation options
6
+ * @returns Property decorator
7
+ */
2
8
  export declare function IsLessThanOrEqual(field: string, validationOptions?: ValidationOptions): PropertyDecorator;
@@ -2,6 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.IsLessThanOrEqual = IsLessThanOrEqual;
4
4
  const validate_compare_number_decorator_1 = require("./validate-compare-number.decorator");
5
+ /**
6
+ * Validates that the property value is less than or equal to the given field's value.
7
+ * @param field - The name of the property to compare against
8
+ * @param validationOptions - Optional class-validator validation options
9
+ * @returns Property decorator
10
+ */
5
11
  function IsLessThanOrEqual(field, validationOptions) {
6
12
  return (0, validate_compare_number_decorator_1.ValidateCompareNumber)(validate_compare_number_decorator_1.Comparator.LTE, field, validationOptions);
7
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"is-less-than-or-equal.decorator.js","sourceRoot":"","sources":["../../../src/decorators/number/is-less-than-or-equal.decorator.ts"],"names":[],"mappings":";;AAOA,8CAKC;AAVD,2FAG6C;AAE7C,SAAgB,iBAAiB,CAC/B,KAAa,EACb,iBAAqC;IAErC,OAAO,IAAA,yDAAqB,EAAC,8CAAU,CAAC,GAAG,EAAE,KAAK,EAAE,iBAAiB,CAAC,CAAC;AACzE,CAAC"}
1
+ {"version":3,"file":"is-less-than-or-equal.decorator.js","sourceRoot":"","sources":["../../../src/decorators/number/is-less-than-or-equal.decorator.ts"],"names":[],"mappings":";;AAaA,8CAKC;AAhBD,2FAG6C;AAE7C;;;;;GAKG;AACH,SAAgB,iBAAiB,CAC/B,KAAa,EACb,iBAAqC;IAErC,OAAO,IAAA,yDAAqB,EAAC,8CAAU,CAAC,GAAG,EAAE,KAAK,EAAE,iBAAiB,CAAC,CAAC;AACzE,CAAC"}
@@ -1,2 +1,8 @@
1
1
  import { type ValidationOptions } from "class-validator";
2
+ /**
3
+ * Validates that the property value is less than the given field's value.
4
+ * @param field - The name of the property to compare against
5
+ * @param validationOptions - Optional class-validator validation options
6
+ * @returns Property decorator
7
+ */
2
8
  export declare function IsLessThan(field: string, validationOptions?: ValidationOptions): PropertyDecorator;
@@ -2,6 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.IsLessThan = IsLessThan;
4
4
  const validate_compare_number_decorator_1 = require("./validate-compare-number.decorator");
5
+ /**
6
+ * Validates that the property value is less than the given field's value.
7
+ * @param field - The name of the property to compare against
8
+ * @param validationOptions - Optional class-validator validation options
9
+ * @returns Property decorator
10
+ */
5
11
  function IsLessThan(field, validationOptions) {
6
12
  return (0, validate_compare_number_decorator_1.ValidateCompareNumber)(validate_compare_number_decorator_1.Comparator.LT, field, validationOptions);
7
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"is-less-than.decorator.js","sourceRoot":"","sources":["../../../src/decorators/number/is-less-than.decorator.ts"],"names":[],"mappings":";;AAOA,gCAKC;AAVD,2FAG6C;AAE7C,SAAgB,UAAU,CACxB,KAAa,EACb,iBAAqC;IAErC,OAAO,IAAA,yDAAqB,EAAC,8CAAU,CAAC,EAAE,EAAE,KAAK,EAAE,iBAAiB,CAAC,CAAC;AACxE,CAAC"}
1
+ {"version":3,"file":"is-less-than.decorator.js","sourceRoot":"","sources":["../../../src/decorators/number/is-less-than.decorator.ts"],"names":[],"mappings":";;AAaA,gCAKC;AAhBD,2FAG6C;AAE7C;;;;;GAKG;AACH,SAAgB,UAAU,CACxB,KAAa,EACb,iBAAqC;IAErC,OAAO,IAAA,yDAAqB,EAAC,8CAAU,CAAC,EAAE,EAAE,KAAK,EAAE,iBAAiB,CAAC,CAAC;AACxE,CAAC"}
@@ -1,2 +1,8 @@
1
1
  import { type ValidationOptions } from "class-validator";
2
+ /**
3
+ * Validates that the property value is less than or equal to the specified maximum.
4
+ * @param maxValue - The maximum allowed value
5
+ * @param validationOptions - Optional class-validator validation options
6
+ * @returns Property decorator
7
+ */
2
8
  export declare function Max(maxValue: number, validationOptions?: ValidationOptions): PropertyDecorator;
@@ -3,6 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Max = Max;
4
4
  const class_validator_1 = require("class-validator");
5
5
  const utils_1 = require("../../utils");
6
+ /**
7
+ * Validates that the property value is less than or equal to the specified maximum.
8
+ * @param maxValue - The maximum allowed value
9
+ * @param validationOptions - Optional class-validator validation options
10
+ * @returns Property decorator
11
+ */
6
12
  function Max(maxValue, validationOptions) {
7
13
  return (0, class_validator_1.ValidateBy)({
8
14
  name: "max",
@@ -1 +1 @@
1
- {"version":3,"file":"max.decorator.js","sourceRoot":"","sources":["../../../src/decorators/number/max.decorator.ts"],"names":[],"mappings":";;AAIA,kBAiBC;AArBD,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"}
1
+ {"version":3,"file":"max.decorator.js","sourceRoot":"","sources":["../../../src/decorators/number/max.decorator.ts"],"names":[],"mappings":";;AAUA,kBAiBC;AA3BD,qDAAqE;AAErE,uCAA+C;AAE/C;;;;;GAKG;AACH,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"}
@@ -1,2 +1,8 @@
1
1
  import { type ValidationOptions } from "class-validator";
2
+ /**
3
+ * Validates that the property value is greater than or equal to the specified minimum.
4
+ * @param minValue - The minimum allowed value
5
+ * @param validationOptions - Optional class-validator validation options
6
+ * @returns Property decorator
7
+ */
2
8
  export declare function Min(minValue: number, validationOptions?: ValidationOptions): PropertyDecorator;
@@ -3,6 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Min = Min;
4
4
  const class_validator_1 = require("class-validator");
5
5
  const utils_1 = require("../../utils");
6
+ /**
7
+ * Validates that the property value is greater than or equal to the specified minimum.
8
+ * @param minValue - The minimum allowed value
9
+ * @param validationOptions - Optional class-validator validation options
10
+ * @returns Property decorator
11
+ */
6
12
  function Min(minValue, validationOptions) {
7
13
  return (0, class_validator_1.ValidateBy)({
8
14
  name: "min",
@@ -1 +1 @@
1
- {"version":3,"file":"min.decorator.js","sourceRoot":"","sources":["../../../src/decorators/number/min.decorator.ts"],"names":[],"mappings":";;AAIA,kBAiBC;AArBD,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"}
1
+ {"version":3,"file":"min.decorator.js","sourceRoot":"","sources":["../../../src/decorators/number/min.decorator.ts"],"names":[],"mappings":";;AAUA,kBAiBC;AA3BD,qDAAqE;AAErE,uCAA+C;AAE/C;;;;;GAKG;AACH,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"}
@@ -1,9 +1,22 @@
1
1
  import { type ValidationOptions } from "class-validator";
2
+ /** Comparison operators for number validation. */
2
3
  export declare enum Comparator {
4
+ /** Equal to. */
3
5
  EQ = "EQ",
6
+ /** Greater than. */
4
7
  GT = "GT",
8
+ /** Greater than or equal to. */
5
9
  GTE = "GTE",
10
+ /** Less than. */
6
11
  LT = "LT",
12
+ /** Less than or equal to. */
7
13
  LTE = "LTE"
8
14
  }
15
+ /**
16
+ * Validates that a numeric property satisfies a comparison against another property's value.
17
+ * @param comparator - The comparison operator to use
18
+ * @param compareProperty - The name of the property to compare against
19
+ * @param validationOptions - Optional class-validator validation options
20
+ * @returns Property decorator
21
+ */
9
22
  export declare function ValidateCompareNumber(comparator: Comparator, compareProperty: string, validationOptions?: ValidationOptions): PropertyDecorator;
@@ -4,14 +4,27 @@ exports.Comparator = void 0;
4
4
  exports.ValidateCompareNumber = ValidateCompareNumber;
5
5
  const i18n_1 = require("@nest-boot/i18n");
6
6
  const class_validator_1 = require("class-validator");
7
+ /** Comparison operators for number validation. */
7
8
  var Comparator;
8
9
  (function (Comparator) {
10
+ /** Equal to. */
9
11
  Comparator["EQ"] = "EQ";
12
+ /** Greater than. */
10
13
  Comparator["GT"] = "GT";
14
+ /** Greater than or equal to. */
11
15
  Comparator["GTE"] = "GTE";
16
+ /** Less than. */
12
17
  Comparator["LT"] = "LT";
18
+ /** Less than or equal to. */
13
19
  Comparator["LTE"] = "LTE";
14
20
  })(Comparator || (exports.Comparator = Comparator = {}));
21
+ /**
22
+ * Validates that a numeric property satisfies a comparison against another property's value.
23
+ * @param comparator - The comparison operator to use
24
+ * @param compareProperty - The name of the property to compare against
25
+ * @param validationOptions - Optional class-validator validation options
26
+ * @returns Property decorator
27
+ */
15
28
  function ValidateCompareNumber(comparator, compareProperty, validationOptions) {
16
29
  return (target, propertyName) => {
17
30
  if (typeof propertyName === "string") {
@@ -1 +1 @@
1
- {"version":3,"file":"validate-compare-number.decorator.js","sourceRoot":"","sources":["../../../src/decorators/number/validate-compare-number.decorator.ts"],"names":[],"mappings":";;;AAeA,sDA6DC;AA5ED,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,EAAE,YAA6B,EAAE,EAAE;QACvD,IAAI,OAAO,YAAY,KAAK,QAAQ,EAAE,CAAC;YACrC,IAAA,mCAAiB,EAAC;gBAChB,IAAI,EAAE,sBAAsB;gBAC5B,MAAM,EAAE,MAAM,CAAC,WAAW;gBAC1B,YAAY;gBACZ,WAAW,EAAE,CAAC,UAAU,EAAE,eAAe,CAAC;gBAC1C,OAAO,EAAE,iBAAiB;gBAC1B,SAAS,EAAE;oBACT,QAAQ,CAAC,KAAc,EAAE,IAAyB;wBAChD,IAAI,OAAO,IAAI,KAAK,WAAW,EAAE,CAAC;4BAChC,OAAO,KAAK,CAAC;wBACf,CAAC;wBAED,MAAM,CAAC,eAAe,EAAE,oBAAoB,CAAC,GAC3C,IAAI,CAAC,WAAmC,CAAC;wBAE3C,MAAM,YAAY,GAAI,IAAI,CAAC,MAAc,CAAC,oBAAoB,CAAC,CAAC;wBAEhE,IAAI,YAAY,KAAK,SAAS,IAAI,YAAY,KAAK,IAAI,EAAE,CAAC;4BACxD,OAAO,IAAI,CAAC;wBACd,CAAC;wBAED,QAAQ,eAAe,EAAE,CAAC;4BACxB,KAAK,UAAU,CAAC,EAAE;gCAChB,OAAO,MAAM,CAAC,KAAK,CAAC,KAAK,MAAM,CAAC,YAAY,CAAC,CAAC;4BAChD,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,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;wBACjB,CAAC;oBACH,CAAC;oBACD,cAAc,CAAC,IAAI;wBACjB,oEAAoE;wBACpE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,IAAK,CAAC;wBACxC,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;QACL,CAAC;IACH,CAAC,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"validate-compare-number.decorator.js","sourceRoot":"","sources":["../../../src/decorators/number/validate-compare-number.decorator.ts"],"names":[],"mappings":";;;AA4BA,sDA6DC;AAzFD,0CAAoC;AACpC,qDAIyB;AAEzB,kDAAkD;AAClD,IAAY,UAWX;AAXD,WAAY,UAAU;IACpB,gBAAgB;IAChB,uBAAS,CAAA;IACT,oBAAoB;IACpB,uBAAS,CAAA;IACT,gCAAgC;IAChC,yBAAW,CAAA;IACX,iBAAiB;IACjB,uBAAS,CAAA;IACT,6BAA6B;IAC7B,yBAAW,CAAA;AACb,CAAC,EAXW,UAAU,0BAAV,UAAU,QAWrB;AAED;;;;;;GAMG;AACH,SAAgB,qBAAqB,CACnC,UAAsB,EACtB,eAAuB,EACvB,iBAAqC;IAErC,OAAO,CAAC,MAAc,EAAE,YAA6B,EAAE,EAAE;QACvD,IAAI,OAAO,YAAY,KAAK,QAAQ,EAAE,CAAC;YACrC,IAAA,mCAAiB,EAAC;gBAChB,IAAI,EAAE,sBAAsB;gBAC5B,MAAM,EAAE,MAAM,CAAC,WAAW;gBAC1B,YAAY;gBACZ,WAAW,EAAE,CAAC,UAAU,EAAE,eAAe,CAAC;gBAC1C,OAAO,EAAE,iBAAiB;gBAC1B,SAAS,EAAE;oBACT,QAAQ,CAAC,KAAc,EAAE,IAAyB;wBAChD,IAAI,OAAO,IAAI,KAAK,WAAW,EAAE,CAAC;4BAChC,OAAO,KAAK,CAAC;wBACf,CAAC;wBAED,MAAM,CAAC,eAAe,EAAE,oBAAoB,CAAC,GAC3C,IAAI,CAAC,WAAmC,CAAC;wBAE3C,MAAM,YAAY,GAAI,IAAI,CAAC,MAAc,CAAC,oBAAoB,CAAC,CAAC;wBAEhE,IAAI,YAAY,KAAK,SAAS,IAAI,YAAY,KAAK,IAAI,EAAE,CAAC;4BACxD,OAAO,IAAI,CAAC;wBACd,CAAC;wBAED,QAAQ,eAAe,EAAE,CAAC;4BACxB,KAAK,UAAU,CAAC,EAAE;gCAChB,OAAO,MAAM,CAAC,KAAK,CAAC,KAAK,MAAM,CAAC,YAAY,CAAC,CAAC;4BAChD,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,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;wBACjB,CAAC;oBACH,CAAC;oBACD,cAAc,CAAC,IAAI;wBACjB,oEAAoE;wBACpE,MAAM,EAAE,QAAQ,EAAE,WAAW,EAAE,GAAG,IAAK,CAAC;wBACxC,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;QACL,CAAC;IACH,CAAC,CAAC;AACJ,CAAC"}
@@ -1,2 +1,7 @@
1
1
  import { type ValidationOptions } from "class-validator";
2
+ /**
3
+ * Validates that the string value is a valid domain name.
4
+ * @param validationOptions - Optional class-validator validation options
5
+ * @returns Property decorator
6
+ */
2
7
  export declare function IsDomain(validationOptions?: ValidationOptions): PropertyDecorator;
@@ -3,6 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.IsDomain = IsDomain;
4
4
  const class_validator_1 = require("class-validator");
5
5
  const utils_1 = require("../../utils");
6
+ /**
7
+ * Validates that the string value is a valid domain name.
8
+ * @param validationOptions - Optional class-validator validation options
9
+ * @returns Property decorator
10
+ */
6
11
  function IsDomain(validationOptions) {
7
12
  return (0, class_validator_1.ValidateBy)({
8
13
  name: "IsDomain",
@@ -1 +1 @@
1
- {"version":3,"file":"is-domain.decorator.js","sourceRoot":"","sources":["../../../src/decorators/string/is-domain.decorator.ts"],"names":[],"mappings":";;AAIA,4BAiBC;AArBD,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"}
1
+ {"version":3,"file":"is-domain.decorator.js","sourceRoot":"","sources":["../../../src/decorators/string/is-domain.decorator.ts"],"names":[],"mappings":";;AASA,4BAiBC;AA1BD,qDAAqE;AAErE,uCAA+C;AAE/C;;;;GAIG;AACH,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"}
@@ -1,5 +1,6 @@
1
1
  import { type ValidationOptions } from "class-validator";
2
2
  import { IsEmailOptions } from "validator";
3
+ /** Validation name constant for the IsEmail validator. */
3
4
  export declare const IS_EMAIL = "isEmail";
4
5
  /**
5
6
  * Checks if the string is an email.
@@ -9,6 +9,7 @@ exports.IsEmail = IsEmail;
9
9
  const class_validator_1 = require("class-validator");
10
10
  const isEmail_1 = __importDefault(require("validator/lib/isEmail"));
11
11
  const utils_1 = require("../../utils");
12
+ /** Validation name constant for the IsEmail validator. */
12
13
  exports.IS_EMAIL = "isEmail";
13
14
  /**
14
15
  * Checks if the string is an email.
@@ -1 +1 @@
1
- {"version":3,"file":"is-email.decorator.js","sourceRoot":"","sources":["../../../src/decorators/string/is-email.decorator.ts"],"names":[],"mappings":";;;;;;AAYA,0BAEC;AAMD,0BAgBC;AApCD,qDAAqE;AAErE,oEAAqD;AAErD,uCAA+C;AAElC,QAAA,QAAQ,GAAG,SAAS,CAAC;AAElC;;;GAGG;AACH,SAAgB,OAAO,CAAC,KAAc,EAAE,OAAwB;IAC9D,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,IAAA,iBAAgB,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;AACvE,CAAC;AAED;;;GAGG;AACH,SAAgB,OAAO,CACrB,OAAwB,EACxB,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"}
1
+ {"version":3,"file":"is-email.decorator.js","sourceRoot":"","sources":["../../../src/decorators/string/is-email.decorator.ts"],"names":[],"mappings":";;;;;;AAaA,0BAEC;AAMD,0BAgBC;AArCD,qDAAqE;AAErE,oEAAqD;AAErD,uCAA+C;AAE/C,0DAA0D;AAC7C,QAAA,QAAQ,GAAG,SAAS,CAAC;AAElC;;;GAGG;AACH,SAAgB,OAAO,CAAC,KAAc,EAAE,OAAwB;IAC9D,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,IAAA,iBAAgB,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;AACvE,CAAC;AAED;;;GAGG;AACH,SAAgB,OAAO,CACrB,OAAwB,EACxB,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"}
@@ -1,5 +1,6 @@
1
1
  import { type ValidationOptions } from "class-validator";
2
2
  import { IsNumericOptions } from "validator";
3
+ /** Validation name constant for the IsNumberString validator. */
3
4
  export declare const IS_NUMBER_STRING = "isNumberString";
4
5
  /**
5
6
  * Checks if the string is numeric.
@@ -9,6 +9,7 @@ exports.IsNumberString = IsNumberString;
9
9
  const class_validator_1 = require("class-validator");
10
10
  const isNumeric_1 = __importDefault(require("validator/lib/isNumeric"));
11
11
  const utils_1 = require("../../utils");
12
+ /** Validation name constant for the IsNumberString validator. */
12
13
  exports.IS_NUMBER_STRING = "isNumberString";
13
14
  /**
14
15
  * Checks if the string is numeric.
@@ -1 +1 @@
1
- {"version":3,"file":"is-number-string.decorator.js","sourceRoot":"","sources":["../../../src/decorators/string/is-number-string.decorator.ts"],"names":[],"mappings":";;;;;;AAYA,wCAKC;AAMD,wCAiBC;AAxCD,qDAAqE;AAErE,wEAAyD;AAEzD,uCAA+C;AAElC,QAAA,gBAAgB,GAAG,gBAAgB,CAAC;AAEjD;;;GAGG;AACH,SAAgB,cAAc,CAC5B,KAAc,EACd,OAA0B;IAE1B,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,IAAA,mBAAkB,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;AACzE,CAAC;AAED;;;GAGG;AACH,SAAgB,cAAc,CAC5B,OAA0B,EAC1B,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"}
1
+ {"version":3,"file":"is-number-string.decorator.js","sourceRoot":"","sources":["../../../src/decorators/string/is-number-string.decorator.ts"],"names":[],"mappings":";;;;;;AAaA,wCAKC;AAMD,wCAiBC;AAzCD,qDAAqE;AAErE,wEAAyD;AAEzD,uCAA+C;AAE/C,iEAAiE;AACpD,QAAA,gBAAgB,GAAG,gBAAgB,CAAC;AAEjD;;;GAGG;AACH,SAAgB,cAAc,CAC5B,KAAc,EACd,OAA0B;IAE1B,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,IAAA,mBAAkB,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;AACzE,CAAC;AAED;;;GAGG;AACH,SAAgB,cAAc,CAC5B,OAA0B,EAC1B,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"}
@@ -1,2 +1,7 @@
1
1
  import { type ValidationOptions } from "class-validator";
2
+ /**
3
+ * Validates that the string value is a valid IANA timezone identifier.
4
+ * @param validationOptions - Optional class-validator validation options
5
+ * @returns Property decorator
6
+ */
2
7
  export declare function IsTimezone(validationOptions?: ValidationOptions): PropertyDecorator;
@@ -7,6 +7,11 @@ exports.IsTimezone = IsTimezone;
7
7
  const class_validator_1 = require("class-validator");
8
8
  const moment_timezone_1 = __importDefault(require("moment-timezone"));
9
9
  const utils_1 = require("../../utils");
10
+ /**
11
+ * Validates that the string value is a valid IANA timezone identifier.
12
+ * @param validationOptions - Optional class-validator validation options
13
+ * @returns Property decorator
14
+ */
10
15
  function IsTimezone(validationOptions) {
11
16
  return (0, class_validator_1.ValidateBy)({
12
17
  name: "isTimezone",
@@ -1 +1 @@
1
- {"version":3,"file":"is-timezone.decorator.js","sourceRoot":"","sources":["../../../src/decorators/string/is-timezone.decorator.ts"],"names":[],"mappings":";;;;;AAKA,gCAcC;AAnBD,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"}
1
+ {"version":3,"file":"is-timezone.decorator.js","sourceRoot":"","sources":["../../../src/decorators/string/is-timezone.decorator.ts"],"names":[],"mappings":";;;;;AAUA,gCAcC;AAxBD,qDAAqE;AACrE,sEAAqC;AAErC,uCAA+C;AAE/C;;;;GAIG;AACH,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"}
@@ -1,5 +1,6 @@
1
1
  import { type ValidationOptions } from "class-validator";
2
2
  import { IsURLOptions } from "validator";
3
+ /** Validation name constant for the IsUrl validator. */
3
4
  export declare const IS_URL = "isUrl";
4
5
  /**
5
6
  * Checks if the string is an url.
@@ -9,6 +9,7 @@ exports.IsUrl = IsUrl;
9
9
  const class_validator_1 = require("class-validator");
10
10
  const isURL_1 = __importDefault(require("validator/lib/isURL"));
11
11
  const utils_1 = require("../../utils");
12
+ /** Validation name constant for the IsUrl validator. */
12
13
  exports.IS_URL = "isUrl";
13
14
  /**
14
15
  * Checks if the string is an url.
@@ -1 +1 @@
1
- {"version":3,"file":"is-url.decorator.js","sourceRoot":"","sources":["../../../src/decorators/string/is-url.decorator.ts"],"names":[],"mappings":";;;;;;AAYA,sBAEC;AAMD,sBAgBC;AApCD,qDAAqE;AAErE,gEAAiD;AAEjD,uCAA+C;AAElC,QAAA,MAAM,GAAG,OAAO,CAAC;AAE9B;;;GAGG;AACH,SAAgB,KAAK,CAAC,KAAa,EAAE,OAAsB;IACzD,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,IAAA,eAAc,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;AACrE,CAAC;AAED;;;GAGG;AACH,SAAgB,KAAK,CACnB,OAAsB,EACtB,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"}
1
+ {"version":3,"file":"is-url.decorator.js","sourceRoot":"","sources":["../../../src/decorators/string/is-url.decorator.ts"],"names":[],"mappings":";;;;;;AAaA,sBAEC;AAMD,sBAgBC;AArCD,qDAAqE;AAErE,gEAAiD;AAEjD,uCAA+C;AAE/C,wDAAwD;AAC3C,QAAA,MAAM,GAAG,OAAO,CAAC;AAE9B;;;GAGG;AACH,SAAgB,KAAK,CAAC,KAAa,EAAE,OAAsB;IACzD,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,IAAA,eAAc,EAAC,KAAK,EAAE,OAAO,CAAC,CAAC;AACrE,CAAC;AAED;;;GAGG;AACH,SAAgB,KAAK,CACnB,OAAsB,EACtB,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"}
@@ -1,4 +1,5 @@
1
1
  import { type ValidationOptions } from "class-validator";
2
+ /** Validation name constant for the Length validator. */
2
3
  export declare const IS_LENGTH = "isLength";
3
4
  /**
4
5
  * Checks if the string's length falls in a range. Note: this function takes into account surrogate pairs.
@@ -9,6 +9,7 @@ exports.Length = Length;
9
9
  const class_validator_1 = require("class-validator");
10
10
  const isLength_1 = __importDefault(require("validator/lib/isLength"));
11
11
  const build_i18n_message_1 = require("../../utils/build-i18n-message");
12
+ /** Validation name constant for the Length validator. */
12
13
  exports.IS_LENGTH = "isLength";
13
14
  /**
14
15
  * Checks if the string's length falls in a range. Note: this function takes into account surrogate pairs.
@@ -1 +1 @@
1
- {"version":3,"file":"length.decorator.js","sourceRoot":"","sources":["../../../src/decorators/string/length.decorator.ts"],"names":[],"mappings":";;;;;;AAWA,wBAEC;AAMD,wBAmCC;AAtDD,qDAAqE;AACrE,sEAAuD;AAEvD,uEAAkE;AAErD,QAAA,SAAS,GAAG,UAAU,CAAC;AAEpC;;;GAGG;AACH,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;AAED;;;GAGG;AACH,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,CAAC;oBAChC,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,CAAC;wBACD,OAAO,YAAY,CAAC;oBACtB,CAAC;gBACH,CAAC;gBAED,OAAO,gBAAgB,CAAC;YAC1B,CAAC,CAAC;SACH;KACF,EACD,iBAAiB,CAClB,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"length.decorator.js","sourceRoot":"","sources":["../../../src/decorators/string/length.decorator.ts"],"names":[],"mappings":";;;;;;AAYA,wBAEC;AAMD,wBAmCC;AAvDD,qDAAqE;AACrE,sEAAuD;AAEvD,uEAAkE;AAElE,yDAAyD;AAC5C,QAAA,SAAS,GAAG,UAAU,CAAC;AAEpC;;;GAGG;AACH,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;AAED;;;GAGG;AACH,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,CAAC;oBAChC,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,CAAC;wBACD,OAAO,YAAY,CAAC;oBACtB,CAAC;gBACH,CAAC;gBAED,OAAO,gBAAgB,CAAC;YAC1B,CAAC,CAAC;SACH;KACF,EACD,iBAAiB,CAClB,CAAC;AACJ,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import { type ValidationOptions } from "class-validator";
2
+ /** Validation name constant for the IsDate validator. */
2
3
  export declare const IS_DATE = "isDate";
3
4
  /**
4
5
  * Checks if a given value is a date.
@@ -5,6 +5,7 @@ exports.isDate = isDate;
5
5
  exports.IsDate = IsDate;
6
6
  const class_validator_1 = require("class-validator");
7
7
  const utils_1 = require("../../utils");
8
+ /** Validation name constant for the IsDate validator. */
8
9
  exports.IS_DATE = "isDate";
9
10
  /**
10
11
  * Checks if a given value is a date.
@@ -1 +1 @@
1
- {"version":3,"file":"is-date.decorator.js","sourceRoot":"","sources":["../../../src/decorators/type-check/is-date.decorator.ts"],"names":[],"mappings":";;;AASA,wBAEC;AAKD,wBAaC;AA7BD,qDAAqE;AAErE,uCAA+C;AAElC,QAAA,OAAO,GAAG,QAAQ,CAAC;AAEhC;;GAEG;AACH,SAAgB,MAAM,CAAC,KAAc;IACnC,OAAO,KAAK,YAAY,IAAI,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;AACjE,CAAC;AAED;;GAEG;AACH,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"}
1
+ {"version":3,"file":"is-date.decorator.js","sourceRoot":"","sources":["../../../src/decorators/type-check/is-date.decorator.ts"],"names":[],"mappings":";;;AAUA,wBAEC;AAKD,wBAaC;AA9BD,qDAAqE;AAErE,uCAA+C;AAE/C,yDAAyD;AAC5C,QAAA,OAAO,GAAG,QAAQ,CAAC;AAEhC;;GAEG;AACH,SAAgB,MAAM,CAAC,KAAc;IACnC,OAAO,KAAK,YAAY,IAAI,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;AACjE,CAAC;AAED;;GAEG;AACH,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"}