@warlock.js/seal 4.0.48 → 4.0.59

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 (733) hide show
  1. package/cjs/config.d.ts +48 -0
  2. package/cjs/config.d.ts.map +1 -0
  3. package/cjs/config.js +42 -0
  4. package/cjs/config.js.map +1 -0
  5. package/cjs/factory/index.d.ts +3 -0
  6. package/cjs/factory/index.d.ts.map +1 -0
  7. package/cjs/factory/validate.d.ts +8 -0
  8. package/cjs/factory/validate.d.ts.map +1 -0
  9. package/cjs/factory/validate.js +23 -0
  10. package/cjs/factory/validate.js.map +1 -0
  11. package/cjs/factory/validators.d.ts +41 -0
  12. package/cjs/factory/validators.d.ts.map +1 -0
  13. package/cjs/factory/validators.js +45 -0
  14. package/cjs/factory/validators.js.map +1 -0
  15. package/cjs/helpers/date-helpers.d.ts +16 -0
  16. package/cjs/helpers/date-helpers.d.ts.map +1 -0
  17. package/cjs/helpers/date-helpers.js +20 -0
  18. package/cjs/helpers/date-helpers.js.map +1 -0
  19. package/cjs/helpers/file.utils.d.ts +8 -0
  20. package/cjs/helpers/file.utils.d.ts.map +1 -0
  21. package/cjs/helpers/file.utils.js +29 -0
  22. package/cjs/helpers/file.utils.js.map +1 -0
  23. package/cjs/helpers/get-field-value.d.ts +37 -0
  24. package/cjs/helpers/get-field-value.d.ts.map +1 -0
  25. package/cjs/helpers/get-field-value.js +40 -0
  26. package/cjs/helpers/get-field-value.js.map +1 -0
  27. package/cjs/helpers/index.d.ts +6 -0
  28. package/cjs/helpers/index.d.ts.map +1 -0
  29. package/cjs/helpers/is-empty-value.d.ts +2 -0
  30. package/cjs/helpers/is-empty-value.d.ts.map +1 -0
  31. package/cjs/helpers/is-empty-value.js +3 -0
  32. package/cjs/helpers/is-empty-value.js.map +1 -0
  33. package/cjs/helpers/path-helpers.d.ts +5 -0
  34. package/cjs/helpers/path-helpers.d.ts.map +1 -0
  35. package/cjs/helpers/path-helpers.js +8 -0
  36. package/cjs/helpers/path-helpers.js.map +1 -0
  37. package/cjs/helpers/validation-helpers.d.ts +4 -0
  38. package/cjs/helpers/validation-helpers.d.ts.map +1 -0
  39. package/cjs/helpers/validation-helpers.js +48 -0
  40. package/cjs/helpers/validation-helpers.js.map +1 -0
  41. package/cjs/index.d.ts +29 -0
  42. package/cjs/index.d.ts.map +1 -0
  43. package/cjs/index.js +1 -63
  44. package/cjs/index.js.map +1 -1
  45. package/cjs/mutators/array-mutators.d.ts +12 -0
  46. package/cjs/mutators/array-mutators.d.ts.map +1 -0
  47. package/cjs/mutators/array-mutators.js +37 -0
  48. package/cjs/mutators/array-mutators.js.map +1 -0
  49. package/cjs/mutators/date-mutators.d.ts +39 -0
  50. package/cjs/mutators/date-mutators.d.ts.map +1 -0
  51. package/cjs/mutators/date-mutators.js +120 -0
  52. package/cjs/mutators/date-mutators.js.map +1 -0
  53. package/cjs/mutators/index.d.ts +7 -0
  54. package/cjs/mutators/index.d.ts.map +1 -0
  55. package/cjs/mutators/number-mutators.d.ts +9 -0
  56. package/cjs/mutators/number-mutators.d.ts.map +1 -0
  57. package/cjs/mutators/number-mutators.js +23 -0
  58. package/cjs/mutators/number-mutators.js.map +1 -0
  59. package/cjs/mutators/object-mutators.d.ts +8 -0
  60. package/cjs/mutators/object-mutators.d.ts.map +1 -0
  61. package/cjs/mutators/object-mutators.js +50 -0
  62. package/cjs/mutators/object-mutators.js.map +1 -0
  63. package/cjs/mutators/scalar-mutators.d.ts +3 -0
  64. package/cjs/mutators/scalar-mutators.d.ts.map +1 -0
  65. package/cjs/mutators/scalar-mutators.js +6 -0
  66. package/cjs/mutators/scalar-mutators.js.map +1 -0
  67. package/cjs/mutators/string-mutators.d.ts +72 -0
  68. package/cjs/mutators/string-mutators.d.ts.map +1 -0
  69. package/cjs/mutators/string-mutators.js +193 -0
  70. package/cjs/mutators/string-mutators.js.map +1 -0
  71. package/cjs/plugins/index.d.ts +7 -0
  72. package/cjs/plugins/index.d.ts.map +1 -0
  73. package/cjs/plugins/plugin-system.d.ts +71 -0
  74. package/cjs/plugins/plugin-system.d.ts.map +1 -0
  75. package/cjs/plugins/plugin-system.js +68 -0
  76. package/cjs/plugins/plugin-system.js.map +1 -0
  77. package/cjs/rules/array/array-rules.d.ts +12 -0
  78. package/cjs/rules/array/array-rules.d.ts.map +1 -0
  79. package/cjs/rules/array/array-rules.js +44 -0
  80. package/cjs/rules/array/array-rules.js.map +1 -0
  81. package/cjs/rules/array/index.d.ts +2 -0
  82. package/cjs/rules/array/index.d.ts.map +1 -0
  83. package/cjs/rules/color/color-rules.d.ts +30 -0
  84. package/cjs/rules/color/color-rules.d.ts.map +1 -0
  85. package/cjs/rules/color/color-rules.js +120 -0
  86. package/cjs/rules/color/color-rules.js.map +1 -0
  87. package/cjs/rules/color/index.d.ts +2 -0
  88. package/cjs/rules/color/index.d.ts.map +1 -0
  89. package/cjs/rules/common/enum.d.ts +26 -0
  90. package/cjs/rules/common/enum.d.ts.map +1 -0
  91. package/cjs/rules/common/enum.js +55 -0
  92. package/cjs/rules/common/enum.js.map +1 -0
  93. package/cjs/rules/common/equals-field-rules.d.ts +18 -0
  94. package/cjs/rules/common/equals-field-rules.d.ts.map +1 -0
  95. package/cjs/rules/common/equals-field-rules.js +38 -0
  96. package/cjs/rules/common/equals-field-rules.js.map +1 -0
  97. package/cjs/rules/common/index.d.ts +5 -0
  98. package/cjs/rules/common/index.d.ts.map +1 -0
  99. package/cjs/rules/common/type-rules.d.ts +34 -0
  100. package/cjs/rules/common/type-rules.d.ts.map +1 -0
  101. package/cjs/rules/common/type-rules.js +104 -0
  102. package/cjs/rules/common/type-rules.js.map +1 -0
  103. package/cjs/rules/common/unknown-key.d.ts +9 -0
  104. package/cjs/rules/common/unknown-key.d.ts.map +1 -0
  105. package/cjs/rules/common/unknown-key.js +18 -0
  106. package/cjs/rules/common/unknown-key.js.map +1 -0
  107. package/cjs/rules/conditional/forbidden-if-rules.d.ts +54 -0
  108. package/cjs/rules/conditional/forbidden-if-rules.d.ts.map +1 -0
  109. package/cjs/rules/conditional/forbidden-if-rules.js +112 -0
  110. package/cjs/rules/conditional/forbidden-if-rules.js.map +1 -0
  111. package/cjs/rules/conditional/index.d.ts +10 -0
  112. package/cjs/rules/conditional/index.d.ts.map +1 -0
  113. package/cjs/rules/conditional/present-if-rules.d.ts +45 -0
  114. package/cjs/rules/conditional/present-if-rules.d.ts.map +1 -0
  115. package/cjs/rules/conditional/present-if-rules.js +98 -0
  116. package/cjs/rules/conditional/present-if-rules.js.map +1 -0
  117. package/cjs/rules/conditional/present-unless-rules.d.ts +11 -0
  118. package/cjs/rules/conditional/present-unless-rules.d.ts.map +1 -0
  119. package/cjs/rules/conditional/present-unless-rules.js +20 -0
  120. package/cjs/rules/conditional/present-unless-rules.js.map +1 -0
  121. package/cjs/rules/conditional/present-with-rules.d.ts +26 -0
  122. package/cjs/rules/conditional/present-with-rules.d.ts.map +1 -0
  123. package/cjs/rules/conditional/present-with-rules.js +63 -0
  124. package/cjs/rules/conditional/present-with-rules.js.map +1 -0
  125. package/cjs/rules/conditional/present-without-rules.d.ts +26 -0
  126. package/cjs/rules/conditional/present-without-rules.d.ts.map +1 -0
  127. package/cjs/rules/conditional/present-without-rules.js +63 -0
  128. package/cjs/rules/conditional/present-without-rules.js.map +1 -0
  129. package/cjs/rules/conditional/required-if-rules.d.ts +45 -0
  130. package/cjs/rules/conditional/required-if-rules.d.ts.map +1 -0
  131. package/cjs/rules/conditional/required-if-rules.js +98 -0
  132. package/cjs/rules/conditional/required-if-rules.js.map +1 -0
  133. package/cjs/rules/conditional/required-unless-rules.d.ts +11 -0
  134. package/cjs/rules/conditional/required-unless-rules.d.ts.map +1 -0
  135. package/cjs/rules/conditional/required-unless-rules.js +20 -0
  136. package/cjs/rules/conditional/required-unless-rules.js.map +1 -0
  137. package/cjs/rules/conditional/required-with-rules.d.ts +26 -0
  138. package/cjs/rules/conditional/required-with-rules.d.ts.map +1 -0
  139. package/cjs/rules/conditional/required-with-rules.js +63 -0
  140. package/cjs/rules/conditional/required-with-rules.js.map +1 -0
  141. package/cjs/rules/conditional/required-without-rules.d.ts +26 -0
  142. package/cjs/rules/conditional/required-without-rules.d.ts.map +1 -0
  143. package/cjs/rules/conditional/required-without-rules.js +63 -0
  144. package/cjs/rules/conditional/required-without-rules.js.map +1 -0
  145. package/cjs/rules/core/equal.d.ts +8 -0
  146. package/cjs/rules/core/equal.d.ts.map +1 -0
  147. package/cjs/rules/core/equal.js +13 -0
  148. package/cjs/rules/core/equal.js.map +1 -0
  149. package/cjs/rules/core/forbidden.d.ts +6 -0
  150. package/cjs/rules/core/forbidden.d.ts.map +1 -0
  151. package/cjs/rules/core/forbidden.js +13 -0
  152. package/cjs/rules/core/forbidden.js.map +1 -0
  153. package/cjs/rules/core/index.d.ts +6 -0
  154. package/cjs/rules/core/index.d.ts.map +1 -0
  155. package/cjs/rules/core/required.d.ts +11 -0
  156. package/cjs/rules/core/required.d.ts.map +1 -0
  157. package/cjs/rules/core/required.js +31 -0
  158. package/cjs/rules/core/required.js.map +1 -0
  159. package/cjs/rules/core/union.d.ts +9 -0
  160. package/cjs/rules/core/union.d.ts.map +1 -0
  161. package/cjs/rules/core/union.js +40 -0
  162. package/cjs/rules/core/union.js.map +1 -0
  163. package/cjs/rules/core/when.d.ts +6 -0
  164. package/cjs/rules/core/when.d.ts.map +1 -0
  165. package/cjs/rules/core/when.js +40 -0
  166. package/cjs/rules/core/when.js.map +1 -0
  167. package/cjs/rules/date/date-comparison-rules.d.ts +25 -0
  168. package/cjs/rules/date/date-comparison-rules.d.ts.map +1 -0
  169. package/cjs/rules/date/date-comparison-rules.js +78 -0
  170. package/cjs/rules/date/date-comparison-rules.js.map +1 -0
  171. package/cjs/rules/date/date-day-rules.d.ts +21 -0
  172. package/cjs/rules/date/date-day-rules.d.ts.map +1 -0
  173. package/cjs/rules/date/date-day-rules.js +65 -0
  174. package/cjs/rules/date/date-day-rules.js.map +1 -0
  175. package/cjs/rules/date/date-field-comparison-rules.d.ts +28 -0
  176. package/cjs/rules/date/date-field-comparison-rules.d.ts.map +1 -0
  177. package/cjs/rules/date/date-field-comparison-rules.js +90 -0
  178. package/cjs/rules/date/date-field-comparison-rules.js.map +1 -0
  179. package/cjs/rules/date/date-period-rules.d.ts +108 -0
  180. package/cjs/rules/date/date-period-rules.d.ts.map +1 -0
  181. package/cjs/rules/date/date-period-rules.js +566 -0
  182. package/cjs/rules/date/date-period-rules.js.map +1 -0
  183. package/cjs/rules/date/date-relative-rules.d.ts +20 -0
  184. package/cjs/rules/date/date-relative-rules.d.ts.map +1 -0
  185. package/cjs/rules/date/date-relative-rules.js +57 -0
  186. package/cjs/rules/date/date-relative-rules.js.map +1 -0
  187. package/cjs/rules/date/date-special-rules.d.ts +20 -0
  188. package/cjs/rules/date/date-special-rules.d.ts.map +1 -0
  189. package/cjs/rules/date/date-special-rules.js +72 -0
  190. package/cjs/rules/date/date-special-rules.js.map +1 -0
  191. package/cjs/rules/date/date.d.ts +93 -0
  192. package/cjs/rules/date/date.d.ts.map +1 -0
  193. package/cjs/rules/date/date.js +279 -0
  194. package/cjs/rules/date/date.js.map +1 -0
  195. package/cjs/rules/date/index.d.ts +8 -0
  196. package/cjs/rules/date/index.d.ts.map +1 -0
  197. package/cjs/rules/file/dimensions.d.ts +26 -0
  198. package/cjs/rules/file/dimensions.d.ts.map +1 -0
  199. package/cjs/rules/file/dimensions.js +56 -0
  200. package/cjs/rules/file/dimensions.js.map +1 -0
  201. package/cjs/rules/file/file-size.d.ts +14 -0
  202. package/cjs/rules/file/file-size.d.ts.map +1 -0
  203. package/cjs/rules/file/file-size.js +48 -0
  204. package/cjs/rules/file/file-size.js.map +1 -0
  205. package/cjs/rules/file/index.d.ts +11 -0
  206. package/cjs/rules/file/index.d.ts.map +1 -0
  207. package/cjs/rules/index.d.ts +19 -0
  208. package/cjs/rules/index.d.ts.map +1 -0
  209. package/cjs/rules/length/index.d.ts +2 -0
  210. package/cjs/rules/length/index.d.ts.map +1 -0
  211. package/cjs/rules/length/length-rules.d.ts +49 -0
  212. package/cjs/rules/length/length-rules.d.ts.map +1 -0
  213. package/cjs/rules/length/length-rules.js +116 -0
  214. package/cjs/rules/length/length-rules.js.map +1 -0
  215. package/cjs/rules/number/index.d.ts +2 -0
  216. package/cjs/rules/number/index.d.ts.map +1 -0
  217. package/cjs/rules/number/number-rules.d.ts +65 -0
  218. package/cjs/rules/number/number-rules.d.ts.map +1 -0
  219. package/cjs/rules/number/number-rules.js +234 -0
  220. package/cjs/rules/number/number-rules.js.map +1 -0
  221. package/cjs/rules/scalar/accepted-rule.d.ts +39 -0
  222. package/cjs/rules/scalar/accepted-rule.d.ts.map +1 -0
  223. package/cjs/rules/scalar/accepted-rule.js +110 -0
  224. package/cjs/rules/scalar/accepted-rule.js.map +1 -0
  225. package/cjs/rules/scalar/declined-rule.d.ts +39 -0
  226. package/cjs/rules/scalar/declined-rule.d.ts.map +1 -0
  227. package/cjs/rules/scalar/declined-rule.js +110 -0
  228. package/cjs/rules/scalar/declined-rule.js.map +1 -0
  229. package/cjs/rules/scalar/index.d.ts +3 -0
  230. package/cjs/rules/scalar/index.d.ts.map +1 -0
  231. package/cjs/rules/string/alpha.d.ts +14 -0
  232. package/cjs/rules/string/alpha.d.ts.map +1 -0
  233. package/cjs/rules/string/alpha.js +39 -0
  234. package/cjs/rules/string/alpha.js.map +1 -0
  235. package/cjs/rules/string/credit-card.d.ts +6 -0
  236. package/cjs/rules/string/credit-card.d.ts.map +1 -0
  237. package/cjs/rules/string/credit-card.js +31 -0
  238. package/cjs/rules/string/credit-card.js.map +1 -0
  239. package/cjs/rules/string/email.d.ts +6 -0
  240. package/cjs/rules/string/email.d.ts.map +1 -0
  241. package/cjs/rules/string/email.js +13 -0
  242. package/cjs/rules/string/email.js.map +1 -0
  243. package/cjs/rules/string/index.d.ts +17 -0
  244. package/cjs/rules/string/index.d.ts.map +1 -0
  245. package/cjs/rules/string/ip.d.ts +14 -0
  246. package/cjs/rules/string/ip.d.ts.map +1 -0
  247. package/cjs/rules/string/ip.js +39 -0
  248. package/cjs/rules/string/ip.js.map +1 -0
  249. package/cjs/rules/string/matches.d.ts +8 -0
  250. package/cjs/rules/string/matches.d.ts.map +1 -0
  251. package/cjs/rules/string/matches.js +14 -0
  252. package/cjs/rules/string/matches.js.map +1 -0
  253. package/cjs/rules/string/pattern.d.ts +8 -0
  254. package/cjs/rules/string/pattern.d.ts.map +1 -0
  255. package/cjs/rules/string/pattern.js +13 -0
  256. package/cjs/rules/string/pattern.js.map +1 -0
  257. package/cjs/rules/string/string-comparison.d.ts +26 -0
  258. package/cjs/rules/string/string-comparison.d.ts.map +1 -0
  259. package/cjs/rules/string/string-comparison.js +52 -0
  260. package/cjs/rules/string/string-comparison.js.map +1 -0
  261. package/cjs/rules/string/strong-password-rule.d.ts +14 -0
  262. package/cjs/rules/string/strong-password-rule.d.ts.map +1 -0
  263. package/cjs/rules/string/strong-password-rule.js +38 -0
  264. package/cjs/rules/string/strong-password-rule.js.map +1 -0
  265. package/cjs/rules/string/url.d.ts +6 -0
  266. package/cjs/rules/string/url.d.ts.map +1 -0
  267. package/cjs/rules/string/url.js +16 -0
  268. package/cjs/rules/string/url.js.map +1 -0
  269. package/cjs/rules/string/without-whitespace.d.ts +6 -0
  270. package/cjs/rules/string/without-whitespace.d.ts.map +1 -0
  271. package/cjs/rules/string/without-whitespace.js +13 -0
  272. package/cjs/rules/string/without-whitespace.js.map +1 -0
  273. package/cjs/types/conditional-types.d.ts +15 -0
  274. package/cjs/types/conditional-types.d.ts.map +1 -0
  275. package/cjs/types/context-types.d.ts +48 -0
  276. package/cjs/types/context-types.d.ts.map +1 -0
  277. package/cjs/types/data-transformer-types.d.ts +25 -0
  278. package/cjs/types/data-transformer-types.d.ts.map +1 -0
  279. package/cjs/types/date-types.d.ts +9 -0
  280. package/cjs/types/date-types.d.ts.map +1 -0
  281. package/cjs/types/date-types.js +12 -0
  282. package/cjs/types/date-types.js.map +1 -0
  283. package/cjs/types/file.types.d.ts +5 -0
  284. package/cjs/types/file.types.d.ts.map +1 -0
  285. package/cjs/types/index.d.ts +11 -0
  286. package/cjs/types/index.d.ts.map +1 -0
  287. package/cjs/types/inference-types.d.ts +27 -0
  288. package/cjs/types/inference-types.d.ts.map +1 -0
  289. package/cjs/types/mutator-types.d.ts +27 -0
  290. package/cjs/types/mutator-types.d.ts.map +1 -0
  291. package/cjs/types/result-types.d.ts +19 -0
  292. package/cjs/types/result-types.d.ts.map +1 -0
  293. package/cjs/types/rule-types.d.ts +54 -0
  294. package/cjs/types/rule-types.d.ts.map +1 -0
  295. package/cjs/types/schema-types.d.ts +6 -0
  296. package/cjs/types/schema-types.d.ts.map +1 -0
  297. package/cjs/validators/any-validator.d.ts +7 -0
  298. package/cjs/validators/any-validator.d.ts.map +1 -0
  299. package/cjs/validators/any-validator.js +5 -0
  300. package/cjs/validators/any-validator.js.map +1 -0
  301. package/cjs/validators/array-validator.d.ts +59 -0
  302. package/cjs/validators/array-validator.d.ts.map +1 -0
  303. package/cjs/validators/array-validator.js +134 -0
  304. package/cjs/validators/array-validator.js.map +1 -0
  305. package/cjs/validators/base-validator.d.ts +610 -0
  306. package/cjs/validators/base-validator.d.ts.map +1 -0
  307. package/cjs/validators/base-validator.js +1160 -0
  308. package/cjs/validators/base-validator.js.map +1 -0
  309. package/cjs/validators/boolean-validator.d.ts +47 -0
  310. package/cjs/validators/boolean-validator.d.ts.map +1 -0
  311. package/cjs/validators/boolean-validator.js +54 -0
  312. package/cjs/validators/boolean-validator.js.map +1 -0
  313. package/cjs/validators/computed-validator.d.ts +64 -0
  314. package/cjs/validators/computed-validator.d.ts.map +1 -0
  315. package/cjs/validators/computed-validator.js +109 -0
  316. package/cjs/validators/computed-validator.js.map +1 -0
  317. package/cjs/validators/date-validator.d.ts +307 -0
  318. package/cjs/validators/date-validator.d.ts.map +1 -0
  319. package/cjs/validators/date-validator.js +645 -0
  320. package/cjs/validators/date-validator.js.map +1 -0
  321. package/cjs/validators/float-validator.d.ts +8 -0
  322. package/cjs/validators/float-validator.d.ts.map +1 -0
  323. package/cjs/validators/float-validator.js +9 -0
  324. package/cjs/validators/float-validator.js.map +1 -0
  325. package/cjs/validators/index.d.ts +26 -0
  326. package/cjs/validators/index.d.ts.map +1 -0
  327. package/cjs/validators/int-validator.d.ts +8 -0
  328. package/cjs/validators/int-validator.d.ts.map +1 -0
  329. package/cjs/validators/int-validator.js +9 -0
  330. package/cjs/validators/int-validator.js.map +1 -0
  331. package/cjs/validators/managed-validator.d.ts +38 -0
  332. package/cjs/validators/managed-validator.d.ts.map +1 -0
  333. package/cjs/validators/managed-validator.js +34 -0
  334. package/cjs/validators/managed-validator.js.map +1 -0
  335. package/cjs/validators/number-validator.d.ts +113 -0
  336. package/cjs/validators/number-validator.d.ts.map +1 -0
  337. package/cjs/validators/number-validator.js +192 -0
  338. package/cjs/validators/number-validator.js.map +1 -0
  339. package/cjs/validators/numeric-validator.d.ts +15 -0
  340. package/cjs/validators/numeric-validator.d.ts.map +1 -0
  341. package/cjs/validators/numeric-validator.js +18 -0
  342. package/cjs/validators/numeric-validator.js.map +1 -0
  343. package/cjs/validators/object-validator.d.ts +187 -0
  344. package/cjs/validators/object-validator.d.ts.map +1 -0
  345. package/cjs/validators/object-validator.js +416 -0
  346. package/cjs/validators/object-validator.js.map +1 -0
  347. package/cjs/validators/record-validator.d.ts +33 -0
  348. package/cjs/validators/record-validator.d.ts.map +1 -0
  349. package/cjs/validators/record-validator.js +70 -0
  350. package/cjs/validators/record-validator.js.map +1 -0
  351. package/cjs/validators/scalar-validator.d.ts +82 -0
  352. package/cjs/validators/scalar-validator.d.ts.map +1 -0
  353. package/cjs/validators/scalar-validator.js +160 -0
  354. package/cjs/validators/scalar-validator.js.map +1 -0
  355. package/cjs/validators/string-validator.d.ts +191 -0
  356. package/cjs/validators/string-validator.d.ts.map +1 -0
  357. package/cjs/validators/string-validator.js +410 -0
  358. package/cjs/validators/string-validator.js.map +1 -0
  359. package/cjs/validators/tuple-validator.d.ts +34 -0
  360. package/cjs/validators/tuple-validator.d.ts.map +1 -0
  361. package/cjs/validators/tuple-validator.js +79 -0
  362. package/cjs/validators/tuple-validator.js.map +1 -0
  363. package/cjs/validators/union-validator.d.ts +42 -0
  364. package/cjs/validators/union-validator.d.ts.map +1 -0
  365. package/cjs/validators/union-validator.js +44 -0
  366. package/cjs/validators/union-validator.js.map +1 -0
  367. package/esm/config.d.ts +48 -0
  368. package/esm/config.d.ts.map +1 -0
  369. package/esm/config.js +42 -0
  370. package/esm/config.js.map +1 -0
  371. package/esm/factory/index.d.ts +3 -0
  372. package/esm/factory/index.d.ts.map +1 -0
  373. package/esm/factory/validate.d.ts +8 -0
  374. package/esm/factory/validate.d.ts.map +1 -0
  375. package/esm/factory/validate.js +23 -0
  376. package/esm/factory/validate.js.map +1 -0
  377. package/esm/factory/validators.d.ts +41 -0
  378. package/esm/factory/validators.d.ts.map +1 -0
  379. package/esm/factory/validators.js +45 -0
  380. package/esm/factory/validators.js.map +1 -0
  381. package/esm/helpers/date-helpers.d.ts +16 -0
  382. package/esm/helpers/date-helpers.d.ts.map +1 -0
  383. package/esm/helpers/date-helpers.js +20 -0
  384. package/esm/helpers/date-helpers.js.map +1 -0
  385. package/esm/helpers/file.utils.d.ts +8 -0
  386. package/esm/helpers/file.utils.d.ts.map +1 -0
  387. package/esm/helpers/file.utils.js +29 -0
  388. package/esm/helpers/file.utils.js.map +1 -0
  389. package/esm/helpers/get-field-value.d.ts +37 -0
  390. package/esm/helpers/get-field-value.d.ts.map +1 -0
  391. package/esm/helpers/get-field-value.js +40 -0
  392. package/esm/helpers/get-field-value.js.map +1 -0
  393. package/esm/helpers/index.d.ts +6 -0
  394. package/esm/helpers/index.d.ts.map +1 -0
  395. package/esm/helpers/is-empty-value.d.ts +2 -0
  396. package/esm/helpers/is-empty-value.d.ts.map +1 -0
  397. package/esm/helpers/is-empty-value.js +3 -0
  398. package/esm/helpers/is-empty-value.js.map +1 -0
  399. package/esm/helpers/path-helpers.d.ts +5 -0
  400. package/esm/helpers/path-helpers.d.ts.map +1 -0
  401. package/esm/helpers/path-helpers.js +8 -0
  402. package/esm/helpers/path-helpers.js.map +1 -0
  403. package/esm/helpers/validation-helpers.d.ts +4 -0
  404. package/esm/helpers/validation-helpers.d.ts.map +1 -0
  405. package/esm/helpers/validation-helpers.js +48 -0
  406. package/esm/helpers/validation-helpers.js.map +1 -0
  407. package/esm/index.d.ts +29 -0
  408. package/esm/index.d.ts.map +1 -0
  409. package/esm/index.js +1 -10
  410. package/esm/index.js.map +1 -1
  411. package/esm/mutators/array-mutators.d.ts +12 -0
  412. package/esm/mutators/array-mutators.d.ts.map +1 -0
  413. package/esm/mutators/array-mutators.js +37 -0
  414. package/esm/mutators/array-mutators.js.map +1 -0
  415. package/esm/mutators/date-mutators.d.ts +39 -0
  416. package/esm/mutators/date-mutators.d.ts.map +1 -0
  417. package/esm/mutators/date-mutators.js +120 -0
  418. package/esm/mutators/date-mutators.js.map +1 -0
  419. package/esm/mutators/index.d.ts +7 -0
  420. package/esm/mutators/index.d.ts.map +1 -0
  421. package/esm/mutators/number-mutators.d.ts +9 -0
  422. package/esm/mutators/number-mutators.d.ts.map +1 -0
  423. package/esm/mutators/number-mutators.js +23 -0
  424. package/esm/mutators/number-mutators.js.map +1 -0
  425. package/esm/mutators/object-mutators.d.ts +8 -0
  426. package/esm/mutators/object-mutators.d.ts.map +1 -0
  427. package/esm/mutators/object-mutators.js +50 -0
  428. package/esm/mutators/object-mutators.js.map +1 -0
  429. package/esm/mutators/scalar-mutators.d.ts +3 -0
  430. package/esm/mutators/scalar-mutators.d.ts.map +1 -0
  431. package/esm/mutators/scalar-mutators.js +6 -0
  432. package/esm/mutators/scalar-mutators.js.map +1 -0
  433. package/esm/mutators/string-mutators.d.ts +72 -0
  434. package/esm/mutators/string-mutators.d.ts.map +1 -0
  435. package/esm/mutators/string-mutators.js +193 -0
  436. package/esm/mutators/string-mutators.js.map +1 -0
  437. package/esm/plugins/index.d.ts +7 -0
  438. package/esm/plugins/index.d.ts.map +1 -0
  439. package/esm/plugins/plugin-system.d.ts +71 -0
  440. package/esm/plugins/plugin-system.d.ts.map +1 -0
  441. package/esm/plugins/plugin-system.js +68 -0
  442. package/esm/plugins/plugin-system.js.map +1 -0
  443. package/esm/rules/array/array-rules.d.ts +12 -0
  444. package/esm/rules/array/array-rules.d.ts.map +1 -0
  445. package/esm/rules/array/array-rules.js +44 -0
  446. package/esm/rules/array/array-rules.js.map +1 -0
  447. package/esm/rules/array/index.d.ts +2 -0
  448. package/esm/rules/array/index.d.ts.map +1 -0
  449. package/esm/rules/color/color-rules.d.ts +30 -0
  450. package/esm/rules/color/color-rules.d.ts.map +1 -0
  451. package/esm/rules/color/color-rules.js +120 -0
  452. package/esm/rules/color/color-rules.js.map +1 -0
  453. package/esm/rules/color/index.d.ts +2 -0
  454. package/esm/rules/color/index.d.ts.map +1 -0
  455. package/esm/rules/common/enum.d.ts +26 -0
  456. package/esm/rules/common/enum.d.ts.map +1 -0
  457. package/esm/rules/common/enum.js +55 -0
  458. package/esm/rules/common/enum.js.map +1 -0
  459. package/esm/rules/common/equals-field-rules.d.ts +18 -0
  460. package/esm/rules/common/equals-field-rules.d.ts.map +1 -0
  461. package/esm/rules/common/equals-field-rules.js +38 -0
  462. package/esm/rules/common/equals-field-rules.js.map +1 -0
  463. package/esm/rules/common/index.d.ts +5 -0
  464. package/esm/rules/common/index.d.ts.map +1 -0
  465. package/esm/rules/common/type-rules.d.ts +34 -0
  466. package/esm/rules/common/type-rules.d.ts.map +1 -0
  467. package/esm/rules/common/type-rules.js +104 -0
  468. package/esm/rules/common/type-rules.js.map +1 -0
  469. package/esm/rules/common/unknown-key.d.ts +9 -0
  470. package/esm/rules/common/unknown-key.d.ts.map +1 -0
  471. package/esm/rules/common/unknown-key.js +18 -0
  472. package/esm/rules/common/unknown-key.js.map +1 -0
  473. package/esm/rules/conditional/forbidden-if-rules.d.ts +54 -0
  474. package/esm/rules/conditional/forbidden-if-rules.d.ts.map +1 -0
  475. package/esm/rules/conditional/forbidden-if-rules.js +112 -0
  476. package/esm/rules/conditional/forbidden-if-rules.js.map +1 -0
  477. package/esm/rules/conditional/index.d.ts +10 -0
  478. package/esm/rules/conditional/index.d.ts.map +1 -0
  479. package/esm/rules/conditional/present-if-rules.d.ts +45 -0
  480. package/esm/rules/conditional/present-if-rules.d.ts.map +1 -0
  481. package/esm/rules/conditional/present-if-rules.js +98 -0
  482. package/esm/rules/conditional/present-if-rules.js.map +1 -0
  483. package/esm/rules/conditional/present-unless-rules.d.ts +11 -0
  484. package/esm/rules/conditional/present-unless-rules.d.ts.map +1 -0
  485. package/esm/rules/conditional/present-unless-rules.js +20 -0
  486. package/esm/rules/conditional/present-unless-rules.js.map +1 -0
  487. package/esm/rules/conditional/present-with-rules.d.ts +26 -0
  488. package/esm/rules/conditional/present-with-rules.d.ts.map +1 -0
  489. package/esm/rules/conditional/present-with-rules.js +63 -0
  490. package/esm/rules/conditional/present-with-rules.js.map +1 -0
  491. package/esm/rules/conditional/present-without-rules.d.ts +26 -0
  492. package/esm/rules/conditional/present-without-rules.d.ts.map +1 -0
  493. package/esm/rules/conditional/present-without-rules.js +63 -0
  494. package/esm/rules/conditional/present-without-rules.js.map +1 -0
  495. package/esm/rules/conditional/required-if-rules.d.ts +45 -0
  496. package/esm/rules/conditional/required-if-rules.d.ts.map +1 -0
  497. package/esm/rules/conditional/required-if-rules.js +98 -0
  498. package/esm/rules/conditional/required-if-rules.js.map +1 -0
  499. package/esm/rules/conditional/required-unless-rules.d.ts +11 -0
  500. package/esm/rules/conditional/required-unless-rules.d.ts.map +1 -0
  501. package/esm/rules/conditional/required-unless-rules.js +20 -0
  502. package/esm/rules/conditional/required-unless-rules.js.map +1 -0
  503. package/esm/rules/conditional/required-with-rules.d.ts +26 -0
  504. package/esm/rules/conditional/required-with-rules.d.ts.map +1 -0
  505. package/esm/rules/conditional/required-with-rules.js +63 -0
  506. package/esm/rules/conditional/required-with-rules.js.map +1 -0
  507. package/esm/rules/conditional/required-without-rules.d.ts +26 -0
  508. package/esm/rules/conditional/required-without-rules.d.ts.map +1 -0
  509. package/esm/rules/conditional/required-without-rules.js +63 -0
  510. package/esm/rules/conditional/required-without-rules.js.map +1 -0
  511. package/esm/rules/core/equal.d.ts +8 -0
  512. package/esm/rules/core/equal.d.ts.map +1 -0
  513. package/esm/rules/core/equal.js +13 -0
  514. package/esm/rules/core/equal.js.map +1 -0
  515. package/esm/rules/core/forbidden.d.ts +6 -0
  516. package/esm/rules/core/forbidden.d.ts.map +1 -0
  517. package/esm/rules/core/forbidden.js +13 -0
  518. package/esm/rules/core/forbidden.js.map +1 -0
  519. package/esm/rules/core/index.d.ts +6 -0
  520. package/esm/rules/core/index.d.ts.map +1 -0
  521. package/esm/rules/core/required.d.ts +11 -0
  522. package/esm/rules/core/required.d.ts.map +1 -0
  523. package/esm/rules/core/required.js +31 -0
  524. package/esm/rules/core/required.js.map +1 -0
  525. package/esm/rules/core/union.d.ts +9 -0
  526. package/esm/rules/core/union.d.ts.map +1 -0
  527. package/esm/rules/core/union.js +40 -0
  528. package/esm/rules/core/union.js.map +1 -0
  529. package/esm/rules/core/when.d.ts +6 -0
  530. package/esm/rules/core/when.d.ts.map +1 -0
  531. package/esm/rules/core/when.js +40 -0
  532. package/esm/rules/core/when.js.map +1 -0
  533. package/esm/rules/date/date-comparison-rules.d.ts +25 -0
  534. package/esm/rules/date/date-comparison-rules.d.ts.map +1 -0
  535. package/esm/rules/date/date-comparison-rules.js +78 -0
  536. package/esm/rules/date/date-comparison-rules.js.map +1 -0
  537. package/esm/rules/date/date-day-rules.d.ts +21 -0
  538. package/esm/rules/date/date-day-rules.d.ts.map +1 -0
  539. package/esm/rules/date/date-day-rules.js +65 -0
  540. package/esm/rules/date/date-day-rules.js.map +1 -0
  541. package/esm/rules/date/date-field-comparison-rules.d.ts +28 -0
  542. package/esm/rules/date/date-field-comparison-rules.d.ts.map +1 -0
  543. package/esm/rules/date/date-field-comparison-rules.js +90 -0
  544. package/esm/rules/date/date-field-comparison-rules.js.map +1 -0
  545. package/esm/rules/date/date-period-rules.d.ts +108 -0
  546. package/esm/rules/date/date-period-rules.d.ts.map +1 -0
  547. package/esm/rules/date/date-period-rules.js +566 -0
  548. package/esm/rules/date/date-period-rules.js.map +1 -0
  549. package/esm/rules/date/date-relative-rules.d.ts +20 -0
  550. package/esm/rules/date/date-relative-rules.d.ts.map +1 -0
  551. package/esm/rules/date/date-relative-rules.js +57 -0
  552. package/esm/rules/date/date-relative-rules.js.map +1 -0
  553. package/esm/rules/date/date-special-rules.d.ts +20 -0
  554. package/esm/rules/date/date-special-rules.d.ts.map +1 -0
  555. package/esm/rules/date/date-special-rules.js +72 -0
  556. package/esm/rules/date/date-special-rules.js.map +1 -0
  557. package/esm/rules/date/date.d.ts +93 -0
  558. package/esm/rules/date/date.d.ts.map +1 -0
  559. package/esm/rules/date/date.js +279 -0
  560. package/esm/rules/date/date.js.map +1 -0
  561. package/esm/rules/date/index.d.ts +8 -0
  562. package/esm/rules/date/index.d.ts.map +1 -0
  563. package/esm/rules/file/dimensions.d.ts +26 -0
  564. package/esm/rules/file/dimensions.d.ts.map +1 -0
  565. package/esm/rules/file/dimensions.js +56 -0
  566. package/esm/rules/file/dimensions.js.map +1 -0
  567. package/esm/rules/file/file-size.d.ts +14 -0
  568. package/esm/rules/file/file-size.d.ts.map +1 -0
  569. package/esm/rules/file/file-size.js +48 -0
  570. package/esm/rules/file/file-size.js.map +1 -0
  571. package/esm/rules/file/index.d.ts +11 -0
  572. package/esm/rules/file/index.d.ts.map +1 -0
  573. package/esm/rules/index.d.ts +19 -0
  574. package/esm/rules/index.d.ts.map +1 -0
  575. package/esm/rules/length/index.d.ts +2 -0
  576. package/esm/rules/length/index.d.ts.map +1 -0
  577. package/esm/rules/length/length-rules.d.ts +49 -0
  578. package/esm/rules/length/length-rules.d.ts.map +1 -0
  579. package/esm/rules/length/length-rules.js +116 -0
  580. package/esm/rules/length/length-rules.js.map +1 -0
  581. package/esm/rules/number/index.d.ts +2 -0
  582. package/esm/rules/number/index.d.ts.map +1 -0
  583. package/esm/rules/number/number-rules.d.ts +65 -0
  584. package/esm/rules/number/number-rules.d.ts.map +1 -0
  585. package/esm/rules/number/number-rules.js +234 -0
  586. package/esm/rules/number/number-rules.js.map +1 -0
  587. package/esm/rules/scalar/accepted-rule.d.ts +39 -0
  588. package/esm/rules/scalar/accepted-rule.d.ts.map +1 -0
  589. package/esm/rules/scalar/accepted-rule.js +110 -0
  590. package/esm/rules/scalar/accepted-rule.js.map +1 -0
  591. package/esm/rules/scalar/declined-rule.d.ts +39 -0
  592. package/esm/rules/scalar/declined-rule.d.ts.map +1 -0
  593. package/esm/rules/scalar/declined-rule.js +110 -0
  594. package/esm/rules/scalar/declined-rule.js.map +1 -0
  595. package/esm/rules/scalar/index.d.ts +3 -0
  596. package/esm/rules/scalar/index.d.ts.map +1 -0
  597. package/esm/rules/string/alpha.d.ts +14 -0
  598. package/esm/rules/string/alpha.d.ts.map +1 -0
  599. package/esm/rules/string/alpha.js +39 -0
  600. package/esm/rules/string/alpha.js.map +1 -0
  601. package/esm/rules/string/credit-card.d.ts +6 -0
  602. package/esm/rules/string/credit-card.d.ts.map +1 -0
  603. package/esm/rules/string/credit-card.js +31 -0
  604. package/esm/rules/string/credit-card.js.map +1 -0
  605. package/esm/rules/string/email.d.ts +6 -0
  606. package/esm/rules/string/email.d.ts.map +1 -0
  607. package/esm/rules/string/email.js +13 -0
  608. package/esm/rules/string/email.js.map +1 -0
  609. package/esm/rules/string/index.d.ts +17 -0
  610. package/esm/rules/string/index.d.ts.map +1 -0
  611. package/esm/rules/string/ip.d.ts +14 -0
  612. package/esm/rules/string/ip.d.ts.map +1 -0
  613. package/esm/rules/string/ip.js +39 -0
  614. package/esm/rules/string/ip.js.map +1 -0
  615. package/esm/rules/string/matches.d.ts +8 -0
  616. package/esm/rules/string/matches.d.ts.map +1 -0
  617. package/esm/rules/string/matches.js +14 -0
  618. package/esm/rules/string/matches.js.map +1 -0
  619. package/esm/rules/string/pattern.d.ts +8 -0
  620. package/esm/rules/string/pattern.d.ts.map +1 -0
  621. package/esm/rules/string/pattern.js +13 -0
  622. package/esm/rules/string/pattern.js.map +1 -0
  623. package/esm/rules/string/string-comparison.d.ts +26 -0
  624. package/esm/rules/string/string-comparison.d.ts.map +1 -0
  625. package/esm/rules/string/string-comparison.js +52 -0
  626. package/esm/rules/string/string-comparison.js.map +1 -0
  627. package/esm/rules/string/strong-password-rule.d.ts +14 -0
  628. package/esm/rules/string/strong-password-rule.d.ts.map +1 -0
  629. package/esm/rules/string/strong-password-rule.js +38 -0
  630. package/esm/rules/string/strong-password-rule.js.map +1 -0
  631. package/esm/rules/string/url.d.ts +6 -0
  632. package/esm/rules/string/url.d.ts.map +1 -0
  633. package/esm/rules/string/url.js +16 -0
  634. package/esm/rules/string/url.js.map +1 -0
  635. package/esm/rules/string/without-whitespace.d.ts +6 -0
  636. package/esm/rules/string/without-whitespace.d.ts.map +1 -0
  637. package/esm/rules/string/without-whitespace.js +13 -0
  638. package/esm/rules/string/without-whitespace.js.map +1 -0
  639. package/esm/types/conditional-types.d.ts +15 -0
  640. package/esm/types/conditional-types.d.ts.map +1 -0
  641. package/esm/types/context-types.d.ts +48 -0
  642. package/esm/types/context-types.d.ts.map +1 -0
  643. package/esm/types/data-transformer-types.d.ts +25 -0
  644. package/esm/types/data-transformer-types.d.ts.map +1 -0
  645. package/esm/types/date-types.d.ts +9 -0
  646. package/esm/types/date-types.d.ts.map +1 -0
  647. package/esm/types/date-types.js +12 -0
  648. package/esm/types/date-types.js.map +1 -0
  649. package/esm/types/file.types.d.ts +5 -0
  650. package/esm/types/file.types.d.ts.map +1 -0
  651. package/esm/types/index.d.ts +11 -0
  652. package/esm/types/index.d.ts.map +1 -0
  653. package/esm/types/inference-types.d.ts +27 -0
  654. package/esm/types/inference-types.d.ts.map +1 -0
  655. package/esm/types/mutator-types.d.ts +27 -0
  656. package/esm/types/mutator-types.d.ts.map +1 -0
  657. package/esm/types/result-types.d.ts +19 -0
  658. package/esm/types/result-types.d.ts.map +1 -0
  659. package/esm/types/rule-types.d.ts +54 -0
  660. package/esm/types/rule-types.d.ts.map +1 -0
  661. package/esm/types/schema-types.d.ts +6 -0
  662. package/esm/types/schema-types.d.ts.map +1 -0
  663. package/esm/validators/any-validator.d.ts +7 -0
  664. package/esm/validators/any-validator.d.ts.map +1 -0
  665. package/esm/validators/any-validator.js +5 -0
  666. package/esm/validators/any-validator.js.map +1 -0
  667. package/esm/validators/array-validator.d.ts +59 -0
  668. package/esm/validators/array-validator.d.ts.map +1 -0
  669. package/esm/validators/array-validator.js +134 -0
  670. package/esm/validators/array-validator.js.map +1 -0
  671. package/esm/validators/base-validator.d.ts +610 -0
  672. package/esm/validators/base-validator.d.ts.map +1 -0
  673. package/esm/validators/base-validator.js +1160 -0
  674. package/esm/validators/base-validator.js.map +1 -0
  675. package/esm/validators/boolean-validator.d.ts +47 -0
  676. package/esm/validators/boolean-validator.d.ts.map +1 -0
  677. package/esm/validators/boolean-validator.js +54 -0
  678. package/esm/validators/boolean-validator.js.map +1 -0
  679. package/esm/validators/computed-validator.d.ts +64 -0
  680. package/esm/validators/computed-validator.d.ts.map +1 -0
  681. package/esm/validators/computed-validator.js +109 -0
  682. package/esm/validators/computed-validator.js.map +1 -0
  683. package/esm/validators/date-validator.d.ts +307 -0
  684. package/esm/validators/date-validator.d.ts.map +1 -0
  685. package/esm/validators/date-validator.js +645 -0
  686. package/esm/validators/date-validator.js.map +1 -0
  687. package/esm/validators/float-validator.d.ts +8 -0
  688. package/esm/validators/float-validator.d.ts.map +1 -0
  689. package/esm/validators/float-validator.js +9 -0
  690. package/esm/validators/float-validator.js.map +1 -0
  691. package/esm/validators/index.d.ts +26 -0
  692. package/esm/validators/index.d.ts.map +1 -0
  693. package/esm/validators/int-validator.d.ts +8 -0
  694. package/esm/validators/int-validator.d.ts.map +1 -0
  695. package/esm/validators/int-validator.js +9 -0
  696. package/esm/validators/int-validator.js.map +1 -0
  697. package/esm/validators/managed-validator.d.ts +38 -0
  698. package/esm/validators/managed-validator.d.ts.map +1 -0
  699. package/esm/validators/managed-validator.js +34 -0
  700. package/esm/validators/managed-validator.js.map +1 -0
  701. package/esm/validators/number-validator.d.ts +113 -0
  702. package/esm/validators/number-validator.d.ts.map +1 -0
  703. package/esm/validators/number-validator.js +192 -0
  704. package/esm/validators/number-validator.js.map +1 -0
  705. package/esm/validators/numeric-validator.d.ts +15 -0
  706. package/esm/validators/numeric-validator.d.ts.map +1 -0
  707. package/esm/validators/numeric-validator.js +18 -0
  708. package/esm/validators/numeric-validator.js.map +1 -0
  709. package/esm/validators/object-validator.d.ts +187 -0
  710. package/esm/validators/object-validator.d.ts.map +1 -0
  711. package/esm/validators/object-validator.js +416 -0
  712. package/esm/validators/object-validator.js.map +1 -0
  713. package/esm/validators/record-validator.d.ts +33 -0
  714. package/esm/validators/record-validator.d.ts.map +1 -0
  715. package/esm/validators/record-validator.js +70 -0
  716. package/esm/validators/record-validator.js.map +1 -0
  717. package/esm/validators/scalar-validator.d.ts +82 -0
  718. package/esm/validators/scalar-validator.d.ts.map +1 -0
  719. package/esm/validators/scalar-validator.js +160 -0
  720. package/esm/validators/scalar-validator.js.map +1 -0
  721. package/esm/validators/string-validator.d.ts +191 -0
  722. package/esm/validators/string-validator.d.ts.map +1 -0
  723. package/esm/validators/string-validator.js +410 -0
  724. package/esm/validators/string-validator.js.map +1 -0
  725. package/esm/validators/tuple-validator.d.ts +34 -0
  726. package/esm/validators/tuple-validator.d.ts.map +1 -0
  727. package/esm/validators/tuple-validator.js +79 -0
  728. package/esm/validators/tuple-validator.js.map +1 -0
  729. package/esm/validators/union-validator.d.ts +42 -0
  730. package/esm/validators/union-validator.d.ts.map +1 -0
  731. package/esm/validators/union-validator.js +44 -0
  732. package/esm/validators/union-validator.js.map +1 -0
  733. package/package.json +47 -36
