prisma 6.6.0-integration-feat-introduce-schema-engine-wasm.1 → 6.6.0-integration-push-spwsqpvywlkl.10

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,6 +47,7 @@ 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;
50
51
  }
51
52
 
52
53
  export declare type ApplyOmit<T, OmitConfig> = Compute<{
@@ -219,10 +220,10 @@ declare type CompilerWasmLoadingConfig = {
219
220
  /**
220
221
  * WASM-bindgen runtime for corresponding module
221
222
  */
222
- getRuntime: () => {
223
+ getRuntime: () => Promise<{
223
224
  __wbg_set_wasm(exports: unknown): void;
224
225
  QueryCompiler: QueryCompilerConstructor;
225
- };
226
+ }>;
226
227
  /**
227
228
  * Loads the raw wasm module for the wasm compiler engine. This configuration is
228
229
  * generated specifically for each type of client, eg. Node.js client and Edge
@@ -383,6 +384,7 @@ declare type Datasources = {
383
384
  };
384
385
 
385
386
  declare class DbNull extends NullTypesEnumValue {
387
+ private readonly _brand_DbNull;
386
388
  }
387
389
 
388
390
  export declare const Debug: typeof debugCreate & {
@@ -1008,7 +1010,6 @@ declare interface Engine<InteractiveTransactionPayload = unknown> {
1008
1010
  declare interface EngineConfig {
1009
1011
  cwd: string;
1010
1012
  dirname: string;
1011
- datamodelPath: string;
1012
1013
  enableDebugLogs?: boolean;
1013
1014
  allowTriggerPanic?: boolean;
1014
1015
  prismaPath?: string;
@@ -1038,7 +1039,6 @@ declare interface EngineConfig {
1038
1039
  adapter?: SqlDriverAdapterFactory;
1039
1040
  /**
1040
1041
  * 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: () => {
1111
+ getRuntime: () => Promise<{
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,16 +1630,15 @@ 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
- declare type GetPrismaClientConfig = {
1633
+ export 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;
1643
1642
  clientVersion: string;
1644
1643
  engineVersion: string;
1645
1644
  datasourceNames: string[];
@@ -1979,6 +1978,7 @@ declare type JsonFieldSelection = {
1979
1978
  };
1980
1979
 
1981
1980
  declare class JsonNull extends NullTypesEnumValue {
1981
+ private readonly _brand_JsonNull;
1982
1982
  }
1983
1983
 
1984
1984
  /**