prisma 6.6.0-integration-push-spwsqpvywlkl.8 → 6.6.0-integration-feat-introduce-schema-engine-wasm.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.
@@ -47,7 +47,6 @@ export declare type AllModelsToStringIndex<TypeMap extends TypeMapDef, Args exte
47
47
  } : {};
48
48
 
49
49
  declare class AnyNull extends NullTypesEnumValue {
50
- private readonly _brand_AnyNull;
51
50
  }
52
51
 
53
52
  export declare type ApplyOmit<T, OmitConfig> = Compute<{
@@ -220,10 +219,10 @@ declare type CompilerWasmLoadingConfig = {
220
219
  /**
221
220
  * WASM-bindgen runtime for corresponding module
222
221
  */
223
- getRuntime: () => Promise<{
222
+ getRuntime: () => {
224
223
  __wbg_set_wasm(exports: unknown): void;
225
224
  QueryCompiler: QueryCompilerConstructor;
226
- }>;
225
+ };
227
226
  /**
228
227
  * Loads the raw wasm module for the wasm compiler engine. This configuration is
229
228
  * generated specifically for each type of client, eg. Node.js client and Edge
@@ -384,7 +383,6 @@ declare type Datasources = {
384
383
  };
385
384
 
386
385
  declare class DbNull extends NullTypesEnumValue {
387
- private readonly _brand_DbNull;
388
386
  }
389
387
 
390
388
  export declare const Debug: typeof debugCreate & {
@@ -1010,6 +1008,7 @@ declare interface Engine<InteractiveTransactionPayload = unknown> {
1010
1008
  declare interface EngineConfig {
1011
1009
  cwd: string;
1012
1010
  dirname: string;
1011
+ datamodelPath: string;
1013
1012
  enableDebugLogs?: boolean;
1014
1013
  allowTriggerPanic?: boolean;
1015
1014
  prismaPath?: string;
@@ -1039,6 +1038,7 @@ declare interface EngineConfig {
1039
1038
  adapter?: SqlDriverAdapterFactory;
1040
1039
  /**
1041
1040
  * The contents of the schema encoded into a string
1041
+ * @remarks only used by DataProxyEngine.ts
1042
1042
  */
1043
1043
  inlineSchema: string;
1044
1044
  /**
@@ -1108,10 +1108,10 @@ declare type EngineWasmLoadingConfig = {
1108
1108
  /**
1109
1109
  * WASM-bindgen runtime for corresponding module
1110
1110
  */
1111
- getRuntime: () => Promise<{
1111
+ getRuntime: () => {
1112
1112
  __wbg_set_wasm(exports: unknown): void;
1113
1113
  QueryEngine: QueryEngineConstructor;
1114
- }>;
1114
+ };
1115
1115
  /**
1116
1116
  * Loads the raw wasm module for the wasm query engine. This configuration is
1117
1117
  * generated specifically for each type of client, eg. Node.js client and Edge
@@ -1630,15 +1630,16 @@ export declare function getPrismaClient(config: GetPrismaClientConfig): {
1630
1630
  * loaded, this same config is passed to {@link getPrismaClient} which creates a
1631
1631
  * closure with that config around a non-instantiated [[PrismaClient]].
1632
1632
  */
1633
- export declare type GetPrismaClientConfig = {
1633
+ declare type GetPrismaClientConfig = {
1634
1634
  runtimeDataModel: RuntimeDataModel;
1635
1635
  generator?: GeneratorConfig;
1636
- relativeEnvPaths?: {
1636
+ relativeEnvPaths: {
1637
1637
  rootEnvPath?: string | null;
1638
1638
  schemaEnvPath?: string | null;
1639
1639
  };
1640
1640
  relativePath: string;
1641
1641
  dirname: string;
1642
+ filename?: string;
1642
1643
  clientVersion: string;
1643
1644
  engineVersion: string;
1644
1645
  datasourceNames: string[];
@@ -1978,7 +1979,6 @@ declare type JsonFieldSelection = {
1978
1979
  };
1979
1980
 
1980
1981
  declare class JsonNull extends NullTypesEnumValue {
1981
- private readonly _brand_JsonNull;
1982
1982
  }
1983
1983
 
1984
1984
  /**