@warlock.js/seal 4.1.7 → 4.1.10

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 (199) hide show
  1. package/cjs/index.cjs +92 -92
  2. package/cjs/index.cjs.map +1 -1
  3. package/esm/config.d.mts +1 -1
  4. package/esm/config.mjs +1 -1
  5. package/esm/factory/validate.d.mts +1 -1
  6. package/esm/factory/validate.mjs +1 -1
  7. package/esm/factory/validators.d.mts +1 -1
  8. package/esm/factory/validators.mjs +1 -1
  9. package/esm/helpers/date-helpers.d.mts +1 -1
  10. package/esm/helpers/date-helpers.mjs +1 -1
  11. package/esm/helpers/file.utils.d.mts +1 -1
  12. package/esm/helpers/file.utils.mjs +1 -1
  13. package/esm/helpers/get-field-value.d.mts +1 -1
  14. package/esm/helpers/get-field-value.mjs +1 -1
  15. package/esm/helpers/is-empty-value.mjs +1 -1
  16. package/esm/helpers/path-helpers.d.mts +1 -1
  17. package/esm/helpers/path-helpers.mjs +1 -1
  18. package/esm/helpers/validation-helpers.d.mts +1 -1
  19. package/esm/helpers/validation-helpers.mjs +1 -1
  20. package/esm/index.d.mts +5 -1
  21. package/esm/mutators/array-mutators.d.mts +1 -1
  22. package/esm/mutators/array-mutators.mjs +1 -1
  23. package/esm/mutators/date-mutators.d.mts +1 -1
  24. package/esm/mutators/date-mutators.mjs +1 -1
  25. package/esm/mutators/number-mutators.d.mts +1 -1
  26. package/esm/mutators/number-mutators.mjs +1 -1
  27. package/esm/mutators/object-mutators.d.mts +1 -1
  28. package/esm/mutators/object-mutators.mjs +1 -1
  29. package/esm/mutators/scalar-mutators.d.mts +1 -1
  30. package/esm/mutators/scalar-mutators.mjs +1 -1
  31. package/esm/mutators/string-mutators.d.mts +1 -1
  32. package/esm/mutators/string-mutators.mjs +1 -1
  33. package/esm/plugins/plugin-system.d.mts +1 -1
  34. package/esm/plugins/plugin-system.mjs +1 -1
  35. package/esm/rules/array/array-rules.d.mts +1 -1
  36. package/esm/rules/array/array-rules.mjs +1 -1
  37. package/esm/rules/color/color-rules.d.mts +1 -1
  38. package/esm/rules/color/color-rules.mjs +1 -1
  39. package/esm/rules/common/enum.d.mts +1 -1
  40. package/esm/rules/common/enum.mjs +1 -1
  41. package/esm/rules/common/equals-field-rules.d.mts +1 -1
  42. package/esm/rules/common/equals-field-rules.mjs +1 -1
  43. package/esm/rules/common/instanceof.d.mts +1 -1
  44. package/esm/rules/common/instanceof.mjs +1 -1
  45. package/esm/rules/common/literal.d.mts +1 -1
  46. package/esm/rules/common/literal.mjs +1 -1
  47. package/esm/rules/common/type-rules.d.mts +1 -1
  48. package/esm/rules/common/type-rules.mjs +1 -1
  49. package/esm/rules/common/unknown-key.d.mts +1 -1
  50. package/esm/rules/common/unknown-key.mjs +1 -1
  51. package/esm/rules/conditional/forbidden-if-rules.d.mts +1 -1
  52. package/esm/rules/conditional/forbidden-if-rules.mjs +1 -1
  53. package/esm/rules/conditional/present-if-rules.d.mts +1 -1
  54. package/esm/rules/conditional/present-if-rules.mjs +1 -1
  55. package/esm/rules/conditional/present-unless-rules.d.mts +1 -1
  56. package/esm/rules/conditional/present-unless-rules.mjs +1 -1
  57. package/esm/rules/conditional/present-with-rules.d.mts +1 -1
  58. package/esm/rules/conditional/present-with-rules.mjs +1 -1
  59. package/esm/rules/conditional/present-without-rules.d.mts +1 -1
  60. package/esm/rules/conditional/present-without-rules.mjs +1 -1
  61. package/esm/rules/conditional/required-if-rules.d.mts +1 -1
  62. package/esm/rules/conditional/required-if-rules.mjs +1 -1
  63. package/esm/rules/conditional/required-unless-rules.d.mts +1 -1
  64. package/esm/rules/conditional/required-unless-rules.mjs +1 -1
  65. package/esm/rules/conditional/required-when-rule.d.mts +1 -1
  66. package/esm/rules/conditional/required-when-rule.mjs +1 -1
  67. package/esm/rules/conditional/required-with-rules.d.mts +1 -1
  68. package/esm/rules/conditional/required-with-rules.mjs +1 -1
  69. package/esm/rules/conditional/required-without-rules.d.mts +1 -1
  70. package/esm/rules/conditional/required-without-rules.mjs +1 -1
  71. package/esm/rules/core/equal.d.mts +1 -1
  72. package/esm/rules/core/equal.mjs +1 -1
  73. package/esm/rules/core/forbidden.d.mts +1 -1
  74. package/esm/rules/core/forbidden.mjs +1 -1
  75. package/esm/rules/core/required.d.mts +1 -1
  76. package/esm/rules/core/required.mjs +1 -1
  77. package/esm/rules/core/union.d.mts +1 -1
  78. package/esm/rules/core/union.mjs +1 -1
  79. package/esm/rules/core/when.d.mts +1 -1
  80. package/esm/rules/core/when.mjs +1 -1
  81. package/esm/rules/date/date-comparison-rules.d.mts +1 -1
  82. package/esm/rules/date/date-comparison-rules.mjs +1 -1
  83. package/esm/rules/date/date-day-rules.d.mts +1 -1
  84. package/esm/rules/date/date-day-rules.mjs +1 -1
  85. package/esm/rules/date/date-field-comparison-rules.d.mts +1 -1
  86. package/esm/rules/date/date-field-comparison-rules.mjs +1 -1
  87. package/esm/rules/date/date-period-rules.d.mts +1 -1
  88. package/esm/rules/date/date-period-rules.mjs +1 -1
  89. package/esm/rules/date/date-relative-rules.d.mts +1 -1
  90. package/esm/rules/date/date-relative-rules.mjs +1 -1
  91. package/esm/rules/date/date-special-rules.d.mts +1 -1
  92. package/esm/rules/date/date-special-rules.mjs +1 -1
  93. package/esm/rules/date/date.d.mts +1 -1
  94. package/esm/rules/date/date.mjs +1 -1
  95. package/esm/rules/file/dimensions.d.mts +1 -1
  96. package/esm/rules/file/dimensions.mjs +1 -1
  97. package/esm/rules/file/file-size.d.mts +1 -1
  98. package/esm/rules/file/file-size.mjs +1 -1
  99. package/esm/rules/length/length-rules.d.mts +1 -1
  100. package/esm/rules/length/length-rules.mjs +1 -1
  101. package/esm/rules/number/number-rules.d.mts +1 -1
  102. package/esm/rules/number/number-rules.mjs +1 -1
  103. package/esm/rules/scalar/accepted-rule.mjs +1 -1
  104. package/esm/rules/scalar/declined-rule.mjs +1 -1
  105. package/esm/rules/string/alpha.d.mts +1 -1
  106. package/esm/rules/string/alpha.mjs +1 -1
  107. package/esm/rules/string/credit-card.d.mts +1 -1
  108. package/esm/rules/string/credit-card.mjs +1 -1
  109. package/esm/rules/string/email.d.mts +1 -1
  110. package/esm/rules/string/email.mjs +1 -1
  111. package/esm/rules/string/id-formats.d.mts +1 -1
  112. package/esm/rules/string/id-formats.mjs +1 -1
  113. package/esm/rules/string/ip.d.mts +1 -1
  114. package/esm/rules/string/ip.mjs +1 -1
  115. package/esm/rules/string/matches.d.mts +1 -1
  116. package/esm/rules/string/matches.mjs +1 -1
  117. package/esm/rules/string/pattern.d.mts +1 -1
  118. package/esm/rules/string/pattern.mjs +1 -1
  119. package/esm/rules/string/string-comparison.d.mts +1 -1
  120. package/esm/rules/string/string-comparison.mjs +1 -1
  121. package/esm/rules/string/strong-password-rule.d.mts +1 -1
  122. package/esm/rules/string/strong-password-rule.mjs +1 -1
  123. package/esm/rules/string/url.d.mts +1 -1
  124. package/esm/rules/string/url.mjs +1 -1
  125. package/esm/rules/string/without-whitespace.d.mts +1 -1
  126. package/esm/rules/string/without-whitespace.mjs +1 -1
  127. package/esm/standard-schema/json-schema.d.mts +1 -1
  128. package/esm/standard-schema/json-schema.mjs +1 -1
  129. package/esm/standard-schema/map-result.d.mts +1 -1
  130. package/esm/standard-schema/map-result.mjs +1 -1
  131. package/esm/standard-schema/types.d.mts +1 -1
  132. package/esm/types/conditional-types.d.mts +1 -1
  133. package/esm/types/context-types.d.mts +1 -1
  134. package/esm/types/data-transformer-types.d.mts +1 -1
  135. package/esm/types/date-types.d.mts +1 -1
  136. package/esm/types/date-types.mjs +1 -1
  137. package/esm/types/file.types.d.mts +1 -1
  138. package/esm/types/inference-types.d.mts +1 -1
  139. package/esm/types/mutator-types.d.mts +1 -1
  140. package/esm/types/result-types.d.mts +1 -1
  141. package/esm/types/rule-types.d.mts +1 -1
  142. package/esm/types/schema-types.d.mts +1 -1
  143. package/esm/validators/any-validator.d.mts +1 -1
  144. package/esm/validators/any-validator.mjs +1 -1
  145. package/esm/validators/array-validator.d.mts +1 -1
  146. package/esm/validators/array-validator.mjs +1 -1
  147. package/esm/validators/base-validator.d.mts +1 -1
  148. package/esm/validators/base-validator.mjs +1 -1
  149. package/esm/validators/boolean-validator.d.mts +1 -1
  150. package/esm/validators/boolean-validator.mjs +1 -1
  151. package/esm/validators/computed-validator.d.mts +1 -1
  152. package/esm/validators/computed-validator.mjs +1 -1
  153. package/esm/validators/date-validator.d.mts +1 -1
  154. package/esm/validators/date-validator.mjs +1 -1
  155. package/esm/validators/discriminated-union-validator.d.mts +1 -1
  156. package/esm/validators/discriminated-union-validator.mjs +1 -1
  157. package/esm/validators/float-validator.d.mts +1 -1
  158. package/esm/validators/float-validator.mjs +1 -1
  159. package/esm/validators/instanceof-validator.d.mts +1 -1
  160. package/esm/validators/instanceof-validator.mjs +1 -1
  161. package/esm/validators/int-validator.d.mts +1 -1
  162. package/esm/validators/int-validator.mjs +1 -1
  163. package/esm/validators/lazy-validator.d.mts +1 -1
  164. package/esm/validators/lazy-validator.mjs +1 -1
  165. package/esm/validators/literal-validator.d.mts +1 -1
  166. package/esm/validators/literal-validator.mjs +1 -1
  167. package/esm/validators/managed-validator.d.mts +1 -1
  168. package/esm/validators/managed-validator.mjs +1 -1
  169. package/esm/validators/methods/equality-conditional-methods.d.mts +2 -2
  170. package/esm/validators/methods/equality-conditional-methods.mjs +1 -1
  171. package/esm/validators/methods/equality-conditional-methods.mjs.map +1 -1
  172. package/esm/validators/methods/forbidden-methods.d.mts +2 -2
  173. package/esm/validators/methods/forbidden-methods.mjs +1 -1
  174. package/esm/validators/methods/forbidden-methods.mjs.map +1 -1
  175. package/esm/validators/methods/present-methods.d.mts +2 -2
  176. package/esm/validators/methods/present-methods.mjs +1 -1
  177. package/esm/validators/methods/present-methods.mjs.map +1 -1
  178. package/esm/validators/methods/required-methods.d.mts +2 -2
  179. package/esm/validators/methods/required-methods.mjs +1 -1
  180. package/esm/validators/methods/required-methods.mjs.map +1 -1
  181. package/esm/validators/number-validator.d.mts +1 -1
  182. package/esm/validators/number-validator.mjs +1 -1
  183. package/esm/validators/numeric-validator.d.mts +1 -1
  184. package/esm/validators/numeric-validator.mjs +1 -1
  185. package/esm/validators/object-validator.d.mts +1 -1
  186. package/esm/validators/object-validator.mjs +1 -1
  187. package/esm/validators/primitive-validator.d.mts +1 -1
  188. package/esm/validators/primitive-validator.mjs +1 -1
  189. package/esm/validators/record-validator.d.mts +1 -1
  190. package/esm/validators/record-validator.mjs +1 -1
  191. package/esm/validators/scalar-validator.d.mts +1 -1
  192. package/esm/validators/scalar-validator.mjs +1 -1
  193. package/esm/validators/string-validator.d.mts +1 -1
  194. package/esm/validators/string-validator.mjs +1 -1
  195. package/esm/validators/tuple-validator.d.mts +1 -1
  196. package/esm/validators/tuple-validator.mjs +1 -1
  197. package/esm/validators/union-validator.d.mts +1 -1
  198. package/esm/validators/union-validator.mjs +1 -1
  199. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import { SchemaRule } from "../../types/rule-types.mjs";
