@prisma/client-common 6.20.0-integration-feat-prisma-7-config.4 → 6.20.0-integration-engines-6-20-0-1-integration-oidc-truster-publishers-e28d8c7807dc95db08a9a866250934b3aac2c89b.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/QueryEngine.d.ts +2 -0
- package/dist/client-config.d.ts +22 -0
- package/package.json +6 -6
package/dist/QueryEngine.d.ts
CHANGED
|
@@ -33,6 +33,8 @@ export type QueryEngineInstance = {
|
|
|
33
33
|
startTransaction(options: string, traceHeaders: string, requestId: string): Promise<string>;
|
|
34
34
|
commitTransaction(id: string, traceHeaders: string, requestId: string): Promise<string>;
|
|
35
35
|
rollbackTransaction(id: string, traceHeaders: string, requestId: string): Promise<string>;
|
|
36
|
+
metrics?(options: string): Promise<string>;
|
|
37
|
+
applyPendingMigrations?(): Promise<void>;
|
|
36
38
|
trace(requestId: string): Promise<string | null>;
|
|
37
39
|
};
|
|
38
40
|
export interface QueryEngineConstructor {
|
package/dist/client-config.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ActiveConnectorType, EnvValue, GeneratorConfig } from '@prisma/generator';
|
|
2
|
+
import { LoadedEnv } from '@prisma/internals';
|
|
2
3
|
import { CompilerWasmLoadingConfig } from './QueryCompiler';
|
|
3
4
|
import { EngineWasmLoadingConfig } from './QueryEngine';
|
|
4
5
|
import { RuntimeDataModel } from './runtimeDataModel';
|
|
@@ -10,6 +11,10 @@ import { RuntimeDataModel } from './runtimeDataModel';
|
|
|
10
11
|
export type GetPrismaClientConfig = {
|
|
11
12
|
runtimeDataModel: RuntimeDataModel;
|
|
12
13
|
generator?: GeneratorConfig;
|
|
14
|
+
relativeEnvPaths?: {
|
|
15
|
+
rootEnvPath?: string | null;
|
|
16
|
+
schemaEnvPath?: string | null;
|
|
17
|
+
};
|
|
13
18
|
relativePath: string;
|
|
14
19
|
dirname: string;
|
|
15
20
|
clientVersion: string;
|
|
@@ -21,6 +26,13 @@ export type GetPrismaClientConfig = {
|
|
|
21
26
|
* @remarks only used for the purpose of data proxy
|
|
22
27
|
*/
|
|
23
28
|
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;
|
|
24
36
|
/**
|
|
25
37
|
* The contents of the datasource url saved in a string.
|
|
26
38
|
* This can either be an env var name or connection string.
|
|
@@ -32,6 +44,11 @@ export type GetPrismaClientConfig = {
|
|
|
32
44
|
url: EnvValue;
|
|
33
45
|
};
|
|
34
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;
|
|
35
52
|
/**
|
|
36
53
|
* A marker to indicate that the client was not generated via `prisma
|
|
37
54
|
* generate` but was generated via `generate --postinstall` script instead.
|
|
@@ -52,6 +69,11 @@ export type GetPrismaClientConfig = {
|
|
|
52
69
|
* in the current working directory. This usually means it has been bundled.
|
|
53
70
|
*/
|
|
54
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;
|
|
55
77
|
/**
|
|
56
78
|
* Optional wasm loading configuration
|
|
57
79
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/client-common",
|
|
3
|
-
"version": "6.20.0-integration-
|
|
3
|
+
"version": "6.20.0-integration-engines-6-20-0-1-integration-oidc-truster-publishers-e28d8c7807dc95db08a9a866250934b3aac2c89b.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": "6.20.0-integration-
|
|
28
|
-
"@prisma/dmmf": "6.20.0-integration-
|
|
29
|
-
"@prisma/driver-adapter-utils": "6.20.0-integration-
|
|
30
|
-
"@prisma/generator": "6.20.0-integration-
|
|
31
|
-
"@prisma/internals": "6.20.0-integration-
|
|
27
|
+
"@prisma/client-engine-runtime": "6.20.0-integration-engines-6-20-0-1-integration-oidc-truster-publishers-e28d8c7807dc95db08a9a866250934b3aac2c89b.1",
|
|
28
|
+
"@prisma/dmmf": "6.20.0-integration-engines-6-20-0-1-integration-oidc-truster-publishers-e28d8c7807dc95db08a9a866250934b3aac2c89b.1",
|
|
29
|
+
"@prisma/driver-adapter-utils": "6.20.0-integration-engines-6-20-0-1-integration-oidc-truster-publishers-e28d8c7807dc95db08a9a866250934b3aac2c89b.1",
|
|
30
|
+
"@prisma/generator": "6.20.0-integration-engines-6-20-0-1-integration-oidc-truster-publishers-e28d8c7807dc95db08a9a866250934b3aac2c89b.1",
|
|
31
|
+
"@prisma/internals": "6.20.0-integration-engines-6-20-0-1-integration-oidc-truster-publishers-e28d8c7807dc95db08a9a866250934b3aac2c89b.1"
|
|
32
32
|
},
|
|
33
33
|
"files": [
|
|
34
34
|
"dist"
|