@prisma/driver-adapter-utils 6.10.0-dev.19 → 6.10.0-dev.20

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
@@ -155,6 +155,12 @@ declare type Error_2 = {
155
155
  kind: 'MissingFullTextSearchIndex';
156
156
  } | {
157
157
  kind: 'SocketTimeout';
158
+ } | {
159
+ kind: 'InconsistentColumnData';
160
+ cause: string;
161
+ } | {
162
+ kind: 'TransactionAlreadyClosed';
163
+ cause: string;
158
164
  } | {
159
165
  kind: 'postgres';
160
166
  code: string;
@@ -175,6 +181,10 @@ declare type Error_2 = {
175
181
  */
176
182
  extendedCode: number;
177
183
  message: string;
184
+ } | {
185
+ kind: 'mssql';
186
+ code: number;
187
+ message: string;
178
188
  };
179
189
  export { Error_2 as Error }
180
190
 
@@ -243,11 +253,11 @@ export declare function mockMigrationAwareAdapterFactory(provider: 'mysql' | 'sq
243
253
 
244
254
  export declare type OfficialDriverAdapterName = (typeof officialPrismaAdapters)[number];
245
255
 
246
- declare const officialPrismaAdapters: readonly ["@prisma/adapter-planetscale", "@prisma/adapter-neon", "@prisma/adapter-libsql", "@prisma/adapter-d1", "@prisma/adapter-pg"];
256
+ declare const officialPrismaAdapters: readonly ["@prisma/adapter-planetscale", "@prisma/adapter-neon", "@prisma/adapter-libsql", "@prisma/adapter-d1", "@prisma/adapter-pg", "@prisma/adapter-mssql"];
247
257
 
248
258
  export declare function ok<T>(value: T): Result<T>;
249
259
 
250
- export declare type Provider = 'mysql' | 'postgres' | 'sqlite';
260
+ export declare type Provider = 'mysql' | 'postgres' | 'sqlite' | 'sqlserver';
251
261
 
252
262
  export declare interface Queryable<Query, Result> extends AdapterInfo {
253
263
  /**
package/dist/index.d.ts CHANGED
@@ -155,6 +155,12 @@ declare type Error_2 = {
155
155
  kind: 'MissingFullTextSearchIndex';
156
156
  } | {
157
157
  kind: 'SocketTimeout';
158
+ } | {
159
+ kind: 'InconsistentColumnData';
160
+ cause: string;
161
+ } | {
162
+ kind: 'TransactionAlreadyClosed';
163
+ cause: string;
158
164
  } | {
159
165
  kind: 'postgres';
160
166
  code: string;
@@ -175,6 +181,10 @@ declare type Error_2 = {
175
181
  */
176
182
  extendedCode: number;
177
183
  message: string;
184
+ } | {
185
+ kind: 'mssql';
186
+ code: number;
187
+ message: string;
178
188
  };
179
189
  export { Error_2 as Error }
180
190
 
@@ -243,11 +253,11 @@ export declare function mockMigrationAwareAdapterFactory(provider: 'mysql' | 'sq
243
253
 
244
254
  export declare type OfficialDriverAdapterName = (typeof officialPrismaAdapters)[number];
245
255
 
246
- declare const officialPrismaAdapters: readonly ["@prisma/adapter-planetscale", "@prisma/adapter-neon", "@prisma/adapter-libsql", "@prisma/adapter-d1", "@prisma/adapter-pg"];
256
+ declare const officialPrismaAdapters: readonly ["@prisma/adapter-planetscale", "@prisma/adapter-neon", "@prisma/adapter-libsql", "@prisma/adapter-d1", "@prisma/adapter-pg", "@prisma/adapter-mssql"];
247
257
 
248
258
  export declare function ok<T>(value: T): Result<T>;
249
259
 
250
- export declare type Provider = 'mysql' | 'postgres' | 'sqlite';
260
+ export declare type Provider = 'mysql' | 'postgres' | 'sqlite' | 'sqlserver';
251
261
 
252
262
  export declare interface Queryable<Query, Result> extends AdapterInfo {
253
263
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/driver-adapter-utils",
3
- "version": "6.10.0-dev.19",
3
+ "version": "6.10.0-dev.20",
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.19"
34
+ "@prisma/debug": "6.10.0-dev.20"
35
35
  },
36
36
  "scripts": {
37
37
  "dev": "DEV=true tsx helpers/build.ts",