2
2
  import { SchemaContext } from "../../types/context-types.mjs";
3
3
 
4
- //#region ../../@warlock.js/seal/src/rules/conditional/required-when-rule.d.ts
4
+ //#region ../@warlock.js/seal/src/rules/conditional/required-when-rule.d.ts
5
5
  /**
6
6
  * Required when callback returns true.
7
7
  *
@@ -2,7 +2,7 @@ import { VALID_RULE, invalidRule } from "../../helpers/validation-helpers.mjs";
2
2
  import "../../helpers/index.mjs";
3
3
  import { isEmptyValue } from "../../helpers/is-empty-value.mjs";
4
4
 
5
- //#region ../../@warlock.js/seal/src/rules/conditional/required-when-rule.ts
5
+ //#region ../@warlock.js/seal/src/rules/conditional/required-when-rule.ts
6
6
  /**
7
7
  * Required when callback returns true.
8
8
  *
@@ -1,6 +1,6 @@
1
1
  import { SchemaRule } from "../../types/rule-types.mjs";
2
2
 
3
- //#region ../../@warlock.js/seal/src/rules/conditional/required-with-rules.d.ts
3
+ //#region ../@warlock.js/seal/src/rules/conditional/required-with-rules.d.ts
4
4
  /**
5
5
  * Required with rule - field is required if another field is present
6
6
  * Supports both global and sibling scope
@@ -4,7 +4,7 @@ import "../../helpers/index.mjs";
4
4
  import { isEmptyValue } from "../../helpers/is-empty-value.mjs";
5
5
  import { get } from "@mongez/reinforcements";
6
6
 
7
- //#region ../../@warlock.js/seal/src/rules/conditional/required-with-rules.ts
7
+ //#region ../@warlock.js/seal/src/rules/conditional/required-with-rules.ts
8
8
  /**
9
9
  * Required with rule - field is required if another field is present
10
10
  * Supports both global and sibling scope
@@ -1,6 +1,6 @@
1
1
  import { SchemaRule } from "../../types/rule-types.mjs";
2
2
 
3
- //#region ../../@warlock.js/seal/src/rules/conditional/required-without-rules.d.ts
3
+ //#region ../@warlock.js/seal/src/rules/conditional/required-without-rules.d.ts
4
4
  /**
5
5
  * Required without rule - field is required if another field is missing
6
6
  * Supports both global and sibling scope
@@ -4,7 +4,7 @@ import "../../helpers/index.mjs";
4
4
  import { isEmptyValue } from "../../helpers/is-empty-value.mjs";
5
5
  import { get } from "@mongez/reinforcements";
6
6
 
7
- //#region ../../@warlock.js/seal/src/rules/conditional/required-without-rules.ts
7
+ //#region ../@warlock.js/seal/src/rules/conditional/required-without-rules.ts
8
8
  /**
9
9
  * Required without rule - field is required if another field is missing
10
10
  * Supports both global and sibling scope
@@ -1,6 +1,6 @@
1
1
  import { SchemaRule } from "../../types/rule-types.mjs";
2
2
 
3
- //#region ../../@warlock.js/seal/src/rules/core/equal.d.ts
3
+ //#region ../@warlock.js/seal/src/rules/core/equal.d.ts
4
4
  /**
5
5
  * Equal rule - value must be equal to a specific value
6
6
  */
