@prisma/client-common 7.3.0-integration-prisma6-fix-cloudflare-engine.3 → 7.3.0-integration-engines-7-3-0-10-fix-fix-mapped-enum-issue-0b7e6564db7dc3dac7f9312aa84e9ed81d805521.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.
- package/dist/QueryCompiler.d.ts +1 -0
- package/dist/QueryEngine.d.ts +0 -19
- package/dist/client-config.d.ts +2 -61
- package/package.json +6 -6
package/dist/QueryCompiler.d.ts
CHANGED
package/dist/QueryEngine.d.ts
CHANGED
|
@@ -1,21 +1,4 @@
|
|
|
1
1
|
import { ErrorCapturingSqlDriverAdapter } from '@prisma/driver-adapter-utils';
|
|
2
|
-
export type EngineWasmLoadingConfig = {
|
|
3
|
-
/**
|
|
4
|
-
* WASM-bindgen runtime for corresponding module
|
|
5
|
-
*/
|
|
6
|
-
getRuntime: () => Promise<{
|
|
7
|
-
__wbg_set_wasm(exports: unknown): void;
|
|
8
|
-
QueryEngine: QueryEngineConstructor;
|
|
9
|
-
}>;
|
|
10
|
-
/**
|
|
11
|
-
* Loads the raw wasm module for the wasm query engine. This configuration is
|
|
12
|
-
* generated specifically for each type of client, eg. Node.js client and Edge
|
|
13
|
-
* clients will have different implementations.
|
|
14
|
-
* @remarks this is a callback on purpose, we only load the wasm if needed.
|
|
15
|
-
* @remarks only used by LibraryEngine
|
|
16
|
-
*/
|
|
17
|
-
getQueryEngineWasmModule: () => Promise<unknown>;
|
|
18
|
-
};
|
|
19
2
|
export type QueryEngineInstance = {
|
|
20
3
|
connect(headers: string, requestId: string): Promise<void>;
|
|
21
4
|
disconnect(headers: string, requestId: string): Promise<void>;
|
|
@@ -33,8 +16,6 @@ export type QueryEngineInstance = {
|
|
|
33
16
|
startTransaction(options: string, traceHeaders: string, requestId: string): Promise<string>;
|
|
34
17
|
commitTransaction(id: string, traceHeaders: string, requestId: string): Promise<string>;
|
|
35
18
|
rollbackTransaction(id: string, traceHeaders: string, requestId: string): Promise<string>;
|
|
36
|
-
metrics?(options: string): Promise<string>;
|
|
37
|
-
applyPendingMigrations?(): Promise<void>;
|
|
38
19
|
trace(requestId: string): Promise<string | null>;
|
|
39
20
|
};
|
|
40
21
|
export interface QueryEngineConstructor {
|
package/dist/client-config.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { ActiveConnectorType
|
|
2
|
-
import { LoadedEnv } from '@prisma/internals';
|
|
1
|
+
import { ActiveConnectorType } from '@prisma/generator';
|
|
3
2
|
import { CompilerWasmLoadingConfig } from './QueryCompiler';
|
|
4
|
-
import { EngineWasmLoadingConfig } from './QueryEngine';
|
|
5
3
|
import { RuntimeDataModel } from './runtimeDataModel';
|
|
6
4
|
/**
|
|
7
5
|
* Config that is stored into the generated client. When the generated client is
|
|
@@ -10,73 +8,16 @@ import { RuntimeDataModel } from './runtimeDataModel';
|
|
|
10
8
|
*/
|
|
11
9
|
export type GetPrismaClientConfig = {
|
|
12
10
|
runtimeDataModel: RuntimeDataModel;
|
|
13
|
-
|
|
14
|
-
relativeEnvPaths?: {
|
|
15
|
-
rootEnvPath?: string | null;
|
|
16
|
-
schemaEnvPath?: string | null;
|
|
17
|
-
};
|
|
18
|
-
relativePath: string;
|
|
19
|
-
dirname: string;
|
|
11
|
+
previewFeatures: string[];
|
|
20
12
|
clientVersion: string;
|
|
21
13
|
engineVersion: string;
|
|
22
|
-
datasourceNames: string[];
|
|
23
14
|
activeProvider: ActiveConnectorType;
|
|
24
15
|
/**
|
|
25
16
|
* The contents of the schema encoded into a string
|
|
26
|
-
* @remarks only used for the purpose of data proxy
|
|
27
17
|
*/
|
|
28
18
|
inlineSchema: string;
|
|
29
|
-
/**
|
|
30
|
-
* A special env object just for the data proxy edge runtime.
|
|
31
|
-
* Allows bundlers to inject their own env variables (Vercel).
|
|
32
|
-
* Allows platforms to declare global variables as env (Workers).
|
|
33
|
-
* @remarks only used for the purpose of data proxy
|
|
34
|
-
*/
|
|
35
|
-
injectableEdgeEnv?: () => LoadedEnv;
|
|
36
|
-
/**
|
|
37
|
-
* The contents of the datasource url saved in a string.
|
|
38
|
-
* This can either be an env var name or connection string.
|
|
39
|
-
* It is needed by the client to connect to the Data Proxy.
|
|
40
|
-
* @remarks only used for the purpose of data proxy
|
|
41
|
-
*/
|
|
42
|
-
inlineDatasources: {
|
|
43
|
-
[name in string]: {
|
|
44
|
-
url: EnvValue;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
/**
|
|
48
|
-
* The string hash that was produced for a given schema
|
|
49
|
-
* @remarks only used for the purpose of data proxy
|
|
50
|
-
*/
|
|
51
|
-
inlineSchemaHash: string;
|
|
52
|
-
/**
|
|
53
|
-
* A marker to indicate that the client was not generated via `prisma
|
|
54
|
-
* generate` but was generated via `generate --postinstall` script instead.
|
|
55
|
-
* @remarks used to error for Vercel/Netlify for schema caching issues
|
|
56
|
-
*/
|
|
57
|
-
postinstall?: boolean;
|
|
58
|
-
/**
|
|
59
|
-
* Information about the CI where the Prisma Client has been generated. The
|
|
60
|
-
* name of the CI environment is stored at generation time because CI
|
|
61
|
-
* information is not always available at runtime. Moreover, the edge client
|
|
62
|
-
* has no notion of environment variables, so this works around that.
|
|
63
|
-
* @remarks used to error for Vercel/Netlify for schema caching issues
|
|
64
|
-
*/
|
|
65
|
-
ciName?: string;
|
|
66
|
-
/**
|
|
67
|
-
* Information about whether we have not found a schema.prisma file in the
|
|
68
|
-
* default location, and that we fell back to finding the schema.prisma file
|
|
69
|
-
* in the current working directory. This usually means it has been bundled.
|
|
70
|
-
*/
|
|
71
|
-
isBundled?: boolean;
|
|
72
|
-
/**
|
|
73
|
-
* A boolean that is `false` when the client was generated with --no-engine. At
|
|
74
|
-
* runtime, this means the client will be bound to be using the Data Proxy.
|
|
75
|
-
*/
|
|
76
|
-
copyEngine?: boolean;
|
|
77
19
|
/**
|
|
78
20
|
* Optional wasm loading configuration
|
|
79
21
|
*/
|
|
80
|
-
engineWasm?: EngineWasmLoadingConfig;
|
|
81
22
|
compilerWasm?: CompilerWasmLoadingConfig;
|
|
82
23
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/client-common",
|
|
3
|
-
"version": "7.3.0-integration-
|
|
3
|
+
"version": "7.3.0-integration-engines-7-3-0-10-fix-fix-mapped-enum-issue-0b7e6564db7dc3dac7f9312aa84e9ed81d805521.1",
|
|
4
4
|
"description": "This package is intended for Prisma's internal use",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
},
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@prisma/client-engine-runtime": "7.3.0-integration-
|
|
28
|
-
"@prisma/
|
|
29
|
-
"@prisma/
|
|
30
|
-
"@prisma/
|
|
31
|
-
"@prisma/
|
|
27
|
+
"@prisma/client-engine-runtime": "7.3.0-integration-engines-7-3-0-10-fix-fix-mapped-enum-issue-0b7e6564db7dc3dac7f9312aa84e9ed81d805521.1",
|
|
28
|
+
"@prisma/dmmf": "7.3.0-integration-engines-7-3-0-10-fix-fix-mapped-enum-issue-0b7e6564db7dc3dac7f9312aa84e9ed81d805521.1",
|
|
29
|
+
"@prisma/generator": "7.3.0-integration-engines-7-3-0-10-fix-fix-mapped-enum-issue-0b7e6564db7dc3dac7f9312aa84e9ed81d805521.1",
|
|
30
|
+
"@prisma/internals": "7.3.0-integration-engines-7-3-0-10-fix-fix-mapped-enum-issue-0b7e6564db7dc3dac7f9312aa84e9ed81d805521.1",
|
|
31
|
+
"@prisma/driver-adapter-utils": "7.3.0-integration-engines-7-3-0-10-fix-fix-mapped-enum-issue-0b7e6564db7dc3dac7f9312aa84e9ed81d805521.1"
|
|
32
32
|
},
|
|
33
33
|
"files": [
|
|
34
34
|
"dist"
|