prisma 6.4.0-dev.49 → 6.4.0-dev.50

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.
@@ -1474,7 +1474,7 @@ export declare type GetAggregateResult<P extends OperationPayload, A> = {
1474
1474
  };
1475
1475
  };
1476
1476
 
1477
- declare function getBatchRequestPayload(batch: JsonQuery[], transaction?: TransactionOptions_2<unknown>): QueryEngineBatchRequest;
1477
+ declare function getBatchRequestPayload(batch: JsonQuery[], transaction?: TransactionOptions_3<unknown>): QueryEngineBatchRequest;
1478
1478
 
1479
1479
  export declare type GetBatchResult = {
1480
1480
  count: number;
@@ -1637,7 +1637,7 @@ export declare function getPrismaClient(config: GetPrismaClientConfig): {
1637
1637
  */
1638
1638
  _transactionWithCallback({ callback, options, }: {
1639
1639
  callback: (client: Client) => Promise<unknown>;
1640
- options?: Options;
1640
+ options?: TransactionOptions_2;
1641
1641
  }): Promise<unknown>;
1642
1642
  _createItxClient(transaction: PrismaPromiseInteractiveTransaction): Client;
1643
1643
  /**
@@ -1925,7 +1925,7 @@ declare type InternalRequestParams = {
1925
1925
  customDataProxyFetch?: CustomDataProxyFetch;
1926
1926
  } & Omit<QueryMiddlewareParams, 'runInTransaction'>;
1927
1927
 
1928
- declare enum IsolationLevel {
1928
+ declare const enum IsolationLevel {
1929
1929
  ReadUncommitted = "ReadUncommitted",
1930
1930
  ReadCommitted = "ReadCommitted",
1931
1931
  RepeatableRead = "RepeatableRead",
@@ -2325,12 +2325,6 @@ export declare type OptionalKeys<O> = {
2325
2325
  }[keyof O];
2326
2326
 
2327
2327
  declare type Options = {
2328
- maxWait?: number;
2329
- timeout?: number;
2330
- isolationLevel?: IsolationLevel;
2331
- };
2332
-
2333
- declare type Options_2 = {
2334
2328
  clientVersion: string;
2335
2329
  };
2336
2330
 
@@ -2462,7 +2456,7 @@ export declare class PrismaClientUnknownRequestError extends Error implements Er
2462
2456
  export declare class PrismaClientValidationError extends Error {
2463
2457
  name: string;
2464
2458
  clientVersion: string;
2465
- constructor(message: string, { clientVersion }: Options_2);
2459
+ constructor(message: string, { clientVersion }: Options);
2466
2460
  get [Symbol.toStringTag](): string;
2467
2461
  }
2468
2462
 
@@ -2743,7 +2737,7 @@ export declare type RenameAndNestPayloadKeys<P> = {
2743
2737
  };
2744
2738
 
2745
2739
  declare type RequestBatchOptions<InteractiveTransactionPayload> = {
2746
- transaction?: TransactionOptions_2<InteractiveTransactionPayload>;
2740
+ transaction?: TransactionOptions_3<InteractiveTransactionPayload>;
2747
2741
  traceparent?: string;
2748
2742
  numTry?: number;
2749
2743
  containsWrite: boolean;
@@ -3313,7 +3307,7 @@ declare interface Transaction extends Queryable {
3313
3307
  declare namespace Transaction_2 {
3314
3308
  export {
3315
3309
  IsolationLevel,
3316
- Options,
3310
+ TransactionOptions_2 as Options,
3317
3311
  InteractiveTransactionInfo,
3318
3312
  TransactionHeaders
3319
3313
  }
@@ -3334,7 +3328,13 @@ declare type TransactionOptions = {
3334
3328
  usePhantomQuery: boolean;
3335
3329
  };
3336
3330
 
3337
- declare type TransactionOptions_2<InteractiveTransactionPayload> = {
3331
+ declare type TransactionOptions_2 = {
3332
+ maxWait?: number;
3333
+ timeout?: number;
3334
+ isolationLevel?: IsolationLevel;
3335
+ };
3336
+
3337
+ declare type TransactionOptions_3<InteractiveTransactionPayload> = {
3338
3338
  kind: 'itx';
3339
3339
  options: InteractiveTransactionOptions<InteractiveTransactionPayload>;
3340
3340
  } | {