@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
|
@@ -0,0 +1,3352 @@
|
|
|
1
|
+
declare module "bun" {
|
|
2
|
+
export interface RedisOptions {
|
|
3
|
+
/**
|
|
4
|
+
* Connection timeout in milliseconds
|
|
5
|
+
* @default 10000
|
|
6
|
+
*/
|
|
7
|
+
connectionTimeout?: number;
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Idle timeout in milliseconds
|
|
11
|
+
* @default 0 (no timeout)
|
|
12
|
+
*/
|
|
13
|
+
idleTimeout?: number;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Whether to automatically reconnect
|
|
17
|
+
* @default true
|
|
18
|
+
*/
|
|
19
|
+
autoReconnect?: boolean;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Maximum number of reconnection attempts
|
|
23
|
+
* @default 10
|
|
24
|
+
*/
|
|
25
|
+
maxRetries?: number;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Whether to queue commands when disconnected
|
|
29
|
+
* @default true
|
|
30
|
+
*/
|
|
31
|
+
enableOfflineQueue?: boolean;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* TLS options
|
|
35
|
+
* Can be a boolean or an object with TLS options
|
|
36
|
+
*/
|
|
37
|
+
tls?: boolean | Bun.TLSOptions;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Whether to enable auto-pipelining
|
|
41
|
+
* @default true
|
|
42
|
+
*/
|
|
43
|
+
enableAutoPipelining?: boolean;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export namespace RedisClient {
|
|
47
|
+
type KeyLike = string | ArrayBufferView | Blob;
|
|
48
|
+
type StringPubSubListener = (message: string, channel: string) => void;
|
|
49
|
+
|
|
50
|
+
// Buffer subscriptions are not yet implemented
|
|
51
|
+
// type BufferPubSubListener = (message: Uint8Array<ArrayBuffer>, channel: string) => void;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export class RedisClient {
|
|
55
|
+
/**
|
|
56
|
+
* Creates a new Redis client
|
|
57
|
+
*
|
|
58
|
+
* @param url URL to connect to, defaults to `process.env.VALKEY_URL`,
|
|
59
|
+
* `process.env.REDIS_URL`, or `"valkey://localhost:6379"`
|
|
60
|
+
* @param options Additional options
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* ```ts
|
|
64
|
+
* const redis = new RedisClient();
|
|
65
|
+
* await redis.set("hello", "world");
|
|
66
|
+
* console.log(await redis.get("hello"));
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
constructor(url?: string, options?: RedisOptions);
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Whether the client is connected to the Redis server
|
|
73
|
+
*/
|
|
74
|
+
readonly connected: boolean;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Amount of data buffered in bytes
|
|
78
|
+
*/
|
|
79
|
+
readonly bufferedAmount: number;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Callback fired when the client connects to the Redis server
|
|
83
|
+
*/
|
|
84
|
+
onconnect: ((this: RedisClient) => void) | null;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Callback fired when the client disconnects from the Redis server
|
|
88
|
+
*
|
|
89
|
+
* @param error The error that caused the disconnection
|
|
90
|
+
*/
|
|
91
|
+
onclose: ((this: RedisClient, error: Error) => void) | null;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Connect to the Redis server
|
|
95
|
+
*
|
|
96
|
+
* @returns A promise that resolves when connected
|
|
97
|
+
*/
|
|
98
|
+
connect(): Promise<void>;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Disconnect from the Redis server
|
|
102
|
+
*/
|
|
103
|
+
close(): void;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Send a raw command to the Redis server
|
|
107
|
+
* @param command The command to send
|
|
108
|
+
* @param args The arguments to the command
|
|
109
|
+
* @returns A promise that resolves with the command result
|
|
110
|
+
*/
|
|
111
|
+
send(command: string, args: string[]): Promise<any>;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Get the value of a key
|
|
115
|
+
* @param key The key to get
|
|
116
|
+
* @returns Promise that resolves with the key's value as a string, or null if the key doesn't exist
|
|
117
|
+
*/
|
|
118
|
+
get(key: RedisClient.KeyLike): Promise<string | null>;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* Get the value of a key as a Uint8Array
|
|
122
|
+
* @param key The key to get
|
|
123
|
+
* @returns Promise that resolves with the key's value as a Uint8Array, or null if the key doesn't exist
|
|
124
|
+
*/
|
|
125
|
+
getBuffer(key: RedisClient.KeyLike): Promise<Uint8Array<ArrayBuffer> | null>;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Set key to hold the string value
|
|
129
|
+
* @param key The key to set
|
|
130
|
+
* @param value The value to set
|
|
131
|
+
* @returns Promise that resolves with "OK" on success
|
|
132
|
+
*/
|
|
133
|
+
set(key: RedisClient.KeyLike, value: RedisClient.KeyLike): Promise<"OK">;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Set key to hold the string value with expiration
|
|
137
|
+
* @param key The key to set
|
|
138
|
+
* @param value The value to set
|
|
139
|
+
* @param ex Set the specified expire time, in seconds
|
|
140
|
+
* @returns Promise that resolves with "OK" on success
|
|
141
|
+
*/
|
|
142
|
+
set(key: RedisClient.KeyLike, value: RedisClient.KeyLike, ex: "EX", seconds: number): Promise<"OK">;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Set key to hold the string value with expiration
|
|
146
|
+
* @param key The key to set
|
|
147
|
+
* @param value The value to set
|
|
148
|
+
* @param px Set the specified expire time, in milliseconds
|
|
149
|
+
* @returns Promise that resolves with "OK" on success
|
|
150
|
+
*/
|
|
151
|
+
set(key: RedisClient.KeyLike, value: RedisClient.KeyLike, px: "PX", milliseconds: number): Promise<"OK">;
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Set key to hold the string value with expiration at a specific Unix
|
|
155
|
+
* timestamp
|
|
156
|
+
* @param key The key to set
|
|
157
|
+
* @param value The value to set
|
|
158
|
+
* @param exat Set the specified Unix time at which the key will expire, in
|
|
159
|
+
* seconds
|
|
160
|
+
* @returns Promise that resolves with "OK" on success
|
|
161
|
+
*/
|
|
162
|
+
set(key: RedisClient.KeyLike, value: RedisClient.KeyLike, exat: "EXAT", timestampSeconds: number): Promise<"OK">;
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Set key to hold the string value with expiration at a specific Unix timestamp
|
|
166
|
+
* @param key The key to set
|
|
167
|
+
* @param value The value to set
|
|
168
|
+
* @param pxat Set the specified Unix time at which the key will expire, in milliseconds
|
|
169
|
+
* @returns Promise that resolves with "OK" on success
|
|
170
|
+
*/
|
|
171
|
+
set(
|
|
172
|
+
key: RedisClient.KeyLike,
|
|
173
|
+
value: RedisClient.KeyLike,
|
|
174
|
+
pxat: "PXAT",
|
|
175
|
+
timestampMilliseconds: number,
|
|
176
|
+
): Promise<"OK">;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* Set key to hold the string value only if key does not exist
|
|
180
|
+
* @param key The key to set
|
|
181
|
+
* @param value The value to set
|
|
182
|
+
* @param nx Only set the key if it does not already exist
|
|
183
|
+
* @returns Promise that resolves with "OK" on success, or null if the key
|
|
184
|
+
* already exists
|
|
185
|
+
*/
|
|
186
|
+
set(key: RedisClient.KeyLike, value: RedisClient.KeyLike, nx: "NX"): Promise<"OK" | null>;
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Set key to hold the string value only if key already exists
|
|
190
|
+
* @param key The key to set
|
|
191
|
+
* @param value The value to set
|
|
192
|
+
* @param xx Only set the key if it already exists
|
|
193
|
+
* @returns Promise that resolves with "OK" on success, or null if the key
|
|
194
|
+
* does not exist
|
|
195
|
+
*/
|
|
196
|
+
set(key: RedisClient.KeyLike, value: RedisClient.KeyLike, xx: "XX"): Promise<"OK" | null>;
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* Set key to hold the string value and return the old value
|
|
200
|
+
* @param key The key to set
|
|
201
|
+
* @param value The value to set
|
|
202
|
+
* @param get Return the old string stored at key, or null if key did not
|
|
203
|
+
* exist
|
|
204
|
+
* @returns Promise that resolves with the old value, or null if key did not
|
|
205
|
+
* exist
|
|
206
|
+
*/
|
|
207
|
+
set(key: RedisClient.KeyLike, value: RedisClient.KeyLike, get: "GET"): Promise<string | null>;
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* Set key to hold the string value and retain the time to live
|
|
211
|
+
* @param key The key to set
|
|
212
|
+
* @param value The value to set
|
|
213
|
+
* @param keepttl Retain the time to live associated with the key
|
|
214
|
+
* @returns Promise that resolves with "OK" on success
|
|
215
|
+
*/
|
|
216
|
+
set(key: RedisClient.KeyLike, value: RedisClient.KeyLike, keepttl: "KEEPTTL"): Promise<"OK">;
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* Set key to hold the string value with various options
|
|
220
|
+
* @param key The key to set
|
|
221
|
+
* @param value The value to set
|
|
222
|
+
* @param options Array of options (EX, PX, EXAT, PXAT, NX, XX, KEEPTTL, GET)
|
|
223
|
+
* @returns Promise that resolves with "OK" on success, null if NX/XX condition not met, or the old value if GET is specified
|
|
224
|
+
*/
|
|
225
|
+
set(key: RedisClient.KeyLike, value: RedisClient.KeyLike, ...options: string[]): Promise<"OK" | string | null>;
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Delete a key(s)
|
|
229
|
+
* @param keys The keys to delete
|
|
230
|
+
* @returns Promise that resolves with the number of keys removed
|
|
231
|
+
*/
|
|
232
|
+
del(...keys: RedisClient.KeyLike[]): Promise<number>;
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Increment the integer value of a key by one
|
|
236
|
+
* @param key The key to increment
|
|
237
|
+
* @returns Promise that resolves with the new value
|
|
238
|
+
*/
|
|
239
|
+
incr(key: RedisClient.KeyLike): Promise<number>;
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* Increment the integer value of a key by the given amount
|
|
243
|
+
* @param key The key to increment
|
|
244
|
+
* @param increment The amount to increment by
|
|
245
|
+
* @returns Promise that resolves with the new value after incrementing
|
|
246
|
+
*/
|
|
247
|
+
incrby(key: RedisClient.KeyLike, increment: number): Promise<number>;
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Increment the float value of a key by the given amount
|
|
251
|
+
* @param key The key to increment
|
|
252
|
+
* @param increment The amount to increment by (can be a float)
|
|
253
|
+
* @returns Promise that resolves with the new value as a string after incrementing
|
|
254
|
+
*/
|
|
255
|
+
incrbyfloat(key: RedisClient.KeyLike, increment: number | string): Promise<string>;
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* Decrement the integer value of a key by one
|
|
259
|
+
* @param key The key to decrement
|
|
260
|
+
* @returns Promise that resolves with the new value
|
|
261
|
+
*/
|
|
262
|
+
decr(key: RedisClient.KeyLike): Promise<number>;
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* Decrement the integer value of a key by the given amount
|
|
266
|
+
* @param key The key to decrement
|
|
267
|
+
* @param decrement The amount to decrement by
|
|
268
|
+
* @returns Promise that resolves with the new value after decrementing
|
|
269
|
+
*/
|
|
270
|
+
decrby(key: RedisClient.KeyLike, decrement: number): Promise<number>;
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* Determine if a key exists
|
|
274
|
+
* @param key The key to check
|
|
275
|
+
* @returns Promise that resolves with true if the key exists, false
|
|
276
|
+
* otherwise
|
|
277
|
+
*/
|
|
278
|
+
exists(key: RedisClient.KeyLike): Promise<boolean>;
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Set a key's time to live in seconds
|
|
282
|
+
* @param key The key to set the expiration for
|
|
283
|
+
* @param seconds The number of seconds until expiration
|
|
284
|
+
* @returns Promise that resolves with 1 if the timeout was set, 0 if not
|
|
285
|
+
*/
|
|
286
|
+
expire(key: RedisClient.KeyLike, seconds: number): Promise<number>;
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* Set the expiration for a key as a Unix timestamp (in seconds)
|
|
290
|
+
* @param key The key to set expiration on
|
|
291
|
+
* @param timestamp Unix timestamp in seconds when the key should expire
|
|
292
|
+
* @returns Promise that resolves with 1 if timeout was set, 0 if key does not exist
|
|
293
|
+
*/
|
|
294
|
+
expireat(key: RedisClient.KeyLike, timestamp: number): Promise<number>;
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Set a key's time to live in milliseconds
|
|
298
|
+
* @param key The key to set the expiration for
|
|
299
|
+
* @param milliseconds The number of milliseconds until expiration
|
|
300
|
+
* @returns Promise that resolves with 1 if the timeout was set, 0 if the key does not exist
|
|
301
|
+
*/
|
|
302
|
+
pexpire(key: RedisClient.KeyLike, milliseconds: number): Promise<number>;
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* Get the time to live for a key in seconds
|
|
306
|
+
* @param key The key to get the TTL for
|
|
307
|
+
* @returns Promise that resolves with the TTL, -1 if no expiry, or -2 if
|
|
308
|
+
* key doesn't exist
|
|
309
|
+
*/
|
|
310
|
+
ttl(key: RedisClient.KeyLike): Promise<number>;
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Set the value of a hash field or multiple fields
|
|
314
|
+
* @param key The hash key
|
|
315
|
+
* @param fields Object/Record with field-value pairs
|
|
316
|
+
* @returns Promise that resolves with the number of fields that were added
|
|
317
|
+
*/
|
|
318
|
+
hset(key: RedisClient.KeyLike, fields: Record<string | number, RedisClient.KeyLike | number>): Promise<number>;
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* Set the value of a hash field or multiple fields (variadic)
|
|
322
|
+
* @param key The hash key
|
|
323
|
+
* @param field The field name
|
|
324
|
+
* @param value The value to set
|
|
325
|
+
* @param rest Additional field-value pairs
|
|
326
|
+
* @returns Promise that resolves with the number of fields that were added
|
|
327
|
+
*/
|
|
328
|
+
hset(
|
|
329
|
+
key: RedisClient.KeyLike,
|
|
330
|
+
field: RedisClient.KeyLike,
|
|
331
|
+
value: RedisClient.KeyLike,
|
|
332
|
+
...rest: RedisClient.KeyLike[]
|
|
333
|
+
): Promise<number>;
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* Set the value of a hash field, only if the field does not exist
|
|
337
|
+
* @param key The hash key
|
|
338
|
+
* @param field The field to set
|
|
339
|
+
* @param value The value to set
|
|
340
|
+
* @returns Promise that resolves with true if field was set, false if field already exists
|
|
341
|
+
*/
|
|
342
|
+
hsetnx(key: RedisClient.KeyLike, field: RedisClient.KeyLike, value: RedisClient.KeyLike): Promise<boolean>;
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* Get and delete one or more hash fields (Redis 8.0.0+)
|
|
346
|
+
* Syntax: HGETDEL key FIELDS numfields field [field ...]
|
|
347
|
+
* @param key The hash key
|
|
348
|
+
* @param fieldsKeyword Must be the literal string "FIELDS"
|
|
349
|
+
* @param numfields Number of fields to follow
|
|
350
|
+
* @param fields The field names to get and delete
|
|
351
|
+
* @returns Promise that resolves with array of field values (null for non-existent fields)
|
|
352
|
+
* @example redis.hgetdel("mykey", "FIELDS", 2, "field1", "field2")
|
|
353
|
+
*/
|
|
354
|
+
hgetdel(
|
|
355
|
+
key: RedisClient.KeyLike,
|
|
356
|
+
fieldsKeyword: "FIELDS",
|
|
357
|
+
numfields: number,
|
|
358
|
+
...fields: RedisClient.KeyLike[]
|
|
359
|
+
): Promise<Array<string | null>>;
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* Get hash field values with expiration options (Redis 8.0.0+)
|
|
363
|
+
* Syntax: HGETEX key [EX seconds | PX milliseconds | EXAT unix-time-seconds | PXAT unix-time-milliseconds | PERSIST] FIELDS numfields field [field ...]
|
|
364
|
+
* @example redis.hgetex("mykey", "FIELDS", 1, "field1")
|
|
365
|
+
* @example redis.hgetex("mykey", "EX", 10, "FIELDS", 1, "field1")
|
|
366
|
+
* @example redis.hgetex("mykey", "PX", 5000, "FIELDS", 2, "field1", "field2")
|
|
367
|
+
* @example redis.hgetex("mykey", "PERSIST", "FIELDS", 1, "field1")
|
|
368
|
+
*/
|
|
369
|
+
//prettier-ignore
|
|
370
|
+
hgetex(key: RedisClient.KeyLike, fieldsKeyword: "FIELDS", numfields: number, ...fields: RedisClient.KeyLike[]): Promise<Array<string | null>>;
|
|
371
|
+
//prettier-ignore
|
|
372
|
+
hgetex(key: RedisClient.KeyLike, ex: "EX", seconds: number, fieldsKeyword: "FIELDS", numfields: number, ...fields: RedisClient.KeyLike[]): Promise<Array<string | null>>;
|
|
373
|
+
//prettier-ignore
|
|
374
|
+
hgetex(key: RedisClient.KeyLike, px: "PX", milliseconds: number, fieldsKeyword: "FIELDS", numfields: number, ...fields: RedisClient.KeyLike[]): Promise<Array<string | null>>;
|
|
375
|
+
//prettier-ignore
|
|
376
|
+
hgetex(key: RedisClient.KeyLike, exat: "EXAT", unixTimeSeconds: number, fieldsKeyword: "FIELDS", numfields: number, ...fields: RedisClient.KeyLike[]): Promise<Array<string | null>>;
|
|
377
|
+
//prettier-ignore
|
|
378
|
+
hgetex(key: RedisClient.KeyLike, pxat: "PXAT", unixTimeMilliseconds: number, fieldsKeyword: "FIELDS", numfields: number, ...fields: RedisClient.KeyLike[]): Promise<Array<string | null>>;
|
|
379
|
+
//prettier-ignore
|
|
380
|
+
hgetex(key: RedisClient.KeyLike, persist: "PERSIST", fieldsKeyword: "FIELDS", numfields: number, ...fields: RedisClient.KeyLike[]): Promise<Array<string | null>>;
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* Set hash fields with expiration options (Redis 8.0.0+)
|
|
384
|
+
* Syntax: HSETEX key [FNX | FXX] [EX seconds | PX milliseconds | EXAT unix-time-seconds | PXAT unix-time-milliseconds | KEEPTTL] FIELDS numfields field value [field value ...]
|
|
385
|
+
* @example redis.hsetex("mykey", "FIELDS", 1, "field1", "value1")
|
|
386
|
+
* @example redis.hsetex("mykey", "EX", 10, "FIELDS", 1, "field1", "value1")
|
|
387
|
+
* @example redis.hsetex("mykey", "FNX", "EX", 10, "FIELDS", 1, "field1", "value1")
|
|
388
|
+
*/
|
|
389
|
+
//prettier-ignore
|
|
390
|
+
hsetex(key: RedisClient.KeyLike, fieldsKeyword: "FIELDS", numfields: number, ...fieldValues: RedisClient.KeyLike[]): Promise<number>;
|
|
391
|
+
//prettier-ignore
|
|
392
|
+
hsetex(key: RedisClient.KeyLike, fnx: "FNX", fieldsKeyword: "FIELDS", numfields: number, ...fieldValues: RedisClient.KeyLike[]): Promise<number>;
|
|
393
|
+
//prettier-ignore
|
|
394
|
+
hsetex(key: RedisClient.KeyLike, fxx: "FXX", fieldsKeyword: "FIELDS", numfields: number, ...fieldValues: RedisClient.KeyLike[]): Promise<number>;
|
|
395
|
+
//prettier-ignore
|
|
396
|
+
hsetex(key: RedisClient.KeyLike, ex: "EX", seconds: number, fieldsKeyword: "FIELDS", numfields: number, ...fieldValues: RedisClient.KeyLike[]): Promise<number>;
|
|
397
|
+
//prettier-ignore
|
|
398
|
+
hsetex(key: RedisClient.KeyLike, px: "PX", milliseconds: number, fieldsKeyword: "FIELDS", numfields: number, ...fieldValues: RedisClient.KeyLike[]): Promise<number>;
|
|
399
|
+
//prettier-ignore
|
|
400
|
+
hsetex(key: RedisClient.KeyLike, exat: "EXAT", unixTimeSeconds: number, fieldsKeyword: "FIELDS", numfields: number, ...fieldValues: RedisClient.KeyLike[]): Promise<number>;
|
|
401
|
+
//prettier-ignore
|
|
402
|
+
hsetex(key: RedisClient.KeyLike, pxat: "PXAT", unixTimeMilliseconds: number, fieldsKeyword: "FIELDS", numfields: number, ...fieldValues: RedisClient.KeyLike[]): Promise<number>;
|
|
403
|
+
//prettier-ignore
|
|
404
|
+
hsetex(key: RedisClient.KeyLike, keepttl: "KEEPTTL", fieldsKeyword: "FIELDS", numfields: number, ...fieldValues: RedisClient.KeyLike[]): Promise<number>;
|
|
405
|
+
//prettier-ignore
|
|
406
|
+
hsetex(key: RedisClient.KeyLike, fnx: "FNX", ex: "EX", seconds: number, fieldsKeyword: "FIELDS", numfields: number, ...fieldValues: RedisClient.KeyLike[]): Promise<number>;
|
|
407
|
+
//prettier-ignore
|
|
408
|
+
hsetex(key: RedisClient.KeyLike, fnx: "FNX", px: "PX", milliseconds: number, fieldsKeyword: "FIELDS", numfields: number, ...fieldValues: RedisClient.KeyLike[]): Promise<number>;
|
|
409
|
+
//prettier-ignore
|
|
410
|
+
hsetex(key: RedisClient.KeyLike, fnx: "FNX", exat: "EXAT", unixTimeSeconds: number, fieldsKeyword: "FIELDS", numfields: number, ...fieldValues: RedisClient.KeyLike[]): Promise<number>;
|
|
411
|
+
//prettier-ignore
|
|
412
|
+
hsetex(key: RedisClient.KeyLike, fnx: "FNX", pxat: "PXAT", unixTimeMilliseconds: number, fieldsKeyword: "FIELDS", numfields: number, ...fieldValues: RedisClient.KeyLike[]): Promise<number>;
|
|
413
|
+
//prettier-ignore
|
|
414
|
+
hsetex(key: RedisClient.KeyLike, fnx: "FNX", keepttl: "KEEPTTL", fieldsKeyword: "FIELDS", numfields: number, ...fieldValues: RedisClient.KeyLike[]): Promise<number>;
|
|
415
|
+
//prettier-ignore
|
|
416
|
+
hsetex(key: RedisClient.KeyLike, fxx: "FXX", ex: "EX", seconds: number, fieldsKeyword: "FIELDS", numfields: number, ...fieldValues: RedisClient.KeyLike[]): Promise<number>;
|
|
417
|
+
//prettier-ignore
|
|
418
|
+
hsetex(key: RedisClient.KeyLike, fxx: "FXX", px: "PX", milliseconds: number, fieldsKeyword: "FIELDS", numfields: number, ...fieldValues: RedisClient.KeyLike[]): Promise<number>;
|
|
419
|
+
//prettier-ignore
|
|
420
|
+
hsetex(key: RedisClient.KeyLike, fxx: "FXX", exat: "EXAT", unixTimeSeconds: number, fieldsKeyword: "FIELDS", numfields: number, ...fieldValues: RedisClient.KeyLike[]): Promise<number>;
|
|
421
|
+
//prettier-ignore
|
|
422
|
+
hsetex(key: RedisClient.KeyLike, fxx: "FXX", pxat: "PXAT", unixTimeMilliseconds: number, fieldsKeyword: "FIELDS", numfields: number, ...fieldValues: RedisClient.KeyLike[]): Promise<number>;
|
|
423
|
+
//prettier-ignore
|
|
424
|
+
hsetex(key: RedisClient.KeyLike, fxx: "FXX", keepttl: "KEEPTTL", fieldsKeyword: "FIELDS", numfields: number, ...fieldValues: RedisClient.KeyLike[]): Promise<number>;
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* Set expiration for hash fields (Redis 7.4+)
|
|
428
|
+
* Syntax: HEXPIRE key seconds [NX | XX | GT | LT] FIELDS numfields field [field ...]
|
|
429
|
+
* @returns Array where each element is: -2 (field doesn't exist), 0 (condition not met), 1 (expiration set), 2 (field deleted)
|
|
430
|
+
* @example redis.hexpire("mykey", 10, "FIELDS", 1, "field1")
|
|
431
|
+
* @example redis.hexpire("mykey", 10, "NX", "FIELDS", 2, "field1", "field2")
|
|
432
|
+
*/
|
|
433
|
+
hexpire(
|
|
434
|
+
key: RedisClient.KeyLike,
|
|
435
|
+
seconds: number,
|
|
436
|
+
fieldsKeyword: "FIELDS",
|
|
437
|
+
numfields: number,
|
|
438
|
+
...fields: RedisClient.KeyLike[]
|
|
439
|
+
): Promise<number[]>;
|
|
440
|
+
hexpire(
|
|
441
|
+
key: RedisClient.KeyLike,
|
|
442
|
+
seconds: number,
|
|
443
|
+
condition: "NX" | "XX" | "GT" | "LT",
|
|
444
|
+
fieldsKeyword: "FIELDS",
|
|
445
|
+
numfields: number,
|
|
446
|
+
...fields: RedisClient.KeyLike[]
|
|
447
|
+
): Promise<number[]>;
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* Set expiration for hash fields using Unix timestamp in seconds (Redis 7.4+)
|
|
451
|
+
* Syntax: HEXPIREAT key unix-time-seconds [NX | XX | GT | LT] FIELDS numfields field [field ...]
|
|
452
|
+
* @returns Array where each element is: -2 (field doesn't exist), 0 (condition not met), 1 (expiration set), 2 (field deleted)
|
|
453
|
+
* @example redis.hexpireat("mykey", 1735689600, "FIELDS", 1, "field1")
|
|
454
|
+
*/
|
|
455
|
+
hexpireat(
|
|
456
|
+
key: RedisClient.KeyLike,
|
|
457
|
+
unixTimeSeconds: number,
|
|
458
|
+
fieldsKeyword: "FIELDS",
|
|
459
|
+
numfields: number,
|
|
460
|
+
...fields: RedisClient.KeyLike[]
|
|
461
|
+
): Promise<number[]>;
|
|
462
|
+
hexpireat(
|
|
463
|
+
key: RedisClient.KeyLike,
|
|
464
|
+
unixTimeSeconds: number,
|
|
465
|
+
condition: "NX" | "XX" | "GT" | "LT",
|
|
466
|
+
fieldsKeyword: "FIELDS",
|
|
467
|
+
numfields: number,
|
|
468
|
+
...fields: RedisClient.KeyLike[]
|
|
469
|
+
): Promise<number[]>;
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* Get expiration time of hash fields as Unix timestamp in seconds (Redis 7.4+)
|
|
473
|
+
* Syntax: HEXPIRETIME key FIELDS numfields field [field ...]
|
|
474
|
+
* @returns Array where each element is: -2 (field doesn't exist), -1 (no expiration), Unix timestamp in seconds
|
|
475
|
+
* @example redis.hexpiretime("mykey", "FIELDS", 2, "field1", "field2")
|
|
476
|
+
*/
|
|
477
|
+
hexpiretime(
|
|
478
|
+
key: RedisClient.KeyLike,
|
|
479
|
+
fieldsKeyword: "FIELDS",
|
|
480
|
+
numfields: number,
|
|
481
|
+
...fields: RedisClient.KeyLike[]
|
|
482
|
+
): Promise<number[]>;
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* Remove expiration from hash fields (Redis 7.4+)
|
|
486
|
+
* Syntax: HPERSIST key FIELDS numfields field [field ...]
|
|
487
|
+
* @returns Array where each element is: -2 (field doesn't exist), -1 (no expiration), 1 (expiration removed)
|
|
488
|
+
* @example redis.hpersist("mykey", "FIELDS", 1, "field1")
|
|
489
|
+
*/
|
|
490
|
+
hpersist(
|
|
491
|
+
key: RedisClient.KeyLike,
|
|
492
|
+
fieldsKeyword: "FIELDS",
|
|
493
|
+
numfields: number,
|
|
494
|
+
...fields: RedisClient.KeyLike[]
|
|
495
|
+
): Promise<number[]>;
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* Set expiration for hash fields in milliseconds (Redis 7.4+)
|
|
499
|
+
* Syntax: HPEXPIRE key milliseconds [NX | XX | GT | LT] FIELDS numfields field [field ...]
|
|
500
|
+
* @returns Array where each element is: -2 (field doesn't exist), 0 (condition not met), 1 (expiration set), 2 (field deleted)
|
|
501
|
+
* @example redis.hpexpire("mykey", 10000, "FIELDS", 1, "field1")
|
|
502
|
+
*/
|
|
503
|
+
hpexpire(
|
|
504
|
+
key: RedisClient.KeyLike,
|
|
505
|
+
milliseconds: number,
|
|
506
|
+
fieldsKeyword: "FIELDS",
|
|
507
|
+
numfields: number,
|
|
508
|
+
...fields: RedisClient.KeyLike[]
|
|
509
|
+
): Promise<number[]>;
|
|
510
|
+
hpexpire(
|
|
511
|
+
key: RedisClient.KeyLike,
|
|
512
|
+
milliseconds: number,
|
|
513
|
+
condition: "NX" | "XX" | "GT" | "LT",
|
|
514
|
+
fieldsKeyword: "FIELDS",
|
|
515
|
+
numfields: number,
|
|
516
|
+
...fields: RedisClient.KeyLike[]
|
|
517
|
+
): Promise<number[]>;
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* Set expiration for hash fields using Unix timestamp in milliseconds (Redis 7.4+)
|
|
521
|
+
* Syntax: HPEXPIREAT key unix-time-milliseconds [NX | XX | GT | LT] FIELDS numfields field [field ...]
|
|
522
|
+
* @returns Array where each element is: -2 (field doesn't exist), 0 (condition not met), 1 (expiration set), 2 (field deleted)
|
|
523
|
+
* @example redis.hpexpireat("mykey", 1735689600000, "FIELDS", 1, "field1")
|
|
524
|
+
*/
|
|
525
|
+
hpexpireat(
|
|
526
|
+
key: RedisClient.KeyLike,
|
|
527
|
+
unixTimeMilliseconds: number,
|
|
528
|
+
fieldsKeyword: "FIELDS",
|
|
529
|
+
numfields: number,
|
|
530
|
+
...fields: RedisClient.KeyLike[]
|
|
531
|
+
): Promise<number[]>;
|
|
532
|
+
hpexpireat(
|
|
533
|
+
key: RedisClient.KeyLike,
|
|
534
|
+
unixTimeMilliseconds: number,
|
|
535
|
+
condition: "NX" | "XX" | "GT" | "LT",
|
|
536
|
+
fieldsKeyword: "FIELDS",
|
|
537
|
+
numfields: number,
|
|
538
|
+
...fields: RedisClient.KeyLike[]
|
|
539
|
+
): Promise<number[]>;
|
|
540
|
+
|
|
541
|
+
/**
|
|
542
|
+
* Get expiration time of hash fields as Unix timestamp in milliseconds (Redis 7.4+)
|
|
543
|
+
* Syntax: HPEXPIRETIME key FIELDS numfields field [field ...]
|
|
544
|
+
* @returns Array where each element is: -2 (field doesn't exist), -1 (no expiration), Unix timestamp in milliseconds
|
|
545
|
+
* @example redis.hpexpiretime("mykey", "FIELDS", 2, "field1", "field2")
|
|
546
|
+
*/
|
|
547
|
+
hpexpiretime(
|
|
548
|
+
key: RedisClient.KeyLike,
|
|
549
|
+
fieldsKeyword: "FIELDS",
|
|
550
|
+
numfields: number,
|
|
551
|
+
...fields: RedisClient.KeyLike[]
|
|
552
|
+
): Promise<number[]>;
|
|
553
|
+
|
|
554
|
+
/**
|
|
555
|
+
* Get TTL of hash fields in milliseconds (Redis 7.4+)
|
|
556
|
+
* Syntax: HPTTL key FIELDS numfields field [field ...]
|
|
557
|
+
* @returns Array where each element is: -2 (field doesn't exist), -1 (no expiration), TTL in milliseconds
|
|
558
|
+
* @example redis.hpttl("mykey", "FIELDS", 2, "field1", "field2")
|
|
559
|
+
*/
|
|
560
|
+
hpttl(
|
|
561
|
+
key: RedisClient.KeyLike,
|
|
562
|
+
fieldsKeyword: "FIELDS",
|
|
563
|
+
numfields: number,
|
|
564
|
+
...fields: RedisClient.KeyLike[]
|
|
565
|
+
): Promise<number[]>;
|
|
566
|
+
|
|
567
|
+
/**
|
|
568
|
+
* Get TTL of hash fields in seconds (Redis 7.4+)
|
|
569
|
+
* Syntax: HTTL key FIELDS numfields field [field ...]
|
|
570
|
+
* @returns Array where each element is: -2 (field doesn't exist), -1 (no expiration), TTL in seconds
|
|
571
|
+
* @example redis.httl("mykey", "FIELDS", 2, "field1", "field2")
|
|
572
|
+
*/
|
|
573
|
+
httl(
|
|
574
|
+
key: RedisClient.KeyLike,
|
|
575
|
+
fieldsKeyword: "FIELDS",
|
|
576
|
+
numfields: number,
|
|
577
|
+
...fields: RedisClient.KeyLike[]
|
|
578
|
+
): Promise<number[]>;
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* Set multiple hash fields to multiple values
|
|
582
|
+
*
|
|
583
|
+
* @deprecated Use {@link hset} instead. Since Redis 4.0.0, `HSET` supports multiple field-value pairs.
|
|
584
|
+
*
|
|
585
|
+
* @param key The hash key
|
|
586
|
+
* @param fields Object/Record with field-value pairs
|
|
587
|
+
* @returns Promise that resolves with "OK"
|
|
588
|
+
*/
|
|
589
|
+
hmset(key: RedisClient.KeyLike, fields: Record<string | number, RedisClient.KeyLike | number>): Promise<"OK">;
|
|
590
|
+
|
|
591
|
+
/**
|
|
592
|
+
* Set multiple hash fields to multiple values (variadic)
|
|
593
|
+
*
|
|
594
|
+
* @deprecated Use {@link hset} instead. Since Redis 4.0.0, `HSET` supports multiple field-value pairs.
|
|
595
|
+
*
|
|
596
|
+
* @param key The hash key
|
|
597
|
+
* @param field The field name
|
|
598
|
+
* @param value The value to set
|
|
599
|
+
* @param rest Additional field-value pairs
|
|
600
|
+
* @returns Promise that resolves with "OK"
|
|
601
|
+
*/
|
|
602
|
+
hmset(
|
|
603
|
+
key: RedisClient.KeyLike,
|
|
604
|
+
field: RedisClient.KeyLike,
|
|
605
|
+
value: RedisClient.KeyLike,
|
|
606
|
+
...rest: RedisClient.KeyLike[]
|
|
607
|
+
): Promise<"OK">;
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* Set multiple hash fields to multiple values (array syntax, backward compat)
|
|
611
|
+
*
|
|
612
|
+
* @deprecated Use {@link hset} instead. Since Redis 4.0.0, `HSET` supports multiple field-value pairs.
|
|
613
|
+
*
|
|
614
|
+
* @param key The hash key
|
|
615
|
+
* @param fieldValues An array of alternating field names and values
|
|
616
|
+
* @returns Promise that resolves with "OK"
|
|
617
|
+
*/
|
|
618
|
+
hmset(key: RedisClient.KeyLike, fieldValues: RedisClient.KeyLike[]): Promise<"OK">;
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* Get the value of a hash field
|
|
622
|
+
* @param key The hash key
|
|
623
|
+
* @param field The field to get
|
|
624
|
+
* @returns Promise that resolves with the field value or null if the field doesn't exist
|
|
625
|
+
*/
|
|
626
|
+
hget(key: RedisClient.KeyLike, field: RedisClient.KeyLike): Promise<string | null>;
|
|
627
|
+
|
|
628
|
+
/**
|
|
629
|
+
* Get the values of all the given hash fields
|
|
630
|
+
* @param key The hash key
|
|
631
|
+
* @param fields The fields to get
|
|
632
|
+
* @returns Promise that resolves with an array of values
|
|
633
|
+
*/
|
|
634
|
+
hmget(key: RedisClient.KeyLike, ...fields: string[]): Promise<Array<string | null>>;
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* Get the values of all the given hash fields
|
|
638
|
+
* @param key The hash key
|
|
639
|
+
* @param fields The fields to get
|
|
640
|
+
* @returns Promise that resolves with an array of values
|
|
641
|
+
*/
|
|
642
|
+
hmget(key: RedisClient.KeyLike, fields: string[]): Promise<Array<string | null>>;
|
|
643
|
+
|
|
644
|
+
/**
|
|
645
|
+
* Delete one or more hash fields
|
|
646
|
+
* @param key The hash key
|
|
647
|
+
* @param field The field to delete
|
|
648
|
+
* @param rest Additional fields to delete
|
|
649
|
+
* @returns Promise that resolves with the number of fields that were removed
|
|
650
|
+
*/
|
|
651
|
+
hdel(key: RedisClient.KeyLike, field: RedisClient.KeyLike, ...rest: RedisClient.KeyLike[]): Promise<number>;
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* Determine if a hash field exists
|
|
655
|
+
* @param key The hash key
|
|
656
|
+
* @param field The field to check
|
|
657
|
+
* @returns Promise that resolves with true if the field exists, false otherwise
|
|
658
|
+
*/
|
|
659
|
+
hexists(key: RedisClient.KeyLike, field: RedisClient.KeyLike): Promise<boolean>;
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* Get one or multiple random fields from a hash
|
|
663
|
+
* @param key The hash key
|
|
664
|
+
* @returns Promise that resolves with a random field name, or null if the hash doesn't exist
|
|
665
|
+
*/
|
|
666
|
+
hrandfield(key: RedisClient.KeyLike): Promise<string | null>;
|
|
667
|
+
|
|
668
|
+
/**
|
|
669
|
+
* Get one or multiple random fields from a hash
|
|
670
|
+
* @param key The hash key
|
|
671
|
+
* @param count The number of fields to return (positive for unique fields, negative for potentially duplicate fields)
|
|
672
|
+
* @returns Promise that resolves with an array of random field names
|
|
673
|
+
*/
|
|
674
|
+
hrandfield(key: RedisClient.KeyLike, count: number): Promise<string[]>;
|
|
675
|
+
|
|
676
|
+
/**
|
|
677
|
+
* Get one or multiple random fields with values from a hash
|
|
678
|
+
* @param key The hash key
|
|
679
|
+
* @param count The number of fields to return
|
|
680
|
+
* @param withValues Literal "WITHVALUES" to include values
|
|
681
|
+
* @returns Promise that resolves with an array of alternating field names and values
|
|
682
|
+
*/
|
|
683
|
+
hrandfield(key: RedisClient.KeyLike, count: number, withValues: "WITHVALUES"): Promise<[string, string][]>;
|
|
684
|
+
|
|
685
|
+
/**
|
|
686
|
+
* Incrementally iterate hash fields and values
|
|
687
|
+
* @param key The hash key
|
|
688
|
+
* @param cursor The cursor value (0 to start iteration)
|
|
689
|
+
* @returns Promise that resolves with [next_cursor, [field1, value1, field2, value2, ...]]
|
|
690
|
+
*/
|
|
691
|
+
hscan(key: RedisClient.KeyLike, cursor: number | string): Promise<[string, string[]]>;
|
|
692
|
+
|
|
693
|
+
/**
|
|
694
|
+
* Incrementally iterate hash fields and values with pattern matching
|
|
695
|
+
* @param key The hash key
|
|
696
|
+
* @param cursor The cursor value (0 to start iteration)
|
|
697
|
+
* @param match Literal "MATCH"
|
|
698
|
+
* @param pattern Pattern to match field names against
|
|
699
|
+
* @returns Promise that resolves with [next_cursor, [field1, value1, field2, value2, ...]]
|
|
700
|
+
*/
|
|
701
|
+
hscan(
|
|
702
|
+
key: RedisClient.KeyLike,
|
|
703
|
+
cursor: number | string,
|
|
704
|
+
match: "MATCH",
|
|
705
|
+
pattern: string,
|
|
706
|
+
): Promise<[string, string[]]>;
|
|
707
|
+
|
|
708
|
+
/**
|
|
709
|
+
* Incrementally iterate hash fields and values with count limit
|
|
710
|
+
* @param key The hash key
|
|
711
|
+
* @param cursor The cursor value (0 to start iteration)
|
|
712
|
+
* @param count Literal "COUNT"
|
|
713
|
+
* @param limit Maximum number of fields to return per call
|
|
714
|
+
* @returns Promise that resolves with [next_cursor, [field1, value1, field2, value2, ...]]
|
|
715
|
+
*/
|
|
716
|
+
hscan(
|
|
717
|
+
key: RedisClient.KeyLike,
|
|
718
|
+
cursor: number | string,
|
|
719
|
+
count: "COUNT",
|
|
720
|
+
limit: number,
|
|
721
|
+
): Promise<[string, string[]]>;
|
|
722
|
+
|
|
723
|
+
/**
|
|
724
|
+
* Incrementally iterate hash fields and values with pattern and count
|
|
725
|
+
* @param key The hash key
|
|
726
|
+
* @param cursor The cursor value (0 to start iteration)
|
|
727
|
+
* @param match Literal "MATCH"
|
|
728
|
+
* @param pattern Pattern to match field names against
|
|
729
|
+
* @param count Literal "COUNT"
|
|
730
|
+
* @param limit Maximum number of fields to return per call
|
|
731
|
+
* @returns Promise that resolves with [next_cursor, [field1, value1, field2, value2, ...]]
|
|
732
|
+
*/
|
|
733
|
+
hscan(
|
|
734
|
+
key: RedisClient.KeyLike,
|
|
735
|
+
cursor: number | string,
|
|
736
|
+
match: "MATCH",
|
|
737
|
+
pattern: string,
|
|
738
|
+
count: "COUNT",
|
|
739
|
+
limit: number,
|
|
740
|
+
): Promise<[string, string[]]>;
|
|
741
|
+
|
|
742
|
+
/**
|
|
743
|
+
* Check if a value is a member of a set
|
|
744
|
+
* @param key The set key
|
|
745
|
+
* @param member The member to check
|
|
746
|
+
* @returns Promise that resolves with true if the member exists, false
|
|
747
|
+
* otherwise
|
|
748
|
+
*/
|
|
749
|
+
sismember(key: RedisClient.KeyLike, member: string): Promise<boolean>;
|
|
750
|
+
|
|
751
|
+
/**
|
|
752
|
+
* Add one or more members to a set
|
|
753
|
+
* @param key The set key
|
|
754
|
+
* @param members The members to add
|
|
755
|
+
* @returns Promise that resolves with the number of members added
|
|
756
|
+
*/
|
|
757
|
+
sadd(key: RedisClient.KeyLike, ...members: string[]): Promise<number>;
|
|
758
|
+
|
|
759
|
+
/**
|
|
760
|
+
* Remove one or more members from a set
|
|
761
|
+
* @param key The set key
|
|
762
|
+
* @param members The members to remove
|
|
763
|
+
* @returns Promise that resolves with the number of members removed
|
|
764
|
+
*/
|
|
765
|
+
srem(key: RedisClient.KeyLike, ...members: string[]): Promise<number>;
|
|
766
|
+
|
|
767
|
+
/**
|
|
768
|
+
* Move a member from one set to another
|
|
769
|
+
* @param source The source set key
|
|
770
|
+
* @param destination The destination set key
|
|
771
|
+
* @param member The member to move
|
|
772
|
+
* @returns Promise that resolves with true if the element was moved, false if it wasn't a member of source
|
|
773
|
+
*/
|
|
774
|
+
smove(source: RedisClient.KeyLike, destination: RedisClient.KeyLike, member: string): Promise<boolean>;
|
|
775
|
+
|
|
776
|
+
/**
|
|
777
|
+
* Get all the members in a set
|
|
778
|
+
* @param key The set key
|
|
779
|
+
* @returns Promise that resolves with an array of all members
|
|
780
|
+
*/
|
|
781
|
+
smembers(key: RedisClient.KeyLike): Promise<string[]>;
|
|
782
|
+
|
|
783
|
+
/**
|
|
784
|
+
* Get a random member from a set
|
|
785
|
+
* @param key The set key
|
|
786
|
+
* @returns Promise that resolves with a random member, or null if the set
|
|
787
|
+
* is empty
|
|
788
|
+
*/
|
|
789
|
+
srandmember(key: RedisClient.KeyLike): Promise<string | null>;
|
|
790
|
+
|
|
791
|
+
/**
|
|
792
|
+
* Get count random members from a set
|
|
793
|
+
* @param key The set key
|
|
794
|
+
* @returns Promise that resolves with an array of up to count random members, or null if the set
|
|
795
|
+
* doesn't exist
|
|
796
|
+
*/
|
|
797
|
+
srandmember(key: RedisClient.KeyLike, count: number): Promise<string[] | null>;
|
|
798
|
+
|
|
799
|
+
/**
|
|
800
|
+
* Remove and return a random member from a set
|
|
801
|
+
* @param key The set key
|
|
802
|
+
* @returns Promise that resolves with the removed member, or null if the
|
|
803
|
+
* set is empty
|
|
804
|
+
*/
|
|
805
|
+
spop(key: RedisClient.KeyLike): Promise<string | null>;
|
|
806
|
+
|
|
807
|
+
/**
|
|
808
|
+
* Remove and return count members from the set
|
|
809
|
+
* @param key The set key
|
|
810
|
+
* @returns Promise that resolves with the removed members, or null if the
|
|
811
|
+
* set is empty
|
|
812
|
+
*/
|
|
813
|
+
spop(key: RedisClient.KeyLike, count: number): Promise<string[] | null>;
|
|
814
|
+
|
|
815
|
+
/**
|
|
816
|
+
* Post a message to a shard channel
|
|
817
|
+
* @param channel The shard channel name
|
|
818
|
+
* @param message The message to publish
|
|
819
|
+
* @returns Promise that resolves with the number of clients that received the message
|
|
820
|
+
*/
|
|
821
|
+
spublish(channel: RedisClient.KeyLike, message: string): Promise<number>;
|
|
822
|
+
|
|
823
|
+
/**
|
|
824
|
+
* Store the difference of multiple sets in a key
|
|
825
|
+
* @param destination The destination key to store the result
|
|
826
|
+
* @param key The first set key
|
|
827
|
+
* @param keys Additional set keys to subtract from the first set
|
|
828
|
+
* @returns Promise that resolves with the number of elements in the resulting set
|
|
829
|
+
*/
|
|
830
|
+
sdiffstore(
|
|
831
|
+
destination: RedisClient.KeyLike,
|
|
832
|
+
key: RedisClient.KeyLike,
|
|
833
|
+
...keys: RedisClient.KeyLike[]
|
|
834
|
+
): Promise<number>;
|
|
835
|
+
|
|
836
|
+
/**
|
|
837
|
+
* Check if multiple members are members of a set
|
|
838
|
+
* @param key The set key
|
|
839
|
+
* @param member The first member to check
|
|
840
|
+
* @param members Additional members to check
|
|
841
|
+
* @returns Promise that resolves with an array of 1s and 0s indicating membership
|
|
842
|
+
*/
|
|
843
|
+
smismember(
|
|
844
|
+
key: RedisClient.KeyLike,
|
|
845
|
+
member: RedisClient.KeyLike,
|
|
846
|
+
...members: RedisClient.KeyLike[]
|
|
847
|
+
): Promise<number[]>;
|
|
848
|
+
|
|
849
|
+
/**
|
|
850
|
+
* Incrementally iterate over a set
|
|
851
|
+
* @param key The set key
|
|
852
|
+
* @param cursor The cursor value
|
|
853
|
+
* @param args Additional SSCAN options (MATCH pattern, COUNT hint)
|
|
854
|
+
* @returns Promise that resolves with a tuple [cursor, members[]]
|
|
855
|
+
*/
|
|
856
|
+
sscan(key: RedisClient.KeyLike, cursor: number | string, ...args: (string | number)[]): Promise<[string, string[]]>;
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* Increment the integer value of a hash field by the given number
|
|
860
|
+
* @param key The hash key
|
|
861
|
+
* @param field The field to increment
|
|
862
|
+
* @param increment The amount to increment by
|
|
863
|
+
* @returns Promise that resolves with the new value
|
|
864
|
+
*/
|
|
865
|
+
hincrby(key: RedisClient.KeyLike, field: string, increment: string | number): Promise<number>;
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* Increment the float value of a hash field by the given amount
|
|
869
|
+
* @param key The hash key
|
|
870
|
+
* @param field The field to increment
|
|
871
|
+
* @param increment The amount to increment by
|
|
872
|
+
* @returns Promise that resolves with the new value as a string
|
|
873
|
+
*/
|
|
874
|
+
hincrbyfloat(key: RedisClient.KeyLike, field: string, increment: string | number): Promise<string>;
|
|
875
|
+
|
|
876
|
+
/**
|
|
877
|
+
* Get all the fields and values in a hash
|
|
878
|
+
* @param key The hash key
|
|
879
|
+
* @returns Promise that resolves with an object containing all fields and values, or empty object if key does not exist
|
|
880
|
+
*/
|
|
881
|
+
hgetall(key: RedisClient.KeyLike): Promise<Record<string, string>>;
|
|
882
|
+
|
|
883
|
+
/**
|
|
884
|
+
* Get all field names in a hash
|
|
885
|
+
* @param key The hash key
|
|
886
|
+
* @returns Promise that resolves with an array of field names
|
|
887
|
+
*/
|
|
888
|
+
hkeys(key: RedisClient.KeyLike): Promise<string[]>;
|
|
889
|
+
|
|
890
|
+
/**
|
|
891
|
+
* Get the number of fields in a hash
|
|
892
|
+
* @param key The hash key
|
|
893
|
+
* @returns Promise that resolves with the number of fields
|
|
894
|
+
*/
|
|
895
|
+
hlen(key: RedisClient.KeyLike): Promise<number>;
|
|
896
|
+
|
|
897
|
+
/**
|
|
898
|
+
* Get the string length of the value stored in a hash field
|
|
899
|
+
* @param key The hash key
|
|
900
|
+
* @param field The field name
|
|
901
|
+
* @returns Promise that resolves with the length of the string value, or 0 if the field doesn't exist
|
|
902
|
+
*/
|
|
903
|
+
hstrlen(key: RedisClient.KeyLike, field: string): Promise<number>;
|
|
904
|
+
|
|
905
|
+
/**
|
|
906
|
+
* Get all values in a hash
|
|
907
|
+
* @param key The hash key
|
|
908
|
+
* @returns Promise that resolves with an array of values
|
|
909
|
+
*/
|
|
910
|
+
hvals(key: RedisClient.KeyLike): Promise<string[]>;
|
|
911
|
+
|
|
912
|
+
/**
|
|
913
|
+
* Find all keys matching the given pattern
|
|
914
|
+
* @param pattern The pattern to match
|
|
915
|
+
* @returns Promise that resolves with an array of matching keys
|
|
916
|
+
*/
|
|
917
|
+
keys(pattern: string): Promise<string[]>;
|
|
918
|
+
|
|
919
|
+
/**
|
|
920
|
+
* Blocking pop from head of one or more lists
|
|
921
|
+
*
|
|
922
|
+
* Blocks until an element is available in one of the lists or the timeout expires.
|
|
923
|
+
* Checks keys in order and pops from the first non-empty list.
|
|
924
|
+
*
|
|
925
|
+
* @param args Keys followed by timeout in seconds (can be fractional, 0 = block indefinitely)
|
|
926
|
+
* @returns Promise that resolves with [key, element] or null on timeout
|
|
927
|
+
*
|
|
928
|
+
* @example
|
|
929
|
+
* ```ts
|
|
930
|
+
* // Block for up to 1 second
|
|
931
|
+
* const result = await redis.blpop("mylist", 1.0);
|
|
932
|
+
* if (result) {
|
|
933
|
+
* const [key, element] = result;
|
|
934
|
+
* console.log(`Popped ${element} from ${key}`);
|
|
935
|
+
* }
|
|
936
|
+
*
|
|
937
|
+
* // Block indefinitely (timeout = 0)
|
|
938
|
+
* const result2 = await redis.blpop("list1", "list2", 0);
|
|
939
|
+
* ```
|
|
940
|
+
*/
|
|
941
|
+
blpop(...args: (RedisClient.KeyLike | number)[]): Promise<[string, string] | null>;
|
|
942
|
+
|
|
943
|
+
/**
|
|
944
|
+
* Blocking pop from tail of one or more lists
|
|
945
|
+
*
|
|
946
|
+
* Blocks until an element is available in one of the lists or the timeout expires.
|
|
947
|
+
* Checks keys in order and pops from the first non-empty list.
|
|
948
|
+
*
|
|
949
|
+
* @param args Keys followed by timeout in seconds (can be fractional, 0 = block indefinitely)
|
|
950
|
+
* @returns Promise that resolves with [key, element] or null on timeout
|
|
951
|
+
*
|
|
952
|
+
* @example
|
|
953
|
+
* ```ts
|
|
954
|
+
* // Block for up to 1 second
|
|
955
|
+
* const result = await redis.brpop("mylist", 1.0);
|
|
956
|
+
* if (result) {
|
|
957
|
+
* const [key, element] = result;
|
|
958
|
+
* console.log(`Popped ${element} from ${key}`);
|
|
959
|
+
* }
|
|
960
|
+
*
|
|
961
|
+
* // Block indefinitely (timeout = 0)
|
|
962
|
+
* const result2 = await redis.brpop("list1", "list2", 0);
|
|
963
|
+
* ```
|
|
964
|
+
*/
|
|
965
|
+
brpop(...args: (RedisClient.KeyLike | number)[]): Promise<[string, string] | null>;
|
|
966
|
+
|
|
967
|
+
/**
|
|
968
|
+
* Blocking move from one list to another
|
|
969
|
+
*
|
|
970
|
+
* Atomically moves an element from source to destination list, blocking until an element is available
|
|
971
|
+
* or the timeout expires. Allows specifying which end to pop from (LEFT/RIGHT) and which end to push to (LEFT/RIGHT).
|
|
972
|
+
*
|
|
973
|
+
* @param source Source list key
|
|
974
|
+
* @param destination Destination list key
|
|
975
|
+
* @param from Direction to pop from source: "LEFT" or "RIGHT"
|
|
976
|
+
* @param to Direction to push to destination: "LEFT" or "RIGHT"
|
|
977
|
+
* @param timeout Timeout in seconds (can be fractional, 0 = block indefinitely)
|
|
978
|
+
* @returns Promise that resolves with the moved element or null on timeout
|
|
979
|
+
*
|
|
980
|
+
* @example
|
|
981
|
+
* ```ts
|
|
982
|
+
* // Move from right of source to left of destination (like BRPOPLPUSH)
|
|
983
|
+
* const element = await redis.blmove("mylist", "otherlist", "RIGHT", "LEFT", 1.0);
|
|
984
|
+
* if (element) {
|
|
985
|
+
* console.log(`Moved element: ${element}`);
|
|
986
|
+
* }
|
|
987
|
+
*
|
|
988
|
+
* // Move from left to left
|
|
989
|
+
* await redis.blmove("list1", "list2", "LEFT", "LEFT", 0.5);
|
|
990
|
+
* ```
|
|
991
|
+
*/
|
|
992
|
+
blmove(
|
|
993
|
+
source: RedisClient.KeyLike,
|
|
994
|
+
destination: RedisClient.KeyLike,
|
|
995
|
+
from: "LEFT" | "RIGHT",
|
|
996
|
+
to: "LEFT" | "RIGHT",
|
|
997
|
+
timeout: number,
|
|
998
|
+
): Promise<string | null>;
|
|
999
|
+
|
|
1000
|
+
/**
|
|
1001
|
+
* Blocking pop multiple elements from lists
|
|
1002
|
+
*
|
|
1003
|
+
* Blocks until an element is available from one of the specified lists or the timeout expires.
|
|
1004
|
+
* Can pop from the LEFT or RIGHT end and optionally pop multiple elements at once using COUNT.
|
|
1005
|
+
*
|
|
1006
|
+
* @param timeout Timeout in seconds (can be fractional, 0 = block indefinitely)
|
|
1007
|
+
* @param numkeys Number of keys that follow
|
|
1008
|
+
* @param args Keys, direction ("LEFT" or "RIGHT"), and optional COUNT modifier
|
|
1009
|
+
* @returns Promise that resolves with [key, [elements]] or null on timeout
|
|
1010
|
+
*
|
|
1011
|
+
* @example
|
|
1012
|
+
* ```ts
|
|
1013
|
+
* // Pop from left end of first available list, wait 1 second
|
|
1014
|
+
* const result = await redis.blmpop(1.0, 2, "list1", "list2", "LEFT");
|
|
1015
|
+
* if (result) {
|
|
1016
|
+
* const [key, elements] = result;
|
|
1017
|
+
* console.log(`Popped from ${key}: ${elements.join(", ")}`);
|
|
1018
|
+
* }
|
|
1019
|
+
*
|
|
1020
|
+
* // Pop 3 elements from right end
|
|
1021
|
+
* const result2 = await redis.blmpop(0.5, 1, "mylist", "RIGHT", "COUNT", 3);
|
|
1022
|
+
* // Returns: ["mylist", ["elem1", "elem2", "elem3"]] or null if timeout
|
|
1023
|
+
* ```
|
|
1024
|
+
*/
|
|
1025
|
+
blmpop(timeout: number, numkeys: number, ...args: (string | number)[]): Promise<[string, string[]] | null>;
|
|
1026
|
+
|
|
1027
|
+
/**
|
|
1028
|
+
* Blocking right pop from source and left push to destination
|
|
1029
|
+
*
|
|
1030
|
+
* Atomically pops an element from the tail of source list and pushes it to the head of destination list,
|
|
1031
|
+
* blocking until an element is available or the timeout expires. This is the blocking version of RPOPLPUSH.
|
|
1032
|
+
*
|
|
1033
|
+
* @param source Source list key
|
|
1034
|
+
* @param destination Destination list key
|
|
1035
|
+
* @param timeout Timeout in seconds (can be fractional, 0 = block indefinitely)
|
|
1036
|
+
* @returns Promise that resolves with the moved element or null on timeout
|
|
1037
|
+
*
|
|
1038
|
+
* @example
|
|
1039
|
+
* ```ts
|
|
1040
|
+
* // Block for up to 1 second
|
|
1041
|
+
* const element = await redis.brpoplpush("tasks", "processing", 1.0);
|
|
1042
|
+
* if (element) {
|
|
1043
|
+
* console.log(`Processing task: ${element}`);
|
|
1044
|
+
* } else {
|
|
1045
|
+
* console.log("No tasks available");
|
|
1046
|
+
* }
|
|
1047
|
+
*
|
|
1048
|
+
* // Block indefinitely (timeout = 0)
|
|
1049
|
+
* const task = await redis.brpoplpush("queue", "active", 0);
|
|
1050
|
+
* ```
|
|
1051
|
+
*/
|
|
1052
|
+
brpoplpush(source: RedisClient.KeyLike, destination: RedisClient.KeyLike, timeout: number): Promise<string | null>;
|
|
1053
|
+
|
|
1054
|
+
/**
|
|
1055
|
+
* Get element at index from a list
|
|
1056
|
+
* @param key The list key
|
|
1057
|
+
* @param index Zero-based index (negative indexes count from the end, -1 is last element)
|
|
1058
|
+
* @returns Promise that resolves with the element at index, or null if index is out of range
|
|
1059
|
+
*
|
|
1060
|
+
* @example
|
|
1061
|
+
* ```ts
|
|
1062
|
+
* await redis.lpush("mylist", "three", "two", "one");
|
|
1063
|
+
* console.log(await redis.lindex("mylist", 0)); // "one"
|
|
1064
|
+
* console.log(await redis.lindex("mylist", -1)); // "three"
|
|
1065
|
+
* console.log(await redis.lindex("mylist", 5)); // null
|
|
1066
|
+
* ```
|
|
1067
|
+
*/
|
|
1068
|
+
lindex(key: RedisClient.KeyLike, index: number): Promise<string | null>;
|
|
1069
|
+
|
|
1070
|
+
/**
|
|
1071
|
+
* Get the length of a list
|
|
1072
|
+
* @param key The list key
|
|
1073
|
+
* @returns Promise that resolves with the length of the list
|
|
1074
|
+
*/
|
|
1075
|
+
llen(key: RedisClient.KeyLike): Promise<number>;
|
|
1076
|
+
|
|
1077
|
+
/**
|
|
1078
|
+
* Atomically pop an element from a source list and push it to a destination list
|
|
1079
|
+
*
|
|
1080
|
+
* Pops an element from the source list (from LEFT or RIGHT) and pushes it
|
|
1081
|
+
* to the destination list (to LEFT or RIGHT).
|
|
1082
|
+
*
|
|
1083
|
+
* @param source The source list key
|
|
1084
|
+
* @param destination The destination list key
|
|
1085
|
+
* @param from Direction to pop from source: "LEFT" (head) or "RIGHT" (tail)
|
|
1086
|
+
* @param to Direction to push to destination: "LEFT" (head) or "RIGHT" (tail)
|
|
1087
|
+
* @returns Promise that resolves with the element moved, or null if the source list is empty
|
|
1088
|
+
*
|
|
1089
|
+
* @example
|
|
1090
|
+
* ```ts
|
|
1091
|
+
* await redis.lpush("source", "a", "b", "c");
|
|
1092
|
+
* const result1 = await redis.lmove("source", "dest", "LEFT", "RIGHT");
|
|
1093
|
+
* // result1: "c" (popped from head of source, pushed to tail of dest)
|
|
1094
|
+
*
|
|
1095
|
+
* const result2 = await redis.lmove("source", "dest", "RIGHT", "LEFT");
|
|
1096
|
+
* // result2: "a" (popped from tail of source, pushed to head of dest)
|
|
1097
|
+
* ```
|
|
1098
|
+
*/
|
|
1099
|
+
lmove(
|
|
1100
|
+
source: RedisClient.KeyLike,
|
|
1101
|
+
destination: RedisClient.KeyLike,
|
|
1102
|
+
from: "LEFT" | "RIGHT",
|
|
1103
|
+
to: "LEFT" | "RIGHT",
|
|
1104
|
+
): Promise<string | null>;
|
|
1105
|
+
|
|
1106
|
+
/**
|
|
1107
|
+
* Remove and get the first element in a list
|
|
1108
|
+
* @param key The list key
|
|
1109
|
+
* @returns Promise that resolves with the first element, or null if the list is empty
|
|
1110
|
+
*/
|
|
1111
|
+
lpop(key: RedisClient.KeyLike): Promise<string | null>;
|
|
1112
|
+
|
|
1113
|
+
/**
|
|
1114
|
+
* Remove and get the first count elements in a list
|
|
1115
|
+
* @param key The list key
|
|
1116
|
+
* @returns Promise that resolves with a list of elements, or null if the list doesn't exist
|
|
1117
|
+
*/
|
|
1118
|
+
lpop(key: RedisClient.KeyLike, count: number): Promise<string[] | null>;
|
|
1119
|
+
|
|
1120
|
+
/**
|
|
1121
|
+
* Find the position(s) of an element in a list
|
|
1122
|
+
*
|
|
1123
|
+
* Returns the index of matching elements inside a Redis list.
|
|
1124
|
+
* By default, returns the index of the first match. Use RANK to find the nth occurrence,
|
|
1125
|
+
* COUNT to get multiple positions, and MAXLEN to limit the search.
|
|
1126
|
+
*
|
|
1127
|
+
* @param key The list key
|
|
1128
|
+
* @param element The element to search for
|
|
1129
|
+
* @param options Optional arguments: "RANK", rank, "COUNT", num, "MAXLEN", len
|
|
1130
|
+
* @returns Promise that resolves with the index (number), an array of indices (number[]),
|
|
1131
|
+
* or null if element is not found. Returns array when COUNT option is used.
|
|
1132
|
+
*
|
|
1133
|
+
* @example
|
|
1134
|
+
* ```ts
|
|
1135
|
+
* await redis.lpush("mylist", "a", "b", "c", "b", "d");
|
|
1136
|
+
* const pos1 = await redis.lpos("mylist", "b");
|
|
1137
|
+
* // pos1: 1 (first occurrence of "b")
|
|
1138
|
+
*
|
|
1139
|
+
* const pos2 = await redis.lpos("mylist", "b", "RANK", 2);
|
|
1140
|
+
* // pos2: 3 (second occurrence of "b")
|
|
1141
|
+
*
|
|
1142
|
+
* const positions = await redis.lpos("mylist", "b", "COUNT", 0);
|
|
1143
|
+
* // positions: [1, 3] (all occurrences of "b")
|
|
1144
|
+
*
|
|
1145
|
+
* const pos3 = await redis.lpos("mylist", "x");
|
|
1146
|
+
* // pos3: null (element not found)
|
|
1147
|
+
* ```
|
|
1148
|
+
*/
|
|
1149
|
+
lpos(
|
|
1150
|
+
key: RedisClient.KeyLike,
|
|
1151
|
+
element: RedisClient.KeyLike,
|
|
1152
|
+
...options: (string | number)[]
|
|
1153
|
+
): Promise<number | number[] | null>;
|
|
1154
|
+
|
|
1155
|
+
/**
|
|
1156
|
+
* Pop one or more elements from one or more lists
|
|
1157
|
+
*
|
|
1158
|
+
* Pops elements from the first non-empty list in the specified order (LEFT = from head, RIGHT = from tail).
|
|
1159
|
+
* Optionally specify COUNT to pop multiple elements at once.
|
|
1160
|
+
*
|
|
1161
|
+
* @param numkeys The number of keys that follow
|
|
1162
|
+
* @param args Keys followed by LEFT or RIGHT, optionally followed by "COUNT" and count value
|
|
1163
|
+
* @returns Promise that resolves with [key, [elements]] or null if all lists are empty
|
|
1164
|
+
*
|
|
1165
|
+
* @example
|
|
1166
|
+
* ```ts
|
|
1167
|
+
* await redis.lpush("list1", "a", "b", "c");
|
|
1168
|
+
* const result1 = await redis.lmpop(1, "list1", "LEFT");
|
|
1169
|
+
* // result1: ["list1", ["c"]]
|
|
1170
|
+
*
|
|
1171
|
+
* const result2 = await redis.lmpop(1, "list1", "RIGHT", "COUNT", 2);
|
|
1172
|
+
* // result2: ["list1", ["a", "b"]]
|
|
1173
|
+
*
|
|
1174
|
+
* const result3 = await redis.lmpop(2, "emptylist", "list1", "LEFT");
|
|
1175
|
+
* // result3: null (if both lists are empty)
|
|
1176
|
+
* ```
|
|
1177
|
+
*/
|
|
1178
|
+
lmpop(numkeys: number, ...args: (string | number)[]): Promise<[string, string[]] | null>;
|
|
1179
|
+
|
|
1180
|
+
/**
|
|
1181
|
+
* Get a range of elements from a list
|
|
1182
|
+
* @param key The list key
|
|
1183
|
+
* @param start Zero-based start index (negative indexes count from the end)
|
|
1184
|
+
* @param stop Zero-based stop index (negative indexes count from the end)
|
|
1185
|
+
* @returns Promise that resolves with array of elements in the specified range
|
|
1186
|
+
*
|
|
1187
|
+
* @example
|
|
1188
|
+
* ```ts
|
|
1189
|
+
* await redis.lpush("mylist", "three", "two", "one");
|
|
1190
|
+
* console.log(await redis.lrange("mylist", 0, -1)); // ["one", "two", "three"]
|
|
1191
|
+
* console.log(await redis.lrange("mylist", 0, 1)); // ["one", "two"]
|
|
1192
|
+
* console.log(await redis.lrange("mylist", -2, -1)); // ["two", "three"]
|
|
1193
|
+
* ```
|
|
1194
|
+
*/
|
|
1195
|
+
lrange(key: RedisClient.KeyLike, start: number, stop: number): Promise<string[]>;
|
|
1196
|
+
|
|
1197
|
+
/**
|
|
1198
|
+
* Set element at index in a list
|
|
1199
|
+
* @param key The list key
|
|
1200
|
+
* @param index Zero-based index (negative indexes count from the end)
|
|
1201
|
+
* @param element The value to set
|
|
1202
|
+
* @returns Promise that resolves with "OK" on success
|
|
1203
|
+
*
|
|
1204
|
+
* @example
|
|
1205
|
+
* ```ts
|
|
1206
|
+
* await redis.lpush("mylist", "three", "two", "one");
|
|
1207
|
+
* await redis.lset("mylist", 0, "zero");
|
|
1208
|
+
* console.log(await redis.lrange("mylist", 0, -1)); // ["zero", "two", "three"]
|
|
1209
|
+
* await redis.lset("mylist", -1, "last");
|
|
1210
|
+
* console.log(await redis.lrange("mylist", 0, -1)); // ["zero", "two", "last"]
|
|
1211
|
+
* ```
|
|
1212
|
+
*/
|
|
1213
|
+
lset(key: RedisClient.KeyLike, index: number, element: RedisClient.KeyLike): Promise<string>;
|
|
1214
|
+
|
|
1215
|
+
/**
|
|
1216
|
+
* Remove the expiration from a key
|
|
1217
|
+
* @param key The key to persist
|
|
1218
|
+
* @returns Promise that resolves with 1 if the timeout was removed, 0 if
|
|
1219
|
+
* the key doesn't exist or has no timeout
|
|
1220
|
+
*/
|
|
1221
|
+
persist(key: RedisClient.KeyLike): Promise<number>;
|
|
1222
|
+
|
|
1223
|
+
/**
|
|
1224
|
+
* Set the expiration for a key as a Unix timestamp in milliseconds
|
|
1225
|
+
* @param key The key to set expiration on
|
|
1226
|
+
* @param millisecondsTimestamp Unix timestamp in milliseconds when the key should expire
|
|
1227
|
+
* @returns Promise that resolves with 1 if timeout was set, 0 if key does not exist
|
|
1228
|
+
*/
|
|
1229
|
+
pexpireat(key: RedisClient.KeyLike, millisecondsTimestamp: number): Promise<number>;
|
|
1230
|
+
|
|
1231
|
+
/**
|
|
1232
|
+
* Get the expiration time of a key as a UNIX timestamp in milliseconds
|
|
1233
|
+
* @param key The key to check
|
|
1234
|
+
* @returns Promise that resolves with the timestamp, or -1 if the key has
|
|
1235
|
+
* no expiration, or -2 if the key doesn't exist
|
|
1236
|
+
*/
|
|
1237
|
+
pexpiretime(key: RedisClient.KeyLike): Promise<number>;
|
|
1238
|
+
|
|
1239
|
+
/**
|
|
1240
|
+
* Get the time to live for a key in milliseconds
|
|
1241
|
+
* @param key The key to check
|
|
1242
|
+
* @returns Promise that resolves with the TTL in milliseconds, or -1 if the
|
|
1243
|
+
* key has no expiration, or -2 if the key doesn't exist
|
|
1244
|
+
*/
|
|
1245
|
+
pttl(key: RedisClient.KeyLike): Promise<number>;
|
|
1246
|
+
|
|
1247
|
+
/**
|
|
1248
|
+
* Return a random key from the keyspace
|
|
1249
|
+
*
|
|
1250
|
+
* Returns a random key from the currently selected database.
|
|
1251
|
+
*
|
|
1252
|
+
* @returns Promise that resolves with a random key name, or null if the
|
|
1253
|
+
* database is empty
|
|
1254
|
+
*
|
|
1255
|
+
* @example
|
|
1256
|
+
* ```ts
|
|
1257
|
+
* await redis.set("key1", "value1");
|
|
1258
|
+
* await redis.set("key2", "value2");
|
|
1259
|
+
* await redis.set("key3", "value3");
|
|
1260
|
+
* const randomKey = await redis.randomkey();
|
|
1261
|
+
* console.log(randomKey); // One of: "key1", "key2", or "key3"
|
|
1262
|
+
* ```
|
|
1263
|
+
*/
|
|
1264
|
+
randomkey(): Promise<string | null>;
|
|
1265
|
+
|
|
1266
|
+
/**
|
|
1267
|
+
* Remove and get the last element in a list
|
|
1268
|
+
* @param key The list key
|
|
1269
|
+
* @returns Promise that resolves with the last element, or null if the list is empty
|
|
1270
|
+
*/
|
|
1271
|
+
rpop(key: RedisClient.KeyLike): Promise<string | null>;
|
|
1272
|
+
|
|
1273
|
+
/**
|
|
1274
|
+
* Remove and get the last element in a list
|
|
1275
|
+
* @param key The list key
|
|
1276
|
+
* @returns Promise that resolves with the last element, or null if the list is empty
|
|
1277
|
+
*/
|
|
1278
|
+
rpop(key: RedisClient.KeyLike, count: number): Promise<string[]>;
|
|
1279
|
+
|
|
1280
|
+
/**
|
|
1281
|
+
* Atomically pop the last element from a source list and push it to the head of a destination list
|
|
1282
|
+
*
|
|
1283
|
+
* This is equivalent to LMOVE with "RIGHT" "LEFT". It's an atomic operation that removes
|
|
1284
|
+
* the last element (tail) from the source list and pushes it to the head of the destination list.
|
|
1285
|
+
*
|
|
1286
|
+
* @param source The source list key
|
|
1287
|
+
* @param destination The destination list key
|
|
1288
|
+
* @returns Promise that resolves with the element moved, or null if the source list is empty
|
|
1289
|
+
*
|
|
1290
|
+
* @example
|
|
1291
|
+
* ```ts
|
|
1292
|
+
* await redis.lpush("source", "a", "b", "c");
|
|
1293
|
+
* // source: ["c", "b", "a"]
|
|
1294
|
+
*
|
|
1295
|
+
* const result = await redis.rpoplpush("source", "dest");
|
|
1296
|
+
* // result: "a" (removed from tail of source, added to head of dest)
|
|
1297
|
+
* // source: ["c", "b"]
|
|
1298
|
+
* // dest: ["a"]
|
|
1299
|
+
* ```
|
|
1300
|
+
*/
|
|
1301
|
+
rpoplpush(source: RedisClient.KeyLike, destination: RedisClient.KeyLike): Promise<string | null>;
|
|
1302
|
+
|
|
1303
|
+
/**
|
|
1304
|
+
* Incrementally iterate the keyspace
|
|
1305
|
+
*
|
|
1306
|
+
* The SCAN command is used to incrementally iterate over a collection of
|
|
1307
|
+
* elements. SCAN iterates the set of keys in the currently selected Redis
|
|
1308
|
+
* database.
|
|
1309
|
+
*
|
|
1310
|
+
* SCAN is a cursor based iterator. This means that at every call of the
|
|
1311
|
+
* command, the server returns an updated cursor that the user needs to use
|
|
1312
|
+
* as the cursor argument in the next call.
|
|
1313
|
+
*
|
|
1314
|
+
* An iteration starts when the cursor is set to "0", and terminates when
|
|
1315
|
+
* the cursor returned by the server is "0".
|
|
1316
|
+
*
|
|
1317
|
+
* @param cursor The cursor value (use "0" to start a new iteration)
|
|
1318
|
+
* @returns Promise that resolves with a tuple [cursor, keys[]] where cursor
|
|
1319
|
+
* is the next cursor to use (or "0" if iteration is complete) and keys is
|
|
1320
|
+
* an array of matching keys
|
|
1321
|
+
*
|
|
1322
|
+
* @example
|
|
1323
|
+
* ```ts
|
|
1324
|
+
* // Basic scan - iterate all keys
|
|
1325
|
+
* let cursor = "0";
|
|
1326
|
+
* const allKeys: string[] = [];
|
|
1327
|
+
* do {
|
|
1328
|
+
* const [nextCursor, keys] = await redis.scan(cursor);
|
|
1329
|
+
* allKeys.push(...keys);
|
|
1330
|
+
* cursor = nextCursor;
|
|
1331
|
+
* } while (cursor !== "0");
|
|
1332
|
+
* ```
|
|
1333
|
+
*
|
|
1334
|
+
* @example
|
|
1335
|
+
* ```ts
|
|
1336
|
+
* // Scan with MATCH pattern
|
|
1337
|
+
* const [cursor, keys] = await redis.scan("0", "MATCH", "user:*");
|
|
1338
|
+
* ```
|
|
1339
|
+
*
|
|
1340
|
+
* @example
|
|
1341
|
+
* ```ts
|
|
1342
|
+
* // Scan with COUNT hint
|
|
1343
|
+
* const [cursor, keys] = await redis.scan("0", "COUNT", "100");
|
|
1344
|
+
* ```
|
|
1345
|
+
*/
|
|
1346
|
+
scan(cursor: string | number): Promise<[string, string[]]>;
|
|
1347
|
+
|
|
1348
|
+
/**
|
|
1349
|
+
* Incrementally iterate the keyspace with a pattern match
|
|
1350
|
+
*
|
|
1351
|
+
* @param cursor The cursor value (use "0" to start a new iteration)
|
|
1352
|
+
* @param match The "MATCH" keyword
|
|
1353
|
+
* @param pattern The pattern to match (supports glob-style patterns like "user:*")
|
|
1354
|
+
* @returns Promise that resolves with a tuple [cursor, keys[]]
|
|
1355
|
+
*/
|
|
1356
|
+
scan(cursor: string | number, match: "MATCH", pattern: string): Promise<[string, string[]]>;
|
|
1357
|
+
|
|
1358
|
+
/**
|
|
1359
|
+
* Incrementally iterate the keyspace with a count hint
|
|
1360
|
+
*
|
|
1361
|
+
* @param cursor The cursor value (use "0" to start a new iteration)
|
|
1362
|
+
* @param count The "COUNT" keyword
|
|
1363
|
+
* @param hint The number of elements to return per call (hint only, not exact)
|
|
1364
|
+
* @returns Promise that resolves with a tuple [cursor, keys[]]
|
|
1365
|
+
*/
|
|
1366
|
+
scan(cursor: string | number, count: "COUNT", hint: number): Promise<[string, string[]]>;
|
|
1367
|
+
|
|
1368
|
+
/**
|
|
1369
|
+
* Incrementally iterate the keyspace with pattern match and count hint
|
|
1370
|
+
*
|
|
1371
|
+
* @param cursor The cursor value (use "0" to start a new iteration)
|
|
1372
|
+
* @param match The "MATCH" keyword
|
|
1373
|
+
* @param pattern The pattern to match
|
|
1374
|
+
* @param count The "COUNT" keyword
|
|
1375
|
+
* @param hint The number of elements to return per call
|
|
1376
|
+
* @returns Promise that resolves with a tuple [cursor, keys[]]
|
|
1377
|
+
*/
|
|
1378
|
+
scan(
|
|
1379
|
+
cursor: string | number,
|
|
1380
|
+
match: "MATCH",
|
|
1381
|
+
pattern: string,
|
|
1382
|
+
count: "COUNT",
|
|
1383
|
+
hint: number,
|
|
1384
|
+
): Promise<[string, string[]]>;
|
|
1385
|
+
|
|
1386
|
+
/**
|
|
1387
|
+
* Incrementally iterate the keyspace with options
|
|
1388
|
+
*
|
|
1389
|
+
* @param cursor The cursor value
|
|
1390
|
+
* @param options Additional SCAN options (MATCH pattern, COUNT hint, etc.)
|
|
1391
|
+
* @returns Promise that resolves with a tuple [cursor, keys[]]
|
|
1392
|
+
*/
|
|
1393
|
+
scan(cursor: string | number, ...options: (string | number)[]): Promise<[string, string[]]>;
|
|
1394
|
+
|
|
1395
|
+
/**
|
|
1396
|
+
* Get the number of members in a set
|
|
1397
|
+
* @param key The set key
|
|
1398
|
+
* @returns Promise that resolves with the cardinality (number of elements)
|
|
1399
|
+
* of the set
|
|
1400
|
+
*/
|
|
1401
|
+
scard(key: RedisClient.KeyLike): Promise<number>;
|
|
1402
|
+
|
|
1403
|
+
/**
|
|
1404
|
+
* Get the difference of multiple sets
|
|
1405
|
+
* @param key The first set key
|
|
1406
|
+
* @param keys Additional set keys to subtract from the first set
|
|
1407
|
+
* @returns Promise that resolves with an array of members in the difference
|
|
1408
|
+
*/
|
|
1409
|
+
sdiff(key: RedisClient.KeyLike, ...keys: RedisClient.KeyLike[]): Promise<string[]>;
|
|
1410
|
+
|
|
1411
|
+
/**
|
|
1412
|
+
* Get the intersection of multiple sets
|
|
1413
|
+
* @param key The first set key
|
|
1414
|
+
* @param keys Additional set keys to intersect
|
|
1415
|
+
* @returns Promise that resolves with an array of members in the intersection
|
|
1416
|
+
*/
|
|
1417
|
+
sinter(key: RedisClient.KeyLike, ...keys: RedisClient.KeyLike[]): Promise<string[]>;
|
|
1418
|
+
|
|
1419
|
+
/**
|
|
1420
|
+
* Store the intersection of multiple sets in a key
|
|
1421
|
+
* @param destination The destination key to store the result
|
|
1422
|
+
* @param key The first set key
|
|
1423
|
+
* @param keys Additional set keys to intersect
|
|
1424
|
+
* @returns Promise that resolves with the number of elements in the resulting set
|
|
1425
|
+
*/
|
|
1426
|
+
sinterstore(
|
|
1427
|
+
destination: RedisClient.KeyLike,
|
|
1428
|
+
key: RedisClient.KeyLike,
|
|
1429
|
+
...keys: RedisClient.KeyLike[]
|
|
1430
|
+
): Promise<number>;
|
|
1431
|
+
|
|
1432
|
+
/**
|
|
1433
|
+
* Get the cardinality of the intersection of multiple sets
|
|
1434
|
+
* @param numkeys The number of keys to intersect
|
|
1435
|
+
* @param key The first set key
|
|
1436
|
+
* @param args Additional set keys and optional LIMIT argument
|
|
1437
|
+
* @returns Promise that resolves with the number of elements in the intersection
|
|
1438
|
+
*/
|
|
1439
|
+
sintercard(
|
|
1440
|
+
numkeys: number,
|
|
1441
|
+
key: RedisClient.KeyLike,
|
|
1442
|
+
...args: (RedisClient.KeyLike | "LIMIT" | number)[]
|
|
1443
|
+
): Promise<number>;
|
|
1444
|
+
|
|
1445
|
+
/**
|
|
1446
|
+
* Get the length of the value stored in a key
|
|
1447
|
+
* @param key The key to check
|
|
1448
|
+
* @returns Promise that resolves with the length of the string value, or 0
|
|
1449
|
+
* if the key doesn't exist
|
|
1450
|
+
*/
|
|
1451
|
+
strlen(key: RedisClient.KeyLike): Promise<number>;
|
|
1452
|
+
|
|
1453
|
+
/**
|
|
1454
|
+
* Get the union of multiple sets
|
|
1455
|
+
* @param key The first set key
|
|
1456
|
+
* @param keys Additional set keys to union
|
|
1457
|
+
* @returns Promise that resolves with an array of members in the union
|
|
1458
|
+
*/
|
|
1459
|
+
sunion(key: RedisClient.KeyLike, ...keys: RedisClient.KeyLike[]): Promise<string[]>;
|
|
1460
|
+
|
|
1461
|
+
/**
|
|
1462
|
+
* Store the union of multiple sets in a key
|
|
1463
|
+
* @param destination The destination key to store the result
|
|
1464
|
+
* @param key The first set key
|
|
1465
|
+
* @param keys Additional set keys to union
|
|
1466
|
+
* @returns Promise that resolves with the number of elements in the resulting set
|
|
1467
|
+
*/
|
|
1468
|
+
sunionstore(
|
|
1469
|
+
destination: RedisClient.KeyLike,
|
|
1470
|
+
key: RedisClient.KeyLike,
|
|
1471
|
+
...keys: RedisClient.KeyLike[]
|
|
1472
|
+
): Promise<number>;
|
|
1473
|
+
|
|
1474
|
+
/**
|
|
1475
|
+
* Determine the type of value stored at key
|
|
1476
|
+
*
|
|
1477
|
+
* The TYPE command returns the string representation of the type of the
|
|
1478
|
+
* value stored at key. The different types that can be returned are:
|
|
1479
|
+
* string, list, set, zset, hash and stream.
|
|
1480
|
+
*
|
|
1481
|
+
* @param key The key to check
|
|
1482
|
+
* @returns Promise that resolves with the type of value stored at key, or
|
|
1483
|
+
* "none" if the key doesn't exist
|
|
1484
|
+
*
|
|
1485
|
+
* @example
|
|
1486
|
+
* ```ts
|
|
1487
|
+
* await redis.set("mykey", "Hello");
|
|
1488
|
+
* console.log(await redis.type("mykey")); // "string"
|
|
1489
|
+
*
|
|
1490
|
+
* await redis.lpush("mylist", "value");
|
|
1491
|
+
* console.log(await redis.type("mylist")); // "list"
|
|
1492
|
+
*
|
|
1493
|
+
* await redis.sadd("myset", "value");
|
|
1494
|
+
* console.log(await redis.type("myset")); // "set"
|
|
1495
|
+
*
|
|
1496
|
+
* await redis.hset("myhash", "field", "value");
|
|
1497
|
+
* console.log(await redis.type("myhash")); // "hash"
|
|
1498
|
+
*
|
|
1499
|
+
* console.log(await redis.type("nonexistent")); // "none"
|
|
1500
|
+
* ```
|
|
1501
|
+
*/
|
|
1502
|
+
type(key: RedisClient.KeyLike): Promise<"none" | "string" | "list" | "set" | "zset" | "hash" | "stream">;
|
|
1503
|
+
|
|
1504
|
+
/**
|
|
1505
|
+
* Get the number of members in a sorted set
|
|
1506
|
+
* @param key The sorted set key
|
|
1507
|
+
* @returns Promise that resolves with the cardinality (number of elements)
|
|
1508
|
+
* of the sorted set
|
|
1509
|
+
*/
|
|
1510
|
+
zcard(key: RedisClient.KeyLike): Promise<number>;
|
|
1511
|
+
|
|
1512
|
+
/**
|
|
1513
|
+
* Count the members in a sorted set with scores within the given range
|
|
1514
|
+
* @param key The sorted set key
|
|
1515
|
+
* @param min Minimum score (inclusive, use "-inf" for negative infinity)
|
|
1516
|
+
* @param max Maximum score (inclusive, use "+inf" for positive infinity)
|
|
1517
|
+
* @returns Promise that resolves with the count of elements in the specified score range
|
|
1518
|
+
*/
|
|
1519
|
+
zcount(key: RedisClient.KeyLike, min: string | number, max: string | number): Promise<number>;
|
|
1520
|
+
|
|
1521
|
+
/**
|
|
1522
|
+
* Count the members in a sorted set within a lexicographical range
|
|
1523
|
+
* @param key The sorted set key
|
|
1524
|
+
* @param min Minimum value (use "[" for inclusive, "(" for exclusive, e.g., "[aaa")
|
|
1525
|
+
* @param max Maximum value (use "[" for inclusive, "(" for exclusive, e.g., "[zzz")
|
|
1526
|
+
* @returns Promise that resolves with the count of elements in the specified range
|
|
1527
|
+
*/
|
|
1528
|
+
zlexcount(key: RedisClient.KeyLike, min: string, max: string): Promise<number>;
|
|
1529
|
+
|
|
1530
|
+
/**
|
|
1531
|
+
* Remove and return members with the highest scores in a sorted set
|
|
1532
|
+
* @param key The sorted set key
|
|
1533
|
+
* @returns Promise that resolves with either [member, score] or empty
|
|
1534
|
+
* array if the set is empty
|
|
1535
|
+
*/
|
|
1536
|
+
zpopmax(key: RedisClient.KeyLike): Promise<[string, number] | []>;
|
|
1537
|
+
|
|
1538
|
+
/**
|
|
1539
|
+
* Remove and return members with the highest scores in a sorted set
|
|
1540
|
+
* @param key The sorted set key
|
|
1541
|
+
* @param count Optional number of members to pop (default: 1)
|
|
1542
|
+
* @returns Promise that resolves with an array of [member, score] tuples
|
|
1543
|
+
*/
|
|
1544
|
+
zpopmax(key: RedisClient.KeyLike, count: number): Promise<Array<[string, number]>>;
|
|
1545
|
+
|
|
1546
|
+
/**
|
|
1547
|
+
* Remove and return members with the lowest scores in a sorted set
|
|
1548
|
+
* @param key The sorted set key
|
|
1549
|
+
* @returns Promise that resolves with array of [member, score] tuples, or
|
|
1550
|
+
* empty array if the set is empty
|
|
1551
|
+
*/
|
|
1552
|
+
zpopmin(key: RedisClient.KeyLike): Promise<[string, number] | []>;
|
|
1553
|
+
|
|
1554
|
+
/**
|
|
1555
|
+
* Remove and return members with the lowest scores in a sorted set
|
|
1556
|
+
* @param key The sorted set key
|
|
1557
|
+
* @param count Optional number of members to pop (default: 1)
|
|
1558
|
+
* @returns Promise that resolves with an array of [member, score] tuples
|
|
1559
|
+
*/
|
|
1560
|
+
zpopmin(key: RedisClient.KeyLike, count: number): Promise<[string, number][]>;
|
|
1561
|
+
|
|
1562
|
+
/**
|
|
1563
|
+
* Remove and return the member with the lowest score from one or more sorted sets, or block until one is available
|
|
1564
|
+
* @param args Keys followed by timeout in seconds (e.g., "key1", "key2", 1.0)
|
|
1565
|
+
* @returns Promise that resolves with [key, member, score] or null if timeout
|
|
1566
|
+
* @example
|
|
1567
|
+
* ```ts
|
|
1568
|
+
* // Block for up to 1 second waiting for an element
|
|
1569
|
+
* const result = await redis.bzpopmin("myzset", 1.0);
|
|
1570
|
+
* if (result) {
|
|
1571
|
+
* const [key, member, score] = result;
|
|
1572
|
+
* console.log(`Popped ${member} with score ${score} from ${key}`);
|
|
1573
|
+
* }
|
|
1574
|
+
* ```
|
|
1575
|
+
*/
|
|
1576
|
+
bzpopmin(...args: (RedisClient.KeyLike | number)[]): Promise<[string, string, number] | null>;
|
|
1577
|
+
|
|
1578
|
+
/**
|
|
1579
|
+
* Remove and return the member with the highest score from one or more sorted sets, or block until one is available
|
|
1580
|
+
* @param args Keys followed by timeout in seconds (e.g., "key1", "key2", 1.0)
|
|
1581
|
+
* @returns Promise that resolves with [key, member, score] or null if timeout
|
|
1582
|
+
* @example
|
|
1583
|
+
* ```ts
|
|
1584
|
+
* // Block for up to 1 second waiting for an element
|
|
1585
|
+
* const result = await redis.bzpopmax("myzset", 1.0);
|
|
1586
|
+
* if (result) {
|
|
1587
|
+
* const [key, member, score] = result;
|
|
1588
|
+
* console.log(`Popped ${member} with score ${score} from ${key}`);
|
|
1589
|
+
* }
|
|
1590
|
+
* ```
|
|
1591
|
+
*/
|
|
1592
|
+
bzpopmax(...args: (RedisClient.KeyLike | number)[]): Promise<[string, string, number] | null>;
|
|
1593
|
+
|
|
1594
|
+
/**
|
|
1595
|
+
* Get one or multiple random members from a sorted set
|
|
1596
|
+
* @param key The sorted set key
|
|
1597
|
+
* @returns Promise that resolves with a random member, or null if the set
|
|
1598
|
+
* is empty
|
|
1599
|
+
*/
|
|
1600
|
+
zrandmember(key: RedisClient.KeyLike): Promise<string | null>;
|
|
1601
|
+
|
|
1602
|
+
/**
|
|
1603
|
+
* Get one or multiple random members from a sorted set
|
|
1604
|
+
* @param key The sorted set key
|
|
1605
|
+
* @returns Promise that resolves with a random member, or null if the set
|
|
1606
|
+
* is empty
|
|
1607
|
+
*/
|
|
1608
|
+
zrandmember(key: RedisClient.KeyLike, count: number): Promise<string[] | null>;
|
|
1609
|
+
|
|
1610
|
+
/**
|
|
1611
|
+
* Get one or multiple random members from a sorted set, with scores
|
|
1612
|
+
* @param key The sorted set key
|
|
1613
|
+
* @returns Promise that resolves with a random member, or null if the set
|
|
1614
|
+
* is empty
|
|
1615
|
+
*/
|
|
1616
|
+
zrandmember(key: RedisClient.KeyLike, count: number, withscores: "WITHSCORES"): Promise<[string, number][] | null>;
|
|
1617
|
+
|
|
1618
|
+
/**
|
|
1619
|
+
* Return a range of members in a sorted set with their scores
|
|
1620
|
+
*
|
|
1621
|
+
* @param key The sorted set key
|
|
1622
|
+
* @param start The starting index
|
|
1623
|
+
* @param stop The stopping index
|
|
1624
|
+
* @param withscores Return members with their scores
|
|
1625
|
+
* @returns Promise that resolves with an array of [member, score, member, score, ...]
|
|
1626
|
+
*
|
|
1627
|
+
* @example
|
|
1628
|
+
* ```ts
|
|
1629
|
+
* const results = await redis.zrange("myzset", 0, -1, "WITHSCORES");
|
|
1630
|
+
* // Returns ["member1", "1.5", "member2", "2.5", ...]
|
|
1631
|
+
* ```
|
|
1632
|
+
*/
|
|
1633
|
+
zrange(
|
|
1634
|
+
key: RedisClient.KeyLike,
|
|
1635
|
+
start: string | number,
|
|
1636
|
+
stop: string | number,
|
|
1637
|
+
withscores: "WITHSCORES",
|
|
1638
|
+
): Promise<[string, number][]>;
|
|
1639
|
+
|
|
1640
|
+
/**
|
|
1641
|
+
* Return a range of members in a sorted set by score
|
|
1642
|
+
*
|
|
1643
|
+
* @param key The sorted set key
|
|
1644
|
+
* @param start The minimum score (use "-inf" for negative infinity, "(" prefix for exclusive)
|
|
1645
|
+
* @param stop The maximum score (use "+inf" for positive infinity, "(" prefix for exclusive)
|
|
1646
|
+
* @param byscore Indicates score-based range
|
|
1647
|
+
* @returns Promise that resolves with an array of members with scores in the range
|
|
1648
|
+
*
|
|
1649
|
+
* @example
|
|
1650
|
+
* ```ts
|
|
1651
|
+
* // Get members with score between 1 and 3
|
|
1652
|
+
* const members = await redis.zrange("myzset", "1", "3", "BYSCORE");
|
|
1653
|
+
*
|
|
1654
|
+
* // Get members with score > 1 and <= 3 (exclusive start)
|
|
1655
|
+
* const members2 = await redis.zrange("myzset", "(1", "3", "BYSCORE");
|
|
1656
|
+
* ```
|
|
1657
|
+
*/
|
|
1658
|
+
zrange(
|
|
1659
|
+
key: RedisClient.KeyLike,
|
|
1660
|
+
start: string | number,
|
|
1661
|
+
stop: string | number,
|
|
1662
|
+
byscore: "BYSCORE",
|
|
1663
|
+
): Promise<string[]>;
|
|
1664
|
+
|
|
1665
|
+
/**
|
|
1666
|
+
* Return a range of members in a sorted set lexicographically
|
|
1667
|
+
*
|
|
1668
|
+
* @param key The sorted set key
|
|
1669
|
+
* @param start The minimum lexicographical value (use "-" for start, "[" for inclusive, "(" for exclusive)
|
|
1670
|
+
* @param stop The maximum lexicographical value (use "+" for end, "[" for inclusive, "(" for exclusive)
|
|
1671
|
+
* @param bylex Indicates lexicographical range
|
|
1672
|
+
* @returns Promise that resolves with an array of members in the lexicographical range
|
|
1673
|
+
*
|
|
1674
|
+
* @example
|
|
1675
|
+
* ```ts
|
|
1676
|
+
* // Get members lexicographically from "a" to "c" (inclusive)
|
|
1677
|
+
* const members = await redis.zrange("myzset", "[a", "[c", "BYLEX");
|
|
1678
|
+
* ```
|
|
1679
|
+
*/
|
|
1680
|
+
zrange(key: RedisClient.KeyLike, start: string, stop: string, bylex: "BYLEX"): Promise<string[]>;
|
|
1681
|
+
|
|
1682
|
+
/**
|
|
1683
|
+
* Return a range of members in a sorted set with various options
|
|
1684
|
+
*
|
|
1685
|
+
* @param key The sorted set key
|
|
1686
|
+
* @param start The starting value (index, score, or lex depending on options)
|
|
1687
|
+
* @param stop The stopping value
|
|
1688
|
+
* @param options Additional options (BYSCORE, BYLEX, REV, LIMIT offset count, WITHSCORES)
|
|
1689
|
+
* @returns Promise that resolves with an array of members (or with scores if WITHSCORES)
|
|
1690
|
+
*
|
|
1691
|
+
* @example
|
|
1692
|
+
* ```ts
|
|
1693
|
+
* // Get members by score with limit
|
|
1694
|
+
* const members = await redis.zrange("myzset", "1", "10", "BYSCORE", "LIMIT", "0", "5");
|
|
1695
|
+
*
|
|
1696
|
+
* // Get members in reverse order with scores
|
|
1697
|
+
* const reversed = await redis.zrange("myzset", "0", "-1", "REV", "WITHSCORES");
|
|
1698
|
+
* ```
|
|
1699
|
+
*/
|
|
1700
|
+
zrange(
|
|
1701
|
+
key: RedisClient.KeyLike,
|
|
1702
|
+
start: string | number,
|
|
1703
|
+
stop: string | number,
|
|
1704
|
+
...options: string[]
|
|
1705
|
+
): Promise<string[]>;
|
|
1706
|
+
|
|
1707
|
+
/**
|
|
1708
|
+
* Return a range of members in a sorted set
|
|
1709
|
+
*
|
|
1710
|
+
* Returns the specified range of elements in the sorted set stored at key.
|
|
1711
|
+
* The elements are considered to be ordered from the lowest to the highest score by default.
|
|
1712
|
+
*
|
|
1713
|
+
* @param key The sorted set key
|
|
1714
|
+
* @param start The starting index (0-based, can be negative to count from end)
|
|
1715
|
+
* @param stop The stopping index (0-based, can be negative to count from end)
|
|
1716
|
+
* @returns Promise that resolves with an array of members in the specified range
|
|
1717
|
+
*
|
|
1718
|
+
* @example
|
|
1719
|
+
* ```ts
|
|
1720
|
+
* // Get all members
|
|
1721
|
+
* const members = await redis.zrange("myzset", 0, -1);
|
|
1722
|
+
*
|
|
1723
|
+
* // Get first 3 members
|
|
1724
|
+
* const top3 = await redis.zrange("myzset", 0, 2);
|
|
1725
|
+
* ```
|
|
1726
|
+
*/
|
|
1727
|
+
zrange(key: RedisClient.KeyLike, start: string | number, stop: string | number): Promise<string[]>;
|
|
1728
|
+
|
|
1729
|
+
/**
|
|
1730
|
+
* Return a range of members in a sorted set, by index, with scores ordered from high to low
|
|
1731
|
+
*
|
|
1732
|
+
* This is equivalent to ZRANGE with the REV option. Returns members in reverse order.
|
|
1733
|
+
*
|
|
1734
|
+
* @param key The sorted set key
|
|
1735
|
+
* @param start The starting index (0-based, can be negative to count from end)
|
|
1736
|
+
* @param stop The stopping index (0-based, can be negative to count from end)
|
|
1737
|
+
* @returns Promise that resolves with an array of members in reverse order
|
|
1738
|
+
*
|
|
1739
|
+
* @example
|
|
1740
|
+
* ```ts
|
|
1741
|
+
* // Get all members in reverse order (highest to lowest score)
|
|
1742
|
+
* const members = await redis.zrevrange("myzset", 0, -1);
|
|
1743
|
+
*
|
|
1744
|
+
* // Get top 3 members with highest scores
|
|
1745
|
+
* const top3 = await redis.zrevrange("myzset", 0, 2);
|
|
1746
|
+
* ```
|
|
1747
|
+
*/
|
|
1748
|
+
zrevrange(key: RedisClient.KeyLike, start: number, stop: number): Promise<string[]>;
|
|
1749
|
+
|
|
1750
|
+
/**
|
|
1751
|
+
* Return a range of members in a sorted set with their scores, ordered from high to low
|
|
1752
|
+
*
|
|
1753
|
+
* @param key The sorted set key
|
|
1754
|
+
* @param start The starting index
|
|
1755
|
+
* @param stop The stopping index
|
|
1756
|
+
* @param withscores Return members with their scores
|
|
1757
|
+
* @returns Promise that resolves with an array of [member, score, member, score, ...] in reverse order
|
|
1758
|
+
*
|
|
1759
|
+
* @example
|
|
1760
|
+
* ```ts
|
|
1761
|
+
* const results = await redis.zrevrange("myzset", 0, -1, "WITHSCORES");
|
|
1762
|
+
* // Returns ["member3", "3.5", "member2", "2.5", "member1", "1.5", ...]
|
|
1763
|
+
* ```
|
|
1764
|
+
*/
|
|
1765
|
+
zrevrange(
|
|
1766
|
+
key: RedisClient.KeyLike,
|
|
1767
|
+
start: number,
|
|
1768
|
+
stop: number,
|
|
1769
|
+
withscores: "WITHSCORES",
|
|
1770
|
+
): Promise<[string, number][]>;
|
|
1771
|
+
|
|
1772
|
+
/**
|
|
1773
|
+
* Return a range of members in a sorted set with options, ordered from high to low
|
|
1774
|
+
*
|
|
1775
|
+
* @param key The sorted set key
|
|
1776
|
+
* @param start The starting index
|
|
1777
|
+
* @param stop The stopping index
|
|
1778
|
+
* @param options Additional options (WITHSCORES)
|
|
1779
|
+
* @returns Promise that resolves with an array of members (or with scores if WITHSCORES)
|
|
1780
|
+
*/
|
|
1781
|
+
zrevrange(key: RedisClient.KeyLike, start: number, stop: number, ...options: string[]): Promise<string[]>;
|
|
1782
|
+
|
|
1783
|
+
/**
|
|
1784
|
+
* Append a value to a key
|
|
1785
|
+
* @param key The key to append to
|
|
1786
|
+
* @param value The value to append
|
|
1787
|
+
* @returns Promise that resolves with the length of the string after the
|
|
1788
|
+
* append operation
|
|
1789
|
+
*/
|
|
1790
|
+
append(key: RedisClient.KeyLike, value: RedisClient.KeyLike): Promise<number>;
|
|
1791
|
+
|
|
1792
|
+
/**
|
|
1793
|
+
* Set the value of a key and return its old value
|
|
1794
|
+
* @param key The key to set
|
|
1795
|
+
* @param value The value to set
|
|
1796
|
+
* @returns Promise that resolves with the old value, or null if the key
|
|
1797
|
+
* didn't exist
|
|
1798
|
+
*/
|
|
1799
|
+
getset(key: RedisClient.KeyLike, value: RedisClient.KeyLike): Promise<string | null>;
|
|
1800
|
+
|
|
1801
|
+
/**
|
|
1802
|
+
* Insert an element before or after another element in a list
|
|
1803
|
+
* @param key The list key
|
|
1804
|
+
* @param position "BEFORE" or "AFTER" to specify where to insert
|
|
1805
|
+
* @param pivot The pivot element to insert before or after
|
|
1806
|
+
* @param element The element to insert
|
|
1807
|
+
* @returns Promise that resolves with the length of the list after insert, -1 if pivot not found, or 0 if key doesn't exist
|
|
1808
|
+
*
|
|
1809
|
+
* @example
|
|
1810
|
+
* ```ts
|
|
1811
|
+
* await redis.lpush("mylist", "World");
|
|
1812
|
+
* await redis.lpush("mylist", "Hello");
|
|
1813
|
+
* await redis.linsert("mylist", "BEFORE", "World", "There");
|
|
1814
|
+
* // List is now: ["Hello", "There", "World"]
|
|
1815
|
+
* ```
|
|
1816
|
+
*/
|
|
1817
|
+
linsert(
|
|
1818
|
+
key: RedisClient.KeyLike,
|
|
1819
|
+
position: "BEFORE" | "AFTER",
|
|
1820
|
+
pivot: RedisClient.KeyLike,
|
|
1821
|
+
element: RedisClient.KeyLike,
|
|
1822
|
+
): Promise<number>;
|
|
1823
|
+
|
|
1824
|
+
/**
|
|
1825
|
+
* Prepend one or multiple values to a list
|
|
1826
|
+
* @param key The list key
|
|
1827
|
+
* @param value The value to prepend
|
|
1828
|
+
* @returns Promise that resolves with the length of the list after the push
|
|
1829
|
+
* operation
|
|
1830
|
+
*/
|
|
1831
|
+
lpush(key: RedisClient.KeyLike, value: RedisClient.KeyLike, ...rest: RedisClient.KeyLike[]): Promise<number>;
|
|
1832
|
+
|
|
1833
|
+
/**
|
|
1834
|
+
* Prepend a value to a list, only if the list exists
|
|
1835
|
+
* @param key The list key
|
|
1836
|
+
* @param value The value to prepend
|
|
1837
|
+
* @returns Promise that resolves with the length of the list after the push
|
|
1838
|
+
* operation, or 0 if the list doesn't exist
|
|
1839
|
+
*/
|
|
1840
|
+
lpushx(key: RedisClient.KeyLike, value: RedisClient.KeyLike): Promise<number>;
|
|
1841
|
+
|
|
1842
|
+
/**
|
|
1843
|
+
* Remove elements from a list
|
|
1844
|
+
* @param key The list key
|
|
1845
|
+
* @param count Number of elements to remove
|
|
1846
|
+
* - count > 0: Remove count occurrences from head to tail
|
|
1847
|
+
* - count < 0: Remove count occurrences from tail to head
|
|
1848
|
+
* - count = 0: Remove all occurrences
|
|
1849
|
+
* @param element The element to remove
|
|
1850
|
+
* @returns Promise that resolves with the number of elements removed
|
|
1851
|
+
*
|
|
1852
|
+
* @example
|
|
1853
|
+
* ```ts
|
|
1854
|
+
* await redis.rpush("mylist", "hello", "hello", "world", "hello");
|
|
1855
|
+
* await redis.lrem("mylist", 2, "hello"); // Removes first 2 "hello"
|
|
1856
|
+
* // List is now: ["world", "hello"]
|
|
1857
|
+
* ```
|
|
1858
|
+
*/
|
|
1859
|
+
lrem(key: RedisClient.KeyLike, count: number, element: RedisClient.KeyLike): Promise<number>;
|
|
1860
|
+
|
|
1861
|
+
/**
|
|
1862
|
+
* Trim a list to the specified range
|
|
1863
|
+
* @param key The list key
|
|
1864
|
+
* @param start The start index (0-based, can be negative)
|
|
1865
|
+
* @param stop The stop index (0-based, can be negative)
|
|
1866
|
+
* @returns Promise that resolves with "OK"
|
|
1867
|
+
*
|
|
1868
|
+
* @example
|
|
1869
|
+
* ```ts
|
|
1870
|
+
* await redis.rpush("mylist", "one", "two", "three", "four");
|
|
1871
|
+
* await redis.ltrim("mylist", 1, 2);
|
|
1872
|
+
* // List is now: ["two", "three"]
|
|
1873
|
+
* ```
|
|
1874
|
+
*/
|
|
1875
|
+
ltrim(key: RedisClient.KeyLike, start: number, stop: number): Promise<string>;
|
|
1876
|
+
|
|
1877
|
+
/**
|
|
1878
|
+
* Add one or more members to a HyperLogLog
|
|
1879
|
+
* @param key The HyperLogLog key
|
|
1880
|
+
* @param element The element to add
|
|
1881
|
+
* @returns Promise that resolves with 1 if the HyperLogLog was altered, 0
|
|
1882
|
+
* otherwise
|
|
1883
|
+
*/
|
|
1884
|
+
pfadd(key: RedisClient.KeyLike, element: string): Promise<number>;
|
|
1885
|
+
|
|
1886
|
+
/**
|
|
1887
|
+
* Append one or multiple values to a list
|
|
1888
|
+
* @param key The list key
|
|
1889
|
+
* @param value The value to append
|
|
1890
|
+
* @returns Promise that resolves with the length of the list after the push
|
|
1891
|
+
* operation
|
|
1892
|
+
*/
|
|
1893
|
+
rpush(key: RedisClient.KeyLike, value: RedisClient.KeyLike, ...rest: RedisClient.KeyLike[]): Promise<number>;
|
|
1894
|
+
|
|
1895
|
+
/**
|
|
1896
|
+
* Append a value to a list, only if the list exists
|
|
1897
|
+
* @param key The list key
|
|
1898
|
+
* @param value The value to append
|
|
1899
|
+
* @returns Promise that resolves with the length of the list after the push
|
|
1900
|
+
* operation, or 0 if the list doesn't exist
|
|
1901
|
+
*/
|
|
1902
|
+
rpushx(key: RedisClient.KeyLike, value: RedisClient.KeyLike): Promise<number>;
|
|
1903
|
+
|
|
1904
|
+
/**
|
|
1905
|
+
* Set the value of a key, only if the key does not exist
|
|
1906
|
+
* @param key The key to set
|
|
1907
|
+
* @param value The value to set
|
|
1908
|
+
* @returns Promise that resolves with 1 if the key was set, 0 if the key
|
|
1909
|
+
* was not set
|
|
1910
|
+
*/
|
|
1911
|
+
setnx(key: RedisClient.KeyLike, value: RedisClient.KeyLike): Promise<number>;
|
|
1912
|
+
|
|
1913
|
+
/**
|
|
1914
|
+
* Set key to hold the string value with expiration time in seconds
|
|
1915
|
+
* @param key The key to set
|
|
1916
|
+
* @param seconds The expiration time in seconds
|
|
1917
|
+
* @param value The value to set
|
|
1918
|
+
* @returns Promise that resolves with "OK" on success
|
|
1919
|
+
*
|
|
1920
|
+
* @example
|
|
1921
|
+
* ```ts
|
|
1922
|
+
* await redis.setex("mykey", 10, "Hello");
|
|
1923
|
+
* // Key will expire after 10 seconds
|
|
1924
|
+
* ```
|
|
1925
|
+
*/
|
|
1926
|
+
setex(key: RedisClient.KeyLike, seconds: number, value: RedisClient.KeyLike): Promise<"OK">;
|
|
1927
|
+
|
|
1928
|
+
/**
|
|
1929
|
+
* Set key to hold the string value with expiration time in milliseconds
|
|
1930
|
+
* @param key The key to set
|
|
1931
|
+
* @param milliseconds The expiration time in milliseconds
|
|
1932
|
+
* @param value The value to set
|
|
1933
|
+
* @returns Promise that resolves with "OK" on success
|
|
1934
|
+
*
|
|
1935
|
+
* @example
|
|
1936
|
+
* ```ts
|
|
1937
|
+
* await redis.psetex("mykey", 10000, "Hello");
|
|
1938
|
+
* // Key will expire after 10000 milliseconds (10 seconds)
|
|
1939
|
+
* ```
|
|
1940
|
+
*/
|
|
1941
|
+
psetex(key: RedisClient.KeyLike, milliseconds: number, value: RedisClient.KeyLike): Promise<"OK">;
|
|
1942
|
+
|
|
1943
|
+
/**
|
|
1944
|
+
* Get the score associated with the given member in a sorted set
|
|
1945
|
+
* @param key The sorted set key
|
|
1946
|
+
* @param member The member to get the score for
|
|
1947
|
+
* @returns Promise that resolves with the score of the member as a number,
|
|
1948
|
+
* or null if the member or key doesn't exist
|
|
1949
|
+
*/
|
|
1950
|
+
zscore(key: RedisClient.KeyLike, member: string): Promise<number | null>;
|
|
1951
|
+
|
|
1952
|
+
/**
|
|
1953
|
+
* Increment the score of a member in a sorted set
|
|
1954
|
+
* @param key The sorted set key
|
|
1955
|
+
* @param increment The increment value
|
|
1956
|
+
* @param member The member to increment
|
|
1957
|
+
* @returns Promise that resolves with the new score
|
|
1958
|
+
*/
|
|
1959
|
+
zincrby(key: RedisClient.KeyLike, increment: number, member: RedisClient.KeyLike): Promise<number>;
|
|
1960
|
+
|
|
1961
|
+
/**
|
|
1962
|
+
* Returns the scores associated with the specified members in the sorted set
|
|
1963
|
+
* @param key The sorted set key
|
|
1964
|
+
* @param member The first member to get the score for
|
|
1965
|
+
* @param members Additional members to get scores for
|
|
1966
|
+
* @returns Promise that resolves with an array of scores (number for each score, or null if member doesn't exist)
|
|
1967
|
+
*/
|
|
1968
|
+
zmscore(
|
|
1969
|
+
key: RedisClient.KeyLike,
|
|
1970
|
+
member: RedisClient.KeyLike,
|
|
1971
|
+
...members: RedisClient.KeyLike[]
|
|
1972
|
+
): Promise<(number | null)[]>;
|
|
1973
|
+
|
|
1974
|
+
/**
|
|
1975
|
+
* Add one or more members to a sorted set, or update scores if they already exist
|
|
1976
|
+
*
|
|
1977
|
+
* ZADD adds all the specified members with the specified scores to the sorted set stored at key.
|
|
1978
|
+
* It is possible to specify multiple score / member pairs. If a specified member is already a
|
|
1979
|
+
* member of the sorted set, the score is updated and the element reinserted at the right position
|
|
1980
|
+
* to ensure the correct ordering.
|
|
1981
|
+
*
|
|
1982
|
+
* If key does not exist, a new sorted set with the specified members as sole members is created.
|
|
1983
|
+
* If the key exists but does not hold a sorted set, an error is returned.
|
|
1984
|
+
*
|
|
1985
|
+
* The score values should be the string representation of a double precision floating point number.
|
|
1986
|
+
* +inf and -inf values are valid values as well.
|
|
1987
|
+
*
|
|
1988
|
+
* Options:
|
|
1989
|
+
* - NX: Only add new elements. Don't update already existing elements.
|
|
1990
|
+
* - XX: Only update elements that already exist. Never add elements.
|
|
1991
|
+
* - GT: Only update existing elements if the new score is greater than the current score. This flag doesn't prevent adding new elements.
|
|
1992
|
+
* - LT: Only update existing elements if the new score is less than the current score. This flag doesn't prevent adding new elements.
|
|
1993
|
+
* - CH: Modify the return value from the number of new elements added, to the total number of elements changed (CH is an abbreviation of changed).
|
|
1994
|
+
* - INCR: When this option is specified ZADD acts like ZINCRBY. Only one score-member pair can be specified in this mode.
|
|
1995
|
+
*
|
|
1996
|
+
* Note: The GT, LT and NX options are mutually exclusive.
|
|
1997
|
+
*
|
|
1998
|
+
* @param key The sorted set key
|
|
1999
|
+
* @param args Score-member pairs and optional flags (NX, XX, GT, LT, CH, INCR)
|
|
2000
|
+
* @returns Promise that resolves with the number of elements added (or changed if CH is used, or new score if INCR is used)
|
|
2001
|
+
*
|
|
2002
|
+
* @example
|
|
2003
|
+
* ```ts
|
|
2004
|
+
* // Add members with scores
|
|
2005
|
+
* await redis.zadd("myzset", "1", "one", "2", "two", "3", "three");
|
|
2006
|
+
*
|
|
2007
|
+
* // Add with NX option (only if member doesn't exist)
|
|
2008
|
+
* await redis.zadd("myzset", "NX", "4", "four");
|
|
2009
|
+
*
|
|
2010
|
+
* // Add with XX option (only if member exists)
|
|
2011
|
+
* await redis.zadd("myzset", "XX", "2.5", "two");
|
|
2012
|
+
*
|
|
2013
|
+
* // Add with CH option (return count of changed elements)
|
|
2014
|
+
* await redis.zadd("myzset", "CH", "5", "five", "2.1", "two");
|
|
2015
|
+
*
|
|
2016
|
+
* // Use INCR option (increment score)
|
|
2017
|
+
* await redis.zadd("myzset", "INCR", "1.5", "one");
|
|
2018
|
+
* ```
|
|
2019
|
+
*/
|
|
2020
|
+
zadd(key: RedisClient.KeyLike, ...args: (string | number)[]): Promise<number>;
|
|
2021
|
+
|
|
2022
|
+
/**
|
|
2023
|
+
* Incrementally iterate sorted set elements and their scores
|
|
2024
|
+
*
|
|
2025
|
+
* The ZSCAN command is used in order to incrementally iterate over sorted set elements and their scores.
|
|
2026
|
+
* ZSCAN is a cursor based iterator. This means that at every call of the command, the server returns an
|
|
2027
|
+
* updated cursor that the user needs to use as the cursor argument in the next call.
|
|
2028
|
+
*
|
|
2029
|
+
* An iteration starts when the cursor is set to 0, and terminates when the cursor returned by the server is 0.
|
|
2030
|
+
*
|
|
2031
|
+
* ZSCAN and the other SCAN family commands are able to provide to the user a set of guarantees associated
|
|
2032
|
+
* to full iterations:
|
|
2033
|
+
* - A full iteration always retrieves all the elements that were present in the collection from the start
|
|
2034
|
+
* to the end of a full iteration. This means that if a given element is inside the collection when an
|
|
2035
|
+
* iteration is started, and is still there when an iteration terminates, then at some point ZSCAN returned it.
|
|
2036
|
+
* - A full iteration never returns any element that was NOT present in the collection from the start to the
|
|
2037
|
+
* end of a full iteration. So if an element was removed before the start of an iteration, and is never
|
|
2038
|
+
* added back to the collection for all the time an iteration lasts, ZSCAN ensures that this element will
|
|
2039
|
+
* never be returned.
|
|
2040
|
+
*
|
|
2041
|
+
* Options:
|
|
2042
|
+
* - MATCH pattern: Only return elements matching the pattern (glob-style)
|
|
2043
|
+
* - COUNT count: Amount of work done at every call (hint, not exact)
|
|
2044
|
+
*
|
|
2045
|
+
* @param key The sorted set key
|
|
2046
|
+
* @param cursor The cursor value (use 0 to start a new iteration)
|
|
2047
|
+
* @param options Additional ZSCAN options (MATCH pattern, COUNT hint, etc.)
|
|
2048
|
+
* @returns Promise that resolves with a tuple [cursor, [member1, score1, member2, score2, ...]]
|
|
2049
|
+
*
|
|
2050
|
+
* @example
|
|
2051
|
+
* ```ts
|
|
2052
|
+
* // Basic scan - iterate all elements
|
|
2053
|
+
* let cursor = "0";
|
|
2054
|
+
* const allElements: string[] = [];
|
|
2055
|
+
* do {
|
|
2056
|
+
* const [nextCursor, elements] = await redis.zscan("myzset", cursor);
|
|
2057
|
+
* allElements.push(...elements);
|
|
2058
|
+
* cursor = nextCursor;
|
|
2059
|
+
* } while (cursor !== "0");
|
|
2060
|
+
* ```
|
|
2061
|
+
*
|
|
2062
|
+
* @example
|
|
2063
|
+
* ```ts
|
|
2064
|
+
* // Scan with MATCH pattern
|
|
2065
|
+
* const [cursor, elements] = await redis.zscan("myzset", "0", "MATCH", "user:*");
|
|
2066
|
+
* ```
|
|
2067
|
+
*
|
|
2068
|
+
* @example
|
|
2069
|
+
* ```ts
|
|
2070
|
+
* // Scan with COUNT hint
|
|
2071
|
+
* const [cursor, elements] = await redis.zscan("myzset", "0", "COUNT", "100");
|
|
2072
|
+
* ```
|
|
2073
|
+
*/
|
|
2074
|
+
zscan(key: RedisClient.KeyLike, cursor: string | number, ...options: string[]): Promise<[string, string[]]>;
|
|
2075
|
+
|
|
2076
|
+
/**
|
|
2077
|
+
* Remove one or more members from a sorted set
|
|
2078
|
+
* @param key The sorted set key
|
|
2079
|
+
* @param member The first member to remove
|
|
2080
|
+
* @param members Additional members to remove
|
|
2081
|
+
* @returns Promise that resolves with the number of members removed (not including non-existing members)
|
|
2082
|
+
*/
|
|
2083
|
+
zrem(key: RedisClient.KeyLike, member: RedisClient.KeyLike, ...members: RedisClient.KeyLike[]): Promise<number>;
|
|
2084
|
+
|
|
2085
|
+
/**
|
|
2086
|
+
* Remove all members in a sorted set within the given lexicographical range
|
|
2087
|
+
* @param key The sorted set key
|
|
2088
|
+
* @param min Minimum value (use "[" for inclusive, "(" for exclusive, e.g., "[aaa")
|
|
2089
|
+
* @param max Maximum value (use "[" for inclusive, "(" for exclusive, e.g., "[zzz")
|
|
2090
|
+
* @returns Promise that resolves with the number of elements removed
|
|
2091
|
+
*/
|
|
2092
|
+
zremrangebylex(key: RedisClient.KeyLike, min: string, max: string): Promise<number>;
|
|
2093
|
+
|
|
2094
|
+
/**
|
|
2095
|
+
* Remove all members in a sorted set within the given rank range
|
|
2096
|
+
* @param key The sorted set key
|
|
2097
|
+
* @param start Start rank (0-based, can be negative to indicate offset from end)
|
|
2098
|
+
* @param stop Stop rank (0-based, can be negative to indicate offset from end)
|
|
2099
|
+
* @returns Promise that resolves with the number of elements removed
|
|
2100
|
+
*/
|
|
2101
|
+
zremrangebyrank(key: RedisClient.KeyLike, start: number, stop: number): Promise<number>;
|
|
2102
|
+
|
|
2103
|
+
/**
|
|
2104
|
+
* Remove all members in a sorted set within the given score range
|
|
2105
|
+
* @param key The sorted set key
|
|
2106
|
+
* @param min Minimum score (inclusive, use "-inf" for negative infinity, "(" prefix for exclusive)
|
|
2107
|
+
* @param max Maximum score (inclusive, use "+inf" for positive infinity, "(" prefix for exclusive)
|
|
2108
|
+
* @returns Promise that resolves with the number of elements removed
|
|
2109
|
+
*/
|
|
2110
|
+
zremrangebyscore(key: RedisClient.KeyLike, min: string | number, max: string | number): Promise<number>;
|
|
2111
|
+
|
|
2112
|
+
/**
|
|
2113
|
+
* Return members in a sorted set within a lexicographical range
|
|
2114
|
+
*
|
|
2115
|
+
* When all the elements in a sorted set have the same score, this command
|
|
2116
|
+
* returns the elements between min and max in lexicographical order.
|
|
2117
|
+
*
|
|
2118
|
+
* Lex ranges:
|
|
2119
|
+
* - `[member` for inclusive lower bound
|
|
2120
|
+
* - `(member` for exclusive lower bound
|
|
2121
|
+
* - `-` for negative infinity
|
|
2122
|
+
* - `+` for positive infinity
|
|
2123
|
+
*
|
|
2124
|
+
* @param key The sorted set key (all members must have the same score)
|
|
2125
|
+
* @param min Minimum lexicographical value (use "-" for negative infinity, "[" or "(" for inclusive/exclusive)
|
|
2126
|
+
* @param max Maximum lexicographical value (use "+" for positive infinity, "[" or "(" for inclusive/exclusive)
|
|
2127
|
+
* @returns Promise that resolves with array of members
|
|
2128
|
+
*
|
|
2129
|
+
* @example
|
|
2130
|
+
* ```ts
|
|
2131
|
+
* await redis.send("ZADD", ["myzset", "0", "apple", "0", "banana", "0", "cherry"]);
|
|
2132
|
+
* const members = await redis.zrangebylex("myzset", "[banana", "[cherry");
|
|
2133
|
+
* // Returns: ["banana", "cherry"]
|
|
2134
|
+
* ```
|
|
2135
|
+
*/
|
|
2136
|
+
zrangebylex(key: RedisClient.KeyLike, min: string, max: string): Promise<string[]>;
|
|
2137
|
+
|
|
2138
|
+
/**
|
|
2139
|
+
* Return members in a sorted set within a lexicographical range, with pagination
|
|
2140
|
+
*
|
|
2141
|
+
* @param key The sorted set key
|
|
2142
|
+
* @param min Minimum lexicographical value
|
|
2143
|
+
* @param max Maximum lexicographical value
|
|
2144
|
+
* @param limit The "LIMIT" keyword
|
|
2145
|
+
* @param offset The number of elements to skip
|
|
2146
|
+
* @param count The maximum number of elements to return
|
|
2147
|
+
* @returns Promise that resolves with array of members
|
|
2148
|
+
*
|
|
2149
|
+
* @example
|
|
2150
|
+
* ```ts
|
|
2151
|
+
* await redis.send("ZADD", ["myzset", "0", "a", "0", "b", "0", "c", "0", "d"]);
|
|
2152
|
+
* const result = await redis.zrangebylex("myzset", "-", "+", "LIMIT", 1, 2);
|
|
2153
|
+
* // Returns: ["b", "c"]
|
|
2154
|
+
* ```
|
|
2155
|
+
*/
|
|
2156
|
+
zrangebylex(
|
|
2157
|
+
key: RedisClient.KeyLike,
|
|
2158
|
+
min: string,
|
|
2159
|
+
max: string,
|
|
2160
|
+
limit: "LIMIT",
|
|
2161
|
+
offset: number,
|
|
2162
|
+
count: number,
|
|
2163
|
+
): Promise<string[]>;
|
|
2164
|
+
|
|
2165
|
+
/**
|
|
2166
|
+
* Return members in a sorted set within a lexicographical range, with options
|
|
2167
|
+
*
|
|
2168
|
+
* @param key The sorted set key
|
|
2169
|
+
* @param min Minimum lexicographical value
|
|
2170
|
+
* @param max Maximum lexicographical value
|
|
2171
|
+
* @param options Additional options (LIMIT offset count)
|
|
2172
|
+
* @returns Promise that resolves with array of members
|
|
2173
|
+
*/
|
|
2174
|
+
zrangebylex(key: RedisClient.KeyLike, min: string, max: string, ...options: (string | number)[]): Promise<string[]>;
|
|
2175
|
+
|
|
2176
|
+
/**
|
|
2177
|
+
* Return members in a sorted set with scores within a given range
|
|
2178
|
+
*
|
|
2179
|
+
* Returns all the elements in the sorted set at key with a score between min
|
|
2180
|
+
* and max (inclusive by default). The elements are considered to be ordered
|
|
2181
|
+
* from low to high scores.
|
|
2182
|
+
*
|
|
2183
|
+
* Score ranges support:
|
|
2184
|
+
* - `-inf` and `+inf` for negative and positive infinity
|
|
2185
|
+
* - `(` prefix for exclusive bounds (e.g., `(5` means greater than 5, not including 5)
|
|
2186
|
+
*
|
|
2187
|
+
* @param key The sorted set key
|
|
2188
|
+
* @param min Minimum score (can be "-inf", a number, or prefixed with "(" for exclusive)
|
|
2189
|
+
* @param max Maximum score (can be "+inf", a number, or prefixed with "(" for exclusive)
|
|
2190
|
+
* @returns Promise that resolves with array of members
|
|
2191
|
+
*
|
|
2192
|
+
* @example
|
|
2193
|
+
* ```ts
|
|
2194
|
+
* await redis.send("ZADD", ["myzset", "1", "one", "2", "two", "3", "three"]);
|
|
2195
|
+
* const members = await redis.zrangebyscore("myzset", 1, 2);
|
|
2196
|
+
* // Returns: ["one", "two"]
|
|
2197
|
+
* ```
|
|
2198
|
+
*/
|
|
2199
|
+
zrangebyscore(key: RedisClient.KeyLike, min: string | number, max: string | number): Promise<string[]>;
|
|
2200
|
+
|
|
2201
|
+
/**
|
|
2202
|
+
* Return members in a sorted set with scores within a given range, with scores
|
|
2203
|
+
*
|
|
2204
|
+
* @param key The sorted set key
|
|
2205
|
+
* @param min Minimum score
|
|
2206
|
+
* @param max Maximum score
|
|
2207
|
+
* @param withscores The "WITHSCORES" keyword to return scores along with members
|
|
2208
|
+
* @returns Promise that resolves with array of [member, score, member, score, ...]
|
|
2209
|
+
*
|
|
2210
|
+
* @example
|
|
2211
|
+
* ```ts
|
|
2212
|
+
* await redis.send("ZADD", ["myzset", "1", "one", "2", "two", "3", "three"]);
|
|
2213
|
+
* const result = await redis.zrangebyscore("myzset", 1, 2, "WITHSCORES");
|
|
2214
|
+
* // Returns: ["one", "1", "two", "2"]
|
|
2215
|
+
* ```
|
|
2216
|
+
*/
|
|
2217
|
+
zrangebyscore(
|
|
2218
|
+
key: RedisClient.KeyLike,
|
|
2219
|
+
min: string | number,
|
|
2220
|
+
max: string | number,
|
|
2221
|
+
withscores: "WITHSCORES",
|
|
2222
|
+
): Promise<[string, number][]>;
|
|
2223
|
+
|
|
2224
|
+
/**
|
|
2225
|
+
* Return members in a sorted set with scores within a given range, with pagination
|
|
2226
|
+
*
|
|
2227
|
+
* @param key The sorted set key
|
|
2228
|
+
* @param min Minimum score
|
|
2229
|
+
* @param max Maximum score
|
|
2230
|
+
* @param limit The "LIMIT" keyword
|
|
2231
|
+
* @param offset The number of elements to skip
|
|
2232
|
+
* @param count The maximum number of elements to return
|
|
2233
|
+
* @returns Promise that resolves with array of members
|
|
2234
|
+
*
|
|
2235
|
+
* @example
|
|
2236
|
+
* ```ts
|
|
2237
|
+
* await redis.send("ZADD", ["myzset", "1", "one", "2", "two", "3", "three", "4", "four"]);
|
|
2238
|
+
* const result = await redis.zrangebyscore("myzset", "-inf", "+inf", "LIMIT", 1, 2);
|
|
2239
|
+
* // Returns: ["two", "three"]
|
|
2240
|
+
* ```
|
|
2241
|
+
*/
|
|
2242
|
+
zrangebyscore(
|
|
2243
|
+
key: RedisClient.KeyLike,
|
|
2244
|
+
min: string | number,
|
|
2245
|
+
max: string | number,
|
|
2246
|
+
limit: "LIMIT",
|
|
2247
|
+
offset: number,
|
|
2248
|
+
count: number,
|
|
2249
|
+
): Promise<string[]>;
|
|
2250
|
+
|
|
2251
|
+
/**
|
|
2252
|
+
* Return members in a sorted set with scores within a given range, with the score values
|
|
2253
|
+
*
|
|
2254
|
+
* @param key The sorted set key
|
|
2255
|
+
* @param min Minimum score
|
|
2256
|
+
* @param max Maximum score
|
|
2257
|
+
* @param options Additional options (WITHSCORES, LIMIT offset count)
|
|
2258
|
+
* @returns Promise that resolves with array of members (and scores if WITHSCORES is used)
|
|
2259
|
+
*/
|
|
2260
|
+
zrangebyscore(
|
|
2261
|
+
key: RedisClient.KeyLike,
|
|
2262
|
+
min: string | number,
|
|
2263
|
+
max: string | number,
|
|
2264
|
+
withscores: "WITHSCORES",
|
|
2265
|
+
...options: (string | number)[]
|
|
2266
|
+
): Promise<[string, number][]>;
|
|
2267
|
+
|
|
2268
|
+
/**
|
|
2269
|
+
* Return members in a sorted set with scores within a given range, with the score values
|
|
2270
|
+
*
|
|
2271
|
+
* @param key The sorted set key
|
|
2272
|
+
* @param min Minimum score
|
|
2273
|
+
* @param max Maximum score
|
|
2274
|
+
* @param options Additional options (WITHSCORES, LIMIT offset count)
|
|
2275
|
+
* @returns Promise that resolves with array of members (and scores if WITHSCORES is used)
|
|
2276
|
+
*/
|
|
2277
|
+
zrangebyscore(
|
|
2278
|
+
key: RedisClient.KeyLike,
|
|
2279
|
+
min: string | number,
|
|
2280
|
+
max: string | number,
|
|
2281
|
+
withscores: "WITHSCORES",
|
|
2282
|
+
limit: "LIMIT",
|
|
2283
|
+
offset: number,
|
|
2284
|
+
count: number,
|
|
2285
|
+
...options: (string | number)[]
|
|
2286
|
+
): Promise<[string, number][]>;
|
|
2287
|
+
|
|
2288
|
+
/**
|
|
2289
|
+
* Return members in a sorted set with scores within a given range, with various options
|
|
2290
|
+
*
|
|
2291
|
+
* @param key The sorted set key
|
|
2292
|
+
* @param min Minimum score
|
|
2293
|
+
* @param max Maximum score
|
|
2294
|
+
* @param options Additional options (WITHSCORES, LIMIT offset count)
|
|
2295
|
+
* @returns Promise that resolves with array of members (and scores if WITHSCORES is used)
|
|
2296
|
+
*/
|
|
2297
|
+
zrangebyscore(
|
|
2298
|
+
key: RedisClient.KeyLike,
|
|
2299
|
+
min: string | number,
|
|
2300
|
+
max: string | number,
|
|
2301
|
+
...options: (string | number)[]
|
|
2302
|
+
): Promise<string[]>;
|
|
2303
|
+
|
|
2304
|
+
/**
|
|
2305
|
+
* Return members in a sorted set with scores within a given range, ordered from high to low
|
|
2306
|
+
*
|
|
2307
|
+
* Returns all the elements in the sorted set at key with a score between max
|
|
2308
|
+
* and min (note: max comes before min). The elements are considered to be
|
|
2309
|
+
* ordered from high to low scores.
|
|
2310
|
+
*
|
|
2311
|
+
* Score ranges support:
|
|
2312
|
+
* - `-inf` and `+inf` for negative and positive infinity
|
|
2313
|
+
* - `(` prefix for exclusive bounds (e.g., `(5` means less than 5, not including 5)
|
|
2314
|
+
*
|
|
2315
|
+
* @param key The sorted set key
|
|
2316
|
+
* @param max Maximum score (can be "+inf", a number, or prefixed with "(" for exclusive)
|
|
2317
|
+
* @param min Minimum score (can be "-inf", a number, or prefixed with "(" for exclusive)
|
|
2318
|
+
* @returns Promise that resolves with array of members
|
|
2319
|
+
*
|
|
2320
|
+
* @example
|
|
2321
|
+
* ```ts
|
|
2322
|
+
* await redis.send("ZADD", ["myzset", "1", "one", "2", "two", "3", "three"]);
|
|
2323
|
+
* const members = await redis.zrevrangebyscore("myzset", 2, 1);
|
|
2324
|
+
* // Returns: ["two", "one"]
|
|
2325
|
+
* ```
|
|
2326
|
+
*/
|
|
2327
|
+
zrevrangebyscore(key: RedisClient.KeyLike, max: string | number, min: string | number): Promise<string[]>;
|
|
2328
|
+
|
|
2329
|
+
/**
|
|
2330
|
+
* Return members in a sorted set with scores within a given range, ordered from high to low, with scores
|
|
2331
|
+
*
|
|
2332
|
+
* @param key The sorted set key
|
|
2333
|
+
* @param max Maximum score
|
|
2334
|
+
* @param min Minimum score
|
|
2335
|
+
* @param withscores The "WITHSCORES" keyword to return scores along with members
|
|
2336
|
+
* @returns Promise that resolves with array of [member, score, member, score, ...]
|
|
2337
|
+
*
|
|
2338
|
+
* @example
|
|
2339
|
+
* ```ts
|
|
2340
|
+
* await redis.send("ZADD", ["myzset", "1", "one", "2", "two", "3", "three"]);
|
|
2341
|
+
* const result = await redis.zrevrangebyscore("myzset", 2, 1, "WITHSCORES");
|
|
2342
|
+
* // Returns: ["two", "2", "one", "1"]
|
|
2343
|
+
* ```
|
|
2344
|
+
*/
|
|
2345
|
+
zrevrangebyscore(
|
|
2346
|
+
key: RedisClient.KeyLike,
|
|
2347
|
+
max: string | number,
|
|
2348
|
+
min: string | number,
|
|
2349
|
+
withscores: "WITHSCORES",
|
|
2350
|
+
): Promise<[string, number][]>;
|
|
2351
|
+
|
|
2352
|
+
/**
|
|
2353
|
+
* Return members in a sorted set with scores within a given range, ordered from high to low, with pagination
|
|
2354
|
+
*
|
|
2355
|
+
* @param key The sorted set key
|
|
2356
|
+
* @param max Maximum score
|
|
2357
|
+
* @param min Minimum score
|
|
2358
|
+
* @param limit The "LIMIT" keyword
|
|
2359
|
+
* @param offset The number of elements to skip
|
|
2360
|
+
* @param count The maximum number of elements to return
|
|
2361
|
+
* @returns Promise that resolves with array of members
|
|
2362
|
+
*/
|
|
2363
|
+
zrevrangebyscore(
|
|
2364
|
+
key: RedisClient.KeyLike,
|
|
2365
|
+
max: string | number,
|
|
2366
|
+
min: string | number,
|
|
2367
|
+
limit: "LIMIT",
|
|
2368
|
+
offset: number,
|
|
2369
|
+
count: number,
|
|
2370
|
+
): Promise<string[]>;
|
|
2371
|
+
|
|
2372
|
+
/**
|
|
2373
|
+
* Return members in a sorted set with scores within a given range, ordered from high to low, with options
|
|
2374
|
+
*
|
|
2375
|
+
* @param key The sorted set key
|
|
2376
|
+
* @param max Maximum score
|
|
2377
|
+
* @param min Minimum score
|
|
2378
|
+
* @param options Additional options (WITHSCORES, LIMIT offset count)
|
|
2379
|
+
* @returns Promise that resolves with array of members (and scores if WITHSCORES is used)
|
|
2380
|
+
*/
|
|
2381
|
+
zrevrangebyscore(
|
|
2382
|
+
key: RedisClient.KeyLike,
|
|
2383
|
+
max: string | number,
|
|
2384
|
+
min: string | number,
|
|
2385
|
+
...options: (string | number)[]
|
|
2386
|
+
): Promise<string[]>;
|
|
2387
|
+
|
|
2388
|
+
/**
|
|
2389
|
+
* Return members in a sorted set within a lexicographical range, ordered from high to low
|
|
2390
|
+
*
|
|
2391
|
+
* All members in a sorted set must have the same score for this command to work correctly.
|
|
2392
|
+
* The max and min arguments have the same meaning as in ZRANGEBYLEX, but in reverse order.
|
|
2393
|
+
*
|
|
2394
|
+
* Use "[" for inclusive bounds and "(" for exclusive bounds. Use "-" for negative infinity and "+" for positive infinity.
|
|
2395
|
+
*
|
|
2396
|
+
* @param key The sorted set key
|
|
2397
|
+
* @param max The maximum lexicographical value (inclusive with "[", exclusive with "(")
|
|
2398
|
+
* @param min The minimum lexicographical value (inclusive with "[", exclusive with "(")
|
|
2399
|
+
* @param options Optional LIMIT clause: ["LIMIT", offset, count]
|
|
2400
|
+
* @returns Promise that resolves with an array of members in reverse lexicographical order
|
|
2401
|
+
*
|
|
2402
|
+
* @example
|
|
2403
|
+
* ```ts
|
|
2404
|
+
* // Add members with same score
|
|
2405
|
+
* await redis.send("ZADD", ["myzset", "0", "a", "0", "b", "0", "c", "0", "d"]);
|
|
2406
|
+
*
|
|
2407
|
+
* // Get range from highest to lowest
|
|
2408
|
+
* const members = await redis.zrevrangebylex("myzset", "[d", "[b");
|
|
2409
|
+
* console.log(members); // ["d", "c", "b"]
|
|
2410
|
+
*
|
|
2411
|
+
* // With LIMIT
|
|
2412
|
+
* const limited = await redis.zrevrangebylex("myzset", "+", "-", "LIMIT", "0", "2");
|
|
2413
|
+
* console.log(limited); // ["d", "c"] (first 2 members)
|
|
2414
|
+
* ```
|
|
2415
|
+
*/
|
|
2416
|
+
zrevrangebylex(key: RedisClient.KeyLike, max: string, min: string, ...options: string[]): Promise<string[]>;
|
|
2417
|
+
|
|
2418
|
+
/**
|
|
2419
|
+
* Store a range of members from a sorted set into a destination key
|
|
2420
|
+
*
|
|
2421
|
+
* This command is like ZRANGE but stores the result in a destination key instead of returning it.
|
|
2422
|
+
* Supports all the same options as ZRANGE including BYSCORE, BYLEX, REV, and LIMIT.
|
|
2423
|
+
*
|
|
2424
|
+
* @param destination The destination key to store results
|
|
2425
|
+
* @param source The source sorted set key
|
|
2426
|
+
* @param start The starting index or score
|
|
2427
|
+
* @param stop The ending index or score
|
|
2428
|
+
* @param options Optional flags: ["BYSCORE"], ["BYLEX"], ["REV"], ["LIMIT", offset, count]
|
|
2429
|
+
* @returns Promise that resolves with the number of elements in the resulting sorted set
|
|
2430
|
+
*
|
|
2431
|
+
* @example
|
|
2432
|
+
* ```ts
|
|
2433
|
+
* // Add members to source set
|
|
2434
|
+
* await redis.send("ZADD", ["source", "1", "one", "2", "two", "3", "three"]);
|
|
2435
|
+
*
|
|
2436
|
+
* // Store range by rank
|
|
2437
|
+
* const count1 = await redis.zrangestore("dest1", "source", 0, 1);
|
|
2438
|
+
* console.log(count1); // 2
|
|
2439
|
+
*
|
|
2440
|
+
* // Store range by score
|
|
2441
|
+
* const count2 = await redis.zrangestore("dest2", "source", "1", "2", "BYSCORE");
|
|
2442
|
+
* console.log(count2); // 2
|
|
2443
|
+
*
|
|
2444
|
+
* // Store in reverse order with limit
|
|
2445
|
+
* const count3 = await redis.zrangestore("dest3", "source", "0", "-1", "REV", "LIMIT", "0", "2");
|
|
2446
|
+
* console.log(count3); // 2
|
|
2447
|
+
* ```
|
|
2448
|
+
*/
|
|
2449
|
+
zrangestore(
|
|
2450
|
+
destination: RedisClient.KeyLike,
|
|
2451
|
+
source: RedisClient.KeyLike,
|
|
2452
|
+
start: string | number,
|
|
2453
|
+
stop: string | number,
|
|
2454
|
+
...options: string[]
|
|
2455
|
+
): Promise<number>;
|
|
2456
|
+
|
|
2457
|
+
/**
|
|
2458
|
+
* Determine the index of a member in a sorted set
|
|
2459
|
+
* @param key The sorted set key
|
|
2460
|
+
* @param member The member to find
|
|
2461
|
+
* @returns Promise that resolves with the rank (index) of the member, or null if the member doesn't exist
|
|
2462
|
+
*/
|
|
2463
|
+
zrank(key: RedisClient.KeyLike, member: string): Promise<number | null>;
|
|
2464
|
+
|
|
2465
|
+
/**
|
|
2466
|
+
* Determine the index of a member in a sorted set with score
|
|
2467
|
+
* @param key The sorted set key
|
|
2468
|
+
* @param member The member to find
|
|
2469
|
+
* @param withscore "WITHSCORE" to include the score
|
|
2470
|
+
* @returns Promise that resolves with [rank, score] or null if the member doesn't exist
|
|
2471
|
+
*/
|
|
2472
|
+
zrank(key: RedisClient.KeyLike, member: string, withscore: "WITHSCORE"): Promise<[number, number] | null>;
|
|
2473
|
+
|
|
2474
|
+
/**
|
|
2475
|
+
* Determine the index of a member in a sorted set, with scores ordered from high to low
|
|
2476
|
+
* @param key The sorted set key
|
|
2477
|
+
* @param member The member to find
|
|
2478
|
+
* @returns Promise that resolves with the rank (index) of the member, or null if the member doesn't exist
|
|
2479
|
+
*/
|
|
2480
|
+
zrevrank(key: RedisClient.KeyLike, member: string): Promise<number | null>;
|
|
2481
|
+
|
|
2482
|
+
/**
|
|
2483
|
+
* Determine the index of a member in a sorted set with score, with scores ordered from high to low
|
|
2484
|
+
* @param key The sorted set key
|
|
2485
|
+
* @param member The member to find
|
|
2486
|
+
* @param withscore "WITHSCORE" to include the score
|
|
2487
|
+
* @returns Promise that resolves with [rank, score] or null if the member doesn't exist
|
|
2488
|
+
*/
|
|
2489
|
+
zrevrank(key: RedisClient.KeyLike, member: string, withscore: "WITHSCORE"): Promise<[number, number] | null>;
|
|
2490
|
+
|
|
2491
|
+
/**
|
|
2492
|
+
* Get the values of all specified keys
|
|
2493
|
+
* @param keys The keys to get
|
|
2494
|
+
* @returns Promise that resolves with an array of values, with null for
|
|
2495
|
+
* keys that don't exist
|
|
2496
|
+
*/
|
|
2497
|
+
mget(...keys: RedisClient.KeyLike[]): Promise<(string | null)[]>;
|
|
2498
|
+
|
|
2499
|
+
/**
|
|
2500
|
+
* Set multiple keys to multiple values atomically
|
|
2501
|
+
*
|
|
2502
|
+
* Sets the given keys to their respective values. MSET replaces existing
|
|
2503
|
+
* values with new values, just as regular SET. Use MSETNX if you don't want
|
|
2504
|
+
* to overwrite existing values.
|
|
2505
|
+
*
|
|
2506
|
+
* MSET is atomic, so all given keys are set at once. It is not possible for
|
|
2507
|
+
* clients to see that some of the keys were updated while others are
|
|
2508
|
+
* unchanged.
|
|
2509
|
+
*
|
|
2510
|
+
* @param keyValuePairs Alternating keys and values (key1, value1, key2, value2, ...)
|
|
2511
|
+
* @returns Promise that resolves with "OK" on success
|
|
2512
|
+
*
|
|
2513
|
+
* @example
|
|
2514
|
+
* ```ts
|
|
2515
|
+
* await redis.mset("key1", "value1", "key2", "value2");
|
|
2516
|
+
* ```
|
|
2517
|
+
*/
|
|
2518
|
+
mset(...keyValuePairs: RedisClient.KeyLike[]): Promise<"OK">;
|
|
2519
|
+
|
|
2520
|
+
/**
|
|
2521
|
+
* Set multiple keys to multiple values, only if none of the keys exist
|
|
2522
|
+
*
|
|
2523
|
+
* Sets the given keys to their respective values. MSETNX will not perform
|
|
2524
|
+
* any operation at all even if just a single key already exists.
|
|
2525
|
+
*
|
|
2526
|
+
* Because of this semantic, MSETNX can be used in order to set different
|
|
2527
|
+
* keys representing different fields of a unique logic object in a way that
|
|
2528
|
+
* ensures that either all the fields or none at all are set.
|
|
2529
|
+
*
|
|
2530
|
+
* MSETNX is atomic, so all given keys are set at once. It is not possible
|
|
2531
|
+
* for clients to see that some of the keys were updated while others are
|
|
2532
|
+
* unchanged.
|
|
2533
|
+
*
|
|
2534
|
+
* @param keyValuePairs Alternating keys and values (key1, value1, key2, value2, ...)
|
|
2535
|
+
* @returns Promise that resolves with 1 if all keys were set, 0 if no key was set
|
|
2536
|
+
*
|
|
2537
|
+
* @example
|
|
2538
|
+
* ```ts
|
|
2539
|
+
* // Returns 1 if keys don't exist
|
|
2540
|
+
* await redis.msetnx("key1", "value1", "key2", "value2");
|
|
2541
|
+
*
|
|
2542
|
+
* // Returns 0 if any key already exists
|
|
2543
|
+
* await redis.msetnx("key1", "newvalue", "key3", "value3");
|
|
2544
|
+
* ```
|
|
2545
|
+
*/
|
|
2546
|
+
msetnx(...keyValuePairs: RedisClient.KeyLike[]): Promise<number>;
|
|
2547
|
+
|
|
2548
|
+
/**
|
|
2549
|
+
* Count the number of set bits (population counting) in a string
|
|
2550
|
+
* @param key The key to count bits in
|
|
2551
|
+
* @returns Promise that resolves with the number of bits set to 1
|
|
2552
|
+
*/
|
|
2553
|
+
bitcount(key: RedisClient.KeyLike): Promise<number>;
|
|
2554
|
+
|
|
2555
|
+
/**
|
|
2556
|
+
* Returns the bit value at offset in the string value stored at key
|
|
2557
|
+
* @param key The key containing the string value
|
|
2558
|
+
* @param offset The bit offset (zero-based)
|
|
2559
|
+
* @returns Promise that resolves with the bit value (0 or 1) at the specified offset
|
|
2560
|
+
*/
|
|
2561
|
+
getbit(key: RedisClient.KeyLike, offset: number): Promise<number>;
|
|
2562
|
+
|
|
2563
|
+
/**
|
|
2564
|
+
* Sets or clears the bit at offset in the string value stored at key
|
|
2565
|
+
* @param key The key to modify
|
|
2566
|
+
* @param offset The bit offset (zero-based)
|
|
2567
|
+
* @param value The bit value to set (0 or 1)
|
|
2568
|
+
* @returns Promise that resolves with the original bit value stored at offset
|
|
2569
|
+
*/
|
|
2570
|
+
setbit(key: RedisClient.KeyLike, offset: number, value: 0 | 1): Promise<number>;
|
|
2571
|
+
|
|
2572
|
+
/**
|
|
2573
|
+
* Get a substring of the string stored at a key
|
|
2574
|
+
* @param key The key to get the substring from
|
|
2575
|
+
* @param start The starting offset (can be negative to count from the end)
|
|
2576
|
+
* @param end The ending offset (can be negative to count from the end)
|
|
2577
|
+
* @returns Promise that resolves with the substring, or an empty string if the key doesn't exist
|
|
2578
|
+
*/
|
|
2579
|
+
getrange(key: RedisClient.KeyLike, start: number, end: number): Promise<string>;
|
|
2580
|
+
|
|
2581
|
+
/**
|
|
2582
|
+
* Get a substring of the string stored at a key
|
|
2583
|
+
* @param key The key to retrieve from
|
|
2584
|
+
* @param start The starting offset
|
|
2585
|
+
* @param end The ending offset
|
|
2586
|
+
* @returns Promise that resolves with the substring value
|
|
2587
|
+
*
|
|
2588
|
+
* @deprecated Use {@link getrange} instead. SUBSTR is a deprecated Redis command.
|
|
2589
|
+
*/
|
|
2590
|
+
substr(key: RedisClient.KeyLike, start: number, end: number): Promise<string>;
|
|
2591
|
+
|
|
2592
|
+
/**
|
|
2593
|
+
* Overwrite part of a string at key starting at the specified offset
|
|
2594
|
+
* @param key The key to modify
|
|
2595
|
+
* @param offset The offset at which to start overwriting (zero-based)
|
|
2596
|
+
* @param value The string value to write at the offset
|
|
2597
|
+
* @returns Promise that resolves with the length of the string after modification
|
|
2598
|
+
*/
|
|
2599
|
+
setrange(key: RedisClient.KeyLike, offset: number, value: RedisClient.KeyLike): Promise<number>;
|
|
2600
|
+
|
|
2601
|
+
/**
|
|
2602
|
+
* Return a serialized version of the value stored at the specified key
|
|
2603
|
+
* @param key The key to dump
|
|
2604
|
+
* @returns Promise that resolves with the serialized value, or null if the
|
|
2605
|
+
* key doesn't exist
|
|
2606
|
+
*/
|
|
2607
|
+
dump(key: RedisClient.KeyLike): Promise<string | null>;
|
|
2608
|
+
|
|
2609
|
+
/**
|
|
2610
|
+
* Get the expiration time of a key as a UNIX timestamp in seconds
|
|
2611
|
+
*
|
|
2612
|
+
* @param key The key to check
|
|
2613
|
+
* @returns Promise that resolves with the timestamp, or -1 if the key has
|
|
2614
|
+
* no expiration, or -2 if the key doesn't exist
|
|
2615
|
+
*/
|
|
2616
|
+
expiretime(key: RedisClient.KeyLike): Promise<number>;
|
|
2617
|
+
|
|
2618
|
+
/**
|
|
2619
|
+
* Get the value of a key and delete the key
|
|
2620
|
+
*
|
|
2621
|
+
* @param key The key to get and delete
|
|
2622
|
+
* @returns Promise that resolves with the value of the key, or null if the
|
|
2623
|
+
* key doesn't exist
|
|
2624
|
+
*/
|
|
2625
|
+
getdel(key: RedisClient.KeyLike): Promise<string | null>;
|
|
2626
|
+
|
|
2627
|
+
/**
|
|
2628
|
+
* Get the value of a key and optionally set its expiration
|
|
2629
|
+
*
|
|
2630
|
+
* @param key The key to get
|
|
2631
|
+
* @returns Promise that resolves with the value of the key, or null if the
|
|
2632
|
+
* key doesn't exist
|
|
2633
|
+
*/
|
|
2634
|
+
getex(key: RedisClient.KeyLike): Promise<string | null>;
|
|
2635
|
+
|
|
2636
|
+
/**
|
|
2637
|
+
* Get the value of a key and set its expiration in seconds
|
|
2638
|
+
*
|
|
2639
|
+
* @param key The key to get
|
|
2640
|
+
* @param ex Set the specified expire time, in seconds
|
|
2641
|
+
* @param seconds The number of seconds until expiration
|
|
2642
|
+
* @returns Promise that resolves with the value of the key, or null if the
|
|
2643
|
+
* key doesn't exist
|
|
2644
|
+
*/
|
|
2645
|
+
getex(key: RedisClient.KeyLike, ex: "EX", seconds: number): Promise<string | null>;
|
|
2646
|
+
|
|
2647
|
+
/**
|
|
2648
|
+
* Get the value of a key and set its expiration in milliseconds
|
|
2649
|
+
* @param key The key to get
|
|
2650
|
+
* @param px Set the specified expire time, in milliseconds
|
|
2651
|
+
* @param milliseconds The number of milliseconds until expiration
|
|
2652
|
+
* @returns Promise that resolves with the value of the key, or null if the key doesn't exist
|
|
2653
|
+
*/
|
|
2654
|
+
getex(key: RedisClient.KeyLike, px: "PX", milliseconds: number): Promise<string | null>;
|
|
2655
|
+
|
|
2656
|
+
/**
|
|
2657
|
+
* Get the value of a key and set its expiration at a specific Unix timestamp in seconds
|
|
2658
|
+
*
|
|
2659
|
+
* @param key The key to get
|
|
2660
|
+
* @param exat Set the specified Unix time at which the key will expire, in seconds
|
|
2661
|
+
* @param timestampSeconds The Unix timestamp in seconds
|
|
2662
|
+
* @returns Promise that resolves with the value of the key, or null if the key doesn't exist
|
|
2663
|
+
*/
|
|
2664
|
+
getex(key: RedisClient.KeyLike, exat: "EXAT", timestampSeconds: number): Promise<string | null>;
|
|
2665
|
+
|
|
2666
|
+
/**
|
|
2667
|
+
* Get the value of a key and set its expiration at a specific Unix timestamp in milliseconds
|
|
2668
|
+
*
|
|
2669
|
+
* @param key The key to get
|
|
2670
|
+
* @param pxat Set the specified Unix time at which the key will expire, in milliseconds
|
|
2671
|
+
* @param timestampMilliseconds The Unix timestamp in milliseconds
|
|
2672
|
+
* @returns Promise that resolves with the value of the key, or null if the key doesn't exist
|
|
2673
|
+
*/
|
|
2674
|
+
getex(key: RedisClient.KeyLike, pxat: "PXAT", timestampMilliseconds: number): Promise<string | null>;
|
|
2675
|
+
|
|
2676
|
+
/**
|
|
2677
|
+
* Get the value of a key and remove its expiration
|
|
2678
|
+
*
|
|
2679
|
+
* @param key The key to get
|
|
2680
|
+
* @param persist Remove the expiration from the key
|
|
2681
|
+
* @returns Promise that resolves with the value of the key, or null if the key doesn't exist
|
|
2682
|
+
*/
|
|
2683
|
+
getex(key: RedisClient.KeyLike, persist: "PERSIST"): Promise<string | null>;
|
|
2684
|
+
|
|
2685
|
+
/**
|
|
2686
|
+
* Ping the server
|
|
2687
|
+
* @returns Promise that resolves with "PONG" if the server is reachable, or throws an error if the server is not reachable
|
|
2688
|
+
*/
|
|
2689
|
+
ping(): Promise<"PONG">;
|
|
2690
|
+
|
|
2691
|
+
/**
|
|
2692
|
+
* Ping the server with a message
|
|
2693
|
+
*
|
|
2694
|
+
* @param message The message to send to the server
|
|
2695
|
+
* @returns Promise that resolves with the message if the server is reachable, or throws an error if the server is not reachable
|
|
2696
|
+
*/
|
|
2697
|
+
ping(message: RedisClient.KeyLike): Promise<string>;
|
|
2698
|
+
|
|
2699
|
+
/**
|
|
2700
|
+
* Publish a message to a Redis channel.
|
|
2701
|
+
*
|
|
2702
|
+
* @param channel The channel to publish to.
|
|
2703
|
+
* @param message The message to publish.
|
|
2704
|
+
*
|
|
2705
|
+
* @returns The number of clients that received the message. Note that in a
|
|
2706
|
+
* cluster this returns the total number of clients in the same node.
|
|
2707
|
+
*/
|
|
2708
|
+
publish(channel: string, message: string): Promise<number>;
|
|
2709
|
+
|
|
2710
|
+
/**
|
|
2711
|
+
* Subscribe to a Redis channel.
|
|
2712
|
+
*
|
|
2713
|
+
* Subscribing disables automatic pipelining, so all commands will be
|
|
2714
|
+
* received immediately.
|
|
2715
|
+
*
|
|
2716
|
+
* Subscribing moves the channel to a dedicated subscription state which
|
|
2717
|
+
* prevents most other commands from being executed until unsubscribed. Only
|
|
2718
|
+
* {@link ping `.ping()`}, {@link subscribe `.subscribe()`}, and
|
|
2719
|
+
* {@link unsubscribe `.unsubscribe()`} are legal to invoke in a subscribed
|
|
2720
|
+
* upon channel.
|
|
2721
|
+
*
|
|
2722
|
+
* @param channel The channel to subscribe to.
|
|
2723
|
+
* @param listener The listener to call when a message is received on the
|
|
2724
|
+
* channel. The listener will receive the message as the first argument and
|
|
2725
|
+
* the channel as the second argument.
|
|
2726
|
+
*
|
|
2727
|
+
* @example
|
|
2728
|
+
* ```ts
|
|
2729
|
+
* await client.subscribe("my-channel", (message, channel) => {
|
|
2730
|
+
* console.log(`Received message on ${channel}: ${message}`);
|
|
2731
|
+
* });
|
|
2732
|
+
* ```
|
|
2733
|
+
*/
|
|
2734
|
+
subscribe(channel: string, listener: RedisClient.StringPubSubListener): Promise<number>;
|
|
2735
|
+
|
|
2736
|
+
/**
|
|
2737
|
+
* Subscribe to multiple Redis channels.
|
|
2738
|
+
*
|
|
2739
|
+
* Subscribing disables automatic pipelining, so all commands will be
|
|
2740
|
+
* received immediately.
|
|
2741
|
+
*
|
|
2742
|
+
* Subscribing moves the channels to a dedicated subscription state in which
|
|
2743
|
+
* only a limited set of commands can be executed.
|
|
2744
|
+
*
|
|
2745
|
+
* @param channels An array of channels to subscribe to.
|
|
2746
|
+
* @param listener The listener to call when a message is received on any of
|
|
2747
|
+
* the subscribed channels. The listener will receive the message as the
|
|
2748
|
+
* first argument and the channel as the second argument.
|
|
2749
|
+
*/
|
|
2750
|
+
subscribe(channels: string[], listener: RedisClient.StringPubSubListener): Promise<number>;
|
|
2751
|
+
|
|
2752
|
+
/**
|
|
2753
|
+
* Unsubscribe from a singular Redis channel.
|
|
2754
|
+
*
|
|
2755
|
+
* @param channel The channel to unsubscribe from.
|
|
2756
|
+
*
|
|
2757
|
+
* If there are no more channels subscribed to, the client automatically
|
|
2758
|
+
* re-enables pipelining if it was previously enabled.
|
|
2759
|
+
*
|
|
2760
|
+
* Unsubscribing moves the channel back to a normal state out of the
|
|
2761
|
+
* subscription state if all channels have been unsubscribed from. For
|
|
2762
|
+
* further details on the subscription state, see
|
|
2763
|
+
* {@link subscribe `.subscribe()`}.
|
|
2764
|
+
*/
|
|
2765
|
+
unsubscribe(channel: string): Promise<void>;
|
|
2766
|
+
|
|
2767
|
+
/**
|
|
2768
|
+
* Remove a listener from a given Redis channel.
|
|
2769
|
+
*
|
|
2770
|
+
* If there are no more channels subscribed to, the client automatically
|
|
2771
|
+
* re-enables pipelining if it was previously enabled.
|
|
2772
|
+
*
|
|
2773
|
+
* Unsubscribing moves the channel back to a normal state out of the
|
|
2774
|
+
* subscription state if all channels have been unsubscribed from. For
|
|
2775
|
+
* further details on the subscription state, see
|
|
2776
|
+
* {@link subscribe `.subscribe()`}.
|
|
2777
|
+
*
|
|
2778
|
+
* @param channel The channel to unsubscribe from.
|
|
2779
|
+
* @param listener The listener to remove. This is tested against
|
|
2780
|
+
* referential equality so you must pass the exact same listener instance as
|
|
2781
|
+
* when subscribing.
|
|
2782
|
+
*/
|
|
2783
|
+
unsubscribe(channel: string, listener: RedisClient.StringPubSubListener): Promise<void>;
|
|
2784
|
+
|
|
2785
|
+
/**
|
|
2786
|
+
* Unsubscribe from all registered Redis channels.
|
|
2787
|
+
*
|
|
2788
|
+
* The client will automatically re-enable pipelining if it was previously
|
|
2789
|
+
* enabled.
|
|
2790
|
+
*
|
|
2791
|
+
* Unsubscribing moves the channel back to a normal state out of the
|
|
2792
|
+
* subscription state if all channels have been unsubscribed from. For
|
|
2793
|
+
* further details on the subscription state, see
|
|
2794
|
+
* {@link subscribe `.subscribe()`}.
|
|
2795
|
+
*/
|
|
2796
|
+
unsubscribe(): Promise<void>;
|
|
2797
|
+
|
|
2798
|
+
/**
|
|
2799
|
+
* Unsubscribe from multiple Redis channels.
|
|
2800
|
+
*
|
|
2801
|
+
* @param channels An array of channels to unsubscribe from.
|
|
2802
|
+
*
|
|
2803
|
+
* If there are no more channels subscribed to, the client automatically
|
|
2804
|
+
* re-enables pipelining if it was previously enabled.
|
|
2805
|
+
*
|
|
2806
|
+
* Unsubscribing moves the channel back to a normal state out of the
|
|
2807
|
+
* subscription state if all channels have been unsubscribed from. For
|
|
2808
|
+
* further details on the subscription state, see
|
|
2809
|
+
* {@link subscribe `.subscribe()`}.
|
|
2810
|
+
*/
|
|
2811
|
+
unsubscribe(channels: string[]): Promise<void>;
|
|
2812
|
+
|
|
2813
|
+
/**
|
|
2814
|
+
* @brief Create a new RedisClient instance with the same configuration as
|
|
2815
|
+
* the current instance.
|
|
2816
|
+
*
|
|
2817
|
+
* This will open up a new connection to the Redis server.
|
|
2818
|
+
*/
|
|
2819
|
+
duplicate(): Promise<RedisClient>;
|
|
2820
|
+
|
|
2821
|
+
/**
|
|
2822
|
+
* Copy the value stored at the source key to the destination key
|
|
2823
|
+
*
|
|
2824
|
+
* By default, the destination key is created in the logical database used
|
|
2825
|
+
* by the connection. The REPLACE option removes the destination key before
|
|
2826
|
+
* copying the value to it.
|
|
2827
|
+
*
|
|
2828
|
+
* @param source The source key to copy from
|
|
2829
|
+
* @param destination The destination key to copy to
|
|
2830
|
+
* @returns Promise that resolves with 1 if the key was copied, 0 if not
|
|
2831
|
+
*
|
|
2832
|
+
* @example
|
|
2833
|
+
* ```ts
|
|
2834
|
+
* await redis.set("mykey", "Hello");
|
|
2835
|
+
* await redis.copy("mykey", "myotherkey");
|
|
2836
|
+
* console.log(await redis.get("myotherkey")); // "Hello"
|
|
2837
|
+
* ```
|
|
2838
|
+
*/
|
|
2839
|
+
copy(source: RedisClient.KeyLike, destination: RedisClient.KeyLike): Promise<number>;
|
|
2840
|
+
|
|
2841
|
+
/**
|
|
2842
|
+
* Copy the value stored at the source key to the destination key, optionally replacing it
|
|
2843
|
+
*
|
|
2844
|
+
* The REPLACE option removes the destination key before copying the value to it.
|
|
2845
|
+
*
|
|
2846
|
+
* @param source The source key to copy from
|
|
2847
|
+
* @param destination The destination key to copy to
|
|
2848
|
+
* @param replace "REPLACE" - Remove the destination key before copying
|
|
2849
|
+
* @returns Promise that resolves with 1 if the key was copied, 0 if not
|
|
2850
|
+
*
|
|
2851
|
+
* @example
|
|
2852
|
+
* ```ts
|
|
2853
|
+
* await redis.set("mykey", "Hello");
|
|
2854
|
+
* await redis.set("myotherkey", "World");
|
|
2855
|
+
* await redis.copy("mykey", "myotherkey", "REPLACE");
|
|
2856
|
+
* console.log(await redis.get("myotherkey")); // "Hello"
|
|
2857
|
+
* ```
|
|
2858
|
+
*/
|
|
2859
|
+
copy(source: RedisClient.KeyLike, destination: RedisClient.KeyLike, replace: "REPLACE"): Promise<number>;
|
|
2860
|
+
|
|
2861
|
+
/**
|
|
2862
|
+
* Asynchronously delete one or more keys
|
|
2863
|
+
*
|
|
2864
|
+
* This command is very similar to DEL: it removes the specified keys.
|
|
2865
|
+
* Just like DEL a key is ignored if it does not exist. However, the
|
|
2866
|
+
* command performs the actual memory reclaiming in a different thread, so
|
|
2867
|
+
* it is not blocking, while DEL is. This is particularly useful when
|
|
2868
|
+
* deleting large values or large numbers of keys.
|
|
2869
|
+
*
|
|
2870
|
+
* @param keys The keys to delete
|
|
2871
|
+
* @returns Promise that resolves with the number of keys that were unlinked
|
|
2872
|
+
*
|
|
2873
|
+
* @example
|
|
2874
|
+
* ```ts
|
|
2875
|
+
* await redis.set("key1", "Hello");
|
|
2876
|
+
* await redis.set("key2", "World");
|
|
2877
|
+
* const count = await redis.unlink("key1", "key2", "key3");
|
|
2878
|
+
* console.log(count); // 2
|
|
2879
|
+
* ```
|
|
2880
|
+
*/
|
|
2881
|
+
unlink(...keys: RedisClient.KeyLike[]): Promise<number>;
|
|
2882
|
+
|
|
2883
|
+
/**
|
|
2884
|
+
* Alters the last access time of one or more keys
|
|
2885
|
+
*
|
|
2886
|
+
* A key is ignored if it does not exist. The command returns the number
|
|
2887
|
+
* of keys that were touched.
|
|
2888
|
+
*
|
|
2889
|
+
* This command is useful in conjunction with maxmemory-policy
|
|
2890
|
+
* allkeys-lru / volatile-lru to change the last access time of keys for
|
|
2891
|
+
* eviction purposes.
|
|
2892
|
+
*
|
|
2893
|
+
* @param keys One or more keys to touch
|
|
2894
|
+
* @returns Promise that resolves with the number of keys that were touched
|
|
2895
|
+
*
|
|
2896
|
+
* @example
|
|
2897
|
+
* ```ts
|
|
2898
|
+
* await redis.set("key1", "Hello");
|
|
2899
|
+
* await redis.set("key2", "World");
|
|
2900
|
+
* const touched = await redis.touch("key1", "key2", "key3");
|
|
2901
|
+
* console.log(touched); // 2 (key3 doesn't exist)
|
|
2902
|
+
* ```
|
|
2903
|
+
*/
|
|
2904
|
+
touch(...keys: RedisClient.KeyLike[]): Promise<number>;
|
|
2905
|
+
|
|
2906
|
+
/**
|
|
2907
|
+
* Rename a key to a new key
|
|
2908
|
+
*
|
|
2909
|
+
* Renames key to newkey. If newkey already exists, it is overwritten. If
|
|
2910
|
+
* key does not exist, an error is returned.
|
|
2911
|
+
*
|
|
2912
|
+
* @param key The key to rename
|
|
2913
|
+
* @param newkey The new key name
|
|
2914
|
+
* @returns Promise that resolves with "OK" on success
|
|
2915
|
+
*
|
|
2916
|
+
* @example
|
|
2917
|
+
* ```ts
|
|
2918
|
+
* await redis.set("mykey", "Hello");
|
|
2919
|
+
* await redis.rename("mykey", "myotherkey");
|
|
2920
|
+
* const value = await redis.get("myotherkey"); // "Hello"
|
|
2921
|
+
* const oldValue = await redis.get("mykey"); // null
|
|
2922
|
+
* ```
|
|
2923
|
+
*/
|
|
2924
|
+
rename(key: RedisClient.KeyLike, newkey: RedisClient.KeyLike): Promise<"OK">;
|
|
2925
|
+
|
|
2926
|
+
/**
|
|
2927
|
+
* Rename a key to a new key only if the new key does not exist
|
|
2928
|
+
*
|
|
2929
|
+
* Renames key to newkey only if newkey does not yet exist. If key does not
|
|
2930
|
+
* exist, an error is returned.
|
|
2931
|
+
*
|
|
2932
|
+
* @param key The key to rename
|
|
2933
|
+
* @param newkey The new key name
|
|
2934
|
+
* @returns Promise that resolves with 1 if the key was renamed, 0 if newkey already exists
|
|
2935
|
+
*
|
|
2936
|
+
* @example
|
|
2937
|
+
* ```ts
|
|
2938
|
+
* await redis.set("mykey", "Hello");
|
|
2939
|
+
* await redis.renamenx("mykey", "myotherkey"); // Returns 1
|
|
2940
|
+
* await redis.set("mykey2", "World");
|
|
2941
|
+
* await redis.renamenx("mykey2", "myotherkey"); // Returns 0 (myotherkey exists)
|
|
2942
|
+
* ```
|
|
2943
|
+
*/
|
|
2944
|
+
renamenx(key: RedisClient.KeyLike, newkey: RedisClient.KeyLike): Promise<number>;
|
|
2945
|
+
|
|
2946
|
+
/**
|
|
2947
|
+
* Compute the difference between sorted sets with scores
|
|
2948
|
+
*
|
|
2949
|
+
* @param numkeys The number of sorted set keys
|
|
2950
|
+
* @param keys The sorted set keys followed by "WITHSCORES"
|
|
2951
|
+
* @returns Promise that resolves with an array of [member, score] pairs
|
|
2952
|
+
*
|
|
2953
|
+
* @example
|
|
2954
|
+
* ```ts
|
|
2955
|
+
* await redis.send("ZADD", ["zset1", "1", "one", "2", "two", "3", "three"]);
|
|
2956
|
+
* await redis.send("ZADD", ["zset2", "1", "one", "2", "two"]);
|
|
2957
|
+
* const diff = await redis.zdiff(2, "zset1", "zset2", "WITHSCORES");
|
|
2958
|
+
* console.log(diff); // ["three", "3"]
|
|
2959
|
+
* ```
|
|
2960
|
+
*/
|
|
2961
|
+
zdiff(
|
|
2962
|
+
numkeys: number,
|
|
2963
|
+
...args: [...keys: RedisClient.KeyLike[], withscores: "WITHSCORES"]
|
|
2964
|
+
): Promise<[string, number][]>;
|
|
2965
|
+
|
|
2966
|
+
/**
|
|
2967
|
+
* Compute the difference between the first sorted set and all successive sorted sets
|
|
2968
|
+
*
|
|
2969
|
+
* Returns the members of the sorted set resulting from the difference between the first
|
|
2970
|
+
* sorted set and all the successive sorted sets. The first key is the only one used to
|
|
2971
|
+
* compute the members of the difference.
|
|
2972
|
+
*
|
|
2973
|
+
* @param numkeys The number of sorted set keys
|
|
2974
|
+
* @param keys The sorted set keys to compare
|
|
2975
|
+
* @returns Promise that resolves with an array of members
|
|
2976
|
+
*
|
|
2977
|
+
* @example
|
|
2978
|
+
* ```ts
|
|
2979
|
+
* await redis.send("ZADD", ["zset1", "1", "one", "2", "two", "3", "three"]);
|
|
2980
|
+
* await redis.send("ZADD", ["zset2", "1", "one", "2", "two"]);
|
|
2981
|
+
* const diff = await redis.zdiff(2, "zset1", "zset2");
|
|
2982
|
+
* console.log(diff); // ["three"]
|
|
2983
|
+
* ```
|
|
2984
|
+
*/
|
|
2985
|
+
zdiff(numkeys: number, ...keys: RedisClient.KeyLike[]): Promise<string[]>;
|
|
2986
|
+
|
|
2987
|
+
/**
|
|
2988
|
+
* Compute the difference between sorted sets and store the result
|
|
2989
|
+
*
|
|
2990
|
+
* Computes the difference between the first and all successive sorted sets given by the
|
|
2991
|
+
* specified keys and stores the result in destination. Keys that do not exist are
|
|
2992
|
+
* considered to be empty sets.
|
|
2993
|
+
*
|
|
2994
|
+
* @param destination The destination key to store the result
|
|
2995
|
+
* @param numkeys The number of input sorted set keys
|
|
2996
|
+
* @param keys The sorted set keys to compare
|
|
2997
|
+
* @returns Promise that resolves with the number of elements in the resulting sorted set
|
|
2998
|
+
*
|
|
2999
|
+
* @example
|
|
3000
|
+
* ```ts
|
|
3001
|
+
* await redis.send("ZADD", ["zset1", "1", "one", "2", "two", "3", "three"]);
|
|
3002
|
+
* await redis.send("ZADD", ["zset2", "1", "one"]);
|
|
3003
|
+
* const count = await redis.zdiffstore("out", 2, "zset1", "zset2");
|
|
3004
|
+
* console.log(count); // 2 (two, three)
|
|
3005
|
+
* ```
|
|
3006
|
+
*/
|
|
3007
|
+
zdiffstore(destination: RedisClient.KeyLike, numkeys: number, ...keys: RedisClient.KeyLike[]): Promise<number>;
|
|
3008
|
+
|
|
3009
|
+
/**
|
|
3010
|
+
* Compute the intersection of multiple sorted sets
|
|
3011
|
+
*
|
|
3012
|
+
* Returns the members of the set resulting from the intersection of all the given sorted sets.
|
|
3013
|
+
* Keys that do not exist are considered to be empty sets.
|
|
3014
|
+
*
|
|
3015
|
+
* By default, the resulting score of each member is the sum of its scores in the sorted sets where it exists.
|
|
3016
|
+
*
|
|
3017
|
+
* Options:
|
|
3018
|
+
* - WEIGHTS: Multiply the score of each member in the corresponding sorted set by the given weight before aggregation
|
|
3019
|
+
* - AGGREGATE SUM|MIN|MAX: Specify how the scores are aggregated (default: SUM)
|
|
3020
|
+
* - WITHSCORES: Return the scores along with the members
|
|
3021
|
+
*
|
|
3022
|
+
* @param numkeys The number of input keys (sorted sets)
|
|
3023
|
+
* @param keys The sorted set keys to intersect
|
|
3024
|
+
* @returns Promise that resolves with an array of members (or [member, score] pairs if WITHSCORES)
|
|
3025
|
+
*
|
|
3026
|
+
* @example
|
|
3027
|
+
* ```ts
|
|
3028
|
+
* // Set up sorted sets
|
|
3029
|
+
* await redis.zadd("zset1", "1", "a", "2", "b", "3", "c");
|
|
3030
|
+
* await redis.zadd("zset2", "1", "b", "2", "c", "3", "d");
|
|
3031
|
+
*
|
|
3032
|
+
* // Basic intersection - returns members that exist in all sets
|
|
3033
|
+
* const result1 = await redis.zinter(2, "zset1", "zset2");
|
|
3034
|
+
* // Returns: ["b", "c"]
|
|
3035
|
+
*
|
|
3036
|
+
* // With scores (sum by default)
|
|
3037
|
+
* const result2 = await redis.zinter(2, "zset1", "zset2", "WITHSCORES");
|
|
3038
|
+
* // Returns: ["b", "3", "c", "5"] (b: 2+1=3, c: 3+2=5)
|
|
3039
|
+
*
|
|
3040
|
+
* // With weights
|
|
3041
|
+
* const result3 = await redis.zinter(2, "zset1", "zset2", "WEIGHTS", "2", "3", "WITHSCORES");
|
|
3042
|
+
* // Returns: ["b", "7", "c", "12"] (b: 2*2+1*3=7, c: 3*2+2*3=12)
|
|
3043
|
+
*
|
|
3044
|
+
* // With MIN aggregation
|
|
3045
|
+
* const result4 = await redis.zinter(2, "zset1", "zset2", "AGGREGATE", "MIN", "WITHSCORES");
|
|
3046
|
+
* // Returns: ["b", "1", "c", "2"] (minimum scores)
|
|
3047
|
+
* ```
|
|
3048
|
+
*/
|
|
3049
|
+
zinter(
|
|
3050
|
+
numkeys: number,
|
|
3051
|
+
...args: [...args: (string | number)[], withscores: "WITHSCORES"]
|
|
3052
|
+
): Promise<[string, number][]>;
|
|
3053
|
+
|
|
3054
|
+
/**
|
|
3055
|
+
* Compute the intersection of multiple sorted sets
|
|
3056
|
+
*
|
|
3057
|
+
* Returns the members of the set resulting from the intersection of all the given sorted sets.
|
|
3058
|
+
* Keys that do not exist are considered to be empty sets.
|
|
3059
|
+
*
|
|
3060
|
+
* By default, the resulting score of each member is the sum of its scores in the sorted sets where it exists.
|
|
3061
|
+
*
|
|
3062
|
+
* Options:
|
|
3063
|
+
* - WEIGHTS: Multiply the score of each member in the corresponding sorted set by the given weight before aggregation
|
|
3064
|
+
* - AGGREGATE SUM|MIN|MAX: Specify how the scores are aggregated (default: SUM)
|
|
3065
|
+
* - WITHSCORES: Return the scores along with the members
|
|
3066
|
+
*
|
|
3067
|
+
* @param numkeys The number of input keys (sorted sets)
|
|
3068
|
+
* @param keys The sorted set keys to intersect
|
|
3069
|
+
* @returns Promise that resolves with an array of members (or [member, score] pairs if WITHSCORES)
|
|
3070
|
+
*
|
|
3071
|
+
* @example
|
|
3072
|
+
* ```ts
|
|
3073
|
+
* // Set up sorted sets
|
|
3074
|
+
* await redis.zadd("zset1", "1", "a", "2", "b", "3", "c");
|
|
3075
|
+
* await redis.zadd("zset2", "1", "b", "2", "c", "3", "d");
|
|
3076
|
+
*
|
|
3077
|
+
* // Basic intersection - returns members that exist in all sets
|
|
3078
|
+
* const result1 = await redis.zinter(2, "zset1", "zset2");
|
|
3079
|
+
* // Returns: ["b", "c"]
|
|
3080
|
+
*
|
|
3081
|
+
* // With scores (sum by default)
|
|
3082
|
+
* const result2 = await redis.zinter(2, "zset1", "zset2", "WITHSCORES");
|
|
3083
|
+
* // Returns: ["b", "3", "c", "5"] (b: 2+1=3, c: 3+2=5)
|
|
3084
|
+
*
|
|
3085
|
+
* // With weights
|
|
3086
|
+
* const result3 = await redis.zinter(2, "zset1", "zset2", "WEIGHTS", "2", "3", "WITHSCORES");
|
|
3087
|
+
* // Returns: ["b", "7", "c", "12"] (b: 2*2+1*3=7, c: 3*2+2*3=12)
|
|
3088
|
+
*
|
|
3089
|
+
* // With MIN aggregation
|
|
3090
|
+
* const result4 = await redis.zinter(2, "zset1", "zset2", "AGGREGATE", "MIN", "WITHSCORES");
|
|
3091
|
+
* // Returns: ["b", "1", "c", "2"] (minimum scores)
|
|
3092
|
+
* ```
|
|
3093
|
+
*/
|
|
3094
|
+
zinter(numkeys: number, ...args: (string | number)[]): Promise<string[]>;
|
|
3095
|
+
|
|
3096
|
+
/**
|
|
3097
|
+
* Count the number of members in the intersection of multiple sorted sets
|
|
3098
|
+
*
|
|
3099
|
+
* Computes the cardinality of the intersection of the sorted sets at the specified keys.
|
|
3100
|
+
* The intersection includes only elements that exist in all of the given sorted sets.
|
|
3101
|
+
*
|
|
3102
|
+
* When a LIMIT is provided, the command stops counting once the limit is reached, which
|
|
3103
|
+
* is useful for performance when you only need to know if the cardinality exceeds a
|
|
3104
|
+
* certain threshold.
|
|
3105
|
+
*
|
|
3106
|
+
* @param numkeys The number of sorted set keys
|
|
3107
|
+
* @param keys The sorted set keys to intersect
|
|
3108
|
+
* @returns Promise that resolves with the number of elements in the intersection
|
|
3109
|
+
*
|
|
3110
|
+
* @example
|
|
3111
|
+
* ```ts
|
|
3112
|
+
* await redis.send("ZADD", ["zset1", "1", "one", "2", "two", "3", "three"]);
|
|
3113
|
+
* await redis.send("ZADD", ["zset2", "1", "one", "2", "two", "4", "four"]);
|
|
3114
|
+
* const count = await redis.zintercard(2, "zset1", "zset2");
|
|
3115
|
+
* console.log(count); // 2 (one, two)
|
|
3116
|
+
* ```
|
|
3117
|
+
*/
|
|
3118
|
+
zintercard(numkeys: number, ...keys: RedisClient.KeyLike[]): Promise<number>;
|
|
3119
|
+
|
|
3120
|
+
/**
|
|
3121
|
+
* Count the number of members in the intersection with a limit
|
|
3122
|
+
*
|
|
3123
|
+
* @param numkeys The number of sorted set keys
|
|
3124
|
+
* @param keys The sorted set keys followed by "LIMIT" and limit value
|
|
3125
|
+
* @returns Promise that resolves with the number of elements (up to limit)
|
|
3126
|
+
*
|
|
3127
|
+
* @example
|
|
3128
|
+
* ```ts
|
|
3129
|
+
* await redis.send("ZADD", ["zset1", "1", "a", "2", "b", "3", "c"]);
|
|
3130
|
+
* await redis.send("ZADD", ["zset2", "1", "a", "2", "b", "3", "c"]);
|
|
3131
|
+
* const count = await redis.zintercard(2, "zset1", "zset2", "LIMIT", 2);
|
|
3132
|
+
* console.log(count); // 2 (stopped at limit)
|
|
3133
|
+
* ```
|
|
3134
|
+
*/
|
|
3135
|
+
zintercard(numkeys: number, ...args: (RedisClient.KeyLike | "LIMIT" | number)[]): Promise<number>;
|
|
3136
|
+
|
|
3137
|
+
/**
|
|
3138
|
+
* Compute the intersection of multiple sorted sets and store in destination
|
|
3139
|
+
*
|
|
3140
|
+
* This command is similar to ZINTER, but instead of returning the result, it stores it in the destination key.
|
|
3141
|
+
* If the destination key already exists, it is overwritten.
|
|
3142
|
+
*
|
|
3143
|
+
* Options:
|
|
3144
|
+
* - WEIGHTS: Multiply the score of each member in the corresponding sorted set by the given weight before aggregation
|
|
3145
|
+
* - AGGREGATE SUM|MIN|MAX: Specify how the scores are aggregated (default: SUM)
|
|
3146
|
+
*
|
|
3147
|
+
* @param destination The destination key to store the result
|
|
3148
|
+
* @param numkeys The number of input keys (sorted sets)
|
|
3149
|
+
* @param keys The sorted set keys to intersect and optional WEIGHTS/AGGREGATE options
|
|
3150
|
+
* @returns Promise that resolves with the number of elements in the resulting sorted set
|
|
3151
|
+
*
|
|
3152
|
+
* @example
|
|
3153
|
+
* ```ts
|
|
3154
|
+
* // Set up sorted sets
|
|
3155
|
+
* await redis.zadd("zset1", "1", "a", "2", "b", "3", "c");
|
|
3156
|
+
* await redis.zadd("zset2", "1", "b", "2", "c", "3", "d");
|
|
3157
|
+
*
|
|
3158
|
+
* // Basic intersection store
|
|
3159
|
+
* const count1 = await redis.zinterstore("out", 2, "zset1", "zset2");
|
|
3160
|
+
* // Returns: 2 (stored "b" and "c" in "out")
|
|
3161
|
+
*
|
|
3162
|
+
* // With weights
|
|
3163
|
+
* const count2 = await redis.zinterstore("out2", 2, "zset1", "zset2", "WEIGHTS", "2", "3");
|
|
3164
|
+
* // Returns: 2
|
|
3165
|
+
*
|
|
3166
|
+
* // With MAX aggregation
|
|
3167
|
+
* const count3 = await redis.zinterstore("out3", 2, "zset1", "zset2", "AGGREGATE", "MAX");
|
|
3168
|
+
* // Returns: 2 (stores maximum scores)
|
|
3169
|
+
* ```
|
|
3170
|
+
*/
|
|
3171
|
+
zinterstore(destination: RedisClient.KeyLike, numkeys: number, ...args: (string | number)[]): Promise<number>;
|
|
3172
|
+
|
|
3173
|
+
/**
|
|
3174
|
+
* Compute the union of multiple sorted sets
|
|
3175
|
+
*
|
|
3176
|
+
* Returns the union of the sorted sets given by the specified keys.
|
|
3177
|
+
* For every element that appears in at least one of the input sorted sets, the output will contain that element.
|
|
3178
|
+
*
|
|
3179
|
+
* Options:
|
|
3180
|
+
* - WEIGHTS: Multiply the score of each member in the corresponding sorted set by the given weight before aggregation
|
|
3181
|
+
* - AGGREGATE SUM|MIN|MAX: Specify how the scores are aggregated (default: SUM)
|
|
3182
|
+
* - WITHSCORES: Include scores in the result
|
|
3183
|
+
*
|
|
3184
|
+
* @param numkeys The number of input keys (sorted sets)
|
|
3185
|
+
* @param keys The sorted set keys to union and optional WEIGHTS/AGGREGATE/WITHSCORES options
|
|
3186
|
+
* @returns Promise that resolves with an array of members (or members with scores if WITHSCORES is used)
|
|
3187
|
+
*
|
|
3188
|
+
* @example
|
|
3189
|
+
* ```ts
|
|
3190
|
+
* // Set up sorted sets
|
|
3191
|
+
* await redis.zadd("zset1", "1", "a", "2", "b", "3", "c");
|
|
3192
|
+
* await redis.zadd("zset2", "4", "b", "5", "c", "6", "d");
|
|
3193
|
+
*
|
|
3194
|
+
* // Basic union
|
|
3195
|
+
* const members1 = await redis.zunion(2, "zset1", "zset2");
|
|
3196
|
+
* // Returns: ["a", "b", "c", "d"]
|
|
3197
|
+
*
|
|
3198
|
+
* // With weights
|
|
3199
|
+
* const members2 = await redis.zunion(2, "zset1", "zset2", "WEIGHTS", "2", "3");
|
|
3200
|
+
* // Returns: ["a", "b", "c", "d"] with calculated scores
|
|
3201
|
+
*
|
|
3202
|
+
* // With MIN aggregation
|
|
3203
|
+
* const members3 = await redis.zunion(2, "zset1", "zset2", "AGGREGATE", "MIN");
|
|
3204
|
+
* // Returns: ["a", "b", "c", "d"] with minimum scores
|
|
3205
|
+
*
|
|
3206
|
+
* // With scores
|
|
3207
|
+
* const withScores = await redis.zunion(2, "zset1", "zset2", "WITHSCORES");
|
|
3208
|
+
* // Returns: ["a", "1", "b", "2", "c", "3", "d", "6"] (alternating member and score)
|
|
3209
|
+
* ```
|
|
3210
|
+
*/
|
|
3211
|
+
zunion(
|
|
3212
|
+
numkeys: number,
|
|
3213
|
+
...args: [...args: (string | number)[], withscores: "WITHSCORES"]
|
|
3214
|
+
): Promise<[string, number][]>;
|
|
3215
|
+
|
|
3216
|
+
/**
|
|
3217
|
+
* Compute the union of multiple sorted sets
|
|
3218
|
+
*
|
|
3219
|
+
* Returns the union of the sorted sets given by the specified keys.
|
|
3220
|
+
* For every element that appears in at least one of the input sorted sets, the output will contain that element.
|
|
3221
|
+
*
|
|
3222
|
+
* Options:
|
|
3223
|
+
* - WEIGHTS: Multiply the score of each member in the corresponding sorted set by the given weight before aggregation
|
|
3224
|
+
* - AGGREGATE SUM|MIN|MAX: Specify how the scores are aggregated (default: SUM)
|
|
3225
|
+
* - WITHSCORES: Include scores in the result
|
|
3226
|
+
*
|
|
3227
|
+
* @param numkeys The number of input keys (sorted sets)
|
|
3228
|
+
* @param keys The sorted set keys to union and optional WEIGHTS/AGGREGATE/WITHSCORES options
|
|
3229
|
+
* @returns Promise that resolves with an array of members (or members with scores if WITHSCORES is used)
|
|
3230
|
+
*
|
|
3231
|
+
* @example
|
|
3232
|
+
* ```ts
|
|
3233
|
+
* // Set up sorted sets
|
|
3234
|
+
* await redis.zadd("zset1", "1", "a", "2", "b", "3", "c");
|
|
3235
|
+
* await redis.zadd("zset2", "4", "b", "5", "c", "6", "d");
|
|
3236
|
+
*
|
|
3237
|
+
* // Basic union
|
|
3238
|
+
* const members1 = await redis.zunion(2, "zset1", "zset2");
|
|
3239
|
+
* // Returns: ["a", "b", "c", "d"]
|
|
3240
|
+
*
|
|
3241
|
+
* // With weights
|
|
3242
|
+
* const members2 = await redis.zunion(2, "zset1", "zset2", "WEIGHTS", "2", "3");
|
|
3243
|
+
* // Returns: ["a", "b", "c", "d"] with calculated scores
|
|
3244
|
+
*
|
|
3245
|
+
* // With MIN aggregation
|
|
3246
|
+
* const members3 = await redis.zunion(2, "zset1", "zset2", "AGGREGATE", "MIN");
|
|
3247
|
+
* // Returns: ["a", "b", "c", "d"] with minimum scores
|
|
3248
|
+
*
|
|
3249
|
+
* // With scores
|
|
3250
|
+
* const withScores = await redis.zunion(2, "zset1", "zset2", "WITHSCORES");
|
|
3251
|
+
* // Returns: ["a", "1", "b", "2", "c", "3", "d", "6"] (alternating member and score)
|
|
3252
|
+
* ```
|
|
3253
|
+
*/
|
|
3254
|
+
zunion(numkeys: number, ...args: (string | number)[]): Promise<string[]>;
|
|
3255
|
+
|
|
3256
|
+
/**
|
|
3257
|
+
* Compute the union of multiple sorted sets and store in destination
|
|
3258
|
+
*
|
|
3259
|
+
* This command is similar to ZUNION, but instead of returning the result, it stores it in the destination key.
|
|
3260
|
+
* If the destination key already exists, it is overwritten.
|
|
3261
|
+
*
|
|
3262
|
+
* Options:
|
|
3263
|
+
* - WEIGHTS: Multiply the score of each member in the corresponding sorted set by the given weight before aggregation
|
|
3264
|
+
* - AGGREGATE SUM|MIN|MAX: Specify how the scores are aggregated (default: SUM)
|
|
3265
|
+
*
|
|
3266
|
+
* @param destination The destination key to store the result
|
|
3267
|
+
* @param numkeys The number of input keys (sorted sets)
|
|
3268
|
+
* @param keys The sorted set keys to union and optional WEIGHTS/AGGREGATE options
|
|
3269
|
+
* @returns Promise that resolves with the number of elements in the resulting sorted set
|
|
3270
|
+
*
|
|
3271
|
+
* @example
|
|
3272
|
+
* ```ts
|
|
3273
|
+
* // Set up sorted sets
|
|
3274
|
+
* await redis.zadd("zset1", "1", "a", "2", "b", "3", "c");
|
|
3275
|
+
* await redis.zadd("zset2", "4", "b", "5", "c", "6", "d");
|
|
3276
|
+
*
|
|
3277
|
+
* // Basic union store
|
|
3278
|
+
* const count1 = await redis.zunionstore("out", 2, "zset1", "zset2");
|
|
3279
|
+
* // Returns: 4 (stored "a", "b", "c", "d" in "out")
|
|
3280
|
+
*
|
|
3281
|
+
* // With weights
|
|
3282
|
+
* const count2 = await redis.zunionstore("out2", 2, "zset1", "zset2", "WEIGHTS", "2", "3");
|
|
3283
|
+
* // Returns: 4
|
|
3284
|
+
*
|
|
3285
|
+
* // With MAX aggregation
|
|
3286
|
+
* const count3 = await redis.zunionstore("out3", 2, "zset1", "zset2", "AGGREGATE", "MAX");
|
|
3287
|
+
* // Returns: 4 (stores maximum scores)
|
|
3288
|
+
* ```
|
|
3289
|
+
*/
|
|
3290
|
+
zunionstore(destination: RedisClient.KeyLike, numkeys: number, ...args: (string | number)[]): Promise<number>;
|
|
3291
|
+
|
|
3292
|
+
/**
|
|
3293
|
+
* Remove and return members with scores from one or more sorted sets.
|
|
3294
|
+
* Pops from the first non-empty sorted set.
|
|
3295
|
+
*
|
|
3296
|
+
* @example
|
|
3297
|
+
* ```ts
|
|
3298
|
+
* // Pop lowest score from one set
|
|
3299
|
+
* const result1 = await redis.zmpop(1, "myzset", "MIN");
|
|
3300
|
+
* // Returns: ["myzset", [["member1", 1]]]
|
|
3301
|
+
*
|
|
3302
|
+
* // Pop highest score from multiple sets
|
|
3303
|
+
* const result2 = await redis.zmpop(2, "zset1", "zset2", "MAX");
|
|
3304
|
+
* // Returns: ["zset1", [["member5", 5]]] (pops from first non-empty)
|
|
3305
|
+
*
|
|
3306
|
+
* // Pop multiple members
|
|
3307
|
+
* const result3 = await redis.zmpop(1, "myzset", "MIN", "COUNT", 3);
|
|
3308
|
+
* // Returns: ["myzset", [["member1", 1], ["member2", 2], ["member3", 3]]]
|
|
3309
|
+
*
|
|
3310
|
+
* // Empty set returns null
|
|
3311
|
+
* const result4 = await redis.zmpop(1, "emptyset", "MIN");
|
|
3312
|
+
* // Returns: null
|
|
3313
|
+
* ```
|
|
3314
|
+
*/
|
|
3315
|
+
zmpop(numkeys: number, ...args: (string | number)[]): Promise<[string, [string, number][]] | null>;
|
|
3316
|
+
|
|
3317
|
+
/**
|
|
3318
|
+
* Blocking version of ZMPOP. Blocks until a member is available or timeout expires.
|
|
3319
|
+
*
|
|
3320
|
+
* @example
|
|
3321
|
+
* ```ts
|
|
3322
|
+
* // Block for 5 seconds waiting for a member
|
|
3323
|
+
* const result1 = await redis.bzmpop(5, 1, "myzset", "MIN");
|
|
3324
|
+
* // Returns: ["myzset", [["member1", 1]]] or null if timeout
|
|
3325
|
+
*
|
|
3326
|
+
* // Block indefinitely (timeout 0)
|
|
3327
|
+
* const result2 = await redis.bzmpop(0, 2, "zset1", "zset2", "MAX");
|
|
3328
|
+
* // Returns: ["zset1", [["member5", 5]]]
|
|
3329
|
+
*
|
|
3330
|
+
* // Block with COUNT option
|
|
3331
|
+
* const result3 = await redis.bzmpop(1, 1, "myzset", "MIN", "COUNT", 2);
|
|
3332
|
+
* // Returns: ["myzset", [["member1", 1], ["member2", 2]]] or null if timeout
|
|
3333
|
+
* ```
|
|
3334
|
+
*/
|
|
3335
|
+
bzmpop(
|
|
3336
|
+
timeout: number,
|
|
3337
|
+
numkeys: number,
|
|
3338
|
+
...args: (string | number)[]
|
|
3339
|
+
): Promise<[string, [string, number][]] | null>;
|
|
3340
|
+
}
|
|
3341
|
+
|
|
3342
|
+
/**
|
|
3343
|
+
* Default Redis client
|
|
3344
|
+
*
|
|
3345
|
+
* Connection information populated from one of, in order of preference:
|
|
3346
|
+
* - `process.env.VALKEY_URL`
|
|
3347
|
+
* - `process.env.REDIS_URL`
|
|
3348
|
+
* - `"valkey://localhost:6379"`
|
|
3349
|
+
*
|
|
3350
|
+
*/
|
|
3351
|
+
export const redis: RedisClient;
|
|
3352
|
+
}
|