@autobe/compiler 0.24.1 → 0.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12547,23 +12547,33 @@
12547
12547
  "node_modules/@popperjs/core/lib/utils/userAgent.d.ts": "export default function getUAString(): string;\n",
12548
12548
  "node_modules/@popperjs/core/lib/utils/within.d.ts": "export declare function within(min: number, value: number, max: number): number;\nexport declare function withinMaxClamp(min: number, value: number, max: number): number;\n",
12549
12549
  "node_modules/@popperjs/core/package.json": "{\n \"name\": \"@popperjs/core\",\n \"version\": \"2.11.8\",\n \"description\": \"Tooltip and Popover Positioning Engine\",\n \"main\": \"dist/cjs/popper.js\",\n \"main:umd\": \"dist/umd/popper.js\",\n \"module\": \"lib/index.js\",\n \"unpkg\": \"dist/umd/popper.min.js\",\n \"author\": \"Federico Zivolo <federico.zivolo@gmail.com>\",\n \"license\": \"MIT\",\n \"repository\": \"github:popperjs/popper-core\",\n \"keywords\": [\n \"tooltip\",\n \"popover\",\n \"dropdown\",\n \"popup\",\n \"popper\",\n \"positioning engine\"\n ],\n \"funding\": {\n \"type\": \"opencollective\",\n \"url\": \"https://opencollective.com/popperjs\"\n },\n \"files\": [\n \"index.d.ts\",\n \"/dist\",\n \"/lib\"\n ],\n \"sideEffects\": false,\n \"scripts\": {\n \"clean\": \"rimraf lib && rimraf dist && rimraf test/visual/dist\",\n \"test\": \"yarn test:unit && yarn test:functional\",\n \"test:unit\": \"jest --coverage src\",\n \"test:functional\": \"DEV_PORT=`get-port` jest tests/functional\",\n \"test:flow\": \"flow\",\n \"test:typescript\": \"tsc --project tests/typescript/tsconfig.json\",\n \"test:eslint\": \"eslint .\",\n \"dev\": \"NODE_ENV=dev concurrently 'yarn serve' 'yarn build:dev --watch'\",\n \"serve\": \"serve -l ${DEV_PORT:-5000} tests/visual\",\n \"build\": \"yarn clean && yarn build:es && yarn build:esbrowser && yarn build:bundles && yarn build:flow && yarn build:typescript\",\n \"build:es\": \"babel src -d lib --ignore '**/*.test.js','**/__mocks__'\",\n \"build:esbrowser\": \"BROWSER_COMPAT=true yarn build:es -d dist/esm\",\n \"build:bundles\": \"rollup -c .config/rollup.config.js\",\n \"build:dev\": \"NODE_ENV=dev babel src -d tests/visual/dist\",\n \"build:flow\": \"flow-copy-source --ignore \\\"**/*.test.js\\\" src lib && replace-in-files --string=__DEV__ --replacement=false 'lib/**/*.flow'\",\n \"build:typescript\": \"rimraf dist/typescript; flow-to-ts \\\"src/**/*.js\\\" --write --inline-utility-types; tsc-silent --project .config/tsconfig.json --createSourceFile .config/createSourceFile.js --suppress @; rimraf \\\"src/**/*.ts\\\"\",\n \"prepublishOnly\": \"yarn build && pinst --disable\",\n \"prepare\": \"husky install .config/husky\",\n \"postpublish\": \"pinst --enable\"\n },\n \"prettier\": {\n \"semi\": true,\n \"trailingComma\": \"es5\",\n \"singleQuote\": true,\n \"proseWrap\": \"always\"\n },\n \"babel\": {\n \"extends\": \"./.config/babel.config\"\n },\n \"jest\": {\n \"preset\": \"./.config/jest.config\"\n },\n \"eslintConfig\": {\n \"extends\": \"./.config/eslint.config\"\n },\n \"husky\": {\n \"hooks\": {\n \"pre-commit\": \"pretty-quick --staged\"\n }\n },\n \"devDependencies\": {\n \"@ampproject/rollup-plugin-closure-compiler\": \"^0.26.0\",\n \"@atomico/rollup-plugin-sizes\": \"^1.1.4\",\n \"@babel/cli\": \"^7.12.17\",\n \"@babel/core\": \"^7.12.17\",\n \"@babel/plugin-transform-flow-strip-types\": \"^7.12.13\",\n \"@babel/plugin-transform-runtime\": \"^7.12.17\",\n \"@babel/preset-env\": \"^7.12.17\",\n \"@fezvrasta/tsc-silent\": \"^1.3.0\",\n \"@khanacademy/flow-to-ts\": \"^0.3.0\",\n \"@rollup/plugin-babel\": \"^5.3.0\",\n \"@rollup/plugin-replace\": \"^2.3.4\",\n \"babel-eslint\": \"^10.0.3\",\n \"babel-jest\": \"^26.6.3\",\n \"babel-plugin-add-import-extension\": \"^1.4.4\",\n \"babel-plugin-annotate-pure-calls\": \"^0.4.0\",\n \"babel-plugin-dev-expression\": \"^0.2.2\",\n \"babel-plugin-inline-replace-variables\": \"^1.3.1\",\n \"babel-plugin-transform-inline-environment-variables\": \"^0.4.3\",\n \"concurrently\": \"^5.3.0\",\n \"dotenv\": \"^8.2.0\",\n \"eslint\": \"^7.20.0\",\n \"eslint-plugin-flowtype\": \"^5.2.2\",\n \"eslint-plugin-import\": \"^2.22.1\",\n \"eslint-plugin-unused-imports\": \"^1.1.0\",\n \"flow-bin\": \"^0.139.0\",\n \"flow-copy-source\": \"^2.0.9\",\n \"get-port-cli\": \"^2.0.0\",\n \"husky\": \"^5.0.9\",\n \"jest\": \"^26.6.3\",\n \"jest-environment-jsdom-sixteen\": \"^1.0.3\",\n \"jest-environment-puppeteer\": \"^4.4.0\",\n \"jest-image-snapshot\": \"^4.3.0\",\n \"jest-puppeteer\": \"^4.4.0\",\n \"pinst\": \"^2.1.4\",\n \"poster\": \"^0.0.9\",\n \"prettier\": \"^2.2.1\",\n \"pretty-quick\": \"^3.1.0\",\n \"puppeteer\": \"^10.4.0\",\n \"replace-in-files-cli\": \"^1.0.0\",\n \"rollup\": \"^2.39.0\",\n \"rollup-plugin-flow-entry\": \"^0.3.3\",\n \"rollup-plugin-license\": \"^2.2.0\",\n \"rollup-plugin-terser\": \"^7.0.2\",\n \"rollup-plugin-visualizer\": \"^4.2.0\",\n \"serve\": \"^11.3.2\",\n \"typescript\": \"^4.1.5\"\n }\n}\n",
12550
+ "node_modules/@prisma/adapter-better-sqlite3/dist/index.d.ts": "import type { Options } from 'better-sqlite3';\r\nimport type { SqlDriverAdapter } from '@prisma/driver-adapter-utils';\r\nimport type { SqlMigrationAwareDriverAdapterFactory } from '@prisma/driver-adapter-utils';\r\n\r\ndeclare type BetterSQLite3InputParams = Options & {\r\n url: ':memory:' | (string & {});\r\n};\r\n\r\nexport declare class PrismaBetterSQLite3 implements SqlMigrationAwareDriverAdapterFactory {\r\n #private;\r\n readonly provider = \"sqlite\";\r\n readonly adapterName: string;\r\n constructor(config: BetterSQLite3InputParams, options?: PrismaBetterSQLite3Options);\r\n connect(): Promise<SqlDriverAdapter>;\r\n connectToShadowDb(): Promise<SqlDriverAdapter>;\r\n}\r\n\r\ndeclare type PrismaBetterSQLite3Options = {\r\n shadowDatabaseUrl?: string;\r\n timestampFormat?: 'iso8601' | 'unixepoch-ms';\r\n};\r\n\r\nexport { }\r\n",
12551
+ "node_modules/@prisma/adapter-better-sqlite3/package.json": "{\n \"name\": \"@prisma/adapter-better-sqlite3\",\n \"version\": \"6.16.2\",\n \"description\": \"Prisma's driver adapter for better-sqlite3, a fast SQLite3 driver for JavaScript runtimes\",\n \"main\": \"dist/index.js\",\n \"module\": \"dist/index.mjs\",\n \"types\": \"dist/index.d.ts\",\n \"exports\": {\n \".\": {\n \"require\": {\n \"types\": \"./dist/index.d.ts\",\n \"default\": \"./dist/index.js\"\n },\n \"import\": {\n \"types\": \"./dist/index.d.mts\",\n \"default\": \"./dist/index.mjs\"\n }\n }\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/prisma/prisma.git\",\n \"directory\": \"packages/adapter-better-sqlite3\"\n },\n \"files\": [\n \"dist\",\n \"README.md\"\n ],\n \"keywords\": [],\n \"author\": \"Alberto Schiabel <schiabel@prisma.io>\",\n \"license\": \"Apache-2.0\",\n \"sideEffects\": false,\n \"dependencies\": {\n \"better-sqlite3\": \"^11.9.0\",\n \"@prisma/driver-adapter-utils\": \"6.16.2\"\n },\n \"devDependencies\": {\n \"@types/better-sqlite3\": \"7.6.12\",\n \"async-mutex\": \"0.5.0\"\n },\n \"scripts\": {\n \"dev\": \"DEV=true tsx helpers/build.ts\",\n \"build\": \"tsx helpers/build.ts\"\n }\n}",
12552
+ "node_modules/@prisma/adapter-pg/dist/index.d.ts": "import type { ConnectionInfo } from '@prisma/driver-adapter-utils';\r\nimport type { IsolationLevel } from '@prisma/driver-adapter-utils';\r\nimport pg from 'pg';\r\nimport type { SqlDriverAdapter } from '@prisma/driver-adapter-utils';\r\nimport type { SqlMigrationAwareDriverAdapterFactory } from '@prisma/driver-adapter-utils';\r\nimport type { SqlQuery } from '@prisma/driver-adapter-utils';\r\nimport type { SqlQueryable } from '@prisma/driver-adapter-utils';\r\nimport type { SqlResultSet } from '@prisma/driver-adapter-utils';\r\nimport type { Transaction } from '@prisma/driver-adapter-utils';\r\n\r\ndeclare class PgQueryable<ClientT extends StdClient | TransactionClient> implements SqlQueryable {\r\n protected readonly client: ClientT;\r\n protected readonly pgOptions?: PrismaPgOptions | undefined;\r\n readonly provider = \"postgres\";\r\n readonly adapterName: string;\r\n constructor(client: ClientT, pgOptions?: PrismaPgOptions | undefined);\r\n /**\r\n * Execute a query given as SQL, interpolating the given parameters.\r\n */\r\n queryRaw(query: SqlQuery): Promise<SqlResultSet>;\r\n /**\r\n * Execute a query given as SQL, interpolating the given parameters and\r\n * returning the number of affected rows.\r\n * Note: Queryable expects a u64, but napi.rs only supports u32.\r\n */\r\n executeRaw(query: SqlQuery): Promise<number>;\r\n /**\r\n * Run a query against the database, returning the result set.\r\n * Should the query fail due to a connection error, the connection is\r\n * marked as unhealthy.\r\n */\r\n private performIO;\r\n protected onError(error: unknown): never;\r\n}\r\n\r\nexport declare class PrismaPg implements SqlMigrationAwareDriverAdapterFactory {\r\n private readonly options?;\r\n readonly provider = \"postgres\";\r\n readonly adapterName: string;\r\n private readonly config;\r\n private externalPool;\r\n constructor(poolOrConfig: pg.Pool | pg.PoolConfig, options?: PrismaPgOptions | undefined);\r\n connect(): Promise<PrismaPgAdapter>;\r\n connectToShadowDb(): Promise<PrismaPgAdapter>;\r\n}\r\n\r\ndeclare class PrismaPgAdapter extends PgQueryable<StdClient> implements SqlDriverAdapter {\r\n protected readonly pgOptions?: PrismaPgOptions | undefined;\r\n private readonly release?;\r\n constructor(client: StdClient, pgOptions?: PrismaPgOptions | undefined, release?: (() => Promise<void>) | undefined);\r\n startTransaction(isolationLevel?: IsolationLevel): Promise<Transaction>;\r\n executeScript(script: string): Promise<void>;\r\n getConnectionInfo(): ConnectionInfo;\r\n dispose(): Promise<void>;\r\n underlyingDriver(): pg.Pool;\r\n}\r\n\r\ndeclare type PrismaPgOptions = {\r\n schema?: string;\r\n disposeExternalPool?: boolean;\r\n onPoolError?: (err: Error) => void;\r\n onConnectionError?: (err: Error) => void;\r\n userDefinedTypeParser?: UserDefinedTypeParser;\r\n};\r\n\r\ndeclare type StdClient = pg.Pool;\r\n\r\ndeclare type TransactionClient = pg.PoolClient;\r\n\r\ndeclare type UserDefinedTypeParser = (oid: number, value: unknown, adapter: SqlQueryable) => Promise<unknown>;\r\n\r\nexport { }\r\n",
12553
+ "node_modules/@prisma/adapter-pg/package.json": "{\n \"name\": \"@prisma/adapter-pg\",\n \"version\": \"6.16.2\",\n \"description\": \"Prisma's driver adapter for \\\"pg\\\"\",\n \"main\": \"dist/index.js\",\n \"module\": \"dist/index.mjs\",\n \"types\": \"dist/index.d.ts\",\n \"exports\": {\n \".\": {\n \"require\": {\n \"types\": \"./dist/index.d.ts\",\n \"default\": \"./dist/index.js\"\n },\n \"import\": {\n \"types\": \"./dist/index.d.mts\",\n \"default\": \"./dist/index.mjs\"\n }\n }\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/prisma/prisma.git\",\n \"directory\": \"packages/adapter-pg\"\n },\n \"files\": [\n \"dist\",\n \"README.md\"\n ],\n \"keywords\": [],\n \"author\": \"Tom Houlé <houle@prisma.io>\",\n \"license\": \"Apache-2.0\",\n \"sideEffects\": false,\n \"dependencies\": {\n \"postgres-array\": \"3.0.4\",\n \"pg\": \"^8.11.3\",\n \"@prisma/driver-adapter-utils\": \"6.16.2\"\n },\n \"devDependencies\": {\n \"@types/pg\": \"8.11.11\",\n \"@prisma/debug\": \"6.16.2\"\n },\n \"scripts\": {\n \"dev\": \"DEV=true tsx helpers/build.ts\",\n \"build\": \"tsx helpers/build.ts\",\n \"test\": \"vitest run\"\n }\n}",
12550
12554
  "node_modules/@prisma/client/default.d.ts": "export * from '.prisma/client/default'\n",
12551
12555
  "node_modules/@prisma/client/edge.d.ts": "export * from '.prisma/client/edge'\n",
12552
12556
  "node_modules/@prisma/client/extension.d.ts": "export * from './scripts/default-index'\n",
12553
12557
  "node_modules/@prisma/client/index.d.ts": "export * from '.prisma/client/default'\n",
12554
- "node_modules/@prisma/client/package.json": "{\n \"name\": \"@prisma/client\",\n \"version\": \"6.7.0\",\n \"description\": \"Prisma Client is an auto-generated, type-safe and modern JavaScript/TypeScript ORM for Node.js that's tailored to your data. Supports PostgreSQL, CockroachDB, MySQL, MariaDB, SQL Server, SQLite & MongoDB databases.\",\n \"keywords\": [\n \"ORM\",\n \"Prisma\",\n \"prisma2\",\n \"Prisma Client\",\n \"client\",\n \"query\",\n \"query-builder\",\n \"database\",\n \"db\",\n \"JavaScript\",\n \"JS\",\n \"TypeScript\",\n \"TS\",\n \"SQL\",\n \"SQLite\",\n \"pg\",\n \"Postgres\",\n \"PostgreSQL\",\n \"CockroachDB\",\n \"MySQL\",\n \"MariaDB\",\n \"MSSQL\",\n \"SQL Server\",\n \"SQLServer\",\n \"MongoDB\",\n \"react-native\"\n ],\n \"main\": \"default.js\",\n \"types\": \"default.d.ts\",\n \"browser\": \"index-browser.js\",\n \"exports\": {\n \"./package.json\": \"./package.json\",\n \".\": {\n \"require\": {\n \"types\": \"./default.d.ts\",\n \"node\": \"./default.js\",\n \"edge-light\": \"./default.js\",\n \"workerd\": \"./default.js\",\n \"worker\": \"./default.js\",\n \"browser\": \"./index-browser.js\"\n },\n \"import\": {\n \"types\": \"./default.d.ts\",\n \"node\": \"./default.js\",\n \"edge-light\": \"./default.js\",\n \"workerd\": \"./default.js\",\n \"worker\": \"./default.js\",\n \"browser\": \"./index-browser.js\"\n },\n \"default\": \"./default.js\"\n },\n \"./edge\": {\n \"types\": \"./edge.d.ts\",\n \"require\": \"./edge.js\",\n \"import\": \"./edge.js\",\n \"default\": \"./edge.js\"\n },\n \"./react-native\": {\n \"types\": \"./react-native.d.ts\",\n \"require\": \"./react-native.js\",\n \"import\": \"./react-native.js\",\n \"default\": \"./react-native.js\"\n },\n \"./extension\": {\n \"types\": \"./extension.d.ts\",\n \"require\": \"./extension.js\",\n \"import\": \"./extension.js\",\n \"default\": \"./extension.js\"\n },\n \"./index-browser\": {\n \"types\": \"./index.d.ts\",\n \"require\": \"./index-browser.js\",\n \"import\": \"./index-browser.js\",\n \"default\": \"./index-browser.js\"\n },\n \"./index\": {\n \"types\": \"./index.d.ts\",\n \"require\": \"./index.js\",\n \"import\": \"./index.js\",\n \"default\": \"./index.js\"\n },\n \"./wasm\": {\n \"types\": \"./wasm.d.ts\",\n \"require\": \"./wasm.js\",\n \"import\": \"./wasm.mjs\",\n \"default\": \"./wasm.mjs\"\n },\n \"./runtime/client\": {\n \"types\": \"./runtime/client.d.ts\",\n \"require\": \"./runtime/client.js\",\n \"import\": \"./runtime/client.mjs\",\n \"default\": \"./runtime/client.mjs\"\n },\n \"./runtime/library\": {\n \"types\": \"./runtime/library.d.ts\",\n \"require\": \"./runtime/library.js\",\n \"import\": \"./runtime/library.mjs\",\n \"default\": \"./runtime/library.mjs\"\n },\n \"./runtime/binary\": {\n \"types\": \"./runtime/binary.d.ts\",\n \"require\": \"./runtime/binary.js\",\n \"import\": \"./runtime/binary.mjs\",\n \"default\": \"./runtime/binary.mjs\"\n },\n \"./runtime/wasm\": {\n \"types\": \"./runtime/wasm.d.ts\",\n \"require\": \"./runtime/wasm.js\",\n \"import\": \"./runtime/wasm.mjs\",\n \"default\": \"./runtime/wasm.mjs\"\n },\n \"./runtime/edge\": {\n \"types\": \"./runtime/edge.d.ts\",\n \"require\": \"./runtime/edge.js\",\n \"import\": \"./runtime/edge-esm.js\",\n \"default\": \"./runtime/edge-esm.js\"\n },\n \"./runtime/react-native\": {\n \"types\": \"./runtime/react-native.d.ts\",\n \"require\": \"./runtime/react-native.js\",\n \"import\": \"./runtime/react-native.js\",\n \"default\": \"./runtime/react-native.js\"\n },\n \"./generator-build\": {\n \"require\": \"./generator-build/index.js\",\n \"import\": \"./generator-build/index.js\",\n \"default\": \"./generator-build/index.js\"\n },\n \"./sql\": {\n \"require\": {\n \"types\": \"./sql.d.ts\",\n \"node\": \"./sql.js\",\n \"default\": \"./sql.js\"\n },\n \"import\": {\n \"types\": \"./sql.d.ts\",\n \"node\": \"./sql.mjs\",\n \"default\": \"./sql.mjs\"\n },\n \"default\": \"./sql.js\"\n },\n \"./*\": \"./*\"\n },\n \"license\": \"Apache-2.0\",\n \"engines\": {\n \"node\": \">=18.18\"\n },\n \"homepage\": \"https://www.prisma.io\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/prisma/prisma.git\",\n \"directory\": \"packages/client\"\n },\n \"author\": \"Tim Suchanek <suchanek@prisma.io>\",\n \"bugs\": \"https://github.com/prisma/prisma/issues\",\n \"files\": [\n \"README.md\",\n \"runtime\",\n \"!runtime/*.map\",\n \"scripts\",\n \"generator-build\",\n \"edge.js\",\n \"edge.d.ts\",\n \"wasm.js\",\n \"wasm.d.ts\",\n \"index.js\",\n \"index.d.ts\",\n \"react-native.js\",\n \"react-native.d.ts\",\n \"default.js\",\n \"default.d.ts\",\n \"index-browser.js\",\n \"extension.js\",\n \"extension.d.ts\",\n \"sql.d.ts\",\n \"sql.js\",\n \"sql.mjs\"\n ],\n \"devDependencies\": {\n \"@cloudflare/workers-types\": \"4.20250214.0\",\n \"@codspeed/benchmark.js-plugin\": \"4.0.0\",\n \"@faker-js/faker\": \"9.6.0\",\n \"@fast-check/jest\": \"2.0.3\",\n \"@inquirer/prompts\": \"7.3.3\",\n \"@jest/create-cache-key-function\": \"29.7.0\",\n \"@jest/globals\": \"29.7.0\",\n \"@jest/test-sequencer\": \"29.7.0\",\n \"@libsql/client\": \"0.8.0\",\n \"@neondatabase/serverless\": \"0.10.2\",\n \"@opentelemetry/api\": \"1.9.0\",\n \"@opentelemetry/context-async-hooks\": \"2.0.0\",\n \"@opentelemetry/instrumentation\": \"0.57.2\",\n \"@opentelemetry/resources\": \"1.30.1\",\n \"@opentelemetry/sdk-trace-base\": \"1.30.1\",\n \"@opentelemetry/semantic-conventions\": \"1.30.0\",\n \"@planetscale/database\": \"1.19.0\",\n \"@prisma/engines-version\": \"6.7.0-36.3cff47a7f5d65c3ea74883f1d736e41d68ce91ed\",\n \"@prisma/mini-proxy\": \"0.9.5\",\n \"@prisma/query-compiler-wasm\": \"6.7.0-36.3cff47a7f5d65c3ea74883f1d736e41d68ce91ed\",\n \"@prisma/query-engine-wasm\": \"6.7.0-36.3cff47a7f5d65c3ea74883f1d736e41d68ce91ed\",\n \"@snaplet/copycat\": \"6.0.0\",\n \"@swc-node/register\": \"1.10.9\",\n \"@swc/core\": \"1.11.5\",\n \"@swc/jest\": \"0.2.37\",\n \"@timsuchanek/copy\": \"1.4.5\",\n \"@types/debug\": \"4.1.12\",\n \"@types/fs-extra\": \"11.0.4\",\n \"@types/jest\": \"29.5.14\",\n \"@types/js-levenshtein\": \"1.1.3\",\n \"@types/mssql\": \"9.1.5\",\n \"@types/node\": \"18.19.76\",\n \"@types/pg\": \"8.11.11\",\n \"arg\": \"5.0.2\",\n \"benchmark\": \"2.1.4\",\n \"decimal.js\": \"10.5.0\",\n \"esbuild\": \"0.25.1\",\n \"execa\": \"5.1.1\",\n \"expect-type\": \"1.2.0\",\n \"fs-extra\": \"11.3.0\",\n \"get-stream\": \"6.0.1\",\n \"globby\": \"11.1.0\",\n \"indent-string\": \"4.0.0\",\n \"jest\": \"29.7.0\",\n \"jest-extended\": \"4.0.2\",\n \"jest-junit\": \"16.0.0\",\n \"jest-serializer-ansi-escapes\": \"4.0.0\",\n \"jest-snapshot\": \"29.7.0\",\n \"js-levenshtein\": \"1.1.6\",\n \"kleur\": \"4.1.5\",\n \"klona\": \"2.0.6\",\n \"mariadb\": \"3.4.0\",\n \"memfs\": \"4.17.0\",\n \"mssql\": \"11.0.1\",\n \"new-github-issue-url\": \"0.2.1\",\n \"node-fetch\": \"3.3.2\",\n \"p-retry\": \"4.6.2\",\n \"pg\": \"8.14.1\",\n \"resolve\": \"1.22.10\",\n \"rimraf\": \"6.0.1\",\n \"simple-statistics\": \"7.8.8\",\n \"sort-keys\": \"5.1.0\",\n \"source-map-support\": \"0.5.21\",\n \"sql-template-tag\": \"5.2.1\",\n \"stacktrace-parser\": \"0.1.11\",\n \"strip-ansi\": \"6.0.1\",\n \"strip-indent\": \"4.0.0\",\n \"tempy\": \"3.0.0\",\n \"ts-node\": \"10.9.2\",\n \"ts-pattern\": \"5.6.2\",\n \"tsd\": \"0.31.2\",\n \"typescript\": \"5.4.5\",\n \"undici\": \"7.4.0\",\n \"wrangler\": \"3.111.0\",\n \"zx\": \"8.4.1\",\n \"@prisma/adapter-better-sqlite3\": \"6.7.0\",\n \"@prisma/adapter-libsql\": \"6.7.0\",\n \"@prisma/adapter-d1\": \"6.7.0\",\n \"@prisma/adapter-neon\": \"6.7.0\",\n \"@prisma/adapter-pg\": \"6.7.0\",\n \"@prisma/adapter-pg-worker\": \"6.7.0\",\n \"@prisma/adapter-planetscale\": \"6.7.0\",\n \"@prisma/client-common\": \"6.7.0\",\n \"@prisma/client-generator-js\": \"6.7.0\",\n \"@prisma/client-generator-ts\": \"6.7.0\",\n \"@prisma/config\": \"6.7.0\",\n \"@prisma/debug\": \"6.7.0\",\n \"@prisma/client-engine-runtime\": \"6.7.0\",\n \"@prisma/dmmf\": \"6.7.0\",\n \"@prisma/driver-adapter-utils\": \"6.7.0\",\n \"@prisma/engines\": \"6.7.0\",\n \"@prisma/fetch-engine\": \"6.7.0\",\n \"@prisma/generator-helper\": \"6.7.0\",\n \"@prisma/instrumentation\": \"6.7.0\",\n \"@prisma/generator\": \"6.7.0\",\n \"@prisma/internals\": \"6.7.0\",\n \"@prisma/migrate\": \"6.7.0\",\n \"@prisma/get-platform\": \"6.7.0\",\n \"@prisma/pg-worker\": \"6.7.0\",\n \"@prisma/ts-builders\": \"6.7.0\"\n },\n \"peerDependencies\": {\n \"prisma\": \"*\",\n \"typescript\": \">=5.1.0\"\n },\n \"peerDependenciesMeta\": {\n \"prisma\": {\n \"optional\": true\n },\n \"typescript\": {\n \"optional\": true\n }\n },\n \"sideEffects\": false,\n \"scripts\": {\n \"dev\": \"DEV=true tsx helpers/build.ts\",\n \"build\": \"tsx helpers/build.ts\",\n \"test\": \"dotenv -e ../../.db.env -- jest --silent\",\n \"test:e2e\": \"dotenv -e ../../.db.env -- tsx tests/e2e/_utils/run.ts\",\n \"test:functional\": \"dotenv -e ../../.db.env -- tsx helpers/functional-test/run-tests.ts\",\n \"test:functional:client\": \"pnpm run test:functional --adapter js_pg --client-runtime client --preview-features driverAdapters,queryCompiler --engine-type client --runInBand --json --outputFile tests/functional/results.json decimal\",\n \"test:memory\": \"dotenv -e ../../.db.env -- tsx helpers/memory-tests.ts\",\n \"test:functional:code\": \"dotenv -e ../../.db.env -- tsx helpers/functional-test/run-tests.ts --no-types\",\n \"test:functional:types\": \"dotenv -e ../../.db.env -- tsx helpers/functional-test/run-tests.ts --types-only\",\n \"test:knownQueryCompilerFailures:check\": \"tsx helpers/functional-test/check-known-failures.ts\",\n \"test:knownQueryCompilerFailures:record\": \"tsx helpers/functional-test/check-known-failures.ts --record\",\n \"test-notypes\": \"dotenv -e ../../.db.env -- jest --testPathIgnorePatterns src/__tests__/types/types.test.ts\",\n \"generate\": \"node scripts/postinstall.js\",\n \"postinstall\": \"node scripts/postinstall.js\",\n \"new-test\": \"tsx ./helpers/new-test/new-test.ts\"\n }\n}",
12558
+ "node_modules/@prisma/client/package.json": "{\n \"name\": \"@prisma/client\",\n \"version\": \"6.16.2\",\n \"description\": \"Prisma Client is an auto-generated, type-safe and modern JavaScript/TypeScript ORM for Node.js that's tailored to your data. Supports PostgreSQL, CockroachDB, MySQL, MariaDB, SQL Server, SQLite & MongoDB databases.\",\n \"keywords\": [\n \"ORM\",\n \"Prisma\",\n \"prisma2\",\n \"Prisma Client\",\n \"client\",\n \"query\",\n \"query-builder\",\n \"database\",\n \"db\",\n \"JavaScript\",\n \"JS\",\n \"TypeScript\",\n \"TS\",\n \"SQL\",\n \"SQLite\",\n \"pg\",\n \"Postgres\",\n \"PostgreSQL\",\n \"CockroachDB\",\n \"MySQL\",\n \"MariaDB\",\n \"MSSQL\",\n \"SQL Server\",\n \"SQLServer\",\n \"MongoDB\",\n \"react-native\"\n ],\n \"main\": \"default.js\",\n \"types\": \"default.d.ts\",\n \"browser\": \"index-browser.js\",\n \"exports\": {\n \"./package.json\": \"./package.json\",\n \".\": {\n \"require\": {\n \"types\": \"./default.d.ts\",\n \"node\": \"./default.js\",\n \"edge-light\": \"./default.js\",\n \"workerd\": \"./default.js\",\n \"worker\": \"./default.js\",\n \"browser\": \"./index-browser.js\"\n },\n \"import\": {\n \"types\": \"./default.d.ts\",\n \"node\": \"./default.js\",\n \"edge-light\": \"./default.js\",\n \"workerd\": \"./default.js\",\n \"worker\": \"./default.js\",\n \"browser\": \"./index-browser.js\"\n },\n \"default\": \"./default.js\"\n },\n \"./edge\": {\n \"types\": \"./edge.d.ts\",\n \"require\": \"./edge.js\",\n \"import\": \"./edge.js\",\n \"default\": \"./edge.js\"\n },\n \"./react-native\": {\n \"types\": \"./react-native.d.ts\",\n \"require\": \"./react-native.js\",\n \"import\": \"./react-native.js\",\n \"default\": \"./react-native.js\"\n },\n \"./extension\": {\n \"types\": \"./extension.d.ts\",\n \"require\": \"./extension.js\",\n \"import\": \"./extension.js\",\n \"default\": \"./extension.js\"\n },\n \"./index-browser\": {\n \"types\": \"./index.d.ts\",\n \"require\": \"./index-browser.js\",\n \"import\": \"./index-browser.js\",\n \"default\": \"./index-browser.js\"\n },\n \"./index\": {\n \"types\": \"./index.d.ts\",\n \"require\": \"./index.js\",\n \"import\": \"./index.js\",\n \"default\": \"./index.js\"\n },\n \"./wasm\": {\n \"types\": \"./wasm.d.ts\",\n \"require\": \"./wasm.js\",\n \"import\": \"./wasm.mjs\",\n \"default\": \"./wasm.mjs\"\n },\n \"./runtime/client\": {\n \"types\": \"./runtime/client.d.ts\",\n \"node\": {\n \"require\": \"./runtime/client.js\",\n \"default\": \"./runtime/client.js\"\n },\n \"require\": \"./runtime/client.js\",\n \"import\": \"./runtime/client.mjs\",\n \"default\": \"./runtime/client.mjs\"\n },\n \"./runtime/library\": {\n \"types\": \"./runtime/library.d.ts\",\n \"require\": \"./runtime/library.js\",\n \"import\": \"./runtime/library.mjs\",\n \"default\": \"./runtime/library.mjs\"\n },\n \"./runtime/binary\": {\n \"types\": \"./runtime/binary.d.ts\",\n \"require\": \"./runtime/binary.js\",\n \"import\": \"./runtime/binary.mjs\",\n \"default\": \"./runtime/binary.mjs\"\n },\n \"./runtime/wasm-engine-edge\": {\n \"types\": \"./runtime/wasm-engine-edge.d.ts\",\n \"require\": \"./runtime/wasm-engine-edge.js\",\n \"import\": \"./runtime/wasm-engine-edge.mjs\",\n \"default\": \"./runtime/wasm-engine-edge.mjs\"\n },\n \"./runtime/wasm-compiler-edge\": {\n \"types\": \"./runtime/wasm-compiler-edge.d.ts\",\n \"require\": \"./runtime/wasm-compiler-edge.js\",\n \"import\": \"./runtime/wasm-compiler-edge.mjs\",\n \"default\": \"./runtime/wasm-compiler-edge.mjs\"\n },\n \"./runtime/edge\": {\n \"types\": \"./runtime/edge.d.ts\",\n \"require\": \"./runtime/edge.js\",\n \"import\": \"./runtime/edge-esm.js\",\n \"default\": \"./runtime/edge-esm.js\"\n },\n \"./runtime/react-native\": {\n \"types\": \"./runtime/react-native.d.ts\",\n \"require\": \"./runtime/react-native.js\",\n \"import\": \"./runtime/react-native.js\",\n \"default\": \"./runtime/react-native.js\"\n },\n \"./runtime/index-browser\": {\n \"types\": \"./runtime/index-browser.d.ts\",\n \"require\": \"./runtime/index-browser.js\",\n \"import\": \"./runtime/index-browser.mjs\",\n \"default\": \"./runtime/index-browser.mjs\"\n },\n \"./generator-build\": {\n \"require\": \"./generator-build/index.js\",\n \"import\": \"./generator-build/index.js\",\n \"default\": \"./generator-build/index.js\"\n },\n \"./sql\": {\n \"require\": {\n \"types\": \"./sql.d.ts\",\n \"node\": \"./sql.js\",\n \"default\": \"./sql.js\"\n },\n \"import\": {\n \"types\": \"./sql.d.ts\",\n \"node\": \"./sql.mjs\",\n \"default\": \"./sql.mjs\"\n },\n \"default\": \"./sql.js\"\n },\n \"./*\": \"./*\"\n },\n \"license\": \"Apache-2.0\",\n \"engines\": {\n \"node\": \">=18.18\"\n },\n \"homepage\": \"https://www.prisma.io\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/prisma/prisma.git\",\n \"directory\": \"packages/client\"\n },\n \"author\": \"Tim Suchanek <suchanek@prisma.io>\",\n \"bugs\": \"https://github.com/prisma/prisma/issues\",\n \"files\": [\n \"README.md\",\n \"runtime\",\n \"scripts\",\n \"generator-build\",\n \"edge.js\",\n \"edge.d.ts\",\n \"wasm.js\",\n \"wasm.d.ts\",\n \"index.js\",\n \"index.d.ts\",\n \"react-native.js\",\n \"react-native.d.ts\",\n \"default.js\",\n \"default.d.ts\",\n \"index-browser.js\",\n \"extension.js\",\n \"extension.d.ts\",\n \"sql.d.ts\",\n \"sql.js\",\n \"sql.mjs\"\n ],\n \"devDependencies\": {\n \"@cloudflare/workers-types\": \"^4.20250408.0\",\n \"@codspeed/benchmark.js-plugin\": \"4.0.0\",\n \"@faker-js/faker\": \"9.6.0\",\n \"@fast-check/jest\": \"2.0.3\",\n \"@hono/node-server\": \"1.19.0\",\n \"@inquirer/prompts\": \"7.3.3\",\n \"@jest/create-cache-key-function\": \"29.7.0\",\n \"@jest/globals\": \"29.7.0\",\n \"@jest/test-sequencer\": \"29.7.0\",\n \"@libsql/client\": \"0.8.1\",\n \"@neondatabase/serverless\": \"0.10.2\",\n \"@opentelemetry/api\": \"1.9.0\",\n \"@opentelemetry/context-async-hooks\": \"2.0.0\",\n \"@opentelemetry/instrumentation\": \"0.57.2\",\n \"@opentelemetry/resources\": \"1.30.1\",\n \"@opentelemetry/sdk-trace-base\": \"1.30.1\",\n \"@opentelemetry/semantic-conventions\": \"1.30.0\",\n \"@planetscale/database\": \"1.19.0\",\n \"@prisma/engines-version\": \"6.16.0-7.1c57fdcd7e44b29b9313256c76699e91c3ac3c43\",\n \"@prisma/mini-proxy\": \"0.9.5\",\n \"@prisma/query-compiler-wasm\": \"6.16.0-7.1c57fdcd7e44b29b9313256c76699e91c3ac3c43\",\n \"@prisma/query-engine-wasm\": \"6.16.0-7.1c57fdcd7e44b29b9313256c76699e91c3ac3c43\",\n \"@snaplet/copycat\": \"6.0.0\",\n \"@swc-node/register\": \"1.10.9\",\n \"@swc/core\": \"1.11.5\",\n \"@swc/jest\": \"0.2.37\",\n \"@timsuchanek/copy\": \"1.4.5\",\n \"@types/debug\": \"4.1.12\",\n \"@types/fs-extra\": \"11.0.4\",\n \"@types/jest\": \"29.5.14\",\n \"@types/js-levenshtein\": \"1.1.3\",\n \"@types/mssql\": \"9.1.5\",\n \"@types/node\": \"18.19.76\",\n \"@types/pg\": \"8.11.11\",\n \"arg\": \"5.0.2\",\n \"benchmark\": \"2.1.4\",\n \"cookie-es\": \"2.0.0\",\n \"decimal.js\": \"10.5.0\",\n \"execa\": \"5.1.1\",\n \"expect-type\": \"1.2.2\",\n \"fs-extra\": \"11.3.0\",\n \"get-stream\": \"6.0.1\",\n \"globby\": \"11.1.0\",\n \"indent-string\": \"4.0.0\",\n \"jest\": \"29.7.0\",\n \"jest-extended\": \"4.0.2\",\n \"jest-junit\": \"16.0.0\",\n \"jest-serializer-ansi-escapes\": \"4.0.0\",\n \"jest-snapshot\": \"29.7.0\",\n \"js-levenshtein\": \"1.1.6\",\n \"kleur\": \"4.1.5\",\n \"klona\": \"2.0.6\",\n \"mariadb\": \"3.4.5\",\n \"memfs\": \"4.17.2\",\n \"mssql\": \"11.0.1\",\n \"new-github-issue-url\": \"0.2.1\",\n \"p-retry\": \"4.6.2\",\n \"pg\": \"8.14.1\",\n \"resolve\": \"1.22.10\",\n \"rimraf\": \"6.0.1\",\n \"simple-statistics\": \"7.8.8\",\n \"sort-keys\": \"5.1.0\",\n \"source-map-support\": \"0.5.21\",\n \"sql-template-tag\": \"5.2.1\",\n \"stacktrace-parser\": \"0.1.11\",\n \"strip-ansi\": \"7.1.0\",\n \"strip-indent\": \"4.0.0\",\n \"tempy\": \"3.0.0\",\n \"ts-pattern\": \"5.6.2\",\n \"tsd\": \"0.31.2\",\n \"typescript\": \"5.4.5\",\n \"undici\": \"7.4.0\",\n \"zx\": \"8.4.1\",\n \"@prisma/adapter-better-sqlite3\": \"6.16.2\",\n \"@prisma/adapter-d1\": \"6.16.2\",\n \"@prisma/adapter-libsql\": \"6.16.2\",\n \"@prisma/adapter-mariadb\": \"6.16.2\",\n \"@prisma/adapter-mssql\": \"6.16.2\",\n \"@prisma/adapter-neon\": \"6.16.2\",\n \"@prisma/adapter-pg\": \"6.16.2\",\n \"@prisma/adapter-planetscale\": \"6.16.2\",\n \"@prisma/client-common\": \"6.16.2\",\n \"@prisma/client-generator-js\": \"6.16.2\",\n \"@prisma/client-generator-ts\": \"6.16.2\",\n \"@prisma/config\": \"6.16.2\",\n \"@prisma/client-engine-runtime\": \"6.16.2\",\n \"@prisma/dmmf\": \"6.16.2\",\n \"@prisma/debug\": \"6.16.2\",\n \"@prisma/driver-adapter-utils\": \"6.16.2\",\n \"@prisma/fetch-engine\": \"6.16.2\",\n \"@prisma/engines\": \"6.16.2\",\n \"@prisma/generator\": \"6.16.2\",\n \"@prisma/generator-helper\": \"6.16.2\",\n \"@prisma/get-platform\": \"6.16.2\",\n \"@prisma/migrate\": \"6.16.2\",\n \"@prisma/instrumentation\": \"6.16.2\",\n \"@prisma/query-plan-executor\": \"6.16.2\",\n \"@prisma/internals\": \"6.16.2\",\n \"@prisma/ts-builders\": \"6.16.2\"\n },\n \"peerDependencies\": {\n \"prisma\": \"*\",\n \"typescript\": \">=5.1.0\"\n },\n \"peerDependenciesMeta\": {\n \"prisma\": {\n \"optional\": true\n },\n \"typescript\": {\n \"optional\": true\n }\n },\n \"sideEffects\": false,\n \"scripts\": {\n \"dev\": \"DEV=true tsx helpers/build.ts\",\n \"build\": \"tsx helpers/build.ts\",\n \"test\": \"dotenv -e ../../.db.env -- jest --silent\",\n \"test:e2e\": \"dotenv -e ../../.db.env -- tsx tests/e2e/_utils/run.ts\",\n \"test:functional\": \"dotenv -e ../../.db.env -- tsx helpers/functional-test/run-tests.ts\",\n \"test:functional:client\": \"pnpm run test:functional --client-runtime client --engine-type client --runInBand --json --outputFile tests/functional/results.json\",\n \"test:memory\": \"dotenv -e ../../.db.env -- tsx helpers/memory-tests.ts\",\n \"test:functional:code\": \"dotenv -e ../../.db.env -- tsx helpers/functional-test/run-tests.ts --no-types\",\n \"test:functional:types\": \"dotenv -e ../../.db.env -- tsx helpers/functional-test/run-tests.ts --types-only\",\n \"test-notypes\": \"dotenv -e ../../.db.env -- jest --testPathIgnorePatterns src/__tests__/types/types.test.ts\",\n \"generate\": \"node scripts/postinstall.js\",\n \"postinstall\": \"node scripts/postinstall.js\",\n \"new-test\": \"tsx ./helpers/new-test/new-test.ts\"\n }\n}",
12555
12559
  "node_modules/@prisma/client/react-native.d.ts": "export * from '.prisma/client/react-native'\n",
12556
12560
  "node_modules/@prisma/client/runtime/binary.d.ts": "export * from \"./library\"\n",
12557
- "node_modules/@prisma/client/runtime/client.d.ts": "/**\r\n * @param this\r\n */\r\ndeclare function $extends(this: Client, extension: ExtensionArgs | ((client: Client) => Client)): Client;\r\n\r\ndeclare type AccelerateEngineConfig = {\r\n inlineSchema: EngineConfig['inlineSchema'];\r\n inlineSchemaHash: EngineConfig['inlineSchemaHash'];\r\n env: EngineConfig['env'];\r\n generator?: {\r\n previewFeatures: string[];\r\n };\r\n inlineDatasources: EngineConfig['inlineDatasources'];\r\n overrideDatasources: EngineConfig['overrideDatasources'];\r\n clientVersion: EngineConfig['clientVersion'];\r\n engineVersion: EngineConfig['engineVersion'];\r\n logEmitter: EngineConfig['logEmitter'];\r\n logQueries?: EngineConfig['logQueries'];\r\n logLevel?: EngineConfig['logLevel'];\r\n tracingHelper: EngineConfig['tracingHelper'];\r\n accelerateUtils?: AccelerateUtils;\r\n};\r\n\r\ndeclare type AccelerateUtils = EngineConfig['accelerateUtils'];\r\n\r\nexport declare type Action = keyof typeof DMMF_2.ModelAction | 'executeRaw' | 'queryRaw' | 'runCommandRaw';\r\n\r\ndeclare type ActiveConnectorType = Exclude<ConnectorType, 'postgres' | 'prisma+postgres'>;\r\n\r\n/**\r\n * An interface that exposes some basic information about the\r\n * adapter like its name and provider type.\r\n */\r\ndeclare interface AdapterInfo {\r\n readonly provider: Provider;\r\n readonly adapterName: (typeof officialPrismaAdapters)[number] | (string & {});\r\n}\r\n\r\nexport declare type Aggregate = '_count' | '_max' | '_min' | '_avg' | '_sum';\r\n\r\nexport declare type AllModelsToStringIndex<TypeMap extends TypeMapDef, Args extends Record<string, any>, K extends PropertyKey> = Args extends {\r\n [P in K]: {\r\n $allModels: infer AllModels;\r\n };\r\n} ? {\r\n [P in K]: Record<TypeMap['meta']['modelProps'], AllModels>;\r\n} : {};\r\n\r\ndeclare class AnyNull extends NullTypesEnumValue {\r\n #private;\r\n}\r\n\r\nexport declare type ApplyOmit<T, OmitConfig> = Compute<{\r\n [K in keyof T as OmitValue<OmitConfig, K> extends true ? never : K]: T[K];\r\n}>;\r\n\r\nexport declare type Args<T, F extends Operation> = T extends {\r\n [K: symbol]: {\r\n types: {\r\n operations: {\r\n [K in F]: {\r\n args: any;\r\n };\r\n };\r\n };\r\n };\r\n} ? T[symbol]['types']['operations'][F]['args'] : any;\r\n\r\nexport declare type Args_3<T, F extends Operation> = Args<T, F>;\r\n\r\n/**\r\n * Original `quaint::ValueType` enum tag from Prisma's `quaint`.\r\n * Query arguments marked with this type are sanitized before being sent to the database.\r\n * Notice while a query argument may be `null`, `ArgType` is guaranteed to be defined.\r\n */\r\ndeclare type ArgType = 'Int32' | 'Int64' | 'Float' | 'Double' | 'Text' | 'Enum' | 'EnumArray' | 'Bytes' | 'Boolean' | 'Char' | 'Array' | 'Numeric' | 'Json' | 'Xml' | 'Uuid' | 'DateTime' | 'Date' | 'Time';\r\n\r\n/**\r\n * Attributes is a map from string to attribute values.\r\n *\r\n * Note: only the own enumerable keys are counted as valid attribute keys.\r\n */\r\ndeclare interface Attributes {\r\n [attributeKey: string]: AttributeValue | undefined;\r\n}\r\n\r\n/**\r\n * Attribute values may be any non-nullish primitive value except an object.\r\n *\r\n * null or undefined attribute values are invalid and will result in undefined behavior.\r\n */\r\ndeclare type AttributeValue = string | number | boolean | Array<null | undefined | string> | Array<null | undefined | number> | Array<null | undefined | boolean>;\r\n\r\nexport declare type BaseDMMF = {\r\n readonly datamodel: Omit<DMMF_2.Datamodel, 'indexes'>;\r\n};\r\n\r\ndeclare type BatchArgs = {\r\n queries: BatchQuery[];\r\n transaction?: {\r\n isolationLevel?: IsolationLevel;\r\n };\r\n};\r\n\r\ndeclare type BatchInternalParams = {\r\n requests: RequestParams[];\r\n customDataProxyFetch?: CustomDataProxyFetch;\r\n};\r\n\r\ndeclare type BatchQuery = {\r\n model: string | undefined;\r\n operation: string;\r\n args: JsArgs | RawQueryArgs;\r\n};\r\n\r\ndeclare type BatchQueryEngineResult<T> = QueryEngineResultData<T> | Error;\r\n\r\ndeclare type BatchQueryOptionsCb = (args: BatchQueryOptionsCbArgs) => Promise<any>;\r\n\r\ndeclare type BatchQueryOptionsCbArgs = {\r\n args: BatchArgs;\r\n query: (args: BatchArgs, __internalParams?: BatchInternalParams) => Promise<unknown[]>;\r\n __internalParams: BatchInternalParams;\r\n};\r\n\r\ndeclare type BatchResponse = MultiBatchResponse | CompactedBatchResponse;\r\n\r\ndeclare type BatchTransactionOptions = {\r\n isolationLevel?: IsolationLevel;\r\n};\r\n\r\ndeclare interface BinaryTargetsEnvValue {\r\n fromEnvVar: string | null;\r\n value: string;\r\n native?: boolean;\r\n}\r\n\r\nexport declare type Call<F extends Fn, P> = (F & {\r\n params: P;\r\n})['returns'];\r\n\r\ndeclare interface CallSite {\r\n getLocation(): LocationInFile | null;\r\n}\r\n\r\nexport declare type Cast<A, W> = A extends W ? A : W;\r\n\r\ndeclare type Client = ReturnType<typeof getPrismaClient> extends new () => infer T ? T : never;\r\n\r\nexport declare type ClientArg = {\r\n [MethodName in string]: unknown;\r\n};\r\n\r\nexport declare type ClientArgs = {\r\n client: ClientArg;\r\n};\r\n\r\nexport declare type ClientBuiltInProp = keyof DynamicClientExtensionThisBuiltin<never, never, never>;\r\n\r\nexport declare type ClientOptionDef = undefined | {\r\n [K in string]: any;\r\n};\r\n\r\nexport declare type ClientOtherOps = {\r\n $queryRaw<T = unknown>(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise<T>;\r\n $queryRawTyped<T>(query: TypedSql<unknown[], T>): PrismaPromise<T[]>;\r\n $queryRawUnsafe<T = unknown>(query: string, ...values: any[]): PrismaPromise<T>;\r\n $executeRaw(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise<number>;\r\n $executeRawUnsafe(query: string, ...values: any[]): PrismaPromise<number>;\r\n $runCommandRaw(command: InputJsonObject): PrismaPromise<JsonObject>;\r\n};\r\n\r\ndeclare type ColumnType = (typeof ColumnTypeEnum)[keyof typeof ColumnTypeEnum];\r\n\r\ndeclare const ColumnTypeEnum: {\r\n readonly Int32: 0;\r\n readonly Int64: 1;\r\n readonly Float: 2;\r\n readonly Double: 3;\r\n readonly Numeric: 4;\r\n readonly Boolean: 5;\r\n readonly Character: 6;\r\n readonly Text: 7;\r\n readonly Date: 8;\r\n readonly Time: 9;\r\n readonly DateTime: 10;\r\n readonly Json: 11;\r\n readonly Enum: 12;\r\n readonly Bytes: 13;\r\n readonly Set: 14;\r\n readonly Uuid: 15;\r\n readonly Int32Array: 64;\r\n readonly Int64Array: 65;\r\n readonly FloatArray: 66;\r\n readonly DoubleArray: 67;\r\n readonly NumericArray: 68;\r\n readonly BooleanArray: 69;\r\n readonly CharacterArray: 70;\r\n readonly TextArray: 71;\r\n readonly DateArray: 72;\r\n readonly TimeArray: 73;\r\n readonly DateTimeArray: 74;\r\n readonly JsonArray: 75;\r\n readonly EnumArray: 76;\r\n readonly BytesArray: 77;\r\n readonly UuidArray: 78;\r\n readonly UnknownNumber: 128;\r\n};\r\n\r\ndeclare type CompactedBatchResponse = {\r\n type: 'compacted';\r\n plan: object;\r\n arguments: Record<string, {}>[];\r\n nestedSelection: string[];\r\n keys: string[];\r\n expectNonEmpty: boolean;\r\n};\r\n\r\ndeclare type CompilerWasmLoadingConfig = {\r\n /**\r\n * WASM-bindgen runtime for corresponding module\r\n */\r\n getRuntime: () => Promise<{\r\n __wbg_set_wasm(exports: unknown): void;\r\n QueryCompiler: QueryCompilerConstructor;\r\n }>;\r\n /**\r\n * Loads the raw wasm module for the wasm compiler engine. This configuration is\r\n * generated specifically for each type of client, eg. Node.js client and Edge\r\n * clients will have different implementations.\r\n * @remarks this is a callback on purpose, we only load the wasm if needed.\r\n * @remarks only used by ClientEngine\r\n */\r\n getQueryCompilerWasmModule: () => Promise<unknown>;\r\n};\r\n\r\nexport declare type Compute<T> = T extends Function ? T : {\r\n [K in keyof T]: T[K];\r\n} & unknown;\r\n\r\nexport declare type ComputeDeep<T> = T extends Function ? T : {\r\n [K in keyof T]: ComputeDeep<T[K]>;\r\n} & unknown;\r\n\r\ndeclare type ComputedField = {\r\n name: string;\r\n needs: string[];\r\n compute: ResultArgsFieldCompute;\r\n};\r\n\r\ndeclare type ComputedFieldsMap = {\r\n [fieldName: string]: ComputedField;\r\n};\r\n\r\ndeclare type ConnectionInfo = {\r\n schemaName?: string;\r\n maxBindValues?: number;\r\n};\r\n\r\ndeclare type ConnectorType = 'mysql' | 'mongodb' | 'sqlite' | 'postgresql' | 'postgres' | 'prisma+postgres' | 'sqlserver' | 'cockroachdb';\r\n\r\ndeclare interface Context {\r\n /**\r\n * Get a value from the context.\r\n *\r\n * @param key key which identifies a context value\r\n */\r\n getValue(key: symbol): unknown;\r\n /**\r\n * Create a new context which inherits from this context and has\r\n * the given key set to the given value.\r\n *\r\n * @param key context key for which to set the value\r\n * @param value value to set for the given key\r\n */\r\n setValue(key: symbol, value: unknown): Context;\r\n /**\r\n * Return a new context which inherits from this context but does\r\n * not contain a value for the given key.\r\n *\r\n * @param key context key for which to clear a value\r\n */\r\n deleteValue(key: symbol): Context;\r\n}\r\n\r\ndeclare type Context_2<T> = T extends {\r\n [K: symbol]: {\r\n ctx: infer C;\r\n };\r\n} ? C & T & {\r\n /**\r\n * @deprecated Use `$name` instead.\r\n */\r\n name?: string;\r\n $name?: string;\r\n $parent?: unknown;\r\n} : T & {\r\n /**\r\n * @deprecated Use `$name` instead.\r\n */\r\n name?: string;\r\n $name?: string;\r\n $parent?: unknown;\r\n};\r\n\r\nexport declare type Count<O> = {\r\n [K in keyof O]: Count<number>;\r\n} & {};\r\n\r\nexport declare function createParam(name: string): Param<unknown, string>;\r\n\r\n/**\r\n * Custom fetch function for `DataProxyEngine`.\r\n *\r\n * We can't use the actual type of `globalThis.fetch` because this will result\r\n * in API Extractor referencing Node.js type definitions in the `.d.ts` bundle\r\n * for the client runtime. We can only use such types in internal types that\r\n * don't end up exported anywhere.\r\n\r\n * It's also not possible to write a definition of `fetch` that would accept the\r\n * actual `fetch` function from different environments such as Node.js and\r\n * Cloudflare Workers (with their extensions to `RequestInit` and `Response`).\r\n * `fetch` is used in both covariant and contravariant positions in\r\n * `CustomDataProxyFetch`, making it invariant, so we need the exact same type.\r\n * Even if we removed the argument and left `fetch` in covariant position only,\r\n * then for an extension-supplied function to be assignable to `customDataProxyFetch`,\r\n * the platform-specific (or custom) `fetch` function needs to be assignable\r\n * to our `fetch` definition. This, in turn, requires the third-party `Response`\r\n * to be a subtype of our `Response` (which is not a problem, we could declare\r\n * a minimal `Response` type that only includes what we use) *and* requires the\r\n * third-party `RequestInit` to be a supertype of our `RequestInit` (i.e. we\r\n * have to declare all properties any `RequestInit` implementation in existence\r\n * could possibly have), which is not possible.\r\n *\r\n * Since `@prisma/extension-accelerate` redefines the type of\r\n * `__internalParams.customDataProxyFetch` to its own type anyway (probably for\r\n * exactly this reason), our definition is never actually used and is completely\r\n * ignored, so it doesn't matter, and we can just use `unknown` as the type of\r\n * `fetch` here.\r\n */\r\ndeclare type CustomDataProxyFetch = (fetch: unknown) => unknown;\r\n\r\ndeclare class DataLoader<T = unknown> {\r\n private options;\r\n batches: {\r\n [key: string]: Job[];\r\n };\r\n private tickActive;\r\n constructor(options: DataLoaderOptions<T>);\r\n request(request: T): Promise<any>;\r\n private dispatchBatches;\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\ndeclare type DataLoaderOptions<T> = {\r\n singleLoader: (request: T) => Promise<any>;\r\n batchLoader: (request: T[]) => Promise<any[]>;\r\n batchBy: (request: T) => string | undefined;\r\n batchOrder: (requestA: T, requestB: T) => number;\r\n};\r\n\r\ndeclare type Datamodel = ReadonlyDeep_2<{\r\n models: Model[];\r\n enums: DatamodelEnum[];\r\n types: Model[];\r\n indexes: Index[];\r\n}>;\r\n\r\ndeclare type DatamodelEnum = ReadonlyDeep_2<{\r\n name: string;\r\n values: EnumValue[];\r\n dbName?: string | null;\r\n documentation?: string;\r\n}>;\r\n\r\ndeclare function datamodelEnumToSchemaEnum(datamodelEnum: DatamodelEnum): SchemaEnum;\r\n\r\ndeclare type Datasource = {\r\n url?: string;\r\n};\r\n\r\ndeclare type Datasources = {\r\n [name in string]: Datasource;\r\n};\r\n\r\ndeclare class DbNull extends NullTypesEnumValue {\r\n #private;\r\n}\r\n\r\nexport declare const Debug: typeof debugCreate & {\r\n enable(namespace: any): void;\r\n disable(): any;\r\n enabled(namespace: string): boolean;\r\n log: (...args: string[]) => void;\r\n formatters: {};\r\n};\r\n\r\n/**\r\n * Create a new debug instance with the given namespace.\r\n *\r\n * @example\r\n * ```ts\r\n * import Debug from '@prisma/debug'\r\n * const debug = Debug('prisma:client')\r\n * debug('Hello World')\r\n * ```\r\n */\r\ndeclare function debugCreate(namespace: string): ((...args: any[]) => void) & {\r\n color: string;\r\n enabled: boolean;\r\n namespace: string;\r\n log: (...args: string[]) => void;\r\n extend: () => void;\r\n};\r\n\r\nexport declare function Decimal(n: Decimal.Value): Decimal;\r\n\r\nexport declare namespace Decimal {\r\n export type Constructor = typeof Decimal;\r\n export type Instance = Decimal;\r\n export type Rounding = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;\r\n export type Modulo = Rounding | 9;\r\n export type Value = string | number | Decimal;\r\n\r\n // http://mikemcl.github.io/decimal.js/#constructor-properties\r\n export interface Config {\r\n precision?: number;\r\n rounding?: Rounding;\r\n toExpNeg?: number;\r\n toExpPos?: number;\r\n minE?: number;\r\n maxE?: number;\r\n crypto?: boolean;\r\n modulo?: Modulo;\r\n defaults?: boolean;\r\n }\r\n}\r\n\r\nexport declare class Decimal {\r\n readonly d: number[];\r\n readonly e: number;\r\n readonly s: number;\r\n\r\n constructor(n: Decimal.Value);\r\n\r\n absoluteValue(): Decimal;\r\n abs(): Decimal;\r\n\r\n ceil(): Decimal;\r\n\r\n clampedTo(min: Decimal.Value, max: Decimal.Value): Decimal;\r\n clamp(min: Decimal.Value, max: Decimal.Value): Decimal;\r\n\r\n comparedTo(n: Decimal.Value): number;\r\n cmp(n: Decimal.Value): number;\r\n\r\n cosine(): Decimal;\r\n cos(): Decimal;\r\n\r\n cubeRoot(): Decimal;\r\n cbrt(): Decimal;\r\n\r\n decimalPlaces(): number;\r\n dp(): number;\r\n\r\n dividedBy(n: Decimal.Value): Decimal;\r\n div(n: Decimal.Value): Decimal;\r\n\r\n dividedToIntegerBy(n: Decimal.Value): Decimal;\r\n divToInt(n: Decimal.Value): Decimal;\r\n\r\n equals(n: Decimal.Value): boolean;\r\n eq(n: Decimal.Value): boolean;\r\n\r\n floor(): Decimal;\r\n\r\n greaterThan(n: Decimal.Value): boolean;\r\n gt(n: Decimal.Value): boolean;\r\n\r\n greaterThanOrEqualTo(n: Decimal.Value): boolean;\r\n gte(n: Decimal.Value): boolean;\r\n\r\n hyperbolicCosine(): Decimal;\r\n cosh(): Decimal;\r\n\r\n hyperbolicSine(): Decimal;\r\n sinh(): Decimal;\r\n\r\n hyperbolicTangent(): Decimal;\r\n tanh(): Decimal;\r\n\r\n inverseCosine(): Decimal;\r\n acos(): Decimal;\r\n\r\n inverseHyperbolicCosine(): Decimal;\r\n acosh(): Decimal;\r\n\r\n inverseHyperbolicSine(): Decimal;\r\n asinh(): Decimal;\r\n\r\n inverseHyperbolicTangent(): Decimal;\r\n atanh(): Decimal;\r\n\r\n inverseSine(): Decimal;\r\n asin(): Decimal;\r\n\r\n inverseTangent(): Decimal;\r\n atan(): Decimal;\r\n\r\n isFinite(): boolean;\r\n\r\n isInteger(): boolean;\r\n isInt(): boolean;\r\n\r\n isNaN(): boolean;\r\n\r\n isNegative(): boolean;\r\n isNeg(): boolean;\r\n\r\n isPositive(): boolean;\r\n isPos(): boolean;\r\n\r\n isZero(): boolean;\r\n\r\n lessThan(n: Decimal.Value): boolean;\r\n lt(n: Decimal.Value): boolean;\r\n\r\n lessThanOrEqualTo(n: Decimal.Value): boolean;\r\n lte(n: Decimal.Value): boolean;\r\n\r\n logarithm(n?: Decimal.Value): Decimal;\r\n log(n?: Decimal.Value): Decimal;\r\n\r\n minus(n: Decimal.Value): Decimal;\r\n sub(n: Decimal.Value): Decimal;\r\n\r\n modulo(n: Decimal.Value): Decimal;\r\n mod(n: Decimal.Value): Decimal;\r\n\r\n naturalExponential(): Decimal;\r\n exp(): Decimal;\r\n\r\n naturalLogarithm(): Decimal;\r\n ln(): Decimal;\r\n\r\n negated(): Decimal;\r\n neg(): Decimal;\r\n\r\n plus(n: Decimal.Value): Decimal;\r\n add(n: Decimal.Value): Decimal;\r\n\r\n precision(includeZeros?: boolean): number;\r\n sd(includeZeros?: boolean): number;\r\n\r\n round(): Decimal;\r\n\r\n sine() : Decimal;\r\n sin() : Decimal;\r\n\r\n squareRoot(): Decimal;\r\n sqrt(): Decimal;\r\n\r\n tangent() : Decimal;\r\n tan() : Decimal;\r\n\r\n times(n: Decimal.Value): Decimal;\r\n mul(n: Decimal.Value) : Decimal;\r\n\r\n toBinary(significantDigits?: number): string;\r\n toBinary(significantDigits: number, rounding: Decimal.Rounding): string;\r\n\r\n toDecimalPlaces(decimalPlaces?: number): Decimal;\r\n toDecimalPlaces(decimalPlaces: number, rounding: Decimal.Rounding): Decimal;\r\n toDP(decimalPlaces?: number): Decimal;\r\n toDP(decimalPlaces: number, rounding: Decimal.Rounding): Decimal;\r\n\r\n toExponential(decimalPlaces?: number): string;\r\n toExponential(decimalPlaces: number, rounding: Decimal.Rounding): string;\r\n\r\n toFixed(decimalPlaces?: number): string;\r\n toFixed(decimalPlaces: number, rounding: Decimal.Rounding): string;\r\n\r\n toFraction(max_denominator?: Decimal.Value): Decimal[];\r\n\r\n toHexadecimal(significantDigits?: number): string;\r\n toHexadecimal(significantDigits: number, rounding: Decimal.Rounding): string;\r\n toHex(significantDigits?: number): string;\r\n toHex(significantDigits: number, rounding?: Decimal.Rounding): string;\r\n\r\n toJSON(): string;\r\n\r\n toNearest(n: Decimal.Value, rounding?: Decimal.Rounding): Decimal;\r\n\r\n toNumber(): number;\r\n\r\n toOctal(significantDigits?: number): string;\r\n toOctal(significantDigits: number, rounding: Decimal.Rounding): string;\r\n\r\n toPower(n: Decimal.Value): Decimal;\r\n pow(n: Decimal.Value): Decimal;\r\n\r\n toPrecision(significantDigits?: number): string;\r\n toPrecision(significantDigits: number, rounding: Decimal.Rounding): string;\r\n\r\n toSignificantDigits(significantDigits?: number): Decimal;\r\n toSignificantDigits(significantDigits: number, rounding: Decimal.Rounding): Decimal;\r\n toSD(significantDigits?: number): Decimal;\r\n toSD(significantDigits: number, rounding: Decimal.Rounding): Decimal;\r\n\r\n toString(): string;\r\n\r\n truncated(): Decimal;\r\n trunc(): Decimal;\r\n\r\n valueOf(): string;\r\n\r\n static abs(n: Decimal.Value): Decimal;\r\n static acos(n: Decimal.Value): Decimal;\r\n static acosh(n: Decimal.Value): Decimal;\r\n static add(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static asin(n: Decimal.Value): Decimal;\r\n static asinh(n: Decimal.Value): Decimal;\r\n static atan(n: Decimal.Value): Decimal;\r\n static atanh(n: Decimal.Value): Decimal;\r\n static atan2(y: Decimal.Value, x: Decimal.Value): Decimal;\r\n static cbrt(n: Decimal.Value): Decimal;\r\n static ceil(n: Decimal.Value): Decimal;\r\n static clamp(n: Decimal.Value, min: Decimal.Value, max: Decimal.Value): Decimal;\r\n static clone(object?: Decimal.Config): Decimal.Constructor;\r\n static config(object: Decimal.Config): Decimal.Constructor;\r\n static cos(n: Decimal.Value): Decimal;\r\n static cosh(n: Decimal.Value): Decimal;\r\n static div(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static exp(n: Decimal.Value): Decimal;\r\n static floor(n: Decimal.Value): Decimal;\r\n static hypot(...n: Decimal.Value[]): Decimal;\r\n static isDecimal(object: any): object is Decimal;\r\n static ln(n: Decimal.Value): Decimal;\r\n static log(n: Decimal.Value, base?: Decimal.Value): Decimal;\r\n static log2(n: Decimal.Value): Decimal;\r\n static log10(n: Decimal.Value): Decimal;\r\n static max(...n: Decimal.Value[]): Decimal;\r\n static min(...n: Decimal.Value[]): Decimal;\r\n static mod(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static mul(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static noConflict(): Decimal.Constructor; // Browser only\r\n static pow(base: Decimal.Value, exponent: Decimal.Value): Decimal;\r\n static random(significantDigits?: number): Decimal;\r\n static round(n: Decimal.Value): Decimal;\r\n static set(object: Decimal.Config): Decimal.Constructor;\r\n static sign(n: Decimal.Value): number;\r\n static sin(n: Decimal.Value): Decimal;\r\n static sinh(n: Decimal.Value): Decimal;\r\n static sqrt(n: Decimal.Value): Decimal;\r\n static sub(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static sum(...n: Decimal.Value[]): Decimal;\r\n static tan(n: Decimal.Value): Decimal;\r\n static tanh(n: Decimal.Value): Decimal;\r\n static trunc(n: Decimal.Value): Decimal;\r\n\r\n static readonly default?: Decimal.Constructor;\r\n static readonly Decimal?: Decimal.Constructor;\r\n\r\n static readonly precision: number;\r\n static readonly rounding: Decimal.Rounding;\r\n static readonly toExpNeg: number;\r\n static readonly toExpPos: number;\r\n static readonly minE: number;\r\n static readonly maxE: number;\r\n static readonly crypto: boolean;\r\n static readonly modulo: Decimal.Modulo;\r\n\r\n static readonly ROUND_UP: 0;\r\n static readonly ROUND_DOWN: 1;\r\n static readonly ROUND_CEIL: 2;\r\n static readonly ROUND_FLOOR: 3;\r\n static readonly ROUND_HALF_UP: 4;\r\n static readonly ROUND_HALF_DOWN: 5;\r\n static readonly ROUND_HALF_EVEN: 6;\r\n static readonly ROUND_HALF_CEIL: 7;\r\n static readonly ROUND_HALF_FLOOR: 8;\r\n static readonly EUCLID: 9;\r\n}\r\n\r\n/**\r\n * Interface for any Decimal.js-like library\r\n * Allows us to accept Decimal.js from different\r\n * versions and some compatible alternatives\r\n */\r\nexport declare interface DecimalJsLike {\r\n d: number[];\r\n e: number;\r\n s: number;\r\n toFixed(): string;\r\n}\r\n\r\nexport declare type DefaultArgs = InternalArgs<{}, {}, {}, {}>;\r\n\r\nexport declare type DefaultSelection<Payload extends OperationPayload, Args = {}, GlobalOmitOptions = {}> = Args extends {\r\n omit: infer LocalOmit;\r\n} ? ApplyOmit<UnwrapPayload<{\r\n default: Payload;\r\n}>['default'], PatchFlat<LocalOmit, ExtractGlobalOmit<GlobalOmitOptions, Uncapitalize<Payload['name']>>>> : ApplyOmit<UnwrapPayload<{\r\n default: Payload;\r\n}>['default'], ExtractGlobalOmit<GlobalOmitOptions, Uncapitalize<Payload['name']>>>;\r\n\r\nexport declare function defineDmmfProperty(target: object, runtimeDataModel: RuntimeDataModel): void;\r\n\r\ndeclare function defineExtension(ext: ExtensionArgs | ((client: Client) => Client)): (client: Client) => Client;\r\n\r\ndeclare const denylist: readonly [\"$connect\", \"$disconnect\", \"$on\", \"$transaction\", \"$use\", \"$extends\"];\r\n\r\ndeclare type Deprecation = ReadonlyDeep_2<{\r\n sinceVersion: string;\r\n reason: string;\r\n plannedRemovalVersion?: string;\r\n}>;\r\n\r\ndeclare type DeserializedResponse = Array<Record<string, unknown>>;\r\n\r\nexport declare function deserializeJsonResponse(result: unknown): unknown;\r\n\r\nexport declare function deserializeRawResult(response: RawResponse): DeserializedResponse;\r\n\r\nexport declare type DevTypeMapDef = {\r\n meta: {\r\n modelProps: string;\r\n };\r\n model: {\r\n [Model in PropertyKey]: {\r\n [Operation in PropertyKey]: DevTypeMapFnDef;\r\n };\r\n };\r\n other: {\r\n [Operation in PropertyKey]: DevTypeMapFnDef;\r\n };\r\n};\r\n\r\nexport declare type DevTypeMapFnDef = {\r\n args: any;\r\n result: any;\r\n payload: OperationPayload;\r\n};\r\n\r\nexport declare namespace DMMF {\r\n export {\r\n datamodelEnumToSchemaEnum,\r\n Document_2 as Document,\r\n Mappings,\r\n OtherOperationMappings,\r\n DatamodelEnum,\r\n SchemaEnum,\r\n EnumValue,\r\n Datamodel,\r\n uniqueIndex,\r\n PrimaryKey,\r\n Model,\r\n FieldKind,\r\n FieldNamespace,\r\n FieldLocation,\r\n Field,\r\n FieldDefault,\r\n FieldDefaultScalar,\r\n Index,\r\n IndexType,\r\n IndexField,\r\n SortOrder,\r\n Schema,\r\n Query,\r\n QueryOutput,\r\n TypeRef,\r\n InputTypeRef,\r\n SchemaArg,\r\n OutputType,\r\n SchemaField,\r\n OutputTypeRef,\r\n Deprecation,\r\n InputType,\r\n FieldRefType,\r\n FieldRefAllowType,\r\n ModelMapping,\r\n ModelAction\r\n }\r\n}\r\n\r\ndeclare namespace DMMF_2 {\r\n export {\r\n datamodelEnumToSchemaEnum,\r\n Document_2 as Document,\r\n Mappings,\r\n OtherOperationMappings,\r\n DatamodelEnum,\r\n SchemaEnum,\r\n EnumValue,\r\n Datamodel,\r\n uniqueIndex,\r\n PrimaryKey,\r\n Model,\r\n FieldKind,\r\n FieldNamespace,\r\n FieldLocation,\r\n Field,\r\n FieldDefault,\r\n FieldDefaultScalar,\r\n Index,\r\n IndexType,\r\n IndexField,\r\n SortOrder,\r\n Schema,\r\n Query,\r\n QueryOutput,\r\n TypeRef,\r\n InputTypeRef,\r\n SchemaArg,\r\n OutputType,\r\n SchemaField,\r\n OutputTypeRef,\r\n Deprecation,\r\n InputType,\r\n FieldRefType,\r\n FieldRefAllowType,\r\n ModelMapping,\r\n ModelAction\r\n }\r\n}\r\n\r\nexport declare function dmmfToRuntimeDataModel(dmmfDataModel: DMMF_2.Datamodel): RuntimeDataModel;\r\n\r\ndeclare type Document_2 = ReadonlyDeep_2<{\r\n datamodel: Datamodel;\r\n schema: Schema;\r\n mappings: Mappings;\r\n}>;\r\n\r\n/**\r\n * A generic driver adapter factory that allows the user to instantiate a\r\n * driver adapter. The query and result types are specific to the adapter.\r\n */\r\ndeclare interface DriverAdapterFactory<Query, Result> extends AdapterInfo {\r\n /**\r\n * Instantiate a driver adapter.\r\n */\r\n connect(): Promise<Queryable<Query, Result>>;\r\n}\r\n\r\n/** Client */\r\nexport declare type DynamicClientExtensionArgs<C_, TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {\r\n [P in keyof C_]: unknown;\r\n} & {\r\n [K: symbol]: {\r\n ctx: Optional<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList> & {\r\n $parent: Optional<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList>;\r\n };\r\n };\r\n};\r\n\r\nexport declare type DynamicClientExtensionThis<TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {\r\n [P in keyof ExtArgs['client']]: Return<ExtArgs['client'][P]>;\r\n} & {\r\n [P in Exclude<TypeMap['meta']['modelProps'], keyof ExtArgs['client']>]: DynamicModelExtensionThis<TypeMap, ModelKey<TypeMap, P>, ExtArgs>;\r\n} & {\r\n [P in Exclude<keyof TypeMap['other']['operations'], keyof ExtArgs['client']>]: P extends keyof ClientOtherOps ? ClientOtherOps[P] : never;\r\n} & {\r\n [P in Exclude<ClientBuiltInProp, keyof ExtArgs['client']>]: DynamicClientExtensionThisBuiltin<TypeMap, TypeMapCb, ExtArgs>[P];\r\n} & {\r\n [K: symbol]: {\r\n types: TypeMap['other'];\r\n };\r\n};\r\n\r\nexport declare type DynamicClientExtensionThisBuiltin<TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {\r\n $extends: ExtendsHook<'extends', TypeMapCb, ExtArgs, Call<TypeMapCb, {\r\n extArgs: ExtArgs;\r\n }>>;\r\n $transaction<P extends PrismaPromise<any>[]>(arg: [...P], options?: {\r\n isolationLevel?: TypeMap['meta']['txIsolationLevel'];\r\n }): Promise<UnwrapTuple<P>>;\r\n $transaction<R>(fn: (client: Omit<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList>) => Promise<R>, options?: {\r\n maxWait?: number;\r\n timeout?: number;\r\n isolationLevel?: TypeMap['meta']['txIsolationLevel'];\r\n }): Promise<R>;\r\n $disconnect(): Promise<void>;\r\n $connect(): Promise<void>;\r\n};\r\n\r\n/** Model */\r\nexport declare type DynamicModelExtensionArgs<M_, TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {\r\n [K in keyof M_]: K extends '$allModels' ? {\r\n [P in keyof M_[K]]?: unknown;\r\n } & {\r\n [K: symbol]: {};\r\n } : K extends TypeMap['meta']['modelProps'] ? {\r\n [P in keyof M_[K]]?: unknown;\r\n } & {\r\n [K: symbol]: {\r\n ctx: DynamicModelExtensionThis<TypeMap, ModelKey<TypeMap, K>, ExtArgs> & {\r\n $parent: DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>;\r\n } & {\r\n $name: ModelKey<TypeMap, K>;\r\n } & {\r\n /**\r\n * @deprecated Use `$name` instead.\r\n */\r\n name: ModelKey<TypeMap, K>;\r\n };\r\n };\r\n } : never;\r\n};\r\n\r\nexport declare type DynamicModelExtensionFluentApi<TypeMap extends TypeMapDef, M extends PropertyKey, P extends PropertyKey, Null> = {\r\n [K in keyof TypeMap['model'][M]['payload']['objects']]: <A>(args?: Exact<A, Path<TypeMap['model'][M]['operations'][P]['args']['select'], [K]>>) => PrismaPromise<Path<DynamicModelExtensionFnResultBase<TypeMap, M, {\r\n select: {\r\n [P in K]: A;\r\n };\r\n }, P>, [K]> | Null> & DynamicModelExtensionFluentApi<TypeMap, (TypeMap['model'][M]['payload']['objects'][K] & {})['name'], P, Null | Select<TypeMap['model'][M]['payload']['objects'][K], null>>;\r\n};\r\n\r\nexport declare type DynamicModelExtensionFnResult<TypeMap extends TypeMapDef, M extends PropertyKey, A, P extends PropertyKey, Null> = P extends FluentOperation ? DynamicModelExtensionFluentApi<TypeMap, M, P, Null> & PrismaPromise<DynamicModelExtensionFnResultBase<TypeMap, M, A, P> | Null> : PrismaPromise<DynamicModelExtensionFnResultBase<TypeMap, M, A, P>>;\r\n\r\nexport declare type DynamicModelExtensionFnResultBase<TypeMap extends TypeMapDef, M extends PropertyKey, A, P extends PropertyKey> = GetResult<TypeMap['model'][M]['payload'], A, P & Operation, TypeMap['globalOmitOptions']>;\r\n\r\nexport declare type DynamicModelExtensionFnResultNull<P extends PropertyKey> = P extends 'findUnique' | 'findFirst' ? null : never;\r\n\r\nexport declare type DynamicModelExtensionOperationFn<TypeMap extends TypeMapDef, M extends PropertyKey, P extends PropertyKey> = {} extends TypeMap['model'][M]['operations'][P]['args'] ? <A extends TypeMap['model'][M]['operations'][P]['args']>(args?: Exact<A, TypeMap['model'][M]['operations'][P]['args']>) => DynamicModelExtensionFnResult<TypeMap, M, A, P, DynamicModelExtensionFnResultNull<P>> : <A extends TypeMap['model'][M]['operations'][P]['args']>(args: Exact<A, TypeMap['model'][M]['operations'][P]['args']>) => DynamicModelExtensionFnResult<TypeMap, M, A, P, DynamicModelExtensionFnResultNull<P>>;\r\n\r\nexport declare type DynamicModelExtensionThis<TypeMap extends TypeMapDef, M extends PropertyKey, ExtArgs extends Record<string, any>> = {\r\n [P in keyof ExtArgs['model'][Uncapitalize<M & string>]]: Return<ExtArgs['model'][Uncapitalize<M & string>][P]>;\r\n} & {\r\n [P in Exclude<keyof TypeMap['model'][M]['operations'], keyof ExtArgs['model'][Uncapitalize<M & string>]>]: DynamicModelExtensionOperationFn<TypeMap, M, P>;\r\n} & {\r\n [P in Exclude<'fields', keyof ExtArgs['model'][Uncapitalize<M & string>]>]: TypeMap['model'][M]['fields'];\r\n} & {\r\n [K: symbol]: {\r\n types: TypeMap['model'][M];\r\n };\r\n};\r\n\r\n/** Query */\r\nexport declare type DynamicQueryExtensionArgs<Q_, TypeMap extends TypeMapDef> = {\r\n [K in keyof Q_]: K extends '$allOperations' ? (args: {\r\n model?: string;\r\n operation: string;\r\n args: any;\r\n query: (args: any) => PrismaPromise<any>;\r\n }) => Promise<any> : K extends '$allModels' ? {\r\n [P in keyof Q_[K] | keyof TypeMap['model'][keyof TypeMap['model']]['operations'] | '$allOperations']?: P extends '$allOperations' ? DynamicQueryExtensionCb<TypeMap, 'model', keyof TypeMap['model'], keyof TypeMap['model'][keyof TypeMap['model']]['operations']> : P extends keyof TypeMap['model'][keyof TypeMap['model']]['operations'] ? DynamicQueryExtensionCb<TypeMap, 'model', keyof TypeMap['model'], P> : never;\r\n } : K extends TypeMap['meta']['modelProps'] ? {\r\n [P in keyof Q_[K] | keyof TypeMap['model'][ModelKey<TypeMap, K>]['operations'] | '$allOperations']?: P extends '$allOperations' ? DynamicQueryExtensionCb<TypeMap, 'model', ModelKey<TypeMap, K>, keyof TypeMap['model'][ModelKey<TypeMap, K>]['operations']> : P extends keyof TypeMap['model'][ModelKey<TypeMap, K>]['operations'] ? DynamicQueryExtensionCb<TypeMap, 'model', ModelKey<TypeMap, K>, P> : never;\r\n } : K extends keyof TypeMap['other']['operations'] ? DynamicQueryExtensionCb<[TypeMap], 0, 'other', K> : never;\r\n};\r\n\r\nexport declare type DynamicQueryExtensionCb<TypeMap extends TypeMapDef, _0 extends PropertyKey, _1 extends PropertyKey, _2 extends PropertyKey> = <A extends DynamicQueryExtensionCbArgs<TypeMap, _0, _1, _2>>(args: A) => Promise<TypeMap[_0][_1][_2]['result']>;\r\n\r\nexport declare type DynamicQueryExtensionCbArgs<TypeMap extends TypeMapDef, _0 extends PropertyKey, _1 extends PropertyKey, _2 extends PropertyKey> = (_1 extends unknown ? _2 extends unknown ? {\r\n args: DynamicQueryExtensionCbArgsArgs<TypeMap, _0, _1, _2>;\r\n model: _0 extends 0 ? undefined : _1;\r\n operation: _2;\r\n query: <A extends DynamicQueryExtensionCbArgsArgs<TypeMap, _0, _1, _2>>(args: A) => PrismaPromise<TypeMap[_0][_1]['operations'][_2]['result']>;\r\n} : never : never) & {\r\n query: (args: DynamicQueryExtensionCbArgsArgs<TypeMap, _0, _1, _2>) => PrismaPromise<TypeMap[_0][_1]['operations'][_2]['result']>;\r\n};\r\n\r\nexport declare type DynamicQueryExtensionCbArgsArgs<TypeMap extends TypeMapDef, _0 extends PropertyKey, _1 extends PropertyKey, _2 extends PropertyKey> = _2 extends '$queryRaw' | '$executeRaw' ? Sql : TypeMap[_0][_1]['operations'][_2]['args'];\r\n\r\n/** Result */\r\nexport declare type DynamicResultExtensionArgs<R_, TypeMap extends TypeMapDef> = {\r\n [K in keyof R_]: {\r\n [P in keyof R_[K]]?: {\r\n needs?: DynamicResultExtensionNeeds<TypeMap, ModelKey<TypeMap, K>, R_[K][P]>;\r\n compute(data: DynamicResultExtensionData<TypeMap, ModelKey<TypeMap, K>, R_[K][P]>): any;\r\n };\r\n };\r\n};\r\n\r\nexport declare type DynamicResultExtensionData<TypeMap extends TypeMapDef, M extends PropertyKey, S> = GetFindResult<TypeMap['model'][M]['payload'], {\r\n select: S;\r\n}, {}>;\r\n\r\nexport declare type DynamicResultExtensionNeeds<TypeMap extends TypeMapDef, M extends PropertyKey, S> = {\r\n [K in keyof S]: K extends keyof TypeMap['model'][M]['payload']['scalars'] ? S[K] : never;\r\n} & {\r\n [N in keyof TypeMap['model'][M]['payload']['scalars']]?: boolean;\r\n};\r\n\r\n/**\r\n * Placeholder value for \"no text\".\r\n */\r\nexport declare const empty: Sql;\r\n\r\nexport declare type EmptyToUnknown<T> = T;\r\n\r\ndeclare interface Engine<InteractiveTransactionPayload = unknown> {\r\n /** The name of the engine. This is meant to be consumed externally */\r\n readonly name: string;\r\n onBeforeExit(callback: () => Promise<void>): void;\r\n start(): Promise<void>;\r\n stop(): Promise<void>;\r\n version(forceRun?: boolean): Promise<string> | string;\r\n request<T>(query: JsonQuery, options: RequestOptions<InteractiveTransactionPayload>): Promise<QueryEngineResultData<T>>;\r\n requestBatch<T>(queries: JsonQuery[], options: RequestBatchOptions<InteractiveTransactionPayload>): Promise<BatchQueryEngineResult<T>[]>;\r\n transaction(action: 'start', headers: Transaction_2.TransactionHeaders, options: Transaction_2.Options): Promise<Transaction_2.InteractiveTransactionInfo<unknown>>;\r\n transaction(action: 'commit', headers: Transaction_2.TransactionHeaders, info: Transaction_2.InteractiveTransactionInfo<unknown>): Promise<void>;\r\n transaction(action: 'rollback', headers: Transaction_2.TransactionHeaders, info: Transaction_2.InteractiveTransactionInfo<unknown>): Promise<void>;\r\n metrics(options: MetricsOptionsJson): Promise<Metrics>;\r\n metrics(options: MetricsOptionsPrometheus): Promise<string>;\r\n applyPendingMigrations(): Promise<void>;\r\n}\r\n\r\ndeclare interface EngineConfig {\r\n cwd: string;\r\n dirname: string;\r\n enableDebugLogs?: boolean;\r\n allowTriggerPanic?: boolean;\r\n prismaPath?: string;\r\n generator?: GeneratorConfig;\r\n /**\r\n * @remarks this field is used internally by Policy, do not rename or remove\r\n */\r\n overrideDatasources: Datasources;\r\n showColors?: boolean;\r\n logQueries?: boolean;\r\n logLevel?: 'info' | 'warn';\r\n env: Record<string, string>;\r\n flags?: string[];\r\n clientVersion: string;\r\n engineVersion: string;\r\n previewFeatures?: string[];\r\n engineEndpoint?: string;\r\n activeProvider?: string;\r\n logEmitter: LogEmitter;\r\n transactionOptions: Transaction_2.Options;\r\n /**\r\n * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-planetscale`.\r\n * If set, this is only used in the library engine, and all queries would be performed through it,\r\n * rather than Prisma's Rust drivers.\r\n * @remarks only used by LibraryEngine.ts\r\n */\r\n adapter?: SqlDriverAdapterFactory;\r\n /**\r\n * The contents of the schema encoded into a string\r\n */\r\n inlineSchema: string;\r\n /**\r\n * The contents of the datasource url saved in a string\r\n * @remarks only used by DataProxyEngine.ts\r\n * @remarks this field is used internally by Policy, do not rename or remove\r\n */\r\n inlineDatasources: GetPrismaClientConfig['inlineDatasources'];\r\n /**\r\n * The string hash that was produced for a given schema\r\n * @remarks only used by DataProxyEngine.ts\r\n */\r\n inlineSchemaHash: string;\r\n /**\r\n * The helper for interaction with OTEL tracing\r\n * @remarks enabling is determined by the client and @prisma/instrumentation package\r\n */\r\n tracingHelper: TracingHelper;\r\n /**\r\n * Information about whether we have not found a schema.prisma file in the\r\n * default location, and that we fell back to finding the schema.prisma file\r\n * in the current working directory. This usually means it has been bundled.\r\n */\r\n isBundled?: boolean;\r\n /**\r\n * Web Assembly module loading configuration\r\n */\r\n engineWasm?: EngineWasmLoadingConfig;\r\n compilerWasm?: CompilerWasmLoadingConfig;\r\n /**\r\n * Allows Accelerate to use runtime utilities from the client. These are\r\n * necessary for the AccelerateEngine to function correctly.\r\n */\r\n accelerateUtils?: {\r\n resolveDatasourceUrl: typeof resolveDatasourceUrl;\r\n getBatchRequestPayload: typeof getBatchRequestPayload;\r\n prismaGraphQLToJSError: typeof prismaGraphQLToJSError;\r\n PrismaClientUnknownRequestError: typeof PrismaClientUnknownRequestError;\r\n PrismaClientInitializationError: typeof PrismaClientInitializationError;\r\n PrismaClientKnownRequestError: typeof PrismaClientKnownRequestError;\r\n debug: (...args: any[]) => void;\r\n engineVersion: string;\r\n clientVersion: string;\r\n };\r\n}\r\n\r\ndeclare type EngineEvent<E extends EngineEventType> = E extends QueryEventType ? QueryEvent : LogEvent;\r\n\r\ndeclare type EngineEventType = QueryEventType | LogEventType;\r\n\r\ndeclare type EngineSpan = {\r\n id: EngineSpanId;\r\n parentId: string | null;\r\n name: string;\r\n startTime: HrTime;\r\n endTime: HrTime;\r\n kind: EngineSpanKind;\r\n attributes?: Record<string, unknown>;\r\n links?: EngineSpanId[];\r\n};\r\n\r\ndeclare type EngineSpanId = string;\r\n\r\ndeclare type EngineSpanKind = 'client' | 'internal';\r\n\r\ndeclare type EngineWasmLoadingConfig = {\r\n /**\r\n * WASM-bindgen runtime for corresponding module\r\n */\r\n getRuntime: () => Promise<{\r\n __wbg_set_wasm(exports: unknown): void;\r\n QueryEngine: QueryEngineConstructor;\r\n }>;\r\n /**\r\n * Loads the raw wasm module for the wasm query engine. This configuration is\r\n * generated specifically for each type of client, eg. Node.js client and Edge\r\n * clients will have different implementations.\r\n * @remarks this is a callback on purpose, we only load the wasm if needed.\r\n * @remarks only used by LibraryEngine\r\n */\r\n getQueryEngineWasmModule: () => Promise<unknown>;\r\n};\r\n\r\ndeclare type EnumValue = ReadonlyDeep_2<{\r\n name: string;\r\n dbName: string | null;\r\n}>;\r\n\r\ndeclare type EnvPaths = {\r\n rootEnvPath: string | null;\r\n schemaEnvPath: string | undefined;\r\n};\r\n\r\ndeclare interface EnvValue {\r\n fromEnvVar: null | string;\r\n value: null | string;\r\n}\r\n\r\nexport declare type Equals<A, B> = (<T>() => T extends A ? 1 : 2) extends (<T>() => T extends B ? 1 : 2) ? 1 : 0;\r\n\r\ndeclare type Error_2 = {\r\n kind: 'GenericJs';\r\n id: number;\r\n} | {\r\n kind: 'UnsupportedNativeDataType';\r\n type: string;\r\n} | {\r\n kind: 'InvalidIsolationLevel';\r\n level: string;\r\n} | {\r\n kind: 'LengthMismatch';\r\n column?: string;\r\n} | {\r\n kind: 'UniqueConstraintViolation';\r\n fields: string[];\r\n} | {\r\n kind: 'NullConstraintViolation';\r\n fields: string[];\r\n} | {\r\n kind: 'ForeignKeyConstraintViolation';\r\n constraint?: {\r\n fields: string[];\r\n } | {\r\n index: string;\r\n } | {\r\n foreignKey: {};\r\n };\r\n} | {\r\n kind: 'DatabaseDoesNotExist';\r\n db?: string;\r\n} | {\r\n kind: 'DatabaseAlreadyExists';\r\n db?: string;\r\n} | {\r\n kind: 'DatabaseAccessDenied';\r\n db?: string;\r\n} | {\r\n kind: 'AuthenticationFailed';\r\n user?: string;\r\n} | {\r\n kind: 'TransactionWriteConflict';\r\n} | {\r\n kind: 'TableDoesNotExist';\r\n table?: string;\r\n} | {\r\n kind: 'ColumnNotFound';\r\n column?: string;\r\n} | {\r\n kind: 'TooManyConnections';\r\n cause: string;\r\n} | {\r\n kind: 'SocketTimeout';\r\n} | {\r\n kind: 'postgres';\r\n code: string;\r\n severity: string;\r\n message: string;\r\n detail: string | undefined;\r\n column: string | undefined;\r\n hint: string | undefined;\r\n} | {\r\n kind: 'mysql';\r\n code: number;\r\n message: string;\r\n state: string;\r\n} | {\r\n kind: 'sqlite';\r\n /**\r\n * Sqlite extended error code: https://www.sqlite.org/rescode.html\r\n */\r\n extendedCode: number;\r\n message: string;\r\n};\r\n\r\ndeclare type ErrorCapturingFunction<T> = T extends (...args: infer A) => Promise<infer R> ? (...args: A) => Promise<Result_4<ErrorCapturingInterface<R>>> : T extends (...args: infer A) => infer R ? (...args: A) => Result_4<ErrorCapturingInterface<R>> : T;\r\n\r\ndeclare type ErrorCapturingInterface<T> = {\r\n [K in keyof T]: ErrorCapturingFunction<T[K]>;\r\n};\r\n\r\ndeclare interface ErrorCapturingSqlDriverAdapter extends ErrorCapturingInterface<SqlDriverAdapter> {\r\n readonly errorRegistry: ErrorRegistry;\r\n}\r\n\r\ndeclare type ErrorFormat = 'pretty' | 'colorless' | 'minimal';\r\n\r\ndeclare type ErrorRecord = {\r\n error: unknown;\r\n};\r\n\r\ndeclare interface ErrorRegistry {\r\n consumeError(id: number): ErrorRecord | undefined;\r\n}\r\n\r\ndeclare interface ErrorWithBatchIndex {\r\n batchRequestIdx?: number;\r\n}\r\n\r\ndeclare type EventCallback<E extends ExtendedEventType> = [E] extends ['beforeExit'] ? () => Promise<void> : [E] extends [LogLevel] ? (event: EngineEvent<E>) => void : never;\r\n\r\nexport declare type Exact<A, W> = (A extends unknown ? (W extends A ? {\r\n [K in keyof A]: Exact<A[K], W[K]>;\r\n} : W) : never) | (A extends Narrowable ? A : never);\r\n\r\n/**\r\n * Defines Exception.\r\n *\r\n * string or an object with one of (message or name or code) and optional stack\r\n */\r\ndeclare type Exception = ExceptionWithCode | ExceptionWithMessage | ExceptionWithName | string;\r\n\r\ndeclare interface ExceptionWithCode {\r\n code: string | number;\r\n name?: string;\r\n message?: string;\r\n stack?: string;\r\n}\r\n\r\ndeclare interface ExceptionWithMessage {\r\n code?: string | number;\r\n message: string;\r\n name?: string;\r\n stack?: string;\r\n}\r\n\r\ndeclare interface ExceptionWithName {\r\n code?: string | number;\r\n message?: string;\r\n name: string;\r\n stack?: string;\r\n}\r\n\r\ndeclare type ExtendedEventType = LogLevel | 'beforeExit';\r\n\r\ndeclare type ExtendedSpanOptions = SpanOptions & {\r\n /** The name of the span */\r\n name: string;\r\n internal?: boolean;\r\n middleware?: boolean;\r\n /** Whether it propagates context (?=true) */\r\n active?: boolean;\r\n /** The context to append the span to */\r\n context?: Context;\r\n};\r\n\r\n/** $extends, defineExtension */\r\nexport declare interface ExtendsHook<Variant extends 'extends' | 'define', TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>, TypeMap extends TypeMapDef = Call<TypeMapCb, {\r\n extArgs: ExtArgs;\r\n}>> {\r\n extArgs: ExtArgs;\r\n <R_ extends {\r\n [K in TypeMap['meta']['modelProps'] | '$allModels']?: unknown;\r\n }, R, M_ extends {\r\n [K in TypeMap['meta']['modelProps'] | '$allModels']?: unknown;\r\n }, M, Q_ extends {\r\n [K in TypeMap['meta']['modelProps'] | '$allModels' | keyof TypeMap['other']['operations'] | '$allOperations']?: unknown;\r\n }, C_ extends {\r\n [K in string]?: unknown;\r\n }, C, Args extends InternalArgs = InternalArgs<R, M, {}, C>, MergedArgs extends InternalArgs = MergeExtArgs<TypeMap, ExtArgs, Args>>(extension: ((client: DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>) => {\r\n $extends: {\r\n extArgs: Args;\r\n };\r\n }) | {\r\n name?: string;\r\n query?: DynamicQueryExtensionArgs<Q_, TypeMap>;\r\n result?: DynamicResultExtensionArgs<R_, TypeMap> & R;\r\n model?: DynamicModelExtensionArgs<M_, TypeMap, TypeMapCb, ExtArgs> & M;\r\n client?: DynamicClientExtensionArgs<C_, TypeMap, TypeMapCb, ExtArgs> & C;\r\n }): {\r\n extends: DynamicClientExtensionThis<Call<TypeMapCb, {\r\n extArgs: MergedArgs;\r\n }>, TypeMapCb, MergedArgs>;\r\n define: (client: any) => {\r\n $extends: {\r\n extArgs: Args;\r\n };\r\n };\r\n }[Variant];\r\n}\r\n\r\nexport declare type ExtensionArgs = Optional<RequiredExtensionArgs>;\r\n\r\ndeclare namespace Extensions {\r\n export {\r\n defineExtension,\r\n getExtensionContext\r\n }\r\n}\r\nexport { Extensions }\r\n\r\ndeclare namespace Extensions_2 {\r\n export {\r\n InternalArgs,\r\n DefaultArgs,\r\n GetPayloadResultExtensionKeys,\r\n GetPayloadResultExtensionObject,\r\n GetPayloadResult,\r\n GetSelect,\r\n GetOmit,\r\n DynamicQueryExtensionArgs,\r\n DynamicQueryExtensionCb,\r\n DynamicQueryExtensionCbArgs,\r\n DynamicQueryExtensionCbArgsArgs,\r\n DynamicResultExtensionArgs,\r\n DynamicResultExtensionNeeds,\r\n DynamicResultExtensionData,\r\n DynamicModelExtensionArgs,\r\n DynamicModelExtensionThis,\r\n DynamicModelExtensionOperationFn,\r\n DynamicModelExtensionFnResult,\r\n DynamicModelExtensionFnResultBase,\r\n DynamicModelExtensionFluentApi,\r\n DynamicModelExtensionFnResultNull,\r\n DynamicClientExtensionArgs,\r\n DynamicClientExtensionThis,\r\n ClientBuiltInProp,\r\n DynamicClientExtensionThisBuiltin,\r\n ExtendsHook,\r\n MergeExtArgs,\r\n AllModelsToStringIndex,\r\n TypeMapDef,\r\n DevTypeMapDef,\r\n DevTypeMapFnDef,\r\n ClientOptionDef,\r\n ClientOtherOps,\r\n TypeMapCbDef,\r\n ModelKey,\r\n RequiredExtensionArgs as UserArgs\r\n }\r\n}\r\n\r\nexport declare type ExtractGlobalOmit<Options, ModelName extends string> = Options extends {\r\n omit: {\r\n [K in ModelName]: infer GlobalOmit;\r\n };\r\n} ? GlobalOmit : {};\r\n\r\ndeclare type Field = ReadonlyDeep_2<{\r\n kind: FieldKind;\r\n name: string;\r\n isRequired: boolean;\r\n isList: boolean;\r\n isUnique: boolean;\r\n isId: boolean;\r\n isReadOnly: boolean;\r\n isGenerated?: boolean;\r\n isUpdatedAt?: boolean;\r\n /**\r\n * Describes the data type in the same the way it is defined in the Prisma schema:\r\n * BigInt, Boolean, Bytes, DateTime, Decimal, Float, Int, JSON, String, $ModelName\r\n */\r\n type: string;\r\n /**\r\n * Native database type, if specified.\r\n * For example, `@db.VarChar(191)` is encoded as `['VarChar', ['191']]`,\r\n * `@db.Text` is encoded as `['Text', []]`.\r\n */\r\n nativeType?: [string, string[]] | null;\r\n dbName?: string | null;\r\n hasDefaultValue: boolean;\r\n default?: FieldDefault | FieldDefaultScalar | FieldDefaultScalar[];\r\n relationFromFields?: string[];\r\n relationToFields?: string[];\r\n relationOnDelete?: string;\r\n relationOnUpdate?: string;\r\n relationName?: string;\r\n documentation?: string;\r\n}>;\r\n\r\ndeclare type FieldDefault = ReadonlyDeep_2<{\r\n name: string;\r\n args: Array<string | number>;\r\n}>;\r\n\r\ndeclare type FieldDefaultScalar = string | boolean | number;\r\n\r\ndeclare type FieldKind = 'scalar' | 'object' | 'enum' | 'unsupported';\r\n\r\ndeclare type FieldLocation = 'scalar' | 'inputObjectTypes' | 'outputObjectTypes' | 'enumTypes' | 'fieldRefTypes';\r\n\r\ndeclare type FieldNamespace = 'model' | 'prisma';\r\n\r\n/**\r\n * A reference to a specific field of a specific model\r\n */\r\nexport declare interface FieldRef<Model, FieldType> {\r\n readonly modelName: Model;\r\n readonly name: string;\r\n readonly typeName: FieldType;\r\n readonly isList: boolean;\r\n}\r\n\r\ndeclare type FieldRefAllowType = TypeRef<'scalar' | 'enumTypes'>;\r\n\r\ndeclare type FieldRefType = ReadonlyDeep_2<{\r\n name: string;\r\n allowTypes: FieldRefAllowType[];\r\n fields: SchemaArg[];\r\n}>;\r\n\r\ndeclare type FluentOperation = 'findUnique' | 'findUniqueOrThrow' | 'findFirst' | 'findFirstOrThrow' | 'create' | 'update' | 'upsert' | 'delete';\r\n\r\nexport declare interface Fn<Params = unknown, Returns = unknown> {\r\n params: Params;\r\n returns: Returns;\r\n}\r\n\r\ndeclare interface GeneratorConfig {\r\n name: string;\r\n output: EnvValue | null;\r\n isCustomOutput?: boolean;\r\n provider: EnvValue;\r\n config: {\r\n /** `output` is a reserved name and will only be available directly at `generator.output` */\r\n output?: never;\r\n /** `provider` is a reserved name and will only be available directly at `generator.provider` */\r\n provider?: never;\r\n /** `binaryTargets` is a reserved name and will only be available directly at `generator.binaryTargets` */\r\n binaryTargets?: never;\r\n /** `previewFeatures` is a reserved name and will only be available directly at `generator.previewFeatures` */\r\n previewFeatures?: never;\r\n } & {\r\n [key: string]: string | string[] | undefined;\r\n };\r\n binaryTargets: BinaryTargetsEnvValue[];\r\n previewFeatures: string[];\r\n envPaths?: EnvPaths;\r\n sourceFilePath: string;\r\n}\r\n\r\nexport declare type GetAggregateResult<P extends OperationPayload, A> = {\r\n [K in keyof A as K extends Aggregate ? K : never]: K extends '_count' ? A[K] extends true ? number : Count<A[K]> : {\r\n [J in keyof A[K] & string]: P['scalars'][J] | null;\r\n };\r\n};\r\n\r\ndeclare function getBatchRequestPayload(batch: JsonQuery[], transaction?: TransactionOptions_3<unknown>): QueryEngineBatchRequest;\r\n\r\nexport declare type GetBatchResult = {\r\n count: number;\r\n};\r\n\r\nexport declare type GetCountResult<A> = A extends {\r\n select: infer S;\r\n} ? (S extends true ? number : Count<S>) : number;\r\n\r\ndeclare function getExtensionContext<T>(that: T): Context_2<T>;\r\n\r\nexport declare type GetFindResult<P extends OperationPayload, A, GlobalOmitOptions> = Equals<A, any> extends 1 ? DefaultSelection<P, A, GlobalOmitOptions> : A extends {\r\n select: infer S extends object;\r\n} & Record<string, unknown> | {\r\n include: infer I extends object;\r\n} & Record<string, unknown> ? {\r\n [K in keyof S | keyof I as (S & I)[K] extends false | undefined | Skip | null ? never : K]: (S & I)[K] extends object ? P extends SelectablePayloadFields<K, (infer O)[]> ? O extends OperationPayload ? GetFindResult<O, (S & I)[K], GlobalOmitOptions>[] : never : P extends SelectablePayloadFields<K, infer O | null> ? O extends OperationPayload ? GetFindResult<O, (S & I)[K], GlobalOmitOptions> | SelectField<P, K> & null : never : K extends '_count' ? Count<GetFindResult<P, (S & I)[K], GlobalOmitOptions>> : never : P extends SelectablePayloadFields<K, (infer O)[]> ? O extends OperationPayload ? DefaultSelection<O, {}, GlobalOmitOptions>[] : never : P extends SelectablePayloadFields<K, infer O | null> ? O extends OperationPayload ? DefaultSelection<O, {}, GlobalOmitOptions> | SelectField<P, K> & null : never : P extends {\r\n scalars: {\r\n [k in K]: infer O;\r\n };\r\n } ? O : K extends '_count' ? Count<P['objects']> : never;\r\n} & (A extends {\r\n include: any;\r\n} & Record<string, unknown> ? DefaultSelection<P, A & {\r\n omit: A['omit'];\r\n}, GlobalOmitOptions> : unknown) : DefaultSelection<P, A, GlobalOmitOptions>;\r\n\r\nexport declare type GetGroupByResult<P extends OperationPayload, A> = A extends {\r\n by: string[];\r\n} ? Array<GetAggregateResult<P, A> & {\r\n [K in A['by'][number]]: P['scalars'][K];\r\n}> : A extends {\r\n by: string;\r\n} ? Array<GetAggregateResult<P, A> & {\r\n [K in A['by']]: P['scalars'][K];\r\n}> : {}[];\r\n\r\nexport declare type GetOmit<BaseKeys extends string, R extends InternalArgs['result'][string], ExtraType = never> = {\r\n [K in (string extends keyof R ? never : keyof R) | BaseKeys]?: boolean | ExtraType;\r\n};\r\n\r\nexport declare type GetPayloadResult<Base extends Record<any, any>, R extends InternalArgs['result'][string]> = Omit<Base, GetPayloadResultExtensionKeys<R>> & GetPayloadResultExtensionObject<R>;\r\n\r\nexport declare type GetPayloadResultExtensionKeys<R extends InternalArgs['result'][string], KR extends keyof R = string extends keyof R ? never : keyof R> = KR;\r\n\r\nexport declare type GetPayloadResultExtensionObject<R extends InternalArgs['result'][string]> = {\r\n [K in GetPayloadResultExtensionKeys<R>]: R[K] extends () => {\r\n compute: (...args: any) => infer C;\r\n } ? C : never;\r\n};\r\n\r\nexport declare function getPrismaClient(config: GetPrismaClientConfig): {\r\n new (optionsArg?: PrismaClientOptions): {\r\n _originalClient: any;\r\n _runtimeDataModel: RuntimeDataModel;\r\n _requestHandler: RequestHandler;\r\n _connectionPromise?: Promise<any> | undefined;\r\n _disconnectionPromise?: Promise<any> | undefined;\r\n _engineConfig: EngineConfig;\r\n _accelerateEngineConfig: AccelerateEngineConfig;\r\n _clientVersion: string;\r\n _errorFormat: ErrorFormat;\r\n _tracingHelper: TracingHelper;\r\n _middlewares: MiddlewareHandler<QueryMiddleware>;\r\n _previewFeatures: string[];\r\n _activeProvider: string;\r\n _globalOmit?: GlobalOmitOptions | undefined;\r\n _extensions: MergedExtensionsList;\r\n /**\r\n * @remarks This is used internally by Policy, do not rename or remove\r\n */\r\n _engine: Engine;\r\n /**\r\n * A fully constructed/applied Client that references the parent\r\n * PrismaClient. This is used for Client extensions only.\r\n */\r\n _appliedParent: any;\r\n _createPrismaPromise: PrismaPromiseFactory;\r\n /**\r\n * Hook a middleware into the client\r\n * @param middleware to hook\r\n */\r\n $use(middleware: QueryMiddleware): void;\r\n $on<E extends ExtendedEventType>(eventType: E, callback: EventCallback<E>): any;\r\n $connect(): Promise<void>;\r\n /**\r\n * Disconnect from the database\r\n */\r\n $disconnect(): Promise<void>;\r\n /**\r\n * Executes a raw query and always returns a number\r\n */\r\n $executeRawInternal(transaction: PrismaPromiseTransaction | undefined, clientMethod: string, args: RawQueryArgs, middlewareArgsMapper?: MiddlewareArgsMapper<unknown, unknown>): Promise<number>;\r\n /**\r\n * Executes a raw query provided through a safe tag function\r\n * @see https://github.com/prisma/prisma/issues/7142\r\n *\r\n * @param query\r\n * @param values\r\n * @returns\r\n */\r\n $executeRaw(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Unsafe counterpart of `$executeRaw` that is susceptible to SQL injections\r\n * @see https://github.com/prisma/prisma/issues/7142\r\n *\r\n * @param query\r\n * @param values\r\n * @returns\r\n */\r\n $executeRawUnsafe(query: string, ...values: RawValue[]): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Executes a raw command only for MongoDB\r\n *\r\n * @param command\r\n * @returns\r\n */\r\n $runCommandRaw(command: Record<string, JsInputValue>): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Executes a raw query and returns selected data\r\n */\r\n $queryRawInternal(transaction: PrismaPromiseTransaction | undefined, clientMethod: string, args: RawQueryArgs, middlewareArgsMapper?: MiddlewareArgsMapper<unknown, unknown>): Promise<any>;\r\n /**\r\n * Executes a raw query provided through a safe tag function\r\n * @see https://github.com/prisma/prisma/issues/7142\r\n *\r\n * @param query\r\n * @param values\r\n * @returns\r\n */\r\n $queryRaw(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Counterpart to $queryRaw, that returns strongly typed results\r\n * @param typedSql\r\n */\r\n $queryRawTyped(typedSql: UnknownTypedSql): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Unsafe counterpart of `$queryRaw` that is susceptible to SQL injections\r\n * @see https://github.com/prisma/prisma/issues/7142\r\n *\r\n * @param query\r\n * @param values\r\n * @returns\r\n */\r\n $queryRawUnsafe(query: string, ...values: RawValue[]): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Execute a batch of requests in a transaction\r\n * @param requests\r\n * @param options\r\n */\r\n _transactionWithArray({ promises, options, }: {\r\n promises: Array<PrismaPromise_2<any>>;\r\n options?: BatchTransactionOptions;\r\n }): Promise<any>;\r\n /**\r\n * Perform a long-running transaction\r\n * @param callback\r\n * @param options\r\n * @returns\r\n */\r\n _transactionWithCallback({ callback, options, }: {\r\n callback: (client: Client) => Promise<unknown>;\r\n options?: TransactionOptions_2;\r\n }): Promise<unknown>;\r\n _createItxClient(transaction: PrismaPromiseInteractiveTransaction): Client;\r\n /**\r\n * Execute queries within a transaction\r\n * @param input a callback or a query list\r\n * @param options to set timeouts (callback)\r\n * @returns\r\n */\r\n $transaction(input: any, options?: any): Promise<any>;\r\n /**\r\n * Runs the middlewares over params before executing a request\r\n * @param internalParams\r\n * @returns\r\n */\r\n _request(internalParams: InternalRequestParams): Promise<any>;\r\n _executeRequest({ args, clientMethod, dataPath, callsite, action, model, argsMapper, transaction, unpacker, otelParentCtx, customDataProxyFetch, }: InternalRequestParams): Promise<any>;\r\n $metrics: MetricsClient;\r\n /**\r\n * Shortcut for checking a preview flag\r\n * @param feature preview flag\r\n * @returns\r\n */\r\n _hasPreviewFlag(feature: string): boolean;\r\n $applyPendingMigrations(): Promise<void>;\r\n $extends: typeof $extends;\r\n readonly [Symbol.toStringTag]: string;\r\n };\r\n};\r\n\r\n/**\r\n * Config that is stored into the generated client. When the generated client is\r\n * loaded, this same config is passed to {@link getPrismaClient} which creates a\r\n * closure with that config around a non-instantiated [[PrismaClient]].\r\n */\r\nexport declare type GetPrismaClientConfig = {\r\n runtimeDataModel: RuntimeDataModel;\r\n generator?: GeneratorConfig;\r\n relativeEnvPaths?: {\r\n rootEnvPath?: string | null;\r\n schemaEnvPath?: string | null;\r\n };\r\n relativePath: string;\r\n dirname: string;\r\n clientVersion: string;\r\n engineVersion: string;\r\n datasourceNames: string[];\r\n activeProvider: ActiveConnectorType;\r\n /**\r\n * The contents of the schema encoded into a string\r\n * @remarks only used for the purpose of data proxy\r\n */\r\n inlineSchema: string;\r\n /**\r\n * A special env object just for the data proxy edge runtime.\r\n * Allows bundlers to inject their own env variables (Vercel).\r\n * Allows platforms to declare global variables as env (Workers).\r\n * @remarks only used for the purpose of data proxy\r\n */\r\n injectableEdgeEnv?: () => LoadedEnv;\r\n /**\r\n * The contents of the datasource url saved in a string.\r\n * This can either be an env var name or connection string.\r\n * It is needed by the client to connect to the Data Proxy.\r\n * @remarks only used for the purpose of data proxy\r\n */\r\n inlineDatasources: {\r\n [name in string]: {\r\n url: EnvValue;\r\n };\r\n };\r\n /**\r\n * The string hash that was produced for a given schema\r\n * @remarks only used for the purpose of data proxy\r\n */\r\n inlineSchemaHash: string;\r\n /**\r\n * A marker to indicate that the client was not generated via `prisma\r\n * generate` but was generated via `generate --postinstall` script instead.\r\n * @remarks used to error for Vercel/Netlify for schema caching issues\r\n */\r\n postinstall?: boolean;\r\n /**\r\n * Information about the CI where the Prisma Client has been generated. The\r\n * name of the CI environment is stored at generation time because CI\r\n * information is not always available at runtime. Moreover, the edge client\r\n * has no notion of environment variables, so this works around that.\r\n * @remarks used to error for Vercel/Netlify for schema caching issues\r\n */\r\n ciName?: string;\r\n /**\r\n * Information about whether we have not found a schema.prisma file in the\r\n * default location, and that we fell back to finding the schema.prisma file\r\n * in the current working directory. This usually means it has been bundled.\r\n */\r\n isBundled?: boolean;\r\n /**\r\n * A boolean that is `false` when the client was generated with --no-engine. At\r\n * runtime, this means the client will be bound to be using the Data Proxy.\r\n */\r\n copyEngine?: boolean;\r\n /**\r\n * Optional wasm loading configuration\r\n */\r\n engineWasm?: EngineWasmLoadingConfig;\r\n compilerWasm?: CompilerWasmLoadingConfig;\r\n};\r\n\r\nexport declare type GetResult<Payload extends OperationPayload, Args, OperationName extends Operation = 'findUniqueOrThrow', GlobalOmitOptions = {}> = {\r\n findUnique: GetFindResult<Payload, Args, GlobalOmitOptions> | null;\r\n findUniqueOrThrow: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n findFirst: GetFindResult<Payload, Args, GlobalOmitOptions> | null;\r\n findFirstOrThrow: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n findMany: GetFindResult<Payload, Args, GlobalOmitOptions>[];\r\n create: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n createMany: GetBatchResult;\r\n createManyAndReturn: GetFindResult<Payload, Args, GlobalOmitOptions>[];\r\n update: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n updateMany: GetBatchResult;\r\n updateManyAndReturn: GetFindResult<Payload, Args, GlobalOmitOptions>[];\r\n upsert: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n delete: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n deleteMany: GetBatchResult;\r\n aggregate: GetAggregateResult<Payload, Args>;\r\n count: GetCountResult<Args>;\r\n groupBy: GetGroupByResult<Payload, Args>;\r\n $queryRaw: unknown;\r\n $queryRawTyped: unknown;\r\n $executeRaw: number;\r\n $queryRawUnsafe: unknown;\r\n $executeRawUnsafe: number;\r\n $runCommandRaw: JsonObject;\r\n findRaw: JsonObject;\r\n aggregateRaw: JsonObject;\r\n}[OperationName];\r\n\r\nexport declare function getRuntime(): GetRuntimeOutput;\r\n\r\ndeclare type GetRuntimeOutput = {\r\n id: RuntimeName;\r\n prettyName: string;\r\n isEdge: boolean;\r\n};\r\n\r\nexport declare type GetSelect<Base extends Record<any, any>, R extends InternalArgs['result'][string], KR extends keyof R = string extends keyof R ? never : keyof R> = {\r\n [K in KR | keyof Base]?: K extends KR ? boolean : Base[K];\r\n};\r\n\r\ndeclare type GlobalOmitOptions = {\r\n [modelName: string]: {\r\n [fieldName: string]: boolean;\r\n };\r\n};\r\n\r\ndeclare type HandleErrorParams = {\r\n args: JsArgs;\r\n error: any;\r\n clientMethod: string;\r\n callsite?: CallSite;\r\n transaction?: PrismaPromiseTransaction;\r\n modelName?: string;\r\n globalOmit?: GlobalOmitOptions;\r\n};\r\n\r\ndeclare type HrTime = [number, number];\r\n\r\n/**\r\n * Defines High-Resolution Time.\r\n *\r\n * The first number, HrTime[0], is UNIX Epoch time in seconds since 00:00:00 UTC on 1 January 1970.\r\n * The second number, HrTime[1], represents the partial second elapsed since Unix Epoch time represented by first number in nanoseconds.\r\n * For example, 2021-01-01T12:30:10.150Z in UNIX Epoch time in milliseconds is represented as 1609504210150.\r\n * The first number is calculated by converting and truncating the Epoch time in milliseconds to seconds:\r\n * HrTime[0] = Math.trunc(1609504210150 / 1000) = 1609504210.\r\n * The second number is calculated by converting the digits after the decimal point of the subtraction, (1609504210150 / 1000) - HrTime[0], to nanoseconds:\r\n * HrTime[1] = Number((1609504210.150 - HrTime[0]).toFixed(9)) * 1e9 = 150000000.\r\n * This is represented in HrTime format as [1609504210, 150000000].\r\n */\r\ndeclare type HrTime_2 = [number, number];\r\n\r\ndeclare type Index = ReadonlyDeep_2<{\r\n model: string;\r\n type: IndexType;\r\n isDefinedOnField: boolean;\r\n name?: string;\r\n dbName?: string;\r\n algorithm?: string;\r\n clustered?: boolean;\r\n fields: IndexField[];\r\n}>;\r\n\r\ndeclare type IndexField = ReadonlyDeep_2<{\r\n name: string;\r\n sortOrder?: SortOrder;\r\n length?: number;\r\n operatorClass?: string;\r\n}>;\r\n\r\ndeclare type IndexType = 'id' | 'normal' | 'unique' | 'fulltext';\r\n\r\n/**\r\n * Matches a JSON array.\r\n * Unlike \\`JsonArray\\`, readonly arrays are assignable to this type.\r\n */\r\nexport declare interface InputJsonArray extends ReadonlyArray<InputJsonValue | null> {\r\n}\r\n\r\n/**\r\n * Matches a JSON object.\r\n * Unlike \\`JsonObject\\`, this type allows undefined and read-only properties.\r\n */\r\nexport declare type InputJsonObject = {\r\n readonly [Key in string]?: InputJsonValue | null;\r\n};\r\n\r\n/**\r\n * Matches any valid value that can be used as an input for operations like\r\n * create and update as the value of a JSON field. Unlike \\`JsonValue\\`, this\r\n * type allows read-only arrays and read-only object properties and disallows\r\n * \\`null\\` at the top level.\r\n *\r\n * \\`null\\` cannot be used as the value of a JSON field because its meaning\r\n * would be ambiguous. Use \\`Prisma.JsonNull\\` to store the JSON null value or\r\n * \\`Prisma.DbNull\\` to clear the JSON value and set the field to the database\r\n * NULL value instead.\r\n *\r\n * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-by-null-values\r\n */\r\nexport declare type InputJsonValue = string | number | boolean | InputJsonObject | InputJsonArray | {\r\n toJSON(): unknown;\r\n};\r\n\r\ndeclare type InputType = ReadonlyDeep_2<{\r\n name: string;\r\n constraints: {\r\n maxNumFields: number | null;\r\n minNumFields: number | null;\r\n fields?: string[];\r\n };\r\n meta?: {\r\n source?: string;\r\n grouping?: string;\r\n };\r\n fields: SchemaArg[];\r\n}>;\r\n\r\ndeclare type InputTypeRef = TypeRef<'scalar' | 'inputObjectTypes' | 'enumTypes' | 'fieldRefTypes'>;\r\n\r\ndeclare type InteractiveTransactionInfo<Payload = unknown> = {\r\n /**\r\n * Transaction ID returned by the query engine.\r\n */\r\n id: string;\r\n /**\r\n * Arbitrary payload the meaning of which depends on the `Engine` implementation.\r\n * For example, `DataProxyEngine` needs to associate different API endpoints with transactions.\r\n * In `LibraryEngine` and `BinaryEngine` it is currently not used.\r\n */\r\n payload: Payload;\r\n};\r\n\r\ndeclare type InteractiveTransactionOptions<Payload> = Transaction_2.InteractiveTransactionInfo<Payload>;\r\n\r\nexport declare type InternalArgs<R = {\r\n [K in string]: {\r\n [K in string]: unknown;\r\n };\r\n}, M = {\r\n [K in string]: {\r\n [K in string]: unknown;\r\n };\r\n}, Q = {\r\n [K in string]: {\r\n [K in string]: unknown;\r\n };\r\n}, C = {\r\n [K in string]: unknown;\r\n}> = {\r\n result: {\r\n [K in keyof R]: {\r\n [P in keyof R[K]]: () => R[K][P];\r\n };\r\n };\r\n model: {\r\n [K in keyof M]: {\r\n [P in keyof M[K]]: () => M[K][P];\r\n };\r\n };\r\n query: {\r\n [K in keyof Q]: {\r\n [P in keyof Q[K]]: () => Q[K][P];\r\n };\r\n };\r\n client: {\r\n [K in keyof C]: () => C[K];\r\n };\r\n};\r\n\r\ndeclare type InternalRequestParams = {\r\n /**\r\n * The original client method being called.\r\n * Even though the rootField / operation can be changed,\r\n * this method stays as it is, as it's what the user's\r\n * code looks like\r\n */\r\n clientMethod: string;\r\n /**\r\n * Name of js model that triggered the request. Might be used\r\n * for warnings or error messages\r\n */\r\n jsModelName?: string;\r\n callsite?: CallSite;\r\n transaction?: PrismaPromiseTransaction;\r\n unpacker?: Unpacker;\r\n otelParentCtx?: Context;\r\n /** Used to \"desugar\" a user input into an \"expanded\" one */\r\n argsMapper?: (args?: UserArgs_2) => UserArgs_2;\r\n /** Used to convert args for middleware and back */\r\n middlewareArgsMapper?: MiddlewareArgsMapper<unknown, unknown>;\r\n /** Used for Accelerate client extension via Data Proxy */\r\n customDataProxyFetch?: CustomDataProxyFetch;\r\n} & Omit<QueryMiddlewareParams, 'runInTransaction'>;\r\n\r\ndeclare type IsolationLevel = 'READ UNCOMMITTED' | 'READ COMMITTED' | 'REPEATABLE READ' | 'SNAPSHOT' | 'SERIALIZABLE';\r\n\r\ndeclare function isSkip(value: unknown): value is Skip;\r\n\r\nexport declare function isTypedSql(value: unknown): value is UnknownTypedSql;\r\n\r\nexport declare type ITXClientDenyList = (typeof denylist)[number];\r\n\r\nexport declare const itxClientDenyList: readonly (string | symbol)[];\r\n\r\ndeclare interface Job {\r\n resolve: (data: any) => void;\r\n reject: (data: any) => void;\r\n request: any;\r\n}\r\n\r\n/**\r\n * Create a SQL query for a list of values.\r\n */\r\nexport declare function join(values: readonly RawValue[], separator?: string, prefix?: string, suffix?: string): Sql;\r\n\r\nexport declare type JsArgs = {\r\n select?: Selection_2;\r\n include?: Selection_2;\r\n omit?: Omission;\r\n [argName: string]: JsInputValue;\r\n};\r\n\r\nexport declare type JsInputValue = null | undefined | string | number | boolean | bigint | Uint8Array | Date | DecimalJsLike | ObjectEnumValue | RawParameters | JsonConvertible | FieldRef<string, unknown> | JsInputValue[] | Skip | {\r\n [key: string]: JsInputValue;\r\n};\r\n\r\ndeclare type JsonArgumentValue = number | string | boolean | null | RawTaggedValue | JsonArgumentValue[] | {\r\n [key: string]: JsonArgumentValue;\r\n};\r\n\r\n/**\r\n * From https://github.com/sindresorhus/type-fest/\r\n * Matches a JSON array.\r\n */\r\nexport declare interface JsonArray extends Array<JsonValue> {\r\n}\r\n\r\nexport declare type JsonBatchQuery = {\r\n batch: JsonQuery[];\r\n transaction?: {\r\n isolationLevel?: IsolationLevel;\r\n };\r\n};\r\n\r\nexport declare interface JsonConvertible {\r\n toJSON(): unknown;\r\n}\r\n\r\ndeclare type JsonFieldSelection = {\r\n arguments?: Record<string, JsonArgumentValue> | RawTaggedValue;\r\n selection: JsonSelectionSet;\r\n};\r\n\r\ndeclare class JsonNull extends NullTypesEnumValue {\r\n #private;\r\n}\r\n\r\n/**\r\n * From https://github.com/sindresorhus/type-fest/\r\n * Matches a JSON object.\r\n * This type can be useful to enforce some input to be JSON-compatible or as a super-type to be extended from.\r\n */\r\nexport declare type JsonObject = {\r\n [Key in string]?: JsonValue;\r\n};\r\n\r\nexport declare type JsonQuery = {\r\n modelName?: string;\r\n action: JsonQueryAction;\r\n query: JsonFieldSelection;\r\n};\r\n\r\ndeclare type JsonQueryAction = 'findUnique' | 'findUniqueOrThrow' | 'findFirst' | 'findFirstOrThrow' | 'findMany' | 'createOne' | 'createMany' | 'createManyAndReturn' | 'updateOne' | 'updateMany' | 'updateManyAndReturn' | 'deleteOne' | 'deleteMany' | 'upsertOne' | 'aggregate' | 'groupBy' | 'executeRaw' | 'queryRaw' | 'runCommandRaw' | 'findRaw' | 'aggregateRaw';\r\n\r\ndeclare type JsonSelectionSet = {\r\n $scalars?: boolean;\r\n $composites?: boolean;\r\n} & {\r\n [fieldName: string]: boolean | JsonFieldSelection;\r\n};\r\n\r\n/**\r\n * From https://github.com/sindresorhus/type-fest/\r\n * Matches any valid JSON value.\r\n */\r\nexport declare type JsonValue = string | number | boolean | JsonObject | JsonArray | null;\r\n\r\nexport declare type JsOutputValue = null | string | number | boolean | bigint | Uint8Array | Date | Decimal | JsOutputValue[] | {\r\n [key: string]: JsOutputValue;\r\n};\r\n\r\nexport declare type JsPromise<T> = Promise<T> & {};\r\n\r\ndeclare type KnownErrorParams = {\r\n code: string;\r\n clientVersion: string;\r\n meta?: Record<string, unknown>;\r\n batchRequestIdx?: number;\r\n};\r\n\r\n/**\r\n * A pointer from the current {@link Span} to another span in the same trace or\r\n * in a different trace.\r\n * Few examples of Link usage.\r\n * 1. Batch Processing: A batch of elements may contain elements associated\r\n * with one or more traces/spans. Since there can only be one parent\r\n * SpanContext, Link is used to keep reference to SpanContext of all\r\n * elements in the batch.\r\n * 2. Public Endpoint: A SpanContext in incoming client request on a public\r\n * endpoint is untrusted from service provider perspective. In such case it\r\n * is advisable to start a new trace with appropriate sampling decision.\r\n * However, it is desirable to associate incoming SpanContext to new trace\r\n * initiated on service provider side so two traces (from Client and from\r\n * Service Provider) can be correlated.\r\n */\r\ndeclare interface Link {\r\n /** The {@link SpanContext} of a linked span. */\r\n context: SpanContext;\r\n /** A set of {@link SpanAttributes} on the link. */\r\n attributes?: SpanAttributes;\r\n /** Count of attributes of the link that were dropped due to collection limits */\r\n droppedAttributesCount?: number;\r\n}\r\n\r\ndeclare type LoadedEnv = {\r\n message?: string;\r\n parsed: {\r\n [x: string]: string;\r\n };\r\n} | undefined;\r\n\r\ndeclare type LocationInFile = {\r\n fileName: string;\r\n lineNumber: number | null;\r\n columnNumber: number | null;\r\n};\r\n\r\ndeclare type LogDefinition = {\r\n level: LogLevel;\r\n emit: 'stdout' | 'event';\r\n};\r\n\r\n/**\r\n * Typings for the events we emit.\r\n *\r\n * @remarks\r\n * If this is updated, our edge runtime shim needs to be updated as well.\r\n */\r\ndeclare type LogEmitter = {\r\n on<E extends EngineEventType>(event: E, listener: (event: EngineEvent<E>) => void): LogEmitter;\r\n emit(event: QueryEventType, payload: QueryEvent): boolean;\r\n emit(event: LogEventType, payload: LogEvent): boolean;\r\n};\r\n\r\ndeclare type LogEvent = {\r\n timestamp: Date;\r\n message: string;\r\n target: string;\r\n};\r\n\r\ndeclare type LogEventType = 'info' | 'warn' | 'error';\r\n\r\ndeclare type LogLevel = 'info' | 'query' | 'warn' | 'error';\r\n\r\n/**\r\n * Generates more strict variant of an enum which, unlike regular enum,\r\n * throws on non-existing property access. This can be useful in following situations:\r\n * - we have an API, that accepts both `undefined` and `SomeEnumType` as an input\r\n * - enum values are generated dynamically from DMMF.\r\n *\r\n * In that case, if using normal enums and no compile-time typechecking, using non-existing property\r\n * will result in `undefined` value being used, which will be accepted. Using strict enum\r\n * in this case will help to have a runtime exception, telling you that you are probably doing something wrong.\r\n *\r\n * Note: if you need to check for existence of a value in the enum you can still use either\r\n * `in` operator or `hasOwnProperty` function.\r\n *\r\n * @param definition\r\n * @returns\r\n */\r\nexport declare function makeStrictEnum<T extends Record<PropertyKey, string | number>>(definition: T): T;\r\n\r\nexport declare function makeTypedQueryFactory(sql: string): (...values: any[]) => TypedSql<any[], unknown>;\r\n\r\ndeclare type Mappings = ReadonlyDeep_2<{\r\n modelOperations: ModelMapping[];\r\n otherOperations: {\r\n read: string[];\r\n write: string[];\r\n };\r\n}>;\r\n\r\n/**\r\n * Class that holds the list of all extensions, applied to particular instance,\r\n * as well as resolved versions of the components that need to apply on\r\n * different levels. Main idea of this class: avoid re-resolving as much of the\r\n * stuff as possible when new extensions are added while also delaying the\r\n * resolve until the point it is actually needed. For example, computed fields\r\n * of the model won't be resolved unless the model is actually queried. Neither\r\n * adding extensions with `client` component only cause other components to\r\n * recompute.\r\n */\r\ndeclare class MergedExtensionsList {\r\n private head?;\r\n private constructor();\r\n static empty(): MergedExtensionsList;\r\n static single(extension: ExtensionArgs): MergedExtensionsList;\r\n isEmpty(): boolean;\r\n append(extension: ExtensionArgs): MergedExtensionsList;\r\n getAllComputedFields(dmmfModelName: string): ComputedFieldsMap | undefined;\r\n getAllClientExtensions(): ClientArg | undefined;\r\n getAllModelExtensions(dmmfModelName: string): ModelArg | undefined;\r\n getAllQueryCallbacks(jsModelName: string, operation: string): any;\r\n getAllBatchQueryCallbacks(): BatchQueryOptionsCb[];\r\n}\r\n\r\nexport declare type MergeExtArgs<TypeMap extends TypeMapDef, ExtArgs extends Record<any, any>, Args extends Record<any, any>> = ComputeDeep<ExtArgs & Args & AllModelsToStringIndex<TypeMap, Args, 'result'> & AllModelsToStringIndex<TypeMap, Args, 'model'>>;\r\n\r\nexport declare type Metric<T> = {\r\n key: string;\r\n value: T;\r\n labels: Record<string, string>;\r\n description: string;\r\n};\r\n\r\nexport declare type MetricHistogram = {\r\n buckets: MetricHistogramBucket[];\r\n sum: number;\r\n count: number;\r\n};\r\n\r\nexport declare type MetricHistogramBucket = [maxValue: number, count: number];\r\n\r\nexport declare type Metrics = {\r\n counters: Metric<number>[];\r\n gauges: Metric<number>[];\r\n histograms: Metric<MetricHistogram>[];\r\n};\r\n\r\nexport declare class MetricsClient {\r\n private _client;\r\n constructor(client: Client);\r\n /**\r\n * Returns all metrics gathered up to this point in prometheus format.\r\n * Result of this call can be exposed directly to prometheus scraping endpoint\r\n *\r\n * @param options\r\n * @returns\r\n */\r\n prometheus(options?: MetricsOptions): Promise<string>;\r\n /**\r\n * Returns all metrics gathered up to this point in prometheus format.\r\n *\r\n * @param options\r\n * @returns\r\n */\r\n json(options?: MetricsOptions): Promise<Metrics>;\r\n}\r\n\r\ndeclare type MetricsOptions = {\r\n /**\r\n * Labels to add to every metrics in key-value format\r\n */\r\n globalLabels?: Record<string, string>;\r\n};\r\n\r\ndeclare type MetricsOptionsCommon = {\r\n globalLabels?: Record<string, string>;\r\n};\r\n\r\ndeclare type MetricsOptionsJson = {\r\n format: 'json';\r\n} & MetricsOptionsCommon;\r\n\r\ndeclare type MetricsOptionsPrometheus = {\r\n format: 'prometheus';\r\n} & MetricsOptionsCommon;\r\n\r\ndeclare type MiddlewareArgsMapper<RequestArgs, MiddlewareArgs> = {\r\n requestArgsToMiddlewareArgs(requestArgs: RequestArgs): MiddlewareArgs;\r\n middlewareArgsToRequestArgs(middlewareArgs: MiddlewareArgs): RequestArgs;\r\n};\r\n\r\ndeclare class MiddlewareHandler<M extends Function> {\r\n private _middlewares;\r\n use(middleware: M): void;\r\n get(id: number): M | undefined;\r\n has(id: number): boolean;\r\n length(): number;\r\n}\r\n\r\ndeclare type Model = ReadonlyDeep_2<{\r\n name: string;\r\n dbName: string | null;\r\n schema: string | null;\r\n fields: Field[];\r\n uniqueFields: string[][];\r\n uniqueIndexes: uniqueIndex[];\r\n documentation?: string;\r\n primaryKey: PrimaryKey | null;\r\n isGenerated?: boolean;\r\n}>;\r\n\r\ndeclare enum ModelAction {\r\n findUnique = \"findUnique\",\r\n findUniqueOrThrow = \"findUniqueOrThrow\",\r\n findFirst = \"findFirst\",\r\n findFirstOrThrow = \"findFirstOrThrow\",\r\n findMany = \"findMany\",\r\n create = \"create\",\r\n createMany = \"createMany\",\r\n createManyAndReturn = \"createManyAndReturn\",\r\n update = \"update\",\r\n updateMany = \"updateMany\",\r\n updateManyAndReturn = \"updateManyAndReturn\",\r\n upsert = \"upsert\",\r\n delete = \"delete\",\r\n deleteMany = \"deleteMany\",\r\n groupBy = \"groupBy\",\r\n count = \"count\",// TODO: count does not actually exist in DMMF\r\n aggregate = \"aggregate\",\r\n findRaw = \"findRaw\",\r\n aggregateRaw = \"aggregateRaw\"\r\n}\r\n\r\nexport declare type ModelArg = {\r\n [MethodName in string]: unknown;\r\n};\r\n\r\nexport declare type ModelArgs = {\r\n model: {\r\n [ModelName in string]: ModelArg;\r\n };\r\n};\r\n\r\nexport declare type ModelKey<TypeMap extends TypeMapDef, M extends PropertyKey> = M extends keyof TypeMap['model'] ? M : Capitalize<M & string>;\r\n\r\ndeclare type ModelMapping = ReadonlyDeep_2<{\r\n model: string;\r\n plural: string;\r\n findUnique?: string | null;\r\n findUniqueOrThrow?: string | null;\r\n findFirst?: string | null;\r\n findFirstOrThrow?: string | null;\r\n findMany?: string | null;\r\n create?: string | null;\r\n createMany?: string | null;\r\n createManyAndReturn?: string | null;\r\n update?: string | null;\r\n updateMany?: string | null;\r\n updateManyAndReturn?: string | null;\r\n upsert?: string | null;\r\n delete?: string | null;\r\n deleteMany?: string | null;\r\n aggregate?: string | null;\r\n groupBy?: string | null;\r\n count?: string | null;\r\n findRaw?: string | null;\r\n aggregateRaw?: string | null;\r\n}>;\r\n\r\nexport declare type ModelQueryOptionsCb = (args: ModelQueryOptionsCbArgs) => Promise<any>;\r\n\r\nexport declare type ModelQueryOptionsCbArgs = {\r\n model: string;\r\n operation: string;\r\n args: JsArgs;\r\n query: (args: JsArgs) => Promise<unknown>;\r\n};\r\n\r\ndeclare type MultiBatchResponse = {\r\n type: 'multi';\r\n plans: object[];\r\n};\r\n\r\nexport declare type NameArgs = {\r\n name?: string;\r\n};\r\n\r\nexport declare type Narrow<A> = {\r\n [K in keyof A]: A[K] extends Function ? A[K] : Narrow<A[K]>;\r\n} | (A extends Narrowable ? A : never);\r\n\r\nexport declare type Narrowable = string | number | bigint | boolean | [];\r\n\r\nexport declare type NeverToUnknown<T> = [T] extends [never] ? unknown : T;\r\n\r\ndeclare class NullTypesEnumValue extends ObjectEnumValue {\r\n _getNamespace(): string;\r\n}\r\n\r\n/**\r\n * Base class for unique values of object-valued enums.\r\n */\r\nexport declare abstract class ObjectEnumValue {\r\n constructor(arg?: symbol);\r\n abstract _getNamespace(): string;\r\n _getName(): string;\r\n toString(): string;\r\n}\r\n\r\nexport declare const objectEnumValues: {\r\n classes: {\r\n DbNull: typeof DbNull;\r\n JsonNull: typeof JsonNull;\r\n AnyNull: typeof AnyNull;\r\n };\r\n instances: {\r\n DbNull: DbNull;\r\n JsonNull: JsonNull;\r\n AnyNull: AnyNull;\r\n };\r\n};\r\n\r\ndeclare const officialPrismaAdapters: readonly [\"@prisma/adapter-planetscale\", \"@prisma/adapter-neon\", \"@prisma/adapter-libsql\", \"@prisma/adapter-d1\", \"@prisma/adapter-pg\", \"@prisma/adapter-pg-worker\"];\r\n\r\nexport declare type Omission = Record<string, boolean | Skip>;\r\n\r\ndeclare type Omit_2<T, K extends string | number | symbol> = {\r\n [P in keyof T as P extends K ? never : P]: T[P];\r\n};\r\nexport { Omit_2 as Omit }\r\n\r\nexport declare type OmitValue<Omit, Key> = Key extends keyof Omit ? Omit[Key] : false;\r\n\r\nexport declare type Operation = 'findFirst' | 'findFirstOrThrow' | 'findUnique' | 'findUniqueOrThrow' | 'findMany' | 'create' | 'createMany' | 'createManyAndReturn' | 'update' | 'updateMany' | 'updateManyAndReturn' | 'upsert' | 'delete' | 'deleteMany' | 'aggregate' | 'count' | 'groupBy' | '$queryRaw' | '$executeRaw' | '$queryRawUnsafe' | '$executeRawUnsafe' | 'findRaw' | 'aggregateRaw' | '$runCommandRaw';\r\n\r\nexport declare type OperationPayload = {\r\n name: string;\r\n scalars: {\r\n [ScalarName in string]: unknown;\r\n };\r\n objects: {\r\n [ObjectName in string]: unknown;\r\n };\r\n composites: {\r\n [CompositeName in string]: unknown;\r\n };\r\n};\r\n\r\nexport declare type Optional<O, K extends keyof any = keyof O> = {\r\n [P in K & keyof O]?: O[P];\r\n} & {\r\n [P in Exclude<keyof O, K>]: O[P];\r\n};\r\n\r\nexport declare type OptionalFlat<T> = {\r\n [K in keyof T]?: T[K];\r\n};\r\n\r\nexport declare type OptionalKeys<O> = {\r\n [K in keyof O]-?: {} extends Pick_2<O, K> ? K : never;\r\n}[keyof O];\r\n\r\ndeclare type Options = {\r\n clientVersion: string;\r\n};\r\n\r\nexport declare type Or<A extends 1 | 0, B extends 1 | 0> = {\r\n 0: {\r\n 0: 0;\r\n 1: 1;\r\n };\r\n 1: {\r\n 0: 1;\r\n 1: 1;\r\n };\r\n}[A][B];\r\n\r\ndeclare type OtherOperationMappings = ReadonlyDeep_2<{\r\n read: string[];\r\n write: string[];\r\n}>;\r\n\r\ndeclare type OutputType = ReadonlyDeep_2<{\r\n name: string;\r\n fields: SchemaField[];\r\n}>;\r\n\r\ndeclare type OutputTypeRef = TypeRef<'scalar' | 'outputObjectTypes' | 'enumTypes'>;\r\n\r\nexport declare function Param<$Type, $Value extends string>(name: $Value): Param<$Type, $Value>;\r\n\r\nexport declare type Param<out $Type, $Value extends string> = {\r\n readonly name: $Value;\r\n};\r\n\r\nexport declare type PatchFlat<O1, O2> = O1 & Omit_2<O2, keyof O1>;\r\n\r\nexport declare type Path<O, P, Default = never> = O extends unknown ? P extends [infer K, ...infer R] ? K extends keyof O ? Path<O[K], R> : Default : O : never;\r\n\r\nexport declare type Payload<T, F extends Operation = never> = T extends {\r\n [K: symbol]: {\r\n types: {\r\n payload: any;\r\n };\r\n };\r\n} ? T[symbol]['types']['payload'] : any;\r\n\r\nexport declare type PayloadToResult<P, O extends Record_2<any, any> = RenameAndNestPayloadKeys<P>> = {\r\n [K in keyof O]?: O[K][K] extends any[] ? PayloadToResult<O[K][K][number]>[] : O[K][K] extends object ? PayloadToResult<O[K][K]> : O[K][K];\r\n};\r\n\r\ndeclare type Pick_2<T, K extends string | number | symbol> = {\r\n [P in keyof T as P extends K ? P : never]: T[P];\r\n};\r\nexport { Pick_2 as Pick }\r\n\r\ndeclare type PrimaryKey = ReadonlyDeep_2<{\r\n name: string | null;\r\n fields: string[];\r\n}>;\r\n\r\nexport declare class PrismaClientInitializationError extends Error {\r\n clientVersion: string;\r\n errorCode?: string;\r\n retryable?: boolean;\r\n constructor(message: string, clientVersion: string, errorCode?: string);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\nexport declare class PrismaClientKnownRequestError extends Error implements ErrorWithBatchIndex {\r\n code: string;\r\n meta?: Record<string, unknown>;\r\n clientVersion: string;\r\n batchRequestIdx?: number;\r\n constructor(message: string, { code, clientVersion, meta, batchRequestIdx }: KnownErrorParams);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\nexport declare type PrismaClientOptions = {\r\n /**\r\n * Overwrites the primary datasource url from your schema.prisma file\r\n */\r\n datasourceUrl?: string;\r\n /**\r\n * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-planetscale.\r\n */\r\n adapter?: SqlDriverAdapterFactory | null;\r\n /**\r\n * Overwrites the datasource url from your schema.prisma file\r\n */\r\n datasources?: Datasources;\r\n /**\r\n * @default \"colorless\"\r\n */\r\n errorFormat?: ErrorFormat;\r\n /**\r\n * The default values for Transaction options\r\n * maxWait ?= 2000\r\n * timeout ?= 5000\r\n */\r\n transactionOptions?: Transaction_2.Options;\r\n /**\r\n * @example\r\n * \\`\\`\\`\r\n * // Defaults to stdout\r\n * log: ['query', 'info', 'warn']\r\n *\r\n * // Emit as events\r\n * log: [\r\n * { emit: 'stdout', level: 'query' },\r\n * { emit: 'stdout', level: 'info' },\r\n * { emit: 'stdout', level: 'warn' }\r\n * ]\r\n * \\`\\`\\`\r\n * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/logging#the-log-option).\r\n */\r\n log?: Array<LogLevel | LogDefinition>;\r\n omit?: GlobalOmitOptions;\r\n /**\r\n * @internal\r\n * You probably don't want to use this. \\`__internal\\` is used by internal tooling.\r\n */\r\n __internal?: {\r\n debug?: boolean;\r\n engine?: {\r\n cwd?: string;\r\n binaryPath?: string;\r\n endpoint?: string;\r\n allowTriggerPanic?: boolean;\r\n };\r\n /** This can be used for testing purposes */\r\n configOverride?: (config: GetPrismaClientConfig) => GetPrismaClientConfig;\r\n };\r\n};\r\n\r\nexport declare class PrismaClientRustPanicError extends Error {\r\n clientVersion: string;\r\n constructor(message: string, clientVersion: string);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\nexport declare class PrismaClientUnknownRequestError extends Error implements ErrorWithBatchIndex {\r\n clientVersion: string;\r\n batchRequestIdx?: number;\r\n constructor(message: string, { clientVersion, batchRequestIdx }: UnknownErrorParams);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\nexport declare class PrismaClientValidationError extends Error {\r\n name: string;\r\n clientVersion: string;\r\n constructor(message: string, { clientVersion }: Options);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\ndeclare function prismaGraphQLToJSError({ error, user_facing_error }: RequestError, clientVersion: string, activeProvider: string): PrismaClientKnownRequestError | PrismaClientUnknownRequestError;\r\n\r\ndeclare type PrismaOperationSpec<TArgs, TAction = string> = {\r\n args: TArgs;\r\n action: TAction;\r\n model: string;\r\n};\r\n\r\nexport declare interface PrismaPromise<T> extends Promise<T> {\r\n [Symbol.toStringTag]: 'PrismaPromise';\r\n}\r\n\r\n/**\r\n * Prisma's `Promise` that is backwards-compatible. All additions on top of the\r\n * original `Promise` are optional so that it can be backwards-compatible.\r\n * @see [[createPrismaPromise]]\r\n */\r\ndeclare interface PrismaPromise_2<TResult, TSpec extends PrismaOperationSpec<unknown> = any> extends Promise<TResult> {\r\n get spec(): TSpec;\r\n /**\r\n * Extension of the original `.then` function\r\n * @param onfulfilled same as regular promises\r\n * @param onrejected same as regular promises\r\n * @param transaction transaction options\r\n */\r\n then<R1 = TResult, R2 = never>(onfulfilled?: (value: TResult) => R1 | PromiseLike<R1>, onrejected?: (error: unknown) => R2 | PromiseLike<R2>, transaction?: PrismaPromiseTransaction): Promise<R1 | R2>;\r\n /**\r\n * Extension of the original `.catch` function\r\n * @param onrejected same as regular promises\r\n * @param transaction transaction options\r\n */\r\n catch<R = never>(onrejected?: ((reason: any) => R | PromiseLike<R>) | undefined | null, transaction?: PrismaPromiseTransaction): Promise<TResult | R>;\r\n /**\r\n * Extension of the original `.finally` function\r\n * @param onfinally same as regular promises\r\n * @param transaction transaction options\r\n */\r\n finally(onfinally?: (() => void) | undefined | null, transaction?: PrismaPromiseTransaction): Promise<TResult>;\r\n /**\r\n * Called when executing a batch of regular tx\r\n * @param transaction transaction options for batch tx\r\n */\r\n requestTransaction?(transaction: PrismaPromiseBatchTransaction): PromiseLike<unknown>;\r\n}\r\n\r\ndeclare type PrismaPromiseBatchTransaction = {\r\n kind: 'batch';\r\n id: number;\r\n isolationLevel?: IsolationLevel;\r\n index: number;\r\n lock: PromiseLike<void>;\r\n};\r\n\r\ndeclare type PrismaPromiseCallback = (transaction?: PrismaPromiseTransaction) => Promise<unknown>;\r\n\r\n/**\r\n * Creates a [[PrismaPromise]]. It is Prisma's implementation of `Promise` which\r\n * is essentially a proxy for `Promise`. All the transaction-compatible client\r\n * methods return one, this allows for pre-preparing queries without executing\r\n * them until `.then` is called. It's the foundation of Prisma's query batching.\r\n * @param callback that will be wrapped within our promise implementation\r\n * @see [[PrismaPromise]]\r\n * @returns\r\n */\r\ndeclare type PrismaPromiseFactory = <T extends PrismaOperationSpec<unknown>>(callback: PrismaPromiseCallback, op?: T) => PrismaPromise_2<unknown>;\r\n\r\ndeclare type PrismaPromiseInteractiveTransaction<PayloadType = unknown> = {\r\n kind: 'itx';\r\n id: string;\r\n payload: PayloadType;\r\n};\r\n\r\ndeclare type PrismaPromiseTransaction<PayloadType = unknown> = PrismaPromiseBatchTransaction | PrismaPromiseInteractiveTransaction<PayloadType>;\r\n\r\nexport declare const PrivateResultType: unique symbol;\r\n\r\ndeclare type Provider = 'mysql' | 'postgres' | 'sqlite';\r\n\r\ndeclare namespace Public {\r\n export {\r\n validator\r\n }\r\n}\r\nexport { Public }\r\n\r\ndeclare namespace Public_2 {\r\n export {\r\n Args,\r\n Result,\r\n Payload,\r\n PrismaPromise,\r\n Operation,\r\n Exact\r\n }\r\n}\r\n\r\ndeclare type Query = ReadonlyDeep_2<{\r\n name: string;\r\n args: SchemaArg[];\r\n output: QueryOutput;\r\n}>;\r\n\r\ndeclare interface Queryable<Query, Result> extends AdapterInfo {\r\n /**\r\n * Execute a query and return its result.\r\n */\r\n queryRaw(params: Query): Promise<Result>;\r\n /**\r\n * Execute a query and return the number of affected rows.\r\n */\r\n executeRaw(params: Query): Promise<number>;\r\n}\r\n\r\ndeclare type QueryCompiler = {\r\n compile(request: string): string;\r\n compileBatch(batchRequest: string): BatchResponse;\r\n};\r\n\r\ndeclare interface QueryCompilerConstructor {\r\n new (options: QueryCompilerOptions): QueryCompiler;\r\n}\r\n\r\ndeclare type QueryCompilerOptions = {\r\n datamodel: string;\r\n provider: Provider;\r\n connectionInfo: ConnectionInfo;\r\n};\r\n\r\ndeclare type QueryEngineBatchGraphQLRequest = {\r\n batch: QueryEngineRequest[];\r\n transaction?: boolean;\r\n isolationLevel?: IsolationLevel;\r\n};\r\n\r\ndeclare type QueryEngineBatchRequest = QueryEngineBatchGraphQLRequest | JsonBatchQuery;\r\n\r\ndeclare type QueryEngineConfig = {\r\n datamodel: string;\r\n configDir: string;\r\n logQueries: boolean;\r\n ignoreEnvVarErrors: boolean;\r\n datasourceOverrides: Record<string, string>;\r\n env: Record<string, string | undefined>;\r\n logLevel: QueryEngineLogLevel;\r\n engineProtocol: QueryEngineProtocol;\r\n enableTracing: boolean;\r\n};\r\n\r\ndeclare interface QueryEngineConstructor {\r\n new (config: QueryEngineConfig, logger: (log: string) => void, adapter?: ErrorCapturingSqlDriverAdapter): QueryEngineInstance;\r\n}\r\n\r\ndeclare type QueryEngineInstance = {\r\n connect(headers: string, requestId: string): Promise<void>;\r\n disconnect(headers: string, requestId: string): Promise<void>;\r\n /**\r\n * @param requestStr JSON.stringified `QueryEngineRequest | QueryEngineBatchRequest`\r\n * @param headersStr JSON.stringified `QueryEngineRequestHeaders`\r\n */\r\n query(requestStr: string, headersStr: string, transactionId: string | undefined, requestId: string): Promise<string>;\r\n sdlSchema?(): Promise<string>;\r\n startTransaction(options: string, traceHeaders: string, requestId: string): Promise<string>;\r\n commitTransaction(id: string, traceHeaders: string, requestId: string): Promise<string>;\r\n rollbackTransaction(id: string, traceHeaders: string, requestId: string): Promise<string>;\r\n metrics?(options: string): Promise<string>;\r\n applyPendingMigrations?(): Promise<void>;\r\n trace(requestId: string): Promise<string | null>;\r\n};\r\n\r\ndeclare type QueryEngineLogLevel = 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'off';\r\n\r\ndeclare type QueryEngineProtocol = 'graphql' | 'json';\r\n\r\ndeclare type QueryEngineRequest = {\r\n query: string;\r\n variables: Object;\r\n};\r\n\r\ndeclare type QueryEngineResultData<T> = {\r\n data: T;\r\n};\r\n\r\ndeclare type QueryEvent = {\r\n timestamp: Date;\r\n query: string;\r\n params: string;\r\n duration: number;\r\n target: string;\r\n};\r\n\r\ndeclare type QueryEventType = 'query';\r\n\r\ndeclare type QueryIntrospectionBuiltinType = 'int' | 'bigint' | 'float' | 'double' | 'string' | 'enum' | 'bytes' | 'bool' | 'char' | 'decimal' | 'json' | 'xml' | 'uuid' | 'datetime' | 'date' | 'time' | 'int-array' | 'bigint-array' | 'float-array' | 'double-array' | 'string-array' | 'char-array' | 'bytes-array' | 'bool-array' | 'decimal-array' | 'json-array' | 'xml-array' | 'uuid-array' | 'datetime-array' | 'date-array' | 'time-array' | 'null' | 'unknown';\r\n\r\ndeclare type QueryMiddleware = (params: QueryMiddlewareParams, next: (params: QueryMiddlewareParams) => Promise<unknown>) => Promise<unknown>;\r\n\r\ndeclare type QueryMiddlewareParams = {\r\n /** The model this is executed on */\r\n model?: string;\r\n /** The action that is being handled */\r\n action: Action;\r\n /** TODO what is this */\r\n dataPath: string[];\r\n /** TODO what is this */\r\n runInTransaction: boolean;\r\n args?: UserArgs_2;\r\n};\r\n\r\nexport declare type QueryOptions = {\r\n query: {\r\n [ModelName in string]: {\r\n [ModelAction in string]: ModelQueryOptionsCb;\r\n } | QueryOptionsCb;\r\n };\r\n};\r\n\r\nexport declare type QueryOptionsCb = (args: QueryOptionsCbArgs) => Promise<any>;\r\n\r\nexport declare type QueryOptionsCbArgs = {\r\n model?: string;\r\n operation: string;\r\n args: JsArgs | RawQueryArgs;\r\n query: (args: JsArgs | RawQueryArgs) => Promise<unknown>;\r\n};\r\n\r\ndeclare type QueryOutput = ReadonlyDeep_2<{\r\n name: string;\r\n isRequired: boolean;\r\n isList: boolean;\r\n}>;\r\n\r\n/**\r\n * Create raw SQL statement.\r\n */\r\nexport declare function raw(value: string): Sql;\r\n\r\nexport declare type RawParameters = {\r\n __prismaRawParameters__: true;\r\n values: string;\r\n};\r\n\r\nexport declare type RawQueryArgs = Sql | UnknownTypedSql | [query: string, ...values: RawValue[]];\r\n\r\ndeclare type RawResponse = {\r\n columns: string[];\r\n types: QueryIntrospectionBuiltinType[];\r\n rows: unknown[][];\r\n};\r\n\r\ndeclare type RawTaggedValue = {\r\n $type: 'Raw';\r\n value: unknown;\r\n};\r\n\r\n/**\r\n * Supported value or SQL instance.\r\n */\r\nexport declare type RawValue = Value | Sql;\r\n\r\nexport declare type ReadonlyDeep<T> = {\r\n readonly [K in keyof T]: ReadonlyDeep<T[K]>;\r\n};\r\n\r\ndeclare type ReadonlyDeep_2<O> = {\r\n +readonly [K in keyof O]: ReadonlyDeep_2<O[K]>;\r\n};\r\n\r\ndeclare type Record_2<T extends string | number | symbol, U> = {\r\n [P in T]: U;\r\n};\r\nexport { Record_2 as Record }\r\n\r\nexport declare type RenameAndNestPayloadKeys<P> = {\r\n [K in keyof P as K extends 'scalars' | 'objects' | 'composites' ? keyof P[K] : never]: P[K];\r\n};\r\n\r\ndeclare type RequestBatchOptions<InteractiveTransactionPayload> = {\r\n transaction?: TransactionOptions_3<InteractiveTransactionPayload>;\r\n traceparent?: string;\r\n numTry?: number;\r\n containsWrite: boolean;\r\n customDataProxyFetch?: CustomDataProxyFetch;\r\n};\r\n\r\ndeclare interface RequestError {\r\n error: string;\r\n user_facing_error: {\r\n is_panic: boolean;\r\n message: string;\r\n meta?: Record<string, unknown>;\r\n error_code?: string;\r\n batch_request_idx?: number;\r\n };\r\n}\r\n\r\ndeclare class RequestHandler {\r\n client: Client;\r\n dataloader: DataLoader<RequestParams>;\r\n private logEmitter?;\r\n constructor(client: Client, logEmitter?: LogEmitter);\r\n request(params: RequestParams): Promise<any>;\r\n mapQueryEngineResult({ dataPath, unpacker }: RequestParams, response: QueryEngineResultData<any>): any;\r\n /**\r\n * Handles the error and logs it, logging the error is done synchronously waiting for the event\r\n * handlers to finish.\r\n */\r\n handleAndLogRequestError(params: HandleErrorParams): never;\r\n handleRequestError({ error, clientMethod, callsite, transaction, args, modelName, globalOmit, }: HandleErrorParams): never;\r\n sanitizeMessage(message: any): any;\r\n unpack(data: unknown, dataPath: string[], unpacker?: Unpacker): any;\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\ndeclare type RequestOptions<InteractiveTransactionPayload> = {\r\n traceparent?: string;\r\n numTry?: number;\r\n interactiveTransaction?: InteractiveTransactionOptions<InteractiveTransactionPayload>;\r\n isWrite: boolean;\r\n customDataProxyFetch?: CustomDataProxyFetch;\r\n};\r\n\r\ndeclare type RequestParams = {\r\n modelName?: string;\r\n action: Action;\r\n protocolQuery: JsonQuery;\r\n dataPath: string[];\r\n clientMethod: string;\r\n callsite?: CallSite;\r\n transaction?: PrismaPromiseTransaction;\r\n extensions: MergedExtensionsList;\r\n args?: any;\r\n headers?: Record<string, string>;\r\n unpacker?: Unpacker;\r\n otelParentCtx?: Context;\r\n otelChildCtx?: Context;\r\n globalOmit?: GlobalOmitOptions;\r\n customDataProxyFetch?: CustomDataProxyFetch;\r\n};\r\n\r\ndeclare type RequiredExtensionArgs = NameArgs & ResultArgs & ModelArgs & ClientArgs & QueryOptions;\r\nexport { RequiredExtensionArgs }\r\nexport { RequiredExtensionArgs as UserArgs }\r\n\r\nexport declare type RequiredKeys<O> = {\r\n [K in keyof O]-?: {} extends Pick_2<O, K> ? never : K;\r\n}[keyof O];\r\n\r\ndeclare function resolveDatasourceUrl({ inlineDatasources, overrideDatasources, env, clientVersion, }: {\r\n inlineDatasources: GetPrismaClientConfig['inlineDatasources'];\r\n overrideDatasources: Datasources;\r\n env: Record<string, string | undefined>;\r\n clientVersion: string;\r\n}): string;\r\n\r\nexport declare type Result<T, A, F extends Operation> = T extends {\r\n [K: symbol]: {\r\n types: {\r\n payload: any;\r\n };\r\n };\r\n} ? GetResult<T[symbol]['types']['payload'], A, F> : GetResult<{\r\n composites: {};\r\n objects: {};\r\n scalars: {};\r\n name: '';\r\n}, {}, F>;\r\n\r\nexport declare type Result_2<T, A, F extends Operation> = Result<T, A, F>;\r\n\r\ndeclare namespace Result_3 {\r\n export {\r\n Count,\r\n GetFindResult,\r\n SelectablePayloadFields,\r\n SelectField,\r\n DefaultSelection,\r\n UnwrapPayload,\r\n ApplyOmit,\r\n OmitValue,\r\n GetCountResult,\r\n Aggregate,\r\n GetAggregateResult,\r\n GetBatchResult,\r\n GetGroupByResult,\r\n GetResult,\r\n ExtractGlobalOmit\r\n }\r\n}\r\n\r\ndeclare type Result_4<T> = {\r\n map<U>(fn: (value: T) => U): Result_4<U>;\r\n flatMap<U>(fn: (value: T) => Result_4<U>): Result_4<U>;\r\n} & ({\r\n readonly ok: true;\r\n readonly value: T;\r\n} | {\r\n readonly ok: false;\r\n readonly error: Error_2;\r\n});\r\n\r\nexport declare type ResultArg = {\r\n [FieldName in string]: ResultFieldDefinition;\r\n};\r\n\r\nexport declare type ResultArgs = {\r\n result: {\r\n [ModelName in string]: ResultArg;\r\n };\r\n};\r\n\r\nexport declare type ResultArgsFieldCompute = (model: any) => unknown;\r\n\r\nexport declare type ResultFieldDefinition = {\r\n needs?: {\r\n [FieldName in string]: boolean;\r\n };\r\n compute: ResultArgsFieldCompute;\r\n};\r\n\r\nexport declare type Return<T> = T extends (...args: any[]) => infer R ? R : T;\r\n\r\nexport declare type RuntimeDataModel = {\r\n readonly models: Record<string, RuntimeModel>;\r\n readonly enums: Record<string, RuntimeEnum>;\r\n readonly types: Record<string, RuntimeModel>;\r\n};\r\n\r\ndeclare type RuntimeEnum = Omit<DMMF_2.DatamodelEnum, 'name'>;\r\n\r\ndeclare type RuntimeModel = Omit<DMMF_2.Model, 'name'>;\r\n\r\ndeclare type RuntimeName = 'workerd' | 'deno' | 'netlify' | 'node' | 'bun' | 'edge-light' | '';\r\n\r\ndeclare type Schema = ReadonlyDeep_2<{\r\n rootQueryType?: string;\r\n rootMutationType?: string;\r\n inputObjectTypes: {\r\n model?: InputType[];\r\n prisma: InputType[];\r\n };\r\n outputObjectTypes: {\r\n model: OutputType[];\r\n prisma: OutputType[];\r\n };\r\n enumTypes: {\r\n model?: SchemaEnum[];\r\n prisma: SchemaEnum[];\r\n };\r\n fieldRefTypes: {\r\n prisma?: FieldRefType[];\r\n };\r\n}>;\r\n\r\ndeclare type SchemaArg = ReadonlyDeep_2<{\r\n name: string;\r\n comment?: string;\r\n isNullable: boolean;\r\n isRequired: boolean;\r\n inputTypes: InputTypeRef[];\r\n deprecation?: Deprecation;\r\n}>;\r\n\r\ndeclare type SchemaEnum = ReadonlyDeep_2<{\r\n name: string;\r\n values: string[];\r\n}>;\r\n\r\ndeclare type SchemaField = ReadonlyDeep_2<{\r\n name: string;\r\n isNullable?: boolean;\r\n outputType: OutputTypeRef;\r\n args: SchemaArg[];\r\n deprecation?: Deprecation;\r\n documentation?: string;\r\n}>;\r\n\r\nexport declare type Select<T, U> = T extends U ? T : never;\r\n\r\nexport declare type SelectablePayloadFields<K extends PropertyKey, O> = {\r\n objects: {\r\n [k in K]: O;\r\n };\r\n} | {\r\n composites: {\r\n [k in K]: O;\r\n };\r\n};\r\n\r\nexport declare type SelectField<P extends SelectablePayloadFields<any, any>, K extends PropertyKey> = P extends {\r\n objects: Record<K, any>;\r\n} ? P['objects'][K] : P extends {\r\n composites: Record<K, any>;\r\n} ? P['composites'][K] : never;\r\n\r\ndeclare type Selection_2 = Record<string, boolean | Skip | JsArgs>;\r\nexport { Selection_2 as Selection }\r\n\r\nexport declare function serializeJsonQuery({ modelName, action, args, runtimeDataModel, extensions, callsite, clientMethod, errorFormat, clientVersion, previewFeatures, globalOmit, }: SerializeParams): JsonQuery;\r\n\r\ndeclare type SerializeParams = {\r\n runtimeDataModel: RuntimeDataModel;\r\n modelName?: string;\r\n action: Action;\r\n args?: JsArgs;\r\n extensions?: MergedExtensionsList;\r\n callsite?: CallSite;\r\n clientMethod: string;\r\n clientVersion: string;\r\n errorFormat: ErrorFormat;\r\n previewFeatures: string[];\r\n globalOmit?: GlobalOmitOptions;\r\n};\r\n\r\ndeclare class Skip {\r\n constructor(param?: symbol);\r\n ifUndefined<T>(value: T | undefined): T | Skip;\r\n}\r\n\r\nexport declare const skip: Skip;\r\n\r\ndeclare type SortOrder = 'asc' | 'desc';\r\n\r\n/**\r\n * An interface that represents a span. A span represents a single operation\r\n * within a trace. Examples of span might include remote procedure calls or a\r\n * in-process function calls to sub-components. A Trace has a single, top-level\r\n * \"root\" Span that in turn may have zero or more child Spans, which in turn\r\n * may have children.\r\n *\r\n * Spans are created by the {@link Tracer.startSpan} method.\r\n */\r\ndeclare interface Span {\r\n /**\r\n * Returns the {@link SpanContext} object associated with this Span.\r\n *\r\n * Get an immutable, serializable identifier for this span that can be used\r\n * to create new child spans. Returned SpanContext is usable even after the\r\n * span ends.\r\n *\r\n * @returns the SpanContext object associated with this Span.\r\n */\r\n spanContext(): SpanContext;\r\n /**\r\n * Sets an attribute to the span.\r\n *\r\n * Sets a single Attribute with the key and value passed as arguments.\r\n *\r\n * @param key the key for this attribute.\r\n * @param value the value for this attribute. Setting a value null or\r\n * undefined is invalid and will result in undefined behavior.\r\n */\r\n setAttribute(key: string, value: SpanAttributeValue): this;\r\n /**\r\n * Sets attributes to the span.\r\n *\r\n * @param attributes the attributes that will be added.\r\n * null or undefined attribute values\r\n * are invalid and will result in undefined behavior.\r\n */\r\n setAttributes(attributes: SpanAttributes): this;\r\n /**\r\n * Adds an event to the Span.\r\n *\r\n * @param name the name of the event.\r\n * @param [attributesOrStartTime] the attributes that will be added; these are\r\n * associated with this event. Can be also a start time\r\n * if type is {@type TimeInput} and 3rd param is undefined\r\n * @param [startTime] start time of the event.\r\n */\r\n addEvent(name: string, attributesOrStartTime?: SpanAttributes | TimeInput, startTime?: TimeInput): this;\r\n /**\r\n * Adds a single link to the span.\r\n *\r\n * Links added after the creation will not affect the sampling decision.\r\n * It is preferred span links be added at span creation.\r\n *\r\n * @param link the link to add.\r\n */\r\n addLink(link: Link): this;\r\n /**\r\n * Adds multiple links to the span.\r\n *\r\n * Links added after the creation will not affect the sampling decision.\r\n * It is preferred span links be added at span creation.\r\n *\r\n * @param links the links to add.\r\n */\r\n addLinks(links: Link[]): this;\r\n /**\r\n * Sets a status to the span. If used, this will override the default Span\r\n * status. Default is {@link SpanStatusCode.UNSET}. SetStatus overrides the value\r\n * of previous calls to SetStatus on the Span.\r\n *\r\n * @param status the SpanStatus to set.\r\n */\r\n setStatus(status: SpanStatus): this;\r\n /**\r\n * Updates the Span name.\r\n *\r\n * This will override the name provided via {@link Tracer.startSpan}.\r\n *\r\n * Upon this update, any sampling behavior based on Span name will depend on\r\n * the implementation.\r\n *\r\n * @param name the Span name.\r\n */\r\n updateName(name: string): this;\r\n /**\r\n * Marks the end of Span execution.\r\n *\r\n * Call to End of a Span MUST not have any effects on child spans. Those may\r\n * still be running and can be ended later.\r\n *\r\n * Do not return `this`. The Span generally should not be used after it\r\n * is ended so chaining is not desired in this context.\r\n *\r\n * @param [endTime] the time to set as Span's end time. If not provided,\r\n * use the current time as the span's end time.\r\n */\r\n end(endTime?: TimeInput): void;\r\n /**\r\n * Returns the flag whether this span will be recorded.\r\n *\r\n * @returns true if this Span is active and recording information like events\r\n * with the `AddEvent` operation and attributes using `setAttributes`.\r\n */\r\n isRecording(): boolean;\r\n /**\r\n * Sets exception as a span event\r\n * @param exception the exception the only accepted values are string or Error\r\n * @param [time] the time to set as Span's event time. If not provided,\r\n * use the current time.\r\n */\r\n recordException(exception: Exception, time?: TimeInput): void;\r\n}\r\n\r\n/**\r\n * @deprecated please use {@link Attributes}\r\n */\r\ndeclare type SpanAttributes = Attributes;\r\n\r\n/**\r\n * @deprecated please use {@link AttributeValue}\r\n */\r\ndeclare type SpanAttributeValue = AttributeValue;\r\n\r\ndeclare type SpanCallback<R> = (span?: Span, context?: Context) => R;\r\n\r\n/**\r\n * A SpanContext represents the portion of a {@link Span} which must be\r\n * serialized and propagated along side of a {@link Baggage}.\r\n */\r\ndeclare interface SpanContext {\r\n /**\r\n * The ID of the trace that this span belongs to. It is worldwide unique\r\n * with practically sufficient probability by being made as 16 randomly\r\n * generated bytes, encoded as a 32 lowercase hex characters corresponding to\r\n * 128 bits.\r\n */\r\n traceId: string;\r\n /**\r\n * The ID of the Span. It is globally unique with practically sufficient\r\n * probability by being made as 8 randomly generated bytes, encoded as a 16\r\n * lowercase hex characters corresponding to 64 bits.\r\n */\r\n spanId: string;\r\n /**\r\n * Only true if the SpanContext was propagated from a remote parent.\r\n */\r\n isRemote?: boolean;\r\n /**\r\n * Trace flags to propagate.\r\n *\r\n * It is represented as 1 byte (bitmap). Bit to represent whether trace is\r\n * sampled or not. When set, the least significant bit documents that the\r\n * caller may have recorded trace data. A caller who does not record trace\r\n * data out-of-band leaves this flag unset.\r\n *\r\n * see {@link TraceFlags} for valid flag values.\r\n */\r\n traceFlags: number;\r\n /**\r\n * Tracing-system-specific info to propagate.\r\n *\r\n * The tracestate field value is a `list` as defined below. The `list` is a\r\n * series of `list-members` separated by commas `,`, and a list-member is a\r\n * key/value pair separated by an equals sign `=`. Spaces and horizontal tabs\r\n * surrounding `list-members` are ignored. There can be a maximum of 32\r\n * `list-members` in a `list`.\r\n * More Info: https://www.w3.org/TR/trace-context/#tracestate-field\r\n *\r\n * Examples:\r\n * Single tracing system (generic format):\r\n * tracestate: rojo=00f067aa0ba902b7\r\n * Multiple tracing systems (with different formatting):\r\n * tracestate: rojo=00f067aa0ba902b7,congo=t61rcWkgMzE\r\n */\r\n traceState?: TraceState;\r\n}\r\n\r\ndeclare enum SpanKind {\r\n /** Default value. Indicates that the span is used internally. */\r\n INTERNAL = 0,\r\n /**\r\n * Indicates that the span covers server-side handling of an RPC or other\r\n * remote request.\r\n */\r\n SERVER = 1,\r\n /**\r\n * Indicates that the span covers the client-side wrapper around an RPC or\r\n * other remote request.\r\n */\r\n CLIENT = 2,\r\n /**\r\n * Indicates that the span describes producer sending a message to a\r\n * broker. Unlike client and server, there is no direct critical path latency\r\n * relationship between producer and consumer spans.\r\n */\r\n PRODUCER = 3,\r\n /**\r\n * Indicates that the span describes consumer receiving a message from a\r\n * broker. Unlike client and server, there is no direct critical path latency\r\n * relationship between producer and consumer spans.\r\n */\r\n CONSUMER = 4\r\n}\r\n\r\n/**\r\n * Options needed for span creation\r\n */\r\ndeclare interface SpanOptions {\r\n /**\r\n * The SpanKind of a span\r\n * @default {@link SpanKind.INTERNAL}\r\n */\r\n kind?: SpanKind;\r\n /** A span's attributes */\r\n attributes?: SpanAttributes;\r\n /** {@link Link}s span to other spans */\r\n links?: Link[];\r\n /** A manually specified start time for the created `Span` object. */\r\n startTime?: TimeInput;\r\n /** The new span should be a root span. (Ignore parent from context). */\r\n root?: boolean;\r\n}\r\n\r\ndeclare interface SpanStatus {\r\n /** The status code of this message. */\r\n code: SpanStatusCode;\r\n /** A developer-facing error message. */\r\n message?: string;\r\n}\r\n\r\n/**\r\n * An enumeration of status codes.\r\n */\r\ndeclare enum SpanStatusCode {\r\n /**\r\n * The default status.\r\n */\r\n UNSET = 0,\r\n /**\r\n * The operation has been validated by an Application developer or\r\n * Operator to have completed successfully.\r\n */\r\n OK = 1,\r\n /**\r\n * The operation contains an error.\r\n */\r\n ERROR = 2\r\n}\r\n\r\n/**\r\n * A SQL instance can be nested within each other to build SQL strings.\r\n */\r\nexport declare class Sql {\r\n readonly values: Value[];\r\n readonly strings: string[];\r\n constructor(rawStrings: readonly string[], rawValues: readonly RawValue[]);\r\n get sql(): string;\r\n get statement(): string;\r\n get text(): string;\r\n inspect(): {\r\n sql: string;\r\n statement: string;\r\n text: string;\r\n values: unknown[];\r\n };\r\n}\r\n\r\ndeclare interface SqlDriverAdapter extends SqlQueryable {\r\n /**\r\n * Execute multiple SQL statements separated by semicolon.\r\n */\r\n executeScript(script: string): Promise<void>;\r\n /**\r\n * Start new transaction.\r\n */\r\n startTransaction(isolationLevel?: IsolationLevel): Promise<Transaction>;\r\n /**\r\n * Optional method that returns extra connection info\r\n */\r\n getConnectionInfo?(): ConnectionInfo;\r\n /**\r\n * Dispose of the connection and release any resources.\r\n */\r\n dispose(): Promise<void>;\r\n}\r\n\r\nexport declare interface SqlDriverAdapterFactory extends DriverAdapterFactory<SqlQuery, SqlResultSet> {\r\n connect(): Promise<SqlDriverAdapter>;\r\n}\r\n\r\ndeclare type SqlQuery = {\r\n sql: string;\r\n args: Array<unknown>;\r\n argTypes: Array<ArgType>;\r\n};\r\n\r\ndeclare interface SqlQueryable extends Queryable<SqlQuery, SqlResultSet> {\r\n}\r\n\r\ndeclare interface SqlResultSet {\r\n /**\r\n * List of column types appearing in a database query, in the same order as `columnNames`.\r\n * They are used within the Query Engine to convert values from JS to Quaint values.\r\n */\r\n columnTypes: Array<ColumnType>;\r\n /**\r\n * List of column names appearing in a database query, in the same order as `columnTypes`.\r\n */\r\n columnNames: Array<string>;\r\n /**\r\n * List of rows retrieved from a database query.\r\n * Each row is a list of values, whose length matches `columnNames` and `columnTypes`.\r\n */\r\n rows: Array<Array<unknown>>;\r\n /**\r\n * The last ID of an `INSERT` statement, if any.\r\n * This is required for `AUTO_INCREMENT` columns in databases based on MySQL and SQLite.\r\n */\r\n lastInsertId?: string;\r\n}\r\n\r\n/**\r\n * Create a SQL object from a template string.\r\n */\r\nexport declare function sqltag(strings: readonly string[], ...values: readonly RawValue[]): Sql;\r\n\r\n/**\r\n * Defines TimeInput.\r\n *\r\n * hrtime, epoch milliseconds, performance.now() or Date\r\n */\r\ndeclare type TimeInput = HrTime_2 | number | Date;\r\n\r\nexport declare type ToTuple<T> = T extends any[] ? T : [T];\r\n\r\ndeclare interface TraceState {\r\n /**\r\n * Create a new TraceState which inherits from this TraceState and has the\r\n * given key set.\r\n * The new entry will always be added in the front of the list of states.\r\n *\r\n * @param key key of the TraceState entry.\r\n * @param value value of the TraceState entry.\r\n */\r\n set(key: string, value: string): TraceState;\r\n /**\r\n * Return a new TraceState which inherits from this TraceState but does not\r\n * contain the given key.\r\n *\r\n * @param key the key for the TraceState entry to be removed.\r\n */\r\n unset(key: string): TraceState;\r\n /**\r\n * Returns the value to which the specified key is mapped, or `undefined` if\r\n * this map contains no mapping for the key.\r\n *\r\n * @param key with which the specified value is to be associated.\r\n * @returns the value to which the specified key is mapped, or `undefined` if\r\n * this map contains no mapping for the key.\r\n */\r\n get(key: string): string | undefined;\r\n /**\r\n * Serializes the TraceState to a `list` as defined below. The `list` is a\r\n * series of `list-members` separated by commas `,`, and a list-member is a\r\n * key/value pair separated by an equals sign `=`. Spaces and horizontal tabs\r\n * surrounding `list-members` are ignored. There can be a maximum of 32\r\n * `list-members` in a `list`.\r\n *\r\n * @returns the serialized string.\r\n */\r\n serialize(): string;\r\n}\r\n\r\ndeclare interface TracingHelper {\r\n isEnabled(): boolean;\r\n getTraceParent(context?: Context): string;\r\n dispatchEngineSpans(spans: EngineSpan[]): void;\r\n getActiveContext(): Context | undefined;\r\n runInChildSpan<R>(nameOrOptions: string | ExtendedSpanOptions, callback: SpanCallback<R>): R;\r\n}\r\n\r\ndeclare interface Transaction extends AdapterInfo, SqlQueryable {\r\n /**\r\n * Transaction options.\r\n */\r\n readonly options: TransactionOptions;\r\n /**\r\n * Commit the transaction.\r\n */\r\n commit(): Promise<void>;\r\n /**\r\n * Roll back the transaction.\r\n */\r\n rollback(): Promise<void>;\r\n}\r\n\r\ndeclare namespace Transaction_2 {\r\n export {\r\n TransactionOptions_2 as Options,\r\n InteractiveTransactionInfo,\r\n TransactionHeaders\r\n }\r\n}\r\n\r\ndeclare type TransactionHeaders = {\r\n traceparent?: string;\r\n};\r\n\r\ndeclare type TransactionOptions = {\r\n usePhantomQuery: boolean;\r\n};\r\n\r\ndeclare type TransactionOptions_2 = {\r\n maxWait?: number;\r\n timeout?: number;\r\n isolationLevel?: IsolationLevel;\r\n};\r\n\r\ndeclare type TransactionOptions_3<InteractiveTransactionPayload> = {\r\n kind: 'itx';\r\n options: InteractiveTransactionOptions<InteractiveTransactionPayload>;\r\n} | {\r\n kind: 'batch';\r\n options: BatchTransactionOptions;\r\n};\r\n\r\nexport declare class TypedSql<Values extends readonly unknown[], Result> {\r\n [PrivateResultType]: Result;\r\n constructor(sql: string, values: Values);\r\n get sql(): string;\r\n get values(): Values;\r\n}\r\n\r\nexport declare type TypeMapCbDef = Fn<{\r\n extArgs: InternalArgs;\r\n}, TypeMapDef>;\r\n\r\n/** Shared */\r\nexport declare type TypeMapDef = Record<any, any>;\r\n\r\ndeclare type TypeRef<AllowedLocations extends FieldLocation> = {\r\n isList: boolean;\r\n type: string;\r\n location: AllowedLocations;\r\n namespace?: FieldNamespace;\r\n};\r\n\r\ndeclare namespace Types {\r\n export {\r\n Result_3 as Result,\r\n Extensions_2 as Extensions,\r\n Utils,\r\n Public_2 as Public,\r\n isSkip,\r\n Skip,\r\n skip,\r\n UnknownTypedSql,\r\n OperationPayload as Payload\r\n }\r\n}\r\nexport { Types }\r\n\r\ndeclare type uniqueIndex = ReadonlyDeep_2<{\r\n name: string;\r\n fields: string[];\r\n}>;\r\n\r\ndeclare type UnknownErrorParams = {\r\n clientVersion: string;\r\n batchRequestIdx?: number;\r\n};\r\n\r\nexport declare type UnknownTypedSql = TypedSql<unknown[], unknown>;\r\n\r\ndeclare type Unpacker = (data: any) => any;\r\n\r\nexport declare type UnwrapPayload<P> = {} extends P ? unknown : {\r\n [K in keyof P]: P[K] extends {\r\n scalars: infer S;\r\n composites: infer C;\r\n }[] ? Array<S & UnwrapPayload<C>> : P[K] extends {\r\n scalars: infer S;\r\n composites: infer C;\r\n } | null ? S & UnwrapPayload<C> | Select<P[K], null> : never;\r\n};\r\n\r\nexport declare type UnwrapPromise<P> = P extends Promise<infer R> ? R : P;\r\n\r\nexport declare type UnwrapTuple<Tuple extends readonly unknown[]> = {\r\n [K in keyof Tuple]: K extends `${number}` ? Tuple[K] extends PrismaPromise<infer X> ? X : UnwrapPromise<Tuple[K]> : UnwrapPromise<Tuple[K]>;\r\n};\r\n\r\n/**\r\n * Input that flows from the user into the Client.\r\n */\r\ndeclare type UserArgs_2 = any;\r\n\r\ndeclare namespace Utils {\r\n export {\r\n EmptyToUnknown,\r\n NeverToUnknown,\r\n PatchFlat,\r\n Omit_2 as Omit,\r\n Pick_2 as Pick,\r\n ComputeDeep,\r\n Compute,\r\n OptionalFlat,\r\n ReadonlyDeep,\r\n Narrowable,\r\n Narrow,\r\n Exact,\r\n Cast,\r\n Record_2 as Record,\r\n UnwrapPromise,\r\n UnwrapTuple,\r\n Path,\r\n Fn,\r\n Call,\r\n RequiredKeys,\r\n OptionalKeys,\r\n Optional,\r\n Return,\r\n ToTuple,\r\n RenameAndNestPayloadKeys,\r\n PayloadToResult,\r\n Select,\r\n Equals,\r\n Or,\r\n JsPromise\r\n }\r\n}\r\n\r\ndeclare function validator<V>(): <S>(select: Exact<S, V>) => S;\r\n\r\ndeclare function validator<C, M extends Exclude<keyof C, `$${string}`>, O extends keyof C[M] & Operation>(client: C, model: M, operation: O): <S>(select: Exact<S, Args<C[M], O>>) => S;\r\n\r\ndeclare function validator<C, M extends Exclude<keyof C, `$${string}`>, O extends keyof C[M] & Operation, P extends keyof Args<C[M], O>>(client: C, model: M, operation: O, prop: P): <S>(select: Exact<S, Args<C[M], O>[P]>) => S;\r\n\r\n/**\r\n * Values supported by SQL engine.\r\n */\r\nexport declare type Value = unknown;\r\n\r\nexport declare function warnEnvConflicts(envPaths: any): void;\r\n\r\nexport declare const warnOnce: (key: string, message: string, ...args: unknown[]) => void;\r\n\r\nexport { }\r\n",
12558
- "node_modules/@prisma/client/runtime/edge.d.ts": "/**\r\n * @param this\r\n */\r\ndeclare function $extends(this: Client, extension: ExtensionArgs | ((client: Client) => Client)): Client;\r\n\r\ndeclare type AccelerateEngineConfig = {\r\n inlineSchema: EngineConfig['inlineSchema'];\r\n inlineSchemaHash: EngineConfig['inlineSchemaHash'];\r\n env: EngineConfig['env'];\r\n generator?: {\r\n previewFeatures: string[];\r\n };\r\n inlineDatasources: EngineConfig['inlineDatasources'];\r\n overrideDatasources: EngineConfig['overrideDatasources'];\r\n clientVersion: EngineConfig['clientVersion'];\r\n engineVersion: EngineConfig['engineVersion'];\r\n logEmitter: EngineConfig['logEmitter'];\r\n logQueries?: EngineConfig['logQueries'];\r\n logLevel?: EngineConfig['logLevel'];\r\n tracingHelper: EngineConfig['tracingHelper'];\r\n accelerateUtils?: AccelerateUtils;\r\n};\r\n\r\ndeclare type AccelerateUtils = EngineConfig['accelerateUtils'];\r\n\r\nexport declare type Action = keyof typeof DMMF_2.ModelAction | 'executeRaw' | 'queryRaw' | 'runCommandRaw';\r\n\r\ndeclare type ActiveConnectorType = Exclude<ConnectorType, 'postgres' | 'prisma+postgres'>;\r\n\r\n/**\r\n * An interface that exposes some basic information about the\r\n * adapter like its name and provider type.\r\n */\r\ndeclare interface AdapterInfo {\r\n readonly provider: Provider;\r\n readonly adapterName: (typeof officialPrismaAdapters)[number] | (string & {});\r\n}\r\n\r\nexport declare type Aggregate = '_count' | '_max' | '_min' | '_avg' | '_sum';\r\n\r\nexport declare type AllModelsToStringIndex<TypeMap extends TypeMapDef, Args extends Record<string, any>, K extends PropertyKey> = Args extends {\r\n [P in K]: {\r\n $allModels: infer AllModels;\r\n };\r\n} ? {\r\n [P in K]: Record<TypeMap['meta']['modelProps'], AllModels>;\r\n} : {};\r\n\r\ndeclare class AnyNull extends NullTypesEnumValue {\r\n #private;\r\n}\r\n\r\nexport declare type ApplyOmit<T, OmitConfig> = Compute<{\r\n [K in keyof T as OmitValue<OmitConfig, K> extends true ? never : K]: T[K];\r\n}>;\r\n\r\nexport declare type Args<T, F extends Operation> = T extends {\r\n [K: symbol]: {\r\n types: {\r\n operations: {\r\n [K in F]: {\r\n args: any;\r\n };\r\n };\r\n };\r\n };\r\n} ? T[symbol]['types']['operations'][F]['args'] : any;\r\n\r\nexport declare type Args_3<T, F extends Operation> = Args<T, F>;\r\n\r\n/**\r\n * Original `quaint::ValueType` enum tag from Prisma's `quaint`.\r\n * Query arguments marked with this type are sanitized before being sent to the database.\r\n * Notice while a query argument may be `null`, `ArgType` is guaranteed to be defined.\r\n */\r\ndeclare type ArgType = 'Int32' | 'Int64' | 'Float' | 'Double' | 'Text' | 'Enum' | 'EnumArray' | 'Bytes' | 'Boolean' | 'Char' | 'Array' | 'Numeric' | 'Json' | 'Xml' | 'Uuid' | 'DateTime' | 'Date' | 'Time';\r\n\r\n/**\r\n * Attributes is a map from string to attribute values.\r\n *\r\n * Note: only the own enumerable keys are counted as valid attribute keys.\r\n */\r\ndeclare interface Attributes {\r\n [attributeKey: string]: AttributeValue | undefined;\r\n}\r\n\r\n/**\r\n * Attribute values may be any non-nullish primitive value except an object.\r\n *\r\n * null or undefined attribute values are invalid and will result in undefined behavior.\r\n */\r\ndeclare type AttributeValue = string | number | boolean | Array<null | undefined | string> | Array<null | undefined | number> | Array<null | undefined | boolean>;\r\n\r\nexport declare type BaseDMMF = {\r\n readonly datamodel: Omit<DMMF_2.Datamodel, 'indexes'>;\r\n};\r\n\r\ndeclare type BatchArgs = {\r\n queries: BatchQuery[];\r\n transaction?: {\r\n isolationLevel?: IsolationLevel;\r\n };\r\n};\r\n\r\ndeclare type BatchInternalParams = {\r\n requests: RequestParams[];\r\n customDataProxyFetch?: CustomDataProxyFetch;\r\n};\r\n\r\ndeclare type BatchQuery = {\r\n model: string | undefined;\r\n operation: string;\r\n args: JsArgs | RawQueryArgs;\r\n};\r\n\r\ndeclare type BatchQueryEngineResult<T> = QueryEngineResultData<T> | Error;\r\n\r\ndeclare type BatchQueryOptionsCb = (args: BatchQueryOptionsCbArgs) => Promise<any>;\r\n\r\ndeclare type BatchQueryOptionsCbArgs = {\r\n args: BatchArgs;\r\n query: (args: BatchArgs, __internalParams?: BatchInternalParams) => Promise<unknown[]>;\r\n __internalParams: BatchInternalParams;\r\n};\r\n\r\ndeclare type BatchResponse = MultiBatchResponse | CompactedBatchResponse;\r\n\r\ndeclare type BatchTransactionOptions = {\r\n isolationLevel?: IsolationLevel;\r\n};\r\n\r\ndeclare interface BinaryTargetsEnvValue {\r\n fromEnvVar: string | null;\r\n value: string;\r\n native?: boolean;\r\n}\r\n\r\nexport declare type Call<F extends Fn, P> = (F & {\r\n params: P;\r\n})['returns'];\r\n\r\ndeclare interface CallSite {\r\n getLocation(): LocationInFile | null;\r\n}\r\n\r\nexport declare type Cast<A, W> = A extends W ? A : W;\r\n\r\ndeclare type Client = ReturnType<typeof getPrismaClient> extends new () => infer T ? T : never;\r\n\r\nexport declare type ClientArg = {\r\n [MethodName in string]: unknown;\r\n};\r\n\r\nexport declare type ClientArgs = {\r\n client: ClientArg;\r\n};\r\n\r\nexport declare type ClientBuiltInProp = keyof DynamicClientExtensionThisBuiltin<never, never, never>;\r\n\r\nexport declare type ClientOptionDef = undefined | {\r\n [K in string]: any;\r\n};\r\n\r\nexport declare type ClientOtherOps = {\r\n $queryRaw<T = unknown>(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise<T>;\r\n $queryRawTyped<T>(query: TypedSql<unknown[], T>): PrismaPromise<T[]>;\r\n $queryRawUnsafe<T = unknown>(query: string, ...values: any[]): PrismaPromise<T>;\r\n $executeRaw(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise<number>;\r\n $executeRawUnsafe(query: string, ...values: any[]): PrismaPromise<number>;\r\n $runCommandRaw(command: InputJsonObject): PrismaPromise<JsonObject>;\r\n};\r\n\r\ndeclare type ColumnType = (typeof ColumnTypeEnum)[keyof typeof ColumnTypeEnum];\r\n\r\ndeclare const ColumnTypeEnum: {\r\n readonly Int32: 0;\r\n readonly Int64: 1;\r\n readonly Float: 2;\r\n readonly Double: 3;\r\n readonly Numeric: 4;\r\n readonly Boolean: 5;\r\n readonly Character: 6;\r\n readonly Text: 7;\r\n readonly Date: 8;\r\n readonly Time: 9;\r\n readonly DateTime: 10;\r\n readonly Json: 11;\r\n readonly Enum: 12;\r\n readonly Bytes: 13;\r\n readonly Set: 14;\r\n readonly Uuid: 15;\r\n readonly Int32Array: 64;\r\n readonly Int64Array: 65;\r\n readonly FloatArray: 66;\r\n readonly DoubleArray: 67;\r\n readonly NumericArray: 68;\r\n readonly BooleanArray: 69;\r\n readonly CharacterArray: 70;\r\n readonly TextArray: 71;\r\n readonly DateArray: 72;\r\n readonly TimeArray: 73;\r\n readonly DateTimeArray: 74;\r\n readonly JsonArray: 75;\r\n readonly EnumArray: 76;\r\n readonly BytesArray: 77;\r\n readonly UuidArray: 78;\r\n readonly UnknownNumber: 128;\r\n};\r\n\r\ndeclare type CompactedBatchResponse = {\r\n type: 'compacted';\r\n plan: object;\r\n arguments: Record<string, {}>[];\r\n nestedSelection: string[];\r\n keys: string[];\r\n expectNonEmpty: boolean;\r\n};\r\n\r\ndeclare type CompilerWasmLoadingConfig = {\r\n /**\r\n * WASM-bindgen runtime for corresponding module\r\n */\r\n getRuntime: () => Promise<{\r\n __wbg_set_wasm(exports: unknown): void;\r\n QueryCompiler: QueryCompilerConstructor;\r\n }>;\r\n /**\r\n * Loads the raw wasm module for the wasm compiler engine. This configuration is\r\n * generated specifically for each type of client, eg. Node.js client and Edge\r\n * clients will have different implementations.\r\n * @remarks this is a callback on purpose, we only load the wasm if needed.\r\n * @remarks only used by ClientEngine\r\n */\r\n getQueryCompilerWasmModule: () => Promise<unknown>;\r\n};\r\n\r\nexport declare type Compute<T> = T extends Function ? T : {\r\n [K in keyof T]: T[K];\r\n} & unknown;\r\n\r\nexport declare type ComputeDeep<T> = T extends Function ? T : {\r\n [K in keyof T]: ComputeDeep<T[K]>;\r\n} & unknown;\r\n\r\ndeclare type ComputedField = {\r\n name: string;\r\n needs: string[];\r\n compute: ResultArgsFieldCompute;\r\n};\r\n\r\ndeclare type ComputedFieldsMap = {\r\n [fieldName: string]: ComputedField;\r\n};\r\n\r\ndeclare type ConnectionInfo = {\r\n schemaName?: string;\r\n maxBindValues?: number;\r\n};\r\n\r\ndeclare type ConnectorType = 'mysql' | 'mongodb' | 'sqlite' | 'postgresql' | 'postgres' | 'prisma+postgres' | 'sqlserver' | 'cockroachdb';\r\n\r\ndeclare interface Context {\r\n /**\r\n * Get a value from the context.\r\n *\r\n * @param key key which identifies a context value\r\n */\r\n getValue(key: symbol): unknown;\r\n /**\r\n * Create a new context which inherits from this context and has\r\n * the given key set to the given value.\r\n *\r\n * @param key context key for which to set the value\r\n * @param value value to set for the given key\r\n */\r\n setValue(key: symbol, value: unknown): Context;\r\n /**\r\n * Return a new context which inherits from this context but does\r\n * not contain a value for the given key.\r\n *\r\n * @param key context key for which to clear a value\r\n */\r\n deleteValue(key: symbol): Context;\r\n}\r\n\r\ndeclare type Context_2<T> = T extends {\r\n [K: symbol]: {\r\n ctx: infer C;\r\n };\r\n} ? C & T & {\r\n /**\r\n * @deprecated Use `$name` instead.\r\n */\r\n name?: string;\r\n $name?: string;\r\n $parent?: unknown;\r\n} : T & {\r\n /**\r\n * @deprecated Use `$name` instead.\r\n */\r\n name?: string;\r\n $name?: string;\r\n $parent?: unknown;\r\n};\r\n\r\nexport declare type Count<O> = {\r\n [K in keyof O]: Count<number>;\r\n} & {};\r\n\r\nexport declare function createParam(name: string): Param<unknown, string>;\r\n\r\n/**\r\n * Custom fetch function for `DataProxyEngine`.\r\n *\r\n * We can't use the actual type of `globalThis.fetch` because this will result\r\n * in API Extractor referencing Node.js type definitions in the `.d.ts` bundle\r\n * for the client runtime. We can only use such types in internal types that\r\n * don't end up exported anywhere.\r\n\r\n * It's also not possible to write a definition of `fetch` that would accept the\r\n * actual `fetch` function from different environments such as Node.js and\r\n * Cloudflare Workers (with their extensions to `RequestInit` and `Response`).\r\n * `fetch` is used in both covariant and contravariant positions in\r\n * `CustomDataProxyFetch`, making it invariant, so we need the exact same type.\r\n * Even if we removed the argument and left `fetch` in covariant position only,\r\n * then for an extension-supplied function to be assignable to `customDataProxyFetch`,\r\n * the platform-specific (or custom) `fetch` function needs to be assignable\r\n * to our `fetch` definition. This, in turn, requires the third-party `Response`\r\n * to be a subtype of our `Response` (which is not a problem, we could declare\r\n * a minimal `Response` type that only includes what we use) *and* requires the\r\n * third-party `RequestInit` to be a supertype of our `RequestInit` (i.e. we\r\n * have to declare all properties any `RequestInit` implementation in existence\r\n * could possibly have), which is not possible.\r\n *\r\n * Since `@prisma/extension-accelerate` redefines the type of\r\n * `__internalParams.customDataProxyFetch` to its own type anyway (probably for\r\n * exactly this reason), our definition is never actually used and is completely\r\n * ignored, so it doesn't matter, and we can just use `unknown` as the type of\r\n * `fetch` here.\r\n */\r\ndeclare type CustomDataProxyFetch = (fetch: unknown) => unknown;\r\n\r\ndeclare class DataLoader<T = unknown> {\r\n private options;\r\n batches: {\r\n [key: string]: Job[];\r\n };\r\n private tickActive;\r\n constructor(options: DataLoaderOptions<T>);\r\n request(request: T): Promise<any>;\r\n private dispatchBatches;\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\ndeclare type DataLoaderOptions<T> = {\r\n singleLoader: (request: T) => Promise<any>;\r\n batchLoader: (request: T[]) => Promise<any[]>;\r\n batchBy: (request: T) => string | undefined;\r\n batchOrder: (requestA: T, requestB: T) => number;\r\n};\r\n\r\ndeclare type Datamodel = ReadonlyDeep_2<{\r\n models: Model[];\r\n enums: DatamodelEnum[];\r\n types: Model[];\r\n indexes: Index[];\r\n}>;\r\n\r\ndeclare type DatamodelEnum = ReadonlyDeep_2<{\r\n name: string;\r\n values: EnumValue[];\r\n dbName?: string | null;\r\n documentation?: string;\r\n}>;\r\n\r\ndeclare function datamodelEnumToSchemaEnum(datamodelEnum: DatamodelEnum): SchemaEnum;\r\n\r\ndeclare type Datasource = {\r\n url?: string;\r\n};\r\n\r\ndeclare type Datasources = {\r\n [name in string]: Datasource;\r\n};\r\n\r\ndeclare class DbNull extends NullTypesEnumValue {\r\n #private;\r\n}\r\n\r\nexport declare const Debug: typeof debugCreate & {\r\n enable(namespace: any): void;\r\n disable(): any;\r\n enabled(namespace: string): boolean;\r\n log: (...args: string[]) => void;\r\n formatters: {};\r\n};\r\n\r\n/**\r\n * Create a new debug instance with the given namespace.\r\n *\r\n * @example\r\n * ```ts\r\n * import Debug from '@prisma/debug'\r\n * const debug = Debug('prisma:client')\r\n * debug('Hello World')\r\n * ```\r\n */\r\ndeclare function debugCreate(namespace: string): ((...args: any[]) => void) & {\r\n color: string;\r\n enabled: boolean;\r\n namespace: string;\r\n log: (...args: string[]) => void;\r\n extend: () => void;\r\n};\r\n\r\nexport declare function Decimal(n: Decimal.Value): Decimal;\r\n\r\nexport declare namespace Decimal {\r\n export type Constructor = typeof Decimal;\r\n export type Instance = Decimal;\r\n export type Rounding = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;\r\n export type Modulo = Rounding | 9;\r\n export type Value = string | number | Decimal;\r\n\r\n // http://mikemcl.github.io/decimal.js/#constructor-properties\r\n export interface Config {\r\n precision?: number;\r\n rounding?: Rounding;\r\n toExpNeg?: number;\r\n toExpPos?: number;\r\n minE?: number;\r\n maxE?: number;\r\n crypto?: boolean;\r\n modulo?: Modulo;\r\n defaults?: boolean;\r\n }\r\n}\r\n\r\nexport declare class Decimal {\r\n readonly d: number[];\r\n readonly e: number;\r\n readonly s: number;\r\n\r\n constructor(n: Decimal.Value);\r\n\r\n absoluteValue(): Decimal;\r\n abs(): Decimal;\r\n\r\n ceil(): Decimal;\r\n\r\n clampedTo(min: Decimal.Value, max: Decimal.Value): Decimal;\r\n clamp(min: Decimal.Value, max: Decimal.Value): Decimal;\r\n\r\n comparedTo(n: Decimal.Value): number;\r\n cmp(n: Decimal.Value): number;\r\n\r\n cosine(): Decimal;\r\n cos(): Decimal;\r\n\r\n cubeRoot(): Decimal;\r\n cbrt(): Decimal;\r\n\r\n decimalPlaces(): number;\r\n dp(): number;\r\n\r\n dividedBy(n: Decimal.Value): Decimal;\r\n div(n: Decimal.Value): Decimal;\r\n\r\n dividedToIntegerBy(n: Decimal.Value): Decimal;\r\n divToInt(n: Decimal.Value): Decimal;\r\n\r\n equals(n: Decimal.Value): boolean;\r\n eq(n: Decimal.Value): boolean;\r\n\r\n floor(): Decimal;\r\n\r\n greaterThan(n: Decimal.Value): boolean;\r\n gt(n: Decimal.Value): boolean;\r\n\r\n greaterThanOrEqualTo(n: Decimal.Value): boolean;\r\n gte(n: Decimal.Value): boolean;\r\n\r\n hyperbolicCosine(): Decimal;\r\n cosh(): Decimal;\r\n\r\n hyperbolicSine(): Decimal;\r\n sinh(): Decimal;\r\n\r\n hyperbolicTangent(): Decimal;\r\n tanh(): Decimal;\r\n\r\n inverseCosine(): Decimal;\r\n acos(): Decimal;\r\n\r\n inverseHyperbolicCosine(): Decimal;\r\n acosh(): Decimal;\r\n\r\n inverseHyperbolicSine(): Decimal;\r\n asinh(): Decimal;\r\n\r\n inverseHyperbolicTangent(): Decimal;\r\n atanh(): Decimal;\r\n\r\n inverseSine(): Decimal;\r\n asin(): Decimal;\r\n\r\n inverseTangent(): Decimal;\r\n atan(): Decimal;\r\n\r\n isFinite(): boolean;\r\n\r\n isInteger(): boolean;\r\n isInt(): boolean;\r\n\r\n isNaN(): boolean;\r\n\r\n isNegative(): boolean;\r\n isNeg(): boolean;\r\n\r\n isPositive(): boolean;\r\n isPos(): boolean;\r\n\r\n isZero(): boolean;\r\n\r\n lessThan(n: Decimal.Value): boolean;\r\n lt(n: Decimal.Value): boolean;\r\n\r\n lessThanOrEqualTo(n: Decimal.Value): boolean;\r\n lte(n: Decimal.Value): boolean;\r\n\r\n logarithm(n?: Decimal.Value): Decimal;\r\n log(n?: Decimal.Value): Decimal;\r\n\r\n minus(n: Decimal.Value): Decimal;\r\n sub(n: Decimal.Value): Decimal;\r\n\r\n modulo(n: Decimal.Value): Decimal;\r\n mod(n: Decimal.Value): Decimal;\r\n\r\n naturalExponential(): Decimal;\r\n exp(): Decimal;\r\n\r\n naturalLogarithm(): Decimal;\r\n ln(): Decimal;\r\n\r\n negated(): Decimal;\r\n neg(): Decimal;\r\n\r\n plus(n: Decimal.Value): Decimal;\r\n add(n: Decimal.Value): Decimal;\r\n\r\n precision(includeZeros?: boolean): number;\r\n sd(includeZeros?: boolean): number;\r\n\r\n round(): Decimal;\r\n\r\n sine() : Decimal;\r\n sin() : Decimal;\r\n\r\n squareRoot(): Decimal;\r\n sqrt(): Decimal;\r\n\r\n tangent() : Decimal;\r\n tan() : Decimal;\r\n\r\n times(n: Decimal.Value): Decimal;\r\n mul(n: Decimal.Value) : Decimal;\r\n\r\n toBinary(significantDigits?: number): string;\r\n toBinary(significantDigits: number, rounding: Decimal.Rounding): string;\r\n\r\n toDecimalPlaces(decimalPlaces?: number): Decimal;\r\n toDecimalPlaces(decimalPlaces: number, rounding: Decimal.Rounding): Decimal;\r\n toDP(decimalPlaces?: number): Decimal;\r\n toDP(decimalPlaces: number, rounding: Decimal.Rounding): Decimal;\r\n\r\n toExponential(decimalPlaces?: number): string;\r\n toExponential(decimalPlaces: number, rounding: Decimal.Rounding): string;\r\n\r\n toFixed(decimalPlaces?: number): string;\r\n toFixed(decimalPlaces: number, rounding: Decimal.Rounding): string;\r\n\r\n toFraction(max_denominator?: Decimal.Value): Decimal[];\r\n\r\n toHexadecimal(significantDigits?: number): string;\r\n toHexadecimal(significantDigits: number, rounding: Decimal.Rounding): string;\r\n toHex(significantDigits?: number): string;\r\n toHex(significantDigits: number, rounding?: Decimal.Rounding): string;\r\n\r\n toJSON(): string;\r\n\r\n toNearest(n: Decimal.Value, rounding?: Decimal.Rounding): Decimal;\r\n\r\n toNumber(): number;\r\n\r\n toOctal(significantDigits?: number): string;\r\n toOctal(significantDigits: number, rounding: Decimal.Rounding): string;\r\n\r\n toPower(n: Decimal.Value): Decimal;\r\n pow(n: Decimal.Value): Decimal;\r\n\r\n toPrecision(significantDigits?: number): string;\r\n toPrecision(significantDigits: number, rounding: Decimal.Rounding): string;\r\n\r\n toSignificantDigits(significantDigits?: number): Decimal;\r\n toSignificantDigits(significantDigits: number, rounding: Decimal.Rounding): Decimal;\r\n toSD(significantDigits?: number): Decimal;\r\n toSD(significantDigits: number, rounding: Decimal.Rounding): Decimal;\r\n\r\n toString(): string;\r\n\r\n truncated(): Decimal;\r\n trunc(): Decimal;\r\n\r\n valueOf(): string;\r\n\r\n static abs(n: Decimal.Value): Decimal;\r\n static acos(n: Decimal.Value): Decimal;\r\n static acosh(n: Decimal.Value): Decimal;\r\n static add(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static asin(n: Decimal.Value): Decimal;\r\n static asinh(n: Decimal.Value): Decimal;\r\n static atan(n: Decimal.Value): Decimal;\r\n static atanh(n: Decimal.Value): Decimal;\r\n static atan2(y: Decimal.Value, x: Decimal.Value): Decimal;\r\n static cbrt(n: Decimal.Value): Decimal;\r\n static ceil(n: Decimal.Value): Decimal;\r\n static clamp(n: Decimal.Value, min: Decimal.Value, max: Decimal.Value): Decimal;\r\n static clone(object?: Decimal.Config): Decimal.Constructor;\r\n static config(object: Decimal.Config): Decimal.Constructor;\r\n static cos(n: Decimal.Value): Decimal;\r\n static cosh(n: Decimal.Value): Decimal;\r\n static div(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static exp(n: Decimal.Value): Decimal;\r\n static floor(n: Decimal.Value): Decimal;\r\n static hypot(...n: Decimal.Value[]): Decimal;\r\n static isDecimal(object: any): object is Decimal;\r\n static ln(n: Decimal.Value): Decimal;\r\n static log(n: Decimal.Value, base?: Decimal.Value): Decimal;\r\n static log2(n: Decimal.Value): Decimal;\r\n static log10(n: Decimal.Value): Decimal;\r\n static max(...n: Decimal.Value[]): Decimal;\r\n static min(...n: Decimal.Value[]): Decimal;\r\n static mod(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static mul(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static noConflict(): Decimal.Constructor; // Browser only\r\n static pow(base: Decimal.Value, exponent: Decimal.Value): Decimal;\r\n static random(significantDigits?: number): Decimal;\r\n static round(n: Decimal.Value): Decimal;\r\n static set(object: Decimal.Config): Decimal.Constructor;\r\n static sign(n: Decimal.Value): number;\r\n static sin(n: Decimal.Value): Decimal;\r\n static sinh(n: Decimal.Value): Decimal;\r\n static sqrt(n: Decimal.Value): Decimal;\r\n static sub(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static sum(...n: Decimal.Value[]): Decimal;\r\n static tan(n: Decimal.Value): Decimal;\r\n static tanh(n: Decimal.Value): Decimal;\r\n static trunc(n: Decimal.Value): Decimal;\r\n\r\n static readonly default?: Decimal.Constructor;\r\n static readonly Decimal?: Decimal.Constructor;\r\n\r\n static readonly precision: number;\r\n static readonly rounding: Decimal.Rounding;\r\n static readonly toExpNeg: number;\r\n static readonly toExpPos: number;\r\n static readonly minE: number;\r\n static readonly maxE: number;\r\n static readonly crypto: boolean;\r\n static readonly modulo: Decimal.Modulo;\r\n\r\n static readonly ROUND_UP: 0;\r\n static readonly ROUND_DOWN: 1;\r\n static readonly ROUND_CEIL: 2;\r\n static readonly ROUND_FLOOR: 3;\r\n static readonly ROUND_HALF_UP: 4;\r\n static readonly ROUND_HALF_DOWN: 5;\r\n static readonly ROUND_HALF_EVEN: 6;\r\n static readonly ROUND_HALF_CEIL: 7;\r\n static readonly ROUND_HALF_FLOOR: 8;\r\n static readonly EUCLID: 9;\r\n}\r\n\r\n/**\r\n * Interface for any Decimal.js-like library\r\n * Allows us to accept Decimal.js from different\r\n * versions and some compatible alternatives\r\n */\r\nexport declare interface DecimalJsLike {\r\n d: number[];\r\n e: number;\r\n s: number;\r\n toFixed(): string;\r\n}\r\n\r\nexport declare type DefaultArgs = InternalArgs<{}, {}, {}, {}>;\r\n\r\nexport declare type DefaultSelection<Payload extends OperationPayload, Args = {}, GlobalOmitOptions = {}> = Args extends {\r\n omit: infer LocalOmit;\r\n} ? ApplyOmit<UnwrapPayload<{\r\n default: Payload;\r\n}>['default'], PatchFlat<LocalOmit, ExtractGlobalOmit<GlobalOmitOptions, Uncapitalize<Payload['name']>>>> : ApplyOmit<UnwrapPayload<{\r\n default: Payload;\r\n}>['default'], ExtractGlobalOmit<GlobalOmitOptions, Uncapitalize<Payload['name']>>>;\r\n\r\nexport declare function defineDmmfProperty(target: object, runtimeDataModel: RuntimeDataModel): void;\r\n\r\ndeclare function defineExtension(ext: ExtensionArgs | ((client: Client) => Client)): (client: Client) => Client;\r\n\r\ndeclare const denylist: readonly [\"$connect\", \"$disconnect\", \"$on\", \"$transaction\", \"$use\", \"$extends\"];\r\n\r\ndeclare type Deprecation = ReadonlyDeep_2<{\r\n sinceVersion: string;\r\n reason: string;\r\n plannedRemovalVersion?: string;\r\n}>;\r\n\r\ndeclare type DeserializedResponse = Array<Record<string, unknown>>;\r\n\r\nexport declare function deserializeJsonResponse(result: unknown): unknown;\r\n\r\nexport declare function deserializeRawResult(response: RawResponse): DeserializedResponse;\r\n\r\nexport declare type DevTypeMapDef = {\r\n meta: {\r\n modelProps: string;\r\n };\r\n model: {\r\n [Model in PropertyKey]: {\r\n [Operation in PropertyKey]: DevTypeMapFnDef;\r\n };\r\n };\r\n other: {\r\n [Operation in PropertyKey]: DevTypeMapFnDef;\r\n };\r\n};\r\n\r\nexport declare type DevTypeMapFnDef = {\r\n args: any;\r\n result: any;\r\n payload: OperationPayload;\r\n};\r\n\r\nexport declare namespace DMMF {\r\n export {\r\n datamodelEnumToSchemaEnum,\r\n Document_2 as Document,\r\n Mappings,\r\n OtherOperationMappings,\r\n DatamodelEnum,\r\n SchemaEnum,\r\n EnumValue,\r\n Datamodel,\r\n uniqueIndex,\r\n PrimaryKey,\r\n Model,\r\n FieldKind,\r\n FieldNamespace,\r\n FieldLocation,\r\n Field,\r\n FieldDefault,\r\n FieldDefaultScalar,\r\n Index,\r\n IndexType,\r\n IndexField,\r\n SortOrder,\r\n Schema,\r\n Query,\r\n QueryOutput,\r\n TypeRef,\r\n InputTypeRef,\r\n SchemaArg,\r\n OutputType,\r\n SchemaField,\r\n OutputTypeRef,\r\n Deprecation,\r\n InputType,\r\n FieldRefType,\r\n FieldRefAllowType,\r\n ModelMapping,\r\n ModelAction\r\n }\r\n}\r\n\r\ndeclare namespace DMMF_2 {\r\n export {\r\n datamodelEnumToSchemaEnum,\r\n Document_2 as Document,\r\n Mappings,\r\n OtherOperationMappings,\r\n DatamodelEnum,\r\n SchemaEnum,\r\n EnumValue,\r\n Datamodel,\r\n uniqueIndex,\r\n PrimaryKey,\r\n Model,\r\n FieldKind,\r\n FieldNamespace,\r\n FieldLocation,\r\n Field,\r\n FieldDefault,\r\n FieldDefaultScalar,\r\n Index,\r\n IndexType,\r\n IndexField,\r\n SortOrder,\r\n Schema,\r\n Query,\r\n QueryOutput,\r\n TypeRef,\r\n InputTypeRef,\r\n SchemaArg,\r\n OutputType,\r\n SchemaField,\r\n OutputTypeRef,\r\n Deprecation,\r\n InputType,\r\n FieldRefType,\r\n FieldRefAllowType,\r\n ModelMapping,\r\n ModelAction\r\n }\r\n}\r\n\r\nexport declare function dmmfToRuntimeDataModel(dmmfDataModel: DMMF_2.Datamodel): RuntimeDataModel;\r\n\r\ndeclare type Document_2 = ReadonlyDeep_2<{\r\n datamodel: Datamodel;\r\n schema: Schema;\r\n mappings: Mappings;\r\n}>;\r\n\r\n/**\r\n * A generic driver adapter factory that allows the user to instantiate a\r\n * driver adapter. The query and result types are specific to the adapter.\r\n */\r\ndeclare interface DriverAdapterFactory<Query, Result> extends AdapterInfo {\r\n /**\r\n * Instantiate a driver adapter.\r\n */\r\n connect(): Promise<Queryable<Query, Result>>;\r\n}\r\n\r\n/** Client */\r\nexport declare type DynamicClientExtensionArgs<C_, TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {\r\n [P in keyof C_]: unknown;\r\n} & {\r\n [K: symbol]: {\r\n ctx: Optional<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList> & {\r\n $parent: Optional<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList>;\r\n };\r\n };\r\n};\r\n\r\nexport declare type DynamicClientExtensionThis<TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {\r\n [P in keyof ExtArgs['client']]: Return<ExtArgs['client'][P]>;\r\n} & {\r\n [P in Exclude<TypeMap['meta']['modelProps'], keyof ExtArgs['client']>]: DynamicModelExtensionThis<TypeMap, ModelKey<TypeMap, P>, ExtArgs>;\r\n} & {\r\n [P in Exclude<keyof TypeMap['other']['operations'], keyof ExtArgs['client']>]: P extends keyof ClientOtherOps ? ClientOtherOps[P] : never;\r\n} & {\r\n [P in Exclude<ClientBuiltInProp, keyof ExtArgs['client']>]: DynamicClientExtensionThisBuiltin<TypeMap, TypeMapCb, ExtArgs>[P];\r\n} & {\r\n [K: symbol]: {\r\n types: TypeMap['other'];\r\n };\r\n};\r\n\r\nexport declare type DynamicClientExtensionThisBuiltin<TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {\r\n $extends: ExtendsHook<'extends', TypeMapCb, ExtArgs, Call<TypeMapCb, {\r\n extArgs: ExtArgs;\r\n }>>;\r\n $transaction<P extends PrismaPromise<any>[]>(arg: [...P], options?: {\r\n isolationLevel?: TypeMap['meta']['txIsolationLevel'];\r\n }): Promise<UnwrapTuple<P>>;\r\n $transaction<R>(fn: (client: Omit<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList>) => Promise<R>, options?: {\r\n maxWait?: number;\r\n timeout?: number;\r\n isolationLevel?: TypeMap['meta']['txIsolationLevel'];\r\n }): Promise<R>;\r\n $disconnect(): Promise<void>;\r\n $connect(): Promise<void>;\r\n};\r\n\r\n/** Model */\r\nexport declare type DynamicModelExtensionArgs<M_, TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {\r\n [K in keyof M_]: K extends '$allModels' ? {\r\n [P in keyof M_[K]]?: unknown;\r\n } & {\r\n [K: symbol]: {};\r\n } : K extends TypeMap['meta']['modelProps'] ? {\r\n [P in keyof M_[K]]?: unknown;\r\n } & {\r\n [K: symbol]: {\r\n ctx: DynamicModelExtensionThis<TypeMap, ModelKey<TypeMap, K>, ExtArgs> & {\r\n $parent: DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>;\r\n } & {\r\n $name: ModelKey<TypeMap, K>;\r\n } & {\r\n /**\r\n * @deprecated Use `$name` instead.\r\n */\r\n name: ModelKey<TypeMap, K>;\r\n };\r\n };\r\n } : never;\r\n};\r\n\r\nexport declare type DynamicModelExtensionFluentApi<TypeMap extends TypeMapDef, M extends PropertyKey, P extends PropertyKey, Null> = {\r\n [K in keyof TypeMap['model'][M]['payload']['objects']]: <A>(args?: Exact<A, Path<TypeMap['model'][M]['operations'][P]['args']['select'], [K]>>) => PrismaPromise<Path<DynamicModelExtensionFnResultBase<TypeMap, M, {\r\n select: {\r\n [P in K]: A;\r\n };\r\n }, P>, [K]> | Null> & DynamicModelExtensionFluentApi<TypeMap, (TypeMap['model'][M]['payload']['objects'][K] & {})['name'], P, Null | Select<TypeMap['model'][M]['payload']['objects'][K], null>>;\r\n};\r\n\r\nexport declare type DynamicModelExtensionFnResult<TypeMap extends TypeMapDef, M extends PropertyKey, A, P extends PropertyKey, Null> = P extends FluentOperation ? DynamicModelExtensionFluentApi<TypeMap, M, P, Null> & PrismaPromise<DynamicModelExtensionFnResultBase<TypeMap, M, A, P> | Null> : PrismaPromise<DynamicModelExtensionFnResultBase<TypeMap, M, A, P>>;\r\n\r\nexport declare type DynamicModelExtensionFnResultBase<TypeMap extends TypeMapDef, M extends PropertyKey, A, P extends PropertyKey> = GetResult<TypeMap['model'][M]['payload'], A, P & Operation, TypeMap['globalOmitOptions']>;\r\n\r\nexport declare type DynamicModelExtensionFnResultNull<P extends PropertyKey> = P extends 'findUnique' | 'findFirst' ? null : never;\r\n\r\nexport declare type DynamicModelExtensionOperationFn<TypeMap extends TypeMapDef, M extends PropertyKey, P extends PropertyKey> = {} extends TypeMap['model'][M]['operations'][P]['args'] ? <A extends TypeMap['model'][M]['operations'][P]['args']>(args?: Exact<A, TypeMap['model'][M]['operations'][P]['args']>) => DynamicModelExtensionFnResult<TypeMap, M, A, P, DynamicModelExtensionFnResultNull<P>> : <A extends TypeMap['model'][M]['operations'][P]['args']>(args: Exact<A, TypeMap['model'][M]['operations'][P]['args']>) => DynamicModelExtensionFnResult<TypeMap, M, A, P, DynamicModelExtensionFnResultNull<P>>;\r\n\r\nexport declare type DynamicModelExtensionThis<TypeMap extends TypeMapDef, M extends PropertyKey, ExtArgs extends Record<string, any>> = {\r\n [P in keyof ExtArgs['model'][Uncapitalize<M & string>]]: Return<ExtArgs['model'][Uncapitalize<M & string>][P]>;\r\n} & {\r\n [P in Exclude<keyof TypeMap['model'][M]['operations'], keyof ExtArgs['model'][Uncapitalize<M & string>]>]: DynamicModelExtensionOperationFn<TypeMap, M, P>;\r\n} & {\r\n [P in Exclude<'fields', keyof ExtArgs['model'][Uncapitalize<M & string>]>]: TypeMap['model'][M]['fields'];\r\n} & {\r\n [K: symbol]: {\r\n types: TypeMap['model'][M];\r\n };\r\n};\r\n\r\n/** Query */\r\nexport declare type DynamicQueryExtensionArgs<Q_, TypeMap extends TypeMapDef> = {\r\n [K in keyof Q_]: K extends '$allOperations' ? (args: {\r\n model?: string;\r\n operation: string;\r\n args: any;\r\n query: (args: any) => PrismaPromise<any>;\r\n }) => Promise<any> : K extends '$allModels' ? {\r\n [P in keyof Q_[K] | keyof TypeMap['model'][keyof TypeMap['model']]['operations'] | '$allOperations']?: P extends '$allOperations' ? DynamicQueryExtensionCb<TypeMap, 'model', keyof TypeMap['model'], keyof TypeMap['model'][keyof TypeMap['model']]['operations']> : P extends keyof TypeMap['model'][keyof TypeMap['model']]['operations'] ? DynamicQueryExtensionCb<TypeMap, 'model', keyof TypeMap['model'], P> : never;\r\n } : K extends TypeMap['meta']['modelProps'] ? {\r\n [P in keyof Q_[K] | keyof TypeMap['model'][ModelKey<TypeMap, K>]['operations'] | '$allOperations']?: P extends '$allOperations' ? DynamicQueryExtensionCb<TypeMap, 'model', ModelKey<TypeMap, K>, keyof TypeMap['model'][ModelKey<TypeMap, K>]['operations']> : P extends keyof TypeMap['model'][ModelKey<TypeMap, K>]['operations'] ? DynamicQueryExtensionCb<TypeMap, 'model', ModelKey<TypeMap, K>, P> : never;\r\n } : K extends keyof TypeMap['other']['operations'] ? DynamicQueryExtensionCb<[TypeMap], 0, 'other', K> : never;\r\n};\r\n\r\nexport declare type DynamicQueryExtensionCb<TypeMap extends TypeMapDef, _0 extends PropertyKey, _1 extends PropertyKey, _2 extends PropertyKey> = <A extends DynamicQueryExtensionCbArgs<TypeMap, _0, _1, _2>>(args: A) => Promise<TypeMap[_0][_1][_2]['result']>;\r\n\r\nexport declare type DynamicQueryExtensionCbArgs<TypeMap extends TypeMapDef, _0 extends PropertyKey, _1 extends PropertyKey, _2 extends PropertyKey> = (_1 extends unknown ? _2 extends unknown ? {\r\n args: DynamicQueryExtensionCbArgsArgs<TypeMap, _0, _1, _2>;\r\n model: _0 extends 0 ? undefined : _1;\r\n operation: _2;\r\n query: <A extends DynamicQueryExtensionCbArgsArgs<TypeMap, _0, _1, _2>>(args: A) => PrismaPromise<TypeMap[_0][_1]['operations'][_2]['result']>;\r\n} : never : never) & {\r\n query: (args: DynamicQueryExtensionCbArgsArgs<TypeMap, _0, _1, _2>) => PrismaPromise<TypeMap[_0][_1]['operations'][_2]['result']>;\r\n};\r\n\r\nexport declare type DynamicQueryExtensionCbArgsArgs<TypeMap extends TypeMapDef, _0 extends PropertyKey, _1 extends PropertyKey, _2 extends PropertyKey> = _2 extends '$queryRaw' | '$executeRaw' ? Sql : TypeMap[_0][_1]['operations'][_2]['args'];\r\n\r\n/** Result */\r\nexport declare type DynamicResultExtensionArgs<R_, TypeMap extends TypeMapDef> = {\r\n [K in keyof R_]: {\r\n [P in keyof R_[K]]?: {\r\n needs?: DynamicResultExtensionNeeds<TypeMap, ModelKey<TypeMap, K>, R_[K][P]>;\r\n compute(data: DynamicResultExtensionData<TypeMap, ModelKey<TypeMap, K>, R_[K][P]>): any;\r\n };\r\n };\r\n};\r\n\r\nexport declare type DynamicResultExtensionData<TypeMap extends TypeMapDef, M extends PropertyKey, S> = GetFindResult<TypeMap['model'][M]['payload'], {\r\n select: S;\r\n}, {}>;\r\n\r\nexport declare type DynamicResultExtensionNeeds<TypeMap extends TypeMapDef, M extends PropertyKey, S> = {\r\n [K in keyof S]: K extends keyof TypeMap['model'][M]['payload']['scalars'] ? S[K] : never;\r\n} & {\r\n [N in keyof TypeMap['model'][M]['payload']['scalars']]?: boolean;\r\n};\r\n\r\n/**\r\n * Placeholder value for \"no text\".\r\n */\r\nexport declare const empty: Sql;\r\n\r\nexport declare type EmptyToUnknown<T> = T;\r\n\r\ndeclare interface Engine<InteractiveTransactionPayload = unknown> {\r\n /** The name of the engine. This is meant to be consumed externally */\r\n readonly name: string;\r\n onBeforeExit(callback: () => Promise<void>): void;\r\n start(): Promise<void>;\r\n stop(): Promise<void>;\r\n version(forceRun?: boolean): Promise<string> | string;\r\n request<T>(query: JsonQuery, options: RequestOptions<InteractiveTransactionPayload>): Promise<QueryEngineResultData<T>>;\r\n requestBatch<T>(queries: JsonQuery[], options: RequestBatchOptions<InteractiveTransactionPayload>): Promise<BatchQueryEngineResult<T>[]>;\r\n transaction(action: 'start', headers: Transaction_2.TransactionHeaders, options: Transaction_2.Options): Promise<Transaction_2.InteractiveTransactionInfo<unknown>>;\r\n transaction(action: 'commit', headers: Transaction_2.TransactionHeaders, info: Transaction_2.InteractiveTransactionInfo<unknown>): Promise<void>;\r\n transaction(action: 'rollback', headers: Transaction_2.TransactionHeaders, info: Transaction_2.InteractiveTransactionInfo<unknown>): Promise<void>;\r\n metrics(options: MetricsOptionsJson): Promise<Metrics>;\r\n metrics(options: MetricsOptionsPrometheus): Promise<string>;\r\n applyPendingMigrations(): Promise<void>;\r\n}\r\n\r\ndeclare interface EngineConfig {\r\n cwd: string;\r\n dirname: string;\r\n enableDebugLogs?: boolean;\r\n allowTriggerPanic?: boolean;\r\n prismaPath?: string;\r\n generator?: GeneratorConfig;\r\n /**\r\n * @remarks this field is used internally by Policy, do not rename or remove\r\n */\r\n overrideDatasources: Datasources;\r\n showColors?: boolean;\r\n logQueries?: boolean;\r\n logLevel?: 'info' | 'warn';\r\n env: Record<string, string>;\r\n flags?: string[];\r\n clientVersion: string;\r\n engineVersion: string;\r\n previewFeatures?: string[];\r\n engineEndpoint?: string;\r\n activeProvider?: string;\r\n logEmitter: LogEmitter;\r\n transactionOptions: Transaction_2.Options;\r\n /**\r\n * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-planetscale`.\r\n * If set, this is only used in the library engine, and all queries would be performed through it,\r\n * rather than Prisma's Rust drivers.\r\n * @remarks only used by LibraryEngine.ts\r\n */\r\n adapter?: SqlDriverAdapterFactory;\r\n /**\r\n * The contents of the schema encoded into a string\r\n */\r\n inlineSchema: string;\r\n /**\r\n * The contents of the datasource url saved in a string\r\n * @remarks only used by DataProxyEngine.ts\r\n * @remarks this field is used internally by Policy, do not rename or remove\r\n */\r\n inlineDatasources: GetPrismaClientConfig['inlineDatasources'];\r\n /**\r\n * The string hash that was produced for a given schema\r\n * @remarks only used by DataProxyEngine.ts\r\n */\r\n inlineSchemaHash: string;\r\n /**\r\n * The helper for interaction with OTEL tracing\r\n * @remarks enabling is determined by the client and @prisma/instrumentation package\r\n */\r\n tracingHelper: TracingHelper;\r\n /**\r\n * Information about whether we have not found a schema.prisma file in the\r\n * default location, and that we fell back to finding the schema.prisma file\r\n * in the current working directory. This usually means it has been bundled.\r\n */\r\n isBundled?: boolean;\r\n /**\r\n * Web Assembly module loading configuration\r\n */\r\n engineWasm?: EngineWasmLoadingConfig;\r\n compilerWasm?: CompilerWasmLoadingConfig;\r\n /**\r\n * Allows Accelerate to use runtime utilities from the client. These are\r\n * necessary for the AccelerateEngine to function correctly.\r\n */\r\n accelerateUtils?: {\r\n resolveDatasourceUrl: typeof resolveDatasourceUrl;\r\n getBatchRequestPayload: typeof getBatchRequestPayload;\r\n prismaGraphQLToJSError: typeof prismaGraphQLToJSError;\r\n PrismaClientUnknownRequestError: typeof PrismaClientUnknownRequestError;\r\n PrismaClientInitializationError: typeof PrismaClientInitializationError;\r\n PrismaClientKnownRequestError: typeof PrismaClientKnownRequestError;\r\n debug: (...args: any[]) => void;\r\n engineVersion: string;\r\n clientVersion: string;\r\n };\r\n}\r\n\r\ndeclare type EngineEvent<E extends EngineEventType> = E extends QueryEventType ? QueryEvent : LogEvent;\r\n\r\ndeclare type EngineEventType = QueryEventType | LogEventType;\r\n\r\ndeclare type EngineSpan = {\r\n id: EngineSpanId;\r\n parentId: string | null;\r\n name: string;\r\n startTime: HrTime;\r\n endTime: HrTime;\r\n kind: EngineSpanKind;\r\n attributes?: Record<string, unknown>;\r\n links?: EngineSpanId[];\r\n};\r\n\r\ndeclare type EngineSpanId = string;\r\n\r\ndeclare type EngineSpanKind = 'client' | 'internal';\r\n\r\ndeclare type EngineWasmLoadingConfig = {\r\n /**\r\n * WASM-bindgen runtime for corresponding module\r\n */\r\n getRuntime: () => Promise<{\r\n __wbg_set_wasm(exports: unknown): void;\r\n QueryEngine: QueryEngineConstructor;\r\n }>;\r\n /**\r\n * Loads the raw wasm module for the wasm query engine. This configuration is\r\n * generated specifically for each type of client, eg. Node.js client and Edge\r\n * clients will have different implementations.\r\n * @remarks this is a callback on purpose, we only load the wasm if needed.\r\n * @remarks only used by LibraryEngine\r\n */\r\n getQueryEngineWasmModule: () => Promise<unknown>;\r\n};\r\n\r\ndeclare type EnumValue = ReadonlyDeep_2<{\r\n name: string;\r\n dbName: string | null;\r\n}>;\r\n\r\ndeclare type EnvPaths = {\r\n rootEnvPath: string | null;\r\n schemaEnvPath: string | undefined;\r\n};\r\n\r\ndeclare interface EnvValue {\r\n fromEnvVar: null | string;\r\n value: null | string;\r\n}\r\n\r\nexport declare type Equals<A, B> = (<T>() => T extends A ? 1 : 2) extends (<T>() => T extends B ? 1 : 2) ? 1 : 0;\r\n\r\ndeclare type Error_2 = {\r\n kind: 'GenericJs';\r\n id: number;\r\n} | {\r\n kind: 'UnsupportedNativeDataType';\r\n type: string;\r\n} | {\r\n kind: 'InvalidIsolationLevel';\r\n level: string;\r\n} | {\r\n kind: 'LengthMismatch';\r\n column?: string;\r\n} | {\r\n kind: 'UniqueConstraintViolation';\r\n fields: string[];\r\n} | {\r\n kind: 'NullConstraintViolation';\r\n fields: string[];\r\n} | {\r\n kind: 'ForeignKeyConstraintViolation';\r\n constraint?: {\r\n fields: string[];\r\n } | {\r\n index: string;\r\n } | {\r\n foreignKey: {};\r\n };\r\n} | {\r\n kind: 'DatabaseDoesNotExist';\r\n db?: string;\r\n} | {\r\n kind: 'DatabaseAlreadyExists';\r\n db?: string;\r\n} | {\r\n kind: 'DatabaseAccessDenied';\r\n db?: string;\r\n} | {\r\n kind: 'AuthenticationFailed';\r\n user?: string;\r\n} | {\r\n kind: 'TransactionWriteConflict';\r\n} | {\r\n kind: 'TableDoesNotExist';\r\n table?: string;\r\n} | {\r\n kind: 'ColumnNotFound';\r\n column?: string;\r\n} | {\r\n kind: 'TooManyConnections';\r\n cause: string;\r\n} | {\r\n kind: 'SocketTimeout';\r\n} | {\r\n kind: 'postgres';\r\n code: string;\r\n severity: string;\r\n message: string;\r\n detail: string | undefined;\r\n column: string | undefined;\r\n hint: string | undefined;\r\n} | {\r\n kind: 'mysql';\r\n code: number;\r\n message: string;\r\n state: string;\r\n} | {\r\n kind: 'sqlite';\r\n /**\r\n * Sqlite extended error code: https://www.sqlite.org/rescode.html\r\n */\r\n extendedCode: number;\r\n message: string;\r\n};\r\n\r\ndeclare type ErrorCapturingFunction<T> = T extends (...args: infer A) => Promise<infer R> ? (...args: A) => Promise<Result_4<ErrorCapturingInterface<R>>> : T extends (...args: infer A) => infer R ? (...args: A) => Result_4<ErrorCapturingInterface<R>> : T;\r\n\r\ndeclare type ErrorCapturingInterface<T> = {\r\n [K in keyof T]: ErrorCapturingFunction<T[K]>;\r\n};\r\n\r\ndeclare interface ErrorCapturingSqlDriverAdapter extends ErrorCapturingInterface<SqlDriverAdapter> {\r\n readonly errorRegistry: ErrorRegistry;\r\n}\r\n\r\ndeclare type ErrorFormat = 'pretty' | 'colorless' | 'minimal';\r\n\r\ndeclare type ErrorRecord = {\r\n error: unknown;\r\n};\r\n\r\ndeclare interface ErrorRegistry {\r\n consumeError(id: number): ErrorRecord | undefined;\r\n}\r\n\r\ndeclare interface ErrorWithBatchIndex {\r\n batchRequestIdx?: number;\r\n}\r\n\r\ndeclare type EventCallback<E extends ExtendedEventType> = [E] extends ['beforeExit'] ? () => Promise<void> : [E] extends [LogLevel] ? (event: EngineEvent<E>) => void : never;\r\n\r\nexport declare type Exact<A, W> = (A extends unknown ? (W extends A ? {\r\n [K in keyof A]: Exact<A[K], W[K]>;\r\n} : W) : never) | (A extends Narrowable ? A : never);\r\n\r\n/**\r\n * Defines Exception.\r\n *\r\n * string or an object with one of (message or name or code) and optional stack\r\n */\r\ndeclare type Exception = ExceptionWithCode | ExceptionWithMessage | ExceptionWithName | string;\r\n\r\ndeclare interface ExceptionWithCode {\r\n code: string | number;\r\n name?: string;\r\n message?: string;\r\n stack?: string;\r\n}\r\n\r\ndeclare interface ExceptionWithMessage {\r\n code?: string | number;\r\n message: string;\r\n name?: string;\r\n stack?: string;\r\n}\r\n\r\ndeclare interface ExceptionWithName {\r\n code?: string | number;\r\n message?: string;\r\n name: string;\r\n stack?: string;\r\n}\r\n\r\ndeclare type ExtendedEventType = LogLevel | 'beforeExit';\r\n\r\ndeclare type ExtendedSpanOptions = SpanOptions & {\r\n /** The name of the span */\r\n name: string;\r\n internal?: boolean;\r\n middleware?: boolean;\r\n /** Whether it propagates context (?=true) */\r\n active?: boolean;\r\n /** The context to append the span to */\r\n context?: Context;\r\n};\r\n\r\n/** $extends, defineExtension */\r\nexport declare interface ExtendsHook<Variant extends 'extends' | 'define', TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>, TypeMap extends TypeMapDef = Call<TypeMapCb, {\r\n extArgs: ExtArgs;\r\n}>> {\r\n extArgs: ExtArgs;\r\n <R_ extends {\r\n [K in TypeMap['meta']['modelProps'] | '$allModels']?: unknown;\r\n }, R, M_ extends {\r\n [K in TypeMap['meta']['modelProps'] | '$allModels']?: unknown;\r\n }, M, Q_ extends {\r\n [K in TypeMap['meta']['modelProps'] | '$allModels' | keyof TypeMap['other']['operations'] | '$allOperations']?: unknown;\r\n }, C_ extends {\r\n [K in string]?: unknown;\r\n }, C, Args extends InternalArgs = InternalArgs<R, M, {}, C>, MergedArgs extends InternalArgs = MergeExtArgs<TypeMap, ExtArgs, Args>>(extension: ((client: DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>) => {\r\n $extends: {\r\n extArgs: Args;\r\n };\r\n }) | {\r\n name?: string;\r\n query?: DynamicQueryExtensionArgs<Q_, TypeMap>;\r\n result?: DynamicResultExtensionArgs<R_, TypeMap> & R;\r\n model?: DynamicModelExtensionArgs<M_, TypeMap, TypeMapCb, ExtArgs> & M;\r\n client?: DynamicClientExtensionArgs<C_, TypeMap, TypeMapCb, ExtArgs> & C;\r\n }): {\r\n extends: DynamicClientExtensionThis<Call<TypeMapCb, {\r\n extArgs: MergedArgs;\r\n }>, TypeMapCb, MergedArgs>;\r\n define: (client: any) => {\r\n $extends: {\r\n extArgs: Args;\r\n };\r\n };\r\n }[Variant];\r\n}\r\n\r\nexport declare type ExtensionArgs = Optional<RequiredExtensionArgs>;\r\n\r\ndeclare namespace Extensions {\r\n export {\r\n defineExtension,\r\n getExtensionContext\r\n }\r\n}\r\nexport { Extensions }\r\n\r\ndeclare namespace Extensions_2 {\r\n export {\r\n InternalArgs,\r\n DefaultArgs,\r\n GetPayloadResultExtensionKeys,\r\n GetPayloadResultExtensionObject,\r\n GetPayloadResult,\r\n GetSelect,\r\n GetOmit,\r\n DynamicQueryExtensionArgs,\r\n DynamicQueryExtensionCb,\r\n DynamicQueryExtensionCbArgs,\r\n DynamicQueryExtensionCbArgsArgs,\r\n DynamicResultExtensionArgs,\r\n DynamicResultExtensionNeeds,\r\n DynamicResultExtensionData,\r\n DynamicModelExtensionArgs,\r\n DynamicModelExtensionThis,\r\n DynamicModelExtensionOperationFn,\r\n DynamicModelExtensionFnResult,\r\n DynamicModelExtensionFnResultBase,\r\n DynamicModelExtensionFluentApi,\r\n DynamicModelExtensionFnResultNull,\r\n DynamicClientExtensionArgs,\r\n DynamicClientExtensionThis,\r\n ClientBuiltInProp,\r\n DynamicClientExtensionThisBuiltin,\r\n ExtendsHook,\r\n MergeExtArgs,\r\n AllModelsToStringIndex,\r\n TypeMapDef,\r\n DevTypeMapDef,\r\n DevTypeMapFnDef,\r\n ClientOptionDef,\r\n ClientOtherOps,\r\n TypeMapCbDef,\r\n ModelKey,\r\n RequiredExtensionArgs as UserArgs\r\n }\r\n}\r\n\r\nexport declare type ExtractGlobalOmit<Options, ModelName extends string> = Options extends {\r\n omit: {\r\n [K in ModelName]: infer GlobalOmit;\r\n };\r\n} ? GlobalOmit : {};\r\n\r\ndeclare type Field = ReadonlyDeep_2<{\r\n kind: FieldKind;\r\n name: string;\r\n isRequired: boolean;\r\n isList: boolean;\r\n isUnique: boolean;\r\n isId: boolean;\r\n isReadOnly: boolean;\r\n isGenerated?: boolean;\r\n isUpdatedAt?: boolean;\r\n /**\r\n * Describes the data type in the same the way it is defined in the Prisma schema:\r\n * BigInt, Boolean, Bytes, DateTime, Decimal, Float, Int, JSON, String, $ModelName\r\n */\r\n type: string;\r\n /**\r\n * Native database type, if specified.\r\n * For example, `@db.VarChar(191)` is encoded as `['VarChar', ['191']]`,\r\n * `@db.Text` is encoded as `['Text', []]`.\r\n */\r\n nativeType?: [string, string[]] | null;\r\n dbName?: string | null;\r\n hasDefaultValue: boolean;\r\n default?: FieldDefault | FieldDefaultScalar | FieldDefaultScalar[];\r\n relationFromFields?: string[];\r\n relationToFields?: string[];\r\n relationOnDelete?: string;\r\n relationOnUpdate?: string;\r\n relationName?: string;\r\n documentation?: string;\r\n}>;\r\n\r\ndeclare type FieldDefault = ReadonlyDeep_2<{\r\n name: string;\r\n args: Array<string | number>;\r\n}>;\r\n\r\ndeclare type FieldDefaultScalar = string | boolean | number;\r\n\r\ndeclare type FieldKind = 'scalar' | 'object' | 'enum' | 'unsupported';\r\n\r\ndeclare type FieldLocation = 'scalar' | 'inputObjectTypes' | 'outputObjectTypes' | 'enumTypes' | 'fieldRefTypes';\r\n\r\ndeclare type FieldNamespace = 'model' | 'prisma';\r\n\r\n/**\r\n * A reference to a specific field of a specific model\r\n */\r\nexport declare interface FieldRef<Model, FieldType> {\r\n readonly modelName: Model;\r\n readonly name: string;\r\n readonly typeName: FieldType;\r\n readonly isList: boolean;\r\n}\r\n\r\ndeclare type FieldRefAllowType = TypeRef<'scalar' | 'enumTypes'>;\r\n\r\ndeclare type FieldRefType = ReadonlyDeep_2<{\r\n name: string;\r\n allowTypes: FieldRefAllowType[];\r\n fields: SchemaArg[];\r\n}>;\r\n\r\ndeclare type FluentOperation = 'findUnique' | 'findUniqueOrThrow' | 'findFirst' | 'findFirstOrThrow' | 'create' | 'update' | 'upsert' | 'delete';\r\n\r\nexport declare interface Fn<Params = unknown, Returns = unknown> {\r\n params: Params;\r\n returns: Returns;\r\n}\r\n\r\ndeclare interface GeneratorConfig {\r\n name: string;\r\n output: EnvValue | null;\r\n isCustomOutput?: boolean;\r\n provider: EnvValue;\r\n config: {\r\n /** `output` is a reserved name and will only be available directly at `generator.output` */\r\n output?: never;\r\n /** `provider` is a reserved name and will only be available directly at `generator.provider` */\r\n provider?: never;\r\n /** `binaryTargets` is a reserved name and will only be available directly at `generator.binaryTargets` */\r\n binaryTargets?: never;\r\n /** `previewFeatures` is a reserved name and will only be available directly at `generator.previewFeatures` */\r\n previewFeatures?: never;\r\n } & {\r\n [key: string]: string | string[] | undefined;\r\n };\r\n binaryTargets: BinaryTargetsEnvValue[];\r\n previewFeatures: string[];\r\n envPaths?: EnvPaths;\r\n sourceFilePath: string;\r\n}\r\n\r\nexport declare type GetAggregateResult<P extends OperationPayload, A> = {\r\n [K in keyof A as K extends Aggregate ? K : never]: K extends '_count' ? A[K] extends true ? number : Count<A[K]> : {\r\n [J in keyof A[K] & string]: P['scalars'][J] | null;\r\n };\r\n};\r\n\r\ndeclare function getBatchRequestPayload(batch: JsonQuery[], transaction?: TransactionOptions_3<unknown>): QueryEngineBatchRequest;\r\n\r\nexport declare type GetBatchResult = {\r\n count: number;\r\n};\r\n\r\nexport declare type GetCountResult<A> = A extends {\r\n select: infer S;\r\n} ? (S extends true ? number : Count<S>) : number;\r\n\r\ndeclare function getExtensionContext<T>(that: T): Context_2<T>;\r\n\r\nexport declare type GetFindResult<P extends OperationPayload, A, GlobalOmitOptions> = Equals<A, any> extends 1 ? DefaultSelection<P, A, GlobalOmitOptions> : A extends {\r\n select: infer S extends object;\r\n} & Record<string, unknown> | {\r\n include: infer I extends object;\r\n} & Record<string, unknown> ? {\r\n [K in keyof S | keyof I as (S & I)[K] extends false | undefined | Skip | null ? never : K]: (S & I)[K] extends object ? P extends SelectablePayloadFields<K, (infer O)[]> ? O extends OperationPayload ? GetFindResult<O, (S & I)[K], GlobalOmitOptions>[] : never : P extends SelectablePayloadFields<K, infer O | null> ? O extends OperationPayload ? GetFindResult<O, (S & I)[K], GlobalOmitOptions> | SelectField<P, K> & null : never : K extends '_count' ? Count<GetFindResult<P, (S & I)[K], GlobalOmitOptions>> : never : P extends SelectablePayloadFields<K, (infer O)[]> ? O extends OperationPayload ? DefaultSelection<O, {}, GlobalOmitOptions>[] : never : P extends SelectablePayloadFields<K, infer O | null> ? O extends OperationPayload ? DefaultSelection<O, {}, GlobalOmitOptions> | SelectField<P, K> & null : never : P extends {\r\n scalars: {\r\n [k in K]: infer O;\r\n };\r\n } ? O : K extends '_count' ? Count<P['objects']> : never;\r\n} & (A extends {\r\n include: any;\r\n} & Record<string, unknown> ? DefaultSelection<P, A & {\r\n omit: A['omit'];\r\n}, GlobalOmitOptions> : unknown) : DefaultSelection<P, A, GlobalOmitOptions>;\r\n\r\nexport declare type GetGroupByResult<P extends OperationPayload, A> = A extends {\r\n by: string[];\r\n} ? Array<GetAggregateResult<P, A> & {\r\n [K in A['by'][number]]: P['scalars'][K];\r\n}> : A extends {\r\n by: string;\r\n} ? Array<GetAggregateResult<P, A> & {\r\n [K in A['by']]: P['scalars'][K];\r\n}> : {}[];\r\n\r\nexport declare type GetOmit<BaseKeys extends string, R extends InternalArgs['result'][string], ExtraType = never> = {\r\n [K in (string extends keyof R ? never : keyof R) | BaseKeys]?: boolean | ExtraType;\r\n};\r\n\r\nexport declare type GetPayloadResult<Base extends Record<any, any>, R extends InternalArgs['result'][string]> = Omit<Base, GetPayloadResultExtensionKeys<R>> & GetPayloadResultExtensionObject<R>;\r\n\r\nexport declare type GetPayloadResultExtensionKeys<R extends InternalArgs['result'][string], KR extends keyof R = string extends keyof R ? never : keyof R> = KR;\r\n\r\nexport declare type GetPayloadResultExtensionObject<R extends InternalArgs['result'][string]> = {\r\n [K in GetPayloadResultExtensionKeys<R>]: R[K] extends () => {\r\n compute: (...args: any) => infer C;\r\n } ? C : never;\r\n};\r\n\r\nexport declare function getPrismaClient(config: GetPrismaClientConfig): {\r\n new (optionsArg?: PrismaClientOptions): {\r\n _originalClient: any;\r\n _runtimeDataModel: RuntimeDataModel;\r\n _requestHandler: RequestHandler;\r\n _connectionPromise?: Promise<any> | undefined;\r\n _disconnectionPromise?: Promise<any> | undefined;\r\n _engineConfig: EngineConfig;\r\n _accelerateEngineConfig: AccelerateEngineConfig;\r\n _clientVersion: string;\r\n _errorFormat: ErrorFormat;\r\n _tracingHelper: TracingHelper;\r\n _middlewares: MiddlewareHandler<QueryMiddleware>;\r\n _previewFeatures: string[];\r\n _activeProvider: string;\r\n _globalOmit?: GlobalOmitOptions | undefined;\r\n _extensions: MergedExtensionsList;\r\n /**\r\n * @remarks This is used internally by Policy, do not rename or remove\r\n */\r\n _engine: Engine;\r\n /**\r\n * A fully constructed/applied Client that references the parent\r\n * PrismaClient. This is used for Client extensions only.\r\n */\r\n _appliedParent: any;\r\n _createPrismaPromise: PrismaPromiseFactory;\r\n /**\r\n * Hook a middleware into the client\r\n * @param middleware to hook\r\n */\r\n $use(middleware: QueryMiddleware): void;\r\n $on<E extends ExtendedEventType>(eventType: E, callback: EventCallback<E>): any;\r\n $connect(): Promise<void>;\r\n /**\r\n * Disconnect from the database\r\n */\r\n $disconnect(): Promise<void>;\r\n /**\r\n * Executes a raw query and always returns a number\r\n */\r\n $executeRawInternal(transaction: PrismaPromiseTransaction | undefined, clientMethod: string, args: RawQueryArgs, middlewareArgsMapper?: MiddlewareArgsMapper<unknown, unknown>): Promise<number>;\r\n /**\r\n * Executes a raw query provided through a safe tag function\r\n * @see https://github.com/prisma/prisma/issues/7142\r\n *\r\n * @param query\r\n * @param values\r\n * @returns\r\n */\r\n $executeRaw(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Unsafe counterpart of `$executeRaw` that is susceptible to SQL injections\r\n * @see https://github.com/prisma/prisma/issues/7142\r\n *\r\n * @param query\r\n * @param values\r\n * @returns\r\n */\r\n $executeRawUnsafe(query: string, ...values: RawValue[]): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Executes a raw command only for MongoDB\r\n *\r\n * @param command\r\n * @returns\r\n */\r\n $runCommandRaw(command: Record<string, JsInputValue>): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Executes a raw query and returns selected data\r\n */\r\n $queryRawInternal(transaction: PrismaPromiseTransaction | undefined, clientMethod: string, args: RawQueryArgs, middlewareArgsMapper?: MiddlewareArgsMapper<unknown, unknown>): Promise<any>;\r\n /**\r\n * Executes a raw query provided through a safe tag function\r\n * @see https://github.com/prisma/prisma/issues/7142\r\n *\r\n * @param query\r\n * @param values\r\n * @returns\r\n */\r\n $queryRaw(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Counterpart to $queryRaw, that returns strongly typed results\r\n * @param typedSql\r\n */\r\n $queryRawTyped(typedSql: UnknownTypedSql): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Unsafe counterpart of `$queryRaw` that is susceptible to SQL injections\r\n * @see https://github.com/prisma/prisma/issues/7142\r\n *\r\n * @param query\r\n * @param values\r\n * @returns\r\n */\r\n $queryRawUnsafe(query: string, ...values: RawValue[]): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Execute a batch of requests in a transaction\r\n * @param requests\r\n * @param options\r\n */\r\n _transactionWithArray({ promises, options, }: {\r\n promises: Array<PrismaPromise_2<any>>;\r\n options?: BatchTransactionOptions;\r\n }): Promise<any>;\r\n /**\r\n * Perform a long-running transaction\r\n * @param callback\r\n * @param options\r\n * @returns\r\n */\r\n _transactionWithCallback({ callback, options, }: {\r\n callback: (client: Client) => Promise<unknown>;\r\n options?: TransactionOptions_2;\r\n }): Promise<unknown>;\r\n _createItxClient(transaction: PrismaPromiseInteractiveTransaction): Client;\r\n /**\r\n * Execute queries within a transaction\r\n * @param input a callback or a query list\r\n * @param options to set timeouts (callback)\r\n * @returns\r\n */\r\n $transaction(input: any, options?: any): Promise<any>;\r\n /**\r\n * Runs the middlewares over params before executing a request\r\n * @param internalParams\r\n * @returns\r\n */\r\n _request(internalParams: InternalRequestParams): Promise<any>;\r\n _executeRequest({ args, clientMethod, dataPath, callsite, action, model, argsMapper, transaction, unpacker, otelParentCtx, customDataProxyFetch, }: InternalRequestParams): Promise<any>;\r\n $metrics: MetricsClient;\r\n /**\r\n * Shortcut for checking a preview flag\r\n * @param feature preview flag\r\n * @returns\r\n */\r\n _hasPreviewFlag(feature: string): boolean;\r\n $applyPendingMigrations(): Promise<void>;\r\n $extends: typeof $extends;\r\n readonly [Symbol.toStringTag]: string;\r\n };\r\n};\r\n\r\n/**\r\n * Config that is stored into the generated client. When the generated client is\r\n * loaded, this same config is passed to {@link getPrismaClient} which creates a\r\n * closure with that config around a non-instantiated [[PrismaClient]].\r\n */\r\nexport declare type GetPrismaClientConfig = {\r\n runtimeDataModel: RuntimeDataModel;\r\n generator?: GeneratorConfig;\r\n relativeEnvPaths?: {\r\n rootEnvPath?: string | null;\r\n schemaEnvPath?: string | null;\r\n };\r\n relativePath: string;\r\n dirname: string;\r\n clientVersion: string;\r\n engineVersion: string;\r\n datasourceNames: string[];\r\n activeProvider: ActiveConnectorType;\r\n /**\r\n * The contents of the schema encoded into a string\r\n * @remarks only used for the purpose of data proxy\r\n */\r\n inlineSchema: string;\r\n /**\r\n * A special env object just for the data proxy edge runtime.\r\n * Allows bundlers to inject their own env variables (Vercel).\r\n * Allows platforms to declare global variables as env (Workers).\r\n * @remarks only used for the purpose of data proxy\r\n */\r\n injectableEdgeEnv?: () => LoadedEnv;\r\n /**\r\n * The contents of the datasource url saved in a string.\r\n * This can either be an env var name or connection string.\r\n * It is needed by the client to connect to the Data Proxy.\r\n * @remarks only used for the purpose of data proxy\r\n */\r\n inlineDatasources: {\r\n [name in string]: {\r\n url: EnvValue;\r\n };\r\n };\r\n /**\r\n * The string hash that was produced for a given schema\r\n * @remarks only used for the purpose of data proxy\r\n */\r\n inlineSchemaHash: string;\r\n /**\r\n * A marker to indicate that the client was not generated via `prisma\r\n * generate` but was generated via `generate --postinstall` script instead.\r\n * @remarks used to error for Vercel/Netlify for schema caching issues\r\n */\r\n postinstall?: boolean;\r\n /**\r\n * Information about the CI where the Prisma Client has been generated. The\r\n * name of the CI environment is stored at generation time because CI\r\n * information is not always available at runtime. Moreover, the edge client\r\n * has no notion of environment variables, so this works around that.\r\n * @remarks used to error for Vercel/Netlify for schema caching issues\r\n */\r\n ciName?: string;\r\n /**\r\n * Information about whether we have not found a schema.prisma file in the\r\n * default location, and that we fell back to finding the schema.prisma file\r\n * in the current working directory. This usually means it has been bundled.\r\n */\r\n isBundled?: boolean;\r\n /**\r\n * A boolean that is `false` when the client was generated with --no-engine. At\r\n * runtime, this means the client will be bound to be using the Data Proxy.\r\n */\r\n copyEngine?: boolean;\r\n /**\r\n * Optional wasm loading configuration\r\n */\r\n engineWasm?: EngineWasmLoadingConfig;\r\n compilerWasm?: CompilerWasmLoadingConfig;\r\n};\r\n\r\nexport declare type GetResult<Payload extends OperationPayload, Args, OperationName extends Operation = 'findUniqueOrThrow', GlobalOmitOptions = {}> = {\r\n findUnique: GetFindResult<Payload, Args, GlobalOmitOptions> | null;\r\n findUniqueOrThrow: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n findFirst: GetFindResult<Payload, Args, GlobalOmitOptions> | null;\r\n findFirstOrThrow: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n findMany: GetFindResult<Payload, Args, GlobalOmitOptions>[];\r\n create: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n createMany: GetBatchResult;\r\n createManyAndReturn: GetFindResult<Payload, Args, GlobalOmitOptions>[];\r\n update: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n updateMany: GetBatchResult;\r\n updateManyAndReturn: GetFindResult<Payload, Args, GlobalOmitOptions>[];\r\n upsert: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n delete: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n deleteMany: GetBatchResult;\r\n aggregate: GetAggregateResult<Payload, Args>;\r\n count: GetCountResult<Args>;\r\n groupBy: GetGroupByResult<Payload, Args>;\r\n $queryRaw: unknown;\r\n $queryRawTyped: unknown;\r\n $executeRaw: number;\r\n $queryRawUnsafe: unknown;\r\n $executeRawUnsafe: number;\r\n $runCommandRaw: JsonObject;\r\n findRaw: JsonObject;\r\n aggregateRaw: JsonObject;\r\n}[OperationName];\r\n\r\nexport declare function getRuntime(): GetRuntimeOutput;\r\n\r\ndeclare type GetRuntimeOutput = {\r\n id: RuntimeName;\r\n prettyName: string;\r\n isEdge: boolean;\r\n};\r\n\r\nexport declare type GetSelect<Base extends Record<any, any>, R extends InternalArgs['result'][string], KR extends keyof R = string extends keyof R ? never : keyof R> = {\r\n [K in KR | keyof Base]?: K extends KR ? boolean : Base[K];\r\n};\r\n\r\ndeclare type GlobalOmitOptions = {\r\n [modelName: string]: {\r\n [fieldName: string]: boolean;\r\n };\r\n};\r\n\r\ndeclare type HandleErrorParams = {\r\n args: JsArgs;\r\n error: any;\r\n clientMethod: string;\r\n callsite?: CallSite;\r\n transaction?: PrismaPromiseTransaction;\r\n modelName?: string;\r\n globalOmit?: GlobalOmitOptions;\r\n};\r\n\r\ndeclare type HrTime = [number, number];\r\n\r\n/**\r\n * Defines High-Resolution Time.\r\n *\r\n * The first number, HrTime[0], is UNIX Epoch time in seconds since 00:00:00 UTC on 1 January 1970.\r\n * The second number, HrTime[1], represents the partial second elapsed since Unix Epoch time represented by first number in nanoseconds.\r\n * For example, 2021-01-01T12:30:10.150Z in UNIX Epoch time in milliseconds is represented as 1609504210150.\r\n * The first number is calculated by converting and truncating the Epoch time in milliseconds to seconds:\r\n * HrTime[0] = Math.trunc(1609504210150 / 1000) = 1609504210.\r\n * The second number is calculated by converting the digits after the decimal point of the subtraction, (1609504210150 / 1000) - HrTime[0], to nanoseconds:\r\n * HrTime[1] = Number((1609504210.150 - HrTime[0]).toFixed(9)) * 1e9 = 150000000.\r\n * This is represented in HrTime format as [1609504210, 150000000].\r\n */\r\ndeclare type HrTime_2 = [number, number];\r\n\r\ndeclare type Index = ReadonlyDeep_2<{\r\n model: string;\r\n type: IndexType;\r\n isDefinedOnField: boolean;\r\n name?: string;\r\n dbName?: string;\r\n algorithm?: string;\r\n clustered?: boolean;\r\n fields: IndexField[];\r\n}>;\r\n\r\ndeclare type IndexField = ReadonlyDeep_2<{\r\n name: string;\r\n sortOrder?: SortOrder;\r\n length?: number;\r\n operatorClass?: string;\r\n}>;\r\n\r\ndeclare type IndexType = 'id' | 'normal' | 'unique' | 'fulltext';\r\n\r\n/**\r\n * Matches a JSON array.\r\n * Unlike \\`JsonArray\\`, readonly arrays are assignable to this type.\r\n */\r\nexport declare interface InputJsonArray extends ReadonlyArray<InputJsonValue | null> {\r\n}\r\n\r\n/**\r\n * Matches a JSON object.\r\n * Unlike \\`JsonObject\\`, this type allows undefined and read-only properties.\r\n */\r\nexport declare type InputJsonObject = {\r\n readonly [Key in string]?: InputJsonValue | null;\r\n};\r\n\r\n/**\r\n * Matches any valid value that can be used as an input for operations like\r\n * create and update as the value of a JSON field. Unlike \\`JsonValue\\`, this\r\n * type allows read-only arrays and read-only object properties and disallows\r\n * \\`null\\` at the top level.\r\n *\r\n * \\`null\\` cannot be used as the value of a JSON field because its meaning\r\n * would be ambiguous. Use \\`Prisma.JsonNull\\` to store the JSON null value or\r\n * \\`Prisma.DbNull\\` to clear the JSON value and set the field to the database\r\n * NULL value instead.\r\n *\r\n * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-by-null-values\r\n */\r\nexport declare type InputJsonValue = string | number | boolean | InputJsonObject | InputJsonArray | {\r\n toJSON(): unknown;\r\n};\r\n\r\ndeclare type InputType = ReadonlyDeep_2<{\r\n name: string;\r\n constraints: {\r\n maxNumFields: number | null;\r\n minNumFields: number | null;\r\n fields?: string[];\r\n };\r\n meta?: {\r\n source?: string;\r\n grouping?: string;\r\n };\r\n fields: SchemaArg[];\r\n}>;\r\n\r\ndeclare type InputTypeRef = TypeRef<'scalar' | 'inputObjectTypes' | 'enumTypes' | 'fieldRefTypes'>;\r\n\r\ndeclare type InteractiveTransactionInfo<Payload = unknown> = {\r\n /**\r\n * Transaction ID returned by the query engine.\r\n */\r\n id: string;\r\n /**\r\n * Arbitrary payload the meaning of which depends on the `Engine` implementation.\r\n * For example, `DataProxyEngine` needs to associate different API endpoints with transactions.\r\n * In `LibraryEngine` and `BinaryEngine` it is currently not used.\r\n */\r\n payload: Payload;\r\n};\r\n\r\ndeclare type InteractiveTransactionOptions<Payload> = Transaction_2.InteractiveTransactionInfo<Payload>;\r\n\r\nexport declare type InternalArgs<R = {\r\n [K in string]: {\r\n [K in string]: unknown;\r\n };\r\n}, M = {\r\n [K in string]: {\r\n [K in string]: unknown;\r\n };\r\n}, Q = {\r\n [K in string]: {\r\n [K in string]: unknown;\r\n };\r\n}, C = {\r\n [K in string]: unknown;\r\n}> = {\r\n result: {\r\n [K in keyof R]: {\r\n [P in keyof R[K]]: () => R[K][P];\r\n };\r\n };\r\n model: {\r\n [K in keyof M]: {\r\n [P in keyof M[K]]: () => M[K][P];\r\n };\r\n };\r\n query: {\r\n [K in keyof Q]: {\r\n [P in keyof Q[K]]: () => Q[K][P];\r\n };\r\n };\r\n client: {\r\n [K in keyof C]: () => C[K];\r\n };\r\n};\r\n\r\ndeclare type InternalRequestParams = {\r\n /**\r\n * The original client method being called.\r\n * Even though the rootField / operation can be changed,\r\n * this method stays as it is, as it's what the user's\r\n * code looks like\r\n */\r\n clientMethod: string;\r\n /**\r\n * Name of js model that triggered the request. Might be used\r\n * for warnings or error messages\r\n */\r\n jsModelName?: string;\r\n callsite?: CallSite;\r\n transaction?: PrismaPromiseTransaction;\r\n unpacker?: Unpacker;\r\n otelParentCtx?: Context;\r\n /** Used to \"desugar\" a user input into an \"expanded\" one */\r\n argsMapper?: (args?: UserArgs_2) => UserArgs_2;\r\n /** Used to convert args for middleware and back */\r\n middlewareArgsMapper?: MiddlewareArgsMapper<unknown, unknown>;\r\n /** Used for Accelerate client extension via Data Proxy */\r\n customDataProxyFetch?: CustomDataProxyFetch;\r\n} & Omit<QueryMiddlewareParams, 'runInTransaction'>;\r\n\r\ndeclare type IsolationLevel = 'READ UNCOMMITTED' | 'READ COMMITTED' | 'REPEATABLE READ' | 'SNAPSHOT' | 'SERIALIZABLE';\r\n\r\ndeclare function isSkip(value: unknown): value is Skip;\r\n\r\nexport declare function isTypedSql(value: unknown): value is UnknownTypedSql;\r\n\r\nexport declare type ITXClientDenyList = (typeof denylist)[number];\r\n\r\nexport declare const itxClientDenyList: readonly (string | symbol)[];\r\n\r\ndeclare interface Job {\r\n resolve: (data: any) => void;\r\n reject: (data: any) => void;\r\n request: any;\r\n}\r\n\r\n/**\r\n * Create a SQL query for a list of values.\r\n */\r\nexport declare function join(values: readonly RawValue[], separator?: string, prefix?: string, suffix?: string): Sql;\r\n\r\nexport declare type JsArgs = {\r\n select?: Selection_2;\r\n include?: Selection_2;\r\n omit?: Omission;\r\n [argName: string]: JsInputValue;\r\n};\r\n\r\nexport declare type JsInputValue = null | undefined | string | number | boolean | bigint | Uint8Array | Date | DecimalJsLike | ObjectEnumValue | RawParameters | JsonConvertible | FieldRef<string, unknown> | JsInputValue[] | Skip | {\r\n [key: string]: JsInputValue;\r\n};\r\n\r\ndeclare type JsonArgumentValue = number | string | boolean | null | RawTaggedValue | JsonArgumentValue[] | {\r\n [key: string]: JsonArgumentValue;\r\n};\r\n\r\n/**\r\n * From https://github.com/sindresorhus/type-fest/\r\n * Matches a JSON array.\r\n */\r\nexport declare interface JsonArray extends Array<JsonValue> {\r\n}\r\n\r\nexport declare type JsonBatchQuery = {\r\n batch: JsonQuery[];\r\n transaction?: {\r\n isolationLevel?: IsolationLevel;\r\n };\r\n};\r\n\r\nexport declare interface JsonConvertible {\r\n toJSON(): unknown;\r\n}\r\n\r\ndeclare type JsonFieldSelection = {\r\n arguments?: Record<string, JsonArgumentValue> | RawTaggedValue;\r\n selection: JsonSelectionSet;\r\n};\r\n\r\ndeclare class JsonNull extends NullTypesEnumValue {\r\n #private;\r\n}\r\n\r\n/**\r\n * From https://github.com/sindresorhus/type-fest/\r\n * Matches a JSON object.\r\n * This type can be useful to enforce some input to be JSON-compatible or as a super-type to be extended from.\r\n */\r\nexport declare type JsonObject = {\r\n [Key in string]?: JsonValue;\r\n};\r\n\r\nexport declare type JsonQuery = {\r\n modelName?: string;\r\n action: JsonQueryAction;\r\n query: JsonFieldSelection;\r\n};\r\n\r\ndeclare type JsonQueryAction = 'findUnique' | 'findUniqueOrThrow' | 'findFirst' | 'findFirstOrThrow' | 'findMany' | 'createOne' | 'createMany' | 'createManyAndReturn' | 'updateOne' | 'updateMany' | 'updateManyAndReturn' | 'deleteOne' | 'deleteMany' | 'upsertOne' | 'aggregate' | 'groupBy' | 'executeRaw' | 'queryRaw' | 'runCommandRaw' | 'findRaw' | 'aggregateRaw';\r\n\r\ndeclare type JsonSelectionSet = {\r\n $scalars?: boolean;\r\n $composites?: boolean;\r\n} & {\r\n [fieldName: string]: boolean | JsonFieldSelection;\r\n};\r\n\r\n/**\r\n * From https://github.com/sindresorhus/type-fest/\r\n * Matches any valid JSON value.\r\n */\r\nexport declare type JsonValue = string | number | boolean | JsonObject | JsonArray | null;\r\n\r\nexport declare type JsOutputValue = null | string | number | boolean | bigint | Uint8Array | Date | Decimal | JsOutputValue[] | {\r\n [key: string]: JsOutputValue;\r\n};\r\n\r\nexport declare type JsPromise<T> = Promise<T> & {};\r\n\r\ndeclare type KnownErrorParams = {\r\n code: string;\r\n clientVersion: string;\r\n meta?: Record<string, unknown>;\r\n batchRequestIdx?: number;\r\n};\r\n\r\n/**\r\n * A pointer from the current {@link Span} to another span in the same trace or\r\n * in a different trace.\r\n * Few examples of Link usage.\r\n * 1. Batch Processing: A batch of elements may contain elements associated\r\n * with one or more traces/spans. Since there can only be one parent\r\n * SpanContext, Link is used to keep reference to SpanContext of all\r\n * elements in the batch.\r\n * 2. Public Endpoint: A SpanContext in incoming client request on a public\r\n * endpoint is untrusted from service provider perspective. In such case it\r\n * is advisable to start a new trace with appropriate sampling decision.\r\n * However, it is desirable to associate incoming SpanContext to new trace\r\n * initiated on service provider side so two traces (from Client and from\r\n * Service Provider) can be correlated.\r\n */\r\ndeclare interface Link {\r\n /** The {@link SpanContext} of a linked span. */\r\n context: SpanContext;\r\n /** A set of {@link SpanAttributes} on the link. */\r\n attributes?: SpanAttributes;\r\n /** Count of attributes of the link that were dropped due to collection limits */\r\n droppedAttributesCount?: number;\r\n}\r\n\r\ndeclare type LoadedEnv = {\r\n message?: string;\r\n parsed: {\r\n [x: string]: string;\r\n };\r\n} | undefined;\r\n\r\ndeclare type LocationInFile = {\r\n fileName: string;\r\n lineNumber: number | null;\r\n columnNumber: number | null;\r\n};\r\n\r\ndeclare type LogDefinition = {\r\n level: LogLevel;\r\n emit: 'stdout' | 'event';\r\n};\r\n\r\n/**\r\n * Typings for the events we emit.\r\n *\r\n * @remarks\r\n * If this is updated, our edge runtime shim needs to be updated as well.\r\n */\r\ndeclare type LogEmitter = {\r\n on<E extends EngineEventType>(event: E, listener: (event: EngineEvent<E>) => void): LogEmitter;\r\n emit(event: QueryEventType, payload: QueryEvent): boolean;\r\n emit(event: LogEventType, payload: LogEvent): boolean;\r\n};\r\n\r\ndeclare type LogEvent = {\r\n timestamp: Date;\r\n message: string;\r\n target: string;\r\n};\r\n\r\ndeclare type LogEventType = 'info' | 'warn' | 'error';\r\n\r\ndeclare type LogLevel = 'info' | 'query' | 'warn' | 'error';\r\n\r\n/**\r\n * Generates more strict variant of an enum which, unlike regular enum,\r\n * throws on non-existing property access. This can be useful in following situations:\r\n * - we have an API, that accepts both `undefined` and `SomeEnumType` as an input\r\n * - enum values are generated dynamically from DMMF.\r\n *\r\n * In that case, if using normal enums and no compile-time typechecking, using non-existing property\r\n * will result in `undefined` value being used, which will be accepted. Using strict enum\r\n * in this case will help to have a runtime exception, telling you that you are probably doing something wrong.\r\n *\r\n * Note: if you need to check for existence of a value in the enum you can still use either\r\n * `in` operator or `hasOwnProperty` function.\r\n *\r\n * @param definition\r\n * @returns\r\n */\r\nexport declare function makeStrictEnum<T extends Record<PropertyKey, string | number>>(definition: T): T;\r\n\r\nexport declare function makeTypedQueryFactory(sql: string): (...values: any[]) => TypedSql<any[], unknown>;\r\n\r\ndeclare type Mappings = ReadonlyDeep_2<{\r\n modelOperations: ModelMapping[];\r\n otherOperations: {\r\n read: string[];\r\n write: string[];\r\n };\r\n}>;\r\n\r\n/**\r\n * Class that holds the list of all extensions, applied to particular instance,\r\n * as well as resolved versions of the components that need to apply on\r\n * different levels. Main idea of this class: avoid re-resolving as much of the\r\n * stuff as possible when new extensions are added while also delaying the\r\n * resolve until the point it is actually needed. For example, computed fields\r\n * of the model won't be resolved unless the model is actually queried. Neither\r\n * adding extensions with `client` component only cause other components to\r\n * recompute.\r\n */\r\ndeclare class MergedExtensionsList {\r\n private head?;\r\n private constructor();\r\n static empty(): MergedExtensionsList;\r\n static single(extension: ExtensionArgs): MergedExtensionsList;\r\n isEmpty(): boolean;\r\n append(extension: ExtensionArgs): MergedExtensionsList;\r\n getAllComputedFields(dmmfModelName: string): ComputedFieldsMap | undefined;\r\n getAllClientExtensions(): ClientArg | undefined;\r\n getAllModelExtensions(dmmfModelName: string): ModelArg | undefined;\r\n getAllQueryCallbacks(jsModelName: string, operation: string): any;\r\n getAllBatchQueryCallbacks(): BatchQueryOptionsCb[];\r\n}\r\n\r\nexport declare type MergeExtArgs<TypeMap extends TypeMapDef, ExtArgs extends Record<any, any>, Args extends Record<any, any>> = ComputeDeep<ExtArgs & Args & AllModelsToStringIndex<TypeMap, Args, 'result'> & AllModelsToStringIndex<TypeMap, Args, 'model'>>;\r\n\r\nexport declare type Metric<T> = {\r\n key: string;\r\n value: T;\r\n labels: Record<string, string>;\r\n description: string;\r\n};\r\n\r\nexport declare type MetricHistogram = {\r\n buckets: MetricHistogramBucket[];\r\n sum: number;\r\n count: number;\r\n};\r\n\r\nexport declare type MetricHistogramBucket = [maxValue: number, count: number];\r\n\r\nexport declare type Metrics = {\r\n counters: Metric<number>[];\r\n gauges: Metric<number>[];\r\n histograms: Metric<MetricHistogram>[];\r\n};\r\n\r\nexport declare class MetricsClient {\r\n private _client;\r\n constructor(client: Client);\r\n /**\r\n * Returns all metrics gathered up to this point in prometheus format.\r\n * Result of this call can be exposed directly to prometheus scraping endpoint\r\n *\r\n * @param options\r\n * @returns\r\n */\r\n prometheus(options?: MetricsOptions): Promise<string>;\r\n /**\r\n * Returns all metrics gathered up to this point in prometheus format.\r\n *\r\n * @param options\r\n * @returns\r\n */\r\n json(options?: MetricsOptions): Promise<Metrics>;\r\n}\r\n\r\ndeclare type MetricsOptions = {\r\n /**\r\n * Labels to add to every metrics in key-value format\r\n */\r\n globalLabels?: Record<string, string>;\r\n};\r\n\r\ndeclare type MetricsOptionsCommon = {\r\n globalLabels?: Record<string, string>;\r\n};\r\n\r\ndeclare type MetricsOptionsJson = {\r\n format: 'json';\r\n} & MetricsOptionsCommon;\r\n\r\ndeclare type MetricsOptionsPrometheus = {\r\n format: 'prometheus';\r\n} & MetricsOptionsCommon;\r\n\r\ndeclare type MiddlewareArgsMapper<RequestArgs, MiddlewareArgs> = {\r\n requestArgsToMiddlewareArgs(requestArgs: RequestArgs): MiddlewareArgs;\r\n middlewareArgsToRequestArgs(middlewareArgs: MiddlewareArgs): RequestArgs;\r\n};\r\n\r\ndeclare class MiddlewareHandler<M extends Function> {\r\n private _middlewares;\r\n use(middleware: M): void;\r\n get(id: number): M | undefined;\r\n has(id: number): boolean;\r\n length(): number;\r\n}\r\n\r\ndeclare type Model = ReadonlyDeep_2<{\r\n name: string;\r\n dbName: string | null;\r\n schema: string | null;\r\n fields: Field[];\r\n uniqueFields: string[][];\r\n uniqueIndexes: uniqueIndex[];\r\n documentation?: string;\r\n primaryKey: PrimaryKey | null;\r\n isGenerated?: boolean;\r\n}>;\r\n\r\ndeclare enum ModelAction {\r\n findUnique = \"findUnique\",\r\n findUniqueOrThrow = \"findUniqueOrThrow\",\r\n findFirst = \"findFirst\",\r\n findFirstOrThrow = \"findFirstOrThrow\",\r\n findMany = \"findMany\",\r\n create = \"create\",\r\n createMany = \"createMany\",\r\n createManyAndReturn = \"createManyAndReturn\",\r\n update = \"update\",\r\n updateMany = \"updateMany\",\r\n updateManyAndReturn = \"updateManyAndReturn\",\r\n upsert = \"upsert\",\r\n delete = \"delete\",\r\n deleteMany = \"deleteMany\",\r\n groupBy = \"groupBy\",\r\n count = \"count\",// TODO: count does not actually exist in DMMF\r\n aggregate = \"aggregate\",\r\n findRaw = \"findRaw\",\r\n aggregateRaw = \"aggregateRaw\"\r\n}\r\n\r\nexport declare type ModelArg = {\r\n [MethodName in string]: unknown;\r\n};\r\n\r\nexport declare type ModelArgs = {\r\n model: {\r\n [ModelName in string]: ModelArg;\r\n };\r\n};\r\n\r\nexport declare type ModelKey<TypeMap extends TypeMapDef, M extends PropertyKey> = M extends keyof TypeMap['model'] ? M : Capitalize<M & string>;\r\n\r\ndeclare type ModelMapping = ReadonlyDeep_2<{\r\n model: string;\r\n plural: string;\r\n findUnique?: string | null;\r\n findUniqueOrThrow?: string | null;\r\n findFirst?: string | null;\r\n findFirstOrThrow?: string | null;\r\n findMany?: string | null;\r\n create?: string | null;\r\n createMany?: string | null;\r\n createManyAndReturn?: string | null;\r\n update?: string | null;\r\n updateMany?: string | null;\r\n updateManyAndReturn?: string | null;\r\n upsert?: string | null;\r\n delete?: string | null;\r\n deleteMany?: string | null;\r\n aggregate?: string | null;\r\n groupBy?: string | null;\r\n count?: string | null;\r\n findRaw?: string | null;\r\n aggregateRaw?: string | null;\r\n}>;\r\n\r\nexport declare type ModelQueryOptionsCb = (args: ModelQueryOptionsCbArgs) => Promise<any>;\r\n\r\nexport declare type ModelQueryOptionsCbArgs = {\r\n model: string;\r\n operation: string;\r\n args: JsArgs;\r\n query: (args: JsArgs) => Promise<unknown>;\r\n};\r\n\r\ndeclare type MultiBatchResponse = {\r\n type: 'multi';\r\n plans: object[];\r\n};\r\n\r\nexport declare type NameArgs = {\r\n name?: string;\r\n};\r\n\r\nexport declare type Narrow<A> = {\r\n [K in keyof A]: A[K] extends Function ? A[K] : Narrow<A[K]>;\r\n} | (A extends Narrowable ? A : never);\r\n\r\nexport declare type Narrowable = string | number | bigint | boolean | [];\r\n\r\nexport declare type NeverToUnknown<T> = [T] extends [never] ? unknown : T;\r\n\r\ndeclare class NullTypesEnumValue extends ObjectEnumValue {\r\n _getNamespace(): string;\r\n}\r\n\r\n/**\r\n * Base class for unique values of object-valued enums.\r\n */\r\nexport declare abstract class ObjectEnumValue {\r\n constructor(arg?: symbol);\r\n abstract _getNamespace(): string;\r\n _getName(): string;\r\n toString(): string;\r\n}\r\n\r\nexport declare const objectEnumValues: {\r\n classes: {\r\n DbNull: typeof DbNull;\r\n JsonNull: typeof JsonNull;\r\n AnyNull: typeof AnyNull;\r\n };\r\n instances: {\r\n DbNull: DbNull;\r\n JsonNull: JsonNull;\r\n AnyNull: AnyNull;\r\n };\r\n};\r\n\r\ndeclare const officialPrismaAdapters: readonly [\"@prisma/adapter-planetscale\", \"@prisma/adapter-neon\", \"@prisma/adapter-libsql\", \"@prisma/adapter-d1\", \"@prisma/adapter-pg\", \"@prisma/adapter-pg-worker\"];\r\n\r\nexport declare type Omission = Record<string, boolean | Skip>;\r\n\r\ndeclare type Omit_2<T, K extends string | number | symbol> = {\r\n [P in keyof T as P extends K ? never : P]: T[P];\r\n};\r\nexport { Omit_2 as Omit }\r\n\r\nexport declare type OmitValue<Omit, Key> = Key extends keyof Omit ? Omit[Key] : false;\r\n\r\nexport declare type Operation = 'findFirst' | 'findFirstOrThrow' | 'findUnique' | 'findUniqueOrThrow' | 'findMany' | 'create' | 'createMany' | 'createManyAndReturn' | 'update' | 'updateMany' | 'updateManyAndReturn' | 'upsert' | 'delete' | 'deleteMany' | 'aggregate' | 'count' | 'groupBy' | '$queryRaw' | '$executeRaw' | '$queryRawUnsafe' | '$executeRawUnsafe' | 'findRaw' | 'aggregateRaw' | '$runCommandRaw';\r\n\r\nexport declare type OperationPayload = {\r\n name: string;\r\n scalars: {\r\n [ScalarName in string]: unknown;\r\n };\r\n objects: {\r\n [ObjectName in string]: unknown;\r\n };\r\n composites: {\r\n [CompositeName in string]: unknown;\r\n };\r\n};\r\n\r\nexport declare type Optional<O, K extends keyof any = keyof O> = {\r\n [P in K & keyof O]?: O[P];\r\n} & {\r\n [P in Exclude<keyof O, K>]: O[P];\r\n};\r\n\r\nexport declare type OptionalFlat<T> = {\r\n [K in keyof T]?: T[K];\r\n};\r\n\r\nexport declare type OptionalKeys<O> = {\r\n [K in keyof O]-?: {} extends Pick_2<O, K> ? K : never;\r\n}[keyof O];\r\n\r\ndeclare type Options = {\r\n clientVersion: string;\r\n};\r\n\r\nexport declare type Or<A extends 1 | 0, B extends 1 | 0> = {\r\n 0: {\r\n 0: 0;\r\n 1: 1;\r\n };\r\n 1: {\r\n 0: 1;\r\n 1: 1;\r\n };\r\n}[A][B];\r\n\r\ndeclare type OtherOperationMappings = ReadonlyDeep_2<{\r\n read: string[];\r\n write: string[];\r\n}>;\r\n\r\ndeclare type OutputType = ReadonlyDeep_2<{\r\n name: string;\r\n fields: SchemaField[];\r\n}>;\r\n\r\ndeclare type OutputTypeRef = TypeRef<'scalar' | 'outputObjectTypes' | 'enumTypes'>;\r\n\r\nexport declare function Param<$Type, $Value extends string>(name: $Value): Param<$Type, $Value>;\r\n\r\nexport declare type Param<out $Type, $Value extends string> = {\r\n readonly name: $Value;\r\n};\r\n\r\nexport declare type PatchFlat<O1, O2> = O1 & Omit_2<O2, keyof O1>;\r\n\r\nexport declare type Path<O, P, Default = never> = O extends unknown ? P extends [infer K, ...infer R] ? K extends keyof O ? Path<O[K], R> : Default : O : never;\r\n\r\nexport declare type Payload<T, F extends Operation = never> = T extends {\r\n [K: symbol]: {\r\n types: {\r\n payload: any;\r\n };\r\n };\r\n} ? T[symbol]['types']['payload'] : any;\r\n\r\nexport declare type PayloadToResult<P, O extends Record_2<any, any> = RenameAndNestPayloadKeys<P>> = {\r\n [K in keyof O]?: O[K][K] extends any[] ? PayloadToResult<O[K][K][number]>[] : O[K][K] extends object ? PayloadToResult<O[K][K]> : O[K][K];\r\n};\r\n\r\ndeclare type Pick_2<T, K extends string | number | symbol> = {\r\n [P in keyof T as P extends K ? P : never]: T[P];\r\n};\r\nexport { Pick_2 as Pick }\r\n\r\ndeclare type PrimaryKey = ReadonlyDeep_2<{\r\n name: string | null;\r\n fields: string[];\r\n}>;\r\n\r\nexport declare class PrismaClientInitializationError extends Error {\r\n clientVersion: string;\r\n errorCode?: string;\r\n retryable?: boolean;\r\n constructor(message: string, clientVersion: string, errorCode?: string);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\nexport declare class PrismaClientKnownRequestError extends Error implements ErrorWithBatchIndex {\r\n code: string;\r\n meta?: Record<string, unknown>;\r\n clientVersion: string;\r\n batchRequestIdx?: number;\r\n constructor(message: string, { code, clientVersion, meta, batchRequestIdx }: KnownErrorParams);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\nexport declare type PrismaClientOptions = {\r\n /**\r\n * Overwrites the primary datasource url from your schema.prisma file\r\n */\r\n datasourceUrl?: string;\r\n /**\r\n * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-planetscale.\r\n */\r\n adapter?: SqlDriverAdapterFactory | null;\r\n /**\r\n * Overwrites the datasource url from your schema.prisma file\r\n */\r\n datasources?: Datasources;\r\n /**\r\n * @default \"colorless\"\r\n */\r\n errorFormat?: ErrorFormat;\r\n /**\r\n * The default values for Transaction options\r\n * maxWait ?= 2000\r\n * timeout ?= 5000\r\n */\r\n transactionOptions?: Transaction_2.Options;\r\n /**\r\n * @example\r\n * \\`\\`\\`\r\n * // Defaults to stdout\r\n * log: ['query', 'info', 'warn']\r\n *\r\n * // Emit as events\r\n * log: [\r\n * { emit: 'stdout', level: 'query' },\r\n * { emit: 'stdout', level: 'info' },\r\n * { emit: 'stdout', level: 'warn' }\r\n * ]\r\n * \\`\\`\\`\r\n * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/logging#the-log-option).\r\n */\r\n log?: Array<LogLevel | LogDefinition>;\r\n omit?: GlobalOmitOptions;\r\n /**\r\n * @internal\r\n * You probably don't want to use this. \\`__internal\\` is used by internal tooling.\r\n */\r\n __internal?: {\r\n debug?: boolean;\r\n engine?: {\r\n cwd?: string;\r\n binaryPath?: string;\r\n endpoint?: string;\r\n allowTriggerPanic?: boolean;\r\n };\r\n /** This can be used for testing purposes */\r\n configOverride?: (config: GetPrismaClientConfig) => GetPrismaClientConfig;\r\n };\r\n};\r\n\r\nexport declare class PrismaClientRustPanicError extends Error {\r\n clientVersion: string;\r\n constructor(message: string, clientVersion: string);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\nexport declare class PrismaClientUnknownRequestError extends Error implements ErrorWithBatchIndex {\r\n clientVersion: string;\r\n batchRequestIdx?: number;\r\n constructor(message: string, { clientVersion, batchRequestIdx }: UnknownErrorParams);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\nexport declare class PrismaClientValidationError extends Error {\r\n name: string;\r\n clientVersion: string;\r\n constructor(message: string, { clientVersion }: Options);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\ndeclare function prismaGraphQLToJSError({ error, user_facing_error }: RequestError, clientVersion: string, activeProvider: string): PrismaClientKnownRequestError | PrismaClientUnknownRequestError;\r\n\r\ndeclare type PrismaOperationSpec<TArgs, TAction = string> = {\r\n args: TArgs;\r\n action: TAction;\r\n model: string;\r\n};\r\n\r\nexport declare interface PrismaPromise<T> extends Promise<T> {\r\n [Symbol.toStringTag]: 'PrismaPromise';\r\n}\r\n\r\n/**\r\n * Prisma's `Promise` that is backwards-compatible. All additions on top of the\r\n * original `Promise` are optional so that it can be backwards-compatible.\r\n * @see [[createPrismaPromise]]\r\n */\r\ndeclare interface PrismaPromise_2<TResult, TSpec extends PrismaOperationSpec<unknown> = any> extends Promise<TResult> {\r\n get spec(): TSpec;\r\n /**\r\n * Extension of the original `.then` function\r\n * @param onfulfilled same as regular promises\r\n * @param onrejected same as regular promises\r\n * @param transaction transaction options\r\n */\r\n then<R1 = TResult, R2 = never>(onfulfilled?: (value: TResult) => R1 | PromiseLike<R1>, onrejected?: (error: unknown) => R2 | PromiseLike<R2>, transaction?: PrismaPromiseTransaction): Promise<R1 | R2>;\r\n /**\r\n * Extension of the original `.catch` function\r\n * @param onrejected same as regular promises\r\n * @param transaction transaction options\r\n */\r\n catch<R = never>(onrejected?: ((reason: any) => R | PromiseLike<R>) | undefined | null, transaction?: PrismaPromiseTransaction): Promise<TResult | R>;\r\n /**\r\n * Extension of the original `.finally` function\r\n * @param onfinally same as regular promises\r\n * @param transaction transaction options\r\n */\r\n finally(onfinally?: (() => void) | undefined | null, transaction?: PrismaPromiseTransaction): Promise<TResult>;\r\n /**\r\n * Called when executing a batch of regular tx\r\n * @param transaction transaction options for batch tx\r\n */\r\n requestTransaction?(transaction: PrismaPromiseBatchTransaction): PromiseLike<unknown>;\r\n}\r\n\r\ndeclare type PrismaPromiseBatchTransaction = {\r\n kind: 'batch';\r\n id: number;\r\n isolationLevel?: IsolationLevel;\r\n index: number;\r\n lock: PromiseLike<void>;\r\n};\r\n\r\ndeclare type PrismaPromiseCallback = (transaction?: PrismaPromiseTransaction) => Promise<unknown>;\r\n\r\n/**\r\n * Creates a [[PrismaPromise]]. It is Prisma's implementation of `Promise` which\r\n * is essentially a proxy for `Promise`. All the transaction-compatible client\r\n * methods return one, this allows for pre-preparing queries without executing\r\n * them until `.then` is called. It's the foundation of Prisma's query batching.\r\n * @param callback that will be wrapped within our promise implementation\r\n * @see [[PrismaPromise]]\r\n * @returns\r\n */\r\ndeclare type PrismaPromiseFactory = <T extends PrismaOperationSpec<unknown>>(callback: PrismaPromiseCallback, op?: T) => PrismaPromise_2<unknown>;\r\n\r\ndeclare type PrismaPromiseInteractiveTransaction<PayloadType = unknown> = {\r\n kind: 'itx';\r\n id: string;\r\n payload: PayloadType;\r\n};\r\n\r\ndeclare type PrismaPromiseTransaction<PayloadType = unknown> = PrismaPromiseBatchTransaction | PrismaPromiseInteractiveTransaction<PayloadType>;\r\n\r\nexport declare const PrivateResultType: unique symbol;\r\n\r\ndeclare type Provider = 'mysql' | 'postgres' | 'sqlite';\r\n\r\ndeclare namespace Public {\r\n export {\r\n validator\r\n }\r\n}\r\nexport { Public }\r\n\r\ndeclare namespace Public_2 {\r\n export {\r\n Args,\r\n Result,\r\n Payload,\r\n PrismaPromise,\r\n Operation,\r\n Exact\r\n }\r\n}\r\n\r\ndeclare type Query = ReadonlyDeep_2<{\r\n name: string;\r\n args: SchemaArg[];\r\n output: QueryOutput;\r\n}>;\r\n\r\ndeclare interface Queryable<Query, Result> extends AdapterInfo {\r\n /**\r\n * Execute a query and return its result.\r\n */\r\n queryRaw(params: Query): Promise<Result>;\r\n /**\r\n * Execute a query and return the number of affected rows.\r\n */\r\n executeRaw(params: Query): Promise<number>;\r\n}\r\n\r\ndeclare type QueryCompiler = {\r\n compile(request: string): string;\r\n compileBatch(batchRequest: string): BatchResponse;\r\n};\r\n\r\ndeclare interface QueryCompilerConstructor {\r\n new (options: QueryCompilerOptions): QueryCompiler;\r\n}\r\n\r\ndeclare type QueryCompilerOptions = {\r\n datamodel: string;\r\n provider: Provider;\r\n connectionInfo: ConnectionInfo;\r\n};\r\n\r\ndeclare type QueryEngineBatchGraphQLRequest = {\r\n batch: QueryEngineRequest[];\r\n transaction?: boolean;\r\n isolationLevel?: IsolationLevel;\r\n};\r\n\r\ndeclare type QueryEngineBatchRequest = QueryEngineBatchGraphQLRequest | JsonBatchQuery;\r\n\r\ndeclare type QueryEngineConfig = {\r\n datamodel: string;\r\n configDir: string;\r\n logQueries: boolean;\r\n ignoreEnvVarErrors: boolean;\r\n datasourceOverrides: Record<string, string>;\r\n env: Record<string, string | undefined>;\r\n logLevel: QueryEngineLogLevel;\r\n engineProtocol: QueryEngineProtocol;\r\n enableTracing: boolean;\r\n};\r\n\r\ndeclare interface QueryEngineConstructor {\r\n new (config: QueryEngineConfig, logger: (log: string) => void, adapter?: ErrorCapturingSqlDriverAdapter): QueryEngineInstance;\r\n}\r\n\r\ndeclare type QueryEngineInstance = {\r\n connect(headers: string, requestId: string): Promise<void>;\r\n disconnect(headers: string, requestId: string): Promise<void>;\r\n /**\r\n * @param requestStr JSON.stringified `QueryEngineRequest | QueryEngineBatchRequest`\r\n * @param headersStr JSON.stringified `QueryEngineRequestHeaders`\r\n */\r\n query(requestStr: string, headersStr: string, transactionId: string | undefined, requestId: string): Promise<string>;\r\n sdlSchema?(): Promise<string>;\r\n startTransaction(options: string, traceHeaders: string, requestId: string): Promise<string>;\r\n commitTransaction(id: string, traceHeaders: string, requestId: string): Promise<string>;\r\n rollbackTransaction(id: string, traceHeaders: string, requestId: string): Promise<string>;\r\n metrics?(options: string): Promise<string>;\r\n applyPendingMigrations?(): Promise<void>;\r\n trace(requestId: string): Promise<string | null>;\r\n};\r\n\r\ndeclare type QueryEngineLogLevel = 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'off';\r\n\r\ndeclare type QueryEngineProtocol = 'graphql' | 'json';\r\n\r\ndeclare type QueryEngineRequest = {\r\n query: string;\r\n variables: Object;\r\n};\r\n\r\ndeclare type QueryEngineResultData<T> = {\r\n data: T;\r\n};\r\n\r\ndeclare type QueryEvent = {\r\n timestamp: Date;\r\n query: string;\r\n params: string;\r\n duration: number;\r\n target: string;\r\n};\r\n\r\ndeclare type QueryEventType = 'query';\r\n\r\ndeclare type QueryIntrospectionBuiltinType = 'int' | 'bigint' | 'float' | 'double' | 'string' | 'enum' | 'bytes' | 'bool' | 'char' | 'decimal' | 'json' | 'xml' | 'uuid' | 'datetime' | 'date' | 'time' | 'int-array' | 'bigint-array' | 'float-array' | 'double-array' | 'string-array' | 'char-array' | 'bytes-array' | 'bool-array' | 'decimal-array' | 'json-array' | 'xml-array' | 'uuid-array' | 'datetime-array' | 'date-array' | 'time-array' | 'null' | 'unknown';\r\n\r\ndeclare type QueryMiddleware = (params: QueryMiddlewareParams, next: (params: QueryMiddlewareParams) => Promise<unknown>) => Promise<unknown>;\r\n\r\ndeclare type QueryMiddlewareParams = {\r\n /** The model this is executed on */\r\n model?: string;\r\n /** The action that is being handled */\r\n action: Action;\r\n /** TODO what is this */\r\n dataPath: string[];\r\n /** TODO what is this */\r\n runInTransaction: boolean;\r\n args?: UserArgs_2;\r\n};\r\n\r\nexport declare type QueryOptions = {\r\n query: {\r\n [ModelName in string]: {\r\n [ModelAction in string]: ModelQueryOptionsCb;\r\n } | QueryOptionsCb;\r\n };\r\n};\r\n\r\nexport declare type QueryOptionsCb = (args: QueryOptionsCbArgs) => Promise<any>;\r\n\r\nexport declare type QueryOptionsCbArgs = {\r\n model?: string;\r\n operation: string;\r\n args: JsArgs | RawQueryArgs;\r\n query: (args: JsArgs | RawQueryArgs) => Promise<unknown>;\r\n};\r\n\r\ndeclare type QueryOutput = ReadonlyDeep_2<{\r\n name: string;\r\n isRequired: boolean;\r\n isList: boolean;\r\n}>;\r\n\r\n/**\r\n * Create raw SQL statement.\r\n */\r\nexport declare function raw(value: string): Sql;\r\n\r\nexport declare type RawParameters = {\r\n __prismaRawParameters__: true;\r\n values: string;\r\n};\r\n\r\nexport declare type RawQueryArgs = Sql | UnknownTypedSql | [query: string, ...values: RawValue[]];\r\n\r\ndeclare type RawResponse = {\r\n columns: string[];\r\n types: QueryIntrospectionBuiltinType[];\r\n rows: unknown[][];\r\n};\r\n\r\ndeclare type RawTaggedValue = {\r\n $type: 'Raw';\r\n value: unknown;\r\n};\r\n\r\n/**\r\n * Supported value or SQL instance.\r\n */\r\nexport declare type RawValue = Value | Sql;\r\n\r\nexport declare type ReadonlyDeep<T> = {\r\n readonly [K in keyof T]: ReadonlyDeep<T[K]>;\r\n};\r\n\r\ndeclare type ReadonlyDeep_2<O> = {\r\n +readonly [K in keyof O]: ReadonlyDeep_2<O[K]>;\r\n};\r\n\r\ndeclare type Record_2<T extends string | number | symbol, U> = {\r\n [P in T]: U;\r\n};\r\nexport { Record_2 as Record }\r\n\r\nexport declare type RenameAndNestPayloadKeys<P> = {\r\n [K in keyof P as K extends 'scalars' | 'objects' | 'composites' ? keyof P[K] : never]: P[K];\r\n};\r\n\r\ndeclare type RequestBatchOptions<InteractiveTransactionPayload> = {\r\n transaction?: TransactionOptions_3<InteractiveTransactionPayload>;\r\n traceparent?: string;\r\n numTry?: number;\r\n containsWrite: boolean;\r\n customDataProxyFetch?: CustomDataProxyFetch;\r\n};\r\n\r\ndeclare interface RequestError {\r\n error: string;\r\n user_facing_error: {\r\n is_panic: boolean;\r\n message: string;\r\n meta?: Record<string, unknown>;\r\n error_code?: string;\r\n batch_request_idx?: number;\r\n };\r\n}\r\n\r\ndeclare class RequestHandler {\r\n client: Client;\r\n dataloader: DataLoader<RequestParams>;\r\n private logEmitter?;\r\n constructor(client: Client, logEmitter?: LogEmitter);\r\n request(params: RequestParams): Promise<any>;\r\n mapQueryEngineResult({ dataPath, unpacker }: RequestParams, response: QueryEngineResultData<any>): any;\r\n /**\r\n * Handles the error and logs it, logging the error is done synchronously waiting for the event\r\n * handlers to finish.\r\n */\r\n handleAndLogRequestError(params: HandleErrorParams): never;\r\n handleRequestError({ error, clientMethod, callsite, transaction, args, modelName, globalOmit, }: HandleErrorParams): never;\r\n sanitizeMessage(message: any): any;\r\n unpack(data: unknown, dataPath: string[], unpacker?: Unpacker): any;\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\ndeclare type RequestOptions<InteractiveTransactionPayload> = {\r\n traceparent?: string;\r\n numTry?: number;\r\n interactiveTransaction?: InteractiveTransactionOptions<InteractiveTransactionPayload>;\r\n isWrite: boolean;\r\n customDataProxyFetch?: CustomDataProxyFetch;\r\n};\r\n\r\ndeclare type RequestParams = {\r\n modelName?: string;\r\n action: Action;\r\n protocolQuery: JsonQuery;\r\n dataPath: string[];\r\n clientMethod: string;\r\n callsite?: CallSite;\r\n transaction?: PrismaPromiseTransaction;\r\n extensions: MergedExtensionsList;\r\n args?: any;\r\n headers?: Record<string, string>;\r\n unpacker?: Unpacker;\r\n otelParentCtx?: Context;\r\n otelChildCtx?: Context;\r\n globalOmit?: GlobalOmitOptions;\r\n customDataProxyFetch?: CustomDataProxyFetch;\r\n};\r\n\r\ndeclare type RequiredExtensionArgs = NameArgs & ResultArgs & ModelArgs & ClientArgs & QueryOptions;\r\nexport { RequiredExtensionArgs }\r\nexport { RequiredExtensionArgs as UserArgs }\r\n\r\nexport declare type RequiredKeys<O> = {\r\n [K in keyof O]-?: {} extends Pick_2<O, K> ? never : K;\r\n}[keyof O];\r\n\r\ndeclare function resolveDatasourceUrl({ inlineDatasources, overrideDatasources, env, clientVersion, }: {\r\n inlineDatasources: GetPrismaClientConfig['inlineDatasources'];\r\n overrideDatasources: Datasources;\r\n env: Record<string, string | undefined>;\r\n clientVersion: string;\r\n}): string;\r\n\r\nexport declare type Result<T, A, F extends Operation> = T extends {\r\n [K: symbol]: {\r\n types: {\r\n payload: any;\r\n };\r\n };\r\n} ? GetResult<T[symbol]['types']['payload'], A, F> : GetResult<{\r\n composites: {};\r\n objects: {};\r\n scalars: {};\r\n name: '';\r\n}, {}, F>;\r\n\r\nexport declare type Result_2<T, A, F extends Operation> = Result<T, A, F>;\r\n\r\ndeclare namespace Result_3 {\r\n export {\r\n Count,\r\n GetFindResult,\r\n SelectablePayloadFields,\r\n SelectField,\r\n DefaultSelection,\r\n UnwrapPayload,\r\n ApplyOmit,\r\n OmitValue,\r\n GetCountResult,\r\n Aggregate,\r\n GetAggregateResult,\r\n GetBatchResult,\r\n GetGroupByResult,\r\n GetResult,\r\n ExtractGlobalOmit\r\n }\r\n}\r\n\r\ndeclare type Result_4<T> = {\r\n map<U>(fn: (value: T) => U): Result_4<U>;\r\n flatMap<U>(fn: (value: T) => Result_4<U>): Result_4<U>;\r\n} & ({\r\n readonly ok: true;\r\n readonly value: T;\r\n} | {\r\n readonly ok: false;\r\n readonly error: Error_2;\r\n});\r\n\r\nexport declare type ResultArg = {\r\n [FieldName in string]: ResultFieldDefinition;\r\n};\r\n\r\nexport declare type ResultArgs = {\r\n result: {\r\n [ModelName in string]: ResultArg;\r\n };\r\n};\r\n\r\nexport declare type ResultArgsFieldCompute = (model: any) => unknown;\r\n\r\nexport declare type ResultFieldDefinition = {\r\n needs?: {\r\n [FieldName in string]: boolean;\r\n };\r\n compute: ResultArgsFieldCompute;\r\n};\r\n\r\nexport declare type Return<T> = T extends (...args: any[]) => infer R ? R : T;\r\n\r\nexport declare type RuntimeDataModel = {\r\n readonly models: Record<string, RuntimeModel>;\r\n readonly enums: Record<string, RuntimeEnum>;\r\n readonly types: Record<string, RuntimeModel>;\r\n};\r\n\r\ndeclare type RuntimeEnum = Omit<DMMF_2.DatamodelEnum, 'name'>;\r\n\r\ndeclare type RuntimeModel = Omit<DMMF_2.Model, 'name'>;\r\n\r\ndeclare type RuntimeName = 'workerd' | 'deno' | 'netlify' | 'node' | 'bun' | 'edge-light' | '';\r\n\r\ndeclare type Schema = ReadonlyDeep_2<{\r\n rootQueryType?: string;\r\n rootMutationType?: string;\r\n inputObjectTypes: {\r\n model?: InputType[];\r\n prisma: InputType[];\r\n };\r\n outputObjectTypes: {\r\n model: OutputType[];\r\n prisma: OutputType[];\r\n };\r\n enumTypes: {\r\n model?: SchemaEnum[];\r\n prisma: SchemaEnum[];\r\n };\r\n fieldRefTypes: {\r\n prisma?: FieldRefType[];\r\n };\r\n}>;\r\n\r\ndeclare type SchemaArg = ReadonlyDeep_2<{\r\n name: string;\r\n comment?: string;\r\n isNullable: boolean;\r\n isRequired: boolean;\r\n inputTypes: InputTypeRef[];\r\n deprecation?: Deprecation;\r\n}>;\r\n\r\ndeclare type SchemaEnum = ReadonlyDeep_2<{\r\n name: string;\r\n values: string[];\r\n}>;\r\n\r\ndeclare type SchemaField = ReadonlyDeep_2<{\r\n name: string;\r\n isNullable?: boolean;\r\n outputType: OutputTypeRef;\r\n args: SchemaArg[];\r\n deprecation?: Deprecation;\r\n documentation?: string;\r\n}>;\r\n\r\nexport declare type Select<T, U> = T extends U ? T : never;\r\n\r\nexport declare type SelectablePayloadFields<K extends PropertyKey, O> = {\r\n objects: {\r\n [k in K]: O;\r\n };\r\n} | {\r\n composites: {\r\n [k in K]: O;\r\n };\r\n};\r\n\r\nexport declare type SelectField<P extends SelectablePayloadFields<any, any>, K extends PropertyKey> = P extends {\r\n objects: Record<K, any>;\r\n} ? P['objects'][K] : P extends {\r\n composites: Record<K, any>;\r\n} ? P['composites'][K] : never;\r\n\r\ndeclare type Selection_2 = Record<string, boolean | Skip | JsArgs>;\r\nexport { Selection_2 as Selection }\r\n\r\nexport declare function serializeJsonQuery({ modelName, action, args, runtimeDataModel, extensions, callsite, clientMethod, errorFormat, clientVersion, previewFeatures, globalOmit, }: SerializeParams): JsonQuery;\r\n\r\ndeclare type SerializeParams = {\r\n runtimeDataModel: RuntimeDataModel;\r\n modelName?: string;\r\n action: Action;\r\n args?: JsArgs;\r\n extensions?: MergedExtensionsList;\r\n callsite?: CallSite;\r\n clientMethod: string;\r\n clientVersion: string;\r\n errorFormat: ErrorFormat;\r\n previewFeatures: string[];\r\n globalOmit?: GlobalOmitOptions;\r\n};\r\n\r\ndeclare class Skip {\r\n constructor(param?: symbol);\r\n ifUndefined<T>(value: T | undefined): T | Skip;\r\n}\r\n\r\nexport declare const skip: Skip;\r\n\r\ndeclare type SortOrder = 'asc' | 'desc';\r\n\r\n/**\r\n * An interface that represents a span. A span represents a single operation\r\n * within a trace. Examples of span might include remote procedure calls or a\r\n * in-process function calls to sub-components. A Trace has a single, top-level\r\n * \"root\" Span that in turn may have zero or more child Spans, which in turn\r\n * may have children.\r\n *\r\n * Spans are created by the {@link Tracer.startSpan} method.\r\n */\r\ndeclare interface Span {\r\n /**\r\n * Returns the {@link SpanContext} object associated with this Span.\r\n *\r\n * Get an immutable, serializable identifier for this span that can be used\r\n * to create new child spans. Returned SpanContext is usable even after the\r\n * span ends.\r\n *\r\n * @returns the SpanContext object associated with this Span.\r\n */\r\n spanContext(): SpanContext;\r\n /**\r\n * Sets an attribute to the span.\r\n *\r\n * Sets a single Attribute with the key and value passed as arguments.\r\n *\r\n * @param key the key for this attribute.\r\n * @param value the value for this attribute. Setting a value null or\r\n * undefined is invalid and will result in undefined behavior.\r\n */\r\n setAttribute(key: string, value: SpanAttributeValue): this;\r\n /**\r\n * Sets attributes to the span.\r\n *\r\n * @param attributes the attributes that will be added.\r\n * null or undefined attribute values\r\n * are invalid and will result in undefined behavior.\r\n */\r\n setAttributes(attributes: SpanAttributes): this;\r\n /**\r\n * Adds an event to the Span.\r\n *\r\n * @param name the name of the event.\r\n * @param [attributesOrStartTime] the attributes that will be added; these are\r\n * associated with this event. Can be also a start time\r\n * if type is {@type TimeInput} and 3rd param is undefined\r\n * @param [startTime] start time of the event.\r\n */\r\n addEvent(name: string, attributesOrStartTime?: SpanAttributes | TimeInput, startTime?: TimeInput): this;\r\n /**\r\n * Adds a single link to the span.\r\n *\r\n * Links added after the creation will not affect the sampling decision.\r\n * It is preferred span links be added at span creation.\r\n *\r\n * @param link the link to add.\r\n */\r\n addLink(link: Link): this;\r\n /**\r\n * Adds multiple links to the span.\r\n *\r\n * Links added after the creation will not affect the sampling decision.\r\n * It is preferred span links be added at span creation.\r\n *\r\n * @param links the links to add.\r\n */\r\n addLinks(links: Link[]): this;\r\n /**\r\n * Sets a status to the span. If used, this will override the default Span\r\n * status. Default is {@link SpanStatusCode.UNSET}. SetStatus overrides the value\r\n * of previous calls to SetStatus on the Span.\r\n *\r\n * @param status the SpanStatus to set.\r\n */\r\n setStatus(status: SpanStatus): this;\r\n /**\r\n * Updates the Span name.\r\n *\r\n * This will override the name provided via {@link Tracer.startSpan}.\r\n *\r\n * Upon this update, any sampling behavior based on Span name will depend on\r\n * the implementation.\r\n *\r\n * @param name the Span name.\r\n */\r\n updateName(name: string): this;\r\n /**\r\n * Marks the end of Span execution.\r\n *\r\n * Call to End of a Span MUST not have any effects on child spans. Those may\r\n * still be running and can be ended later.\r\n *\r\n * Do not return `this`. The Span generally should not be used after it\r\n * is ended so chaining is not desired in this context.\r\n *\r\n * @param [endTime] the time to set as Span's end time. If not provided,\r\n * use the current time as the span's end time.\r\n */\r\n end(endTime?: TimeInput): void;\r\n /**\r\n * Returns the flag whether this span will be recorded.\r\n *\r\n * @returns true if this Span is active and recording information like events\r\n * with the `AddEvent` operation and attributes using `setAttributes`.\r\n */\r\n isRecording(): boolean;\r\n /**\r\n * Sets exception as a span event\r\n * @param exception the exception the only accepted values are string or Error\r\n * @param [time] the time to set as Span's event time. If not provided,\r\n * use the current time.\r\n */\r\n recordException(exception: Exception, time?: TimeInput): void;\r\n}\r\n\r\n/**\r\n * @deprecated please use {@link Attributes}\r\n */\r\ndeclare type SpanAttributes = Attributes;\r\n\r\n/**\r\n * @deprecated please use {@link AttributeValue}\r\n */\r\ndeclare type SpanAttributeValue = AttributeValue;\r\n\r\ndeclare type SpanCallback<R> = (span?: Span, context?: Context) => R;\r\n\r\n/**\r\n * A SpanContext represents the portion of a {@link Span} which must be\r\n * serialized and propagated along side of a {@link Baggage}.\r\n */\r\ndeclare interface SpanContext {\r\n /**\r\n * The ID of the trace that this span belongs to. It is worldwide unique\r\n * with practically sufficient probability by being made as 16 randomly\r\n * generated bytes, encoded as a 32 lowercase hex characters corresponding to\r\n * 128 bits.\r\n */\r\n traceId: string;\r\n /**\r\n * The ID of the Span. It is globally unique with practically sufficient\r\n * probability by being made as 8 randomly generated bytes, encoded as a 16\r\n * lowercase hex characters corresponding to 64 bits.\r\n */\r\n spanId: string;\r\n /**\r\n * Only true if the SpanContext was propagated from a remote parent.\r\n */\r\n isRemote?: boolean;\r\n /**\r\n * Trace flags to propagate.\r\n *\r\n * It is represented as 1 byte (bitmap). Bit to represent whether trace is\r\n * sampled or not. When set, the least significant bit documents that the\r\n * caller may have recorded trace data. A caller who does not record trace\r\n * data out-of-band leaves this flag unset.\r\n *\r\n * see {@link TraceFlags} for valid flag values.\r\n */\r\n traceFlags: number;\r\n /**\r\n * Tracing-system-specific info to propagate.\r\n *\r\n * The tracestate field value is a `list` as defined below. The `list` is a\r\n * series of `list-members` separated by commas `,`, and a list-member is a\r\n * key/value pair separated by an equals sign `=`. Spaces and horizontal tabs\r\n * surrounding `list-members` are ignored. There can be a maximum of 32\r\n * `list-members` in a `list`.\r\n * More Info: https://www.w3.org/TR/trace-context/#tracestate-field\r\n *\r\n * Examples:\r\n * Single tracing system (generic format):\r\n * tracestate: rojo=00f067aa0ba902b7\r\n * Multiple tracing systems (with different formatting):\r\n * tracestate: rojo=00f067aa0ba902b7,congo=t61rcWkgMzE\r\n */\r\n traceState?: TraceState;\r\n}\r\n\r\ndeclare enum SpanKind {\r\n /** Default value. Indicates that the span is used internally. */\r\n INTERNAL = 0,\r\n /**\r\n * Indicates that the span covers server-side handling of an RPC or other\r\n * remote request.\r\n */\r\n SERVER = 1,\r\n /**\r\n * Indicates that the span covers the client-side wrapper around an RPC or\r\n * other remote request.\r\n */\r\n CLIENT = 2,\r\n /**\r\n * Indicates that the span describes producer sending a message to a\r\n * broker. Unlike client and server, there is no direct critical path latency\r\n * relationship between producer and consumer spans.\r\n */\r\n PRODUCER = 3,\r\n /**\r\n * Indicates that the span describes consumer receiving a message from a\r\n * broker. Unlike client and server, there is no direct critical path latency\r\n * relationship between producer and consumer spans.\r\n */\r\n CONSUMER = 4\r\n}\r\n\r\n/**\r\n * Options needed for span creation\r\n */\r\ndeclare interface SpanOptions {\r\n /**\r\n * The SpanKind of a span\r\n * @default {@link SpanKind.INTERNAL}\r\n */\r\n kind?: SpanKind;\r\n /** A span's attributes */\r\n attributes?: SpanAttributes;\r\n /** {@link Link}s span to other spans */\r\n links?: Link[];\r\n /** A manually specified start time for the created `Span` object. */\r\n startTime?: TimeInput;\r\n /** The new span should be a root span. (Ignore parent from context). */\r\n root?: boolean;\r\n}\r\n\r\ndeclare interface SpanStatus {\r\n /** The status code of this message. */\r\n code: SpanStatusCode;\r\n /** A developer-facing error message. */\r\n message?: string;\r\n}\r\n\r\n/**\r\n * An enumeration of status codes.\r\n */\r\ndeclare enum SpanStatusCode {\r\n /**\r\n * The default status.\r\n */\r\n UNSET = 0,\r\n /**\r\n * The operation has been validated by an Application developer or\r\n * Operator to have completed successfully.\r\n */\r\n OK = 1,\r\n /**\r\n * The operation contains an error.\r\n */\r\n ERROR = 2\r\n}\r\n\r\n/**\r\n * A SQL instance can be nested within each other to build SQL strings.\r\n */\r\nexport declare class Sql {\r\n readonly values: Value[];\r\n readonly strings: string[];\r\n constructor(rawStrings: readonly string[], rawValues: readonly RawValue[]);\r\n get sql(): string;\r\n get statement(): string;\r\n get text(): string;\r\n inspect(): {\r\n sql: string;\r\n statement: string;\r\n text: string;\r\n values: unknown[];\r\n };\r\n}\r\n\r\ndeclare interface SqlDriverAdapter extends SqlQueryable {\r\n /**\r\n * Execute multiple SQL statements separated by semicolon.\r\n */\r\n executeScript(script: string): Promise<void>;\r\n /**\r\n * Start new transaction.\r\n */\r\n startTransaction(isolationLevel?: IsolationLevel): Promise<Transaction>;\r\n /**\r\n * Optional method that returns extra connection info\r\n */\r\n getConnectionInfo?(): ConnectionInfo;\r\n /**\r\n * Dispose of the connection and release any resources.\r\n */\r\n dispose(): Promise<void>;\r\n}\r\n\r\nexport declare interface SqlDriverAdapterFactory extends DriverAdapterFactory<SqlQuery, SqlResultSet> {\r\n connect(): Promise<SqlDriverAdapter>;\r\n}\r\n\r\ndeclare type SqlQuery = {\r\n sql: string;\r\n args: Array<unknown>;\r\n argTypes: Array<ArgType>;\r\n};\r\n\r\ndeclare interface SqlQueryable extends Queryable<SqlQuery, SqlResultSet> {\r\n}\r\n\r\ndeclare interface SqlResultSet {\r\n /**\r\n * List of column types appearing in a database query, in the same order as `columnNames`.\r\n * They are used within the Query Engine to convert values from JS to Quaint values.\r\n */\r\n columnTypes: Array<ColumnType>;\r\n /**\r\n * List of column names appearing in a database query, in the same order as `columnTypes`.\r\n */\r\n columnNames: Array<string>;\r\n /**\r\n * List of rows retrieved from a database query.\r\n * Each row is a list of values, whose length matches `columnNames` and `columnTypes`.\r\n */\r\n rows: Array<Array<unknown>>;\r\n /**\r\n * The last ID of an `INSERT` statement, if any.\r\n * This is required for `AUTO_INCREMENT` columns in databases based on MySQL and SQLite.\r\n */\r\n lastInsertId?: string;\r\n}\r\n\r\n/**\r\n * Create a SQL object from a template string.\r\n */\r\nexport declare function sqltag(strings: readonly string[], ...values: readonly RawValue[]): Sql;\r\n\r\n/**\r\n * Defines TimeInput.\r\n *\r\n * hrtime, epoch milliseconds, performance.now() or Date\r\n */\r\ndeclare type TimeInput = HrTime_2 | number | Date;\r\n\r\nexport declare type ToTuple<T> = T extends any[] ? T : [T];\r\n\r\ndeclare interface TraceState {\r\n /**\r\n * Create a new TraceState which inherits from this TraceState and has the\r\n * given key set.\r\n * The new entry will always be added in the front of the list of states.\r\n *\r\n * @param key key of the TraceState entry.\r\n * @param value value of the TraceState entry.\r\n */\r\n set(key: string, value: string): TraceState;\r\n /**\r\n * Return a new TraceState which inherits from this TraceState but does not\r\n * contain the given key.\r\n *\r\n * @param key the key for the TraceState entry to be removed.\r\n */\r\n unset(key: string): TraceState;\r\n /**\r\n * Returns the value to which the specified key is mapped, or `undefined` if\r\n * this map contains no mapping for the key.\r\n *\r\n * @param key with which the specified value is to be associated.\r\n * @returns the value to which the specified key is mapped, or `undefined` if\r\n * this map contains no mapping for the key.\r\n */\r\n get(key: string): string | undefined;\r\n /**\r\n * Serializes the TraceState to a `list` as defined below. The `list` is a\r\n * series of `list-members` separated by commas `,`, and a list-member is a\r\n * key/value pair separated by an equals sign `=`. Spaces and horizontal tabs\r\n * surrounding `list-members` are ignored. There can be a maximum of 32\r\n * `list-members` in a `list`.\r\n *\r\n * @returns the serialized string.\r\n */\r\n serialize(): string;\r\n}\r\n\r\ndeclare interface TracingHelper {\r\n isEnabled(): boolean;\r\n getTraceParent(context?: Context): string;\r\n dispatchEngineSpans(spans: EngineSpan[]): void;\r\n getActiveContext(): Context | undefined;\r\n runInChildSpan<R>(nameOrOptions: string | ExtendedSpanOptions, callback: SpanCallback<R>): R;\r\n}\r\n\r\ndeclare interface Transaction extends AdapterInfo, SqlQueryable {\r\n /**\r\n * Transaction options.\r\n */\r\n readonly options: TransactionOptions;\r\n /**\r\n * Commit the transaction.\r\n */\r\n commit(): Promise<void>;\r\n /**\r\n * Roll back the transaction.\r\n */\r\n rollback(): Promise<void>;\r\n}\r\n\r\ndeclare namespace Transaction_2 {\r\n export {\r\n TransactionOptions_2 as Options,\r\n InteractiveTransactionInfo,\r\n TransactionHeaders\r\n }\r\n}\r\n\r\ndeclare type TransactionHeaders = {\r\n traceparent?: string;\r\n};\r\n\r\ndeclare type TransactionOptions = {\r\n usePhantomQuery: boolean;\r\n};\r\n\r\ndeclare type TransactionOptions_2 = {\r\n maxWait?: number;\r\n timeout?: number;\r\n isolationLevel?: IsolationLevel;\r\n};\r\n\r\ndeclare type TransactionOptions_3<InteractiveTransactionPayload> = {\r\n kind: 'itx';\r\n options: InteractiveTransactionOptions<InteractiveTransactionPayload>;\r\n} | {\r\n kind: 'batch';\r\n options: BatchTransactionOptions;\r\n};\r\n\r\nexport declare class TypedSql<Values extends readonly unknown[], Result> {\r\n [PrivateResultType]: Result;\r\n constructor(sql: string, values: Values);\r\n get sql(): string;\r\n get values(): Values;\r\n}\r\n\r\nexport declare type TypeMapCbDef = Fn<{\r\n extArgs: InternalArgs;\r\n}, TypeMapDef>;\r\n\r\n/** Shared */\r\nexport declare type TypeMapDef = Record<any, any>;\r\n\r\ndeclare type TypeRef<AllowedLocations extends FieldLocation> = {\r\n isList: boolean;\r\n type: string;\r\n location: AllowedLocations;\r\n namespace?: FieldNamespace;\r\n};\r\n\r\ndeclare namespace Types {\r\n export {\r\n Result_3 as Result,\r\n Extensions_2 as Extensions,\r\n Utils,\r\n Public_2 as Public,\r\n isSkip,\r\n Skip,\r\n skip,\r\n UnknownTypedSql,\r\n OperationPayload as Payload\r\n }\r\n}\r\nexport { Types }\r\n\r\ndeclare type uniqueIndex = ReadonlyDeep_2<{\r\n name: string;\r\n fields: string[];\r\n}>;\r\n\r\ndeclare type UnknownErrorParams = {\r\n clientVersion: string;\r\n batchRequestIdx?: number;\r\n};\r\n\r\nexport declare type UnknownTypedSql = TypedSql<unknown[], unknown>;\r\n\r\ndeclare type Unpacker = (data: any) => any;\r\n\r\nexport declare type UnwrapPayload<P> = {} extends P ? unknown : {\r\n [K in keyof P]: P[K] extends {\r\n scalars: infer S;\r\n composites: infer C;\r\n }[] ? Array<S & UnwrapPayload<C>> : P[K] extends {\r\n scalars: infer S;\r\n composites: infer C;\r\n } | null ? S & UnwrapPayload<C> | Select<P[K], null> : never;\r\n};\r\n\r\nexport declare type UnwrapPromise<P> = P extends Promise<infer R> ? R : P;\r\n\r\nexport declare type UnwrapTuple<Tuple extends readonly unknown[]> = {\r\n [K in keyof Tuple]: K extends `${number}` ? Tuple[K] extends PrismaPromise<infer X> ? X : UnwrapPromise<Tuple[K]> : UnwrapPromise<Tuple[K]>;\r\n};\r\n\r\n/**\r\n * Input that flows from the user into the Client.\r\n */\r\ndeclare type UserArgs_2 = any;\r\n\r\ndeclare namespace Utils {\r\n export {\r\n EmptyToUnknown,\r\n NeverToUnknown,\r\n PatchFlat,\r\n Omit_2 as Omit,\r\n Pick_2 as Pick,\r\n ComputeDeep,\r\n Compute,\r\n OptionalFlat,\r\n ReadonlyDeep,\r\n Narrowable,\r\n Narrow,\r\n Exact,\r\n Cast,\r\n Record_2 as Record,\r\n UnwrapPromise,\r\n UnwrapTuple,\r\n Path,\r\n Fn,\r\n Call,\r\n RequiredKeys,\r\n OptionalKeys,\r\n Optional,\r\n Return,\r\n ToTuple,\r\n RenameAndNestPayloadKeys,\r\n PayloadToResult,\r\n Select,\r\n Equals,\r\n Or,\r\n JsPromise\r\n }\r\n}\r\n\r\ndeclare function validator<V>(): <S>(select: Exact<S, V>) => S;\r\n\r\ndeclare function validator<C, M extends Exclude<keyof C, `$${string}`>, O extends keyof C[M] & Operation>(client: C, model: M, operation: O): <S>(select: Exact<S, Args<C[M], O>>) => S;\r\n\r\ndeclare function validator<C, M extends Exclude<keyof C, `$${string}`>, O extends keyof C[M] & Operation, P extends keyof Args<C[M], O>>(client: C, model: M, operation: O, prop: P): <S>(select: Exact<S, Args<C[M], O>[P]>) => S;\r\n\r\n/**\r\n * Values supported by SQL engine.\r\n */\r\nexport declare type Value = unknown;\r\n\r\nexport declare function warnEnvConflicts(envPaths: any): void;\r\n\r\nexport declare const warnOnce: (key: string, message: string, ...args: unknown[]) => void;\r\n\r\nexport { }\r\n",
12561
+ "node_modules/@prisma/client/runtime/client.d.ts": "/**\r\n * @param this\r\n */\r\ndeclare function $extends(this: Client, extension: ExtensionArgs | ((client: Client) => Client)): Client;\r\n\r\ndeclare type AccelerateEngineConfig = {\r\n inlineSchema: EngineConfig['inlineSchema'];\r\n inlineSchemaHash: EngineConfig['inlineSchemaHash'];\r\n env: EngineConfig['env'];\r\n generator?: {\r\n previewFeatures: string[];\r\n };\r\n inlineDatasources: EngineConfig['inlineDatasources'];\r\n overrideDatasources: EngineConfig['overrideDatasources'];\r\n clientVersion: EngineConfig['clientVersion'];\r\n engineVersion: EngineConfig['engineVersion'];\r\n logEmitter: EngineConfig['logEmitter'];\r\n logQueries?: EngineConfig['logQueries'];\r\n logLevel?: EngineConfig['logLevel'];\r\n tracingHelper: EngineConfig['tracingHelper'];\r\n accelerateUtils?: AccelerateUtils;\r\n};\r\n\r\n/**\r\n * A stripped down interface of `fetch` that `@prisma/extension-accelerate`\r\n * relies on. It must be in sync with the corresponding definition in the\r\n * Accelerate extension.\r\n *\r\n * This is the actual interface exposed by the extension. We can't use the\r\n * custom fetch function provided by it as normal fetch because the API is\r\n * different. Notably, `headers` must be an object and not a `Headers`\r\n * instance, and `url` must be a `string` and not a `URL`.\r\n *\r\n * The return type is `Response` but we can't specify this in an exported type\r\n * because it would end up referencing external types from `@types/node` or DOM\r\n * which can fail typechecking depending on TypeScript configuration in a user's\r\n * project.\r\n */\r\ndeclare type AccelerateExtensionFetch = (url: string, options: {\r\n body?: string;\r\n method?: string;\r\n headers: Record<string, string>;\r\n}) => Promise<unknown>;\r\n\r\ndeclare type AccelerateExtensionFetchDecorator = (fetch: AccelerateExtensionFetch) => AccelerateExtensionFetch;\r\n\r\ndeclare type AccelerateUtils = EngineConfig['accelerateUtils'];\r\n\r\nexport declare type Action = keyof typeof DMMF_2.ModelAction | 'executeRaw' | 'queryRaw' | 'runCommandRaw';\r\n\r\ndeclare type ActiveConnectorType = Exclude<ConnectorType, 'postgres' | 'prisma+postgres'>;\r\n\r\n/**\r\n * An interface that exposes some basic information about the\r\n * adapter like its name and provider type.\r\n */\r\ndeclare interface AdapterInfo {\r\n readonly provider: Provider;\r\n readonly adapterName: (typeof officialPrismaAdapters)[number] | (string & {});\r\n}\r\n\r\nexport declare type Aggregate = '_count' | '_max' | '_min' | '_avg' | '_sum';\r\n\r\nexport declare type AllModelsToStringIndex<TypeMap extends TypeMapDef, Args extends Record<string, any>, K extends PropertyKey> = Args extends {\r\n [P in K]: {\r\n $allModels: infer AllModels;\r\n };\r\n} ? {\r\n [P in K]: Record<TypeMap['meta']['modelProps'], AllModels>;\r\n} : {};\r\n\r\ndeclare class AnyNull extends NullTypesEnumValue {\r\n #private;\r\n}\r\n\r\nexport declare type ApplyOmit<T, OmitConfig> = Compute<{\r\n [K in keyof T as OmitValue<OmitConfig, K> extends true ? never : K]: T[K];\r\n}>;\r\n\r\nexport declare type Args<T, F extends Operation> = T extends {\r\n [K: symbol]: {\r\n types: {\r\n operations: {\r\n [K in F]: {\r\n args: any;\r\n };\r\n };\r\n };\r\n };\r\n} ? T[symbol]['types']['operations'][F]['args'] : any;\r\n\r\nexport declare type Args_3<T, F extends Operation> = Args<T, F>;\r\n\r\ndeclare type ArgScalarType = 'string' | 'int' | 'bigint' | 'float' | 'decimal' | 'boolean' | 'enum' | 'uuid' | 'json' | 'datetime' | 'bytes' | 'unknown';\r\n\r\ndeclare type ArgType = {\r\n scalarType: ArgScalarType;\r\n dbType?: string;\r\n arity: Arity;\r\n};\r\n\r\ndeclare type Arity = 'scalar' | 'list';\r\n\r\n/**\r\n * Attributes is a map from string to attribute values.\r\n *\r\n * Note: only the own enumerable keys are counted as valid attribute keys.\r\n */\r\ndeclare interface Attributes {\r\n [attributeKey: string]: AttributeValue | undefined;\r\n}\r\n\r\n/**\r\n * Attribute values may be any non-nullish primitive value except an object.\r\n *\r\n * null or undefined attribute values are invalid and will result in undefined behavior.\r\n */\r\ndeclare type AttributeValue = string | number | boolean | Array<null | undefined | string> | Array<null | undefined | number> | Array<null | undefined | boolean>;\r\n\r\nexport declare type BaseDMMF = {\r\n readonly datamodel: Omit<DMMF_2.Datamodel, 'indexes'>;\r\n};\r\n\r\ndeclare type BatchArgs = {\r\n queries: BatchQuery[];\r\n transaction?: {\r\n isolationLevel?: IsolationLevel_2;\r\n };\r\n};\r\n\r\ndeclare type BatchInternalParams = {\r\n requests: RequestParams[];\r\n customDataProxyFetch?: AccelerateExtensionFetchDecorator;\r\n};\r\n\r\ndeclare type BatchQuery = {\r\n model: string | undefined;\r\n operation: string;\r\n args: JsArgs | RawQueryArgs;\r\n};\r\n\r\ndeclare type BatchQueryEngineResult<T> = QueryEngineResultData<T> | Error;\r\n\r\ndeclare type BatchQueryOptionsCb = (args: BatchQueryOptionsCbArgs) => Promise<any>;\r\n\r\ndeclare type BatchQueryOptionsCbArgs = {\r\n args: BatchArgs;\r\n query: (args: BatchArgs, __internalParams?: BatchInternalParams) => Promise<unknown[]>;\r\n __internalParams: BatchInternalParams;\r\n};\r\n\r\ndeclare type BatchResponse = MultiBatchResponse | CompactedBatchResponse;\r\n\r\ndeclare type BatchTransactionOptions = {\r\n isolationLevel?: Transaction_2.IsolationLevel;\r\n};\r\n\r\ndeclare interface BinaryTargetsEnvValue {\r\n fromEnvVar: string | null;\r\n value: string;\r\n native?: boolean;\r\n}\r\n\r\nexport declare type Call<F extends Fn, P> = (F & {\r\n params: P;\r\n})['returns'];\r\n\r\ndeclare interface CallSite {\r\n getLocation(): LocationInFile | null;\r\n}\r\n\r\nexport declare type Cast<A, W> = A extends W ? A : W;\r\n\r\ndeclare type Client = ReturnType<typeof getPrismaClient> extends new () => infer T ? T : never;\r\n\r\nexport declare type ClientArg = {\r\n [MethodName in string]: unknown;\r\n};\r\n\r\nexport declare type ClientArgs = {\r\n client: ClientArg;\r\n};\r\n\r\nexport declare type ClientBuiltInProp = keyof DynamicClientExtensionThisBuiltin<never, never, never>;\r\n\r\nexport declare type ClientOptionDef = undefined | {\r\n [K in string]: any;\r\n};\r\n\r\nexport declare type ClientOtherOps = {\r\n $queryRaw<T = unknown>(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise<T>;\r\n $queryRawTyped<T>(query: TypedSql<unknown[], T>): PrismaPromise<T[]>;\r\n $queryRawUnsafe<T = unknown>(query: string, ...values: any[]): PrismaPromise<T>;\r\n $executeRaw(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise<number>;\r\n $executeRawUnsafe(query: string, ...values: any[]): PrismaPromise<number>;\r\n $runCommandRaw(command: InputJsonObject): PrismaPromise<JsonObject>;\r\n};\r\n\r\ndeclare type ColumnType = (typeof ColumnTypeEnum)[keyof typeof ColumnTypeEnum];\r\n\r\ndeclare const ColumnTypeEnum: {\r\n readonly Int32: 0;\r\n readonly Int64: 1;\r\n readonly Float: 2;\r\n readonly Double: 3;\r\n readonly Numeric: 4;\r\n readonly Boolean: 5;\r\n readonly Character: 6;\r\n readonly Text: 7;\r\n readonly Date: 8;\r\n readonly Time: 9;\r\n readonly DateTime: 10;\r\n readonly Json: 11;\r\n readonly Enum: 12;\r\n readonly Bytes: 13;\r\n readonly Set: 14;\r\n readonly Uuid: 15;\r\n readonly Int32Array: 64;\r\n readonly Int64Array: 65;\r\n readonly FloatArray: 66;\r\n readonly DoubleArray: 67;\r\n readonly NumericArray: 68;\r\n readonly BooleanArray: 69;\r\n readonly CharacterArray: 70;\r\n readonly TextArray: 71;\r\n readonly DateArray: 72;\r\n readonly TimeArray: 73;\r\n readonly DateTimeArray: 74;\r\n readonly JsonArray: 75;\r\n readonly EnumArray: 76;\r\n readonly BytesArray: 77;\r\n readonly UuidArray: 78;\r\n readonly UnknownNumber: 128;\r\n};\r\n\r\ndeclare type CompactedBatchResponse = {\r\n type: 'compacted';\r\n plan: QueryPlanNode;\r\n arguments: Record<string, {}>[];\r\n nestedSelection: string[];\r\n keys: string[];\r\n expectNonEmpty: boolean;\r\n};\r\n\r\ndeclare type CompilerWasmLoadingConfig = {\r\n /**\r\n * WASM-bindgen runtime for corresponding module\r\n */\r\n getRuntime: () => Promise<{\r\n __wbg_set_wasm(exports: unknown): void;\r\n QueryCompiler: QueryCompilerConstructor;\r\n }>;\r\n /**\r\n * Loads the raw wasm module for the wasm compiler engine. This configuration is\r\n * generated specifically for each type of client, eg. Node.js client and Edge\r\n * clients will have different implementations.\r\n * @remarks this is a callback on purpose, we only load the wasm if needed.\r\n * @remarks only used by ClientEngine\r\n */\r\n getQueryCompilerWasmModule: () => Promise<unknown>;\r\n};\r\n\r\nexport declare type Compute<T> = T extends Function ? T : {\r\n [K in keyof T]: T[K];\r\n} & unknown;\r\n\r\nexport declare type ComputeDeep<T> = T extends Function ? T : {\r\n [K in keyof T]: ComputeDeep<T[K]>;\r\n} & unknown;\r\n\r\ndeclare type ComputedField = {\r\n name: string;\r\n needs: string[];\r\n compute: ResultArgsFieldCompute;\r\n};\r\n\r\ndeclare type ComputedFieldsMap = {\r\n [fieldName: string]: ComputedField;\r\n};\r\n\r\ndeclare type ConnectionInfo = {\r\n schemaName?: string;\r\n maxBindValues?: number;\r\n supportsRelationJoins: boolean;\r\n};\r\n\r\ndeclare type ConnectorType = 'mysql' | 'mongodb' | 'sqlite' | 'postgresql' | 'postgres' | 'prisma+postgres' | 'sqlserver' | 'cockroachdb';\r\n\r\ndeclare interface Context {\r\n /**\r\n * Get a value from the context.\r\n *\r\n * @param key key which identifies a context value\r\n */\r\n getValue(key: symbol): unknown;\r\n /**\r\n * Create a new context which inherits from this context and has\r\n * the given key set to the given value.\r\n *\r\n * @param key context key for which to set the value\r\n * @param value value to set for the given key\r\n */\r\n setValue(key: symbol, value: unknown): Context;\r\n /**\r\n * Return a new context which inherits from this context but does\r\n * not contain a value for the given key.\r\n *\r\n * @param key context key for which to clear a value\r\n */\r\n deleteValue(key: symbol): Context;\r\n}\r\n\r\ndeclare type Context_2<T> = T extends {\r\n [K: symbol]: {\r\n ctx: infer C;\r\n };\r\n} ? C & T & {\r\n /**\r\n * @deprecated Use `$name` instead.\r\n */\r\n name?: string;\r\n $name?: string;\r\n $parent?: unknown;\r\n} : T & {\r\n /**\r\n * @deprecated Use `$name` instead.\r\n */\r\n name?: string;\r\n $name?: string;\r\n $parent?: unknown;\r\n};\r\n\r\nexport declare type Count<O> = {\r\n [K in keyof O]: Count<number>;\r\n} & {};\r\n\r\nexport declare function createParam(name: string): Param<unknown, string>;\r\n\r\ndeclare class DataLoader<T = unknown> {\r\n private options;\r\n batches: {\r\n [key: string]: Job[];\r\n };\r\n private tickActive;\r\n constructor(options: DataLoaderOptions<T>);\r\n request(request: T): Promise<any>;\r\n private dispatchBatches;\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\ndeclare type DataLoaderOptions<T> = {\r\n singleLoader: (request: T) => Promise<any>;\r\n batchLoader: (request: T[]) => Promise<any[]>;\r\n batchBy: (request: T) => string | undefined;\r\n batchOrder: (requestA: T, requestB: T) => number;\r\n};\r\n\r\ndeclare type Datamodel = ReadonlyDeep_2<{\r\n models: Model[];\r\n enums: DatamodelEnum[];\r\n types: Model[];\r\n indexes: Index[];\r\n}>;\r\n\r\ndeclare type DatamodelEnum = ReadonlyDeep_2<{\r\n name: string;\r\n values: EnumValue[];\r\n dbName?: string | null;\r\n documentation?: string;\r\n}>;\r\n\r\ndeclare function datamodelEnumToSchemaEnum(datamodelEnum: DatamodelEnum): SchemaEnum;\r\n\r\ndeclare type DataRule = {\r\n type: 'rowCountEq';\r\n args: number;\r\n} | {\r\n type: 'rowCountNeq';\r\n args: number;\r\n} | {\r\n type: 'affectedRowCountEq';\r\n args: number;\r\n} | {\r\n type: 'never';\r\n};\r\n\r\ndeclare type Datasource = {\r\n url?: string;\r\n};\r\n\r\ndeclare type Datasources = {\r\n [name in string]: Datasource;\r\n};\r\n\r\ndeclare class DbNull extends NullTypesEnumValue {\r\n #private;\r\n}\r\n\r\nexport declare const Debug: typeof debugCreate & {\r\n enable(namespace: any): void;\r\n disable(): any;\r\n enabled(namespace: string): boolean;\r\n log: (...args: string[]) => void;\r\n formatters: {};\r\n};\r\n\r\n/**\r\n * Create a new debug instance with the given namespace.\r\n *\r\n * @example\r\n * ```ts\r\n * import Debug from '@prisma/debug'\r\n * const debug = Debug('prisma:client')\r\n * debug('Hello World')\r\n * ```\r\n */\r\ndeclare function debugCreate(namespace: string): ((...args: any[]) => void) & {\r\n color: string;\r\n enabled: boolean;\r\n namespace: string;\r\n log: (...args: string[]) => void;\r\n extend: () => void;\r\n};\r\n\r\nexport declare function Decimal(n: Decimal.Value): Decimal;\r\n\r\nexport declare namespace Decimal {\r\n export type Constructor = typeof Decimal;\r\n export type Instance = Decimal;\r\n export type Rounding = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;\r\n export type Modulo = Rounding | 9;\r\n export type Value = string | number | Decimal;\r\n\r\n // http://mikemcl.github.io/decimal.js/#constructor-properties\r\n export interface Config {\r\n precision?: number;\r\n rounding?: Rounding;\r\n toExpNeg?: number;\r\n toExpPos?: number;\r\n minE?: number;\r\n maxE?: number;\r\n crypto?: boolean;\r\n modulo?: Modulo;\r\n defaults?: boolean;\r\n }\r\n}\r\n\r\nexport declare class Decimal {\r\n readonly d: number[];\r\n readonly e: number;\r\n readonly s: number;\r\n\r\n constructor(n: Decimal.Value);\r\n\r\n absoluteValue(): Decimal;\r\n abs(): Decimal;\r\n\r\n ceil(): Decimal;\r\n\r\n clampedTo(min: Decimal.Value, max: Decimal.Value): Decimal;\r\n clamp(min: Decimal.Value, max: Decimal.Value): Decimal;\r\n\r\n comparedTo(n: Decimal.Value): number;\r\n cmp(n: Decimal.Value): number;\r\n\r\n cosine(): Decimal;\r\n cos(): Decimal;\r\n\r\n cubeRoot(): Decimal;\r\n cbrt(): Decimal;\r\n\r\n decimalPlaces(): number;\r\n dp(): number;\r\n\r\n dividedBy(n: Decimal.Value): Decimal;\r\n div(n: Decimal.Value): Decimal;\r\n\r\n dividedToIntegerBy(n: Decimal.Value): Decimal;\r\n divToInt(n: Decimal.Value): Decimal;\r\n\r\n equals(n: Decimal.Value): boolean;\r\n eq(n: Decimal.Value): boolean;\r\n\r\n floor(): Decimal;\r\n\r\n greaterThan(n: Decimal.Value): boolean;\r\n gt(n: Decimal.Value): boolean;\r\n\r\n greaterThanOrEqualTo(n: Decimal.Value): boolean;\r\n gte(n: Decimal.Value): boolean;\r\n\r\n hyperbolicCosine(): Decimal;\r\n cosh(): Decimal;\r\n\r\n hyperbolicSine(): Decimal;\r\n sinh(): Decimal;\r\n\r\n hyperbolicTangent(): Decimal;\r\n tanh(): Decimal;\r\n\r\n inverseCosine(): Decimal;\r\n acos(): Decimal;\r\n\r\n inverseHyperbolicCosine(): Decimal;\r\n acosh(): Decimal;\r\n\r\n inverseHyperbolicSine(): Decimal;\r\n asinh(): Decimal;\r\n\r\n inverseHyperbolicTangent(): Decimal;\r\n atanh(): Decimal;\r\n\r\n inverseSine(): Decimal;\r\n asin(): Decimal;\r\n\r\n inverseTangent(): Decimal;\r\n atan(): Decimal;\r\n\r\n isFinite(): boolean;\r\n\r\n isInteger(): boolean;\r\n isInt(): boolean;\r\n\r\n isNaN(): boolean;\r\n\r\n isNegative(): boolean;\r\n isNeg(): boolean;\r\n\r\n isPositive(): boolean;\r\n isPos(): boolean;\r\n\r\n isZero(): boolean;\r\n\r\n lessThan(n: Decimal.Value): boolean;\r\n lt(n: Decimal.Value): boolean;\r\n\r\n lessThanOrEqualTo(n: Decimal.Value): boolean;\r\n lte(n: Decimal.Value): boolean;\r\n\r\n logarithm(n?: Decimal.Value): Decimal;\r\n log(n?: Decimal.Value): Decimal;\r\n\r\n minus(n: Decimal.Value): Decimal;\r\n sub(n: Decimal.Value): Decimal;\r\n\r\n modulo(n: Decimal.Value): Decimal;\r\n mod(n: Decimal.Value): Decimal;\r\n\r\n naturalExponential(): Decimal;\r\n exp(): Decimal;\r\n\r\n naturalLogarithm(): Decimal;\r\n ln(): Decimal;\r\n\r\n negated(): Decimal;\r\n neg(): Decimal;\r\n\r\n plus(n: Decimal.Value): Decimal;\r\n add(n: Decimal.Value): Decimal;\r\n\r\n precision(includeZeros?: boolean): number;\r\n sd(includeZeros?: boolean): number;\r\n\r\n round(): Decimal;\r\n\r\n sine() : Decimal;\r\n sin() : Decimal;\r\n\r\n squareRoot(): Decimal;\r\n sqrt(): Decimal;\r\n\r\n tangent() : Decimal;\r\n tan() : Decimal;\r\n\r\n times(n: Decimal.Value): Decimal;\r\n mul(n: Decimal.Value) : Decimal;\r\n\r\n toBinary(significantDigits?: number): string;\r\n toBinary(significantDigits: number, rounding: Decimal.Rounding): string;\r\n\r\n toDecimalPlaces(decimalPlaces?: number): Decimal;\r\n toDecimalPlaces(decimalPlaces: number, rounding: Decimal.Rounding): Decimal;\r\n toDP(decimalPlaces?: number): Decimal;\r\n toDP(decimalPlaces: number, rounding: Decimal.Rounding): Decimal;\r\n\r\n toExponential(decimalPlaces?: number): string;\r\n toExponential(decimalPlaces: number, rounding: Decimal.Rounding): string;\r\n\r\n toFixed(decimalPlaces?: number): string;\r\n toFixed(decimalPlaces: number, rounding: Decimal.Rounding): string;\r\n\r\n toFraction(max_denominator?: Decimal.Value): Decimal[];\r\n\r\n toHexadecimal(significantDigits?: number): string;\r\n toHexadecimal(significantDigits: number, rounding: Decimal.Rounding): string;\r\n toHex(significantDigits?: number): string;\r\n toHex(significantDigits: number, rounding?: Decimal.Rounding): string;\r\n\r\n toJSON(): string;\r\n\r\n toNearest(n: Decimal.Value, rounding?: Decimal.Rounding): Decimal;\r\n\r\n toNumber(): number;\r\n\r\n toOctal(significantDigits?: number): string;\r\n toOctal(significantDigits: number, rounding: Decimal.Rounding): string;\r\n\r\n toPower(n: Decimal.Value): Decimal;\r\n pow(n: Decimal.Value): Decimal;\r\n\r\n toPrecision(significantDigits?: number): string;\r\n toPrecision(significantDigits: number, rounding: Decimal.Rounding): string;\r\n\r\n toSignificantDigits(significantDigits?: number): Decimal;\r\n toSignificantDigits(significantDigits: number, rounding: Decimal.Rounding): Decimal;\r\n toSD(significantDigits?: number): Decimal;\r\n toSD(significantDigits: number, rounding: Decimal.Rounding): Decimal;\r\n\r\n toString(): string;\r\n\r\n truncated(): Decimal;\r\n trunc(): Decimal;\r\n\r\n valueOf(): string;\r\n\r\n static abs(n: Decimal.Value): Decimal;\r\n static acos(n: Decimal.Value): Decimal;\r\n static acosh(n: Decimal.Value): Decimal;\r\n static add(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static asin(n: Decimal.Value): Decimal;\r\n static asinh(n: Decimal.Value): Decimal;\r\n static atan(n: Decimal.Value): Decimal;\r\n static atanh(n: Decimal.Value): Decimal;\r\n static atan2(y: Decimal.Value, x: Decimal.Value): Decimal;\r\n static cbrt(n: Decimal.Value): Decimal;\r\n static ceil(n: Decimal.Value): Decimal;\r\n static clamp(n: Decimal.Value, min: Decimal.Value, max: Decimal.Value): Decimal;\r\n static clone(object?: Decimal.Config): Decimal.Constructor;\r\n static config(object: Decimal.Config): Decimal.Constructor;\r\n static cos(n: Decimal.Value): Decimal;\r\n static cosh(n: Decimal.Value): Decimal;\r\n static div(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static exp(n: Decimal.Value): Decimal;\r\n static floor(n: Decimal.Value): Decimal;\r\n static hypot(...n: Decimal.Value[]): Decimal;\r\n static isDecimal(object: any): object is Decimal;\r\n static ln(n: Decimal.Value): Decimal;\r\n static log(n: Decimal.Value, base?: Decimal.Value): Decimal;\r\n static log2(n: Decimal.Value): Decimal;\r\n static log10(n: Decimal.Value): Decimal;\r\n static max(...n: Decimal.Value[]): Decimal;\r\n static min(...n: Decimal.Value[]): Decimal;\r\n static mod(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static mul(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static noConflict(): Decimal.Constructor; // Browser only\r\n static pow(base: Decimal.Value, exponent: Decimal.Value): Decimal;\r\n static random(significantDigits?: number): Decimal;\r\n static round(n: Decimal.Value): Decimal;\r\n static set(object: Decimal.Config): Decimal.Constructor;\r\n static sign(n: Decimal.Value): number;\r\n static sin(n: Decimal.Value): Decimal;\r\n static sinh(n: Decimal.Value): Decimal;\r\n static sqrt(n: Decimal.Value): Decimal;\r\n static sub(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static sum(...n: Decimal.Value[]): Decimal;\r\n static tan(n: Decimal.Value): Decimal;\r\n static tanh(n: Decimal.Value): Decimal;\r\n static trunc(n: Decimal.Value): Decimal;\r\n\r\n static readonly default?: Decimal.Constructor;\r\n static readonly Decimal?: Decimal.Constructor;\r\n\r\n static readonly precision: number;\r\n static readonly rounding: Decimal.Rounding;\r\n static readonly toExpNeg: number;\r\n static readonly toExpPos: number;\r\n static readonly minE: number;\r\n static readonly maxE: number;\r\n static readonly crypto: boolean;\r\n static readonly modulo: Decimal.Modulo;\r\n\r\n static readonly ROUND_UP: 0;\r\n static readonly ROUND_DOWN: 1;\r\n static readonly ROUND_CEIL: 2;\r\n static readonly ROUND_FLOOR: 3;\r\n static readonly ROUND_HALF_UP: 4;\r\n static readonly ROUND_HALF_DOWN: 5;\r\n static readonly ROUND_HALF_EVEN: 6;\r\n static readonly ROUND_HALF_CEIL: 7;\r\n static readonly ROUND_HALF_FLOOR: 8;\r\n static readonly EUCLID: 9;\r\n}\r\n\r\n/**\r\n * Interface for any Decimal.js-like library\r\n * Allows us to accept Decimal.js from different\r\n * versions and some compatible alternatives\r\n */\r\nexport declare interface DecimalJsLike {\r\n d: number[];\r\n e: number;\r\n s: number;\r\n toFixed(): string;\r\n}\r\n\r\nexport declare type DefaultArgs = InternalArgs<{}, {}, {}, {}>;\r\n\r\nexport declare type DefaultSelection<Payload extends OperationPayload, Args = {}, GlobalOmitOptions = {}> = Args extends {\r\n omit: infer LocalOmit;\r\n} ? ApplyOmit<UnwrapPayload<{\r\n default: Payload;\r\n}>['default'], PatchFlat<LocalOmit, ExtractGlobalOmit<GlobalOmitOptions, Uncapitalize<Payload['name']>>>> : ApplyOmit<UnwrapPayload<{\r\n default: Payload;\r\n}>['default'], ExtractGlobalOmit<GlobalOmitOptions, Uncapitalize<Payload['name']>>>;\r\n\r\nexport declare function defineDmmfProperty(target: object, runtimeDataModel: RuntimeDataModel): void;\r\n\r\ndeclare function defineExtension(ext: ExtensionArgs | ((client: Client) => Client)): (client: Client) => Client;\r\n\r\ndeclare const denylist: readonly [\"$connect\", \"$disconnect\", \"$on\", \"$transaction\", \"$extends\"];\r\n\r\ndeclare type Deprecation = ReadonlyDeep_2<{\r\n sinceVersion: string;\r\n reason: string;\r\n plannedRemovalVersion?: string;\r\n}>;\r\n\r\ndeclare type DeserializedResponse = Array<Record<string, unknown>>;\r\n\r\nexport declare function deserializeJsonResponse(result: unknown): unknown;\r\n\r\nexport declare function deserializeRawResult(response: RawResponse): DeserializedResponse;\r\n\r\nexport declare type DevTypeMapDef = {\r\n meta: {\r\n modelProps: string;\r\n };\r\n model: {\r\n [Model in PropertyKey]: {\r\n [Operation in PropertyKey]: DevTypeMapFnDef;\r\n };\r\n };\r\n other: {\r\n [Operation in PropertyKey]: DevTypeMapFnDef;\r\n };\r\n};\r\n\r\nexport declare type DevTypeMapFnDef = {\r\n args: any;\r\n result: any;\r\n payload: OperationPayload;\r\n};\r\n\r\nexport declare namespace DMMF {\r\n export {\r\n datamodelEnumToSchemaEnum,\r\n Document_2 as Document,\r\n Mappings,\r\n OtherOperationMappings,\r\n DatamodelEnum,\r\n SchemaEnum,\r\n EnumValue,\r\n Datamodel,\r\n uniqueIndex,\r\n PrimaryKey,\r\n Model,\r\n FieldKind,\r\n FieldNamespace,\r\n FieldLocation,\r\n Field,\r\n FieldDefault,\r\n FieldDefaultScalar,\r\n Index,\r\n IndexType,\r\n IndexField,\r\n SortOrder,\r\n Schema,\r\n Query,\r\n QueryOutput,\r\n TypeRef,\r\n InputTypeRef,\r\n SchemaArg,\r\n OutputType,\r\n SchemaField,\r\n OutputTypeRef,\r\n Deprecation,\r\n InputType,\r\n FieldRefType,\r\n FieldRefAllowType,\r\n ModelMapping,\r\n ModelAction\r\n }\r\n}\r\n\r\ndeclare namespace DMMF_2 {\r\n export {\r\n datamodelEnumToSchemaEnum,\r\n Document_2 as Document,\r\n Mappings,\r\n OtherOperationMappings,\r\n DatamodelEnum,\r\n SchemaEnum,\r\n EnumValue,\r\n Datamodel,\r\n uniqueIndex,\r\n PrimaryKey,\r\n Model,\r\n FieldKind,\r\n FieldNamespace,\r\n FieldLocation,\r\n Field,\r\n FieldDefault,\r\n FieldDefaultScalar,\r\n Index,\r\n IndexType,\r\n IndexField,\r\n SortOrder,\r\n Schema,\r\n Query,\r\n QueryOutput,\r\n TypeRef,\r\n InputTypeRef,\r\n SchemaArg,\r\n OutputType,\r\n SchemaField,\r\n OutputTypeRef,\r\n Deprecation,\r\n InputType,\r\n FieldRefType,\r\n FieldRefAllowType,\r\n ModelMapping,\r\n ModelAction\r\n }\r\n}\r\n\r\nexport declare function dmmfToRuntimeDataModel(dmmfDataModel: DMMF_2.Datamodel): RuntimeDataModel;\r\n\r\ndeclare type Document_2 = ReadonlyDeep_2<{\r\n datamodel: Datamodel;\r\n schema: Schema;\r\n mappings: Mappings;\r\n}>;\r\n\r\n/**\r\n * A generic driver adapter factory that allows the user to instantiate a\r\n * driver adapter. The query and result types are specific to the adapter.\r\n */\r\ndeclare interface DriverAdapterFactory<Query, Result> extends AdapterInfo {\r\n /**\r\n * Instantiate a driver adapter.\r\n */\r\n connect(): Promise<Queryable<Query, Result>>;\r\n}\r\n\r\ndeclare type DynamicArgType = ArgType | {\r\n arity: 'tuple';\r\n elements: ArgType[];\r\n};\r\n\r\n/** Client */\r\nexport declare type DynamicClientExtensionArgs<C_, TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {\r\n [P in keyof C_]: unknown;\r\n} & {\r\n [K: symbol]: {\r\n ctx: Optional<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList> & {\r\n $parent: Optional<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList>;\r\n };\r\n };\r\n};\r\n\r\nexport declare type DynamicClientExtensionThis<TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {\r\n [P in keyof ExtArgs['client']]: Return<ExtArgs['client'][P]>;\r\n} & {\r\n [P in Exclude<TypeMap['meta']['modelProps'], keyof ExtArgs['client']>]: DynamicModelExtensionThis<TypeMap, ModelKey<TypeMap, P>, ExtArgs>;\r\n} & {\r\n [P in Exclude<keyof TypeMap['other']['operations'], keyof ExtArgs['client']>]: P extends keyof ClientOtherOps ? ClientOtherOps[P] : never;\r\n} & {\r\n [P in Exclude<ClientBuiltInProp, keyof ExtArgs['client']>]: DynamicClientExtensionThisBuiltin<TypeMap, TypeMapCb, ExtArgs>[P];\r\n} & {\r\n [K: symbol]: {\r\n types: TypeMap['other'];\r\n };\r\n};\r\n\r\nexport declare type DynamicClientExtensionThisBuiltin<TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {\r\n $extends: ExtendsHook<'extends', TypeMapCb, ExtArgs, Call<TypeMapCb, {\r\n extArgs: ExtArgs;\r\n }>>;\r\n $transaction<P extends PrismaPromise<any>[]>(arg: [...P], options?: {\r\n isolationLevel?: TypeMap['meta']['txIsolationLevel'];\r\n }): Promise<UnwrapTuple<P>>;\r\n $transaction<R>(fn: (client: Omit<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList>) => Promise<R>, options?: {\r\n maxWait?: number;\r\n timeout?: number;\r\n isolationLevel?: TypeMap['meta']['txIsolationLevel'];\r\n }): Promise<R>;\r\n $disconnect(): Promise<void>;\r\n $connect(): Promise<void>;\r\n};\r\n\r\n/** Model */\r\nexport declare type DynamicModelExtensionArgs<M_, TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {\r\n [K in keyof M_]: K extends '$allModels' ? {\r\n [P in keyof M_[K]]?: unknown;\r\n } & {\r\n [K: symbol]: {};\r\n } : K extends TypeMap['meta']['modelProps'] ? {\r\n [P in keyof M_[K]]?: unknown;\r\n } & {\r\n [K: symbol]: {\r\n ctx: DynamicModelExtensionThis<TypeMap, ModelKey<TypeMap, K>, ExtArgs> & {\r\n $parent: DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>;\r\n } & {\r\n $name: ModelKey<TypeMap, K>;\r\n } & {\r\n /**\r\n * @deprecated Use `$name` instead.\r\n */\r\n name: ModelKey<TypeMap, K>;\r\n };\r\n };\r\n } : never;\r\n};\r\n\r\nexport declare type DynamicModelExtensionFluentApi<TypeMap extends TypeMapDef, M extends PropertyKey, P extends PropertyKey, Null> = {\r\n [K in keyof TypeMap['model'][M]['payload']['objects']]: <A>(args?: Exact<A, Path<TypeMap['model'][M]['operations'][P]['args']['select'], [K]>>) => PrismaPromise<Path<DynamicModelExtensionFnResultBase<TypeMap, M, {\r\n select: {\r\n [P in K]: A;\r\n };\r\n }, P>, [K]> | Null> & DynamicModelExtensionFluentApi<TypeMap, (TypeMap['model'][M]['payload']['objects'][K] & {})['name'], P, Null | Select<TypeMap['model'][M]['payload']['objects'][K], null>>;\r\n};\r\n\r\nexport declare type DynamicModelExtensionFnResult<TypeMap extends TypeMapDef, M extends PropertyKey, A, P extends PropertyKey, Null> = P extends FluentOperation ? DynamicModelExtensionFluentApi<TypeMap, M, P, Null> & PrismaPromise<DynamicModelExtensionFnResultBase<TypeMap, M, A, P> | Null> : PrismaPromise<DynamicModelExtensionFnResultBase<TypeMap, M, A, P>>;\r\n\r\nexport declare type DynamicModelExtensionFnResultBase<TypeMap extends TypeMapDef, M extends PropertyKey, A, P extends PropertyKey> = GetResult<TypeMap['model'][M]['payload'], A, P & Operation, TypeMap['globalOmitOptions']>;\r\n\r\nexport declare type DynamicModelExtensionFnResultNull<P extends PropertyKey> = P extends 'findUnique' | 'findFirst' ? null : never;\r\n\r\nexport declare type DynamicModelExtensionOperationFn<TypeMap extends TypeMapDef, M extends PropertyKey, P extends PropertyKey> = {} extends TypeMap['model'][M]['operations'][P]['args'] ? <A extends TypeMap['model'][M]['operations'][P]['args']>(args?: Exact<A, TypeMap['model'][M]['operations'][P]['args']>) => DynamicModelExtensionFnResult<TypeMap, M, A, P, DynamicModelExtensionFnResultNull<P>> : <A extends TypeMap['model'][M]['operations'][P]['args']>(args: Exact<A, TypeMap['model'][M]['operations'][P]['args']>) => DynamicModelExtensionFnResult<TypeMap, M, A, P, DynamicModelExtensionFnResultNull<P>>;\r\n\r\nexport declare type DynamicModelExtensionThis<TypeMap extends TypeMapDef, M extends PropertyKey, ExtArgs extends Record<string, any>> = {\r\n [P in keyof ExtArgs['model'][Uncapitalize<M & string>]]: Return<ExtArgs['model'][Uncapitalize<M & string>][P]>;\r\n} & {\r\n [P in Exclude<keyof TypeMap['model'][M]['operations'], keyof ExtArgs['model'][Uncapitalize<M & string>]>]: DynamicModelExtensionOperationFn<TypeMap, M, P>;\r\n} & {\r\n [P in Exclude<'fields', keyof ExtArgs['model'][Uncapitalize<M & string>]>]: TypeMap['model'][M]['fields'];\r\n} & {\r\n [K: symbol]: {\r\n types: TypeMap['model'][M];\r\n };\r\n};\r\n\r\n/** Query */\r\nexport declare type DynamicQueryExtensionArgs<Q_, TypeMap extends TypeMapDef> = {\r\n [K in keyof Q_]: K extends '$allOperations' ? (args: {\r\n model?: string;\r\n operation: string;\r\n args: any;\r\n query: (args: any) => PrismaPromise<any>;\r\n }) => Promise<any> : K extends '$allModels' ? {\r\n [P in keyof Q_[K] | keyof TypeMap['model'][keyof TypeMap['model']]['operations'] | '$allOperations']?: P extends '$allOperations' ? DynamicQueryExtensionCb<TypeMap, 'model', keyof TypeMap['model'], keyof TypeMap['model'][keyof TypeMap['model']]['operations']> : P extends keyof TypeMap['model'][keyof TypeMap['model']]['operations'] ? DynamicQueryExtensionCb<TypeMap, 'model', keyof TypeMap['model'], P> : never;\r\n } : K extends TypeMap['meta']['modelProps'] ? {\r\n [P in keyof Q_[K] | keyof TypeMap['model'][ModelKey<TypeMap, K>]['operations'] | '$allOperations']?: P extends '$allOperations' ? DynamicQueryExtensionCb<TypeMap, 'model', ModelKey<TypeMap, K>, keyof TypeMap['model'][ModelKey<TypeMap, K>]['operations']> : P extends keyof TypeMap['model'][ModelKey<TypeMap, K>]['operations'] ? DynamicQueryExtensionCb<TypeMap, 'model', ModelKey<TypeMap, K>, P> : never;\r\n } : K extends keyof TypeMap['other']['operations'] ? DynamicQueryExtensionCb<[TypeMap], 0, 'other', K> : never;\r\n};\r\n\r\nexport declare type DynamicQueryExtensionCb<TypeMap extends TypeMapDef, _0 extends PropertyKey, _1 extends PropertyKey, _2 extends PropertyKey> = <A extends DynamicQueryExtensionCbArgs<TypeMap, _0, _1, _2>>(args: A) => Promise<TypeMap[_0][_1][_2]['result']>;\r\n\r\nexport declare type DynamicQueryExtensionCbArgs<TypeMap extends TypeMapDef, _0 extends PropertyKey, _1 extends PropertyKey, _2 extends PropertyKey> = (_1 extends unknown ? _2 extends unknown ? {\r\n args: DynamicQueryExtensionCbArgsArgs<TypeMap, _0, _1, _2>;\r\n model: _0 extends 0 ? undefined : _1;\r\n operation: _2;\r\n query: <A extends DynamicQueryExtensionCbArgsArgs<TypeMap, _0, _1, _2>>(args: A) => PrismaPromise<TypeMap[_0][_1]['operations'][_2]['result']>;\r\n} : never : never) & {\r\n query: (args: DynamicQueryExtensionCbArgsArgs<TypeMap, _0, _1, _2>) => PrismaPromise<TypeMap[_0][_1]['operations'][_2]['result']>;\r\n};\r\n\r\nexport declare type DynamicQueryExtensionCbArgsArgs<TypeMap extends TypeMapDef, _0 extends PropertyKey, _1 extends PropertyKey, _2 extends PropertyKey> = _2 extends '$queryRaw' | '$executeRaw' ? Sql : TypeMap[_0][_1]['operations'][_2]['args'];\r\n\r\n/** Result */\r\nexport declare type DynamicResultExtensionArgs<R_, TypeMap extends TypeMapDef> = {\r\n [K in keyof R_]: {\r\n [P in keyof R_[K]]?: {\r\n needs?: DynamicResultExtensionNeeds<TypeMap, ModelKey<TypeMap, K>, R_[K][P]>;\r\n compute(data: DynamicResultExtensionData<TypeMap, ModelKey<TypeMap, K>, R_[K][P]>): any;\r\n };\r\n };\r\n};\r\n\r\nexport declare type DynamicResultExtensionData<TypeMap extends TypeMapDef, M extends PropertyKey, S> = GetFindResult<TypeMap['model'][M]['payload'], {\r\n select: S;\r\n}, {}>;\r\n\r\nexport declare type DynamicResultExtensionNeeds<TypeMap extends TypeMapDef, M extends PropertyKey, S> = {\r\n [K in keyof S]: K extends keyof TypeMap['model'][M]['payload']['scalars'] ? S[K] : never;\r\n} & {\r\n [N in keyof TypeMap['model'][M]['payload']['scalars']]?: boolean;\r\n};\r\n\r\n/**\r\n * Placeholder value for \"no text\".\r\n */\r\nexport declare const empty: Sql;\r\n\r\nexport declare type EmptyToUnknown<T> = T;\r\n\r\ndeclare interface Engine<InteractiveTransactionPayload = unknown> {\r\n /** The name of the engine. This is meant to be consumed externally */\r\n readonly name: string;\r\n onBeforeExit(callback: () => Promise<void>): void;\r\n start(): Promise<void>;\r\n stop(): Promise<void>;\r\n version(forceRun?: boolean): Promise<string> | string;\r\n request<T>(query: JsonQuery, options: RequestOptions<InteractiveTransactionPayload>): Promise<QueryEngineResultData<T>>;\r\n requestBatch<T>(queries: JsonQuery[], options: RequestBatchOptions<InteractiveTransactionPayload>): Promise<BatchQueryEngineResult<T>[]>;\r\n transaction(action: 'start', headers: Transaction_2.TransactionHeaders, options: Transaction_2.Options): Promise<Transaction_2.InteractiveTransactionInfo<unknown>>;\r\n transaction(action: 'commit', headers: Transaction_2.TransactionHeaders, info: Transaction_2.InteractiveTransactionInfo<unknown>): Promise<void>;\r\n transaction(action: 'rollback', headers: Transaction_2.TransactionHeaders, info: Transaction_2.InteractiveTransactionInfo<unknown>): Promise<void>;\r\n metrics(options: MetricsOptionsJson): Promise<Metrics>;\r\n metrics(options: MetricsOptionsPrometheus): Promise<string>;\r\n applyPendingMigrations(): Promise<void>;\r\n}\r\n\r\ndeclare interface EngineConfig {\r\n cwd: string;\r\n dirname: string;\r\n enableDebugLogs?: boolean;\r\n allowTriggerPanic?: boolean;\r\n prismaPath?: string;\r\n generator?: GeneratorConfig;\r\n /**\r\n * @remarks this field is used internally by Policy, do not rename or remove\r\n */\r\n overrideDatasources: Datasources;\r\n showColors?: boolean;\r\n logQueries?: boolean;\r\n logLevel?: 'info' | 'warn';\r\n env: Record<string, string>;\r\n flags?: string[];\r\n clientVersion: string;\r\n engineVersion: string;\r\n previewFeatures?: string[];\r\n engineEndpoint?: string;\r\n activeProvider?: string;\r\n logEmitter: LogEmitter;\r\n transactionOptions: Transaction_2.Options;\r\n /**\r\n * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-planetscale`.\r\n * If set, this is only used in the library engine, and all queries would be performed through it,\r\n * rather than Prisma's Rust drivers.\r\n * @remarks only used by LibraryEngine.ts\r\n */\r\n adapter?: SqlDriverAdapterFactory;\r\n /**\r\n * The contents of the schema encoded into a string\r\n */\r\n inlineSchema: string;\r\n /**\r\n * The contents of the datasource url saved in a string\r\n * @remarks only used by DataProxyEngine.ts\r\n * @remarks this field is used internally by Policy, do not rename or remove\r\n */\r\n inlineDatasources: GetPrismaClientConfig['inlineDatasources'];\r\n /**\r\n * The string hash that was produced for a given schema\r\n * @remarks only used by DataProxyEngine.ts\r\n */\r\n inlineSchemaHash: string;\r\n /**\r\n * The helper for interaction with OTEL tracing\r\n * @remarks enabling is determined by the client and @prisma/instrumentation package\r\n */\r\n tracingHelper: TracingHelper;\r\n /**\r\n * Information about whether we have not found a schema.prisma file in the\r\n * default location, and that we fell back to finding the schema.prisma file\r\n * in the current working directory. This usually means it has been bundled.\r\n */\r\n isBundled?: boolean;\r\n /**\r\n * Web Assembly module loading configuration\r\n */\r\n engineWasm?: EngineWasmLoadingConfig;\r\n compilerWasm?: CompilerWasmLoadingConfig;\r\n /**\r\n * Allows Accelerate to use runtime utilities from the client. These are\r\n * necessary for the AccelerateEngine to function correctly.\r\n */\r\n accelerateUtils?: {\r\n resolveDatasourceUrl: typeof resolveDatasourceUrl;\r\n getBatchRequestPayload: typeof getBatchRequestPayload;\r\n prismaGraphQLToJSError: typeof prismaGraphQLToJSError;\r\n PrismaClientUnknownRequestError: typeof PrismaClientUnknownRequestError;\r\n PrismaClientInitializationError: typeof PrismaClientInitializationError;\r\n PrismaClientKnownRequestError: typeof PrismaClientKnownRequestError;\r\n debug: (...args: any[]) => void;\r\n engineVersion: string;\r\n clientVersion: string;\r\n };\r\n}\r\n\r\ndeclare type EngineEvent<E extends EngineEventType> = E extends QueryEventType ? QueryEvent : LogEvent;\r\n\r\ndeclare type EngineEventType = QueryEventType | LogEventType;\r\n\r\ndeclare type EngineSpan = {\r\n id: EngineSpanId;\r\n parentId: string | null;\r\n name: string;\r\n startTime: HrTime;\r\n endTime: HrTime;\r\n kind: EngineSpanKind;\r\n attributes?: Record<string, unknown>;\r\n links?: EngineSpanId[];\r\n};\r\n\r\ndeclare type EngineSpanId = string;\r\n\r\ndeclare type EngineSpanKind = 'client' | 'internal';\r\n\r\ndeclare type EngineWasmLoadingConfig = {\r\n /**\r\n * WASM-bindgen runtime for corresponding module\r\n */\r\n getRuntime: () => Promise<{\r\n __wbg_set_wasm(exports: unknown): void;\r\n QueryEngine: QueryEngineConstructor;\r\n }>;\r\n /**\r\n * Loads the raw wasm module for the wasm query engine. This configuration is\r\n * generated specifically for each type of client, eg. Node.js client and Edge\r\n * clients will have different implementations.\r\n * @remarks this is a callback on purpose, we only load the wasm if needed.\r\n * @remarks only used by LibraryEngine\r\n */\r\n getQueryEngineWasmModule: () => Promise<unknown>;\r\n};\r\n\r\ndeclare type EnumValue = ReadonlyDeep_2<{\r\n name: string;\r\n dbName: string | null;\r\n}>;\r\n\r\ndeclare type EnvPaths = {\r\n rootEnvPath: string | null;\r\n schemaEnvPath: string | undefined;\r\n};\r\n\r\ndeclare interface EnvValue {\r\n fromEnvVar: null | string;\r\n value: null | string;\r\n}\r\n\r\nexport declare type Equals<A, B> = (<T>() => T extends A ? 1 : 2) extends (<T>() => T extends B ? 1 : 2) ? 1 : 0;\r\n\r\ndeclare type Error_2 = MappedError & {\r\n originalCode?: string;\r\n originalMessage?: string;\r\n};\r\n\r\ndeclare type ErrorCapturingFunction<T> = T extends (...args: infer A) => Promise<infer R> ? (...args: A) => Promise<Result_4<ErrorCapturingInterface<R>>> : T extends (...args: infer A) => infer R ? (...args: A) => Result_4<ErrorCapturingInterface<R>> : T;\r\n\r\ndeclare type ErrorCapturingInterface<T> = {\r\n [K in keyof T]: ErrorCapturingFunction<T[K]>;\r\n};\r\n\r\ndeclare interface ErrorCapturingSqlDriverAdapter extends ErrorCapturingInterface<SqlDriverAdapter> {\r\n readonly errorRegistry: ErrorRegistry;\r\n}\r\n\r\ndeclare type ErrorFormat = 'pretty' | 'colorless' | 'minimal';\r\n\r\ndeclare type ErrorRecord = {\r\n error: unknown;\r\n};\r\n\r\ndeclare interface ErrorRegistry {\r\n consumeError(id: number): ErrorRecord | undefined;\r\n}\r\n\r\ndeclare interface ErrorWithBatchIndex {\r\n batchRequestIdx?: number;\r\n}\r\n\r\ndeclare type EventCallback<E extends ExtendedEventType> = [E] extends ['beforeExit'] ? () => Promise<void> : [E] extends [LogLevel] ? (event: EngineEvent<E>) => void : never;\r\n\r\nexport declare type Exact<A, W> = (A extends unknown ? (W extends A ? {\r\n [K in keyof A]: Exact<A[K], W[K]>;\r\n} : W) : never) | (A extends Narrowable ? A : never);\r\n\r\n/**\r\n * Defines Exception.\r\n *\r\n * string or an object with one of (message or name or code) and optional stack\r\n */\r\ndeclare type Exception = ExceptionWithCode | ExceptionWithMessage | ExceptionWithName | string;\r\n\r\ndeclare interface ExceptionWithCode {\r\n code: string | number;\r\n name?: string;\r\n message?: string;\r\n stack?: string;\r\n}\r\n\r\ndeclare interface ExceptionWithMessage {\r\n code?: string | number;\r\n message: string;\r\n name?: string;\r\n stack?: string;\r\n}\r\n\r\ndeclare interface ExceptionWithName {\r\n code?: string | number;\r\n message?: string;\r\n name: string;\r\n stack?: string;\r\n}\r\n\r\ndeclare type ExtendedEventType = LogLevel | 'beforeExit';\r\n\r\ndeclare type ExtendedSpanOptions = SpanOptions & {\r\n /** The name of the span */\r\n name: string;\r\n internal?: boolean;\r\n /** Whether it propagates context (?=true) */\r\n active?: boolean;\r\n /** The context to append the span to */\r\n context?: Context;\r\n};\r\n\r\n/** $extends, defineExtension */\r\nexport declare interface ExtendsHook<Variant extends 'extends' | 'define', TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>, TypeMap extends TypeMapDef = Call<TypeMapCb, {\r\n extArgs: ExtArgs;\r\n}>> {\r\n extArgs: ExtArgs;\r\n <R_ extends {\r\n [K in TypeMap['meta']['modelProps'] | '$allModels']?: unknown;\r\n }, R, M_ extends {\r\n [K in TypeMap['meta']['modelProps'] | '$allModels']?: unknown;\r\n }, M, Q_ extends {\r\n [K in TypeMap['meta']['modelProps'] | '$allModels' | keyof TypeMap['other']['operations'] | '$allOperations']?: unknown;\r\n }, C_ extends {\r\n [K in string]?: unknown;\r\n }, C, Args extends InternalArgs = InternalArgs<R, M, {}, C>, MergedArgs extends InternalArgs = MergeExtArgs<TypeMap, ExtArgs, Args>>(extension: ((client: DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>) => {\r\n $extends: {\r\n extArgs: Args;\r\n };\r\n }) | {\r\n name?: string;\r\n query?: DynamicQueryExtensionArgs<Q_, TypeMap>;\r\n result?: DynamicResultExtensionArgs<R_, TypeMap> & R;\r\n model?: DynamicModelExtensionArgs<M_, TypeMap, TypeMapCb, ExtArgs> & M;\r\n client?: DynamicClientExtensionArgs<C_, TypeMap, TypeMapCb, ExtArgs> & C;\r\n }): {\r\n extends: DynamicClientExtensionThis<Call<TypeMapCb, {\r\n extArgs: MergedArgs;\r\n }>, TypeMapCb, MergedArgs>;\r\n define: (client: any) => {\r\n $extends: {\r\n extArgs: Args;\r\n };\r\n };\r\n }[Variant];\r\n}\r\n\r\nexport declare type ExtensionArgs = Optional<RequiredExtensionArgs>;\r\n\r\ndeclare namespace Extensions {\r\n export {\r\n defineExtension,\r\n getExtensionContext\r\n }\r\n}\r\nexport { Extensions }\r\n\r\ndeclare namespace Extensions_2 {\r\n export {\r\n InternalArgs,\r\n DefaultArgs,\r\n GetPayloadResultExtensionKeys,\r\n GetPayloadResultExtensionObject,\r\n GetPayloadResult,\r\n GetSelect,\r\n GetOmit,\r\n DynamicQueryExtensionArgs,\r\n DynamicQueryExtensionCb,\r\n DynamicQueryExtensionCbArgs,\r\n DynamicQueryExtensionCbArgsArgs,\r\n DynamicResultExtensionArgs,\r\n DynamicResultExtensionNeeds,\r\n DynamicResultExtensionData,\r\n DynamicModelExtensionArgs,\r\n DynamicModelExtensionThis,\r\n DynamicModelExtensionOperationFn,\r\n DynamicModelExtensionFnResult,\r\n DynamicModelExtensionFnResultBase,\r\n DynamicModelExtensionFluentApi,\r\n DynamicModelExtensionFnResultNull,\r\n DynamicClientExtensionArgs,\r\n DynamicClientExtensionThis,\r\n ClientBuiltInProp,\r\n DynamicClientExtensionThisBuiltin,\r\n ExtendsHook,\r\n MergeExtArgs,\r\n AllModelsToStringIndex,\r\n TypeMapDef,\r\n DevTypeMapDef,\r\n DevTypeMapFnDef,\r\n ClientOptionDef,\r\n ClientOtherOps,\r\n TypeMapCbDef,\r\n ModelKey,\r\n RequiredExtensionArgs as UserArgs\r\n }\r\n}\r\n\r\nexport declare type ExtractGlobalOmit<Options, ModelName extends string> = Options extends {\r\n omit: {\r\n [K in ModelName]: infer GlobalOmit;\r\n };\r\n} ? GlobalOmit : {};\r\n\r\ndeclare type Field = ReadonlyDeep_2<{\r\n kind: FieldKind;\r\n name: string;\r\n isRequired: boolean;\r\n isList: boolean;\r\n isUnique: boolean;\r\n isId: boolean;\r\n isReadOnly: boolean;\r\n isGenerated?: boolean;\r\n isUpdatedAt?: boolean;\r\n /**\r\n * Describes the data type in the same the way it is defined in the Prisma schema:\r\n * BigInt, Boolean, Bytes, DateTime, Decimal, Float, Int, JSON, String, $ModelName\r\n */\r\n type: string;\r\n /**\r\n * Native database type, if specified.\r\n * For example, `@db.VarChar(191)` is encoded as `['VarChar', ['191']]`,\r\n * `@db.Text` is encoded as `['Text', []]`.\r\n */\r\n nativeType?: [string, string[]] | null;\r\n dbName?: string | null;\r\n hasDefaultValue: boolean;\r\n default?: FieldDefault | FieldDefaultScalar | FieldDefaultScalar[];\r\n relationFromFields?: string[];\r\n relationToFields?: string[];\r\n relationOnDelete?: string;\r\n relationOnUpdate?: string;\r\n relationName?: string;\r\n documentation?: string;\r\n}>;\r\n\r\ndeclare type FieldDefault = ReadonlyDeep_2<{\r\n name: string;\r\n args: Array<string | number>;\r\n}>;\r\n\r\ndeclare type FieldDefaultScalar = string | boolean | number;\r\n\r\ndeclare type FieldInitializer = {\r\n type: 'value';\r\n value: PrismaValue;\r\n} | {\r\n type: 'lastInsertId';\r\n};\r\n\r\ndeclare type FieldKind = 'scalar' | 'object' | 'enum' | 'unsupported';\r\n\r\ndeclare type FieldLocation = 'scalar' | 'inputObjectTypes' | 'outputObjectTypes' | 'enumTypes' | 'fieldRefTypes';\r\n\r\ndeclare type FieldNamespace = 'model' | 'prisma';\r\n\r\ndeclare type FieldOperation = {\r\n type: 'set';\r\n value: PrismaValue;\r\n} | {\r\n type: 'add';\r\n value: PrismaValue;\r\n} | {\r\n type: 'subtract';\r\n value: PrismaValue;\r\n} | {\r\n type: 'multiply';\r\n value: PrismaValue;\r\n} | {\r\n type: 'divide';\r\n value: PrismaValue;\r\n};\r\n\r\n/**\r\n * A reference to a specific field of a specific model\r\n */\r\nexport declare interface FieldRef<Model, FieldType> {\r\n readonly modelName: Model;\r\n readonly name: string;\r\n readonly typeName: FieldType;\r\n readonly isList: boolean;\r\n}\r\n\r\ndeclare type FieldRefAllowType = TypeRef<'scalar' | 'enumTypes'>;\r\n\r\ndeclare type FieldRefType = ReadonlyDeep_2<{\r\n name: string;\r\n allowTypes: FieldRefAllowType[];\r\n fields: SchemaArg[];\r\n}>;\r\n\r\ndeclare type FieldScalarType = {\r\n type: 'string' | 'int' | 'bigint' | 'float' | 'boolean' | 'json' | 'object' | 'datetime' | 'decimal' | 'unsupported';\r\n} | {\r\n type: 'enum';\r\n name: string;\r\n} | {\r\n type: 'bytes';\r\n encoding: 'array' | 'base64' | 'hex';\r\n};\r\n\r\ndeclare type FieldType = {\r\n arity: Arity;\r\n} & FieldScalarType;\r\n\r\ndeclare type FluentOperation = 'findUnique' | 'findUniqueOrThrow' | 'findFirst' | 'findFirstOrThrow' | 'create' | 'update' | 'upsert' | 'delete';\r\n\r\nexport declare interface Fn<Params = unknown, Returns = unknown> {\r\n params: Params;\r\n returns: Returns;\r\n}\r\n\r\ndeclare type Fragment = {\r\n type: 'stringChunk';\r\n chunk: string;\r\n} | {\r\n type: 'parameter';\r\n} | {\r\n type: 'parameterTuple';\r\n} | {\r\n type: 'parameterTupleList';\r\n itemPrefix: string;\r\n itemSeparator: string;\r\n itemSuffix: string;\r\n groupSeparator: string;\r\n};\r\n\r\ndeclare interface GeneratorConfig {\r\n name: string;\r\n output: EnvValue | null;\r\n isCustomOutput?: boolean;\r\n provider: EnvValue;\r\n config: {\r\n /** `output` is a reserved name and will only be available directly at `generator.output` */\r\n output?: never;\r\n /** `provider` is a reserved name and will only be available directly at `generator.provider` */\r\n provider?: never;\r\n /** `binaryTargets` is a reserved name and will only be available directly at `generator.binaryTargets` */\r\n binaryTargets?: never;\r\n /** `previewFeatures` is a reserved name and will only be available directly at `generator.previewFeatures` */\r\n previewFeatures?: never;\r\n } & {\r\n [key: string]: string | string[] | undefined;\r\n };\r\n binaryTargets: BinaryTargetsEnvValue[];\r\n previewFeatures: string[];\r\n envPaths?: EnvPaths;\r\n sourceFilePath: string;\r\n}\r\n\r\nexport declare type GetAggregateResult<P extends OperationPayload, A> = {\r\n [K in keyof A as K extends Aggregate ? K : never]: K extends '_count' ? A[K] extends true ? number : Count<A[K]> : {\r\n [J in keyof A[K] & string]: P['scalars'][J] | null;\r\n };\r\n};\r\n\r\ndeclare function getBatchRequestPayload(batch: JsonQuery[], transaction?: TransactionOptions_2<unknown>): QueryEngineBatchRequest;\r\n\r\nexport declare type GetBatchResult = {\r\n count: number;\r\n};\r\n\r\nexport declare type GetCountResult<A> = A extends {\r\n select: infer S;\r\n} ? (S extends true ? number : Count<S>) : number;\r\n\r\ndeclare function getExtensionContext<T>(that: T): Context_2<T>;\r\n\r\nexport declare type GetFindResult<P extends OperationPayload, A, GlobalOmitOptions> = Equals<A, any> extends 1 ? DefaultSelection<P, A, GlobalOmitOptions> : A extends {\r\n select: infer S extends object;\r\n} & Record<string, unknown> | {\r\n include: infer I extends object;\r\n} & Record<string, unknown> ? {\r\n [K in keyof S | keyof I as (S & I)[K] extends false | undefined | Skip | null ? never : K]: (S & I)[K] extends object ? P extends SelectablePayloadFields<K, (infer O)[]> ? O extends OperationPayload ? GetFindResult<O, (S & I)[K], GlobalOmitOptions>[] : never : P extends SelectablePayloadFields<K, infer O | null> ? O extends OperationPayload ? GetFindResult<O, (S & I)[K], GlobalOmitOptions> | SelectField<P, K> & null : never : K extends '_count' ? Count<GetFindResult<P, (S & I)[K], GlobalOmitOptions>> : never : P extends SelectablePayloadFields<K, (infer O)[]> ? O extends OperationPayload ? DefaultSelection<O, {}, GlobalOmitOptions>[] : never : P extends SelectablePayloadFields<K, infer O | null> ? O extends OperationPayload ? DefaultSelection<O, {}, GlobalOmitOptions> | SelectField<P, K> & null : never : P extends {\r\n scalars: {\r\n [k in K]: infer O;\r\n };\r\n } ? O : K extends '_count' ? Count<P['objects']> : never;\r\n} & (A extends {\r\n include: any;\r\n} & Record<string, unknown> ? DefaultSelection<P, A & {\r\n omit: A['omit'];\r\n}, GlobalOmitOptions> : unknown) : DefaultSelection<P, A, GlobalOmitOptions>;\r\n\r\nexport declare type GetGroupByResult<P extends OperationPayload, A> = A extends {\r\n by: string[];\r\n} ? Array<GetAggregateResult<P, A> & {\r\n [K in A['by'][number]]: P['scalars'][K];\r\n}> : A extends {\r\n by: string;\r\n} ? Array<GetAggregateResult<P, A> & {\r\n [K in A['by']]: P['scalars'][K];\r\n}> : {}[];\r\n\r\nexport declare type GetOmit<BaseKeys extends string, R extends InternalArgs['result'][string], ExtraType = never> = {\r\n [K in (string extends keyof R ? never : keyof R) | BaseKeys]?: boolean | ExtraType;\r\n};\r\n\r\nexport declare type GetPayloadResult<Base extends Record<any, any>, R extends InternalArgs['result'][string]> = Omit<Base, GetPayloadResultExtensionKeys<R>> & GetPayloadResultExtensionObject<R>;\r\n\r\nexport declare type GetPayloadResultExtensionKeys<R extends InternalArgs['result'][string], KR extends keyof R = string extends keyof R ? never : keyof R> = KR;\r\n\r\nexport declare type GetPayloadResultExtensionObject<R extends InternalArgs['result'][string]> = {\r\n [K in GetPayloadResultExtensionKeys<R>]: R[K] extends () => {\r\n compute: (...args: any) => infer C;\r\n } ? C : never;\r\n};\r\n\r\nexport declare function getPrismaClient(config: GetPrismaClientConfig): {\r\n new (optionsArg?: PrismaClientOptions): {\r\n _originalClient: any;\r\n _runtimeDataModel: RuntimeDataModel;\r\n _requestHandler: RequestHandler;\r\n _connectionPromise?: Promise<any> | undefined;\r\n _disconnectionPromise?: Promise<any> | undefined;\r\n _engineConfig: EngineConfig;\r\n _accelerateEngineConfig: AccelerateEngineConfig;\r\n _clientVersion: string;\r\n _errorFormat: ErrorFormat;\r\n _tracingHelper: TracingHelper;\r\n _previewFeatures: string[];\r\n _activeProvider: string;\r\n _globalOmit?: GlobalOmitOptions | undefined;\r\n _extensions: MergedExtensionsList;\r\n /**\r\n * @remarks This is used internally by Policy, do not rename or remove\r\n */\r\n _engine: Engine;\r\n /**\r\n * A fully constructed/applied Client that references the parent\r\n * PrismaClient. This is used for Client extensions only.\r\n */\r\n _appliedParent: any;\r\n _createPrismaPromise: PrismaPromiseFactory;\r\n $on<E extends ExtendedEventType>(eventType: E, callback: EventCallback<E>): any;\r\n $connect(): Promise<void>;\r\n /**\r\n * Disconnect from the database\r\n */\r\n $disconnect(): Promise<void>;\r\n /**\r\n * Executes a raw query and always returns a number\r\n */\r\n $executeRawInternal(transaction: PrismaPromiseTransaction | undefined, clientMethod: string, args: RawQueryArgs, middlewareArgsMapper?: MiddlewareArgsMapper<unknown, unknown>): Promise<number>;\r\n /**\r\n * Executes a raw query provided through a safe tag function\r\n * @see https://github.com/prisma/prisma/issues/7142\r\n *\r\n * @param query\r\n * @param values\r\n * @returns\r\n */\r\n $executeRaw(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Unsafe counterpart of `$executeRaw` that is susceptible to SQL injections\r\n * @see https://github.com/prisma/prisma/issues/7142\r\n *\r\n * @param query\r\n * @param values\r\n * @returns\r\n */\r\n $executeRawUnsafe(query: string, ...values: RawValue[]): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Executes a raw command only for MongoDB\r\n *\r\n * @param command\r\n * @returns\r\n */\r\n $runCommandRaw(command: Record<string, JsInputValue>): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Executes a raw query and returns selected data\r\n */\r\n $queryRawInternal(transaction: PrismaPromiseTransaction | undefined, clientMethod: string, args: RawQueryArgs, middlewareArgsMapper?: MiddlewareArgsMapper<unknown, unknown>): Promise<any>;\r\n /**\r\n * Executes a raw query provided through a safe tag function\r\n * @see https://github.com/prisma/prisma/issues/7142\r\n *\r\n * @param query\r\n * @param values\r\n * @returns\r\n */\r\n $queryRaw(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Counterpart to $queryRaw, that returns strongly typed results\r\n * @param typedSql\r\n */\r\n $queryRawTyped(typedSql: UnknownTypedSql): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Unsafe counterpart of `$queryRaw` that is susceptible to SQL injections\r\n * @see https://github.com/prisma/prisma/issues/7142\r\n *\r\n * @param query\r\n * @param values\r\n * @returns\r\n */\r\n $queryRawUnsafe(query: string, ...values: RawValue[]): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Execute a batch of requests in a transaction\r\n * @param requests\r\n * @param options\r\n */\r\n _transactionWithArray({ promises, options, }: {\r\n promises: Array<PrismaPromise_2<any>>;\r\n options?: BatchTransactionOptions;\r\n }): Promise<any>;\r\n /**\r\n * Perform a long-running transaction\r\n * @param callback\r\n * @param options\r\n * @returns\r\n */\r\n _transactionWithCallback({ callback, options, }: {\r\n callback: (client: Client) => Promise<unknown>;\r\n options?: Options;\r\n }): Promise<unknown>;\r\n _createItxClient(transaction: PrismaPromiseInteractiveTransaction): Client;\r\n /**\r\n * Execute queries within a transaction\r\n * @param input a callback or a query list\r\n * @param options to set timeouts (callback)\r\n * @returns\r\n */\r\n $transaction(input: any, options?: any): Promise<any>;\r\n /**\r\n * Runs the middlewares over params before executing a request\r\n * @param internalParams\r\n * @returns\r\n */\r\n _request(internalParams: InternalRequestParams): Promise<any>;\r\n _executeRequest({ args, clientMethod, dataPath, callsite, action, model, argsMapper, transaction, unpacker, otelParentCtx, customDataProxyFetch, }: InternalRequestParams): Promise<any>;\r\n $metrics: MetricsClient;\r\n /**\r\n * Shortcut for checking a preview flag\r\n * @param feature preview flag\r\n * @returns\r\n */\r\n _hasPreviewFlag(feature: string): boolean;\r\n $applyPendingMigrations(): Promise<void>;\r\n $extends: typeof $extends;\r\n readonly [Symbol.toStringTag]: string;\r\n };\r\n};\r\n\r\n/**\r\n * Config that is stored into the generated client. When the generated client is\r\n * loaded, this same config is passed to {@link getPrismaClient} which creates a\r\n * closure with that config around a non-instantiated [[PrismaClient]].\r\n */\r\nexport declare type GetPrismaClientConfig = {\r\n runtimeDataModel: RuntimeDataModel;\r\n generator?: GeneratorConfig;\r\n relativeEnvPaths?: {\r\n rootEnvPath?: string | null;\r\n schemaEnvPath?: string | null;\r\n };\r\n relativePath: string;\r\n dirname: string;\r\n clientVersion: string;\r\n engineVersion: string;\r\n datasourceNames: string[];\r\n activeProvider: ActiveConnectorType;\r\n /**\r\n * The contents of the schema encoded into a string\r\n * @remarks only used for the purpose of data proxy\r\n */\r\n inlineSchema: string;\r\n /**\r\n * A special env object just for the data proxy edge runtime.\r\n * Allows bundlers to inject their own env variables (Vercel).\r\n * Allows platforms to declare global variables as env (Workers).\r\n * @remarks only used for the purpose of data proxy\r\n */\r\n injectableEdgeEnv?: () => LoadedEnv;\r\n /**\r\n * The contents of the datasource url saved in a string.\r\n * This can either be an env var name or connection string.\r\n * It is needed by the client to connect to the Data Proxy.\r\n * @remarks only used for the purpose of data proxy\r\n */\r\n inlineDatasources: {\r\n [name in string]: {\r\n url: EnvValue;\r\n };\r\n };\r\n /**\r\n * The string hash that was produced for a given schema\r\n * @remarks only used for the purpose of data proxy\r\n */\r\n inlineSchemaHash: string;\r\n /**\r\n * A marker to indicate that the client was not generated via `prisma\r\n * generate` but was generated via `generate --postinstall` script instead.\r\n * @remarks used to error for Vercel/Netlify for schema caching issues\r\n */\r\n postinstall?: boolean;\r\n /**\r\n * Information about the CI where the Prisma Client has been generated. The\r\n * name of the CI environment is stored at generation time because CI\r\n * information is not always available at runtime. Moreover, the edge client\r\n * has no notion of environment variables, so this works around that.\r\n * @remarks used to error for Vercel/Netlify for schema caching issues\r\n */\r\n ciName?: string;\r\n /**\r\n * Information about whether we have not found a schema.prisma file in the\r\n * default location, and that we fell back to finding the schema.prisma file\r\n * in the current working directory. This usually means it has been bundled.\r\n */\r\n isBundled?: boolean;\r\n /**\r\n * A boolean that is `false` when the client was generated with --no-engine. At\r\n * runtime, this means the client will be bound to be using the Data Proxy.\r\n */\r\n copyEngine?: boolean;\r\n /**\r\n * Optional wasm loading configuration\r\n */\r\n engineWasm?: EngineWasmLoadingConfig;\r\n compilerWasm?: CompilerWasmLoadingConfig;\r\n};\r\n\r\nexport declare type GetResult<Payload extends OperationPayload, Args, OperationName extends Operation = 'findUniqueOrThrow', GlobalOmitOptions = {}> = {\r\n findUnique: GetFindResult<Payload, Args, GlobalOmitOptions> | null;\r\n findUniqueOrThrow: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n findFirst: GetFindResult<Payload, Args, GlobalOmitOptions> | null;\r\n findFirstOrThrow: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n findMany: GetFindResult<Payload, Args, GlobalOmitOptions>[];\r\n create: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n createMany: GetBatchResult;\r\n createManyAndReturn: GetFindResult<Payload, Args, GlobalOmitOptions>[];\r\n update: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n updateMany: GetBatchResult;\r\n updateManyAndReturn: GetFindResult<Payload, Args, GlobalOmitOptions>[];\r\n upsert: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n delete: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n deleteMany: GetBatchResult;\r\n aggregate: GetAggregateResult<Payload, Args>;\r\n count: GetCountResult<Args>;\r\n groupBy: GetGroupByResult<Payload, Args>;\r\n $queryRaw: unknown;\r\n $queryRawTyped: unknown;\r\n $executeRaw: number;\r\n $queryRawUnsafe: unknown;\r\n $executeRawUnsafe: number;\r\n $runCommandRaw: JsonObject;\r\n findRaw: JsonObject;\r\n aggregateRaw: JsonObject;\r\n}[OperationName];\r\n\r\nexport declare function getRuntime(): GetRuntimeOutput;\r\n\r\ndeclare type GetRuntimeOutput = {\r\n id: RuntimeName;\r\n prettyName: string;\r\n isEdge: boolean;\r\n};\r\n\r\nexport declare type GetSelect<Base extends Record<any, any>, R extends InternalArgs['result'][string], KR extends keyof R = string extends keyof R ? never : keyof R> = {\r\n [K in KR | keyof Base]?: K extends KR ? boolean : Base[K];\r\n};\r\n\r\ndeclare type GlobalOmitOptions = {\r\n [modelName: string]: {\r\n [fieldName: string]: boolean;\r\n };\r\n};\r\n\r\ndeclare type HandleErrorParams = {\r\n args: JsArgs;\r\n error: any;\r\n clientMethod: string;\r\n callsite?: CallSite;\r\n transaction?: PrismaPromiseTransaction;\r\n modelName?: string;\r\n globalOmit?: GlobalOmitOptions;\r\n};\r\n\r\ndeclare type HrTime = [number, number];\r\n\r\n/**\r\n * Defines High-Resolution Time.\r\n *\r\n * The first number, HrTime[0], is UNIX Epoch time in seconds since 00:00:00 UTC on 1 January 1970.\r\n * The second number, HrTime[1], represents the partial second elapsed since Unix Epoch time represented by first number in nanoseconds.\r\n * For example, 2021-01-01T12:30:10.150Z in UNIX Epoch time in milliseconds is represented as 1609504210150.\r\n * The first number is calculated by converting and truncating the Epoch time in milliseconds to seconds:\r\n * HrTime[0] = Math.trunc(1609504210150 / 1000) = 1609504210.\r\n * The second number is calculated by converting the digits after the decimal point of the subtraction, (1609504210150 / 1000) - HrTime[0], to nanoseconds:\r\n * HrTime[1] = Number((1609504210.150 - HrTime[0]).toFixed(9)) * 1e9 = 150000000.\r\n * This is represented in HrTime format as [1609504210, 150000000].\r\n */\r\ndeclare type HrTime_2 = [number, number];\r\n\r\ndeclare type Index = ReadonlyDeep_2<{\r\n model: string;\r\n type: IndexType;\r\n isDefinedOnField: boolean;\r\n name?: string;\r\n dbName?: string;\r\n algorithm?: string;\r\n clustered?: boolean;\r\n fields: IndexField[];\r\n}>;\r\n\r\ndeclare type IndexField = ReadonlyDeep_2<{\r\n name: string;\r\n sortOrder?: SortOrder;\r\n length?: number;\r\n operatorClass?: string;\r\n}>;\r\n\r\ndeclare type IndexType = 'id' | 'normal' | 'unique' | 'fulltext';\r\n\r\ndeclare type InMemoryOps = {\r\n pagination: Pagination | null;\r\n distinct: string[] | null;\r\n reverse: boolean;\r\n linkingFields: string[] | null;\r\n nested: Record<string, InMemoryOps>;\r\n};\r\n\r\n/**\r\n * Matches a JSON array.\r\n * Unlike \\`JsonArray\\`, readonly arrays are assignable to this type.\r\n */\r\nexport declare interface InputJsonArray extends ReadonlyArray<InputJsonValue | null> {\r\n}\r\n\r\n/**\r\n * Matches a JSON object.\r\n * Unlike \\`JsonObject\\`, this type allows undefined and read-only properties.\r\n */\r\nexport declare type InputJsonObject = {\r\n readonly [Key in string]?: InputJsonValue | null;\r\n};\r\n\r\n/**\r\n * Matches any valid value that can be used as an input for operations like\r\n * create and update as the value of a JSON field. Unlike \\`JsonValue\\`, this\r\n * type allows read-only arrays and read-only object properties and disallows\r\n * \\`null\\` at the top level.\r\n *\r\n * \\`null\\` cannot be used as the value of a JSON field because its meaning\r\n * would be ambiguous. Use \\`Prisma.JsonNull\\` to store the JSON null value or\r\n * \\`Prisma.DbNull\\` to clear the JSON value and set the field to the database\r\n * NULL value instead.\r\n *\r\n * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-by-null-values\r\n */\r\nexport declare type InputJsonValue = string | number | boolean | InputJsonObject | InputJsonArray | {\r\n toJSON(): unknown;\r\n};\r\n\r\ndeclare type InputType = ReadonlyDeep_2<{\r\n name: string;\r\n constraints: {\r\n maxNumFields: number | null;\r\n minNumFields: number | null;\r\n fields?: string[];\r\n };\r\n meta?: {\r\n source?: string;\r\n grouping?: string;\r\n };\r\n fields: SchemaArg[];\r\n}>;\r\n\r\ndeclare type InputTypeRef = TypeRef<'scalar' | 'inputObjectTypes' | 'enumTypes' | 'fieldRefTypes'>;\r\n\r\ndeclare type InteractiveTransactionInfo<Payload = unknown> = {\r\n /**\r\n * Transaction ID returned by the query engine.\r\n */\r\n id: string;\r\n /**\r\n * Arbitrary payload the meaning of which depends on the `Engine` implementation.\r\n * For example, `DataProxyEngine` needs to associate different API endpoints with transactions.\r\n * In `LibraryEngine` and `BinaryEngine` it is currently not used.\r\n */\r\n payload: Payload;\r\n};\r\n\r\ndeclare type InteractiveTransactionOptions<Payload> = Transaction_2.InteractiveTransactionInfo<Payload>;\r\n\r\nexport declare type InternalArgs<R = {\r\n [K in string]: {\r\n [K in string]: unknown;\r\n };\r\n}, M = {\r\n [K in string]: {\r\n [K in string]: unknown;\r\n };\r\n}, Q = {\r\n [K in string]: {\r\n [K in string]: unknown;\r\n };\r\n}, C = {\r\n [K in string]: unknown;\r\n}> = {\r\n result: {\r\n [K in keyof R]: {\r\n [P in keyof R[K]]: () => R[K][P];\r\n };\r\n };\r\n model: {\r\n [K in keyof M]: {\r\n [P in keyof M[K]]: () => M[K][P];\r\n };\r\n };\r\n query: {\r\n [K in keyof Q]: {\r\n [P in keyof Q[K]]: () => Q[K][P];\r\n };\r\n };\r\n client: {\r\n [K in keyof C]: () => C[K];\r\n };\r\n};\r\n\r\ndeclare type InternalRequestParams = {\r\n /**\r\n * The original client method being called.\r\n * Even though the rootField / operation can be changed,\r\n * this method stays as it is, as it's what the user's\r\n * code looks like\r\n */\r\n clientMethod: string;\r\n /**\r\n * Name of js model that triggered the request. Might be used\r\n * for warnings or error messages\r\n */\r\n jsModelName?: string;\r\n callsite?: CallSite;\r\n transaction?: PrismaPromiseTransaction;\r\n unpacker?: Unpacker;\r\n otelParentCtx?: Context;\r\n /** Used to \"desugar\" a user input into an \"expanded\" one */\r\n argsMapper?: (args?: UserArgs_2) => UserArgs_2;\r\n /** Used to convert args for middleware and back */\r\n middlewareArgsMapper?: MiddlewareArgsMapper<unknown, unknown>;\r\n /** Used for Accelerate client extension via Data Proxy */\r\n customDataProxyFetch?: AccelerateExtensionFetchDecorator;\r\n} & Omit<QueryMiddlewareParams, 'runInTransaction'>;\r\n\r\ndeclare type IsolationLevel = 'READ UNCOMMITTED' | 'READ COMMITTED' | 'REPEATABLE READ' | 'SNAPSHOT' | 'SERIALIZABLE';\r\n\r\ndeclare type IsolationLevel_2 = 'ReadUncommitted' | 'ReadCommitted' | 'RepeatableRead' | 'Snapshot' | 'Serializable';\r\n\r\ndeclare function isSkip(value: unknown): value is Skip;\r\n\r\nexport declare function isTypedSql(value: unknown): value is UnknownTypedSql;\r\n\r\nexport declare type ITXClientDenyList = (typeof denylist)[number];\r\n\r\nexport declare const itxClientDenyList: readonly (string | symbol)[];\r\n\r\ndeclare interface Job {\r\n resolve: (data: any) => void;\r\n reject: (data: any) => void;\r\n request: any;\r\n}\r\n\r\n/**\r\n * Create a SQL query for a list of values.\r\n */\r\nexport declare function join(values: readonly RawValue[], separator?: string, prefix?: string, suffix?: string): Sql;\r\n\r\ndeclare type JoinExpression = {\r\n child: QueryPlanNode;\r\n on: [left: string, right: string][];\r\n parentField: string;\r\n isRelationUnique: boolean;\r\n};\r\n\r\nexport declare type JsArgs = {\r\n select?: Selection_2;\r\n include?: Selection_2;\r\n omit?: Omission;\r\n [argName: string]: JsInputValue;\r\n};\r\n\r\nexport declare type JsInputValue = null | undefined | string | number | boolean | bigint | Uint8Array | Date | DecimalJsLike | ObjectEnumValue | RawParameters | JsonConvertible | FieldRef<string, unknown> | JsInputValue[] | Skip | {\r\n [key: string]: JsInputValue;\r\n};\r\n\r\ndeclare type JsonArgumentValue = number | string | boolean | null | RawTaggedValue | JsonArgumentValue[] | {\r\n [key: string]: JsonArgumentValue;\r\n};\r\n\r\n/**\r\n * From https://github.com/sindresorhus/type-fest/\r\n * Matches a JSON array.\r\n */\r\nexport declare interface JsonArray extends Array<JsonValue> {\r\n}\r\n\r\nexport declare type JsonBatchQuery = {\r\n batch: JsonQuery[];\r\n transaction?: {\r\n isolationLevel?: IsolationLevel_2;\r\n };\r\n};\r\n\r\nexport declare interface JsonConvertible {\r\n toJSON(): unknown;\r\n}\r\n\r\ndeclare type JsonFieldSelection = {\r\n arguments?: Record<string, JsonArgumentValue> | RawTaggedValue;\r\n selection: JsonSelectionSet;\r\n};\r\n\r\ndeclare class JsonNull extends NullTypesEnumValue {\r\n #private;\r\n}\r\n\r\n/**\r\n * From https://github.com/sindresorhus/type-fest/\r\n * Matches a JSON object.\r\n * This type can be useful to enforce some input to be JSON-compatible or as a super-type to be extended from.\r\n */\r\nexport declare type JsonObject = {\r\n [Key in string]?: JsonValue;\r\n};\r\n\r\nexport declare type JsonQuery = {\r\n modelName?: string;\r\n action: JsonQueryAction;\r\n query: JsonFieldSelection;\r\n};\r\n\r\ndeclare type JsonQueryAction = 'findUnique' | 'findUniqueOrThrow' | 'findFirst' | 'findFirstOrThrow' | 'findMany' | 'createOne' | 'createMany' | 'createManyAndReturn' | 'updateOne' | 'updateMany' | 'updateManyAndReturn' | 'deleteOne' | 'deleteMany' | 'upsertOne' | 'aggregate' | 'groupBy' | 'executeRaw' | 'queryRaw' | 'runCommandRaw' | 'findRaw' | 'aggregateRaw';\r\n\r\ndeclare type JsonSelectionSet = {\r\n $scalars?: boolean;\r\n $composites?: boolean;\r\n} & {\r\n [fieldName: string]: boolean | JsonFieldSelection;\r\n};\r\n\r\n/**\r\n * From https://github.com/sindresorhus/type-fest/\r\n * Matches any valid JSON value.\r\n */\r\nexport declare type JsonValue = string | number | boolean | JsonObject | JsonArray | null;\r\n\r\nexport declare type JsOutputValue = null | string | number | boolean | bigint | Uint8Array | Date | Decimal | JsOutputValue[] | {\r\n [key: string]: JsOutputValue;\r\n};\r\n\r\nexport declare type JsPromise<T> = Promise<T> & {};\r\n\r\ndeclare type KnownErrorParams = {\r\n code: string;\r\n clientVersion: string;\r\n meta?: Record<string, unknown>;\r\n batchRequestIdx?: number;\r\n};\r\n\r\n/**\r\n * A pointer from the current {@link Span} to another span in the same trace or\r\n * in a different trace.\r\n * Few examples of Link usage.\r\n * 1. Batch Processing: A batch of elements may contain elements associated\r\n * with one or more traces/spans. Since there can only be one parent\r\n * SpanContext, Link is used to keep reference to SpanContext of all\r\n * elements in the batch.\r\n * 2. Public Endpoint: A SpanContext in incoming client request on a public\r\n * endpoint is untrusted from service provider perspective. In such case it\r\n * is advisable to start a new trace with appropriate sampling decision.\r\n * However, it is desirable to associate incoming SpanContext to new trace\r\n * initiated on service provider side so two traces (from Client and from\r\n * Service Provider) can be correlated.\r\n */\r\ndeclare interface Link {\r\n /** The {@link SpanContext} of a linked span. */\r\n context: SpanContext;\r\n /** A set of {@link SpanAttributes} on the link. */\r\n attributes?: SpanAttributes;\r\n /** Count of attributes of the link that were dropped due to collection limits */\r\n droppedAttributesCount?: number;\r\n}\r\n\r\ndeclare type LoadedEnv = {\r\n message?: string;\r\n parsed: {\r\n [x: string]: string;\r\n };\r\n} | undefined;\r\n\r\ndeclare type LocationInFile = {\r\n fileName: string;\r\n lineNumber: number | null;\r\n columnNumber: number | null;\r\n};\r\n\r\ndeclare type LogDefinition = {\r\n level: LogLevel;\r\n emit: 'stdout' | 'event';\r\n};\r\n\r\n/**\r\n * Typings for the events we emit.\r\n *\r\n * @remarks\r\n * If this is updated, our edge runtime shim needs to be updated as well.\r\n */\r\ndeclare type LogEmitter = {\r\n on<E extends EngineEventType>(event: E, listener: (event: EngineEvent<E>) => void): LogEmitter;\r\n emit(event: QueryEventType, payload: QueryEvent): boolean;\r\n emit(event: LogEventType, payload: LogEvent): boolean;\r\n};\r\n\r\ndeclare type LogEvent = {\r\n timestamp: Date;\r\n message: string;\r\n target: string;\r\n};\r\n\r\ndeclare type LogEventType = 'info' | 'warn' | 'error';\r\n\r\ndeclare type LogLevel = 'info' | 'query' | 'warn' | 'error';\r\n\r\n/**\r\n * Generates more strict variant of an enum which, unlike regular enum,\r\n * throws on non-existing property access. This can be useful in following situations:\r\n * - we have an API, that accepts both `undefined` and `SomeEnumType` as an input\r\n * - enum values are generated dynamically from DMMF.\r\n *\r\n * In that case, if using normal enums and no compile-time typechecking, using non-existing property\r\n * will result in `undefined` value being used, which will be accepted. Using strict enum\r\n * in this case will help to have a runtime exception, telling you that you are probably doing something wrong.\r\n *\r\n * Note: if you need to check for existence of a value in the enum you can still use either\r\n * `in` operator or `hasOwnProperty` function.\r\n *\r\n * @param definition\r\n * @returns\r\n */\r\nexport declare function makeStrictEnum<T extends Record<PropertyKey, string | number>>(definition: T): T;\r\n\r\nexport declare function makeTypedQueryFactory(sql: string): (...values: any[]) => TypedSql<any[], unknown>;\r\n\r\ndeclare type MappedError = {\r\n kind: 'GenericJs';\r\n id: number;\r\n} | {\r\n kind: 'UnsupportedNativeDataType';\r\n type: string;\r\n} | {\r\n kind: 'InvalidIsolationLevel';\r\n level: string;\r\n} | {\r\n kind: 'LengthMismatch';\r\n column?: string;\r\n} | {\r\n kind: 'UniqueConstraintViolation';\r\n constraint?: {\r\n fields: string[];\r\n } | {\r\n index: string;\r\n } | {\r\n foreignKey: {};\r\n };\r\n} | {\r\n kind: 'NullConstraintViolation';\r\n constraint?: {\r\n fields: string[];\r\n } | {\r\n index: string;\r\n } | {\r\n foreignKey: {};\r\n };\r\n} | {\r\n kind: 'ForeignKeyConstraintViolation';\r\n constraint?: {\r\n fields: string[];\r\n } | {\r\n index: string;\r\n } | {\r\n foreignKey: {};\r\n };\r\n} | {\r\n kind: 'DatabaseNotReachable';\r\n host?: string;\r\n port?: number;\r\n} | {\r\n kind: 'DatabaseDoesNotExist';\r\n db?: string;\r\n} | {\r\n kind: 'DatabaseAlreadyExists';\r\n db?: string;\r\n} | {\r\n kind: 'DatabaseAccessDenied';\r\n db?: string;\r\n} | {\r\n kind: 'ConnectionClosed';\r\n} | {\r\n kind: 'TlsConnectionError';\r\n reason: string;\r\n} | {\r\n kind: 'AuthenticationFailed';\r\n user?: string;\r\n} | {\r\n kind: 'TransactionWriteConflict';\r\n} | {\r\n kind: 'TableDoesNotExist';\r\n table?: string;\r\n} | {\r\n kind: 'ColumnNotFound';\r\n column?: string;\r\n} | {\r\n kind: 'TooManyConnections';\r\n cause: string;\r\n} | {\r\n kind: 'ValueOutOfRange';\r\n cause: string;\r\n} | {\r\n kind: 'MissingFullTextSearchIndex';\r\n} | {\r\n kind: 'SocketTimeout';\r\n} | {\r\n kind: 'InconsistentColumnData';\r\n cause: string;\r\n} | {\r\n kind: 'TransactionAlreadyClosed';\r\n cause: string;\r\n} | {\r\n kind: 'postgres';\r\n code: string;\r\n severity: string;\r\n message: string;\r\n detail: string | undefined;\r\n column: string | undefined;\r\n hint: string | undefined;\r\n} | {\r\n kind: 'mysql';\r\n code: number;\r\n message: string;\r\n state: string;\r\n} | {\r\n kind: 'sqlite';\r\n /**\r\n * Sqlite extended error code: https://www.sqlite.org/rescode.html\r\n */\r\n extendedCode: number;\r\n message: string;\r\n} | {\r\n kind: 'mssql';\r\n code: number;\r\n message: string;\r\n};\r\n\r\ndeclare type Mappings = ReadonlyDeep_2<{\r\n modelOperations: ModelMapping[];\r\n otherOperations: {\r\n read: string[];\r\n write: string[];\r\n };\r\n}>;\r\n\r\n/**\r\n * Class that holds the list of all extensions, applied to particular instance,\r\n * as well as resolved versions of the components that need to apply on\r\n * different levels. Main idea of this class: avoid re-resolving as much of the\r\n * stuff as possible when new extensions are added while also delaying the\r\n * resolve until the point it is actually needed. For example, computed fields\r\n * of the model won't be resolved unless the model is actually queried. Neither\r\n * adding extensions with `client` component only cause other components to\r\n * recompute.\r\n */\r\ndeclare class MergedExtensionsList {\r\n private head?;\r\n private constructor();\r\n static empty(): MergedExtensionsList;\r\n static single(extension: ExtensionArgs): MergedExtensionsList;\r\n isEmpty(): boolean;\r\n append(extension: ExtensionArgs): MergedExtensionsList;\r\n getAllComputedFields(dmmfModelName: string): ComputedFieldsMap | undefined;\r\n getAllClientExtensions(): ClientArg | undefined;\r\n getAllModelExtensions(dmmfModelName: string): ModelArg | undefined;\r\n getAllQueryCallbacks(jsModelName: string, operation: string): any;\r\n getAllBatchQueryCallbacks(): BatchQueryOptionsCb[];\r\n}\r\n\r\nexport declare type MergeExtArgs<TypeMap extends TypeMapDef, ExtArgs extends Record<any, any>, Args extends Record<any, any>> = ComputeDeep<ExtArgs & Args & AllModelsToStringIndex<TypeMap, Args, 'result'> & AllModelsToStringIndex<TypeMap, Args, 'model'>>;\r\n\r\nexport declare type Metric<T> = {\r\n key: string;\r\n value: T;\r\n labels: Record<string, string>;\r\n description: string;\r\n};\r\n\r\nexport declare type MetricHistogram = {\r\n buckets: MetricHistogramBucket[];\r\n sum: number;\r\n count: number;\r\n};\r\n\r\nexport declare type MetricHistogramBucket = [maxValue: number, count: number];\r\n\r\nexport declare type Metrics = {\r\n counters: Metric<number>[];\r\n gauges: Metric<number>[];\r\n histograms: Metric<MetricHistogram>[];\r\n};\r\n\r\nexport declare class MetricsClient {\r\n private _client;\r\n constructor(client: Client);\r\n /**\r\n * Returns all metrics gathered up to this point in prometheus format.\r\n * Result of this call can be exposed directly to prometheus scraping endpoint\r\n *\r\n * @param options\r\n * @returns\r\n */\r\n prometheus(options?: MetricsOptions): Promise<string>;\r\n /**\r\n * Returns all metrics gathered up to this point in prometheus format.\r\n *\r\n * @param options\r\n * @returns\r\n */\r\n json(options?: MetricsOptions): Promise<Metrics>;\r\n}\r\n\r\ndeclare type MetricsOptions = {\r\n /**\r\n * Labels to add to every metrics in key-value format\r\n */\r\n globalLabels?: Record<string, string>;\r\n};\r\n\r\ndeclare type MetricsOptionsCommon = {\r\n globalLabels?: Record<string, string>;\r\n};\r\n\r\ndeclare type MetricsOptionsJson = {\r\n format: 'json';\r\n} & MetricsOptionsCommon;\r\n\r\ndeclare type MetricsOptionsPrometheus = {\r\n format: 'prometheus';\r\n} & MetricsOptionsCommon;\r\n\r\ndeclare type MiddlewareArgsMapper<RequestArgs, MiddlewareArgs> = {\r\n requestArgsToMiddlewareArgs(requestArgs: RequestArgs): MiddlewareArgs;\r\n middlewareArgsToRequestArgs(middlewareArgs: MiddlewareArgs): RequestArgs;\r\n};\r\n\r\ndeclare type Model = ReadonlyDeep_2<{\r\n name: string;\r\n dbName: string | null;\r\n schema: string | null;\r\n fields: Field[];\r\n uniqueFields: string[][];\r\n uniqueIndexes: uniqueIndex[];\r\n documentation?: string;\r\n primaryKey: PrimaryKey | null;\r\n isGenerated?: boolean;\r\n}>;\r\n\r\ndeclare enum ModelAction {\r\n findUnique = \"findUnique\",\r\n findUniqueOrThrow = \"findUniqueOrThrow\",\r\n findFirst = \"findFirst\",\r\n findFirstOrThrow = \"findFirstOrThrow\",\r\n findMany = \"findMany\",\r\n create = \"create\",\r\n createMany = \"createMany\",\r\n createManyAndReturn = \"createManyAndReturn\",\r\n update = \"update\",\r\n updateMany = \"updateMany\",\r\n updateManyAndReturn = \"updateManyAndReturn\",\r\n upsert = \"upsert\",\r\n delete = \"delete\",\r\n deleteMany = \"deleteMany\",\r\n groupBy = \"groupBy\",\r\n count = \"count\",// TODO: count does not actually exist in DMMF\r\n aggregate = \"aggregate\",\r\n findRaw = \"findRaw\",\r\n aggregateRaw = \"aggregateRaw\"\r\n}\r\n\r\nexport declare type ModelArg = {\r\n [MethodName in string]: unknown;\r\n};\r\n\r\nexport declare type ModelArgs = {\r\n model: {\r\n [ModelName in string]: ModelArg;\r\n };\r\n};\r\n\r\nexport declare type ModelKey<TypeMap extends TypeMapDef, M extends PropertyKey> = M extends keyof TypeMap['model'] ? M : Capitalize<M & string>;\r\n\r\ndeclare type ModelMapping = ReadonlyDeep_2<{\r\n model: string;\r\n plural: string;\r\n findUnique?: string | null;\r\n findUniqueOrThrow?: string | null;\r\n findFirst?: string | null;\r\n findFirstOrThrow?: string | null;\r\n findMany?: string | null;\r\n create?: string | null;\r\n createMany?: string | null;\r\n createManyAndReturn?: string | null;\r\n update?: string | null;\r\n updateMany?: string | null;\r\n updateManyAndReturn?: string | null;\r\n upsert?: string | null;\r\n delete?: string | null;\r\n deleteMany?: string | null;\r\n aggregate?: string | null;\r\n groupBy?: string | null;\r\n count?: string | null;\r\n findRaw?: string | null;\r\n aggregateRaw?: string | null;\r\n}>;\r\n\r\nexport declare type ModelQueryOptionsCb = (args: ModelQueryOptionsCbArgs) => Promise<any>;\r\n\r\nexport declare type ModelQueryOptionsCbArgs = {\r\n model: string;\r\n operation: string;\r\n args: JsArgs;\r\n query: (args: JsArgs) => Promise<unknown>;\r\n};\r\n\r\ndeclare type MultiBatchResponse = {\r\n type: 'multi';\r\n plans: QueryPlanNode[];\r\n};\r\n\r\nexport declare type NameArgs = {\r\n name?: string;\r\n};\r\n\r\nexport declare type Narrow<A> = {\r\n [K in keyof A]: A[K] extends Function ? A[K] : Narrow<A[K]>;\r\n} | (A extends Narrowable ? A : never);\r\n\r\nexport declare type Narrowable = string | number | bigint | boolean | [];\r\n\r\nexport declare type NeverToUnknown<T> = [T] extends [never] ? unknown : T;\r\n\r\ndeclare class NullTypesEnumValue extends ObjectEnumValue {\r\n _getNamespace(): string;\r\n}\r\n\r\n/**\r\n * Base class for unique values of object-valued enums.\r\n */\r\nexport declare abstract class ObjectEnumValue {\r\n constructor(arg?: symbol);\r\n abstract _getNamespace(): string;\r\n _getName(): string;\r\n toString(): string;\r\n}\r\n\r\nexport declare const objectEnumValues: {\r\n classes: {\r\n DbNull: typeof DbNull;\r\n JsonNull: typeof JsonNull;\r\n AnyNull: typeof AnyNull;\r\n };\r\n instances: {\r\n DbNull: DbNull;\r\n JsonNull: JsonNull;\r\n AnyNull: AnyNull;\r\n };\r\n};\r\n\r\ndeclare const officialPrismaAdapters: readonly [\"@prisma/adapter-planetscale\", \"@prisma/adapter-neon\", \"@prisma/adapter-libsql\", \"@prisma/adapter-better-sqlite3\", \"@prisma/adapter-d1\", \"@prisma/adapter-pg\", \"@prisma/adapter-mssql\", \"@prisma/adapter-mariadb\"];\r\n\r\nexport declare type Omission = Record<string, boolean | Skip>;\r\n\r\ndeclare type Omit_2<T, K extends string | number | symbol> = {\r\n [P in keyof T as P extends K ? never : P]: T[P];\r\n};\r\nexport { Omit_2 as Omit }\r\n\r\nexport declare type OmitValue<Omit, Key> = Key extends keyof Omit ? Omit[Key] : false;\r\n\r\nexport declare type Operation = 'findFirst' | 'findFirstOrThrow' | 'findUnique' | 'findUniqueOrThrow' | 'findMany' | 'create' | 'createMany' | 'createManyAndReturn' | 'update' | 'updateMany' | 'updateManyAndReturn' | 'upsert' | 'delete' | 'deleteMany' | 'aggregate' | 'count' | 'groupBy' | '$queryRaw' | '$executeRaw' | '$queryRawUnsafe' | '$executeRawUnsafe' | 'findRaw' | 'aggregateRaw' | '$runCommandRaw';\r\n\r\nexport declare type OperationPayload = {\r\n name: string;\r\n scalars: {\r\n [ScalarName in string]: unknown;\r\n };\r\n objects: {\r\n [ObjectName in string]: unknown;\r\n };\r\n composites: {\r\n [CompositeName in string]: unknown;\r\n };\r\n};\r\n\r\nexport declare type Optional<O, K extends keyof any = keyof O> = {\r\n [P in K & keyof O]?: O[P];\r\n} & {\r\n [P in Exclude<keyof O, K>]: O[P];\r\n};\r\n\r\nexport declare type OptionalFlat<T> = {\r\n [K in keyof T]?: T[K];\r\n};\r\n\r\nexport declare type OptionalKeys<O> = {\r\n [K in keyof O]-?: {} extends Pick_2<O, K> ? K : never;\r\n}[keyof O];\r\n\r\ndeclare type Options = {\r\n /** Timeout for starting the transaction */\r\n maxWait?: number;\r\n /** Timeout for the transaction body */\r\n timeout?: number;\r\n /** Transaction isolation level */\r\n isolationLevel?: IsolationLevel_2;\r\n};\r\n\r\ndeclare type Options_2 = {\r\n clientVersion: string;\r\n};\r\n\r\nexport declare type Or<A extends 1 | 0, B extends 1 | 0> = {\r\n 0: {\r\n 0: 0;\r\n 1: 1;\r\n };\r\n 1: {\r\n 0: 1;\r\n 1: 1;\r\n };\r\n}[A][B];\r\n\r\ndeclare type OtherOperationMappings = ReadonlyDeep_2<{\r\n read: string[];\r\n write: string[];\r\n}>;\r\n\r\ndeclare type OutputType = ReadonlyDeep_2<{\r\n name: string;\r\n fields: SchemaField[];\r\n}>;\r\n\r\ndeclare type OutputTypeRef = TypeRef<'scalar' | 'outputObjectTypes' | 'enumTypes'>;\r\n\r\ndeclare type Pagination = {\r\n cursor: Record<string, PrismaValue> | null;\r\n take: number | null;\r\n skip: number | null;\r\n};\r\n\r\nexport declare function Param<$Type, $Value extends string>(name: $Value): Param<$Type, $Value>;\r\n\r\nexport declare type Param<out $Type, $Value extends string> = {\r\n readonly name: $Value;\r\n};\r\n\r\nexport declare type PatchFlat<O1, O2> = O1 & Omit_2<O2, keyof O1>;\r\n\r\nexport declare type Path<O, P, Default = never> = O extends unknown ? P extends [infer K, ...infer R] ? K extends keyof O ? Path<O[K], R> : Default : O : never;\r\n\r\nexport declare type Payload<T, F extends Operation = never> = T extends {\r\n [K: symbol]: {\r\n types: {\r\n payload: any;\r\n };\r\n };\r\n} ? T[symbol]['types']['payload'] : any;\r\n\r\nexport declare type PayloadToResult<P, O extends Record_2<any, any> = RenameAndNestPayloadKeys<P>> = {\r\n [K in keyof O]?: O[K][K] extends any[] ? PayloadToResult<O[K][K][number]>[] : O[K][K] extends object ? PayloadToResult<O[K][K]> : O[K][K];\r\n};\r\n\r\ndeclare type Pick_2<T, K extends string | number | symbol> = {\r\n [P in keyof T as P extends K ? P : never]: T[P];\r\n};\r\nexport { Pick_2 as Pick }\r\n\r\ndeclare interface PlaceholderFormat {\r\n prefix: string;\r\n hasNumbering: boolean;\r\n}\r\n\r\ndeclare type PrimaryKey = ReadonlyDeep_2<{\r\n name: string | null;\r\n fields: string[];\r\n}>;\r\n\r\nexport declare class PrismaClientInitializationError extends Error {\r\n clientVersion: string;\r\n errorCode?: string;\r\n retryable?: boolean;\r\n constructor(message: string, clientVersion: string, errorCode?: string);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\nexport declare class PrismaClientKnownRequestError extends Error implements ErrorWithBatchIndex {\r\n code: string;\r\n meta?: Record<string, unknown>;\r\n clientVersion: string;\r\n batchRequestIdx?: number;\r\n constructor(message: string, { code, clientVersion, meta, batchRequestIdx }: KnownErrorParams);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\nexport declare type PrismaClientOptions = {\r\n /**\r\n * Overwrites the primary datasource url from your schema.prisma file\r\n */\r\n datasourceUrl?: string;\r\n /**\r\n * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-planetscale.\r\n */\r\n adapter?: SqlDriverAdapterFactory | null;\r\n /**\r\n * Overwrites the datasource url from your schema.prisma file\r\n */\r\n datasources?: Datasources;\r\n /**\r\n * @default \"colorless\"\r\n */\r\n errorFormat?: ErrorFormat;\r\n /**\r\n * The default values for Transaction options\r\n * maxWait ?= 2000\r\n * timeout ?= 5000\r\n */\r\n transactionOptions?: Transaction_2.Options;\r\n /**\r\n * @example\r\n * \\`\\`\\`\r\n * // Defaults to stdout\r\n * log: ['query', 'info', 'warn']\r\n *\r\n * // Emit as events\r\n * log: [\r\n * { emit: 'stdout', level: 'query' },\r\n * { emit: 'stdout', level: 'info' },\r\n * { emit: 'stdout', level: 'warn' }\r\n * ]\r\n * \\`\\`\\`\r\n * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/logging#the-log-option).\r\n */\r\n log?: Array<LogLevel | LogDefinition>;\r\n omit?: GlobalOmitOptions;\r\n /**\r\n * @internal\r\n * You probably don't want to use this. \\`__internal\\` is used by internal tooling.\r\n */\r\n __internal?: {\r\n debug?: boolean;\r\n engine?: {\r\n cwd?: string;\r\n binaryPath?: string;\r\n endpoint?: string;\r\n allowTriggerPanic?: boolean;\r\n };\r\n /** This can be used for testing purposes */\r\n configOverride?: (config: GetPrismaClientConfig) => GetPrismaClientConfig;\r\n };\r\n};\r\n\r\nexport declare class PrismaClientRustPanicError extends Error {\r\n clientVersion: string;\r\n constructor(message: string, clientVersion: string);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\nexport declare class PrismaClientUnknownRequestError extends Error implements ErrorWithBatchIndex {\r\n clientVersion: string;\r\n batchRequestIdx?: number;\r\n constructor(message: string, { clientVersion, batchRequestIdx }: UnknownErrorParams);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\nexport declare class PrismaClientValidationError extends Error {\r\n name: string;\r\n clientVersion: string;\r\n constructor(message: string, { clientVersion }: Options_2);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\ndeclare function prismaGraphQLToJSError({ error, user_facing_error }: RequestError, clientVersion: string, activeProvider: string): PrismaClientKnownRequestError | PrismaClientUnknownRequestError;\r\n\r\ndeclare type PrismaOperationSpec<TArgs, TAction = string> = {\r\n args: TArgs;\r\n action: TAction;\r\n model: string;\r\n};\r\n\r\nexport declare interface PrismaPromise<T> extends Promise<T> {\r\n [Symbol.toStringTag]: 'PrismaPromise';\r\n}\r\n\r\n/**\r\n * Prisma's `Promise` that is backwards-compatible. All additions on top of the\r\n * original `Promise` are optional so that it can be backwards-compatible.\r\n * @see [[createPrismaPromise]]\r\n */\r\ndeclare interface PrismaPromise_2<TResult, TSpec extends PrismaOperationSpec<unknown> = any> extends Promise<TResult> {\r\n get spec(): TSpec;\r\n /**\r\n * Extension of the original `.then` function\r\n * @param onfulfilled same as regular promises\r\n * @param onrejected same as regular promises\r\n * @param transaction transaction options\r\n */\r\n then<R1 = TResult, R2 = never>(onfulfilled?: (value: TResult) => R1 | PromiseLike<R1>, onrejected?: (error: unknown) => R2 | PromiseLike<R2>, transaction?: PrismaPromiseTransaction): Promise<R1 | R2>;\r\n /**\r\n * Extension of the original `.catch` function\r\n * @param onrejected same as regular promises\r\n * @param transaction transaction options\r\n */\r\n catch<R = never>(onrejected?: ((reason: any) => R | PromiseLike<R>) | undefined | null, transaction?: PrismaPromiseTransaction): Promise<TResult | R>;\r\n /**\r\n * Extension of the original `.finally` function\r\n * @param onfinally same as regular promises\r\n * @param transaction transaction options\r\n */\r\n finally(onfinally?: (() => void) | undefined | null, transaction?: PrismaPromiseTransaction): Promise<TResult>;\r\n /**\r\n * Called when executing a batch of regular tx\r\n * @param transaction transaction options for batch tx\r\n */\r\n requestTransaction?(transaction: PrismaPromiseBatchTransaction): PromiseLike<unknown>;\r\n}\r\n\r\ndeclare type PrismaPromiseBatchTransaction = {\r\n kind: 'batch';\r\n id: number;\r\n isolationLevel?: IsolationLevel_2;\r\n index: number;\r\n lock: PromiseLike<void>;\r\n};\r\n\r\ndeclare type PrismaPromiseCallback = (transaction?: PrismaPromiseTransaction) => Promise<unknown>;\r\n\r\n/**\r\n * Creates a [[PrismaPromise]]. It is Prisma's implementation of `Promise` which\r\n * is essentially a proxy for `Promise`. All the transaction-compatible client\r\n * methods return one, this allows for pre-preparing queries without executing\r\n * them until `.then` is called. It's the foundation of Prisma's query batching.\r\n * @param callback that will be wrapped within our promise implementation\r\n * @see [[PrismaPromise]]\r\n * @returns\r\n */\r\ndeclare type PrismaPromiseFactory = <T extends PrismaOperationSpec<unknown>>(callback: PrismaPromiseCallback, op?: T) => PrismaPromise_2<unknown>;\r\n\r\ndeclare type PrismaPromiseInteractiveTransaction<PayloadType = unknown> = {\r\n kind: 'itx';\r\n id: string;\r\n payload: PayloadType;\r\n};\r\n\r\ndeclare type PrismaPromiseTransaction<PayloadType = unknown> = PrismaPromiseBatchTransaction | PrismaPromiseInteractiveTransaction<PayloadType>;\r\n\r\ndeclare type PrismaValue = string | boolean | number | PrismaValue[] | null | Record<string, unknown> | PrismaValuePlaceholder | PrismaValueGenerator;\r\n\r\ndeclare type PrismaValueGenerator = {\r\n prisma__type: 'generatorCall';\r\n prisma__value: {\r\n name: string;\r\n args: PrismaValue[];\r\n };\r\n};\r\n\r\ndeclare type PrismaValuePlaceholder = {\r\n prisma__type: 'param';\r\n prisma__value: {\r\n name: string;\r\n type: string;\r\n };\r\n};\r\n\r\nexport declare const PrivateResultType: unique symbol;\r\n\r\ndeclare type Provider = 'mysql' | 'postgres' | 'sqlite' | 'sqlserver';\r\n\r\ndeclare namespace Public {\r\n export {\r\n validator\r\n }\r\n}\r\nexport { Public }\r\n\r\ndeclare namespace Public_2 {\r\n export {\r\n Args,\r\n Result,\r\n Payload,\r\n PrismaPromise,\r\n Operation,\r\n Exact\r\n }\r\n}\r\n\r\ndeclare type Query = ReadonlyDeep_2<{\r\n name: string;\r\n args: SchemaArg[];\r\n output: QueryOutput;\r\n}>;\r\n\r\ndeclare interface Queryable<Query, Result> extends AdapterInfo {\r\n /**\r\n * Execute a query and return its result.\r\n */\r\n queryRaw(params: Query): Promise<Result>;\r\n /**\r\n * Execute a query and return the number of affected rows.\r\n */\r\n executeRaw(params: Query): Promise<number>;\r\n}\r\n\r\ndeclare type QueryCompiler = {\r\n compile(request: string): {};\r\n compileBatch(batchRequest: string): BatchResponse;\r\n free(): void;\r\n};\r\n\r\ndeclare interface QueryCompilerConstructor {\r\n new (options: QueryCompilerOptions): QueryCompiler;\r\n}\r\n\r\ndeclare type QueryCompilerOptions = {\r\n datamodel: string;\r\n provider: Provider;\r\n connectionInfo: ConnectionInfo;\r\n};\r\n\r\ndeclare type QueryEngineBatchGraphQLRequest = {\r\n batch: QueryEngineRequest[];\r\n transaction?: boolean;\r\n isolationLevel?: IsolationLevel_2;\r\n};\r\n\r\ndeclare type QueryEngineBatchRequest = QueryEngineBatchGraphQLRequest | JsonBatchQuery;\r\n\r\ndeclare type QueryEngineConfig = {\r\n datamodel: string;\r\n configDir: string;\r\n logQueries: boolean;\r\n ignoreEnvVarErrors: boolean;\r\n datasourceOverrides: Record<string, string>;\r\n env: Record<string, string | undefined>;\r\n logLevel: QueryEngineLogLevel;\r\n engineProtocol: QueryEngineProtocol;\r\n enableTracing: boolean;\r\n};\r\n\r\ndeclare interface QueryEngineConstructor {\r\n new (config: QueryEngineConfig, logger: (log: string) => void, adapter?: ErrorCapturingSqlDriverAdapter): QueryEngineInstance;\r\n}\r\n\r\ndeclare type QueryEngineInstance = {\r\n connect(headers: string, requestId: string): Promise<void>;\r\n disconnect(headers: string, requestId: string): Promise<void>;\r\n /**\r\n * Frees any resources allocated by the engine's WASM instance. This method is automatically created by WASM bindgen.\r\n * Noop for other engines.\r\n */\r\n free?(): void;\r\n /**\r\n * @param requestStr JSON.stringified `QueryEngineRequest | QueryEngineBatchRequest`\r\n * @param headersStr JSON.stringified `QueryEngineRequestHeaders`\r\n */\r\n query(requestStr: string, headersStr: string, transactionId: string | undefined, requestId: string): Promise<string>;\r\n sdlSchema?(): Promise<string>;\r\n startTransaction(options: string, traceHeaders: string, requestId: string): Promise<string>;\r\n commitTransaction(id: string, traceHeaders: string, requestId: string): Promise<string>;\r\n rollbackTransaction(id: string, traceHeaders: string, requestId: string): Promise<string>;\r\n metrics?(options: string): Promise<string>;\r\n applyPendingMigrations?(): Promise<void>;\r\n trace(requestId: string): Promise<string | null>;\r\n};\r\n\r\ndeclare type QueryEngineLogLevel = 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'off';\r\n\r\ndeclare type QueryEngineProtocol = 'graphql' | 'json';\r\n\r\ndeclare type QueryEngineRequest = {\r\n query: string;\r\n variables: Object;\r\n};\r\n\r\ndeclare type QueryEngineResultData<T> = {\r\n data: T;\r\n};\r\n\r\ndeclare type QueryEvent = {\r\n timestamp: Date;\r\n query: string;\r\n params: string;\r\n duration: number;\r\n target: string;\r\n};\r\n\r\ndeclare type QueryEventType = 'query';\r\n\r\ndeclare type QueryIntrospectionBuiltinType = 'int' | 'bigint' | 'float' | 'double' | 'string' | 'enum' | 'bytes' | 'bool' | 'char' | 'decimal' | 'json' | 'xml' | 'uuid' | 'datetime' | 'date' | 'time' | 'int-array' | 'bigint-array' | 'float-array' | 'double-array' | 'string-array' | 'char-array' | 'bytes-array' | 'bool-array' | 'decimal-array' | 'json-array' | 'xml-array' | 'uuid-array' | 'datetime-array' | 'date-array' | 'time-array' | 'null' | 'unknown';\r\n\r\ndeclare type QueryMiddlewareParams = {\r\n /** The model this is executed on */\r\n model?: string;\r\n /** The action that is being handled */\r\n action: Action;\r\n /** TODO what is this */\r\n dataPath: string[];\r\n /** TODO what is this */\r\n runInTransaction: boolean;\r\n args?: UserArgs_2;\r\n};\r\n\r\nexport declare type QueryOptions = {\r\n query: {\r\n [ModelName in string]: {\r\n [ModelAction in string]: ModelQueryOptionsCb;\r\n } | QueryOptionsCb;\r\n };\r\n};\r\n\r\nexport declare type QueryOptionsCb = (args: QueryOptionsCbArgs) => Promise<any>;\r\n\r\nexport declare type QueryOptionsCbArgs = {\r\n model?: string;\r\n operation: string;\r\n args: JsArgs | RawQueryArgs;\r\n query: (args: JsArgs | RawQueryArgs) => Promise<unknown>;\r\n};\r\n\r\ndeclare type QueryOutput = ReadonlyDeep_2<{\r\n name: string;\r\n isRequired: boolean;\r\n isList: boolean;\r\n}>;\r\n\r\ndeclare type QueryPlanBinding = {\r\n name: string;\r\n expr: QueryPlanNode;\r\n};\r\n\r\ndeclare type QueryPlanDbQuery = {\r\n type: 'rawSql';\r\n sql: string;\r\n args: PrismaValue[];\r\n argTypes: ArgType[];\r\n} | {\r\n type: 'templateSql';\r\n fragments: Fragment[];\r\n placeholderFormat: PlaceholderFormat;\r\n args: PrismaValue[];\r\n argTypes: DynamicArgType[];\r\n chunkable: boolean;\r\n};\r\n\r\ndeclare type QueryPlanNode = {\r\n type: 'value';\r\n args: PrismaValue;\r\n} | {\r\n type: 'seq';\r\n args: QueryPlanNode[];\r\n} | {\r\n type: 'get';\r\n args: {\r\n name: string;\r\n };\r\n} | {\r\n type: 'let';\r\n args: {\r\n bindings: QueryPlanBinding[];\r\n expr: QueryPlanNode;\r\n };\r\n} | {\r\n type: 'getFirstNonEmpty';\r\n args: {\r\n names: string[];\r\n };\r\n} | {\r\n type: 'query';\r\n args: QueryPlanDbQuery;\r\n} | {\r\n type: 'execute';\r\n args: QueryPlanDbQuery;\r\n} | {\r\n type: 'reverse';\r\n args: QueryPlanNode;\r\n} | {\r\n type: 'sum';\r\n args: QueryPlanNode[];\r\n} | {\r\n type: 'concat';\r\n args: QueryPlanNode[];\r\n} | {\r\n type: 'unique';\r\n args: QueryPlanNode;\r\n} | {\r\n type: 'required';\r\n args: QueryPlanNode;\r\n} | {\r\n type: 'join';\r\n args: {\r\n parent: QueryPlanNode;\r\n children: JoinExpression[];\r\n };\r\n} | {\r\n type: 'mapField';\r\n args: {\r\n field: string;\r\n records: QueryPlanNode;\r\n };\r\n} | {\r\n type: 'transaction';\r\n args: QueryPlanNode;\r\n} | {\r\n type: 'dataMap';\r\n args: {\r\n expr: QueryPlanNode;\r\n structure: ResultNode;\r\n enums: Record<string, Record<string, string>>;\r\n };\r\n} | {\r\n type: 'validate';\r\n args: {\r\n expr: QueryPlanNode;\r\n rules: DataRule[];\r\n } & ValidationError;\r\n} | {\r\n type: 'if';\r\n args: {\r\n value: QueryPlanNode;\r\n rule: DataRule;\r\n then: QueryPlanNode;\r\n else: QueryPlanNode;\r\n };\r\n} | {\r\n type: 'unit';\r\n} | {\r\n type: 'diff';\r\n args: {\r\n from: QueryPlanNode;\r\n to: QueryPlanNode;\r\n };\r\n} | {\r\n type: 'initializeRecord';\r\n args: {\r\n expr: QueryPlanNode;\r\n fields: Record<string, FieldInitializer>;\r\n };\r\n} | {\r\n type: 'mapRecord';\r\n args: {\r\n expr: QueryPlanNode;\r\n fields: Record<string, FieldOperation>;\r\n };\r\n} | {\r\n type: 'process';\r\n args: {\r\n expr: QueryPlanNode;\r\n operations: InMemoryOps;\r\n };\r\n};\r\n\r\n/**\r\n * Create raw SQL statement.\r\n */\r\nexport declare function raw(value: string): Sql;\r\n\r\nexport declare type RawParameters = {\r\n __prismaRawParameters__: true;\r\n values: string;\r\n};\r\n\r\nexport declare type RawQueryArgs = Sql | UnknownTypedSql | [query: string, ...values: RawValue[]];\r\n\r\ndeclare type RawResponse = {\r\n columns: string[];\r\n types: QueryIntrospectionBuiltinType[];\r\n rows: unknown[][];\r\n};\r\n\r\ndeclare type RawTaggedValue = {\r\n $type: 'Raw';\r\n value: unknown;\r\n};\r\n\r\n/**\r\n * Supported value or SQL instance.\r\n */\r\nexport declare type RawValue = Value | Sql;\r\n\r\nexport declare type ReadonlyDeep<T> = {\r\n readonly [K in keyof T]: ReadonlyDeep<T[K]>;\r\n};\r\n\r\ndeclare type ReadonlyDeep_2<O> = {\r\n +readonly [K in keyof O]: ReadonlyDeep_2<O[K]>;\r\n};\r\n\r\ndeclare type Record_2<T extends string | number | symbol, U> = {\r\n [P in T]: U;\r\n};\r\nexport { Record_2 as Record }\r\n\r\nexport declare type RenameAndNestPayloadKeys<P> = {\r\n [K in keyof P as K extends 'scalars' | 'objects' | 'composites' ? keyof P[K] : never]: P[K];\r\n};\r\n\r\ndeclare type RequestBatchOptions<InteractiveTransactionPayload> = {\r\n transaction?: TransactionOptions_2<InteractiveTransactionPayload>;\r\n traceparent?: string;\r\n numTry?: number;\r\n containsWrite: boolean;\r\n customDataProxyFetch?: AccelerateExtensionFetchDecorator;\r\n};\r\n\r\ndeclare interface RequestError {\r\n error: string;\r\n user_facing_error: {\r\n is_panic: boolean;\r\n message: string;\r\n meta?: Record<string, unknown>;\r\n error_code?: string;\r\n batch_request_idx?: number;\r\n };\r\n}\r\n\r\ndeclare class RequestHandler {\r\n client: Client;\r\n dataloader: DataLoader<RequestParams>;\r\n private logEmitter?;\r\n constructor(client: Client, logEmitter?: LogEmitter);\r\n request(params: RequestParams): Promise<any>;\r\n mapQueryEngineResult({ dataPath, unpacker }: RequestParams, response: QueryEngineResultData<any>): any;\r\n /**\r\n * Handles the error and logs it, logging the error is done synchronously waiting for the event\r\n * handlers to finish.\r\n */\r\n handleAndLogRequestError(params: HandleErrorParams): never;\r\n handleRequestError({ error, clientMethod, callsite, transaction, args, modelName, globalOmit, }: HandleErrorParams): never;\r\n sanitizeMessage(message: any): any;\r\n unpack(data: unknown, dataPath: string[], unpacker?: Unpacker): any;\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\ndeclare type RequestOptions<InteractiveTransactionPayload> = {\r\n traceparent?: string;\r\n numTry?: number;\r\n interactiveTransaction?: InteractiveTransactionOptions<InteractiveTransactionPayload>;\r\n isWrite: boolean;\r\n customDataProxyFetch?: AccelerateExtensionFetchDecorator;\r\n};\r\n\r\ndeclare type RequestParams = {\r\n modelName?: string;\r\n action: Action;\r\n protocolQuery: JsonQuery;\r\n dataPath: string[];\r\n clientMethod: string;\r\n callsite?: CallSite;\r\n transaction?: PrismaPromiseTransaction;\r\n extensions: MergedExtensionsList;\r\n args?: any;\r\n headers?: Record<string, string>;\r\n unpacker?: Unpacker;\r\n otelParentCtx?: Context;\r\n otelChildCtx?: Context;\r\n globalOmit?: GlobalOmitOptions;\r\n customDataProxyFetch?: AccelerateExtensionFetchDecorator;\r\n};\r\n\r\ndeclare type RequiredExtensionArgs = NameArgs & ResultArgs & ModelArgs & ClientArgs & QueryOptions;\r\nexport { RequiredExtensionArgs }\r\nexport { RequiredExtensionArgs as UserArgs }\r\n\r\nexport declare type RequiredKeys<O> = {\r\n [K in keyof O]-?: {} extends Pick_2<O, K> ? never : K;\r\n}[keyof O];\r\n\r\ndeclare function resolveDatasourceUrl({ inlineDatasources, overrideDatasources, env, clientVersion, }: {\r\n inlineDatasources: GetPrismaClientConfig['inlineDatasources'];\r\n overrideDatasources: Datasources;\r\n env: Record<string, string | undefined>;\r\n clientVersion: string;\r\n}): string;\r\n\r\nexport declare type Result<T, A, F extends Operation> = T extends {\r\n [K: symbol]: {\r\n types: {\r\n payload: any;\r\n };\r\n };\r\n} ? GetResult<T[symbol]['types']['payload'], A, F> : GetResult<{\r\n composites: {};\r\n objects: {};\r\n scalars: {};\r\n name: '';\r\n}, {}, F>;\r\n\r\nexport declare type Result_2<T, A, F extends Operation> = Result<T, A, F>;\r\n\r\ndeclare namespace Result_3 {\r\n export {\r\n Count,\r\n GetFindResult,\r\n SelectablePayloadFields,\r\n SelectField,\r\n DefaultSelection,\r\n UnwrapPayload,\r\n ApplyOmit,\r\n OmitValue,\r\n GetCountResult,\r\n Aggregate,\r\n GetAggregateResult,\r\n GetBatchResult,\r\n GetGroupByResult,\r\n GetResult,\r\n ExtractGlobalOmit\r\n }\r\n}\r\n\r\ndeclare type Result_4<T> = {\r\n map<U>(fn: (value: T) => U): Result_4<U>;\r\n flatMap<U>(fn: (value: T) => Result_4<U>): Result_4<U>;\r\n} & ({\r\n readonly ok: true;\r\n readonly value: T;\r\n} | {\r\n readonly ok: false;\r\n readonly error: Error_2;\r\n});\r\n\r\nexport declare type ResultArg = {\r\n [FieldName in string]: ResultFieldDefinition;\r\n};\r\n\r\nexport declare type ResultArgs = {\r\n result: {\r\n [ModelName in string]: ResultArg;\r\n };\r\n};\r\n\r\nexport declare type ResultArgsFieldCompute = (model: any) => unknown;\r\n\r\nexport declare type ResultFieldDefinition = {\r\n needs?: {\r\n [FieldName in string]: boolean;\r\n };\r\n compute: ResultArgsFieldCompute;\r\n};\r\n\r\ndeclare type ResultNode = {\r\n type: 'affectedRows';\r\n} | {\r\n type: 'object';\r\n fields: Record<string, ResultNode>;\r\n serializedName: string | null;\r\n skipNulls: boolean;\r\n} | {\r\n type: 'field';\r\n dbName: string;\r\n fieldType: FieldType;\r\n};\r\n\r\nexport declare type Return<T> = T extends (...args: any[]) => infer R ? R : T;\r\n\r\nexport declare type RuntimeDataModel = {\r\n readonly models: Record<string, RuntimeModel>;\r\n readonly enums: Record<string, RuntimeEnum>;\r\n readonly types: Record<string, RuntimeModel>;\r\n};\r\n\r\ndeclare type RuntimeEnum = Omit<DMMF_2.DatamodelEnum, 'name'>;\r\n\r\ndeclare type RuntimeModel = Omit<DMMF_2.Model, 'name'>;\r\n\r\ndeclare type RuntimeName = 'workerd' | 'deno' | 'netlify' | 'node' | 'bun' | 'edge-light' | '';\r\n\r\ndeclare type Schema = ReadonlyDeep_2<{\r\n rootQueryType?: string;\r\n rootMutationType?: string;\r\n inputObjectTypes: {\r\n model?: InputType[];\r\n prisma?: InputType[];\r\n };\r\n outputObjectTypes: {\r\n model: OutputType[];\r\n prisma: OutputType[];\r\n };\r\n enumTypes: {\r\n model?: SchemaEnum[];\r\n prisma: SchemaEnum[];\r\n };\r\n fieldRefTypes: {\r\n prisma?: FieldRefType[];\r\n };\r\n}>;\r\n\r\ndeclare type SchemaArg = ReadonlyDeep_2<{\r\n name: string;\r\n comment?: string;\r\n isNullable: boolean;\r\n isRequired: boolean;\r\n inputTypes: InputTypeRef[];\r\n requiresOtherFields?: string[];\r\n deprecation?: Deprecation;\r\n}>;\r\n\r\ndeclare type SchemaEnum = ReadonlyDeep_2<{\r\n name: string;\r\n values: string[];\r\n}>;\r\n\r\ndeclare type SchemaField = ReadonlyDeep_2<{\r\n name: string;\r\n isNullable?: boolean;\r\n outputType: OutputTypeRef;\r\n args: SchemaArg[];\r\n deprecation?: Deprecation;\r\n documentation?: string;\r\n}>;\r\n\r\nexport declare type Select<T, U> = T extends U ? T : never;\r\n\r\nexport declare type SelectablePayloadFields<K extends PropertyKey, O> = {\r\n objects: {\r\n [k in K]: O;\r\n };\r\n} | {\r\n composites: {\r\n [k in K]: O;\r\n };\r\n};\r\n\r\nexport declare type SelectField<P extends SelectablePayloadFields<any, any>, K extends PropertyKey> = P extends {\r\n objects: Record<K, any>;\r\n} ? P['objects'][K] : P extends {\r\n composites: Record<K, any>;\r\n} ? P['composites'][K] : never;\r\n\r\ndeclare type Selection_2 = Record<string, boolean | Skip | JsArgs>;\r\nexport { Selection_2 as Selection }\r\n\r\nexport declare function serializeJsonQuery({ modelName, action, args, runtimeDataModel, extensions, callsite, clientMethod, errorFormat, clientVersion, previewFeatures, globalOmit, }: SerializeParams): JsonQuery;\r\n\r\ndeclare type SerializeParams = {\r\n runtimeDataModel: RuntimeDataModel;\r\n modelName?: string;\r\n action: Action;\r\n args?: JsArgs;\r\n extensions?: MergedExtensionsList;\r\n callsite?: CallSite;\r\n clientMethod: string;\r\n clientVersion: string;\r\n errorFormat: ErrorFormat;\r\n previewFeatures: string[];\r\n globalOmit?: GlobalOmitOptions;\r\n};\r\n\r\ndeclare class Skip {\r\n constructor(param?: symbol);\r\n ifUndefined<T>(value: T | undefined): T | Skip;\r\n}\r\n\r\nexport declare const skip: Skip;\r\n\r\ndeclare type SortOrder = 'asc' | 'desc';\r\n\r\n/**\r\n * An interface that represents a span. A span represents a single operation\r\n * within a trace. Examples of span might include remote procedure calls or a\r\n * in-process function calls to sub-components. A Trace has a single, top-level\r\n * \"root\" Span that in turn may have zero or more child Spans, which in turn\r\n * may have children.\r\n *\r\n * Spans are created by the {@link Tracer.startSpan} method.\r\n */\r\ndeclare interface Span {\r\n /**\r\n * Returns the {@link SpanContext} object associated with this Span.\r\n *\r\n * Get an immutable, serializable identifier for this span that can be used\r\n * to create new child spans. Returned SpanContext is usable even after the\r\n * span ends.\r\n *\r\n * @returns the SpanContext object associated with this Span.\r\n */\r\n spanContext(): SpanContext;\r\n /**\r\n * Sets an attribute to the span.\r\n *\r\n * Sets a single Attribute with the key and value passed as arguments.\r\n *\r\n * @param key the key for this attribute.\r\n * @param value the value for this attribute. Setting a value null or\r\n * undefined is invalid and will result in undefined behavior.\r\n */\r\n setAttribute(key: string, value: SpanAttributeValue): this;\r\n /**\r\n * Sets attributes to the span.\r\n *\r\n * @param attributes the attributes that will be added.\r\n * null or undefined attribute values\r\n * are invalid and will result in undefined behavior.\r\n */\r\n setAttributes(attributes: SpanAttributes): this;\r\n /**\r\n * Adds an event to the Span.\r\n *\r\n * @param name the name of the event.\r\n * @param [attributesOrStartTime] the attributes that will be added; these are\r\n * associated with this event. Can be also a start time\r\n * if type is {@type TimeInput} and 3rd param is undefined\r\n * @param [startTime] start time of the event.\r\n */\r\n addEvent(name: string, attributesOrStartTime?: SpanAttributes | TimeInput, startTime?: TimeInput): this;\r\n /**\r\n * Adds a single link to the span.\r\n *\r\n * Links added after the creation will not affect the sampling decision.\r\n * It is preferred span links be added at span creation.\r\n *\r\n * @param link the link to add.\r\n */\r\n addLink(link: Link): this;\r\n /**\r\n * Adds multiple links to the span.\r\n *\r\n * Links added after the creation will not affect the sampling decision.\r\n * It is preferred span links be added at span creation.\r\n *\r\n * @param links the links to add.\r\n */\r\n addLinks(links: Link[]): this;\r\n /**\r\n * Sets a status to the span. If used, this will override the default Span\r\n * status. Default is {@link SpanStatusCode.UNSET}. SetStatus overrides the value\r\n * of previous calls to SetStatus on the Span.\r\n *\r\n * @param status the SpanStatus to set.\r\n */\r\n setStatus(status: SpanStatus): this;\r\n /**\r\n * Updates the Span name.\r\n *\r\n * This will override the name provided via {@link Tracer.startSpan}.\r\n *\r\n * Upon this update, any sampling behavior based on Span name will depend on\r\n * the implementation.\r\n *\r\n * @param name the Span name.\r\n */\r\n updateName(name: string): this;\r\n /**\r\n * Marks the end of Span execution.\r\n *\r\n * Call to End of a Span MUST not have any effects on child spans. Those may\r\n * still be running and can be ended later.\r\n *\r\n * Do not return `this`. The Span generally should not be used after it\r\n * is ended so chaining is not desired in this context.\r\n *\r\n * @param [endTime] the time to set as Span's end time. If not provided,\r\n * use the current time as the span's end time.\r\n */\r\n end(endTime?: TimeInput): void;\r\n /**\r\n * Returns the flag whether this span will be recorded.\r\n *\r\n * @returns true if this Span is active and recording information like events\r\n * with the `AddEvent` operation and attributes using `setAttributes`.\r\n */\r\n isRecording(): boolean;\r\n /**\r\n * Sets exception as a span event\r\n * @param exception the exception the only accepted values are string or Error\r\n * @param [time] the time to set as Span's event time. If not provided,\r\n * use the current time.\r\n */\r\n recordException(exception: Exception, time?: TimeInput): void;\r\n}\r\n\r\n/**\r\n * @deprecated please use {@link Attributes}\r\n */\r\ndeclare type SpanAttributes = Attributes;\r\n\r\n/**\r\n * @deprecated please use {@link AttributeValue}\r\n */\r\ndeclare type SpanAttributeValue = AttributeValue;\r\n\r\ndeclare type SpanCallback<R> = (span?: Span, context?: Context) => R;\r\n\r\n/**\r\n * A SpanContext represents the portion of a {@link Span} which must be\r\n * serialized and propagated along side of a {@link Baggage}.\r\n */\r\ndeclare interface SpanContext {\r\n /**\r\n * The ID of the trace that this span belongs to. It is worldwide unique\r\n * with practically sufficient probability by being made as 16 randomly\r\n * generated bytes, encoded as a 32 lowercase hex characters corresponding to\r\n * 128 bits.\r\n */\r\n traceId: string;\r\n /**\r\n * The ID of the Span. It is globally unique with practically sufficient\r\n * probability by being made as 8 randomly generated bytes, encoded as a 16\r\n * lowercase hex characters corresponding to 64 bits.\r\n */\r\n spanId: string;\r\n /**\r\n * Only true if the SpanContext was propagated from a remote parent.\r\n */\r\n isRemote?: boolean;\r\n /**\r\n * Trace flags to propagate.\r\n *\r\n * It is represented as 1 byte (bitmap). Bit to represent whether trace is\r\n * sampled or not. When set, the least significant bit documents that the\r\n * caller may have recorded trace data. A caller who does not record trace\r\n * data out-of-band leaves this flag unset.\r\n *\r\n * see {@link TraceFlags} for valid flag values.\r\n */\r\n traceFlags: number;\r\n /**\r\n * Tracing-system-specific info to propagate.\r\n *\r\n * The tracestate field value is a `list` as defined below. The `list` is a\r\n * series of `list-members` separated by commas `,`, and a list-member is a\r\n * key/value pair separated by an equals sign `=`. Spaces and horizontal tabs\r\n * surrounding `list-members` are ignored. There can be a maximum of 32\r\n * `list-members` in a `list`.\r\n * More Info: https://www.w3.org/TR/trace-context/#tracestate-field\r\n *\r\n * Examples:\r\n * Single tracing system (generic format):\r\n * tracestate: rojo=00f067aa0ba902b7\r\n * Multiple tracing systems (with different formatting):\r\n * tracestate: rojo=00f067aa0ba902b7,congo=t61rcWkgMzE\r\n */\r\n traceState?: TraceState;\r\n}\r\n\r\ndeclare enum SpanKind {\r\n /** Default value. Indicates that the span is used internally. */\r\n INTERNAL = 0,\r\n /**\r\n * Indicates that the span covers server-side handling of an RPC or other\r\n * remote request.\r\n */\r\n SERVER = 1,\r\n /**\r\n * Indicates that the span covers the client-side wrapper around an RPC or\r\n * other remote request.\r\n */\r\n CLIENT = 2,\r\n /**\r\n * Indicates that the span describes producer sending a message to a\r\n * broker. Unlike client and server, there is no direct critical path latency\r\n * relationship between producer and consumer spans.\r\n */\r\n PRODUCER = 3,\r\n /**\r\n * Indicates that the span describes consumer receiving a message from a\r\n * broker. Unlike client and server, there is no direct critical path latency\r\n * relationship between producer and consumer spans.\r\n */\r\n CONSUMER = 4\r\n}\r\n\r\n/**\r\n * Options needed for span creation\r\n */\r\ndeclare interface SpanOptions {\r\n /**\r\n * The SpanKind of a span\r\n * @default {@link SpanKind.INTERNAL}\r\n */\r\n kind?: SpanKind;\r\n /** A span's attributes */\r\n attributes?: SpanAttributes;\r\n /** {@link Link}s span to other spans */\r\n links?: Link[];\r\n /** A manually specified start time for the created `Span` object. */\r\n startTime?: TimeInput;\r\n /** The new span should be a root span. (Ignore parent from context). */\r\n root?: boolean;\r\n}\r\n\r\ndeclare interface SpanStatus {\r\n /** The status code of this message. */\r\n code: SpanStatusCode;\r\n /** A developer-facing error message. */\r\n message?: string;\r\n}\r\n\r\n/**\r\n * An enumeration of status codes.\r\n */\r\ndeclare enum SpanStatusCode {\r\n /**\r\n * The default status.\r\n */\r\n UNSET = 0,\r\n /**\r\n * The operation has been validated by an Application developer or\r\n * Operator to have completed successfully.\r\n */\r\n OK = 1,\r\n /**\r\n * The operation contains an error.\r\n */\r\n ERROR = 2\r\n}\r\n\r\n/**\r\n * A SQL instance can be nested within each other to build SQL strings.\r\n */\r\nexport declare class Sql {\r\n readonly values: Value[];\r\n readonly strings: string[];\r\n constructor(rawStrings: readonly string[], rawValues: readonly RawValue[]);\r\n get sql(): string;\r\n get statement(): string;\r\n get text(): string;\r\n inspect(): {\r\n sql: string;\r\n statement: string;\r\n text: string;\r\n values: unknown[];\r\n };\r\n}\r\n\r\ndeclare interface SqlDriverAdapter extends SqlQueryable {\r\n /**\r\n * Execute multiple SQL statements separated by semicolon.\r\n */\r\n executeScript(script: string): Promise<void>;\r\n /**\r\n * Start new transaction.\r\n */\r\n startTransaction(isolationLevel?: IsolationLevel): Promise<Transaction>;\r\n /**\r\n * Optional method that returns extra connection info\r\n */\r\n getConnectionInfo?(): ConnectionInfo;\r\n /**\r\n * Dispose of the connection and release any resources.\r\n */\r\n dispose(): Promise<void>;\r\n}\r\n\r\nexport declare interface SqlDriverAdapterFactory extends DriverAdapterFactory<SqlQuery, SqlResultSet> {\r\n connect(): Promise<SqlDriverAdapter>;\r\n}\r\n\r\ndeclare type SqlQuery = {\r\n sql: string;\r\n args: Array<unknown>;\r\n argTypes: Array<ArgType>;\r\n};\r\n\r\ndeclare interface SqlQueryable extends Queryable<SqlQuery, SqlResultSet> {\r\n}\r\n\r\ndeclare interface SqlResultSet {\r\n /**\r\n * List of column types appearing in a database query, in the same order as `columnNames`.\r\n * They are used within the Query Engine to convert values from JS to Quaint values.\r\n */\r\n columnTypes: Array<ColumnType>;\r\n /**\r\n * List of column names appearing in a database query, in the same order as `columnTypes`.\r\n */\r\n columnNames: Array<string>;\r\n /**\r\n * List of rows retrieved from a database query.\r\n * Each row is a list of values, whose length matches `columnNames` and `columnTypes`.\r\n */\r\n rows: Array<Array<unknown>>;\r\n /**\r\n * The last ID of an `INSERT` statement, if any.\r\n * This is required for `AUTO_INCREMENT` columns in databases based on MySQL and SQLite.\r\n */\r\n lastInsertId?: string;\r\n}\r\n\r\n/**\r\n * Create a SQL object from a template string.\r\n */\r\nexport declare function sqltag(strings: readonly string[], ...values: readonly RawValue[]): Sql;\r\n\r\n/**\r\n * Defines TimeInput.\r\n *\r\n * hrtime, epoch milliseconds, performance.now() or Date\r\n */\r\ndeclare type TimeInput = HrTime_2 | number | Date;\r\n\r\nexport declare type ToTuple<T> = T extends any[] ? T : [T];\r\n\r\ndeclare interface TraceState {\r\n /**\r\n * Create a new TraceState which inherits from this TraceState and has the\r\n * given key set.\r\n * The new entry will always be added in the front of the list of states.\r\n *\r\n * @param key key of the TraceState entry.\r\n * @param value value of the TraceState entry.\r\n */\r\n set(key: string, value: string): TraceState;\r\n /**\r\n * Return a new TraceState which inherits from this TraceState but does not\r\n * contain the given key.\r\n *\r\n * @param key the key for the TraceState entry to be removed.\r\n */\r\n unset(key: string): TraceState;\r\n /**\r\n * Returns the value to which the specified key is mapped, or `undefined` if\r\n * this map contains no mapping for the key.\r\n *\r\n * @param key with which the specified value is to be associated.\r\n * @returns the value to which the specified key is mapped, or `undefined` if\r\n * this map contains no mapping for the key.\r\n */\r\n get(key: string): string | undefined;\r\n /**\r\n * Serializes the TraceState to a `list` as defined below. The `list` is a\r\n * series of `list-members` separated by commas `,`, and a list-member is a\r\n * key/value pair separated by an equals sign `=`. Spaces and horizontal tabs\r\n * surrounding `list-members` are ignored. There can be a maximum of 32\r\n * `list-members` in a `list`.\r\n *\r\n * @returns the serialized string.\r\n */\r\n serialize(): string;\r\n}\r\n\r\ndeclare interface TracingHelper {\r\n isEnabled(): boolean;\r\n getTraceParent(context?: Context): string;\r\n dispatchEngineSpans(spans: EngineSpan[]): void;\r\n getActiveContext(): Context | undefined;\r\n runInChildSpan<R>(nameOrOptions: string | ExtendedSpanOptions, callback: SpanCallback<R>): R;\r\n}\r\n\r\ndeclare interface Transaction extends AdapterInfo, SqlQueryable {\r\n /**\r\n * Transaction options.\r\n */\r\n readonly options: TransactionOptions;\r\n /**\r\n * Commit the transaction.\r\n */\r\n commit(): Promise<void>;\r\n /**\r\n * Roll back the transaction.\r\n */\r\n rollback(): Promise<void>;\r\n}\r\n\r\ndeclare namespace Transaction_2 {\r\n export {\r\n Options,\r\n IsolationLevel_2 as IsolationLevel,\r\n InteractiveTransactionInfo,\r\n TransactionHeaders\r\n }\r\n}\r\n\r\ndeclare type TransactionHeaders = {\r\n traceparent?: string;\r\n};\r\n\r\ndeclare type TransactionOptions = {\r\n usePhantomQuery: boolean;\r\n};\r\n\r\ndeclare type TransactionOptions_2<InteractiveTransactionPayload> = {\r\n kind: 'itx';\r\n options: InteractiveTransactionOptions<InteractiveTransactionPayload>;\r\n} | {\r\n kind: 'batch';\r\n options: BatchTransactionOptions;\r\n};\r\n\r\nexport declare class TypedSql<Values extends readonly unknown[], Result> {\r\n [PrivateResultType]: Result;\r\n constructor(sql: string, values: Values);\r\n get sql(): string;\r\n get values(): Values;\r\n}\r\n\r\nexport declare type TypeMapCbDef = Fn<{\r\n extArgs: InternalArgs;\r\n}, TypeMapDef>;\r\n\r\n/** Shared */\r\nexport declare type TypeMapDef = Record<any, any>;\r\n\r\ndeclare type TypeRef<AllowedLocations extends FieldLocation> = {\r\n isList: boolean;\r\n type: string;\r\n location: AllowedLocations;\r\n namespace?: FieldNamespace;\r\n};\r\n\r\ndeclare namespace Types {\r\n export {\r\n Result_3 as Result,\r\n Extensions_2 as Extensions,\r\n Utils,\r\n Public_2 as Public,\r\n isSkip,\r\n Skip,\r\n skip,\r\n UnknownTypedSql,\r\n OperationPayload as Payload\r\n }\r\n}\r\nexport { Types }\r\n\r\ndeclare type uniqueIndex = ReadonlyDeep_2<{\r\n name: string;\r\n fields: string[];\r\n}>;\r\n\r\ndeclare type UnknownErrorParams = {\r\n clientVersion: string;\r\n batchRequestIdx?: number;\r\n};\r\n\r\nexport declare type UnknownTypedSql = TypedSql<unknown[], unknown>;\r\n\r\ndeclare type Unpacker = (data: any) => any;\r\n\r\nexport declare type UnwrapPayload<P> = {} extends P ? unknown : {\r\n [K in keyof P]: P[K] extends {\r\n scalars: infer S;\r\n composites: infer C;\r\n }[] ? Array<S & UnwrapPayload<C>> : P[K] extends {\r\n scalars: infer S;\r\n composites: infer C;\r\n } | null ? S & UnwrapPayload<C> | Select<P[K], null> : never;\r\n};\r\n\r\nexport declare type UnwrapPromise<P> = P extends Promise<infer R> ? R : P;\r\n\r\nexport declare type UnwrapTuple<Tuple extends readonly unknown[]> = {\r\n [K in keyof Tuple]: K extends `${number}` ? Tuple[K] extends PrismaPromise<infer X> ? X : UnwrapPromise<Tuple[K]> : UnwrapPromise<Tuple[K]>;\r\n};\r\n\r\n/**\r\n * Input that flows from the user into the Client.\r\n */\r\ndeclare type UserArgs_2 = any;\r\n\r\ndeclare namespace Utils {\r\n export {\r\n EmptyToUnknown,\r\n NeverToUnknown,\r\n PatchFlat,\r\n Omit_2 as Omit,\r\n Pick_2 as Pick,\r\n ComputeDeep,\r\n Compute,\r\n OptionalFlat,\r\n ReadonlyDeep,\r\n Narrowable,\r\n Narrow,\r\n Exact,\r\n Cast,\r\n Record_2 as Record,\r\n UnwrapPromise,\r\n UnwrapTuple,\r\n Path,\r\n Fn,\r\n Call,\r\n RequiredKeys,\r\n OptionalKeys,\r\n Optional,\r\n Return,\r\n ToTuple,\r\n RenameAndNestPayloadKeys,\r\n PayloadToResult,\r\n Select,\r\n Equals,\r\n Or,\r\n JsPromise\r\n }\r\n}\r\n\r\ndeclare type ValidationError = {\r\n error_identifier: 'RELATION_VIOLATION';\r\n context: {\r\n relation: string;\r\n modelA: string;\r\n modelB: string;\r\n };\r\n} | {\r\n error_identifier: 'MISSING_RELATED_RECORD';\r\n context: {\r\n model: string;\r\n relation: string;\r\n relationType: string;\r\n operation: string;\r\n neededFor?: string;\r\n };\r\n} | {\r\n error_identifier: 'MISSING_RECORD';\r\n context: {\r\n operation: string;\r\n };\r\n} | {\r\n error_identifier: 'INCOMPLETE_CONNECT_INPUT';\r\n context: {\r\n expectedRows: number;\r\n };\r\n} | {\r\n error_identifier: 'INCOMPLETE_CONNECT_OUTPUT';\r\n context: {\r\n expectedRows: number;\r\n relation: string;\r\n relationType: string;\r\n };\r\n} | {\r\n error_identifier: 'RECORDS_NOT_CONNECTED';\r\n context: {\r\n relation: string;\r\n parent: string;\r\n child: string;\r\n };\r\n};\r\n\r\ndeclare function validator<V>(): <S>(select: Exact<S, V>) => S;\r\n\r\ndeclare function validator<C, M extends Exclude<keyof C, `$${string}`>, O extends keyof C[M] & Operation>(client: C, model: M, operation: O): <S>(select: Exact<S, Args<C[M], O>>) => S;\r\n\r\ndeclare function validator<C, M extends Exclude<keyof C, `$${string}`>, O extends keyof C[M] & Operation, P extends keyof Args<C[M], O>>(client: C, model: M, operation: O, prop: P): <S>(select: Exact<S, Args<C[M], O>[P]>) => S;\r\n\r\n/**\r\n * Values supported by SQL engine.\r\n */\r\nexport declare type Value = unknown;\r\n\r\nexport declare function warnEnvConflicts(envPaths: any): void;\r\n\r\nexport declare const warnOnce: (key: string, message: string, ...args: unknown[]) => void;\r\n\r\nexport { }\r\n",
12562
+ "node_modules/@prisma/client/runtime/edge.d.ts": "/**\r\n * @param this\r\n */\r\ndeclare function $extends(this: Client, extension: ExtensionArgs | ((client: Client) => Client)): Client;\r\n\r\ndeclare type AccelerateEngineConfig = {\r\n inlineSchema: EngineConfig['inlineSchema'];\r\n inlineSchemaHash: EngineConfig['inlineSchemaHash'];\r\n env: EngineConfig['env'];\r\n generator?: {\r\n previewFeatures: string[];\r\n };\r\n inlineDatasources: EngineConfig['inlineDatasources'];\r\n overrideDatasources: EngineConfig['overrideDatasources'];\r\n clientVersion: EngineConfig['clientVersion'];\r\n engineVersion: EngineConfig['engineVersion'];\r\n logEmitter: EngineConfig['logEmitter'];\r\n logQueries?: EngineConfig['logQueries'];\r\n logLevel?: EngineConfig['logLevel'];\r\n tracingHelper: EngineConfig['tracingHelper'];\r\n accelerateUtils?: AccelerateUtils;\r\n};\r\n\r\n/**\r\n * A stripped down interface of `fetch` that `@prisma/extension-accelerate`\r\n * relies on. It must be in sync with the corresponding definition in the\r\n * Accelerate extension.\r\n *\r\n * This is the actual interface exposed by the extension. We can't use the\r\n * custom fetch function provided by it as normal fetch because the API is\r\n * different. Notably, `headers` must be an object and not a `Headers`\r\n * instance, and `url` must be a `string` and not a `URL`.\r\n *\r\n * The return type is `Response` but we can't specify this in an exported type\r\n * because it would end up referencing external types from `@types/node` or DOM\r\n * which can fail typechecking depending on TypeScript configuration in a user's\r\n * project.\r\n */\r\ndeclare type AccelerateExtensionFetch = (url: string, options: {\r\n body?: string;\r\n method?: string;\r\n headers: Record<string, string>;\r\n}) => Promise<unknown>;\r\n\r\ndeclare type AccelerateExtensionFetchDecorator = (fetch: AccelerateExtensionFetch) => AccelerateExtensionFetch;\r\n\r\ndeclare type AccelerateUtils = EngineConfig['accelerateUtils'];\r\n\r\nexport declare type Action = keyof typeof DMMF_2.ModelAction | 'executeRaw' | 'queryRaw' | 'runCommandRaw';\r\n\r\ndeclare type ActiveConnectorType = Exclude<ConnectorType, 'postgres' | 'prisma+postgres'>;\r\n\r\n/**\r\n * An interface that exposes some basic information about the\r\n * adapter like its name and provider type.\r\n */\r\ndeclare interface AdapterInfo {\r\n readonly provider: Provider;\r\n readonly adapterName: (typeof officialPrismaAdapters)[number] | (string & {});\r\n}\r\n\r\nexport declare type Aggregate = '_count' | '_max' | '_min' | '_avg' | '_sum';\r\n\r\nexport declare type AllModelsToStringIndex<TypeMap extends TypeMapDef, Args extends Record<string, any>, K extends PropertyKey> = Args extends {\r\n [P in K]: {\r\n $allModels: infer AllModels;\r\n };\r\n} ? {\r\n [P in K]: Record<TypeMap['meta']['modelProps'], AllModels>;\r\n} : {};\r\n\r\ndeclare class AnyNull extends NullTypesEnumValue {\r\n #private;\r\n}\r\n\r\nexport declare type ApplyOmit<T, OmitConfig> = Compute<{\r\n [K in keyof T as OmitValue<OmitConfig, K> extends true ? never : K]: T[K];\r\n}>;\r\n\r\nexport declare type Args<T, F extends Operation> = T extends {\r\n [K: symbol]: {\r\n types: {\r\n operations: {\r\n [K in F]: {\r\n args: any;\r\n };\r\n };\r\n };\r\n };\r\n} ? T[symbol]['types']['operations'][F]['args'] : any;\r\n\r\nexport declare type Args_3<T, F extends Operation> = Args<T, F>;\r\n\r\ndeclare type ArgScalarType = 'string' | 'int' | 'bigint' | 'float' | 'decimal' | 'boolean' | 'enum' | 'uuid' | 'json' | 'datetime' | 'bytes' | 'unknown';\r\n\r\ndeclare type ArgType = {\r\n scalarType: ArgScalarType;\r\n dbType?: string;\r\n arity: Arity;\r\n};\r\n\r\ndeclare type Arity = 'scalar' | 'list';\r\n\r\n/**\r\n * Attributes is a map from string to attribute values.\r\n *\r\n * Note: only the own enumerable keys are counted as valid attribute keys.\r\n */\r\ndeclare interface Attributes {\r\n [attributeKey: string]: AttributeValue | undefined;\r\n}\r\n\r\n/**\r\n * Attribute values may be any non-nullish primitive value except an object.\r\n *\r\n * null or undefined attribute values are invalid and will result in undefined behavior.\r\n */\r\ndeclare type AttributeValue = string | number | boolean | Array<null | undefined | string> | Array<null | undefined | number> | Array<null | undefined | boolean>;\r\n\r\nexport declare type BaseDMMF = {\r\n readonly datamodel: Omit<DMMF_2.Datamodel, 'indexes'>;\r\n};\r\n\r\ndeclare type BatchArgs = {\r\n queries: BatchQuery[];\r\n transaction?: {\r\n isolationLevel?: IsolationLevel_2;\r\n };\r\n};\r\n\r\ndeclare type BatchInternalParams = {\r\n requests: RequestParams[];\r\n customDataProxyFetch?: AccelerateExtensionFetchDecorator;\r\n};\r\n\r\ndeclare type BatchQuery = {\r\n model: string | undefined;\r\n operation: string;\r\n args: JsArgs | RawQueryArgs;\r\n};\r\n\r\ndeclare type BatchQueryEngineResult<T> = QueryEngineResultData<T> | Error;\r\n\r\ndeclare type BatchQueryOptionsCb = (args: BatchQueryOptionsCbArgs) => Promise<any>;\r\n\r\ndeclare type BatchQueryOptionsCbArgs = {\r\n args: BatchArgs;\r\n query: (args: BatchArgs, __internalParams?: BatchInternalParams) => Promise<unknown[]>;\r\n __internalParams: BatchInternalParams;\r\n};\r\n\r\ndeclare type BatchResponse = MultiBatchResponse | CompactedBatchResponse;\r\n\r\ndeclare type BatchTransactionOptions = {\r\n isolationLevel?: Transaction_2.IsolationLevel;\r\n};\r\n\r\ndeclare interface BinaryTargetsEnvValue {\r\n fromEnvVar: string | null;\r\n value: string;\r\n native?: boolean;\r\n}\r\n\r\nexport declare type Call<F extends Fn, P> = (F & {\r\n params: P;\r\n})['returns'];\r\n\r\ndeclare interface CallSite {\r\n getLocation(): LocationInFile | null;\r\n}\r\n\r\nexport declare type Cast<A, W> = A extends W ? A : W;\r\n\r\ndeclare type Client = ReturnType<typeof getPrismaClient> extends new () => infer T ? T : never;\r\n\r\nexport declare type ClientArg = {\r\n [MethodName in string]: unknown;\r\n};\r\n\r\nexport declare type ClientArgs = {\r\n client: ClientArg;\r\n};\r\n\r\nexport declare type ClientBuiltInProp = keyof DynamicClientExtensionThisBuiltin<never, never, never>;\r\n\r\nexport declare type ClientOptionDef = undefined | {\r\n [K in string]: any;\r\n};\r\n\r\nexport declare type ClientOtherOps = {\r\n $queryRaw<T = unknown>(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise<T>;\r\n $queryRawTyped<T>(query: TypedSql<unknown[], T>): PrismaPromise<T[]>;\r\n $queryRawUnsafe<T = unknown>(query: string, ...values: any[]): PrismaPromise<T>;\r\n $executeRaw(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise<number>;\r\n $executeRawUnsafe(query: string, ...values: any[]): PrismaPromise<number>;\r\n $runCommandRaw(command: InputJsonObject): PrismaPromise<JsonObject>;\r\n};\r\n\r\ndeclare type ColumnType = (typeof ColumnTypeEnum)[keyof typeof ColumnTypeEnum];\r\n\r\ndeclare const ColumnTypeEnum: {\r\n readonly Int32: 0;\r\n readonly Int64: 1;\r\n readonly Float: 2;\r\n readonly Double: 3;\r\n readonly Numeric: 4;\r\n readonly Boolean: 5;\r\n readonly Character: 6;\r\n readonly Text: 7;\r\n readonly Date: 8;\r\n readonly Time: 9;\r\n readonly DateTime: 10;\r\n readonly Json: 11;\r\n readonly Enum: 12;\r\n readonly Bytes: 13;\r\n readonly Set: 14;\r\n readonly Uuid: 15;\r\n readonly Int32Array: 64;\r\n readonly Int64Array: 65;\r\n readonly FloatArray: 66;\r\n readonly DoubleArray: 67;\r\n readonly NumericArray: 68;\r\n readonly BooleanArray: 69;\r\n readonly CharacterArray: 70;\r\n readonly TextArray: 71;\r\n readonly DateArray: 72;\r\n readonly TimeArray: 73;\r\n readonly DateTimeArray: 74;\r\n readonly JsonArray: 75;\r\n readonly EnumArray: 76;\r\n readonly BytesArray: 77;\r\n readonly UuidArray: 78;\r\n readonly UnknownNumber: 128;\r\n};\r\n\r\ndeclare type CompactedBatchResponse = {\r\n type: 'compacted';\r\n plan: QueryPlanNode;\r\n arguments: Record<string, {}>[];\r\n nestedSelection: string[];\r\n keys: string[];\r\n expectNonEmpty: boolean;\r\n};\r\n\r\ndeclare type CompilerWasmLoadingConfig = {\r\n /**\r\n * WASM-bindgen runtime for corresponding module\r\n */\r\n getRuntime: () => Promise<{\r\n __wbg_set_wasm(exports: unknown): void;\r\n QueryCompiler: QueryCompilerConstructor;\r\n }>;\r\n /**\r\n * Loads the raw wasm module for the wasm compiler engine. This configuration is\r\n * generated specifically for each type of client, eg. Node.js client and Edge\r\n * clients will have different implementations.\r\n * @remarks this is a callback on purpose, we only load the wasm if needed.\r\n * @remarks only used by ClientEngine\r\n */\r\n getQueryCompilerWasmModule: () => Promise<unknown>;\r\n};\r\n\r\nexport declare type Compute<T> = T extends Function ? T : {\r\n [K in keyof T]: T[K];\r\n} & unknown;\r\n\r\nexport declare type ComputeDeep<T> = T extends Function ? T : {\r\n [K in keyof T]: ComputeDeep<T[K]>;\r\n} & unknown;\r\n\r\ndeclare type ComputedField = {\r\n name: string;\r\n needs: string[];\r\n compute: ResultArgsFieldCompute;\r\n};\r\n\r\ndeclare type ComputedFieldsMap = {\r\n [fieldName: string]: ComputedField;\r\n};\r\n\r\ndeclare type ConnectionInfo = {\r\n schemaName?: string;\r\n maxBindValues?: number;\r\n supportsRelationJoins: boolean;\r\n};\r\n\r\ndeclare type ConnectorType = 'mysql' | 'mongodb' | 'sqlite' | 'postgresql' | 'postgres' | 'prisma+postgres' | 'sqlserver' | 'cockroachdb';\r\n\r\ndeclare interface Context {\r\n /**\r\n * Get a value from the context.\r\n *\r\n * @param key key which identifies a context value\r\n */\r\n getValue(key: symbol): unknown;\r\n /**\r\n * Create a new context which inherits from this context and has\r\n * the given key set to the given value.\r\n *\r\n * @param key context key for which to set the value\r\n * @param value value to set for the given key\r\n */\r\n setValue(key: symbol, value: unknown): Context;\r\n /**\r\n * Return a new context which inherits from this context but does\r\n * not contain a value for the given key.\r\n *\r\n * @param key context key for which to clear a value\r\n */\r\n deleteValue(key: symbol): Context;\r\n}\r\n\r\ndeclare type Context_2<T> = T extends {\r\n [K: symbol]: {\r\n ctx: infer C;\r\n };\r\n} ? C & T & {\r\n /**\r\n * @deprecated Use `$name` instead.\r\n */\r\n name?: string;\r\n $name?: string;\r\n $parent?: unknown;\r\n} : T & {\r\n /**\r\n * @deprecated Use `$name` instead.\r\n */\r\n name?: string;\r\n $name?: string;\r\n $parent?: unknown;\r\n};\r\n\r\nexport declare type Count<O> = {\r\n [K in keyof O]: Count<number>;\r\n} & {};\r\n\r\nexport declare function createParam(name: string): Param<unknown, string>;\r\n\r\ndeclare class DataLoader<T = unknown> {\r\n private options;\r\n batches: {\r\n [key: string]: Job[];\r\n };\r\n private tickActive;\r\n constructor(options: DataLoaderOptions<T>);\r\n request(request: T): Promise<any>;\r\n private dispatchBatches;\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\ndeclare type DataLoaderOptions<T> = {\r\n singleLoader: (request: T) => Promise<any>;\r\n batchLoader: (request: T[]) => Promise<any[]>;\r\n batchBy: (request: T) => string | undefined;\r\n batchOrder: (requestA: T, requestB: T) => number;\r\n};\r\n\r\ndeclare type Datamodel = ReadonlyDeep_2<{\r\n models: Model[];\r\n enums: DatamodelEnum[];\r\n types: Model[];\r\n indexes: Index[];\r\n}>;\r\n\r\ndeclare type DatamodelEnum = ReadonlyDeep_2<{\r\n name: string;\r\n values: EnumValue[];\r\n dbName?: string | null;\r\n documentation?: string;\r\n}>;\r\n\r\ndeclare function datamodelEnumToSchemaEnum(datamodelEnum: DatamodelEnum): SchemaEnum;\r\n\r\ndeclare type DataRule = {\r\n type: 'rowCountEq';\r\n args: number;\r\n} | {\r\n type: 'rowCountNeq';\r\n args: number;\r\n} | {\r\n type: 'affectedRowCountEq';\r\n args: number;\r\n} | {\r\n type: 'never';\r\n};\r\n\r\ndeclare type Datasource = {\r\n url?: string;\r\n};\r\n\r\ndeclare type Datasources = {\r\n [name in string]: Datasource;\r\n};\r\n\r\ndeclare class DbNull extends NullTypesEnumValue {\r\n #private;\r\n}\r\n\r\nexport declare const Debug: typeof debugCreate & {\r\n enable(namespace: any): void;\r\n disable(): any;\r\n enabled(namespace: string): boolean;\r\n log: (...args: string[]) => void;\r\n formatters: {};\r\n};\r\n\r\n/**\r\n * Create a new debug instance with the given namespace.\r\n *\r\n * @example\r\n * ```ts\r\n * import Debug from '@prisma/debug'\r\n * const debug = Debug('prisma:client')\r\n * debug('Hello World')\r\n * ```\r\n */\r\ndeclare function debugCreate(namespace: string): ((...args: any[]) => void) & {\r\n color: string;\r\n enabled: boolean;\r\n namespace: string;\r\n log: (...args: string[]) => void;\r\n extend: () => void;\r\n};\r\n\r\nexport declare function Decimal(n: Decimal.Value): Decimal;\r\n\r\nexport declare namespace Decimal {\r\n export type Constructor = typeof Decimal;\r\n export type Instance = Decimal;\r\n export type Rounding = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;\r\n export type Modulo = Rounding | 9;\r\n export type Value = string | number | Decimal;\r\n\r\n // http://mikemcl.github.io/decimal.js/#constructor-properties\r\n export interface Config {\r\n precision?: number;\r\n rounding?: Rounding;\r\n toExpNeg?: number;\r\n toExpPos?: number;\r\n minE?: number;\r\n maxE?: number;\r\n crypto?: boolean;\r\n modulo?: Modulo;\r\n defaults?: boolean;\r\n }\r\n}\r\n\r\nexport declare class Decimal {\r\n readonly d: number[];\r\n readonly e: number;\r\n readonly s: number;\r\n\r\n constructor(n: Decimal.Value);\r\n\r\n absoluteValue(): Decimal;\r\n abs(): Decimal;\r\n\r\n ceil(): Decimal;\r\n\r\n clampedTo(min: Decimal.Value, max: Decimal.Value): Decimal;\r\n clamp(min: Decimal.Value, max: Decimal.Value): Decimal;\r\n\r\n comparedTo(n: Decimal.Value): number;\r\n cmp(n: Decimal.Value): number;\r\n\r\n cosine(): Decimal;\r\n cos(): Decimal;\r\n\r\n cubeRoot(): Decimal;\r\n cbrt(): Decimal;\r\n\r\n decimalPlaces(): number;\r\n dp(): number;\r\n\r\n dividedBy(n: Decimal.Value): Decimal;\r\n div(n: Decimal.Value): Decimal;\r\n\r\n dividedToIntegerBy(n: Decimal.Value): Decimal;\r\n divToInt(n: Decimal.Value): Decimal;\r\n\r\n equals(n: Decimal.Value): boolean;\r\n eq(n: Decimal.Value): boolean;\r\n\r\n floor(): Decimal;\r\n\r\n greaterThan(n: Decimal.Value): boolean;\r\n gt(n: Decimal.Value): boolean;\r\n\r\n greaterThanOrEqualTo(n: Decimal.Value): boolean;\r\n gte(n: Decimal.Value): boolean;\r\n\r\n hyperbolicCosine(): Decimal;\r\n cosh(): Decimal;\r\n\r\n hyperbolicSine(): Decimal;\r\n sinh(): Decimal;\r\n\r\n hyperbolicTangent(): Decimal;\r\n tanh(): Decimal;\r\n\r\n inverseCosine(): Decimal;\r\n acos(): Decimal;\r\n\r\n inverseHyperbolicCosine(): Decimal;\r\n acosh(): Decimal;\r\n\r\n inverseHyperbolicSine(): Decimal;\r\n asinh(): Decimal;\r\n\r\n inverseHyperbolicTangent(): Decimal;\r\n atanh(): Decimal;\r\n\r\n inverseSine(): Decimal;\r\n asin(): Decimal;\r\n\r\n inverseTangent(): Decimal;\r\n atan(): Decimal;\r\n\r\n isFinite(): boolean;\r\n\r\n isInteger(): boolean;\r\n isInt(): boolean;\r\n\r\n isNaN(): boolean;\r\n\r\n isNegative(): boolean;\r\n isNeg(): boolean;\r\n\r\n isPositive(): boolean;\r\n isPos(): boolean;\r\n\r\n isZero(): boolean;\r\n\r\n lessThan(n: Decimal.Value): boolean;\r\n lt(n: Decimal.Value): boolean;\r\n\r\n lessThanOrEqualTo(n: Decimal.Value): boolean;\r\n lte(n: Decimal.Value): boolean;\r\n\r\n logarithm(n?: Decimal.Value): Decimal;\r\n log(n?: Decimal.Value): Decimal;\r\n\r\n minus(n: Decimal.Value): Decimal;\r\n sub(n: Decimal.Value): Decimal;\r\n\r\n modulo(n: Decimal.Value): Decimal;\r\n mod(n: Decimal.Value): Decimal;\r\n\r\n naturalExponential(): Decimal;\r\n exp(): Decimal;\r\n\r\n naturalLogarithm(): Decimal;\r\n ln(): Decimal;\r\n\r\n negated(): Decimal;\r\n neg(): Decimal;\r\n\r\n plus(n: Decimal.Value): Decimal;\r\n add(n: Decimal.Value): Decimal;\r\n\r\n precision(includeZeros?: boolean): number;\r\n sd(includeZeros?: boolean): number;\r\n\r\n round(): Decimal;\r\n\r\n sine() : Decimal;\r\n sin() : Decimal;\r\n\r\n squareRoot(): Decimal;\r\n sqrt(): Decimal;\r\n\r\n tangent() : Decimal;\r\n tan() : Decimal;\r\n\r\n times(n: Decimal.Value): Decimal;\r\n mul(n: Decimal.Value) : Decimal;\r\n\r\n toBinary(significantDigits?: number): string;\r\n toBinary(significantDigits: number, rounding: Decimal.Rounding): string;\r\n\r\n toDecimalPlaces(decimalPlaces?: number): Decimal;\r\n toDecimalPlaces(decimalPlaces: number, rounding: Decimal.Rounding): Decimal;\r\n toDP(decimalPlaces?: number): Decimal;\r\n toDP(decimalPlaces: number, rounding: Decimal.Rounding): Decimal;\r\n\r\n toExponential(decimalPlaces?: number): string;\r\n toExponential(decimalPlaces: number, rounding: Decimal.Rounding): string;\r\n\r\n toFixed(decimalPlaces?: number): string;\r\n toFixed(decimalPlaces: number, rounding: Decimal.Rounding): string;\r\n\r\n toFraction(max_denominator?: Decimal.Value): Decimal[];\r\n\r\n toHexadecimal(significantDigits?: number): string;\r\n toHexadecimal(significantDigits: number, rounding: Decimal.Rounding): string;\r\n toHex(significantDigits?: number): string;\r\n toHex(significantDigits: number, rounding?: Decimal.Rounding): string;\r\n\r\n toJSON(): string;\r\n\r\n toNearest(n: Decimal.Value, rounding?: Decimal.Rounding): Decimal;\r\n\r\n toNumber(): number;\r\n\r\n toOctal(significantDigits?: number): string;\r\n toOctal(significantDigits: number, rounding: Decimal.Rounding): string;\r\n\r\n toPower(n: Decimal.Value): Decimal;\r\n pow(n: Decimal.Value): Decimal;\r\n\r\n toPrecision(significantDigits?: number): string;\r\n toPrecision(significantDigits: number, rounding: Decimal.Rounding): string;\r\n\r\n toSignificantDigits(significantDigits?: number): Decimal;\r\n toSignificantDigits(significantDigits: number, rounding: Decimal.Rounding): Decimal;\r\n toSD(significantDigits?: number): Decimal;\r\n toSD(significantDigits: number, rounding: Decimal.Rounding): Decimal;\r\n\r\n toString(): string;\r\n\r\n truncated(): Decimal;\r\n trunc(): Decimal;\r\n\r\n valueOf(): string;\r\n\r\n static abs(n: Decimal.Value): Decimal;\r\n static acos(n: Decimal.Value): Decimal;\r\n static acosh(n: Decimal.Value): Decimal;\r\n static add(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static asin(n: Decimal.Value): Decimal;\r\n static asinh(n: Decimal.Value): Decimal;\r\n static atan(n: Decimal.Value): Decimal;\r\n static atanh(n: Decimal.Value): Decimal;\r\n static atan2(y: Decimal.Value, x: Decimal.Value): Decimal;\r\n static cbrt(n: Decimal.Value): Decimal;\r\n static ceil(n: Decimal.Value): Decimal;\r\n static clamp(n: Decimal.Value, min: Decimal.Value, max: Decimal.Value): Decimal;\r\n static clone(object?: Decimal.Config): Decimal.Constructor;\r\n static config(object: Decimal.Config): Decimal.Constructor;\r\n static cos(n: Decimal.Value): Decimal;\r\n static cosh(n: Decimal.Value): Decimal;\r\n static div(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static exp(n: Decimal.Value): Decimal;\r\n static floor(n: Decimal.Value): Decimal;\r\n static hypot(...n: Decimal.Value[]): Decimal;\r\n static isDecimal(object: any): object is Decimal;\r\n static ln(n: Decimal.Value): Decimal;\r\n static log(n: Decimal.Value, base?: Decimal.Value): Decimal;\r\n static log2(n: Decimal.Value): Decimal;\r\n static log10(n: Decimal.Value): Decimal;\r\n static max(...n: Decimal.Value[]): Decimal;\r\n static min(...n: Decimal.Value[]): Decimal;\r\n static mod(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static mul(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static noConflict(): Decimal.Constructor; // Browser only\r\n static pow(base: Decimal.Value, exponent: Decimal.Value): Decimal;\r\n static random(significantDigits?: number): Decimal;\r\n static round(n: Decimal.Value): Decimal;\r\n static set(object: Decimal.Config): Decimal.Constructor;\r\n static sign(n: Decimal.Value): number;\r\n static sin(n: Decimal.Value): Decimal;\r\n static sinh(n: Decimal.Value): Decimal;\r\n static sqrt(n: Decimal.Value): Decimal;\r\n static sub(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static sum(...n: Decimal.Value[]): Decimal;\r\n static tan(n: Decimal.Value): Decimal;\r\n static tanh(n: Decimal.Value): Decimal;\r\n static trunc(n: Decimal.Value): Decimal;\r\n\r\n static readonly default?: Decimal.Constructor;\r\n static readonly Decimal?: Decimal.Constructor;\r\n\r\n static readonly precision: number;\r\n static readonly rounding: Decimal.Rounding;\r\n static readonly toExpNeg: number;\r\n static readonly toExpPos: number;\r\n static readonly minE: number;\r\n static readonly maxE: number;\r\n static readonly crypto: boolean;\r\n static readonly modulo: Decimal.Modulo;\r\n\r\n static readonly ROUND_UP: 0;\r\n static readonly ROUND_DOWN: 1;\r\n static readonly ROUND_CEIL: 2;\r\n static readonly ROUND_FLOOR: 3;\r\n static readonly ROUND_HALF_UP: 4;\r\n static readonly ROUND_HALF_DOWN: 5;\r\n static readonly ROUND_HALF_EVEN: 6;\r\n static readonly ROUND_HALF_CEIL: 7;\r\n static readonly ROUND_HALF_FLOOR: 8;\r\n static readonly EUCLID: 9;\r\n}\r\n\r\n/**\r\n * Interface for any Decimal.js-like library\r\n * Allows us to accept Decimal.js from different\r\n * versions and some compatible alternatives\r\n */\r\nexport declare interface DecimalJsLike {\r\n d: number[];\r\n e: number;\r\n s: number;\r\n toFixed(): string;\r\n}\r\n\r\nexport declare type DefaultArgs = InternalArgs<{}, {}, {}, {}>;\r\n\r\nexport declare type DefaultSelection<Payload extends OperationPayload, Args = {}, GlobalOmitOptions = {}> = Args extends {\r\n omit: infer LocalOmit;\r\n} ? ApplyOmit<UnwrapPayload<{\r\n default: Payload;\r\n}>['default'], PatchFlat<LocalOmit, ExtractGlobalOmit<GlobalOmitOptions, Uncapitalize<Payload['name']>>>> : ApplyOmit<UnwrapPayload<{\r\n default: Payload;\r\n}>['default'], ExtractGlobalOmit<GlobalOmitOptions, Uncapitalize<Payload['name']>>>;\r\n\r\nexport declare function defineDmmfProperty(target: object, runtimeDataModel: RuntimeDataModel): void;\r\n\r\ndeclare function defineExtension(ext: ExtensionArgs | ((client: Client) => Client)): (client: Client) => Client;\r\n\r\ndeclare const denylist: readonly [\"$connect\", \"$disconnect\", \"$on\", \"$transaction\", \"$extends\"];\r\n\r\ndeclare type Deprecation = ReadonlyDeep_2<{\r\n sinceVersion: string;\r\n reason: string;\r\n plannedRemovalVersion?: string;\r\n}>;\r\n\r\ndeclare type DeserializedResponse = Array<Record<string, unknown>>;\r\n\r\nexport declare function deserializeJsonResponse(result: unknown): unknown;\r\n\r\nexport declare function deserializeRawResult(response: RawResponse): DeserializedResponse;\r\n\r\nexport declare type DevTypeMapDef = {\r\n meta: {\r\n modelProps: string;\r\n };\r\n model: {\r\n [Model in PropertyKey]: {\r\n [Operation in PropertyKey]: DevTypeMapFnDef;\r\n };\r\n };\r\n other: {\r\n [Operation in PropertyKey]: DevTypeMapFnDef;\r\n };\r\n};\r\n\r\nexport declare type DevTypeMapFnDef = {\r\n args: any;\r\n result: any;\r\n payload: OperationPayload;\r\n};\r\n\r\nexport declare namespace DMMF {\r\n export {\r\n datamodelEnumToSchemaEnum,\r\n Document_2 as Document,\r\n Mappings,\r\n OtherOperationMappings,\r\n DatamodelEnum,\r\n SchemaEnum,\r\n EnumValue,\r\n Datamodel,\r\n uniqueIndex,\r\n PrimaryKey,\r\n Model,\r\n FieldKind,\r\n FieldNamespace,\r\n FieldLocation,\r\n Field,\r\n FieldDefault,\r\n FieldDefaultScalar,\r\n Index,\r\n IndexType,\r\n IndexField,\r\n SortOrder,\r\n Schema,\r\n Query,\r\n QueryOutput,\r\n TypeRef,\r\n InputTypeRef,\r\n SchemaArg,\r\n OutputType,\r\n SchemaField,\r\n OutputTypeRef,\r\n Deprecation,\r\n InputType,\r\n FieldRefType,\r\n FieldRefAllowType,\r\n ModelMapping,\r\n ModelAction\r\n }\r\n}\r\n\r\ndeclare namespace DMMF_2 {\r\n export {\r\n datamodelEnumToSchemaEnum,\r\n Document_2 as Document,\r\n Mappings,\r\n OtherOperationMappings,\r\n DatamodelEnum,\r\n SchemaEnum,\r\n EnumValue,\r\n Datamodel,\r\n uniqueIndex,\r\n PrimaryKey,\r\n Model,\r\n FieldKind,\r\n FieldNamespace,\r\n FieldLocation,\r\n Field,\r\n FieldDefault,\r\n FieldDefaultScalar,\r\n Index,\r\n IndexType,\r\n IndexField,\r\n SortOrder,\r\n Schema,\r\n Query,\r\n QueryOutput,\r\n TypeRef,\r\n InputTypeRef,\r\n SchemaArg,\r\n OutputType,\r\n SchemaField,\r\n OutputTypeRef,\r\n Deprecation,\r\n InputType,\r\n FieldRefType,\r\n FieldRefAllowType,\r\n ModelMapping,\r\n ModelAction\r\n }\r\n}\r\n\r\nexport declare function dmmfToRuntimeDataModel(dmmfDataModel: DMMF_2.Datamodel): RuntimeDataModel;\r\n\r\ndeclare type Document_2 = ReadonlyDeep_2<{\r\n datamodel: Datamodel;\r\n schema: Schema;\r\n mappings: Mappings;\r\n}>;\r\n\r\n/**\r\n * A generic driver adapter factory that allows the user to instantiate a\r\n * driver adapter. The query and result types are specific to the adapter.\r\n */\r\ndeclare interface DriverAdapterFactory<Query, Result> extends AdapterInfo {\r\n /**\r\n * Instantiate a driver adapter.\r\n */\r\n connect(): Promise<Queryable<Query, Result>>;\r\n}\r\n\r\ndeclare type DynamicArgType = ArgType | {\r\n arity: 'tuple';\r\n elements: ArgType[];\r\n};\r\n\r\n/** Client */\r\nexport declare type DynamicClientExtensionArgs<C_, TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {\r\n [P in keyof C_]: unknown;\r\n} & {\r\n [K: symbol]: {\r\n ctx: Optional<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList> & {\r\n $parent: Optional<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList>;\r\n };\r\n };\r\n};\r\n\r\nexport declare type DynamicClientExtensionThis<TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {\r\n [P in keyof ExtArgs['client']]: Return<ExtArgs['client'][P]>;\r\n} & {\r\n [P in Exclude<TypeMap['meta']['modelProps'], keyof ExtArgs['client']>]: DynamicModelExtensionThis<TypeMap, ModelKey<TypeMap, P>, ExtArgs>;\r\n} & {\r\n [P in Exclude<keyof TypeMap['other']['operations'], keyof ExtArgs['client']>]: P extends keyof ClientOtherOps ? ClientOtherOps[P] : never;\r\n} & {\r\n [P in Exclude<ClientBuiltInProp, keyof ExtArgs['client']>]: DynamicClientExtensionThisBuiltin<TypeMap, TypeMapCb, ExtArgs>[P];\r\n} & {\r\n [K: symbol]: {\r\n types: TypeMap['other'];\r\n };\r\n};\r\n\r\nexport declare type DynamicClientExtensionThisBuiltin<TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {\r\n $extends: ExtendsHook<'extends', TypeMapCb, ExtArgs, Call<TypeMapCb, {\r\n extArgs: ExtArgs;\r\n }>>;\r\n $transaction<P extends PrismaPromise<any>[]>(arg: [...P], options?: {\r\n isolationLevel?: TypeMap['meta']['txIsolationLevel'];\r\n }): Promise<UnwrapTuple<P>>;\r\n $transaction<R>(fn: (client: Omit<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList>) => Promise<R>, options?: {\r\n maxWait?: number;\r\n timeout?: number;\r\n isolationLevel?: TypeMap['meta']['txIsolationLevel'];\r\n }): Promise<R>;\r\n $disconnect(): Promise<void>;\r\n $connect(): Promise<void>;\r\n};\r\n\r\n/** Model */\r\nexport declare type DynamicModelExtensionArgs<M_, TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {\r\n [K in keyof M_]: K extends '$allModels' ? {\r\n [P in keyof M_[K]]?: unknown;\r\n } & {\r\n [K: symbol]: {};\r\n } : K extends TypeMap['meta']['modelProps'] ? {\r\n [P in keyof M_[K]]?: unknown;\r\n } & {\r\n [K: symbol]: {\r\n ctx: DynamicModelExtensionThis<TypeMap, ModelKey<TypeMap, K>, ExtArgs> & {\r\n $parent: DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>;\r\n } & {\r\n $name: ModelKey<TypeMap, K>;\r\n } & {\r\n /**\r\n * @deprecated Use `$name` instead.\r\n */\r\n name: ModelKey<TypeMap, K>;\r\n };\r\n };\r\n } : never;\r\n};\r\n\r\nexport declare type DynamicModelExtensionFluentApi<TypeMap extends TypeMapDef, M extends PropertyKey, P extends PropertyKey, Null> = {\r\n [K in keyof TypeMap['model'][M]['payload']['objects']]: <A>(args?: Exact<A, Path<TypeMap['model'][M]['operations'][P]['args']['select'], [K]>>) => PrismaPromise<Path<DynamicModelExtensionFnResultBase<TypeMap, M, {\r\n select: {\r\n [P in K]: A;\r\n };\r\n }, P>, [K]> | Null> & DynamicModelExtensionFluentApi<TypeMap, (TypeMap['model'][M]['payload']['objects'][K] & {})['name'], P, Null | Select<TypeMap['model'][M]['payload']['objects'][K], null>>;\r\n};\r\n\r\nexport declare type DynamicModelExtensionFnResult<TypeMap extends TypeMapDef, M extends PropertyKey, A, P extends PropertyKey, Null> = P extends FluentOperation ? DynamicModelExtensionFluentApi<TypeMap, M, P, Null> & PrismaPromise<DynamicModelExtensionFnResultBase<TypeMap, M, A, P> | Null> : PrismaPromise<DynamicModelExtensionFnResultBase<TypeMap, M, A, P>>;\r\n\r\nexport declare type DynamicModelExtensionFnResultBase<TypeMap extends TypeMapDef, M extends PropertyKey, A, P extends PropertyKey> = GetResult<TypeMap['model'][M]['payload'], A, P & Operation, TypeMap['globalOmitOptions']>;\r\n\r\nexport declare type DynamicModelExtensionFnResultNull<P extends PropertyKey> = P extends 'findUnique' | 'findFirst' ? null : never;\r\n\r\nexport declare type DynamicModelExtensionOperationFn<TypeMap extends TypeMapDef, M extends PropertyKey, P extends PropertyKey> = {} extends TypeMap['model'][M]['operations'][P]['args'] ? <A extends TypeMap['model'][M]['operations'][P]['args']>(args?: Exact<A, TypeMap['model'][M]['operations'][P]['args']>) => DynamicModelExtensionFnResult<TypeMap, M, A, P, DynamicModelExtensionFnResultNull<P>> : <A extends TypeMap['model'][M]['operations'][P]['args']>(args: Exact<A, TypeMap['model'][M]['operations'][P]['args']>) => DynamicModelExtensionFnResult<TypeMap, M, A, P, DynamicModelExtensionFnResultNull<P>>;\r\n\r\nexport declare type DynamicModelExtensionThis<TypeMap extends TypeMapDef, M extends PropertyKey, ExtArgs extends Record<string, any>> = {\r\n [P in keyof ExtArgs['model'][Uncapitalize<M & string>]]: Return<ExtArgs['model'][Uncapitalize<M & string>][P]>;\r\n} & {\r\n [P in Exclude<keyof TypeMap['model'][M]['operations'], keyof ExtArgs['model'][Uncapitalize<M & string>]>]: DynamicModelExtensionOperationFn<TypeMap, M, P>;\r\n} & {\r\n [P in Exclude<'fields', keyof ExtArgs['model'][Uncapitalize<M & string>]>]: TypeMap['model'][M]['fields'];\r\n} & {\r\n [K: symbol]: {\r\n types: TypeMap['model'][M];\r\n };\r\n};\r\n\r\n/** Query */\r\nexport declare type DynamicQueryExtensionArgs<Q_, TypeMap extends TypeMapDef> = {\r\n [K in keyof Q_]: K extends '$allOperations' ? (args: {\r\n model?: string;\r\n operation: string;\r\n args: any;\r\n query: (args: any) => PrismaPromise<any>;\r\n }) => Promise<any> : K extends '$allModels' ? {\r\n [P in keyof Q_[K] | keyof TypeMap['model'][keyof TypeMap['model']]['operations'] | '$allOperations']?: P extends '$allOperations' ? DynamicQueryExtensionCb<TypeMap, 'model', keyof TypeMap['model'], keyof TypeMap['model'][keyof TypeMap['model']]['operations']> : P extends keyof TypeMap['model'][keyof TypeMap['model']]['operations'] ? DynamicQueryExtensionCb<TypeMap, 'model', keyof TypeMap['model'], P> : never;\r\n } : K extends TypeMap['meta']['modelProps'] ? {\r\n [P in keyof Q_[K] | keyof TypeMap['model'][ModelKey<TypeMap, K>]['operations'] | '$allOperations']?: P extends '$allOperations' ? DynamicQueryExtensionCb<TypeMap, 'model', ModelKey<TypeMap, K>, keyof TypeMap['model'][ModelKey<TypeMap, K>]['operations']> : P extends keyof TypeMap['model'][ModelKey<TypeMap, K>]['operations'] ? DynamicQueryExtensionCb<TypeMap, 'model', ModelKey<TypeMap, K>, P> : never;\r\n } : K extends keyof TypeMap['other']['operations'] ? DynamicQueryExtensionCb<[TypeMap], 0, 'other', K> : never;\r\n};\r\n\r\nexport declare type DynamicQueryExtensionCb<TypeMap extends TypeMapDef, _0 extends PropertyKey, _1 extends PropertyKey, _2 extends PropertyKey> = <A extends DynamicQueryExtensionCbArgs<TypeMap, _0, _1, _2>>(args: A) => Promise<TypeMap[_0][_1][_2]['result']>;\r\n\r\nexport declare type DynamicQueryExtensionCbArgs<TypeMap extends TypeMapDef, _0 extends PropertyKey, _1 extends PropertyKey, _2 extends PropertyKey> = (_1 extends unknown ? _2 extends unknown ? {\r\n args: DynamicQueryExtensionCbArgsArgs<TypeMap, _0, _1, _2>;\r\n model: _0 extends 0 ? undefined : _1;\r\n operation: _2;\r\n query: <A extends DynamicQueryExtensionCbArgsArgs<TypeMap, _0, _1, _2>>(args: A) => PrismaPromise<TypeMap[_0][_1]['operations'][_2]['result']>;\r\n} : never : never) & {\r\n query: (args: DynamicQueryExtensionCbArgsArgs<TypeMap, _0, _1, _2>) => PrismaPromise<TypeMap[_0][_1]['operations'][_2]['result']>;\r\n};\r\n\r\nexport declare type DynamicQueryExtensionCbArgsArgs<TypeMap extends TypeMapDef, _0 extends PropertyKey, _1 extends PropertyKey, _2 extends PropertyKey> = _2 extends '$queryRaw' | '$executeRaw' ? Sql : TypeMap[_0][_1]['operations'][_2]['args'];\r\n\r\n/** Result */\r\nexport declare type DynamicResultExtensionArgs<R_, TypeMap extends TypeMapDef> = {\r\n [K in keyof R_]: {\r\n [P in keyof R_[K]]?: {\r\n needs?: DynamicResultExtensionNeeds<TypeMap, ModelKey<TypeMap, K>, R_[K][P]>;\r\n compute(data: DynamicResultExtensionData<TypeMap, ModelKey<TypeMap, K>, R_[K][P]>): any;\r\n };\r\n };\r\n};\r\n\r\nexport declare type DynamicResultExtensionData<TypeMap extends TypeMapDef, M extends PropertyKey, S> = GetFindResult<TypeMap['model'][M]['payload'], {\r\n select: S;\r\n}, {}>;\r\n\r\nexport declare type DynamicResultExtensionNeeds<TypeMap extends TypeMapDef, M extends PropertyKey, S> = {\r\n [K in keyof S]: K extends keyof TypeMap['model'][M]['payload']['scalars'] ? S[K] : never;\r\n} & {\r\n [N in keyof TypeMap['model'][M]['payload']['scalars']]?: boolean;\r\n};\r\n\r\n/**\r\n * Placeholder value for \"no text\".\r\n */\r\nexport declare const empty: Sql;\r\n\r\nexport declare type EmptyToUnknown<T> = T;\r\n\r\ndeclare interface Engine<InteractiveTransactionPayload = unknown> {\r\n /** The name of the engine. This is meant to be consumed externally */\r\n readonly name: string;\r\n onBeforeExit(callback: () => Promise<void>): void;\r\n start(): Promise<void>;\r\n stop(): Promise<void>;\r\n version(forceRun?: boolean): Promise<string> | string;\r\n request<T>(query: JsonQuery, options: RequestOptions<InteractiveTransactionPayload>): Promise<QueryEngineResultData<T>>;\r\n requestBatch<T>(queries: JsonQuery[], options: RequestBatchOptions<InteractiveTransactionPayload>): Promise<BatchQueryEngineResult<T>[]>;\r\n transaction(action: 'start', headers: Transaction_2.TransactionHeaders, options: Transaction_2.Options): Promise<Transaction_2.InteractiveTransactionInfo<unknown>>;\r\n transaction(action: 'commit', headers: Transaction_2.TransactionHeaders, info: Transaction_2.InteractiveTransactionInfo<unknown>): Promise<void>;\r\n transaction(action: 'rollback', headers: Transaction_2.TransactionHeaders, info: Transaction_2.InteractiveTransactionInfo<unknown>): Promise<void>;\r\n metrics(options: MetricsOptionsJson): Promise<Metrics>;\r\n metrics(options: MetricsOptionsPrometheus): Promise<string>;\r\n applyPendingMigrations(): Promise<void>;\r\n}\r\n\r\ndeclare interface EngineConfig {\r\n cwd: string;\r\n dirname: string;\r\n enableDebugLogs?: boolean;\r\n allowTriggerPanic?: boolean;\r\n prismaPath?: string;\r\n generator?: GeneratorConfig;\r\n /**\r\n * @remarks this field is used internally by Policy, do not rename or remove\r\n */\r\n overrideDatasources: Datasources;\r\n showColors?: boolean;\r\n logQueries?: boolean;\r\n logLevel?: 'info' | 'warn';\r\n env: Record<string, string>;\r\n flags?: string[];\r\n clientVersion: string;\r\n engineVersion: string;\r\n previewFeatures?: string[];\r\n engineEndpoint?: string;\r\n activeProvider?: string;\r\n logEmitter: LogEmitter;\r\n transactionOptions: Transaction_2.Options;\r\n /**\r\n * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-planetscale`.\r\n * If set, this is only used in the library engine, and all queries would be performed through it,\r\n * rather than Prisma's Rust drivers.\r\n * @remarks only used by LibraryEngine.ts\r\n */\r\n adapter?: SqlDriverAdapterFactory;\r\n /**\r\n * The contents of the schema encoded into a string\r\n */\r\n inlineSchema: string;\r\n /**\r\n * The contents of the datasource url saved in a string\r\n * @remarks only used by DataProxyEngine.ts\r\n * @remarks this field is used internally by Policy, do not rename or remove\r\n */\r\n inlineDatasources: GetPrismaClientConfig['inlineDatasources'];\r\n /**\r\n * The string hash that was produced for a given schema\r\n * @remarks only used by DataProxyEngine.ts\r\n */\r\n inlineSchemaHash: string;\r\n /**\r\n * The helper for interaction with OTEL tracing\r\n * @remarks enabling is determined by the client and @prisma/instrumentation package\r\n */\r\n tracingHelper: TracingHelper;\r\n /**\r\n * Information about whether we have not found a schema.prisma file in the\r\n * default location, and that we fell back to finding the schema.prisma file\r\n * in the current working directory. This usually means it has been bundled.\r\n */\r\n isBundled?: boolean;\r\n /**\r\n * Web Assembly module loading configuration\r\n */\r\n engineWasm?: EngineWasmLoadingConfig;\r\n compilerWasm?: CompilerWasmLoadingConfig;\r\n /**\r\n * Allows Accelerate to use runtime utilities from the client. These are\r\n * necessary for the AccelerateEngine to function correctly.\r\n */\r\n accelerateUtils?: {\r\n resolveDatasourceUrl: typeof resolveDatasourceUrl;\r\n getBatchRequestPayload: typeof getBatchRequestPayload;\r\n prismaGraphQLToJSError: typeof prismaGraphQLToJSError;\r\n PrismaClientUnknownRequestError: typeof PrismaClientUnknownRequestError;\r\n PrismaClientInitializationError: typeof PrismaClientInitializationError;\r\n PrismaClientKnownRequestError: typeof PrismaClientKnownRequestError;\r\n debug: (...args: any[]) => void;\r\n engineVersion: string;\r\n clientVersion: string;\r\n };\r\n}\r\n\r\ndeclare type EngineEvent<E extends EngineEventType> = E extends QueryEventType ? QueryEvent : LogEvent;\r\n\r\ndeclare type EngineEventType = QueryEventType | LogEventType;\r\n\r\ndeclare type EngineSpan = {\r\n id: EngineSpanId;\r\n parentId: string | null;\r\n name: string;\r\n startTime: HrTime;\r\n endTime: HrTime;\r\n kind: EngineSpanKind;\r\n attributes?: Record<string, unknown>;\r\n links?: EngineSpanId[];\r\n};\r\n\r\ndeclare type EngineSpanId = string;\r\n\r\ndeclare type EngineSpanKind = 'client' | 'internal';\r\n\r\ndeclare type EngineWasmLoadingConfig = {\r\n /**\r\n * WASM-bindgen runtime for corresponding module\r\n */\r\n getRuntime: () => Promise<{\r\n __wbg_set_wasm(exports: unknown): void;\r\n QueryEngine: QueryEngineConstructor;\r\n }>;\r\n /**\r\n * Loads the raw wasm module for the wasm query engine. This configuration is\r\n * generated specifically for each type of client, eg. Node.js client and Edge\r\n * clients will have different implementations.\r\n * @remarks this is a callback on purpose, we only load the wasm if needed.\r\n * @remarks only used by LibraryEngine\r\n */\r\n getQueryEngineWasmModule: () => Promise<unknown>;\r\n};\r\n\r\ndeclare type EnumValue = ReadonlyDeep_2<{\r\n name: string;\r\n dbName: string | null;\r\n}>;\r\n\r\ndeclare type EnvPaths = {\r\n rootEnvPath: string | null;\r\n schemaEnvPath: string | undefined;\r\n};\r\n\r\ndeclare interface EnvValue {\r\n fromEnvVar: null | string;\r\n value: null | string;\r\n}\r\n\r\nexport declare type Equals<A, B> = (<T>() => T extends A ? 1 : 2) extends (<T>() => T extends B ? 1 : 2) ? 1 : 0;\r\n\r\ndeclare type Error_2 = MappedError & {\r\n originalCode?: string;\r\n originalMessage?: string;\r\n};\r\n\r\ndeclare type ErrorCapturingFunction<T> = T extends (...args: infer A) => Promise<infer R> ? (...args: A) => Promise<Result_4<ErrorCapturingInterface<R>>> : T extends (...args: infer A) => infer R ? (...args: A) => Result_4<ErrorCapturingInterface<R>> : T;\r\n\r\ndeclare type ErrorCapturingInterface<T> = {\r\n [K in keyof T]: ErrorCapturingFunction<T[K]>;\r\n};\r\n\r\ndeclare interface ErrorCapturingSqlDriverAdapter extends ErrorCapturingInterface<SqlDriverAdapter> {\r\n readonly errorRegistry: ErrorRegistry;\r\n}\r\n\r\ndeclare type ErrorFormat = 'pretty' | 'colorless' | 'minimal';\r\n\r\ndeclare type ErrorRecord = {\r\n error: unknown;\r\n};\r\n\r\ndeclare interface ErrorRegistry {\r\n consumeError(id: number): ErrorRecord | undefined;\r\n}\r\n\r\ndeclare interface ErrorWithBatchIndex {\r\n batchRequestIdx?: number;\r\n}\r\n\r\ndeclare type EventCallback<E extends ExtendedEventType> = [E] extends ['beforeExit'] ? () => Promise<void> : [E] extends [LogLevel] ? (event: EngineEvent<E>) => void : never;\r\n\r\nexport declare type Exact<A, W> = (A extends unknown ? (W extends A ? {\r\n [K in keyof A]: Exact<A[K], W[K]>;\r\n} : W) : never) | (A extends Narrowable ? A : never);\r\n\r\n/**\r\n * Defines Exception.\r\n *\r\n * string or an object with one of (message or name or code) and optional stack\r\n */\r\ndeclare type Exception = ExceptionWithCode | ExceptionWithMessage | ExceptionWithName | string;\r\n\r\ndeclare interface ExceptionWithCode {\r\n code: string | number;\r\n name?: string;\r\n message?: string;\r\n stack?: string;\r\n}\r\n\r\ndeclare interface ExceptionWithMessage {\r\n code?: string | number;\r\n message: string;\r\n name?: string;\r\n stack?: string;\r\n}\r\n\r\ndeclare interface ExceptionWithName {\r\n code?: string | number;\r\n message?: string;\r\n name: string;\r\n stack?: string;\r\n}\r\n\r\ndeclare type ExtendedEventType = LogLevel | 'beforeExit';\r\n\r\ndeclare type ExtendedSpanOptions = SpanOptions & {\r\n /** The name of the span */\r\n name: string;\r\n internal?: boolean;\r\n /** Whether it propagates context (?=true) */\r\n active?: boolean;\r\n /** The context to append the span to */\r\n context?: Context;\r\n};\r\n\r\n/** $extends, defineExtension */\r\nexport declare interface ExtendsHook<Variant extends 'extends' | 'define', TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>, TypeMap extends TypeMapDef = Call<TypeMapCb, {\r\n extArgs: ExtArgs;\r\n}>> {\r\n extArgs: ExtArgs;\r\n <R_ extends {\r\n [K in TypeMap['meta']['modelProps'] | '$allModels']?: unknown;\r\n }, R, M_ extends {\r\n [K in TypeMap['meta']['modelProps'] | '$allModels']?: unknown;\r\n }, M, Q_ extends {\r\n [K in TypeMap['meta']['modelProps'] | '$allModels' | keyof TypeMap['other']['operations'] | '$allOperations']?: unknown;\r\n }, C_ extends {\r\n [K in string]?: unknown;\r\n }, C, Args extends InternalArgs = InternalArgs<R, M, {}, C>, MergedArgs extends InternalArgs = MergeExtArgs<TypeMap, ExtArgs, Args>>(extension: ((client: DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>) => {\r\n $extends: {\r\n extArgs: Args;\r\n };\r\n }) | {\r\n name?: string;\r\n query?: DynamicQueryExtensionArgs<Q_, TypeMap>;\r\n result?: DynamicResultExtensionArgs<R_, TypeMap> & R;\r\n model?: DynamicModelExtensionArgs<M_, TypeMap, TypeMapCb, ExtArgs> & M;\r\n client?: DynamicClientExtensionArgs<C_, TypeMap, TypeMapCb, ExtArgs> & C;\r\n }): {\r\n extends: DynamicClientExtensionThis<Call<TypeMapCb, {\r\n extArgs: MergedArgs;\r\n }>, TypeMapCb, MergedArgs>;\r\n define: (client: any) => {\r\n $extends: {\r\n extArgs: Args;\r\n };\r\n };\r\n }[Variant];\r\n}\r\n\r\nexport declare type ExtensionArgs = Optional<RequiredExtensionArgs>;\r\n\r\ndeclare namespace Extensions {\r\n export {\r\n defineExtension,\r\n getExtensionContext\r\n }\r\n}\r\nexport { Extensions }\r\n\r\ndeclare namespace Extensions_2 {\r\n export {\r\n InternalArgs,\r\n DefaultArgs,\r\n GetPayloadResultExtensionKeys,\r\n GetPayloadResultExtensionObject,\r\n GetPayloadResult,\r\n GetSelect,\r\n GetOmit,\r\n DynamicQueryExtensionArgs,\r\n DynamicQueryExtensionCb,\r\n DynamicQueryExtensionCbArgs,\r\n DynamicQueryExtensionCbArgsArgs,\r\n DynamicResultExtensionArgs,\r\n DynamicResultExtensionNeeds,\r\n DynamicResultExtensionData,\r\n DynamicModelExtensionArgs,\r\n DynamicModelExtensionThis,\r\n DynamicModelExtensionOperationFn,\r\n DynamicModelExtensionFnResult,\r\n DynamicModelExtensionFnResultBase,\r\n DynamicModelExtensionFluentApi,\r\n DynamicModelExtensionFnResultNull,\r\n DynamicClientExtensionArgs,\r\n DynamicClientExtensionThis,\r\n ClientBuiltInProp,\r\n DynamicClientExtensionThisBuiltin,\r\n ExtendsHook,\r\n MergeExtArgs,\r\n AllModelsToStringIndex,\r\n TypeMapDef,\r\n DevTypeMapDef,\r\n DevTypeMapFnDef,\r\n ClientOptionDef,\r\n ClientOtherOps,\r\n TypeMapCbDef,\r\n ModelKey,\r\n RequiredExtensionArgs as UserArgs\r\n }\r\n}\r\n\r\nexport declare type ExtractGlobalOmit<Options, ModelName extends string> = Options extends {\r\n omit: {\r\n [K in ModelName]: infer GlobalOmit;\r\n };\r\n} ? GlobalOmit : {};\r\n\r\ndeclare type Field = ReadonlyDeep_2<{\r\n kind: FieldKind;\r\n name: string;\r\n isRequired: boolean;\r\n isList: boolean;\r\n isUnique: boolean;\r\n isId: boolean;\r\n isReadOnly: boolean;\r\n isGenerated?: boolean;\r\n isUpdatedAt?: boolean;\r\n /**\r\n * Describes the data type in the same the way it is defined in the Prisma schema:\r\n * BigInt, Boolean, Bytes, DateTime, Decimal, Float, Int, JSON, String, $ModelName\r\n */\r\n type: string;\r\n /**\r\n * Native database type, if specified.\r\n * For example, `@db.VarChar(191)` is encoded as `['VarChar', ['191']]`,\r\n * `@db.Text` is encoded as `['Text', []]`.\r\n */\r\n nativeType?: [string, string[]] | null;\r\n dbName?: string | null;\r\n hasDefaultValue: boolean;\r\n default?: FieldDefault | FieldDefaultScalar | FieldDefaultScalar[];\r\n relationFromFields?: string[];\r\n relationToFields?: string[];\r\n relationOnDelete?: string;\r\n relationOnUpdate?: string;\r\n relationName?: string;\r\n documentation?: string;\r\n}>;\r\n\r\ndeclare type FieldDefault = ReadonlyDeep_2<{\r\n name: string;\r\n args: Array<string | number>;\r\n}>;\r\n\r\ndeclare type FieldDefaultScalar = string | boolean | number;\r\n\r\ndeclare type FieldInitializer = {\r\n type: 'value';\r\n value: PrismaValue;\r\n} | {\r\n type: 'lastInsertId';\r\n};\r\n\r\ndeclare type FieldKind = 'scalar' | 'object' | 'enum' | 'unsupported';\r\n\r\ndeclare type FieldLocation = 'scalar' | 'inputObjectTypes' | 'outputObjectTypes' | 'enumTypes' | 'fieldRefTypes';\r\n\r\ndeclare type FieldNamespace = 'model' | 'prisma';\r\n\r\ndeclare type FieldOperation = {\r\n type: 'set';\r\n value: PrismaValue;\r\n} | {\r\n type: 'add';\r\n value: PrismaValue;\r\n} | {\r\n type: 'subtract';\r\n value: PrismaValue;\r\n} | {\r\n type: 'multiply';\r\n value: PrismaValue;\r\n} | {\r\n type: 'divide';\r\n value: PrismaValue;\r\n};\r\n\r\n/**\r\n * A reference to a specific field of a specific model\r\n */\r\nexport declare interface FieldRef<Model, FieldType> {\r\n readonly modelName: Model;\r\n readonly name: string;\r\n readonly typeName: FieldType;\r\n readonly isList: boolean;\r\n}\r\n\r\ndeclare type FieldRefAllowType = TypeRef<'scalar' | 'enumTypes'>;\r\n\r\ndeclare type FieldRefType = ReadonlyDeep_2<{\r\n name: string;\r\n allowTypes: FieldRefAllowType[];\r\n fields: SchemaArg[];\r\n}>;\r\n\r\ndeclare type FieldScalarType = {\r\n type: 'string' | 'int' | 'bigint' | 'float' | 'boolean' | 'json' | 'object' | 'datetime' | 'decimal' | 'unsupported';\r\n} | {\r\n type: 'enum';\r\n name: string;\r\n} | {\r\n type: 'bytes';\r\n encoding: 'array' | 'base64' | 'hex';\r\n};\r\n\r\ndeclare type FieldType = {\r\n arity: Arity;\r\n} & FieldScalarType;\r\n\r\ndeclare type FluentOperation = 'findUnique' | 'findUniqueOrThrow' | 'findFirst' | 'findFirstOrThrow' | 'create' | 'update' | 'upsert' | 'delete';\r\n\r\nexport declare interface Fn<Params = unknown, Returns = unknown> {\r\n params: Params;\r\n returns: Returns;\r\n}\r\n\r\ndeclare type Fragment = {\r\n type: 'stringChunk';\r\n chunk: string;\r\n} | {\r\n type: 'parameter';\r\n} | {\r\n type: 'parameterTuple';\r\n} | {\r\n type: 'parameterTupleList';\r\n itemPrefix: string;\r\n itemSeparator: string;\r\n itemSuffix: string;\r\n groupSeparator: string;\r\n};\r\n\r\ndeclare interface GeneratorConfig {\r\n name: string;\r\n output: EnvValue | null;\r\n isCustomOutput?: boolean;\r\n provider: EnvValue;\r\n config: {\r\n /** `output` is a reserved name and will only be available directly at `generator.output` */\r\n output?: never;\r\n /** `provider` is a reserved name and will only be available directly at `generator.provider` */\r\n provider?: never;\r\n /** `binaryTargets` is a reserved name and will only be available directly at `generator.binaryTargets` */\r\n binaryTargets?: never;\r\n /** `previewFeatures` is a reserved name and will only be available directly at `generator.previewFeatures` */\r\n previewFeatures?: never;\r\n } & {\r\n [key: string]: string | string[] | undefined;\r\n };\r\n binaryTargets: BinaryTargetsEnvValue[];\r\n previewFeatures: string[];\r\n envPaths?: EnvPaths;\r\n sourceFilePath: string;\r\n}\r\n\r\nexport declare type GetAggregateResult<P extends OperationPayload, A> = {\r\n [K in keyof A as K extends Aggregate ? K : never]: K extends '_count' ? A[K] extends true ? number : Count<A[K]> : {\r\n [J in keyof A[K] & string]: P['scalars'][J] | null;\r\n };\r\n};\r\n\r\ndeclare function getBatchRequestPayload(batch: JsonQuery[], transaction?: TransactionOptions_2<unknown>): QueryEngineBatchRequest;\r\n\r\nexport declare type GetBatchResult = {\r\n count: number;\r\n};\r\n\r\nexport declare type GetCountResult<A> = A extends {\r\n select: infer S;\r\n} ? (S extends true ? number : Count<S>) : number;\r\n\r\ndeclare function getExtensionContext<T>(that: T): Context_2<T>;\r\n\r\nexport declare type GetFindResult<P extends OperationPayload, A, GlobalOmitOptions> = Equals<A, any> extends 1 ? DefaultSelection<P, A, GlobalOmitOptions> : A extends {\r\n select: infer S extends object;\r\n} & Record<string, unknown> | {\r\n include: infer I extends object;\r\n} & Record<string, unknown> ? {\r\n [K in keyof S | keyof I as (S & I)[K] extends false | undefined | Skip | null ? never : K]: (S & I)[K] extends object ? P extends SelectablePayloadFields<K, (infer O)[]> ? O extends OperationPayload ? GetFindResult<O, (S & I)[K], GlobalOmitOptions>[] : never : P extends SelectablePayloadFields<K, infer O | null> ? O extends OperationPayload ? GetFindResult<O, (S & I)[K], GlobalOmitOptions> | SelectField<P, K> & null : never : K extends '_count' ? Count<GetFindResult<P, (S & I)[K], GlobalOmitOptions>> : never : P extends SelectablePayloadFields<K, (infer O)[]> ? O extends OperationPayload ? DefaultSelection<O, {}, GlobalOmitOptions>[] : never : P extends SelectablePayloadFields<K, infer O | null> ? O extends OperationPayload ? DefaultSelection<O, {}, GlobalOmitOptions> | SelectField<P, K> & null : never : P extends {\r\n scalars: {\r\n [k in K]: infer O;\r\n };\r\n } ? O : K extends '_count' ? Count<P['objects']> : never;\r\n} & (A extends {\r\n include: any;\r\n} & Record<string, unknown> ? DefaultSelection<P, A & {\r\n omit: A['omit'];\r\n}, GlobalOmitOptions> : unknown) : DefaultSelection<P, A, GlobalOmitOptions>;\r\n\r\nexport declare type GetGroupByResult<P extends OperationPayload, A> = A extends {\r\n by: string[];\r\n} ? Array<GetAggregateResult<P, A> & {\r\n [K in A['by'][number]]: P['scalars'][K];\r\n}> : A extends {\r\n by: string;\r\n} ? Array<GetAggregateResult<P, A> & {\r\n [K in A['by']]: P['scalars'][K];\r\n}> : {}[];\r\n\r\nexport declare type GetOmit<BaseKeys extends string, R extends InternalArgs['result'][string], ExtraType = never> = {\r\n [K in (string extends keyof R ? never : keyof R) | BaseKeys]?: boolean | ExtraType;\r\n};\r\n\r\nexport declare type GetPayloadResult<Base extends Record<any, any>, R extends InternalArgs['result'][string]> = Omit<Base, GetPayloadResultExtensionKeys<R>> & GetPayloadResultExtensionObject<R>;\r\n\r\nexport declare type GetPayloadResultExtensionKeys<R extends InternalArgs['result'][string], KR extends keyof R = string extends keyof R ? never : keyof R> = KR;\r\n\r\nexport declare type GetPayloadResultExtensionObject<R extends InternalArgs['result'][string]> = {\r\n [K in GetPayloadResultExtensionKeys<R>]: R[K] extends () => {\r\n compute: (...args: any) => infer C;\r\n } ? C : never;\r\n};\r\n\r\nexport declare function getPrismaClient(config: GetPrismaClientConfig): {\r\n new (optionsArg?: PrismaClientOptions): {\r\n _originalClient: any;\r\n _runtimeDataModel: RuntimeDataModel;\r\n _requestHandler: RequestHandler;\r\n _connectionPromise?: Promise<any> | undefined;\r\n _disconnectionPromise?: Promise<any> | undefined;\r\n _engineConfig: EngineConfig;\r\n _accelerateEngineConfig: AccelerateEngineConfig;\r\n _clientVersion: string;\r\n _errorFormat: ErrorFormat;\r\n _tracingHelper: TracingHelper;\r\n _previewFeatures: string[];\r\n _activeProvider: string;\r\n _globalOmit?: GlobalOmitOptions | undefined;\r\n _extensions: MergedExtensionsList;\r\n /**\r\n * @remarks This is used internally by Policy, do not rename or remove\r\n */\r\n _engine: Engine;\r\n /**\r\n * A fully constructed/applied Client that references the parent\r\n * PrismaClient. This is used for Client extensions only.\r\n */\r\n _appliedParent: any;\r\n _createPrismaPromise: PrismaPromiseFactory;\r\n $on<E extends ExtendedEventType>(eventType: E, callback: EventCallback<E>): any;\r\n $connect(): Promise<void>;\r\n /**\r\n * Disconnect from the database\r\n */\r\n $disconnect(): Promise<void>;\r\n /**\r\n * Executes a raw query and always returns a number\r\n */\r\n $executeRawInternal(transaction: PrismaPromiseTransaction | undefined, clientMethod: string, args: RawQueryArgs, middlewareArgsMapper?: MiddlewareArgsMapper<unknown, unknown>): Promise<number>;\r\n /**\r\n * Executes a raw query provided through a safe tag function\r\n * @see https://github.com/prisma/prisma/issues/7142\r\n *\r\n * @param query\r\n * @param values\r\n * @returns\r\n */\r\n $executeRaw(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Unsafe counterpart of `$executeRaw` that is susceptible to SQL injections\r\n * @see https://github.com/prisma/prisma/issues/7142\r\n *\r\n * @param query\r\n * @param values\r\n * @returns\r\n */\r\n $executeRawUnsafe(query: string, ...values: RawValue[]): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Executes a raw command only for MongoDB\r\n *\r\n * @param command\r\n * @returns\r\n */\r\n $runCommandRaw(command: Record<string, JsInputValue>): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Executes a raw query and returns selected data\r\n */\r\n $queryRawInternal(transaction: PrismaPromiseTransaction | undefined, clientMethod: string, args: RawQueryArgs, middlewareArgsMapper?: MiddlewareArgsMapper<unknown, unknown>): Promise<any>;\r\n /**\r\n * Executes a raw query provided through a safe tag function\r\n * @see https://github.com/prisma/prisma/issues/7142\r\n *\r\n * @param query\r\n * @param values\r\n * @returns\r\n */\r\n $queryRaw(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Counterpart to $queryRaw, that returns strongly typed results\r\n * @param typedSql\r\n */\r\n $queryRawTyped(typedSql: UnknownTypedSql): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Unsafe counterpart of `$queryRaw` that is susceptible to SQL injections\r\n * @see https://github.com/prisma/prisma/issues/7142\r\n *\r\n * @param query\r\n * @param values\r\n * @returns\r\n */\r\n $queryRawUnsafe(query: string, ...values: RawValue[]): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Execute a batch of requests in a transaction\r\n * @param requests\r\n * @param options\r\n */\r\n _transactionWithArray({ promises, options, }: {\r\n promises: Array<PrismaPromise_2<any>>;\r\n options?: BatchTransactionOptions;\r\n }): Promise<any>;\r\n /**\r\n * Perform a long-running transaction\r\n * @param callback\r\n * @param options\r\n * @returns\r\n */\r\n _transactionWithCallback({ callback, options, }: {\r\n callback: (client: Client) => Promise<unknown>;\r\n options?: Options;\r\n }): Promise<unknown>;\r\n _createItxClient(transaction: PrismaPromiseInteractiveTransaction): Client;\r\n /**\r\n * Execute queries within a transaction\r\n * @param input a callback or a query list\r\n * @param options to set timeouts (callback)\r\n * @returns\r\n */\r\n $transaction(input: any, options?: any): Promise<any>;\r\n /**\r\n * Runs the middlewares over params before executing a request\r\n * @param internalParams\r\n * @returns\r\n */\r\n _request(internalParams: InternalRequestParams): Promise<any>;\r\n _executeRequest({ args, clientMethod, dataPath, callsite, action, model, argsMapper, transaction, unpacker, otelParentCtx, customDataProxyFetch, }: InternalRequestParams): Promise<any>;\r\n $metrics: MetricsClient;\r\n /**\r\n * Shortcut for checking a preview flag\r\n * @param feature preview flag\r\n * @returns\r\n */\r\n _hasPreviewFlag(feature: string): boolean;\r\n $applyPendingMigrations(): Promise<void>;\r\n $extends: typeof $extends;\r\n readonly [Symbol.toStringTag]: string;\r\n };\r\n};\r\n\r\n/**\r\n * Config that is stored into the generated client. When the generated client is\r\n * loaded, this same config is passed to {@link getPrismaClient} which creates a\r\n * closure with that config around a non-instantiated [[PrismaClient]].\r\n */\r\nexport declare type GetPrismaClientConfig = {\r\n runtimeDataModel: RuntimeDataModel;\r\n generator?: GeneratorConfig;\r\n relativeEnvPaths?: {\r\n rootEnvPath?: string | null;\r\n schemaEnvPath?: string | null;\r\n };\r\n relativePath: string;\r\n dirname: string;\r\n clientVersion: string;\r\n engineVersion: string;\r\n datasourceNames: string[];\r\n activeProvider: ActiveConnectorType;\r\n /**\r\n * The contents of the schema encoded into a string\r\n * @remarks only used for the purpose of data proxy\r\n */\r\n inlineSchema: string;\r\n /**\r\n * A special env object just for the data proxy edge runtime.\r\n * Allows bundlers to inject their own env variables (Vercel).\r\n * Allows platforms to declare global variables as env (Workers).\r\n * @remarks only used for the purpose of data proxy\r\n */\r\n injectableEdgeEnv?: () => LoadedEnv;\r\n /**\r\n * The contents of the datasource url saved in a string.\r\n * This can either be an env var name or connection string.\r\n * It is needed by the client to connect to the Data Proxy.\r\n * @remarks only used for the purpose of data proxy\r\n */\r\n inlineDatasources: {\r\n [name in string]: {\r\n url: EnvValue;\r\n };\r\n };\r\n /**\r\n * The string hash that was produced for a given schema\r\n * @remarks only used for the purpose of data proxy\r\n */\r\n inlineSchemaHash: string;\r\n /**\r\n * A marker to indicate that the client was not generated via `prisma\r\n * generate` but was generated via `generate --postinstall` script instead.\r\n * @remarks used to error for Vercel/Netlify for schema caching issues\r\n */\r\n postinstall?: boolean;\r\n /**\r\n * Information about the CI where the Prisma Client has been generated. The\r\n * name of the CI environment is stored at generation time because CI\r\n * information is not always available at runtime. Moreover, the edge client\r\n * has no notion of environment variables, so this works around that.\r\n * @remarks used to error for Vercel/Netlify for schema caching issues\r\n */\r\n ciName?: string;\r\n /**\r\n * Information about whether we have not found a schema.prisma file in the\r\n * default location, and that we fell back to finding the schema.prisma file\r\n * in the current working directory. This usually means it has been bundled.\r\n */\r\n isBundled?: boolean;\r\n /**\r\n * A boolean that is `false` when the client was generated with --no-engine. At\r\n * runtime, this means the client will be bound to be using the Data Proxy.\r\n */\r\n copyEngine?: boolean;\r\n /**\r\n * Optional wasm loading configuration\r\n */\r\n engineWasm?: EngineWasmLoadingConfig;\r\n compilerWasm?: CompilerWasmLoadingConfig;\r\n};\r\n\r\nexport declare type GetResult<Payload extends OperationPayload, Args, OperationName extends Operation = 'findUniqueOrThrow', GlobalOmitOptions = {}> = {\r\n findUnique: GetFindResult<Payload, Args, GlobalOmitOptions> | null;\r\n findUniqueOrThrow: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n findFirst: GetFindResult<Payload, Args, GlobalOmitOptions> | null;\r\n findFirstOrThrow: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n findMany: GetFindResult<Payload, Args, GlobalOmitOptions>[];\r\n create: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n createMany: GetBatchResult;\r\n createManyAndReturn: GetFindResult<Payload, Args, GlobalOmitOptions>[];\r\n update: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n updateMany: GetBatchResult;\r\n updateManyAndReturn: GetFindResult<Payload, Args, GlobalOmitOptions>[];\r\n upsert: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n delete: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n deleteMany: GetBatchResult;\r\n aggregate: GetAggregateResult<Payload, Args>;\r\n count: GetCountResult<Args>;\r\n groupBy: GetGroupByResult<Payload, Args>;\r\n $queryRaw: unknown;\r\n $queryRawTyped: unknown;\r\n $executeRaw: number;\r\n $queryRawUnsafe: unknown;\r\n $executeRawUnsafe: number;\r\n $runCommandRaw: JsonObject;\r\n findRaw: JsonObject;\r\n aggregateRaw: JsonObject;\r\n}[OperationName];\r\n\r\nexport declare function getRuntime(): GetRuntimeOutput;\r\n\r\ndeclare type GetRuntimeOutput = {\r\n id: RuntimeName;\r\n prettyName: string;\r\n isEdge: boolean;\r\n};\r\n\r\nexport declare type GetSelect<Base extends Record<any, any>, R extends InternalArgs['result'][string], KR extends keyof R = string extends keyof R ? never : keyof R> = {\r\n [K in KR | keyof Base]?: K extends KR ? boolean : Base[K];\r\n};\r\n\r\ndeclare type GlobalOmitOptions = {\r\n [modelName: string]: {\r\n [fieldName: string]: boolean;\r\n };\r\n};\r\n\r\ndeclare type HandleErrorParams = {\r\n args: JsArgs;\r\n error: any;\r\n clientMethod: string;\r\n callsite?: CallSite;\r\n transaction?: PrismaPromiseTransaction;\r\n modelName?: string;\r\n globalOmit?: GlobalOmitOptions;\r\n};\r\n\r\ndeclare type HrTime = [number, number];\r\n\r\n/**\r\n * Defines High-Resolution Time.\r\n *\r\n * The first number, HrTime[0], is UNIX Epoch time in seconds since 00:00:00 UTC on 1 January 1970.\r\n * The second number, HrTime[1], represents the partial second elapsed since Unix Epoch time represented by first number in nanoseconds.\r\n * For example, 2021-01-01T12:30:10.150Z in UNIX Epoch time in milliseconds is represented as 1609504210150.\r\n * The first number is calculated by converting and truncating the Epoch time in milliseconds to seconds:\r\n * HrTime[0] = Math.trunc(1609504210150 / 1000) = 1609504210.\r\n * The second number is calculated by converting the digits after the decimal point of the subtraction, (1609504210150 / 1000) - HrTime[0], to nanoseconds:\r\n * HrTime[1] = Number((1609504210.150 - HrTime[0]).toFixed(9)) * 1e9 = 150000000.\r\n * This is represented in HrTime format as [1609504210, 150000000].\r\n */\r\ndeclare type HrTime_2 = [number, number];\r\n\r\ndeclare type Index = ReadonlyDeep_2<{\r\n model: string;\r\n type: IndexType;\r\n isDefinedOnField: boolean;\r\n name?: string;\r\n dbName?: string;\r\n algorithm?: string;\r\n clustered?: boolean;\r\n fields: IndexField[];\r\n}>;\r\n\r\ndeclare type IndexField = ReadonlyDeep_2<{\r\n name: string;\r\n sortOrder?: SortOrder;\r\n length?: number;\r\n operatorClass?: string;\r\n}>;\r\n\r\ndeclare type IndexType = 'id' | 'normal' | 'unique' | 'fulltext';\r\n\r\ndeclare type InMemoryOps = {\r\n pagination: Pagination | null;\r\n distinct: string[] | null;\r\n reverse: boolean;\r\n linkingFields: string[] | null;\r\n nested: Record<string, InMemoryOps>;\r\n};\r\n\r\n/**\r\n * Matches a JSON array.\r\n * Unlike \\`JsonArray\\`, readonly arrays are assignable to this type.\r\n */\r\nexport declare interface InputJsonArray extends ReadonlyArray<InputJsonValue | null> {\r\n}\r\n\r\n/**\r\n * Matches a JSON object.\r\n * Unlike \\`JsonObject\\`, this type allows undefined and read-only properties.\r\n */\r\nexport declare type InputJsonObject = {\r\n readonly [Key in string]?: InputJsonValue | null;\r\n};\r\n\r\n/**\r\n * Matches any valid value that can be used as an input for operations like\r\n * create and update as the value of a JSON field. Unlike \\`JsonValue\\`, this\r\n * type allows read-only arrays and read-only object properties and disallows\r\n * \\`null\\` at the top level.\r\n *\r\n * \\`null\\` cannot be used as the value of a JSON field because its meaning\r\n * would be ambiguous. Use \\`Prisma.JsonNull\\` to store the JSON null value or\r\n * \\`Prisma.DbNull\\` to clear the JSON value and set the field to the database\r\n * NULL value instead.\r\n *\r\n * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-by-null-values\r\n */\r\nexport declare type InputJsonValue = string | number | boolean | InputJsonObject | InputJsonArray | {\r\n toJSON(): unknown;\r\n};\r\n\r\ndeclare type InputType = ReadonlyDeep_2<{\r\n name: string;\r\n constraints: {\r\n maxNumFields: number | null;\r\n minNumFields: number | null;\r\n fields?: string[];\r\n };\r\n meta?: {\r\n source?: string;\r\n grouping?: string;\r\n };\r\n fields: SchemaArg[];\r\n}>;\r\n\r\ndeclare type InputTypeRef = TypeRef<'scalar' | 'inputObjectTypes' | 'enumTypes' | 'fieldRefTypes'>;\r\n\r\ndeclare type InteractiveTransactionInfo<Payload = unknown> = {\r\n /**\r\n * Transaction ID returned by the query engine.\r\n */\r\n id: string;\r\n /**\r\n * Arbitrary payload the meaning of which depends on the `Engine` implementation.\r\n * For example, `DataProxyEngine` needs to associate different API endpoints with transactions.\r\n * In `LibraryEngine` and `BinaryEngine` it is currently not used.\r\n */\r\n payload: Payload;\r\n};\r\n\r\ndeclare type InteractiveTransactionOptions<Payload> = Transaction_2.InteractiveTransactionInfo<Payload>;\r\n\r\nexport declare type InternalArgs<R = {\r\n [K in string]: {\r\n [K in string]: unknown;\r\n };\r\n}, M = {\r\n [K in string]: {\r\n [K in string]: unknown;\r\n };\r\n}, Q = {\r\n [K in string]: {\r\n [K in string]: unknown;\r\n };\r\n}, C = {\r\n [K in string]: unknown;\r\n}> = {\r\n result: {\r\n [K in keyof R]: {\r\n [P in keyof R[K]]: () => R[K][P];\r\n };\r\n };\r\n model: {\r\n [K in keyof M]: {\r\n [P in keyof M[K]]: () => M[K][P];\r\n };\r\n };\r\n query: {\r\n [K in keyof Q]: {\r\n [P in keyof Q[K]]: () => Q[K][P];\r\n };\r\n };\r\n client: {\r\n [K in keyof C]: () => C[K];\r\n };\r\n};\r\n\r\ndeclare type InternalRequestParams = {\r\n /**\r\n * The original client method being called.\r\n * Even though the rootField / operation can be changed,\r\n * this method stays as it is, as it's what the user's\r\n * code looks like\r\n */\r\n clientMethod: string;\r\n /**\r\n * Name of js model that triggered the request. Might be used\r\n * for warnings or error messages\r\n */\r\n jsModelName?: string;\r\n callsite?: CallSite;\r\n transaction?: PrismaPromiseTransaction;\r\n unpacker?: Unpacker;\r\n otelParentCtx?: Context;\r\n /** Used to \"desugar\" a user input into an \"expanded\" one */\r\n argsMapper?: (args?: UserArgs_2) => UserArgs_2;\r\n /** Used to convert args for middleware and back */\r\n middlewareArgsMapper?: MiddlewareArgsMapper<unknown, unknown>;\r\n /** Used for Accelerate client extension via Data Proxy */\r\n customDataProxyFetch?: AccelerateExtensionFetchDecorator;\r\n} & Omit<QueryMiddlewareParams, 'runInTransaction'>;\r\n\r\ndeclare type IsolationLevel = 'READ UNCOMMITTED' | 'READ COMMITTED' | 'REPEATABLE READ' | 'SNAPSHOT' | 'SERIALIZABLE';\r\n\r\ndeclare type IsolationLevel_2 = 'ReadUncommitted' | 'ReadCommitted' | 'RepeatableRead' | 'Snapshot' | 'Serializable';\r\n\r\ndeclare function isSkip(value: unknown): value is Skip;\r\n\r\nexport declare function isTypedSql(value: unknown): value is UnknownTypedSql;\r\n\r\nexport declare type ITXClientDenyList = (typeof denylist)[number];\r\n\r\nexport declare const itxClientDenyList: readonly (string | symbol)[];\r\n\r\ndeclare interface Job {\r\n resolve: (data: any) => void;\r\n reject: (data: any) => void;\r\n request: any;\r\n}\r\n\r\n/**\r\n * Create a SQL query for a list of values.\r\n */\r\nexport declare function join(values: readonly RawValue[], separator?: string, prefix?: string, suffix?: string): Sql;\r\n\r\ndeclare type JoinExpression = {\r\n child: QueryPlanNode;\r\n on: [left: string, right: string][];\r\n parentField: string;\r\n isRelationUnique: boolean;\r\n};\r\n\r\nexport declare type JsArgs = {\r\n select?: Selection_2;\r\n include?: Selection_2;\r\n omit?: Omission;\r\n [argName: string]: JsInputValue;\r\n};\r\n\r\nexport declare type JsInputValue = null | undefined | string | number | boolean | bigint | Uint8Array | Date | DecimalJsLike | ObjectEnumValue | RawParameters | JsonConvertible | FieldRef<string, unknown> | JsInputValue[] | Skip | {\r\n [key: string]: JsInputValue;\r\n};\r\n\r\ndeclare type JsonArgumentValue = number | string | boolean | null | RawTaggedValue | JsonArgumentValue[] | {\r\n [key: string]: JsonArgumentValue;\r\n};\r\n\r\n/**\r\n * From https://github.com/sindresorhus/type-fest/\r\n * Matches a JSON array.\r\n */\r\nexport declare interface JsonArray extends Array<JsonValue> {\r\n}\r\n\r\nexport declare type JsonBatchQuery = {\r\n batch: JsonQuery[];\r\n transaction?: {\r\n isolationLevel?: IsolationLevel_2;\r\n };\r\n};\r\n\r\nexport declare interface JsonConvertible {\r\n toJSON(): unknown;\r\n}\r\n\r\ndeclare type JsonFieldSelection = {\r\n arguments?: Record<string, JsonArgumentValue> | RawTaggedValue;\r\n selection: JsonSelectionSet;\r\n};\r\n\r\ndeclare class JsonNull extends NullTypesEnumValue {\r\n #private;\r\n}\r\n\r\n/**\r\n * From https://github.com/sindresorhus/type-fest/\r\n * Matches a JSON object.\r\n * This type can be useful to enforce some input to be JSON-compatible or as a super-type to be extended from.\r\n */\r\nexport declare type JsonObject = {\r\n [Key in string]?: JsonValue;\r\n};\r\n\r\nexport declare type JsonQuery = {\r\n modelName?: string;\r\n action: JsonQueryAction;\r\n query: JsonFieldSelection;\r\n};\r\n\r\ndeclare type JsonQueryAction = 'findUnique' | 'findUniqueOrThrow' | 'findFirst' | 'findFirstOrThrow' | 'findMany' | 'createOne' | 'createMany' | 'createManyAndReturn' | 'updateOne' | 'updateMany' | 'updateManyAndReturn' | 'deleteOne' | 'deleteMany' | 'upsertOne' | 'aggregate' | 'groupBy' | 'executeRaw' | 'queryRaw' | 'runCommandRaw' | 'findRaw' | 'aggregateRaw';\r\n\r\ndeclare type JsonSelectionSet = {\r\n $scalars?: boolean;\r\n $composites?: boolean;\r\n} & {\r\n [fieldName: string]: boolean | JsonFieldSelection;\r\n};\r\n\r\n/**\r\n * From https://github.com/sindresorhus/type-fest/\r\n * Matches any valid JSON value.\r\n */\r\nexport declare type JsonValue = string | number | boolean | JsonObject | JsonArray | null;\r\n\r\nexport declare type JsOutputValue = null | string | number | boolean | bigint | Uint8Array | Date | Decimal | JsOutputValue[] | {\r\n [key: string]: JsOutputValue;\r\n};\r\n\r\nexport declare type JsPromise<T> = Promise<T> & {};\r\n\r\ndeclare type KnownErrorParams = {\r\n code: string;\r\n clientVersion: string;\r\n meta?: Record<string, unknown>;\r\n batchRequestIdx?: number;\r\n};\r\n\r\n/**\r\n * A pointer from the current {@link Span} to another span in the same trace or\r\n * in a different trace.\r\n * Few examples of Link usage.\r\n * 1. Batch Processing: A batch of elements may contain elements associated\r\n * with one or more traces/spans. Since there can only be one parent\r\n * SpanContext, Link is used to keep reference to SpanContext of all\r\n * elements in the batch.\r\n * 2. Public Endpoint: A SpanContext in incoming client request on a public\r\n * endpoint is untrusted from service provider perspective. In such case it\r\n * is advisable to start a new trace with appropriate sampling decision.\r\n * However, it is desirable to associate incoming SpanContext to new trace\r\n * initiated on service provider side so two traces (from Client and from\r\n * Service Provider) can be correlated.\r\n */\r\ndeclare interface Link {\r\n /** The {@link SpanContext} of a linked span. */\r\n context: SpanContext;\r\n /** A set of {@link SpanAttributes} on the link. */\r\n attributes?: SpanAttributes;\r\n /** Count of attributes of the link that were dropped due to collection limits */\r\n droppedAttributesCount?: number;\r\n}\r\n\r\ndeclare type LoadedEnv = {\r\n message?: string;\r\n parsed: {\r\n [x: string]: string;\r\n };\r\n} | undefined;\r\n\r\ndeclare type LocationInFile = {\r\n fileName: string;\r\n lineNumber: number | null;\r\n columnNumber: number | null;\r\n};\r\n\r\ndeclare type LogDefinition = {\r\n level: LogLevel;\r\n emit: 'stdout' | 'event';\r\n};\r\n\r\n/**\r\n * Typings for the events we emit.\r\n *\r\n * @remarks\r\n * If this is updated, our edge runtime shim needs to be updated as well.\r\n */\r\ndeclare type LogEmitter = {\r\n on<E extends EngineEventType>(event: E, listener: (event: EngineEvent<E>) => void): LogEmitter;\r\n emit(event: QueryEventType, payload: QueryEvent): boolean;\r\n emit(event: LogEventType, payload: LogEvent): boolean;\r\n};\r\n\r\ndeclare type LogEvent = {\r\n timestamp: Date;\r\n message: string;\r\n target: string;\r\n};\r\n\r\ndeclare type LogEventType = 'info' | 'warn' | 'error';\r\n\r\ndeclare type LogLevel = 'info' | 'query' | 'warn' | 'error';\r\n\r\n/**\r\n * Generates more strict variant of an enum which, unlike regular enum,\r\n * throws on non-existing property access. This can be useful in following situations:\r\n * - we have an API, that accepts both `undefined` and `SomeEnumType` as an input\r\n * - enum values are generated dynamically from DMMF.\r\n *\r\n * In that case, if using normal enums and no compile-time typechecking, using non-existing property\r\n * will result in `undefined` value being used, which will be accepted. Using strict enum\r\n * in this case will help to have a runtime exception, telling you that you are probably doing something wrong.\r\n *\r\n * Note: if you need to check for existence of a value in the enum you can still use either\r\n * `in` operator or `hasOwnProperty` function.\r\n *\r\n * @param definition\r\n * @returns\r\n */\r\nexport declare function makeStrictEnum<T extends Record<PropertyKey, string | number>>(definition: T): T;\r\n\r\nexport declare function makeTypedQueryFactory(sql: string): (...values: any[]) => TypedSql<any[], unknown>;\r\n\r\ndeclare type MappedError = {\r\n kind: 'GenericJs';\r\n id: number;\r\n} | {\r\n kind: 'UnsupportedNativeDataType';\r\n type: string;\r\n} | {\r\n kind: 'InvalidIsolationLevel';\r\n level: string;\r\n} | {\r\n kind: 'LengthMismatch';\r\n column?: string;\r\n} | {\r\n kind: 'UniqueConstraintViolation';\r\n constraint?: {\r\n fields: string[];\r\n } | {\r\n index: string;\r\n } | {\r\n foreignKey: {};\r\n };\r\n} | {\r\n kind: 'NullConstraintViolation';\r\n constraint?: {\r\n fields: string[];\r\n } | {\r\n index: string;\r\n } | {\r\n foreignKey: {};\r\n };\r\n} | {\r\n kind: 'ForeignKeyConstraintViolation';\r\n constraint?: {\r\n fields: string[];\r\n } | {\r\n index: string;\r\n } | {\r\n foreignKey: {};\r\n };\r\n} | {\r\n kind: 'DatabaseNotReachable';\r\n host?: string;\r\n port?: number;\r\n} | {\r\n kind: 'DatabaseDoesNotExist';\r\n db?: string;\r\n} | {\r\n kind: 'DatabaseAlreadyExists';\r\n db?: string;\r\n} | {\r\n kind: 'DatabaseAccessDenied';\r\n db?: string;\r\n} | {\r\n kind: 'ConnectionClosed';\r\n} | {\r\n kind: 'TlsConnectionError';\r\n reason: string;\r\n} | {\r\n kind: 'AuthenticationFailed';\r\n user?: string;\r\n} | {\r\n kind: 'TransactionWriteConflict';\r\n} | {\r\n kind: 'TableDoesNotExist';\r\n table?: string;\r\n} | {\r\n kind: 'ColumnNotFound';\r\n column?: string;\r\n} | {\r\n kind: 'TooManyConnections';\r\n cause: string;\r\n} | {\r\n kind: 'ValueOutOfRange';\r\n cause: string;\r\n} | {\r\n kind: 'MissingFullTextSearchIndex';\r\n} | {\r\n kind: 'SocketTimeout';\r\n} | {\r\n kind: 'InconsistentColumnData';\r\n cause: string;\r\n} | {\r\n kind: 'TransactionAlreadyClosed';\r\n cause: string;\r\n} | {\r\n kind: 'postgres';\r\n code: string;\r\n severity: string;\r\n message: string;\r\n detail: string | undefined;\r\n column: string | undefined;\r\n hint: string | undefined;\r\n} | {\r\n kind: 'mysql';\r\n code: number;\r\n message: string;\r\n state: string;\r\n} | {\r\n kind: 'sqlite';\r\n /**\r\n * Sqlite extended error code: https://www.sqlite.org/rescode.html\r\n */\r\n extendedCode: number;\r\n message: string;\r\n} | {\r\n kind: 'mssql';\r\n code: number;\r\n message: string;\r\n};\r\n\r\ndeclare type Mappings = ReadonlyDeep_2<{\r\n modelOperations: ModelMapping[];\r\n otherOperations: {\r\n read: string[];\r\n write: string[];\r\n };\r\n}>;\r\n\r\n/**\r\n * Class that holds the list of all extensions, applied to particular instance,\r\n * as well as resolved versions of the components that need to apply on\r\n * different levels. Main idea of this class: avoid re-resolving as much of the\r\n * stuff as possible when new extensions are added while also delaying the\r\n * resolve until the point it is actually needed. For example, computed fields\r\n * of the model won't be resolved unless the model is actually queried. Neither\r\n * adding extensions with `client` component only cause other components to\r\n * recompute.\r\n */\r\ndeclare class MergedExtensionsList {\r\n private head?;\r\n private constructor();\r\n static empty(): MergedExtensionsList;\r\n static single(extension: ExtensionArgs): MergedExtensionsList;\r\n isEmpty(): boolean;\r\n append(extension: ExtensionArgs): MergedExtensionsList;\r\n getAllComputedFields(dmmfModelName: string): ComputedFieldsMap | undefined;\r\n getAllClientExtensions(): ClientArg | undefined;\r\n getAllModelExtensions(dmmfModelName: string): ModelArg | undefined;\r\n getAllQueryCallbacks(jsModelName: string, operation: string): any;\r\n getAllBatchQueryCallbacks(): BatchQueryOptionsCb[];\r\n}\r\n\r\nexport declare type MergeExtArgs<TypeMap extends TypeMapDef, ExtArgs extends Record<any, any>, Args extends Record<any, any>> = ComputeDeep<ExtArgs & Args & AllModelsToStringIndex<TypeMap, Args, 'result'> & AllModelsToStringIndex<TypeMap, Args, 'model'>>;\r\n\r\nexport declare type Metric<T> = {\r\n key: string;\r\n value: T;\r\n labels: Record<string, string>;\r\n description: string;\r\n};\r\n\r\nexport declare type MetricHistogram = {\r\n buckets: MetricHistogramBucket[];\r\n sum: number;\r\n count: number;\r\n};\r\n\r\nexport declare type MetricHistogramBucket = [maxValue: number, count: number];\r\n\r\nexport declare type Metrics = {\r\n counters: Metric<number>[];\r\n gauges: Metric<number>[];\r\n histograms: Metric<MetricHistogram>[];\r\n};\r\n\r\nexport declare class MetricsClient {\r\n private _client;\r\n constructor(client: Client);\r\n /**\r\n * Returns all metrics gathered up to this point in prometheus format.\r\n * Result of this call can be exposed directly to prometheus scraping endpoint\r\n *\r\n * @param options\r\n * @returns\r\n */\r\n prometheus(options?: MetricsOptions): Promise<string>;\r\n /**\r\n * Returns all metrics gathered up to this point in prometheus format.\r\n *\r\n * @param options\r\n * @returns\r\n */\r\n json(options?: MetricsOptions): Promise<Metrics>;\r\n}\r\n\r\ndeclare type MetricsOptions = {\r\n /**\r\n * Labels to add to every metrics in key-value format\r\n */\r\n globalLabels?: Record<string, string>;\r\n};\r\n\r\ndeclare type MetricsOptionsCommon = {\r\n globalLabels?: Record<string, string>;\r\n};\r\n\r\ndeclare type MetricsOptionsJson = {\r\n format: 'json';\r\n} & MetricsOptionsCommon;\r\n\r\ndeclare type MetricsOptionsPrometheus = {\r\n format: 'prometheus';\r\n} & MetricsOptionsCommon;\r\n\r\ndeclare type MiddlewareArgsMapper<RequestArgs, MiddlewareArgs> = {\r\n requestArgsToMiddlewareArgs(requestArgs: RequestArgs): MiddlewareArgs;\r\n middlewareArgsToRequestArgs(middlewareArgs: MiddlewareArgs): RequestArgs;\r\n};\r\n\r\ndeclare type Model = ReadonlyDeep_2<{\r\n name: string;\r\n dbName: string | null;\r\n schema: string | null;\r\n fields: Field[];\r\n uniqueFields: string[][];\r\n uniqueIndexes: uniqueIndex[];\r\n documentation?: string;\r\n primaryKey: PrimaryKey | null;\r\n isGenerated?: boolean;\r\n}>;\r\n\r\ndeclare enum ModelAction {\r\n findUnique = \"findUnique\",\r\n findUniqueOrThrow = \"findUniqueOrThrow\",\r\n findFirst = \"findFirst\",\r\n findFirstOrThrow = \"findFirstOrThrow\",\r\n findMany = \"findMany\",\r\n create = \"create\",\r\n createMany = \"createMany\",\r\n createManyAndReturn = \"createManyAndReturn\",\r\n update = \"update\",\r\n updateMany = \"updateMany\",\r\n updateManyAndReturn = \"updateManyAndReturn\",\r\n upsert = \"upsert\",\r\n delete = \"delete\",\r\n deleteMany = \"deleteMany\",\r\n groupBy = \"groupBy\",\r\n count = \"count\",// TODO: count does not actually exist in DMMF\r\n aggregate = \"aggregate\",\r\n findRaw = \"findRaw\",\r\n aggregateRaw = \"aggregateRaw\"\r\n}\r\n\r\nexport declare type ModelArg = {\r\n [MethodName in string]: unknown;\r\n};\r\n\r\nexport declare type ModelArgs = {\r\n model: {\r\n [ModelName in string]: ModelArg;\r\n };\r\n};\r\n\r\nexport declare type ModelKey<TypeMap extends TypeMapDef, M extends PropertyKey> = M extends keyof TypeMap['model'] ? M : Capitalize<M & string>;\r\n\r\ndeclare type ModelMapping = ReadonlyDeep_2<{\r\n model: string;\r\n plural: string;\r\n findUnique?: string | null;\r\n findUniqueOrThrow?: string | null;\r\n findFirst?: string | null;\r\n findFirstOrThrow?: string | null;\r\n findMany?: string | null;\r\n create?: string | null;\r\n createMany?: string | null;\r\n createManyAndReturn?: string | null;\r\n update?: string | null;\r\n updateMany?: string | null;\r\n updateManyAndReturn?: string | null;\r\n upsert?: string | null;\r\n delete?: string | null;\r\n deleteMany?: string | null;\r\n aggregate?: string | null;\r\n groupBy?: string | null;\r\n count?: string | null;\r\n findRaw?: string | null;\r\n aggregateRaw?: string | null;\r\n}>;\r\n\r\nexport declare type ModelQueryOptionsCb = (args: ModelQueryOptionsCbArgs) => Promise<any>;\r\n\r\nexport declare type ModelQueryOptionsCbArgs = {\r\n model: string;\r\n operation: string;\r\n args: JsArgs;\r\n query: (args: JsArgs) => Promise<unknown>;\r\n};\r\n\r\ndeclare type MultiBatchResponse = {\r\n type: 'multi';\r\n plans: QueryPlanNode[];\r\n};\r\n\r\nexport declare type NameArgs = {\r\n name?: string;\r\n};\r\n\r\nexport declare type Narrow<A> = {\r\n [K in keyof A]: A[K] extends Function ? A[K] : Narrow<A[K]>;\r\n} | (A extends Narrowable ? A : never);\r\n\r\nexport declare type Narrowable = string | number | bigint | boolean | [];\r\n\r\nexport declare type NeverToUnknown<T> = [T] extends [never] ? unknown : T;\r\n\r\ndeclare class NullTypesEnumValue extends ObjectEnumValue {\r\n _getNamespace(): string;\r\n}\r\n\r\n/**\r\n * Base class for unique values of object-valued enums.\r\n */\r\nexport declare abstract class ObjectEnumValue {\r\n constructor(arg?: symbol);\r\n abstract _getNamespace(): string;\r\n _getName(): string;\r\n toString(): string;\r\n}\r\n\r\nexport declare const objectEnumValues: {\r\n classes: {\r\n DbNull: typeof DbNull;\r\n JsonNull: typeof JsonNull;\r\n AnyNull: typeof AnyNull;\r\n };\r\n instances: {\r\n DbNull: DbNull;\r\n JsonNull: JsonNull;\r\n AnyNull: AnyNull;\r\n };\r\n};\r\n\r\ndeclare const officialPrismaAdapters: readonly [\"@prisma/adapter-planetscale\", \"@prisma/adapter-neon\", \"@prisma/adapter-libsql\", \"@prisma/adapter-better-sqlite3\", \"@prisma/adapter-d1\", \"@prisma/adapter-pg\", \"@prisma/adapter-mssql\", \"@prisma/adapter-mariadb\"];\r\n\r\nexport declare type Omission = Record<string, boolean | Skip>;\r\n\r\ndeclare type Omit_2<T, K extends string | number | symbol> = {\r\n [P in keyof T as P extends K ? never : P]: T[P];\r\n};\r\nexport { Omit_2 as Omit }\r\n\r\nexport declare type OmitValue<Omit, Key> = Key extends keyof Omit ? Omit[Key] : false;\r\n\r\nexport declare type Operation = 'findFirst' | 'findFirstOrThrow' | 'findUnique' | 'findUniqueOrThrow' | 'findMany' | 'create' | 'createMany' | 'createManyAndReturn' | 'update' | 'updateMany' | 'updateManyAndReturn' | 'upsert' | 'delete' | 'deleteMany' | 'aggregate' | 'count' | 'groupBy' | '$queryRaw' | '$executeRaw' | '$queryRawUnsafe' | '$executeRawUnsafe' | 'findRaw' | 'aggregateRaw' | '$runCommandRaw';\r\n\r\nexport declare type OperationPayload = {\r\n name: string;\r\n scalars: {\r\n [ScalarName in string]: unknown;\r\n };\r\n objects: {\r\n [ObjectName in string]: unknown;\r\n };\r\n composites: {\r\n [CompositeName in string]: unknown;\r\n };\r\n};\r\n\r\nexport declare type Optional<O, K extends keyof any = keyof O> = {\r\n [P in K & keyof O]?: O[P];\r\n} & {\r\n [P in Exclude<keyof O, K>]: O[P];\r\n};\r\n\r\nexport declare type OptionalFlat<T> = {\r\n [K in keyof T]?: T[K];\r\n};\r\n\r\nexport declare type OptionalKeys<O> = {\r\n [K in keyof O]-?: {} extends Pick_2<O, K> ? K : never;\r\n}[keyof O];\r\n\r\ndeclare type Options = {\r\n /** Timeout for starting the transaction */\r\n maxWait?: number;\r\n /** Timeout for the transaction body */\r\n timeout?: number;\r\n /** Transaction isolation level */\r\n isolationLevel?: IsolationLevel_2;\r\n};\r\n\r\ndeclare type Options_2 = {\r\n clientVersion: string;\r\n};\r\n\r\nexport declare type Or<A extends 1 | 0, B extends 1 | 0> = {\r\n 0: {\r\n 0: 0;\r\n 1: 1;\r\n };\r\n 1: {\r\n 0: 1;\r\n 1: 1;\r\n };\r\n}[A][B];\r\n\r\ndeclare type OtherOperationMappings = ReadonlyDeep_2<{\r\n read: string[];\r\n write: string[];\r\n}>;\r\n\r\ndeclare type OutputType = ReadonlyDeep_2<{\r\n name: string;\r\n fields: SchemaField[];\r\n}>;\r\n\r\ndeclare type OutputTypeRef = TypeRef<'scalar' | 'outputObjectTypes' | 'enumTypes'>;\r\n\r\ndeclare type Pagination = {\r\n cursor: Record<string, PrismaValue> | null;\r\n take: number | null;\r\n skip: number | null;\r\n};\r\n\r\nexport declare function Param<$Type, $Value extends string>(name: $Value): Param<$Type, $Value>;\r\n\r\nexport declare type Param<out $Type, $Value extends string> = {\r\n readonly name: $Value;\r\n};\r\n\r\nexport declare type PatchFlat<O1, O2> = O1 & Omit_2<O2, keyof O1>;\r\n\r\nexport declare type Path<O, P, Default = never> = O extends unknown ? P extends [infer K, ...infer R] ? K extends keyof O ? Path<O[K], R> : Default : O : never;\r\n\r\nexport declare type Payload<T, F extends Operation = never> = T extends {\r\n [K: symbol]: {\r\n types: {\r\n payload: any;\r\n };\r\n };\r\n} ? T[symbol]['types']['payload'] : any;\r\n\r\nexport declare type PayloadToResult<P, O extends Record_2<any, any> = RenameAndNestPayloadKeys<P>> = {\r\n [K in keyof O]?: O[K][K] extends any[] ? PayloadToResult<O[K][K][number]>[] : O[K][K] extends object ? PayloadToResult<O[K][K]> : O[K][K];\r\n};\r\n\r\ndeclare type Pick_2<T, K extends string | number | symbol> = {\r\n [P in keyof T as P extends K ? P : never]: T[P];\r\n};\r\nexport { Pick_2 as Pick }\r\n\r\ndeclare interface PlaceholderFormat {\r\n prefix: string;\r\n hasNumbering: boolean;\r\n}\r\n\r\ndeclare type PrimaryKey = ReadonlyDeep_2<{\r\n name: string | null;\r\n fields: string[];\r\n}>;\r\n\r\nexport declare class PrismaClientInitializationError extends Error {\r\n clientVersion: string;\r\n errorCode?: string;\r\n retryable?: boolean;\r\n constructor(message: string, clientVersion: string, errorCode?: string);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\nexport declare class PrismaClientKnownRequestError extends Error implements ErrorWithBatchIndex {\r\n code: string;\r\n meta?: Record<string, unknown>;\r\n clientVersion: string;\r\n batchRequestIdx?: number;\r\n constructor(message: string, { code, clientVersion, meta, batchRequestIdx }: KnownErrorParams);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\nexport declare type PrismaClientOptions = {\r\n /**\r\n * Overwrites the primary datasource url from your schema.prisma file\r\n */\r\n datasourceUrl?: string;\r\n /**\r\n * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-planetscale.\r\n */\r\n adapter?: SqlDriverAdapterFactory | null;\r\n /**\r\n * Overwrites the datasource url from your schema.prisma file\r\n */\r\n datasources?: Datasources;\r\n /**\r\n * @default \"colorless\"\r\n */\r\n errorFormat?: ErrorFormat;\r\n /**\r\n * The default values for Transaction options\r\n * maxWait ?= 2000\r\n * timeout ?= 5000\r\n */\r\n transactionOptions?: Transaction_2.Options;\r\n /**\r\n * @example\r\n * \\`\\`\\`\r\n * // Defaults to stdout\r\n * log: ['query', 'info', 'warn']\r\n *\r\n * // Emit as events\r\n * log: [\r\n * { emit: 'stdout', level: 'query' },\r\n * { emit: 'stdout', level: 'info' },\r\n * { emit: 'stdout', level: 'warn' }\r\n * ]\r\n * \\`\\`\\`\r\n * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/logging#the-log-option).\r\n */\r\n log?: Array<LogLevel | LogDefinition>;\r\n omit?: GlobalOmitOptions;\r\n /**\r\n * @internal\r\n * You probably don't want to use this. \\`__internal\\` is used by internal tooling.\r\n */\r\n __internal?: {\r\n debug?: boolean;\r\n engine?: {\r\n cwd?: string;\r\n binaryPath?: string;\r\n endpoint?: string;\r\n allowTriggerPanic?: boolean;\r\n };\r\n /** This can be used for testing purposes */\r\n configOverride?: (config: GetPrismaClientConfig) => GetPrismaClientConfig;\r\n };\r\n};\r\n\r\nexport declare class PrismaClientRustPanicError extends Error {\r\n clientVersion: string;\r\n constructor(message: string, clientVersion: string);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\nexport declare class PrismaClientUnknownRequestError extends Error implements ErrorWithBatchIndex {\r\n clientVersion: string;\r\n batchRequestIdx?: number;\r\n constructor(message: string, { clientVersion, batchRequestIdx }: UnknownErrorParams);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\nexport declare class PrismaClientValidationError extends Error {\r\n name: string;\r\n clientVersion: string;\r\n constructor(message: string, { clientVersion }: Options_2);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\ndeclare function prismaGraphQLToJSError({ error, user_facing_error }: RequestError, clientVersion: string, activeProvider: string): PrismaClientKnownRequestError | PrismaClientUnknownRequestError;\r\n\r\ndeclare type PrismaOperationSpec<TArgs, TAction = string> = {\r\n args: TArgs;\r\n action: TAction;\r\n model: string;\r\n};\r\n\r\nexport declare interface PrismaPromise<T> extends Promise<T> {\r\n [Symbol.toStringTag]: 'PrismaPromise';\r\n}\r\n\r\n/**\r\n * Prisma's `Promise` that is backwards-compatible. All additions on top of the\r\n * original `Promise` are optional so that it can be backwards-compatible.\r\n * @see [[createPrismaPromise]]\r\n */\r\ndeclare interface PrismaPromise_2<TResult, TSpec extends PrismaOperationSpec<unknown> = any> extends Promise<TResult> {\r\n get spec(): TSpec;\r\n /**\r\n * Extension of the original `.then` function\r\n * @param onfulfilled same as regular promises\r\n * @param onrejected same as regular promises\r\n * @param transaction transaction options\r\n */\r\n then<R1 = TResult, R2 = never>(onfulfilled?: (value: TResult) => R1 | PromiseLike<R1>, onrejected?: (error: unknown) => R2 | PromiseLike<R2>, transaction?: PrismaPromiseTransaction): Promise<R1 | R2>;\r\n /**\r\n * Extension of the original `.catch` function\r\n * @param onrejected same as regular promises\r\n * @param transaction transaction options\r\n */\r\n catch<R = never>(onrejected?: ((reason: any) => R | PromiseLike<R>) | undefined | null, transaction?: PrismaPromiseTransaction): Promise<TResult | R>;\r\n /**\r\n * Extension of the original `.finally` function\r\n * @param onfinally same as regular promises\r\n * @param transaction transaction options\r\n */\r\n finally(onfinally?: (() => void) | undefined | null, transaction?: PrismaPromiseTransaction): Promise<TResult>;\r\n /**\r\n * Called when executing a batch of regular tx\r\n * @param transaction transaction options for batch tx\r\n */\r\n requestTransaction?(transaction: PrismaPromiseBatchTransaction): PromiseLike<unknown>;\r\n}\r\n\r\ndeclare type PrismaPromiseBatchTransaction = {\r\n kind: 'batch';\r\n id: number;\r\n isolationLevel?: IsolationLevel_2;\r\n index: number;\r\n lock: PromiseLike<void>;\r\n};\r\n\r\ndeclare type PrismaPromiseCallback = (transaction?: PrismaPromiseTransaction) => Promise<unknown>;\r\n\r\n/**\r\n * Creates a [[PrismaPromise]]. It is Prisma's implementation of `Promise` which\r\n * is essentially a proxy for `Promise`. All the transaction-compatible client\r\n * methods return one, this allows for pre-preparing queries without executing\r\n * them until `.then` is called. It's the foundation of Prisma's query batching.\r\n * @param callback that will be wrapped within our promise implementation\r\n * @see [[PrismaPromise]]\r\n * @returns\r\n */\r\ndeclare type PrismaPromiseFactory = <T extends PrismaOperationSpec<unknown>>(callback: PrismaPromiseCallback, op?: T) => PrismaPromise_2<unknown>;\r\n\r\ndeclare type PrismaPromiseInteractiveTransaction<PayloadType = unknown> = {\r\n kind: 'itx';\r\n id: string;\r\n payload: PayloadType;\r\n};\r\n\r\ndeclare type PrismaPromiseTransaction<PayloadType = unknown> = PrismaPromiseBatchTransaction | PrismaPromiseInteractiveTransaction<PayloadType>;\r\n\r\ndeclare type PrismaValue = string | boolean | number | PrismaValue[] | null | Record<string, unknown> | PrismaValuePlaceholder | PrismaValueGenerator;\r\n\r\ndeclare type PrismaValueGenerator = {\r\n prisma__type: 'generatorCall';\r\n prisma__value: {\r\n name: string;\r\n args: PrismaValue[];\r\n };\r\n};\r\n\r\ndeclare type PrismaValuePlaceholder = {\r\n prisma__type: 'param';\r\n prisma__value: {\r\n name: string;\r\n type: string;\r\n };\r\n};\r\n\r\nexport declare const PrivateResultType: unique symbol;\r\n\r\ndeclare type Provider = 'mysql' | 'postgres' | 'sqlite' | 'sqlserver';\r\n\r\ndeclare namespace Public {\r\n export {\r\n validator\r\n }\r\n}\r\nexport { Public }\r\n\r\ndeclare namespace Public_2 {\r\n export {\r\n Args,\r\n Result,\r\n Payload,\r\n PrismaPromise,\r\n Operation,\r\n Exact\r\n }\r\n}\r\n\r\ndeclare type Query = ReadonlyDeep_2<{\r\n name: string;\r\n args: SchemaArg[];\r\n output: QueryOutput;\r\n}>;\r\n\r\ndeclare interface Queryable<Query, Result> extends AdapterInfo {\r\n /**\r\n * Execute a query and return its result.\r\n */\r\n queryRaw(params: Query): Promise<Result>;\r\n /**\r\n * Execute a query and return the number of affected rows.\r\n */\r\n executeRaw(params: Query): Promise<number>;\r\n}\r\n\r\ndeclare type QueryCompiler = {\r\n compile(request: string): {};\r\n compileBatch(batchRequest: string): BatchResponse;\r\n free(): void;\r\n};\r\n\r\ndeclare interface QueryCompilerConstructor {\r\n new (options: QueryCompilerOptions): QueryCompiler;\r\n}\r\n\r\ndeclare type QueryCompilerOptions = {\r\n datamodel: string;\r\n provider: Provider;\r\n connectionInfo: ConnectionInfo;\r\n};\r\n\r\ndeclare type QueryEngineBatchGraphQLRequest = {\r\n batch: QueryEngineRequest[];\r\n transaction?: boolean;\r\n isolationLevel?: IsolationLevel_2;\r\n};\r\n\r\ndeclare type QueryEngineBatchRequest = QueryEngineBatchGraphQLRequest | JsonBatchQuery;\r\n\r\ndeclare type QueryEngineConfig = {\r\n datamodel: string;\r\n configDir: string;\r\n logQueries: boolean;\r\n ignoreEnvVarErrors: boolean;\r\n datasourceOverrides: Record<string, string>;\r\n env: Record<string, string | undefined>;\r\n logLevel: QueryEngineLogLevel;\r\n engineProtocol: QueryEngineProtocol;\r\n enableTracing: boolean;\r\n};\r\n\r\ndeclare interface QueryEngineConstructor {\r\n new (config: QueryEngineConfig, logger: (log: string) => void, adapter?: ErrorCapturingSqlDriverAdapter): QueryEngineInstance;\r\n}\r\n\r\ndeclare type QueryEngineInstance = {\r\n connect(headers: string, requestId: string): Promise<void>;\r\n disconnect(headers: string, requestId: string): Promise<void>;\r\n /**\r\n * Frees any resources allocated by the engine's WASM instance. This method is automatically created by WASM bindgen.\r\n * Noop for other engines.\r\n */\r\n free?(): void;\r\n /**\r\n * @param requestStr JSON.stringified `QueryEngineRequest | QueryEngineBatchRequest`\r\n * @param headersStr JSON.stringified `QueryEngineRequestHeaders`\r\n */\r\n query(requestStr: string, headersStr: string, transactionId: string | undefined, requestId: string): Promise<string>;\r\n sdlSchema?(): Promise<string>;\r\n startTransaction(options: string, traceHeaders: string, requestId: string): Promise<string>;\r\n commitTransaction(id: string, traceHeaders: string, requestId: string): Promise<string>;\r\n rollbackTransaction(id: string, traceHeaders: string, requestId: string): Promise<string>;\r\n metrics?(options: string): Promise<string>;\r\n applyPendingMigrations?(): Promise<void>;\r\n trace(requestId: string): Promise<string | null>;\r\n};\r\n\r\ndeclare type QueryEngineLogLevel = 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'off';\r\n\r\ndeclare type QueryEngineProtocol = 'graphql' | 'json';\r\n\r\ndeclare type QueryEngineRequest = {\r\n query: string;\r\n variables: Object;\r\n};\r\n\r\ndeclare type QueryEngineResultData<T> = {\r\n data: T;\r\n};\r\n\r\ndeclare type QueryEvent = {\r\n timestamp: Date;\r\n query: string;\r\n params: string;\r\n duration: number;\r\n target: string;\r\n};\r\n\r\ndeclare type QueryEventType = 'query';\r\n\r\ndeclare type QueryIntrospectionBuiltinType = 'int' | 'bigint' | 'float' | 'double' | 'string' | 'enum' | 'bytes' | 'bool' | 'char' | 'decimal' | 'json' | 'xml' | 'uuid' | 'datetime' | 'date' | 'time' | 'int-array' | 'bigint-array' | 'float-array' | 'double-array' | 'string-array' | 'char-array' | 'bytes-array' | 'bool-array' | 'decimal-array' | 'json-array' | 'xml-array' | 'uuid-array' | 'datetime-array' | 'date-array' | 'time-array' | 'null' | 'unknown';\r\n\r\ndeclare type QueryMiddlewareParams = {\r\n /** The model this is executed on */\r\n model?: string;\r\n /** The action that is being handled */\r\n action: Action;\r\n /** TODO what is this */\r\n dataPath: string[];\r\n /** TODO what is this */\r\n runInTransaction: boolean;\r\n args?: UserArgs_2;\r\n};\r\n\r\nexport declare type QueryOptions = {\r\n query: {\r\n [ModelName in string]: {\r\n [ModelAction in string]: ModelQueryOptionsCb;\r\n } | QueryOptionsCb;\r\n };\r\n};\r\n\r\nexport declare type QueryOptionsCb = (args: QueryOptionsCbArgs) => Promise<any>;\r\n\r\nexport declare type QueryOptionsCbArgs = {\r\n model?: string;\r\n operation: string;\r\n args: JsArgs | RawQueryArgs;\r\n query: (args: JsArgs | RawQueryArgs) => Promise<unknown>;\r\n};\r\n\r\ndeclare type QueryOutput = ReadonlyDeep_2<{\r\n name: string;\r\n isRequired: boolean;\r\n isList: boolean;\r\n}>;\r\n\r\ndeclare type QueryPlanBinding = {\r\n name: string;\r\n expr: QueryPlanNode;\r\n};\r\n\r\ndeclare type QueryPlanDbQuery = {\r\n type: 'rawSql';\r\n sql: string;\r\n args: PrismaValue[];\r\n argTypes: ArgType[];\r\n} | {\r\n type: 'templateSql';\r\n fragments: Fragment[];\r\n placeholderFormat: PlaceholderFormat;\r\n args: PrismaValue[];\r\n argTypes: DynamicArgType[];\r\n chunkable: boolean;\r\n};\r\n\r\ndeclare type QueryPlanNode = {\r\n type: 'value';\r\n args: PrismaValue;\r\n} | {\r\n type: 'seq';\r\n args: QueryPlanNode[];\r\n} | {\r\n type: 'get';\r\n args: {\r\n name: string;\r\n };\r\n} | {\r\n type: 'let';\r\n args: {\r\n bindings: QueryPlanBinding[];\r\n expr: QueryPlanNode;\r\n };\r\n} | {\r\n type: 'getFirstNonEmpty';\r\n args: {\r\n names: string[];\r\n };\r\n} | {\r\n type: 'query';\r\n args: QueryPlanDbQuery;\r\n} | {\r\n type: 'execute';\r\n args: QueryPlanDbQuery;\r\n} | {\r\n type: 'reverse';\r\n args: QueryPlanNode;\r\n} | {\r\n type: 'sum';\r\n args: QueryPlanNode[];\r\n} | {\r\n type: 'concat';\r\n args: QueryPlanNode[];\r\n} | {\r\n type: 'unique';\r\n args: QueryPlanNode;\r\n} | {\r\n type: 'required';\r\n args: QueryPlanNode;\r\n} | {\r\n type: 'join';\r\n args: {\r\n parent: QueryPlanNode;\r\n children: JoinExpression[];\r\n };\r\n} | {\r\n type: 'mapField';\r\n args: {\r\n field: string;\r\n records: QueryPlanNode;\r\n };\r\n} | {\r\n type: 'transaction';\r\n args: QueryPlanNode;\r\n} | {\r\n type: 'dataMap';\r\n args: {\r\n expr: QueryPlanNode;\r\n structure: ResultNode;\r\n enums: Record<string, Record<string, string>>;\r\n };\r\n} | {\r\n type: 'validate';\r\n args: {\r\n expr: QueryPlanNode;\r\n rules: DataRule[];\r\n } & ValidationError;\r\n} | {\r\n type: 'if';\r\n args: {\r\n value: QueryPlanNode;\r\n rule: DataRule;\r\n then: QueryPlanNode;\r\n else: QueryPlanNode;\r\n };\r\n} | {\r\n type: 'unit';\r\n} | {\r\n type: 'diff';\r\n args: {\r\n from: QueryPlanNode;\r\n to: QueryPlanNode;\r\n };\r\n} | {\r\n type: 'initializeRecord';\r\n args: {\r\n expr: QueryPlanNode;\r\n fields: Record<string, FieldInitializer>;\r\n };\r\n} | {\r\n type: 'mapRecord';\r\n args: {\r\n expr: QueryPlanNode;\r\n fields: Record<string, FieldOperation>;\r\n };\r\n} | {\r\n type: 'process';\r\n args: {\r\n expr: QueryPlanNode;\r\n operations: InMemoryOps;\r\n };\r\n};\r\n\r\n/**\r\n * Create raw SQL statement.\r\n */\r\nexport declare function raw(value: string): Sql;\r\n\r\nexport declare type RawParameters = {\r\n __prismaRawParameters__: true;\r\n values: string;\r\n};\r\n\r\nexport declare type RawQueryArgs = Sql | UnknownTypedSql | [query: string, ...values: RawValue[]];\r\n\r\ndeclare type RawResponse = {\r\n columns: string[];\r\n types: QueryIntrospectionBuiltinType[];\r\n rows: unknown[][];\r\n};\r\n\r\ndeclare type RawTaggedValue = {\r\n $type: 'Raw';\r\n value: unknown;\r\n};\r\n\r\n/**\r\n * Supported value or SQL instance.\r\n */\r\nexport declare type RawValue = Value | Sql;\r\n\r\nexport declare type ReadonlyDeep<T> = {\r\n readonly [K in keyof T]: ReadonlyDeep<T[K]>;\r\n};\r\n\r\ndeclare type ReadonlyDeep_2<O> = {\r\n +readonly [K in keyof O]: ReadonlyDeep_2<O[K]>;\r\n};\r\n\r\ndeclare type Record_2<T extends string | number | symbol, U> = {\r\n [P in T]: U;\r\n};\r\nexport { Record_2 as Record }\r\n\r\nexport declare type RenameAndNestPayloadKeys<P> = {\r\n [K in keyof P as K extends 'scalars' | 'objects' | 'composites' ? keyof P[K] : never]: P[K];\r\n};\r\n\r\ndeclare type RequestBatchOptions<InteractiveTransactionPayload> = {\r\n transaction?: TransactionOptions_2<InteractiveTransactionPayload>;\r\n traceparent?: string;\r\n numTry?: number;\r\n containsWrite: boolean;\r\n customDataProxyFetch?: AccelerateExtensionFetchDecorator;\r\n};\r\n\r\ndeclare interface RequestError {\r\n error: string;\r\n user_facing_error: {\r\n is_panic: boolean;\r\n message: string;\r\n meta?: Record<string, unknown>;\r\n error_code?: string;\r\n batch_request_idx?: number;\r\n };\r\n}\r\n\r\ndeclare class RequestHandler {\r\n client: Client;\r\n dataloader: DataLoader<RequestParams>;\r\n private logEmitter?;\r\n constructor(client: Client, logEmitter?: LogEmitter);\r\n request(params: RequestParams): Promise<any>;\r\n mapQueryEngineResult({ dataPath, unpacker }: RequestParams, response: QueryEngineResultData<any>): any;\r\n /**\r\n * Handles the error and logs it, logging the error is done synchronously waiting for the event\r\n * handlers to finish.\r\n */\r\n handleAndLogRequestError(params: HandleErrorParams): never;\r\n handleRequestError({ error, clientMethod, callsite, transaction, args, modelName, globalOmit, }: HandleErrorParams): never;\r\n sanitizeMessage(message: any): any;\r\n unpack(data: unknown, dataPath: string[], unpacker?: Unpacker): any;\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\ndeclare type RequestOptions<InteractiveTransactionPayload> = {\r\n traceparent?: string;\r\n numTry?: number;\r\n interactiveTransaction?: InteractiveTransactionOptions<InteractiveTransactionPayload>;\r\n isWrite: boolean;\r\n customDataProxyFetch?: AccelerateExtensionFetchDecorator;\r\n};\r\n\r\ndeclare type RequestParams = {\r\n modelName?: string;\r\n action: Action;\r\n protocolQuery: JsonQuery;\r\n dataPath: string[];\r\n clientMethod: string;\r\n callsite?: CallSite;\r\n transaction?: PrismaPromiseTransaction;\r\n extensions: MergedExtensionsList;\r\n args?: any;\r\n headers?: Record<string, string>;\r\n unpacker?: Unpacker;\r\n otelParentCtx?: Context;\r\n otelChildCtx?: Context;\r\n globalOmit?: GlobalOmitOptions;\r\n customDataProxyFetch?: AccelerateExtensionFetchDecorator;\r\n};\r\n\r\ndeclare type RequiredExtensionArgs = NameArgs & ResultArgs & ModelArgs & ClientArgs & QueryOptions;\r\nexport { RequiredExtensionArgs }\r\nexport { RequiredExtensionArgs as UserArgs }\r\n\r\nexport declare type RequiredKeys<O> = {\r\n [K in keyof O]-?: {} extends Pick_2<O, K> ? never : K;\r\n}[keyof O];\r\n\r\ndeclare function resolveDatasourceUrl({ inlineDatasources, overrideDatasources, env, clientVersion, }: {\r\n inlineDatasources: GetPrismaClientConfig['inlineDatasources'];\r\n overrideDatasources: Datasources;\r\n env: Record<string, string | undefined>;\r\n clientVersion: string;\r\n}): string;\r\n\r\nexport declare type Result<T, A, F extends Operation> = T extends {\r\n [K: symbol]: {\r\n types: {\r\n payload: any;\r\n };\r\n };\r\n} ? GetResult<T[symbol]['types']['payload'], A, F> : GetResult<{\r\n composites: {};\r\n objects: {};\r\n scalars: {};\r\n name: '';\r\n}, {}, F>;\r\n\r\nexport declare type Result_2<T, A, F extends Operation> = Result<T, A, F>;\r\n\r\ndeclare namespace Result_3 {\r\n export {\r\n Count,\r\n GetFindResult,\r\n SelectablePayloadFields,\r\n SelectField,\r\n DefaultSelection,\r\n UnwrapPayload,\r\n ApplyOmit,\r\n OmitValue,\r\n GetCountResult,\r\n Aggregate,\r\n GetAggregateResult,\r\n GetBatchResult,\r\n GetGroupByResult,\r\n GetResult,\r\n ExtractGlobalOmit\r\n }\r\n}\r\n\r\ndeclare type Result_4<T> = {\r\n map<U>(fn: (value: T) => U): Result_4<U>;\r\n flatMap<U>(fn: (value: T) => Result_4<U>): Result_4<U>;\r\n} & ({\r\n readonly ok: true;\r\n readonly value: T;\r\n} | {\r\n readonly ok: false;\r\n readonly error: Error_2;\r\n});\r\n\r\nexport declare type ResultArg = {\r\n [FieldName in string]: ResultFieldDefinition;\r\n};\r\n\r\nexport declare type ResultArgs = {\r\n result: {\r\n [ModelName in string]: ResultArg;\r\n };\r\n};\r\n\r\nexport declare type ResultArgsFieldCompute = (model: any) => unknown;\r\n\r\nexport declare type ResultFieldDefinition = {\r\n needs?: {\r\n [FieldName in string]: boolean;\r\n };\r\n compute: ResultArgsFieldCompute;\r\n};\r\n\r\ndeclare type ResultNode = {\r\n type: 'affectedRows';\r\n} | {\r\n type: 'object';\r\n fields: Record<string, ResultNode>;\r\n serializedName: string | null;\r\n skipNulls: boolean;\r\n} | {\r\n type: 'field';\r\n dbName: string;\r\n fieldType: FieldType;\r\n};\r\n\r\nexport declare type Return<T> = T extends (...args: any[]) => infer R ? R : T;\r\n\r\nexport declare type RuntimeDataModel = {\r\n readonly models: Record<string, RuntimeModel>;\r\n readonly enums: Record<string, RuntimeEnum>;\r\n readonly types: Record<string, RuntimeModel>;\r\n};\r\n\r\ndeclare type RuntimeEnum = Omit<DMMF_2.DatamodelEnum, 'name'>;\r\n\r\ndeclare type RuntimeModel = Omit<DMMF_2.Model, 'name'>;\r\n\r\ndeclare type RuntimeName = 'workerd' | 'deno' | 'netlify' | 'node' | 'bun' | 'edge-light' | '';\r\n\r\ndeclare type Schema = ReadonlyDeep_2<{\r\n rootQueryType?: string;\r\n rootMutationType?: string;\r\n inputObjectTypes: {\r\n model?: InputType[];\r\n prisma?: InputType[];\r\n };\r\n outputObjectTypes: {\r\n model: OutputType[];\r\n prisma: OutputType[];\r\n };\r\n enumTypes: {\r\n model?: SchemaEnum[];\r\n prisma: SchemaEnum[];\r\n };\r\n fieldRefTypes: {\r\n prisma?: FieldRefType[];\r\n };\r\n}>;\r\n\r\ndeclare type SchemaArg = ReadonlyDeep_2<{\r\n name: string;\r\n comment?: string;\r\n isNullable: boolean;\r\n isRequired: boolean;\r\n inputTypes: InputTypeRef[];\r\n requiresOtherFields?: string[];\r\n deprecation?: Deprecation;\r\n}>;\r\n\r\ndeclare type SchemaEnum = ReadonlyDeep_2<{\r\n name: string;\r\n values: string[];\r\n}>;\r\n\r\ndeclare type SchemaField = ReadonlyDeep_2<{\r\n name: string;\r\n isNullable?: boolean;\r\n outputType: OutputTypeRef;\r\n args: SchemaArg[];\r\n deprecation?: Deprecation;\r\n documentation?: string;\r\n}>;\r\n\r\nexport declare type Select<T, U> = T extends U ? T : never;\r\n\r\nexport declare type SelectablePayloadFields<K extends PropertyKey, O> = {\r\n objects: {\r\n [k in K]: O;\r\n };\r\n} | {\r\n composites: {\r\n [k in K]: O;\r\n };\r\n};\r\n\r\nexport declare type SelectField<P extends SelectablePayloadFields<any, any>, K extends PropertyKey> = P extends {\r\n objects: Record<K, any>;\r\n} ? P['objects'][K] : P extends {\r\n composites: Record<K, any>;\r\n} ? P['composites'][K] : never;\r\n\r\ndeclare type Selection_2 = Record<string, boolean | Skip | JsArgs>;\r\nexport { Selection_2 as Selection }\r\n\r\nexport declare function serializeJsonQuery({ modelName, action, args, runtimeDataModel, extensions, callsite, clientMethod, errorFormat, clientVersion, previewFeatures, globalOmit, }: SerializeParams): JsonQuery;\r\n\r\ndeclare type SerializeParams = {\r\n runtimeDataModel: RuntimeDataModel;\r\n modelName?: string;\r\n action: Action;\r\n args?: JsArgs;\r\n extensions?: MergedExtensionsList;\r\n callsite?: CallSite;\r\n clientMethod: string;\r\n clientVersion: string;\r\n errorFormat: ErrorFormat;\r\n previewFeatures: string[];\r\n globalOmit?: GlobalOmitOptions;\r\n};\r\n\r\ndeclare class Skip {\r\n constructor(param?: symbol);\r\n ifUndefined<T>(value: T | undefined): T | Skip;\r\n}\r\n\r\nexport declare const skip: Skip;\r\n\r\ndeclare type SortOrder = 'asc' | 'desc';\r\n\r\n/**\r\n * An interface that represents a span. A span represents a single operation\r\n * within a trace. Examples of span might include remote procedure calls or a\r\n * in-process function calls to sub-components. A Trace has a single, top-level\r\n * \"root\" Span that in turn may have zero or more child Spans, which in turn\r\n * may have children.\r\n *\r\n * Spans are created by the {@link Tracer.startSpan} method.\r\n */\r\ndeclare interface Span {\r\n /**\r\n * Returns the {@link SpanContext} object associated with this Span.\r\n *\r\n * Get an immutable, serializable identifier for this span that can be used\r\n * to create new child spans. Returned SpanContext is usable even after the\r\n * span ends.\r\n *\r\n * @returns the SpanContext object associated with this Span.\r\n */\r\n spanContext(): SpanContext;\r\n /**\r\n * Sets an attribute to the span.\r\n *\r\n * Sets a single Attribute with the key and value passed as arguments.\r\n *\r\n * @param key the key for this attribute.\r\n * @param value the value for this attribute. Setting a value null or\r\n * undefined is invalid and will result in undefined behavior.\r\n */\r\n setAttribute(key: string, value: SpanAttributeValue): this;\r\n /**\r\n * Sets attributes to the span.\r\n *\r\n * @param attributes the attributes that will be added.\r\n * null or undefined attribute values\r\n * are invalid and will result in undefined behavior.\r\n */\r\n setAttributes(attributes: SpanAttributes): this;\r\n /**\r\n * Adds an event to the Span.\r\n *\r\n * @param name the name of the event.\r\n * @param [attributesOrStartTime] the attributes that will be added; these are\r\n * associated with this event. Can be also a start time\r\n * if type is {@type TimeInput} and 3rd param is undefined\r\n * @param [startTime] start time of the event.\r\n */\r\n addEvent(name: string, attributesOrStartTime?: SpanAttributes | TimeInput, startTime?: TimeInput): this;\r\n /**\r\n * Adds a single link to the span.\r\n *\r\n * Links added after the creation will not affect the sampling decision.\r\n * It is preferred span links be added at span creation.\r\n *\r\n * @param link the link to add.\r\n */\r\n addLink(link: Link): this;\r\n /**\r\n * Adds multiple links to the span.\r\n *\r\n * Links added after the creation will not affect the sampling decision.\r\n * It is preferred span links be added at span creation.\r\n *\r\n * @param links the links to add.\r\n */\r\n addLinks(links: Link[]): this;\r\n /**\r\n * Sets a status to the span. If used, this will override the default Span\r\n * status. Default is {@link SpanStatusCode.UNSET}. SetStatus overrides the value\r\n * of previous calls to SetStatus on the Span.\r\n *\r\n * @param status the SpanStatus to set.\r\n */\r\n setStatus(status: SpanStatus): this;\r\n /**\r\n * Updates the Span name.\r\n *\r\n * This will override the name provided via {@link Tracer.startSpan}.\r\n *\r\n * Upon this update, any sampling behavior based on Span name will depend on\r\n * the implementation.\r\n *\r\n * @param name the Span name.\r\n */\r\n updateName(name: string): this;\r\n /**\r\n * Marks the end of Span execution.\r\n *\r\n * Call to End of a Span MUST not have any effects on child spans. Those may\r\n * still be running and can be ended later.\r\n *\r\n * Do not return `this`. The Span generally should not be used after it\r\n * is ended so chaining is not desired in this context.\r\n *\r\n * @param [endTime] the time to set as Span's end time. If not provided,\r\n * use the current time as the span's end time.\r\n */\r\n end(endTime?: TimeInput): void;\r\n /**\r\n * Returns the flag whether this span will be recorded.\r\n *\r\n * @returns true if this Span is active and recording information like events\r\n * with the `AddEvent` operation and attributes using `setAttributes`.\r\n */\r\n isRecording(): boolean;\r\n /**\r\n * Sets exception as a span event\r\n * @param exception the exception the only accepted values are string or Error\r\n * @param [time] the time to set as Span's event time. If not provided,\r\n * use the current time.\r\n */\r\n recordException(exception: Exception, time?: TimeInput): void;\r\n}\r\n\r\n/**\r\n * @deprecated please use {@link Attributes}\r\n */\r\ndeclare type SpanAttributes = Attributes;\r\n\r\n/**\r\n * @deprecated please use {@link AttributeValue}\r\n */\r\ndeclare type SpanAttributeValue = AttributeValue;\r\n\r\ndeclare type SpanCallback<R> = (span?: Span, context?: Context) => R;\r\n\r\n/**\r\n * A SpanContext represents the portion of a {@link Span} which must be\r\n * serialized and propagated along side of a {@link Baggage}.\r\n */\r\ndeclare interface SpanContext {\r\n /**\r\n * The ID of the trace that this span belongs to. It is worldwide unique\r\n * with practically sufficient probability by being made as 16 randomly\r\n * generated bytes, encoded as a 32 lowercase hex characters corresponding to\r\n * 128 bits.\r\n */\r\n traceId: string;\r\n /**\r\n * The ID of the Span. It is globally unique with practically sufficient\r\n * probability by being made as 8 randomly generated bytes, encoded as a 16\r\n * lowercase hex characters corresponding to 64 bits.\r\n */\r\n spanId: string;\r\n /**\r\n * Only true if the SpanContext was propagated from a remote parent.\r\n */\r\n isRemote?: boolean;\r\n /**\r\n * Trace flags to propagate.\r\n *\r\n * It is represented as 1 byte (bitmap). Bit to represent whether trace is\r\n * sampled or not. When set, the least significant bit documents that the\r\n * caller may have recorded trace data. A caller who does not record trace\r\n * data out-of-band leaves this flag unset.\r\n *\r\n * see {@link TraceFlags} for valid flag values.\r\n */\r\n traceFlags: number;\r\n /**\r\n * Tracing-system-specific info to propagate.\r\n *\r\n * The tracestate field value is a `list` as defined below. The `list` is a\r\n * series of `list-members` separated by commas `,`, and a list-member is a\r\n * key/value pair separated by an equals sign `=`. Spaces and horizontal tabs\r\n * surrounding `list-members` are ignored. There can be a maximum of 32\r\n * `list-members` in a `list`.\r\n * More Info: https://www.w3.org/TR/trace-context/#tracestate-field\r\n *\r\n * Examples:\r\n * Single tracing system (generic format):\r\n * tracestate: rojo=00f067aa0ba902b7\r\n * Multiple tracing systems (with different formatting):\r\n * tracestate: rojo=00f067aa0ba902b7,congo=t61rcWkgMzE\r\n */\r\n traceState?: TraceState;\r\n}\r\n\r\ndeclare enum SpanKind {\r\n /** Default value. Indicates that the span is used internally. */\r\n INTERNAL = 0,\r\n /**\r\n * Indicates that the span covers server-side handling of an RPC or other\r\n * remote request.\r\n */\r\n SERVER = 1,\r\n /**\r\n * Indicates that the span covers the client-side wrapper around an RPC or\r\n * other remote request.\r\n */\r\n CLIENT = 2,\r\n /**\r\n * Indicates that the span describes producer sending a message to a\r\n * broker. Unlike client and server, there is no direct critical path latency\r\n * relationship between producer and consumer spans.\r\n */\r\n PRODUCER = 3,\r\n /**\r\n * Indicates that the span describes consumer receiving a message from a\r\n * broker. Unlike client and server, there is no direct critical path latency\r\n * relationship between producer and consumer spans.\r\n */\r\n CONSUMER = 4\r\n}\r\n\r\n/**\r\n * Options needed for span creation\r\n */\r\ndeclare interface SpanOptions {\r\n /**\r\n * The SpanKind of a span\r\n * @default {@link SpanKind.INTERNAL}\r\n */\r\n kind?: SpanKind;\r\n /** A span's attributes */\r\n attributes?: SpanAttributes;\r\n /** {@link Link}s span to other spans */\r\n links?: Link[];\r\n /** A manually specified start time for the created `Span` object. */\r\n startTime?: TimeInput;\r\n /** The new span should be a root span. (Ignore parent from context). */\r\n root?: boolean;\r\n}\r\n\r\ndeclare interface SpanStatus {\r\n /** The status code of this message. */\r\n code: SpanStatusCode;\r\n /** A developer-facing error message. */\r\n message?: string;\r\n}\r\n\r\n/**\r\n * An enumeration of status codes.\r\n */\r\ndeclare enum SpanStatusCode {\r\n /**\r\n * The default status.\r\n */\r\n UNSET = 0,\r\n /**\r\n * The operation has been validated by an Application developer or\r\n * Operator to have completed successfully.\r\n */\r\n OK = 1,\r\n /**\r\n * The operation contains an error.\r\n */\r\n ERROR = 2\r\n}\r\n\r\n/**\r\n * A SQL instance can be nested within each other to build SQL strings.\r\n */\r\nexport declare class Sql {\r\n readonly values: Value[];\r\n readonly strings: string[];\r\n constructor(rawStrings: readonly string[], rawValues: readonly RawValue[]);\r\n get sql(): string;\r\n get statement(): string;\r\n get text(): string;\r\n inspect(): {\r\n sql: string;\r\n statement: string;\r\n text: string;\r\n values: unknown[];\r\n };\r\n}\r\n\r\ndeclare interface SqlDriverAdapter extends SqlQueryable {\r\n /**\r\n * Execute multiple SQL statements separated by semicolon.\r\n */\r\n executeScript(script: string): Promise<void>;\r\n /**\r\n * Start new transaction.\r\n */\r\n startTransaction(isolationLevel?: IsolationLevel): Promise<Transaction>;\r\n /**\r\n * Optional method that returns extra connection info\r\n */\r\n getConnectionInfo?(): ConnectionInfo;\r\n /**\r\n * Dispose of the connection and release any resources.\r\n */\r\n dispose(): Promise<void>;\r\n}\r\n\r\nexport declare interface SqlDriverAdapterFactory extends DriverAdapterFactory<SqlQuery, SqlResultSet> {\r\n connect(): Promise<SqlDriverAdapter>;\r\n}\r\n\r\ndeclare type SqlQuery = {\r\n sql: string;\r\n args: Array<unknown>;\r\n argTypes: Array<ArgType>;\r\n};\r\n\r\ndeclare interface SqlQueryable extends Queryable<SqlQuery, SqlResultSet> {\r\n}\r\n\r\ndeclare interface SqlResultSet {\r\n /**\r\n * List of column types appearing in a database query, in the same order as `columnNames`.\r\n * They are used within the Query Engine to convert values from JS to Quaint values.\r\n */\r\n columnTypes: Array<ColumnType>;\r\n /**\r\n * List of column names appearing in a database query, in the same order as `columnTypes`.\r\n */\r\n columnNames: Array<string>;\r\n /**\r\n * List of rows retrieved from a database query.\r\n * Each row is a list of values, whose length matches `columnNames` and `columnTypes`.\r\n */\r\n rows: Array<Array<unknown>>;\r\n /**\r\n * The last ID of an `INSERT` statement, if any.\r\n * This is required for `AUTO_INCREMENT` columns in databases based on MySQL and SQLite.\r\n */\r\n lastInsertId?: string;\r\n}\r\n\r\n/**\r\n * Create a SQL object from a template string.\r\n */\r\nexport declare function sqltag(strings: readonly string[], ...values: readonly RawValue[]): Sql;\r\n\r\n/**\r\n * Defines TimeInput.\r\n *\r\n * hrtime, epoch milliseconds, performance.now() or Date\r\n */\r\ndeclare type TimeInput = HrTime_2 | number | Date;\r\n\r\nexport declare type ToTuple<T> = T extends any[] ? T : [T];\r\n\r\ndeclare interface TraceState {\r\n /**\r\n * Create a new TraceState which inherits from this TraceState and has the\r\n * given key set.\r\n * The new entry will always be added in the front of the list of states.\r\n *\r\n * @param key key of the TraceState entry.\r\n * @param value value of the TraceState entry.\r\n */\r\n set(key: string, value: string): TraceState;\r\n /**\r\n * Return a new TraceState which inherits from this TraceState but does not\r\n * contain the given key.\r\n *\r\n * @param key the key for the TraceState entry to be removed.\r\n */\r\n unset(key: string): TraceState;\r\n /**\r\n * Returns the value to which the specified key is mapped, or `undefined` if\r\n * this map contains no mapping for the key.\r\n *\r\n * @param key with which the specified value is to be associated.\r\n * @returns the value to which the specified key is mapped, or `undefined` if\r\n * this map contains no mapping for the key.\r\n */\r\n get(key: string): string | undefined;\r\n /**\r\n * Serializes the TraceState to a `list` as defined below. The `list` is a\r\n * series of `list-members` separated by commas `,`, and a list-member is a\r\n * key/value pair separated by an equals sign `=`. Spaces and horizontal tabs\r\n * surrounding `list-members` are ignored. There can be a maximum of 32\r\n * `list-members` in a `list`.\r\n *\r\n * @returns the serialized string.\r\n */\r\n serialize(): string;\r\n}\r\n\r\ndeclare interface TracingHelper {\r\n isEnabled(): boolean;\r\n getTraceParent(context?: Context): string;\r\n dispatchEngineSpans(spans: EngineSpan[]): void;\r\n getActiveContext(): Context | undefined;\r\n runInChildSpan<R>(nameOrOptions: string | ExtendedSpanOptions, callback: SpanCallback<R>): R;\r\n}\r\n\r\ndeclare interface Transaction extends AdapterInfo, SqlQueryable {\r\n /**\r\n * Transaction options.\r\n */\r\n readonly options: TransactionOptions;\r\n /**\r\n * Commit the transaction.\r\n */\r\n commit(): Promise<void>;\r\n /**\r\n * Roll back the transaction.\r\n */\r\n rollback(): Promise<void>;\r\n}\r\n\r\ndeclare namespace Transaction_2 {\r\n export {\r\n Options,\r\n IsolationLevel_2 as IsolationLevel,\r\n InteractiveTransactionInfo,\r\n TransactionHeaders\r\n }\r\n}\r\n\r\ndeclare type TransactionHeaders = {\r\n traceparent?: string;\r\n};\r\n\r\ndeclare type TransactionOptions = {\r\n usePhantomQuery: boolean;\r\n};\r\n\r\ndeclare type TransactionOptions_2<InteractiveTransactionPayload> = {\r\n kind: 'itx';\r\n options: InteractiveTransactionOptions<InteractiveTransactionPayload>;\r\n} | {\r\n kind: 'batch';\r\n options: BatchTransactionOptions;\r\n};\r\n\r\nexport declare class TypedSql<Values extends readonly unknown[], Result> {\r\n [PrivateResultType]: Result;\r\n constructor(sql: string, values: Values);\r\n get sql(): string;\r\n get values(): Values;\r\n}\r\n\r\nexport declare type TypeMapCbDef = Fn<{\r\n extArgs: InternalArgs;\r\n}, TypeMapDef>;\r\n\r\n/** Shared */\r\nexport declare type TypeMapDef = Record<any, any>;\r\n\r\ndeclare type TypeRef<AllowedLocations extends FieldLocation> = {\r\n isList: boolean;\r\n type: string;\r\n location: AllowedLocations;\r\n namespace?: FieldNamespace;\r\n};\r\n\r\ndeclare namespace Types {\r\n export {\r\n Result_3 as Result,\r\n Extensions_2 as Extensions,\r\n Utils,\r\n Public_2 as Public,\r\n isSkip,\r\n Skip,\r\n skip,\r\n UnknownTypedSql,\r\n OperationPayload as Payload\r\n }\r\n}\r\nexport { Types }\r\n\r\ndeclare type uniqueIndex = ReadonlyDeep_2<{\r\n name: string;\r\n fields: string[];\r\n}>;\r\n\r\ndeclare type UnknownErrorParams = {\r\n clientVersion: string;\r\n batchRequestIdx?: number;\r\n};\r\n\r\nexport declare type UnknownTypedSql = TypedSql<unknown[], unknown>;\r\n\r\ndeclare type Unpacker = (data: any) => any;\r\n\r\nexport declare type UnwrapPayload<P> = {} extends P ? unknown : {\r\n [K in keyof P]: P[K] extends {\r\n scalars: infer S;\r\n composites: infer C;\r\n }[] ? Array<S & UnwrapPayload<C>> : P[K] extends {\r\n scalars: infer S;\r\n composites: infer C;\r\n } | null ? S & UnwrapPayload<C> | Select<P[K], null> : never;\r\n};\r\n\r\nexport declare type UnwrapPromise<P> = P extends Promise<infer R> ? R : P;\r\n\r\nexport declare type UnwrapTuple<Tuple extends readonly unknown[]> = {\r\n [K in keyof Tuple]: K extends `${number}` ? Tuple[K] extends PrismaPromise<infer X> ? X : UnwrapPromise<Tuple[K]> : UnwrapPromise<Tuple[K]>;\r\n};\r\n\r\n/**\r\n * Input that flows from the user into the Client.\r\n */\r\ndeclare type UserArgs_2 = any;\r\n\r\ndeclare namespace Utils {\r\n export {\r\n EmptyToUnknown,\r\n NeverToUnknown,\r\n PatchFlat,\r\n Omit_2 as Omit,\r\n Pick_2 as Pick,\r\n ComputeDeep,\r\n Compute,\r\n OptionalFlat,\r\n ReadonlyDeep,\r\n Narrowable,\r\n Narrow,\r\n Exact,\r\n Cast,\r\n Record_2 as Record,\r\n UnwrapPromise,\r\n UnwrapTuple,\r\n Path,\r\n Fn,\r\n Call,\r\n RequiredKeys,\r\n OptionalKeys,\r\n Optional,\r\n Return,\r\n ToTuple,\r\n RenameAndNestPayloadKeys,\r\n PayloadToResult,\r\n Select,\r\n Equals,\r\n Or,\r\n JsPromise\r\n }\r\n}\r\n\r\ndeclare type ValidationError = {\r\n error_identifier: 'RELATION_VIOLATION';\r\n context: {\r\n relation: string;\r\n modelA: string;\r\n modelB: string;\r\n };\r\n} | {\r\n error_identifier: 'MISSING_RELATED_RECORD';\r\n context: {\r\n model: string;\r\n relation: string;\r\n relationType: string;\r\n operation: string;\r\n neededFor?: string;\r\n };\r\n} | {\r\n error_identifier: 'MISSING_RECORD';\r\n context: {\r\n operation: string;\r\n };\r\n} | {\r\n error_identifier: 'INCOMPLETE_CONNECT_INPUT';\r\n context: {\r\n expectedRows: number;\r\n };\r\n} | {\r\n error_identifier: 'INCOMPLETE_CONNECT_OUTPUT';\r\n context: {\r\n expectedRows: number;\r\n relation: string;\r\n relationType: string;\r\n };\r\n} | {\r\n error_identifier: 'RECORDS_NOT_CONNECTED';\r\n context: {\r\n relation: string;\r\n parent: string;\r\n child: string;\r\n };\r\n};\r\n\r\ndeclare function validator<V>(): <S>(select: Exact<S, V>) => S;\r\n\r\ndeclare function validator<C, M extends Exclude<keyof C, `$${string}`>, O extends keyof C[M] & Operation>(client: C, model: M, operation: O): <S>(select: Exact<S, Args<C[M], O>>) => S;\r\n\r\ndeclare function validator<C, M extends Exclude<keyof C, `$${string}`>, O extends keyof C[M] & Operation, P extends keyof Args<C[M], O>>(client: C, model: M, operation: O, prop: P): <S>(select: Exact<S, Args<C[M], O>[P]>) => S;\r\n\r\n/**\r\n * Values supported by SQL engine.\r\n */\r\nexport declare type Value = unknown;\r\n\r\nexport declare function warnEnvConflicts(envPaths: any): void;\r\n\r\nexport declare const warnOnce: (key: string, message: string, ...args: unknown[]) => void;\r\n\r\nexport { }\r\n",
12559
12563
  "node_modules/@prisma/client/runtime/index-browser.d.ts": "declare class AnyNull extends NullTypesEnumValue {\r\n #private;\r\n}\r\n\r\ndeclare type Args<T, F extends Operation> = T extends {\r\n [K: symbol]: {\r\n types: {\r\n operations: {\r\n [K in F]: {\r\n args: any;\r\n };\r\n };\r\n };\r\n };\r\n} ? T[symbol]['types']['operations'][F]['args'] : any;\r\n\r\ndeclare class DbNull extends NullTypesEnumValue {\r\n #private;\r\n}\r\n\r\nexport declare function Decimal(n: Decimal.Value): Decimal;\r\n\r\nexport declare namespace Decimal {\r\n export type Constructor = typeof Decimal;\r\n export type Instance = Decimal;\r\n export type Rounding = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;\r\n export type Modulo = Rounding | 9;\r\n export type Value = string | number | Decimal;\r\n\r\n // http://mikemcl.github.io/decimal.js/#constructor-properties\r\n export interface Config {\r\n precision?: number;\r\n rounding?: Rounding;\r\n toExpNeg?: number;\r\n toExpPos?: number;\r\n minE?: number;\r\n maxE?: number;\r\n crypto?: boolean;\r\n modulo?: Modulo;\r\n defaults?: boolean;\r\n }\r\n}\r\n\r\nexport declare class Decimal {\r\n readonly d: number[];\r\n readonly e: number;\r\n readonly s: number;\r\n\r\n constructor(n: Decimal.Value);\r\n\r\n absoluteValue(): Decimal;\r\n abs(): Decimal;\r\n\r\n ceil(): Decimal;\r\n\r\n clampedTo(min: Decimal.Value, max: Decimal.Value): Decimal;\r\n clamp(min: Decimal.Value, max: Decimal.Value): Decimal;\r\n\r\n comparedTo(n: Decimal.Value): number;\r\n cmp(n: Decimal.Value): number;\r\n\r\n cosine(): Decimal;\r\n cos(): Decimal;\r\n\r\n cubeRoot(): Decimal;\r\n cbrt(): Decimal;\r\n\r\n decimalPlaces(): number;\r\n dp(): number;\r\n\r\n dividedBy(n: Decimal.Value): Decimal;\r\n div(n: Decimal.Value): Decimal;\r\n\r\n dividedToIntegerBy(n: Decimal.Value): Decimal;\r\n divToInt(n: Decimal.Value): Decimal;\r\n\r\n equals(n: Decimal.Value): boolean;\r\n eq(n: Decimal.Value): boolean;\r\n\r\n floor(): Decimal;\r\n\r\n greaterThan(n: Decimal.Value): boolean;\r\n gt(n: Decimal.Value): boolean;\r\n\r\n greaterThanOrEqualTo(n: Decimal.Value): boolean;\r\n gte(n: Decimal.Value): boolean;\r\n\r\n hyperbolicCosine(): Decimal;\r\n cosh(): Decimal;\r\n\r\n hyperbolicSine(): Decimal;\r\n sinh(): Decimal;\r\n\r\n hyperbolicTangent(): Decimal;\r\n tanh(): Decimal;\r\n\r\n inverseCosine(): Decimal;\r\n acos(): Decimal;\r\n\r\n inverseHyperbolicCosine(): Decimal;\r\n acosh(): Decimal;\r\n\r\n inverseHyperbolicSine(): Decimal;\r\n asinh(): Decimal;\r\n\r\n inverseHyperbolicTangent(): Decimal;\r\n atanh(): Decimal;\r\n\r\n inverseSine(): Decimal;\r\n asin(): Decimal;\r\n\r\n inverseTangent(): Decimal;\r\n atan(): Decimal;\r\n\r\n isFinite(): boolean;\r\n\r\n isInteger(): boolean;\r\n isInt(): boolean;\r\n\r\n isNaN(): boolean;\r\n\r\n isNegative(): boolean;\r\n isNeg(): boolean;\r\n\r\n isPositive(): boolean;\r\n isPos(): boolean;\r\n\r\n isZero(): boolean;\r\n\r\n lessThan(n: Decimal.Value): boolean;\r\n lt(n: Decimal.Value): boolean;\r\n\r\n lessThanOrEqualTo(n: Decimal.Value): boolean;\r\n lte(n: Decimal.Value): boolean;\r\n\r\n logarithm(n?: Decimal.Value): Decimal;\r\n log(n?: Decimal.Value): Decimal;\r\n\r\n minus(n: Decimal.Value): Decimal;\r\n sub(n: Decimal.Value): Decimal;\r\n\r\n modulo(n: Decimal.Value): Decimal;\r\n mod(n: Decimal.Value): Decimal;\r\n\r\n naturalExponential(): Decimal;\r\n exp(): Decimal;\r\n\r\n naturalLogarithm(): Decimal;\r\n ln(): Decimal;\r\n\r\n negated(): Decimal;\r\n neg(): Decimal;\r\n\r\n plus(n: Decimal.Value): Decimal;\r\n add(n: Decimal.Value): Decimal;\r\n\r\n precision(includeZeros?: boolean): number;\r\n sd(includeZeros?: boolean): number;\r\n\r\n round(): Decimal;\r\n\r\n sine() : Decimal;\r\n sin() : Decimal;\r\n\r\n squareRoot(): Decimal;\r\n sqrt(): Decimal;\r\n\r\n tangent() : Decimal;\r\n tan() : Decimal;\r\n\r\n times(n: Decimal.Value): Decimal;\r\n mul(n: Decimal.Value) : Decimal;\r\n\r\n toBinary(significantDigits?: number): string;\r\n toBinary(significantDigits: number, rounding: Decimal.Rounding): string;\r\n\r\n toDecimalPlaces(decimalPlaces?: number): Decimal;\r\n toDecimalPlaces(decimalPlaces: number, rounding: Decimal.Rounding): Decimal;\r\n toDP(decimalPlaces?: number): Decimal;\r\n toDP(decimalPlaces: number, rounding: Decimal.Rounding): Decimal;\r\n\r\n toExponential(decimalPlaces?: number): string;\r\n toExponential(decimalPlaces: number, rounding: Decimal.Rounding): string;\r\n\r\n toFixed(decimalPlaces?: number): string;\r\n toFixed(decimalPlaces: number, rounding: Decimal.Rounding): string;\r\n\r\n toFraction(max_denominator?: Decimal.Value): Decimal[];\r\n\r\n toHexadecimal(significantDigits?: number): string;\r\n toHexadecimal(significantDigits: number, rounding: Decimal.Rounding): string;\r\n toHex(significantDigits?: number): string;\r\n toHex(significantDigits: number, rounding?: Decimal.Rounding): string;\r\n\r\n toJSON(): string;\r\n\r\n toNearest(n: Decimal.Value, rounding?: Decimal.Rounding): Decimal;\r\n\r\n toNumber(): number;\r\n\r\n toOctal(significantDigits?: number): string;\r\n toOctal(significantDigits: number, rounding: Decimal.Rounding): string;\r\n\r\n toPower(n: Decimal.Value): Decimal;\r\n pow(n: Decimal.Value): Decimal;\r\n\r\n toPrecision(significantDigits?: number): string;\r\n toPrecision(significantDigits: number, rounding: Decimal.Rounding): string;\r\n\r\n toSignificantDigits(significantDigits?: number): Decimal;\r\n toSignificantDigits(significantDigits: number, rounding: Decimal.Rounding): Decimal;\r\n toSD(significantDigits?: number): Decimal;\r\n toSD(significantDigits: number, rounding: Decimal.Rounding): Decimal;\r\n\r\n toString(): string;\r\n\r\n truncated(): Decimal;\r\n trunc(): Decimal;\r\n\r\n valueOf(): string;\r\n\r\n static abs(n: Decimal.Value): Decimal;\r\n static acos(n: Decimal.Value): Decimal;\r\n static acosh(n: Decimal.Value): Decimal;\r\n static add(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static asin(n: Decimal.Value): Decimal;\r\n static asinh(n: Decimal.Value): Decimal;\r\n static atan(n: Decimal.Value): Decimal;\r\n static atanh(n: Decimal.Value): Decimal;\r\n static atan2(y: Decimal.Value, x: Decimal.Value): Decimal;\r\n static cbrt(n: Decimal.Value): Decimal;\r\n static ceil(n: Decimal.Value): Decimal;\r\n static clamp(n: Decimal.Value, min: Decimal.Value, max: Decimal.Value): Decimal;\r\n static clone(object?: Decimal.Config): Decimal.Constructor;\r\n static config(object: Decimal.Config): Decimal.Constructor;\r\n static cos(n: Decimal.Value): Decimal;\r\n static cosh(n: Decimal.Value): Decimal;\r\n static div(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static exp(n: Decimal.Value): Decimal;\r\n static floor(n: Decimal.Value): Decimal;\r\n static hypot(...n: Decimal.Value[]): Decimal;\r\n static isDecimal(object: any): object is Decimal;\r\n static ln(n: Decimal.Value): Decimal;\r\n static log(n: Decimal.Value, base?: Decimal.Value): Decimal;\r\n static log2(n: Decimal.Value): Decimal;\r\n static log10(n: Decimal.Value): Decimal;\r\n static max(...n: Decimal.Value[]): Decimal;\r\n static min(...n: Decimal.Value[]): Decimal;\r\n static mod(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static mul(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static noConflict(): Decimal.Constructor; // Browser only\r\n static pow(base: Decimal.Value, exponent: Decimal.Value): Decimal;\r\n static random(significantDigits?: number): Decimal;\r\n static round(n: Decimal.Value): Decimal;\r\n static set(object: Decimal.Config): Decimal.Constructor;\r\n static sign(n: Decimal.Value): number;\r\n static sin(n: Decimal.Value): Decimal;\r\n static sinh(n: Decimal.Value): Decimal;\r\n static sqrt(n: Decimal.Value): Decimal;\r\n static sub(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static sum(...n: Decimal.Value[]): Decimal;\r\n static tan(n: Decimal.Value): Decimal;\r\n static tanh(n: Decimal.Value): Decimal;\r\n static trunc(n: Decimal.Value): Decimal;\r\n\r\n static readonly default?: Decimal.Constructor;\r\n static readonly Decimal?: Decimal.Constructor;\r\n\r\n static readonly precision: number;\r\n static readonly rounding: Decimal.Rounding;\r\n static readonly toExpNeg: number;\r\n static readonly toExpPos: number;\r\n static readonly minE: number;\r\n static readonly maxE: number;\r\n static readonly crypto: boolean;\r\n static readonly modulo: Decimal.Modulo;\r\n\r\n static readonly ROUND_UP: 0;\r\n static readonly ROUND_DOWN: 1;\r\n static readonly ROUND_CEIL: 2;\r\n static readonly ROUND_FLOOR: 3;\r\n static readonly ROUND_HALF_UP: 4;\r\n static readonly ROUND_HALF_DOWN: 5;\r\n static readonly ROUND_HALF_EVEN: 6;\r\n static readonly ROUND_HALF_CEIL: 7;\r\n static readonly ROUND_HALF_FLOOR: 8;\r\n static readonly EUCLID: 9;\r\n}\r\n\r\ndeclare type Exact<A, W> = (A extends unknown ? (W extends A ? {\r\n [K in keyof A]: Exact<A[K], W[K]>;\r\n} : W) : never) | (A extends Narrowable ? A : never);\r\n\r\nexport declare function getRuntime(): GetRuntimeOutput;\r\n\r\ndeclare type GetRuntimeOutput = {\r\n id: RuntimeName;\r\n prettyName: string;\r\n isEdge: boolean;\r\n};\r\n\r\ndeclare class JsonNull extends NullTypesEnumValue {\r\n #private;\r\n}\r\n\r\n/**\r\n * Generates more strict variant of an enum which, unlike regular enum,\r\n * throws on non-existing property access. This can be useful in following situations:\r\n * - we have an API, that accepts both `undefined` and `SomeEnumType` as an input\r\n * - enum values are generated dynamically from DMMF.\r\n *\r\n * In that case, if using normal enums and no compile-time typechecking, using non-existing property\r\n * will result in `undefined` value being used, which will be accepted. Using strict enum\r\n * in this case will help to have a runtime exception, telling you that you are probably doing something wrong.\r\n *\r\n * Note: if you need to check for existence of a value in the enum you can still use either\r\n * `in` operator or `hasOwnProperty` function.\r\n *\r\n * @param definition\r\n * @returns\r\n */\r\nexport declare function makeStrictEnum<T extends Record<PropertyKey, string | number>>(definition: T): T;\r\n\r\ndeclare type Narrowable = string | number | bigint | boolean | [];\r\n\r\ndeclare class NullTypesEnumValue extends ObjectEnumValue {\r\n _getNamespace(): string;\r\n}\r\n\r\n/**\r\n * Base class for unique values of object-valued enums.\r\n */\r\ndeclare abstract class ObjectEnumValue {\r\n constructor(arg?: symbol);\r\n abstract _getNamespace(): string;\r\n _getName(): string;\r\n toString(): string;\r\n}\r\n\r\nexport declare const objectEnumValues: {\r\n classes: {\r\n DbNull: typeof DbNull;\r\n JsonNull: typeof JsonNull;\r\n AnyNull: typeof AnyNull;\r\n };\r\n instances: {\r\n DbNull: DbNull;\r\n JsonNull: JsonNull;\r\n AnyNull: AnyNull;\r\n };\r\n};\r\n\r\ndeclare type Operation = 'findFirst' | 'findFirstOrThrow' | 'findUnique' | 'findUniqueOrThrow' | 'findMany' | 'create' | 'createMany' | 'createManyAndReturn' | 'update' | 'updateMany' | 'updateManyAndReturn' | 'upsert' | 'delete' | 'deleteMany' | 'aggregate' | 'count' | 'groupBy' | '$queryRaw' | '$executeRaw' | '$queryRawUnsafe' | '$executeRawUnsafe' | 'findRaw' | 'aggregateRaw' | '$runCommandRaw';\r\n\r\ndeclare namespace Public {\r\n export {\r\n validator\r\n }\r\n}\r\nexport { Public }\r\n\r\ndeclare type RuntimeName = 'workerd' | 'deno' | 'netlify' | 'node' | 'bun' | 'edge-light' | '';\r\n\r\ndeclare function validator<V>(): <S>(select: Exact<S, V>) => S;\r\n\r\ndeclare function validator<C, M extends Exclude<keyof C, `$${string}`>, O extends keyof C[M] & Operation>(client: C, model: M, operation: O): <S>(select: Exact<S, Args<C[M], O>>) => S;\r\n\r\ndeclare function validator<C, M extends Exclude<keyof C, `$${string}`>, O extends keyof C[M] & Operation, P extends keyof Args<C[M], O>>(client: C, model: M, operation: O, prop: P): <S>(select: Exact<S, Args<C[M], O>[P]>) => S;\r\n\r\nexport { }\r\n",
12560
- "node_modules/@prisma/client/runtime/library.d.ts": "/**\r\n * @param this\r\n */\r\ndeclare function $extends(this: Client, extension: ExtensionArgs | ((client: Client) => Client)): Client;\r\n\r\ndeclare type AccelerateEngineConfig = {\r\n inlineSchema: EngineConfig['inlineSchema'];\r\n inlineSchemaHash: EngineConfig['inlineSchemaHash'];\r\n env: EngineConfig['env'];\r\n generator?: {\r\n previewFeatures: string[];\r\n };\r\n inlineDatasources: EngineConfig['inlineDatasources'];\r\n overrideDatasources: EngineConfig['overrideDatasources'];\r\n clientVersion: EngineConfig['clientVersion'];\r\n engineVersion: EngineConfig['engineVersion'];\r\n logEmitter: EngineConfig['logEmitter'];\r\n logQueries?: EngineConfig['logQueries'];\r\n logLevel?: EngineConfig['logLevel'];\r\n tracingHelper: EngineConfig['tracingHelper'];\r\n accelerateUtils?: AccelerateUtils;\r\n};\r\n\r\ndeclare type AccelerateUtils = EngineConfig['accelerateUtils'];\r\n\r\nexport declare type Action = keyof typeof DMMF_2.ModelAction | 'executeRaw' | 'queryRaw' | 'runCommandRaw';\r\n\r\ndeclare type ActiveConnectorType = Exclude<ConnectorType, 'postgres' | 'prisma+postgres'>;\r\n\r\n/**\r\n * An interface that exposes some basic information about the\r\n * adapter like its name and provider type.\r\n */\r\ndeclare interface AdapterInfo {\r\n readonly provider: Provider;\r\n readonly adapterName: (typeof officialPrismaAdapters)[number] | (string & {});\r\n}\r\n\r\nexport declare type Aggregate = '_count' | '_max' | '_min' | '_avg' | '_sum';\r\n\r\nexport declare type AllModelsToStringIndex<TypeMap extends TypeMapDef, Args extends Record<string, any>, K extends PropertyKey> = Args extends {\r\n [P in K]: {\r\n $allModels: infer AllModels;\r\n };\r\n} ? {\r\n [P in K]: Record<TypeMap['meta']['modelProps'], AllModels>;\r\n} : {};\r\n\r\ndeclare class AnyNull extends NullTypesEnumValue {\r\n #private;\r\n}\r\n\r\nexport declare type ApplyOmit<T, OmitConfig> = Compute<{\r\n [K in keyof T as OmitValue<OmitConfig, K> extends true ? never : K]: T[K];\r\n}>;\r\n\r\nexport declare type Args<T, F extends Operation> = T extends {\r\n [K: symbol]: {\r\n types: {\r\n operations: {\r\n [K in F]: {\r\n args: any;\r\n };\r\n };\r\n };\r\n };\r\n} ? T[symbol]['types']['operations'][F]['args'] : any;\r\n\r\nexport declare type Args_3<T, F extends Operation> = Args<T, F>;\r\n\r\n/**\r\n * Original `quaint::ValueType` enum tag from Prisma's `quaint`.\r\n * Query arguments marked with this type are sanitized before being sent to the database.\r\n * Notice while a query argument may be `null`, `ArgType` is guaranteed to be defined.\r\n */\r\ndeclare type ArgType = 'Int32' | 'Int64' | 'Float' | 'Double' | 'Text' | 'Enum' | 'EnumArray' | 'Bytes' | 'Boolean' | 'Char' | 'Array' | 'Numeric' | 'Json' | 'Xml' | 'Uuid' | 'DateTime' | 'Date' | 'Time';\r\n\r\n/**\r\n * Attributes is a map from string to attribute values.\r\n *\r\n * Note: only the own enumerable keys are counted as valid attribute keys.\r\n */\r\ndeclare interface Attributes {\r\n [attributeKey: string]: AttributeValue | undefined;\r\n}\r\n\r\n/**\r\n * Attribute values may be any non-nullish primitive value except an object.\r\n *\r\n * null or undefined attribute values are invalid and will result in undefined behavior.\r\n */\r\ndeclare type AttributeValue = string | number | boolean | Array<null | undefined | string> | Array<null | undefined | number> | Array<null | undefined | boolean>;\r\n\r\nexport declare type BaseDMMF = {\r\n readonly datamodel: Omit<DMMF_2.Datamodel, 'indexes'>;\r\n};\r\n\r\ndeclare type BatchArgs = {\r\n queries: BatchQuery[];\r\n transaction?: {\r\n isolationLevel?: IsolationLevel;\r\n };\r\n};\r\n\r\ndeclare type BatchInternalParams = {\r\n requests: RequestParams[];\r\n customDataProxyFetch?: CustomDataProxyFetch;\r\n};\r\n\r\ndeclare type BatchQuery = {\r\n model: string | undefined;\r\n operation: string;\r\n args: JsArgs | RawQueryArgs;\r\n};\r\n\r\ndeclare type BatchQueryEngineResult<T> = QueryEngineResultData<T> | Error;\r\n\r\ndeclare type BatchQueryOptionsCb = (args: BatchQueryOptionsCbArgs) => Promise<any>;\r\n\r\ndeclare type BatchQueryOptionsCbArgs = {\r\n args: BatchArgs;\r\n query: (args: BatchArgs, __internalParams?: BatchInternalParams) => Promise<unknown[]>;\r\n __internalParams: BatchInternalParams;\r\n};\r\n\r\ndeclare type BatchResponse = MultiBatchResponse | CompactedBatchResponse;\r\n\r\ndeclare type BatchTransactionOptions = {\r\n isolationLevel?: IsolationLevel;\r\n};\r\n\r\ndeclare interface BinaryTargetsEnvValue {\r\n fromEnvVar: string | null;\r\n value: string;\r\n native?: boolean;\r\n}\r\n\r\nexport declare type Call<F extends Fn, P> = (F & {\r\n params: P;\r\n})['returns'];\r\n\r\ndeclare interface CallSite {\r\n getLocation(): LocationInFile | null;\r\n}\r\n\r\nexport declare type Cast<A, W> = A extends W ? A : W;\r\n\r\ndeclare type Client = ReturnType<typeof getPrismaClient> extends new () => infer T ? T : never;\r\n\r\nexport declare type ClientArg = {\r\n [MethodName in string]: unknown;\r\n};\r\n\r\nexport declare type ClientArgs = {\r\n client: ClientArg;\r\n};\r\n\r\nexport declare type ClientBuiltInProp = keyof DynamicClientExtensionThisBuiltin<never, never, never>;\r\n\r\nexport declare type ClientOptionDef = undefined | {\r\n [K in string]: any;\r\n};\r\n\r\nexport declare type ClientOtherOps = {\r\n $queryRaw<T = unknown>(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise<T>;\r\n $queryRawTyped<T>(query: TypedSql<unknown[], T>): PrismaPromise<T[]>;\r\n $queryRawUnsafe<T = unknown>(query: string, ...values: any[]): PrismaPromise<T>;\r\n $executeRaw(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise<number>;\r\n $executeRawUnsafe(query: string, ...values: any[]): PrismaPromise<number>;\r\n $runCommandRaw(command: InputJsonObject): PrismaPromise<JsonObject>;\r\n};\r\n\r\ndeclare type ColumnType = (typeof ColumnTypeEnum)[keyof typeof ColumnTypeEnum];\r\n\r\ndeclare const ColumnTypeEnum: {\r\n readonly Int32: 0;\r\n readonly Int64: 1;\r\n readonly Float: 2;\r\n readonly Double: 3;\r\n readonly Numeric: 4;\r\n readonly Boolean: 5;\r\n readonly Character: 6;\r\n readonly Text: 7;\r\n readonly Date: 8;\r\n readonly Time: 9;\r\n readonly DateTime: 10;\r\n readonly Json: 11;\r\n readonly Enum: 12;\r\n readonly Bytes: 13;\r\n readonly Set: 14;\r\n readonly Uuid: 15;\r\n readonly Int32Array: 64;\r\n readonly Int64Array: 65;\r\n readonly FloatArray: 66;\r\n readonly DoubleArray: 67;\r\n readonly NumericArray: 68;\r\n readonly BooleanArray: 69;\r\n readonly CharacterArray: 70;\r\n readonly TextArray: 71;\r\n readonly DateArray: 72;\r\n readonly TimeArray: 73;\r\n readonly DateTimeArray: 74;\r\n readonly JsonArray: 75;\r\n readonly EnumArray: 76;\r\n readonly BytesArray: 77;\r\n readonly UuidArray: 78;\r\n readonly UnknownNumber: 128;\r\n};\r\n\r\ndeclare type CompactedBatchResponse = {\r\n type: 'compacted';\r\n plan: object;\r\n arguments: Record<string, {}>[];\r\n nestedSelection: string[];\r\n keys: string[];\r\n expectNonEmpty: boolean;\r\n};\r\n\r\ndeclare type CompilerWasmLoadingConfig = {\r\n /**\r\n * WASM-bindgen runtime for corresponding module\r\n */\r\n getRuntime: () => Promise<{\r\n __wbg_set_wasm(exports: unknown): void;\r\n QueryCompiler: QueryCompilerConstructor;\r\n }>;\r\n /**\r\n * Loads the raw wasm module for the wasm compiler engine. This configuration is\r\n * generated specifically for each type of client, eg. Node.js client and Edge\r\n * clients will have different implementations.\r\n * @remarks this is a callback on purpose, we only load the wasm if needed.\r\n * @remarks only used by ClientEngine\r\n */\r\n getQueryCompilerWasmModule: () => Promise<unknown>;\r\n};\r\n\r\nexport declare type Compute<T> = T extends Function ? T : {\r\n [K in keyof T]: T[K];\r\n} & unknown;\r\n\r\nexport declare type ComputeDeep<T> = T extends Function ? T : {\r\n [K in keyof T]: ComputeDeep<T[K]>;\r\n} & unknown;\r\n\r\ndeclare type ComputedField = {\r\n name: string;\r\n needs: string[];\r\n compute: ResultArgsFieldCompute;\r\n};\r\n\r\ndeclare type ComputedFieldsMap = {\r\n [fieldName: string]: ComputedField;\r\n};\r\n\r\ndeclare type ConnectionInfo = {\r\n schemaName?: string;\r\n maxBindValues?: number;\r\n};\r\n\r\ndeclare type ConnectorType = 'mysql' | 'mongodb' | 'sqlite' | 'postgresql' | 'postgres' | 'prisma+postgres' | 'sqlserver' | 'cockroachdb';\r\n\r\ndeclare interface Context {\r\n /**\r\n * Get a value from the context.\r\n *\r\n * @param key key which identifies a context value\r\n */\r\n getValue(key: symbol): unknown;\r\n /**\r\n * Create a new context which inherits from this context and has\r\n * the given key set to the given value.\r\n *\r\n * @param key context key for which to set the value\r\n * @param value value to set for the given key\r\n */\r\n setValue(key: symbol, value: unknown): Context;\r\n /**\r\n * Return a new context which inherits from this context but does\r\n * not contain a value for the given key.\r\n *\r\n * @param key context key for which to clear a value\r\n */\r\n deleteValue(key: symbol): Context;\r\n}\r\n\r\ndeclare type Context_2<T> = T extends {\r\n [K: symbol]: {\r\n ctx: infer C;\r\n };\r\n} ? C & T & {\r\n /**\r\n * @deprecated Use `$name` instead.\r\n */\r\n name?: string;\r\n $name?: string;\r\n $parent?: unknown;\r\n} : T & {\r\n /**\r\n * @deprecated Use `$name` instead.\r\n */\r\n name?: string;\r\n $name?: string;\r\n $parent?: unknown;\r\n};\r\n\r\nexport declare type Count<O> = {\r\n [K in keyof O]: Count<number>;\r\n} & {};\r\n\r\nexport declare function createParam(name: string): Param<unknown, string>;\r\n\r\n/**\r\n * Custom fetch function for `DataProxyEngine`.\r\n *\r\n * We can't use the actual type of `globalThis.fetch` because this will result\r\n * in API Extractor referencing Node.js type definitions in the `.d.ts` bundle\r\n * for the client runtime. We can only use such types in internal types that\r\n * don't end up exported anywhere.\r\n\r\n * It's also not possible to write a definition of `fetch` that would accept the\r\n * actual `fetch` function from different environments such as Node.js and\r\n * Cloudflare Workers (with their extensions to `RequestInit` and `Response`).\r\n * `fetch` is used in both covariant and contravariant positions in\r\n * `CustomDataProxyFetch`, making it invariant, so we need the exact same type.\r\n * Even if we removed the argument and left `fetch` in covariant position only,\r\n * then for an extension-supplied function to be assignable to `customDataProxyFetch`,\r\n * the platform-specific (or custom) `fetch` function needs to be assignable\r\n * to our `fetch` definition. This, in turn, requires the third-party `Response`\r\n * to be a subtype of our `Response` (which is not a problem, we could declare\r\n * a minimal `Response` type that only includes what we use) *and* requires the\r\n * third-party `RequestInit` to be a supertype of our `RequestInit` (i.e. we\r\n * have to declare all properties any `RequestInit` implementation in existence\r\n * could possibly have), which is not possible.\r\n *\r\n * Since `@prisma/extension-accelerate` redefines the type of\r\n * `__internalParams.customDataProxyFetch` to its own type anyway (probably for\r\n * exactly this reason), our definition is never actually used and is completely\r\n * ignored, so it doesn't matter, and we can just use `unknown` as the type of\r\n * `fetch` here.\r\n */\r\ndeclare type CustomDataProxyFetch = (fetch: unknown) => unknown;\r\n\r\ndeclare class DataLoader<T = unknown> {\r\n private options;\r\n batches: {\r\n [key: string]: Job[];\r\n };\r\n private tickActive;\r\n constructor(options: DataLoaderOptions<T>);\r\n request(request: T): Promise<any>;\r\n private dispatchBatches;\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\ndeclare type DataLoaderOptions<T> = {\r\n singleLoader: (request: T) => Promise<any>;\r\n batchLoader: (request: T[]) => Promise<any[]>;\r\n batchBy: (request: T) => string | undefined;\r\n batchOrder: (requestA: T, requestB: T) => number;\r\n};\r\n\r\ndeclare type Datamodel = ReadonlyDeep_2<{\r\n models: Model[];\r\n enums: DatamodelEnum[];\r\n types: Model[];\r\n indexes: Index[];\r\n}>;\r\n\r\ndeclare type DatamodelEnum = ReadonlyDeep_2<{\r\n name: string;\r\n values: EnumValue[];\r\n dbName?: string | null;\r\n documentation?: string;\r\n}>;\r\n\r\ndeclare function datamodelEnumToSchemaEnum(datamodelEnum: DatamodelEnum): SchemaEnum;\r\n\r\ndeclare type Datasource = {\r\n url?: string;\r\n};\r\n\r\ndeclare type Datasources = {\r\n [name in string]: Datasource;\r\n};\r\n\r\ndeclare class DbNull extends NullTypesEnumValue {\r\n #private;\r\n}\r\n\r\nexport declare const Debug: typeof debugCreate & {\r\n enable(namespace: any): void;\r\n disable(): any;\r\n enabled(namespace: string): boolean;\r\n log: (...args: string[]) => void;\r\n formatters: {};\r\n};\r\n\r\n/**\r\n * Create a new debug instance with the given namespace.\r\n *\r\n * @example\r\n * ```ts\r\n * import Debug from '@prisma/debug'\r\n * const debug = Debug('prisma:client')\r\n * debug('Hello World')\r\n * ```\r\n */\r\ndeclare function debugCreate(namespace: string): ((...args: any[]) => void) & {\r\n color: string;\r\n enabled: boolean;\r\n namespace: string;\r\n log: (...args: string[]) => void;\r\n extend: () => void;\r\n};\r\n\r\nexport declare function Decimal(n: Decimal.Value): Decimal;\r\n\r\nexport declare namespace Decimal {\r\n export type Constructor = typeof Decimal;\r\n export type Instance = Decimal;\r\n export type Rounding = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;\r\n export type Modulo = Rounding | 9;\r\n export type Value = string | number | Decimal;\r\n\r\n // http://mikemcl.github.io/decimal.js/#constructor-properties\r\n export interface Config {\r\n precision?: number;\r\n rounding?: Rounding;\r\n toExpNeg?: number;\r\n toExpPos?: number;\r\n minE?: number;\r\n maxE?: number;\r\n crypto?: boolean;\r\n modulo?: Modulo;\r\n defaults?: boolean;\r\n }\r\n}\r\n\r\nexport declare class Decimal {\r\n readonly d: number[];\r\n readonly e: number;\r\n readonly s: number;\r\n\r\n constructor(n: Decimal.Value);\r\n\r\n absoluteValue(): Decimal;\r\n abs(): Decimal;\r\n\r\n ceil(): Decimal;\r\n\r\n clampedTo(min: Decimal.Value, max: Decimal.Value): Decimal;\r\n clamp(min: Decimal.Value, max: Decimal.Value): Decimal;\r\n\r\n comparedTo(n: Decimal.Value): number;\r\n cmp(n: Decimal.Value): number;\r\n\r\n cosine(): Decimal;\r\n cos(): Decimal;\r\n\r\n cubeRoot(): Decimal;\r\n cbrt(): Decimal;\r\n\r\n decimalPlaces(): number;\r\n dp(): number;\r\n\r\n dividedBy(n: Decimal.Value): Decimal;\r\n div(n: Decimal.Value): Decimal;\r\n\r\n dividedToIntegerBy(n: Decimal.Value): Decimal;\r\n divToInt(n: Decimal.Value): Decimal;\r\n\r\n equals(n: Decimal.Value): boolean;\r\n eq(n: Decimal.Value): boolean;\r\n\r\n floor(): Decimal;\r\n\r\n greaterThan(n: Decimal.Value): boolean;\r\n gt(n: Decimal.Value): boolean;\r\n\r\n greaterThanOrEqualTo(n: Decimal.Value): boolean;\r\n gte(n: Decimal.Value): boolean;\r\n\r\n hyperbolicCosine(): Decimal;\r\n cosh(): Decimal;\r\n\r\n hyperbolicSine(): Decimal;\r\n sinh(): Decimal;\r\n\r\n hyperbolicTangent(): Decimal;\r\n tanh(): Decimal;\r\n\r\n inverseCosine(): Decimal;\r\n acos(): Decimal;\r\n\r\n inverseHyperbolicCosine(): Decimal;\r\n acosh(): Decimal;\r\n\r\n inverseHyperbolicSine(): Decimal;\r\n asinh(): Decimal;\r\n\r\n inverseHyperbolicTangent(): Decimal;\r\n atanh(): Decimal;\r\n\r\n inverseSine(): Decimal;\r\n asin(): Decimal;\r\n\r\n inverseTangent(): Decimal;\r\n atan(): Decimal;\r\n\r\n isFinite(): boolean;\r\n\r\n isInteger(): boolean;\r\n isInt(): boolean;\r\n\r\n isNaN(): boolean;\r\n\r\n isNegative(): boolean;\r\n isNeg(): boolean;\r\n\r\n isPositive(): boolean;\r\n isPos(): boolean;\r\n\r\n isZero(): boolean;\r\n\r\n lessThan(n: Decimal.Value): boolean;\r\n lt(n: Decimal.Value): boolean;\r\n\r\n lessThanOrEqualTo(n: Decimal.Value): boolean;\r\n lte(n: Decimal.Value): boolean;\r\n\r\n logarithm(n?: Decimal.Value): Decimal;\r\n log(n?: Decimal.Value): Decimal;\r\n\r\n minus(n: Decimal.Value): Decimal;\r\n sub(n: Decimal.Value): Decimal;\r\n\r\n modulo(n: Decimal.Value): Decimal;\r\n mod(n: Decimal.Value): Decimal;\r\n\r\n naturalExponential(): Decimal;\r\n exp(): Decimal;\r\n\r\n naturalLogarithm(): Decimal;\r\n ln(): Decimal;\r\n\r\n negated(): Decimal;\r\n neg(): Decimal;\r\n\r\n plus(n: Decimal.Value): Decimal;\r\n add(n: Decimal.Value): Decimal;\r\n\r\n precision(includeZeros?: boolean): number;\r\n sd(includeZeros?: boolean): number;\r\n\r\n round(): Decimal;\r\n\r\n sine() : Decimal;\r\n sin() : Decimal;\r\n\r\n squareRoot(): Decimal;\r\n sqrt(): Decimal;\r\n\r\n tangent() : Decimal;\r\n tan() : Decimal;\r\n\r\n times(n: Decimal.Value): Decimal;\r\n mul(n: Decimal.Value) : Decimal;\r\n\r\n toBinary(significantDigits?: number): string;\r\n toBinary(significantDigits: number, rounding: Decimal.Rounding): string;\r\n\r\n toDecimalPlaces(decimalPlaces?: number): Decimal;\r\n toDecimalPlaces(decimalPlaces: number, rounding: Decimal.Rounding): Decimal;\r\n toDP(decimalPlaces?: number): Decimal;\r\n toDP(decimalPlaces: number, rounding: Decimal.Rounding): Decimal;\r\n\r\n toExponential(decimalPlaces?: number): string;\r\n toExponential(decimalPlaces: number, rounding: Decimal.Rounding): string;\r\n\r\n toFixed(decimalPlaces?: number): string;\r\n toFixed(decimalPlaces: number, rounding: Decimal.Rounding): string;\r\n\r\n toFraction(max_denominator?: Decimal.Value): Decimal[];\r\n\r\n toHexadecimal(significantDigits?: number): string;\r\n toHexadecimal(significantDigits: number, rounding: Decimal.Rounding): string;\r\n toHex(significantDigits?: number): string;\r\n toHex(significantDigits: number, rounding?: Decimal.Rounding): string;\r\n\r\n toJSON(): string;\r\n\r\n toNearest(n: Decimal.Value, rounding?: Decimal.Rounding): Decimal;\r\n\r\n toNumber(): number;\r\n\r\n toOctal(significantDigits?: number): string;\r\n toOctal(significantDigits: number, rounding: Decimal.Rounding): string;\r\n\r\n toPower(n: Decimal.Value): Decimal;\r\n pow(n: Decimal.Value): Decimal;\r\n\r\n toPrecision(significantDigits?: number): string;\r\n toPrecision(significantDigits: number, rounding: Decimal.Rounding): string;\r\n\r\n toSignificantDigits(significantDigits?: number): Decimal;\r\n toSignificantDigits(significantDigits: number, rounding: Decimal.Rounding): Decimal;\r\n toSD(significantDigits?: number): Decimal;\r\n toSD(significantDigits: number, rounding: Decimal.Rounding): Decimal;\r\n\r\n toString(): string;\r\n\r\n truncated(): Decimal;\r\n trunc(): Decimal;\r\n\r\n valueOf(): string;\r\n\r\n static abs(n: Decimal.Value): Decimal;\r\n static acos(n: Decimal.Value): Decimal;\r\n static acosh(n: Decimal.Value): Decimal;\r\n static add(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static asin(n: Decimal.Value): Decimal;\r\n static asinh(n: Decimal.Value): Decimal;\r\n static atan(n: Decimal.Value): Decimal;\r\n static atanh(n: Decimal.Value): Decimal;\r\n static atan2(y: Decimal.Value, x: Decimal.Value): Decimal;\r\n static cbrt(n: Decimal.Value): Decimal;\r\n static ceil(n: Decimal.Value): Decimal;\r\n static clamp(n: Decimal.Value, min: Decimal.Value, max: Decimal.Value): Decimal;\r\n static clone(object?: Decimal.Config): Decimal.Constructor;\r\n static config(object: Decimal.Config): Decimal.Constructor;\r\n static cos(n: Decimal.Value): Decimal;\r\n static cosh(n: Decimal.Value): Decimal;\r\n static div(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static exp(n: Decimal.Value): Decimal;\r\n static floor(n: Decimal.Value): Decimal;\r\n static hypot(...n: Decimal.Value[]): Decimal;\r\n static isDecimal(object: any): object is Decimal;\r\n static ln(n: Decimal.Value): Decimal;\r\n static log(n: Decimal.Value, base?: Decimal.Value): Decimal;\r\n static log2(n: Decimal.Value): Decimal;\r\n static log10(n: Decimal.Value): Decimal;\r\n static max(...n: Decimal.Value[]): Decimal;\r\n static min(...n: Decimal.Value[]): Decimal;\r\n static mod(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static mul(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static noConflict(): Decimal.Constructor; // Browser only\r\n static pow(base: Decimal.Value, exponent: Decimal.Value): Decimal;\r\n static random(significantDigits?: number): Decimal;\r\n static round(n: Decimal.Value): Decimal;\r\n static set(object: Decimal.Config): Decimal.Constructor;\r\n static sign(n: Decimal.Value): number;\r\n static sin(n: Decimal.Value): Decimal;\r\n static sinh(n: Decimal.Value): Decimal;\r\n static sqrt(n: Decimal.Value): Decimal;\r\n static sub(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static sum(...n: Decimal.Value[]): Decimal;\r\n static tan(n: Decimal.Value): Decimal;\r\n static tanh(n: Decimal.Value): Decimal;\r\n static trunc(n: Decimal.Value): Decimal;\r\n\r\n static readonly default?: Decimal.Constructor;\r\n static readonly Decimal?: Decimal.Constructor;\r\n\r\n static readonly precision: number;\r\n static readonly rounding: Decimal.Rounding;\r\n static readonly toExpNeg: number;\r\n static readonly toExpPos: number;\r\n static readonly minE: number;\r\n static readonly maxE: number;\r\n static readonly crypto: boolean;\r\n static readonly modulo: Decimal.Modulo;\r\n\r\n static readonly ROUND_UP: 0;\r\n static readonly ROUND_DOWN: 1;\r\n static readonly ROUND_CEIL: 2;\r\n static readonly ROUND_FLOOR: 3;\r\n static readonly ROUND_HALF_UP: 4;\r\n static readonly ROUND_HALF_DOWN: 5;\r\n static readonly ROUND_HALF_EVEN: 6;\r\n static readonly ROUND_HALF_CEIL: 7;\r\n static readonly ROUND_HALF_FLOOR: 8;\r\n static readonly EUCLID: 9;\r\n}\r\n\r\n/**\r\n * Interface for any Decimal.js-like library\r\n * Allows us to accept Decimal.js from different\r\n * versions and some compatible alternatives\r\n */\r\nexport declare interface DecimalJsLike {\r\n d: number[];\r\n e: number;\r\n s: number;\r\n toFixed(): string;\r\n}\r\n\r\nexport declare type DefaultArgs = InternalArgs<{}, {}, {}, {}>;\r\n\r\nexport declare type DefaultSelection<Payload extends OperationPayload, Args = {}, GlobalOmitOptions = {}> = Args extends {\r\n omit: infer LocalOmit;\r\n} ? ApplyOmit<UnwrapPayload<{\r\n default: Payload;\r\n}>['default'], PatchFlat<LocalOmit, ExtractGlobalOmit<GlobalOmitOptions, Uncapitalize<Payload['name']>>>> : ApplyOmit<UnwrapPayload<{\r\n default: Payload;\r\n}>['default'], ExtractGlobalOmit<GlobalOmitOptions, Uncapitalize<Payload['name']>>>;\r\n\r\nexport declare function defineDmmfProperty(target: object, runtimeDataModel: RuntimeDataModel): void;\r\n\r\ndeclare function defineExtension(ext: ExtensionArgs | ((client: Client) => Client)): (client: Client) => Client;\r\n\r\ndeclare const denylist: readonly [\"$connect\", \"$disconnect\", \"$on\", \"$transaction\", \"$use\", \"$extends\"];\r\n\r\ndeclare type Deprecation = ReadonlyDeep_2<{\r\n sinceVersion: string;\r\n reason: string;\r\n plannedRemovalVersion?: string;\r\n}>;\r\n\r\ndeclare type DeserializedResponse = Array<Record<string, unknown>>;\r\n\r\nexport declare function deserializeJsonResponse(result: unknown): unknown;\r\n\r\nexport declare function deserializeRawResult(response: RawResponse): DeserializedResponse;\r\n\r\nexport declare type DevTypeMapDef = {\r\n meta: {\r\n modelProps: string;\r\n };\r\n model: {\r\n [Model in PropertyKey]: {\r\n [Operation in PropertyKey]: DevTypeMapFnDef;\r\n };\r\n };\r\n other: {\r\n [Operation in PropertyKey]: DevTypeMapFnDef;\r\n };\r\n};\r\n\r\nexport declare type DevTypeMapFnDef = {\r\n args: any;\r\n result: any;\r\n payload: OperationPayload;\r\n};\r\n\r\nexport declare namespace DMMF {\r\n export {\r\n datamodelEnumToSchemaEnum,\r\n Document_2 as Document,\r\n Mappings,\r\n OtherOperationMappings,\r\n DatamodelEnum,\r\n SchemaEnum,\r\n EnumValue,\r\n Datamodel,\r\n uniqueIndex,\r\n PrimaryKey,\r\n Model,\r\n FieldKind,\r\n FieldNamespace,\r\n FieldLocation,\r\n Field,\r\n FieldDefault,\r\n FieldDefaultScalar,\r\n Index,\r\n IndexType,\r\n IndexField,\r\n SortOrder,\r\n Schema,\r\n Query,\r\n QueryOutput,\r\n TypeRef,\r\n InputTypeRef,\r\n SchemaArg,\r\n OutputType,\r\n SchemaField,\r\n OutputTypeRef,\r\n Deprecation,\r\n InputType,\r\n FieldRefType,\r\n FieldRefAllowType,\r\n ModelMapping,\r\n ModelAction\r\n }\r\n}\r\n\r\ndeclare namespace DMMF_2 {\r\n export {\r\n datamodelEnumToSchemaEnum,\r\n Document_2 as Document,\r\n Mappings,\r\n OtherOperationMappings,\r\n DatamodelEnum,\r\n SchemaEnum,\r\n EnumValue,\r\n Datamodel,\r\n uniqueIndex,\r\n PrimaryKey,\r\n Model,\r\n FieldKind,\r\n FieldNamespace,\r\n FieldLocation,\r\n Field,\r\n FieldDefault,\r\n FieldDefaultScalar,\r\n Index,\r\n IndexType,\r\n IndexField,\r\n SortOrder,\r\n Schema,\r\n Query,\r\n QueryOutput,\r\n TypeRef,\r\n InputTypeRef,\r\n SchemaArg,\r\n OutputType,\r\n SchemaField,\r\n OutputTypeRef,\r\n Deprecation,\r\n InputType,\r\n FieldRefType,\r\n FieldRefAllowType,\r\n ModelMapping,\r\n ModelAction\r\n }\r\n}\r\n\r\nexport declare function dmmfToRuntimeDataModel(dmmfDataModel: DMMF_2.Datamodel): RuntimeDataModel;\r\n\r\ndeclare type Document_2 = ReadonlyDeep_2<{\r\n datamodel: Datamodel;\r\n schema: Schema;\r\n mappings: Mappings;\r\n}>;\r\n\r\n/**\r\n * A generic driver adapter factory that allows the user to instantiate a\r\n * driver adapter. The query and result types are specific to the adapter.\r\n */\r\ndeclare interface DriverAdapterFactory<Query, Result> extends AdapterInfo {\r\n /**\r\n * Instantiate a driver adapter.\r\n */\r\n connect(): Promise<Queryable<Query, Result>>;\r\n}\r\n\r\n/** Client */\r\nexport declare type DynamicClientExtensionArgs<C_, TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {\r\n [P in keyof C_]: unknown;\r\n} & {\r\n [K: symbol]: {\r\n ctx: Optional<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList> & {\r\n $parent: Optional<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList>;\r\n };\r\n };\r\n};\r\n\r\nexport declare type DynamicClientExtensionThis<TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {\r\n [P in keyof ExtArgs['client']]: Return<ExtArgs['client'][P]>;\r\n} & {\r\n [P in Exclude<TypeMap['meta']['modelProps'], keyof ExtArgs['client']>]: DynamicModelExtensionThis<TypeMap, ModelKey<TypeMap, P>, ExtArgs>;\r\n} & {\r\n [P in Exclude<keyof TypeMap['other']['operations'], keyof ExtArgs['client']>]: P extends keyof ClientOtherOps ? ClientOtherOps[P] : never;\r\n} & {\r\n [P in Exclude<ClientBuiltInProp, keyof ExtArgs['client']>]: DynamicClientExtensionThisBuiltin<TypeMap, TypeMapCb, ExtArgs>[P];\r\n} & {\r\n [K: symbol]: {\r\n types: TypeMap['other'];\r\n };\r\n};\r\n\r\nexport declare type DynamicClientExtensionThisBuiltin<TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {\r\n $extends: ExtendsHook<'extends', TypeMapCb, ExtArgs, Call<TypeMapCb, {\r\n extArgs: ExtArgs;\r\n }>>;\r\n $transaction<P extends PrismaPromise<any>[]>(arg: [...P], options?: {\r\n isolationLevel?: TypeMap['meta']['txIsolationLevel'];\r\n }): Promise<UnwrapTuple<P>>;\r\n $transaction<R>(fn: (client: Omit<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList>) => Promise<R>, options?: {\r\n maxWait?: number;\r\n timeout?: number;\r\n isolationLevel?: TypeMap['meta']['txIsolationLevel'];\r\n }): Promise<R>;\r\n $disconnect(): Promise<void>;\r\n $connect(): Promise<void>;\r\n};\r\n\r\n/** Model */\r\nexport declare type DynamicModelExtensionArgs<M_, TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {\r\n [K in keyof M_]: K extends '$allModels' ? {\r\n [P in keyof M_[K]]?: unknown;\r\n } & {\r\n [K: symbol]: {};\r\n } : K extends TypeMap['meta']['modelProps'] ? {\r\n [P in keyof M_[K]]?: unknown;\r\n } & {\r\n [K: symbol]: {\r\n ctx: DynamicModelExtensionThis<TypeMap, ModelKey<TypeMap, K>, ExtArgs> & {\r\n $parent: DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>;\r\n } & {\r\n $name: ModelKey<TypeMap, K>;\r\n } & {\r\n /**\r\n * @deprecated Use `$name` instead.\r\n */\r\n name: ModelKey<TypeMap, K>;\r\n };\r\n };\r\n } : never;\r\n};\r\n\r\nexport declare type DynamicModelExtensionFluentApi<TypeMap extends TypeMapDef, M extends PropertyKey, P extends PropertyKey, Null> = {\r\n [K in keyof TypeMap['model'][M]['payload']['objects']]: <A>(args?: Exact<A, Path<TypeMap['model'][M]['operations'][P]['args']['select'], [K]>>) => PrismaPromise<Path<DynamicModelExtensionFnResultBase<TypeMap, M, {\r\n select: {\r\n [P in K]: A;\r\n };\r\n }, P>, [K]> | Null> & DynamicModelExtensionFluentApi<TypeMap, (TypeMap['model'][M]['payload']['objects'][K] & {})['name'], P, Null | Select<TypeMap['model'][M]['payload']['objects'][K], null>>;\r\n};\r\n\r\nexport declare type DynamicModelExtensionFnResult<TypeMap extends TypeMapDef, M extends PropertyKey, A, P extends PropertyKey, Null> = P extends FluentOperation ? DynamicModelExtensionFluentApi<TypeMap, M, P, Null> & PrismaPromise<DynamicModelExtensionFnResultBase<TypeMap, M, A, P> | Null> : PrismaPromise<DynamicModelExtensionFnResultBase<TypeMap, M, A, P>>;\r\n\r\nexport declare type DynamicModelExtensionFnResultBase<TypeMap extends TypeMapDef, M extends PropertyKey, A, P extends PropertyKey> = GetResult<TypeMap['model'][M]['payload'], A, P & Operation, TypeMap['globalOmitOptions']>;\r\n\r\nexport declare type DynamicModelExtensionFnResultNull<P extends PropertyKey> = P extends 'findUnique' | 'findFirst' ? null : never;\r\n\r\nexport declare type DynamicModelExtensionOperationFn<TypeMap extends TypeMapDef, M extends PropertyKey, P extends PropertyKey> = {} extends TypeMap['model'][M]['operations'][P]['args'] ? <A extends TypeMap['model'][M]['operations'][P]['args']>(args?: Exact<A, TypeMap['model'][M]['operations'][P]['args']>) => DynamicModelExtensionFnResult<TypeMap, M, A, P, DynamicModelExtensionFnResultNull<P>> : <A extends TypeMap['model'][M]['operations'][P]['args']>(args: Exact<A, TypeMap['model'][M]['operations'][P]['args']>) => DynamicModelExtensionFnResult<TypeMap, M, A, P, DynamicModelExtensionFnResultNull<P>>;\r\n\r\nexport declare type DynamicModelExtensionThis<TypeMap extends TypeMapDef, M extends PropertyKey, ExtArgs extends Record<string, any>> = {\r\n [P in keyof ExtArgs['model'][Uncapitalize<M & string>]]: Return<ExtArgs['model'][Uncapitalize<M & string>][P]>;\r\n} & {\r\n [P in Exclude<keyof TypeMap['model'][M]['operations'], keyof ExtArgs['model'][Uncapitalize<M & string>]>]: DynamicModelExtensionOperationFn<TypeMap, M, P>;\r\n} & {\r\n [P in Exclude<'fields', keyof ExtArgs['model'][Uncapitalize<M & string>]>]: TypeMap['model'][M]['fields'];\r\n} & {\r\n [K: symbol]: {\r\n types: TypeMap['model'][M];\r\n };\r\n};\r\n\r\n/** Query */\r\nexport declare type DynamicQueryExtensionArgs<Q_, TypeMap extends TypeMapDef> = {\r\n [K in keyof Q_]: K extends '$allOperations' ? (args: {\r\n model?: string;\r\n operation: string;\r\n args: any;\r\n query: (args: any) => PrismaPromise<any>;\r\n }) => Promise<any> : K extends '$allModels' ? {\r\n [P in keyof Q_[K] | keyof TypeMap['model'][keyof TypeMap['model']]['operations'] | '$allOperations']?: P extends '$allOperations' ? DynamicQueryExtensionCb<TypeMap, 'model', keyof TypeMap['model'], keyof TypeMap['model'][keyof TypeMap['model']]['operations']> : P extends keyof TypeMap['model'][keyof TypeMap['model']]['operations'] ? DynamicQueryExtensionCb<TypeMap, 'model', keyof TypeMap['model'], P> : never;\r\n } : K extends TypeMap['meta']['modelProps'] ? {\r\n [P in keyof Q_[K] | keyof TypeMap['model'][ModelKey<TypeMap, K>]['operations'] | '$allOperations']?: P extends '$allOperations' ? DynamicQueryExtensionCb<TypeMap, 'model', ModelKey<TypeMap, K>, keyof TypeMap['model'][ModelKey<TypeMap, K>]['operations']> : P extends keyof TypeMap['model'][ModelKey<TypeMap, K>]['operations'] ? DynamicQueryExtensionCb<TypeMap, 'model', ModelKey<TypeMap, K>, P> : never;\r\n } : K extends keyof TypeMap['other']['operations'] ? DynamicQueryExtensionCb<[TypeMap], 0, 'other', K> : never;\r\n};\r\n\r\nexport declare type DynamicQueryExtensionCb<TypeMap extends TypeMapDef, _0 extends PropertyKey, _1 extends PropertyKey, _2 extends PropertyKey> = <A extends DynamicQueryExtensionCbArgs<TypeMap, _0, _1, _2>>(args: A) => Promise<TypeMap[_0][_1][_2]['result']>;\r\n\r\nexport declare type DynamicQueryExtensionCbArgs<TypeMap extends TypeMapDef, _0 extends PropertyKey, _1 extends PropertyKey, _2 extends PropertyKey> = (_1 extends unknown ? _2 extends unknown ? {\r\n args: DynamicQueryExtensionCbArgsArgs<TypeMap, _0, _1, _2>;\r\n model: _0 extends 0 ? undefined : _1;\r\n operation: _2;\r\n query: <A extends DynamicQueryExtensionCbArgsArgs<TypeMap, _0, _1, _2>>(args: A) => PrismaPromise<TypeMap[_0][_1]['operations'][_2]['result']>;\r\n} : never : never) & {\r\n query: (args: DynamicQueryExtensionCbArgsArgs<TypeMap, _0, _1, _2>) => PrismaPromise<TypeMap[_0][_1]['operations'][_2]['result']>;\r\n};\r\n\r\nexport declare type DynamicQueryExtensionCbArgsArgs<TypeMap extends TypeMapDef, _0 extends PropertyKey, _1 extends PropertyKey, _2 extends PropertyKey> = _2 extends '$queryRaw' | '$executeRaw' ? Sql : TypeMap[_0][_1]['operations'][_2]['args'];\r\n\r\n/** Result */\r\nexport declare type DynamicResultExtensionArgs<R_, TypeMap extends TypeMapDef> = {\r\n [K in keyof R_]: {\r\n [P in keyof R_[K]]?: {\r\n needs?: DynamicResultExtensionNeeds<TypeMap, ModelKey<TypeMap, K>, R_[K][P]>;\r\n compute(data: DynamicResultExtensionData<TypeMap, ModelKey<TypeMap, K>, R_[K][P]>): any;\r\n };\r\n };\r\n};\r\n\r\nexport declare type DynamicResultExtensionData<TypeMap extends TypeMapDef, M extends PropertyKey, S> = GetFindResult<TypeMap['model'][M]['payload'], {\r\n select: S;\r\n}, {}>;\r\n\r\nexport declare type DynamicResultExtensionNeeds<TypeMap extends TypeMapDef, M extends PropertyKey, S> = {\r\n [K in keyof S]: K extends keyof TypeMap['model'][M]['payload']['scalars'] ? S[K] : never;\r\n} & {\r\n [N in keyof TypeMap['model'][M]['payload']['scalars']]?: boolean;\r\n};\r\n\r\n/**\r\n * Placeholder value for \"no text\".\r\n */\r\nexport declare const empty: Sql;\r\n\r\nexport declare type EmptyToUnknown<T> = T;\r\n\r\ndeclare interface Engine<InteractiveTransactionPayload = unknown> {\r\n /** The name of the engine. This is meant to be consumed externally */\r\n readonly name: string;\r\n onBeforeExit(callback: () => Promise<void>): void;\r\n start(): Promise<void>;\r\n stop(): Promise<void>;\r\n version(forceRun?: boolean): Promise<string> | string;\r\n request<T>(query: JsonQuery, options: RequestOptions<InteractiveTransactionPayload>): Promise<QueryEngineResultData<T>>;\r\n requestBatch<T>(queries: JsonQuery[], options: RequestBatchOptions<InteractiveTransactionPayload>): Promise<BatchQueryEngineResult<T>[]>;\r\n transaction(action: 'start', headers: Transaction_2.TransactionHeaders, options: Transaction_2.Options): Promise<Transaction_2.InteractiveTransactionInfo<unknown>>;\r\n transaction(action: 'commit', headers: Transaction_2.TransactionHeaders, info: Transaction_2.InteractiveTransactionInfo<unknown>): Promise<void>;\r\n transaction(action: 'rollback', headers: Transaction_2.TransactionHeaders, info: Transaction_2.InteractiveTransactionInfo<unknown>): Promise<void>;\r\n metrics(options: MetricsOptionsJson): Promise<Metrics>;\r\n metrics(options: MetricsOptionsPrometheus): Promise<string>;\r\n applyPendingMigrations(): Promise<void>;\r\n}\r\n\r\ndeclare interface EngineConfig {\r\n cwd: string;\r\n dirname: string;\r\n enableDebugLogs?: boolean;\r\n allowTriggerPanic?: boolean;\r\n prismaPath?: string;\r\n generator?: GeneratorConfig;\r\n /**\r\n * @remarks this field is used internally by Policy, do not rename or remove\r\n */\r\n overrideDatasources: Datasources;\r\n showColors?: boolean;\r\n logQueries?: boolean;\r\n logLevel?: 'info' | 'warn';\r\n env: Record<string, string>;\r\n flags?: string[];\r\n clientVersion: string;\r\n engineVersion: string;\r\n previewFeatures?: string[];\r\n engineEndpoint?: string;\r\n activeProvider?: string;\r\n logEmitter: LogEmitter;\r\n transactionOptions: Transaction_2.Options;\r\n /**\r\n * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-planetscale`.\r\n * If set, this is only used in the library engine, and all queries would be performed through it,\r\n * rather than Prisma's Rust drivers.\r\n * @remarks only used by LibraryEngine.ts\r\n */\r\n adapter?: SqlDriverAdapterFactory;\r\n /**\r\n * The contents of the schema encoded into a string\r\n */\r\n inlineSchema: string;\r\n /**\r\n * The contents of the datasource url saved in a string\r\n * @remarks only used by DataProxyEngine.ts\r\n * @remarks this field is used internally by Policy, do not rename or remove\r\n */\r\n inlineDatasources: GetPrismaClientConfig['inlineDatasources'];\r\n /**\r\n * The string hash that was produced for a given schema\r\n * @remarks only used by DataProxyEngine.ts\r\n */\r\n inlineSchemaHash: string;\r\n /**\r\n * The helper for interaction with OTEL tracing\r\n * @remarks enabling is determined by the client and @prisma/instrumentation package\r\n */\r\n tracingHelper: TracingHelper;\r\n /**\r\n * Information about whether we have not found a schema.prisma file in the\r\n * default location, and that we fell back to finding the schema.prisma file\r\n * in the current working directory. This usually means it has been bundled.\r\n */\r\n isBundled?: boolean;\r\n /**\r\n * Web Assembly module loading configuration\r\n */\r\n engineWasm?: EngineWasmLoadingConfig;\r\n compilerWasm?: CompilerWasmLoadingConfig;\r\n /**\r\n * Allows Accelerate to use runtime utilities from the client. These are\r\n * necessary for the AccelerateEngine to function correctly.\r\n */\r\n accelerateUtils?: {\r\n resolveDatasourceUrl: typeof resolveDatasourceUrl;\r\n getBatchRequestPayload: typeof getBatchRequestPayload;\r\n prismaGraphQLToJSError: typeof prismaGraphQLToJSError;\r\n PrismaClientUnknownRequestError: typeof PrismaClientUnknownRequestError;\r\n PrismaClientInitializationError: typeof PrismaClientInitializationError;\r\n PrismaClientKnownRequestError: typeof PrismaClientKnownRequestError;\r\n debug: (...args: any[]) => void;\r\n engineVersion: string;\r\n clientVersion: string;\r\n };\r\n}\r\n\r\ndeclare type EngineEvent<E extends EngineEventType> = E extends QueryEventType ? QueryEvent : LogEvent;\r\n\r\ndeclare type EngineEventType = QueryEventType | LogEventType;\r\n\r\ndeclare type EngineSpan = {\r\n id: EngineSpanId;\r\n parentId: string | null;\r\n name: string;\r\n startTime: HrTime;\r\n endTime: HrTime;\r\n kind: EngineSpanKind;\r\n attributes?: Record<string, unknown>;\r\n links?: EngineSpanId[];\r\n};\r\n\r\ndeclare type EngineSpanId = string;\r\n\r\ndeclare type EngineSpanKind = 'client' | 'internal';\r\n\r\ndeclare type EngineWasmLoadingConfig = {\r\n /**\r\n * WASM-bindgen runtime for corresponding module\r\n */\r\n getRuntime: () => Promise<{\r\n __wbg_set_wasm(exports: unknown): void;\r\n QueryEngine: QueryEngineConstructor;\r\n }>;\r\n /**\r\n * Loads the raw wasm module for the wasm query engine. This configuration is\r\n * generated specifically for each type of client, eg. Node.js client and Edge\r\n * clients will have different implementations.\r\n * @remarks this is a callback on purpose, we only load the wasm if needed.\r\n * @remarks only used by LibraryEngine\r\n */\r\n getQueryEngineWasmModule: () => Promise<unknown>;\r\n};\r\n\r\ndeclare type EnumValue = ReadonlyDeep_2<{\r\n name: string;\r\n dbName: string | null;\r\n}>;\r\n\r\ndeclare type EnvPaths = {\r\n rootEnvPath: string | null;\r\n schemaEnvPath: string | undefined;\r\n};\r\n\r\ndeclare interface EnvValue {\r\n fromEnvVar: null | string;\r\n value: null | string;\r\n}\r\n\r\nexport declare type Equals<A, B> = (<T>() => T extends A ? 1 : 2) extends (<T>() => T extends B ? 1 : 2) ? 1 : 0;\r\n\r\ndeclare type Error_2 = {\r\n kind: 'GenericJs';\r\n id: number;\r\n} | {\r\n kind: 'UnsupportedNativeDataType';\r\n type: string;\r\n} | {\r\n kind: 'InvalidIsolationLevel';\r\n level: string;\r\n} | {\r\n kind: 'LengthMismatch';\r\n column?: string;\r\n} | {\r\n kind: 'UniqueConstraintViolation';\r\n fields: string[];\r\n} | {\r\n kind: 'NullConstraintViolation';\r\n fields: string[];\r\n} | {\r\n kind: 'ForeignKeyConstraintViolation';\r\n constraint?: {\r\n fields: string[];\r\n } | {\r\n index: string;\r\n } | {\r\n foreignKey: {};\r\n };\r\n} | {\r\n kind: 'DatabaseDoesNotExist';\r\n db?: string;\r\n} | {\r\n kind: 'DatabaseAlreadyExists';\r\n db?: string;\r\n} | {\r\n kind: 'DatabaseAccessDenied';\r\n db?: string;\r\n} | {\r\n kind: 'AuthenticationFailed';\r\n user?: string;\r\n} | {\r\n kind: 'TransactionWriteConflict';\r\n} | {\r\n kind: 'TableDoesNotExist';\r\n table?: string;\r\n} | {\r\n kind: 'ColumnNotFound';\r\n column?: string;\r\n} | {\r\n kind: 'TooManyConnections';\r\n cause: string;\r\n} | {\r\n kind: 'SocketTimeout';\r\n} | {\r\n kind: 'postgres';\r\n code: string;\r\n severity: string;\r\n message: string;\r\n detail: string | undefined;\r\n column: string | undefined;\r\n hint: string | undefined;\r\n} | {\r\n kind: 'mysql';\r\n code: number;\r\n message: string;\r\n state: string;\r\n} | {\r\n kind: 'sqlite';\r\n /**\r\n * Sqlite extended error code: https://www.sqlite.org/rescode.html\r\n */\r\n extendedCode: number;\r\n message: string;\r\n};\r\n\r\ndeclare type ErrorCapturingFunction<T> = T extends (...args: infer A) => Promise<infer R> ? (...args: A) => Promise<Result_4<ErrorCapturingInterface<R>>> : T extends (...args: infer A) => infer R ? (...args: A) => Result_4<ErrorCapturingInterface<R>> : T;\r\n\r\ndeclare type ErrorCapturingInterface<T> = {\r\n [K in keyof T]: ErrorCapturingFunction<T[K]>;\r\n};\r\n\r\ndeclare interface ErrorCapturingSqlDriverAdapter extends ErrorCapturingInterface<SqlDriverAdapter> {\r\n readonly errorRegistry: ErrorRegistry;\r\n}\r\n\r\ndeclare type ErrorFormat = 'pretty' | 'colorless' | 'minimal';\r\n\r\ndeclare type ErrorRecord = {\r\n error: unknown;\r\n};\r\n\r\ndeclare interface ErrorRegistry {\r\n consumeError(id: number): ErrorRecord | undefined;\r\n}\r\n\r\ndeclare interface ErrorWithBatchIndex {\r\n batchRequestIdx?: number;\r\n}\r\n\r\ndeclare type EventCallback<E extends ExtendedEventType> = [E] extends ['beforeExit'] ? () => Promise<void> : [E] extends [LogLevel] ? (event: EngineEvent<E>) => void : never;\r\n\r\nexport declare type Exact<A, W> = (A extends unknown ? (W extends A ? {\r\n [K in keyof A]: Exact<A[K], W[K]>;\r\n} : W) : never) | (A extends Narrowable ? A : never);\r\n\r\n/**\r\n * Defines Exception.\r\n *\r\n * string or an object with one of (message or name or code) and optional stack\r\n */\r\ndeclare type Exception = ExceptionWithCode | ExceptionWithMessage | ExceptionWithName | string;\r\n\r\ndeclare interface ExceptionWithCode {\r\n code: string | number;\r\n name?: string;\r\n message?: string;\r\n stack?: string;\r\n}\r\n\r\ndeclare interface ExceptionWithMessage {\r\n code?: string | number;\r\n message: string;\r\n name?: string;\r\n stack?: string;\r\n}\r\n\r\ndeclare interface ExceptionWithName {\r\n code?: string | number;\r\n message?: string;\r\n name: string;\r\n stack?: string;\r\n}\r\n\r\ndeclare type ExtendedEventType = LogLevel | 'beforeExit';\r\n\r\ndeclare type ExtendedSpanOptions = SpanOptions & {\r\n /** The name of the span */\r\n name: string;\r\n internal?: boolean;\r\n middleware?: boolean;\r\n /** Whether it propagates context (?=true) */\r\n active?: boolean;\r\n /** The context to append the span to */\r\n context?: Context;\r\n};\r\n\r\n/** $extends, defineExtension */\r\nexport declare interface ExtendsHook<Variant extends 'extends' | 'define', TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>, TypeMap extends TypeMapDef = Call<TypeMapCb, {\r\n extArgs: ExtArgs;\r\n}>> {\r\n extArgs: ExtArgs;\r\n <R_ extends {\r\n [K in TypeMap['meta']['modelProps'] | '$allModels']?: unknown;\r\n }, R, M_ extends {\r\n [K in TypeMap['meta']['modelProps'] | '$allModels']?: unknown;\r\n }, M, Q_ extends {\r\n [K in TypeMap['meta']['modelProps'] | '$allModels' | keyof TypeMap['other']['operations'] | '$allOperations']?: unknown;\r\n }, C_ extends {\r\n [K in string]?: unknown;\r\n }, C, Args extends InternalArgs = InternalArgs<R, M, {}, C>, MergedArgs extends InternalArgs = MergeExtArgs<TypeMap, ExtArgs, Args>>(extension: ((client: DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>) => {\r\n $extends: {\r\n extArgs: Args;\r\n };\r\n }) | {\r\n name?: string;\r\n query?: DynamicQueryExtensionArgs<Q_, TypeMap>;\r\n result?: DynamicResultExtensionArgs<R_, TypeMap> & R;\r\n model?: DynamicModelExtensionArgs<M_, TypeMap, TypeMapCb, ExtArgs> & M;\r\n client?: DynamicClientExtensionArgs<C_, TypeMap, TypeMapCb, ExtArgs> & C;\r\n }): {\r\n extends: DynamicClientExtensionThis<Call<TypeMapCb, {\r\n extArgs: MergedArgs;\r\n }>, TypeMapCb, MergedArgs>;\r\n define: (client: any) => {\r\n $extends: {\r\n extArgs: Args;\r\n };\r\n };\r\n }[Variant];\r\n}\r\n\r\nexport declare type ExtensionArgs = Optional<RequiredExtensionArgs>;\r\n\r\ndeclare namespace Extensions {\r\n export {\r\n defineExtension,\r\n getExtensionContext\r\n }\r\n}\r\nexport { Extensions }\r\n\r\ndeclare namespace Extensions_2 {\r\n export {\r\n InternalArgs,\r\n DefaultArgs,\r\n GetPayloadResultExtensionKeys,\r\n GetPayloadResultExtensionObject,\r\n GetPayloadResult,\r\n GetSelect,\r\n GetOmit,\r\n DynamicQueryExtensionArgs,\r\n DynamicQueryExtensionCb,\r\n DynamicQueryExtensionCbArgs,\r\n DynamicQueryExtensionCbArgsArgs,\r\n DynamicResultExtensionArgs,\r\n DynamicResultExtensionNeeds,\r\n DynamicResultExtensionData,\r\n DynamicModelExtensionArgs,\r\n DynamicModelExtensionThis,\r\n DynamicModelExtensionOperationFn,\r\n DynamicModelExtensionFnResult,\r\n DynamicModelExtensionFnResultBase,\r\n DynamicModelExtensionFluentApi,\r\n DynamicModelExtensionFnResultNull,\r\n DynamicClientExtensionArgs,\r\n DynamicClientExtensionThis,\r\n ClientBuiltInProp,\r\n DynamicClientExtensionThisBuiltin,\r\n ExtendsHook,\r\n MergeExtArgs,\r\n AllModelsToStringIndex,\r\n TypeMapDef,\r\n DevTypeMapDef,\r\n DevTypeMapFnDef,\r\n ClientOptionDef,\r\n ClientOtherOps,\r\n TypeMapCbDef,\r\n ModelKey,\r\n RequiredExtensionArgs as UserArgs\r\n }\r\n}\r\n\r\nexport declare type ExtractGlobalOmit<Options, ModelName extends string> = Options extends {\r\n omit: {\r\n [K in ModelName]: infer GlobalOmit;\r\n };\r\n} ? GlobalOmit : {};\r\n\r\ndeclare type Field = ReadonlyDeep_2<{\r\n kind: FieldKind;\r\n name: string;\r\n isRequired: boolean;\r\n isList: boolean;\r\n isUnique: boolean;\r\n isId: boolean;\r\n isReadOnly: boolean;\r\n isGenerated?: boolean;\r\n isUpdatedAt?: boolean;\r\n /**\r\n * Describes the data type in the same the way it is defined in the Prisma schema:\r\n * BigInt, Boolean, Bytes, DateTime, Decimal, Float, Int, JSON, String, $ModelName\r\n */\r\n type: string;\r\n /**\r\n * Native database type, if specified.\r\n * For example, `@db.VarChar(191)` is encoded as `['VarChar', ['191']]`,\r\n * `@db.Text` is encoded as `['Text', []]`.\r\n */\r\n nativeType?: [string, string[]] | null;\r\n dbName?: string | null;\r\n hasDefaultValue: boolean;\r\n default?: FieldDefault | FieldDefaultScalar | FieldDefaultScalar[];\r\n relationFromFields?: string[];\r\n relationToFields?: string[];\r\n relationOnDelete?: string;\r\n relationOnUpdate?: string;\r\n relationName?: string;\r\n documentation?: string;\r\n}>;\r\n\r\ndeclare type FieldDefault = ReadonlyDeep_2<{\r\n name: string;\r\n args: Array<string | number>;\r\n}>;\r\n\r\ndeclare type FieldDefaultScalar = string | boolean | number;\r\n\r\ndeclare type FieldKind = 'scalar' | 'object' | 'enum' | 'unsupported';\r\n\r\ndeclare type FieldLocation = 'scalar' | 'inputObjectTypes' | 'outputObjectTypes' | 'enumTypes' | 'fieldRefTypes';\r\n\r\ndeclare type FieldNamespace = 'model' | 'prisma';\r\n\r\n/**\r\n * A reference to a specific field of a specific model\r\n */\r\nexport declare interface FieldRef<Model, FieldType> {\r\n readonly modelName: Model;\r\n readonly name: string;\r\n readonly typeName: FieldType;\r\n readonly isList: boolean;\r\n}\r\n\r\ndeclare type FieldRefAllowType = TypeRef<'scalar' | 'enumTypes'>;\r\n\r\ndeclare type FieldRefType = ReadonlyDeep_2<{\r\n name: string;\r\n allowTypes: FieldRefAllowType[];\r\n fields: SchemaArg[];\r\n}>;\r\n\r\ndeclare type FluentOperation = 'findUnique' | 'findUniqueOrThrow' | 'findFirst' | 'findFirstOrThrow' | 'create' | 'update' | 'upsert' | 'delete';\r\n\r\nexport declare interface Fn<Params = unknown, Returns = unknown> {\r\n params: Params;\r\n returns: Returns;\r\n}\r\n\r\ndeclare interface GeneratorConfig {\r\n name: string;\r\n output: EnvValue | null;\r\n isCustomOutput?: boolean;\r\n provider: EnvValue;\r\n config: {\r\n /** `output` is a reserved name and will only be available directly at `generator.output` */\r\n output?: never;\r\n /** `provider` is a reserved name and will only be available directly at `generator.provider` */\r\n provider?: never;\r\n /** `binaryTargets` is a reserved name and will only be available directly at `generator.binaryTargets` */\r\n binaryTargets?: never;\r\n /** `previewFeatures` is a reserved name and will only be available directly at `generator.previewFeatures` */\r\n previewFeatures?: never;\r\n } & {\r\n [key: string]: string | string[] | undefined;\r\n };\r\n binaryTargets: BinaryTargetsEnvValue[];\r\n previewFeatures: string[];\r\n envPaths?: EnvPaths;\r\n sourceFilePath: string;\r\n}\r\n\r\nexport declare type GetAggregateResult<P extends OperationPayload, A> = {\r\n [K in keyof A as K extends Aggregate ? K : never]: K extends '_count' ? A[K] extends true ? number : Count<A[K]> : {\r\n [J in keyof A[K] & string]: P['scalars'][J] | null;\r\n };\r\n};\r\n\r\ndeclare function getBatchRequestPayload(batch: JsonQuery[], transaction?: TransactionOptions_3<unknown>): QueryEngineBatchRequest;\r\n\r\nexport declare type GetBatchResult = {\r\n count: number;\r\n};\r\n\r\nexport declare type GetCountResult<A> = A extends {\r\n select: infer S;\r\n} ? (S extends true ? number : Count<S>) : number;\r\n\r\ndeclare function getExtensionContext<T>(that: T): Context_2<T>;\r\n\r\nexport declare type GetFindResult<P extends OperationPayload, A, GlobalOmitOptions> = Equals<A, any> extends 1 ? DefaultSelection<P, A, GlobalOmitOptions> : A extends {\r\n select: infer S extends object;\r\n} & Record<string, unknown> | {\r\n include: infer I extends object;\r\n} & Record<string, unknown> ? {\r\n [K in keyof S | keyof I as (S & I)[K] extends false | undefined | Skip | null ? never : K]: (S & I)[K] extends object ? P extends SelectablePayloadFields<K, (infer O)[]> ? O extends OperationPayload ? GetFindResult<O, (S & I)[K], GlobalOmitOptions>[] : never : P extends SelectablePayloadFields<K, infer O | null> ? O extends OperationPayload ? GetFindResult<O, (S & I)[K], GlobalOmitOptions> | SelectField<P, K> & null : never : K extends '_count' ? Count<GetFindResult<P, (S & I)[K], GlobalOmitOptions>> : never : P extends SelectablePayloadFields<K, (infer O)[]> ? O extends OperationPayload ? DefaultSelection<O, {}, GlobalOmitOptions>[] : never : P extends SelectablePayloadFields<K, infer O | null> ? O extends OperationPayload ? DefaultSelection<O, {}, GlobalOmitOptions> | SelectField<P, K> & null : never : P extends {\r\n scalars: {\r\n [k in K]: infer O;\r\n };\r\n } ? O : K extends '_count' ? Count<P['objects']> : never;\r\n} & (A extends {\r\n include: any;\r\n} & Record<string, unknown> ? DefaultSelection<P, A & {\r\n omit: A['omit'];\r\n}, GlobalOmitOptions> : unknown) : DefaultSelection<P, A, GlobalOmitOptions>;\r\n\r\nexport declare type GetGroupByResult<P extends OperationPayload, A> = A extends {\r\n by: string[];\r\n} ? Array<GetAggregateResult<P, A> & {\r\n [K in A['by'][number]]: P['scalars'][K];\r\n}> : A extends {\r\n by: string;\r\n} ? Array<GetAggregateResult<P, A> & {\r\n [K in A['by']]: P['scalars'][K];\r\n}> : {}[];\r\n\r\nexport declare type GetOmit<BaseKeys extends string, R extends InternalArgs['result'][string], ExtraType = never> = {\r\n [K in (string extends keyof R ? never : keyof R) | BaseKeys]?: boolean | ExtraType;\r\n};\r\n\r\nexport declare type GetPayloadResult<Base extends Record<any, any>, R extends InternalArgs['result'][string]> = Omit<Base, GetPayloadResultExtensionKeys<R>> & GetPayloadResultExtensionObject<R>;\r\n\r\nexport declare type GetPayloadResultExtensionKeys<R extends InternalArgs['result'][string], KR extends keyof R = string extends keyof R ? never : keyof R> = KR;\r\n\r\nexport declare type GetPayloadResultExtensionObject<R extends InternalArgs['result'][string]> = {\r\n [K in GetPayloadResultExtensionKeys<R>]: R[K] extends () => {\r\n compute: (...args: any) => infer C;\r\n } ? C : never;\r\n};\r\n\r\nexport declare function getPrismaClient(config: GetPrismaClientConfig): {\r\n new (optionsArg?: PrismaClientOptions): {\r\n _originalClient: any;\r\n _runtimeDataModel: RuntimeDataModel;\r\n _requestHandler: RequestHandler;\r\n _connectionPromise?: Promise<any> | undefined;\r\n _disconnectionPromise?: Promise<any> | undefined;\r\n _engineConfig: EngineConfig;\r\n _accelerateEngineConfig: AccelerateEngineConfig;\r\n _clientVersion: string;\r\n _errorFormat: ErrorFormat;\r\n _tracingHelper: TracingHelper;\r\n _middlewares: MiddlewareHandler<QueryMiddleware>;\r\n _previewFeatures: string[];\r\n _activeProvider: string;\r\n _globalOmit?: GlobalOmitOptions | undefined;\r\n _extensions: MergedExtensionsList;\r\n /**\r\n * @remarks This is used internally by Policy, do not rename or remove\r\n */\r\n _engine: Engine;\r\n /**\r\n * A fully constructed/applied Client that references the parent\r\n * PrismaClient. This is used for Client extensions only.\r\n */\r\n _appliedParent: any;\r\n _createPrismaPromise: PrismaPromiseFactory;\r\n /**\r\n * Hook a middleware into the client\r\n * @param middleware to hook\r\n */\r\n $use(middleware: QueryMiddleware): void;\r\n $on<E extends ExtendedEventType>(eventType: E, callback: EventCallback<E>): any;\r\n $connect(): Promise<void>;\r\n /**\r\n * Disconnect from the database\r\n */\r\n $disconnect(): Promise<void>;\r\n /**\r\n * Executes a raw query and always returns a number\r\n */\r\n $executeRawInternal(transaction: PrismaPromiseTransaction | undefined, clientMethod: string, args: RawQueryArgs, middlewareArgsMapper?: MiddlewareArgsMapper<unknown, unknown>): Promise<number>;\r\n /**\r\n * Executes a raw query provided through a safe tag function\r\n * @see https://github.com/prisma/prisma/issues/7142\r\n *\r\n * @param query\r\n * @param values\r\n * @returns\r\n */\r\n $executeRaw(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Unsafe counterpart of `$executeRaw` that is susceptible to SQL injections\r\n * @see https://github.com/prisma/prisma/issues/7142\r\n *\r\n * @param query\r\n * @param values\r\n * @returns\r\n */\r\n $executeRawUnsafe(query: string, ...values: RawValue[]): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Executes a raw command only for MongoDB\r\n *\r\n * @param command\r\n * @returns\r\n */\r\n $runCommandRaw(command: Record<string, JsInputValue>): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Executes a raw query and returns selected data\r\n */\r\n $queryRawInternal(transaction: PrismaPromiseTransaction | undefined, clientMethod: string, args: RawQueryArgs, middlewareArgsMapper?: MiddlewareArgsMapper<unknown, unknown>): Promise<any>;\r\n /**\r\n * Executes a raw query provided through a safe tag function\r\n * @see https://github.com/prisma/prisma/issues/7142\r\n *\r\n * @param query\r\n * @param values\r\n * @returns\r\n */\r\n $queryRaw(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Counterpart to $queryRaw, that returns strongly typed results\r\n * @param typedSql\r\n */\r\n $queryRawTyped(typedSql: UnknownTypedSql): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Unsafe counterpart of `$queryRaw` that is susceptible to SQL injections\r\n * @see https://github.com/prisma/prisma/issues/7142\r\n *\r\n * @param query\r\n * @param values\r\n * @returns\r\n */\r\n $queryRawUnsafe(query: string, ...values: RawValue[]): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Execute a batch of requests in a transaction\r\n * @param requests\r\n * @param options\r\n */\r\n _transactionWithArray({ promises, options, }: {\r\n promises: Array<PrismaPromise_2<any>>;\r\n options?: BatchTransactionOptions;\r\n }): Promise<any>;\r\n /**\r\n * Perform a long-running transaction\r\n * @param callback\r\n * @param options\r\n * @returns\r\n */\r\n _transactionWithCallback({ callback, options, }: {\r\n callback: (client: Client) => Promise<unknown>;\r\n options?: TransactionOptions_2;\r\n }): Promise<unknown>;\r\n _createItxClient(transaction: PrismaPromiseInteractiveTransaction): Client;\r\n /**\r\n * Execute queries within a transaction\r\n * @param input a callback or a query list\r\n * @param options to set timeouts (callback)\r\n * @returns\r\n */\r\n $transaction(input: any, options?: any): Promise<any>;\r\n /**\r\n * Runs the middlewares over params before executing a request\r\n * @param internalParams\r\n * @returns\r\n */\r\n _request(internalParams: InternalRequestParams): Promise<any>;\r\n _executeRequest({ args, clientMethod, dataPath, callsite, action, model, argsMapper, transaction, unpacker, otelParentCtx, customDataProxyFetch, }: InternalRequestParams): Promise<any>;\r\n $metrics: MetricsClient;\r\n /**\r\n * Shortcut for checking a preview flag\r\n * @param feature preview flag\r\n * @returns\r\n */\r\n _hasPreviewFlag(feature: string): boolean;\r\n $applyPendingMigrations(): Promise<void>;\r\n $extends: typeof $extends;\r\n readonly [Symbol.toStringTag]: string;\r\n };\r\n};\r\n\r\n/**\r\n * Config that is stored into the generated client. When the generated client is\r\n * loaded, this same config is passed to {@link getPrismaClient} which creates a\r\n * closure with that config around a non-instantiated [[PrismaClient]].\r\n */\r\nexport declare type GetPrismaClientConfig = {\r\n runtimeDataModel: RuntimeDataModel;\r\n generator?: GeneratorConfig;\r\n relativeEnvPaths?: {\r\n rootEnvPath?: string | null;\r\n schemaEnvPath?: string | null;\r\n };\r\n relativePath: string;\r\n dirname: string;\r\n clientVersion: string;\r\n engineVersion: string;\r\n datasourceNames: string[];\r\n activeProvider: ActiveConnectorType;\r\n /**\r\n * The contents of the schema encoded into a string\r\n * @remarks only used for the purpose of data proxy\r\n */\r\n inlineSchema: string;\r\n /**\r\n * A special env object just for the data proxy edge runtime.\r\n * Allows bundlers to inject their own env variables (Vercel).\r\n * Allows platforms to declare global variables as env (Workers).\r\n * @remarks only used for the purpose of data proxy\r\n */\r\n injectableEdgeEnv?: () => LoadedEnv;\r\n /**\r\n * The contents of the datasource url saved in a string.\r\n * This can either be an env var name or connection string.\r\n * It is needed by the client to connect to the Data Proxy.\r\n * @remarks only used for the purpose of data proxy\r\n */\r\n inlineDatasources: {\r\n [name in string]: {\r\n url: EnvValue;\r\n };\r\n };\r\n /**\r\n * The string hash that was produced for a given schema\r\n * @remarks only used for the purpose of data proxy\r\n */\r\n inlineSchemaHash: string;\r\n /**\r\n * A marker to indicate that the client was not generated via `prisma\r\n * generate` but was generated via `generate --postinstall` script instead.\r\n * @remarks used to error for Vercel/Netlify for schema caching issues\r\n */\r\n postinstall?: boolean;\r\n /**\r\n * Information about the CI where the Prisma Client has been generated. The\r\n * name of the CI environment is stored at generation time because CI\r\n * information is not always available at runtime. Moreover, the edge client\r\n * has no notion of environment variables, so this works around that.\r\n * @remarks used to error for Vercel/Netlify for schema caching issues\r\n */\r\n ciName?: string;\r\n /**\r\n * Information about whether we have not found a schema.prisma file in the\r\n * default location, and that we fell back to finding the schema.prisma file\r\n * in the current working directory. This usually means it has been bundled.\r\n */\r\n isBundled?: boolean;\r\n /**\r\n * A boolean that is `false` when the client was generated with --no-engine. At\r\n * runtime, this means the client will be bound to be using the Data Proxy.\r\n */\r\n copyEngine?: boolean;\r\n /**\r\n * Optional wasm loading configuration\r\n */\r\n engineWasm?: EngineWasmLoadingConfig;\r\n compilerWasm?: CompilerWasmLoadingConfig;\r\n};\r\n\r\nexport declare type GetResult<Payload extends OperationPayload, Args, OperationName extends Operation = 'findUniqueOrThrow', GlobalOmitOptions = {}> = {\r\n findUnique: GetFindResult<Payload, Args, GlobalOmitOptions> | null;\r\n findUniqueOrThrow: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n findFirst: GetFindResult<Payload, Args, GlobalOmitOptions> | null;\r\n findFirstOrThrow: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n findMany: GetFindResult<Payload, Args, GlobalOmitOptions>[];\r\n create: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n createMany: GetBatchResult;\r\n createManyAndReturn: GetFindResult<Payload, Args, GlobalOmitOptions>[];\r\n update: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n updateMany: GetBatchResult;\r\n updateManyAndReturn: GetFindResult<Payload, Args, GlobalOmitOptions>[];\r\n upsert: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n delete: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n deleteMany: GetBatchResult;\r\n aggregate: GetAggregateResult<Payload, Args>;\r\n count: GetCountResult<Args>;\r\n groupBy: GetGroupByResult<Payload, Args>;\r\n $queryRaw: unknown;\r\n $queryRawTyped: unknown;\r\n $executeRaw: number;\r\n $queryRawUnsafe: unknown;\r\n $executeRawUnsafe: number;\r\n $runCommandRaw: JsonObject;\r\n findRaw: JsonObject;\r\n aggregateRaw: JsonObject;\r\n}[OperationName];\r\n\r\nexport declare function getRuntime(): GetRuntimeOutput;\r\n\r\ndeclare type GetRuntimeOutput = {\r\n id: RuntimeName;\r\n prettyName: string;\r\n isEdge: boolean;\r\n};\r\n\r\nexport declare type GetSelect<Base extends Record<any, any>, R extends InternalArgs['result'][string], KR extends keyof R = string extends keyof R ? never : keyof R> = {\r\n [K in KR | keyof Base]?: K extends KR ? boolean : Base[K];\r\n};\r\n\r\ndeclare type GlobalOmitOptions = {\r\n [modelName: string]: {\r\n [fieldName: string]: boolean;\r\n };\r\n};\r\n\r\ndeclare type HandleErrorParams = {\r\n args: JsArgs;\r\n error: any;\r\n clientMethod: string;\r\n callsite?: CallSite;\r\n transaction?: PrismaPromiseTransaction;\r\n modelName?: string;\r\n globalOmit?: GlobalOmitOptions;\r\n};\r\n\r\ndeclare type HrTime = [number, number];\r\n\r\n/**\r\n * Defines High-Resolution Time.\r\n *\r\n * The first number, HrTime[0], is UNIX Epoch time in seconds since 00:00:00 UTC on 1 January 1970.\r\n * The second number, HrTime[1], represents the partial second elapsed since Unix Epoch time represented by first number in nanoseconds.\r\n * For example, 2021-01-01T12:30:10.150Z in UNIX Epoch time in milliseconds is represented as 1609504210150.\r\n * The first number is calculated by converting and truncating the Epoch time in milliseconds to seconds:\r\n * HrTime[0] = Math.trunc(1609504210150 / 1000) = 1609504210.\r\n * The second number is calculated by converting the digits after the decimal point of the subtraction, (1609504210150 / 1000) - HrTime[0], to nanoseconds:\r\n * HrTime[1] = Number((1609504210.150 - HrTime[0]).toFixed(9)) * 1e9 = 150000000.\r\n * This is represented in HrTime format as [1609504210, 150000000].\r\n */\r\ndeclare type HrTime_2 = [number, number];\r\n\r\ndeclare type Index = ReadonlyDeep_2<{\r\n model: string;\r\n type: IndexType;\r\n isDefinedOnField: boolean;\r\n name?: string;\r\n dbName?: string;\r\n algorithm?: string;\r\n clustered?: boolean;\r\n fields: IndexField[];\r\n}>;\r\n\r\ndeclare type IndexField = ReadonlyDeep_2<{\r\n name: string;\r\n sortOrder?: SortOrder;\r\n length?: number;\r\n operatorClass?: string;\r\n}>;\r\n\r\ndeclare type IndexType = 'id' | 'normal' | 'unique' | 'fulltext';\r\n\r\n/**\r\n * Matches a JSON array.\r\n * Unlike \\`JsonArray\\`, readonly arrays are assignable to this type.\r\n */\r\nexport declare interface InputJsonArray extends ReadonlyArray<InputJsonValue | null> {\r\n}\r\n\r\n/**\r\n * Matches a JSON object.\r\n * Unlike \\`JsonObject\\`, this type allows undefined and read-only properties.\r\n */\r\nexport declare type InputJsonObject = {\r\n readonly [Key in string]?: InputJsonValue | null;\r\n};\r\n\r\n/**\r\n * Matches any valid value that can be used as an input for operations like\r\n * create and update as the value of a JSON field. Unlike \\`JsonValue\\`, this\r\n * type allows read-only arrays and read-only object properties and disallows\r\n * \\`null\\` at the top level.\r\n *\r\n * \\`null\\` cannot be used as the value of a JSON field because its meaning\r\n * would be ambiguous. Use \\`Prisma.JsonNull\\` to store the JSON null value or\r\n * \\`Prisma.DbNull\\` to clear the JSON value and set the field to the database\r\n * NULL value instead.\r\n *\r\n * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-by-null-values\r\n */\r\nexport declare type InputJsonValue = string | number | boolean | InputJsonObject | InputJsonArray | {\r\n toJSON(): unknown;\r\n};\r\n\r\ndeclare type InputType = ReadonlyDeep_2<{\r\n name: string;\r\n constraints: {\r\n maxNumFields: number | null;\r\n minNumFields: number | null;\r\n fields?: string[];\r\n };\r\n meta?: {\r\n source?: string;\r\n grouping?: string;\r\n };\r\n fields: SchemaArg[];\r\n}>;\r\n\r\ndeclare type InputTypeRef = TypeRef<'scalar' | 'inputObjectTypes' | 'enumTypes' | 'fieldRefTypes'>;\r\n\r\ndeclare type InteractiveTransactionInfo<Payload = unknown> = {\r\n /**\r\n * Transaction ID returned by the query engine.\r\n */\r\n id: string;\r\n /**\r\n * Arbitrary payload the meaning of which depends on the `Engine` implementation.\r\n * For example, `DataProxyEngine` needs to associate different API endpoints with transactions.\r\n * In `LibraryEngine` and `BinaryEngine` it is currently not used.\r\n */\r\n payload: Payload;\r\n};\r\n\r\ndeclare type InteractiveTransactionOptions<Payload> = Transaction_2.InteractiveTransactionInfo<Payload>;\r\n\r\nexport declare type InternalArgs<R = {\r\n [K in string]: {\r\n [K in string]: unknown;\r\n };\r\n}, M = {\r\n [K in string]: {\r\n [K in string]: unknown;\r\n };\r\n}, Q = {\r\n [K in string]: {\r\n [K in string]: unknown;\r\n };\r\n}, C = {\r\n [K in string]: unknown;\r\n}> = {\r\n result: {\r\n [K in keyof R]: {\r\n [P in keyof R[K]]: () => R[K][P];\r\n };\r\n };\r\n model: {\r\n [K in keyof M]: {\r\n [P in keyof M[K]]: () => M[K][P];\r\n };\r\n };\r\n query: {\r\n [K in keyof Q]: {\r\n [P in keyof Q[K]]: () => Q[K][P];\r\n };\r\n };\r\n client: {\r\n [K in keyof C]: () => C[K];\r\n };\r\n};\r\n\r\ndeclare type InternalRequestParams = {\r\n /**\r\n * The original client method being called.\r\n * Even though the rootField / operation can be changed,\r\n * this method stays as it is, as it's what the user's\r\n * code looks like\r\n */\r\n clientMethod: string;\r\n /**\r\n * Name of js model that triggered the request. Might be used\r\n * for warnings or error messages\r\n */\r\n jsModelName?: string;\r\n callsite?: CallSite;\r\n transaction?: PrismaPromiseTransaction;\r\n unpacker?: Unpacker;\r\n otelParentCtx?: Context;\r\n /** Used to \"desugar\" a user input into an \"expanded\" one */\r\n argsMapper?: (args?: UserArgs_2) => UserArgs_2;\r\n /** Used to convert args for middleware and back */\r\n middlewareArgsMapper?: MiddlewareArgsMapper<unknown, unknown>;\r\n /** Used for Accelerate client extension via Data Proxy */\r\n customDataProxyFetch?: CustomDataProxyFetch;\r\n} & Omit<QueryMiddlewareParams, 'runInTransaction'>;\r\n\r\ndeclare type IsolationLevel = 'READ UNCOMMITTED' | 'READ COMMITTED' | 'REPEATABLE READ' | 'SNAPSHOT' | 'SERIALIZABLE';\r\n\r\ndeclare function isSkip(value: unknown): value is Skip;\r\n\r\nexport declare function isTypedSql(value: unknown): value is UnknownTypedSql;\r\n\r\nexport declare type ITXClientDenyList = (typeof denylist)[number];\r\n\r\nexport declare const itxClientDenyList: readonly (string | symbol)[];\r\n\r\ndeclare interface Job {\r\n resolve: (data: any) => void;\r\n reject: (data: any) => void;\r\n request: any;\r\n}\r\n\r\n/**\r\n * Create a SQL query for a list of values.\r\n */\r\nexport declare function join(values: readonly RawValue[], separator?: string, prefix?: string, suffix?: string): Sql;\r\n\r\nexport declare type JsArgs = {\r\n select?: Selection_2;\r\n include?: Selection_2;\r\n omit?: Omission;\r\n [argName: string]: JsInputValue;\r\n};\r\n\r\nexport declare type JsInputValue = null | undefined | string | number | boolean | bigint | Uint8Array | Date | DecimalJsLike | ObjectEnumValue | RawParameters | JsonConvertible | FieldRef<string, unknown> | JsInputValue[] | Skip | {\r\n [key: string]: JsInputValue;\r\n};\r\n\r\ndeclare type JsonArgumentValue = number | string | boolean | null | RawTaggedValue | JsonArgumentValue[] | {\r\n [key: string]: JsonArgumentValue;\r\n};\r\n\r\n/**\r\n * From https://github.com/sindresorhus/type-fest/\r\n * Matches a JSON array.\r\n */\r\nexport declare interface JsonArray extends Array<JsonValue> {\r\n}\r\n\r\nexport declare type JsonBatchQuery = {\r\n batch: JsonQuery[];\r\n transaction?: {\r\n isolationLevel?: IsolationLevel;\r\n };\r\n};\r\n\r\nexport declare interface JsonConvertible {\r\n toJSON(): unknown;\r\n}\r\n\r\ndeclare type JsonFieldSelection = {\r\n arguments?: Record<string, JsonArgumentValue> | RawTaggedValue;\r\n selection: JsonSelectionSet;\r\n};\r\n\r\ndeclare class JsonNull extends NullTypesEnumValue {\r\n #private;\r\n}\r\n\r\n/**\r\n * From https://github.com/sindresorhus/type-fest/\r\n * Matches a JSON object.\r\n * This type can be useful to enforce some input to be JSON-compatible or as a super-type to be extended from.\r\n */\r\nexport declare type JsonObject = {\r\n [Key in string]?: JsonValue;\r\n};\r\n\r\nexport declare type JsonQuery = {\r\n modelName?: string;\r\n action: JsonQueryAction;\r\n query: JsonFieldSelection;\r\n};\r\n\r\ndeclare type JsonQueryAction = 'findUnique' | 'findUniqueOrThrow' | 'findFirst' | 'findFirstOrThrow' | 'findMany' | 'createOne' | 'createMany' | 'createManyAndReturn' | 'updateOne' | 'updateMany' | 'updateManyAndReturn' | 'deleteOne' | 'deleteMany' | 'upsertOne' | 'aggregate' | 'groupBy' | 'executeRaw' | 'queryRaw' | 'runCommandRaw' | 'findRaw' | 'aggregateRaw';\r\n\r\ndeclare type JsonSelectionSet = {\r\n $scalars?: boolean;\r\n $composites?: boolean;\r\n} & {\r\n [fieldName: string]: boolean | JsonFieldSelection;\r\n};\r\n\r\n/**\r\n * From https://github.com/sindresorhus/type-fest/\r\n * Matches any valid JSON value.\r\n */\r\nexport declare type JsonValue = string | number | boolean | JsonObject | JsonArray | null;\r\n\r\nexport declare type JsOutputValue = null | string | number | boolean | bigint | Uint8Array | Date | Decimal | JsOutputValue[] | {\r\n [key: string]: JsOutputValue;\r\n};\r\n\r\nexport declare type JsPromise<T> = Promise<T> & {};\r\n\r\ndeclare type KnownErrorParams = {\r\n code: string;\r\n clientVersion: string;\r\n meta?: Record<string, unknown>;\r\n batchRequestIdx?: number;\r\n};\r\n\r\n/**\r\n * A pointer from the current {@link Span} to another span in the same trace or\r\n * in a different trace.\r\n * Few examples of Link usage.\r\n * 1. Batch Processing: A batch of elements may contain elements associated\r\n * with one or more traces/spans. Since there can only be one parent\r\n * SpanContext, Link is used to keep reference to SpanContext of all\r\n * elements in the batch.\r\n * 2. Public Endpoint: A SpanContext in incoming client request on a public\r\n * endpoint is untrusted from service provider perspective. In such case it\r\n * is advisable to start a new trace with appropriate sampling decision.\r\n * However, it is desirable to associate incoming SpanContext to new trace\r\n * initiated on service provider side so two traces (from Client and from\r\n * Service Provider) can be correlated.\r\n */\r\ndeclare interface Link {\r\n /** The {@link SpanContext} of a linked span. */\r\n context: SpanContext;\r\n /** A set of {@link SpanAttributes} on the link. */\r\n attributes?: SpanAttributes;\r\n /** Count of attributes of the link that were dropped due to collection limits */\r\n droppedAttributesCount?: number;\r\n}\r\n\r\ndeclare type LoadedEnv = {\r\n message?: string;\r\n parsed: {\r\n [x: string]: string;\r\n };\r\n} | undefined;\r\n\r\ndeclare type LocationInFile = {\r\n fileName: string;\r\n lineNumber: number | null;\r\n columnNumber: number | null;\r\n};\r\n\r\ndeclare type LogDefinition = {\r\n level: LogLevel;\r\n emit: 'stdout' | 'event';\r\n};\r\n\r\n/**\r\n * Typings for the events we emit.\r\n *\r\n * @remarks\r\n * If this is updated, our edge runtime shim needs to be updated as well.\r\n */\r\ndeclare type LogEmitter = {\r\n on<E extends EngineEventType>(event: E, listener: (event: EngineEvent<E>) => void): LogEmitter;\r\n emit(event: QueryEventType, payload: QueryEvent): boolean;\r\n emit(event: LogEventType, payload: LogEvent): boolean;\r\n};\r\n\r\ndeclare type LogEvent = {\r\n timestamp: Date;\r\n message: string;\r\n target: string;\r\n};\r\n\r\ndeclare type LogEventType = 'info' | 'warn' | 'error';\r\n\r\ndeclare type LogLevel = 'info' | 'query' | 'warn' | 'error';\r\n\r\n/**\r\n * Generates more strict variant of an enum which, unlike regular enum,\r\n * throws on non-existing property access. This can be useful in following situations:\r\n * - we have an API, that accepts both `undefined` and `SomeEnumType` as an input\r\n * - enum values are generated dynamically from DMMF.\r\n *\r\n * In that case, if using normal enums and no compile-time typechecking, using non-existing property\r\n * will result in `undefined` value being used, which will be accepted. Using strict enum\r\n * in this case will help to have a runtime exception, telling you that you are probably doing something wrong.\r\n *\r\n * Note: if you need to check for existence of a value in the enum you can still use either\r\n * `in` operator or `hasOwnProperty` function.\r\n *\r\n * @param definition\r\n * @returns\r\n */\r\nexport declare function makeStrictEnum<T extends Record<PropertyKey, string | number>>(definition: T): T;\r\n\r\nexport declare function makeTypedQueryFactory(sql: string): (...values: any[]) => TypedSql<any[], unknown>;\r\n\r\ndeclare type Mappings = ReadonlyDeep_2<{\r\n modelOperations: ModelMapping[];\r\n otherOperations: {\r\n read: string[];\r\n write: string[];\r\n };\r\n}>;\r\n\r\n/**\r\n * Class that holds the list of all extensions, applied to particular instance,\r\n * as well as resolved versions of the components that need to apply on\r\n * different levels. Main idea of this class: avoid re-resolving as much of the\r\n * stuff as possible when new extensions are added while also delaying the\r\n * resolve until the point it is actually needed. For example, computed fields\r\n * of the model won't be resolved unless the model is actually queried. Neither\r\n * adding extensions with `client` component only cause other components to\r\n * recompute.\r\n */\r\ndeclare class MergedExtensionsList {\r\n private head?;\r\n private constructor();\r\n static empty(): MergedExtensionsList;\r\n static single(extension: ExtensionArgs): MergedExtensionsList;\r\n isEmpty(): boolean;\r\n append(extension: ExtensionArgs): MergedExtensionsList;\r\n getAllComputedFields(dmmfModelName: string): ComputedFieldsMap | undefined;\r\n getAllClientExtensions(): ClientArg | undefined;\r\n getAllModelExtensions(dmmfModelName: string): ModelArg | undefined;\r\n getAllQueryCallbacks(jsModelName: string, operation: string): any;\r\n getAllBatchQueryCallbacks(): BatchQueryOptionsCb[];\r\n}\r\n\r\nexport declare type MergeExtArgs<TypeMap extends TypeMapDef, ExtArgs extends Record<any, any>, Args extends Record<any, any>> = ComputeDeep<ExtArgs & Args & AllModelsToStringIndex<TypeMap, Args, 'result'> & AllModelsToStringIndex<TypeMap, Args, 'model'>>;\r\n\r\nexport declare type Metric<T> = {\r\n key: string;\r\n value: T;\r\n labels: Record<string, string>;\r\n description: string;\r\n};\r\n\r\nexport declare type MetricHistogram = {\r\n buckets: MetricHistogramBucket[];\r\n sum: number;\r\n count: number;\r\n};\r\n\r\nexport declare type MetricHistogramBucket = [maxValue: number, count: number];\r\n\r\nexport declare type Metrics = {\r\n counters: Metric<number>[];\r\n gauges: Metric<number>[];\r\n histograms: Metric<MetricHistogram>[];\r\n};\r\n\r\nexport declare class MetricsClient {\r\n private _client;\r\n constructor(client: Client);\r\n /**\r\n * Returns all metrics gathered up to this point in prometheus format.\r\n * Result of this call can be exposed directly to prometheus scraping endpoint\r\n *\r\n * @param options\r\n * @returns\r\n */\r\n prometheus(options?: MetricsOptions): Promise<string>;\r\n /**\r\n * Returns all metrics gathered up to this point in prometheus format.\r\n *\r\n * @param options\r\n * @returns\r\n */\r\n json(options?: MetricsOptions): Promise<Metrics>;\r\n}\r\n\r\ndeclare type MetricsOptions = {\r\n /**\r\n * Labels to add to every metrics in key-value format\r\n */\r\n globalLabels?: Record<string, string>;\r\n};\r\n\r\ndeclare type MetricsOptionsCommon = {\r\n globalLabels?: Record<string, string>;\r\n};\r\n\r\ndeclare type MetricsOptionsJson = {\r\n format: 'json';\r\n} & MetricsOptionsCommon;\r\n\r\ndeclare type MetricsOptionsPrometheus = {\r\n format: 'prometheus';\r\n} & MetricsOptionsCommon;\r\n\r\ndeclare type MiddlewareArgsMapper<RequestArgs, MiddlewareArgs> = {\r\n requestArgsToMiddlewareArgs(requestArgs: RequestArgs): MiddlewareArgs;\r\n middlewareArgsToRequestArgs(middlewareArgs: MiddlewareArgs): RequestArgs;\r\n};\r\n\r\ndeclare class MiddlewareHandler<M extends Function> {\r\n private _middlewares;\r\n use(middleware: M): void;\r\n get(id: number): M | undefined;\r\n has(id: number): boolean;\r\n length(): number;\r\n}\r\n\r\ndeclare type Model = ReadonlyDeep_2<{\r\n name: string;\r\n dbName: string | null;\r\n schema: string | null;\r\n fields: Field[];\r\n uniqueFields: string[][];\r\n uniqueIndexes: uniqueIndex[];\r\n documentation?: string;\r\n primaryKey: PrimaryKey | null;\r\n isGenerated?: boolean;\r\n}>;\r\n\r\ndeclare enum ModelAction {\r\n findUnique = \"findUnique\",\r\n findUniqueOrThrow = \"findUniqueOrThrow\",\r\n findFirst = \"findFirst\",\r\n findFirstOrThrow = \"findFirstOrThrow\",\r\n findMany = \"findMany\",\r\n create = \"create\",\r\n createMany = \"createMany\",\r\n createManyAndReturn = \"createManyAndReturn\",\r\n update = \"update\",\r\n updateMany = \"updateMany\",\r\n updateManyAndReturn = \"updateManyAndReturn\",\r\n upsert = \"upsert\",\r\n delete = \"delete\",\r\n deleteMany = \"deleteMany\",\r\n groupBy = \"groupBy\",\r\n count = \"count\",// TODO: count does not actually exist in DMMF\r\n aggregate = \"aggregate\",\r\n findRaw = \"findRaw\",\r\n aggregateRaw = \"aggregateRaw\"\r\n}\r\n\r\nexport declare type ModelArg = {\r\n [MethodName in string]: unknown;\r\n};\r\n\r\nexport declare type ModelArgs = {\r\n model: {\r\n [ModelName in string]: ModelArg;\r\n };\r\n};\r\n\r\nexport declare type ModelKey<TypeMap extends TypeMapDef, M extends PropertyKey> = M extends keyof TypeMap['model'] ? M : Capitalize<M & string>;\r\n\r\ndeclare type ModelMapping = ReadonlyDeep_2<{\r\n model: string;\r\n plural: string;\r\n findUnique?: string | null;\r\n findUniqueOrThrow?: string | null;\r\n findFirst?: string | null;\r\n findFirstOrThrow?: string | null;\r\n findMany?: string | null;\r\n create?: string | null;\r\n createMany?: string | null;\r\n createManyAndReturn?: string | null;\r\n update?: string | null;\r\n updateMany?: string | null;\r\n updateManyAndReturn?: string | null;\r\n upsert?: string | null;\r\n delete?: string | null;\r\n deleteMany?: string | null;\r\n aggregate?: string | null;\r\n groupBy?: string | null;\r\n count?: string | null;\r\n findRaw?: string | null;\r\n aggregateRaw?: string | null;\r\n}>;\r\n\r\nexport declare type ModelQueryOptionsCb = (args: ModelQueryOptionsCbArgs) => Promise<any>;\r\n\r\nexport declare type ModelQueryOptionsCbArgs = {\r\n model: string;\r\n operation: string;\r\n args: JsArgs;\r\n query: (args: JsArgs) => Promise<unknown>;\r\n};\r\n\r\ndeclare type MultiBatchResponse = {\r\n type: 'multi';\r\n plans: object[];\r\n};\r\n\r\nexport declare type NameArgs = {\r\n name?: string;\r\n};\r\n\r\nexport declare type Narrow<A> = {\r\n [K in keyof A]: A[K] extends Function ? A[K] : Narrow<A[K]>;\r\n} | (A extends Narrowable ? A : never);\r\n\r\nexport declare type Narrowable = string | number | bigint | boolean | [];\r\n\r\nexport declare type NeverToUnknown<T> = [T] extends [never] ? unknown : T;\r\n\r\ndeclare class NullTypesEnumValue extends ObjectEnumValue {\r\n _getNamespace(): string;\r\n}\r\n\r\n/**\r\n * Base class for unique values of object-valued enums.\r\n */\r\nexport declare abstract class ObjectEnumValue {\r\n constructor(arg?: symbol);\r\n abstract _getNamespace(): string;\r\n _getName(): string;\r\n toString(): string;\r\n}\r\n\r\nexport declare const objectEnumValues: {\r\n classes: {\r\n DbNull: typeof DbNull;\r\n JsonNull: typeof JsonNull;\r\n AnyNull: typeof AnyNull;\r\n };\r\n instances: {\r\n DbNull: DbNull;\r\n JsonNull: JsonNull;\r\n AnyNull: AnyNull;\r\n };\r\n};\r\n\r\ndeclare const officialPrismaAdapters: readonly [\"@prisma/adapter-planetscale\", \"@prisma/adapter-neon\", \"@prisma/adapter-libsql\", \"@prisma/adapter-d1\", \"@prisma/adapter-pg\", \"@prisma/adapter-pg-worker\"];\r\n\r\nexport declare type Omission = Record<string, boolean | Skip>;\r\n\r\ndeclare type Omit_2<T, K extends string | number | symbol> = {\r\n [P in keyof T as P extends K ? never : P]: T[P];\r\n};\r\nexport { Omit_2 as Omit }\r\n\r\nexport declare type OmitValue<Omit, Key> = Key extends keyof Omit ? Omit[Key] : false;\r\n\r\nexport declare type Operation = 'findFirst' | 'findFirstOrThrow' | 'findUnique' | 'findUniqueOrThrow' | 'findMany' | 'create' | 'createMany' | 'createManyAndReturn' | 'update' | 'updateMany' | 'updateManyAndReturn' | 'upsert' | 'delete' | 'deleteMany' | 'aggregate' | 'count' | 'groupBy' | '$queryRaw' | '$executeRaw' | '$queryRawUnsafe' | '$executeRawUnsafe' | 'findRaw' | 'aggregateRaw' | '$runCommandRaw';\r\n\r\nexport declare type OperationPayload = {\r\n name: string;\r\n scalars: {\r\n [ScalarName in string]: unknown;\r\n };\r\n objects: {\r\n [ObjectName in string]: unknown;\r\n };\r\n composites: {\r\n [CompositeName in string]: unknown;\r\n };\r\n};\r\n\r\nexport declare type Optional<O, K extends keyof any = keyof O> = {\r\n [P in K & keyof O]?: O[P];\r\n} & {\r\n [P in Exclude<keyof O, K>]: O[P];\r\n};\r\n\r\nexport declare type OptionalFlat<T> = {\r\n [K in keyof T]?: T[K];\r\n};\r\n\r\nexport declare type OptionalKeys<O> = {\r\n [K in keyof O]-?: {} extends Pick_2<O, K> ? K : never;\r\n}[keyof O];\r\n\r\ndeclare type Options = {\r\n clientVersion: string;\r\n};\r\n\r\nexport declare type Or<A extends 1 | 0, B extends 1 | 0> = {\r\n 0: {\r\n 0: 0;\r\n 1: 1;\r\n };\r\n 1: {\r\n 0: 1;\r\n 1: 1;\r\n };\r\n}[A][B];\r\n\r\ndeclare type OtherOperationMappings = ReadonlyDeep_2<{\r\n read: string[];\r\n write: string[];\r\n}>;\r\n\r\ndeclare type OutputType = ReadonlyDeep_2<{\r\n name: string;\r\n fields: SchemaField[];\r\n}>;\r\n\r\ndeclare type OutputTypeRef = TypeRef<'scalar' | 'outputObjectTypes' | 'enumTypes'>;\r\n\r\nexport declare function Param<$Type, $Value extends string>(name: $Value): Param<$Type, $Value>;\r\n\r\nexport declare type Param<out $Type, $Value extends string> = {\r\n readonly name: $Value;\r\n};\r\n\r\nexport declare type PatchFlat<O1, O2> = O1 & Omit_2<O2, keyof O1>;\r\n\r\nexport declare type Path<O, P, Default = never> = O extends unknown ? P extends [infer K, ...infer R] ? K extends keyof O ? Path<O[K], R> : Default : O : never;\r\n\r\nexport declare type Payload<T, F extends Operation = never> = T extends {\r\n [K: symbol]: {\r\n types: {\r\n payload: any;\r\n };\r\n };\r\n} ? T[symbol]['types']['payload'] : any;\r\n\r\nexport declare type PayloadToResult<P, O extends Record_2<any, any> = RenameAndNestPayloadKeys<P>> = {\r\n [K in keyof O]?: O[K][K] extends any[] ? PayloadToResult<O[K][K][number]>[] : O[K][K] extends object ? PayloadToResult<O[K][K]> : O[K][K];\r\n};\r\n\r\ndeclare type Pick_2<T, K extends string | number | symbol> = {\r\n [P in keyof T as P extends K ? P : never]: T[P];\r\n};\r\nexport { Pick_2 as Pick }\r\n\r\ndeclare type PrimaryKey = ReadonlyDeep_2<{\r\n name: string | null;\r\n fields: string[];\r\n}>;\r\n\r\nexport declare class PrismaClientInitializationError extends Error {\r\n clientVersion: string;\r\n errorCode?: string;\r\n retryable?: boolean;\r\n constructor(message: string, clientVersion: string, errorCode?: string);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\nexport declare class PrismaClientKnownRequestError extends Error implements ErrorWithBatchIndex {\r\n code: string;\r\n meta?: Record<string, unknown>;\r\n clientVersion: string;\r\n batchRequestIdx?: number;\r\n constructor(message: string, { code, clientVersion, meta, batchRequestIdx }: KnownErrorParams);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\nexport declare type PrismaClientOptions = {\r\n /**\r\n * Overwrites the primary datasource url from your schema.prisma file\r\n */\r\n datasourceUrl?: string;\r\n /**\r\n * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-planetscale.\r\n */\r\n adapter?: SqlDriverAdapterFactory | null;\r\n /**\r\n * Overwrites the datasource url from your schema.prisma file\r\n */\r\n datasources?: Datasources;\r\n /**\r\n * @default \"colorless\"\r\n */\r\n errorFormat?: ErrorFormat;\r\n /**\r\n * The default values for Transaction options\r\n * maxWait ?= 2000\r\n * timeout ?= 5000\r\n */\r\n transactionOptions?: Transaction_2.Options;\r\n /**\r\n * @example\r\n * \\`\\`\\`\r\n * // Defaults to stdout\r\n * log: ['query', 'info', 'warn']\r\n *\r\n * // Emit as events\r\n * log: [\r\n * { emit: 'stdout', level: 'query' },\r\n * { emit: 'stdout', level: 'info' },\r\n * { emit: 'stdout', level: 'warn' }\r\n * ]\r\n * \\`\\`\\`\r\n * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/logging#the-log-option).\r\n */\r\n log?: Array<LogLevel | LogDefinition>;\r\n omit?: GlobalOmitOptions;\r\n /**\r\n * @internal\r\n * You probably don't want to use this. \\`__internal\\` is used by internal tooling.\r\n */\r\n __internal?: {\r\n debug?: boolean;\r\n engine?: {\r\n cwd?: string;\r\n binaryPath?: string;\r\n endpoint?: string;\r\n allowTriggerPanic?: boolean;\r\n };\r\n /** This can be used for testing purposes */\r\n configOverride?: (config: GetPrismaClientConfig) => GetPrismaClientConfig;\r\n };\r\n};\r\n\r\nexport declare class PrismaClientRustPanicError extends Error {\r\n clientVersion: string;\r\n constructor(message: string, clientVersion: string);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\nexport declare class PrismaClientUnknownRequestError extends Error implements ErrorWithBatchIndex {\r\n clientVersion: string;\r\n batchRequestIdx?: number;\r\n constructor(message: string, { clientVersion, batchRequestIdx }: UnknownErrorParams);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\nexport declare class PrismaClientValidationError extends Error {\r\n name: string;\r\n clientVersion: string;\r\n constructor(message: string, { clientVersion }: Options);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\ndeclare function prismaGraphQLToJSError({ error, user_facing_error }: RequestError, clientVersion: string, activeProvider: string): PrismaClientKnownRequestError | PrismaClientUnknownRequestError;\r\n\r\ndeclare type PrismaOperationSpec<TArgs, TAction = string> = {\r\n args: TArgs;\r\n action: TAction;\r\n model: string;\r\n};\r\n\r\nexport declare interface PrismaPromise<T> extends Promise<T> {\r\n [Symbol.toStringTag]: 'PrismaPromise';\r\n}\r\n\r\n/**\r\n * Prisma's `Promise` that is backwards-compatible. All additions on top of the\r\n * original `Promise` are optional so that it can be backwards-compatible.\r\n * @see [[createPrismaPromise]]\r\n */\r\ndeclare interface PrismaPromise_2<TResult, TSpec extends PrismaOperationSpec<unknown> = any> extends Promise<TResult> {\r\n get spec(): TSpec;\r\n /**\r\n * Extension of the original `.then` function\r\n * @param onfulfilled same as regular promises\r\n * @param onrejected same as regular promises\r\n * @param transaction transaction options\r\n */\r\n then<R1 = TResult, R2 = never>(onfulfilled?: (value: TResult) => R1 | PromiseLike<R1>, onrejected?: (error: unknown) => R2 | PromiseLike<R2>, transaction?: PrismaPromiseTransaction): Promise<R1 | R2>;\r\n /**\r\n * Extension of the original `.catch` function\r\n * @param onrejected same as regular promises\r\n * @param transaction transaction options\r\n */\r\n catch<R = never>(onrejected?: ((reason: any) => R | PromiseLike<R>) | undefined | null, transaction?: PrismaPromiseTransaction): Promise<TResult | R>;\r\n /**\r\n * Extension of the original `.finally` function\r\n * @param onfinally same as regular promises\r\n * @param transaction transaction options\r\n */\r\n finally(onfinally?: (() => void) | undefined | null, transaction?: PrismaPromiseTransaction): Promise<TResult>;\r\n /**\r\n * Called when executing a batch of regular tx\r\n * @param transaction transaction options for batch tx\r\n */\r\n requestTransaction?(transaction: PrismaPromiseBatchTransaction): PromiseLike<unknown>;\r\n}\r\n\r\ndeclare type PrismaPromiseBatchTransaction = {\r\n kind: 'batch';\r\n id: number;\r\n isolationLevel?: IsolationLevel;\r\n index: number;\r\n lock: PromiseLike<void>;\r\n};\r\n\r\ndeclare type PrismaPromiseCallback = (transaction?: PrismaPromiseTransaction) => Promise<unknown>;\r\n\r\n/**\r\n * Creates a [[PrismaPromise]]. It is Prisma's implementation of `Promise` which\r\n * is essentially a proxy for `Promise`. All the transaction-compatible client\r\n * methods return one, this allows for pre-preparing queries without executing\r\n * them until `.then` is called. It's the foundation of Prisma's query batching.\r\n * @param callback that will be wrapped within our promise implementation\r\n * @see [[PrismaPromise]]\r\n * @returns\r\n */\r\ndeclare type PrismaPromiseFactory = <T extends PrismaOperationSpec<unknown>>(callback: PrismaPromiseCallback, op?: T) => PrismaPromise_2<unknown>;\r\n\r\ndeclare type PrismaPromiseInteractiveTransaction<PayloadType = unknown> = {\r\n kind: 'itx';\r\n id: string;\r\n payload: PayloadType;\r\n};\r\n\r\ndeclare type PrismaPromiseTransaction<PayloadType = unknown> = PrismaPromiseBatchTransaction | PrismaPromiseInteractiveTransaction<PayloadType>;\r\n\r\nexport declare const PrivateResultType: unique symbol;\r\n\r\ndeclare type Provider = 'mysql' | 'postgres' | 'sqlite';\r\n\r\ndeclare namespace Public {\r\n export {\r\n validator\r\n }\r\n}\r\nexport { Public }\r\n\r\ndeclare namespace Public_2 {\r\n export {\r\n Args,\r\n Result,\r\n Payload,\r\n PrismaPromise,\r\n Operation,\r\n Exact\r\n }\r\n}\r\n\r\ndeclare type Query = ReadonlyDeep_2<{\r\n name: string;\r\n args: SchemaArg[];\r\n output: QueryOutput;\r\n}>;\r\n\r\ndeclare interface Queryable<Query, Result> extends AdapterInfo {\r\n /**\r\n * Execute a query and return its result.\r\n */\r\n queryRaw(params: Query): Promise<Result>;\r\n /**\r\n * Execute a query and return the number of affected rows.\r\n */\r\n executeRaw(params: Query): Promise<number>;\r\n}\r\n\r\ndeclare type QueryCompiler = {\r\n compile(request: string): string;\r\n compileBatch(batchRequest: string): BatchResponse;\r\n};\r\n\r\ndeclare interface QueryCompilerConstructor {\r\n new (options: QueryCompilerOptions): QueryCompiler;\r\n}\r\n\r\ndeclare type QueryCompilerOptions = {\r\n datamodel: string;\r\n provider: Provider;\r\n connectionInfo: ConnectionInfo;\r\n};\r\n\r\ndeclare type QueryEngineBatchGraphQLRequest = {\r\n batch: QueryEngineRequest[];\r\n transaction?: boolean;\r\n isolationLevel?: IsolationLevel;\r\n};\r\n\r\ndeclare type QueryEngineBatchRequest = QueryEngineBatchGraphQLRequest | JsonBatchQuery;\r\n\r\ndeclare type QueryEngineConfig = {\r\n datamodel: string;\r\n configDir: string;\r\n logQueries: boolean;\r\n ignoreEnvVarErrors: boolean;\r\n datasourceOverrides: Record<string, string>;\r\n env: Record<string, string | undefined>;\r\n logLevel: QueryEngineLogLevel;\r\n engineProtocol: QueryEngineProtocol;\r\n enableTracing: boolean;\r\n};\r\n\r\ndeclare interface QueryEngineConstructor {\r\n new (config: QueryEngineConfig, logger: (log: string) => void, adapter?: ErrorCapturingSqlDriverAdapter): QueryEngineInstance;\r\n}\r\n\r\ndeclare type QueryEngineInstance = {\r\n connect(headers: string, requestId: string): Promise<void>;\r\n disconnect(headers: string, requestId: string): Promise<void>;\r\n /**\r\n * @param requestStr JSON.stringified `QueryEngineRequest | QueryEngineBatchRequest`\r\n * @param headersStr JSON.stringified `QueryEngineRequestHeaders`\r\n */\r\n query(requestStr: string, headersStr: string, transactionId: string | undefined, requestId: string): Promise<string>;\r\n sdlSchema?(): Promise<string>;\r\n startTransaction(options: string, traceHeaders: string, requestId: string): Promise<string>;\r\n commitTransaction(id: string, traceHeaders: string, requestId: string): Promise<string>;\r\n rollbackTransaction(id: string, traceHeaders: string, requestId: string): Promise<string>;\r\n metrics?(options: string): Promise<string>;\r\n applyPendingMigrations?(): Promise<void>;\r\n trace(requestId: string): Promise<string | null>;\r\n};\r\n\r\ndeclare type QueryEngineLogLevel = 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'off';\r\n\r\ndeclare type QueryEngineProtocol = 'graphql' | 'json';\r\n\r\ndeclare type QueryEngineRequest = {\r\n query: string;\r\n variables: Object;\r\n};\r\n\r\ndeclare type QueryEngineResultData<T> = {\r\n data: T;\r\n};\r\n\r\ndeclare type QueryEvent = {\r\n timestamp: Date;\r\n query: string;\r\n params: string;\r\n duration: number;\r\n target: string;\r\n};\r\n\r\ndeclare type QueryEventType = 'query';\r\n\r\ndeclare type QueryIntrospectionBuiltinType = 'int' | 'bigint' | 'float' | 'double' | 'string' | 'enum' | 'bytes' | 'bool' | 'char' | 'decimal' | 'json' | 'xml' | 'uuid' | 'datetime' | 'date' | 'time' | 'int-array' | 'bigint-array' | 'float-array' | 'double-array' | 'string-array' | 'char-array' | 'bytes-array' | 'bool-array' | 'decimal-array' | 'json-array' | 'xml-array' | 'uuid-array' | 'datetime-array' | 'date-array' | 'time-array' | 'null' | 'unknown';\r\n\r\ndeclare type QueryMiddleware = (params: QueryMiddlewareParams, next: (params: QueryMiddlewareParams) => Promise<unknown>) => Promise<unknown>;\r\n\r\ndeclare type QueryMiddlewareParams = {\r\n /** The model this is executed on */\r\n model?: string;\r\n /** The action that is being handled */\r\n action: Action;\r\n /** TODO what is this */\r\n dataPath: string[];\r\n /** TODO what is this */\r\n runInTransaction: boolean;\r\n args?: UserArgs_2;\r\n};\r\n\r\nexport declare type QueryOptions = {\r\n query: {\r\n [ModelName in string]: {\r\n [ModelAction in string]: ModelQueryOptionsCb;\r\n } | QueryOptionsCb;\r\n };\r\n};\r\n\r\nexport declare type QueryOptionsCb = (args: QueryOptionsCbArgs) => Promise<any>;\r\n\r\nexport declare type QueryOptionsCbArgs = {\r\n model?: string;\r\n operation: string;\r\n args: JsArgs | RawQueryArgs;\r\n query: (args: JsArgs | RawQueryArgs) => Promise<unknown>;\r\n};\r\n\r\ndeclare type QueryOutput = ReadonlyDeep_2<{\r\n name: string;\r\n isRequired: boolean;\r\n isList: boolean;\r\n}>;\r\n\r\n/**\r\n * Create raw SQL statement.\r\n */\r\nexport declare function raw(value: string): Sql;\r\n\r\nexport declare type RawParameters = {\r\n __prismaRawParameters__: true;\r\n values: string;\r\n};\r\n\r\nexport declare type RawQueryArgs = Sql | UnknownTypedSql | [query: string, ...values: RawValue[]];\r\n\r\ndeclare type RawResponse = {\r\n columns: string[];\r\n types: QueryIntrospectionBuiltinType[];\r\n rows: unknown[][];\r\n};\r\n\r\ndeclare type RawTaggedValue = {\r\n $type: 'Raw';\r\n value: unknown;\r\n};\r\n\r\n/**\r\n * Supported value or SQL instance.\r\n */\r\nexport declare type RawValue = Value | Sql;\r\n\r\nexport declare type ReadonlyDeep<T> = {\r\n readonly [K in keyof T]: ReadonlyDeep<T[K]>;\r\n};\r\n\r\ndeclare type ReadonlyDeep_2<O> = {\r\n +readonly [K in keyof O]: ReadonlyDeep_2<O[K]>;\r\n};\r\n\r\ndeclare type Record_2<T extends string | number | symbol, U> = {\r\n [P in T]: U;\r\n};\r\nexport { Record_2 as Record }\r\n\r\nexport declare type RenameAndNestPayloadKeys<P> = {\r\n [K in keyof P as K extends 'scalars' | 'objects' | 'composites' ? keyof P[K] : never]: P[K];\r\n};\r\n\r\ndeclare type RequestBatchOptions<InteractiveTransactionPayload> = {\r\n transaction?: TransactionOptions_3<InteractiveTransactionPayload>;\r\n traceparent?: string;\r\n numTry?: number;\r\n containsWrite: boolean;\r\n customDataProxyFetch?: CustomDataProxyFetch;\r\n};\r\n\r\ndeclare interface RequestError {\r\n error: string;\r\n user_facing_error: {\r\n is_panic: boolean;\r\n message: string;\r\n meta?: Record<string, unknown>;\r\n error_code?: string;\r\n batch_request_idx?: number;\r\n };\r\n}\r\n\r\ndeclare class RequestHandler {\r\n client: Client;\r\n dataloader: DataLoader<RequestParams>;\r\n private logEmitter?;\r\n constructor(client: Client, logEmitter?: LogEmitter);\r\n request(params: RequestParams): Promise<any>;\r\n mapQueryEngineResult({ dataPath, unpacker }: RequestParams, response: QueryEngineResultData<any>): any;\r\n /**\r\n * Handles the error and logs it, logging the error is done synchronously waiting for the event\r\n * handlers to finish.\r\n */\r\n handleAndLogRequestError(params: HandleErrorParams): never;\r\n handleRequestError({ error, clientMethod, callsite, transaction, args, modelName, globalOmit, }: HandleErrorParams): never;\r\n sanitizeMessage(message: any): any;\r\n unpack(data: unknown, dataPath: string[], unpacker?: Unpacker): any;\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\ndeclare type RequestOptions<InteractiveTransactionPayload> = {\r\n traceparent?: string;\r\n numTry?: number;\r\n interactiveTransaction?: InteractiveTransactionOptions<InteractiveTransactionPayload>;\r\n isWrite: boolean;\r\n customDataProxyFetch?: CustomDataProxyFetch;\r\n};\r\n\r\ndeclare type RequestParams = {\r\n modelName?: string;\r\n action: Action;\r\n protocolQuery: JsonQuery;\r\n dataPath: string[];\r\n clientMethod: string;\r\n callsite?: CallSite;\r\n transaction?: PrismaPromiseTransaction;\r\n extensions: MergedExtensionsList;\r\n args?: any;\r\n headers?: Record<string, string>;\r\n unpacker?: Unpacker;\r\n otelParentCtx?: Context;\r\n otelChildCtx?: Context;\r\n globalOmit?: GlobalOmitOptions;\r\n customDataProxyFetch?: CustomDataProxyFetch;\r\n};\r\n\r\ndeclare type RequiredExtensionArgs = NameArgs & ResultArgs & ModelArgs & ClientArgs & QueryOptions;\r\nexport { RequiredExtensionArgs }\r\nexport { RequiredExtensionArgs as UserArgs }\r\n\r\nexport declare type RequiredKeys<O> = {\r\n [K in keyof O]-?: {} extends Pick_2<O, K> ? never : K;\r\n}[keyof O];\r\n\r\ndeclare function resolveDatasourceUrl({ inlineDatasources, overrideDatasources, env, clientVersion, }: {\r\n inlineDatasources: GetPrismaClientConfig['inlineDatasources'];\r\n overrideDatasources: Datasources;\r\n env: Record<string, string | undefined>;\r\n clientVersion: string;\r\n}): string;\r\n\r\nexport declare type Result<T, A, F extends Operation> = T extends {\r\n [K: symbol]: {\r\n types: {\r\n payload: any;\r\n };\r\n };\r\n} ? GetResult<T[symbol]['types']['payload'], A, F> : GetResult<{\r\n composites: {};\r\n objects: {};\r\n scalars: {};\r\n name: '';\r\n}, {}, F>;\r\n\r\nexport declare type Result_2<T, A, F extends Operation> = Result<T, A, F>;\r\n\r\ndeclare namespace Result_3 {\r\n export {\r\n Count,\r\n GetFindResult,\r\n SelectablePayloadFields,\r\n SelectField,\r\n DefaultSelection,\r\n UnwrapPayload,\r\n ApplyOmit,\r\n OmitValue,\r\n GetCountResult,\r\n Aggregate,\r\n GetAggregateResult,\r\n GetBatchResult,\r\n GetGroupByResult,\r\n GetResult,\r\n ExtractGlobalOmit\r\n }\r\n}\r\n\r\ndeclare type Result_4<T> = {\r\n map<U>(fn: (value: T) => U): Result_4<U>;\r\n flatMap<U>(fn: (value: T) => Result_4<U>): Result_4<U>;\r\n} & ({\r\n readonly ok: true;\r\n readonly value: T;\r\n} | {\r\n readonly ok: false;\r\n readonly error: Error_2;\r\n});\r\n\r\nexport declare type ResultArg = {\r\n [FieldName in string]: ResultFieldDefinition;\r\n};\r\n\r\nexport declare type ResultArgs = {\r\n result: {\r\n [ModelName in string]: ResultArg;\r\n };\r\n};\r\n\r\nexport declare type ResultArgsFieldCompute = (model: any) => unknown;\r\n\r\nexport declare type ResultFieldDefinition = {\r\n needs?: {\r\n [FieldName in string]: boolean;\r\n };\r\n compute: ResultArgsFieldCompute;\r\n};\r\n\r\nexport declare type Return<T> = T extends (...args: any[]) => infer R ? R : T;\r\n\r\nexport declare type RuntimeDataModel = {\r\n readonly models: Record<string, RuntimeModel>;\r\n readonly enums: Record<string, RuntimeEnum>;\r\n readonly types: Record<string, RuntimeModel>;\r\n};\r\n\r\ndeclare type RuntimeEnum = Omit<DMMF_2.DatamodelEnum, 'name'>;\r\n\r\ndeclare type RuntimeModel = Omit<DMMF_2.Model, 'name'>;\r\n\r\ndeclare type RuntimeName = 'workerd' | 'deno' | 'netlify' | 'node' | 'bun' | 'edge-light' | '';\r\n\r\ndeclare type Schema = ReadonlyDeep_2<{\r\n rootQueryType?: string;\r\n rootMutationType?: string;\r\n inputObjectTypes: {\r\n model?: InputType[];\r\n prisma: InputType[];\r\n };\r\n outputObjectTypes: {\r\n model: OutputType[];\r\n prisma: OutputType[];\r\n };\r\n enumTypes: {\r\n model?: SchemaEnum[];\r\n prisma: SchemaEnum[];\r\n };\r\n fieldRefTypes: {\r\n prisma?: FieldRefType[];\r\n };\r\n}>;\r\n\r\ndeclare type SchemaArg = ReadonlyDeep_2<{\r\n name: string;\r\n comment?: string;\r\n isNullable: boolean;\r\n isRequired: boolean;\r\n inputTypes: InputTypeRef[];\r\n deprecation?: Deprecation;\r\n}>;\r\n\r\ndeclare type SchemaEnum = ReadonlyDeep_2<{\r\n name: string;\r\n values: string[];\r\n}>;\r\n\r\ndeclare type SchemaField = ReadonlyDeep_2<{\r\n name: string;\r\n isNullable?: boolean;\r\n outputType: OutputTypeRef;\r\n args: SchemaArg[];\r\n deprecation?: Deprecation;\r\n documentation?: string;\r\n}>;\r\n\r\nexport declare type Select<T, U> = T extends U ? T : never;\r\n\r\nexport declare type SelectablePayloadFields<K extends PropertyKey, O> = {\r\n objects: {\r\n [k in K]: O;\r\n };\r\n} | {\r\n composites: {\r\n [k in K]: O;\r\n };\r\n};\r\n\r\nexport declare type SelectField<P extends SelectablePayloadFields<any, any>, K extends PropertyKey> = P extends {\r\n objects: Record<K, any>;\r\n} ? P['objects'][K] : P extends {\r\n composites: Record<K, any>;\r\n} ? P['composites'][K] : never;\r\n\r\ndeclare type Selection_2 = Record<string, boolean | Skip | JsArgs>;\r\nexport { Selection_2 as Selection }\r\n\r\nexport declare function serializeJsonQuery({ modelName, action, args, runtimeDataModel, extensions, callsite, clientMethod, errorFormat, clientVersion, previewFeatures, globalOmit, }: SerializeParams): JsonQuery;\r\n\r\ndeclare type SerializeParams = {\r\n runtimeDataModel: RuntimeDataModel;\r\n modelName?: string;\r\n action: Action;\r\n args?: JsArgs;\r\n extensions?: MergedExtensionsList;\r\n callsite?: CallSite;\r\n clientMethod: string;\r\n clientVersion: string;\r\n errorFormat: ErrorFormat;\r\n previewFeatures: string[];\r\n globalOmit?: GlobalOmitOptions;\r\n};\r\n\r\ndeclare class Skip {\r\n constructor(param?: symbol);\r\n ifUndefined<T>(value: T | undefined): T | Skip;\r\n}\r\n\r\nexport declare const skip: Skip;\r\n\r\ndeclare type SortOrder = 'asc' | 'desc';\r\n\r\n/**\r\n * An interface that represents a span. A span represents a single operation\r\n * within a trace. Examples of span might include remote procedure calls or a\r\n * in-process function calls to sub-components. A Trace has a single, top-level\r\n * \"root\" Span that in turn may have zero or more child Spans, which in turn\r\n * may have children.\r\n *\r\n * Spans are created by the {@link Tracer.startSpan} method.\r\n */\r\ndeclare interface Span {\r\n /**\r\n * Returns the {@link SpanContext} object associated with this Span.\r\n *\r\n * Get an immutable, serializable identifier for this span that can be used\r\n * to create new child spans. Returned SpanContext is usable even after the\r\n * span ends.\r\n *\r\n * @returns the SpanContext object associated with this Span.\r\n */\r\n spanContext(): SpanContext;\r\n /**\r\n * Sets an attribute to the span.\r\n *\r\n * Sets a single Attribute with the key and value passed as arguments.\r\n *\r\n * @param key the key for this attribute.\r\n * @param value the value for this attribute. Setting a value null or\r\n * undefined is invalid and will result in undefined behavior.\r\n */\r\n setAttribute(key: string, value: SpanAttributeValue): this;\r\n /**\r\n * Sets attributes to the span.\r\n *\r\n * @param attributes the attributes that will be added.\r\n * null or undefined attribute values\r\n * are invalid and will result in undefined behavior.\r\n */\r\n setAttributes(attributes: SpanAttributes): this;\r\n /**\r\n * Adds an event to the Span.\r\n *\r\n * @param name the name of the event.\r\n * @param [attributesOrStartTime] the attributes that will be added; these are\r\n * associated with this event. Can be also a start time\r\n * if type is {@type TimeInput} and 3rd param is undefined\r\n * @param [startTime] start time of the event.\r\n */\r\n addEvent(name: string, attributesOrStartTime?: SpanAttributes | TimeInput, startTime?: TimeInput): this;\r\n /**\r\n * Adds a single link to the span.\r\n *\r\n * Links added after the creation will not affect the sampling decision.\r\n * It is preferred span links be added at span creation.\r\n *\r\n * @param link the link to add.\r\n */\r\n addLink(link: Link): this;\r\n /**\r\n * Adds multiple links to the span.\r\n *\r\n * Links added after the creation will not affect the sampling decision.\r\n * It is preferred span links be added at span creation.\r\n *\r\n * @param links the links to add.\r\n */\r\n addLinks(links: Link[]): this;\r\n /**\r\n * Sets a status to the span. If used, this will override the default Span\r\n * status. Default is {@link SpanStatusCode.UNSET}. SetStatus overrides the value\r\n * of previous calls to SetStatus on the Span.\r\n *\r\n * @param status the SpanStatus to set.\r\n */\r\n setStatus(status: SpanStatus): this;\r\n /**\r\n * Updates the Span name.\r\n *\r\n * This will override the name provided via {@link Tracer.startSpan}.\r\n *\r\n * Upon this update, any sampling behavior based on Span name will depend on\r\n * the implementation.\r\n *\r\n * @param name the Span name.\r\n */\r\n updateName(name: string): this;\r\n /**\r\n * Marks the end of Span execution.\r\n *\r\n * Call to End of a Span MUST not have any effects on child spans. Those may\r\n * still be running and can be ended later.\r\n *\r\n * Do not return `this`. The Span generally should not be used after it\r\n * is ended so chaining is not desired in this context.\r\n *\r\n * @param [endTime] the time to set as Span's end time. If not provided,\r\n * use the current time as the span's end time.\r\n */\r\n end(endTime?: TimeInput): void;\r\n /**\r\n * Returns the flag whether this span will be recorded.\r\n *\r\n * @returns true if this Span is active and recording information like events\r\n * with the `AddEvent` operation and attributes using `setAttributes`.\r\n */\r\n isRecording(): boolean;\r\n /**\r\n * Sets exception as a span event\r\n * @param exception the exception the only accepted values are string or Error\r\n * @param [time] the time to set as Span's event time. If not provided,\r\n * use the current time.\r\n */\r\n recordException(exception: Exception, time?: TimeInput): void;\r\n}\r\n\r\n/**\r\n * @deprecated please use {@link Attributes}\r\n */\r\ndeclare type SpanAttributes = Attributes;\r\n\r\n/**\r\n * @deprecated please use {@link AttributeValue}\r\n */\r\ndeclare type SpanAttributeValue = AttributeValue;\r\n\r\ndeclare type SpanCallback<R> = (span?: Span, context?: Context) => R;\r\n\r\n/**\r\n * A SpanContext represents the portion of a {@link Span} which must be\r\n * serialized and propagated along side of a {@link Baggage}.\r\n */\r\ndeclare interface SpanContext {\r\n /**\r\n * The ID of the trace that this span belongs to. It is worldwide unique\r\n * with practically sufficient probability by being made as 16 randomly\r\n * generated bytes, encoded as a 32 lowercase hex characters corresponding to\r\n * 128 bits.\r\n */\r\n traceId: string;\r\n /**\r\n * The ID of the Span. It is globally unique with practically sufficient\r\n * probability by being made as 8 randomly generated bytes, encoded as a 16\r\n * lowercase hex characters corresponding to 64 bits.\r\n */\r\n spanId: string;\r\n /**\r\n * Only true if the SpanContext was propagated from a remote parent.\r\n */\r\n isRemote?: boolean;\r\n /**\r\n * Trace flags to propagate.\r\n *\r\n * It is represented as 1 byte (bitmap). Bit to represent whether trace is\r\n * sampled or not. When set, the least significant bit documents that the\r\n * caller may have recorded trace data. A caller who does not record trace\r\n * data out-of-band leaves this flag unset.\r\n *\r\n * see {@link TraceFlags} for valid flag values.\r\n */\r\n traceFlags: number;\r\n /**\r\n * Tracing-system-specific info to propagate.\r\n *\r\n * The tracestate field value is a `list` as defined below. The `list` is a\r\n * series of `list-members` separated by commas `,`, and a list-member is a\r\n * key/value pair separated by an equals sign `=`. Spaces and horizontal tabs\r\n * surrounding `list-members` are ignored. There can be a maximum of 32\r\n * `list-members` in a `list`.\r\n * More Info: https://www.w3.org/TR/trace-context/#tracestate-field\r\n *\r\n * Examples:\r\n * Single tracing system (generic format):\r\n * tracestate: rojo=00f067aa0ba902b7\r\n * Multiple tracing systems (with different formatting):\r\n * tracestate: rojo=00f067aa0ba902b7,congo=t61rcWkgMzE\r\n */\r\n traceState?: TraceState;\r\n}\r\n\r\ndeclare enum SpanKind {\r\n /** Default value. Indicates that the span is used internally. */\r\n INTERNAL = 0,\r\n /**\r\n * Indicates that the span covers server-side handling of an RPC or other\r\n * remote request.\r\n */\r\n SERVER = 1,\r\n /**\r\n * Indicates that the span covers the client-side wrapper around an RPC or\r\n * other remote request.\r\n */\r\n CLIENT = 2,\r\n /**\r\n * Indicates that the span describes producer sending a message to a\r\n * broker. Unlike client and server, there is no direct critical path latency\r\n * relationship between producer and consumer spans.\r\n */\r\n PRODUCER = 3,\r\n /**\r\n * Indicates that the span describes consumer receiving a message from a\r\n * broker. Unlike client and server, there is no direct critical path latency\r\n * relationship between producer and consumer spans.\r\n */\r\n CONSUMER = 4\r\n}\r\n\r\n/**\r\n * Options needed for span creation\r\n */\r\ndeclare interface SpanOptions {\r\n /**\r\n * The SpanKind of a span\r\n * @default {@link SpanKind.INTERNAL}\r\n */\r\n kind?: SpanKind;\r\n /** A span's attributes */\r\n attributes?: SpanAttributes;\r\n /** {@link Link}s span to other spans */\r\n links?: Link[];\r\n /** A manually specified start time for the created `Span` object. */\r\n startTime?: TimeInput;\r\n /** The new span should be a root span. (Ignore parent from context). */\r\n root?: boolean;\r\n}\r\n\r\ndeclare interface SpanStatus {\r\n /** The status code of this message. */\r\n code: SpanStatusCode;\r\n /** A developer-facing error message. */\r\n message?: string;\r\n}\r\n\r\n/**\r\n * An enumeration of status codes.\r\n */\r\ndeclare enum SpanStatusCode {\r\n /**\r\n * The default status.\r\n */\r\n UNSET = 0,\r\n /**\r\n * The operation has been validated by an Application developer or\r\n * Operator to have completed successfully.\r\n */\r\n OK = 1,\r\n /**\r\n * The operation contains an error.\r\n */\r\n ERROR = 2\r\n}\r\n\r\n/**\r\n * A SQL instance can be nested within each other to build SQL strings.\r\n */\r\nexport declare class Sql {\r\n readonly values: Value[];\r\n readonly strings: string[];\r\n constructor(rawStrings: readonly string[], rawValues: readonly RawValue[]);\r\n get sql(): string;\r\n get statement(): string;\r\n get text(): string;\r\n inspect(): {\r\n sql: string;\r\n statement: string;\r\n text: string;\r\n values: unknown[];\r\n };\r\n}\r\n\r\ndeclare interface SqlDriverAdapter extends SqlQueryable {\r\n /**\r\n * Execute multiple SQL statements separated by semicolon.\r\n */\r\n executeScript(script: string): Promise<void>;\r\n /**\r\n * Start new transaction.\r\n */\r\n startTransaction(isolationLevel?: IsolationLevel): Promise<Transaction>;\r\n /**\r\n * Optional method that returns extra connection info\r\n */\r\n getConnectionInfo?(): ConnectionInfo;\r\n /**\r\n * Dispose of the connection and release any resources.\r\n */\r\n dispose(): Promise<void>;\r\n}\r\n\r\nexport declare interface SqlDriverAdapterFactory extends DriverAdapterFactory<SqlQuery, SqlResultSet> {\r\n connect(): Promise<SqlDriverAdapter>;\r\n}\r\n\r\ndeclare type SqlQuery = {\r\n sql: string;\r\n args: Array<unknown>;\r\n argTypes: Array<ArgType>;\r\n};\r\n\r\ndeclare interface SqlQueryable extends Queryable<SqlQuery, SqlResultSet> {\r\n}\r\n\r\ndeclare interface SqlResultSet {\r\n /**\r\n * List of column types appearing in a database query, in the same order as `columnNames`.\r\n * They are used within the Query Engine to convert values from JS to Quaint values.\r\n */\r\n columnTypes: Array<ColumnType>;\r\n /**\r\n * List of column names appearing in a database query, in the same order as `columnTypes`.\r\n */\r\n columnNames: Array<string>;\r\n /**\r\n * List of rows retrieved from a database query.\r\n * Each row is a list of values, whose length matches `columnNames` and `columnTypes`.\r\n */\r\n rows: Array<Array<unknown>>;\r\n /**\r\n * The last ID of an `INSERT` statement, if any.\r\n * This is required for `AUTO_INCREMENT` columns in databases based on MySQL and SQLite.\r\n */\r\n lastInsertId?: string;\r\n}\r\n\r\n/**\r\n * Create a SQL object from a template string.\r\n */\r\nexport declare function sqltag(strings: readonly string[], ...values: readonly RawValue[]): Sql;\r\n\r\n/**\r\n * Defines TimeInput.\r\n *\r\n * hrtime, epoch milliseconds, performance.now() or Date\r\n */\r\ndeclare type TimeInput = HrTime_2 | number | Date;\r\n\r\nexport declare type ToTuple<T> = T extends any[] ? T : [T];\r\n\r\ndeclare interface TraceState {\r\n /**\r\n * Create a new TraceState which inherits from this TraceState and has the\r\n * given key set.\r\n * The new entry will always be added in the front of the list of states.\r\n *\r\n * @param key key of the TraceState entry.\r\n * @param value value of the TraceState entry.\r\n */\r\n set(key: string, value: string): TraceState;\r\n /**\r\n * Return a new TraceState which inherits from this TraceState but does not\r\n * contain the given key.\r\n *\r\n * @param key the key for the TraceState entry to be removed.\r\n */\r\n unset(key: string): TraceState;\r\n /**\r\n * Returns the value to which the specified key is mapped, or `undefined` if\r\n * this map contains no mapping for the key.\r\n *\r\n * @param key with which the specified value is to be associated.\r\n * @returns the value to which the specified key is mapped, or `undefined` if\r\n * this map contains no mapping for the key.\r\n */\r\n get(key: string): string | undefined;\r\n /**\r\n * Serializes the TraceState to a `list` as defined below. The `list` is a\r\n * series of `list-members` separated by commas `,`, and a list-member is a\r\n * key/value pair separated by an equals sign `=`. Spaces and horizontal tabs\r\n * surrounding `list-members` are ignored. There can be a maximum of 32\r\n * `list-members` in a `list`.\r\n *\r\n * @returns the serialized string.\r\n */\r\n serialize(): string;\r\n}\r\n\r\ndeclare interface TracingHelper {\r\n isEnabled(): boolean;\r\n getTraceParent(context?: Context): string;\r\n dispatchEngineSpans(spans: EngineSpan[]): void;\r\n getActiveContext(): Context | undefined;\r\n runInChildSpan<R>(nameOrOptions: string | ExtendedSpanOptions, callback: SpanCallback<R>): R;\r\n}\r\n\r\ndeclare interface Transaction extends AdapterInfo, SqlQueryable {\r\n /**\r\n * Transaction options.\r\n */\r\n readonly options: TransactionOptions;\r\n /**\r\n * Commit the transaction.\r\n */\r\n commit(): Promise<void>;\r\n /**\r\n * Roll back the transaction.\r\n */\r\n rollback(): Promise<void>;\r\n}\r\n\r\ndeclare namespace Transaction_2 {\r\n export {\r\n TransactionOptions_2 as Options,\r\n InteractiveTransactionInfo,\r\n TransactionHeaders\r\n }\r\n}\r\n\r\ndeclare type TransactionHeaders = {\r\n traceparent?: string;\r\n};\r\n\r\ndeclare type TransactionOptions = {\r\n usePhantomQuery: boolean;\r\n};\r\n\r\ndeclare type TransactionOptions_2 = {\r\n maxWait?: number;\r\n timeout?: number;\r\n isolationLevel?: IsolationLevel;\r\n};\r\n\r\ndeclare type TransactionOptions_3<InteractiveTransactionPayload> = {\r\n kind: 'itx';\r\n options: InteractiveTransactionOptions<InteractiveTransactionPayload>;\r\n} | {\r\n kind: 'batch';\r\n options: BatchTransactionOptions;\r\n};\r\n\r\nexport declare class TypedSql<Values extends readonly unknown[], Result> {\r\n [PrivateResultType]: Result;\r\n constructor(sql: string, values: Values);\r\n get sql(): string;\r\n get values(): Values;\r\n}\r\n\r\nexport declare type TypeMapCbDef = Fn<{\r\n extArgs: InternalArgs;\r\n}, TypeMapDef>;\r\n\r\n/** Shared */\r\nexport declare type TypeMapDef = Record<any, any>;\r\n\r\ndeclare type TypeRef<AllowedLocations extends FieldLocation> = {\r\n isList: boolean;\r\n type: string;\r\n location: AllowedLocations;\r\n namespace?: FieldNamespace;\r\n};\r\n\r\ndeclare namespace Types {\r\n export {\r\n Result_3 as Result,\r\n Extensions_2 as Extensions,\r\n Utils,\r\n Public_2 as Public,\r\n isSkip,\r\n Skip,\r\n skip,\r\n UnknownTypedSql,\r\n OperationPayload as Payload\r\n }\r\n}\r\nexport { Types }\r\n\r\ndeclare type uniqueIndex = ReadonlyDeep_2<{\r\n name: string;\r\n fields: string[];\r\n}>;\r\n\r\ndeclare type UnknownErrorParams = {\r\n clientVersion: string;\r\n batchRequestIdx?: number;\r\n};\r\n\r\nexport declare type UnknownTypedSql = TypedSql<unknown[], unknown>;\r\n\r\ndeclare type Unpacker = (data: any) => any;\r\n\r\nexport declare type UnwrapPayload<P> = {} extends P ? unknown : {\r\n [K in keyof P]: P[K] extends {\r\n scalars: infer S;\r\n composites: infer C;\r\n }[] ? Array<S & UnwrapPayload<C>> : P[K] extends {\r\n scalars: infer S;\r\n composites: infer C;\r\n } | null ? S & UnwrapPayload<C> | Select<P[K], null> : never;\r\n};\r\n\r\nexport declare type UnwrapPromise<P> = P extends Promise<infer R> ? R : P;\r\n\r\nexport declare type UnwrapTuple<Tuple extends readonly unknown[]> = {\r\n [K in keyof Tuple]: K extends `${number}` ? Tuple[K] extends PrismaPromise<infer X> ? X : UnwrapPromise<Tuple[K]> : UnwrapPromise<Tuple[K]>;\r\n};\r\n\r\n/**\r\n * Input that flows from the user into the Client.\r\n */\r\ndeclare type UserArgs_2 = any;\r\n\r\ndeclare namespace Utils {\r\n export {\r\n EmptyToUnknown,\r\n NeverToUnknown,\r\n PatchFlat,\r\n Omit_2 as Omit,\r\n Pick_2 as Pick,\r\n ComputeDeep,\r\n Compute,\r\n OptionalFlat,\r\n ReadonlyDeep,\r\n Narrowable,\r\n Narrow,\r\n Exact,\r\n Cast,\r\n Record_2 as Record,\r\n UnwrapPromise,\r\n UnwrapTuple,\r\n Path,\r\n Fn,\r\n Call,\r\n RequiredKeys,\r\n OptionalKeys,\r\n Optional,\r\n Return,\r\n ToTuple,\r\n RenameAndNestPayloadKeys,\r\n PayloadToResult,\r\n Select,\r\n Equals,\r\n Or,\r\n JsPromise\r\n }\r\n}\r\n\r\ndeclare function validator<V>(): <S>(select: Exact<S, V>) => S;\r\n\r\ndeclare function validator<C, M extends Exclude<keyof C, `$${string}`>, O extends keyof C[M] & Operation>(client: C, model: M, operation: O): <S>(select: Exact<S, Args<C[M], O>>) => S;\r\n\r\ndeclare function validator<C, M extends Exclude<keyof C, `$${string}`>, O extends keyof C[M] & Operation, P extends keyof Args<C[M], O>>(client: C, model: M, operation: O, prop: P): <S>(select: Exact<S, Args<C[M], O>[P]>) => S;\r\n\r\n/**\r\n * Values supported by SQL engine.\r\n */\r\nexport declare type Value = unknown;\r\n\r\nexport declare function warnEnvConflicts(envPaths: any): void;\r\n\r\nexport declare const warnOnce: (key: string, message: string, ...args: unknown[]) => void;\r\n\r\nexport { }\r\n",
12561
- "node_modules/@prisma/client/runtime/react-native.d.ts": "/**\r\n * @param this\r\n */\r\ndeclare function $extends(this: Client, extension: ExtensionArgs | ((client: Client) => Client)): Client;\r\n\r\ndeclare type AccelerateEngineConfig = {\r\n inlineSchema: EngineConfig['inlineSchema'];\r\n inlineSchemaHash: EngineConfig['inlineSchemaHash'];\r\n env: EngineConfig['env'];\r\n generator?: {\r\n previewFeatures: string[];\r\n };\r\n inlineDatasources: EngineConfig['inlineDatasources'];\r\n overrideDatasources: EngineConfig['overrideDatasources'];\r\n clientVersion: EngineConfig['clientVersion'];\r\n engineVersion: EngineConfig['engineVersion'];\r\n logEmitter: EngineConfig['logEmitter'];\r\n logQueries?: EngineConfig['logQueries'];\r\n logLevel?: EngineConfig['logLevel'];\r\n tracingHelper: EngineConfig['tracingHelper'];\r\n accelerateUtils?: AccelerateUtils;\r\n};\r\n\r\ndeclare type AccelerateUtils = EngineConfig['accelerateUtils'];\r\n\r\nexport declare type Action = keyof typeof DMMF_2.ModelAction | 'executeRaw' | 'queryRaw' | 'runCommandRaw';\r\n\r\ndeclare type ActiveConnectorType = Exclude<ConnectorType, 'postgres' | 'prisma+postgres'>;\r\n\r\n/**\r\n * An interface that exposes some basic information about the\r\n * adapter like its name and provider type.\r\n */\r\ndeclare interface AdapterInfo {\r\n readonly provider: Provider;\r\n readonly adapterName: (typeof officialPrismaAdapters)[number] | (string & {});\r\n}\r\n\r\nexport declare type Aggregate = '_count' | '_max' | '_min' | '_avg' | '_sum';\r\n\r\nexport declare type AllModelsToStringIndex<TypeMap extends TypeMapDef, Args extends Record<string, any>, K extends PropertyKey> = Args extends {\r\n [P in K]: {\r\n $allModels: infer AllModels;\r\n };\r\n} ? {\r\n [P in K]: Record<TypeMap['meta']['modelProps'], AllModels>;\r\n} : {};\r\n\r\ndeclare class AnyNull extends NullTypesEnumValue {\r\n #private;\r\n}\r\n\r\nexport declare type ApplyOmit<T, OmitConfig> = Compute<{\r\n [K in keyof T as OmitValue<OmitConfig, K> extends true ? never : K]: T[K];\r\n}>;\r\n\r\nexport declare type Args<T, F extends Operation> = T extends {\r\n [K: symbol]: {\r\n types: {\r\n operations: {\r\n [K in F]: {\r\n args: any;\r\n };\r\n };\r\n };\r\n };\r\n} ? T[symbol]['types']['operations'][F]['args'] : any;\r\n\r\nexport declare type Args_3<T, F extends Operation> = Args<T, F>;\r\n\r\n/**\r\n * Original `quaint::ValueType` enum tag from Prisma's `quaint`.\r\n * Query arguments marked with this type are sanitized before being sent to the database.\r\n * Notice while a query argument may be `null`, `ArgType` is guaranteed to be defined.\r\n */\r\ndeclare type ArgType = 'Int32' | 'Int64' | 'Float' | 'Double' | 'Text' | 'Enum' | 'EnumArray' | 'Bytes' | 'Boolean' | 'Char' | 'Array' | 'Numeric' | 'Json' | 'Xml' | 'Uuid' | 'DateTime' | 'Date' | 'Time';\r\n\r\n/**\r\n * Attributes is a map from string to attribute values.\r\n *\r\n * Note: only the own enumerable keys are counted as valid attribute keys.\r\n */\r\ndeclare interface Attributes {\r\n [attributeKey: string]: AttributeValue | undefined;\r\n}\r\n\r\n/**\r\n * Attribute values may be any non-nullish primitive value except an object.\r\n *\r\n * null or undefined attribute values are invalid and will result in undefined behavior.\r\n */\r\ndeclare type AttributeValue = string | number | boolean | Array<null | undefined | string> | Array<null | undefined | number> | Array<null | undefined | boolean>;\r\n\r\nexport declare type BaseDMMF = {\r\n readonly datamodel: Omit<DMMF_2.Datamodel, 'indexes'>;\r\n};\r\n\r\ndeclare type BatchArgs = {\r\n queries: BatchQuery[];\r\n transaction?: {\r\n isolationLevel?: IsolationLevel;\r\n };\r\n};\r\n\r\ndeclare type BatchInternalParams = {\r\n requests: RequestParams[];\r\n customDataProxyFetch?: CustomDataProxyFetch;\r\n};\r\n\r\ndeclare type BatchQuery = {\r\n model: string | undefined;\r\n operation: string;\r\n args: JsArgs | RawQueryArgs;\r\n};\r\n\r\ndeclare type BatchQueryEngineResult<T> = QueryEngineResultData<T> | Error;\r\n\r\ndeclare type BatchQueryOptionsCb = (args: BatchQueryOptionsCbArgs) => Promise<any>;\r\n\r\ndeclare type BatchQueryOptionsCbArgs = {\r\n args: BatchArgs;\r\n query: (args: BatchArgs, __internalParams?: BatchInternalParams) => Promise<unknown[]>;\r\n __internalParams: BatchInternalParams;\r\n};\r\n\r\ndeclare type BatchResponse = MultiBatchResponse | CompactedBatchResponse;\r\n\r\ndeclare type BatchTransactionOptions = {\r\n isolationLevel?: IsolationLevel;\r\n};\r\n\r\ndeclare interface BinaryTargetsEnvValue {\r\n fromEnvVar: string | null;\r\n value: string;\r\n native?: boolean;\r\n}\r\n\r\nexport declare type Call<F extends Fn, P> = (F & {\r\n params: P;\r\n})['returns'];\r\n\r\ndeclare interface CallSite {\r\n getLocation(): LocationInFile | null;\r\n}\r\n\r\nexport declare type Cast<A, W> = A extends W ? A : W;\r\n\r\ndeclare type Client = ReturnType<typeof getPrismaClient> extends new () => infer T ? T : never;\r\n\r\nexport declare type ClientArg = {\r\n [MethodName in string]: unknown;\r\n};\r\n\r\nexport declare type ClientArgs = {\r\n client: ClientArg;\r\n};\r\n\r\nexport declare type ClientBuiltInProp = keyof DynamicClientExtensionThisBuiltin<never, never, never>;\r\n\r\nexport declare type ClientOptionDef = undefined | {\r\n [K in string]: any;\r\n};\r\n\r\nexport declare type ClientOtherOps = {\r\n $queryRaw<T = unknown>(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise<T>;\r\n $queryRawTyped<T>(query: TypedSql<unknown[], T>): PrismaPromise<T[]>;\r\n $queryRawUnsafe<T = unknown>(query: string, ...values: any[]): PrismaPromise<T>;\r\n $executeRaw(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise<number>;\r\n $executeRawUnsafe(query: string, ...values: any[]): PrismaPromise<number>;\r\n $runCommandRaw(command: InputJsonObject): PrismaPromise<JsonObject>;\r\n};\r\n\r\ndeclare type ColumnType = (typeof ColumnTypeEnum)[keyof typeof ColumnTypeEnum];\r\n\r\ndeclare const ColumnTypeEnum: {\r\n readonly Int32: 0;\r\n readonly Int64: 1;\r\n readonly Float: 2;\r\n readonly Double: 3;\r\n readonly Numeric: 4;\r\n readonly Boolean: 5;\r\n readonly Character: 6;\r\n readonly Text: 7;\r\n readonly Date: 8;\r\n readonly Time: 9;\r\n readonly DateTime: 10;\r\n readonly Json: 11;\r\n readonly Enum: 12;\r\n readonly Bytes: 13;\r\n readonly Set: 14;\r\n readonly Uuid: 15;\r\n readonly Int32Array: 64;\r\n readonly Int64Array: 65;\r\n readonly FloatArray: 66;\r\n readonly DoubleArray: 67;\r\n readonly NumericArray: 68;\r\n readonly BooleanArray: 69;\r\n readonly CharacterArray: 70;\r\n readonly TextArray: 71;\r\n readonly DateArray: 72;\r\n readonly TimeArray: 73;\r\n readonly DateTimeArray: 74;\r\n readonly JsonArray: 75;\r\n readonly EnumArray: 76;\r\n readonly BytesArray: 77;\r\n readonly UuidArray: 78;\r\n readonly UnknownNumber: 128;\r\n};\r\n\r\ndeclare type CompactedBatchResponse = {\r\n type: 'compacted';\r\n plan: object;\r\n arguments: Record<string, {}>[];\r\n nestedSelection: string[];\r\n keys: string[];\r\n expectNonEmpty: boolean;\r\n};\r\n\r\ndeclare type CompilerWasmLoadingConfig = {\r\n /**\r\n * WASM-bindgen runtime for corresponding module\r\n */\r\n getRuntime: () => Promise<{\r\n __wbg_set_wasm(exports: unknown): void;\r\n QueryCompiler: QueryCompilerConstructor;\r\n }>;\r\n /**\r\n * Loads the raw wasm module for the wasm compiler engine. This configuration is\r\n * generated specifically for each type of client, eg. Node.js client and Edge\r\n * clients will have different implementations.\r\n * @remarks this is a callback on purpose, we only load the wasm if needed.\r\n * @remarks only used by ClientEngine\r\n */\r\n getQueryCompilerWasmModule: () => Promise<unknown>;\r\n};\r\n\r\nexport declare type Compute<T> = T extends Function ? T : {\r\n [K in keyof T]: T[K];\r\n} & unknown;\r\n\r\nexport declare type ComputeDeep<T> = T extends Function ? T : {\r\n [K in keyof T]: ComputeDeep<T[K]>;\r\n} & unknown;\r\n\r\ndeclare type ComputedField = {\r\n name: string;\r\n needs: string[];\r\n compute: ResultArgsFieldCompute;\r\n};\r\n\r\ndeclare type ComputedFieldsMap = {\r\n [fieldName: string]: ComputedField;\r\n};\r\n\r\ndeclare type ConnectionInfo = {\r\n schemaName?: string;\r\n maxBindValues?: number;\r\n};\r\n\r\ndeclare type ConnectorType = 'mysql' | 'mongodb' | 'sqlite' | 'postgresql' | 'postgres' | 'prisma+postgres' | 'sqlserver' | 'cockroachdb';\r\n\r\ndeclare interface Context {\r\n /**\r\n * Get a value from the context.\r\n *\r\n * @param key key which identifies a context value\r\n */\r\n getValue(key: symbol): unknown;\r\n /**\r\n * Create a new context which inherits from this context and has\r\n * the given key set to the given value.\r\n *\r\n * @param key context key for which to set the value\r\n * @param value value to set for the given key\r\n */\r\n setValue(key: symbol, value: unknown): Context;\r\n /**\r\n * Return a new context which inherits from this context but does\r\n * not contain a value for the given key.\r\n *\r\n * @param key context key for which to clear a value\r\n */\r\n deleteValue(key: symbol): Context;\r\n}\r\n\r\ndeclare type Context_2<T> = T extends {\r\n [K: symbol]: {\r\n ctx: infer C;\r\n };\r\n} ? C & T & {\r\n /**\r\n * @deprecated Use `$name` instead.\r\n */\r\n name?: string;\r\n $name?: string;\r\n $parent?: unknown;\r\n} : T & {\r\n /**\r\n * @deprecated Use `$name` instead.\r\n */\r\n name?: string;\r\n $name?: string;\r\n $parent?: unknown;\r\n};\r\n\r\nexport declare type Count<O> = {\r\n [K in keyof O]: Count<number>;\r\n} & {};\r\n\r\nexport declare function createParam(name: string): Param<unknown, string>;\r\n\r\n/**\r\n * Custom fetch function for `DataProxyEngine`.\r\n *\r\n * We can't use the actual type of `globalThis.fetch` because this will result\r\n * in API Extractor referencing Node.js type definitions in the `.d.ts` bundle\r\n * for the client runtime. We can only use such types in internal types that\r\n * don't end up exported anywhere.\r\n\r\n * It's also not possible to write a definition of `fetch` that would accept the\r\n * actual `fetch` function from different environments such as Node.js and\r\n * Cloudflare Workers (with their extensions to `RequestInit` and `Response`).\r\n * `fetch` is used in both covariant and contravariant positions in\r\n * `CustomDataProxyFetch`, making it invariant, so we need the exact same type.\r\n * Even if we removed the argument and left `fetch` in covariant position only,\r\n * then for an extension-supplied function to be assignable to `customDataProxyFetch`,\r\n * the platform-specific (or custom) `fetch` function needs to be assignable\r\n * to our `fetch` definition. This, in turn, requires the third-party `Response`\r\n * to be a subtype of our `Response` (which is not a problem, we could declare\r\n * a minimal `Response` type that only includes what we use) *and* requires the\r\n * third-party `RequestInit` to be a supertype of our `RequestInit` (i.e. we\r\n * have to declare all properties any `RequestInit` implementation in existence\r\n * could possibly have), which is not possible.\r\n *\r\n * Since `@prisma/extension-accelerate` redefines the type of\r\n * `__internalParams.customDataProxyFetch` to its own type anyway (probably for\r\n * exactly this reason), our definition is never actually used and is completely\r\n * ignored, so it doesn't matter, and we can just use `unknown` as the type of\r\n * `fetch` here.\r\n */\r\ndeclare type CustomDataProxyFetch = (fetch: unknown) => unknown;\r\n\r\ndeclare class DataLoader<T = unknown> {\r\n private options;\r\n batches: {\r\n [key: string]: Job[];\r\n };\r\n private tickActive;\r\n constructor(options: DataLoaderOptions<T>);\r\n request(request: T): Promise<any>;\r\n private dispatchBatches;\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\ndeclare type DataLoaderOptions<T> = {\r\n singleLoader: (request: T) => Promise<any>;\r\n batchLoader: (request: T[]) => Promise<any[]>;\r\n batchBy: (request: T) => string | undefined;\r\n batchOrder: (requestA: T, requestB: T) => number;\r\n};\r\n\r\ndeclare type Datamodel = ReadonlyDeep_2<{\r\n models: Model[];\r\n enums: DatamodelEnum[];\r\n types: Model[];\r\n indexes: Index[];\r\n}>;\r\n\r\ndeclare type DatamodelEnum = ReadonlyDeep_2<{\r\n name: string;\r\n values: EnumValue[];\r\n dbName?: string | null;\r\n documentation?: string;\r\n}>;\r\n\r\ndeclare function datamodelEnumToSchemaEnum(datamodelEnum: DatamodelEnum): SchemaEnum;\r\n\r\ndeclare type Datasource = {\r\n url?: string;\r\n};\r\n\r\ndeclare type Datasources = {\r\n [name in string]: Datasource;\r\n};\r\n\r\ndeclare class DbNull extends NullTypesEnumValue {\r\n #private;\r\n}\r\n\r\nexport declare const Debug: typeof debugCreate & {\r\n enable(namespace: any): void;\r\n disable(): any;\r\n enabled(namespace: string): boolean;\r\n log: (...args: string[]) => void;\r\n formatters: {};\r\n};\r\n\r\n/**\r\n * Create a new debug instance with the given namespace.\r\n *\r\n * @example\r\n * ```ts\r\n * import Debug from '@prisma/debug'\r\n * const debug = Debug('prisma:client')\r\n * debug('Hello World')\r\n * ```\r\n */\r\ndeclare function debugCreate(namespace: string): ((...args: any[]) => void) & {\r\n color: string;\r\n enabled: boolean;\r\n namespace: string;\r\n log: (...args: string[]) => void;\r\n extend: () => void;\r\n};\r\n\r\nexport declare function Decimal(n: Decimal.Value): Decimal;\r\n\r\nexport declare namespace Decimal {\r\n export type Constructor = typeof Decimal;\r\n export type Instance = Decimal;\r\n export type Rounding = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;\r\n export type Modulo = Rounding | 9;\r\n export type Value = string | number | Decimal;\r\n\r\n // http://mikemcl.github.io/decimal.js/#constructor-properties\r\n export interface Config {\r\n precision?: number;\r\n rounding?: Rounding;\r\n toExpNeg?: number;\r\n toExpPos?: number;\r\n minE?: number;\r\n maxE?: number;\r\n crypto?: boolean;\r\n modulo?: Modulo;\r\n defaults?: boolean;\r\n }\r\n}\r\n\r\nexport declare class Decimal {\r\n readonly d: number[];\r\n readonly e: number;\r\n readonly s: number;\r\n\r\n constructor(n: Decimal.Value);\r\n\r\n absoluteValue(): Decimal;\r\n abs(): Decimal;\r\n\r\n ceil(): Decimal;\r\n\r\n clampedTo(min: Decimal.Value, max: Decimal.Value): Decimal;\r\n clamp(min: Decimal.Value, max: Decimal.Value): Decimal;\r\n\r\n comparedTo(n: Decimal.Value): number;\r\n cmp(n: Decimal.Value): number;\r\n\r\n cosine(): Decimal;\r\n cos(): Decimal;\r\n\r\n cubeRoot(): Decimal;\r\n cbrt(): Decimal;\r\n\r\n decimalPlaces(): number;\r\n dp(): number;\r\n\r\n dividedBy(n: Decimal.Value): Decimal;\r\n div(n: Decimal.Value): Decimal;\r\n\r\n dividedToIntegerBy(n: Decimal.Value): Decimal;\r\n divToInt(n: Decimal.Value): Decimal;\r\n\r\n equals(n: Decimal.Value): boolean;\r\n eq(n: Decimal.Value): boolean;\r\n\r\n floor(): Decimal;\r\n\r\n greaterThan(n: Decimal.Value): boolean;\r\n gt(n: Decimal.Value): boolean;\r\n\r\n greaterThanOrEqualTo(n: Decimal.Value): boolean;\r\n gte(n: Decimal.Value): boolean;\r\n\r\n hyperbolicCosine(): Decimal;\r\n cosh(): Decimal;\r\n\r\n hyperbolicSine(): Decimal;\r\n sinh(): Decimal;\r\n\r\n hyperbolicTangent(): Decimal;\r\n tanh(): Decimal;\r\n\r\n inverseCosine(): Decimal;\r\n acos(): Decimal;\r\n\r\n inverseHyperbolicCosine(): Decimal;\r\n acosh(): Decimal;\r\n\r\n inverseHyperbolicSine(): Decimal;\r\n asinh(): Decimal;\r\n\r\n inverseHyperbolicTangent(): Decimal;\r\n atanh(): Decimal;\r\n\r\n inverseSine(): Decimal;\r\n asin(): Decimal;\r\n\r\n inverseTangent(): Decimal;\r\n atan(): Decimal;\r\n\r\n isFinite(): boolean;\r\n\r\n isInteger(): boolean;\r\n isInt(): boolean;\r\n\r\n isNaN(): boolean;\r\n\r\n isNegative(): boolean;\r\n isNeg(): boolean;\r\n\r\n isPositive(): boolean;\r\n isPos(): boolean;\r\n\r\n isZero(): boolean;\r\n\r\n lessThan(n: Decimal.Value): boolean;\r\n lt(n: Decimal.Value): boolean;\r\n\r\n lessThanOrEqualTo(n: Decimal.Value): boolean;\r\n lte(n: Decimal.Value): boolean;\r\n\r\n logarithm(n?: Decimal.Value): Decimal;\r\n log(n?: Decimal.Value): Decimal;\r\n\r\n minus(n: Decimal.Value): Decimal;\r\n sub(n: Decimal.Value): Decimal;\r\n\r\n modulo(n: Decimal.Value): Decimal;\r\n mod(n: Decimal.Value): Decimal;\r\n\r\n naturalExponential(): Decimal;\r\n exp(): Decimal;\r\n\r\n naturalLogarithm(): Decimal;\r\n ln(): Decimal;\r\n\r\n negated(): Decimal;\r\n neg(): Decimal;\r\n\r\n plus(n: Decimal.Value): Decimal;\r\n add(n: Decimal.Value): Decimal;\r\n\r\n precision(includeZeros?: boolean): number;\r\n sd(includeZeros?: boolean): number;\r\n\r\n round(): Decimal;\r\n\r\n sine() : Decimal;\r\n sin() : Decimal;\r\n\r\n squareRoot(): Decimal;\r\n sqrt(): Decimal;\r\n\r\n tangent() : Decimal;\r\n tan() : Decimal;\r\n\r\n times(n: Decimal.Value): Decimal;\r\n mul(n: Decimal.Value) : Decimal;\r\n\r\n toBinary(significantDigits?: number): string;\r\n toBinary(significantDigits: number, rounding: Decimal.Rounding): string;\r\n\r\n toDecimalPlaces(decimalPlaces?: number): Decimal;\r\n toDecimalPlaces(decimalPlaces: number, rounding: Decimal.Rounding): Decimal;\r\n toDP(decimalPlaces?: number): Decimal;\r\n toDP(decimalPlaces: number, rounding: Decimal.Rounding): Decimal;\r\n\r\n toExponential(decimalPlaces?: number): string;\r\n toExponential(decimalPlaces: number, rounding: Decimal.Rounding): string;\r\n\r\n toFixed(decimalPlaces?: number): string;\r\n toFixed(decimalPlaces: number, rounding: Decimal.Rounding): string;\r\n\r\n toFraction(max_denominator?: Decimal.Value): Decimal[];\r\n\r\n toHexadecimal(significantDigits?: number): string;\r\n toHexadecimal(significantDigits: number, rounding: Decimal.Rounding): string;\r\n toHex(significantDigits?: number): string;\r\n toHex(significantDigits: number, rounding?: Decimal.Rounding): string;\r\n\r\n toJSON(): string;\r\n\r\n toNearest(n: Decimal.Value, rounding?: Decimal.Rounding): Decimal;\r\n\r\n toNumber(): number;\r\n\r\n toOctal(significantDigits?: number): string;\r\n toOctal(significantDigits: number, rounding: Decimal.Rounding): string;\r\n\r\n toPower(n: Decimal.Value): Decimal;\r\n pow(n: Decimal.Value): Decimal;\r\n\r\n toPrecision(significantDigits?: number): string;\r\n toPrecision(significantDigits: number, rounding: Decimal.Rounding): string;\r\n\r\n toSignificantDigits(significantDigits?: number): Decimal;\r\n toSignificantDigits(significantDigits: number, rounding: Decimal.Rounding): Decimal;\r\n toSD(significantDigits?: number): Decimal;\r\n toSD(significantDigits: number, rounding: Decimal.Rounding): Decimal;\r\n\r\n toString(): string;\r\n\r\n truncated(): Decimal;\r\n trunc(): Decimal;\r\n\r\n valueOf(): string;\r\n\r\n static abs(n: Decimal.Value): Decimal;\r\n static acos(n: Decimal.Value): Decimal;\r\n static acosh(n: Decimal.Value): Decimal;\r\n static add(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static asin(n: Decimal.Value): Decimal;\r\n static asinh(n: Decimal.Value): Decimal;\r\n static atan(n: Decimal.Value): Decimal;\r\n static atanh(n: Decimal.Value): Decimal;\r\n static atan2(y: Decimal.Value, x: Decimal.Value): Decimal;\r\n static cbrt(n: Decimal.Value): Decimal;\r\n static ceil(n: Decimal.Value): Decimal;\r\n static clamp(n: Decimal.Value, min: Decimal.Value, max: Decimal.Value): Decimal;\r\n static clone(object?: Decimal.Config): Decimal.Constructor;\r\n static config(object: Decimal.Config): Decimal.Constructor;\r\n static cos(n: Decimal.Value): Decimal;\r\n static cosh(n: Decimal.Value): Decimal;\r\n static div(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static exp(n: Decimal.Value): Decimal;\r\n static floor(n: Decimal.Value): Decimal;\r\n static hypot(...n: Decimal.Value[]): Decimal;\r\n static isDecimal(object: any): object is Decimal;\r\n static ln(n: Decimal.Value): Decimal;\r\n static log(n: Decimal.Value, base?: Decimal.Value): Decimal;\r\n static log2(n: Decimal.Value): Decimal;\r\n static log10(n: Decimal.Value): Decimal;\r\n static max(...n: Decimal.Value[]): Decimal;\r\n static min(...n: Decimal.Value[]): Decimal;\r\n static mod(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static mul(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static noConflict(): Decimal.Constructor; // Browser only\r\n static pow(base: Decimal.Value, exponent: Decimal.Value): Decimal;\r\n static random(significantDigits?: number): Decimal;\r\n static round(n: Decimal.Value): Decimal;\r\n static set(object: Decimal.Config): Decimal.Constructor;\r\n static sign(n: Decimal.Value): number;\r\n static sin(n: Decimal.Value): Decimal;\r\n static sinh(n: Decimal.Value): Decimal;\r\n static sqrt(n: Decimal.Value): Decimal;\r\n static sub(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static sum(...n: Decimal.Value[]): Decimal;\r\n static tan(n: Decimal.Value): Decimal;\r\n static tanh(n: Decimal.Value): Decimal;\r\n static trunc(n: Decimal.Value): Decimal;\r\n\r\n static readonly default?: Decimal.Constructor;\r\n static readonly Decimal?: Decimal.Constructor;\r\n\r\n static readonly precision: number;\r\n static readonly rounding: Decimal.Rounding;\r\n static readonly toExpNeg: number;\r\n static readonly toExpPos: number;\r\n static readonly minE: number;\r\n static readonly maxE: number;\r\n static readonly crypto: boolean;\r\n static readonly modulo: Decimal.Modulo;\r\n\r\n static readonly ROUND_UP: 0;\r\n static readonly ROUND_DOWN: 1;\r\n static readonly ROUND_CEIL: 2;\r\n static readonly ROUND_FLOOR: 3;\r\n static readonly ROUND_HALF_UP: 4;\r\n static readonly ROUND_HALF_DOWN: 5;\r\n static readonly ROUND_HALF_EVEN: 6;\r\n static readonly ROUND_HALF_CEIL: 7;\r\n static readonly ROUND_HALF_FLOOR: 8;\r\n static readonly EUCLID: 9;\r\n}\r\n\r\n/**\r\n * Interface for any Decimal.js-like library\r\n * Allows us to accept Decimal.js from different\r\n * versions and some compatible alternatives\r\n */\r\nexport declare interface DecimalJsLike {\r\n d: number[];\r\n e: number;\r\n s: number;\r\n toFixed(): string;\r\n}\r\n\r\nexport declare type DefaultArgs = InternalArgs<{}, {}, {}, {}>;\r\n\r\nexport declare type DefaultSelection<Payload extends OperationPayload, Args = {}, GlobalOmitOptions = {}> = Args extends {\r\n omit: infer LocalOmit;\r\n} ? ApplyOmit<UnwrapPayload<{\r\n default: Payload;\r\n}>['default'], PatchFlat<LocalOmit, ExtractGlobalOmit<GlobalOmitOptions, Uncapitalize<Payload['name']>>>> : ApplyOmit<UnwrapPayload<{\r\n default: Payload;\r\n}>['default'], ExtractGlobalOmit<GlobalOmitOptions, Uncapitalize<Payload['name']>>>;\r\n\r\nexport declare function defineDmmfProperty(target: object, runtimeDataModel: RuntimeDataModel): void;\r\n\r\ndeclare function defineExtension(ext: ExtensionArgs | ((client: Client) => Client)): (client: Client) => Client;\r\n\r\ndeclare const denylist: readonly [\"$connect\", \"$disconnect\", \"$on\", \"$transaction\", \"$use\", \"$extends\"];\r\n\r\ndeclare type Deprecation = ReadonlyDeep_2<{\r\n sinceVersion: string;\r\n reason: string;\r\n plannedRemovalVersion?: string;\r\n}>;\r\n\r\ndeclare type DeserializedResponse = Array<Record<string, unknown>>;\r\n\r\nexport declare function deserializeJsonResponse(result: unknown): unknown;\r\n\r\nexport declare function deserializeRawResult(response: RawResponse): DeserializedResponse;\r\n\r\nexport declare type DevTypeMapDef = {\r\n meta: {\r\n modelProps: string;\r\n };\r\n model: {\r\n [Model in PropertyKey]: {\r\n [Operation in PropertyKey]: DevTypeMapFnDef;\r\n };\r\n };\r\n other: {\r\n [Operation in PropertyKey]: DevTypeMapFnDef;\r\n };\r\n};\r\n\r\nexport declare type DevTypeMapFnDef = {\r\n args: any;\r\n result: any;\r\n payload: OperationPayload;\r\n};\r\n\r\nexport declare namespace DMMF {\r\n export {\r\n datamodelEnumToSchemaEnum,\r\n Document_2 as Document,\r\n Mappings,\r\n OtherOperationMappings,\r\n DatamodelEnum,\r\n SchemaEnum,\r\n EnumValue,\r\n Datamodel,\r\n uniqueIndex,\r\n PrimaryKey,\r\n Model,\r\n FieldKind,\r\n FieldNamespace,\r\n FieldLocation,\r\n Field,\r\n FieldDefault,\r\n FieldDefaultScalar,\r\n Index,\r\n IndexType,\r\n IndexField,\r\n SortOrder,\r\n Schema,\r\n Query,\r\n QueryOutput,\r\n TypeRef,\r\n InputTypeRef,\r\n SchemaArg,\r\n OutputType,\r\n SchemaField,\r\n OutputTypeRef,\r\n Deprecation,\r\n InputType,\r\n FieldRefType,\r\n FieldRefAllowType,\r\n ModelMapping,\r\n ModelAction\r\n }\r\n}\r\n\r\ndeclare namespace DMMF_2 {\r\n export {\r\n datamodelEnumToSchemaEnum,\r\n Document_2 as Document,\r\n Mappings,\r\n OtherOperationMappings,\r\n DatamodelEnum,\r\n SchemaEnum,\r\n EnumValue,\r\n Datamodel,\r\n uniqueIndex,\r\n PrimaryKey,\r\n Model,\r\n FieldKind,\r\n FieldNamespace,\r\n FieldLocation,\r\n Field,\r\n FieldDefault,\r\n FieldDefaultScalar,\r\n Index,\r\n IndexType,\r\n IndexField,\r\n SortOrder,\r\n Schema,\r\n Query,\r\n QueryOutput,\r\n TypeRef,\r\n InputTypeRef,\r\n SchemaArg,\r\n OutputType,\r\n SchemaField,\r\n OutputTypeRef,\r\n Deprecation,\r\n InputType,\r\n FieldRefType,\r\n FieldRefAllowType,\r\n ModelMapping,\r\n ModelAction\r\n }\r\n}\r\n\r\nexport declare function dmmfToRuntimeDataModel(dmmfDataModel: DMMF_2.Datamodel): RuntimeDataModel;\r\n\r\ndeclare type Document_2 = ReadonlyDeep_2<{\r\n datamodel: Datamodel;\r\n schema: Schema;\r\n mappings: Mappings;\r\n}>;\r\n\r\n/**\r\n * A generic driver adapter factory that allows the user to instantiate a\r\n * driver adapter. The query and result types are specific to the adapter.\r\n */\r\ndeclare interface DriverAdapterFactory<Query, Result> extends AdapterInfo {\r\n /**\r\n * Instantiate a driver adapter.\r\n */\r\n connect(): Promise<Queryable<Query, Result>>;\r\n}\r\n\r\n/** Client */\r\nexport declare type DynamicClientExtensionArgs<C_, TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {\r\n [P in keyof C_]: unknown;\r\n} & {\r\n [K: symbol]: {\r\n ctx: Optional<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList> & {\r\n $parent: Optional<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList>;\r\n };\r\n };\r\n};\r\n\r\nexport declare type DynamicClientExtensionThis<TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {\r\n [P in keyof ExtArgs['client']]: Return<ExtArgs['client'][P]>;\r\n} & {\r\n [P in Exclude<TypeMap['meta']['modelProps'], keyof ExtArgs['client']>]: DynamicModelExtensionThis<TypeMap, ModelKey<TypeMap, P>, ExtArgs>;\r\n} & {\r\n [P in Exclude<keyof TypeMap['other']['operations'], keyof ExtArgs['client']>]: P extends keyof ClientOtherOps ? ClientOtherOps[P] : never;\r\n} & {\r\n [P in Exclude<ClientBuiltInProp, keyof ExtArgs['client']>]: DynamicClientExtensionThisBuiltin<TypeMap, TypeMapCb, ExtArgs>[P];\r\n} & {\r\n [K: symbol]: {\r\n types: TypeMap['other'];\r\n };\r\n};\r\n\r\nexport declare type DynamicClientExtensionThisBuiltin<TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {\r\n $extends: ExtendsHook<'extends', TypeMapCb, ExtArgs, Call<TypeMapCb, {\r\n extArgs: ExtArgs;\r\n }>>;\r\n $transaction<P extends PrismaPromise<any>[]>(arg: [...P], options?: {\r\n isolationLevel?: TypeMap['meta']['txIsolationLevel'];\r\n }): Promise<UnwrapTuple<P>>;\r\n $transaction<R>(fn: (client: Omit<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList>) => Promise<R>, options?: {\r\n maxWait?: number;\r\n timeout?: number;\r\n isolationLevel?: TypeMap['meta']['txIsolationLevel'];\r\n }): Promise<R>;\r\n $disconnect(): Promise<void>;\r\n $connect(): Promise<void>;\r\n};\r\n\r\n/** Model */\r\nexport declare type DynamicModelExtensionArgs<M_, TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {\r\n [K in keyof M_]: K extends '$allModels' ? {\r\n [P in keyof M_[K]]?: unknown;\r\n } & {\r\n [K: symbol]: {};\r\n } : K extends TypeMap['meta']['modelProps'] ? {\r\n [P in keyof M_[K]]?: unknown;\r\n } & {\r\n [K: symbol]: {\r\n ctx: DynamicModelExtensionThis<TypeMap, ModelKey<TypeMap, K>, ExtArgs> & {\r\n $parent: DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>;\r\n } & {\r\n $name: ModelKey<TypeMap, K>;\r\n } & {\r\n /**\r\n * @deprecated Use `$name` instead.\r\n */\r\n name: ModelKey<TypeMap, K>;\r\n };\r\n };\r\n } : never;\r\n};\r\n\r\nexport declare type DynamicModelExtensionFluentApi<TypeMap extends TypeMapDef, M extends PropertyKey, P extends PropertyKey, Null> = {\r\n [K in keyof TypeMap['model'][M]['payload']['objects']]: <A>(args?: Exact<A, Path<TypeMap['model'][M]['operations'][P]['args']['select'], [K]>>) => PrismaPromise<Path<DynamicModelExtensionFnResultBase<TypeMap, M, {\r\n select: {\r\n [P in K]: A;\r\n };\r\n }, P>, [K]> | Null> & DynamicModelExtensionFluentApi<TypeMap, (TypeMap['model'][M]['payload']['objects'][K] & {})['name'], P, Null | Select<TypeMap['model'][M]['payload']['objects'][K], null>>;\r\n};\r\n\r\nexport declare type DynamicModelExtensionFnResult<TypeMap extends TypeMapDef, M extends PropertyKey, A, P extends PropertyKey, Null> = P extends FluentOperation ? DynamicModelExtensionFluentApi<TypeMap, M, P, Null> & PrismaPromise<DynamicModelExtensionFnResultBase<TypeMap, M, A, P> | Null> : PrismaPromise<DynamicModelExtensionFnResultBase<TypeMap, M, A, P>>;\r\n\r\nexport declare type DynamicModelExtensionFnResultBase<TypeMap extends TypeMapDef, M extends PropertyKey, A, P extends PropertyKey> = GetResult<TypeMap['model'][M]['payload'], A, P & Operation, TypeMap['globalOmitOptions']>;\r\n\r\nexport declare type DynamicModelExtensionFnResultNull<P extends PropertyKey> = P extends 'findUnique' | 'findFirst' ? null : never;\r\n\r\nexport declare type DynamicModelExtensionOperationFn<TypeMap extends TypeMapDef, M extends PropertyKey, P extends PropertyKey> = {} extends TypeMap['model'][M]['operations'][P]['args'] ? <A extends TypeMap['model'][M]['operations'][P]['args']>(args?: Exact<A, TypeMap['model'][M]['operations'][P]['args']>) => DynamicModelExtensionFnResult<TypeMap, M, A, P, DynamicModelExtensionFnResultNull<P>> : <A extends TypeMap['model'][M]['operations'][P]['args']>(args: Exact<A, TypeMap['model'][M]['operations'][P]['args']>) => DynamicModelExtensionFnResult<TypeMap, M, A, P, DynamicModelExtensionFnResultNull<P>>;\r\n\r\nexport declare type DynamicModelExtensionThis<TypeMap extends TypeMapDef, M extends PropertyKey, ExtArgs extends Record<string, any>> = {\r\n [P in keyof ExtArgs['model'][Uncapitalize<M & string>]]: Return<ExtArgs['model'][Uncapitalize<M & string>][P]>;\r\n} & {\r\n [P in Exclude<keyof TypeMap['model'][M]['operations'], keyof ExtArgs['model'][Uncapitalize<M & string>]>]: DynamicModelExtensionOperationFn<TypeMap, M, P>;\r\n} & {\r\n [P in Exclude<'fields', keyof ExtArgs['model'][Uncapitalize<M & string>]>]: TypeMap['model'][M]['fields'];\r\n} & {\r\n [K: symbol]: {\r\n types: TypeMap['model'][M];\r\n };\r\n};\r\n\r\n/** Query */\r\nexport declare type DynamicQueryExtensionArgs<Q_, TypeMap extends TypeMapDef> = {\r\n [K in keyof Q_]: K extends '$allOperations' ? (args: {\r\n model?: string;\r\n operation: string;\r\n args: any;\r\n query: (args: any) => PrismaPromise<any>;\r\n }) => Promise<any> : K extends '$allModels' ? {\r\n [P in keyof Q_[K] | keyof TypeMap['model'][keyof TypeMap['model']]['operations'] | '$allOperations']?: P extends '$allOperations' ? DynamicQueryExtensionCb<TypeMap, 'model', keyof TypeMap['model'], keyof TypeMap['model'][keyof TypeMap['model']]['operations']> : P extends keyof TypeMap['model'][keyof TypeMap['model']]['operations'] ? DynamicQueryExtensionCb<TypeMap, 'model', keyof TypeMap['model'], P> : never;\r\n } : K extends TypeMap['meta']['modelProps'] ? {\r\n [P in keyof Q_[K] | keyof TypeMap['model'][ModelKey<TypeMap, K>]['operations'] | '$allOperations']?: P extends '$allOperations' ? DynamicQueryExtensionCb<TypeMap, 'model', ModelKey<TypeMap, K>, keyof TypeMap['model'][ModelKey<TypeMap, K>]['operations']> : P extends keyof TypeMap['model'][ModelKey<TypeMap, K>]['operations'] ? DynamicQueryExtensionCb<TypeMap, 'model', ModelKey<TypeMap, K>, P> : never;\r\n } : K extends keyof TypeMap['other']['operations'] ? DynamicQueryExtensionCb<[TypeMap], 0, 'other', K> : never;\r\n};\r\n\r\nexport declare type DynamicQueryExtensionCb<TypeMap extends TypeMapDef, _0 extends PropertyKey, _1 extends PropertyKey, _2 extends PropertyKey> = <A extends DynamicQueryExtensionCbArgs<TypeMap, _0, _1, _2>>(args: A) => Promise<TypeMap[_0][_1][_2]['result']>;\r\n\r\nexport declare type DynamicQueryExtensionCbArgs<TypeMap extends TypeMapDef, _0 extends PropertyKey, _1 extends PropertyKey, _2 extends PropertyKey> = (_1 extends unknown ? _2 extends unknown ? {\r\n args: DynamicQueryExtensionCbArgsArgs<TypeMap, _0, _1, _2>;\r\n model: _0 extends 0 ? undefined : _1;\r\n operation: _2;\r\n query: <A extends DynamicQueryExtensionCbArgsArgs<TypeMap, _0, _1, _2>>(args: A) => PrismaPromise<TypeMap[_0][_1]['operations'][_2]['result']>;\r\n} : never : never) & {\r\n query: (args: DynamicQueryExtensionCbArgsArgs<TypeMap, _0, _1, _2>) => PrismaPromise<TypeMap[_0][_1]['operations'][_2]['result']>;\r\n};\r\n\r\nexport declare type DynamicQueryExtensionCbArgsArgs<TypeMap extends TypeMapDef, _0 extends PropertyKey, _1 extends PropertyKey, _2 extends PropertyKey> = _2 extends '$queryRaw' | '$executeRaw' ? Sql : TypeMap[_0][_1]['operations'][_2]['args'];\r\n\r\n/** Result */\r\nexport declare type DynamicResultExtensionArgs<R_, TypeMap extends TypeMapDef> = {\r\n [K in keyof R_]: {\r\n [P in keyof R_[K]]?: {\r\n needs?: DynamicResultExtensionNeeds<TypeMap, ModelKey<TypeMap, K>, R_[K][P]>;\r\n compute(data: DynamicResultExtensionData<TypeMap, ModelKey<TypeMap, K>, R_[K][P]>): any;\r\n };\r\n };\r\n};\r\n\r\nexport declare type DynamicResultExtensionData<TypeMap extends TypeMapDef, M extends PropertyKey, S> = GetFindResult<TypeMap['model'][M]['payload'], {\r\n select: S;\r\n}, {}>;\r\n\r\nexport declare type DynamicResultExtensionNeeds<TypeMap extends TypeMapDef, M extends PropertyKey, S> = {\r\n [K in keyof S]: K extends keyof TypeMap['model'][M]['payload']['scalars'] ? S[K] : never;\r\n} & {\r\n [N in keyof TypeMap['model'][M]['payload']['scalars']]?: boolean;\r\n};\r\n\r\n/**\r\n * Placeholder value for \"no text\".\r\n */\r\nexport declare const empty: Sql;\r\n\r\nexport declare type EmptyToUnknown<T> = T;\r\n\r\ndeclare interface Engine<InteractiveTransactionPayload = unknown> {\r\n /** The name of the engine. This is meant to be consumed externally */\r\n readonly name: string;\r\n onBeforeExit(callback: () => Promise<void>): void;\r\n start(): Promise<void>;\r\n stop(): Promise<void>;\r\n version(forceRun?: boolean): Promise<string> | string;\r\n request<T>(query: JsonQuery, options: RequestOptions<InteractiveTransactionPayload>): Promise<QueryEngineResultData<T>>;\r\n requestBatch<T>(queries: JsonQuery[], options: RequestBatchOptions<InteractiveTransactionPayload>): Promise<BatchQueryEngineResult<T>[]>;\r\n transaction(action: 'start', headers: Transaction_2.TransactionHeaders, options: Transaction_2.Options): Promise<Transaction_2.InteractiveTransactionInfo<unknown>>;\r\n transaction(action: 'commit', headers: Transaction_2.TransactionHeaders, info: Transaction_2.InteractiveTransactionInfo<unknown>): Promise<void>;\r\n transaction(action: 'rollback', headers: Transaction_2.TransactionHeaders, info: Transaction_2.InteractiveTransactionInfo<unknown>): Promise<void>;\r\n metrics(options: MetricsOptionsJson): Promise<Metrics>;\r\n metrics(options: MetricsOptionsPrometheus): Promise<string>;\r\n applyPendingMigrations(): Promise<void>;\r\n}\r\n\r\ndeclare interface EngineConfig {\r\n cwd: string;\r\n dirname: string;\r\n enableDebugLogs?: boolean;\r\n allowTriggerPanic?: boolean;\r\n prismaPath?: string;\r\n generator?: GeneratorConfig;\r\n /**\r\n * @remarks this field is used internally by Policy, do not rename or remove\r\n */\r\n overrideDatasources: Datasources;\r\n showColors?: boolean;\r\n logQueries?: boolean;\r\n logLevel?: 'info' | 'warn';\r\n env: Record<string, string>;\r\n flags?: string[];\r\n clientVersion: string;\r\n engineVersion: string;\r\n previewFeatures?: string[];\r\n engineEndpoint?: string;\r\n activeProvider?: string;\r\n logEmitter: LogEmitter;\r\n transactionOptions: Transaction_2.Options;\r\n /**\r\n * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-planetscale`.\r\n * If set, this is only used in the library engine, and all queries would be performed through it,\r\n * rather than Prisma's Rust drivers.\r\n * @remarks only used by LibraryEngine.ts\r\n */\r\n adapter?: SqlDriverAdapterFactory;\r\n /**\r\n * The contents of the schema encoded into a string\r\n */\r\n inlineSchema: string;\r\n /**\r\n * The contents of the datasource url saved in a string\r\n * @remarks only used by DataProxyEngine.ts\r\n * @remarks this field is used internally by Policy, do not rename or remove\r\n */\r\n inlineDatasources: GetPrismaClientConfig['inlineDatasources'];\r\n /**\r\n * The string hash that was produced for a given schema\r\n * @remarks only used by DataProxyEngine.ts\r\n */\r\n inlineSchemaHash: string;\r\n /**\r\n * The helper for interaction with OTEL tracing\r\n * @remarks enabling is determined by the client and @prisma/instrumentation package\r\n */\r\n tracingHelper: TracingHelper;\r\n /**\r\n * Information about whether we have not found a schema.prisma file in the\r\n * default location, and that we fell back to finding the schema.prisma file\r\n * in the current working directory. This usually means it has been bundled.\r\n */\r\n isBundled?: boolean;\r\n /**\r\n * Web Assembly module loading configuration\r\n */\r\n engineWasm?: EngineWasmLoadingConfig;\r\n compilerWasm?: CompilerWasmLoadingConfig;\r\n /**\r\n * Allows Accelerate to use runtime utilities from the client. These are\r\n * necessary for the AccelerateEngine to function correctly.\r\n */\r\n accelerateUtils?: {\r\n resolveDatasourceUrl: typeof resolveDatasourceUrl;\r\n getBatchRequestPayload: typeof getBatchRequestPayload;\r\n prismaGraphQLToJSError: typeof prismaGraphQLToJSError;\r\n PrismaClientUnknownRequestError: typeof PrismaClientUnknownRequestError;\r\n PrismaClientInitializationError: typeof PrismaClientInitializationError;\r\n PrismaClientKnownRequestError: typeof PrismaClientKnownRequestError;\r\n debug: (...args: any[]) => void;\r\n engineVersion: string;\r\n clientVersion: string;\r\n };\r\n}\r\n\r\ndeclare type EngineEvent<E extends EngineEventType> = E extends QueryEventType ? QueryEvent : LogEvent;\r\n\r\ndeclare type EngineEventType = QueryEventType | LogEventType;\r\n\r\ndeclare type EngineSpan = {\r\n id: EngineSpanId;\r\n parentId: string | null;\r\n name: string;\r\n startTime: HrTime;\r\n endTime: HrTime;\r\n kind: EngineSpanKind;\r\n attributes?: Record<string, unknown>;\r\n links?: EngineSpanId[];\r\n};\r\n\r\ndeclare type EngineSpanId = string;\r\n\r\ndeclare type EngineSpanKind = 'client' | 'internal';\r\n\r\ndeclare type EngineWasmLoadingConfig = {\r\n /**\r\n * WASM-bindgen runtime for corresponding module\r\n */\r\n getRuntime: () => Promise<{\r\n __wbg_set_wasm(exports: unknown): void;\r\n QueryEngine: QueryEngineConstructor;\r\n }>;\r\n /**\r\n * Loads the raw wasm module for the wasm query engine. This configuration is\r\n * generated specifically for each type of client, eg. Node.js client and Edge\r\n * clients will have different implementations.\r\n * @remarks this is a callback on purpose, we only load the wasm if needed.\r\n * @remarks only used by LibraryEngine\r\n */\r\n getQueryEngineWasmModule: () => Promise<unknown>;\r\n};\r\n\r\ndeclare type EnumValue = ReadonlyDeep_2<{\r\n name: string;\r\n dbName: string | null;\r\n}>;\r\n\r\ndeclare type EnvPaths = {\r\n rootEnvPath: string | null;\r\n schemaEnvPath: string | undefined;\r\n};\r\n\r\ndeclare interface EnvValue {\r\n fromEnvVar: null | string;\r\n value: null | string;\r\n}\r\n\r\nexport declare type Equals<A, B> = (<T>() => T extends A ? 1 : 2) extends (<T>() => T extends B ? 1 : 2) ? 1 : 0;\r\n\r\ndeclare type Error_2 = {\r\n kind: 'GenericJs';\r\n id: number;\r\n} | {\r\n kind: 'UnsupportedNativeDataType';\r\n type: string;\r\n} | {\r\n kind: 'InvalidIsolationLevel';\r\n level: string;\r\n} | {\r\n kind: 'LengthMismatch';\r\n column?: string;\r\n} | {\r\n kind: 'UniqueConstraintViolation';\r\n fields: string[];\r\n} | {\r\n kind: 'NullConstraintViolation';\r\n fields: string[];\r\n} | {\r\n kind: 'ForeignKeyConstraintViolation';\r\n constraint?: {\r\n fields: string[];\r\n } | {\r\n index: string;\r\n } | {\r\n foreignKey: {};\r\n };\r\n} | {\r\n kind: 'DatabaseDoesNotExist';\r\n db?: string;\r\n} | {\r\n kind: 'DatabaseAlreadyExists';\r\n db?: string;\r\n} | {\r\n kind: 'DatabaseAccessDenied';\r\n db?: string;\r\n} | {\r\n kind: 'AuthenticationFailed';\r\n user?: string;\r\n} | {\r\n kind: 'TransactionWriteConflict';\r\n} | {\r\n kind: 'TableDoesNotExist';\r\n table?: string;\r\n} | {\r\n kind: 'ColumnNotFound';\r\n column?: string;\r\n} | {\r\n kind: 'TooManyConnections';\r\n cause: string;\r\n} | {\r\n kind: 'SocketTimeout';\r\n} | {\r\n kind: 'postgres';\r\n code: string;\r\n severity: string;\r\n message: string;\r\n detail: string | undefined;\r\n column: string | undefined;\r\n hint: string | undefined;\r\n} | {\r\n kind: 'mysql';\r\n code: number;\r\n message: string;\r\n state: string;\r\n} | {\r\n kind: 'sqlite';\r\n /**\r\n * Sqlite extended error code: https://www.sqlite.org/rescode.html\r\n */\r\n extendedCode: number;\r\n message: string;\r\n};\r\n\r\ndeclare type ErrorCapturingFunction<T> = T extends (...args: infer A) => Promise<infer R> ? (...args: A) => Promise<Result_4<ErrorCapturingInterface<R>>> : T extends (...args: infer A) => infer R ? (...args: A) => Result_4<ErrorCapturingInterface<R>> : T;\r\n\r\ndeclare type ErrorCapturingInterface<T> = {\r\n [K in keyof T]: ErrorCapturingFunction<T[K]>;\r\n};\r\n\r\ndeclare interface ErrorCapturingSqlDriverAdapter extends ErrorCapturingInterface<SqlDriverAdapter> {\r\n readonly errorRegistry: ErrorRegistry;\r\n}\r\n\r\ndeclare type ErrorFormat = 'pretty' | 'colorless' | 'minimal';\r\n\r\ndeclare type ErrorRecord = {\r\n error: unknown;\r\n};\r\n\r\ndeclare interface ErrorRegistry {\r\n consumeError(id: number): ErrorRecord | undefined;\r\n}\r\n\r\ndeclare interface ErrorWithBatchIndex {\r\n batchRequestIdx?: number;\r\n}\r\n\r\ndeclare type EventCallback<E extends ExtendedEventType> = [E] extends ['beforeExit'] ? () => Promise<void> : [E] extends [LogLevel] ? (event: EngineEvent<E>) => void : never;\r\n\r\nexport declare type Exact<A, W> = (A extends unknown ? (W extends A ? {\r\n [K in keyof A]: Exact<A[K], W[K]>;\r\n} : W) : never) | (A extends Narrowable ? A : never);\r\n\r\n/**\r\n * Defines Exception.\r\n *\r\n * string or an object with one of (message or name or code) and optional stack\r\n */\r\ndeclare type Exception = ExceptionWithCode | ExceptionWithMessage | ExceptionWithName | string;\r\n\r\ndeclare interface ExceptionWithCode {\r\n code: string | number;\r\n name?: string;\r\n message?: string;\r\n stack?: string;\r\n}\r\n\r\ndeclare interface ExceptionWithMessage {\r\n code?: string | number;\r\n message: string;\r\n name?: string;\r\n stack?: string;\r\n}\r\n\r\ndeclare interface ExceptionWithName {\r\n code?: string | number;\r\n message?: string;\r\n name: string;\r\n stack?: string;\r\n}\r\n\r\ndeclare type ExtendedEventType = LogLevel | 'beforeExit';\r\n\r\ndeclare type ExtendedSpanOptions = SpanOptions & {\r\n /** The name of the span */\r\n name: string;\r\n internal?: boolean;\r\n middleware?: boolean;\r\n /** Whether it propagates context (?=true) */\r\n active?: boolean;\r\n /** The context to append the span to */\r\n context?: Context;\r\n};\r\n\r\n/** $extends, defineExtension */\r\nexport declare interface ExtendsHook<Variant extends 'extends' | 'define', TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>, TypeMap extends TypeMapDef = Call<TypeMapCb, {\r\n extArgs: ExtArgs;\r\n}>> {\r\n extArgs: ExtArgs;\r\n <R_ extends {\r\n [K in TypeMap['meta']['modelProps'] | '$allModels']?: unknown;\r\n }, R, M_ extends {\r\n [K in TypeMap['meta']['modelProps'] | '$allModels']?: unknown;\r\n }, M, Q_ extends {\r\n [K in TypeMap['meta']['modelProps'] | '$allModels' | keyof TypeMap['other']['operations'] | '$allOperations']?: unknown;\r\n }, C_ extends {\r\n [K in string]?: unknown;\r\n }, C, Args extends InternalArgs = InternalArgs<R, M, {}, C>, MergedArgs extends InternalArgs = MergeExtArgs<TypeMap, ExtArgs, Args>>(extension: ((client: DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>) => {\r\n $extends: {\r\n extArgs: Args;\r\n };\r\n }) | {\r\n name?: string;\r\n query?: DynamicQueryExtensionArgs<Q_, TypeMap>;\r\n result?: DynamicResultExtensionArgs<R_, TypeMap> & R;\r\n model?: DynamicModelExtensionArgs<M_, TypeMap, TypeMapCb, ExtArgs> & M;\r\n client?: DynamicClientExtensionArgs<C_, TypeMap, TypeMapCb, ExtArgs> & C;\r\n }): {\r\n extends: DynamicClientExtensionThis<Call<TypeMapCb, {\r\n extArgs: MergedArgs;\r\n }>, TypeMapCb, MergedArgs>;\r\n define: (client: any) => {\r\n $extends: {\r\n extArgs: Args;\r\n };\r\n };\r\n }[Variant];\r\n}\r\n\r\nexport declare type ExtensionArgs = Optional<RequiredExtensionArgs>;\r\n\r\ndeclare namespace Extensions {\r\n export {\r\n defineExtension,\r\n getExtensionContext\r\n }\r\n}\r\nexport { Extensions }\r\n\r\ndeclare namespace Extensions_2 {\r\n export {\r\n InternalArgs,\r\n DefaultArgs,\r\n GetPayloadResultExtensionKeys,\r\n GetPayloadResultExtensionObject,\r\n GetPayloadResult,\r\n GetSelect,\r\n GetOmit,\r\n DynamicQueryExtensionArgs,\r\n DynamicQueryExtensionCb,\r\n DynamicQueryExtensionCbArgs,\r\n DynamicQueryExtensionCbArgsArgs,\r\n DynamicResultExtensionArgs,\r\n DynamicResultExtensionNeeds,\r\n DynamicResultExtensionData,\r\n DynamicModelExtensionArgs,\r\n DynamicModelExtensionThis,\r\n DynamicModelExtensionOperationFn,\r\n DynamicModelExtensionFnResult,\r\n DynamicModelExtensionFnResultBase,\r\n DynamicModelExtensionFluentApi,\r\n DynamicModelExtensionFnResultNull,\r\n DynamicClientExtensionArgs,\r\n DynamicClientExtensionThis,\r\n ClientBuiltInProp,\r\n DynamicClientExtensionThisBuiltin,\r\n ExtendsHook,\r\n MergeExtArgs,\r\n AllModelsToStringIndex,\r\n TypeMapDef,\r\n DevTypeMapDef,\r\n DevTypeMapFnDef,\r\n ClientOptionDef,\r\n ClientOtherOps,\r\n TypeMapCbDef,\r\n ModelKey,\r\n RequiredExtensionArgs as UserArgs\r\n }\r\n}\r\n\r\nexport declare type ExtractGlobalOmit<Options, ModelName extends string> = Options extends {\r\n omit: {\r\n [K in ModelName]: infer GlobalOmit;\r\n };\r\n} ? GlobalOmit : {};\r\n\r\ndeclare type Field = ReadonlyDeep_2<{\r\n kind: FieldKind;\r\n name: string;\r\n isRequired: boolean;\r\n isList: boolean;\r\n isUnique: boolean;\r\n isId: boolean;\r\n isReadOnly: boolean;\r\n isGenerated?: boolean;\r\n isUpdatedAt?: boolean;\r\n /**\r\n * Describes the data type in the same the way it is defined in the Prisma schema:\r\n * BigInt, Boolean, Bytes, DateTime, Decimal, Float, Int, JSON, String, $ModelName\r\n */\r\n type: string;\r\n /**\r\n * Native database type, if specified.\r\n * For example, `@db.VarChar(191)` is encoded as `['VarChar', ['191']]`,\r\n * `@db.Text` is encoded as `['Text', []]`.\r\n */\r\n nativeType?: [string, string[]] | null;\r\n dbName?: string | null;\r\n hasDefaultValue: boolean;\r\n default?: FieldDefault | FieldDefaultScalar | FieldDefaultScalar[];\r\n relationFromFields?: string[];\r\n relationToFields?: string[];\r\n relationOnDelete?: string;\r\n relationOnUpdate?: string;\r\n relationName?: string;\r\n documentation?: string;\r\n}>;\r\n\r\ndeclare type FieldDefault = ReadonlyDeep_2<{\r\n name: string;\r\n args: Array<string | number>;\r\n}>;\r\n\r\ndeclare type FieldDefaultScalar = string | boolean | number;\r\n\r\ndeclare type FieldKind = 'scalar' | 'object' | 'enum' | 'unsupported';\r\n\r\ndeclare type FieldLocation = 'scalar' | 'inputObjectTypes' | 'outputObjectTypes' | 'enumTypes' | 'fieldRefTypes';\r\n\r\ndeclare type FieldNamespace = 'model' | 'prisma';\r\n\r\n/**\r\n * A reference to a specific field of a specific model\r\n */\r\nexport declare interface FieldRef<Model, FieldType> {\r\n readonly modelName: Model;\r\n readonly name: string;\r\n readonly typeName: FieldType;\r\n readonly isList: boolean;\r\n}\r\n\r\ndeclare type FieldRefAllowType = TypeRef<'scalar' | 'enumTypes'>;\r\n\r\ndeclare type FieldRefType = ReadonlyDeep_2<{\r\n name: string;\r\n allowTypes: FieldRefAllowType[];\r\n fields: SchemaArg[];\r\n}>;\r\n\r\ndeclare type FluentOperation = 'findUnique' | 'findUniqueOrThrow' | 'findFirst' | 'findFirstOrThrow' | 'create' | 'update' | 'upsert' | 'delete';\r\n\r\nexport declare interface Fn<Params = unknown, Returns = unknown> {\r\n params: Params;\r\n returns: Returns;\r\n}\r\n\r\ndeclare interface GeneratorConfig {\r\n name: string;\r\n output: EnvValue | null;\r\n isCustomOutput?: boolean;\r\n provider: EnvValue;\r\n config: {\r\n /** `output` is a reserved name and will only be available directly at `generator.output` */\r\n output?: never;\r\n /** `provider` is a reserved name and will only be available directly at `generator.provider` */\r\n provider?: never;\r\n /** `binaryTargets` is a reserved name and will only be available directly at `generator.binaryTargets` */\r\n binaryTargets?: never;\r\n /** `previewFeatures` is a reserved name and will only be available directly at `generator.previewFeatures` */\r\n previewFeatures?: never;\r\n } & {\r\n [key: string]: string | string[] | undefined;\r\n };\r\n binaryTargets: BinaryTargetsEnvValue[];\r\n previewFeatures: string[];\r\n envPaths?: EnvPaths;\r\n sourceFilePath: string;\r\n}\r\n\r\nexport declare type GetAggregateResult<P extends OperationPayload, A> = {\r\n [K in keyof A as K extends Aggregate ? K : never]: K extends '_count' ? A[K] extends true ? number : Count<A[K]> : {\r\n [J in keyof A[K] & string]: P['scalars'][J] | null;\r\n };\r\n};\r\n\r\ndeclare function getBatchRequestPayload(batch: JsonQuery[], transaction?: TransactionOptions_3<unknown>): QueryEngineBatchRequest;\r\n\r\nexport declare type GetBatchResult = {\r\n count: number;\r\n};\r\n\r\nexport declare type GetCountResult<A> = A extends {\r\n select: infer S;\r\n} ? (S extends true ? number : Count<S>) : number;\r\n\r\ndeclare function getExtensionContext<T>(that: T): Context_2<T>;\r\n\r\nexport declare type GetFindResult<P extends OperationPayload, A, GlobalOmitOptions> = Equals<A, any> extends 1 ? DefaultSelection<P, A, GlobalOmitOptions> : A extends {\r\n select: infer S extends object;\r\n} & Record<string, unknown> | {\r\n include: infer I extends object;\r\n} & Record<string, unknown> ? {\r\n [K in keyof S | keyof I as (S & I)[K] extends false | undefined | Skip | null ? never : K]: (S & I)[K] extends object ? P extends SelectablePayloadFields<K, (infer O)[]> ? O extends OperationPayload ? GetFindResult<O, (S & I)[K], GlobalOmitOptions>[] : never : P extends SelectablePayloadFields<K, infer O | null> ? O extends OperationPayload ? GetFindResult<O, (S & I)[K], GlobalOmitOptions> | SelectField<P, K> & null : never : K extends '_count' ? Count<GetFindResult<P, (S & I)[K], GlobalOmitOptions>> : never : P extends SelectablePayloadFields<K, (infer O)[]> ? O extends OperationPayload ? DefaultSelection<O, {}, GlobalOmitOptions>[] : never : P extends SelectablePayloadFields<K, infer O | null> ? O extends OperationPayload ? DefaultSelection<O, {}, GlobalOmitOptions> | SelectField<P, K> & null : never : P extends {\r\n scalars: {\r\n [k in K]: infer O;\r\n };\r\n } ? O : K extends '_count' ? Count<P['objects']> : never;\r\n} & (A extends {\r\n include: any;\r\n} & Record<string, unknown> ? DefaultSelection<P, A & {\r\n omit: A['omit'];\r\n}, GlobalOmitOptions> : unknown) : DefaultSelection<P, A, GlobalOmitOptions>;\r\n\r\nexport declare type GetGroupByResult<P extends OperationPayload, A> = A extends {\r\n by: string[];\r\n} ? Array<GetAggregateResult<P, A> & {\r\n [K in A['by'][number]]: P['scalars'][K];\r\n}> : A extends {\r\n by: string;\r\n} ? Array<GetAggregateResult<P, A> & {\r\n [K in A['by']]: P['scalars'][K];\r\n}> : {}[];\r\n\r\nexport declare type GetOmit<BaseKeys extends string, R extends InternalArgs['result'][string], ExtraType = never> = {\r\n [K in (string extends keyof R ? never : keyof R) | BaseKeys]?: boolean | ExtraType;\r\n};\r\n\r\nexport declare type GetPayloadResult<Base extends Record<any, any>, R extends InternalArgs['result'][string]> = Omit<Base, GetPayloadResultExtensionKeys<R>> & GetPayloadResultExtensionObject<R>;\r\n\r\nexport declare type GetPayloadResultExtensionKeys<R extends InternalArgs['result'][string], KR extends keyof R = string extends keyof R ? never : keyof R> = KR;\r\n\r\nexport declare type GetPayloadResultExtensionObject<R extends InternalArgs['result'][string]> = {\r\n [K in GetPayloadResultExtensionKeys<R>]: R[K] extends () => {\r\n compute: (...args: any) => infer C;\r\n } ? C : never;\r\n};\r\n\r\nexport declare function getPrismaClient(config: GetPrismaClientConfig): {\r\n new (optionsArg?: PrismaClientOptions): {\r\n _originalClient: any;\r\n _runtimeDataModel: RuntimeDataModel;\r\n _requestHandler: RequestHandler;\r\n _connectionPromise?: Promise<any> | undefined;\r\n _disconnectionPromise?: Promise<any> | undefined;\r\n _engineConfig: EngineConfig;\r\n _accelerateEngineConfig: AccelerateEngineConfig;\r\n _clientVersion: string;\r\n _errorFormat: ErrorFormat;\r\n _tracingHelper: TracingHelper;\r\n _middlewares: MiddlewareHandler<QueryMiddleware>;\r\n _previewFeatures: string[];\r\n _activeProvider: string;\r\n _globalOmit?: GlobalOmitOptions | undefined;\r\n _extensions: MergedExtensionsList;\r\n /**\r\n * @remarks This is used internally by Policy, do not rename or remove\r\n */\r\n _engine: Engine;\r\n /**\r\n * A fully constructed/applied Client that references the parent\r\n * PrismaClient. This is used for Client extensions only.\r\n */\r\n _appliedParent: any;\r\n _createPrismaPromise: PrismaPromiseFactory;\r\n /**\r\n * Hook a middleware into the client\r\n * @param middleware to hook\r\n */\r\n $use(middleware: QueryMiddleware): void;\r\n $on<E extends ExtendedEventType>(eventType: E, callback: EventCallback<E>): any;\r\n $connect(): Promise<void>;\r\n /**\r\n * Disconnect from the database\r\n */\r\n $disconnect(): Promise<void>;\r\n /**\r\n * Executes a raw query and always returns a number\r\n */\r\n $executeRawInternal(transaction: PrismaPromiseTransaction | undefined, clientMethod: string, args: RawQueryArgs, middlewareArgsMapper?: MiddlewareArgsMapper<unknown, unknown>): Promise<number>;\r\n /**\r\n * Executes a raw query provided through a safe tag function\r\n * @see https://github.com/prisma/prisma/issues/7142\r\n *\r\n * @param query\r\n * @param values\r\n * @returns\r\n */\r\n $executeRaw(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Unsafe counterpart of `$executeRaw` that is susceptible to SQL injections\r\n * @see https://github.com/prisma/prisma/issues/7142\r\n *\r\n * @param query\r\n * @param values\r\n * @returns\r\n */\r\n $executeRawUnsafe(query: string, ...values: RawValue[]): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Executes a raw command only for MongoDB\r\n *\r\n * @param command\r\n * @returns\r\n */\r\n $runCommandRaw(command: Record<string, JsInputValue>): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Executes a raw query and returns selected data\r\n */\r\n $queryRawInternal(transaction: PrismaPromiseTransaction | undefined, clientMethod: string, args: RawQueryArgs, middlewareArgsMapper?: MiddlewareArgsMapper<unknown, unknown>): Promise<any>;\r\n /**\r\n * Executes a raw query provided through a safe tag function\r\n * @see https://github.com/prisma/prisma/issues/7142\r\n *\r\n * @param query\r\n * @param values\r\n * @returns\r\n */\r\n $queryRaw(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Counterpart to $queryRaw, that returns strongly typed results\r\n * @param typedSql\r\n */\r\n $queryRawTyped(typedSql: UnknownTypedSql): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Unsafe counterpart of `$queryRaw` that is susceptible to SQL injections\r\n * @see https://github.com/prisma/prisma/issues/7142\r\n *\r\n * @param query\r\n * @param values\r\n * @returns\r\n */\r\n $queryRawUnsafe(query: string, ...values: RawValue[]): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Execute a batch of requests in a transaction\r\n * @param requests\r\n * @param options\r\n */\r\n _transactionWithArray({ promises, options, }: {\r\n promises: Array<PrismaPromise_2<any>>;\r\n options?: BatchTransactionOptions;\r\n }): Promise<any>;\r\n /**\r\n * Perform a long-running transaction\r\n * @param callback\r\n * @param options\r\n * @returns\r\n */\r\n _transactionWithCallback({ callback, options, }: {\r\n callback: (client: Client) => Promise<unknown>;\r\n options?: TransactionOptions_2;\r\n }): Promise<unknown>;\r\n _createItxClient(transaction: PrismaPromiseInteractiveTransaction): Client;\r\n /**\r\n * Execute queries within a transaction\r\n * @param input a callback or a query list\r\n * @param options to set timeouts (callback)\r\n * @returns\r\n */\r\n $transaction(input: any, options?: any): Promise<any>;\r\n /**\r\n * Runs the middlewares over params before executing a request\r\n * @param internalParams\r\n * @returns\r\n */\r\n _request(internalParams: InternalRequestParams): Promise<any>;\r\n _executeRequest({ args, clientMethod, dataPath, callsite, action, model, argsMapper, transaction, unpacker, otelParentCtx, customDataProxyFetch, }: InternalRequestParams): Promise<any>;\r\n $metrics: MetricsClient;\r\n /**\r\n * Shortcut for checking a preview flag\r\n * @param feature preview flag\r\n * @returns\r\n */\r\n _hasPreviewFlag(feature: string): boolean;\r\n $applyPendingMigrations(): Promise<void>;\r\n $extends: typeof $extends;\r\n readonly [Symbol.toStringTag]: string;\r\n };\r\n};\r\n\r\n/**\r\n * Config that is stored into the generated client. When the generated client is\r\n * loaded, this same config is passed to {@link getPrismaClient} which creates a\r\n * closure with that config around a non-instantiated [[PrismaClient]].\r\n */\r\nexport declare type GetPrismaClientConfig = {\r\n runtimeDataModel: RuntimeDataModel;\r\n generator?: GeneratorConfig;\r\n relativeEnvPaths?: {\r\n rootEnvPath?: string | null;\r\n schemaEnvPath?: string | null;\r\n };\r\n relativePath: string;\r\n dirname: string;\r\n clientVersion: string;\r\n engineVersion: string;\r\n datasourceNames: string[];\r\n activeProvider: ActiveConnectorType;\r\n /**\r\n * The contents of the schema encoded into a string\r\n * @remarks only used for the purpose of data proxy\r\n */\r\n inlineSchema: string;\r\n /**\r\n * A special env object just for the data proxy edge runtime.\r\n * Allows bundlers to inject their own env variables (Vercel).\r\n * Allows platforms to declare global variables as env (Workers).\r\n * @remarks only used for the purpose of data proxy\r\n */\r\n injectableEdgeEnv?: () => LoadedEnv;\r\n /**\r\n * The contents of the datasource url saved in a string.\r\n * This can either be an env var name or connection string.\r\n * It is needed by the client to connect to the Data Proxy.\r\n * @remarks only used for the purpose of data proxy\r\n */\r\n inlineDatasources: {\r\n [name in string]: {\r\n url: EnvValue;\r\n };\r\n };\r\n /**\r\n * The string hash that was produced for a given schema\r\n * @remarks only used for the purpose of data proxy\r\n */\r\n inlineSchemaHash: string;\r\n /**\r\n * A marker to indicate that the client was not generated via `prisma\r\n * generate` but was generated via `generate --postinstall` script instead.\r\n * @remarks used to error for Vercel/Netlify for schema caching issues\r\n */\r\n postinstall?: boolean;\r\n /**\r\n * Information about the CI where the Prisma Client has been generated. The\r\n * name of the CI environment is stored at generation time because CI\r\n * information is not always available at runtime. Moreover, the edge client\r\n * has no notion of environment variables, so this works around that.\r\n * @remarks used to error for Vercel/Netlify for schema caching issues\r\n */\r\n ciName?: string;\r\n /**\r\n * Information about whether we have not found a schema.prisma file in the\r\n * default location, and that we fell back to finding the schema.prisma file\r\n * in the current working directory. This usually means it has been bundled.\r\n */\r\n isBundled?: boolean;\r\n /**\r\n * A boolean that is `false` when the client was generated with --no-engine. At\r\n * runtime, this means the client will be bound to be using the Data Proxy.\r\n */\r\n copyEngine?: boolean;\r\n /**\r\n * Optional wasm loading configuration\r\n */\r\n engineWasm?: EngineWasmLoadingConfig;\r\n compilerWasm?: CompilerWasmLoadingConfig;\r\n};\r\n\r\nexport declare type GetResult<Payload extends OperationPayload, Args, OperationName extends Operation = 'findUniqueOrThrow', GlobalOmitOptions = {}> = {\r\n findUnique: GetFindResult<Payload, Args, GlobalOmitOptions> | null;\r\n findUniqueOrThrow: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n findFirst: GetFindResult<Payload, Args, GlobalOmitOptions> | null;\r\n findFirstOrThrow: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n findMany: GetFindResult<Payload, Args, GlobalOmitOptions>[];\r\n create: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n createMany: GetBatchResult;\r\n createManyAndReturn: GetFindResult<Payload, Args, GlobalOmitOptions>[];\r\n update: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n updateMany: GetBatchResult;\r\n updateManyAndReturn: GetFindResult<Payload, Args, GlobalOmitOptions>[];\r\n upsert: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n delete: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n deleteMany: GetBatchResult;\r\n aggregate: GetAggregateResult<Payload, Args>;\r\n count: GetCountResult<Args>;\r\n groupBy: GetGroupByResult<Payload, Args>;\r\n $queryRaw: unknown;\r\n $queryRawTyped: unknown;\r\n $executeRaw: number;\r\n $queryRawUnsafe: unknown;\r\n $executeRawUnsafe: number;\r\n $runCommandRaw: JsonObject;\r\n findRaw: JsonObject;\r\n aggregateRaw: JsonObject;\r\n}[OperationName];\r\n\r\nexport declare function getRuntime(): GetRuntimeOutput;\r\n\r\ndeclare type GetRuntimeOutput = {\r\n id: RuntimeName;\r\n prettyName: string;\r\n isEdge: boolean;\r\n};\r\n\r\nexport declare type GetSelect<Base extends Record<any, any>, R extends InternalArgs['result'][string], KR extends keyof R = string extends keyof R ? never : keyof R> = {\r\n [K in KR | keyof Base]?: K extends KR ? boolean : Base[K];\r\n};\r\n\r\ndeclare type GlobalOmitOptions = {\r\n [modelName: string]: {\r\n [fieldName: string]: boolean;\r\n };\r\n};\r\n\r\ndeclare type HandleErrorParams = {\r\n args: JsArgs;\r\n error: any;\r\n clientMethod: string;\r\n callsite?: CallSite;\r\n transaction?: PrismaPromiseTransaction;\r\n modelName?: string;\r\n globalOmit?: GlobalOmitOptions;\r\n};\r\n\r\ndeclare type HrTime = [number, number];\r\n\r\n/**\r\n * Defines High-Resolution Time.\r\n *\r\n * The first number, HrTime[0], is UNIX Epoch time in seconds since 00:00:00 UTC on 1 January 1970.\r\n * The second number, HrTime[1], represents the partial second elapsed since Unix Epoch time represented by first number in nanoseconds.\r\n * For example, 2021-01-01T12:30:10.150Z in UNIX Epoch time in milliseconds is represented as 1609504210150.\r\n * The first number is calculated by converting and truncating the Epoch time in milliseconds to seconds:\r\n * HrTime[0] = Math.trunc(1609504210150 / 1000) = 1609504210.\r\n * The second number is calculated by converting the digits after the decimal point of the subtraction, (1609504210150 / 1000) - HrTime[0], to nanoseconds:\r\n * HrTime[1] = Number((1609504210.150 - HrTime[0]).toFixed(9)) * 1e9 = 150000000.\r\n * This is represented in HrTime format as [1609504210, 150000000].\r\n */\r\ndeclare type HrTime_2 = [number, number];\r\n\r\ndeclare type Index = ReadonlyDeep_2<{\r\n model: string;\r\n type: IndexType;\r\n isDefinedOnField: boolean;\r\n name?: string;\r\n dbName?: string;\r\n algorithm?: string;\r\n clustered?: boolean;\r\n fields: IndexField[];\r\n}>;\r\n\r\ndeclare type IndexField = ReadonlyDeep_2<{\r\n name: string;\r\n sortOrder?: SortOrder;\r\n length?: number;\r\n operatorClass?: string;\r\n}>;\r\n\r\ndeclare type IndexType = 'id' | 'normal' | 'unique' | 'fulltext';\r\n\r\n/**\r\n * Matches a JSON array.\r\n * Unlike \\`JsonArray\\`, readonly arrays are assignable to this type.\r\n */\r\nexport declare interface InputJsonArray extends ReadonlyArray<InputJsonValue | null> {\r\n}\r\n\r\n/**\r\n * Matches a JSON object.\r\n * Unlike \\`JsonObject\\`, this type allows undefined and read-only properties.\r\n */\r\nexport declare type InputJsonObject = {\r\n readonly [Key in string]?: InputJsonValue | null;\r\n};\r\n\r\n/**\r\n * Matches any valid value that can be used as an input for operations like\r\n * create and update as the value of a JSON field. Unlike \\`JsonValue\\`, this\r\n * type allows read-only arrays and read-only object properties and disallows\r\n * \\`null\\` at the top level.\r\n *\r\n * \\`null\\` cannot be used as the value of a JSON field because its meaning\r\n * would be ambiguous. Use \\`Prisma.JsonNull\\` to store the JSON null value or\r\n * \\`Prisma.DbNull\\` to clear the JSON value and set the field to the database\r\n * NULL value instead.\r\n *\r\n * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-by-null-values\r\n */\r\nexport declare type InputJsonValue = string | number | boolean | InputJsonObject | InputJsonArray | {\r\n toJSON(): unknown;\r\n};\r\n\r\ndeclare type InputType = ReadonlyDeep_2<{\r\n name: string;\r\n constraints: {\r\n maxNumFields: number | null;\r\n minNumFields: number | null;\r\n fields?: string[];\r\n };\r\n meta?: {\r\n source?: string;\r\n grouping?: string;\r\n };\r\n fields: SchemaArg[];\r\n}>;\r\n\r\ndeclare type InputTypeRef = TypeRef<'scalar' | 'inputObjectTypes' | 'enumTypes' | 'fieldRefTypes'>;\r\n\r\ndeclare type InteractiveTransactionInfo<Payload = unknown> = {\r\n /**\r\n * Transaction ID returned by the query engine.\r\n */\r\n id: string;\r\n /**\r\n * Arbitrary payload the meaning of which depends on the `Engine` implementation.\r\n * For example, `DataProxyEngine` needs to associate different API endpoints with transactions.\r\n * In `LibraryEngine` and `BinaryEngine` it is currently not used.\r\n */\r\n payload: Payload;\r\n};\r\n\r\ndeclare type InteractiveTransactionOptions<Payload> = Transaction_2.InteractiveTransactionInfo<Payload>;\r\n\r\nexport declare type InternalArgs<R = {\r\n [K in string]: {\r\n [K in string]: unknown;\r\n };\r\n}, M = {\r\n [K in string]: {\r\n [K in string]: unknown;\r\n };\r\n}, Q = {\r\n [K in string]: {\r\n [K in string]: unknown;\r\n };\r\n}, C = {\r\n [K in string]: unknown;\r\n}> = {\r\n result: {\r\n [K in keyof R]: {\r\n [P in keyof R[K]]: () => R[K][P];\r\n };\r\n };\r\n model: {\r\n [K in keyof M]: {\r\n [P in keyof M[K]]: () => M[K][P];\r\n };\r\n };\r\n query: {\r\n [K in keyof Q]: {\r\n [P in keyof Q[K]]: () => Q[K][P];\r\n };\r\n };\r\n client: {\r\n [K in keyof C]: () => C[K];\r\n };\r\n};\r\n\r\ndeclare type InternalRequestParams = {\r\n /**\r\n * The original client method being called.\r\n * Even though the rootField / operation can be changed,\r\n * this method stays as it is, as it's what the user's\r\n * code looks like\r\n */\r\n clientMethod: string;\r\n /**\r\n * Name of js model that triggered the request. Might be used\r\n * for warnings or error messages\r\n */\r\n jsModelName?: string;\r\n callsite?: CallSite;\r\n transaction?: PrismaPromiseTransaction;\r\n unpacker?: Unpacker;\r\n otelParentCtx?: Context;\r\n /** Used to \"desugar\" a user input into an \"expanded\" one */\r\n argsMapper?: (args?: UserArgs_2) => UserArgs_2;\r\n /** Used to convert args for middleware and back */\r\n middlewareArgsMapper?: MiddlewareArgsMapper<unknown, unknown>;\r\n /** Used for Accelerate client extension via Data Proxy */\r\n customDataProxyFetch?: CustomDataProxyFetch;\r\n} & Omit<QueryMiddlewareParams, 'runInTransaction'>;\r\n\r\ndeclare type IsolationLevel = 'READ UNCOMMITTED' | 'READ COMMITTED' | 'REPEATABLE READ' | 'SNAPSHOT' | 'SERIALIZABLE';\r\n\r\ndeclare function isSkip(value: unknown): value is Skip;\r\n\r\nexport declare function isTypedSql(value: unknown): value is UnknownTypedSql;\r\n\r\nexport declare type ITXClientDenyList = (typeof denylist)[number];\r\n\r\nexport declare const itxClientDenyList: readonly (string | symbol)[];\r\n\r\ndeclare interface Job {\r\n resolve: (data: any) => void;\r\n reject: (data: any) => void;\r\n request: any;\r\n}\r\n\r\n/**\r\n * Create a SQL query for a list of values.\r\n */\r\nexport declare function join(values: readonly RawValue[], separator?: string, prefix?: string, suffix?: string): Sql;\r\n\r\nexport declare type JsArgs = {\r\n select?: Selection_2;\r\n include?: Selection_2;\r\n omit?: Omission;\r\n [argName: string]: JsInputValue;\r\n};\r\n\r\nexport declare type JsInputValue = null | undefined | string | number | boolean | bigint | Uint8Array | Date | DecimalJsLike | ObjectEnumValue | RawParameters | JsonConvertible | FieldRef<string, unknown> | JsInputValue[] | Skip | {\r\n [key: string]: JsInputValue;\r\n};\r\n\r\ndeclare type JsonArgumentValue = number | string | boolean | null | RawTaggedValue | JsonArgumentValue[] | {\r\n [key: string]: JsonArgumentValue;\r\n};\r\n\r\n/**\r\n * From https://github.com/sindresorhus/type-fest/\r\n * Matches a JSON array.\r\n */\r\nexport declare interface JsonArray extends Array<JsonValue> {\r\n}\r\n\r\nexport declare type JsonBatchQuery = {\r\n batch: JsonQuery[];\r\n transaction?: {\r\n isolationLevel?: IsolationLevel;\r\n };\r\n};\r\n\r\nexport declare interface JsonConvertible {\r\n toJSON(): unknown;\r\n}\r\n\r\ndeclare type JsonFieldSelection = {\r\n arguments?: Record<string, JsonArgumentValue> | RawTaggedValue;\r\n selection: JsonSelectionSet;\r\n};\r\n\r\ndeclare class JsonNull extends NullTypesEnumValue {\r\n #private;\r\n}\r\n\r\n/**\r\n * From https://github.com/sindresorhus/type-fest/\r\n * Matches a JSON object.\r\n * This type can be useful to enforce some input to be JSON-compatible or as a super-type to be extended from.\r\n */\r\nexport declare type JsonObject = {\r\n [Key in string]?: JsonValue;\r\n};\r\n\r\nexport declare type JsonQuery = {\r\n modelName?: string;\r\n action: JsonQueryAction;\r\n query: JsonFieldSelection;\r\n};\r\n\r\ndeclare type JsonQueryAction = 'findUnique' | 'findUniqueOrThrow' | 'findFirst' | 'findFirstOrThrow' | 'findMany' | 'createOne' | 'createMany' | 'createManyAndReturn' | 'updateOne' | 'updateMany' | 'updateManyAndReturn' | 'deleteOne' | 'deleteMany' | 'upsertOne' | 'aggregate' | 'groupBy' | 'executeRaw' | 'queryRaw' | 'runCommandRaw' | 'findRaw' | 'aggregateRaw';\r\n\r\ndeclare type JsonSelectionSet = {\r\n $scalars?: boolean;\r\n $composites?: boolean;\r\n} & {\r\n [fieldName: string]: boolean | JsonFieldSelection;\r\n};\r\n\r\n/**\r\n * From https://github.com/sindresorhus/type-fest/\r\n * Matches any valid JSON value.\r\n */\r\nexport declare type JsonValue = string | number | boolean | JsonObject | JsonArray | null;\r\n\r\nexport declare type JsOutputValue = null | string | number | boolean | bigint | Uint8Array | Date | Decimal | JsOutputValue[] | {\r\n [key: string]: JsOutputValue;\r\n};\r\n\r\nexport declare type JsPromise<T> = Promise<T> & {};\r\n\r\ndeclare type KnownErrorParams = {\r\n code: string;\r\n clientVersion: string;\r\n meta?: Record<string, unknown>;\r\n batchRequestIdx?: number;\r\n};\r\n\r\n/**\r\n * A pointer from the current {@link Span} to another span in the same trace or\r\n * in a different trace.\r\n * Few examples of Link usage.\r\n * 1. Batch Processing: A batch of elements may contain elements associated\r\n * with one or more traces/spans. Since there can only be one parent\r\n * SpanContext, Link is used to keep reference to SpanContext of all\r\n * elements in the batch.\r\n * 2. Public Endpoint: A SpanContext in incoming client request on a public\r\n * endpoint is untrusted from service provider perspective. In such case it\r\n * is advisable to start a new trace with appropriate sampling decision.\r\n * However, it is desirable to associate incoming SpanContext to new trace\r\n * initiated on service provider side so two traces (from Client and from\r\n * Service Provider) can be correlated.\r\n */\r\ndeclare interface Link {\r\n /** The {@link SpanContext} of a linked span. */\r\n context: SpanContext;\r\n /** A set of {@link SpanAttributes} on the link. */\r\n attributes?: SpanAttributes;\r\n /** Count of attributes of the link that were dropped due to collection limits */\r\n droppedAttributesCount?: number;\r\n}\r\n\r\ndeclare type LoadedEnv = {\r\n message?: string;\r\n parsed: {\r\n [x: string]: string;\r\n };\r\n} | undefined;\r\n\r\ndeclare type LocationInFile = {\r\n fileName: string;\r\n lineNumber: number | null;\r\n columnNumber: number | null;\r\n};\r\n\r\ndeclare type LogDefinition = {\r\n level: LogLevel;\r\n emit: 'stdout' | 'event';\r\n};\r\n\r\n/**\r\n * Typings for the events we emit.\r\n *\r\n * @remarks\r\n * If this is updated, our edge runtime shim needs to be updated as well.\r\n */\r\ndeclare type LogEmitter = {\r\n on<E extends EngineEventType>(event: E, listener: (event: EngineEvent<E>) => void): LogEmitter;\r\n emit(event: QueryEventType, payload: QueryEvent): boolean;\r\n emit(event: LogEventType, payload: LogEvent): boolean;\r\n};\r\n\r\ndeclare type LogEvent = {\r\n timestamp: Date;\r\n message: string;\r\n target: string;\r\n};\r\n\r\ndeclare type LogEventType = 'info' | 'warn' | 'error';\r\n\r\ndeclare type LogLevel = 'info' | 'query' | 'warn' | 'error';\r\n\r\n/**\r\n * Generates more strict variant of an enum which, unlike regular enum,\r\n * throws on non-existing property access. This can be useful in following situations:\r\n * - we have an API, that accepts both `undefined` and `SomeEnumType` as an input\r\n * - enum values are generated dynamically from DMMF.\r\n *\r\n * In that case, if using normal enums and no compile-time typechecking, using non-existing property\r\n * will result in `undefined` value being used, which will be accepted. Using strict enum\r\n * in this case will help to have a runtime exception, telling you that you are probably doing something wrong.\r\n *\r\n * Note: if you need to check for existence of a value in the enum you can still use either\r\n * `in` operator or `hasOwnProperty` function.\r\n *\r\n * @param definition\r\n * @returns\r\n */\r\nexport declare function makeStrictEnum<T extends Record<PropertyKey, string | number>>(definition: T): T;\r\n\r\nexport declare function makeTypedQueryFactory(sql: string): (...values: any[]) => TypedSql<any[], unknown>;\r\n\r\ndeclare type Mappings = ReadonlyDeep_2<{\r\n modelOperations: ModelMapping[];\r\n otherOperations: {\r\n read: string[];\r\n write: string[];\r\n };\r\n}>;\r\n\r\n/**\r\n * Class that holds the list of all extensions, applied to particular instance,\r\n * as well as resolved versions of the components that need to apply on\r\n * different levels. Main idea of this class: avoid re-resolving as much of the\r\n * stuff as possible when new extensions are added while also delaying the\r\n * resolve until the point it is actually needed. For example, computed fields\r\n * of the model won't be resolved unless the model is actually queried. Neither\r\n * adding extensions with `client` component only cause other components to\r\n * recompute.\r\n */\r\ndeclare class MergedExtensionsList {\r\n private head?;\r\n private constructor();\r\n static empty(): MergedExtensionsList;\r\n static single(extension: ExtensionArgs): MergedExtensionsList;\r\n isEmpty(): boolean;\r\n append(extension: ExtensionArgs): MergedExtensionsList;\r\n getAllComputedFields(dmmfModelName: string): ComputedFieldsMap | undefined;\r\n getAllClientExtensions(): ClientArg | undefined;\r\n getAllModelExtensions(dmmfModelName: string): ModelArg | undefined;\r\n getAllQueryCallbacks(jsModelName: string, operation: string): any;\r\n getAllBatchQueryCallbacks(): BatchQueryOptionsCb[];\r\n}\r\n\r\nexport declare type MergeExtArgs<TypeMap extends TypeMapDef, ExtArgs extends Record<any, any>, Args extends Record<any, any>> = ComputeDeep<ExtArgs & Args & AllModelsToStringIndex<TypeMap, Args, 'result'> & AllModelsToStringIndex<TypeMap, Args, 'model'>>;\r\n\r\nexport declare type Metric<T> = {\r\n key: string;\r\n value: T;\r\n labels: Record<string, string>;\r\n description: string;\r\n};\r\n\r\nexport declare type MetricHistogram = {\r\n buckets: MetricHistogramBucket[];\r\n sum: number;\r\n count: number;\r\n};\r\n\r\nexport declare type MetricHistogramBucket = [maxValue: number, count: number];\r\n\r\nexport declare type Metrics = {\r\n counters: Metric<number>[];\r\n gauges: Metric<number>[];\r\n histograms: Metric<MetricHistogram>[];\r\n};\r\n\r\nexport declare class MetricsClient {\r\n private _client;\r\n constructor(client: Client);\r\n /**\r\n * Returns all metrics gathered up to this point in prometheus format.\r\n * Result of this call can be exposed directly to prometheus scraping endpoint\r\n *\r\n * @param options\r\n * @returns\r\n */\r\n prometheus(options?: MetricsOptions): Promise<string>;\r\n /**\r\n * Returns all metrics gathered up to this point in prometheus format.\r\n *\r\n * @param options\r\n * @returns\r\n */\r\n json(options?: MetricsOptions): Promise<Metrics>;\r\n}\r\n\r\ndeclare type MetricsOptions = {\r\n /**\r\n * Labels to add to every metrics in key-value format\r\n */\r\n globalLabels?: Record<string, string>;\r\n};\r\n\r\ndeclare type MetricsOptionsCommon = {\r\n globalLabels?: Record<string, string>;\r\n};\r\n\r\ndeclare type MetricsOptionsJson = {\r\n format: 'json';\r\n} & MetricsOptionsCommon;\r\n\r\ndeclare type MetricsOptionsPrometheus = {\r\n format: 'prometheus';\r\n} & MetricsOptionsCommon;\r\n\r\ndeclare type MiddlewareArgsMapper<RequestArgs, MiddlewareArgs> = {\r\n requestArgsToMiddlewareArgs(requestArgs: RequestArgs): MiddlewareArgs;\r\n middlewareArgsToRequestArgs(middlewareArgs: MiddlewareArgs): RequestArgs;\r\n};\r\n\r\ndeclare class MiddlewareHandler<M extends Function> {\r\n private _middlewares;\r\n use(middleware: M): void;\r\n get(id: number): M | undefined;\r\n has(id: number): boolean;\r\n length(): number;\r\n}\r\n\r\ndeclare type Model = ReadonlyDeep_2<{\r\n name: string;\r\n dbName: string | null;\r\n schema: string | null;\r\n fields: Field[];\r\n uniqueFields: string[][];\r\n uniqueIndexes: uniqueIndex[];\r\n documentation?: string;\r\n primaryKey: PrimaryKey | null;\r\n isGenerated?: boolean;\r\n}>;\r\n\r\ndeclare enum ModelAction {\r\n findUnique = \"findUnique\",\r\n findUniqueOrThrow = \"findUniqueOrThrow\",\r\n findFirst = \"findFirst\",\r\n findFirstOrThrow = \"findFirstOrThrow\",\r\n findMany = \"findMany\",\r\n create = \"create\",\r\n createMany = \"createMany\",\r\n createManyAndReturn = \"createManyAndReturn\",\r\n update = \"update\",\r\n updateMany = \"updateMany\",\r\n updateManyAndReturn = \"updateManyAndReturn\",\r\n upsert = \"upsert\",\r\n delete = \"delete\",\r\n deleteMany = \"deleteMany\",\r\n groupBy = \"groupBy\",\r\n count = \"count\",// TODO: count does not actually exist in DMMF\r\n aggregate = \"aggregate\",\r\n findRaw = \"findRaw\",\r\n aggregateRaw = \"aggregateRaw\"\r\n}\r\n\r\nexport declare type ModelArg = {\r\n [MethodName in string]: unknown;\r\n};\r\n\r\nexport declare type ModelArgs = {\r\n model: {\r\n [ModelName in string]: ModelArg;\r\n };\r\n};\r\n\r\nexport declare type ModelKey<TypeMap extends TypeMapDef, M extends PropertyKey> = M extends keyof TypeMap['model'] ? M : Capitalize<M & string>;\r\n\r\ndeclare type ModelMapping = ReadonlyDeep_2<{\r\n model: string;\r\n plural: string;\r\n findUnique?: string | null;\r\n findUniqueOrThrow?: string | null;\r\n findFirst?: string | null;\r\n findFirstOrThrow?: string | null;\r\n findMany?: string | null;\r\n create?: string | null;\r\n createMany?: string | null;\r\n createManyAndReturn?: string | null;\r\n update?: string | null;\r\n updateMany?: string | null;\r\n updateManyAndReturn?: string | null;\r\n upsert?: string | null;\r\n delete?: string | null;\r\n deleteMany?: string | null;\r\n aggregate?: string | null;\r\n groupBy?: string | null;\r\n count?: string | null;\r\n findRaw?: string | null;\r\n aggregateRaw?: string | null;\r\n}>;\r\n\r\nexport declare type ModelQueryOptionsCb = (args: ModelQueryOptionsCbArgs) => Promise<any>;\r\n\r\nexport declare type ModelQueryOptionsCbArgs = {\r\n model: string;\r\n operation: string;\r\n args: JsArgs;\r\n query: (args: JsArgs) => Promise<unknown>;\r\n};\r\n\r\ndeclare type MultiBatchResponse = {\r\n type: 'multi';\r\n plans: object[];\r\n};\r\n\r\nexport declare type NameArgs = {\r\n name?: string;\r\n};\r\n\r\nexport declare type Narrow<A> = {\r\n [K in keyof A]: A[K] extends Function ? A[K] : Narrow<A[K]>;\r\n} | (A extends Narrowable ? A : never);\r\n\r\nexport declare type Narrowable = string | number | bigint | boolean | [];\r\n\r\nexport declare type NeverToUnknown<T> = [T] extends [never] ? unknown : T;\r\n\r\ndeclare class NullTypesEnumValue extends ObjectEnumValue {\r\n _getNamespace(): string;\r\n}\r\n\r\n/**\r\n * Base class for unique values of object-valued enums.\r\n */\r\nexport declare abstract class ObjectEnumValue {\r\n constructor(arg?: symbol);\r\n abstract _getNamespace(): string;\r\n _getName(): string;\r\n toString(): string;\r\n}\r\n\r\nexport declare const objectEnumValues: {\r\n classes: {\r\n DbNull: typeof DbNull;\r\n JsonNull: typeof JsonNull;\r\n AnyNull: typeof AnyNull;\r\n };\r\n instances: {\r\n DbNull: DbNull;\r\n JsonNull: JsonNull;\r\n AnyNull: AnyNull;\r\n };\r\n};\r\n\r\ndeclare const officialPrismaAdapters: readonly [\"@prisma/adapter-planetscale\", \"@prisma/adapter-neon\", \"@prisma/adapter-libsql\", \"@prisma/adapter-d1\", \"@prisma/adapter-pg\", \"@prisma/adapter-pg-worker\"];\r\n\r\nexport declare type Omission = Record<string, boolean | Skip>;\r\n\r\ndeclare type Omit_2<T, K extends string | number | symbol> = {\r\n [P in keyof T as P extends K ? never : P]: T[P];\r\n};\r\nexport { Omit_2 as Omit }\r\n\r\nexport declare type OmitValue<Omit, Key> = Key extends keyof Omit ? Omit[Key] : false;\r\n\r\nexport declare type Operation = 'findFirst' | 'findFirstOrThrow' | 'findUnique' | 'findUniqueOrThrow' | 'findMany' | 'create' | 'createMany' | 'createManyAndReturn' | 'update' | 'updateMany' | 'updateManyAndReturn' | 'upsert' | 'delete' | 'deleteMany' | 'aggregate' | 'count' | 'groupBy' | '$queryRaw' | '$executeRaw' | '$queryRawUnsafe' | '$executeRawUnsafe' | 'findRaw' | 'aggregateRaw' | '$runCommandRaw';\r\n\r\nexport declare type OperationPayload = {\r\n name: string;\r\n scalars: {\r\n [ScalarName in string]: unknown;\r\n };\r\n objects: {\r\n [ObjectName in string]: unknown;\r\n };\r\n composites: {\r\n [CompositeName in string]: unknown;\r\n };\r\n};\r\n\r\nexport declare type Optional<O, K extends keyof any = keyof O> = {\r\n [P in K & keyof O]?: O[P];\r\n} & {\r\n [P in Exclude<keyof O, K>]: O[P];\r\n};\r\n\r\nexport declare type OptionalFlat<T> = {\r\n [K in keyof T]?: T[K];\r\n};\r\n\r\nexport declare type OptionalKeys<O> = {\r\n [K in keyof O]-?: {} extends Pick_2<O, K> ? K : never;\r\n}[keyof O];\r\n\r\ndeclare type Options = {\r\n clientVersion: string;\r\n};\r\n\r\nexport declare type Or<A extends 1 | 0, B extends 1 | 0> = {\r\n 0: {\r\n 0: 0;\r\n 1: 1;\r\n };\r\n 1: {\r\n 0: 1;\r\n 1: 1;\r\n };\r\n}[A][B];\r\n\r\ndeclare type OtherOperationMappings = ReadonlyDeep_2<{\r\n read: string[];\r\n write: string[];\r\n}>;\r\n\r\ndeclare type OutputType = ReadonlyDeep_2<{\r\n name: string;\r\n fields: SchemaField[];\r\n}>;\r\n\r\ndeclare type OutputTypeRef = TypeRef<'scalar' | 'outputObjectTypes' | 'enumTypes'>;\r\n\r\nexport declare function Param<$Type, $Value extends string>(name: $Value): Param<$Type, $Value>;\r\n\r\nexport declare type Param<out $Type, $Value extends string> = {\r\n readonly name: $Value;\r\n};\r\n\r\nexport declare type PatchFlat<O1, O2> = O1 & Omit_2<O2, keyof O1>;\r\n\r\nexport declare type Path<O, P, Default = never> = O extends unknown ? P extends [infer K, ...infer R] ? K extends keyof O ? Path<O[K], R> : Default : O : never;\r\n\r\nexport declare type Payload<T, F extends Operation = never> = T extends {\r\n [K: symbol]: {\r\n types: {\r\n payload: any;\r\n };\r\n };\r\n} ? T[symbol]['types']['payload'] : any;\r\n\r\nexport declare type PayloadToResult<P, O extends Record_2<any, any> = RenameAndNestPayloadKeys<P>> = {\r\n [K in keyof O]?: O[K][K] extends any[] ? PayloadToResult<O[K][K][number]>[] : O[K][K] extends object ? PayloadToResult<O[K][K]> : O[K][K];\r\n};\r\n\r\ndeclare type Pick_2<T, K extends string | number | symbol> = {\r\n [P in keyof T as P extends K ? P : never]: T[P];\r\n};\r\nexport { Pick_2 as Pick }\r\n\r\ndeclare type PrimaryKey = ReadonlyDeep_2<{\r\n name: string | null;\r\n fields: string[];\r\n}>;\r\n\r\nexport declare class PrismaClientInitializationError extends Error {\r\n clientVersion: string;\r\n errorCode?: string;\r\n retryable?: boolean;\r\n constructor(message: string, clientVersion: string, errorCode?: string);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\nexport declare class PrismaClientKnownRequestError extends Error implements ErrorWithBatchIndex {\r\n code: string;\r\n meta?: Record<string, unknown>;\r\n clientVersion: string;\r\n batchRequestIdx?: number;\r\n constructor(message: string, { code, clientVersion, meta, batchRequestIdx }: KnownErrorParams);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\nexport declare type PrismaClientOptions = {\r\n /**\r\n * Overwrites the primary datasource url from your schema.prisma file\r\n */\r\n datasourceUrl?: string;\r\n /**\r\n * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-planetscale.\r\n */\r\n adapter?: SqlDriverAdapterFactory | null;\r\n /**\r\n * Overwrites the datasource url from your schema.prisma file\r\n */\r\n datasources?: Datasources;\r\n /**\r\n * @default \"colorless\"\r\n */\r\n errorFormat?: ErrorFormat;\r\n /**\r\n * The default values for Transaction options\r\n * maxWait ?= 2000\r\n * timeout ?= 5000\r\n */\r\n transactionOptions?: Transaction_2.Options;\r\n /**\r\n * @example\r\n * \\`\\`\\`\r\n * // Defaults to stdout\r\n * log: ['query', 'info', 'warn']\r\n *\r\n * // Emit as events\r\n * log: [\r\n * { emit: 'stdout', level: 'query' },\r\n * { emit: 'stdout', level: 'info' },\r\n * { emit: 'stdout', level: 'warn' }\r\n * ]\r\n * \\`\\`\\`\r\n * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/logging#the-log-option).\r\n */\r\n log?: Array<LogLevel | LogDefinition>;\r\n omit?: GlobalOmitOptions;\r\n /**\r\n * @internal\r\n * You probably don't want to use this. \\`__internal\\` is used by internal tooling.\r\n */\r\n __internal?: {\r\n debug?: boolean;\r\n engine?: {\r\n cwd?: string;\r\n binaryPath?: string;\r\n endpoint?: string;\r\n allowTriggerPanic?: boolean;\r\n };\r\n /** This can be used for testing purposes */\r\n configOverride?: (config: GetPrismaClientConfig) => GetPrismaClientConfig;\r\n };\r\n};\r\n\r\nexport declare class PrismaClientRustPanicError extends Error {\r\n clientVersion: string;\r\n constructor(message: string, clientVersion: string);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\nexport declare class PrismaClientUnknownRequestError extends Error implements ErrorWithBatchIndex {\r\n clientVersion: string;\r\n batchRequestIdx?: number;\r\n constructor(message: string, { clientVersion, batchRequestIdx }: UnknownErrorParams);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\nexport declare class PrismaClientValidationError extends Error {\r\n name: string;\r\n clientVersion: string;\r\n constructor(message: string, { clientVersion }: Options);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\ndeclare function prismaGraphQLToJSError({ error, user_facing_error }: RequestError, clientVersion: string, activeProvider: string): PrismaClientKnownRequestError | PrismaClientUnknownRequestError;\r\n\r\ndeclare type PrismaOperationSpec<TArgs, TAction = string> = {\r\n args: TArgs;\r\n action: TAction;\r\n model: string;\r\n};\r\n\r\nexport declare interface PrismaPromise<T> extends Promise<T> {\r\n [Symbol.toStringTag]: 'PrismaPromise';\r\n}\r\n\r\n/**\r\n * Prisma's `Promise` that is backwards-compatible. All additions on top of the\r\n * original `Promise` are optional so that it can be backwards-compatible.\r\n * @see [[createPrismaPromise]]\r\n */\r\ndeclare interface PrismaPromise_2<TResult, TSpec extends PrismaOperationSpec<unknown> = any> extends Promise<TResult> {\r\n get spec(): TSpec;\r\n /**\r\n * Extension of the original `.then` function\r\n * @param onfulfilled same as regular promises\r\n * @param onrejected same as regular promises\r\n * @param transaction transaction options\r\n */\r\n then<R1 = TResult, R2 = never>(onfulfilled?: (value: TResult) => R1 | PromiseLike<R1>, onrejected?: (error: unknown) => R2 | PromiseLike<R2>, transaction?: PrismaPromiseTransaction): Promise<R1 | R2>;\r\n /**\r\n * Extension of the original `.catch` function\r\n * @param onrejected same as regular promises\r\n * @param transaction transaction options\r\n */\r\n catch<R = never>(onrejected?: ((reason: any) => R | PromiseLike<R>) | undefined | null, transaction?: PrismaPromiseTransaction): Promise<TResult | R>;\r\n /**\r\n * Extension of the original `.finally` function\r\n * @param onfinally same as regular promises\r\n * @param transaction transaction options\r\n */\r\n finally(onfinally?: (() => void) | undefined | null, transaction?: PrismaPromiseTransaction): Promise<TResult>;\r\n /**\r\n * Called when executing a batch of regular tx\r\n * @param transaction transaction options for batch tx\r\n */\r\n requestTransaction?(transaction: PrismaPromiseBatchTransaction): PromiseLike<unknown>;\r\n}\r\n\r\ndeclare type PrismaPromiseBatchTransaction = {\r\n kind: 'batch';\r\n id: number;\r\n isolationLevel?: IsolationLevel;\r\n index: number;\r\n lock: PromiseLike<void>;\r\n};\r\n\r\ndeclare type PrismaPromiseCallback = (transaction?: PrismaPromiseTransaction) => Promise<unknown>;\r\n\r\n/**\r\n * Creates a [[PrismaPromise]]. It is Prisma's implementation of `Promise` which\r\n * is essentially a proxy for `Promise`. All the transaction-compatible client\r\n * methods return one, this allows for pre-preparing queries without executing\r\n * them until `.then` is called. It's the foundation of Prisma's query batching.\r\n * @param callback that will be wrapped within our promise implementation\r\n * @see [[PrismaPromise]]\r\n * @returns\r\n */\r\ndeclare type PrismaPromiseFactory = <T extends PrismaOperationSpec<unknown>>(callback: PrismaPromiseCallback, op?: T) => PrismaPromise_2<unknown>;\r\n\r\ndeclare type PrismaPromiseInteractiveTransaction<PayloadType = unknown> = {\r\n kind: 'itx';\r\n id: string;\r\n payload: PayloadType;\r\n};\r\n\r\ndeclare type PrismaPromiseTransaction<PayloadType = unknown> = PrismaPromiseBatchTransaction | PrismaPromiseInteractiveTransaction<PayloadType>;\r\n\r\nexport declare const PrivateResultType: unique symbol;\r\n\r\ndeclare type Provider = 'mysql' | 'postgres' | 'sqlite';\r\n\r\ndeclare namespace Public {\r\n export {\r\n validator\r\n }\r\n}\r\nexport { Public }\r\n\r\ndeclare namespace Public_2 {\r\n export {\r\n Args,\r\n Result,\r\n Payload,\r\n PrismaPromise,\r\n Operation,\r\n Exact\r\n }\r\n}\r\n\r\ndeclare type Query = ReadonlyDeep_2<{\r\n name: string;\r\n args: SchemaArg[];\r\n output: QueryOutput;\r\n}>;\r\n\r\ndeclare interface Queryable<Query, Result> extends AdapterInfo {\r\n /**\r\n * Execute a query and return its result.\r\n */\r\n queryRaw(params: Query): Promise<Result>;\r\n /**\r\n * Execute a query and return the number of affected rows.\r\n */\r\n executeRaw(params: Query): Promise<number>;\r\n}\r\n\r\ndeclare type QueryCompiler = {\r\n compile(request: string): string;\r\n compileBatch(batchRequest: string): BatchResponse;\r\n};\r\n\r\ndeclare interface QueryCompilerConstructor {\r\n new (options: QueryCompilerOptions): QueryCompiler;\r\n}\r\n\r\ndeclare type QueryCompilerOptions = {\r\n datamodel: string;\r\n provider: Provider;\r\n connectionInfo: ConnectionInfo;\r\n};\r\n\r\ndeclare type QueryEngineBatchGraphQLRequest = {\r\n batch: QueryEngineRequest[];\r\n transaction?: boolean;\r\n isolationLevel?: IsolationLevel;\r\n};\r\n\r\ndeclare type QueryEngineBatchRequest = QueryEngineBatchGraphQLRequest | JsonBatchQuery;\r\n\r\ndeclare type QueryEngineConfig = {\r\n datamodel: string;\r\n configDir: string;\r\n logQueries: boolean;\r\n ignoreEnvVarErrors: boolean;\r\n datasourceOverrides: Record<string, string>;\r\n env: Record<string, string | undefined>;\r\n logLevel: QueryEngineLogLevel;\r\n engineProtocol: QueryEngineProtocol;\r\n enableTracing: boolean;\r\n};\r\n\r\ndeclare interface QueryEngineConstructor {\r\n new (config: QueryEngineConfig, logger: (log: string) => void, adapter?: ErrorCapturingSqlDriverAdapter): QueryEngineInstance;\r\n}\r\n\r\ndeclare type QueryEngineInstance = {\r\n connect(headers: string, requestId: string): Promise<void>;\r\n disconnect(headers: string, requestId: string): Promise<void>;\r\n /**\r\n * @param requestStr JSON.stringified `QueryEngineRequest | QueryEngineBatchRequest`\r\n * @param headersStr JSON.stringified `QueryEngineRequestHeaders`\r\n */\r\n query(requestStr: string, headersStr: string, transactionId: string | undefined, requestId: string): Promise<string>;\r\n sdlSchema?(): Promise<string>;\r\n startTransaction(options: string, traceHeaders: string, requestId: string): Promise<string>;\r\n commitTransaction(id: string, traceHeaders: string, requestId: string): Promise<string>;\r\n rollbackTransaction(id: string, traceHeaders: string, requestId: string): Promise<string>;\r\n metrics?(options: string): Promise<string>;\r\n applyPendingMigrations?(): Promise<void>;\r\n trace(requestId: string): Promise<string | null>;\r\n};\r\n\r\ndeclare type QueryEngineLogLevel = 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'off';\r\n\r\ndeclare type QueryEngineProtocol = 'graphql' | 'json';\r\n\r\ndeclare type QueryEngineRequest = {\r\n query: string;\r\n variables: Object;\r\n};\r\n\r\ndeclare type QueryEngineResultData<T> = {\r\n data: T;\r\n};\r\n\r\ndeclare type QueryEvent = {\r\n timestamp: Date;\r\n query: string;\r\n params: string;\r\n duration: number;\r\n target: string;\r\n};\r\n\r\ndeclare type QueryEventType = 'query';\r\n\r\ndeclare type QueryIntrospectionBuiltinType = 'int' | 'bigint' | 'float' | 'double' | 'string' | 'enum' | 'bytes' | 'bool' | 'char' | 'decimal' | 'json' | 'xml' | 'uuid' | 'datetime' | 'date' | 'time' | 'int-array' | 'bigint-array' | 'float-array' | 'double-array' | 'string-array' | 'char-array' | 'bytes-array' | 'bool-array' | 'decimal-array' | 'json-array' | 'xml-array' | 'uuid-array' | 'datetime-array' | 'date-array' | 'time-array' | 'null' | 'unknown';\r\n\r\ndeclare type QueryMiddleware = (params: QueryMiddlewareParams, next: (params: QueryMiddlewareParams) => Promise<unknown>) => Promise<unknown>;\r\n\r\ndeclare type QueryMiddlewareParams = {\r\n /** The model this is executed on */\r\n model?: string;\r\n /** The action that is being handled */\r\n action: Action;\r\n /** TODO what is this */\r\n dataPath: string[];\r\n /** TODO what is this */\r\n runInTransaction: boolean;\r\n args?: UserArgs_2;\r\n};\r\n\r\nexport declare type QueryOptions = {\r\n query: {\r\n [ModelName in string]: {\r\n [ModelAction in string]: ModelQueryOptionsCb;\r\n } | QueryOptionsCb;\r\n };\r\n};\r\n\r\nexport declare type QueryOptionsCb = (args: QueryOptionsCbArgs) => Promise<any>;\r\n\r\nexport declare type QueryOptionsCbArgs = {\r\n model?: string;\r\n operation: string;\r\n args: JsArgs | RawQueryArgs;\r\n query: (args: JsArgs | RawQueryArgs) => Promise<unknown>;\r\n};\r\n\r\ndeclare type QueryOutput = ReadonlyDeep_2<{\r\n name: string;\r\n isRequired: boolean;\r\n isList: boolean;\r\n}>;\r\n\r\n/**\r\n * Create raw SQL statement.\r\n */\r\nexport declare function raw(value: string): Sql;\r\n\r\nexport declare type RawParameters = {\r\n __prismaRawParameters__: true;\r\n values: string;\r\n};\r\n\r\nexport declare type RawQueryArgs = Sql | UnknownTypedSql | [query: string, ...values: RawValue[]];\r\n\r\ndeclare type RawResponse = {\r\n columns: string[];\r\n types: QueryIntrospectionBuiltinType[];\r\n rows: unknown[][];\r\n};\r\n\r\ndeclare type RawTaggedValue = {\r\n $type: 'Raw';\r\n value: unknown;\r\n};\r\n\r\n/**\r\n * Supported value or SQL instance.\r\n */\r\nexport declare type RawValue = Value | Sql;\r\n\r\nexport declare type ReadonlyDeep<T> = {\r\n readonly [K in keyof T]: ReadonlyDeep<T[K]>;\r\n};\r\n\r\ndeclare type ReadonlyDeep_2<O> = {\r\n +readonly [K in keyof O]: ReadonlyDeep_2<O[K]>;\r\n};\r\n\r\ndeclare type Record_2<T extends string | number | symbol, U> = {\r\n [P in T]: U;\r\n};\r\nexport { Record_2 as Record }\r\n\r\nexport declare type RenameAndNestPayloadKeys<P> = {\r\n [K in keyof P as K extends 'scalars' | 'objects' | 'composites' ? keyof P[K] : never]: P[K];\r\n};\r\n\r\ndeclare type RequestBatchOptions<InteractiveTransactionPayload> = {\r\n transaction?: TransactionOptions_3<InteractiveTransactionPayload>;\r\n traceparent?: string;\r\n numTry?: number;\r\n containsWrite: boolean;\r\n customDataProxyFetch?: CustomDataProxyFetch;\r\n};\r\n\r\ndeclare interface RequestError {\r\n error: string;\r\n user_facing_error: {\r\n is_panic: boolean;\r\n message: string;\r\n meta?: Record<string, unknown>;\r\n error_code?: string;\r\n batch_request_idx?: number;\r\n };\r\n}\r\n\r\ndeclare class RequestHandler {\r\n client: Client;\r\n dataloader: DataLoader<RequestParams>;\r\n private logEmitter?;\r\n constructor(client: Client, logEmitter?: LogEmitter);\r\n request(params: RequestParams): Promise<any>;\r\n mapQueryEngineResult({ dataPath, unpacker }: RequestParams, response: QueryEngineResultData<any>): any;\r\n /**\r\n * Handles the error and logs it, logging the error is done synchronously waiting for the event\r\n * handlers to finish.\r\n */\r\n handleAndLogRequestError(params: HandleErrorParams): never;\r\n handleRequestError({ error, clientMethod, callsite, transaction, args, modelName, globalOmit, }: HandleErrorParams): never;\r\n sanitizeMessage(message: any): any;\r\n unpack(data: unknown, dataPath: string[], unpacker?: Unpacker): any;\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\ndeclare type RequestOptions<InteractiveTransactionPayload> = {\r\n traceparent?: string;\r\n numTry?: number;\r\n interactiveTransaction?: InteractiveTransactionOptions<InteractiveTransactionPayload>;\r\n isWrite: boolean;\r\n customDataProxyFetch?: CustomDataProxyFetch;\r\n};\r\n\r\ndeclare type RequestParams = {\r\n modelName?: string;\r\n action: Action;\r\n protocolQuery: JsonQuery;\r\n dataPath: string[];\r\n clientMethod: string;\r\n callsite?: CallSite;\r\n transaction?: PrismaPromiseTransaction;\r\n extensions: MergedExtensionsList;\r\n args?: any;\r\n headers?: Record<string, string>;\r\n unpacker?: Unpacker;\r\n otelParentCtx?: Context;\r\n otelChildCtx?: Context;\r\n globalOmit?: GlobalOmitOptions;\r\n customDataProxyFetch?: CustomDataProxyFetch;\r\n};\r\n\r\ndeclare type RequiredExtensionArgs = NameArgs & ResultArgs & ModelArgs & ClientArgs & QueryOptions;\r\nexport { RequiredExtensionArgs }\r\nexport { RequiredExtensionArgs as UserArgs }\r\n\r\nexport declare type RequiredKeys<O> = {\r\n [K in keyof O]-?: {} extends Pick_2<O, K> ? never : K;\r\n}[keyof O];\r\n\r\ndeclare function resolveDatasourceUrl({ inlineDatasources, overrideDatasources, env, clientVersion, }: {\r\n inlineDatasources: GetPrismaClientConfig['inlineDatasources'];\r\n overrideDatasources: Datasources;\r\n env: Record<string, string | undefined>;\r\n clientVersion: string;\r\n}): string;\r\n\r\nexport declare type Result<T, A, F extends Operation> = T extends {\r\n [K: symbol]: {\r\n types: {\r\n payload: any;\r\n };\r\n };\r\n} ? GetResult<T[symbol]['types']['payload'], A, F> : GetResult<{\r\n composites: {};\r\n objects: {};\r\n scalars: {};\r\n name: '';\r\n}, {}, F>;\r\n\r\nexport declare type Result_2<T, A, F extends Operation> = Result<T, A, F>;\r\n\r\ndeclare namespace Result_3 {\r\n export {\r\n Count,\r\n GetFindResult,\r\n SelectablePayloadFields,\r\n SelectField,\r\n DefaultSelection,\r\n UnwrapPayload,\r\n ApplyOmit,\r\n OmitValue,\r\n GetCountResult,\r\n Aggregate,\r\n GetAggregateResult,\r\n GetBatchResult,\r\n GetGroupByResult,\r\n GetResult,\r\n ExtractGlobalOmit\r\n }\r\n}\r\n\r\ndeclare type Result_4<T> = {\r\n map<U>(fn: (value: T) => U): Result_4<U>;\r\n flatMap<U>(fn: (value: T) => Result_4<U>): Result_4<U>;\r\n} & ({\r\n readonly ok: true;\r\n readonly value: T;\r\n} | {\r\n readonly ok: false;\r\n readonly error: Error_2;\r\n});\r\n\r\nexport declare type ResultArg = {\r\n [FieldName in string]: ResultFieldDefinition;\r\n};\r\n\r\nexport declare type ResultArgs = {\r\n result: {\r\n [ModelName in string]: ResultArg;\r\n };\r\n};\r\n\r\nexport declare type ResultArgsFieldCompute = (model: any) => unknown;\r\n\r\nexport declare type ResultFieldDefinition = {\r\n needs?: {\r\n [FieldName in string]: boolean;\r\n };\r\n compute: ResultArgsFieldCompute;\r\n};\r\n\r\nexport declare type Return<T> = T extends (...args: any[]) => infer R ? R : T;\r\n\r\nexport declare type RuntimeDataModel = {\r\n readonly models: Record<string, RuntimeModel>;\r\n readonly enums: Record<string, RuntimeEnum>;\r\n readonly types: Record<string, RuntimeModel>;\r\n};\r\n\r\ndeclare type RuntimeEnum = Omit<DMMF_2.DatamodelEnum, 'name'>;\r\n\r\ndeclare type RuntimeModel = Omit<DMMF_2.Model, 'name'>;\r\n\r\ndeclare type RuntimeName = 'workerd' | 'deno' | 'netlify' | 'node' | 'bun' | 'edge-light' | '';\r\n\r\ndeclare type Schema = ReadonlyDeep_2<{\r\n rootQueryType?: string;\r\n rootMutationType?: string;\r\n inputObjectTypes: {\r\n model?: InputType[];\r\n prisma: InputType[];\r\n };\r\n outputObjectTypes: {\r\n model: OutputType[];\r\n prisma: OutputType[];\r\n };\r\n enumTypes: {\r\n model?: SchemaEnum[];\r\n prisma: SchemaEnum[];\r\n };\r\n fieldRefTypes: {\r\n prisma?: FieldRefType[];\r\n };\r\n}>;\r\n\r\ndeclare type SchemaArg = ReadonlyDeep_2<{\r\n name: string;\r\n comment?: string;\r\n isNullable: boolean;\r\n isRequired: boolean;\r\n inputTypes: InputTypeRef[];\r\n deprecation?: Deprecation;\r\n}>;\r\n\r\ndeclare type SchemaEnum = ReadonlyDeep_2<{\r\n name: string;\r\n values: string[];\r\n}>;\r\n\r\ndeclare type SchemaField = ReadonlyDeep_2<{\r\n name: string;\r\n isNullable?: boolean;\r\n outputType: OutputTypeRef;\r\n args: SchemaArg[];\r\n deprecation?: Deprecation;\r\n documentation?: string;\r\n}>;\r\n\r\nexport declare type Select<T, U> = T extends U ? T : never;\r\n\r\nexport declare type SelectablePayloadFields<K extends PropertyKey, O> = {\r\n objects: {\r\n [k in K]: O;\r\n };\r\n} | {\r\n composites: {\r\n [k in K]: O;\r\n };\r\n};\r\n\r\nexport declare type SelectField<P extends SelectablePayloadFields<any, any>, K extends PropertyKey> = P extends {\r\n objects: Record<K, any>;\r\n} ? P['objects'][K] : P extends {\r\n composites: Record<K, any>;\r\n} ? P['composites'][K] : never;\r\n\r\ndeclare type Selection_2 = Record<string, boolean | Skip | JsArgs>;\r\nexport { Selection_2 as Selection }\r\n\r\nexport declare function serializeJsonQuery({ modelName, action, args, runtimeDataModel, extensions, callsite, clientMethod, errorFormat, clientVersion, previewFeatures, globalOmit, }: SerializeParams): JsonQuery;\r\n\r\ndeclare type SerializeParams = {\r\n runtimeDataModel: RuntimeDataModel;\r\n modelName?: string;\r\n action: Action;\r\n args?: JsArgs;\r\n extensions?: MergedExtensionsList;\r\n callsite?: CallSite;\r\n clientMethod: string;\r\n clientVersion: string;\r\n errorFormat: ErrorFormat;\r\n previewFeatures: string[];\r\n globalOmit?: GlobalOmitOptions;\r\n};\r\n\r\ndeclare class Skip {\r\n constructor(param?: symbol);\r\n ifUndefined<T>(value: T | undefined): T | Skip;\r\n}\r\n\r\nexport declare const skip: Skip;\r\n\r\ndeclare type SortOrder = 'asc' | 'desc';\r\n\r\n/**\r\n * An interface that represents a span. A span represents a single operation\r\n * within a trace. Examples of span might include remote procedure calls or a\r\n * in-process function calls to sub-components. A Trace has a single, top-level\r\n * \"root\" Span that in turn may have zero or more child Spans, which in turn\r\n * may have children.\r\n *\r\n * Spans are created by the {@link Tracer.startSpan} method.\r\n */\r\ndeclare interface Span {\r\n /**\r\n * Returns the {@link SpanContext} object associated with this Span.\r\n *\r\n * Get an immutable, serializable identifier for this span that can be used\r\n * to create new child spans. Returned SpanContext is usable even after the\r\n * span ends.\r\n *\r\n * @returns the SpanContext object associated with this Span.\r\n */\r\n spanContext(): SpanContext;\r\n /**\r\n * Sets an attribute to the span.\r\n *\r\n * Sets a single Attribute with the key and value passed as arguments.\r\n *\r\n * @param key the key for this attribute.\r\n * @param value the value for this attribute. Setting a value null or\r\n * undefined is invalid and will result in undefined behavior.\r\n */\r\n setAttribute(key: string, value: SpanAttributeValue): this;\r\n /**\r\n * Sets attributes to the span.\r\n *\r\n * @param attributes the attributes that will be added.\r\n * null or undefined attribute values\r\n * are invalid and will result in undefined behavior.\r\n */\r\n setAttributes(attributes: SpanAttributes): this;\r\n /**\r\n * Adds an event to the Span.\r\n *\r\n * @param name the name of the event.\r\n * @param [attributesOrStartTime] the attributes that will be added; these are\r\n * associated with this event. Can be also a start time\r\n * if type is {@type TimeInput} and 3rd param is undefined\r\n * @param [startTime] start time of the event.\r\n */\r\n addEvent(name: string, attributesOrStartTime?: SpanAttributes | TimeInput, startTime?: TimeInput): this;\r\n /**\r\n * Adds a single link to the span.\r\n *\r\n * Links added after the creation will not affect the sampling decision.\r\n * It is preferred span links be added at span creation.\r\n *\r\n * @param link the link to add.\r\n */\r\n addLink(link: Link): this;\r\n /**\r\n * Adds multiple links to the span.\r\n *\r\n * Links added after the creation will not affect the sampling decision.\r\n * It is preferred span links be added at span creation.\r\n *\r\n * @param links the links to add.\r\n */\r\n addLinks(links: Link[]): this;\r\n /**\r\n * Sets a status to the span. If used, this will override the default Span\r\n * status. Default is {@link SpanStatusCode.UNSET}. SetStatus overrides the value\r\n * of previous calls to SetStatus on the Span.\r\n *\r\n * @param status the SpanStatus to set.\r\n */\r\n setStatus(status: SpanStatus): this;\r\n /**\r\n * Updates the Span name.\r\n *\r\n * This will override the name provided via {@link Tracer.startSpan}.\r\n *\r\n * Upon this update, any sampling behavior based on Span name will depend on\r\n * the implementation.\r\n *\r\n * @param name the Span name.\r\n */\r\n updateName(name: string): this;\r\n /**\r\n * Marks the end of Span execution.\r\n *\r\n * Call to End of a Span MUST not have any effects on child spans. Those may\r\n * still be running and can be ended later.\r\n *\r\n * Do not return `this`. The Span generally should not be used after it\r\n * is ended so chaining is not desired in this context.\r\n *\r\n * @param [endTime] the time to set as Span's end time. If not provided,\r\n * use the current time as the span's end time.\r\n */\r\n end(endTime?: TimeInput): void;\r\n /**\r\n * Returns the flag whether this span will be recorded.\r\n *\r\n * @returns true if this Span is active and recording information like events\r\n * with the `AddEvent` operation and attributes using `setAttributes`.\r\n */\r\n isRecording(): boolean;\r\n /**\r\n * Sets exception as a span event\r\n * @param exception the exception the only accepted values are string or Error\r\n * @param [time] the time to set as Span's event time. If not provided,\r\n * use the current time.\r\n */\r\n recordException(exception: Exception, time?: TimeInput): void;\r\n}\r\n\r\n/**\r\n * @deprecated please use {@link Attributes}\r\n */\r\ndeclare type SpanAttributes = Attributes;\r\n\r\n/**\r\n * @deprecated please use {@link AttributeValue}\r\n */\r\ndeclare type SpanAttributeValue = AttributeValue;\r\n\r\ndeclare type SpanCallback<R> = (span?: Span, context?: Context) => R;\r\n\r\n/**\r\n * A SpanContext represents the portion of a {@link Span} which must be\r\n * serialized and propagated along side of a {@link Baggage}.\r\n */\r\ndeclare interface SpanContext {\r\n /**\r\n * The ID of the trace that this span belongs to. It is worldwide unique\r\n * with practically sufficient probability by being made as 16 randomly\r\n * generated bytes, encoded as a 32 lowercase hex characters corresponding to\r\n * 128 bits.\r\n */\r\n traceId: string;\r\n /**\r\n * The ID of the Span. It is globally unique with practically sufficient\r\n * probability by being made as 8 randomly generated bytes, encoded as a 16\r\n * lowercase hex characters corresponding to 64 bits.\r\n */\r\n spanId: string;\r\n /**\r\n * Only true if the SpanContext was propagated from a remote parent.\r\n */\r\n isRemote?: boolean;\r\n /**\r\n * Trace flags to propagate.\r\n *\r\n * It is represented as 1 byte (bitmap). Bit to represent whether trace is\r\n * sampled or not. When set, the least significant bit documents that the\r\n * caller may have recorded trace data. A caller who does not record trace\r\n * data out-of-band leaves this flag unset.\r\n *\r\n * see {@link TraceFlags} for valid flag values.\r\n */\r\n traceFlags: number;\r\n /**\r\n * Tracing-system-specific info to propagate.\r\n *\r\n * The tracestate field value is a `list` as defined below. The `list` is a\r\n * series of `list-members` separated by commas `,`, and a list-member is a\r\n * key/value pair separated by an equals sign `=`. Spaces and horizontal tabs\r\n * surrounding `list-members` are ignored. There can be a maximum of 32\r\n * `list-members` in a `list`.\r\n * More Info: https://www.w3.org/TR/trace-context/#tracestate-field\r\n *\r\n * Examples:\r\n * Single tracing system (generic format):\r\n * tracestate: rojo=00f067aa0ba902b7\r\n * Multiple tracing systems (with different formatting):\r\n * tracestate: rojo=00f067aa0ba902b7,congo=t61rcWkgMzE\r\n */\r\n traceState?: TraceState;\r\n}\r\n\r\ndeclare enum SpanKind {\r\n /** Default value. Indicates that the span is used internally. */\r\n INTERNAL = 0,\r\n /**\r\n * Indicates that the span covers server-side handling of an RPC or other\r\n * remote request.\r\n */\r\n SERVER = 1,\r\n /**\r\n * Indicates that the span covers the client-side wrapper around an RPC or\r\n * other remote request.\r\n */\r\n CLIENT = 2,\r\n /**\r\n * Indicates that the span describes producer sending a message to a\r\n * broker. Unlike client and server, there is no direct critical path latency\r\n * relationship between producer and consumer spans.\r\n */\r\n PRODUCER = 3,\r\n /**\r\n * Indicates that the span describes consumer receiving a message from a\r\n * broker. Unlike client and server, there is no direct critical path latency\r\n * relationship between producer and consumer spans.\r\n */\r\n CONSUMER = 4\r\n}\r\n\r\n/**\r\n * Options needed for span creation\r\n */\r\ndeclare interface SpanOptions {\r\n /**\r\n * The SpanKind of a span\r\n * @default {@link SpanKind.INTERNAL}\r\n */\r\n kind?: SpanKind;\r\n /** A span's attributes */\r\n attributes?: SpanAttributes;\r\n /** {@link Link}s span to other spans */\r\n links?: Link[];\r\n /** A manually specified start time for the created `Span` object. */\r\n startTime?: TimeInput;\r\n /** The new span should be a root span. (Ignore parent from context). */\r\n root?: boolean;\r\n}\r\n\r\ndeclare interface SpanStatus {\r\n /** The status code of this message. */\r\n code: SpanStatusCode;\r\n /** A developer-facing error message. */\r\n message?: string;\r\n}\r\n\r\n/**\r\n * An enumeration of status codes.\r\n */\r\ndeclare enum SpanStatusCode {\r\n /**\r\n * The default status.\r\n */\r\n UNSET = 0,\r\n /**\r\n * The operation has been validated by an Application developer or\r\n * Operator to have completed successfully.\r\n */\r\n OK = 1,\r\n /**\r\n * The operation contains an error.\r\n */\r\n ERROR = 2\r\n}\r\n\r\n/**\r\n * A SQL instance can be nested within each other to build SQL strings.\r\n */\r\nexport declare class Sql {\r\n readonly values: Value[];\r\n readonly strings: string[];\r\n constructor(rawStrings: readonly string[], rawValues: readonly RawValue[]);\r\n get sql(): string;\r\n get statement(): string;\r\n get text(): string;\r\n inspect(): {\r\n sql: string;\r\n statement: string;\r\n text: string;\r\n values: unknown[];\r\n };\r\n}\r\n\r\ndeclare interface SqlDriverAdapter extends SqlQueryable {\r\n /**\r\n * Execute multiple SQL statements separated by semicolon.\r\n */\r\n executeScript(script: string): Promise<void>;\r\n /**\r\n * Start new transaction.\r\n */\r\n startTransaction(isolationLevel?: IsolationLevel): Promise<Transaction>;\r\n /**\r\n * Optional method that returns extra connection info\r\n */\r\n getConnectionInfo?(): ConnectionInfo;\r\n /**\r\n * Dispose of the connection and release any resources.\r\n */\r\n dispose(): Promise<void>;\r\n}\r\n\r\nexport declare interface SqlDriverAdapterFactory extends DriverAdapterFactory<SqlQuery, SqlResultSet> {\r\n connect(): Promise<SqlDriverAdapter>;\r\n}\r\n\r\ndeclare type SqlQuery = {\r\n sql: string;\r\n args: Array<unknown>;\r\n argTypes: Array<ArgType>;\r\n};\r\n\r\ndeclare interface SqlQueryable extends Queryable<SqlQuery, SqlResultSet> {\r\n}\r\n\r\ndeclare interface SqlResultSet {\r\n /**\r\n * List of column types appearing in a database query, in the same order as `columnNames`.\r\n * They are used within the Query Engine to convert values from JS to Quaint values.\r\n */\r\n columnTypes: Array<ColumnType>;\r\n /**\r\n * List of column names appearing in a database query, in the same order as `columnTypes`.\r\n */\r\n columnNames: Array<string>;\r\n /**\r\n * List of rows retrieved from a database query.\r\n * Each row is a list of values, whose length matches `columnNames` and `columnTypes`.\r\n */\r\n rows: Array<Array<unknown>>;\r\n /**\r\n * The last ID of an `INSERT` statement, if any.\r\n * This is required for `AUTO_INCREMENT` columns in databases based on MySQL and SQLite.\r\n */\r\n lastInsertId?: string;\r\n}\r\n\r\n/**\r\n * Create a SQL object from a template string.\r\n */\r\nexport declare function sqltag(strings: readonly string[], ...values: readonly RawValue[]): Sql;\r\n\r\n/**\r\n * Defines TimeInput.\r\n *\r\n * hrtime, epoch milliseconds, performance.now() or Date\r\n */\r\ndeclare type TimeInput = HrTime_2 | number | Date;\r\n\r\nexport declare type ToTuple<T> = T extends any[] ? T : [T];\r\n\r\ndeclare interface TraceState {\r\n /**\r\n * Create a new TraceState which inherits from this TraceState and has the\r\n * given key set.\r\n * The new entry will always be added in the front of the list of states.\r\n *\r\n * @param key key of the TraceState entry.\r\n * @param value value of the TraceState entry.\r\n */\r\n set(key: string, value: string): TraceState;\r\n /**\r\n * Return a new TraceState which inherits from this TraceState but does not\r\n * contain the given key.\r\n *\r\n * @param key the key for the TraceState entry to be removed.\r\n */\r\n unset(key: string): TraceState;\r\n /**\r\n * Returns the value to which the specified key is mapped, or `undefined` if\r\n * this map contains no mapping for the key.\r\n *\r\n * @param key with which the specified value is to be associated.\r\n * @returns the value to which the specified key is mapped, or `undefined` if\r\n * this map contains no mapping for the key.\r\n */\r\n get(key: string): string | undefined;\r\n /**\r\n * Serializes the TraceState to a `list` as defined below. The `list` is a\r\n * series of `list-members` separated by commas `,`, and a list-member is a\r\n * key/value pair separated by an equals sign `=`. Spaces and horizontal tabs\r\n * surrounding `list-members` are ignored. There can be a maximum of 32\r\n * `list-members` in a `list`.\r\n *\r\n * @returns the serialized string.\r\n */\r\n serialize(): string;\r\n}\r\n\r\ndeclare interface TracingHelper {\r\n isEnabled(): boolean;\r\n getTraceParent(context?: Context): string;\r\n dispatchEngineSpans(spans: EngineSpan[]): void;\r\n getActiveContext(): Context | undefined;\r\n runInChildSpan<R>(nameOrOptions: string | ExtendedSpanOptions, callback: SpanCallback<R>): R;\r\n}\r\n\r\ndeclare interface Transaction extends AdapterInfo, SqlQueryable {\r\n /**\r\n * Transaction options.\r\n */\r\n readonly options: TransactionOptions;\r\n /**\r\n * Commit the transaction.\r\n */\r\n commit(): Promise<void>;\r\n /**\r\n * Roll back the transaction.\r\n */\r\n rollback(): Promise<void>;\r\n}\r\n\r\ndeclare namespace Transaction_2 {\r\n export {\r\n TransactionOptions_2 as Options,\r\n InteractiveTransactionInfo,\r\n TransactionHeaders\r\n }\r\n}\r\n\r\ndeclare type TransactionHeaders = {\r\n traceparent?: string;\r\n};\r\n\r\ndeclare type TransactionOptions = {\r\n usePhantomQuery: boolean;\r\n};\r\n\r\ndeclare type TransactionOptions_2 = {\r\n maxWait?: number;\r\n timeout?: number;\r\n isolationLevel?: IsolationLevel;\r\n};\r\n\r\ndeclare type TransactionOptions_3<InteractiveTransactionPayload> = {\r\n kind: 'itx';\r\n options: InteractiveTransactionOptions<InteractiveTransactionPayload>;\r\n} | {\r\n kind: 'batch';\r\n options: BatchTransactionOptions;\r\n};\r\n\r\nexport declare class TypedSql<Values extends readonly unknown[], Result> {\r\n [PrivateResultType]: Result;\r\n constructor(sql: string, values: Values);\r\n get sql(): string;\r\n get values(): Values;\r\n}\r\n\r\nexport declare type TypeMapCbDef = Fn<{\r\n extArgs: InternalArgs;\r\n}, TypeMapDef>;\r\n\r\n/** Shared */\r\nexport declare type TypeMapDef = Record<any, any>;\r\n\r\ndeclare type TypeRef<AllowedLocations extends FieldLocation> = {\r\n isList: boolean;\r\n type: string;\r\n location: AllowedLocations;\r\n namespace?: FieldNamespace;\r\n};\r\n\r\ndeclare namespace Types {\r\n export {\r\n Result_3 as Result,\r\n Extensions_2 as Extensions,\r\n Utils,\r\n Public_2 as Public,\r\n isSkip,\r\n Skip,\r\n skip,\r\n UnknownTypedSql,\r\n OperationPayload as Payload\r\n }\r\n}\r\nexport { Types }\r\n\r\ndeclare type uniqueIndex = ReadonlyDeep_2<{\r\n name: string;\r\n fields: string[];\r\n}>;\r\n\r\ndeclare type UnknownErrorParams = {\r\n clientVersion: string;\r\n batchRequestIdx?: number;\r\n};\r\n\r\nexport declare type UnknownTypedSql = TypedSql<unknown[], unknown>;\r\n\r\ndeclare type Unpacker = (data: any) => any;\r\n\r\nexport declare type UnwrapPayload<P> = {} extends P ? unknown : {\r\n [K in keyof P]: P[K] extends {\r\n scalars: infer S;\r\n composites: infer C;\r\n }[] ? Array<S & UnwrapPayload<C>> : P[K] extends {\r\n scalars: infer S;\r\n composites: infer C;\r\n } | null ? S & UnwrapPayload<C> | Select<P[K], null> : never;\r\n};\r\n\r\nexport declare type UnwrapPromise<P> = P extends Promise<infer R> ? R : P;\r\n\r\nexport declare type UnwrapTuple<Tuple extends readonly unknown[]> = {\r\n [K in keyof Tuple]: K extends `${number}` ? Tuple[K] extends PrismaPromise<infer X> ? X : UnwrapPromise<Tuple[K]> : UnwrapPromise<Tuple[K]>;\r\n};\r\n\r\n/**\r\n * Input that flows from the user into the Client.\r\n */\r\ndeclare type UserArgs_2 = any;\r\n\r\ndeclare namespace Utils {\r\n export {\r\n EmptyToUnknown,\r\n NeverToUnknown,\r\n PatchFlat,\r\n Omit_2 as Omit,\r\n Pick_2 as Pick,\r\n ComputeDeep,\r\n Compute,\r\n OptionalFlat,\r\n ReadonlyDeep,\r\n Narrowable,\r\n Narrow,\r\n Exact,\r\n Cast,\r\n Record_2 as Record,\r\n UnwrapPromise,\r\n UnwrapTuple,\r\n Path,\r\n Fn,\r\n Call,\r\n RequiredKeys,\r\n OptionalKeys,\r\n Optional,\r\n Return,\r\n ToTuple,\r\n RenameAndNestPayloadKeys,\r\n PayloadToResult,\r\n Select,\r\n Equals,\r\n Or,\r\n JsPromise\r\n }\r\n}\r\n\r\ndeclare function validator<V>(): <S>(select: Exact<S, V>) => S;\r\n\r\ndeclare function validator<C, M extends Exclude<keyof C, `$${string}`>, O extends keyof C[M] & Operation>(client: C, model: M, operation: O): <S>(select: Exact<S, Args<C[M], O>>) => S;\r\n\r\ndeclare function validator<C, M extends Exclude<keyof C, `$${string}`>, O extends keyof C[M] & Operation, P extends keyof Args<C[M], O>>(client: C, model: M, operation: O, prop: P): <S>(select: Exact<S, Args<C[M], O>[P]>) => S;\r\n\r\n/**\r\n * Values supported by SQL engine.\r\n */\r\nexport declare type Value = unknown;\r\n\r\nexport declare function warnEnvConflicts(envPaths: any): void;\r\n\r\nexport declare const warnOnce: (key: string, message: string, ...args: unknown[]) => void;\r\n\r\nexport { }\r\n",
12562
- "node_modules/@prisma/client/runtime/wasm.d.ts": "export * from \"./library\"\n",
12564
+ "node_modules/@prisma/client/runtime/library.d.ts": "/**\r\n * @param this\r\n */\r\ndeclare function $extends(this: Client, extension: ExtensionArgs | ((client: Client) => Client)): Client;\r\n\r\ndeclare type AccelerateEngineConfig = {\r\n inlineSchema: EngineConfig['inlineSchema'];\r\n inlineSchemaHash: EngineConfig['inlineSchemaHash'];\r\n env: EngineConfig['env'];\r\n generator?: {\r\n previewFeatures: string[];\r\n };\r\n inlineDatasources: EngineConfig['inlineDatasources'];\r\n overrideDatasources: EngineConfig['overrideDatasources'];\r\n clientVersion: EngineConfig['clientVersion'];\r\n engineVersion: EngineConfig['engineVersion'];\r\n logEmitter: EngineConfig['logEmitter'];\r\n logQueries?: EngineConfig['logQueries'];\r\n logLevel?: EngineConfig['logLevel'];\r\n tracingHelper: EngineConfig['tracingHelper'];\r\n accelerateUtils?: AccelerateUtils;\r\n};\r\n\r\n/**\r\n * A stripped down interface of `fetch` that `@prisma/extension-accelerate`\r\n * relies on. It must be in sync with the corresponding definition in the\r\n * Accelerate extension.\r\n *\r\n * This is the actual interface exposed by the extension. We can't use the\r\n * custom fetch function provided by it as normal fetch because the API is\r\n * different. Notably, `headers` must be an object and not a `Headers`\r\n * instance, and `url` must be a `string` and not a `URL`.\r\n *\r\n * The return type is `Response` but we can't specify this in an exported type\r\n * because it would end up referencing external types from `@types/node` or DOM\r\n * which can fail typechecking depending on TypeScript configuration in a user's\r\n * project.\r\n */\r\ndeclare type AccelerateExtensionFetch = (url: string, options: {\r\n body?: string;\r\n method?: string;\r\n headers: Record<string, string>;\r\n}) => Promise<unknown>;\r\n\r\ndeclare type AccelerateExtensionFetchDecorator = (fetch: AccelerateExtensionFetch) => AccelerateExtensionFetch;\r\n\r\ndeclare type AccelerateUtils = EngineConfig['accelerateUtils'];\r\n\r\nexport declare type Action = keyof typeof DMMF_2.ModelAction | 'executeRaw' | 'queryRaw' | 'runCommandRaw';\r\n\r\ndeclare type ActiveConnectorType = Exclude<ConnectorType, 'postgres' | 'prisma+postgres'>;\r\n\r\n/**\r\n * An interface that exposes some basic information about the\r\n * adapter like its name and provider type.\r\n */\r\ndeclare interface AdapterInfo {\r\n readonly provider: Provider;\r\n readonly adapterName: (typeof officialPrismaAdapters)[number] | (string & {});\r\n}\r\n\r\nexport declare type Aggregate = '_count' | '_max' | '_min' | '_avg' | '_sum';\r\n\r\nexport declare type AllModelsToStringIndex<TypeMap extends TypeMapDef, Args extends Record<string, any>, K extends PropertyKey> = Args extends {\r\n [P in K]: {\r\n $allModels: infer AllModels;\r\n };\r\n} ? {\r\n [P in K]: Record<TypeMap['meta']['modelProps'], AllModels>;\r\n} : {};\r\n\r\ndeclare class AnyNull extends NullTypesEnumValue {\r\n #private;\r\n}\r\n\r\nexport declare type ApplyOmit<T, OmitConfig> = Compute<{\r\n [K in keyof T as OmitValue<OmitConfig, K> extends true ? never : K]: T[K];\r\n}>;\r\n\r\nexport declare type Args<T, F extends Operation> = T extends {\r\n [K: symbol]: {\r\n types: {\r\n operations: {\r\n [K in F]: {\r\n args: any;\r\n };\r\n };\r\n };\r\n };\r\n} ? T[symbol]['types']['operations'][F]['args'] : any;\r\n\r\nexport declare type Args_3<T, F extends Operation> = Args<T, F>;\r\n\r\ndeclare type ArgScalarType = 'string' | 'int' | 'bigint' | 'float' | 'decimal' | 'boolean' | 'enum' | 'uuid' | 'json' | 'datetime' | 'bytes' | 'unknown';\r\n\r\ndeclare type ArgType = {\r\n scalarType: ArgScalarType;\r\n dbType?: string;\r\n arity: Arity;\r\n};\r\n\r\ndeclare type Arity = 'scalar' | 'list';\r\n\r\n/**\r\n * Attributes is a map from string to attribute values.\r\n *\r\n * Note: only the own enumerable keys are counted as valid attribute keys.\r\n */\r\ndeclare interface Attributes {\r\n [attributeKey: string]: AttributeValue | undefined;\r\n}\r\n\r\n/**\r\n * Attribute values may be any non-nullish primitive value except an object.\r\n *\r\n * null or undefined attribute values are invalid and will result in undefined behavior.\r\n */\r\ndeclare type AttributeValue = string | number | boolean | Array<null | undefined | string> | Array<null | undefined | number> | Array<null | undefined | boolean>;\r\n\r\nexport declare type BaseDMMF = {\r\n readonly datamodel: Omit<DMMF_2.Datamodel, 'indexes'>;\r\n};\r\n\r\ndeclare type BatchArgs = {\r\n queries: BatchQuery[];\r\n transaction?: {\r\n isolationLevel?: IsolationLevel_2;\r\n };\r\n};\r\n\r\ndeclare type BatchInternalParams = {\r\n requests: RequestParams[];\r\n customDataProxyFetch?: AccelerateExtensionFetchDecorator;\r\n};\r\n\r\ndeclare type BatchQuery = {\r\n model: string | undefined;\r\n operation: string;\r\n args: JsArgs | RawQueryArgs;\r\n};\r\n\r\ndeclare type BatchQueryEngineResult<T> = QueryEngineResultData<T> | Error;\r\n\r\ndeclare type BatchQueryOptionsCb = (args: BatchQueryOptionsCbArgs) => Promise<any>;\r\n\r\ndeclare type BatchQueryOptionsCbArgs = {\r\n args: BatchArgs;\r\n query: (args: BatchArgs, __internalParams?: BatchInternalParams) => Promise<unknown[]>;\r\n __internalParams: BatchInternalParams;\r\n};\r\n\r\ndeclare type BatchResponse = MultiBatchResponse | CompactedBatchResponse;\r\n\r\ndeclare type BatchTransactionOptions = {\r\n isolationLevel?: Transaction_2.IsolationLevel;\r\n};\r\n\r\ndeclare interface BinaryTargetsEnvValue {\r\n fromEnvVar: string | null;\r\n value: string;\r\n native?: boolean;\r\n}\r\n\r\nexport declare type Call<F extends Fn, P> = (F & {\r\n params: P;\r\n})['returns'];\r\n\r\ndeclare interface CallSite {\r\n getLocation(): LocationInFile | null;\r\n}\r\n\r\nexport declare type Cast<A, W> = A extends W ? A : W;\r\n\r\ndeclare type Client = ReturnType<typeof getPrismaClient> extends new () => infer T ? T : never;\r\n\r\nexport declare type ClientArg = {\r\n [MethodName in string]: unknown;\r\n};\r\n\r\nexport declare type ClientArgs = {\r\n client: ClientArg;\r\n};\r\n\r\nexport declare type ClientBuiltInProp = keyof DynamicClientExtensionThisBuiltin<never, never, never>;\r\n\r\nexport declare type ClientOptionDef = undefined | {\r\n [K in string]: any;\r\n};\r\n\r\nexport declare type ClientOtherOps = {\r\n $queryRaw<T = unknown>(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise<T>;\r\n $queryRawTyped<T>(query: TypedSql<unknown[], T>): PrismaPromise<T[]>;\r\n $queryRawUnsafe<T = unknown>(query: string, ...values: any[]): PrismaPromise<T>;\r\n $executeRaw(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise<number>;\r\n $executeRawUnsafe(query: string, ...values: any[]): PrismaPromise<number>;\r\n $runCommandRaw(command: InputJsonObject): PrismaPromise<JsonObject>;\r\n};\r\n\r\ndeclare type ColumnType = (typeof ColumnTypeEnum)[keyof typeof ColumnTypeEnum];\r\n\r\ndeclare const ColumnTypeEnum: {\r\n readonly Int32: 0;\r\n readonly Int64: 1;\r\n readonly Float: 2;\r\n readonly Double: 3;\r\n readonly Numeric: 4;\r\n readonly Boolean: 5;\r\n readonly Character: 6;\r\n readonly Text: 7;\r\n readonly Date: 8;\r\n readonly Time: 9;\r\n readonly DateTime: 10;\r\n readonly Json: 11;\r\n readonly Enum: 12;\r\n readonly Bytes: 13;\r\n readonly Set: 14;\r\n readonly Uuid: 15;\r\n readonly Int32Array: 64;\r\n readonly Int64Array: 65;\r\n readonly FloatArray: 66;\r\n readonly DoubleArray: 67;\r\n readonly NumericArray: 68;\r\n readonly BooleanArray: 69;\r\n readonly CharacterArray: 70;\r\n readonly TextArray: 71;\r\n readonly DateArray: 72;\r\n readonly TimeArray: 73;\r\n readonly DateTimeArray: 74;\r\n readonly JsonArray: 75;\r\n readonly EnumArray: 76;\r\n readonly BytesArray: 77;\r\n readonly UuidArray: 78;\r\n readonly UnknownNumber: 128;\r\n};\r\n\r\ndeclare type CompactedBatchResponse = {\r\n type: 'compacted';\r\n plan: QueryPlanNode;\r\n arguments: Record<string, {}>[];\r\n nestedSelection: string[];\r\n keys: string[];\r\n expectNonEmpty: boolean;\r\n};\r\n\r\ndeclare type CompilerWasmLoadingConfig = {\r\n /**\r\n * WASM-bindgen runtime for corresponding module\r\n */\r\n getRuntime: () => Promise<{\r\n __wbg_set_wasm(exports: unknown): void;\r\n QueryCompiler: QueryCompilerConstructor;\r\n }>;\r\n /**\r\n * Loads the raw wasm module for the wasm compiler engine. This configuration is\r\n * generated specifically for each type of client, eg. Node.js client and Edge\r\n * clients will have different implementations.\r\n * @remarks this is a callback on purpose, we only load the wasm if needed.\r\n * @remarks only used by ClientEngine\r\n */\r\n getQueryCompilerWasmModule: () => Promise<unknown>;\r\n};\r\n\r\nexport declare type Compute<T> = T extends Function ? T : {\r\n [K in keyof T]: T[K];\r\n} & unknown;\r\n\r\nexport declare type ComputeDeep<T> = T extends Function ? T : {\r\n [K in keyof T]: ComputeDeep<T[K]>;\r\n} & unknown;\r\n\r\ndeclare type ComputedField = {\r\n name: string;\r\n needs: string[];\r\n compute: ResultArgsFieldCompute;\r\n};\r\n\r\ndeclare type ComputedFieldsMap = {\r\n [fieldName: string]: ComputedField;\r\n};\r\n\r\ndeclare type ConnectionInfo = {\r\n schemaName?: string;\r\n maxBindValues?: number;\r\n supportsRelationJoins: boolean;\r\n};\r\n\r\ndeclare type ConnectorType = 'mysql' | 'mongodb' | 'sqlite' | 'postgresql' | 'postgres' | 'prisma+postgres' | 'sqlserver' | 'cockroachdb';\r\n\r\ndeclare interface Context {\r\n /**\r\n * Get a value from the context.\r\n *\r\n * @param key key which identifies a context value\r\n */\r\n getValue(key: symbol): unknown;\r\n /**\r\n * Create a new context which inherits from this context and has\r\n * the given key set to the given value.\r\n *\r\n * @param key context key for which to set the value\r\n * @param value value to set for the given key\r\n */\r\n setValue(key: symbol, value: unknown): Context;\r\n /**\r\n * Return a new context which inherits from this context but does\r\n * not contain a value for the given key.\r\n *\r\n * @param key context key for which to clear a value\r\n */\r\n deleteValue(key: symbol): Context;\r\n}\r\n\r\ndeclare type Context_2<T> = T extends {\r\n [K: symbol]: {\r\n ctx: infer C;\r\n };\r\n} ? C & T & {\r\n /**\r\n * @deprecated Use `$name` instead.\r\n */\r\n name?: string;\r\n $name?: string;\r\n $parent?: unknown;\r\n} : T & {\r\n /**\r\n * @deprecated Use `$name` instead.\r\n */\r\n name?: string;\r\n $name?: string;\r\n $parent?: unknown;\r\n};\r\n\r\nexport declare type Count<O> = {\r\n [K in keyof O]: Count<number>;\r\n} & {};\r\n\r\nexport declare function createParam(name: string): Param<unknown, string>;\r\n\r\ndeclare class DataLoader<T = unknown> {\r\n private options;\r\n batches: {\r\n [key: string]: Job[];\r\n };\r\n private tickActive;\r\n constructor(options: DataLoaderOptions<T>);\r\n request(request: T): Promise<any>;\r\n private dispatchBatches;\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\ndeclare type DataLoaderOptions<T> = {\r\n singleLoader: (request: T) => Promise<any>;\r\n batchLoader: (request: T[]) => Promise<any[]>;\r\n batchBy: (request: T) => string | undefined;\r\n batchOrder: (requestA: T, requestB: T) => number;\r\n};\r\n\r\ndeclare type Datamodel = ReadonlyDeep_2<{\r\n models: Model[];\r\n enums: DatamodelEnum[];\r\n types: Model[];\r\n indexes: Index[];\r\n}>;\r\n\r\ndeclare type DatamodelEnum = ReadonlyDeep_2<{\r\n name: string;\r\n values: EnumValue[];\r\n dbName?: string | null;\r\n documentation?: string;\r\n}>;\r\n\r\ndeclare function datamodelEnumToSchemaEnum(datamodelEnum: DatamodelEnum): SchemaEnum;\r\n\r\ndeclare type DataRule = {\r\n type: 'rowCountEq';\r\n args: number;\r\n} | {\r\n type: 'rowCountNeq';\r\n args: number;\r\n} | {\r\n type: 'affectedRowCountEq';\r\n args: number;\r\n} | {\r\n type: 'never';\r\n};\r\n\r\ndeclare type Datasource = {\r\n url?: string;\r\n};\r\n\r\ndeclare type Datasources = {\r\n [name in string]: Datasource;\r\n};\r\n\r\ndeclare class DbNull extends NullTypesEnumValue {\r\n #private;\r\n}\r\n\r\nexport declare const Debug: typeof debugCreate & {\r\n enable(namespace: any): void;\r\n disable(): any;\r\n enabled(namespace: string): boolean;\r\n log: (...args: string[]) => void;\r\n formatters: {};\r\n};\r\n\r\n/**\r\n * Create a new debug instance with the given namespace.\r\n *\r\n * @example\r\n * ```ts\r\n * import Debug from '@prisma/debug'\r\n * const debug = Debug('prisma:client')\r\n * debug('Hello World')\r\n * ```\r\n */\r\ndeclare function debugCreate(namespace: string): ((...args: any[]) => void) & {\r\n color: string;\r\n enabled: boolean;\r\n namespace: string;\r\n log: (...args: string[]) => void;\r\n extend: () => void;\r\n};\r\n\r\nexport declare function Decimal(n: Decimal.Value): Decimal;\r\n\r\nexport declare namespace Decimal {\r\n export type Constructor = typeof Decimal;\r\n export type Instance = Decimal;\r\n export type Rounding = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;\r\n export type Modulo = Rounding | 9;\r\n export type Value = string | number | Decimal;\r\n\r\n // http://mikemcl.github.io/decimal.js/#constructor-properties\r\n export interface Config {\r\n precision?: number;\r\n rounding?: Rounding;\r\n toExpNeg?: number;\r\n toExpPos?: number;\r\n minE?: number;\r\n maxE?: number;\r\n crypto?: boolean;\r\n modulo?: Modulo;\r\n defaults?: boolean;\r\n }\r\n}\r\n\r\nexport declare class Decimal {\r\n readonly d: number[];\r\n readonly e: number;\r\n readonly s: number;\r\n\r\n constructor(n: Decimal.Value);\r\n\r\n absoluteValue(): Decimal;\r\n abs(): Decimal;\r\n\r\n ceil(): Decimal;\r\n\r\n clampedTo(min: Decimal.Value, max: Decimal.Value): Decimal;\r\n clamp(min: Decimal.Value, max: Decimal.Value): Decimal;\r\n\r\n comparedTo(n: Decimal.Value): number;\r\n cmp(n: Decimal.Value): number;\r\n\r\n cosine(): Decimal;\r\n cos(): Decimal;\r\n\r\n cubeRoot(): Decimal;\r\n cbrt(): Decimal;\r\n\r\n decimalPlaces(): number;\r\n dp(): number;\r\n\r\n dividedBy(n: Decimal.Value): Decimal;\r\n div(n: Decimal.Value): Decimal;\r\n\r\n dividedToIntegerBy(n: Decimal.Value): Decimal;\r\n divToInt(n: Decimal.Value): Decimal;\r\n\r\n equals(n: Decimal.Value): boolean;\r\n eq(n: Decimal.Value): boolean;\r\n\r\n floor(): Decimal;\r\n\r\n greaterThan(n: Decimal.Value): boolean;\r\n gt(n: Decimal.Value): boolean;\r\n\r\n greaterThanOrEqualTo(n: Decimal.Value): boolean;\r\n gte(n: Decimal.Value): boolean;\r\n\r\n hyperbolicCosine(): Decimal;\r\n cosh(): Decimal;\r\n\r\n hyperbolicSine(): Decimal;\r\n sinh(): Decimal;\r\n\r\n hyperbolicTangent(): Decimal;\r\n tanh(): Decimal;\r\n\r\n inverseCosine(): Decimal;\r\n acos(): Decimal;\r\n\r\n inverseHyperbolicCosine(): Decimal;\r\n acosh(): Decimal;\r\n\r\n inverseHyperbolicSine(): Decimal;\r\n asinh(): Decimal;\r\n\r\n inverseHyperbolicTangent(): Decimal;\r\n atanh(): Decimal;\r\n\r\n inverseSine(): Decimal;\r\n asin(): Decimal;\r\n\r\n inverseTangent(): Decimal;\r\n atan(): Decimal;\r\n\r\n isFinite(): boolean;\r\n\r\n isInteger(): boolean;\r\n isInt(): boolean;\r\n\r\n isNaN(): boolean;\r\n\r\n isNegative(): boolean;\r\n isNeg(): boolean;\r\n\r\n isPositive(): boolean;\r\n isPos(): boolean;\r\n\r\n isZero(): boolean;\r\n\r\n lessThan(n: Decimal.Value): boolean;\r\n lt(n: Decimal.Value): boolean;\r\n\r\n lessThanOrEqualTo(n: Decimal.Value): boolean;\r\n lte(n: Decimal.Value): boolean;\r\n\r\n logarithm(n?: Decimal.Value): Decimal;\r\n log(n?: Decimal.Value): Decimal;\r\n\r\n minus(n: Decimal.Value): Decimal;\r\n sub(n: Decimal.Value): Decimal;\r\n\r\n modulo(n: Decimal.Value): Decimal;\r\n mod(n: Decimal.Value): Decimal;\r\n\r\n naturalExponential(): Decimal;\r\n exp(): Decimal;\r\n\r\n naturalLogarithm(): Decimal;\r\n ln(): Decimal;\r\n\r\n negated(): Decimal;\r\n neg(): Decimal;\r\n\r\n plus(n: Decimal.Value): Decimal;\r\n add(n: Decimal.Value): Decimal;\r\n\r\n precision(includeZeros?: boolean): number;\r\n sd(includeZeros?: boolean): number;\r\n\r\n round(): Decimal;\r\n\r\n sine() : Decimal;\r\n sin() : Decimal;\r\n\r\n squareRoot(): Decimal;\r\n sqrt(): Decimal;\r\n\r\n tangent() : Decimal;\r\n tan() : Decimal;\r\n\r\n times(n: Decimal.Value): Decimal;\r\n mul(n: Decimal.Value) : Decimal;\r\n\r\n toBinary(significantDigits?: number): string;\r\n toBinary(significantDigits: number, rounding: Decimal.Rounding): string;\r\n\r\n toDecimalPlaces(decimalPlaces?: number): Decimal;\r\n toDecimalPlaces(decimalPlaces: number, rounding: Decimal.Rounding): Decimal;\r\n toDP(decimalPlaces?: number): Decimal;\r\n toDP(decimalPlaces: number, rounding: Decimal.Rounding): Decimal;\r\n\r\n toExponential(decimalPlaces?: number): string;\r\n toExponential(decimalPlaces: number, rounding: Decimal.Rounding): string;\r\n\r\n toFixed(decimalPlaces?: number): string;\r\n toFixed(decimalPlaces: number, rounding: Decimal.Rounding): string;\r\n\r\n toFraction(max_denominator?: Decimal.Value): Decimal[];\r\n\r\n toHexadecimal(significantDigits?: number): string;\r\n toHexadecimal(significantDigits: number, rounding: Decimal.Rounding): string;\r\n toHex(significantDigits?: number): string;\r\n toHex(significantDigits: number, rounding?: Decimal.Rounding): string;\r\n\r\n toJSON(): string;\r\n\r\n toNearest(n: Decimal.Value, rounding?: Decimal.Rounding): Decimal;\r\n\r\n toNumber(): number;\r\n\r\n toOctal(significantDigits?: number): string;\r\n toOctal(significantDigits: number, rounding: Decimal.Rounding): string;\r\n\r\n toPower(n: Decimal.Value): Decimal;\r\n pow(n: Decimal.Value): Decimal;\r\n\r\n toPrecision(significantDigits?: number): string;\r\n toPrecision(significantDigits: number, rounding: Decimal.Rounding): string;\r\n\r\n toSignificantDigits(significantDigits?: number): Decimal;\r\n toSignificantDigits(significantDigits: number, rounding: Decimal.Rounding): Decimal;\r\n toSD(significantDigits?: number): Decimal;\r\n toSD(significantDigits: number, rounding: Decimal.Rounding): Decimal;\r\n\r\n toString(): string;\r\n\r\n truncated(): Decimal;\r\n trunc(): Decimal;\r\n\r\n valueOf(): string;\r\n\r\n static abs(n: Decimal.Value): Decimal;\r\n static acos(n: Decimal.Value): Decimal;\r\n static acosh(n: Decimal.Value): Decimal;\r\n static add(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static asin(n: Decimal.Value): Decimal;\r\n static asinh(n: Decimal.Value): Decimal;\r\n static atan(n: Decimal.Value): Decimal;\r\n static atanh(n: Decimal.Value): Decimal;\r\n static atan2(y: Decimal.Value, x: Decimal.Value): Decimal;\r\n static cbrt(n: Decimal.Value): Decimal;\r\n static ceil(n: Decimal.Value): Decimal;\r\n static clamp(n: Decimal.Value, min: Decimal.Value, max: Decimal.Value): Decimal;\r\n static clone(object?: Decimal.Config): Decimal.Constructor;\r\n static config(object: Decimal.Config): Decimal.Constructor;\r\n static cos(n: Decimal.Value): Decimal;\r\n static cosh(n: Decimal.Value): Decimal;\r\n static div(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static exp(n: Decimal.Value): Decimal;\r\n static floor(n: Decimal.Value): Decimal;\r\n static hypot(...n: Decimal.Value[]): Decimal;\r\n static isDecimal(object: any): object is Decimal;\r\n static ln(n: Decimal.Value): Decimal;\r\n static log(n: Decimal.Value, base?: Decimal.Value): Decimal;\r\n static log2(n: Decimal.Value): Decimal;\r\n static log10(n: Decimal.Value): Decimal;\r\n static max(...n: Decimal.Value[]): Decimal;\r\n static min(...n: Decimal.Value[]): Decimal;\r\n static mod(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static mul(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static noConflict(): Decimal.Constructor; // Browser only\r\n static pow(base: Decimal.Value, exponent: Decimal.Value): Decimal;\r\n static random(significantDigits?: number): Decimal;\r\n static round(n: Decimal.Value): Decimal;\r\n static set(object: Decimal.Config): Decimal.Constructor;\r\n static sign(n: Decimal.Value): number;\r\n static sin(n: Decimal.Value): Decimal;\r\n static sinh(n: Decimal.Value): Decimal;\r\n static sqrt(n: Decimal.Value): Decimal;\r\n static sub(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static sum(...n: Decimal.Value[]): Decimal;\r\n static tan(n: Decimal.Value): Decimal;\r\n static tanh(n: Decimal.Value): Decimal;\r\n static trunc(n: Decimal.Value): Decimal;\r\n\r\n static readonly default?: Decimal.Constructor;\r\n static readonly Decimal?: Decimal.Constructor;\r\n\r\n static readonly precision: number;\r\n static readonly rounding: Decimal.Rounding;\r\n static readonly toExpNeg: number;\r\n static readonly toExpPos: number;\r\n static readonly minE: number;\r\n static readonly maxE: number;\r\n static readonly crypto: boolean;\r\n static readonly modulo: Decimal.Modulo;\r\n\r\n static readonly ROUND_UP: 0;\r\n static readonly ROUND_DOWN: 1;\r\n static readonly ROUND_CEIL: 2;\r\n static readonly ROUND_FLOOR: 3;\r\n static readonly ROUND_HALF_UP: 4;\r\n static readonly ROUND_HALF_DOWN: 5;\r\n static readonly ROUND_HALF_EVEN: 6;\r\n static readonly ROUND_HALF_CEIL: 7;\r\n static readonly ROUND_HALF_FLOOR: 8;\r\n static readonly EUCLID: 9;\r\n}\r\n\r\n/**\r\n * Interface for any Decimal.js-like library\r\n * Allows us to accept Decimal.js from different\r\n * versions and some compatible alternatives\r\n */\r\nexport declare interface DecimalJsLike {\r\n d: number[];\r\n e: number;\r\n s: number;\r\n toFixed(): string;\r\n}\r\n\r\nexport declare type DefaultArgs = InternalArgs<{}, {}, {}, {}>;\r\n\r\nexport declare type DefaultSelection<Payload extends OperationPayload, Args = {}, GlobalOmitOptions = {}> = Args extends {\r\n omit: infer LocalOmit;\r\n} ? ApplyOmit<UnwrapPayload<{\r\n default: Payload;\r\n}>['default'], PatchFlat<LocalOmit, ExtractGlobalOmit<GlobalOmitOptions, Uncapitalize<Payload['name']>>>> : ApplyOmit<UnwrapPayload<{\r\n default: Payload;\r\n}>['default'], ExtractGlobalOmit<GlobalOmitOptions, Uncapitalize<Payload['name']>>>;\r\n\r\nexport declare function defineDmmfProperty(target: object, runtimeDataModel: RuntimeDataModel): void;\r\n\r\ndeclare function defineExtension(ext: ExtensionArgs | ((client: Client) => Client)): (client: Client) => Client;\r\n\r\ndeclare const denylist: readonly [\"$connect\", \"$disconnect\", \"$on\", \"$transaction\", \"$extends\"];\r\n\r\ndeclare type Deprecation = ReadonlyDeep_2<{\r\n sinceVersion: string;\r\n reason: string;\r\n plannedRemovalVersion?: string;\r\n}>;\r\n\r\ndeclare type DeserializedResponse = Array<Record<string, unknown>>;\r\n\r\nexport declare function deserializeJsonResponse(result: unknown): unknown;\r\n\r\nexport declare function deserializeRawResult(response: RawResponse): DeserializedResponse;\r\n\r\nexport declare type DevTypeMapDef = {\r\n meta: {\r\n modelProps: string;\r\n };\r\n model: {\r\n [Model in PropertyKey]: {\r\n [Operation in PropertyKey]: DevTypeMapFnDef;\r\n };\r\n };\r\n other: {\r\n [Operation in PropertyKey]: DevTypeMapFnDef;\r\n };\r\n};\r\n\r\nexport declare type DevTypeMapFnDef = {\r\n args: any;\r\n result: any;\r\n payload: OperationPayload;\r\n};\r\n\r\nexport declare namespace DMMF {\r\n export {\r\n datamodelEnumToSchemaEnum,\r\n Document_2 as Document,\r\n Mappings,\r\n OtherOperationMappings,\r\n DatamodelEnum,\r\n SchemaEnum,\r\n EnumValue,\r\n Datamodel,\r\n uniqueIndex,\r\n PrimaryKey,\r\n Model,\r\n FieldKind,\r\n FieldNamespace,\r\n FieldLocation,\r\n Field,\r\n FieldDefault,\r\n FieldDefaultScalar,\r\n Index,\r\n IndexType,\r\n IndexField,\r\n SortOrder,\r\n Schema,\r\n Query,\r\n QueryOutput,\r\n TypeRef,\r\n InputTypeRef,\r\n SchemaArg,\r\n OutputType,\r\n SchemaField,\r\n OutputTypeRef,\r\n Deprecation,\r\n InputType,\r\n FieldRefType,\r\n FieldRefAllowType,\r\n ModelMapping,\r\n ModelAction\r\n }\r\n}\r\n\r\ndeclare namespace DMMF_2 {\r\n export {\r\n datamodelEnumToSchemaEnum,\r\n Document_2 as Document,\r\n Mappings,\r\n OtherOperationMappings,\r\n DatamodelEnum,\r\n SchemaEnum,\r\n EnumValue,\r\n Datamodel,\r\n uniqueIndex,\r\n PrimaryKey,\r\n Model,\r\n FieldKind,\r\n FieldNamespace,\r\n FieldLocation,\r\n Field,\r\n FieldDefault,\r\n FieldDefaultScalar,\r\n Index,\r\n IndexType,\r\n IndexField,\r\n SortOrder,\r\n Schema,\r\n Query,\r\n QueryOutput,\r\n TypeRef,\r\n InputTypeRef,\r\n SchemaArg,\r\n OutputType,\r\n SchemaField,\r\n OutputTypeRef,\r\n Deprecation,\r\n InputType,\r\n FieldRefType,\r\n FieldRefAllowType,\r\n ModelMapping,\r\n ModelAction\r\n }\r\n}\r\n\r\nexport declare function dmmfToRuntimeDataModel(dmmfDataModel: DMMF_2.Datamodel): RuntimeDataModel;\r\n\r\ndeclare type Document_2 = ReadonlyDeep_2<{\r\n datamodel: Datamodel;\r\n schema: Schema;\r\n mappings: Mappings;\r\n}>;\r\n\r\n/**\r\n * A generic driver adapter factory that allows the user to instantiate a\r\n * driver adapter. The query and result types are specific to the adapter.\r\n */\r\ndeclare interface DriverAdapterFactory<Query, Result> extends AdapterInfo {\r\n /**\r\n * Instantiate a driver adapter.\r\n */\r\n connect(): Promise<Queryable<Query, Result>>;\r\n}\r\n\r\ndeclare type DynamicArgType = ArgType | {\r\n arity: 'tuple';\r\n elements: ArgType[];\r\n};\r\n\r\n/** Client */\r\nexport declare type DynamicClientExtensionArgs<C_, TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {\r\n [P in keyof C_]: unknown;\r\n} & {\r\n [K: symbol]: {\r\n ctx: Optional<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList> & {\r\n $parent: Optional<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList>;\r\n };\r\n };\r\n};\r\n\r\nexport declare type DynamicClientExtensionThis<TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {\r\n [P in keyof ExtArgs['client']]: Return<ExtArgs['client'][P]>;\r\n} & {\r\n [P in Exclude<TypeMap['meta']['modelProps'], keyof ExtArgs['client']>]: DynamicModelExtensionThis<TypeMap, ModelKey<TypeMap, P>, ExtArgs>;\r\n} & {\r\n [P in Exclude<keyof TypeMap['other']['operations'], keyof ExtArgs['client']>]: P extends keyof ClientOtherOps ? ClientOtherOps[P] : never;\r\n} & {\r\n [P in Exclude<ClientBuiltInProp, keyof ExtArgs['client']>]: DynamicClientExtensionThisBuiltin<TypeMap, TypeMapCb, ExtArgs>[P];\r\n} & {\r\n [K: symbol]: {\r\n types: TypeMap['other'];\r\n };\r\n};\r\n\r\nexport declare type DynamicClientExtensionThisBuiltin<TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {\r\n $extends: ExtendsHook<'extends', TypeMapCb, ExtArgs, Call<TypeMapCb, {\r\n extArgs: ExtArgs;\r\n }>>;\r\n $transaction<P extends PrismaPromise<any>[]>(arg: [...P], options?: {\r\n isolationLevel?: TypeMap['meta']['txIsolationLevel'];\r\n }): Promise<UnwrapTuple<P>>;\r\n $transaction<R>(fn: (client: Omit<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList>) => Promise<R>, options?: {\r\n maxWait?: number;\r\n timeout?: number;\r\n isolationLevel?: TypeMap['meta']['txIsolationLevel'];\r\n }): Promise<R>;\r\n $disconnect(): Promise<void>;\r\n $connect(): Promise<void>;\r\n};\r\n\r\n/** Model */\r\nexport declare type DynamicModelExtensionArgs<M_, TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {\r\n [K in keyof M_]: K extends '$allModels' ? {\r\n [P in keyof M_[K]]?: unknown;\r\n } & {\r\n [K: symbol]: {};\r\n } : K extends TypeMap['meta']['modelProps'] ? {\r\n [P in keyof M_[K]]?: unknown;\r\n } & {\r\n [K: symbol]: {\r\n ctx: DynamicModelExtensionThis<TypeMap, ModelKey<TypeMap, K>, ExtArgs> & {\r\n $parent: DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>;\r\n } & {\r\n $name: ModelKey<TypeMap, K>;\r\n } & {\r\n /**\r\n * @deprecated Use `$name` instead.\r\n */\r\n name: ModelKey<TypeMap, K>;\r\n };\r\n };\r\n } : never;\r\n};\r\n\r\nexport declare type DynamicModelExtensionFluentApi<TypeMap extends TypeMapDef, M extends PropertyKey, P extends PropertyKey, Null> = {\r\n [K in keyof TypeMap['model'][M]['payload']['objects']]: <A>(args?: Exact<A, Path<TypeMap['model'][M]['operations'][P]['args']['select'], [K]>>) => PrismaPromise<Path<DynamicModelExtensionFnResultBase<TypeMap, M, {\r\n select: {\r\n [P in K]: A;\r\n };\r\n }, P>, [K]> | Null> & DynamicModelExtensionFluentApi<TypeMap, (TypeMap['model'][M]['payload']['objects'][K] & {})['name'], P, Null | Select<TypeMap['model'][M]['payload']['objects'][K], null>>;\r\n};\r\n\r\nexport declare type DynamicModelExtensionFnResult<TypeMap extends TypeMapDef, M extends PropertyKey, A, P extends PropertyKey, Null> = P extends FluentOperation ? DynamicModelExtensionFluentApi<TypeMap, M, P, Null> & PrismaPromise<DynamicModelExtensionFnResultBase<TypeMap, M, A, P> | Null> : PrismaPromise<DynamicModelExtensionFnResultBase<TypeMap, M, A, P>>;\r\n\r\nexport declare type DynamicModelExtensionFnResultBase<TypeMap extends TypeMapDef, M extends PropertyKey, A, P extends PropertyKey> = GetResult<TypeMap['model'][M]['payload'], A, P & Operation, TypeMap['globalOmitOptions']>;\r\n\r\nexport declare type DynamicModelExtensionFnResultNull<P extends PropertyKey> = P extends 'findUnique' | 'findFirst' ? null : never;\r\n\r\nexport declare type DynamicModelExtensionOperationFn<TypeMap extends TypeMapDef, M extends PropertyKey, P extends PropertyKey> = {} extends TypeMap['model'][M]['operations'][P]['args'] ? <A extends TypeMap['model'][M]['operations'][P]['args']>(args?: Exact<A, TypeMap['model'][M]['operations'][P]['args']>) => DynamicModelExtensionFnResult<TypeMap, M, A, P, DynamicModelExtensionFnResultNull<P>> : <A extends TypeMap['model'][M]['operations'][P]['args']>(args: Exact<A, TypeMap['model'][M]['operations'][P]['args']>) => DynamicModelExtensionFnResult<TypeMap, M, A, P, DynamicModelExtensionFnResultNull<P>>;\r\n\r\nexport declare type DynamicModelExtensionThis<TypeMap extends TypeMapDef, M extends PropertyKey, ExtArgs extends Record<string, any>> = {\r\n [P in keyof ExtArgs['model'][Uncapitalize<M & string>]]: Return<ExtArgs['model'][Uncapitalize<M & string>][P]>;\r\n} & {\r\n [P in Exclude<keyof TypeMap['model'][M]['operations'], keyof ExtArgs['model'][Uncapitalize<M & string>]>]: DynamicModelExtensionOperationFn<TypeMap, M, P>;\r\n} & {\r\n [P in Exclude<'fields', keyof ExtArgs['model'][Uncapitalize<M & string>]>]: TypeMap['model'][M]['fields'];\r\n} & {\r\n [K: symbol]: {\r\n types: TypeMap['model'][M];\r\n };\r\n};\r\n\r\n/** Query */\r\nexport declare type DynamicQueryExtensionArgs<Q_, TypeMap extends TypeMapDef> = {\r\n [K in keyof Q_]: K extends '$allOperations' ? (args: {\r\n model?: string;\r\n operation: string;\r\n args: any;\r\n query: (args: any) => PrismaPromise<any>;\r\n }) => Promise<any> : K extends '$allModels' ? {\r\n [P in keyof Q_[K] | keyof TypeMap['model'][keyof TypeMap['model']]['operations'] | '$allOperations']?: P extends '$allOperations' ? DynamicQueryExtensionCb<TypeMap, 'model', keyof TypeMap['model'], keyof TypeMap['model'][keyof TypeMap['model']]['operations']> : P extends keyof TypeMap['model'][keyof TypeMap['model']]['operations'] ? DynamicQueryExtensionCb<TypeMap, 'model', keyof TypeMap['model'], P> : never;\r\n } : K extends TypeMap['meta']['modelProps'] ? {\r\n [P in keyof Q_[K] | keyof TypeMap['model'][ModelKey<TypeMap, K>]['operations'] | '$allOperations']?: P extends '$allOperations' ? DynamicQueryExtensionCb<TypeMap, 'model', ModelKey<TypeMap, K>, keyof TypeMap['model'][ModelKey<TypeMap, K>]['operations']> : P extends keyof TypeMap['model'][ModelKey<TypeMap, K>]['operations'] ? DynamicQueryExtensionCb<TypeMap, 'model', ModelKey<TypeMap, K>, P> : never;\r\n } : K extends keyof TypeMap['other']['operations'] ? DynamicQueryExtensionCb<[TypeMap], 0, 'other', K> : never;\r\n};\r\n\r\nexport declare type DynamicQueryExtensionCb<TypeMap extends TypeMapDef, _0 extends PropertyKey, _1 extends PropertyKey, _2 extends PropertyKey> = <A extends DynamicQueryExtensionCbArgs<TypeMap, _0, _1, _2>>(args: A) => Promise<TypeMap[_0][_1][_2]['result']>;\r\n\r\nexport declare type DynamicQueryExtensionCbArgs<TypeMap extends TypeMapDef, _0 extends PropertyKey, _1 extends PropertyKey, _2 extends PropertyKey> = (_1 extends unknown ? _2 extends unknown ? {\r\n args: DynamicQueryExtensionCbArgsArgs<TypeMap, _0, _1, _2>;\r\n model: _0 extends 0 ? undefined : _1;\r\n operation: _2;\r\n query: <A extends DynamicQueryExtensionCbArgsArgs<TypeMap, _0, _1, _2>>(args: A) => PrismaPromise<TypeMap[_0][_1]['operations'][_2]['result']>;\r\n} : never : never) & {\r\n query: (args: DynamicQueryExtensionCbArgsArgs<TypeMap, _0, _1, _2>) => PrismaPromise<TypeMap[_0][_1]['operations'][_2]['result']>;\r\n};\r\n\r\nexport declare type DynamicQueryExtensionCbArgsArgs<TypeMap extends TypeMapDef, _0 extends PropertyKey, _1 extends PropertyKey, _2 extends PropertyKey> = _2 extends '$queryRaw' | '$executeRaw' ? Sql : TypeMap[_0][_1]['operations'][_2]['args'];\r\n\r\n/** Result */\r\nexport declare type DynamicResultExtensionArgs<R_, TypeMap extends TypeMapDef> = {\r\n [K in keyof R_]: {\r\n [P in keyof R_[K]]?: {\r\n needs?: DynamicResultExtensionNeeds<TypeMap, ModelKey<TypeMap, K>, R_[K][P]>;\r\n compute(data: DynamicResultExtensionData<TypeMap, ModelKey<TypeMap, K>, R_[K][P]>): any;\r\n };\r\n };\r\n};\r\n\r\nexport declare type DynamicResultExtensionData<TypeMap extends TypeMapDef, M extends PropertyKey, S> = GetFindResult<TypeMap['model'][M]['payload'], {\r\n select: S;\r\n}, {}>;\r\n\r\nexport declare type DynamicResultExtensionNeeds<TypeMap extends TypeMapDef, M extends PropertyKey, S> = {\r\n [K in keyof S]: K extends keyof TypeMap['model'][M]['payload']['scalars'] ? S[K] : never;\r\n} & {\r\n [N in keyof TypeMap['model'][M]['payload']['scalars']]?: boolean;\r\n};\r\n\r\n/**\r\n * Placeholder value for \"no text\".\r\n */\r\nexport declare const empty: Sql;\r\n\r\nexport declare type EmptyToUnknown<T> = T;\r\n\r\ndeclare interface Engine<InteractiveTransactionPayload = unknown> {\r\n /** The name of the engine. This is meant to be consumed externally */\r\n readonly name: string;\r\n onBeforeExit(callback: () => Promise<void>): void;\r\n start(): Promise<void>;\r\n stop(): Promise<void>;\r\n version(forceRun?: boolean): Promise<string> | string;\r\n request<T>(query: JsonQuery, options: RequestOptions<InteractiveTransactionPayload>): Promise<QueryEngineResultData<T>>;\r\n requestBatch<T>(queries: JsonQuery[], options: RequestBatchOptions<InteractiveTransactionPayload>): Promise<BatchQueryEngineResult<T>[]>;\r\n transaction(action: 'start', headers: Transaction_2.TransactionHeaders, options: Transaction_2.Options): Promise<Transaction_2.InteractiveTransactionInfo<unknown>>;\r\n transaction(action: 'commit', headers: Transaction_2.TransactionHeaders, info: Transaction_2.InteractiveTransactionInfo<unknown>): Promise<void>;\r\n transaction(action: 'rollback', headers: Transaction_2.TransactionHeaders, info: Transaction_2.InteractiveTransactionInfo<unknown>): Promise<void>;\r\n metrics(options: MetricsOptionsJson): Promise<Metrics>;\r\n metrics(options: MetricsOptionsPrometheus): Promise<string>;\r\n applyPendingMigrations(): Promise<void>;\r\n}\r\n\r\ndeclare interface EngineConfig {\r\n cwd: string;\r\n dirname: string;\r\n enableDebugLogs?: boolean;\r\n allowTriggerPanic?: boolean;\r\n prismaPath?: string;\r\n generator?: GeneratorConfig;\r\n /**\r\n * @remarks this field is used internally by Policy, do not rename or remove\r\n */\r\n overrideDatasources: Datasources;\r\n showColors?: boolean;\r\n logQueries?: boolean;\r\n logLevel?: 'info' | 'warn';\r\n env: Record<string, string>;\r\n flags?: string[];\r\n clientVersion: string;\r\n engineVersion: string;\r\n previewFeatures?: string[];\r\n engineEndpoint?: string;\r\n activeProvider?: string;\r\n logEmitter: LogEmitter;\r\n transactionOptions: Transaction_2.Options;\r\n /**\r\n * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-planetscale`.\r\n * If set, this is only used in the library engine, and all queries would be performed through it,\r\n * rather than Prisma's Rust drivers.\r\n * @remarks only used by LibraryEngine.ts\r\n */\r\n adapter?: SqlDriverAdapterFactory;\r\n /**\r\n * The contents of the schema encoded into a string\r\n */\r\n inlineSchema: string;\r\n /**\r\n * The contents of the datasource url saved in a string\r\n * @remarks only used by DataProxyEngine.ts\r\n * @remarks this field is used internally by Policy, do not rename or remove\r\n */\r\n inlineDatasources: GetPrismaClientConfig['inlineDatasources'];\r\n /**\r\n * The string hash that was produced for a given schema\r\n * @remarks only used by DataProxyEngine.ts\r\n */\r\n inlineSchemaHash: string;\r\n /**\r\n * The helper for interaction with OTEL tracing\r\n * @remarks enabling is determined by the client and @prisma/instrumentation package\r\n */\r\n tracingHelper: TracingHelper;\r\n /**\r\n * Information about whether we have not found a schema.prisma file in the\r\n * default location, and that we fell back to finding the schema.prisma file\r\n * in the current working directory. This usually means it has been bundled.\r\n */\r\n isBundled?: boolean;\r\n /**\r\n * Web Assembly module loading configuration\r\n */\r\n engineWasm?: EngineWasmLoadingConfig;\r\n compilerWasm?: CompilerWasmLoadingConfig;\r\n /**\r\n * Allows Accelerate to use runtime utilities from the client. These are\r\n * necessary for the AccelerateEngine to function correctly.\r\n */\r\n accelerateUtils?: {\r\n resolveDatasourceUrl: typeof resolveDatasourceUrl;\r\n getBatchRequestPayload: typeof getBatchRequestPayload;\r\n prismaGraphQLToJSError: typeof prismaGraphQLToJSError;\r\n PrismaClientUnknownRequestError: typeof PrismaClientUnknownRequestError;\r\n PrismaClientInitializationError: typeof PrismaClientInitializationError;\r\n PrismaClientKnownRequestError: typeof PrismaClientKnownRequestError;\r\n debug: (...args: any[]) => void;\r\n engineVersion: string;\r\n clientVersion: string;\r\n };\r\n}\r\n\r\ndeclare type EngineEvent<E extends EngineEventType> = E extends QueryEventType ? QueryEvent : LogEvent;\r\n\r\ndeclare type EngineEventType = QueryEventType | LogEventType;\r\n\r\ndeclare type EngineSpan = {\r\n id: EngineSpanId;\r\n parentId: string | null;\r\n name: string;\r\n startTime: HrTime;\r\n endTime: HrTime;\r\n kind: EngineSpanKind;\r\n attributes?: Record<string, unknown>;\r\n links?: EngineSpanId[];\r\n};\r\n\r\ndeclare type EngineSpanId = string;\r\n\r\ndeclare type EngineSpanKind = 'client' | 'internal';\r\n\r\ndeclare type EngineWasmLoadingConfig = {\r\n /**\r\n * WASM-bindgen runtime for corresponding module\r\n */\r\n getRuntime: () => Promise<{\r\n __wbg_set_wasm(exports: unknown): void;\r\n QueryEngine: QueryEngineConstructor;\r\n }>;\r\n /**\r\n * Loads the raw wasm module for the wasm query engine. This configuration is\r\n * generated specifically for each type of client, eg. Node.js client and Edge\r\n * clients will have different implementations.\r\n * @remarks this is a callback on purpose, we only load the wasm if needed.\r\n * @remarks only used by LibraryEngine\r\n */\r\n getQueryEngineWasmModule: () => Promise<unknown>;\r\n};\r\n\r\ndeclare type EnumValue = ReadonlyDeep_2<{\r\n name: string;\r\n dbName: string | null;\r\n}>;\r\n\r\ndeclare type EnvPaths = {\r\n rootEnvPath: string | null;\r\n schemaEnvPath: string | undefined;\r\n};\r\n\r\ndeclare interface EnvValue {\r\n fromEnvVar: null | string;\r\n value: null | string;\r\n}\r\n\r\nexport declare type Equals<A, B> = (<T>() => T extends A ? 1 : 2) extends (<T>() => T extends B ? 1 : 2) ? 1 : 0;\r\n\r\ndeclare type Error_2 = MappedError & {\r\n originalCode?: string;\r\n originalMessage?: string;\r\n};\r\n\r\ndeclare type ErrorCapturingFunction<T> = T extends (...args: infer A) => Promise<infer R> ? (...args: A) => Promise<Result_4<ErrorCapturingInterface<R>>> : T extends (...args: infer A) => infer R ? (...args: A) => Result_4<ErrorCapturingInterface<R>> : T;\r\n\r\ndeclare type ErrorCapturingInterface<T> = {\r\n [K in keyof T]: ErrorCapturingFunction<T[K]>;\r\n};\r\n\r\ndeclare interface ErrorCapturingSqlDriverAdapter extends ErrorCapturingInterface<SqlDriverAdapter> {\r\n readonly errorRegistry: ErrorRegistry;\r\n}\r\n\r\ndeclare type ErrorFormat = 'pretty' | 'colorless' | 'minimal';\r\n\r\ndeclare type ErrorRecord = {\r\n error: unknown;\r\n};\r\n\r\ndeclare interface ErrorRegistry {\r\n consumeError(id: number): ErrorRecord | undefined;\r\n}\r\n\r\ndeclare interface ErrorWithBatchIndex {\r\n batchRequestIdx?: number;\r\n}\r\n\r\ndeclare type EventCallback<E extends ExtendedEventType> = [E] extends ['beforeExit'] ? () => Promise<void> : [E] extends [LogLevel] ? (event: EngineEvent<E>) => void : never;\r\n\r\nexport declare type Exact<A, W> = (A extends unknown ? (W extends A ? {\r\n [K in keyof A]: Exact<A[K], W[K]>;\r\n} : W) : never) | (A extends Narrowable ? A : never);\r\n\r\n/**\r\n * Defines Exception.\r\n *\r\n * string or an object with one of (message or name or code) and optional stack\r\n */\r\ndeclare type Exception = ExceptionWithCode | ExceptionWithMessage | ExceptionWithName | string;\r\n\r\ndeclare interface ExceptionWithCode {\r\n code: string | number;\r\n name?: string;\r\n message?: string;\r\n stack?: string;\r\n}\r\n\r\ndeclare interface ExceptionWithMessage {\r\n code?: string | number;\r\n message: string;\r\n name?: string;\r\n stack?: string;\r\n}\r\n\r\ndeclare interface ExceptionWithName {\r\n code?: string | number;\r\n message?: string;\r\n name: string;\r\n stack?: string;\r\n}\r\n\r\ndeclare type ExtendedEventType = LogLevel | 'beforeExit';\r\n\r\ndeclare type ExtendedSpanOptions = SpanOptions & {\r\n /** The name of the span */\r\n name: string;\r\n internal?: boolean;\r\n /** Whether it propagates context (?=true) */\r\n active?: boolean;\r\n /** The context to append the span to */\r\n context?: Context;\r\n};\r\n\r\n/** $extends, defineExtension */\r\nexport declare interface ExtendsHook<Variant extends 'extends' | 'define', TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>, TypeMap extends TypeMapDef = Call<TypeMapCb, {\r\n extArgs: ExtArgs;\r\n}>> {\r\n extArgs: ExtArgs;\r\n <R_ extends {\r\n [K in TypeMap['meta']['modelProps'] | '$allModels']?: unknown;\r\n }, R, M_ extends {\r\n [K in TypeMap['meta']['modelProps'] | '$allModels']?: unknown;\r\n }, M, Q_ extends {\r\n [K in TypeMap['meta']['modelProps'] | '$allModels' | keyof TypeMap['other']['operations'] | '$allOperations']?: unknown;\r\n }, C_ extends {\r\n [K in string]?: unknown;\r\n }, C, Args extends InternalArgs = InternalArgs<R, M, {}, C>, MergedArgs extends InternalArgs = MergeExtArgs<TypeMap, ExtArgs, Args>>(extension: ((client: DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>) => {\r\n $extends: {\r\n extArgs: Args;\r\n };\r\n }) | {\r\n name?: string;\r\n query?: DynamicQueryExtensionArgs<Q_, TypeMap>;\r\n result?: DynamicResultExtensionArgs<R_, TypeMap> & R;\r\n model?: DynamicModelExtensionArgs<M_, TypeMap, TypeMapCb, ExtArgs> & M;\r\n client?: DynamicClientExtensionArgs<C_, TypeMap, TypeMapCb, ExtArgs> & C;\r\n }): {\r\n extends: DynamicClientExtensionThis<Call<TypeMapCb, {\r\n extArgs: MergedArgs;\r\n }>, TypeMapCb, MergedArgs>;\r\n define: (client: any) => {\r\n $extends: {\r\n extArgs: Args;\r\n };\r\n };\r\n }[Variant];\r\n}\r\n\r\nexport declare type ExtensionArgs = Optional<RequiredExtensionArgs>;\r\n\r\ndeclare namespace Extensions {\r\n export {\r\n defineExtension,\r\n getExtensionContext\r\n }\r\n}\r\nexport { Extensions }\r\n\r\ndeclare namespace Extensions_2 {\r\n export {\r\n InternalArgs,\r\n DefaultArgs,\r\n GetPayloadResultExtensionKeys,\r\n GetPayloadResultExtensionObject,\r\n GetPayloadResult,\r\n GetSelect,\r\n GetOmit,\r\n DynamicQueryExtensionArgs,\r\n DynamicQueryExtensionCb,\r\n DynamicQueryExtensionCbArgs,\r\n DynamicQueryExtensionCbArgsArgs,\r\n DynamicResultExtensionArgs,\r\n DynamicResultExtensionNeeds,\r\n DynamicResultExtensionData,\r\n DynamicModelExtensionArgs,\r\n DynamicModelExtensionThis,\r\n DynamicModelExtensionOperationFn,\r\n DynamicModelExtensionFnResult,\r\n DynamicModelExtensionFnResultBase,\r\n DynamicModelExtensionFluentApi,\r\n DynamicModelExtensionFnResultNull,\r\n DynamicClientExtensionArgs,\r\n DynamicClientExtensionThis,\r\n ClientBuiltInProp,\r\n DynamicClientExtensionThisBuiltin,\r\n ExtendsHook,\r\n MergeExtArgs,\r\n AllModelsToStringIndex,\r\n TypeMapDef,\r\n DevTypeMapDef,\r\n DevTypeMapFnDef,\r\n ClientOptionDef,\r\n ClientOtherOps,\r\n TypeMapCbDef,\r\n ModelKey,\r\n RequiredExtensionArgs as UserArgs\r\n }\r\n}\r\n\r\nexport declare type ExtractGlobalOmit<Options, ModelName extends string> = Options extends {\r\n omit: {\r\n [K in ModelName]: infer GlobalOmit;\r\n };\r\n} ? GlobalOmit : {};\r\n\r\ndeclare type Field = ReadonlyDeep_2<{\r\n kind: FieldKind;\r\n name: string;\r\n isRequired: boolean;\r\n isList: boolean;\r\n isUnique: boolean;\r\n isId: boolean;\r\n isReadOnly: boolean;\r\n isGenerated?: boolean;\r\n isUpdatedAt?: boolean;\r\n /**\r\n * Describes the data type in the same the way it is defined in the Prisma schema:\r\n * BigInt, Boolean, Bytes, DateTime, Decimal, Float, Int, JSON, String, $ModelName\r\n */\r\n type: string;\r\n /**\r\n * Native database type, if specified.\r\n * For example, `@db.VarChar(191)` is encoded as `['VarChar', ['191']]`,\r\n * `@db.Text` is encoded as `['Text', []]`.\r\n */\r\n nativeType?: [string, string[]] | null;\r\n dbName?: string | null;\r\n hasDefaultValue: boolean;\r\n default?: FieldDefault | FieldDefaultScalar | FieldDefaultScalar[];\r\n relationFromFields?: string[];\r\n relationToFields?: string[];\r\n relationOnDelete?: string;\r\n relationOnUpdate?: string;\r\n relationName?: string;\r\n documentation?: string;\r\n}>;\r\n\r\ndeclare type FieldDefault = ReadonlyDeep_2<{\r\n name: string;\r\n args: Array<string | number>;\r\n}>;\r\n\r\ndeclare type FieldDefaultScalar = string | boolean | number;\r\n\r\ndeclare type FieldInitializer = {\r\n type: 'value';\r\n value: PrismaValue;\r\n} | {\r\n type: 'lastInsertId';\r\n};\r\n\r\ndeclare type FieldKind = 'scalar' | 'object' | 'enum' | 'unsupported';\r\n\r\ndeclare type FieldLocation = 'scalar' | 'inputObjectTypes' | 'outputObjectTypes' | 'enumTypes' | 'fieldRefTypes';\r\n\r\ndeclare type FieldNamespace = 'model' | 'prisma';\r\n\r\ndeclare type FieldOperation = {\r\n type: 'set';\r\n value: PrismaValue;\r\n} | {\r\n type: 'add';\r\n value: PrismaValue;\r\n} | {\r\n type: 'subtract';\r\n value: PrismaValue;\r\n} | {\r\n type: 'multiply';\r\n value: PrismaValue;\r\n} | {\r\n type: 'divide';\r\n value: PrismaValue;\r\n};\r\n\r\n/**\r\n * A reference to a specific field of a specific model\r\n */\r\nexport declare interface FieldRef<Model, FieldType> {\r\n readonly modelName: Model;\r\n readonly name: string;\r\n readonly typeName: FieldType;\r\n readonly isList: boolean;\r\n}\r\n\r\ndeclare type FieldRefAllowType = TypeRef<'scalar' | 'enumTypes'>;\r\n\r\ndeclare type FieldRefType = ReadonlyDeep_2<{\r\n name: string;\r\n allowTypes: FieldRefAllowType[];\r\n fields: SchemaArg[];\r\n}>;\r\n\r\ndeclare type FieldScalarType = {\r\n type: 'string' | 'int' | 'bigint' | 'float' | 'boolean' | 'json' | 'object' | 'datetime' | 'decimal' | 'unsupported';\r\n} | {\r\n type: 'enum';\r\n name: string;\r\n} | {\r\n type: 'bytes';\r\n encoding: 'array' | 'base64' | 'hex';\r\n};\r\n\r\ndeclare type FieldType = {\r\n arity: Arity;\r\n} & FieldScalarType;\r\n\r\ndeclare type FluentOperation = 'findUnique' | 'findUniqueOrThrow' | 'findFirst' | 'findFirstOrThrow' | 'create' | 'update' | 'upsert' | 'delete';\r\n\r\nexport declare interface Fn<Params = unknown, Returns = unknown> {\r\n params: Params;\r\n returns: Returns;\r\n}\r\n\r\ndeclare type Fragment = {\r\n type: 'stringChunk';\r\n chunk: string;\r\n} | {\r\n type: 'parameter';\r\n} | {\r\n type: 'parameterTuple';\r\n} | {\r\n type: 'parameterTupleList';\r\n itemPrefix: string;\r\n itemSeparator: string;\r\n itemSuffix: string;\r\n groupSeparator: string;\r\n};\r\n\r\ndeclare interface GeneratorConfig {\r\n name: string;\r\n output: EnvValue | null;\r\n isCustomOutput?: boolean;\r\n provider: EnvValue;\r\n config: {\r\n /** `output` is a reserved name and will only be available directly at `generator.output` */\r\n output?: never;\r\n /** `provider` is a reserved name and will only be available directly at `generator.provider` */\r\n provider?: never;\r\n /** `binaryTargets` is a reserved name and will only be available directly at `generator.binaryTargets` */\r\n binaryTargets?: never;\r\n /** `previewFeatures` is a reserved name and will only be available directly at `generator.previewFeatures` */\r\n previewFeatures?: never;\r\n } & {\r\n [key: string]: string | string[] | undefined;\r\n };\r\n binaryTargets: BinaryTargetsEnvValue[];\r\n previewFeatures: string[];\r\n envPaths?: EnvPaths;\r\n sourceFilePath: string;\r\n}\r\n\r\nexport declare type GetAggregateResult<P extends OperationPayload, A> = {\r\n [K in keyof A as K extends Aggregate ? K : never]: K extends '_count' ? A[K] extends true ? number : Count<A[K]> : {\r\n [J in keyof A[K] & string]: P['scalars'][J] | null;\r\n };\r\n};\r\n\r\ndeclare function getBatchRequestPayload(batch: JsonQuery[], transaction?: TransactionOptions_2<unknown>): QueryEngineBatchRequest;\r\n\r\nexport declare type GetBatchResult = {\r\n count: number;\r\n};\r\n\r\nexport declare type GetCountResult<A> = A extends {\r\n select: infer S;\r\n} ? (S extends true ? number : Count<S>) : number;\r\n\r\ndeclare function getExtensionContext<T>(that: T): Context_2<T>;\r\n\r\nexport declare type GetFindResult<P extends OperationPayload, A, GlobalOmitOptions> = Equals<A, any> extends 1 ? DefaultSelection<P, A, GlobalOmitOptions> : A extends {\r\n select: infer S extends object;\r\n} & Record<string, unknown> | {\r\n include: infer I extends object;\r\n} & Record<string, unknown> ? {\r\n [K in keyof S | keyof I as (S & I)[K] extends false | undefined | Skip | null ? never : K]: (S & I)[K] extends object ? P extends SelectablePayloadFields<K, (infer O)[]> ? O extends OperationPayload ? GetFindResult<O, (S & I)[K], GlobalOmitOptions>[] : never : P extends SelectablePayloadFields<K, infer O | null> ? O extends OperationPayload ? GetFindResult<O, (S & I)[K], GlobalOmitOptions> | SelectField<P, K> & null : never : K extends '_count' ? Count<GetFindResult<P, (S & I)[K], GlobalOmitOptions>> : never : P extends SelectablePayloadFields<K, (infer O)[]> ? O extends OperationPayload ? DefaultSelection<O, {}, GlobalOmitOptions>[] : never : P extends SelectablePayloadFields<K, infer O | null> ? O extends OperationPayload ? DefaultSelection<O, {}, GlobalOmitOptions> | SelectField<P, K> & null : never : P extends {\r\n scalars: {\r\n [k in K]: infer O;\r\n };\r\n } ? O : K extends '_count' ? Count<P['objects']> : never;\r\n} & (A extends {\r\n include: any;\r\n} & Record<string, unknown> ? DefaultSelection<P, A & {\r\n omit: A['omit'];\r\n}, GlobalOmitOptions> : unknown) : DefaultSelection<P, A, GlobalOmitOptions>;\r\n\r\nexport declare type GetGroupByResult<P extends OperationPayload, A> = A extends {\r\n by: string[];\r\n} ? Array<GetAggregateResult<P, A> & {\r\n [K in A['by'][number]]: P['scalars'][K];\r\n}> : A extends {\r\n by: string;\r\n} ? Array<GetAggregateResult<P, A> & {\r\n [K in A['by']]: P['scalars'][K];\r\n}> : {}[];\r\n\r\nexport declare type GetOmit<BaseKeys extends string, R extends InternalArgs['result'][string], ExtraType = never> = {\r\n [K in (string extends keyof R ? never : keyof R) | BaseKeys]?: boolean | ExtraType;\r\n};\r\n\r\nexport declare type GetPayloadResult<Base extends Record<any, any>, R extends InternalArgs['result'][string]> = Omit<Base, GetPayloadResultExtensionKeys<R>> & GetPayloadResultExtensionObject<R>;\r\n\r\nexport declare type GetPayloadResultExtensionKeys<R extends InternalArgs['result'][string], KR extends keyof R = string extends keyof R ? never : keyof R> = KR;\r\n\r\nexport declare type GetPayloadResultExtensionObject<R extends InternalArgs['result'][string]> = {\r\n [K in GetPayloadResultExtensionKeys<R>]: R[K] extends () => {\r\n compute: (...args: any) => infer C;\r\n } ? C : never;\r\n};\r\n\r\nexport declare function getPrismaClient(config: GetPrismaClientConfig): {\r\n new (optionsArg?: PrismaClientOptions): {\r\n _originalClient: any;\r\n _runtimeDataModel: RuntimeDataModel;\r\n _requestHandler: RequestHandler;\r\n _connectionPromise?: Promise<any> | undefined;\r\n _disconnectionPromise?: Promise<any> | undefined;\r\n _engineConfig: EngineConfig;\r\n _accelerateEngineConfig: AccelerateEngineConfig;\r\n _clientVersion: string;\r\n _errorFormat: ErrorFormat;\r\n _tracingHelper: TracingHelper;\r\n _previewFeatures: string[];\r\n _activeProvider: string;\r\n _globalOmit?: GlobalOmitOptions | undefined;\r\n _extensions: MergedExtensionsList;\r\n /**\r\n * @remarks This is used internally by Policy, do not rename or remove\r\n */\r\n _engine: Engine;\r\n /**\r\n * A fully constructed/applied Client that references the parent\r\n * PrismaClient. This is used for Client extensions only.\r\n */\r\n _appliedParent: any;\r\n _createPrismaPromise: PrismaPromiseFactory;\r\n $on<E extends ExtendedEventType>(eventType: E, callback: EventCallback<E>): any;\r\n $connect(): Promise<void>;\r\n /**\r\n * Disconnect from the database\r\n */\r\n $disconnect(): Promise<void>;\r\n /**\r\n * Executes a raw query and always returns a number\r\n */\r\n $executeRawInternal(transaction: PrismaPromiseTransaction | undefined, clientMethod: string, args: RawQueryArgs, middlewareArgsMapper?: MiddlewareArgsMapper<unknown, unknown>): Promise<number>;\r\n /**\r\n * Executes a raw query provided through a safe tag function\r\n * @see https://github.com/prisma/prisma/issues/7142\r\n *\r\n * @param query\r\n * @param values\r\n * @returns\r\n */\r\n $executeRaw(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Unsafe counterpart of `$executeRaw` that is susceptible to SQL injections\r\n * @see https://github.com/prisma/prisma/issues/7142\r\n *\r\n * @param query\r\n * @param values\r\n * @returns\r\n */\r\n $executeRawUnsafe(query: string, ...values: RawValue[]): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Executes a raw command only for MongoDB\r\n *\r\n * @param command\r\n * @returns\r\n */\r\n $runCommandRaw(command: Record<string, JsInputValue>): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Executes a raw query and returns selected data\r\n */\r\n $queryRawInternal(transaction: PrismaPromiseTransaction | undefined, clientMethod: string, args: RawQueryArgs, middlewareArgsMapper?: MiddlewareArgsMapper<unknown, unknown>): Promise<any>;\r\n /**\r\n * Executes a raw query provided through a safe tag function\r\n * @see https://github.com/prisma/prisma/issues/7142\r\n *\r\n * @param query\r\n * @param values\r\n * @returns\r\n */\r\n $queryRaw(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Counterpart to $queryRaw, that returns strongly typed results\r\n * @param typedSql\r\n */\r\n $queryRawTyped(typedSql: UnknownTypedSql): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Unsafe counterpart of `$queryRaw` that is susceptible to SQL injections\r\n * @see https://github.com/prisma/prisma/issues/7142\r\n *\r\n * @param query\r\n * @param values\r\n * @returns\r\n */\r\n $queryRawUnsafe(query: string, ...values: RawValue[]): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Execute a batch of requests in a transaction\r\n * @param requests\r\n * @param options\r\n */\r\n _transactionWithArray({ promises, options, }: {\r\n promises: Array<PrismaPromise_2<any>>;\r\n options?: BatchTransactionOptions;\r\n }): Promise<any>;\r\n /**\r\n * Perform a long-running transaction\r\n * @param callback\r\n * @param options\r\n * @returns\r\n */\r\n _transactionWithCallback({ callback, options, }: {\r\n callback: (client: Client) => Promise<unknown>;\r\n options?: Options;\r\n }): Promise<unknown>;\r\n _createItxClient(transaction: PrismaPromiseInteractiveTransaction): Client;\r\n /**\r\n * Execute queries within a transaction\r\n * @param input a callback or a query list\r\n * @param options to set timeouts (callback)\r\n * @returns\r\n */\r\n $transaction(input: any, options?: any): Promise<any>;\r\n /**\r\n * Runs the middlewares over params before executing a request\r\n * @param internalParams\r\n * @returns\r\n */\r\n _request(internalParams: InternalRequestParams): Promise<any>;\r\n _executeRequest({ args, clientMethod, dataPath, callsite, action, model, argsMapper, transaction, unpacker, otelParentCtx, customDataProxyFetch, }: InternalRequestParams): Promise<any>;\r\n $metrics: MetricsClient;\r\n /**\r\n * Shortcut for checking a preview flag\r\n * @param feature preview flag\r\n * @returns\r\n */\r\n _hasPreviewFlag(feature: string): boolean;\r\n $applyPendingMigrations(): Promise<void>;\r\n $extends: typeof $extends;\r\n readonly [Symbol.toStringTag]: string;\r\n };\r\n};\r\n\r\n/**\r\n * Config that is stored into the generated client. When the generated client is\r\n * loaded, this same config is passed to {@link getPrismaClient} which creates a\r\n * closure with that config around a non-instantiated [[PrismaClient]].\r\n */\r\nexport declare type GetPrismaClientConfig = {\r\n runtimeDataModel: RuntimeDataModel;\r\n generator?: GeneratorConfig;\r\n relativeEnvPaths?: {\r\n rootEnvPath?: string | null;\r\n schemaEnvPath?: string | null;\r\n };\r\n relativePath: string;\r\n dirname: string;\r\n clientVersion: string;\r\n engineVersion: string;\r\n datasourceNames: string[];\r\n activeProvider: ActiveConnectorType;\r\n /**\r\n * The contents of the schema encoded into a string\r\n * @remarks only used for the purpose of data proxy\r\n */\r\n inlineSchema: string;\r\n /**\r\n * A special env object just for the data proxy edge runtime.\r\n * Allows bundlers to inject their own env variables (Vercel).\r\n * Allows platforms to declare global variables as env (Workers).\r\n * @remarks only used for the purpose of data proxy\r\n */\r\n injectableEdgeEnv?: () => LoadedEnv;\r\n /**\r\n * The contents of the datasource url saved in a string.\r\n * This can either be an env var name or connection string.\r\n * It is needed by the client to connect to the Data Proxy.\r\n * @remarks only used for the purpose of data proxy\r\n */\r\n inlineDatasources: {\r\n [name in string]: {\r\n url: EnvValue;\r\n };\r\n };\r\n /**\r\n * The string hash that was produced for a given schema\r\n * @remarks only used for the purpose of data proxy\r\n */\r\n inlineSchemaHash: string;\r\n /**\r\n * A marker to indicate that the client was not generated via `prisma\r\n * generate` but was generated via `generate --postinstall` script instead.\r\n * @remarks used to error for Vercel/Netlify for schema caching issues\r\n */\r\n postinstall?: boolean;\r\n /**\r\n * Information about the CI where the Prisma Client has been generated. The\r\n * name of the CI environment is stored at generation time because CI\r\n * information is not always available at runtime. Moreover, the edge client\r\n * has no notion of environment variables, so this works around that.\r\n * @remarks used to error for Vercel/Netlify for schema caching issues\r\n */\r\n ciName?: string;\r\n /**\r\n * Information about whether we have not found a schema.prisma file in the\r\n * default location, and that we fell back to finding the schema.prisma file\r\n * in the current working directory. This usually means it has been bundled.\r\n */\r\n isBundled?: boolean;\r\n /**\r\n * A boolean that is `false` when the client was generated with --no-engine. At\r\n * runtime, this means the client will be bound to be using the Data Proxy.\r\n */\r\n copyEngine?: boolean;\r\n /**\r\n * Optional wasm loading configuration\r\n */\r\n engineWasm?: EngineWasmLoadingConfig;\r\n compilerWasm?: CompilerWasmLoadingConfig;\r\n};\r\n\r\nexport declare type GetResult<Payload extends OperationPayload, Args, OperationName extends Operation = 'findUniqueOrThrow', GlobalOmitOptions = {}> = {\r\n findUnique: GetFindResult<Payload, Args, GlobalOmitOptions> | null;\r\n findUniqueOrThrow: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n findFirst: GetFindResult<Payload, Args, GlobalOmitOptions> | null;\r\n findFirstOrThrow: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n findMany: GetFindResult<Payload, Args, GlobalOmitOptions>[];\r\n create: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n createMany: GetBatchResult;\r\n createManyAndReturn: GetFindResult<Payload, Args, GlobalOmitOptions>[];\r\n update: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n updateMany: GetBatchResult;\r\n updateManyAndReturn: GetFindResult<Payload, Args, GlobalOmitOptions>[];\r\n upsert: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n delete: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n deleteMany: GetBatchResult;\r\n aggregate: GetAggregateResult<Payload, Args>;\r\n count: GetCountResult<Args>;\r\n groupBy: GetGroupByResult<Payload, Args>;\r\n $queryRaw: unknown;\r\n $queryRawTyped: unknown;\r\n $executeRaw: number;\r\n $queryRawUnsafe: unknown;\r\n $executeRawUnsafe: number;\r\n $runCommandRaw: JsonObject;\r\n findRaw: JsonObject;\r\n aggregateRaw: JsonObject;\r\n}[OperationName];\r\n\r\nexport declare function getRuntime(): GetRuntimeOutput;\r\n\r\ndeclare type GetRuntimeOutput = {\r\n id: RuntimeName;\r\n prettyName: string;\r\n isEdge: boolean;\r\n};\r\n\r\nexport declare type GetSelect<Base extends Record<any, any>, R extends InternalArgs['result'][string], KR extends keyof R = string extends keyof R ? never : keyof R> = {\r\n [K in KR | keyof Base]?: K extends KR ? boolean : Base[K];\r\n};\r\n\r\ndeclare type GlobalOmitOptions = {\r\n [modelName: string]: {\r\n [fieldName: string]: boolean;\r\n };\r\n};\r\n\r\ndeclare type HandleErrorParams = {\r\n args: JsArgs;\r\n error: any;\r\n clientMethod: string;\r\n callsite?: CallSite;\r\n transaction?: PrismaPromiseTransaction;\r\n modelName?: string;\r\n globalOmit?: GlobalOmitOptions;\r\n};\r\n\r\ndeclare type HrTime = [number, number];\r\n\r\n/**\r\n * Defines High-Resolution Time.\r\n *\r\n * The first number, HrTime[0], is UNIX Epoch time in seconds since 00:00:00 UTC on 1 January 1970.\r\n * The second number, HrTime[1], represents the partial second elapsed since Unix Epoch time represented by first number in nanoseconds.\r\n * For example, 2021-01-01T12:30:10.150Z in UNIX Epoch time in milliseconds is represented as 1609504210150.\r\n * The first number is calculated by converting and truncating the Epoch time in milliseconds to seconds:\r\n * HrTime[0] = Math.trunc(1609504210150 / 1000) = 1609504210.\r\n * The second number is calculated by converting the digits after the decimal point of the subtraction, (1609504210150 / 1000) - HrTime[0], to nanoseconds:\r\n * HrTime[1] = Number((1609504210.150 - HrTime[0]).toFixed(9)) * 1e9 = 150000000.\r\n * This is represented in HrTime format as [1609504210, 150000000].\r\n */\r\ndeclare type HrTime_2 = [number, number];\r\n\r\ndeclare type Index = ReadonlyDeep_2<{\r\n model: string;\r\n type: IndexType;\r\n isDefinedOnField: boolean;\r\n name?: string;\r\n dbName?: string;\r\n algorithm?: string;\r\n clustered?: boolean;\r\n fields: IndexField[];\r\n}>;\r\n\r\ndeclare type IndexField = ReadonlyDeep_2<{\r\n name: string;\r\n sortOrder?: SortOrder;\r\n length?: number;\r\n operatorClass?: string;\r\n}>;\r\n\r\ndeclare type IndexType = 'id' | 'normal' | 'unique' | 'fulltext';\r\n\r\ndeclare type InMemoryOps = {\r\n pagination: Pagination | null;\r\n distinct: string[] | null;\r\n reverse: boolean;\r\n linkingFields: string[] | null;\r\n nested: Record<string, InMemoryOps>;\r\n};\r\n\r\n/**\r\n * Matches a JSON array.\r\n * Unlike \\`JsonArray\\`, readonly arrays are assignable to this type.\r\n */\r\nexport declare interface InputJsonArray extends ReadonlyArray<InputJsonValue | null> {\r\n}\r\n\r\n/**\r\n * Matches a JSON object.\r\n * Unlike \\`JsonObject\\`, this type allows undefined and read-only properties.\r\n */\r\nexport declare type InputJsonObject = {\r\n readonly [Key in string]?: InputJsonValue | null;\r\n};\r\n\r\n/**\r\n * Matches any valid value that can be used as an input for operations like\r\n * create and update as the value of a JSON field. Unlike \\`JsonValue\\`, this\r\n * type allows read-only arrays and read-only object properties and disallows\r\n * \\`null\\` at the top level.\r\n *\r\n * \\`null\\` cannot be used as the value of a JSON field because its meaning\r\n * would be ambiguous. Use \\`Prisma.JsonNull\\` to store the JSON null value or\r\n * \\`Prisma.DbNull\\` to clear the JSON value and set the field to the database\r\n * NULL value instead.\r\n *\r\n * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-by-null-values\r\n */\r\nexport declare type InputJsonValue = string | number | boolean | InputJsonObject | InputJsonArray | {\r\n toJSON(): unknown;\r\n};\r\n\r\ndeclare type InputType = ReadonlyDeep_2<{\r\n name: string;\r\n constraints: {\r\n maxNumFields: number | null;\r\n minNumFields: number | null;\r\n fields?: string[];\r\n };\r\n meta?: {\r\n source?: string;\r\n grouping?: string;\r\n };\r\n fields: SchemaArg[];\r\n}>;\r\n\r\ndeclare type InputTypeRef = TypeRef<'scalar' | 'inputObjectTypes' | 'enumTypes' | 'fieldRefTypes'>;\r\n\r\ndeclare type InteractiveTransactionInfo<Payload = unknown> = {\r\n /**\r\n * Transaction ID returned by the query engine.\r\n */\r\n id: string;\r\n /**\r\n * Arbitrary payload the meaning of which depends on the `Engine` implementation.\r\n * For example, `DataProxyEngine` needs to associate different API endpoints with transactions.\r\n * In `LibraryEngine` and `BinaryEngine` it is currently not used.\r\n */\r\n payload: Payload;\r\n};\r\n\r\ndeclare type InteractiveTransactionOptions<Payload> = Transaction_2.InteractiveTransactionInfo<Payload>;\r\n\r\nexport declare type InternalArgs<R = {\r\n [K in string]: {\r\n [K in string]: unknown;\r\n };\r\n}, M = {\r\n [K in string]: {\r\n [K in string]: unknown;\r\n };\r\n}, Q = {\r\n [K in string]: {\r\n [K in string]: unknown;\r\n };\r\n}, C = {\r\n [K in string]: unknown;\r\n}> = {\r\n result: {\r\n [K in keyof R]: {\r\n [P in keyof R[K]]: () => R[K][P];\r\n };\r\n };\r\n model: {\r\n [K in keyof M]: {\r\n [P in keyof M[K]]: () => M[K][P];\r\n };\r\n };\r\n query: {\r\n [K in keyof Q]: {\r\n [P in keyof Q[K]]: () => Q[K][P];\r\n };\r\n };\r\n client: {\r\n [K in keyof C]: () => C[K];\r\n };\r\n};\r\n\r\ndeclare type InternalRequestParams = {\r\n /**\r\n * The original client method being called.\r\n * Even though the rootField / operation can be changed,\r\n * this method stays as it is, as it's what the user's\r\n * code looks like\r\n */\r\n clientMethod: string;\r\n /**\r\n * Name of js model that triggered the request. Might be used\r\n * for warnings or error messages\r\n */\r\n jsModelName?: string;\r\n callsite?: CallSite;\r\n transaction?: PrismaPromiseTransaction;\r\n unpacker?: Unpacker;\r\n otelParentCtx?: Context;\r\n /** Used to \"desugar\" a user input into an \"expanded\" one */\r\n argsMapper?: (args?: UserArgs_2) => UserArgs_2;\r\n /** Used to convert args for middleware and back */\r\n middlewareArgsMapper?: MiddlewareArgsMapper<unknown, unknown>;\r\n /** Used for Accelerate client extension via Data Proxy */\r\n customDataProxyFetch?: AccelerateExtensionFetchDecorator;\r\n} & Omit<QueryMiddlewareParams, 'runInTransaction'>;\r\n\r\ndeclare type IsolationLevel = 'READ UNCOMMITTED' | 'READ COMMITTED' | 'REPEATABLE READ' | 'SNAPSHOT' | 'SERIALIZABLE';\r\n\r\ndeclare type IsolationLevel_2 = 'ReadUncommitted' | 'ReadCommitted' | 'RepeatableRead' | 'Snapshot' | 'Serializable';\r\n\r\ndeclare function isSkip(value: unknown): value is Skip;\r\n\r\nexport declare function isTypedSql(value: unknown): value is UnknownTypedSql;\r\n\r\nexport declare type ITXClientDenyList = (typeof denylist)[number];\r\n\r\nexport declare const itxClientDenyList: readonly (string | symbol)[];\r\n\r\ndeclare interface Job {\r\n resolve: (data: any) => void;\r\n reject: (data: any) => void;\r\n request: any;\r\n}\r\n\r\n/**\r\n * Create a SQL query for a list of values.\r\n */\r\nexport declare function join(values: readonly RawValue[], separator?: string, prefix?: string, suffix?: string): Sql;\r\n\r\ndeclare type JoinExpression = {\r\n child: QueryPlanNode;\r\n on: [left: string, right: string][];\r\n parentField: string;\r\n isRelationUnique: boolean;\r\n};\r\n\r\nexport declare type JsArgs = {\r\n select?: Selection_2;\r\n include?: Selection_2;\r\n omit?: Omission;\r\n [argName: string]: JsInputValue;\r\n};\r\n\r\nexport declare type JsInputValue = null | undefined | string | number | boolean | bigint | Uint8Array | Date | DecimalJsLike | ObjectEnumValue | RawParameters | JsonConvertible | FieldRef<string, unknown> | JsInputValue[] | Skip | {\r\n [key: string]: JsInputValue;\r\n};\r\n\r\ndeclare type JsonArgumentValue = number | string | boolean | null | RawTaggedValue | JsonArgumentValue[] | {\r\n [key: string]: JsonArgumentValue;\r\n};\r\n\r\n/**\r\n * From https://github.com/sindresorhus/type-fest/\r\n * Matches a JSON array.\r\n */\r\nexport declare interface JsonArray extends Array<JsonValue> {\r\n}\r\n\r\nexport declare type JsonBatchQuery = {\r\n batch: JsonQuery[];\r\n transaction?: {\r\n isolationLevel?: IsolationLevel_2;\r\n };\r\n};\r\n\r\nexport declare interface JsonConvertible {\r\n toJSON(): unknown;\r\n}\r\n\r\ndeclare type JsonFieldSelection = {\r\n arguments?: Record<string, JsonArgumentValue> | RawTaggedValue;\r\n selection: JsonSelectionSet;\r\n};\r\n\r\ndeclare class JsonNull extends NullTypesEnumValue {\r\n #private;\r\n}\r\n\r\n/**\r\n * From https://github.com/sindresorhus/type-fest/\r\n * Matches a JSON object.\r\n * This type can be useful to enforce some input to be JSON-compatible or as a super-type to be extended from.\r\n */\r\nexport declare type JsonObject = {\r\n [Key in string]?: JsonValue;\r\n};\r\n\r\nexport declare type JsonQuery = {\r\n modelName?: string;\r\n action: JsonQueryAction;\r\n query: JsonFieldSelection;\r\n};\r\n\r\ndeclare type JsonQueryAction = 'findUnique' | 'findUniqueOrThrow' | 'findFirst' | 'findFirstOrThrow' | 'findMany' | 'createOne' | 'createMany' | 'createManyAndReturn' | 'updateOne' | 'updateMany' | 'updateManyAndReturn' | 'deleteOne' | 'deleteMany' | 'upsertOne' | 'aggregate' | 'groupBy' | 'executeRaw' | 'queryRaw' | 'runCommandRaw' | 'findRaw' | 'aggregateRaw';\r\n\r\ndeclare type JsonSelectionSet = {\r\n $scalars?: boolean;\r\n $composites?: boolean;\r\n} & {\r\n [fieldName: string]: boolean | JsonFieldSelection;\r\n};\r\n\r\n/**\r\n * From https://github.com/sindresorhus/type-fest/\r\n * Matches any valid JSON value.\r\n */\r\nexport declare type JsonValue = string | number | boolean | JsonObject | JsonArray | null;\r\n\r\nexport declare type JsOutputValue = null | string | number | boolean | bigint | Uint8Array | Date | Decimal | JsOutputValue[] | {\r\n [key: string]: JsOutputValue;\r\n};\r\n\r\nexport declare type JsPromise<T> = Promise<T> & {};\r\n\r\ndeclare type KnownErrorParams = {\r\n code: string;\r\n clientVersion: string;\r\n meta?: Record<string, unknown>;\r\n batchRequestIdx?: number;\r\n};\r\n\r\n/**\r\n * A pointer from the current {@link Span} to another span in the same trace or\r\n * in a different trace.\r\n * Few examples of Link usage.\r\n * 1. Batch Processing: A batch of elements may contain elements associated\r\n * with one or more traces/spans. Since there can only be one parent\r\n * SpanContext, Link is used to keep reference to SpanContext of all\r\n * elements in the batch.\r\n * 2. Public Endpoint: A SpanContext in incoming client request on a public\r\n * endpoint is untrusted from service provider perspective. In such case it\r\n * is advisable to start a new trace with appropriate sampling decision.\r\n * However, it is desirable to associate incoming SpanContext to new trace\r\n * initiated on service provider side so two traces (from Client and from\r\n * Service Provider) can be correlated.\r\n */\r\ndeclare interface Link {\r\n /** The {@link SpanContext} of a linked span. */\r\n context: SpanContext;\r\n /** A set of {@link SpanAttributes} on the link. */\r\n attributes?: SpanAttributes;\r\n /** Count of attributes of the link that were dropped due to collection limits */\r\n droppedAttributesCount?: number;\r\n}\r\n\r\ndeclare type LoadedEnv = {\r\n message?: string;\r\n parsed: {\r\n [x: string]: string;\r\n };\r\n} | undefined;\r\n\r\ndeclare type LocationInFile = {\r\n fileName: string;\r\n lineNumber: number | null;\r\n columnNumber: number | null;\r\n};\r\n\r\ndeclare type LogDefinition = {\r\n level: LogLevel;\r\n emit: 'stdout' | 'event';\r\n};\r\n\r\n/**\r\n * Typings for the events we emit.\r\n *\r\n * @remarks\r\n * If this is updated, our edge runtime shim needs to be updated as well.\r\n */\r\ndeclare type LogEmitter = {\r\n on<E extends EngineEventType>(event: E, listener: (event: EngineEvent<E>) => void): LogEmitter;\r\n emit(event: QueryEventType, payload: QueryEvent): boolean;\r\n emit(event: LogEventType, payload: LogEvent): boolean;\r\n};\r\n\r\ndeclare type LogEvent = {\r\n timestamp: Date;\r\n message: string;\r\n target: string;\r\n};\r\n\r\ndeclare type LogEventType = 'info' | 'warn' | 'error';\r\n\r\ndeclare type LogLevel = 'info' | 'query' | 'warn' | 'error';\r\n\r\n/**\r\n * Generates more strict variant of an enum which, unlike regular enum,\r\n * throws on non-existing property access. This can be useful in following situations:\r\n * - we have an API, that accepts both `undefined` and `SomeEnumType` as an input\r\n * - enum values are generated dynamically from DMMF.\r\n *\r\n * In that case, if using normal enums and no compile-time typechecking, using non-existing property\r\n * will result in `undefined` value being used, which will be accepted. Using strict enum\r\n * in this case will help to have a runtime exception, telling you that you are probably doing something wrong.\r\n *\r\n * Note: if you need to check for existence of a value in the enum you can still use either\r\n * `in` operator or `hasOwnProperty` function.\r\n *\r\n * @param definition\r\n * @returns\r\n */\r\nexport declare function makeStrictEnum<T extends Record<PropertyKey, string | number>>(definition: T): T;\r\n\r\nexport declare function makeTypedQueryFactory(sql: string): (...values: any[]) => TypedSql<any[], unknown>;\r\n\r\ndeclare type MappedError = {\r\n kind: 'GenericJs';\r\n id: number;\r\n} | {\r\n kind: 'UnsupportedNativeDataType';\r\n type: string;\r\n} | {\r\n kind: 'InvalidIsolationLevel';\r\n level: string;\r\n} | {\r\n kind: 'LengthMismatch';\r\n column?: string;\r\n} | {\r\n kind: 'UniqueConstraintViolation';\r\n constraint?: {\r\n fields: string[];\r\n } | {\r\n index: string;\r\n } | {\r\n foreignKey: {};\r\n };\r\n} | {\r\n kind: 'NullConstraintViolation';\r\n constraint?: {\r\n fields: string[];\r\n } | {\r\n index: string;\r\n } | {\r\n foreignKey: {};\r\n };\r\n} | {\r\n kind: 'ForeignKeyConstraintViolation';\r\n constraint?: {\r\n fields: string[];\r\n } | {\r\n index: string;\r\n } | {\r\n foreignKey: {};\r\n };\r\n} | {\r\n kind: 'DatabaseNotReachable';\r\n host?: string;\r\n port?: number;\r\n} | {\r\n kind: 'DatabaseDoesNotExist';\r\n db?: string;\r\n} | {\r\n kind: 'DatabaseAlreadyExists';\r\n db?: string;\r\n} | {\r\n kind: 'DatabaseAccessDenied';\r\n db?: string;\r\n} | {\r\n kind: 'ConnectionClosed';\r\n} | {\r\n kind: 'TlsConnectionError';\r\n reason: string;\r\n} | {\r\n kind: 'AuthenticationFailed';\r\n user?: string;\r\n} | {\r\n kind: 'TransactionWriteConflict';\r\n} | {\r\n kind: 'TableDoesNotExist';\r\n table?: string;\r\n} | {\r\n kind: 'ColumnNotFound';\r\n column?: string;\r\n} | {\r\n kind: 'TooManyConnections';\r\n cause: string;\r\n} | {\r\n kind: 'ValueOutOfRange';\r\n cause: string;\r\n} | {\r\n kind: 'MissingFullTextSearchIndex';\r\n} | {\r\n kind: 'SocketTimeout';\r\n} | {\r\n kind: 'InconsistentColumnData';\r\n cause: string;\r\n} | {\r\n kind: 'TransactionAlreadyClosed';\r\n cause: string;\r\n} | {\r\n kind: 'postgres';\r\n code: string;\r\n severity: string;\r\n message: string;\r\n detail: string | undefined;\r\n column: string | undefined;\r\n hint: string | undefined;\r\n} | {\r\n kind: 'mysql';\r\n code: number;\r\n message: string;\r\n state: string;\r\n} | {\r\n kind: 'sqlite';\r\n /**\r\n * Sqlite extended error code: https://www.sqlite.org/rescode.html\r\n */\r\n extendedCode: number;\r\n message: string;\r\n} | {\r\n kind: 'mssql';\r\n code: number;\r\n message: string;\r\n};\r\n\r\ndeclare type Mappings = ReadonlyDeep_2<{\r\n modelOperations: ModelMapping[];\r\n otherOperations: {\r\n read: string[];\r\n write: string[];\r\n };\r\n}>;\r\n\r\n/**\r\n * Class that holds the list of all extensions, applied to particular instance,\r\n * as well as resolved versions of the components that need to apply on\r\n * different levels. Main idea of this class: avoid re-resolving as much of the\r\n * stuff as possible when new extensions are added while also delaying the\r\n * resolve until the point it is actually needed. For example, computed fields\r\n * of the model won't be resolved unless the model is actually queried. Neither\r\n * adding extensions with `client` component only cause other components to\r\n * recompute.\r\n */\r\ndeclare class MergedExtensionsList {\r\n private head?;\r\n private constructor();\r\n static empty(): MergedExtensionsList;\r\n static single(extension: ExtensionArgs): MergedExtensionsList;\r\n isEmpty(): boolean;\r\n append(extension: ExtensionArgs): MergedExtensionsList;\r\n getAllComputedFields(dmmfModelName: string): ComputedFieldsMap | undefined;\r\n getAllClientExtensions(): ClientArg | undefined;\r\n getAllModelExtensions(dmmfModelName: string): ModelArg | undefined;\r\n getAllQueryCallbacks(jsModelName: string, operation: string): any;\r\n getAllBatchQueryCallbacks(): BatchQueryOptionsCb[];\r\n}\r\n\r\nexport declare type MergeExtArgs<TypeMap extends TypeMapDef, ExtArgs extends Record<any, any>, Args extends Record<any, any>> = ComputeDeep<ExtArgs & Args & AllModelsToStringIndex<TypeMap, Args, 'result'> & AllModelsToStringIndex<TypeMap, Args, 'model'>>;\r\n\r\nexport declare type Metric<T> = {\r\n key: string;\r\n value: T;\r\n labels: Record<string, string>;\r\n description: string;\r\n};\r\n\r\nexport declare type MetricHistogram = {\r\n buckets: MetricHistogramBucket[];\r\n sum: number;\r\n count: number;\r\n};\r\n\r\nexport declare type MetricHistogramBucket = [maxValue: number, count: number];\r\n\r\nexport declare type Metrics = {\r\n counters: Metric<number>[];\r\n gauges: Metric<number>[];\r\n histograms: Metric<MetricHistogram>[];\r\n};\r\n\r\nexport declare class MetricsClient {\r\n private _client;\r\n constructor(client: Client);\r\n /**\r\n * Returns all metrics gathered up to this point in prometheus format.\r\n * Result of this call can be exposed directly to prometheus scraping endpoint\r\n *\r\n * @param options\r\n * @returns\r\n */\r\n prometheus(options?: MetricsOptions): Promise<string>;\r\n /**\r\n * Returns all metrics gathered up to this point in prometheus format.\r\n *\r\n * @param options\r\n * @returns\r\n */\r\n json(options?: MetricsOptions): Promise<Metrics>;\r\n}\r\n\r\ndeclare type MetricsOptions = {\r\n /**\r\n * Labels to add to every metrics in key-value format\r\n */\r\n globalLabels?: Record<string, string>;\r\n};\r\n\r\ndeclare type MetricsOptionsCommon = {\r\n globalLabels?: Record<string, string>;\r\n};\r\n\r\ndeclare type MetricsOptionsJson = {\r\n format: 'json';\r\n} & MetricsOptionsCommon;\r\n\r\ndeclare type MetricsOptionsPrometheus = {\r\n format: 'prometheus';\r\n} & MetricsOptionsCommon;\r\n\r\ndeclare type MiddlewareArgsMapper<RequestArgs, MiddlewareArgs> = {\r\n requestArgsToMiddlewareArgs(requestArgs: RequestArgs): MiddlewareArgs;\r\n middlewareArgsToRequestArgs(middlewareArgs: MiddlewareArgs): RequestArgs;\r\n};\r\n\r\ndeclare type Model = ReadonlyDeep_2<{\r\n name: string;\r\n dbName: string | null;\r\n schema: string | null;\r\n fields: Field[];\r\n uniqueFields: string[][];\r\n uniqueIndexes: uniqueIndex[];\r\n documentation?: string;\r\n primaryKey: PrimaryKey | null;\r\n isGenerated?: boolean;\r\n}>;\r\n\r\ndeclare enum ModelAction {\r\n findUnique = \"findUnique\",\r\n findUniqueOrThrow = \"findUniqueOrThrow\",\r\n findFirst = \"findFirst\",\r\n findFirstOrThrow = \"findFirstOrThrow\",\r\n findMany = \"findMany\",\r\n create = \"create\",\r\n createMany = \"createMany\",\r\n createManyAndReturn = \"createManyAndReturn\",\r\n update = \"update\",\r\n updateMany = \"updateMany\",\r\n updateManyAndReturn = \"updateManyAndReturn\",\r\n upsert = \"upsert\",\r\n delete = \"delete\",\r\n deleteMany = \"deleteMany\",\r\n groupBy = \"groupBy\",\r\n count = \"count\",// TODO: count does not actually exist in DMMF\r\n aggregate = \"aggregate\",\r\n findRaw = \"findRaw\",\r\n aggregateRaw = \"aggregateRaw\"\r\n}\r\n\r\nexport declare type ModelArg = {\r\n [MethodName in string]: unknown;\r\n};\r\n\r\nexport declare type ModelArgs = {\r\n model: {\r\n [ModelName in string]: ModelArg;\r\n };\r\n};\r\n\r\nexport declare type ModelKey<TypeMap extends TypeMapDef, M extends PropertyKey> = M extends keyof TypeMap['model'] ? M : Capitalize<M & string>;\r\n\r\ndeclare type ModelMapping = ReadonlyDeep_2<{\r\n model: string;\r\n plural: string;\r\n findUnique?: string | null;\r\n findUniqueOrThrow?: string | null;\r\n findFirst?: string | null;\r\n findFirstOrThrow?: string | null;\r\n findMany?: string | null;\r\n create?: string | null;\r\n createMany?: string | null;\r\n createManyAndReturn?: string | null;\r\n update?: string | null;\r\n updateMany?: string | null;\r\n updateManyAndReturn?: string | null;\r\n upsert?: string | null;\r\n delete?: string | null;\r\n deleteMany?: string | null;\r\n aggregate?: string | null;\r\n groupBy?: string | null;\r\n count?: string | null;\r\n findRaw?: string | null;\r\n aggregateRaw?: string | null;\r\n}>;\r\n\r\nexport declare type ModelQueryOptionsCb = (args: ModelQueryOptionsCbArgs) => Promise<any>;\r\n\r\nexport declare type ModelQueryOptionsCbArgs = {\r\n model: string;\r\n operation: string;\r\n args: JsArgs;\r\n query: (args: JsArgs) => Promise<unknown>;\r\n};\r\n\r\ndeclare type MultiBatchResponse = {\r\n type: 'multi';\r\n plans: QueryPlanNode[];\r\n};\r\n\r\nexport declare type NameArgs = {\r\n name?: string;\r\n};\r\n\r\nexport declare type Narrow<A> = {\r\n [K in keyof A]: A[K] extends Function ? A[K] : Narrow<A[K]>;\r\n} | (A extends Narrowable ? A : never);\r\n\r\nexport declare type Narrowable = string | number | bigint | boolean | [];\r\n\r\nexport declare type NeverToUnknown<T> = [T] extends [never] ? unknown : T;\r\n\r\ndeclare class NullTypesEnumValue extends ObjectEnumValue {\r\n _getNamespace(): string;\r\n}\r\n\r\n/**\r\n * Base class for unique values of object-valued enums.\r\n */\r\nexport declare abstract class ObjectEnumValue {\r\n constructor(arg?: symbol);\r\n abstract _getNamespace(): string;\r\n _getName(): string;\r\n toString(): string;\r\n}\r\n\r\nexport declare const objectEnumValues: {\r\n classes: {\r\n DbNull: typeof DbNull;\r\n JsonNull: typeof JsonNull;\r\n AnyNull: typeof AnyNull;\r\n };\r\n instances: {\r\n DbNull: DbNull;\r\n JsonNull: JsonNull;\r\n AnyNull: AnyNull;\r\n };\r\n};\r\n\r\ndeclare const officialPrismaAdapters: readonly [\"@prisma/adapter-planetscale\", \"@prisma/adapter-neon\", \"@prisma/adapter-libsql\", \"@prisma/adapter-better-sqlite3\", \"@prisma/adapter-d1\", \"@prisma/adapter-pg\", \"@prisma/adapter-mssql\", \"@prisma/adapter-mariadb\"];\r\n\r\nexport declare type Omission = Record<string, boolean | Skip>;\r\n\r\ndeclare type Omit_2<T, K extends string | number | symbol> = {\r\n [P in keyof T as P extends K ? never : P]: T[P];\r\n};\r\nexport { Omit_2 as Omit }\r\n\r\nexport declare type OmitValue<Omit, Key> = Key extends keyof Omit ? Omit[Key] : false;\r\n\r\nexport declare type Operation = 'findFirst' | 'findFirstOrThrow' | 'findUnique' | 'findUniqueOrThrow' | 'findMany' | 'create' | 'createMany' | 'createManyAndReturn' | 'update' | 'updateMany' | 'updateManyAndReturn' | 'upsert' | 'delete' | 'deleteMany' | 'aggregate' | 'count' | 'groupBy' | '$queryRaw' | '$executeRaw' | '$queryRawUnsafe' | '$executeRawUnsafe' | 'findRaw' | 'aggregateRaw' | '$runCommandRaw';\r\n\r\nexport declare type OperationPayload = {\r\n name: string;\r\n scalars: {\r\n [ScalarName in string]: unknown;\r\n };\r\n objects: {\r\n [ObjectName in string]: unknown;\r\n };\r\n composites: {\r\n [CompositeName in string]: unknown;\r\n };\r\n};\r\n\r\nexport declare type Optional<O, K extends keyof any = keyof O> = {\r\n [P in K & keyof O]?: O[P];\r\n} & {\r\n [P in Exclude<keyof O, K>]: O[P];\r\n};\r\n\r\nexport declare type OptionalFlat<T> = {\r\n [K in keyof T]?: T[K];\r\n};\r\n\r\nexport declare type OptionalKeys<O> = {\r\n [K in keyof O]-?: {} extends Pick_2<O, K> ? K : never;\r\n}[keyof O];\r\n\r\ndeclare type Options = {\r\n /** Timeout for starting the transaction */\r\n maxWait?: number;\r\n /** Timeout for the transaction body */\r\n timeout?: number;\r\n /** Transaction isolation level */\r\n isolationLevel?: IsolationLevel_2;\r\n};\r\n\r\ndeclare type Options_2 = {\r\n clientVersion: string;\r\n};\r\n\r\nexport declare type Or<A extends 1 | 0, B extends 1 | 0> = {\r\n 0: {\r\n 0: 0;\r\n 1: 1;\r\n };\r\n 1: {\r\n 0: 1;\r\n 1: 1;\r\n };\r\n}[A][B];\r\n\r\ndeclare type OtherOperationMappings = ReadonlyDeep_2<{\r\n read: string[];\r\n write: string[];\r\n}>;\r\n\r\ndeclare type OutputType = ReadonlyDeep_2<{\r\n name: string;\r\n fields: SchemaField[];\r\n}>;\r\n\r\ndeclare type OutputTypeRef = TypeRef<'scalar' | 'outputObjectTypes' | 'enumTypes'>;\r\n\r\ndeclare type Pagination = {\r\n cursor: Record<string, PrismaValue> | null;\r\n take: number | null;\r\n skip: number | null;\r\n};\r\n\r\nexport declare function Param<$Type, $Value extends string>(name: $Value): Param<$Type, $Value>;\r\n\r\nexport declare type Param<out $Type, $Value extends string> = {\r\n readonly name: $Value;\r\n};\r\n\r\nexport declare type PatchFlat<O1, O2> = O1 & Omit_2<O2, keyof O1>;\r\n\r\nexport declare type Path<O, P, Default = never> = O extends unknown ? P extends [infer K, ...infer R] ? K extends keyof O ? Path<O[K], R> : Default : O : never;\r\n\r\nexport declare type Payload<T, F extends Operation = never> = T extends {\r\n [K: symbol]: {\r\n types: {\r\n payload: any;\r\n };\r\n };\r\n} ? T[symbol]['types']['payload'] : any;\r\n\r\nexport declare type PayloadToResult<P, O extends Record_2<any, any> = RenameAndNestPayloadKeys<P>> = {\r\n [K in keyof O]?: O[K][K] extends any[] ? PayloadToResult<O[K][K][number]>[] : O[K][K] extends object ? PayloadToResult<O[K][K]> : O[K][K];\r\n};\r\n\r\ndeclare type Pick_2<T, K extends string | number | symbol> = {\r\n [P in keyof T as P extends K ? P : never]: T[P];\r\n};\r\nexport { Pick_2 as Pick }\r\n\r\ndeclare interface PlaceholderFormat {\r\n prefix: string;\r\n hasNumbering: boolean;\r\n}\r\n\r\ndeclare type PrimaryKey = ReadonlyDeep_2<{\r\n name: string | null;\r\n fields: string[];\r\n}>;\r\n\r\nexport declare class PrismaClientInitializationError extends Error {\r\n clientVersion: string;\r\n errorCode?: string;\r\n retryable?: boolean;\r\n constructor(message: string, clientVersion: string, errorCode?: string);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\nexport declare class PrismaClientKnownRequestError extends Error implements ErrorWithBatchIndex {\r\n code: string;\r\n meta?: Record<string, unknown>;\r\n clientVersion: string;\r\n batchRequestIdx?: number;\r\n constructor(message: string, { code, clientVersion, meta, batchRequestIdx }: KnownErrorParams);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\nexport declare type PrismaClientOptions = {\r\n /**\r\n * Overwrites the primary datasource url from your schema.prisma file\r\n */\r\n datasourceUrl?: string;\r\n /**\r\n * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-planetscale.\r\n */\r\n adapter?: SqlDriverAdapterFactory | null;\r\n /**\r\n * Overwrites the datasource url from your schema.prisma file\r\n */\r\n datasources?: Datasources;\r\n /**\r\n * @default \"colorless\"\r\n */\r\n errorFormat?: ErrorFormat;\r\n /**\r\n * The default values for Transaction options\r\n * maxWait ?= 2000\r\n * timeout ?= 5000\r\n */\r\n transactionOptions?: Transaction_2.Options;\r\n /**\r\n * @example\r\n * \\`\\`\\`\r\n * // Defaults to stdout\r\n * log: ['query', 'info', 'warn']\r\n *\r\n * // Emit as events\r\n * log: [\r\n * { emit: 'stdout', level: 'query' },\r\n * { emit: 'stdout', level: 'info' },\r\n * { emit: 'stdout', level: 'warn' }\r\n * ]\r\n * \\`\\`\\`\r\n * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/logging#the-log-option).\r\n */\r\n log?: Array<LogLevel | LogDefinition>;\r\n omit?: GlobalOmitOptions;\r\n /**\r\n * @internal\r\n * You probably don't want to use this. \\`__internal\\` is used by internal tooling.\r\n */\r\n __internal?: {\r\n debug?: boolean;\r\n engine?: {\r\n cwd?: string;\r\n binaryPath?: string;\r\n endpoint?: string;\r\n allowTriggerPanic?: boolean;\r\n };\r\n /** This can be used for testing purposes */\r\n configOverride?: (config: GetPrismaClientConfig) => GetPrismaClientConfig;\r\n };\r\n};\r\n\r\nexport declare class PrismaClientRustPanicError extends Error {\r\n clientVersion: string;\r\n constructor(message: string, clientVersion: string);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\nexport declare class PrismaClientUnknownRequestError extends Error implements ErrorWithBatchIndex {\r\n clientVersion: string;\r\n batchRequestIdx?: number;\r\n constructor(message: string, { clientVersion, batchRequestIdx }: UnknownErrorParams);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\nexport declare class PrismaClientValidationError extends Error {\r\n name: string;\r\n clientVersion: string;\r\n constructor(message: string, { clientVersion }: Options_2);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\ndeclare function prismaGraphQLToJSError({ error, user_facing_error }: RequestError, clientVersion: string, activeProvider: string): PrismaClientKnownRequestError | PrismaClientUnknownRequestError;\r\n\r\ndeclare type PrismaOperationSpec<TArgs, TAction = string> = {\r\n args: TArgs;\r\n action: TAction;\r\n model: string;\r\n};\r\n\r\nexport declare interface PrismaPromise<T> extends Promise<T> {\r\n [Symbol.toStringTag]: 'PrismaPromise';\r\n}\r\n\r\n/**\r\n * Prisma's `Promise` that is backwards-compatible. All additions on top of the\r\n * original `Promise` are optional so that it can be backwards-compatible.\r\n * @see [[createPrismaPromise]]\r\n */\r\ndeclare interface PrismaPromise_2<TResult, TSpec extends PrismaOperationSpec<unknown> = any> extends Promise<TResult> {\r\n get spec(): TSpec;\r\n /**\r\n * Extension of the original `.then` function\r\n * @param onfulfilled same as regular promises\r\n * @param onrejected same as regular promises\r\n * @param transaction transaction options\r\n */\r\n then<R1 = TResult, R2 = never>(onfulfilled?: (value: TResult) => R1 | PromiseLike<R1>, onrejected?: (error: unknown) => R2 | PromiseLike<R2>, transaction?: PrismaPromiseTransaction): Promise<R1 | R2>;\r\n /**\r\n * Extension of the original `.catch` function\r\n * @param onrejected same as regular promises\r\n * @param transaction transaction options\r\n */\r\n catch<R = never>(onrejected?: ((reason: any) => R | PromiseLike<R>) | undefined | null, transaction?: PrismaPromiseTransaction): Promise<TResult | R>;\r\n /**\r\n * Extension of the original `.finally` function\r\n * @param onfinally same as regular promises\r\n * @param transaction transaction options\r\n */\r\n finally(onfinally?: (() => void) | undefined | null, transaction?: PrismaPromiseTransaction): Promise<TResult>;\r\n /**\r\n * Called when executing a batch of regular tx\r\n * @param transaction transaction options for batch tx\r\n */\r\n requestTransaction?(transaction: PrismaPromiseBatchTransaction): PromiseLike<unknown>;\r\n}\r\n\r\ndeclare type PrismaPromiseBatchTransaction = {\r\n kind: 'batch';\r\n id: number;\r\n isolationLevel?: IsolationLevel_2;\r\n index: number;\r\n lock: PromiseLike<void>;\r\n};\r\n\r\ndeclare type PrismaPromiseCallback = (transaction?: PrismaPromiseTransaction) => Promise<unknown>;\r\n\r\n/**\r\n * Creates a [[PrismaPromise]]. It is Prisma's implementation of `Promise` which\r\n * is essentially a proxy for `Promise`. All the transaction-compatible client\r\n * methods return one, this allows for pre-preparing queries without executing\r\n * them until `.then` is called. It's the foundation of Prisma's query batching.\r\n * @param callback that will be wrapped within our promise implementation\r\n * @see [[PrismaPromise]]\r\n * @returns\r\n */\r\ndeclare type PrismaPromiseFactory = <T extends PrismaOperationSpec<unknown>>(callback: PrismaPromiseCallback, op?: T) => PrismaPromise_2<unknown>;\r\n\r\ndeclare type PrismaPromiseInteractiveTransaction<PayloadType = unknown> = {\r\n kind: 'itx';\r\n id: string;\r\n payload: PayloadType;\r\n};\r\n\r\ndeclare type PrismaPromiseTransaction<PayloadType = unknown> = PrismaPromiseBatchTransaction | PrismaPromiseInteractiveTransaction<PayloadType>;\r\n\r\ndeclare type PrismaValue = string | boolean | number | PrismaValue[] | null | Record<string, unknown> | PrismaValuePlaceholder | PrismaValueGenerator;\r\n\r\ndeclare type PrismaValueGenerator = {\r\n prisma__type: 'generatorCall';\r\n prisma__value: {\r\n name: string;\r\n args: PrismaValue[];\r\n };\r\n};\r\n\r\ndeclare type PrismaValuePlaceholder = {\r\n prisma__type: 'param';\r\n prisma__value: {\r\n name: string;\r\n type: string;\r\n };\r\n};\r\n\r\nexport declare const PrivateResultType: unique symbol;\r\n\r\ndeclare type Provider = 'mysql' | 'postgres' | 'sqlite' | 'sqlserver';\r\n\r\ndeclare namespace Public {\r\n export {\r\n validator\r\n }\r\n}\r\nexport { Public }\r\n\r\ndeclare namespace Public_2 {\r\n export {\r\n Args,\r\n Result,\r\n Payload,\r\n PrismaPromise,\r\n Operation,\r\n Exact\r\n }\r\n}\r\n\r\ndeclare type Query = ReadonlyDeep_2<{\r\n name: string;\r\n args: SchemaArg[];\r\n output: QueryOutput;\r\n}>;\r\n\r\ndeclare interface Queryable<Query, Result> extends AdapterInfo {\r\n /**\r\n * Execute a query and return its result.\r\n */\r\n queryRaw(params: Query): Promise<Result>;\r\n /**\r\n * Execute a query and return the number of affected rows.\r\n */\r\n executeRaw(params: Query): Promise<number>;\r\n}\r\n\r\ndeclare type QueryCompiler = {\r\n compile(request: string): {};\r\n compileBatch(batchRequest: string): BatchResponse;\r\n free(): void;\r\n};\r\n\r\ndeclare interface QueryCompilerConstructor {\r\n new (options: QueryCompilerOptions): QueryCompiler;\r\n}\r\n\r\ndeclare type QueryCompilerOptions = {\r\n datamodel: string;\r\n provider: Provider;\r\n connectionInfo: ConnectionInfo;\r\n};\r\n\r\ndeclare type QueryEngineBatchGraphQLRequest = {\r\n batch: QueryEngineRequest[];\r\n transaction?: boolean;\r\n isolationLevel?: IsolationLevel_2;\r\n};\r\n\r\ndeclare type QueryEngineBatchRequest = QueryEngineBatchGraphQLRequest | JsonBatchQuery;\r\n\r\ndeclare type QueryEngineConfig = {\r\n datamodel: string;\r\n configDir: string;\r\n logQueries: boolean;\r\n ignoreEnvVarErrors: boolean;\r\n datasourceOverrides: Record<string, string>;\r\n env: Record<string, string | undefined>;\r\n logLevel: QueryEngineLogLevel;\r\n engineProtocol: QueryEngineProtocol;\r\n enableTracing: boolean;\r\n};\r\n\r\ndeclare interface QueryEngineConstructor {\r\n new (config: QueryEngineConfig, logger: (log: string) => void, adapter?: ErrorCapturingSqlDriverAdapter): QueryEngineInstance;\r\n}\r\n\r\ndeclare type QueryEngineInstance = {\r\n connect(headers: string, requestId: string): Promise<void>;\r\n disconnect(headers: string, requestId: string): Promise<void>;\r\n /**\r\n * Frees any resources allocated by the engine's WASM instance. This method is automatically created by WASM bindgen.\r\n * Noop for other engines.\r\n */\r\n free?(): void;\r\n /**\r\n * @param requestStr JSON.stringified `QueryEngineRequest | QueryEngineBatchRequest`\r\n * @param headersStr JSON.stringified `QueryEngineRequestHeaders`\r\n */\r\n query(requestStr: string, headersStr: string, transactionId: string | undefined, requestId: string): Promise<string>;\r\n sdlSchema?(): Promise<string>;\r\n startTransaction(options: string, traceHeaders: string, requestId: string): Promise<string>;\r\n commitTransaction(id: string, traceHeaders: string, requestId: string): Promise<string>;\r\n rollbackTransaction(id: string, traceHeaders: string, requestId: string): Promise<string>;\r\n metrics?(options: string): Promise<string>;\r\n applyPendingMigrations?(): Promise<void>;\r\n trace(requestId: string): Promise<string | null>;\r\n};\r\n\r\ndeclare type QueryEngineLogLevel = 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'off';\r\n\r\ndeclare type QueryEngineProtocol = 'graphql' | 'json';\r\n\r\ndeclare type QueryEngineRequest = {\r\n query: string;\r\n variables: Object;\r\n};\r\n\r\ndeclare type QueryEngineResultData<T> = {\r\n data: T;\r\n};\r\n\r\ndeclare type QueryEvent = {\r\n timestamp: Date;\r\n query: string;\r\n params: string;\r\n duration: number;\r\n target: string;\r\n};\r\n\r\ndeclare type QueryEventType = 'query';\r\n\r\ndeclare type QueryIntrospectionBuiltinType = 'int' | 'bigint' | 'float' | 'double' | 'string' | 'enum' | 'bytes' | 'bool' | 'char' | 'decimal' | 'json' | 'xml' | 'uuid' | 'datetime' | 'date' | 'time' | 'int-array' | 'bigint-array' | 'float-array' | 'double-array' | 'string-array' | 'char-array' | 'bytes-array' | 'bool-array' | 'decimal-array' | 'json-array' | 'xml-array' | 'uuid-array' | 'datetime-array' | 'date-array' | 'time-array' | 'null' | 'unknown';\r\n\r\ndeclare type QueryMiddlewareParams = {\r\n /** The model this is executed on */\r\n model?: string;\r\n /** The action that is being handled */\r\n action: Action;\r\n /** TODO what is this */\r\n dataPath: string[];\r\n /** TODO what is this */\r\n runInTransaction: boolean;\r\n args?: UserArgs_2;\r\n};\r\n\r\nexport declare type QueryOptions = {\r\n query: {\r\n [ModelName in string]: {\r\n [ModelAction in string]: ModelQueryOptionsCb;\r\n } | QueryOptionsCb;\r\n };\r\n};\r\n\r\nexport declare type QueryOptionsCb = (args: QueryOptionsCbArgs) => Promise<any>;\r\n\r\nexport declare type QueryOptionsCbArgs = {\r\n model?: string;\r\n operation: string;\r\n args: JsArgs | RawQueryArgs;\r\n query: (args: JsArgs | RawQueryArgs) => Promise<unknown>;\r\n};\r\n\r\ndeclare type QueryOutput = ReadonlyDeep_2<{\r\n name: string;\r\n isRequired: boolean;\r\n isList: boolean;\r\n}>;\r\n\r\ndeclare type QueryPlanBinding = {\r\n name: string;\r\n expr: QueryPlanNode;\r\n};\r\n\r\ndeclare type QueryPlanDbQuery = {\r\n type: 'rawSql';\r\n sql: string;\r\n args: PrismaValue[];\r\n argTypes: ArgType[];\r\n} | {\r\n type: 'templateSql';\r\n fragments: Fragment[];\r\n placeholderFormat: PlaceholderFormat;\r\n args: PrismaValue[];\r\n argTypes: DynamicArgType[];\r\n chunkable: boolean;\r\n};\r\n\r\ndeclare type QueryPlanNode = {\r\n type: 'value';\r\n args: PrismaValue;\r\n} | {\r\n type: 'seq';\r\n args: QueryPlanNode[];\r\n} | {\r\n type: 'get';\r\n args: {\r\n name: string;\r\n };\r\n} | {\r\n type: 'let';\r\n args: {\r\n bindings: QueryPlanBinding[];\r\n expr: QueryPlanNode;\r\n };\r\n} | {\r\n type: 'getFirstNonEmpty';\r\n args: {\r\n names: string[];\r\n };\r\n} | {\r\n type: 'query';\r\n args: QueryPlanDbQuery;\r\n} | {\r\n type: 'execute';\r\n args: QueryPlanDbQuery;\r\n} | {\r\n type: 'reverse';\r\n args: QueryPlanNode;\r\n} | {\r\n type: 'sum';\r\n args: QueryPlanNode[];\r\n} | {\r\n type: 'concat';\r\n args: QueryPlanNode[];\r\n} | {\r\n type: 'unique';\r\n args: QueryPlanNode;\r\n} | {\r\n type: 'required';\r\n args: QueryPlanNode;\r\n} | {\r\n type: 'join';\r\n args: {\r\n parent: QueryPlanNode;\r\n children: JoinExpression[];\r\n };\r\n} | {\r\n type: 'mapField';\r\n args: {\r\n field: string;\r\n records: QueryPlanNode;\r\n };\r\n} | {\r\n type: 'transaction';\r\n args: QueryPlanNode;\r\n} | {\r\n type: 'dataMap';\r\n args: {\r\n expr: QueryPlanNode;\r\n structure: ResultNode;\r\n enums: Record<string, Record<string, string>>;\r\n };\r\n} | {\r\n type: 'validate';\r\n args: {\r\n expr: QueryPlanNode;\r\n rules: DataRule[];\r\n } & ValidationError;\r\n} | {\r\n type: 'if';\r\n args: {\r\n value: QueryPlanNode;\r\n rule: DataRule;\r\n then: QueryPlanNode;\r\n else: QueryPlanNode;\r\n };\r\n} | {\r\n type: 'unit';\r\n} | {\r\n type: 'diff';\r\n args: {\r\n from: QueryPlanNode;\r\n to: QueryPlanNode;\r\n };\r\n} | {\r\n type: 'initializeRecord';\r\n args: {\r\n expr: QueryPlanNode;\r\n fields: Record<string, FieldInitializer>;\r\n };\r\n} | {\r\n type: 'mapRecord';\r\n args: {\r\n expr: QueryPlanNode;\r\n fields: Record<string, FieldOperation>;\r\n };\r\n} | {\r\n type: 'process';\r\n args: {\r\n expr: QueryPlanNode;\r\n operations: InMemoryOps;\r\n };\r\n};\r\n\r\n/**\r\n * Create raw SQL statement.\r\n */\r\nexport declare function raw(value: string): Sql;\r\n\r\nexport declare type RawParameters = {\r\n __prismaRawParameters__: true;\r\n values: string;\r\n};\r\n\r\nexport declare type RawQueryArgs = Sql | UnknownTypedSql | [query: string, ...values: RawValue[]];\r\n\r\ndeclare type RawResponse = {\r\n columns: string[];\r\n types: QueryIntrospectionBuiltinType[];\r\n rows: unknown[][];\r\n};\r\n\r\ndeclare type RawTaggedValue = {\r\n $type: 'Raw';\r\n value: unknown;\r\n};\r\n\r\n/**\r\n * Supported value or SQL instance.\r\n */\r\nexport declare type RawValue = Value | Sql;\r\n\r\nexport declare type ReadonlyDeep<T> = {\r\n readonly [K in keyof T]: ReadonlyDeep<T[K]>;\r\n};\r\n\r\ndeclare type ReadonlyDeep_2<O> = {\r\n +readonly [K in keyof O]: ReadonlyDeep_2<O[K]>;\r\n};\r\n\r\ndeclare type Record_2<T extends string | number | symbol, U> = {\r\n [P in T]: U;\r\n};\r\nexport { Record_2 as Record }\r\n\r\nexport declare type RenameAndNestPayloadKeys<P> = {\r\n [K in keyof P as K extends 'scalars' | 'objects' | 'composites' ? keyof P[K] : never]: P[K];\r\n};\r\n\r\ndeclare type RequestBatchOptions<InteractiveTransactionPayload> = {\r\n transaction?: TransactionOptions_2<InteractiveTransactionPayload>;\r\n traceparent?: string;\r\n numTry?: number;\r\n containsWrite: boolean;\r\n customDataProxyFetch?: AccelerateExtensionFetchDecorator;\r\n};\r\n\r\ndeclare interface RequestError {\r\n error: string;\r\n user_facing_error: {\r\n is_panic: boolean;\r\n message: string;\r\n meta?: Record<string, unknown>;\r\n error_code?: string;\r\n batch_request_idx?: number;\r\n };\r\n}\r\n\r\ndeclare class RequestHandler {\r\n client: Client;\r\n dataloader: DataLoader<RequestParams>;\r\n private logEmitter?;\r\n constructor(client: Client, logEmitter?: LogEmitter);\r\n request(params: RequestParams): Promise<any>;\r\n mapQueryEngineResult({ dataPath, unpacker }: RequestParams, response: QueryEngineResultData<any>): any;\r\n /**\r\n * Handles the error and logs it, logging the error is done synchronously waiting for the event\r\n * handlers to finish.\r\n */\r\n handleAndLogRequestError(params: HandleErrorParams): never;\r\n handleRequestError({ error, clientMethod, callsite, transaction, args, modelName, globalOmit, }: HandleErrorParams): never;\r\n sanitizeMessage(message: any): any;\r\n unpack(data: unknown, dataPath: string[], unpacker?: Unpacker): any;\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\ndeclare type RequestOptions<InteractiveTransactionPayload> = {\r\n traceparent?: string;\r\n numTry?: number;\r\n interactiveTransaction?: InteractiveTransactionOptions<InteractiveTransactionPayload>;\r\n isWrite: boolean;\r\n customDataProxyFetch?: AccelerateExtensionFetchDecorator;\r\n};\r\n\r\ndeclare type RequestParams = {\r\n modelName?: string;\r\n action: Action;\r\n protocolQuery: JsonQuery;\r\n dataPath: string[];\r\n clientMethod: string;\r\n callsite?: CallSite;\r\n transaction?: PrismaPromiseTransaction;\r\n extensions: MergedExtensionsList;\r\n args?: any;\r\n headers?: Record<string, string>;\r\n unpacker?: Unpacker;\r\n otelParentCtx?: Context;\r\n otelChildCtx?: Context;\r\n globalOmit?: GlobalOmitOptions;\r\n customDataProxyFetch?: AccelerateExtensionFetchDecorator;\r\n};\r\n\r\ndeclare type RequiredExtensionArgs = NameArgs & ResultArgs & ModelArgs & ClientArgs & QueryOptions;\r\nexport { RequiredExtensionArgs }\r\nexport { RequiredExtensionArgs as UserArgs }\r\n\r\nexport declare type RequiredKeys<O> = {\r\n [K in keyof O]-?: {} extends Pick_2<O, K> ? never : K;\r\n}[keyof O];\r\n\r\ndeclare function resolveDatasourceUrl({ inlineDatasources, overrideDatasources, env, clientVersion, }: {\r\n inlineDatasources: GetPrismaClientConfig['inlineDatasources'];\r\n overrideDatasources: Datasources;\r\n env: Record<string, string | undefined>;\r\n clientVersion: string;\r\n}): string;\r\n\r\nexport declare type Result<T, A, F extends Operation> = T extends {\r\n [K: symbol]: {\r\n types: {\r\n payload: any;\r\n };\r\n };\r\n} ? GetResult<T[symbol]['types']['payload'], A, F> : GetResult<{\r\n composites: {};\r\n objects: {};\r\n scalars: {};\r\n name: '';\r\n}, {}, F>;\r\n\r\nexport declare type Result_2<T, A, F extends Operation> = Result<T, A, F>;\r\n\r\ndeclare namespace Result_3 {\r\n export {\r\n Count,\r\n GetFindResult,\r\n SelectablePayloadFields,\r\n SelectField,\r\n DefaultSelection,\r\n UnwrapPayload,\r\n ApplyOmit,\r\n OmitValue,\r\n GetCountResult,\r\n Aggregate,\r\n GetAggregateResult,\r\n GetBatchResult,\r\n GetGroupByResult,\r\n GetResult,\r\n ExtractGlobalOmit\r\n }\r\n}\r\n\r\ndeclare type Result_4<T> = {\r\n map<U>(fn: (value: T) => U): Result_4<U>;\r\n flatMap<U>(fn: (value: T) => Result_4<U>): Result_4<U>;\r\n} & ({\r\n readonly ok: true;\r\n readonly value: T;\r\n} | {\r\n readonly ok: false;\r\n readonly error: Error_2;\r\n});\r\n\r\nexport declare type ResultArg = {\r\n [FieldName in string]: ResultFieldDefinition;\r\n};\r\n\r\nexport declare type ResultArgs = {\r\n result: {\r\n [ModelName in string]: ResultArg;\r\n };\r\n};\r\n\r\nexport declare type ResultArgsFieldCompute = (model: any) => unknown;\r\n\r\nexport declare type ResultFieldDefinition = {\r\n needs?: {\r\n [FieldName in string]: boolean;\r\n };\r\n compute: ResultArgsFieldCompute;\r\n};\r\n\r\ndeclare type ResultNode = {\r\n type: 'affectedRows';\r\n} | {\r\n type: 'object';\r\n fields: Record<string, ResultNode>;\r\n serializedName: string | null;\r\n skipNulls: boolean;\r\n} | {\r\n type: 'field';\r\n dbName: string;\r\n fieldType: FieldType;\r\n};\r\n\r\nexport declare type Return<T> = T extends (...args: any[]) => infer R ? R : T;\r\n\r\nexport declare type RuntimeDataModel = {\r\n readonly models: Record<string, RuntimeModel>;\r\n readonly enums: Record<string, RuntimeEnum>;\r\n readonly types: Record<string, RuntimeModel>;\r\n};\r\n\r\ndeclare type RuntimeEnum = Omit<DMMF_2.DatamodelEnum, 'name'>;\r\n\r\ndeclare type RuntimeModel = Omit<DMMF_2.Model, 'name'>;\r\n\r\ndeclare type RuntimeName = 'workerd' | 'deno' | 'netlify' | 'node' | 'bun' | 'edge-light' | '';\r\n\r\ndeclare type Schema = ReadonlyDeep_2<{\r\n rootQueryType?: string;\r\n rootMutationType?: string;\r\n inputObjectTypes: {\r\n model?: InputType[];\r\n prisma?: InputType[];\r\n };\r\n outputObjectTypes: {\r\n model: OutputType[];\r\n prisma: OutputType[];\r\n };\r\n enumTypes: {\r\n model?: SchemaEnum[];\r\n prisma: SchemaEnum[];\r\n };\r\n fieldRefTypes: {\r\n prisma?: FieldRefType[];\r\n };\r\n}>;\r\n\r\ndeclare type SchemaArg = ReadonlyDeep_2<{\r\n name: string;\r\n comment?: string;\r\n isNullable: boolean;\r\n isRequired: boolean;\r\n inputTypes: InputTypeRef[];\r\n requiresOtherFields?: string[];\r\n deprecation?: Deprecation;\r\n}>;\r\n\r\ndeclare type SchemaEnum = ReadonlyDeep_2<{\r\n name: string;\r\n values: string[];\r\n}>;\r\n\r\ndeclare type SchemaField = ReadonlyDeep_2<{\r\n name: string;\r\n isNullable?: boolean;\r\n outputType: OutputTypeRef;\r\n args: SchemaArg[];\r\n deprecation?: Deprecation;\r\n documentation?: string;\r\n}>;\r\n\r\nexport declare type Select<T, U> = T extends U ? T : never;\r\n\r\nexport declare type SelectablePayloadFields<K extends PropertyKey, O> = {\r\n objects: {\r\n [k in K]: O;\r\n };\r\n} | {\r\n composites: {\r\n [k in K]: O;\r\n };\r\n};\r\n\r\nexport declare type SelectField<P extends SelectablePayloadFields<any, any>, K extends PropertyKey> = P extends {\r\n objects: Record<K, any>;\r\n} ? P['objects'][K] : P extends {\r\n composites: Record<K, any>;\r\n} ? P['composites'][K] : never;\r\n\r\ndeclare type Selection_2 = Record<string, boolean | Skip | JsArgs>;\r\nexport { Selection_2 as Selection }\r\n\r\nexport declare function serializeJsonQuery({ modelName, action, args, runtimeDataModel, extensions, callsite, clientMethod, errorFormat, clientVersion, previewFeatures, globalOmit, }: SerializeParams): JsonQuery;\r\n\r\ndeclare type SerializeParams = {\r\n runtimeDataModel: RuntimeDataModel;\r\n modelName?: string;\r\n action: Action;\r\n args?: JsArgs;\r\n extensions?: MergedExtensionsList;\r\n callsite?: CallSite;\r\n clientMethod: string;\r\n clientVersion: string;\r\n errorFormat: ErrorFormat;\r\n previewFeatures: string[];\r\n globalOmit?: GlobalOmitOptions;\r\n};\r\n\r\ndeclare class Skip {\r\n constructor(param?: symbol);\r\n ifUndefined<T>(value: T | undefined): T | Skip;\r\n}\r\n\r\nexport declare const skip: Skip;\r\n\r\ndeclare type SortOrder = 'asc' | 'desc';\r\n\r\n/**\r\n * An interface that represents a span. A span represents a single operation\r\n * within a trace. Examples of span might include remote procedure calls or a\r\n * in-process function calls to sub-components. A Trace has a single, top-level\r\n * \"root\" Span that in turn may have zero or more child Spans, which in turn\r\n * may have children.\r\n *\r\n * Spans are created by the {@link Tracer.startSpan} method.\r\n */\r\ndeclare interface Span {\r\n /**\r\n * Returns the {@link SpanContext} object associated with this Span.\r\n *\r\n * Get an immutable, serializable identifier for this span that can be used\r\n * to create new child spans. Returned SpanContext is usable even after the\r\n * span ends.\r\n *\r\n * @returns the SpanContext object associated with this Span.\r\n */\r\n spanContext(): SpanContext;\r\n /**\r\n * Sets an attribute to the span.\r\n *\r\n * Sets a single Attribute with the key and value passed as arguments.\r\n *\r\n * @param key the key for this attribute.\r\n * @param value the value for this attribute. Setting a value null or\r\n * undefined is invalid and will result in undefined behavior.\r\n */\r\n setAttribute(key: string, value: SpanAttributeValue): this;\r\n /**\r\n * Sets attributes to the span.\r\n *\r\n * @param attributes the attributes that will be added.\r\n * null or undefined attribute values\r\n * are invalid and will result in undefined behavior.\r\n */\r\n setAttributes(attributes: SpanAttributes): this;\r\n /**\r\n * Adds an event to the Span.\r\n *\r\n * @param name the name of the event.\r\n * @param [attributesOrStartTime] the attributes that will be added; these are\r\n * associated with this event. Can be also a start time\r\n * if type is {@type TimeInput} and 3rd param is undefined\r\n * @param [startTime] start time of the event.\r\n */\r\n addEvent(name: string, attributesOrStartTime?: SpanAttributes | TimeInput, startTime?: TimeInput): this;\r\n /**\r\n * Adds a single link to the span.\r\n *\r\n * Links added after the creation will not affect the sampling decision.\r\n * It is preferred span links be added at span creation.\r\n *\r\n * @param link the link to add.\r\n */\r\n addLink(link: Link): this;\r\n /**\r\n * Adds multiple links to the span.\r\n *\r\n * Links added after the creation will not affect the sampling decision.\r\n * It is preferred span links be added at span creation.\r\n *\r\n * @param links the links to add.\r\n */\r\n addLinks(links: Link[]): this;\r\n /**\r\n * Sets a status to the span. If used, this will override the default Span\r\n * status. Default is {@link SpanStatusCode.UNSET}. SetStatus overrides the value\r\n * of previous calls to SetStatus on the Span.\r\n *\r\n * @param status the SpanStatus to set.\r\n */\r\n setStatus(status: SpanStatus): this;\r\n /**\r\n * Updates the Span name.\r\n *\r\n * This will override the name provided via {@link Tracer.startSpan}.\r\n *\r\n * Upon this update, any sampling behavior based on Span name will depend on\r\n * the implementation.\r\n *\r\n * @param name the Span name.\r\n */\r\n updateName(name: string): this;\r\n /**\r\n * Marks the end of Span execution.\r\n *\r\n * Call to End of a Span MUST not have any effects on child spans. Those may\r\n * still be running and can be ended later.\r\n *\r\n * Do not return `this`. The Span generally should not be used after it\r\n * is ended so chaining is not desired in this context.\r\n *\r\n * @param [endTime] the time to set as Span's end time. If not provided,\r\n * use the current time as the span's end time.\r\n */\r\n end(endTime?: TimeInput): void;\r\n /**\r\n * Returns the flag whether this span will be recorded.\r\n *\r\n * @returns true if this Span is active and recording information like events\r\n * with the `AddEvent` operation and attributes using `setAttributes`.\r\n */\r\n isRecording(): boolean;\r\n /**\r\n * Sets exception as a span event\r\n * @param exception the exception the only accepted values are string or Error\r\n * @param [time] the time to set as Span's event time. If not provided,\r\n * use the current time.\r\n */\r\n recordException(exception: Exception, time?: TimeInput): void;\r\n}\r\n\r\n/**\r\n * @deprecated please use {@link Attributes}\r\n */\r\ndeclare type SpanAttributes = Attributes;\r\n\r\n/**\r\n * @deprecated please use {@link AttributeValue}\r\n */\r\ndeclare type SpanAttributeValue = AttributeValue;\r\n\r\ndeclare type SpanCallback<R> = (span?: Span, context?: Context) => R;\r\n\r\n/**\r\n * A SpanContext represents the portion of a {@link Span} which must be\r\n * serialized and propagated along side of a {@link Baggage}.\r\n */\r\ndeclare interface SpanContext {\r\n /**\r\n * The ID of the trace that this span belongs to. It is worldwide unique\r\n * with practically sufficient probability by being made as 16 randomly\r\n * generated bytes, encoded as a 32 lowercase hex characters corresponding to\r\n * 128 bits.\r\n */\r\n traceId: string;\r\n /**\r\n * The ID of the Span. It is globally unique with practically sufficient\r\n * probability by being made as 8 randomly generated bytes, encoded as a 16\r\n * lowercase hex characters corresponding to 64 bits.\r\n */\r\n spanId: string;\r\n /**\r\n * Only true if the SpanContext was propagated from a remote parent.\r\n */\r\n isRemote?: boolean;\r\n /**\r\n * Trace flags to propagate.\r\n *\r\n * It is represented as 1 byte (bitmap). Bit to represent whether trace is\r\n * sampled or not. When set, the least significant bit documents that the\r\n * caller may have recorded trace data. A caller who does not record trace\r\n * data out-of-band leaves this flag unset.\r\n *\r\n * see {@link TraceFlags} for valid flag values.\r\n */\r\n traceFlags: number;\r\n /**\r\n * Tracing-system-specific info to propagate.\r\n *\r\n * The tracestate field value is a `list` as defined below. The `list` is a\r\n * series of `list-members` separated by commas `,`, and a list-member is a\r\n * key/value pair separated by an equals sign `=`. Spaces and horizontal tabs\r\n * surrounding `list-members` are ignored. There can be a maximum of 32\r\n * `list-members` in a `list`.\r\n * More Info: https://www.w3.org/TR/trace-context/#tracestate-field\r\n *\r\n * Examples:\r\n * Single tracing system (generic format):\r\n * tracestate: rojo=00f067aa0ba902b7\r\n * Multiple tracing systems (with different formatting):\r\n * tracestate: rojo=00f067aa0ba902b7,congo=t61rcWkgMzE\r\n */\r\n traceState?: TraceState;\r\n}\r\n\r\ndeclare enum SpanKind {\r\n /** Default value. Indicates that the span is used internally. */\r\n INTERNAL = 0,\r\n /**\r\n * Indicates that the span covers server-side handling of an RPC or other\r\n * remote request.\r\n */\r\n SERVER = 1,\r\n /**\r\n * Indicates that the span covers the client-side wrapper around an RPC or\r\n * other remote request.\r\n */\r\n CLIENT = 2,\r\n /**\r\n * Indicates that the span describes producer sending a message to a\r\n * broker. Unlike client and server, there is no direct critical path latency\r\n * relationship between producer and consumer spans.\r\n */\r\n PRODUCER = 3,\r\n /**\r\n * Indicates that the span describes consumer receiving a message from a\r\n * broker. Unlike client and server, there is no direct critical path latency\r\n * relationship between producer and consumer spans.\r\n */\r\n CONSUMER = 4\r\n}\r\n\r\n/**\r\n * Options needed for span creation\r\n */\r\ndeclare interface SpanOptions {\r\n /**\r\n * The SpanKind of a span\r\n * @default {@link SpanKind.INTERNAL}\r\n */\r\n kind?: SpanKind;\r\n /** A span's attributes */\r\n attributes?: SpanAttributes;\r\n /** {@link Link}s span to other spans */\r\n links?: Link[];\r\n /** A manually specified start time for the created `Span` object. */\r\n startTime?: TimeInput;\r\n /** The new span should be a root span. (Ignore parent from context). */\r\n root?: boolean;\r\n}\r\n\r\ndeclare interface SpanStatus {\r\n /** The status code of this message. */\r\n code: SpanStatusCode;\r\n /** A developer-facing error message. */\r\n message?: string;\r\n}\r\n\r\n/**\r\n * An enumeration of status codes.\r\n */\r\ndeclare enum SpanStatusCode {\r\n /**\r\n * The default status.\r\n */\r\n UNSET = 0,\r\n /**\r\n * The operation has been validated by an Application developer or\r\n * Operator to have completed successfully.\r\n */\r\n OK = 1,\r\n /**\r\n * The operation contains an error.\r\n */\r\n ERROR = 2\r\n}\r\n\r\n/**\r\n * A SQL instance can be nested within each other to build SQL strings.\r\n */\r\nexport declare class Sql {\r\n readonly values: Value[];\r\n readonly strings: string[];\r\n constructor(rawStrings: readonly string[], rawValues: readonly RawValue[]);\r\n get sql(): string;\r\n get statement(): string;\r\n get text(): string;\r\n inspect(): {\r\n sql: string;\r\n statement: string;\r\n text: string;\r\n values: unknown[];\r\n };\r\n}\r\n\r\ndeclare interface SqlDriverAdapter extends SqlQueryable {\r\n /**\r\n * Execute multiple SQL statements separated by semicolon.\r\n */\r\n executeScript(script: string): Promise<void>;\r\n /**\r\n * Start new transaction.\r\n */\r\n startTransaction(isolationLevel?: IsolationLevel): Promise<Transaction>;\r\n /**\r\n * Optional method that returns extra connection info\r\n */\r\n getConnectionInfo?(): ConnectionInfo;\r\n /**\r\n * Dispose of the connection and release any resources.\r\n */\r\n dispose(): Promise<void>;\r\n}\r\n\r\nexport declare interface SqlDriverAdapterFactory extends DriverAdapterFactory<SqlQuery, SqlResultSet> {\r\n connect(): Promise<SqlDriverAdapter>;\r\n}\r\n\r\ndeclare type SqlQuery = {\r\n sql: string;\r\n args: Array<unknown>;\r\n argTypes: Array<ArgType>;\r\n};\r\n\r\ndeclare interface SqlQueryable extends Queryable<SqlQuery, SqlResultSet> {\r\n}\r\n\r\ndeclare interface SqlResultSet {\r\n /**\r\n * List of column types appearing in a database query, in the same order as `columnNames`.\r\n * They are used within the Query Engine to convert values from JS to Quaint values.\r\n */\r\n columnTypes: Array<ColumnType>;\r\n /**\r\n * List of column names appearing in a database query, in the same order as `columnTypes`.\r\n */\r\n columnNames: Array<string>;\r\n /**\r\n * List of rows retrieved from a database query.\r\n * Each row is a list of values, whose length matches `columnNames` and `columnTypes`.\r\n */\r\n rows: Array<Array<unknown>>;\r\n /**\r\n * The last ID of an `INSERT` statement, if any.\r\n * This is required for `AUTO_INCREMENT` columns in databases based on MySQL and SQLite.\r\n */\r\n lastInsertId?: string;\r\n}\r\n\r\n/**\r\n * Create a SQL object from a template string.\r\n */\r\nexport declare function sqltag(strings: readonly string[], ...values: readonly RawValue[]): Sql;\r\n\r\n/**\r\n * Defines TimeInput.\r\n *\r\n * hrtime, epoch milliseconds, performance.now() or Date\r\n */\r\ndeclare type TimeInput = HrTime_2 | number | Date;\r\n\r\nexport declare type ToTuple<T> = T extends any[] ? T : [T];\r\n\r\ndeclare interface TraceState {\r\n /**\r\n * Create a new TraceState which inherits from this TraceState and has the\r\n * given key set.\r\n * The new entry will always be added in the front of the list of states.\r\n *\r\n * @param key key of the TraceState entry.\r\n * @param value value of the TraceState entry.\r\n */\r\n set(key: string, value: string): TraceState;\r\n /**\r\n * Return a new TraceState which inherits from this TraceState but does not\r\n * contain the given key.\r\n *\r\n * @param key the key for the TraceState entry to be removed.\r\n */\r\n unset(key: string): TraceState;\r\n /**\r\n * Returns the value to which the specified key is mapped, or `undefined` if\r\n * this map contains no mapping for the key.\r\n *\r\n * @param key with which the specified value is to be associated.\r\n * @returns the value to which the specified key is mapped, or `undefined` if\r\n * this map contains no mapping for the key.\r\n */\r\n get(key: string): string | undefined;\r\n /**\r\n * Serializes the TraceState to a `list` as defined below. The `list` is a\r\n * series of `list-members` separated by commas `,`, and a list-member is a\r\n * key/value pair separated by an equals sign `=`. Spaces and horizontal tabs\r\n * surrounding `list-members` are ignored. There can be a maximum of 32\r\n * `list-members` in a `list`.\r\n *\r\n * @returns the serialized string.\r\n */\r\n serialize(): string;\r\n}\r\n\r\ndeclare interface TracingHelper {\r\n isEnabled(): boolean;\r\n getTraceParent(context?: Context): string;\r\n dispatchEngineSpans(spans: EngineSpan[]): void;\r\n getActiveContext(): Context | undefined;\r\n runInChildSpan<R>(nameOrOptions: string | ExtendedSpanOptions, callback: SpanCallback<R>): R;\r\n}\r\n\r\ndeclare interface Transaction extends AdapterInfo, SqlQueryable {\r\n /**\r\n * Transaction options.\r\n */\r\n readonly options: TransactionOptions;\r\n /**\r\n * Commit the transaction.\r\n */\r\n commit(): Promise<void>;\r\n /**\r\n * Roll back the transaction.\r\n */\r\n rollback(): Promise<void>;\r\n}\r\n\r\ndeclare namespace Transaction_2 {\r\n export {\r\n Options,\r\n IsolationLevel_2 as IsolationLevel,\r\n InteractiveTransactionInfo,\r\n TransactionHeaders\r\n }\r\n}\r\n\r\ndeclare type TransactionHeaders = {\r\n traceparent?: string;\r\n};\r\n\r\ndeclare type TransactionOptions = {\r\n usePhantomQuery: boolean;\r\n};\r\n\r\ndeclare type TransactionOptions_2<InteractiveTransactionPayload> = {\r\n kind: 'itx';\r\n options: InteractiveTransactionOptions<InteractiveTransactionPayload>;\r\n} | {\r\n kind: 'batch';\r\n options: BatchTransactionOptions;\r\n};\r\n\r\nexport declare class TypedSql<Values extends readonly unknown[], Result> {\r\n [PrivateResultType]: Result;\r\n constructor(sql: string, values: Values);\r\n get sql(): string;\r\n get values(): Values;\r\n}\r\n\r\nexport declare type TypeMapCbDef = Fn<{\r\n extArgs: InternalArgs;\r\n}, TypeMapDef>;\r\n\r\n/** Shared */\r\nexport declare type TypeMapDef = Record<any, any>;\r\n\r\ndeclare type TypeRef<AllowedLocations extends FieldLocation> = {\r\n isList: boolean;\r\n type: string;\r\n location: AllowedLocations;\r\n namespace?: FieldNamespace;\r\n};\r\n\r\ndeclare namespace Types {\r\n export {\r\n Result_3 as Result,\r\n Extensions_2 as Extensions,\r\n Utils,\r\n Public_2 as Public,\r\n isSkip,\r\n Skip,\r\n skip,\r\n UnknownTypedSql,\r\n OperationPayload as Payload\r\n }\r\n}\r\nexport { Types }\r\n\r\ndeclare type uniqueIndex = ReadonlyDeep_2<{\r\n name: string;\r\n fields: string[];\r\n}>;\r\n\r\ndeclare type UnknownErrorParams = {\r\n clientVersion: string;\r\n batchRequestIdx?: number;\r\n};\r\n\r\nexport declare type UnknownTypedSql = TypedSql<unknown[], unknown>;\r\n\r\ndeclare type Unpacker = (data: any) => any;\r\n\r\nexport declare type UnwrapPayload<P> = {} extends P ? unknown : {\r\n [K in keyof P]: P[K] extends {\r\n scalars: infer S;\r\n composites: infer C;\r\n }[] ? Array<S & UnwrapPayload<C>> : P[K] extends {\r\n scalars: infer S;\r\n composites: infer C;\r\n } | null ? S & UnwrapPayload<C> | Select<P[K], null> : never;\r\n};\r\n\r\nexport declare type UnwrapPromise<P> = P extends Promise<infer R> ? R : P;\r\n\r\nexport declare type UnwrapTuple<Tuple extends readonly unknown[]> = {\r\n [K in keyof Tuple]: K extends `${number}` ? Tuple[K] extends PrismaPromise<infer X> ? X : UnwrapPromise<Tuple[K]> : UnwrapPromise<Tuple[K]>;\r\n};\r\n\r\n/**\r\n * Input that flows from the user into the Client.\r\n */\r\ndeclare type UserArgs_2 = any;\r\n\r\ndeclare namespace Utils {\r\n export {\r\n EmptyToUnknown,\r\n NeverToUnknown,\r\n PatchFlat,\r\n Omit_2 as Omit,\r\n Pick_2 as Pick,\r\n ComputeDeep,\r\n Compute,\r\n OptionalFlat,\r\n ReadonlyDeep,\r\n Narrowable,\r\n Narrow,\r\n Exact,\r\n Cast,\r\n Record_2 as Record,\r\n UnwrapPromise,\r\n UnwrapTuple,\r\n Path,\r\n Fn,\r\n Call,\r\n RequiredKeys,\r\n OptionalKeys,\r\n Optional,\r\n Return,\r\n ToTuple,\r\n RenameAndNestPayloadKeys,\r\n PayloadToResult,\r\n Select,\r\n Equals,\r\n Or,\r\n JsPromise\r\n }\r\n}\r\n\r\ndeclare type ValidationError = {\r\n error_identifier: 'RELATION_VIOLATION';\r\n context: {\r\n relation: string;\r\n modelA: string;\r\n modelB: string;\r\n };\r\n} | {\r\n error_identifier: 'MISSING_RELATED_RECORD';\r\n context: {\r\n model: string;\r\n relation: string;\r\n relationType: string;\r\n operation: string;\r\n neededFor?: string;\r\n };\r\n} | {\r\n error_identifier: 'MISSING_RECORD';\r\n context: {\r\n operation: string;\r\n };\r\n} | {\r\n error_identifier: 'INCOMPLETE_CONNECT_INPUT';\r\n context: {\r\n expectedRows: number;\r\n };\r\n} | {\r\n error_identifier: 'INCOMPLETE_CONNECT_OUTPUT';\r\n context: {\r\n expectedRows: number;\r\n relation: string;\r\n relationType: string;\r\n };\r\n} | {\r\n error_identifier: 'RECORDS_NOT_CONNECTED';\r\n context: {\r\n relation: string;\r\n parent: string;\r\n child: string;\r\n };\r\n};\r\n\r\ndeclare function validator<V>(): <S>(select: Exact<S, V>) => S;\r\n\r\ndeclare function validator<C, M extends Exclude<keyof C, `$${string}`>, O extends keyof C[M] & Operation>(client: C, model: M, operation: O): <S>(select: Exact<S, Args<C[M], O>>) => S;\r\n\r\ndeclare function validator<C, M extends Exclude<keyof C, `$${string}`>, O extends keyof C[M] & Operation, P extends keyof Args<C[M], O>>(client: C, model: M, operation: O, prop: P): <S>(select: Exact<S, Args<C[M], O>[P]>) => S;\r\n\r\n/**\r\n * Values supported by SQL engine.\r\n */\r\nexport declare type Value = unknown;\r\n\r\nexport declare function warnEnvConflicts(envPaths: any): void;\r\n\r\nexport declare const warnOnce: (key: string, message: string, ...args: unknown[]) => void;\r\n\r\nexport { }\r\n",
12565
+ "node_modules/@prisma/client/runtime/react-native.d.ts": "/**\r\n * @param this\r\n */\r\ndeclare function $extends(this: Client, extension: ExtensionArgs | ((client: Client) => Client)): Client;\r\n\r\ndeclare type AccelerateEngineConfig = {\r\n inlineSchema: EngineConfig['inlineSchema'];\r\n inlineSchemaHash: EngineConfig['inlineSchemaHash'];\r\n env: EngineConfig['env'];\r\n generator?: {\r\n previewFeatures: string[];\r\n };\r\n inlineDatasources: EngineConfig['inlineDatasources'];\r\n overrideDatasources: EngineConfig['overrideDatasources'];\r\n clientVersion: EngineConfig['clientVersion'];\r\n engineVersion: EngineConfig['engineVersion'];\r\n logEmitter: EngineConfig['logEmitter'];\r\n logQueries?: EngineConfig['logQueries'];\r\n logLevel?: EngineConfig['logLevel'];\r\n tracingHelper: EngineConfig['tracingHelper'];\r\n accelerateUtils?: AccelerateUtils;\r\n};\r\n\r\n/**\r\n * A stripped down interface of `fetch` that `@prisma/extension-accelerate`\r\n * relies on. It must be in sync with the corresponding definition in the\r\n * Accelerate extension.\r\n *\r\n * This is the actual interface exposed by the extension. We can't use the\r\n * custom fetch function provided by it as normal fetch because the API is\r\n * different. Notably, `headers` must be an object and not a `Headers`\r\n * instance, and `url` must be a `string` and not a `URL`.\r\n *\r\n * The return type is `Response` but we can't specify this in an exported type\r\n * because it would end up referencing external types from `@types/node` or DOM\r\n * which can fail typechecking depending on TypeScript configuration in a user's\r\n * project.\r\n */\r\ndeclare type AccelerateExtensionFetch = (url: string, options: {\r\n body?: string;\r\n method?: string;\r\n headers: Record<string, string>;\r\n}) => Promise<unknown>;\r\n\r\ndeclare type AccelerateExtensionFetchDecorator = (fetch: AccelerateExtensionFetch) => AccelerateExtensionFetch;\r\n\r\ndeclare type AccelerateUtils = EngineConfig['accelerateUtils'];\r\n\r\nexport declare type Action = keyof typeof DMMF_2.ModelAction | 'executeRaw' | 'queryRaw' | 'runCommandRaw';\r\n\r\ndeclare type ActiveConnectorType = Exclude<ConnectorType, 'postgres' | 'prisma+postgres'>;\r\n\r\n/**\r\n * An interface that exposes some basic information about the\r\n * adapter like its name and provider type.\r\n */\r\ndeclare interface AdapterInfo {\r\n readonly provider: Provider;\r\n readonly adapterName: (typeof officialPrismaAdapters)[number] | (string & {});\r\n}\r\n\r\nexport declare type Aggregate = '_count' | '_max' | '_min' | '_avg' | '_sum';\r\n\r\nexport declare type AllModelsToStringIndex<TypeMap extends TypeMapDef, Args extends Record<string, any>, K extends PropertyKey> = Args extends {\r\n [P in K]: {\r\n $allModels: infer AllModels;\r\n };\r\n} ? {\r\n [P in K]: Record<TypeMap['meta']['modelProps'], AllModels>;\r\n} : {};\r\n\r\ndeclare class AnyNull extends NullTypesEnumValue {\r\n #private;\r\n}\r\n\r\nexport declare type ApplyOmit<T, OmitConfig> = Compute<{\r\n [K in keyof T as OmitValue<OmitConfig, K> extends true ? never : K]: T[K];\r\n}>;\r\n\r\nexport declare type Args<T, F extends Operation> = T extends {\r\n [K: symbol]: {\r\n types: {\r\n operations: {\r\n [K in F]: {\r\n args: any;\r\n };\r\n };\r\n };\r\n };\r\n} ? T[symbol]['types']['operations'][F]['args'] : any;\r\n\r\nexport declare type Args_3<T, F extends Operation> = Args<T, F>;\r\n\r\ndeclare type ArgScalarType = 'string' | 'int' | 'bigint' | 'float' | 'decimal' | 'boolean' | 'enum' | 'uuid' | 'json' | 'datetime' | 'bytes' | 'unknown';\r\n\r\ndeclare type ArgType = {\r\n scalarType: ArgScalarType;\r\n dbType?: string;\r\n arity: Arity;\r\n};\r\n\r\ndeclare type Arity = 'scalar' | 'list';\r\n\r\n/**\r\n * Attributes is a map from string to attribute values.\r\n *\r\n * Note: only the own enumerable keys are counted as valid attribute keys.\r\n */\r\ndeclare interface Attributes {\r\n [attributeKey: string]: AttributeValue | undefined;\r\n}\r\n\r\n/**\r\n * Attribute values may be any non-nullish primitive value except an object.\r\n *\r\n * null or undefined attribute values are invalid and will result in undefined behavior.\r\n */\r\ndeclare type AttributeValue = string | number | boolean | Array<null | undefined | string> | Array<null | undefined | number> | Array<null | undefined | boolean>;\r\n\r\nexport declare type BaseDMMF = {\r\n readonly datamodel: Omit<DMMF_2.Datamodel, 'indexes'>;\r\n};\r\n\r\ndeclare type BatchArgs = {\r\n queries: BatchQuery[];\r\n transaction?: {\r\n isolationLevel?: IsolationLevel_2;\r\n };\r\n};\r\n\r\ndeclare type BatchInternalParams = {\r\n requests: RequestParams[];\r\n customDataProxyFetch?: AccelerateExtensionFetchDecorator;\r\n};\r\n\r\ndeclare type BatchQuery = {\r\n model: string | undefined;\r\n operation: string;\r\n args: JsArgs | RawQueryArgs;\r\n};\r\n\r\ndeclare type BatchQueryEngineResult<T> = QueryEngineResultData<T> | Error;\r\n\r\ndeclare type BatchQueryOptionsCb = (args: BatchQueryOptionsCbArgs) => Promise<any>;\r\n\r\ndeclare type BatchQueryOptionsCbArgs = {\r\n args: BatchArgs;\r\n query: (args: BatchArgs, __internalParams?: BatchInternalParams) => Promise<unknown[]>;\r\n __internalParams: BatchInternalParams;\r\n};\r\n\r\ndeclare type BatchResponse = MultiBatchResponse | CompactedBatchResponse;\r\n\r\ndeclare type BatchTransactionOptions = {\r\n isolationLevel?: Transaction_2.IsolationLevel;\r\n};\r\n\r\ndeclare interface BinaryTargetsEnvValue {\r\n fromEnvVar: string | null;\r\n value: string;\r\n native?: boolean;\r\n}\r\n\r\nexport declare type Call<F extends Fn, P> = (F & {\r\n params: P;\r\n})['returns'];\r\n\r\ndeclare interface CallSite {\r\n getLocation(): LocationInFile | null;\r\n}\r\n\r\nexport declare type Cast<A, W> = A extends W ? A : W;\r\n\r\ndeclare type Client = ReturnType<typeof getPrismaClient> extends new () => infer T ? T : never;\r\n\r\nexport declare type ClientArg = {\r\n [MethodName in string]: unknown;\r\n};\r\n\r\nexport declare type ClientArgs = {\r\n client: ClientArg;\r\n};\r\n\r\nexport declare type ClientBuiltInProp = keyof DynamicClientExtensionThisBuiltin<never, never, never>;\r\n\r\nexport declare type ClientOptionDef = undefined | {\r\n [K in string]: any;\r\n};\r\n\r\nexport declare type ClientOtherOps = {\r\n $queryRaw<T = unknown>(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise<T>;\r\n $queryRawTyped<T>(query: TypedSql<unknown[], T>): PrismaPromise<T[]>;\r\n $queryRawUnsafe<T = unknown>(query: string, ...values: any[]): PrismaPromise<T>;\r\n $executeRaw(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise<number>;\r\n $executeRawUnsafe(query: string, ...values: any[]): PrismaPromise<number>;\r\n $runCommandRaw(command: InputJsonObject): PrismaPromise<JsonObject>;\r\n};\r\n\r\ndeclare type ColumnType = (typeof ColumnTypeEnum)[keyof typeof ColumnTypeEnum];\r\n\r\ndeclare const ColumnTypeEnum: {\r\n readonly Int32: 0;\r\n readonly Int64: 1;\r\n readonly Float: 2;\r\n readonly Double: 3;\r\n readonly Numeric: 4;\r\n readonly Boolean: 5;\r\n readonly Character: 6;\r\n readonly Text: 7;\r\n readonly Date: 8;\r\n readonly Time: 9;\r\n readonly DateTime: 10;\r\n readonly Json: 11;\r\n readonly Enum: 12;\r\n readonly Bytes: 13;\r\n readonly Set: 14;\r\n readonly Uuid: 15;\r\n readonly Int32Array: 64;\r\n readonly Int64Array: 65;\r\n readonly FloatArray: 66;\r\n readonly DoubleArray: 67;\r\n readonly NumericArray: 68;\r\n readonly BooleanArray: 69;\r\n readonly CharacterArray: 70;\r\n readonly TextArray: 71;\r\n readonly DateArray: 72;\r\n readonly TimeArray: 73;\r\n readonly DateTimeArray: 74;\r\n readonly JsonArray: 75;\r\n readonly EnumArray: 76;\r\n readonly BytesArray: 77;\r\n readonly UuidArray: 78;\r\n readonly UnknownNumber: 128;\r\n};\r\n\r\ndeclare type CompactedBatchResponse = {\r\n type: 'compacted';\r\n plan: QueryPlanNode;\r\n arguments: Record<string, {}>[];\r\n nestedSelection: string[];\r\n keys: string[];\r\n expectNonEmpty: boolean;\r\n};\r\n\r\ndeclare type CompilerWasmLoadingConfig = {\r\n /**\r\n * WASM-bindgen runtime for corresponding module\r\n */\r\n getRuntime: () => Promise<{\r\n __wbg_set_wasm(exports: unknown): void;\r\n QueryCompiler: QueryCompilerConstructor;\r\n }>;\r\n /**\r\n * Loads the raw wasm module for the wasm compiler engine. This configuration is\r\n * generated specifically for each type of client, eg. Node.js client and Edge\r\n * clients will have different implementations.\r\n * @remarks this is a callback on purpose, we only load the wasm if needed.\r\n * @remarks only used by ClientEngine\r\n */\r\n getQueryCompilerWasmModule: () => Promise<unknown>;\r\n};\r\n\r\nexport declare type Compute<T> = T extends Function ? T : {\r\n [K in keyof T]: T[K];\r\n} & unknown;\r\n\r\nexport declare type ComputeDeep<T> = T extends Function ? T : {\r\n [K in keyof T]: ComputeDeep<T[K]>;\r\n} & unknown;\r\n\r\ndeclare type ComputedField = {\r\n name: string;\r\n needs: string[];\r\n compute: ResultArgsFieldCompute;\r\n};\r\n\r\ndeclare type ComputedFieldsMap = {\r\n [fieldName: string]: ComputedField;\r\n};\r\n\r\ndeclare type ConnectionInfo = {\r\n schemaName?: string;\r\n maxBindValues?: number;\r\n supportsRelationJoins: boolean;\r\n};\r\n\r\ndeclare type ConnectorType = 'mysql' | 'mongodb' | 'sqlite' | 'postgresql' | 'postgres' | 'prisma+postgres' | 'sqlserver' | 'cockroachdb';\r\n\r\ndeclare interface Context {\r\n /**\r\n * Get a value from the context.\r\n *\r\n * @param key key which identifies a context value\r\n */\r\n getValue(key: symbol): unknown;\r\n /**\r\n * Create a new context which inherits from this context and has\r\n * the given key set to the given value.\r\n *\r\n * @param key context key for which to set the value\r\n * @param value value to set for the given key\r\n */\r\n setValue(key: symbol, value: unknown): Context;\r\n /**\r\n * Return a new context which inherits from this context but does\r\n * not contain a value for the given key.\r\n *\r\n * @param key context key for which to clear a value\r\n */\r\n deleteValue(key: symbol): Context;\r\n}\r\n\r\ndeclare type Context_2<T> = T extends {\r\n [K: symbol]: {\r\n ctx: infer C;\r\n };\r\n} ? C & T & {\r\n /**\r\n * @deprecated Use `$name` instead.\r\n */\r\n name?: string;\r\n $name?: string;\r\n $parent?: unknown;\r\n} : T & {\r\n /**\r\n * @deprecated Use `$name` instead.\r\n */\r\n name?: string;\r\n $name?: string;\r\n $parent?: unknown;\r\n};\r\n\r\nexport declare type Count<O> = {\r\n [K in keyof O]: Count<number>;\r\n} & {};\r\n\r\nexport declare function createParam(name: string): Param<unknown, string>;\r\n\r\ndeclare class DataLoader<T = unknown> {\r\n private options;\r\n batches: {\r\n [key: string]: Job[];\r\n };\r\n private tickActive;\r\n constructor(options: DataLoaderOptions<T>);\r\n request(request: T): Promise<any>;\r\n private dispatchBatches;\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\ndeclare type DataLoaderOptions<T> = {\r\n singleLoader: (request: T) => Promise<any>;\r\n batchLoader: (request: T[]) => Promise<any[]>;\r\n batchBy: (request: T) => string | undefined;\r\n batchOrder: (requestA: T, requestB: T) => number;\r\n};\r\n\r\ndeclare type Datamodel = ReadonlyDeep_2<{\r\n models: Model[];\r\n enums: DatamodelEnum[];\r\n types: Model[];\r\n indexes: Index[];\r\n}>;\r\n\r\ndeclare type DatamodelEnum = ReadonlyDeep_2<{\r\n name: string;\r\n values: EnumValue[];\r\n dbName?: string | null;\r\n documentation?: string;\r\n}>;\r\n\r\ndeclare function datamodelEnumToSchemaEnum(datamodelEnum: DatamodelEnum): SchemaEnum;\r\n\r\ndeclare type DataRule = {\r\n type: 'rowCountEq';\r\n args: number;\r\n} | {\r\n type: 'rowCountNeq';\r\n args: number;\r\n} | {\r\n type: 'affectedRowCountEq';\r\n args: number;\r\n} | {\r\n type: 'never';\r\n};\r\n\r\ndeclare type Datasource = {\r\n url?: string;\r\n};\r\n\r\ndeclare type Datasources = {\r\n [name in string]: Datasource;\r\n};\r\n\r\ndeclare class DbNull extends NullTypesEnumValue {\r\n #private;\r\n}\r\n\r\nexport declare const Debug: typeof debugCreate & {\r\n enable(namespace: any): void;\r\n disable(): any;\r\n enabled(namespace: string): boolean;\r\n log: (...args: string[]) => void;\r\n formatters: {};\r\n};\r\n\r\n/**\r\n * Create a new debug instance with the given namespace.\r\n *\r\n * @example\r\n * ```ts\r\n * import Debug from '@prisma/debug'\r\n * const debug = Debug('prisma:client')\r\n * debug('Hello World')\r\n * ```\r\n */\r\ndeclare function debugCreate(namespace: string): ((...args: any[]) => void) & {\r\n color: string;\r\n enabled: boolean;\r\n namespace: string;\r\n log: (...args: string[]) => void;\r\n extend: () => void;\r\n};\r\n\r\nexport declare function Decimal(n: Decimal.Value): Decimal;\r\n\r\nexport declare namespace Decimal {\r\n export type Constructor = typeof Decimal;\r\n export type Instance = Decimal;\r\n export type Rounding = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;\r\n export type Modulo = Rounding | 9;\r\n export type Value = string | number | Decimal;\r\n\r\n // http://mikemcl.github.io/decimal.js/#constructor-properties\r\n export interface Config {\r\n precision?: number;\r\n rounding?: Rounding;\r\n toExpNeg?: number;\r\n toExpPos?: number;\r\n minE?: number;\r\n maxE?: number;\r\n crypto?: boolean;\r\n modulo?: Modulo;\r\n defaults?: boolean;\r\n }\r\n}\r\n\r\nexport declare class Decimal {\r\n readonly d: number[];\r\n readonly e: number;\r\n readonly s: number;\r\n\r\n constructor(n: Decimal.Value);\r\n\r\n absoluteValue(): Decimal;\r\n abs(): Decimal;\r\n\r\n ceil(): Decimal;\r\n\r\n clampedTo(min: Decimal.Value, max: Decimal.Value): Decimal;\r\n clamp(min: Decimal.Value, max: Decimal.Value): Decimal;\r\n\r\n comparedTo(n: Decimal.Value): number;\r\n cmp(n: Decimal.Value): number;\r\n\r\n cosine(): Decimal;\r\n cos(): Decimal;\r\n\r\n cubeRoot(): Decimal;\r\n cbrt(): Decimal;\r\n\r\n decimalPlaces(): number;\r\n dp(): number;\r\n\r\n dividedBy(n: Decimal.Value): Decimal;\r\n div(n: Decimal.Value): Decimal;\r\n\r\n dividedToIntegerBy(n: Decimal.Value): Decimal;\r\n divToInt(n: Decimal.Value): Decimal;\r\n\r\n equals(n: Decimal.Value): boolean;\r\n eq(n: Decimal.Value): boolean;\r\n\r\n floor(): Decimal;\r\n\r\n greaterThan(n: Decimal.Value): boolean;\r\n gt(n: Decimal.Value): boolean;\r\n\r\n greaterThanOrEqualTo(n: Decimal.Value): boolean;\r\n gte(n: Decimal.Value): boolean;\r\n\r\n hyperbolicCosine(): Decimal;\r\n cosh(): Decimal;\r\n\r\n hyperbolicSine(): Decimal;\r\n sinh(): Decimal;\r\n\r\n hyperbolicTangent(): Decimal;\r\n tanh(): Decimal;\r\n\r\n inverseCosine(): Decimal;\r\n acos(): Decimal;\r\n\r\n inverseHyperbolicCosine(): Decimal;\r\n acosh(): Decimal;\r\n\r\n inverseHyperbolicSine(): Decimal;\r\n asinh(): Decimal;\r\n\r\n inverseHyperbolicTangent(): Decimal;\r\n atanh(): Decimal;\r\n\r\n inverseSine(): Decimal;\r\n asin(): Decimal;\r\n\r\n inverseTangent(): Decimal;\r\n atan(): Decimal;\r\n\r\n isFinite(): boolean;\r\n\r\n isInteger(): boolean;\r\n isInt(): boolean;\r\n\r\n isNaN(): boolean;\r\n\r\n isNegative(): boolean;\r\n isNeg(): boolean;\r\n\r\n isPositive(): boolean;\r\n isPos(): boolean;\r\n\r\n isZero(): boolean;\r\n\r\n lessThan(n: Decimal.Value): boolean;\r\n lt(n: Decimal.Value): boolean;\r\n\r\n lessThanOrEqualTo(n: Decimal.Value): boolean;\r\n lte(n: Decimal.Value): boolean;\r\n\r\n logarithm(n?: Decimal.Value): Decimal;\r\n log(n?: Decimal.Value): Decimal;\r\n\r\n minus(n: Decimal.Value): Decimal;\r\n sub(n: Decimal.Value): Decimal;\r\n\r\n modulo(n: Decimal.Value): Decimal;\r\n mod(n: Decimal.Value): Decimal;\r\n\r\n naturalExponential(): Decimal;\r\n exp(): Decimal;\r\n\r\n naturalLogarithm(): Decimal;\r\n ln(): Decimal;\r\n\r\n negated(): Decimal;\r\n neg(): Decimal;\r\n\r\n plus(n: Decimal.Value): Decimal;\r\n add(n: Decimal.Value): Decimal;\r\n\r\n precision(includeZeros?: boolean): number;\r\n sd(includeZeros?: boolean): number;\r\n\r\n round(): Decimal;\r\n\r\n sine() : Decimal;\r\n sin() : Decimal;\r\n\r\n squareRoot(): Decimal;\r\n sqrt(): Decimal;\r\n\r\n tangent() : Decimal;\r\n tan() : Decimal;\r\n\r\n times(n: Decimal.Value): Decimal;\r\n mul(n: Decimal.Value) : Decimal;\r\n\r\n toBinary(significantDigits?: number): string;\r\n toBinary(significantDigits: number, rounding: Decimal.Rounding): string;\r\n\r\n toDecimalPlaces(decimalPlaces?: number): Decimal;\r\n toDecimalPlaces(decimalPlaces: number, rounding: Decimal.Rounding): Decimal;\r\n toDP(decimalPlaces?: number): Decimal;\r\n toDP(decimalPlaces: number, rounding: Decimal.Rounding): Decimal;\r\n\r\n toExponential(decimalPlaces?: number): string;\r\n toExponential(decimalPlaces: number, rounding: Decimal.Rounding): string;\r\n\r\n toFixed(decimalPlaces?: number): string;\r\n toFixed(decimalPlaces: number, rounding: Decimal.Rounding): string;\r\n\r\n toFraction(max_denominator?: Decimal.Value): Decimal[];\r\n\r\n toHexadecimal(significantDigits?: number): string;\r\n toHexadecimal(significantDigits: number, rounding: Decimal.Rounding): string;\r\n toHex(significantDigits?: number): string;\r\n toHex(significantDigits: number, rounding?: Decimal.Rounding): string;\r\n\r\n toJSON(): string;\r\n\r\n toNearest(n: Decimal.Value, rounding?: Decimal.Rounding): Decimal;\r\n\r\n toNumber(): number;\r\n\r\n toOctal(significantDigits?: number): string;\r\n toOctal(significantDigits: number, rounding: Decimal.Rounding): string;\r\n\r\n toPower(n: Decimal.Value): Decimal;\r\n pow(n: Decimal.Value): Decimal;\r\n\r\n toPrecision(significantDigits?: number): string;\r\n toPrecision(significantDigits: number, rounding: Decimal.Rounding): string;\r\n\r\n toSignificantDigits(significantDigits?: number): Decimal;\r\n toSignificantDigits(significantDigits: number, rounding: Decimal.Rounding): Decimal;\r\n toSD(significantDigits?: number): Decimal;\r\n toSD(significantDigits: number, rounding: Decimal.Rounding): Decimal;\r\n\r\n toString(): string;\r\n\r\n truncated(): Decimal;\r\n trunc(): Decimal;\r\n\r\n valueOf(): string;\r\n\r\n static abs(n: Decimal.Value): Decimal;\r\n static acos(n: Decimal.Value): Decimal;\r\n static acosh(n: Decimal.Value): Decimal;\r\n static add(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static asin(n: Decimal.Value): Decimal;\r\n static asinh(n: Decimal.Value): Decimal;\r\n static atan(n: Decimal.Value): Decimal;\r\n static atanh(n: Decimal.Value): Decimal;\r\n static atan2(y: Decimal.Value, x: Decimal.Value): Decimal;\r\n static cbrt(n: Decimal.Value): Decimal;\r\n static ceil(n: Decimal.Value): Decimal;\r\n static clamp(n: Decimal.Value, min: Decimal.Value, max: Decimal.Value): Decimal;\r\n static clone(object?: Decimal.Config): Decimal.Constructor;\r\n static config(object: Decimal.Config): Decimal.Constructor;\r\n static cos(n: Decimal.Value): Decimal;\r\n static cosh(n: Decimal.Value): Decimal;\r\n static div(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static exp(n: Decimal.Value): Decimal;\r\n static floor(n: Decimal.Value): Decimal;\r\n static hypot(...n: Decimal.Value[]): Decimal;\r\n static isDecimal(object: any): object is Decimal;\r\n static ln(n: Decimal.Value): Decimal;\r\n static log(n: Decimal.Value, base?: Decimal.Value): Decimal;\r\n static log2(n: Decimal.Value): Decimal;\r\n static log10(n: Decimal.Value): Decimal;\r\n static max(...n: Decimal.Value[]): Decimal;\r\n static min(...n: Decimal.Value[]): Decimal;\r\n static mod(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static mul(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static noConflict(): Decimal.Constructor; // Browser only\r\n static pow(base: Decimal.Value, exponent: Decimal.Value): Decimal;\r\n static random(significantDigits?: number): Decimal;\r\n static round(n: Decimal.Value): Decimal;\r\n static set(object: Decimal.Config): Decimal.Constructor;\r\n static sign(n: Decimal.Value): number;\r\n static sin(n: Decimal.Value): Decimal;\r\n static sinh(n: Decimal.Value): Decimal;\r\n static sqrt(n: Decimal.Value): Decimal;\r\n static sub(x: Decimal.Value, y: Decimal.Value): Decimal;\r\n static sum(...n: Decimal.Value[]): Decimal;\r\n static tan(n: Decimal.Value): Decimal;\r\n static tanh(n: Decimal.Value): Decimal;\r\n static trunc(n: Decimal.Value): Decimal;\r\n\r\n static readonly default?: Decimal.Constructor;\r\n static readonly Decimal?: Decimal.Constructor;\r\n\r\n static readonly precision: number;\r\n static readonly rounding: Decimal.Rounding;\r\n static readonly toExpNeg: number;\r\n static readonly toExpPos: number;\r\n static readonly minE: number;\r\n static readonly maxE: number;\r\n static readonly crypto: boolean;\r\n static readonly modulo: Decimal.Modulo;\r\n\r\n static readonly ROUND_UP: 0;\r\n static readonly ROUND_DOWN: 1;\r\n static readonly ROUND_CEIL: 2;\r\n static readonly ROUND_FLOOR: 3;\r\n static readonly ROUND_HALF_UP: 4;\r\n static readonly ROUND_HALF_DOWN: 5;\r\n static readonly ROUND_HALF_EVEN: 6;\r\n static readonly ROUND_HALF_CEIL: 7;\r\n static readonly ROUND_HALF_FLOOR: 8;\r\n static readonly EUCLID: 9;\r\n}\r\n\r\n/**\r\n * Interface for any Decimal.js-like library\r\n * Allows us to accept Decimal.js from different\r\n * versions and some compatible alternatives\r\n */\r\nexport declare interface DecimalJsLike {\r\n d: number[];\r\n e: number;\r\n s: number;\r\n toFixed(): string;\r\n}\r\n\r\nexport declare type DefaultArgs = InternalArgs<{}, {}, {}, {}>;\r\n\r\nexport declare type DefaultSelection<Payload extends OperationPayload, Args = {}, GlobalOmitOptions = {}> = Args extends {\r\n omit: infer LocalOmit;\r\n} ? ApplyOmit<UnwrapPayload<{\r\n default: Payload;\r\n}>['default'], PatchFlat<LocalOmit, ExtractGlobalOmit<GlobalOmitOptions, Uncapitalize<Payload['name']>>>> : ApplyOmit<UnwrapPayload<{\r\n default: Payload;\r\n}>['default'], ExtractGlobalOmit<GlobalOmitOptions, Uncapitalize<Payload['name']>>>;\r\n\r\nexport declare function defineDmmfProperty(target: object, runtimeDataModel: RuntimeDataModel): void;\r\n\r\ndeclare function defineExtension(ext: ExtensionArgs | ((client: Client) => Client)): (client: Client) => Client;\r\n\r\ndeclare const denylist: readonly [\"$connect\", \"$disconnect\", \"$on\", \"$transaction\", \"$extends\"];\r\n\r\ndeclare type Deprecation = ReadonlyDeep_2<{\r\n sinceVersion: string;\r\n reason: string;\r\n plannedRemovalVersion?: string;\r\n}>;\r\n\r\ndeclare type DeserializedResponse = Array<Record<string, unknown>>;\r\n\r\nexport declare function deserializeJsonResponse(result: unknown): unknown;\r\n\r\nexport declare function deserializeRawResult(response: RawResponse): DeserializedResponse;\r\n\r\nexport declare type DevTypeMapDef = {\r\n meta: {\r\n modelProps: string;\r\n };\r\n model: {\r\n [Model in PropertyKey]: {\r\n [Operation in PropertyKey]: DevTypeMapFnDef;\r\n };\r\n };\r\n other: {\r\n [Operation in PropertyKey]: DevTypeMapFnDef;\r\n };\r\n};\r\n\r\nexport declare type DevTypeMapFnDef = {\r\n args: any;\r\n result: any;\r\n payload: OperationPayload;\r\n};\r\n\r\nexport declare namespace DMMF {\r\n export {\r\n datamodelEnumToSchemaEnum,\r\n Document_2 as Document,\r\n Mappings,\r\n OtherOperationMappings,\r\n DatamodelEnum,\r\n SchemaEnum,\r\n EnumValue,\r\n Datamodel,\r\n uniqueIndex,\r\n PrimaryKey,\r\n Model,\r\n FieldKind,\r\n FieldNamespace,\r\n FieldLocation,\r\n Field,\r\n FieldDefault,\r\n FieldDefaultScalar,\r\n Index,\r\n IndexType,\r\n IndexField,\r\n SortOrder,\r\n Schema,\r\n Query,\r\n QueryOutput,\r\n TypeRef,\r\n InputTypeRef,\r\n SchemaArg,\r\n OutputType,\r\n SchemaField,\r\n OutputTypeRef,\r\n Deprecation,\r\n InputType,\r\n FieldRefType,\r\n FieldRefAllowType,\r\n ModelMapping,\r\n ModelAction\r\n }\r\n}\r\n\r\ndeclare namespace DMMF_2 {\r\n export {\r\n datamodelEnumToSchemaEnum,\r\n Document_2 as Document,\r\n Mappings,\r\n OtherOperationMappings,\r\n DatamodelEnum,\r\n SchemaEnum,\r\n EnumValue,\r\n Datamodel,\r\n uniqueIndex,\r\n PrimaryKey,\r\n Model,\r\n FieldKind,\r\n FieldNamespace,\r\n FieldLocation,\r\n Field,\r\n FieldDefault,\r\n FieldDefaultScalar,\r\n Index,\r\n IndexType,\r\n IndexField,\r\n SortOrder,\r\n Schema,\r\n Query,\r\n QueryOutput,\r\n TypeRef,\r\n InputTypeRef,\r\n SchemaArg,\r\n OutputType,\r\n SchemaField,\r\n OutputTypeRef,\r\n Deprecation,\r\n InputType,\r\n FieldRefType,\r\n FieldRefAllowType,\r\n ModelMapping,\r\n ModelAction\r\n }\r\n}\r\n\r\nexport declare function dmmfToRuntimeDataModel(dmmfDataModel: DMMF_2.Datamodel): RuntimeDataModel;\r\n\r\ndeclare type Document_2 = ReadonlyDeep_2<{\r\n datamodel: Datamodel;\r\n schema: Schema;\r\n mappings: Mappings;\r\n}>;\r\n\r\n/**\r\n * A generic driver adapter factory that allows the user to instantiate a\r\n * driver adapter. The query and result types are specific to the adapter.\r\n */\r\ndeclare interface DriverAdapterFactory<Query, Result> extends AdapterInfo {\r\n /**\r\n * Instantiate a driver adapter.\r\n */\r\n connect(): Promise<Queryable<Query, Result>>;\r\n}\r\n\r\ndeclare type DynamicArgType = ArgType | {\r\n arity: 'tuple';\r\n elements: ArgType[];\r\n};\r\n\r\n/** Client */\r\nexport declare type DynamicClientExtensionArgs<C_, TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {\r\n [P in keyof C_]: unknown;\r\n} & {\r\n [K: symbol]: {\r\n ctx: Optional<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList> & {\r\n $parent: Optional<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList>;\r\n };\r\n };\r\n};\r\n\r\nexport declare type DynamicClientExtensionThis<TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {\r\n [P in keyof ExtArgs['client']]: Return<ExtArgs['client'][P]>;\r\n} & {\r\n [P in Exclude<TypeMap['meta']['modelProps'], keyof ExtArgs['client']>]: DynamicModelExtensionThis<TypeMap, ModelKey<TypeMap, P>, ExtArgs>;\r\n} & {\r\n [P in Exclude<keyof TypeMap['other']['operations'], keyof ExtArgs['client']>]: P extends keyof ClientOtherOps ? ClientOtherOps[P] : never;\r\n} & {\r\n [P in Exclude<ClientBuiltInProp, keyof ExtArgs['client']>]: DynamicClientExtensionThisBuiltin<TypeMap, TypeMapCb, ExtArgs>[P];\r\n} & {\r\n [K: symbol]: {\r\n types: TypeMap['other'];\r\n };\r\n};\r\n\r\nexport declare type DynamicClientExtensionThisBuiltin<TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {\r\n $extends: ExtendsHook<'extends', TypeMapCb, ExtArgs, Call<TypeMapCb, {\r\n extArgs: ExtArgs;\r\n }>>;\r\n $transaction<P extends PrismaPromise<any>[]>(arg: [...P], options?: {\r\n isolationLevel?: TypeMap['meta']['txIsolationLevel'];\r\n }): Promise<UnwrapTuple<P>>;\r\n $transaction<R>(fn: (client: Omit<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList>) => Promise<R>, options?: {\r\n maxWait?: number;\r\n timeout?: number;\r\n isolationLevel?: TypeMap['meta']['txIsolationLevel'];\r\n }): Promise<R>;\r\n $disconnect(): Promise<void>;\r\n $connect(): Promise<void>;\r\n};\r\n\r\n/** Model */\r\nexport declare type DynamicModelExtensionArgs<M_, TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>> = {\r\n [K in keyof M_]: K extends '$allModels' ? {\r\n [P in keyof M_[K]]?: unknown;\r\n } & {\r\n [K: symbol]: {};\r\n } : K extends TypeMap['meta']['modelProps'] ? {\r\n [P in keyof M_[K]]?: unknown;\r\n } & {\r\n [K: symbol]: {\r\n ctx: DynamicModelExtensionThis<TypeMap, ModelKey<TypeMap, K>, ExtArgs> & {\r\n $parent: DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>;\r\n } & {\r\n $name: ModelKey<TypeMap, K>;\r\n } & {\r\n /**\r\n * @deprecated Use `$name` instead.\r\n */\r\n name: ModelKey<TypeMap, K>;\r\n };\r\n };\r\n } : never;\r\n};\r\n\r\nexport declare type DynamicModelExtensionFluentApi<TypeMap extends TypeMapDef, M extends PropertyKey, P extends PropertyKey, Null> = {\r\n [K in keyof TypeMap['model'][M]['payload']['objects']]: <A>(args?: Exact<A, Path<TypeMap['model'][M]['operations'][P]['args']['select'], [K]>>) => PrismaPromise<Path<DynamicModelExtensionFnResultBase<TypeMap, M, {\r\n select: {\r\n [P in K]: A;\r\n };\r\n }, P>, [K]> | Null> & DynamicModelExtensionFluentApi<TypeMap, (TypeMap['model'][M]['payload']['objects'][K] & {})['name'], P, Null | Select<TypeMap['model'][M]['payload']['objects'][K], null>>;\r\n};\r\n\r\nexport declare type DynamicModelExtensionFnResult<TypeMap extends TypeMapDef, M extends PropertyKey, A, P extends PropertyKey, Null> = P extends FluentOperation ? DynamicModelExtensionFluentApi<TypeMap, M, P, Null> & PrismaPromise<DynamicModelExtensionFnResultBase<TypeMap, M, A, P> | Null> : PrismaPromise<DynamicModelExtensionFnResultBase<TypeMap, M, A, P>>;\r\n\r\nexport declare type DynamicModelExtensionFnResultBase<TypeMap extends TypeMapDef, M extends PropertyKey, A, P extends PropertyKey> = GetResult<TypeMap['model'][M]['payload'], A, P & Operation, TypeMap['globalOmitOptions']>;\r\n\r\nexport declare type DynamicModelExtensionFnResultNull<P extends PropertyKey> = P extends 'findUnique' | 'findFirst' ? null : never;\r\n\r\nexport declare type DynamicModelExtensionOperationFn<TypeMap extends TypeMapDef, M extends PropertyKey, P extends PropertyKey> = {} extends TypeMap['model'][M]['operations'][P]['args'] ? <A extends TypeMap['model'][M]['operations'][P]['args']>(args?: Exact<A, TypeMap['model'][M]['operations'][P]['args']>) => DynamicModelExtensionFnResult<TypeMap, M, A, P, DynamicModelExtensionFnResultNull<P>> : <A extends TypeMap['model'][M]['operations'][P]['args']>(args: Exact<A, TypeMap['model'][M]['operations'][P]['args']>) => DynamicModelExtensionFnResult<TypeMap, M, A, P, DynamicModelExtensionFnResultNull<P>>;\r\n\r\nexport declare type DynamicModelExtensionThis<TypeMap extends TypeMapDef, M extends PropertyKey, ExtArgs extends Record<string, any>> = {\r\n [P in keyof ExtArgs['model'][Uncapitalize<M & string>]]: Return<ExtArgs['model'][Uncapitalize<M & string>][P]>;\r\n} & {\r\n [P in Exclude<keyof TypeMap['model'][M]['operations'], keyof ExtArgs['model'][Uncapitalize<M & string>]>]: DynamicModelExtensionOperationFn<TypeMap, M, P>;\r\n} & {\r\n [P in Exclude<'fields', keyof ExtArgs['model'][Uncapitalize<M & string>]>]: TypeMap['model'][M]['fields'];\r\n} & {\r\n [K: symbol]: {\r\n types: TypeMap['model'][M];\r\n };\r\n};\r\n\r\n/** Query */\r\nexport declare type DynamicQueryExtensionArgs<Q_, TypeMap extends TypeMapDef> = {\r\n [K in keyof Q_]: K extends '$allOperations' ? (args: {\r\n model?: string;\r\n operation: string;\r\n args: any;\r\n query: (args: any) => PrismaPromise<any>;\r\n }) => Promise<any> : K extends '$allModels' ? {\r\n [P in keyof Q_[K] | keyof TypeMap['model'][keyof TypeMap['model']]['operations'] | '$allOperations']?: P extends '$allOperations' ? DynamicQueryExtensionCb<TypeMap, 'model', keyof TypeMap['model'], keyof TypeMap['model'][keyof TypeMap['model']]['operations']> : P extends keyof TypeMap['model'][keyof TypeMap['model']]['operations'] ? DynamicQueryExtensionCb<TypeMap, 'model', keyof TypeMap['model'], P> : never;\r\n } : K extends TypeMap['meta']['modelProps'] ? {\r\n [P in keyof Q_[K] | keyof TypeMap['model'][ModelKey<TypeMap, K>]['operations'] | '$allOperations']?: P extends '$allOperations' ? DynamicQueryExtensionCb<TypeMap, 'model', ModelKey<TypeMap, K>, keyof TypeMap['model'][ModelKey<TypeMap, K>]['operations']> : P extends keyof TypeMap['model'][ModelKey<TypeMap, K>]['operations'] ? DynamicQueryExtensionCb<TypeMap, 'model', ModelKey<TypeMap, K>, P> : never;\r\n } : K extends keyof TypeMap['other']['operations'] ? DynamicQueryExtensionCb<[TypeMap], 0, 'other', K> : never;\r\n};\r\n\r\nexport declare type DynamicQueryExtensionCb<TypeMap extends TypeMapDef, _0 extends PropertyKey, _1 extends PropertyKey, _2 extends PropertyKey> = <A extends DynamicQueryExtensionCbArgs<TypeMap, _0, _1, _2>>(args: A) => Promise<TypeMap[_0][_1][_2]['result']>;\r\n\r\nexport declare type DynamicQueryExtensionCbArgs<TypeMap extends TypeMapDef, _0 extends PropertyKey, _1 extends PropertyKey, _2 extends PropertyKey> = (_1 extends unknown ? _2 extends unknown ? {\r\n args: DynamicQueryExtensionCbArgsArgs<TypeMap, _0, _1, _2>;\r\n model: _0 extends 0 ? undefined : _1;\r\n operation: _2;\r\n query: <A extends DynamicQueryExtensionCbArgsArgs<TypeMap, _0, _1, _2>>(args: A) => PrismaPromise<TypeMap[_0][_1]['operations'][_2]['result']>;\r\n} : never : never) & {\r\n query: (args: DynamicQueryExtensionCbArgsArgs<TypeMap, _0, _1, _2>) => PrismaPromise<TypeMap[_0][_1]['operations'][_2]['result']>;\r\n};\r\n\r\nexport declare type DynamicQueryExtensionCbArgsArgs<TypeMap extends TypeMapDef, _0 extends PropertyKey, _1 extends PropertyKey, _2 extends PropertyKey> = _2 extends '$queryRaw' | '$executeRaw' ? Sql : TypeMap[_0][_1]['operations'][_2]['args'];\r\n\r\n/** Result */\r\nexport declare type DynamicResultExtensionArgs<R_, TypeMap extends TypeMapDef> = {\r\n [K in keyof R_]: {\r\n [P in keyof R_[K]]?: {\r\n needs?: DynamicResultExtensionNeeds<TypeMap, ModelKey<TypeMap, K>, R_[K][P]>;\r\n compute(data: DynamicResultExtensionData<TypeMap, ModelKey<TypeMap, K>, R_[K][P]>): any;\r\n };\r\n };\r\n};\r\n\r\nexport declare type DynamicResultExtensionData<TypeMap extends TypeMapDef, M extends PropertyKey, S> = GetFindResult<TypeMap['model'][M]['payload'], {\r\n select: S;\r\n}, {}>;\r\n\r\nexport declare type DynamicResultExtensionNeeds<TypeMap extends TypeMapDef, M extends PropertyKey, S> = {\r\n [K in keyof S]: K extends keyof TypeMap['model'][M]['payload']['scalars'] ? S[K] : never;\r\n} & {\r\n [N in keyof TypeMap['model'][M]['payload']['scalars']]?: boolean;\r\n};\r\n\r\n/**\r\n * Placeholder value for \"no text\".\r\n */\r\nexport declare const empty: Sql;\r\n\r\nexport declare type EmptyToUnknown<T> = T;\r\n\r\ndeclare interface Engine<InteractiveTransactionPayload = unknown> {\r\n /** The name of the engine. This is meant to be consumed externally */\r\n readonly name: string;\r\n onBeforeExit(callback: () => Promise<void>): void;\r\n start(): Promise<void>;\r\n stop(): Promise<void>;\r\n version(forceRun?: boolean): Promise<string> | string;\r\n request<T>(query: JsonQuery, options: RequestOptions<InteractiveTransactionPayload>): Promise<QueryEngineResultData<T>>;\r\n requestBatch<T>(queries: JsonQuery[], options: RequestBatchOptions<InteractiveTransactionPayload>): Promise<BatchQueryEngineResult<T>[]>;\r\n transaction(action: 'start', headers: Transaction_2.TransactionHeaders, options: Transaction_2.Options): Promise<Transaction_2.InteractiveTransactionInfo<unknown>>;\r\n transaction(action: 'commit', headers: Transaction_2.TransactionHeaders, info: Transaction_2.InteractiveTransactionInfo<unknown>): Promise<void>;\r\n transaction(action: 'rollback', headers: Transaction_2.TransactionHeaders, info: Transaction_2.InteractiveTransactionInfo<unknown>): Promise<void>;\r\n metrics(options: MetricsOptionsJson): Promise<Metrics>;\r\n metrics(options: MetricsOptionsPrometheus): Promise<string>;\r\n applyPendingMigrations(): Promise<void>;\r\n}\r\n\r\ndeclare interface EngineConfig {\r\n cwd: string;\r\n dirname: string;\r\n enableDebugLogs?: boolean;\r\n allowTriggerPanic?: boolean;\r\n prismaPath?: string;\r\n generator?: GeneratorConfig;\r\n /**\r\n * @remarks this field is used internally by Policy, do not rename or remove\r\n */\r\n overrideDatasources: Datasources;\r\n showColors?: boolean;\r\n logQueries?: boolean;\r\n logLevel?: 'info' | 'warn';\r\n env: Record<string, string>;\r\n flags?: string[];\r\n clientVersion: string;\r\n engineVersion: string;\r\n previewFeatures?: string[];\r\n engineEndpoint?: string;\r\n activeProvider?: string;\r\n logEmitter: LogEmitter;\r\n transactionOptions: Transaction_2.Options;\r\n /**\r\n * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-planetscale`.\r\n * If set, this is only used in the library engine, and all queries would be performed through it,\r\n * rather than Prisma's Rust drivers.\r\n * @remarks only used by LibraryEngine.ts\r\n */\r\n adapter?: SqlDriverAdapterFactory;\r\n /**\r\n * The contents of the schema encoded into a string\r\n */\r\n inlineSchema: string;\r\n /**\r\n * The contents of the datasource url saved in a string\r\n * @remarks only used by DataProxyEngine.ts\r\n * @remarks this field is used internally by Policy, do not rename or remove\r\n */\r\n inlineDatasources: GetPrismaClientConfig['inlineDatasources'];\r\n /**\r\n * The string hash that was produced for a given schema\r\n * @remarks only used by DataProxyEngine.ts\r\n */\r\n inlineSchemaHash: string;\r\n /**\r\n * The helper for interaction with OTEL tracing\r\n * @remarks enabling is determined by the client and @prisma/instrumentation package\r\n */\r\n tracingHelper: TracingHelper;\r\n /**\r\n * Information about whether we have not found a schema.prisma file in the\r\n * default location, and that we fell back to finding the schema.prisma file\r\n * in the current working directory. This usually means it has been bundled.\r\n */\r\n isBundled?: boolean;\r\n /**\r\n * Web Assembly module loading configuration\r\n */\r\n engineWasm?: EngineWasmLoadingConfig;\r\n compilerWasm?: CompilerWasmLoadingConfig;\r\n /**\r\n * Allows Accelerate to use runtime utilities from the client. These are\r\n * necessary for the AccelerateEngine to function correctly.\r\n */\r\n accelerateUtils?: {\r\n resolveDatasourceUrl: typeof resolveDatasourceUrl;\r\n getBatchRequestPayload: typeof getBatchRequestPayload;\r\n prismaGraphQLToJSError: typeof prismaGraphQLToJSError;\r\n PrismaClientUnknownRequestError: typeof PrismaClientUnknownRequestError;\r\n PrismaClientInitializationError: typeof PrismaClientInitializationError;\r\n PrismaClientKnownRequestError: typeof PrismaClientKnownRequestError;\r\n debug: (...args: any[]) => void;\r\n engineVersion: string;\r\n clientVersion: string;\r\n };\r\n}\r\n\r\ndeclare type EngineEvent<E extends EngineEventType> = E extends QueryEventType ? QueryEvent : LogEvent;\r\n\r\ndeclare type EngineEventType = QueryEventType | LogEventType;\r\n\r\ndeclare type EngineSpan = {\r\n id: EngineSpanId;\r\n parentId: string | null;\r\n name: string;\r\n startTime: HrTime;\r\n endTime: HrTime;\r\n kind: EngineSpanKind;\r\n attributes?: Record<string, unknown>;\r\n links?: EngineSpanId[];\r\n};\r\n\r\ndeclare type EngineSpanId = string;\r\n\r\ndeclare type EngineSpanKind = 'client' | 'internal';\r\n\r\ndeclare type EngineWasmLoadingConfig = {\r\n /**\r\n * WASM-bindgen runtime for corresponding module\r\n */\r\n getRuntime: () => Promise<{\r\n __wbg_set_wasm(exports: unknown): void;\r\n QueryEngine: QueryEngineConstructor;\r\n }>;\r\n /**\r\n * Loads the raw wasm module for the wasm query engine. This configuration is\r\n * generated specifically for each type of client, eg. Node.js client and Edge\r\n * clients will have different implementations.\r\n * @remarks this is a callback on purpose, we only load the wasm if needed.\r\n * @remarks only used by LibraryEngine\r\n */\r\n getQueryEngineWasmModule: () => Promise<unknown>;\r\n};\r\n\r\ndeclare type EnumValue = ReadonlyDeep_2<{\r\n name: string;\r\n dbName: string | null;\r\n}>;\r\n\r\ndeclare type EnvPaths = {\r\n rootEnvPath: string | null;\r\n schemaEnvPath: string | undefined;\r\n};\r\n\r\ndeclare interface EnvValue {\r\n fromEnvVar: null | string;\r\n value: null | string;\r\n}\r\n\r\nexport declare type Equals<A, B> = (<T>() => T extends A ? 1 : 2) extends (<T>() => T extends B ? 1 : 2) ? 1 : 0;\r\n\r\ndeclare type Error_2 = MappedError & {\r\n originalCode?: string;\r\n originalMessage?: string;\r\n};\r\n\r\ndeclare type ErrorCapturingFunction<T> = T extends (...args: infer A) => Promise<infer R> ? (...args: A) => Promise<Result_4<ErrorCapturingInterface<R>>> : T extends (...args: infer A) => infer R ? (...args: A) => Result_4<ErrorCapturingInterface<R>> : T;\r\n\r\ndeclare type ErrorCapturingInterface<T> = {\r\n [K in keyof T]: ErrorCapturingFunction<T[K]>;\r\n};\r\n\r\ndeclare interface ErrorCapturingSqlDriverAdapter extends ErrorCapturingInterface<SqlDriverAdapter> {\r\n readonly errorRegistry: ErrorRegistry;\r\n}\r\n\r\ndeclare type ErrorFormat = 'pretty' | 'colorless' | 'minimal';\r\n\r\ndeclare type ErrorRecord = {\r\n error: unknown;\r\n};\r\n\r\ndeclare interface ErrorRegistry {\r\n consumeError(id: number): ErrorRecord | undefined;\r\n}\r\n\r\ndeclare interface ErrorWithBatchIndex {\r\n batchRequestIdx?: number;\r\n}\r\n\r\ndeclare type EventCallback<E extends ExtendedEventType> = [E] extends ['beforeExit'] ? () => Promise<void> : [E] extends [LogLevel] ? (event: EngineEvent<E>) => void : never;\r\n\r\nexport declare type Exact<A, W> = (A extends unknown ? (W extends A ? {\r\n [K in keyof A]: Exact<A[K], W[K]>;\r\n} : W) : never) | (A extends Narrowable ? A : never);\r\n\r\n/**\r\n * Defines Exception.\r\n *\r\n * string or an object with one of (message or name or code) and optional stack\r\n */\r\ndeclare type Exception = ExceptionWithCode | ExceptionWithMessage | ExceptionWithName | string;\r\n\r\ndeclare interface ExceptionWithCode {\r\n code: string | number;\r\n name?: string;\r\n message?: string;\r\n stack?: string;\r\n}\r\n\r\ndeclare interface ExceptionWithMessage {\r\n code?: string | number;\r\n message: string;\r\n name?: string;\r\n stack?: string;\r\n}\r\n\r\ndeclare interface ExceptionWithName {\r\n code?: string | number;\r\n message?: string;\r\n name: string;\r\n stack?: string;\r\n}\r\n\r\ndeclare type ExtendedEventType = LogLevel | 'beforeExit';\r\n\r\ndeclare type ExtendedSpanOptions = SpanOptions & {\r\n /** The name of the span */\r\n name: string;\r\n internal?: boolean;\r\n /** Whether it propagates context (?=true) */\r\n active?: boolean;\r\n /** The context to append the span to */\r\n context?: Context;\r\n};\r\n\r\n/** $extends, defineExtension */\r\nexport declare interface ExtendsHook<Variant extends 'extends' | 'define', TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>, TypeMap extends TypeMapDef = Call<TypeMapCb, {\r\n extArgs: ExtArgs;\r\n}>> {\r\n extArgs: ExtArgs;\r\n <R_ extends {\r\n [K in TypeMap['meta']['modelProps'] | '$allModels']?: unknown;\r\n }, R, M_ extends {\r\n [K in TypeMap['meta']['modelProps'] | '$allModels']?: unknown;\r\n }, M, Q_ extends {\r\n [K in TypeMap['meta']['modelProps'] | '$allModels' | keyof TypeMap['other']['operations'] | '$allOperations']?: unknown;\r\n }, C_ extends {\r\n [K in string]?: unknown;\r\n }, C, Args extends InternalArgs = InternalArgs<R, M, {}, C>, MergedArgs extends InternalArgs = MergeExtArgs<TypeMap, ExtArgs, Args>>(extension: ((client: DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>) => {\r\n $extends: {\r\n extArgs: Args;\r\n };\r\n }) | {\r\n name?: string;\r\n query?: DynamicQueryExtensionArgs<Q_, TypeMap>;\r\n result?: DynamicResultExtensionArgs<R_, TypeMap> & R;\r\n model?: DynamicModelExtensionArgs<M_, TypeMap, TypeMapCb, ExtArgs> & M;\r\n client?: DynamicClientExtensionArgs<C_, TypeMap, TypeMapCb, ExtArgs> & C;\r\n }): {\r\n extends: DynamicClientExtensionThis<Call<TypeMapCb, {\r\n extArgs: MergedArgs;\r\n }>, TypeMapCb, MergedArgs>;\r\n define: (client: any) => {\r\n $extends: {\r\n extArgs: Args;\r\n };\r\n };\r\n }[Variant];\r\n}\r\n\r\nexport declare type ExtensionArgs = Optional<RequiredExtensionArgs>;\r\n\r\ndeclare namespace Extensions {\r\n export {\r\n defineExtension,\r\n getExtensionContext\r\n }\r\n}\r\nexport { Extensions }\r\n\r\ndeclare namespace Extensions_2 {\r\n export {\r\n InternalArgs,\r\n DefaultArgs,\r\n GetPayloadResultExtensionKeys,\r\n GetPayloadResultExtensionObject,\r\n GetPayloadResult,\r\n GetSelect,\r\n GetOmit,\r\n DynamicQueryExtensionArgs,\r\n DynamicQueryExtensionCb,\r\n DynamicQueryExtensionCbArgs,\r\n DynamicQueryExtensionCbArgsArgs,\r\n DynamicResultExtensionArgs,\r\n DynamicResultExtensionNeeds,\r\n DynamicResultExtensionData,\r\n DynamicModelExtensionArgs,\r\n DynamicModelExtensionThis,\r\n DynamicModelExtensionOperationFn,\r\n DynamicModelExtensionFnResult,\r\n DynamicModelExtensionFnResultBase,\r\n DynamicModelExtensionFluentApi,\r\n DynamicModelExtensionFnResultNull,\r\n DynamicClientExtensionArgs,\r\n DynamicClientExtensionThis,\r\n ClientBuiltInProp,\r\n DynamicClientExtensionThisBuiltin,\r\n ExtendsHook,\r\n MergeExtArgs,\r\n AllModelsToStringIndex,\r\n TypeMapDef,\r\n DevTypeMapDef,\r\n DevTypeMapFnDef,\r\n ClientOptionDef,\r\n ClientOtherOps,\r\n TypeMapCbDef,\r\n ModelKey,\r\n RequiredExtensionArgs as UserArgs\r\n }\r\n}\r\n\r\nexport declare type ExtractGlobalOmit<Options, ModelName extends string> = Options extends {\r\n omit: {\r\n [K in ModelName]: infer GlobalOmit;\r\n };\r\n} ? GlobalOmit : {};\r\n\r\ndeclare type Field = ReadonlyDeep_2<{\r\n kind: FieldKind;\r\n name: string;\r\n isRequired: boolean;\r\n isList: boolean;\r\n isUnique: boolean;\r\n isId: boolean;\r\n isReadOnly: boolean;\r\n isGenerated?: boolean;\r\n isUpdatedAt?: boolean;\r\n /**\r\n * Describes the data type in the same the way it is defined in the Prisma schema:\r\n * BigInt, Boolean, Bytes, DateTime, Decimal, Float, Int, JSON, String, $ModelName\r\n */\r\n type: string;\r\n /**\r\n * Native database type, if specified.\r\n * For example, `@db.VarChar(191)` is encoded as `['VarChar', ['191']]`,\r\n * `@db.Text` is encoded as `['Text', []]`.\r\n */\r\n nativeType?: [string, string[]] | null;\r\n dbName?: string | null;\r\n hasDefaultValue: boolean;\r\n default?: FieldDefault | FieldDefaultScalar | FieldDefaultScalar[];\r\n relationFromFields?: string[];\r\n relationToFields?: string[];\r\n relationOnDelete?: string;\r\n relationOnUpdate?: string;\r\n relationName?: string;\r\n documentation?: string;\r\n}>;\r\n\r\ndeclare type FieldDefault = ReadonlyDeep_2<{\r\n name: string;\r\n args: Array<string | number>;\r\n}>;\r\n\r\ndeclare type FieldDefaultScalar = string | boolean | number;\r\n\r\ndeclare type FieldInitializer = {\r\n type: 'value';\r\n value: PrismaValue;\r\n} | {\r\n type: 'lastInsertId';\r\n};\r\n\r\ndeclare type FieldKind = 'scalar' | 'object' | 'enum' | 'unsupported';\r\n\r\ndeclare type FieldLocation = 'scalar' | 'inputObjectTypes' | 'outputObjectTypes' | 'enumTypes' | 'fieldRefTypes';\r\n\r\ndeclare type FieldNamespace = 'model' | 'prisma';\r\n\r\ndeclare type FieldOperation = {\r\n type: 'set';\r\n value: PrismaValue;\r\n} | {\r\n type: 'add';\r\n value: PrismaValue;\r\n} | {\r\n type: 'subtract';\r\n value: PrismaValue;\r\n} | {\r\n type: 'multiply';\r\n value: PrismaValue;\r\n} | {\r\n type: 'divide';\r\n value: PrismaValue;\r\n};\r\n\r\n/**\r\n * A reference to a specific field of a specific model\r\n */\r\nexport declare interface FieldRef<Model, FieldType> {\r\n readonly modelName: Model;\r\n readonly name: string;\r\n readonly typeName: FieldType;\r\n readonly isList: boolean;\r\n}\r\n\r\ndeclare type FieldRefAllowType = TypeRef<'scalar' | 'enumTypes'>;\r\n\r\ndeclare type FieldRefType = ReadonlyDeep_2<{\r\n name: string;\r\n allowTypes: FieldRefAllowType[];\r\n fields: SchemaArg[];\r\n}>;\r\n\r\ndeclare type FieldScalarType = {\r\n type: 'string' | 'int' | 'bigint' | 'float' | 'boolean' | 'json' | 'object' | 'datetime' | 'decimal' | 'unsupported';\r\n} | {\r\n type: 'enum';\r\n name: string;\r\n} | {\r\n type: 'bytes';\r\n encoding: 'array' | 'base64' | 'hex';\r\n};\r\n\r\ndeclare type FieldType = {\r\n arity: Arity;\r\n} & FieldScalarType;\r\n\r\ndeclare type FluentOperation = 'findUnique' | 'findUniqueOrThrow' | 'findFirst' | 'findFirstOrThrow' | 'create' | 'update' | 'upsert' | 'delete';\r\n\r\nexport declare interface Fn<Params = unknown, Returns = unknown> {\r\n params: Params;\r\n returns: Returns;\r\n}\r\n\r\ndeclare type Fragment = {\r\n type: 'stringChunk';\r\n chunk: string;\r\n} | {\r\n type: 'parameter';\r\n} | {\r\n type: 'parameterTuple';\r\n} | {\r\n type: 'parameterTupleList';\r\n itemPrefix: string;\r\n itemSeparator: string;\r\n itemSuffix: string;\r\n groupSeparator: string;\r\n};\r\n\r\ndeclare interface GeneratorConfig {\r\n name: string;\r\n output: EnvValue | null;\r\n isCustomOutput?: boolean;\r\n provider: EnvValue;\r\n config: {\r\n /** `output` is a reserved name and will only be available directly at `generator.output` */\r\n output?: never;\r\n /** `provider` is a reserved name and will only be available directly at `generator.provider` */\r\n provider?: never;\r\n /** `binaryTargets` is a reserved name and will only be available directly at `generator.binaryTargets` */\r\n binaryTargets?: never;\r\n /** `previewFeatures` is a reserved name and will only be available directly at `generator.previewFeatures` */\r\n previewFeatures?: never;\r\n } & {\r\n [key: string]: string | string[] | undefined;\r\n };\r\n binaryTargets: BinaryTargetsEnvValue[];\r\n previewFeatures: string[];\r\n envPaths?: EnvPaths;\r\n sourceFilePath: string;\r\n}\r\n\r\nexport declare type GetAggregateResult<P extends OperationPayload, A> = {\r\n [K in keyof A as K extends Aggregate ? K : never]: K extends '_count' ? A[K] extends true ? number : Count<A[K]> : {\r\n [J in keyof A[K] & string]: P['scalars'][J] | null;\r\n };\r\n};\r\n\r\ndeclare function getBatchRequestPayload(batch: JsonQuery[], transaction?: TransactionOptions_2<unknown>): QueryEngineBatchRequest;\r\n\r\nexport declare type GetBatchResult = {\r\n count: number;\r\n};\r\n\r\nexport declare type GetCountResult<A> = A extends {\r\n select: infer S;\r\n} ? (S extends true ? number : Count<S>) : number;\r\n\r\ndeclare function getExtensionContext<T>(that: T): Context_2<T>;\r\n\r\nexport declare type GetFindResult<P extends OperationPayload, A, GlobalOmitOptions> = Equals<A, any> extends 1 ? DefaultSelection<P, A, GlobalOmitOptions> : A extends {\r\n select: infer S extends object;\r\n} & Record<string, unknown> | {\r\n include: infer I extends object;\r\n} & Record<string, unknown> ? {\r\n [K in keyof S | keyof I as (S & I)[K] extends false | undefined | Skip | null ? never : K]: (S & I)[K] extends object ? P extends SelectablePayloadFields<K, (infer O)[]> ? O extends OperationPayload ? GetFindResult<O, (S & I)[K], GlobalOmitOptions>[] : never : P extends SelectablePayloadFields<K, infer O | null> ? O extends OperationPayload ? GetFindResult<O, (S & I)[K], GlobalOmitOptions> | SelectField<P, K> & null : never : K extends '_count' ? Count<GetFindResult<P, (S & I)[K], GlobalOmitOptions>> : never : P extends SelectablePayloadFields<K, (infer O)[]> ? O extends OperationPayload ? DefaultSelection<O, {}, GlobalOmitOptions>[] : never : P extends SelectablePayloadFields<K, infer O | null> ? O extends OperationPayload ? DefaultSelection<O, {}, GlobalOmitOptions> | SelectField<P, K> & null : never : P extends {\r\n scalars: {\r\n [k in K]: infer O;\r\n };\r\n } ? O : K extends '_count' ? Count<P['objects']> : never;\r\n} & (A extends {\r\n include: any;\r\n} & Record<string, unknown> ? DefaultSelection<P, A & {\r\n omit: A['omit'];\r\n}, GlobalOmitOptions> : unknown) : DefaultSelection<P, A, GlobalOmitOptions>;\r\n\r\nexport declare type GetGroupByResult<P extends OperationPayload, A> = A extends {\r\n by: string[];\r\n} ? Array<GetAggregateResult<P, A> & {\r\n [K in A['by'][number]]: P['scalars'][K];\r\n}> : A extends {\r\n by: string;\r\n} ? Array<GetAggregateResult<P, A> & {\r\n [K in A['by']]: P['scalars'][K];\r\n}> : {}[];\r\n\r\nexport declare type GetOmit<BaseKeys extends string, R extends InternalArgs['result'][string], ExtraType = never> = {\r\n [K in (string extends keyof R ? never : keyof R) | BaseKeys]?: boolean | ExtraType;\r\n};\r\n\r\nexport declare type GetPayloadResult<Base extends Record<any, any>, R extends InternalArgs['result'][string]> = Omit<Base, GetPayloadResultExtensionKeys<R>> & GetPayloadResultExtensionObject<R>;\r\n\r\nexport declare type GetPayloadResultExtensionKeys<R extends InternalArgs['result'][string], KR extends keyof R = string extends keyof R ? never : keyof R> = KR;\r\n\r\nexport declare type GetPayloadResultExtensionObject<R extends InternalArgs['result'][string]> = {\r\n [K in GetPayloadResultExtensionKeys<R>]: R[K] extends () => {\r\n compute: (...args: any) => infer C;\r\n } ? C : never;\r\n};\r\n\r\nexport declare function getPrismaClient(config: GetPrismaClientConfig): {\r\n new (optionsArg?: PrismaClientOptions): {\r\n _originalClient: any;\r\n _runtimeDataModel: RuntimeDataModel;\r\n _requestHandler: RequestHandler;\r\n _connectionPromise?: Promise<any> | undefined;\r\n _disconnectionPromise?: Promise<any> | undefined;\r\n _engineConfig: EngineConfig;\r\n _accelerateEngineConfig: AccelerateEngineConfig;\r\n _clientVersion: string;\r\n _errorFormat: ErrorFormat;\r\n _tracingHelper: TracingHelper;\r\n _previewFeatures: string[];\r\n _activeProvider: string;\r\n _globalOmit?: GlobalOmitOptions | undefined;\r\n _extensions: MergedExtensionsList;\r\n /**\r\n * @remarks This is used internally by Policy, do not rename or remove\r\n */\r\n _engine: Engine;\r\n /**\r\n * A fully constructed/applied Client that references the parent\r\n * PrismaClient. This is used for Client extensions only.\r\n */\r\n _appliedParent: any;\r\n _createPrismaPromise: PrismaPromiseFactory;\r\n $on<E extends ExtendedEventType>(eventType: E, callback: EventCallback<E>): any;\r\n $connect(): Promise<void>;\r\n /**\r\n * Disconnect from the database\r\n */\r\n $disconnect(): Promise<void>;\r\n /**\r\n * Executes a raw query and always returns a number\r\n */\r\n $executeRawInternal(transaction: PrismaPromiseTransaction | undefined, clientMethod: string, args: RawQueryArgs, middlewareArgsMapper?: MiddlewareArgsMapper<unknown, unknown>): Promise<number>;\r\n /**\r\n * Executes a raw query provided through a safe tag function\r\n * @see https://github.com/prisma/prisma/issues/7142\r\n *\r\n * @param query\r\n * @param values\r\n * @returns\r\n */\r\n $executeRaw(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Unsafe counterpart of `$executeRaw` that is susceptible to SQL injections\r\n * @see https://github.com/prisma/prisma/issues/7142\r\n *\r\n * @param query\r\n * @param values\r\n * @returns\r\n */\r\n $executeRawUnsafe(query: string, ...values: RawValue[]): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Executes a raw command only for MongoDB\r\n *\r\n * @param command\r\n * @returns\r\n */\r\n $runCommandRaw(command: Record<string, JsInputValue>): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Executes a raw query and returns selected data\r\n */\r\n $queryRawInternal(transaction: PrismaPromiseTransaction | undefined, clientMethod: string, args: RawQueryArgs, middlewareArgsMapper?: MiddlewareArgsMapper<unknown, unknown>): Promise<any>;\r\n /**\r\n * Executes a raw query provided through a safe tag function\r\n * @see https://github.com/prisma/prisma/issues/7142\r\n *\r\n * @param query\r\n * @param values\r\n * @returns\r\n */\r\n $queryRaw(query: TemplateStringsArray | Sql, ...values: any[]): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Counterpart to $queryRaw, that returns strongly typed results\r\n * @param typedSql\r\n */\r\n $queryRawTyped(typedSql: UnknownTypedSql): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Unsafe counterpart of `$queryRaw` that is susceptible to SQL injections\r\n * @see https://github.com/prisma/prisma/issues/7142\r\n *\r\n * @param query\r\n * @param values\r\n * @returns\r\n */\r\n $queryRawUnsafe(query: string, ...values: RawValue[]): PrismaPromise_2<unknown, any>;\r\n /**\r\n * Execute a batch of requests in a transaction\r\n * @param requests\r\n * @param options\r\n */\r\n _transactionWithArray({ promises, options, }: {\r\n promises: Array<PrismaPromise_2<any>>;\r\n options?: BatchTransactionOptions;\r\n }): Promise<any>;\r\n /**\r\n * Perform a long-running transaction\r\n * @param callback\r\n * @param options\r\n * @returns\r\n */\r\n _transactionWithCallback({ callback, options, }: {\r\n callback: (client: Client) => Promise<unknown>;\r\n options?: Options;\r\n }): Promise<unknown>;\r\n _createItxClient(transaction: PrismaPromiseInteractiveTransaction): Client;\r\n /**\r\n * Execute queries within a transaction\r\n * @param input a callback or a query list\r\n * @param options to set timeouts (callback)\r\n * @returns\r\n */\r\n $transaction(input: any, options?: any): Promise<any>;\r\n /**\r\n * Runs the middlewares over params before executing a request\r\n * @param internalParams\r\n * @returns\r\n */\r\n _request(internalParams: InternalRequestParams): Promise<any>;\r\n _executeRequest({ args, clientMethod, dataPath, callsite, action, model, argsMapper, transaction, unpacker, otelParentCtx, customDataProxyFetch, }: InternalRequestParams): Promise<any>;\r\n $metrics: MetricsClient;\r\n /**\r\n * Shortcut for checking a preview flag\r\n * @param feature preview flag\r\n * @returns\r\n */\r\n _hasPreviewFlag(feature: string): boolean;\r\n $applyPendingMigrations(): Promise<void>;\r\n $extends: typeof $extends;\r\n readonly [Symbol.toStringTag]: string;\r\n };\r\n};\r\n\r\n/**\r\n * Config that is stored into the generated client. When the generated client is\r\n * loaded, this same config is passed to {@link getPrismaClient} which creates a\r\n * closure with that config around a non-instantiated [[PrismaClient]].\r\n */\r\nexport declare type GetPrismaClientConfig = {\r\n runtimeDataModel: RuntimeDataModel;\r\n generator?: GeneratorConfig;\r\n relativeEnvPaths?: {\r\n rootEnvPath?: string | null;\r\n schemaEnvPath?: string | null;\r\n };\r\n relativePath: string;\r\n dirname: string;\r\n clientVersion: string;\r\n engineVersion: string;\r\n datasourceNames: string[];\r\n activeProvider: ActiveConnectorType;\r\n /**\r\n * The contents of the schema encoded into a string\r\n * @remarks only used for the purpose of data proxy\r\n */\r\n inlineSchema: string;\r\n /**\r\n * A special env object just for the data proxy edge runtime.\r\n * Allows bundlers to inject their own env variables (Vercel).\r\n * Allows platforms to declare global variables as env (Workers).\r\n * @remarks only used for the purpose of data proxy\r\n */\r\n injectableEdgeEnv?: () => LoadedEnv;\r\n /**\r\n * The contents of the datasource url saved in a string.\r\n * This can either be an env var name or connection string.\r\n * It is needed by the client to connect to the Data Proxy.\r\n * @remarks only used for the purpose of data proxy\r\n */\r\n inlineDatasources: {\r\n [name in string]: {\r\n url: EnvValue;\r\n };\r\n };\r\n /**\r\n * The string hash that was produced for a given schema\r\n * @remarks only used for the purpose of data proxy\r\n */\r\n inlineSchemaHash: string;\r\n /**\r\n * A marker to indicate that the client was not generated via `prisma\r\n * generate` but was generated via `generate --postinstall` script instead.\r\n * @remarks used to error for Vercel/Netlify for schema caching issues\r\n */\r\n postinstall?: boolean;\r\n /**\r\n * Information about the CI where the Prisma Client has been generated. The\r\n * name of the CI environment is stored at generation time because CI\r\n * information is not always available at runtime. Moreover, the edge client\r\n * has no notion of environment variables, so this works around that.\r\n * @remarks used to error for Vercel/Netlify for schema caching issues\r\n */\r\n ciName?: string;\r\n /**\r\n * Information about whether we have not found a schema.prisma file in the\r\n * default location, and that we fell back to finding the schema.prisma file\r\n * in the current working directory. This usually means it has been bundled.\r\n */\r\n isBundled?: boolean;\r\n /**\r\n * A boolean that is `false` when the client was generated with --no-engine. At\r\n * runtime, this means the client will be bound to be using the Data Proxy.\r\n */\r\n copyEngine?: boolean;\r\n /**\r\n * Optional wasm loading configuration\r\n */\r\n engineWasm?: EngineWasmLoadingConfig;\r\n compilerWasm?: CompilerWasmLoadingConfig;\r\n};\r\n\r\nexport declare type GetResult<Payload extends OperationPayload, Args, OperationName extends Operation = 'findUniqueOrThrow', GlobalOmitOptions = {}> = {\r\n findUnique: GetFindResult<Payload, Args, GlobalOmitOptions> | null;\r\n findUniqueOrThrow: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n findFirst: GetFindResult<Payload, Args, GlobalOmitOptions> | null;\r\n findFirstOrThrow: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n findMany: GetFindResult<Payload, Args, GlobalOmitOptions>[];\r\n create: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n createMany: GetBatchResult;\r\n createManyAndReturn: GetFindResult<Payload, Args, GlobalOmitOptions>[];\r\n update: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n updateMany: GetBatchResult;\r\n updateManyAndReturn: GetFindResult<Payload, Args, GlobalOmitOptions>[];\r\n upsert: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n delete: GetFindResult<Payload, Args, GlobalOmitOptions>;\r\n deleteMany: GetBatchResult;\r\n aggregate: GetAggregateResult<Payload, Args>;\r\n count: GetCountResult<Args>;\r\n groupBy: GetGroupByResult<Payload, Args>;\r\n $queryRaw: unknown;\r\n $queryRawTyped: unknown;\r\n $executeRaw: number;\r\n $queryRawUnsafe: unknown;\r\n $executeRawUnsafe: number;\r\n $runCommandRaw: JsonObject;\r\n findRaw: JsonObject;\r\n aggregateRaw: JsonObject;\r\n}[OperationName];\r\n\r\nexport declare function getRuntime(): GetRuntimeOutput;\r\n\r\ndeclare type GetRuntimeOutput = {\r\n id: RuntimeName;\r\n prettyName: string;\r\n isEdge: boolean;\r\n};\r\n\r\nexport declare type GetSelect<Base extends Record<any, any>, R extends InternalArgs['result'][string], KR extends keyof R = string extends keyof R ? never : keyof R> = {\r\n [K in KR | keyof Base]?: K extends KR ? boolean : Base[K];\r\n};\r\n\r\ndeclare type GlobalOmitOptions = {\r\n [modelName: string]: {\r\n [fieldName: string]: boolean;\r\n };\r\n};\r\n\r\ndeclare type HandleErrorParams = {\r\n args: JsArgs;\r\n error: any;\r\n clientMethod: string;\r\n callsite?: CallSite;\r\n transaction?: PrismaPromiseTransaction;\r\n modelName?: string;\r\n globalOmit?: GlobalOmitOptions;\r\n};\r\n\r\ndeclare type HrTime = [number, number];\r\n\r\n/**\r\n * Defines High-Resolution Time.\r\n *\r\n * The first number, HrTime[0], is UNIX Epoch time in seconds since 00:00:00 UTC on 1 January 1970.\r\n * The second number, HrTime[1], represents the partial second elapsed since Unix Epoch time represented by first number in nanoseconds.\r\n * For example, 2021-01-01T12:30:10.150Z in UNIX Epoch time in milliseconds is represented as 1609504210150.\r\n * The first number is calculated by converting and truncating the Epoch time in milliseconds to seconds:\r\n * HrTime[0] = Math.trunc(1609504210150 / 1000) = 1609504210.\r\n * The second number is calculated by converting the digits after the decimal point of the subtraction, (1609504210150 / 1000) - HrTime[0], to nanoseconds:\r\n * HrTime[1] = Number((1609504210.150 - HrTime[0]).toFixed(9)) * 1e9 = 150000000.\r\n * This is represented in HrTime format as [1609504210, 150000000].\r\n */\r\ndeclare type HrTime_2 = [number, number];\r\n\r\ndeclare type Index = ReadonlyDeep_2<{\r\n model: string;\r\n type: IndexType;\r\n isDefinedOnField: boolean;\r\n name?: string;\r\n dbName?: string;\r\n algorithm?: string;\r\n clustered?: boolean;\r\n fields: IndexField[];\r\n}>;\r\n\r\ndeclare type IndexField = ReadonlyDeep_2<{\r\n name: string;\r\n sortOrder?: SortOrder;\r\n length?: number;\r\n operatorClass?: string;\r\n}>;\r\n\r\ndeclare type IndexType = 'id' | 'normal' | 'unique' | 'fulltext';\r\n\r\ndeclare type InMemoryOps = {\r\n pagination: Pagination | null;\r\n distinct: string[] | null;\r\n reverse: boolean;\r\n linkingFields: string[] | null;\r\n nested: Record<string, InMemoryOps>;\r\n};\r\n\r\n/**\r\n * Matches a JSON array.\r\n * Unlike \\`JsonArray\\`, readonly arrays are assignable to this type.\r\n */\r\nexport declare interface InputJsonArray extends ReadonlyArray<InputJsonValue | null> {\r\n}\r\n\r\n/**\r\n * Matches a JSON object.\r\n * Unlike \\`JsonObject\\`, this type allows undefined and read-only properties.\r\n */\r\nexport declare type InputJsonObject = {\r\n readonly [Key in string]?: InputJsonValue | null;\r\n};\r\n\r\n/**\r\n * Matches any valid value that can be used as an input for operations like\r\n * create and update as the value of a JSON field. Unlike \\`JsonValue\\`, this\r\n * type allows read-only arrays and read-only object properties and disallows\r\n * \\`null\\` at the top level.\r\n *\r\n * \\`null\\` cannot be used as the value of a JSON field because its meaning\r\n * would be ambiguous. Use \\`Prisma.JsonNull\\` to store the JSON null value or\r\n * \\`Prisma.DbNull\\` to clear the JSON value and set the field to the database\r\n * NULL value instead.\r\n *\r\n * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-by-null-values\r\n */\r\nexport declare type InputJsonValue = string | number | boolean | InputJsonObject | InputJsonArray | {\r\n toJSON(): unknown;\r\n};\r\n\r\ndeclare type InputType = ReadonlyDeep_2<{\r\n name: string;\r\n constraints: {\r\n maxNumFields: number | null;\r\n minNumFields: number | null;\r\n fields?: string[];\r\n };\r\n meta?: {\r\n source?: string;\r\n grouping?: string;\r\n };\r\n fields: SchemaArg[];\r\n}>;\r\n\r\ndeclare type InputTypeRef = TypeRef<'scalar' | 'inputObjectTypes' | 'enumTypes' | 'fieldRefTypes'>;\r\n\r\ndeclare type InteractiveTransactionInfo<Payload = unknown> = {\r\n /**\r\n * Transaction ID returned by the query engine.\r\n */\r\n id: string;\r\n /**\r\n * Arbitrary payload the meaning of which depends on the `Engine` implementation.\r\n * For example, `DataProxyEngine` needs to associate different API endpoints with transactions.\r\n * In `LibraryEngine` and `BinaryEngine` it is currently not used.\r\n */\r\n payload: Payload;\r\n};\r\n\r\ndeclare type InteractiveTransactionOptions<Payload> = Transaction_2.InteractiveTransactionInfo<Payload>;\r\n\r\nexport declare type InternalArgs<R = {\r\n [K in string]: {\r\n [K in string]: unknown;\r\n };\r\n}, M = {\r\n [K in string]: {\r\n [K in string]: unknown;\r\n };\r\n}, Q = {\r\n [K in string]: {\r\n [K in string]: unknown;\r\n };\r\n}, C = {\r\n [K in string]: unknown;\r\n}> = {\r\n result: {\r\n [K in keyof R]: {\r\n [P in keyof R[K]]: () => R[K][P];\r\n };\r\n };\r\n model: {\r\n [K in keyof M]: {\r\n [P in keyof M[K]]: () => M[K][P];\r\n };\r\n };\r\n query: {\r\n [K in keyof Q]: {\r\n [P in keyof Q[K]]: () => Q[K][P];\r\n };\r\n };\r\n client: {\r\n [K in keyof C]: () => C[K];\r\n };\r\n};\r\n\r\ndeclare type InternalRequestParams = {\r\n /**\r\n * The original client method being called.\r\n * Even though the rootField / operation can be changed,\r\n * this method stays as it is, as it's what the user's\r\n * code looks like\r\n */\r\n clientMethod: string;\r\n /**\r\n * Name of js model that triggered the request. Might be used\r\n * for warnings or error messages\r\n */\r\n jsModelName?: string;\r\n callsite?: CallSite;\r\n transaction?: PrismaPromiseTransaction;\r\n unpacker?: Unpacker;\r\n otelParentCtx?: Context;\r\n /** Used to \"desugar\" a user input into an \"expanded\" one */\r\n argsMapper?: (args?: UserArgs_2) => UserArgs_2;\r\n /** Used to convert args for middleware and back */\r\n middlewareArgsMapper?: MiddlewareArgsMapper<unknown, unknown>;\r\n /** Used for Accelerate client extension via Data Proxy */\r\n customDataProxyFetch?: AccelerateExtensionFetchDecorator;\r\n} & Omit<QueryMiddlewareParams, 'runInTransaction'>;\r\n\r\ndeclare type IsolationLevel = 'READ UNCOMMITTED' | 'READ COMMITTED' | 'REPEATABLE READ' | 'SNAPSHOT' | 'SERIALIZABLE';\r\n\r\ndeclare type IsolationLevel_2 = 'ReadUncommitted' | 'ReadCommitted' | 'RepeatableRead' | 'Snapshot' | 'Serializable';\r\n\r\ndeclare function isSkip(value: unknown): value is Skip;\r\n\r\nexport declare function isTypedSql(value: unknown): value is UnknownTypedSql;\r\n\r\nexport declare type ITXClientDenyList = (typeof denylist)[number];\r\n\r\nexport declare const itxClientDenyList: readonly (string | symbol)[];\r\n\r\ndeclare interface Job {\r\n resolve: (data: any) => void;\r\n reject: (data: any) => void;\r\n request: any;\r\n}\r\n\r\n/**\r\n * Create a SQL query for a list of values.\r\n */\r\nexport declare function join(values: readonly RawValue[], separator?: string, prefix?: string, suffix?: string): Sql;\r\n\r\ndeclare type JoinExpression = {\r\n child: QueryPlanNode;\r\n on: [left: string, right: string][];\r\n parentField: string;\r\n isRelationUnique: boolean;\r\n};\r\n\r\nexport declare type JsArgs = {\r\n select?: Selection_2;\r\n include?: Selection_2;\r\n omit?: Omission;\r\n [argName: string]: JsInputValue;\r\n};\r\n\r\nexport declare type JsInputValue = null | undefined | string | number | boolean | bigint | Uint8Array | Date | DecimalJsLike | ObjectEnumValue | RawParameters | JsonConvertible | FieldRef<string, unknown> | JsInputValue[] | Skip | {\r\n [key: string]: JsInputValue;\r\n};\r\n\r\ndeclare type JsonArgumentValue = number | string | boolean | null | RawTaggedValue | JsonArgumentValue[] | {\r\n [key: string]: JsonArgumentValue;\r\n};\r\n\r\n/**\r\n * From https://github.com/sindresorhus/type-fest/\r\n * Matches a JSON array.\r\n */\r\nexport declare interface JsonArray extends Array<JsonValue> {\r\n}\r\n\r\nexport declare type JsonBatchQuery = {\r\n batch: JsonQuery[];\r\n transaction?: {\r\n isolationLevel?: IsolationLevel_2;\r\n };\r\n};\r\n\r\nexport declare interface JsonConvertible {\r\n toJSON(): unknown;\r\n}\r\n\r\ndeclare type JsonFieldSelection = {\r\n arguments?: Record<string, JsonArgumentValue> | RawTaggedValue;\r\n selection: JsonSelectionSet;\r\n};\r\n\r\ndeclare class JsonNull extends NullTypesEnumValue {\r\n #private;\r\n}\r\n\r\n/**\r\n * From https://github.com/sindresorhus/type-fest/\r\n * Matches a JSON object.\r\n * This type can be useful to enforce some input to be JSON-compatible or as a super-type to be extended from.\r\n */\r\nexport declare type JsonObject = {\r\n [Key in string]?: JsonValue;\r\n};\r\n\r\nexport declare type JsonQuery = {\r\n modelName?: string;\r\n action: JsonQueryAction;\r\n query: JsonFieldSelection;\r\n};\r\n\r\ndeclare type JsonQueryAction = 'findUnique' | 'findUniqueOrThrow' | 'findFirst' | 'findFirstOrThrow' | 'findMany' | 'createOne' | 'createMany' | 'createManyAndReturn' | 'updateOne' | 'updateMany' | 'updateManyAndReturn' | 'deleteOne' | 'deleteMany' | 'upsertOne' | 'aggregate' | 'groupBy' | 'executeRaw' | 'queryRaw' | 'runCommandRaw' | 'findRaw' | 'aggregateRaw';\r\n\r\ndeclare type JsonSelectionSet = {\r\n $scalars?: boolean;\r\n $composites?: boolean;\r\n} & {\r\n [fieldName: string]: boolean | JsonFieldSelection;\r\n};\r\n\r\n/**\r\n * From https://github.com/sindresorhus/type-fest/\r\n * Matches any valid JSON value.\r\n */\r\nexport declare type JsonValue = string | number | boolean | JsonObject | JsonArray | null;\r\n\r\nexport declare type JsOutputValue = null | string | number | boolean | bigint | Uint8Array | Date | Decimal | JsOutputValue[] | {\r\n [key: string]: JsOutputValue;\r\n};\r\n\r\nexport declare type JsPromise<T> = Promise<T> & {};\r\n\r\ndeclare type KnownErrorParams = {\r\n code: string;\r\n clientVersion: string;\r\n meta?: Record<string, unknown>;\r\n batchRequestIdx?: number;\r\n};\r\n\r\n/**\r\n * A pointer from the current {@link Span} to another span in the same trace or\r\n * in a different trace.\r\n * Few examples of Link usage.\r\n * 1. Batch Processing: A batch of elements may contain elements associated\r\n * with one or more traces/spans. Since there can only be one parent\r\n * SpanContext, Link is used to keep reference to SpanContext of all\r\n * elements in the batch.\r\n * 2. Public Endpoint: A SpanContext in incoming client request on a public\r\n * endpoint is untrusted from service provider perspective. In such case it\r\n * is advisable to start a new trace with appropriate sampling decision.\r\n * However, it is desirable to associate incoming SpanContext to new trace\r\n * initiated on service provider side so two traces (from Client and from\r\n * Service Provider) can be correlated.\r\n */\r\ndeclare interface Link {\r\n /** The {@link SpanContext} of a linked span. */\r\n context: SpanContext;\r\n /** A set of {@link SpanAttributes} on the link. */\r\n attributes?: SpanAttributes;\r\n /** Count of attributes of the link that were dropped due to collection limits */\r\n droppedAttributesCount?: number;\r\n}\r\n\r\ndeclare type LoadedEnv = {\r\n message?: string;\r\n parsed: {\r\n [x: string]: string;\r\n };\r\n} | undefined;\r\n\r\ndeclare type LocationInFile = {\r\n fileName: string;\r\n lineNumber: number | null;\r\n columnNumber: number | null;\r\n};\r\n\r\ndeclare type LogDefinition = {\r\n level: LogLevel;\r\n emit: 'stdout' | 'event';\r\n};\r\n\r\n/**\r\n * Typings for the events we emit.\r\n *\r\n * @remarks\r\n * If this is updated, our edge runtime shim needs to be updated as well.\r\n */\r\ndeclare type LogEmitter = {\r\n on<E extends EngineEventType>(event: E, listener: (event: EngineEvent<E>) => void): LogEmitter;\r\n emit(event: QueryEventType, payload: QueryEvent): boolean;\r\n emit(event: LogEventType, payload: LogEvent): boolean;\r\n};\r\n\r\ndeclare type LogEvent = {\r\n timestamp: Date;\r\n message: string;\r\n target: string;\r\n};\r\n\r\ndeclare type LogEventType = 'info' | 'warn' | 'error';\r\n\r\ndeclare type LogLevel = 'info' | 'query' | 'warn' | 'error';\r\n\r\n/**\r\n * Generates more strict variant of an enum which, unlike regular enum,\r\n * throws on non-existing property access. This can be useful in following situations:\r\n * - we have an API, that accepts both `undefined` and `SomeEnumType` as an input\r\n * - enum values are generated dynamically from DMMF.\r\n *\r\n * In that case, if using normal enums and no compile-time typechecking, using non-existing property\r\n * will result in `undefined` value being used, which will be accepted. Using strict enum\r\n * in this case will help to have a runtime exception, telling you that you are probably doing something wrong.\r\n *\r\n * Note: if you need to check for existence of a value in the enum you can still use either\r\n * `in` operator or `hasOwnProperty` function.\r\n *\r\n * @param definition\r\n * @returns\r\n */\r\nexport declare function makeStrictEnum<T extends Record<PropertyKey, string | number>>(definition: T): T;\r\n\r\nexport declare function makeTypedQueryFactory(sql: string): (...values: any[]) => TypedSql<any[], unknown>;\r\n\r\ndeclare type MappedError = {\r\n kind: 'GenericJs';\r\n id: number;\r\n} | {\r\n kind: 'UnsupportedNativeDataType';\r\n type: string;\r\n} | {\r\n kind: 'InvalidIsolationLevel';\r\n level: string;\r\n} | {\r\n kind: 'LengthMismatch';\r\n column?: string;\r\n} | {\r\n kind: 'UniqueConstraintViolation';\r\n constraint?: {\r\n fields: string[];\r\n } | {\r\n index: string;\r\n } | {\r\n foreignKey: {};\r\n };\r\n} | {\r\n kind: 'NullConstraintViolation';\r\n constraint?: {\r\n fields: string[];\r\n } | {\r\n index: string;\r\n } | {\r\n foreignKey: {};\r\n };\r\n} | {\r\n kind: 'ForeignKeyConstraintViolation';\r\n constraint?: {\r\n fields: string[];\r\n } | {\r\n index: string;\r\n } | {\r\n foreignKey: {};\r\n };\r\n} | {\r\n kind: 'DatabaseNotReachable';\r\n host?: string;\r\n port?: number;\r\n} | {\r\n kind: 'DatabaseDoesNotExist';\r\n db?: string;\r\n} | {\r\n kind: 'DatabaseAlreadyExists';\r\n db?: string;\r\n} | {\r\n kind: 'DatabaseAccessDenied';\r\n db?: string;\r\n} | {\r\n kind: 'ConnectionClosed';\r\n} | {\r\n kind: 'TlsConnectionError';\r\n reason: string;\r\n} | {\r\n kind: 'AuthenticationFailed';\r\n user?: string;\r\n} | {\r\n kind: 'TransactionWriteConflict';\r\n} | {\r\n kind: 'TableDoesNotExist';\r\n table?: string;\r\n} | {\r\n kind: 'ColumnNotFound';\r\n column?: string;\r\n} | {\r\n kind: 'TooManyConnections';\r\n cause: string;\r\n} | {\r\n kind: 'ValueOutOfRange';\r\n cause: string;\r\n} | {\r\n kind: 'MissingFullTextSearchIndex';\r\n} | {\r\n kind: 'SocketTimeout';\r\n} | {\r\n kind: 'InconsistentColumnData';\r\n cause: string;\r\n} | {\r\n kind: 'TransactionAlreadyClosed';\r\n cause: string;\r\n} | {\r\n kind: 'postgres';\r\n code: string;\r\n severity: string;\r\n message: string;\r\n detail: string | undefined;\r\n column: string | undefined;\r\n hint: string | undefined;\r\n} | {\r\n kind: 'mysql';\r\n code: number;\r\n message: string;\r\n state: string;\r\n} | {\r\n kind: 'sqlite';\r\n /**\r\n * Sqlite extended error code: https://www.sqlite.org/rescode.html\r\n */\r\n extendedCode: number;\r\n message: string;\r\n} | {\r\n kind: 'mssql';\r\n code: number;\r\n message: string;\r\n};\r\n\r\ndeclare type Mappings = ReadonlyDeep_2<{\r\n modelOperations: ModelMapping[];\r\n otherOperations: {\r\n read: string[];\r\n write: string[];\r\n };\r\n}>;\r\n\r\n/**\r\n * Class that holds the list of all extensions, applied to particular instance,\r\n * as well as resolved versions of the components that need to apply on\r\n * different levels. Main idea of this class: avoid re-resolving as much of the\r\n * stuff as possible when new extensions are added while also delaying the\r\n * resolve until the point it is actually needed. For example, computed fields\r\n * of the model won't be resolved unless the model is actually queried. Neither\r\n * adding extensions with `client` component only cause other components to\r\n * recompute.\r\n */\r\ndeclare class MergedExtensionsList {\r\n private head?;\r\n private constructor();\r\n static empty(): MergedExtensionsList;\r\n static single(extension: ExtensionArgs): MergedExtensionsList;\r\n isEmpty(): boolean;\r\n append(extension: ExtensionArgs): MergedExtensionsList;\r\n getAllComputedFields(dmmfModelName: string): ComputedFieldsMap | undefined;\r\n getAllClientExtensions(): ClientArg | undefined;\r\n getAllModelExtensions(dmmfModelName: string): ModelArg | undefined;\r\n getAllQueryCallbacks(jsModelName: string, operation: string): any;\r\n getAllBatchQueryCallbacks(): BatchQueryOptionsCb[];\r\n}\r\n\r\nexport declare type MergeExtArgs<TypeMap extends TypeMapDef, ExtArgs extends Record<any, any>, Args extends Record<any, any>> = ComputeDeep<ExtArgs & Args & AllModelsToStringIndex<TypeMap, Args, 'result'> & AllModelsToStringIndex<TypeMap, Args, 'model'>>;\r\n\r\nexport declare type Metric<T> = {\r\n key: string;\r\n value: T;\r\n labels: Record<string, string>;\r\n description: string;\r\n};\r\n\r\nexport declare type MetricHistogram = {\r\n buckets: MetricHistogramBucket[];\r\n sum: number;\r\n count: number;\r\n};\r\n\r\nexport declare type MetricHistogramBucket = [maxValue: number, count: number];\r\n\r\nexport declare type Metrics = {\r\n counters: Metric<number>[];\r\n gauges: Metric<number>[];\r\n histograms: Metric<MetricHistogram>[];\r\n};\r\n\r\nexport declare class MetricsClient {\r\n private _client;\r\n constructor(client: Client);\r\n /**\r\n * Returns all metrics gathered up to this point in prometheus format.\r\n * Result of this call can be exposed directly to prometheus scraping endpoint\r\n *\r\n * @param options\r\n * @returns\r\n */\r\n prometheus(options?: MetricsOptions): Promise<string>;\r\n /**\r\n * Returns all metrics gathered up to this point in prometheus format.\r\n *\r\n * @param options\r\n * @returns\r\n */\r\n json(options?: MetricsOptions): Promise<Metrics>;\r\n}\r\n\r\ndeclare type MetricsOptions = {\r\n /**\r\n * Labels to add to every metrics in key-value format\r\n */\r\n globalLabels?: Record<string, string>;\r\n};\r\n\r\ndeclare type MetricsOptionsCommon = {\r\n globalLabels?: Record<string, string>;\r\n};\r\n\r\ndeclare type MetricsOptionsJson = {\r\n format: 'json';\r\n} & MetricsOptionsCommon;\r\n\r\ndeclare type MetricsOptionsPrometheus = {\r\n format: 'prometheus';\r\n} & MetricsOptionsCommon;\r\n\r\ndeclare type MiddlewareArgsMapper<RequestArgs, MiddlewareArgs> = {\r\n requestArgsToMiddlewareArgs(requestArgs: RequestArgs): MiddlewareArgs;\r\n middlewareArgsToRequestArgs(middlewareArgs: MiddlewareArgs): RequestArgs;\r\n};\r\n\r\ndeclare type Model = ReadonlyDeep_2<{\r\n name: string;\r\n dbName: string | null;\r\n schema: string | null;\r\n fields: Field[];\r\n uniqueFields: string[][];\r\n uniqueIndexes: uniqueIndex[];\r\n documentation?: string;\r\n primaryKey: PrimaryKey | null;\r\n isGenerated?: boolean;\r\n}>;\r\n\r\ndeclare enum ModelAction {\r\n findUnique = \"findUnique\",\r\n findUniqueOrThrow = \"findUniqueOrThrow\",\r\n findFirst = \"findFirst\",\r\n findFirstOrThrow = \"findFirstOrThrow\",\r\n findMany = \"findMany\",\r\n create = \"create\",\r\n createMany = \"createMany\",\r\n createManyAndReturn = \"createManyAndReturn\",\r\n update = \"update\",\r\n updateMany = \"updateMany\",\r\n updateManyAndReturn = \"updateManyAndReturn\",\r\n upsert = \"upsert\",\r\n delete = \"delete\",\r\n deleteMany = \"deleteMany\",\r\n groupBy = \"groupBy\",\r\n count = \"count\",// TODO: count does not actually exist in DMMF\r\n aggregate = \"aggregate\",\r\n findRaw = \"findRaw\",\r\n aggregateRaw = \"aggregateRaw\"\r\n}\r\n\r\nexport declare type ModelArg = {\r\n [MethodName in string]: unknown;\r\n};\r\n\r\nexport declare type ModelArgs = {\r\n model: {\r\n [ModelName in string]: ModelArg;\r\n };\r\n};\r\n\r\nexport declare type ModelKey<TypeMap extends TypeMapDef, M extends PropertyKey> = M extends keyof TypeMap['model'] ? M : Capitalize<M & string>;\r\n\r\ndeclare type ModelMapping = ReadonlyDeep_2<{\r\n model: string;\r\n plural: string;\r\n findUnique?: string | null;\r\n findUniqueOrThrow?: string | null;\r\n findFirst?: string | null;\r\n findFirstOrThrow?: string | null;\r\n findMany?: string | null;\r\n create?: string | null;\r\n createMany?: string | null;\r\n createManyAndReturn?: string | null;\r\n update?: string | null;\r\n updateMany?: string | null;\r\n updateManyAndReturn?: string | null;\r\n upsert?: string | null;\r\n delete?: string | null;\r\n deleteMany?: string | null;\r\n aggregate?: string | null;\r\n groupBy?: string | null;\r\n count?: string | null;\r\n findRaw?: string | null;\r\n aggregateRaw?: string | null;\r\n}>;\r\n\r\nexport declare type ModelQueryOptionsCb = (args: ModelQueryOptionsCbArgs) => Promise<any>;\r\n\r\nexport declare type ModelQueryOptionsCbArgs = {\r\n model: string;\r\n operation: string;\r\n args: JsArgs;\r\n query: (args: JsArgs) => Promise<unknown>;\r\n};\r\n\r\ndeclare type MultiBatchResponse = {\r\n type: 'multi';\r\n plans: QueryPlanNode[];\r\n};\r\n\r\nexport declare type NameArgs = {\r\n name?: string;\r\n};\r\n\r\nexport declare type Narrow<A> = {\r\n [K in keyof A]: A[K] extends Function ? A[K] : Narrow<A[K]>;\r\n} | (A extends Narrowable ? A : never);\r\n\r\nexport declare type Narrowable = string | number | bigint | boolean | [];\r\n\r\nexport declare type NeverToUnknown<T> = [T] extends [never] ? unknown : T;\r\n\r\ndeclare class NullTypesEnumValue extends ObjectEnumValue {\r\n _getNamespace(): string;\r\n}\r\n\r\n/**\r\n * Base class for unique values of object-valued enums.\r\n */\r\nexport declare abstract class ObjectEnumValue {\r\n constructor(arg?: symbol);\r\n abstract _getNamespace(): string;\r\n _getName(): string;\r\n toString(): string;\r\n}\r\n\r\nexport declare const objectEnumValues: {\r\n classes: {\r\n DbNull: typeof DbNull;\r\n JsonNull: typeof JsonNull;\r\n AnyNull: typeof AnyNull;\r\n };\r\n instances: {\r\n DbNull: DbNull;\r\n JsonNull: JsonNull;\r\n AnyNull: AnyNull;\r\n };\r\n};\r\n\r\ndeclare const officialPrismaAdapters: readonly [\"@prisma/adapter-planetscale\", \"@prisma/adapter-neon\", \"@prisma/adapter-libsql\", \"@prisma/adapter-better-sqlite3\", \"@prisma/adapter-d1\", \"@prisma/adapter-pg\", \"@prisma/adapter-mssql\", \"@prisma/adapter-mariadb\"];\r\n\r\nexport declare type Omission = Record<string, boolean | Skip>;\r\n\r\ndeclare type Omit_2<T, K extends string | number | symbol> = {\r\n [P in keyof T as P extends K ? never : P]: T[P];\r\n};\r\nexport { Omit_2 as Omit }\r\n\r\nexport declare type OmitValue<Omit, Key> = Key extends keyof Omit ? Omit[Key] : false;\r\n\r\nexport declare type Operation = 'findFirst' | 'findFirstOrThrow' | 'findUnique' | 'findUniqueOrThrow' | 'findMany' | 'create' | 'createMany' | 'createManyAndReturn' | 'update' | 'updateMany' | 'updateManyAndReturn' | 'upsert' | 'delete' | 'deleteMany' | 'aggregate' | 'count' | 'groupBy' | '$queryRaw' | '$executeRaw' | '$queryRawUnsafe' | '$executeRawUnsafe' | 'findRaw' | 'aggregateRaw' | '$runCommandRaw';\r\n\r\nexport declare type OperationPayload = {\r\n name: string;\r\n scalars: {\r\n [ScalarName in string]: unknown;\r\n };\r\n objects: {\r\n [ObjectName in string]: unknown;\r\n };\r\n composites: {\r\n [CompositeName in string]: unknown;\r\n };\r\n};\r\n\r\nexport declare type Optional<O, K extends keyof any = keyof O> = {\r\n [P in K & keyof O]?: O[P];\r\n} & {\r\n [P in Exclude<keyof O, K>]: O[P];\r\n};\r\n\r\nexport declare type OptionalFlat<T> = {\r\n [K in keyof T]?: T[K];\r\n};\r\n\r\nexport declare type OptionalKeys<O> = {\r\n [K in keyof O]-?: {} extends Pick_2<O, K> ? K : never;\r\n}[keyof O];\r\n\r\ndeclare type Options = {\r\n /** Timeout for starting the transaction */\r\n maxWait?: number;\r\n /** Timeout for the transaction body */\r\n timeout?: number;\r\n /** Transaction isolation level */\r\n isolationLevel?: IsolationLevel_2;\r\n};\r\n\r\ndeclare type Options_2 = {\r\n clientVersion: string;\r\n};\r\n\r\nexport declare type Or<A extends 1 | 0, B extends 1 | 0> = {\r\n 0: {\r\n 0: 0;\r\n 1: 1;\r\n };\r\n 1: {\r\n 0: 1;\r\n 1: 1;\r\n };\r\n}[A][B];\r\n\r\ndeclare type OtherOperationMappings = ReadonlyDeep_2<{\r\n read: string[];\r\n write: string[];\r\n}>;\r\n\r\ndeclare type OutputType = ReadonlyDeep_2<{\r\n name: string;\r\n fields: SchemaField[];\r\n}>;\r\n\r\ndeclare type OutputTypeRef = TypeRef<'scalar' | 'outputObjectTypes' | 'enumTypes'>;\r\n\r\ndeclare type Pagination = {\r\n cursor: Record<string, PrismaValue> | null;\r\n take: number | null;\r\n skip: number | null;\r\n};\r\n\r\nexport declare function Param<$Type, $Value extends string>(name: $Value): Param<$Type, $Value>;\r\n\r\nexport declare type Param<out $Type, $Value extends string> = {\r\n readonly name: $Value;\r\n};\r\n\r\nexport declare type PatchFlat<O1, O2> = O1 & Omit_2<O2, keyof O1>;\r\n\r\nexport declare type Path<O, P, Default = never> = O extends unknown ? P extends [infer K, ...infer R] ? K extends keyof O ? Path<O[K], R> : Default : O : never;\r\n\r\nexport declare type Payload<T, F extends Operation = never> = T extends {\r\n [K: symbol]: {\r\n types: {\r\n payload: any;\r\n };\r\n };\r\n} ? T[symbol]['types']['payload'] : any;\r\n\r\nexport declare type PayloadToResult<P, O extends Record_2<any, any> = RenameAndNestPayloadKeys<P>> = {\r\n [K in keyof O]?: O[K][K] extends any[] ? PayloadToResult<O[K][K][number]>[] : O[K][K] extends object ? PayloadToResult<O[K][K]> : O[K][K];\r\n};\r\n\r\ndeclare type Pick_2<T, K extends string | number | symbol> = {\r\n [P in keyof T as P extends K ? P : never]: T[P];\r\n};\r\nexport { Pick_2 as Pick }\r\n\r\ndeclare interface PlaceholderFormat {\r\n prefix: string;\r\n hasNumbering: boolean;\r\n}\r\n\r\ndeclare type PrimaryKey = ReadonlyDeep_2<{\r\n name: string | null;\r\n fields: string[];\r\n}>;\r\n\r\nexport declare class PrismaClientInitializationError extends Error {\r\n clientVersion: string;\r\n errorCode?: string;\r\n retryable?: boolean;\r\n constructor(message: string, clientVersion: string, errorCode?: string);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\nexport declare class PrismaClientKnownRequestError extends Error implements ErrorWithBatchIndex {\r\n code: string;\r\n meta?: Record<string, unknown>;\r\n clientVersion: string;\r\n batchRequestIdx?: number;\r\n constructor(message: string, { code, clientVersion, meta, batchRequestIdx }: KnownErrorParams);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\nexport declare type PrismaClientOptions = {\r\n /**\r\n * Overwrites the primary datasource url from your schema.prisma file\r\n */\r\n datasourceUrl?: string;\r\n /**\r\n * Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-planetscale.\r\n */\r\n adapter?: SqlDriverAdapterFactory | null;\r\n /**\r\n * Overwrites the datasource url from your schema.prisma file\r\n */\r\n datasources?: Datasources;\r\n /**\r\n * @default \"colorless\"\r\n */\r\n errorFormat?: ErrorFormat;\r\n /**\r\n * The default values for Transaction options\r\n * maxWait ?= 2000\r\n * timeout ?= 5000\r\n */\r\n transactionOptions?: Transaction_2.Options;\r\n /**\r\n * @example\r\n * \\`\\`\\`\r\n * // Defaults to stdout\r\n * log: ['query', 'info', 'warn']\r\n *\r\n * // Emit as events\r\n * log: [\r\n * { emit: 'stdout', level: 'query' },\r\n * { emit: 'stdout', level: 'info' },\r\n * { emit: 'stdout', level: 'warn' }\r\n * ]\r\n * \\`\\`\\`\r\n * Read more in our [docs](https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/logging#the-log-option).\r\n */\r\n log?: Array<LogLevel | LogDefinition>;\r\n omit?: GlobalOmitOptions;\r\n /**\r\n * @internal\r\n * You probably don't want to use this. \\`__internal\\` is used by internal tooling.\r\n */\r\n __internal?: {\r\n debug?: boolean;\r\n engine?: {\r\n cwd?: string;\r\n binaryPath?: string;\r\n endpoint?: string;\r\n allowTriggerPanic?: boolean;\r\n };\r\n /** This can be used for testing purposes */\r\n configOverride?: (config: GetPrismaClientConfig) => GetPrismaClientConfig;\r\n };\r\n};\r\n\r\nexport declare class PrismaClientRustPanicError extends Error {\r\n clientVersion: string;\r\n constructor(message: string, clientVersion: string);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\nexport declare class PrismaClientUnknownRequestError extends Error implements ErrorWithBatchIndex {\r\n clientVersion: string;\r\n batchRequestIdx?: number;\r\n constructor(message: string, { clientVersion, batchRequestIdx }: UnknownErrorParams);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\nexport declare class PrismaClientValidationError extends Error {\r\n name: string;\r\n clientVersion: string;\r\n constructor(message: string, { clientVersion }: Options_2);\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\ndeclare function prismaGraphQLToJSError({ error, user_facing_error }: RequestError, clientVersion: string, activeProvider: string): PrismaClientKnownRequestError | PrismaClientUnknownRequestError;\r\n\r\ndeclare type PrismaOperationSpec<TArgs, TAction = string> = {\r\n args: TArgs;\r\n action: TAction;\r\n model: string;\r\n};\r\n\r\nexport declare interface PrismaPromise<T> extends Promise<T> {\r\n [Symbol.toStringTag]: 'PrismaPromise';\r\n}\r\n\r\n/**\r\n * Prisma's `Promise` that is backwards-compatible. All additions on top of the\r\n * original `Promise` are optional so that it can be backwards-compatible.\r\n * @see [[createPrismaPromise]]\r\n */\r\ndeclare interface PrismaPromise_2<TResult, TSpec extends PrismaOperationSpec<unknown> = any> extends Promise<TResult> {\r\n get spec(): TSpec;\r\n /**\r\n * Extension of the original `.then` function\r\n * @param onfulfilled same as regular promises\r\n * @param onrejected same as regular promises\r\n * @param transaction transaction options\r\n */\r\n then<R1 = TResult, R2 = never>(onfulfilled?: (value: TResult) => R1 | PromiseLike<R1>, onrejected?: (error: unknown) => R2 | PromiseLike<R2>, transaction?: PrismaPromiseTransaction): Promise<R1 | R2>;\r\n /**\r\n * Extension of the original `.catch` function\r\n * @param onrejected same as regular promises\r\n * @param transaction transaction options\r\n */\r\n catch<R = never>(onrejected?: ((reason: any) => R | PromiseLike<R>) | undefined | null, transaction?: PrismaPromiseTransaction): Promise<TResult | R>;\r\n /**\r\n * Extension of the original `.finally` function\r\n * @param onfinally same as regular promises\r\n * @param transaction transaction options\r\n */\r\n finally(onfinally?: (() => void) | undefined | null, transaction?: PrismaPromiseTransaction): Promise<TResult>;\r\n /**\r\n * Called when executing a batch of regular tx\r\n * @param transaction transaction options for batch tx\r\n */\r\n requestTransaction?(transaction: PrismaPromiseBatchTransaction): PromiseLike<unknown>;\r\n}\r\n\r\ndeclare type PrismaPromiseBatchTransaction = {\r\n kind: 'batch';\r\n id: number;\r\n isolationLevel?: IsolationLevel_2;\r\n index: number;\r\n lock: PromiseLike<void>;\r\n};\r\n\r\ndeclare type PrismaPromiseCallback = (transaction?: PrismaPromiseTransaction) => Promise<unknown>;\r\n\r\n/**\r\n * Creates a [[PrismaPromise]]. It is Prisma's implementation of `Promise` which\r\n * is essentially a proxy for `Promise`. All the transaction-compatible client\r\n * methods return one, this allows for pre-preparing queries without executing\r\n * them until `.then` is called. It's the foundation of Prisma's query batching.\r\n * @param callback that will be wrapped within our promise implementation\r\n * @see [[PrismaPromise]]\r\n * @returns\r\n */\r\ndeclare type PrismaPromiseFactory = <T extends PrismaOperationSpec<unknown>>(callback: PrismaPromiseCallback, op?: T) => PrismaPromise_2<unknown>;\r\n\r\ndeclare type PrismaPromiseInteractiveTransaction<PayloadType = unknown> = {\r\n kind: 'itx';\r\n id: string;\r\n payload: PayloadType;\r\n};\r\n\r\ndeclare type PrismaPromiseTransaction<PayloadType = unknown> = PrismaPromiseBatchTransaction | PrismaPromiseInteractiveTransaction<PayloadType>;\r\n\r\ndeclare type PrismaValue = string | boolean | number | PrismaValue[] | null | Record<string, unknown> | PrismaValuePlaceholder | PrismaValueGenerator;\r\n\r\ndeclare type PrismaValueGenerator = {\r\n prisma__type: 'generatorCall';\r\n prisma__value: {\r\n name: string;\r\n args: PrismaValue[];\r\n };\r\n};\r\n\r\ndeclare type PrismaValuePlaceholder = {\r\n prisma__type: 'param';\r\n prisma__value: {\r\n name: string;\r\n type: string;\r\n };\r\n};\r\n\r\nexport declare const PrivateResultType: unique symbol;\r\n\r\ndeclare type Provider = 'mysql' | 'postgres' | 'sqlite' | 'sqlserver';\r\n\r\ndeclare namespace Public {\r\n export {\r\n validator\r\n }\r\n}\r\nexport { Public }\r\n\r\ndeclare namespace Public_2 {\r\n export {\r\n Args,\r\n Result,\r\n Payload,\r\n PrismaPromise,\r\n Operation,\r\n Exact\r\n }\r\n}\r\n\r\ndeclare type Query = ReadonlyDeep_2<{\r\n name: string;\r\n args: SchemaArg[];\r\n output: QueryOutput;\r\n}>;\r\n\r\ndeclare interface Queryable<Query, Result> extends AdapterInfo {\r\n /**\r\n * Execute a query and return its result.\r\n */\r\n queryRaw(params: Query): Promise<Result>;\r\n /**\r\n * Execute a query and return the number of affected rows.\r\n */\r\n executeRaw(params: Query): Promise<number>;\r\n}\r\n\r\ndeclare type QueryCompiler = {\r\n compile(request: string): {};\r\n compileBatch(batchRequest: string): BatchResponse;\r\n free(): void;\r\n};\r\n\r\ndeclare interface QueryCompilerConstructor {\r\n new (options: QueryCompilerOptions): QueryCompiler;\r\n}\r\n\r\ndeclare type QueryCompilerOptions = {\r\n datamodel: string;\r\n provider: Provider;\r\n connectionInfo: ConnectionInfo;\r\n};\r\n\r\ndeclare type QueryEngineBatchGraphQLRequest = {\r\n batch: QueryEngineRequest[];\r\n transaction?: boolean;\r\n isolationLevel?: IsolationLevel_2;\r\n};\r\n\r\ndeclare type QueryEngineBatchRequest = QueryEngineBatchGraphQLRequest | JsonBatchQuery;\r\n\r\ndeclare type QueryEngineConfig = {\r\n datamodel: string;\r\n configDir: string;\r\n logQueries: boolean;\r\n ignoreEnvVarErrors: boolean;\r\n datasourceOverrides: Record<string, string>;\r\n env: Record<string, string | undefined>;\r\n logLevel: QueryEngineLogLevel;\r\n engineProtocol: QueryEngineProtocol;\r\n enableTracing: boolean;\r\n};\r\n\r\ndeclare interface QueryEngineConstructor {\r\n new (config: QueryEngineConfig, logger: (log: string) => void, adapter?: ErrorCapturingSqlDriverAdapter): QueryEngineInstance;\r\n}\r\n\r\ndeclare type QueryEngineInstance = {\r\n connect(headers: string, requestId: string): Promise<void>;\r\n disconnect(headers: string, requestId: string): Promise<void>;\r\n /**\r\n * Frees any resources allocated by the engine's WASM instance. This method is automatically created by WASM bindgen.\r\n * Noop for other engines.\r\n */\r\n free?(): void;\r\n /**\r\n * @param requestStr JSON.stringified `QueryEngineRequest | QueryEngineBatchRequest`\r\n * @param headersStr JSON.stringified `QueryEngineRequestHeaders`\r\n */\r\n query(requestStr: string, headersStr: string, transactionId: string | undefined, requestId: string): Promise<string>;\r\n sdlSchema?(): Promise<string>;\r\n startTransaction(options: string, traceHeaders: string, requestId: string): Promise<string>;\r\n commitTransaction(id: string, traceHeaders: string, requestId: string): Promise<string>;\r\n rollbackTransaction(id: string, traceHeaders: string, requestId: string): Promise<string>;\r\n metrics?(options: string): Promise<string>;\r\n applyPendingMigrations?(): Promise<void>;\r\n trace(requestId: string): Promise<string | null>;\r\n};\r\n\r\ndeclare type QueryEngineLogLevel = 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'off';\r\n\r\ndeclare type QueryEngineProtocol = 'graphql' | 'json';\r\n\r\ndeclare type QueryEngineRequest = {\r\n query: string;\r\n variables: Object;\r\n};\r\n\r\ndeclare type QueryEngineResultData<T> = {\r\n data: T;\r\n};\r\n\r\ndeclare type QueryEvent = {\r\n timestamp: Date;\r\n query: string;\r\n params: string;\r\n duration: number;\r\n target: string;\r\n};\r\n\r\ndeclare type QueryEventType = 'query';\r\n\r\ndeclare type QueryIntrospectionBuiltinType = 'int' | 'bigint' | 'float' | 'double' | 'string' | 'enum' | 'bytes' | 'bool' | 'char' | 'decimal' | 'json' | 'xml' | 'uuid' | 'datetime' | 'date' | 'time' | 'int-array' | 'bigint-array' | 'float-array' | 'double-array' | 'string-array' | 'char-array' | 'bytes-array' | 'bool-array' | 'decimal-array' | 'json-array' | 'xml-array' | 'uuid-array' | 'datetime-array' | 'date-array' | 'time-array' | 'null' | 'unknown';\r\n\r\ndeclare type QueryMiddlewareParams = {\r\n /** The model this is executed on */\r\n model?: string;\r\n /** The action that is being handled */\r\n action: Action;\r\n /** TODO what is this */\r\n dataPath: string[];\r\n /** TODO what is this */\r\n runInTransaction: boolean;\r\n args?: UserArgs_2;\r\n};\r\n\r\nexport declare type QueryOptions = {\r\n query: {\r\n [ModelName in string]: {\r\n [ModelAction in string]: ModelQueryOptionsCb;\r\n } | QueryOptionsCb;\r\n };\r\n};\r\n\r\nexport declare type QueryOptionsCb = (args: QueryOptionsCbArgs) => Promise<any>;\r\n\r\nexport declare type QueryOptionsCbArgs = {\r\n model?: string;\r\n operation: string;\r\n args: JsArgs | RawQueryArgs;\r\n query: (args: JsArgs | RawQueryArgs) => Promise<unknown>;\r\n};\r\n\r\ndeclare type QueryOutput = ReadonlyDeep_2<{\r\n name: string;\r\n isRequired: boolean;\r\n isList: boolean;\r\n}>;\r\n\r\ndeclare type QueryPlanBinding = {\r\n name: string;\r\n expr: QueryPlanNode;\r\n};\r\n\r\ndeclare type QueryPlanDbQuery = {\r\n type: 'rawSql';\r\n sql: string;\r\n args: PrismaValue[];\r\n argTypes: ArgType[];\r\n} | {\r\n type: 'templateSql';\r\n fragments: Fragment[];\r\n placeholderFormat: PlaceholderFormat;\r\n args: PrismaValue[];\r\n argTypes: DynamicArgType[];\r\n chunkable: boolean;\r\n};\r\n\r\ndeclare type QueryPlanNode = {\r\n type: 'value';\r\n args: PrismaValue;\r\n} | {\r\n type: 'seq';\r\n args: QueryPlanNode[];\r\n} | {\r\n type: 'get';\r\n args: {\r\n name: string;\r\n };\r\n} | {\r\n type: 'let';\r\n args: {\r\n bindings: QueryPlanBinding[];\r\n expr: QueryPlanNode;\r\n };\r\n} | {\r\n type: 'getFirstNonEmpty';\r\n args: {\r\n names: string[];\r\n };\r\n} | {\r\n type: 'query';\r\n args: QueryPlanDbQuery;\r\n} | {\r\n type: 'execute';\r\n args: QueryPlanDbQuery;\r\n} | {\r\n type: 'reverse';\r\n args: QueryPlanNode;\r\n} | {\r\n type: 'sum';\r\n args: QueryPlanNode[];\r\n} | {\r\n type: 'concat';\r\n args: QueryPlanNode[];\r\n} | {\r\n type: 'unique';\r\n args: QueryPlanNode;\r\n} | {\r\n type: 'required';\r\n args: QueryPlanNode;\r\n} | {\r\n type: 'join';\r\n args: {\r\n parent: QueryPlanNode;\r\n children: JoinExpression[];\r\n };\r\n} | {\r\n type: 'mapField';\r\n args: {\r\n field: string;\r\n records: QueryPlanNode;\r\n };\r\n} | {\r\n type: 'transaction';\r\n args: QueryPlanNode;\r\n} | {\r\n type: 'dataMap';\r\n args: {\r\n expr: QueryPlanNode;\r\n structure: ResultNode;\r\n enums: Record<string, Record<string, string>>;\r\n };\r\n} | {\r\n type: 'validate';\r\n args: {\r\n expr: QueryPlanNode;\r\n rules: DataRule[];\r\n } & ValidationError;\r\n} | {\r\n type: 'if';\r\n args: {\r\n value: QueryPlanNode;\r\n rule: DataRule;\r\n then: QueryPlanNode;\r\n else: QueryPlanNode;\r\n };\r\n} | {\r\n type: 'unit';\r\n} | {\r\n type: 'diff';\r\n args: {\r\n from: QueryPlanNode;\r\n to: QueryPlanNode;\r\n };\r\n} | {\r\n type: 'initializeRecord';\r\n args: {\r\n expr: QueryPlanNode;\r\n fields: Record<string, FieldInitializer>;\r\n };\r\n} | {\r\n type: 'mapRecord';\r\n args: {\r\n expr: QueryPlanNode;\r\n fields: Record<string, FieldOperation>;\r\n };\r\n} | {\r\n type: 'process';\r\n args: {\r\n expr: QueryPlanNode;\r\n operations: InMemoryOps;\r\n };\r\n};\r\n\r\n/**\r\n * Create raw SQL statement.\r\n */\r\nexport declare function raw(value: string): Sql;\r\n\r\nexport declare type RawParameters = {\r\n __prismaRawParameters__: true;\r\n values: string;\r\n};\r\n\r\nexport declare type RawQueryArgs = Sql | UnknownTypedSql | [query: string, ...values: RawValue[]];\r\n\r\ndeclare type RawResponse = {\r\n columns: string[];\r\n types: QueryIntrospectionBuiltinType[];\r\n rows: unknown[][];\r\n};\r\n\r\ndeclare type RawTaggedValue = {\r\n $type: 'Raw';\r\n value: unknown;\r\n};\r\n\r\n/**\r\n * Supported value or SQL instance.\r\n */\r\nexport declare type RawValue = Value | Sql;\r\n\r\nexport declare type ReadonlyDeep<T> = {\r\n readonly [K in keyof T]: ReadonlyDeep<T[K]>;\r\n};\r\n\r\ndeclare type ReadonlyDeep_2<O> = {\r\n +readonly [K in keyof O]: ReadonlyDeep_2<O[K]>;\r\n};\r\n\r\ndeclare type Record_2<T extends string | number | symbol, U> = {\r\n [P in T]: U;\r\n};\r\nexport { Record_2 as Record }\r\n\r\nexport declare type RenameAndNestPayloadKeys<P> = {\r\n [K in keyof P as K extends 'scalars' | 'objects' | 'composites' ? keyof P[K] : never]: P[K];\r\n};\r\n\r\ndeclare type RequestBatchOptions<InteractiveTransactionPayload> = {\r\n transaction?: TransactionOptions_2<InteractiveTransactionPayload>;\r\n traceparent?: string;\r\n numTry?: number;\r\n containsWrite: boolean;\r\n customDataProxyFetch?: AccelerateExtensionFetchDecorator;\r\n};\r\n\r\ndeclare interface RequestError {\r\n error: string;\r\n user_facing_error: {\r\n is_panic: boolean;\r\n message: string;\r\n meta?: Record<string, unknown>;\r\n error_code?: string;\r\n batch_request_idx?: number;\r\n };\r\n}\r\n\r\ndeclare class RequestHandler {\r\n client: Client;\r\n dataloader: DataLoader<RequestParams>;\r\n private logEmitter?;\r\n constructor(client: Client, logEmitter?: LogEmitter);\r\n request(params: RequestParams): Promise<any>;\r\n mapQueryEngineResult({ dataPath, unpacker }: RequestParams, response: QueryEngineResultData<any>): any;\r\n /**\r\n * Handles the error and logs it, logging the error is done synchronously waiting for the event\r\n * handlers to finish.\r\n */\r\n handleAndLogRequestError(params: HandleErrorParams): never;\r\n handleRequestError({ error, clientMethod, callsite, transaction, args, modelName, globalOmit, }: HandleErrorParams): never;\r\n sanitizeMessage(message: any): any;\r\n unpack(data: unknown, dataPath: string[], unpacker?: Unpacker): any;\r\n get [Symbol.toStringTag](): string;\r\n}\r\n\r\ndeclare type RequestOptions<InteractiveTransactionPayload> = {\r\n traceparent?: string;\r\n numTry?: number;\r\n interactiveTransaction?: InteractiveTransactionOptions<InteractiveTransactionPayload>;\r\n isWrite: boolean;\r\n customDataProxyFetch?: AccelerateExtensionFetchDecorator;\r\n};\r\n\r\ndeclare type RequestParams = {\r\n modelName?: string;\r\n action: Action;\r\n protocolQuery: JsonQuery;\r\n dataPath: string[];\r\n clientMethod: string;\r\n callsite?: CallSite;\r\n transaction?: PrismaPromiseTransaction;\r\n extensions: MergedExtensionsList;\r\n args?: any;\r\n headers?: Record<string, string>;\r\n unpacker?: Unpacker;\r\n otelParentCtx?: Context;\r\n otelChildCtx?: Context;\r\n globalOmit?: GlobalOmitOptions;\r\n customDataProxyFetch?: AccelerateExtensionFetchDecorator;\r\n};\r\n\r\ndeclare type RequiredExtensionArgs = NameArgs & ResultArgs & ModelArgs & ClientArgs & QueryOptions;\r\nexport { RequiredExtensionArgs }\r\nexport { RequiredExtensionArgs as UserArgs }\r\n\r\nexport declare type RequiredKeys<O> = {\r\n [K in keyof O]-?: {} extends Pick_2<O, K> ? never : K;\r\n}[keyof O];\r\n\r\ndeclare function resolveDatasourceUrl({ inlineDatasources, overrideDatasources, env, clientVersion, }: {\r\n inlineDatasources: GetPrismaClientConfig['inlineDatasources'];\r\n overrideDatasources: Datasources;\r\n env: Record<string, string | undefined>;\r\n clientVersion: string;\r\n}): string;\r\n\r\nexport declare type Result<T, A, F extends Operation> = T extends {\r\n [K: symbol]: {\r\n types: {\r\n payload: any;\r\n };\r\n };\r\n} ? GetResult<T[symbol]['types']['payload'], A, F> : GetResult<{\r\n composites: {};\r\n objects: {};\r\n scalars: {};\r\n name: '';\r\n}, {}, F>;\r\n\r\nexport declare type Result_2<T, A, F extends Operation> = Result<T, A, F>;\r\n\r\ndeclare namespace Result_3 {\r\n export {\r\n Count,\r\n GetFindResult,\r\n SelectablePayloadFields,\r\n SelectField,\r\n DefaultSelection,\r\n UnwrapPayload,\r\n ApplyOmit,\r\n OmitValue,\r\n GetCountResult,\r\n Aggregate,\r\n GetAggregateResult,\r\n GetBatchResult,\r\n GetGroupByResult,\r\n GetResult,\r\n ExtractGlobalOmit\r\n }\r\n}\r\n\r\ndeclare type Result_4<T> = {\r\n map<U>(fn: (value: T) => U): Result_4<U>;\r\n flatMap<U>(fn: (value: T) => Result_4<U>): Result_4<U>;\r\n} & ({\r\n readonly ok: true;\r\n readonly value: T;\r\n} | {\r\n readonly ok: false;\r\n readonly error: Error_2;\r\n});\r\n\r\nexport declare type ResultArg = {\r\n [FieldName in string]: ResultFieldDefinition;\r\n};\r\n\r\nexport declare type ResultArgs = {\r\n result: {\r\n [ModelName in string]: ResultArg;\r\n };\r\n};\r\n\r\nexport declare type ResultArgsFieldCompute = (model: any) => unknown;\r\n\r\nexport declare type ResultFieldDefinition = {\r\n needs?: {\r\n [FieldName in string]: boolean;\r\n };\r\n compute: ResultArgsFieldCompute;\r\n};\r\n\r\ndeclare type ResultNode = {\r\n type: 'affectedRows';\r\n} | {\r\n type: 'object';\r\n fields: Record<string, ResultNode>;\r\n serializedName: string | null;\r\n skipNulls: boolean;\r\n} | {\r\n type: 'field';\r\n dbName: string;\r\n fieldType: FieldType;\r\n};\r\n\r\nexport declare type Return<T> = T extends (...args: any[]) => infer R ? R : T;\r\n\r\nexport declare type RuntimeDataModel = {\r\n readonly models: Record<string, RuntimeModel>;\r\n readonly enums: Record<string, RuntimeEnum>;\r\n readonly types: Record<string, RuntimeModel>;\r\n};\r\n\r\ndeclare type RuntimeEnum = Omit<DMMF_2.DatamodelEnum, 'name'>;\r\n\r\ndeclare type RuntimeModel = Omit<DMMF_2.Model, 'name'>;\r\n\r\ndeclare type RuntimeName = 'workerd' | 'deno' | 'netlify' | 'node' | 'bun' | 'edge-light' | '';\r\n\r\ndeclare type Schema = ReadonlyDeep_2<{\r\n rootQueryType?: string;\r\n rootMutationType?: string;\r\n inputObjectTypes: {\r\n model?: InputType[];\r\n prisma?: InputType[];\r\n };\r\n outputObjectTypes: {\r\n model: OutputType[];\r\n prisma: OutputType[];\r\n };\r\n enumTypes: {\r\n model?: SchemaEnum[];\r\n prisma: SchemaEnum[];\r\n };\r\n fieldRefTypes: {\r\n prisma?: FieldRefType[];\r\n };\r\n}>;\r\n\r\ndeclare type SchemaArg = ReadonlyDeep_2<{\r\n name: string;\r\n comment?: string;\r\n isNullable: boolean;\r\n isRequired: boolean;\r\n inputTypes: InputTypeRef[];\r\n requiresOtherFields?: string[];\r\n deprecation?: Deprecation;\r\n}>;\r\n\r\ndeclare type SchemaEnum = ReadonlyDeep_2<{\r\n name: string;\r\n values: string[];\r\n}>;\r\n\r\ndeclare type SchemaField = ReadonlyDeep_2<{\r\n name: string;\r\n isNullable?: boolean;\r\n outputType: OutputTypeRef;\r\n args: SchemaArg[];\r\n deprecation?: Deprecation;\r\n documentation?: string;\r\n}>;\r\n\r\nexport declare type Select<T, U> = T extends U ? T : never;\r\n\r\nexport declare type SelectablePayloadFields<K extends PropertyKey, O> = {\r\n objects: {\r\n [k in K]: O;\r\n };\r\n} | {\r\n composites: {\r\n [k in K]: O;\r\n };\r\n};\r\n\r\nexport declare type SelectField<P extends SelectablePayloadFields<any, any>, K extends PropertyKey> = P extends {\r\n objects: Record<K, any>;\r\n} ? P['objects'][K] : P extends {\r\n composites: Record<K, any>;\r\n} ? P['composites'][K] : never;\r\n\r\ndeclare type Selection_2 = Record<string, boolean | Skip | JsArgs>;\r\nexport { Selection_2 as Selection }\r\n\r\nexport declare function serializeJsonQuery({ modelName, action, args, runtimeDataModel, extensions, callsite, clientMethod, errorFormat, clientVersion, previewFeatures, globalOmit, }: SerializeParams): JsonQuery;\r\n\r\ndeclare type SerializeParams = {\r\n runtimeDataModel: RuntimeDataModel;\r\n modelName?: string;\r\n action: Action;\r\n args?: JsArgs;\r\n extensions?: MergedExtensionsList;\r\n callsite?: CallSite;\r\n clientMethod: string;\r\n clientVersion: string;\r\n errorFormat: ErrorFormat;\r\n previewFeatures: string[];\r\n globalOmit?: GlobalOmitOptions;\r\n};\r\n\r\ndeclare class Skip {\r\n constructor(param?: symbol);\r\n ifUndefined<T>(value: T | undefined): T | Skip;\r\n}\r\n\r\nexport declare const skip: Skip;\r\n\r\ndeclare type SortOrder = 'asc' | 'desc';\r\n\r\n/**\r\n * An interface that represents a span. A span represents a single operation\r\n * within a trace. Examples of span might include remote procedure calls or a\r\n * in-process function calls to sub-components. A Trace has a single, top-level\r\n * \"root\" Span that in turn may have zero or more child Spans, which in turn\r\n * may have children.\r\n *\r\n * Spans are created by the {@link Tracer.startSpan} method.\r\n */\r\ndeclare interface Span {\r\n /**\r\n * Returns the {@link SpanContext} object associated with this Span.\r\n *\r\n * Get an immutable, serializable identifier for this span that can be used\r\n * to create new child spans. Returned SpanContext is usable even after the\r\n * span ends.\r\n *\r\n * @returns the SpanContext object associated with this Span.\r\n */\r\n spanContext(): SpanContext;\r\n /**\r\n * Sets an attribute to the span.\r\n *\r\n * Sets a single Attribute with the key and value passed as arguments.\r\n *\r\n * @param key the key for this attribute.\r\n * @param value the value for this attribute. Setting a value null or\r\n * undefined is invalid and will result in undefined behavior.\r\n */\r\n setAttribute(key: string, value: SpanAttributeValue): this;\r\n /**\r\n * Sets attributes to the span.\r\n *\r\n * @param attributes the attributes that will be added.\r\n * null or undefined attribute values\r\n * are invalid and will result in undefined behavior.\r\n */\r\n setAttributes(attributes: SpanAttributes): this;\r\n /**\r\n * Adds an event to the Span.\r\n *\r\n * @param name the name of the event.\r\n * @param [attributesOrStartTime] the attributes that will be added; these are\r\n * associated with this event. Can be also a start time\r\n * if type is {@type TimeInput} and 3rd param is undefined\r\n * @param [startTime] start time of the event.\r\n */\r\n addEvent(name: string, attributesOrStartTime?: SpanAttributes | TimeInput, startTime?: TimeInput): this;\r\n /**\r\n * Adds a single link to the span.\r\n *\r\n * Links added after the creation will not affect the sampling decision.\r\n * It is preferred span links be added at span creation.\r\n *\r\n * @param link the link to add.\r\n */\r\n addLink(link: Link): this;\r\n /**\r\n * Adds multiple links to the span.\r\n *\r\n * Links added after the creation will not affect the sampling decision.\r\n * It is preferred span links be added at span creation.\r\n *\r\n * @param links the links to add.\r\n */\r\n addLinks(links: Link[]): this;\r\n /**\r\n * Sets a status to the span. If used, this will override the default Span\r\n * status. Default is {@link SpanStatusCode.UNSET}. SetStatus overrides the value\r\n * of previous calls to SetStatus on the Span.\r\n *\r\n * @param status the SpanStatus to set.\r\n */\r\n setStatus(status: SpanStatus): this;\r\n /**\r\n * Updates the Span name.\r\n *\r\n * This will override the name provided via {@link Tracer.startSpan}.\r\n *\r\n * Upon this update, any sampling behavior based on Span name will depend on\r\n * the implementation.\r\n *\r\n * @param name the Span name.\r\n */\r\n updateName(name: string): this;\r\n /**\r\n * Marks the end of Span execution.\r\n *\r\n * Call to End of a Span MUST not have any effects on child spans. Those may\r\n * still be running and can be ended later.\r\n *\r\n * Do not return `this`. The Span generally should not be used after it\r\n * is ended so chaining is not desired in this context.\r\n *\r\n * @param [endTime] the time to set as Span's end time. If not provided,\r\n * use the current time as the span's end time.\r\n */\r\n end(endTime?: TimeInput): void;\r\n /**\r\n * Returns the flag whether this span will be recorded.\r\n *\r\n * @returns true if this Span is active and recording information like events\r\n * with the `AddEvent` operation and attributes using `setAttributes`.\r\n */\r\n isRecording(): boolean;\r\n /**\r\n * Sets exception as a span event\r\n * @param exception the exception the only accepted values are string or Error\r\n * @param [time] the time to set as Span's event time. If not provided,\r\n * use the current time.\r\n */\r\n recordException(exception: Exception, time?: TimeInput): void;\r\n}\r\n\r\n/**\r\n * @deprecated please use {@link Attributes}\r\n */\r\ndeclare type SpanAttributes = Attributes;\r\n\r\n/**\r\n * @deprecated please use {@link AttributeValue}\r\n */\r\ndeclare type SpanAttributeValue = AttributeValue;\r\n\r\ndeclare type SpanCallback<R> = (span?: Span, context?: Context) => R;\r\n\r\n/**\r\n * A SpanContext represents the portion of a {@link Span} which must be\r\n * serialized and propagated along side of a {@link Baggage}.\r\n */\r\ndeclare interface SpanContext {\r\n /**\r\n * The ID of the trace that this span belongs to. It is worldwide unique\r\n * with practically sufficient probability by being made as 16 randomly\r\n * generated bytes, encoded as a 32 lowercase hex characters corresponding to\r\n * 128 bits.\r\n */\r\n traceId: string;\r\n /**\r\n * The ID of the Span. It is globally unique with practically sufficient\r\n * probability by being made as 8 randomly generated bytes, encoded as a 16\r\n * lowercase hex characters corresponding to 64 bits.\r\n */\r\n spanId: string;\r\n /**\r\n * Only true if the SpanContext was propagated from a remote parent.\r\n */\r\n isRemote?: boolean;\r\n /**\r\n * Trace flags to propagate.\r\n *\r\n * It is represented as 1 byte (bitmap). Bit to represent whether trace is\r\n * sampled or not. When set, the least significant bit documents that the\r\n * caller may have recorded trace data. A caller who does not record trace\r\n * data out-of-band leaves this flag unset.\r\n *\r\n * see {@link TraceFlags} for valid flag values.\r\n */\r\n traceFlags: number;\r\n /**\r\n * Tracing-system-specific info to propagate.\r\n *\r\n * The tracestate field value is a `list` as defined below. The `list` is a\r\n * series of `list-members` separated by commas `,`, and a list-member is a\r\n * key/value pair separated by an equals sign `=`. Spaces and horizontal tabs\r\n * surrounding `list-members` are ignored. There can be a maximum of 32\r\n * `list-members` in a `list`.\r\n * More Info: https://www.w3.org/TR/trace-context/#tracestate-field\r\n *\r\n * Examples:\r\n * Single tracing system (generic format):\r\n * tracestate: rojo=00f067aa0ba902b7\r\n * Multiple tracing systems (with different formatting):\r\n * tracestate: rojo=00f067aa0ba902b7,congo=t61rcWkgMzE\r\n */\r\n traceState?: TraceState;\r\n}\r\n\r\ndeclare enum SpanKind {\r\n /** Default value. Indicates that the span is used internally. */\r\n INTERNAL = 0,\r\n /**\r\n * Indicates that the span covers server-side handling of an RPC or other\r\n * remote request.\r\n */\r\n SERVER = 1,\r\n /**\r\n * Indicates that the span covers the client-side wrapper around an RPC or\r\n * other remote request.\r\n */\r\n CLIENT = 2,\r\n /**\r\n * Indicates that the span describes producer sending a message to a\r\n * broker. Unlike client and server, there is no direct critical path latency\r\n * relationship between producer and consumer spans.\r\n */\r\n PRODUCER = 3,\r\n /**\r\n * Indicates that the span describes consumer receiving a message from a\r\n * broker. Unlike client and server, there is no direct critical path latency\r\n * relationship between producer and consumer spans.\r\n */\r\n CONSUMER = 4\r\n}\r\n\r\n/**\r\n * Options needed for span creation\r\n */\r\ndeclare interface SpanOptions {\r\n /**\r\n * The SpanKind of a span\r\n * @default {@link SpanKind.INTERNAL}\r\n */\r\n kind?: SpanKind;\r\n /** A span's attributes */\r\n attributes?: SpanAttributes;\r\n /** {@link Link}s span to other spans */\r\n links?: Link[];\r\n /** A manually specified start time for the created `Span` object. */\r\n startTime?: TimeInput;\r\n /** The new span should be a root span. (Ignore parent from context). */\r\n root?: boolean;\r\n}\r\n\r\ndeclare interface SpanStatus {\r\n /** The status code of this message. */\r\n code: SpanStatusCode;\r\n /** A developer-facing error message. */\r\n message?: string;\r\n}\r\n\r\n/**\r\n * An enumeration of status codes.\r\n */\r\ndeclare enum SpanStatusCode {\r\n /**\r\n * The default status.\r\n */\r\n UNSET = 0,\r\n /**\r\n * The operation has been validated by an Application developer or\r\n * Operator to have completed successfully.\r\n */\r\n OK = 1,\r\n /**\r\n * The operation contains an error.\r\n */\r\n ERROR = 2\r\n}\r\n\r\n/**\r\n * A SQL instance can be nested within each other to build SQL strings.\r\n */\r\nexport declare class Sql {\r\n readonly values: Value[];\r\n readonly strings: string[];\r\n constructor(rawStrings: readonly string[], rawValues: readonly RawValue[]);\r\n get sql(): string;\r\n get statement(): string;\r\n get text(): string;\r\n inspect(): {\r\n sql: string;\r\n statement: string;\r\n text: string;\r\n values: unknown[];\r\n };\r\n}\r\n\r\ndeclare interface SqlDriverAdapter extends SqlQueryable {\r\n /**\r\n * Execute multiple SQL statements separated by semicolon.\r\n */\r\n executeScript(script: string): Promise<void>;\r\n /**\r\n * Start new transaction.\r\n */\r\n startTransaction(isolationLevel?: IsolationLevel): Promise<Transaction>;\r\n /**\r\n * Optional method that returns extra connection info\r\n */\r\n getConnectionInfo?(): ConnectionInfo;\r\n /**\r\n * Dispose of the connection and release any resources.\r\n */\r\n dispose(): Promise<void>;\r\n}\r\n\r\nexport declare interface SqlDriverAdapterFactory extends DriverAdapterFactory<SqlQuery, SqlResultSet> {\r\n connect(): Promise<SqlDriverAdapter>;\r\n}\r\n\r\ndeclare type SqlQuery = {\r\n sql: string;\r\n args: Array<unknown>;\r\n argTypes: Array<ArgType>;\r\n};\r\n\r\ndeclare interface SqlQueryable extends Queryable<SqlQuery, SqlResultSet> {\r\n}\r\n\r\ndeclare interface SqlResultSet {\r\n /**\r\n * List of column types appearing in a database query, in the same order as `columnNames`.\r\n * They are used within the Query Engine to convert values from JS to Quaint values.\r\n */\r\n columnTypes: Array<ColumnType>;\r\n /**\r\n * List of column names appearing in a database query, in the same order as `columnTypes`.\r\n */\r\n columnNames: Array<string>;\r\n /**\r\n * List of rows retrieved from a database query.\r\n * Each row is a list of values, whose length matches `columnNames` and `columnTypes`.\r\n */\r\n rows: Array<Array<unknown>>;\r\n /**\r\n * The last ID of an `INSERT` statement, if any.\r\n * This is required for `AUTO_INCREMENT` columns in databases based on MySQL and SQLite.\r\n */\r\n lastInsertId?: string;\r\n}\r\n\r\n/**\r\n * Create a SQL object from a template string.\r\n */\r\nexport declare function sqltag(strings: readonly string[], ...values: readonly RawValue[]): Sql;\r\n\r\n/**\r\n * Defines TimeInput.\r\n *\r\n * hrtime, epoch milliseconds, performance.now() or Date\r\n */\r\ndeclare type TimeInput = HrTime_2 | number | Date;\r\n\r\nexport declare type ToTuple<T> = T extends any[] ? T : [T];\r\n\r\ndeclare interface TraceState {\r\n /**\r\n * Create a new TraceState which inherits from this TraceState and has the\r\n * given key set.\r\n * The new entry will always be added in the front of the list of states.\r\n *\r\n * @param key key of the TraceState entry.\r\n * @param value value of the TraceState entry.\r\n */\r\n set(key: string, value: string): TraceState;\r\n /**\r\n * Return a new TraceState which inherits from this TraceState but does not\r\n * contain the given key.\r\n *\r\n * @param key the key for the TraceState entry to be removed.\r\n */\r\n unset(key: string): TraceState;\r\n /**\r\n * Returns the value to which the specified key is mapped, or `undefined` if\r\n * this map contains no mapping for the key.\r\n *\r\n * @param key with which the specified value is to be associated.\r\n * @returns the value to which the specified key is mapped, or `undefined` if\r\n * this map contains no mapping for the key.\r\n */\r\n get(key: string): string | undefined;\r\n /**\r\n * Serializes the TraceState to a `list` as defined below. The `list` is a\r\n * series of `list-members` separated by commas `,`, and a list-member is a\r\n * key/value pair separated by an equals sign `=`. Spaces and horizontal tabs\r\n * surrounding `list-members` are ignored. There can be a maximum of 32\r\n * `list-members` in a `list`.\r\n *\r\n * @returns the serialized string.\r\n */\r\n serialize(): string;\r\n}\r\n\r\ndeclare interface TracingHelper {\r\n isEnabled(): boolean;\r\n getTraceParent(context?: Context): string;\r\n dispatchEngineSpans(spans: EngineSpan[]): void;\r\n getActiveContext(): Context | undefined;\r\n runInChildSpan<R>(nameOrOptions: string | ExtendedSpanOptions, callback: SpanCallback<R>): R;\r\n}\r\n\r\ndeclare interface Transaction extends AdapterInfo, SqlQueryable {\r\n /**\r\n * Transaction options.\r\n */\r\n readonly options: TransactionOptions;\r\n /**\r\n * Commit the transaction.\r\n */\r\n commit(): Promise<void>;\r\n /**\r\n * Roll back the transaction.\r\n */\r\n rollback(): Promise<void>;\r\n}\r\n\r\ndeclare namespace Transaction_2 {\r\n export {\r\n Options,\r\n IsolationLevel_2 as IsolationLevel,\r\n InteractiveTransactionInfo,\r\n TransactionHeaders\r\n }\r\n}\r\n\r\ndeclare type TransactionHeaders = {\r\n traceparent?: string;\r\n};\r\n\r\ndeclare type TransactionOptions = {\r\n usePhantomQuery: boolean;\r\n};\r\n\r\ndeclare type TransactionOptions_2<InteractiveTransactionPayload> = {\r\n kind: 'itx';\r\n options: InteractiveTransactionOptions<InteractiveTransactionPayload>;\r\n} | {\r\n kind: 'batch';\r\n options: BatchTransactionOptions;\r\n};\r\n\r\nexport declare class TypedSql<Values extends readonly unknown[], Result> {\r\n [PrivateResultType]: Result;\r\n constructor(sql: string, values: Values);\r\n get sql(): string;\r\n get values(): Values;\r\n}\r\n\r\nexport declare type TypeMapCbDef = Fn<{\r\n extArgs: InternalArgs;\r\n}, TypeMapDef>;\r\n\r\n/** Shared */\r\nexport declare type TypeMapDef = Record<any, any>;\r\n\r\ndeclare type TypeRef<AllowedLocations extends FieldLocation> = {\r\n isList: boolean;\r\n type: string;\r\n location: AllowedLocations;\r\n namespace?: FieldNamespace;\r\n};\r\n\r\ndeclare namespace Types {\r\n export {\r\n Result_3 as Result,\r\n Extensions_2 as Extensions,\r\n Utils,\r\n Public_2 as Public,\r\n isSkip,\r\n Skip,\r\n skip,\r\n UnknownTypedSql,\r\n OperationPayload as Payload\r\n }\r\n}\r\nexport { Types }\r\n\r\ndeclare type uniqueIndex = ReadonlyDeep_2<{\r\n name: string;\r\n fields: string[];\r\n}>;\r\n\r\ndeclare type UnknownErrorParams = {\r\n clientVersion: string;\r\n batchRequestIdx?: number;\r\n};\r\n\r\nexport declare type UnknownTypedSql = TypedSql<unknown[], unknown>;\r\n\r\ndeclare type Unpacker = (data: any) => any;\r\n\r\nexport declare type UnwrapPayload<P> = {} extends P ? unknown : {\r\n [K in keyof P]: P[K] extends {\r\n scalars: infer S;\r\n composites: infer C;\r\n }[] ? Array<S & UnwrapPayload<C>> : P[K] extends {\r\n scalars: infer S;\r\n composites: infer C;\r\n } | null ? S & UnwrapPayload<C> | Select<P[K], null> : never;\r\n};\r\n\r\nexport declare type UnwrapPromise<P> = P extends Promise<infer R> ? R : P;\r\n\r\nexport declare type UnwrapTuple<Tuple extends readonly unknown[]> = {\r\n [K in keyof Tuple]: K extends `${number}` ? Tuple[K] extends PrismaPromise<infer X> ? X : UnwrapPromise<Tuple[K]> : UnwrapPromise<Tuple[K]>;\r\n};\r\n\r\n/**\r\n * Input that flows from the user into the Client.\r\n */\r\ndeclare type UserArgs_2 = any;\r\n\r\ndeclare namespace Utils {\r\n export {\r\n EmptyToUnknown,\r\n NeverToUnknown,\r\n PatchFlat,\r\n Omit_2 as Omit,\r\n Pick_2 as Pick,\r\n ComputeDeep,\r\n Compute,\r\n OptionalFlat,\r\n ReadonlyDeep,\r\n Narrowable,\r\n Narrow,\r\n Exact,\r\n Cast,\r\n Record_2 as Record,\r\n UnwrapPromise,\r\n UnwrapTuple,\r\n Path,\r\n Fn,\r\n Call,\r\n RequiredKeys,\r\n OptionalKeys,\r\n Optional,\r\n Return,\r\n ToTuple,\r\n RenameAndNestPayloadKeys,\r\n PayloadToResult,\r\n Select,\r\n Equals,\r\n Or,\r\n JsPromise\r\n }\r\n}\r\n\r\ndeclare type ValidationError = {\r\n error_identifier: 'RELATION_VIOLATION';\r\n context: {\r\n relation: string;\r\n modelA: string;\r\n modelB: string;\r\n };\r\n} | {\r\n error_identifier: 'MISSING_RELATED_RECORD';\r\n context: {\r\n model: string;\r\n relation: string;\r\n relationType: string;\r\n operation: string;\r\n neededFor?: string;\r\n };\r\n} | {\r\n error_identifier: 'MISSING_RECORD';\r\n context: {\r\n operation: string;\r\n };\r\n} | {\r\n error_identifier: 'INCOMPLETE_CONNECT_INPUT';\r\n context: {\r\n expectedRows: number;\r\n };\r\n} | {\r\n error_identifier: 'INCOMPLETE_CONNECT_OUTPUT';\r\n context: {\r\n expectedRows: number;\r\n relation: string;\r\n relationType: string;\r\n };\r\n} | {\r\n error_identifier: 'RECORDS_NOT_CONNECTED';\r\n context: {\r\n relation: string;\r\n parent: string;\r\n child: string;\r\n };\r\n};\r\n\r\ndeclare function validator<V>(): <S>(select: Exact<S, V>) => S;\r\n\r\ndeclare function validator<C, M extends Exclude<keyof C, `$${string}`>, O extends keyof C[M] & Operation>(client: C, model: M, operation: O): <S>(select: Exact<S, Args<C[M], O>>) => S;\r\n\r\ndeclare function validator<C, M extends Exclude<keyof C, `$${string}`>, O extends keyof C[M] & Operation, P extends keyof Args<C[M], O>>(client: C, model: M, operation: O, prop: P): <S>(select: Exact<S, Args<C[M], O>[P]>) => S;\r\n\r\n/**\r\n * Values supported by SQL engine.\r\n */\r\nexport declare type Value = unknown;\r\n\r\nexport declare function warnEnvConflicts(envPaths: any): void;\r\n\r\nexport declare const warnOnce: (key: string, message: string, ...args: unknown[]) => void;\r\n\r\nexport { }\r\n",
12566
+ "node_modules/@prisma/client/runtime/wasm-compiler-edge.d.ts": "export * from \"./library\"\n",
12567
+ "node_modules/@prisma/client/runtime/wasm-engine-edge.d.ts": "export * from \"./library\"\n",
12563
12568
  "node_modules/@prisma/client/scripts/default-index.d.ts": "/* eslint-disable @typescript-eslint/no-unused-vars */\n\nimport * as runtime from '@prisma/client/runtime/library'\n\n/**\n * ## Prisma Client ʲˢ\n *\n * Type-safe database client for TypeScript & Node.js\n * @example\n * ```\n * const prisma = new Prisma()\n * // Fetch zero or more Users\n * const users = await prisma.user.findMany()\n * ```\n *\n *\n * Read more in our [docs](https://www.prisma.io/docs/concepts/components/prisma-client).\n */\nexport declare const PrismaClient: any\n\n/**\n * ## Prisma Client ʲˢ\n *\n * Type-safe database client for TypeScript & Node.js\n * @example\n * ```\n * const prisma = new Prisma()\n * // Fetch zero or more Users\n * const users = await prisma.user.findMany()\n * ```\n *\n *\n * Read more in our [docs](https://www.prisma.io/docs/concepts/components/prisma-client).\n */\nexport declare type PrismaClient = any\n\nexport declare class PrismaClientExtends<\n ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs,\n> {\n $extends: { extArgs: ExtArgs } & (<\n R extends runtime.Types.Extensions.UserArgs['result'] = {},\n M extends runtime.Types.Extensions.UserArgs['model'] = {},\n Q extends runtime.Types.Extensions.UserArgs['query'] = {},\n C extends runtime.Types.Extensions.UserArgs['client'] = {},\n Args extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.InternalArgs<R, M, {}, C>,\n >(\n args:\n | ((client: PrismaClientExtends<ExtArgs>) => { $extends: { extArgs: Args } })\n | { name?: string }\n | { result?: R & runtime.Types.Extensions.UserArgs['result'] }\n | { model?: M & runtime.Types.Extensions.UserArgs['model'] }\n | { query?: Q & runtime.Types.Extensions.UserArgs['query'] }\n | { client?: C & runtime.Types.Extensions.UserArgs['client'] },\n ) => PrismaClientExtends<Args & ExtArgs> & Args['client'])\n\n $transaction<R>(\n fn: (prisma: Omit<this, runtime.ITXClientDenyList>) => Promise<R>,\n options?: { maxWait?: number; timeout?: number; isolationLevel?: string },\n ): Promise<R>\n $transaction<P extends Prisma.PrismaPromise<any>[]>(\n arg: [...P],\n options?: { isolationLevel?: string },\n ): Promise<runtime.Types.Utils.UnwrapTuple<P>>\n}\n\nexport declare const dmmf: any\nexport declare type dmmf = any\n\n/**\n * Get the type of the value, that the Promise holds.\n */\nexport declare type PromiseType<T extends PromiseLike<any>> = T extends PromiseLike<infer U> ? U : T\n\n/**\n * Get the return type of a function which returns a Promise.\n */\nexport declare type PromiseReturnType<T extends (...args: any) => Promise<any>> = PromiseType<ReturnType<T>>\n\nexport namespace Prisma {\n export type TransactionClient = any\n\n export function defineExtension<\n R extends runtime.Types.Extensions.UserArgs['result'] = {},\n M extends runtime.Types.Extensions.UserArgs['model'] = {},\n Q extends runtime.Types.Extensions.UserArgs['query'] = {},\n C extends runtime.Types.Extensions.UserArgs['client'] = {},\n Args extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.InternalArgs<R, M, {}, C>,\n >(\n args:\n | ((client: PrismaClientExtends) => { $extends: { extArgs: Args } })\n | { name?: string }\n | { result?: R & runtime.Types.Extensions.UserArgs['result'] }\n | { model?: M & runtime.Types.Extensions.UserArgs['model'] }\n | { query?: Q & runtime.Types.Extensions.UserArgs['query'] }\n | { client?: C & runtime.Types.Extensions.UserArgs['client'] },\n ): (client: any) => PrismaClientExtends<Args>\n\n export type Extension = runtime.Types.Extensions.UserArgs\n export import getExtensionContext = runtime.Extensions.getExtensionContext\n export import Args = runtime.Types.Public.Args\n export import Payload = runtime.Types.Public.Payload\n export import Result = runtime.Types.Public.Result\n export import Exact = runtime.Types.Public.Exact\n export import PrismaPromise = runtime.Types.Public.PrismaPromise\n\n export const prismaVersion: {\n client: string\n engine: string\n }\n}\n",
12564
12569
  "node_modules/@prisma/client/scripts/postinstall.d.ts": "export function getPostInstallTrigger(): string\nexport const UNABLE_TO_FIND_POSTINSTALL_TRIGGER__EMPTY_STRING\nexport const UNABLE_TO_FIND_POSTINSTALL_TRIGGER__ENVAR_MISSING\nexport const UNABLE_TO_FIND_POSTINSTALL_TRIGGER_JSON_PARSE_ERROR\nexport const UNABLE_TO_FIND_POSTINSTALL_TRIGGER_JSON_SCHEMA_ERROR\n",
12565
12570
  "node_modules/@prisma/client/sql.d.ts": "export * from '.prisma/client/sql'\n",
12566
12571
  "node_modules/@prisma/client/wasm.d.ts": "export * from '.prisma/client/wasm'\n",
12572
+ "node_modules/@prisma/debug/dist/index.d.ts": "export declare function clearLogs(): void;\r\n\r\ndeclare const Debug: typeof debugCreate & {\r\n enable(namespace: any): void;\r\n disable(): any;\r\n enabled(namespace: string): boolean;\r\n log: (...args: string[]) => void;\r\n formatters: {};\r\n};\r\nexport { Debug }\r\nexport default Debug;\r\n\r\n/**\r\n * Create a new debug instance with the given namespace.\r\n *\r\n * @example\r\n * ```ts\r\n * import Debug from '@prisma/debug'\r\n * const debug = Debug('prisma:client')\r\n * debug('Hello World')\r\n * ```\r\n */\r\ndeclare function debugCreate(namespace: string): ((...args: any[]) => void) & {\r\n color: string;\r\n enabled: boolean;\r\n namespace: string;\r\n log: (...args: string[]) => void;\r\n extend: () => void;\r\n};\r\n\r\n/**\r\n * We can get the logs for all the last {@link MAX_ARGS_HISTORY} ${@link debugCall} that\r\n * have happened in the different packages. Useful to generate error report links.\r\n * @see https://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-a-url-in-different-browsers\r\n * @param numChars\r\n * @returns\r\n */\r\nexport declare function getLogs(numChars?: number): string;\r\n\r\nexport { }\r\n",
12573
+ "node_modules/@prisma/debug/dist/util.d.ts": "export declare function removeISODate(str: string): string;\nexport declare function sanitizeTestLogs(str: string): string;\n",
12574
+ "node_modules/@prisma/debug/package.json": "{\n \"name\": \"@prisma/debug\",\n \"version\": \"6.16.2\",\n \"description\": \"This package is intended for Prisma's internal use\",\n \"main\": \"dist/index.js\",\n \"module\": \"dist/index.mjs\",\n \"types\": \"dist/index.d.ts\",\n \"exports\": {\n \".\": {\n \"require\": {\n \"types\": \"./dist/index.d.ts\",\n \"default\": \"./dist/index.js\"\n },\n \"import\": {\n \"types\": \"./dist/index.d.mts\",\n \"default\": \"./dist/index.mjs\"\n }\n }\n },\n \"license\": \"Apache-2.0\",\n \"author\": \"Tim Suchanek <suchanek@prisma.io>\",\n \"homepage\": \"https://www.prisma.io\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/prisma/prisma.git\",\n \"directory\": \"packages/debug\"\n },\n \"bugs\": \"https://github.com/prisma/prisma/issues\",\n \"devDependencies\": {\n \"@types/jest\": \"29.5.14\",\n \"@types/node\": \"18.19.76\",\n \"jest\": \"29.7.0\",\n \"jest-junit\": \"16.0.0\",\n \"kleur\": \"4.1.5\",\n \"typescript\": \"5.4.5\"\n },\n \"files\": [\n \"README.md\",\n \"dist\"\n ],\n \"dependencies\": {},\n \"sideEffects\": false,\n \"scripts\": {\n \"dev\": \"DEV=true tsx helpers/build.ts\",\n \"build\": \"tsx helpers/build.ts\",\n \"test\": \"jest\"\n }\n}",
12575
+ "node_modules/@prisma/driver-adapter-utils/dist/index.d.ts": "import { Debug } from '@prisma/debug';\r\n\r\n/**\r\n * An interface that exposes some basic information about the\r\n * adapter like its name and provider type.\r\n */\r\ndeclare interface AdapterInfo {\r\n readonly provider: Provider;\r\n readonly adapterName: (typeof officialPrismaAdapters)[number] | (string & {});\r\n}\r\n\r\nexport declare type ArgScalarType = 'string' | 'int' | 'bigint' | 'float' | 'decimal' | 'boolean' | 'enum' | 'uuid' | 'json' | 'datetime' | 'bytes' | 'unknown';\r\n\r\nexport declare type ArgType = {\r\n scalarType: ArgScalarType;\r\n dbType?: string;\r\n arity: Arity;\r\n};\r\n\r\nexport declare type Arity = 'scalar' | 'list';\r\n\r\nexport declare const bindAdapter: (adapter: SqlDriverAdapter, errorRegistry?: ErrorRegistryInternal) => ErrorCapturingSqlDriverAdapter;\r\n\r\nexport declare const bindMigrationAwareSqlAdapterFactory: (adapterFactory: SqlMigrationAwareDriverAdapterFactory) => ErrorCapturingSqlMigrationAwareDriverAdapterFactory;\r\n\r\nexport declare const bindSqlAdapterFactory: (adapterFactory: SqlDriverAdapterFactory) => ErrorCapturingSqlDriverAdapterFactory;\r\n\r\nexport declare type ColumnType = (typeof ColumnTypeEnum)[keyof typeof ColumnTypeEnum];\r\n\r\nexport declare const ColumnTypeEnum: {\r\n readonly Int32: 0;\r\n readonly Int64: 1;\r\n readonly Float: 2;\r\n readonly Double: 3;\r\n readonly Numeric: 4;\r\n readonly Boolean: 5;\r\n readonly Character: 6;\r\n readonly Text: 7;\r\n readonly Date: 8;\r\n readonly Time: 9;\r\n readonly DateTime: 10;\r\n readonly Json: 11;\r\n readonly Enum: 12;\r\n readonly Bytes: 13;\r\n readonly Set: 14;\r\n readonly Uuid: 15;\r\n readonly Int32Array: 64;\r\n readonly Int64Array: 65;\r\n readonly FloatArray: 66;\r\n readonly DoubleArray: 67;\r\n readonly NumericArray: 68;\r\n readonly BooleanArray: 69;\r\n readonly CharacterArray: 70;\r\n readonly TextArray: 71;\r\n readonly DateArray: 72;\r\n readonly TimeArray: 73;\r\n readonly DateTimeArray: 74;\r\n readonly JsonArray: 75;\r\n readonly EnumArray: 76;\r\n readonly BytesArray: 77;\r\n readonly UuidArray: 78;\r\n readonly UnknownNumber: 128;\r\n};\r\n\r\nexport declare type ConnectionInfo = {\r\n schemaName?: string;\r\n maxBindValues?: number;\r\n supportsRelationJoins: boolean;\r\n};\r\n\r\nexport { Debug }\r\n\r\nexport declare class DriverAdapterError extends Error {\r\n name: string;\r\n cause: Error_2;\r\n constructor(payload: Error_2);\r\n}\r\n\r\n/**\r\n * A generic driver adapter factory that allows the user to instantiate a\r\n * driver adapter. The query and result types are specific to the adapter.\r\n */\r\nexport declare interface DriverAdapterFactory<Query, Result> extends AdapterInfo {\r\n /**\r\n * Instantiate a driver adapter.\r\n */\r\n connect(): Promise<Queryable<Query, Result>>;\r\n}\r\n\r\nexport declare function err<T>(error: Error_2): Result<T>;\r\n\r\ndeclare type Error_2 = MappedError & {\r\n originalCode?: string;\r\n originalMessage?: string;\r\n};\r\nexport { Error_2 as Error }\r\n\r\ndeclare type ErrorCapturingFunction<T> = T extends (...args: infer A) => Promise<infer R> ? (...args: A) => Promise<Result<ErrorCapturingInterface<R>>> : T extends (...args: infer A) => infer R ? (...args: A) => Result<ErrorCapturingInterface<R>> : T;\r\n\r\ndeclare type ErrorCapturingInterface<T> = {\r\n [K in keyof T]: ErrorCapturingFunction<T[K]>;\r\n};\r\n\r\nexport declare interface ErrorCapturingSqlDriverAdapter extends ErrorCapturingInterface<SqlDriverAdapter> {\r\n readonly errorRegistry: ErrorRegistry;\r\n}\r\n\r\nexport declare interface ErrorCapturingSqlDriverAdapterFactory extends ErrorCapturingInterface<SqlDriverAdapterFactory> {\r\n readonly errorRegistry: ErrorRegistry;\r\n}\r\n\r\nexport declare interface ErrorCapturingSqlMigrationAwareDriverAdapterFactory extends ErrorCapturingInterface<SqlMigrationAwareDriverAdapterFactory> {\r\n readonly errorRegistry: ErrorRegistry;\r\n}\r\n\r\nexport declare type ErrorCapturingSqlQueryable = ErrorCapturingInterface<SqlQueryable>;\r\n\r\nexport declare type ErrorCapturingTransaction = ErrorCapturingInterface<Transaction>;\r\n\r\nexport declare type ErrorRecord = {\r\n error: unknown;\r\n};\r\n\r\nexport declare interface ErrorRegistry {\r\n consumeError(id: number): ErrorRecord | undefined;\r\n}\r\n\r\ndeclare class ErrorRegistryInternal implements ErrorRegistry {\r\n private registeredErrors;\r\n consumeError(id: number): ErrorRecord | undefined;\r\n registerNewError(error: unknown): number;\r\n}\r\n\r\nexport declare function isDriverAdapterError(error: any): error is DriverAdapterError;\r\n\r\nexport declare type IsolationLevel = 'READ UNCOMMITTED' | 'READ COMMITTED' | 'REPEATABLE READ' | 'SNAPSHOT' | 'SERIALIZABLE';\r\n\r\nexport declare type MappedError = {\r\n kind: 'GenericJs';\r\n id: number;\r\n} | {\r\n kind: 'UnsupportedNativeDataType';\r\n type: string;\r\n} | {\r\n kind: 'InvalidIsolationLevel';\r\n level: string;\r\n} | {\r\n kind: 'LengthMismatch';\r\n column?: string;\r\n} | {\r\n kind: 'UniqueConstraintViolation';\r\n constraint?: {\r\n fields: string[];\r\n } | {\r\n index: string;\r\n } | {\r\n foreignKey: {};\r\n };\r\n} | {\r\n kind: 'NullConstraintViolation';\r\n constraint?: {\r\n fields: string[];\r\n } | {\r\n index: string;\r\n } | {\r\n foreignKey: {};\r\n };\r\n} | {\r\n kind: 'ForeignKeyConstraintViolation';\r\n constraint?: {\r\n fields: string[];\r\n } | {\r\n index: string;\r\n } | {\r\n foreignKey: {};\r\n };\r\n} | {\r\n kind: 'DatabaseNotReachable';\r\n host?: string;\r\n port?: number;\r\n} | {\r\n kind: 'DatabaseDoesNotExist';\r\n db?: string;\r\n} | {\r\n kind: 'DatabaseAlreadyExists';\r\n db?: string;\r\n} | {\r\n kind: 'DatabaseAccessDenied';\r\n db?: string;\r\n} | {\r\n kind: 'ConnectionClosed';\r\n} | {\r\n kind: 'TlsConnectionError';\r\n reason: string;\r\n} | {\r\n kind: 'AuthenticationFailed';\r\n user?: string;\r\n} | {\r\n kind: 'TransactionWriteConflict';\r\n} | {\r\n kind: 'TableDoesNotExist';\r\n table?: string;\r\n} | {\r\n kind: 'ColumnNotFound';\r\n column?: string;\r\n} | {\r\n kind: 'TooManyConnections';\r\n cause: string;\r\n} | {\r\n kind: 'ValueOutOfRange';\r\n cause: string;\r\n} | {\r\n kind: 'MissingFullTextSearchIndex';\r\n} | {\r\n kind: 'SocketTimeout';\r\n} | {\r\n kind: 'InconsistentColumnData';\r\n cause: string;\r\n} | {\r\n kind: 'TransactionAlreadyClosed';\r\n cause: string;\r\n} | {\r\n kind: 'postgres';\r\n code: string;\r\n severity: string;\r\n message: string;\r\n detail: string | undefined;\r\n column: string | undefined;\r\n hint: string | undefined;\r\n} | {\r\n kind: 'mysql';\r\n code: number;\r\n message: string;\r\n state: string;\r\n} | {\r\n kind: 'sqlite';\r\n /**\r\n * Sqlite extended error code: https://www.sqlite.org/rescode.html\r\n */\r\n extendedCode: number;\r\n message: string;\r\n} | {\r\n kind: 'mssql';\r\n code: number;\r\n message: string;\r\n};\r\n\r\n/**\r\n * Create an adapter stub for testing.\r\n */\r\nexport declare function mockAdapter(provider: 'mysql' | 'sqlite' | 'postgres'): SqlDriverAdapter;\r\n\r\nexport declare const mockAdapterErrors: {\r\n queryRaw: Error;\r\n executeRaw: Error;\r\n startTransaction: Error;\r\n executeScript: Error;\r\n dispose: Error;\r\n};\r\n\r\n/**\r\n * Create an adapter factory stub for testing.\r\n */\r\nexport declare function mockAdapterFactory(provider: 'mysql' | 'sqlite' | 'postgres'): SqlDriverAdapterFactory;\r\n\r\n/**\r\n * Create an adapter factory stub for testing.\r\n */\r\nexport declare function mockMigrationAwareAdapterFactory(provider: 'mysql' | 'sqlite' | 'postgres'): SqlMigrationAwareDriverAdapterFactory;\r\n\r\nexport declare type OfficialDriverAdapterName = (typeof officialPrismaAdapters)[number];\r\n\r\ndeclare const officialPrismaAdapters: readonly [\"@prisma/adapter-planetscale\", \"@prisma/adapter-neon\", \"@prisma/adapter-libsql\", \"@prisma/adapter-better-sqlite3\", \"@prisma/adapter-d1\", \"@prisma/adapter-pg\", \"@prisma/adapter-mssql\", \"@prisma/adapter-mariadb\"];\r\n\r\nexport declare function ok<T>(value: T): Result<T>;\r\n\r\nexport declare type Provider = 'mysql' | 'postgres' | 'sqlite' | 'sqlserver';\r\n\r\nexport declare interface Queryable<Query, Result> extends AdapterInfo {\r\n /**\r\n * Execute a query and return its result.\r\n */\r\n queryRaw(params: Query): Promise<Result>;\r\n /**\r\n * Execute a query and return the number of affected rows.\r\n */\r\n executeRaw(params: Query): Promise<number>;\r\n}\r\n\r\nexport declare type Result<T> = {\r\n map<U>(fn: (value: T) => U): Result<U>;\r\n flatMap<U>(fn: (value: T) => Result<U>): Result<U>;\r\n} & ({\r\n readonly ok: true;\r\n readonly value: T;\r\n} | {\r\n readonly ok: false;\r\n readonly error: Error_2;\r\n});\r\n\r\n/**\r\n * Represents a value that can be returned for a column from `queryRaw`.\r\n */\r\nexport declare type ResultValue = number | string | boolean | null | ResultValue[];\r\n\r\nexport declare interface SqlDriverAdapter extends SqlQueryable {\r\n /**\r\n * Execute multiple SQL statements separated by semicolon.\r\n */\r\n executeScript(script: string): Promise<void>;\r\n /**\r\n * Start new transaction.\r\n */\r\n startTransaction(isolationLevel?: IsolationLevel): Promise<Transaction>;\r\n /**\r\n * Optional method that returns extra connection info\r\n */\r\n getConnectionInfo?(): ConnectionInfo;\r\n /**\r\n * Dispose of the connection and release any resources.\r\n */\r\n dispose(): Promise<void>;\r\n}\r\n\r\nexport declare interface SqlDriverAdapterFactory extends DriverAdapterFactory<SqlQuery, SqlResultSet> {\r\n connect(): Promise<SqlDriverAdapter>;\r\n}\r\n\r\n/**\r\n * An SQL migration adapter that is aware of the notion of a shadow database\r\n * and can create a connection to it.\r\n */\r\nexport declare interface SqlMigrationAwareDriverAdapterFactory extends SqlDriverAdapterFactory {\r\n connectToShadowDb(): Promise<SqlDriverAdapter>;\r\n}\r\n\r\nexport declare type SqlQuery = {\r\n sql: string;\r\n args: Array<unknown>;\r\n argTypes: Array<ArgType>;\r\n};\r\n\r\nexport declare interface SqlQueryable extends Queryable<SqlQuery, SqlResultSet> {\r\n}\r\n\r\nexport declare interface SqlResultSet {\r\n /**\r\n * List of column types appearing in a database query, in the same order as `columnNames`.\r\n * They are used within the Query Engine to convert values from JS to Quaint values.\r\n */\r\n columnTypes: Array<ColumnType>;\r\n /**\r\n * List of column names appearing in a database query, in the same order as `columnTypes`.\r\n */\r\n columnNames: Array<string>;\r\n /**\r\n * List of rows retrieved from a database query.\r\n * Each row is a list of values, whose length matches `columnNames` and `columnTypes`.\r\n */\r\n rows: Array<Array<unknown>>;\r\n /**\r\n * The last ID of an `INSERT` statement, if any.\r\n * This is required for `AUTO_INCREMENT` columns in databases based on MySQL and SQLite.\r\n */\r\n lastInsertId?: string;\r\n}\r\n\r\nexport declare interface Transaction extends AdapterInfo, SqlQueryable {\r\n /**\r\n * Transaction options.\r\n */\r\n readonly options: TransactionOptions;\r\n /**\r\n * Commit the transaction.\r\n */\r\n commit(): Promise<void>;\r\n /**\r\n * Roll back the transaction.\r\n */\r\n rollback(): Promise<void>;\r\n}\r\n\r\nexport declare type TransactionOptions = {\r\n usePhantomQuery: boolean;\r\n};\r\n\r\nexport { }\r\n",
12576
+ "node_modules/@prisma/driver-adapter-utils/package.json": "{\n \"name\": \"@prisma/driver-adapter-utils\",\n \"version\": \"6.16.2\",\n \"description\": \"Internal set of utilities and types for Prisma's driver adapters.\",\n \"main\": \"dist/index.js\",\n \"module\": \"dist/index.mjs\",\n \"types\": \"dist/index.d.ts\",\n \"exports\": {\n \".\": {\n \"require\": {\n \"types\": \"./dist/index.d.ts\",\n \"default\": \"./dist/index.js\"\n },\n \"import\": {\n \"types\": \"./dist/index.d.mts\",\n \"default\": \"./dist/index.mjs\"\n }\n }\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/prisma/prisma.git\",\n \"directory\": \"packages/driver-adapter-utils\"\n },\n \"files\": [\n \"dist\",\n \"README.md\"\n ],\n \"keywords\": [],\n \"author\": \"Alberto Schiabel <schiabel@prisma.io>\",\n \"license\": \"Apache-2.0\",\n \"sideEffects\": false,\n \"dependencies\": {\n \"@prisma/debug\": \"6.16.2\"\n },\n \"scripts\": {\n \"dev\": \"DEV=true tsx helpers/build.ts\",\n \"build\": \"tsx helpers/build.ts\"\n }\n}",
12567
12577
  "node_modules/@samchon/openapi/lib/HttpLlm.d.ts": "import { OpenApi } from \"./OpenApi\";\nimport { OpenApiV3 } from \"./OpenApiV3\";\nimport { OpenApiV3_1 } from \"./OpenApiV3_1\";\nimport { SwaggerV2 } from \"./SwaggerV2\";\nimport { IHttpConnection } from \"./structures/IHttpConnection\";\nimport { IHttpLlmApplication } from \"./structures/IHttpLlmApplication\";\nimport { IHttpLlmFunction } from \"./structures/IHttpLlmFunction\";\nimport { IHttpResponse } from \"./structures/IHttpResponse\";\nimport { ILlmFunction } from \"./structures/ILlmFunction\";\nimport { ILlmSchema } from \"./structures/ILlmSchema\";\n/**\n * LLM function calling application composer from OpenAPI document.\n *\n * `HttpLlm` is a module for composing LLM (Large Language Model) function\n * calling application from the {@link OpenApi.IDocument OpenAPI document}, and\n * also for LLM function call execution and parameter merging.\n *\n * At first, you can construct the LLM function calling application by the\n * {@link HttpLlm.application HttpLlm.application()} function. And then the LLM\n * has selected a {@link IHttpLlmFunction function} to call and composes its\n * arguments, you can execute the function by\n * {@link HttpLlm.execute HttpLlm.execute()} or\n * {@link HttpLlm.propagate HttpLlm.propagate()}.\n *\n * By the way, if you have configured the\n * {@link IHttpLlmApplication.IOptions.separate} option to separate the\n * parameters into human and LLM sides, you can merge these human and LLM sides'\n * parameters into one through\n * {@link HttpLlm.mergeParameters HttpLlm.mergeParameters()} before the actual\n * LLM function call execution.\n *\n * @author Jeongho Nam - https://github.com/samchon\n */\nexport declare namespace HttpLlm {\n /**\n * Properties for the LLM function calling application composer.\n *\n * @template Model Target LLM model\n */\n interface IApplicationProps<Model extends ILlmSchema.Model> {\n /** Target LLM model. */\n model: Model;\n /** OpenAPI document to convert. */\n document: OpenApi.IDocument | SwaggerV2.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument;\n /** Options for the LLM function calling schema conversion. */\n options?: Partial<IHttpLlmApplication.IOptions<Model>>;\n }\n /**\n * Convert OpenAPI document to LLM function calling application.\n *\n * Converts {@link OpenApi.IDocument OpenAPI document} or\n * {@link IHttpMigrateApplication migrated application} to the\n * {@link IHttpLlmApplication LLM function calling application}. Every\n * {@link OpenApi.IOperation API operations} in the OpenAPI document are\n * converted to the {@link IHttpLlmFunction LLM function} type, and they would\n * be used for the LLM function calling.\n *\n * If you have configured the {@link IHttpLlmApplication.IOptions.separate}\n * option, every parameters in the {@link IHttpLlmFunction} would be separated\n * into both human and LLM sides. In that case, you can merge these human and\n * LLM sides' parameters into one through {@link HttpLlm.mergeParameters}\n * before the actual LLM function call execution.\n *\n * Additionally, if you have configured the\n * {@link IHttpLlmApplication.IOptions.keyword} as `true`, the number of\n * {@link IHttpLlmFunction.parameters} are always 1 and the first parameter\n * type is always {@link ILlmSchemaV3.IObject}. I recommend this option because\n * LLM can understand the keyword arguments more easily.\n *\n * @param props Properties for composition\n * @returns LLM function calling application\n */\n const application: <Model extends ILlmSchema.Model>(props: IApplicationProps<Model>) => IHttpLlmApplication<Model>;\n /** Properties for the LLM function call. */\n interface IFetchProps<Model extends ILlmSchema.Model> {\n /** Application of the LLM function calling. */\n application: IHttpLlmApplication<Model>;\n /** LLM function schema to call. */\n function: IHttpLlmFunction<ILlmSchema.Model>;\n /** Connection info to the HTTP server. */\n connection: IHttpConnection;\n /** Input arguments for the function call. */\n input: object;\n }\n /**\n * Execute the LLM function call.\n *\n * `HttmLlm.execute()` is a function executing the target\n * {@link OpenApi.IOperation API endpoint} with with the connection information\n * and arguments composed by Large Language Model like OpenAI (+human\n * sometimes).\n *\n * By the way, if you've configured the\n * {@link IHttpLlmApplication.IOptions.separate}, so that the parameters are\n * separated to human and LLM sides, you have to merge these humand and LLM\n * sides' parameters into one through {@link HttpLlm.mergeParameters}\n * function.\n *\n * About the {@link IHttpLlmApplication.IOptions.keyword} option, don't worry\n * anything. This `HttmLlm.execute()` function will automatically recognize\n * the keyword arguments and convert them to the proper sequence.\n *\n * For reference, if the target API endpoinnt responds none 200/201 status,\n * this would be considered as an error and the {@link HttpError} would be\n * thrown. Otherwise you don't want such rule, you can use the\n * {@link HttpLlm.propagate} function instead.\n *\n * @param props Properties for the LLM function call\n * @returns Return value (response body) from the API endpoint\n * @throws HttpError when the API endpoint responds none 200/201 status\n */\n const execute: <Model extends ILlmSchema.Model>(props: IFetchProps<Model>) => Promise<unknown>;\n /**\n * Propagate the LLM function call.\n *\n * `HttmLlm.propagate()` is a function propagating the target\n * {@link OpenApi.IOperation API endpoint} with with the connection information\n * and arguments composed by Large Language Model like OpenAI (+human\n * sometimes).\n *\n * By the way, if you've configured the\n * {@link IHttpLlmApplication.IOptions.separate}, so that the parameters are\n * separated to human and LLM sides, you have to merge these humand and LLM\n * sides' parameters into one through {@link HttpLlm.mergeParameters}\n * function.\n *\n * About the {@link IHttpLlmApplication.IOptions.keyword} option, don't worry\n * anything. This `HttmLlm.propagate()` function will automatically recognize\n * the keyword arguments and convert them to the proper sequence.\n *\n * For reference, the propagation means always returning the response from the\n * API endpoint, even if the status is not 200/201. This is useful when you\n * want to handle the response by yourself.\n *\n * @param props Properties for the LLM function call\n * @returns Response from the API endpoint\n * @throws Error only when the connection is failed\n */\n const propagate: <Model extends ILlmSchema.Model>(props: IFetchProps<Model>) => Promise<IHttpResponse>;\n /** Properties for the parameters' merging. */\n interface IMergeProps<Model extends ILlmSchema.Model> {\n /** Metadata of the target function. */\n function: ILlmFunction<Model>;\n /** Arguments composed by the LLM. */\n llm: object | null;\n /** Arguments composed by the human. */\n human: object | null;\n }\n /**\n * Merge the parameters.\n *\n * If you've configured the {@link IHttpLlmApplication.IOptions.separate}\n * option, so that the parameters are separated to human and LLM sides, you\n * can merge these humand and LLM sides' parameters into one through this\n * `HttpLlm.mergeParameters()` function before the actual LLM function call\n * wexecution.\n *\n * On contrary, if you've not configured the\n * {@link IHttpLlmApplication.IOptions.separate} option, this function would\n * throw an error.\n *\n * @param props Properties for the parameters' merging\n * @returns Merged parameter values\n */\n const mergeParameters: <Model extends ILlmSchema.Model>(props: IMergeProps<Model>) => object;\n /**\n * Merge two values.\n *\n * If both values are objects, then combines them in the properties level.\n *\n * Otherwise, returns the latter value if it's not null, otherwise the former\n * value.\n *\n * - `return (y ?? x)`\n *\n * @param x Value X to merge\n * @param y Value Y to merge\n * @returns Merged value\n */\n const mergeValue: (x: unknown, y: unknown) => unknown;\n}\n",
12568
12578
  "node_modules/@samchon/openapi/lib/HttpMigration.d.ts": "import { OpenApi } from \"./OpenApi\";\nimport { OpenApiV3 } from \"./OpenApiV3\";\nimport { OpenApiV3_1 } from \"./OpenApiV3_1\";\nimport { SwaggerV2 } from \"./SwaggerV2\";\nimport { IHttpConnection } from \"./structures/IHttpConnection\";\nimport { IHttpMigrateApplication } from \"./structures/IHttpMigrateApplication\";\nimport { IHttpMigrateRoute } from \"./structures/IHttpMigrateRoute\";\nimport { IHttpResponse } from \"./structures/IHttpResponse\";\n/**\n * HTTP migration application composer from OpenAPI document.\n *\n * `HttpMigration` is a module for composing HTTP migration application from the\n * {@link OpenApi.IDocument OpenAPI document}. It is designed for helping the\n * OpenAPI generator libraries, which converts\n * {@link OpenApi.IOperation OpenAPI operations} to an RPC (Remote Procedure\n * Call) function.\n *\n * The key feature of the `HttpModule` is the {@link HttpMigration.application}\n * function. It converts the {@link OpenApi.IOperation OpenAPI operations} to the\n * {@link IHttpMigrateRoute HTTP migration route}, and it normalizes the OpenAPI\n * operations to the RPC function calling suitable route structure.\n *\n * The other functions, {@link HttpMigration.execute} and\n * {@link HttpMigration.propagate}, are for executing the HTTP request to the\n * HTTP server. The {@link HttpMigration.execute} function returns the response\n * body from the API endpoint when the status code is `200` or `201`. Otherwise,\n * it throws an {@link HttpError} when the status code is not `200` or `201`. The\n * {@link HttpMigration.propagate} function returns the response information from\n * the API endpoint, including the status code, headers, and response body.\n *\n * The {@link HttpLlm} module is a good example utilizing this `HttpMigration`\n * module for composing RPC function calling application. The {@link HttpLlm}\n * module composes LLM (Large Language Model) function calling application from\n * the OpenAPI document bypassing through the {@link IHttpLlmApplication} type.\n *\n * @author Jeongho Nam - https://github.com/samchon\n */\nexport declare namespace HttpMigration {\n /**\n * Convert HTTP migration application from OpenAPI document.\n *\n * `HttpMigration.application()` is a function converting the\n * {@link OpenApi.IDocument OpenAPI document} and its\n * {@link OpenApi.IOperation operations} to the\n * {@link IHttpMigrateApplication HTTP migration application}.\n *\n * The HTTP migration application is designed for helping the OpenAPI\n * generator libraries, which converts OpenAPI operations to an RPC (Remote\n * Procedure Call) function. To support the OpenAPI generator libraries,\n * {@link IHttpMigrateRoute} takes below normalization rules:\n *\n * - Path parameters are separated to atomic level.\n * - Query parameters are binded into one object.\n * - Header parameters are binded into one object.\n * - Allow only below HTTP methods\n *\n * - `head`\n * - `get`\n * - `post`\n * - `put`\n * - `patch`\n * - `delete`\n * - Allow only below content media types\n *\n * - `application/json`\n * - `application/x-www-form-urlencoded`\n * - `multipart/form-data`\n * - `text/plain`\n *\n * If there're some {@link OpenApi.IOperation API operations} which canont\n * adjust the above rules or there're some logically insensible, these\n * operation would be failed to migrate and registered into the\n * {@link IHttpMigrateApplication.errors}.\n *\n * @param document OpenAPI document to migrate.\n * @returns Migrated application.\n */\n const application: (document: OpenApi.IDocument | SwaggerV2.IDocument | OpenApiV3.IDocument | OpenApiV3_1.IDocument) => IHttpMigrateApplication;\n /** Properties for the request to the HTTP server. */\n interface IFetchProps {\n /** Connection info to the HTTP server. */\n connection: IHttpConnection;\n /** Route information for the migration. */\n route: IHttpMigrateRoute;\n /**\n * Path parameters.\n *\n * Path parameters with sequenced array or key-value paired object.\n */\n parameters: Array<string | number | boolean | bigint | null> | Record<string, string | number | boolean | bigint | null>;\n /** Query parameters as a key-value paired object. */\n query?: object | undefined;\n /** Request body data. */\n body?: object | undefined;\n }\n /**\n * Execute the HTTP request.\n *\n * `HttpMigration.execute()` is a function executing the HTTP request to the\n * HTTP server.\n *\n * It returns the response body from the API endpoint when the status code is\n * `200` or `201`. Otherwise, it throws an {@link HttpError} when the status\n * code is not `200` or `201`.\n *\n * If you want to get more information than the response body, or get the\n * detailed response information even when the status code is `200` or `201`,\n * use the {@link HttpMigration.propagate} function instead.\n *\n * @param props Properties for the request.\n * @returns Return value (response body) from the API endpoint.\n * @throws HttpError when the API endpoint responds none 200/201 status.\n */\n const execute: (props: IFetchProps) => Promise<unknown>;\n /**\n * Propagate the HTTP request.\n *\n * `HttpMigration.propagate()` is a function propagating the request to the\n * HTTP server.\n *\n * It returns the response information from the API endpoint, including the\n * status code, headers, and response body.\n *\n * Even if the status code is not `200` or `201`, this function would return\n * the response information. By the way, if the connection to the HTTP server\n * is failed, this function would throw an {@link Error}.\n *\n * @param props Properties for the request.\n * @returns Response from the API endpoint.\n * @throws Error when the connection is failed.\n */\n const propagate: (props: IFetchProps) => Promise<IHttpResponse>;\n}\n",
12569
12579
  "node_modules/@samchon/openapi/lib/McpLlm.d.ts": "import { ILlmSchema } from \"./structures/ILlmSchema\";\nimport { IMcpLlmApplication } from \"./structures/IMcpLlmApplication\";\nimport { IMcpTool } from \"./structures/IMcpTool\";\n/**\n * Application of LLM function calling from MCP document.\n *\n * `McpLlm` is a module for composing LLM (Large Language Model) function\n * calling application from MCP (Model Context Protocol) document.\n *\n * The reasons why `@samchon/openapi` recommends to use the function calling\n * feature instead of directly using the\n * [`mcp_servers`](https://openai.github.io/openai-agents-python/mcp/#using-mcp-servers)\n * property of LLM API are:\n *\n * - Model Specification: {@link ILlmSchema}\n * - Validation Feedback: {@link IMcpLlmFunction.validate}\n * - Selector agent for reducing context: [Agentica > Orchestration\n * Strategy](https://wrtnlabs.io/agentica/docs/concepts/function-calling/#orchestration-strategy)\n *\n * @author Jeongho Nam - https://github.com/samchon\n */\nexport declare namespace McpLlm {\n /**\n * Properties for the LLM function calling application composer.\n *\n * @template Model Target LLM model\n */\n interface IApplicationProps<Model extends ILlmSchema.Model> {\n /** Target LLM model. */\n model: Model;\n /**\n * List of tools.\n *\n * A list of tools defined in the MCP (Model Context Protocol) document.\n *\n * It is better to validate the tools using the\n * [`typia.assert<T>()`](https://typia.io/docs/validate/assert) function for\n * type safety.\n */\n tools: Array<IMcpTool>;\n /** Options for the LLM function calling schema conversion. */\n options?: Partial<IMcpLlmApplication.IOptions<Model>>;\n }\n /**\n * Convert MCP document to LLM function calling application.\n *\n * Converts MCP (Model Context Protocol) to LLM (Large Language Model)\n * function calling application.\n *\n * The reasons why `@samchon/openapi` recommends using the function calling\n * feature instead of directly using the\n * [`mcp_servers`](https://openai.github.io/openai-agents-python/mcp/#using-mcp-servers)\n * property of LLM API are:\n *\n * - **Model Specification**: {@link ILlmSchema}\n * - **Validation Feedback**: {@link IMcpLlmFunction.validate}\n * - **Selector agent for reducing context**: [Agentica > Orchestration\n * Strategy](https://wrtnlabs.io/agentica/docs/concepts/function-calling/#orchestration-strategy)\n *\n * @param props Properties for composition\n * @returns LLM function calling application\n */\n const application: <Model extends ILlmSchema.Model>(props: IApplicationProps<Model>) => IMcpLlmApplication<Model>;\n}\n",
@@ -12994,8 +13004,10 @@
12994
13004
  "node_modules/bcryptjs/types.d.ts": "// Originally imported from https://github.com/DefinitelyTyped/DefinitelyTyped/blob/8b36dbdf95b624b8a7cd7f8416f06c15d274f9e6/types/bcryptjs/index.d.ts\n// MIT license.\n\n/** Called with an error on failure or a value of type `T` upon success. */\ntype Callback<T> = (err: Error | null, result?: T) => void;\n/** Called with the percentage of rounds completed (0.0 - 1.0), maximally once per `MAX_EXECUTION_TIME = 100` ms. */\ntype ProgressCallback = (percentage: number) => void;\n/** Called to obtain random bytes when both Web Crypto API and Node.js crypto are not available. */\ntype RandomFallback = (length: number) => number[];\n\n/**\n * Sets the pseudo random number generator to use as a fallback if neither node's crypto module nor the Web Crypto API is available.\n * Please note: It is highly important that the PRNG used is cryptographically secure and that it is seeded properly!\n * @param random Function taking the number of bytes to generate as its sole argument, returning the corresponding array of cryptographically secure random byte values.\n */\nexport declare function setRandomFallback(random: RandomFallback): void;\n\n/**\n * Synchronously generates a salt.\n * @param rounds Number of rounds to use, defaults to 10 if omitted\n * @return Resulting salt\n * @throws If a random fallback is required but not set\n */\nexport declare function genSaltSync(rounds?: number): string;\n\n/**\n * Asynchronously generates a salt.\n * @param rounds Number of rounds to use, defaults to 10 if omitted\n * @return Promise with resulting salt, if callback has been omitted\n */\nexport declare function genSalt(rounds?: number): Promise<string>;\n\n/**\n * Asynchronously generates a salt.\n * @param callback Callback receiving the error, if any, and the resulting salt\n */\nexport declare function genSalt(callback: Callback<string>): void;\n\n/**\n * Asynchronously generates a salt.\n * @param rounds Number of rounds to use, defaults to 10 if omitted\n * @param callback Callback receiving the error, if any, and the resulting salt\n */\nexport declare function genSalt(\n rounds: number,\n callback: Callback<string>,\n): void;\n\n/**\n * Synchronously generates a hash for the given password.\n * @param password Password to hash\n * @param salt Salt length to generate or salt to use, default to 10\n * @return Resulting hash\n */\nexport declare function hashSync(\n password: string,\n salt?: number | string,\n): string;\n\n/**\n * Asynchronously generates a hash for the given password.\n * @param password Password to hash\n * @param salt Salt length to generate or salt to use\n * @return Promise with resulting hash, if callback has been omitted\n */\nexport declare function hash(\n password: string,\n salt: number | string,\n): Promise<string>;\n\n/**\n * Asynchronously generates a hash for the given password.\n * @param password Password to hash\n * @param salt Salt length to generate or salt to use\n * @param callback Callback receiving the error, if any, and the resulting hash\n * @param progressCallback Callback successively called with the percentage of rounds completed (0.0 - 1.0), maximally once per MAX_EXECUTION_TIME = 100 ms.\n */\nexport declare function hash(\n password: string,\n salt: number | string,\n callback?: Callback<string>,\n progressCallback?: ProgressCallback,\n): void;\n\n/**\n * Synchronously tests a password against a hash.\n * @param password Password to test\n * @param hash Hash to test against\n * @return true if matching, otherwise false\n */\nexport declare function compareSync(password: string, hash: string): boolean;\n\n/**\n * Asynchronously tests a password against a hash.\n * @param password Password to test\n * @param hash Hash to test against\n * @return Promise, if callback has been omitted\n */\nexport declare function compare(\n password: string,\n hash: string,\n): Promise<boolean>;\n\n/**\n * Asynchronously tests a password against a hash.\n * @param password Password to test\n * @param hash Hash to test against\n * @param callback Callback receiving the error, if any, otherwise the result\n * @param progressCallback Callback successively called with the percentage of rounds completed (0.0 - 1.0), maximally once per MAX_EXECUTION_TIME = 100 ms.\n */\nexport declare function compare(\n password: string,\n hash: string,\n callback?: Callback<boolean>,\n progressCallback?: ProgressCallback,\n): void;\n\n/**\n * Gets the number of rounds used to encrypt the specified hash.\n * @param hash Hash to extract the used number of rounds from\n * @return Number of rounds used\n */\nexport declare function getRounds(hash: string): number;\n\n/**\n * Gets the salt portion from a hash. Does not validate the hash.\n * @param hash Hash to extract the salt from\n * @return Extracted salt part\n */\nexport declare function getSalt(hash: string): string;\n\n/**\n * Tests if a password will be truncated when hashed, that is its length is\n * greater than 72 bytes when converted to UTF-8.\n * @param password The password to test\n * @returns `true` if truncated, otherwise `false`\n */\nexport declare function truncates(password: string): boolean;\n\n/**\n * Encodes a byte array to base64 with up to len bytes of input, using the custom bcrypt alphabet.\n * @function\n * @param b Byte array\n * @param len Maximum input length\n */\nexport declare function encodeBase64(\n b: Readonly<ArrayLike<number>>,\n len: number,\n): string;\n\n/**\n * Decodes a base64 encoded string to up to len bytes of output, using the custom bcrypt alphabet.\n * @function\n * @param s String to decode\n * @param len Maximum output length\n */\nexport declare function decodeBase64(s: string, len: number): number[];\n",
12995
13005
  "node_modules/bcryptjs/umd/index.d.ts": "import * as bcrypt from \"./types.js\";\nexport = bcrypt;\nexport as namespace bcrypt;\n",
12996
13006
  "node_modules/bcryptjs/umd/types.d.ts": "// Originally imported from https://github.com/DefinitelyTyped/DefinitelyTyped/blob/8b36dbdf95b624b8a7cd7f8416f06c15d274f9e6/types/bcryptjs/index.d.ts\n// MIT license.\n\n/** Called with an error on failure or a value of type `T` upon success. */\ntype Callback<T> = (err: Error | null, result?: T) => void;\n/** Called with the percentage of rounds completed (0.0 - 1.0), maximally once per `MAX_EXECUTION_TIME = 100` ms. */\ntype ProgressCallback = (percentage: number) => void;\n/** Called to obtain random bytes when both Web Crypto API and Node.js crypto are not available. */\ntype RandomFallback = (length: number) => number[];\n\n/**\n * Sets the pseudo random number generator to use as a fallback if neither node's crypto module nor the Web Crypto API is available.\n * Please note: It is highly important that the PRNG used is cryptographically secure and that it is seeded properly!\n * @param random Function taking the number of bytes to generate as its sole argument, returning the corresponding array of cryptographically secure random byte values.\n */\nexport declare function setRandomFallback(random: RandomFallback): void;\n\n/**\n * Synchronously generates a salt.\n * @param rounds Number of rounds to use, defaults to 10 if omitted\n * @return Resulting salt\n * @throws If a random fallback is required but not set\n */\nexport declare function genSaltSync(rounds?: number): string;\n\n/**\n * Asynchronously generates a salt.\n * @param rounds Number of rounds to use, defaults to 10 if omitted\n * @return Promise with resulting salt, if callback has been omitted\n */\nexport declare function genSalt(rounds?: number): Promise<string>;\n\n/**\n * Asynchronously generates a salt.\n * @param callback Callback receiving the error, if any, and the resulting salt\n */\nexport declare function genSalt(callback: Callback<string>): void;\n\n/**\n * Asynchronously generates a salt.\n * @param rounds Number of rounds to use, defaults to 10 if omitted\n * @param callback Callback receiving the error, if any, and the resulting salt\n */\nexport declare function genSalt(\n rounds: number,\n callback: Callback<string>,\n): void;\n\n/**\n * Synchronously generates a hash for the given password.\n * @param password Password to hash\n * @param salt Salt length to generate or salt to use, default to 10\n * @return Resulting hash\n */\nexport declare function hashSync(\n password: string,\n salt?: number | string,\n): string;\n\n/**\n * Asynchronously generates a hash for the given password.\n * @param password Password to hash\n * @param salt Salt length to generate or salt to use\n * @return Promise with resulting hash, if callback has been omitted\n */\nexport declare function hash(\n password: string,\n salt: number | string,\n): Promise<string>;\n\n/**\n * Asynchronously generates a hash for the given password.\n * @param password Password to hash\n * @param salt Salt length to generate or salt to use\n * @param callback Callback receiving the error, if any, and the resulting hash\n * @param progressCallback Callback successively called with the percentage of rounds completed (0.0 - 1.0), maximally once per MAX_EXECUTION_TIME = 100 ms.\n */\nexport declare function hash(\n password: string,\n salt: number | string,\n callback?: Callback<string>,\n progressCallback?: ProgressCallback,\n): void;\n\n/**\n * Synchronously tests a password against a hash.\n * @param password Password to test\n * @param hash Hash to test against\n * @return true if matching, otherwise false\n */\nexport declare function compareSync(password: string, hash: string): boolean;\n\n/**\n * Asynchronously tests a password against a hash.\n * @param password Password to test\n * @param hash Hash to test against\n * @return Promise, if callback has been omitted\n */\nexport declare function compare(\n password: string,\n hash: string,\n): Promise<boolean>;\n\n/**\n * Asynchronously tests a password against a hash.\n * @param password Password to test\n * @param hash Hash to test against\n * @param callback Callback receiving the error, if any, otherwise the result\n * @param progressCallback Callback successively called with the percentage of rounds completed (0.0 - 1.0), maximally once per MAX_EXECUTION_TIME = 100 ms.\n */\nexport declare function compare(\n password: string,\n hash: string,\n callback?: Callback<boolean>,\n progressCallback?: ProgressCallback,\n): void;\n\n/**\n * Gets the number of rounds used to encrypt the specified hash.\n * @param hash Hash to extract the used number of rounds from\n * @return Number of rounds used\n */\nexport declare function getRounds(hash: string): number;\n\n/**\n * Gets the salt portion from a hash. Does not validate the hash.\n * @param hash Hash to extract the salt from\n * @return Extracted salt part\n */\nexport declare function getSalt(hash: string): string;\n\n/**\n * Tests if a password will be truncated when hashed, that is its length is\n * greater than 72 bytes when converted to UTF-8.\n * @param password The password to test\n * @returns `true` if truncated, otherwise `false`\n */\nexport declare function truncates(password: string): boolean;\n\n/**\n * Encodes a byte array to base64 with up to len bytes of input, using the custom bcrypt alphabet.\n * @function\n * @param b Byte array\n * @param len Maximum input length\n */\nexport declare function encodeBase64(\n b: Readonly<ArrayLike<number>>,\n len: number,\n): string;\n\n/**\n * Decodes a base64 encoded string to up to len bytes of output, using the custom bcrypt alphabet.\n * @function\n * @param s String to decode\n * @param len Maximum output length\n */\nexport declare function decodeBase64(s: string, len: number): number[];\n",
13007
+ "node_modules/better-sqlite3/package.json": "{\n \"name\": \"better-sqlite3\",\n \"version\": \"11.10.0\",\n \"description\": \"The fastest and simplest library for SQLite in Node.js.\",\n \"homepage\": \"http://github.com/WiseLibs/better-sqlite3\",\n \"author\": \"Joshua Wise <joshuathomaswise@gmail.com>\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git://github.com/WiseLibs/better-sqlite3.git\"\n },\n \"main\": \"lib/index.js\",\n \"files\": [\n \"binding.gyp\",\n \"src/*.[ch]pp\",\n \"lib/**\",\n \"deps/**\"\n ],\n \"dependencies\": {\n \"bindings\": \"^1.5.0\",\n \"prebuild-install\": \"^7.1.1\"\n },\n \"devDependencies\": {\n \"chai\": \"^4.3.8\",\n \"cli-color\": \"^2.0.3\",\n \"fs-extra\": \"^11.1.1\",\n \"mocha\": \"^10.2.0\",\n \"nodemark\": \"^0.3.0\",\n \"prebuild\": \"^13.0.1\",\n \"sqlite\": \"^5.0.1\",\n \"sqlite3\": \"^5.1.6\"\n },\n \"scripts\": {\n \"install\": \"prebuild-install || node-gyp rebuild --release\",\n \"build-release\": \"node-gyp rebuild --release\",\n \"build-debug\": \"node-gyp rebuild --debug\",\n \"rebuild-release\": \"npm run lzz && npm run build-release\",\n \"rebuild-debug\": \"npm run lzz && npm run build-debug\",\n \"test\": \"mocha --exit --slow=75 --timeout=5000\",\n \"benchmark\": \"node benchmark\",\n \"download\": \"bash ./deps/download.sh\",\n \"lzz\": \"lzz -hx hpp -sx cpp -k BETTER_SQLITE3 -d -hl -sl -e ./src/better_sqlite3.lzz\"\n },\n \"license\": \"MIT\",\n \"keywords\": [\n \"sql\",\n \"sqlite\",\n \"sqlite3\",\n \"transactions\",\n \"user-defined functions\",\n \"aggregate functions\",\n \"window functions\",\n \"database\"\n ]\n}\n",
12997
13008
  "node_modules/binary-searching/package.json": "{\n \"name\": \"binary-searching\",\n \"version\": \"2.0.5\",\n \"description\": \"Better binary searching\",\n \"main\": \"search-bounds.js\",\n \"typings\": \"search-bounds.d.ts\",\n \"directories\": {\n \"test\": \"test\"\n },\n \"dependencies\": {},\n \"devDependencies\": {\n \"guarded-array\": \"^1.0.0\",\n \"tape\": \"^4.0.0\"\n },\n \"scripts\": {\n \"test\": \"tape test/*.js\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git://github.com/hosseinmd/binary-search-bounds.git\"\n },\n \"keywords\": [\n \"binary\",\n \"search\",\n \"bounds\",\n \"least\",\n \"lower\",\n \"greatest\",\n \"upper\"\n ],\n \"author\": \"Mikola Lysenko\",\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/hosseinmd/binary-search-bounds/issues\"\n }\n}\n",
12998
13009
  "node_modules/binary-searching/search-bounds.d.ts": "declare module \"binary-searching\" {\n /**\n * Custom comparison function\n *\n * @param {*} a\n * @param {*} b\n * @returns {number} A number\n *\n * - negative if `a` precedes `b`\n * - positive if `b` precedes `a`\n * - 0 if there if `a` may be both before or after `b`\n *\n * A consistent ordering function must be anticommutative,\n * in the sense that `c(a,b) < 0` if and only if `c(b,a) > 0`.\n *\n */\n interface CompareFunc<T> {\n (a: T, b: T): number;\n }\n\n interface BSearch {\n /**\n * @param {Array<*>} array\n * @param {*} y\n * @param {[function]} compare\n * @param {number} [lo= 0] Lower bound of the search interval\n * @param {number} [hi= array.length-1] upper bound for the search interval\n * @returns {number} the last index `lo <= i <= hi`, such that the array such that\n * `array[i]` precedes `y`, or `lo - 1` if no such element exists in the specified\n * slice.\n */\n gt<T>(\n array: T[],\n y: T,\n compare?: CompareFunc<T>,\n lo?: number,\n hi?: number\n ): number;\n\n /**\n * @param {Array<*>} array\n * @param {*} y\n * @param {[function]} compare\n * @param {number} [lo= 0] Lower bound of the search interval\n * @param {number} [hi= array.length-1] upper bound for the search interval\n * @returns {number} the first index `lo <= i <= hi`, such that\n * `y` does not precede `array[i]`, or `hi + 1` if no such element exists in the\n * specified slice.\n */\n ge<T>(\n array: T[],\n y: T,\n compare?: CompareFunc<T>,\n lo?: number,\n hi?: number\n ): number;\n\n /**\n * @param {Array<*>} array\n * @param {*} y\n * @param {[function]} compare\n * @param {number} [lo= 0] Lower bound of the search interval\n * @param {number} [hi= array.length-1] upper bound for the search interval\n * @returns {number} the last index `lo <= i <= hi`, such that\n * `array[i]` precedes `y`, or `lo - 1` if no such element exists in the\n * specified slice.\n */\n lt<T>(\n array: T[],\n y: T,\n compare?: CompareFunc<T>,\n lo?: number,\n hi?: number\n ): number;\n /**\n * @param {Array<*>} array\n * @param {*} y\n * @param {[function]} compare\n * @param {number} [lo= 0] Lower bound of the search interval\n * @param {number} [hi= array.length-1] upper bound for the search interval\n * @returns {number} the last index `lo <= i <= hi`, such that\n * `y` does not precede `array[i]`, or `lo - 1` if no such element exists in the\n * specified slice.\n */\n le<T>(\n array: T[],\n y: T,\n compare?: CompareFunc<T>,\n lo?: number,\n hi?: number\n ): number;\n /**\n * @param {Array<*>} array\n * @param {*} y\n * @param {[function]} compare\n * @param {number} [lo= 0] Lower bound of the search interval\n * @param {number} [hi= array.length-1] upper bound for the search interval\n * @returns {number} the last index `lo <= i <= hi`, such that\n * `y` does not precede `array[i]`, and `array[i]` does not precede `y`,\n * or `-1` if no such element exists in the specified slice.\n */\n eq<T>(\n array: T[],\n y: T,\n compare?: CompareFunc<T>,\n lo?: number,\n hi?: number\n ): number;\n }\n const bsearch: BSearch;\n export = bsearch;\n}\n",
13010
+ "node_modules/bindings/package.json": "{\n \"name\": \"bindings\",\n \"description\": \"Helper module for loading your native module's .node file\",\n \"keywords\": [\n \"native\",\n \"addon\",\n \"bindings\",\n \"gyp\",\n \"waf\",\n \"c\",\n \"c++\"\n ],\n \"version\": \"1.5.0\",\n \"author\": \"Nathan Rajlich <nathan@tootallnate.net> (http://tootallnate.net)\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git://github.com/TooTallNate/node-bindings.git\"\n },\n \"main\": \"./bindings.js\",\n \"bugs\": {\n \"url\": \"https://github.com/TooTallNate/node-bindings/issues\"\n },\n \"homepage\": \"https://github.com/TooTallNate/node-bindings\",\n \"license\": \"MIT\",\n \"dependencies\": {\n \"file-uri-to-path\": \"1.0.0\"\n }\n}\n",
12999
13011
  "node_modules/bl/package.json": "{\n \"name\": \"bl\",\n \"version\": \"4.1.0\",\n \"description\": \"Buffer List: collect buffers and access with a standard readable Buffer interface, streamable too!\",\n \"license\": \"MIT\",\n \"main\": \"bl.js\",\n \"scripts\": {\n \"lint\": \"standard *.js test/*.js\",\n \"test\": \"npm run lint && node test/test.js | faucet\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/rvagg/bl.git\"\n },\n \"homepage\": \"https://github.com/rvagg/bl\",\n \"authors\": [\n \"Rod Vagg <rod@vagg.org> (https://github.com/rvagg)\",\n \"Matteo Collina <matteo.collina@gmail.com> (https://github.com/mcollina)\",\n \"Jarett Cruger <jcrugzz@gmail.com> (https://github.com/jcrugzz)\"\n ],\n \"keywords\": [\n \"buffer\",\n \"buffers\",\n \"stream\",\n \"awesomesauce\"\n ],\n \"dependencies\": {\n \"buffer\": \"^5.5.0\",\n \"inherits\": \"^2.0.4\",\n \"readable-stream\": \"^3.4.0\"\n },\n \"devDependencies\": {\n \"faucet\": \"~0.0.1\",\n \"standard\": \"^14.3.0\",\n \"tape\": \"^4.11.0\"\n }\n}\n",
13000
13012
  "node_modules/iconv-lite/lib/index.d.ts": "/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License.\n * REQUIREMENT: This definition is dependent on the @types/node definition.\n * Install with `npm install @types/node --save-dev`\n *--------------------------------------------------------------------------------------------*/\n\ndeclare module 'iconv-lite' {\n\texport function decode(buffer: Buffer, encoding: string, options?: Options): string;\n\n\texport function encode(content: string, encoding: string, options?: Options): Buffer;\n\n\texport function encodingExists(encoding: string): boolean;\n\n\texport function decodeStream(encoding: string, options?: Options): NodeJS.ReadWriteStream;\n\n\texport function encodeStream(encoding: string, options?: Options): NodeJS.ReadWriteStream;\n}\n\nexport interface Options {\n stripBOM?: boolean;\n addBOM?: boolean;\n defaultEncoding?: string;\n}\n",
13001
13013
  "node_modules/iconv-lite/package.json": "{\n \"name\": \"iconv-lite\",\n \"description\": \"Convert character encodings in pure javascript.\",\n \"version\": \"0.4.24\",\n \"license\": \"MIT\",\n \"keywords\": [\n \"iconv\",\n \"convert\",\n \"charset\",\n \"icu\"\n ],\n \"author\": \"Alexander Shtuchkin <ashtuchkin@gmail.com>\",\n \"main\": \"./lib/index.js\",\n \"typings\": \"./lib/index.d.ts\",\n \"homepage\": \"https://github.com/ashtuchkin/iconv-lite\",\n \"bugs\": \"https://github.com/ashtuchkin/iconv-lite/issues\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git://github.com/ashtuchkin/iconv-lite.git\"\n },\n \"engines\": {\n \"node\": \">=0.10.0\"\n },\n \"scripts\": {\n \"coverage\": \"istanbul cover _mocha -- --grep .\",\n \"coverage-open\": \"open coverage/lcov-report/index.html\",\n \"test\": \"mocha --reporter spec --grep .\"\n },\n \"browser\": {\n \"./lib/extend-node\": false,\n \"./lib/streams\": false\n },\n \"devDependencies\": {\n \"mocha\": \"^3.1.0\",\n \"request\": \"~2.87.0\",\n \"unorm\": \"*\",\n \"errto\": \"*\",\n \"async\": \"*\",\n \"istanbul\": \"*\",\n \"semver\": \"*\",\n \"iconv\": \"*\"\n },\n \"dependencies\": {\n \"safer-buffer\": \">= 2.1.2 < 3\"\n }\n}\n",
@@ -13028,6 +13040,7 @@
13028
13040
  "node_modules/character-entities/index.d.ts": "/**\n * Map of named character references.\n *\n * @type {Record<string, string>}\n */\nexport const characterEntities: Record<string, string>\n",
13029
13041
  "node_modules/character-entities/package.json": "{\n \"name\": \"character-entities\",\n \"version\": \"2.0.2\",\n \"description\": \"Map of named character references\",\n \"license\": \"MIT\",\n \"keywords\": [\n \"html\",\n \"entity\",\n \"entities\",\n \"character\",\n \"reference\",\n \"name\",\n \"replacement\"\n ],\n \"repository\": \"wooorm/character-entities\",\n \"bugs\": \"https://github.com/wooorm/character-entities/issues\",\n \"funding\": {\n \"type\": \"github\",\n \"url\": \"https://github.com/sponsors/wooorm\"\n },\n \"author\": \"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)\",\n \"contributors\": [\n \"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)\"\n ],\n \"sideEffects\": false,\n \"type\": \"module\",\n \"main\": \"index.js\",\n \"types\": \"index.d.ts\",\n \"files\": [\n \"index.d.ts\",\n \"index.js\"\n ],\n \"devDependencies\": {\n \"@types/tape\": \"^4.0.0\",\n \"bail\": \"^2.0.0\",\n \"c8\": \"^7.0.0\",\n \"concat-stream\": \"^2.0.0\",\n \"prettier\": \"^2.0.0\",\n \"remark-cli\": \"^10.0.0\",\n \"remark-preset-wooorm\": \"^9.0.0\",\n \"rimraf\": \"^3.0.0\",\n \"tape\": \"^5.0.0\",\n \"type-coverage\": \"^2.0.0\",\n \"typescript\": \"^4.0.0\",\n \"xo\": \"^0.50.0\"\n },\n \"scripts\": {\n \"generate\": \"node build\",\n \"prepublishOnly\": \"npm run build && npm run format\",\n \"build\": \"rimraf \\\"*.d.ts\\\" && tsc && type-coverage\",\n \"format\": \"remark . -qfo && prettier . -w --loglevel warn && xo --fix\",\n \"test-api\": \"node --conditions development test.js\",\n \"test-coverage\": \"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api\",\n \"test\": \"npm run generate && npm run build && npm run format && npm run test-coverage\"\n },\n \"prettier\": {\n \"tabWidth\": 2,\n \"useTabs\": false,\n \"singleQuote\": true,\n \"bracketSpacing\": false,\n \"semi\": false,\n \"trailingComma\": \"none\"\n },\n \"xo\": {\n \"prettier\": true\n },\n \"remarkConfig\": {\n \"plugins\": [\n \"preset-wooorm\"\n ]\n },\n \"typeCoverage\": {\n \"atLeast\": 100,\n \"detail\": true,\n \"strict\": true,\n \"ignoreCatch\": true\n }\n}\n",
13030
13042
  "node_modules/chardet/package.json": "{\n \"name\": \"chardet\",\n \"version\": \"0.7.0\",\n \"homepage\": \"https://github.com/runk/node-chardet\",\n \"description\": \"Character detector\",\n \"keywords\": [\n \"encoding\",\n \"character\",\n \"utf8\",\n \"detector\",\n \"chardet\",\n \"icu\"\n ],\n \"author\": \"Dmitry Shirokov <deadrunk@gmail.com>\",\n \"contributors\": [\n \"@spikying\",\n \"@wtgtybhertgeghgtwtg\",\n \"@suisho\",\n \"@seangarner\",\n \"@zevanty\"\n ],\n \"devDependencies\": {\n \"github-publish-release\": \"^5.0.0\",\n \"mocha\": \"^5.2.0\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git@github.com:runk/node-chardet.git\"\n },\n \"bugs\": {\n \"mail\": \"deadrunk@gmail.com\",\n \"url\": \"http://github.com/runk/node-chardet/issues\"\n },\n \"scripts\": {\n \"test\": \"mocha -R spec --recursive --bail\",\n \"release\": \"scripts/release\"\n },\n \"main\": \"index.js\",\n \"engine\": {\n \"node\": \">=4\"\n },\n \"readmeFilename\": \"README.md\",\n \"directories\": {\n \"test\": \"test\"\n },\n \"license\": \"MIT\"\n}\n",
13043
+ "node_modules/chownr/package.json": "{\n \"author\": \"Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)\",\n \"name\": \"chownr\",\n \"description\": \"like `chown -R`\",\n \"version\": \"1.1.4\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git://github.com/isaacs/chownr.git\"\n },\n \"main\": \"chownr.js\",\n \"files\": [\n \"chownr.js\"\n ],\n \"devDependencies\": {\n \"mkdirp\": \"0.3\",\n \"rimraf\": \"^2.7.1\",\n \"tap\": \"^14.10.6\"\n },\n \"tap\": {\n \"check-coverage\": true\n },\n \"scripts\": {\n \"test\": \"tap\",\n \"preversion\": \"npm test\",\n \"postversion\": \"npm publish\",\n \"prepublishOnly\": \"git push origin --follow-tags\"\n },\n \"license\": \"ISC\"\n}\n",
13031
13044
  "node_modules/cli/package.json": "{ \"name\" : \"cli\",\n \"description\" : \"A tool for rapidly building command line apps\",\n \"version\" : \"1.0.1\",\n \"homepage\" : \"http://github.com/node-js-libs/cli\",\n \"keywords\" : [\"cli\",\"command line\",\"opts\",\"parseopt\",\"opt\",\"args\",\"console\",\"argsparse\",\"optparse\",\"autocomplete\",\"command\",\"autocompletion\"],\n \"author\" : \"Chris O'Hara <cohara87@gmail.com>\",\n \"main\" : \"cli.js\",\n \"bugs\": {\n \"mail\": \"cohara87@gmail.com\",\n \"url\": \"http://github.com/node-js-libs/cli/issues\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"http://github.com/node-js-libs/cli.git\"\n },\n \"dependencies\": {\n \"glob\": \"^7.1.1\",\n \"exit\": \"0.1.2\"\n },\n \"contributors\": [\n { \"name\": \"Douglas Meyer\", \"github\": \"https://github.com/DouglasMeyer\" }\n ],\n \"engines\": { \"node\": \">=0.2.5\" },\n \"license\": \"MIT\"\n}\n",
13032
13045
  "node_modules/cli-cursor/index.d.ts": "/// <reference types=\"node\"/>\n\n/**\nShow cursor.\n\n@param stream - Default: `process.stderr`.\n\n@example\n```\nimport * as cliCursor from 'cli-cursor';\n\ncliCursor.show();\n```\n*/\nexport function show(stream?: NodeJS.WritableStream): void;\n\n/**\nHide cursor.\n\n@param stream - Default: `process.stderr`.\n\n@example\n```\nimport * as cliCursor from 'cli-cursor';\n\ncliCursor.hide();\n```\n*/\nexport function hide(stream?: NodeJS.WritableStream): void;\n\n/**\nToggle cursor visibility.\n\n@param force - Is useful to show or hide the cursor based on a boolean.\n@param stream - Default: `process.stderr`.\n\n@example\n```\nimport * as cliCursor from 'cli-cursor';\n\nconst unicornsAreAwesome = true;\ncliCursor.toggle(unicornsAreAwesome);\n```\n*/\nexport function toggle(force?: boolean, stream?: NodeJS.WritableStream): void;\n",
13033
13046
  "node_modules/cli-cursor/package.json": "{\n\t\"name\": \"cli-cursor\",\n\t\"version\": \"3.1.0\",\n\t\"description\": \"Toggle the CLI cursor\",\n\t\"license\": \"MIT\",\n\t\"repository\": \"sindresorhus/cli-cursor\",\n\t\"author\": {\n\t\t\"name\": \"Sindre Sorhus\",\n\t\t\"email\": \"sindresorhus@gmail.com\",\n\t\t\"url\": \"sindresorhus.com\"\n\t},\n\t\"engines\": {\n\t\t\"node\": \">=8\"\n\t},\n\t\"scripts\": {\n\t\t\"test\": \"xo && ava && tsd\"\n\t},\n\t\"files\": [\n\t\t\"index.js\",\n\t\t\"index.d.ts\"\n\t],\n\t\"keywords\": [\n\t\t\"cli\",\n\t\t\"cursor\",\n\t\t\"ansi\",\n\t\t\"toggle\",\n\t\t\"display\",\n\t\t\"show\",\n\t\t\"hide\",\n\t\t\"term\",\n\t\t\"terminal\",\n\t\t\"console\",\n\t\t\"tty\",\n\t\t\"shell\",\n\t\t\"command-line\"\n\t],\n\t\"dependencies\": {\n\t\t\"restore-cursor\": \"^3.1.0\"\n\t},\n\t\"devDependencies\": {\n\t\t\"@types/node\": \"^12.0.7\",\n\t\t\"ava\": \"^2.1.0\",\n\t\t\"tsd\": \"^0.7.2\",\n\t\t\"xo\": \"^0.24.0\"\n\t}\n}\n",
@@ -13135,11 +13148,16 @@
13135
13148
  "node_modules/decode-named-character-reference/index.d.ts": "/**\n * Decode a single character reference (without the `&` or `;`).\n * You probably only need this when you’re building parsers yourself that follow\n * different rules compared to HTML.\n * This is optimized to be tiny in browsers.\n *\n * @param {string} value\n * `notin` (named), `#123` (deci), `#x123` (hexa).\n * @returns {string|false}\n * Decoded reference.\n */\nexport function decodeNamedCharacterReference(value: string): string | false;\n//# sourceMappingURL=index.d.ts.map",
13136
13149
  "node_modules/decode-named-character-reference/index.dom.d.ts": "/**\n * @param {string} value\n * @returns {string | false}\n */\nexport function decodeNamedCharacterReference(value: string): string | false;\n//# sourceMappingURL=index.dom.d.ts.map",
13137
13150
  "node_modules/decode-named-character-reference/package.json": "{\n \"author\": \"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)\",\n \"bugs\": \"https://github.com/wooorm/decode-named-character-reference/issues\",\n \"contributors\": [\n \"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)\"\n ],\n \"dependencies\": {\n \"character-entities\": \"^2.0.0\"\n },\n \"description\": \"Decode named character references\",\n \"devDependencies\": {\n \"@types/node\": \"^24.0.0\",\n \"c8\": \"^10.0.0\",\n \"prettier\": \"^3.0.0\",\n \"remark-cli\": \"^12.0.0\",\n \"remark-preset-wooorm\": \"^11.0.0\",\n \"type-coverage\": \"^2.0.0\",\n \"typescript\": \"^5.0.0\",\n \"xo\": \"^1.0.0\"\n },\n \"exports\": {\n \"deno\": \"./index.js\",\n \"edge-light\": \"./index.js\",\n \"react-native\": \"./index.js\",\n \"worker\": \"./index.js\",\n \"workerd\": \"./index.js\",\n \"browser\": \"./index.dom.js\",\n \"default\": \"./index.js\"\n },\n \"files\": [\n \"index.d.ts.map\",\n \"index.d.ts\",\n \"index.dom.d.ts.map\",\n \"index.dom.d.ts\",\n \"index.dom.js\",\n \"index.js\"\n ],\n \"funding\": {\n \"type\": \"github\",\n \"url\": \"https://github.com/sponsors/wooorm\"\n },\n \"keywords\": [\n \"character\",\n \"decode\",\n \"named\",\n \"references\"\n ],\n \"license\": \"MIT\",\n \"main#\": \"to do: next major: remove field\",\n \"main\": \"index.js\",\n \"name\": \"decode-named-character-reference\",\n \"prettier\": {\n \"bracketSpacing\": false,\n \"semi\": false,\n \"singleQuote\": true,\n \"tabWidth\": 2,\n \"trailingComma\": \"none\",\n \"useTabs\": false\n },\n \"remarkConfig\": {\n \"plugins\": [\n \"remark-preset-wooorm\"\n ]\n },\n \"repository\": \"wooorm/decode-named-character-reference\",\n \"scripts\": {\n \"build\": \"tsc --build --clean && tsc --build && type-coverage\",\n \"format\": \"remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix\",\n \"test-api\": \"node --conditions development test.js\",\n \"test-coverage\": \"c8 --100 --reporter lcov -- npm run test-api\",\n \"test\": \"npm run build && npm run format && npm run test-coverage\"\n },\n \"sideEffects\": false,\n \"typeCoverage\": {\n \"atLeast\": 100,\n \"ignoreCatch\": true\n },\n \"types#\": \"to do: next major: remove field\",\n \"types\": \"index.d.ts\",\n \"type\": \"module\",\n \"version\": \"1.2.0\",\n \"xo\": {\n \"prettier\": true,\n \"rules\": {\n \"unicorn/prefer-code-point\": \"off\"\n },\n \"space\": true\n }\n}\n",
13151
+ "node_modules/decompress-response/index.d.ts": "/// <reference types=\"node\"/>\nimport {IncomingMessage} from 'http';\n\n/**\nDecompress a HTTP response if needed.\n\n@param response - The HTTP incoming stream with compressed data.\n@returns The decompressed HTTP response stream.\n\n@example\n```\nimport {http} from 'http';\nimport decompressResponse = require('decompress-response');\n\nhttp.get('https://sindresorhus.com', response => {\n\tresponse = decompressResponse(response);\n});\n```\n*/\ndeclare function decompressResponse(response: IncomingMessage): IncomingMessage;\n\nexport = decompressResponse;\n",
13152
+ "node_modules/decompress-response/package.json": "{\n\t\"name\": \"decompress-response\",\n\t\"version\": \"6.0.0\",\n\t\"description\": \"Decompress a HTTP response if needed\",\n\t\"license\": \"MIT\",\n\t\"repository\": \"sindresorhus/decompress-response\",\n\t\"funding\": \"https://github.com/sponsors/sindresorhus\",\n\t\"author\": {\n\t\t\"name\": \"Sindre Sorhus\",\n\t\t\"email\": \"sindresorhus@gmail.com\",\n\t\t\"url\": \"https://sindresorhus.com\"\n\t},\n\t\"engines\": {\n\t\t\"node\": \">=10\"\n\t},\n\t\"scripts\": {\n\t\t\"test\": \"xo && ava && tsd\"\n\t},\n\t\"files\": [\n\t\t\"index.js\",\n\t\t\"index.d.ts\"\n\t],\n\t\"keywords\": [\n\t\t\"decompress\",\n\t\t\"response\",\n\t\t\"http\",\n\t\t\"https\",\n\t\t\"zlib\",\n\t\t\"gzip\",\n\t\t\"zip\",\n\t\t\"deflate\",\n\t\t\"unzip\",\n\t\t\"ungzip\",\n\t\t\"incoming\",\n\t\t\"message\",\n\t\t\"stream\",\n\t\t\"compressed\",\n\t\t\"brotli\"\n\t],\n\t\"dependencies\": {\n\t\t\"mimic-response\": \"^3.1.0\"\n\t},\n\t\"devDependencies\": {\n\t\t\"@types/node\": \"^14.0.1\",\n\t\t\"ava\": \"^2.2.0\",\n\t\t\"get-stream\": \"^5.0.0\",\n\t\t\"pify\": \"^5.0.0\",\n\t\t\"tsd\": \"^0.11.0\",\n\t\t\"xo\": \"^0.30.0\"\n\t},\n\t\"xo\": {\n\t\t\"rules\": {\n\t\t\t\"@typescript-eslint/prefer-readonly-parameter-types\": \"off\"\n\t\t}\n\t}\n}\n",
13153
+ "node_modules/deep-extend/package.json": "{\n \"name\": \"deep-extend\",\n \"description\": \"Recursive object extending\",\n \"license\": \"MIT\",\n \"version\": \"0.6.0\",\n \"homepage\": \"https://github.com/unclechu/node-deep-extend\",\n \"keywords\": [\n \"deep-extend\",\n \"extend\",\n \"deep\",\n \"recursive\",\n \"xtend\",\n \"clone\",\n \"merge\",\n \"json\"\n ],\n \"licenses\": [\n {\n \"type\": \"MIT\",\n \"url\": \"https://raw.githubusercontent.com/unclechu/node-deep-extend/master/LICENSE\"\n }\n ],\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git://github.com/unclechu/node-deep-extend.git\"\n },\n \"author\": \"Viacheslav Lotsmanov <lotsmanov89@gmail.com>\",\n \"bugs\": \"https://github.com/unclechu/node-deep-extend/issues\",\n \"contributors\": [\n {\n \"name\": \"Romain Prieto\",\n \"url\": \"https://github.com/rprieto\"\n },\n {\n \"name\": \"Max Maximov\",\n \"url\": \"https://github.com/maxmaximov\"\n },\n {\n \"name\": \"Marshall Bowers\",\n \"url\": \"https://github.com/maxdeviant\"\n },\n {\n \"name\": \"Misha Wakerman\",\n \"url\": \"https://github.com/mwakerman\"\n }\n ],\n \"main\": \"lib/deep-extend.js\",\n \"engines\": {\n \"node\": \">=4.0.0\"\n },\n \"scripts\": {\n \"test\": \"./node_modules/.bin/mocha\"\n },\n \"devDependencies\": {\n \"mocha\": \"5.2.0\",\n \"should\": \"13.2.1\"\n },\n \"files\": [\n \"index.js\",\n \"lib/\"\n ]\n}\n",
13138
13154
  "node_modules/defaults/package.json": "{\n\t\"name\": \"defaults\",\n\t\"version\": \"1.0.4\",\n\t\"description\": \"merge single level defaults over a config object\",\n\t\"main\": \"index.js\",\n\t\"funding\": \"https://github.com/sponsors/sindresorhus\",\n\t\"scripts\": {\n\t\t\"test\": \"node test.js\"\n\t},\n\t\"repository\": {\n\t\t\"type\": \"git\",\n\t\t\"url\": \"git://github.com/sindresorhus/node-defaults.git\"\n\t},\n\t\"keywords\": [\n\t\t\"config\",\n\t\t\"defaults\",\n\t\t\"options\",\n\t\t\"object\",\n\t\t\"merge\",\n\t\t\"assign\",\n\t\t\"properties\",\n\t\t\"deep\"\n\t],\n\t\"author\": \"Elijah Insua <tmpvar@gmail.com>\",\n\t\"license\": \"MIT\",\n\t\"readmeFilename\": \"README.md\",\n\t\"dependencies\": {\n\t\t\"clone\": \"^1.0.2\"\n\t},\n\t\"devDependencies\": {\n\t\t\"tap\": \"^2.0.0\"\n\t}\n}\n",
13139
13155
  "node_modules/depd/package.json": "{\n \"name\": \"depd\",\n \"description\": \"Deprecate all the things\",\n \"version\": \"2.0.0\",\n \"author\": \"Douglas Christopher Wilson <doug@somethingdoug.com>\",\n \"license\": \"MIT\",\n \"keywords\": [\n \"deprecate\",\n \"deprecated\"\n ],\n \"repository\": \"dougwilson/nodejs-depd\",\n \"browser\": \"lib/browser/index.js\",\n \"devDependencies\": {\n \"benchmark\": \"2.1.4\",\n \"beautify-benchmark\": \"0.2.4\",\n \"eslint\": \"5.7.0\",\n \"eslint-config-standard\": \"12.0.0\",\n \"eslint-plugin-import\": \"2.14.0\",\n \"eslint-plugin-markdown\": \"1.0.0-beta.7\",\n \"eslint-plugin-node\": \"7.0.1\",\n \"eslint-plugin-promise\": \"4.0.1\",\n \"eslint-plugin-standard\": \"4.0.0\",\n \"istanbul\": \"0.4.5\",\n \"mocha\": \"5.2.0\",\n \"safe-buffer\": \"5.1.2\",\n \"uid-safe\": \"2.1.5\"\n },\n \"files\": [\n \"lib/\",\n \"History.md\",\n \"LICENSE\",\n \"index.js\",\n \"Readme.md\"\n ],\n \"engines\": {\n \"node\": \">= 0.8\"\n },\n \"scripts\": {\n \"bench\": \"node benchmark/index.js\",\n \"lint\": \"eslint --plugin markdown --ext js,md .\",\n \"test\": \"mocha --reporter spec --bail test/\",\n \"test-ci\": \"istanbul cover --print=none node_modules/mocha/bin/_mocha -- --reporter spec test/ && istanbul report lcovonly text-summary\",\n \"test-cov\": \"istanbul cover --print=none node_modules/mocha/bin/_mocha -- --reporter dot test/ && istanbul report lcov text-summary\"\n }\n}\n",
13140
13156
  "node_modules/dequal/index.d.ts": "export function dequal(foo: any, bar: any): boolean;",
13141
13157
  "node_modules/dequal/lite/index.d.ts": "export function dequal(foo: any, bar: any): boolean;",
13142
13158
  "node_modules/dequal/package.json": "{\n \"name\": \"dequal\",\n \"version\": \"2.0.3\",\n \"repository\": \"lukeed/dequal\",\n \"description\": \"A tiny (304B to 489B) utility for check for deep equality\",\n \"unpkg\": \"dist/index.min.js\",\n \"module\": \"dist/index.mjs\",\n \"main\": \"dist/index.js\",\n \"types\": \"index.d.ts\",\n \"license\": \"MIT\",\n \"author\": {\n \"name\": \"Luke Edwards\",\n \"email\": \"luke.edwards05@gmail.com\",\n \"url\": \"https://lukeed.com\"\n },\n \"engines\": {\n \"node\": \">=6\"\n },\n \"scripts\": {\n \"build\": \"bundt\",\n \"pretest\": \"npm run build\",\n \"postbuild\": \"echo \\\"lite\\\" | xargs -n1 cp -v index.d.ts\",\n \"test\": \"uvu -r esm test\"\n },\n \"files\": [\n \"*.d.ts\",\n \"dist\",\n \"lite\"\n ],\n \"exports\": {\n \".\": {\n \"types\": \"./index.d.ts\",\n \"import\": \"./dist/index.mjs\",\n \"require\": \"./dist/index.js\"\n },\n \"./lite\": {\n \"types\": \"./index.d.ts\",\n \"import\": \"./lite/index.mjs\",\n \"require\": \"./lite/index.js\"\n },\n \"./package.json\": \"./package.json\"\n },\n \"modes\": {\n \"lite\": \"src/lite.js\",\n \"default\": \"src/index.js\"\n },\n \"keywords\": [\n \"deep\",\n \"deep-equal\",\n \"equality\"\n ],\n \"devDependencies\": {\n \"bundt\": \"1.0.2\",\n \"esm\": \"3.2.25\",\n \"uvu\": \"0.3.2\"\n }\n}\n",
13159
+ "node_modules/detect-libc/index.d.ts": "// Copyright 2017 Lovell Fuller and others.\n// SPDX-License-Identifier: Apache-2.0\n\nexport const GLIBC: 'glibc';\nexport const MUSL: 'musl';\n\nexport function family(): Promise<string | null>;\nexport function familySync(): string | null;\n\nexport function isNonGlibcLinux(): Promise<boolean>;\nexport function isNonGlibcLinuxSync(): boolean;\n\nexport function version(): Promise<string | null>;\nexport function versionSync(): string | null;\n",
13160
+ "node_modules/detect-libc/package.json": "{\n \"name\": \"detect-libc\",\n \"version\": \"2.1.0\",\n \"description\": \"Node.js module to detect the C standard library (libc) implementation family and version\",\n \"main\": \"lib/detect-libc.js\",\n \"files\": [\n \"lib/\",\n \"index.d.ts\"\n ],\n \"scripts\": {\n \"test\": \"semistandard && nyc --reporter=text --check-coverage --branches=100 ava test/unit.js\",\n \"bench\": \"node benchmark/detect-libc\",\n \"bench:calls\": \"node benchmark/call-familySync.js && sleep 1 && node benchmark/call-isNonGlibcLinuxSync.js && sleep 1 && node benchmark/call-versionSync.js\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git://github.com/lovell/detect-libc\"\n },\n \"keywords\": [\n \"libc\",\n \"glibc\",\n \"musl\"\n ],\n \"author\": \"Lovell Fuller <npm@lovell.info>\",\n \"contributors\": [\n \"Niklas Salmoukas <niklas@salmoukas.com>\",\n \"Vinícius Lourenço <vinyygamerlol@gmail.com>\"\n ],\n \"license\": \"Apache-2.0\",\n \"devDependencies\": {\n \"ava\": \"^2.4.0\",\n \"benchmark\": \"^2.1.4\",\n \"eslint-config-standard\": \"^13.0.1\",\n \"nyc\": \"^15.1.0\",\n \"proxyquire\": \"^2.1.3\",\n \"semistandard\": \"^14.2.3\"\n },\n \"engines\": {\n \"node\": \">=8\"\n },\n \"types\": \"index.d.ts\"\n}\n",
13143
13161
  "node_modules/detect-ts-node/package.json": "{\n \"name\": \"detect-ts-node\",\n \"version\": \"1.0.5\",\n \"description\": \"Detect whether the code is running in TS Node\",\n \"main\": \"index.js\",\n \"typings\": \"./types/index.d.ts\",\n \"scripts\": {\n \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/yorickdevries/detect-ts-node.git\"\n },\n \"keywords\": [\n \"detect\",\n \"ts-node\"\n ],\n \"author\": \"Yorick de Vries\",\n \"license\": \"ISC\",\n \"bugs\": {\n \"url\": \"https://github.com/yorickdevries/detect-ts-node/issues\"\n },\n \"homepage\": \"https://github.com/yorickdevries/detect-ts-node#readme\"\n}\n",
13144
13162
  "node_modules/detect-ts-node/types/index.d.ts": "export declare const detectTSNode: boolean;\n",
13145
13163
  "node_modules/devlop/lib/development.d.ts": "/**\n * Wrap a function or class to show a deprecation message when first called.\n *\n * > 👉 **Important**: only shows a message when the `development` condition is\n * > used, does nothing in production.\n *\n * When the resulting wrapped `fn` is called, emits a warning once to\n * `console.error` (`stderr`).\n * If a code is given, one warning message will be emitted in total per code.\n *\n * @template {Function} T\n * Function or class kind.\n * @param {T} fn\n * Function or class.\n * @param {string} message\n * Message explaining deprecation.\n * @param {string | null | undefined} [code]\n * Deprecation identifier (optional); deprecation messages will be generated\n * only once per code.\n * @returns {T}\n * Wrapped `fn`.\n */\nexport function deprecate<T extends Function>(\n fn: T,\n message: string,\n code?: string | null | undefined\n): T\n/**\n * Assert deep strict equivalence.\n *\n * > 👉 **Important**: only asserts when the `development` condition is used,\n * > does nothing in production.\n *\n * @template {unknown} T\n * Expected kind.\n * @param {unknown} actual\n * Value.\n * @param {T} expected\n * Baseline.\n * @param {Error | string | null | undefined} [message]\n * Message for assertion error (default: `'Expected values to be deeply equal'`).\n * @returns {asserts actual is T}\n * Nothing; throws when `actual` is not deep strict equal to `expected`.\n * @throws {AssertionError}\n * Throws when `actual` is not deep strict equal to `expected`.\n */\nexport function equal<T extends unknown>(\n actual: unknown,\n expected: T,\n message?: Error | string | null | undefined\n): asserts actual is T\n/**\n * Assert if `value` is truthy.\n *\n * > 👉 **Important**: only asserts when the `development` condition is used,\n * > does nothing in production.\n *\n * @param {unknown} value\n * Value to assert.\n * @param {Error | string | null | undefined} [message]\n * Message for assertion error (default: `'Expected value to be truthy'`).\n * @returns {asserts value}\n * Nothing; throws when `value` is falsey.\n * @throws {AssertionError}\n * Throws when `value` is falsey.\n */\nexport function ok(\n value: unknown,\n message?: Error | string | null | undefined\n): asserts value\n/**\n * Assert that a code path never happens.\n *\n * > 👉 **Important**: only asserts when the `development` condition is used,\n * > does nothing in production.\n *\n * @param {Error | string | null | undefined} [message]\n * Message for assertion error (default: `'Unreachable'`).\n * @returns {never}\n * Nothing; always throws.\n * @throws {AssertionError}\n * Throws when `value` is falsey.\n */\nexport function unreachable(message?: Error | string | null | undefined): never\n",
@@ -13274,6 +13292,7 @@
13274
13292
  "node_modules/eastasianwidth/package.json": "{\n \"name\": \"eastasianwidth\",\n \"version\": \"0.2.0\",\n \"description\": \"Get East Asian Width from a character.\",\n \"main\": \"eastasianwidth.js\",\n \"files\": [\n \"eastasianwidth.js\"\n ],\n \"scripts\": {\n \"test\": \"mocha\"\n },\n \"repository\": \"git://github.com/komagata/eastasianwidth.git\",\n \"author\": \"Masaki Komagata\",\n \"license\": \"MIT\",\n \"devDependencies\": {\n \"mocha\": \"~1.9.0\"\n }\n}\n",
13275
13293
  "node_modules/ee-first/package.json": "{\n \"name\": \"ee-first\",\n \"description\": \"return the first event in a set of ee/event pairs\",\n \"version\": \"1.1.1\",\n \"author\": {\n \"name\": \"Jonathan Ong\",\n \"email\": \"me@jongleberry.com\",\n \"url\": \"http://jongleberry.com\",\n \"twitter\": \"https://twitter.com/jongleberry\"\n },\n \"contributors\": [\n \"Douglas Christopher Wilson <doug@somethingdoug.com>\"\n ],\n \"license\": \"MIT\",\n \"repository\": \"jonathanong/ee-first\",\n \"devDependencies\": {\n \"istanbul\": \"0.3.9\",\n \"mocha\": \"2.2.5\"\n },\n \"files\": [\n \"index.js\",\n \"LICENSE\"\n ],\n \"scripts\": {\n \"test\": \"mocha --reporter spec --bail --check-leaks test/\",\n \"test-cov\": \"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/\",\n \"test-travis\": \"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/\"\n }\n}\n",
13276
13294
  "node_modules/encodeurl/package.json": "{\n \"name\": \"encodeurl\",\n \"description\": \"Encode a URL to a percent-encoded form, excluding already-encoded sequences\",\n \"version\": \"2.0.0\",\n \"contributors\": [\n \"Douglas Christopher Wilson <doug@somethingdoug.com>\"\n ],\n \"license\": \"MIT\",\n \"keywords\": [\n \"encode\",\n \"encodeurl\",\n \"url\"\n ],\n \"repository\": \"pillarjs/encodeurl\",\n \"devDependencies\": {\n \"eslint\": \"5.11.1\",\n \"eslint-config-standard\": \"12.0.0\",\n \"eslint-plugin-import\": \"2.14.0\",\n \"eslint-plugin-node\": \"7.0.1\",\n \"eslint-plugin-promise\": \"4.0.1\",\n \"eslint-plugin-standard\": \"4.0.0\",\n \"istanbul\": \"0.4.5\",\n \"mocha\": \"2.5.3\"\n },\n \"files\": [\n \"LICENSE\",\n \"HISTORY.md\",\n \"README.md\",\n \"index.js\"\n ],\n \"engines\": {\n \"node\": \">= 0.8\"\n },\n \"scripts\": {\n \"lint\": \"eslint .\",\n \"test\": \"mocha --reporter spec --bail --check-leaks test/\",\n \"test-cov\": \"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/\",\n \"test-travis\": \"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/\"\n }\n}\n",
13295
+ "node_modules/end-of-stream/package.json": "{\n \"name\": \"end-of-stream\",\n \"version\": \"1.4.5\",\n \"description\": \"Call a callback when a readable/writable/duplex stream has completed or failed.\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git://github.com/mafintosh/end-of-stream.git\"\n },\n \"dependencies\": {\n \"once\": \"^1.4.0\"\n },\n \"scripts\": {\n \"test\": \"node test.js\"\n },\n \"files\": [\n \"index.js\"\n ],\n \"keywords\": [\n \"stream\",\n \"streams\",\n \"callback\",\n \"finish\",\n \"close\",\n \"end\",\n \"wait\"\n ],\n \"bugs\": {\n \"url\": \"https://github.com/mafintosh/end-of-stream/issues\"\n },\n \"homepage\": \"https://github.com/mafintosh/end-of-stream\",\n \"main\": \"index.js\",\n \"author\": \"Mathias Buus <mathiasbuus@gmail.com>\",\n \"license\": \"MIT\",\n \"devDependencies\": {\n \"tape\": \"^4.11.0\"\n }\n}\n",
13277
13296
  "node_modules/error-ex/package.json": "{\n \"name\": \"error-ex\",\n \"description\": \"Easy error subclassing and stack customization\",\n \"version\": \"1.3.2\",\n \"maintainers\": [\n \"Josh Junon <i.am.qix@gmail.com> (github.com/qix-)\",\n \"Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)\"\n ],\n \"keywords\": [\n \"error\",\n \"errors\",\n \"extend\",\n \"extending\",\n \"extension\",\n \"subclass\",\n \"stack\",\n \"custom\"\n ],\n \"license\": \"MIT\",\n \"scripts\": {\n \"pretest\": \"xo\",\n \"test\": \"mocha --compilers coffee:coffee-script/register\"\n },\n \"xo\": {\n \"rules\": {\n \"operator-linebreak\": [\n 0\n ]\n }\n },\n \"repository\": \"qix-/node-error-ex\",\n \"files\": [\n \"index.js\"\n ],\n \"devDependencies\": {\n \"coffee-script\": \"^1.9.3\",\n \"coveralls\": \"^2.11.2\",\n \"istanbul\": \"^0.3.17\",\n \"mocha\": \"^2.2.5\",\n \"should\": \"^7.0.1\",\n \"xo\": \"^0.7.1\"\n },\n \"dependencies\": {\n \"is-arrayish\": \"^0.2.1\"\n }\n}\n",
13278
13297
  "node_modules/es-define-property/index.d.ts": "declare const defineProperty: false | typeof Object.defineProperty;\n\nexport = defineProperty;",
13279
13298
  "node_modules/es-define-property/package.json": "{\n\t\"name\": \"es-define-property\",\n\t\"version\": \"1.0.1\",\n\t\"description\": \"`Object.defineProperty`, but not IE 8's broken one.\",\n\t\"main\": \"index.js\",\n\t\"types\": \"./index.d.ts\",\n\t\"exports\": {\n\t\t\".\": \"./index.js\",\n\t\t\"./package.json\": \"./package.json\"\n\t},\n\t\"sideEffects\": false,\n\t\"scripts\": {\n\t\t\"prepack\": \"npmignore --auto --commentLines=autogenerated\",\n\t\t\"prepublish\": \"not-in-publish || npm run prepublishOnly\",\n\t\t\"prepublishOnly\": \"safe-publish-latest\",\n\t\t\"prelint\": \"evalmd README.md\",\n\t\t\"lint\": \"eslint --ext=js,mjs .\",\n\t\t\"postlint\": \"tsc -p .\",\n\t\t\"pretest\": \"npm run lint\",\n\t\t\"tests-only\": \"nyc tape 'test/**/*.js'\",\n\t\t\"test\": \"npm run tests-only\",\n\t\t\"posttest\": \"npx npm@'>= 10.2' audit --production\",\n\t\t\"version\": \"auto-changelog && git add CHANGELOG.md\",\n\t\t\"postversion\": \"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \\\"v$(node -e \\\"console.log(require('./package.json').version)\\\")\\\"\"\n\t},\n\t\"repository\": {\n\t\t\"type\": \"git\",\n\t\t\"url\": \"git+https://github.com/ljharb/es-define-property.git\"\n\t},\n\t\"keywords\": [\n\t\t\"javascript\",\n\t\t\"ecmascript\",\n\t\t\"object\",\n\t\t\"define\",\n\t\t\"property\",\n\t\t\"defineProperty\",\n\t\t\"Object.defineProperty\"\n\t],\n\t\"author\": \"Jordan Harband <ljharb@gmail.com>\",\n\t\"license\": \"MIT\",\n\t\"bugs\": {\n\t\t\"url\": \"https://github.com/ljharb/es-define-property/issues\"\n\t},\n\t\"homepage\": \"https://github.com/ljharb/es-define-property#readme\",\n\t\"devDependencies\": {\n\t\t\"@ljharb/eslint-config\": \"^21.1.1\",\n\t\t\"@ljharb/tsconfig\": \"^0.2.2\",\n\t\t\"@types/gopd\": \"^1.0.3\",\n\t\t\"@types/tape\": \"^5.6.5\",\n\t\t\"auto-changelog\": \"^2.5.0\",\n\t\t\"encoding\": \"^0.1.13\",\n\t\t\"eslint\": \"^8.8.0\",\n\t\t\"evalmd\": \"^0.0.19\",\n\t\t\"gopd\": \"^1.2.0\",\n\t\t\"in-publish\": \"^2.0.1\",\n\t\t\"npmignore\": \"^0.3.1\",\n\t\t\"nyc\": \"^10.3.2\",\n\t\t\"safe-publish-latest\": \"^2.0.0\",\n\t\t\"tape\": \"^5.9.0\",\n\t\t\"typescript\": \"next\"\n\t},\n\t\"engines\": {\n\t\t\"node\": \">= 0.4\"\n\t},\n\t\"testling\": {\n\t\t\"files\": \"test/index.js\"\n\t},\n\t\"auto-changelog\": {\n\t\t\"output\": \"CHANGELOG.md\",\n\t\t\"template\": \"keepachangelog\",\n\t\t\"unreleased\": false,\n\t\t\"commitLimit\": false,\n\t\t\"backfillLimit\": false,\n\t\t\"hideCredit\": true\n\t},\n\t\"publishConfig\": {\n\t\t\"ignore\": [\n\t\t\t\".github/workflows\"\n\t\t]\n\t}\n}\n",
@@ -13294,6 +13313,7 @@
13294
13313
  "node_modules/esprima/package.json": "{\n \"name\": \"esprima\",\n \"description\": \"ECMAScript parsing infrastructure for multipurpose analysis\",\n \"homepage\": \"http://esprima.org\",\n \"main\": \"dist/esprima.js\",\n \"bin\": {\n \"esparse\": \"./bin/esparse.js\",\n \"esvalidate\": \"./bin/esvalidate.js\"\n },\n \"version\": \"4.0.1\",\n \"files\": [\n \"bin\",\n \"dist/esprima.js\"\n ],\n \"engines\": {\n \"node\": \">=4\"\n },\n \"author\": {\n \"name\": \"Ariya Hidayat\",\n \"email\": \"ariya.hidayat@gmail.com\"\n },\n \"maintainers\": [\n {\n \"name\": \"Ariya Hidayat\",\n \"email\": \"ariya.hidayat@gmail.com\",\n \"web\": \"http://ariya.ofilabs.com\"\n }\n ],\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/jquery/esprima.git\"\n },\n \"bugs\": {\n \"url\": \"https://github.com/jquery/esprima/issues\"\n },\n \"license\": \"BSD-2-Clause\",\n \"devDependencies\": {\n \"codecov.io\": \"~0.1.6\",\n \"escomplex-js\": \"1.2.0\",\n \"everything.js\": \"~1.0.3\",\n \"glob\": \"~7.1.0\",\n \"istanbul\": \"~0.4.0\",\n \"json-diff\": \"~0.3.1\",\n \"karma\": \"~1.3.0\",\n \"karma-chrome-launcher\": \"~2.0.0\",\n \"karma-detect-browsers\": \"~2.2.3\",\n \"karma-edge-launcher\": \"~0.2.0\",\n \"karma-firefox-launcher\": \"~1.0.0\",\n \"karma-ie-launcher\": \"~1.0.0\",\n \"karma-mocha\": \"~1.3.0\",\n \"karma-safari-launcher\": \"~1.0.0\",\n \"karma-safaritechpreview-launcher\": \"~0.0.4\",\n \"karma-sauce-launcher\": \"~1.1.0\",\n \"lodash\": \"~3.10.1\",\n \"mocha\": \"~3.2.0\",\n \"node-tick-processor\": \"~0.0.2\",\n \"regenerate\": \"~1.3.2\",\n \"temp\": \"~0.8.3\",\n \"tslint\": \"~5.1.0\",\n \"typescript\": \"~2.3.2\",\n \"typescript-formatter\": \"~5.1.3\",\n \"unicode-8.0.0\": \"~0.7.0\",\n \"webpack\": \"~1.14.0\"\n },\n \"keywords\": [\n \"ast\",\n \"ecmascript\",\n \"esprima\",\n \"javascript\",\n \"parser\",\n \"syntax\"\n ],\n \"scripts\": {\n \"check-version\": \"node test/check-version.js\",\n \"tslint\": \"tslint src/*.ts\",\n \"code-style\": \"tsfmt --verify src/*.ts && tsfmt --verify test/*.js\",\n \"format-code\": \"tsfmt -r src/*.ts && tsfmt -r test/*.js\",\n \"complexity\": \"node test/check-complexity.js\",\n \"static-analysis\": \"npm run check-version && npm run tslint && npm run code-style && npm run complexity\",\n \"hostile-env-tests\": \"node test/hostile-environment-tests.js\",\n \"unit-tests\": \"node test/unit-tests.js\",\n \"api-tests\": \"mocha -R dot test/api-tests.js\",\n \"grammar-tests\": \"node test/grammar-tests.js\",\n \"regression-tests\": \"node test/regression-tests.js\",\n \"all-tests\": \"npm run verify-line-ending && npm run generate-fixtures && npm run unit-tests && npm run api-tests && npm run grammar-tests && npm run regression-tests && npm run hostile-env-tests\",\n \"verify-line-ending\": \"node test/verify-line-ending.js\",\n \"generate-fixtures\": \"node tools/generate-fixtures.js\",\n \"browser-tests\": \"npm run compile && npm run generate-fixtures && cd test && karma start --single-run\",\n \"saucelabs-evergreen\": \"cd test && karma start saucelabs-evergreen.conf.js\",\n \"saucelabs-safari\": \"cd test && karma start saucelabs-safari.conf.js\",\n \"saucelabs-ie\": \"cd test && karma start saucelabs-ie.conf.js\",\n \"saucelabs\": \"npm run saucelabs-evergreen && npm run saucelabs-ie && npm run saucelabs-safari\",\n \"analyze-coverage\": \"istanbul cover test/unit-tests.js\",\n \"check-coverage\": \"istanbul check-coverage --statement 100 --branch 100 --function 100\",\n \"dynamic-analysis\": \"npm run analyze-coverage && npm run check-coverage\",\n \"compile\": \"tsc -p src/ && webpack && node tools/fixupbundle.js\",\n \"test\": \"npm run compile && npm run all-tests && npm run static-analysis && npm run dynamic-analysis\",\n \"prepublish\": \"npm run compile\",\n \"profile\": \"node --prof test/profile.js && mv isolate*.log v8.log && node-tick-processor\",\n \"benchmark-parser\": \"node -expose_gc test/benchmark-parser.js\",\n \"benchmark-tokenizer\": \"node --expose_gc test/benchmark-tokenizer.js\",\n \"benchmark\": \"npm run benchmark-parser && npm run benchmark-tokenizer\",\n \"codecov\": \"istanbul report cobertura && codecov < ./coverage/cobertura-coverage.xml\",\n \"downstream\": \"node test/downstream.js\",\n \"travis\": \"npm test\",\n \"circleci\": \"npm test && npm run codecov && npm run downstream\",\n \"appveyor\": \"npm run compile && npm run all-tests && npm run browser-tests\",\n \"droneio\": \"npm run compile && npm run all-tests && npm run saucelabs\",\n \"generate-regex\": \"node tools/generate-identifier-regex.js\",\n \"generate-xhtml-entities\": \"node tools/generate-xhtml-entities.js\"\n }\n}\n",
13295
13314
  "node_modules/etag/package.json": "{\n \"name\": \"etag\",\n \"description\": \"Create simple HTTP ETags\",\n \"version\": \"1.8.1\",\n \"contributors\": [\n \"Douglas Christopher Wilson <doug@somethingdoug.com>\",\n \"David Björklund <david.bjorklund@gmail.com>\"\n ],\n \"license\": \"MIT\",\n \"keywords\": [\n \"etag\",\n \"http\",\n \"res\"\n ],\n \"repository\": \"jshttp/etag\",\n \"devDependencies\": {\n \"beautify-benchmark\": \"0.2.4\",\n \"benchmark\": \"2.1.4\",\n \"eslint\": \"3.19.0\",\n \"eslint-config-standard\": \"10.2.1\",\n \"eslint-plugin-import\": \"2.7.0\",\n \"eslint-plugin-markdown\": \"1.0.0-beta.6\",\n \"eslint-plugin-node\": \"5.1.1\",\n \"eslint-plugin-promise\": \"3.5.0\",\n \"eslint-plugin-standard\": \"3.0.1\",\n \"istanbul\": \"0.4.5\",\n \"mocha\": \"1.21.5\",\n \"safe-buffer\": \"5.1.1\",\n \"seedrandom\": \"2.4.3\"\n },\n \"files\": [\n \"LICENSE\",\n \"HISTORY.md\",\n \"README.md\",\n \"index.js\"\n ],\n \"engines\": {\n \"node\": \">= 0.6\"\n },\n \"scripts\": {\n \"bench\": \"node benchmark/index.js\",\n \"lint\": \"eslint --plugin markdown --ext js,md .\",\n \"test\": \"mocha --reporter spec --bail --check-leaks test/\",\n \"test-cov\": \"istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/\",\n \"test-travis\": \"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/\"\n }\n}\n",
13296
13315
  "node_modules/exit/package.json": "{\n \"name\": \"exit\",\n \"description\": \"A replacement for process.exit that ensures stdio are fully drained before exiting.\",\n \"version\": \"0.1.2\",\n \"homepage\": \"https://github.com/cowboy/node-exit\",\n \"author\": {\n \"name\": \"\\\"Cowboy\\\" Ben Alman\",\n \"url\": \"http://benalman.com/\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git://github.com/cowboy/node-exit.git\"\n },\n \"bugs\": {\n \"url\": \"https://github.com/cowboy/node-exit/issues\"\n },\n \"licenses\": [\n {\n \"type\": \"MIT\",\n \"url\": \"https://github.com/cowboy/node-exit/blob/master/LICENSE-MIT\"\n }\n ],\n \"main\": \"lib/exit\",\n \"engines\": {\n \"node\": \">= 0.8.0\"\n },\n \"scripts\": {\n \"test\": \"grunt nodeunit\"\n },\n \"devDependencies\": {\n \"grunt-contrib-jshint\": \"~0.6.4\",\n \"grunt-contrib-nodeunit\": \"~0.2.0\",\n \"grunt-contrib-watch\": \"~0.5.3\",\n \"grunt\": \"~0.4.1\",\n \"which\": \"~1.0.5\"\n },\n \"keywords\": [\n \"exit\",\n \"process\",\n \"stdio\",\n \"stdout\",\n \"stderr\",\n \"drain\",\n \"flush\",\n \"3584\"\n ]\n}\n",
13316
+ "node_modules/expand-template/package.json": "{\n \"name\": \"expand-template\",\n \"version\": \"2.0.3\",\n \"description\": \"Expand placeholders in a template string\",\n \"main\": \"index.js\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/ralphtheninja/expand-template.git\"\n },\n \"homepage\": \"https://github.com/ralphtheninja/expand-template\",\n \"scripts\": {\n \"test\": \"tape test.js && standard\"\n },\n \"keywords\": [\n \"template\",\n \"expand\",\n \"replace\"\n ],\n \"author\": \"LM <ralphtheninja@riseup.net>\",\n \"license\": \"(MIT OR WTFPL)\",\n \"dependencies\": {},\n \"devDependencies\": {\n \"standard\": \"^12.0.0\",\n \"tape\": \"^4.2.2\"\n },\n \"engines\": {\n \"node\": \">=6\"\n }\n}\n",
13297
13317
  "node_modules/express/package.json": "{\n \"name\": \"express\",\n \"description\": \"Fast, unopinionated, minimalist web framework\",\n \"version\": \"5.1.0\",\n \"author\": \"TJ Holowaychuk <tj@vision-media.ca>\",\n \"contributors\": [\n \"Aaron Heckmann <aaron.heckmann+github@gmail.com>\",\n \"Ciaran Jessup <ciaranj@gmail.com>\",\n \"Douglas Christopher Wilson <doug@somethingdoug.com>\",\n \"Guillermo Rauch <rauchg@gmail.com>\",\n \"Jonathan Ong <me@jongleberry.com>\",\n \"Roman Shtylman <shtylman+expressjs@gmail.com>\",\n \"Young Jae Sim <hanul@hanul.me>\"\n ],\n \"license\": \"MIT\",\n \"repository\": \"expressjs/express\",\n \"homepage\": \"https://expressjs.com/\",\n \"funding\": {\n \"type\": \"opencollective\",\n \"url\": \"https://opencollective.com/express\"\n },\n \"keywords\": [\n \"express\",\n \"framework\",\n \"sinatra\",\n \"web\",\n \"http\",\n \"rest\",\n \"restful\",\n \"router\",\n \"app\",\n \"api\"\n ],\n \"dependencies\": {\n \"accepts\": \"^2.0.0\",\n \"body-parser\": \"^2.2.0\",\n \"content-disposition\": \"^1.0.0\",\n \"content-type\": \"^1.0.5\",\n \"cookie\": \"^0.7.1\",\n \"cookie-signature\": \"^1.2.1\",\n \"debug\": \"^4.4.0\",\n \"encodeurl\": \"^2.0.0\",\n \"escape-html\": \"^1.0.3\",\n \"etag\": \"^1.8.1\",\n \"finalhandler\": \"^2.1.0\",\n \"fresh\": \"^2.0.0\",\n \"http-errors\": \"^2.0.0\",\n \"merge-descriptors\": \"^2.0.0\",\n \"mime-types\": \"^3.0.0\",\n \"on-finished\": \"^2.4.1\",\n \"once\": \"^1.4.0\",\n \"parseurl\": \"^1.3.3\",\n \"proxy-addr\": \"^2.0.7\",\n \"qs\": \"^6.14.0\",\n \"range-parser\": \"^1.2.1\",\n \"router\": \"^2.2.0\",\n \"send\": \"^1.1.0\",\n \"serve-static\": \"^2.2.0\",\n \"statuses\": \"^2.0.1\",\n \"type-is\": \"^2.0.1\",\n \"vary\": \"^1.1.2\"\n },\n \"devDependencies\": {\n \"after\": \"0.8.2\",\n \"connect-redis\": \"^8.0.1\",\n \"cookie-parser\": \"1.4.7\",\n \"cookie-session\": \"2.1.0\",\n \"ejs\": \"^3.1.10\",\n \"eslint\": \"8.47.0\",\n \"express-session\": \"^1.18.1\",\n \"hbs\": \"4.2.0\",\n \"marked\": \"^15.0.3\",\n \"method-override\": \"3.0.0\",\n \"mocha\": \"^10.7.3\",\n \"morgan\": \"1.10.0\",\n \"nyc\": \"^17.1.0\",\n \"pbkdf2-password\": \"1.2.1\",\n \"supertest\": \"^6.3.0\",\n \"vhost\": \"~3.0.2\"\n },\n \"engines\": {\n \"node\": \">= 18\"\n },\n \"files\": [\n \"LICENSE\",\n \"History.md\",\n \"Readme.md\",\n \"index.js\",\n \"lib/\"\n ],\n \"scripts\": {\n \"lint\": \"eslint .\",\n \"test\": \"mocha --require test/support/env --reporter spec --check-leaks test/ test/acceptance/\",\n \"test-ci\": \"nyc --exclude examples --exclude test --exclude benchmarks --reporter=lcovonly --reporter=text npm test\",\n \"test-cov\": \"nyc --exclude examples --exclude test --exclude benchmarks --reporter=html --reporter=text npm test\",\n \"test-tap\": \"mocha --require test/support/env --reporter tap --check-leaks test/ test/acceptance/\"\n }\n}\n",
13298
13318
  "node_modules/express/node_modules/cookie/package.json": "{\n \"name\": \"cookie\",\n \"description\": \"HTTP server cookie parsing and serialization\",\n \"version\": \"0.7.2\",\n \"author\": \"Roman Shtylman <shtylman@gmail.com>\",\n \"contributors\": [\n \"Douglas Christopher Wilson <doug@somethingdoug.com>\"\n ],\n \"license\": \"MIT\",\n \"keywords\": [\n \"cookie\",\n \"cookies\"\n ],\n \"repository\": \"jshttp/cookie\",\n \"devDependencies\": {\n \"beautify-benchmark\": \"0.2.4\",\n \"benchmark\": \"2.1.4\",\n \"eslint\": \"8.53.0\",\n \"eslint-plugin-markdown\": \"3.0.1\",\n \"mocha\": \"10.2.0\",\n \"nyc\": \"15.1.0\",\n \"safe-buffer\": \"5.2.1\",\n \"top-sites\": \"1.1.194\"\n },\n \"files\": [\n \"HISTORY.md\",\n \"LICENSE\",\n \"README.md\",\n \"SECURITY.md\",\n \"index.js\"\n ],\n \"main\": \"index.js\",\n \"engines\": {\n \"node\": \">= 0.6\"\n },\n \"scripts\": {\n \"bench\": \"node benchmark/index.js\",\n \"lint\": \"eslint .\",\n \"test\": \"mocha --reporter spec --bail --check-leaks test/\",\n \"test-ci\": \"nyc --reporter=lcov --reporter=text npm test\",\n \"test-cov\": \"nyc --reporter=html --reporter=text npm test\",\n \"update-bench\": \"node scripts/update-benchmark.js\"\n }\n}\n",
13299
13319
  "node_modules/external-editor/main/errors/CreateFileError.d.ts": "/***\n * Node External Editor\n *\n * Kevin Gravier <kevin@mrkmg.com>\n * MIT 2018\n */\nexport declare class CreateFileError extends Error {\n originalError: Error;\n constructor(originalError: Error);\n}\n",
@@ -13346,6 +13366,8 @@
13346
13366
  "node_modules/file-type/core.d.ts": "/**\nTypings for primary entry point, Node.js specific typings can be found in index.d.ts\n*/\n\nimport type {ReadableStream as WebReadableStream} from 'node:stream/web';\nimport type {ITokenizer, AnyWebByteStream} from 'strtok3';\n\n/**\nEither the Node.js ReadableStream or the `lib.dom.d.ts` ReadableStream.\nRelated issue: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/60377\n*/\nexport type AnyWebReadableStream<G> = WebReadableStream<G> | ReadableStream<G>;\n\nexport type FileTypeResult = {\n\t/**\n\tOne of the supported [file types](https://github.com/sindresorhus/file-type#supported-file-types).\n\t*/\n\treadonly ext: string;\n\n\t/**\n\tThe detected [MIME type](https://en.wikipedia.org/wiki/Internet_media_type).\n\t*/\n\treadonly mime: string;\n};\n\n/**\nDetect the file type of a `Uint8Array`, or `ArrayBuffer`.\n\nThe file type is detected by checking the [magic number](https://en.wikipedia.org/wiki/Magic_number_(programming)#Magic_numbers_in_files) of the buffer.\n\nIf file access is available, it is recommended to use `.fromFile()` instead.\n\n@param buffer - An Uint8Array or ArrayBuffer representing file data. It works best if the buffer contains the entire file. It may work with a smaller portion as well.\n@returns The detected file type, or `undefined` when there is no match.\n*/\nexport function fileTypeFromBuffer(buffer: Uint8Array | ArrayBuffer): Promise<FileTypeResult | undefined>;\n\n/**\nDetect the file type of a [web `ReadableStream`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream).\n\nThe file type is detected by checking the [magic number](https://en.wikipedia.org/wiki/Magic_number_(programming)#Magic_numbers_in_files) of the buffer.\n\n@param stream - A [web `ReadableStream`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream) streaming a file to examine.\n@returns A `Promise` for an object with the detected file type, or `undefined` when there is no match.\n*/\nexport function fileTypeFromStream(stream: AnyWebByteStream): Promise<FileTypeResult | undefined>;\n\n/**\nDetect the file type from an [`ITokenizer`](https://github.com/Borewit/strtok3#tokenizer) source.\n\nThis method is used internally, but can also be used for a special \"tokenizer\" reader.\n\nA tokenizer propagates the internal read functions, allowing alternative transport mechanisms, to access files, to be implemented and used.\n\n@param tokenizer - File source implementing the tokenizer interface.\n@returns The detected file type, or `undefined` when there is no match.\n\nAn example is [`@tokenizer/http`](https://github.com/Borewit/tokenizer-http), which requests data using [HTTP-range-requests](https://developer.mozilla.org/en-US/docs/Web/HTTP/Range_requests). A difference with a conventional stream and the [*tokenizer*](https://github.com/Borewit/strtok3#tokenizer), is that it is able to *ignore* (seek, fast-forward) in the stream. For example, you may only need and read the first 6 bytes, and the last 128 bytes, which may be an advantage in case reading the entire file would take longer.\n\n@example\n```\nimport {makeTokenizer} from '@tokenizer/http';\nimport {fileTypeFromTokenizer} from 'file-type';\n\nconst audioTrackUrl = 'https://test-audio.netlify.com/Various%20Artists%20-%202009%20-%20netBloc%20Vol%2024_%20tiuqottigeloot%20%5BMP3-V2%5D/01%20-%20Diablo%20Swing%20Orchestra%20-%20Heroines.mp3';\n\nconst httpTokenizer = await makeTokenizer(audioTrackUrl);\nconst fileType = await fileTypeFromTokenizer(httpTokenizer);\n\nconsole.log(fileType);\n//=> {ext: 'mp3', mime: 'audio/mpeg'}\n```\n*/\nexport function fileTypeFromTokenizer(tokenizer: ITokenizer): Promise<FileTypeResult | undefined>;\n\n/**\nSupported file extensions.\n*/\nexport const supportedExtensions: ReadonlySet<string>;\n\n/**\nSupported MIME types.\n*/\nexport const supportedMimeTypes: ReadonlySet<string>;\n\nexport type StreamOptions = {\n\t/**\n\tThe default sample size in bytes.\n\n\t@default 4100\n\t*/\n\treadonly sampleSize?: number;\n};\n\n/**\nDetect the file type of a [`Blob`](https://nodejs.org/api/buffer.html#class-blob) or [`File`](https://developer.mozilla.org/en-US/docs/Web/API/File).\n\n@param blob - The [`Blob`](https://nodejs.org/api/buffer.html#class-blob) used for file detection.\n@returns The detected file type, or `undefined` when there is no match.\n\n@example\n```\nimport {fileTypeFromBlob} from 'file-type';\n\nconst blob = new Blob(['<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>'], {\n\ttype: 'text/plain',\n\tendings: 'native'\n});\n\nconsole.log(await fileTypeFromBlob(blob));\n//=> {ext: 'txt', mime: 'text/plain'}\n```\n*/\nexport declare function fileTypeFromBlob(blob: Blob): Promise<FileTypeResult | undefined>;\n\n/**\nA custom file type detector.\n\nCustom file type detectors are plugins designed to extend the default detection capabilities.\nThey allow support for uncommon file types, non-binary formats, or customized detection behavior.\n\nDetectors can be added via the constructor options or by modifying `FileTypeParser#detectors` directly.\nDetectors provided through the constructor are executed before the default ones.\n\nDetectors can be added via the constructor options or by directly modifying `FileTypeParser#detectors`.\n\n### Example adding a detector\n\n```js\nimport {FileTypeParser} from 'file-type';\nimport {detectXml} from '@file-type/xml';\n\nconst parser = new FileTypeParser({customDetectors: [detectXml]});\nconst fileType = await parser.fromFile('sample.kml');\nconsole.log(fileType);\n```\n\n### Available-third party file-type detectors\n\n- [@file-type/xml](https://github.com/Borewit/file-type-xml): Detects common XML file types, such as GLM, KML, MusicXML, RSS, SVG, and XHTML\n\n### Detector execution flow\n\nIf a detector returns `undefined`, the following rules apply:\n\n1. **No Tokenizer Interaction**: If the detector does not modify the tokenizer's position, the next detector in the sequence is executed.\n2. **Tokenizer Interaction**: If the detector modifies the tokenizer's position (`tokenizer.position` is advanced), no further detectors are executed. In this case, the file type remains `undefined`, as subsequent detectors cannot evaluate the content. This is an exceptional scenario, as it prevents any other detectors from determining the file type.\n\n### Example writing a custom detector\n\nBelow is an example of a custom detector array. This can be passed to the `FileTypeParser` via the `fileTypeOptions` argument.\n\n```\nimport {FileTypeParser} from 'file-type';\n\nconst customDetectors = [\n\tasync tokenizer => {\n\t\tconst unicornHeader = [85, 78, 73, 67, 79, 82, 78]; // \"UNICORN\" in ASCII decimal\n\n\t\tconst buffer = new Uint8Array(unicornHeader.length);\n\t\tawait tokenizer.peekBuffer(buffer, {length: unicornHeader.length, mayBeLess: true});\n\t\tif (unicornHeader.every((value, index) => value === buffer[index])) {\n\t\t\treturn {ext: 'unicorn', mime: 'application/unicorn'};\n\t\t}\n\n\t\treturn undefined;\n\t},\n];\n\nconst buffer = new Uint8Array([85, 78, 73, 67, 79, 82, 78]);\nconst parser = new FileTypeParser({customDetectors});\nconst fileType = await parser.fromBuffer(buffer);\nconsole.log(fileType); // {ext: 'unicorn', mime: 'application/unicorn'}\n```\n\n@param tokenizer - The [tokenizer](https://github.com/Borewit/strtok3#tokenizer) used to read file content.\n@param fileType - The file type detected by standard or previous custom detectors, or `undefined` if no match is found.\n@returns The detected file type, or `undefined` if no match is found.\n*/\nexport type Detector = {\n\tid: string;\n\tdetect: (tokenizer: ITokenizer, fileType?: FileTypeResult) => Promise<FileTypeResult | undefined>;\n};\n\nexport type FileTypeOptions = {\n\tcustomDetectors?: Iterable<Detector>;\n};\n\nexport declare class TokenizerPositionError extends Error {\n\tconstructor(message?: string);\n}\n\nexport type AnyWebReadableByteStreamWithFileType = AnyWebReadableStream<Uint8Array> & {\n\treadonly fileType?: FileTypeResult;\n};\n\n/**\nWorkaround for using `bundler` as the module-resolution in TypeScript.\n*/\nexport function fileTypeFromFile(filePath: string, options?: {customDetectors?: Iterable<Detector>}): Promise<FileTypeResult | undefined>;\n\n/**\nReturns a `Promise` which resolves to the original readable stream argument, but with an added `fileType` property, which is an object like the one returned from `fileTypeFromFile()`.\n\nThis method can be handy to put in a stream pipeline, but it comes with a price. Internally `stream()` builds up a buffer of `sampleSize` bytes, used as a sample, to determine the file type. The sample size impacts the file detection resolution. A smaller sample size will result in lower probability of the best file type detection.\n*/\nexport function fileTypeStream(webStream: AnyWebReadableStream<Uint8Array>, options?: StreamOptions): Promise<AnyWebReadableByteStreamWithFileType>;\n\nexport declare class FileTypeParser {\n\t/**\n\tFile type detectors.\n\n\tInitialized with a single entry holding the built-in detector function.\n\t*/\n\tdetectors: Detector[];\n\n\tconstructor(options?: {customDetectors?: Iterable<Detector>; signal?: AbortSignal});\n\n\t/**\n\tWorks the same way as {@link fileTypeFromBuffer}, additionally taking into account custom detectors (if any were provided to the constructor).\n\t*/\n\tfromBuffer(buffer: Uint8Array | ArrayBuffer): Promise<FileTypeResult | undefined>;\n\n\t/**\n\tWorks the same way as {@link fileTypeFromTokenizer}, additionally taking into account custom detectors (if any were provided to the constructor).\n\t*/\n\tfromTokenizer(tokenizer: ITokenizer): Promise<FileTypeResult | undefined>;\n\n\t/**\n\tWorks the same way as {@link fileTypeFromBlob}, additionally taking into account custom detectors (if any were provided to the constructor).\n\t*/\n\tfromBlob(blob: Blob): Promise<FileTypeResult | undefined>;\n\n\t/**\n\tWorks the same way as {@link fileTypeStream}, additionally taking into account custom detectors (if any were provided to the constructor).\n\t*/\n\ttoDetectionStream(webStream: AnyWebReadableStream<Uint8Array>, options?: StreamOptions): Promise<AnyWebReadableByteStreamWithFileType>;\n}\n",
13347
13367
  "node_modules/file-type/index.d.ts": "/**\nTypings for Node.js specific entry point.\n*/\n\nimport type {Readable as NodeReadableStream} from 'node:stream';\nimport type {AnyWebByteStream} from 'strtok3';\nimport {\n\ttype FileTypeResult,\n\ttype StreamOptions,\n\ttype AnyWebReadableStream,\n\ttype Detector,\n\ttype AnyWebReadableByteStreamWithFileType,\n\tFileTypeParser as DefaultFileTypeParser,\n} from './core.js';\n\nexport type ReadableStreamWithFileType = NodeReadableStream & {\n\treadonly fileType?: FileTypeResult;\n};\n\n/**\nExtending `FileTypeParser` with Node.js engine specific functions.\n*/\nexport declare class FileTypeParser extends DefaultFileTypeParser {\n\t/**\n\t@param stream - Node.js `stream.Readable` or web `ReadableStream`.\n\t*/\n\tfromStream(stream: AnyWebReadableStream<Uint8Array> | NodeReadableStream): Promise<FileTypeResult | undefined>;\n\n\tfromFile(filePath: string): Promise<FileTypeResult | undefined>;\n\n\t/**\n\tWorks the same way as {@link fileTypeStream}, additionally taking into account custom detectors (if any were provided to the constructor).\n\t*/\n\ttoDetectionStream(readableStream: NodeReadableStream, options?: StreamOptions): Promise<ReadableStreamWithFileType>;\n\ttoDetectionStream(webStream: AnyWebReadableStream<Uint8Array>, options?: StreamOptions): Promise<AnyWebReadableByteStreamWithFileType>;\n}\n\n/**\nDetect the file type of a file path.\n\nThe file type is detected by checking the [magic number](https://en.wikipedia.org/wiki/Magic_number_(programming)#Magic_numbers_in_files) of the file.\n\nThis is for Node.js only.\n\nTo read from a [`File`](https://developer.mozilla.org/docs/Web/API/File), see `fileTypeFromBlob()`.\n\nThe file type is detected by checking the [magic number](https://en.wikipedia.org/wiki/Magic_number_(programming)#Magic_numbers_in_files) of the buffer.\n\n@returns The detected file type and MIME type or `undefined` when there is no match.\n*/\nexport function fileTypeFromFile(filePath: string, options?: {customDetectors?: Iterable<Detector>}): Promise<FileTypeResult | undefined>;\n\n/**\nDetect the file type of a [web `ReadableStream`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream).\n\nIf the engine is Node.js, this may also be a [Node.js `stream.Readable`](https://nodejs.org/api/stream.html#stream_class_stream_readable).\n\nDirect support for Node.js streams will be dropped in the future, when Node.js streams can be converted to Web streams (see [`toWeb()`](https://nodejs.org/api/stream.html#streamreadabletowebstreamreadable-options)).\n\nThe file type is detected by checking the [magic number](https://en.wikipedia.org/wiki/Magic_number_(programming)#Magic_numbers_in_files) of the buffer.\n\n@param stream - A [web `ReadableStream`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream) or [Node.js `stream.Readable`](https://nodejs.org/api/stream.html#stream_class_stream_readable) streaming a file to examine.\n@returns A `Promise` for an object with the detected file type, or `undefined` when there is no match.\n*/\nexport function fileTypeFromStream(stream: AnyWebReadableStream<Uint8Array> | NodeReadableStream): Promise<FileTypeResult | undefined>;\n\n/**\nReturns a `Promise` which resolves to the original readable stream argument, but with an added `fileType` property, which is an object like the one returned from `fileTypeFromFile()`.\n\nThis method can be handy to put in between a stream, but it comes with a price.\nInternally `stream()` builds up a buffer of `sampleSize` bytes, used as a sample, to determine the file type.\nThe sample size impacts the file detection resolution.\nA smaller sample size will result in lower probability of the best file type detection.\n\n@param readableStream - A [web `ReadableStream`](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream) or [Node.js `stream.Readable`](https://nodejs.org/api/stream.html#stream_class_stream_readable), streaming a file to examine.\n@param options - May be used to override the default sample size.\n@returns A `Promise` which resolves to the original readable stream argument, but with an added `fileType` property, which is an object like the one returned from `fileTypeFromFile()`.\n\n@example\n```\nimport got from 'got';\nimport {fileTypeStream} from 'file-type';\n\nconst url = 'https://upload.wikimedia.org/wikipedia/en/a/a9/Example.jpg';\n\nconst stream1 = got.stream(url);\nconst stream2 = await fileTypeStream(stream1, {sampleSize: 1024});\n\nif (stream2.fileType?.mime === 'image/jpeg') {\n\t// stream2 can be used to stream the JPEG image (from the very beginning of the stream)\n}\n```\n*/\nexport function fileTypeStream(readableStream: NodeReadableStream, options?: StreamOptions): Promise<ReadableStreamWithFileType>;\nexport function fileTypeStream(webStream: AnyWebByteStream, options?: StreamOptions): Promise<AnyWebReadableByteStreamWithFileType>;\n\nexport * from './core.js';\n",
13348
13368
  "node_modules/file-type/package.json": "{\n\t\"name\": \"file-type\",\n\t\"version\": \"20.4.1\",\n\t\"description\": \"Detect the file type of a file, stream, or data\",\n\t\"license\": \"MIT\",\n\t\"repository\": \"sindresorhus/file-type\",\n\t\"funding\": \"https://github.com/sindresorhus/file-type?sponsor=1\",\n\t\"author\": {\n\t\t\"name\": \"Sindre Sorhus\",\n\t\t\"email\": \"sindresorhus@gmail.com\",\n\t\t\"url\": \"https://sindresorhus.com\"\n\t},\n\t\"type\": \"module\",\n\t\"exports\": {\n\t\t\".\": {\n\t\t\t\"node\": {\n\t\t\t\t\"types\": \"./index.d.ts\",\n\t\t\t\t\"import\": \"./index.js\",\n\t\t\t\t\"module-sync\": \"./index.js\"\n\t\t\t},\n\t\t\t\"default\": {\n\t\t\t\t\"types\": \"./core.d.ts\",\n\t\t\t\t\"import\": \"./core.js\",\n\t\t\t\t\"module-sync\": \"./core.js\"\n\t\t\t}\n\t\t},\n\t\t\"./core\": {\n\t\t\t\"types\": \"./core.d.ts\",\n\t\t\t\"default\": \"./core.js\"\n\t\t},\n\t\t\"./node\": {\n\t\t\t\"types\": \"./index.d.ts\",\n\t\t\t\"default\": \"./index.js\"\n\t\t}\n\t},\n\t\"sideEffects\": false,\n\t\"engines\": {\n\t\t\"node\": \">=18\"\n\t},\n\t\"scripts\": {\n\t\t\"test\": \"xo && ava && tsd\"\n\t},\n\t\"files\": [\n\t\t\"index.js\",\n\t\t\"index.d.ts\",\n\t\t\"core.js\",\n\t\t\"core.d.ts\",\n\t\t\"supported.js\",\n\t\t\"util.js\"\n\t],\n\t\"keywords\": [\n\t\t\"mime\",\n\t\t\"file\",\n\t\t\"type\",\n\t\t\"magic\",\n\t\t\"archive\",\n\t\t\"image\",\n\t\t\"img\",\n\t\t\"pic\",\n\t\t\"picture\",\n\t\t\"flash\",\n\t\t\"photo\",\n\t\t\"video\",\n\t\t\"detect\",\n\t\t\"check\",\n\t\t\"is\",\n\t\t\"exif\",\n\t\t\"elf\",\n\t\t\"macho\",\n\t\t\"exe\",\n\t\t\"binary\",\n\t\t\"buffer\",\n\t\t\"uint8array\",\n\t\t\"jpg\",\n\t\t\"png\",\n\t\t\"apng\",\n\t\t\"gif\",\n\t\t\"webp\",\n\t\t\"flif\",\n\t\t\"xcf\",\n\t\t\"cr2\",\n\t\t\"cr3\",\n\t\t\"orf\",\n\t\t\"arw\",\n\t\t\"dng\",\n\t\t\"nef\",\n\t\t\"rw2\",\n\t\t\"raf\",\n\t\t\"tif\",\n\t\t\"bmp\",\n\t\t\"icns\",\n\t\t\"jxr\",\n\t\t\"psd\",\n\t\t\"indd\",\n\t\t\"zip\",\n\t\t\"tar\",\n\t\t\"rar\",\n\t\t\"gz\",\n\t\t\"bz2\",\n\t\t\"7z\",\n\t\t\"dmg\",\n\t\t\"mp4\",\n\t\t\"mid\",\n\t\t\"mkv\",\n\t\t\"webm\",\n\t\t\"mov\",\n\t\t\"avi\",\n\t\t\"mpg\",\n\t\t\"mp2\",\n\t\t\"mp3\",\n\t\t\"m4a\",\n\t\t\"ogg\",\n\t\t\"opus\",\n\t\t\"flac\",\n\t\t\"wav\",\n\t\t\"amr\",\n\t\t\"pdf\",\n\t\t\"epub\",\n\t\t\"mobi\",\n\t\t\"swf\",\n\t\t\"rtf\",\n\t\t\"woff\",\n\t\t\"woff2\",\n\t\t\"eot\",\n\t\t\"ttf\",\n\t\t\"otf\",\n\t\t\"ttc\",\n\t\t\"ico\",\n\t\t\"flv\",\n\t\t\"ps\",\n\t\t\"xz\",\n\t\t\"sqlite\",\n\t\t\"xpi\",\n\t\t\"cab\",\n\t\t\"deb\",\n\t\t\"ar\",\n\t\t\"rpm\",\n\t\t\"Z\",\n\t\t\"lz\",\n\t\t\"cfb\",\n\t\t\"mxf\",\n\t\t\"mts\",\n\t\t\"wasm\",\n\t\t\"webassembly\",\n\t\t\"blend\",\n\t\t\"bpg\",\n\t\t\"docx\",\n\t\t\"pptx\",\n\t\t\"xlsx\",\n\t\t\"3gp\",\n\t\t\"j2c\",\n\t\t\"jp2\",\n\t\t\"jpm\",\n\t\t\"jpx\",\n\t\t\"mj2\",\n\t\t\"aif\",\n\t\t\"odt\",\n\t\t\"ods\",\n\t\t\"odp\",\n\t\t\"xml\",\n\t\t\"heic\",\n\t\t\"ics\",\n\t\t\"glb\",\n\t\t\"pcap\",\n\t\t\"dsf\",\n\t\t\"lnk\",\n\t\t\"alias\",\n\t\t\"voc\",\n\t\t\"ac3\",\n\t\t\"3g2\",\n\t\t\"m4b\",\n\t\t\"m4p\",\n\t\t\"m4v\",\n\t\t\"f4a\",\n\t\t\"f4b\",\n\t\t\"f4p\",\n\t\t\"f4v\",\n\t\t\"mie\",\n\t\t\"qcp\",\n\t\t\"asf\",\n\t\t\"ogv\",\n\t\t\"ogm\",\n\t\t\"oga\",\n\t\t\"spx\",\n\t\t\"ogx\",\n\t\t\"ape\",\n\t\t\"wv\",\n\t\t\"cur\",\n\t\t\"nes\",\n\t\t\"crx\",\n\t\t\"ktx\",\n\t\t\"dcm\",\n\t\t\"mpc\",\n\t\t\"arrow\",\n\t\t\"shp\",\n\t\t\"aac\",\n\t\t\"mp1\",\n\t\t\"it\",\n\t\t\"s3m\",\n\t\t\"xm\",\n\t\t\"ai\",\n\t\t\"skp\",\n\t\t\"avif\",\n\t\t\"eps\",\n\t\t\"lzh\",\n\t\t\"pgp\",\n\t\t\"asar\",\n\t\t\"stl\",\n\t\t\"chm\",\n\t\t\"3mf\",\n\t\t\"zst\",\n\t\t\"jxl\",\n\t\t\"vcf\",\n\t\t\"jls\",\n\t\t\"pst\",\n\t\t\"dwg\",\n\t\t\"parquet\",\n\t\t\"class\",\n\t\t\"arj\",\n\t\t\"cpio\",\n\t\t\"ace\",\n\t\t\"avro\",\n\t\t\"icc\",\n\t\t\"fbx\",\n\t\t\"vsdx\",\n\t\t\"vtt\",\n\t\t\"apk\",\n\t\t\"drc\",\n\t\t\"lz4\",\n\t\t\"potx\",\n\t\t\"xltx\",\n\t\t\"dotx\",\n\t\t\"xltm\",\n\t\t\"ots\",\n\t\t\"odg\",\n\t\t\"otg\",\n\t\t\"otp\",\n\t\t\"ott\",\n\t\t\"xlsm\",\n\t\t\"docm\",\n\t\t\"dotm\",\n\t\t\"potm\",\n\t\t\"pptm\",\n\t\t\"jar\",\n\t\t\"rm\"\n\t],\n\t\"dependencies\": {\n\t\t\"@tokenizer/inflate\": \"^0.2.6\",\n\t\t\"strtok3\": \"^10.2.0\",\n\t\t\"token-types\": \"^6.0.0\",\n\t\t\"uint8array-extras\": \"^1.4.0\"\n\t},\n\t\"devDependencies\": {\n\t\t\"@tokenizer/token\": \"^0.3.0\",\n\t\t\"@types/node\": \"^22.10.5\",\n\t\t\"ava\": \"^6.0.1\",\n\t\t\"commonmark\": \"^0.31.2\",\n\t\t\"get-stream\": \"^9.0.1\",\n\t\t\"noop-stream\": \"^1.0.0\",\n\t\t\"tsd\": \"^0.31.2\",\n\t\t\"xo\": \"^0.60.0\"\n\t},\n\t\"xo\": {\n\t\t\"envs\": [\n\t\t\t\"node\",\n\t\t\t\"browser\"\n\t\t],\n\t\t\"ignores\": [\n\t\t\t\"fixture\"\n\t\t],\n\t\t\"rules\": {\n\t\t\t\"no-inner-declarations\": \"warn\",\n\t\t\t\"no-await-in-loop\": \"warn\",\n\t\t\t\"no-bitwise\": \"off\",\n\t\t\t\"@typescript-eslint/no-unsafe-assignment\": \"off\",\n\t\t\t\"unicorn/text-encoding-identifier-case\": \"off\",\n\t\t\t\"unicorn/switch-case-braces\": \"off\",\n\t\t\t\"unicorn/prefer-top-level-await\": \"off\"\n\t\t}\n\t},\n\t\"ava\": {\n\t\t\"serial\": true\n\t}\n}\n",
13369
+ "node_modules/file-uri-to-path/index.d.ts": "declare function fileUriToPath(uri: string): string;\nexport = fileUriToPath;\n",
13370
+ "node_modules/file-uri-to-path/package.json": "{\n \"name\": \"file-uri-to-path\",\n \"version\": \"1.0.0\",\n \"description\": \"Convert a file: URI to a file path\",\n \"main\": \"index.js\",\n \"types\": \"index.d.ts\",\n \"directories\": {\n \"test\": \"test\"\n },\n \"scripts\": {\n \"test\": \"mocha --reporter spec\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git://github.com/TooTallNate/file-uri-to-path.git\"\n },\n \"keywords\": [\n \"file\",\n \"uri\",\n \"convert\",\n \"path\"\n ],\n \"author\": \"Nathan Rajlich <nathan@tootallnate.net> (http://n8.io/)\",\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/TooTallNate/file-uri-to-path/issues\"\n },\n \"homepage\": \"https://github.com/TooTallNate/file-uri-to-path\",\n \"devDependencies\": {\n \"mocha\": \"3\"\n }\n}\n",
13349
13371
  "node_modules/finalhandler/package.json": "{\n \"name\": \"finalhandler\",\n \"description\": \"Node.js final http responder\",\n \"version\": \"2.1.0\",\n \"author\": \"Douglas Christopher Wilson <doug@somethingdoug.com>\",\n \"license\": \"MIT\",\n \"repository\": \"pillarjs/finalhandler\",\n \"dependencies\": {\n \"debug\": \"^4.4.0\",\n \"encodeurl\": \"^2.0.0\",\n \"escape-html\": \"^1.0.3\",\n \"on-finished\": \"^2.4.1\",\n \"parseurl\": \"^1.3.3\",\n \"statuses\": \"^2.0.1\"\n },\n \"devDependencies\": {\n \"eslint\": \"7.32.0\",\n \"eslint-config-standard\": \"14.1.1\",\n \"eslint-plugin-import\": \"2.26.0\",\n \"eslint-plugin-markdown\": \"2.2.1\",\n \"eslint-plugin-node\": \"11.1.0\",\n \"eslint-plugin-promise\": \"5.2.0\",\n \"eslint-plugin-standard\": \"4.1.0\",\n \"mocha\": \"^11.0.1\",\n \"nyc\": \"^17.1.0\",\n \"supertest\": \"^7.0.0\"\n },\n \"files\": [\n \"LICENSE\",\n \"HISTORY.md\",\n \"index.js\"\n ],\n \"engines\": {\n \"node\": \">= 0.8\"\n },\n \"scripts\": {\n \"lint\": \"eslint .\",\n \"test\": \"mocha --reporter spec --check-leaks test/\",\n \"test-ci\": \"nyc --reporter=lcovonly --reporter=text npm test\",\n \"test-cov\": \"nyc --reporter=html --reporter=text npm test\",\n \"test-inspect\": \"mocha --reporter spec --inspect --inspect-brk test/\"\n }\n}\n",
13350
13372
  "node_modules/find-my-way/index.d.ts": "import { IncomingMessage, ServerResponse } from 'http';\nimport { Http2ServerRequest, Http2ServerResponse } from 'http2';\n\ndeclare function Router<V extends Router.HTTPVersion = Router.HTTPVersion.V1>(\n config?: Router.Config<V>\n): Router.Instance<V>;\n\ndeclare namespace Router {\n enum HTTPVersion {\n V1 = 'http1',\n V2 = 'http2'\n }\n\n type HTTPMethod =\n | 'ACL'\n | 'BIND'\n | 'CHECKOUT'\n | 'CONNECT'\n | 'COPY'\n | 'DELETE'\n | 'GET'\n | 'HEAD'\n | 'LINK'\n | 'LOCK'\n | 'M-SEARCH'\n | 'MERGE'\n | 'MKACTIVITY'\n | 'MKCALENDAR'\n | 'MKCOL'\n | 'MOVE'\n | 'NOTIFY'\n | 'OPTIONS'\n | 'PATCH'\n | 'POST'\n | 'PROPFIND'\n | 'PROPPATCH'\n | 'PURGE'\n | 'PUT'\n | 'REBIND'\n | 'REPORT'\n | 'SEARCH'\n | 'SOURCE'\n | 'SUBSCRIBE'\n | 'TRACE'\n | 'UNBIND'\n | 'UNLINK'\n | 'UNLOCK'\n | 'UNSUBSCRIBE';\n\n type Req<V> = V extends HTTPVersion.V1 ? IncomingMessage : Http2ServerRequest;\n type Res<V> = V extends HTTPVersion.V1 ? ServerResponse : Http2ServerResponse;\n\n type Handler<V extends HTTPVersion> = (\n req: Req<V>,\n res: Res<V>,\n params: { [k: string]: string | undefined },\n store: any,\n searchParams: { [k: string]: string }\n ) => any;\n\n type Done = (err: Error | null, result: any) => void;\n\n interface ConstraintStrategy<V extends HTTPVersion, T = string> {\n name: string,\n mustMatchWhenDerived?: boolean,\n storage() : {\n get(value: T) : Handler<V> | null,\n set(value: T, handler: Handler<V>) : void,\n del?(value: T) : void,\n empty?() : void\n },\n validate?(value: unknown): void,\n deriveConstraint<Context>(req: Req<V>, ctx?: Context) : T,\n }\n\n type QuerystringParser = (s: string) => unknown;\n\n interface Config<V extends HTTPVersion> {\n ignoreTrailingSlash?: boolean;\n\n ignoreDuplicateSlashes?: boolean;\n\n allowUnsafeRegex?: boolean;\n\n caseSensitive?: boolean;\n\n maxParamLength?: number;\n\n querystringParser?: QuerystringParser;\n\n defaultRoute?(\n req: Req<V>,\n res: Res<V>\n ): void;\n\n onBadUrl?(\n path: string,\n req: Req<V>,\n res: Res<V>\n ): void;\n\n constraints? : {\n [key: string]: ConstraintStrategy<V>\n }\n }\n\n interface RouteOptions {\n constraints?: { [key: string]: any }\n }\n\n interface ShortHandRoute<V extends HTTPVersion> {\n (path: string, handler: Handler<V>): void;\n (path: string, opts: RouteOptions, handler: Handler<V>): void;\n (path: string, handler: Handler<V>, store: any): void;\n (path: string, opts: RouteOptions, handler: Handler<V>, store: any): void;\n }\n\n interface FindResult<V extends HTTPVersion> {\n handler: Handler<V>;\n params: { [k: string]: string | undefined };\n store: any;\n searchParams: { [k: string]: string };\n }\n\n interface FindRouteResult<V extends HTTPVersion> {\n handler: Handler<V>;\n store: any;\n params: string[];\n }\n\n interface Instance<V extends HTTPVersion> {\n on(\n method: HTTPMethod | HTTPMethod[],\n path: string,\n handler: Handler<V>\n ): void;\n on(\n method: HTTPMethod | HTTPMethod[],\n path: string,\n options: RouteOptions,\n handler: Handler<V>\n ): void;\n on(\n method: HTTPMethod | HTTPMethod[],\n path: string,\n handler: Handler<V>,\n store: any\n ): void;\n on(\n method: HTTPMethod | HTTPMethod[],\n path: string,\n options: RouteOptions,\n handler: Handler<V>,\n store: any\n ): void;\n off(\n method: HTTPMethod | HTTPMethod[],\n path: string,\n constraints?: { [key: string]: any }\n ): void;\n\n lookup<Context>(\n req: Req<V>,\n res: Res<V>,\n ctx?: Context | Done,\n done?: Done\n ): any;\n\n find(\n method: HTTPMethod,\n path: string,\n constraints?: { [key: string]: any }\n ): FindResult<V> | null;\n\n findRoute(\n method: HTTPMethod,\n path: string,\n constraints?: { [key: string]: any }\n ): FindRouteResult<V> | null;\n\n hasRoute(\n method: HTTPMethod,\n path: string,\n constraints?: { [key: string]: any }\n ): boolean;\n\n reset(): void;\n prettyPrint(): string;\n prettyPrint(opts: {\n method?: HTTPMethod,\n commonPrefix?: boolean,\n includeMeta?: boolean | (string | symbol)[]\n }): string;\n\n hasConstraintStrategy(strategyName: string): boolean;\n addConstraintStrategy(constraintStrategy: ConstraintStrategy<V>): void;\n\n all: ShortHandRoute<V>;\n\n acl: ShortHandRoute<V>;\n bind: ShortHandRoute<V>;\n checkout: ShortHandRoute<V>;\n connect: ShortHandRoute<V>;\n copy: ShortHandRoute<V>;\n delete: ShortHandRoute<V>;\n get: ShortHandRoute<V>;\n head: ShortHandRoute<V>;\n link: ShortHandRoute<V>;\n lock: ShortHandRoute<V>;\n 'm-search': ShortHandRoute<V>;\n merge: ShortHandRoute<V>;\n mkactivity: ShortHandRoute<V>;\n mkcalendar: ShortHandRoute<V>;\n mkcol: ShortHandRoute<V>;\n move: ShortHandRoute<V>;\n notify: ShortHandRoute<V>;\n options: ShortHandRoute<V>;\n patch: ShortHandRoute<V>;\n post: ShortHandRoute<V>;\n propfind: ShortHandRoute<V>;\n proppatch: ShortHandRoute<V>;\n purge: ShortHandRoute<V>;\n put: ShortHandRoute<V>;\n rebind: ShortHandRoute<V>;\n report: ShortHandRoute<V>;\n search: ShortHandRoute<V>;\n source: ShortHandRoute<V>;\n subscribe: ShortHandRoute<V>;\n trace: ShortHandRoute<V>;\n unbind: ShortHandRoute<V>;\n unlink: ShortHandRoute<V>;\n unlock: ShortHandRoute<V>;\n unsubscribe: ShortHandRoute<V>;\n }\n}\n\nexport = Router;\n",
13351
13373
  "node_modules/find-my-way/package.json": "{\n \"name\": \"find-my-way\",\n \"version\": \"9.3.0\",\n \"description\": \"Crazy fast http radix based router\",\n \"main\": \"index.js\",\n \"type\": \"commonjs\",\n \"types\": \"index.d.ts\",\n \"scripts\": {\n \"bench\": \"node ./benchmark/bench.js\",\n \"bench:cmp\": \"node ./benchmark/compare-branches.js\",\n \"bench:cmp:ci\": \"node ./benchmark/compare-branches.js --ci\",\n \"test:lint\": \"standard\",\n \"test:typescript\": \"tsd\",\n \"test\": \"standard && borp && npm run test:typescript\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/delvedor/find-my-way.git\"\n },\n \"keywords\": [\n \"http\",\n \"router\",\n \"radix\",\n \"fast\",\n \"speed\"\n ],\n \"engines\": {\n \"node\": \">=20\"\n },\n \"author\": \"Tomas Della Vedova - @delvedor (http://delved.org)\",\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/delvedor/find-my-way/issues\"\n },\n \"homepage\": \"https://github.com/delvedor/find-my-way#readme\",\n \"devDependencies\": {\n \"@types/node\": \"^22.10.2\",\n \"benchmark\": \"^2.1.4\",\n \"borp\": \"^0.19.0\",\n \"chalk\": \"^5.4.1\",\n \"inquirer\": \"^12.3.0\",\n \"pre-commit\": \"^1.2.2\",\n \"proxyquire\": \"^2.1.3\",\n \"rfdc\": \"^1.3.0\",\n \"simple-git\": \"^3.7.1\",\n \"standard\": \"^17.0.0\",\n \"tsd\": \"^0.31.0\"\n },\n \"dependencies\": {\n \"fast-deep-equal\": \"^3.1.3\",\n \"fast-querystring\": \"^1.0.0\",\n \"safe-regex2\": \"^5.0.0\"\n },\n \"tsd\": {\n \"directory\": \"test/types\"\n }\n}\n",
@@ -13375,6 +13397,7 @@
13375
13397
  "node_modules/foreground-child/node_modules/signal-exit/package.json": "{\n \"name\": \"signal-exit\",\n \"version\": \"4.1.0\",\n \"description\": \"when you want to fire an event no matter how a process exits.\",\n \"main\": \"./dist/cjs/index.js\",\n \"module\": \"./dist/mjs/index.js\",\n \"browser\": \"./dist/mjs/browser.js\",\n \"types\": \"./dist/mjs/index.d.ts\",\n \"exports\": {\n \".\": {\n \"import\": {\n \"types\": \"./dist/mjs/index.d.ts\",\n \"default\": \"./dist/mjs/index.js\"\n },\n \"require\": {\n \"types\": \"./dist/cjs/index.d.ts\",\n \"default\": \"./dist/cjs/index.js\"\n }\n },\n \"./signals\": {\n \"import\": {\n \"types\": \"./dist/mjs/signals.d.ts\",\n \"default\": \"./dist/mjs/signals.js\"\n },\n \"require\": {\n \"types\": \"./dist/cjs/signals.d.ts\",\n \"default\": \"./dist/cjs/signals.js\"\n }\n },\n \"./browser\": {\n \"import\": {\n \"types\": \"./dist/mjs/browser.d.ts\",\n \"default\": \"./dist/mjs/browser.js\"\n },\n \"require\": {\n \"types\": \"./dist/cjs/browser.d.ts\",\n \"default\": \"./dist/cjs/browser.js\"\n }\n }\n },\n \"files\": [\n \"dist\"\n ],\n \"engines\": {\n \"node\": \">=14\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/tapjs/signal-exit.git\"\n },\n \"keywords\": [\n \"signal\",\n \"exit\"\n ],\n \"author\": \"Ben Coe <ben@npmjs.com>\",\n \"license\": \"ISC\",\n \"devDependencies\": {\n \"@types/cross-spawn\": \"^6.0.2\",\n \"@types/node\": \"^18.15.11\",\n \"@types/signal-exit\": \"^3.0.1\",\n \"@types/tap\": \"^15.0.8\",\n \"c8\": \"^7.13.0\",\n \"prettier\": \"^2.8.6\",\n \"tap\": \"^16.3.4\",\n \"ts-node\": \"^10.9.1\",\n \"typedoc\": \"^0.23.28\",\n \"typescript\": \"^5.0.2\"\n },\n \"scripts\": {\n \"preversion\": \"npm test\",\n \"postversion\": \"npm publish\",\n \"prepublishOnly\": \"git push origin --follow-tags\",\n \"preprepare\": \"rm -rf dist\",\n \"prepare\": \"tsc -p tsconfig.json && tsc -p tsconfig-esm.json && bash ./scripts/fixup.sh\",\n \"pretest\": \"npm run prepare\",\n \"presnap\": \"npm run prepare\",\n \"test\": \"c8 tap\",\n \"snap\": \"c8 tap\",\n \"format\": \"prettier --write . --loglevel warn\",\n \"typedoc\": \"typedoc --tsconfig tsconfig-esm.json ./src/*.ts\"\n },\n \"prettier\": {\n \"semi\": false,\n \"printWidth\": 75,\n \"tabWidth\": 2,\n \"useTabs\": false,\n \"singleQuote\": true,\n \"jsxSingleQuote\": false,\n \"bracketSameLine\": true,\n \"arrowParens\": \"avoid\",\n \"endOfLine\": \"lf\"\n },\n \"tap\": {\n \"coverage\": false,\n \"jobs\": 1,\n \"node-arg\": [\n \"--no-warnings\",\n \"--loader\",\n \"ts-node/esm\"\n ],\n \"ts\": false\n },\n \"funding\": {\n \"url\": \"https://github.com/sponsors/isaacs\"\n }\n}\n",
13376
13398
  "node_modules/forwarded/package.json": "{\n \"name\": \"forwarded\",\n \"description\": \"Parse HTTP X-Forwarded-For header\",\n \"version\": \"0.2.0\",\n \"contributors\": [\n \"Douglas Christopher Wilson <doug@somethingdoug.com>\"\n ],\n \"license\": \"MIT\",\n \"keywords\": [\n \"x-forwarded-for\",\n \"http\",\n \"req\"\n ],\n \"repository\": \"jshttp/forwarded\",\n \"devDependencies\": {\n \"beautify-benchmark\": \"0.2.4\",\n \"benchmark\": \"2.1.4\",\n \"deep-equal\": \"1.0.1\",\n \"eslint\": \"7.27.0\",\n \"eslint-config-standard\": \"14.1.1\",\n \"eslint-plugin-import\": \"2.23.4\",\n \"eslint-plugin-node\": \"11.1.0\",\n \"eslint-plugin-promise\": \"4.3.1\",\n \"eslint-plugin-standard\": \"4.1.0\",\n \"mocha\": \"8.4.0\",\n \"nyc\": \"15.1.0\"\n },\n \"files\": [\n \"LICENSE\",\n \"HISTORY.md\",\n \"README.md\",\n \"index.js\"\n ],\n \"engines\": {\n \"node\": \">= 0.6\"\n },\n \"scripts\": {\n \"bench\": \"node benchmark/index.js\",\n \"lint\": \"eslint .\",\n \"test\": \"mocha --reporter spec --bail --check-leaks test/\",\n \"test-ci\": \"nyc --reporter=lcov --reporter=text npm test\",\n \"test-cov\": \"nyc --reporter=html --reporter=text npm test\",\n \"version\": \"node scripts/version-history.js && git add HISTORY.md\"\n }\n}\n",
13377
13399
  "node_modules/fresh/package.json": "{\n \"name\": \"fresh\",\n \"description\": \"HTTP response freshness testing\",\n \"version\": \"2.0.0\",\n \"author\": \"TJ Holowaychuk <tj@vision-media.ca> (http://tjholowaychuk.com)\",\n \"contributors\": [\n \"Douglas Christopher Wilson <doug@somethingdoug.com>\",\n \"Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)\"\n ],\n \"license\": \"MIT\",\n \"keywords\": [\n \"fresh\",\n \"http\",\n \"conditional\",\n \"cache\"\n ],\n \"repository\": \"jshttp/fresh\",\n \"devDependencies\": {\n \"beautify-benchmark\": \"0.2.4\",\n \"benchmark\": \"2.1.4\",\n \"eslint\": \"8.12.0\",\n \"eslint-config-standard\": \"14.1.1\",\n \"eslint-plugin-import\": \"2.25.4\",\n \"eslint-plugin-markdown\": \"2.2.1\",\n \"eslint-plugin-node\": \"11.1.0\",\n \"eslint-plugin-promise\": \"6.0.0\",\n \"eslint-plugin-standard\": \"4.1.0\",\n \"mocha\": \"9.2.0\",\n \"nyc\": \"15.1.0\"\n },\n \"files\": [\n \"HISTORY.md\",\n \"LICENSE\",\n \"index.js\"\n ],\n \"engines\": {\n \"node\": \">= 0.8\"\n },\n \"scripts\": {\n \"bench\": \"node benchmark/index.js\",\n \"lint\": \"eslint .\",\n \"test\": \"mocha --reporter spec --check-leaks --bail test/\",\n \"test-ci\": \"nyc --reporter=lcov --reporter=text npm test\",\n \"test-cov\": \"nyc --reporter=html --reporter=text npm test\"\n }\n}\n",
13400
+ "node_modules/fs-constants/package.json": "{\n \"name\": \"fs-constants\",\n \"version\": \"1.0.0\",\n \"description\": \"Require constants across node and the browser\",\n \"main\": \"index.js\",\n \"browser\": \"browser.js\",\n \"dependencies\": {},\n \"devDependencies\": {},\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/mafintosh/fs-constants.git\"\n },\n \"author\": \"Mathias Buus (@mafintosh)\",\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/mafintosh/fs-constants/issues\"\n },\n \"homepage\": \"https://github.com/mafintosh/fs-constants\"\n}\n",
13378
13401
  "node_modules/fs.realpath/package.json": "{\n \"name\": \"fs.realpath\",\n \"version\": \"1.0.0\",\n \"description\": \"Use node's fs.realpath, but fall back to the JS implementation if the native one fails\",\n \"main\": \"index.js\",\n \"dependencies\": {},\n \"devDependencies\": {},\n \"scripts\": {\n \"test\": \"tap test/*.js --cov\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/isaacs/fs.realpath.git\"\n },\n \"keywords\": [\n \"realpath\",\n \"fs\",\n \"polyfill\"\n ],\n \"author\": \"Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)\",\n \"license\": \"ISC\",\n \"files\": [\n \"old.js\",\n \"index.js\"\n ]\n}\n",
13379
13402
  "node_modules/function-bind/package.json": "{\n \"name\": \"function-bind\",\n \"version\": \"1.1.2\",\n \"description\": \"Implementation of Function.prototype.bind\",\n \"keywords\": [\n \"function\",\n \"bind\",\n \"shim\",\n \"es5\"\n ],\n \"author\": \"Raynos <raynos2@gmail.com>\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/Raynos/function-bind.git\"\n },\n \"funding\": {\n \"url\": \"https://github.com/sponsors/ljharb\"\n },\n \"main\": \"index\",\n \"homepage\": \"https://github.com/Raynos/function-bind\",\n \"contributors\": [\n {\n \"name\": \"Raynos\"\n },\n {\n \"name\": \"Jordan Harband\",\n \"url\": \"https://github.com/ljharb\"\n }\n ],\n \"bugs\": {\n \"url\": \"https://github.com/Raynos/function-bind/issues\",\n \"email\": \"raynos2@gmail.com\"\n },\n \"devDependencies\": {\n \"@ljharb/eslint-config\": \"^21.1.0\",\n \"aud\": \"^2.0.3\",\n \"auto-changelog\": \"^2.4.0\",\n \"eslint\": \"=8.8.0\",\n \"in-publish\": \"^2.0.1\",\n \"npmignore\": \"^0.3.0\",\n \"nyc\": \"^10.3.2\",\n \"safe-publish-latest\": \"^2.0.0\",\n \"tape\": \"^5.7.1\"\n },\n \"license\": \"MIT\",\n \"scripts\": {\n \"prepublishOnly\": \"safe-publish-latest\",\n \"prepublish\": \"not-in-publish || npm run prepublishOnly\",\n \"prepack\": \"npmignore --auto --commentLines=autogenerated\",\n \"pretest\": \"npm run lint\",\n \"test\": \"npm run tests-only\",\n \"posttest\": \"aud --production\",\n \"tests-only\": \"nyc tape 'test/**/*.js'\",\n \"lint\": \"eslint --ext=js,mjs .\",\n \"version\": \"auto-changelog && git add CHANGELOG.md\",\n \"postversion\": \"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \\\"v$(node -e \\\"console.log(require('./package.json').version)\\\")\\\"\"\n },\n \"testling\": {\n \"files\": \"test/index.js\",\n \"browsers\": [\n \"ie/8..latest\",\n \"firefox/16..latest\",\n \"firefox/nightly\",\n \"chrome/22..latest\",\n \"chrome/canary\",\n \"opera/12..latest\",\n \"opera/next\",\n \"safari/5.1..latest\",\n \"ipad/6.0..latest\",\n \"iphone/6.0..latest\",\n \"android-browser/4.2..latest\"\n ]\n },\n \"auto-changelog\": {\n \"output\": \"CHANGELOG.md\",\n \"template\": \"keepachangelog\",\n \"unreleased\": false,\n \"commitLimit\": false,\n \"backfillLimit\": false,\n \"hideCredit\": true\n },\n \"publishConfig\": {\n \"ignore\": [\n \".github/workflows\"\n ]\n }\n}\n",
13380
13403
  "node_modules/semver/package.json": "{\n \"name\": \"semver\",\n \"version\": \"7.7.1\",\n \"description\": \"The semantic version parser used by npm.\",\n \"main\": \"index.js\",\n \"scripts\": {\n \"test\": \"tap\",\n \"snap\": \"tap\",\n \"lint\": \"npm run eslint\",\n \"postlint\": \"template-oss-check\",\n \"lintfix\": \"npm run eslint -- --fix\",\n \"posttest\": \"npm run lint\",\n \"template-oss-apply\": \"template-oss-apply --force\",\n \"eslint\": \"eslint \\\"**/*.{js,cjs,ts,mjs,jsx,tsx}\\\"\"\n },\n \"devDependencies\": {\n \"@npmcli/eslint-config\": \"^5.0.0\",\n \"@npmcli/template-oss\": \"4.23.4\",\n \"benchmark\": \"^2.1.4\",\n \"tap\": \"^16.0.0\"\n },\n \"license\": \"ISC\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/npm/node-semver.git\"\n },\n \"bin\": {\n \"semver\": \"bin/semver.js\"\n },\n \"files\": [\n \"bin/\",\n \"lib/\",\n \"classes/\",\n \"functions/\",\n \"internal/\",\n \"ranges/\",\n \"index.js\",\n \"preload.js\",\n \"range.bnf\"\n ],\n \"tap\": {\n \"timeout\": 30,\n \"coverage-map\": \"map.js\",\n \"nyc-arg\": [\n \"--exclude\",\n \"tap-snapshots/**\"\n ]\n },\n \"engines\": {\n \"node\": \">=10\"\n },\n \"author\": \"GitHub Inc.\",\n \"templateOSS\": {\n \"//@npmcli/template-oss\": \"This file is partially managed by @npmcli/template-oss. Edits may be overwritten.\",\n \"version\": \"4.23.4\",\n \"engines\": \">=10\",\n \"distPaths\": [\n \"classes/\",\n \"functions/\",\n \"internal/\",\n \"ranges/\",\n \"index.js\",\n \"preload.js\",\n \"range.bnf\"\n ],\n \"allowPaths\": [\n \"/classes/\",\n \"/functions/\",\n \"/internal/\",\n \"/ranges/\",\n \"/index.js\",\n \"/preload.js\",\n \"/range.bnf\",\n \"/benchmarks\"\n ],\n \"publish\": \"true\"\n }\n}\n",
@@ -13387,6 +13410,7 @@
13387
13410
  "node_modules/get-proto/package.json": "{\n\t\"name\": \"get-proto\",\n\t\"version\": \"1.0.1\",\n\t\"description\": \"Robustly get the [[Prototype]] of an object\",\n\t\"main\": \"index.js\",\n\t\"exports\": {\n\t\t\".\": \"./index.js\",\n\t\t\"./Reflect.getPrototypeOf\": \"./Reflect.getPrototypeOf.js\",\n\t\t\"./Object.getPrototypeOf\": \"./Object.getPrototypeOf.js\",\n\t\t\"./package.json\": \"./package.json\"\n\t},\n\t\"scripts\": {\n\t\t\"prepack\": \"npmignore --auto --commentLines=autogenerated\",\n\t\t\"prepublish\": \"not-in-publish || npm run prepublishOnly\",\n\t\t\"prepublishOnly\": \"safe-publish-latest\",\n\t\t\"pretest\": \"npm run --silent lint\",\n\t\t\"test\": \"npm run tests-only\",\n\t\t\"posttest\": \"npx npm@\\\">=10.2\\\" audit --production\",\n\t\t\"tests-only\": \"nyc tape 'test/**/*.js'\",\n\t\t\"prelint\": \"evalmd README.md\",\n\t\t\"lint\": \"eslint --ext=js,mjs .\",\n\t\t\"postlint\": \"tsc && attw -P\",\n\t\t\"version\": \"auto-changelog && git add CHANGELOG.md\",\n\t\t\"postversion\": \"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \\\"v$(node -e \\\"console.log(require('./package.json').version)\\\")\\\"\"\n\t},\n\t\"repository\": {\n\t\t\"type\": \"git\",\n\t\t\"url\": \"git+https://github.com/ljharb/get-proto.git\"\n\t},\n\t\"keywords\": [\n\t\t\"get\",\n\t\t\"proto\",\n\t\t\"prototype\",\n\t\t\"getPrototypeOf\",\n\t\t\"[[Prototype]]\"\n\t],\n\t\"author\": \"Jordan Harband <ljharb@gmail.com>\",\n\t\"license\": \"MIT\",\n\t\"bugs\": {\n\t\t\"url\": \"https://github.com/ljharb/get-proto/issues\"\n\t},\n\t\"homepage\": \"https://github.com/ljharb/get-proto#readme\",\n\t\"dependencies\": {\n\t\t\"dunder-proto\": \"^1.0.1\",\n\t\t\"es-object-atoms\": \"^1.0.0\"\n\t},\n\t\"devDependencies\": {\n\t\t\"@arethetypeswrong/cli\": \"^0.17.2\",\n\t\t\"@ljharb/eslint-config\": \"^21.1.1\",\n\t\t\"@ljharb/tsconfig\": \"^0.2.3\",\n\t\t\"@types/tape\": \"^5.8.0\",\n\t\t\"auto-changelog\": \"^2.5.0\",\n\t\t\"eslint\": \"=8.8.0\",\n\t\t\"evalmd\": \"^0.0.19\",\n\t\t\"in-publish\": \"^2.0.1\",\n\t\t\"npmignore\": \"^0.3.1\",\n\t\t\"nyc\": \"^10.3.2\",\n\t\t\"safe-publish-latest\": \"^2.0.0\",\n\t\t\"tape\": \"^5.9.0\",\n\t\t\"typescript\": \"next\"\n\t},\n\t\"engines\": {\n\t\t\"node\": \">= 0.4\"\n\t},\n\t\"auto-changelog\": {\n\t\t\"output\": \"CHANGELOG.md\",\n\t\t\"template\": \"keepachangelog\",\n\t\t\"unreleased\": false,\n\t\t\"commitLimit\": false,\n\t\t\"backfillLimit\": false,\n\t\t\"hideCredit\": true\n\t},\n\t\"publishConfig\": {\n\t\t\"ignore\": [\n\t\t\t\".github/workflows\"\n\t\t]\n\t},\n\t\"testling\": {\n\t\t\"files\": \"test/index.js\"\n\t}\n}\n",
13388
13411
  "node_modules/git-last-commit/index.d.ts": "export interface Commit {\n shortHash: string;\n hash: string;\n subject: string;\n sanitizedSubject: string;\n body: string;\n authoredOn: string;\n committedOn: string;\n author: {\n name: string;\n email: string;\n },\n committer: {\n name: string;\n email: string;\n },\n notes?: string;\n branch: string;\n tags: string[];\n}\nexport interface Options {\n dst: string;\n}\n\ntype GetLastCommitCallback = (err: Error, commit: Commit) => void;\n\nexport const getLastCommit: (callback: GetLastCommitCallback, options?: Options) => void;\n",
13389
13412
  "node_modules/git-last-commit/package.json": "{\n \"name\": \"git-last-commit\",\n \"version\": \"1.0.1\",\n \"description\": \"Read details of the last commit including tags\",\n \"main\": \"./source/index.js\",\n \"scripts\": {\n \"test\": \"node_modules/.bin/mocha\",\n \"lint\": \"node_modules/.bin/eslint source/**\",\n \"coverage\": \"node_modules/.bin/nyc npm run test\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/seymen/git-last-commit\"\n },\n \"keywords\": [\n \"git\",\n \"commit\",\n \"history\",\n \"log\"\n ],\n \"author\": \"Ozan Seymen\",\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/seymen/git-last-commit/issues\"\n },\n \"homepage\": \"https://github.com/seymen/git-last-commit\",\n \"devDependencies\": {\n \"chai\": \"^4\",\n \"mocha\": \"^6\",\n \"eslint\": \"^6\",\n \"nyc\": \"^14.1.1\",\n \"sinon\": \"^7\"\n }\n}\n",
13413
+ "node_modules/github-from-package/package.json": "{\n \"name\" : \"github-from-package\",\n \"version\" : \"0.0.0\",\n \"description\" : \"return the github url from a package.json file\",\n \"main\" : \"index.js\",\n \"devDependencies\" : {\n \"tap\" : \"~0.3.0\",\n \"tape\" : \"~0.1.5\"\n },\n \"scripts\" : {\n \"test\" : \"tap test/*.js\"\n },\n \"repository\" : {\n \"type\" : \"git\",\n \"url\" : \"git://github.com/substack/github-from-package.git\"\n },\n \"homepage\" : \"https://github.com/substack/github-from-package\",\n \"keywords\" : [\n \"github\",\n \"package.json\",\n \"npm\",\n \"repository\"\n ],\n \"author\" : {\n \"name\" : \"James Halliday\",\n \"email\" : \"mail@substack.net\",\n \"url\" : \"http://substack.net\"\n },\n \"license\" : \"MIT\"\n}\n",
13390
13414
  "node_modules/globals/package.json": "{\n\t\"name\": \"globals\",\n\t\"version\": \"11.12.0\",\n\t\"description\": \"Global identifiers from different JavaScript environments\",\n\t\"license\": \"MIT\",\n\t\"repository\": \"sindresorhus/globals\",\n\t\"author\": {\n\t\t\"name\": \"Sindre Sorhus\",\n\t\t\"email\": \"sindresorhus@gmail.com\",\n\t\t\"url\": \"sindresorhus.com\"\n\t},\n\t\"engines\": {\n\t\t\"node\": \">=4\"\n\t},\n\t\"scripts\": {\n\t\t\"test\": \"xo && ava\"\n\t},\n\t\"files\": [\n\t\t\"index.js\",\n\t\t\"globals.json\"\n\t],\n\t\"keywords\": [\n\t\t\"globals\",\n\t\t\"global\",\n\t\t\"identifiers\",\n\t\t\"variables\",\n\t\t\"vars\",\n\t\t\"jshint\",\n\t\t\"eslint\",\n\t\t\"environments\"\n\t],\n\t\"devDependencies\": {\n\t\t\"ava\": \"0.21.0\",\n\t\t\"xo\": \"0.18.0\"\n\t},\n\t\"xo\": {\n\t\t\"ignores\": [\n\t\t\t\"get-browser-globals.js\"\n\t\t]\n\t}\n}\n",
13391
13415
  "node_modules/gopd/gOPD.d.ts": "export = Object.getOwnPropertyDescriptor;\n",
13392
13416
  "node_modules/gopd/index.d.ts": "declare function gOPD<O extends object, K extends keyof O>(obj: O, prop: K): PropertyDescriptor | undefined;\n\ndeclare const fn: typeof gOPD | undefined | null;\n\nexport = fn;",
@@ -13412,6 +13436,7 @@
13412
13436
  "node_modules/import2/package.json": "{\n \"name\": \"import2\",\n \"version\": \"1.0.3\",\n \"description\": \"Dynamic import function which can avoid transpiling to require function\",\n \"typings\": \"./index.d.ts\",\n \"main\": \"index.js\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/samchon/import2\"\n },\n \"keywords\": [\n \"import\",\n \"require\",\n \"avoid\",\n \"transpile\",\n \"typescript\"\n ],\n \"author\": \"Jeongho Nam\",\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/samchon/import2/issues\"\n },\n \"homepage\": \"https://github.com/samchon/import2#readme\"\n}\n",
13413
13437
  "node_modules/inflight/package.json": "{\n \"name\": \"inflight\",\n \"version\": \"1.0.6\",\n \"description\": \"Add callbacks to requests in flight to avoid async duplication\",\n \"main\": \"inflight.js\",\n \"files\": [\n \"inflight.js\"\n ],\n \"dependencies\": {\n \"once\": \"^1.3.0\",\n \"wrappy\": \"1\"\n },\n \"devDependencies\": {\n \"tap\": \"^7.1.2\"\n },\n \"scripts\": {\n \"test\": \"tap test.js --100\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/npm/inflight.git\"\n },\n \"author\": \"Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)\",\n \"bugs\": {\n \"url\": \"https://github.com/isaacs/inflight/issues\"\n },\n \"homepage\": \"https://github.com/isaacs/inflight\",\n \"license\": \"ISC\"\n}\n",
13414
13438
  "node_modules/inherits/package.json": "{\n \"name\": \"inherits\",\n \"description\": \"Browser-friendly inheritance fully compatible with standard node.js inherits()\",\n \"version\": \"2.0.4\",\n \"keywords\": [\n \"inheritance\",\n \"class\",\n \"klass\",\n \"oop\",\n \"object-oriented\",\n \"inherits\",\n \"browser\",\n \"browserify\"\n ],\n \"main\": \"./inherits.js\",\n \"browser\": \"./inherits_browser.js\",\n \"repository\": \"git://github.com/isaacs/inherits\",\n \"license\": \"ISC\",\n \"scripts\": {\n \"test\": \"tap\"\n },\n \"devDependencies\": {\n \"tap\": \"^14.2.4\"\n },\n \"files\": [\n \"inherits.js\",\n \"inherits_browser.js\"\n ]\n}\n",
13439
+ "node_modules/ini/package.json": "{\n \"author\": \"Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)\",\n \"name\": \"ini\",\n \"description\": \"An ini encoder/decoder for node\",\n \"version\": \"1.3.8\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git://github.com/isaacs/ini.git\"\n },\n \"main\": \"ini.js\",\n \"scripts\": {\n \"eslint\": \"eslint\",\n \"lint\": \"npm run eslint -- ini.js test/*.js\",\n \"lintfix\": \"npm run lint -- --fix\",\n \"test\": \"tap\",\n \"posttest\": \"npm run lint\",\n \"preversion\": \"npm test\",\n \"postversion\": \"npm publish\",\n \"prepublishOnly\": \"git push origin --follow-tags\"\n },\n \"devDependencies\": {\n \"eslint\": \"^7.9.0\",\n \"eslint-plugin-import\": \"^2.22.0\",\n \"eslint-plugin-node\": \"^11.1.0\",\n \"eslint-plugin-promise\": \"^4.2.1\",\n \"eslint-plugin-standard\": \"^4.0.1\",\n \"tap\": \"14\"\n },\n \"license\": \"ISC\",\n \"files\": [\n \"ini.js\"\n ]\n}\n",
13415
13440
  "node_modules/inquirer/package.json": "{\n \"name\": \"inquirer\",\n \"version\": \"8.2.5\",\n \"description\": \"A collection of common interactive command line user interfaces.\",\n \"author\": \"Simon Boudrias <admin@simonboudrias.com>\",\n \"files\": [\n \"lib\",\n \"README.md\"\n ],\n \"main\": \"lib/inquirer.js\",\n \"keywords\": [\n \"command\",\n \"prompt\",\n \"stdin\",\n \"cli\",\n \"tty\",\n \"menu\"\n ],\n \"engines\": {\n \"node\": \">=12.0.0\"\n },\n \"devDependencies\": {\n \"chai\": \"^4.3.6\",\n \"chai-string\": \"^1.5.0\",\n \"chalk-pipe\": \"^5.1.1\",\n \"cmdify\": \"^0.0.4\",\n \"mocha\": \"^9.2.2\",\n \"mockery\": \"^2.1.0\",\n \"nyc\": \"^15.0.0\",\n \"sinon\": \"^13.0.2\",\n \"terminal-link\": \"^2.1.1\"\n },\n \"scripts\": {\n \"test\": \"nyc mocha test/**/* -r ./test/before\",\n \"posttest\": \"nyc report --reporter=text-lcov > ../../coverage/nyc-report.lcov\",\n \"prepublishOnly\": \"cp ../../README.md .\",\n \"postpublish\": \"rm -f README.md\"\n },\n \"repository\": \"SBoudrias/Inquirer.js\",\n \"license\": \"MIT\",\n \"dependencies\": {\n \"ansi-escapes\": \"^4.2.1\",\n \"chalk\": \"^4.1.1\",\n \"cli-cursor\": \"^3.1.0\",\n \"cli-width\": \"^3.0.0\",\n \"external-editor\": \"^3.0.3\",\n \"figures\": \"^3.0.0\",\n \"lodash\": \"^4.17.21\",\n \"mute-stream\": \"0.0.8\",\n \"ora\": \"^5.4.1\",\n \"run-async\": \"^2.4.0\",\n \"rxjs\": \"^7.5.5\",\n \"string-width\": \"^4.1.0\",\n \"strip-ansi\": \"^6.0.0\",\n \"through\": \"^2.3.6\",\n \"wrap-ansi\": \"^7.0.0\"\n },\n \"gitHead\": \"7a2ade6cf6a3d987f4138c0426493460f6b2515f\"\n}\n",
13416
13441
  "node_modules/ipaddr.js/lib/ipaddr.js.d.ts": "declare module \"ipaddr.js\" {\n type IPv4Range = 'unicast' | 'unspecified' | 'broadcast' | 'multicast' | 'linkLocal' | 'loopback' | 'carrierGradeNat' | 'private' | 'reserved';\n type IPv6Range = 'unicast' | 'unspecified' | 'linkLocal' | 'multicast' | 'loopback' | 'uniqueLocal' | 'ipv4Mapped' | 'rfc6145' | 'rfc6052' | '6to4' | 'teredo' | 'reserved';\n\n interface RangeList<T> {\n [name: string]: [T, number] | [T, number][];\n }\n\n // Common methods/properties for IPv4 and IPv6 classes.\n class IP {\n prefixLengthFromSubnetMask(): number | null;\n toByteArray(): number[];\n toNormalizedString(): string;\n toString(): string;\n }\n\n namespace Address {\n export function isValid(addr: string): boolean;\n export function fromByteArray(bytes: number[]): IPv4 | IPv6;\n export function parse(addr: string): IPv4 | IPv6;\n export function parseCIDR(mask: string): [IPv4 | IPv6, number];\n export function process(addr: string): IPv4 | IPv6;\n export function subnetMatch(addr: IPv4, rangeList: RangeList<IPv4>, defaultName?: string): string;\n export function subnetMatch(addr: IPv6, rangeList: RangeList<IPv6>, defaultName?: string): string;\n\n export class IPv4 extends IP {\n static broadcastAddressFromCIDR(addr: string): IPv4;\n static isIPv4(addr: string): boolean;\n static isValidFourPartDecimal(addr: string): boolean;\n static isValid(addr: string): boolean;\n static networkAddressFromCIDR(addr: string): IPv4;\n static parse(addr: string): IPv4;\n static parseCIDR(addr: string): [IPv4, number];\n static subnetMaskFromPrefixLength(prefix: number): IPv4;\n constructor(octets: number[]);\n octets: number[]\n\n kind(): 'ipv4';\n match(addr: IPv4, bits: number): boolean;\n match(mask: [IPv4, number]): boolean;\n range(): IPv4Range;\n subnetMatch(rangeList: RangeList<IPv4>, defaultName?: string): string;\n toIPv4MappedAddress(): IPv6;\n }\n\n export class IPv6 extends IP {\n static broadcastAddressFromCIDR(addr: string): IPv6;\n static isIPv6(addr: string): boolean;\n static isValid(addr: string): boolean;\n static parse(addr: string): IPv6;\n static parseCIDR(addr: string): [IPv6, number];\n static subnetMaskFromPrefixLength(prefix: number): IPv6;\n constructor(parts: number[]);\n parts: number[]\n zoneId?: string\n\n isIPv4MappedAddress(): boolean;\n kind(): 'ipv6';\n match(addr: IPv6, bits: number): boolean;\n match(mask: [IPv6, number]): boolean;\n range(): IPv6Range;\n subnetMatch(rangeList: RangeList<IPv6>, defaultName?: string): string;\n toIPv4Address(): IPv4;\n }\n }\n\n export = Address;\n}\n",
13417
13442
  "node_modules/ipaddr.js/package.json": "{\n \"name\": \"ipaddr.js\",\n \"description\": \"A library for manipulating IPv4 and IPv6 addresses in JavaScript.\",\n \"version\": \"1.9.1\",\n \"author\": \"whitequark <whitequark@whitequark.org>\",\n \"directories\": {\n \"lib\": \"./lib\"\n },\n \"dependencies\": {},\n \"devDependencies\": {\n \"coffee-script\": \"~1.12.6\",\n \"nodeunit\": \"^0.11.3\",\n \"uglify-js\": \"~3.0.19\"\n },\n \"scripts\": {\n \"test\": \"cake build test\"\n },\n \"files\": [\n \"lib/\",\n \"LICENSE\",\n \"ipaddr.min.js\"\n ],\n \"keywords\": [\n \"ip\",\n \"ipv4\",\n \"ipv6\"\n ],\n \"repository\": \"git://github.com/whitequark/ipaddr.js\",\n \"main\": \"./lib/ipaddr.js\",\n \"engines\": {\n \"node\": \">= 0.10\"\n },\n \"license\": \"MIT\",\n \"types\": \"./lib/ipaddr.js.d.ts\"\n}\n",
@@ -13644,11 +13669,14 @@
13644
13669
  "node_modules/mime-types/package.json": "{\n \"name\": \"mime-types\",\n \"description\": \"The ultimate javascript content-type utility.\",\n \"version\": \"2.1.35\",\n \"contributors\": [\n \"Douglas Christopher Wilson <doug@somethingdoug.com>\",\n \"Jeremiah Senkpiel <fishrock123@rocketmail.com> (https://searchbeam.jit.su)\",\n \"Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)\"\n ],\n \"license\": \"MIT\",\n \"keywords\": [\n \"mime\",\n \"types\"\n ],\n \"repository\": \"jshttp/mime-types\",\n \"dependencies\": {\n \"mime-db\": \"1.52.0\"\n },\n \"devDependencies\": {\n \"eslint\": \"7.32.0\",\n \"eslint-config-standard\": \"14.1.1\",\n \"eslint-plugin-import\": \"2.25.4\",\n \"eslint-plugin-markdown\": \"2.2.1\",\n \"eslint-plugin-node\": \"11.1.0\",\n \"eslint-plugin-promise\": \"5.2.0\",\n \"eslint-plugin-standard\": \"4.1.0\",\n \"mocha\": \"9.2.2\",\n \"nyc\": \"15.1.0\"\n },\n \"files\": [\n \"HISTORY.md\",\n \"LICENSE\",\n \"index.js\"\n ],\n \"engines\": {\n \"node\": \">= 0.6\"\n },\n \"scripts\": {\n \"lint\": \"eslint .\",\n \"test\": \"mocha --reporter spec test/test.js\",\n \"test-ci\": \"nyc --reporter=lcov --reporter=text npm test\",\n \"test-cov\": \"nyc --reporter=html --reporter=text npm test\"\n }\n}\n",
13645
13670
  "node_modules/mimic-fn/index.d.ts": "declare const mimicFn: {\n\t/**\n\tMake a function mimic another one. It will copy over the properties `name`, `length`, `displayName`, and any custom properties you may have set.\n\n\t@param to - Mimicking function.\n\t@param from - Function to mimic.\n\t@returns The modified `to` function.\n\n\t@example\n\t```\n\timport mimicFn = require('mimic-fn');\n\n\tfunction foo() {}\n\tfoo.unicorn = '🦄';\n\n\tfunction wrapper() {\n\t\treturn foo();\n\t}\n\n\tconsole.log(wrapper.name);\n\t//=> 'wrapper'\n\n\tmimicFn(wrapper, foo);\n\n\tconsole.log(wrapper.name);\n\t//=> 'foo'\n\n\tconsole.log(wrapper.unicorn);\n\t//=> '🦄'\n\t```\n\t*/\n\t<\n\t\tArgumentsType extends unknown[],\n\t\tReturnType,\n\t\tFunctionType extends (...arguments: ArgumentsType) => ReturnType\n\t>(\n\t\tto: (...arguments: ArgumentsType) => ReturnType,\n\t\tfrom: FunctionType\n\t): FunctionType;\n\n\t// TODO: Remove this for the next major release, refactor the whole definition to:\n\t// declare function mimicFn<\n\t//\tArgumentsType extends unknown[],\n\t//\tReturnType,\n\t//\tFunctionType extends (...arguments: ArgumentsType) => ReturnType\n\t// >(\n\t//\tto: (...arguments: ArgumentsType) => ReturnType,\n\t//\tfrom: FunctionType\n\t// ): FunctionType;\n\t// export = mimicFn;\n\tdefault: typeof mimicFn;\n};\n\nexport = mimicFn;\n",
13646
13671
  "node_modules/mimic-fn/package.json": "{\n\t\"name\": \"mimic-fn\",\n\t\"version\": \"2.1.0\",\n\t\"description\": \"Make a function mimic another one\",\n\t\"license\": \"MIT\",\n\t\"repository\": \"sindresorhus/mimic-fn\",\n\t\"author\": {\n\t\t\"name\": \"Sindre Sorhus\",\n\t\t\"email\": \"sindresorhus@gmail.com\",\n\t\t\"url\": \"sindresorhus.com\"\n\t},\n\t\"engines\": {\n\t\t\"node\": \">=6\"\n\t},\n\t\"scripts\": {\n\t\t\"test\": \"xo && ava && tsd\"\n\t},\n\t\"files\": [\n\t\t\"index.js\",\n\t\t\"index.d.ts\"\n\t],\n\t\"keywords\": [\n\t\t\"function\",\n\t\t\"mimic\",\n\t\t\"imitate\",\n\t\t\"rename\",\n\t\t\"copy\",\n\t\t\"inherit\",\n\t\t\"properties\",\n\t\t\"name\",\n\t\t\"func\",\n\t\t\"fn\",\n\t\t\"set\",\n\t\t\"infer\",\n\t\t\"change\"\n\t],\n\t\"devDependencies\": {\n\t\t\"ava\": \"^1.4.1\",\n\t\t\"tsd\": \"^0.7.1\",\n\t\t\"xo\": \"^0.24.0\"\n\t}\n}\n",
13672
+ "node_modules/mimic-response/index.d.ts": "import {IncomingMessage} from 'http';\n\n/**\nMimic a [Node.js HTTP response stream](https://nodejs.org/api/http.html#http_class_http_incomingmessage)\n\nMakes `toStream` include the properties from `fromStream`.\n\n@param fromStream - The stream to copy the properties from.\n@param toStream - The stream to copy the properties to.\n@return The same object as `toStream`.\n*/\ndeclare function mimicResponse<T extends NodeJS.ReadableStream>(\n\tfromStream: IncomingMessage, // eslint-disable-line @typescript-eslint/prefer-readonly-parameter-types\n\ttoStream: T,\n): T & IncomingMessage;\n\nexport = mimicResponse;\n",
13673
+ "node_modules/mimic-response/package.json": "{\n\t\"name\": \"mimic-response\",\n\t\"version\": \"3.1.0\",\n\t\"description\": \"Mimic a Node.js HTTP response stream\",\n\t\"license\": \"MIT\",\n\t\"repository\": \"sindresorhus/mimic-response\",\n\t\"funding\": \"https://github.com/sponsors/sindresorhus\",\n\t\"author\": {\n\t\t\"name\": \"Sindre Sorhus\",\n\t\t\"email\": \"sindresorhus@gmail.com\",\n\t\t\"url\": \"https://sindresorhus.com\"\n\t},\n\t\"engines\": {\n\t\t\"node\": \">=10\"\n\t},\n\t\"scripts\": {\n\t\t\"test\": \"xo && ava && tsd\"\n\t},\n\t\"files\": [\n\t\t\"index.d.ts\",\n\t\t\"index.js\"\n\t],\n\t\"keywords\": [\n\t\t\"mimic\",\n\t\t\"response\",\n\t\t\"stream\",\n\t\t\"http\",\n\t\t\"https\",\n\t\t\"request\",\n\t\t\"get\",\n\t\t\"core\"\n\t],\n\t\"devDependencies\": {\n\t\t\"@types/node\": \"^14.0.1\",\n\t\t\"ava\": \"^2.4.0\",\n\t\t\"create-test-server\": \"^2.4.0\",\n\t\t\"p-event\": \"^4.1.0\",\n\t\t\"pify\": \"^5.0.0\",\n\t\t\"tsd\": \"^0.11.0\",\n\t\t\"xo\": \"^0.30.0\"\n\t}\n}\n",
13647
13674
  "node_modules/minimist/package.json": "{\n\t\"name\": \"minimist\",\n\t\"version\": \"1.2.8\",\n\t\"description\": \"parse argument options\",\n\t\"main\": \"index.js\",\n\t\"devDependencies\": {\n\t\t\"@ljharb/eslint-config\": \"^21.0.1\",\n\t\t\"aud\": \"^2.0.2\",\n\t\t\"auto-changelog\": \"^2.4.0\",\n\t\t\"eslint\": \"=8.8.0\",\n\t\t\"in-publish\": \"^2.0.1\",\n\t\t\"npmignore\": \"^0.3.0\",\n\t\t\"nyc\": \"^10.3.2\",\n\t\t\"safe-publish-latest\": \"^2.0.0\",\n\t\t\"tape\": \"^5.6.3\"\n\t},\n\t\"scripts\": {\n\t\t\"prepack\": \"npmignore --auto --commentLines=auto\",\n\t\t\"prepublishOnly\": \"safe-publish-latest\",\n\t\t\"prepublish\": \"not-in-publish || npm run prepublishOnly\",\n\t\t\"lint\": \"eslint --ext=js,mjs .\",\n\t\t\"pretest\": \"npm run lint\",\n\t\t\"tests-only\": \"nyc tape 'test/**/*.js'\",\n\t\t\"test\": \"npm run tests-only\",\n\t\t\"posttest\": \"aud --production\",\n\t\t\"version\": \"auto-changelog && git add CHANGELOG.md\",\n\t\t\"postversion\": \"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \\\"v$(node -e \\\"console.log(require('./package.json').version)\\\")\\\"\"\n\t},\n\t\"testling\": {\n\t\t\"files\": \"test/*.js\",\n\t\t\"browsers\": [\n\t\t\t\"ie/6..latest\",\n\t\t\t\"ff/5\",\n\t\t\t\"firefox/latest\",\n\t\t\t\"chrome/10\",\n\t\t\t\"chrome/latest\",\n\t\t\t\"safari/5.1\",\n\t\t\t\"safari/latest\",\n\t\t\t\"opera/12\"\n\t\t]\n\t},\n\t\"repository\": {\n\t\t\"type\": \"git\",\n\t\t\"url\": \"git://github.com/minimistjs/minimist.git\"\n\t},\n\t\"homepage\": \"https://github.com/minimistjs/minimist\",\n\t\"keywords\": [\n\t\t\"argv\",\n\t\t\"getopt\",\n\t\t\"parser\",\n\t\t\"optimist\"\n\t],\n\t\"author\": {\n\t\t\"name\": \"James Halliday\",\n\t\t\"email\": \"mail@substack.net\",\n\t\t\"url\": \"http://substack.net\"\n\t},\n\t\"funding\": {\n\t\t\"url\": \"https://github.com/sponsors/ljharb\"\n\t},\n\t\"license\": \"MIT\",\n\t\"auto-changelog\": {\n\t\t\"output\": \"CHANGELOG.md\",\n\t\t\"template\": \"keepachangelog\",\n\t\t\"unreleased\": false,\n\t\t\"commitLimit\": false,\n\t\t\"backfillLimit\": false,\n\t\t\"hideCredit\": true\n\t},\n\t\"publishConfig\": {\n\t\t\"ignore\": [\n\t\t\t\".github/workflows\"\n\t\t]\n\t}\n}\n",
13648
13675
  "node_modules/minipass/dist/commonjs/index.d.ts": "/// <reference types=\"node\" />\n/// <reference types=\"node\" />\n/// <reference types=\"node\" />\n/// <reference types=\"node\" />\nimport { EventEmitter } from 'node:events';\nimport { StringDecoder } from 'node:string_decoder';\n/**\n * Same as StringDecoder, but exposing the `lastNeed` flag on the type\n */\ntype SD = StringDecoder & {\n lastNeed: boolean;\n};\nexport type { SD, Pipe, PipeProxyErrors };\n/**\n * Return true if the argument is a Minipass stream, Node stream, or something\n * else that Minipass can interact with.\n */\nexport declare const isStream: (s: any) => s is NodeJS.WriteStream | NodeJS.ReadStream | Minipass<any, any, any> | (NodeJS.ReadStream & {\n fd: number;\n}) | (EventEmitter & {\n pause(): any;\n resume(): any;\n pipe(...destArgs: any[]): any;\n}) | (NodeJS.WriteStream & {\n fd: number;\n}) | (EventEmitter & {\n end(): any;\n write(chunk: any, ...args: any[]): any;\n});\n/**\n * Return true if the argument is a valid {@link Minipass.Readable}\n */\nexport declare const isReadable: (s: any) => s is Minipass.Readable;\n/**\n * Return true if the argument is a valid {@link Minipass.Writable}\n */\nexport declare const isWritable: (s: any) => s is Minipass.Readable;\ndeclare const EOF: unique symbol;\ndeclare const MAYBE_EMIT_END: unique symbol;\ndeclare const EMITTED_END: unique symbol;\ndeclare const EMITTING_END: unique symbol;\ndeclare const EMITTED_ERROR: unique symbol;\ndeclare const CLOSED: unique symbol;\ndeclare const READ: unique symbol;\ndeclare const FLUSH: unique symbol;\ndeclare const FLUSHCHUNK: unique symbol;\ndeclare const ENCODING: unique symbol;\ndeclare const DECODER: unique symbol;\ndeclare const FLOWING: unique symbol;\ndeclare const PAUSED: unique symbol;\ndeclare const RESUME: unique symbol;\ndeclare const BUFFER: unique symbol;\ndeclare const PIPES: unique symbol;\ndeclare const BUFFERLENGTH: unique symbol;\ndeclare const BUFFERPUSH: unique symbol;\ndeclare const BUFFERSHIFT: unique symbol;\ndeclare const OBJECTMODE: unique symbol;\ndeclare const DESTROYED: unique symbol;\ndeclare const ERROR: unique symbol;\ndeclare const EMITDATA: unique symbol;\ndeclare const EMITEND: unique symbol;\ndeclare const EMITEND2: unique symbol;\ndeclare const ASYNC: unique symbol;\ndeclare const ABORT: unique symbol;\ndeclare const ABORTED: unique symbol;\ndeclare const SIGNAL: unique symbol;\ndeclare const DATALISTENERS: unique symbol;\ndeclare const DISCARDED: unique symbol;\n/**\n * Options that may be passed to stream.pipe()\n */\nexport interface PipeOptions {\n /**\n * end the destination stream when the source stream ends\n */\n end?: boolean;\n /**\n * proxy errors from the source stream to the destination stream\n */\n proxyErrors?: boolean;\n}\n/**\n * Internal class representing a pipe to a destination stream.\n *\n * @internal\n */\ndeclare class Pipe<T extends unknown> {\n src: Minipass<T>;\n dest: Minipass<any, T>;\n opts: PipeOptions;\n ondrain: () => any;\n constructor(src: Minipass<T>, dest: Minipass.Writable, opts: PipeOptions);\n unpipe(): void;\n proxyErrors(_er: any): void;\n end(): void;\n}\n/**\n * Internal class representing a pipe to a destination stream where\n * errors are proxied.\n *\n * @internal\n */\ndeclare class PipeProxyErrors<T> extends Pipe<T> {\n unpipe(): void;\n constructor(src: Minipass<T>, dest: Minipass.Writable, opts: PipeOptions);\n}\nexport declare namespace Minipass {\n /**\n * Encoding used to create a stream that outputs strings rather than\n * Buffer objects.\n */\n export type Encoding = BufferEncoding | 'buffer' | null;\n /**\n * Any stream that Minipass can pipe into\n */\n export type Writable = Minipass<any, any, any> | NodeJS.WriteStream | (NodeJS.WriteStream & {\n fd: number;\n }) | (EventEmitter & {\n end(): any;\n write(chunk: any, ...args: any[]): any;\n });\n /**\n * Any stream that can be read from\n */\n export type Readable = Minipass<any, any, any> | NodeJS.ReadStream | (NodeJS.ReadStream & {\n fd: number;\n }) | (EventEmitter & {\n pause(): any;\n resume(): any;\n pipe(...destArgs: any[]): any;\n });\n /**\n * Utility type that can be iterated sync or async\n */\n export type DualIterable<T> = Iterable<T> & AsyncIterable<T>;\n type EventArguments = Record<string | symbol, unknown[]>;\n /**\n * The listing of events that a Minipass class can emit.\n * Extend this when extending the Minipass class, and pass as\n * the third template argument. The key is the name of the event,\n * and the value is the argument list.\n *\n * Any undeclared events will still be allowed, but the handler will get\n * arguments as `unknown[]`.\n */\n export interface Events<RType extends any = Buffer> extends EventArguments {\n readable: [];\n data: [chunk: RType];\n error: [er: unknown];\n abort: [reason: unknown];\n drain: [];\n resume: [];\n end: [];\n finish: [];\n prefinish: [];\n close: [];\n [DESTROYED]: [er?: unknown];\n [ERROR]: [er: unknown];\n }\n /**\n * String or buffer-like data that can be joined and sliced\n */\n export type ContiguousData = Buffer | ArrayBufferLike | ArrayBufferView | string;\n export type BufferOrString = Buffer | string;\n /**\n * Options passed to the Minipass constructor.\n */\n export type SharedOptions = {\n /**\n * Defer all data emission and other events until the end of the\n * current tick, similar to Node core streams\n */\n async?: boolean;\n /**\n * A signal which will abort the stream\n */\n signal?: AbortSignal;\n /**\n * Output string encoding. Set to `null` or `'buffer'` (or omit) to\n * emit Buffer objects rather than strings.\n *\n * Conflicts with `objectMode`\n */\n encoding?: BufferEncoding | null | 'buffer';\n /**\n * Output data exactly as it was written, supporting non-buffer/string\n * data (such as arbitrary objects, falsey values, etc.)\n *\n * Conflicts with `encoding`\n */\n objectMode?: boolean;\n };\n /**\n * Options for a string encoded output\n */\n export type EncodingOptions = SharedOptions & {\n encoding: BufferEncoding;\n objectMode?: false;\n };\n /**\n * Options for contiguous data buffer output\n */\n export type BufferOptions = SharedOptions & {\n encoding?: null | 'buffer';\n objectMode?: false;\n };\n /**\n * Options for objectMode arbitrary output\n */\n export type ObjectModeOptions = SharedOptions & {\n objectMode: true;\n encoding?: null;\n };\n /**\n * Utility type to determine allowed options based on read type\n */\n export type Options<T> = ObjectModeOptions | (T extends string ? EncodingOptions : T extends Buffer ? BufferOptions : SharedOptions);\n export {};\n}\n/**\n * Main export, the Minipass class\n *\n * `RType` is the type of data emitted, defaults to Buffer\n *\n * `WType` is the type of data to be written, if RType is buffer or string,\n * then any {@link Minipass.ContiguousData} is allowed.\n *\n * `Events` is the set of event handler signatures that this object\n * will emit, see {@link Minipass.Events}\n */\nexport declare class Minipass<RType extends unknown = Buffer, WType extends unknown = RType extends Minipass.BufferOrString ? Minipass.ContiguousData : RType, Events extends Minipass.Events<RType> = Minipass.Events<RType>> extends EventEmitter implements Minipass.DualIterable<RType> {\n [FLOWING]: boolean;\n [PAUSED]: boolean;\n [PIPES]: Pipe<RType>[];\n [BUFFER]: RType[];\n [OBJECTMODE]: boolean;\n [ENCODING]: BufferEncoding | null;\n [ASYNC]: boolean;\n [DECODER]: SD | null;\n [EOF]: boolean;\n [EMITTED_END]: boolean;\n [EMITTING_END]: boolean;\n [CLOSED]: boolean;\n [EMITTED_ERROR]: unknown;\n [BUFFERLENGTH]: number;\n [DESTROYED]: boolean;\n [SIGNAL]?: AbortSignal;\n [ABORTED]: boolean;\n [DATALISTENERS]: number;\n [DISCARDED]: boolean;\n /**\n * true if the stream can be written\n */\n writable: boolean;\n /**\n * true if the stream can be read\n */\n readable: boolean;\n /**\n * If `RType` is Buffer, then options do not need to be provided.\n * Otherwise, an options object must be provided to specify either\n * {@link Minipass.SharedOptions.objectMode} or\n * {@link Minipass.SharedOptions.encoding}, as appropriate.\n */\n constructor(...args: [Minipass.ObjectModeOptions] | (RType extends Buffer ? [] | [Minipass.Options<RType>] : [Minipass.Options<RType>]));\n /**\n * The amount of data stored in the buffer waiting to be read.\n *\n * For Buffer strings, this will be the total byte length.\n * For string encoding streams, this will be the string character length,\n * according to JavaScript's `string.length` logic.\n * For objectMode streams, this is a count of the items waiting to be\n * emitted.\n */\n get bufferLength(): number;\n /**\n * The `BufferEncoding` currently in use, or `null`\n */\n get encoding(): BufferEncoding | null;\n /**\n * @deprecated - This is a read only property\n */\n set encoding(_enc: BufferEncoding | null);\n /**\n * @deprecated - Encoding may only be set at instantiation time\n */\n setEncoding(_enc: Minipass.Encoding): void;\n /**\n * True if this is an objectMode stream\n */\n get objectMode(): boolean;\n /**\n * @deprecated - This is a read-only property\n */\n set objectMode(_om: boolean);\n /**\n * true if this is an async stream\n */\n get ['async'](): boolean;\n /**\n * Set to true to make this stream async.\n *\n * Once set, it cannot be unset, as this would potentially cause incorrect\n * behavior. Ie, a sync stream can be made async, but an async stream\n * cannot be safely made sync.\n */\n set ['async'](a: boolean);\n [ABORT](): void;\n /**\n * True if the stream has been aborted.\n */\n get aborted(): boolean;\n /**\n * No-op setter. Stream aborted status is set via the AbortSignal provided\n * in the constructor options.\n */\n set aborted(_: boolean);\n /**\n * Write data into the stream\n *\n * If the chunk written is a string, and encoding is not specified, then\n * `utf8` will be assumed. If the stream encoding matches the encoding of\n * a written string, and the state of the string decoder allows it, then\n * the string will be passed through to either the output or the internal\n * buffer without any processing. Otherwise, it will be turned into a\n * Buffer object for processing into the desired encoding.\n *\n * If provided, `cb` function is called immediately before return for\n * sync streams, or on next tick for async streams, because for this\n * base class, a chunk is considered \"processed\" once it is accepted\n * and either emitted or buffered. That is, the callback does not indicate\n * that the chunk has been eventually emitted, though of course child\n * classes can override this function to do whatever processing is required\n * and call `super.write(...)` only once processing is completed.\n */\n write(chunk: WType, cb?: () => void): boolean;\n write(chunk: WType, encoding?: Minipass.Encoding, cb?: () => void): boolean;\n /**\n * Low-level explicit read method.\n *\n * In objectMode, the argument is ignored, and one item is returned if\n * available.\n *\n * `n` is the number of bytes (or in the case of encoding streams,\n * characters) to consume. If `n` is not provided, then the entire buffer\n * is returned, or `null` is returned if no data is available.\n *\n * If `n` is greater that the amount of data in the internal buffer,\n * then `null` is returned.\n */\n read(n?: number | null): RType | null;\n [READ](n: number | null, chunk: RType): RType;\n /**\n * End the stream, optionally providing a final write.\n *\n * See {@link Minipass#write} for argument descriptions\n */\n end(cb?: () => void): this;\n end(chunk: WType, cb?: () => void): this;\n end(chunk: WType, encoding?: Minipass.Encoding, cb?: () => void): this;\n [RESUME](): void;\n /**\n * Resume the stream if it is currently in a paused state\n *\n * If called when there are no pipe destinations or `data` event listeners,\n * this will place the stream in a \"discarded\" state, where all data will\n * be thrown away. The discarded state is removed if a pipe destination or\n * data handler is added, if pause() is called, or if any synchronous or\n * asynchronous iteration is started.\n */\n resume(): void;\n /**\n * Pause the stream\n */\n pause(): void;\n /**\n * true if the stream has been forcibly destroyed\n */\n get destroyed(): boolean;\n /**\n * true if the stream is currently in a flowing state, meaning that\n * any writes will be immediately emitted.\n */\n get flowing(): boolean;\n /**\n * true if the stream is currently in a paused state\n */\n get paused(): boolean;\n [BUFFERPUSH](chunk: RType): void;\n [BUFFERSHIFT](): RType;\n [FLUSH](noDrain?: boolean): void;\n [FLUSHCHUNK](chunk: RType): boolean;\n /**\n * Pipe all data emitted by this stream into the destination provided.\n *\n * Triggers the flow of data.\n */\n pipe<W extends Minipass.Writable>(dest: W, opts?: PipeOptions): W;\n /**\n * Fully unhook a piped destination stream.\n *\n * If the destination stream was the only consumer of this stream (ie,\n * there are no other piped destinations or `'data'` event listeners)\n * then the flow of data will stop until there is another consumer or\n * {@link Minipass#resume} is explicitly called.\n */\n unpipe<W extends Minipass.Writable>(dest: W): void;\n /**\n * Alias for {@link Minipass#on}\n */\n addListener<Event extends keyof Events>(ev: Event, handler: (...args: Events[Event]) => any): this;\n /**\n * Mostly identical to `EventEmitter.on`, with the following\n * behavior differences to prevent data loss and unnecessary hangs:\n *\n * - Adding a 'data' event handler will trigger the flow of data\n *\n * - Adding a 'readable' event handler when there is data waiting to be read\n * will cause 'readable' to be emitted immediately.\n *\n * - Adding an 'endish' event handler ('end', 'finish', etc.) which has\n * already passed will cause the event to be emitted immediately and all\n * handlers removed.\n *\n * - Adding an 'error' event handler after an error has been emitted will\n * cause the event to be re-emitted immediately with the error previously\n * raised.\n */\n on<Event extends keyof Events>(ev: Event, handler: (...args: Events[Event]) => any): this;\n /**\n * Alias for {@link Minipass#off}\n */\n removeListener<Event extends keyof Events>(ev: Event, handler: (...args: Events[Event]) => any): this;\n /**\n * Mostly identical to `EventEmitter.off`\n *\n * If a 'data' event handler is removed, and it was the last consumer\n * (ie, there are no pipe destinations or other 'data' event listeners),\n * then the flow of data will stop until there is another consumer or\n * {@link Minipass#resume} is explicitly called.\n */\n off<Event extends keyof Events>(ev: Event, handler: (...args: Events[Event]) => any): this;\n /**\n * Mostly identical to `EventEmitter.removeAllListeners`\n *\n * If all 'data' event handlers are removed, and they were the last consumer\n * (ie, there are no pipe destinations), then the flow of data will stop\n * until there is another consumer or {@link Minipass#resume} is explicitly\n * called.\n */\n removeAllListeners<Event extends keyof Events>(ev?: Event): this;\n /**\n * true if the 'end' event has been emitted\n */\n get emittedEnd(): boolean;\n [MAYBE_EMIT_END](): void;\n /**\n * Mostly identical to `EventEmitter.emit`, with the following\n * behavior differences to prevent data loss and unnecessary hangs:\n *\n * If the stream has been destroyed, and the event is something other\n * than 'close' or 'error', then `false` is returned and no handlers\n * are called.\n *\n * If the event is 'end', and has already been emitted, then the event\n * is ignored. If the stream is in a paused or non-flowing state, then\n * the event will be deferred until data flow resumes. If the stream is\n * async, then handlers will be called on the next tick rather than\n * immediately.\n *\n * If the event is 'close', and 'end' has not yet been emitted, then\n * the event will be deferred until after 'end' is emitted.\n *\n * If the event is 'error', and an AbortSignal was provided for the stream,\n * and there are no listeners, then the event is ignored, matching the\n * behavior of node core streams in the presense of an AbortSignal.\n *\n * If the event is 'finish' or 'prefinish', then all listeners will be\n * removed after emitting the event, to prevent double-firing.\n */\n emit<Event extends keyof Events>(ev: Event, ...args: Events[Event]): boolean;\n [EMITDATA](data: RType): boolean;\n [EMITEND](): boolean;\n [EMITEND2](): boolean;\n /**\n * Return a Promise that resolves to an array of all emitted data once\n * the stream ends.\n */\n collect(): Promise<RType[] & {\n dataLength: number;\n }>;\n /**\n * Return a Promise that resolves to the concatenation of all emitted data\n * once the stream ends.\n *\n * Not allowed on objectMode streams.\n */\n concat(): Promise<RType>;\n /**\n * Return a void Promise that resolves once the stream ends.\n */\n promise(): Promise<void>;\n /**\n * Asynchronous `for await of` iteration.\n *\n * This will continue emitting all chunks until the stream terminates.\n */\n [Symbol.asyncIterator](): AsyncGenerator<RType, void, void>;\n /**\n * Synchronous `for of` iteration.\n *\n * The iteration will terminate when the internal buffer runs out, even\n * if the stream has not yet terminated.\n */\n [Symbol.iterator](): Generator<RType, void, void>;\n /**\n * Destroy a stream, preventing it from being used for any further purpose.\n *\n * If the stream has a `close()` method, then it will be called on\n * destruction.\n *\n * After destruction, any attempt to write data, read data, or emit most\n * events will be ignored.\n *\n * If an error argument is provided, then it will be emitted in an\n * 'error' event.\n */\n destroy(er?: unknown): this;\n /**\n * Alias for {@link isStream}\n *\n * Former export location, maintained for backwards compatibility.\n *\n * @deprecated\n */\n static get isStream(): (s: any) => s is NodeJS.WriteStream | NodeJS.ReadStream | Minipass<any, any, any> | (NodeJS.ReadStream & {\n fd: number;\n }) | (EventEmitter & {\n pause(): any;\n resume(): any;\n pipe(...destArgs: any[]): any;\n }) | (NodeJS.WriteStream & {\n fd: number;\n }) | (EventEmitter & {\n end(): any;\n write(chunk: any, ...args: any[]): any;\n });\n}\n//# sourceMappingURL=index.d.ts.map",
13649
13676
  "node_modules/minipass/dist/esm/index.d.ts": "/// <reference types=\"node\" resolution-mode=\"require\"/>\n/// <reference types=\"node\" resolution-mode=\"require\"/>\n/// <reference types=\"node\" resolution-mode=\"require\"/>\n/// <reference types=\"node\" resolution-mode=\"require\"/>\nimport { EventEmitter } from 'node:events';\nimport { StringDecoder } from 'node:string_decoder';\n/**\n * Same as StringDecoder, but exposing the `lastNeed` flag on the type\n */\ntype SD = StringDecoder & {\n lastNeed: boolean;\n};\nexport type { SD, Pipe, PipeProxyErrors };\n/**\n * Return true if the argument is a Minipass stream, Node stream, or something\n * else that Minipass can interact with.\n */\nexport declare const isStream: (s: any) => s is NodeJS.WriteStream | NodeJS.ReadStream | Minipass<any, any, any> | (NodeJS.ReadStream & {\n fd: number;\n}) | (EventEmitter & {\n pause(): any;\n resume(): any;\n pipe(...destArgs: any[]): any;\n}) | (NodeJS.WriteStream & {\n fd: number;\n}) | (EventEmitter & {\n end(): any;\n write(chunk: any, ...args: any[]): any;\n});\n/**\n * Return true if the argument is a valid {@link Minipass.Readable}\n */\nexport declare const isReadable: (s: any) => s is Minipass.Readable;\n/**\n * Return true if the argument is a valid {@link Minipass.Writable}\n */\nexport declare const isWritable: (s: any) => s is Minipass.Readable;\ndeclare const EOF: unique symbol;\ndeclare const MAYBE_EMIT_END: unique symbol;\ndeclare const EMITTED_END: unique symbol;\ndeclare const EMITTING_END: unique symbol;\ndeclare const EMITTED_ERROR: unique symbol;\ndeclare const CLOSED: unique symbol;\ndeclare const READ: unique symbol;\ndeclare const FLUSH: unique symbol;\ndeclare const FLUSHCHUNK: unique symbol;\ndeclare const ENCODING: unique symbol;\ndeclare const DECODER: unique symbol;\ndeclare const FLOWING: unique symbol;\ndeclare const PAUSED: unique symbol;\ndeclare const RESUME: unique symbol;\ndeclare const BUFFER: unique symbol;\ndeclare const PIPES: unique symbol;\ndeclare const BUFFERLENGTH: unique symbol;\ndeclare const BUFFERPUSH: unique symbol;\ndeclare const BUFFERSHIFT: unique symbol;\ndeclare const OBJECTMODE: unique symbol;\ndeclare const DESTROYED: unique symbol;\ndeclare const ERROR: unique symbol;\ndeclare const EMITDATA: unique symbol;\ndeclare const EMITEND: unique symbol;\ndeclare const EMITEND2: unique symbol;\ndeclare const ASYNC: unique symbol;\ndeclare const ABORT: unique symbol;\ndeclare const ABORTED: unique symbol;\ndeclare const SIGNAL: unique symbol;\ndeclare const DATALISTENERS: unique symbol;\ndeclare const DISCARDED: unique symbol;\n/**\n * Options that may be passed to stream.pipe()\n */\nexport interface PipeOptions {\n /**\n * end the destination stream when the source stream ends\n */\n end?: boolean;\n /**\n * proxy errors from the source stream to the destination stream\n */\n proxyErrors?: boolean;\n}\n/**\n * Internal class representing a pipe to a destination stream.\n *\n * @internal\n */\ndeclare class Pipe<T extends unknown> {\n src: Minipass<T>;\n dest: Minipass<any, T>;\n opts: PipeOptions;\n ondrain: () => any;\n constructor(src: Minipass<T>, dest: Minipass.Writable, opts: PipeOptions);\n unpipe(): void;\n proxyErrors(_er: any): void;\n end(): void;\n}\n/**\n * Internal class representing a pipe to a destination stream where\n * errors are proxied.\n *\n * @internal\n */\ndeclare class PipeProxyErrors<T> extends Pipe<T> {\n unpipe(): void;\n constructor(src: Minipass<T>, dest: Minipass.Writable, opts: PipeOptions);\n}\nexport declare namespace Minipass {\n /**\n * Encoding used to create a stream that outputs strings rather than\n * Buffer objects.\n */\n export type Encoding = BufferEncoding | 'buffer' | null;\n /**\n * Any stream that Minipass can pipe into\n */\n export type Writable = Minipass<any, any, any> | NodeJS.WriteStream | (NodeJS.WriteStream & {\n fd: number;\n }) | (EventEmitter & {\n end(): any;\n write(chunk: any, ...args: any[]): any;\n });\n /**\n * Any stream that can be read from\n */\n export type Readable = Minipass<any, any, any> | NodeJS.ReadStream | (NodeJS.ReadStream & {\n fd: number;\n }) | (EventEmitter & {\n pause(): any;\n resume(): any;\n pipe(...destArgs: any[]): any;\n });\n /**\n * Utility type that can be iterated sync or async\n */\n export type DualIterable<T> = Iterable<T> & AsyncIterable<T>;\n type EventArguments = Record<string | symbol, unknown[]>;\n /**\n * The listing of events that a Minipass class can emit.\n * Extend this when extending the Minipass class, and pass as\n * the third template argument. The key is the name of the event,\n * and the value is the argument list.\n *\n * Any undeclared events will still be allowed, but the handler will get\n * arguments as `unknown[]`.\n */\n export interface Events<RType extends any = Buffer> extends EventArguments {\n readable: [];\n data: [chunk: RType];\n error: [er: unknown];\n abort: [reason: unknown];\n drain: [];\n resume: [];\n end: [];\n finish: [];\n prefinish: [];\n close: [];\n [DESTROYED]: [er?: unknown];\n [ERROR]: [er: unknown];\n }\n /**\n * String or buffer-like data that can be joined and sliced\n */\n export type ContiguousData = Buffer | ArrayBufferLike | ArrayBufferView | string;\n export type BufferOrString = Buffer | string;\n /**\n * Options passed to the Minipass constructor.\n */\n export type SharedOptions = {\n /**\n * Defer all data emission and other events until the end of the\n * current tick, similar to Node core streams\n */\n async?: boolean;\n /**\n * A signal which will abort the stream\n */\n signal?: AbortSignal;\n /**\n * Output string encoding. Set to `null` or `'buffer'` (or omit) to\n * emit Buffer objects rather than strings.\n *\n * Conflicts with `objectMode`\n */\n encoding?: BufferEncoding | null | 'buffer';\n /**\n * Output data exactly as it was written, supporting non-buffer/string\n * data (such as arbitrary objects, falsey values, etc.)\n *\n * Conflicts with `encoding`\n */\n objectMode?: boolean;\n };\n /**\n * Options for a string encoded output\n */\n export type EncodingOptions = SharedOptions & {\n encoding: BufferEncoding;\n objectMode?: false;\n };\n /**\n * Options for contiguous data buffer output\n */\n export type BufferOptions = SharedOptions & {\n encoding?: null | 'buffer';\n objectMode?: false;\n };\n /**\n * Options for objectMode arbitrary output\n */\n export type ObjectModeOptions = SharedOptions & {\n objectMode: true;\n encoding?: null;\n };\n /**\n * Utility type to determine allowed options based on read type\n */\n export type Options<T> = ObjectModeOptions | (T extends string ? EncodingOptions : T extends Buffer ? BufferOptions : SharedOptions);\n export {};\n}\n/**\n * Main export, the Minipass class\n *\n * `RType` is the type of data emitted, defaults to Buffer\n *\n * `WType` is the type of data to be written, if RType is buffer or string,\n * then any {@link Minipass.ContiguousData} is allowed.\n *\n * `Events` is the set of event handler signatures that this object\n * will emit, see {@link Minipass.Events}\n */\nexport declare class Minipass<RType extends unknown = Buffer, WType extends unknown = RType extends Minipass.BufferOrString ? Minipass.ContiguousData : RType, Events extends Minipass.Events<RType> = Minipass.Events<RType>> extends EventEmitter implements Minipass.DualIterable<RType> {\n [FLOWING]: boolean;\n [PAUSED]: boolean;\n [PIPES]: Pipe<RType>[];\n [BUFFER]: RType[];\n [OBJECTMODE]: boolean;\n [ENCODING]: BufferEncoding | null;\n [ASYNC]: boolean;\n [DECODER]: SD | null;\n [EOF]: boolean;\n [EMITTED_END]: boolean;\n [EMITTING_END]: boolean;\n [CLOSED]: boolean;\n [EMITTED_ERROR]: unknown;\n [BUFFERLENGTH]: number;\n [DESTROYED]: boolean;\n [SIGNAL]?: AbortSignal;\n [ABORTED]: boolean;\n [DATALISTENERS]: number;\n [DISCARDED]: boolean;\n /**\n * true if the stream can be written\n */\n writable: boolean;\n /**\n * true if the stream can be read\n */\n readable: boolean;\n /**\n * If `RType` is Buffer, then options do not need to be provided.\n * Otherwise, an options object must be provided to specify either\n * {@link Minipass.SharedOptions.objectMode} or\n * {@link Minipass.SharedOptions.encoding}, as appropriate.\n */\n constructor(...args: [Minipass.ObjectModeOptions] | (RType extends Buffer ? [] | [Minipass.Options<RType>] : [Minipass.Options<RType>]));\n /**\n * The amount of data stored in the buffer waiting to be read.\n *\n * For Buffer strings, this will be the total byte length.\n * For string encoding streams, this will be the string character length,\n * according to JavaScript's `string.length` logic.\n * For objectMode streams, this is a count of the items waiting to be\n * emitted.\n */\n get bufferLength(): number;\n /**\n * The `BufferEncoding` currently in use, or `null`\n */\n get encoding(): BufferEncoding | null;\n /**\n * @deprecated - This is a read only property\n */\n set encoding(_enc: BufferEncoding | null);\n /**\n * @deprecated - Encoding may only be set at instantiation time\n */\n setEncoding(_enc: Minipass.Encoding): void;\n /**\n * True if this is an objectMode stream\n */\n get objectMode(): boolean;\n /**\n * @deprecated - This is a read-only property\n */\n set objectMode(_om: boolean);\n /**\n * true if this is an async stream\n */\n get ['async'](): boolean;\n /**\n * Set to true to make this stream async.\n *\n * Once set, it cannot be unset, as this would potentially cause incorrect\n * behavior. Ie, a sync stream can be made async, but an async stream\n * cannot be safely made sync.\n */\n set ['async'](a: boolean);\n [ABORT](): void;\n /**\n * True if the stream has been aborted.\n */\n get aborted(): boolean;\n /**\n * No-op setter. Stream aborted status is set via the AbortSignal provided\n * in the constructor options.\n */\n set aborted(_: boolean);\n /**\n * Write data into the stream\n *\n * If the chunk written is a string, and encoding is not specified, then\n * `utf8` will be assumed. If the stream encoding matches the encoding of\n * a written string, and the state of the string decoder allows it, then\n * the string will be passed through to either the output or the internal\n * buffer without any processing. Otherwise, it will be turned into a\n * Buffer object for processing into the desired encoding.\n *\n * If provided, `cb` function is called immediately before return for\n * sync streams, or on next tick for async streams, because for this\n * base class, a chunk is considered \"processed\" once it is accepted\n * and either emitted or buffered. That is, the callback does not indicate\n * that the chunk has been eventually emitted, though of course child\n * classes can override this function to do whatever processing is required\n * and call `super.write(...)` only once processing is completed.\n */\n write(chunk: WType, cb?: () => void): boolean;\n write(chunk: WType, encoding?: Minipass.Encoding, cb?: () => void): boolean;\n /**\n * Low-level explicit read method.\n *\n * In objectMode, the argument is ignored, and one item is returned if\n * available.\n *\n * `n` is the number of bytes (or in the case of encoding streams,\n * characters) to consume. If `n` is not provided, then the entire buffer\n * is returned, or `null` is returned if no data is available.\n *\n * If `n` is greater that the amount of data in the internal buffer,\n * then `null` is returned.\n */\n read(n?: number | null): RType | null;\n [READ](n: number | null, chunk: RType): RType;\n /**\n * End the stream, optionally providing a final write.\n *\n * See {@link Minipass#write} for argument descriptions\n */\n end(cb?: () => void): this;\n end(chunk: WType, cb?: () => void): this;\n end(chunk: WType, encoding?: Minipass.Encoding, cb?: () => void): this;\n [RESUME](): void;\n /**\n * Resume the stream if it is currently in a paused state\n *\n * If called when there are no pipe destinations or `data` event listeners,\n * this will place the stream in a \"discarded\" state, where all data will\n * be thrown away. The discarded state is removed if a pipe destination or\n * data handler is added, if pause() is called, or if any synchronous or\n * asynchronous iteration is started.\n */\n resume(): void;\n /**\n * Pause the stream\n */\n pause(): void;\n /**\n * true if the stream has been forcibly destroyed\n */\n get destroyed(): boolean;\n /**\n * true if the stream is currently in a flowing state, meaning that\n * any writes will be immediately emitted.\n */\n get flowing(): boolean;\n /**\n * true if the stream is currently in a paused state\n */\n get paused(): boolean;\n [BUFFERPUSH](chunk: RType): void;\n [BUFFERSHIFT](): RType;\n [FLUSH](noDrain?: boolean): void;\n [FLUSHCHUNK](chunk: RType): boolean;\n /**\n * Pipe all data emitted by this stream into the destination provided.\n *\n * Triggers the flow of data.\n */\n pipe<W extends Minipass.Writable>(dest: W, opts?: PipeOptions): W;\n /**\n * Fully unhook a piped destination stream.\n *\n * If the destination stream was the only consumer of this stream (ie,\n * there are no other piped destinations or `'data'` event listeners)\n * then the flow of data will stop until there is another consumer or\n * {@link Minipass#resume} is explicitly called.\n */\n unpipe<W extends Minipass.Writable>(dest: W): void;\n /**\n * Alias for {@link Minipass#on}\n */\n addListener<Event extends keyof Events>(ev: Event, handler: (...args: Events[Event]) => any): this;\n /**\n * Mostly identical to `EventEmitter.on`, with the following\n * behavior differences to prevent data loss and unnecessary hangs:\n *\n * - Adding a 'data' event handler will trigger the flow of data\n *\n * - Adding a 'readable' event handler when there is data waiting to be read\n * will cause 'readable' to be emitted immediately.\n *\n * - Adding an 'endish' event handler ('end', 'finish', etc.) which has\n * already passed will cause the event to be emitted immediately and all\n * handlers removed.\n *\n * - Adding an 'error' event handler after an error has been emitted will\n * cause the event to be re-emitted immediately with the error previously\n * raised.\n */\n on<Event extends keyof Events>(ev: Event, handler: (...args: Events[Event]) => any): this;\n /**\n * Alias for {@link Minipass#off}\n */\n removeListener<Event extends keyof Events>(ev: Event, handler: (...args: Events[Event]) => any): this;\n /**\n * Mostly identical to `EventEmitter.off`\n *\n * If a 'data' event handler is removed, and it was the last consumer\n * (ie, there are no pipe destinations or other 'data' event listeners),\n * then the flow of data will stop until there is another consumer or\n * {@link Minipass#resume} is explicitly called.\n */\n off<Event extends keyof Events>(ev: Event, handler: (...args: Events[Event]) => any): this;\n /**\n * Mostly identical to `EventEmitter.removeAllListeners`\n *\n * If all 'data' event handlers are removed, and they were the last consumer\n * (ie, there are no pipe destinations), then the flow of data will stop\n * until there is another consumer or {@link Minipass#resume} is explicitly\n * called.\n */\n removeAllListeners<Event extends keyof Events>(ev?: Event): this;\n /**\n * true if the 'end' event has been emitted\n */\n get emittedEnd(): boolean;\n [MAYBE_EMIT_END](): void;\n /**\n * Mostly identical to `EventEmitter.emit`, with the following\n * behavior differences to prevent data loss and unnecessary hangs:\n *\n * If the stream has been destroyed, and the event is something other\n * than 'close' or 'error', then `false` is returned and no handlers\n * are called.\n *\n * If the event is 'end', and has already been emitted, then the event\n * is ignored. If the stream is in a paused or non-flowing state, then\n * the event will be deferred until data flow resumes. If the stream is\n * async, then handlers will be called on the next tick rather than\n * immediately.\n *\n * If the event is 'close', and 'end' has not yet been emitted, then\n * the event will be deferred until after 'end' is emitted.\n *\n * If the event is 'error', and an AbortSignal was provided for the stream,\n * and there are no listeners, then the event is ignored, matching the\n * behavior of node core streams in the presense of an AbortSignal.\n *\n * If the event is 'finish' or 'prefinish', then all listeners will be\n * removed after emitting the event, to prevent double-firing.\n */\n emit<Event extends keyof Events>(ev: Event, ...args: Events[Event]): boolean;\n [EMITDATA](data: RType): boolean;\n [EMITEND](): boolean;\n [EMITEND2](): boolean;\n /**\n * Return a Promise that resolves to an array of all emitted data once\n * the stream ends.\n */\n collect(): Promise<RType[] & {\n dataLength: number;\n }>;\n /**\n * Return a Promise that resolves to the concatenation of all emitted data\n * once the stream ends.\n *\n * Not allowed on objectMode streams.\n */\n concat(): Promise<RType>;\n /**\n * Return a void Promise that resolves once the stream ends.\n */\n promise(): Promise<void>;\n /**\n * Asynchronous `for await of` iteration.\n *\n * This will continue emitting all chunks until the stream terminates.\n */\n [Symbol.asyncIterator](): AsyncGenerator<RType, void, void>;\n /**\n * Synchronous `for of` iteration.\n *\n * The iteration will terminate when the internal buffer runs out, even\n * if the stream has not yet terminated.\n */\n [Symbol.iterator](): Generator<RType, void, void>;\n /**\n * Destroy a stream, preventing it from being used for any further purpose.\n *\n * If the stream has a `close()` method, then it will be called on\n * destruction.\n *\n * After destruction, any attempt to write data, read data, or emit most\n * events will be ignored.\n *\n * If an error argument is provided, then it will be emitted in an\n * 'error' event.\n */\n destroy(er?: unknown): this;\n /**\n * Alias for {@link isStream}\n *\n * Former export location, maintained for backwards compatibility.\n *\n * @deprecated\n */\n static get isStream(): (s: any) => s is NodeJS.WriteStream | NodeJS.ReadStream | Minipass<any, any, any> | (NodeJS.ReadStream & {\n fd: number;\n }) | (EventEmitter & {\n pause(): any;\n resume(): any;\n pipe(...destArgs: any[]): any;\n }) | (NodeJS.WriteStream & {\n fd: number;\n }) | (EventEmitter & {\n end(): any;\n write(chunk: any, ...args: any[]): any;\n });\n}\n//# sourceMappingURL=index.d.ts.map",
13650
13677
  "node_modules/minipass/package.json": "{\n \"name\": \"minipass\",\n \"version\": \"7.1.2\",\n \"description\": \"minimal implementation of a PassThrough stream\",\n \"main\": \"./dist/commonjs/index.js\",\n \"types\": \"./dist/commonjs/index.d.ts\",\n \"type\": \"module\",\n \"tshy\": {\n \"selfLink\": false,\n \"main\": true,\n \"exports\": {\n \"./package.json\": \"./package.json\",\n \".\": \"./src/index.ts\"\n }\n },\n \"exports\": {\n \"./package.json\": \"./package.json\",\n \".\": {\n \"import\": {\n \"types\": \"./dist/esm/index.d.ts\",\n \"default\": \"./dist/esm/index.js\"\n },\n \"require\": {\n \"types\": \"./dist/commonjs/index.d.ts\",\n \"default\": \"./dist/commonjs/index.js\"\n }\n }\n },\n \"files\": [\n \"dist\"\n ],\n \"scripts\": {\n \"preversion\": \"npm test\",\n \"postversion\": \"npm publish\",\n \"prepublishOnly\": \"git push origin --follow-tags\",\n \"prepare\": \"tshy\",\n \"pretest\": \"npm run prepare\",\n \"presnap\": \"npm run prepare\",\n \"test\": \"tap\",\n \"snap\": \"tap\",\n \"format\": \"prettier --write . --loglevel warn\",\n \"typedoc\": \"typedoc --tsconfig .tshy/esm.json ./src/*.ts\"\n },\n \"prettier\": {\n \"semi\": false,\n \"printWidth\": 75,\n \"tabWidth\": 2,\n \"useTabs\": false,\n \"singleQuote\": true,\n \"jsxSingleQuote\": false,\n \"bracketSameLine\": true,\n \"arrowParens\": \"avoid\",\n \"endOfLine\": \"lf\"\n },\n \"devDependencies\": {\n \"@types/end-of-stream\": \"^1.4.2\",\n \"@types/node\": \"^20.1.2\",\n \"end-of-stream\": \"^1.4.0\",\n \"node-abort-controller\": \"^3.1.1\",\n \"prettier\": \"^2.6.2\",\n \"tap\": \"^19.0.0\",\n \"through2\": \"^2.0.3\",\n \"tshy\": \"^1.14.0\",\n \"typedoc\": \"^0.25.1\"\n },\n \"repository\": \"https://github.com/isaacs/minipass\",\n \"keywords\": [\n \"passthrough\",\n \"stream\"\n ],\n \"author\": \"Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)\",\n \"license\": \"ISC\",\n \"engines\": {\n \"node\": \">=16 || 14 >=14.17\"\n },\n \"tap\": {\n \"typecheck\": true,\n \"include\": [\n \"test/*.ts\"\n ]\n }\n}\n",
13651
13678
  "node_modules/mkdirp/package.json": "{\n \"name\": \"mkdirp\",\n \"description\": \"Recursively mkdir, like `mkdir -p`\",\n \"version\": \"0.5.6\",\n \"publishConfig\": {\n \"tag\": \"legacy\"\n },\n \"author\": \"James Halliday <mail@substack.net> (http://substack.net)\",\n \"main\": \"index.js\",\n \"keywords\": [\n \"mkdir\",\n \"directory\"\n ],\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/substack/node-mkdirp.git\"\n },\n \"scripts\": {\n \"test\": \"tap test/*.js\"\n },\n \"dependencies\": {\n \"minimist\": \"^1.2.6\"\n },\n \"devDependencies\": {\n \"tap\": \"^16.0.1\"\n },\n \"bin\": \"bin/cmd.js\",\n \"license\": \"MIT\",\n \"files\": [\n \"bin\",\n \"index.js\"\n ]\n}\n",
13679
+ "node_modules/mkdirp-classic/package.json": "{\n \"name\": \"mkdirp-classic\",\n \"version\": \"0.5.3\",\n \"description\": \"Mirror of mkdirp 0.5.2\",\n \"main\": \"index.js\",\n \"dependencies\": {},\n \"devDependencies\": {},\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/mafintosh/mkdirp-classic.git\"\n },\n \"author\": \"Mathias Buus (@mafintosh)\",\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/mafintosh/mkdirp-classic/issues\"\n },\n \"homepage\": \"https://github.com/mafintosh/mkdirp-classic\"\n}\n",
13652
13680
  "node_modules/ms/package.json": "{\n \"name\": \"ms\",\n \"version\": \"2.1.3\",\n \"description\": \"Tiny millisecond conversion utility\",\n \"repository\": \"vercel/ms\",\n \"main\": \"./index\",\n \"files\": [\n \"index.js\"\n ],\n \"scripts\": {\n \"precommit\": \"lint-staged\",\n \"lint\": \"eslint lib/* bin/*\",\n \"test\": \"mocha tests.js\"\n },\n \"eslintConfig\": {\n \"extends\": \"eslint:recommended\",\n \"env\": {\n \"node\": true,\n \"es6\": true\n }\n },\n \"lint-staged\": {\n \"*.js\": [\n \"npm run lint\",\n \"prettier --single-quote --write\",\n \"git add\"\n ]\n },\n \"license\": \"MIT\",\n \"devDependencies\": {\n \"eslint\": \"4.18.2\",\n \"expect.js\": \"0.3.1\",\n \"husky\": \"0.14.3\",\n \"lint-staged\": \"5.0.0\",\n \"mocha\": \"4.0.1\",\n \"prettier\": \"2.0.5\"\n }\n}\n",
13653
13681
  "node_modules/type-is/package.json": "{\n \"name\": \"type-is\",\n \"description\": \"Infer the content-type of a request.\",\n \"version\": \"2.0.1\",\n \"contributors\": [\n \"Douglas Christopher Wilson <doug@somethingdoug.com>\",\n \"Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)\"\n ],\n \"license\": \"MIT\",\n \"repository\": \"jshttp/type-is\",\n \"dependencies\": {\n \"content-type\": \"^1.0.5\",\n \"media-typer\": \"^1.1.0\",\n \"mime-types\": \"^3.0.0\"\n },\n \"devDependencies\": {\n \"eslint\": \"7.32.0\",\n \"eslint-config-standard\": \"14.1.1\",\n \"eslint-plugin-import\": \"2.25.4\",\n \"eslint-plugin-markdown\": \"2.2.1\",\n \"eslint-plugin-node\": \"11.1.0\",\n \"eslint-plugin-promise\": \"5.2.0\",\n \"eslint-plugin-standard\": \"4.1.0\",\n \"mocha\": \"9.2.1\",\n \"nyc\": \"15.1.0\"\n },\n \"engines\": {\n \"node\": \">= 0.6\"\n },\n \"files\": [\n \"LICENSE\",\n \"HISTORY.md\",\n \"index.js\"\n ],\n \"scripts\": {\n \"lint\": \"eslint .\",\n \"test\": \"mocha --reporter spec --check-leaks --bail test/\",\n \"test:debug\": \"mocha --reporter spec --check-leaks --inspect --inspect-brk test/\",\n \"test-ci\": \"nyc --reporter=lcovonly --reporter=text npm test\",\n \"test-cov\": \"nyc --reporter=html --reporter=text npm test\"\n },\n \"keywords\": [\n \"content\",\n \"type\",\n \"checking\"\n ]\n}\n",
13654
13682
  "node_modules/multer/package.json": "{\n \"name\": \"multer\",\n \"description\": \"Middleware for handling `multipart/form-data`.\",\n \"version\": \"1.4.5-lts.2\",\n \"contributors\": [\n \"Hage Yaapa <captain@hacksparrow.com> (http://www.hacksparrow.com)\",\n \"Jaret Pfluger <https://github.com/jpfluger>\",\n \"Linus Unnebäck <linus@folkdatorn.se>\"\n ],\n \"license\": \"MIT\",\n \"repository\": \"expressjs/multer\",\n \"keywords\": [\n \"form\",\n \"post\",\n \"multipart\",\n \"form-data\",\n \"formdata\",\n \"express\",\n \"middleware\"\n ],\n \"dependencies\": {\n \"append-field\": \"^1.0.0\",\n \"busboy\": \"^1.0.0\",\n \"concat-stream\": \"^1.5.2\",\n \"mkdirp\": \"^0.5.4\",\n \"object-assign\": \"^4.1.1\",\n \"type-is\": \"^1.6.4\",\n \"xtend\": \"^4.0.0\"\n },\n \"devDependencies\": {\n \"deep-equal\": \"^2.0.3\",\n \"express\": \"^4.13.1\",\n \"form-data\": \"^1.0.0-rc1\",\n \"fs-temp\": \"^1.1.2\",\n \"mocha\": \"^3.5.3\",\n \"rimraf\": \"^2.4.1\",\n \"standard\": \"^14.3.3\",\n \"testdata-w3c-json-form\": \"^1.0.0\"\n },\n \"engines\": {\n \"node\": \">= 6.0.0\"\n },\n \"files\": [\n \"LICENSE\",\n \"index.js\",\n \"storage/\",\n \"lib/\"\n ],\n \"scripts\": {\n \"test\": \"standard && mocha\"\n }\n}\n",
@@ -13657,7 +13685,9 @@
13657
13685
  "node_modules/multer/node_modules/mime-types/package.json": "{\n \"name\": \"mime-types\",\n \"description\": \"The ultimate javascript content-type utility.\",\n \"version\": \"2.1.35\",\n \"contributors\": [\n \"Douglas Christopher Wilson <doug@somethingdoug.com>\",\n \"Jeremiah Senkpiel <fishrock123@rocketmail.com> (https://searchbeam.jit.su)\",\n \"Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)\"\n ],\n \"license\": \"MIT\",\n \"keywords\": [\n \"mime\",\n \"types\"\n ],\n \"repository\": \"jshttp/mime-types\",\n \"dependencies\": {\n \"mime-db\": \"1.52.0\"\n },\n \"devDependencies\": {\n \"eslint\": \"7.32.0\",\n \"eslint-config-standard\": \"14.1.1\",\n \"eslint-plugin-import\": \"2.25.4\",\n \"eslint-plugin-markdown\": \"2.2.1\",\n \"eslint-plugin-node\": \"11.1.0\",\n \"eslint-plugin-promise\": \"5.2.0\",\n \"eslint-plugin-standard\": \"4.1.0\",\n \"mocha\": \"9.2.2\",\n \"nyc\": \"15.1.0\"\n },\n \"files\": [\n \"HISTORY.md\",\n \"LICENSE\",\n \"index.js\"\n ],\n \"engines\": {\n \"node\": \">= 0.6\"\n },\n \"scripts\": {\n \"lint\": \"eslint .\",\n \"test\": \"mocha --reporter spec test/test.js\",\n \"test-ci\": \"nyc --reporter=lcov --reporter=text npm test\",\n \"test-cov\": \"nyc --reporter=html --reporter=text npm test\"\n }\n}\n",
13658
13686
  "node_modules/multer/node_modules/type-is/package.json": "{\n \"name\": \"type-is\",\n \"description\": \"Infer the content-type of a request.\",\n \"version\": \"1.6.18\",\n \"contributors\": [\n \"Douglas Christopher Wilson <doug@somethingdoug.com>\",\n \"Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)\"\n ],\n \"license\": \"MIT\",\n \"repository\": \"jshttp/type-is\",\n \"dependencies\": {\n \"media-typer\": \"0.3.0\",\n \"mime-types\": \"~2.1.24\"\n },\n \"devDependencies\": {\n \"eslint\": \"5.16.0\",\n \"eslint-config-standard\": \"12.0.0\",\n \"eslint-plugin-import\": \"2.17.2\",\n \"eslint-plugin-markdown\": \"1.0.0\",\n \"eslint-plugin-node\": \"8.0.1\",\n \"eslint-plugin-promise\": \"4.1.1\",\n \"eslint-plugin-standard\": \"4.0.0\",\n \"mocha\": \"6.1.4\",\n \"nyc\": \"14.0.0\"\n },\n \"engines\": {\n \"node\": \">= 0.6\"\n },\n \"files\": [\n \"LICENSE\",\n \"HISTORY.md\",\n \"index.js\"\n ],\n \"scripts\": {\n \"lint\": \"eslint --plugin markdown --ext js,md .\",\n \"test\": \"mocha --reporter spec --check-leaks --bail test/\",\n \"test-cov\": \"nyc --reporter=html --reporter=text npm test\",\n \"test-travis\": \"nyc --reporter=text npm test\"\n },\n \"keywords\": [\n \"content\",\n \"type\",\n \"checking\"\n ]\n}\n",
13659
13687
  "node_modules/mute-stream/package.json": "{\n \"name\": \"mute-stream\",\n \"version\": \"0.0.8\",\n \"main\": \"mute.js\",\n \"directories\": {\n \"test\": \"test\"\n },\n \"devDependencies\": {\n \"tap\": \"^12.1.1\"\n },\n \"scripts\": {\n \"test\": \"tap test/*.js --cov\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git://github.com/isaacs/mute-stream\"\n },\n \"keywords\": [\n \"mute\",\n \"stream\",\n \"pipe\"\n ],\n \"author\": \"Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)\",\n \"license\": \"ISC\",\n \"description\": \"Bytes go in, but they don't come out (when muted).\",\n \"files\": [\n \"mute.js\"\n ]\n}\n",
13688
+ "node_modules/napi-build-utils/package.json": "{\n \"name\": \"napi-build-utils\",\n \"version\": \"2.0.0\",\n \"description\": \"A set of utilities to assist developers of tools that build N-API native add-ons\",\n \"main\": \"index.js\",\n \"scripts\": {\n \"doc\": \"jsdoc2md index.js >index.md\",\n \"test\": \"mocha test/ && npm run lint\",\n \"lint\": \"standard\",\n \"prepublishOnly\": \"npm run test\"\n },\n \"keywords\": [\n \"n-api\",\n \"prebuild\",\n \"prebuild-install\"\n ],\n \"author\": \"Jim Schlight\",\n \"license\": \"MIT\",\n \"homepage\": \"https://github.com/inspiredware/napi-build-utils#readme\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/inspiredware/napi-build-utils.git\"\n },\n \"bugs\": {\n \"url\": \"https://github.com/inspiredware/napi-build-utils/issues\"\n },\n \"devDependencies\": {\n \"chai\": \"^4.1.2\",\n \"jsdoc-to-markdown\": \"^4.0.1\",\n \"mocha\": \"^5.2.0\",\n \"standard\": \"^12.0.1\"\n },\n \"binary\": {\n \"note\": \"napi-build-tools is not an N-API module. This entry is for unit testing.\",\n \"napi_versions\": [\n 2,\n 2,\n 3,\n 10\n ]\n }\n}\n",
13660
13689
  "node_modules/negotiator/package.json": "{\n \"name\": \"negotiator\",\n \"description\": \"HTTP content negotiation\",\n \"version\": \"1.0.0\",\n \"contributors\": [\n \"Douglas Christopher Wilson <doug@somethingdoug.com>\",\n \"Federico Romero <federico.romero@outboxlabs.com>\",\n \"Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)\"\n ],\n \"license\": \"MIT\",\n \"keywords\": [\n \"http\",\n \"content negotiation\",\n \"accept\",\n \"accept-language\",\n \"accept-encoding\",\n \"accept-charset\"\n ],\n \"repository\": \"jshttp/negotiator\",\n \"devDependencies\": {\n \"eslint\": \"7.32.0\",\n \"eslint-plugin-markdown\": \"2.2.1\",\n \"mocha\": \"9.1.3\",\n \"nyc\": \"15.1.0\"\n },\n \"files\": [\n \"lib/\",\n \"HISTORY.md\",\n \"LICENSE\",\n \"index.js\",\n \"README.md\"\n ],\n \"engines\": {\n \"node\": \">= 0.6\"\n },\n \"scripts\": {\n \"lint\": \"eslint .\",\n \"test\": \"mocha --reporter spec --check-leaks --bail test/\",\n \"test:debug\": \"mocha --reporter spec --check-leaks --inspect --inspect-brk test/\",\n \"test-ci\": \"nyc --reporter=lcov --reporter=text npm test\",\n \"test-cov\": \"nyc --reporter=html --reporter=text npm test\"\n }\n}\n",
13690
+ "node_modules/node-abi/package.json": "{\n \"name\": \"node-abi\",\n \"version\": \"3.77.0\",\n \"description\": \"Get the Node ABI for a given target and runtime, and vice versa.\",\n \"main\": \"index.js\",\n \"scripts\": {\n \"test\": \"tape test/index.js\",\n \"update-abi-registry\": \"node --unhandled-rejections=strict scripts/update-abi-registry.js\"\n },\n \"files\": [\n \"abi_registry.json\"\n ],\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/electron/node-abi.git\"\n },\n \"keywords\": [\n \"node\",\n \"electron\",\n \"node_module_version\",\n \"abi\",\n \"v8\"\n ],\n \"author\": \"Lukas Geiger\",\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/electron/node-abi/issues\"\n },\n \"homepage\": \"https://github.com/electron/node-abi#readme\",\n \"devDependencies\": {\n \"@semantic-release/npm\": \"13.0.0-alpha.15\",\n \"semantic-release\": \"^24.2.7\",\n \"tape\": \"^5.3.1\"\n },\n \"dependencies\": {\n \"semver\": \"^7.3.5\"\n },\n \"engines\": {\n \"node\": \">=10\"\n },\n \"publishConfig\": {\n \"provenance\": true\n },\n \"packageManager\": \"yarn@1.22.22\"\n}\n",
13661
13691
  "node_modules/object-assign/package.json": "{\n \"name\": \"object-assign\",\n \"version\": \"4.1.1\",\n \"description\": \"ES2015 `Object.assign()` ponyfill\",\n \"license\": \"MIT\",\n \"repository\": \"sindresorhus/object-assign\",\n \"author\": {\n \"name\": \"Sindre Sorhus\",\n \"email\": \"sindresorhus@gmail.com\",\n \"url\": \"sindresorhus.com\"\n },\n \"engines\": {\n \"node\": \">=0.10.0\"\n },\n \"scripts\": {\n \"test\": \"xo && ava\",\n \"bench\": \"matcha bench.js\"\n },\n \"files\": [\n \"index.js\"\n ],\n \"keywords\": [\n \"object\",\n \"assign\",\n \"extend\",\n \"properties\",\n \"es2015\",\n \"ecmascript\",\n \"harmony\",\n \"ponyfill\",\n \"prollyfill\",\n \"polyfill\",\n \"shim\",\n \"browser\"\n ],\n \"devDependencies\": {\n \"ava\": \"^0.16.0\",\n \"lodash\": \"^4.16.4\",\n \"matcha\": \"^0.7.0\",\n \"xo\": \"^0.16.0\"\n }\n}\n",
13662
13692
  "node_modules/object-inspect/package.json": "{\n \"name\": \"object-inspect\",\n \"version\": \"1.13.4\",\n \"description\": \"string representations of objects in node and the browser\",\n \"main\": \"index.js\",\n \"sideEffects\": false,\n \"devDependencies\": {\n \"@ljharb/eslint-config\": \"^21.1.1\",\n \"@pkgjs/support\": \"^0.0.6\",\n \"auto-changelog\": \"^2.5.0\",\n \"core-js\": \"^2.6.12\",\n \"error-cause\": \"^1.0.8\",\n \"es-value-fixtures\": \"^1.7.1\",\n \"eslint\": \"=8.8.0\",\n \"for-each\": \"^0.3.4\",\n \"functions-have-names\": \"^1.2.3\",\n \"glob\": \"=10.3.7\",\n \"globalthis\": \"^1.0.4\",\n \"has-symbols\": \"^1.1.0\",\n \"has-tostringtag\": \"^1.0.2\",\n \"in-publish\": \"^2.0.1\",\n \"jackspeak\": \"=2.1.1\",\n \"make-arrow-function\": \"^1.2.0\",\n \"mock-property\": \"^1.1.0\",\n \"npmignore\": \"^0.3.1\",\n \"nyc\": \"^10.3.2\",\n \"safe-publish-latest\": \"^2.0.0\",\n \"safer-buffer\": \"^2.1.2\",\n \"semver\": \"^6.3.1\",\n \"string.prototype.repeat\": \"^1.0.0\",\n \"tape\": \"^5.9.0\"\n },\n \"scripts\": {\n \"prepack\": \"npmignore --auto --commentLines=autogenerated\",\n \"prepublish\": \"not-in-publish || npm run prepublishOnly\",\n \"prepublishOnly\": \"safe-publish-latest\",\n \"pretest\": \"npm run lint\",\n \"lint\": \"eslint --ext=js,mjs .\",\n \"postlint\": \"npx @pkgjs/support validate\",\n \"test\": \"npm run tests-only && npm run test:corejs\",\n \"tests-only\": \"nyc tape 'test/*.js'\",\n \"test:corejs\": \"nyc tape test-core-js.js 'test/*.js'\",\n \"posttest\": \"npx npm@'>=10.2' audit --production\",\n \"version\": \"auto-changelog && git add CHANGELOG.md\",\n \"postversion\": \"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \\\"v$(node -e \\\"console.log(require('./package.json').version)\\\")\\\"\"\n },\n \"testling\": {\n \"files\": [\n \"test/*.js\",\n \"test/browser/*.js\"\n ],\n \"browsers\": [\n \"ie/6..latest\",\n \"chrome/latest\",\n \"firefox/latest\",\n \"safari/latest\",\n \"opera/latest\",\n \"iphone/latest\",\n \"ipad/latest\",\n \"android/latest\"\n ]\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git://github.com/inspect-js/object-inspect.git\"\n },\n \"homepage\": \"https://github.com/inspect-js/object-inspect\",\n \"keywords\": [\n \"inspect\",\n \"util.inspect\",\n \"object\",\n \"stringify\",\n \"pretty\"\n ],\n \"author\": {\n \"name\": \"James Halliday\",\n \"email\": \"mail@substack.net\",\n \"url\": \"http://substack.net\"\n },\n \"funding\": {\n \"url\": \"https://github.com/sponsors/ljharb\"\n },\n \"license\": \"MIT\",\n \"browser\": {\n \"./util.inspect.js\": false\n },\n \"auto-changelog\": {\n \"output\": \"CHANGELOG.md\",\n \"template\": \"keepachangelog\",\n \"unreleased\": false,\n \"commitLimit\": false,\n \"backfillLimit\": false,\n \"hideCredit\": true\n },\n \"publishConfig\": {\n \"ignore\": [\n \".github/workflows\",\n \"./test-core-js.js\"\n ]\n },\n \"support\": true,\n \"engines\": {\n \"node\": \">= 0.4\"\n }\n}\n",
13663
13693
  "node_modules/on-exit-leak-free/package.json": "{\n \"name\": \"on-exit-leak-free\",\n \"version\": \"2.1.2\",\n \"description\": \"Execute a function on exit without leaking memory, allowing all objects to be garbage collected\",\n \"main\": \"index.js\",\n \"scripts\": {\n \"test\": \"standard | snazzy && tap test/*.js\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/mcollina/on-exit-or-gc.git\"\n },\n \"keywords\": [\n \"weak\",\n \"reference\",\n \"finalization\",\n \"registry\",\n \"process\",\n \"exit\",\n \"garbage\",\n \"collector\"\n ],\n \"author\": \"Matteo Collina <hello@matteocollina.com>\",\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/mcollina/on-exit-or-gc/issues\"\n },\n \"homepage\": \"https://github.com/mcollina/on-exit-or-gc#readme\",\n \"devDependencies\": {\n \"snazzy\": \"^9.0.0\",\n \"standard\": \"^17.0.0\",\n \"tap\": \"^16.0.0\"\n },\n \"engines\": {\n \"node\": \">=14.0.0\"\n }\n}\n",
@@ -13710,6 +13740,33 @@
13710
13740
  "node_modules/peek-readable/lib/WebStreamReaderFactory.d.ts": "import type { ReadableStream as NodeReadableStream } from 'node:stream/web';\nimport { WebStreamByobReader } from './WebStreamByobReader.js';\nimport { WebStreamDefaultReader } from './WebStreamDefaultReader.js';\nexport type AnyWebByteStream = NodeReadableStream<Uint8Array> | ReadableStream<Uint8Array>;\nexport declare function makeWebStreamReader(stream: AnyWebByteStream): WebStreamByobReader | WebStreamDefaultReader;\n",
13711
13741
  "node_modules/peek-readable/lib/index.d.ts": "export { AbortError, EndOfStreamError } from './Errors.js';\nexport { StreamReader } from './StreamReader.js';\nexport { WebStreamByobReader } from './WebStreamByobReader.js';\nexport { WebStreamDefaultReader } from './WebStreamDefaultReader.js';\nexport type { IStreamReader } from './AbstractStreamReader.js';\nexport { type AnyWebByteStream, makeWebStreamReader } from './WebStreamReaderFactory.js';\n",
13712
13742
  "node_modules/peek-readable/package.json": "{\r\n \"name\": \"peek-readable\",\r\n \"version\": \"7.0.0\",\r\n \"description\": \"Read and peek from a readable stream\",\r\n \"author\": {\r\n \"name\": \"Borewit\",\r\n \"url\": \"https://github.com/Borewit\"\r\n },\r\n \"funding\": {\r\n \"type\": \"github\",\r\n \"url\": \"https://github.com/sponsors/Borewit\"\r\n },\r\n \"scripts\": {\r\n \"clean\": \"del-cli 'lib/**/*.js' 'lib/**/*.js.map' 'lib/**/*.d.ts' 'test/**/*.js' 'test/**/*.js.map' 'coverage' '.nyc_output'\",\r\n \"build\": \"npm run clean && npm run compile\",\r\n \"compile-src\": \"tsc -p lib\",\r\n \"compile-test\": \"tsc -p test\",\r\n \"compile\": \"yarn run compile-src && yarn run compile-test\",\r\n \"lint-ts\": \"biome check\",\r\n \"lint-md\": \"remark -u preset-lint-recommended .\",\r\n \"lint\": \"yarn run lint-md && yarn run lint-ts\",\r\n \"test\": \"mocha\",\r\n \"bun:test\": \"bun run --bun test\",\r\n \"test-coverage\": \"c8 npm run test\",\r\n \"start\": \"yarn run compile && yarn run lint && yarn run cover-test\"\r\n },\r\n \"engines\": {\r\n \"node\": \">=18\"\r\n },\r\n \"repository\": {\r\n \"type\": \"git\",\r\n \"url\": \"git+https://github.com/Borewit/peek-readable\"\r\n },\r\n \"license\": \"MIT\",\r\n \"type\": \"module\",\r\n \"exports\": \"./lib/index.js\",\r\n \"types\": \"lib/index.d.ts\",\r\n \"bugs\": {\r\n \"url\": \"https://github.com/Borewit/peek-readable/issues\"\r\n },\r\n \"files\": [\r\n \"lib/**/*.js\",\r\n \"lib/**/*.d.ts\"\r\n ],\r\n \"devDependencies\": {\r\n \"@biomejs/biome\": \"1.9.4\",\r\n \"@types/chai\": \"^5.2.0\",\r\n \"@types/chai-as-promised\": \"^8.0.2\",\r\n \"@types/mocha\": \"^10.0.10\",\r\n \"@types/node\": \"^22.13.10\",\r\n \"c8\": \"^10.1.3\",\r\n \"chai\": \"^5.2.0\",\r\n \"chai-as-promised\": \"^8.0.1\",\r\n \"del-cli\": \"^6.0.0\",\r\n \"mocha\": \"^11.1.0\",\r\n \"node-readable-to-web-readable-stream\": \"^0.4.2\",\r\n \"remark-cli\": \"^12.0.1\",\r\n \"remark-preset-lint-recommended\": \"^7.0.0\",\r\n \"source-map-support\": \"^0.5.21\",\r\n \"ts-node\": \"^10.9.2\",\r\n \"typescript\": \"^5.8.2\"\r\n },\r\n \"keywords\": [\r\n \"readable\",\r\n \"buffer\",\r\n \"stream\",\r\n \"read\"\r\n ],\r\n \"packageManager\": \"yarn@4.6.0\"\r\n}\r\n",
13743
+ "node_modules/pg/package.json": "{\n \"name\": \"pg\",\n \"version\": \"8.16.3\",\n \"description\": \"PostgreSQL client - pure javascript & libpq with the same API\",\n \"keywords\": [\n \"database\",\n \"libpq\",\n \"pg\",\n \"postgre\",\n \"postgres\",\n \"postgresql\",\n \"rdbms\"\n ],\n \"homepage\": \"https://github.com/brianc/node-postgres\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git://github.com/brianc/node-postgres.git\",\n \"directory\": \"packages/pg\"\n },\n \"author\": \"Brian Carlson <brian.m.carlson@gmail.com>\",\n \"main\": \"./lib\",\n \"exports\": {\n \".\": {\n \"import\": \"./esm/index.mjs\",\n \"require\": \"./lib/index.js\",\n \"default\": \"./lib/index.js\"\n },\n \"./package.json\": {\n \"default\": \"./package.json\"\n },\n \"./lib/*\": \"./lib/*.js\",\n \"./lib/*.js\": \"./lib/*.js\"\n },\n \"dependencies\": {\n \"pg-connection-string\": \"^2.9.1\",\n \"pg-pool\": \"^3.10.1\",\n \"pg-protocol\": \"^1.10.3\",\n \"pg-types\": \"2.2.0\",\n \"pgpass\": \"1.0.5\"\n },\n \"devDependencies\": {\n \"@cloudflare/vitest-pool-workers\": \"0.8.23\",\n \"@cloudflare/workers-types\": \"^4.20230404.0\",\n \"async\": \"2.6.4\",\n \"bluebird\": \"3.7.2\",\n \"co\": \"4.6.0\",\n \"pg-copy-streams\": \"0.3.0\",\n \"typescript\": \"^4.0.3\",\n \"vitest\": \"~3.0.9\",\n \"wrangler\": \"^3.x\"\n },\n \"optionalDependencies\": {\n \"pg-cloudflare\": \"^1.2.7\"\n },\n \"peerDependencies\": {\n \"pg-native\": \">=3.0.1\"\n },\n \"peerDependenciesMeta\": {\n \"pg-native\": {\n \"optional\": true\n }\n },\n \"scripts\": {\n \"test\": \"make test-all\"\n },\n \"files\": [\n \"lib\",\n \"esm\",\n \"SPONSORS.md\"\n ],\n \"license\": \"MIT\",\n \"engines\": {\n \"node\": \">= 16.0.0\"\n },\n \"gitHead\": \"8f8e7315e8f7c1bb01e98fdb41c8c92585510782\"\n}\n",
13744
+ "node_modules/pg-cloudflare/dist/empty.d.ts": "declare const _default: {};\nexport default _default;\n",
13745
+ "node_modules/pg-cloudflare/dist/index.d.ts": "/// <reference types=\"node\" />\n/// <reference types=\"node\" />\n/// <reference types=\"node\" />\nimport { TlsOptions } from 'cloudflare:sockets';\nimport { EventEmitter } from 'events';\n/**\n * Wrapper around the Cloudflare built-in socket that can be used by the `Connection`.\n */\nexport declare class CloudflareSocket extends EventEmitter {\n readonly ssl: boolean;\n writable: boolean;\n destroyed: boolean;\n private _upgrading;\n private _upgraded;\n private _cfSocket;\n private _cfWriter;\n private _cfReader;\n constructor(ssl: boolean);\n setNoDelay(): this;\n setKeepAlive(): this;\n ref(): this;\n unref(): this;\n connect(port: number, host: string, connectListener?: (...args: unknown[]) => void): Promise<this | undefined>;\n _listen(): Promise<void>;\n _listenOnce(): Promise<void>;\n write(data: Uint8Array | string, encoding?: BufferEncoding, callback?: (...args: unknown[]) => void): true | void;\n end(data?: Buffer, encoding?: BufferEncoding, callback?: (...args: unknown[]) => void): this;\n destroy(reason: string): this;\n startTls(options: TlsOptions): void;\n _addClosedHandler(): void;\n}\n",
13746
+ "node_modules/pg-cloudflare/package.json": "{\n \"name\": \"pg-cloudflare\",\n \"version\": \"1.2.7\",\n \"description\": \"A socket implementation that can run on Cloudflare Workers using native TCP connections.\",\n \"main\": \"dist/index.js\",\n \"types\": \"dist/index.d.ts\",\n \"license\": \"MIT\",\n \"devDependencies\": {\n \"ts-node\": \"^8.5.4\",\n \"typescript\": \"^4.0.3\"\n },\n \"exports\": {\n \".\": {\n \"workerd\": {\n \"import\": \"./esm/index.mjs\",\n \"require\": \"./dist/index.js\"\n },\n \"default\": \"./dist/empty.js\"\n }\n },\n \"scripts\": {\n \"build\": \"tsc\",\n \"build:watch\": \"tsc --watch\",\n \"prepublish\": \"yarn build\",\n \"test\": \"echo e2e test in pg package\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git://github.com/brianc/node-postgres.git\",\n \"directory\": \"packages/pg-cloudflare\"\n },\n \"files\": [\n \"/dist/*{js,ts,map}\",\n \"/src\",\n \"/esm\"\n ],\n \"gitHead\": \"8f8e7315e8f7c1bb01e98fdb41c8c92585510782\"\n}\n",
13747
+ "node_modules/pg-cloudflare/src/types.d.ts": "declare module 'cloudflare:sockets' {\n export class Socket {\n public readonly readable: any\n public readonly writable: any\n public readonly closed: Promise<void>\n public close(): Promise<void>\n public startTls(options: TlsOptions): Socket\n }\n\n export type TlsOptions = {\n expectedServerHostname?: string\n }\n\n export type SocketAddress = {\n hostname: string\n port: number\n }\n\n export type SocketOptions = {\n secureTransport?: 'off' | 'on' | 'starttls'\n allowHalfOpen?: boolean\n }\n\n export function connect(address: string | SocketAddress, options?: SocketOptions): Socket\n}\n",
13748
+ "node_modules/pg-connection-string/index.d.ts": "import { ClientConfig } from 'pg'\n\nexport function parse(connectionString: string, options?: Options): ConnectionOptions\n\nexport interface Options {\n // Use libpq semantics when interpreting the connection string\n useLibpqCompat?: boolean\n}\n\ninterface SSLConfig {\n ca?: string\n cert?: string | null\n key?: string\n rejectUnauthorized?: boolean\n}\n\nexport interface ConnectionOptions {\n host: string | null\n password?: string\n user?: string\n port?: string | null\n database: string | null | undefined\n client_encoding?: string\n ssl?: boolean | string | SSLConfig\n\n application_name?: string\n fallback_application_name?: string\n options?: string\n keepalives?: number\n\n // We allow any other options to be passed through\n [key: string]: unknown\n}\n\nexport function toClientConfig(config: ConnectionOptions): ClientConfig\nexport function parseIntoClientConfig(connectionString: string): ClientConfig\n",
13749
+ "node_modules/pg-connection-string/package.json": "{\n \"name\": \"pg-connection-string\",\n \"version\": \"2.9.1\",\n \"description\": \"Functions for dealing with a PostgresSQL connection string\",\n \"main\": \"./index.js\",\n \"types\": \"./index.d.ts\",\n \"exports\": {\n \".\": {\n \"types\": \"./index.d.ts\",\n \"import\": \"./esm/index.mjs\",\n \"require\": \"./index.js\",\n \"default\": \"./index.js\"\n }\n },\n \"scripts\": {\n \"test\": \"nyc --reporter=lcov mocha && npm run check-coverage\",\n \"check-coverage\": \"nyc check-coverage --statements 100 --branches 100 --lines 100 --functions 100\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git://github.com/brianc/node-postgres.git\",\n \"directory\": \"packages/pg-connection-string\"\n },\n \"keywords\": [\n \"pg\",\n \"connection\",\n \"string\",\n \"parse\"\n ],\n \"author\": \"Blaine Bublitz <blaine@iceddev.com> (http://iceddev.com/)\",\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/brianc/node-postgres/issues\"\n },\n \"homepage\": \"https://github.com/brianc/node-postgres/tree/master/packages/pg-connection-string\",\n \"devDependencies\": {\n \"@types/pg\": \"^8.12.0\",\n \"chai\": \"^4.1.1\",\n \"coveralls\": \"^3.0.4\",\n \"istanbul\": \"^0.4.5\",\n \"mocha\": \"^10.5.2\",\n \"nyc\": \"^15\",\n \"tsx\": \"^4.19.4\",\n \"typescript\": \"^4.0.3\"\n },\n \"files\": [\n \"index.js\",\n \"index.d.ts\",\n \"esm\"\n ],\n \"gitHead\": \"cd877a57612a39335a97b593111710d26126279d\"\n}\n",
13750
+ "node_modules/pg-int8/package.json": "{\n\t\"name\": \"pg-int8\",\n\t\"version\": \"1.0.1\",\n\t\"description\": \"64-bit big-endian signed integer-to-string conversion\",\n\t\"bugs\": \"https://github.com/charmander/pg-int8/issues\",\n\t\"license\": \"ISC\",\n\t\"files\": [\n\t\t\"index.js\"\n\t],\n\t\"repository\": {\n\t\t\"type\": \"git\",\n\t\t\"url\": \"https://github.com/charmander/pg-int8\"\n\t},\n\t\"scripts\": {\n\t\t\"test\": \"tap test\"\n\t},\n\t\"devDependencies\": {\n\t\t\"@charmander/eslint-config-base\": \"1.0.2\",\n\t\t\"tap\": \"10.7.3\"\n\t},\n\t\"engines\": {\n\t\t\"node\": \">=4.0.0\"\n\t}\n}\n",
13751
+ "node_modules/pg-pool/package.json": "{\n \"name\": \"pg-pool\",\n \"version\": \"3.10.1\",\n \"description\": \"Connection pool for node-postgres\",\n \"main\": \"index.js\",\n \"exports\": {\n \".\": {\n \"import\": \"./esm/index.mjs\",\n \"require\": \"./index.js\",\n \"default\": \"./index.js\"\n }\n },\n \"directories\": {\n \"test\": \"test\"\n },\n \"scripts\": {\n \"test\": \" node_modules/.bin/mocha\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git://github.com/brianc/node-postgres.git\",\n \"directory\": \"packages/pg-pool\"\n },\n \"keywords\": [\n \"pg\",\n \"postgres\",\n \"pool\",\n \"database\"\n ],\n \"author\": \"Brian M. Carlson\",\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/brianc/node-pg-pool/issues\"\n },\n \"homepage\": \"https://github.com/brianc/node-pg-pool#readme\",\n \"devDependencies\": {\n \"bluebird\": \"3.7.2\",\n \"co\": \"4.6.0\",\n \"expect.js\": \"0.3.1\",\n \"lodash\": \"^4.17.11\",\n \"mocha\": \"^10.5.2\"\n },\n \"peerDependencies\": {\n \"pg\": \">=8.0\"\n },\n \"files\": [\n \"index.js\",\n \"esm\"\n ],\n \"gitHead\": \"cd877a57612a39335a97b593111710d26126279d\"\n}\n",
13752
+ "node_modules/pg-protocol/dist/b.d.ts": "export {};\n",
13753
+ "node_modules/pg-protocol/dist/buffer-reader.d.ts": "/// <reference types=\"node\" />\nexport declare class BufferReader {\n private offset;\n private buffer;\n private encoding;\n constructor(offset?: number);\n setBuffer(offset: number, buffer: Buffer): void;\n int16(): number;\n byte(): number;\n int32(): number;\n uint32(): number;\n string(length: number): string;\n cstring(): string;\n bytes(length: number): Buffer;\n}\n",
13754
+ "node_modules/pg-protocol/dist/buffer-writer.d.ts": "/// <reference types=\"node\" />\nexport declare class Writer {\n private size;\n private buffer;\n private offset;\n private headerPosition;\n constructor(size?: number);\n private ensure;\n addInt32(num: number): Writer;\n addInt16(num: number): Writer;\n addCString(string: string): Writer;\n addString(string?: string): Writer;\n add(otherBuffer: Buffer): Writer;\n private join;\n flush(code?: number): Buffer;\n}\n",
13755
+ "node_modules/pg-protocol/dist/inbound-parser.test.d.ts": "export {};\n",
13756
+ "node_modules/pg-protocol/dist/index.d.ts": "/// <reference types=\"node\" />\nimport { DatabaseError } from './messages';\nimport { serialize } from './serializer';\nimport { MessageCallback } from './parser';\nexport declare function parse(stream: NodeJS.ReadableStream, callback: MessageCallback): Promise<void>;\nexport { serialize, DatabaseError };\n",
13757
+ "node_modules/pg-protocol/dist/messages.d.ts": "/// <reference types=\"node\" />\nexport declare type Mode = 'text' | 'binary';\nexport declare type MessageName = 'parseComplete' | 'bindComplete' | 'closeComplete' | 'noData' | 'portalSuspended' | 'replicationStart' | 'emptyQuery' | 'copyDone' | 'copyData' | 'rowDescription' | 'parameterDescription' | 'parameterStatus' | 'backendKeyData' | 'notification' | 'readyForQuery' | 'commandComplete' | 'dataRow' | 'copyInResponse' | 'copyOutResponse' | 'authenticationOk' | 'authenticationMD5Password' | 'authenticationCleartextPassword' | 'authenticationSASL' | 'authenticationSASLContinue' | 'authenticationSASLFinal' | 'error' | 'notice';\nexport interface BackendMessage {\n name: MessageName;\n length: number;\n}\nexport declare const parseComplete: BackendMessage;\nexport declare const bindComplete: BackendMessage;\nexport declare const closeComplete: BackendMessage;\nexport declare const noData: BackendMessage;\nexport declare const portalSuspended: BackendMessage;\nexport declare const replicationStart: BackendMessage;\nexport declare const emptyQuery: BackendMessage;\nexport declare const copyDone: BackendMessage;\ninterface NoticeOrError {\n message: string | undefined;\n severity: string | undefined;\n code: string | undefined;\n detail: string | undefined;\n hint: string | undefined;\n position: string | undefined;\n internalPosition: string | undefined;\n internalQuery: string | undefined;\n where: string | undefined;\n schema: string | undefined;\n table: string | undefined;\n column: string | undefined;\n dataType: string | undefined;\n constraint: string | undefined;\n file: string | undefined;\n line: string | undefined;\n routine: string | undefined;\n}\nexport declare class DatabaseError extends Error implements NoticeOrError {\n readonly length: number;\n readonly name: MessageName;\n severity: string | undefined;\n code: string | undefined;\n detail: string | undefined;\n hint: string | undefined;\n position: string | undefined;\n internalPosition: string | undefined;\n internalQuery: string | undefined;\n where: string | undefined;\n schema: string | undefined;\n table: string | undefined;\n column: string | undefined;\n dataType: string | undefined;\n constraint: string | undefined;\n file: string | undefined;\n line: string | undefined;\n routine: string | undefined;\n constructor(message: string, length: number, name: MessageName);\n}\nexport declare class CopyDataMessage {\n readonly length: number;\n readonly chunk: Buffer;\n readonly name = \"copyData\";\n constructor(length: number, chunk: Buffer);\n}\nexport declare class CopyResponse {\n readonly length: number;\n readonly name: MessageName;\n readonly binary: boolean;\n readonly columnTypes: number[];\n constructor(length: number, name: MessageName, binary: boolean, columnCount: number);\n}\nexport declare class Field {\n readonly name: string;\n readonly tableID: number;\n readonly columnID: number;\n readonly dataTypeID: number;\n readonly dataTypeSize: number;\n readonly dataTypeModifier: number;\n readonly format: Mode;\n constructor(name: string, tableID: number, columnID: number, dataTypeID: number, dataTypeSize: number, dataTypeModifier: number, format: Mode);\n}\nexport declare class RowDescriptionMessage {\n readonly length: number;\n readonly fieldCount: number;\n readonly name: MessageName;\n readonly fields: Field[];\n constructor(length: number, fieldCount: number);\n}\nexport declare class ParameterDescriptionMessage {\n readonly length: number;\n readonly parameterCount: number;\n readonly name: MessageName;\n readonly dataTypeIDs: number[];\n constructor(length: number, parameterCount: number);\n}\nexport declare class ParameterStatusMessage {\n readonly length: number;\n readonly parameterName: string;\n readonly parameterValue: string;\n readonly name: MessageName;\n constructor(length: number, parameterName: string, parameterValue: string);\n}\nexport declare class AuthenticationMD5Password implements BackendMessage {\n readonly length: number;\n readonly salt: Buffer;\n readonly name: MessageName;\n constructor(length: number, salt: Buffer);\n}\nexport declare class BackendKeyDataMessage {\n readonly length: number;\n readonly processID: number;\n readonly secretKey: number;\n readonly name: MessageName;\n constructor(length: number, processID: number, secretKey: number);\n}\nexport declare class NotificationResponseMessage {\n readonly length: number;\n readonly processId: number;\n readonly channel: string;\n readonly payload: string;\n readonly name: MessageName;\n constructor(length: number, processId: number, channel: string, payload: string);\n}\nexport declare class ReadyForQueryMessage {\n readonly length: number;\n readonly status: string;\n readonly name: MessageName;\n constructor(length: number, status: string);\n}\nexport declare class CommandCompleteMessage {\n readonly length: number;\n readonly text: string;\n readonly name: MessageName;\n constructor(length: number, text: string);\n}\nexport declare class DataRowMessage {\n length: number;\n fields: any[];\n readonly fieldCount: number;\n readonly name: MessageName;\n constructor(length: number, fields: any[]);\n}\nexport declare class NoticeMessage implements BackendMessage, NoticeOrError {\n readonly length: number;\n readonly message: string | undefined;\n constructor(length: number, message: string | undefined);\n readonly name = \"notice\";\n severity: string | undefined;\n code: string | undefined;\n detail: string | undefined;\n hint: string | undefined;\n position: string | undefined;\n internalPosition: string | undefined;\n internalQuery: string | undefined;\n where: string | undefined;\n schema: string | undefined;\n table: string | undefined;\n column: string | undefined;\n dataType: string | undefined;\n constraint: string | undefined;\n file: string | undefined;\n line: string | undefined;\n routine: string | undefined;\n}\nexport {};\n",
13758
+ "node_modules/pg-protocol/dist/outbound-serializer.test.d.ts": "export {};\n",
13759
+ "node_modules/pg-protocol/dist/parser.d.ts": "/// <reference types=\"node\" />\n/// <reference types=\"node\" />\nimport { TransformOptions } from 'stream';\nimport { Mode, BackendMessage } from './messages';\nexport declare type Packet = {\n code: number;\n packet: Buffer;\n};\ndeclare type StreamOptions = TransformOptions & {\n mode: Mode;\n};\nexport declare type MessageCallback = (msg: BackendMessage) => void;\nexport declare class Parser {\n private buffer;\n private bufferLength;\n private bufferOffset;\n private reader;\n private mode;\n constructor(opts?: StreamOptions);\n parse(buffer: Buffer, callback: MessageCallback): void;\n private mergeBuffer;\n private handlePacket;\n private parseReadyForQueryMessage;\n private parseCommandCompleteMessage;\n private parseCopyData;\n private parseCopyInMessage;\n private parseCopyOutMessage;\n private parseCopyMessage;\n private parseNotificationMessage;\n private parseRowDescriptionMessage;\n private parseField;\n private parseParameterDescriptionMessage;\n private parseDataRowMessage;\n private parseParameterStatusMessage;\n private parseBackendKeyData;\n parseAuthenticationResponse(offset: number, length: number, bytes: Buffer): any;\n private parseErrorMessage;\n}\nexport {};\n",
13760
+ "node_modules/pg-protocol/dist/serializer.d.ts": "declare type ParseOpts = {\n name?: string;\n types?: number[];\n text: string;\n};\ndeclare type ValueMapper = (param: any, index: number) => any;\ndeclare type BindOpts = {\n portal?: string;\n binary?: boolean;\n statement?: string;\n values?: any[];\n valueMapper?: ValueMapper;\n};\ndeclare type ExecOpts = {\n portal?: string;\n rows?: number;\n};\ndeclare type PortalOpts = {\n type: 'S' | 'P';\n name?: string;\n};\ndeclare const serialize: {\n startup: (opts: Record<string, string>) => Buffer;\n password: (password: string) => Buffer;\n requestSsl: () => Buffer;\n sendSASLInitialResponseMessage: (mechanism: string, initialResponse: string) => Buffer;\n sendSCRAMClientFinalMessage: (additionalData: string) => Buffer;\n query: (text: string) => Buffer;\n parse: (query: ParseOpts) => Buffer;\n bind: (config?: BindOpts) => Buffer;\n execute: (config?: ExecOpts) => Buffer;\n describe: (msg: PortalOpts) => Buffer;\n close: (msg: PortalOpts) => Buffer;\n flush: () => Buffer;\n sync: () => Buffer;\n end: () => Buffer;\n copyData: (chunk: Buffer) => Buffer;\n copyDone: () => Buffer;\n copyFail: (message: string) => Buffer;\n cancel: (processID: number, secretKey: number) => Buffer;\n};\nexport { serialize };\n",
13761
+ "node_modules/pg-protocol/package.json": "{\n \"name\": \"pg-protocol\",\n \"version\": \"1.10.3\",\n \"description\": \"The postgres client/server binary protocol, implemented in TypeScript\",\n \"main\": \"dist/index.js\",\n \"types\": \"dist/index.d.ts\",\n \"exports\": {\n \".\": {\n \"import\": \"./esm/index.js\",\n \"require\": \"./dist/index.js\",\n \"default\": \"./dist/index.js\"\n },\n \"./dist/*\": \"./dist/*.js\",\n \"./dist/*.js\": \"./dist/*.js\"\n },\n \"license\": \"MIT\",\n \"devDependencies\": {\n \"@types/chai\": \"^4.2.7\",\n \"@types/mocha\": \"^10.0.7\",\n \"@types/node\": \"^12.12.21\",\n \"chai\": \"^4.2.0\",\n \"chunky\": \"^0.0.0\",\n \"mocha\": \"^10.5.2\",\n \"ts-node\": \"^8.5.4\",\n \"typescript\": \"^4.0.3\"\n },\n \"scripts\": {\n \"test\": \"mocha dist/**/*.test.js\",\n \"build\": \"tsc\",\n \"build:watch\": \"tsc --watch\",\n \"prepublish\": \"yarn build\",\n \"pretest\": \"yarn build\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git://github.com/brianc/node-postgres.git\",\n \"directory\": \"packages/pg-protocol\"\n },\n \"files\": [\n \"/dist/*{js,ts,map}\",\n \"/src\",\n \"/esm\"\n ],\n \"gitHead\": \"8f8e7315e8f7c1bb01e98fdb41c8c92585510782\"\n}\n",
13762
+ "node_modules/pg-protocol/src/types/chunky.d.ts": "declare module 'chunky'\n",
13763
+ "node_modules/pg-types/index.d.ts": "export enum TypeId {\n BOOL = 16,\n BYTEA = 17,\n CHAR = 18,\n INT8 = 20,\n INT2 = 21,\n INT4 = 23,\n REGPROC = 24,\n TEXT = 25,\n OID = 26,\n TID = 27,\n XID = 28,\n CID = 29,\n JSON = 114,\n XML = 142,\n PG_NODE_TREE = 194,\n SMGR = 210,\n PATH = 602,\n POLYGON = 604,\n CIDR = 650,\n FLOAT4 = 700,\n FLOAT8 = 701,\n ABSTIME = 702,\n RELTIME = 703,\n TINTERVAL = 704,\n CIRCLE = 718,\n MACADDR8 = 774,\n MONEY = 790,\n MACADDR = 829,\n INET = 869,\n ACLITEM = 1033,\n BPCHAR = 1042,\n VARCHAR = 1043,\n DATE = 1082,\n TIME = 1083,\n TIMESTAMP = 1114,\n TIMESTAMPTZ = 1184,\n INTERVAL = 1186,\n TIMETZ = 1266,\n BIT = 1560,\n VARBIT = 1562,\n NUMERIC = 1700,\n REFCURSOR = 1790,\n REGPROCEDURE = 2202,\n REGOPER = 2203,\n REGOPERATOR = 2204,\n REGCLASS = 2205,\n REGTYPE = 2206,\n UUID = 2950,\n TXID_SNAPSHOT = 2970,\n PG_LSN = 3220,\n PG_NDISTINCT = 3361,\n PG_DEPENDENCIES = 3402,\n TSVECTOR = 3614,\n TSQUERY = 3615,\n GTSVECTOR = 3642,\n REGCONFIG = 3734,\n REGDICTIONARY = 3769,\n JSONB = 3802,\n REGNAMESPACE = 4089,\n REGROLE = 4096\n}\n\nexport type builtinsTypes =\n 'BOOL' |\n 'BYTEA' |\n 'CHAR' |\n 'INT8' |\n 'INT2' |\n 'INT4' |\n 'REGPROC' |\n 'TEXT' |\n 'OID' |\n 'TID' |\n 'XID' |\n 'CID' |\n 'JSON' |\n 'XML' |\n 'PG_NODE_TREE' |\n 'SMGR' |\n 'PATH' |\n 'POLYGON' |\n 'CIDR' |\n 'FLOAT4' |\n 'FLOAT8' |\n 'ABSTIME' |\n 'RELTIME' |\n 'TINTERVAL' |\n 'CIRCLE' |\n 'MACADDR8' |\n 'MONEY' |\n 'MACADDR' |\n 'INET' |\n 'ACLITEM' |\n 'BPCHAR' |\n 'VARCHAR' |\n 'DATE' |\n 'TIME' |\n 'TIMESTAMP' |\n 'TIMESTAMPTZ' |\n 'INTERVAL' |\n 'TIMETZ' |\n 'BIT' |\n 'VARBIT' |\n 'NUMERIC' |\n 'REFCURSOR' |\n 'REGPROCEDURE' |\n 'REGOPER' |\n 'REGOPERATOR' |\n 'REGCLASS' |\n 'REGTYPE' |\n 'UUID' |\n 'TXID_SNAPSHOT' |\n 'PG_LSN' |\n 'PG_NDISTINCT' |\n 'PG_DEPENDENCIES' |\n 'TSVECTOR' |\n 'TSQUERY' |\n 'GTSVECTOR' |\n 'REGCONFIG' |\n 'REGDICTIONARY' |\n 'JSONB' |\n 'REGNAMESPACE' |\n 'REGROLE';\n\nexport type TypesBuiltins = {[key in builtinsTypes]: TypeId};\n\nexport type TypeFormat = 'text' | 'binary';\n\nexport const builtins: TypesBuiltins;\n\nexport function setTypeParser (id: TypeId, parseFn: ((value: string) => any)): void;\nexport function setTypeParser (id: TypeId, format: TypeFormat, parseFn: (value: string) => any): void;\n\nexport const getTypeParser: (id: TypeId, format?: TypeFormat) => any\n\nexport const arrayParser: (source: string, transform: (entry: any) => any) => any[];\n",
13764
+ "node_modules/postgres-array/index.d.ts": "\nexport function parse(source: string): string[];\nexport function parse<T>(source: string, transform: (value: string) => T): T[];\n\n",
13765
+ "node_modules/postgres-array/package.json": "{\n \"name\": \"postgres-array\",\n \"main\": \"index.js\",\n \"version\": \"3.0.4\",\n \"description\": \"Parse postgres array columns\",\n \"license\": \"MIT\",\n \"repository\": \"bendrucker/postgres-array\",\n \"author\": {\n \"name\": \"Ben Drucker\",\n \"email\": \"bvdrucker@gmail.com\",\n \"url\": \"bendrucker.me\"\n },\n \"engines\": {\n \"node\": \">=12\"\n },\n \"scripts\": {\n \"test\": \"standard && tape test.js\"\n },\n \"types\": \"index.d.ts\",\n \"keywords\": [\n \"postgres\",\n \"array\",\n \"parser\"\n ],\n \"dependencies\": {},\n \"devDependencies\": {\n \"standard\": \"^17.0.0\",\n \"tape\": \"^5.0.0\"\n },\n \"files\": [\n \"index.js\",\n \"index.d.ts\",\n \"readme.md\"\n ]\n}\n",
13766
+ "node_modules/pg-types/package.json": "{\n \"name\": \"pg-types\",\n \"version\": \"2.2.0\",\n \"description\": \"Query result type converters for node-postgres\",\n \"main\": \"index.js\",\n \"scripts\": {\n \"test\": \"tape test/*.js | tap-spec && npm run test-ts\",\n \"test-ts\": \"if-node-version '>= 8' tsd\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git://github.com/brianc/node-pg-types.git\"\n },\n \"keywords\": [\n \"postgres\",\n \"PostgreSQL\",\n \"pg\"\n ],\n \"author\": \"Brian M. Carlson\",\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/brianc/node-pg-types/issues\"\n },\n \"homepage\": \"https://github.com/brianc/node-pg-types\",\n \"devDependencies\": {\n \"if-node-version\": \"^1.1.1\",\n \"pff\": \"^1.0.0\",\n \"tap-spec\": \"^4.0.0\",\n \"tape\": \"^4.0.0\",\n \"tsd\": \"^0.7.4\"\n },\n \"dependencies\": {\n \"pg-int8\": \"1.0.1\",\n \"postgres-array\": \"~2.0.0\",\n \"postgres-bytea\": \"~1.0.0\",\n \"postgres-date\": \"~1.0.4\",\n \"postgres-interval\": \"^1.1.0\"\n },\n \"engines\": {\n \"node\": \">=4\"\n }\n}\n",
13767
+ "node_modules/pg-types/node_modules/postgres-array/index.d.ts": "\nexport function parse(source: string): string[];\nexport function parse<T>(source: string, transform: (value: string) => T): T[];\n\n",
13768
+ "node_modules/pg-types/node_modules/postgres-array/package.json": "{\n \"name\": \"postgres-array\",\n \"main\": \"index.js\",\n \"version\": \"2.0.0\",\n \"description\": \"Parse postgres array columns\",\n \"license\": \"MIT\",\n \"repository\": \"bendrucker/postgres-array\",\n \"author\": {\n \"name\": \"Ben Drucker\",\n \"email\": \"bvdrucker@gmail.com\",\n \"url\": \"bendrucker.me\"\n },\n \"engines\": {\n \"node\": \">=4\"\n },\n \"scripts\": {\n \"test\": \"standard && tape test.js\"\n },\n \"types\": \"index.d.ts\",\n \"keywords\": [\n \"postgres\",\n \"array\",\n \"parser\"\n ],\n \"dependencies\": {},\n \"devDependencies\": {\n \"standard\": \"^12.0.1\",\n \"tape\": \"^4.0.0\"\n },\n \"files\": [\n \"index.js\",\n \"index.d.ts\",\n \"readme.md\"\n ]\n}\n",
13769
+ "node_modules/pgpass/package.json": "{\n \"name\": \"pgpass\",\n \"version\": \"1.0.5\",\n \"description\": \"Module for reading .pgpass\",\n \"main\": \"lib/index\",\n \"scripts\": {\n \"pretest\": \"chmod 600 ./test/_pgpass\",\n \"_hint\": \"jshint --exclude node_modules --verbose lib test\",\n \"_test\": \"mocha --recursive -R list\",\n \"_covered_test\": \"nyc --reporter html --reporter text \\\"$npm_execpath\\\" run _test\",\n \"test\": \"\\\"$npm_execpath\\\" run _hint && \\\"$npm_execpath\\\" run _covered_test\"\n },\n \"author\": \"Hannes Hörl <hannes.hoerl+pgpass@snowreporter.com>\",\n \"license\": \"MIT\",\n \"dependencies\": {\n \"split2\": \"^4.1.0\"\n },\n \"devDependencies\": {\n \"jshint\": \"^2.12.0\",\n \"mocha\": \"^8.2.0\",\n \"nyc\": \"^15.1.0\",\n \"pg\": \"^8.4.1\",\n \"pg-escape\": \"^0.2.0\",\n \"pg-native\": \"3.0.0\",\n \"resumer\": \"0.0.0\",\n \"tmp\": \"^0.2.1\",\n \"which\": \"^2.0.2\"\n },\n \"keywords\": [\n \"postgres\",\n \"pg\",\n \"pgpass\",\n \"password\",\n \"postgresql\"\n ],\n \"bugs\": \"https://github.com/hoegaarden/pgpass/issues\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/hoegaarden/pgpass.git\"\n }\n}\n",
13713
13770
  "node_modules/picocolors/package.json": "{\n \"name\": \"picocolors\",\n \"version\": \"1.1.1\",\n \"main\": \"./picocolors.js\",\n \"types\": \"./picocolors.d.ts\",\n \"browser\": {\n \"./picocolors.js\": \"./picocolors.browser.js\"\n },\n \"sideEffects\": false,\n \"description\": \"The tiniest and the fastest library for terminal output formatting with ANSI colors\",\n \"files\": [\n \"picocolors.*\",\n \"types.d.ts\"\n ],\n \"keywords\": [\n \"terminal\",\n \"colors\",\n \"formatting\",\n \"cli\",\n \"console\"\n ],\n \"author\": \"Alexey Raspopov\",\n \"repository\": \"alexeyraspopov/picocolors\",\n \"license\": \"ISC\"\n}\n",
13714
13771
  "node_modules/picocolors/picocolors.d.ts": "import { Colors } from \"./types\"\n\ndeclare const picocolors: Colors & { createColors: (enabled?: boolean) => Colors }\n\nexport = picocolors\n",
13715
13772
  "node_modules/picocolors/types.d.ts": "export type Formatter = (input: string | number | null | undefined) => string\n\nexport interface Colors {\n\tisColorSupported: boolean\n\n\treset: Formatter\n\tbold: Formatter\n\tdim: Formatter\n\titalic: Formatter\n\tunderline: Formatter\n\tinverse: Formatter\n\thidden: Formatter\n\tstrikethrough: Formatter\n\n\tblack: Formatter\n\tred: Formatter\n\tgreen: Formatter\n\tyellow: Formatter\n\tblue: Formatter\n\tmagenta: Formatter\n\tcyan: Formatter\n\twhite: Formatter\n\tgray: Formatter\n\n\tbgBlack: Formatter\n\tbgRed: Formatter\n\tbgGreen: Formatter\n\tbgYellow: Formatter\n\tbgBlue: Formatter\n\tbgMagenta: Formatter\n\tbgCyan: Formatter\n\tbgWhite: Formatter\n\n\tblackBright: Formatter\n\tredBright: Formatter\n\tgreenBright: Formatter\n\tyellowBright: Formatter\n\tblueBright: Formatter\n\tmagentaBright: Formatter\n\tcyanBright: Formatter\n\twhiteBright: Formatter\n\n\tbgBlackBright: Formatter\n\tbgRedBright: Formatter\n\tbgGreenBright: Formatter\n\tbgYellowBright: Formatter\n\tbgBlueBright: Formatter\n\tbgMagentaBright: Formatter\n\tbgCyanBright: Formatter\n\tbgWhiteBright: Formatter\n}\n",
@@ -13722,6 +13779,11 @@
13722
13779
  "node_modules/pino-std-serializers/package.json": "{\n \"name\": \"pino-std-serializers\",\n \"version\": \"7.0.0\",\n \"description\": \"A collection of standard object serializers for Pino\",\n \"main\": \"index.js\",\n \"type\": \"commonjs\",\n \"types\": \"index.d.ts\",\n \"scripts\": {\n \"lint\": \"standard | snazzy\",\n \"lint-ci\": \"standard\",\n \"test\": \"borp -p 'test/**/*.js'\",\n \"test-ci\": \"borp --coverage -p 'test/**/*.js'\",\n \"test-types\": \"tsc && tsd\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+ssh://git@github.com/pinojs/pino-std-serializers.git\"\n },\n \"keywords\": [\n \"pino\",\n \"logging\"\n ],\n \"author\": \"James Sumners <james.sumners@gmail.com>\",\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/pinojs/pino-std-serializers/issues\"\n },\n \"homepage\": \"https://github.com/pinojs/pino-std-serializers#readme\",\n \"precommit\": [\n \"lint\",\n \"test\",\n \"test-types\"\n ],\n \"devDependencies\": {\n \"@matteo.collina/tspl\": \"^0.1.1\",\n \"@types/node\": \"^20.11.17\",\n \"borp\": \"^0.9.1\",\n \"pre-commit\": \"^1.2.2\",\n \"snazzy\": \"^9.0.0\",\n \"standard\": \"^17.1.0\",\n \"tsd\": \"^0.31.0\",\n \"typescript\": \"^5.3.3\"\n },\n \"tsd\": {\n \"directory\": \"test/types\"\n }\n}\n",
13723
13780
  "node_modules/pino/node_modules/process-warning/package.json": "{\n \"name\": \"process-warning\",\n \"version\": \"4.0.1\",\n \"description\": \"A small utility for creating warnings and emitting them.\",\n \"main\": \"index.js\",\n \"type\": \"commonjs\",\n \"types\": \"types/index.d.ts\",\n \"scripts\": {\n \"lint\": \"eslint\",\n \"lint:fix\": \"eslint --fix\",\n \"test\": \"npm run test:unit && npm run test:jest && npm run test:typescript\",\n \"test:jest\": \"jest jest.test.js\",\n \"test:unit\": \"tap\",\n \"test:typescript\": \"tsd\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/fastify/process-warning.git\"\n },\n \"keywords\": [\n \"fastify\",\n \"error\",\n \"warning\",\n \"utility\",\n \"plugin\",\n \"emit\",\n \"once\"\n ],\n \"author\": \"Tomas Della Vedova\",\n \"contributors\": [\n {\n \"name\": \"Matteo Collina\",\n \"email\": \"hello@matteocollina.com\"\n },\n {\n \"name\": \"Manuel Spigolon\",\n \"email\": \"behemoth89@gmail.com\"\n },\n {\n \"name\": \"James Sumners\",\n \"url\": \"https://james.sumners.info\"\n },\n {\n \"name\": \"Frazer Smith\",\n \"email\": \"frazer.dev@icloud.com\",\n \"url\": \"https://github.com/fdawgs\"\n }\n ],\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/fastify/fastify-warning/issues\"\n },\n \"homepage\": \"https://github.com/fastify/fastify-warning#readme\",\n \"funding\": [\n {\n \"type\": \"github\",\n \"url\": \"https://github.com/sponsors/fastify\"\n },\n {\n \"type\": \"opencollective\",\n \"url\": \"https://opencollective.com/fastify\"\n }\n ],\n \"devDependencies\": {\n \"@fastify/pre-commit\": \"^2.1.0\",\n \"benchmark\": \"^2.1.4\",\n \"eslint\": \"^9.17.0\",\n \"jest\": \"^29.7.0\",\n \"neostandard\": \"^0.12.0\",\n \"tap\": \"^18.7.2\",\n \"tsd\": \"^0.31.0\"\n }\n}\n",
13724
13781
  "node_modules/pino/node_modules/process-warning/types/index.d.ts": "declare namespace processWarning {\n export interface WarningItem {\n (a?: any, b?: any, c?: any): void;\n name: string;\n code: string;\n message: string;\n emitted: boolean;\n unlimited: boolean;\n format(a?: any, b?: any, c?: any): string;\n }\n\n export type WarningOptions = {\n name: string;\n code: string;\n message: string;\n unlimited?: boolean;\n }\n\n export type DeprecationOptions = Omit<WarningOptions, 'name'>\n\n export type ProcessWarningOptions = {\n unlimited?: boolean;\n }\n\n export type ProcessWarning = {\n createWarning(params: WarningOptions): WarningItem;\n createDeprecation(params: DeprecationOptions): WarningItem;\n }\n\n export function createWarning (params: WarningOptions): WarningItem\n export function createDeprecation (params: DeprecationOptions): WarningItem\n\n const processWarning: ProcessWarning\n export { processWarning as default }\n}\n\nexport = processWarning\n",
13782
+ "node_modules/postgres-bytea/package.json": "{\n \"name\": \"postgres-bytea\",\n \"main\": \"index.js\",\n \"version\": \"1.0.0\",\n \"description\": \"Postgres bytea parser\",\n \"license\": \"MIT\",\n \"repository\": \"bendrucker/postgres-bytea\",\n \"author\": {\n \"name\": \"Ben Drucker\",\n \"email\": \"bvdrucker@gmail.com\",\n \"url\": \"bendrucker.me\"\n },\n \"engines\": {\n \"node\": \">=0.10.0\"\n },\n \"scripts\": {\n \"test\": \"standard && tape test.js\"\n },\n \"keywords\": [\n \"bytea\",\n \"postgres\",\n \"binary\",\n \"parser\"\n ],\n \"dependencies\": {},\n \"devDependencies\": {\n \"tape\": \"^4.0.0\",\n \"standard\": \"^4.0.0\"\n },\n \"files\": [\n \"index.js\",\n \"readme.md\"\n ]\n}\n",
13783
+ "node_modules/postgres-date/package.json": "{\n \"name\": \"postgres-date\",\n \"main\": \"index.js\",\n \"version\": \"1.0.7\",\n \"description\": \"Postgres date column parser\",\n \"license\": \"MIT\",\n \"repository\": \"bendrucker/postgres-date\",\n \"author\": {\n \"name\": \"Ben Drucker\",\n \"email\": \"bvdrucker@gmail.com\",\n \"url\": \"bendrucker.me\"\n },\n \"engines\": {\n \"node\": \">=0.10.0\"\n },\n \"scripts\": {\n \"test\": \"standard && tape test.js\"\n },\n \"keywords\": [\n \"postgres\",\n \"date\",\n \"parser\"\n ],\n \"dependencies\": {},\n \"devDependencies\": {\n \"standard\": \"^14.0.0\",\n \"tape\": \"^5.0.0\"\n },\n \"files\": [\n \"index.js\",\n \"readme.md\"\n ]\n}\n",
13784
+ "node_modules/postgres-interval/index.d.ts": "declare namespace PostgresInterval {\n export interface IPostgresInterval {\n years?: number;\n months?: number;\n days?: number;\n hours?: number;\n minutes?: number;\n seconds?: number;\n milliseconds?: number;\n\n toPostgres(): string;\n\n toISO(): string;\n toISOString(): string;\n }\n}\n\ndeclare function PostgresInterval(raw: string): PostgresInterval.IPostgresInterval;\n\nexport = PostgresInterval;\n",
13785
+ "node_modules/postgres-interval/package.json": "{\n \"name\": \"postgres-interval\",\n \"main\": \"index.js\",\n \"version\": \"1.2.0\",\n \"description\": \"Parse Postgres interval columns\",\n \"license\": \"MIT\",\n \"repository\": \"bendrucker/postgres-interval\",\n \"author\": {\n \"name\": \"Ben Drucker\",\n \"email\": \"bvdrucker@gmail.com\",\n \"url\": \"bendrucker.me\"\n },\n \"engines\": {\n \"node\": \">=0.10.0\"\n },\n \"scripts\": {\n \"test\": \"standard && tape test.js\"\n },\n \"keywords\": [\n \"postgres\",\n \"interval\",\n \"parser\"\n ],\n \"dependencies\": {\n \"xtend\": \"^4.0.0\"\n },\n \"devDependencies\": {\n \"tape\": \"^4.0.0\",\n \"standard\": \"^12.0.1\"\n },\n \"files\": [\n \"index.js\",\n \"index.d.ts\",\n \"readme.md\"\n ]\n}\n",
13786
+ "node_modules/prebuild-install/package.json": "{\n \"name\": \"prebuild-install\",\n \"version\": \"7.1.3\",\n \"description\": \"A command line tool to easily install prebuilt binaries for multiple version of node/iojs on a specific platform\",\n \"scripts\": {\n \"test\": \"standard && hallmark && tape test/*-test.js\",\n \"hallmark\": \"hallmark --fix\"\n },\n \"keywords\": [\n \"prebuilt\",\n \"binaries\",\n \"native\",\n \"addon\",\n \"module\",\n \"c\",\n \"c++\",\n \"bindings\",\n \"devops\",\n \"napi\"\n ],\n \"dependencies\": {\n \"detect-libc\": \"^2.0.0\",\n \"expand-template\": \"^2.0.3\",\n \"github-from-package\": \"0.0.0\",\n \"minimist\": \"^1.2.3\",\n \"mkdirp-classic\": \"^0.5.3\",\n \"napi-build-utils\": \"^2.0.0\",\n \"node-abi\": \"^3.3.0\",\n \"pump\": \"^3.0.0\",\n \"rc\": \"^1.2.7\",\n \"simple-get\": \"^4.0.0\",\n \"tar-fs\": \"^2.0.0\",\n \"tunnel-agent\": \"^0.6.0\"\n },\n \"devDependencies\": {\n \"a-native-module\": \"^1.0.0\",\n \"hallmark\": \"^4.0.0\",\n \"nock\": \"^10.0.6\",\n \"rimraf\": \"^2.5.2\",\n \"standard\": \"^16.0.4\",\n \"tape\": \"^5.3.1\",\n \"tempy\": \"0.2.1\"\n },\n \"bin\": \"./bin.js\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/prebuild/prebuild-install.git\"\n },\n \"author\": \"Mathias Buus (@mafintosh)\",\n \"contributors\": [\n \"Julian Gruber <julian@juliangruber.com> (https://github.com/juliangruber)\",\n \"Brett Lawson <brett19@gmail.com> (https://github.com/brett19)\",\n \"Pieter Hintjens <ph@imatix.com> (https://github.com/hintjens)\",\n \"Lars-Magnus Skog <ralphtheninja@riseup.net> (https://github.com/ralphtheninja)\",\n \"Jesús Leganés Combarro <piranna@gmail.com> (https://github.com/piranna)\",\n \"Mathias Küsel <mathiask@hotmail.de> (https://github.com/mathiask88)\",\n \"Lukas Geiger <lukas.geiger94@gmail.com> (https://github.com/lgeiger)\"\n ],\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/prebuild/prebuild-install/issues\"\n },\n \"homepage\": \"https://github.com/prebuild/prebuild-install\",\n \"engines\": {\n \"node\": \">=10\"\n }\n}",
13725
13787
  "node_modules/prettier/doc.d.ts": "// https://github.com/prettier/prettier/blob/next/src/document/public.js\nexport namespace builders {\n type DocCommand =\n | Align\n | BreakParent\n | Cursor\n | Fill\n | Group\n | IfBreak\n | Indent\n | IndentIfBreak\n | Label\n | Line\n | LineSuffix\n | LineSuffixBoundary\n | Trim;\n type Doc = string | Doc[] | DocCommand;\n\n interface Align {\n type: \"align\";\n contents: Doc;\n n: number | string | { type: \"root\" };\n }\n\n interface BreakParent {\n type: \"break-parent\";\n }\n\n interface Cursor {\n type: \"cursor\";\n placeholder: symbol;\n }\n\n interface Fill {\n type: \"fill\";\n parts: Doc[];\n }\n\n interface Group {\n type: \"group\";\n id?: symbol;\n contents: Doc;\n break: boolean;\n expandedStates: Doc[];\n }\n\n interface HardlineWithoutBreakParent extends Line {\n hard: true;\n }\n\n interface IfBreak {\n type: \"if-break\";\n breakContents: Doc;\n flatContents: Doc;\n }\n\n interface Indent {\n type: \"indent\";\n contents: Doc;\n }\n\n interface IndentIfBreak {\n type: \"indent-if-break\";\n }\n\n interface Label {\n type: \"label\";\n label: any;\n contents: Doc;\n }\n\n interface Line {\n type: \"line\";\n soft?: boolean | undefined;\n hard?: boolean | undefined;\n literal?: boolean | undefined;\n }\n\n interface LineSuffix {\n type: \"line-suffix\";\n contents: Doc;\n }\n\n interface LineSuffixBoundary {\n type: \"line-suffix-boundary\";\n }\n\n interface LiterallineWithoutBreakParent extends Line {\n hard: true;\n literal: true;\n }\n\n type LiteralLine = [LiterallineWithoutBreakParent, BreakParent];\n\n interface Softline extends Line {\n soft: true;\n }\n\n type Hardline = [HardlineWithoutBreakParent, BreakParent];\n\n interface Trim {\n type: \"trim\";\n }\n\n interface GroupOptions {\n shouldBreak?: boolean | undefined;\n id?: symbol | undefined;\n }\n\n function addAlignmentToDoc(doc: Doc, size: number, tabWidth: number): Doc;\n\n /** @see [align](https://github.com/prettier/prettier/blob/main/commands.md#align) */\n function align(widthOrString: Align[\"n\"], doc: Doc): Align;\n\n /** @see [breakParent](https://github.com/prettier/prettier/blob/main/commands.md#breakparent) */\n const breakParent: BreakParent;\n\n /** @see [conditionalGroup](https://github.com/prettier/prettier/blob/main/commands.md#conditionalgroup) */\n function conditionalGroup(alternatives: Doc[], options?: GroupOptions): Group;\n\n /** @see [dedent](https://github.com/prettier/prettier/blob/main/commands.md#dedent) */\n function dedent(doc: Doc): Align;\n\n /** @see [dedentToRoot](https://github.com/prettier/prettier/blob/main/commands.md#dedenttoroot) */\n function dedentToRoot(doc: Doc): Align;\n\n /** @see [fill](https://github.com/prettier/prettier/blob/main/commands.md#fill) */\n function fill(docs: Doc[]): Fill;\n\n /** @see [group](https://github.com/prettier/prettier/blob/main/commands.md#group) */\n function group(doc: Doc, opts?: GroupOptions): Group;\n\n /** @see [hardline](https://github.com/prettier/prettier/blob/main/commands.md#hardline) */\n const hardline: Hardline;\n\n /** @see [hardlineWithoutBreakParent](https://github.com/prettier/prettier/blob/main/commands.md#hardlinewithoutbreakparent-and-literallinewithoutbreakparent) */\n const hardlineWithoutBreakParent: HardlineWithoutBreakParent;\n\n /** @see [ifBreak](https://github.com/prettier/prettier/blob/main/commands.md#ifbreak) */\n function ifBreak(\n ifBreak: Doc,\n noBreak?: Doc,\n options?: { groupId?: symbol | undefined },\n ): IfBreak;\n\n /** @see [indent](https://github.com/prettier/prettier/blob/main/commands.md#indent) */\n function indent(doc: Doc): Indent;\n\n /** @see [indentIfBreak](https://github.com/prettier/prettier/blob/main/commands.md#indentifbreak) */\n function indentIfBreak(\n doc: Doc,\n opts: { groupId: symbol; negate?: boolean | undefined },\n ): IndentIfBreak;\n\n /** @see [join](https://github.com/prettier/prettier/blob/main/commands.md#join) */\n function join(sep: Doc, docs: Doc[]): Doc[];\n\n /** @see [label](https://github.com/prettier/prettier/blob/main/commands.md#label) */\n function label(label: any | undefined, contents: Doc): Doc;\n\n /** @see [line](https://github.com/prettier/prettier/blob/main/commands.md#line) */\n const line: Line;\n\n /** @see [lineSuffix](https://github.com/prettier/prettier/blob/main/commands.md#linesuffix) */\n function lineSuffix(suffix: Doc): LineSuffix;\n\n /** @see [lineSuffixBoundary](https://github.com/prettier/prettier/blob/main/commands.md#linesuffixboundary) */\n const lineSuffixBoundary: LineSuffixBoundary;\n\n /** @see [literalline](https://github.com/prettier/prettier/blob/main/commands.md#literalline) */\n const literalline: LiteralLine;\n\n /** @see [literallineWithoutBreakParent](https://github.com/prettier/prettier/blob/main/commands.md#hardlinewithoutbreakparent-and-literallinewithoutbreakparent) */\n const literallineWithoutBreakParent: LiterallineWithoutBreakParent;\n\n /** @see [markAsRoot](https://github.com/prettier/prettier/blob/main/commands.md#markasroot) */\n function markAsRoot(doc: Doc): Align;\n\n /** @see [softline](https://github.com/prettier/prettier/blob/main/commands.md#softline) */\n const softline: Softline;\n\n /** @see [trim](https://github.com/prettier/prettier/blob/main/commands.md#trim) */\n const trim: Trim;\n\n /** @see [cursor](https://github.com/prettier/prettier/blob/main/commands.md#cursor) */\n const cursor: Cursor;\n}\n\nexport namespace printer {\n function printDocToString(\n doc: builders.Doc,\n options: Options,\n ): {\n formatted: string;\n cursorNodeStart?: number | undefined;\n cursorNodeText?: string | undefined;\n };\n interface Options {\n /**\n * Specify the line length that the printer will wrap on.\n * @default 80\n */\n printWidth: number;\n /**\n * Specify the number of spaces per indentation-level.\n * @default 2\n */\n tabWidth: number;\n /**\n * Indent lines with tabs instead of spaces\n * @default false\n */\n useTabs?: boolean;\n parentParser?: string | undefined;\n __embeddedInHtml?: boolean | undefined;\n }\n}\n\nexport namespace utils {\n function willBreak(doc: builders.Doc): boolean;\n function traverseDoc(\n doc: builders.Doc,\n onEnter?: (doc: builders.Doc) => void | boolean,\n onExit?: (doc: builders.Doc) => void,\n shouldTraverseConditionalGroups?: boolean,\n ): void;\n function findInDoc<T = builders.Doc>(\n doc: builders.Doc,\n callback: (doc: builders.Doc) => T,\n defaultValue: T,\n ): T;\n function mapDoc<T = builders.Doc>(\n doc: builders.Doc,\n callback: (doc: builders.Doc) => T,\n ): T;\n function removeLines(doc: builders.Doc): builders.Doc;\n function stripTrailingHardline(doc: builders.Doc): builders.Doc;\n function replaceEndOfLine(\n doc: builders.Doc,\n replacement?: builders.Doc,\n ): builders.Doc;\n function canBreak(doc: builders.Doc): boolean;\n}\n",
13726
13788
  "node_modules/prettier/index.d.ts": "// Copied from `@types/prettier`\n// https://github.com/DefinitelyTyped/DefinitelyTyped/blob/5bb07fc4b087cb7ee91084afa6fe750551a7bbb1/types/prettier/index.d.ts\n\n// Minimum TypeScript Version: 4.2\n\n// Add `export {}` here to shut off automatic exporting from index.d.ts. There\n// are quite a few utility types here that don't need to be shipped with the\n// exported module.\nexport {};\n\nimport { builders, printer, utils } from \"./doc.js\";\n\nexport namespace doc {\n export { builders, printer, utils };\n}\n\n// This utility is here to handle the case where you have an explicit union\n// between string literals and the generic string type. It would normally\n// resolve out to just the string type, but this generic LiteralUnion maintains\n// the intellisense of the original union.\n//\n// It comes from this issue: microsoft/TypeScript#29729:\n// https://github.com/microsoft/TypeScript/issues/29729#issuecomment-700527227\nexport type LiteralUnion<T extends U, U = string> =\n | T\n | (Pick<U, never> & { _?: never | undefined });\n\nexport type AST = any;\nexport type Doc = doc.builders.Doc;\n\n// The type of elements that make up the given array T.\ntype ArrayElement<T> = T extends Array<infer E> ? E : never;\n\n// A union of the properties of the given object that are arrays.\ntype ArrayProperties<T> = {\n [K in keyof T]: NonNullable<T[K]> extends readonly any[] ? K : never;\n}[keyof T];\n\n// A union of the properties of the given array T that can be used to index it.\n// If the array is a tuple, then that's going to be the explicit indices of the\n// array, otherwise it's going to just be number.\ntype IndexProperties<T extends { length: number }> =\n IsTuple<T> extends true ? Exclude<Partial<T>[\"length\"], T[\"length\"]> : number;\n\n// Effectively performing T[P], except that it's telling TypeScript that it's\n// safe to do this for tuples, arrays, or objects.\ntype IndexValue<T, P> = T extends any[]\n ? P extends number\n ? T[P]\n : never\n : P extends keyof T\n ? T[P]\n : never;\n\n// Determines if an object T is an array like string[] (in which case this\n// evaluates to false) or a tuple like [string] (in which case this evaluates to\n// true).\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\ntype IsTuple<T> = T extends []\n ? true\n : T extends [infer First, ...infer Remain]\n ? IsTuple<Remain>\n : false;\n\ntype CallProperties<T> = T extends any[] ? IndexProperties<T> : keyof T;\ntype IterProperties<T> = T extends any[]\n ? IndexProperties<T>\n : ArrayProperties<T>;\n\ntype CallCallback<T, U> = (path: AstPath<T>, index: number, value: any) => U;\ntype EachCallback<T> = (\n path: AstPath<ArrayElement<T>>,\n index: number,\n value: any,\n) => void;\ntype MapCallback<T, U> = (\n path: AstPath<ArrayElement<T>>,\n index: number,\n value: any,\n) => U;\n\n// https://github.com/prettier/prettier/blob/next/src/common/ast-path.js\nexport class AstPath<T = any> {\n constructor(value: T);\n\n get key(): string | null;\n get index(): number | null;\n get node(): T;\n get parent(): T | null;\n get grandparent(): T | null;\n get isInArray(): boolean;\n get siblings(): T[] | null;\n get next(): T | null;\n get previous(): T | null;\n get isFirst(): boolean;\n get isLast(): boolean;\n get isRoot(): boolean;\n get root(): T;\n get ancestors(): T[];\n\n stack: T[];\n\n callParent<U>(callback: (path: this) => U, count?: number): U;\n\n /**\n * @deprecated Please use `AstPath#key` or `AstPath#index`\n */\n getName(): PropertyKey | null;\n\n /**\n * @deprecated Please use `AstPath#node` or `AstPath#siblings`\n */\n getValue(): T;\n\n getNode(count?: number): T | null;\n\n getParentNode(count?: number): T | null;\n\n match(\n ...predicates: Array<\n (node: any, name: string | null, number: number | null) => boolean\n >\n ): boolean;\n\n // For each of the tree walk functions (call, each, and map) this provides 5\n // strict type signatures, along with a fallback at the end if you end up\n // calling more than 5 properties deep. This helps a lot with typing because\n // for the majority of cases you're calling fewer than 5 properties, so the\n // tree walk functions have a clearer understanding of what you're doing.\n //\n // Note that resolving these types is somewhat complicated, and it wasn't\n // even supported until TypeScript 4.2 (before it would just say that the\n // type instantiation was excessively deep and possibly infinite).\n\n call<U>(callback: CallCallback<T, U>): U;\n call<U, P1 extends CallProperties<T>>(\n callback: CallCallback<IndexValue<T, P1>, U>,\n prop1: P1,\n ): U;\n call<U, P1 extends keyof T, P2 extends CallProperties<T[P1]>>(\n callback: CallCallback<IndexValue<IndexValue<T, P1>, P2>, U>,\n prop1: P1,\n prop2: P2,\n ): U;\n call<\n U,\n P1 extends keyof T,\n P2 extends CallProperties<T[P1]>,\n P3 extends CallProperties<IndexValue<T[P1], P2>>,\n >(\n callback: CallCallback<\n IndexValue<IndexValue<IndexValue<T, P1>, P2>, P3>,\n U\n >,\n prop1: P1,\n prop2: P2,\n prop3: P3,\n ): U;\n call<\n U,\n P1 extends keyof T,\n P2 extends CallProperties<T[P1]>,\n P3 extends CallProperties<IndexValue<T[P1], P2>>,\n P4 extends CallProperties<IndexValue<IndexValue<T[P1], P2>, P3>>,\n >(\n callback: CallCallback<\n IndexValue<IndexValue<IndexValue<IndexValue<T, P1>, P2>, P3>, P4>,\n U\n >,\n prop1: P1,\n prop2: P2,\n prop3: P3,\n prop4: P4,\n ): U;\n call<U, P extends PropertyKey>(\n callback: CallCallback<any, U>,\n prop1: P,\n prop2: P,\n prop3: P,\n prop4: P,\n ...props: P[]\n ): U;\n\n each(callback: EachCallback<T>): void;\n each<P1 extends IterProperties<T>>(\n callback: EachCallback<IndexValue<T, P1>>,\n prop1: P1,\n ): void;\n each<P1 extends keyof T, P2 extends IterProperties<T[P1]>>(\n callback: EachCallback<IndexValue<IndexValue<T, P1>, P2>>,\n prop1: P1,\n prop2: P2,\n ): void;\n each<\n P1 extends keyof T,\n P2 extends IterProperties<T[P1]>,\n P3 extends IterProperties<IndexValue<T[P1], P2>>,\n >(\n callback: EachCallback<IndexValue<IndexValue<IndexValue<T, P1>, P2>, P3>>,\n prop1: P1,\n prop2: P2,\n prop3: P3,\n ): void;\n each<\n P1 extends keyof T,\n P2 extends IterProperties<T[P1]>,\n P3 extends IterProperties<IndexValue<T[P1], P2>>,\n P4 extends IterProperties<IndexValue<IndexValue<T[P1], P2>, P3>>,\n >(\n callback: EachCallback<\n IndexValue<IndexValue<IndexValue<IndexValue<T, P1>, P2>, P3>, P4>\n >,\n prop1: P1,\n prop2: P2,\n prop3: P3,\n prop4: P4,\n ): void;\n each(\n callback: EachCallback<any[]>,\n prop1: PropertyKey,\n prop2: PropertyKey,\n prop3: PropertyKey,\n prop4: PropertyKey,\n ...props: PropertyKey[]\n ): void;\n\n map<U>(callback: MapCallback<T, U>): U[];\n map<U, P1 extends IterProperties<T>>(\n callback: MapCallback<IndexValue<T, P1>, U>,\n prop1: P1,\n ): U[];\n map<U, P1 extends keyof T, P2 extends IterProperties<T[P1]>>(\n callback: MapCallback<IndexValue<IndexValue<T, P1>, P2>, U>,\n prop1: P1,\n prop2: P2,\n ): U[];\n map<\n U,\n P1 extends keyof T,\n P2 extends IterProperties<T[P1]>,\n P3 extends IterProperties<IndexValue<T[P1], P2>>,\n >(\n callback: MapCallback<IndexValue<IndexValue<IndexValue<T, P1>, P2>, P3>, U>,\n prop1: P1,\n prop2: P2,\n prop3: P3,\n ): U[];\n map<\n U,\n P1 extends keyof T,\n P2 extends IterProperties<T[P1]>,\n P3 extends IterProperties<IndexValue<T[P1], P2>>,\n P4 extends IterProperties<IndexValue<IndexValue<T[P1], P2>, P3>>,\n >(\n callback: MapCallback<\n IndexValue<IndexValue<IndexValue<IndexValue<T, P1>, P2>, P3>, P4>,\n U\n >,\n prop1: P1,\n prop2: P2,\n prop3: P3,\n prop4: P4,\n ): U[];\n map<U>(\n callback: MapCallback<any[], U>,\n prop1: PropertyKey,\n prop2: PropertyKey,\n prop3: PropertyKey,\n prop4: PropertyKey,\n ...props: PropertyKey[]\n ): U[];\n}\n\n/** @deprecated `FastPath` was renamed to `AstPath` */\nexport type FastPath<T = any> = AstPath<T>;\n\nexport type BuiltInParser = (text: string, options?: any) => AST;\nexport type BuiltInParserName =\n | \"acorn\"\n | \"angular\"\n | \"babel-flow\"\n | \"babel-ts\"\n | \"babel\"\n | \"css\"\n | \"espree\"\n | \"flow\"\n | \"glimmer\"\n | \"graphql\"\n | \"html\"\n | \"json-stringify\"\n | \"json\"\n | \"json5\"\n | \"jsonc\"\n | \"less\"\n | \"lwc\"\n | \"markdown\"\n | \"mdx\"\n | \"meriyah\"\n | \"scss\"\n | \"typescript\"\n | \"vue\"\n | \"yaml\";\nexport type BuiltInParsers = Record<BuiltInParserName, BuiltInParser>;\n\n/**\n * For use in `.prettierrc.js`, `.prettierrc.cjs`, `prettierrc.mjs`, `prettier.config.js`, `prettier.config.cjs`, `prettier.config.mjs`\n */\nexport interface Config extends Options {\n overrides?: Array<{\n files: string | string[];\n excludeFiles?: string | string[];\n options?: Options;\n }>;\n}\n\nexport interface Options extends Partial<RequiredOptions> {}\n\nexport interface RequiredOptions extends doc.printer.Options {\n /**\n * Print semicolons at the ends of statements.\n * @default true\n */\n semi: boolean;\n /**\n * Use single quotes instead of double quotes.\n * @default false\n */\n singleQuote: boolean;\n /**\n * Use single quotes in JSX.\n * @default false\n */\n jsxSingleQuote: boolean;\n /**\n * Print trailing commas wherever possible.\n * @default \"all\"\n */\n trailingComma: \"none\" | \"es5\" | \"all\";\n /**\n * Print spaces between brackets in object literals.\n * @default true\n */\n bracketSpacing: boolean;\n /**\n * Put the `>` of a multi-line HTML (HTML, JSX, Vue, Angular) element at the end of the last line instead of being\n * alone on the next line (does not apply to self closing elements).\n * @default false\n */\n bracketSameLine: boolean;\n /**\n * Format only a segment of a file.\n * @default 0\n */\n rangeStart: number;\n /**\n * Format only a segment of a file.\n * @default Number.POSITIVE_INFINITY\n */\n rangeEnd: number;\n /**\n * Specify which parser to use.\n */\n parser: LiteralUnion<BuiltInParserName>;\n /**\n * Specify the input filepath. This will be used to do parser inference.\n */\n filepath: string;\n /**\n * Prettier can restrict itself to only format files that contain a special comment, called a pragma, at the top of the file.\n * This is very useful when gradually transitioning large, unformatted codebases to prettier.\n * @default false\n */\n requirePragma: boolean;\n /**\n * Prettier can insert a special @format marker at the top of files specifying that\n * the file has been formatted with prettier. This works well when used in tandem with\n * the --require-pragma option. If there is already a docblock at the top of\n * the file then this option will add a newline to it with the @format marker.\n * @default false\n */\n insertPragma: boolean;\n /**\n * By default, Prettier will wrap markdown text as-is since some services use a linebreak-sensitive renderer.\n * In some cases you may want to rely on editor/viewer soft wrapping instead, so this option allows you to opt out.\n * @default \"preserve\"\n */\n proseWrap: \"always\" | \"never\" | \"preserve\";\n /**\n * Include parentheses around a sole arrow function parameter.\n * @default \"always\"\n */\n arrowParens: \"avoid\" | \"always\";\n /**\n * Provide ability to support new languages to prettier.\n */\n plugins: Array<string | Plugin>;\n /**\n * How to handle whitespaces in HTML.\n * @default \"css\"\n */\n htmlWhitespaceSensitivity: \"css\" | \"strict\" | \"ignore\";\n /**\n * Which end of line characters to apply.\n * @default \"lf\"\n */\n endOfLine: \"auto\" | \"lf\" | \"crlf\" | \"cr\";\n /**\n * Change when properties in objects are quoted.\n * @default \"as-needed\"\n */\n quoteProps: \"as-needed\" | \"consistent\" | \"preserve\";\n /**\n * Whether or not to indent the code inside <script> and <style> tags in Vue files.\n * @default false\n */\n vueIndentScriptAndStyle: boolean;\n /**\n * Control whether Prettier formats quoted code embedded in the file.\n * @default \"auto\"\n */\n embeddedLanguageFormatting: \"auto\" | \"off\";\n /**\n * Enforce single attribute per line in HTML, Vue and JSX.\n * @default false\n */\n singleAttributePerLine: boolean;\n /**\n * Use curious ternaries, with the question mark after the condition, instead\n * of on the same line as the consequent.\n * @default false\n */\n experimentalTernaries: boolean;\n /**\n * Put the `>` of a multi-line JSX element at the end of the last line instead of being alone on the next line.\n * @default false\n * @deprecated use bracketSameLine instead\n */\n jsxBracketSameLine?: boolean;\n /**\n * Arbitrary additional values on an options object are always allowed.\n */\n [_: string]: unknown;\n}\n\nexport interface ParserOptions<T = any> extends RequiredOptions {\n locStart: (node: T) => number;\n locEnd: (node: T) => number;\n originalText: string;\n}\n\nexport interface Plugin<T = any> {\n languages?: SupportLanguage[] | undefined;\n parsers?: { [parserName: string]: Parser<T> } | undefined;\n printers?: { [astFormat: string]: Printer<T> } | undefined;\n options?: SupportOptions | undefined;\n defaultOptions?: Partial<RequiredOptions> | undefined;\n}\n\nexport interface Parser<T = any> {\n parse: (text: string, options: ParserOptions<T>) => T | Promise<T>;\n astFormat: string;\n hasPragma?: ((text: string) => boolean) | undefined;\n locStart: (node: T) => number;\n locEnd: (node: T) => number;\n preprocess?:\n | ((text: string, options: ParserOptions<T>) => string)\n | undefined;\n}\n\nexport interface Printer<T = any> {\n print(\n path: AstPath<T>,\n options: ParserOptions<T>,\n print: (path: AstPath<T>) => Doc,\n args?: unknown,\n ): Doc;\n embed?:\n | ((\n path: AstPath,\n options: Options,\n ) =>\n | ((\n textToDoc: (text: string, options: Options) => Promise<Doc>,\n print: (\n selector?: string | number | Array<string | number> | AstPath,\n ) => Doc,\n path: AstPath,\n options: Options,\n ) => Promise<Doc | undefined> | Doc | undefined)\n | Doc\n | null)\n | undefined;\n preprocess?:\n | ((ast: T, options: ParserOptions<T>) => T | Promise<T>)\n | undefined;\n insertPragma?: (text: string) => string;\n /**\n * @returns `null` if you want to remove this node\n * @returns `void` if you want to use modified `cloned`\n * @returns anything if you want to replace the node with it\n */\n massageAstNode?:\n | ((original: any, cloned: any, parent: any) => any)\n | undefined;\n hasPrettierIgnore?: ((path: AstPath<T>) => boolean) | undefined;\n canAttachComment?: ((node: T) => boolean) | undefined;\n isBlockComment?: ((node: T) => boolean) | undefined;\n willPrintOwnComments?: ((path: AstPath<T>) => boolean) | undefined;\n printComment?:\n | ((commentPath: AstPath<T>, options: ParserOptions<T>) => Doc)\n | undefined;\n /**\n * By default, Prettier searches all object properties (except for a few predefined ones) of each node recursively.\n * This function can be provided to override that behavior.\n * @param node The node whose children should be returned.\n * @param options Current options.\n * @returns `[]` if the node has no children or `undefined` to fall back on the default behavior.\n */\n getCommentChildNodes?:\n | ((node: T, options: ParserOptions<T>) => T[] | undefined)\n | undefined;\n handleComments?:\n | {\n ownLine?:\n | ((\n commentNode: any,\n text: string,\n options: ParserOptions<T>,\n ast: T,\n isLastComment: boolean,\n ) => boolean)\n | undefined;\n endOfLine?:\n | ((\n commentNode: any,\n text: string,\n options: ParserOptions<T>,\n ast: T,\n isLastComment: boolean,\n ) => boolean)\n | undefined;\n remaining?:\n | ((\n commentNode: any,\n text: string,\n options: ParserOptions<T>,\n ast: T,\n isLastComment: boolean,\n ) => boolean)\n | undefined;\n }\n | undefined;\n getVisitorKeys?:\n | ((node: T, nonTraversableKeys: Set<string>) => string[])\n | undefined;\n}\n\nexport interface CursorOptions extends Options {\n /**\n * Specify where the cursor is.\n */\n cursorOffset: number;\n}\n\nexport interface CursorResult {\n formatted: string;\n cursorOffset: number;\n}\n\n/**\n * `format` is used to format text using Prettier. [Options](https://prettier.io/docs/en/options.html) may be provided to override the defaults.\n */\nexport function format(source: string, options?: Options): Promise<string>;\n\n/**\n * `check` checks to see if the file has been formatted with Prettier given those options and returns a `Boolean`.\n * This is similar to the `--list-different` parameter in the CLI and is useful for running Prettier in CI scenarios.\n */\nexport function check(source: string, options?: Options): Promise<boolean>;\n\n/**\n * `formatWithCursor` both formats the code, and translates a cursor position from unformatted code to formatted code.\n * This is useful for editor integrations, to prevent the cursor from moving when code is formatted.\n *\n * The `cursorOffset` option should be provided, to specify where the cursor is.\n */\nexport function formatWithCursor(\n source: string,\n options: CursorOptions,\n): Promise<CursorResult>;\n\nexport interface ResolveConfigOptions {\n /**\n * If set to `false`, all caching will be bypassed.\n */\n useCache?: boolean | undefined;\n /**\n * Pass directly the path of the config file if you don't wish to search for it.\n */\n config?: string | undefined;\n /**\n * If set to `true` and an `.editorconfig` file is in your project,\n * Prettier will parse it and convert its properties to the corresponding prettier configuration.\n * This configuration will be overridden by `.prettierrc`, etc. Currently,\n * the following EditorConfig properties are supported:\n * - indent_style\n * - indent_size/tab_width\n * - max_line_length\n */\n editorconfig?: boolean | undefined;\n}\n\n/**\n * `resolveConfig` can be used to resolve configuration for a given source file,\n * passing its path or url as the first argument. The config search will start at\n * the directory of the file location and continue to search up the directory.\n *\n * A promise is returned which will resolve to:\n *\n * - An options object, providing a [config file](https://prettier.io/docs/en/configuration.html) was found.\n * - `null`, if no file was found.\n *\n * The promise will be rejected if there was an error parsing the configuration file.\n */\nexport function resolveConfig(\n fileUrlOrPath: string | URL,\n options?: ResolveConfigOptions,\n): Promise<Options | null>;\n\n/**\n * `resolveConfigFile` can be used to find the path of the Prettier configuration file,\n * that will be used when resolving the config (i.e. when calling `resolveConfig`).\n *\n * A promise is returned which will resolve to:\n *\n * - The path of the configuration file.\n * - `null`, if no file was found.\n *\n * The promise will be rejected if there was an error parsing the configuration file.\n */\nexport function resolveConfigFile(\n fileUrlOrPath?: string | URL,\n): Promise<string | null>;\n\n/**\n * As you repeatedly call `resolveConfig`, the file system structure will be cached for performance. This function will clear the cache.\n * Generally this is only needed for editor integrations that know that the file system has changed since the last format took place.\n */\nexport function clearConfigCache(): Promise<void>;\n\nexport interface SupportLanguage {\n name: string;\n since?: string | undefined;\n parsers: BuiltInParserName[] | string[];\n group?: string | undefined;\n tmScope?: string | undefined;\n aceMode?: string | undefined;\n codemirrorMode?: string | undefined;\n codemirrorMimeType?: string | undefined;\n aliases?: string[] | undefined;\n extensions?: string[] | undefined;\n filenames?: string[] | undefined;\n linguistLanguageId?: number | undefined;\n vscodeLanguageIds?: string[] | undefined;\n interpreters?: string[] | undefined;\n}\n\nexport interface SupportOptionRange {\n start: number;\n end: number;\n step: number;\n}\n\nexport type SupportOptionType =\n | \"int\"\n | \"string\"\n | \"boolean\"\n | \"choice\"\n | \"path\";\n\nexport type CoreCategoryType =\n | \"Config\"\n | \"Editor\"\n | \"Format\"\n | \"Other\"\n | \"Output\"\n | \"Global\"\n | \"Special\";\n\nexport interface BaseSupportOption<Type extends SupportOptionType> {\n readonly name?: string | undefined;\n /**\n * Usually you can use {@link CoreCategoryType}\n */\n category: string;\n /**\n * The type of the option.\n *\n * When passing a type other than the ones listed below, the option is\n * treated as taking any string as argument, and `--option <${type}>` will\n * be displayed in --help.\n */\n type: Type;\n /**\n * Indicate that the option is deprecated.\n *\n * Use a string to add an extra message to --help for the option,\n * for example to suggest a replacement option.\n */\n deprecated?: true | string | undefined;\n /**\n * Description to be displayed in --help. If omitted, the option won't be\n * shown at all in --help.\n */\n description?: string | undefined;\n}\n\nexport interface IntSupportOption extends BaseSupportOption<\"int\"> {\n default?: number | undefined;\n array?: false | undefined;\n range?: SupportOptionRange | undefined;\n}\n\nexport interface IntArraySupportOption extends BaseSupportOption<\"int\"> {\n default?: Array<{ value: number[] }> | undefined;\n array: true;\n}\n\nexport interface StringSupportOption extends BaseSupportOption<\"string\"> {\n default?: string | undefined;\n array?: false | undefined;\n}\n\nexport interface StringArraySupportOption extends BaseSupportOption<\"string\"> {\n default?: Array<{ value: string[] }> | undefined;\n array: true;\n}\n\nexport interface BooleanSupportOption extends BaseSupportOption<\"boolean\"> {\n default?: boolean | undefined;\n array?: false | undefined;\n description: string;\n oppositeDescription?: string | undefined;\n}\n\nexport interface BooleanArraySupportOption\n extends BaseSupportOption<\"boolean\"> {\n default?: Array<{ value: boolean[] }> | undefined;\n array: true;\n}\n\nexport interface ChoiceSupportOption<Value = any>\n extends BaseSupportOption<\"choice\"> {\n default?: Value | Array<{ value: Value }> | undefined;\n description: string;\n choices: Array<{\n since?: string | undefined;\n value: Value;\n description: string;\n }>;\n}\n\nexport interface PathSupportOption extends BaseSupportOption<\"path\"> {\n default?: string | undefined;\n array?: false | undefined;\n}\n\nexport interface PathArraySupportOption extends BaseSupportOption<\"path\"> {\n default?: Array<{ value: string[] }> | undefined;\n array: true;\n}\n\nexport type SupportOption =\n | IntSupportOption\n | IntArraySupportOption\n | StringSupportOption\n | StringArraySupportOption\n | BooleanSupportOption\n | BooleanArraySupportOption\n | ChoiceSupportOption\n | PathSupportOption\n | PathArraySupportOption;\n\nexport interface SupportOptions extends Record<string, SupportOption> {}\n\nexport interface SupportInfo {\n languages: SupportLanguage[];\n options: SupportOption[];\n}\n\nexport interface FileInfoOptions {\n ignorePath?: string | URL | (string | URL)[] | undefined;\n withNodeModules?: boolean | undefined;\n plugins?: Array<string | Plugin> | undefined;\n resolveConfig?: boolean | undefined;\n}\n\nexport interface FileInfoResult {\n ignored: boolean;\n inferredParser: string | null;\n}\n\nexport function getFileInfo(\n file: string | URL,\n options?: FileInfoOptions,\n): Promise<FileInfoResult>;\n\nexport interface SupportInfoOptions {\n plugins?: Array<string | Plugin> | undefined;\n showDeprecated?: boolean | undefined;\n}\n\n/**\n * Returns an object representing the parsers, languages and file types Prettier supports for the current version.\n */\nexport function getSupportInfo(\n options?: SupportInfoOptions,\n): Promise<SupportInfo>;\n\n/**\n * `version` field in `package.json`\n */\nexport const version: string;\n\n// https://github.com/prettier/prettier/blob/next/src/utils/public.js\nexport namespace util {\n interface SkipOptions {\n backwards?: boolean | undefined;\n }\n\n type Quote = \"'\" | '\"';\n\n function getMaxContinuousCount(text: string, searchString: string): number;\n\n function getStringWidth(text: string): number;\n\n function getAlignmentSize(\n text: string,\n tabWidth: number,\n startIndex?: number | undefined,\n ): number;\n\n function getIndentSize(value: string, tabWidth: number): number;\n\n function skipNewline(\n text: string,\n startIndex: number | false,\n options?: SkipOptions | undefined,\n ): number | false;\n\n function skipInlineComment(\n text: string,\n startIndex: number | false,\n ): number | false;\n\n function skipTrailingComment(\n text: string,\n startIndex: number | false,\n ): number | false;\n\n function skipTrailingComment(\n text: string,\n startIndex: number | false,\n ): number | false;\n\n function hasNewline(\n text: string,\n startIndex: number,\n options?: SkipOptions | undefined,\n ): boolean;\n\n function hasNewlineInRange(\n text: string,\n startIndex: number,\n endIndex: number,\n ): boolean;\n\n function hasSpaces(\n text: string,\n startIndex: number,\n options?: SkipOptions | undefined,\n ): boolean;\n\n function getNextNonSpaceNonCommentCharacterIndex(\n text: string,\n startIndex: number,\n ): number | false;\n\n function getNextNonSpaceNonCommentCharacter(\n text: string,\n startIndex: number,\n ): string;\n\n function isNextLineEmpty(text: string, startIndex: number): boolean;\n\n function isPreviousLineEmpty(text: string, startIndex: number): boolean;\n\n function makeString(\n rawText: string,\n enclosingQuote: Quote,\n unescapeUnnecessaryEscapes?: boolean | undefined,\n ): string;\n\n function skip(\n characters: string | RegExp,\n ): (\n text: string,\n startIndex: number | false,\n options?: SkipOptions,\n ) => number | false;\n\n const skipWhitespace: (\n text: string,\n startIndex: number | false,\n options?: SkipOptions,\n ) => number | false;\n\n const skipSpaces: (\n text: string,\n startIndex: number | false,\n options?: SkipOptions,\n ) => number | false;\n\n const skipToLineEnd: (\n text: string,\n startIndex: number | false,\n options?: SkipOptions,\n ) => number | false;\n\n const skipEverythingButNewLine: (\n text: string,\n startIndex: number | false,\n options?: SkipOptions,\n ) => number | false;\n\n function addLeadingComment(node: any, comment: any): void;\n\n function addDanglingComment(node: any, comment: any, marker: any): void;\n\n function addTrailingComment(node: any, comment: any): void;\n}\n",
13727
13789
  "node_modules/prettier/package.json": "{\n \"name\": \"prettier\",\n \"version\": \"3.3.3\",\n \"description\": \"Prettier is an opinionated code formatter\",\n \"bin\": \"./bin/prettier.cjs\",\n \"repository\": \"prettier/prettier\",\n \"funding\": \"https://github.com/prettier/prettier?sponsor=1\",\n \"homepage\": \"https://prettier.io\",\n \"author\": \"James Long\",\n \"license\": \"MIT\",\n \"main\": \"./index.cjs\",\n \"browser\": \"./standalone.js\",\n \"unpkg\": \"./standalone.js\",\n \"exports\": {\n \".\": {\n \"types\": \"./index.d.ts\",\n \"require\": \"./index.cjs\",\n \"browser\": {\n \"import\": \"./standalone.mjs\",\n \"default\": \"./standalone.js\"\n },\n \"default\": \"./index.mjs\"\n },\n \"./*\": \"./*\",\n \"./doc\": {\n \"types\": \"./doc.d.ts\",\n \"require\": \"./doc.js\",\n \"default\": \"./doc.mjs\"\n },\n \"./standalone\": {\n \"types\": \"./standalone.d.ts\",\n \"require\": \"./standalone.js\",\n \"default\": \"./standalone.mjs\"\n },\n \"./plugins/estree\": {\n \"types\": \"./plugins/estree.d.ts\",\n \"require\": \"./plugins/estree.js\",\n \"default\": \"./plugins/estree.mjs\"\n },\n \"./plugins/babel\": {\n \"types\": \"./plugins/babel.d.ts\",\n \"require\": \"./plugins/babel.js\",\n \"default\": \"./plugins/babel.mjs\"\n },\n \"./plugins/flow\": {\n \"types\": \"./plugins/flow.d.ts\",\n \"require\": \"./plugins/flow.js\",\n \"default\": \"./plugins/flow.mjs\"\n },\n \"./plugins/typescript\": {\n \"types\": \"./plugins/typescript.d.ts\",\n \"require\": \"./plugins/typescript.js\",\n \"default\": \"./plugins/typescript.mjs\"\n },\n \"./plugins/acorn\": {\n \"types\": \"./plugins/acorn.d.ts\",\n \"require\": \"./plugins/acorn.js\",\n \"default\": \"./plugins/acorn.mjs\"\n },\n \"./plugins/meriyah\": {\n \"types\": \"./plugins/meriyah.d.ts\",\n \"require\": \"./plugins/meriyah.js\",\n \"default\": \"./plugins/meriyah.mjs\"\n },\n \"./plugins/angular\": {\n \"types\": \"./plugins/angular.d.ts\",\n \"require\": \"./plugins/angular.js\",\n \"default\": \"./plugins/angular.mjs\"\n },\n \"./plugins/postcss\": {\n \"types\": \"./plugins/postcss.d.ts\",\n \"require\": \"./plugins/postcss.js\",\n \"default\": \"./plugins/postcss.mjs\"\n },\n \"./plugins/graphql\": {\n \"types\": \"./plugins/graphql.d.ts\",\n \"require\": \"./plugins/graphql.js\",\n \"default\": \"./plugins/graphql.mjs\"\n },\n \"./plugins/markdown\": {\n \"types\": \"./plugins/markdown.d.ts\",\n \"require\": \"./plugins/markdown.js\",\n \"default\": \"./plugins/markdown.mjs\"\n },\n \"./plugins/glimmer\": {\n \"types\": \"./plugins/glimmer.d.ts\",\n \"require\": \"./plugins/glimmer.js\",\n \"default\": \"./plugins/glimmer.mjs\"\n },\n \"./plugins/html\": {\n \"types\": \"./plugins/html.d.ts\",\n \"require\": \"./plugins/html.js\",\n \"default\": \"./plugins/html.mjs\"\n },\n \"./plugins/yaml\": {\n \"types\": \"./plugins/yaml.d.ts\",\n \"require\": \"./plugins/yaml.js\",\n \"default\": \"./plugins/yaml.mjs\"\n },\n \"./esm/standalone.mjs\": \"./standalone.mjs\",\n \"./parser-babel\": \"./plugins/babel.js\",\n \"./parser-babel.js\": \"./plugins/babel.js\",\n \"./esm/parser-babel.mjs\": \"./plugins/babel.mjs\",\n \"./parser-flow\": \"./plugins/flow.js\",\n \"./parser-flow.js\": \"./plugins/flow.js\",\n \"./esm/parser-flow.mjs\": \"./plugins/flow.mjs\",\n \"./parser-typescript\": \"./plugins/typescript.js\",\n \"./parser-typescript.js\": \"./plugins/typescript.js\",\n \"./esm/parser-typescript.mjs\": \"./plugins/typescript.mjs\",\n \"./parser-espree\": \"./plugins/acorn.js\",\n \"./parser-espree.js\": \"./plugins/acorn.js\",\n \"./esm/parser-espree.mjs\": \"./plugins/acorn.mjs\",\n \"./parser-meriyah\": \"./plugins/meriyah.js\",\n \"./parser-meriyah.js\": \"./plugins/meriyah.js\",\n \"./esm/parser-meriyah.mjs\": \"./plugins/meriyah.mjs\",\n \"./parser-angular\": \"./plugins/angular.js\",\n \"./parser-angular.js\": \"./plugins/angular.js\",\n \"./esm/parser-angular.mjs\": \"./plugins/angular.mjs\",\n \"./parser-postcss\": \"./plugins/postcss.js\",\n \"./parser-postcss.js\": \"./plugins/postcss.js\",\n \"./esm/parser-postcss.mjs\": \"./plugins/postcss.mjs\",\n \"./parser-graphql\": \"./plugins/graphql.js\",\n \"./parser-graphql.js\": \"./plugins/graphql.js\",\n \"./esm/parser-graphql.mjs\": \"./plugins/graphql.mjs\",\n \"./parser-markdown\": \"./plugins/markdown.js\",\n \"./parser-markdown.js\": \"./plugins/markdown.js\",\n \"./esm/parser-markdown.mjs\": \"./plugins/markdown.mjs\",\n \"./parser-glimmer\": \"./plugins/glimmer.js\",\n \"./parser-glimmer.js\": \"./plugins/glimmer.js\",\n \"./esm/parser-glimmer.mjs\": \"./plugins/glimmer.mjs\",\n \"./parser-html\": \"./plugins/html.js\",\n \"./parser-html.js\": \"./plugins/html.js\",\n \"./esm/parser-html.mjs\": \"./plugins/html.mjs\",\n \"./parser-yaml\": \"./plugins/yaml.js\",\n \"./parser-yaml.js\": \"./plugins/yaml.js\",\n \"./esm/parser-yaml.mjs\": \"./plugins/yaml.mjs\"\n },\n \"engines\": {\n \"node\": \">=14\"\n },\n \"files\": [\n \"LICENSE\",\n \"README.md\",\n \"bin/prettier.cjs\",\n \"doc.d.ts\",\n \"doc.js\",\n \"doc.mjs\",\n \"index.cjs\",\n \"index.d.ts\",\n \"index.d.ts\",\n \"index.mjs\",\n \"internal/cli.mjs\",\n \"package.json\",\n \"plugins/acorn.d.ts\",\n \"plugins/acorn.js\",\n \"plugins/acorn.mjs\",\n \"plugins/angular.d.ts\",\n \"plugins/angular.js\",\n \"plugins/angular.mjs\",\n \"plugins/babel.d.ts\",\n \"plugins/babel.js\",\n \"plugins/babel.mjs\",\n \"plugins/estree.d.ts\",\n \"plugins/estree.js\",\n \"plugins/estree.mjs\",\n \"plugins/flow.d.ts\",\n \"plugins/flow.js\",\n \"plugins/flow.mjs\",\n \"plugins/glimmer.d.ts\",\n \"plugins/glimmer.js\",\n \"plugins/glimmer.mjs\",\n \"plugins/graphql.d.ts\",\n \"plugins/graphql.js\",\n \"plugins/graphql.mjs\",\n \"plugins/html.d.ts\",\n \"plugins/html.js\",\n \"plugins/html.mjs\",\n \"plugins/markdown.d.ts\",\n \"plugins/markdown.js\",\n \"plugins/markdown.mjs\",\n \"plugins/meriyah.d.ts\",\n \"plugins/meriyah.js\",\n \"plugins/meriyah.mjs\",\n \"plugins/postcss.d.ts\",\n \"plugins/postcss.js\",\n \"plugins/postcss.mjs\",\n \"plugins/typescript.d.ts\",\n \"plugins/typescript.js\",\n \"plugins/typescript.mjs\",\n \"plugins/yaml.d.ts\",\n \"plugins/yaml.js\",\n \"plugins/yaml.mjs\",\n \"standalone.d.ts\",\n \"standalone.js\",\n \"standalone.mjs\"\n ],\n \"preferUnplugged\": true\n}",
@@ -13754,6 +13816,7 @@
13754
13816
  "node_modules/proxy-addr/package.json": "{\n \"name\": \"proxy-addr\",\n \"description\": \"Determine address of proxied request\",\n \"version\": \"2.0.7\",\n \"author\": \"Douglas Christopher Wilson <doug@somethingdoug.com>\",\n \"license\": \"MIT\",\n \"keywords\": [\n \"ip\",\n \"proxy\",\n \"x-forwarded-for\"\n ],\n \"repository\": \"jshttp/proxy-addr\",\n \"dependencies\": {\n \"forwarded\": \"0.2.0\",\n \"ipaddr.js\": \"1.9.1\"\n },\n \"devDependencies\": {\n \"benchmark\": \"2.1.4\",\n \"beautify-benchmark\": \"0.2.4\",\n \"deep-equal\": \"1.0.1\",\n \"eslint\": \"7.26.0\",\n \"eslint-config-standard\": \"14.1.1\",\n \"eslint-plugin-import\": \"2.23.4\",\n \"eslint-plugin-markdown\": \"2.2.0\",\n \"eslint-plugin-node\": \"11.1.0\",\n \"eslint-plugin-promise\": \"4.3.1\",\n \"eslint-plugin-standard\": \"4.1.0\",\n \"mocha\": \"8.4.0\",\n \"nyc\": \"15.1.0\"\n },\n \"files\": [\n \"LICENSE\",\n \"HISTORY.md\",\n \"README.md\",\n \"index.js\"\n ],\n \"engines\": {\n \"node\": \">= 0.10\"\n },\n \"scripts\": {\n \"bench\": \"node benchmark/index.js\",\n \"lint\": \"eslint .\",\n \"test\": \"mocha --reporter spec --bail --check-leaks test/\",\n \"test-ci\": \"nyc --reporter=lcov --reporter=text npm test\",\n \"test-cov\": \"nyc --reporter=html --reporter=text npm test\"\n }\n}\n",
13755
13817
  "node_modules/proxy-addr/node_modules/ipaddr.js/lib/ipaddr.js.d.ts": "declare module \"ipaddr.js\" {\n type IPv4Range = 'unicast' | 'unspecified' | 'broadcast' | 'multicast' | 'linkLocal' | 'loopback' | 'carrierGradeNat' | 'private' | 'reserved';\n type IPv6Range = 'unicast' | 'unspecified' | 'linkLocal' | 'multicast' | 'loopback' | 'uniqueLocal' | 'ipv4Mapped' | 'rfc6145' | 'rfc6052' | '6to4' | 'teredo' | 'reserved';\n\n interface RangeList<T> {\n [name: string]: [T, number] | [T, number][];\n }\n\n // Common methods/properties for IPv4 and IPv6 classes.\n class IP {\n prefixLengthFromSubnetMask(): number | null;\n toByteArray(): number[];\n toNormalizedString(): string;\n toString(): string;\n }\n\n namespace Address {\n export function isValid(addr: string): boolean;\n export function fromByteArray(bytes: number[]): IPv4 | IPv6;\n export function parse(addr: string): IPv4 | IPv6;\n export function parseCIDR(mask: string): [IPv4 | IPv6, number];\n export function process(addr: string): IPv4 | IPv6;\n export function subnetMatch(addr: IPv4, rangeList: RangeList<IPv4>, defaultName?: string): string;\n export function subnetMatch(addr: IPv6, rangeList: RangeList<IPv6>, defaultName?: string): string;\n\n export class IPv4 extends IP {\n static broadcastAddressFromCIDR(addr: string): IPv4;\n static isIPv4(addr: string): boolean;\n static isValidFourPartDecimal(addr: string): boolean;\n static isValid(addr: string): boolean;\n static networkAddressFromCIDR(addr: string): IPv4;\n static parse(addr: string): IPv4;\n static parseCIDR(addr: string): [IPv4, number];\n static subnetMaskFromPrefixLength(prefix: number): IPv4;\n constructor(octets: number[]);\n octets: number[]\n\n kind(): 'ipv4';\n match(addr: IPv4, bits: number): boolean;\n match(mask: [IPv4, number]): boolean;\n range(): IPv4Range;\n subnetMatch(rangeList: RangeList<IPv4>, defaultName?: string): string;\n toIPv4MappedAddress(): IPv6;\n }\n\n export class IPv6 extends IP {\n static broadcastAddressFromCIDR(addr: string): IPv6;\n static isIPv6(addr: string): boolean;\n static isValid(addr: string): boolean;\n static parse(addr: string): IPv6;\n static parseCIDR(addr: string): [IPv6, number];\n static subnetMaskFromPrefixLength(prefix: number): IPv6;\n constructor(parts: number[]);\n parts: number[]\n zoneId?: string\n\n isIPv4MappedAddress(): boolean;\n kind(): 'ipv6';\n match(addr: IPv6, bits: number): boolean;\n match(mask: [IPv6, number]): boolean;\n range(): IPv6Range;\n subnetMatch(rangeList: RangeList<IPv6>, defaultName?: string): string;\n toIPv4Address(): IPv4;\n }\n }\n\n export = Address;\n}\n",
13756
13818
  "node_modules/proxy-addr/node_modules/ipaddr.js/package.json": "{\n \"name\": \"ipaddr.js\",\n \"description\": \"A library for manipulating IPv4 and IPv6 addresses in JavaScript.\",\n \"version\": \"1.9.1\",\n \"author\": \"whitequark <whitequark@whitequark.org>\",\n \"directories\": {\n \"lib\": \"./lib\"\n },\n \"dependencies\": {},\n \"devDependencies\": {\n \"coffee-script\": \"~1.12.6\",\n \"nodeunit\": \"^0.11.3\",\n \"uglify-js\": \"~3.0.19\"\n },\n \"scripts\": {\n \"test\": \"cake build test\"\n },\n \"files\": [\n \"lib/\",\n \"LICENSE\",\n \"ipaddr.min.js\"\n ],\n \"keywords\": [\n \"ip\",\n \"ipv4\",\n \"ipv6\"\n ],\n \"repository\": \"git://github.com/whitequark/ipaddr.js\",\n \"main\": \"./lib/ipaddr.js\",\n \"engines\": {\n \"node\": \">= 0.10\"\n },\n \"license\": \"MIT\",\n \"types\": \"./lib/ipaddr.js.d.ts\"\n}\n",
13819
+ "node_modules/pump/package.json": "{\n \"name\": \"pump\",\n \"version\": \"3.0.3\",\n \"repository\": \"git://github.com/mafintosh/pump.git\",\n \"license\": \"MIT\",\n \"description\": \"pipe streams together and close all of them if one of them closes\",\n \"browser\": {\n \"fs\": false\n },\n \"keywords\": [\n \"streams\",\n \"pipe\",\n \"destroy\",\n \"callback\"\n ],\n \"author\": \"Mathias Buus Madsen <mathiasbuus@gmail.com>\",\n \"dependencies\": {\n \"end-of-stream\": \"^1.1.0\",\n \"once\": \"^1.3.1\"\n },\n \"scripts\": {\n \"test\": \"node test-browser.js && node test-node.js\"\n }\n}\n",
13757
13820
  "node_modules/qs/package.json": "{\n \"name\": \"qs\",\n \"description\": \"A querystring parser that supports nesting and arrays, with a depth limit\",\n \"homepage\": \"https://github.com/ljharb/qs\",\n \"version\": \"6.14.0\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/ljharb/qs.git\"\n },\n \"funding\": {\n \"url\": \"https://github.com/sponsors/ljharb\"\n },\n \"main\": \"lib/index.js\",\n \"sideEffects\": false,\n \"contributors\": [\n {\n \"name\": \"Jordan Harband\",\n \"email\": \"ljharb@gmail.com\",\n \"url\": \"http://ljharb.codes\"\n }\n ],\n \"keywords\": [\n \"querystring\",\n \"qs\",\n \"query\",\n \"url\",\n \"parse\",\n \"stringify\"\n ],\n \"engines\": {\n \"node\": \">=0.6\"\n },\n \"dependencies\": {\n \"side-channel\": \"^1.1.0\"\n },\n \"devDependencies\": {\n \"@browserify/envify\": \"^6.0.0\",\n \"@browserify/uglifyify\": \"^6.0.0\",\n \"@ljharb/eslint-config\": \"^21.1.1\",\n \"browserify\": \"^16.5.2\",\n \"bundle-collapser\": \"^1.4.0\",\n \"common-shakeify\": \"~1.0.0\",\n \"eclint\": \"^2.8.1\",\n \"es-value-fixtures\": \"^1.7.0\",\n \"eslint\": \"=8.8.0\",\n \"evalmd\": \"^0.0.19\",\n \"for-each\": \"^0.3.3\",\n \"glob\": \"=10.3.7\",\n \"has-bigints\": \"^1.1.0\",\n \"has-override-mistake\": \"^1.0.1\",\n \"has-property-descriptors\": \"^1.0.2\",\n \"has-proto\": \"^1.2.0\",\n \"has-symbols\": \"^1.1.0\",\n \"iconv-lite\": \"^0.5.1\",\n \"in-publish\": \"^2.0.1\",\n \"jackspeak\": \"=2.1.1\",\n \"mkdirp\": \"^0.5.5\",\n \"mock-property\": \"^1.1.0\",\n \"module-deps\": \"^6.2.3\",\n \"npmignore\": \"^0.3.1\",\n \"nyc\": \"^10.3.2\",\n \"object-inspect\": \"^1.13.3\",\n \"qs-iconv\": \"^1.0.4\",\n \"safe-publish-latest\": \"^2.0.0\",\n \"safer-buffer\": \"^2.1.2\",\n \"tape\": \"^5.9.0\",\n \"unassertify\": \"^3.0.1\"\n },\n \"scripts\": {\n \"prepack\": \"npmignore --auto --commentLines=autogenerated && npm run dist\",\n \"prepublishOnly\": \"safe-publish-latest\",\n \"prepublish\": \"not-in-publish || npm run prepublishOnly\",\n \"pretest\": \"npm run --silent readme && npm run --silent lint\",\n \"test\": \"npm run tests-only\",\n \"tests-only\": \"nyc tape 'test/**/*.js'\",\n \"posttest\": \"npx npm@'>=10.2' audit --production\",\n \"readme\": \"evalmd README.md\",\n \"postlint\": \"eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\\\.git' | grep -v dist/)\",\n \"lint\": \"eslint --ext=js,mjs .\",\n \"dist\": \"mkdirp dist && browserify --standalone Qs -g unassertify -g @browserify/envify -g [@browserify/uglifyify --mangle.keep_fnames --compress.keep_fnames --format.indent_level=1 --compress.arrows=false --compress.passes=4 --compress.typeofs=false] -p common-shakeify -p bundle-collapser/plugin lib/index.js > dist/qs.js\"\n },\n \"license\": \"BSD-3-Clause\",\n \"publishConfig\": {\n \"ignore\": [\n \"!dist/*\",\n \"bower.json\",\n \"component.json\",\n \".github/workflows\",\n \"logos\",\n \"tea.yaml\"\n ]\n }\n}\n",
13758
13821
  "node_modules/quansync/dist/index.d.ts": "import type { QuansyncFn, QuansyncGenerator, QuansyncGeneratorFn, QuansyncInputObject, QuansyncOptions } from './types.js';\nexport { QuansyncAwaitableGenerator, QuansyncInput } from './types.js';\n\n\n\n\n\n\n\n\n\n\n\ndeclare const GET_IS_ASYNC: unique symbol;\ndeclare class QuansyncError extends Error {\n constructor(message?: string);\n}\n/**\n * Creates a new Quansync function, a \"superposition\" between async and sync.\n */\ndeclare function quansync<Return, Args extends any[] = []>(input: QuansyncInputObject<Return, Args>): QuansyncFn<Return, Args>;\ndeclare function quansync<Return, Args extends any[] = []>(input: QuansyncGeneratorFn<Return, Args> | Promise<Return>, options?: QuansyncOptions): QuansyncFn<Return, Args>;\n/**\n * Converts a promise to a Quansync generator.\n */\ndeclare function toGenerator<T>(promise: Promise<T> | QuansyncGenerator<T> | T): QuansyncGenerator<T>;\n/**\n * @returns `true` if the current context is async, `false` otherwise.\n */\ndeclare const getIsAsync: QuansyncFn<boolean, []>;\n\nexport { GET_IS_ASYNC, QuansyncError, getIsAsync, quansync, toGenerator };\nexport type { QuansyncFn, QuansyncGenerator, QuansyncGeneratorFn, QuansyncInputObject, QuansyncOptions };\n",
13759
13822
  "node_modules/quansync/dist/macro.d.ts": "import type { QuansyncFn, QuansyncGeneratorFn, QuansyncInputObject, QuansyncOptions } from './types.js';\nexport { QuansyncAwaitableGenerator, QuansyncGenerator, QuansyncInput } from './types.js';\n\n\n\n\n\n\n\n\n\n/**\n * This function is equivalent to `quansync` from main entry\n * but accepts a fake argument type of async functions.\n *\n * This requires to be used with the macro transformer `unplugin-quansync`.\n * Do NOT use it directly.\n *\n * @internal\n */\ndeclare const quansync: {\n <Return, Args extends any[] = []>(input: QuansyncInputObject<Return, Args>): QuansyncFn<Return, Args>;\n <Return, Args extends any[] = []>(input: QuansyncGeneratorFn<Return, Args> | Promise<Return> | ((...args: Args) => Promise<Return> | Return), options?: QuansyncOptions): QuansyncFn<Return, Args>;\n};\n\nexport { quansync };\nexport type { QuansyncFn, QuansyncGeneratorFn, QuansyncInputObject, QuansyncOptions };\n",
@@ -13765,6 +13828,7 @@
13765
13828
  "node_modules/randexp/types/index.d.ts": "import * as DRange from \"drange\";\n\ndeclare namespace RandExp {}\n\ndeclare class RandExp {\n static randexp(pattern: string | RegExp, flags?: string): string;\n static sugar(): void;\n constructor(pattern: string | RegExp, flags?: string);\n gen(): string;\n defaultRange: DRange;\n randInt: (from: number, to: number) => number;\n max: number;\n}\n\nexport = RandExp;\n",
13766
13829
  "node_modules/randexp/node_modules/ret/package.json": "{\n \"name\": \"ret\",\n \"description\": \"Tokenizes a string that represents a regular expression.\",\n \"keywords\": [\n \"regex\",\n \"regexp\",\n \"regular expression\",\n \"parser\",\n \"tokenizer\"\n ],\n \"version\": \"0.2.2\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git://github.com/fent/ret.js.git\"\n },\n \"author\": \"fent (https://github.com/fent)\",\n \"main\": \"./lib/index.js\",\n \"files\": [\n \"lib\"\n ],\n \"scripts\": {\n \"test\": \"istanbul cover vows -- --spec test/*-test.js\"\n },\n \"directories\": {\n \"lib\": \"./lib\"\n },\n \"devDependencies\": {\n \"istanbul\": \"^0.4.5\",\n \"vows\": \"^0.8.1\"\n },\n \"engines\": {\n \"node\": \">=4\"\n },\n \"license\": \"MIT\"\n}\n",
13767
13830
  "node_modules/range-parser/package.json": "{\n \"name\": \"range-parser\",\n \"author\": \"TJ Holowaychuk <tj@vision-media.ca> (http://tjholowaychuk.com)\",\n \"description\": \"Range header field string parser\",\n \"version\": \"1.2.1\",\n \"contributors\": [\n \"Douglas Christopher Wilson <doug@somethingdoug.com>\",\n \"James Wyatt Cready <wyatt.cready@lanetix.com>\",\n \"Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)\"\n ],\n \"license\": \"MIT\",\n \"keywords\": [\n \"range\",\n \"parser\",\n \"http\"\n ],\n \"repository\": \"jshttp/range-parser\",\n \"devDependencies\": {\n \"deep-equal\": \"1.0.1\",\n \"eslint\": \"5.16.0\",\n \"eslint-config-standard\": \"12.0.0\",\n \"eslint-plugin-markdown\": \"1.0.0\",\n \"eslint-plugin-import\": \"2.17.2\",\n \"eslint-plugin-node\": \"8.0.1\",\n \"eslint-plugin-promise\": \"4.1.1\",\n \"eslint-plugin-standard\": \"4.0.0\",\n \"mocha\": \"6.1.4\",\n \"nyc\": \"14.1.1\"\n },\n \"files\": [\n \"HISTORY.md\",\n \"LICENSE\",\n \"index.js\"\n ],\n \"engines\": {\n \"node\": \">= 0.6\"\n },\n \"scripts\": {\n \"lint\": \"eslint --plugin markdown --ext js,md .\",\n \"test\": \"mocha --reporter spec\",\n \"test-cov\": \"nyc --reporter=html --reporter=text npm test\",\n \"test-travis\": \"nyc --reporter=text npm test\"\n }\n}\n",
13831
+ "node_modules/rc/package.json": "{\n \"name\": \"rc\",\n \"version\": \"1.2.8\",\n \"description\": \"hardwired configuration loader\",\n \"main\": \"index.js\",\n \"browser\": \"browser.js\",\n \"scripts\": {\n \"test\": \"set -e; node test/test.js; node test/ini.js; node test/nested-env-vars.js\"\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/dominictarr/rc.git\"\n },\n \"license\": \"(BSD-2-Clause OR MIT OR Apache-2.0)\",\n \"keywords\": [\n \"config\",\n \"rc\",\n \"unix\",\n \"defaults\"\n ],\n \"bin\": \"./cli.js\",\n \"author\": \"Dominic Tarr <dominic.tarr@gmail.com> (dominictarr.com)\",\n \"dependencies\": {\n \"deep-extend\": \"^0.6.0\",\n \"ini\": \"~1.3.0\",\n \"minimist\": \"^1.2.0\",\n \"strip-json-comments\": \"~2.0.1\"\n }\n}\n",
13768
13832
  "node_modules/react/package.json": "{\n \"name\": \"react\",\n \"description\": \"React is a JavaScript library for building user interfaces.\",\n \"keywords\": [\n \"react\"\n ],\n \"version\": \"19.1.0\",\n \"homepage\": \"https://react.dev/\",\n \"bugs\": \"https://github.com/facebook/react/issues\",\n \"license\": \"MIT\",\n \"files\": [\n \"LICENSE\",\n \"README.md\",\n \"index.js\",\n \"cjs/\",\n \"compiler-runtime.js\",\n \"jsx-runtime.js\",\n \"jsx-runtime.react-server.js\",\n \"jsx-dev-runtime.js\",\n \"jsx-dev-runtime.react-server.js\",\n \"react.react-server.js\"\n ],\n \"main\": \"index.js\",\n \"exports\": {\n \".\": {\n \"react-server\": \"./react.react-server.js\",\n \"default\": \"./index.js\"\n },\n \"./package.json\": \"./package.json\",\n \"./jsx-runtime\": {\n \"react-server\": \"./jsx-runtime.react-server.js\",\n \"default\": \"./jsx-runtime.js\"\n },\n \"./jsx-dev-runtime\": {\n \"react-server\": \"./jsx-dev-runtime.react-server.js\",\n \"default\": \"./jsx-dev-runtime.js\"\n },\n \"./compiler-runtime\": {\n \"react-server\": \"./compiler-runtime.js\",\n \"default\": \"./compiler-runtime.js\"\n }\n },\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/facebook/react.git\",\n \"directory\": \"packages/react\"\n },\n \"engines\": {\n \"node\": \">=0.10.0\"\n }\n}",
13769
13833
  "node_modules/react-dom/package.json": "{\n \"name\": \"react-dom\",\n \"version\": \"19.1.0\",\n \"description\": \"React package for working with the DOM.\",\n \"main\": \"index.js\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/facebook/react.git\",\n \"directory\": \"packages/react-dom\"\n },\n \"keywords\": [\n \"react\"\n ],\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/facebook/react/issues\"\n },\n \"homepage\": \"https://react.dev/\",\n \"dependencies\": {\n \"scheduler\": \"^0.26.0\"\n },\n \"peerDependencies\": {\n \"react\": \"^19.1.0\"\n },\n \"files\": [\n \"LICENSE\",\n \"README.md\",\n \"client.js\",\n \"client.react-server.js\",\n \"index.js\",\n \"profiling.js\",\n \"profiling.react-server.js\",\n \"react-dom.react-server.js\",\n \"server.browser.js\",\n \"server.bun.js\",\n \"server.edge.js\",\n \"server.js\",\n \"server.node.js\",\n \"server.react-server.js\",\n \"static.browser.js\",\n \"static.edge.js\",\n \"static.js\",\n \"static.node.js\",\n \"static.react-server.js\",\n \"test-utils.js\",\n \"cjs/\"\n ],\n \"exports\": {\n \".\": {\n \"react-server\": \"./react-dom.react-server.js\",\n \"default\": \"./index.js\"\n },\n \"./client\": {\n \"react-server\": \"./client.react-server.js\",\n \"default\": \"./client.js\"\n },\n \"./server\": {\n \"react-server\": \"./server.react-server.js\",\n \"workerd\": \"./server.edge.js\",\n \"bun\": \"./server.bun.js\",\n \"deno\": \"./server.browser.js\",\n \"worker\": \"./server.browser.js\",\n \"node\": \"./server.node.js\",\n \"edge-light\": \"./server.edge.js\",\n \"browser\": \"./server.browser.js\",\n \"default\": \"./server.node.js\"\n },\n \"./server.browser\": {\n \"react-server\": \"./server.react-server.js\",\n \"default\": \"./server.browser.js\"\n },\n \"./server.bun\": {\n \"react-server\": \"./server.react-server.js\",\n \"default\": \"./server.bun.js\"\n },\n \"./server.edge\": {\n \"react-server\": \"./server.react-server.js\",\n \"default\": \"./server.edge.js\"\n },\n \"./server.node\": {\n \"react-server\": \"./server.react-server.js\",\n \"default\": \"./server.node.js\"\n },\n \"./static\": {\n \"react-server\": \"./static.react-server.js\",\n \"workerd\": \"./static.edge.js\",\n \"deno\": \"./static.browser.js\",\n \"worker\": \"./static.browser.js\",\n \"node\": \"./static.node.js\",\n \"edge-light\": \"./static.edge.js\",\n \"browser\": \"./static.browser.js\",\n \"default\": \"./static.node.js\"\n },\n \"./static.browser\": {\n \"react-server\": \"./static.react-server.js\",\n \"default\": \"./static.browser.js\"\n },\n \"./static.edge\": {\n \"react-server\": \"./static.react-server.js\",\n \"default\": \"./static.edge.js\"\n },\n \"./static.node\": {\n \"react-server\": \"./static.react-server.js\",\n \"default\": \"./static.node.js\"\n },\n \"./profiling\": {\n \"react-server\": \"./profiling.react-server.js\",\n \"default\": \"./profiling.js\"\n },\n \"./test-utils\": \"./test-utils.js\",\n \"./package.json\": \"./package.json\"\n },\n \"browser\": {\n \"./server.js\": \"./server.browser.js\",\n \"./static.js\": \"./static.browser.js\"\n }\n}",
13770
13834
  "node_modules/react-mui-fileuploader/dist/types/FileAttachment.d.ts": "/// <reference types=\"react\" />\nimport PropTypes from 'prop-types';\nimport { FileAttachmentProps } from \"./index.types\";\ndeclare function FileAttachment(props: FileAttachmentProps): JSX.Element;\ndeclare namespace FileAttachment {\n var propTypes: {\n size: PropTypes.Requireable<string>;\n file: PropTypes.Requireable<object>;\n disabled: PropTypes.Requireable<boolean>;\n index: PropTypes.Validator<number>;\n handleRemoveFile: PropTypes.Validator<(...args: any[]) => any>;\n };\n}\nexport default FileAttachment;\n",
@@ -14092,6 +14156,8 @@
14092
14156
  "node_modules/side-channel-map/package.json": "{\n\t\"name\": \"side-channel-map\",\n\t\"version\": \"1.0.1\",\n\t\"description\": \"Store information about any JS value in a side channel, using a Map\",\n\t\"main\": \"index.js\",\n\t\"exports\": {\n\t\t\".\": \"./index.js\",\n\t\t\"./package.json\": \"./package.json\"\n\t},\n\t\"types\": \"./index.d.ts\",\n\t\"scripts\": {\n\t\t\"prepack\": \"npmignore --auto --commentLines=autogenerated\",\n\t\t\"prepublishOnly\": \"safe-publish-latest\",\n\t\t\"prepublish\": \"not-in-publish || npm run prepublishOnly\",\n\t\t\"prelint\": \"evalmd README.md && eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\\\.git')\",\n\t\t\"lint\": \"eslint --ext=js,mjs .\",\n\t\t\"postlint\": \"tsc -p . && attw -P\",\n\t\t\"pretest\": \"npm run lint\",\n\t\t\"tests-only\": \"nyc tape 'test/**/*.js'\",\n\t\t\"test\": \"npm run tests-only\",\n\t\t\"posttest\": \"npx npm@'>= 10.2' audit --production\",\n\t\t\"version\": \"auto-changelog && git add CHANGELOG.md\",\n\t\t\"postversion\": \"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \\\"v$(node -e \\\"console.log(require('./package.json').version)\\\")\\\"\"\n\t},\n\t\"repository\": {\n\t\t\"type\": \"git\",\n\t\t\"url\": \"git+https://github.com/ljharb/side-channel-map.git\"\n\t},\n\t\"keywords\": [],\n\t\"author\": \"Jordan Harband <ljharb@gmail.com>\",\n\t\"funding\": {\n\t\t\"url\": \"https://github.com/sponsors/ljharb\"\n\t},\n\t\"license\": \"MIT\",\n\t\"bugs\": {\n\t\t\"url\": \"https://github.com/ljharb/side-channel-map/issues\"\n\t},\n\t\"homepage\": \"https://github.com/ljharb/side-channel-map#readme\",\n\t\"dependencies\": {\n\t\t\"call-bound\": \"^1.0.2\",\n\t\t\"es-errors\": \"^1.3.0\",\n\t\t\"get-intrinsic\": \"^1.2.5\",\n\t\t\"object-inspect\": \"^1.13.3\"\n\t},\n\t\"devDependencies\": {\n\t\t\"@arethetypeswrong/cli\": \"^0.17.1\",\n\t\t\"@ljharb/eslint-config\": \"^21.1.1\",\n\t\t\"@ljharb/tsconfig\": \"^0.2.2\",\n\t\t\"@types/get-intrinsic\": \"^1.2.3\",\n\t\t\"@types/object-inspect\": \"^1.13.0\",\n\t\t\"@types/tape\": \"^5.6.5\",\n\t\t\"auto-changelog\": \"^2.5.0\",\n\t\t\"eclint\": \"^2.8.1\",\n\t\t\"encoding\": \"^0.1.13\",\n\t\t\"eslint\": \"=8.8.0\",\n\t\t\"evalmd\": \"^0.0.19\",\n\t\t\"in-publish\": \"^2.0.1\",\n\t\t\"npmignore\": \"^0.3.1\",\n\t\t\"nyc\": \"^10.3.2\",\n\t\t\"safe-publish-latest\": \"^2.0.0\",\n\t\t\"tape\": \"^5.9.0\",\n\t\t\"typescript\": \"next\"\n\t},\n\t\"auto-changelog\": {\n\t\t\"output\": \"CHANGELOG.md\",\n\t\t\"template\": \"keepachangelog\",\n\t\t\"unreleased\": false,\n\t\t\"commitLimit\": false,\n\t\t\"backfillLimit\": false,\n\t\t\"hideCredit\": true\n\t},\n\t\"publishConfig\": {\n\t\t\"ignore\": [\n\t\t\t\".github/workflows\"\n\t\t]\n\t},\n\t\"engines\": {\n\t\t\"node\": \">= 0.4\"\n\t}\n}\n",
14093
14157
  "node_modules/side-channel-weakmap/index.d.ts": "declare namespace getSideChannelWeakMap {\n\ttype Channel<K, V> = {\n\t\tassert: (key: K) => void;\n\t\thas: (key: K) => boolean;\n\t\tget: (key: K) => V | undefined;\n\t\tset: (key: K, value: V) => void;\n\t\tdelete: (key: K) => boolean;\n\t}\n}\n\ndeclare function getSideChannelWeakMap<K, V>(): getSideChannelWeakMap.Channel<K, V>;\n\ndeclare const x: false | typeof getSideChannelWeakMap;\n\nexport = x;\n",
14094
14158
  "node_modules/side-channel-weakmap/package.json": "{\n\t\"name\": \"side-channel-weakmap\",\n\t\"version\": \"1.0.2\",\n\t\"description\": \"Store information about any JS value in a side channel. Uses WeakMap if available.\",\n\t\"main\": \"index.js\",\n\t\"exports\": {\n\t\t\".\": \"./index.js\",\n\t\t\"./package.json\": \"./package.json\"\n\t},\n\t\"types\": \"./index.d.ts\",\n\t\"scripts\": {\n\t\t\"prepack\": \"npmignore --auto --commentLines=autogenerated\",\n\t\t\"prepublishOnly\": \"safe-publish-latest\",\n\t\t\"prepublish\": \"not-in-publish || npm run prepublishOnly\",\n\t\t\"prelint\": \"eclint check $(git ls-files | xargs find 2> /dev/null | grep -vE 'node_modules|\\\\.git')\",\n\t\t\"lint\": \"eslint --ext=js,mjs .\",\n\t\t\"postlint\": \"tsc -p . && attw -P\",\n\t\t\"pretest\": \"npm run lint\",\n\t\t\"tests-only\": \"nyc tape 'test/**/*.js'\",\n\t\t\"test\": \"npm run tests-only\",\n\t\t\"posttest\": \"npx npm@'>=10.2' audit --production\",\n\t\t\"version\": \"auto-changelog && git add CHANGELOG.md\",\n\t\t\"postversion\": \"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \\\"v$(node -e \\\"console.log(require('./package.json').version)\\\")\\\"\"\n\t},\n\t\"repository\": {\n\t\t\"type\": \"git\",\n\t\t\"url\": \"git+https://github.com/ljharb/side-channel-weakmap.git\"\n\t},\n\t\"keywords\": [\n\t\t\"weakmap\",\n\t\t\"map\",\n\t\t\"side\",\n\t\t\"channel\",\n\t\t\"metadata\"\n\t],\n\t\"author\": \"Jordan Harband <ljharb@gmail.com>\",\n\t\"funding\": {\n\t\t\"url\": \"https://github.com/sponsors/ljharb\"\n\t},\n\t\"license\": \"MIT\",\n\t\"bugs\": {\n\t\t\"url\": \"https://github.com/ljharb/side-channel-weakmap/issues\"\n\t},\n\t\"homepage\": \"https://github.com/ljharb/side-channel-weakmap#readme\",\n\t\"dependencies\": {\n\t\t\"call-bound\": \"^1.0.2\",\n\t\t\"es-errors\": \"^1.3.0\",\n\t\t\"get-intrinsic\": \"^1.2.5\",\n\t\t\"object-inspect\": \"^1.13.3\",\n\t\t\"side-channel-map\": \"^1.0.1\"\n\t},\n\t\"devDependencies\": {\n\t\t\"@arethetypeswrong/cli\": \"^0.17.1\",\n\t\t\"@ljharb/eslint-config\": \"^21.1.1\",\n\t\t\"@ljharb/tsconfig\": \"^0.2.2\",\n\t\t\"@types/call-bind\": \"^1.0.5\",\n\t\t\"@types/get-intrinsic\": \"^1.2.3\",\n\t\t\"@types/object-inspect\": \"^1.13.0\",\n\t\t\"@types/tape\": \"^5.6.5\",\n\t\t\"auto-changelog\": \"^2.5.0\",\n\t\t\"eclint\": \"^2.8.1\",\n\t\t\"encoding\": \"^0.1.13\",\n\t\t\"eslint\": \"=8.8.0\",\n\t\t\"in-publish\": \"^2.0.1\",\n\t\t\"npmignore\": \"^0.3.1\",\n\t\t\"nyc\": \"^10.3.2\",\n\t\t\"safe-publish-latest\": \"^2.0.0\",\n\t\t\"tape\": \"^5.9.0\",\n\t\t\"typescript\": \"next\"\n\t},\n\t\"auto-changelog\": {\n\t\t\"output\": \"CHANGELOG.md\",\n\t\t\"template\": \"keepachangelog\",\n\t\t\"unreleased\": false,\n\t\t\"commitLimit\": false,\n\t\t\"backfillLimit\": false,\n\t\t\"hideCredit\": true\n\t},\n\t\"publishConfig\": {\n\t\t\"ignore\": [\n\t\t\t\".github/workflows\"\n\t\t]\n\t},\n\t\"engines\": {\n\t\t\"node\": \">= 0.4\"\n\t}\n}\n",
14159
+ "node_modules/simple-concat/package.json": "{\n \"name\": \"simple-concat\",\n \"description\": \"Super-minimalist version of `concat-stream`. Less than 15 lines!\",\n \"version\": \"1.0.1\",\n \"author\": {\n \"name\": \"Feross Aboukhadijeh\",\n \"email\": \"feross@feross.org\",\n \"url\": \"https://feross.org\"\n },\n \"bugs\": {\n \"url\": \"https://github.com/feross/simple-concat/issues\"\n },\n \"dependencies\": {},\n \"devDependencies\": {\n \"standard\": \"*\",\n \"tape\": \"^5.0.1\"\n },\n \"homepage\": \"https://github.com/feross/simple-concat\",\n \"keywords\": [\n \"concat\",\n \"concat-stream\",\n \"concat stream\"\n ],\n \"license\": \"MIT\",\n \"main\": \"index.js\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git://github.com/feross/simple-concat.git\"\n },\n \"scripts\": {\n \"test\": \"standard && tape test/*.js\"\n },\n \"funding\": [\n {\n \"type\": \"github\",\n \"url\": \"https://github.com/sponsors/feross\"\n },\n {\n \"type\": \"patreon\",\n \"url\": \"https://www.patreon.com/feross\"\n },\n {\n \"type\": \"consulting\",\n \"url\": \"https://feross.org/support\"\n }\n ]\n}\n",
14160
+ "node_modules/simple-get/package.json": "{\n \"name\": \"simple-get\",\n \"description\": \"Simplest way to make http get requests. Supports HTTPS, redirects, gzip/deflate, streams in < 100 lines.\",\n \"version\": \"4.0.1\",\n \"author\": {\n \"name\": \"Feross Aboukhadijeh\",\n \"email\": \"feross@feross.org\",\n \"url\": \"https://feross.org\"\n },\n \"browser\": {\n \"decompress-response\": false\n },\n \"bugs\": {\n \"url\": \"https://github.com/feross/simple-get/issues\"\n },\n \"dependencies\": {\n \"decompress-response\": \"^6.0.0\",\n \"once\": \"^1.3.1\",\n \"simple-concat\": \"^1.0.0\"\n },\n \"devDependencies\": {\n \"self-signed-https\": \"^1.0.5\",\n \"standard\": \"*\",\n \"string-to-stream\": \"^3.0.0\",\n \"tape\": \"^5.0.0\"\n },\n \"homepage\": \"https://github.com/feross/simple-get\",\n \"keywords\": [\n \"request\",\n \"http\",\n \"GET\",\n \"get request\",\n \"http.get\",\n \"redirects\",\n \"follow redirects\",\n \"gzip\",\n \"deflate\",\n \"https\",\n \"http-https\",\n \"stream\",\n \"simple request\",\n \"simple get\"\n ],\n \"license\": \"MIT\",\n \"main\": \"index.js\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git://github.com/feross/simple-get.git\"\n },\n \"scripts\": {\n \"test\": \"standard && tape test/*.js\"\n },\n \"funding\": [\n {\n \"type\": \"github\",\n \"url\": \"https://github.com/sponsors/feross\"\n },\n {\n \"type\": \"patreon\",\n \"url\": \"https://www.patreon.com/feross\"\n },\n {\n \"type\": \"consulting\",\n \"url\": \"https://feross.org/support\"\n }\n ]\n}\n",
14095
14161
  "node_modules/sonic-boom/package.json": "{\n \"name\": \"sonic-boom\",\n \"version\": \"4.2.0\",\n \"description\": \"Extremely fast utf8 only stream implementation\",\n \"main\": \"index.js\",\n \"type\": \"commonjs\",\n \"types\": \"types/index.d.ts\",\n \"scripts\": {\n \"test\": \"npm run test:types && standard && npm run test:unit\",\n \"test:unit\": \"tap\",\n \"test:types\": \"tsc && tsd\"\n },\n \"pre-commit\": [\n \"test\"\n ],\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/pinojs/sonic-boom.git\"\n },\n \"keywords\": [\n \"stream\",\n \"fs\",\n \"net\",\n \"fd\",\n \"file\",\n \"descriptor\",\n \"fast\"\n ],\n \"author\": \"Matteo Collina <hello@matteocollina.com>\",\n \"license\": \"MIT\",\n \"bugs\": {\n \"url\": \"https://github.com/pinojs/sonic-boom/issues\"\n },\n \"homepage\": \"https://github.com/pinojs/sonic-boom#readme\",\n \"devDependencies\": {\n \"@fastify/pre-commit\": \"^2.1.0\",\n \"@sinonjs/fake-timers\": \"^13.0.1\",\n \"@types/node\": \"^22.0.0\",\n \"fastbench\": \"^1.0.1\",\n \"proxyquire\": \"^2.1.3\",\n \"standard\": \"^17.0.0\",\n \"tap\": \"^18.2.0\",\n \"tsd\": \"^0.31.0\",\n \"typescript\": \"^5.0.2\"\n },\n \"dependencies\": {\n \"atomic-sleep\": \"^1.0.0\"\n },\n \"tsd\": {\n \"directory\": \"./types\"\n }\n}\n",
14096
14162
  "node_modules/sonic-boom/types/index.d.ts": "// Type definitions for sonic-boom 0.7\n// Definitions by: Alex Ferrando <https://github.com/alferpal>\n// Igor Savin <https://github.com/kibertoad>\n/// <reference types=\"node\"/>\n\nimport { EventEmitter } from 'events';\n\nexport default SonicBoom;\nexport type SonicBoomOpts = {\n fd?: number | string | symbol\n dest?: string | number\n maxLength?: number\n minLength?: number\n maxWrite?: number\n periodicFlush?: number\n sync?: boolean\n fsync?: boolean\n append?: boolean\n mode?: string | number\n mkdir?: boolean\n contentMode?: 'buffer' | 'utf8'\n retryEAGAIN?: (err: Error, writeBufferLen: number, remainingBufferLen: number) => boolean\n}\n\nexport class SonicBoom extends EventEmitter {\n /**\n * @param [fileDescriptor] File path or numerical file descriptor\n * relative protocol is enabled. Default: process.stdout\n * @returns a new sonic-boom instance\n */\n constructor(opts: SonicBoomOpts)\n\n /**\n * Writes the string to the file. It will return false to signal the producer to slow down.\n */\n write(string: string): boolean;\n\n /**\n * Writes the current buffer to the file if a write was not in progress.\n * Do nothing if minLength is zero or if it is already writing.\n */\n flush(cb?: (err?: Error) => unknown): void;\n\n /**\n * Reopen the file in place, useful for log rotation.\n */\n reopen(fileDescriptor?: string | number): void;\n\n /**\n * Flushes the buffered data synchronously. This is a costly operation.\n */\n flushSync(): void;\n\n /**\n * Closes the stream, the data will be flushed down asynchronously\n */\n end(): void;\n\n /**\n * Closes the stream immediately, the data is not flushed.\n */\n destroy(): void;\n}\n",
14097
14163
  "node_modules/source-map/package.json": "{\n \"name\": \"source-map\",\n \"description\": \"Generates and consumes source maps\",\n \"version\": \"0.5.7\",\n \"homepage\": \"https://github.com/mozilla/source-map\",\n \"author\": \"Nick Fitzgerald <nfitzgerald@mozilla.com>\",\n \"contributors\": [\n \"Tobias Koppers <tobias.koppers@googlemail.com>\",\n \"Duncan Beevers <duncan@dweebd.com>\",\n \"Stephen Crane <scrane@mozilla.com>\",\n \"Ryan Seddon <seddon.ryan@gmail.com>\",\n \"Miles Elam <miles.elam@deem.com>\",\n \"Mihai Bazon <mihai.bazon@gmail.com>\",\n \"Michael Ficarra <github.public.email@michael.ficarra.me>\",\n \"Todd Wolfson <todd@twolfson.com>\",\n \"Alexander Solovyov <alexander@solovyov.net>\",\n \"Felix Gnass <fgnass@gmail.com>\",\n \"Conrad Irwin <conrad.irwin@gmail.com>\",\n \"usrbincc <usrbincc@yahoo.com>\",\n \"David Glasser <glasser@davidglasser.net>\",\n \"Chase Douglas <chase@newrelic.com>\",\n \"Evan Wallace <evan.exe@gmail.com>\",\n \"Heather Arthur <fayearthur@gmail.com>\",\n \"Hugh Kennedy <hughskennedy@gmail.com>\",\n \"David Glasser <glasser@davidglasser.net>\",\n \"Simon Lydell <simon.lydell@gmail.com>\",\n \"Jmeas Smith <jellyes2@gmail.com>\",\n \"Michael Z Goddard <mzgoddard@gmail.com>\",\n \"azu <azu@users.noreply.github.com>\",\n \"John Gozde <john@gozde.ca>\",\n \"Adam Kirkton <akirkton@truefitinnovation.com>\",\n \"Chris Montgomery <christopher.montgomery@dowjones.com>\",\n \"J. Ryan Stinnett <jryans@gmail.com>\",\n \"Jack Herrington <jherrington@walmartlabs.com>\",\n \"Chris Truter <jeffpalentine@gmail.com>\",\n \"Daniel Espeset <daniel@danielespeset.com>\",\n \"Jamie Wong <jamie.lf.wong@gmail.com>\",\n \"Eddy Bruël <ejpbruel@mozilla.com>\",\n \"Hawken Rives <hawkrives@gmail.com>\",\n \"Gilad Peleg <giladp007@gmail.com>\",\n \"djchie <djchie.dev@gmail.com>\",\n \"Gary Ye <garysye@gmail.com>\",\n \"Nicolas Lalevée <nicolas.lalevee@hibnet.org>\"\n ],\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"http://github.com/mozilla/source-map.git\"\n },\n \"main\": \"./source-map.js\",\n \"files\": [\n \"source-map.js\",\n \"lib/\",\n \"dist/source-map.debug.js\",\n \"dist/source-map.js\",\n \"dist/source-map.min.js\",\n \"dist/source-map.min.js.map\"\n ],\n \"engines\": {\n \"node\": \">=0.10.0\"\n },\n \"license\": \"BSD-3-Clause\",\n \"scripts\": {\n \"test\": \"npm run build && node test/run-tests.js\",\n \"build\": \"webpack --color\",\n \"toc\": \"doctoc --title '## Table of Contents' README.md && doctoc --title '## Table of Contents' CONTRIBUTING.md\"\n },\n \"devDependencies\": {\n \"doctoc\": \"^0.15.0\",\n \"webpack\": \"^1.12.0\"\n },\n \"typings\": \"source-map\"\n}\n",
@@ -14103,6 +14169,7 @@
14103
14169
  "node_modules/strip-ansi-cjs/index.d.ts": "/**\nStrip [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) from a string.\n\n@example\n```\nimport stripAnsi = require('strip-ansi');\n\nstripAnsi('\\u001B[4mUnicorn\\u001B[0m');\n//=> 'Unicorn'\n\nstripAnsi('\\u001B]8;;https://github.com\\u0007Click\\u001B]8;;\\u0007');\n//=> 'Click'\n```\n*/\ndeclare function stripAnsi(string: string): string;\n\nexport = stripAnsi;\n",
14104
14170
  "node_modules/strip-ansi-cjs/package.json": "{\n\t\"name\": \"strip-ansi\",\n\t\"version\": \"6.0.1\",\n\t\"description\": \"Strip ANSI escape codes from a string\",\n\t\"license\": \"MIT\",\n\t\"repository\": \"chalk/strip-ansi\",\n\t\"author\": {\n\t\t\"name\": \"Sindre Sorhus\",\n\t\t\"email\": \"sindresorhus@gmail.com\",\n\t\t\"url\": \"sindresorhus.com\"\n\t},\n\t\"engines\": {\n\t\t\"node\": \">=8\"\n\t},\n\t\"scripts\": {\n\t\t\"test\": \"xo && ava && tsd\"\n\t},\n\t\"files\": [\n\t\t\"index.js\",\n\t\t\"index.d.ts\"\n\t],\n\t\"keywords\": [\n\t\t\"strip\",\n\t\t\"trim\",\n\t\t\"remove\",\n\t\t\"ansi\",\n\t\t\"styles\",\n\t\t\"color\",\n\t\t\"colour\",\n\t\t\"colors\",\n\t\t\"terminal\",\n\t\t\"console\",\n\t\t\"string\",\n\t\t\"tty\",\n\t\t\"escape\",\n\t\t\"formatting\",\n\t\t\"rgb\",\n\t\t\"256\",\n\t\t\"shell\",\n\t\t\"xterm\",\n\t\t\"log\",\n\t\t\"logging\",\n\t\t\"command-line\",\n\t\t\"text\"\n\t],\n\t\"dependencies\": {\n\t\t\"ansi-regex\": \"^5.0.1\"\n\t},\n\t\"devDependencies\": {\n\t\t\"ava\": \"^2.4.0\",\n\t\t\"tsd\": \"^0.10.0\",\n\t\t\"xo\": \"^0.25.3\"\n\t}\n}\n",
14105
14171
  "node_modules/strip-bom/package.json": "{\n \"name\": \"strip-bom\",\n \"version\": \"3.0.0\",\n \"description\": \"Strip UTF-8 byte order mark (BOM) from a string\",\n \"license\": \"MIT\",\n \"repository\": \"sindresorhus/strip-bom\",\n \"author\": {\n \"name\": \"Sindre Sorhus\",\n \"email\": \"sindresorhus@gmail.com\",\n \"url\": \"sindresorhus.com\"\n },\n \"engines\": {\n \"node\": \">=4\"\n },\n \"scripts\": {\n \"test\": \"xo && ava\"\n },\n \"files\": [\n \"index.js\"\n ],\n \"keywords\": [\n \"strip\",\n \"bom\",\n \"byte\",\n \"order\",\n \"mark\",\n \"unicode\",\n \"utf8\",\n \"utf-8\",\n \"remove\",\n \"delete\",\n \"trim\",\n \"text\",\n \"string\"\n ],\n \"devDependencies\": {\n \"ava\": \"*\",\n \"xo\": \"*\"\n }\n}\n",
14172
+ "node_modules/strip-json-comments/package.json": "{\n \"name\": \"strip-json-comments\",\n \"version\": \"2.0.1\",\n \"description\": \"Strip comments from JSON. Lets you use comments in your JSON files!\",\n \"license\": \"MIT\",\n \"repository\": \"sindresorhus/strip-json-comments\",\n \"author\": {\n \"name\": \"Sindre Sorhus\",\n \"email\": \"sindresorhus@gmail.com\",\n \"url\": \"sindresorhus.com\"\n },\n \"engines\": {\n \"node\": \">=0.10.0\"\n },\n \"scripts\": {\n \"test\": \"xo && ava\"\n },\n \"files\": [\n \"index.js\"\n ],\n \"keywords\": [\n \"json\",\n \"strip\",\n \"remove\",\n \"delete\",\n \"trim\",\n \"comments\",\n \"multiline\",\n \"parse\",\n \"config\",\n \"configuration\",\n \"conf\",\n \"settings\",\n \"util\",\n \"env\",\n \"environment\"\n ],\n \"devDependencies\": {\n \"ava\": \"*\",\n \"xo\": \"*\"\n }\n}\n",
14106
14173
  "node_modules/strtok3/lib/AbstractTokenizer.d.ts": "import type { ITokenizer, IFileInfo, IReadChunkOptions, ITokenizerOptions } from './types.js';\nimport type { IGetToken, IToken } from '@tokenizer/token';\ninterface INormalizedReadChunkOptions extends IReadChunkOptions {\n length: number;\n position: number;\n mayBeLess?: boolean;\n}\n/**\n * Core tokenizer\n */\nexport declare abstract class AbstractTokenizer implements ITokenizer {\n private onClose?;\n private numBuffer;\n abstract fileInfo: IFileInfo;\n /**\n * Tokenizer-stream position\n */\n position: number;\n /**\n * Constructor\n * @param options Tokenizer options\n * @protected\n */\n protected constructor(options?: ITokenizerOptions);\n abstract supportsRandomAccess(): boolean;\n /**\n * Read buffer from tokenizer\n * @param buffer - Target buffer to fill with data read from the tokenizer-stream\n * @param options - Additional read options\n * @returns Promise with number of bytes read\n */\n abstract readBuffer(buffer: Uint8Array, options?: IReadChunkOptions): Promise<number>;\n /**\n * Peek (read ahead) buffer from tokenizer\n * @param uint8Array - Target buffer to fill with data peeked from the tokenizer-stream\n * @param options - Peek behaviour options\n * @returns Promise with number of bytes read\n */\n abstract peekBuffer(uint8Array: Uint8Array, options?: IReadChunkOptions): Promise<number>;\n /**\n * Read a token from the tokenizer-stream\n * @param token - The token to read\n * @param position - If provided, the desired position in the tokenizer-stream\n * @returns Promise with token data\n */\n readToken<Value>(token: IGetToken<Value>, position?: number): Promise<Value>;\n /**\n * Peek a token from the tokenizer-stream.\n * @param token - Token to peek from the tokenizer-stream.\n * @param position - Offset where to begin reading within the file. If position is null, data will be read from the current file position.\n * @returns Promise with token data\n */\n peekToken<Value>(token: IGetToken<Value>, position?: number): Promise<Value>;\n /**\n * Read a numeric token from the stream\n * @param token - Numeric token\n * @returns Promise with number\n */\n readNumber(token: IToken<number>): Promise<number>;\n /**\n * Read a numeric token from the stream\n * @param token - Numeric token\n * @returns Promise with number\n */\n peekNumber(token: IToken<number>): Promise<number>;\n /**\n * Ignore number of bytes, advances the pointer in under tokenizer-stream.\n * @param length - Number of bytes to ignore\n * @return resolves the number of bytes ignored, equals length if this available, otherwise the number of bytes available\n */\n ignore(length: number): Promise<number>;\n close(): Promise<void>;\n protected normalizeOptions(uint8Array: Uint8Array, options?: IReadChunkOptions): INormalizedReadChunkOptions;\n abort(): Promise<void>;\n}\nexport {};\n",
14107
14174
  "node_modules/strtok3/lib/BufferTokenizer.d.ts": "import type { ITokenizerOptions, IReadChunkOptions, IRandomAccessFileInfo, IRandomAccessTokenizer } from './types.js';\nimport { AbstractTokenizer } from './AbstractTokenizer.js';\nexport declare class BufferTokenizer extends AbstractTokenizer implements IRandomAccessTokenizer {\n private uint8Array;\n fileInfo: IRandomAccessFileInfo;\n /**\n * Construct BufferTokenizer\n * @param uint8Array - Uint8Array to tokenize\n * @param options Tokenizer options\n */\n constructor(uint8Array: Uint8Array, options?: ITokenizerOptions);\n /**\n * Read buffer from tokenizer\n * @param uint8Array - Uint8Array to tokenize\n * @param options - Read behaviour options\n * @returns {Promise<number>}\n */\n readBuffer(uint8Array: Uint8Array, options?: IReadChunkOptions): Promise<number>;\n /**\n * Peek (read ahead) buffer from tokenizer\n * @param uint8Array\n * @param options - Read behaviour options\n * @returns {Promise<number>}\n */\n peekBuffer(uint8Array: Uint8Array, options?: IReadChunkOptions): Promise<number>;\n close(): Promise<void>;\n supportsRandomAccess(): boolean;\n setPosition(position: number): void;\n}\n",
14108
14175
  "node_modules/strtok3/lib/FileTokenizer.d.ts": "import { AbstractTokenizer } from './AbstractTokenizer.js';\nimport type { IRandomAccessTokenizer, IRandomAccessFileInfo, IReadChunkOptions, ITokenizerOptions } from './types.js';\nimport { type FileHandle } from 'node:fs/promises';\ninterface IFileTokenizerOptions extends ITokenizerOptions {\n /**\n * Pass additional file information to the tokenizer\n */\n fileInfo: IRandomAccessFileInfo;\n}\nexport declare class FileTokenizer extends AbstractTokenizer implements IRandomAccessTokenizer {\n private fileHandle;\n fileInfo: IRandomAccessFileInfo;\n /**\n * Create tokenizer from provided file path\n * @param sourceFilePath File path\n */\n static fromFile(sourceFilePath: string): Promise<FileTokenizer>;\n protected constructor(fileHandle: FileHandle, options: IFileTokenizerOptions);\n /**\n * Read buffer from file\n * @param uint8Array - Uint8Array to write result to\n * @param options - Read behaviour options\n * @returns Promise number of bytes read\n */\n readBuffer(uint8Array: Uint8Array, options?: IReadChunkOptions): Promise<number>;\n /**\n * Peek buffer from file\n * @param uint8Array - Uint8Array (or Buffer) to write data to\n * @param options - Read behaviour options\n * @returns Promise number of bytes read\n */\n peekBuffer(uint8Array: Uint8Array, options?: IReadChunkOptions): Promise<number>;\n close(): Promise<void>;\n setPosition(position: number): void;\n supportsRandomAccess(): boolean;\n}\nexport {};\n",
@@ -14115,6 +14182,8 @@
14115
14182
  "node_modules/supports-color/package.json": "{\n\t\"name\": \"supports-color\",\n\t\"version\": \"7.2.0\",\n\t\"description\": \"Detect whether a terminal supports color\",\n\t\"license\": \"MIT\",\n\t\"repository\": \"chalk/supports-color\",\n\t\"author\": {\n\t\t\"name\": \"Sindre Sorhus\",\n\t\t\"email\": \"sindresorhus@gmail.com\",\n\t\t\"url\": \"sindresorhus.com\"\n\t},\n\t\"engines\": {\n\t\t\"node\": \">=8\"\n\t},\n\t\"scripts\": {\n\t\t\"test\": \"xo && ava\"\n\t},\n\t\"files\": [\n\t\t\"index.js\",\n\t\t\"browser.js\"\n\t],\n\t\"keywords\": [\n\t\t\"color\",\n\t\t\"colour\",\n\t\t\"colors\",\n\t\t\"terminal\",\n\t\t\"console\",\n\t\t\"cli\",\n\t\t\"ansi\",\n\t\t\"styles\",\n\t\t\"tty\",\n\t\t\"rgb\",\n\t\t\"256\",\n\t\t\"shell\",\n\t\t\"xterm\",\n\t\t\"command-line\",\n\t\t\"support\",\n\t\t\"supports\",\n\t\t\"capability\",\n\t\t\"detect\",\n\t\t\"truecolor\",\n\t\t\"16m\"\n\t],\n\t\"dependencies\": {\n\t\t\"has-flag\": \"^4.0.0\"\n\t},\n\t\"devDependencies\": {\n\t\t\"ava\": \"^1.4.1\",\n\t\t\"import-fresh\": \"^3.0.0\",\n\t\t\"xo\": \"^0.24.0\"\n\t},\n\t\"browser\": \"browser.js\"\n}\n",
14116
14183
  "node_modules/supports-preserve-symlinks-flag/package.json": "{\n\t\"name\": \"supports-preserve-symlinks-flag\",\n\t\"version\": \"1.0.0\",\n\t\"description\": \"Determine if the current node version supports the `--preserve-symlinks` flag.\",\n\t\"main\": \"./index.js\",\n\t\"browser\": \"./browser.js\",\n\t\"exports\": {\n\t\t\".\": [\n\t\t\t{\n\t\t\t\t\"browser\": \"./browser.js\",\n\t\t\t\t\"default\": \"./index.js\"\n\t\t\t},\n\t\t\t\"./index.js\"\n\t\t],\n\t\t\"./package.json\": \"./package.json\"\n\t},\n\t\"sideEffects\": false,\n\t\"scripts\": {\n\t\t\"prepublishOnly\": \"safe-publish-latest\",\n\t\t\"prepublish\": \"not-in-publish || npm run prepublishOnly\",\n\t\t\"lint\": \"eslint --ext=js,mjs .\",\n\t\t\"pretest\": \"npm run lint\",\n\t\t\"tests-only\": \"nyc tape 'test/**/*.js'\",\n\t\t\"test\": \"npm run tests-only\",\n\t\t\"posttest\": \"aud --production\",\n\t\t\"version\": \"auto-changelog && git add CHANGELOG.md\",\n\t\t\"postversion\": \"auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \\\"v$(node -e \\\"console.log(require('./package.json').version)\\\")\\\"\"\n\t},\n\t\"repository\": {\n\t\t\"type\": \"git\",\n\t\t\"url\": \"git+https://github.com/inspect-js/node-supports-preserve-symlinks-flag.git\"\n\t},\n\t\"keywords\": [\n\t\t\"node\",\n\t\t\"flag\",\n\t\t\"symlink\",\n\t\t\"symlinks\",\n\t\t\"preserve-symlinks\"\n\t],\n\t\"author\": \"Jordan Harband <ljharb@gmail.com>\",\n\t\"funding\": {\n\t\t\"url\": \"https://github.com/sponsors/ljharb\"\n\t},\n\t\"license\": \"MIT\",\n\t\"bugs\": {\n\t\t\"url\": \"https://github.com/inspect-js/node-supports-preserve-symlinks-flag/issues\"\n\t},\n\t\"homepage\": \"https://github.com/inspect-js/node-supports-preserve-symlinks-flag#readme\",\n\t\"devDependencies\": {\n\t\t\"@ljharb/eslint-config\": \"^20.1.0\",\n\t\t\"aud\": \"^1.1.5\",\n\t\t\"auto-changelog\": \"^2.3.0\",\n\t\t\"eslint\": \"^8.6.0\",\n\t\t\"nyc\": \"^10.3.2\",\n\t\t\"safe-publish-latest\": \"^2.0.0\",\n\t\t\"semver\": \"^6.3.0\",\n\t\t\"tape\": \"^5.4.0\"\n\t},\n\t\"engines\": {\n\t\t\"node\": \">= 0.4\"\n\t},\n\t\"auto-changelog\": {\n\t\t\"output\": \"CHANGELOG.md\",\n\t\t\"template\": \"keepachangelog\",\n\t\t\"unreleased\": false,\n\t\t\"commitLimit\": false,\n\t\t\"backfillLimit\": false,\n\t\t\"hideCredit\": true\n\t}\n}\n",
14117
14184
  "node_modules/swagger-ui-dist/package.json": "{\n \"name\": \"swagger-ui-dist\",\n \"version\": \"5.21.0\",\n \"main\": \"index.js\",\n \"repository\": \"git@github.com:swagger-api/swagger-ui.git\",\n \"contributors\": [\n \"(in alphabetical order)\",\n \"Anna Bodnia <anna.bodnia@gmail.com>\",\n \"Buu Nguyen <buunguyen@gmail.com>\",\n \"Josh Ponelat <jponelat@gmail.com>\",\n \"Kyle Shockey <kyleshockey1@gmail.com>\",\n \"Robert Barnwell <robert@robertismy.name>\",\n \"Sahar Jafari <shr.jafari@gmail.com>\"\n ],\n \"license\": \"Apache-2.0\",\n \"dependencies\": {\n \"@scarf/scarf\": \"=1.4.0\"\n },\n \"devDependencies\": {}\n}\n",
14185
+ "node_modules/tar-fs/package.json": "{\n \"name\": \"tar-fs\",\n \"version\": \"2.1.4\",\n \"description\": \"filesystem bindings for tar-stream\",\n \"dependencies\": {\n \"chownr\": \"^1.1.1\",\n \"mkdirp-classic\": \"^0.5.2\",\n \"pump\": \"^3.0.0\",\n \"tar-stream\": \"^2.1.4\"\n },\n \"keywords\": [\n \"tar\",\n \"fs\",\n \"file\",\n \"tarball\",\n \"directory\",\n \"stream\"\n ],\n \"devDependencies\": {\n \"rimraf\": \"^2.6.3\",\n \"standard\": \"^13.0.1\",\n \"tape\": \"^4.9.2\"\n },\n \"scripts\": {\n \"test\": \"standard && tape test/index.js\"\n },\n \"bugs\": {\n \"url\": \"https://github.com/mafintosh/tar-fs/issues\"\n },\n \"homepage\": \"https://github.com/mafintosh/tar-fs\",\n \"main\": \"index.js\",\n \"directories\": {\n \"test\": \"test\"\n },\n \"author\": \"Mathias Buus\",\n \"license\": \"MIT\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/mafintosh/tar-fs.git\"\n }\n}\n",
14186
+ "node_modules/tar-stream/package.json": "{\n \"name\": \"tar-stream\",\n \"version\": \"2.2.0\",\n \"description\": \"tar-stream is a streaming tar parser and generator and nothing else. It is streams2 and operates purely using streams which means you can easily extract/parse tarballs without ever hitting the file system.\",\n \"author\": \"Mathias Buus <mathiasbuus@gmail.com>\",\n \"dependencies\": {\n \"bl\": \"^4.0.3\",\n \"end-of-stream\": \"^1.4.1\",\n \"fs-constants\": \"^1.0.0\",\n \"inherits\": \"^2.0.3\",\n \"readable-stream\": \"^3.1.1\"\n },\n \"devDependencies\": {\n \"concat-stream\": \"^2.0.0\",\n \"standard\": \"^12.0.1\",\n \"tape\": \"^4.9.2\"\n },\n \"scripts\": {\n \"test\": \"standard && tape test/extract.js test/pack.js\",\n \"test-all\": \"standard && tape test/*.js\"\n },\n \"keywords\": [\n \"tar\",\n \"tarball\",\n \"parse\",\n \"parser\",\n \"generate\",\n \"generator\",\n \"stream\",\n \"stream2\",\n \"streams\",\n \"streams2\",\n \"streaming\",\n \"pack\",\n \"extract\",\n \"modify\"\n ],\n \"bugs\": {\n \"url\": \"https://github.com/mafintosh/tar-stream/issues\"\n },\n \"homepage\": \"https://github.com/mafintosh/tar-stream\",\n \"main\": \"index.js\",\n \"files\": [\n \"*.js\",\n \"LICENSE\"\n ],\n \"directories\": {\n \"test\": \"test\"\n },\n \"license\": \"MIT\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"git+https://github.com/mafintosh/tar-stream.git\"\n },\n \"engines\": {\n \"node\": \">=6\"\n }\n}\n",
14118
14187
  "node_modules/tgrid/lib/components/Communicator.d.ts": "import { Driver } from \"../typings/Driver\";\nimport { Invoke } from \"./Invoke\";\nimport { InvokeEvent } from \"./InvokeEvent\";\n/**\n * The basic communicator.\n *\n * The `Communicator` is an abstract class taking full charge of network communication.\n * Protocolized communicators like {@link WebSocketConnector} are realized by extending this\n * `Communicator` class.\n *\n * You want to make your own communicator using special protocol, extends this `Communicator`\n * class. After the extending, implement your special communicator by overriding those methods.\n *\n * - {@link inspectReady}\n * - {@link replyData}\n * - {@link sendData}\n *\n * @template Provider Type of features provided for remote system.\n * @template Remote Type of features supported by remote system, used for {@link getDriver} function.\n * @author Jeongho Nam - https://github.com/samchon\n */\nexport declare abstract class Communicator<Provider extends object | null | undefined, Remote extends object | null> {\n /**\n * @hidden\n */\n private static SEQUENCE;\n /**\n * @hidden\n */\n protected provider_: Provider;\n /**\n * @hidden\n */\n private driver_;\n /**\n * @hidden\n */\n private promises_;\n /**\n * @hidden\n */\n private event_listeners_;\n /**\n * @hidden\n */\n private join_cv_;\n /**\n * Initializer Constructor.\n *\n * @param provider An object providing features for remote system.\n */\n protected constructor(provider: Provider);\n /**\n * Add invoke event listener.\n *\n * Add an event listener for the invoke event. The event listener would be called\n * when some invoke event has been occured; sending, receiving, completing, or returning.\n *\n * If you change the requesting parameters or returning value in the event listener,\n * it would affect to the RPC (Remote Procedure Call) communication. Therefore, you have\n * to be careful when modifying the remote function calling.\n *\n * Of course, you can utilize the event listener just for monitoring the RPC events.\n *\n * @param type Type of the event\n * @param listener The listener function to enroll\n */\n on<Type extends InvokeEvent.Type>(type: Type, listener: (event: InvokeEvent.EventMapper[Type]) => void): void;\n /**\n * Erase invoke event listener.\n *\n * Erase an event listener from the invoke event. The event listener would not be\n * called anymore when the specific invoke event has been occured.\n *\n * @param type Type of the event\n * @param listener The listener function to erase\n */\n off<Type extends InvokeEvent.Type>(type: Type, listener: (event: InvokeEvent.EventMapper[Type]) => void): void;\n /**\n * Destroy the communicator.\n *\n * A destroy function must be called when the network communication has been closed.\n * It would destroy all function calls in the remote system (by `Driver<Controller>`),\n * which are not returned yet.\n *\n * The *error* instance would be thrown to those function calls. If the disconnection is\n * abnormal, then write the detailed reason why into the *error* instance.\n *\n * @param error An error instance to be thrown to the unreturned functions.\n */\n protected destructor(error?: Error): Promise<void>;\n /**\n * A predicator inspects whether the *network communication* is on ready.\n *\n * @param method The method name for tracing.\n */\n protected abstract inspectReady(method: string): Error | null;\n /**\n * @hidden\n */\n private _Proxy_func;\n /**\n * @hidden\n */\n private _Call_function;\n /**\n * Set `Provider`\n *\n * @param obj An object would be provided for remote system.\n */\n setProvider(obj: Provider): void;\n /**\n * Get current `Provider`.\n *\n * Get an object providing features (functions & objects) for remote system. The remote\n * system would call the features (`Provider`) by using its `Driver<Controller>`.\n *\n * @return Current `Provider` object\n */\n getProvider(): Provider;\n /**\n * Get Driver for RFC (Remote Function Call).\n *\n * The `Controller` is an interface who defines provided functions from the remote\n * system. The `Driver` is an object who makes to call remote functions, defined in\n * the `Controller` and provided by `Provider` in the remote system, possible.\n *\n * In other words, calling a functions in the `Driver<Controller>`, it means to call\n * a matched function in the remote system's `Provider` object.\n *\n * - `Controller`: Definition only\n * - `Driver`: Remote Function Call\n *\n * @template Controller An interface for provided features (functions & objects) from the remote system (`Provider`).\n * @template UseParametric Whether to convert type of function parameters to be compatible with their primitive.\n * @return A Driver for the RFC.\n */\n getDriver<Controller extends NonNullable<Remote> = NonNullable<Remote>, UseParametric extends boolean = false>(): Driver<Controller, UseParametric>;\n /**\n * Join connection.\n *\n * Wait until the connection to be closed.\n */\n join(): Promise<void>;\n /**\n * Join connection or timeout.\n *\n * Wait until the connection to be closed until timeout.\n *\n * @param ms The maximum milliseconds for joining.\n * @return Whether awaken by disconnection or timeout.\n */\n join(ms: number): Promise<boolean>;\n /**\n * Join connection or time expiration.\n *\n * Wait until the connection to be closed until time expiration.\n *\n * @param at The maximum time point to join.\n * @return Whether awaken by disconnection or time expiration.\n */\n join(at: Date): Promise<boolean>;\n /**\n * Data Reply Function.\n *\n * A function should be called when data has come from the remote system.\n *\n * When you receive a message from the remote system, then parse the message with your\n * special protocol and covert it to be an *Invoke* object. After the conversion, call\n * this method.\n *\n * @param invoke Structured data converted by your special protocol.\n */\n protected replyData(invoke: Invoke): void;\n /**\n * @hidden\n */\n private _Handle_function;\n /**\n * @hidden\n */\n private _Handle_complete;\n /**\n * A function sending data to the remote system.\n *\n * @param invoke Structured data to send.\n */\n protected abstract sendData(invoke: Invoke): Promise<void>;\n /**\n * @hidden\n */\n private _Send_return;\n}\n",
14119
14188
  "node_modules/tgrid/lib/components/Invoke.d.ts": "/**\n * Message structure for RPC (Remote Procedure Call).\n *\n * @author Jeongho Nam - https://github.com/samchon\n */\nexport type Invoke = Invoke.IFunction | Invoke.IReturn;\nexport declare namespace Invoke {\n /**\n * Message for Requesting RPC.\n */\n interface IFunction {\n /**\n * Unique identifier.\n */\n readonly uid: number;\n /**\n * Target function (sometimes capsuled in objects) to call.\n */\n readonly listener: string;\n /**\n * Parameters for the function call.\n */\n parameters: IParameter[];\n }\n /**\n * Parameter for the function call.\n */\n interface IParameter {\n /**\n * Type of the {@link value}.\n *\n * Actually, it stores result of the `typeof` statement.\n */\n type: string;\n /**\n * Value of the parameter.\n */\n value: any;\n }\n /**\n * Message for Returning RPC.\n */\n interface IReturn {\n /**\n * Unique identifier.\n */\n readonly uid: number;\n /**\n * `true` -> return, `false` -> exception.\n */\n readonly success: boolean;\n /**\n * Returned value or thrown exception.\n */\n value: any;\n }\n}\n",
14120
14189
  "node_modules/tgrid/lib/components/InvokeEvent.d.ts": "import { Invoke } from \"./Invoke\";\n/**\n * Event of the RPC invocation.\n *\n * `InvokeEvent` is a type for the RPC invocation event. It's a type for\n * the event object that is dispatched when an RPC invocation is sended,\n * received, completed or returned.\n *\n * For reference, \"send\" and \"commplete\" events are dispatched from the\n * function calling request side, and \"receive\" and \"return\" events are\n * dispatched from the function calling executor side.\n *\n * @author Jeongho Nam - https://github.com/samchon\n */\nexport type InvokeEvent = InvokeEvent.ISend | InvokeEvent.IReceive | InvokeEvent.IComplete | InvokeEvent.IReturn;\nexport declare namespace InvokeEvent {\n /**\n * Type of the invoke event.\n */\n type Type = \"send\" | \"receive\" | \"complete\" | \"return\";\n /**\n * Event mapper for the RPC invocation.\n */\n interface EventMapper {\n send: ISend;\n receive: IReceive;\n complete: IComplete;\n return: IReturn;\n }\n /**\n * RPC message send event.\n *\n * Dispatched when request function calling to the remote system.\n */\n interface ISend {\n /**\n * Discriminator for the type of the event.\n */\n readonly type: \"send\";\n /**\n * Time when the event is occurred.\n */\n readonly time: Date;\n /**\n * Sending message to be invoked.\n */\n readonly function: Invoke.IFunction;\n }\n /**\n * RPC message receive event.\n *\n * Dispatched when requsted function calling from the remote system.\n */\n interface IReceive {\n /**\n * Discriminator for the type of the event.\n */\n readonly type: \"receive\";\n /**\n * Time when the event is occurred.\n */\n readonly time: Date;\n /**\n * Received message to be invoked.\n */\n readonly function: Invoke.IFunction;\n }\n /**\n * RPC message complete event.\n *\n * Dispatched when request function calling is completed by the remote system.\n */\n interface IComplete {\n /**\n * Discriminator for the type of the event.\n */\n readonly type: \"complete\";\n /**\n * Function calling request.\n */\n readonly function: Invoke.IFunction;\n /**\n * Returned value from the remote function calling.\n */\n readonly return: Invoke.IReturn;\n /**\n * Time when the function calling is requested.\n */\n readonly requested_at: Date;\n /**\n * Time when the function calling is completed.\n */\n readonly completed_at: Date;\n }\n /**\n * RPC message return event.\n *\n * Dispatched when return a result of the function calling from the remote system.\n */\n interface IReturn {\n /**\n * Discriminator for the type of the event.\n */\n readonly type: \"return\";\n /**\n * Function calling requested by the remote system.\n */\n readonly function: Invoke.IFunction;\n /**\n * Return value that would be sent to the remove system.\n */\n readonly return: Invoke.IReturn;\n /**\n * Time when the function calling is requested by the remote system.\n */\n readonly requested_at: Date;\n /**\n * Time when the function calling is completed.\n */\n readonly completed_at: Date;\n }\n}\n",
@@ -14578,6 +14647,7 @@
14578
14647
  "node_modules/tstl/lib/utility/index.d.ts": "/**\n * @packageDocumentation\n * @module std\n */\nexport * from \"./IPair\";\nexport * from \"./Pair\";\nexport * from \"./Entry\";\nexport * from \"./node\";\n",
14579
14648
  "node_modules/tstl/lib/utility/node.d.ts": "/**\n * @packageDocumentation\n * @module std\n */\n/**\n * Test whether the code is running on NodeJS.\n *\n * @return Whether NodeJS or not.\n */\nexport declare function is_node(): boolean;\n",
14580
14649
  "node_modules/tstl/package.json": "{\n \"name\": \"tstl\",\n \"description\": \"TypeScript-STL (Standard Template Library, migrated from C++)\",\n \"author\": {\n \"name\": \"Jeongho Nam\",\n \"email\": \"samchon.github@gmail.com\",\n \"url\": \"https://github.com/samchon\"\n },\n \"version\": \"3.0.0\",\n \"main\": \"./lib/index.js\",\n \"typings\": \"./lib/index.d.ts\",\n \"exports\": {\n \".\": {\n \"types\": \"./lib/index.d.ts\",\n \"require\": \"./lib/index.js\",\n \"import\": \"./lib/index.mjs\"\n }\n },\n \"scripts\": {\n \"api\": \"typedoc src --exclude \\\"**/+(test|benchmark)/**\\\" --excludeNotDocumented --plugin typedoc-plugin-external-module-name --plugin typedoc-plugin-exclude-references --out ../tstl@gh-pages/api\",\n \"benchmark\": \"node benchmark\",\n \"build\": \"rimraf lib && tsc && rollup -c\",\n \"dev\": \"rimraf lib && tsc --watch\",\n \"prettier\": \"prettier --write ./src\",\n \"test\": \"node lib/test\"\n },\n \"devDependencies\": {\n \"@rollup/plugin-terser\": \"^0.4.4\",\n \"@rollup/plugin-typescript\": \"^11.1.6\",\n \"@types/cli\": \"^0.11.19\",\n \"@types/node\": \"^14.6.3\",\n \"cli\": \"^1.0.1\",\n \"prettier\": \"^2.7.1\",\n \"rimraf\": \"^3.0.2\",\n \"rollup\": \"^4.13.1\",\n \"source-map-support\": \"^0.5.21\",\n \"ts-node\": \"^10.7.0\",\n \"tslib\": \"^2.6.2\",\n \"typedoc\": \"^0.25.12\",\n \"typescript\": \"^5.4.3\"\n },\n \"homepage\": \"https://github.com/samchon/tstl\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/samchon/tstl\"\n },\n \"bugs\": {\n \"url\": \"https://github.com/samchon/tstl/issues\"\n },\n \"license\": \"MIT\",\n \"keywords\": [\n \"tstl\",\n \"typecript\",\n \"c++\",\n \"cpp\",\n \"stl\",\n \"standard template library\",\n \"algorithm\",\n \"container\",\n \"exception\",\n \"functional\",\n \"iterator\",\n \"numeric\",\n \"ranges\",\n \"thread\",\n \"utility\",\n \"base\",\n \"experimental\",\n \"internal\",\n \"Vector\",\n \"Deque\",\n \"List\",\n \"VectorBoolean\",\n \"ForwardList\",\n \"Stack\",\n \"Queue\",\n \"PriorityQueue\",\n \"FlatMap\",\n \"FlatMultiMap\",\n \"FlatMultiSet\",\n \"FlatSet\",\n \"HashMap\",\n \"HashMultiMap\",\n \"HashMultiSet\",\n \"HashSet\",\n \"TreeMap\",\n \"TreeMultiMap\",\n \"TreeMultiSet\",\n \"TreeSet\",\n \"ConditionVariable\",\n \"Semaphore\",\n \"Latch\",\n \"Barrier\",\n \"FlexBarrier\",\n \"Mutex\",\n \"TimedMutex\",\n \"SharedMutex\",\n \"SharedTimedMutex\",\n \"SharedLock\",\n \"UniqueLock\",\n \"Singleton\"\n ],\n \"files\": [\n \"LICENSE\",\n \"README.md\",\n \"lib/\",\n \"src/\",\n \"!lib/benchmark\",\n \"!lib/test\",\n \"!src/benchmark\",\n \"!src/test\"\n ]\n}\n",
14650
+ "node_modules/tunnel-agent/package.json": "{\n \"author\": \"Mikeal Rogers <mikeal.rogers@gmail.com> (http://www.futurealoof.com)\",\n \"name\": \"tunnel-agent\",\n \"license\": \"Apache-2.0\",\n \"description\": \"HTTP proxy tunneling agent. Formerly part of mikeal/request, now a standalone module.\",\n \"version\": \"0.6.0\",\n \"repository\": {\n \"url\": \"https://github.com/mikeal/tunnel-agent\"\n },\n \"main\": \"index.js\",\n \"files\": [\n \"index.js\"\n ],\n \"dependencies\": {\n \"safe-buffer\": \"^5.0.1\"\n },\n \"devDependencies\": {},\n \"optionalDependencies\": {},\n \"engines\": {\n \"node\": \"*\"\n }\n}\n",
14581
14651
  "node_modules/type-fest/base.d.ts": "// Types that are compatible with all supported TypeScript versions.\n// It's shared between all TypeScript version-specific definitions.\n\n// Basic\nexport * from './source/basic';\nexport * from './source/typed-array';\n\n// Utilities\nexport {Except} from './source/except';\nexport {Mutable} from './source/mutable';\nexport {Merge} from './source/merge';\nexport {MergeExclusive} from './source/merge-exclusive';\nexport {RequireAtLeastOne} from './source/require-at-least-one';\nexport {RequireExactlyOne} from './source/require-exactly-one';\nexport {PartialDeep} from './source/partial-deep';\nexport {ReadonlyDeep} from './source/readonly-deep';\nexport {LiteralUnion} from './source/literal-union';\nexport {Promisable} from './source/promisable';\nexport {Opaque} from './source/opaque';\nexport {SetOptional} from './source/set-optional';\nexport {SetRequired} from './source/set-required';\nexport {ValueOf} from './source/value-of';\nexport {PromiseValue} from './source/promise-value';\nexport {AsyncReturnType} from './source/async-return-type';\nexport {ConditionalExcept} from './source/conditional-except';\nexport {ConditionalKeys} from './source/conditional-keys';\nexport {ConditionalPick} from './source/conditional-pick';\nexport {UnionToIntersection} from './source/union-to-intersection';\nexport {Stringified} from './source/stringified';\nexport {FixedLengthArray} from './source/fixed-length-array';\nexport {IterableElement} from './source/iterable-element';\nexport {Entry} from './source/entry';\nexport {Entries} from './source/entries';\nexport {SetReturnType} from './source/set-return-type';\nexport {Asyncify} from './source/asyncify';\n\n// Miscellaneous\nexport {PackageJson} from './source/package-json';\nexport {TsConfigJson} from './source/tsconfig-json';\n",
14582
14652
  "node_modules/type-fest/source/async-return-type.d.ts": "import {PromiseValue} from './promise-value';\n\ntype AsyncFunction = (...args: any[]) => Promise<unknown>;\n\n/**\nUnwrap the return type of a function that returns a `Promise`.\n\nThere has been [discussion](https://github.com/microsoft/TypeScript/pull/35998) about implementing this type in TypeScript.\n\n@example\n```ts\nimport {AsyncReturnType} from 'type-fest';\nimport {asyncFunction} from 'api';\n\n// This type resolves to the unwrapped return type of `asyncFunction`.\ntype Value = AsyncReturnType<typeof asyncFunction>;\n\nasync function doSomething(value: Value) {}\n\nasyncFunction().then(value => doSomething(value));\n```\n*/\nexport type AsyncReturnType<Target extends AsyncFunction> = PromiseValue<ReturnType<Target>>;\n",
14583
14653
  "node_modules/type-fest/source/asyncify.d.ts": "import {PromiseValue} from './promise-value';\nimport {SetReturnType} from './set-return-type';\n\n/**\nCreate an async version of the given function type, by boxing the return type in `Promise` while keeping the same parameter types.\n\nUse-case: You have two functions, one synchronous and one asynchronous that do the same thing. Instead of having to duplicate the type definition, you can use `Asyncify` to reuse the synchronous type.\n\n@example\n```\nimport {Asyncify} from 'type-fest';\n\n// Synchronous function.\nfunction getFooSync(someArg: SomeType): Foo {\n\t// …\n}\n\ntype AsyncifiedFooGetter = Asyncify<typeof getFooSync>;\n//=> type AsyncifiedFooGetter = (someArg: SomeType) => Promise<Foo>;\n\n// Same as `getFooSync` but asynchronous.\nconst getFooAsync: AsyncifiedFooGetter = (someArg) => {\n\t// TypeScript now knows that `someArg` is `SomeType` automatically.\n\t// It also knows that this function must return `Promise<Foo>`.\n\t// If you have `@typescript-eslint/promise-function-async` linter rule enabled, it will even report that \"Functions that return promises must be async.\".\n\n\t// …\n}\n```\n*/\nexport type Asyncify<Fn extends (...args: any[]) => any> = SetReturnType<Fn, Promise<PromiseValue<ReturnType<Fn>>>>;\n",