@@ -0,0 +1,610 @@
1
+ import type { ContextualSchemaRule, ContextualizedMutator, ContextualizedTransformer, Mutator, SchemaContext, SchemaRule, SchemaRuleOptions, SimpleTransformerCallback, TransformerCallback, ValidationAttributesList, ValidationResult, WhenRuleOptions } from "../types";
2
+ /**
3
+ * Base validator class - foundation for all validators
4
+ */
5
+ export declare class BaseValidator {
6
+ rules: ContextualSchemaRule[];
7
+ mutators: ContextualizedMutator[];
8
+ protected defaultValue: any;
9
+ protected description?: string;
10
+ protected shouldOmit: boolean;
11
+ protected isNullable: boolean;
12
+ /**
13
+ * Pipeline to transform the mutated/original data before returning it
14
+ */
15
+ protected dataTransformers: ContextualizedTransformer[];
16
+ /**
17
+ * Attributes text to be replaced on translations
18
+ * If the value is an object, it will be used as the attributes list for the rule
19
+ * If the value is a string, it will be used as the attributes list for the rule
20
+ */
21
+ protected attributesText: ValidationAttributesList;
22
+ /**
23
+ * Attributed that will be always using the attribute translator
24
+ */
25
+ protected translatedAttributes: Record<string, string>;
26
+ /**
27
+ * Get the default value
28
+ * Supports lazy evaluation via callbacks
29
+ */
30
+ getDefaultValue(): any;
31
+ /**
32
+ * Determine if value accepts null value
33
+ */
34
+ nullable(): this;
35
+ /**
36
+ * Explicitly disallow null values after calling nullable
37
+ */
38
+ notNullable(): this;
39
+ /**
40
+ * Add transformer with optional options
41
+ *
42
+ * @param transform - The transformer callback function
43
+ * @param options - Optional options to pass to the transformer
44
+ *
45
+ * @example
46
+ * ```ts
47
+ * // Without options
48
+ * v.date().addTransformer(data => data.toISOString())
49
+ *
50
+ * // With options
51
+ * v.date().addTransformer(
52
+ * (data, { options }) => dayjs(data).format(options.format),
53
+ * { format: 'YYYY-MM-DD' }
54
+ * )
55
+ * ```
56
+ */
57
+ addTransformer(transform: TransformerCallback, options?: any): this;
58
+ /**
59
+ * Transform the output value - simple one-time transformation
60
+ *
61
+ * @param callback - Simple callback receiving data and context
62
+ *
63
+ * @example
64
+ * ```ts
65
+ * // Simple transformation
66
+ * v.string().outputAs(data => data.toUpperCase())
67
+ *
68
+ * // With context
69
+ * v.string().outputAs((data, context) => {
70
+ * console.log(`Transforming ${context.path}`);
71
+ * return data.toLowerCase();
72
+ * })
73
+ * ```
74
+ */
75
+ outputAs(callback: SimpleTransformerCallback): this;
76
+ /**
77
+ * Transform output to JSON string
78
+ *
79
+ * Works with any validator type (string, number, date, object, array, etc.)
80
+ *
81
+ * @param indent - Optional indentation for pretty printing (default: 0 for compact)
82
+ *
83
+ * @example
84
+ * ```ts
85
+ * // Compact JSON
86
+ * v.object({ name: v.string() }).toJSON()
87
+ * // Output: '{"name":"John"}'
88
+ *
89
+ * // Pretty-printed JSON
90
+ * v.array(v.object({...})).toJSON(2)
91
+ * // Output:
92
+ * // [
93
+ * // {
94
+ * // "name": "John"
95
+ * // }
96
+ * // ]
97
+ *
98
+ * // Works with any type
99
+ * v.string().toJSON() // '"hello"'
100
+ * v.number().toJSON() // '42'
101
+ * v.date().toJSON() // '"2024-10-26T00:00:00.000Z"'
102
+ * ```
103
+ *
104
+ * @category Transformer
105
+ */
106
+ toJSON(indent?: number): this;
107
+ /**
108
+ * Start data transformation pipeline
109
+ * Context is passed at runtime, not stored
110
+ */
111
+ startTransformationPipeline(data: any, context: SchemaContext): Promise<any>;
112
+ /**
113
+ * Set attributes text to be replaced on translations
114
+ * If the value is an object, it will be used as the attributes list for the rule
115
+ * If the value is a string, it will be used as the attributes list for the rule
116
+ *
117
+ * @example
118
+ * v.string().attributes({
119
+ * name: "Name",
120
+ * email: "Email",
121
+ * });
122
+ * // Example 2: Add custom attributes for matches
123
+ * v.string().matches("confirmPassword").attributes({
124
+ * matches: {
125
+ * confirmPassword: "Confirm Password",
126
+ * },
127
+ * });
128
+ */
129
+ attributes(attributes: Record<string, string | Record<string, string>>): this;
130
+ /**
131
+ * Define a lazy getter property for each attribute in the given object and use the config attribute translator
132
+ */
133
+ transAttributes(attributes: Record<string, string>): this;
134
+ /**
135
+ * Add description to the validator
136
+ */
137
+ describe(description: string): this;
138
+ /**
139
+ * Check if this validator can handle the given value's type
140
+ * Override this in specific validators to enable type-based routing in union validators
141
+ *
142
+ * Default: returns true (validator will attempt to validate any type)
143
+ *
144
+ * @param value - The value to check
145
+ * @returns True if this validator can handle this type
146
+ *
147
+ * @example
148
+ * ```ts
149
+ * // StringValidator
150
+ * public matchesType(value: any): boolean {
151
+ * return typeof value === 'string';
152
+ * }
153
+ *
154
+ * // Custom FileValidator
155
+ * public matchesType(value: any): boolean {
156
+ * return value instanceof UploadedFile;
157
+ * }
158
+ * ```
159
+ */
160
+ matchesType(_value: any): boolean;
161
+ /**
162
+ * Create a copy of this validator with the same configuration
163
+ * Copies all rules, mutators, transformers, default values, and settings
164
+ *
165
+ * @returns A new validator instance with copied configuration
166
+ *
167
+ * @example
168
+ * ```ts
169
+ * // Create reusable validator templates
170
+ * const baseString = v.string().required().trim().min(3);
171
+ * const emailField = baseString.clone().email();
172
+ * const usernameField = baseString.clone().alphanumeric().max(20);
173
+ *
174
+ * // Works with all validators
175
+ * const positiveInt = v.int().positive().required();
176
+ * const ageField = positiveInt.clone().min(18).max(120);
177
+ * ```
178
+ */
179
+ clone(): this;
180
+ /**
181
+ * @deprecated This method is no longer needed and does nothing.
182
+ * Empty values are now automatically skipped for validation rules by default.
183
+ * Only presence validators (required, present, etc.) will check empty values.
184
+ * You can safely remove this call from your code.
185
+ */
186
+ ignoreEmptyValue(_ignoreEmptyValue?: boolean): this;
187
+ /**
188
+ * Omit this field from the validated data output
189
+ *
190
+ * Field will still be validated but not included in the final result.
191
+ * Useful for confirmation fields, captcha, terms acceptance, etc.
192
+ *
193
+ * @example
194
+ * ```ts
195
+ * v.object({
196
+ * password: v.string().required(),
197
+ * confirmPassword: v.string().required().sameAs("password").omit(),
198
+ * acceptTerms: v.boolean().required().omit(),
199
+ * });
200
+ * // Output: { password: "..." }
201
+ * // confirmPassword and acceptTerms validated but omitted
202
+ * ```
203
+ */
204
+ omit(): this;
205
+ /**
206
+ * @alias omit
207
+ */
208
+ exclude(): this;
209
+ /**
210
+ * Check if this field should be omitted from the output
211
+ */
212
+ isOmitted(): boolean;
213
+ /**
214
+ * Value must be equal to the given value
215
+ */
216
+ equal(value: any, errorMessage?: string): this;
217
+ /**
218
+ * Value must be the same as another field's value
219
+ */
220
+ sameAs(field: string, errorMessage?: string): this;
221
+ /**
222
+ * Value must be the same as another sibling field's value
223
+ */
224
+ sameAsSibling(field: string, errorMessage?: string): this;
225
+ /**
226
+ * Value must be different from another field's value
227
+ */
228
+ differentFrom(field: string, errorMessage?: string): this;
229
+ /**
230
+ * Value must be different from another sibling field's value
231
+ */
232
+ differentFromSibling(field: string, errorMessage?: string): this;
233
+ /**
234
+ * Add rule to the validator
235
+ */
236
+ addRule<T extends SchemaRuleOptions = SchemaRuleOptions>(rule: SchemaRule<T>, errorMessage?: string): ContextualSchemaRule<T>;
237
+ /**
238
+ * Use a custom or pre-built validation rule
239
+ *
240
+ * @param rule - The validation rule to apply
241
+ * @param options - Rule options including errorMessage and any rule-specific options
242
+ *
243
+ * @example
244
+ * ```ts
245
+ * import { hexColorRule } from "@warlock.js/seal";
246
+ *
247
+ * v.string().useRule(hexColorRule, { errorMessage: "Invalid color" });
248
+ * ```
249
+ *
250
+ * @example
251
+ * ```ts
252
+ * // With rule options
253
+ * v.string().useRule(myCustomRule, {
254
+ * customOption: true,
255
+ * errorMessage: "Custom validation failed"
256
+ * });
257
+ * ```
258
+ */
259
+ useRule<T extends SchemaRuleOptions = SchemaRuleOptions>(rule: SchemaRule<T>, options?: T & {
260
+ errorMessage?: string;
261
+ }): this;
262
+ /**
263
+ * Define custom rule
264
+ */
265
+ refine(callback: (value: any, context: SchemaContext) => Promise<string | undefined> | string | undefined): this;
266
+ /**
267
+ * Add mutator to the validator
268
+ */
269
+ addMutator(mutator: Mutator, options?: any): this;
270
+ /**
271
+ * Set default value for the field
272
+ */
273
+ default(value: any): this;
274
+ /**
275
+ * This value must be present and has a value
276
+ */
277
+ required(errorMessage?: string): this;
278
+ /**
279
+ * Value must be present but not necessarily has a value
280
+ */
281
+ present(errorMessage?: string): this;
282
+ /**
283
+ * Mark the field as optional, so pass it if it has no value or has a value
284
+ * Because this is the default behavior, this method is just syntactic sugar
285
+ */
286
+ optional(): this;
287
+ /**
288
+ * Value is required if another field exists
289
+ */
290
+ requiredWith(field: string, errorMessage?: string): this;
291
+ /**
292
+ * Value is required if another sibling field exists
293
+ */
294
+ requiredWithSibling(field: string, errorMessage?: string): this;
295
+ /**
296
+ * Value is required if another field is missing
297
+ */
298
+ requiredWithout(field: string, errorMessage?: string): this;
299
+ /**
300
+ * Value is required if another sibling field is missing
301
+ */
302
+ requiredWithoutSibling(field: string, errorMessage?: string): this;
303
+ /**
304
+ * Value is required if another field equals a specific value
305
+ */
306
+ requiredIf(field: string, value: any, errorMessage?: string): this;
307
+ /**
308
+ * Value is required if another sibling field equals a specific value
309
+ */
310
+ requiredIfSibling(field: string, value: any, errorMessage?: string): this;
311
+ /**
312
+ * Value is required unless another field equals a specific value
313
+ */
314
+ requiredUnless(field: string, value: any, errorMessage?: string): this;
315
+ /**
316
+ * Value is required unless another sibling field equals a specific value
317
+ */
318
+ requiredUnlessSibling(field: string, value: any, errorMessage?: string): this;
319
+ /**
320
+ * Value is required if another field is empty
321
+ */
322
+ requiredIfEmpty(field: string, errorMessage?: string): this;
323
+ /**
324
+ * Value is required if another sibling field is empty
325
+ */
326
+ requiredIfEmptySibling(field: string, errorMessage?: string): this;
327
+ /**
328
+ * Value is required if another field is not empty
329
+ */
330
+ requiredIfNotEmpty(field: string, errorMessage?: string): this;
331
+ /**
332
+ * Value is required if another sibling field is not empty
333
+ */
334
+ requiredIfNotEmptySibling(field: string, errorMessage?: string): this;
335
+ /**
336
+ * Value is required if another field's value is in the given array
337
+ */
338
+ requiredIfIn(field: string, values: any[], errorMessage?: string): this;
339
+ /**
340
+ * Value is required if another sibling field's value is in the given array
341
+ */
342
+ requiredIfInSibling(field: string, values: any[], errorMessage?: string): this;
343
+ /**
344
+ * Value is required if another field's value is NOT in the given array
345
+ */
346
+ requiredIfNotIn(field: string, values: any[], errorMessage?: string): this;
347
+ /**
348
+ * Value is required if another sibling field's value is NOT in the given array
349
+ */
350
+ requiredIfNotInSibling(field: string, values: any[], errorMessage?: string): this;
351
+ /**
352
+ * Value is required if all specified fields exist
353
+ */
354
+ requiredWithAll(fields: string[], errorMessage?: string): this;
355
+ /**
356
+ * Value is required if all specified sibling fields exist
357
+ */
358
+ requiredWithAllSiblings(fields: string[], errorMessage?: string): this;
359
+ /**
360
+ * Value is required if all specified fields are missing
361
+ */
362
+ requiredWithoutAll(fields: string[], errorMessage?: string): this;
363
+ /**
364
+ * Value is required if all specified sibling fields are missing
365
+ */
366
+ requiredWithoutAllSiblings(fields: string[], errorMessage?: string): this;
367
+ /**
368
+ * Value is required if any of the specified fields exists
369
+ */
370
+ requiredWithAny(fields: string[], errorMessage?: string): this;
371
+ /**
372
+ * Value is required if any of the specified sibling fields exists
373
+ */
374
+ requiredWithAnySiblings(fields: string[], errorMessage?: string): this;
375
+ /**
376
+ * Value is required if any of the specified fields is missing
377
+ */
378
+ requiredWithoutAny(fields: string[], errorMessage?: string): this;
379
+ /**
380
+ * Value is required if any of the specified sibling fields is missing
381
+ */
382
+ requiredWithoutAnySiblings(fields: string[], errorMessage?: string): this;
383
+ /**
384
+ * Field must be present if another field exists
385
+ */
386
+ presentWith(field: string, errorMessage?: string): this;
387
+ /**
388
+ * Field must be present if another sibling field exists
389
+ */
390
+ presentWithSibling(field: string, errorMessage?: string): this;
391
+ /**
392
+ * Field must be present if another field is missing
393
+ */
394
+ presentWithout(field: string, errorMessage?: string): this;
395
+ /**
396
+ * Field must be present if another sibling field is missing
397
+ */
398
+ presentWithoutSibling(field: string, errorMessage?: string): this;
399
+ /**
400
+ * Field must be present if another field equals a specific value
401
+ */
402
+ presentIf(field: string, value: any, errorMessage?: string): this;
403
+ /**
404
+ * Field must be present if another sibling field equals a specific value
405
+ */
406
+ presentIfSibling(field: string, value: any, errorMessage?: string): this;
407
+ /**
408
+ * Field must be present unless another field equals a specific value
409
+ */
410
+ presentUnless(field: string, value: any, errorMessage?: string): this;
411
+ /**
412
+ * Field must be present unless another sibling field equals a specific value
413
+ */
414
+ presentUnlessSibling(field: string, value: any, errorMessage?: string): this;
415
+ /**
416
+ * Field must be present if another field is empty
417
+ */
418
+ presentIfEmpty(field: string, errorMessage?: string): this;
419
+ /**
420
+ * Field must be present if another sibling field is empty
421
+ */
422
+ presentIfEmptySibling(field: string, errorMessage?: string): this;
423
+ /**
424
+ * Field must be present if another field is not empty
425
+ */
426
+ presentIfNotEmpty(field: string, errorMessage?: string): this;
427
+ /**
428
+ * Field must be present if another sibling field is not empty
429
+ */
430
+ presentIfNotEmptySibling(field: string, errorMessage?: string): this;
431
+ /**
432
+ * Field must be present if another field's value is in the given array
433
+ */
434
+ presentIfIn(field: string, values: any[], errorMessage?: string): this;
435
+ /**
436
+ * Field must be present if another sibling field's value is in the given array
437
+ */
438
+ presentIfInSibling(field: string, values: any[], errorMessage?: string): this;
439
+ /**
440
+ * Field must be present if another field's value is NOT in the given array
441
+ */
442
+ presentIfNotIn(field: string, values: any[], errorMessage?: string): this;
443
+ /**
444
+ * Field must be present if another sibling field's value is NOT in the given array
445
+ */
446
+ presentIfNotInSibling(field: string, values: any[], errorMessage?: string): this;
447
+ /**
448
+ * Field must be present if all specified fields exist
449
+ */
450
+ presentWithAll(fields: string[], errorMessage?: string): this;
451
+ /**
452
+ * Field must be present if all specified sibling fields exist
453
+ */
454
+ presentWithAllSiblings(fields: string[], errorMessage?: string): this;
455
+ /**
456
+ * Field must be present if all specified fields are missing
457
+ */
458
+ presentWithoutAll(fields: string[], errorMessage?: string): this;
459
+ /**
460
+ * Field must be present if all specified sibling fields are missing
461
+ */
462
+ presentWithoutAllSiblings(fields: string[], errorMessage?: string): this;
463
+ /**
464
+ * Field must be present if any of the specified fields exists
465
+ */
466
+ presentWithAny(fields: string[], errorMessage?: string): this;
467
+ /**
468
+ * Field must be present if any of the specified sibling fields exists
469
+ */
470
+ presentWithAnySiblings(fields: string[], errorMessage?: string): this;
471
+ /**
472
+ * Field must be present if any of the specified fields is missing
473
+ */
474
+ presentWithoutAny(fields: string[], errorMessage?: string): this;
475
+ /**
476
+ * Field must be present if any of the specified sibling fields is missing
477
+ */
478
+ presentWithoutAnySiblings(fields: string[], errorMessage?: string): this;
479
+ /**
480
+ * Mutate the data
481
+ */
482
+ mutate(data: any, context: SchemaContext): Promise<any>;
483
+ /**
484
+ * Value is forbidden to be present
485
+ */
486
+ forbidden(errorMessage?: string): this;
487
+ /**
488
+ * Value is forbidden if another field equals a specific value (global scope)
489
+ */
490
+ forbiddenIf(field: string, value: any, errorMessage?: string): this;
491
+ /**
492
+ * Value is forbidden if another field equals a specific value (sibling scope)
493
+ */
494
+ forbiddenIfSibling(field: string, value: any, errorMessage?: string): this;
495
+ /**
496
+ * Value is forbidden if another field does NOT equal a specific value (global scope)
497
+ */
498
+ forbiddenIfNot(field: string, value: any, errorMessage?: string): this;
499
+ /**
500
+ * Value is forbidden if another field does NOT equal a specific value (sibling scope)
501
+ */
502
+ forbiddenIfNotSibling(field: string, value: any, errorMessage?: string): this;
503
+ /**
504
+ * Value is forbidden if another field is empty (global scope)
505
+ */
506
+ forbiddenIfEmpty(field: string, errorMessage?: string): this;
507
+ /**
508
+ * Value is forbidden if another field is empty (sibling scope)
509
+ */
510
+ forbiddenIfEmptySibling(field: string, errorMessage?: string): this;
511
+ /**
512
+ * Value is forbidden if another field is not empty (global scope)
513
+ */
514
+ forbiddenIfNotEmpty(field: string, errorMessage?: string): this;
515
+ /**
516
+ * Value is forbidden if another field is not empty (sibling scope)
517
+ */
518
+ forbiddenIfNotEmptySibling(field: string, errorMessage?: string): this;
519
+ /**
520
+ * Value is forbidden if another field's value is in the given array (global scope)
521
+ */
522
+ forbiddenIfIn(field: string, values: any[], errorMessage?: string): this;
523
+ /**
524
+ * Value is forbidden if another field's value is in the given array (sibling scope)
525
+ */
526
+ forbiddenIfInSibling(field: string, values: any[], errorMessage?: string): this;
527
+ /**
528
+ * Value is forbidden if another field's value is NOT in the given array (global scope)
529
+ */
530
+ forbiddenIfNotIn(field: string, values: any[], errorMessage?: string): this;
531
+ /**
532
+ * Value is forbidden if another field's value is NOT in the given array (sibling scope)
533
+ */
534
+ forbiddenIfNotInSibling(field: string, values: any[], errorMessage?: string): this;
535
+ /**
536
+ * Apply different validation rules based on another field's value (global scope)
537
+ *
538
+ * Use this when you need to apply completely different validators
539
+ * based on another field's value (not just required/optional).
540
+ *
541
+ * @param field - Field name to check (can be nested with dot notation)
542
+ * @param options - Validation options per field value
543
+ *
544
+ * @example
545
+ * ```ts
546
+ * // Different allowed values based on user type
547
+ * v.object({
548
+ * userType: v.string().in(['admin', 'user']),
549
+ * role: v.string().when('userType', {
550
+ * is: {
551
+ * admin: v.string().in(['super', 'moderator']),
552
+ * user: v.string().in(['member', 'guest'])
553
+ * },
554
+ * otherwise: v.string().optional()
555
+ * })
556
+ * })
557
+ *
558
+ * // Different validation rules based on type
559
+ * v.object({
560
+ * contactType: v.string().in(['email', 'phone']),
561
+ * contact: v.string().when('contactType', {
562
+ * is: {
563
+ * email: v.string().email(),
564
+ * phone: v.string().pattern(/^\d{10}$/)
565
+ * }
566
+ * })
567
+ * })
568
+ * ```
569
+ * @category Conditional Validation
570
+ */
571
+ when(field: string, options: Omit<WhenRuleOptions, "field" | "scope">): this;
572
+ /**
573
+ * Apply different validation rules based on sibling field's value
574
+ *
575
+ * Use this for nested objects where you need to check a field
576
+ * within the same parent object.
577
+ *
578
+ * @param siblingField - Sibling field name to check
579
+ * @param options - Validation options per field value
580
+ *
581
+ * @example
582
+ * ```ts
583
+ * // Array of users with role-based permissions
584
+ * v.array(v.object({
585
+ * userType: v.string().in(['admin', 'user']),
586
+ * permissions: v.string().whenSibling('userType', {
587
+ * is: {
588
+ * admin: v.string().in(['read', 'write', 'delete']),
589
+ * user: v.string().in(['read'])
590
+ * }
591
+ * })
592
+ * }))
593
+ * ```
594
+ * @category Conditional Validation
595
+ */
596
+ whenSibling(siblingField: string, options: Omit<WhenRuleOptions, "field" | "scope">): this;
597
+ /**
598
+ * Set the label for the validator that will be matching the :input attribute
599
+ */
600
+ label(label: string): this;
601
+ /**
602
+ * Validate the data
603
+ */
604
+ validate(data: any, context: SchemaContext): Promise<ValidationResult>;
605
+ /**
606
+ * Set rule attributes list
607
+ */
608
+ protected setRuleAttributesList(rule: ContextualSchemaRule): void;
609
+ }
610
+ //# sourceMappingURL=base-validator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base-validator.d.ts","sourceRoot":"","sources":["../../src/validators/base-validator.ts"],"names":[],"mappings":"AA0CA,OAAO,KAAK,EACV,oBAAoB,EACpB,qBAAqB,EACrB,yBAAyB,EACzB,OAAO,EACP,aAAa,EACb,UAAU,EACV,iBAAiB,EACjB,yBAAyB,EACzB,mBAAmB,EACnB,wBAAwB,EACxB,gBAAgB,EAChB,eAAe,EAChB,MAAM,UAAU,CAAC;AAElB;;GAEG;AACH,qBAAa,aAAa;IACjB,KAAK,EAAE,oBAAoB,EAAE,CAAM;IACnC,QAAQ,EAAE,qBAAqB,EAAE,CAAM;IAC9C,SAAS,CAAC,YAAY,EAAE,GAAG,CAAC;IAC5B,SAAS,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC/B,SAAS,CAAC,UAAU,UAAS;IAC7B,SAAS,CAAC,UAAU,UAAS;IAE7B;;OAEG;IACH,SAAS,CAAC,gBAAgB,EAAE,yBAAyB,EAAE,CAAM;IAE7D;;;;OAIG;IACH,SAAS,CAAC,cAAc,EAAE,wBAAwB,CAAM;IAExD;;OAEG;IACH,SAAS,CAAC,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAM;IAE5D;;;OAGG;IACI,eAAe,IAAI,GAAG;IAI7B;;OAEG;IACI,QAAQ,IAAI,IAAI;IAKvB;;OAEG;IACI,WAAW,IAAI,IAAI;IAK1B;;;;;;;;;;;;;;;;;OAiBG;IACI,cAAc,CAAC,SAAS,EAAE,mBAAmB,EAAE,OAAO,GA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