mcp-use 2.0.0-beta.2 → 2.0.0-beta.21

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 (1081) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/bin/args.d.ts +10 -0
  3. package/dist/bin/args.d.ts.map +1 -1
  4. package/dist/bin/main.d.ts +8 -0
  5. package/dist/bin/main.d.ts.map +1 -1
  6. package/dist/bin/start.d.ts.map +1 -1
  7. package/dist/bin.js +22 -6
  8. package/dist/bin.js.map +1 -1
  9. package/dist/branding.d.ts +82 -0
  10. package/dist/branding.d.ts.map +1 -0
  11. package/dist/chunk-22Y3WIJP.js +62 -0
  12. package/dist/chunk-22Y3WIJP.js.map +1 -0
  13. package/dist/chunk-EAPJUSK7.js +98 -0
  14. package/dist/chunk-EAPJUSK7.js.map +1 -0
  15. package/dist/chunk-FC2Z2VFO.js +99 -0
  16. package/dist/chunk-FC2Z2VFO.js.map +1 -0
  17. package/dist/{public-route-7IK5D7V7.js → chunk-G62AMJHS.js} +17 -12
  18. package/dist/chunk-G62AMJHS.js.map +1 -0
  19. package/dist/{chunk-UDLRVMML.js → chunk-IGVT7UV6.js} +94 -23
  20. package/dist/chunk-IGVT7UV6.js.map +1 -0
  21. package/dist/chunk-KIZ72TIK.js +38 -0
  22. package/dist/chunk-KIZ72TIK.js.map +1 -0
  23. package/dist/{chunk-Q4PUTBMV.js → chunk-QBAJXPRQ.js} +21 -1
  24. package/dist/chunk-QBAJXPRQ.js.map +1 -0
  25. package/dist/{chunk-SFI2T6TE.js → chunk-QUUANIE4.js} +34 -80
  26. package/dist/chunk-QUUANIE4.js.map +1 -0
  27. package/dist/{chunk-RQRT27Q3.js → chunk-RHITI5QM.js} +190 -16
  28. package/dist/chunk-RHITI5QM.js.map +1 -0
  29. package/dist/chunk-Z326HADF.js +82 -0
  30. package/dist/chunk-Z326HADF.js.map +1 -0
  31. package/dist/chunk-ZJJD33SF.js +741 -0
  32. package/dist/chunk-ZJJD33SF.js.map +1 -0
  33. package/dist/cli/build.d.ts +21 -15
  34. package/dist/cli/build.d.ts.map +1 -1
  35. package/dist/cli/dev.d.ts +4 -0
  36. package/dist/cli/dev.d.ts.map +1 -1
  37. package/dist/cli/entry.d.ts +1 -1
  38. package/dist/cli/entry.d.ts.map +1 -1
  39. package/dist/cli/mcp-env-declaration.d.ts +20 -0
  40. package/dist/cli/mcp-env-declaration.d.ts.map +1 -0
  41. package/dist/cli/next-compat.d.ts +21 -0
  42. package/dist/cli/next-compat.d.ts.map +1 -0
  43. package/dist/cli/next-server-shims.d.ts +52 -0
  44. package/dist/cli/next-server-shims.d.ts.map +1 -0
  45. package/dist/cli/port.d.ts.map +1 -1
  46. package/dist/cli/tunnel.d.ts.map +1 -1
  47. package/dist/cli/views-bindings.d.ts +9 -0
  48. package/dist/cli/views-bindings.d.ts.map +1 -1
  49. package/dist/cli/views-plugin.d.ts.map +1 -1
  50. package/dist/cli/views.d.ts +23 -8
  51. package/dist/cli/views.d.ts.map +1 -1
  52. package/dist/cli/workspace.d.ts +4 -9
  53. package/dist/cli/workspace.d.ts.map +1 -1
  54. package/dist/commands/build.js +171 -34
  55. package/dist/commands/build.js.map +1 -1
  56. package/dist/commands/client.d.ts.map +1 -1
  57. package/dist/commands/client.js +1 -1
  58. package/dist/commands/dev.js +145 -40
  59. package/dist/commands/dev.js.map +1 -1
  60. package/dist/commands/load-client.d.ts +9 -2
  61. package/dist/commands/load-client.d.ts.map +1 -1
  62. package/dist/commands/screenshot.js +1 -1
  63. package/dist/commands/start.js +5 -1
  64. package/dist/commands/start.js.map +1 -1
  65. package/dist/completable.d.ts +9 -0
  66. package/dist/completable.d.ts.map +1 -1
  67. package/dist/config.d.ts +125 -4
  68. package/dist/config.d.ts.map +1 -1
  69. package/dist/fetch-app.d.ts +43 -0
  70. package/dist/fetch-app.d.ts.map +1 -1
  71. package/dist/index.d.ts +20 -5
  72. package/dist/index.d.ts.map +1 -1
  73. package/dist/index.js +1318 -251
  74. package/dist/index.js.map +1 -1
  75. package/dist/inspector-shell.d.ts +19 -6
  76. package/dist/inspector-shell.d.ts.map +1 -1
  77. package/dist/internal/resource-completion.js +7 -0
  78. package/dist/internal/resource-completion.js.map +1 -0
  79. package/dist/landing-handler-WE66NIGB.js +37 -0
  80. package/dist/landing-handler-WE66NIGB.js.map +1 -0
  81. package/dist/landing-handler.d.ts +24 -0
  82. package/dist/landing-handler.d.ts.map +1 -0
  83. package/dist/landing.d.ts +67 -0
  84. package/dist/landing.d.ts.map +1 -0
  85. package/dist/landing.js +7 -0
  86. package/dist/landing.js.map +1 -0
  87. package/dist/mcp-proxy-5YQJJ4RT.js +282 -0
  88. package/dist/mcp-proxy-5YQJJ4RT.js.map +1 -0
  89. package/dist/mcp-proxy.d.ts +153 -0
  90. package/dist/mcp-proxy.d.ts.map +1 -0
  91. package/dist/middleware/cors.d.ts +11 -0
  92. package/dist/middleware/cors.d.ts.map +1 -0
  93. package/dist/middleware/mcp-middleware.d.ts +179 -0
  94. package/dist/middleware/mcp-middleware.d.ts.map +1 -0
  95. package/dist/mount-mcp.d.ts +0 -4
  96. package/dist/mount-mcp.d.ts.map +1 -1
  97. package/dist/next/config.d.ts +39 -0
  98. package/dist/next/config.d.ts.map +1 -0
  99. package/dist/next/handler.d.ts +17 -0
  100. package/dist/next/handler.d.ts.map +1 -0
  101. package/dist/next/index.d.ts +5 -0
  102. package/dist/next/index.d.ts.map +1 -0
  103. package/dist/next/index.js +172 -0
  104. package/dist/next/index.js.map +1 -0
  105. package/dist/next-server-shims.js +108 -0
  106. package/dist/next-server-shims.js.map +1 -0
  107. package/dist/oauth/better-auth.d.ts +29 -0
  108. package/dist/oauth/better-auth.d.ts.map +1 -0
  109. package/dist/oauth/better-auth.js +76 -0
  110. package/dist/oauth/better-auth.js.map +1 -0
  111. package/dist/oauth/index.js +2 -1
  112. package/dist/public-route-RWJVJQTX.js +9 -0
  113. package/dist/public-route-RWJVJQTX.js.map +1 -0
  114. package/dist/react/components/theme-provider.d.ts +3 -0
  115. package/dist/react/components/theme-provider.d.ts.map +1 -1
  116. package/dist/react/hooks/use-files.d.ts +25 -0
  117. package/dist/react/hooks/use-files.d.ts.map +1 -0
  118. package/dist/react/hooks/use-host-context.d.ts +5 -0
  119. package/dist/react/hooks/use-host-context.d.ts.map +1 -1
  120. package/dist/react/index.d.ts +2 -0
  121. package/dist/react/index.d.ts.map +1 -1
  122. package/dist/react/index.js +124 -3
  123. package/dist/react/index.js.map +1 -1
  124. package/dist/react/runtime/view-runtime.d.ts +23 -0
  125. package/dist/react/runtime/view-runtime.d.ts.map +1 -1
  126. package/dist/react/types/file-types.d.ts +16 -0
  127. package/dist/react/types/file-types.d.ts.map +1 -0
  128. package/dist/react/types/register.d.ts +1 -1
  129. package/dist/react/types/register.d.ts.map +1 -1
  130. package/dist/resource-completion.d.ts +12 -0
  131. package/dist/resource-completion.d.ts.map +1 -0
  132. package/dist/resources.d.ts +59 -4
  133. package/dist/resources.d.ts.map +1 -1
  134. package/dist/server.d.ts +120 -7
  135. package/dist/server.d.ts.map +1 -1
  136. package/dist/tools.d.ts +21 -10
  137. package/dist/tools.d.ts.map +1 -1
  138. package/dist/views/constants.d.ts +1 -1
  139. package/dist/views/csp-env.d.ts +37 -0
  140. package/dist/views/csp-env.d.ts.map +1 -0
  141. package/dist/views/document.d.ts +30 -13
  142. package/dist/views/document.d.ts.map +1 -1
  143. package/dist/views/index.d.ts +4 -3
  144. package/dist/views/index.d.ts.map +1 -1
  145. package/dist/views/origin.d.ts +37 -9
  146. package/dist/views/origin.d.ts.map +1 -1
  147. package/dist/views/public-route.d.ts +10 -4
  148. package/dist/views/public-route.d.ts.map +1 -1
  149. package/dist/views/register.d.ts +1 -1
  150. package/dist/views/routes.d.ts +20 -1
  151. package/dist/views/routes.d.ts.map +1 -1
  152. package/dist/views/types.d.ts +23 -14
  153. package/dist/views/types.d.ts.map +1 -1
  154. package/dist/views/wire.d.ts +26 -36
  155. package/dist/views/wire.d.ts.map +1 -1
  156. package/node_modules/@modelcontextprotocol/client/LICENSE +216 -0
  157. package/node_modules/@modelcontextprotocol/client/README.md +26 -0
  158. package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-Asx17_Co.mjs +7069 -0
  159. package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-Asx17_Co.mjs.map +1 -0
  160. package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-B7GnTXYx.d.mts +1054 -0
  161. package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-B7GnTXYx.d.mts.map +1 -0
  162. package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-B_4czhCS.d.cts +1054 -0
  163. package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-B_4czhCS.d.cts.map +1 -0
  164. package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-DNzBrkxq.cjs +7086 -0
  165. package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-DNzBrkxq.cjs.map +1 -0
  166. package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-D9GAttn8.d.cts +59 -0
  167. package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-D9GAttn8.d.cts.map +1 -0
  168. package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-DbU8BxXO.mjs +970 -0
  169. package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-DbU8BxXO.mjs.map +1 -0
  170. package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-Djgwc46-.cjs +976 -0
  171. package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-Djgwc46-.cjs.map +1 -0
  172. package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-Xtj52JOa.d.mts +59 -0
  173. package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-Xtj52JOa.d.mts.map +1 -0
  174. package/node_modules/@modelcontextprotocol/client/dist/chunk-Bnu9O96Y.cjs +60 -0
  175. package/node_modules/@modelcontextprotocol/client/dist/chunk-Br0eD_fh.mjs +42 -0
  176. package/node_modules/@modelcontextprotocol/client/dist/index-ZagFkUbt.d.mts +2675 -0
  177. package/node_modules/@modelcontextprotocol/client/dist/index-ZagFkUbt.d.mts.map +1 -0
  178. package/node_modules/@modelcontextprotocol/client/dist/index-gN3EXmil.d.cts +2678 -0
  179. package/node_modules/@modelcontextprotocol/client/dist/index-gN3EXmil.d.cts.map +1 -0
  180. package/node_modules/@modelcontextprotocol/client/dist/index.cjs +5427 -0
  181. package/node_modules/@modelcontextprotocol/client/dist/index.cjs.map +1 -0
  182. package/node_modules/@modelcontextprotocol/client/dist/index.d.cts +3196 -0
  183. package/node_modules/@modelcontextprotocol/client/dist/index.d.cts.map +1 -0
  184. package/node_modules/@modelcontextprotocol/client/dist/index.d.mts +3196 -0
  185. package/node_modules/@modelcontextprotocol/client/dist/index.d.mts.map +1 -0
  186. package/node_modules/@modelcontextprotocol/client/dist/index.mjs +5224 -0
  187. package/node_modules/@modelcontextprotocol/client/dist/index.mjs.map +1 -0
  188. package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.cjs +14 -0
  189. package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.cjs.map +1 -0
  190. package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.d.cts +13 -0
  191. package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.d.cts.map +1 -0
  192. package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.d.mts +13 -0
  193. package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.d.mts.map +1 -0
  194. package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.mjs +13 -0
  195. package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.mjs.map +1 -0
  196. package/node_modules/@modelcontextprotocol/client/dist/shimsNode.cjs +14 -0
  197. package/node_modules/@modelcontextprotocol/client/dist/shimsNode.cjs.map +1 -0
  198. package/node_modules/@modelcontextprotocol/client/dist/shimsNode.d.cts +13 -0
  199. package/node_modules/@modelcontextprotocol/client/dist/shimsNode.d.cts.map +1 -0
  200. package/node_modules/@modelcontextprotocol/client/dist/shimsNode.d.mts +13 -0
  201. package/node_modules/@modelcontextprotocol/client/dist/shimsNode.d.mts.map +1 -0
  202. package/node_modules/@modelcontextprotocol/client/dist/shimsNode.mjs +13 -0
  203. package/node_modules/@modelcontextprotocol/client/dist/shimsNode.mjs.map +1 -0
  204. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.cjs +21 -0
  205. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.cjs.map +1 -0
  206. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.d.cts +13 -0
  207. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.d.cts.map +1 -0
  208. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.d.mts +13 -0
  209. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.d.mts.map +1 -0
  210. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.mjs +20 -0
  211. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.mjs.map +1 -0
  212. package/node_modules/@modelcontextprotocol/client/dist/src-BzzZSQyL.cjs +7331 -0
  213. package/node_modules/@modelcontextprotocol/client/dist/src-BzzZSQyL.cjs.map +1 -0
  214. package/node_modules/@modelcontextprotocol/client/dist/src-DGeA9On3.mjs +6963 -0
  215. package/node_modules/@modelcontextprotocol/client/dist/src-DGeA9On3.mjs.map +1 -0
  216. package/node_modules/@modelcontextprotocol/client/dist/stdio.cjs +181 -0
  217. package/node_modules/@modelcontextprotocol/client/dist/stdio.cjs.map +1 -0
  218. package/node_modules/@modelcontextprotocol/client/dist/stdio.d.cts +87 -0
  219. package/node_modules/@modelcontextprotocol/client/dist/stdio.d.cts.map +1 -0
  220. package/node_modules/@modelcontextprotocol/client/dist/stdio.d.mts +87 -0
  221. package/node_modules/@modelcontextprotocol/client/dist/stdio.d.mts.map +1 -0
  222. package/node_modules/@modelcontextprotocol/client/dist/stdio.mjs +176 -0
  223. package/node_modules/@modelcontextprotocol/client/dist/stdio.mjs.map +1 -0
  224. package/node_modules/@modelcontextprotocol/client/dist/types-BDNQEPSs.d.mts +1099 -0
  225. package/node_modules/@modelcontextprotocol/client/dist/types-BDNQEPSs.d.mts.map +1 -0
  226. package/node_modules/@modelcontextprotocol/client/dist/types-DsbMXNFL.d.cts +1099 -0
  227. package/node_modules/@modelcontextprotocol/client/dist/types-DsbMXNFL.d.cts.map +1 -0
  228. package/node_modules/@modelcontextprotocol/client/dist/validators/ajv.cjs +5 -0
  229. package/node_modules/@modelcontextprotocol/client/dist/validators/ajv.d.cts +2 -0
  230. package/node_modules/@modelcontextprotocol/client/dist/validators/ajv.d.mts +2 -0
  231. package/node_modules/@modelcontextprotocol/client/dist/validators/ajv.mjs +3 -0
  232. package/node_modules/@modelcontextprotocol/client/dist/validators/cfWorker.cjs +3 -0
  233. package/node_modules/@modelcontextprotocol/client/dist/validators/cfWorker.d.cts +2 -0
  234. package/node_modules/@modelcontextprotocol/client/dist/validators/cfWorker.d.mts +2 -0
  235. package/node_modules/@modelcontextprotocol/client/dist/validators/cfWorker.mjs +3 -0
  236. package/node_modules/@modelcontextprotocol/client/package.json +166 -0
  237. package/node_modules/@modelcontextprotocol/core/LICENSE +216 -0
  238. package/node_modules/@modelcontextprotocol/core/README.md +40 -0
  239. package/node_modules/@modelcontextprotocol/core/dist/auth-BUWfrB3C.d.cts +8198 -0
  240. package/node_modules/@modelcontextprotocol/core/dist/auth-BUWfrB3C.d.cts.map +1 -0
  241. package/node_modules/@modelcontextprotocol/core/dist/auth-CEFpHq32.cjs +2862 -0
  242. package/node_modules/@modelcontextprotocol/core/dist/auth-CEFpHq32.cjs.map +1 -0
  243. package/node_modules/@modelcontextprotocol/core/dist/auth-CNbu4K4a.d.mts +8198 -0
  244. package/node_modules/@modelcontextprotocol/core/dist/auth-CNbu4K4a.d.mts.map +1 -0
  245. package/node_modules/@modelcontextprotocol/core/dist/auth-DFgbUATV.mjs +1653 -0
  246. package/node_modules/@modelcontextprotocol/core/dist/auth-DFgbUATV.mjs.map +1 -0
  247. package/node_modules/@modelcontextprotocol/core/dist/index.cjs +174 -0
  248. package/node_modules/@modelcontextprotocol/core/dist/index.d.cts +2 -0
  249. package/node_modules/@modelcontextprotocol/core/dist/index.d.mts +2 -0
  250. package/node_modules/@modelcontextprotocol/core/dist/index.mjs +3 -0
  251. package/node_modules/@modelcontextprotocol/core/dist/internal.cjs +199 -0
  252. package/node_modules/@modelcontextprotocol/core/dist/internal.d.cts +87 -0
  253. package/node_modules/@modelcontextprotocol/core/dist/internal.d.cts.map +1 -0
  254. package/node_modules/@modelcontextprotocol/core/dist/internal.d.mts +87 -0
  255. package/node_modules/@modelcontextprotocol/core/dist/internal.d.mts.map +1 -0
  256. package/node_modules/@modelcontextprotocol/core/dist/internal.mjs +3 -0
  257. package/node_modules/@modelcontextprotocol/core/package.json +85 -0
  258. package/node_modules/jose/LICENSE.md +21 -0
  259. package/node_modules/jose/README.md +153 -0
  260. package/node_modules/jose/dist/types/index.d.ts +55 -0
  261. package/node_modules/jose/dist/types/jwe/compact/decrypt.d.ts +31 -0
  262. package/node_modules/jose/dist/types/jwe/compact/encrypt.d.ts +65 -0
  263. package/node_modules/jose/dist/types/jwe/flattened/decrypt.d.ts +31 -0
  264. package/node_modules/jose/dist/types/jwe/flattened/encrypt.d.ts +83 -0
  265. package/node_modules/jose/dist/types/jwe/general/decrypt.d.ts +31 -0
  266. package/node_modules/jose/dist/types/jwe/general/encrypt.d.ts +74 -0
  267. package/node_modules/jose/dist/types/jwk/embedded.d.ts +17 -0
  268. package/node_modules/jose/dist/types/jwk/thumbprint.d.ts +32 -0
  269. package/node_modules/jose/dist/types/jwks/local.d.ts +29 -0
  270. package/node_modules/jose/dist/types/jwks/remote.d.ts +237 -0
  271. package/node_modules/jose/dist/types/jws/compact/sign.d.ts +36 -0
  272. package/node_modules/jose/dist/types/jws/compact/verify.d.ts +33 -0
  273. package/node_modules/jose/dist/types/jws/flattened/sign.d.ts +42 -0
  274. package/node_modules/jose/dist/types/jws/flattened/verify.d.ts +33 -0
  275. package/node_modules/jose/dist/types/jws/general/sign.d.ts +53 -0
  276. package/node_modules/jose/dist/types/jws/general/verify.d.ts +33 -0
  277. package/node_modules/jose/dist/types/jwt/decrypt.d.ts +35 -0
  278. package/node_modules/jose/dist/types/jwt/encrypt.d.ts +91 -0
  279. package/node_modules/jose/dist/types/jwt/sign.d.ts +43 -0
  280. package/node_modules/jose/dist/types/jwt/unsecured.d.ts +43 -0
  281. package/node_modules/jose/dist/types/jwt/verify.d.ts +37 -0
  282. package/node_modules/jose/dist/types/key/export.d.ts +33 -0
  283. package/node_modules/jose/dist/types/key/generate_key_pair.d.ts +47 -0
  284. package/node_modules/jose/dist/types/key/generate_secret.d.ts +35 -0
  285. package/node_modules/jose/dist/types/key/import.d.ts +83 -0
  286. package/node_modules/jose/dist/types/types.d.ts +841 -0
  287. package/node_modules/jose/dist/types/util/base64url.d.ts +9 -0
  288. package/node_modules/jose/dist/types/util/decode_jwt.d.ts +18 -0
  289. package/node_modules/jose/dist/types/util/decode_protected_header.d.ts +17 -0
  290. package/node_modules/jose/dist/types/util/errors.d.ts +213 -0
  291. package/node_modules/jose/dist/webapi/index.js +32 -0
  292. package/node_modules/jose/dist/webapi/jwe/compact/decrypt.js +27 -0
  293. package/node_modules/jose/dist/webapi/jwe/compact/encrypt.js +27 -0
  294. package/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js +165 -0
  295. package/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js +169 -0
  296. package/node_modules/jose/dist/webapi/jwe/general/decrypt.js +31 -0
  297. package/node_modules/jose/dist/webapi/jwe/general/encrypt.js +187 -0
  298. package/node_modules/jose/dist/webapi/jwk/embedded.js +17 -0
  299. package/node_modules/jose/dist/webapi/jwk/thumbprint.js +68 -0
  300. package/node_modules/jose/dist/webapi/jwks/local.js +119 -0
  301. package/node_modules/jose/dist/webapi/jwks/remote.js +179 -0
  302. package/node_modules/jose/dist/webapi/jws/compact/sign.js +18 -0
  303. package/node_modules/jose/dist/webapi/jws/compact/verify.js +21 -0
  304. package/node_modules/jose/dist/webapi/jws/flattened/sign.js +92 -0
  305. package/node_modules/jose/dist/webapi/jws/flattened/verify.js +120 -0
  306. package/node_modules/jose/dist/webapi/jws/general/sign.js +73 -0
  307. package/node_modules/jose/dist/webapi/jws/general/verify.js +24 -0
  308. package/node_modules/jose/dist/webapi/jwt/decrypt.js +23 -0
  309. package/node_modules/jose/dist/webapi/jwt/encrypt.js +108 -0
  310. package/node_modules/jose/dist/webapi/jwt/sign.js +52 -0
  311. package/node_modules/jose/dist/webapi/jwt/unsecured.js +63 -0
  312. package/node_modules/jose/dist/webapi/jwt/verify.js +15 -0
  313. package/node_modules/jose/dist/webapi/key/export.js +11 -0
  314. package/node_modules/jose/dist/webapi/key/generate_key_pair.js +97 -0
  315. package/node_modules/jose/dist/webapi/key/generate_secret.js +40 -0
  316. package/node_modules/jose/dist/webapi/key/import.js +57 -0
  317. package/node_modules/jose/dist/webapi/lib/aesgcmkw.js +16 -0
  318. package/node_modules/jose/dist/webapi/lib/aeskw.js +25 -0
  319. package/node_modules/jose/dist/webapi/lib/asn1.js +243 -0
  320. package/node_modules/jose/dist/webapi/lib/base64.js +22 -0
  321. package/node_modules/jose/dist/webapi/lib/buffer_utils.js +43 -0
  322. package/node_modules/jose/dist/webapi/lib/cek.js +19 -0
  323. package/node_modules/jose/dist/webapi/lib/check_cek_length.js +7 -0
  324. package/node_modules/jose/dist/webapi/lib/check_iv_length.js +7 -0
  325. package/node_modules/jose/dist/webapi/lib/check_key_length.js +8 -0
  326. package/node_modules/jose/dist/webapi/lib/check_key_type.js +122 -0
  327. package/node_modules/jose/dist/webapi/lib/crypto_key.js +143 -0
  328. package/node_modules/jose/dist/webapi/lib/decrypt.js +106 -0
  329. package/node_modules/jose/dist/webapi/lib/decrypt_key_management.js +127 -0
  330. package/node_modules/jose/dist/webapi/lib/digest.js +4 -0
  331. package/node_modules/jose/dist/webapi/lib/ecdhes.js +52 -0
  332. package/node_modules/jose/dist/webapi/lib/encrypt.js +74 -0
  333. package/node_modules/jose/dist/webapi/lib/encrypt_key_management.js +92 -0
  334. package/node_modules/jose/dist/webapi/lib/get_sign_verify_key.js +12 -0
  335. package/node_modules/jose/dist/webapi/lib/invalid_key_input.js +27 -0
  336. package/node_modules/jose/dist/webapi/lib/is_disjoint.js +21 -0
  337. package/node_modules/jose/dist/webapi/lib/is_jwk.js +6 -0
  338. package/node_modules/jose/dist/webapi/lib/is_key_like.js +17 -0
  339. package/node_modules/jose/dist/webapi/lib/is_object.js +14 -0
  340. package/node_modules/jose/dist/webapi/lib/iv.js +19 -0
  341. package/node_modules/jose/dist/webapi/lib/jwk_to_key.js +109 -0
  342. package/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +238 -0
  343. package/node_modules/jose/dist/webapi/lib/key_to_jwk.js +31 -0
  344. package/node_modules/jose/dist/webapi/lib/normalize_key.js +176 -0
  345. package/node_modules/jose/dist/webapi/lib/pbes2kw.js +39 -0
  346. package/node_modules/jose/dist/webapi/lib/private_symbols.js +1 -0
  347. package/node_modules/jose/dist/webapi/lib/rsaes.js +24 -0
  348. package/node_modules/jose/dist/webapi/lib/sign.js +9 -0
  349. package/node_modules/jose/dist/webapi/lib/subtle_dsa.js +31 -0
  350. package/node_modules/jose/dist/webapi/lib/validate_algorithms.js +10 -0
  351. package/node_modules/jose/dist/webapi/lib/validate_crit.js +33 -0
  352. package/node_modules/jose/dist/webapi/lib/verify.js +14 -0
  353. package/node_modules/jose/dist/webapi/util/base64url.js +30 -0
  354. package/node_modules/jose/dist/webapi/util/decode_jwt.js +32 -0
  355. package/node_modules/jose/dist/webapi/util/decode_protected_header.js +34 -0
  356. package/node_modules/jose/dist/webapi/util/errors.js +99 -0
  357. package/node_modules/jose/package.json +200 -0
  358. package/node_modules/zod/LICENSE +21 -0
  359. package/node_modules/zod/README.md +191 -0
  360. package/node_modules/zod/index.cjs +33 -0
  361. package/node_modules/zod/index.d.cts +4 -0
  362. package/node_modules/zod/index.d.ts +4 -0
  363. package/node_modules/zod/index.js +4 -0
  364. package/node_modules/zod/locales/index.cjs +17 -0
  365. package/node_modules/zod/locales/index.d.cts +1 -0
  366. package/node_modules/zod/locales/index.d.ts +1 -0
  367. package/node_modules/zod/locales/index.js +1 -0
  368. package/node_modules/zod/locales/package.json +7 -0
  369. package/node_modules/zod/mini/index.cjs +32 -0
  370. package/node_modules/zod/mini/index.d.cts +3 -0
  371. package/node_modules/zod/mini/index.d.ts +3 -0
  372. package/node_modules/zod/mini/index.js +3 -0
  373. package/node_modules/zod/mini/package.json +7 -0
  374. package/node_modules/zod/package.json +135 -0
  375. package/node_modules/zod/src/index.ts +4 -0
  376. package/node_modules/zod/src/locales/index.ts +1 -0
  377. package/node_modules/zod/src/mini/index.ts +3 -0
  378. package/node_modules/zod/src/v3/ZodError.ts +330 -0
  379. package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
  380. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
  381. package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
  382. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
  383. package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
  384. package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
  385. package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
  386. package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
  387. package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
  388. package/node_modules/zod/src/v3/errors.ts +13 -0
  389. package/node_modules/zod/src/v3/external.ts +6 -0
  390. package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
  391. package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
  392. package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
  393. package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
  394. package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
  395. package/node_modules/zod/src/v3/helpers/util.ts +224 -0
  396. package/node_modules/zod/src/v3/index.ts +4 -0
  397. package/node_modules/zod/src/v3/locales/en.ts +124 -0
  398. package/node_modules/zod/src/v3/standard-schema.ts +113 -0
  399. package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
  400. package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
  401. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
  402. package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
  403. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
  404. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
  405. package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
  406. package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
  407. package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
  408. package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
  409. package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
  410. package/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
  411. package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
  412. package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
  413. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
  414. package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
  415. package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
  416. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
  417. package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
  418. package/node_modules/zod/src/v3/tests/error.test.ts +551 -0
  419. package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
  420. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
  421. package/node_modules/zod/src/v3/tests/function.test.ts +261 -0
  422. package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
  423. package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
  424. package/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
  425. package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
  426. package/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
  427. package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
  428. package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
  429. package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
  430. package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
  431. package/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
  432. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
  433. package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
  434. package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
  435. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
  436. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
  437. package/node_modules/zod/src/v3/tests/object.test.ts +434 -0
  438. package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
  439. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
  440. package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
  441. package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
  442. package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
  443. package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
  444. package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
  445. package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
  446. package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
  447. package/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
  448. package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
  449. package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
  450. package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
  451. package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
  452. package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
  453. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
  454. package/node_modules/zod/src/v3/tests/string.test.ts +916 -0
  455. package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
  456. package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
  457. package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
  458. package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
  459. package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
  460. package/node_modules/zod/src/v3/types.ts +5138 -0
  461. package/node_modules/zod/src/v4/classic/checks.ts +32 -0
  462. package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
  463. package/node_modules/zod/src/v4/classic/compat.ts +70 -0
  464. package/node_modules/zod/src/v4/classic/errors.ts +82 -0
  465. package/node_modules/zod/src/v4/classic/external.ts +52 -0
  466. package/node_modules/zod/src/v4/classic/from-json-schema.ts +659 -0
  467. package/node_modules/zod/src/v4/classic/index.ts +5 -0
  468. package/node_modules/zod/src/v4/classic/iso.ts +90 -0
  469. package/node_modules/zod/src/v4/classic/parse.ts +82 -0
  470. package/node_modules/zod/src/v4/classic/schemas.ts +2672 -0
  471. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
  472. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +59 -0
  473. package/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
  474. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +216 -0
  475. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
  476. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
  477. package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
  478. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
  479. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
  480. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +326 -0
  481. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
  482. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +573 -0
  483. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +703 -0
  484. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
  485. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
  486. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
  487. package/node_modules/zod/src/v4/classic/tests/date.test.ts +62 -0
  488. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +302 -0
  489. package/node_modules/zod/src/v4/classic/tests/default.test.ts +409 -0
  490. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
  491. package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
  492. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +197 -0
  493. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +694 -0
  494. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
  495. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +807 -0
  496. package/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
  497. package/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
  498. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
  499. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
  500. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +895 -0
  501. package/node_modules/zod/src/v4/classic/tests/function.test.ts +360 -0
  502. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
  503. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +39 -0
  504. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +68 -0
  505. package/node_modules/zod/src/v4/classic/tests/index.test.ts +939 -0
  506. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +60 -0
  507. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +198 -0
  508. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +46 -0
  509. package/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
  510. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
  511. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +117 -0
  512. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
  513. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
  514. package/node_modules/zod/src/v4/classic/tests/map.test.ts +330 -0
  515. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
  516. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
  517. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
  518. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
  519. package/node_modules/zod/src/v4/classic/tests/number.test.ts +325 -0
  520. package/node_modules/zod/src/v4/classic/tests/object.test.ts +717 -0
  521. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +333 -0
  522. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +450 -0
  523. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
  524. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
  525. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +74 -0
  526. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +26 -0
  527. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
  528. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
  529. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
  530. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
  531. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
  532. package/node_modules/zod/src/v4/classic/tests/record.test.ts +717 -0
  533. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +631 -0
  534. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +633 -0
  535. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
  536. package/node_modules/zod/src/v4/classic/tests/set.test.ts +181 -0
  537. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -0
  538. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
  539. package/node_modules/zod/src/v4/classic/tests/string.test.ts +1224 -0
  540. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +106 -0
  541. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +771 -0
  542. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
  543. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +3125 -0
  544. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
  545. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +496 -0
  546. package/node_modules/zod/src/v4/classic/tests/union.test.ts +273 -0
  547. package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
  548. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
  549. package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
  550. package/node_modules/zod/src/v4/core/api.ts +1823 -0
  551. package/node_modules/zod/src/v4/core/checks.ts +1293 -0
  552. package/node_modules/zod/src/v4/core/config.ts +15 -0
  553. package/node_modules/zod/src/v4/core/core.ts +153 -0
  554. package/node_modules/zod/src/v4/core/doc.ts +44 -0
  555. package/node_modules/zod/src/v4/core/errors.ts +455 -0
  556. package/node_modules/zod/src/v4/core/index.ts +16 -0
  557. package/node_modules/zod/src/v4/core/json-schema-generator.ts +126 -0
  558. package/node_modules/zod/src/v4/core/json-schema-processors.ts +666 -0
  559. package/node_modules/zod/src/v4/core/json-schema.ts +147 -0
  560. package/node_modules/zod/src/v4/core/parse.ts +195 -0
  561. package/node_modules/zod/src/v4/core/regexes.ts +190 -0
  562. package/node_modules/zod/src/v4/core/registries.ts +105 -0
  563. package/node_modules/zod/src/v4/core/schemas.ts +4730 -0
  564. package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
  565. package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
  566. package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
  567. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
  568. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +215 -0
  569. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
  570. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +181 -0
  571. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
  572. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
  573. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
  574. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
  575. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
  576. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
  577. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
  578. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
  579. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
  580. package/node_modules/zod/src/v4/core/to-json-schema.ts +622 -0
  581. package/node_modules/zod/src/v4/core/util.ts +983 -0
  582. package/node_modules/zod/src/v4/core/versions.ts +5 -0
  583. package/node_modules/zod/src/v4/core/zsf.ts +323 -0
  584. package/node_modules/zod/src/v4/index.ts +4 -0
  585. package/node_modules/zod/src/v4/locales/ar.ts +115 -0
  586. package/node_modules/zod/src/v4/locales/az.ts +111 -0
  587. package/node_modules/zod/src/v4/locales/be.ts +176 -0
  588. package/node_modules/zod/src/v4/locales/bg.ts +128 -0
  589. package/node_modules/zod/src/v4/locales/ca.ts +116 -0
  590. package/node_modules/zod/src/v4/locales/cs.ts +118 -0
  591. package/node_modules/zod/src/v4/locales/da.ts +123 -0
  592. package/node_modules/zod/src/v4/locales/de.ts +116 -0
  593. package/node_modules/zod/src/v4/locales/el.ts +121 -0
  594. package/node_modules/zod/src/v4/locales/en.ts +123 -0
  595. package/node_modules/zod/src/v4/locales/eo.ts +118 -0
  596. package/node_modules/zod/src/v4/locales/es.ts +141 -0
  597. package/node_modules/zod/src/v4/locales/fa.ts +126 -0
  598. package/node_modules/zod/src/v4/locales/fi.ts +121 -0
  599. package/node_modules/zod/src/v4/locales/fr-CA.ts +116 -0
  600. package/node_modules/zod/src/v4/locales/fr.ts +132 -0
  601. package/node_modules/zod/src/v4/locales/he.ts +246 -0
  602. package/node_modules/zod/src/v4/locales/hr.ts +131 -0
  603. package/node_modules/zod/src/v4/locales/hu.ts +117 -0
  604. package/node_modules/zod/src/v4/locales/hy.ts +164 -0
  605. package/node_modules/zod/src/v4/locales/id.ts +115 -0
  606. package/node_modules/zod/src/v4/locales/index.ts +52 -0
  607. package/node_modules/zod/src/v4/locales/is.ts +119 -0
  608. package/node_modules/zod/src/v4/locales/it.ts +116 -0
  609. package/node_modules/zod/src/v4/locales/ja.ts +114 -0
  610. package/node_modules/zod/src/v4/locales/ka.ts +123 -0
  611. package/node_modules/zod/src/v4/locales/kh.ts +7 -0
  612. package/node_modules/zod/src/v4/locales/km.ts +119 -0
  613. package/node_modules/zod/src/v4/locales/ko.ts +121 -0
  614. package/node_modules/zod/src/v4/locales/lt.ts +239 -0
  615. package/node_modules/zod/src/v4/locales/mk.ts +118 -0
  616. package/node_modules/zod/src/v4/locales/ms.ts +115 -0
  617. package/node_modules/zod/src/v4/locales/nl.ts +121 -0
  618. package/node_modules/zod/src/v4/locales/no.ts +116 -0
  619. package/node_modules/zod/src/v4/locales/ota.ts +117 -0
  620. package/node_modules/zod/src/v4/locales/pl.ts +118 -0
  621. package/node_modules/zod/src/v4/locales/ps.ts +126 -0
  622. package/node_modules/zod/src/v4/locales/pt.ts +116 -0
  623. package/node_modules/zod/src/v4/locales/ro.ts +129 -0
  624. package/node_modules/zod/src/v4/locales/ru.ts +176 -0
  625. package/node_modules/zod/src/v4/locales/sl.ts +118 -0
  626. package/node_modules/zod/src/v4/locales/sv.ts +119 -0
  627. package/node_modules/zod/src/v4/locales/ta.ts +118 -0
  628. package/node_modules/zod/src/v4/locales/th.ts +119 -0
  629. package/node_modules/zod/src/v4/locales/tr.ts +111 -0
  630. package/node_modules/zod/src/v4/locales/ua.ts +7 -0
  631. package/node_modules/zod/src/v4/locales/uk.ts +117 -0
  632. package/node_modules/zod/src/v4/locales/ur.ts +119 -0
  633. package/node_modules/zod/src/v4/locales/uz.ts +117 -0
  634. package/node_modules/zod/src/v4/locales/vi.ts +117 -0
  635. package/node_modules/zod/src/v4/locales/yo.ts +124 -0
  636. package/node_modules/zod/src/v4/locales/zh-CN.ts +116 -0
  637. package/node_modules/zod/src/v4/locales/zh-TW.ts +115 -0
  638. package/node_modules/zod/src/v4/mini/checks.ts +32 -0
  639. package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
  640. package/node_modules/zod/src/v4/mini/external.ts +41 -0
  641. package/node_modules/zod/src/v4/mini/index.ts +3 -0
  642. package/node_modules/zod/src/v4/mini/iso.ts +66 -0
  643. package/node_modules/zod/src/v4/mini/parse.ts +14 -0
  644. package/node_modules/zod/src/v4/mini/schemas.ts +1947 -0
  645. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +24 -0
  646. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
  647. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
  648. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
  649. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +548 -0
  650. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
  651. package/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
  652. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +5 -0
  653. package/node_modules/zod/src/v4/mini/tests/index.test.ts +993 -0
  654. package/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
  655. package/node_modules/zod/src/v4/mini/tests/object.test.ts +227 -0
  656. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
  657. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +325 -0
  658. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
  659. package/node_modules/zod/src/v4/mini/tests/string.test.ts +352 -0
  660. package/node_modules/zod/src/v4-mini/index.ts +3 -0
  661. package/node_modules/zod/v3/ZodError.cjs +138 -0
  662. package/node_modules/zod/v3/ZodError.d.cts +164 -0
  663. package/node_modules/zod/v3/ZodError.d.ts +164 -0
  664. package/node_modules/zod/v3/ZodError.js +133 -0
  665. package/node_modules/zod/v3/errors.cjs +17 -0
  666. package/node_modules/zod/v3/errors.d.cts +5 -0
  667. package/node_modules/zod/v3/errors.d.ts +5 -0
  668. package/node_modules/zod/v3/errors.js +9 -0
  669. package/node_modules/zod/v3/external.cjs +22 -0
  670. package/node_modules/zod/v3/external.d.cts +6 -0
  671. package/node_modules/zod/v3/external.d.ts +6 -0
  672. package/node_modules/zod/v3/external.js +6 -0
  673. package/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
  674. package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
  675. package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
  676. package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
  677. package/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
  678. package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
  679. package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
  680. package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
  681. package/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
  682. package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
  683. package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
  684. package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
  685. package/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
  686. package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
  687. package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
  688. package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
  689. package/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
  690. package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
  691. package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
  692. package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
  693. package/node_modules/zod/v3/helpers/util.cjs +137 -0
  694. package/node_modules/zod/v3/helpers/util.d.cts +85 -0
  695. package/node_modules/zod/v3/helpers/util.d.ts +85 -0
  696. package/node_modules/zod/v3/helpers/util.js +133 -0
  697. package/node_modules/zod/v3/index.cjs +33 -0
  698. package/node_modules/zod/v3/index.d.cts +4 -0
  699. package/node_modules/zod/v3/index.d.ts +4 -0
  700. package/node_modules/zod/v3/index.js +4 -0
  701. package/node_modules/zod/v3/locales/en.cjs +112 -0
  702. package/node_modules/zod/v3/locales/en.d.cts +3 -0
  703. package/node_modules/zod/v3/locales/en.d.ts +3 -0
  704. package/node_modules/zod/v3/locales/en.js +109 -0
  705. package/node_modules/zod/v3/package.json +7 -0
  706. package/node_modules/zod/v3/standard-schema.cjs +2 -0
  707. package/node_modules/zod/v3/standard-schema.d.cts +102 -0
  708. package/node_modules/zod/v3/standard-schema.d.ts +102 -0
  709. package/node_modules/zod/v3/standard-schema.js +1 -0
  710. package/node_modules/zod/v3/types.cjs +3777 -0
  711. package/node_modules/zod/v3/types.d.cts +1034 -0
  712. package/node_modules/zod/v3/types.d.ts +1034 -0
  713. package/node_modules/zod/v3/types.js +3695 -0
  714. package/node_modules/zod/v4/classic/checks.cjs +33 -0
  715. package/node_modules/zod/v4/classic/checks.d.cts +1 -0
  716. package/node_modules/zod/v4/classic/checks.d.ts +1 -0
  717. package/node_modules/zod/v4/classic/checks.js +1 -0
  718. package/node_modules/zod/v4/classic/coerce.cjs +47 -0
  719. package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
  720. package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
  721. package/node_modules/zod/v4/classic/coerce.js +17 -0
  722. package/node_modules/zod/v4/classic/compat.cjs +61 -0
  723. package/node_modules/zod/v4/classic/compat.d.cts +50 -0
  724. package/node_modules/zod/v4/classic/compat.d.ts +50 -0
  725. package/node_modules/zod/v4/classic/compat.js +31 -0
  726. package/node_modules/zod/v4/classic/errors.cjs +74 -0
  727. package/node_modules/zod/v4/classic/errors.d.cts +30 -0
  728. package/node_modules/zod/v4/classic/errors.d.ts +30 -0
  729. package/node_modules/zod/v4/classic/errors.js +48 -0
  730. package/node_modules/zod/v4/classic/external.cjs +73 -0
  731. package/node_modules/zod/v4/classic/external.d.cts +16 -0
  732. package/node_modules/zod/v4/classic/external.d.ts +16 -0
  733. package/node_modules/zod/v4/classic/external.js +20 -0
  734. package/node_modules/zod/v4/classic/from-json-schema.cjs +625 -0
  735. package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
  736. package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
  737. package/node_modules/zod/v4/classic/from-json-schema.js +599 -0
  738. package/node_modules/zod/v4/classic/index.cjs +33 -0
  739. package/node_modules/zod/v4/classic/index.d.cts +4 -0
  740. package/node_modules/zod/v4/classic/index.d.ts +4 -0
  741. package/node_modules/zod/v4/classic/index.js +4 -0
  742. package/node_modules/zod/v4/classic/iso.cjs +60 -0
  743. package/node_modules/zod/v4/classic/iso.d.cts +22 -0
  744. package/node_modules/zod/v4/classic/iso.d.ts +22 -0
  745. package/node_modules/zod/v4/classic/iso.js +30 -0
  746. package/node_modules/zod/v4/classic/package.json +7 -0
  747. package/node_modules/zod/v4/classic/parse.cjs +41 -0
  748. package/node_modules/zod/v4/classic/parse.d.cts +31 -0
  749. package/node_modules/zod/v4/classic/parse.d.ts +31 -0
  750. package/node_modules/zod/v4/classic/parse.js +15 -0
  751. package/node_modules/zod/v4/classic/schemas.cjs +1511 -0
  752. package/node_modules/zod/v4/classic/schemas.d.cts +767 -0
  753. package/node_modules/zod/v4/classic/schemas.d.ts +767 -0
  754. package/node_modules/zod/v4/classic/schemas.js +1395 -0
  755. package/node_modules/zod/v4/core/api.cjs +1227 -0
  756. package/node_modules/zod/v4/core/api.d.cts +325 -0
  757. package/node_modules/zod/v4/core/api.d.ts +325 -0
  758. package/node_modules/zod/v4/core/api.js +1087 -0
  759. package/node_modules/zod/v4/core/checks.cjs +601 -0
  760. package/node_modules/zod/v4/core/checks.d.cts +278 -0
  761. package/node_modules/zod/v4/core/checks.d.ts +278 -0
  762. package/node_modules/zod/v4/core/checks.js +575 -0
  763. package/node_modules/zod/v4/core/core.cjs +85 -0
  764. package/node_modules/zod/v4/core/core.d.cts +70 -0
  765. package/node_modules/zod/v4/core/core.d.ts +70 -0
  766. package/node_modules/zod/v4/core/core.js +78 -0
  767. package/node_modules/zod/v4/core/doc.cjs +39 -0
  768. package/node_modules/zod/v4/core/doc.d.cts +14 -0
  769. package/node_modules/zod/v4/core/doc.d.ts +14 -0
  770. package/node_modules/zod/v4/core/doc.js +35 -0
  771. package/node_modules/zod/v4/core/errors.cjs +216 -0
  772. package/node_modules/zod/v4/core/errors.d.cts +221 -0
  773. package/node_modules/zod/v4/core/errors.d.ts +221 -0
  774. package/node_modules/zod/v4/core/errors.js +185 -0
  775. package/node_modules/zod/v4/core/index.cjs +47 -0
  776. package/node_modules/zod/v4/core/index.d.cts +16 -0
  777. package/node_modules/zod/v4/core/index.d.ts +16 -0
  778. package/node_modules/zod/v4/core/index.js +16 -0
  779. package/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
  780. package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
  781. package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
  782. package/node_modules/zod/v4/core/json-schema-generator.js +95 -0
  783. package/node_modules/zod/v4/core/json-schema-processors.cjs +644 -0
  784. package/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
  785. package/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
  786. package/node_modules/zod/v4/core/json-schema-processors.js +601 -0
  787. package/node_modules/zod/v4/core/json-schema.cjs +2 -0
  788. package/node_modules/zod/v4/core/json-schema.d.cts +88 -0
  789. package/node_modules/zod/v4/core/json-schema.d.ts +88 -0
  790. package/node_modules/zod/v4/core/json-schema.js +1 -0
  791. package/node_modules/zod/v4/core/package.json +7 -0
  792. package/node_modules/zod/v4/core/parse.cjs +131 -0
  793. package/node_modules/zod/v4/core/parse.d.cts +49 -0
  794. package/node_modules/zod/v4/core/parse.d.ts +49 -0
  795. package/node_modules/zod/v4/core/parse.js +93 -0
  796. package/node_modules/zod/v4/core/regexes.cjs +172 -0
  797. package/node_modules/zod/v4/core/regexes.d.cts +85 -0
  798. package/node_modules/zod/v4/core/regexes.d.ts +85 -0
  799. package/node_modules/zod/v4/core/regexes.js +139 -0
  800. package/node_modules/zod/v4/core/registries.cjs +56 -0
  801. package/node_modules/zod/v4/core/registries.d.cts +35 -0
  802. package/node_modules/zod/v4/core/registries.d.ts +35 -0
  803. package/node_modules/zod/v4/core/registries.js +51 -0
  804. package/node_modules/zod/v4/core/schemas.cjs +2270 -0
  805. package/node_modules/zod/v4/core/schemas.d.cts +1184 -0
  806. package/node_modules/zod/v4/core/schemas.d.ts +1184 -0
  807. package/node_modules/zod/v4/core/schemas.js +2239 -0
  808. package/node_modules/zod/v4/core/standard-schema.cjs +2 -0
  809. package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
  810. package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
  811. package/node_modules/zod/v4/core/standard-schema.js +1 -0
  812. package/node_modules/zod/v4/core/to-json-schema.cjs +457 -0
  813. package/node_modules/zod/v4/core/to-json-schema.d.cts +114 -0
  814. package/node_modules/zod/v4/core/to-json-schema.d.ts +114 -0
  815. package/node_modules/zod/v4/core/to-json-schema.js +448 -0
  816. package/node_modules/zod/v4/core/util.cjs +734 -0
  817. package/node_modules/zod/v4/core/util.d.cts +200 -0
  818. package/node_modules/zod/v4/core/util.d.ts +200 -0
  819. package/node_modules/zod/v4/core/util.js +674 -0
  820. package/node_modules/zod/v4/core/versions.cjs +8 -0
  821. package/node_modules/zod/v4/core/versions.d.cts +5 -0
  822. package/node_modules/zod/v4/core/versions.d.ts +5 -0
  823. package/node_modules/zod/v4/core/versions.js +5 -0
  824. package/node_modules/zod/v4/index.cjs +22 -0
  825. package/node_modules/zod/v4/index.d.cts +3 -0
  826. package/node_modules/zod/v4/index.d.ts +3 -0
  827. package/node_modules/zod/v4/index.js +3 -0
  828. package/node_modules/zod/v4/locales/ar.cjs +133 -0
  829. package/node_modules/zod/v4/locales/ar.d.cts +5 -0
  830. package/node_modules/zod/v4/locales/ar.d.ts +4 -0
  831. package/node_modules/zod/v4/locales/ar.js +106 -0
  832. package/node_modules/zod/v4/locales/az.cjs +132 -0
  833. package/node_modules/zod/v4/locales/az.d.cts +5 -0
  834. package/node_modules/zod/v4/locales/az.d.ts +4 -0
  835. package/node_modules/zod/v4/locales/az.js +105 -0
  836. package/node_modules/zod/v4/locales/be.cjs +183 -0
  837. package/node_modules/zod/v4/locales/be.d.cts +5 -0
  838. package/node_modules/zod/v4/locales/be.d.ts +4 -0
  839. package/node_modules/zod/v4/locales/be.js +156 -0
  840. package/node_modules/zod/v4/locales/bg.cjs +147 -0
  841. package/node_modules/zod/v4/locales/bg.d.cts +5 -0
  842. package/node_modules/zod/v4/locales/bg.d.ts +4 -0
  843. package/node_modules/zod/v4/locales/bg.js +120 -0
  844. package/node_modules/zod/v4/locales/ca.cjs +134 -0
  845. package/node_modules/zod/v4/locales/ca.d.cts +5 -0
  846. package/node_modules/zod/v4/locales/ca.d.ts +4 -0
  847. package/node_modules/zod/v4/locales/ca.js +107 -0
  848. package/node_modules/zod/v4/locales/cs.cjs +138 -0
  849. package/node_modules/zod/v4/locales/cs.d.cts +5 -0
  850. package/node_modules/zod/v4/locales/cs.d.ts +4 -0
  851. package/node_modules/zod/v4/locales/cs.js +111 -0
  852. package/node_modules/zod/v4/locales/da.cjs +142 -0
  853. package/node_modules/zod/v4/locales/da.d.cts +5 -0
  854. package/node_modules/zod/v4/locales/da.d.ts +4 -0
  855. package/node_modules/zod/v4/locales/da.js +115 -0
  856. package/node_modules/zod/v4/locales/de.cjs +135 -0
  857. package/node_modules/zod/v4/locales/de.d.cts +5 -0
  858. package/node_modules/zod/v4/locales/de.d.ts +4 -0
  859. package/node_modules/zod/v4/locales/de.js +108 -0
  860. package/node_modules/zod/v4/locales/el.cjs +136 -0
  861. package/node_modules/zod/v4/locales/el.d.cts +5 -0
  862. package/node_modules/zod/v4/locales/el.d.ts +4 -0
  863. package/node_modules/zod/v4/locales/el.js +109 -0
  864. package/node_modules/zod/v4/locales/en.cjs +140 -0
  865. package/node_modules/zod/v4/locales/en.d.cts +5 -0
  866. package/node_modules/zod/v4/locales/en.d.ts +4 -0
  867. package/node_modules/zod/v4/locales/en.js +113 -0
  868. package/node_modules/zod/v4/locales/eo.cjs +136 -0
  869. package/node_modules/zod/v4/locales/eo.d.cts +5 -0
  870. package/node_modules/zod/v4/locales/eo.d.ts +4 -0
  871. package/node_modules/zod/v4/locales/eo.js +109 -0
  872. package/node_modules/zod/v4/locales/es.cjs +159 -0
  873. package/node_modules/zod/v4/locales/es.d.cts +5 -0
  874. package/node_modules/zod/v4/locales/es.d.ts +4 -0
  875. package/node_modules/zod/v4/locales/es.js +132 -0
  876. package/node_modules/zod/v4/locales/fa.cjs +141 -0
  877. package/node_modules/zod/v4/locales/fa.d.cts +5 -0
  878. package/node_modules/zod/v4/locales/fa.d.ts +4 -0
  879. package/node_modules/zod/v4/locales/fa.js +114 -0
  880. package/node_modules/zod/v4/locales/fi.cjs +139 -0
  881. package/node_modules/zod/v4/locales/fi.d.cts +5 -0
  882. package/node_modules/zod/v4/locales/fi.d.ts +4 -0
  883. package/node_modules/zod/v4/locales/fi.js +112 -0
  884. package/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
  885. package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
  886. package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
  887. package/node_modules/zod/v4/locales/fr-CA.js +107 -0
  888. package/node_modules/zod/v4/locales/fr.cjs +152 -0
  889. package/node_modules/zod/v4/locales/fr.d.cts +5 -0
  890. package/node_modules/zod/v4/locales/fr.d.ts +4 -0
  891. package/node_modules/zod/v4/locales/fr.js +125 -0
  892. package/node_modules/zod/v4/locales/he.cjs +241 -0
  893. package/node_modules/zod/v4/locales/he.d.cts +5 -0
  894. package/node_modules/zod/v4/locales/he.d.ts +4 -0
  895. package/node_modules/zod/v4/locales/he.js +214 -0
  896. package/node_modules/zod/v4/locales/hr.cjs +149 -0
  897. package/node_modules/zod/v4/locales/hr.d.cts +5 -0
  898. package/node_modules/zod/v4/locales/hr.d.ts +4 -0
  899. package/node_modules/zod/v4/locales/hr.js +122 -0
  900. package/node_modules/zod/v4/locales/hu.cjs +135 -0
  901. package/node_modules/zod/v4/locales/hu.d.cts +5 -0
  902. package/node_modules/zod/v4/locales/hu.d.ts +4 -0
  903. package/node_modules/zod/v4/locales/hu.js +108 -0
  904. package/node_modules/zod/v4/locales/hy.cjs +174 -0
  905. package/node_modules/zod/v4/locales/hy.d.cts +5 -0
  906. package/node_modules/zod/v4/locales/hy.d.ts +4 -0
  907. package/node_modules/zod/v4/locales/hy.js +147 -0
  908. package/node_modules/zod/v4/locales/id.cjs +133 -0
  909. package/node_modules/zod/v4/locales/id.d.cts +5 -0
  910. package/node_modules/zod/v4/locales/id.d.ts +4 -0
  911. package/node_modules/zod/v4/locales/id.js +106 -0
  912. package/node_modules/zod/v4/locales/index.cjs +111 -0
  913. package/node_modules/zod/v4/locales/index.d.cts +52 -0
  914. package/node_modules/zod/v4/locales/index.d.ts +52 -0
  915. package/node_modules/zod/v4/locales/index.js +52 -0
  916. package/node_modules/zod/v4/locales/is.cjs +136 -0
  917. package/node_modules/zod/v4/locales/is.d.cts +5 -0
  918. package/node_modules/zod/v4/locales/is.d.ts +4 -0
  919. package/node_modules/zod/v4/locales/is.js +109 -0
  920. package/node_modules/zod/v4/locales/it.cjs +135 -0
  921. package/node_modules/zod/v4/locales/it.d.cts +5 -0
  922. package/node_modules/zod/v4/locales/it.d.ts +4 -0
  923. package/node_modules/zod/v4/locales/it.js +108 -0
  924. package/node_modules/zod/v4/locales/ja.cjs +134 -0
  925. package/node_modules/zod/v4/locales/ja.d.cts +5 -0
  926. package/node_modules/zod/v4/locales/ja.d.ts +4 -0
  927. package/node_modules/zod/v4/locales/ja.js +107 -0
  928. package/node_modules/zod/v4/locales/ka.cjs +139 -0
  929. package/node_modules/zod/v4/locales/ka.d.cts +5 -0
  930. package/node_modules/zod/v4/locales/ka.d.ts +4 -0
  931. package/node_modules/zod/v4/locales/ka.js +112 -0
  932. package/node_modules/zod/v4/locales/kh.cjs +12 -0
  933. package/node_modules/zod/v4/locales/kh.d.cts +5 -0
  934. package/node_modules/zod/v4/locales/kh.d.ts +5 -0
  935. package/node_modules/zod/v4/locales/kh.js +5 -0
  936. package/node_modules/zod/v4/locales/km.cjs +137 -0
  937. package/node_modules/zod/v4/locales/km.d.cts +5 -0
  938. package/node_modules/zod/v4/locales/km.d.ts +4 -0
  939. package/node_modules/zod/v4/locales/km.js +110 -0
  940. package/node_modules/zod/v4/locales/ko.cjs +138 -0
  941. package/node_modules/zod/v4/locales/ko.d.cts +5 -0
  942. package/node_modules/zod/v4/locales/ko.d.ts +4 -0
  943. package/node_modules/zod/v4/locales/ko.js +111 -0
  944. package/node_modules/zod/v4/locales/lt.cjs +230 -0
  945. package/node_modules/zod/v4/locales/lt.d.cts +5 -0
  946. package/node_modules/zod/v4/locales/lt.d.ts +4 -0
  947. package/node_modules/zod/v4/locales/lt.js +203 -0
  948. package/node_modules/zod/v4/locales/mk.cjs +136 -0
  949. package/node_modules/zod/v4/locales/mk.d.cts +5 -0
  950. package/node_modules/zod/v4/locales/mk.d.ts +4 -0
  951. package/node_modules/zod/v4/locales/mk.js +109 -0
  952. package/node_modules/zod/v4/locales/ms.cjs +134 -0
  953. package/node_modules/zod/v4/locales/ms.d.cts +5 -0
  954. package/node_modules/zod/v4/locales/ms.d.ts +4 -0
  955. package/node_modules/zod/v4/locales/ms.js +107 -0
  956. package/node_modules/zod/v4/locales/nl.cjs +137 -0
  957. package/node_modules/zod/v4/locales/nl.d.cts +5 -0
  958. package/node_modules/zod/v4/locales/nl.d.ts +4 -0
  959. package/node_modules/zod/v4/locales/nl.js +110 -0
  960. package/node_modules/zod/v4/locales/no.cjs +135 -0
  961. package/node_modules/zod/v4/locales/no.d.cts +5 -0
  962. package/node_modules/zod/v4/locales/no.d.ts +4 -0
  963. package/node_modules/zod/v4/locales/no.js +108 -0
  964. package/node_modules/zod/v4/locales/ota.cjs +136 -0
  965. package/node_modules/zod/v4/locales/ota.d.cts +5 -0
  966. package/node_modules/zod/v4/locales/ota.d.ts +4 -0
  967. package/node_modules/zod/v4/locales/ota.js +109 -0
  968. package/node_modules/zod/v4/locales/package.json +7 -0
  969. package/node_modules/zod/v4/locales/pl.cjs +136 -0
  970. package/node_modules/zod/v4/locales/pl.d.cts +5 -0
  971. package/node_modules/zod/v4/locales/pl.d.ts +4 -0
  972. package/node_modules/zod/v4/locales/pl.js +109 -0
  973. package/node_modules/zod/v4/locales/ps.cjs +141 -0
  974. package/node_modules/zod/v4/locales/ps.d.cts +5 -0
  975. package/node_modules/zod/v4/locales/ps.d.ts +4 -0
  976. package/node_modules/zod/v4/locales/ps.js +114 -0
  977. package/node_modules/zod/v4/locales/pt.cjs +135 -0
  978. package/node_modules/zod/v4/locales/pt.d.cts +5 -0
  979. package/node_modules/zod/v4/locales/pt.d.ts +4 -0
  980. package/node_modules/zod/v4/locales/pt.js +108 -0
  981. package/node_modules/zod/v4/locales/ro.cjs +146 -0
  982. package/node_modules/zod/v4/locales/ro.d.cts +5 -0
  983. package/node_modules/zod/v4/locales/ro.d.ts +4 -0
  984. package/node_modules/zod/v4/locales/ro.js +119 -0
  985. package/node_modules/zod/v4/locales/ru.cjs +183 -0
  986. package/node_modules/zod/v4/locales/ru.d.cts +5 -0
  987. package/node_modules/zod/v4/locales/ru.d.ts +4 -0
  988. package/node_modules/zod/v4/locales/ru.js +156 -0
  989. package/node_modules/zod/v4/locales/sl.cjs +136 -0
  990. package/node_modules/zod/v4/locales/sl.d.cts +5 -0
  991. package/node_modules/zod/v4/locales/sl.d.ts +4 -0
  992. package/node_modules/zod/v4/locales/sl.js +109 -0
  993. package/node_modules/zod/v4/locales/sv.cjs +137 -0
  994. package/node_modules/zod/v4/locales/sv.d.cts +5 -0
  995. package/node_modules/zod/v4/locales/sv.d.ts +4 -0
  996. package/node_modules/zod/v4/locales/sv.js +110 -0
  997. package/node_modules/zod/v4/locales/ta.cjs +137 -0
  998. package/node_modules/zod/v4/locales/ta.d.cts +5 -0
  999. package/node_modules/zod/v4/locales/ta.d.ts +4 -0
  1000. package/node_modules/zod/v4/locales/ta.js +110 -0
  1001. package/node_modules/zod/v4/locales/th.cjs +137 -0
  1002. package/node_modules/zod/v4/locales/th.d.cts +5 -0
  1003. package/node_modules/zod/v4/locales/th.d.ts +4 -0
  1004. package/node_modules/zod/v4/locales/th.js +110 -0
  1005. package/node_modules/zod/v4/locales/tr.cjs +132 -0
  1006. package/node_modules/zod/v4/locales/tr.d.cts +5 -0
  1007. package/node_modules/zod/v4/locales/tr.d.ts +4 -0
  1008. package/node_modules/zod/v4/locales/tr.js +105 -0
  1009. package/node_modules/zod/v4/locales/ua.cjs +12 -0
  1010. package/node_modules/zod/v4/locales/ua.d.cts +5 -0
  1011. package/node_modules/zod/v4/locales/ua.d.ts +5 -0
  1012. package/node_modules/zod/v4/locales/ua.js +5 -0
  1013. package/node_modules/zod/v4/locales/uk.cjs +135 -0
  1014. package/node_modules/zod/v4/locales/uk.d.cts +5 -0
  1015. package/node_modules/zod/v4/locales/uk.d.ts +4 -0
  1016. package/node_modules/zod/v4/locales/uk.js +108 -0
  1017. package/node_modules/zod/v4/locales/ur.cjs +137 -0
  1018. package/node_modules/zod/v4/locales/ur.d.cts +5 -0
  1019. package/node_modules/zod/v4/locales/ur.d.ts +4 -0
  1020. package/node_modules/zod/v4/locales/ur.js +110 -0
  1021. package/node_modules/zod/v4/locales/uz.cjs +137 -0
  1022. package/node_modules/zod/v4/locales/uz.d.cts +5 -0
  1023. package/node_modules/zod/v4/locales/uz.d.ts +4 -0
  1024. package/node_modules/zod/v4/locales/uz.js +110 -0
  1025. package/node_modules/zod/v4/locales/vi.cjs +135 -0
  1026. package/node_modules/zod/v4/locales/vi.d.cts +5 -0
  1027. package/node_modules/zod/v4/locales/vi.d.ts +4 -0
  1028. package/node_modules/zod/v4/locales/vi.js +108 -0
  1029. package/node_modules/zod/v4/locales/yo.cjs +134 -0
  1030. package/node_modules/zod/v4/locales/yo.d.cts +5 -0
  1031. package/node_modules/zod/v4/locales/yo.d.ts +4 -0
  1032. package/node_modules/zod/v4/locales/yo.js +107 -0
  1033. package/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
  1034. package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
  1035. package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
  1036. package/node_modules/zod/v4/locales/zh-CN.js +109 -0
  1037. package/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
  1038. package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
  1039. package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
  1040. package/node_modules/zod/v4/locales/zh-TW.js +107 -0
  1041. package/node_modules/zod/v4/mini/checks.cjs +34 -0
  1042. package/node_modules/zod/v4/mini/checks.d.cts +1 -0
  1043. package/node_modules/zod/v4/mini/checks.d.ts +1 -0
  1044. package/node_modules/zod/v4/mini/checks.js +1 -0
  1045. package/node_modules/zod/v4/mini/coerce.cjs +52 -0
  1046. package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
  1047. package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
  1048. package/node_modules/zod/v4/mini/coerce.js +22 -0
  1049. package/node_modules/zod/v4/mini/external.cjs +63 -0
  1050. package/node_modules/zod/v4/mini/external.d.cts +13 -0
  1051. package/node_modules/zod/v4/mini/external.d.ts +13 -0
  1052. package/node_modules/zod/v4/mini/external.js +14 -0
  1053. package/node_modules/zod/v4/mini/index.cjs +32 -0
  1054. package/node_modules/zod/v4/mini/index.d.cts +3 -0
  1055. package/node_modules/zod/v4/mini/index.d.ts +3 -0
  1056. package/node_modules/zod/v4/mini/index.js +3 -0
  1057. package/node_modules/zod/v4/mini/iso.cjs +64 -0
  1058. package/node_modules/zod/v4/mini/iso.d.cts +22 -0
  1059. package/node_modules/zod/v4/mini/iso.d.ts +22 -0
  1060. package/node_modules/zod/v4/mini/iso.js +34 -0
  1061. package/node_modules/zod/v4/mini/package.json +7 -0
  1062. package/node_modules/zod/v4/mini/parse.cjs +16 -0
  1063. package/node_modules/zod/v4/mini/parse.d.cts +1 -0
  1064. package/node_modules/zod/v4/mini/parse.d.ts +1 -0
  1065. package/node_modules/zod/v4/mini/parse.js +1 -0
  1066. package/node_modules/zod/v4/mini/schemas.cjs +1083 -0
  1067. package/node_modules/zod/v4/mini/schemas.d.cts +445 -0
  1068. package/node_modules/zod/v4/mini/schemas.d.ts +445 -0
  1069. package/node_modules/zod/v4/mini/schemas.js +961 -0
  1070. package/node_modules/zod/v4/package.json +7 -0
  1071. package/node_modules/zod/v4-mini/index.cjs +32 -0
  1072. package/node_modules/zod/v4-mini/index.d.cts +3 -0
  1073. package/node_modules/zod/v4-mini/index.d.ts +3 -0
  1074. package/node_modules/zod/v4-mini/index.js +3 -0
  1075. package/node_modules/zod/v4-mini/package.json +7 -0
  1076. package/package.json +26 -10
  1077. package/dist/chunk-Q4PUTBMV.js.map +0 -1
  1078. package/dist/chunk-RQRT27Q3.js.map +0 -1
  1079. package/dist/chunk-SFI2T6TE.js.map +0 -1
  1080. package/dist/chunk-UDLRVMML.js.map +0 -1
  1081. package/dist/public-route-7IK5D7V7.js.map +0 -1
