prisma 6.2.0-dev.1 → 6.2.0-dev.11
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 +225 -225
- package/build/prisma_schema_build_bg.wasm +0 -0
- package/package.json +10 -10
- package/prisma-client/generator-build/index.js +104 -25
- package/prisma-client/package.json +3 -3
- package/prisma-client/runtime/binary.js +20 -20
- package/prisma-client/runtime/edge-esm.js +18 -18
- package/prisma-client/runtime/edge.js +18 -18
- package/prisma-client/runtime/index-browser.d.ts +1 -1
- package/prisma-client/runtime/library.d.ts +8 -3
- package/prisma-client/runtime/library.js +36 -36
- package/prisma-client/runtime/query_engine_bg.mysql.js +2 -2
- package/prisma-client/runtime/query_engine_bg.postgresql.js +2 -2
- package/prisma-client/runtime/query_engine_bg.sqlite.js +2 -2
- package/prisma-client/runtime/react-native.d.ts +8 -3
- package/prisma-client/runtime/react-native.js +17 -17
- package/prisma-client/scripts/default-index.js +3 -3
|
@@ -345,7 +345,7 @@ export declare const objectEnumValues: {
|
|
|
345
345
|
};
|
|
346
346
|
};
|
|
347
347
|
|
|
348
|
-
declare type Operation = 'findFirst' | 'findFirstOrThrow' | 'findUnique' | 'findUniqueOrThrow' | 'findMany' | 'create' | 'createMany' | 'createManyAndReturn' | 'update' | 'updateMany' | 'upsert' | 'delete' | 'deleteMany' | 'aggregate' | 'count' | 'groupBy' | '$queryRaw' | '$executeRaw' | '$queryRawUnsafe' | '$executeRawUnsafe' | 'findRaw' | 'aggregateRaw' | '$runCommandRaw';
|
|
348
|
+
declare type Operation = 'findFirst' | 'findFirstOrThrow' | 'findUnique' | 'findUniqueOrThrow' | 'findMany' | 'create' | 'createMany' | 'createManyAndReturn' | 'update' | 'updateMany' | 'updateManyAndReturn' | 'upsert' | 'delete' | 'deleteMany' | 'aggregate' | 'count' | 'groupBy' | '$queryRaw' | '$executeRaw' | '$queryRawUnsafe' | '$executeRawUnsafe' | 'findRaw' | 'aggregateRaw' | '$runCommandRaw';
|
|
349
349
|
|
|
350
350
|
declare namespace Public {
|
|
351
351
|
export {
|
|
@@ -879,6 +879,7 @@ export declare namespace DMMF {
|
|
|
879
879
|
createManyAndReturn?: string | null;
|
|
880
880
|
update?: string | null;
|
|
881
881
|
updateMany?: string | null;
|
|
882
|
+
updateManyAndReturn?: string | null;
|
|
882
883
|
upsert?: string | null;
|
|
883
884
|
delete?: string | null;
|
|
884
885
|
deleteMany?: string | null;
|
|
@@ -899,6 +900,7 @@ export declare namespace DMMF {
|
|
|
899
900
|
createManyAndReturn = "createManyAndReturn",
|
|
900
901
|
update = "update",
|
|
901
902
|
updateMany = "updateMany",
|
|
903
|
+
updateManyAndReturn = "updateManyAndReturn",
|
|
902
904
|
upsert = "upsert",
|
|
903
905
|
delete = "delete",
|
|
904
906
|
deleteMany = "deleteMany",
|
|
@@ -1450,7 +1452,9 @@ export declare type GetFindResult<P extends OperationPayload, A, ClientOptions>
|
|
|
1450
1452
|
} ? O : K extends '_count' ? Count<P['objects']> : never;
|
|
1451
1453
|
} & (A extends {
|
|
1452
1454
|
include: any;
|
|
1453
|
-
} & Record<string, unknown> ? DefaultSelection<P, A
|
|
1455
|
+
} & Record<string, unknown> ? DefaultSelection<P, A & {
|
|
1456
|
+
omit: A['omit'];
|
|
1457
|
+
}, ClientOptions> : unknown) : DefaultSelection<P, A, ClientOptions>;
|
|
1454
1458
|
|
|
1455
1459
|
export declare type GetGroupByResult<P extends OperationPayload, A> = A extends {
|
|
1456
1460
|
by: string[];
|
|
@@ -1704,6 +1708,7 @@ export declare type GetResult<Payload extends OperationPayload, Args, OperationN
|
|
|
1704
1708
|
createManyAndReturn: GetFindResult<Payload, Args, ClientOptions>[];
|
|
1705
1709
|
update: GetFindResult<Payload, Args, ClientOptions>;
|
|
1706
1710
|
updateMany: GetBatchResult;
|
|
1711
|
+
updateManyAndReturn: GetFindResult<Payload, Args, ClientOptions>[];
|
|
1707
1712
|
upsert: GetFindResult<Payload, Args, ClientOptions>;
|
|
1708
1713
|
delete: GetFindResult<Payload, Args, ClientOptions>;
|
|
1709
1714
|
deleteMany: GetBatchResult;
|
|
@@ -1954,7 +1959,7 @@ export declare type JsonQuery = {
|
|
|
1954
1959
|
query: JsonFieldSelection;
|
|
1955
1960
|
};
|
|
1956
1961
|
|
|
1957
|
-
declare type JsonQueryAction = 'findUnique' | 'findUniqueOrThrow' | 'findFirst' | 'findFirstOrThrow' | 'findMany' | 'createOne' | 'createMany' | 'createManyAndReturn' | 'updateOne' | 'updateMany' | 'deleteOne' | 'deleteMany' | 'upsertOne' | 'aggregate' | 'groupBy' | 'executeRaw' | 'queryRaw' | 'runCommandRaw' | 'findRaw' | 'aggregateRaw';
|
|
1962
|
+
declare type JsonQueryAction = 'findUnique' | 'findUniqueOrThrow' | 'findFirst' | 'findFirstOrThrow' | 'findMany' | 'createOne' | 'createMany' | 'createManyAndReturn' | 'updateOne' | 'updateMany' | 'updateManyAndReturn' | 'deleteOne' | 'deleteMany' | 'upsertOne' | 'aggregate' | 'groupBy' | 'executeRaw' | 'queryRaw' | 'runCommandRaw' | 'findRaw' | 'aggregateRaw';
|
|
1958
1963
|
|
|
1959
1964
|
declare type JsonSelectionSet = {
|
|
1960
1965
|
$scalars?: boolean;
|
|
@@ -2241,7 +2246,7 @@ export { Omit_2 as Omit }
|
|
|
2241
2246
|
|
|
2242
2247
|
export declare type OmitValue<Omit, Key> = Key extends keyof Omit ? Omit[Key] : false;
|
|
2243
2248
|
|
|
2244
|
-
export declare type Operation = 'findFirst' | 'findFirstOrThrow' | 'findUnique' | 'findUniqueOrThrow' | 'findMany' | 'create' | 'createMany' | 'createManyAndReturn' | 'update' | 'updateMany' | 'upsert' | 'delete' | 'deleteMany' | 'aggregate' | 'count' | 'groupBy' | '$queryRaw' | '$executeRaw' | '$queryRawUnsafe' | '$executeRawUnsafe' | 'findRaw' | 'aggregateRaw' | '$runCommandRaw';
|
|
2249
|
+
export declare type Operation = 'findFirst' | 'findFirstOrThrow' | 'findUnique' | 'findUniqueOrThrow' | 'findMany' | 'create' | 'createMany' | 'createManyAndReturn' | 'update' | 'updateMany' | 'updateManyAndReturn' | 'upsert' | 'delete' | 'deleteMany' | 'aggregate' | 'count' | 'groupBy' | '$queryRaw' | '$executeRaw' | '$queryRawUnsafe' | '$executeRawUnsafe' | 'findRaw' | 'aggregateRaw' | '$runCommandRaw';
|
|
2245
2250
|
|
|
2246
2251
|
export declare type OperationPayload = {
|
|
2247
2252
|
name: string;
|