@@ -1,7 +1,7 @@
1
1
  import { VALID_RULE, invalidRule } from "../../helpers/validation-helpers.mjs";
2
2
  import "../../helpers/index.mjs";
3
3
 
4
- //#region ../../@warlock.js/seal/src/rules/core/equal.ts
4
+ //#region ../@warlock.js/seal/src/rules/core/equal.ts
5
5
  /**
6
6
  * Equal rule - value must be equal to a specific value
7
7
  */
@@ -1,6 +1,6 @@
1
1
  import { SchemaRule } from "../../types/rule-types.mjs";
2
2
 
3
- //#region ../../@warlock.js/seal/src/rules/core/forbidden.d.ts
3
+ //#region ../@warlock.js/seal/src/rules/core/forbidden.d.ts
4
4
  /**
5
5
  * Forbidden rule - value must not be present
6
6
  */
@@ -2,7 +2,7 @@ import { VALID_RULE, invalidRule } from "../../helpers/validation-helpers.mjs";
2
2
  import "../../helpers/index.mjs";
3
3
  import { isEmptyValue } from "../../helpers/is-empty-value.mjs";
4
4
 
5
- //#region ../../@warlock.js/seal/src/rules/core/forbidden.ts
5
+ //#region ../@warlock.js/seal/src/rules/core/forbidden.ts
6
6
  /**
7
7
  * Forbidden rule - value must not be present
8
8
  */
