@prisma/client 6.1.0-dev.6 → 6.1.0-integration-expose-deserialize-raw-result.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/generator-build/index.js +9 -9
- package/package.json +19 -19
- package/runtime/binary.js +61 -61
- package/runtime/edge-esm.js +13 -13
- package/runtime/edge.js +13 -13
- package/runtime/library.d.ts +12 -0
- package/runtime/library.js +40 -40
- package/runtime/query_engine_bg.mysql.wasm +0 -0
- package/runtime/query_engine_bg.postgresql.wasm +0 -0
- package/runtime/query_engine_bg.sqlite.wasm +0 -0
- package/runtime/react-native.d.ts +12 -0
- package/runtime/react-native.js +22 -22
- package/runtime/wasm.js +13 -13
- package/scripts/default-index.js +3 -3
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -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;
|
|
@@ -2588,6 +2592,8 @@ declare type QueryEvent = {
|
|
|
2588
2592
|
|
|
2589
2593
|
declare type QueryEventType = 'query';
|
|
2590
2594
|
|
|
2595
|
+
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';
|
|
2596
|
+
|
|
2591
2597
|
declare type QueryMiddleware = (params: QueryMiddlewareParams, next: (params: QueryMiddlewareParams) => Promise<unknown>) => Promise<unknown>;
|
|
2592
2598
|
|
|
2593
2599
|
declare type QueryMiddlewareParams = {
|
|
@@ -2631,6 +2637,12 @@ export declare type RawParameters = {
|
|
|
2631
2637
|
|
|
2632
2638
|
export declare type RawQueryArgs = Sql | UnknownTypedSql | [query: string, ...values: RawValue[]];
|
|
2633
2639
|
|
|
2640
|
+
declare type RawResponse = {
|
|
2641
|
+
columns: string[];
|
|
2642
|
+
types: QueryIntrospectionBuiltinType[];
|
|
2643
|
+
rows: unknown[][];
|
|
2644
|
+
};
|
|
2645
|
+
|
|
2634
2646
|
declare type RawTaggedValue = {
|
|
2635
2647
|
$type: 'Raw';
|
|
2636
2648
|
value: unknown;
|