@@ -0,0 +1,1054 @@
1
+ import { i as jsonSchemaValidator, n as JsonSchemaValidator, t as JsonSchemaType } from "./types-BDNQEPSs.mjs";
2
+
3
+ //#region ../core-internal/src/validators/fastUriShim.d.ts
4
+
5
+ /**
6
+ * dts-bundling shim for `fast-uri`.
7
+ *
8
+ * ajv@8.18.0's published .d.ts does `import { URIComponent } from "fast-uri"`,
9
+ * but fast-uri ships its types as `export = namespace`, which rolldown's dts
10
+ * bundler can't destructure into a named import — it drops the import and
11
+ * leaves a dangling `URIComponent` reference in the bundled .d.mts (TS2304 for
12
+ * downstream consumers with `skipLibCheck: false`).
13
+ *
14
+ * The server/client tsdown configs map `fast-uri` to this file via
15
+ * `dts.compilerOptions.paths` so the type is inlined as a plain named export.
16
+ * Runtime code is unaffected (this is a `.d.ts`; the path mapping is dts-only).
17
+ */
18
+ // Field-for-field copy of fast-uri@3.1.0's URIComponent (types/index.d.ts).
19
+ // Keep in sync when bumping fast-uri/ajv.
20
+ interface URIComponent {
21
+ scheme?: string;
22
+ userinfo?: string;
23
+ host?: string;
24
+ port?: number | string;
25
+ path?: string;
26
+ query?: string;
27
+ fragment?: string;
28
+ reference?: string;
29
+ nid?: string;
30
+ nss?: string;
31
+ resourceName?: string;
32
+ secure?: boolean;
33
+ uuid?: string;
34
+ error?: string;
35
+ }
36
+ //#endregion
37
+ //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/code.d.ts
38
+ declare abstract class _CodeOrName {
39
+ abstract readonly str: string;
40
+ abstract readonly names: UsedNames;
41
+ abstract toString(): string;
42
+ abstract emptyStr(): boolean;
43
+ }
44
+ declare class Name extends _CodeOrName {
45
+ readonly str: string;
46
+ constructor(s: string);
47
+ toString(): string;
48
+ emptyStr(): boolean;
49
+ get names(): UsedNames;
50
+ }
51
+ declare class _Code extends _CodeOrName {
52
+ readonly _items: readonly CodeItem[];
53
+ private _str?;
54
+ private _names?;
55
+ constructor(code: string | readonly CodeItem[]);
56
+ toString(): string;
57
+ emptyStr(): boolean;
58
+ get str(): string;
59
+ get names(): UsedNames;
60
+ }
61
+ type CodeItem = Name | string | number | boolean | null;
62
+ type UsedNames = Record<string, number | undefined>;
63
+ type Code = _Code | Name;
64
+ //#endregion
65
+ //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/scope.d.ts
66
+ interface NameGroup {
67
+ prefix: string;
68
+ index: number;
69
+ }
70
+ interface NameValue {
71
+ ref: ValueReference;
72
+ key?: unknown;
73
+ code?: Code;
74
+ }
75
+ type ValueReference = unknown;
76
+ interface ScopeOptions {
77
+ prefixes?: Set<string>;
78
+ parent?: Scope;
79
+ }
80
+ interface ValueScopeOptions extends ScopeOptions {
81
+ scope: ScopeStore;
82
+ es5?: boolean;
83
+ lines?: boolean;
84
+ }
85
+ type ScopeStore = Record<string, ValueReference[] | undefined>;
86
+ type ScopeValues = { [Prefix in string]?: Map<unknown, ValueScopeName> };
87
+ type ScopeValueSets = { [Prefix in string]?: Set<ValueScopeName> };
88
+ declare enum UsedValueState {
89
+ Started = 0,
90
+ Completed = 1,
91
+ }
92
+ type UsedScopeValues = { [Prefix in string]?: Map<ValueScopeName, UsedValueState | undefined> };
93
+ declare class Scope {
94
+ protected readonly _names: { [Prefix in string]?: NameGroup };
95
+ protected readonly _prefixes?: Set<string>;
96
+ protected readonly _parent?: Scope;
97
+ constructor({
98
+ prefixes,
99
+ parent
100
+ }?: ScopeOptions);
101
+ toName(nameOrPrefix: Name | string): Name;
102
+ name(prefix: string): Name;
103
+ protected _newName(prefix: string): string;
104
+ private _nameGroup;
105
+ }
106
+ interface ScopePath {
107
+ property: string;
108
+ itemIndex: number;
109
+ }
110
+ declare class ValueScopeName extends Name {
111
+ readonly prefix: string;
112
+ value?: NameValue;
113
+ scopePath?: Code;
114
+ constructor(prefix: string, nameStr: string);
115
+ setValue(value: NameValue, {
116
+ property,
117
+ itemIndex
118
+ }: ScopePath): void;
119
+ }
120
+ interface VSOptions extends ValueScopeOptions {
121
+ _n: Code;
122
+ }
123
+ declare class ValueScope extends Scope {
124
+ protected readonly _values: ScopeValues;
125
+ protected readonly _scope: ScopeStore;
126
+ readonly opts: VSOptions;
127
+ constructor(opts: ValueScopeOptions);
128
+ get(): ScopeStore;
129
+ name(prefix: string): ValueScopeName;
130
+ value(nameOrPrefix: ValueScopeName | string, value: NameValue): ValueScopeName;
131
+ getValue(prefix: string, keyOrRef: unknown): ValueScopeName | undefined;
132
+ scopeRefs(scopeName: Name, values?: ScopeValues | ScopeValueSets): Code;
133
+ scopeCode(values?: ScopeValues | ScopeValueSets, usedValues?: UsedScopeValues, getCode?: (n: ValueScopeName) => Code | undefined): Code;
134
+ private _reduceValues;
135
+ }
136
+ //#endregion
137
+ //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/codegen/index.d.ts
138
+ type SafeExpr = Code | number | boolean | null;
139
+ type Block = Code | (() => void);
140
+ interface CodeGenOptions {
141
+ es5?: boolean;
142
+ lines?: boolean;
143
+ ownProperties?: boolean;
144
+ }
145
+ declare class CodeGen {
146
+ readonly _scope: Scope;
147
+ readonly _extScope: ValueScope;
148
+ readonly _values: ScopeValueSets;
149
+ private readonly _nodes;
150
+ private readonly _blockStarts;
151
+ private readonly _constants;
152
+ private readonly opts;
153
+ constructor(extScope: ValueScope, opts?: CodeGenOptions);
154
+ toString(): string;
155
+ name(prefix: string): Name;
156
+ scopeName(prefix: string): ValueScopeName;
157
+ scopeValue(prefixOrName: ValueScopeName | string, value: NameValue): Name;
158
+ getScopeValue(prefix: string, keyOrRef: unknown): ValueScopeName | undefined;
159
+ scopeRefs(scopeName: Name): Code;
160
+ scopeCode(): Code;
161
+ private _def;
162
+ const(nameOrPrefix: Name | string, rhs: SafeExpr, _constant?: boolean): Name;
163
+ let(nameOrPrefix: Name | string, rhs?: SafeExpr, _constant?: boolean): Name;
164
+ var(nameOrPrefix: Name | string, rhs?: SafeExpr, _constant?: boolean): Name;
165
+ assign(lhs: Code, rhs: SafeExpr, sideEffects?: boolean): CodeGen;
166
+ add(lhs: Code, rhs: SafeExpr): CodeGen;
167
+ code(c: Block | SafeExpr): CodeGen;
168
+ object(...keyValues: [Name | string, SafeExpr | string][]): _Code;
169
+ if(condition: Code | boolean, thenBody?: Block, elseBody?: Block): CodeGen;
170
+ elseIf(condition: Code | boolean): CodeGen;
171
+ else(): CodeGen;
172
+ endIf(): CodeGen;
173
+ private _for;
174
+ for(iteration: Code, forBody?: Block): CodeGen;
175
+ forRange(nameOrPrefix: Name | string, from: SafeExpr, to: SafeExpr, forBody: (index: Name) => void, varKind?: Code): CodeGen;
176
+ forOf(nameOrPrefix: Name | string, iterable: Code, forBody: (item: Name) => void, varKind?: Code): CodeGen;
177
+ forIn(nameOrPrefix: Name | string, obj: Code, forBody: (item: Name) => void, varKind?: Code): CodeGen;
178
+ endFor(): CodeGen;
179
+ label(label: Name): CodeGen;
180
+ break(label?: Code): CodeGen;
181
+ return(value: Block | SafeExpr): CodeGen;
182
+ try(tryBody: Block, catchCode?: (e: Name) => void, finallyCode?: Block): CodeGen;
183
+ throw(error: Code): CodeGen;
184
+ block(body?: Block, nodeCount?: number): CodeGen;
185
+ endBlock(nodeCount?: number): CodeGen;
186
+ func(name: Name, args?: Code, async?: boolean, funcBody?: Block): CodeGen;
187
+ endFunc(): CodeGen;
188
+ optimize(n?: number): void;
189
+ private _leafNode;
190
+ private _blockNode;
191
+ private _endBlockNode;
192
+ private _elseNode;
193
+ private get _root();
194
+ private get _currNode();
195
+ private set _currNode(value);
196
+ }
197
+ //#endregion
198
+ //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/rules.d.ts
199
+ declare const _jsonTypes: readonly ["string", "number", "integer", "boolean", "null", "object", "array"];
200
+ type JSONType$1 = (typeof _jsonTypes)[number];
201
+ type ValidationTypes = { [K in JSONType$1]: boolean | RuleGroup | undefined };
202
+ interface ValidationRules {
203
+ rules: RuleGroup[];
204
+ post: RuleGroup;
205
+ all: { [Key in string]?: boolean | Rule };
206
+ keywords: { [Key in string]?: boolean };
207
+ types: ValidationTypes;
208
+ }
209
+ interface RuleGroup {
210
+ type?: JSONType$1;
211
+ rules: Rule[];
212
+ }
213
+ interface Rule {
214
+ keyword: string;
215
+ definition: AddedKeywordDefinition;
216
+ }
217
+ //#endregion
218
+ //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/util.d.ts
219
+ declare enum Type {
220
+ Num = 0,
221
+ Str = 1,
222
+ }
223
+ //#endregion
224
+ //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/subschema.d.ts
225
+ type SubschemaArgs = Partial<{
226
+ keyword: string;
227
+ schemaProp: string | number;
228
+ schema: AnySchema;
229
+ schemaPath: Code;
230
+ errSchemaPath: string;
231
+ topSchemaRef: Code;
232
+ data: Name | Code;
233
+ dataProp: Code | string | number;
234
+ dataTypes: JSONType$1[];
235
+ definedProperties: Set<string>;
236
+ propertyName: Name;
237
+ dataPropType: Type;
238
+ jtdDiscriminator: string;
239
+ jtdMetadata: boolean;
240
+ compositeRule: true;
241
+ createErrors: boolean;
242
+ allErrors: boolean;
243
+ }>;
244
+ //#endregion
245
+ //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/errors.d.ts
246
+ interface ErrorPaths {
247
+ instancePath?: Code;
248
+ schemaPath?: string;
249
+ parentSchema?: boolean;
250
+ }
251
+ //#endregion
252
+ //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/validate/index.d.ts
253
+ declare class KeywordCxt implements KeywordErrorCxt {
254
+ readonly gen: CodeGen;
255
+ readonly allErrors?: boolean;
256
+ readonly keyword: string;
257
+ readonly data: Name;
258
+ readonly $data?: string | false;
259
+ schema: any;
260
+ readonly schemaValue: Code | number | boolean;
261
+ readonly schemaCode: Code | number | boolean;
262
+ readonly schemaType: JSONType$1[];
263
+ readonly parentSchema: AnySchemaObject;
264
+ readonly errsCount?: Name;
265
+ params: KeywordCxtParams;
266
+ readonly it: SchemaObjCxt;
267
+ readonly def: AddedKeywordDefinition;
268
+ constructor(it: SchemaObjCxt, def: AddedKeywordDefinition, keyword: string);
269
+ result(condition: Code, successAction?: () => void, failAction?: () => void): void;
270
+ failResult(condition: Code, successAction?: () => void, failAction?: () => void): void;
271
+ pass(condition: Code, failAction?: () => void): void;
272
+ fail(condition?: Code): void;
273
+ fail$data(condition: Code): void;
274
+ error(append?: boolean, errorParams?: KeywordCxtParams, errorPaths?: ErrorPaths): void;
275
+ private _error;
276
+ $dataError(): void;
277
+ reset(): void;
278
+ ok(cond: Code | boolean): void;
279
+ setParams(obj: KeywordCxtParams, assign?: true): void;
280
+ block$data(valid: Name, codeBlock: () => void, $dataValid?: Code): void;
281
+ check$data(valid?: Name, $dataValid?: Code): void;
282
+ invalid$data(): Code;
283
+ subschema(appl: SubschemaArgs, valid: Name): SchemaCxt;
284
+ mergeEvaluated(schemaCxt: SchemaCxt, toName?: typeof Name): void;
285
+ mergeValidEvaluated(schemaCxt: SchemaCxt, valid: Name): boolean | void;
286
+ }
287
+ //#endregion
288
+ //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/types/json-schema.d.ts
289
+ type StrictNullChecksWrapper<Name$1 extends string, Type$1> = undefined extends null ? `strictNullChecks must be true in tsconfig to use ${Name$1}` : Type$1;
290
+ type UnionToIntersection<U> = (U extends any ? (_: U) => void : never) extends ((_: infer I) => void) ? I : never;
291
+ type UncheckedPartialSchema<T> = Partial<UncheckedJSONSchemaType<T, true>>;
292
+ type JSONType<T extends string, IsPartial extends boolean> = IsPartial extends true ? T | undefined : T;
293
+ interface NumberKeywords {
294
+ minimum?: number;
295
+ maximum?: number;
296
+ exclusiveMinimum?: number;
297
+ exclusiveMaximum?: number;
298
+ multipleOf?: number;
299
+ format?: string;
300
+ }
301
+ interface StringKeywords {
302
+ minLength?: number;
303
+ maxLength?: number;
304
+ pattern?: string;
305
+ format?: string;
306
+ }
307
+ type UncheckedJSONSchemaType<T, IsPartial extends boolean> = (
308
+ // these two unions allow arbitrary unions of types
309
+ {
310
+ anyOf: readonly UncheckedJSONSchemaType<T, IsPartial>[];
311
+ } | {
312
+ oneOf: readonly UncheckedJSONSchemaType<T, IsPartial>[];
313
+ } | ({
314
+ type: readonly (T extends number ? JSONType<"number" | "integer", IsPartial> : T extends string ? JSONType<"string", IsPartial> : T extends boolean ? JSONType<"boolean", IsPartial> : never)[];
315
+ } & UnionToIntersection<T extends number ? NumberKeywords : T extends string ? StringKeywords : T extends boolean ? {} : never>) | ((T extends number ? {
316
+ type: JSONType<"number" | "integer", IsPartial>;
317
+ } & NumberKeywords : T extends string ? {
318
+ type: JSONType<"string", IsPartial>;
319
+ } & StringKeywords : T extends boolean ? {
320
+ type: JSONType<"boolean", IsPartial>;
321
+ } : T extends readonly [any, ...any[]] ? {
322
+ type: JSONType<"array", IsPartial>;
323
+ items: { readonly [K in keyof T]-?: UncheckedJSONSchemaType<T[K], false> & Nullable<T[K]> } & {
324
+ length: T["length"];
325
+ };
326
+ minItems: T["length"];
327
+ } & ({
328
+ maxItems: T["length"];
329
+ } | {
330
+ additionalItems: false;
331
+ }) : T extends readonly any[] ? {
332
+ type: JSONType<"array", IsPartial>;
333
+ items: UncheckedJSONSchemaType<T[0], false>;
334
+ contains?: UncheckedPartialSchema<T[0]>;
335
+ minItems?: number;
336
+ maxItems?: number;
337
+ minContains?: number;
338
+ maxContains?: number;
339
+ uniqueItems?: true;
340
+ additionalItems?: never;
341
+ } : T extends Record<string, any> ? {
342
+ type: JSONType<"object", IsPartial>;
343
+ additionalProperties?: boolean | UncheckedJSONSchemaType<T[string], false>;
344
+ unevaluatedProperties?: boolean | UncheckedJSONSchemaType<T[string], false>;
345
+ properties?: IsPartial extends true ? Partial<UncheckedPropertiesSchema<T>> : UncheckedPropertiesSchema<T>;
346
+ patternProperties?: Record<string, UncheckedJSONSchemaType<T[string], false>>;
347
+ propertyNames?: Omit<UncheckedJSONSchemaType<string, false>, "type"> & {
348
+ type?: "string";
349
+ };
350
+ dependencies?: { [K in keyof T]?: readonly (keyof T)[] | UncheckedPartialSchema<T> };
351
+ dependentRequired?: { [K in keyof T]?: readonly (keyof T)[] };
352
+ dependentSchemas?: { [K in keyof T]?: UncheckedPartialSchema<T> };
353
+ minProperties?: number;
354
+ maxProperties?: number;
355
+ } & (IsPartial extends true ? {
356
+ required: readonly (keyof T)[];
357
+ } : [UncheckedRequiredMembers<T>] extends [never] ? {
358
+ required?: readonly UncheckedRequiredMembers<T>[];
359
+ } : {
360
+ required: readonly UncheckedRequiredMembers<T>[];
361
+ }) : T extends null ? {
362
+ type: JSONType<"null", IsPartial>;
363
+ nullable: true;
364
+ } : never) & {
365
+ allOf?: readonly UncheckedPartialSchema<T>[];
366
+ anyOf?: readonly UncheckedPartialSchema<T>[];
367
+ oneOf?: readonly UncheckedPartialSchema<T>[];
368
+ if?: UncheckedPartialSchema<T>;
369
+ then?: UncheckedPartialSchema<T>;
370
+ else?: UncheckedPartialSchema<T>;
371
+ not?: UncheckedPartialSchema<T>;
372
+ })) & {
373
+ [keyword: string]: any;
374
+ $id?: string;
375
+ $ref?: string;
376
+ $defs?: Record<string, UncheckedJSONSchemaType<Known, true>>;
377
+ definitions?: Record<string, UncheckedJSONSchemaType<Known, true>>;
378
+ };
379
+ type JSONSchemaType<T> = StrictNullChecksWrapper<"JSONSchemaType", UncheckedJSONSchemaType<T, false>>;
380
+ type Known = {
381
+ [key: string]: Known;
382
+ } | [Known, ...Known[]] | Known[] | number | string | boolean | null;
383
+ type UncheckedPropertiesSchema<T> = { [K in keyof T]-?: (UncheckedJSONSchemaType<T[K], false> & Nullable<T[K]>) | {
384
+ $ref: string;
385
+ } };
386
+ type UncheckedRequiredMembers<T> = { [K in keyof T]-?: undefined extends T[K] ? never : K }[keyof T];
387
+ type Nullable<T> = undefined extends T ? {
388
+ nullable: true;
389
+ const?: null;
390
+ enum?: readonly (T | null)[];
391
+ default?: T | null;
392
+ } : {
393
+ nullable?: false;
394
+ const?: T;
395
+ enum?: readonly T[];
396
+ default?: T;
397
+ };
398
+ //#endregion
399
+ //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/types/jtd-schema.d.ts
400
+ /** numeric strings */
401
+ type NumberType = "float32" | "float64" | "int8" | "uint8" | "int16" | "uint16" | "int32" | "uint32";
402
+ /** string strings */
403
+ type StringType = "string" | "timestamp";
404
+ /** Generic JTD Schema without inference of the represented type */
405
+ type SomeJTDSchemaType = (
406
+ // ref
407
+ {
408
+ ref: string;
409
+ } | {
410
+ type: NumberType | StringType | "boolean";
411
+ } | {
412
+ enum: string[];
413
+ } | {
414
+ elements: SomeJTDSchemaType;
415
+ } | {
416
+ values: SomeJTDSchemaType;
417
+ } | {
418
+ properties: Record<string, SomeJTDSchemaType>;
419
+ optionalProperties?: Record<string, SomeJTDSchemaType>;
420
+ additionalProperties?: boolean;
421
+ } | {
422
+ properties?: Record<string, SomeJTDSchemaType>;
423
+ optionalProperties: Record<string, SomeJTDSchemaType>;
424
+ additionalProperties?: boolean;
425
+ } | {
426
+ discriminator: string;
427
+ mapping: Record<string, SomeJTDSchemaType>;
428
+ } | {}) & {
429
+ nullable?: boolean;
430
+ metadata?: Record<string, unknown>;
431
+ definitions?: Record<string, SomeJTDSchemaType>;
432
+ };
433
+ /** required keys of an object, not undefined */
434
+ type RequiredKeys<T> = { [K in keyof T]-?: undefined extends T[K] ? never : K }[keyof T];
435
+ /** optional or undifined-able keys of an object */
436
+ type OptionalKeys<T> = { [K in keyof T]-?: undefined extends T[K] ? K : never }[keyof T];
437
+ /** type is true if T is a union type */
438
+ type IsUnion_<T, U extends T = T> = false extends (T extends unknown ? ([U] extends [T] ? false : true) : never) ? false : true;
439
+ type IsUnion<T> = IsUnion_<T>;
440
+ /** type is true if T is identically E */
441
+ type TypeEquality<T, E$1> = [T] extends [E$1] ? ([E$1] extends [T] ? true : false) : false;
442
+ /** type is true if T or null is identically E or null*/
443
+ type NullTypeEquality<T, E$1> = TypeEquality<T | null, E$1 | null>;
444
+ /** gets only the string literals of a type or null if a type isn't a string literal */
445
+ type EnumString<T> = [T] extends [never] ? null : T extends string ? string extends T ? null : T : null;
446
+ /** true if type is a union of string literals */
447
+ type IsEnum<T> = null extends EnumString<T> ? false : true;
448
+ /** true only if all types are array types (not tuples) */
449
+ type IsElements<T> = false extends IsUnion<T> ? [T] extends [readonly unknown[]] ? undefined extends T[0.5] ? false : true : false : false;
450
+ /** true if the the type is a values type */
451
+ type IsValues<T> = false extends IsUnion<T> ? TypeEquality<keyof T, string> : false;
452
+ /** true if type is a properties type and Union is false, or type is a discriminator type and Union is true */
453
+ type IsRecord<T, Union extends boolean> = Union extends IsUnion<T> ? null extends EnumString<keyof T> ? false : true : false;
454
+ /** true if type represents an empty record */
455
+ type IsEmptyRecord<T> = [T] extends [Record<string, never>] ? [T] extends [never] ? false : true : false;
456
+ /** actual schema */
457
+ type JTDSchemaType<T, D extends Record<string, unknown> = Record<string, never>> = (
458
+ // refs - where null wasn't specified, must match exactly
459
+ (null extends EnumString<keyof D> ? never : ({ [K in keyof D]: [T] extends [D[K]] ? {
460
+ ref: K;
461
+ } : never }[keyof D] & {
462
+ nullable?: false;
463
+ }) | (null extends T ? { [K in keyof D]: [Exclude<T, null>] extends [Exclude<D[K], null>] ? {
464
+ ref: K;
465
+ } : never }[keyof D] & {
466
+ nullable: true;
467
+ } : never)) | (unknown extends T ? {
468
+ nullable?: boolean;
469
+ } : never) | ((true extends NullTypeEquality<T, number> ? {
470
+ type: NumberType;
471
+ } : true extends NullTypeEquality<T, boolean> ? {
472
+ type: "boolean";
473
+ } : true extends NullTypeEquality<T, string> ? {
474
+ type: StringType;
475
+ } : true extends NullTypeEquality<T, Date> ? {
476
+ type: "timestamp";
477
+ } : true extends IsEnum<Exclude<T, null>> ? {
478
+ enum: EnumString<Exclude<T, null>>[];
479
+ } : true extends IsElements<Exclude<T, null>> ? T extends readonly (infer E)[] ? {
480
+ elements: JTDSchemaType<E, D>;
481
+ } : never : true extends IsEmptyRecord<Exclude<T, null>> ? {
482
+ properties: Record<string, never>;
483
+ optionalProperties?: Record<string, never>;
484
+ } | {
485
+ optionalProperties: Record<string, never>;
486
+ } : true extends IsValues<Exclude<T, null>> ? T extends Record<string, infer V> ? {
487
+ values: JTDSchemaType<V, D>;
488
+ } : never : true extends IsRecord<Exclude<T, null>, false> ? ([RequiredKeys<Exclude<T, null>>] extends [never] ? {
489
+ properties?: Record<string, never>;
490
+ } : {
491
+ properties: { [K in RequiredKeys<T>]: JTDSchemaType<T[K], D> };
492
+ }) & ([OptionalKeys<Exclude<T, null>>] extends [never] ? {
493
+ optionalProperties?: Record<string, never>;
494
+ } : {
495
+ optionalProperties: { [K in OptionalKeys<T>]: JTDSchemaType<Exclude<T[K], undefined>, D> };
496
+ }) & {
497
+ additionalProperties?: boolean;
498
+ } : true extends IsRecord<Exclude<T, null>, true> ? { [K in keyof Exclude<T, null>]-?: Exclude<T, null>[K] extends string ? {
499
+ discriminator: K;
500
+ mapping: { [M in Exclude<T, null>[K]]: JTDSchemaType<Omit<T extends Record<K, M> ? T : never, K>, D> };
501
+ } : never }[keyof Exclude<T, null>] : never) & (null extends T ? {
502
+ nullable: true;
503
+ } : {
504
+ nullable?: false;
505
+ }))) & {
506
+ metadata?: Record<string, unknown>;
507
+ definitions?: { [K in keyof D]: JTDSchemaType<D[K], D> };
508
+ };
509
+ type JTDDataDef<S, D extends Record<string, unknown>> =
510
+ // ref
511
+ (S extends {
512
+ ref: string;
513
+ } ? D extends { [K in S["ref"]]: infer V } ? JTDDataDef<V, D> : never : S extends {
514
+ type: NumberType;
515
+ } ? number : S extends {
516
+ type: "boolean";
517
+ } ? boolean : S extends {
518
+ type: "string";
519
+ } ? string : S extends {
520
+ type: "timestamp";
521
+ } ? string | Date : S extends {
522
+ enum: readonly (infer E)[];
523
+ } ? string extends E ? never : [E] extends [string] ? E : never : S extends {
524
+ elements: infer E;
525
+ } ? JTDDataDef<E, D>[] : S extends {
526
+ properties: Record<string, unknown>;
527
+ optionalProperties?: Record<string, unknown>;
528
+ additionalProperties?: boolean;
529
+ } ? { -readonly [K in keyof S["properties"]]-?: JTDDataDef<S["properties"][K], D> } & { -readonly [K in keyof S["optionalProperties"]]+?: JTDDataDef<S["optionalProperties"][K], D> } & ([S["additionalProperties"]] extends [true] ? Record<string, unknown> : unknown) : S extends {
530
+ properties?: Record<string, unknown>;
531
+ optionalProperties: Record<string, unknown>;
532
+ additionalProperties?: boolean;
533
+ } ? { -readonly [K in keyof S["properties"]]-?: JTDDataDef<S["properties"][K], D> } & { -readonly [K in keyof S["optionalProperties"]]+?: JTDDataDef<S["optionalProperties"][K], D> } & ([S["additionalProperties"]] extends [true] ? Record<string, unknown> : unknown) : S extends {
534
+ values: infer V;
535
+ } ? Record<string, JTDDataDef<V, D>> : S extends {
536
+ discriminator: infer M;
537
+ mapping: Record<string, unknown>;
538
+ } ? [M] extends [string] ? { [K in keyof S["mapping"]]: JTDDataDef<S["mapping"][K], D> & { [KM in M]: K } }[keyof S["mapping"]] : never : unknown) | (S extends {
539
+ nullable: true;
540
+ } ? null : never);
541
+ type JTDDataType<S> = S extends {
542
+ definitions: Record<string, unknown>;
543
+ } ? JTDDataDef<S, S["definitions"]> : JTDDataDef<S, Record<string, never>>;
544
+ //#endregion
545
+ //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/runtime/validation_error.d.ts
546
+ declare class ValidationError extends Error {
547
+ readonly errors: Partial<ErrorObject>[];
548
+ readonly ajv: true;
549
+ readonly validation: true;
550
+ constructor(errors: Partial<ErrorObject>[]);
551
+ }
552
+ //#endregion
553
+ //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/ref_error.d.ts
554
+ declare class MissingRefError extends Error {
555
+ readonly missingRef: string;
556
+ readonly missingSchema: string;
557
+ constructor(resolver: UriResolver, baseId: string, ref: string, msg?: string);
558
+ }
559
+ //#endregion
560
+ //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/core.d.ts
561
+ interface Plugin<Opts> {
562
+ (ajv: Ajv$2, options?: Opts): Ajv$2;
563
+ [prop: string]: any;
564
+ }
565
+ type Options = CurrentOptions & DeprecatedOptions;
566
+ interface CurrentOptions {
567
+ strict?: boolean | "log";
568
+ strictSchema?: boolean | "log";
569
+ strictNumbers?: boolean | "log";
570
+ strictTypes?: boolean | "log";
571
+ strictTuples?: boolean | "log";
572
+ strictRequired?: boolean | "log";
573
+ allowMatchingProperties?: boolean;
574
+ allowUnionTypes?: boolean;
575
+ validateFormats?: boolean;
576
+ $data?: boolean;
577
+ allErrors?: boolean;
578
+ verbose?: boolean;
579
+ discriminator?: boolean;
580
+ unicodeRegExp?: boolean;
581
+ timestamp?: "string" | "date";
582
+ parseDate?: boolean;
583
+ allowDate?: boolean;
584
+ specialNumbers?: "fast" | "null";
585
+ $comment?: true | ((comment: string, schemaPath?: string, rootSchema?: AnySchemaObject) => unknown);
586
+ formats?: { [Name in string]?: Format };
587
+ keywords?: Vocabulary;
588
+ schemas?: AnySchema[] | { [Key in string]?: AnySchema };
589
+ logger?: Logger | false;
590
+ loadSchema?: (uri: string) => Promise<AnySchemaObject>;
591
+ removeAdditional?: boolean | "all" | "failing";
592
+ useDefaults?: boolean | "empty";
593
+ coerceTypes?: boolean | "array";
594
+ next?: boolean;
595
+ unevaluated?: boolean;
596
+ dynamicRef?: boolean;
597
+ schemaId?: "id" | "$id";
598
+ jtd?: boolean;
599
+ meta?: SchemaObject | boolean;
600
+ defaultMeta?: string | AnySchemaObject;
601
+ validateSchema?: boolean | "log";
602
+ addUsedSchema?: boolean;
603
+ inlineRefs?: boolean | number;
604
+ passContext?: boolean;
605
+ loopRequired?: number;
606
+ loopEnum?: number;
607
+ ownProperties?: boolean;
608
+ multipleOfPrecision?: number;
609
+ int32range?: boolean;
610
+ messages?: boolean;
611
+ code?: CodeOptions;
612
+ uriResolver?: UriResolver;
613
+ }
614
+ interface CodeOptions {
615
+ es5?: boolean;
616
+ esm?: boolean;
617
+ lines?: boolean;
618
+ optimize?: boolean | number;
619
+ formats?: Code;
620
+ source?: boolean;
621
+ process?: (code: string, schema?: SchemaEnv) => string;
622
+ regExp?: RegExpEngine;
623
+ }
624
+ interface InstanceCodeOptions extends CodeOptions {
625
+ regExp: RegExpEngine;
626
+ optimize: number;
627
+ }
628
+ interface DeprecatedOptions {
629
+ /** @deprecated */
630
+ ignoreKeywordsWithRef?: boolean;
631
+ /** @deprecated */
632
+ jsPropertySyntax?: boolean;
633
+ /** @deprecated */
634
+ unicode?: boolean;
635
+ }
636
+ type RequiredInstanceOptions = { [K in "strictSchema" | "strictNumbers" | "strictTypes" | "strictTuples" | "strictRequired" | "inlineRefs" | "loopRequired" | "loopEnum" | "meta" | "messages" | "schemaId" | "addUsedSchema" | "validateSchema" | "validateFormats" | "int32range" | "unicodeRegExp" | "uriResolver"]: NonNullable<Options[K]> } & {
637
+ code: InstanceCodeOptions;
638
+ };
639
+ type InstanceOptions = Options & RequiredInstanceOptions;
640
+ interface Logger {
641
+ log(...args: unknown[]): unknown;
642
+ warn(...args: unknown[]): unknown;
643
+ error(...args: unknown[]): unknown;
644
+ }
645
+ declare class Ajv$2 {
646
+ opts: InstanceOptions;
647
+ errors?: ErrorObject[] | null;
648
+ logger: Logger;
649
+ readonly scope: ValueScope;
650
+ readonly schemas: { [Key in string]?: SchemaEnv };
651
+ readonly refs: { [Ref in string]?: SchemaEnv | string };
652
+ readonly formats: { [Name in string]?: AddedFormat };
653
+ readonly RULES: ValidationRules;
654
+ readonly _compilations: Set<SchemaEnv>;
655
+ private readonly _loading;
656
+ private readonly _cache;
657
+ private readonly _metaOpts;
658
+ static ValidationError: typeof ValidationError;
659
+ static MissingRefError: typeof MissingRefError;
660
+ constructor(opts?: Options);
661
+ _addVocabularies(): void;
662
+ _addDefaultMetaSchema(): void;
663
+ defaultMeta(): string | AnySchemaObject | undefined;
664
+ validate(schema: Schema | string, data: unknown): boolean;
665
+ validate(schemaKeyRef: AnySchema | string, data: unknown): boolean | Promise<unknown>;
666
+ validate<T>(schema: Schema | JSONSchemaType<T> | string, data: unknown): data is T;
667
+ validate<T>(schema: JTDSchemaType<T>, data: unknown): data is T;
668
+ validate<N extends never, T extends SomeJTDSchemaType>(schema: T, data: unknown): data is JTDDataType<T>;
669
+ validate<T>(schema: AsyncSchema, data: unknown | T): Promise<T>;
670
+ validate<T>(schemaKeyRef: AnySchema | string, data: unknown): data is T | Promise<T>;
671
+ compile<T = unknown>(schema: Schema | JSONSchemaType<T>, _meta?: boolean): ValidateFunction<T>;
672
+ compile<T = unknown>(schema: JTDSchemaType<T>, _meta?: boolean): ValidateFunction<T>;
673
+ compile<N extends never, T extends SomeJTDSchemaType>(schema: T, _meta?: boolean): ValidateFunction<JTDDataType<T>>;
674
+ compile<T = unknown>(schema: AsyncSchema, _meta?: boolean): AsyncValidateFunction<T>;
675
+ compile<T = unknown>(schema: AnySchema, _meta?: boolean): AnyValidateFunction<T>;
676
+ compileAsync<T = unknown>(schema: SchemaObject | JSONSchemaType<T>, _meta?: boolean): Promise<ValidateFunction<T>>;
677
+ compileAsync<T = unknown>(schema: JTDSchemaType<T>, _meta?: boolean): Promise<ValidateFunction<T>>;
678
+ compileAsync<T = unknown>(schema: AsyncSchema, meta?: boolean): Promise<AsyncValidateFunction<T>>;
679
+ compileAsync<T = unknown>(schema: AnySchemaObject, meta?: boolean): Promise<AnyValidateFunction<T>>;
680
+ addSchema(schema: AnySchema | AnySchema[],
681
+ // If array is passed, `key` will be ignored
682
+ key?: string,
683
+ // Optional schema key. Can be passed to `validate` method instead of schema object or id/ref. One schema per instance can have empty `id` and `key`.
684
+ _meta?: boolean,
685
+ // true if schema is a meta-schema. Used internally, addMetaSchema should be used instead.
686
+ _validateSchema?: boolean | "log"): Ajv$2;
687
+ addMetaSchema(schema: AnySchemaObject, key?: string,
688
+ // schema key
689
+ _validateSchema?: boolean | "log"): Ajv$2;
690
+ validateSchema(schema: AnySchema, throwOrLogError?: boolean): boolean | Promise<unknown>;
691
+ getSchema<T = unknown>(keyRef: string): AnyValidateFunction<T> | undefined;
692
+ removeSchema(schemaKeyRef?: AnySchema | string | RegExp): Ajv$2;
693
+ addVocabulary(definitions: Vocabulary): Ajv$2;
694
+ addKeyword(kwdOrDef: string | KeywordDefinition, def?: KeywordDefinition): Ajv$2;
695
+ getKeyword(keyword: string): AddedKeywordDefinition | boolean;
696
+ removeKeyword(keyword: string): Ajv$2;
697
+ addFormat(name: string, format: Format): Ajv$2;
698
+ errorsText(errors?: ErrorObject[] | null | undefined,
699
+ // optional array of validation errors
700
+ {
701
+ separator,
702
+ dataVar
703
+ }?: ErrorsTextOptions): string;
704
+ $dataMetaSchema(metaSchema: AnySchemaObject, keywordsJsonPointers: string[]): AnySchemaObject;
705
+ private _removeAllSchemas;
706
+ _addSchema(schema: AnySchema, meta?: boolean, baseId?: string, validateSchema?: boolean | "log", addSchema?: boolean): SchemaEnv;
707
+ private _checkUnique;
708
+ private _compileSchemaEnv;
709
+ private _compileMetaSchema;
710
+ }
711
+ interface ErrorsTextOptions {
712
+ separator?: string;
713
+ dataVar?: string;
714
+ }
715
+ //#endregion
716
+ //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/resolve.d.ts
717
+ type LocalRefs = { [Ref in string]?: AnySchemaObject };
718
+ //#endregion
719
+ //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/compile/index.d.ts
720
+ type SchemaRefs = { [Ref in string]?: SchemaEnv | AnySchema };
721
+ interface SchemaCxt {
722
+ readonly gen: CodeGen;
723
+ readonly allErrors?: boolean;
724
+ readonly data: Name;
725
+ readonly parentData: Name;
726
+ readonly parentDataProperty: Code | number;
727
+ readonly dataNames: Name[];
728
+ readonly dataPathArr: (Code | number)[];
729
+ readonly dataLevel: number;
730
+ dataTypes: JSONType$1[];
731
+ definedProperties: Set<string>;
732
+ readonly topSchemaRef: Code;
733
+ readonly validateName: Name;
734
+ evaluated?: Name;
735
+ readonly ValidationError?: Name;
736
+ readonly schema: AnySchema;
737
+ readonly schemaEnv: SchemaEnv;
738
+ readonly rootId: string;
739
+ baseId: string;
740
+ readonly schemaPath: Code;
741
+ readonly errSchemaPath: string;
742
+ readonly errorPath: Code;
743
+ readonly propertyName?: Name;
744
+ readonly compositeRule?: boolean;
745
+ props?: EvaluatedProperties | Name;
746
+ items?: EvaluatedItems | Name;
747
+ jtdDiscriminator?: string;
748
+ jtdMetadata?: boolean;
749
+ readonly createErrors?: boolean;
750
+ readonly opts: InstanceOptions;
751
+ readonly self: Ajv$2;
752
+ }
753
+ interface SchemaObjCxt extends SchemaCxt {
754
+ readonly schema: AnySchemaObject;
755
+ }
756
+ interface SchemaEnvArgs {
757
+ readonly schema: AnySchema;
758
+ readonly schemaId?: "$id" | "id";
759
+ readonly root?: SchemaEnv;
760
+ readonly baseId?: string;
761
+ readonly schemaPath?: string;
762
+ readonly localRefs?: LocalRefs;
763
+ readonly meta?: boolean;
764
+ }
765
+ declare class SchemaEnv implements SchemaEnvArgs {
766
+ readonly schema: AnySchema;
767
+ readonly schemaId?: "$id" | "id";
768
+ readonly root: SchemaEnv;
769
+ baseId: string;
770
+ schemaPath?: string;
771
+ localRefs?: LocalRefs;
772
+ readonly meta?: boolean;
773
+ readonly $async?: boolean;
774
+ readonly refs: SchemaRefs;
775
+ readonly dynamicAnchors: { [Ref in string]?: true };
776
+ validate?: AnyValidateFunction;
777
+ validateName?: ValueScopeName;
778
+ serialize?: (data: unknown) => string;
779
+ serializeName?: ValueScopeName;
780
+ parse?: (data: string) => unknown;
781
+ parseName?: ValueScopeName;
782
+ constructor(env: SchemaEnvArgs);
783
+ }
784
+ //#endregion
785
+ //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/types/index.d.ts
786
+ interface _SchemaObject {
787
+ id?: string;
788
+ $id?: string;
789
+ $schema?: string;
790
+ [x: string]: any;
791
+ }
792
+ interface SchemaObject extends _SchemaObject {
793
+ id?: string;
794
+ $id?: string;
795
+ $schema?: string;
796
+ $async?: false;
797
+ [x: string]: any;
798
+ }
799
+ interface AsyncSchema extends _SchemaObject {
800
+ $async: true;
801
+ }
802
+ type AnySchemaObject = SchemaObject | AsyncSchema;
803
+ type Schema = SchemaObject | boolean;
804
+ type AnySchema = Schema | AsyncSchema;
805
+ interface SourceCode {
806
+ validateName: ValueScopeName;
807
+ validateCode: string;
808
+ scopeValues: ScopeValueSets;
809
+ evaluated?: Code;
810
+ }
811
+ interface DataValidationCxt<T extends string | number = string | number> {
812
+ instancePath: string;
813
+ parentData: { [K in T]: any };
814
+ parentDataProperty: T;
815
+ rootData: Record<string, any> | any[];
816
+ dynamicAnchors: { [Ref in string]?: ValidateFunction };
817
+ }
818
+ interface ValidateFunction<T = unknown> {
819
+ (this: Ajv$2 | any, data: any, dataCxt?: DataValidationCxt): data is T;
820
+ errors?: null | ErrorObject[];
821
+ evaluated?: Evaluated;
822
+ schema: AnySchema;
823
+ schemaEnv: SchemaEnv;
824
+ source?: SourceCode;
825
+ }
826
+ type EvaluatedProperties = { [K in string]?: true } | true;
827
+ type EvaluatedItems = number | true;
828
+ interface Evaluated {
829
+ props?: EvaluatedProperties;
830
+ items?: EvaluatedItems;
831
+ dynamicProps: boolean;
832
+ dynamicItems: boolean;
833
+ }
834
+ interface AsyncValidateFunction<T = unknown> extends ValidateFunction<T> {
835
+ (...args: Parameters<ValidateFunction<T>>): Promise<T>;
836
+ $async: true;
837
+ }
838
+ type AnyValidateFunction<T = any> = ValidateFunction<T> | AsyncValidateFunction<T>;
839
+ interface ErrorObject<K$1 extends string = string, P = Record<string, any>, S = unknown> {
840
+ keyword: K$1;
841
+ instancePath: string;
842
+ schemaPath: string;
843
+ params: P;
844
+ propertyName?: string;
845
+ message?: string;
846
+ schema?: S;
847
+ parentSchema?: AnySchemaObject;
848
+ data?: unknown;
849
+ }
850
+ interface _KeywordDef {
851
+ keyword: string | string[];
852
+ type?: JSONType$1 | JSONType$1[];
853
+ schemaType?: JSONType$1 | JSONType$1[];
854
+ allowUndefined?: boolean;
855
+ $data?: boolean;
856
+ implements?: string[];
857
+ before?: string;
858
+ post?: boolean;
859
+ metaSchema?: AnySchemaObject;
860
+ validateSchema?: AnyValidateFunction;
861
+ dependencies?: string[];
862
+ error?: KeywordErrorDefinition;
863
+ $dataError?: KeywordErrorDefinition;
864
+ }
865
+ interface CodeKeywordDefinition extends _KeywordDef {
866
+ code: (cxt: KeywordCxt, ruleType?: string) => void;
867
+ trackErrors?: boolean;
868
+ }
869
+ type MacroKeywordFunc = (schema: any, parentSchema: AnySchemaObject, it: SchemaCxt) => AnySchema;
870
+ type CompileKeywordFunc = (schema: any, parentSchema: AnySchemaObject, it: SchemaObjCxt) => DataValidateFunction;
871
+ interface DataValidateFunction {
872
+ (...args: Parameters<ValidateFunction>): boolean | Promise<any>;
873
+ errors?: Partial<ErrorObject>[];
874
+ }
875
+ interface SchemaValidateFunction {
876
+ (schema: any, data: any, parentSchema?: AnySchemaObject, dataCxt?: DataValidationCxt): boolean | Promise<any>;
877
+ errors?: Partial<ErrorObject>[];
878
+ }
879
+ interface FuncKeywordDefinition extends _KeywordDef {
880
+ validate?: SchemaValidateFunction | DataValidateFunction;
881
+ compile?: CompileKeywordFunc;
882
+ schema?: boolean;
883
+ modifying?: boolean;
884
+ async?: boolean;
885
+ valid?: boolean;
886
+ errors?: boolean | "full";
887
+ }
888
+ interface MacroKeywordDefinition extends FuncKeywordDefinition {
889
+ macro: MacroKeywordFunc;
890
+ }
891
+ type KeywordDefinition = CodeKeywordDefinition | FuncKeywordDefinition | MacroKeywordDefinition;
892
+ type AddedKeywordDefinition = KeywordDefinition & {
893
+ type: JSONType$1[];
894
+ schemaType: JSONType$1[];
895
+ };
896
+ interface KeywordErrorDefinition {
897
+ message: string | Code | ((cxt: KeywordErrorCxt) => string | Code);
898
+ params?: Code | ((cxt: KeywordErrorCxt) => Code);
899
+ }
900
+ type Vocabulary = (KeywordDefinition | string)[];
901
+ interface KeywordErrorCxt {
902
+ gen: CodeGen;
903
+ keyword: string;
904
+ data: Name;
905
+ $data?: string | false;
906
+ schema: any;
907
+ parentSchema?: AnySchemaObject;
908
+ schemaCode: Code | number | boolean;
909
+ schemaValue: Code | number | boolean;
910
+ schemaType?: JSONType$1[];
911
+ errsCount?: Name;
912
+ params: KeywordCxtParams;
913
+ it: SchemaCxt;
914
+ }
915
+ type KeywordCxtParams = { [P in string]?: Code | string | number };
916
+ type FormatValidator<T extends string | number> = (data: T) => boolean;
917
+ type FormatCompare<T extends string | number> = (data1: T, data2: T) => number | undefined;
918
+ type AsyncFormatValidator<T extends string | number> = (data: T) => Promise<boolean>;
919
+ interface FormatDefinition<T extends string | number> {
920
+ type?: T extends string ? "string" | undefined : "number";
921
+ validate: FormatValidator<T> | (T extends string ? string | RegExp : never);
922
+ async?: false | undefined;
923
+ compare?: FormatCompare<T>;
924
+ }
925
+ interface AsyncFormatDefinition<T extends string | number> {
926
+ type?: T extends string ? "string" | undefined : "number";
927
+ validate: AsyncFormatValidator<T>;
928
+ async: true;
929
+ compare?: FormatCompare<T>;
930
+ }
931
+ type AddedFormat = true | RegExp | FormatValidator<string> | FormatDefinition<string> | FormatDefinition<number> | AsyncFormatDefinition<string> | AsyncFormatDefinition<number>;
932
+ type Format = AddedFormat | string;
933
+ interface RegExpEngine {
934
+ (pattern: string, u: string): RegExpLike;
935
+ code: string;
936
+ }
937
+ interface RegExpLike {
938
+ test: (s: string) => boolean;
939
+ }
940
+ interface UriResolver {
941
+ parse(uri: string): URIComponent;
942
+ resolve(base: string, path: string): string;
943
+ serialize(component: URIComponent): string;
944
+ }
945
+ //#endregion
946
+ //#region ../../node_modules/.pnpm/ajv@8.18.0/node_modules/ajv/dist/ajv.d.ts
947
+ declare class Ajv$1 extends Ajv$2 {
948
+ _addVocabularies(): void;
949
+ _addDefaultMetaSchema(): void;
950
+ defaultMeta(): string | AnySchemaObject | undefined;
951
+ }
952
+ //#endregion
953
+ //#region ../../node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/formats.d.ts
954
+ type FormatMode = "fast" | "full";
955
+ type FormatName = "date" | "time" | "date-time" | "iso-time" | "iso-date-time" | "duration" | "uri" | "uri-reference" | "uri-template" | "url" | "email" | "hostname" | "ipv4" | "ipv6" | "regex" | "uuid" | "json-pointer" | "json-pointer-uri-fragment" | "relative-json-pointer" | "byte" | "int32" | "int64" | "float" | "double" | "password" | "binary";
956
+ //#endregion
957
+ //#region ../../node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.18.0/node_modules/ajv-formats/dist/index.d.ts
958
+ interface FormatOptions {
959
+ mode?: FormatMode;
960
+ formats?: FormatName[];
961
+ keywords?: boolean;
962
+ }
963
+ type FormatsPluginOptions = FormatName[] | FormatOptions;
964
+ interface FormatsPlugin extends Plugin<FormatsPluginOptions> {
965
+ get: (format: FormatName, mode?: FormatMode) => Format;
966
+ }
967
+ declare const formatsPlugin: FormatsPlugin;
968
+ //#endregion
969
+ //#region ../core-internal/src/validators/ajvProvider.d.ts
970
+ /** Structural subset of the AJV interface used by {@link AjvJsonSchemaValidator}. */
971
+ interface AjvLike {
972
+ compile: (schema: unknown) => AjvValidateFunction;
973
+ getSchema: (keyRef: string) => AjvValidateFunction | undefined;
974
+ errorsText: (errors?: any) => string;
975
+ }
976
+ interface AjvValidateFunction {
977
+ (input: unknown): boolean;
978
+ errors?: any;
979
+ }
980
+ /** `ajv-formats` default export, normalised through the CJS/ESM interop wrapper. */
981
+ declare const addFormats: typeof formatsPlugin.default;
982
+ /**
983
+ * AJV-backed JSON Schema validator. See `@modelcontextprotocol/{client,server}/validators/ajv`
984
+ * for the customisation entry point (re-exports `Ajv` and `addFormats` from the bundled copy).
985
+ *
986
+ * Default validates as **JSON Schema 2020-12** (SEP-1613). Schemas declaring a different
987
+ * `$schema` are rejected with a plain `Error`; pass a pre-configured Ajv instance to validate
988
+ * other dialects. The SDK bundles ajv internally but does not re-export `Ajv2020` (its type
989
+ * graph tips downstream declaration bundling — see #2339). To construct a custom 2020-12
990
+ * instance, add `ajv` to your own dependencies (matching the SDK's pinned version) and
991
+ * `import { Ajv2020 } from 'ajv/dist/2020.js'` — `new Ajv(...)` is the draft-07 class and would
992
+ * silently downgrade dialect.
993
+ *
994
+ * @example Use with default configuration
995
+ * ```ts source="./ajvProvider.examples.ts#AjvJsonSchemaValidator_default"
996
+ * const validator = new AjvJsonSchemaValidator();
997
+ * ```
998
+ *
999
+ * @example Use with a custom AJV instance
1000
+ * ```ts source="./ajvProvider.examples.ts#AjvJsonSchemaValidator_customInstance"
1001
+ * // import { Ajv2020 } from 'ajv/dist/2020.js';
1002
+ * const ajv = new Ajv2020({ strict: false, validateSchema: false, allErrors: true });
1003
+ * const validator = new AjvJsonSchemaValidator(ajv);
1004
+ * ```
1005
+ *
1006
+ * @example Register ajv-formats
1007
+ * ```ts source="./ajvProvider.examples.ts#AjvJsonSchemaValidator_withFormats"
1008
+ * // import { Ajv2020 } from 'ajv/dist/2020.js';
1009
+ * const ajv = new Ajv2020({ strict: false, validateSchema: false, allErrors: true });
1010
+ * addFormats(ajv);
1011
+ * const validator = new AjvJsonSchemaValidator(ajv);
1012
+ * ```
1013
+ */
1014
+ declare class AjvJsonSchemaValidator implements jsonSchemaValidator {
1015
+ private _ajv;
1016
+ /** True iff the constructor received a caller-supplied engine; the `$schema` check is skipped. */
1017
+ private readonly _userAjv;
1018
+ /**
1019
+ * @param ajv - Optional pre-configured AJV-compatible instance. When supplied, this instance is
1020
+ * used for **every** schema regardless of its declared `$schema` (the caller owns dialect
1021
+ * choice). When omitted, the provider constructs a single `Ajv2020` instance with
1022
+ * `strict: false`, `validateFormats: true`, `validateSchema: false`, `allErrors: true`, and
1023
+ * `ajv-formats` registered — **lazily, on the first {@linkcode getValidator} call**, so
1024
+ * constructing the provider (e.g. as the default validator of a `Client`/`Server` that never
1025
+ * validates a JSON Schema) does not pay the ajv + ajv-formats instantiation cost. The parameter
1026
+ * is typed structurally so consumers who don't pass an instance need not have `ajv` installed.
1027
+ */
1028
+ constructor(ajv?: AjvLike);
1029
+ /** The underlying engine — the default instance is created on first use. */
1030
+ private get ajv();
1031
+ getValidator<T>(schema: JsonSchemaType): JsonSchemaValidator<T>;
1032
+ }
1033
+ /**
1034
+ * Draft-07 AJV class, re-exported for consumers who need to opt back to the pre-SEP-1613 default.
1035
+ * The full v1-equivalent construction is:
1036
+ *
1037
+ * ```ts
1038
+ * const ajv = new Ajv({ strict: false, validateFormats: true, validateSchema: false, allErrors: true });
1039
+ * addFormats(ajv);
1040
+ * new AjvJsonSchemaValidator(ajv);
1041
+ * ```
1042
+ *
1043
+ * (omitting `validateSchema: false` makes a 2020-12-stamped `$schema` fail with an opaque
1044
+ * "no schema with key or ref …" engine error; omitting `addFormats` silently drops `format`
1045
+ * validation that the v1 default had).
1046
+ *
1047
+ * The SDK bundles ajv internally but does not re-export `Ajv2020` (its type graph tips downstream
1048
+ * declaration bundling — see #2339). To construct a custom 2020-12 instance, add `ajv` to your own
1049
+ * dependencies (matching the SDK's pinned version) and `import { Ajv2020 } from 'ajv/dist/2020.js'`.
1050
+ */
1051
+ declare const Ajv: typeof Ajv$1;
1052
+ //#endregion
1053
+ export { AjvJsonSchemaValidator as n, addFormats as r, Ajv as t };
1054
+ //# sourceMappingURL=ajvProvider-B7GnTXYx.d.mts.map