prisma 5.20.0-dev.11 → 5.20.0-dev.12

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.
@@ -115,6 +115,12 @@ declare type BatchTransactionOptions = {
115
115
  isolationLevel?: Transaction_2.IsolationLevel;
116
116
  };
117
117
 
118
+ declare type BinaryTargetFileMap = {
119
+ [binaryTarget: string]: () => string;
120
+ };
121
+
122
+ declare type BinaryTargetFileMapLoad = () => Promise<BinaryTargetFileMap>;
123
+
118
124
  declare interface BinaryTargetsEnvValue {
119
125
  fromEnvVar: string | null;
120
126
  value: string;
@@ -1101,6 +1107,10 @@ declare interface EngineConfig {
1101
1107
  * Web Assembly module loading configuration
1102
1108
  */
1103
1109
  engineWasm?: WasmLoadingConfig;
1110
+ /**
1111
+ * Loads the mapping from binary targets to a file path
1112
+ */
1113
+ loadNativeEnginesMap: BinaryTargetFileMapLoad;
1104
1114
  /**
1105
1115
  * Allows Accelerate to use runtime utilities from the client. These are
1106
1116
  * necessary for the AccelerateEngine to function correctly.
@@ -1654,6 +1664,10 @@ declare type GetPrismaClientConfig = {
1654
1664
  * Optional wasm loading configuration
1655
1665
  */
1656
1666
  engineWasm?: WasmLoadingConfig;
1667
+ /**
1668
+ * Loader for mapping between binary target and file on disk
1669
+ */
1670
+ loadBinaryTargetFileMap: BinaryTargetFileMapLoad;
1657
1671
  };
1658
1672
 
1659
1673
  export declare type GetResult<Payload extends OperationPayload, Args, OperationName extends Operation = 'findUniqueOrThrow', ClientOptions = {}> = {