@prisma/driver-adapter-utils 6.7.0-dev.3 → 6.7.0-integration-push-sunrovnkrkpv.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/index.d.mts CHANGED
@@ -94,49 +94,6 @@ declare type Error_2 = {
94
94
  } | {
95
95
  kind: 'InvalidIsolationLevel';
96
96
  level: string;
97
- } | {
98
- kind: 'LengthMismatch';
99
- column?: string;
100
- } | {
101
- kind: 'UniqueConstraintViolation';
102
- fields: string[];
103
- } | {
104
- kind: 'NullConstraintViolation';
105
- fields: string[];
106
- } | {
107
- kind: 'ForeignKeyConstraintViolation';
108
- constraint?: {
109
- fields: string[];
110
- } | {
111
- index: string;
112
- } | {
113
- foreignKey: {};
114
- };
115
- } | {
116
- kind: 'DatabaseDoesNotExist';
117
- db?: string;
118
- } | {
119
- kind: 'DatabaseAlreadyExists';
120
- db?: string;
121
- } | {
122
- kind: 'DatabaseAccessDenied';
123
- db?: string;
124
- } | {
125
- kind: 'AuthenticationFailed';
126
- user?: string;
127
- } | {
128
- kind: 'TransactionWriteConflict';
129
- } | {
130
- kind: 'TableDoesNotExist';
131
- table?: string;
132
- } | {
133
- kind: 'ColumnNotFound';
134
- column?: string;
135
- } | {
136
- kind: 'TooManyConnections';
137
- cause: string;
138
- } | {
139
- kind: 'SocketTimeout';
140
97
  } | {
141
98
  kind: 'postgres';
142
99
  code: string;
@@ -196,8 +153,6 @@ declare class ErrorRegistryInternal implements ErrorRegistry {
196
153
  registerNewError(error: unknown): number;
197
154
  }
198
155
 
199
- export declare function isDriverAdapterError(error: {}): error is DriverAdapterError;
200
-
201
156
  export declare type IsolationLevel = 'READ UNCOMMITTED' | 'READ COMMITTED' | 'REPEATABLE READ' | 'SNAPSHOT' | 'SERIALIZABLE';
202
157
 
203
158
  /**
package/dist/index.d.ts CHANGED
@@ -94,49 +94,6 @@ declare type Error_2 = {
94
94
  } | {
95
95
  kind: 'InvalidIsolationLevel';
96
96
  level: string;
97
- } | {
98
- kind: 'LengthMismatch';
99
- column?: string;
100
- } | {
101
- kind: 'UniqueConstraintViolation';
102
- fields: string[];
103
- } | {
104
- kind: 'NullConstraintViolation';
105
- fields: string[];
106
- } | {
107
- kind: 'ForeignKeyConstraintViolation';
108
- constraint?: {
109
- fields: string[];
110
- } | {
111
- index: string;
112
- } | {
113
- foreignKey: {};
114
- };
115
- } | {
116
- kind: 'DatabaseDoesNotExist';
117
- db?: string;
118
- } | {
119
- kind: 'DatabaseAlreadyExists';
120
- db?: string;
121
- } | {
122
- kind: 'DatabaseAccessDenied';
123
- db?: string;
124
- } | {
125
- kind: 'AuthenticationFailed';
126
- user?: string;
127
- } | {
128
- kind: 'TransactionWriteConflict';
129
- } | {
130
- kind: 'TableDoesNotExist';
131
- table?: string;
132
- } | {
133
- kind: 'ColumnNotFound';
134
- column?: string;
135
- } | {
136
- kind: 'TooManyConnections';
137
- cause: string;
138
- } | {
139
- kind: 'SocketTimeout';
140
97
  } | {
141
98
  kind: 'postgres';
142
99
  code: string;
@@ -196,8 +153,6 @@ declare class ErrorRegistryInternal implements ErrorRegistry {
196
153
  registerNewError(error: unknown): number;
197
154
  }
198
155
 
199
- export declare function isDriverAdapterError(error: {}): error is DriverAdapterError;
200
-
201
156
  export declare type IsolationLevel = 'READ UNCOMMITTED' | 'READ COMMITTED' | 'REPEATABLE READ' | 'SNAPSHOT' | 'SERIALIZABLE';
202
157
 
203
158
  /**
package/dist/index.js CHANGED
@@ -27,7 +27,6 @@ __export(index_exports, {
27
27
  bindMigrationAwareSqlAdapterFactory: () => bindMigrationAwareSqlAdapterFactory,
28
28
  bindSqlAdapterFactory: () => bindSqlAdapterFactory,
29
29
  err: () => err,
30
- isDriverAdapterError: () => isDriverAdapterError,
31
30
  mockAdapter: () => mockAdapter,
32
31
  mockAdapterErrors: () => mockAdapterErrors,
33
32
  mockAdapterFactory: () => mockAdapterFactory,
@@ -265,7 +264,6 @@ function mockMigrationAwareAdapterFactory(provider) {
265
264
  bindMigrationAwareSqlAdapterFactory,
266
265
  bindSqlAdapterFactory,
267
266
  err,
268
- isDriverAdapterError,
269
267
  mockAdapter,
270
268
  mockAdapterErrors,
271
269
  mockAdapterFactory,
package/dist/index.mjs CHANGED
@@ -226,7 +226,6 @@ export {
226
226
  bindMigrationAwareSqlAdapterFactory,
227
227
  bindSqlAdapterFactory,
228
228
  err,
229
- isDriverAdapterError,
230
229
  mockAdapter,
231
230
  mockAdapterErrors,
232
231
  mockAdapterFactory,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/driver-adapter-utils",
3
- "version": "6.7.0-dev.3",
3
+ "version": "6.7.0-integration-push-sunrovnkrkpv.1",
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.7.0-dev.3"
34
+ "@prisma/debug": "6.7.0-integration-push-sunrovnkrkpv.1"
35
35
  },
36
36
  "scripts": {
37
37
  "dev": "DEV=true tsx helpers/build.ts",