@openclaw/firecrawl-plugin 2026.9.7 → 2026.10.1-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (850) hide show
  1. package/dist/.setup/{firecrawl-client-S2gdb9zo.mjs → firecrawl-client-Bqyr6x90.mjs} +58 -104
  2. package/dist/.setup/{firecrawl-fetch-provider-Cq_h8okw.mjs → firecrawl-fetch-provider-CcYAp_u6.mjs} +1 -1
  3. package/dist/.setup/{firecrawl-search-provider-DzEHIoq7.mjs → firecrawl-search-provider-lAiZ3IJ5.mjs} +1 -1
  4. package/dist/api.js +1 -1
  5. package/dist/index.js +17 -28
  6. package/dist/web-fetch-contract-api.js +1 -1
  7. package/dist/web-fetch-provider.js +1 -1
  8. package/dist/web-search-contract-api.js +1 -1
  9. package/dist/web-search-provider.js +1 -1
  10. package/package.json +6 -8
  11. package/node_modules/zod/LICENSE +0 -21
  12. package/node_modules/zod/README.md +0 -218
  13. package/node_modules/zod/compile.cjs +0 -96
  14. package/node_modules/zod/compile.d.cts +0 -1
  15. package/node_modules/zod/compile.d.ts +0 -1
  16. package/node_modules/zod/compile.js +0 -52
  17. package/node_modules/zod/index.cjs +0 -52
  18. package/node_modules/zod/index.d.cts +0 -3
  19. package/node_modules/zod/index.d.ts +0 -3
  20. package/node_modules/zod/index.js +0 -7
  21. package/node_modules/zod/locales/index.cjs +0 -36
  22. package/node_modules/zod/locales/index.d.cts +0 -1
  23. package/node_modules/zod/locales/index.d.ts +0 -1
  24. package/node_modules/zod/locales/index.js +0 -1
  25. package/node_modules/zod/locales/package.json +0 -7
  26. package/node_modules/zod/mini/index.cjs +0 -51
  27. package/node_modules/zod/mini/index.d.cts +0 -3
  28. package/node_modules/zod/mini/index.d.ts +0 -3
  29. package/node_modules/zod/mini/index.js +0 -3
  30. package/node_modules/zod/mini/package.json +0 -7
  31. package/node_modules/zod/package.json +0 -147
  32. package/node_modules/zod/src/compile.ts +0 -56
  33. package/node_modules/zod/src/index.ts +0 -7
  34. package/node_modules/zod/src/locales/index.ts +0 -1
  35. package/node_modules/zod/src/mini/index.ts +0 -3
  36. package/node_modules/zod/src/v3/ZodError.ts +0 -340
  37. package/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
  38. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
  39. package/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
  40. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
  41. package/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
  42. package/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
  43. package/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
  44. package/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
  45. package/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
  46. package/node_modules/zod/src/v3/errors.ts +0 -13
  47. package/node_modules/zod/src/v3/external.ts +0 -6
  48. package/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
  49. package/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
  50. package/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
  51. package/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
  52. package/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
  53. package/node_modules/zod/src/v3/helpers/util.ts +0 -224
  54. package/node_modules/zod/src/v3/index.ts +0 -4
  55. package/node_modules/zod/src/v3/locales/en.ts +0 -124
  56. package/node_modules/zod/src/v3/standard-schema.ts +0 -113
  57. package/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
  58. package/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
  59. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
  60. package/node_modules/zod/src/v3/tests/array.test.ts +0 -71
  61. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
  62. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
  63. package/node_modules/zod/src/v3/tests/base.test.ts +0 -29
  64. package/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
  65. package/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
  66. package/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
  67. package/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
  68. package/node_modules/zod/src/v3/tests/complex.test.ts +0 -70
  69. package/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
  70. package/node_modules/zod/src/v3/tests/date.test.ts +0 -32
  71. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
  72. package/node_modules/zod/src/v3/tests/default.test.ts +0 -112
  73. package/node_modules/zod/src/v3/tests/description.test.ts +0 -33
  74. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
  75. package/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
  76. package/node_modules/zod/src/v3/tests/error.test.ts +0 -586
  77. package/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
  78. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
  79. package/node_modules/zod/src/v3/tests/function.test.ts +0 -261
  80. package/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
  81. package/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
  82. package/node_modules/zod/src/v3/tests/intersection.test.ts +0 -128
  83. package/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
  84. package/node_modules/zod/src/v3/tests/language-server.test.ts +0 -206
  85. package/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
  86. package/node_modules/zod/src/v3/tests/map.test.ts +0 -110
  87. package/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
  88. package/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
  89. package/node_modules/zod/src/v3/tests/nan.test.ts +0 -24
  90. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
  91. package/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
  92. package/node_modules/zod/src/v3/tests/number.test.ts +0 -176
  93. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
  94. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
  95. package/node_modules/zod/src/v3/tests/object.test.ts +0 -431
  96. package/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
  97. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
  98. package/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
  99. package/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
  100. package/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
  101. package/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
  102. package/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
  103. package/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
  104. package/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
  105. package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -114
  106. package/node_modules/zod/src/v3/tests/record.test.ts +0 -171
  107. package/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
  108. package/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
  109. package/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
  110. package/node_modules/zod/src/v3/tests/set.test.ts +0 -142
  111. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
  112. package/node_modules/zod/src/v3/tests/string.test.ts +0 -922
  113. package/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
  114. package/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
  115. package/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
  116. package/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
  117. package/node_modules/zod/src/v3/tests/void.test.ts +0 -15
  118. package/node_modules/zod/src/v3/types.ts +0 -5138
  119. package/node_modules/zod/src/v4/classic/checks.ts +0 -33
  120. package/node_modules/zod/src/v4/classic/coerce.ts +0 -27
  121. package/node_modules/zod/src/v4/classic/compat.ts +0 -78
  122. package/node_modules/zod/src/v4/classic/deep-partial.ts +0 -76
  123. package/node_modules/zod/src/v4/classic/errors.ts +0 -97
  124. package/node_modules/zod/src/v4/classic/external.ts +0 -57
  125. package/node_modules/zod/src/v4/classic/from-json-schema.ts +0 -944
  126. package/node_modules/zod/src/v4/classic/in-out.ts +0 -45
  127. package/node_modules/zod/src/v4/classic/index.ts +0 -5
  128. package/node_modules/zod/src/v4/classic/iso.ts +0 -20
  129. package/node_modules/zod/src/v4/classic/parse.ts +0 -88
  130. package/node_modules/zod/src/v4/classic/schemas.ts +0 -2937
  131. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
  132. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +0 -86
  133. package/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
  134. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -402
  135. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
  136. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
  137. package/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
  138. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -89
  139. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -106
  140. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -604
  141. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
  142. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +0 -572
  143. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +0 -704
  144. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
  145. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -374
  146. package/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +0 -76
  147. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
  148. package/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +0 -985
  149. package/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -92
  150. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -316
  151. package/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +0 -380
  152. package/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +0 -32
  153. package/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -455
  154. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +0 -27
  155. package/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
  156. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +0 -221
  157. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -942
  158. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -305
  159. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -917
  160. package/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -1108
  161. package/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -96
  162. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -179
  163. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +0 -26
  164. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +0 -1467
  165. package/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -391
  166. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
  167. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +0 -32
  168. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +0 -67
  169. package/node_modules/zod/src/v4/classic/tests/iban.test.ts +0 -81
  170. package/node_modules/zod/src/v4/classic/tests/in-out.test.ts +0 -159
  171. package/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -958
  172. package/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +0 -319
  173. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -127
  174. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -334
  175. package/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +0 -215
  176. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +0 -39
  177. package/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -109
  178. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -262
  179. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -128
  180. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +0 -29
  181. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +0 -24
  182. package/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -342
  183. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
  184. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
  185. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -101
  186. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
  187. package/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -401
  188. package/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -1006
  189. package/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +0 -235
  190. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -366
  191. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -497
  192. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -211
  193. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -101
  194. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -144
  195. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +0 -44
  196. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -351
  197. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
  198. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  199. package/node_modules/zod/src/v4/classic/tests/properties.test.ts +0 -141
  200. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
  201. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -184
  202. package/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -885
  203. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -707
  204. package/node_modules/zod/src/v4/classic/tests/redos.test.ts +0 -68
  205. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -693
  206. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -243
  207. package/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -190
  208. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -153
  209. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -125
  210. package/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -1440
  211. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -124
  212. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -812
  213. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -438
  214. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -4733
  215. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -378
  216. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -511
  217. package/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -310
  218. package/node_modules/zod/src/v4/classic/tests/url.test.ts +0 -13
  219. package/node_modules/zod/src/v4/classic/tests/validate.test.ts +0 -645
  220. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
  221. package/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
  222. package/node_modules/zod/src/v4/core/api.ts +0 -1875
  223. package/node_modules/zod/src/v4/core/checks.ts +0 -1266
  224. package/node_modules/zod/src/v4/core/compile.ts +0 -2313
  225. package/node_modules/zod/src/v4/core/core.ts +0 -230
  226. package/node_modules/zod/src/v4/core/doc.ts +0 -52
  227. package/node_modules/zod/src/v4/core/errors.ts +0 -543
  228. package/node_modules/zod/src/v4/core/index.ts +0 -19
  229. package/node_modules/zod/src/v4/core/json-schema-generator.ts +0 -131
  230. package/node_modules/zod/src/v4/core/json-schema-processors.ts +0 -934
  231. package/node_modules/zod/src/v4/core/json-schema.ts +0 -148
  232. package/node_modules/zod/src/v4/core/memoizer.ts +0 -331
  233. package/node_modules/zod/src/v4/core/parse.ts +0 -309
  234. package/node_modules/zod/src/v4/core/regexes.ts +0 -217
  235. package/node_modules/zod/src/v4/core/registries.ts +0 -105
  236. package/node_modules/zod/src/v4/core/schemas.ts +0 -5192
  237. package/node_modules/zod/src/v4/core/standard-schema.ts +0 -159
  238. package/node_modules/zod/src/v4/core/tests/cached.test.ts +0 -54
  239. package/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +0 -1004
  240. package/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +0 -445
  241. package/node_modules/zod/src/v4/core/tests/compile-global.test.ts +0 -89
  242. package/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +0 -26
  243. package/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +0 -34
  244. package/node_modules/zod/src/v4/core/tests/compile.test.ts +0 -2036
  245. package/node_modules/zod/src/v4/core/tests/email-regex.test.ts +0 -140
  246. package/node_modules/zod/src/v4/core/tests/extend.test.ts +0 -59
  247. package/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
  248. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
  249. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +0 -214
  250. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  251. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +0 -180
  252. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +0 -72
  253. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +0 -379
  254. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +0 -163
  255. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +0 -46
  256. package/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +0 -42
  257. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
  258. package/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +0 -85
  259. package/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +0 -69
  260. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  261. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +0 -105
  262. package/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +0 -46
  263. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +0 -125
  264. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +0 -45
  265. package/node_modules/zod/src/v4/core/tests/treeshake.test.ts +0 -51
  266. package/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +0 -133
  267. package/node_modules/zod/src/v4/core/to-json-schema.ts +0 -857
  268. package/node_modules/zod/src/v4/core/util.ts +0 -1280
  269. package/node_modules/zod/src/v4/core/versions.ts +0 -5
  270. package/node_modules/zod/src/v4/core/visit.ts +0 -193
  271. package/node_modules/zod/src/v4/core/zsf.ts +0 -323
  272. package/node_modules/zod/src/v4/index.ts +0 -4
  273. package/node_modules/zod/src/v4/locales/ar.ts +0 -120
  274. package/node_modules/zod/src/v4/locales/az.ts +0 -116
  275. package/node_modules/zod/src/v4/locales/be.ts +0 -188
  276. package/node_modules/zod/src/v4/locales/bg.ts +0 -133
  277. package/node_modules/zod/src/v4/locales/bn.ts +0 -123
  278. package/node_modules/zod/src/v4/locales/ca.ts +0 -121
  279. package/node_modules/zod/src/v4/locales/ckb.ts +0 -140
  280. package/node_modules/zod/src/v4/locales/cs.ts +0 -123
  281. package/node_modules/zod/src/v4/locales/da.ts +0 -128
  282. package/node_modules/zod/src/v4/locales/de.ts +0 -121
  283. package/node_modules/zod/src/v4/locales/el.ts +0 -124
  284. package/node_modules/zod/src/v4/locales/en.ts +0 -136
  285. package/node_modules/zod/src/v4/locales/eo.ts +0 -123
  286. package/node_modules/zod/src/v4/locales/es.ts +0 -145
  287. package/node_modules/zod/src/v4/locales/fa.ts +0 -131
  288. package/node_modules/zod/src/v4/locales/fi.ts +0 -126
  289. package/node_modules/zod/src/v4/locales/fr-CA.ts +0 -121
  290. package/node_modules/zod/src/v4/locales/fr.ts +0 -139
  291. package/node_modules/zod/src/v4/locales/gu.ts +0 -123
  292. package/node_modules/zod/src/v4/locales/he.ts +0 -253
  293. package/node_modules/zod/src/v4/locales/hi.ts +0 -126
  294. package/node_modules/zod/src/v4/locales/hr.ts +0 -135
  295. package/node_modules/zod/src/v4/locales/hu.ts +0 -122
  296. package/node_modules/zod/src/v4/locales/hy.ts +0 -175
  297. package/node_modules/zod/src/v4/locales/id.ts +0 -120
  298. package/node_modules/zod/src/v4/locales/index.ts +0 -63
  299. package/node_modules/zod/src/v4/locales/is.ts +0 -124
  300. package/node_modules/zod/src/v4/locales/it.ts +0 -121
  301. package/node_modules/zod/src/v4/locales/ja.ts +0 -119
  302. package/node_modules/zod/src/v4/locales/ka.ts +0 -128
  303. package/node_modules/zod/src/v4/locales/kh.ts +0 -7
  304. package/node_modules/zod/src/v4/locales/km.ts +0 -124
  305. package/node_modules/zod/src/v4/locales/kn.ts +0 -126
  306. package/node_modules/zod/src/v4/locales/ko.ts +0 -126
  307. package/node_modules/zod/src/v4/locales/lt.ts +0 -243
  308. package/node_modules/zod/src/v4/locales/mk.ts +0 -123
  309. package/node_modules/zod/src/v4/locales/ms.ts +0 -120
  310. package/node_modules/zod/src/v4/locales/ne.ts +0 -128
  311. package/node_modules/zod/src/v4/locales/nl.ts +0 -126
  312. package/node_modules/zod/src/v4/locales/nn.ts +0 -121
  313. package/node_modules/zod/src/v4/locales/no.ts +0 -121
  314. package/node_modules/zod/src/v4/locales/ota.ts +0 -122
  315. package/node_modules/zod/src/v4/locales/pl.ts +0 -123
  316. package/node_modules/zod/src/v4/locales/ps.ts +0 -131
  317. package/node_modules/zod/src/v4/locales/pt-BR.ts +0 -161
  318. package/node_modules/zod/src/v4/locales/pt.ts +0 -159
  319. package/node_modules/zod/src/v4/locales/ro.ts +0 -132
  320. package/node_modules/zod/src/v4/locales/ru.ts +0 -188
  321. package/node_modules/zod/src/v4/locales/sk.ts +0 -123
  322. package/node_modules/zod/src/v4/locales/sl.ts +0 -123
  323. package/node_modules/zod/src/v4/locales/sv.ts +0 -124
  324. package/node_modules/zod/src/v4/locales/ta.ts +0 -123
  325. package/node_modules/zod/src/v4/locales/tg.ts +0 -135
  326. package/node_modules/zod/src/v4/locales/th.ts +0 -124
  327. package/node_modules/zod/src/v4/locales/tk.ts +0 -113
  328. package/node_modules/zod/src/v4/locales/tr.ts +0 -116
  329. package/node_modules/zod/src/v4/locales/ua.ts +0 -7
  330. package/node_modules/zod/src/v4/locales/uk.ts +0 -122
  331. package/node_modules/zod/src/v4/locales/ur.ts +0 -124
  332. package/node_modules/zod/src/v4/locales/uz.ts +0 -120
  333. package/node_modules/zod/src/v4/locales/vi.ts +0 -122
  334. package/node_modules/zod/src/v4/locales/yo.ts +0 -129
  335. package/node_modules/zod/src/v4/locales/zh-CN.ts +0 -121
  336. package/node_modules/zod/src/v4/locales/zh-TW.ts +0 -120
  337. package/node_modules/zod/src/v4/mini/checks.ts +0 -33
  338. package/node_modules/zod/src/v4/mini/coerce.ts +0 -27
  339. package/node_modules/zod/src/v4/mini/deep-partial.ts +0 -73
  340. package/node_modules/zod/src/v4/mini/external.ts +0 -52
  341. package/node_modules/zod/src/v4/mini/in-out.ts +0 -45
  342. package/node_modules/zod/src/v4/mini/index.ts +0 -3
  343. package/node_modules/zod/src/v4/mini/iso.ts +0 -66
  344. package/node_modules/zod/src/v4/mini/parse.ts +0 -16
  345. package/node_modules/zod/src/v4/mini/schemas.ts +0 -2051
  346. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +0 -57
  347. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -190
  348. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -94
  349. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -158
  350. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +0 -582
  351. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -30
  352. package/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +0 -84
  353. package/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +0 -54
  354. package/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -41
  355. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -14
  356. package/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -1146
  357. package/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -109
  358. package/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -292
  359. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
  360. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -341
  361. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +0 -50
  362. package/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -396
  363. package/node_modules/zod/src/v4-mini/index.ts +0 -3
  364. package/node_modules/zod/v3/ZodError.cjs +0 -167
  365. package/node_modules/zod/v3/ZodError.d.cts +0 -164
  366. package/node_modules/zod/v3/ZodError.d.ts +0 -164
  367. package/node_modules/zod/v3/ZodError.js +0 -143
  368. package/node_modules/zod/v3/errors.cjs +0 -36
  369. package/node_modules/zod/v3/errors.d.cts +0 -5
  370. package/node_modules/zod/v3/errors.d.ts +0 -5
  371. package/node_modules/zod/v3/errors.js +0 -9
  372. package/node_modules/zod/v3/external.cjs +0 -41
  373. package/node_modules/zod/v3/external.d.cts +0 -6
  374. package/node_modules/zod/v3/external.d.ts +0 -6
  375. package/node_modules/zod/v3/external.js +0 -6
  376. package/node_modules/zod/v3/helpers/enumUtil.cjs +0 -21
  377. package/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
  378. package/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
  379. package/node_modules/zod/v3/helpers/enumUtil.js +0 -1
  380. package/node_modules/zod/v3/helpers/errorUtil.cjs +0 -28
  381. package/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
  382. package/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
  383. package/node_modules/zod/v3/helpers/errorUtil.js +0 -6
  384. package/node_modules/zod/v3/helpers/parseUtil.cjs +0 -143
  385. package/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
  386. package/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
  387. package/node_modules/zod/v3/helpers/parseUtil.js +0 -109
  388. package/node_modules/zod/v3/helpers/partialUtil.cjs +0 -21
  389. package/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
  390. package/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
  391. package/node_modules/zod/v3/helpers/partialUtil.js +0 -1
  392. package/node_modules/zod/v3/helpers/typeAliases.cjs +0 -21
  393. package/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
  394. package/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
  395. package/node_modules/zod/v3/helpers/typeAliases.js +0 -1
  396. package/node_modules/zod/v3/helpers/util.cjs +0 -156
  397. package/node_modules/zod/v3/helpers/util.d.cts +0 -85
  398. package/node_modules/zod/v3/helpers/util.d.ts +0 -85
  399. package/node_modules/zod/v3/helpers/util.js +0 -133
  400. package/node_modules/zod/v3/index.cjs +0 -52
  401. package/node_modules/zod/v3/index.d.cts +0 -4
  402. package/node_modules/zod/v3/index.d.ts +0 -4
  403. package/node_modules/zod/v3/index.js +0 -4
  404. package/node_modules/zod/v3/locales/en.cjs +0 -112
  405. package/node_modules/zod/v3/locales/en.d.cts +0 -3
  406. package/node_modules/zod/v3/locales/en.d.ts +0 -3
  407. package/node_modules/zod/v3/locales/en.js +0 -109
  408. package/node_modules/zod/v3/package.json +0 -7
  409. package/node_modules/zod/v3/standard-schema.cjs +0 -21
  410. package/node_modules/zod/v3/standard-schema.d.cts +0 -102
  411. package/node_modules/zod/v3/standard-schema.d.ts +0 -102
  412. package/node_modules/zod/v3/standard-schema.js +0 -1
  413. package/node_modules/zod/v3/types.cjs +0 -3798
  414. package/node_modules/zod/v3/types.d.cts +0 -1034
  415. package/node_modules/zod/v3/types.d.ts +0 -1034
  416. package/node_modules/zod/v3/types.js +0 -3697
  417. package/node_modules/zod/v4/classic/checks.cjs +0 -53
  418. package/node_modules/zod/v4/classic/checks.d.cts +0 -1
  419. package/node_modules/zod/v4/classic/checks.d.ts +0 -1
  420. package/node_modules/zod/v4/classic/checks.js +0 -1
  421. package/node_modules/zod/v4/classic/coerce.cjs +0 -66
  422. package/node_modules/zod/v4/classic/coerce.d.cts +0 -17
  423. package/node_modules/zod/v4/classic/coerce.d.ts +0 -17
  424. package/node_modules/zod/v4/classic/coerce.js +0 -17
  425. package/node_modules/zod/v4/classic/compat.cjs +0 -80
  426. package/node_modules/zod/v4/classic/compat.d.cts +0 -48
  427. package/node_modules/zod/v4/classic/compat.d.ts +0 -48
  428. package/node_modules/zod/v4/classic/compat.js +0 -31
  429. package/node_modules/zod/v4/classic/deep-partial.cjs +0 -58
  430. package/node_modules/zod/v4/classic/deep-partial.d.cts +0 -14
  431. package/node_modules/zod/v4/classic/deep-partial.d.ts +0 -14
  432. package/node_modules/zod/v4/classic/deep-partial.js +0 -13
  433. package/node_modules/zod/v4/classic/errors.cjs +0 -102
  434. package/node_modules/zod/v4/classic/errors.d.cts +0 -29
  435. package/node_modules/zod/v4/classic/errors.d.ts +0 -29
  436. package/node_modules/zod/v4/classic/errors.js +0 -57
  437. package/node_modules/zod/v4/classic/external.cjs +0 -97
  438. package/node_modules/zod/v4/classic/external.d.cts +0 -19
  439. package/node_modules/zod/v4/classic/external.d.ts +0 -19
  440. package/node_modules/zod/v4/classic/external.js +0 -17
  441. package/node_modules/zod/v4/classic/from-json-schema.cjs +0 -926
  442. package/node_modules/zod/v4/classic/from-json-schema.d.cts +0 -12
  443. package/node_modules/zod/v4/classic/from-json-schema.d.ts +0 -12
  444. package/node_modules/zod/v4/classic/from-json-schema.js +0 -881
  445. package/node_modules/zod/v4/classic/in-out.cjs +0 -82
  446. package/node_modules/zod/v4/classic/in-out.d.cts +0 -8
  447. package/node_modules/zod/v4/classic/in-out.d.ts +0 -8
  448. package/node_modules/zod/v4/classic/in-out.js +0 -36
  449. package/node_modules/zod/v4/classic/index.cjs +0 -52
  450. package/node_modules/zod/v4/classic/index.d.cts +0 -3
  451. package/node_modules/zod/v4/classic/index.d.ts +0 -3
  452. package/node_modules/zod/v4/classic/index.js +0 -4
  453. package/node_modules/zod/v4/classic/iso.cjs +0 -68
  454. package/node_modules/zod/v4/classic/iso.d.cts +0 -7
  455. package/node_modules/zod/v4/classic/iso.d.ts +0 -7
  456. package/node_modules/zod/v4/classic/iso.js +0 -15
  457. package/node_modules/zod/v4/classic/package.json +0 -7
  458. package/node_modules/zod/v4/classic/parse.cjs +0 -63
  459. package/node_modules/zod/v4/classic/parse.d.cts +0 -44
  460. package/node_modules/zod/v4/classic/parse.d.ts +0 -44
  461. package/node_modules/zod/v4/classic/parse.js +0 -16
  462. package/node_modules/zod/v4/classic/schemas.cjs +0 -1676
  463. package/node_modules/zod/v4/classic/schemas.d.cts +0 -816
  464. package/node_modules/zod/v4/classic/schemas.d.ts +0 -816
  465. package/node_modules/zod/v4/classic/schemas.js +0 -1535
  466. package/node_modules/zod/v4/core/api.cjs +0 -1269
  467. package/node_modules/zod/v4/core/api.d.cts +0 -335
  468. package/node_modules/zod/v4/core/api.d.ts +0 -335
  469. package/node_modules/zod/v4/core/api.js +0 -1107
  470. package/node_modules/zod/v4/core/checks.cjs +0 -561
  471. package/node_modules/zod/v4/core/checks.d.cts +0 -294
  472. package/node_modules/zod/v4/core/checks.d.ts +0 -294
  473. package/node_modules/zod/v4/core/checks.js +0 -516
  474. package/node_modules/zod/v4/core/compile.cjs +0 -1908
  475. package/node_modules/zod/v4/core/compile.d.cts +0 -65
  476. package/node_modules/zod/v4/core/compile.d.ts +0 -65
  477. package/node_modules/zod/v4/core/compile.js +0 -1858
  478. package/node_modules/zod/v4/core/core.cjs +0 -167
  479. package/node_modules/zod/v4/core/core.d.cts +0 -82
  480. package/node_modules/zod/v4/core/core.d.ts +0 -82
  481. package/node_modules/zod/v4/core/core.js +0 -141
  482. package/node_modules/zod/v4/core/doc.cjs +0 -61
  483. package/node_modules/zod/v4/core/doc.d.cts +0 -16
  484. package/node_modules/zod/v4/core/doc.d.ts +0 -16
  485. package/node_modules/zod/v4/core/doc.js +0 -38
  486. package/node_modules/zod/v4/core/errors.cjs +0 -317
  487. package/node_modules/zod/v4/core/errors.d.cts +0 -225
  488. package/node_modules/zod/v4/core/errors.d.ts +0 -225
  489. package/node_modules/zod/v4/core/errors.js +0 -267
  490. package/node_modules/zod/v4/core/index.cjs +0 -70
  491. package/node_modules/zod/v4/core/index.d.cts +0 -19
  492. package/node_modules/zod/v4/core/index.d.ts +0 -19
  493. package/node_modules/zod/v4/core/index.js +0 -19
  494. package/node_modules/zod/v4/core/json-schema-generator.cjs +0 -122
  495. package/node_modules/zod/v4/core/json-schema-generator.d.cts +0 -65
  496. package/node_modules/zod/v4/core/json-schema-generator.d.ts +0 -65
  497. package/node_modules/zod/v4/core/json-schema-generator.js +0 -99
  498. package/node_modules/zod/v4/core/json-schema-processors.cjs +0 -929
  499. package/node_modules/zod/v4/core/json-schema-processors.d.cts +0 -65
  500. package/node_modules/zod/v4/core/json-schema-processors.d.ts +0 -65
  501. package/node_modules/zod/v4/core/json-schema-processors.js +0 -843
  502. package/node_modules/zod/v4/core/json-schema.cjs +0 -21
  503. package/node_modules/zod/v4/core/json-schema.d.cts +0 -89
  504. package/node_modules/zod/v4/core/json-schema.d.ts +0 -89
  505. package/node_modules/zod/v4/core/json-schema.js +0 -1
  506. package/node_modules/zod/v4/core/memoizer.cjs +0 -360
  507. package/node_modules/zod/v4/core/memoizer.d.cts +0 -15
  508. package/node_modules/zod/v4/core/memoizer.d.ts +0 -15
  509. package/node_modules/zod/v4/core/memoizer.js +0 -311
  510. package/node_modules/zod/v4/core/package.json +0 -7
  511. package/node_modules/zod/v4/core/parse.cjs +0 -233
  512. package/node_modules/zod/v4/core/parse.d.cts +0 -52
  513. package/node_modules/zod/v4/core/parse.d.ts +0 -52
  514. package/node_modules/zod/v4/core/parse.js +0 -175
  515. package/node_modules/zod/v4/core/regexes.cjs +0 -209
  516. package/node_modules/zod/v4/core/regexes.d.cts +0 -90
  517. package/node_modules/zod/v4/core/regexes.d.ts +0 -90
  518. package/node_modules/zod/v4/core/regexes.js +0 -156
  519. package/node_modules/zod/v4/core/registries.cjs +0 -75
  520. package/node_modules/zod/v4/core/registries.d.cts +0 -35
  521. package/node_modules/zod/v4/core/registries.d.ts +0 -35
  522. package/node_modules/zod/v4/core/registries.js +0 -51
  523. package/node_modules/zod/v4/core/schemas.cjs +0 -2669
  524. package/node_modules/zod/v4/core/schemas.d.cts +0 -1273
  525. package/node_modules/zod/v4/core/schemas.d.ts +0 -1273
  526. package/node_modules/zod/v4/core/schemas.js +0 -2606
  527. package/node_modules/zod/v4/core/standard-schema.cjs +0 -21
  528. package/node_modules/zod/v4/core/standard-schema.d.cts +0 -126
  529. package/node_modules/zod/v4/core/standard-schema.d.ts +0 -126
  530. package/node_modules/zod/v4/core/standard-schema.js +0 -1
  531. package/node_modules/zod/v4/core/to-json-schema.cjs +0 -681
  532. package/node_modules/zod/v4/core/to-json-schema.d.cts +0 -154
  533. package/node_modules/zod/v4/core/to-json-schema.d.ts +0 -154
  534. package/node_modules/zod/v4/core/to-json-schema.js +0 -651
  535. package/node_modules/zod/v4/core/util.cjs +0 -949
  536. package/node_modules/zod/v4/core/util.d.cts +0 -278
  537. package/node_modules/zod/v4/core/util.d.ts +0 -278
  538. package/node_modules/zod/v4/core/util.js +0 -859
  539. package/node_modules/zod/v4/core/versions.cjs +0 -27
  540. package/node_modules/zod/v4/core/versions.d.cts +0 -5
  541. package/node_modules/zod/v4/core/versions.d.ts +0 -5
  542. package/node_modules/zod/v4/core/versions.js +0 -5
  543. package/node_modules/zod/v4/core/visit.cjs +0 -214
  544. package/node_modules/zod/v4/core/visit.d.cts +0 -30
  545. package/node_modules/zod/v4/core/visit.d.ts +0 -30
  546. package/node_modules/zod/v4/core/visit.js +0 -169
  547. package/node_modules/zod/v4/index.cjs +0 -51
  548. package/node_modules/zod/v4/index.d.cts +0 -3
  549. package/node_modules/zod/v4/index.d.ts +0 -3
  550. package/node_modules/zod/v4/index.js +0 -4
  551. package/node_modules/zod/v4/locales/ar.cjs +0 -138
  552. package/node_modules/zod/v4/locales/ar.d.cts +0 -5
  553. package/node_modules/zod/v4/locales/ar.d.ts +0 -4
  554. package/node_modules/zod/v4/locales/ar.js +0 -111
  555. package/node_modules/zod/v4/locales/az.cjs +0 -137
  556. package/node_modules/zod/v4/locales/az.d.cts +0 -5
  557. package/node_modules/zod/v4/locales/az.d.ts +0 -4
  558. package/node_modules/zod/v4/locales/az.js +0 -110
  559. package/node_modules/zod/v4/locales/be.cjs +0 -195
  560. package/node_modules/zod/v4/locales/be.d.cts +0 -5
  561. package/node_modules/zod/v4/locales/be.d.ts +0 -4
  562. package/node_modules/zod/v4/locales/be.js +0 -168
  563. package/node_modules/zod/v4/locales/bg.cjs +0 -152
  564. package/node_modules/zod/v4/locales/bg.d.cts +0 -5
  565. package/node_modules/zod/v4/locales/bg.d.ts +0 -4
  566. package/node_modules/zod/v4/locales/bg.js +0 -125
  567. package/node_modules/zod/v4/locales/bn.cjs +0 -140
  568. package/node_modules/zod/v4/locales/bn.d.cts +0 -5
  569. package/node_modules/zod/v4/locales/bn.d.ts +0 -4
  570. package/node_modules/zod/v4/locales/bn.js +0 -113
  571. package/node_modules/zod/v4/locales/ca.cjs +0 -139
  572. package/node_modules/zod/v4/locales/ca.d.cts +0 -5
  573. package/node_modules/zod/v4/locales/ca.d.ts +0 -4
  574. package/node_modules/zod/v4/locales/ca.js +0 -112
  575. package/node_modules/zod/v4/locales/ckb.cjs +0 -160
  576. package/node_modules/zod/v4/locales/ckb.d.cts +0 -5
  577. package/node_modules/zod/v4/locales/ckb.d.ts +0 -4
  578. package/node_modules/zod/v4/locales/ckb.js +0 -133
  579. package/node_modules/zod/v4/locales/cs.cjs +0 -143
  580. package/node_modules/zod/v4/locales/cs.d.cts +0 -5
  581. package/node_modules/zod/v4/locales/cs.d.ts +0 -4
  582. package/node_modules/zod/v4/locales/cs.js +0 -116
  583. package/node_modules/zod/v4/locales/da.cjs +0 -147
  584. package/node_modules/zod/v4/locales/da.d.cts +0 -5
  585. package/node_modules/zod/v4/locales/da.d.ts +0 -4
  586. package/node_modules/zod/v4/locales/da.js +0 -120
  587. package/node_modules/zod/v4/locales/de.cjs +0 -140
  588. package/node_modules/zod/v4/locales/de.d.cts +0 -5
  589. package/node_modules/zod/v4/locales/de.d.ts +0 -4
  590. package/node_modules/zod/v4/locales/de.js +0 -113
  591. package/node_modules/zod/v4/locales/el.cjs +0 -139
  592. package/node_modules/zod/v4/locales/el.d.cts +0 -5
  593. package/node_modules/zod/v4/locales/el.d.ts +0 -4
  594. package/node_modules/zod/v4/locales/el.js +0 -112
  595. package/node_modules/zod/v4/locales/en.cjs +0 -152
  596. package/node_modules/zod/v4/locales/en.d.cts +0 -5
  597. package/node_modules/zod/v4/locales/en.d.ts +0 -4
  598. package/node_modules/zod/v4/locales/en.js +0 -125
  599. package/node_modules/zod/v4/locales/eo.cjs +0 -141
  600. package/node_modules/zod/v4/locales/eo.d.cts +0 -5
  601. package/node_modules/zod/v4/locales/eo.d.ts +0 -4
  602. package/node_modules/zod/v4/locales/eo.js +0 -114
  603. package/node_modules/zod/v4/locales/es.cjs +0 -163
  604. package/node_modules/zod/v4/locales/es.d.cts +0 -5
  605. package/node_modules/zod/v4/locales/es.d.ts +0 -4
  606. package/node_modules/zod/v4/locales/es.js +0 -136
  607. package/node_modules/zod/v4/locales/fa.cjs +0 -146
  608. package/node_modules/zod/v4/locales/fa.d.cts +0 -5
  609. package/node_modules/zod/v4/locales/fa.d.ts +0 -4
  610. package/node_modules/zod/v4/locales/fa.js +0 -119
  611. package/node_modules/zod/v4/locales/fi.cjs +0 -144
  612. package/node_modules/zod/v4/locales/fi.d.cts +0 -5
  613. package/node_modules/zod/v4/locales/fi.d.ts +0 -4
  614. package/node_modules/zod/v4/locales/fi.js +0 -117
  615. package/node_modules/zod/v4/locales/fr-CA.cjs +0 -139
  616. package/node_modules/zod/v4/locales/fr-CA.d.cts +0 -5
  617. package/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
  618. package/node_modules/zod/v4/locales/fr-CA.js +0 -112
  619. package/node_modules/zod/v4/locales/fr.cjs +0 -156
  620. package/node_modules/zod/v4/locales/fr.d.cts +0 -5
  621. package/node_modules/zod/v4/locales/fr.d.ts +0 -4
  622. package/node_modules/zod/v4/locales/fr.js +0 -129
  623. package/node_modules/zod/v4/locales/gu.cjs +0 -140
  624. package/node_modules/zod/v4/locales/gu.d.cts +0 -5
  625. package/node_modules/zod/v4/locales/gu.d.ts +0 -4
  626. package/node_modules/zod/v4/locales/gu.js +0 -113
  627. package/node_modules/zod/v4/locales/he.cjs +0 -248
  628. package/node_modules/zod/v4/locales/he.d.cts +0 -5
  629. package/node_modules/zod/v4/locales/he.d.ts +0 -4
  630. package/node_modules/zod/v4/locales/he.js +0 -221
  631. package/node_modules/zod/v4/locales/hi.cjs +0 -138
  632. package/node_modules/zod/v4/locales/hi.d.cts +0 -5
  633. package/node_modules/zod/v4/locales/hi.d.ts +0 -4
  634. package/node_modules/zod/v4/locales/hi.js +0 -111
  635. package/node_modules/zod/v4/locales/hr.cjs +0 -153
  636. package/node_modules/zod/v4/locales/hr.d.cts +0 -5
  637. package/node_modules/zod/v4/locales/hr.d.ts +0 -4
  638. package/node_modules/zod/v4/locales/hr.js +0 -126
  639. package/node_modules/zod/v4/locales/hu.cjs +0 -140
  640. package/node_modules/zod/v4/locales/hu.d.cts +0 -5
  641. package/node_modules/zod/v4/locales/hu.d.ts +0 -4
  642. package/node_modules/zod/v4/locales/hu.js +0 -113
  643. package/node_modules/zod/v4/locales/hy.cjs +0 -185
  644. package/node_modules/zod/v4/locales/hy.d.cts +0 -5
  645. package/node_modules/zod/v4/locales/hy.d.ts +0 -4
  646. package/node_modules/zod/v4/locales/hy.js +0 -158
  647. package/node_modules/zod/v4/locales/id.cjs +0 -138
  648. package/node_modules/zod/v4/locales/id.d.cts +0 -5
  649. package/node_modules/zod/v4/locales/id.d.ts +0 -4
  650. package/node_modules/zod/v4/locales/id.js +0 -111
  651. package/node_modules/zod/v4/locales/index.cjs +0 -152
  652. package/node_modules/zod/v4/locales/index.d.cts +0 -63
  653. package/node_modules/zod/v4/locales/index.d.ts +0 -63
  654. package/node_modules/zod/v4/locales/index.js +0 -63
  655. package/node_modules/zod/v4/locales/is.cjs +0 -141
  656. package/node_modules/zod/v4/locales/is.d.cts +0 -5
  657. package/node_modules/zod/v4/locales/is.d.ts +0 -4
  658. package/node_modules/zod/v4/locales/is.js +0 -114
  659. package/node_modules/zod/v4/locales/it.cjs +0 -140
  660. package/node_modules/zod/v4/locales/it.d.cts +0 -5
  661. package/node_modules/zod/v4/locales/it.d.ts +0 -4
  662. package/node_modules/zod/v4/locales/it.js +0 -113
  663. package/node_modules/zod/v4/locales/ja.cjs +0 -139
  664. package/node_modules/zod/v4/locales/ja.d.cts +0 -5
  665. package/node_modules/zod/v4/locales/ja.d.ts +0 -4
  666. package/node_modules/zod/v4/locales/ja.js +0 -112
  667. package/node_modules/zod/v4/locales/ka.cjs +0 -144
  668. package/node_modules/zod/v4/locales/ka.d.cts +0 -5
  669. package/node_modules/zod/v4/locales/ka.d.ts +0 -4
  670. package/node_modules/zod/v4/locales/ka.js +0 -117
  671. package/node_modules/zod/v4/locales/kh.cjs +0 -12
  672. package/node_modules/zod/v4/locales/kh.d.cts +0 -5
  673. package/node_modules/zod/v4/locales/kh.d.ts +0 -5
  674. package/node_modules/zod/v4/locales/kh.js +0 -5
  675. package/node_modules/zod/v4/locales/km.cjs +0 -142
  676. package/node_modules/zod/v4/locales/km.d.cts +0 -5
  677. package/node_modules/zod/v4/locales/km.d.ts +0 -4
  678. package/node_modules/zod/v4/locales/km.js +0 -115
  679. package/node_modules/zod/v4/locales/kn.cjs +0 -143
  680. package/node_modules/zod/v4/locales/kn.d.cts +0 -5
  681. package/node_modules/zod/v4/locales/kn.d.ts +0 -4
  682. package/node_modules/zod/v4/locales/kn.js +0 -116
  683. package/node_modules/zod/v4/locales/ko.cjs +0 -143
  684. package/node_modules/zod/v4/locales/ko.d.cts +0 -5
  685. package/node_modules/zod/v4/locales/ko.d.ts +0 -4
  686. package/node_modules/zod/v4/locales/ko.js +0 -116
  687. package/node_modules/zod/v4/locales/lt.cjs +0 -234
  688. package/node_modules/zod/v4/locales/lt.d.cts +0 -5
  689. package/node_modules/zod/v4/locales/lt.d.ts +0 -4
  690. package/node_modules/zod/v4/locales/lt.js +0 -207
  691. package/node_modules/zod/v4/locales/mk.cjs +0 -141
  692. package/node_modules/zod/v4/locales/mk.d.cts +0 -5
  693. package/node_modules/zod/v4/locales/mk.d.ts +0 -4
  694. package/node_modules/zod/v4/locales/mk.js +0 -114
  695. package/node_modules/zod/v4/locales/ms.cjs +0 -139
  696. package/node_modules/zod/v4/locales/ms.d.cts +0 -5
  697. package/node_modules/zod/v4/locales/ms.d.ts +0 -4
  698. package/node_modules/zod/v4/locales/ms.js +0 -112
  699. package/node_modules/zod/v4/locales/ne.cjs +0 -138
  700. package/node_modules/zod/v4/locales/ne.d.cts +0 -5
  701. package/node_modules/zod/v4/locales/ne.d.ts +0 -4
  702. package/node_modules/zod/v4/locales/ne.js +0 -111
  703. package/node_modules/zod/v4/locales/nl.cjs +0 -142
  704. package/node_modules/zod/v4/locales/nl.d.cts +0 -5
  705. package/node_modules/zod/v4/locales/nl.d.ts +0 -4
  706. package/node_modules/zod/v4/locales/nl.js +0 -115
  707. package/node_modules/zod/v4/locales/nn.cjs +0 -140
  708. package/node_modules/zod/v4/locales/nn.d.cts +0 -5
  709. package/node_modules/zod/v4/locales/nn.d.ts +0 -4
  710. package/node_modules/zod/v4/locales/nn.js +0 -113
  711. package/node_modules/zod/v4/locales/no.cjs +0 -140
  712. package/node_modules/zod/v4/locales/no.d.cts +0 -5
  713. package/node_modules/zod/v4/locales/no.d.ts +0 -4
  714. package/node_modules/zod/v4/locales/no.js +0 -113
  715. package/node_modules/zod/v4/locales/ota.cjs +0 -141
  716. package/node_modules/zod/v4/locales/ota.d.cts +0 -5
  717. package/node_modules/zod/v4/locales/ota.d.ts +0 -4
  718. package/node_modules/zod/v4/locales/ota.js +0 -114
  719. package/node_modules/zod/v4/locales/package.json +0 -7
  720. package/node_modules/zod/v4/locales/pl.cjs +0 -141
  721. package/node_modules/zod/v4/locales/pl.d.cts +0 -5
  722. package/node_modules/zod/v4/locales/pl.d.ts +0 -4
  723. package/node_modules/zod/v4/locales/pl.js +0 -114
  724. package/node_modules/zod/v4/locales/ps.cjs +0 -146
  725. package/node_modules/zod/v4/locales/ps.d.cts +0 -5
  726. package/node_modules/zod/v4/locales/ps.d.ts +0 -4
  727. package/node_modules/zod/v4/locales/ps.js +0 -119
  728. package/node_modules/zod/v4/locales/pt-BR.cjs +0 -170
  729. package/node_modules/zod/v4/locales/pt-BR.d.cts +0 -5
  730. package/node_modules/zod/v4/locales/pt-BR.d.ts +0 -4
  731. package/node_modules/zod/v4/locales/pt-BR.js +0 -143
  732. package/node_modules/zod/v4/locales/pt.cjs +0 -169
  733. package/node_modules/zod/v4/locales/pt.d.cts +0 -5
  734. package/node_modules/zod/v4/locales/pt.d.ts +0 -4
  735. package/node_modules/zod/v4/locales/pt.js +0 -142
  736. package/node_modules/zod/v4/locales/ro.cjs +0 -149
  737. package/node_modules/zod/v4/locales/ro.d.cts +0 -5
  738. package/node_modules/zod/v4/locales/ro.d.ts +0 -4
  739. package/node_modules/zod/v4/locales/ro.js +0 -122
  740. package/node_modules/zod/v4/locales/ru.cjs +0 -195
  741. package/node_modules/zod/v4/locales/ru.d.cts +0 -5
  742. package/node_modules/zod/v4/locales/ru.d.ts +0 -4
  743. package/node_modules/zod/v4/locales/ru.js +0 -168
  744. package/node_modules/zod/v4/locales/sk.cjs +0 -143
  745. package/node_modules/zod/v4/locales/sk.d.cts +0 -5
  746. package/node_modules/zod/v4/locales/sk.d.ts +0 -4
  747. package/node_modules/zod/v4/locales/sk.js +0 -116
  748. package/node_modules/zod/v4/locales/sl.cjs +0 -141
  749. package/node_modules/zod/v4/locales/sl.d.cts +0 -5
  750. package/node_modules/zod/v4/locales/sl.d.ts +0 -4
  751. package/node_modules/zod/v4/locales/sl.js +0 -114
  752. package/node_modules/zod/v4/locales/sv.cjs +0 -142
  753. package/node_modules/zod/v4/locales/sv.d.cts +0 -5
  754. package/node_modules/zod/v4/locales/sv.d.ts +0 -4
  755. package/node_modules/zod/v4/locales/sv.js +0 -115
  756. package/node_modules/zod/v4/locales/ta.cjs +0 -142
  757. package/node_modules/zod/v4/locales/ta.d.cts +0 -5
  758. package/node_modules/zod/v4/locales/ta.d.ts +0 -4
  759. package/node_modules/zod/v4/locales/ta.js +0 -115
  760. package/node_modules/zod/v4/locales/tg.cjs +0 -144
  761. package/node_modules/zod/v4/locales/tg.d.cts +0 -5
  762. package/node_modules/zod/v4/locales/tg.d.ts +0 -4
  763. package/node_modules/zod/v4/locales/tg.js +0 -117
  764. package/node_modules/zod/v4/locales/th.cjs +0 -142
  765. package/node_modules/zod/v4/locales/th.d.cts +0 -5
  766. package/node_modules/zod/v4/locales/th.d.ts +0 -4
  767. package/node_modules/zod/v4/locales/th.js +0 -115
  768. package/node_modules/zod/v4/locales/tk.cjs +0 -134
  769. package/node_modules/zod/v4/locales/tk.d.cts +0 -5
  770. package/node_modules/zod/v4/locales/tk.d.ts +0 -4
  771. package/node_modules/zod/v4/locales/tk.js +0 -107
  772. package/node_modules/zod/v4/locales/tr.cjs +0 -137
  773. package/node_modules/zod/v4/locales/tr.d.cts +0 -5
  774. package/node_modules/zod/v4/locales/tr.d.ts +0 -4
  775. package/node_modules/zod/v4/locales/tr.js +0 -110
  776. package/node_modules/zod/v4/locales/ua.cjs +0 -12
  777. package/node_modules/zod/v4/locales/ua.d.cts +0 -5
  778. package/node_modules/zod/v4/locales/ua.d.ts +0 -5
  779. package/node_modules/zod/v4/locales/ua.js +0 -5
  780. package/node_modules/zod/v4/locales/uk.cjs +0 -140
  781. package/node_modules/zod/v4/locales/uk.d.cts +0 -5
  782. package/node_modules/zod/v4/locales/uk.d.ts +0 -4
  783. package/node_modules/zod/v4/locales/uk.js +0 -113
  784. package/node_modules/zod/v4/locales/ur.cjs +0 -142
  785. package/node_modules/zod/v4/locales/ur.d.cts +0 -5
  786. package/node_modules/zod/v4/locales/ur.d.ts +0 -4
  787. package/node_modules/zod/v4/locales/ur.js +0 -115
  788. package/node_modules/zod/v4/locales/uz.cjs +0 -140
  789. package/node_modules/zod/v4/locales/uz.d.cts +0 -5
  790. package/node_modules/zod/v4/locales/uz.d.ts +0 -4
  791. package/node_modules/zod/v4/locales/uz.js +0 -113
  792. package/node_modules/zod/v4/locales/vi.cjs +0 -140
  793. package/node_modules/zod/v4/locales/vi.d.cts +0 -5
  794. package/node_modules/zod/v4/locales/vi.d.ts +0 -4
  795. package/node_modules/zod/v4/locales/vi.js +0 -113
  796. package/node_modules/zod/v4/locales/yo.cjs +0 -139
  797. package/node_modules/zod/v4/locales/yo.d.cts +0 -5
  798. package/node_modules/zod/v4/locales/yo.d.ts +0 -4
  799. package/node_modules/zod/v4/locales/yo.js +0 -112
  800. package/node_modules/zod/v4/locales/zh-CN.cjs +0 -141
  801. package/node_modules/zod/v4/locales/zh-CN.d.cts +0 -5
  802. package/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
  803. package/node_modules/zod/v4/locales/zh-CN.js +0 -114
  804. package/node_modules/zod/v4/locales/zh-TW.cjs +0 -139
  805. package/node_modules/zod/v4/locales/zh-TW.d.cts +0 -5
  806. package/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
  807. package/node_modules/zod/v4/locales/zh-TW.js +0 -112
  808. package/node_modules/zod/v4/mini/checks.cjs +0 -54
  809. package/node_modules/zod/v4/mini/checks.d.cts +0 -1
  810. package/node_modules/zod/v4/mini/checks.d.ts +0 -1
  811. package/node_modules/zod/v4/mini/checks.js +0 -1
  812. package/node_modules/zod/v4/mini/coerce.cjs +0 -71
  813. package/node_modules/zod/v4/mini/coerce.d.cts +0 -7
  814. package/node_modules/zod/v4/mini/coerce.d.ts +0 -7
  815. package/node_modules/zod/v4/mini/coerce.js +0 -22
  816. package/node_modules/zod/v4/mini/deep-partial.cjs +0 -58
  817. package/node_modules/zod/v4/mini/deep-partial.d.cts +0 -14
  818. package/node_modules/zod/v4/mini/deep-partial.d.ts +0 -14
  819. package/node_modules/zod/v4/mini/deep-partial.js +0 -13
  820. package/node_modules/zod/v4/mini/external.cjs +0 -95
  821. package/node_modules/zod/v4/mini/external.d.cts +0 -16
  822. package/node_modules/zod/v4/mini/external.d.ts +0 -16
  823. package/node_modules/zod/v4/mini/external.js +0 -16
  824. package/node_modules/zod/v4/mini/in-out.cjs +0 -82
  825. package/node_modules/zod/v4/mini/in-out.d.cts +0 -8
  826. package/node_modules/zod/v4/mini/in-out.d.ts +0 -8
  827. package/node_modules/zod/v4/mini/in-out.js +0 -36
  828. package/node_modules/zod/v4/mini/index.cjs +0 -51
  829. package/node_modules/zod/v4/mini/index.d.cts +0 -3
  830. package/node_modules/zod/v4/mini/index.d.ts +0 -3
  831. package/node_modules/zod/v4/mini/index.js +0 -3
  832. package/node_modules/zod/v4/mini/iso.cjs +0 -83
  833. package/node_modules/zod/v4/mini/iso.d.cts +0 -22
  834. package/node_modules/zod/v4/mini/iso.d.ts +0 -22
  835. package/node_modules/zod/v4/mini/iso.js +0 -34
  836. package/node_modules/zod/v4/mini/package.json +0 -7
  837. package/node_modules/zod/v4/mini/parse.cjs +0 -37
  838. package/node_modules/zod/v4/mini/parse.d.cts +0 -1
  839. package/node_modules/zod/v4/mini/parse.d.ts +0 -1
  840. package/node_modules/zod/v4/mini/parse.js +0 -1
  841. package/node_modules/zod/v4/mini/schemas.cjs +0 -1147
  842. package/node_modules/zod/v4/mini/schemas.d.cts +0 -480
  843. package/node_modules/zod/v4/mini/schemas.d.ts +0 -480
  844. package/node_modules/zod/v4/mini/schemas.js +0 -1002
  845. package/node_modules/zod/v4/package.json +0 -7
  846. package/node_modules/zod/v4-mini/index.cjs +0 -51
  847. package/node_modules/zod/v4-mini/index.d.cts +0 -3
  848. package/node_modules/zod/v4-mini/index.d.ts +0 -3
  849. package/node_modules/zod/v4-mini/index.js +0 -3
  850. package/node_modules/zod/v4-mini/package.json +0 -7
