@xenosystem/agent-cli 0.5.188 → 0.5.190

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 (865) hide show
  1. package/dist/cli.js +1 -1
  2. package/dist/index.js +2530 -2530
  3. package/dist/metafile-esm.json +1 -1
  4. package/dist/sdk-build-identity.json +18 -18
  5. package/native/xeno-pty/prebuilds/win32-x64/manifest.json +18 -18
  6. package/package.json +94 -94
  7. package/node_modules/@xeno-corporation/account/LICENSE +0 -39
  8. package/node_modules/@xeno-corporation/account/README.md +0 -266
  9. package/node_modules/@xeno-corporation/account/dist/chunk-FELZILY4.mjs +0 -60
  10. package/node_modules/@xeno-corporation/account/dist/chunk-FELZILY4.mjs.map +0 -1
  11. package/node_modules/@xeno-corporation/account/dist/client-D7OSWGkE.d.mts +0 -2337
  12. package/node_modules/@xeno-corporation/account/dist/client-D7OSWGkE.d.ts +0 -2337
  13. package/node_modules/@xeno-corporation/account/dist/index.d.mts +0 -110
  14. package/node_modules/@xeno-corporation/account/dist/index.d.ts +0 -110
  15. package/node_modules/@xeno-corporation/account/dist/index.js +0 -4116
  16. package/node_modules/@xeno-corporation/account/dist/index.js.map +0 -1
  17. package/node_modules/@xeno-corporation/account/dist/index.mjs +0 -3968
  18. package/node_modules/@xeno-corporation/account/dist/index.mjs.map +0 -1
  19. package/node_modules/@xeno-corporation/account/dist/node.d.mts +0 -109
  20. package/node_modules/@xeno-corporation/account/dist/node.d.ts +0 -109
  21. package/node_modules/@xeno-corporation/account/dist/node.js +0 -1448
  22. package/node_modules/@xeno-corporation/account/dist/node.js.map +0 -1
  23. package/node_modules/@xeno-corporation/account/dist/node.mjs +0 -1374
  24. package/node_modules/@xeno-corporation/account/dist/node.mjs.map +0 -1
  25. package/node_modules/@xeno-corporation/account/package.json +0 -62
  26. package/node_modules/zod/LICENSE +0 -21
  27. package/node_modules/zod/README.md +0 -218
  28. package/node_modules/zod/compile.cjs +0 -96
  29. package/node_modules/zod/compile.d.cts +0 -1
  30. package/node_modules/zod/compile.d.ts +0 -1
  31. package/node_modules/zod/compile.js +0 -52
  32. package/node_modules/zod/index.cjs +0 -52
  33. package/node_modules/zod/index.d.cts +0 -3
  34. package/node_modules/zod/index.d.ts +0 -3
  35. package/node_modules/zod/index.js +0 -7
  36. package/node_modules/zod/locales/index.cjs +0 -36
  37. package/node_modules/zod/locales/index.d.cts +0 -1
  38. package/node_modules/zod/locales/index.d.ts +0 -1
  39. package/node_modules/zod/locales/index.js +0 -1
  40. package/node_modules/zod/locales/package.json +0 -7
  41. package/node_modules/zod/mini/index.cjs +0 -51
  42. package/node_modules/zod/mini/index.d.cts +0 -3
  43. package/node_modules/zod/mini/index.d.ts +0 -3
  44. package/node_modules/zod/mini/index.js +0 -3
  45. package/node_modules/zod/mini/package.json +0 -7
  46. package/node_modules/zod/package.json +0 -147
  47. package/node_modules/zod/src/compile.ts +0 -56
  48. package/node_modules/zod/src/index.ts +0 -7
  49. package/node_modules/zod/src/locales/index.ts +0 -1
  50. package/node_modules/zod/src/mini/index.ts +0 -3
  51. package/node_modules/zod/src/v3/ZodError.ts +0 -340
  52. package/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
  53. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
  54. package/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
  55. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
  56. package/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
  57. package/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
  58. package/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
  59. package/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
  60. package/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
  61. package/node_modules/zod/src/v3/errors.ts +0 -13
  62. package/node_modules/zod/src/v3/external.ts +0 -6
  63. package/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
  64. package/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
  65. package/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
  66. package/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
  67. package/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
  68. package/node_modules/zod/src/v3/helpers/util.ts +0 -224
  69. package/node_modules/zod/src/v3/index.ts +0 -4
  70. package/node_modules/zod/src/v3/locales/en.ts +0 -124
  71. package/node_modules/zod/src/v3/standard-schema.ts +0 -113
  72. package/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
  73. package/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
  74. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
  75. package/node_modules/zod/src/v3/tests/array.test.ts +0 -71
  76. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
  77. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
  78. package/node_modules/zod/src/v3/tests/base.test.ts +0 -29
  79. package/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
  80. package/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
  81. package/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
  82. package/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
  83. package/node_modules/zod/src/v3/tests/complex.test.ts +0 -70
  84. package/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
  85. package/node_modules/zod/src/v3/tests/date.test.ts +0 -32
  86. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
  87. package/node_modules/zod/src/v3/tests/default.test.ts +0 -112
  88. package/node_modules/zod/src/v3/tests/description.test.ts +0 -33
  89. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
  90. package/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
  91. package/node_modules/zod/src/v3/tests/error.test.ts +0 -586
  92. package/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
  93. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
  94. package/node_modules/zod/src/v3/tests/function.test.ts +0 -261
  95. package/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
  96. package/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
  97. package/node_modules/zod/src/v3/tests/intersection.test.ts +0 -128
  98. package/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
  99. package/node_modules/zod/src/v3/tests/language-server.test.ts +0 -206
  100. package/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
  101. package/node_modules/zod/src/v3/tests/map.test.ts +0 -110
  102. package/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
  103. package/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
  104. package/node_modules/zod/src/v3/tests/nan.test.ts +0 -24
  105. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
  106. package/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
  107. package/node_modules/zod/src/v3/tests/number.test.ts +0 -176
  108. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
  109. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
  110. package/node_modules/zod/src/v3/tests/object.test.ts +0 -431
  111. package/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
  112. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
  113. package/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
  114. package/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
  115. package/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
  116. package/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
  117. package/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
  118. package/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
  119. package/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
  120. package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -114
  121. package/node_modules/zod/src/v3/tests/record.test.ts +0 -171
  122. package/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
  123. package/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
  124. package/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
  125. package/node_modules/zod/src/v3/tests/set.test.ts +0 -142
  126. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
  127. package/node_modules/zod/src/v3/tests/string.test.ts +0 -922
  128. package/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
  129. package/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
  130. package/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
  131. package/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
  132. package/node_modules/zod/src/v3/tests/void.test.ts +0 -15
  133. package/node_modules/zod/src/v3/types.ts +0 -5138
  134. package/node_modules/zod/src/v4/classic/checks.ts +0 -33
  135. package/node_modules/zod/src/v4/classic/coerce.ts +0 -27
  136. package/node_modules/zod/src/v4/classic/compat.ts +0 -78
  137. package/node_modules/zod/src/v4/classic/deep-partial.ts +0 -76
  138. package/node_modules/zod/src/v4/classic/errors.ts +0 -97
  139. package/node_modules/zod/src/v4/classic/external.ts +0 -57
  140. package/node_modules/zod/src/v4/classic/from-json-schema.ts +0 -944
  141. package/node_modules/zod/src/v4/classic/in-out.ts +0 -45
  142. package/node_modules/zod/src/v4/classic/index.ts +0 -5
  143. package/node_modules/zod/src/v4/classic/iso.ts +0 -20
  144. package/node_modules/zod/src/v4/classic/parse.ts +0 -88
  145. package/node_modules/zod/src/v4/classic/schemas.ts +0 -2937
  146. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
  147. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +0 -86
  148. package/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -291
  149. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -402
  150. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
  151. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
  152. package/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
  153. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -89
  154. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -106
  155. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -604
  156. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
  157. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +0 -572
  158. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +0 -704
  159. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
  160. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -374
  161. package/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +0 -76
  162. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
  163. package/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +0 -985
  164. package/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -92
  165. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -316
  166. package/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +0 -380
  167. package/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +0 -32
  168. package/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -455
  169. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +0 -27
  170. package/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
  171. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +0 -221
  172. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -942
  173. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -305
  174. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -917
  175. package/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -1108
  176. package/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -96
  177. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -179
  178. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +0 -26
  179. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +0 -1467
  180. package/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -391
  181. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
  182. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +0 -32
  183. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +0 -67
  184. package/node_modules/zod/src/v4/classic/tests/iban.test.ts +0 -81
  185. package/node_modules/zod/src/v4/classic/tests/in-out.test.ts +0 -159
  186. package/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -958
  187. package/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +0 -319
  188. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -127
  189. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -334
  190. package/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +0 -215
  191. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +0 -39
  192. package/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -109
  193. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -262
  194. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -128
  195. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +0 -29
  196. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +0 -24
  197. package/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -349
  198. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
  199. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
  200. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -101
  201. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
  202. package/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -401
  203. package/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -1006
  204. package/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +0 -235
  205. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -366
  206. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -497
  207. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -211
  208. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -101
  209. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -144
  210. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +0 -44
  211. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -351
  212. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
  213. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  214. package/node_modules/zod/src/v4/classic/tests/properties.test.ts +0 -141
  215. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
  216. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -184
  217. package/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -885
  218. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -707
  219. package/node_modules/zod/src/v4/classic/tests/redos.test.ts +0 -68
  220. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -693
  221. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -243
  222. package/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -196
  223. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -153
  224. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -125
  225. package/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -1440
  226. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -124
  227. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -812
  228. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -438
  229. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -4733
  230. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -378
  231. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -511
  232. package/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -310
  233. package/node_modules/zod/src/v4/classic/tests/url.test.ts +0 -13
  234. package/node_modules/zod/src/v4/classic/tests/validate.test.ts +0 -645
  235. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
  236. package/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
  237. package/node_modules/zod/src/v4/core/api.ts +0 -1875
  238. package/node_modules/zod/src/v4/core/checks.ts +0 -1266
  239. package/node_modules/zod/src/v4/core/compile.ts +0 -2322
  240. package/node_modules/zod/src/v4/core/core.ts +0 -230
  241. package/node_modules/zod/src/v4/core/doc.ts +0 -52
  242. package/node_modules/zod/src/v4/core/errors.ts +0 -543
  243. package/node_modules/zod/src/v4/core/index.ts +0 -19
  244. package/node_modules/zod/src/v4/core/json-schema-generator.ts +0 -131
  245. package/node_modules/zod/src/v4/core/json-schema-processors.ts +0 -934
  246. package/node_modules/zod/src/v4/core/json-schema.ts +0 -148
  247. package/node_modules/zod/src/v4/core/memoizer.ts +0 -331
  248. package/node_modules/zod/src/v4/core/parse.ts +0 -309
  249. package/node_modules/zod/src/v4/core/regexes.ts +0 -217
  250. package/node_modules/zod/src/v4/core/registries.ts +0 -105
  251. package/node_modules/zod/src/v4/core/schemas.ts +0 -5226
  252. package/node_modules/zod/src/v4/core/standard-schema.ts +0 -159
  253. package/node_modules/zod/src/v4/core/tests/cached.test.ts +0 -54
  254. package/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +0 -1004
  255. package/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +0 -445
  256. package/node_modules/zod/src/v4/core/tests/compile-global.test.ts +0 -89
  257. package/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +0 -26
  258. package/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +0 -34
  259. package/node_modules/zod/src/v4/core/tests/compile.test.ts +0 -2036
  260. package/node_modules/zod/src/v4/core/tests/email-regex.test.ts +0 -140
  261. package/node_modules/zod/src/v4/core/tests/extend.test.ts +0 -59
  262. package/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
  263. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
  264. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +0 -214
  265. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  266. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +0 -180
  267. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +0 -72
  268. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +0 -379
  269. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +0 -163
  270. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +0 -46
  271. package/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +0 -42
  272. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
  273. package/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +0 -85
  274. package/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +0 -69
  275. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  276. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +0 -105
  277. package/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +0 -46
  278. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +0 -125
  279. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +0 -45
  280. package/node_modules/zod/src/v4/core/tests/treeshake.test.ts +0 -51
  281. package/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +0 -133
  282. package/node_modules/zod/src/v4/core/to-json-schema.ts +0 -857
  283. package/node_modules/zod/src/v4/core/util.ts +0 -1293
  284. package/node_modules/zod/src/v4/core/versions.ts +0 -5
  285. package/node_modules/zod/src/v4/core/visit.ts +0 -193
  286. package/node_modules/zod/src/v4/core/zsf.ts +0 -323
  287. package/node_modules/zod/src/v4/index.ts +0 -4
  288. package/node_modules/zod/src/v4/locales/ar.ts +0 -120
  289. package/node_modules/zod/src/v4/locales/az.ts +0 -116
  290. package/node_modules/zod/src/v4/locales/be.ts +0 -188
  291. package/node_modules/zod/src/v4/locales/bg.ts +0 -133
  292. package/node_modules/zod/src/v4/locales/bn.ts +0 -123
  293. package/node_modules/zod/src/v4/locales/ca.ts +0 -121
  294. package/node_modules/zod/src/v4/locales/ckb.ts +0 -140
  295. package/node_modules/zod/src/v4/locales/cs.ts +0 -123
  296. package/node_modules/zod/src/v4/locales/da.ts +0 -128
  297. package/node_modules/zod/src/v4/locales/de.ts +0 -121
  298. package/node_modules/zod/src/v4/locales/el.ts +0 -124
  299. package/node_modules/zod/src/v4/locales/en.ts +0 -136
  300. package/node_modules/zod/src/v4/locales/eo.ts +0 -123
  301. package/node_modules/zod/src/v4/locales/es.ts +0 -145
  302. package/node_modules/zod/src/v4/locales/fa.ts +0 -131
  303. package/node_modules/zod/src/v4/locales/fi.ts +0 -126
  304. package/node_modules/zod/src/v4/locales/fr-CA.ts +0 -121
  305. package/node_modules/zod/src/v4/locales/fr.ts +0 -139
  306. package/node_modules/zod/src/v4/locales/gu.ts +0 -123
  307. package/node_modules/zod/src/v4/locales/he.ts +0 -253
  308. package/node_modules/zod/src/v4/locales/hi.ts +0 -126
  309. package/node_modules/zod/src/v4/locales/hr.ts +0 -135
  310. package/node_modules/zod/src/v4/locales/hu.ts +0 -122
  311. package/node_modules/zod/src/v4/locales/hy.ts +0 -175
  312. package/node_modules/zod/src/v4/locales/id.ts +0 -120
  313. package/node_modules/zod/src/v4/locales/index.ts +0 -63
  314. package/node_modules/zod/src/v4/locales/is.ts +0 -124
  315. package/node_modules/zod/src/v4/locales/it.ts +0 -121
  316. package/node_modules/zod/src/v4/locales/ja.ts +0 -119
  317. package/node_modules/zod/src/v4/locales/ka.ts +0 -128
  318. package/node_modules/zod/src/v4/locales/kh.ts +0 -7
  319. package/node_modules/zod/src/v4/locales/km.ts +0 -124
  320. package/node_modules/zod/src/v4/locales/kn.ts +0 -126
  321. package/node_modules/zod/src/v4/locales/ko.ts +0 -126
  322. package/node_modules/zod/src/v4/locales/lt.ts +0 -243
  323. package/node_modules/zod/src/v4/locales/mk.ts +0 -123
  324. package/node_modules/zod/src/v4/locales/ms.ts +0 -120
  325. package/node_modules/zod/src/v4/locales/ne.ts +0 -128
  326. package/node_modules/zod/src/v4/locales/nl.ts +0 -126
  327. package/node_modules/zod/src/v4/locales/nn.ts +0 -121
  328. package/node_modules/zod/src/v4/locales/no.ts +0 -121
  329. package/node_modules/zod/src/v4/locales/ota.ts +0 -122
  330. package/node_modules/zod/src/v4/locales/pl.ts +0 -123
  331. package/node_modules/zod/src/v4/locales/ps.ts +0 -131
  332. package/node_modules/zod/src/v4/locales/pt-BR.ts +0 -161
  333. package/node_modules/zod/src/v4/locales/pt.ts +0 -159
  334. package/node_modules/zod/src/v4/locales/ro.ts +0 -132
  335. package/node_modules/zod/src/v4/locales/ru.ts +0 -188
  336. package/node_modules/zod/src/v4/locales/sk.ts +0 -123
  337. package/node_modules/zod/src/v4/locales/sl.ts +0 -123
  338. package/node_modules/zod/src/v4/locales/sv.ts +0 -124
  339. package/node_modules/zod/src/v4/locales/ta.ts +0 -123
  340. package/node_modules/zod/src/v4/locales/tg.ts +0 -135
  341. package/node_modules/zod/src/v4/locales/th.ts +0 -124
  342. package/node_modules/zod/src/v4/locales/tk.ts +0 -113
  343. package/node_modules/zod/src/v4/locales/tr.ts +0 -116
  344. package/node_modules/zod/src/v4/locales/ua.ts +0 -7
  345. package/node_modules/zod/src/v4/locales/uk.ts +0 -122
  346. package/node_modules/zod/src/v4/locales/ur.ts +0 -124
  347. package/node_modules/zod/src/v4/locales/uz.ts +0 -120
  348. package/node_modules/zod/src/v4/locales/vi.ts +0 -122
  349. package/node_modules/zod/src/v4/locales/yo.ts +0 -129
  350. package/node_modules/zod/src/v4/locales/zh-CN.ts +0 -121
  351. package/node_modules/zod/src/v4/locales/zh-TW.ts +0 -120
  352. package/node_modules/zod/src/v4/mini/checks.ts +0 -33
  353. package/node_modules/zod/src/v4/mini/coerce.ts +0 -27
  354. package/node_modules/zod/src/v4/mini/deep-partial.ts +0 -73
  355. package/node_modules/zod/src/v4/mini/external.ts +0 -52
  356. package/node_modules/zod/src/v4/mini/in-out.ts +0 -45
  357. package/node_modules/zod/src/v4/mini/index.ts +0 -3
  358. package/node_modules/zod/src/v4/mini/iso.ts +0 -66
  359. package/node_modules/zod/src/v4/mini/parse.ts +0 -16
  360. package/node_modules/zod/src/v4/mini/schemas.ts +0 -2051
  361. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +0 -57
  362. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -190
  363. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -94
  364. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -158
  365. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +0 -582
  366. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -30
  367. package/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +0 -84
  368. package/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +0 -54
  369. package/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -41
  370. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -14
  371. package/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -1146
  372. package/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -109
  373. package/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -292
  374. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
  375. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -341
  376. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +0 -50
  377. package/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -396
  378. package/node_modules/zod/src/v4-mini/index.ts +0 -3
  379. package/node_modules/zod/v3/ZodError.cjs +0 -167
  380. package/node_modules/zod/v3/ZodError.d.cts +0 -164
  381. package/node_modules/zod/v3/ZodError.d.ts +0 -164
  382. package/node_modules/zod/v3/ZodError.js +0 -143
  383. package/node_modules/zod/v3/errors.cjs +0 -36
  384. package/node_modules/zod/v3/errors.d.cts +0 -5
  385. package/node_modules/zod/v3/errors.d.ts +0 -5
  386. package/node_modules/zod/v3/errors.js +0 -9
  387. package/node_modules/zod/v3/external.cjs +0 -41
  388. package/node_modules/zod/v3/external.d.cts +0 -6
  389. package/node_modules/zod/v3/external.d.ts +0 -6
  390. package/node_modules/zod/v3/external.js +0 -6
  391. package/node_modules/zod/v3/helpers/enumUtil.cjs +0 -21
  392. package/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
  393. package/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
  394. package/node_modules/zod/v3/helpers/enumUtil.js +0 -1
  395. package/node_modules/zod/v3/helpers/errorUtil.cjs +0 -28
  396. package/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
  397. package/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
  398. package/node_modules/zod/v3/helpers/errorUtil.js +0 -6
  399. package/node_modules/zod/v3/helpers/parseUtil.cjs +0 -143
  400. package/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
  401. package/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
  402. package/node_modules/zod/v3/helpers/parseUtil.js +0 -109
  403. package/node_modules/zod/v3/helpers/partialUtil.cjs +0 -21
  404. package/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
  405. package/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
  406. package/node_modules/zod/v3/helpers/partialUtil.js +0 -1
  407. package/node_modules/zod/v3/helpers/typeAliases.cjs +0 -21
  408. package/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
  409. package/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
  410. package/node_modules/zod/v3/helpers/typeAliases.js +0 -1
  411. package/node_modules/zod/v3/helpers/util.cjs +0 -156
  412. package/node_modules/zod/v3/helpers/util.d.cts +0 -85
  413. package/node_modules/zod/v3/helpers/util.d.ts +0 -85
  414. package/node_modules/zod/v3/helpers/util.js +0 -133
  415. package/node_modules/zod/v3/index.cjs +0 -52
  416. package/node_modules/zod/v3/index.d.cts +0 -4
  417. package/node_modules/zod/v3/index.d.ts +0 -4
  418. package/node_modules/zod/v3/index.js +0 -4
  419. package/node_modules/zod/v3/locales/en.cjs +0 -112
  420. package/node_modules/zod/v3/locales/en.d.cts +0 -3
  421. package/node_modules/zod/v3/locales/en.d.ts +0 -3
  422. package/node_modules/zod/v3/locales/en.js +0 -109
  423. package/node_modules/zod/v3/package.json +0 -7
  424. package/node_modules/zod/v3/standard-schema.cjs +0 -21
  425. package/node_modules/zod/v3/standard-schema.d.cts +0 -102
  426. package/node_modules/zod/v3/standard-schema.d.ts +0 -102
  427. package/node_modules/zod/v3/standard-schema.js +0 -1
  428. package/node_modules/zod/v3/types.cjs +0 -3798
  429. package/node_modules/zod/v3/types.d.cts +0 -1034
  430. package/node_modules/zod/v3/types.d.ts +0 -1034
  431. package/node_modules/zod/v3/types.js +0 -3697
  432. package/node_modules/zod/v4/classic/checks.cjs +0 -53
  433. package/node_modules/zod/v4/classic/checks.d.cts +0 -1
  434. package/node_modules/zod/v4/classic/checks.d.ts +0 -1
  435. package/node_modules/zod/v4/classic/checks.js +0 -1
  436. package/node_modules/zod/v4/classic/coerce.cjs +0 -66
  437. package/node_modules/zod/v4/classic/coerce.d.cts +0 -17
  438. package/node_modules/zod/v4/classic/coerce.d.ts +0 -17
  439. package/node_modules/zod/v4/classic/coerce.js +0 -17
  440. package/node_modules/zod/v4/classic/compat.cjs +0 -80
  441. package/node_modules/zod/v4/classic/compat.d.cts +0 -48
  442. package/node_modules/zod/v4/classic/compat.d.ts +0 -48
  443. package/node_modules/zod/v4/classic/compat.js +0 -31
  444. package/node_modules/zod/v4/classic/deep-partial.cjs +0 -58
  445. package/node_modules/zod/v4/classic/deep-partial.d.cts +0 -14
  446. package/node_modules/zod/v4/classic/deep-partial.d.ts +0 -14
  447. package/node_modules/zod/v4/classic/deep-partial.js +0 -13
  448. package/node_modules/zod/v4/classic/errors.cjs +0 -102
  449. package/node_modules/zod/v4/classic/errors.d.cts +0 -29
  450. package/node_modules/zod/v4/classic/errors.d.ts +0 -29
  451. package/node_modules/zod/v4/classic/errors.js +0 -57
  452. package/node_modules/zod/v4/classic/external.cjs +0 -97
  453. package/node_modules/zod/v4/classic/external.d.cts +0 -19
  454. package/node_modules/zod/v4/classic/external.d.ts +0 -19
  455. package/node_modules/zod/v4/classic/external.js +0 -17
  456. package/node_modules/zod/v4/classic/from-json-schema.cjs +0 -926
  457. package/node_modules/zod/v4/classic/from-json-schema.d.cts +0 -12
  458. package/node_modules/zod/v4/classic/from-json-schema.d.ts +0 -12
  459. package/node_modules/zod/v4/classic/from-json-schema.js +0 -881
  460. package/node_modules/zod/v4/classic/in-out.cjs +0 -82
  461. package/node_modules/zod/v4/classic/in-out.d.cts +0 -8
  462. package/node_modules/zod/v4/classic/in-out.d.ts +0 -8
  463. package/node_modules/zod/v4/classic/in-out.js +0 -36
  464. package/node_modules/zod/v4/classic/index.cjs +0 -52
  465. package/node_modules/zod/v4/classic/index.d.cts +0 -3
  466. package/node_modules/zod/v4/classic/index.d.ts +0 -3
  467. package/node_modules/zod/v4/classic/index.js +0 -4
  468. package/node_modules/zod/v4/classic/iso.cjs +0 -68
  469. package/node_modules/zod/v4/classic/iso.d.cts +0 -7
  470. package/node_modules/zod/v4/classic/iso.d.ts +0 -7
  471. package/node_modules/zod/v4/classic/iso.js +0 -15
  472. package/node_modules/zod/v4/classic/package.json +0 -7
  473. package/node_modules/zod/v4/classic/parse.cjs +0 -63
  474. package/node_modules/zod/v4/classic/parse.d.cts +0 -44
  475. package/node_modules/zod/v4/classic/parse.d.ts +0 -44
  476. package/node_modules/zod/v4/classic/parse.js +0 -16
  477. package/node_modules/zod/v4/classic/schemas.cjs +0 -1676
  478. package/node_modules/zod/v4/classic/schemas.d.cts +0 -816
  479. package/node_modules/zod/v4/classic/schemas.d.ts +0 -816
  480. package/node_modules/zod/v4/classic/schemas.js +0 -1535
  481. package/node_modules/zod/v4/core/api.cjs +0 -1269
  482. package/node_modules/zod/v4/core/api.d.cts +0 -335
  483. package/node_modules/zod/v4/core/api.d.ts +0 -335
  484. package/node_modules/zod/v4/core/api.js +0 -1107
  485. package/node_modules/zod/v4/core/checks.cjs +0 -561
  486. package/node_modules/zod/v4/core/checks.d.cts +0 -294
  487. package/node_modules/zod/v4/core/checks.d.ts +0 -294
  488. package/node_modules/zod/v4/core/checks.js +0 -516
  489. package/node_modules/zod/v4/core/compile.cjs +0 -1916
  490. package/node_modules/zod/v4/core/compile.d.cts +0 -65
  491. package/node_modules/zod/v4/core/compile.d.ts +0 -65
  492. package/node_modules/zod/v4/core/compile.js +0 -1866
  493. package/node_modules/zod/v4/core/core.cjs +0 -167
  494. package/node_modules/zod/v4/core/core.d.cts +0 -82
  495. package/node_modules/zod/v4/core/core.d.ts +0 -82
  496. package/node_modules/zod/v4/core/core.js +0 -141
  497. package/node_modules/zod/v4/core/doc.cjs +0 -61
  498. package/node_modules/zod/v4/core/doc.d.cts +0 -16
  499. package/node_modules/zod/v4/core/doc.d.ts +0 -16
  500. package/node_modules/zod/v4/core/doc.js +0 -38
  501. package/node_modules/zod/v4/core/errors.cjs +0 -317
  502. package/node_modules/zod/v4/core/errors.d.cts +0 -225
  503. package/node_modules/zod/v4/core/errors.d.ts +0 -225
  504. package/node_modules/zod/v4/core/errors.js +0 -267
  505. package/node_modules/zod/v4/core/index.cjs +0 -70
  506. package/node_modules/zod/v4/core/index.d.cts +0 -19
  507. package/node_modules/zod/v4/core/index.d.ts +0 -19
  508. package/node_modules/zod/v4/core/index.js +0 -19
  509. package/node_modules/zod/v4/core/json-schema-generator.cjs +0 -122
  510. package/node_modules/zod/v4/core/json-schema-generator.d.cts +0 -65
  511. package/node_modules/zod/v4/core/json-schema-generator.d.ts +0 -65
  512. package/node_modules/zod/v4/core/json-schema-generator.js +0 -99
  513. package/node_modules/zod/v4/core/json-schema-processors.cjs +0 -929
  514. package/node_modules/zod/v4/core/json-schema-processors.d.cts +0 -65
  515. package/node_modules/zod/v4/core/json-schema-processors.d.ts +0 -65
  516. package/node_modules/zod/v4/core/json-schema-processors.js +0 -843
  517. package/node_modules/zod/v4/core/json-schema.cjs +0 -21
  518. package/node_modules/zod/v4/core/json-schema.d.cts +0 -89
  519. package/node_modules/zod/v4/core/json-schema.d.ts +0 -89
  520. package/node_modules/zod/v4/core/json-schema.js +0 -1
  521. package/node_modules/zod/v4/core/memoizer.cjs +0 -360
  522. package/node_modules/zod/v4/core/memoizer.d.cts +0 -15
  523. package/node_modules/zod/v4/core/memoizer.d.ts +0 -15
  524. package/node_modules/zod/v4/core/memoizer.js +0 -311
  525. package/node_modules/zod/v4/core/package.json +0 -7
  526. package/node_modules/zod/v4/core/parse.cjs +0 -233
  527. package/node_modules/zod/v4/core/parse.d.cts +0 -52
  528. package/node_modules/zod/v4/core/parse.d.ts +0 -52
  529. package/node_modules/zod/v4/core/parse.js +0 -175
  530. package/node_modules/zod/v4/core/regexes.cjs +0 -209
  531. package/node_modules/zod/v4/core/regexes.d.cts +0 -90
  532. package/node_modules/zod/v4/core/regexes.d.ts +0 -90
  533. package/node_modules/zod/v4/core/regexes.js +0 -156
  534. package/node_modules/zod/v4/core/registries.cjs +0 -75
  535. package/node_modules/zod/v4/core/registries.d.cts +0 -35
  536. package/node_modules/zod/v4/core/registries.d.ts +0 -35
  537. package/node_modules/zod/v4/core/registries.js +0 -51
  538. package/node_modules/zod/v4/core/schemas.cjs +0 -2699
  539. package/node_modules/zod/v4/core/schemas.d.cts +0 -1275
  540. package/node_modules/zod/v4/core/schemas.d.ts +0 -1275
  541. package/node_modules/zod/v4/core/schemas.js +0 -2636
  542. package/node_modules/zod/v4/core/standard-schema.cjs +0 -21
  543. package/node_modules/zod/v4/core/standard-schema.d.cts +0 -126
  544. package/node_modules/zod/v4/core/standard-schema.d.ts +0 -126
  545. package/node_modules/zod/v4/core/standard-schema.js +0 -1
  546. package/node_modules/zod/v4/core/to-json-schema.cjs +0 -681
  547. package/node_modules/zod/v4/core/to-json-schema.d.cts +0 -154
  548. package/node_modules/zod/v4/core/to-json-schema.d.ts +0 -154
  549. package/node_modules/zod/v4/core/to-json-schema.js +0 -651
  550. package/node_modules/zod/v4/core/util.cjs +0 -964
  551. package/node_modules/zod/v4/core/util.d.cts +0 -280
  552. package/node_modules/zod/v4/core/util.d.ts +0 -280
  553. package/node_modules/zod/v4/core/util.js +0 -873
  554. package/node_modules/zod/v4/core/versions.cjs +0 -27
  555. package/node_modules/zod/v4/core/versions.d.cts +0 -5
  556. package/node_modules/zod/v4/core/versions.d.ts +0 -5
  557. package/node_modules/zod/v4/core/versions.js +0 -5
  558. package/node_modules/zod/v4/core/visit.cjs +0 -214
  559. package/node_modules/zod/v4/core/visit.d.cts +0 -30
  560. package/node_modules/zod/v4/core/visit.d.ts +0 -30
  561. package/node_modules/zod/v4/core/visit.js +0 -169
  562. package/node_modules/zod/v4/index.cjs +0 -51
  563. package/node_modules/zod/v4/index.d.cts +0 -3
  564. package/node_modules/zod/v4/index.d.ts +0 -3
  565. package/node_modules/zod/v4/index.js +0 -4
  566. package/node_modules/zod/v4/locales/ar.cjs +0 -138
  567. package/node_modules/zod/v4/locales/ar.d.cts +0 -5
  568. package/node_modules/zod/v4/locales/ar.d.ts +0 -4
  569. package/node_modules/zod/v4/locales/ar.js +0 -111
  570. package/node_modules/zod/v4/locales/az.cjs +0 -137
  571. package/node_modules/zod/v4/locales/az.d.cts +0 -5
  572. package/node_modules/zod/v4/locales/az.d.ts +0 -4
  573. package/node_modules/zod/v4/locales/az.js +0 -110
  574. package/node_modules/zod/v4/locales/be.cjs +0 -195
  575. package/node_modules/zod/v4/locales/be.d.cts +0 -5
  576. package/node_modules/zod/v4/locales/be.d.ts +0 -4
  577. package/node_modules/zod/v4/locales/be.js +0 -168
  578. package/node_modules/zod/v4/locales/bg.cjs +0 -152
  579. package/node_modules/zod/v4/locales/bg.d.cts +0 -5
  580. package/node_modules/zod/v4/locales/bg.d.ts +0 -4
  581. package/node_modules/zod/v4/locales/bg.js +0 -125
  582. package/node_modules/zod/v4/locales/bn.cjs +0 -140
  583. package/node_modules/zod/v4/locales/bn.d.cts +0 -5
  584. package/node_modules/zod/v4/locales/bn.d.ts +0 -4
  585. package/node_modules/zod/v4/locales/bn.js +0 -113
  586. package/node_modules/zod/v4/locales/ca.cjs +0 -139
  587. package/node_modules/zod/v4/locales/ca.d.cts +0 -5
  588. package/node_modules/zod/v4/locales/ca.d.ts +0 -4
  589. package/node_modules/zod/v4/locales/ca.js +0 -112
  590. package/node_modules/zod/v4/locales/ckb.cjs +0 -160
  591. package/node_modules/zod/v4/locales/ckb.d.cts +0 -5
  592. package/node_modules/zod/v4/locales/ckb.d.ts +0 -4
  593. package/node_modules/zod/v4/locales/ckb.js +0 -133
  594. package/node_modules/zod/v4/locales/cs.cjs +0 -143
  595. package/node_modules/zod/v4/locales/cs.d.cts +0 -5
  596. package/node_modules/zod/v4/locales/cs.d.ts +0 -4
  597. package/node_modules/zod/v4/locales/cs.js +0 -116
  598. package/node_modules/zod/v4/locales/da.cjs +0 -147
  599. package/node_modules/zod/v4/locales/da.d.cts +0 -5
  600. package/node_modules/zod/v4/locales/da.d.ts +0 -4
  601. package/node_modules/zod/v4/locales/da.js +0 -120
  602. package/node_modules/zod/v4/locales/de.cjs +0 -140
  603. package/node_modules/zod/v4/locales/de.d.cts +0 -5
  604. package/node_modules/zod/v4/locales/de.d.ts +0 -4
  605. package/node_modules/zod/v4/locales/de.js +0 -113
  606. package/node_modules/zod/v4/locales/el.cjs +0 -139
  607. package/node_modules/zod/v4/locales/el.d.cts +0 -5
  608. package/node_modules/zod/v4/locales/el.d.ts +0 -4
  609. package/node_modules/zod/v4/locales/el.js +0 -112
  610. package/node_modules/zod/v4/locales/en.cjs +0 -152
  611. package/node_modules/zod/v4/locales/en.d.cts +0 -5
  612. package/node_modules/zod/v4/locales/en.d.ts +0 -4
  613. package/node_modules/zod/v4/locales/en.js +0 -125
  614. package/node_modules/zod/v4/locales/eo.cjs +0 -141
  615. package/node_modules/zod/v4/locales/eo.d.cts +0 -5
  616. package/node_modules/zod/v4/locales/eo.d.ts +0 -4
  617. package/node_modules/zod/v4/locales/eo.js +0 -114
  618. package/node_modules/zod/v4/locales/es.cjs +0 -163
  619. package/node_modules/zod/v4/locales/es.d.cts +0 -5
  620. package/node_modules/zod/v4/locales/es.d.ts +0 -4
  621. package/node_modules/zod/v4/locales/es.js +0 -136
  622. package/node_modules/zod/v4/locales/fa.cjs +0 -146
  623. package/node_modules/zod/v4/locales/fa.d.cts +0 -5
  624. package/node_modules/zod/v4/locales/fa.d.ts +0 -4
  625. package/node_modules/zod/v4/locales/fa.js +0 -119
  626. package/node_modules/zod/v4/locales/fi.cjs +0 -144
  627. package/node_modules/zod/v4/locales/fi.d.cts +0 -5
  628. package/node_modules/zod/v4/locales/fi.d.ts +0 -4
  629. package/node_modules/zod/v4/locales/fi.js +0 -117
  630. package/node_modules/zod/v4/locales/fr-CA.cjs +0 -139
  631. package/node_modules/zod/v4/locales/fr-CA.d.cts +0 -5
  632. package/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
  633. package/node_modules/zod/v4/locales/fr-CA.js +0 -112
  634. package/node_modules/zod/v4/locales/fr.cjs +0 -156
  635. package/node_modules/zod/v4/locales/fr.d.cts +0 -5
  636. package/node_modules/zod/v4/locales/fr.d.ts +0 -4
  637. package/node_modules/zod/v4/locales/fr.js +0 -129
  638. package/node_modules/zod/v4/locales/gu.cjs +0 -140
  639. package/node_modules/zod/v4/locales/gu.d.cts +0 -5
  640. package/node_modules/zod/v4/locales/gu.d.ts +0 -4
  641. package/node_modules/zod/v4/locales/gu.js +0 -113
  642. package/node_modules/zod/v4/locales/he.cjs +0 -248
  643. package/node_modules/zod/v4/locales/he.d.cts +0 -5
  644. package/node_modules/zod/v4/locales/he.d.ts +0 -4
  645. package/node_modules/zod/v4/locales/he.js +0 -221
  646. package/node_modules/zod/v4/locales/hi.cjs +0 -138
  647. package/node_modules/zod/v4/locales/hi.d.cts +0 -5
  648. package/node_modules/zod/v4/locales/hi.d.ts +0 -4
  649. package/node_modules/zod/v4/locales/hi.js +0 -111
  650. package/node_modules/zod/v4/locales/hr.cjs +0 -153
  651. package/node_modules/zod/v4/locales/hr.d.cts +0 -5
  652. package/node_modules/zod/v4/locales/hr.d.ts +0 -4
  653. package/node_modules/zod/v4/locales/hr.js +0 -126
  654. package/node_modules/zod/v4/locales/hu.cjs +0 -140
  655. package/node_modules/zod/v4/locales/hu.d.cts +0 -5
  656. package/node_modules/zod/v4/locales/hu.d.ts +0 -4
  657. package/node_modules/zod/v4/locales/hu.js +0 -113
  658. package/node_modules/zod/v4/locales/hy.cjs +0 -185
  659. package/node_modules/zod/v4/locales/hy.d.cts +0 -5
  660. package/node_modules/zod/v4/locales/hy.d.ts +0 -4
  661. package/node_modules/zod/v4/locales/hy.js +0 -158
  662. package/node_modules/zod/v4/locales/id.cjs +0 -138
  663. package/node_modules/zod/v4/locales/id.d.cts +0 -5
  664. package/node_modules/zod/v4/locales/id.d.ts +0 -4
  665. package/node_modules/zod/v4/locales/id.js +0 -111
  666. package/node_modules/zod/v4/locales/index.cjs +0 -152
  667. package/node_modules/zod/v4/locales/index.d.cts +0 -63
  668. package/node_modules/zod/v4/locales/index.d.ts +0 -63
  669. package/node_modules/zod/v4/locales/index.js +0 -63
  670. package/node_modules/zod/v4/locales/is.cjs +0 -141
  671. package/node_modules/zod/v4/locales/is.d.cts +0 -5
  672. package/node_modules/zod/v4/locales/is.d.ts +0 -4
  673. package/node_modules/zod/v4/locales/is.js +0 -114
  674. package/node_modules/zod/v4/locales/it.cjs +0 -140
  675. package/node_modules/zod/v4/locales/it.d.cts +0 -5
  676. package/node_modules/zod/v4/locales/it.d.ts +0 -4
  677. package/node_modules/zod/v4/locales/it.js +0 -113
  678. package/node_modules/zod/v4/locales/ja.cjs +0 -139
  679. package/node_modules/zod/v4/locales/ja.d.cts +0 -5
  680. package/node_modules/zod/v4/locales/ja.d.ts +0 -4
  681. package/node_modules/zod/v4/locales/ja.js +0 -112
  682. package/node_modules/zod/v4/locales/ka.cjs +0 -144
  683. package/node_modules/zod/v4/locales/ka.d.cts +0 -5
  684. package/node_modules/zod/v4/locales/ka.d.ts +0 -4
  685. package/node_modules/zod/v4/locales/ka.js +0 -117
  686. package/node_modules/zod/v4/locales/kh.cjs +0 -12
  687. package/node_modules/zod/v4/locales/kh.d.cts +0 -5
  688. package/node_modules/zod/v4/locales/kh.d.ts +0 -5
  689. package/node_modules/zod/v4/locales/kh.js +0 -5
  690. package/node_modules/zod/v4/locales/km.cjs +0 -142
  691. package/node_modules/zod/v4/locales/km.d.cts +0 -5
  692. package/node_modules/zod/v4/locales/km.d.ts +0 -4
  693. package/node_modules/zod/v4/locales/km.js +0 -115
  694. package/node_modules/zod/v4/locales/kn.cjs +0 -143
  695. package/node_modules/zod/v4/locales/kn.d.cts +0 -5
  696. package/node_modules/zod/v4/locales/kn.d.ts +0 -4
  697. package/node_modules/zod/v4/locales/kn.js +0 -116
  698. package/node_modules/zod/v4/locales/ko.cjs +0 -143
  699. package/node_modules/zod/v4/locales/ko.d.cts +0 -5
  700. package/node_modules/zod/v4/locales/ko.d.ts +0 -4
  701. package/node_modules/zod/v4/locales/ko.js +0 -116
  702. package/node_modules/zod/v4/locales/lt.cjs +0 -234
  703. package/node_modules/zod/v4/locales/lt.d.cts +0 -5
  704. package/node_modules/zod/v4/locales/lt.d.ts +0 -4
  705. package/node_modules/zod/v4/locales/lt.js +0 -207
  706. package/node_modules/zod/v4/locales/mk.cjs +0 -141
  707. package/node_modules/zod/v4/locales/mk.d.cts +0 -5
  708. package/node_modules/zod/v4/locales/mk.d.ts +0 -4
  709. package/node_modules/zod/v4/locales/mk.js +0 -114
  710. package/node_modules/zod/v4/locales/ms.cjs +0 -139
  711. package/node_modules/zod/v4/locales/ms.d.cts +0 -5
  712. package/node_modules/zod/v4/locales/ms.d.ts +0 -4
  713. package/node_modules/zod/v4/locales/ms.js +0 -112
  714. package/node_modules/zod/v4/locales/ne.cjs +0 -138
  715. package/node_modules/zod/v4/locales/ne.d.cts +0 -5
  716. package/node_modules/zod/v4/locales/ne.d.ts +0 -4
  717. package/node_modules/zod/v4/locales/ne.js +0 -111
  718. package/node_modules/zod/v4/locales/nl.cjs +0 -142
  719. package/node_modules/zod/v4/locales/nl.d.cts +0 -5
  720. package/node_modules/zod/v4/locales/nl.d.ts +0 -4
  721. package/node_modules/zod/v4/locales/nl.js +0 -115
  722. package/node_modules/zod/v4/locales/nn.cjs +0 -140
  723. package/node_modules/zod/v4/locales/nn.d.cts +0 -5
  724. package/node_modules/zod/v4/locales/nn.d.ts +0 -4
  725. package/node_modules/zod/v4/locales/nn.js +0 -113
  726. package/node_modules/zod/v4/locales/no.cjs +0 -140
  727. package/node_modules/zod/v4/locales/no.d.cts +0 -5
  728. package/node_modules/zod/v4/locales/no.d.ts +0 -4
  729. package/node_modules/zod/v4/locales/no.js +0 -113
  730. package/node_modules/zod/v4/locales/ota.cjs +0 -141
  731. package/node_modules/zod/v4/locales/ota.d.cts +0 -5
  732. package/node_modules/zod/v4/locales/ota.d.ts +0 -4
  733. package/node_modules/zod/v4/locales/ota.js +0 -114
  734. package/node_modules/zod/v4/locales/package.json +0 -7
  735. package/node_modules/zod/v4/locales/pl.cjs +0 -141
  736. package/node_modules/zod/v4/locales/pl.d.cts +0 -5
  737. package/node_modules/zod/v4/locales/pl.d.ts +0 -4
  738. package/node_modules/zod/v4/locales/pl.js +0 -114
  739. package/node_modules/zod/v4/locales/ps.cjs +0 -146
  740. package/node_modules/zod/v4/locales/ps.d.cts +0 -5
  741. package/node_modules/zod/v4/locales/ps.d.ts +0 -4
  742. package/node_modules/zod/v4/locales/ps.js +0 -119
  743. package/node_modules/zod/v4/locales/pt-BR.cjs +0 -170
  744. package/node_modules/zod/v4/locales/pt-BR.d.cts +0 -5
  745. package/node_modules/zod/v4/locales/pt-BR.d.ts +0 -4
  746. package/node_modules/zod/v4/locales/pt-BR.js +0 -143
  747. package/node_modules/zod/v4/locales/pt.cjs +0 -169
  748. package/node_modules/zod/v4/locales/pt.d.cts +0 -5
  749. package/node_modules/zod/v4/locales/pt.d.ts +0 -4
  750. package/node_modules/zod/v4/locales/pt.js +0 -142
  751. package/node_modules/zod/v4/locales/ro.cjs +0 -149
  752. package/node_modules/zod/v4/locales/ro.d.cts +0 -5
  753. package/node_modules/zod/v4/locales/ro.d.ts +0 -4
  754. package/node_modules/zod/v4/locales/ro.js +0 -122
  755. package/node_modules/zod/v4/locales/ru.cjs +0 -195
  756. package/node_modules/zod/v4/locales/ru.d.cts +0 -5
  757. package/node_modules/zod/v4/locales/ru.d.ts +0 -4
  758. package/node_modules/zod/v4/locales/ru.js +0 -168
  759. package/node_modules/zod/v4/locales/sk.cjs +0 -143
  760. package/node_modules/zod/v4/locales/sk.d.cts +0 -5
  761. package/node_modules/zod/v4/locales/sk.d.ts +0 -4
  762. package/node_modules/zod/v4/locales/sk.js +0 -116
  763. package/node_modules/zod/v4/locales/sl.cjs +0 -141
  764. package/node_modules/zod/v4/locales/sl.d.cts +0 -5
  765. package/node_modules/zod/v4/locales/sl.d.ts +0 -4
  766. package/node_modules/zod/v4/locales/sl.js +0 -114
  767. package/node_modules/zod/v4/locales/sv.cjs +0 -142
  768. package/node_modules/zod/v4/locales/sv.d.cts +0 -5
  769. package/node_modules/zod/v4/locales/sv.d.ts +0 -4
  770. package/node_modules/zod/v4/locales/sv.js +0 -115
  771. package/node_modules/zod/v4/locales/ta.cjs +0 -142
  772. package/node_modules/zod/v4/locales/ta.d.cts +0 -5
  773. package/node_modules/zod/v4/locales/ta.d.ts +0 -4
  774. package/node_modules/zod/v4/locales/ta.js +0 -115
  775. package/node_modules/zod/v4/locales/tg.cjs +0 -144
  776. package/node_modules/zod/v4/locales/tg.d.cts +0 -5
  777. package/node_modules/zod/v4/locales/tg.d.ts +0 -4
  778. package/node_modules/zod/v4/locales/tg.js +0 -117
  779. package/node_modules/zod/v4/locales/th.cjs +0 -142
  780. package/node_modules/zod/v4/locales/th.d.cts +0 -5
  781. package/node_modules/zod/v4/locales/th.d.ts +0 -4
  782. package/node_modules/zod/v4/locales/th.js +0 -115
  783. package/node_modules/zod/v4/locales/tk.cjs +0 -134
  784. package/node_modules/zod/v4/locales/tk.d.cts +0 -5
  785. package/node_modules/zod/v4/locales/tk.d.ts +0 -4
  786. package/node_modules/zod/v4/locales/tk.js +0 -107
  787. package/node_modules/zod/v4/locales/tr.cjs +0 -137
  788. package/node_modules/zod/v4/locales/tr.d.cts +0 -5
  789. package/node_modules/zod/v4/locales/tr.d.ts +0 -4
  790. package/node_modules/zod/v4/locales/tr.js +0 -110
  791. package/node_modules/zod/v4/locales/ua.cjs +0 -12
  792. package/node_modules/zod/v4/locales/ua.d.cts +0 -5
  793. package/node_modules/zod/v4/locales/ua.d.ts +0 -5
  794. package/node_modules/zod/v4/locales/ua.js +0 -5
  795. package/node_modules/zod/v4/locales/uk.cjs +0 -140
  796. package/node_modules/zod/v4/locales/uk.d.cts +0 -5
  797. package/node_modules/zod/v4/locales/uk.d.ts +0 -4
  798. package/node_modules/zod/v4/locales/uk.js +0 -113
  799. package/node_modules/zod/v4/locales/ur.cjs +0 -142
  800. package/node_modules/zod/v4/locales/ur.d.cts +0 -5
  801. package/node_modules/zod/v4/locales/ur.d.ts +0 -4
  802. package/node_modules/zod/v4/locales/ur.js +0 -115
  803. package/node_modules/zod/v4/locales/uz.cjs +0 -140
  804. package/node_modules/zod/v4/locales/uz.d.cts +0 -5
  805. package/node_modules/zod/v4/locales/uz.d.ts +0 -4
  806. package/node_modules/zod/v4/locales/uz.js +0 -113
  807. package/node_modules/zod/v4/locales/vi.cjs +0 -140
  808. package/node_modules/zod/v4/locales/vi.d.cts +0 -5
  809. package/node_modules/zod/v4/locales/vi.d.ts +0 -4
  810. package/node_modules/zod/v4/locales/vi.js +0 -113
  811. package/node_modules/zod/v4/locales/yo.cjs +0 -139
  812. package/node_modules/zod/v4/locales/yo.d.cts +0 -5
  813. package/node_modules/zod/v4/locales/yo.d.ts +0 -4
  814. package/node_modules/zod/v4/locales/yo.js +0 -112
  815. package/node_modules/zod/v4/locales/zh-CN.cjs +0 -141
  816. package/node_modules/zod/v4/locales/zh-CN.d.cts +0 -5
  817. package/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
  818. package/node_modules/zod/v4/locales/zh-CN.js +0 -114
  819. package/node_modules/zod/v4/locales/zh-TW.cjs +0 -139
  820. package/node_modules/zod/v4/locales/zh-TW.d.cts +0 -5
  821. package/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
  822. package/node_modules/zod/v4/locales/zh-TW.js +0 -112
  823. package/node_modules/zod/v4/mini/checks.cjs +0 -54
  824. package/node_modules/zod/v4/mini/checks.d.cts +0 -1
  825. package/node_modules/zod/v4/mini/checks.d.ts +0 -1
  826. package/node_modules/zod/v4/mini/checks.js +0 -1
  827. package/node_modules/zod/v4/mini/coerce.cjs +0 -71
  828. package/node_modules/zod/v4/mini/coerce.d.cts +0 -7
  829. package/node_modules/zod/v4/mini/coerce.d.ts +0 -7
  830. package/node_modules/zod/v4/mini/coerce.js +0 -22
  831. package/node_modules/zod/v4/mini/deep-partial.cjs +0 -58
  832. package/node_modules/zod/v4/mini/deep-partial.d.cts +0 -14
  833. package/node_modules/zod/v4/mini/deep-partial.d.ts +0 -14
  834. package/node_modules/zod/v4/mini/deep-partial.js +0 -13
  835. package/node_modules/zod/v4/mini/external.cjs +0 -95
  836. package/node_modules/zod/v4/mini/external.d.cts +0 -16
  837. package/node_modules/zod/v4/mini/external.d.ts +0 -16
  838. package/node_modules/zod/v4/mini/external.js +0 -16
  839. package/node_modules/zod/v4/mini/in-out.cjs +0 -82
  840. package/node_modules/zod/v4/mini/in-out.d.cts +0 -8
  841. package/node_modules/zod/v4/mini/in-out.d.ts +0 -8
  842. package/node_modules/zod/v4/mini/in-out.js +0 -36
  843. package/node_modules/zod/v4/mini/index.cjs +0 -51
  844. package/node_modules/zod/v4/mini/index.d.cts +0 -3
  845. package/node_modules/zod/v4/mini/index.d.ts +0 -3
  846. package/node_modules/zod/v4/mini/index.js +0 -3
  847. package/node_modules/zod/v4/mini/iso.cjs +0 -83
  848. package/node_modules/zod/v4/mini/iso.d.cts +0 -22
  849. package/node_modules/zod/v4/mini/iso.d.ts +0 -22
  850. package/node_modules/zod/v4/mini/iso.js +0 -34
  851. package/node_modules/zod/v4/mini/package.json +0 -7
  852. package/node_modules/zod/v4/mini/parse.cjs +0 -37
  853. package/node_modules/zod/v4/mini/parse.d.cts +0 -1
  854. package/node_modules/zod/v4/mini/parse.d.ts +0 -1
  855. package/node_modules/zod/v4/mini/parse.js +0 -1
  856. package/node_modules/zod/v4/mini/schemas.cjs +0 -1147
  857. package/node_modules/zod/v4/mini/schemas.d.cts +0 -480
  858. package/node_modules/zod/v4/mini/schemas.d.ts +0 -480
  859. package/node_modules/zod/v4/mini/schemas.js +0 -1002
  860. package/node_modules/zod/v4/package.json +0 -7
  861. package/node_modules/zod/v4-mini/index.cjs +0 -51
  862. package/node_modules/zod/v4-mini/index.d.cts +0 -3
  863. package/node_modules/zod/v4-mini/index.d.ts +0 -3
  864. package/node_modules/zod/v4-mini/index.js +0 -3
  865. package/node_modules/zod/v4-mini/package.json +0 -7