@@ -1,6 +1,6 @@
1
1
  import { SchemaRule } from "../../types/rule-types.mjs";
2
2
 
3
- //#region ../../@warlock.js/seal/src/rules/core/required.d.ts
3
+ //#region ../@warlock.js/seal/src/rules/core/required.d.ts
4
4
  /**
5
5
  * Required rule - value must be present and not empty
6
6
  */
@@ -2,7 +2,7 @@ import { VALID_RULE, invalidRule } from "../../helpers/validation-helpers.mjs";
2
2
  import "../../helpers/index.mjs";
3
3
  import { isEmptyValue } from "../../helpers/is-empty-value.mjs";
4
4
 
5
- //#region ../../@warlock.js/seal/src/rules/core/required.ts
5
+ //#region ../@warlock.js/seal/src/rules/core/required.ts
6
6
  /**
7
7
  * Required rule - value must be present and not empty
8
8
  */
@@ -1,7 +1,7 @@
1
1
  import { SchemaRule } from "../../types/rule-types.mjs";
2
2
  import { BaseValidator } from "../../validators/base-validator.mjs";
3
3
 
4
- //#region ../../@warlock.js/seal/src/rules/core/union.d.ts
4
+ //#region ../@warlock.js/seal/src/rules/core/union.d.ts
5
5
  /**
6
6
  * Union rule - value must match at least one of the provided validators
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { VALID_RULE, invalidRule } from "../../helpers/validation-helpers.mjs";
2
2
  import "../../helpers/index.mjs";
3
3
 
4
- //#region ../../@warlock.js/seal/src/rules/core/union.ts
4
+ //#region ../@warlock.js/seal/src/rules/core/union.ts
5
5
  /**
6
6
  * Union rule - value must match at least one of the provided validators
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { SchemaRule } from "../../types/rule-types.mjs";
2
2
  import { WhenRuleOptions } from "../../types/conditional-types.mjs";
3
3
 
4
- //#region ../../@warlock.js/seal/src/rules/core/when.d.ts
4
+ //#region ../@warlock.js/seal/src/rules/core/when.d.ts
5
5
  /**
6
6
  * When rule - conditional validation based on another field value
7
7
  */
@@ -2,7 +2,7 @@ import { VALID_RULE, invalidRule } from "../../helpers/validation-helpers.mjs";
2
2
  import "../../helpers/index.mjs";
3
3
  import { get } from "@mongez/reinforcements";
4
4
 
5
- //#region ../../@warlock.js/seal/src/rules/core/when.ts
5
+ //#region ../@warlock.js/seal/src/rules/core/when.ts
6
6
  /**
7
7
  * When rule - conditional validation based on another field value
8
8
  */
