@donkeylabs/server 0.2.6 → 0.2.9
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/examples/starter/bun.lock +3 -125
- package/examples/starter/node_modules/@donkeylabs/server/README.md +15 -0
- package/examples/starter/node_modules/@donkeylabs/server/cli/commands/dev.ts +134 -0
- package/examples/starter/node_modules/@donkeylabs/server/cli/commands/generate.ts +445 -0
- package/examples/starter/node_modules/@donkeylabs/server/cli/commands/init.ts +205 -0
- package/examples/starter/node_modules/@donkeylabs/server/cli/commands/interactive.ts +417 -0
- package/examples/starter/node_modules/@donkeylabs/server/cli/commands/plugin.ts +192 -0
- package/examples/starter/node_modules/@donkeylabs/server/cli/commands/route.ts +195 -0
- package/examples/starter/node_modules/@donkeylabs/server/cli/donkeylabs +2 -0
- package/examples/starter/node_modules/@donkeylabs/server/cli/index.ts +114 -0
- package/examples/starter/node_modules/@donkeylabs/server/docs/api-client.md +520 -0
- package/examples/starter/node_modules/@donkeylabs/server/docs/cache.md +437 -0
- package/examples/starter/node_modules/@donkeylabs/server/docs/cli.md +353 -0
- package/examples/starter/node_modules/@donkeylabs/server/docs/core-services.md +338 -0
- package/examples/starter/node_modules/@donkeylabs/server/docs/cron.md +465 -0
- package/examples/starter/node_modules/@donkeylabs/server/docs/errors.md +303 -0
- package/examples/starter/node_modules/@donkeylabs/server/docs/events.md +460 -0
- package/examples/starter/node_modules/@donkeylabs/server/docs/handlers.md +549 -0
- package/examples/starter/node_modules/@donkeylabs/server/docs/jobs.md +556 -0
- package/examples/starter/node_modules/@donkeylabs/server/docs/logger.md +316 -0
- package/examples/starter/node_modules/@donkeylabs/server/docs/middleware.md +682 -0
- package/examples/starter/node_modules/@donkeylabs/server/docs/plugins.md +524 -0
- package/examples/starter/node_modules/@donkeylabs/server/docs/project-structure.md +493 -0
- package/examples/starter/node_modules/@donkeylabs/server/docs/rate-limiter.md +525 -0
- package/examples/starter/node_modules/@donkeylabs/server/docs/router.md +566 -0
- package/examples/starter/node_modules/@donkeylabs/server/docs/sse.md +542 -0
- package/examples/starter/node_modules/@donkeylabs/server/docs/svelte-frontend.md +324 -0
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/.@donkeylabs/server/context.d.ts +37 -0
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/.@donkeylabs/server/registry.d.ts +31 -0
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/.@donkeylabs/server/routes.ts +21 -0
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/.env.example +3 -0
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/.gitignore.template +4 -0
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/CLAUDE.md +144 -0
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/donkeylabs.config.ts +6 -0
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/package.json +20 -0
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/src/db.ts +9 -0
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/src/index.ts +32 -0
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/src/plugins/stats/index.ts +93 -0
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/src/routes/health/index.ts +5 -0
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/src/routes/health/ping/index.ts +13 -0
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/src/routes/health/ping/models/model.ts +23 -0
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/src/routes/health/ping/schema.ts +14 -0
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/src/routes/health/ping/tests/integ.test.ts +20 -0
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/src/routes/health/ping/tests/unit.test.ts +20 -0
- package/examples/starter/node_modules/@donkeylabs/server/examples/starter/tsconfig.json +27 -0
- package/examples/starter/node_modules/@donkeylabs/server/mcp/donkeylabs-mcp +3238 -0
- package/examples/starter/node_modules/@donkeylabs/server/mcp/server.ts +3238 -0
- package/examples/starter/node_modules/@donkeylabs/server/package.json +77 -0
- package/examples/starter/node_modules/@donkeylabs/server/src/client/base.ts +481 -0
- package/examples/starter/node_modules/@donkeylabs/server/src/client/index.ts +150 -0
- package/examples/starter/node_modules/@donkeylabs/server/src/core/cache.ts +183 -0
- package/examples/starter/node_modules/@donkeylabs/server/src/core/cron.ts +255 -0
- package/examples/starter/node_modules/@donkeylabs/server/src/core/errors.ts +320 -0
- package/examples/starter/node_modules/@donkeylabs/server/src/core/events.ts +163 -0
- package/examples/starter/node_modules/@donkeylabs/server/src/core/index.ts +94 -0
- package/examples/starter/node_modules/@donkeylabs/server/src/core/jobs.ts +334 -0
- package/examples/starter/node_modules/@donkeylabs/server/src/core/logger.ts +131 -0
- package/examples/starter/node_modules/@donkeylabs/server/src/core/rate-limiter.ts +193 -0
- package/examples/starter/node_modules/@donkeylabs/server/src/core/sse.ts +210 -0
- package/examples/starter/node_modules/@donkeylabs/server/src/core.ts +428 -0
- package/examples/starter/node_modules/@donkeylabs/server/src/handlers.ts +182 -0
- package/examples/starter/node_modules/@donkeylabs/server/src/harness.ts +70 -0
- package/examples/starter/node_modules/@donkeylabs/server/src/index.ts +51 -0
- package/examples/starter/node_modules/@donkeylabs/server/src/middleware.ts +34 -0
- package/examples/starter/node_modules/@donkeylabs/server/src/registry.ts +13 -0
- package/examples/starter/node_modules/@donkeylabs/server/src/router.ts +172 -0
- package/examples/starter/node_modules/@donkeylabs/server/src/server.ts +240 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/CLAUDE.md +105 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/README.md +33 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/bun.d.ts +7779 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/bun.ns.d.ts +5 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/bundle.d.ts +74 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/deprecated.d.ts +184 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/devserver.d.ts +187 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/README.md +28 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/bundler/bytecode.mdx +465 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/bundler/css.mdx +1024 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/bundler/esbuild.mdx +298 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/bundler/executables.mdx +1277 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/bundler/fullstack.mdx +1086 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/bundler/hot-reloading.mdx +229 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/bundler/html-static.mdx +488 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/bundler/index.mdx +1750 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/bundler/loaders.mdx +451 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/bundler/macros.mdx +328 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/bundler/minifier.mdx +1286 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/bundler/plugins.mdx +425 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/feedback.mdx +75 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/binary/arraybuffer-to-array.mdx +29 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/binary/arraybuffer-to-blob.mdx +26 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/binary/arraybuffer-to-buffer.mdx +27 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/binary/arraybuffer-to-string.mdx +17 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/binary/arraybuffer-to-typedarray.mdx +41 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/binary/blob-to-arraybuffer.mdx +16 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/binary/blob-to-dataview.mdx +16 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/binary/blob-to-stream.mdx +16 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/binary/blob-to-string.mdx +17 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/binary/blob-to-typedarray.mdx +16 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/binary/buffer-to-arraybuffer.mdx +16 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/binary/buffer-to-blob.mdx +16 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/binary/buffer-to-readablestream.mdx +43 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/binary/buffer-to-string.mdx +27 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/binary/buffer-to-typedarray.mdx +16 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/binary/dataview-to-string.mdx +17 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/binary/typedarray-to-arraybuffer.mdx +27 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/binary/typedarray-to-blob.mdx +18 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/binary/typedarray-to-buffer.mdx +16 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/binary/typedarray-to-dataview.mdx +16 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/binary/typedarray-to-readablestream.mdx +43 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/binary/typedarray-to-string.mdx +18 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/deployment/aws-lambda.mdx +204 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/deployment/digital-ocean.mdx +161 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/deployment/google-cloud-run.mdx +194 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/deployment/railway.mdx +145 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/deployment/render.mdx +82 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/deployment/vercel.mdx +97 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/ecosystem/astro.mdx +82 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/ecosystem/discordjs.mdx +80 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/ecosystem/docker.mdx +151 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/ecosystem/drizzle.mdx +195 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/ecosystem/elysia.mdx +31 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/ecosystem/express.mdx +43 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/ecosystem/gel.mdx +261 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/ecosystem/hono.mdx +47 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/ecosystem/mongoose.mdx +92 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/ecosystem/neon-drizzle.mdx +234 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/ecosystem/neon-serverless-postgres.mdx +60 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/ecosystem/nextjs.mdx +103 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/ecosystem/nuxt.mdx +96 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/ecosystem/pm2.mdx +55 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/ecosystem/prisma-postgres.mdx +169 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/ecosystem/prisma.mdx +164 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/ecosystem/qwik.mdx +114 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/ecosystem/react.mdx +52 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/ecosystem/remix.mdx +97 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/ecosystem/sentry.mdx +54 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/ecosystem/solidstart.mdx +62 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/ecosystem/ssr-react.mdx +49 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/ecosystem/stric.mdx +54 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/ecosystem/sveltekit.mdx +138 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/ecosystem/systemd.mdx +114 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/ecosystem/tanstack-start.mdx +791 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/ecosystem/upstash.mdx +87 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/ecosystem/vite.mdx +77 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/html-rewriter/extract-links.mdx +71 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/html-rewriter/extract-social-meta.mdx +97 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/http/cluster.mdx +69 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/http/fetch-unix.mdx +35 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/http/fetch.mdx +26 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/http/file-uploads.mdx +97 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/http/hot.mdx +28 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/http/proxy.mdx +50 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/http/server.mdx +48 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/http/simple.mdx +20 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/http/stream-file.mdx +50 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/http/stream-iterator.mdx +49 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/http/stream-node-streams-in-bun.mdx +22 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/http/tls.mdx +32 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/index.mdx +10 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/install/add-dev.mdx +28 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/install/add-git.mdx +40 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/install/add-optional.mdx +27 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/install/add-peer.mdx +45 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/install/add-tarball.mdx +35 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/install/add.mdx +44 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/install/azure-artifacts.mdx +76 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/install/cicd.mdx +43 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/install/custom-registry.mdx +32 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/install/from-npm-install-to-bun-install.mdx +230 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/install/git-diff-bun-lockfile.mdx +48 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/install/jfrog-artifactory.mdx +28 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/install/npm-alias.mdx +25 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/install/registry-scope.mdx +40 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/install/trusted.mdx +52 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/install/workspaces.mdx +70 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/install/yarnlock.mdx +51 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/process/argv.mdx +66 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/process/ctrl-c.mdx +18 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/process/ipc.mdx +69 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/process/nanoseconds.mdx +15 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/process/os-signals.mdx +31 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/process/spawn-stderr.mdx +34 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/process/spawn-stdout.mdx +28 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/process/spawn.mdx +43 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/process/stdin.mdx +62 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/read-file/arraybuffer.mdx +30 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/read-file/buffer.mdx +21 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/read-file/exists.mdx +18 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/read-file/json.mdx +19 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/read-file/mime.mdx +22 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/read-file/stream.mdx +28 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/read-file/string.mdx +24 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/read-file/uint8array.mdx +23 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/read-file/watch.mdx +66 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/runtime/build-time-constants.mdx +295 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/runtime/cicd.mdx +45 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/runtime/codesign-macos-executable.mdx +61 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/runtime/define-constant.mdx +149 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/runtime/delete-directory.mdx +39 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/runtime/delete-file.mdx +21 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/runtime/heap-snapshot.mdx +28 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/runtime/import-html.mdx +15 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/runtime/import-json.mdx +46 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/runtime/import-toml.mdx +32 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/runtime/import-yaml.mdx +104 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/runtime/read-env.mdx +37 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/runtime/set-env.mdx +51 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/runtime/shell.mdx +42 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/runtime/timezone.mdx +38 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/runtime/tsconfig-paths.mdx +31 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/runtime/typescript.mdx +51 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/runtime/vscode-debugger.mdx +47 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/runtime/web-debugger.mdx +103 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/streams/node-readable-to-arraybuffer.mdx +13 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/streams/node-readable-to-blob.mdx +13 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/streams/node-readable-to-json.mdx +14 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/streams/node-readable-to-string.mdx +14 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/streams/node-readable-to-uint8array.mdx +13 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/streams/to-array.mdx +16 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/streams/to-arraybuffer.mdx +16 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/streams/to-blob.mdx +16 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/streams/to-buffer.mdx +17 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/streams/to-json.mdx +16 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/streams/to-string.mdx +16 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/streams/to-typedarray.mdx +24 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/test/bail.mdx +24 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/test/concurrent-test-glob.mdx +146 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/test/coverage-threshold.mdx +67 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/test/coverage.mdx +49 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/test/happy-dom.mdx +73 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/test/migrate-from-jest.mdx +125 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/test/mock-clock.mdx +50 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/test/mock-functions.mdx +70 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/test/rerun-each.mdx +16 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/test/run-tests.mdx +116 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/test/skip-tests.mdx +43 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/test/snapshot.mdx +102 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/test/spy-on.mdx +49 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/test/svelte-test.mdx +113 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/test/testing-library.mdx +93 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/test/timeout.mdx +17 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/test/todo-tests.mdx +74 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/test/update-snapshots.mdx +49 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/test/watch-mode.mdx +24 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/util/base64.mdx +17 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/util/deep-equals.mdx +41 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/util/deflate.mdx +20 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/util/detect-bun.mdx +28 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/util/entrypoint.mdx +19 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/util/escape-html.mdx +24 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/util/file-url-to-path.mdx +16 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/util/gzip.mdx +20 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/util/hash-a-password.mdx +56 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/util/import-meta-dir.mdx +15 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/util/import-meta-file.mdx +15 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/util/import-meta-path.mdx +15 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/util/javascript-uuid.mdx +25 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/util/main.mdx +43 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/util/path-to-file-url.mdx +16 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/util/sleep.mdx +24 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/util/upgrade.mdx +93 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/util/version.mdx +23 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/util/which-path-to-executable-bin.mdx +17 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/websocket/compression.mdx +33 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/websocket/context.mdx +79 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/websocket/pubsub.mdx +43 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/websocket/simple.mdx +38 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/write-file/append.mdx +54 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/write-file/basic.mdx +46 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/write-file/blob.mdx +30 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/write-file/cat.mdx +19 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/write-file/file-cp.mdx +18 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/write-file/filesink.mdx +54 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/write-file/response.mdx +19 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/write-file/stdout.mdx +23 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/write-file/stream.mdx +19 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/guides/write-file/unlink.mdx +18 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/index.mdx +133 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/installation.mdx +365 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/pm/bunx.mdx +91 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/pm/catalogs.mdx +292 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/pm/cli/add.mdx +179 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/pm/cli/audit.mdx +60 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/pm/cli/info.mdx +70 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/pm/cli/install.mdx +606 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/pm/cli/link.mdx +61 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/pm/cli/outdated.mdx +197 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/pm/cli/patch.mdx +69 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/pm/cli/pm.mdx +323 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/pm/cli/publish.mdx +131 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/pm/cli/remove.mdx +16 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/pm/cli/update.mdx +140 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/pm/cli/why.mdx +84 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/pm/filter.mdx +102 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/pm/global-cache.mdx +72 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/pm/isolated-installs.mdx +220 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/pm/lifecycle.mdx +64 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/pm/lockfile.mdx +64 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/pm/npmrc.mdx +245 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/pm/overrides.mdx +83 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/pm/scopes-registries.mdx +35 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/pm/security-scanner-api.mdx +95 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/pm/workspaces.mdx +115 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/project/benchmarking.mdx +241 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/project/bindgen.mdx +223 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/project/building-windows.mdx +133 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/project/contributing.mdx +371 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/project/feedback.mdx +20 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/project/license.mdx +78 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/project/roadmap.mdx +8 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/quickstart.mdx +251 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/archive.mdx +452 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/auto-install.mdx +97 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/binary-data.mdx +846 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/bun-apis.mdx +59 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/bunfig.mdx +743 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/c-compiler.mdx +204 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/child-process.mdx +659 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/color.mdx +267 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/console.mdx +67 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/cookies.mdx +454 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/debugger.mdx +335 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/environment-variables.mdx +231 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/ffi.mdx +567 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/file-io.mdx +306 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/file-system-router.mdx +118 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/file-types.mdx +435 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/glob.mdx +181 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/globals.mdx +72 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/hashing.mdx +315 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/html-rewriter.mdx +333 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/http/cookies.mdx +79 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/http/error-handling.mdx +40 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/http/metrics.mdx +36 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/http/routing.mdx +289 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/http/server.mdx +645 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/http/tls.mdx +101 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/http/websockets.mdx +414 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/index.mdx +223 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/jsx.mdx +115 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/module-resolution.mdx +374 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/networking/dns.mdx +111 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/networking/fetch.mdx +484 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/networking/tcp.mdx +239 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/networking/udp.mdx +180 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/node-api.mdx +19 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/nodejs-compat.mdx +468 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/plugins.mdx +419 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/redis.mdx +583 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/s3.mdx +863 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/secrets.mdx +340 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/semver.mdx +57 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/shell.mdx +637 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/sql.mdx +1404 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/sqlite.mdx +721 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/streams.mdx +232 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/templating/create.mdx +269 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/templating/init.mdx +58 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/transpiler.mdx +288 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/typescript.mdx +58 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/utils.mdx +922 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/watch-mode.mdx +161 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/web-apis.mdx +29 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/workers.mdx +314 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/runtime/yaml.mdx +469 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/snippets/cli/add.mdx +166 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/snippets/cli/build.mdx +196 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/snippets/cli/bunx.mdx +49 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/snippets/cli/feedback.mdx +17 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/snippets/cli/init.mdx +84 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/snippets/cli/install.mdx +173 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/snippets/cli/link.mdx +163 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/snippets/cli/outdated.mdx +140 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/snippets/cli/patch.mdx +171 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/snippets/cli/publish.mdx +198 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/snippets/cli/remove.mdx +146 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/snippets/cli/run.mdx +293 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/snippets/cli/test.mdx +100 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/snippets/cli/update.mdx +144 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/test/code-coverage.mdx +409 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/test/configuration.mdx +509 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/test/dates-times.mdx +129 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/test/discovery.mdx +90 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/test/dom.mdx +226 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/test/index.mdx +380 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/test/lifecycle.mdx +366 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/test/mocks.mdx +637 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/test/reporters.mdx +126 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/test/runtime-behavior.mdx +342 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/test/snapshots.mdx +434 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/test/writing-tests.mdx +672 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/docs/typescript.mdx +54 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/extensions.d.ts +35 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/fetch.d.ts +79 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/ffi.d.ts +1154 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/globals.d.ts +2067 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/html-rewriter.d.ts +186 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/index.d.ts +32 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/jsc.d.ts +233 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/overrides.d.ts +376 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/package.json +37 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/redis.d.ts +3352 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/s3.d.ts +1335 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/security.d.ts +101 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/serve.d.ts +1296 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/shell.d.ts +380 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/sql.d.ts +887 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/sqlite.d.ts +1322 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/test-globals.d.ts +22 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/test.d.ts +2391 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/vendor/expect-type/branding.d.ts +283 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/vendor/expect-type/index.d.ts +1207 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/vendor/expect-type/messages.d.ts +395 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/vendor/expect-type/overloads.d.ts +669 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/vendor/expect-type/utils.d.ts +431 -0
- package/examples/starter/node_modules/kysely-bun-sqlite/node_modules/bun-types/wasm.d.ts +193 -0
- package/examples/starter/package.json +1 -1
- package/examples/starter/src/index.ts +1 -1
- package/package.json +1 -1
- package/src/router.ts +24 -9
- package/src/server.ts +6 -9
- package/context.d.ts +0 -27
- package/examples/starter/node_modules/.svelte2tsx-language-server-files/svelte-native-jsx.d.ts +0 -32
- package/examples/starter/node_modules/.svelte2tsx-language-server-files/svelte-shims-v4.d.ts +0 -290
- package/examples/starter/node_modules/@babel/code-frame/LICENSE +0 -22
- package/examples/starter/node_modules/@babel/code-frame/README.md +0 -19
- package/examples/starter/node_modules/@babel/code-frame/lib/index.js +0 -216
- package/examples/starter/node_modules/@babel/code-frame/lib/index.js.map +0 -1
- package/examples/starter/node_modules/@babel/code-frame/package.json +0 -32
- package/examples/starter/node_modules/@babel/helper-validator-identifier/LICENSE +0 -22
- package/examples/starter/node_modules/@babel/helper-validator-identifier/README.md +0 -19
- package/examples/starter/node_modules/@babel/helper-validator-identifier/lib/identifier.js +0 -70
- package/examples/starter/node_modules/@babel/helper-validator-identifier/lib/identifier.js.map +0 -1
- package/examples/starter/node_modules/@babel/helper-validator-identifier/lib/index.js +0 -57
- package/examples/starter/node_modules/@babel/helper-validator-identifier/lib/index.js.map +0 -1
- package/examples/starter/node_modules/@babel/helper-validator-identifier/lib/keyword.js +0 -35
- package/examples/starter/node_modules/@babel/helper-validator-identifier/lib/keyword.js.map +0 -1
- package/examples/starter/node_modules/@babel/helper-validator-identifier/package.json +0 -31
- package/examples/starter/node_modules/@types/prompts/LICENSE +0 -21
- package/examples/starter/node_modules/@types/prompts/README.md +0 -15
- package/examples/starter/node_modules/@types/prompts/index.d.ts +0 -123
- package/examples/starter/node_modules/@types/prompts/package.json +0 -58
- package/examples/starter/node_modules/ansi-styles/index.d.ts +0 -345
- package/examples/starter/node_modules/ansi-styles/index.js +0 -163
- package/examples/starter/node_modules/ansi-styles/license +0 -9
- package/examples/starter/node_modules/ansi-styles/package.json +0 -56
- package/examples/starter/node_modules/ansi-styles/readme.md +0 -152
- package/examples/starter/node_modules/argparse/CHANGELOG.md +0 -216
- package/examples/starter/node_modules/argparse/LICENSE +0 -254
- package/examples/starter/node_modules/argparse/README.md +0 -84
- package/examples/starter/node_modules/argparse/argparse.js +0 -3707
- package/examples/starter/node_modules/argparse/lib/sub.js +0 -67
- package/examples/starter/node_modules/argparse/lib/textwrap.js +0 -440
- package/examples/starter/node_modules/argparse/package.json +0 -31
- package/examples/starter/node_modules/balanced-match/.github/FUNDING.yml +0 -2
- package/examples/starter/node_modules/balanced-match/LICENSE.md +0 -21
- package/examples/starter/node_modules/balanced-match/README.md +0 -97
- package/examples/starter/node_modules/balanced-match/index.js +0 -62
- package/examples/starter/node_modules/balanced-match/package.json +0 -48
- package/examples/starter/node_modules/brace-expansion/LICENSE +0 -21
- package/examples/starter/node_modules/brace-expansion/README.md +0 -129
- package/examples/starter/node_modules/brace-expansion/index.js +0 -201
- package/examples/starter/node_modules/brace-expansion/package.json +0 -50
- package/examples/starter/node_modules/braces/LICENSE +0 -21
- package/examples/starter/node_modules/braces/README.md +0 -586
- package/examples/starter/node_modules/braces/index.js +0 -170
- package/examples/starter/node_modules/braces/lib/compile.js +0 -60
- package/examples/starter/node_modules/braces/lib/constants.js +0 -57
- package/examples/starter/node_modules/braces/lib/expand.js +0 -113
- package/examples/starter/node_modules/braces/lib/parse.js +0 -331
- package/examples/starter/node_modules/braces/lib/stringify.js +0 -32
- package/examples/starter/node_modules/braces/lib/utils.js +0 -122
- package/examples/starter/node_modules/braces/package.json +0 -77
- package/examples/starter/node_modules/callsites/index.d.ts +0 -96
- package/examples/starter/node_modules/callsites/index.js +0 -13
- package/examples/starter/node_modules/callsites/license +0 -9
- package/examples/starter/node_modules/callsites/package.json +0 -39
- package/examples/starter/node_modules/callsites/readme.md +0 -48
- package/examples/starter/node_modules/chalk/index.d.ts +0 -415
- package/examples/starter/node_modules/chalk/license +0 -9
- package/examples/starter/node_modules/chalk/package.json +0 -68
- package/examples/starter/node_modules/chalk/readme.md +0 -341
- package/examples/starter/node_modules/chalk/source/index.js +0 -229
- package/examples/starter/node_modules/chalk/source/templates.js +0 -134
- package/examples/starter/node_modules/chalk/source/util.js +0 -39
- package/examples/starter/node_modules/color-convert/CHANGELOG.md +0 -54
- package/examples/starter/node_modules/color-convert/LICENSE +0 -21
- package/examples/starter/node_modules/color-convert/README.md +0 -68
- package/examples/starter/node_modules/color-convert/conversions.js +0 -839
- package/examples/starter/node_modules/color-convert/index.js +0 -81
- package/examples/starter/node_modules/color-convert/package.json +0 -48
- package/examples/starter/node_modules/color-convert/route.js +0 -97
- package/examples/starter/node_modules/color-name/LICENSE +0 -8
- package/examples/starter/node_modules/color-name/README.md +0 -11
- package/examples/starter/node_modules/color-name/index.js +0 -152
- package/examples/starter/node_modules/color-name/package.json +0 -28
- package/examples/starter/node_modules/concat-map/.travis.yml +0 -4
- package/examples/starter/node_modules/concat-map/LICENSE +0 -18
- package/examples/starter/node_modules/concat-map/README.markdown +0 -62
- package/examples/starter/node_modules/concat-map/example/map.js +0 -6
- package/examples/starter/node_modules/concat-map/index.js +0 -13
- package/examples/starter/node_modules/concat-map/package.json +0 -43
- package/examples/starter/node_modules/concat-map/test/map.js +0 -39
- package/examples/starter/node_modules/cosmiconfig/LICENSE +0 -22
- package/examples/starter/node_modules/cosmiconfig/README.md +0 -782
- package/examples/starter/node_modules/cosmiconfig/dist/Explorer.d.ts +0 -2
- package/examples/starter/node_modules/cosmiconfig/dist/Explorer.d.ts.map +0 -1
- package/examples/starter/node_modules/cosmiconfig/dist/Explorer.js +0 -170
- package/examples/starter/node_modules/cosmiconfig/dist/Explorer.js.map +0 -1
- package/examples/starter/node_modules/cosmiconfig/dist/ExplorerBase.d.ts +0 -2
- package/examples/starter/node_modules/cosmiconfig/dist/ExplorerBase.d.ts.map +0 -1
- package/examples/starter/node_modules/cosmiconfig/dist/ExplorerBase.js +0 -126
- package/examples/starter/node_modules/cosmiconfig/dist/ExplorerBase.js.map +0 -1
- package/examples/starter/node_modules/cosmiconfig/dist/ExplorerSync.d.ts +0 -2
- package/examples/starter/node_modules/cosmiconfig/dist/ExplorerSync.d.ts.map +0 -1
- package/examples/starter/node_modules/cosmiconfig/dist/ExplorerSync.js +0 -184
- package/examples/starter/node_modules/cosmiconfig/dist/ExplorerSync.js.map +0 -1
- package/examples/starter/node_modules/cosmiconfig/dist/cacheWrapper.d.ts +0 -5
- package/examples/starter/node_modules/cosmiconfig/dist/cacheWrapper.d.ts.map +0 -1
- package/examples/starter/node_modules/cosmiconfig/dist/cacheWrapper.js +0 -32
- package/examples/starter/node_modules/cosmiconfig/dist/cacheWrapper.js.map +0 -1
- package/examples/starter/node_modules/cosmiconfig/dist/canUseDynamicImport.d.ts +0 -3
- package/examples/starter/node_modules/cosmiconfig/dist/canUseDynamicImport.d.ts.map +0 -1
- package/examples/starter/node_modules/cosmiconfig/dist/canUseDynamicImport.js +0 -23
- package/examples/starter/node_modules/cosmiconfig/dist/canUseDynamicImport.js.map +0 -1
- package/examples/starter/node_modules/cosmiconfig/dist/defaults.d.ts +0 -25
- package/examples/starter/node_modules/cosmiconfig/dist/defaults.d.ts.map +0 -1
- package/examples/starter/node_modules/cosmiconfig/dist/defaults.js +0 -105
- package/examples/starter/node_modules/cosmiconfig/dist/defaults.js.map +0 -1
- package/examples/starter/node_modules/cosmiconfig/dist/getDirectory.d.ts +0 -4
- package/examples/starter/node_modules/cosmiconfig/dist/getDirectory.d.ts.map +0 -1
- package/examples/starter/node_modules/cosmiconfig/dist/getDirectory.js +0 -38
- package/examples/starter/node_modules/cosmiconfig/dist/getDirectory.js.map +0 -1
- package/examples/starter/node_modules/cosmiconfig/dist/getPropertyByPath.d.ts +0 -5
- package/examples/starter/node_modules/cosmiconfig/dist/getPropertyByPath.d.ts.map +0 -1
- package/examples/starter/node_modules/cosmiconfig/dist/getPropertyByPath.js +0 -28
- package/examples/starter/node_modules/cosmiconfig/dist/getPropertyByPath.js.map +0 -1
- package/examples/starter/node_modules/cosmiconfig/dist/index.d.ts +0 -6
- package/examples/starter/node_modules/cosmiconfig/dist/index.d.ts.map +0 -1
- package/examples/starter/node_modules/cosmiconfig/dist/index.js +0 -148
- package/examples/starter/node_modules/cosmiconfig/dist/index.js.map +0 -1
- package/examples/starter/node_modules/cosmiconfig/dist/loaders.d.ts +0 -8
- package/examples/starter/node_modules/cosmiconfig/dist/loaders.d.ts.map +0 -1
- package/examples/starter/node_modules/cosmiconfig/dist/loaders.js +0 -148
- package/examples/starter/node_modules/cosmiconfig/dist/loaders.js.map +0 -1
- package/examples/starter/node_modules/cosmiconfig/dist/merge.d.ts +0 -9
- package/examples/starter/node_modules/cosmiconfig/dist/merge.d.ts.map +0 -1
- package/examples/starter/node_modules/cosmiconfig/dist/merge.js +0 -40
- package/examples/starter/node_modules/cosmiconfig/dist/merge.js.map +0 -1
- package/examples/starter/node_modules/cosmiconfig/dist/readFile.d.ts +0 -7
- package/examples/starter/node_modules/cosmiconfig/dist/readFile.d.ts.map +0 -1
- package/examples/starter/node_modules/cosmiconfig/dist/readFile.js +0 -56
- package/examples/starter/node_modules/cosmiconfig/dist/readFile.js.map +0 -1
- package/examples/starter/node_modules/cosmiconfig/dist/types.d.ts +0 -98
- package/examples/starter/node_modules/cosmiconfig/dist/types.d.ts.map +0 -1
- package/examples/starter/node_modules/cosmiconfig/dist/types.js +0 -3
- package/examples/starter/node_modules/cosmiconfig/dist/types.js.map +0 -1
- package/examples/starter/node_modules/cosmiconfig/dist/util.d.ts +0 -2
- package/examples/starter/node_modules/cosmiconfig/dist/util.d.ts.map +0 -1
- package/examples/starter/node_modules/cosmiconfig/dist/util.js +0 -99
- package/examples/starter/node_modules/cosmiconfig/dist/util.js.map +0 -1
- package/examples/starter/node_modules/cosmiconfig/package.json +0 -102
- package/examples/starter/node_modules/diff/CONTRIBUTING.md +0 -39
- package/examples/starter/node_modules/diff/LICENSE +0 -31
- package/examples/starter/node_modules/diff/README.md +0 -211
- package/examples/starter/node_modules/diff/dist/diff.js +0 -1843
- package/examples/starter/node_modules/diff/dist/diff.min.js +0 -416
- package/examples/starter/node_modules/diff/lib/convert/dmp.js +0 -24
- package/examples/starter/node_modules/diff/lib/convert/xml.js +0 -35
- package/examples/starter/node_modules/diff/lib/diff/array.js +0 -24
- package/examples/starter/node_modules/diff/lib/diff/base.js +0 -235
- package/examples/starter/node_modules/diff/lib/diff/character.js +0 -17
- package/examples/starter/node_modules/diff/lib/diff/css.js +0 -21
- package/examples/starter/node_modules/diff/lib/diff/json.js +0 -108
- package/examples/starter/node_modules/diff/lib/diff/line.js +0 -50
- package/examples/starter/node_modules/diff/lib/diff/sentence.js +0 -21
- package/examples/starter/node_modules/diff/lib/diff/word.js +0 -70
- package/examples/starter/node_modules/diff/lib/index.js +0 -74
- package/examples/starter/node_modules/diff/lib/patch/apply.js +0 -180
- package/examples/starter/node_modules/diff/lib/patch/create.js +0 -148
- package/examples/starter/node_modules/diff/lib/patch/merge.js +0 -396
- package/examples/starter/node_modules/diff/lib/patch/parse.js +0 -147
- package/examples/starter/node_modules/diff/lib/util/array.js +0 -27
- package/examples/starter/node_modules/diff/lib/util/distance-iterator.js +0 -47
- package/examples/starter/node_modules/diff/lib/util/params.js +0 -18
- package/examples/starter/node_modules/diff/package.json +0 -67
- package/examples/starter/node_modules/diff/release-notes.md +0 -247
- package/examples/starter/node_modules/diff/runtime.js +0 -3
- package/examples/starter/node_modules/diff/yarn.lock +0 -5729
- package/examples/starter/node_modules/dotenv/CHANGELOG.md +0 -598
- package/examples/starter/node_modules/dotenv/LICENSE +0 -23
- package/examples/starter/node_modules/dotenv/README-es.md +0 -405
- package/examples/starter/node_modules/dotenv/README.md +0 -692
- package/examples/starter/node_modules/dotenv/SECURITY.md +0 -1
- package/examples/starter/node_modules/dotenv/config.d.ts +0 -1
- package/examples/starter/node_modules/dotenv/config.js +0 -9
- package/examples/starter/node_modules/dotenv/lib/cli-options.js +0 -17
- package/examples/starter/node_modules/dotenv/lib/env-options.js +0 -28
- package/examples/starter/node_modules/dotenv/lib/main.d.ts +0 -179
- package/examples/starter/node_modules/dotenv/lib/main.js +0 -434
- package/examples/starter/node_modules/dotenv/package.json +0 -62
- package/examples/starter/node_modules/dotenv-expand/CHANGELOG.md +0 -177
- package/examples/starter/node_modules/dotenv-expand/LICENSE +0 -24
- package/examples/starter/node_modules/dotenv-expand/README.md +0 -174
- package/examples/starter/node_modules/dotenv-expand/config.d.ts +0 -1
- package/examples/starter/node_modules/dotenv-expand/config.js +0 -13
- package/examples/starter/node_modules/dotenv-expand/lib/main.d.ts +0 -50
- package/examples/starter/node_modules/dotenv-expand/lib/main.js +0 -98
- package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/CHANGELOG.md +0 -520
- package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/LICENSE +0 -23
- package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/README-es.md +0 -411
- package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/README.md +0 -645
- package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/SECURITY.md +0 -1
- package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/config.d.ts +0 -1
- package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/config.js +0 -9
- package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/lib/cli-options.js +0 -17
- package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/lib/env-options.js +0 -28
- package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/lib/main.d.ts +0 -162
- package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/lib/main.js +0 -386
- package/examples/starter/node_modules/dotenv-expand/node_modules/dotenv/package.json +0 -62
- package/examples/starter/node_modules/dotenv-expand/package.json +0 -56
- package/examples/starter/node_modules/env-paths/index.d.ts +0 -101
- package/examples/starter/node_modules/env-paths/index.js +0 -74
- package/examples/starter/node_modules/env-paths/license +0 -9
- package/examples/starter/node_modules/env-paths/package.json +0 -45
- package/examples/starter/node_modules/env-paths/readme.md +0 -115
- package/examples/starter/node_modules/error-ex/LICENSE +0 -21
- package/examples/starter/node_modules/error-ex/README.md +0 -144
- package/examples/starter/node_modules/error-ex/index.js +0 -141
- package/examples/starter/node_modules/error-ex/package.json +0 -46
- package/examples/starter/node_modules/escape-string-regexp/index.js +0 -11
- package/examples/starter/node_modules/escape-string-regexp/license +0 -21
- package/examples/starter/node_modules/escape-string-regexp/package.json +0 -41
- package/examples/starter/node_modules/escape-string-regexp/readme.md +0 -27
- package/examples/starter/node_modules/fill-range/LICENSE +0 -21
- package/examples/starter/node_modules/fill-range/README.md +0 -237
- package/examples/starter/node_modules/fill-range/index.js +0 -248
- package/examples/starter/node_modules/fill-range/package.json +0 -74
- package/examples/starter/node_modules/fs.realpath/LICENSE +0 -43
- package/examples/starter/node_modules/fs.realpath/README.md +0 -33
- package/examples/starter/node_modules/fs.realpath/index.js +0 -66
- package/examples/starter/node_modules/fs.realpath/old.js +0 -303
- package/examples/starter/node_modules/fs.realpath/package.json +0 -26
- package/examples/starter/node_modules/git-diff/.editorconfig +0 -10
- package/examples/starter/node_modules/git-diff/.eslintrc.json +0 -42
- package/examples/starter/node_modules/git-diff/.travis.yml +0 -9
- package/examples/starter/node_modules/git-diff/LICENSE.md +0 -24
- package/examples/starter/node_modules/git-diff/README.md +0 -218
- package/examples/starter/node_modules/git-diff/appveyor.yml +0 -17
- package/examples/starter/node_modules/git-diff/async.js +0 -14
- package/examples/starter/node_modules/git-diff/config.js +0 -8
- package/examples/starter/node_modules/git-diff/diffs.png +0 -0
- package/examples/starter/node_modules/git-diff/js/_shared/defaultOptions.js +0 -10
- package/examples/starter/node_modules/git-diff/js/gitDiffFake/color.js +0 -14
- package/examples/starter/node_modules/git-diff/js/gitDiffFake/index.js +0 -10
- package/examples/starter/node_modules/git-diff/js/gitDiffFake/index.spec.js +0 -74
- package/examples/starter/node_modules/git-diff/js/gitDiffFake/lineDiffFake/index.js +0 -56
- package/examples/starter/node_modules/git-diff/js/gitDiffFake/mostCommonLineEnding.js +0 -21
- package/examples/starter/node_modules/git-diff/js/gitDiffFake/wordDiffFake/index.js +0 -44
- package/examples/starter/node_modules/git-diff/js/gitDiffReal/bugFixes.spec.js +0 -25
- package/examples/starter/node_modules/git-diff/js/gitDiffReal/generateDiff/index.js +0 -105
- package/examples/starter/node_modules/git-diff/js/gitDiffReal/generateDiffNoRepo/index.js +0 -27
- package/examples/starter/node_modules/git-diff/js/gitDiffReal/index.js +0 -16
- package/examples/starter/node_modules/git-diff/js/gitDiffReal/index.spec.js +0 -222
- package/examples/starter/node_modules/git-diff/js/gitDiffReal/keepIt.js +0 -40
- package/examples/starter/node_modules/git-diff/js/normaliseOptions/index.js +0 -63
- package/examples/starter/node_modules/git-diff/js/normaliseOptions/index.spec.js +0 -93
- package/examples/starter/node_modules/git-diff/js/validate/index.js +0 -11
- package/examples/starter/node_modules/git-diff/js/validate/index.spec.js +0 -30
- package/examples/starter/node_modules/git-diff/node_modules/chalk/index.js +0 -228
- package/examples/starter/node_modules/git-diff/node_modules/chalk/index.js.flow +0 -93
- package/examples/starter/node_modules/git-diff/node_modules/chalk/license +0 -9
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/index.js +0 -165
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/license +0 -9
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/CHANGELOG.md +0 -54
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/LICENSE +0 -21
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/README.md +0 -68
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/conversions.js +0 -868
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/index.js +0 -78
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/node_modules/color-name/.eslintrc.json +0 -43
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/node_modules/color-name/LICENSE +0 -8
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/node_modules/color-name/README.md +0 -11
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/node_modules/color-name/index.js +0 -152
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/node_modules/color-name/package.json +0 -25
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/node_modules/color-name/test.js +0 -7
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/package.json +0 -46
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/node_modules/color-convert/route.js +0 -97
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/package.json +0 -56
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/ansi-styles/readme.md +0 -147
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/supports-color/browser.js +0 -5
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/supports-color/index.js +0 -131
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/supports-color/license +0 -9
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/index.js +0 -8
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/license +0 -9
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/package.json +0 -44
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/supports-color/node_modules/has-flag/readme.md +0 -70
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/supports-color/package.json +0 -53
- package/examples/starter/node_modules/git-diff/node_modules/chalk/node_modules/supports-color/readme.md +0 -66
- package/examples/starter/node_modules/git-diff/node_modules/chalk/package.json +0 -71
- package/examples/starter/node_modules/git-diff/node_modules/chalk/readme.md +0 -314
- package/examples/starter/node_modules/git-diff/node_modules/chalk/templates.js +0 -128
- package/examples/starter/node_modules/git-diff/node_modules/chalk/types/index.d.ts +0 -97
- package/examples/starter/node_modules/git-diff/package.json +0 -75
- package/examples/starter/node_modules/git-diff/server.bootstrap.js +0 -4
- package/examples/starter/node_modules/git-diff/sync.js +0 -24
- package/examples/starter/node_modules/git-diff/test/_js/testImports.js +0 -31
- package/examples/starter/node_modules/git-diff/test/data/index.js +0 -29
- package/examples/starter/node_modules/git-diff/test/data/lineDiffVim.txt +0 -13
- package/examples/starter/node_modules/git-diff/test/data/shortstatReal.txt +0 -1
- package/examples/starter/node_modules/git-diff/test/data/str1.txt +0 -9
- package/examples/starter/node_modules/git-diff/test/data/str2.txt +0 -9
- package/examples/starter/node_modules/git-diff/test/data/wordDiffFake.txt +0 -10
- package/examples/starter/node_modules/git-diff/test/data/wordDiffReal.txt +0 -10
- package/examples/starter/node_modules/git-diff/test/examples/examples.spec.js +0 -105
- package/examples/starter/node_modules/git-diff/test/examples/newStr.txt +0 -9
- package/examples/starter/node_modules/git-diff/test/examples/oldStr.txt +0 -9
- package/examples/starter/node_modules/git-diff/test/gitDiffAsync/gitDiffAsync.spec.js +0 -50
- package/examples/starter/node_modules/git-diff/test/gitDiffSync/fake.spec.js +0 -126
- package/examples/starter/node_modules/git-diff/test/gitDiffSync/misc.spec.js +0 -62
- package/examples/starter/node_modules/git-diff/test/gitDiffSync/real.spec.js +0 -206
- package/examples/starter/node_modules/git-diff/test/mocha.opts +0 -8
- package/examples/starter/node_modules/git-diff/test/test.bootstrap.js +0 -1
- package/examples/starter/node_modules/git-diff/top.png +0 -0
- package/examples/starter/node_modules/git-diff/yarn.lock +0 -1829
- package/examples/starter/node_modules/glob/LICENSE +0 -21
- package/examples/starter/node_modules/glob/README.md +0 -378
- package/examples/starter/node_modules/glob/common.js +0 -238
- package/examples/starter/node_modules/glob/glob.js +0 -790
- package/examples/starter/node_modules/glob/package.json +0 -55
- package/examples/starter/node_modules/glob/sync.js +0 -486
- package/examples/starter/node_modules/has-flag/index.d.ts +0 -39
- package/examples/starter/node_modules/has-flag/index.js +0 -8
- package/examples/starter/node_modules/has-flag/license +0 -9
- package/examples/starter/node_modules/has-flag/package.json +0 -46
- package/examples/starter/node_modules/has-flag/readme.md +0 -89
- package/examples/starter/node_modules/import-fresh/index.d.ts +0 -30
- package/examples/starter/node_modules/import-fresh/index.js +0 -34
- package/examples/starter/node_modules/import-fresh/license +0 -9
- package/examples/starter/node_modules/import-fresh/package.json +0 -48
- package/examples/starter/node_modules/import-fresh/readme.md +0 -54
- package/examples/starter/node_modules/inflight/LICENSE +0 -15
- package/examples/starter/node_modules/inflight/README.md +0 -37
- package/examples/starter/node_modules/inflight/inflight.js +0 -54
- package/examples/starter/node_modules/inflight/package.json +0 -29
- package/examples/starter/node_modules/interpret/CHANGELOG +0 -115
- package/examples/starter/node_modules/interpret/LICENSE +0 -22
- package/examples/starter/node_modules/interpret/README.md +0 -187
- package/examples/starter/node_modules/interpret/index.js +0 -168
- package/examples/starter/node_modules/interpret/mjs-stub.js +0 -1
- package/examples/starter/node_modules/interpret/package.json +0 -75
- package/examples/starter/node_modules/is-arrayish/.editorconfig +0 -18
- package/examples/starter/node_modules/is-arrayish/.istanbul.yml +0 -4
- package/examples/starter/node_modules/is-arrayish/.travis.yml +0 -17
- package/examples/starter/node_modules/is-arrayish/LICENSE +0 -21
- package/examples/starter/node_modules/is-arrayish/README.md +0 -16
- package/examples/starter/node_modules/is-arrayish/index.js +0 -10
- package/examples/starter/node_modules/is-arrayish/package.json +0 -34
- package/examples/starter/node_modules/is-core-module/.eslintrc +0 -18
- package/examples/starter/node_modules/is-core-module/.nycrc +0 -9
- package/examples/starter/node_modules/is-core-module/CHANGELOG.md +0 -218
- package/examples/starter/node_modules/is-core-module/LICENSE +0 -20
- package/examples/starter/node_modules/is-core-module/README.md +0 -40
- package/examples/starter/node_modules/is-core-module/core.json +0 -162
- package/examples/starter/node_modules/is-core-module/index.js +0 -69
- package/examples/starter/node_modules/is-core-module/package.json +0 -76
- package/examples/starter/node_modules/is-core-module/test/index.js +0 -157
- package/examples/starter/node_modules/is-number/LICENSE +0 -21
- package/examples/starter/node_modules/is-number/README.md +0 -187
- package/examples/starter/node_modules/is-number/index.js +0 -18
- package/examples/starter/node_modules/is-number/package.json +0 -82
- package/examples/starter/node_modules/js-tokens/CHANGELOG.md +0 -151
- package/examples/starter/node_modules/js-tokens/LICENSE +0 -21
- package/examples/starter/node_modules/js-tokens/README.md +0 -240
- package/examples/starter/node_modules/js-tokens/index.js +0 -23
- package/examples/starter/node_modules/js-tokens/package.json +0 -30
- package/examples/starter/node_modules/js-yaml/LICENSE +0 -21
- package/examples/starter/node_modules/js-yaml/README.md +0 -247
- package/examples/starter/node_modules/js-yaml/bin/js-yaml.js +0 -126
- package/examples/starter/node_modules/js-yaml/dist/js-yaml.js +0 -3880
- package/examples/starter/node_modules/js-yaml/dist/js-yaml.min.js +0 -2
- package/examples/starter/node_modules/js-yaml/dist/js-yaml.mjs +0 -3856
- package/examples/starter/node_modules/js-yaml/index.js +0 -47
- package/examples/starter/node_modules/js-yaml/lib/common.js +0 -59
- package/examples/starter/node_modules/js-yaml/lib/dumper.js +0 -965
- package/examples/starter/node_modules/js-yaml/lib/exception.js +0 -55
- package/examples/starter/node_modules/js-yaml/lib/loader.js +0 -1733
- package/examples/starter/node_modules/js-yaml/lib/schema/core.js +0 -11
- package/examples/starter/node_modules/js-yaml/lib/schema/default.js +0 -22
- package/examples/starter/node_modules/js-yaml/lib/schema/failsafe.js +0 -17
- package/examples/starter/node_modules/js-yaml/lib/schema/json.js +0 -19
- package/examples/starter/node_modules/js-yaml/lib/schema.js +0 -121
- package/examples/starter/node_modules/js-yaml/lib/snippet.js +0 -101
- package/examples/starter/node_modules/js-yaml/lib/type/binary.js +0 -125
- package/examples/starter/node_modules/js-yaml/lib/type/bool.js +0 -35
- package/examples/starter/node_modules/js-yaml/lib/type/float.js +0 -97
- package/examples/starter/node_modules/js-yaml/lib/type/int.js +0 -156
- package/examples/starter/node_modules/js-yaml/lib/type/map.js +0 -8
- package/examples/starter/node_modules/js-yaml/lib/type/merge.js +0 -12
- package/examples/starter/node_modules/js-yaml/lib/type/null.js +0 -35
- package/examples/starter/node_modules/js-yaml/lib/type/omap.js +0 -44
- package/examples/starter/node_modules/js-yaml/lib/type/pairs.js +0 -53
- package/examples/starter/node_modules/js-yaml/lib/type/seq.js +0 -8
- package/examples/starter/node_modules/js-yaml/lib/type/set.js +0 -29
- package/examples/starter/node_modules/js-yaml/lib/type/str.js +0 -8
- package/examples/starter/node_modules/js-yaml/lib/type/timestamp.js +0 -88
- package/examples/starter/node_modules/js-yaml/lib/type.js +0 -66
- package/examples/starter/node_modules/js-yaml/package.json +0 -66
- package/examples/starter/node_modules/json-parse-even-better-errors/CHANGELOG.md +0 -50
- package/examples/starter/node_modules/json-parse-even-better-errors/LICENSE.md +0 -25
- package/examples/starter/node_modules/json-parse-even-better-errors/README.md +0 -96
- package/examples/starter/node_modules/json-parse-even-better-errors/index.js +0 -121
- package/examples/starter/node_modules/json-parse-even-better-errors/package.json +0 -33
- package/examples/starter/node_modules/kysely-codegen/.cspell.json +0 -97
- package/examples/starter/node_modules/kysely-codegen/.github/FUNDING.yml +0 -1
- package/examples/starter/node_modules/kysely-codegen/.kysely-codegenrc.json +0 -3
- package/examples/starter/node_modules/kysely-codegen/.ncurc.json +0 -3
- package/examples/starter/node_modules/kysely-codegen/.prettierignore +0 -1
- package/examples/starter/node_modules/kysely-codegen/LICENSE +0 -18
- package/examples/starter/node_modules/kysely-codegen/README.md +0 -456
- package/examples/starter/node_modules/kysely-codegen/assets/kysely-codegen-logo.svg +0 -28
- package/examples/starter/node_modules/kysely-codegen/dist/cli/bin.d.ts +0 -2
- package/examples/starter/node_modules/kysely-codegen/dist/cli/bin.js +0 -6
- package/examples/starter/node_modules/kysely-codegen/dist/cli/bin.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/cli/cli.d.ts +0 -17
- package/examples/starter/node_modules/kysely-codegen/dist/cli/cli.js +0 -246
- package/examples/starter/node_modules/kysely-codegen/dist/cli/cli.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/cli/config-error.d.ts +0 -6
- package/examples/starter/node_modules/kysely-codegen/dist/cli/config-error.js +0 -11
- package/examples/starter/node_modules/kysely-codegen/dist/cli/config-error.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/cli/config.d.ts +0 -106
- package/examples/starter/node_modules/kysely-codegen/dist/cli/config.js +0 -87
- package/examples/starter/node_modules/kysely-codegen/dist/cli/config.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/cli/constants.d.ts +0 -5
- package/examples/starter/node_modules/kysely-codegen/dist/cli/constants.js +0 -23
- package/examples/starter/node_modules/kysely-codegen/dist/cli/constants.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/cli/flags.d.ts +0 -76
- package/examples/starter/node_modules/kysely-codegen/dist/cli/flags.js +0 -152
- package/examples/starter/node_modules/kysely-codegen/dist/cli/flags.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/cli/index.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/dist/cli/index.js +0 -21
- package/examples/starter/node_modules/kysely-codegen/dist/cli/index.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/db.d.ts +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/db.js +0 -3
- package/examples/starter/node_modules/kysely-codegen/dist/db.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/adapter.d.ts +0 -16
- package/examples/starter/node_modules/kysely-codegen/dist/generator/adapter.js +0 -18
- package/examples/starter/node_modules/kysely-codegen/dist/generator/adapter.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/alias-declaration-node.d.ts +0 -9
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/alias-declaration-node.js +0 -13
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/alias-declaration-node.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/array-expression-node.d.ts +0 -6
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/array-expression-node.js +0 -11
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/array-expression-node.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/column-type-node.d.ts +0 -5
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/column-type-node.js +0 -11
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/column-type-node.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/definition-node.d.ts +0 -3
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/definition-node.js +0 -3
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/definition-node.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/export-statement-node.d.ts +0 -10
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/export-statement-node.js +0 -11
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/export-statement-node.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/expression-node.d.ts +0 -11
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/expression-node.js +0 -3
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/expression-node.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/extends-clause-node.d.ts +0 -9
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/extends-clause-node.js +0 -14
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/extends-clause-node.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/generic-expression-node.d.ts +0 -7
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/generic-expression-node.js +0 -12
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/generic-expression-node.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/identifier-node.d.ts +0 -11
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/identifier-node.js +0 -18
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/identifier-node.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/import-clause-node.d.ts +0 -6
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/import-clause-node.js +0 -12
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/import-clause-node.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/import-statement-node.d.ts +0 -7
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/import-statement-node.js +0 -12
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/import-statement-node.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/infer-clause-node.d.ts +0 -5
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/infer-clause-node.js +0 -11
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/infer-clause-node.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/interface-declaration-node.d.ts +0 -8
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/interface-declaration-node.js +0 -12
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/interface-declaration-node.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/json-column-type-node.d.ts +0 -5
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/json-column-type-node.js +0 -11
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/json-column-type-node.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/literal-node.d.ts +0 -7
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/literal-node.js +0 -11
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/literal-node.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/mapped-type-node.d.ts +0 -6
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/mapped-type-node.js +0 -11
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/mapped-type-node.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/module-reference-node.d.ts +0 -15
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/module-reference-node.js +0 -12
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/module-reference-node.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/object-expression-node.d.ts +0 -6
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/object-expression-node.js +0 -11
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/object-expression-node.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/property-node.d.ts +0 -8
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/property-node.js +0 -13
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/property-node.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/raw-expression-node.d.ts +0 -5
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/raw-expression-node.js +0 -11
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/raw-expression-node.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/runtime-enum-declaration-node.d.ts +0 -13
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/runtime-enum-declaration-node.js +0 -28
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/runtime-enum-declaration-node.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/statement-node.d.ts +0 -3
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/statement-node.js +0 -3
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/statement-node.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/template-node.d.ts +0 -7
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/template-node.js +0 -12
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/template-node.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/union-expression-node.d.ts +0 -6
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/union-expression-node.js +0 -11
- package/examples/starter/node_modules/kysely-codegen/dist/generator/ast/union-expression-node.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/connection-string-parser.d.ts +0 -24
- package/examples/starter/node_modules/kysely-codegen/dist/generator/connection-string-parser.js +0 -94
- package/examples/starter/node_modules/kysely-codegen/dist/generator/connection-string-parser.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/constants.d.ts +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/constants.js +0 -6
- package/examples/starter/node_modules/kysely-codegen/dist/generator/constants.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialect.d.ts +0 -11
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialect.js +0 -38
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialect.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/kysely-bun-sqlite/kysely-bun-sqlite-adapter.d.ts +0 -3
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/kysely-bun-sqlite/kysely-bun-sqlite-adapter.js +0 -8
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/kysely-bun-sqlite/kysely-bun-sqlite-adapter.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/kysely-bun-sqlite/kysely-bun-sqlite-dialect.d.ts +0 -6
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/kysely-bun-sqlite/kysely-bun-sqlite-dialect.js +0 -13
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/kysely-bun-sqlite/kysely-bun-sqlite-dialect.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/libsql/libsql-adapter.d.ts +0 -3
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/libsql/libsql-adapter.js +0 -8
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/libsql/libsql-adapter.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/libsql/libsql-dialect.d.ts +0 -6
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/libsql/libsql-dialect.js +0 -13
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/libsql/libsql-dialect.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mssql/mssql-adapter.d.ts +0 -36
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mssql/mssql-adapter.js +0 -45
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mssql/mssql-adapter.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mssql/mssql-dialect.d.ts +0 -6
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mssql/mssql-dialect.js +0 -13
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mssql/mssql-dialect.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mysql/mysql-adapter.d.ts +0 -58
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mysql/mysql-adapter.js +0 -80
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mysql/mysql-adapter.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mysql/mysql-dialect.d.ts +0 -6
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mysql/mysql-dialect.js +0 -13
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/mysql/mysql-dialect.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/postgres/postgres-adapter.d.ts +0 -72
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/postgres/postgres-adapter.js +0 -137
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/postgres/postgres-adapter.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/postgres/postgres-dialect.d.ts +0 -16
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/postgres/postgres-dialect.js +0 -22
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/postgres/postgres-dialect.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/sqlite/sqlite-adapter.d.ts +0 -14
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/sqlite/sqlite-adapter.js +0 -22
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/sqlite/sqlite-adapter.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/sqlite/sqlite-dialect.d.ts +0 -6
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/sqlite/sqlite-dialect.js +0 -13
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/sqlite/sqlite-dialect.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/worker-bun-sqlite/worker-bun-sqlite-dialect.d.ts +0 -6
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/worker-bun-sqlite/worker-bun-sqlite-dialect.js +0 -13
- package/examples/starter/node_modules/kysely-codegen/dist/generator/dialects/worker-bun-sqlite/worker-bun-sqlite-dialect.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/diff-checker.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/diff-checker.js +0 -27
- package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/diff-checker.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/generate.d.ts +0 -34
- package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/generate.js +0 -84
- package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/generate.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/runtime-enums-style.d.ts +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/runtime-enums-style.js +0 -3
- package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/runtime-enums-style.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/serializer.d.ts +0 -68
- package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/serializer.js +0 -311
- package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/serializer.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/singularizer.d.ts +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/singularizer.js +0 -32
- package/examples/starter/node_modules/kysely-codegen/dist/generator/generator/singularizer.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/index.d.ts +0 -50
- package/examples/starter/node_modules/kysely-codegen/dist/generator/index.js +0 -67
- package/examples/starter/node_modules/kysely-codegen/dist/generator/index.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/logger/log-level.d.ts +0 -8
- package/examples/starter/node_modules/kysely-codegen/dist/generator/logger/log-level.js +0 -14
- package/examples/starter/node_modules/kysely-codegen/dist/generator/logger/log-level.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/logger/logger.d.ts +0 -12
- package/examples/starter/node_modules/kysely-codegen/dist/generator/logger/logger.js +0 -62
- package/examples/starter/node_modules/kysely-codegen/dist/generator/logger/logger.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/definitions.d.ts +0 -18
- package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/definitions.js +0 -44
- package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/definitions.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/identifier-style.d.ts +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/identifier-style.js +0 -3
- package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/identifier-style.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/imports.d.ts +0 -5
- package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/imports.js +0 -9
- package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/imports.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/symbol-collection.d.ts +0 -44
- package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/symbol-collection.js +0 -59
- package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/symbol-collection.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/transformer.d.ts +0 -38
- package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/transformer.js +0 -380
- package/examples/starter/node_modules/kysely-codegen/dist/generator/transformer/transformer.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/generator/utils/case-converter.d.ts +0 -30
- package/examples/starter/node_modules/kysely-codegen/dist/generator/utils/case-converter.js +0 -67
- package/examples/starter/node_modules/kysely-codegen/dist/generator/utils/case-converter.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/index.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/dist/index.js +0 -21
- package/examples/starter/node_modules/kysely-codegen/dist/index.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialect.d.ts +0 -19
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialect.js +0 -10
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialect.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/kysely-bun-sqlite/kysely-bun-sqlite-dialect.d.ts +0 -7
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/kysely-bun-sqlite/kysely-bun-sqlite-dialect.js +0 -56
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/kysely-bun-sqlite/kysely-bun-sqlite-dialect.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/kysely-bun-sqlite/kysely-bun-sqlite-introspector.d.ts +0 -6
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/kysely-bun-sqlite/kysely-bun-sqlite-introspector.js +0 -15
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/kysely-bun-sqlite/kysely-bun-sqlite-introspector.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/libsql/libsql-dialect.d.ts +0 -7
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/libsql/libsql-dialect.js +0 -59
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/libsql/libsql-dialect.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/libsql/libsql-introspector.d.ts +0 -6
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/libsql/libsql-introspector.js +0 -15
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/libsql/libsql-introspector.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mssql/mssql-dialect.d.ts +0 -9
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mssql/mssql-dialect.js +0 -112
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mssql/mssql-dialect.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mssql/mssql-introspector.d.ts +0 -6
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mssql/mssql-introspector.js +0 -15
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mssql/mssql-introspector.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-db.d.ts +0 -8
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-db.js +0 -3
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-db.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-dialect.d.ts +0 -8
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-dialect.js +0 -55
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-dialect.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-introspector.d.ts +0 -14
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-introspector.js +0 -46
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-introspector.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-parser.d.ts +0 -7
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-parser.js +0 -66
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/mysql/mysql-parser.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/date-parser.d.ts +0 -2
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/date-parser.js +0 -5
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/date-parser.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/numeric-parser.d.ts +0 -2
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/numeric-parser.js +0 -5
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/numeric-parser.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/postgres-db.d.ts +0 -15
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/postgres-db.js +0 -3
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/postgres-db.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/postgres-dialect.d.ts +0 -20
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/postgres-dialect.js +0 -83
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/postgres-dialect.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/postgres-introspector.d.ts +0 -35
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/postgres-introspector.js +0 -128
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/postgres/postgres-introspector.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/sqlite/sqlite-dialect.d.ts +0 -8
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/sqlite/sqlite-dialect.js +0 -53
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/sqlite/sqlite-dialect.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/sqlite/sqlite-introspector.d.ts +0 -6
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/sqlite/sqlite-introspector.js +0 -15
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/dialects/sqlite/sqlite-introspector.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/enum-collection.d.ts +0 -10
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/enum-collection.js +0 -26
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/enum-collection.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/index.d.ts +0 -24
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/index.js +0 -41
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/index.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/introspector.d.ts +0 -23
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/introspector.fixtures.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/introspector.fixtures.js +0 -128
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/introspector.fixtures.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/introspector.js +0 -50
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/introspector.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/metadata/column-metadata.d.ts +0 -23
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/metadata/column-metadata.js +0 -18
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/metadata/column-metadata.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/metadata/database-metadata.d.ts +0 -12
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/metadata/database-metadata.js +0 -13
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/metadata/database-metadata.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/metadata/table-metadata.d.ts +0 -17
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/metadata/table-metadata.js +0 -15
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/metadata/table-metadata.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/table-matcher.d.ts +0 -6
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/table-matcher.js +0 -16
- package/examples/starter/node_modules/kysely-codegen/dist/introspector/table-matcher.js.map +0 -1
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/LICENSE +0 -21
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/README.md +0 -208
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/index.cjs +0 -33
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/index.d.cts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/index.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/index.js +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/locales/index.cjs +0 -17
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/locales/index.d.cts +0 -1
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/locales/index.d.ts +0 -1
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/locales/index.js +0 -1
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/locales/package.json +0 -6
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/mini/index.cjs +0 -17
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/mini/index.d.cts +0 -1
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/mini/index.d.ts +0 -1
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/mini/index.js +0 -1
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/mini/package.json +0 -6
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/package.json +0 -135
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/index.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/locales/index.ts +0 -1
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/mini/index.ts +0 -1
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/ZodError.ts +0 -330
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/benchmarks/datetime.ts +0 -58
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +0 -80
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/benchmarks/index.ts +0 -59
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/benchmarks/ipv4.ts +0 -57
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/benchmarks/object.ts +0 -69
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/benchmarks/primitives.ts +0 -162
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/benchmarks/realworld.ts +0 -63
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/benchmarks/string.ts +0 -55
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/benchmarks/union.ts +0 -80
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/errors.ts +0 -13
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/external.ts +0 -6
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/helpers/enumUtil.ts +0 -17
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/helpers/errorUtil.ts +0 -8
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/helpers/parseUtil.ts +0 -176
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/helpers/partialUtil.ts +0 -34
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/helpers/typeAliases.ts +0 -2
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/helpers/util.ts +0 -224
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/index.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/locales/en.ts +0 -124
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/standard-schema.ts +0 -113
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/Mocker.ts +0 -54
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/all-errors.test.ts +0 -157
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/anyunknown.test.ts +0 -28
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/array.test.ts +0 -71
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/async-parsing.test.ts +0 -388
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/async-refinements.test.ts +0 -46
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/base.test.ts +0 -29
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/bigint.test.ts +0 -55
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/branded.test.ts +0 -53
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/catch.test.ts +0 -220
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/coerce.test.ts +0 -133
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/complex.test.ts +0 -70
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/custom.test.ts +0 -31
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/date.test.ts +0 -32
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/deepmasking.test.ts +0 -186
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/default.test.ts +0 -112
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/description.test.ts +0 -33
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +0 -315
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/enum.test.ts +0 -80
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/error.test.ts +0 -551
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/firstparty.test.ts +0 -87
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +0 -21
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/function.test.ts +0 -261
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/generics.test.ts +0 -48
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/instanceof.test.ts +0 -37
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/intersection.test.ts +0 -110
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/language-server.source.ts +0 -76
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/language-server.test.ts +0 -207
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/literal.test.ts +0 -36
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/map.test.ts +0 -110
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/masking.test.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/mocker.test.ts +0 -19
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/nan.test.ts +0 -24
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/nativeEnum.test.ts +0 -87
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/nullable.test.ts +0 -42
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/number.test.ts +0 -176
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/object-augmentation.test.ts +0 -29
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +0 -29
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/object.test.ts +0 -434
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/optional.test.ts +0 -42
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/parseUtil.test.ts +0 -23
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/parser.test.ts +0 -41
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/partials.test.ts +0 -243
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/pickomit.test.ts +0 -111
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/pipeline.test.ts +0 -29
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/preprocess.test.ts +0 -186
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/primitive.test.ts +0 -440
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/promise.test.ts +0 -90
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/readonly.test.ts +0 -194
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/record.test.ts +0 -171
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/recursive.test.ts +0 -197
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/refine.test.ts +0 -313
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/safeparse.test.ts +0 -27
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/set.test.ts +0 -142
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/standard-schema.test.ts +0 -83
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/string.test.ts +0 -916
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/transformer.test.ts +0 -233
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/tuple.test.ts +0 -90
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/unions.test.ts +0 -57
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/validations.test.ts +0 -133
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/tests/void.test.ts +0 -15
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v3/types.ts +0 -5138
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/checks.ts +0 -32
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/coerce.ts +0 -27
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/compat.ts +0 -70
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/errors.ts +0 -82
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/external.ts +0 -51
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/from-json-schema.ts +0 -643
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/index.ts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/iso.ts +0 -90
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/parse.ts +0 -82
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/schemas.ts +0 -2409
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +0 -26
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/apply.test.ts +0 -59
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/array.test.ts +0 -264
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/assignability.test.ts +0 -210
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +0 -381
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +0 -68
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/base.test.ts +0 -7
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/bigint.test.ts +0 -54
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/brand.test.ts +0 -106
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/catch.test.ts +0 -276
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +0 -20
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +0 -573
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/codec.test.ts +0 -562
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/coerce.test.ts +0 -160
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/continuability.test.ts +0 -374
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/custom.test.ts +0 -40
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/date.test.ts +0 -62
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/datetime.test.ts +0 -302
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/default.test.ts +0 -365
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +0 -27
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/description.test.ts +0 -32
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +0 -661
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/enum.test.ts +0 -285
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +0 -595
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/error.test.ts +0 -711
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/file.test.ts +0 -96
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +0 -179
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +0 -26
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +0 -734
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/function.test.ts +0 -360
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/generics.test.ts +0 -72
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/hash.test.ts +0 -68
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/index.test.ts +0 -939
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +0 -60
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/intersection.test.ts +0 -198
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/json.test.ts +0 -109
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/lazy.test.ts +0 -227
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/literal.test.ts +0 -117
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/map.test.ts +0 -330
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/nan.test.ts +0 -21
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +0 -168
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +0 -101
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/nullable.test.ts +0 -22
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/number.test.ts +0 -270
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/object.test.ts +0 -640
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/optional.test.ts +0 -223
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/partial.test.ts +0 -427
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +0 -211
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/pipe.test.ts +0 -101
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/prefault.test.ts +0 -74
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +0 -282
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/primitive.test.ts +0 -175
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/promise.test.ts +0 -81
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +0 -23
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/readonly.test.ts +0 -252
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/record.test.ts +0 -600
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +0 -582
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/refine.test.ts +0 -570
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/registries.test.ts +0 -243
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/set.test.ts +0 -181
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +0 -134
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +0 -125
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/string.test.ts +0 -1175
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +0 -106
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +0 -771
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +0 -438
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +0 -2975
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/transform.test.ts +0 -361
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/tuple.test.ts +0 -183
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/union.test.ts +0 -219
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/url.test.ts +0 -13
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/validations.test.ts +0 -283
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/tests/void.test.ts +0 -12
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/api.ts +0 -1798
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/checks.ts +0 -1293
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/config.ts +0 -15
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/core.ts +0 -138
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/doc.ts +0 -44
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/errors.ts +0 -448
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/index.ts +0 -16
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/json-schema-generator.ts +0 -126
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/json-schema-processors.ts +0 -667
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/json-schema.ts +0 -147
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/parse.ts +0 -195
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/regexes.ts +0 -183
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/registries.ts +0 -105
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/schemas.ts +0 -4543
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/standard-schema.ts +0 -159
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/extend.test.ts +0 -59
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/index.test.ts +0 -46
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/locales/be.test.ts +0 -124
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/locales/en.test.ts +0 -22
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/locales/es.test.ts +0 -181
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/locales/he.test.ts +0 -379
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +0 -46
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +0 -128
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +0 -69
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +0 -83
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +0 -67
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +0 -45
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/to-json-schema.ts +0 -613
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/util.ts +0 -966
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/versions.ts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/core/zsf.ts +0 -323
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/index.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ar.ts +0 -115
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/az.ts +0 -111
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/be.ts +0 -176
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/bg.ts +0 -128
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ca.ts +0 -116
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/cs.ts +0 -118
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/da.ts +0 -123
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/de.ts +0 -116
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/en.ts +0 -119
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/eo.ts +0 -118
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/es.ts +0 -141
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/fa.ts +0 -126
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/fi.ts +0 -121
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/fr-CA.ts +0 -116
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/fr.ts +0 -116
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/he.ts +0 -246
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/hu.ts +0 -117
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/hy.ts +0 -164
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/id.ts +0 -115
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/index.ts +0 -49
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/is.ts +0 -119
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/it.ts +0 -116
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ja.ts +0 -114
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ka.ts +0 -123
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/kh.ts +0 -7
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/km.ts +0 -119
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ko.ts +0 -121
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/lt.ts +0 -239
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/mk.ts +0 -118
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ms.ts +0 -115
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/nl.ts +0 -121
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/no.ts +0 -116
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ota.ts +0 -117
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/pl.ts +0 -118
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ps.ts +0 -126
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/pt.ts +0 -116
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ru.ts +0 -176
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/sl.ts +0 -118
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/sv.ts +0 -119
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ta.ts +0 -118
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/th.ts +0 -119
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/tr.ts +0 -111
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ua.ts +0 -7
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/uk.ts +0 -117
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/ur.ts +0 -119
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/uz.ts +0 -116
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/vi.ts +0 -117
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/yo.ts +0 -124
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/zh-CN.ts +0 -116
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/locales/zh-TW.ts +0 -115
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/checks.ts +0 -32
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/coerce.ts +0 -27
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/external.ts +0 -40
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/index.ts +0 -3
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/iso.ts +0 -66
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/parse.ts +0 -14
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/schemas.ts +0 -1916
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/apply.test.ts +0 -24
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/assignability.test.ts +0 -129
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/brand.test.ts +0 -94
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/checks.test.ts +0 -144
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/codec.test.ts +0 -529
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/computed.test.ts +0 -36
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/error.test.ts +0 -22
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/functions.test.ts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/index.test.ts +0 -963
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/number.test.ts +0 -95
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/object.test.ts +0 -227
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +0 -43
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +0 -275
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +0 -50
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/mini/tests/string.test.ts +0 -347
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4-mini/index.ts +0 -1
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/ZodError.cjs +0 -138
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/ZodError.d.cts +0 -164
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/ZodError.d.ts +0 -164
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/ZodError.js +0 -133
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/errors.cjs +0 -17
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/errors.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/errors.d.ts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/errors.js +0 -9
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/external.cjs +0 -22
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/external.d.cts +0 -6
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/external.d.ts +0 -6
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/external.js +0 -6
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/enumUtil.cjs +0 -2
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/enumUtil.d.cts +0 -8
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/enumUtil.d.ts +0 -8
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/enumUtil.js +0 -1
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/errorUtil.cjs +0 -9
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/errorUtil.d.cts +0 -9
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/errorUtil.d.ts +0 -9
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/errorUtil.js +0 -6
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/parseUtil.cjs +0 -124
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/parseUtil.d.cts +0 -78
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/parseUtil.d.ts +0 -78
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/parseUtil.js +0 -109
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/partialUtil.cjs +0 -2
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/partialUtil.d.cts +0 -8
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/partialUtil.d.ts +0 -8
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/partialUtil.js +0 -1
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/typeAliases.cjs +0 -2
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/typeAliases.d.cts +0 -2
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/typeAliases.d.ts +0 -2
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/typeAliases.js +0 -1
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/util.cjs +0 -137
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/util.d.cts +0 -85
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/util.d.ts +0 -85
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/helpers/util.js +0 -133
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/index.cjs +0 -33
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/index.d.cts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/index.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/index.js +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/locales/en.cjs +0 -112
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/locales/en.d.cts +0 -3
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/locales/en.d.ts +0 -3
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/locales/en.js +0 -109
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/package.json +0 -6
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/standard-schema.cjs +0 -2
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/standard-schema.d.cts +0 -102
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/standard-schema.d.ts +0 -102
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/standard-schema.js +0 -1
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/types.cjs +0 -3777
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/types.d.cts +0 -1034
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/types.d.ts +0 -1034
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v3/types.js +0 -3695
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/checks.cjs +0 -33
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/checks.d.cts +0 -1
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/checks.d.ts +0 -1
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/checks.js +0 -1
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/coerce.cjs +0 -47
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/coerce.d.cts +0 -17
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/coerce.d.ts +0 -17
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/coerce.js +0 -17
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/compat.cjs +0 -61
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/compat.d.cts +0 -50
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/compat.d.ts +0 -50
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/compat.js +0 -31
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/errors.cjs +0 -74
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/errors.d.cts +0 -30
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/errors.d.ts +0 -30
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/errors.js +0 -48
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/external.cjs +0 -73
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/external.d.cts +0 -15
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/external.d.ts +0 -15
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/external.js +0 -20
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/from-json-schema.cjs +0 -610
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/from-json-schema.d.cts +0 -12
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/from-json-schema.d.ts +0 -12
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/from-json-schema.js +0 -584
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/index.cjs +0 -33
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/index.d.cts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/index.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/index.js +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/iso.cjs +0 -60
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/iso.d.cts +0 -22
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/iso.d.ts +0 -22
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/iso.js +0 -30
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/package.json +0 -6
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/parse.cjs +0 -41
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/parse.d.cts +0 -31
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/parse.d.ts +0 -31
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/parse.js +0 -15
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/schemas.cjs +0 -1272
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/schemas.d.cts +0 -739
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/schemas.d.ts +0 -739
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/classic/schemas.js +0 -1157
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/api.cjs +0 -1222
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/api.d.cts +0 -304
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/api.d.ts +0 -304
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/api.js +0 -1082
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/checks.cjs +0 -601
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/checks.d.cts +0 -278
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/checks.d.ts +0 -278
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/checks.js +0 -575
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/core.cjs +0 -83
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/core.d.cts +0 -70
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/core.d.ts +0 -70
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/core.js +0 -76
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/doc.cjs +0 -39
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/doc.d.cts +0 -14
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/doc.d.ts +0 -14
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/doc.js +0 -35
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/errors.cjs +0 -213
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/errors.d.cts +0 -220
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/errors.d.ts +0 -220
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/errors.js +0 -182
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/index.cjs +0 -47
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/index.d.cts +0 -16
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/index.d.ts +0 -16
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/index.js +0 -16
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema-generator.cjs +0 -99
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema-generator.d.cts +0 -65
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema-generator.d.ts +0 -65
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema-generator.js +0 -95
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema-processors.cjs +0 -648
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema-processors.d.cts +0 -49
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema-processors.d.ts +0 -49
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema-processors.js +0 -605
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema.cjs +0 -2
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema.d.cts +0 -88
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema.d.ts +0 -88
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/json-schema.js +0 -1
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/package.json +0 -6
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/parse.cjs +0 -131
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/parse.d.cts +0 -49
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/parse.d.ts +0 -49
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/parse.js +0 -93
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/regexes.cjs +0 -166
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/regexes.d.cts +0 -79
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/regexes.d.ts +0 -79
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/regexes.js +0 -133
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/registries.cjs +0 -56
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/registries.d.cts +0 -35
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/registries.d.ts +0 -35
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/registries.js +0 -51
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/schemas.cjs +0 -2126
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/schemas.d.cts +0 -1146
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/schemas.d.ts +0 -1146
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/schemas.js +0 -2095
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/standard-schema.cjs +0 -2
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/standard-schema.d.cts +0 -126
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/standard-schema.d.ts +0 -126
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/standard-schema.js +0 -1
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/to-json-schema.cjs +0 -446
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/to-json-schema.d.cts +0 -114
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/to-json-schema.d.ts +0 -114
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/to-json-schema.js +0 -437
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/util.cjs +0 -710
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/util.d.cts +0 -199
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/util.d.ts +0 -199
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/util.js +0 -651
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/versions.cjs +0 -8
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/versions.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/versions.d.ts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/core/versions.js +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/index.cjs +0 -22
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/index.d.cts +0 -3
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/index.d.ts +0 -3
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/index.js +0 -3
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ar.cjs +0 -133
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ar.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ar.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ar.js +0 -106
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/az.cjs +0 -132
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/az.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/az.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/az.js +0 -105
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/be.cjs +0 -183
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/be.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/be.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/be.js +0 -156
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/bg.cjs +0 -147
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/bg.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/bg.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/bg.js +0 -120
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ca.cjs +0 -134
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ca.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ca.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ca.js +0 -107
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/cs.cjs +0 -138
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/cs.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/cs.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/cs.js +0 -111
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/da.cjs +0 -142
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/da.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/da.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/da.js +0 -115
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/de.cjs +0 -135
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/de.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/de.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/de.js +0 -108
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/en.cjs +0 -136
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/en.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/en.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/en.js +0 -109
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/eo.cjs +0 -136
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/eo.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/eo.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/eo.js +0 -109
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/es.cjs +0 -159
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/es.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/es.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/es.js +0 -132
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fa.cjs +0 -141
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fa.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fa.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fa.js +0 -114
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fi.cjs +0 -139
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fi.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fi.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fi.js +0 -112
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fr-CA.cjs +0 -134
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fr-CA.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fr-CA.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fr-CA.js +0 -107
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fr.cjs +0 -135
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fr.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fr.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/fr.js +0 -108
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/he.cjs +0 -241
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/he.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/he.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/he.js +0 -214
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/hu.cjs +0 -135
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/hu.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/hu.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/hu.js +0 -108
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/hy.cjs +0 -174
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/hy.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/hy.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/hy.js +0 -147
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/id.cjs +0 -133
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/id.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/id.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/id.js +0 -106
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/index.cjs +0 -104
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/index.d.cts +0 -49
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/index.d.ts +0 -49
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/index.js +0 -49
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/is.cjs +0 -136
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/is.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/is.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/is.js +0 -109
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/it.cjs +0 -135
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/it.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/it.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/it.js +0 -108
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ja.cjs +0 -134
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ja.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ja.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ja.js +0 -107
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ka.cjs +0 -139
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ka.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ka.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ka.js +0 -112
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/kh.cjs +0 -12
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/kh.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/kh.d.ts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/kh.js +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/km.cjs +0 -137
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/km.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/km.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/km.js +0 -110
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ko.cjs +0 -138
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ko.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ko.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ko.js +0 -111
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/lt.cjs +0 -230
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/lt.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/lt.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/lt.js +0 -203
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/mk.cjs +0 -136
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/mk.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/mk.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/mk.js +0 -109
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ms.cjs +0 -134
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ms.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ms.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ms.js +0 -107
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/nl.cjs +0 -137
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/nl.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/nl.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/nl.js +0 -110
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/no.cjs +0 -135
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/no.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/no.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/no.js +0 -108
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ota.cjs +0 -136
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ota.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ota.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ota.js +0 -109
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/package.json +0 -6
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/pl.cjs +0 -136
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/pl.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/pl.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/pl.js +0 -109
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ps.cjs +0 -141
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ps.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ps.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ps.js +0 -114
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/pt.cjs +0 -135
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/pt.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/pt.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/pt.js +0 -108
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ru.cjs +0 -183
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ru.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ru.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ru.js +0 -156
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/sl.cjs +0 -136
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/sl.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/sl.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/sl.js +0 -109
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/sv.cjs +0 -137
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/sv.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/sv.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/sv.js +0 -110
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ta.cjs +0 -137
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ta.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ta.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ta.js +0 -110
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/th.cjs +0 -137
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/th.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/th.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/th.js +0 -110
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/tr.cjs +0 -132
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/tr.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/tr.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/tr.js +0 -105
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ua.cjs +0 -12
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ua.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ua.d.ts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ua.js +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/uk.cjs +0 -135
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/uk.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/uk.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/uk.js +0 -108
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ur.cjs +0 -137
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ur.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ur.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/ur.js +0 -110
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/uz.cjs +0 -136
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/uz.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/uz.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/uz.js +0 -109
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/vi.cjs +0 -135
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/vi.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/vi.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/vi.js +0 -108
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/yo.cjs +0 -134
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/yo.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/yo.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/yo.js +0 -107
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/zh-CN.cjs +0 -136
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/zh-CN.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/zh-CN.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/zh-CN.js +0 -109
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/zh-TW.cjs +0 -134
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/zh-TW.d.cts +0 -5
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/zh-TW.d.ts +0 -4
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/locales/zh-TW.js +0 -107
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/checks.cjs +0 -34
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/checks.d.cts +0 -1
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/checks.d.ts +0 -1
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/checks.js +0 -1
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/coerce.cjs +0 -52
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/coerce.d.cts +0 -7
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/coerce.d.ts +0 -7
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/coerce.js +0 -22
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/external.cjs +0 -63
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/external.d.cts +0 -12
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/external.d.ts +0 -12
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/external.js +0 -14
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/index.cjs +0 -32
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/index.d.cts +0 -3
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/index.d.ts +0 -3
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/index.js +0 -3
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/iso.cjs +0 -64
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/iso.d.cts +0 -22
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/iso.d.ts +0 -22
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/iso.js +0 -34
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/package.json +0 -6
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/parse.cjs +0 -16
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/parse.d.cts +0 -1
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/parse.d.ts +0 -1
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/parse.js +0 -1
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/schemas.cjs +0 -1046
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/schemas.d.cts +0 -427
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/schemas.d.ts +0 -427
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/mini/schemas.js +0 -925
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4/package.json +0 -6
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4-mini/index.cjs +0 -17
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4-mini/index.d.cts +0 -1
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4-mini/index.d.ts +0 -1
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4-mini/index.js +0 -1
- package/examples/starter/node_modules/kysely-codegen/node_modules/zod/v4-mini/package.json +0 -6
- package/examples/starter/node_modules/kysely-codegen/package.json +0 -214
- package/examples/starter/node_modules/kysely-codegen/pnpm-workspace.yaml +0 -3
- package/examples/starter/node_modules/kysely-codegen/tsconfig.build.json +0 -5
- package/examples/starter/node_modules/lines-and-columns/LICENSE +0 -21
- package/examples/starter/node_modules/lines-and-columns/README.md +0 -33
- package/examples/starter/node_modules/lines-and-columns/build/index.d.ts +0 -13
- package/examples/starter/node_modules/lines-and-columns/build/index.js +0 -62
- package/examples/starter/node_modules/lines-and-columns/package.json +0 -49
- package/examples/starter/node_modules/loglevel/.editorconfig +0 -27
- package/examples/starter/node_modules/loglevel/CONTRIBUTING.md +0 -98
- package/examples/starter/node_modules/loglevel/Gruntfile.js +0 -165
- package/examples/starter/node_modules/loglevel/LICENSE-MIT +0 -22
- package/examples/starter/node_modules/loglevel/README.md +0 -408
- package/examples/starter/node_modules/loglevel/_config.yml +0 -1
- package/examples/starter/node_modules/loglevel/bower.json +0 -11
- package/examples/starter/node_modules/loglevel/demo/index.html +0 -139
- package/examples/starter/node_modules/loglevel/demo/script.js +0 -86
- package/examples/starter/node_modules/loglevel/demo/styles.css +0 -107
- package/examples/starter/node_modules/loglevel/dist/loglevel.js +0 -352
- package/examples/starter/node_modules/loglevel/dist/loglevel.min.js +0 -3
- package/examples/starter/node_modules/loglevel/index.d.ts +0 -203
- package/examples/starter/node_modules/loglevel/lib/loglevel.js +0 -357
- package/examples/starter/node_modules/loglevel/package.json +0 -63
- package/examples/starter/node_modules/micromatch/LICENSE +0 -21
- package/examples/starter/node_modules/micromatch/README.md +0 -1024
- package/examples/starter/node_modules/micromatch/index.js +0 -474
- package/examples/starter/node_modules/micromatch/package.json +0 -119
- package/examples/starter/node_modules/minimatch/LICENSE +0 -15
- package/examples/starter/node_modules/minimatch/README.md +0 -230
- package/examples/starter/node_modules/minimatch/minimatch.js +0 -947
- package/examples/starter/node_modules/minimatch/package.json +0 -33
- package/examples/starter/node_modules/minimist/.eslintrc +0 -29
- package/examples/starter/node_modules/minimist/.github/FUNDING.yml +0 -12
- package/examples/starter/node_modules/minimist/.nycrc +0 -14
- package/examples/starter/node_modules/minimist/CHANGELOG.md +0 -298
- package/examples/starter/node_modules/minimist/LICENSE +0 -18
- package/examples/starter/node_modules/minimist/README.md +0 -121
- package/examples/starter/node_modules/minimist/example/parse.js +0 -4
- package/examples/starter/node_modules/minimist/index.js +0 -263
- package/examples/starter/node_modules/minimist/package.json +0 -75
- package/examples/starter/node_modules/minimist/test/all_bool.js +0 -34
- package/examples/starter/node_modules/minimist/test/bool.js +0 -177
- package/examples/starter/node_modules/minimist/test/dash.js +0 -43
- package/examples/starter/node_modules/minimist/test/default_bool.js +0 -37
- package/examples/starter/node_modules/minimist/test/dotted.js +0 -24
- package/examples/starter/node_modules/minimist/test/kv_short.js +0 -32
- package/examples/starter/node_modules/minimist/test/long.js +0 -33
- package/examples/starter/node_modules/minimist/test/num.js +0 -38
- package/examples/starter/node_modules/minimist/test/parse.js +0 -209
- package/examples/starter/node_modules/minimist/test/parse_modified.js +0 -11
- package/examples/starter/node_modules/minimist/test/proto.js +0 -64
- package/examples/starter/node_modules/minimist/test/short.js +0 -69
- package/examples/starter/node_modules/minimist/test/stop_early.js +0 -17
- package/examples/starter/node_modules/minimist/test/unknown.js +0 -104
- package/examples/starter/node_modules/minimist/test/whitespace.js +0 -10
- package/examples/starter/node_modules/parent-module/index.js +0 -37
- package/examples/starter/node_modules/parent-module/license +0 -9
- package/examples/starter/node_modules/parent-module/package.json +0 -46
- package/examples/starter/node_modules/parent-module/readme.md +0 -67
- package/examples/starter/node_modules/parse-json/index.js +0 -54
- package/examples/starter/node_modules/parse-json/license +0 -9
- package/examples/starter/node_modules/parse-json/package.json +0 -45
- package/examples/starter/node_modules/parse-json/readme.md +0 -119
- package/examples/starter/node_modules/path-is-absolute/index.js +0 -20
- package/examples/starter/node_modules/path-is-absolute/license +0 -21
- package/examples/starter/node_modules/path-is-absolute/package.json +0 -43
- package/examples/starter/node_modules/path-is-absolute/readme.md +0 -59
- package/examples/starter/node_modules/path-parse/LICENSE +0 -21
- package/examples/starter/node_modules/path-parse/README.md +0 -42
- package/examples/starter/node_modules/path-parse/index.js +0 -75
- package/examples/starter/node_modules/path-parse/package.json +0 -33
- package/examples/starter/node_modules/picomatch/CHANGELOG.md +0 -136
- package/examples/starter/node_modules/picomatch/LICENSE +0 -21
- package/examples/starter/node_modules/picomatch/README.md +0 -708
- package/examples/starter/node_modules/picomatch/index.js +0 -3
- package/examples/starter/node_modules/picomatch/lib/constants.js +0 -179
- package/examples/starter/node_modules/picomatch/lib/parse.js +0 -1091
- package/examples/starter/node_modules/picomatch/lib/picomatch.js +0 -342
- package/examples/starter/node_modules/picomatch/lib/scan.js +0 -391
- package/examples/starter/node_modules/picomatch/lib/utils.js +0 -64
- package/examples/starter/node_modules/picomatch/package.json +0 -81
- package/examples/starter/node_modules/pluralize/LICENSE +0 -21
- package/examples/starter/node_modules/pluralize/Readme.md +0 -100
- package/examples/starter/node_modules/pluralize/package.json +0 -40
- package/examples/starter/node_modules/pluralize/pluralize.js +0 -503
- package/examples/starter/node_modules/rechoir/.travis.yml +0 -24
- package/examples/starter/node_modules/rechoir/CHANGELOG +0 -38
- package/examples/starter/node_modules/rechoir/LICENSE +0 -22
- package/examples/starter/node_modules/rechoir/README.md +0 -42
- package/examples/starter/node_modules/rechoir/index.js +0 -59
- package/examples/starter/node_modules/rechoir/lib/extension.js +0 -11
- package/examples/starter/node_modules/rechoir/lib/normalize.js +0 -15
- package/examples/starter/node_modules/rechoir/lib/register.js +0 -15
- package/examples/starter/node_modules/rechoir/package.json +0 -88
- package/examples/starter/node_modules/resolve/.editorconfig +0 -37
- package/examples/starter/node_modules/resolve/.eslintrc +0 -65
- package/examples/starter/node_modules/resolve/.github/FUNDING.yml +0 -12
- package/examples/starter/node_modules/resolve/.github/INCIDENT_RESPONSE_PROCESS.md +0 -119
- package/examples/starter/node_modules/resolve/.github/THREAT_MODEL.md +0 -74
- package/examples/starter/node_modules/resolve/LICENSE +0 -21
- package/examples/starter/node_modules/resolve/SECURITY.md +0 -11
- package/examples/starter/node_modules/resolve/async.js +0 -3
- package/examples/starter/node_modules/resolve/bin/resolve +0 -50
- package/examples/starter/node_modules/resolve/example/async.js +0 -5
- package/examples/starter/node_modules/resolve/example/sync.js +0 -3
- package/examples/starter/node_modules/resolve/index.js +0 -6
- package/examples/starter/node_modules/resolve/lib/async.js +0 -333
- package/examples/starter/node_modules/resolve/lib/caller.js +0 -8
- package/examples/starter/node_modules/resolve/lib/core.js +0 -12
- package/examples/starter/node_modules/resolve/lib/core.json +0 -162
- package/examples/starter/node_modules/resolve/lib/homedir.js +0 -24
- package/examples/starter/node_modules/resolve/lib/is-core.js +0 -5
- package/examples/starter/node_modules/resolve/lib/node-modules-paths.js +0 -45
- package/examples/starter/node_modules/resolve/lib/normalize-options.js +0 -10
- package/examples/starter/node_modules/resolve/lib/sync.js +0 -212
- package/examples/starter/node_modules/resolve/package.json +0 -75
- package/examples/starter/node_modules/resolve/readme.markdown +0 -301
- package/examples/starter/node_modules/resolve/sync.js +0 -3
- package/examples/starter/node_modules/resolve/test/core.js +0 -88
- package/examples/starter/node_modules/resolve/test/dotdot/abc/index.js +0 -2
- package/examples/starter/node_modules/resolve/test/dotdot/index.js +0 -1
- package/examples/starter/node_modules/resolve/test/dotdot.js +0 -29
- package/examples/starter/node_modules/resolve/test/faulty_basedir.js +0 -29
- package/examples/starter/node_modules/resolve/test/filter.js +0 -34
- package/examples/starter/node_modules/resolve/test/filter_sync.js +0 -33
- package/examples/starter/node_modules/resolve/test/home_paths.js +0 -127
- package/examples/starter/node_modules/resolve/test/home_paths_sync.js +0 -114
- package/examples/starter/node_modules/resolve/test/mock.js +0 -315
- package/examples/starter/node_modules/resolve/test/mock_sync.js +0 -214
- package/examples/starter/node_modules/resolve/test/module_dir/xmodules/aaa/index.js +0 -1
- package/examples/starter/node_modules/resolve/test/module_dir/ymodules/aaa/index.js +0 -1
- package/examples/starter/node_modules/resolve/test/module_dir/zmodules/bbb/main.js +0 -1
- package/examples/starter/node_modules/resolve/test/module_dir/zmodules/bbb/package.json +0 -3
- package/examples/starter/node_modules/resolve/test/module_dir.js +0 -56
- package/examples/starter/node_modules/resolve/test/node-modules-paths.js +0 -143
- package/examples/starter/node_modules/resolve/test/node_path/x/aaa/index.js +0 -1
- package/examples/starter/node_modules/resolve/test/node_path/x/ccc/index.js +0 -1
- package/examples/starter/node_modules/resolve/test/node_path/y/bbb/index.js +0 -1
- package/examples/starter/node_modules/resolve/test/node_path/y/ccc/index.js +0 -1
- package/examples/starter/node_modules/resolve/test/node_path.js +0 -70
- package/examples/starter/node_modules/resolve/test/nonstring.js +0 -9
- package/examples/starter/node_modules/resolve/test/pathfilter/deep_ref/main.js +0 -0
- package/examples/starter/node_modules/resolve/test/pathfilter.js +0 -75
- package/examples/starter/node_modules/resolve/test/precedence/aaa/index.js +0 -1
- package/examples/starter/node_modules/resolve/test/precedence/aaa/main.js +0 -1
- package/examples/starter/node_modules/resolve/test/precedence/aaa.js +0 -1
- package/examples/starter/node_modules/resolve/test/precedence/bbb/main.js +0 -1
- package/examples/starter/node_modules/resolve/test/precedence/bbb.js +0 -1
- package/examples/starter/node_modules/resolve/test/precedence.js +0 -23
- package/examples/starter/node_modules/resolve/test/resolver/baz/doom.js +0 -0
- package/examples/starter/node_modules/resolve/test/resolver/baz/package.json +0 -4
- package/examples/starter/node_modules/resolve/test/resolver/baz/quux.js +0 -1
- package/examples/starter/node_modules/resolve/test/resolver/browser_field/a.js +0 -0
- package/examples/starter/node_modules/resolve/test/resolver/browser_field/b.js +0 -0
- package/examples/starter/node_modules/resolve/test/resolver/browser_field/package.json +0 -5
- package/examples/starter/node_modules/resolve/test/resolver/cup.coffee +0 -1
- package/examples/starter/node_modules/resolve/test/resolver/dot_main/index.js +0 -1
- package/examples/starter/node_modules/resolve/test/resolver/dot_main/package.json +0 -3
- package/examples/starter/node_modules/resolve/test/resolver/dot_slash_main/index.js +0 -1
- package/examples/starter/node_modules/resolve/test/resolver/dot_slash_main/package.json +0 -3
- package/examples/starter/node_modules/resolve/test/resolver/false_main/index.js +0 -0
- package/examples/starter/node_modules/resolve/test/resolver/false_main/package.json +0 -4
- package/examples/starter/node_modules/resolve/test/resolver/foo.js +0 -1
- package/examples/starter/node_modules/resolve/test/resolver/incorrect_main/index.js +0 -2
- package/examples/starter/node_modules/resolve/test/resolver/incorrect_main/package.json +0 -3
- package/examples/starter/node_modules/resolve/test/resolver/invalid_main/package.json +0 -7
- package/examples/starter/node_modules/resolve/test/resolver/mug.coffee +0 -0
- package/examples/starter/node_modules/resolve/test/resolver/mug.js +0 -0
- package/examples/starter/node_modules/resolve/test/resolver/multirepo/lerna.json +0 -6
- package/examples/starter/node_modules/resolve/test/resolver/multirepo/package.json +0 -20
- package/examples/starter/node_modules/resolve/test/resolver/multirepo/packages/package-a/index.js +0 -35
- package/examples/starter/node_modules/resolve/test/resolver/multirepo/packages/package-a/package.json +0 -14
- package/examples/starter/node_modules/resolve/test/resolver/multirepo/packages/package-b/index.js +0 -0
- package/examples/starter/node_modules/resolve/test/resolver/multirepo/packages/package-b/package.json +0 -14
- package/examples/starter/node_modules/resolve/test/resolver/nested_symlinks/mylib/async.js +0 -26
- package/examples/starter/node_modules/resolve/test/resolver/nested_symlinks/mylib/package.json +0 -15
- package/examples/starter/node_modules/resolve/test/resolver/nested_symlinks/mylib/sync.js +0 -12
- package/examples/starter/node_modules/resolve/test/resolver/other_path/lib/other-lib.js +0 -0
- package/examples/starter/node_modules/resolve/test/resolver/other_path/root.js +0 -0
- package/examples/starter/node_modules/resolve/test/resolver/quux/foo/index.js +0 -1
- package/examples/starter/node_modules/resolve/test/resolver/same_names/foo/index.js +0 -1
- package/examples/starter/node_modules/resolve/test/resolver/same_names/foo.js +0 -1
- package/examples/starter/node_modules/resolve/test/resolver/symlinked/_/node_modules/foo.js +0 -0
- package/examples/starter/node_modules/resolve/test/resolver/symlinked/_/symlink_target/.gitkeep +0 -0
- package/examples/starter/node_modules/resolve/test/resolver/symlinked/package/bar.js +0 -1
- package/examples/starter/node_modules/resolve/test/resolver/symlinked/package/package.json +0 -3
- package/examples/starter/node_modules/resolve/test/resolver/without_basedir/main.js +0 -5
- package/examples/starter/node_modules/resolve/test/resolver.js +0 -597
- package/examples/starter/node_modules/resolve/test/resolver_sync.js +0 -730
- package/examples/starter/node_modules/resolve/test/shadowed_core/node_modules/util/index.js +0 -0
- package/examples/starter/node_modules/resolve/test/shadowed_core.js +0 -54
- package/examples/starter/node_modules/resolve/test/subdirs.js +0 -13
- package/examples/starter/node_modules/resolve/test/symlinks.js +0 -176
- package/examples/starter/node_modules/resolve-from/index.js +0 -47
- package/examples/starter/node_modules/resolve-from/license +0 -9
- package/examples/starter/node_modules/resolve-from/package.json +0 -34
- package/examples/starter/node_modules/resolve-from/readme.md +0 -72
- package/examples/starter/node_modules/shelljs/CHANGELOG.md +0 -942
- package/examples/starter/node_modules/shelljs/LICENSE +0 -26
- package/examples/starter/node_modules/shelljs/README.md +0 -835
- package/examples/starter/node_modules/shelljs/bin/shjs +0 -48
- package/examples/starter/node_modules/shelljs/commands.js +0 -29
- package/examples/starter/node_modules/shelljs/global.js +0 -12
- package/examples/starter/node_modules/shelljs/make.js +0 -57
- package/examples/starter/node_modules/shelljs/package.json +0 -79
- package/examples/starter/node_modules/shelljs/plugin.js +0 -16
- package/examples/starter/node_modules/shelljs/shell.js +0 -156
- package/examples/starter/node_modules/shelljs/src/cat.js +0 -76
- package/examples/starter/node_modules/shelljs/src/cd.js +0 -39
- package/examples/starter/node_modules/shelljs/src/chmod.js +0 -216
- package/examples/starter/node_modules/shelljs/src/common.js +0 -468
- package/examples/starter/node_modules/shelljs/src/cp.js +0 -304
- package/examples/starter/node_modules/shelljs/src/dirs.js +0 -212
- package/examples/starter/node_modules/shelljs/src/echo.js +0 -63
- package/examples/starter/node_modules/shelljs/src/error.js +0 -15
- package/examples/starter/node_modules/shelljs/src/exec-child.js +0 -39
- package/examples/starter/node_modules/shelljs/src/exec.js +0 -226
- package/examples/starter/node_modules/shelljs/src/find.js +0 -61
- package/examples/starter/node_modules/shelljs/src/grep.js +0 -73
- package/examples/starter/node_modules/shelljs/src/head.js +0 -107
- package/examples/starter/node_modules/shelljs/src/ln.js +0 -73
- package/examples/starter/node_modules/shelljs/src/ls.js +0 -141
- package/examples/starter/node_modules/shelljs/src/mkdir.js +0 -100
- package/examples/starter/node_modules/shelljs/src/mv.js +0 -118
- package/examples/starter/node_modules/shelljs/src/popd.js +0 -1
- package/examples/starter/node_modules/shelljs/src/pushd.js +0 -1
- package/examples/starter/node_modules/shelljs/src/pwd.js +0 -16
- package/examples/starter/node_modules/shelljs/src/rm.js +0 -201
- package/examples/starter/node_modules/shelljs/src/sed.js +0 -87
- package/examples/starter/node_modules/shelljs/src/set.js +0 -56
- package/examples/starter/node_modules/shelljs/src/sort.js +0 -97
- package/examples/starter/node_modules/shelljs/src/tail.js +0 -80
- package/examples/starter/node_modules/shelljs/src/tempdir.js +0 -75
- package/examples/starter/node_modules/shelljs/src/test.js +0 -85
- package/examples/starter/node_modules/shelljs/src/to.js +0 -37
- package/examples/starter/node_modules/shelljs/src/toEnd.js +0 -36
- package/examples/starter/node_modules/shelljs/src/touch.js +0 -111
- package/examples/starter/node_modules/shelljs/src/uniq.js +0 -92
- package/examples/starter/node_modules/shelljs/src/which.js +0 -118
- package/examples/starter/node_modules/shelljs.exec/.editorconfig +0 -10
- package/examples/starter/node_modules/shelljs.exec/.eslintrc.json +0 -37
- package/examples/starter/node_modules/shelljs.exec/.travis.yml +0 -9
- package/examples/starter/node_modules/shelljs.exec/LICENSE.md +0 -24
- package/examples/starter/node_modules/shelljs.exec/README.md +0 -115
- package/examples/starter/node_modules/shelljs.exec/appveyor.yml +0 -17
- package/examples/starter/node_modules/shelljs.exec/benchmark-results-raw.txt +0 -74
- package/examples/starter/node_modules/shelljs.exec/images/fast.png +0 -0
- package/examples/starter/node_modules/shelljs.exec/images/linux.png +0 -0
- package/examples/starter/node_modules/shelljs.exec/images/slow.png +0 -0
- package/examples/starter/node_modules/shelljs.exec/images/table-linux.odt +0 -0
- package/examples/starter/node_modules/shelljs.exec/images/table-windows.odt +0 -0
- package/examples/starter/node_modules/shelljs.exec/images/windows.png +0 -0
- package/examples/starter/node_modules/shelljs.exec/index.js +0 -35
- package/examples/starter/node_modules/shelljs.exec/js/normaliseOptions/defaultOptions.js +0 -6
- package/examples/starter/node_modules/shelljs.exec/js/normaliseOptions/index.js +0 -34
- package/examples/starter/node_modules/shelljs.exec/js/normaliseOptions/index.spec.js +0 -68
- package/examples/starter/node_modules/shelljs.exec/package.json +0 -58
- package/examples/starter/node_modules/shelljs.exec/test/_js/testImports.js +0 -37
- package/examples/starter/node_modules/shelljs.exec/test/benchmarks/benchmarks.spec.js +0 -288
- package/examples/starter/node_modules/shelljs.exec/test/benchmarks/file1 +0 -1
- package/examples/starter/node_modules/shelljs.exec/test/benchmarks/file2 +0 -1
- package/examples/starter/node_modules/shelljs.exec/test/mocha.opts +0 -6
- package/examples/starter/node_modules/shelljs.exec/test/shelljs.exec/shelljs.exec.spec.js +0 -176
- package/examples/starter/node_modules/supports-color/browser.js +0 -5
- package/examples/starter/node_modules/supports-color/index.js +0 -135
- package/examples/starter/node_modules/supports-color/license +0 -9
- package/examples/starter/node_modules/supports-color/package.json +0 -53
- package/examples/starter/node_modules/supports-color/readme.md +0 -76
- package/examples/starter/node_modules/supports-preserve-symlinks-flag/.eslintrc +0 -14
- package/examples/starter/node_modules/supports-preserve-symlinks-flag/.github/FUNDING.yml +0 -12
- package/examples/starter/node_modules/supports-preserve-symlinks-flag/.nycrc +0 -9
- package/examples/starter/node_modules/supports-preserve-symlinks-flag/CHANGELOG.md +0 -22
- package/examples/starter/node_modules/supports-preserve-symlinks-flag/LICENSE +0 -21
- package/examples/starter/node_modules/supports-preserve-symlinks-flag/README.md +0 -42
- package/examples/starter/node_modules/supports-preserve-symlinks-flag/browser.js +0 -3
- package/examples/starter/node_modules/supports-preserve-symlinks-flag/index.js +0 -9
- package/examples/starter/node_modules/supports-preserve-symlinks-flag/package.json +0 -70
- package/examples/starter/node_modules/supports-preserve-symlinks-flag/test/index.js +0 -29
- package/examples/starter/node_modules/to-regex-range/LICENSE +0 -21
- package/examples/starter/node_modules/to-regex-range/README.md +0 -305
- package/examples/starter/node_modules/to-regex-range/index.js +0 -288
- package/examples/starter/node_modules/to-regex-range/package.json +0 -88
- package/registry.d.ts +0 -11
package/examples/starter/node_modules/kysely-codegen/node_modules/zod/src/v4/classic/schemas.ts
DELETED
|
@@ -1,2409 +0,0 @@
|
|
|
1
|
-
import * as core from "../core/index.js";
|
|
2
|
-
import { util } from "../core/index.js";
|
|
3
|
-
import * as processors from "../core/json-schema-processors.js";
|
|
4
|
-
import type { StandardSchemaWithJSONProps } from "../core/standard-schema.js";
|
|
5
|
-
import { createStandardJSONSchemaMethod, createToJSONSchemaMethod } from "../core/to-json-schema.js";
|
|
6
|
-
|
|
7
|
-
import * as checks from "./checks.js";
|
|
8
|
-
import * as iso from "./iso.js";
|
|
9
|
-
import * as parse from "./parse.js";
|
|
10
|
-
|
|
11
|
-
///////////////////////////////////////////
|
|
12
|
-
///////////////////////////////////////////
|
|
13
|
-
//////////// ////////////
|
|
14
|
-
//////////// ZodType ////////////
|
|
15
|
-
//////////// ////////////
|
|
16
|
-
///////////////////////////////////////////
|
|
17
|
-
///////////////////////////////////////////
|
|
18
|
-
|
|
19
|
-
export type ZodStandardSchemaWithJSON<T> = StandardSchemaWithJSONProps<core.input<T>, core.output<T>>;
|
|
20
|
-
export interface ZodType<
|
|
21
|
-
out Output = unknown,
|
|
22
|
-
out Input = unknown,
|
|
23
|
-
out Internals extends core.$ZodTypeInternals<Output, Input> = core.$ZodTypeInternals<Output, Input>,
|
|
24
|
-
> extends core.$ZodType<Output, Input, Internals> {
|
|
25
|
-
def: Internals["def"];
|
|
26
|
-
type: Internals["def"]["type"];
|
|
27
|
-
|
|
28
|
-
/** @deprecated Use `.def` instead. */
|
|
29
|
-
_def: Internals["def"];
|
|
30
|
-
/** @deprecated Use `z.output<typeof schema>` instead. */
|
|
31
|
-
_output: Internals["output"];
|
|
32
|
-
/** @deprecated Use `z.input<typeof schema>` instead. */
|
|
33
|
-
_input: Internals["input"];
|
|
34
|
-
|
|
35
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
36
|
-
/** Converts this schema to a JSON Schema representation. */
|
|
37
|
-
toJSONSchema(params?: core.ToJSONSchemaParams): core.ZodStandardJSONSchemaPayload<this>;
|
|
38
|
-
|
|
39
|
-
// base methods
|
|
40
|
-
check(...checks: (core.CheckFn<core.output<this>> | core.$ZodCheck<core.output<this>>)[]): this;
|
|
41
|
-
with(...checks: (core.CheckFn<core.output<this>> | core.$ZodCheck<core.output<this>>)[]): this;
|
|
42
|
-
clone(def?: Internals["def"], params?: { parent: boolean }): this;
|
|
43
|
-
register<R extends core.$ZodRegistry>(
|
|
44
|
-
registry: R,
|
|
45
|
-
...meta: this extends R["_schema"]
|
|
46
|
-
? undefined extends R["_meta"]
|
|
47
|
-
? [core.$replace<R["_meta"], this>?]
|
|
48
|
-
: [core.$replace<R["_meta"], this>]
|
|
49
|
-
: ["Incompatible schema"]
|
|
50
|
-
): this;
|
|
51
|
-
|
|
52
|
-
brand<T extends PropertyKey = PropertyKey, Dir extends "in" | "out" | "inout" = "out">(
|
|
53
|
-
value?: T
|
|
54
|
-
): PropertyKey extends T ? this : core.$ZodBranded<this, T, Dir>;
|
|
55
|
-
|
|
56
|
-
// parsing
|
|
57
|
-
parse(data: unknown, params?: core.ParseContext<core.$ZodIssue>): core.output<this>;
|
|
58
|
-
safeParse(data: unknown, params?: core.ParseContext<core.$ZodIssue>): parse.ZodSafeParseResult<core.output<this>>;
|
|
59
|
-
parseAsync(data: unknown, params?: core.ParseContext<core.$ZodIssue>): Promise<core.output<this>>;
|
|
60
|
-
safeParseAsync(
|
|
61
|
-
data: unknown,
|
|
62
|
-
params?: core.ParseContext<core.$ZodIssue>
|
|
63
|
-
): Promise<parse.ZodSafeParseResult<core.output<this>>>;
|
|
64
|
-
spa: (
|
|
65
|
-
data: unknown,
|
|
66
|
-
params?: core.ParseContext<core.$ZodIssue>
|
|
67
|
-
) => Promise<parse.ZodSafeParseResult<core.output<this>>>;
|
|
68
|
-
|
|
69
|
-
// encoding/decoding
|
|
70
|
-
encode(data: core.output<this>, params?: core.ParseContext<core.$ZodIssue>): core.input<this>;
|
|
71
|
-
decode(data: core.input<this>, params?: core.ParseContext<core.$ZodIssue>): core.output<this>;
|
|
72
|
-
encodeAsync(data: core.output<this>, params?: core.ParseContext<core.$ZodIssue>): Promise<core.input<this>>;
|
|
73
|
-
decodeAsync(data: core.input<this>, params?: core.ParseContext<core.$ZodIssue>): Promise<core.output<this>>;
|
|
74
|
-
safeEncode(
|
|
75
|
-
data: core.output<this>,
|
|
76
|
-
params?: core.ParseContext<core.$ZodIssue>
|
|
77
|
-
): parse.ZodSafeParseResult<core.input<this>>;
|
|
78
|
-
safeDecode(
|
|
79
|
-
data: core.input<this>,
|
|
80
|
-
params?: core.ParseContext<core.$ZodIssue>
|
|
81
|
-
): parse.ZodSafeParseResult<core.output<this>>;
|
|
82
|
-
safeEncodeAsync(
|
|
83
|
-
data: core.output<this>,
|
|
84
|
-
params?: core.ParseContext<core.$ZodIssue>
|
|
85
|
-
): Promise<parse.ZodSafeParseResult<core.input<this>>>;
|
|
86
|
-
safeDecodeAsync(
|
|
87
|
-
data: core.input<this>,
|
|
88
|
-
params?: core.ParseContext<core.$ZodIssue>
|
|
89
|
-
): Promise<parse.ZodSafeParseResult<core.output<this>>>;
|
|
90
|
-
|
|
91
|
-
// refinements
|
|
92
|
-
refine<Ch extends (arg: core.output<this>) => unknown | Promise<unknown>>(
|
|
93
|
-
check: Ch,
|
|
94
|
-
params?: string | core.$ZodCustomParams
|
|
95
|
-
): Ch extends (arg: any) => arg is infer R ? this & ZodType<R, core.input<this>> : this;
|
|
96
|
-
superRefine(
|
|
97
|
-
refinement: (arg: core.output<this>, ctx: core.$RefinementCtx<core.output<this>>) => void | Promise<void>
|
|
98
|
-
): this;
|
|
99
|
-
overwrite(fn: (x: core.output<this>) => core.output<this>): this;
|
|
100
|
-
|
|
101
|
-
// wrappers
|
|
102
|
-
optional(): ZodOptional<this>;
|
|
103
|
-
exactOptional(): ZodExactOptional<this>;
|
|
104
|
-
nonoptional(params?: string | core.$ZodNonOptionalParams): ZodNonOptional<this>;
|
|
105
|
-
nullable(): ZodNullable<this>;
|
|
106
|
-
nullish(): ZodOptional<ZodNullable<this>>;
|
|
107
|
-
default(def: util.NoUndefined<core.output<this>>): ZodDefault<this>;
|
|
108
|
-
default(def: () => util.NoUndefined<core.output<this>>): ZodDefault<this>;
|
|
109
|
-
prefault(def: () => core.input<this>): ZodPrefault<this>;
|
|
110
|
-
prefault(def: core.input<this>): ZodPrefault<this>;
|
|
111
|
-
array(): ZodArray<this>;
|
|
112
|
-
or<T extends core.SomeType>(option: T): ZodUnion<[this, T]>;
|
|
113
|
-
and<T extends core.SomeType>(incoming: T): ZodIntersection<this, T>;
|
|
114
|
-
transform<NewOut>(
|
|
115
|
-
transform: (arg: core.output<this>, ctx: core.$RefinementCtx<core.output<this>>) => NewOut | Promise<NewOut>
|
|
116
|
-
): ZodPipe<this, ZodTransform<Awaited<NewOut>, core.output<this>>>;
|
|
117
|
-
catch(def: core.output<this>): ZodCatch<this>;
|
|
118
|
-
catch(def: (ctx: core.$ZodCatchCtx) => core.output<this>): ZodCatch<this>;
|
|
119
|
-
pipe<T extends core.$ZodType<any, core.output<this>>>(
|
|
120
|
-
target: T | core.$ZodType<any, core.output<this>>
|
|
121
|
-
): ZodPipe<this, T>;
|
|
122
|
-
readonly(): ZodReadonly<this>;
|
|
123
|
-
|
|
124
|
-
/** Returns a new instance that has been registered in `z.globalRegistry` with the specified description */
|
|
125
|
-
describe(description: string): this;
|
|
126
|
-
description?: string;
|
|
127
|
-
/** Returns the metadata associated with this instance in `z.globalRegistry` */
|
|
128
|
-
meta(): core.$replace<core.GlobalMeta, this> | undefined;
|
|
129
|
-
/** Returns a new instance that has been registered in `z.globalRegistry` with the specified metadata */
|
|
130
|
-
meta(data: core.$replace<core.GlobalMeta, this>): this;
|
|
131
|
-
|
|
132
|
-
// helpers
|
|
133
|
-
/** @deprecated Try safe-parsing `undefined` (this is what `isOptional` does internally):
|
|
134
|
-
*
|
|
135
|
-
* ```ts
|
|
136
|
-
* const schema = z.string().optional();
|
|
137
|
-
* const isOptional = schema.safeParse(undefined).success; // true
|
|
138
|
-
* ```
|
|
139
|
-
*/
|
|
140
|
-
isOptional(): boolean;
|
|
141
|
-
/**
|
|
142
|
-
* @deprecated Try safe-parsing `null` (this is what `isNullable` does internally):
|
|
143
|
-
*
|
|
144
|
-
* ```ts
|
|
145
|
-
* const schema = z.string().nullable();
|
|
146
|
-
* const isNullable = schema.safeParse(null).success; // true
|
|
147
|
-
* ```
|
|
148
|
-
*/
|
|
149
|
-
isNullable(): boolean;
|
|
150
|
-
apply<T>(fn: (schema: this) => T): T;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
export interface _ZodType<out Internals extends core.$ZodTypeInternals = core.$ZodTypeInternals>
|
|
154
|
-
extends ZodType<any, any, Internals> {}
|
|
155
|
-
|
|
156
|
-
export const ZodType: core.$constructor<ZodType> = /*@__PURE__*/ core.$constructor("ZodType", (inst, def) => {
|
|
157
|
-
core.$ZodType.init(inst, def);
|
|
158
|
-
Object.assign(inst["~standard"], {
|
|
159
|
-
jsonSchema: {
|
|
160
|
-
input: createStandardJSONSchemaMethod(inst, "input"),
|
|
161
|
-
output: createStandardJSONSchemaMethod(inst, "output"),
|
|
162
|
-
},
|
|
163
|
-
});
|
|
164
|
-
inst.toJSONSchema = createToJSONSchemaMethod(inst, {});
|
|
165
|
-
|
|
166
|
-
inst.def = def;
|
|
167
|
-
inst.type = def.type;
|
|
168
|
-
Object.defineProperty(inst, "_def", { value: def });
|
|
169
|
-
|
|
170
|
-
// base methods
|
|
171
|
-
inst.check = (...checks) => {
|
|
172
|
-
return inst.clone(
|
|
173
|
-
util.mergeDefs(def, {
|
|
174
|
-
checks: [
|
|
175
|
-
...(def.checks ?? []),
|
|
176
|
-
...checks.map((ch) =>
|
|
177
|
-
typeof ch === "function" ? { _zod: { check: ch, def: { check: "custom" }, onattach: [] } } : ch
|
|
178
|
-
),
|
|
179
|
-
],
|
|
180
|
-
}),
|
|
181
|
-
{
|
|
182
|
-
parent: true,
|
|
183
|
-
}
|
|
184
|
-
);
|
|
185
|
-
};
|
|
186
|
-
inst.with = inst.check;
|
|
187
|
-
inst.clone = (def, params) => core.clone(inst, def, params);
|
|
188
|
-
inst.brand = () => inst as any;
|
|
189
|
-
inst.register = ((reg: any, meta: any) => {
|
|
190
|
-
reg.add(inst, meta);
|
|
191
|
-
return inst;
|
|
192
|
-
}) as any;
|
|
193
|
-
|
|
194
|
-
// parsing
|
|
195
|
-
inst.parse = (data, params) => parse.parse(inst, data, params, { callee: inst.parse });
|
|
196
|
-
inst.safeParse = (data, params) => parse.safeParse(inst, data, params);
|
|
197
|
-
inst.parseAsync = async (data, params) => parse.parseAsync(inst, data, params, { callee: inst.parseAsync });
|
|
198
|
-
inst.safeParseAsync = async (data, params) => parse.safeParseAsync(inst, data, params);
|
|
199
|
-
inst.spa = inst.safeParseAsync;
|
|
200
|
-
|
|
201
|
-
// encoding/decoding
|
|
202
|
-
inst.encode = (data, params) => parse.encode(inst, data, params);
|
|
203
|
-
inst.decode = (data, params) => parse.decode(inst, data, params);
|
|
204
|
-
inst.encodeAsync = async (data, params) => parse.encodeAsync(inst, data, params);
|
|
205
|
-
inst.decodeAsync = async (data, params) => parse.decodeAsync(inst, data, params);
|
|
206
|
-
inst.safeEncode = (data, params) => parse.safeEncode(inst, data, params);
|
|
207
|
-
inst.safeDecode = (data, params) => parse.safeDecode(inst, data, params);
|
|
208
|
-
inst.safeEncodeAsync = async (data, params) => parse.safeEncodeAsync(inst, data, params);
|
|
209
|
-
inst.safeDecodeAsync = async (data, params) => parse.safeDecodeAsync(inst, data, params);
|
|
210
|
-
|
|
211
|
-
// refinements
|
|
212
|
-
inst.refine = (check, params) => inst.check(refine(check, params)) as never;
|
|
213
|
-
inst.superRefine = (refinement) => inst.check(superRefine(refinement));
|
|
214
|
-
inst.overwrite = (fn) => inst.check(checks.overwrite(fn));
|
|
215
|
-
|
|
216
|
-
// wrappers
|
|
217
|
-
inst.optional = () => optional(inst);
|
|
218
|
-
inst.exactOptional = () => exactOptional(inst);
|
|
219
|
-
inst.nullable = () => nullable(inst);
|
|
220
|
-
inst.nullish = () => optional(nullable(inst));
|
|
221
|
-
inst.nonoptional = (params) => nonoptional(inst, params);
|
|
222
|
-
inst.array = () => array(inst);
|
|
223
|
-
inst.or = (arg) => union([inst, arg]);
|
|
224
|
-
inst.and = (arg) => intersection(inst, arg);
|
|
225
|
-
inst.transform = (tx) => pipe(inst, transform(tx as any)) as never;
|
|
226
|
-
inst.default = (def) => _default(inst, def);
|
|
227
|
-
inst.prefault = (def) => prefault(inst, def);
|
|
228
|
-
// inst.coalesce = (def, params) => coalesce(inst, def, params);
|
|
229
|
-
inst.catch = (params) => _catch(inst, params);
|
|
230
|
-
inst.pipe = (target) => pipe(inst, target);
|
|
231
|
-
inst.readonly = () => readonly(inst);
|
|
232
|
-
|
|
233
|
-
// meta
|
|
234
|
-
inst.describe = (description) => {
|
|
235
|
-
const cl = inst.clone();
|
|
236
|
-
core.globalRegistry.add(cl, { description });
|
|
237
|
-
return cl;
|
|
238
|
-
};
|
|
239
|
-
Object.defineProperty(inst, "description", {
|
|
240
|
-
get() {
|
|
241
|
-
return core.globalRegistry.get(inst)?.description;
|
|
242
|
-
},
|
|
243
|
-
configurable: true,
|
|
244
|
-
});
|
|
245
|
-
inst.meta = (...args: any) => {
|
|
246
|
-
if (args.length === 0) {
|
|
247
|
-
return core.globalRegistry.get(inst);
|
|
248
|
-
}
|
|
249
|
-
const cl = inst.clone();
|
|
250
|
-
core.globalRegistry.add(cl, args[0]);
|
|
251
|
-
return cl as any;
|
|
252
|
-
};
|
|
253
|
-
|
|
254
|
-
// helpers
|
|
255
|
-
inst.isOptional = () => inst.safeParse(undefined).success;
|
|
256
|
-
inst.isNullable = () => inst.safeParse(null).success;
|
|
257
|
-
inst.apply = (fn) => fn(inst);
|
|
258
|
-
return inst;
|
|
259
|
-
});
|
|
260
|
-
|
|
261
|
-
// ZodString
|
|
262
|
-
export interface _ZodString<T extends core.$ZodStringInternals<unknown> = core.$ZodStringInternals<unknown>>
|
|
263
|
-
extends _ZodType<T> {
|
|
264
|
-
format: string | null;
|
|
265
|
-
minLength: number | null;
|
|
266
|
-
maxLength: number | null;
|
|
267
|
-
|
|
268
|
-
// miscellaneous checks
|
|
269
|
-
regex(regex: RegExp, params?: string | core.$ZodCheckRegexParams): this;
|
|
270
|
-
includes(value: string, params?: string | core.$ZodCheckIncludesParams): this;
|
|
271
|
-
startsWith(value: string, params?: string | core.$ZodCheckStartsWithParams): this;
|
|
272
|
-
endsWith(value: string, params?: string | core.$ZodCheckEndsWithParams): this;
|
|
273
|
-
min(minLength: number, params?: string | core.$ZodCheckMinLengthParams): this;
|
|
274
|
-
max(maxLength: number, params?: string | core.$ZodCheckMaxLengthParams): this;
|
|
275
|
-
length(len: number, params?: string | core.$ZodCheckLengthEqualsParams): this;
|
|
276
|
-
nonempty(params?: string | core.$ZodCheckMinLengthParams): this;
|
|
277
|
-
lowercase(params?: string | core.$ZodCheckLowerCaseParams): this;
|
|
278
|
-
uppercase(params?: string | core.$ZodCheckUpperCaseParams): this;
|
|
279
|
-
|
|
280
|
-
// transforms
|
|
281
|
-
trim(): this;
|
|
282
|
-
normalize(form?: "NFC" | "NFD" | "NFKC" | "NFKD" | (string & {})): this;
|
|
283
|
-
toLowerCase(): this;
|
|
284
|
-
toUpperCase(): this;
|
|
285
|
-
slugify(): this;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
/** @internal */
|
|
289
|
-
export const _ZodString: core.$constructor<_ZodString> = /*@__PURE__*/ core.$constructor("_ZodString", (inst, def) => {
|
|
290
|
-
core.$ZodString.init(inst, def);
|
|
291
|
-
ZodType.init(inst, def);
|
|
292
|
-
|
|
293
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.stringProcessor(inst, ctx, json, params);
|
|
294
|
-
|
|
295
|
-
const bag = inst._zod.bag;
|
|
296
|
-
inst.format = bag.format ?? null;
|
|
297
|
-
inst.minLength = bag.minimum ?? null;
|
|
298
|
-
inst.maxLength = bag.maximum ?? null;
|
|
299
|
-
|
|
300
|
-
// validations
|
|
301
|
-
inst.regex = (...args) => inst.check(checks.regex(...args));
|
|
302
|
-
inst.includes = (...args) => inst.check(checks.includes(...args));
|
|
303
|
-
inst.startsWith = (...args) => inst.check(checks.startsWith(...args));
|
|
304
|
-
inst.endsWith = (...args) => inst.check(checks.endsWith(...args));
|
|
305
|
-
inst.min = (...args) => inst.check(checks.minLength(...args));
|
|
306
|
-
inst.max = (...args) => inst.check(checks.maxLength(...args));
|
|
307
|
-
inst.length = (...args) => inst.check(checks.length(...args));
|
|
308
|
-
inst.nonempty = (...args) => inst.check(checks.minLength(1, ...args));
|
|
309
|
-
inst.lowercase = (params) => inst.check(checks.lowercase(params));
|
|
310
|
-
inst.uppercase = (params) => inst.check(checks.uppercase(params));
|
|
311
|
-
|
|
312
|
-
// transforms
|
|
313
|
-
inst.trim = () => inst.check(checks.trim());
|
|
314
|
-
inst.normalize = (...args) => inst.check(checks.normalize(...args));
|
|
315
|
-
inst.toLowerCase = () => inst.check(checks.toLowerCase());
|
|
316
|
-
inst.toUpperCase = () => inst.check(checks.toUpperCase());
|
|
317
|
-
inst.slugify = () => inst.check(checks.slugify());
|
|
318
|
-
});
|
|
319
|
-
|
|
320
|
-
export interface ZodString extends _ZodString<core.$ZodStringInternals<string>> {
|
|
321
|
-
// string format checks
|
|
322
|
-
|
|
323
|
-
/** @deprecated Use `z.email()` instead. */
|
|
324
|
-
email(params?: string | core.$ZodCheckEmailParams): this;
|
|
325
|
-
/** @deprecated Use `z.url()` instead. */
|
|
326
|
-
url(params?: string | core.$ZodCheckURLParams): this;
|
|
327
|
-
/** @deprecated Use `z.jwt()` instead. */
|
|
328
|
-
jwt(params?: string | core.$ZodCheckJWTParams): this;
|
|
329
|
-
/** @deprecated Use `z.emoji()` instead. */
|
|
330
|
-
emoji(params?: string | core.$ZodCheckEmojiParams): this;
|
|
331
|
-
/** @deprecated Use `z.guid()` instead. */
|
|
332
|
-
guid(params?: string | core.$ZodCheckGUIDParams): this;
|
|
333
|
-
/** @deprecated Use `z.uuid()` instead. */
|
|
334
|
-
uuid(params?: string | core.$ZodCheckUUIDParams): this;
|
|
335
|
-
/** @deprecated Use `z.uuid()` instead. */
|
|
336
|
-
uuidv4(params?: string | core.$ZodCheckUUIDParams): this;
|
|
337
|
-
/** @deprecated Use `z.uuid()` instead. */
|
|
338
|
-
uuidv6(params?: string | core.$ZodCheckUUIDParams): this;
|
|
339
|
-
/** @deprecated Use `z.uuid()` instead. */
|
|
340
|
-
uuidv7(params?: string | core.$ZodCheckUUIDParams): this;
|
|
341
|
-
/** @deprecated Use `z.nanoid()` instead. */
|
|
342
|
-
nanoid(params?: string | core.$ZodCheckNanoIDParams): this;
|
|
343
|
-
/** @deprecated Use `z.guid()` instead. */
|
|
344
|
-
guid(params?: string | core.$ZodCheckGUIDParams): this;
|
|
345
|
-
/** @deprecated Use `z.cuid()` instead. */
|
|
346
|
-
cuid(params?: string | core.$ZodCheckCUIDParams): this;
|
|
347
|
-
/** @deprecated Use `z.cuid2()` instead. */
|
|
348
|
-
cuid2(params?: string | core.$ZodCheckCUID2Params): this;
|
|
349
|
-
/** @deprecated Use `z.ulid()` instead. */
|
|
350
|
-
ulid(params?: string | core.$ZodCheckULIDParams): this;
|
|
351
|
-
/** @deprecated Use `z.base64()` instead. */
|
|
352
|
-
base64(params?: string | core.$ZodCheckBase64Params): this;
|
|
353
|
-
/** @deprecated Use `z.base64url()` instead. */
|
|
354
|
-
base64url(params?: string | core.$ZodCheckBase64URLParams): this;
|
|
355
|
-
// /** @deprecated Use `z.jsonString()` instead. */
|
|
356
|
-
// jsonString(params?: string | core.$ZodCheckJSONStringParams): this;
|
|
357
|
-
/** @deprecated Use `z.xid()` instead. */
|
|
358
|
-
xid(params?: string | core.$ZodCheckXIDParams): this;
|
|
359
|
-
/** @deprecated Use `z.ksuid()` instead. */
|
|
360
|
-
ksuid(params?: string | core.$ZodCheckKSUIDParams): this;
|
|
361
|
-
// /** @deprecated Use `z.ipv4()` or `z.ipv6()` instead. */
|
|
362
|
-
// ip(params?: string | (core.$ZodCheckIPv4Params & { version?: "v4" | "v6" })): ZodUnion<[this, this]>;
|
|
363
|
-
/** @deprecated Use `z.ipv4()` instead. */
|
|
364
|
-
ipv4(params?: string | core.$ZodCheckIPv4Params): this;
|
|
365
|
-
/** @deprecated Use `z.ipv6()` instead. */
|
|
366
|
-
ipv6(params?: string | core.$ZodCheckIPv6Params): this;
|
|
367
|
-
/** @deprecated Use `z.cidrv4()` instead. */
|
|
368
|
-
cidrv4(params?: string | core.$ZodCheckCIDRv4Params): this;
|
|
369
|
-
/** @deprecated Use `z.cidrv6()` instead. */
|
|
370
|
-
cidrv6(params?: string | core.$ZodCheckCIDRv6Params): this;
|
|
371
|
-
/** @deprecated Use `z.e164()` instead. */
|
|
372
|
-
e164(params?: string | core.$ZodCheckE164Params): this;
|
|
373
|
-
|
|
374
|
-
// ISO 8601 checks
|
|
375
|
-
/** @deprecated Use `z.iso.datetime()` instead. */
|
|
376
|
-
datetime(params?: string | core.$ZodCheckISODateTimeParams): this;
|
|
377
|
-
/** @deprecated Use `z.iso.date()` instead. */
|
|
378
|
-
date(params?: string | core.$ZodCheckISODateParams): this;
|
|
379
|
-
/** @deprecated Use `z.iso.time()` instead. */
|
|
380
|
-
time(
|
|
381
|
-
params?:
|
|
382
|
-
| string
|
|
383
|
-
// | {
|
|
384
|
-
// message?: string | undefined;
|
|
385
|
-
// precision?: number | null;
|
|
386
|
-
// }
|
|
387
|
-
| core.$ZodCheckISOTimeParams
|
|
388
|
-
): this;
|
|
389
|
-
/** @deprecated Use `z.iso.duration()` instead. */
|
|
390
|
-
duration(params?: string | core.$ZodCheckISODurationParams): this;
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
export const ZodString: core.$constructor<ZodString> = /*@__PURE__*/ core.$constructor("ZodString", (inst, def) => {
|
|
394
|
-
core.$ZodString.init(inst, def);
|
|
395
|
-
_ZodString.init(inst, def);
|
|
396
|
-
|
|
397
|
-
inst.email = (params) => inst.check(core._email(ZodEmail, params));
|
|
398
|
-
inst.url = (params) => inst.check(core._url(ZodURL, params));
|
|
399
|
-
inst.jwt = (params) => inst.check(core._jwt(ZodJWT, params));
|
|
400
|
-
inst.emoji = (params) => inst.check(core._emoji(ZodEmoji, params));
|
|
401
|
-
inst.guid = (params) => inst.check(core._guid(ZodGUID, params));
|
|
402
|
-
inst.uuid = (params) => inst.check(core._uuid(ZodUUID, params));
|
|
403
|
-
inst.uuidv4 = (params) => inst.check(core._uuidv4(ZodUUID, params));
|
|
404
|
-
inst.uuidv6 = (params) => inst.check(core._uuidv6(ZodUUID, params));
|
|
405
|
-
inst.uuidv7 = (params) => inst.check(core._uuidv7(ZodUUID, params));
|
|
406
|
-
inst.nanoid = (params) => inst.check(core._nanoid(ZodNanoID, params));
|
|
407
|
-
inst.guid = (params) => inst.check(core._guid(ZodGUID, params));
|
|
408
|
-
inst.cuid = (params) => inst.check(core._cuid(ZodCUID, params));
|
|
409
|
-
inst.cuid2 = (params) => inst.check(core._cuid2(ZodCUID2, params));
|
|
410
|
-
inst.ulid = (params) => inst.check(core._ulid(ZodULID, params));
|
|
411
|
-
inst.base64 = (params) => inst.check(core._base64(ZodBase64, params));
|
|
412
|
-
inst.base64url = (params) => inst.check(core._base64url(ZodBase64URL, params));
|
|
413
|
-
inst.xid = (params) => inst.check(core._xid(ZodXID, params));
|
|
414
|
-
inst.ksuid = (params) => inst.check(core._ksuid(ZodKSUID, params));
|
|
415
|
-
inst.ipv4 = (params) => inst.check(core._ipv4(ZodIPv4, params));
|
|
416
|
-
inst.ipv6 = (params) => inst.check(core._ipv6(ZodIPv6, params));
|
|
417
|
-
inst.cidrv4 = (params) => inst.check(core._cidrv4(ZodCIDRv4, params));
|
|
418
|
-
inst.cidrv6 = (params) => inst.check(core._cidrv6(ZodCIDRv6, params));
|
|
419
|
-
inst.e164 = (params) => inst.check(core._e164(ZodE164, params));
|
|
420
|
-
|
|
421
|
-
// iso
|
|
422
|
-
inst.datetime = (params) => inst.check(iso.datetime(params as any));
|
|
423
|
-
inst.date = (params) => inst.check(iso.date(params as any));
|
|
424
|
-
inst.time = (params) => inst.check(iso.time(params as any));
|
|
425
|
-
inst.duration = (params) => inst.check(iso.duration(params as any));
|
|
426
|
-
});
|
|
427
|
-
|
|
428
|
-
export function string(params?: string | core.$ZodStringParams): ZodString;
|
|
429
|
-
export function string<T extends string>(params?: string | core.$ZodStringParams): core.$ZodType<T, T>;
|
|
430
|
-
export function string(params?: string | core.$ZodStringParams): ZodString {
|
|
431
|
-
return core._string(ZodString, params) as any;
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
// ZodStringFormat
|
|
435
|
-
export interface ZodStringFormat<Format extends string = string>
|
|
436
|
-
extends _ZodString<core.$ZodStringFormatInternals<Format>> {}
|
|
437
|
-
export const ZodStringFormat: core.$constructor<ZodStringFormat> = /*@__PURE__*/ core.$constructor(
|
|
438
|
-
"ZodStringFormat",
|
|
439
|
-
(inst, def) => {
|
|
440
|
-
core.$ZodStringFormat.init(inst, def);
|
|
441
|
-
_ZodString.init(inst, def);
|
|
442
|
-
}
|
|
443
|
-
);
|
|
444
|
-
|
|
445
|
-
// ZodEmail
|
|
446
|
-
export interface ZodEmail extends ZodStringFormat<"email"> {
|
|
447
|
-
_zod: core.$ZodEmailInternals;
|
|
448
|
-
}
|
|
449
|
-
export const ZodEmail: core.$constructor<ZodEmail> = /*@__PURE__*/ core.$constructor("ZodEmail", (inst, def) => {
|
|
450
|
-
// ZodStringFormat.init(inst, def);
|
|
451
|
-
core.$ZodEmail.init(inst, def);
|
|
452
|
-
ZodStringFormat.init(inst, def);
|
|
453
|
-
});
|
|
454
|
-
|
|
455
|
-
export function email(params?: string | core.$ZodEmailParams): ZodEmail {
|
|
456
|
-
return core._email(ZodEmail, params);
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
// ZodGUID
|
|
460
|
-
export interface ZodGUID extends ZodStringFormat<"guid"> {
|
|
461
|
-
_zod: core.$ZodGUIDInternals;
|
|
462
|
-
}
|
|
463
|
-
export const ZodGUID: core.$constructor<ZodGUID> = /*@__PURE__*/ core.$constructor("ZodGUID", (inst, def) => {
|
|
464
|
-
// ZodStringFormat.init(inst, def);
|
|
465
|
-
core.$ZodGUID.init(inst, def);
|
|
466
|
-
ZodStringFormat.init(inst, def);
|
|
467
|
-
});
|
|
468
|
-
|
|
469
|
-
export function guid(params?: string | core.$ZodGUIDParams): ZodGUID {
|
|
470
|
-
return core._guid(ZodGUID, params);
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
// ZodUUID
|
|
474
|
-
export interface ZodUUID extends ZodStringFormat<"uuid"> {
|
|
475
|
-
_zod: core.$ZodUUIDInternals;
|
|
476
|
-
}
|
|
477
|
-
export const ZodUUID: core.$constructor<ZodUUID> = /*@__PURE__*/ core.$constructor("ZodUUID", (inst, def) => {
|
|
478
|
-
// ZodStringFormat.init(inst, def);
|
|
479
|
-
core.$ZodUUID.init(inst, def);
|
|
480
|
-
ZodStringFormat.init(inst, def);
|
|
481
|
-
});
|
|
482
|
-
|
|
483
|
-
export function uuid(params?: string | core.$ZodUUIDParams): ZodUUID {
|
|
484
|
-
return core._uuid(ZodUUID, params);
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
export function uuidv4(params?: string | core.$ZodUUIDv4Params): ZodUUID {
|
|
488
|
-
return core._uuidv4(ZodUUID, params);
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
// ZodUUIDv6
|
|
492
|
-
|
|
493
|
-
export function uuidv6(params?: string | core.$ZodUUIDv6Params): ZodUUID {
|
|
494
|
-
return core._uuidv6(ZodUUID, params);
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
// ZodUUIDv7
|
|
498
|
-
|
|
499
|
-
export function uuidv7(params?: string | core.$ZodUUIDv7Params): ZodUUID {
|
|
500
|
-
return core._uuidv7(ZodUUID, params);
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
// ZodURL
|
|
504
|
-
export interface ZodURL extends ZodStringFormat<"url"> {
|
|
505
|
-
_zod: core.$ZodURLInternals;
|
|
506
|
-
}
|
|
507
|
-
export const ZodURL: core.$constructor<ZodURL> = /*@__PURE__*/ core.$constructor("ZodURL", (inst, def) => {
|
|
508
|
-
// ZodStringFormat.init(inst, def);
|
|
509
|
-
core.$ZodURL.init(inst, def);
|
|
510
|
-
ZodStringFormat.init(inst, def);
|
|
511
|
-
});
|
|
512
|
-
|
|
513
|
-
export function url(params?: string | core.$ZodURLParams): ZodURL {
|
|
514
|
-
return core._url(ZodURL, params);
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
export function httpUrl(params?: string | Omit<core.$ZodURLParams, "protocol" | "hostname">): ZodURL {
|
|
518
|
-
return core._url(ZodURL, {
|
|
519
|
-
protocol: /^https?$/,
|
|
520
|
-
hostname: core.regexes.domain,
|
|
521
|
-
...util.normalizeParams(params),
|
|
522
|
-
});
|
|
523
|
-
}
|
|
524
|
-
|
|
525
|
-
// ZodEmoji
|
|
526
|
-
export interface ZodEmoji extends ZodStringFormat<"emoji"> {
|
|
527
|
-
_zod: core.$ZodEmojiInternals;
|
|
528
|
-
}
|
|
529
|
-
export const ZodEmoji: core.$constructor<ZodEmoji> = /*@__PURE__*/ core.$constructor("ZodEmoji", (inst, def) => {
|
|
530
|
-
// ZodStringFormat.init(inst, def);
|
|
531
|
-
core.$ZodEmoji.init(inst, def);
|
|
532
|
-
ZodStringFormat.init(inst, def);
|
|
533
|
-
});
|
|
534
|
-
|
|
535
|
-
export function emoji(params?: string | core.$ZodEmojiParams): ZodEmoji {
|
|
536
|
-
return core._emoji(ZodEmoji, params);
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
// ZodNanoID
|
|
540
|
-
export interface ZodNanoID extends ZodStringFormat<"nanoid"> {
|
|
541
|
-
_zod: core.$ZodNanoIDInternals;
|
|
542
|
-
}
|
|
543
|
-
export const ZodNanoID: core.$constructor<ZodNanoID> = /*@__PURE__*/ core.$constructor("ZodNanoID", (inst, def) => {
|
|
544
|
-
// ZodStringFormat.init(inst, def);
|
|
545
|
-
core.$ZodNanoID.init(inst, def);
|
|
546
|
-
ZodStringFormat.init(inst, def);
|
|
547
|
-
});
|
|
548
|
-
|
|
549
|
-
export function nanoid(params?: string | core.$ZodNanoIDParams): ZodNanoID {
|
|
550
|
-
return core._nanoid(ZodNanoID, params);
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
// ZodCUID
|
|
554
|
-
export interface ZodCUID extends ZodStringFormat<"cuid"> {
|
|
555
|
-
_zod: core.$ZodCUIDInternals;
|
|
556
|
-
}
|
|
557
|
-
export const ZodCUID: core.$constructor<ZodCUID> = /*@__PURE__*/ core.$constructor("ZodCUID", (inst, def) => {
|
|
558
|
-
// ZodStringFormat.init(inst, def);
|
|
559
|
-
core.$ZodCUID.init(inst, def);
|
|
560
|
-
ZodStringFormat.init(inst, def);
|
|
561
|
-
});
|
|
562
|
-
|
|
563
|
-
export function cuid(params?: string | core.$ZodCUIDParams): ZodCUID {
|
|
564
|
-
return core._cuid(ZodCUID, params);
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
// ZodCUID2
|
|
568
|
-
export interface ZodCUID2 extends ZodStringFormat<"cuid2"> {
|
|
569
|
-
_zod: core.$ZodCUID2Internals;
|
|
570
|
-
}
|
|
571
|
-
export const ZodCUID2: core.$constructor<ZodCUID2> = /*@__PURE__*/ core.$constructor("ZodCUID2", (inst, def) => {
|
|
572
|
-
// ZodStringFormat.init(inst, def);
|
|
573
|
-
core.$ZodCUID2.init(inst, def);
|
|
574
|
-
ZodStringFormat.init(inst, def);
|
|
575
|
-
});
|
|
576
|
-
|
|
577
|
-
export function cuid2(params?: string | core.$ZodCUID2Params): ZodCUID2 {
|
|
578
|
-
return core._cuid2(ZodCUID2, params);
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
// ZodULID
|
|
582
|
-
export interface ZodULID extends ZodStringFormat<"ulid"> {
|
|
583
|
-
_zod: core.$ZodULIDInternals;
|
|
584
|
-
}
|
|
585
|
-
export const ZodULID: core.$constructor<ZodULID> = /*@__PURE__*/ core.$constructor("ZodULID", (inst, def) => {
|
|
586
|
-
// ZodStringFormat.init(inst, def);
|
|
587
|
-
core.$ZodULID.init(inst, def);
|
|
588
|
-
ZodStringFormat.init(inst, def);
|
|
589
|
-
});
|
|
590
|
-
|
|
591
|
-
export function ulid(params?: string | core.$ZodULIDParams): ZodULID {
|
|
592
|
-
return core._ulid(ZodULID, params);
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
// ZodXID
|
|
596
|
-
export interface ZodXID extends ZodStringFormat<"xid"> {
|
|
597
|
-
_zod: core.$ZodXIDInternals;
|
|
598
|
-
}
|
|
599
|
-
export const ZodXID: core.$constructor<ZodXID> = /*@__PURE__*/ core.$constructor("ZodXID", (inst, def) => {
|
|
600
|
-
// ZodStringFormat.init(inst, def);
|
|
601
|
-
core.$ZodXID.init(inst, def);
|
|
602
|
-
ZodStringFormat.init(inst, def);
|
|
603
|
-
});
|
|
604
|
-
|
|
605
|
-
export function xid(params?: string | core.$ZodXIDParams): ZodXID {
|
|
606
|
-
return core._xid(ZodXID, params);
|
|
607
|
-
}
|
|
608
|
-
|
|
609
|
-
// ZodKSUID
|
|
610
|
-
export interface ZodKSUID extends ZodStringFormat<"ksuid"> {
|
|
611
|
-
_zod: core.$ZodKSUIDInternals;
|
|
612
|
-
}
|
|
613
|
-
export const ZodKSUID: core.$constructor<ZodKSUID> = /*@__PURE__*/ core.$constructor("ZodKSUID", (inst, def) => {
|
|
614
|
-
// ZodStringFormat.init(inst, def);
|
|
615
|
-
core.$ZodKSUID.init(inst, def);
|
|
616
|
-
ZodStringFormat.init(inst, def);
|
|
617
|
-
});
|
|
618
|
-
|
|
619
|
-
export function ksuid(params?: string | core.$ZodKSUIDParams): ZodKSUID {
|
|
620
|
-
return core._ksuid(ZodKSUID, params);
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
// ZodIP
|
|
624
|
-
// export interface ZodIP extends ZodStringFormat<"ip"> {
|
|
625
|
-
// _zod: core.$ZodIPInternals;
|
|
626
|
-
// }
|
|
627
|
-
// export const ZodIP: core.$constructor<ZodIP> = /*@__PURE__*/ core.$constructor("ZodIP", (inst, def) => {
|
|
628
|
-
// // ZodStringFormat.init(inst, def);
|
|
629
|
-
// core.$ZodIP.init(inst, def);
|
|
630
|
-
// ZodStringFormat.init(inst, def);
|
|
631
|
-
// });
|
|
632
|
-
|
|
633
|
-
// export function ip(params?: string | core.$ZodIPParams): ZodIP {
|
|
634
|
-
// return core._ip(ZodIP, params);
|
|
635
|
-
// }
|
|
636
|
-
|
|
637
|
-
// ZodIPv4
|
|
638
|
-
export interface ZodIPv4 extends ZodStringFormat<"ipv4"> {
|
|
639
|
-
_zod: core.$ZodIPv4Internals;
|
|
640
|
-
}
|
|
641
|
-
export const ZodIPv4: core.$constructor<ZodIPv4> = /*@__PURE__*/ core.$constructor("ZodIPv4", (inst, def) => {
|
|
642
|
-
// ZodStringFormat.init(inst, def);
|
|
643
|
-
core.$ZodIPv4.init(inst, def);
|
|
644
|
-
ZodStringFormat.init(inst, def);
|
|
645
|
-
});
|
|
646
|
-
|
|
647
|
-
export function ipv4(params?: string | core.$ZodIPv4Params): ZodIPv4 {
|
|
648
|
-
return core._ipv4(ZodIPv4, params);
|
|
649
|
-
}
|
|
650
|
-
|
|
651
|
-
// ZodMAC
|
|
652
|
-
export interface ZodMAC extends ZodStringFormat<"mac"> {
|
|
653
|
-
_zod: core.$ZodMACInternals;
|
|
654
|
-
}
|
|
655
|
-
export const ZodMAC: core.$constructor<ZodMAC> = /*@__PURE__*/ core.$constructor("ZodMAC", (inst, def) => {
|
|
656
|
-
// ZodStringFormat.init(inst, def);
|
|
657
|
-
core.$ZodMAC.init(inst, def);
|
|
658
|
-
ZodStringFormat.init(inst, def);
|
|
659
|
-
});
|
|
660
|
-
export function mac(params?: string | core.$ZodMACParams): ZodMAC {
|
|
661
|
-
return core._mac(ZodMAC, params);
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
// ZodIPv6
|
|
665
|
-
export interface ZodIPv6 extends ZodStringFormat<"ipv6"> {
|
|
666
|
-
_zod: core.$ZodIPv6Internals;
|
|
667
|
-
}
|
|
668
|
-
export const ZodIPv6: core.$constructor<ZodIPv6> = /*@__PURE__*/ core.$constructor("ZodIPv6", (inst, def) => {
|
|
669
|
-
// ZodStringFormat.init(inst, def);
|
|
670
|
-
core.$ZodIPv6.init(inst, def);
|
|
671
|
-
ZodStringFormat.init(inst, def);
|
|
672
|
-
});
|
|
673
|
-
export function ipv6(params?: string | core.$ZodIPv6Params): ZodIPv6 {
|
|
674
|
-
return core._ipv6(ZodIPv6, params);
|
|
675
|
-
}
|
|
676
|
-
|
|
677
|
-
// ZodCIDRv4
|
|
678
|
-
export interface ZodCIDRv4 extends ZodStringFormat<"cidrv4"> {
|
|
679
|
-
_zod: core.$ZodCIDRv4Internals;
|
|
680
|
-
}
|
|
681
|
-
export const ZodCIDRv4: core.$constructor<ZodCIDRv4> = /*@__PURE__*/ core.$constructor("ZodCIDRv4", (inst, def) => {
|
|
682
|
-
core.$ZodCIDRv4.init(inst, def);
|
|
683
|
-
ZodStringFormat.init(inst, def);
|
|
684
|
-
});
|
|
685
|
-
|
|
686
|
-
export function cidrv4(params?: string | core.$ZodCIDRv4Params): ZodCIDRv4 {
|
|
687
|
-
return core._cidrv4(ZodCIDRv4, params);
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
// ZodCIDRv6
|
|
691
|
-
export interface ZodCIDRv6 extends ZodStringFormat<"cidrv6"> {
|
|
692
|
-
_zod: core.$ZodCIDRv6Internals;
|
|
693
|
-
}
|
|
694
|
-
export const ZodCIDRv6: core.$constructor<ZodCIDRv6> = /*@__PURE__*/ core.$constructor("ZodCIDRv6", (inst, def) => {
|
|
695
|
-
core.$ZodCIDRv6.init(inst, def);
|
|
696
|
-
ZodStringFormat.init(inst, def);
|
|
697
|
-
});
|
|
698
|
-
|
|
699
|
-
export function cidrv6(params?: string | core.$ZodCIDRv6Params): ZodCIDRv6 {
|
|
700
|
-
return core._cidrv6(ZodCIDRv6, params);
|
|
701
|
-
}
|
|
702
|
-
|
|
703
|
-
// ZodBase64
|
|
704
|
-
export interface ZodBase64 extends ZodStringFormat<"base64"> {
|
|
705
|
-
_zod: core.$ZodBase64Internals;
|
|
706
|
-
}
|
|
707
|
-
export const ZodBase64: core.$constructor<ZodBase64> = /*@__PURE__*/ core.$constructor("ZodBase64", (inst, def) => {
|
|
708
|
-
// ZodStringFormat.init(inst, def);
|
|
709
|
-
core.$ZodBase64.init(inst, def);
|
|
710
|
-
ZodStringFormat.init(inst, def);
|
|
711
|
-
});
|
|
712
|
-
export function base64(params?: string | core.$ZodBase64Params): ZodBase64 {
|
|
713
|
-
return core._base64(ZodBase64, params);
|
|
714
|
-
}
|
|
715
|
-
|
|
716
|
-
// ZodBase64URL
|
|
717
|
-
export interface ZodBase64URL extends ZodStringFormat<"base64url"> {
|
|
718
|
-
_zod: core.$ZodBase64URLInternals;
|
|
719
|
-
}
|
|
720
|
-
export const ZodBase64URL: core.$constructor<ZodBase64URL> = /*@__PURE__*/ core.$constructor(
|
|
721
|
-
"ZodBase64URL",
|
|
722
|
-
(inst, def) => {
|
|
723
|
-
// ZodStringFormat.init(inst, def);
|
|
724
|
-
core.$ZodBase64URL.init(inst, def);
|
|
725
|
-
ZodStringFormat.init(inst, def);
|
|
726
|
-
}
|
|
727
|
-
);
|
|
728
|
-
export function base64url(params?: string | core.$ZodBase64URLParams): ZodBase64URL {
|
|
729
|
-
return core._base64url(ZodBase64URL, params);
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
// ZodE164
|
|
733
|
-
export interface ZodE164 extends ZodStringFormat<"e164"> {
|
|
734
|
-
_zod: core.$ZodE164Internals;
|
|
735
|
-
}
|
|
736
|
-
export const ZodE164: core.$constructor<ZodE164> = /*@__PURE__*/ core.$constructor("ZodE164", (inst, def) => {
|
|
737
|
-
// ZodStringFormat.init(inst, def);
|
|
738
|
-
core.$ZodE164.init(inst, def);
|
|
739
|
-
ZodStringFormat.init(inst, def);
|
|
740
|
-
});
|
|
741
|
-
|
|
742
|
-
export function e164(params?: string | core.$ZodE164Params): ZodE164 {
|
|
743
|
-
return core._e164(ZodE164, params);
|
|
744
|
-
}
|
|
745
|
-
|
|
746
|
-
// ZodJWT
|
|
747
|
-
export interface ZodJWT extends ZodStringFormat<"jwt"> {
|
|
748
|
-
_zod: core.$ZodJWTInternals;
|
|
749
|
-
}
|
|
750
|
-
export const ZodJWT: core.$constructor<ZodJWT> = /*@__PURE__*/ core.$constructor("ZodJWT", (inst, def) => {
|
|
751
|
-
// ZodStringFormat.init(inst, def);
|
|
752
|
-
core.$ZodJWT.init(inst, def);
|
|
753
|
-
ZodStringFormat.init(inst, def);
|
|
754
|
-
});
|
|
755
|
-
|
|
756
|
-
export function jwt(params?: string | core.$ZodJWTParams): ZodJWT {
|
|
757
|
-
return core._jwt(ZodJWT, params);
|
|
758
|
-
}
|
|
759
|
-
|
|
760
|
-
// ZodCustomStringFormat
|
|
761
|
-
export interface ZodCustomStringFormat<Format extends string = string>
|
|
762
|
-
extends ZodStringFormat<Format>,
|
|
763
|
-
core.$ZodCustomStringFormat<Format> {
|
|
764
|
-
_zod: core.$ZodCustomStringFormatInternals<Format>;
|
|
765
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
766
|
-
}
|
|
767
|
-
export const ZodCustomStringFormat: core.$constructor<ZodCustomStringFormat> = /*@__PURE__*/ core.$constructor(
|
|
768
|
-
"ZodCustomStringFormat",
|
|
769
|
-
(inst, def) => {
|
|
770
|
-
// ZodStringFormat.init(inst, def);
|
|
771
|
-
core.$ZodCustomStringFormat.init(inst, def);
|
|
772
|
-
ZodStringFormat.init(inst, def);
|
|
773
|
-
}
|
|
774
|
-
);
|
|
775
|
-
export function stringFormat<Format extends string>(
|
|
776
|
-
format: Format,
|
|
777
|
-
fnOrRegex: ((arg: string) => util.MaybeAsync<unknown>) | RegExp,
|
|
778
|
-
_params: string | core.$ZodStringFormatParams = {}
|
|
779
|
-
): ZodCustomStringFormat<Format> {
|
|
780
|
-
return core._stringFormat(ZodCustomStringFormat, format, fnOrRegex, _params) as any;
|
|
781
|
-
}
|
|
782
|
-
|
|
783
|
-
export function hostname(_params?: string | core.$ZodStringFormatParams): ZodCustomStringFormat<"hostname"> {
|
|
784
|
-
return core._stringFormat(ZodCustomStringFormat, "hostname", core.regexes.hostname, _params) as any;
|
|
785
|
-
}
|
|
786
|
-
|
|
787
|
-
export function hex(_params?: string | core.$ZodStringFormatParams): ZodCustomStringFormat<"hex"> {
|
|
788
|
-
return core._stringFormat(ZodCustomStringFormat, "hex", core.regexes.hex, _params) as any;
|
|
789
|
-
}
|
|
790
|
-
|
|
791
|
-
export function hash<Alg extends util.HashAlgorithm, Enc extends util.HashEncoding = "hex">(
|
|
792
|
-
alg: Alg,
|
|
793
|
-
params?: {
|
|
794
|
-
enc?: Enc;
|
|
795
|
-
} & core.$ZodStringFormatParams
|
|
796
|
-
): ZodCustomStringFormat<`${Alg}_${Enc}`> {
|
|
797
|
-
const enc = params?.enc ?? "hex";
|
|
798
|
-
const format = `${alg}_${enc}` as const;
|
|
799
|
-
const regex = core.regexes[format as keyof typeof core.regexes] as RegExp;
|
|
800
|
-
if (!regex) throw new Error(`Unrecognized hash format: ${format}`);
|
|
801
|
-
return core._stringFormat(ZodCustomStringFormat, format, regex, params) as any;
|
|
802
|
-
}
|
|
803
|
-
|
|
804
|
-
// ZodNumber
|
|
805
|
-
export interface _ZodNumber<Internals extends core.$ZodNumberInternals = core.$ZodNumberInternals>
|
|
806
|
-
extends _ZodType<Internals> {
|
|
807
|
-
gt(value: number, params?: string | core.$ZodCheckGreaterThanParams): this;
|
|
808
|
-
/** Identical to .min() */
|
|
809
|
-
gte(value: number, params?: string | core.$ZodCheckGreaterThanParams): this;
|
|
810
|
-
min(value: number, params?: string | core.$ZodCheckGreaterThanParams): this;
|
|
811
|
-
lt(value: number, params?: string | core.$ZodCheckLessThanParams): this;
|
|
812
|
-
/** Identical to .max() */
|
|
813
|
-
lte(value: number, params?: string | core.$ZodCheckLessThanParams): this;
|
|
814
|
-
max(value: number, params?: string | core.$ZodCheckLessThanParams): this;
|
|
815
|
-
/** Consider `z.int()` instead. This API is considered *legacy*; it will never be removed but a better alternative exists. */
|
|
816
|
-
int(params?: string | core.$ZodCheckNumberFormatParams): this;
|
|
817
|
-
/** @deprecated This is now identical to `.int()`. Only numbers in the safe integer range are accepted. */
|
|
818
|
-
safe(params?: string | core.$ZodCheckNumberFormatParams): this;
|
|
819
|
-
positive(params?: string | core.$ZodCheckGreaterThanParams): this;
|
|
820
|
-
nonnegative(params?: string | core.$ZodCheckGreaterThanParams): this;
|
|
821
|
-
negative(params?: string | core.$ZodCheckLessThanParams): this;
|
|
822
|
-
nonpositive(params?: string | core.$ZodCheckLessThanParams): this;
|
|
823
|
-
multipleOf(value: number, params?: string | core.$ZodCheckMultipleOfParams): this;
|
|
824
|
-
/** @deprecated Use `.multipleOf()` instead. */
|
|
825
|
-
step(value: number, params?: string | core.$ZodCheckMultipleOfParams): this;
|
|
826
|
-
|
|
827
|
-
/** @deprecated In v4 and later, z.number() does not allow infinite values by default. This is a no-op. */
|
|
828
|
-
finite(params?: unknown): this;
|
|
829
|
-
|
|
830
|
-
minValue: number | null;
|
|
831
|
-
maxValue: number | null;
|
|
832
|
-
/** @deprecated Check the `format` property instead. */
|
|
833
|
-
isInt: boolean;
|
|
834
|
-
/** @deprecated Number schemas no longer accept infinite values, so this always returns `true`. */
|
|
835
|
-
isFinite: boolean;
|
|
836
|
-
format: string | null;
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
export interface ZodNumber extends _ZodNumber<core.$ZodNumberInternals<number>> {}
|
|
840
|
-
|
|
841
|
-
export const ZodNumber: core.$constructor<ZodNumber> = /*@__PURE__*/ core.$constructor("ZodNumber", (inst, def) => {
|
|
842
|
-
core.$ZodNumber.init(inst, def);
|
|
843
|
-
|
|
844
|
-
ZodType.init(inst, def);
|
|
845
|
-
|
|
846
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.numberProcessor(inst, ctx, json, params);
|
|
847
|
-
|
|
848
|
-
inst.gt = (value, params) => inst.check(checks.gt(value, params));
|
|
849
|
-
inst.gte = (value, params) => inst.check(checks.gte(value, params));
|
|
850
|
-
inst.min = (value, params) => inst.check(checks.gte(value, params));
|
|
851
|
-
inst.lt = (value, params) => inst.check(checks.lt(value, params));
|
|
852
|
-
inst.lte = (value, params) => inst.check(checks.lte(value, params));
|
|
853
|
-
inst.max = (value, params) => inst.check(checks.lte(value, params));
|
|
854
|
-
inst.int = (params) => inst.check(int(params));
|
|
855
|
-
inst.safe = (params) => inst.check(int(params));
|
|
856
|
-
inst.positive = (params) => inst.check(checks.gt(0, params));
|
|
857
|
-
inst.nonnegative = (params) => inst.check(checks.gte(0, params));
|
|
858
|
-
inst.negative = (params) => inst.check(checks.lt(0, params));
|
|
859
|
-
inst.nonpositive = (params) => inst.check(checks.lte(0, params));
|
|
860
|
-
inst.multipleOf = (value, params) => inst.check(checks.multipleOf(value, params));
|
|
861
|
-
inst.step = (value, params) => inst.check(checks.multipleOf(value, params));
|
|
862
|
-
|
|
863
|
-
// inst.finite = (params) => inst.check(core.finite(params));
|
|
864
|
-
inst.finite = () => inst;
|
|
865
|
-
|
|
866
|
-
const bag = inst._zod.bag;
|
|
867
|
-
inst.minValue =
|
|
868
|
-
Math.max(bag.minimum ?? Number.NEGATIVE_INFINITY, bag.exclusiveMinimum ?? Number.NEGATIVE_INFINITY) ?? null;
|
|
869
|
-
inst.maxValue =
|
|
870
|
-
Math.min(bag.maximum ?? Number.POSITIVE_INFINITY, bag.exclusiveMaximum ?? Number.POSITIVE_INFINITY) ?? null;
|
|
871
|
-
inst.isInt = (bag.format ?? "").includes("int") || Number.isSafeInteger(bag.multipleOf ?? 0.5);
|
|
872
|
-
inst.isFinite = true;
|
|
873
|
-
inst.format = bag.format ?? null;
|
|
874
|
-
});
|
|
875
|
-
|
|
876
|
-
export function number(params?: string | core.$ZodNumberParams): ZodNumber {
|
|
877
|
-
return core._number(ZodNumber, params) as any;
|
|
878
|
-
}
|
|
879
|
-
|
|
880
|
-
// ZodNumberFormat
|
|
881
|
-
export interface ZodNumberFormat extends ZodNumber {
|
|
882
|
-
_zod: core.$ZodNumberFormatInternals;
|
|
883
|
-
}
|
|
884
|
-
export const ZodNumberFormat: core.$constructor<ZodNumberFormat> = /*@__PURE__*/ core.$constructor(
|
|
885
|
-
"ZodNumberFormat",
|
|
886
|
-
(inst, def) => {
|
|
887
|
-
core.$ZodNumberFormat.init(inst, def);
|
|
888
|
-
ZodNumber.init(inst, def);
|
|
889
|
-
}
|
|
890
|
-
);
|
|
891
|
-
|
|
892
|
-
// int
|
|
893
|
-
export interface ZodInt extends ZodNumberFormat {}
|
|
894
|
-
export function int(params?: string | core.$ZodCheckNumberFormatParams): ZodInt {
|
|
895
|
-
return core._int(ZodNumberFormat, params);
|
|
896
|
-
}
|
|
897
|
-
|
|
898
|
-
// float32
|
|
899
|
-
export interface ZodFloat32 extends ZodNumberFormat {}
|
|
900
|
-
export function float32(params?: string | core.$ZodCheckNumberFormatParams): ZodFloat32 {
|
|
901
|
-
return core._float32(ZodNumberFormat, params);
|
|
902
|
-
}
|
|
903
|
-
|
|
904
|
-
// float64
|
|
905
|
-
export interface ZodFloat64 extends ZodNumberFormat {}
|
|
906
|
-
export function float64(params?: string | core.$ZodCheckNumberFormatParams): ZodFloat64 {
|
|
907
|
-
return core._float64(ZodNumberFormat, params);
|
|
908
|
-
}
|
|
909
|
-
|
|
910
|
-
// int32
|
|
911
|
-
export interface ZodInt32 extends ZodNumberFormat {}
|
|
912
|
-
export function int32(params?: string | core.$ZodCheckNumberFormatParams): ZodInt32 {
|
|
913
|
-
return core._int32(ZodNumberFormat, params);
|
|
914
|
-
}
|
|
915
|
-
|
|
916
|
-
// uint32
|
|
917
|
-
export interface ZodUInt32 extends ZodNumberFormat {}
|
|
918
|
-
export function uint32(params?: string | core.$ZodCheckNumberFormatParams): ZodUInt32 {
|
|
919
|
-
return core._uint32(ZodNumberFormat, params);
|
|
920
|
-
}
|
|
921
|
-
|
|
922
|
-
// boolean
|
|
923
|
-
export interface _ZodBoolean<T extends core.$ZodBooleanInternals = core.$ZodBooleanInternals> extends _ZodType<T> {}
|
|
924
|
-
export interface ZodBoolean extends _ZodBoolean<core.$ZodBooleanInternals<boolean>> {}
|
|
925
|
-
export const ZodBoolean: core.$constructor<ZodBoolean> = /*@__PURE__*/ core.$constructor("ZodBoolean", (inst, def) => {
|
|
926
|
-
core.$ZodBoolean.init(inst, def);
|
|
927
|
-
ZodType.init(inst, def);
|
|
928
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.booleanProcessor(inst, ctx, json, params);
|
|
929
|
-
});
|
|
930
|
-
|
|
931
|
-
export function boolean(params?: string | core.$ZodBooleanParams): ZodBoolean {
|
|
932
|
-
return core._boolean(ZodBoolean, params) as any;
|
|
933
|
-
}
|
|
934
|
-
|
|
935
|
-
// bigint
|
|
936
|
-
export interface _ZodBigInt<T extends core.$ZodBigIntInternals = core.$ZodBigIntInternals> extends _ZodType<T> {
|
|
937
|
-
gte(value: bigint, params?: string | core.$ZodCheckGreaterThanParams): this;
|
|
938
|
-
/** Alias of `.gte()` */
|
|
939
|
-
min(value: bigint, params?: string | core.$ZodCheckGreaterThanParams): this;
|
|
940
|
-
gt(value: bigint, params?: string | core.$ZodCheckGreaterThanParams): this;
|
|
941
|
-
/** Alias of `.lte()` */
|
|
942
|
-
lte(value: bigint, params?: string | core.$ZodCheckLessThanParams): this;
|
|
943
|
-
max(value: bigint, params?: string | core.$ZodCheckLessThanParams): this;
|
|
944
|
-
lt(value: bigint, params?: string | core.$ZodCheckLessThanParams): this;
|
|
945
|
-
positive(params?: string | core.$ZodCheckGreaterThanParams): this;
|
|
946
|
-
negative(params?: string | core.$ZodCheckLessThanParams): this;
|
|
947
|
-
nonpositive(params?: string | core.$ZodCheckLessThanParams): this;
|
|
948
|
-
nonnegative(params?: string | core.$ZodCheckGreaterThanParams): this;
|
|
949
|
-
multipleOf(value: bigint, params?: string | core.$ZodCheckMultipleOfParams): this;
|
|
950
|
-
|
|
951
|
-
minValue: bigint | null;
|
|
952
|
-
maxValue: bigint | null;
|
|
953
|
-
format: string | null;
|
|
954
|
-
}
|
|
955
|
-
|
|
956
|
-
export interface ZodBigInt extends _ZodBigInt<core.$ZodBigIntInternals<bigint>> {}
|
|
957
|
-
export const ZodBigInt: core.$constructor<ZodBigInt> = /*@__PURE__*/ core.$constructor("ZodBigInt", (inst, def) => {
|
|
958
|
-
core.$ZodBigInt.init(inst, def);
|
|
959
|
-
ZodType.init(inst, def);
|
|
960
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.bigintProcessor(inst, ctx, json, params);
|
|
961
|
-
|
|
962
|
-
inst.gte = (value, params) => inst.check(checks.gte(value, params));
|
|
963
|
-
inst.min = (value, params) => inst.check(checks.gte(value, params));
|
|
964
|
-
inst.gt = (value, params) => inst.check(checks.gt(value, params));
|
|
965
|
-
inst.gte = (value, params) => inst.check(checks.gte(value, params));
|
|
966
|
-
inst.min = (value, params) => inst.check(checks.gte(value, params));
|
|
967
|
-
inst.lt = (value, params) => inst.check(checks.lt(value, params));
|
|
968
|
-
inst.lte = (value, params) => inst.check(checks.lte(value, params));
|
|
969
|
-
inst.max = (value, params) => inst.check(checks.lte(value, params));
|
|
970
|
-
inst.positive = (params) => inst.check(checks.gt(BigInt(0), params));
|
|
971
|
-
inst.negative = (params) => inst.check(checks.lt(BigInt(0), params));
|
|
972
|
-
inst.nonpositive = (params) => inst.check(checks.lte(BigInt(0), params));
|
|
973
|
-
inst.nonnegative = (params) => inst.check(checks.gte(BigInt(0), params));
|
|
974
|
-
inst.multipleOf = (value, params) => inst.check(checks.multipleOf(value, params));
|
|
975
|
-
|
|
976
|
-
const bag = inst._zod.bag;
|
|
977
|
-
inst.minValue = bag.minimum ?? null;
|
|
978
|
-
inst.maxValue = bag.maximum ?? null;
|
|
979
|
-
inst.format = bag.format ?? null;
|
|
980
|
-
});
|
|
981
|
-
|
|
982
|
-
export function bigint(params?: string | core.$ZodBigIntParams): ZodBigInt {
|
|
983
|
-
return core._bigint(ZodBigInt, params) as any;
|
|
984
|
-
}
|
|
985
|
-
// bigint formats
|
|
986
|
-
|
|
987
|
-
// ZodBigIntFormat
|
|
988
|
-
export interface ZodBigIntFormat extends ZodBigInt {
|
|
989
|
-
_zod: core.$ZodBigIntFormatInternals;
|
|
990
|
-
}
|
|
991
|
-
export const ZodBigIntFormat: core.$constructor<ZodBigIntFormat> = /*@__PURE__*/ core.$constructor(
|
|
992
|
-
"ZodBigIntFormat",
|
|
993
|
-
(inst, def) => {
|
|
994
|
-
core.$ZodBigIntFormat.init(inst, def);
|
|
995
|
-
ZodBigInt.init(inst, def);
|
|
996
|
-
}
|
|
997
|
-
);
|
|
998
|
-
|
|
999
|
-
// int64
|
|
1000
|
-
export function int64(params?: string | core.$ZodBigIntFormatParams): ZodBigIntFormat {
|
|
1001
|
-
return core._int64(ZodBigIntFormat, params);
|
|
1002
|
-
}
|
|
1003
|
-
|
|
1004
|
-
// uint64
|
|
1005
|
-
export function uint64(params?: string | core.$ZodBigIntFormatParams): ZodBigIntFormat {
|
|
1006
|
-
return core._uint64(ZodBigIntFormat, params);
|
|
1007
|
-
}
|
|
1008
|
-
|
|
1009
|
-
// symbol
|
|
1010
|
-
export interface ZodSymbol extends _ZodType<core.$ZodSymbolInternals> {}
|
|
1011
|
-
export const ZodSymbol: core.$constructor<ZodSymbol> = /*@__PURE__*/ core.$constructor("ZodSymbol", (inst, def) => {
|
|
1012
|
-
core.$ZodSymbol.init(inst, def);
|
|
1013
|
-
ZodType.init(inst, def);
|
|
1014
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.symbolProcessor(inst, ctx, json, params);
|
|
1015
|
-
});
|
|
1016
|
-
|
|
1017
|
-
export function symbol(params?: string | core.$ZodSymbolParams): ZodSymbol {
|
|
1018
|
-
return core._symbol(ZodSymbol, params);
|
|
1019
|
-
}
|
|
1020
|
-
|
|
1021
|
-
// ZodUndefined
|
|
1022
|
-
export interface ZodUndefined extends _ZodType<core.$ZodUndefinedInternals> {}
|
|
1023
|
-
export const ZodUndefined: core.$constructor<ZodUndefined> = /*@__PURE__*/ core.$constructor(
|
|
1024
|
-
"ZodUndefined",
|
|
1025
|
-
(inst, def) => {
|
|
1026
|
-
core.$ZodUndefined.init(inst, def);
|
|
1027
|
-
ZodType.init(inst, def);
|
|
1028
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.undefinedProcessor(inst, ctx, json, params);
|
|
1029
|
-
}
|
|
1030
|
-
);
|
|
1031
|
-
|
|
1032
|
-
function _undefined(params?: string | core.$ZodUndefinedParams): ZodUndefined {
|
|
1033
|
-
return core._undefined(ZodUndefined, params);
|
|
1034
|
-
}
|
|
1035
|
-
export { _undefined as undefined };
|
|
1036
|
-
|
|
1037
|
-
// ZodNull
|
|
1038
|
-
export interface ZodNull extends _ZodType<core.$ZodNullInternals> {}
|
|
1039
|
-
export const ZodNull: core.$constructor<ZodNull> = /*@__PURE__*/ core.$constructor("ZodNull", (inst, def) => {
|
|
1040
|
-
core.$ZodNull.init(inst, def);
|
|
1041
|
-
ZodType.init(inst, def);
|
|
1042
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.nullProcessor(inst, ctx, json, params);
|
|
1043
|
-
});
|
|
1044
|
-
|
|
1045
|
-
function _null(params?: string | core.$ZodNullParams): ZodNull {
|
|
1046
|
-
return core._null(ZodNull, params);
|
|
1047
|
-
}
|
|
1048
|
-
export { _null as null };
|
|
1049
|
-
|
|
1050
|
-
// ZodAny
|
|
1051
|
-
export interface ZodAny extends _ZodType<core.$ZodAnyInternals> {}
|
|
1052
|
-
export const ZodAny: core.$constructor<ZodAny> = /*@__PURE__*/ core.$constructor("ZodAny", (inst, def) => {
|
|
1053
|
-
core.$ZodAny.init(inst, def);
|
|
1054
|
-
ZodType.init(inst, def);
|
|
1055
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.anyProcessor(inst, ctx, json, params);
|
|
1056
|
-
});
|
|
1057
|
-
|
|
1058
|
-
export function any(): ZodAny {
|
|
1059
|
-
return core._any(ZodAny);
|
|
1060
|
-
}
|
|
1061
|
-
|
|
1062
|
-
// ZodUnknown
|
|
1063
|
-
export interface ZodUnknown extends _ZodType<core.$ZodUnknownInternals> {}
|
|
1064
|
-
export const ZodUnknown: core.$constructor<ZodUnknown> = /*@__PURE__*/ core.$constructor("ZodUnknown", (inst, def) => {
|
|
1065
|
-
core.$ZodUnknown.init(inst, def);
|
|
1066
|
-
ZodType.init(inst, def);
|
|
1067
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.unknownProcessor(inst, ctx, json, params);
|
|
1068
|
-
});
|
|
1069
|
-
|
|
1070
|
-
export function unknown(): ZodUnknown {
|
|
1071
|
-
return core._unknown(ZodUnknown);
|
|
1072
|
-
}
|
|
1073
|
-
|
|
1074
|
-
// ZodNever
|
|
1075
|
-
export interface ZodNever extends _ZodType<core.$ZodNeverInternals> {}
|
|
1076
|
-
export const ZodNever: core.$constructor<ZodNever> = /*@__PURE__*/ core.$constructor("ZodNever", (inst, def) => {
|
|
1077
|
-
core.$ZodNever.init(inst, def);
|
|
1078
|
-
ZodType.init(inst, def);
|
|
1079
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.neverProcessor(inst, ctx, json, params);
|
|
1080
|
-
});
|
|
1081
|
-
|
|
1082
|
-
export function never(params?: string | core.$ZodNeverParams): ZodNever {
|
|
1083
|
-
return core._never(ZodNever, params);
|
|
1084
|
-
}
|
|
1085
|
-
|
|
1086
|
-
// ZodVoid
|
|
1087
|
-
export interface ZodVoid extends _ZodType<core.$ZodVoidInternals> {}
|
|
1088
|
-
export const ZodVoid: core.$constructor<ZodVoid> = /*@__PURE__*/ core.$constructor("ZodVoid", (inst, def) => {
|
|
1089
|
-
core.$ZodVoid.init(inst, def);
|
|
1090
|
-
ZodType.init(inst, def);
|
|
1091
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.voidProcessor(inst, ctx, json, params);
|
|
1092
|
-
});
|
|
1093
|
-
|
|
1094
|
-
function _void(params?: string | core.$ZodVoidParams): ZodVoid {
|
|
1095
|
-
return core._void(ZodVoid, params);
|
|
1096
|
-
}
|
|
1097
|
-
export { _void as void };
|
|
1098
|
-
|
|
1099
|
-
// ZodDate
|
|
1100
|
-
export interface _ZodDate<T extends core.$ZodDateInternals = core.$ZodDateInternals> extends _ZodType<T> {
|
|
1101
|
-
min(value: number | Date, params?: string | core.$ZodCheckGreaterThanParams): this;
|
|
1102
|
-
max(value: number | Date, params?: string | core.$ZodCheckLessThanParams): this;
|
|
1103
|
-
|
|
1104
|
-
/** @deprecated Not recommended. */
|
|
1105
|
-
minDate: Date | null;
|
|
1106
|
-
/** @deprecated Not recommended. */
|
|
1107
|
-
maxDate: Date | null;
|
|
1108
|
-
}
|
|
1109
|
-
|
|
1110
|
-
export interface ZodDate extends _ZodDate<core.$ZodDateInternals<Date>> {}
|
|
1111
|
-
export const ZodDate: core.$constructor<ZodDate> = /*@__PURE__*/ core.$constructor("ZodDate", (inst, def) => {
|
|
1112
|
-
core.$ZodDate.init(inst, def);
|
|
1113
|
-
ZodType.init(inst, def);
|
|
1114
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.dateProcessor(inst, ctx, json, params);
|
|
1115
|
-
|
|
1116
|
-
inst.min = (value, params) => inst.check(checks.gte(value, params));
|
|
1117
|
-
inst.max = (value, params) => inst.check(checks.lte(value, params));
|
|
1118
|
-
|
|
1119
|
-
const c = inst._zod.bag;
|
|
1120
|
-
inst.minDate = c.minimum ? new Date(c.minimum) : null;
|
|
1121
|
-
inst.maxDate = c.maximum ? new Date(c.maximum) : null;
|
|
1122
|
-
});
|
|
1123
|
-
|
|
1124
|
-
export function date(params?: string | core.$ZodDateParams): ZodDate {
|
|
1125
|
-
return core._date(ZodDate, params);
|
|
1126
|
-
}
|
|
1127
|
-
|
|
1128
|
-
// ZodArray
|
|
1129
|
-
export interface ZodArray<T extends core.SomeType = core.$ZodType>
|
|
1130
|
-
extends _ZodType<core.$ZodArrayInternals<T>>,
|
|
1131
|
-
core.$ZodArray<T> {
|
|
1132
|
-
element: T;
|
|
1133
|
-
min(minLength: number, params?: string | core.$ZodCheckMinLengthParams): this;
|
|
1134
|
-
nonempty(params?: string | core.$ZodCheckMinLengthParams): this;
|
|
1135
|
-
max(maxLength: number, params?: string | core.$ZodCheckMaxLengthParams): this;
|
|
1136
|
-
length(len: number, params?: string | core.$ZodCheckLengthEqualsParams): this;
|
|
1137
|
-
|
|
1138
|
-
unwrap(): T;
|
|
1139
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
1140
|
-
}
|
|
1141
|
-
export const ZodArray: core.$constructor<ZodArray> = /*@__PURE__*/ core.$constructor("ZodArray", (inst, def) => {
|
|
1142
|
-
core.$ZodArray.init(inst, def);
|
|
1143
|
-
ZodType.init(inst, def);
|
|
1144
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.arrayProcessor(inst, ctx, json, params);
|
|
1145
|
-
|
|
1146
|
-
inst.element = def.element as any;
|
|
1147
|
-
inst.min = (minLength, params) => inst.check(checks.minLength(minLength, params));
|
|
1148
|
-
inst.nonempty = (params) => inst.check(checks.minLength(1, params));
|
|
1149
|
-
inst.max = (maxLength, params) => inst.check(checks.maxLength(maxLength, params));
|
|
1150
|
-
inst.length = (len, params) => inst.check(checks.length(len, params));
|
|
1151
|
-
|
|
1152
|
-
inst.unwrap = () => inst.element;
|
|
1153
|
-
});
|
|
1154
|
-
|
|
1155
|
-
export function array<T extends core.SomeType>(element: T, params?: string | core.$ZodArrayParams): ZodArray<T> {
|
|
1156
|
-
return core._array(ZodArray, element as any, params) as any;
|
|
1157
|
-
}
|
|
1158
|
-
|
|
1159
|
-
// .keyof
|
|
1160
|
-
export function keyof<T extends ZodObject>(schema: T): ZodEnum<util.KeysEnum<T["_zod"]["output"]>> {
|
|
1161
|
-
const shape = schema._zod.def.shape;
|
|
1162
|
-
return _enum(Object.keys(shape)) as any;
|
|
1163
|
-
}
|
|
1164
|
-
|
|
1165
|
-
// ZodObject
|
|
1166
|
-
|
|
1167
|
-
export type SafeExtendShape<Base extends core.$ZodShape, Ext extends core.$ZodLooseShape> = {
|
|
1168
|
-
[K in keyof Ext]: K extends keyof Base
|
|
1169
|
-
? core.output<Ext[K]> extends core.output<Base[K]>
|
|
1170
|
-
? core.input<Ext[K]> extends core.input<Base[K]>
|
|
1171
|
-
? Ext[K]
|
|
1172
|
-
: never
|
|
1173
|
-
: never
|
|
1174
|
-
: Ext[K];
|
|
1175
|
-
};
|
|
1176
|
-
|
|
1177
|
-
export interface ZodObject<
|
|
1178
|
-
/** @ts-ignore Cast variance */
|
|
1179
|
-
out Shape extends core.$ZodShape = core.$ZodLooseShape,
|
|
1180
|
-
out Config extends core.$ZodObjectConfig = core.$strip,
|
|
1181
|
-
> extends _ZodType<core.$ZodObjectInternals<Shape, Config>>,
|
|
1182
|
-
core.$ZodObject<Shape, Config> {
|
|
1183
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
1184
|
-
shape: Shape;
|
|
1185
|
-
|
|
1186
|
-
keyof(): ZodEnum<util.ToEnum<keyof Shape & string>>;
|
|
1187
|
-
/** Define a schema to validate all unrecognized keys. This overrides the existing strict/loose behavior. */
|
|
1188
|
-
catchall<T extends core.SomeType>(schema: T): ZodObject<Shape, core.$catchall<T>>;
|
|
1189
|
-
|
|
1190
|
-
/** @deprecated Use `z.looseObject()` or `.loose()` instead. */
|
|
1191
|
-
passthrough(): ZodObject<Shape, core.$loose>;
|
|
1192
|
-
/** Consider `z.looseObject(A.shape)` instead */
|
|
1193
|
-
loose(): ZodObject<Shape, core.$loose>;
|
|
1194
|
-
|
|
1195
|
-
/** Consider `z.strictObject(A.shape)` instead */
|
|
1196
|
-
strict(): ZodObject<Shape, core.$strict>;
|
|
1197
|
-
|
|
1198
|
-
/** This is the default behavior. This method call is likely unnecessary. */
|
|
1199
|
-
strip(): ZodObject<Shape, core.$strip>;
|
|
1200
|
-
|
|
1201
|
-
extend<U extends core.$ZodLooseShape>(shape: U): ZodObject<util.Extend<Shape, U>, Config>;
|
|
1202
|
-
|
|
1203
|
-
safeExtend<U extends core.$ZodLooseShape>(
|
|
1204
|
-
shape: SafeExtendShape<Shape, U> & Partial<Record<keyof Shape, core.SomeType>>
|
|
1205
|
-
): ZodObject<util.Extend<Shape, U>, Config>;
|
|
1206
|
-
|
|
1207
|
-
/**
|
|
1208
|
-
* @deprecated Use [`A.extend(B.shape)`](https://zod.dev/api?id=extend) instead.
|
|
1209
|
-
*/
|
|
1210
|
-
merge<U extends ZodObject>(other: U): ZodObject<util.Extend<Shape, U["shape"]>, U["_zod"]["config"]>;
|
|
1211
|
-
|
|
1212
|
-
pick<M extends util.Mask<keyof Shape>>(
|
|
1213
|
-
mask: M & Record<Exclude<keyof M, keyof Shape>, never>
|
|
1214
|
-
): ZodObject<util.Flatten<Pick<Shape, Extract<keyof Shape, keyof M>>>, Config>;
|
|
1215
|
-
|
|
1216
|
-
omit<M extends util.Mask<keyof Shape>>(
|
|
1217
|
-
mask: M & Record<Exclude<keyof M, keyof Shape>, never>
|
|
1218
|
-
): ZodObject<util.Flatten<Omit<Shape, Extract<keyof Shape, keyof M>>>, Config>;
|
|
1219
|
-
|
|
1220
|
-
partial(): ZodObject<
|
|
1221
|
-
{
|
|
1222
|
-
[k in keyof Shape]: ZodOptional<Shape[k]>;
|
|
1223
|
-
},
|
|
1224
|
-
Config
|
|
1225
|
-
>;
|
|
1226
|
-
partial<M extends util.Mask<keyof Shape>>(
|
|
1227
|
-
mask: M & Record<Exclude<keyof M, keyof Shape>, never>
|
|
1228
|
-
): ZodObject<
|
|
1229
|
-
{
|
|
1230
|
-
[k in keyof Shape]: k extends keyof M
|
|
1231
|
-
? // Shape[k] extends OptionalInSchema
|
|
1232
|
-
// ? Shape[k]
|
|
1233
|
-
// :
|
|
1234
|
-
ZodOptional<Shape[k]>
|
|
1235
|
-
: Shape[k];
|
|
1236
|
-
},
|
|
1237
|
-
Config
|
|
1238
|
-
>;
|
|
1239
|
-
|
|
1240
|
-
// required
|
|
1241
|
-
required(): ZodObject<
|
|
1242
|
-
{
|
|
1243
|
-
[k in keyof Shape]: ZodNonOptional<Shape[k]>;
|
|
1244
|
-
},
|
|
1245
|
-
Config
|
|
1246
|
-
>;
|
|
1247
|
-
required<M extends util.Mask<keyof Shape>>(
|
|
1248
|
-
mask: M & Record<Exclude<keyof M, keyof Shape>, never>
|
|
1249
|
-
): ZodObject<
|
|
1250
|
-
{
|
|
1251
|
-
[k in keyof Shape]: k extends keyof M ? ZodNonOptional<Shape[k]> : Shape[k];
|
|
1252
|
-
},
|
|
1253
|
-
Config
|
|
1254
|
-
>;
|
|
1255
|
-
}
|
|
1256
|
-
|
|
1257
|
-
export const ZodObject: core.$constructor<ZodObject> = /*@__PURE__*/ core.$constructor("ZodObject", (inst, def) => {
|
|
1258
|
-
core.$ZodObjectJIT.init(inst, def);
|
|
1259
|
-
ZodType.init(inst, def);
|
|
1260
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.objectProcessor(inst, ctx, json, params);
|
|
1261
|
-
|
|
1262
|
-
util.defineLazy(inst, "shape", () => {
|
|
1263
|
-
return def.shape;
|
|
1264
|
-
});
|
|
1265
|
-
|
|
1266
|
-
inst.keyof = () => _enum(Object.keys(inst._zod.def.shape)) as any;
|
|
1267
|
-
inst.catchall = (catchall) => inst.clone({ ...inst._zod.def, catchall: catchall as any as core.$ZodType }) as any;
|
|
1268
|
-
inst.passthrough = () => inst.clone({ ...inst._zod.def, catchall: unknown() });
|
|
1269
|
-
inst.loose = () => inst.clone({ ...inst._zod.def, catchall: unknown() });
|
|
1270
|
-
inst.strict = () => inst.clone({ ...inst._zod.def, catchall: never() });
|
|
1271
|
-
inst.strip = () => inst.clone({ ...inst._zod.def, catchall: undefined });
|
|
1272
|
-
|
|
1273
|
-
inst.extend = (incoming: any) => {
|
|
1274
|
-
return util.extend(inst, incoming);
|
|
1275
|
-
};
|
|
1276
|
-
inst.safeExtend = (incoming: any) => {
|
|
1277
|
-
return util.safeExtend(inst, incoming);
|
|
1278
|
-
};
|
|
1279
|
-
inst.merge = (other) => util.merge(inst, other);
|
|
1280
|
-
inst.pick = (mask) => util.pick(inst, mask);
|
|
1281
|
-
inst.omit = (mask) => util.omit(inst, mask);
|
|
1282
|
-
inst.partial = (...args: any[]) => util.partial(ZodOptional, inst, args[0] as object);
|
|
1283
|
-
inst.required = (...args: any[]) => util.required(ZodNonOptional, inst, args[0] as object);
|
|
1284
|
-
});
|
|
1285
|
-
|
|
1286
|
-
export function object<T extends core.$ZodLooseShape = Partial<Record<never, core.SomeType>>>(
|
|
1287
|
-
shape?: T,
|
|
1288
|
-
params?: string | core.$ZodObjectParams
|
|
1289
|
-
): ZodObject<util.Writeable<T>, core.$strip> {
|
|
1290
|
-
const def: core.$ZodObjectDef = {
|
|
1291
|
-
type: "object",
|
|
1292
|
-
shape: shape ?? {},
|
|
1293
|
-
...util.normalizeParams(params),
|
|
1294
|
-
};
|
|
1295
|
-
return new ZodObject(def) as any;
|
|
1296
|
-
}
|
|
1297
|
-
|
|
1298
|
-
// strictObject
|
|
1299
|
-
|
|
1300
|
-
export function strictObject<T extends core.$ZodLooseShape>(
|
|
1301
|
-
shape: T,
|
|
1302
|
-
params?: string | core.$ZodObjectParams
|
|
1303
|
-
): ZodObject<T, core.$strict> {
|
|
1304
|
-
return new ZodObject({
|
|
1305
|
-
type: "object",
|
|
1306
|
-
shape,
|
|
1307
|
-
catchall: never(),
|
|
1308
|
-
...util.normalizeParams(params),
|
|
1309
|
-
}) as any;
|
|
1310
|
-
}
|
|
1311
|
-
|
|
1312
|
-
// looseObject
|
|
1313
|
-
|
|
1314
|
-
export function looseObject<T extends core.$ZodLooseShape>(
|
|
1315
|
-
shape: T,
|
|
1316
|
-
params?: string | core.$ZodObjectParams
|
|
1317
|
-
): ZodObject<T, core.$loose> {
|
|
1318
|
-
return new ZodObject({
|
|
1319
|
-
type: "object",
|
|
1320
|
-
shape,
|
|
1321
|
-
catchall: unknown(),
|
|
1322
|
-
...util.normalizeParams(params),
|
|
1323
|
-
}) as any;
|
|
1324
|
-
}
|
|
1325
|
-
|
|
1326
|
-
// ZodUnion
|
|
1327
|
-
export interface ZodUnion<T extends readonly core.SomeType[] = readonly core.$ZodType[]>
|
|
1328
|
-
extends _ZodType<core.$ZodUnionInternals<T>>,
|
|
1329
|
-
core.$ZodUnion<T> {
|
|
1330
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
1331
|
-
options: T;
|
|
1332
|
-
}
|
|
1333
|
-
export const ZodUnion: core.$constructor<ZodUnion> = /*@__PURE__*/ core.$constructor("ZodUnion", (inst, def) => {
|
|
1334
|
-
core.$ZodUnion.init(inst, def);
|
|
1335
|
-
ZodType.init(inst, def);
|
|
1336
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.unionProcessor(inst, ctx, json, params);
|
|
1337
|
-
inst.options = def.options;
|
|
1338
|
-
});
|
|
1339
|
-
|
|
1340
|
-
export function union<const T extends readonly core.SomeType[]>(
|
|
1341
|
-
options: T,
|
|
1342
|
-
params?: string | core.$ZodUnionParams
|
|
1343
|
-
): ZodUnion<T> {
|
|
1344
|
-
return new ZodUnion({
|
|
1345
|
-
type: "union",
|
|
1346
|
-
options: options as any as core.$ZodType[],
|
|
1347
|
-
...util.normalizeParams(params),
|
|
1348
|
-
}) as any;
|
|
1349
|
-
}
|
|
1350
|
-
|
|
1351
|
-
// ZodXor
|
|
1352
|
-
export interface ZodXor<T extends readonly core.SomeType[] = readonly core.$ZodType[]>
|
|
1353
|
-
extends _ZodType<core.$ZodXorInternals<T>>,
|
|
1354
|
-
core.$ZodXor<T> {
|
|
1355
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
1356
|
-
options: T;
|
|
1357
|
-
}
|
|
1358
|
-
export const ZodXor: core.$constructor<ZodXor> = /*@__PURE__*/ core.$constructor("ZodXor", (inst, def) => {
|
|
1359
|
-
ZodUnion.init(inst, def);
|
|
1360
|
-
core.$ZodXor.init(inst, def);
|
|
1361
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.unionProcessor(inst, ctx, json, params);
|
|
1362
|
-
inst.options = def.options;
|
|
1363
|
-
});
|
|
1364
|
-
|
|
1365
|
-
/** Creates an exclusive union (XOR) where exactly one option must match.
|
|
1366
|
-
* Unlike regular unions that succeed when any option matches, xor fails if
|
|
1367
|
-
* zero or more than one option matches the input. */
|
|
1368
|
-
export function xor<const T extends readonly core.SomeType[]>(
|
|
1369
|
-
options: T,
|
|
1370
|
-
params?: string | core.$ZodXorParams
|
|
1371
|
-
): ZodXor<T> {
|
|
1372
|
-
return new ZodXor({
|
|
1373
|
-
type: "union",
|
|
1374
|
-
options: options as any as core.$ZodType[],
|
|
1375
|
-
inclusive: false,
|
|
1376
|
-
...util.normalizeParams(params),
|
|
1377
|
-
}) as any;
|
|
1378
|
-
}
|
|
1379
|
-
|
|
1380
|
-
// ZodDiscriminatedUnion
|
|
1381
|
-
export interface ZodDiscriminatedUnion<
|
|
1382
|
-
Options extends readonly core.SomeType[] = readonly core.$ZodType[],
|
|
1383
|
-
Disc extends string = string,
|
|
1384
|
-
> extends ZodUnion<Options>,
|
|
1385
|
-
core.$ZodDiscriminatedUnion<Options, Disc> {
|
|
1386
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
1387
|
-
_zod: core.$ZodDiscriminatedUnionInternals<Options, Disc>;
|
|
1388
|
-
def: core.$ZodDiscriminatedUnionDef<Options, Disc>;
|
|
1389
|
-
}
|
|
1390
|
-
export const ZodDiscriminatedUnion: core.$constructor<ZodDiscriminatedUnion> = /*@__PURE__*/ core.$constructor(
|
|
1391
|
-
"ZodDiscriminatedUnion",
|
|
1392
|
-
(inst, def) => {
|
|
1393
|
-
ZodUnion.init(inst, def);
|
|
1394
|
-
core.$ZodDiscriminatedUnion.init(inst, def);
|
|
1395
|
-
}
|
|
1396
|
-
);
|
|
1397
|
-
|
|
1398
|
-
export function discriminatedUnion<
|
|
1399
|
-
Types extends readonly [core.$ZodTypeDiscriminable, ...core.$ZodTypeDiscriminable[]],
|
|
1400
|
-
Disc extends string,
|
|
1401
|
-
>(
|
|
1402
|
-
discriminator: Disc,
|
|
1403
|
-
options: Types,
|
|
1404
|
-
params?: string | core.$ZodDiscriminatedUnionParams
|
|
1405
|
-
): ZodDiscriminatedUnion<Types, Disc> {
|
|
1406
|
-
// const [options, params] = args;
|
|
1407
|
-
return new ZodDiscriminatedUnion({
|
|
1408
|
-
type: "union",
|
|
1409
|
-
options,
|
|
1410
|
-
discriminator,
|
|
1411
|
-
...util.normalizeParams(params),
|
|
1412
|
-
}) as any;
|
|
1413
|
-
}
|
|
1414
|
-
|
|
1415
|
-
// ZodIntersection
|
|
1416
|
-
export interface ZodIntersection<A extends core.SomeType = core.$ZodType, B extends core.SomeType = core.$ZodType>
|
|
1417
|
-
extends _ZodType<core.$ZodIntersectionInternals<A, B>>,
|
|
1418
|
-
core.$ZodIntersection<A, B> {
|
|
1419
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
1420
|
-
}
|
|
1421
|
-
export const ZodIntersection: core.$constructor<ZodIntersection> = /*@__PURE__*/ core.$constructor(
|
|
1422
|
-
"ZodIntersection",
|
|
1423
|
-
(inst, def) => {
|
|
1424
|
-
core.$ZodIntersection.init(inst, def);
|
|
1425
|
-
ZodType.init(inst, def);
|
|
1426
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.intersectionProcessor(inst, ctx, json, params);
|
|
1427
|
-
}
|
|
1428
|
-
);
|
|
1429
|
-
|
|
1430
|
-
export function intersection<T extends core.SomeType, U extends core.SomeType>(
|
|
1431
|
-
left: T,
|
|
1432
|
-
right: U
|
|
1433
|
-
): ZodIntersection<T, U> {
|
|
1434
|
-
return new ZodIntersection({
|
|
1435
|
-
type: "intersection",
|
|
1436
|
-
left: left as any as core.$ZodType,
|
|
1437
|
-
right: right as any as core.$ZodType,
|
|
1438
|
-
}) as any;
|
|
1439
|
-
}
|
|
1440
|
-
|
|
1441
|
-
// ZodTuple
|
|
1442
|
-
export interface ZodTuple<
|
|
1443
|
-
T extends util.TupleItems = readonly core.$ZodType[],
|
|
1444
|
-
Rest extends core.SomeType | null = core.$ZodType | null,
|
|
1445
|
-
> extends _ZodType<core.$ZodTupleInternals<T, Rest>>,
|
|
1446
|
-
core.$ZodTuple<T, Rest> {
|
|
1447
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
1448
|
-
rest<Rest extends core.SomeType = core.$ZodType>(rest: Rest): ZodTuple<T, Rest>;
|
|
1449
|
-
}
|
|
1450
|
-
export const ZodTuple: core.$constructor<ZodTuple> = /*@__PURE__*/ core.$constructor("ZodTuple", (inst, def) => {
|
|
1451
|
-
core.$ZodTuple.init(inst, def);
|
|
1452
|
-
ZodType.init(inst, def);
|
|
1453
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.tupleProcessor(inst, ctx, json, params);
|
|
1454
|
-
inst.rest = (rest) =>
|
|
1455
|
-
inst.clone({
|
|
1456
|
-
...inst._zod.def,
|
|
1457
|
-
rest: rest as any as core.$ZodType,
|
|
1458
|
-
}) as any;
|
|
1459
|
-
});
|
|
1460
|
-
|
|
1461
|
-
export function tuple<T extends readonly [core.SomeType, ...core.SomeType[]]>(
|
|
1462
|
-
items: T,
|
|
1463
|
-
params?: string | core.$ZodTupleParams
|
|
1464
|
-
): ZodTuple<T, null>;
|
|
1465
|
-
export function tuple<T extends readonly [core.SomeType, ...core.SomeType[]], Rest extends core.SomeType>(
|
|
1466
|
-
items: T,
|
|
1467
|
-
rest: Rest,
|
|
1468
|
-
params?: string | core.$ZodTupleParams
|
|
1469
|
-
): ZodTuple<T, Rest>;
|
|
1470
|
-
export function tuple(items: [], params?: string | core.$ZodTupleParams): ZodTuple<[], null>;
|
|
1471
|
-
export function tuple(
|
|
1472
|
-
items: core.SomeType[],
|
|
1473
|
-
_paramsOrRest?: string | core.$ZodTupleParams | core.SomeType,
|
|
1474
|
-
_params?: string | core.$ZodTupleParams
|
|
1475
|
-
) {
|
|
1476
|
-
const hasRest = _paramsOrRest instanceof core.$ZodType;
|
|
1477
|
-
const params = hasRest ? _params : _paramsOrRest;
|
|
1478
|
-
const rest = hasRest ? _paramsOrRest : null;
|
|
1479
|
-
return new ZodTuple({
|
|
1480
|
-
type: "tuple",
|
|
1481
|
-
items: items as any as core.$ZodType[],
|
|
1482
|
-
rest,
|
|
1483
|
-
...util.normalizeParams(params),
|
|
1484
|
-
});
|
|
1485
|
-
}
|
|
1486
|
-
|
|
1487
|
-
// ZodRecord
|
|
1488
|
-
export interface ZodRecord<
|
|
1489
|
-
Key extends core.$ZodRecordKey = core.$ZodRecordKey,
|
|
1490
|
-
Value extends core.SomeType = core.$ZodType,
|
|
1491
|
-
> extends _ZodType<core.$ZodRecordInternals<Key, Value>>,
|
|
1492
|
-
core.$ZodRecord<Key, Value> {
|
|
1493
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
1494
|
-
keyType: Key;
|
|
1495
|
-
valueType: Value;
|
|
1496
|
-
}
|
|
1497
|
-
export const ZodRecord: core.$constructor<ZodRecord> = /*@__PURE__*/ core.$constructor("ZodRecord", (inst, def) => {
|
|
1498
|
-
core.$ZodRecord.init(inst, def);
|
|
1499
|
-
ZodType.init(inst, def);
|
|
1500
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.recordProcessor(inst, ctx, json, params);
|
|
1501
|
-
|
|
1502
|
-
inst.keyType = def.keyType;
|
|
1503
|
-
inst.valueType = def.valueType;
|
|
1504
|
-
});
|
|
1505
|
-
|
|
1506
|
-
export function record<Key extends core.$ZodRecordKey, Value extends core.SomeType>(
|
|
1507
|
-
keyType: Key,
|
|
1508
|
-
valueType: Value,
|
|
1509
|
-
params?: string | core.$ZodRecordParams
|
|
1510
|
-
): ZodRecord<Key, Value> {
|
|
1511
|
-
return new ZodRecord({
|
|
1512
|
-
type: "record",
|
|
1513
|
-
keyType,
|
|
1514
|
-
valueType: valueType as any as core.$ZodType,
|
|
1515
|
-
...util.normalizeParams(params),
|
|
1516
|
-
}) as any;
|
|
1517
|
-
}
|
|
1518
|
-
// type alksjf = core.output<core.$ZodRecordKey>;
|
|
1519
|
-
export function partialRecord<Key extends core.$ZodRecordKey, Value extends core.SomeType>(
|
|
1520
|
-
keyType: Key,
|
|
1521
|
-
valueType: Value,
|
|
1522
|
-
params?: string | core.$ZodRecordParams
|
|
1523
|
-
): ZodRecord<Key & core.$partial, Value> {
|
|
1524
|
-
const k = core.clone(keyType);
|
|
1525
|
-
k._zod.values = undefined;
|
|
1526
|
-
return new ZodRecord({
|
|
1527
|
-
type: "record",
|
|
1528
|
-
keyType: k,
|
|
1529
|
-
valueType: valueType as any,
|
|
1530
|
-
...util.normalizeParams(params),
|
|
1531
|
-
}) as any;
|
|
1532
|
-
}
|
|
1533
|
-
|
|
1534
|
-
export function looseRecord<Key extends core.$ZodRecordKey, Value extends core.SomeType>(
|
|
1535
|
-
keyType: Key,
|
|
1536
|
-
valueType: Value,
|
|
1537
|
-
params?: string | core.$ZodRecordParams
|
|
1538
|
-
): ZodRecord<Key, Value> {
|
|
1539
|
-
return new ZodRecord({
|
|
1540
|
-
type: "record",
|
|
1541
|
-
keyType,
|
|
1542
|
-
valueType: valueType as any as core.$ZodType,
|
|
1543
|
-
mode: "loose",
|
|
1544
|
-
...util.normalizeParams(params),
|
|
1545
|
-
}) as any;
|
|
1546
|
-
}
|
|
1547
|
-
|
|
1548
|
-
// ZodMap
|
|
1549
|
-
export interface ZodMap<Key extends core.SomeType = core.$ZodType, Value extends core.SomeType = core.$ZodType>
|
|
1550
|
-
extends _ZodType<core.$ZodMapInternals<Key, Value>>,
|
|
1551
|
-
core.$ZodMap<Key, Value> {
|
|
1552
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
1553
|
-
keyType: Key;
|
|
1554
|
-
valueType: Value;
|
|
1555
|
-
min(minSize: number, params?: string | core.$ZodCheckMinSizeParams): this;
|
|
1556
|
-
nonempty(params?: string | core.$ZodCheckMinSizeParams): this;
|
|
1557
|
-
max(maxSize: number, params?: string | core.$ZodCheckMaxSizeParams): this;
|
|
1558
|
-
size(size: number, params?: string | core.$ZodCheckSizeEqualsParams): this;
|
|
1559
|
-
}
|
|
1560
|
-
export const ZodMap: core.$constructor<ZodMap> = /*@__PURE__*/ core.$constructor("ZodMap", (inst, def) => {
|
|
1561
|
-
core.$ZodMap.init(inst, def);
|
|
1562
|
-
ZodType.init(inst, def);
|
|
1563
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.mapProcessor(inst, ctx, json, params);
|
|
1564
|
-
inst.keyType = def.keyType;
|
|
1565
|
-
inst.valueType = def.valueType;
|
|
1566
|
-
inst.min = (...args) => inst.check(core._minSize(...args));
|
|
1567
|
-
inst.nonempty = (params) => inst.check(core._minSize(1, params));
|
|
1568
|
-
inst.max = (...args) => inst.check(core._maxSize(...args));
|
|
1569
|
-
inst.size = (...args) => inst.check(core._size(...args));
|
|
1570
|
-
});
|
|
1571
|
-
|
|
1572
|
-
export function map<Key extends core.SomeType, Value extends core.SomeType>(
|
|
1573
|
-
keyType: Key,
|
|
1574
|
-
valueType: Value,
|
|
1575
|
-
params?: string | core.$ZodMapParams
|
|
1576
|
-
): ZodMap<Key, Value> {
|
|
1577
|
-
return new ZodMap({
|
|
1578
|
-
type: "map",
|
|
1579
|
-
keyType: keyType as any as core.$ZodType,
|
|
1580
|
-
valueType: valueType as any as core.$ZodType,
|
|
1581
|
-
...util.normalizeParams(params),
|
|
1582
|
-
}) as any;
|
|
1583
|
-
}
|
|
1584
|
-
|
|
1585
|
-
// ZodSet
|
|
1586
|
-
export interface ZodSet<T extends core.SomeType = core.$ZodType>
|
|
1587
|
-
extends _ZodType<core.$ZodSetInternals<T>>,
|
|
1588
|
-
core.$ZodSet<T> {
|
|
1589
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
1590
|
-
min(minSize: number, params?: string | core.$ZodCheckMinSizeParams): this;
|
|
1591
|
-
nonempty(params?: string | core.$ZodCheckMinSizeParams): this;
|
|
1592
|
-
max(maxSize: number, params?: string | core.$ZodCheckMaxSizeParams): this;
|
|
1593
|
-
size(size: number, params?: string | core.$ZodCheckSizeEqualsParams): this;
|
|
1594
|
-
}
|
|
1595
|
-
export const ZodSet: core.$constructor<ZodSet> = /*@__PURE__*/ core.$constructor("ZodSet", (inst, def) => {
|
|
1596
|
-
core.$ZodSet.init(inst, def);
|
|
1597
|
-
ZodType.init(inst, def);
|
|
1598
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.setProcessor(inst, ctx, json, params);
|
|
1599
|
-
|
|
1600
|
-
inst.min = (...args) => inst.check(core._minSize(...args));
|
|
1601
|
-
inst.nonempty = (params) => inst.check(core._minSize(1, params));
|
|
1602
|
-
inst.max = (...args) => inst.check(core._maxSize(...args));
|
|
1603
|
-
inst.size = (...args) => inst.check(core._size(...args));
|
|
1604
|
-
});
|
|
1605
|
-
|
|
1606
|
-
export function set<Value extends core.SomeType>(
|
|
1607
|
-
valueType: Value,
|
|
1608
|
-
params?: string | core.$ZodSetParams
|
|
1609
|
-
): ZodSet<Value> {
|
|
1610
|
-
return new ZodSet({
|
|
1611
|
-
type: "set",
|
|
1612
|
-
valueType: valueType as any as core.$ZodType,
|
|
1613
|
-
...util.normalizeParams(params),
|
|
1614
|
-
}) as any;
|
|
1615
|
-
}
|
|
1616
|
-
|
|
1617
|
-
// ZodEnum
|
|
1618
|
-
export interface ZodEnum<
|
|
1619
|
-
/** @ts-ignore Cast variance */
|
|
1620
|
-
out T extends util.EnumLike = util.EnumLike,
|
|
1621
|
-
> extends _ZodType<core.$ZodEnumInternals<T>>,
|
|
1622
|
-
core.$ZodEnum<T> {
|
|
1623
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
1624
|
-
enum: T;
|
|
1625
|
-
options: Array<T[keyof T]>;
|
|
1626
|
-
|
|
1627
|
-
extract<const U extends readonly (keyof T)[]>(
|
|
1628
|
-
values: U,
|
|
1629
|
-
params?: string | core.$ZodEnumParams
|
|
1630
|
-
): ZodEnum<util.Flatten<Pick<T, U[number]>>>;
|
|
1631
|
-
exclude<const U extends readonly (keyof T)[]>(
|
|
1632
|
-
values: U,
|
|
1633
|
-
params?: string | core.$ZodEnumParams
|
|
1634
|
-
): ZodEnum<util.Flatten<Omit<T, U[number]>>>;
|
|
1635
|
-
}
|
|
1636
|
-
export const ZodEnum: core.$constructor<ZodEnum> = /*@__PURE__*/ core.$constructor("ZodEnum", (inst, def) => {
|
|
1637
|
-
core.$ZodEnum.init(inst, def);
|
|
1638
|
-
ZodType.init(inst, def);
|
|
1639
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.enumProcessor(inst, ctx, json, params);
|
|
1640
|
-
|
|
1641
|
-
inst.enum = def.entries;
|
|
1642
|
-
inst.options = Object.values(def.entries);
|
|
1643
|
-
|
|
1644
|
-
const keys = new Set(Object.keys(def.entries));
|
|
1645
|
-
|
|
1646
|
-
inst.extract = (values, params) => {
|
|
1647
|
-
const newEntries: Record<string, any> = {};
|
|
1648
|
-
for (const value of values) {
|
|
1649
|
-
if (keys.has(value)) {
|
|
1650
|
-
newEntries[value] = def.entries[value];
|
|
1651
|
-
} else throw new Error(`Key ${value} not found in enum`);
|
|
1652
|
-
}
|
|
1653
|
-
return new ZodEnum({
|
|
1654
|
-
...def,
|
|
1655
|
-
checks: [],
|
|
1656
|
-
...util.normalizeParams(params),
|
|
1657
|
-
entries: newEntries,
|
|
1658
|
-
}) as any;
|
|
1659
|
-
};
|
|
1660
|
-
|
|
1661
|
-
inst.exclude = (values, params) => {
|
|
1662
|
-
const newEntries: Record<string, any> = { ...def.entries };
|
|
1663
|
-
for (const value of values) {
|
|
1664
|
-
if (keys.has(value)) {
|
|
1665
|
-
delete newEntries[value];
|
|
1666
|
-
} else throw new Error(`Key ${value} not found in enum`);
|
|
1667
|
-
}
|
|
1668
|
-
return new ZodEnum({
|
|
1669
|
-
...def,
|
|
1670
|
-
checks: [],
|
|
1671
|
-
...util.normalizeParams(params),
|
|
1672
|
-
entries: newEntries,
|
|
1673
|
-
}) as any;
|
|
1674
|
-
};
|
|
1675
|
-
});
|
|
1676
|
-
|
|
1677
|
-
function _enum<const T extends readonly string[]>(
|
|
1678
|
-
values: T,
|
|
1679
|
-
params?: string | core.$ZodEnumParams
|
|
1680
|
-
): ZodEnum<util.ToEnum<T[number]>>;
|
|
1681
|
-
function _enum<const T extends util.EnumLike>(entries: T, params?: string | core.$ZodEnumParams): ZodEnum<T>;
|
|
1682
|
-
function _enum(values: any, params?: string | core.$ZodEnumParams) {
|
|
1683
|
-
const entries: any = Array.isArray(values) ? Object.fromEntries(values.map((v) => [v, v])) : values;
|
|
1684
|
-
|
|
1685
|
-
return new ZodEnum({
|
|
1686
|
-
type: "enum",
|
|
1687
|
-
entries,
|
|
1688
|
-
...util.normalizeParams(params),
|
|
1689
|
-
}) as any;
|
|
1690
|
-
}
|
|
1691
|
-
export { _enum as enum };
|
|
1692
|
-
|
|
1693
|
-
/** @deprecated This API has been merged into `z.enum()`. Use `z.enum()` instead.
|
|
1694
|
-
*
|
|
1695
|
-
* ```ts
|
|
1696
|
-
* enum Colors { red, green, blue }
|
|
1697
|
-
* z.enum(Colors);
|
|
1698
|
-
* ```
|
|
1699
|
-
*/
|
|
1700
|
-
export function nativeEnum<T extends util.EnumLike>(entries: T, params?: string | core.$ZodEnumParams): ZodEnum<T> {
|
|
1701
|
-
return new ZodEnum({
|
|
1702
|
-
type: "enum",
|
|
1703
|
-
entries,
|
|
1704
|
-
...util.normalizeParams(params),
|
|
1705
|
-
}) as any as ZodEnum<T>;
|
|
1706
|
-
}
|
|
1707
|
-
|
|
1708
|
-
// ZodLiteral
|
|
1709
|
-
export interface ZodLiteral<T extends util.Literal = util.Literal>
|
|
1710
|
-
extends _ZodType<core.$ZodLiteralInternals<T>>,
|
|
1711
|
-
core.$ZodLiteral<T> {
|
|
1712
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
1713
|
-
values: Set<T>;
|
|
1714
|
-
/** @legacy Use `.values` instead. Accessing this property will throw an error if the literal accepts multiple values. */
|
|
1715
|
-
value: T;
|
|
1716
|
-
}
|
|
1717
|
-
export const ZodLiteral: core.$constructor<ZodLiteral> = /*@__PURE__*/ core.$constructor("ZodLiteral", (inst, def) => {
|
|
1718
|
-
core.$ZodLiteral.init(inst, def);
|
|
1719
|
-
ZodType.init(inst, def);
|
|
1720
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.literalProcessor(inst, ctx, json, params);
|
|
1721
|
-
inst.values = new Set(def.values);
|
|
1722
|
-
Object.defineProperty(inst, "value", {
|
|
1723
|
-
get() {
|
|
1724
|
-
if (def.values.length > 1) {
|
|
1725
|
-
throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");
|
|
1726
|
-
}
|
|
1727
|
-
return def.values[0];
|
|
1728
|
-
},
|
|
1729
|
-
});
|
|
1730
|
-
});
|
|
1731
|
-
|
|
1732
|
-
export function literal<const T extends ReadonlyArray<util.Literal>>(
|
|
1733
|
-
value: T,
|
|
1734
|
-
params?: string | core.$ZodLiteralParams
|
|
1735
|
-
): ZodLiteral<T[number]>;
|
|
1736
|
-
export function literal<const T extends util.Literal>(
|
|
1737
|
-
value: T,
|
|
1738
|
-
params?: string | core.$ZodLiteralParams
|
|
1739
|
-
): ZodLiteral<T>;
|
|
1740
|
-
export function literal(value: any, params: any) {
|
|
1741
|
-
return new ZodLiteral({
|
|
1742
|
-
type: "literal",
|
|
1743
|
-
values: Array.isArray(value) ? value : [value],
|
|
1744
|
-
...util.normalizeParams(params),
|
|
1745
|
-
});
|
|
1746
|
-
}
|
|
1747
|
-
|
|
1748
|
-
// ZodFile
|
|
1749
|
-
export interface ZodFile extends _ZodType<core.$ZodFileInternals>, core.$ZodFile {
|
|
1750
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
1751
|
-
min(size: number, params?: string | core.$ZodCheckMinSizeParams): this;
|
|
1752
|
-
max(size: number, params?: string | core.$ZodCheckMaxSizeParams): this;
|
|
1753
|
-
mime(types: util.MimeTypes | Array<util.MimeTypes>, params?: string | core.$ZodCheckMimeTypeParams): this;
|
|
1754
|
-
}
|
|
1755
|
-
export const ZodFile: core.$constructor<ZodFile> = /*@__PURE__*/ core.$constructor("ZodFile", (inst, def) => {
|
|
1756
|
-
core.$ZodFile.init(inst, def);
|
|
1757
|
-
ZodType.init(inst, def);
|
|
1758
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.fileProcessor(inst, ctx, json, params);
|
|
1759
|
-
|
|
1760
|
-
inst.min = (size, params) => inst.check(core._minSize(size, params));
|
|
1761
|
-
inst.max = (size, params) => inst.check(core._maxSize(size, params));
|
|
1762
|
-
inst.mime = (types, params) => inst.check(core._mime(Array.isArray(types) ? types : [types], params));
|
|
1763
|
-
});
|
|
1764
|
-
|
|
1765
|
-
export function file(params?: string | core.$ZodFileParams): ZodFile {
|
|
1766
|
-
return core._file(ZodFile, params) as any;
|
|
1767
|
-
}
|
|
1768
|
-
|
|
1769
|
-
// ZodTransform
|
|
1770
|
-
export interface ZodTransform<O = unknown, I = unknown>
|
|
1771
|
-
extends _ZodType<core.$ZodTransformInternals<O, I>>,
|
|
1772
|
-
core.$ZodTransform<O, I> {
|
|
1773
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
1774
|
-
}
|
|
1775
|
-
export const ZodTransform: core.$constructor<ZodTransform> = /*@__PURE__*/ core.$constructor(
|
|
1776
|
-
"ZodTransform",
|
|
1777
|
-
(inst, def) => {
|
|
1778
|
-
core.$ZodTransform.init(inst, def);
|
|
1779
|
-
ZodType.init(inst, def);
|
|
1780
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.transformProcessor(inst, ctx, json, params);
|
|
1781
|
-
|
|
1782
|
-
inst._zod.parse = (payload, _ctx) => {
|
|
1783
|
-
if (_ctx.direction === "backward") {
|
|
1784
|
-
throw new core.$ZodEncodeError(inst.constructor.name);
|
|
1785
|
-
}
|
|
1786
|
-
|
|
1787
|
-
(payload as core.$RefinementCtx).addIssue = (issue) => {
|
|
1788
|
-
if (typeof issue === "string") {
|
|
1789
|
-
payload.issues.push(util.issue(issue, payload.value, def));
|
|
1790
|
-
} else {
|
|
1791
|
-
// for Zod 3 backwards compatibility
|
|
1792
|
-
const _issue = issue as any;
|
|
1793
|
-
|
|
1794
|
-
if (_issue.fatal) _issue.continue = false;
|
|
1795
|
-
_issue.code ??= "custom";
|
|
1796
|
-
_issue.input ??= payload.value;
|
|
1797
|
-
_issue.inst ??= inst;
|
|
1798
|
-
// _issue.continue ??= true;
|
|
1799
|
-
payload.issues.push(util.issue(_issue));
|
|
1800
|
-
}
|
|
1801
|
-
};
|
|
1802
|
-
|
|
1803
|
-
const output = def.transform(payload.value, payload);
|
|
1804
|
-
if (output instanceof Promise) {
|
|
1805
|
-
return output.then((output) => {
|
|
1806
|
-
payload.value = output;
|
|
1807
|
-
return payload;
|
|
1808
|
-
});
|
|
1809
|
-
}
|
|
1810
|
-
payload.value = output;
|
|
1811
|
-
return payload;
|
|
1812
|
-
};
|
|
1813
|
-
}
|
|
1814
|
-
);
|
|
1815
|
-
|
|
1816
|
-
export function transform<I = unknown, O = I>(
|
|
1817
|
-
fn: (input: I, ctx: core.ParsePayload) => O
|
|
1818
|
-
): ZodTransform<Awaited<O>, I> {
|
|
1819
|
-
return new ZodTransform({
|
|
1820
|
-
type: "transform",
|
|
1821
|
-
transform: fn as any,
|
|
1822
|
-
}) as any;
|
|
1823
|
-
}
|
|
1824
|
-
|
|
1825
|
-
// ZodOptional
|
|
1826
|
-
export interface ZodOptional<T extends core.SomeType = core.$ZodType>
|
|
1827
|
-
extends _ZodType<core.$ZodOptionalInternals<T>>,
|
|
1828
|
-
core.$ZodOptional<T> {
|
|
1829
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
1830
|
-
unwrap(): T;
|
|
1831
|
-
}
|
|
1832
|
-
export const ZodOptional: core.$constructor<ZodOptional> = /*@__PURE__*/ core.$constructor(
|
|
1833
|
-
"ZodOptional",
|
|
1834
|
-
(inst, def) => {
|
|
1835
|
-
core.$ZodOptional.init(inst, def);
|
|
1836
|
-
ZodType.init(inst, def);
|
|
1837
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.optionalProcessor(inst, ctx, json, params);
|
|
1838
|
-
|
|
1839
|
-
inst.unwrap = () => inst._zod.def.innerType;
|
|
1840
|
-
}
|
|
1841
|
-
);
|
|
1842
|
-
|
|
1843
|
-
export function optional<T extends core.SomeType>(innerType: T): ZodOptional<T> {
|
|
1844
|
-
return new ZodOptional({
|
|
1845
|
-
type: "optional",
|
|
1846
|
-
innerType: innerType as any as core.$ZodType,
|
|
1847
|
-
}) as any;
|
|
1848
|
-
}
|
|
1849
|
-
|
|
1850
|
-
// ZodExactOptional
|
|
1851
|
-
export interface ZodExactOptional<T extends core.SomeType = core.$ZodType>
|
|
1852
|
-
extends _ZodType<core.$ZodExactOptionalInternals<T>>,
|
|
1853
|
-
core.$ZodExactOptional<T> {
|
|
1854
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
1855
|
-
unwrap(): T;
|
|
1856
|
-
}
|
|
1857
|
-
export const ZodExactOptional: core.$constructor<ZodExactOptional> = /*@__PURE__*/ core.$constructor(
|
|
1858
|
-
"ZodExactOptional",
|
|
1859
|
-
(inst, def) => {
|
|
1860
|
-
core.$ZodExactOptional.init(inst, def);
|
|
1861
|
-
ZodType.init(inst, def);
|
|
1862
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.optionalProcessor(inst, ctx, json, params);
|
|
1863
|
-
|
|
1864
|
-
inst.unwrap = () => inst._zod.def.innerType;
|
|
1865
|
-
}
|
|
1866
|
-
);
|
|
1867
|
-
|
|
1868
|
-
export function exactOptional<T extends core.SomeType>(innerType: T): ZodExactOptional<T> {
|
|
1869
|
-
return new ZodExactOptional({
|
|
1870
|
-
type: "optional",
|
|
1871
|
-
innerType: innerType as any as core.$ZodType,
|
|
1872
|
-
}) as any;
|
|
1873
|
-
}
|
|
1874
|
-
|
|
1875
|
-
// ZodNullable
|
|
1876
|
-
export interface ZodNullable<T extends core.SomeType = core.$ZodType>
|
|
1877
|
-
extends _ZodType<core.$ZodNullableInternals<T>>,
|
|
1878
|
-
core.$ZodNullable<T> {
|
|
1879
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
1880
|
-
unwrap(): T;
|
|
1881
|
-
}
|
|
1882
|
-
export const ZodNullable: core.$constructor<ZodNullable> = /*@__PURE__*/ core.$constructor(
|
|
1883
|
-
"ZodNullable",
|
|
1884
|
-
(inst, def) => {
|
|
1885
|
-
core.$ZodNullable.init(inst, def);
|
|
1886
|
-
ZodType.init(inst, def);
|
|
1887
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.nullableProcessor(inst, ctx, json, params);
|
|
1888
|
-
|
|
1889
|
-
inst.unwrap = () => inst._zod.def.innerType;
|
|
1890
|
-
}
|
|
1891
|
-
);
|
|
1892
|
-
|
|
1893
|
-
export function nullable<T extends core.SomeType>(innerType: T): ZodNullable<T> {
|
|
1894
|
-
return new ZodNullable({
|
|
1895
|
-
type: "nullable",
|
|
1896
|
-
innerType: innerType as any as core.$ZodType,
|
|
1897
|
-
}) as any;
|
|
1898
|
-
}
|
|
1899
|
-
|
|
1900
|
-
// nullish
|
|
1901
|
-
export function nullish<T extends core.SomeType>(innerType: T): ZodOptional<ZodNullable<T>> {
|
|
1902
|
-
return optional(nullable(innerType));
|
|
1903
|
-
}
|
|
1904
|
-
|
|
1905
|
-
// ZodDefault
|
|
1906
|
-
export interface ZodDefault<T extends core.SomeType = core.$ZodType>
|
|
1907
|
-
extends _ZodType<core.$ZodDefaultInternals<T>>,
|
|
1908
|
-
core.$ZodDefault<T> {
|
|
1909
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
1910
|
-
unwrap(): T;
|
|
1911
|
-
/** @deprecated Use `.unwrap()` instead. */
|
|
1912
|
-
removeDefault(): T;
|
|
1913
|
-
}
|
|
1914
|
-
export const ZodDefault: core.$constructor<ZodDefault> = /*@__PURE__*/ core.$constructor("ZodDefault", (inst, def) => {
|
|
1915
|
-
core.$ZodDefault.init(inst, def);
|
|
1916
|
-
ZodType.init(inst, def);
|
|
1917
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.defaultProcessor(inst, ctx, json, params);
|
|
1918
|
-
|
|
1919
|
-
inst.unwrap = () => inst._zod.def.innerType;
|
|
1920
|
-
inst.removeDefault = inst.unwrap;
|
|
1921
|
-
});
|
|
1922
|
-
|
|
1923
|
-
export function _default<T extends core.SomeType>(
|
|
1924
|
-
innerType: T,
|
|
1925
|
-
defaultValue: util.NoUndefined<core.output<T>> | (() => util.NoUndefined<core.output<T>>)
|
|
1926
|
-
): ZodDefault<T> {
|
|
1927
|
-
return new ZodDefault({
|
|
1928
|
-
type: "default",
|
|
1929
|
-
innerType: innerType as any as core.$ZodType,
|
|
1930
|
-
get defaultValue() {
|
|
1931
|
-
return typeof defaultValue === "function" ? (defaultValue as Function)() : util.shallowClone(defaultValue);
|
|
1932
|
-
},
|
|
1933
|
-
}) as any;
|
|
1934
|
-
}
|
|
1935
|
-
|
|
1936
|
-
// ZodPrefault
|
|
1937
|
-
export interface ZodPrefault<T extends core.SomeType = core.$ZodType>
|
|
1938
|
-
extends _ZodType<core.$ZodPrefaultInternals<T>>,
|
|
1939
|
-
core.$ZodPrefault<T> {
|
|
1940
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
1941
|
-
unwrap(): T;
|
|
1942
|
-
}
|
|
1943
|
-
export const ZodPrefault: core.$constructor<ZodPrefault> = /*@__PURE__*/ core.$constructor(
|
|
1944
|
-
"ZodPrefault",
|
|
1945
|
-
(inst, def) => {
|
|
1946
|
-
core.$ZodPrefault.init(inst, def);
|
|
1947
|
-
ZodType.init(inst, def);
|
|
1948
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.prefaultProcessor(inst, ctx, json, params);
|
|
1949
|
-
inst.unwrap = () => inst._zod.def.innerType;
|
|
1950
|
-
}
|
|
1951
|
-
);
|
|
1952
|
-
|
|
1953
|
-
export function prefault<T extends core.SomeType>(
|
|
1954
|
-
innerType: T,
|
|
1955
|
-
defaultValue: core.input<T> | (() => core.input<T>)
|
|
1956
|
-
): ZodPrefault<T> {
|
|
1957
|
-
return new ZodPrefault({
|
|
1958
|
-
type: "prefault",
|
|
1959
|
-
innerType: innerType as any as core.$ZodType,
|
|
1960
|
-
get defaultValue() {
|
|
1961
|
-
return typeof defaultValue === "function" ? (defaultValue as Function)() : util.shallowClone(defaultValue);
|
|
1962
|
-
},
|
|
1963
|
-
}) as any;
|
|
1964
|
-
}
|
|
1965
|
-
|
|
1966
|
-
// ZodNonOptional
|
|
1967
|
-
export interface ZodNonOptional<T extends core.SomeType = core.$ZodType>
|
|
1968
|
-
extends _ZodType<core.$ZodNonOptionalInternals<T>>,
|
|
1969
|
-
core.$ZodNonOptional<T> {
|
|
1970
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
1971
|
-
unwrap(): T;
|
|
1972
|
-
}
|
|
1973
|
-
export const ZodNonOptional: core.$constructor<ZodNonOptional> = /*@__PURE__*/ core.$constructor(
|
|
1974
|
-
"ZodNonOptional",
|
|
1975
|
-
(inst, def) => {
|
|
1976
|
-
core.$ZodNonOptional.init(inst, def);
|
|
1977
|
-
ZodType.init(inst, def);
|
|
1978
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.nonoptionalProcessor(inst, ctx, json, params);
|
|
1979
|
-
|
|
1980
|
-
inst.unwrap = () => inst._zod.def.innerType;
|
|
1981
|
-
}
|
|
1982
|
-
);
|
|
1983
|
-
|
|
1984
|
-
export function nonoptional<T extends core.SomeType>(
|
|
1985
|
-
innerType: T,
|
|
1986
|
-
params?: string | core.$ZodNonOptionalParams
|
|
1987
|
-
): ZodNonOptional<T> {
|
|
1988
|
-
return new ZodNonOptional({
|
|
1989
|
-
type: "nonoptional",
|
|
1990
|
-
innerType: innerType as any as core.$ZodType,
|
|
1991
|
-
...util.normalizeParams(params),
|
|
1992
|
-
}) as any;
|
|
1993
|
-
}
|
|
1994
|
-
|
|
1995
|
-
// ZodSuccess
|
|
1996
|
-
export interface ZodSuccess<T extends core.SomeType = core.$ZodType>
|
|
1997
|
-
extends _ZodType<core.$ZodSuccessInternals<T>>,
|
|
1998
|
-
core.$ZodSuccess<T> {
|
|
1999
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
2000
|
-
unwrap(): T;
|
|
2001
|
-
}
|
|
2002
|
-
export const ZodSuccess: core.$constructor<ZodSuccess> = /*@__PURE__*/ core.$constructor("ZodSuccess", (inst, def) => {
|
|
2003
|
-
core.$ZodSuccess.init(inst, def);
|
|
2004
|
-
ZodType.init(inst, def);
|
|
2005
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.successProcessor(inst, ctx, json, params);
|
|
2006
|
-
|
|
2007
|
-
inst.unwrap = () => inst._zod.def.innerType;
|
|
2008
|
-
});
|
|
2009
|
-
|
|
2010
|
-
export function success<T extends core.SomeType>(innerType: T): ZodSuccess<T> {
|
|
2011
|
-
return new ZodSuccess({
|
|
2012
|
-
type: "success",
|
|
2013
|
-
innerType: innerType as any as core.$ZodType,
|
|
2014
|
-
}) as any;
|
|
2015
|
-
}
|
|
2016
|
-
|
|
2017
|
-
// ZodCatch
|
|
2018
|
-
export interface ZodCatch<T extends core.SomeType = core.$ZodType>
|
|
2019
|
-
extends _ZodType<core.$ZodCatchInternals<T>>,
|
|
2020
|
-
core.$ZodCatch<T> {
|
|
2021
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
2022
|
-
unwrap(): T;
|
|
2023
|
-
/** @deprecated Use `.unwrap()` instead. */
|
|
2024
|
-
removeCatch(): T;
|
|
2025
|
-
}
|
|
2026
|
-
export const ZodCatch: core.$constructor<ZodCatch> = /*@__PURE__*/ core.$constructor("ZodCatch", (inst, def) => {
|
|
2027
|
-
core.$ZodCatch.init(inst, def);
|
|
2028
|
-
ZodType.init(inst, def);
|
|
2029
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.catchProcessor(inst, ctx, json, params);
|
|
2030
|
-
|
|
2031
|
-
inst.unwrap = () => inst._zod.def.innerType;
|
|
2032
|
-
inst.removeCatch = inst.unwrap;
|
|
2033
|
-
});
|
|
2034
|
-
|
|
2035
|
-
function _catch<T extends core.SomeType>(
|
|
2036
|
-
innerType: T,
|
|
2037
|
-
catchValue: core.output<T> | ((ctx: core.$ZodCatchCtx) => core.output<T>)
|
|
2038
|
-
): ZodCatch<T> {
|
|
2039
|
-
return new ZodCatch({
|
|
2040
|
-
type: "catch",
|
|
2041
|
-
innerType: innerType as any as core.$ZodType,
|
|
2042
|
-
catchValue: (typeof catchValue === "function" ? catchValue : () => catchValue) as (
|
|
2043
|
-
ctx: core.$ZodCatchCtx
|
|
2044
|
-
) => core.output<T>,
|
|
2045
|
-
}) as any;
|
|
2046
|
-
}
|
|
2047
|
-
export { _catch as catch };
|
|
2048
|
-
|
|
2049
|
-
// ZodNaN
|
|
2050
|
-
export interface ZodNaN extends _ZodType<core.$ZodNaNInternals>, core.$ZodNaN {
|
|
2051
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
2052
|
-
}
|
|
2053
|
-
export const ZodNaN: core.$constructor<ZodNaN> = /*@__PURE__*/ core.$constructor("ZodNaN", (inst, def) => {
|
|
2054
|
-
core.$ZodNaN.init(inst, def);
|
|
2055
|
-
ZodType.init(inst, def);
|
|
2056
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.nanProcessor(inst, ctx, json, params);
|
|
2057
|
-
});
|
|
2058
|
-
|
|
2059
|
-
export function nan(params?: string | core.$ZodNaNParams): ZodNaN {
|
|
2060
|
-
return core._nan(ZodNaN, params);
|
|
2061
|
-
}
|
|
2062
|
-
|
|
2063
|
-
// ZodPipe
|
|
2064
|
-
export interface ZodPipe<A extends core.SomeType = core.$ZodType, B extends core.SomeType = core.$ZodType>
|
|
2065
|
-
extends _ZodType<core.$ZodPipeInternals<A, B>>,
|
|
2066
|
-
core.$ZodPipe<A, B> {
|
|
2067
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
2068
|
-
in: A;
|
|
2069
|
-
out: B;
|
|
2070
|
-
}
|
|
2071
|
-
export const ZodPipe: core.$constructor<ZodPipe> = /*@__PURE__*/ core.$constructor("ZodPipe", (inst, def) => {
|
|
2072
|
-
core.$ZodPipe.init(inst, def);
|
|
2073
|
-
ZodType.init(inst, def);
|
|
2074
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.pipeProcessor(inst, ctx, json, params);
|
|
2075
|
-
|
|
2076
|
-
inst.in = def.in;
|
|
2077
|
-
inst.out = def.out;
|
|
2078
|
-
});
|
|
2079
|
-
|
|
2080
|
-
export function pipe<
|
|
2081
|
-
const A extends core.SomeType,
|
|
2082
|
-
B extends core.$ZodType<unknown, core.output<A>> = core.$ZodType<unknown, core.output<A>>,
|
|
2083
|
-
>(in_: A, out: B | core.$ZodType<unknown, core.output<A>>): ZodPipe<A, B>;
|
|
2084
|
-
export function pipe(in_: core.SomeType, out: core.SomeType) {
|
|
2085
|
-
return new ZodPipe({
|
|
2086
|
-
type: "pipe",
|
|
2087
|
-
in: in_ as unknown as core.$ZodType,
|
|
2088
|
-
out: out as unknown as core.$ZodType,
|
|
2089
|
-
// ...util.normalizeParams(params),
|
|
2090
|
-
});
|
|
2091
|
-
}
|
|
2092
|
-
|
|
2093
|
-
// ZodCodec
|
|
2094
|
-
export interface ZodCodec<A extends core.SomeType = core.$ZodType, B extends core.SomeType = core.$ZodType>
|
|
2095
|
-
extends ZodPipe<A, B>,
|
|
2096
|
-
core.$ZodCodec<A, B> {
|
|
2097
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
2098
|
-
_zod: core.$ZodCodecInternals<A, B>;
|
|
2099
|
-
def: core.$ZodCodecDef<A, B>;
|
|
2100
|
-
}
|
|
2101
|
-
export const ZodCodec: core.$constructor<ZodCodec> = /*@__PURE__*/ core.$constructor("ZodCodec", (inst, def) => {
|
|
2102
|
-
ZodPipe.init(inst, def);
|
|
2103
|
-
core.$ZodCodec.init(inst, def);
|
|
2104
|
-
});
|
|
2105
|
-
|
|
2106
|
-
export function codec<const A extends core.SomeType, B extends core.SomeType = core.$ZodType>(
|
|
2107
|
-
in_: A,
|
|
2108
|
-
out: B,
|
|
2109
|
-
params: {
|
|
2110
|
-
decode: (value: core.output<A>, payload: core.ParsePayload<core.output<A>>) => core.util.MaybeAsync<core.input<B>>;
|
|
2111
|
-
encode: (value: core.input<B>, payload: core.ParsePayload<core.input<B>>) => core.util.MaybeAsync<core.output<A>>;
|
|
2112
|
-
}
|
|
2113
|
-
): ZodCodec<A, B> {
|
|
2114
|
-
return new ZodCodec({
|
|
2115
|
-
type: "pipe",
|
|
2116
|
-
in: in_ as any as core.$ZodType,
|
|
2117
|
-
out: out as any as core.$ZodType,
|
|
2118
|
-
transform: params.decode as any,
|
|
2119
|
-
reverseTransform: params.encode as any,
|
|
2120
|
-
}) as any;
|
|
2121
|
-
}
|
|
2122
|
-
|
|
2123
|
-
// ZodReadonly
|
|
2124
|
-
export interface ZodReadonly<T extends core.SomeType = core.$ZodType>
|
|
2125
|
-
extends _ZodType<core.$ZodReadonlyInternals<T>>,
|
|
2126
|
-
core.$ZodReadonly<T> {
|
|
2127
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
2128
|
-
unwrap(): T;
|
|
2129
|
-
}
|
|
2130
|
-
export const ZodReadonly: core.$constructor<ZodReadonly> = /*@__PURE__*/ core.$constructor(
|
|
2131
|
-
"ZodReadonly",
|
|
2132
|
-
(inst, def) => {
|
|
2133
|
-
core.$ZodReadonly.init(inst, def);
|
|
2134
|
-
ZodType.init(inst, def);
|
|
2135
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.readonlyProcessor(inst, ctx, json, params);
|
|
2136
|
-
|
|
2137
|
-
inst.unwrap = () => inst._zod.def.innerType;
|
|
2138
|
-
}
|
|
2139
|
-
);
|
|
2140
|
-
|
|
2141
|
-
export function readonly<T extends core.SomeType>(innerType: T): ZodReadonly<T> {
|
|
2142
|
-
return new ZodReadonly({
|
|
2143
|
-
type: "readonly",
|
|
2144
|
-
innerType: innerType as any as core.$ZodType,
|
|
2145
|
-
}) as any;
|
|
2146
|
-
}
|
|
2147
|
-
|
|
2148
|
-
// ZodTemplateLiteral
|
|
2149
|
-
export interface ZodTemplateLiteral<Template extends string = string>
|
|
2150
|
-
extends _ZodType<core.$ZodTemplateLiteralInternals<Template>>,
|
|
2151
|
-
core.$ZodTemplateLiteral<Template> {
|
|
2152
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
2153
|
-
}
|
|
2154
|
-
export const ZodTemplateLiteral: core.$constructor<ZodTemplateLiteral> = /*@__PURE__*/ core.$constructor(
|
|
2155
|
-
"ZodTemplateLiteral",
|
|
2156
|
-
(inst, def) => {
|
|
2157
|
-
core.$ZodTemplateLiteral.init(inst, def);
|
|
2158
|
-
ZodType.init(inst, def);
|
|
2159
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.templateLiteralProcessor(inst, ctx, json, params);
|
|
2160
|
-
}
|
|
2161
|
-
);
|
|
2162
|
-
|
|
2163
|
-
export function templateLiteral<const Parts extends core.$ZodTemplateLiteralPart[]>(
|
|
2164
|
-
parts: Parts,
|
|
2165
|
-
params?: string | core.$ZodTemplateLiteralParams
|
|
2166
|
-
): ZodTemplateLiteral<core.$PartsToTemplateLiteral<Parts>> {
|
|
2167
|
-
return new ZodTemplateLiteral({
|
|
2168
|
-
type: "template_literal",
|
|
2169
|
-
parts,
|
|
2170
|
-
...util.normalizeParams(params),
|
|
2171
|
-
}) as any;
|
|
2172
|
-
}
|
|
2173
|
-
|
|
2174
|
-
// ZodLazy
|
|
2175
|
-
export interface ZodLazy<T extends core.SomeType = core.$ZodType>
|
|
2176
|
-
extends _ZodType<core.$ZodLazyInternals<T>>,
|
|
2177
|
-
core.$ZodLazy<T> {
|
|
2178
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
2179
|
-
unwrap(): T;
|
|
2180
|
-
}
|
|
2181
|
-
export const ZodLazy: core.$constructor<ZodLazy> = /*@__PURE__*/ core.$constructor("ZodLazy", (inst, def) => {
|
|
2182
|
-
core.$ZodLazy.init(inst, def);
|
|
2183
|
-
ZodType.init(inst, def);
|
|
2184
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.lazyProcessor(inst, ctx, json, params);
|
|
2185
|
-
|
|
2186
|
-
inst.unwrap = () => inst._zod.def.getter();
|
|
2187
|
-
});
|
|
2188
|
-
|
|
2189
|
-
export function lazy<T extends core.SomeType>(getter: () => T): ZodLazy<T> {
|
|
2190
|
-
return new ZodLazy({
|
|
2191
|
-
type: "lazy",
|
|
2192
|
-
getter: getter as any,
|
|
2193
|
-
}) as any;
|
|
2194
|
-
}
|
|
2195
|
-
|
|
2196
|
-
// ZodPromise
|
|
2197
|
-
export interface ZodPromise<T extends core.SomeType = core.$ZodType>
|
|
2198
|
-
extends _ZodType<core.$ZodPromiseInternals<T>>,
|
|
2199
|
-
core.$ZodPromise<T> {
|
|
2200
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
2201
|
-
unwrap(): T;
|
|
2202
|
-
}
|
|
2203
|
-
export const ZodPromise: core.$constructor<ZodPromise> = /*@__PURE__*/ core.$constructor("ZodPromise", (inst, def) => {
|
|
2204
|
-
core.$ZodPromise.init(inst, def);
|
|
2205
|
-
ZodType.init(inst, def);
|
|
2206
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.promiseProcessor(inst, ctx, json, params);
|
|
2207
|
-
|
|
2208
|
-
inst.unwrap = () => inst._zod.def.innerType;
|
|
2209
|
-
});
|
|
2210
|
-
|
|
2211
|
-
export function promise<T extends core.SomeType>(innerType: T): ZodPromise<T> {
|
|
2212
|
-
return new ZodPromise({
|
|
2213
|
-
type: "promise",
|
|
2214
|
-
innerType: innerType as any as core.$ZodType,
|
|
2215
|
-
}) as any;
|
|
2216
|
-
}
|
|
2217
|
-
|
|
2218
|
-
// ZodFunction
|
|
2219
|
-
export interface ZodFunction<
|
|
2220
|
-
Args extends core.$ZodFunctionIn = core.$ZodFunctionIn,
|
|
2221
|
-
Returns extends core.$ZodFunctionOut = core.$ZodFunctionOut,
|
|
2222
|
-
> extends _ZodType<core.$ZodFunctionInternals<Args, Returns>>,
|
|
2223
|
-
core.$ZodFunction<Args, Returns> {
|
|
2224
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
2225
|
-
_def: core.$ZodFunctionDef<Args, Returns>;
|
|
2226
|
-
_input: core.$InferInnerFunctionType<Args, Returns>;
|
|
2227
|
-
_output: core.$InferOuterFunctionType<Args, Returns>;
|
|
2228
|
-
|
|
2229
|
-
input<const Items extends util.TupleItems, const Rest extends core.$ZodFunctionOut = core.$ZodFunctionOut>(
|
|
2230
|
-
args: Items,
|
|
2231
|
-
rest?: Rest
|
|
2232
|
-
): ZodFunction<core.$ZodTuple<Items, Rest>, Returns>;
|
|
2233
|
-
input<NewArgs extends core.$ZodFunctionIn>(args: NewArgs): ZodFunction<NewArgs, Returns>;
|
|
2234
|
-
input(...args: any[]): ZodFunction<any, Returns>;
|
|
2235
|
-
|
|
2236
|
-
output<NewReturns extends core.$ZodType>(output: NewReturns): ZodFunction<Args, NewReturns>;
|
|
2237
|
-
}
|
|
2238
|
-
|
|
2239
|
-
export const ZodFunction: core.$constructor<ZodFunction> = /*@__PURE__*/ core.$constructor(
|
|
2240
|
-
"ZodFunction",
|
|
2241
|
-
(inst, def) => {
|
|
2242
|
-
core.$ZodFunction.init(inst, def);
|
|
2243
|
-
ZodType.init(inst, def);
|
|
2244
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.functionProcessor(inst, ctx, json, params);
|
|
2245
|
-
}
|
|
2246
|
-
);
|
|
2247
|
-
|
|
2248
|
-
export function _function(): ZodFunction;
|
|
2249
|
-
export function _function<const In extends ReadonlyArray<core.$ZodType>>(params: {
|
|
2250
|
-
input: In;
|
|
2251
|
-
}): ZodFunction<ZodTuple<In, null>, core.$ZodFunctionOut>;
|
|
2252
|
-
export function _function<
|
|
2253
|
-
const In extends ReadonlyArray<core.$ZodType>,
|
|
2254
|
-
const Out extends core.$ZodFunctionOut = core.$ZodFunctionOut,
|
|
2255
|
-
>(params: {
|
|
2256
|
-
input: In;
|
|
2257
|
-
output: Out;
|
|
2258
|
-
}): ZodFunction<ZodTuple<In, null>, Out>;
|
|
2259
|
-
export function _function<const In extends core.$ZodFunctionIn = core.$ZodFunctionIn>(params: {
|
|
2260
|
-
input: In;
|
|
2261
|
-
}): ZodFunction<In, core.$ZodFunctionOut>;
|
|
2262
|
-
export function _function<const Out extends core.$ZodFunctionOut = core.$ZodFunctionOut>(params: {
|
|
2263
|
-
output: Out;
|
|
2264
|
-
}): ZodFunction<core.$ZodFunctionIn, Out>;
|
|
2265
|
-
export function _function<
|
|
2266
|
-
In extends core.$ZodFunctionIn = core.$ZodFunctionIn,
|
|
2267
|
-
Out extends core.$ZodType = core.$ZodType,
|
|
2268
|
-
>(params?: {
|
|
2269
|
-
input: In;
|
|
2270
|
-
output: Out;
|
|
2271
|
-
}): ZodFunction<In, Out>;
|
|
2272
|
-
export function _function(params?: {
|
|
2273
|
-
output?: core.$ZodType;
|
|
2274
|
-
input?: core.$ZodFunctionArgs | Array<core.$ZodType>;
|
|
2275
|
-
}): ZodFunction {
|
|
2276
|
-
return new ZodFunction({
|
|
2277
|
-
type: "function",
|
|
2278
|
-
input: Array.isArray(params?.input) ? tuple(params?.input as any) : (params?.input ?? array(unknown())),
|
|
2279
|
-
output: params?.output ?? unknown(),
|
|
2280
|
-
});
|
|
2281
|
-
}
|
|
2282
|
-
|
|
2283
|
-
export { _function as function };
|
|
2284
|
-
|
|
2285
|
-
// ZodCustom
|
|
2286
|
-
export interface ZodCustom<O = unknown, I = unknown>
|
|
2287
|
-
extends _ZodType<core.$ZodCustomInternals<O, I>>,
|
|
2288
|
-
core.$ZodCustom<O, I> {
|
|
2289
|
-
"~standard": ZodStandardSchemaWithJSON<this>;
|
|
2290
|
-
}
|
|
2291
|
-
export const ZodCustom: core.$constructor<ZodCustom> = /*@__PURE__*/ core.$constructor("ZodCustom", (inst, def) => {
|
|
2292
|
-
core.$ZodCustom.init(inst, def);
|
|
2293
|
-
ZodType.init(inst, def);
|
|
2294
|
-
inst._zod.processJSONSchema = (ctx, json, params) => processors.customProcessor(inst, ctx, json, params);
|
|
2295
|
-
});
|
|
2296
|
-
|
|
2297
|
-
// custom checks
|
|
2298
|
-
export function check<O = unknown>(fn: core.CheckFn<O>): core.$ZodCheck<O> {
|
|
2299
|
-
const ch = new core.$ZodCheck({
|
|
2300
|
-
check: "custom",
|
|
2301
|
-
// ...util.normalizeParams(params),
|
|
2302
|
-
});
|
|
2303
|
-
|
|
2304
|
-
ch._zod.check = fn;
|
|
2305
|
-
return ch;
|
|
2306
|
-
}
|
|
2307
|
-
|
|
2308
|
-
export function custom<O>(
|
|
2309
|
-
fn?: (data: unknown) => unknown,
|
|
2310
|
-
_params?: string | core.$ZodCustomParams | undefined
|
|
2311
|
-
): ZodCustom<O, O> {
|
|
2312
|
-
return core._custom(ZodCustom, fn ?? (() => true), _params) as any;
|
|
2313
|
-
}
|
|
2314
|
-
|
|
2315
|
-
export function refine<T>(
|
|
2316
|
-
fn: (arg: NoInfer<T>) => util.MaybeAsync<unknown>,
|
|
2317
|
-
_params: string | core.$ZodCustomParams = {}
|
|
2318
|
-
): core.$ZodCheck<T> {
|
|
2319
|
-
return core._refine(ZodCustom, fn, _params);
|
|
2320
|
-
}
|
|
2321
|
-
|
|
2322
|
-
// superRefine
|
|
2323
|
-
export function superRefine<T>(
|
|
2324
|
-
fn: (arg: T, payload: core.$RefinementCtx<T>) => void | Promise<void>
|
|
2325
|
-
): core.$ZodCheck<T> {
|
|
2326
|
-
return core._superRefine(fn);
|
|
2327
|
-
}
|
|
2328
|
-
|
|
2329
|
-
// Re-export describe and meta from core
|
|
2330
|
-
export const describe = core.describe;
|
|
2331
|
-
export const meta = core.meta;
|
|
2332
|
-
|
|
2333
|
-
type ZodInstanceOfParams = core.Params<
|
|
2334
|
-
ZodCustom,
|
|
2335
|
-
core.$ZodIssueCustom,
|
|
2336
|
-
"type" | "check" | "checks" | "fn" | "abort" | "error" | "params" | "path"
|
|
2337
|
-
>;
|
|
2338
|
-
function _instanceof<T extends typeof util.Class>(
|
|
2339
|
-
cls: T,
|
|
2340
|
-
params: ZodInstanceOfParams = {}
|
|
2341
|
-
): ZodCustom<InstanceType<T>, InstanceType<T>> {
|
|
2342
|
-
const inst = new ZodCustom({
|
|
2343
|
-
type: "custom",
|
|
2344
|
-
check: "custom",
|
|
2345
|
-
fn: (data) => data instanceof cls,
|
|
2346
|
-
abort: true,
|
|
2347
|
-
...(util.normalizeParams(params) as any),
|
|
2348
|
-
});
|
|
2349
|
-
inst._zod.bag.Class = cls;
|
|
2350
|
-
// Override check to emit invalid_type instead of custom
|
|
2351
|
-
inst._zod.check = (payload) => {
|
|
2352
|
-
if (!(payload.value instanceof cls)) {
|
|
2353
|
-
payload.issues.push({
|
|
2354
|
-
code: "invalid_type",
|
|
2355
|
-
expected: cls.name,
|
|
2356
|
-
input: payload.value,
|
|
2357
|
-
inst,
|
|
2358
|
-
path: [...(inst._zod.def.path ?? [])],
|
|
2359
|
-
});
|
|
2360
|
-
}
|
|
2361
|
-
};
|
|
2362
|
-
return inst as any;
|
|
2363
|
-
}
|
|
2364
|
-
export { _instanceof as instanceof };
|
|
2365
|
-
|
|
2366
|
-
// stringbool
|
|
2367
|
-
export const stringbool: (_params?: string | core.$ZodStringBoolParams) => ZodCodec<ZodString, ZodBoolean> = (
|
|
2368
|
-
...args
|
|
2369
|
-
) =>
|
|
2370
|
-
core._stringbool(
|
|
2371
|
-
{
|
|
2372
|
-
Codec: ZodCodec,
|
|
2373
|
-
Boolean: ZodBoolean,
|
|
2374
|
-
String: ZodString,
|
|
2375
|
-
},
|
|
2376
|
-
...args
|
|
2377
|
-
) as any;
|
|
2378
|
-
|
|
2379
|
-
// json
|
|
2380
|
-
type _ZodJSONSchema = ZodUnion<
|
|
2381
|
-
[ZodString, ZodNumber, ZodBoolean, ZodNull, ZodArray<ZodJSONSchema>, ZodRecord<ZodString, ZodJSONSchema>]
|
|
2382
|
-
>;
|
|
2383
|
-
type _ZodJSONSchemaInternals = _ZodJSONSchema["_zod"];
|
|
2384
|
-
|
|
2385
|
-
export interface ZodJSONSchemaInternals extends _ZodJSONSchemaInternals {
|
|
2386
|
-
output: util.JSONType;
|
|
2387
|
-
input: util.JSONType;
|
|
2388
|
-
}
|
|
2389
|
-
export interface ZodJSONSchema extends _ZodJSONSchema {
|
|
2390
|
-
_zod: ZodJSONSchemaInternals;
|
|
2391
|
-
}
|
|
2392
|
-
|
|
2393
|
-
export function json(params?: string | core.$ZodCustomParams): ZodJSONSchema {
|
|
2394
|
-
const jsonSchema: any = lazy(() => {
|
|
2395
|
-
return union([string(params), number(), boolean(), _null(), array(jsonSchema), record(string(), jsonSchema)]);
|
|
2396
|
-
});
|
|
2397
|
-
|
|
2398
|
-
return jsonSchema;
|
|
2399
|
-
}
|
|
2400
|
-
|
|
2401
|
-
// preprocess
|
|
2402
|
-
|
|
2403
|
-
// /** @deprecated Use `z.pipe()` and `z.transform()` instead. */
|
|
2404
|
-
export function preprocess<A, U extends core.SomeType, B = unknown>(
|
|
2405
|
-
fn: (arg: B, ctx: core.$RefinementCtx) => A,
|
|
2406
|
-
schema: U
|
|
2407
|
-
): ZodPipe<ZodTransform<A, B>, U> {
|
|
2408
|
-
return pipe(transform(fn as any), schema as any) as any;
|
|
2409
|
-
}
|