mcp-use 2.0.0-beta.9 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1237) hide show
  1. package/dist/bin.js +1 -179
  2. package/dist/branding.d.ts +7 -11
  3. package/dist/buffered-response.d.ts +27 -0
  4. package/dist/chunk-273ZVKJJ.js +2 -0
  5. package/dist/{chunk-GTOOHAI2.js → chunk-GX6PGIEO.js} +33 -143
  6. package/dist/chunk-IS7FKXFR.js +1 -0
  7. package/dist/chunk-KGTOBJW2.js +1 -0
  8. package/dist/chunk-MIZQEWZS.js +1 -0
  9. package/dist/chunk-OJF6B5EU.js +1 -0
  10. package/dist/chunk-PSKSL567.js +1 -0
  11. package/dist/chunk-XYHHP43G.js +1 -0
  12. package/dist/chunk-Y26DNVWA.js +3 -0
  13. package/dist/chunk-ZMU5USAZ.js +1 -0
  14. package/dist/completable.d.ts +0 -1
  15. package/dist/config.d.ts +24 -84
  16. package/dist/context.d.ts +154 -60
  17. package/dist/fetch-app.d.ts +3 -28
  18. package/dist/index-node.js +781 -0
  19. package/dist/index.d.ts +31 -14
  20. package/dist/index.js +41 -2548
  21. package/dist/internal/node-http-unavailable.js +1 -0
  22. package/dist/internal/node-http.js +1 -0
  23. package/dist/internal/resource-completion.js +1 -7
  24. package/dist/internal/usage.js +1 -0
  25. package/dist/landing-handler-TG6LVQBI.js +1 -0
  26. package/dist/landing-handler.d.ts +1 -2
  27. package/dist/landing.d.ts +19 -5
  28. package/dist/landing.js +1 -7
  29. package/dist/listen-address.d.ts +8 -0
  30. package/dist/logging.d.ts +0 -1
  31. package/dist/mcp-proxy-NETCUGUD.js +2 -0
  32. package/dist/mcp-proxy.d.ts +158 -0
  33. package/dist/middleware/cors.d.ts +0 -1
  34. package/dist/middleware/mcp-middleware.d.ts +178 -104
  35. package/dist/mount-mcp.d.ts +0 -1
  36. package/dist/next/config.d.ts +67 -0
  37. package/dist/next/handler.d.ts +32 -0
  38. package/dist/next/index.d.ts +9 -0
  39. package/dist/next/index.js +1 -0
  40. package/dist/node-bridge.d.ts +33 -4
  41. package/dist/node-bridge.js +1 -151
  42. package/dist/node-http-unavailable.d.ts +9 -0
  43. package/dist/node-http.d.ts +2 -0
  44. package/dist/oauth/adapters.d.ts +0 -1
  45. package/dist/oauth/auth0.d.ts +24 -1
  46. package/dist/oauth/auth0.js +1 -61
  47. package/dist/oauth/better-auth.d.ts +23 -1
  48. package/dist/oauth/better-auth.js +1 -76
  49. package/dist/oauth/clerk.d.ts +30 -3
  50. package/dist/oauth/clerk.js +1 -70
  51. package/dist/oauth/errors.d.ts +3 -0
  52. package/dist/oauth/guards.d.ts +0 -1
  53. package/dist/oauth/index.d.ts +0 -1
  54. package/dist/oauth/index.js +1 -28
  55. package/dist/oauth/internal.d.ts +0 -1
  56. package/dist/oauth/jwt.d.ts +10 -4
  57. package/dist/oauth/keycloak.d.ts +28 -1
  58. package/dist/oauth/keycloak.js +1 -94
  59. package/dist/oauth/provider.d.ts +17 -2
  60. package/dist/oauth/supabase.d.ts +38 -2
  61. package/dist/oauth/supabase.js +1 -101
  62. package/dist/oauth/workos.d.ts +27 -1
  63. package/dist/oauth/workos.js +1 -77
  64. package/dist/openapi/index.d.ts +0 -1
  65. package/dist/openapi/index.js +1 -7
  66. package/dist/openapi/types.d.ts +0 -1
  67. package/dist/prompts.d.ts +7 -4
  68. package/dist/public-route-DAQJGS6K.js +1 -0
  69. package/dist/react/components/error-boundary.d.ts +3 -1
  70. package/dist/react/components/image.d.ts +0 -1
  71. package/dist/react/components/model-context.d.ts +8 -57
  72. package/dist/react/components/theme-provider.d.ts +7 -4
  73. package/dist/react/components/view-controls.d.ts +0 -1
  74. package/dist/react/hooks/use-call-tool.d.ts +29 -12
  75. package/dist/react/hooks/use-display-mode.d.ts +0 -1
  76. package/dist/react/hooks/use-files.d.ts +0 -1
  77. package/dist/react/hooks/use-host-context.d.ts +5 -1
  78. package/dist/react/hooks/use-open-external.d.ts +0 -1
  79. package/dist/react/hooks/use-send-follow-up.d.ts +0 -1
  80. package/dist/react/hooks/use-send-size-changed.d.ts +0 -1
  81. package/dist/react/hooks/use-tool-context.d.ts +0 -1
  82. package/dist/react/hooks/use-view-state.d.ts +23 -0
  83. package/dist/react/hooks/use-view-theme.d.ts +0 -1
  84. package/dist/react/hooks/use-view-tool.d.ts +3 -4
  85. package/dist/react/index.d.ts +9 -9
  86. package/dist/react/index.js +286 -131
  87. package/dist/react/public-assets.d.ts +21 -6
  88. package/dist/react/runtime/bootstrap-view.d.ts +3 -4
  89. package/dist/react/runtime/model-context-store.d.ts +34 -69
  90. package/dist/react/runtime/view-config.d.ts +0 -1
  91. package/dist/react/runtime/view-runtime-context.d.ts +0 -1
  92. package/dist/react/runtime/view-runtime.d.ts +4 -6
  93. package/dist/react/types/file-types.d.ts +2 -1
  94. package/dist/react/types/host-types.d.ts +2 -1
  95. package/dist/react/types/register.d.ts +11 -4
  96. package/dist/react/types/result-types.d.ts +0 -1
  97. package/dist/resource-completion.d.ts +0 -1
  98. package/dist/resources.d.ts +14 -6
  99. package/dist/response-conversion.d.ts +25 -0
  100. package/dist/response-helpers.d.ts +231 -0
  101. package/dist/server.d.ts +118 -51
  102. package/dist/tools.d.ts +14 -14
  103. package/dist/usage.d.ts +14 -0
  104. package/dist/views/capabilities.d.ts +0 -1
  105. package/dist/views/constants.d.ts +1 -2
  106. package/dist/views/csp-env.d.ts +0 -1
  107. package/dist/views/document.d.ts +9 -11
  108. package/dist/views/index.d.ts +0 -1
  109. package/dist/views/origin.d.ts +0 -1
  110. package/dist/views/public-route.d.ts +2 -3
  111. package/dist/views/register.d.ts +1 -2
  112. package/dist/views/routes.d.ts +1 -2
  113. package/dist/views/types.d.ts +21 -17
  114. package/dist/views/wire.d.ts +7 -7
  115. package/dist/vite-client.d.ts +1 -0
  116. package/package.json +41 -21
  117. package/dist/.tsbuildinfo +0 -1
  118. package/dist/bin/args.d.ts +0 -61
  119. package/dist/bin/args.d.ts.map +0 -1
  120. package/dist/bin/main.d.ts +0 -32
  121. package/dist/bin/main.d.ts.map +0 -1
  122. package/dist/bin/start.d.ts +0 -40
  123. package/dist/bin/start.d.ts.map +0 -1
  124. package/dist/bin.d.ts +0 -3
  125. package/dist/bin.d.ts.map +0 -1
  126. package/dist/bin.js.map +0 -1
  127. package/dist/branding.d.ts.map +0 -1
  128. package/dist/chunk-AATFAERC.js +0 -384
  129. package/dist/chunk-AATFAERC.js.map +0 -1
  130. package/dist/chunk-DPL7OEXC.js +0 -518
  131. package/dist/chunk-DPL7OEXC.js.map +0 -1
  132. package/dist/chunk-DQ7LE4ZA.js +0 -237
  133. package/dist/chunk-DQ7LE4ZA.js.map +0 -1
  134. package/dist/chunk-FC2Z2VFO.js +0 -99
  135. package/dist/chunk-FC2Z2VFO.js.map +0 -1
  136. package/dist/chunk-GTOOHAI2.js.map +0 -1
  137. package/dist/chunk-IG2BCCMU.js +0 -98
  138. package/dist/chunk-IG2BCCMU.js.map +0 -1
  139. package/dist/chunk-KIZ72TIK.js +0 -38
  140. package/dist/chunk-KIZ72TIK.js.map +0 -1
  141. package/dist/chunk-QUUANIE4.js +0 -125
  142. package/dist/chunk-QUUANIE4.js.map +0 -1
  143. package/dist/chunk-RQRT27Q3.js +0 -454
  144. package/dist/chunk-RQRT27Q3.js.map +0 -1
  145. package/dist/chunk-SMN75YED.js +0 -66
  146. package/dist/chunk-SMN75YED.js.map +0 -1
  147. package/dist/chunk-STCR3P5O.js +0 -95
  148. package/dist/chunk-STCR3P5O.js.map +0 -1
  149. package/dist/chunk-XUD22N3Y.js +0 -156
  150. package/dist/chunk-XUD22N3Y.js.map +0 -1
  151. package/dist/chunk-Z326HADF.js +0 -82
  152. package/dist/chunk-Z326HADF.js.map +0 -1
  153. package/dist/chunk-ZMIKQPSO.js +0 -151
  154. package/dist/chunk-ZMIKQPSO.js.map +0 -1
  155. package/dist/cli/build.d.ts +0 -61
  156. package/dist/cli/build.d.ts.map +0 -1
  157. package/dist/cli/dev-api.d.ts +0 -49
  158. package/dist/cli/dev-api.d.ts.map +0 -1
  159. package/dist/cli/dev.d.ts +0 -101
  160. package/dist/cli/dev.d.ts.map +0 -1
  161. package/dist/cli/entry.d.ts +0 -31
  162. package/dist/cli/entry.d.ts.map +0 -1
  163. package/dist/cli/index.d.ts +0 -17
  164. package/dist/cli/index.d.ts.map +0 -1
  165. package/dist/cli/port.d.ts +0 -30
  166. package/dist/cli/port.d.ts.map +0 -1
  167. package/dist/cli/tools-declaration.d.ts +0 -22
  168. package/dist/cli/tools-declaration.d.ts.map +0 -1
  169. package/dist/cli/tunnel.d.ts +0 -46
  170. package/dist/cli/tunnel.d.ts.map +0 -1
  171. package/dist/cli/views-bindings.d.ts +0 -30
  172. package/dist/cli/views-bindings.d.ts.map +0 -1
  173. package/dist/cli/views-plugin.d.ts +0 -47
  174. package/dist/cli/views-plugin.d.ts.map +0 -1
  175. package/dist/cli/views.d.ts +0 -75
  176. package/dist/cli/views.d.ts.map +0 -1
  177. package/dist/cli/vite-config.d.ts +0 -21
  178. package/dist/cli/vite-config.d.ts.map +0 -1
  179. package/dist/cli/workspace.d.ts +0 -107
  180. package/dist/cli/workspace.d.ts.map +0 -1
  181. package/dist/commands/build.d.ts +0 -8
  182. package/dist/commands/build.d.ts.map +0 -1
  183. package/dist/commands/build.js +0 -374
  184. package/dist/commands/build.js.map +0 -1
  185. package/dist/commands/client.d.ts +0 -22
  186. package/dist/commands/client.d.ts.map +0 -1
  187. package/dist/commands/client.js +0 -14
  188. package/dist/commands/client.js.map +0 -1
  189. package/dist/commands/cloud-api.d.ts +0 -70
  190. package/dist/commands/cloud-api.d.ts.map +0 -1
  191. package/dist/commands/deploy.d.ts +0 -3
  192. package/dist/commands/deploy.d.ts.map +0 -1
  193. package/dist/commands/deploy.js +0 -242
  194. package/dist/commands/deploy.js.map +0 -1
  195. package/dist/commands/deployments.d.ts +0 -3
  196. package/dist/commands/deployments.d.ts.map +0 -1
  197. package/dist/commands/deployments.js +0 -213
  198. package/dist/commands/deployments.js.map +0 -1
  199. package/dist/commands/dev.d.ts +0 -8
  200. package/dist/commands/dev.d.ts.map +0 -1
  201. package/dist/commands/dev.js +0 -656
  202. package/dist/commands/dev.js.map +0 -1
  203. package/dist/commands/identity.d.ts +0 -3
  204. package/dist/commands/identity.d.ts.map +0 -1
  205. package/dist/commands/identity.js +0 -192
  206. package/dist/commands/identity.js.map +0 -1
  207. package/dist/commands/load-client.d.ts +0 -11
  208. package/dist/commands/load-client.d.ts.map +0 -1
  209. package/dist/commands/organizations.d.ts +0 -3
  210. package/dist/commands/organizations.d.ts.map +0 -1
  211. package/dist/commands/organizations.js +0 -97
  212. package/dist/commands/organizations.js.map +0 -1
  213. package/dist/commands/screenshot.d.ts +0 -3
  214. package/dist/commands/screenshot.d.ts.map +0 -1
  215. package/dist/commands/screenshot.js +0 -463
  216. package/dist/commands/screenshot.js.map +0 -1
  217. package/dist/commands/servers.d.ts +0 -3
  218. package/dist/commands/servers.d.ts.map +0 -1
  219. package/dist/commands/servers.js +0 -278
  220. package/dist/commands/servers.js.map +0 -1
  221. package/dist/commands/shared.d.ts +0 -44
  222. package/dist/commands/shared.d.ts.map +0 -1
  223. package/dist/commands/skills.d.ts +0 -3
  224. package/dist/commands/skills.d.ts.map +0 -1
  225. package/dist/commands/skills.js +0 -84
  226. package/dist/commands/skills.js.map +0 -1
  227. package/dist/commands/start.d.ts +0 -8
  228. package/dist/commands/start.d.ts.map +0 -1
  229. package/dist/commands/start.js +0 -72
  230. package/dist/commands/start.js.map +0 -1
  231. package/dist/completable.d.ts.map +0 -1
  232. package/dist/config.d.ts.map +0 -1
  233. package/dist/context.d.ts.map +0 -1
  234. package/dist/fetch-app.d.ts.map +0 -1
  235. package/dist/index.d.ts.map +0 -1
  236. package/dist/index.js.map +0 -1
  237. package/dist/inspector-shell.d.ts +0 -90
  238. package/dist/inspector-shell.d.ts.map +0 -1
  239. package/dist/internal/resource-completion.js.map +0 -1
  240. package/dist/landing-handler-3VN4BMR2.js +0 -34
  241. package/dist/landing-handler-3VN4BMR2.js.map +0 -1
  242. package/dist/landing-handler.d.ts.map +0 -1
  243. package/dist/landing.d.ts.map +0 -1
  244. package/dist/landing.js.map +0 -1
  245. package/dist/logging.d.ts.map +0 -1
  246. package/dist/middleware/cors.d.ts.map +0 -1
  247. package/dist/middleware/mcp-middleware.d.ts.map +0 -1
  248. package/dist/mount-mcp.d.ts.map +0 -1
  249. package/dist/node-bridge.d.ts.map +0 -1
  250. package/dist/node-bridge.js.map +0 -1
  251. package/dist/oauth/adapters.d.ts.map +0 -1
  252. package/dist/oauth/auth0.d.ts.map +0 -1
  253. package/dist/oauth/auth0.js.map +0 -1
  254. package/dist/oauth/better-auth.d.ts.map +0 -1
  255. package/dist/oauth/better-auth.js.map +0 -1
  256. package/dist/oauth/clerk.d.ts.map +0 -1
  257. package/dist/oauth/clerk.js.map +0 -1
  258. package/dist/oauth/guards.d.ts.map +0 -1
  259. package/dist/oauth/index.d.ts.map +0 -1
  260. package/dist/oauth/index.js.map +0 -1
  261. package/dist/oauth/internal.d.ts.map +0 -1
  262. package/dist/oauth/jwt.d.ts.map +0 -1
  263. package/dist/oauth/keycloak.d.ts.map +0 -1
  264. package/dist/oauth/keycloak.js.map +0 -1
  265. package/dist/oauth/provider.d.ts.map +0 -1
  266. package/dist/oauth/supabase.d.ts.map +0 -1
  267. package/dist/oauth/supabase.js.map +0 -1
  268. package/dist/oauth/workos.d.ts.map +0 -1
  269. package/dist/oauth/workos.js.map +0 -1
  270. package/dist/openapi/index.d.ts.map +0 -1
  271. package/dist/openapi/index.js.map +0 -1
  272. package/dist/openapi/types.d.ts.map +0 -1
  273. package/dist/prompts.d.ts.map +0 -1
  274. package/dist/public-route-5JEGFEIN.js +0 -9
  275. package/dist/public-route-5JEGFEIN.js.map +0 -1
  276. package/dist/react/components/error-boundary.d.ts.map +0 -1
  277. package/dist/react/components/image.d.ts.map +0 -1
  278. package/dist/react/components/model-context.d.ts.map +0 -1
  279. package/dist/react/components/theme-provider.d.ts.map +0 -1
  280. package/dist/react/components/view-controls.d.ts.map +0 -1
  281. package/dist/react/hooks/use-call-tool.d.ts.map +0 -1
  282. package/dist/react/hooks/use-display-mode.d.ts.map +0 -1
  283. package/dist/react/hooks/use-files.d.ts.map +0 -1
  284. package/dist/react/hooks/use-host-context.d.ts.map +0 -1
  285. package/dist/react/hooks/use-open-external.d.ts.map +0 -1
  286. package/dist/react/hooks/use-send-follow-up.d.ts.map +0 -1
  287. package/dist/react/hooks/use-send-size-changed.d.ts.map +0 -1
  288. package/dist/react/hooks/use-tool-context.d.ts.map +0 -1
  289. package/dist/react/hooks/use-view-theme.d.ts.map +0 -1
  290. package/dist/react/hooks/use-view-tool.d.ts.map +0 -1
  291. package/dist/react/index.d.ts.map +0 -1
  292. package/dist/react/index.js.map +0 -1
  293. package/dist/react/public-assets.d.ts.map +0 -1
  294. package/dist/react/runtime/bootstrap-view.d.ts.map +0 -1
  295. package/dist/react/runtime/model-context-store.d.ts.map +0 -1
  296. package/dist/react/runtime/view-config.d.ts.map +0 -1
  297. package/dist/react/runtime/view-runtime-context.d.ts.map +0 -1
  298. package/dist/react/runtime/view-runtime.d.ts.map +0 -1
  299. package/dist/react/types/file-types.d.ts.map +0 -1
  300. package/dist/react/types/host-types.d.ts.map +0 -1
  301. package/dist/react/types/register.d.ts.map +0 -1
  302. package/dist/react/types/result-types.d.ts.map +0 -1
  303. package/dist/resource-completion.d.ts.map +0 -1
  304. package/dist/resources.d.ts.map +0 -1
  305. package/dist/server.d.ts.map +0 -1
  306. package/dist/tools.d.ts.map +0 -1
  307. package/dist/views/capabilities.d.ts.map +0 -1
  308. package/dist/views/constants.d.ts.map +0 -1
  309. package/dist/views/csp-env.d.ts.map +0 -1
  310. package/dist/views/document.d.ts.map +0 -1
  311. package/dist/views/index.d.ts.map +0 -1
  312. package/dist/views/origin.d.ts.map +0 -1
  313. package/dist/views/public-route.d.ts.map +0 -1
  314. package/dist/views/register.d.ts.map +0 -1
  315. package/dist/views/routes.d.ts.map +0 -1
  316. package/dist/views/types.d.ts.map +0 -1
  317. package/dist/views/wire.d.ts.map +0 -1
  318. package/node_modules/@modelcontextprotocol/client/LICENSE +0 -216
  319. package/node_modules/@modelcontextprotocol/client/README.md +0 -26
  320. package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-Asx17_Co.mjs +0 -7069
  321. package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-Asx17_Co.mjs.map +0 -1
  322. package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-B7GnTXYx.d.mts +0 -1054
  323. package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-B7GnTXYx.d.mts.map +0 -1
  324. package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-B_4czhCS.d.cts +0 -1054
  325. package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-B_4czhCS.d.cts.map +0 -1
  326. package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-DNzBrkxq.cjs +0 -7086
  327. package/node_modules/@modelcontextprotocol/client/dist/ajvProvider-DNzBrkxq.cjs.map +0 -1
  328. package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-D9GAttn8.d.cts +0 -59
  329. package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-D9GAttn8.d.cts.map +0 -1
  330. package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-DbU8BxXO.mjs +0 -970
  331. package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-DbU8BxXO.mjs.map +0 -1
  332. package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-Djgwc46-.cjs +0 -976
  333. package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-Djgwc46-.cjs.map +0 -1
  334. package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-Xtj52JOa.d.mts +0 -59
  335. package/node_modules/@modelcontextprotocol/client/dist/cfWorkerProvider-Xtj52JOa.d.mts.map +0 -1
  336. package/node_modules/@modelcontextprotocol/client/dist/chunk-Bnu9O96Y.cjs +0 -60
  337. package/node_modules/@modelcontextprotocol/client/dist/chunk-Br0eD_fh.mjs +0 -42
  338. package/node_modules/@modelcontextprotocol/client/dist/index-ZagFkUbt.d.mts +0 -2675
  339. package/node_modules/@modelcontextprotocol/client/dist/index-ZagFkUbt.d.mts.map +0 -1
  340. package/node_modules/@modelcontextprotocol/client/dist/index-gN3EXmil.d.cts +0 -2678
  341. package/node_modules/@modelcontextprotocol/client/dist/index-gN3EXmil.d.cts.map +0 -1
  342. package/node_modules/@modelcontextprotocol/client/dist/index.cjs +0 -5427
  343. package/node_modules/@modelcontextprotocol/client/dist/index.cjs.map +0 -1
  344. package/node_modules/@modelcontextprotocol/client/dist/index.d.cts +0 -3196
  345. package/node_modules/@modelcontextprotocol/client/dist/index.d.cts.map +0 -1
  346. package/node_modules/@modelcontextprotocol/client/dist/index.d.mts +0 -3196
  347. package/node_modules/@modelcontextprotocol/client/dist/index.d.mts.map +0 -1
  348. package/node_modules/@modelcontextprotocol/client/dist/index.mjs +0 -5224
  349. package/node_modules/@modelcontextprotocol/client/dist/index.mjs.map +0 -1
  350. package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.cjs +0 -14
  351. package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.cjs.map +0 -1
  352. package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.d.cts +0 -13
  353. package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.d.cts.map +0 -1
  354. package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.d.mts +0 -13
  355. package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.d.mts.map +0 -1
  356. package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.mjs +0 -13
  357. package/node_modules/@modelcontextprotocol/client/dist/shimsBrowser.mjs.map +0 -1
  358. package/node_modules/@modelcontextprotocol/client/dist/shimsNode.cjs +0 -14
  359. package/node_modules/@modelcontextprotocol/client/dist/shimsNode.cjs.map +0 -1
  360. package/node_modules/@modelcontextprotocol/client/dist/shimsNode.d.cts +0 -13
  361. package/node_modules/@modelcontextprotocol/client/dist/shimsNode.d.cts.map +0 -1
  362. package/node_modules/@modelcontextprotocol/client/dist/shimsNode.d.mts +0 -13
  363. package/node_modules/@modelcontextprotocol/client/dist/shimsNode.d.mts.map +0 -1
  364. package/node_modules/@modelcontextprotocol/client/dist/shimsNode.mjs +0 -13
  365. package/node_modules/@modelcontextprotocol/client/dist/shimsNode.mjs.map +0 -1
  366. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.cjs +0 -21
  367. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.cjs.map +0 -1
  368. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.d.cts +0 -13
  369. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.d.cts.map +0 -1
  370. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.d.mts +0 -13
  371. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.d.mts.map +0 -1
  372. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.mjs +0 -20
  373. package/node_modules/@modelcontextprotocol/client/dist/shimsWorkerd.mjs.map +0 -1
  374. package/node_modules/@modelcontextprotocol/client/dist/src-BzzZSQyL.cjs +0 -7331
  375. package/node_modules/@modelcontextprotocol/client/dist/src-BzzZSQyL.cjs.map +0 -1
  376. package/node_modules/@modelcontextprotocol/client/dist/src-DGeA9On3.mjs +0 -6963
  377. package/node_modules/@modelcontextprotocol/client/dist/src-DGeA9On3.mjs.map +0 -1
  378. package/node_modules/@modelcontextprotocol/client/dist/stdio.cjs +0 -181
  379. package/node_modules/@modelcontextprotocol/client/dist/stdio.cjs.map +0 -1
  380. package/node_modules/@modelcontextprotocol/client/dist/stdio.d.cts +0 -87
  381. package/node_modules/@modelcontextprotocol/client/dist/stdio.d.cts.map +0 -1
  382. package/node_modules/@modelcontextprotocol/client/dist/stdio.d.mts +0 -87
  383. package/node_modules/@modelcontextprotocol/client/dist/stdio.d.mts.map +0 -1
  384. package/node_modules/@modelcontextprotocol/client/dist/stdio.mjs +0 -176
  385. package/node_modules/@modelcontextprotocol/client/dist/stdio.mjs.map +0 -1
  386. package/node_modules/@modelcontextprotocol/client/dist/types-BDNQEPSs.d.mts +0 -1099
  387. package/node_modules/@modelcontextprotocol/client/dist/types-BDNQEPSs.d.mts.map +0 -1
  388. package/node_modules/@modelcontextprotocol/client/dist/types-DsbMXNFL.d.cts +0 -1099
  389. package/node_modules/@modelcontextprotocol/client/dist/types-DsbMXNFL.d.cts.map +0 -1
  390. package/node_modules/@modelcontextprotocol/client/dist/validators/ajv.cjs +0 -5
  391. package/node_modules/@modelcontextprotocol/client/dist/validators/ajv.d.cts +0 -2
  392. package/node_modules/@modelcontextprotocol/client/dist/validators/ajv.d.mts +0 -2
  393. package/node_modules/@modelcontextprotocol/client/dist/validators/ajv.mjs +0 -3
  394. package/node_modules/@modelcontextprotocol/client/dist/validators/cfWorker.cjs +0 -3
  395. package/node_modules/@modelcontextprotocol/client/dist/validators/cfWorker.d.cts +0 -2
  396. package/node_modules/@modelcontextprotocol/client/dist/validators/cfWorker.d.mts +0 -2
  397. package/node_modules/@modelcontextprotocol/client/dist/validators/cfWorker.mjs +0 -3
  398. package/node_modules/@modelcontextprotocol/client/package.json +0 -166
  399. package/node_modules/@modelcontextprotocol/core/LICENSE +0 -216
  400. package/node_modules/@modelcontextprotocol/core/README.md +0 -40
  401. package/node_modules/@modelcontextprotocol/core/dist/auth-BUWfrB3C.d.cts +0 -8198
  402. package/node_modules/@modelcontextprotocol/core/dist/auth-BUWfrB3C.d.cts.map +0 -1
  403. package/node_modules/@modelcontextprotocol/core/dist/auth-CEFpHq32.cjs +0 -2862
  404. package/node_modules/@modelcontextprotocol/core/dist/auth-CEFpHq32.cjs.map +0 -1
  405. package/node_modules/@modelcontextprotocol/core/dist/auth-CNbu4K4a.d.mts +0 -8198
  406. package/node_modules/@modelcontextprotocol/core/dist/auth-CNbu4K4a.d.mts.map +0 -1
  407. package/node_modules/@modelcontextprotocol/core/dist/auth-DFgbUATV.mjs +0 -1653
  408. package/node_modules/@modelcontextprotocol/core/dist/auth-DFgbUATV.mjs.map +0 -1
  409. package/node_modules/@modelcontextprotocol/core/dist/index.cjs +0 -174
  410. package/node_modules/@modelcontextprotocol/core/dist/index.d.cts +0 -2
  411. package/node_modules/@modelcontextprotocol/core/dist/index.d.mts +0 -2
  412. package/node_modules/@modelcontextprotocol/core/dist/index.mjs +0 -3
  413. package/node_modules/@modelcontextprotocol/core/dist/internal.cjs +0 -199
  414. package/node_modules/@modelcontextprotocol/core/dist/internal.d.cts +0 -87
  415. package/node_modules/@modelcontextprotocol/core/dist/internal.d.cts.map +0 -1
  416. package/node_modules/@modelcontextprotocol/core/dist/internal.d.mts +0 -87
  417. package/node_modules/@modelcontextprotocol/core/dist/internal.d.mts.map +0 -1
  418. package/node_modules/@modelcontextprotocol/core/dist/internal.mjs +0 -3
  419. package/node_modules/@modelcontextprotocol/core/package.json +0 -85
  420. package/node_modules/jose/LICENSE.md +0 -21
  421. package/node_modules/jose/README.md +0 -153
  422. package/node_modules/jose/dist/types/index.d.ts +0 -55
  423. package/node_modules/jose/dist/types/jwe/compact/decrypt.d.ts +0 -31
  424. package/node_modules/jose/dist/types/jwe/compact/encrypt.d.ts +0 -65
  425. package/node_modules/jose/dist/types/jwe/flattened/decrypt.d.ts +0 -31
  426. package/node_modules/jose/dist/types/jwe/flattened/encrypt.d.ts +0 -83
  427. package/node_modules/jose/dist/types/jwe/general/decrypt.d.ts +0 -31
  428. package/node_modules/jose/dist/types/jwe/general/encrypt.d.ts +0 -74
  429. package/node_modules/jose/dist/types/jwk/embedded.d.ts +0 -17
  430. package/node_modules/jose/dist/types/jwk/thumbprint.d.ts +0 -32
  431. package/node_modules/jose/dist/types/jwks/local.d.ts +0 -29
  432. package/node_modules/jose/dist/types/jwks/remote.d.ts +0 -237
  433. package/node_modules/jose/dist/types/jws/compact/sign.d.ts +0 -36
  434. package/node_modules/jose/dist/types/jws/compact/verify.d.ts +0 -33
  435. package/node_modules/jose/dist/types/jws/flattened/sign.d.ts +0 -42
  436. package/node_modules/jose/dist/types/jws/flattened/verify.d.ts +0 -33
  437. package/node_modules/jose/dist/types/jws/general/sign.d.ts +0 -53
  438. package/node_modules/jose/dist/types/jws/general/verify.d.ts +0 -33
  439. package/node_modules/jose/dist/types/jwt/decrypt.d.ts +0 -35
  440. package/node_modules/jose/dist/types/jwt/encrypt.d.ts +0 -91
  441. package/node_modules/jose/dist/types/jwt/sign.d.ts +0 -43
  442. package/node_modules/jose/dist/types/jwt/unsecured.d.ts +0 -43
  443. package/node_modules/jose/dist/types/jwt/verify.d.ts +0 -37
  444. package/node_modules/jose/dist/types/key/export.d.ts +0 -33
  445. package/node_modules/jose/dist/types/key/generate_key_pair.d.ts +0 -47
  446. package/node_modules/jose/dist/types/key/generate_secret.d.ts +0 -35
  447. package/node_modules/jose/dist/types/key/import.d.ts +0 -83
  448. package/node_modules/jose/dist/types/types.d.ts +0 -841
  449. package/node_modules/jose/dist/types/util/base64url.d.ts +0 -9
  450. package/node_modules/jose/dist/types/util/decode_jwt.d.ts +0 -18
  451. package/node_modules/jose/dist/types/util/decode_protected_header.d.ts +0 -17
  452. package/node_modules/jose/dist/types/util/errors.d.ts +0 -213
  453. package/node_modules/jose/dist/webapi/index.js +0 -32
  454. package/node_modules/jose/dist/webapi/jwe/compact/decrypt.js +0 -27
  455. package/node_modules/jose/dist/webapi/jwe/compact/encrypt.js +0 -27
  456. package/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js +0 -165
  457. package/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js +0 -169
  458. package/node_modules/jose/dist/webapi/jwe/general/decrypt.js +0 -31
  459. package/node_modules/jose/dist/webapi/jwe/general/encrypt.js +0 -187
  460. package/node_modules/jose/dist/webapi/jwk/embedded.js +0 -17
  461. package/node_modules/jose/dist/webapi/jwk/thumbprint.js +0 -68
  462. package/node_modules/jose/dist/webapi/jwks/local.js +0 -119
  463. package/node_modules/jose/dist/webapi/jwks/remote.js +0 -179
  464. package/node_modules/jose/dist/webapi/jws/compact/sign.js +0 -18
  465. package/node_modules/jose/dist/webapi/jws/compact/verify.js +0 -21
  466. package/node_modules/jose/dist/webapi/jws/flattened/sign.js +0 -92
  467. package/node_modules/jose/dist/webapi/jws/flattened/verify.js +0 -120
  468. package/node_modules/jose/dist/webapi/jws/general/sign.js +0 -73
  469. package/node_modules/jose/dist/webapi/jws/general/verify.js +0 -24
  470. package/node_modules/jose/dist/webapi/jwt/decrypt.js +0 -23
  471. package/node_modules/jose/dist/webapi/jwt/encrypt.js +0 -108
  472. package/node_modules/jose/dist/webapi/jwt/sign.js +0 -52
  473. package/node_modules/jose/dist/webapi/jwt/unsecured.js +0 -63
  474. package/node_modules/jose/dist/webapi/jwt/verify.js +0 -15
  475. package/node_modules/jose/dist/webapi/key/export.js +0 -11
  476. package/node_modules/jose/dist/webapi/key/generate_key_pair.js +0 -97
  477. package/node_modules/jose/dist/webapi/key/generate_secret.js +0 -40
  478. package/node_modules/jose/dist/webapi/key/import.js +0 -57
  479. package/node_modules/jose/dist/webapi/lib/aesgcmkw.js +0 -16
  480. package/node_modules/jose/dist/webapi/lib/aeskw.js +0 -25
  481. package/node_modules/jose/dist/webapi/lib/asn1.js +0 -243
  482. package/node_modules/jose/dist/webapi/lib/base64.js +0 -22
  483. package/node_modules/jose/dist/webapi/lib/buffer_utils.js +0 -43
  484. package/node_modules/jose/dist/webapi/lib/cek.js +0 -19
  485. package/node_modules/jose/dist/webapi/lib/check_cek_length.js +0 -7
  486. package/node_modules/jose/dist/webapi/lib/check_iv_length.js +0 -7
  487. package/node_modules/jose/dist/webapi/lib/check_key_length.js +0 -8
  488. package/node_modules/jose/dist/webapi/lib/check_key_type.js +0 -122
  489. package/node_modules/jose/dist/webapi/lib/crypto_key.js +0 -143
  490. package/node_modules/jose/dist/webapi/lib/decrypt.js +0 -106
  491. package/node_modules/jose/dist/webapi/lib/decrypt_key_management.js +0 -127
  492. package/node_modules/jose/dist/webapi/lib/digest.js +0 -4
  493. package/node_modules/jose/dist/webapi/lib/ecdhes.js +0 -52
  494. package/node_modules/jose/dist/webapi/lib/encrypt.js +0 -74
  495. package/node_modules/jose/dist/webapi/lib/encrypt_key_management.js +0 -92
  496. package/node_modules/jose/dist/webapi/lib/get_sign_verify_key.js +0 -12
  497. package/node_modules/jose/dist/webapi/lib/invalid_key_input.js +0 -27
  498. package/node_modules/jose/dist/webapi/lib/is_disjoint.js +0 -21
  499. package/node_modules/jose/dist/webapi/lib/is_jwk.js +0 -6
  500. package/node_modules/jose/dist/webapi/lib/is_key_like.js +0 -17
  501. package/node_modules/jose/dist/webapi/lib/is_object.js +0 -14
  502. package/node_modules/jose/dist/webapi/lib/iv.js +0 -19
  503. package/node_modules/jose/dist/webapi/lib/jwk_to_key.js +0 -109
  504. package/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +0 -238
  505. package/node_modules/jose/dist/webapi/lib/key_to_jwk.js +0 -31
  506. package/node_modules/jose/dist/webapi/lib/normalize_key.js +0 -176
  507. package/node_modules/jose/dist/webapi/lib/pbes2kw.js +0 -39
  508. package/node_modules/jose/dist/webapi/lib/private_symbols.js +0 -1
  509. package/node_modules/jose/dist/webapi/lib/rsaes.js +0 -24
  510. package/node_modules/jose/dist/webapi/lib/sign.js +0 -9
  511. package/node_modules/jose/dist/webapi/lib/subtle_dsa.js +0 -31
  512. package/node_modules/jose/dist/webapi/lib/validate_algorithms.js +0 -10
  513. package/node_modules/jose/dist/webapi/lib/validate_crit.js +0 -33
  514. package/node_modules/jose/dist/webapi/lib/verify.js +0 -14
  515. package/node_modules/jose/dist/webapi/util/base64url.js +0 -30
  516. package/node_modules/jose/dist/webapi/util/decode_jwt.js +0 -32
  517. package/node_modules/jose/dist/webapi/util/decode_protected_header.js +0 -34
  518. package/node_modules/jose/dist/webapi/util/errors.js +0 -99
  519. package/node_modules/jose/package.json +0 -200
  520. package/node_modules/zod/LICENSE +0 -21
  521. package/node_modules/zod/README.md +0 -191
  522. package/node_modules/zod/index.cjs +0 -33
  523. package/node_modules/zod/index.d.cts +0 -4
  524. package/node_modules/zod/index.d.ts +0 -4
  525. package/node_modules/zod/index.js +0 -4
  526. package/node_modules/zod/locales/index.cjs +0 -17
  527. package/node_modules/zod/locales/index.d.cts +0 -1
  528. package/node_modules/zod/locales/index.d.ts +0 -1
  529. package/node_modules/zod/locales/index.js +0 -1
  530. package/node_modules/zod/locales/package.json +0 -7
  531. package/node_modules/zod/mini/index.cjs +0 -32
  532. package/node_modules/zod/mini/index.d.cts +0 -3
  533. package/node_modules/zod/mini/index.d.ts +0 -3
  534. package/node_modules/zod/mini/index.js +0 -3
  535. package/node_modules/zod/mini/package.json +0 -7
  536. package/node_modules/zod/package.json +0 -135
  537. package/node_modules/zod/src/index.ts +0 -4
  538. package/node_modules/zod/src/locales/index.ts +0 -1
  539. package/node_modules/zod/src/mini/index.ts +0 -3
  540. package/node_modules/zod/src/v3/ZodError.ts +0 -330
  541. package/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
  542. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
  543. package/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
  544. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
  545. package/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
  546. package/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
  547. package/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
  548. package/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
  549. package/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
  550. package/node_modules/zod/src/v3/errors.ts +0 -13
  551. package/node_modules/zod/src/v3/external.ts +0 -6
  552. package/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
  553. package/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
  554. package/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
  555. package/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
  556. package/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
  557. package/node_modules/zod/src/v3/helpers/util.ts +0 -224
  558. package/node_modules/zod/src/v3/index.ts +0 -4
  559. package/node_modules/zod/src/v3/locales/en.ts +0 -124
  560. package/node_modules/zod/src/v3/standard-schema.ts +0 -113
  561. package/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
  562. package/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
  563. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
  564. package/node_modules/zod/src/v3/tests/array.test.ts +0 -71
  565. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
  566. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
  567. package/node_modules/zod/src/v3/tests/base.test.ts +0 -29
  568. package/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
  569. package/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
  570. package/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
  571. package/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
  572. package/node_modules/zod/src/v3/tests/complex.test.ts +0 -70
  573. package/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
  574. package/node_modules/zod/src/v3/tests/date.test.ts +0 -32
  575. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
  576. package/node_modules/zod/src/v3/tests/default.test.ts +0 -112
  577. package/node_modules/zod/src/v3/tests/description.test.ts +0 -33
  578. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
  579. package/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
  580. package/node_modules/zod/src/v3/tests/error.test.ts +0 -551
  581. package/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
  582. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
  583. package/node_modules/zod/src/v3/tests/function.test.ts +0 -261
  584. package/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
  585. package/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
  586. package/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
  587. package/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
  588. package/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
  589. package/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
  590. package/node_modules/zod/src/v3/tests/map.test.ts +0 -110
  591. package/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
  592. package/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
  593. package/node_modules/zod/src/v3/tests/nan.test.ts +0 -24
  594. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
  595. package/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
  596. package/node_modules/zod/src/v3/tests/number.test.ts +0 -176
  597. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
  598. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
  599. package/node_modules/zod/src/v3/tests/object.test.ts +0 -434
  600. package/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
  601. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
  602. package/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
  603. package/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
  604. package/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
  605. package/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
  606. package/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
  607. package/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
  608. package/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
  609. package/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
  610. package/node_modules/zod/src/v3/tests/record.test.ts +0 -171
  611. package/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
  612. package/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
  613. package/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
  614. package/node_modules/zod/src/v3/tests/set.test.ts +0 -142
  615. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
  616. package/node_modules/zod/src/v3/tests/string.test.ts +0 -916
  617. package/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
  618. package/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
  619. package/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
  620. package/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
  621. package/node_modules/zod/src/v3/tests/void.test.ts +0 -15
  622. package/node_modules/zod/src/v3/types.ts +0 -5138
  623. package/node_modules/zod/src/v4/classic/checks.ts +0 -32
  624. package/node_modules/zod/src/v4/classic/coerce.ts +0 -27
  625. package/node_modules/zod/src/v4/classic/compat.ts +0 -70
  626. package/node_modules/zod/src/v4/classic/errors.ts +0 -82
  627. package/node_modules/zod/src/v4/classic/external.ts +0 -52
  628. package/node_modules/zod/src/v4/classic/from-json-schema.ts +0 -659
  629. package/node_modules/zod/src/v4/classic/index.ts +0 -5
  630. package/node_modules/zod/src/v4/classic/iso.ts +0 -90
  631. package/node_modules/zod/src/v4/classic/parse.ts +0 -82
  632. package/node_modules/zod/src/v4/classic/schemas.ts +0 -2672
  633. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
  634. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +0 -59
  635. package/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
  636. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -216
  637. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
  638. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
  639. package/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
  640. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
  641. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -106
  642. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -326
  643. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
  644. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +0 -573
  645. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +0 -703
  646. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
  647. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -374
  648. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
  649. package/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -62
  650. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -302
  651. package/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -409
  652. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +0 -27
  653. package/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
  654. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +0 -197
  655. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -694
  656. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
  657. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -807
  658. package/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
  659. package/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -96
  660. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -179
  661. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +0 -26
  662. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +0 -895
  663. package/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -360
  664. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
  665. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +0 -39
  666. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +0 -68
  667. package/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -939
  668. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -60
  669. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -198
  670. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +0 -46
  671. package/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -109
  672. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
  673. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -117
  674. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +0 -29
  675. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +0 -24
  676. package/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -330
  677. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
  678. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
  679. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -101
  680. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
  681. package/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -325
  682. package/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -717
  683. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -333
  684. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -450
  685. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -211
  686. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -101
  687. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -74
  688. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +0 -26
  689. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -351
  690. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
  691. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
  692. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
  693. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
  694. package/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -717
  695. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -631
  696. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -633
  697. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -243
  698. package/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -181
  699. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -134
  700. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -125
  701. package/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -1224
  702. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -106
  703. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -771
  704. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -438
  705. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -3125
  706. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -378
  707. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -496
  708. package/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -273
  709. package/node_modules/zod/src/v4/classic/tests/url.test.ts +0 -13
  710. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
  711. package/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
  712. package/node_modules/zod/src/v4/core/api.ts +0 -1823
  713. package/node_modules/zod/src/v4/core/checks.ts +0 -1293
  714. package/node_modules/zod/src/v4/core/config.ts +0 -15
  715. package/node_modules/zod/src/v4/core/core.ts +0 -153
  716. package/node_modules/zod/src/v4/core/doc.ts +0 -44
  717. package/node_modules/zod/src/v4/core/errors.ts +0 -455
  718. package/node_modules/zod/src/v4/core/index.ts +0 -16
  719. package/node_modules/zod/src/v4/core/json-schema-generator.ts +0 -126
  720. package/node_modules/zod/src/v4/core/json-schema-processors.ts +0 -666
  721. package/node_modules/zod/src/v4/core/json-schema.ts +0 -147
  722. package/node_modules/zod/src/v4/core/parse.ts +0 -195
  723. package/node_modules/zod/src/v4/core/regexes.ts +0 -190
  724. package/node_modules/zod/src/v4/core/registries.ts +0 -105
  725. package/node_modules/zod/src/v4/core/schemas.ts +0 -4730
  726. package/node_modules/zod/src/v4/core/standard-schema.ts +0 -159
  727. package/node_modules/zod/src/v4/core/tests/extend.test.ts +0 -59
  728. package/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
  729. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
  730. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +0 -215
  731. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
  732. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +0 -181
  733. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +0 -72
  734. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +0 -379
  735. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +0 -163
  736. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +0 -46
  737. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
  738. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
  739. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +0 -105
  740. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +0 -125
  741. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +0 -45
  742. package/node_modules/zod/src/v4/core/to-json-schema.ts +0 -622
  743. package/node_modules/zod/src/v4/core/util.ts +0 -983
  744. package/node_modules/zod/src/v4/core/versions.ts +0 -5
  745. package/node_modules/zod/src/v4/core/zsf.ts +0 -323
  746. package/node_modules/zod/src/v4/index.ts +0 -4
  747. package/node_modules/zod/src/v4/locales/ar.ts +0 -115
  748. package/node_modules/zod/src/v4/locales/az.ts +0 -111
  749. package/node_modules/zod/src/v4/locales/be.ts +0 -176
  750. package/node_modules/zod/src/v4/locales/bg.ts +0 -128
  751. package/node_modules/zod/src/v4/locales/ca.ts +0 -116
  752. package/node_modules/zod/src/v4/locales/cs.ts +0 -118
  753. package/node_modules/zod/src/v4/locales/da.ts +0 -123
  754. package/node_modules/zod/src/v4/locales/de.ts +0 -116
  755. package/node_modules/zod/src/v4/locales/el.ts +0 -121
  756. package/node_modules/zod/src/v4/locales/en.ts +0 -123
  757. package/node_modules/zod/src/v4/locales/eo.ts +0 -118
  758. package/node_modules/zod/src/v4/locales/es.ts +0 -141
  759. package/node_modules/zod/src/v4/locales/fa.ts +0 -126
  760. package/node_modules/zod/src/v4/locales/fi.ts +0 -121
  761. package/node_modules/zod/src/v4/locales/fr-CA.ts +0 -116
  762. package/node_modules/zod/src/v4/locales/fr.ts +0 -132
  763. package/node_modules/zod/src/v4/locales/he.ts +0 -246
  764. package/node_modules/zod/src/v4/locales/hr.ts +0 -131
  765. package/node_modules/zod/src/v4/locales/hu.ts +0 -117
  766. package/node_modules/zod/src/v4/locales/hy.ts +0 -164
  767. package/node_modules/zod/src/v4/locales/id.ts +0 -115
  768. package/node_modules/zod/src/v4/locales/index.ts +0 -52
  769. package/node_modules/zod/src/v4/locales/is.ts +0 -119
  770. package/node_modules/zod/src/v4/locales/it.ts +0 -116
  771. package/node_modules/zod/src/v4/locales/ja.ts +0 -114
  772. package/node_modules/zod/src/v4/locales/ka.ts +0 -123
  773. package/node_modules/zod/src/v4/locales/kh.ts +0 -7
  774. package/node_modules/zod/src/v4/locales/km.ts +0 -119
  775. package/node_modules/zod/src/v4/locales/ko.ts +0 -121
  776. package/node_modules/zod/src/v4/locales/lt.ts +0 -239
  777. package/node_modules/zod/src/v4/locales/mk.ts +0 -118
  778. package/node_modules/zod/src/v4/locales/ms.ts +0 -115
  779. package/node_modules/zod/src/v4/locales/nl.ts +0 -121
  780. package/node_modules/zod/src/v4/locales/no.ts +0 -116
  781. package/node_modules/zod/src/v4/locales/ota.ts +0 -117
  782. package/node_modules/zod/src/v4/locales/pl.ts +0 -118
  783. package/node_modules/zod/src/v4/locales/ps.ts +0 -126
  784. package/node_modules/zod/src/v4/locales/pt.ts +0 -116
  785. package/node_modules/zod/src/v4/locales/ro.ts +0 -129
  786. package/node_modules/zod/src/v4/locales/ru.ts +0 -176
  787. package/node_modules/zod/src/v4/locales/sl.ts +0 -118
  788. package/node_modules/zod/src/v4/locales/sv.ts +0 -119
  789. package/node_modules/zod/src/v4/locales/ta.ts +0 -118
  790. package/node_modules/zod/src/v4/locales/th.ts +0 -119
  791. package/node_modules/zod/src/v4/locales/tr.ts +0 -111
  792. package/node_modules/zod/src/v4/locales/ua.ts +0 -7
  793. package/node_modules/zod/src/v4/locales/uk.ts +0 -117
  794. package/node_modules/zod/src/v4/locales/ur.ts +0 -119
  795. package/node_modules/zod/src/v4/locales/uz.ts +0 -117
  796. package/node_modules/zod/src/v4/locales/vi.ts +0 -117
  797. package/node_modules/zod/src/v4/locales/yo.ts +0 -124
  798. package/node_modules/zod/src/v4/locales/zh-CN.ts +0 -116
  799. package/node_modules/zod/src/v4/locales/zh-TW.ts +0 -115
  800. package/node_modules/zod/src/v4/mini/checks.ts +0 -32
  801. package/node_modules/zod/src/v4/mini/coerce.ts +0 -27
  802. package/node_modules/zod/src/v4/mini/external.ts +0 -41
  803. package/node_modules/zod/src/v4/mini/index.ts +0 -3
  804. package/node_modules/zod/src/v4/mini/iso.ts +0 -66
  805. package/node_modules/zod/src/v4/mini/parse.ts +0 -14
  806. package/node_modules/zod/src/v4/mini/schemas.ts +0 -1947
  807. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +0 -24
  808. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
  809. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -94
  810. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
  811. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +0 -548
  812. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
  813. package/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
  814. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -5
  815. package/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -993
  816. package/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
  817. package/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -227
  818. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
  819. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -325
  820. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +0 -50
  821. package/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -352
  822. package/node_modules/zod/src/v4-mini/index.ts +0 -3
  823. package/node_modules/zod/v3/ZodError.cjs +0 -138
  824. package/node_modules/zod/v3/ZodError.d.cts +0 -164
  825. package/node_modules/zod/v3/ZodError.d.ts +0 -164
  826. package/node_modules/zod/v3/ZodError.js +0 -133
  827. package/node_modules/zod/v3/errors.cjs +0 -17
  828. package/node_modules/zod/v3/errors.d.cts +0 -5
  829. package/node_modules/zod/v3/errors.d.ts +0 -5
  830. package/node_modules/zod/v3/errors.js +0 -9
  831. package/node_modules/zod/v3/external.cjs +0 -22
  832. package/node_modules/zod/v3/external.d.cts +0 -6
  833. package/node_modules/zod/v3/external.d.ts +0 -6
  834. package/node_modules/zod/v3/external.js +0 -6
  835. package/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
  836. package/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
  837. package/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
  838. package/node_modules/zod/v3/helpers/enumUtil.js +0 -1
  839. package/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
  840. package/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
  841. package/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
  842. package/node_modules/zod/v3/helpers/errorUtil.js +0 -6
  843. package/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
  844. package/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
  845. package/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
  846. package/node_modules/zod/v3/helpers/parseUtil.js +0 -109
  847. package/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
  848. package/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
  849. package/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
  850. package/node_modules/zod/v3/helpers/partialUtil.js +0 -1
  851. package/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
  852. package/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
  853. package/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
  854. package/node_modules/zod/v3/helpers/typeAliases.js +0 -1
  855. package/node_modules/zod/v3/helpers/util.cjs +0 -137
  856. package/node_modules/zod/v3/helpers/util.d.cts +0 -85
  857. package/node_modules/zod/v3/helpers/util.d.ts +0 -85
  858. package/node_modules/zod/v3/helpers/util.js +0 -133
  859. package/node_modules/zod/v3/index.cjs +0 -33
  860. package/node_modules/zod/v3/index.d.cts +0 -4
  861. package/node_modules/zod/v3/index.d.ts +0 -4
  862. package/node_modules/zod/v3/index.js +0 -4
  863. package/node_modules/zod/v3/locales/en.cjs +0 -112
  864. package/node_modules/zod/v3/locales/en.d.cts +0 -3
  865. package/node_modules/zod/v3/locales/en.d.ts +0 -3
  866. package/node_modules/zod/v3/locales/en.js +0 -109
  867. package/node_modules/zod/v3/package.json +0 -7
  868. package/node_modules/zod/v3/standard-schema.cjs +0 -2
  869. package/node_modules/zod/v3/standard-schema.d.cts +0 -102
  870. package/node_modules/zod/v3/standard-schema.d.ts +0 -102
  871. package/node_modules/zod/v3/standard-schema.js +0 -1
  872. package/node_modules/zod/v3/types.cjs +0 -3777
  873. package/node_modules/zod/v3/types.d.cts +0 -1034
  874. package/node_modules/zod/v3/types.d.ts +0 -1034
  875. package/node_modules/zod/v3/types.js +0 -3695
  876. package/node_modules/zod/v4/classic/checks.cjs +0 -33
  877. package/node_modules/zod/v4/classic/checks.d.cts +0 -1
  878. package/node_modules/zod/v4/classic/checks.d.ts +0 -1
  879. package/node_modules/zod/v4/classic/checks.js +0 -1
  880. package/node_modules/zod/v4/classic/coerce.cjs +0 -47
  881. package/node_modules/zod/v4/classic/coerce.d.cts +0 -17
  882. package/node_modules/zod/v4/classic/coerce.d.ts +0 -17
  883. package/node_modules/zod/v4/classic/coerce.js +0 -17
  884. package/node_modules/zod/v4/classic/compat.cjs +0 -61
  885. package/node_modules/zod/v4/classic/compat.d.cts +0 -50
  886. package/node_modules/zod/v4/classic/compat.d.ts +0 -50
  887. package/node_modules/zod/v4/classic/compat.js +0 -31
  888. package/node_modules/zod/v4/classic/errors.cjs +0 -74
  889. package/node_modules/zod/v4/classic/errors.d.cts +0 -30
  890. package/node_modules/zod/v4/classic/errors.d.ts +0 -30
  891. package/node_modules/zod/v4/classic/errors.js +0 -48
  892. package/node_modules/zod/v4/classic/external.cjs +0 -73
  893. package/node_modules/zod/v4/classic/external.d.cts +0 -16
  894. package/node_modules/zod/v4/classic/external.d.ts +0 -16
  895. package/node_modules/zod/v4/classic/external.js +0 -20
  896. package/node_modules/zod/v4/classic/from-json-schema.cjs +0 -625
  897. package/node_modules/zod/v4/classic/from-json-schema.d.cts +0 -12
  898. package/node_modules/zod/v4/classic/from-json-schema.d.ts +0 -12
  899. package/node_modules/zod/v4/classic/from-json-schema.js +0 -599
  900. package/node_modules/zod/v4/classic/index.cjs +0 -33
  901. package/node_modules/zod/v4/classic/index.d.cts +0 -4
  902. package/node_modules/zod/v4/classic/index.d.ts +0 -4
  903. package/node_modules/zod/v4/classic/index.js +0 -4
  904. package/node_modules/zod/v4/classic/iso.cjs +0 -60
  905. package/node_modules/zod/v4/classic/iso.d.cts +0 -22
  906. package/node_modules/zod/v4/classic/iso.d.ts +0 -22
  907. package/node_modules/zod/v4/classic/iso.js +0 -30
  908. package/node_modules/zod/v4/classic/package.json +0 -7
  909. package/node_modules/zod/v4/classic/parse.cjs +0 -41
  910. package/node_modules/zod/v4/classic/parse.d.cts +0 -31
  911. package/node_modules/zod/v4/classic/parse.d.ts +0 -31
  912. package/node_modules/zod/v4/classic/parse.js +0 -15
  913. package/node_modules/zod/v4/classic/schemas.cjs +0 -1511
  914. package/node_modules/zod/v4/classic/schemas.d.cts +0 -767
  915. package/node_modules/zod/v4/classic/schemas.d.ts +0 -767
  916. package/node_modules/zod/v4/classic/schemas.js +0 -1395
  917. package/node_modules/zod/v4/core/api.cjs +0 -1227
  918. package/node_modules/zod/v4/core/api.d.cts +0 -325
  919. package/node_modules/zod/v4/core/api.d.ts +0 -325
  920. package/node_modules/zod/v4/core/api.js +0 -1087
  921. package/node_modules/zod/v4/core/checks.cjs +0 -601
  922. package/node_modules/zod/v4/core/checks.d.cts +0 -278
  923. package/node_modules/zod/v4/core/checks.d.ts +0 -278
  924. package/node_modules/zod/v4/core/checks.js +0 -575
  925. package/node_modules/zod/v4/core/core.cjs +0 -85
  926. package/node_modules/zod/v4/core/core.d.cts +0 -70
  927. package/node_modules/zod/v4/core/core.d.ts +0 -70
  928. package/node_modules/zod/v4/core/core.js +0 -78
  929. package/node_modules/zod/v4/core/doc.cjs +0 -39
  930. package/node_modules/zod/v4/core/doc.d.cts +0 -14
  931. package/node_modules/zod/v4/core/doc.d.ts +0 -14
  932. package/node_modules/zod/v4/core/doc.js +0 -35
  933. package/node_modules/zod/v4/core/errors.cjs +0 -216
  934. package/node_modules/zod/v4/core/errors.d.cts +0 -221
  935. package/node_modules/zod/v4/core/errors.d.ts +0 -221
  936. package/node_modules/zod/v4/core/errors.js +0 -185
  937. package/node_modules/zod/v4/core/index.cjs +0 -47
  938. package/node_modules/zod/v4/core/index.d.cts +0 -16
  939. package/node_modules/zod/v4/core/index.d.ts +0 -16
  940. package/node_modules/zod/v4/core/index.js +0 -16
  941. package/node_modules/zod/v4/core/json-schema-generator.cjs +0 -99
  942. package/node_modules/zod/v4/core/json-schema-generator.d.cts +0 -65
  943. package/node_modules/zod/v4/core/json-schema-generator.d.ts +0 -65
  944. package/node_modules/zod/v4/core/json-schema-generator.js +0 -95
  945. package/node_modules/zod/v4/core/json-schema-processors.cjs +0 -644
  946. package/node_modules/zod/v4/core/json-schema-processors.d.cts +0 -49
  947. package/node_modules/zod/v4/core/json-schema-processors.d.ts +0 -49
  948. package/node_modules/zod/v4/core/json-schema-processors.js +0 -601
  949. package/node_modules/zod/v4/core/json-schema.cjs +0 -2
  950. package/node_modules/zod/v4/core/json-schema.d.cts +0 -88
  951. package/node_modules/zod/v4/core/json-schema.d.ts +0 -88
  952. package/node_modules/zod/v4/core/json-schema.js +0 -1
  953. package/node_modules/zod/v4/core/package.json +0 -7
  954. package/node_modules/zod/v4/core/parse.cjs +0 -131
  955. package/node_modules/zod/v4/core/parse.d.cts +0 -49
  956. package/node_modules/zod/v4/core/parse.d.ts +0 -49
  957. package/node_modules/zod/v4/core/parse.js +0 -93
  958. package/node_modules/zod/v4/core/regexes.cjs +0 -172
  959. package/node_modules/zod/v4/core/regexes.d.cts +0 -85
  960. package/node_modules/zod/v4/core/regexes.d.ts +0 -85
  961. package/node_modules/zod/v4/core/regexes.js +0 -139
  962. package/node_modules/zod/v4/core/registries.cjs +0 -56
  963. package/node_modules/zod/v4/core/registries.d.cts +0 -35
  964. package/node_modules/zod/v4/core/registries.d.ts +0 -35
  965. package/node_modules/zod/v4/core/registries.js +0 -51
  966. package/node_modules/zod/v4/core/schemas.cjs +0 -2270
  967. package/node_modules/zod/v4/core/schemas.d.cts +0 -1184
  968. package/node_modules/zod/v4/core/schemas.d.ts +0 -1184
  969. package/node_modules/zod/v4/core/schemas.js +0 -2239
  970. package/node_modules/zod/v4/core/standard-schema.cjs +0 -2
  971. package/node_modules/zod/v4/core/standard-schema.d.cts +0 -126
  972. package/node_modules/zod/v4/core/standard-schema.d.ts +0 -126
  973. package/node_modules/zod/v4/core/standard-schema.js +0 -1
  974. package/node_modules/zod/v4/core/to-json-schema.cjs +0 -457
  975. package/node_modules/zod/v4/core/to-json-schema.d.cts +0 -114
  976. package/node_modules/zod/v4/core/to-json-schema.d.ts +0 -114
  977. package/node_modules/zod/v4/core/to-json-schema.js +0 -448
  978. package/node_modules/zod/v4/core/util.cjs +0 -734
  979. package/node_modules/zod/v4/core/util.d.cts +0 -200
  980. package/node_modules/zod/v4/core/util.d.ts +0 -200
  981. package/node_modules/zod/v4/core/util.js +0 -674
  982. package/node_modules/zod/v4/core/versions.cjs +0 -8
  983. package/node_modules/zod/v4/core/versions.d.cts +0 -5
  984. package/node_modules/zod/v4/core/versions.d.ts +0 -5
  985. package/node_modules/zod/v4/core/versions.js +0 -5
  986. package/node_modules/zod/v4/index.cjs +0 -22
  987. package/node_modules/zod/v4/index.d.cts +0 -3
  988. package/node_modules/zod/v4/index.d.ts +0 -3
  989. package/node_modules/zod/v4/index.js +0 -3
  990. package/node_modules/zod/v4/locales/ar.cjs +0 -133
  991. package/node_modules/zod/v4/locales/ar.d.cts +0 -5
  992. package/node_modules/zod/v4/locales/ar.d.ts +0 -4
  993. package/node_modules/zod/v4/locales/ar.js +0 -106
  994. package/node_modules/zod/v4/locales/az.cjs +0 -132
  995. package/node_modules/zod/v4/locales/az.d.cts +0 -5
  996. package/node_modules/zod/v4/locales/az.d.ts +0 -4
  997. package/node_modules/zod/v4/locales/az.js +0 -105
  998. package/node_modules/zod/v4/locales/be.cjs +0 -183
  999. package/node_modules/zod/v4/locales/be.d.cts +0 -5
  1000. package/node_modules/zod/v4/locales/be.d.ts +0 -4
  1001. package/node_modules/zod/v4/locales/be.js +0 -156
  1002. package/node_modules/zod/v4/locales/bg.cjs +0 -147
  1003. package/node_modules/zod/v4/locales/bg.d.cts +0 -5
  1004. package/node_modules/zod/v4/locales/bg.d.ts +0 -4
  1005. package/node_modules/zod/v4/locales/bg.js +0 -120
  1006. package/node_modules/zod/v4/locales/ca.cjs +0 -134
  1007. package/node_modules/zod/v4/locales/ca.d.cts +0 -5
  1008. package/node_modules/zod/v4/locales/ca.d.ts +0 -4
  1009. package/node_modules/zod/v4/locales/ca.js +0 -107
  1010. package/node_modules/zod/v4/locales/cs.cjs +0 -138
  1011. package/node_modules/zod/v4/locales/cs.d.cts +0 -5
  1012. package/node_modules/zod/v4/locales/cs.d.ts +0 -4
  1013. package/node_modules/zod/v4/locales/cs.js +0 -111
  1014. package/node_modules/zod/v4/locales/da.cjs +0 -142
  1015. package/node_modules/zod/v4/locales/da.d.cts +0 -5
  1016. package/node_modules/zod/v4/locales/da.d.ts +0 -4
  1017. package/node_modules/zod/v4/locales/da.js +0 -115
  1018. package/node_modules/zod/v4/locales/de.cjs +0 -135
  1019. package/node_modules/zod/v4/locales/de.d.cts +0 -5
  1020. package/node_modules/zod/v4/locales/de.d.ts +0 -4
  1021. package/node_modules/zod/v4/locales/de.js +0 -108
  1022. package/node_modules/zod/v4/locales/el.cjs +0 -136
  1023. package/node_modules/zod/v4/locales/el.d.cts +0 -5
  1024. package/node_modules/zod/v4/locales/el.d.ts +0 -4
  1025. package/node_modules/zod/v4/locales/el.js +0 -109
  1026. package/node_modules/zod/v4/locales/en.cjs +0 -140
  1027. package/node_modules/zod/v4/locales/en.d.cts +0 -5
  1028. package/node_modules/zod/v4/locales/en.d.ts +0 -4
  1029. package/node_modules/zod/v4/locales/en.js +0 -113
  1030. package/node_modules/zod/v4/locales/eo.cjs +0 -136
  1031. package/node_modules/zod/v4/locales/eo.d.cts +0 -5
  1032. package/node_modules/zod/v4/locales/eo.d.ts +0 -4
  1033. package/node_modules/zod/v4/locales/eo.js +0 -109
  1034. package/node_modules/zod/v4/locales/es.cjs +0 -159
  1035. package/node_modules/zod/v4/locales/es.d.cts +0 -5
  1036. package/node_modules/zod/v4/locales/es.d.ts +0 -4
  1037. package/node_modules/zod/v4/locales/es.js +0 -132
  1038. package/node_modules/zod/v4/locales/fa.cjs +0 -141
  1039. package/node_modules/zod/v4/locales/fa.d.cts +0 -5
  1040. package/node_modules/zod/v4/locales/fa.d.ts +0 -4
  1041. package/node_modules/zod/v4/locales/fa.js +0 -114
  1042. package/node_modules/zod/v4/locales/fi.cjs +0 -139
  1043. package/node_modules/zod/v4/locales/fi.d.cts +0 -5
  1044. package/node_modules/zod/v4/locales/fi.d.ts +0 -4
  1045. package/node_modules/zod/v4/locales/fi.js +0 -112
  1046. package/node_modules/zod/v4/locales/fr-CA.cjs +0 -134
  1047. package/node_modules/zod/v4/locales/fr-CA.d.cts +0 -5
  1048. package/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
  1049. package/node_modules/zod/v4/locales/fr-CA.js +0 -107
  1050. package/node_modules/zod/v4/locales/fr.cjs +0 -152
  1051. package/node_modules/zod/v4/locales/fr.d.cts +0 -5
  1052. package/node_modules/zod/v4/locales/fr.d.ts +0 -4
  1053. package/node_modules/zod/v4/locales/fr.js +0 -125
  1054. package/node_modules/zod/v4/locales/he.cjs +0 -241
  1055. package/node_modules/zod/v4/locales/he.d.cts +0 -5
  1056. package/node_modules/zod/v4/locales/he.d.ts +0 -4
  1057. package/node_modules/zod/v4/locales/he.js +0 -214
  1058. package/node_modules/zod/v4/locales/hr.cjs +0 -149
  1059. package/node_modules/zod/v4/locales/hr.d.cts +0 -5
  1060. package/node_modules/zod/v4/locales/hr.d.ts +0 -4
  1061. package/node_modules/zod/v4/locales/hr.js +0 -122
  1062. package/node_modules/zod/v4/locales/hu.cjs +0 -135
  1063. package/node_modules/zod/v4/locales/hu.d.cts +0 -5
  1064. package/node_modules/zod/v4/locales/hu.d.ts +0 -4
  1065. package/node_modules/zod/v4/locales/hu.js +0 -108
  1066. package/node_modules/zod/v4/locales/hy.cjs +0 -174
  1067. package/node_modules/zod/v4/locales/hy.d.cts +0 -5
  1068. package/node_modules/zod/v4/locales/hy.d.ts +0 -4
  1069. package/node_modules/zod/v4/locales/hy.js +0 -147
  1070. package/node_modules/zod/v4/locales/id.cjs +0 -133
  1071. package/node_modules/zod/v4/locales/id.d.cts +0 -5
  1072. package/node_modules/zod/v4/locales/id.d.ts +0 -4
  1073. package/node_modules/zod/v4/locales/id.js +0 -106
  1074. package/node_modules/zod/v4/locales/index.cjs +0 -111
  1075. package/node_modules/zod/v4/locales/index.d.cts +0 -52
  1076. package/node_modules/zod/v4/locales/index.d.ts +0 -52
  1077. package/node_modules/zod/v4/locales/index.js +0 -52
  1078. package/node_modules/zod/v4/locales/is.cjs +0 -136
  1079. package/node_modules/zod/v4/locales/is.d.cts +0 -5
  1080. package/node_modules/zod/v4/locales/is.d.ts +0 -4
  1081. package/node_modules/zod/v4/locales/is.js +0 -109
  1082. package/node_modules/zod/v4/locales/it.cjs +0 -135
  1083. package/node_modules/zod/v4/locales/it.d.cts +0 -5
  1084. package/node_modules/zod/v4/locales/it.d.ts +0 -4
  1085. package/node_modules/zod/v4/locales/it.js +0 -108
  1086. package/node_modules/zod/v4/locales/ja.cjs +0 -134
  1087. package/node_modules/zod/v4/locales/ja.d.cts +0 -5
  1088. package/node_modules/zod/v4/locales/ja.d.ts +0 -4
  1089. package/node_modules/zod/v4/locales/ja.js +0 -107
  1090. package/node_modules/zod/v4/locales/ka.cjs +0 -139
  1091. package/node_modules/zod/v4/locales/ka.d.cts +0 -5
  1092. package/node_modules/zod/v4/locales/ka.d.ts +0 -4
  1093. package/node_modules/zod/v4/locales/ka.js +0 -112
  1094. package/node_modules/zod/v4/locales/kh.cjs +0 -12
  1095. package/node_modules/zod/v4/locales/kh.d.cts +0 -5
  1096. package/node_modules/zod/v4/locales/kh.d.ts +0 -5
  1097. package/node_modules/zod/v4/locales/kh.js +0 -5
  1098. package/node_modules/zod/v4/locales/km.cjs +0 -137
  1099. package/node_modules/zod/v4/locales/km.d.cts +0 -5
  1100. package/node_modules/zod/v4/locales/km.d.ts +0 -4
  1101. package/node_modules/zod/v4/locales/km.js +0 -110
  1102. package/node_modules/zod/v4/locales/ko.cjs +0 -138
  1103. package/node_modules/zod/v4/locales/ko.d.cts +0 -5
  1104. package/node_modules/zod/v4/locales/ko.d.ts +0 -4
  1105. package/node_modules/zod/v4/locales/ko.js +0 -111
  1106. package/node_modules/zod/v4/locales/lt.cjs +0 -230
  1107. package/node_modules/zod/v4/locales/lt.d.cts +0 -5
  1108. package/node_modules/zod/v4/locales/lt.d.ts +0 -4
  1109. package/node_modules/zod/v4/locales/lt.js +0 -203
  1110. package/node_modules/zod/v4/locales/mk.cjs +0 -136
  1111. package/node_modules/zod/v4/locales/mk.d.cts +0 -5
  1112. package/node_modules/zod/v4/locales/mk.d.ts +0 -4
  1113. package/node_modules/zod/v4/locales/mk.js +0 -109
  1114. package/node_modules/zod/v4/locales/ms.cjs +0 -134
  1115. package/node_modules/zod/v4/locales/ms.d.cts +0 -5
  1116. package/node_modules/zod/v4/locales/ms.d.ts +0 -4
  1117. package/node_modules/zod/v4/locales/ms.js +0 -107
  1118. package/node_modules/zod/v4/locales/nl.cjs +0 -137
  1119. package/node_modules/zod/v4/locales/nl.d.cts +0 -5
  1120. package/node_modules/zod/v4/locales/nl.d.ts +0 -4
  1121. package/node_modules/zod/v4/locales/nl.js +0 -110
  1122. package/node_modules/zod/v4/locales/no.cjs +0 -135
  1123. package/node_modules/zod/v4/locales/no.d.cts +0 -5
  1124. package/node_modules/zod/v4/locales/no.d.ts +0 -4
  1125. package/node_modules/zod/v4/locales/no.js +0 -108
  1126. package/node_modules/zod/v4/locales/ota.cjs +0 -136
  1127. package/node_modules/zod/v4/locales/ota.d.cts +0 -5
  1128. package/node_modules/zod/v4/locales/ota.d.ts +0 -4
  1129. package/node_modules/zod/v4/locales/ota.js +0 -109
  1130. package/node_modules/zod/v4/locales/package.json +0 -7
  1131. package/node_modules/zod/v4/locales/pl.cjs +0 -136
  1132. package/node_modules/zod/v4/locales/pl.d.cts +0 -5
  1133. package/node_modules/zod/v4/locales/pl.d.ts +0 -4
  1134. package/node_modules/zod/v4/locales/pl.js +0 -109
  1135. package/node_modules/zod/v4/locales/ps.cjs +0 -141
  1136. package/node_modules/zod/v4/locales/ps.d.cts +0 -5
  1137. package/node_modules/zod/v4/locales/ps.d.ts +0 -4
  1138. package/node_modules/zod/v4/locales/ps.js +0 -114
  1139. package/node_modules/zod/v4/locales/pt.cjs +0 -135
  1140. package/node_modules/zod/v4/locales/pt.d.cts +0 -5
  1141. package/node_modules/zod/v4/locales/pt.d.ts +0 -4
  1142. package/node_modules/zod/v4/locales/pt.js +0 -108
  1143. package/node_modules/zod/v4/locales/ro.cjs +0 -146
  1144. package/node_modules/zod/v4/locales/ro.d.cts +0 -5
  1145. package/node_modules/zod/v4/locales/ro.d.ts +0 -4
  1146. package/node_modules/zod/v4/locales/ro.js +0 -119
  1147. package/node_modules/zod/v4/locales/ru.cjs +0 -183
  1148. package/node_modules/zod/v4/locales/ru.d.cts +0 -5
  1149. package/node_modules/zod/v4/locales/ru.d.ts +0 -4
  1150. package/node_modules/zod/v4/locales/ru.js +0 -156
  1151. package/node_modules/zod/v4/locales/sl.cjs +0 -136
  1152. package/node_modules/zod/v4/locales/sl.d.cts +0 -5
  1153. package/node_modules/zod/v4/locales/sl.d.ts +0 -4
  1154. package/node_modules/zod/v4/locales/sl.js +0 -109
  1155. package/node_modules/zod/v4/locales/sv.cjs +0 -137
  1156. package/node_modules/zod/v4/locales/sv.d.cts +0 -5
  1157. package/node_modules/zod/v4/locales/sv.d.ts +0 -4
  1158. package/node_modules/zod/v4/locales/sv.js +0 -110
  1159. package/node_modules/zod/v4/locales/ta.cjs +0 -137
  1160. package/node_modules/zod/v4/locales/ta.d.cts +0 -5
  1161. package/node_modules/zod/v4/locales/ta.d.ts +0 -4
  1162. package/node_modules/zod/v4/locales/ta.js +0 -110
  1163. package/node_modules/zod/v4/locales/th.cjs +0 -137
  1164. package/node_modules/zod/v4/locales/th.d.cts +0 -5
  1165. package/node_modules/zod/v4/locales/th.d.ts +0 -4
  1166. package/node_modules/zod/v4/locales/th.js +0 -110
  1167. package/node_modules/zod/v4/locales/tr.cjs +0 -132
  1168. package/node_modules/zod/v4/locales/tr.d.cts +0 -5
  1169. package/node_modules/zod/v4/locales/tr.d.ts +0 -4
  1170. package/node_modules/zod/v4/locales/tr.js +0 -105
  1171. package/node_modules/zod/v4/locales/ua.cjs +0 -12
  1172. package/node_modules/zod/v4/locales/ua.d.cts +0 -5
  1173. package/node_modules/zod/v4/locales/ua.d.ts +0 -5
  1174. package/node_modules/zod/v4/locales/ua.js +0 -5
  1175. package/node_modules/zod/v4/locales/uk.cjs +0 -135
  1176. package/node_modules/zod/v4/locales/uk.d.cts +0 -5
  1177. package/node_modules/zod/v4/locales/uk.d.ts +0 -4
  1178. package/node_modules/zod/v4/locales/uk.js +0 -108
  1179. package/node_modules/zod/v4/locales/ur.cjs +0 -137
  1180. package/node_modules/zod/v4/locales/ur.d.cts +0 -5
  1181. package/node_modules/zod/v4/locales/ur.d.ts +0 -4
  1182. package/node_modules/zod/v4/locales/ur.js +0 -110
  1183. package/node_modules/zod/v4/locales/uz.cjs +0 -137
  1184. package/node_modules/zod/v4/locales/uz.d.cts +0 -5
  1185. package/node_modules/zod/v4/locales/uz.d.ts +0 -4
  1186. package/node_modules/zod/v4/locales/uz.js +0 -110
  1187. package/node_modules/zod/v4/locales/vi.cjs +0 -135
  1188. package/node_modules/zod/v4/locales/vi.d.cts +0 -5
  1189. package/node_modules/zod/v4/locales/vi.d.ts +0 -4
  1190. package/node_modules/zod/v4/locales/vi.js +0 -108
  1191. package/node_modules/zod/v4/locales/yo.cjs +0 -134
  1192. package/node_modules/zod/v4/locales/yo.d.cts +0 -5
  1193. package/node_modules/zod/v4/locales/yo.d.ts +0 -4
  1194. package/node_modules/zod/v4/locales/yo.js +0 -107
  1195. package/node_modules/zod/v4/locales/zh-CN.cjs +0 -136
  1196. package/node_modules/zod/v4/locales/zh-CN.d.cts +0 -5
  1197. package/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
  1198. package/node_modules/zod/v4/locales/zh-CN.js +0 -109
  1199. package/node_modules/zod/v4/locales/zh-TW.cjs +0 -134
  1200. package/node_modules/zod/v4/locales/zh-TW.d.cts +0 -5
  1201. package/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
  1202. package/node_modules/zod/v4/locales/zh-TW.js +0 -107
  1203. package/node_modules/zod/v4/mini/checks.cjs +0 -34
  1204. package/node_modules/zod/v4/mini/checks.d.cts +0 -1
  1205. package/node_modules/zod/v4/mini/checks.d.ts +0 -1
  1206. package/node_modules/zod/v4/mini/checks.js +0 -1
  1207. package/node_modules/zod/v4/mini/coerce.cjs +0 -52
  1208. package/node_modules/zod/v4/mini/coerce.d.cts +0 -7
  1209. package/node_modules/zod/v4/mini/coerce.d.ts +0 -7
  1210. package/node_modules/zod/v4/mini/coerce.js +0 -22
  1211. package/node_modules/zod/v4/mini/external.cjs +0 -63
  1212. package/node_modules/zod/v4/mini/external.d.cts +0 -13
  1213. package/node_modules/zod/v4/mini/external.d.ts +0 -13
  1214. package/node_modules/zod/v4/mini/external.js +0 -14
  1215. package/node_modules/zod/v4/mini/index.cjs +0 -32
  1216. package/node_modules/zod/v4/mini/index.d.cts +0 -3
  1217. package/node_modules/zod/v4/mini/index.d.ts +0 -3
  1218. package/node_modules/zod/v4/mini/index.js +0 -3
  1219. package/node_modules/zod/v4/mini/iso.cjs +0 -64
  1220. package/node_modules/zod/v4/mini/iso.d.cts +0 -22
  1221. package/node_modules/zod/v4/mini/iso.d.ts +0 -22
  1222. package/node_modules/zod/v4/mini/iso.js +0 -34
  1223. package/node_modules/zod/v4/mini/package.json +0 -7
  1224. package/node_modules/zod/v4/mini/parse.cjs +0 -16
  1225. package/node_modules/zod/v4/mini/parse.d.cts +0 -1
  1226. package/node_modules/zod/v4/mini/parse.d.ts +0 -1
  1227. package/node_modules/zod/v4/mini/parse.js +0 -1
  1228. package/node_modules/zod/v4/mini/schemas.cjs +0 -1083
  1229. package/node_modules/zod/v4/mini/schemas.d.cts +0 -445
  1230. package/node_modules/zod/v4/mini/schemas.d.ts +0 -445
  1231. package/node_modules/zod/v4/mini/schemas.js +0 -961
  1232. package/node_modules/zod/v4/package.json +0 -7
  1233. package/node_modules/zod/v4-mini/index.cjs +0 -32
  1234. package/node_modules/zod/v4-mini/index.d.cts +0 -3
  1235. package/node_modules/zod/v4-mini/index.d.ts +0 -3
  1236. package/node_modules/zod/v4-mini/index.js +0 -3
  1237. package/node_modules/zod/v4-mini/package.json +0 -7