@@ -1,6 +1,6 @@
1
1
  import { SchemaRule } from "../../types/rule-types.mjs";
2
2
 
3
- //#region ../../@warlock.js/seal/src/rules/date/date-comparison-rules.d.ts
3
+ //#region ../@warlock.js/seal/src/rules/date/date-comparison-rules.d.ts
4
4
  /**
5
5
  * Between dates rule - date must be between start and end dates
6
6
  */
@@ -1,7 +1,7 @@
1
1
  import { VALID_RULE, invalidRule } from "../../helpers/validation-helpers.mjs";
2
2
  import "../../helpers/index.mjs";
3
3
 
4
- //#region ../../@warlock.js/seal/src/rules/date/date-comparison-rules.ts
4
+ //#region ../@warlock.js/seal/src/rules/date/date-comparison-rules.ts
5
5
  /**
6
6
  * Between dates rule - date must be between start and end dates
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { SchemaRule } from "../../types/rule-types.mjs";
2
2
  import { WeekDay } from "../../types/date-types.mjs";
3
3
 
4
- //#region ../../@warlock.js/seal/src/rules/date/date-day-rules.d.ts
4
+ //#region ../@warlock.js/seal/src/rules/date/date-day-rules.d.ts
5
5
  /**
6
6
  * Weekend rule - date must be Saturday or Sunday
7
7
  */
@@ -2,7 +2,7 @@ import { VALID_RULE, invalidRule } from "../../helpers/validation-helpers.mjs";
2
2
  import "../../helpers/index.mjs";
3
3
  import { WEEK_DAYS } from "../../types/date-types.mjs";
4
4
 
5
- //#region ../../@warlock.js/seal/src/rules/date/date-day-rules.ts
5
+ //#region ../@warlock.js/seal/src/rules/date/date-day-rules.ts
6
6
  /**
7
7
  * Weekend rule - date must be Saturday or Sunday
8
8
  */
@@ -1,6 +1,6 @@
1
1
  import { SchemaRule } from "../../types/rule-types.mjs";
2
2
 
3
- //#region ../../@warlock.js/seal/src/rules/date/date-field-comparison-rules.d.ts
3
+ //#region ../@warlock.js/seal/src/rules/date/date-field-comparison-rules.d.ts
4
4
  /**
5
5
  * Before field rule - date must be < given date or field
6
6
  * Smart detection: date value or field name
@@ -3,7 +3,7 @@ import { VALID_RULE, invalidRule } from "../../helpers/validation-helpers.mjs";
3
3
  import "../../helpers/index.mjs";
4
4
  import { get } from "@mongez/reinforcements";
5
5
 
6
- //#region ../../@warlock.js/seal/src/rules/date/date-field-comparison-rules.ts
6
+ //#region ../@warlock.js/seal/src/rules/date/date-field-comparison-rules.ts
7
7
  /**
8
8
  * Before field rule - date must be < given date or field
9
9
  * Smart detection: date value or field name
@@ -1,6 +1,6 @@
1
1
  import { SchemaRule } from "../../types/rule-types.mjs";
2
2
 
3
- //#region ../../@warlock.js/seal/src/rules/date/date-period-rules.d.ts
3
+ //#region ../@warlock.js/seal/src/rules/date/date-period-rules.d.ts
4
4
  declare const MONTHS: {
5
5
  1: string;
6
6
  2: string;
@@ -2,7 +2,7 @@ import { VALID_RULE, invalidRule } from "../../helpers/validation-helpers.mjs";
2
2
  import "../../helpers/index.mjs";
3
3
  import { get } from "@mongez/reinforcements";
4
4
 
5
- //#region ../../@warlock.js/seal/src/rules/date/date-period-rules.ts
5
+ //#region ../@warlock.js/seal/src/rules/date/date-period-rules.ts
6
6
  const MONTHS = {
7
7
  1: "january",
8
8
  2: "february",
@@ -1,6 +1,6 @@
1
1
  import { SchemaRule } from "../../types/rule-types.mjs";
2
2
 
3
- //#region ../../@warlock.js/seal/src/rules/date/date-relative-rules.d.ts
3
+ //#region ../@warlock.js/seal/src/rules/date/date-relative-rules.d.ts
4
4
  /**
5
5
  * Within days rule - date must be within X days from now (past or future)
6
6
  */
@@ -1,7 +1,7 @@
1
1
  import { VALID_RULE, invalidRule } from "../../helpers/validation-helpers.mjs";
2
2
  import "../../helpers/index.mjs";
3
3
 
4
- //#region ../../@warlock.js/seal/src/rules/date/date-relative-rules.ts
4
+ //#region ../@warlock.js/seal/src/rules/date/date-relative-rules.ts
5
5
  /**
6
6
  * Within days rule - date must be within X days from now (past or future)
7
7
  */
@@ -1,6 +1,6 @@
1
1
  import { SchemaRule } from "../../types/rule-types.mjs";
2
2
 
3
- //#region ../../@warlock.js/seal/src/rules/date/date-special-rules.d.ts
3
+ //#region ../@warlock.js/seal/src/rules/date/date-special-rules.d.ts
4
4
  /**
5
5
  * Birthday rule - valid birthday (not in future, reasonable age)
6
6
  */
