@prisma/driver-adapter-utils 6.10.0-dev.1 → 6.10.0-dev.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.
- package/dist/index.d.mts +21 -3
- package/dist/index.d.ts +21 -3
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -62,6 +62,7 @@ export declare const ColumnTypeEnum: {
|
|
|
62
62
|
export declare type ConnectionInfo = {
|
|
63
63
|
schemaName?: string;
|
|
64
64
|
maxBindValues?: number;
|
|
65
|
+
supportsRelationJoins: boolean;
|
|
65
66
|
};
|
|
66
67
|
|
|
67
68
|
export { Debug }
|
|
@@ -99,10 +100,22 @@ declare type Error_2 = {
|
|
|
99
100
|
column?: string;
|
|
100
101
|
} | {
|
|
101
102
|
kind: 'UniqueConstraintViolation';
|
|
102
|
-
|
|
103
|
+
constraint?: {
|
|
104
|
+
fields: string[];
|
|
105
|
+
} | {
|
|
106
|
+
index: string;
|
|
107
|
+
} | {
|
|
108
|
+
foreignKey: {};
|
|
109
|
+
};
|
|
103
110
|
} | {
|
|
104
111
|
kind: 'NullConstraintViolation';
|
|
105
|
-
|
|
112
|
+
constraint?: {
|
|
113
|
+
fields: string[];
|
|
114
|
+
} | {
|
|
115
|
+
index: string;
|
|
116
|
+
} | {
|
|
117
|
+
foreignKey: {};
|
|
118
|
+
};
|
|
106
119
|
} | {
|
|
107
120
|
kind: 'ForeignKeyConstraintViolation';
|
|
108
121
|
constraint?: {
|
|
@@ -135,6 +148,11 @@ declare type Error_2 = {
|
|
|
135
148
|
} | {
|
|
136
149
|
kind: 'TooManyConnections';
|
|
137
150
|
cause: string;
|
|
151
|
+
} | {
|
|
152
|
+
kind: 'ValueOutOfRange';
|
|
153
|
+
cause: string;
|
|
154
|
+
} | {
|
|
155
|
+
kind: 'MissingFullTextSearchIndex';
|
|
138
156
|
} | {
|
|
139
157
|
kind: 'SocketTimeout';
|
|
140
158
|
} | {
|
|
@@ -225,7 +243,7 @@ export declare function mockMigrationAwareAdapterFactory(provider: 'mysql' | 'sq
|
|
|
225
243
|
|
|
226
244
|
export declare type OfficialDriverAdapterName = (typeof officialPrismaAdapters)[number];
|
|
227
245
|
|
|
228
|
-
declare const officialPrismaAdapters: readonly ["@prisma/adapter-planetscale", "@prisma/adapter-neon", "@prisma/adapter-libsql", "@prisma/adapter-d1", "@prisma/adapter-pg"
|
|
246
|
+
declare const officialPrismaAdapters: readonly ["@prisma/adapter-planetscale", "@prisma/adapter-neon", "@prisma/adapter-libsql", "@prisma/adapter-d1", "@prisma/adapter-pg"];
|
|
229
247
|
|
|
230
248
|
export declare function ok<T>(value: T): Result<T>;
|
|
231
249
|
|
package/dist/index.d.ts
CHANGED
|
@@ -62,6 +62,7 @@ export declare const ColumnTypeEnum: {
|
|
|
62
62
|
export declare type ConnectionInfo = {
|
|
63
63
|
schemaName?: string;
|
|
64
64
|
maxBindValues?: number;
|
|
65
|
+
supportsRelationJoins: boolean;
|
|
65
66
|
};
|
|
66
67
|
|
|
67
68
|
export { Debug }
|
|
@@ -99,10 +100,22 @@ declare type Error_2 = {
|
|
|
99
100
|
column?: string;
|
|
100
101
|
} | {
|
|
101
102
|
kind: 'UniqueConstraintViolation';
|
|
102
|
-
|
|
103
|
+
constraint?: {
|
|
104
|
+
fields: string[];
|
|
105
|
+
} | {
|
|
106
|
+
index: string;
|
|
107
|
+
} | {
|
|
108
|
+
foreignKey: {};
|
|
109
|
+
};
|
|
103
110
|
} | {
|
|
104
111
|
kind: 'NullConstraintViolation';
|
|
105
|
-
|
|
112
|
+
constraint?: {
|
|
113
|
+
fields: string[];
|
|
114
|
+
} | {
|
|
115
|
+
index: string;
|
|
116
|
+
} | {
|
|
117
|
+
foreignKey: {};
|
|
118
|
+
};
|
|
106
119
|
} | {
|
|
107
120
|
kind: 'ForeignKeyConstraintViolation';
|
|
108
121
|
constraint?: {
|
|
@@ -135,6 +148,11 @@ declare type Error_2 = {
|
|
|
135
148
|
} | {
|
|
136
149
|
kind: 'TooManyConnections';
|
|
137
150
|
cause: string;
|
|
151
|
+
} | {
|
|
152
|
+
kind: 'ValueOutOfRange';
|
|
153
|
+
cause: string;
|
|
154
|
+
} | {
|
|
155
|
+
kind: 'MissingFullTextSearchIndex';
|
|
138
156
|
} | {
|
|
139
157
|
kind: 'SocketTimeout';
|
|
140
158
|
} | {
|
|
@@ -225,7 +243,7 @@ export declare function mockMigrationAwareAdapterFactory(provider: 'mysql' | 'sq
|
|
|
225
243
|
|
|
226
244
|
export declare type OfficialDriverAdapterName = (typeof officialPrismaAdapters)[number];
|
|
227
245
|
|
|
228
|
-
declare const officialPrismaAdapters: readonly ["@prisma/adapter-planetscale", "@prisma/adapter-neon", "@prisma/adapter-libsql", "@prisma/adapter-d1", "@prisma/adapter-pg"
|
|
246
|
+
declare const officialPrismaAdapters: readonly ["@prisma/adapter-planetscale", "@prisma/adapter-neon", "@prisma/adapter-libsql", "@prisma/adapter-d1", "@prisma/adapter-pg"];
|
|
229
247
|
|
|
230
248
|
export declare function ok<T>(value: T): Result<T>;
|
|
231
249
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/driver-adapter-utils",
|
|
3
|
-
"version": "6.10.0-dev.
|
|
3
|
+
"version": "6.10.0-dev.10",
|
|
4
4
|
"description": "Internal set of utilities and types for Prisma's driver adapters.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"license": "Apache-2.0",
|
|
32
32
|
"sideEffects": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@prisma/debug": "6.10.0-dev.
|
|
34
|
+
"@prisma/debug": "6.10.0-dev.10"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"dev": "DEV=true tsx helpers/build.ts",
|