@prisma/config 6.10.0-dev.3 → 6.10.0-dev.30

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +32 -4
  2. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -68,6 +68,7 @@ export declare type ConfigFromFile = {
68
68
  declare type ConnectionInfo = {
69
69
  schemaName?: string;
70
70
  maxBindValues?: number;
71
+ supportsRelationJoins: boolean;
71
72
  };
72
73
 
73
74
  /**
@@ -107,10 +108,22 @@ declare type Error_2 = {
107
108
  column?: string;
108
109
  } | {
109
110
  kind: 'UniqueConstraintViolation';
110
- fields: string[];
111
+ constraint?: {
112
+ fields: string[];
113
+ } | {
114
+ index: string;
115
+ } | {
116
+ foreignKey: {};
117
+ };
111
118
  } | {
112
119
  kind: 'NullConstraintViolation';
113
- fields: string[];
120
+ constraint?: {
121
+ fields: string[];
122
+ } | {
123
+ index: string;
124
+ } | {
125
+ foreignKey: {};
126
+ };
114
127
  } | {
115
128
  kind: 'ForeignKeyConstraintViolation';
116
129
  constraint?: {
@@ -143,8 +156,19 @@ declare type Error_2 = {
143
156
  } | {
144
157
  kind: 'TooManyConnections';
145
158
  cause: string;
159
+ } | {
160
+ kind: 'ValueOutOfRange';
161
+ cause: string;
162
+ } | {
163
+ kind: 'MissingFullTextSearchIndex';
146
164
  } | {
147
165
  kind: 'SocketTimeout';
166
+ } | {
167
+ kind: 'InconsistentColumnData';
168
+ cause: string;
169
+ } | {
170
+ kind: 'TransactionAlreadyClosed';
171
+ cause: string;
148
172
  } | {
149
173
  kind: 'postgres';
150
174
  code: string;
@@ -165,6 +189,10 @@ declare type Error_2 = {
165
189
  */
166
190
  extendedCode: number;
167
191
  message: string;
192
+ } | {
193
+ kind: 'mssql';
194
+ code: number;
195
+ message: string;
168
196
  };
169
197
 
170
198
  declare type ErrorCapturingFunction<T> = T extends (...args: infer A) => Promise<infer R> ? (...args: A) => Promise<Result<ErrorCapturingInterface<R>>> : T extends (...args: infer A) => infer R ? (...args: A) => Result<ErrorCapturingInterface<R>> : T;
@@ -218,7 +246,7 @@ declare type LoadConfigFromFileInput = {
218
246
  configRoot?: string;
219
247
  };
220
248
 
221
- declare const officialPrismaAdapters: readonly ["@prisma/adapter-planetscale", "@prisma/adapter-neon", "@prisma/adapter-libsql", "@prisma/adapter-d1", "@prisma/adapter-pg", "@prisma/adapter-pg-worker"];
249
+ declare const officialPrismaAdapters: readonly ["@prisma/adapter-planetscale", "@prisma/adapter-neon", "@prisma/adapter-libsql", "@prisma/adapter-d1", "@prisma/adapter-pg", "@prisma/adapter-mssql"];
222
250
 
223
251
  declare const PRISMA_CONFIG_INTERNAL_BRAND: unique symbol;
224
252
 
@@ -290,7 +318,7 @@ declare type PrismaStudioConfigShape<Env extends EnvVars = never> = {
290
318
  adapter: (env: Env) => Promise<SqlMigrationAwareDriverAdapterFactory>;
291
319
  };
292
320
 
293
- declare type Provider = 'mysql' | 'postgres' | 'sqlite';
321
+ declare type Provider = 'mysql' | 'postgres' | 'sqlite' | 'sqlserver';
294
322
 
295
323
  declare interface Queryable<Query, Result> extends AdapterInfo {
296
324
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/config",
3
- "version": "6.10.0-dev.3",
3
+ "version": "6.10.0-dev.30",
4
4
  "description": "Internal package used to define and read Prisma configuration files",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -21,8 +21,8 @@
21
21
  "jest": "29.7.0",
22
22
  "jest-junit": "16.0.0",
23
23
  "cross-env": "7.0.3",
24
- "@prisma/driver-adapter-utils": "6.10.0-dev.3",
25
- "@prisma/get-platform": "6.10.0-dev.3"
24
+ "@prisma/driver-adapter-utils": "6.10.0-dev.30",
25
+ "@prisma/get-platform": "6.10.0-dev.30"
26
26
  },
27
27
  "files": [
28
28
  "dist"