@@ -1,7 +1,7 @@
1
1
  import { VALID_RULE, invalidRule } from "../../helpers/validation-helpers.mjs";
2
2
  import "../../helpers/index.mjs";
3
3
 
4
- //#region ../../@warlock.js/seal/src/rules/date/date-special-rules.ts
4
+ //#region ../@warlock.js/seal/src/rules/date/date-special-rules.ts
5
5
  /**
6
6
  * Birthday rule - valid birthday (not in future, reasonable age)
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { SchemaRule } from "../../types/rule-types.mjs";
2
2
  import { WeekDay } from "../../types/date-types.mjs";
3
3
 
4
- //#region ../../@warlock.js/seal/src/rules/date/date.d.ts
4
+ //#region ../@warlock.js/seal/src/rules/date/date.d.ts
5
5
  /**
6
6
  * Date rule - validates date format
7
7
  */
@@ -4,7 +4,7 @@ import "../../helpers/index.mjs";
4
4
  import { WEEK_DAYS } from "../../types/date-types.mjs";
5
5
  import { get } from "@mongez/reinforcements";
6
6
 
7
- //#region ../../@warlock.js/seal/src/rules/date/date.ts
7
+ //#region ../@warlock.js/seal/src/rules/date/date.ts
8
8
  /**
9
9
  * Date rule - validates date format
10
10
  */
@@ -1,6 +1,6 @@
1
1
  import { SchemaRule } from "../../types/rule-types.mjs";
2
2
 
3
- //#region ../../@warlock.js/seal/src/rules/file/dimensions.d.ts
3
+ //#region ../@warlock.js/seal/src/rules/file/dimensions.d.ts
4
4
  /**
5
5
  * Min width rule - image width validation
6
6
  */
@@ -1,7 +1,7 @@
1
1
  import { VALID_RULE, invalidRule } from "../../helpers/validation-helpers.mjs";
2
2
  import "../../helpers/index.mjs";
3
3
 
4
- //#region ../../@warlock.js/seal/src/rules/file/dimensions.ts
4
+ //#region ../@warlock.js/seal/src/rules/file/dimensions.ts
5
5
  /**
6
6
  * Min width rule - image width validation
7
7
  */
@@ -1,6 +1,6 @@
1
1
  import { SchemaRule } from "../../types/rule-types.mjs";
2
2
 
3
- //#region ../../@warlock.js/seal/src/rules/file/file-size.d.ts
3
+ //#region ../@warlock.js/seal/src/rules/file/file-size.d.ts
4
4
  /**
5
5
  * Max file size rule
6
6
  */
@@ -2,7 +2,7 @@ import { humanizeSize } from "../../helpers/file.utils.mjs";
2
2
  import { VALID_RULE, invalidRule } from "../../helpers/validation-helpers.mjs";
3
3
  import "../../helpers/index.mjs";
4
4
 
5
- //#region ../../@warlock.js/seal/src/rules/file/file-size.ts
5
+ //#region ../@warlock.js/seal/src/rules/file/file-size.ts
6
6
  /**
7
7
  * Max file size rule
8
8
  */
@@ -1,6 +1,6 @@
1
1
  import { SchemaRule } from "../../types/rule-types.mjs";
2
2
 
3
- //#region ../../@warlock.js/seal/src/rules/length/length-rules.d.ts
3
+ //#region ../@warlock.js/seal/src/rules/length/length-rules.d.ts
4
4
  /**
5
5
  * Min length rule - validates minimum length
6
6
  * Works for any value with a length property (strings, arrays, etc.)
@@ -1,7 +1,7 @@
1
1
  import { VALID_RULE, invalidRule } from "../../helpers/validation-helpers.mjs";
2
2
  import "../../helpers/index.mjs";
3
3
 
4
- //#region ../../@warlock.js/seal/src/rules/length/length-rules.ts
4
+ //#region ../@warlock.js/seal/src/rules/length/length-rules.ts
5
5
  /**
6
6
  * Min length rule - validates minimum length
7
7
  * Works for any value with a length property (strings, arrays, etc.)
@@ -1,6 +1,6 @@
1
1
  import { SchemaRule } from "../../types/rule-types.mjs";
2
2
 
3
- //#region ../../@warlock.js/seal/src/rules/number/number-rules.d.ts
3
+ //#region ../@warlock.js/seal/src/rules/number/number-rules.d.ts
4
4
  /**
5
5
  * Min rule - value must be equal or greater than minimum
6
6
  * Supports field names with sibling scope
@@ -2,7 +2,7 @@ import { VALID_RULE, invalidRule } from "../../helpers/validation-helpers.mjs";
2
2
  import "../../helpers/index.mjs";
3
3
  import { get } from "@mongez/reinforcements";
4
4
 
5
- //#region ../../@warlock.js/seal/src/rules/number/number-rules.ts
5
+ //#region ../@warlock.js/seal/src/rules/number/number-rules.ts
6
6
  /**
7
7
  * Min rule - value must be equal or greater than minimum
8
8
  * Supports field names with sibling scope
@@ -3,7 +3,7 @@ import { VALID_RULE, invalidRule } from "../../helpers/validation-helpers.mjs";
3
3
  import "../../helpers/index.mjs";
4
4
  import { isEmptyValue } from "../../helpers/is-empty-value.mjs";
5
5
 
6
- //#region ../../@warlock.js/seal/src/rules/scalar/accepted-rule.ts
6
+ //#region ../@warlock.js/seal/src/rules/scalar/accepted-rule.ts
7
7
  const isAcceptedValue = (value) => {
8
8
  return [
9
9
  "1",
@@ -3,7 +3,7 @@ import { VALID_RULE, invalidRule } from "../../helpers/validation-helpers.mjs";
3
3
  import "../../helpers/index.mjs";
4
4
  import { isEmptyValue } from "../../helpers/is-empty-value.mjs";
5
5
 
6
- //#region ../../@warlock.js/seal/src/rules/scalar/declined-rule.ts
6
+ //#region ../@warlock.js/seal/src/rules/scalar/declined-rule.ts
7
7
  const isDeclinedValue = (value) => {
8
8
  return [
9
9
  "0",
@@ -1,6 +1,6 @@
1
1
  import { SchemaRule } from "../../types/rule-types.mjs";
2
2
 
3
- //#region ../../@warlock.js/seal/src/rules/string/alpha.d.ts
3
+ //#region ../@warlock.js/seal/src/rules/string/alpha.d.ts
4
4
  /**
5
5
  * Alpha rule - allows only alphabetic characters
6
6
  */