@@ -1,1275 +0,0 @@
1
- import * as checks from "./checks.cjs";
2
- import type { $ZodNumberFormats } from "./checks.cjs";
3
- import type { $ZodBigIntFormats } from "./checks.cjs";
4
- import * as core from "./core.cjs";
5
- import type * as errors from "./errors.cjs";
6
- import type * as JSONSchema from "./json-schema.cjs";
7
- import type { StandardSchemaV1 } from "./standard-schema.cjs";
8
- import type { ProcessParams, ToJSONSchemaContext } from "./to-json-schema.cjs";
9
- import * as util from "./util.cjs";
10
- import { version } from "./versions.cjs";
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.cjs";
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 {
838
- def: $ZodRecordDef<Key, Value>;
839
- output: $InferZodRecordOutput<Key, Value>;
840
- input: $InferZodRecordInput<Key, Value>;
841
- isst: errors.$ZodIssueInvalidType | errors.$ZodIssueInvalidKey<Record<PropertyKey, unknown>>;
842
- optin?: "optional" | undefined;
843
- optout?: "optional" | undefined;
844
- }
845
- export type $partial = {
846
- "~~partial": true;
847
- };
848
- export interface $ZodRecord<Key extends $ZodRecordKey = $ZodRecordKey, Value extends SomeType = $ZodType> extends $ZodType {
849
- _zod: $ZodRecordInternals<Key, Value>;
850
- }
851
- export declare const $ZodRecord: core.$constructor<$ZodRecord>;
852
- export interface $ZodMapDef<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodTypeDef {
853
- type: "map";
854
- keyType: Key;
855
- valueType: Value;
856
- }
857
- 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>>> {
858
- def: $ZodMapDef<Key, Value>;
859
- isst: errors.$ZodIssueInvalidType | errors.$ZodIssueInvalidKey | errors.$ZodIssueInvalidElement<unknown>;
860
- optin?: "optional" | undefined;
861
- optout?: "optional" | undefined;
862
- }
863
- export interface $ZodMap<Key extends SomeType = $ZodType, Value extends SomeType = $ZodType> extends $ZodType {
864
- _zod: $ZodMapInternals<Key, Value>;
865
- }
866
- export declare const $ZodMap: core.$constructor<$ZodMap>;
867
- export interface $ZodSetDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
868
- type: "set";
869
- valueType: T;
870
- }
871
- export interface $ZodSetInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<Set<core.output<T>>, Set<core.input<T>>> {
872
- def: $ZodSetDef<T>;
873
- isst: errors.$ZodIssueInvalidType;
874
- optin?: "optional" | undefined;
875
- optout?: "optional" | undefined;
876
- }
877
- export interface $ZodSet<T extends SomeType = $ZodType> extends $ZodType {
878
- _zod: $ZodSetInternals<T>;
879
- }
880
- export declare const $ZodSet: core.$constructor<$ZodSet>;
881
- export type $InferEnumOutput<T extends util.EnumLike> = T[keyof T] & {};
882
- export type $InferEnumInput<T extends util.EnumLike> = T[keyof T] & {};
883
- export interface $ZodEnumDef<T extends util.EnumLike = util.EnumLike> extends $ZodTypeDef {
884
- type: "enum";
885
- entries: T;
886
- }
887
- export interface $ZodEnumInternals<
888
- /** @ts-ignore Cast variance */
889
- out T extends util.EnumLike = util.EnumLike> extends $ZodTypeInternals<$InferEnumOutput<T>, $InferEnumInput<T>> {
890
- def: $ZodEnumDef<T>;
891
- /** @deprecated Internal API, use with caution (not deprecated) */
892
- values: util.PrimitiveSet;
893
- /** @deprecated Internal API, use with caution (not deprecated) */
894
- pattern: RegExp;
895
- isst: errors.$ZodIssueInvalidValue;
896
- }
897
- export interface $ZodEnum<T extends util.EnumLike = util.EnumLike> extends $ZodType {
898
- _zod: $ZodEnumInternals<T>;
899
- }
900
- export declare const $ZodEnum: core.$constructor<$ZodEnum>;
901
- export interface $ZodLiteralDef<T extends util.Literal> extends $ZodTypeDef {
902
- type: "literal";
903
- values: T[];
904
- }
905
- export interface $ZodLiteralInternals<T extends util.Literal = util.Literal> extends $ZodTypeInternals<T, T> {
906
- def: $ZodLiteralDef<T>;
907
- values: Set<T>;
908
- pattern: RegExp;
909
- isst: errors.$ZodIssueInvalidValue;
910
- }
911
- export interface $ZodLiteral<T extends util.Literal = util.Literal> extends $ZodType {
912
- _zod: $ZodLiteralInternals<T>;
913
- }
914
- export declare const $ZodLiteral: core.$constructor<$ZodLiteral>;
915
- type _File = typeof globalThis extends {
916
- File: infer F extends new (...args: any[]) => any;
917
- } ? InstanceType<F> : {};
918
- /** Do not reference this directly. */
919
- export interface File extends _File {
920
- readonly type: string;
921
- readonly size: number;
922
- }
923
- export interface $ZodFileDef extends $ZodTypeDef {
924
- type: "file";
925
- }
926
- export interface $ZodFileInternals extends $ZodTypeInternals<File, File> {
927
- def: $ZodFileDef;
928
- isst: errors.$ZodIssueInvalidType;
929
- bag: util.LoosePartial<{
930
- minimum: number;
931
- maximum: number;
932
- mime: util.MimeTypes[];
933
- }>;
934
- }
935
- export interface $ZodFile extends $ZodType {
936
- _zod: $ZodFileInternals;
937
- }
938
- export declare const $ZodFile: core.$constructor<$ZodFile>;
939
- export interface $ZodTransformDef extends $ZodTypeDef {
940
- type: "transform";
941
- transform: (input: unknown, payload: ParsePayload<unknown>) => util.MaybeAsync<unknown>;
942
- }
943
- export interface $ZodTransformInternals<O = unknown, I = unknown> extends $ZodTypeInternals<O, I> {
944
- def: $ZodTransformDef;
945
- isst: never;
946
- }
947
- export interface $ZodTransform<O = unknown, I = unknown> extends $ZodType {
948
- _zod: $ZodTransformInternals<O, I>;
949
- }
950
- export declare const $ZodTransform: core.$constructor<$ZodTransform>;
951
- export interface $ZodOptionalDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
952
- type: "optional";
953
- innerType: T;
954
- }
955
- export interface $ZodOptionalInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T> | undefined, core.input<T> | undefined> {
956
- def: $ZodOptionalDef<T>;
957
- optin: "optional" | "defaulted";
958
- optout: "optional";
959
- isst: never;
960
- values: T["_zod"]["values"];
961
- pattern: T["_zod"]["pattern"];
962
- }
963
- export interface $ZodOptional<T extends SomeType = $ZodType> extends $ZodType {
964
- _zod: $ZodOptionalInternals<T>;
965
- }
966
- export declare const $ZodOptional: core.$constructor<$ZodOptional>;
967
- export interface $ZodExactOptionalDef<T extends SomeType = $ZodType> extends $ZodOptionalDef<T> {
968
- }
969
- export interface $ZodExactOptionalInternals<T extends SomeType = $ZodType> extends $ZodOptionalInternals<T> {
970
- def: $ZodExactOptionalDef<T>;
971
- output: core.output<T>;
972
- input: core.input<T>;
973
- }
974
- export interface $ZodExactOptional<T extends SomeType = $ZodType> extends $ZodType {
975
- _zod: $ZodExactOptionalInternals<T>;
976
- }
977
- export declare const $ZodExactOptional: core.$constructor<$ZodExactOptional>;
978
- export interface $ZodNullableDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
979
- type: "nullable";
980
- innerType: T;
981
- }
982
- export interface $ZodNullableInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T> | null, core.input<T> | null> {
983
- def: $ZodNullableDef<T>;
984
- optin: T["_zod"]["optin"];
985
- optout: T["_zod"]["optout"];
986
- isst: never;
987
- values: T["_zod"]["values"];
988
- pattern: T["_zod"]["pattern"];
989
- }
990
- export interface $ZodNullable<T extends SomeType = $ZodType> extends $ZodType {
991
- _zod: $ZodNullableInternals<T>;
992
- }
993
- export declare const $ZodNullable: core.$constructor<$ZodNullable>;
994
- export interface $ZodDefaultDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
995
- type: "default";
996
- innerType: T;
997
- /** The default value. May be a getter. */
998
- defaultValue: util.NoUndefined<core.output<T>>;
999
- }
1000
- export interface $ZodDefaultInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<util.NoUndefined<core.output<T>>, core.input<T> | undefined> {
1001
- def: $ZodDefaultDef<T>;
1002
- optin: "defaulted";
1003
- optout?: "optional" | undefined;
1004
- isst: never;
1005
- values: T["_zod"]["values"];
1006
- }
1007
- export interface $ZodDefault<T extends SomeType = $ZodType> extends $ZodType {
1008
- _zod: $ZodDefaultInternals<T>;
1009
- }
1010
- export declare const $ZodDefault: core.$constructor<$ZodDefault>;
1011
- export interface $ZodPrefaultDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1012
- type: "prefault";
1013
- innerType: T;
1014
- /** The default value. May be a getter. */
1015
- defaultValue: core.input<T>;
1016
- }
1017
- export interface $ZodPrefaultInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T>, core.input<T> | undefined> {
1018
- def: $ZodPrefaultDef<T>;
1019
- optin: "defaulted";
1020
- optout?: "optional" | undefined;
1021
- isst: never;
1022
- values: T["_zod"]["values"];
1023
- }
1024
- export interface $ZodPrefault<T extends SomeType = $ZodType> extends $ZodType {
1025
- _zod: $ZodPrefaultInternals<T>;
1026
- }
1027
- export declare const $ZodPrefault: core.$constructor<$ZodPrefault>;
1028
- export interface $ZodNonOptionalDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1029
- type: "nonoptional";
1030
- innerType: T;
1031
- }
1032
- export interface $ZodNonOptionalInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<util.NoUndefined<core.output<T>>, util.NoUndefined<core.input<T>>> {
1033
- def: $ZodNonOptionalDef<T>;
1034
- isst: errors.$ZodIssueInvalidType;
1035
- values: T["_zod"]["values"];
1036
- optin: "optional" | undefined;
1037
- optout: "optional" | undefined;
1038
- }
1039
- export interface $ZodNonOptional<T extends SomeType = $ZodType> extends $ZodType {
1040
- _zod: $ZodNonOptionalInternals<T>;
1041
- }
1042
- export declare const $ZodNonOptional: core.$constructor<$ZodNonOptional>;
1043
- export interface $ZodSuccessDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1044
- type: "success";
1045
- innerType: T;
1046
- }
1047
- export interface $ZodSuccessInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<boolean, core.input<T>> {
1048
- def: $ZodSuccessDef<T>;
1049
- isst: never;
1050
- optin: T["_zod"]["optin"];
1051
- optout: "optional" | undefined;
1052
- }
1053
- export interface $ZodSuccess<T extends SomeType = $ZodType> extends $ZodType {
1054
- _zod: $ZodSuccessInternals<T>;
1055
- }
1056
- export declare const $ZodSuccess: core.$constructor<$ZodSuccess>;
1057
- export interface $ZodCatchCtx extends ParsePayload {
1058
- /** @deprecated Use `ctx.issues` */
1059
- error: {
1060
- issues: errors.$ZodIssue[];
1061
- };
1062
- /** @deprecated Use `ctx.value` */
1063
- input: unknown;
1064
- }
1065
- export interface $ZodCatchDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1066
- type: "catch";
1067
- innerType: T;
1068
- catchValue: (ctx: $ZodCatchCtx) => unknown;
1069
- }
1070
- export interface $ZodCatchInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T>, core.input<T>> {
1071
- def: $ZodCatchDef<T>;
1072
- optin: T["_zod"]["optin"];
1073
- optout: T["_zod"]["optout"];
1074
- isst: never;
1075
- values: T["_zod"]["values"];
1076
- }
1077
- export interface $ZodCatch<T extends SomeType = $ZodType> extends $ZodType {
1078
- _zod: $ZodCatchInternals<T>;
1079
- }
1080
- export declare const $ZodCatch: core.$constructor<$ZodCatch>;
1081
- export interface $ZodNaNDef extends $ZodTypeDef {
1082
- type: "nan";
1083
- }
1084
- export interface $ZodNaNInternals extends $ZodTypeInternals<number, number> {
1085
- def: $ZodNaNDef;
1086
- isst: errors.$ZodIssueInvalidType;
1087
- }
1088
- export interface $ZodNaN extends $ZodType {
1089
- _zod: $ZodNaNInternals;
1090
- }
1091
- export declare const $ZodNaN: core.$constructor<$ZodNaN>;
1092
- export interface $ZodPipeDef<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeDef {
1093
- type: "pipe";
1094
- in: A;
1095
- out: B;
1096
- /** Only defined inside $ZodCodec instances. */
1097
- transform?: (value: core.output<A>, payload: ParsePayload<core.output<A>>) => util.MaybeAsync<core.input<B>>;
1098
- /** Only defined inside $ZodCodec instances. */
1099
- reverseTransform?: (value: core.input<B>, payload: ParsePayload<core.input<B>>) => util.MaybeAsync<core.output<A>>;
1100
- }
1101
- export interface $ZodPipeInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<B>, core.input<A>> {
1102
- def: $ZodPipeDef<A, B>;
1103
- isst: never;
1104
- values: A["_zod"]["values"];
1105
- optin: A["_zod"]["optin"];
1106
- optout: B["_zod"]["optout"];
1107
- propValues: A["_zod"]["propValues"];
1108
- }
1109
- export interface $ZodPipe<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {
1110
- _zod: $ZodPipeInternals<A, B>;
1111
- }
1112
- export declare const $ZodPipe: core.$constructor<$ZodPipe>;
1113
- export interface $ZodCodecDef<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodPipeDef<A, B> {
1114
- transform: (value: core.output<A>, payload: ParsePayload<core.output<A>>) => util.MaybeAsync<core.input<B>>;
1115
- reverseTransform: (value: core.input<B>, payload: ParsePayload<core.input<B>>) => util.MaybeAsync<core.output<A>>;
1116
- }
1117
- export interface $ZodCodecInternals<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<B>, core.input<A>> {
1118
- def: $ZodCodecDef<A, B>;
1119
- isst: never;
1120
- values: A["_zod"]["values"];
1121
- optin: A["_zod"]["optin"];
1122
- optout: B["_zod"]["optout"];
1123
- propValues: A["_zod"]["propValues"];
1124
- }
1125
- export interface $ZodCodec<A extends SomeType = $ZodType, B extends SomeType = $ZodType> extends $ZodType {
1126
- _zod: $ZodCodecInternals<A, B>;
1127
- }
1128
- export declare const $ZodCodec: core.$constructor<$ZodCodec>;
1129
- export interface $ZodPreprocessDef<B extends SomeType = $ZodType, I = unknown> extends $ZodPipeDef<$ZodTransform<unknown, I>, B> {
1130
- in: $ZodTransform<unknown, I>;
1131
- out: B;
1132
- }
1133
- export interface $ZodPreprocessInternals<B extends SomeType = $ZodType, I = unknown> extends $ZodPipeInternals<$ZodTransform<unknown, I>, B> {
1134
- def: $ZodPreprocessDef<B, I>;
1135
- optin: B["_zod"]["optin"];
1136
- optout: B["_zod"]["optout"];
1137
- }
1138
- export interface $ZodPreprocess<B extends SomeType = $ZodType, I = unknown> extends $ZodPipe<$ZodTransform<unknown, I>, B> {
1139
- _zod: $ZodPreprocessInternals<B, I>;
1140
- }
1141
- export declare const $ZodPreprocess: core.$constructor<$ZodPreprocess>;
1142
- export interface $ZodReadonlyDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1143
- type: "readonly";
1144
- innerType: T;
1145
- }
1146
- export interface $ZodReadonlyInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<util.MakeReadonly<core.output<T>>, util.MakeReadonly<core.input<T>>> {
1147
- def: $ZodReadonlyDef<T>;
1148
- optin: T["_zod"]["optin"];
1149
- optout: T["_zod"]["optout"];
1150
- isst: never;
1151
- propValues: T["_zod"]["propValues"];
1152
- values: T["_zod"]["values"];
1153
- }
1154
- export interface $ZodReadonly<T extends SomeType = $ZodType> extends $ZodType {
1155
- _zod: $ZodReadonlyInternals<T>;
1156
- }
1157
- export declare const $ZodReadonly: core.$constructor<$ZodReadonly>;
1158
- export interface $ZodTemplateLiteralDef extends $ZodTypeDef {
1159
- type: "template_literal";
1160
- parts: $ZodTemplateLiteralPart[];
1161
- format?: string | undefined;
1162
- }
1163
- export interface $ZodTemplateLiteralInternals<Template extends string = string> extends $ZodTypeInternals<Template, Template> {
1164
- pattern: RegExp;
1165
- def: $ZodTemplateLiteralDef;
1166
- isst: errors.$ZodIssueInvalidType;
1167
- }
1168
- export interface $ZodTemplateLiteral<Template extends string = string> extends $ZodType {
1169
- _zod: $ZodTemplateLiteralInternals<Template>;
1170
- }
1171
- type LiteralPart = Exclude<util.Literal, symbol>;
1172
- interface SchemaPartInternals extends $ZodTypeInternals<LiteralPart, LiteralPart> {
1173
- pattern: RegExp;
1174
- }
1175
- interface SchemaPart extends $ZodType {
1176
- _zod: SchemaPartInternals;
1177
- }
1178
- export type $ZodTemplateLiteralPart = LiteralPart | SchemaPart;
1179
- type UndefinedToEmptyString<T> = T extends undefined ? "" : T;
1180
- 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;
1181
- export type ConcatenateTupleOfStrings<T extends string[]> = T extends [
1182
- infer First extends string,
1183
- ...infer Rest extends string[]
1184
- ] ? Rest extends string[] ? First extends "" ? ConcatenateTupleOfStrings<Rest> : `${First}${ConcatenateTupleOfStrings<Rest>}` : never : "";
1185
- export type ConvertPartsToStringTuple<Parts extends $ZodTemplateLiteralPart[]> = {
1186
- [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;
1187
- };
1188
- export type ToTemplateLiteral<Parts extends $ZodTemplateLiteralPart[]> = ConcatenateTupleOfStrings<ConvertPartsToStringTuple<Parts>>;
1189
- 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;
1190
- export declare const $ZodTemplateLiteral: core.$constructor<$ZodTemplateLiteral>;
1191
- export type $ZodFunctionArgs = $ZodType<unknown[], unknown[]>;
1192
- export type $ZodFunctionIn = $ZodFunctionArgs;
1193
- export type $ZodFunctionOut = $ZodType;
1194
- export type $InferInnerFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : core.output<Args>) => core.input<Returns>;
1195
- export type $InferInnerFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : core.output<Args>) => util.MaybeAsync<core.input<Returns>>;
1196
- export type $InferOuterFunctionType<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : core.input<Args>) => core.output<Returns>;
1197
- export type $InferOuterFunctionTypeAsync<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> = (...args: $ZodFunctionIn extends Args ? never[] : core.input<Args>) => Promise<core.output<Returns>>;
1198
- export interface $ZodFunctionDef<In extends $ZodFunctionIn = $ZodFunctionIn, Out extends $ZodFunctionOut = $ZodFunctionOut> extends $ZodTypeDef {
1199
- type: "function";
1200
- input: In;
1201
- output: Out;
1202
- }
1203
- export interface $ZodFunctionInternals<Args extends $ZodFunctionIn, Returns extends $ZodFunctionOut> extends $ZodTypeInternals<$InferOuterFunctionType<Args, Returns>, $InferInnerFunctionType<Args, Returns>> {
1204
- def: $ZodFunctionDef<Args, Returns>;
1205
- isst: errors.$ZodIssueInvalidType;
1206
- }
1207
- export interface $ZodFunction<Args extends $ZodFunctionIn = $ZodFunctionIn, Returns extends $ZodFunctionOut = $ZodFunctionOut> extends $ZodType<any, any, $ZodFunctionInternals<Args, Returns>> {
1208
- /** @deprecated */
1209
- _def: $ZodFunctionDef<Args, Returns>;
1210
- _input: $InferInnerFunctionType<Args, Returns>;
1211
- _output: $InferOuterFunctionType<Args, Returns>;
1212
- implement<F extends $InferInnerFunctionType<Args, Returns>>(func: F): (...args: Parameters<this["_output"]>) => ReturnType<F> extends ReturnType<this["_output"]> ? ReturnType<F> : ReturnType<this["_output"]>;
1213
- implementAsync<F extends $InferInnerFunctionTypeAsync<Args, Returns>>(func: F): F extends $InferOuterFunctionTypeAsync<Args, Returns> ? F : $InferOuterFunctionTypeAsync<Args, Returns>;
1214
- input<const Items extends util.TupleItems, const Rest extends $ZodFunctionOut = $ZodFunctionOut>(args: Items, rest?: Rest): $ZodFunction<$ZodTuple<Items, Rest>, Returns>;
1215
- input<NewArgs extends $ZodFunctionIn>(args: NewArgs): $ZodFunction<NewArgs, Returns>;
1216
- input(...args: any[]): $ZodFunction<any, Returns>;
1217
- output<NewReturns extends $ZodType>(output: NewReturns): $ZodFunction<Args, NewReturns>;
1218
- }
1219
- export interface $ZodFunctionParams<I extends $ZodFunctionIn, O extends $ZodType> {
1220
- input?: I;
1221
- output?: O;
1222
- }
1223
- export declare const $ZodFunction: core.$constructor<$ZodFunction>;
1224
- export interface $ZodPromiseDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1225
- type: "promise";
1226
- innerType: T;
1227
- }
1228
- export interface $ZodPromiseInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<Promise<core.output<T>>, util.MaybeAsync<core.input<T>>> {
1229
- def: $ZodPromiseDef<T>;
1230
- isst: never;
1231
- }
1232
- export interface $ZodPromise<T extends SomeType = $ZodType> extends $ZodType {
1233
- _zod: $ZodPromiseInternals<T>;
1234
- }
1235
- export declare const $ZodPromise: core.$constructor<$ZodPromise>;
1236
- export interface $ZodLazyDef<T extends SomeType = $ZodType> extends $ZodTypeDef {
1237
- type: "lazy";
1238
- getter: () => T;
1239
- }
1240
- export interface $ZodLazyInternals<T extends SomeType = $ZodType> extends $ZodTypeInternals<core.output<T>, core.input<T>> {
1241
- def: $ZodLazyDef<T>;
1242
- isst: never;
1243
- /** Auto-cached way to retrieve the inner schema */
1244
- innerType: T;
1245
- pattern: T["_zod"]["pattern"];
1246
- propValues: T["_zod"]["propValues"];
1247
- optin: T["_zod"]["optin"];
1248
- optout: T["_zod"]["optout"];
1249
- }
1250
- export interface $ZodLazy<T extends SomeType = $ZodType> extends $ZodType {
1251
- _zod: $ZodLazyInternals<T>;
1252
- }
1253
- export declare const $ZodLazy: core.$constructor<$ZodLazy>;
1254
- export interface $ZodCustomDef<O = unknown> extends $ZodTypeDef, checks.$ZodCheckDef {
1255
- type: "custom";
1256
- check: "custom";
1257
- path?: PropertyKey[] | undefined;
1258
- error?: errors.$ZodErrorMap | undefined;
1259
- params?: Record<string, any> | undefined;
1260
- fn: (arg: O) => unknown;
1261
- }
1262
- export interface $ZodCustomInternals<O = unknown, I = unknown> extends $ZodTypeInternals<O, I>, checks.$ZodCheckInternals<O> {
1263
- def: $ZodCustomDef;
1264
- issc: errors.$ZodIssue;
1265
- isst: never;
1266
- bag: util.LoosePartial<{
1267
- Class: typeof util.Class;
1268
- }>;
1269
- }
1270
- export interface $ZodCustom<O = unknown, I = unknown> extends $ZodType {
1271
- _zod: $ZodCustomInternals<O, I>;
1272
- }
1273
- export declare const $ZodCustom: core.$constructor<$ZodCustom>;
1274
- 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;
1275
- 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">;