@prisma/client 6.20.0-integration-aqrln-wpvsvmvvnylq.1 → 6.20.0-integration-next.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generator-build/index.js +16 -33
- package/package.json +28 -28
- package/runtime/client.js +2 -2
- package/runtime/client.js.map +2 -2
- package/runtime/client.mjs +2 -2
- package/runtime/client.mjs.map +2 -2
- package/runtime/wasm-compiler-edge.js +2 -2
- package/runtime/wasm-compiler-edge.js.map +3 -3
- package/runtime/wasm-compiler-edge.mjs +2 -2
- package/runtime/wasm-compiler-edge.mjs.map +3 -3
- package/scripts/default-index.js +1 -1
package/generator-build/index.js
CHANGED
|
@@ -4378,7 +4378,7 @@ var Debug = new Proxy(debugCreate, {
|
|
|
4378
4378
|
get: (_, prop) => topProps[prop],
|
|
4379
4379
|
set: (_, prop, value) => topProps[prop] = value
|
|
4380
4380
|
});
|
|
4381
|
-
function safeStringify(value,
|
|
4381
|
+
function safeStringify(value, indent8 = 2) {
|
|
4382
4382
|
const cache = /* @__PURE__ */ new Set();
|
|
4383
4383
|
return JSON.stringify(
|
|
4384
4384
|
value,
|
|
@@ -4393,7 +4393,7 @@ function safeStringify(value, indent9 = 2) {
|
|
|
4393
4393
|
}
|
|
4394
4394
|
return value2;
|
|
4395
4395
|
},
|
|
4396
|
-
|
|
4396
|
+
indent8
|
|
4397
4397
|
);
|
|
4398
4398
|
}
|
|
4399
4399
|
|
|
@@ -4658,7 +4658,7 @@ var import_path5 = __toESM(require("path"));
|
|
|
4658
4658
|
// package.json
|
|
4659
4659
|
var package_default = {
|
|
4660
4660
|
name: "@prisma/client",
|
|
4661
|
-
version: "6.20.0-integration-
|
|
4661
|
+
version: "6.20.0-integration-next.10",
|
|
4662
4662
|
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.",
|
|
4663
4663
|
keywords: [
|
|
4664
4664
|
"ORM",
|
|
@@ -5165,9 +5165,9 @@ function docCommentTag(strings, args) {
|
|
|
5165
5165
|
if (lines2.length === 0) {
|
|
5166
5166
|
return docComment2;
|
|
5167
5167
|
}
|
|
5168
|
-
const
|
|
5168
|
+
const indent8 = getIndent(lines2[0]);
|
|
5169
5169
|
for (const line of lines2) {
|
|
5170
|
-
docComment2.addText(line.slice(
|
|
5170
|
+
docComment2.addText(line.slice(indent8));
|
|
5171
5171
|
}
|
|
5172
5172
|
return docComment2;
|
|
5173
5173
|
}
|
|
@@ -5193,11 +5193,11 @@ function isEmptyLine(line) {
|
|
|
5193
5193
|
return line.trim().length === 0;
|
|
5194
5194
|
}
|
|
5195
5195
|
function getIndent(line) {
|
|
5196
|
-
let
|
|
5197
|
-
while (line[
|
|
5198
|
-
|
|
5196
|
+
let indent8 = 0;
|
|
5197
|
+
while (line[indent8] === " ") {
|
|
5198
|
+
indent8++;
|
|
5199
5199
|
}
|
|
5200
|
-
return
|
|
5200
|
+
return indent8;
|
|
5201
5201
|
}
|
|
5202
5202
|
|
|
5203
5203
|
// ../ts-builders/src/Export.ts
|
|
@@ -7963,7 +7963,7 @@ function fluentWrapperName(modelName) {
|
|
|
7963
7963
|
}
|
|
7964
7964
|
|
|
7965
7965
|
// ../client-generator-js/src/TSClient/TSClient.ts
|
|
7966
|
-
var
|
|
7966
|
+
var import_indent_string7 = __toESM(require_indent_string());
|
|
7967
7967
|
var import_path4 = __toESM(require("path"));
|
|
7968
7968
|
|
|
7969
7969
|
// ../client-generator-js/src/dmmf.ts
|
|
@@ -8899,27 +8899,13 @@ var GenerateContext = class {
|
|
|
8899
8899
|
};
|
|
8900
8900
|
|
|
8901
8901
|
// ../client-generator-js/src/TSClient/PrismaClient.ts
|
|
8902
|
-
var
|
|
8902
|
+
var import_indent_string6 = __toESM(require_indent_string());
|
|
8903
8903
|
|
|
8904
8904
|
// ../client-generator-js/src/utils/runtimeImport.ts
|
|
8905
8905
|
function runtimeImportedType(name) {
|
|
8906
8906
|
return namedType(`runtime.${name}`);
|
|
8907
8907
|
}
|
|
8908
8908
|
|
|
8909
|
-
// ../client-generator-js/src/TSClient/Datasources.ts
|
|
8910
|
-
var import_indent_string6 = __toESM(require_indent_string());
|
|
8911
|
-
var Datasources = class {
|
|
8912
|
-
constructor(internalDatasources) {
|
|
8913
|
-
this.internalDatasources = internalDatasources;
|
|
8914
|
-
}
|
|
8915
|
-
toTS() {
|
|
8916
|
-
const sources = this.internalDatasources;
|
|
8917
|
-
return `export type Datasources = {
|
|
8918
|
-
${(0, import_indent_string6.default)(sources.map((s) => `${s.name}?: Datasource`).join("\n"), 2)}
|
|
8919
|
-
}`;
|
|
8920
|
-
}
|
|
8921
|
-
};
|
|
8922
|
-
|
|
8923
8909
|
// ../client-generator-js/src/TSClient/globalOmit.ts
|
|
8924
8910
|
function globalOmitConfig(dmmf) {
|
|
8925
8911
|
const objectType2 = objectType().addMultiple(
|
|
@@ -9238,7 +9224,7 @@ export class PrismaClient<
|
|
|
9238
9224
|
> {
|
|
9239
9225
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['other'] }
|
|
9240
9226
|
|
|
9241
|
-
${(0,
|
|
9227
|
+
${(0, import_indent_string6.default)(this.jsDoc, TAB_SIZE)}
|
|
9242
9228
|
|
|
9243
9229
|
constructor(optionsArg ?: Prisma.Subset<ClientOptions, Prisma.PrismaClientOptions>);
|
|
9244
9230
|
${eventRegistrationMethodDeclaration(this.runtimeNameTs)}
|
|
@@ -9263,7 +9249,7 @@ ${[
|
|
|
9263
9249
|
extendsPropertyDefinition()
|
|
9264
9250
|
].filter((d) => d !== null).join("\n").trim()}
|
|
9265
9251
|
|
|
9266
|
-
${(0,
|
|
9252
|
+
${(0, import_indent_string6.default)(
|
|
9267
9253
|
dmmf.mappings.modelOperations.filter((m) => m.findMany).map((m) => {
|
|
9268
9254
|
let methodName = uncapitalize(m.model);
|
|
9269
9255
|
if (methodName === "constructor") {
|
|
@@ -9286,8 +9272,7 @@ get ${methodName}(): Prisma.${m.model}Delegate<${generics.join(", ")}>;`;
|
|
|
9286
9272
|
}
|
|
9287
9273
|
toTS() {
|
|
9288
9274
|
const clientOptions = this.buildClientOptions();
|
|
9289
|
-
return `${
|
|
9290
|
-
${clientExtensionsDefinitions(this.context)}
|
|
9275
|
+
return `${clientExtensionsDefinitions(this.context)}
|
|
9291
9276
|
export type DefaultPrismaClient = PrismaClient
|
|
9292
9277
|
export type ErrorFormat = 'pretty' | 'colorless' | 'minimal'
|
|
9293
9278
|
${stringify(moduleExport(clientOptions))}
|
|
@@ -9360,8 +9345,6 @@ export type TransactionClient = Omit<Prisma.DefaultPrismaClient, runtime.ITXClie
|
|
|
9360
9345
|
}
|
|
9361
9346
|
buildClientOptions() {
|
|
9362
9347
|
const clientOptions = interfaceDeclaration("PrismaClientOptions").add(
|
|
9363
|
-
property("datasources", namedType("Datasources")).optional().setDocComment(docComment("Overwrites the datasource url from your schema.prisma file"))
|
|
9364
|
-
).add(
|
|
9365
9348
|
property("errorFormat", namedType("ErrorFormat")).optional().setDocComment(docComment('@default "colorless"'))
|
|
9366
9349
|
).add(
|
|
9367
9350
|
property("log", array(unionType([namedType("LogLevel"), namedType("LogDefinition")]))).optional().setDocComment(docComment`
|
|
@@ -9554,7 +9537,7 @@ ${modelEnumsAliases.join("\n\n")}
|
|
|
9554
9537
|
${prismaClientClass.toTSWithoutNamespace()}
|
|
9555
9538
|
|
|
9556
9539
|
export namespace Prisma {
|
|
9557
|
-
${(0,
|
|
9540
|
+
${(0, import_indent_string7.default)(
|
|
9558
9541
|
`${commonCode.ts()}
|
|
9559
9542
|
${new Enum(
|
|
9560
9543
|
{
|
|
@@ -10452,7 +10435,7 @@ var import_node_path4 = __toESM(require("node:path"));
|
|
|
10452
10435
|
var import_engines_version = __toESM(require_engines_version());
|
|
10453
10436
|
|
|
10454
10437
|
// ../client-generator-js/package.json
|
|
10455
|
-
var version = "6.20.0-integration-
|
|
10438
|
+
var version = "6.20.0-integration-next.10";
|
|
10456
10439
|
|
|
10457
10440
|
// ../client-generator-js/src/resolvePrismaClient.ts
|
|
10458
10441
|
var import_promises5 = __toESM(require("node:fs/promises"));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/client",
|
|
3
|
-
"version": "6.20.0-integration-
|
|
3
|
+
"version": "6.20.0-integration-next.10",
|
|
4
4
|
"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.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ORM",
|
|
@@ -218,35 +218,35 @@
|
|
|
218
218
|
"typescript": "5.4.5",
|
|
219
219
|
"undici": "7.4.0",
|
|
220
220
|
"zx": "8.4.1",
|
|
221
|
-
"@prisma/adapter-
|
|
222
|
-
"@prisma/adapter-
|
|
223
|
-
"@prisma/adapter-libsql": "6.20.0-integration-
|
|
224
|
-
"@prisma/adapter-mariadb": "6.20.0-integration-
|
|
225
|
-
"@prisma/adapter-mssql": "6.20.0-integration-
|
|
226
|
-
"@prisma/adapter-
|
|
227
|
-
"@prisma/adapter-
|
|
228
|
-
"@prisma/adapter-planetscale": "6.20.0-integration-
|
|
229
|
-
"@prisma/client-common": "6.20.0-integration-
|
|
230
|
-
"@prisma/client-
|
|
231
|
-
"@prisma/
|
|
232
|
-
"@prisma/
|
|
233
|
-
"@prisma/client-generator-ts": "6.20.0-integration-
|
|
234
|
-
"@prisma/
|
|
235
|
-
"@prisma/
|
|
236
|
-
"@prisma/
|
|
237
|
-
"@prisma/
|
|
238
|
-
"@prisma/
|
|
239
|
-
"@prisma/
|
|
240
|
-
"@prisma/
|
|
241
|
-
"@prisma/
|
|
242
|
-
"@prisma/instrumentation": "6.20.0-integration-
|
|
243
|
-
"@prisma/internals": "6.20.0-integration-
|
|
244
|
-
"@prisma/migrate": "6.20.0-integration-
|
|
245
|
-
"@prisma/
|
|
246
|
-
"@prisma/
|
|
221
|
+
"@prisma/adapter-d1": "6.20.0-integration-next.10",
|
|
222
|
+
"@prisma/adapter-better-sqlite3": "6.20.0-integration-next.10",
|
|
223
|
+
"@prisma/adapter-libsql": "6.20.0-integration-next.10",
|
|
224
|
+
"@prisma/adapter-mariadb": "6.20.0-integration-next.10",
|
|
225
|
+
"@prisma/adapter-mssql": "6.20.0-integration-next.10",
|
|
226
|
+
"@prisma/adapter-pg": "6.20.0-integration-next.10",
|
|
227
|
+
"@prisma/adapter-neon": "6.20.0-integration-next.10",
|
|
228
|
+
"@prisma/adapter-planetscale": "6.20.0-integration-next.10",
|
|
229
|
+
"@prisma/client-common": "6.20.0-integration-next.10",
|
|
230
|
+
"@prisma/client-engine-runtime": "6.20.0-integration-next.10",
|
|
231
|
+
"@prisma/client-generator-js": "6.20.0-integration-next.10",
|
|
232
|
+
"@prisma/debug": "6.20.0-integration-next.10",
|
|
233
|
+
"@prisma/client-generator-ts": "6.20.0-integration-next.10",
|
|
234
|
+
"@prisma/config": "6.20.0-integration-next.10",
|
|
235
|
+
"@prisma/driver-adapter-utils": "6.20.0-integration-next.10",
|
|
236
|
+
"@prisma/engines": "6.20.0-integration-next.10",
|
|
237
|
+
"@prisma/dmmf": "6.20.0-integration-next.10",
|
|
238
|
+
"@prisma/fetch-engine": "6.20.0-integration-next.10",
|
|
239
|
+
"@prisma/generator": "6.20.0-integration-next.10",
|
|
240
|
+
"@prisma/generator-helper": "6.20.0-integration-next.10",
|
|
241
|
+
"@prisma/get-platform": "6.20.0-integration-next.10",
|
|
242
|
+
"@prisma/instrumentation": "6.20.0-integration-next.10",
|
|
243
|
+
"@prisma/internals": "6.20.0-integration-next.10",
|
|
244
|
+
"@prisma/migrate": "6.20.0-integration-next.10",
|
|
245
|
+
"@prisma/query-plan-executor": "6.20.0-integration-next.10",
|
|
246
|
+
"@prisma/ts-builders": "6.20.0-integration-next.10"
|
|
247
247
|
},
|
|
248
248
|
"dependencies": {
|
|
249
|
-
"@prisma/client-runtime-utils": "6.20.0-integration-
|
|
249
|
+
"@prisma/client-runtime-utils": "6.20.0-integration-next.10"
|
|
250
250
|
},
|
|
251
251
|
"peerDependencies": {
|
|
252
252
|
"prisma": "*",
|