@@ -1,1099 +0,0 @@
1
- //#region ../../node_modules/.pnpm/json-schema-typed@8.0.2/node_modules/json-schema-typed/draft_2020_12.d.ts
2
-
3
- type MaybeReadonlyArray<T> = Array<T> | ReadonlyArray<T>;
4
- type ValueOf<T> = T[keyof T];
5
- /**
6
- * JSON Schema [Draft 2020-12](https://json-schema.org/draft/2020-12/json-schema-validation.html)
7
- */
8
- type JSONSchema<Value = any, SchemaType = (Value extends boolean ? "boolean" : Value extends null ? "null" : Value extends number ? "number" | "integer" : Value extends string ? "string" : Value extends unknown[] ? "array" : Value extends Record<string | number, unknown> ? "object" : JSONSchema.TypeValue)> = boolean | {
9
- /**
10
- * Using JSON Pointer fragments requires knowledge of the structure of the
11
- * schema. When writing schema documents with the intention to provide
12
- * re-usable schemas, it may be preferable to use a plain name fragment
13
- * that is not tied to any particular structural location. This allows a
14
- * subschema to be relocated without requiring JSON Pointer references to
15
- * be updated.
16
- *
17
- * The `$anchor` keyword is used to specify such a fragment. It is an
18
- * identifier keyword that can only be used to create plain name fragments.
19
- *
20
- * If present, the value of this keyword MUST be a string, which MUST start
21
- * with a letter `[A-Za-z]`, followed by any number of letters, digits
22
- * `[0-9]`, hyphens `-`, underscores `_`, colons `:`,
23
- * or periods `.`.
24
- *
25
- * Note that the anchor string does not include the `#` character,
26
- * as it is not a URI-reference. An `{"$anchor": "foo"}` becomes the
27
- * fragment `#foo` when used in a URI.
28
- *
29
- * The base URI to which the resulting fragment is appended is determined
30
- * by the `$id` keyword as explained in the previous section.
31
- * Two `$anchor` keywords in the same schema document MAY have the same
32
- * value if they apply to different base URIs, as the resulting full URIs
33
- * will be distinct. However, the effect of two `$anchor` keywords
34
- * with the same value and the same base URI is undefined. Implementations
35
- * MAY raise an error if such usage is detected.
36
- */
37
- $anchor?: string;
38
- /**
39
- * This keyword reserves a location for comments from schema authors to
40
- * readers or maintainers of the schema.
41
- *
42
- * The value of this keyword MUST be a string. Implementations MUST NOT
43
- * present this string to end users. Tools for editing schemas SHOULD
44
- * support displaying and editing this keyword. The value of this keyword
45
- * MAY be used in debug or error output which is intended for developers
46
- * making use of schemas.
47
- *
48
- * Schema vocabularies SHOULD allow `$comment` within any object
49
- * containing vocabulary keywords. Implementations MAY assume `$comment`
50
- * is allowed unless the vocabulary specifically forbids it. Vocabularies
51
- * MUST NOT specify any effect of `$comment` beyond what is described in
52
- * this specification.
53
- *
54
- * Tools that translate other media types or programming languages
55
- * to and from `application/schema+json` MAY choose to convert that media
56
- * type or programming language's native comments to or from `$comment`
57
- * values. The behavior of such translation when both native comments and
58
- * `$comment` properties are present is implementation-dependent.
59
- *
60
- * Implementations MAY strip `$comment` values at any point during
61
- * processing. In particular, this allows for shortening schemas when the
62
- * size of deployed schemas is a concern.
63
- *
64
- * Implementations MUST NOT take any other action based on the presence,
65
- * absence, or contents of `$comment` properties. In particular, the
66
- * value of `$comment` MUST NOT be collected as an annotation result.
67
- */
68
- $comment?: string;
69
- /**
70
- * The `$defs` keyword reserves a location for schema authors to inline
71
- * re-usable JSON Schemas into a more general schema. The keyword does not
72
- * directly affect the validation result.
73
- *
74
- * This keyword's value MUST be an object. Each member value of this object
75
- * MUST be a valid JSON Schema.
76
- */
77
- $defs?: Record<string, JSONSchema>;
78
- /**
79
- * "The `$dynamicAnchor` indicates that the fragment is an extension
80
- * point when used with the `$dynamicRef` keyword. This low-level,
81
- * advanced feature makes it easier to extend recursive schemas such as the
82
- * meta-schemas, without imposing any particular semantics on that
83
- * extension. See `$dynamicRef` for more details.
84
- */
85
- $dynamicAnchor?: string;
86
- /**
87
- * The `$dynamicRef` keyword is an applicator that allows for deferring
88
- * the full resolution until runtime, at which point it is resolved each
89
- * time it is encountered while evaluating an instance.
90
- *
91
- * Together with `$dynamicAnchor`, `$dynamicRef` implements a
92
- * cooperative extension mechanism that is primarily useful with recursive
93
- * schemas (schemas that reference themselves). Both the extension point
94
- * and the runtime-determined extension target are defined with
95
- * `$dynamicAnchor`, and only exhibit runtime dynamic behavior when
96
- * referenced with `$dynamicRef`.
97
- *
98
- * The value of the `$dynamicRef` property MUST be a string which is
99
- * a URI-Reference. Resolved against the current URI base, it produces
100
- * the URI used as the starting point for runtime resolution. This initial
101
- * resolution is safe to perform on schema load.
102
- *
103
- * If the initially resolved starting point URI includes a fragment that
104
- * was created by the `$dynamicAnchor` keyword, the initial URI MUST be
105
- * replaced by the URI (including the fragment) for the outermost schema
106
- * resource in the [dynamic scope][scopes] that defines
107
- * an identically named fragment with `$dynamicAnchor`.
108
- *
109
- * Otherwise, its behavior is identical to `$ref`, and no runtime
110
- * resolution is needed.
111
- *
112
- * [scopes]: https://json-schema.org/draft/2020-12/json-schema-core.html#scopes
113
- *
114
- * @format "uri-reference"
115
- */
116
- $dynamicRef?: string;
117
- /**
118
- * The `$id` keyword identifies a schema resource with its
119
- * [canonical][[RFC6596]] URI.
120
- *
121
- * Note that this URI is an identifier and not necessarily a network
122
- * locator. In the case of a network-addressable URL, a schema need not be
123
- * downloadable from its canonical URI.
124
- *
125
- * If present, the value for this keyword MUST be a string, and MUST
126
- * represent a valid [URI-reference][RFC3986]. This URI-reference SHOULD
127
- * be normalized, and MUST resolve to an [absolute-URI][RFC3986] (without a
128
- * fragment). Therefore, `$id` MUST NOT contain a non-empty fragment,
129
- * and SHOULD NOT contain an empty fragment.
130
- *
131
- * Since an empty fragment in the context of the
132
- * `application/schema+json` media type refers to the same resource as
133
- * the base URI without a fragment, an implementation MAY normalize a URI
134
- * ending with an empty fragment by removing the fragment. However, schema
135
- * authors SHOULD NOT rely on this behavior across implementations.
136
- *
137
- * This URI also serves as the base URI for relative URI-references in
138
- * keywords within the schema resource, in accordance with
139
- * [RFC 3986][RFC3986] section 5.1.1 regarding base URIs embedded in
140
- * content.
141
- *
142
- * The presence of `$id` in a subschema indicates that the subschema
143
- * constitutes a distinct schema resource within a single schema document.
144
- * Furthermore, in accordance with [RFC 3986][RFC3986] section 5.1.2
145
- * regarding encapsulating entities, if an `$id` in a subschema is a
146
- * relative URI-reference, the base URI for resolving that reference is the
147
- * URI of the parent schema resource.
148
- *
149
- * If no parent schema object explicitly identifies itself as a resource
150
- * with `$id`, the base URI is that of the entire document.
151
- *
152
- * The root schema of a JSON Schema document SHOULD contain an `$id`
153
- * keyword with an [absolute-URI][RFC3986] (containing a scheme, but no
154
- * fragment).
155
- *
156
- * [RFC6596]: https://datatracker.ietf.org/doc/html/rfc6596
157
- * [RFC3986]: https://datatracker.ietf.org/doc/html/rfc3986
158
- *
159
- * @format "uri-reference"
160
- */
161
- $id?: string;
162
- /**
163
- * The `$ref` keyword is an applicator that is used to reference a
164
- * statically identified schema. Its results are the results of the
165
- * referenced schema. Other keywords can appear alongside of `$ref` in
166
- * the same schema object.
167
- *
168
- * The value of the `$ref` property MUST be a string which is a
169
- * URI-Reference. Resolved against the current URI base, it produces the
170
- * URI of the schema to apply.
171
- *
172
- * @format "uri-reference"
173
- */
174
- $ref?: string;
175
- /**
176
- * The `$schema` keyword is both used as a JSON Schema dialect identifier
177
- * and as the identifier of a resource which is itself a JSON Schema, which
178
- * describes the set of valid schemas written for this particular dialect.
179
- *
180
- * The value of this keyword MUST be a [URI][RFC3986] (containing a scheme)
181
- * and this URI MUST be normalized. The current schema MUST be valid
182
- * against the meta-schema identified by this URI.
183
- *
184
- * If this URI identifies a retrievable resource, that resource SHOULD be
185
- * of media type `application/schema+json`.
186
- *
187
- * The `$schema` keyword SHOULD be used in the document root schema
188
- * object, and MAY be used in the root schema objects of embedded schema
189
- * resources. It MUST NOT appear in non-resource root schema objects. If
190
- * absent from the document root schema, the resulting behavior is
191
- * implementation-defined.
192
- *
193
- * Values for this property are defined elsewhere in this and other
194
- * documents, and by other parties.
195
- *
196
- * [RFC3986]: https://datatracker.ietf.org/doc/html/rfc3986
197
- *
198
- * @format "uri"
199
- */
200
- $schema?: string;
201
- /**
202
- * The `$vocabulary` keyword is used in meta-schemas to identify the
203
- * vocabularies available for use in schemas described by that meta-schema.
204
- * It is also used to indicate whether each vocabulary is required or
205
- * optional, in the sense that an implementation MUST understand the
206
- * required vocabularies in order to successfully process the schema.
207
- * Together, this information forms a dialect. Any vocabulary that is
208
- * understood by the implementation MUST be processed in a manner
209
- * consistent with the semantic definitions contained within the
210
- * vocabulary.
211
- *
212
- * The value of this keyword MUST be an object. The property names in the
213
- * object MUST be URIs (containing a scheme) and this URI MUST be
214
- * normalized. Each URI that appears as a property name identifies a
215
- * specific set of keywords and their semantics.
216
- *
217
- * The URI MAY be a URL, but the nature of the retrievable resource is
218
- * currently undefined, and reserved for future use. Vocabulary authors
219
- * MAY use the URL of the vocabulary specification, in a human-readable
220
- * media type such as `text/html` or `text/plain`, as the vocabulary
221
- * URI.
222
- *
223
- * The values of the object properties MUST be booleans. If the value is
224
- * `true`, then implementations that do not recognize the vocabulary MUST
225
- * refuse to process any schemas that declare this meta-schema with
226
- * `$schema`. If the value is `false`, implementations that do not
227
- * recognize the vocabulary SHOULD proceed with processing such schemas.
228
- * The value has no impact if the implementation understands the
229
- * vocabulary.
230
- *
231
- * Unrecognized keywords SHOULD be ignored. This remains the case for
232
- * keywords defined by unrecognized vocabularies. It is not currently
233
- * possible to distinguish between unrecognized keywords that are defined
234
- * in vocabularies from those that are not part of any vocabulary.
235
- *
236
- * The `$vocabulary` keyword SHOULD be used in the root schema of any
237
- * schema document intended for use as a meta-schema. It MUST NOT appear
238
- * in subschemas.
239
- *
240
- * The `$vocabulary` keyword MUST be ignored in schema documents that are
241
- * not being processed as a meta-schema.
242
- */
243
- $vocabulary?: Record<string, string>;
244
- /**
245
- * @deprecated `additionalItems` has been deprecated in favor of `prefixItems`
246
- * paired with `items`.
247
- */
248
- additionalItems?: JSONSchema;
249
- /**
250
- * The value of `additionalProperties` MUST be a valid JSON Schema.
251
- *
252
- * The behavior of this keyword depends on the presence and annotation
253
- * results of `properties` and `patternProperties` within the same
254
- * schema object. Validation with `additionalProperties` applies only to
255
- * the child values of instance names that do not appear in the annotation
256
- * results of either `properties` or `patternProperties`.
257
- *
258
- * For all such properties, validation succeeds if the child instance
259
- * validates against the `additionalProperties` schema.
260
- *
261
- * The annotation result of this keyword is the set of instance property
262
- * names validated by this keyword's subschema. Annotation results for
263
- * `additionalProperties` keywords from multiple schemas applied to the
264
- * same instance location are combined by taking the union of the sets.
265
- *
266
- * Omitting this keyword has the same assertion behavior as an empty
267
- * schema.
268
- *
269
- * Implementations MAY choose to implement or optimize this keyword in
270
- * another way that produces the same effect, such as by directly checking
271
- * the names in `properties` and the patterns in `patternProperties`
272
- * against the instance property set.
273
- */
274
- additionalProperties?: JSONSchema;
275
- /**
276
- * This keyword's value MUST be a non-empty array. Each item of the array
277
- * MUST be a valid JSON Schema.
278
- *
279
- * An instance validates successfully against this keyword if it validates
280
- * successfully against all schemas defined by this keyword's value.
281
- */
282
- allOf?: MaybeReadonlyArray<JSONSchema<Value, SchemaType>>;
283
- /**
284
- * This keyword's value MUST be a non-empty array. Each item of the array
285
- * MUST be a valid JSON Schema.
286
- *
287
- * An instance validates successfully against this keyword if it validates
288
- * successfully against at least one schema defined by this keyword's
289
- * value.
290
- */
291
- anyOf?: MaybeReadonlyArray<JSONSchema<Value, SchemaType>>;
292
- /**
293
- * An instance validates successfully against this keyword if its value is
294
- * equal to the value of the keyword.
295
- *
296
- * Use of this keyword is functionally equivalent to the `enum` keyword
297
- * with a single value.
298
- */
299
- const?: Value;
300
- /**
301
- * The value of this keyword MUST be a valid JSON Schema.
302
- *
303
- * An array instance is valid against `contains` if at least one of its
304
- * elements is valid against the given schema. The subschema MUST be
305
- * applied to every array element even after the first match has been
306
- * found, in order to collect annotations for use by other keywords.
307
- * This is to ensure that all possible annotations are collected.
308
- *
309
- * Logically, the validation result of applying the value subschema to each
310
- * item in the array MUST be OR'ed with `false`, resulting in an overall
311
- * validation result.
312
- *
313
- * This keyword produces an annotation value which is an array of the
314
- * indexes to which this keyword validates successfully when applying its
315
- * subschema, in ascending order. The value MAY be a boolean `true` if
316
- * the subschema validates successfully when applied to every index of the
317
- * instance. The annotation MUST be present if the instance array to which
318
- * this keyword's schema applies is empty.
319
- */
320
- contains?: JSONSchema<Value, SchemaType>;
321
- /**
322
- * If the instance value is a string, this property defines that the
323
- * string SHOULD be interpreted as binary data and decoded using the
324
- * encoding named by this property. [RFC 2045, Sec 6.1][RFC2045] lists the
325
- * possible values for this property.
326
- *
327
- * The value of this property SHOULD be ignored if the instance described
328
- * is not a string.
329
- *
330
- * If this keyword is absent, but `contentMediaType` is present, this
331
- * indicates that the media type could be encoded into `UTF-8` like any
332
- * other JSON string value, and does not require additional decoding.
333
- *
334
- * The value of this property MUST be a string.
335
- *
336
- * [RFC2045]: https://datatracker.ietf.org/doc/html/rfc2045#section-6.1
337
- */
338
- contentEncoding?: "7bit" | "8bit" | "base64" | "binary" | "ietf-token" | "quoted-printable" | "x-token";
339
- /**
340
- * If the instance is a string, this property indicates the media type
341
- * of the contents of the string. If `contentEncoding` is present,
342
- * this property describes the decoded string.
343
- *
344
- * The value of this property must be a media type, as defined by
345
- * [RFC 2046][RFC2046]. This property defines the media type of instances
346
- * which this schema defines.
347
- *
348
- * The value of this property SHOULD be ignored if the instance described
349
- * is not a string.
350
- *
351
- * If the `contentEncoding` property is not present, but the instance
352
- * value is a string, then the value of this property SHOULD specify a text
353
- * document type, and the character set SHOULD be the character set into
354
- * which the JSON string value was decoded (for which the default is
355
- * Unicode).
356
- *
357
- * [RFC2046]: https://datatracker.ietf.org/doc/html/rfc2046
358
- */
359
- contentMediaType?: string;
360
- /**
361
- * If the instance is a string, and if `contentMediaType` is present,
362
- * this property contains a schema which describes the structure of the
363
- * string.
364
- *
365
- * This keyword MAY be used with any media type that can be mapped into
366
- * JSON Schema's data model.
367
- *
368
- * The value of this property MUST be a valid JSON schema. It SHOULD be
369
- * ignored if `contentMediaType` is not present.
370
- */
371
- contentSchema?: JSONSchema<Value, SchemaType>;
372
- /**
373
- * This keyword can be used to supply a default JSON value associated with
374
- * a particular schema. It is RECOMMENDED that a `default` value be valid
375
- * against the associated schema.
376
- */
377
- default?: Value;
378
- /**
379
- * @deprecated `definitions` has been renamed to `$defs`.
380
- */
381
- definitions?: Record<string, JSONSchema>;
382
- /**
383
- * @deprecated `dependencies` has been split into two keywords:
384
- * `dependentSchemas` and `dependentRequired`.
385
- */
386
- dependencies?: Record<string, MaybeReadonlyArray<string> | JSONSchema>;
387
- /**
388
- * The value of this keyword MUST be an object. Properties in
389
- * this object, if any, MUST be arrays. Elements in each array,
390
- * if any, MUST be strings, and MUST be unique.
391
- *
392
- * This keyword specifies properties that are required if a specific
393
- * other property is present. Their requirement is dependent on the
394
- * presence of the other property.
395
- *
396
- * Validation succeeds if, for each name that appears in both
397
- * the instance and as a name within this keyword's value, every
398
- * item in the corresponding array is also the name of a property
399
- * in the instance.
400
- *
401
- * Omitting this keyword has the same behavior as an empty object.
402
- */
403
- dependentRequired?: Record<string, MaybeReadonlyArray<string>>;
404
- /**
405
- * This keyword specifies subschemas that are evaluated if the instance is
406
- * an object and contains a certain property.
407
- *
408
- * This keyword's value MUST be an object. Each value in the object MUST be
409
- * a valid JSON Schema.
410
- *
411
- * If the object key is a property in the instance, the entire instance
412
- * must validate against the subschema. Its use is dependent on the
413
- * presence of the property.
414
- *
415
- * Omitting this keyword has the same behavior as an empty object.
416
- */
417
- dependentSchemas?: Record<string, JSONSchema>;
418
- /**
419
- * The value of this keyword MUST be a boolean. When multiple occurrences
420
- * of this keyword are applicable to a single sub-instance, applications
421
- * SHOULD consider the instance location to be deprecated if any occurrence
422
- * specifies a `true` value.
423
- *
424
- * If `deprecated` has a value of boolean `true`, it indicates that
425
- * applications SHOULD refrain from usage of the declared property. It MAY
426
- * mean the property is going to be removed in the future.
427
- *
428
- * A root schema containing `deprecated` with a value of `true`
429
- * indicates that the entire resource being described MAY be removed in the
430
- * future.
431
- *
432
- * The `deprecated` keyword applies to each instance location to which
433
- * the schema object containing the keyword successfully applies. This can
434
- * result in scenarios where every array item or object property is
435
- * deprecated even though the containing array or object is not.
436
- *
437
- * Omitting this keyword has the same behavior as a value of `false`.
438
- */
439
- deprecated?: boolean;
440
- /**
441
- * Can be used to decorate a user interface with explanation or information
442
- * about the data produced.
443
- */
444
- description?: string;
445
- /**
446
- * This keyword's value MUST be a valid JSON Schema.
447
- *
448
- * When `if` is present, and the instance fails to validate against its
449
- * subschema, then validation succeeds against this keyword if the instance
450
- * successfully validates against this keyword's subschema.
451
- *
452
- * This keyword has no effect when `if` is absent, or when the instance
453
- * successfully validates against its subschema. Implementations MUST NOT
454
- * evaluate the instance against this keyword, for either validation or
455
- * annotation collection purposes, in such cases.
456
- */
457
- else?: JSONSchema<Value, SchemaType>;
458
- /**
459
- * The value of this keyword MUST be an array. This array SHOULD have at
460
- * least one element. Elements in the array SHOULD be unique.
461
- *
462
- * An instance validates successfully against this keyword if its value is
463
- * equal to one of the elements in this keyword's array value.
464
- *
465
- * Elements in the array might be of any type, including `null`.
466
- */
467
- enum?: MaybeReadonlyArray<Value>;
468
- /**
469
- * The value of this keyword MUST be an array. When multiple occurrences of
470
- * this keyword are applicable to a single sub-instance, implementations
471
- * MUST provide a flat array of all values rather than an array of arrays.
472
- *
473
- * This keyword can be used to provide sample JSON values associated with a
474
- * particular schema, for the purpose of illustrating usage. It is
475
- * RECOMMENDED that these values be valid against the associated schema.
476
- *
477
- * Implementations MAY use the value(s) of `default`, if present, as an
478
- * additional example. If `examples` is absent, `default` MAY still be
479
- * used in this manner.
480
- */
481
- examples?: MaybeReadonlyArray<Value>;
482
- /**
483
- * The value of `exclusiveMaximum` MUST be a number, representing an
484
- * exclusive upper limit for a numeric instance.
485
- *
486
- * If the instance is a number, then the instance is valid only if it has a
487
- * value strictly less than (not equal to) `exclusiveMaximum`.
488
- */
489
- exclusiveMaximum?: number;
490
- /**
491
- * The value of `exclusiveMinimum` MUST be a number, representing an
492
- * exclusive lower limit for a numeric instance.
493
- *
494
- * If the instance is a number, then the instance is valid only if it has a
495
- * value strictly greater than (not equal to) `exclusiveMinimum`.
496
- */
497
- exclusiveMinimum?: number;
498
- /**
499
- * Implementations MAY treat `format` as an assertion in addition to an
500
- * annotation, and attempt to validate the value's conformance to the
501
- * specified semantics.
502
- *
503
- * The value of this keyword is called a format attribute. It MUST be a
504
- * string. A format attribute can generally only validate a given set
505
- * of instance types. If the type of the instance to validate is not in
506
- * this set, validation for this format attribute and instance SHOULD
507
- * succeed. Format attributes are most often applied to strings, but can
508
- * be specified to apply to any type.
509
- *
510
- * Implementations MAY support custom format attributes. Save for agreement
511
- * between parties, schema authors SHALL NOT expect a peer implementation
512
- * to support such custom format attributes. An implementation MUST NOT
513
- * fail validation or cease processing due to an unknown format attribute.
514
- * When treating `format` as an annotation, implementations SHOULD
515
- * collect both known and unknown format attribute values.
516
- */
517
- format?: string;
518
- /**
519
- * This keyword's value MUST be a valid JSON Schema.
520
- *
521
- * This validation outcome of this keyword's subschema has no direct effect
522
- * on the overall validation result. Rather, it controls which of the
523
- * `then` or `else` keywords are evaluated.
524
- *
525
- * Instances that successfully validate against this keyword's subschema
526
- * MUST also be valid against the subschema value of the `then` keyword,
527
- * if present.
528
- *
529
- * Instances that fail to validate against this keyword's subschema MUST
530
- * also be valid against the subschema value of the `else` keyword, if
531
- * present.
532
- *
533
- * If annotations are being collected, they are collected
534
- * from this keyword's subschema in the usual way, including when the
535
- * keyword is present without either `then` or `else`.
536
- */
537
- if?: JSONSchema<Value, SchemaType>;
538
- /**
539
- * The value of `items` MUST be a valid JSON Schema.
540
- *
541
- * This keyword applies its subschema to all instance elements at indexes
542
- * greater than the length of the `prefixItems` array in the same schema
543
- * object, as reported by the annotation result of that `prefixItems`
544
- * keyword. If no such annotation result exists, `items` applies its
545
- * subschema to all instance array elements.
546
- *
547
- * Note that the behavior of `items` without `prefixItems` is identical
548
- * to that of the schema form of `items` in prior drafts.
549
- *
550
- * When `prefixItems` is present, the behavior of `items` is identical
551
- * to the former `additionalItems` keyword.
552
- *
553
- * If the `items` subschema is applied to any positions within the
554
- * instance array, it produces an annotation result of boolean `true`,
555
- * indicating that all remaining array elements have been evaluated against
556
- * this keyword's subschema.
557
- *
558
- * Omitting this keyword has the same assertion behavior as an empty
559
- * schema.
560
- *
561
- * Implementations MAY choose to implement or optimize this keyword
562
- * in another way that produces the same effect, such as by directly
563
- * checking for the presence and size of a `prefixItems` array.
564
- */
565
- items?: JSONSchema;
566
- /**
567
- * The value of this keyword MUST be a non-negative integer.
568
- *
569
- * If `contains` is not present within the same schema object, then this
570
- * keyword has no effect.
571
- *
572
- * An instance array is valid against `maxContains` in two ways,
573
- * depending on the form of the annotation result of an adjacent
574
- * `contains` keyword. The first way is if the annotation result is an
575
- * array and the length of that array is less than or equal to the
576
- * `maxContains` value. The second way is if the annotation result is a
577
- * boolean `true` and the instance array length is less than or equal to
578
- * the `maxContains` value.
579
- */
580
- maxContains?: number;
581
- /**
582
- * The value of `maximum` MUST be a number, representing an inclusive
583
- * upper limit for a numeric instance.
584
- *
585
- * If the instance is a number, then this keyword validates only if the
586
- * instance is less than or exactly equal to `maximum`.
587
- */
588
- maximum?: number;
589
- /**
590
- * The value of this keyword MUST be a non-negative integer.
591
- *
592
- * An array instance is valid against `maxItems` if its size is less
593
- * than, or equal to, the value of this keyword.
594
- *
595
- * @minimum 0
596
- */
597
- maxItems?: number;
598
- /**
599
- * The value of this keyword MUST be a non-negative integer.
600
- *
601
- * A string instance is valid against this keyword if its length is less
602
- * than, or equal to, the value of this keyword.
603
- *
604
- * The length of a string instance is defined as the number of its
605
- * characters as defined by [RFC 8259][RFC8259].
606
- *
607
- * [RFC8259]: https://datatracker.ietf.org/doc/html/rfc8259
608
- *
609
- * @minimum 0
610
- */
611
- maxLength?: number;
612
- /**
613
- * The value of this keyword MUST be a non-negative integer.
614
- *
615
- * An object instance is valid against `maxProperties` if its number of
616
- * `properties` is less than, or equal to, the value of this keyword.
617
- *
618
- * @minimum 0
619
- */
620
- maxProperties?: number;
621
- /**
622
- * The value of this keyword MUST be a non-negative integer.
623
- *
624
- * If `contains` is not present within the same schema object, then this
625
- * keyword has no effect.
626
- *
627
- * An instance array is valid against `minContains` in two ways,
628
- * depending on the form of the annotation result of an adjacent
629
- * `contains` keyword. The first way is if the annotation result is an
630
- * array and the length of that array is greater than or equal to the
631
- * `minContains` value. The second way is if the annotation result is a
632
- * boolean `true` and the instance array length is greater than or equal
633
- * to the `minContains` value.
634
- *
635
- * A value of `0` is allowed, but is only useful for setting a range
636
- * of occurrences from `0` to the value of `maxContains`. A value of
637
- * `0` with no `maxContains` causes `contains` to always pass
638
- * validation.
639
- *
640
- * Omitting this keyword has the same behavior as a value of `1`.
641
- *
642
- * @default 1
643
- */
644
- minContains?: number;
645
- /**
646
- * The value of `minimum` MUST be a number, representing an inclusive
647
- * lower limit for a numeric instance.
648
- *
649
- * If the instance is a number, then this keyword validates only if the
650
- * instance is greater than or exactly equal to `minimum`.
651
- */
652
- minimum?: number;
653
- /**
654
- * The value of this keyword MUST be a non-negative integer.
655
- *
656
- * An array instance is valid against `minItems` if its size is greater
657
- * than, or equal to, the value of this keyword.
658
- *
659
- * Omitting this keyword has the same behavior as a value of `0`.
660
- *
661
- * @default 0
662
- * @minimum 0
663
- */
664
- minItems?: number;
665
- /**
666
- * The value of this keyword MUST be a non-negative integer.
667
- *
668
- * A string instance is valid against this keyword if its length is greater
669
- * than, or equal to, the value of this keyword.
670
- *
671
- * The length of a string instance is defined as the number of its
672
- * characters as defined by [RFC 8259][RFC8259].
673
- *
674
- * Omitting this keyword has the same behavior as a value of `0`.
675
- *
676
- * [RFC8259]: https://datatracker.ietf.org/doc/html/rfc8259
677
- *
678
- * @default 0
679
- * @minimum 0
680
- */
681
- minLength?: number;
682
- /**
683
- * The value of this keyword MUST be a non-negative integer.
684
- *
685
- * An object instance is valid against `minProperties` if its number of
686
- * `properties` is greater than, or equal to, the value of this keyword.
687
- *
688
- * Omitting this keyword has the same behavior as a value of `0`.
689
- *
690
- * @default 0
691
- * @minimum 0
692
- */
693
- minProperties?: number;
694
- /**
695
- * The value of `multipleOf` MUST be a number, strictly greater than
696
- * `0`.
697
- *
698
- * A numeric instance is valid only if division by this keyword's value
699
- * results in an integer.
700
- *
701
- * @exclusiveMinimum 0
702
- */
703
- multipleOf?: number;
704
- /**
705
- * This keyword's value MUST be a valid JSON Schema.
706
- *
707
- * An instance is valid against this keyword if it fails to validate
708
- * successfully against the schema defined by this keyword.
709
- */
710
- not?: JSONSchema<Value, SchemaType>;
711
- /**
712
- * This keyword's value MUST be a non-empty array. Each item of the array
713
- * MUST be a valid JSON Schema.
714
- *
715
- * An instance validates successfully against this keyword if it validates
716
- * successfully against exactly one schema defined by this keyword's value.
717
- */
718
- oneOf?: MaybeReadonlyArray<JSONSchema<Value, SchemaType>>;
719
- /**
720
- * The value of this keyword MUST be a string. This string SHOULD be a
721
- * valid regular expression, according to the [ECMA-262][ecma262] regular
722
- * expression dialect.
723
- *
724
- * A string instance is considered valid if the regular expression matches
725
- * the instance successfully. Recall: regular expressions are not
726
- * implicitly anchored.
727
- *
728
- * [ecma262]: https://www.ecma-international.org/publications-and-standards/standards/ecma-262/
729
- *
730
- * @format "regex"
731
- */
732
- pattern?: string;
733
- /**
734
- * The value of `patternProperties` MUST be an object. Each property name
735
- * of this object SHOULD be a valid regular expression, according to the
736
- * [ECMA-262][ecma262] regular expression dialect. Each property value of
737
- * this object MUST be a valid JSON Schema.
738
- *
739
- * Validation succeeds if, for each instance name that matches any regular
740
- * expressions that appear as a property name in this keyword's value,
741
- * the child instance for that name successfully validates against each
742
- * schema that corresponds to a matching regular expression.
743
- *
744
- * The annotation result of this keyword is the set of instance property
745
- * names matched by this keyword. Omitting this keyword has the same
746
- * assertion behavior as an empty object.
747
- *
748
- * [ecma262]: https://www.ecma-international.org/publications-and-standards/standards/ecma-262/
749
- */
750
- patternProperties?: Record<string, JSONSchema>;
751
- /**
752
- * The value of `prefixItems` MUST be a non-empty array of valid JSON
753
- * Schemas.
754
- *
755
- * Validation succeeds if each element of the instance validates against
756
- * the schema at the same position, if any. This keyword does not
757
- * constrain the length of the array. If the array is longer than this
758
- * keyword's value, this keyword validates only the prefix of matching
759
- * length.
760
- *
761
- * This keyword produces an annotation value which is the largest index to
762
- * which this keyword applied a subschema. The value MAY be a boolean
763
- * `true` if a subschema was applied to every index of the instance, such
764
- * as is produced by the `items` keyword.
765
- * This annotation affects the behavior of `items` and
766
- * `unevaluatedItems`.
767
- *
768
- * Omitting this keyword has the same assertion behavior as an empty array.
769
- */
770
- prefixItems?: MaybeReadonlyArray<JSONSchema> | JSONSchema;
771
- /**
772
- * The value of `properties` MUST be an object. Each value of this object
773
- * MUST be a valid JSON Schema.
774
- *
775
- * Validation succeeds if, for each name that appears in both the instance
776
- * and as a name within this keyword's value, the child instance for that
777
- * name successfully validates against the corresponding schema.
778
- *
779
- * The annotation result of this keyword is the set of instance property
780
- * names matched by this keyword.
781
- *
782
- * Omitting this keyword has the same assertion behavior as an empty
783
- * object.
784
- */
785
- properties?: Record<string, JSONSchema>;
786
- /**
787
- * The value of `propertyNames` MUST be a valid JSON Schema.
788
- *
789
- * If the instance is an object, this keyword validates if every property
790
- * name in the instance validates against the provided schema.
791
- * Note the property name that the schema is testing will always be a
792
- * string.
793
- *
794
- * Omitting this keyword has the same behavior as an empty schema.
795
- */
796
- propertyNames?: JSONSchema;
797
- /**
798
- * The value of this keyword MUST be a boolean. When multiple occurrences
799
- * of this keyword are applicable to a single sub-instance, the resulting
800
- * value MUST be `true` if any occurrence specifies a `true` value, and
801
- * MUST be `false` otherwise.
802
- *
803
- * If `readOnly` has a value of boolean `true`, it indicates that the
804
- * value of the instance is managed exclusively by the owning authority,
805
- * and attempts by an application to modify the value of this property are
806
- * expected to be ignored or rejected by that owning authority.
807
- *
808
- * An instance document that is marked as `readOnly` for the entire
809
- * document MAY be ignored if sent to the owning authority, or MAY result
810
- * in an error, at the authority's discretion.
811
- *
812
- * For example, `readOnly` would be used to mark a database-generated
813
- * serial number as read-only.
814
- *
815
- * This keyword can be used to assist in user interface instance
816
- * generation.
817
- *
818
- * @default false
819
- */
820
- readOnly?: boolean;
821
- /**
822
- * The value of this keyword MUST be an array. Elements of this array, if
823
- * any, MUST be strings, and MUST be unique.
824
- *
825
- * An object instance is valid against this keyword if every item in the
826
- * array is the name of a property in the instance.
827
- *
828
- * Omitting this keyword has the same behavior as an empty array.
829
- */
830
- required?: MaybeReadonlyArray<string>;
831
- /**
832
- * This keyword's value MUST be a valid JSON Schema.
833
- *
834
- * When `if` is present, and the instance successfully validates against
835
- * its subschema, then validation succeeds against this keyword if the
836
- * instance also successfully validates against this keyword's subschema.
837
- *
838
- * This keyword has no effect when `if` is absent, or when the instance
839
- * fails to validate against its subschema. Implementations MUST NOT
840
- * evaluate the instance against this keyword, for either validation or
841
- * annotation collection purposes, in such cases.
842
- */
843
- then?: JSONSchema<Value, SchemaType>;
844
- /**
845
- * Can be used to decorate a user interface with a short label about the
846
- * data produced.
847
- */
848
- title?: string;
849
- /**
850
- * The value of this keyword MUST be either a string or an array. If it is
851
- * an array, elements of the array MUST be strings and MUST be unique.
852
- *
853
- * String values MUST be one of the six primitive types (`"null"`,
854
- * `"boolean"`, `"object"`, `"array"`, `"number"`, or
855
- * `"string"`), or `"integer"` which matches any number with a zero
856
- * fractional part.
857
- *
858
- * An instance validates if and only if the instance is in any of the sets
859
- * listed for this keyword.
860
- */
861
- type?: SchemaType;
862
- /**
863
- * The value of `unevaluatedItems` MUST be a valid JSON Schema.
864
- *
865
- * The behavior of this keyword depends on the annotation results of
866
- * adjacent keywords that apply to the instance location being validated.
867
- * Specifically, the annotations from `prefixItems`, `items`, and
868
- * `contains`, which can come from those keywords when they are adjacent
869
- * to the `unevaluatedItems` keyword. Those three annotations, as well as
870
- * `unevaluatedItems`, can also result from any and all adjacent
871
- * [in-place applicator][in-place-applicator] keywords.
872
- *
873
- * If no relevant annotations are present, the `unevaluatedItems`
874
- * subschema MUST be applied to all locations in the array.
875
- * If a boolean `true` value is present from any of the relevant
876
- * annotations, `unevaluatedItems` MUST be ignored. Otherwise, the
877
- * subschema MUST be applied to any index greater than the largest
878
- * annotation value for `prefixItems`, which does not appear in any
879
- * annotation value for `contains`.
880
- *
881
- * This means that `prefixItems`, `items`, `contains`, and all
882
- * in-place applicators MUST be evaluated before this keyword can be
883
- * evaluated. Authors of extension keywords MUST NOT define an in-place
884
- * applicator that would need to be evaluated after this keyword.
885
- *
886
- * If the `unevaluatedItems` subschema is applied to any positions within
887
- * the instance array, it produces an annotation result of boolean
888
- * `true`, analogous to the behavior of `items`.
889
- *
890
- * Omitting this keyword has the same assertion behavior as an empty
891
- * schema.
892
- *
893
- * [in-place-applicator]: https://json-schema.org/draft/2020-12/json-schema-core.html#in-place
894
- */
895
- unevaluatedItems?: JSONSchema;
896
- /**
897
- * The value of `unevaluatedProperties` MUST be a valid JSON Schema.
898
- *
899
- * The behavior of this keyword depends on the annotation results of
900
- * adjacent keywords that apply to the instance location being validated.
901
- * Specifically, the annotations from `properties`,
902
- * `patternProperties`, and `additionalProperties`, which can come from
903
- * those keywords when they are adjacent to the `unevaluatedProperties`
904
- * keyword. Those three annotations, as well as `unevaluatedProperties`,
905
- * can also result from any and all adjacent
906
- * [in-place applicator][in-place-applicator] keywords.
907
- *
908
- * Validation with `unevaluatedProperties` applies only to the child
909
- * values of instance names that do not appear in the `properties`,
910
- * `patternProperties`, `additionalProperties`, or
911
- * `unevaluatedProperties` annotation results that apply to the
912
- * instance location being validated.
913
- *
914
- * For all such properties, validation succeeds if the child instance
915
- * validates against the "unevaluatedProperties" schema.
916
- *
917
- * This means that `properties`, `patternProperties`,
918
- * `additionalProperties`, and all in-place applicators MUST be evaluated
919
- * before this keyword can be evaluated. Authors of extension keywords
920
- * MUST NOT define an in-place applicator that would need to be evaluated
921
- * after this keyword.
922
- *
923
- * The annotation result of this keyword is the set of instance property
924
- * names validated by this keyword's subschema.
925
- *
926
- * Omitting this keyword has the same assertion behavior as an empty
927
- * schema.
928
- *
929
- * [in-place-applicator]: https://json-schema.org/draft/2020-12/json-schema-core.html#in-place
930
- */
931
- unevaluatedProperties?: JSONSchema;
932
- /**
933
- * The value of this keyword MUST be a boolean.
934
- *
935
- * If this keyword has boolean value `false`, the instance validates
936
- * successfully. If it has boolean value `true`, the instance validates
937
- * successfully if all of its elements are unique.
938
- *
939
- * Omitting this keyword has the same behavior as a value of `false`.
940
- *
941
- * @default false
942
- */
943
- uniqueItems?: boolean;
944
- /**
945
- * The value of this keyword MUST be a boolean. When multiple occurrences
946
- * of this keyword is applicable to a single sub-instance, the resulting
947
- * value MUST be `true` if any occurrence specifies a `true` value, and
948
- * MUST be `false` otherwise.
949
- *
950
- * If `writeOnly` has a value of boolean `true`, it indicates that the
951
- * value is never present when the instance is retrieved from the owning
952
- * authority. It can be present when sent to the owning authority to update
953
- * or create the document (or the resource it represents), but it will not
954
- * be included in any updated or newly created version of the instance.
955
- *
956
- * An instance document that is marked as `writeOnly` for the entire
957
- * document MAY be returned as a blank document of some sort, or MAY
958
- * produce an error upon retrieval, or have the retrieval request ignored,
959
- * at the authority's discretion.
960
- *
961
- * For example, `writeOnly` would be used to mark a password input field.
962
- *
963
- * These keywords can be used to assist in user interface instance
964
- * generation. In particular, an application MAY choose to use a widget
965
- * that hides input values as they are typed for write-only fields.
966
- *
967
- * @default false
968
- */
969
- writeOnly?: boolean;
970
- };
971
- declare namespace JSONSchema {
972
- type TypeValue = ValueOf<TypeName> | TypeName | Array<ValueOf<TypeName> | TypeName> | ReadonlyArray<ValueOf<TypeName> | TypeName>;
973
- /**
974
- * JSON Schema interface
975
- */
976
- type Interface<Value = any, SchemaType extends TypeValue = TypeValue> = Exclude<JSONSchema<Value, SchemaType>, boolean>;
977
- type Array<T = any> = Pick<Interface<T, "array">, KeywordByType.Any | KeywordByType.Array>;
978
- type Boolean = Pick<Interface<boolean, "boolean">, KeywordByType.Any>;
979
- type Integer = Pick<Interface<number, "integer">, KeywordByType.Any | KeywordByType.Number>;
980
- type Number = Pick<Interface<number, "number">, KeywordByType.Any | KeywordByType.Number>;
981
- type Null = Pick<Interface<null, "null">, KeywordByType.Any>;
982
- type Object<T = any> = Pick<Interface<T, "object">, KeywordByType.Any | KeywordByType.Object>;
983
- type String = Pick<Interface<string, "string">, KeywordByType.Any | KeywordByType.String>;
984
- }
985
- declare namespace KeywordByType {
986
- type Any = "$anchor" | "$comment" | "$defs" | "$dynamicAnchor" | "$dynamicRef" | "$id" | "$ref" | "$schema" | "$vocabulary" | "allOf" | "anyOf" | "const" | "default" | "definitions" | "deprecated" | "description" | "else" | "enum" | "examples" | "format" | "if" | "not" | "oneOf" | "readOnly" | "then" | "title" | "type" | "writeOnly";
987
- type Array = "additionalItems" | "contains" | "items" | "maxContains" | "maxItems" | "minContains" | "minItems" | "prefixItems" | "unevaluatedItems" | "uniqueItems";
988
- type Number = "exclusiveMaximum" | "exclusiveMinimum" | "maximum" | "minimum" | "multipleOf";
989
- type Object = "additionalProperties" | "dependencies" | "dependentRequired" | "dependentSchemas" | "maxProperties" | "minProperties" | "patternProperties" | "properties" | "propertyNames" | "required" | "unevaluatedProperties";
990
- type String = "contentEncoding" | "contentMediaType" | "contentSchema" | "maxLength" | "minLength" | "pattern";
991
- }
992
- /**
993
- * Content encoding strategy enum.
994
- *
995
- * - [Content-Transfer-Encoding Syntax](https://datatracker.ietf.org/doc/html/rfc2045#section-6.1)
996
- * - [7bit vs 8bit encoding](https://stackoverflow.com/questions/25710599/content-transfer-encoding-7bit-or-8-bit/28531705#28531705)
997
- */
998
-
999
- /**
1000
- * Enum consisting of simple type names for the `type` keyword
1001
- */
1002
- declare enum TypeName {
1003
- /**
1004
- * Value MUST be an array.
1005
- */
1006
- Array = "array",
1007
- /**
1008
- * Value MUST be a boolean.
1009
- */
1010
- Boolean = "boolean",
1011
- /**
1012
- * Value MUST be an integer, no floating point numbers are allowed. This is a
1013
- * subset of the number type.
1014
- */
1015
- Integer = "integer",
1016
- /**
1017
- * Value MUST be null. Note this is mainly for purpose of being able use union
1018
- * types to define nullability. If this type is not included in a union, null
1019
- * values are not allowed (the primitives listed above do not allow nulls on
1020
- * their own).
1021
- */
1022
- Null = "null",
1023
- /**
1024
- * Value MUST be a number, floating point numbers are allowed.
1025
- */
1026
- Number = "number",
1027
- /**
1028
- * Value MUST be an object.
1029
- */
1030
- Object = "object",
1031
- /**
1032
- * Value MUST be a string.
1033
- */
1034
- String = "string",
1035
- }
1036
- //#endregion
1037
- //#region ../core-internal/src/validators/types.d.ts
1038
- /**
1039
- * JSON Schema type definition (JSON Schema Draft 2020-12)
1040
- *
1041
- * This uses the object form of JSON Schema (excluding boolean schemas).
1042
- * While `true` and `false` are valid JSON Schemas, this SDK uses the
1043
- * object form for practical type safety.
1044
- *
1045
- * Re-exported from json-schema-typed for convenience.
1046
- * @see https://json-schema.org/draft/2020-12/json-schema-core.html
1047
- */
1048
- type JsonSchemaType = JSONSchema.Interface;
1049
- /**
1050
- * Result of a JSON Schema validation operation
1051
- */
1052
- type JsonSchemaValidatorResult<T> = {
1053
- valid: true;
1054
- data: T;
1055
- errorMessage: undefined;
1056
- } | {
1057
- valid: false;
1058
- data: undefined;
1059
- errorMessage: string;
1060
- };
1061
- /**
1062
- * A validator function that validates data against a JSON Schema
1063
- */
1064
- type JsonSchemaValidator<T> = (input: unknown) => JsonSchemaValidatorResult<T>;
1065
- /**
1066
- * Provider interface for creating validators from JSON Schemas
1067
- *
1068
- * This is the main extension point for custom validator implementations.
1069
- * Implementations should:
1070
- * - Support JSON Schema Draft 2020-12 (or be compatible with it)
1071
- * - Return validator functions that can be called multiple times
1072
- * - Handle schema compilation/caching internally
1073
- * - Provide clear error messages on validation failure
1074
- *
1075
- * @example
1076
- * ```ts source="./types.examples.ts#jsonSchemaValidator_implementation"
1077
- * class MyValidatorProvider implements jsonSchemaValidator {
1078
- * getValidator<T>(schema: JsonSchemaType): JsonSchemaValidator<T> {
1079
- * // Compile/cache validator from schema
1080
- * return (input: unknown) =>
1081
- * isValid(schema, input)
1082
- * ? { valid: true, data: input as T, errorMessage: undefined }
1083
- * : { valid: false, data: undefined, errorMessage: 'Error details' };
1084
- * }
1085
- * }
1086
- * ```
1087
- */
1088
- interface jsonSchemaValidator {
1089
- /**
1090
- * Create a validator for the given JSON Schema
1091
- *
1092
- * @param schema - Standard JSON Schema object
1093
- * @returns A validator function that can be called multiple times
1094
- */
1095
- getValidator<T>(schema: JsonSchemaType): JsonSchemaValidator<T>;
1096
- }
1097
- //#endregion
1098
- export { jsonSchemaValidator as i, JsonSchemaValidator as n, JsonSchemaValidatorResult as r, JsonSchemaType as t };
1099
- //# sourceMappingURL=types-DsbMXNFL.d.cts.map