prisma 6.1.0 → 6.2.0-dev.1
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/build/index.js +3 -3
- package/package.json +10 -10
- package/prisma-client/generator-build/index.js +1 -1
- package/prisma-client/package.json +1 -1
- package/prisma-client/runtime/binary.js +61 -61
- package/prisma-client/runtime/edge-esm.js +13 -13
- package/prisma-client/runtime/edge.js +13 -13
- package/prisma-client/runtime/library.d.ts +12 -0
- package/prisma-client/runtime/library.js +38 -38
- package/prisma-client/runtime/react-native.d.ts +12 -0
- package/prisma-client/runtime/react-native.js +22 -22
- package/prisma-client/scripts/default-index.js +1 -1
|
@@ -648,8 +648,12 @@ declare function defineExtension(ext: ExtensionArgs | ((client: Client) => Clien
|
|
|
648
648
|
|
|
649
649
|
declare const denylist: readonly ["$connect", "$disconnect", "$on", "$transaction", "$use", "$extends"];
|
|
650
650
|
|
|
651
|
+
declare type DeserializedResponse = Array<Record<string, unknown>>;
|
|
652
|
+
|
|
651
653
|
export declare function deserializeJsonResponse(result: unknown): unknown;
|
|
652
654
|
|
|
655
|
+
export declare function deserializeRawResult(response: RawResponse): DeserializedResponse;
|
|
656
|
+
|
|
653
657
|
export declare type DevTypeMapDef = {
|
|
654
658
|
meta: {
|
|
655
659
|
modelProps: string;
|
|
@@ -2577,6 +2581,8 @@ declare type QueryEvent = {
|
|
|
2577
2581
|
|
|
2578
2582
|
declare type QueryEventType = 'query';
|
|
2579
2583
|
|
|
2584
|
+
declare 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';
|
|
2585
|
+
|
|
2580
2586
|
declare type QueryMiddleware = (params: QueryMiddlewareParams, next: (params: QueryMiddlewareParams) => Promise<unknown>) => Promise<unknown>;
|
|
2581
2587
|
|
|
2582
2588
|
declare type QueryMiddlewareParams = {
|
|
@@ -2620,6 +2626,12 @@ export declare type RawParameters = {
|
|
|
2620
2626
|
|
|
2621
2627
|
export declare type RawQueryArgs = Sql | UnknownTypedSql | [query: string, ...values: RawValue[]];
|
|
2622
2628
|
|
|
2629
|
+
declare type RawResponse = {
|
|
2630
|
+
columns: string[];
|
|
2631
|
+
types: QueryIntrospectionBuiltinType[];
|
|
2632
|
+
rows: unknown[][];
|
|
2633
|
+
};
|
|
2634
|
+
|
|
2623
2635
|
declare type RawTaggedValue = {
|
|
2624
2636
|
$type: 'Raw';
|
|
2625
2637
|
value: unknown;
|