dp-worker 0.1.13 → 0.1.15

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 (761) hide show
  1. package/dist/agent/agent.d.ts +11 -0
  2. package/dist/agent/agent.js +45 -2
  3. package/dist/agent/agent.js.map +1 -1
  4. package/dist/agent/storage-policy.d.ts +8 -0
  5. package/dist/agent/storage-policy.js +13 -0
  6. package/dist/agent/storage-policy.js.map +1 -1
  7. package/dist/agent/task-runner.d.ts +5 -1
  8. package/dist/agent/task-runner.js +16 -3
  9. package/dist/agent/task-runner.js.map +1 -1
  10. package/dist/center/center-frontend.js +1 -1
  11. package/dist/center/center-frontend.js.map +1 -1
  12. package/dist/chrome-extension/omni-flow/manifest.json +1 -1
  13. package/dist/config/center-config.js +1 -1
  14. package/dist/config/center-config.js.map +1 -1
  15. package/dist/scripts/normalize-x-collections.d.ts +12 -0
  16. package/dist/scripts/normalize-x-collections.js +173 -0
  17. package/dist/scripts/normalize-x-collections.js.map +1 -0
  18. package/node_modules/dp-shared/dist/configs-contracts.d.ts +4 -1
  19. package/node_modules/dp-shared/dist/configs-contracts.d.ts.map +1 -1
  20. package/node_modules/dp-shared/dist/configs-contracts.js +8 -1
  21. package/node_modules/dp-shared/dist/configs-contracts.js.map +1 -1
  22. package/node_modules/dp-shared/dist/db-rows.js +1 -1
  23. package/node_modules/dp-shared/dist/db-rows.js.map +1 -1
  24. package/node_modules/dp-shared/dist/post-drafts-contracts.d.ts +11 -0
  25. package/node_modules/dp-shared/dist/post-drafts-contracts.d.ts.map +1 -1
  26. package/node_modules/dp-shared/dist/post-drafts-contracts.js +26 -1
  27. package/node_modules/dp-shared/dist/post-drafts-contracts.js.map +1 -1
  28. package/node_modules/dp-shared/dist/rest-contracts.d.ts.map +1 -1
  29. package/node_modules/dp-shared/dist/rest-contracts.js +6 -5
  30. package/node_modules/dp-shared/dist/rest-contracts.js.map +1 -1
  31. package/node_modules/dp-shared/dist/worker-detail-contracts.js +1 -1
  32. package/node_modules/dp-shared/dist/worker-detail-contracts.js.map +1 -1
  33. package/node_modules/dp-shared/dist/ws-protocol.d.ts +2 -0
  34. package/node_modules/dp-shared/dist/ws-protocol.d.ts.map +1 -1
  35. package/node_modules/dp-shared/dist/ws-protocol.js +3 -0
  36. package/node_modules/dp-shared/dist/ws-protocol.js.map +1 -1
  37. package/node_modules/dp-shared/src/configs-contracts.ts +8 -1
  38. package/node_modules/dp-shared/src/db-rows.ts +1 -1
  39. package/node_modules/dp-shared/src/post-drafts-contracts.ts +26 -1
  40. package/node_modules/dp-shared/src/rest-contracts.ts +6 -5
  41. package/node_modules/dp-shared/src/worker-detail-contracts.ts +1 -1
  42. package/node_modules/dp-shared/src/ws-protocol.ts +3 -0
  43. package/package.json +1 -1
  44. package/node_modules/zod/LICENSE +0 -21
  45. package/node_modules/zod/README.md +0 -191
  46. package/node_modules/zod/index.cjs +0 -33
  47. package/node_modules/zod/index.d.cts +0 -4
  48. package/node_modules/zod/index.d.ts +0 -4
  49. package/node_modules/zod/index.js +0 -4
  50. package/node_modules/zod/locales/index.cjs +0 -17
  51. package/node_modules/zod/locales/index.d.cts +0 -1
  52. package/node_modules/zod/locales/index.d.ts +0 -1
  53. package/node_modules/zod/locales/index.js +0 -1
  54. package/node_modules/zod/locales/package.json +0 -7
  55. package/node_modules/zod/mini/index.cjs +0 -32
  56. package/node_modules/zod/mini/index.d.cts +0 -3
  57. package/node_modules/zod/mini/index.d.ts +0 -3
  58. package/node_modules/zod/mini/index.js +0 -3
  59. package/node_modules/zod/mini/package.json +0 -7
  60. package/node_modules/zod/package.json +0 -135
  61. package/node_modules/zod/src/index.ts +0 -4
  62. package/node_modules/zod/src/locales/index.ts +0 -1
  63. package/node_modules/zod/src/mini/index.ts +0 -3
  64. package/node_modules/zod/src/v3/ZodError.ts +0 -330
  65. package/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
  66. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
  67. package/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
  68. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
  69. package/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
  70. package/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
  71. package/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
  72. package/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
  73. package/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
  74. package/node_modules/zod/src/v3/errors.ts +0 -13
  75. package/node_modules/zod/src/v3/external.ts +0 -6
  76. package/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
  77. package/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
  78. package/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
  79. package/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
  80. package/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
  81. package/node_modules/zod/src/v3/helpers/util.ts +0 -224
  82. package/node_modules/zod/src/v3/index.ts +0 -4
  83. package/node_modules/zod/src/v3/locales/en.ts +0 -124
  84. package/node_modules/zod/src/v3/standard-schema.ts +0 -113
  85. package/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
  86. package/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
  87. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
  88. package/node_modules/zod/src/v3/tests/array.test.ts +0 -71
  89. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
  90. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
  91. package/node_modules/zod/src/v3/tests/base.test.ts +0 -29
  92. package/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
  93. package/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
  94. package/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
  95. package/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
  96. package/node_modules/zod/src/v3/tests/complex.test.ts +0 -70
  97. package/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
  98. package/node_modules/zod/src/v3/tests/date.test.ts +0 -32
  99. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
  100. package/node_modules/zod/src/v3/tests/default.test.ts +0 -112
  101. package/node_modules/zod/src/v3/tests/description.test.ts +0 -33
  102. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
  103. package/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
  104. package/node_modules/zod/src/v3/tests/error.test.ts +0 -551
  105. package/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
  106. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
  107. package/node_modules/zod/src/v3/tests/function.test.ts +0 -261
  108. package/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
  109. package/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
  110. package/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
  111. package/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
  112. package/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
  113. package/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
  114. package/node_modules/zod/src/v3/tests/map.test.ts +0 -110
  115. package/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
  116. package/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
  117. package/node_modules/zod/src/v3/tests/nan.test.ts +0 -24
  118. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
  119. package/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
  120. package/node_modules/zod/src/v3/tests/number.test.ts +0 -176
  121. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
  122. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
  123. package/node_modules/zod/src/v3/tests/object.test.ts +0 -434
  124. package/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
  125. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
  126. package/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
  127. package/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
  128. package/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
  129. package/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
  130. package/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
  131. package/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
  132. package/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
  133. package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
  134. package/node_modules/zod/src/v3/tests/record.test.ts +0 -171
  135. package/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
  136. package/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
  137. package/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
  138. package/node_modules/zod/src/v3/tests/set.test.ts +0 -142
  139. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
  140. package/node_modules/zod/src/v3/tests/string.test.ts +0 -916
  141. package/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
  142. package/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
  143. package/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
  144. package/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
  145. package/node_modules/zod/src/v3/tests/void.test.ts +0 -15
  146. package/node_modules/zod/src/v3/types.ts +0 -5138
  147. package/node_modules/zod/src/v4/classic/checks.ts +0 -32
  148. package/node_modules/zod/src/v4/classic/coerce.ts +0 -27
  149. package/node_modules/zod/src/v4/classic/compat.ts +0 -70
  150. package/node_modules/zod/src/v4/classic/errors.ts +0 -82
  151. package/node_modules/zod/src/v4/classic/external.ts +0 -52
  152. package/node_modules/zod/src/v4/classic/from-json-schema.ts +0 -659
  153. package/node_modules/zod/src/v4/classic/index.ts +0 -5
  154. package/node_modules/zod/src/v4/classic/iso.ts +0 -90
  155. package/node_modules/zod/src/v4/classic/parse.ts +0 -82
  156. package/node_modules/zod/src/v4/classic/schemas.ts +0 -2672
  157. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
  158. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +0 -59
  159. package/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
  160. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -216
  161. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
  162. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
  163. package/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
  164. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
  165. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -106
  166. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -326
  167. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
  168. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +0 -573
  169. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +0 -703
  170. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
  171. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -374
  172. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
  173. package/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -62
  174. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -302
  175. package/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -409
  176. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +0 -27
  177. package/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
  178. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +0 -197
  179. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -694
  180. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
  181. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -807
  182. package/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
  183. package/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -96
  184. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -179
  185. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +0 -26
  186. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +0 -895
  187. package/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -360
  188. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
  189. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +0 -39
  190. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +0 -68
  191. package/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -939
  192. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -60
  193. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -198
  194. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +0 -46
  195. package/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -109
  196. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
  197. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -117
  198. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +0 -29
  199. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +0 -24
  200. package/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -330
  201. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
  202. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
  203. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -101
  204. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
  205. package/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -325
  206. package/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -717
  207. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -333
  208. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -450
  209. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -211
  210. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -101
  211. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -74
  212. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +0 -26
  213. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -351
  214. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
  215. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  216. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
  217. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
  218. package/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -717
  219. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -631
  220. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -633
  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 -181
  223. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -134
  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 -1224
  226. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -106
  227. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -771
  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 -3125
  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 -496
  232. package/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -273
  233. package/node_modules/zod/src/v4/classic/tests/url.test.ts +0 -13
  234. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
  235. package/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
  236. package/node_modules/zod/src/v4/core/api.ts +0 -1823
  237. package/node_modules/zod/src/v4/core/checks.ts +0 -1293
  238. package/node_modules/zod/src/v4/core/config.ts +0 -15
  239. package/node_modules/zod/src/v4/core/core.ts +0 -153
  240. package/node_modules/zod/src/v4/core/doc.ts +0 -44
  241. package/node_modules/zod/src/v4/core/errors.ts +0 -455
  242. package/node_modules/zod/src/v4/core/index.ts +0 -16
  243. package/node_modules/zod/src/v4/core/json-schema-generator.ts +0 -126
  244. package/node_modules/zod/src/v4/core/json-schema-processors.ts +0 -666
  245. package/node_modules/zod/src/v4/core/json-schema.ts +0 -147
  246. package/node_modules/zod/src/v4/core/parse.ts +0 -195
  247. package/node_modules/zod/src/v4/core/regexes.ts +0 -190
  248. package/node_modules/zod/src/v4/core/registries.ts +0 -105
  249. package/node_modules/zod/src/v4/core/schemas.ts +0 -4730
  250. package/node_modules/zod/src/v4/core/standard-schema.ts +0 -159
  251. package/node_modules/zod/src/v4/core/tests/extend.test.ts +0 -59
  252. package/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
  253. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
  254. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +0 -215
  255. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  256. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +0 -181
  257. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +0 -72
  258. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +0 -379
  259. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +0 -163
  260. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +0 -46
  261. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
  262. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  263. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +0 -105
  264. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +0 -125
  265. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +0 -45
  266. package/node_modules/zod/src/v4/core/to-json-schema.ts +0 -622
  267. package/node_modules/zod/src/v4/core/util.ts +0 -983
  268. package/node_modules/zod/src/v4/core/versions.ts +0 -5
  269. package/node_modules/zod/src/v4/core/zsf.ts +0 -323
  270. package/node_modules/zod/src/v4/index.ts +0 -4
  271. package/node_modules/zod/src/v4/locales/ar.ts +0 -115
  272. package/node_modules/zod/src/v4/locales/az.ts +0 -111
  273. package/node_modules/zod/src/v4/locales/be.ts +0 -176
  274. package/node_modules/zod/src/v4/locales/bg.ts +0 -128
  275. package/node_modules/zod/src/v4/locales/ca.ts +0 -116
  276. package/node_modules/zod/src/v4/locales/cs.ts +0 -118
  277. package/node_modules/zod/src/v4/locales/da.ts +0 -123
  278. package/node_modules/zod/src/v4/locales/de.ts +0 -116
  279. package/node_modules/zod/src/v4/locales/el.ts +0 -121
  280. package/node_modules/zod/src/v4/locales/en.ts +0 -123
  281. package/node_modules/zod/src/v4/locales/eo.ts +0 -118
  282. package/node_modules/zod/src/v4/locales/es.ts +0 -141
  283. package/node_modules/zod/src/v4/locales/fa.ts +0 -126
  284. package/node_modules/zod/src/v4/locales/fi.ts +0 -121
  285. package/node_modules/zod/src/v4/locales/fr-CA.ts +0 -116
  286. package/node_modules/zod/src/v4/locales/fr.ts +0 -132
  287. package/node_modules/zod/src/v4/locales/he.ts +0 -246
  288. package/node_modules/zod/src/v4/locales/hr.ts +0 -131
  289. package/node_modules/zod/src/v4/locales/hu.ts +0 -117
  290. package/node_modules/zod/src/v4/locales/hy.ts +0 -164
  291. package/node_modules/zod/src/v4/locales/id.ts +0 -115
  292. package/node_modules/zod/src/v4/locales/index.ts +0 -52
  293. package/node_modules/zod/src/v4/locales/is.ts +0 -119
  294. package/node_modules/zod/src/v4/locales/it.ts +0 -116
  295. package/node_modules/zod/src/v4/locales/ja.ts +0 -114
  296. package/node_modules/zod/src/v4/locales/ka.ts +0 -123
  297. package/node_modules/zod/src/v4/locales/kh.ts +0 -7
  298. package/node_modules/zod/src/v4/locales/km.ts +0 -119
  299. package/node_modules/zod/src/v4/locales/ko.ts +0 -121
  300. package/node_modules/zod/src/v4/locales/lt.ts +0 -239
  301. package/node_modules/zod/src/v4/locales/mk.ts +0 -118
  302. package/node_modules/zod/src/v4/locales/ms.ts +0 -115
  303. package/node_modules/zod/src/v4/locales/nl.ts +0 -121
  304. package/node_modules/zod/src/v4/locales/no.ts +0 -116
  305. package/node_modules/zod/src/v4/locales/ota.ts +0 -117
  306. package/node_modules/zod/src/v4/locales/pl.ts +0 -118
  307. package/node_modules/zod/src/v4/locales/ps.ts +0 -126
  308. package/node_modules/zod/src/v4/locales/pt.ts +0 -116
  309. package/node_modules/zod/src/v4/locales/ro.ts +0 -129
  310. package/node_modules/zod/src/v4/locales/ru.ts +0 -176
  311. package/node_modules/zod/src/v4/locales/sl.ts +0 -118
  312. package/node_modules/zod/src/v4/locales/sv.ts +0 -119
  313. package/node_modules/zod/src/v4/locales/ta.ts +0 -118
  314. package/node_modules/zod/src/v4/locales/th.ts +0 -119
  315. package/node_modules/zod/src/v4/locales/tr.ts +0 -111
  316. package/node_modules/zod/src/v4/locales/ua.ts +0 -7
  317. package/node_modules/zod/src/v4/locales/uk.ts +0 -117
  318. package/node_modules/zod/src/v4/locales/ur.ts +0 -119
  319. package/node_modules/zod/src/v4/locales/uz.ts +0 -117
  320. package/node_modules/zod/src/v4/locales/vi.ts +0 -117
  321. package/node_modules/zod/src/v4/locales/yo.ts +0 -124
  322. package/node_modules/zod/src/v4/locales/zh-CN.ts +0 -116
  323. package/node_modules/zod/src/v4/locales/zh-TW.ts +0 -115
  324. package/node_modules/zod/src/v4/mini/checks.ts +0 -32
  325. package/node_modules/zod/src/v4/mini/coerce.ts +0 -27
  326. package/node_modules/zod/src/v4/mini/external.ts +0 -41
  327. package/node_modules/zod/src/v4/mini/index.ts +0 -3
  328. package/node_modules/zod/src/v4/mini/iso.ts +0 -66
  329. package/node_modules/zod/src/v4/mini/parse.ts +0 -14
  330. package/node_modules/zod/src/v4/mini/schemas.ts +0 -1947
  331. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +0 -24
  332. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
  333. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -94
  334. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
  335. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +0 -548
  336. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
  337. package/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
  338. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -5
  339. package/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -993
  340. package/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
  341. package/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -227
  342. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
  343. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -325
  344. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +0 -50
  345. package/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -352
  346. package/node_modules/zod/src/v4-mini/index.ts +0 -3
  347. package/node_modules/zod/v3/ZodError.cjs +0 -138
  348. package/node_modules/zod/v3/ZodError.d.cts +0 -164
  349. package/node_modules/zod/v3/ZodError.d.ts +0 -164
  350. package/node_modules/zod/v3/ZodError.js +0 -133
  351. package/node_modules/zod/v3/errors.cjs +0 -17
  352. package/node_modules/zod/v3/errors.d.cts +0 -5
  353. package/node_modules/zod/v3/errors.d.ts +0 -5
  354. package/node_modules/zod/v3/errors.js +0 -9
  355. package/node_modules/zod/v3/external.cjs +0 -22
  356. package/node_modules/zod/v3/external.d.cts +0 -6
  357. package/node_modules/zod/v3/external.d.ts +0 -6
  358. package/node_modules/zod/v3/external.js +0 -6
  359. package/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
  360. package/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
  361. package/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
  362. package/node_modules/zod/v3/helpers/enumUtil.js +0 -1
  363. package/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
  364. package/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
  365. package/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
  366. package/node_modules/zod/v3/helpers/errorUtil.js +0 -6
  367. package/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
  368. package/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
  369. package/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
  370. package/node_modules/zod/v3/helpers/parseUtil.js +0 -109
  371. package/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
  372. package/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
  373. package/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
  374. package/node_modules/zod/v3/helpers/partialUtil.js +0 -1
  375. package/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
  376. package/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
  377. package/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
  378. package/node_modules/zod/v3/helpers/typeAliases.js +0 -1
  379. package/node_modules/zod/v3/helpers/util.cjs +0 -137
  380. package/node_modules/zod/v3/helpers/util.d.cts +0 -85
  381. package/node_modules/zod/v3/helpers/util.d.ts +0 -85
  382. package/node_modules/zod/v3/helpers/util.js +0 -133
  383. package/node_modules/zod/v3/index.cjs +0 -33
  384. package/node_modules/zod/v3/index.d.cts +0 -4
  385. package/node_modules/zod/v3/index.d.ts +0 -4
  386. package/node_modules/zod/v3/index.js +0 -4
  387. package/node_modules/zod/v3/locales/en.cjs +0 -112
  388. package/node_modules/zod/v3/locales/en.d.cts +0 -3
  389. package/node_modules/zod/v3/locales/en.d.ts +0 -3
  390. package/node_modules/zod/v3/locales/en.js +0 -109
  391. package/node_modules/zod/v3/package.json +0 -7
  392. package/node_modules/zod/v3/standard-schema.cjs +0 -2
  393. package/node_modules/zod/v3/standard-schema.d.cts +0 -102
  394. package/node_modules/zod/v3/standard-schema.d.ts +0 -102
  395. package/node_modules/zod/v3/standard-schema.js +0 -1
  396. package/node_modules/zod/v3/types.cjs +0 -3777
  397. package/node_modules/zod/v3/types.d.cts +0 -1034
  398. package/node_modules/zod/v3/types.d.ts +0 -1034
  399. package/node_modules/zod/v3/types.js +0 -3695
  400. package/node_modules/zod/v4/classic/checks.cjs +0 -33
  401. package/node_modules/zod/v4/classic/checks.d.cts +0 -1
  402. package/node_modules/zod/v4/classic/checks.d.ts +0 -1
  403. package/node_modules/zod/v4/classic/checks.js +0 -1
  404. package/node_modules/zod/v4/classic/coerce.cjs +0 -47
  405. package/node_modules/zod/v4/classic/coerce.d.cts +0 -17
  406. package/node_modules/zod/v4/classic/coerce.d.ts +0 -17
  407. package/node_modules/zod/v4/classic/coerce.js +0 -17
  408. package/node_modules/zod/v4/classic/compat.cjs +0 -61
  409. package/node_modules/zod/v4/classic/compat.d.cts +0 -50
  410. package/node_modules/zod/v4/classic/compat.d.ts +0 -50
  411. package/node_modules/zod/v4/classic/compat.js +0 -31
  412. package/node_modules/zod/v4/classic/errors.cjs +0 -74
  413. package/node_modules/zod/v4/classic/errors.d.cts +0 -30
  414. package/node_modules/zod/v4/classic/errors.d.ts +0 -30
  415. package/node_modules/zod/v4/classic/errors.js +0 -48
  416. package/node_modules/zod/v4/classic/external.cjs +0 -73
  417. package/node_modules/zod/v4/classic/external.d.cts +0 -16
  418. package/node_modules/zod/v4/classic/external.d.ts +0 -16
  419. package/node_modules/zod/v4/classic/external.js +0 -20
  420. package/node_modules/zod/v4/classic/from-json-schema.cjs +0 -625
  421. package/node_modules/zod/v4/classic/from-json-schema.d.cts +0 -12
  422. package/node_modules/zod/v4/classic/from-json-schema.d.ts +0 -12
  423. package/node_modules/zod/v4/classic/from-json-schema.js +0 -599
  424. package/node_modules/zod/v4/classic/index.cjs +0 -33
  425. package/node_modules/zod/v4/classic/index.d.cts +0 -4
  426. package/node_modules/zod/v4/classic/index.d.ts +0 -4
  427. package/node_modules/zod/v4/classic/index.js +0 -4
  428. package/node_modules/zod/v4/classic/iso.cjs +0 -60
  429. package/node_modules/zod/v4/classic/iso.d.cts +0 -22
  430. package/node_modules/zod/v4/classic/iso.d.ts +0 -22
  431. package/node_modules/zod/v4/classic/iso.js +0 -30
  432. package/node_modules/zod/v4/classic/package.json +0 -7
  433. package/node_modules/zod/v4/classic/parse.cjs +0 -41
  434. package/node_modules/zod/v4/classic/parse.d.cts +0 -31
  435. package/node_modules/zod/v4/classic/parse.d.ts +0 -31
  436. package/node_modules/zod/v4/classic/parse.js +0 -15
  437. package/node_modules/zod/v4/classic/schemas.cjs +0 -1511
  438. package/node_modules/zod/v4/classic/schemas.d.cts +0 -767
  439. package/node_modules/zod/v4/classic/schemas.d.ts +0 -767
  440. package/node_modules/zod/v4/classic/schemas.js +0 -1395
  441. package/node_modules/zod/v4/core/api.cjs +0 -1227
  442. package/node_modules/zod/v4/core/api.d.cts +0 -325
  443. package/node_modules/zod/v4/core/api.d.ts +0 -325
  444. package/node_modules/zod/v4/core/api.js +0 -1087
  445. package/node_modules/zod/v4/core/checks.cjs +0 -601
  446. package/node_modules/zod/v4/core/checks.d.cts +0 -278
  447. package/node_modules/zod/v4/core/checks.d.ts +0 -278
  448. package/node_modules/zod/v4/core/checks.js +0 -575
  449. package/node_modules/zod/v4/core/core.cjs +0 -85
  450. package/node_modules/zod/v4/core/core.d.cts +0 -70
  451. package/node_modules/zod/v4/core/core.d.ts +0 -70
  452. package/node_modules/zod/v4/core/core.js +0 -78
  453. package/node_modules/zod/v4/core/doc.cjs +0 -39
  454. package/node_modules/zod/v4/core/doc.d.cts +0 -14
  455. package/node_modules/zod/v4/core/doc.d.ts +0 -14
  456. package/node_modules/zod/v4/core/doc.js +0 -35
  457. package/node_modules/zod/v4/core/errors.cjs +0 -216
  458. package/node_modules/zod/v4/core/errors.d.cts +0 -221
  459. package/node_modules/zod/v4/core/errors.d.ts +0 -221
  460. package/node_modules/zod/v4/core/errors.js +0 -185
  461. package/node_modules/zod/v4/core/index.cjs +0 -47
  462. package/node_modules/zod/v4/core/index.d.cts +0 -16
  463. package/node_modules/zod/v4/core/index.d.ts +0 -16
  464. package/node_modules/zod/v4/core/index.js +0 -16
  465. package/node_modules/zod/v4/core/json-schema-generator.cjs +0 -99
  466. package/node_modules/zod/v4/core/json-schema-generator.d.cts +0 -65
  467. package/node_modules/zod/v4/core/json-schema-generator.d.ts +0 -65
  468. package/node_modules/zod/v4/core/json-schema-generator.js +0 -95
  469. package/node_modules/zod/v4/core/json-schema-processors.cjs +0 -644
  470. package/node_modules/zod/v4/core/json-schema-processors.d.cts +0 -49
  471. package/node_modules/zod/v4/core/json-schema-processors.d.ts +0 -49
  472. package/node_modules/zod/v4/core/json-schema-processors.js +0 -601
  473. package/node_modules/zod/v4/core/json-schema.cjs +0 -2
  474. package/node_modules/zod/v4/core/json-schema.d.cts +0 -88
  475. package/node_modules/zod/v4/core/json-schema.d.ts +0 -88
  476. package/node_modules/zod/v4/core/json-schema.js +0 -1
  477. package/node_modules/zod/v4/core/package.json +0 -7
  478. package/node_modules/zod/v4/core/parse.cjs +0 -131
  479. package/node_modules/zod/v4/core/parse.d.cts +0 -49
  480. package/node_modules/zod/v4/core/parse.d.ts +0 -49
  481. package/node_modules/zod/v4/core/parse.js +0 -93
  482. package/node_modules/zod/v4/core/regexes.cjs +0 -172
  483. package/node_modules/zod/v4/core/regexes.d.cts +0 -85
  484. package/node_modules/zod/v4/core/regexes.d.ts +0 -85
  485. package/node_modules/zod/v4/core/regexes.js +0 -139
  486. package/node_modules/zod/v4/core/registries.cjs +0 -56
  487. package/node_modules/zod/v4/core/registries.d.cts +0 -35
  488. package/node_modules/zod/v4/core/registries.d.ts +0 -35
  489. package/node_modules/zod/v4/core/registries.js +0 -51
  490. package/node_modules/zod/v4/core/schemas.cjs +0 -2270
  491. package/node_modules/zod/v4/core/schemas.d.cts +0 -1184
  492. package/node_modules/zod/v4/core/schemas.d.ts +0 -1184
  493. package/node_modules/zod/v4/core/schemas.js +0 -2239
  494. package/node_modules/zod/v4/core/standard-schema.cjs +0 -2
  495. package/node_modules/zod/v4/core/standard-schema.d.cts +0 -126
  496. package/node_modules/zod/v4/core/standard-schema.d.ts +0 -126
  497. package/node_modules/zod/v4/core/standard-schema.js +0 -1
  498. package/node_modules/zod/v4/core/to-json-schema.cjs +0 -457
  499. package/node_modules/zod/v4/core/to-json-schema.d.cts +0 -114
  500. package/node_modules/zod/v4/core/to-json-schema.d.ts +0 -114
  501. package/node_modules/zod/v4/core/to-json-schema.js +0 -448
  502. package/node_modules/zod/v4/core/util.cjs +0 -734
  503. package/node_modules/zod/v4/core/util.d.cts +0 -200
  504. package/node_modules/zod/v4/core/util.d.ts +0 -200
  505. package/node_modules/zod/v4/core/util.js +0 -674
  506. package/node_modules/zod/v4/core/versions.cjs +0 -8
  507. package/node_modules/zod/v4/core/versions.d.cts +0 -5
  508. package/node_modules/zod/v4/core/versions.d.ts +0 -5
  509. package/node_modules/zod/v4/core/versions.js +0 -5
  510. package/node_modules/zod/v4/index.cjs +0 -22
  511. package/node_modules/zod/v4/index.d.cts +0 -3
  512. package/node_modules/zod/v4/index.d.ts +0 -3
  513. package/node_modules/zod/v4/index.js +0 -3
  514. package/node_modules/zod/v4/locales/ar.cjs +0 -133
  515. package/node_modules/zod/v4/locales/ar.d.cts +0 -5
  516. package/node_modules/zod/v4/locales/ar.d.ts +0 -4
  517. package/node_modules/zod/v4/locales/ar.js +0 -106
  518. package/node_modules/zod/v4/locales/az.cjs +0 -132
  519. package/node_modules/zod/v4/locales/az.d.cts +0 -5
  520. package/node_modules/zod/v4/locales/az.d.ts +0 -4
  521. package/node_modules/zod/v4/locales/az.js +0 -105
  522. package/node_modules/zod/v4/locales/be.cjs +0 -183
  523. package/node_modules/zod/v4/locales/be.d.cts +0 -5
  524. package/node_modules/zod/v4/locales/be.d.ts +0 -4
  525. package/node_modules/zod/v4/locales/be.js +0 -156
  526. package/node_modules/zod/v4/locales/bg.cjs +0 -147
  527. package/node_modules/zod/v4/locales/bg.d.cts +0 -5
  528. package/node_modules/zod/v4/locales/bg.d.ts +0 -4
  529. package/node_modules/zod/v4/locales/bg.js +0 -120
  530. package/node_modules/zod/v4/locales/ca.cjs +0 -134
  531. package/node_modules/zod/v4/locales/ca.d.cts +0 -5
  532. package/node_modules/zod/v4/locales/ca.d.ts +0 -4
  533. package/node_modules/zod/v4/locales/ca.js +0 -107
  534. package/node_modules/zod/v4/locales/cs.cjs +0 -138
  535. package/node_modules/zod/v4/locales/cs.d.cts +0 -5
  536. package/node_modules/zod/v4/locales/cs.d.ts +0 -4
  537. package/node_modules/zod/v4/locales/cs.js +0 -111
  538. package/node_modules/zod/v4/locales/da.cjs +0 -142
  539. package/node_modules/zod/v4/locales/da.d.cts +0 -5
  540. package/node_modules/zod/v4/locales/da.d.ts +0 -4
  541. package/node_modules/zod/v4/locales/da.js +0 -115
  542. package/node_modules/zod/v4/locales/de.cjs +0 -135
  543. package/node_modules/zod/v4/locales/de.d.cts +0 -5
  544. package/node_modules/zod/v4/locales/de.d.ts +0 -4
  545. package/node_modules/zod/v4/locales/de.js +0 -108
  546. package/node_modules/zod/v4/locales/el.cjs +0 -136
  547. package/node_modules/zod/v4/locales/el.d.cts +0 -5
  548. package/node_modules/zod/v4/locales/el.d.ts +0 -4
  549. package/node_modules/zod/v4/locales/el.js +0 -109
  550. package/node_modules/zod/v4/locales/en.cjs +0 -140
  551. package/node_modules/zod/v4/locales/en.d.cts +0 -5
  552. package/node_modules/zod/v4/locales/en.d.ts +0 -4
  553. package/node_modules/zod/v4/locales/en.js +0 -113
  554. package/node_modules/zod/v4/locales/eo.cjs +0 -136
  555. package/node_modules/zod/v4/locales/eo.d.cts +0 -5
  556. package/node_modules/zod/v4/locales/eo.d.ts +0 -4
  557. package/node_modules/zod/v4/locales/eo.js +0 -109
  558. package/node_modules/zod/v4/locales/es.cjs +0 -159
  559. package/node_modules/zod/v4/locales/es.d.cts +0 -5
  560. package/node_modules/zod/v4/locales/es.d.ts +0 -4
  561. package/node_modules/zod/v4/locales/es.js +0 -132
  562. package/node_modules/zod/v4/locales/fa.cjs +0 -141
  563. package/node_modules/zod/v4/locales/fa.d.cts +0 -5
  564. package/node_modules/zod/v4/locales/fa.d.ts +0 -4
  565. package/node_modules/zod/v4/locales/fa.js +0 -114
  566. package/node_modules/zod/v4/locales/fi.cjs +0 -139
  567. package/node_modules/zod/v4/locales/fi.d.cts +0 -5
  568. package/node_modules/zod/v4/locales/fi.d.ts +0 -4
  569. package/node_modules/zod/v4/locales/fi.js +0 -112
  570. package/node_modules/zod/v4/locales/fr-CA.cjs +0 -134
  571. package/node_modules/zod/v4/locales/fr-CA.d.cts +0 -5
  572. package/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
  573. package/node_modules/zod/v4/locales/fr-CA.js +0 -107
  574. package/node_modules/zod/v4/locales/fr.cjs +0 -152
  575. package/node_modules/zod/v4/locales/fr.d.cts +0 -5
  576. package/node_modules/zod/v4/locales/fr.d.ts +0 -4
  577. package/node_modules/zod/v4/locales/fr.js +0 -125
  578. package/node_modules/zod/v4/locales/he.cjs +0 -241
  579. package/node_modules/zod/v4/locales/he.d.cts +0 -5
  580. package/node_modules/zod/v4/locales/he.d.ts +0 -4
  581. package/node_modules/zod/v4/locales/he.js +0 -214
  582. package/node_modules/zod/v4/locales/hr.cjs +0 -149
  583. package/node_modules/zod/v4/locales/hr.d.cts +0 -5
  584. package/node_modules/zod/v4/locales/hr.d.ts +0 -4
  585. package/node_modules/zod/v4/locales/hr.js +0 -122
  586. package/node_modules/zod/v4/locales/hu.cjs +0 -135
  587. package/node_modules/zod/v4/locales/hu.d.cts +0 -5
  588. package/node_modules/zod/v4/locales/hu.d.ts +0 -4
  589. package/node_modules/zod/v4/locales/hu.js +0 -108
  590. package/node_modules/zod/v4/locales/hy.cjs +0 -174
  591. package/node_modules/zod/v4/locales/hy.d.cts +0 -5
  592. package/node_modules/zod/v4/locales/hy.d.ts +0 -4
  593. package/node_modules/zod/v4/locales/hy.js +0 -147
  594. package/node_modules/zod/v4/locales/id.cjs +0 -133
  595. package/node_modules/zod/v4/locales/id.d.cts +0 -5
  596. package/node_modules/zod/v4/locales/id.d.ts +0 -4
  597. package/node_modules/zod/v4/locales/id.js +0 -106
  598. package/node_modules/zod/v4/locales/index.cjs +0 -111
  599. package/node_modules/zod/v4/locales/index.d.cts +0 -52
  600. package/node_modules/zod/v4/locales/index.d.ts +0 -52
  601. package/node_modules/zod/v4/locales/index.js +0 -52
  602. package/node_modules/zod/v4/locales/is.cjs +0 -136
  603. package/node_modules/zod/v4/locales/is.d.cts +0 -5
  604. package/node_modules/zod/v4/locales/is.d.ts +0 -4
  605. package/node_modules/zod/v4/locales/is.js +0 -109
  606. package/node_modules/zod/v4/locales/it.cjs +0 -135
  607. package/node_modules/zod/v4/locales/it.d.cts +0 -5
  608. package/node_modules/zod/v4/locales/it.d.ts +0 -4
  609. package/node_modules/zod/v4/locales/it.js +0 -108
  610. package/node_modules/zod/v4/locales/ja.cjs +0 -134
  611. package/node_modules/zod/v4/locales/ja.d.cts +0 -5
  612. package/node_modules/zod/v4/locales/ja.d.ts +0 -4
  613. package/node_modules/zod/v4/locales/ja.js +0 -107
  614. package/node_modules/zod/v4/locales/ka.cjs +0 -139
  615. package/node_modules/zod/v4/locales/ka.d.cts +0 -5
  616. package/node_modules/zod/v4/locales/ka.d.ts +0 -4
  617. package/node_modules/zod/v4/locales/ka.js +0 -112
  618. package/node_modules/zod/v4/locales/kh.cjs +0 -12
  619. package/node_modules/zod/v4/locales/kh.d.cts +0 -5
  620. package/node_modules/zod/v4/locales/kh.d.ts +0 -5
  621. package/node_modules/zod/v4/locales/kh.js +0 -5
  622. package/node_modules/zod/v4/locales/km.cjs +0 -137
  623. package/node_modules/zod/v4/locales/km.d.cts +0 -5
  624. package/node_modules/zod/v4/locales/km.d.ts +0 -4
  625. package/node_modules/zod/v4/locales/km.js +0 -110
  626. package/node_modules/zod/v4/locales/ko.cjs +0 -138
  627. package/node_modules/zod/v4/locales/ko.d.cts +0 -5
  628. package/node_modules/zod/v4/locales/ko.d.ts +0 -4
  629. package/node_modules/zod/v4/locales/ko.js +0 -111
  630. package/node_modules/zod/v4/locales/lt.cjs +0 -230
  631. package/node_modules/zod/v4/locales/lt.d.cts +0 -5
  632. package/node_modules/zod/v4/locales/lt.d.ts +0 -4
  633. package/node_modules/zod/v4/locales/lt.js +0 -203
  634. package/node_modules/zod/v4/locales/mk.cjs +0 -136
  635. package/node_modules/zod/v4/locales/mk.d.cts +0 -5
  636. package/node_modules/zod/v4/locales/mk.d.ts +0 -4
  637. package/node_modules/zod/v4/locales/mk.js +0 -109
  638. package/node_modules/zod/v4/locales/ms.cjs +0 -134
  639. package/node_modules/zod/v4/locales/ms.d.cts +0 -5
  640. package/node_modules/zod/v4/locales/ms.d.ts +0 -4
  641. package/node_modules/zod/v4/locales/ms.js +0 -107
  642. package/node_modules/zod/v4/locales/nl.cjs +0 -137
  643. package/node_modules/zod/v4/locales/nl.d.cts +0 -5
  644. package/node_modules/zod/v4/locales/nl.d.ts +0 -4
  645. package/node_modules/zod/v4/locales/nl.js +0 -110
  646. package/node_modules/zod/v4/locales/no.cjs +0 -135
  647. package/node_modules/zod/v4/locales/no.d.cts +0 -5
  648. package/node_modules/zod/v4/locales/no.d.ts +0 -4
  649. package/node_modules/zod/v4/locales/no.js +0 -108
  650. package/node_modules/zod/v4/locales/ota.cjs +0 -136
  651. package/node_modules/zod/v4/locales/ota.d.cts +0 -5
  652. package/node_modules/zod/v4/locales/ota.d.ts +0 -4
  653. package/node_modules/zod/v4/locales/ota.js +0 -109
  654. package/node_modules/zod/v4/locales/package.json +0 -7
  655. package/node_modules/zod/v4/locales/pl.cjs +0 -136
  656. package/node_modules/zod/v4/locales/pl.d.cts +0 -5
  657. package/node_modules/zod/v4/locales/pl.d.ts +0 -4
  658. package/node_modules/zod/v4/locales/pl.js +0 -109
  659. package/node_modules/zod/v4/locales/ps.cjs +0 -141
  660. package/node_modules/zod/v4/locales/ps.d.cts +0 -5
  661. package/node_modules/zod/v4/locales/ps.d.ts +0 -4
  662. package/node_modules/zod/v4/locales/ps.js +0 -114
  663. package/node_modules/zod/v4/locales/pt.cjs +0 -135
  664. package/node_modules/zod/v4/locales/pt.d.cts +0 -5
  665. package/node_modules/zod/v4/locales/pt.d.ts +0 -4
  666. package/node_modules/zod/v4/locales/pt.js +0 -108
  667. package/node_modules/zod/v4/locales/ro.cjs +0 -146
  668. package/node_modules/zod/v4/locales/ro.d.cts +0 -5
  669. package/node_modules/zod/v4/locales/ro.d.ts +0 -4
  670. package/node_modules/zod/v4/locales/ro.js +0 -119
  671. package/node_modules/zod/v4/locales/ru.cjs +0 -183
  672. package/node_modules/zod/v4/locales/ru.d.cts +0 -5
  673. package/node_modules/zod/v4/locales/ru.d.ts +0 -4
  674. package/node_modules/zod/v4/locales/ru.js +0 -156
  675. package/node_modules/zod/v4/locales/sl.cjs +0 -136
  676. package/node_modules/zod/v4/locales/sl.d.cts +0 -5
  677. package/node_modules/zod/v4/locales/sl.d.ts +0 -4
  678. package/node_modules/zod/v4/locales/sl.js +0 -109
  679. package/node_modules/zod/v4/locales/sv.cjs +0 -137
  680. package/node_modules/zod/v4/locales/sv.d.cts +0 -5
  681. package/node_modules/zod/v4/locales/sv.d.ts +0 -4
  682. package/node_modules/zod/v4/locales/sv.js +0 -110
  683. package/node_modules/zod/v4/locales/ta.cjs +0 -137
  684. package/node_modules/zod/v4/locales/ta.d.cts +0 -5
  685. package/node_modules/zod/v4/locales/ta.d.ts +0 -4
  686. package/node_modules/zod/v4/locales/ta.js +0 -110
  687. package/node_modules/zod/v4/locales/th.cjs +0 -137
  688. package/node_modules/zod/v4/locales/th.d.cts +0 -5
  689. package/node_modules/zod/v4/locales/th.d.ts +0 -4
  690. package/node_modules/zod/v4/locales/th.js +0 -110
  691. package/node_modules/zod/v4/locales/tr.cjs +0 -132
  692. package/node_modules/zod/v4/locales/tr.d.cts +0 -5
  693. package/node_modules/zod/v4/locales/tr.d.ts +0 -4
  694. package/node_modules/zod/v4/locales/tr.js +0 -105
  695. package/node_modules/zod/v4/locales/ua.cjs +0 -12
  696. package/node_modules/zod/v4/locales/ua.d.cts +0 -5
  697. package/node_modules/zod/v4/locales/ua.d.ts +0 -5
  698. package/node_modules/zod/v4/locales/ua.js +0 -5
  699. package/node_modules/zod/v4/locales/uk.cjs +0 -135
  700. package/node_modules/zod/v4/locales/uk.d.cts +0 -5
  701. package/node_modules/zod/v4/locales/uk.d.ts +0 -4
  702. package/node_modules/zod/v4/locales/uk.js +0 -108
  703. package/node_modules/zod/v4/locales/ur.cjs +0 -137
  704. package/node_modules/zod/v4/locales/ur.d.cts +0 -5
  705. package/node_modules/zod/v4/locales/ur.d.ts +0 -4
  706. package/node_modules/zod/v4/locales/ur.js +0 -110
  707. package/node_modules/zod/v4/locales/uz.cjs +0 -137
  708. package/node_modules/zod/v4/locales/uz.d.cts +0 -5
  709. package/node_modules/zod/v4/locales/uz.d.ts +0 -4
  710. package/node_modules/zod/v4/locales/uz.js +0 -110
  711. package/node_modules/zod/v4/locales/vi.cjs +0 -135
  712. package/node_modules/zod/v4/locales/vi.d.cts +0 -5
  713. package/node_modules/zod/v4/locales/vi.d.ts +0 -4
  714. package/node_modules/zod/v4/locales/vi.js +0 -108
  715. package/node_modules/zod/v4/locales/yo.cjs +0 -134
  716. package/node_modules/zod/v4/locales/yo.d.cts +0 -5
  717. package/node_modules/zod/v4/locales/yo.d.ts +0 -4
  718. package/node_modules/zod/v4/locales/yo.js +0 -107
  719. package/node_modules/zod/v4/locales/zh-CN.cjs +0 -136
  720. package/node_modules/zod/v4/locales/zh-CN.d.cts +0 -5
  721. package/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
  722. package/node_modules/zod/v4/locales/zh-CN.js +0 -109
  723. package/node_modules/zod/v4/locales/zh-TW.cjs +0 -134
  724. package/node_modules/zod/v4/locales/zh-TW.d.cts +0 -5
  725. package/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
  726. package/node_modules/zod/v4/locales/zh-TW.js +0 -107
  727. package/node_modules/zod/v4/mini/checks.cjs +0 -34
  728. package/node_modules/zod/v4/mini/checks.d.cts +0 -1
  729. package/node_modules/zod/v4/mini/checks.d.ts +0 -1
  730. package/node_modules/zod/v4/mini/checks.js +0 -1
  731. package/node_modules/zod/v4/mini/coerce.cjs +0 -52
  732. package/node_modules/zod/v4/mini/coerce.d.cts +0 -7
  733. package/node_modules/zod/v4/mini/coerce.d.ts +0 -7
  734. package/node_modules/zod/v4/mini/coerce.js +0 -22
  735. package/node_modules/zod/v4/mini/external.cjs +0 -63
  736. package/node_modules/zod/v4/mini/external.d.cts +0 -13
  737. package/node_modules/zod/v4/mini/external.d.ts +0 -13
  738. package/node_modules/zod/v4/mini/external.js +0 -14
  739. package/node_modules/zod/v4/mini/index.cjs +0 -32
  740. package/node_modules/zod/v4/mini/index.d.cts +0 -3
  741. package/node_modules/zod/v4/mini/index.d.ts +0 -3
  742. package/node_modules/zod/v4/mini/index.js +0 -3
  743. package/node_modules/zod/v4/mini/iso.cjs +0 -64
  744. package/node_modules/zod/v4/mini/iso.d.cts +0 -22
  745. package/node_modules/zod/v4/mini/iso.d.ts +0 -22
  746. package/node_modules/zod/v4/mini/iso.js +0 -34
  747. package/node_modules/zod/v4/mini/package.json +0 -7
  748. package/node_modules/zod/v4/mini/parse.cjs +0 -16
  749. package/node_modules/zod/v4/mini/parse.d.cts +0 -1
  750. package/node_modules/zod/v4/mini/parse.d.ts +0 -1
  751. package/node_modules/zod/v4/mini/parse.js +0 -1
  752. package/node_modules/zod/v4/mini/schemas.cjs +0 -1083
  753. package/node_modules/zod/v4/mini/schemas.d.cts +0 -445
  754. package/node_modules/zod/v4/mini/schemas.d.ts +0 -445
  755. package/node_modules/zod/v4/mini/schemas.js +0 -961
  756. package/node_modules/zod/v4/package.json +0 -7
  757. package/node_modules/zod/v4-mini/index.cjs +0 -32
  758. package/node_modules/zod/v4-mini/index.d.cts +0 -3
  759. package/node_modules/zod/v4-mini/index.d.ts +0 -3
  760. package/node_modules/zod/v4-mini/index.js +0 -3
  761. package/node_modules/zod/v4-mini/package.json +0 -7