@@ -1,1273 +0,0 @@
1
- import * as checks from "./checks.js";
2
- import type { $ZodNumberFormats } from "./checks.js";
3
- import type { $ZodBigIntFormats } from "./checks.js";
4
- import * as core from "./core.js";
5
- import type * as errors from "./errors.js";
6
- import type * as JSONSchema from "./json-schema.js";
7
- import type { StandardSchemaV1 } from "./standard-schema.js";
8
- import type { ProcessParams, ToJSONSchemaContext } from "./to-json-schema.js";
9
- import * as util from "./util.js";
10
- import { version } from "./versions.js";
11
- export interface ParseContext<T extends errors.$ZodIssueBase = never> {
12
- /** Customize error messages. */
13
- readonly error?: errors.$ZodErrorMap<T>;
14
- /** Include the `input` field in issue objects. Default `false`. */
15
- readonly reportInput?: boolean;
16
- /** Skip eval-based fast path. Default `false`. */
17
- readonly jitless?: boolean;
18
- }
19
- /** @internal */
20
- export interface ParseContextInternal<T extends errors.$ZodIssueBase = never> extends ParseContext<T> {
21
- readonly async?: boolean | undefined;
22
- readonly direction?: "forward" | "backward";
23
- readonly skipChecks?: boolean;
24
- /** Set only by `validate`/`validateAsync`. A container may stop before its next child, never inside one, so a map entry and a tuple's fixed items parse whole. */
25
- readonly abortEarly?: boolean;
26
- }
27
- /** Gives a container cycle support: `attach` wraps its parse, and `alloc` registers the object it builds into before any child is parsed so a reference back to the same input resolves to it. */
28
- export interface $ZodMemoizer {
29
- attach(inst: $ZodType): void;
30
- guard(inst: $ZodType): void;
31
- alloc<T extends object>(inst: $ZodType, payload: ParsePayload, empty: T, ctx: ParseContextInternal): T;
32
- }
33
- export interface ParsePayload<T = unknown> {
34
- value: T;
35
- issues: errors.$ZodRawIssue[];
36
- /** A way to mark a whole payload as aborted. Used in codecs/pipes. */
37
- aborted?: boolean;
38
- /** @internal Set when the value came from a repeat visit to a node still being
39
- * parsed. Its checks run on the node itself, against the finished value. */
40
- memo?: boolean | undefined;
41
- }
42
- export type CheckFn<T> = (input: ParsePayload<T>) => util.MaybeAsync<void>;
43
- export interface $ZodTypeDef {
44
- type: "string" | "number" | "int" | "boolean" | "bigint" | "symbol" | "null" | "undefined" | "void" | "never" | "any" | "unknown" | "date" | "object" | "record" | "file" | "array" | "tuple" | "union" | "intersection" | "map" | "set" | "enum" | "literal" | "nullable" | "optional" | "nonoptional" | "success" | "transform" | "default" | "prefault" | "catch" | "nan" | "pipe" | "readonly" | "template_literal" | "promise" | "lazy" | "function" | "custom";
45
- error?: errors.$ZodErrorMap<never> | undefined;
46
- checks?: checks.$ZodCheck<never>[];
47
- }
48
- export interface _$ZodTypeInternals {
49
- /** The `@zod/core` version of this schema */
50
- version: typeof version;
51
- /** Schema definition. */
52
- def: $ZodTypeDef;
53
- /** @internal Randomly generated ID for this schema. */
54
- /** @internal List of deferred initializers. */
55
- deferred: util.AnyFunc[] | undefined;
56
- /** @internal Parses input and runs all checks (refinements). */
57
- run(payload: ParsePayload<any>, ctx: ParseContextInternal): util.MaybeAsync<ParsePayload>;
58
- /** @internal Parses input, doesn't run checks. */
59
- parse(payload: ParsePayload<any>, ctx: ParseContextInternal): util.MaybeAsync<ParsePayload>;
60
- /** @internal Stores identifiers for the set of traits implemented by this schema. */
61
- traits: Set<string>;
62
- /** @internal Indicates that a schema output type should be considered optional inside objects.
63
- * @default Required
64
- */
65
- /** @internal Three rungs, each strictly stronger than the last:
66
- * undefined — required; the container may not omit this slot
67
- * "optional" — the container may omit it; nothing is supplied in its place
68
- * "defaulted" — the container may omit it AND this schema substitutes a value
69
- * Consumers asking "may the slot be absent?" test `!== undefined`.
70
- * $ZodOptional asks the stronger question and tests `=== "defaulted"`. */
71
- optin?: "optional" | "defaulted" | undefined;
72
- /** @internal */
73
- optout?: "optional" | undefined;
74
- /** @internal The set of literal values that will pass validation. Must be an exhaustive set. Used to determine optionality in z.record().
75
- *
76
- * Defined on: enum, const, literal, null, undefined
77
- * Passthrough: optional, nullable, branded, default, catch, pipe
78
- * Todo: unions?
79
- */
80
- values?: util.PrimitiveSet | undefined;
81
- /** Default value bubbled up from */
82
- /** @internal A set of literal discriminators used for the fast path in discriminated unions. */
83
- propValues?: util.PropValues | undefined;
84
- /** @internal This flag indicates that a schema validation can be represented with a regular expression. Used to determine allowable schemas in z.templateLiteral(). */
85
- pattern: RegExp | undefined;
86
- /** @internal The constructor function of this schema. */
87
- constr: new (def: any) => $ZodType;
88
- /** @internal A catchall object for bag metadata related to this schema. Commonly modified by checks using `onattach`. */
89
- bag: Record<string, unknown>;
90
- /** @internal The set of issues this schema might throw during type checking. */
91
- isst: errors.$ZodIssueBase;
92
- /** @internal Subject to change, not a public API. */
93
- processJSONSchema?: ((ctx: ToJSONSchemaContext, json: JSONSchema.BaseSchema, params: ProcessParams) => void) | undefined;
94
- /** An optional method used to override `toJSONSchema` logic. */
95
- toJSONSchema?: () => unknown;
96
- /** @internal The parent of this schema. Only set during certain clone operations. */
97
- parent?: $ZodType | undefined;
98
- }
99
- /** @internal */
100
- export interface $ZodTypeInternals<out O = unknown, out I = unknown> extends _$ZodTypeInternals {
101
- /** @internal The inferred output type */
102
- output: O;
103
- /** @internal The inferred input type */
104
- input: I;
105
- }
106
- export type $ZodStandardSchema<T> = StandardSchemaV1.Props<core.input<T>, core.output<T>>;
107
- export type SomeType = {
108
- _zod: _$ZodTypeInternals;
109
- };
110
- export interface $ZodType<O = unknown, I = unknown, Internals extends $ZodTypeInternals<O, I> = $ZodTypeInternals<O, I>> {
111
- _zod: Internals;
112
- "~standard": $ZodStandardSchema<this>;
113
- }
114
- export interface _$ZodType<T extends $ZodTypeInternals = $ZodTypeInternals> extends $ZodType<T["output"], T["input"], T> {
115
- }
116
- export declare const $ZodType: core.$constructor<$ZodType>;
117
- export declare function standardProps(inst: $ZodType): StandardSchemaV1.Props<any, any>;
118
- export { clone } from "./util.js";
119
- export interface $ZodStringDef extends $ZodTypeDef {
120
- type: "string";
121
- coerce?: boolean;
122
- checks?: checks.$ZodCheck<string>[];
123
- }
124
- export interface $ZodStringInternals<Input> extends $ZodTypeInternals<string, Input> {
125
- def: $ZodStringDef;
126
- /** @deprecated Internal API, use with caution (not deprecated) */
127
- pattern: RegExp;
128
- /** @deprecated Internal API, use with caution (not deprecated) */
129
- isst: errors.$ZodIssueInvalidType;
130
- bag: util.LoosePartial<{
131
- minimum: number;
132
- maximum: number;
133
- patterns: Set<RegExp>;
134
- format: string;
135
- contentEncoding: string;
136
- /** the pattern admits strings its `format` keyword forbids, so `toJSONSchema` must not emit it */
137
- laxFormat: boolean;
138
- }>;
139
- }
140
- export interface $ZodString<Input = unknown> extends _$ZodType<$ZodStringInternals<Input>> {
141
- }
142
- export declare const $ZodString: core.$constructor<$ZodString>;
143
- export interface $ZodStringFormatDef<Format extends string = string> extends $ZodStringDef, checks.$ZodCheckStringFormatDef<Format> {
144
- }
145
- export interface $ZodStringFormatInternals<Format extends string = string> extends $ZodStringInternals<string>, checks.$ZodCheckStringFormatInternals {
146
- def: $ZodStringFormatDef<Format>;
147
- }
148
- export interface $ZodStringFormat<Format extends string = string> extends $ZodType {
149
- _zod: $ZodStringFormatInternals<Format>;
150
- }
151
- export declare const $ZodStringFormat: core.$constructor<$ZodStringFormat>;
152
- export interface $ZodGUIDDef extends $ZodStringFormatDef<"guid"> {
153
- }
154
- export interface $ZodGUIDInternals extends $ZodStringFormatInternals<"guid"> {
155
- }
156
- export interface $ZodGUID extends $ZodType {
157
- _zod: $ZodGUIDInternals;
158
- }
159
- export declare const $ZodGUID: core.$constructor<$ZodGUID>;
160
- export interface $ZodUUIDDef extends $ZodStringFormatDef<"uuid"> {
161
- version?: "v1" | "v2" | "v3" | "v4" | "v5" | "v6" | "v7" | "v8";
162
- }
163
- export interface $ZodUUIDInternals extends $ZodStringFormatInternals<"uuid"> {
164
- def: $ZodUUIDDef;
165
- }
166
- export interface $ZodUUID extends $ZodType {
167
- _zod: $ZodUUIDInternals;
168
- }
169
- export declare const $ZodUUID: core.$constructor<$ZodUUID>;
170
- export interface $ZodEmailDef extends $ZodStringFormatDef<"email"> {
171
- }
172
- export interface $ZodEmailInternals extends $ZodStringFormatInternals<"email"> {
173
- }
174
- export interface $ZodEmail extends $ZodType {
175
- _zod: $ZodEmailInternals;
176
- }
177
- export declare const $ZodEmail: core.$constructor<$ZodEmail>;
178
- export interface $ZodURLDef extends $ZodStringFormatDef<"url"> {
179
- hostname?: RegExp | undefined;
180
- protocol?: RegExp | undefined;
181
- normalize?: boolean | undefined;
182
- }
183
- export interface $ZodURLInternals extends $ZodStringFormatInternals<"url"> {
184
- def: $ZodURLDef;
185
- }
186
- export interface $ZodURL extends $ZodType {
187
- _zod: $ZodURLInternals;
188
- }
189
- /** The `://` guard rejected the input before the URL constructor saw it. */
190
- export declare const URL_BAD_FORMAT = 1;
191
- /** The URL parser rejected the input. */
192
- export declare const URL_UNPARSEABLE = 2;
193
- export declare function canParseURL(input: string): boolean;
194
- export declare function validateURL(trimmed: string, def: Pick<$ZodURLDef, "protocol" | "hostname" | "normalize">): URL | true | typeof URL_BAD_FORMAT | typeof URL_UNPARSEABLE;
195
- /** Parses a URL while preserving the non-normalizing HTTP guard. */
196
- export declare function parseURLObject(trimmed: string, def: Pick<$ZodURLDef, "protocol" | "normalize">): URL | typeof URL_BAD_FORMAT | typeof URL_UNPARSEABLE;
197
- /** The URL parser deletes every ASCII tab, LF and CR from its input before it parses, so `new URL("https://exa\nmple.com")` reports on `example.com`. Applying the same deletion to the returned value closes the half of that divergence which can move the host; the parser's other rewrite, stripping C0 controls at the edges, cannot. */
198
- export declare function stripTabAndNewline(value: string): string;
199
- export declare function urlHostnameOk(url: URL, hostname: RegExp): boolean;
200
- export declare function urlProtocolOk(url: URL, protocol: RegExp): boolean;
201
- export declare const $ZodURL: core.$constructor<$ZodURL>;
202
- export interface $ZodEmojiDef extends $ZodStringFormatDef<"emoji"> {
203
- }
204
- export interface $ZodEmojiInternals extends $ZodStringFormatInternals<"emoji"> {
205
- }
206
- export interface $ZodEmoji extends $ZodType {
207
- _zod: $ZodEmojiInternals;
208
- }
209
- export declare const $ZodEmoji: core.$constructor<$ZodEmoji>;
210
- export interface $ZodNanoIDDef extends $ZodStringFormatDef<"nanoid"> {
211
- length?: number | undefined;
212
- }
213
- export interface $ZodNanoIDInternals extends $ZodStringFormatInternals<"nanoid"> {
214
- def: $ZodNanoIDDef;
215
- }
216
- export interface $ZodNanoID extends $ZodType {
217
- _zod: $ZodNanoIDInternals;
218
- }
219
- export declare const $ZodNanoID: core.$constructor<$ZodNanoID>;
220
- /**
221
- * @deprecated CUID v1 is deprecated by its authors due to information leakage
222
- * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
223
- * See https://github.com/paralleldrive/cuid.
224
- */
225
- export interface $ZodCUIDDef extends $ZodStringFormatDef<"cuid"> {
226
- }
227
- /**
228
- * @deprecated CUID v1 is deprecated by its authors due to information leakage
229
- * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
230
- * See https://github.com/paralleldrive/cuid.
231
- */
232
- export interface $ZodCUIDInternals extends $ZodStringFormatInternals<"cuid"> {
233
- }
234
- /**
235
- * @deprecated CUID v1 is deprecated by its authors due to information leakage
236
- * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
237
- * See https://github.com/paralleldrive/cuid.
238
- */
239
- export interface $ZodCUID extends $ZodType {
240
- _zod: $ZodCUIDInternals;
241
- }
242
- /**
243
- * @deprecated CUID v1 is deprecated by its authors due to information leakage
244
- * (timestamps embedded in the id). Use {@link $ZodCUID2} instead.
245
- * See https://github.com/paralleldrive/cuid.
246
- */
247
- export declare const $ZodCUID: core.$constructor<$ZodCUID>;
248
- export interface $ZodCUID2Def extends $ZodStringFormatDef<"cuid2"> {
249
- }
250
- export interface $ZodCUID2Internals extends $ZodStringFormatInternals<"cuid2"> {
251
- }
252
- export interface $ZodCUID2 extends $ZodType {
253
- _zod: $ZodCUID2Internals;
254
- }
255
- export declare const $ZodCUID2: core.$constructor<$ZodCUID2>;
256
- export interface $ZodULIDDef extends $ZodStringFormatDef<"ulid"> {
257
- }
258
- export interface $ZodULIDInternals extends $ZodStringFormatInternals<"ulid"> {
259
- }
260
- export interface $ZodULID extends $ZodType {
261
- _zod: $ZodULIDInternals;
262
- }
263
- export declare const $ZodULID: core.$constructor<$ZodULID>;
264
- export interface $ZodXIDDef extends $ZodStringFormatDef<"xid"> {
265
- }
266
- export interface $ZodXIDInternals extends $ZodStringFormatInternals<"xid"> {
267
- }
268
- export interface $ZodXID extends $ZodType {
269
- _zod: $ZodXIDInternals;
270
- }
271
- export declare const $ZodXID: core.$constructor<$ZodXID>;
272
- export interface $ZodKSUIDDef extends $ZodStringFormatDef<"ksuid"> {
273
- }
274
- export interface $ZodKSUIDInternals extends $ZodStringFormatInternals<"ksuid"> {
275
- }
276
- export interface $ZodKSUID extends $ZodType {
277
- _zod: $ZodKSUIDInternals;
278
- }
279
- export declare const $ZodKSUID: core.$constructor<$ZodKSUID>;
280
- export interface $ZodISODateTimeDef extends $ZodStringFormatDef<"datetime"> {
281
- precision: number | null;
282
- offset: boolean;
283
- local: boolean;
284
- }
285
- export interface $ZodISODateTimeInternals extends $ZodStringFormatInternals {
286
- def: $ZodISODateTimeDef;
287
- }
288
- export interface $ZodISODateTime extends $ZodType {
289
- _zod: $ZodISODateTimeInternals;
290
- }
291
- export declare const $ZodISODateTime: core.$constructor<$ZodISODateTime>;
292
- export interface $ZodISODateDef extends $ZodStringFormatDef<"date"> {
293
- }
294
- export interface $ZodISODateInternals extends $ZodStringFormatInternals<"date"> {
295
- }
296
- export interface $ZodISODate extends $ZodType {
297
- _zod: $ZodISODateInternals;
298
- }
299
- export declare const $ZodISODate: core.$constructor<$ZodISODate>;
300
- export interface $ZodISOTimeDef extends $ZodStringFormatDef<"time"> {
301
- precision?: number | null;
302
- }
303
- export interface $ZodISOTimeInternals extends $ZodStringFormatInternals<"time"> {
304
- def: $ZodISOTimeDef;
305
- }
306
- export interface $ZodISOTime extends $ZodType {
307
- _zod: $ZodISOTimeInternals;
308
- }
309
- export declare const $ZodISOTime: core.$constructor<$ZodISOTime>;
310
- export interface $ZodISODurationDef extends $ZodStringFormatDef<"duration"> {
311
- }
312
- export interface $ZodISODurationInternals extends $ZodStringFormatInternals<"duration"> {
313
- }
314
- export interface $ZodISODuration extends $ZodType {
315
- _zod: $ZodISODurationInternals;
316
- }
317
- export declare const $ZodISODuration: core.$constructor<$ZodISODuration>;
318
- export interface $ZodIPv4Def extends $ZodStringFormatDef<"ipv4"> {
319
- version?: "v4";
320
- }
321
- export interface $ZodIPv4Internals extends $ZodStringFormatInternals<"ipv4"> {
322
- def: $ZodIPv4Def;
323
- }
324
- export interface $ZodIPv4 extends $ZodType {
325
- _zod: $ZodIPv4Internals;
326
- }
327
- export declare const $ZodIPv4: core.$constructor<$ZodIPv4>;
328
- export interface $ZodIPv6Def extends $ZodStringFormatDef<"ipv6"> {
329
- version?: "v6";
330
- }
331
- export interface $ZodIPv6Internals extends $ZodStringFormatInternals<"ipv6"> {
332
- def: $ZodIPv6Def;
333
- }
334
- export interface $ZodIPv6 extends $ZodType {
335
- _zod: $ZodIPv6Internals;
336
- }
337
- export declare function isValidIPv6(value: string): boolean;
338
- export declare const $ZodIPv6: core.$constructor<$ZodIPv6>;
339
- export interface $ZodMACDef extends $ZodStringFormatDef<"mac"> {
340
- delimiter?: string;
341
- }
342
- export interface $ZodMACInternals extends $ZodStringFormatInternals<"mac"> {
343
- def: $ZodMACDef;
344
- }
345
- export interface $ZodMAC extends $ZodType {
346
- _zod: $ZodMACInternals;
347
- }
348
- export declare const $ZodMAC: core.$constructor<$ZodMAC>;
349
- export interface $ZodCIDRv4Def extends $ZodStringFormatDef<"cidrv4"> {
350
- version?: "v4";
351
- }
352
- export interface $ZodCIDRv4Internals extends $ZodStringFormatInternals<"cidrv4"> {
353
- def: $ZodCIDRv4Def;
354
- }
355
- export interface $ZodCIDRv4 extends $ZodType {
356
- _zod: $ZodCIDRv4Internals;
357
- }
358
- export declare const $ZodCIDRv4: core.$constructor<$ZodCIDRv4>;
359
- export interface $ZodCIDRv6Def extends $ZodStringFormatDef<"cidrv6"> {
360
- version?: "v6";
361
- }
362
- export interface $ZodCIDRv6Internals extends $ZodStringFormatInternals<"cidrv6"> {
363
- def: $ZodCIDRv6Def;
364
- }
365
- export interface $ZodCIDRv6 extends $ZodType {
366
- _zod: $ZodCIDRv6Internals;
367
- }
368
- export declare function isValidCIDRv6(value: string): boolean;
369
- export declare const $ZodCIDRv6: core.$constructor<$ZodCIDRv6>;
370
- export declare function isValidBase64(data: string): boolean;
371
- export interface $ZodBase64Def extends $ZodStringFormatDef<"base64"> {
372
- }
373
- export interface $ZodBase64Internals extends $ZodStringFormatInternals<"base64"> {
374
- }
375
- export interface $ZodBase64 extends $ZodType {
376
- _zod: $ZodBase64Internals;
377
- }
378
- export declare const base64Charset: RegExp;
379
- export declare const $ZodBase64: core.$constructor<$ZodBase64>;
380
- export declare const base64urlCharset: RegExp;
381
- export declare function isValidBase64URL(data: string): boolean;
382
- export interface $ZodBase64URLDef extends $ZodStringFormatDef<"base64url"> {
383
- }
384
- export interface $ZodBase64URLInternals extends $ZodStringFormatInternals<"base64url"> {
385
- }
386
- export interface $ZodBase64URL extends $ZodType {
387
- _zod: $ZodBase64URLInternals;
388
- }
389
- export declare const $ZodBase64URL: core.$constructor<$ZodBase64URL>;
390
- export interface $ZodE164Def extends $ZodStringFormatDef<"e164"> {
391
- }
392
- export interface $ZodE164Internals extends $ZodStringFormatInternals<"e164"> {
393
- }
394
- export interface $ZodE164 extends $ZodType {
395
- _zod: $ZodE164Internals;
396
- }
397
- export declare const $ZodE164: core.$constructor<$ZodE164>;
398
- export declare function isValidCreditCard(input: string): boolean;
399
- export interface $ZodCreditCardDef extends $ZodStringFormatDef<"credit_card"> {
400
- }
401
- export interface $ZodCreditCardInternals extends $ZodStringFormatInternals<"credit_card"> {
402
- def: $ZodCreditCardDef;
403
- }
404
- export interface $ZodCreditCard extends $ZodType {
405
- _zod: $ZodCreditCardInternals;
406
- }
407
- export declare const $ZodCreditCard: core.$constructor<$ZodCreditCard>;
408
- export declare function isValidIBAN(input: string): boolean;
409
- export interface $ZodIBANDef extends $ZodStringFormatDef<"iban"> {
410
- }
411
- export interface $ZodIBANInternals extends $ZodStringFormatInternals<"iban"> {
412
- def: $ZodIBANDef;
413
- }
414
- export interface $ZodIBAN extends $ZodType {
415
- _zod: $ZodIBANInternals;
416
- }
417
- export declare const $ZodIBAN: core.$constructor<$ZodIBAN>;
418
- export declare function isValidJWT(token: string, algorithm?: util.JWTAlgorithm | null): boolean;
419
- export interface $ZodJWTDef extends $ZodStringFormatDef<"jwt"> {
420
- alg?: util.JWTAlgorithm | undefined;
421
- }
422
- export interface $ZodJWTInternals extends $ZodStringFormatInternals<"jwt"> {
423
- def: $ZodJWTDef;
424
- }
425
- export interface $ZodJWT extends $ZodType {
426
- _zod: $ZodJWTInternals;
427
- }
428
- export declare const $ZodJWT: core.$constructor<$ZodJWT>;
429
- export interface $ZodCustomStringFormatDef<Format extends string = string> extends $ZodStringFormatDef<Format> {
430
- fn: (val: string) => unknown;
431
- }
432
- export interface $ZodCustomStringFormatInternals<Format extends string = string> extends $ZodStringFormatInternals<Format> {
433
- def: $ZodCustomStringFormatDef<Format>;
434
- }
435
- export interface $ZodCustomStringFormat<Format extends string = string> extends $ZodStringFormat<Format> {
436
- _zod: $ZodCustomStringFormatInternals<Format>;
437
- }
438
- export declare const $ZodCustomStringFormat: core.$constructor<$ZodCustomStringFormat>;
439
- export interface $ZodNumberDef extends $ZodTypeDef {
440
- type: "number";
441
- coerce?: boolean;
442
- }
443
- export interface $ZodNumberInternals<Input = unknown> extends $ZodTypeInternals<number, Input> {
444
- def: $ZodNumberDef;
445
- /** @deprecated Internal API, use with caution (not deprecated) */
446
- pattern: RegExp;
447
- /** @deprecated Internal API, use with caution (not deprecated) */
448
- isst: errors.$ZodIssueInvalidType;
449
- bag: util.LoosePartial<{
450
- minimum: number;
451
- maximum: number;
452
- exclusiveMinimum: number;
453
- exclusiveMaximum: number;
454
- format: string;
455
- pattern: RegExp;
456
- }>;
457
- }
458
- export interface $ZodNumber<Input = unknown> extends $ZodType {
459
- _zod: $ZodNumberInternals<Input>;
460
- }
461
- export declare const $ZodNumber: core.$constructor<$ZodNumber>;
462
- export interface $ZodNumberFormatDef<Format extends $ZodNumberFormats = $ZodNumberFormats> extends $ZodNumberDef, checks.$ZodCheckNumberFormatDef<Format> {
463
- }
464
- export interface $ZodNumberFormatInternals<Format extends $ZodNumberFormats = $ZodNumberFormats> extends $ZodNumberInternals<number>, checks.$ZodCheckNumberFormatInternals<Format> {
465
- def: $ZodNumberFormatDef<Format>;
466
- isst: errors.$ZodIssueInvalidType;
467
- }
468
- export interface $ZodNumberFormat<Format extends $ZodNumberFormats = $ZodNumberFormats> extends $ZodType {
469
- _zod: $ZodNumberFormatInternals<Format>;
470
- }
471
- export declare const $ZodNumberFormat: core.$constructor<$ZodNumberFormat>;
472
- export interface $ZodBooleanDef extends $ZodTypeDef {
473
- type: "boolean";
474
- coerce?: boolean;
475
- checks?: checks.$ZodCheck<boolean>[];
476
- }
477
- export interface $ZodBooleanInternals<T = unknown> extends $ZodTypeInternals<boolean, T> {
478
- pattern: RegExp;
479
- def: $ZodBooleanDef;
480
- isst: errors.$ZodIssueInvalidType;
481
- }
482
- export interface $ZodBoolean<T = unknown> extends $ZodType {
483
- _zod: $ZodBooleanInternals<T>;
484
- }
485
- export declare const $ZodBoolean: core.$constructor<$ZodBoolean>;
486
- export interface $ZodBigIntDef extends $ZodTypeDef {
487
- type: "bigint";
488
- coerce?: boolean;
489
- }
490
- export interface $ZodBigIntInternals<T = unknown> extends $ZodTypeInternals<bigint, T> {
491
- pattern: RegExp;
492
- /** @internal Internal API, use with caution */
493
- def: $ZodBigIntDef;
494
- isst: errors.$ZodIssueInvalidType;
495
- bag: util.LoosePartial<{
496
- minimum: bigint;
497
- maximum: bigint;
498
- format: string;
499
- }>;
500
- }
501
- export interface $ZodBigInt<T = unknown> extends $ZodType {
502
- _zod: $ZodBigIntInternals<T>;
503
- }
504
- export declare const $ZodBigInt: core.$constructor<$ZodBigInt>;
505
- export interface $ZodBigIntFormatDef<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends $ZodBigIntDef, checks.$ZodCheckBigIntFormatDef<Format> {
506
- check: "bigint_format";
507
- }
508
- export interface $ZodBigIntFormatInternals<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends $ZodBigIntInternals<bigint>, checks.$ZodCheckBigIntFormatInternals<Format> {
509
- def: $ZodBigIntFormatDef<Format>;
510
- }
511
- export interface $ZodBigIntFormat<Format extends $ZodBigIntFormats = $ZodBigIntFormats> extends $ZodType {
512
- _zod: $ZodBigIntFormatInternals<Format>;
513
- }
514
- export declare const $ZodBigIntFormat: core.$constructor<$ZodBigIntFormat>;
515
- export interface $ZodSymbolDef extends $ZodTypeDef {
516
- type: "symbol";
517
- }
518
- export interface $ZodSymbolInternals extends $ZodTypeInternals<symbol, symbol> {
519
- def: $ZodSymbolDef;
520
- isst: errors.$ZodIssueInvalidType;
521
- }
522
- export interface $ZodSymbol extends $ZodType {
523
- _zod: $ZodSymbolInternals;
524
- }
525
- export declare const $ZodSymbol: core.$constructor<$ZodSymbol>;
526
- export interface $ZodUndefinedDef extends $ZodTypeDef {
527
- type: "undefined";
528
- }
529
- export interface $ZodUndefinedInternals extends $ZodTypeInternals<undefined, undefined> {
530
- pattern: RegExp;
531
- def: $ZodUndefinedDef;
532
- values: util.PrimitiveSet;
533
- isst: errors.$ZodIssueInvalidType;
534
- }
535
- export interface $ZodUndefined extends $ZodType {
536
- _zod: $ZodUndefinedInternals;
537
- }
538
- export declare const $ZodUndefined: core.$constructor<$ZodUndefined>;
539
- export interface $ZodNullDef extends $ZodTypeDef {
540
- type: "null";
541
- }
542
- export interface $ZodNullInternals extends $ZodTypeInternals<null, null> {
543
- pattern: RegExp;
544
- def: $ZodNullDef;
545
- values: util.PrimitiveSet;
546
- isst: errors.$ZodIssueInvalidType;
547
- }
548
- export interface $ZodNull extends $ZodType {
549
- _zod: $ZodNullInternals;
550
- }
551
- export declare const $ZodNull: core.$constructor<$ZodNull>;
552
- export interface $ZodAnyDef extends $ZodTypeDef {
553
- type: "any";
554
- }
555
- export interface $ZodAnyInternals extends $ZodTypeInternals<any, any> {
556
- def: $ZodAnyDef;
557
- isst: never;
558
- }
559
- export interface $ZodAny extends $ZodType {
560
- _zod: $ZodAnyInternals;
561
- }
562
- export declare const $ZodAny: core.$constructor<$ZodAny>;
563
- export interface $ZodUnknownDef extends $ZodTypeDef {
564
- type: "unknown";
565
- }
566
- export interface $ZodUnknownInternals extends $ZodTypeInternals<unknown, unknown> {
567
- def: $ZodUnknownDef;
568
- isst: never;
569
- }
570
- export interface $ZodUnknown extends $ZodType {
571
- _zod: $ZodUnknownInternals;
572
- }
573
- export declare const $ZodUnknown: core.$constructor<$ZodUnknown>;
574
- export interface $ZodNeverDef extends $ZodTypeDef {
575
- type: "never";
576
- }
577
- export interface $ZodNeverInternals extends $ZodTypeInternals<never, never> {
578
- def: $ZodNeverDef;
579
- isst: errors.$ZodIssueInvalidType;
580
- }
581
- export interface $ZodNever extends $ZodType {
582
- _zod: $ZodNeverInternals;
583
- }
584
- export declare const $ZodNever: core.$constructor<$ZodNever>;
585
- export interface $ZodVoidDef extends $ZodTypeDef {
586
- type: "void";
587
- }
588
- export interface $ZodVoidInternals extends $ZodTypeInternals<void, void> {
589
- def: $ZodVoidDef;
590
- isst: errors.$ZodIssueInvalidType;
591
- }
592
- export interface $ZodVoid extends $ZodType {
593
- _zod: $ZodVoidInternals;
594
- }
595
- export declare const $ZodVoid: core.$constructor<$ZodVoid>;
596
- export interface $ZodDateDef extends $ZodTypeDef {
597
- type: "date";
598
- coerce?: boolean;
599
- }
600
- export interface $ZodDateInternals<T = unknown> extends $ZodTypeInternals<Date, T> {
601
- def: $ZodDateDef;
602
- isst: errors.$ZodIssueInvalidType;
603
- bag: util.LoosePartial<{
604
- minimum: Date;
605
- maximum: Date;
606
- format: string;
607
- }>;
608
- }
609
- export interface $ZodDate<T = unknown> extends $ZodType {
610
- _zod: $ZodDateInternals<T>;
611
- }
612
- export declare const $ZodDate: core.$constructor<$ZodDate>;
613
- export interface $ZodArrayDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
614
- type: "array";
615
- element: T;
616
- }
617
- export interface $ZodArrayInternals<T extends SomeType = $ZodType> extends _$ZodTypeInternals {
618
- def: $ZodArrayDef<T>;
619
- isst: errors.$ZodIssueInvalidType;
620
- output: core.output<T>[];
621
- input: core.input<T>[];
622
- }
623
- export interface $ZodArray<T extends SomeType = $ZodType> extends $ZodType<any, any, $ZodArrayInternals<T>> {
624
- }
625
- export declare const $ZodArray: core.$constructor<$ZodArray>;
626
- type OptionalOutSchema = {
627
- _zod: {
628
- optout: "optional";
629
- };
630
- };
631
- type OptionalInSchema = {
632
- _zod: {
633
- optin: "optional" | "defaulted";
634
- };
635
- };
636
- export type $InferObjectOutput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = string extends keyof T ? util.IsAny<T[keyof T]> extends true ? Record<string, unknown> : {
637
- [k in string]: core.output<T[keyof T]>;
638
- } : keyof (T & Extra) extends never ? Record<string, never> : util.Prettify<{
639
- -readonly [k in keyof T as T[k] extends OptionalOutSchema ? never : k]: T[k]["_zod"]["output"];
640
- } & {
641
- -readonly [k in keyof T as T[k] extends OptionalOutSchema ? k : never]?: T[k]["_zod"]["output"];
642
- } & Extra>;
643
- export type $InferObjectInput<T extends $ZodLooseShape, Extra extends Record<string, unknown>> = string extends keyof T ? util.IsAny<T[keyof T]> extends true ? Record<string, unknown> : {
644
- [k in string]: core.input<T[keyof T]>;
645
- } : keyof (T & Extra) extends never ? Record<string, never> : util.Prettify<{
646
- -readonly [k in keyof T as T[k] extends OptionalInSchema ? never : k]: T[k]["_zod"]["input"];
647
- } & {
648
- -readonly [k in keyof T as T[k] extends OptionalInSchema ? k : never]?: T[k]["_zod"]["input"];
649
- } & Extra>;
650
- export type $ZodObjectConfig = {
651
- out: Record<string, unknown>;
652
- in: Record<string, unknown>;
653
- };
654
- export type $loose = {
655
- out: Record<string, unknown>;
656
- in: Record<string, unknown>;
657
- };
658
- export type $strict = {
659
- out: {};
660
- in: {};
661
- };
662
- export type $strip = {
663
- out: {};
664
- in: {};
665
- };
666
- export type $catchall<T extends SomeType> = {
667
- out: {
668
- [k: string]: core.output<T>;
669
- };
670
- in: {
671
- [k: string]: core.input<T>;
672
- };
673
- };
674
- export type $ZodShape = Readonly<{
675
- [k: string]: $ZodType;
676
- }>;
677
- export interface $ZodObjectDef<Shape extends $ZodShape = $ZodShape> extends $ZodTypeDef {
678
- type: "object";
679
- shape: Shape;
680
- catchall?: $ZodType | undefined;
681
- }
682
- export interface $ZodObjectInternals<
683
- /** @ts-ignore Cast variance */
684
- out Shape extends $ZodShape = $ZodShape, out Config extends $ZodObjectConfig = $ZodObjectConfig> extends _$ZodTypeInternals {
685
- def: $ZodObjectDef<Shape>;
686
- config: Config;
687
- isst: errors.$ZodIssueInvalidType | errors.$ZodIssueUnrecognizedKeys;
688
- propValues: util.PropValues;
689
- output: $InferObjectOutput<Shape, Config["out"]>;
690
- input: $InferObjectInput<Shape, Config["in"]>;
691
- optin?: "optional" | undefined;
692
- optout?: "optional" | undefined;
693
- }
694
- export type $ZodLooseShape = Record<string, any>;
695
- export interface $ZodObject<
696
- /** @ts-ignore Cast variance */
697
- out Shape extends Readonly<$ZodShape> = Readonly<$ZodShape>, out Params extends $ZodObjectConfig = $ZodObjectConfig> extends $ZodType<any, any, $ZodObjectInternals<Shape, Params>> {
698
- }
699
- export declare const $ZodObject: core.$constructor<$ZodObject>;
700
- export declare const $ZodObjectJIT: core.$constructor<$ZodObject>;
701
- export type $InferUnionOutput<T extends SomeType> = T extends any ? core.output<T> : never;
702
- export type $InferUnionInput<T extends SomeType> = T extends any ? core.input<T> : never;
703
- export interface $ZodUnionDef<Options extends readonly SomeType[] = readonly $ZodType[]> extends $ZodTypeDef {
704
- type: "union";
705
- options: Options;
706
- inclusive?: boolean;
707
- }
708
- type IsOptionalIn<T extends SomeType> = T extends OptionalInSchema ? true : false;
709
- type IsOptionalOut<T extends SomeType> = T extends OptionalOutSchema ? true : false;
710
- export interface $ZodUnionInternals<T extends readonly SomeType[] = readonly $ZodType[]> extends _$ZodTypeInternals {
711
- def: $ZodUnionDef<T>;
712
- isst: errors.$ZodIssueInvalidUnion;
713
- pattern: T[number]["_zod"]["pattern"];
714
- values: T[number]["_zod"]["values"];
715
- output: $InferUnionOutput<T[number]>;
716
- input: $InferUnionInput<T[number]>;
717
- optin: IsOptionalIn<T[number]> extends false ? "optional" | "defaulted" | undefined : "optional" | "defaulted";
718
- optout: IsOptionalOut<T[number]> extends false ? "optional" | undefined : "optional";
719
- }
720
- export interface $ZodUnion<T extends readonly SomeType[] = readonly $ZodType[]> extends $ZodType<any, any, $ZodUnionInternals<T>> {
721
- _zod: $ZodUnionInternals<T>;
722
- }
723
- export declare const $ZodUnion: core.$constructor<$ZodUnion>;
724
- export interface $ZodXorInternals<T extends readonly SomeType[] = readonly $ZodType[]> extends $ZodUnionInternals<T> {
725
- }
726
- export interface $ZodXor<T extends readonly SomeType[] = readonly $ZodType[]> extends $ZodType<any, any, $ZodXorInternals<T>> {
727
- _zod: $ZodXorInternals<T>;
728
- }
729
- export declare const $ZodXor: core.$constructor<$ZodXor>;
730
- export interface $ZodDiscriminatedUnionDef<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends $ZodUnionDef<Options> {
731
- discriminator: Disc;
732
- unionFallback?: boolean;
733
- }
734
- export interface $ZodDiscriminatedUnionInternals<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends $ZodUnionInternals<Options> {
735
- def: $ZodDiscriminatedUnionDef<Options, Disc>;
736
- propValues: util.PropValues;
737
- bag: util.LoosePartial<{
738
- optionsMap: Map<util.Primitive, $ZodType | null>;
739
- }>;
740
- }
741
- /** The discriminator values a member of `Options` can declare. An omittable discriminator contributes `undefined`, matching what `propValues` claims for it. */
742
- export type $DiscriminatorValue<Options extends readonly SomeType[], Disc extends string> = {
743
- [I in keyof Options]: Options[I] extends {
744
- _zod: {
745
- output: infer Out;
746
- };
747
- } ? Disc extends keyof Out ? Out[Disc] : never : never;
748
- }[number];
749
- /** The member of `Options` that declares `V`. */
750
- export type $DiscriminatedOption<Options extends readonly SomeType[], Disc extends string, V> = {
751
- [I in keyof Options]: Options[I] extends {
752
- _zod: {
753
- output: infer Out;
754
- };
755
- } ? Disc extends keyof Out ? V extends Out[Disc] ? Options[I] : never : never : never;
756
- }[number];
757
- /** Returns the option whose discriminator claims `value`, or throws if ambiguous. */
758
- export declare function getDiscriminatedOption<Options extends readonly SomeType[], Disc extends string, const V extends $DiscriminatorValue<Options, Disc>>(union: $ZodDiscriminatedUnion<Options, Disc>, value: V): $DiscriminatedOption<Options, Disc, V>;
759
- export interface $ZodDiscriminatedUnion<Options extends readonly SomeType[] = readonly $ZodType[], Disc extends string = string> extends $ZodType {
760
- _zod: $ZodDiscriminatedUnionInternals<Options, Disc>;
761
- }
762
- export declare const $ZodDiscriminatedUnion: core.$constructor<$ZodDiscriminatedUnion>;
763
- export interface $ZodIntersectionDef<Left extends SomeType = $ZodType, Right extends SomeType = $ZodType> extends $ZodTypeDef {
764
- type: "intersection";
765
- left: Left;
766
- right: Right;
767
- }
768
- export interface $ZodIntersectionInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends _$ZodTypeInternals {
769
- def: $ZodIntersectionDef<A, B>;
770
- isst: never;
771
- optin: A["_zod"]["optin"] | B["_zod"]["optin"];
772
- optout: A["_zod"]["optout"] | B["_zod"]["optout"];
773
- output: core.output<A> & core.output<B>;
774
- input: core.input<A> & core.input<B>;
775
- }
776
- export interface $ZodIntersection<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {
777
- _zod: $ZodIntersectionInternals<A, B>;
778
- }
779
- export declare const $ZodIntersection: core.$constructor<$ZodIntersection>;
780
- export declare function mergeValues(a: any, b: any): {
781
- valid: true;
782
- data: any;
783
- } | {
784
- valid: false;
785
- mergeErrorPath: (string | number)[];
786
- };
787
- export interface $ZodTupleDef<T extends util.TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends $ZodTypeDef {
788
- type: "tuple";
789
- items: T;
790
- rest: Rest;
791
- }
792
- export type $InferTupleInputType<T extends util.TupleItems, Rest extends SomeType | null> = [
793
- ...TupleInputTypeWithOptionals<T>,
794
- ...(Rest extends SomeType ? core.input<Rest>[] : [])
795
- ];
796
- type TupleInputTypeNoOptionals<T extends util.TupleItems> = {
797
- [k in keyof T]: core.input<T[k]>;
798
- };
799
- type TupleInputTypeWithOptionals<T extends util.TupleItems> = T extends readonly [
800
- ...infer Prefix extends SomeType[],
801
- infer Tail extends SomeType
802
- ] ? Tail["_zod"]["optin"] extends "optional" | "defaulted" ? [...TupleInputTypeWithOptionals<Prefix>, core.input<Tail>?] : TupleInputTypeNoOptionals<T> : [];
803
- export type $InferTupleOutputType<T extends util.TupleItems, Rest extends SomeType | null> = [
804
- ...TupleOutputTypeWithOptionals<T>,
805
- ...(Rest extends SomeType ? core.output<Rest>[] : [])
806
- ];
807
- type TupleOutputTypeNoOptionals<T extends util.TupleItems> = {
808
- [k in keyof T]: core.output<T[k]>;
809
- };
810
- type TupleOutputTypeWithOptionals<T extends util.TupleItems> = T extends readonly [
811
- ...infer Prefix extends SomeType[],
812
- infer Tail extends SomeType
813
- ] ? Tail["_zod"]["optout"] extends "optional" ? [...TupleOutputTypeWithOptionals<Prefix>, core.output<Tail>?] : TupleOutputTypeNoOptionals<T> : [];
814
- export interface $ZodTupleInternals<T extends util.TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends _$ZodTypeInternals {
815
- def: $ZodTupleDef<T, Rest>;
816
- isst: errors.$ZodIssueInvalidType | errors.$ZodIssueTooBig<unknown[]> | errors.$ZodIssueTooSmall<unknown[]>;
817
- output: $InferTupleOutputType<T, Rest>;
818
- input: $InferTupleInputType<T, Rest>;
819
- }
820
- export interface $ZodTuple<T extends util.TupleItems = readonly $ZodType[], Rest extends SomeType | null = $ZodType | null> extends $ZodType {
821
- _zod: $ZodTupleInternals<T, Rest>;
822
- }
823
- export declare const $ZodTuple: core.$constructor<$ZodTuple>;
824
- export type $ZodRecordKey = $ZodType<string | number | symbol, unknown>;
825
- export interface $ZodRecordDef<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends $ZodTypeDef {
826
- type: "record";
827
- keyType: Key;
828
- valueType: Value;
829
- /** @default "strict" - errors on keys not matching keyType. "loose" passes through non-matching keys unchanged. */
830
- mode?: "strict" | "loose";
831
- partial?: boolean;
832
- }
833
- export type $InferZodRecordOutput<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> = Key extends $partial ? Partial<Record<core.output<Key>, core.output<Value>>> : Record<core.output<Key>, core.output<Value>>;
834
- export type $InferZodRecordInput<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> = Key extends $partial ? Partial<Record<core.input<Key> & PropertyKey, core.input<Value>>> : [
835
- Value
836
- ] extends [OptionalInSchema] ? Partial<Record<core.input<Key> & PropertyKey, core.input<Value>>> : Record<core.input<Key> & PropertyKey, core.input<Value>>;
837
- export interface $ZodRecordInternals<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends $ZodTypeInternals<$InferZodRecordOutput<Key, Value>, $InferZodRecordInput<Key, Value>> {
838
- def: $ZodRecordDef<Key, Value>;
839
- isst: errors.$ZodIssueInvalidType | errors.$ZodIssueInvalidKey<Record<PropertyKey, unknown>>;
840
- optin?: "optional" | undefined;
841
- optout?: "optional" | undefined;
842
- }
843
- export type $partial = {
844
- "~~partial": true;
845
- };
846
- export interface $ZodRecord<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends $ZodType {
847
- _zod: $ZodRecordInternals<Key, Value>;
848
- }
849
- export declare const $ZodRecord: core.$constructor<$ZodRecord>;
850
- export interface $ZodMapDef<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodTypeDef {
851
- type: "map";
852
- keyType: Key;
853
- valueType: Value;
854
- }
855
- export interface $ZodMapInternals<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodTypeInternals<Map<core.output<Key>, core.output<Value>>, Map<core.input<Key>, core.input<Value>>> {
856
- def: $ZodMapDef<Key, Value>;
857
- isst: errors.$ZodIssueInvalidType | errors.$ZodIssueInvalidKey | errors.$ZodIssueInvalidElement<unknown>;
858
- optin?: "optional" | undefined;
859
- optout?: "optional" | undefined;
860
- }
861
- export interface $ZodMap<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodType {
862
- _zod: $ZodMapInternals<Key, Value>;
863
- }
864
- export declare const $ZodMap: core.$constructor<$ZodMap>;
865
- export interface $ZodSetDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
866
- type: "set";
867
- valueType: T;
868
- }
869
- export interface $ZodSetInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<Set<core.output<T>>, Set<core.input<T>>> {
870
- def: $ZodSetDef<T>;
871
- isst: errors.$ZodIssueInvalidType;
872
- optin?: "optional" | undefined;
873
- optout?: "optional" | undefined;
874
- }
875
- export interface $ZodSet<T extends SomeType = $ZodType> extends $ZodType {
876
- _zod: $ZodSetInternals<T>;
877
- }
878
- export declare const $ZodSet: core.$constructor<$ZodSet>;
879
- export type $InferEnumOutput<T extends util.EnumLike> = T[keyof T] & {};
880
- export type $InferEnumInput<T extends util.EnumLike> = T[keyof T] & {};
881
- export interface $ZodEnumDef<T extends util.EnumLike = util.EnumLike> extends $ZodTypeDef {
882
- type: "enum";
883
- entries: T;
884
- }
885
- export interface $ZodEnumInternals<
886
- /** @ts-ignore Cast variance */
887
- out T extends util.EnumLike = util.EnumLike> extends $ZodTypeInternals<$InferEnumOutput<T>, $InferEnumInput<T>> {
888
- def: $ZodEnumDef<T>;
889
- /** @deprecated Internal API, use with caution (not deprecated) */
890
- values: util.PrimitiveSet;
891
- /** @deprecated Internal API, use with caution (not deprecated) */
892
- pattern: RegExp;
893
- isst: errors.$ZodIssueInvalidValue;
894
- }
895
- export interface $ZodEnum<T extends util.EnumLike = util.EnumLike> extends $ZodType {
896
- _zod: $ZodEnumInternals<T>;
897
- }
898
- export declare const $ZodEnum: core.$constructor<$ZodEnum>;
899
- export interface $ZodLiteralDef<T extends util.Literal> extends $ZodTypeDef {
900
- type: "literal";
901
- values: T[];
902
- }
903
- export interface $ZodLiteralInternals<T extends util.Literal = util.Literal> extends $ZodTypeInternals<T, T> {
904
- def: $ZodLiteralDef<T>;
905
- values: Set<T>;
906
- pattern: RegExp;
907
- isst: errors.$ZodIssueInvalidValue;
908
- }
909
- export interface $ZodLiteral<T extends util.Literal = util.Literal> extends $ZodType {
910
- _zod: $ZodLiteralInternals<T>;
911
- }
912
- export declare const $ZodLiteral: core.$constructor<$ZodLiteral>;
913
- type _File = typeof globalThis extends {
914
- File: infer F extends new (...args: any[]) => any;
915
- } ? InstanceType<F> : {};
916
- /** Do not reference this directly. */
917
- export interface File extends _File {
918
- readonly type: string;
919
- readonly size: number;
920
- }
921
- export interface $ZodFileDef extends $ZodTypeDef {
922
- type: "file";
923
- }
924
- export interface $ZodFileInternals extends $ZodTypeInternals<File, File> {
925
- def: $ZodFileDef;
926
- isst: errors.$ZodIssueInvalidType;
927
- bag: util.LoosePartial<{
928
- minimum: number;
929
- maximum: number;
930
- mime: util.MimeTypes[];
931
- }>;
932
- }
933
- export interface $ZodFile extends $ZodType {
934
- _zod: $ZodFileInternals;
935
- }
936
- export declare const $ZodFile: core.$constructor<$ZodFile>;
937
- export interface $ZodTransformDef extends $ZodTypeDef {
938
- type: "transform";
939
- transform: (input: unknown, payload: ParsePayload<unknown>) => util.MaybeAsync<unknown>;
940
- }
941
- export interface $ZodTransformInternals<O = unknown, I = unknown> extends $ZodTypeInternals<O, I> {
942
- def: $ZodTransformDef;
943
- isst: never;
944
- }
945
- export interface $ZodTransform<O = unknown, I = unknown> extends $ZodType {
946
- _zod: $ZodTransformInternals<O, I>;
947
- }
948
- export declare const $ZodTransform: core.$constructor<$ZodTransform>;
949
- export interface $ZodOptionalDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
950
- type: "optional";
951
- innerType: T;
952
- }
953
- export interface $ZodOptionalInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T> | undefined, core.input<T> | undefined> {
954
- def: $ZodOptionalDef<T>;
955
- optin: "optional" | "defaulted";
956
- optout: "optional";
957
- isst: never;
958
- values: T["_zod"]["values"];
959
- pattern: T["_zod"]["pattern"];
960
- }
961
- export interface $ZodOptional<T extends SomeType = $ZodType> extends $ZodType {
962
- _zod: $ZodOptionalInternals<T>;
963
- }
964
- export declare const $ZodOptional: core.$constructor<$ZodOptional>;
965
- export interface $ZodExactOptionalDef<T extends SomeType = $ZodType> extends $ZodOptionalDef<T> {
966
- }
967
- export interface $ZodExactOptionalInternals<T extends SomeType = $ZodType> extends $ZodOptionalInternals<T> {
968
- def: $ZodExactOptionalDef<T>;
969
- output: core.output<T>;
970
- input: core.input<T>;
971
- }
972
- export interface $ZodExactOptional<T extends SomeType = $ZodType> extends $ZodType {
973
- _zod: $ZodExactOptionalInternals<T>;
974
- }
975
- export declare const $ZodExactOptional: core.$constructor<$ZodExactOptional>;
976
- export interface $ZodNullableDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
977
- type: "nullable";
978
- innerType: T;
979
- }
980
- export interface $ZodNullableInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T> | null, core.input<T> | null> {
981
- def: $ZodNullableDef<T>;
982
- optin: T["_zod"]["optin"];
983
- optout: T["_zod"]["optout"];
984
- isst: never;
985
- values: T["_zod"]["values"];
986
- pattern: T["_zod"]["pattern"];
987
- }
988
- export interface $ZodNullable<T extends SomeType = $ZodType> extends $ZodType {
989
- _zod: $ZodNullableInternals<T>;
990
- }
991
- export declare const $ZodNullable: core.$constructor<$ZodNullable>;
992
- export interface $ZodDefaultDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
993
- type: "default";
994
- innerType: T;
995
- /** The default value. May be a getter. */
996
- defaultValue: util.NoUndefined<core.output<T>>;
997
- }
998
- export interface $ZodDefaultInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<util.NoUndefined<core.output<T>>, core.input<T> | undefined> {
999
- def: $ZodDefaultDef<T>;
1000
- optin: "defaulted";
1001
- optout?: "optional" | undefined;
1002
- isst: never;
1003
- values: T["_zod"]["values"];
1004
- }
1005
- export interface $ZodDefault<T extends SomeType = $ZodType> extends $ZodType {
1006
- _zod: $ZodDefaultInternals<T>;
1007
- }
1008
- export declare const $ZodDefault: core.$constructor<$ZodDefault>;
1009
- export interface $ZodPrefaultDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1010
- type: "prefault";
1011
- innerType: T;
1012
- /** The default value. May be a getter. */
1013
- defaultValue: core.input<T>;
1014
- }
1015
- export interface $ZodPrefaultInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T>, core.input<T> | undefined> {
1016
- def: $ZodPrefaultDef<T>;
1017
- optin: "defaulted";
1018
- optout?: "optional" | undefined;
1019
- isst: never;
1020
- values: T["_zod"]["values"];
1021
- }
1022
- export interface $ZodPrefault<T extends SomeType = $ZodType> extends $ZodType {
1023
- _zod: $ZodPrefaultInternals<T>;
1024
- }
1025
- export declare const $ZodPrefault: core.$constructor<$ZodPrefault>;
1026
- export interface $ZodNonOptionalDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1027
- type: "nonoptional";
1028
- innerType: T;
1029
- }
1030
- export interface $ZodNonOptionalInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<util.NoUndefined<core.output<T>>, util.NoUndefined<core.input<T>>> {
1031
- def: $ZodNonOptionalDef<T>;
1032
- isst: errors.$ZodIssueInvalidType;
1033
- values: T["_zod"]["values"];
1034
- optin: "optional" | undefined;
1035
- optout: "optional" | undefined;
1036
- }
1037
- export interface $ZodNonOptional<T extends SomeType = $ZodType> extends $ZodType {
1038
- _zod: $ZodNonOptionalInternals<T>;
1039
- }
1040
- export declare const $ZodNonOptional: core.$constructor<$ZodNonOptional>;
1041
- export interface $ZodSuccessDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1042
- type: "success";
1043
- innerType: T;
1044
- }
1045
- export interface $ZodSuccessInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<boolean, core.input<T>> {
1046
- def: $ZodSuccessDef<T>;
1047
- isst: never;
1048
- optin: T["_zod"]["optin"];
1049
- optout: "optional" | undefined;
1050
- }
1051
- export interface $ZodSuccess<T extends SomeType = $ZodType> extends $ZodType {
1052
- _zod: $ZodSuccessInternals<T>;
1053
- }
1054
- export declare const $ZodSuccess: core.$constructor<$ZodSuccess>;
1055
- export interface $ZodCatchCtx extends ParsePayload {
1056
- /** @deprecated Use `ctx.issues` */
1057
- error: {
1058
- issues: errors.$ZodIssue[];
1059
- };
1060
- /** @deprecated Use `ctx.value` */
1061
- input: unknown;
1062
- }
1063
- export interface $ZodCatchDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1064
- type: "catch";
1065
- innerType: T;
1066
- catchValue: (ctx: $ZodCatchCtx) => unknown;
1067
- }
1068
- export interface $ZodCatchInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T>, core.input<T>> {
1069
- def: $ZodCatchDef<T>;
1070
- optin: T["_zod"]["optin"];
1071
- optout: T["_zod"]["optout"];
1072
- isst: never;
1073
- values: T["_zod"]["values"];
1074
- }
1075
- export interface $ZodCatch<T extends SomeType = $ZodType> extends $ZodType {
1076
- _zod: $ZodCatchInternals<T>;
1077
- }
1078
- export declare const $ZodCatch: core.$constructor<$ZodCatch>;
1079
- export interface $ZodNaNDef extends $ZodTypeDef {
1080
- type: "nan";
1081
- }
1082
- export interface $ZodNaNInternals extends $ZodTypeInternals<number, number> {
1083
- def: $ZodNaNDef;
1084
- isst: errors.$ZodIssueInvalidType;
1085
- }
1086
- export interface $ZodNaN extends $ZodType {
1087
- _zod: $ZodNaNInternals;
1088
- }
1089
- export declare const $ZodNaN: core.$constructor<$ZodNaN>;
1090
- export interface $ZodPipeDef<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeDef {
1091
- type: "pipe";
1092
- in: A;
1093
- out: B;
1094
- /** Only defined inside $ZodCodec instances. */
1095
- transform?: (value: core.output<A>, payload: ParsePayload<core.output<A>>) => util.MaybeAsync<core.input<B>>;
1096
- /** Only defined inside $ZodCodec instances. */
1097
- reverseTransform?: (value: core.input<B>, payload: ParsePayload<core.input<B>>) => util.MaybeAsync<core.output<A>>;
1098
- }
1099
- export interface $ZodPipeInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<B>, core.input<A>> {
1100
- def: $ZodPipeDef<A, B>;
1101
- isst: never;
1102
- values: A["_zod"]["values"];
1103
- optin: A["_zod"]["optin"];
1104
- optout: B["_zod"]["optout"];
1105
- propValues: A["_zod"]["propValues"];
1106
- }
1107
- export interface $ZodPipe<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {
1108
- _zod: $ZodPipeInternals<A, B>;
1109
- }
1110
- export declare const $ZodPipe: core.$constructor<$ZodPipe>;
1111
- export interface $ZodCodecDef<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodPipeDef<A, B> {
1112
- transform: (value: core.output<A>, payload: ParsePayload<core.output<A>>) => util.MaybeAsync<core.input<B>>;
1113
- reverseTransform: (value: core.input<B>, payload: ParsePayload<core.input<B>>) => util.MaybeAsync<core.output<A>>;
1114
- }
1115
- export interface $ZodCodecInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<B>, core.input<A>> {
1116
- def: $ZodCodecDef<A, B>;
1117
- isst: never;
1118
- values: A["_zod"]["values"];
1119
- optin: A["_zod"]["optin"];
1120
- optout: B["_zod"]["optout"];
1121
- propValues: A["_zod"]["propValues"];
1122
- }
1123
- export interface $ZodCodec<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {
1124
- _zod: $ZodCodecInternals<A, B>;
1125
- }
1126
- export declare const $ZodCodec: core.$constructor<$ZodCodec>;
1127
- export interface $ZodPreprocessDef<B extends SomeType = $ZodType, I = unknown> extends $ZodPipeDef<$ZodTransform<unknown, I>, B> {
1128
- in: $ZodTransform<unknown, I>;
1129
- out: B;
1130
- }
1131
- export interface $ZodPreprocessInternals<B extends SomeType = $ZodType, I = unknown> extends $ZodPipeInternals<$ZodTransform<unknown, I>, B> {
1132
- def: $ZodPreprocessDef<B, I>;
1133
- optin: B["_zod"]["optin"];
1134
- optout: B["_zod"]["optout"];
1135
- }
1136
- export interface $ZodPreprocess<B extends SomeType = $ZodType, I = unknown> extends $ZodPipe<$ZodTransform<unknown, I>, B> {
1137
- _zod: $ZodPreprocessInternals<B, I>;
1138
- }
1139
- export declare const $ZodPreprocess: core.$constructor<$ZodPreprocess>;
1140
- export interface $ZodReadonlyDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1141
- type: "readonly";
1142
- innerType: T;
1143
- }
1144
- export interface $ZodReadonlyInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<util.MakeReadonly<core.output<T>>, util.MakeReadonly<core.input<T>>> {
1145
- def: $ZodReadonlyDef<T>;
1146
- optin: T["_zod"]["optin"];
1147
- optout: T["_zod"]["optout"];
1148
- isst: never;
1149
- propValues: T["_zod"]["propValues"];
1150
- values: T["_zod"]["values"];
1151
- }
1152
- export interface $ZodReadonly<T extends SomeType = $ZodType> extends $ZodType {
1153
- _zod: $ZodReadonlyInternals<T>;
1154
- }
1155
- export declare const $ZodReadonly: core.$constructor<$ZodReadonly>;
1156
- export interface $ZodTemplateLiteralDef extends $ZodTypeDef {
1157
- type: "template_literal";
1158
- parts: $ZodTemplateLiteralPart[];
1159
- format?: string | undefined;
1160
- }
1161
- export interface $ZodTemplateLiteralInternals<Template extends string = string> extends $ZodTypeInternals<Template, Template> {
1162
- pattern: RegExp;
1163
- def: $ZodTemplateLiteralDef;
1164
- isst: errors.$ZodIssueInvalidType;
1165
- }
1166
- export interface $ZodTemplateLiteral<Template extends string = string> extends $ZodType {
1167
- _zod: $ZodTemplateLiteralInternals<Template>;
1168
- }
1169
- type LiteralPart = Exclude<util.Literal, symbol>;
1170
- interface SchemaPartInternals extends $ZodTypeInternals<LiteralPart, LiteralPart> {
1171
- pattern: RegExp;
1172
- }
1173
- interface SchemaPart extends $ZodType {
1174
- _zod: SchemaPartInternals;
1175
- }
1176
- export type $ZodTemplateLiteralPart = LiteralPart | SchemaPart;
1177
- type UndefinedToEmptyString<T> = T extends undefined ? "" : T;
1178
- type AppendToTemplateLiteral<Template extends string, Suffix extends LiteralPart | $ZodType> = Suffix extends LiteralPart ? `${Template}${UndefinedToEmptyString<Suffix>}` : Suffix extends $ZodType ? `${Template}${core.output<Suffix> extends infer T extends LiteralPart ? UndefinedToEmptyString<T> : never}` : never;
1179
- export type ConcatenateTupleOfStrings<T extends string[]> = T extends [
1180
- infer First extends string,
1181
- ...infer Rest extends string[]
1182
- ] ? Rest extends string[] ? First extends "" ? ConcatenateTupleOfStrings<Rest> : `${First}${ConcatenateTupleOfStrings<Rest>}` : never : "";
1183
- export type ConvertPartsToStringTuple<Parts extends $ZodTemplateLiteralPart[]> = {
1184
- [K in keyof Parts]: Parts[K] extends LiteralPart ? `${UndefinedToEmptyString<Parts[K]>}` : Parts[K] extends $ZodType ? `${core.output<Parts[K]> extends infer T extends LiteralPart ? UndefinedToEmptyString<T> : never}` : never;
1185
- };
1186
- export type ToTemplateLiteral<Parts extends $ZodTemplateLiteralPart[]> = ConcatenateTupleOfStrings<ConvertPartsToStringTuple<Parts>>;
1187
- export type $PartsToTemplateLiteral<Parts extends $ZodTemplateLiteralPart[]> = [] extends Parts ? `` : Parts extends [...infer Rest, infer Last extends $ZodTemplateLiteralPart] ? Rest extends $ZodTemplateLiteralPart[] ? AppendToTemplateLiteral<$PartsToTemplateLiteral<Rest>, Last> : never : never;
1188
- export declare const $ZodTemplateLiteral: core.$constructor<$ZodTemplateLiteral>;
1189
- export type $ZodFunctionArgs = $ZodType<unknown[], unknown[]>;
1190
- export type $ZodFunctionIn = $ZodFunctionArgs;
1191
- export type $ZodFunctionOut = $ZodType;
1192
- export type $InferInnerFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : core.output<Args>) => core.input<Returns>;
1193
- export type $InferInnerFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : core.output<Args>) => util.MaybeAsync<core.input<Returns>>;
1194
- export type $InferOuterFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : core.input<Args>) => core.output<Returns>;
1195
- export type $InferOuterFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : core.input<Args>) => Promise<core.output<Returns>>;
1196
- export interface $ZodFunctionDef<In extends $ZodFunctionIn = $ZodFunctionIn, Out extends $ZodFunctionOut = $ZodFunctionOut> extends $ZodTypeDef {
1197
- type: "function";
1198
- input: In;
1199
- output: Out;
1200
- }
1201
- export interface $ZodFunctionInternals<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> extends $ZodTypeInternals<$InferOuterFunctionType<Args, Returns>, $InferInnerFunctionType<Args, Returns>> {
1202
- def: $ZodFunctionDef<Args, Returns>;
1203
- isst: errors.$ZodIssueInvalidType;
1204
- }
1205
- export interface $ZodFunction<Args extends $ZodFunctionIn = $ZodFunctionIn, Returns extends $ZodFunctionOut = $ZodFunctionOut> extends $ZodType<any, any, $ZodFunctionInternals<Args, Returns>> {
1206
- /** @deprecated */
1207
- _def: $ZodFunctionDef<Args, Returns>;
1208
- _input: $InferInnerFunctionType<Args, Returns>;
1209
- _output: $InferOuterFunctionType<Args, Returns>;
1210
- implement<F extends $InferInnerFunctionType<Args, Returns>>(func: F): (...args: Parameters<this["_output"]>) => ReturnType<F> extends ReturnType<this["_output"]> ? ReturnType<F> : ReturnType<this["_output"]>;
1211
- implementAsync<F extends $InferInnerFunctionTypeAsync<Args, Returns>>(func: F): F extends $InferOuterFunctionTypeAsync<Args, Returns> ? F : $InferOuterFunctionTypeAsync<Args, Returns>;
1212
- input<const Items extends util.TupleItems, const Rest extends $ZodFunctionOut = $ZodFunctionOut>(args: Items, rest?: Rest): $ZodFunction<$ZodTuple<Items, Rest>, Returns>;
1213
- input<NewArgs extends $ZodFunctionIn>(args: NewArgs): $ZodFunction<NewArgs, Returns>;
1214
- input(...args: any[]): $ZodFunction<any, Returns>;
1215
- output<NewReturns extends $ZodType>(output: NewReturns): $ZodFunction<Args, NewReturns>;
1216
- }
1217
- export interface $ZodFunctionParams<I extends $ZodFunctionIn, O extends $ZodType> {
1218
- input?: I;
1219
- output?: O;
1220
- }
1221
- export declare const $ZodFunction: core.$constructor<$ZodFunction>;
1222
- export interface $ZodPromiseDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1223
- type: "promise";
1224
- innerType: T;
1225
- }
1226
- export interface $ZodPromiseInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<Promise<core.output<T>>, util.MaybeAsync<core.input<T>>> {
1227
- def: $ZodPromiseDef<T>;
1228
- isst: never;
1229
- }
1230
- export interface $ZodPromise<T extends SomeType = $ZodType> extends $ZodType {
1231
- _zod: $ZodPromiseInternals<T>;
1232
- }
1233
- export declare const $ZodPromise: core.$constructor<$ZodPromise>;
1234
- export interface $ZodLazyDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1235
- type: "lazy";
1236
- getter: () => T;
1237
- }
1238
- export interface $ZodLazyInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T>, core.input<T>> {
1239
- def: $ZodLazyDef<T>;
1240
- isst: never;
1241
- /** Auto-cached way to retrieve the inner schema */
1242
- innerType: T;
1243
- pattern: T["_zod"]["pattern"];
1244
- propValues: T["_zod"]["propValues"];
1245
- optin: T["_zod"]["optin"];
1246
- optout: T["_zod"]["optout"];
1247
- }
1248
- export interface $ZodLazy<T extends SomeType = $ZodType> extends $ZodType {
1249
- _zod: $ZodLazyInternals<T>;
1250
- }
1251
- export declare const $ZodLazy: core.$constructor<$ZodLazy>;
1252
- export interface $ZodCustomDef<O = unknown> extends $ZodTypeDef, checks.$ZodCheckDef {
1253
- type: "custom";
1254
- check: "custom";
1255
- path?: PropertyKey[] | undefined;
1256
- error?: errors.$ZodErrorMap | undefined;
1257
- params?: Record<string, any> | undefined;
1258
- fn: (arg: O) => unknown;
1259
- }
1260
- export interface $ZodCustomInternals<O = unknown, I = unknown> extends $ZodTypeInternals<O, I>, checks.$ZodCheckInternals<O> {
1261
- def: $ZodCustomDef;
1262
- issc: errors.$ZodIssue;
1263
- isst: never;
1264
- bag: util.LoosePartial<{
1265
- Class: typeof util.Class;
1266
- }>;
1267
- }
1268
- export interface $ZodCustom<O = unknown, I = unknown> extends $ZodType {
1269
- _zod: $ZodCustomInternals<O, I>;
1270
- }
1271
- export declare const $ZodCustom: core.$constructor<$ZodCustom>;
1272
- export type $ZodTypes = $ZodString | $ZodNumber | $ZodBigInt | $ZodBoolean | $ZodDate | $ZodSymbol | $ZodUndefined | $ZodNullable | $ZodNull | $ZodAny | $ZodUnknown | $ZodNever | $ZodVoid | $ZodArray | $ZodObject | $ZodUnion | $ZodIntersection | $ZodTuple | $ZodRecord | $ZodMap | $ZodSet | $ZodLiteral | $ZodEnum | $ZodFunction | $ZodPromise | $ZodLazy | $ZodOptional | $ZodDefault | $ZodPrefault | $ZodTemplateLiteral | $ZodCustom | $ZodTransform | $ZodNonOptional | $ZodReadonly | $ZodNaN | $ZodPipe | $ZodSuccess | $ZodCatch | $ZodFile;
1273
- export type $ZodStringFormatTypes = $ZodGUID | $ZodUUID | $ZodEmail | $ZodURL | $ZodEmoji | $ZodNanoID | $ZodCUID | $ZodCUID2 | $ZodULID | $ZodXID | $ZodKSUID | $ZodISODateTime | $ZodISODate | $ZodISOTime | $ZodISODuration | $ZodIPv4 | $ZodIPv6 | $ZodMAC | $ZodCIDRv4 | $ZodCIDRv6 | $ZodBase64 | $ZodBase64URL | $ZodE164 | $ZodCreditCard | $ZodIBAN | $ZodJWT | $ZodCustomStringFormat<"hex"> | $ZodCustomStringFormat<util.HashFormat> | $ZodCustomStringFormat<"hostname"> | $ZodCustomStringFormat<"currency_code">;