@prisma/client 7.4.0-dev.21 → 7.4.0-dev.22
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 +684 -5
- package/package.json +34 -32
- package/runtime/client.d.mts +26 -1
- package/runtime/client.d.ts +26 -1
- package/runtime/client.js +23 -23
- package/runtime/client.js.map +4 -4
- package/runtime/client.mjs +23 -23
- package/runtime/client.mjs.map +4 -4
- package/runtime/wasm-compiler-edge.js +20 -20
- package/runtime/wasm-compiler-edge.js.map +4 -4
- package/runtime/wasm-compiler-edge.mjs +20 -20
- package/runtime/wasm-compiler-edge.mjs.map +4 -4
- package/scripts/default-index.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/client",
|
|
3
|
-
"version": "7.4.0-dev.
|
|
3
|
+
"version": "7.4.0-dev.22",
|
|
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,39 +218,41 @@
|
|
|
218
218
|
"typescript": "5.4.5",
|
|
219
219
|
"undici": "7.4.0",
|
|
220
220
|
"zx": "8.4.1",
|
|
221
|
-
"@prisma/adapter-better-sqlite3": "7.4.0-dev.
|
|
222
|
-
"@prisma/adapter-d1": "7.4.0-dev.
|
|
223
|
-
"@prisma/adapter-
|
|
224
|
-
"@prisma/adapter-mssql": "7.4.0-dev.
|
|
225
|
-
"@prisma/adapter-
|
|
226
|
-
"@prisma/adapter-
|
|
227
|
-
"@prisma/adapter-
|
|
228
|
-
"@prisma/adapter-planetscale": "7.4.0-dev.
|
|
229
|
-
"@prisma/client-
|
|
230
|
-
"@prisma/client-
|
|
231
|
-
"@prisma/client-
|
|
232
|
-
"@prisma/
|
|
233
|
-
"@prisma/
|
|
234
|
-
"@prisma/
|
|
235
|
-
"@prisma/debug": "7.4.0-dev.
|
|
236
|
-
"@prisma/
|
|
237
|
-
"@prisma/fetch-engine": "7.4.0-dev.
|
|
238
|
-
"@prisma/engines": "7.4.0-dev.
|
|
239
|
-
"@prisma/generator": "7.4.0-dev.
|
|
240
|
-
"@prisma/generator-helper": "7.4.0-dev.
|
|
241
|
-
"@prisma/get-platform": "7.4.0-dev.
|
|
242
|
-
"@prisma/instrumentation": "7.4.0-dev.
|
|
243
|
-
"@prisma/
|
|
244
|
-
"@prisma/
|
|
245
|
-
"@prisma/migrate": "7.4.0-dev.
|
|
246
|
-
"@prisma/
|
|
247
|
-
"@prisma/
|
|
248
|
-
"@prisma/
|
|
249
|
-
"@prisma/
|
|
250
|
-
"@prisma/
|
|
221
|
+
"@prisma/adapter-better-sqlite3": "7.4.0-dev.22",
|
|
222
|
+
"@prisma/adapter-d1": "7.4.0-dev.22",
|
|
223
|
+
"@prisma/adapter-mariadb": "7.4.0-dev.22",
|
|
224
|
+
"@prisma/adapter-mssql": "7.4.0-dev.22",
|
|
225
|
+
"@prisma/adapter-libsql": "7.4.0-dev.22",
|
|
226
|
+
"@prisma/adapter-pg": "7.4.0-dev.22",
|
|
227
|
+
"@prisma/adapter-neon": "7.4.0-dev.22",
|
|
228
|
+
"@prisma/adapter-planetscale": "7.4.0-dev.22",
|
|
229
|
+
"@prisma/client-engine-runtime": "7.4.0-dev.22",
|
|
230
|
+
"@prisma/client-generator-js": "7.4.0-dev.22",
|
|
231
|
+
"@prisma/client-common": "7.4.0-dev.22",
|
|
232
|
+
"@prisma/client-generator-ts": "7.4.0-dev.22",
|
|
233
|
+
"@prisma/config": "7.4.0-dev.22",
|
|
234
|
+
"@prisma/driver-adapter-utils": "7.4.0-dev.22",
|
|
235
|
+
"@prisma/debug": "7.4.0-dev.22",
|
|
236
|
+
"@prisma/dmmf": "7.4.0-dev.22",
|
|
237
|
+
"@prisma/fetch-engine": "7.4.0-dev.22",
|
|
238
|
+
"@prisma/engines": "7.4.0-dev.22",
|
|
239
|
+
"@prisma/generator": "7.4.0-dev.22",
|
|
240
|
+
"@prisma/generator-helper": "7.4.0-dev.22",
|
|
241
|
+
"@prisma/get-platform": "7.4.0-dev.22",
|
|
242
|
+
"@prisma/instrumentation": "7.4.0-dev.22",
|
|
243
|
+
"@prisma/instrumentation-contract": "7.4.0-dev.22",
|
|
244
|
+
"@prisma/json-protocol": "7.4.0-dev.22",
|
|
245
|
+
"@prisma/migrate": "7.4.0-dev.22",
|
|
246
|
+
"@prisma/param-graph": "7.4.0-dev.22",
|
|
247
|
+
"@prisma/internals": "7.4.0-dev.22",
|
|
248
|
+
"@prisma/param-graph-builder": "7.4.0-dev.22",
|
|
249
|
+
"@prisma/query-plan-executor": "7.4.0-dev.22",
|
|
250
|
+
"@prisma/sqlcommenter": "7.4.0-dev.22",
|
|
251
|
+
"@prisma/sqlcommenter-trace-context": "7.4.0-dev.22",
|
|
252
|
+
"@prisma/ts-builders": "7.4.0-dev.22"
|
|
251
253
|
},
|
|
252
254
|
"dependencies": {
|
|
253
|
-
"@prisma/client-runtime-utils": "7.4.0-dev.
|
|
255
|
+
"@prisma/client-runtime-utils": "7.4.0-dev.22"
|
|
254
256
|
},
|
|
255
257
|
"peerDependencies": {
|
|
256
258
|
"prisma": "*",
|
package/runtime/client.d.mts
CHANGED
|
@@ -797,6 +797,15 @@ declare interface EngineConfig {
|
|
|
797
797
|
* Each plugin receives query context and returns key-value pairs.
|
|
798
798
|
*/
|
|
799
799
|
sqlCommenters?: SqlCommenterPlugin[];
|
|
800
|
+
/**
|
|
801
|
+
* Parameterization schema (ParamGraph) for schema-aware query parameterization.
|
|
802
|
+
* Enables precise parameterization based on DMMF metadata.
|
|
803
|
+
*/
|
|
804
|
+
parameterizationSchema: SerializedParamGraph;
|
|
805
|
+
/**
|
|
806
|
+
* Runtime data model for enum lookups during parameterization.
|
|
807
|
+
*/
|
|
808
|
+
runtimeDataModel: RuntimeDataModel;
|
|
800
809
|
}
|
|
801
810
|
|
|
802
811
|
declare type EngineEvent<E extends EngineEventType> = E extends QueryEventType ? QueryEvent : LogEvent;
|
|
@@ -1296,6 +1305,11 @@ export declare type GetPrismaClientConfig = {
|
|
|
1296
1305
|
* Optional wasm loading configuration
|
|
1297
1306
|
*/
|
|
1298
1307
|
compilerWasm?: CompilerWasmLoadingConfig;
|
|
1308
|
+
/**
|
|
1309
|
+
* Parameterization schema for schema-aware query parameterization.
|
|
1310
|
+
* Enables precise parameterization based on DMMF metadata.
|
|
1311
|
+
*/
|
|
1312
|
+
parameterizationSchema: SerializedParamGraph;
|
|
1299
1313
|
};
|
|
1300
1314
|
|
|
1301
1315
|
export declare type GetResult<Payload extends OperationPayload, Args, OperationName extends Operation = 'findUniqueOrThrow', GlobalOmitOptions = {}> = {
|
|
@@ -2616,7 +2630,17 @@ export declare type SelectField<P extends SelectablePayloadFields<any, any>, K e
|
|
|
2616
2630
|
declare type Selection_2 = Record<string, boolean | Skip | JsArgs>;
|
|
2617
2631
|
export { Selection_2 as Selection }
|
|
2618
2632
|
|
|
2619
|
-
|
|
2633
|
+
/**
|
|
2634
|
+
* Serialized format stored in the generated client.
|
|
2635
|
+
*/
|
|
2636
|
+
declare interface SerializedParamGraph {
|
|
2637
|
+
/** String table (field names, enum names, root keys) */
|
|
2638
|
+
strings: string[];
|
|
2639
|
+
/** Base64url-encoded binary blob for structural data */
|
|
2640
|
+
graph: string;
|
|
2641
|
+
}
|
|
2642
|
+
|
|
2643
|
+
export declare function serializeJsonQuery({ modelName, action, args, runtimeDataModel, extensions, callsite, clientMethod, errorFormat, clientVersion, previewFeatures, globalOmit, wrapRawValues, }: SerializeParams): JsonQuery;
|
|
2620
2644
|
|
|
2621
2645
|
declare type SerializeParams = {
|
|
2622
2646
|
runtimeDataModel: RuntimeDataModel;
|
|
@@ -2630,6 +2654,7 @@ declare type SerializeParams = {
|
|
|
2630
2654
|
errorFormat: ErrorFormat;
|
|
2631
2655
|
previewFeatures: string[];
|
|
2632
2656
|
globalOmit?: GlobalOmitOptions;
|
|
2657
|
+
wrapRawValues?: boolean;
|
|
2633
2658
|
};
|
|
2634
2659
|
|
|
2635
2660
|
declare class Skip {
|
package/runtime/client.d.ts
CHANGED
|
@@ -797,6 +797,15 @@ declare interface EngineConfig {
|
|
|
797
797
|
* Each plugin receives query context and returns key-value pairs.
|
|
798
798
|
*/
|
|
799
799
|
sqlCommenters?: SqlCommenterPlugin[];
|
|
800
|
+
/**
|
|
801
|
+
* Parameterization schema (ParamGraph) for schema-aware query parameterization.
|
|
802
|
+
* Enables precise parameterization based on DMMF metadata.
|
|
803
|
+
*/
|
|
804
|
+
parameterizationSchema: SerializedParamGraph;
|
|
805
|
+
/**
|
|
806
|
+
* Runtime data model for enum lookups during parameterization.
|
|
807
|
+
*/
|
|
808
|
+
runtimeDataModel: RuntimeDataModel;
|
|
800
809
|
}
|
|
801
810
|
|
|
802
811
|
declare type EngineEvent<E extends EngineEventType> = E extends QueryEventType ? QueryEvent : LogEvent;
|
|
@@ -1296,6 +1305,11 @@ export declare type GetPrismaClientConfig = {
|
|
|
1296
1305
|
* Optional wasm loading configuration
|
|
1297
1306
|
*/
|
|
1298
1307
|
compilerWasm?: CompilerWasmLoadingConfig;
|
|
1308
|
+
/**
|
|
1309
|
+
* Parameterization schema for schema-aware query parameterization.
|
|
1310
|
+
* Enables precise parameterization based on DMMF metadata.
|
|
1311
|
+
*/
|
|
1312
|
+
parameterizationSchema: SerializedParamGraph;
|
|
1299
1313
|
};
|
|
1300
1314
|
|
|
1301
1315
|
export declare type GetResult<Payload extends OperationPayload, Args, OperationName extends Operation = 'findUniqueOrThrow', GlobalOmitOptions = {}> = {
|
|
@@ -2616,7 +2630,17 @@ export declare type SelectField<P extends SelectablePayloadFields<any, any>, K e
|
|
|
2616
2630
|
declare type Selection_2 = Record<string, boolean | Skip | JsArgs>;
|
|
2617
2631
|
export { Selection_2 as Selection }
|
|
2618
2632
|
|
|
2619
|
-
|
|
2633
|
+
/**
|
|
2634
|
+
* Serialized format stored in the generated client.
|
|
2635
|
+
*/
|
|
2636
|
+
declare interface SerializedParamGraph {
|
|
2637
|
+
/** String table (field names, enum names, root keys) */
|
|
2638
|
+
strings: string[];
|
|
2639
|
+
/** Base64url-encoded binary blob for structural data */
|
|
2640
|
+
graph: string;
|
|
2641
|
+
}
|
|
2642
|
+
|
|
2643
|
+
export declare function serializeJsonQuery({ modelName, action, args, runtimeDataModel, extensions, callsite, clientMethod, errorFormat, clientVersion, previewFeatures, globalOmit, wrapRawValues, }: SerializeParams): JsonQuery;
|
|
2620
2644
|
|
|
2621
2645
|
declare type SerializeParams = {
|
|
2622
2646
|
runtimeDataModel: RuntimeDataModel;
|
|
@@ -2630,6 +2654,7 @@ declare type SerializeParams = {
|
|
|
2630
2654
|
errorFormat: ErrorFormat;
|
|
2631
2655
|
previewFeatures: string[];
|
|
2632
2656
|
globalOmit?: GlobalOmitOptions;
|
|
2657
|
+
wrapRawValues?: boolean;
|
|
2633
2658
|
};
|
|
2634
2659
|
|
|
2635
2660
|
declare class Skip {
|