@@ -1,767 +0,0 @@
1
- import * as core from "../core/index.js";
2
- import { util } from "../core/index.js";
3
- import type { StandardSchemaWithJSONProps } from "../core/standard-schema.js";
4
- import * as parse from "./parse.js";
5
- export type ZodStandardSchemaWithJSON<T> = StandardSchemaWithJSONProps<core.input<T>, core.output<T>>;
6
- export interface ZodType<out Output = unknown, out Input = unknown, out Internals extends core.$ZodTypeInternals<Output, Input> = core.$ZodTypeInternals<Output, Input>> extends core.$ZodType<Output, Input, Internals> {
7
- def: Internals["def"];
8
- type: Internals["def"]["type"];
9
- /** @deprecated Use `.def` instead. */
10
- _def: Internals["def"];
11
- /** @deprecated Use `z.output<typeof schema>` instead. */
12
- _output: Internals["output"];
13
- /** @deprecated Use `z.input<typeof schema>` instead. */
14
- _input: Internals["input"];
15
- "~standard": ZodStandardSchemaWithJSON<this>;
16
- /** Converts this schema to a JSON Schema representation. */
17
- toJSONSchema(params?: core.ToJSONSchemaParams): core.ZodStandardJSONSchemaPayload<this>;
18
- check(...checks: (core.CheckFn<core.output<this>> | core.$ZodCheck<core.output<this>>)[]): this;
19
- with(...checks: (core.CheckFn<core.output<this>> | core.$ZodCheck<core.output<this>>)[]): this;
20
- clone(def?: Internals["def"], params?: {
21
- parent: boolean;
22
- }): this;
23
- register<R extends core.$ZodRegistry>(registry: R, ...meta: this extends R["_schema"] ? undefined extends R["_meta"] ? [core.$replace<R["_meta"], this>?] : [core.$replace<R["_meta"], this>] : ["Incompatible schema"]): this;
24
- brand<T extends PropertyKey = PropertyKey, Dir extends "in" | "out" | "inout" = "out">(value?: T): PropertyKey extends T ? this : core.$ZodBranded<this, T, Dir>;
25
- parse(data: unknown, params?: core.ParseContext<core.$ZodIssue>): core.output<this>;
26
- safeParse(data: unknown, params?: core.ParseContext<core.$ZodIssue>): parse.ZodSafeParseResult<core.output<this>>;
27
- parseAsync(data: unknown, params?: core.ParseContext<core.$ZodIssue>): Promise<core.output<this>>;
28
- safeParseAsync(data: unknown, params?: core.ParseContext<core.$ZodIssue>): Promise<parse.ZodSafeParseResult<core.output<this>>>;
29
- spa: (data: unknown, params?: core.ParseContext<core.$ZodIssue>) => Promise<parse.ZodSafeParseResult<core.output<this>>>;
30
- encode(data: core.output<this>, params?: core.ParseContext<core.$ZodIssue>): core.input<this>;
31
- decode(data: core.input<this>, params?: core.ParseContext<core.$ZodIssue>): core.output<this>;
32
- encodeAsync(data: core.output<this>, params?: core.ParseContext<core.$ZodIssue>): Promise<core.input<this>>;
33
- decodeAsync(data: core.input<this>, params?: core.ParseContext<core.$ZodIssue>): Promise<core.output<this>>;
34
- safeEncode(data: core.output<this>, params?: core.ParseContext<core.$ZodIssue>): parse.ZodSafeParseResult<core.input<this>>;
35
- safeDecode(data: core.input<this>, params?: core.ParseContext<core.$ZodIssue>): parse.ZodSafeParseResult<core.output<this>>;
36
- safeEncodeAsync(data: core.output<this>, params?: core.ParseContext<core.$ZodIssue>): Promise<parse.ZodSafeParseResult<core.input<this>>>;
37
- safeDecodeAsync(data: core.input<this>, params?: core.ParseContext<core.$ZodIssue>): Promise<parse.ZodSafeParseResult<core.output<this>>>;
38
- refine<Ch extends (arg: core.output<this>) => unknown | Promise<unknown>>(check: Ch, params?: string | core.$ZodCustomParams): Ch extends (arg: any) => arg is infer R ? this & ZodType<R, core.input<this>> : this;
39
- superRefine(refinement: (arg: core.output<this>, ctx: core.$RefinementCtx<core.output<this>>) => void | Promise<void>, params?: core.$ZodSuperRefineParams): this;
40
- overwrite(fn: (x: core.output<this>) => core.output<this>): this;
41
- optional(): ZodOptional<this>;
42
- exactOptional(): ZodExactOptional<this>;
43
- nonoptional(params?: string | core.$ZodNonOptionalParams): ZodNonOptional<this>;
44
- nullable(): ZodNullable<this>;
45
- nullish(): ZodOptional<ZodNullable<this>>;
46
- default(def: util.NoUndefined<core.output<this>>): ZodDefault<this>;
47
- default(def: () => util.NoUndefined<core.output<this>>): ZodDefault<this>;
48
- prefault(def: () => core.input<this>): ZodPrefault<this>;
49
- prefault(def: core.input<this>): ZodPrefault<this>;
50
- array(): ZodArray<this>;
51
- or<T extends core.SomeType>(option: T): ZodUnion<[this, T]>;
52
- and<T extends core.SomeType>(incoming: T): ZodIntersection<this, T>;
53
- transform<NewOut>(transform: (arg: core.output<this>, ctx: core.$RefinementCtx<core.output<this>>) => NewOut | Promise<NewOut>): ZodPipe<this, ZodTransform<Awaited<NewOut>, core.output<this>>>;
54
- catch(def: core.output<this>): ZodCatch<this>;
55
- catch(def: (ctx: core.$ZodCatchCtx) => core.output<this>): ZodCatch<this>;
56
- pipe<T extends core.$ZodType<any, core.output<this>>>(target: T | core.$ZodType<any, core.output<this>>): ZodPipe<this, T>;
57
- readonly(): ZodReadonly<this>;
58
- /** Returns a new instance that has been registered in `z.globalRegistry` with the specified description */
59
- describe(description: string): this;
60
- description?: string;
61
- /** Returns the metadata associated with this instance in `z.globalRegistry` */
62
- meta(): core.$replace<core.GlobalMeta, this> | undefined;
63
- /** Returns a new instance that has been registered in `z.globalRegistry` with the specified metadata */
64
- meta(data: core.$replace<core.GlobalMeta, this>): this;
65
- /** @deprecated Try safe-parsing `undefined` (this is what `isOptional` does internally):
66
- *
67
- * ```ts
68
- * const schema = z.string().optional();
69
- * const isOptional = schema.safeParse(undefined).success; // true
70
- * ```
71
- */
72
- isOptional(): boolean;
73
- /**
74
- * @deprecated Try safe-parsing `null` (this is what `isNullable` does internally):
75
- *
76
- * ```ts
77
- * const schema = z.string().nullable();
78
- * const isNullable = schema.safeParse(null).success; // true
79
- * ```
80
- */
81
- isNullable(): boolean;
82
- apply<T>(fn: (schema: this) => T): T;
83
- }
84
- export interface _ZodType<out Internals extends core.$ZodTypeInternals = core.$ZodTypeInternals> extends ZodType<any, any, Internals> {
85
- }
86
- export declare const ZodType: core.$constructor<ZodType>;
87
- export interface _ZodString<T extends core.$ZodStringInternals<unknown> = core.$ZodStringInternals<unknown>> extends _ZodType<T> {
88
- format: string | null;
89
- minLength: number | null;
90
- maxLength: number | null;
91
- regex(regex: RegExp, params?: string | core.$ZodCheckRegexParams): this;
92
- includes(value: string, params?: string | core.$ZodCheckIncludesParams): this;
93
- startsWith(value: string, params?: string | core.$ZodCheckStartsWithParams): this;
94
- endsWith(value: string, params?: string | core.$ZodCheckEndsWithParams): this;
95
- min(minLength: number, params?: string | core.$ZodCheckMinLengthParams): this;
96
- max(maxLength: number, params?: string | core.$ZodCheckMaxLengthParams): this;
97
- length(len: number, params?: string | core.$ZodCheckLengthEqualsParams): this;
98
- nonempty(params?: string | core.$ZodCheckMinLengthParams): this;
99
- lowercase(params?: string | core.$ZodCheckLowerCaseParams): this;
100
- uppercase(params?: string | core.$ZodCheckUpperCaseParams): this;
101
- trim(): this;
102
- normalize(form?: "NFC" | "NFD" | "NFKC" | "NFKD" | (string & {})): this;
103
- toLowerCase(): this;
104
- toUpperCase(): this;
105
- slugify(): this;
106
- }
107
- /** @internal */
108
- export declare const _ZodString: core.$constructor<_ZodString>;
109
- export interface ZodString extends _ZodString<core.$ZodStringInternals<string>> {
110
- /** @deprecated Use `z.email()` instead. */
111
- email(params?: string | core.$ZodCheckEmailParams): this;
112
- /** @deprecated Use `z.url()` instead. */
113
- url(params?: string | core.$ZodCheckURLParams): this;
114
- /** @deprecated Use `z.jwt()` instead. */
115
- jwt(params?: string | core.$ZodCheckJWTParams): this;
116
- /** @deprecated Use `z.emoji()` instead. */
117
- emoji(params?: string | core.$ZodCheckEmojiParams): this;
118
- /** @deprecated Use `z.guid()` instead. */
119
- guid(params?: string | core.$ZodCheckGUIDParams): this;
120
- /** @deprecated Use `z.uuid()` instead. */
121
- uuid(params?: string | core.$ZodCheckUUIDParams): this;
122
- /** @deprecated Use `z.uuid()` instead. */
123
- uuidv4(params?: string | core.$ZodCheckUUIDParams): this;
124
- /** @deprecated Use `z.uuid()` instead. */
125
- uuidv6(params?: string | core.$ZodCheckUUIDParams): this;
126
- /** @deprecated Use `z.uuid()` instead. */
127
- uuidv7(params?: string | core.$ZodCheckUUIDParams): this;
128
- /** @deprecated Use `z.nanoid()` instead. */
129
- nanoid(params?: string | core.$ZodCheckNanoIDParams): this;
130
- /** @deprecated Use `z.guid()` instead. */
131
- guid(params?: string | core.$ZodCheckGUIDParams): this;
132
- /**
133
- * @deprecated CUID v1 is deprecated by its authors due to information leakage
134
- * (timestamps embedded in the id). Use `z.cuid2()` instead.
135
- * See https://github.com/paralleldrive/cuid.
136
- */
137
- cuid(params?: string | core.$ZodCheckCUIDParams): this;
138
- /** @deprecated Use `z.cuid2()` instead. */
139
- cuid2(params?: string | core.$ZodCheckCUID2Params): this;
140
- /** @deprecated Use `z.ulid()` instead. */
141
- ulid(params?: string | core.$ZodCheckULIDParams): this;
142
- /** @deprecated Use `z.base64()` instead. */
143
- base64(params?: string | core.$ZodCheckBase64Params): this;
144
- /** @deprecated Use `z.base64url()` instead. */
145
- base64url(params?: string | core.$ZodCheckBase64URLParams): this;
146
- /** @deprecated Use `z.xid()` instead. */
147
- xid(params?: string | core.$ZodCheckXIDParams): this;
148
- /** @deprecated Use `z.ksuid()` instead. */
149
- ksuid(params?: string | core.$ZodCheckKSUIDParams): this;
150
- /** @deprecated Use `z.ipv4()` instead. */
151
- ipv4(params?: string | core.$ZodCheckIPv4Params): this;
152
- /** @deprecated Use `z.ipv6()` instead. */
153
- ipv6(params?: string | core.$ZodCheckIPv6Params): this;
154
- /** @deprecated Use `z.cidrv4()` instead. */
155
- cidrv4(params?: string | core.$ZodCheckCIDRv4Params): this;
156
- /** @deprecated Use `z.cidrv6()` instead. */
157
- cidrv6(params?: string | core.$ZodCheckCIDRv6Params): this;
158
- /** @deprecated Use `z.e164()` instead. */
159
- e164(params?: string | core.$ZodCheckE164Params): this;
160
- /** @deprecated Use `z.iso.datetime()` instead. */
161
- datetime(params?: string | core.$ZodCheckISODateTimeParams): this;
162
- /** @deprecated Use `z.iso.date()` instead. */
163
- date(params?: string | core.$ZodCheckISODateParams): this;
164
- /** @deprecated Use `z.iso.time()` instead. */
165
- time(params?: string | core.$ZodCheckISOTimeParams): this;
166
- /** @deprecated Use `z.iso.duration()` instead. */
167
- duration(params?: string | core.$ZodCheckISODurationParams): this;
168
- }
169
- export declare const ZodString: core.$constructor<ZodString>;
170
- export declare function string(params?: string | core.$ZodStringParams): ZodString;
171
- export declare function string<T extends string>(params?: string | core.$ZodStringParams): core.$ZodType<T, T>;
172
- export interface ZodStringFormat<Format extends string = string> extends _ZodString<core.$ZodStringFormatInternals<Format>> {
173
- }
174
- export declare const ZodStringFormat: core.$constructor<ZodStringFormat>;
175
- export interface ZodEmail extends ZodStringFormat<"email"> {
176
- _zod: core.$ZodEmailInternals;
177
- }
178
- export declare const ZodEmail: core.$constructor<ZodEmail>;
179
- export declare function email(params?: string | core.$ZodEmailParams): ZodEmail;
180
- export interface ZodGUID extends ZodStringFormat<"guid"> {
181
- _zod: core.$ZodGUIDInternals;
182
- }
183
- export declare const ZodGUID: core.$constructor<ZodGUID>;
184
- export declare function guid(params?: string | core.$ZodGUIDParams): ZodGUID;
185
- export interface ZodUUID extends ZodStringFormat<"uuid"> {
186
- _zod: core.$ZodUUIDInternals;
187
- }
188
- export declare const ZodUUID: core.$constructor<ZodUUID>;
189
- export declare function uuid(params?: string | core.$ZodUUIDParams): ZodUUID;
190
- export declare function uuidv4(params?: string | core.$ZodUUIDv4Params): ZodUUID;
191
- export declare function uuidv6(params?: string | core.$ZodUUIDv6Params): ZodUUID;
192
- export declare function uuidv7(params?: string | core.$ZodUUIDv7Params): ZodUUID;
193
- export interface ZodURL extends ZodStringFormat<"url"> {
194
- _zod: core.$ZodURLInternals;
195
- }
196
- export declare const ZodURL: core.$constructor<ZodURL>;
197
- export declare function url(params?: string | core.$ZodURLParams): ZodURL;
198
- export declare function httpUrl(params?: string | Omit<core.$ZodURLParams, "protocol" | "hostname">): ZodURL;
199
- export interface ZodEmoji extends ZodStringFormat<"emoji"> {
200
- _zod: core.$ZodEmojiInternals;
201
- }
202
- export declare const ZodEmoji: core.$constructor<ZodEmoji>;
203
- export declare function emoji(params?: string | core.$ZodEmojiParams): ZodEmoji;
204
- export interface ZodNanoID extends ZodStringFormat<"nanoid"> {
205
- _zod: core.$ZodNanoIDInternals;
206
- }
207
- export declare const ZodNanoID: core.$constructor<ZodNanoID>;
208
- export declare function nanoid(params?: string | core.$ZodNanoIDParams): ZodNanoID;
209
- /**
210
- * @deprecated CUID v1 is deprecated by its authors due to information leakage
211
- * (timestamps embedded in the id). Use {@link ZodCUID2} instead.
212
- * See https://github.com/paralleldrive/cuid.
213
- */
214
- export interface ZodCUID extends ZodStringFormat<"cuid"> {
215
- _zod: core.$ZodCUIDInternals;
216
- }
217
- /**
218
- * @deprecated CUID v1 is deprecated by its authors due to information leakage
219
- * (timestamps embedded in the id). Use {@link ZodCUID2} instead.
220
- * See https://github.com/paralleldrive/cuid.
221
- */
222
- export declare const ZodCUID: core.$constructor<ZodCUID>;
223
- /**
224
- * Validates a CUID v1 string.
225
- *
226
- * @deprecated CUID v1 is deprecated by its authors due to information leakage
227
- * (timestamps embedded in the id). Use {@link cuid2 | `z.cuid2()`} instead.
228
- * See https://github.com/paralleldrive/cuid.
229
- */
230
- export declare function cuid(params?: string | core.$ZodCUIDParams): ZodCUID;
231
- export interface ZodCUID2 extends ZodStringFormat<"cuid2"> {
232
- _zod: core.$ZodCUID2Internals;
233
- }
234
- export declare const ZodCUID2: core.$constructor<ZodCUID2>;
235
- export declare function cuid2(params?: string | core.$ZodCUID2Params): ZodCUID2;
236
- export interface ZodULID extends ZodStringFormat<"ulid"> {
237
- _zod: core.$ZodULIDInternals;
238
- }
239
- export declare const ZodULID: core.$constructor<ZodULID>;
240
- export declare function ulid(params?: string | core.$ZodULIDParams): ZodULID;
241
- export interface ZodXID extends ZodStringFormat<"xid"> {
242
- _zod: core.$ZodXIDInternals;
243
- }
244
- export declare const ZodXID: core.$constructor<ZodXID>;
245
- export declare function xid(params?: string | core.$ZodXIDParams): ZodXID;
246
- export interface ZodKSUID extends ZodStringFormat<"ksuid"> {
247
- _zod: core.$ZodKSUIDInternals;
248
- }
249
- export declare const ZodKSUID: core.$constructor<ZodKSUID>;
250
- export declare function ksuid(params?: string | core.$ZodKSUIDParams): ZodKSUID;
251
- export interface ZodIPv4 extends ZodStringFormat<"ipv4"> {
252
- _zod: core.$ZodIPv4Internals;
253
- }
254
- export declare const ZodIPv4: core.$constructor<ZodIPv4>;
255
- export declare function ipv4(params?: string | core.$ZodIPv4Params): ZodIPv4;
256
- export interface ZodMAC extends ZodStringFormat<"mac"> {
257
- _zod: core.$ZodMACInternals;
258
- }
259
- export declare const ZodMAC: core.$constructor<ZodMAC>;
260
- export declare function mac(params?: string | core.$ZodMACParams): ZodMAC;
261
- export interface ZodIPv6 extends ZodStringFormat<"ipv6"> {
262
- _zod: core.$ZodIPv6Internals;
263
- }
264
- export declare const ZodIPv6: core.$constructor<ZodIPv6>;
265
- export declare function ipv6(params?: string | core.$ZodIPv6Params): ZodIPv6;
266
- export interface ZodCIDRv4 extends ZodStringFormat<"cidrv4"> {
267
- _zod: core.$ZodCIDRv4Internals;
268
- }
269
- export declare const ZodCIDRv4: core.$constructor<ZodCIDRv4>;
270
- export declare function cidrv4(params?: string | core.$ZodCIDRv4Params): ZodCIDRv4;
271
- export interface ZodCIDRv6 extends ZodStringFormat<"cidrv6"> {
272
- _zod: core.$ZodCIDRv6Internals;
273
- }
274
- export declare const ZodCIDRv6: core.$constructor<ZodCIDRv6>;
275
- export declare function cidrv6(params?: string | core.$ZodCIDRv6Params): ZodCIDRv6;
276
- export interface ZodBase64 extends ZodStringFormat<"base64"> {
277
- _zod: core.$ZodBase64Internals;
278
- }
279
- export declare const ZodBase64: core.$constructor<ZodBase64>;
280
- export declare function base64(params?: string | core.$ZodBase64Params): ZodBase64;
281
- export interface ZodBase64URL extends ZodStringFormat<"base64url"> {
282
- _zod: core.$ZodBase64URLInternals;
283
- }
284
- export declare const ZodBase64URL: core.$constructor<ZodBase64URL>;
285
- export declare function base64url(params?: string | core.$ZodBase64URLParams): ZodBase64URL;
286
- export interface ZodE164 extends ZodStringFormat<"e164"> {
287
- _zod: core.$ZodE164Internals;
288
- }
289
- export declare const ZodE164: core.$constructor<ZodE164>;
290
- export declare function e164(params?: string | core.$ZodE164Params): ZodE164;
291
- export interface ZodJWT extends ZodStringFormat<"jwt"> {
292
- _zod: core.$ZodJWTInternals;
293
- }
294
- export declare const ZodJWT: core.$constructor<ZodJWT>;
295
- export declare function jwt(params?: string | core.$ZodJWTParams): ZodJWT;
296
- export interface ZodCustomStringFormat<Format extends string = string> extends ZodStringFormat<Format>, core.$ZodCustomStringFormat<Format> {
297
- _zod: core.$ZodCustomStringFormatInternals<Format>;
298
- "~standard": ZodStandardSchemaWithJSON<this>;
299
- }
300
- export declare const ZodCustomStringFormat: core.$constructor<ZodCustomStringFormat>;
301
- export declare function stringFormat<Format extends string>(format: Format, fnOrRegex: ((arg: string) => util.MaybeAsync<unknown>) | RegExp, _params?: string | core.$ZodStringFormatParams): ZodCustomStringFormat<Format>;
302
- export declare function hostname(_params?: string | core.$ZodStringFormatParams): ZodCustomStringFormat<"hostname">;
303
- export declare function hex(_params?: string | core.$ZodStringFormatParams): ZodCustomStringFormat<"hex">;
304
- export declare function hash<Alg extends util.HashAlgorithm, Enc extends util.HashEncoding = "hex">(alg: Alg, params?: {
305
- enc?: Enc;
306
- } & core.$ZodStringFormatParams): ZodCustomStringFormat<`${Alg}_${Enc}`>;
307
- export interface _ZodNumber<Internals extends core.$ZodNumberInternals = core.$ZodNumberInternals> extends _ZodType<Internals> {
308
- gt(value: number, params?: string | core.$ZodCheckGreaterThanParams): this;
309
- /** Identical to .min() */
310
- gte(value: number, params?: string | core.$ZodCheckGreaterThanParams): this;
311
- min(value: number, params?: string | core.$ZodCheckGreaterThanParams): this;
312
- lt(value: number, params?: string | core.$ZodCheckLessThanParams): this;
313
- /** Identical to .max() */
314
- lte(value: number, params?: string | core.$ZodCheckLessThanParams): this;
315
- max(value: number, params?: string | core.$ZodCheckLessThanParams): this;
316
- /** Consider `z.int()` instead. This API is considered *legacy*; it will never be removed but a better alternative exists. */
317
- int(params?: string | core.$ZodCheckNumberFormatParams): this;
318
- /** @deprecated This is now identical to `.int()`. Only numbers in the safe integer range are accepted. */
319
- safe(params?: string | core.$ZodCheckNumberFormatParams): this;
320
- positive(params?: string | core.$ZodCheckGreaterThanParams): this;
321
- nonnegative(params?: string | core.$ZodCheckGreaterThanParams): this;
322
- negative(params?: string | core.$ZodCheckLessThanParams): this;
323
- nonpositive(params?: string | core.$ZodCheckLessThanParams): this;
324
- multipleOf(value: number, params?: string | core.$ZodCheckMultipleOfParams): this;
325
- /** @deprecated Use `.multipleOf()` instead. */
326
- step(value: number, params?: string | core.$ZodCheckMultipleOfParams): this;
327
- /** @deprecated In v4 and later, z.number() does not allow infinite values by default. This is a no-op. */
328
- finite(params?: unknown): this;
329
- minValue: number | null;
330
- maxValue: number | null;
331
- /** @deprecated Check the `format` property instead. */
332
- isInt: boolean;
333
- /** @deprecated Number schemas no longer accept infinite values, so this always returns `true`. */
334
- isFinite: boolean;
335
- format: string | null;
336
- }
337
- export interface ZodNumber extends _ZodNumber<core.$ZodNumberInternals<number>> {
338
- }
339
- export declare const ZodNumber: core.$constructor<ZodNumber>;
340
- export declare function number(params?: string | core.$ZodNumberParams): ZodNumber;
341
- export interface ZodNumberFormat extends ZodNumber {
342
- _zod: core.$ZodNumberFormatInternals;
343
- }
344
- export declare const ZodNumberFormat: core.$constructor<ZodNumberFormat>;
345
- export interface ZodInt extends ZodNumberFormat {
346
- }
347
- export declare function int(params?: string | core.$ZodCheckNumberFormatParams): ZodInt;
348
- export interface ZodFloat32 extends ZodNumberFormat {
349
- }
350
- export declare function float32(params?: string | core.$ZodCheckNumberFormatParams): ZodFloat32;
351
- export interface ZodFloat64 extends ZodNumberFormat {
352
- }
353
- export declare function float64(params?: string | core.$ZodCheckNumberFormatParams): ZodFloat64;
354
- export interface ZodInt32 extends ZodNumberFormat {
355
- }
356
- export declare function int32(params?: string | core.$ZodCheckNumberFormatParams): ZodInt32;
357
- export interface ZodUInt32 extends ZodNumberFormat {
358
- }
359
- export declare function uint32(params?: string | core.$ZodCheckNumberFormatParams): ZodUInt32;
360
- export interface _ZodBoolean<T extends core.$ZodBooleanInternals = core.$ZodBooleanInternals> extends _ZodType<T> {
361
- }
362
- export interface ZodBoolean extends _ZodBoolean<core.$ZodBooleanInternals<boolean>> {
363
- }
364
- export declare const ZodBoolean: core.$constructor<ZodBoolean>;
365
- export declare function boolean(params?: string | core.$ZodBooleanParams): ZodBoolean;
366
- export interface _ZodBigInt<T extends core.$ZodBigIntInternals = core.$ZodBigIntInternals> extends _ZodType<T> {
367
- gte(value: bigint, params?: string | core.$ZodCheckGreaterThanParams): this;
368
- /** Alias of `.gte()` */
369
- min(value: bigint, params?: string | core.$ZodCheckGreaterThanParams): this;
370
- gt(value: bigint, params?: string | core.$ZodCheckGreaterThanParams): this;
371
- /** Alias of `.lte()` */
372
- lte(value: bigint, params?: string | core.$ZodCheckLessThanParams): this;
373
- max(value: bigint, params?: string | core.$ZodCheckLessThanParams): this;
374
- lt(value: bigint, params?: string | core.$ZodCheckLessThanParams): this;
375
- positive(params?: string | core.$ZodCheckGreaterThanParams): this;
376
- negative(params?: string | core.$ZodCheckLessThanParams): this;
377
- nonpositive(params?: string | core.$ZodCheckLessThanParams): this;
378
- nonnegative(params?: string | core.$ZodCheckGreaterThanParams): this;
379
- multipleOf(value: bigint, params?: string | core.$ZodCheckMultipleOfParams): this;
380
- minValue: bigint | null;
381
- maxValue: bigint | null;
382
- format: string | null;
383
- }
384
- export interface ZodBigInt extends _ZodBigInt<core.$ZodBigIntInternals<bigint>> {
385
- }
386
- export declare const ZodBigInt: core.$constructor<ZodBigInt>;
387
- export declare function bigint(params?: string | core.$ZodBigIntParams): ZodBigInt;
388
- export interface ZodBigIntFormat extends ZodBigInt {
389
- _zod: core.$ZodBigIntFormatInternals;
390
- }
391
- export declare const ZodBigIntFormat: core.$constructor<ZodBigIntFormat>;
392
- export declare function int64(params?: string | core.$ZodBigIntFormatParams): ZodBigIntFormat;
393
- export declare function uint64(params?: string | core.$ZodBigIntFormatParams): ZodBigIntFormat;
394
- export interface ZodSymbol extends _ZodType<core.$ZodSymbolInternals> {
395
- }
396
- export declare const ZodSymbol: core.$constructor<ZodSymbol>;
397
- export declare function symbol(params?: string | core.$ZodSymbolParams): ZodSymbol;
398
- export interface ZodUndefined extends _ZodType<core.$ZodUndefinedInternals> {
399
- }
400
- export declare const ZodUndefined: core.$constructor<ZodUndefined>;
401
- declare function _undefined(params?: string | core.$ZodUndefinedParams): ZodUndefined;
402
- export { _undefined as undefined };
403
- export interface ZodNull extends _ZodType<core.$ZodNullInternals> {
404
- }
405
- export declare const ZodNull: core.$constructor<ZodNull>;
406
- declare function _null(params?: string | core.$ZodNullParams): ZodNull;
407
- export { _null as null };
408
- export interface ZodAny extends _ZodType<core.$ZodAnyInternals> {
409
- }
410
- export declare const ZodAny: core.$constructor<ZodAny>;
411
- export declare function any(): ZodAny;
412
- export interface ZodUnknown extends _ZodType<core.$ZodUnknownInternals> {
413
- }
414
- export declare const ZodUnknown: core.$constructor<ZodUnknown>;
415
- export declare function unknown(): ZodUnknown;
416
- export interface ZodNever extends _ZodType<core.$ZodNeverInternals> {
417
- }
418
- export declare const ZodNever: core.$constructor<ZodNever>;
419
- export declare function never(params?: string | core.$ZodNeverParams): ZodNever;
420
- export interface ZodVoid extends _ZodType<core.$ZodVoidInternals> {
421
- }
422
- export declare const ZodVoid: core.$constructor<ZodVoid>;
423
- declare function _void(params?: string | core.$ZodVoidParams): ZodVoid;
424
- export { _void as void };
425
- export interface _ZodDate<T extends core.$ZodDateInternals = core.$ZodDateInternals> extends _ZodType<T> {
426
- min(value: number | Date, params?: string | core.$ZodCheckGreaterThanParams): this;
427
- max(value: number | Date, params?: string | core.$ZodCheckLessThanParams): this;
428
- /** @deprecated Not recommended. */
429
- minDate: Date | null;
430
- /** @deprecated Not recommended. */
431
- maxDate: Date | null;
432
- }
433
- export interface ZodDate extends _ZodDate<core.$ZodDateInternals<Date>> {
434
- }
435
- export declare const ZodDate: core.$constructor<ZodDate>;
436
- export declare function date(params?: string | core.$ZodDateParams): ZodDate;
437
- export interface ZodArray<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodArrayInternals<T>>, core.$ZodArray<T> {
438
- element: T;
439
- min(minLength: number, params?: string | core.$ZodCheckMinLengthParams): this;
440
- nonempty(params?: string | core.$ZodCheckMinLengthParams): this;
441
- max(maxLength: number, params?: string | core.$ZodCheckMaxLengthParams): this;
442
- length(len: number, params?: string | core.$ZodCheckLengthEqualsParams): this;
443
- unwrap(): T;
444
- "~standard": ZodStandardSchemaWithJSON<this>;
445
- }
446
- export declare const ZodArray: core.$constructor<ZodArray>;
447
- export declare function array<T extends core.SomeType>(element: T, params?: string | core.$ZodArrayParams): ZodArray<T>;
448
- export declare function keyof<T extends ZodObject>(schema: T): ZodEnum<util.KeysEnum<T["_zod"]["output"]>>;
449
- export type SafeExtendShape<Base extends core.$ZodShape, Ext extends core.$ZodLooseShape> = {
450
- [K in keyof Ext]: K extends keyof Base ? core.output<Ext[K]> extends core.output<Base[K]> ? core.input<Ext[K]> extends core.input<Base[K]> ? Ext[K] : never : never : Ext[K];
451
- };
452
- export interface ZodObject<
453
- /** @ts-ignore Cast variance */
454
- out Shape extends core.$ZodShape = core.$ZodLooseShape, out Config extends core.$ZodObjectConfig = core.$strip> extends _ZodType<core.$ZodObjectInternals<Shape, Config>>, core.$ZodObject<Shape, Config> {
455
- "~standard": ZodStandardSchemaWithJSON<this>;
456
- shape: Shape;
457
- keyof(): ZodEnum<util.ToEnum<keyof Shape & string>>;
458
- /** Define a schema to validate all unrecognized keys. This overrides the existing strict/loose behavior. */
459
- catchall<T extends core.SomeType>(schema: T): ZodObject<Shape, core.$catchall<T>>;
460
- /** @deprecated Use `z.looseObject()` or `.loose()` instead. */
461
- passthrough(): ZodObject<Shape, core.$loose>;
462
- /** Consider `z.looseObject(A.shape)` instead */
463
- loose(): ZodObject<Shape, core.$loose>;
464
- /** Consider `z.strictObject(A.shape)` instead */
465
- strict(): ZodObject<Shape, core.$strict>;
466
- /** This is the default behavior. This method call is likely unnecessary. */
467
- strip(): ZodObject<Shape, core.$strip>;
468
- extend<U extends core.$ZodLooseShape>(shape: U): ZodObject<util.Extend<Shape, util.Writeable<U>>, Config>;
469
- safeExtend<U extends core.$ZodLooseShape>(shape: SafeExtendShape<Shape, U> & Partial<Record<keyof Shape, core.SomeType>>): ZodObject<util.Extend<Shape, util.Writeable<U>>, Config>;
470
- /**
471
- * @deprecated Use [`A.extend(B.shape)`](https://zod.dev/api?id=extend) instead.
472
- */
473
- merge<U extends ZodObject>(other: U): ZodObject<util.Extend<Shape, U["shape"]>, U["_zod"]["config"]>;
474
- pick<M extends util.Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<util.Flatten<Pick<Shape, Extract<keyof Shape, keyof M>>>, Config>;
475
- omit<M extends util.Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<util.Flatten<Omit<Shape, Extract<keyof Shape, keyof M>>>, Config>;
476
- partial(): ZodObject<{
477
- -readonly [k in keyof Shape]: ZodOptional<Shape[k]>;
478
- }, Config>;
479
- partial<M extends util.Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<{
480
- -readonly [k in keyof Shape]: k extends keyof M ? ZodOptional<Shape[k]> : Shape[k];
481
- }, Config>;
482
- required(): ZodObject<{
483
- -readonly [k in keyof Shape]: ZodNonOptional<Shape[k]>;
484
- }, Config>;
485
- required<M extends util.Mask<keyof Shape>>(mask: M & Record<Exclude<keyof M, keyof Shape>, never>): ZodObject<{
486
- -readonly [k in keyof Shape]: k extends keyof M ? ZodNonOptional<Shape[k]> : Shape[k];
487
- }, Config>;
488
- }
489
- export declare const ZodObject: core.$constructor<ZodObject>;
490
- export declare function object<T extends core.$ZodLooseShape = Partial<Record<never, core.SomeType>>>(shape?: T, params?: string | core.$ZodObjectParams): ZodObject<util.Writeable<T>, core.$strip>;
491
- export declare function strictObject<T extends core.$ZodLooseShape>(shape: T, params?: string | core.$ZodObjectParams): ZodObject<util.Writeable<T>, core.$strict>;
492
- export declare function looseObject<T extends core.$ZodLooseShape>(shape: T, params?: string | core.$ZodObjectParams): ZodObject<util.Writeable<T>, core.$loose>;
493
- export interface ZodUnion<T extends readonly core.SomeType[] = readonly core.$ZodType[]> extends _ZodType<core.$ZodUnionInternals<T>>, core.$ZodUnion<T> {
494
- "~standard": ZodStandardSchemaWithJSON<this>;
495
- options: T;
496
- }
497
- export declare const ZodUnion: core.$constructor<ZodUnion>;
498
- export declare function union<const T extends readonly core.SomeType[]>(options: T, params?: string | core.$ZodUnionParams): ZodUnion<T>;
499
- export interface ZodXor<T extends readonly core.SomeType[] = readonly core.$ZodType[]> extends _ZodType<core.$ZodXorInternals<T>>, core.$ZodXor<T> {
500
- "~standard": ZodStandardSchemaWithJSON<this>;
501
- options: T;
502
- }
503
- export declare const ZodXor: core.$constructor<ZodXor>;
504
- /** Creates an exclusive union (XOR) where exactly one option must match.
505
- * Unlike regular unions that succeed when any option matches, xor fails if
506
- * zero or more than one option matches the input. */
507
- export declare function xor<const T extends readonly core.SomeType[]>(options: T, params?: string | core.$ZodXorParams): ZodXor<T>;
508
- export interface ZodDiscriminatedUnion<Options extends readonly core.SomeType[] = readonly core.$ZodType[], Disc extends string = string> extends ZodUnion<Options>, core.$ZodDiscriminatedUnion<Options, Disc> {
509
- "~standard": ZodStandardSchemaWithJSON<this>;
510
- _zod: core.$ZodDiscriminatedUnionInternals<Options, Disc>;
511
- def: core.$ZodDiscriminatedUnionDef<Options, Disc>;
512
- }
513
- export declare const ZodDiscriminatedUnion: core.$constructor<ZodDiscriminatedUnion>;
514
- export declare function discriminatedUnion<Types extends readonly [core.$ZodTypeDiscriminable<Disc>, ...core.$ZodTypeDiscriminable<Disc>[]], Disc extends string>(discriminator: Disc, options: Types, params?: string | core.$ZodDiscriminatedUnionParams): ZodDiscriminatedUnion<Types, Disc>;
515
- export interface ZodIntersection<A extends core.SomeType = core.$ZodType, B extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodIntersectionInternals<A, B>>, core.$ZodIntersection<A, B> {
516
- "~standard": ZodStandardSchemaWithJSON<this>;
517
- }
518
- export declare const ZodIntersection: core.$constructor<ZodIntersection>;
519
- export declare function intersection<T extends core.SomeType, U extends core.SomeType>(left: T, right: U): ZodIntersection<T, U>;
520
- export interface ZodTuple<T extends util.TupleItems = readonly core.$ZodType[], Rest extends core.SomeType | null = core.$ZodType | null> extends _ZodType<core.$ZodTupleInternals<T, Rest>>, core.$ZodTuple<T, Rest> {
521
- "~standard": ZodStandardSchemaWithJSON<this>;
522
- rest<Rest extends core.SomeType = core.$ZodType>(rest: Rest): ZodTuple<T, Rest>;
523
- }
524
- export declare const ZodTuple: core.$constructor<ZodTuple>;
525
- export declare function tuple<T extends readonly [core.SomeType, ...core.SomeType[]]>(items: T, params?: string | core.$ZodTupleParams): ZodTuple<T, null>;
526
- export declare function tuple<T extends readonly [core.SomeType, ...core.SomeType[]], Rest extends core.SomeType>(items: T, rest: Rest, params?: string | core.$ZodTupleParams): ZodTuple<T, Rest>;
527
- export declare function tuple(items: [], params?: string | core.$ZodTupleParams): ZodTuple<[], null>;
528
- export interface ZodRecord<Key extends core.$ZodRecordKey = core.$ZodRecordKey, Value extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodRecordInternals<Key, Value>>, core.$ZodRecord<Key, Value> {
529
- "~standard": ZodStandardSchemaWithJSON<this>;
530
- keyType: Key;
531
- valueType: Value;
532
- }
533
- export declare const ZodRecord: core.$constructor<ZodRecord>;
534
- export declare function record<Key extends core.$ZodRecordKey, Value extends core.SomeType>(keyType: Key, valueType: Value, params?: string | core.$ZodRecordParams): ZodRecord<Key, Value>;
535
- export declare function partialRecord<Key extends core.$ZodRecordKey, Value extends core.SomeType>(keyType: Key, valueType: Value, params?: string | core.$ZodRecordParams): ZodRecord<Key & core.$partial, Value>;
536
- export declare function looseRecord<Key extends core.$ZodRecordKey, Value extends core.SomeType>(keyType: Key, valueType: Value, params?: string | core.$ZodRecordParams): ZodRecord<Key, Value>;
537
- export interface ZodMap<Key extends core.SomeType = core.$ZodType, Value extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodMapInternals<Key, Value>>, core.$ZodMap<Key, Value> {
538
- "~standard": ZodStandardSchemaWithJSON<this>;
539
- keyType: Key;
540
- valueType: Value;
541
- min(minSize: number, params?: string | core.$ZodCheckMinSizeParams): this;
542
- nonempty(params?: string | core.$ZodCheckMinSizeParams): this;
543
- max(maxSize: number, params?: string | core.$ZodCheckMaxSizeParams): this;
544
- size(size: number, params?: string | core.$ZodCheckSizeEqualsParams): this;
545
- }
546
- export declare const ZodMap: core.$constructor<ZodMap>;
547
- export declare function map<Key extends core.SomeType, Value extends core.SomeType>(keyType: Key, valueType: Value, params?: string | core.$ZodMapParams): ZodMap<Key, Value>;
548
- export interface ZodSet<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodSetInternals<T>>, core.$ZodSet<T> {
549
- "~standard": ZodStandardSchemaWithJSON<this>;
550
- min(minSize: number, params?: string | core.$ZodCheckMinSizeParams): this;
551
- nonempty(params?: string | core.$ZodCheckMinSizeParams): this;
552
- max(maxSize: number, params?: string | core.$ZodCheckMaxSizeParams): this;
553
- size(size: number, params?: string | core.$ZodCheckSizeEqualsParams): this;
554
- }
555
- export declare const ZodSet: core.$constructor<ZodSet>;
556
- export declare function set<Value extends core.SomeType>(valueType: Value, params?: string | core.$ZodSetParams): ZodSet<Value>;
557
- export interface ZodEnum<
558
- /** @ts-ignore Cast variance */
559
- out T extends util.EnumLike = util.EnumLike> extends _ZodType<core.$ZodEnumInternals<T>>, core.$ZodEnum<T> {
560
- "~standard": ZodStandardSchemaWithJSON<this>;
561
- enum: T;
562
- options: Array<T[keyof T]>;
563
- extract<const U extends readonly (keyof T)[]>(values: U, params?: string | core.$ZodEnumParams): ZodEnum<util.Flatten<Pick<T, U[number]>>>;
564
- exclude<const U extends readonly (keyof T)[]>(values: U, params?: string | core.$ZodEnumParams): ZodEnum<util.Flatten<Omit<T, U[number]>>>;
565
- }
566
- export declare const ZodEnum: core.$constructor<ZodEnum>;
567
- declare function _enum<const T extends readonly string[]>(values: T, params?: string | core.$ZodEnumParams): ZodEnum<util.ToEnum<T[number]>>;
568
- declare function _enum<const T extends util.EnumLike>(entries: T, params?: string | core.$ZodEnumParams): ZodEnum<T>;
569
- export { _enum as enum };
570
- /** @deprecated This API has been merged into `z.enum()`. Use `z.enum()` instead.
571
- *
572
- * ```ts
573
- * enum Colors { red, green, blue }
574
- * z.enum(Colors);
575
- * ```
576
- */
577
- export declare function nativeEnum<T extends util.EnumLike>(entries: T, params?: string | core.$ZodEnumParams): ZodEnum<T>;
578
- export interface ZodLiteral<T extends util.Literal = util.Literal> extends _ZodType<core.$ZodLiteralInternals<T>>, core.$ZodLiteral<T> {
579
- "~standard": ZodStandardSchemaWithJSON<this>;
580
- values: Set<T>;
581
- /** @legacy Use `.values` instead. Accessing this property will throw an error if the literal accepts multiple values. */
582
- value: T;
583
- }
584
- export declare const ZodLiteral: core.$constructor<ZodLiteral>;
585
- export declare function literal<const T extends ReadonlyArray<util.Literal>>(value: T, params?: string | core.$ZodLiteralParams): ZodLiteral<T[number]>;
586
- export declare function literal<const T extends util.Literal>(value: T, params?: string | core.$ZodLiteralParams): ZodLiteral<T>;
587
- export interface ZodFile extends _ZodType<core.$ZodFileInternals>, core.$ZodFile {
588
- "~standard": ZodStandardSchemaWithJSON<this>;
589
- min(size: number, params?: string | core.$ZodCheckMinSizeParams): this;
590
- max(size: number, params?: string | core.$ZodCheckMaxSizeParams): this;
591
- mime(types: util.MimeTypes | Array<util.MimeTypes>, params?: string | core.$ZodCheckMimeTypeParams): this;
592
- }
593
- export declare const ZodFile: core.$constructor<ZodFile>;
594
- export declare function file(params?: string | core.$ZodFileParams): ZodFile;
595
- export interface ZodTransform<O = unknown, I = unknown> extends _ZodType<core.$ZodTransformInternals<O, I>>, core.$ZodTransform<O, I> {
596
- "~standard": ZodStandardSchemaWithJSON<this>;
597
- }
598
- export declare const ZodTransform: core.$constructor<ZodTransform>;
599
- export declare function transform<I = unknown, O = I>(fn: (input: I, ctx: core.$RefinementCtx) => O): ZodTransform<Awaited<O>, I>;
600
- export interface ZodOptional<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodOptionalInternals<T>>, core.$ZodOptional<T> {
601
- "~standard": ZodStandardSchemaWithJSON<this>;
602
- unwrap(): T;
603
- }
604
- export declare const ZodOptional: core.$constructor<ZodOptional>;
605
- export declare function optional<T extends core.SomeType>(innerType: T): ZodOptional<T>;
606
- export interface ZodExactOptional<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodExactOptionalInternals<T>>, core.$ZodExactOptional<T> {
607
- "~standard": ZodStandardSchemaWithJSON<this>;
608
- unwrap(): T;
609
- }
610
- export declare const ZodExactOptional: core.$constructor<ZodExactOptional>;
611
- export declare function exactOptional<T extends core.SomeType>(innerType: T): ZodExactOptional<T>;
612
- export interface ZodNullable<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodNullableInternals<T>>, core.$ZodNullable<T> {
613
- "~standard": ZodStandardSchemaWithJSON<this>;
614
- unwrap(): T;
615
- }
616
- export declare const ZodNullable: core.$constructor<ZodNullable>;
617
- export declare function nullable<T extends core.SomeType>(innerType: T): ZodNullable<T>;
618
- export declare function nullish<T extends core.SomeType>(innerType: T): ZodOptional<ZodNullable<T>>;
619
- export interface ZodDefault<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodDefaultInternals<T>>, core.$ZodDefault<T> {
620
- "~standard": ZodStandardSchemaWithJSON<this>;
621
- unwrap(): T;
622
- /** @deprecated Use `.unwrap()` instead. */
623
- removeDefault(): T;
624
- }
625
- export declare const ZodDefault: core.$constructor<ZodDefault>;
626
- export declare function _default<T extends core.SomeType>(innerType: T, defaultValue: util.NoUndefined<core.output<T>> | (() => util.NoUndefined<core.output<T>>)): ZodDefault<T>;
627
- export interface ZodPrefault<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodPrefaultInternals<T>>, core.$ZodPrefault<T> {
628
- "~standard": ZodStandardSchemaWithJSON<this>;
629
- unwrap(): T;
630
- }
631
- export declare const ZodPrefault: core.$constructor<ZodPrefault>;
632
- export declare function prefault<T extends core.SomeType>(innerType: T, defaultValue: core.input<T> | (() => core.input<T>)): ZodPrefault<T>;
633
- export interface ZodNonOptional<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodNonOptionalInternals<T>>, core.$ZodNonOptional<T> {
634
- "~standard": ZodStandardSchemaWithJSON<this>;
635
- unwrap(): T;
636
- }
637
- export declare const ZodNonOptional: core.$constructor<ZodNonOptional>;
638
- export declare function nonoptional<T extends core.SomeType>(innerType: T, params?: string | core.$ZodNonOptionalParams): ZodNonOptional<T>;
639
- export interface ZodSuccess<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodSuccessInternals<T>>, core.$ZodSuccess<T> {
640
- "~standard": ZodStandardSchemaWithJSON<this>;
641
- unwrap(): T;
642
- }
643
- export declare const ZodSuccess: core.$constructor<ZodSuccess>;
644
- export declare function success<T extends core.SomeType>(innerType: T): ZodSuccess<T>;
645
- export interface ZodCatch<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodCatchInternals<T>>, core.$ZodCatch<T> {
646
- "~standard": ZodStandardSchemaWithJSON<this>;
647
- unwrap(): T;
648
- /** @deprecated Use `.unwrap()` instead. */
649
- removeCatch(): T;
650
- }
651
- export declare const ZodCatch: core.$constructor<ZodCatch>;
652
- declare function _catch<T extends core.SomeType>(innerType: T, catchValue: core.output<T> | ((ctx: core.$ZodCatchCtx) => core.output<T>)): ZodCatch<T>;
653
- export { _catch as catch };
654
- export interface ZodNaN extends _ZodType<core.$ZodNaNInternals>, core.$ZodNaN {
655
- "~standard": ZodStandardSchemaWithJSON<this>;
656
- }
657
- export declare const ZodNaN: core.$constructor<ZodNaN>;
658
- export declare function nan(params?: string | core.$ZodNaNParams): ZodNaN;
659
- export interface ZodPipe<A extends core.SomeType = core.$ZodType, B extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodPipeInternals<A, B>>, core.$ZodPipe<A, B> {
660
- "~standard": ZodStandardSchemaWithJSON<this>;
661
- in: A;
662
- out: B;
663
- }
664
- export declare const ZodPipe: core.$constructor<ZodPipe>;
665
- export declare function pipe<const A extends core.SomeType, B extends core.$ZodType<unknown, core.output<A>> = core.$ZodType<unknown, core.output<A>>>(in_: A, out: B | core.$ZodType<unknown, core.output<A>>): ZodPipe<A, B>;
666
- export interface ZodCodec<A extends core.SomeType = core.$ZodType, B extends core.SomeType = core.$ZodType> extends ZodPipe<A, B>, core.$ZodCodec<A, B> {
667
- "~standard": ZodStandardSchemaWithJSON<this>;
668
- _zod: core.$ZodCodecInternals<A, B>;
669
- def: core.$ZodCodecDef<A, B>;
670
- }
671
- export declare const ZodCodec: core.$constructor<ZodCodec>;
672
- export declare function codec<const A extends core.SomeType, B extends core.SomeType = core.$ZodType>(in_: A, out: B, params: {
673
- decode: (value: core.output<A>, payload: core.ParsePayload<core.output<A>>) => core.util.MaybeAsync<core.input<B>>;
674
- encode: (value: core.input<B>, payload: core.ParsePayload<core.input<B>>) => core.util.MaybeAsync<core.output<A>>;
675
- }): ZodCodec<A, B>;
676
- export declare function invertCodec<A extends core.SomeType, B extends core.SomeType>(codec: ZodCodec<A, B>): ZodCodec<B, A>;
677
- export interface ZodPreprocess<B extends core.SomeType = core.$ZodType> extends ZodPipe<core.$ZodTransform, B>, core.$ZodPreprocess<B> {
678
- "~standard": ZodStandardSchemaWithJSON<this>;
679
- _zod: core.$ZodPreprocessInternals<B>;
680
- def: core.$ZodPreprocessDef<B>;
681
- }
682
- export declare const ZodPreprocess: core.$constructor<ZodPreprocess>;
683
- export interface ZodReadonly<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodReadonlyInternals<T>>, core.$ZodReadonly<T> {
684
- "~standard": ZodStandardSchemaWithJSON<this>;
685
- unwrap(): T;
686
- }
687
- export declare const ZodReadonly: core.$constructor<ZodReadonly>;
688
- export declare function readonly<T extends core.SomeType>(innerType: T): ZodReadonly<T>;
689
- export interface ZodTemplateLiteral<Template extends string = string> extends _ZodType<core.$ZodTemplateLiteralInternals<Template>>, core.$ZodTemplateLiteral<Template> {
690
- "~standard": ZodStandardSchemaWithJSON<this>;
691
- }
692
- export declare const ZodTemplateLiteral: core.$constructor<ZodTemplateLiteral>;
693
- export declare function templateLiteral<const Parts extends core.$ZodTemplateLiteralPart[]>(parts: Parts, params?: string | core.$ZodTemplateLiteralParams): ZodTemplateLiteral<core.$PartsToTemplateLiteral<Parts>>;
694
- export interface ZodLazy<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodLazyInternals<T>>, core.$ZodLazy<T> {
695
- "~standard": ZodStandardSchemaWithJSON<this>;
696
- unwrap(): T;
697
- }
698
- export declare const ZodLazy: core.$constructor<ZodLazy>;
699
- export declare function lazy<T extends core.SomeType>(getter: () => T): ZodLazy<T>;
700
- export interface ZodPromise<T extends core.SomeType = core.$ZodType> extends _ZodType<core.$ZodPromiseInternals<T>>, core.$ZodPromise<T> {
701
- "~standard": ZodStandardSchemaWithJSON<this>;
702
- unwrap(): T;
703
- }
704
- export declare const ZodPromise: core.$constructor<ZodPromise>;
705
- export declare function promise<T extends core.SomeType>(innerType: T): ZodPromise<T>;
706
- export interface ZodFunction<Args extends core.$ZodFunctionIn = core.$ZodFunctionIn, Returns extends core.$ZodFunctionOut = core.$ZodFunctionOut> extends _ZodType<core.$ZodFunctionInternals<Args, Returns>>, core.$ZodFunction<Args, Returns> {
707
- "~standard": ZodStandardSchemaWithJSON<this>;
708
- _def: core.$ZodFunctionDef<Args, Returns>;
709
- _input: core.$InferInnerFunctionType<Args, Returns>;
710
- _output: core.$InferOuterFunctionType<Args, Returns>;
711
- input<const Items extends util.TupleItems, const Rest extends core.$ZodFunctionOut = core.$ZodFunctionOut>(args: Items, rest?: Rest): ZodFunction<core.$ZodTuple<Items, Rest>, Returns>;
712
- input<NewArgs extends core.$ZodFunctionIn>(args: NewArgs): ZodFunction<NewArgs, Returns>;
713
- input(...args: any[]): ZodFunction<any, Returns>;
714
- output<NewReturns extends core.$ZodType>(output: NewReturns): ZodFunction<Args, NewReturns>;
715
- }
716
- export declare const ZodFunction: core.$constructor<ZodFunction>;
717
- export declare function _function(): ZodFunction;
718
- export declare function _function<const In extends ReadonlyArray<core.$ZodType>>(params: {
719
- input: In;
720
- }): ZodFunction<ZodTuple<In, null>, core.$ZodFunctionOut>;
721
- export declare function _function<const In extends ReadonlyArray<core.$ZodType>, const Out extends core.$ZodFunctionOut = core.$ZodFunctionOut>(params: {
722
- input: In;
723
- output: Out;
724
- }): ZodFunction<ZodTuple<In, null>, Out>;
725
- export declare function _function<const In extends core.$ZodFunctionIn = core.$ZodFunctionIn>(params: {
726
- input: In;
727
- }): ZodFunction<In, core.$ZodFunctionOut>;
728
- export declare function _function<const Out extends core.$ZodFunctionOut = core.$ZodFunctionOut>(params: {
729
- output: Out;
730
- }): ZodFunction<core.$ZodFunctionIn, Out>;
731
- export declare function _function<In extends core.$ZodFunctionIn = core.$ZodFunctionIn, Out extends core.$ZodType = core.$ZodType>(params?: {
732
- input: In;
733
- output: Out;
734
- }): ZodFunction<In, Out>;
735
- export { _function as function };
736
- export interface ZodCustom<O = unknown, I = unknown> extends _ZodType<core.$ZodCustomInternals<O, I>>, core.$ZodCustom<O, I> {
737
- "~standard": ZodStandardSchemaWithJSON<this>;
738
- }
739
- export declare const ZodCustom: core.$constructor<ZodCustom>;
740
- export declare function check<O = unknown>(fn: core.CheckFn<O>): core.$ZodCheck<O>;
741
- export declare function custom<O>(fn?: (data: unknown) => unknown, _params?: string | core.$ZodCustomParams | undefined): ZodCustom<O, O>;
742
- export declare function refine<T>(fn: (arg: NoInfer<T>) => util.MaybeAsync<unknown>, _params?: string | core.$ZodCustomParams): core.$ZodCheck<T>;
743
- export declare function superRefine<T>(fn: (arg: T, payload: core.$RefinementCtx<T>) => void | Promise<void>, params?: core.$ZodSuperRefineParams): core.$ZodCheck<T>;
744
- export declare const describe: typeof core.describe;
745
- export declare const meta: typeof core.meta;
746
- type ZodInstanceOfParams = core.Params<ZodCustom, core.$ZodIssueCustom, "type" | "check" | "checks" | "fn" | "abort" | "error" | "params" | "path">;
747
- declare function _instanceof<T extends typeof util.Class>(cls: T, params?: ZodInstanceOfParams): ZodCustom<InstanceType<T>, InstanceType<T>>;
748
- export { _instanceof as instanceof };
749
- export declare const stringbool: (_params?: string | core.$ZodStringBoolParams) => ZodCodec<ZodString, ZodBoolean>;
750
- type _ZodJSONSchema = ZodUnion<[
751
- ZodString,
752
- ZodNumber,
753
- ZodBoolean,
754
- ZodNull,
755
- ZodArray<ZodJSONSchema>,
756
- ZodRecord<ZodString, ZodJSONSchema>
757
- ]>;
758
- type _ZodJSONSchemaInternals = _ZodJSONSchema["_zod"];
759
- export interface ZodJSONSchemaInternals extends _ZodJSONSchemaInternals {
760
- output: util.JSONType;
761
- input: util.JSONType;
762
- }
763
- export interface ZodJSONSchema extends _ZodJSONSchema {
764
- _zod: ZodJSONSchemaInternals;
765
- }
766
- export declare function json(params?: string | core.$ZodCustomParams): ZodJSONSchema;
767
- export declare function preprocess<A, U extends core.SomeType, B = unknown>(fn: (arg: B, ctx: core.$RefinementCtx) => A, schema: U): ZodPreprocess<U>;