@@ -1,7 +1,7 @@
1
1
  import { VALID_RULE, invalidRule } from "../../helpers/validation-helpers.mjs";
2
2
  import "../../helpers/index.mjs";
3
3
 
4
- //#region ../../@warlock.js/seal/src/rules/string/alpha.ts
4
+ //#region ../@warlock.js/seal/src/rules/string/alpha.ts
5
5
  /**
6
6
  * Alpha rule - allows only alphabetic characters
7
7
  */
@@ -1,6 +1,6 @@
1
1
  import { SchemaRule } from "../../types/rule-types.mjs";
2
2
 
3
- //#region ../../@warlock.js/seal/src/rules/string/credit-card.d.ts
3
+ //#region ../@warlock.js/seal/src/rules/string/credit-card.d.ts
4
4
  /**
5
5
  * Credit card rule - validates credit card number
6
6
  */
@@ -1,7 +1,7 @@
1
1
  import { VALID_RULE, invalidRule } from "../../helpers/validation-helpers.mjs";
2
2
  import "../../helpers/index.mjs";
3
3
 
4
- //#region ../../@warlock.js/seal/src/rules/string/credit-card.ts
4
+ //#region ../@warlock.js/seal/src/rules/string/credit-card.ts
5
5
  /**
6
6
  * Credit card rule - validates credit card number
7
7
  */
@@ -1,6 +1,6 @@
1
1
  import { SchemaRule } from "../../types/rule-types.mjs";
2
2
 
3
- //#region ../../@warlock.js/seal/src/rules/string/email.d.ts
3
+ //#region ../@warlock.js/seal/src/rules/string/email.d.ts
4
4
  /**
5
5
  * Email rule - validates email format
6
6
  */
@@ -2,7 +2,7 @@ import { VALID_RULE, invalidRule } from "../../helpers/validation-helpers.mjs";
2
2
  import "../../helpers/index.mjs";
3
3
  import { isEmail } from "@mongez/supportive-is";
4
4
 
5
- //#region ../../@warlock.js/seal/src/rules/string/email.ts
5
+ //#region ../@warlock.js/seal/src/rules/string/email.ts
6
6
  /**
7
7
  * Email rule - validates email format
8
8
  */
@@ -1,6 +1,6 @@
1
1
  import { SchemaRule } from "../../types/rule-types.mjs";
2
2
 
3
- //#region ../../@warlock.js/seal/src/rules/string/id-formats.d.ts
3
+ //#region ../@warlock.js/seal/src/rules/string/id-formats.d.ts
4
4
  type UUIDVersion = 1 | 3 | 4 | 5 | 6 | 7;
5
5
  /**
6
6
  * UUID rule — value must be a valid UUID. Optionally restrict to a specific version.
@@ -1,7 +1,7 @@
1
1
  import { VALID_RULE, invalidRule } from "../../helpers/validation-helpers.mjs";
2
2
  import "../../helpers/index.mjs";
3
3
 
4
- //#region ../../@warlock.js/seal/src/rules/string/id-formats.ts
4
+ //#region ../@warlock.js/seal/src/rules/string/id-formats.ts
5
5
  /**
6
6
  * Modern ID format validators — UUID, CUID, ULID, nanoid.
7
7
  *
@@ -1,6 +1,6 @@
1
1
  import { SchemaRule } from "../../types/rule-types.mjs";
2
2
 
3
- //#region ../../@warlock.js/seal/src/rules/string/ip.d.ts
3
+ //#region ../@warlock.js/seal/src/rules/string/ip.d.ts
4
4
  /**
5
5
  * IP rule - validates IP address (v4 or v6)
6
6
  */
@@ -2,7 +2,7 @@ import { VALID_RULE, invalidRule } from "../../helpers/validation-helpers.mjs";
2
2
  import "../../helpers/index.mjs";
3
3
  import { isIP } from "net";
4
4
 
5
- //#region ../../@warlock.js/seal/src/rules/string/ip.ts
5
+ //#region ../@warlock.js/seal/src/rules/string/ip.ts
6
6
  /**
7
7
  * IP rule - validates IP address (v4 or v6)
8
8
  */
