prisma 6.10.0-dev.2 → 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/build/index.js +892 -892
- package/build/prisma_schema_build_bg.wasm +0 -0
- package/build/schema_engine_bg.wasm +0 -0
- package/package.json +14 -14
- package/prisma-client/generator-build/index.js +13 -14
- package/prisma-client/package.json +5 -6
- package/prisma-client/runtime/binary.js +12 -12
- package/prisma-client/runtime/binary.mjs +9 -9
- package/prisma-client/runtime/client.d.mts +34 -6
- package/prisma-client/runtime/client.d.ts +34 -6
- package/prisma-client/runtime/client.js +19 -19
- package/prisma-client/runtime/client.mjs +17 -17
- package/prisma-client/runtime/edge-esm.js +3 -3
- package/prisma-client/runtime/edge.d.ts +34 -6
- package/prisma-client/runtime/edge.js +3 -3
- package/prisma-client/runtime/library.d.mts +34 -6
- package/prisma-client/runtime/library.d.ts +34 -6
- package/prisma-client/runtime/library.js +2 -2
- package/prisma-client/runtime/library.mjs +2 -2
- package/prisma-client/runtime/query_compiler_bg.mysql.js +2 -2
- package/prisma-client/runtime/query_compiler_bg.mysql.mjs +2 -2
- package/prisma-client/runtime/query_compiler_bg.postgresql.js +2 -2
- package/prisma-client/runtime/query_compiler_bg.postgresql.mjs +2 -2
- package/prisma-client/runtime/query_compiler_bg.sqlite.js +2 -2
- package/prisma-client/runtime/query_compiler_bg.sqlite.mjs +2 -2
- package/prisma-client/runtime/query_compiler_bg.sqlserver.js +2 -0
- package/prisma-client/runtime/query_compiler_bg.sqlserver.mjs +2 -0
- package/prisma-client/runtime/query_engine_bg.mysql.js +2 -2
- package/prisma-client/runtime/query_engine_bg.mysql.mjs +1 -1
- package/prisma-client/runtime/query_engine_bg.postgresql.js +2 -2
- package/prisma-client/runtime/query_engine_bg.postgresql.mjs +1 -1
- package/prisma-client/runtime/query_engine_bg.sqlite.js +2 -2
- package/prisma-client/runtime/query_engine_bg.sqlite.mjs +1 -1
- package/prisma-client/runtime/query_engine_bg.sqlserver.js +2 -0
- package/prisma-client/runtime/query_engine_bg.sqlserver.mjs +2 -0
- package/prisma-client/runtime/react-native.d.ts +34 -6
- package/prisma-client/runtime/react-native.js +2 -2
- package/prisma-client/scripts/default-index.js +3 -3
|
@@ -209,7 +209,7 @@ declare const ColumnTypeEnum: {
|
|
|
209
209
|
|
|
210
210
|
declare type CompactedBatchResponse = {
|
|
211
211
|
type: 'compacted';
|
|
212
|
-
plan:
|
|
212
|
+
plan: {};
|
|
213
213
|
arguments: Record<string, {}>[];
|
|
214
214
|
nestedSelection: string[];
|
|
215
215
|
keys: string[];
|
|
@@ -255,6 +255,7 @@ declare type ComputedFieldsMap = {
|
|
|
255
255
|
declare type ConnectionInfo = {
|
|
256
256
|
schemaName?: string;
|
|
257
257
|
maxBindValues?: number;
|
|
258
|
+
supportsRelationJoins: boolean;
|
|
258
259
|
};
|
|
259
260
|
|
|
260
261
|
declare type ConnectorType = 'mysql' | 'mongodb' | 'sqlite' | 'postgresql' | 'postgres' | 'prisma+postgres' | 'sqlserver' | 'cockroachdb';
|
|
@@ -1153,10 +1154,22 @@ declare type Error_2 = {
|
|
|
1153
1154
|
column?: string;
|
|
1154
1155
|
} | {
|
|
1155
1156
|
kind: 'UniqueConstraintViolation';
|
|
1156
|
-
|
|
1157
|
+
constraint?: {
|
|
1158
|
+
fields: string[];
|
|
1159
|
+
} | {
|
|
1160
|
+
index: string;
|
|
1161
|
+
} | {
|
|
1162
|
+
foreignKey: {};
|
|
1163
|
+
};
|
|
1157
1164
|
} | {
|
|
1158
1165
|
kind: 'NullConstraintViolation';
|
|
1159
|
-
|
|
1166
|
+
constraint?: {
|
|
1167
|
+
fields: string[];
|
|
1168
|
+
} | {
|
|
1169
|
+
index: string;
|
|
1170
|
+
} | {
|
|
1171
|
+
foreignKey: {};
|
|
1172
|
+
};
|
|
1160
1173
|
} | {
|
|
1161
1174
|
kind: 'ForeignKeyConstraintViolation';
|
|
1162
1175
|
constraint?: {
|
|
@@ -1189,8 +1202,19 @@ declare type Error_2 = {
|
|
|
1189
1202
|
} | {
|
|
1190
1203
|
kind: 'TooManyConnections';
|
|
1191
1204
|
cause: string;
|
|
1205
|
+
} | {
|
|
1206
|
+
kind: 'ValueOutOfRange';
|
|
1207
|
+
cause: string;
|
|
1208
|
+
} | {
|
|
1209
|
+
kind: 'MissingFullTextSearchIndex';
|
|
1192
1210
|
} | {
|
|
1193
1211
|
kind: 'SocketTimeout';
|
|
1212
|
+
} | {
|
|
1213
|
+
kind: 'InconsistentColumnData';
|
|
1214
|
+
cause: string;
|
|
1215
|
+
} | {
|
|
1216
|
+
kind: 'TransactionAlreadyClosed';
|
|
1217
|
+
cause: string;
|
|
1194
1218
|
} | {
|
|
1195
1219
|
kind: 'postgres';
|
|
1196
1220
|
code: string;
|
|
@@ -1211,6 +1235,10 @@ declare type Error_2 = {
|
|
|
1211
1235
|
*/
|
|
1212
1236
|
extendedCode: number;
|
|
1213
1237
|
message: string;
|
|
1238
|
+
} | {
|
|
1239
|
+
kind: 'mssql';
|
|
1240
|
+
code: number;
|
|
1241
|
+
message: string;
|
|
1214
1242
|
};
|
|
1215
1243
|
|
|
1216
1244
|
declare type ErrorCapturingFunction<T> = T extends (...args: infer A) => Promise<infer R> ? (...args: A) => Promise<Result_4<ErrorCapturingInterface<R>>> : T extends (...args: infer A) => infer R ? (...args: A) => Result_4<ErrorCapturingInterface<R>> : T;
|
|
@@ -2383,7 +2411,7 @@ export declare const objectEnumValues: {
|
|
|
2383
2411
|
};
|
|
2384
2412
|
};
|
|
2385
2413
|
|
|
2386
|
-
declare const officialPrismaAdapters: readonly ["@prisma/adapter-planetscale", "@prisma/adapter-neon", "@prisma/adapter-libsql", "@prisma/adapter-d1", "@prisma/adapter-pg", "@prisma/adapter-
|
|
2414
|
+
declare const officialPrismaAdapters: readonly ["@prisma/adapter-planetscale", "@prisma/adapter-neon", "@prisma/adapter-libsql", "@prisma/adapter-d1", "@prisma/adapter-pg", "@prisma/adapter-mssql"];
|
|
2387
2415
|
|
|
2388
2416
|
export declare type Omission = Record<string, boolean | Skip>;
|
|
2389
2417
|
|
|
@@ -2661,7 +2689,7 @@ declare type PrismaPromiseTransaction<PayloadType = unknown> = PrismaPromiseBatc
|
|
|
2661
2689
|
|
|
2662
2690
|
export declare const PrivateResultType: unique symbol;
|
|
2663
2691
|
|
|
2664
|
-
declare type Provider = 'mysql' | 'postgres' | 'sqlite';
|
|
2692
|
+
declare type Provider = 'mysql' | 'postgres' | 'sqlite' | 'sqlserver';
|
|
2665
2693
|
|
|
2666
2694
|
declare namespace Public {
|
|
2667
2695
|
export {
|
|
@@ -2699,7 +2727,7 @@ declare interface Queryable<Query, Result> extends AdapterInfo {
|
|
|
2699
2727
|
}
|
|
2700
2728
|
|
|
2701
2729
|
declare type QueryCompiler = {
|
|
2702
|
-
compile(request: string):
|
|
2730
|
+
compile(request: string): {};
|
|
2703
2731
|
compileBatch(batchRequest: string): BatchResponse;
|
|
2704
2732
|
};
|
|
2705
2733
|
|