prisma 5.21.0-dev.1 → 5.21.0-dev.2
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 +64 -64
- package/prisma-client/runtime/edge-esm.js +15 -15
- package/prisma-client/runtime/edge.js +15 -15
- package/prisma-client/runtime/library.d.ts +6 -25
- package/prisma-client/runtime/library.js +42 -42
- package/prisma-client/runtime/react-native.d.ts +6 -25
- package/prisma-client/runtime/react-native.js +24 -24
- package/prisma-client/scripts/default-index.js +1 -1
|
@@ -121,13 +121,6 @@ declare interface BinaryTargetsEnvValue {
|
|
|
121
121
|
native?: boolean;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
declare interface BoundDriverAdapter extends Queryable, WithTransaction {
|
|
125
|
-
/**
|
|
126
|
-
* Optional method that returns extra connection info
|
|
127
|
-
*/
|
|
128
|
-
getConnectionInfo?(): Result_4<ConnectionInfo>;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
124
|
export declare type Call<F extends Fn, P> = (F & {
|
|
132
125
|
params: P;
|
|
133
126
|
})['returns'];
|
|
@@ -875,7 +868,11 @@ export declare namespace DMMF {
|
|
|
875
868
|
}
|
|
876
869
|
}
|
|
877
870
|
|
|
878
|
-
export declare interface DriverAdapter extends Queryable
|
|
871
|
+
export declare interface DriverAdapter extends Queryable {
|
|
872
|
+
/**
|
|
873
|
+
* Starts new transaction.
|
|
874
|
+
*/
|
|
875
|
+
transactionContext(): Promise<Result_4<TransactionContext>>;
|
|
879
876
|
/**
|
|
880
877
|
* Optional method that returns extra connection info
|
|
881
878
|
*/
|
|
@@ -1187,7 +1184,7 @@ declare type Error_2 = {
|
|
|
1187
1184
|
message: string;
|
|
1188
1185
|
};
|
|
1189
1186
|
|
|
1190
|
-
declare interface ErrorCapturingDriverAdapter extends
|
|
1187
|
+
declare interface ErrorCapturingDriverAdapter extends DriverAdapter {
|
|
1191
1188
|
readonly errorRegistry: ErrorRegistry;
|
|
1192
1189
|
}
|
|
1193
1190
|
|
|
@@ -3378,20 +3375,4 @@ declare type WasmLoadingConfig = {
|
|
|
3378
3375
|
getQueryEngineWasmModule: () => Promise<unknown>;
|
|
3379
3376
|
};
|
|
3380
3377
|
|
|
3381
|
-
declare interface WithTransaction extends Queryable {
|
|
3382
|
-
/**
|
|
3383
|
-
* Starts new transaction.
|
|
3384
|
-
* If `startTransaction` is not defined, `transactionContext` must be defined.
|
|
3385
|
-
*/
|
|
3386
|
-
transactionContext?(): Promise<Result_4<TransactionContext>>;
|
|
3387
|
-
}
|
|
3388
|
-
|
|
3389
|
-
declare interface WithTransactionDeprecated extends Queryable {
|
|
3390
|
-
/**
|
|
3391
|
-
* Starts new transaction.
|
|
3392
|
-
* @deprecated Use `transactionContext` instead.
|
|
3393
|
-
*/
|
|
3394
|
-
startTransaction?(): Promise<Result_4<Transaction>>;
|
|
3395
|
-
}
|
|
3396
|
-
|
|
3397
3378
|
export { }
|