@@ -1,6 +1,6 @@
1
1
  import { SchemaRule } from "../../types/rule-types.mjs";
2
2
 
3
- //#region ../../@warlock.js/seal/src/rules/string/matches.d.ts
3
+ //#region ../@warlock.js/seal/src/rules/string/matches.d.ts
4
4
  /**
5
5
  * Matches rule - value must match another field value
6
6
  */
@@ -2,7 +2,7 @@ import { VALID_RULE, invalidRule } from "../../helpers/validation-helpers.mjs";
2
2
  import "../../helpers/index.mjs";
3
3
  import { get } from "@mongez/reinforcements";
4
4
 
5
- //#region ../../@warlock.js/seal/src/rules/string/matches.ts
5
+ //#region ../@warlock.js/seal/src/rules/string/matches.ts
6
6
  /**
7
7
  * Matches rule - value must match another field value
8
8
  */
@@ -1,6 +1,6 @@
1
1
  import { SchemaRule } from "../../types/rule-types.mjs";
2
2
 
3
- //#region ../../@warlock.js/seal/src/rules/string/pattern.d.ts
3
+ //#region ../@warlock.js/seal/src/rules/string/pattern.d.ts
4
4
  /**
5
5
  * Pattern rule - validates against regex pattern
6
6
  */
@@ -1,7 +1,7 @@
1
1
  import { VALID_RULE, invalidRule } from "../../helpers/validation-helpers.mjs";
2
2
  import "../../helpers/index.mjs";
3
3
 
4
- //#region ../../@warlock.js/seal/src/rules/string/pattern.ts
4
+ //#region ../@warlock.js/seal/src/rules/string/pattern.ts
5
5
  /**
6
6
  * Pattern rule - validates against regex pattern
7
7
  */
@@ -1,6 +1,6 @@
1
1
  import { SchemaRule } from "../../types/rule-types.mjs";
2
2
 
3
- //#region ../../@warlock.js/seal/src/rules/string/string-comparison.d.ts
3
+ //#region ../@warlock.js/seal/src/rules/string/string-comparison.d.ts
4
4
  /**
5
5
  * Starts with rule
6
6
  */
@@ -1,7 +1,7 @@
1
1
  import { VALID_RULE, invalidRule } from "../../helpers/validation-helpers.mjs";
2
2
  import "../../helpers/index.mjs";
3
3
 
4
- //#region ../../@warlock.js/seal/src/rules/string/string-comparison.ts
4
+ //#region ../@warlock.js/seal/src/rules/string/string-comparison.ts
5
5
  /**
6
6
  * Starts with rule
7
7
  */
@@ -1,6 +1,6 @@
1
1
  import { SchemaRule } from "../../types/rule-types.mjs";
2
2
 
3
- //#region ../../@warlock.js/seal/src/rules/string/strong-password-rule.d.ts
3
+ //#region ../@warlock.js/seal/src/rules/string/strong-password-rule.d.ts
4
4
  /**
5
5
  * Strong Password rule - validates password strength
6
6
  * Requirements:
@@ -1,7 +1,7 @@
1
1
  import { VALID_RULE, invalidRule } from "../../helpers/validation-helpers.mjs";
2
2
  import "../../helpers/index.mjs";
3
3
 
4
- //#region ../../@warlock.js/seal/src/rules/string/strong-password-rule.ts
4
+ //#region ../@warlock.js/seal/src/rules/string/strong-password-rule.ts
5
5
  /**
6
6
  * Strong Password rule - validates password strength
7
7
  * Requirements:
@@ -1,6 +1,6 @@
1
1
  import { SchemaRule } from "../../types/rule-types.mjs";
2
2
 
3
- //#region ../../@warlock.js/seal/src/rules/string/url.d.ts
3
+ //#region ../@warlock.js/seal/src/rules/string/url.d.ts
4
4
  /**
5
5
  * URL rule - validates URL format
6
6
  */
@@ -1,7 +1,7 @@
1
1
  import { VALID_RULE, invalidRule } from "../../helpers/validation-helpers.mjs";
2
2
  import "../../helpers/index.mjs";
3
3
 
4
- //#region ../../@warlock.js/seal/src/rules/string/url.ts
4
+ //#region ../@warlock.js/seal/src/rules/string/url.ts
5
5
  /**
6
6
  * URL rule - validates URL format
7
7
  */
@@ -1,6 +1,6 @@
1
1
  import { SchemaRule } from "../../types/rule-types.mjs";
2
2
 
3
- //#region ../../@warlock.js/seal/src/rules/string/without-whitespace.d.ts
3
+ //#region ../@warlock.js/seal/src/rules/string/without-whitespace.d.ts
4
4
  /**
5
5
  * Without whitespace rule - value must not contain whitespace
6
6
  */
@@ -1,7 +1,7 @@
1
1
  import { VALID_RULE, invalidRule } from "../../helpers/validation-helpers.mjs";
2
2
  import "../../helpers/index.mjs";
3
3
 
4
- //#region ../../@warlock.js/seal/src/rules/string/without-whitespace.ts
4
+ //#region ../@warlock.js/seal/src/rules/string/without-whitespace.ts
5
5
  /**
6
6
  * Without whitespace rule - value must not contain whitespace
7
7
  */