prisma 5.22.0-integration-itx-refactor.7 → 5.22.0
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 +208 -208
- package/package.json +10 -10
- package/prisma-client/generator-build/index.js +9 -9
- package/prisma-client/package.json +3 -3
- package/prisma-client/runtime/binary.js +77 -77
- package/prisma-client/runtime/edge-esm.js +16 -16
- package/prisma-client/runtime/edge.js +16 -16
- package/prisma-client/runtime/library.d.ts +22 -2
- package/prisma-client/runtime/library.js +49 -49
- package/prisma-client/runtime/react-native.d.ts +22 -2
- package/prisma-client/runtime/react-native.js +26 -26
- package/prisma-client/scripts/default-index.js +3 -3
|
@@ -619,6 +619,8 @@ declare function defineExtension(ext: ExtensionArgs | ((client: Client) => Clien
|
|
|
619
619
|
|
|
620
620
|
declare const denylist: readonly ["$connect", "$disconnect", "$on", "$transaction", "$use", "$extends"];
|
|
621
621
|
|
|
622
|
+
export declare function deserializeJsonResponse(result: unknown): unknown;
|
|
623
|
+
|
|
622
624
|
export declare type DevTypeMapDef = {
|
|
623
625
|
meta: {
|
|
624
626
|
modelProps: string;
|
|
@@ -868,6 +870,8 @@ export declare namespace DMMF {
|
|
|
868
870
|
}
|
|
869
871
|
}
|
|
870
872
|
|
|
873
|
+
export declare function dmmfToRuntimeDataModel(dmmfDataModel: DMMF.Datamodel): RuntimeDataModel;
|
|
874
|
+
|
|
871
875
|
export declare interface DriverAdapter extends Queryable {
|
|
872
876
|
/**
|
|
873
877
|
* Starts new transaction.
|
|
@@ -1884,7 +1888,7 @@ declare type JsonArgumentValue = number | string | boolean | null | RawTaggedVal
|
|
|
1884
1888
|
export declare interface JsonArray extends Array<JsonValue> {
|
|
1885
1889
|
}
|
|
1886
1890
|
|
|
1887
|
-
declare type JsonBatchQuery = {
|
|
1891
|
+
export declare type JsonBatchQuery = {
|
|
1888
1892
|
batch: JsonQuery[];
|
|
1889
1893
|
transaction?: {
|
|
1890
1894
|
isolationLevel?: Transaction_2.IsolationLevel;
|
|
@@ -2839,7 +2843,7 @@ export declare type Return<T> = T extends (...args: any[]) => infer R ? R : T;
|
|
|
2839
2843
|
|
|
2840
2844
|
declare type Runtime = "edge-routine" | "workerd" | "deno" | "lagon" | "react-native" | "netlify" | "electron" | "node" | "bun" | "edge-light" | "fastly" | "unknown";
|
|
2841
2845
|
|
|
2842
|
-
declare type RuntimeDataModel = {
|
|
2846
|
+
export declare type RuntimeDataModel = {
|
|
2843
2847
|
readonly models: Record<string, RuntimeModel>;
|
|
2844
2848
|
readonly enums: Record<string, RuntimeEnum>;
|
|
2845
2849
|
readonly types: Record<string, RuntimeModel>;
|
|
@@ -2870,6 +2874,22 @@ export declare type SelectField<P extends SelectablePayloadFields<any, any>, K e
|
|
|
2870
2874
|
declare type Selection_2 = Record<string, boolean | Skip | JsArgs>;
|
|
2871
2875
|
export { Selection_2 as Selection }
|
|
2872
2876
|
|
|
2877
|
+
export declare function serializeJsonQuery({ modelName, action, args, runtimeDataModel, extensions, callsite, clientMethod, errorFormat, clientVersion, previewFeatures, globalOmit, }: SerializeParams): JsonQuery;
|
|
2878
|
+
|
|
2879
|
+
declare type SerializeParams = {
|
|
2880
|
+
runtimeDataModel: RuntimeDataModel;
|
|
2881
|
+
modelName?: string;
|
|
2882
|
+
action: Action;
|
|
2883
|
+
args?: JsArgs;
|
|
2884
|
+
extensions?: MergedExtensionsList;
|
|
2885
|
+
callsite?: CallSite;
|
|
2886
|
+
clientMethod: string;
|
|
2887
|
+
clientVersion: string;
|
|
2888
|
+
errorFormat: ErrorFormat;
|
|
2889
|
+
previewFeatures: string[];
|
|
2890
|
+
globalOmit?: GlobalOmitOptions;
|
|
2891
|
+
};
|
|
2892
|
+
|
|
2873
2893
|
declare class Skip {
|
|
2874
2894
|
constructor(param?: symbol);
|
|
2875
2895
|
ifUndefined<T>(value: T | undefined): T | Skip;
|