prisma 6.14.0-dev.13 → 6.14.0-dev.14
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 +83 -135
- package/package.json +14 -14
- package/prisma-client/generator-build/index.js +2 -28
- package/prisma-client/package.json +1 -1
- package/prisma-client/runtime/binary.js +64 -64
- package/prisma-client/runtime/binary.js.map +4 -4
- package/prisma-client/runtime/binary.mjs +64 -64
- package/prisma-client/runtime/binary.mjs.map +4 -4
- package/prisma-client/runtime/client.d.mts +1 -18
- package/prisma-client/runtime/client.d.ts +1 -18
- package/prisma-client/runtime/client.js +30 -30
- package/prisma-client/runtime/client.js.map +4 -4
- package/prisma-client/runtime/client.mjs +30 -30
- package/prisma-client/runtime/client.mjs.map +4 -4
- package/prisma-client/runtime/edge-esm.js +15 -15
- package/prisma-client/runtime/edge-esm.js.map +4 -4
- package/prisma-client/runtime/edge.d.ts +1 -18
- package/prisma-client/runtime/edge.js +15 -15
- package/prisma-client/runtime/edge.js.map +4 -4
- package/prisma-client/runtime/library.d.mts +1 -18
- package/prisma-client/runtime/library.d.ts +1 -18
- package/prisma-client/runtime/library.js +42 -42
- package/prisma-client/runtime/library.js.map +4 -4
- package/prisma-client/runtime/library.mjs +42 -42
- package/prisma-client/runtime/library.mjs.map +4 -4
- package/prisma-client/runtime/react-native.d.ts +1 -18
- package/prisma-client/runtime/react-native.js +26 -26
- package/prisma-client/runtime/react-native.js.map +4 -4
- package/prisma-client/scripts/default-index.js +1 -1
|
@@ -709,7 +709,7 @@ export declare function defineDmmfProperty(target: object, runtimeDataModel: Run
|
|
|
709
709
|
|
|
710
710
|
declare function defineExtension(ext: ExtensionArgs | ((client: Client) => Client)): (client: Client) => Client;
|
|
711
711
|
|
|
712
|
-
declare const denylist: readonly ["$connect", "$disconnect", "$on", "$transaction", "$
|
|
712
|
+
declare const denylist: readonly ["$connect", "$disconnect", "$on", "$transaction", "$extends"];
|
|
713
713
|
|
|
714
714
|
declare type Deprecation = ReadonlyDeep_2<{
|
|
715
715
|
sinceVersion: string;
|
|
@@ -1314,7 +1314,6 @@ declare type ExtendedSpanOptions = SpanOptions & {
|
|
|
1314
1314
|
/** The name of the span */
|
|
1315
1315
|
name: string;
|
|
1316
1316
|
internal?: boolean;
|
|
1317
|
-
middleware?: boolean;
|
|
1318
1317
|
/** Whether it propagates context (?=true) */
|
|
1319
1318
|
active?: boolean;
|
|
1320
1319
|
/** The context to append the span to */
|
|
@@ -1576,7 +1575,6 @@ export declare function getPrismaClient(config: GetPrismaClientConfig): {
|
|
|
1576
1575
|
_clientVersion: string;
|
|
1577
1576
|
_errorFormat: ErrorFormat;
|
|
1578
1577
|
_tracingHelper: TracingHelper;
|
|
1579
|
-
_middlewares: MiddlewareHandler<QueryMiddleware>;
|
|
1580
1578
|
_previewFeatures: string[];
|
|
1581
1579
|
_activeProvider: string;
|
|
1582
1580
|
_globalOmit?: GlobalOmitOptions | undefined;
|
|
@@ -1591,11 +1589,6 @@ export declare function getPrismaClient(config: GetPrismaClientConfig): {
|
|
|
1591
1589
|
*/
|
|
1592
1590
|
_appliedParent: any;
|
|
1593
1591
|
_createPrismaPromise: PrismaPromiseFactory;
|
|
1594
|
-
/**
|
|
1595
|
-
* Hook a middleware into the client
|
|
1596
|
-
* @param middleware to hook
|
|
1597
|
-
*/
|
|
1598
|
-
$use(middleware: QueryMiddleware): void;
|
|
1599
1592
|
$on<E extends ExtendedEventType>(eventType: E, callback: EventCallback<E>): any;
|
|
1600
1593
|
$connect(): Promise<void>;
|
|
1601
1594
|
/**
|
|
@@ -2289,14 +2282,6 @@ declare type MiddlewareArgsMapper<RequestArgs, MiddlewareArgs> = {
|
|
|
2289
2282
|
middlewareArgsToRequestArgs(middlewareArgs: MiddlewareArgs): RequestArgs;
|
|
2290
2283
|
};
|
|
2291
2284
|
|
|
2292
|
-
declare class MiddlewareHandler<M extends Function> {
|
|
2293
|
-
private _middlewares;
|
|
2294
|
-
use(middleware: M): void;
|
|
2295
|
-
get(id: number): M | undefined;
|
|
2296
|
-
has(id: number): boolean;
|
|
2297
|
-
length(): number;
|
|
2298
|
-
}
|
|
2299
|
-
|
|
2300
2285
|
declare type Model = ReadonlyDeep_2<{
|
|
2301
2286
|
name: string;
|
|
2302
2287
|
dbName: string | null;
|
|
@@ -2822,8 +2807,6 @@ declare type QueryEventType = 'query';
|
|
|
2822
2807
|
|
|
2823
2808
|
declare type QueryIntrospectionBuiltinType = 'int' | 'bigint' | 'float' | 'double' | 'string' | 'enum' | 'bytes' | 'bool' | 'char' | 'decimal' | 'json' | 'xml' | 'uuid' | 'datetime' | 'date' | 'time' | 'int-array' | 'bigint-array' | 'float-array' | 'double-array' | 'string-array' | 'char-array' | 'bytes-array' | 'bool-array' | 'decimal-array' | 'json-array' | 'xml-array' | 'uuid-array' | 'datetime-array' | 'date-array' | 'time-array' | 'null' | 'unknown';
|
|
2824
2809
|
|
|
2825
|
-
declare type QueryMiddleware = (params: QueryMiddlewareParams, next: (params: QueryMiddlewareParams) => Promise<unknown>) => Promise<unknown>;
|
|
2826
|
-
|
|
2827
2810
|
declare type QueryMiddlewareParams = {
|
|
2828
2811
|
/** The model this is executed on */
|
|
2829
2812
|
model?: string;
|