mcp-use 2.0.0-beta.9 → 2.0.0

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