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