prisma 6.5.0-integration-fix-improve-global-omit-api-performance-2.1 → 6.5.0-integration-feat-prisma-config-without-new-package.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/build/index.js +508 -508
- package/build/prisma_schema_build_bg.wasm +0 -0
- package/build/public/assets/index.js +1 -1
- package/package.json +44 -16
- package/prisma-client/generator-build/index.js +524 -1412
- package/prisma-client/package.json +7 -7
- package/prisma-client/runtime/binary.js +3 -3
- package/prisma-client/runtime/client.d.ts +26 -25
- package/prisma-client/runtime/client.js +14 -14
- package/prisma-client/runtime/edge-esm.js +3 -3
- package/prisma-client/runtime/edge.js +3 -3
- package/prisma-client/runtime/library.d.ts +26 -25
- package/prisma-client/runtime/library.js +21 -21
- package/prisma-client/runtime/query_compiler_bg.mysql.js +2 -1
- package/prisma-client/runtime/query_compiler_bg.postgresql.js +2 -1
- package/prisma-client/runtime/query_compiler_bg.sqlite.js +2 -1
- 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 +26 -25
- package/prisma-client/runtime/react-native.js +2 -2
- package/prisma-client/scripts/default-index.js +3 -3
@@ -150,7 +150,7 @@ export declare type ClientArgs = {
|
|
150
150
|
client: ClientArg;
|
151
151
|
};
|
152
152
|
|
153
|
-
export declare type ClientBuiltInProp = keyof DynamicClientExtensionThisBuiltin<never, never, never>;
|
153
|
+
export declare type ClientBuiltInProp = keyof DynamicClientExtensionThisBuiltin<never, never, never, never>;
|
154
154
|
|
155
155
|
export declare type ClientOptionDef = undefined | {
|
156
156
|
[K in string]: any;
|
@@ -966,38 +966,38 @@ export declare interface DriverAdapter extends SqlQueryable {
|
|
966
966
|
}
|
967
967
|
|
968
968
|
/** Client */
|
969
|
-
export declare type DynamicClientExtensionArgs<C_, TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any
|
969
|
+
export declare type DynamicClientExtensionArgs<C_, TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>, ClientOptions> = {
|
970
970
|
[P in keyof C_]: unknown;
|
971
971
|
} & {
|
972
972
|
[K: symbol]: {
|
973
|
-
ctx: Optional<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList> & {
|
974
|
-
$parent: Optional<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList>;
|
973
|
+
ctx: Optional<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs, ClientOptions>, ITXClientDenyList> & {
|
974
|
+
$parent: Optional<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs, ClientOptions>, ITXClientDenyList>;
|
975
975
|
};
|
976
976
|
};
|
977
977
|
};
|
978
978
|
|
979
|
-
export declare type DynamicClientExtensionThis<TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any
|
979
|
+
export declare type DynamicClientExtensionThis<TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>, ClientOptions> = {
|
980
980
|
[P in keyof ExtArgs['client']]: Return<ExtArgs['client'][P]>;
|
981
981
|
} & {
|
982
|
-
[P in Exclude<TypeMap['meta']['modelProps'], keyof ExtArgs['client']>]: DynamicModelExtensionThis<TypeMap, ModelKey<TypeMap, P>, ExtArgs>;
|
982
|
+
[P in Exclude<TypeMap['meta']['modelProps'], keyof ExtArgs['client']>]: DynamicModelExtensionThis<TypeMap, ModelKey<TypeMap, P>, ExtArgs, ClientOptions>;
|
983
983
|
} & {
|
984
984
|
[P in Exclude<keyof TypeMap['other']['operations'], keyof ExtArgs['client']>]: P extends keyof ClientOtherOps ? ClientOtherOps[P] : never;
|
985
985
|
} & {
|
986
|
-
[P in Exclude<ClientBuiltInProp, keyof ExtArgs['client']>]: DynamicClientExtensionThisBuiltin<TypeMap, TypeMapCb, ExtArgs>[P];
|
986
|
+
[P in Exclude<ClientBuiltInProp, keyof ExtArgs['client']>]: DynamicClientExtensionThisBuiltin<TypeMap, TypeMapCb, ExtArgs, ClientOptions>[P];
|
987
987
|
} & {
|
988
988
|
[K: symbol]: {
|
989
989
|
types: TypeMap['other'];
|
990
990
|
};
|
991
991
|
};
|
992
992
|
|
993
|
-
export declare type DynamicClientExtensionThisBuiltin<TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any
|
993
|
+
export declare type DynamicClientExtensionThisBuiltin<TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>, ClientOptions> = {
|
994
994
|
$extends: ExtendsHook<'extends', TypeMapCb, ExtArgs, Call<TypeMapCb, {
|
995
995
|
extArgs: ExtArgs;
|
996
|
-
}
|
996
|
+
}>, ClientOptions>;
|
997
997
|
$transaction<P extends PrismaPromise<any>[]>(arg: [...P], options?: {
|
998
998
|
isolationLevel?: TypeMap['meta']['txIsolationLevel'];
|
999
999
|
}): Promise<UnwrapTuple<P>>;
|
1000
|
-
$transaction<R>(fn: (client: Omit<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>, ITXClientDenyList>) => Promise<R>, options?: {
|
1000
|
+
$transaction<R>(fn: (client: Omit<DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs, ClientOptions>, ITXClientDenyList>) => Promise<R>, options?: {
|
1001
1001
|
maxWait?: number;
|
1002
1002
|
timeout?: number;
|
1003
1003
|
isolationLevel?: TypeMap['meta']['txIsolationLevel'];
|
@@ -1007,7 +1007,7 @@ export declare type DynamicClientExtensionThisBuiltin<TypeMap extends TypeMapDef
|
|
1007
1007
|
};
|
1008
1008
|
|
1009
1009
|
/** Model */
|
1010
|
-
export declare type DynamicModelExtensionArgs<M_, TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any
|
1010
|
+
export declare type DynamicModelExtensionArgs<M_, TypeMap extends TypeMapDef, TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>, ClientOptions> = {
|
1011
1011
|
[K in keyof M_]: K extends '$allModels' ? {
|
1012
1012
|
[P in keyof M_[K]]?: unknown;
|
1013
1013
|
} & {
|
@@ -1016,8 +1016,8 @@ export declare type DynamicModelExtensionArgs<M_, TypeMap extends TypeMapDef, Ty
|
|
1016
1016
|
[P in keyof M_[K]]?: unknown;
|
1017
1017
|
} & {
|
1018
1018
|
[K: symbol]: {
|
1019
|
-
ctx: DynamicModelExtensionThis<TypeMap, ModelKey<TypeMap, K>, ExtArgs> & {
|
1020
|
-
$parent: DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>;
|
1019
|
+
ctx: DynamicModelExtensionThis<TypeMap, ModelKey<TypeMap, K>, ExtArgs, ClientOptions> & {
|
1020
|
+
$parent: DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs, ClientOptions>;
|
1021
1021
|
} & {
|
1022
1022
|
$name: ModelKey<TypeMap, K>;
|
1023
1023
|
} & {
|
@@ -1030,26 +1030,26 @@ export declare type DynamicModelExtensionArgs<M_, TypeMap extends TypeMapDef, Ty
|
|
1030
1030
|
} : never;
|
1031
1031
|
};
|
1032
1032
|
|
1033
|
-
export declare type DynamicModelExtensionFluentApi<TypeMap extends TypeMapDef, M extends PropertyKey, P extends PropertyKey, Null> = {
|
1033
|
+
export declare type DynamicModelExtensionFluentApi<TypeMap extends TypeMapDef, M extends PropertyKey, P extends PropertyKey, Null, ClientOptions> = {
|
1034
1034
|
[K in keyof TypeMap['model'][M]['payload']['objects']]: <A>(args?: Exact<A, Path<TypeMap['model'][M]['operations'][P]['args']['select'], [K]>>) => PrismaPromise<Path<DynamicModelExtensionFnResultBase<TypeMap, M, {
|
1035
1035
|
select: {
|
1036
1036
|
[P in K]: A;
|
1037
1037
|
};
|
1038
|
-
}, P>, [K]> | Null> & DynamicModelExtensionFluentApi<TypeMap, (TypeMap['model'][M]['payload']['objects'][K] & {})['name'], P, Null | Select<TypeMap['model'][M]['payload']['objects'][K], null
|
1038
|
+
}, P, ClientOptions>, [K]> | Null> & DynamicModelExtensionFluentApi<TypeMap, (TypeMap['model'][M]['payload']['objects'][K] & {})['name'], P, Null | Select<TypeMap['model'][M]['payload']['objects'][K], null>, ClientOptions>;
|
1039
1039
|
};
|
1040
1040
|
|
1041
|
-
export declare type DynamicModelExtensionFnResult<TypeMap extends TypeMapDef, M extends PropertyKey, A, P extends PropertyKey, Null> = P extends FluentOperation ? DynamicModelExtensionFluentApi<TypeMap, M, P, Null> & PrismaPromise<DynamicModelExtensionFnResultBase<TypeMap, M, A, P> | Null> : PrismaPromise<DynamicModelExtensionFnResultBase<TypeMap, M, A, P>>;
|
1041
|
+
export declare type DynamicModelExtensionFnResult<TypeMap extends TypeMapDef, M extends PropertyKey, A, P extends PropertyKey, Null, ClientOptions> = P extends FluentOperation ? DynamicModelExtensionFluentApi<TypeMap, M, P, Null, ClientOptions> & PrismaPromise<DynamicModelExtensionFnResultBase<TypeMap, M, A, P, ClientOptions> | Null> : PrismaPromise<DynamicModelExtensionFnResultBase<TypeMap, M, A, P, ClientOptions>>;
|
1042
1042
|
|
1043
|
-
export declare type DynamicModelExtensionFnResultBase<TypeMap extends TypeMapDef, M extends PropertyKey, A, P extends PropertyKey> = GetResult<TypeMap['model'][M]['payload'], A, P & Operation,
|
1043
|
+
export declare type DynamicModelExtensionFnResultBase<TypeMap extends TypeMapDef, M extends PropertyKey, A, P extends PropertyKey, ClientOptions> = GetResult<TypeMap['model'][M]['payload'], A, P & Operation, ClientOptions>;
|
1044
1044
|
|
1045
1045
|
export declare type DynamicModelExtensionFnResultNull<P extends PropertyKey> = P extends 'findUnique' | 'findFirst' ? null : never;
|
1046
1046
|
|
1047
|
-
export declare type DynamicModelExtensionOperationFn<TypeMap extends TypeMapDef, M extends PropertyKey, P extends PropertyKey> = {} extends TypeMap['model'][M]['operations'][P]['args'] ? <A extends TypeMap['model'][M]['operations'][P]['args']>(args?: Exact<A, TypeMap['model'][M]['operations'][P]['args']>) => DynamicModelExtensionFnResult<TypeMap, M, A, P, DynamicModelExtensionFnResultNull<P
|
1047
|
+
export declare type DynamicModelExtensionOperationFn<TypeMap extends TypeMapDef, M extends PropertyKey, P extends PropertyKey, ClientOptions> = {} extends TypeMap['model'][M]['operations'][P]['args'] ? <A extends TypeMap['model'][M]['operations'][P]['args']>(args?: Exact<A, TypeMap['model'][M]['operations'][P]['args']>) => DynamicModelExtensionFnResult<TypeMap, M, A, P, DynamicModelExtensionFnResultNull<P>, ClientOptions> : <A extends TypeMap['model'][M]['operations'][P]['args']>(args: Exact<A, TypeMap['model'][M]['operations'][P]['args']>) => DynamicModelExtensionFnResult<TypeMap, M, A, P, DynamicModelExtensionFnResultNull<P>, ClientOptions>;
|
1048
1048
|
|
1049
|
-
export declare type DynamicModelExtensionThis<TypeMap extends TypeMapDef, M extends PropertyKey, ExtArgs extends Record<string, any
|
1049
|
+
export declare type DynamicModelExtensionThis<TypeMap extends TypeMapDef, M extends PropertyKey, ExtArgs extends Record<string, any>, ClientOptions> = {
|
1050
1050
|
[P in keyof ExtArgs['model'][Uncapitalize<M & string>]]: Return<ExtArgs['model'][Uncapitalize<M & string>][P]>;
|
1051
1051
|
} & {
|
1052
|
-
[P in Exclude<keyof TypeMap['model'][M]['operations'], keyof ExtArgs['model'][Uncapitalize<M & string>]>]: DynamicModelExtensionOperationFn<TypeMap, M, P>;
|
1052
|
+
[P in Exclude<keyof TypeMap['model'][M]['operations'], keyof ExtArgs['model'][Uncapitalize<M & string>]>]: DynamicModelExtensionOperationFn<TypeMap, M, P, ClientOptions>;
|
1053
1053
|
} & {
|
1054
1054
|
[P in Exclude<'fields', keyof ExtArgs['model'][Uncapitalize<M & string>]>]: TypeMap['model'][M]['fields'];
|
1055
1055
|
} & {
|
@@ -1362,7 +1362,7 @@ declare type ExtendedSpanOptions = SpanOptions & {
|
|
1362
1362
|
/** $extends, defineExtension */
|
1363
1363
|
export declare interface ExtendsHook<Variant extends 'extends' | 'define', TypeMapCb extends TypeMapCbDef, ExtArgs extends Record<string, any>, TypeMap extends TypeMapDef = Call<TypeMapCb, {
|
1364
1364
|
extArgs: ExtArgs;
|
1365
|
-
}
|
1365
|
+
}>, ClientOptions = {}> {
|
1366
1366
|
extArgs: ExtArgs;
|
1367
1367
|
<R_ extends {
|
1368
1368
|
[K in TypeMap['meta']['modelProps'] | '$allModels']?: unknown;
|
@@ -1372,7 +1372,7 @@ export declare interface ExtendsHook<Variant extends 'extends' | 'define', TypeM
|
|
1372
1372
|
[K in TypeMap['meta']['modelProps'] | '$allModels' | keyof TypeMap['other']['operations'] | '$allOperations']?: unknown;
|
1373
1373
|
}, C_ extends {
|
1374
1374
|
[K in string]?: unknown;
|
1375
|
-
}, C, Args extends InternalArgs = InternalArgs<R, M, {}, C>, MergedArgs extends InternalArgs = MergeExtArgs<TypeMap, ExtArgs, Args>>(extension: ((client: DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs>) => {
|
1375
|
+
}, C, Args extends InternalArgs = InternalArgs<R, M, {}, C>, MergedArgs extends InternalArgs = MergeExtArgs<TypeMap, ExtArgs, Args>>(extension: ((client: DynamicClientExtensionThis<TypeMap, TypeMapCb, ExtArgs, ClientOptions>) => {
|
1376
1376
|
$extends: {
|
1377
1377
|
extArgs: Args;
|
1378
1378
|
};
|
@@ -1380,12 +1380,12 @@ export declare interface ExtendsHook<Variant extends 'extends' | 'define', TypeM
|
|
1380
1380
|
name?: string;
|
1381
1381
|
query?: DynamicQueryExtensionArgs<Q_, TypeMap>;
|
1382
1382
|
result?: DynamicResultExtensionArgs<R_, TypeMap> & R;
|
1383
|
-
model?: DynamicModelExtensionArgs<M_, TypeMap, TypeMapCb, ExtArgs> & M;
|
1384
|
-
client?: DynamicClientExtensionArgs<C_, TypeMap, TypeMapCb, ExtArgs> & C;
|
1383
|
+
model?: DynamicModelExtensionArgs<M_, TypeMap, TypeMapCb, ExtArgs, ClientOptions> & M;
|
1384
|
+
client?: DynamicClientExtensionArgs<C_, TypeMap, TypeMapCb, ExtArgs, ClientOptions> & C;
|
1385
1385
|
}): {
|
1386
1386
|
extends: DynamicClientExtensionThis<Call<TypeMapCb, {
|
1387
1387
|
extArgs: MergedArgs;
|
1388
|
-
}>, TypeMapCb, MergedArgs>;
|
1388
|
+
}>, TypeMapCb, MergedArgs, ClientOptions>;
|
1389
1389
|
define: (client: any) => {
|
1390
1390
|
$extends: {
|
1391
1391
|
extArgs: Args;
|
@@ -3368,6 +3368,7 @@ export declare class TypedSql<Values extends readonly unknown[], Result> {
|
|
3368
3368
|
|
3369
3369
|
export declare type TypeMapCbDef = Fn<{
|
3370
3370
|
extArgs: InternalArgs;
|
3371
|
+
clientOptions: ClientOptionDef;
|
3371
3372
|
}, TypeMapDef>;
|
3372
3373
|
|
3373
3374
|
/** Shared */
|