prisma 6.6.0-integration-feat-orm-693-d1-driver-create-migration-adapter-using-new-http-binding.5 → 6.6.0-integration-push-xmzqvqxpztks.13
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 +2376 -894
- package/build/public/assets/index.js +1 -1
- package/package.json +17 -16
- package/preinstall/index.js +1 -1
- package/prisma-client/generator-build/index.js +15502 -9357
- package/prisma-client/package.json +10 -12
- package/prisma-client/runtime/binary.js +66 -66
- package/prisma-client/runtime/client.d.ts +73 -40
- package/prisma-client/runtime/client.js +32 -32
- package/prisma-client/runtime/edge-esm.js +18 -18
- package/prisma-client/runtime/edge.js +18 -18
- package/prisma-client/runtime/index-browser.js +1 -1
- package/prisma-client/runtime/library.d.ts +73 -40
- package/prisma-client/runtime/library.js +56 -56
- package/prisma-client/runtime/react-native.d.ts +73 -40
- package/prisma-client/runtime/react-native.js +24 -24
- package/prisma-client/scripts/default-index.js +3 -3
@@ -23,7 +23,7 @@ declare type AccelerateEngineConfig = {
|
|
23
23
|
|
24
24
|
declare type AccelerateUtils = EngineConfig['accelerateUtils'];
|
25
25
|
|
26
|
-
export declare type Action = keyof typeof
|
26
|
+
export declare type Action = keyof typeof DMMF_2.ModelAction | 'executeRaw' | 'queryRaw' | 'runCommandRaw';
|
27
27
|
|
28
28
|
declare type ActiveConnectorType = Exclude<ConnectorType, 'postgres' | 'prisma+postgres'>;
|
29
29
|
|
@@ -91,7 +91,7 @@ declare interface Attributes {
|
|
91
91
|
declare type AttributeValue = string | number | boolean | Array<null | undefined | string> | Array<null | undefined | number> | Array<null | undefined | boolean>;
|
92
92
|
|
93
93
|
export declare type BaseDMMF = {
|
94
|
-
readonly datamodel: Omit<
|
94
|
+
readonly datamodel: Omit<DMMF_2.Datamodel, 'indexes'>;
|
95
95
|
};
|
96
96
|
|
97
97
|
declare type BatchArgs = {
|
@@ -209,7 +209,7 @@ declare type CompilerWasmLoadingConfig = {
|
|
209
209
|
* WASM-bindgen runtime for corresponding module
|
210
210
|
*/
|
211
211
|
getRuntime: () => {
|
212
|
-
__wbg_set_wasm(exports: unknown):
|
212
|
+
__wbg_set_wasm(exports: unknown): void;
|
213
213
|
QueryCompiler: QueryCompilerConstructor;
|
214
214
|
};
|
215
215
|
/**
|
@@ -729,49 +729,89 @@ export declare type DevTypeMapFnDef = {
|
|
729
729
|
payload: OperationPayload;
|
730
730
|
};
|
731
731
|
|
732
|
-
declare namespace DMMF {
|
732
|
+
export declare namespace DMMF {
|
733
733
|
export {
|
734
734
|
datamodelEnumToSchemaEnum,
|
735
|
-
Datamodel,
|
736
|
-
DatamodelEnum,
|
737
|
-
Deprecation,
|
738
735
|
Document_2 as Document,
|
736
|
+
Mappings,
|
737
|
+
OtherOperationMappings,
|
738
|
+
DatamodelEnum,
|
739
|
+
SchemaEnum,
|
739
740
|
EnumValue,
|
741
|
+
Datamodel,
|
742
|
+
uniqueIndex,
|
743
|
+
PrimaryKey,
|
744
|
+
Model,
|
745
|
+
FieldKind,
|
746
|
+
FieldNamespace,
|
747
|
+
FieldLocation,
|
740
748
|
Field,
|
741
749
|
FieldDefault,
|
742
750
|
FieldDefaultScalar,
|
743
|
-
FieldKind,
|
744
|
-
FieldLocation,
|
745
|
-
FieldNamespace,
|
746
|
-
FieldRefAllowType,
|
747
|
-
FieldRefType,
|
748
751
|
Index,
|
749
|
-
IndexField,
|
750
752
|
IndexType,
|
751
|
-
|
753
|
+
IndexField,
|
754
|
+
SortOrder,
|
755
|
+
Schema,
|
756
|
+
Query,
|
757
|
+
QueryOutput,
|
758
|
+
TypeRef,
|
752
759
|
InputTypeRef,
|
753
|
-
|
754
|
-
Model,
|
755
|
-
ModelAction,
|
756
|
-
ModelMapping,
|
757
|
-
OtherOperationMappings,
|
760
|
+
SchemaArg,
|
758
761
|
OutputType,
|
762
|
+
SchemaField,
|
759
763
|
OutputTypeRef,
|
764
|
+
Deprecation,
|
765
|
+
InputType,
|
766
|
+
FieldRefType,
|
767
|
+
FieldRefAllowType,
|
768
|
+
ModelMapping,
|
769
|
+
ModelAction
|
770
|
+
}
|
771
|
+
}
|
772
|
+
|
773
|
+
declare namespace DMMF_2 {
|
774
|
+
export {
|
775
|
+
datamodelEnumToSchemaEnum,
|
776
|
+
Document_2 as Document,
|
777
|
+
Mappings,
|
778
|
+
OtherOperationMappings,
|
779
|
+
DatamodelEnum,
|
780
|
+
SchemaEnum,
|
781
|
+
EnumValue,
|
782
|
+
Datamodel,
|
783
|
+
uniqueIndex,
|
760
784
|
PrimaryKey,
|
785
|
+
Model,
|
786
|
+
FieldKind,
|
787
|
+
FieldNamespace,
|
788
|
+
FieldLocation,
|
789
|
+
Field,
|
790
|
+
FieldDefault,
|
791
|
+
FieldDefaultScalar,
|
792
|
+
Index,
|
793
|
+
IndexType,
|
794
|
+
IndexField,
|
795
|
+
SortOrder,
|
796
|
+
Schema,
|
761
797
|
Query,
|
762
798
|
QueryOutput,
|
763
|
-
|
799
|
+
TypeRef,
|
800
|
+
InputTypeRef,
|
764
801
|
SchemaArg,
|
765
|
-
|
802
|
+
OutputType,
|
766
803
|
SchemaField,
|
767
|
-
|
768
|
-
|
769
|
-
|
804
|
+
OutputTypeRef,
|
805
|
+
Deprecation,
|
806
|
+
InputType,
|
807
|
+
FieldRefType,
|
808
|
+
FieldRefAllowType,
|
809
|
+
ModelMapping,
|
810
|
+
ModelAction
|
770
811
|
}
|
771
812
|
}
|
772
|
-
export { DMMF }
|
773
813
|
|
774
|
-
export declare function dmmfToRuntimeDataModel(dmmfDataModel:
|
814
|
+
export declare function dmmfToRuntimeDataModel(dmmfDataModel: DMMF_2.Datamodel): RuntimeDataModel;
|
775
815
|
|
776
816
|
declare type Document_2 = ReadonlyDeep_2<{
|
777
817
|
datamodel: Datamodel;
|
@@ -1038,8 +1078,6 @@ declare type EngineEvent<E extends EngineEventType> = E extends QueryEventType ?
|
|
1038
1078
|
|
1039
1079
|
declare type EngineEventType = QueryEventType | LogEventType;
|
1040
1080
|
|
1041
|
-
declare type EngineProtocol = 'graphql' | 'json';
|
1042
|
-
|
1043
1081
|
declare type EngineSpan = {
|
1044
1082
|
id: EngineSpanId;
|
1045
1083
|
parentId: string | null;
|
@@ -1060,7 +1098,7 @@ declare type EngineWasmLoadingConfig = {
|
|
1060
1098
|
* WASM-bindgen runtime for corresponding module
|
1061
1099
|
*/
|
1062
1100
|
getRuntime: () => {
|
1063
|
-
__wbg_set_wasm(exports: unknown):
|
1101
|
+
__wbg_set_wasm(exports: unknown): void;
|
1064
1102
|
QueryEngine: QueryEngineConstructor;
|
1065
1103
|
};
|
1066
1104
|
/**
|
@@ -1347,7 +1385,7 @@ declare type FieldRefType = ReadonlyDeep_2<{
|
|
1347
1385
|
fields: SchemaArg[];
|
1348
1386
|
}>;
|
1349
1387
|
|
1350
|
-
|
1388
|
+
declare type FluentOperation = 'findUnique' | 'findUniqueOrThrow' | 'findFirst' | 'findFirstOrThrow' | 'create' | 'update' | 'upsert' | 'delete';
|
1351
1389
|
|
1352
1390
|
export declare interface Fn<Params = unknown, Returns = unknown> {
|
1353
1391
|
params: Params;
|
@@ -2260,11 +2298,6 @@ declare class NullTypesEnumValue extends ObjectEnumValue {
|
|
2260
2298
|
_getNamespace(): string;
|
2261
2299
|
}
|
2262
2300
|
|
2263
|
-
/**
|
2264
|
-
* List of Prisma enums that must use unique objects instead of strings as their values.
|
2265
|
-
*/
|
2266
|
-
export declare const objectEnumNames: string[];
|
2267
|
-
|
2268
2301
|
/**
|
2269
2302
|
* Base class for unique values of object-valued enums.
|
2270
2303
|
*/
|
@@ -2624,7 +2657,7 @@ declare type QueryEngineConfig = {
|
|
2624
2657
|
datasourceOverrides: Record<string, string>;
|
2625
2658
|
env: Record<string, string | undefined>;
|
2626
2659
|
logLevel: QueryEngineLogLevel;
|
2627
|
-
engineProtocol:
|
2660
|
+
engineProtocol: QueryEngineProtocol;
|
2628
2661
|
enableTracing: boolean;
|
2629
2662
|
};
|
2630
2663
|
|
@@ -2651,6 +2684,8 @@ declare type QueryEngineInstance = {
|
|
2651
2684
|
|
2652
2685
|
declare type QueryEngineLogLevel = 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'off';
|
2653
2686
|
|
2687
|
+
declare type QueryEngineProtocol = 'graphql' | 'json';
|
2688
|
+
|
2654
2689
|
declare type QueryEngineRequest = {
|
2655
2690
|
query: string;
|
2656
2691
|
variables: Object;
|
@@ -2849,8 +2884,6 @@ export declare type Result_2<T, A, F extends Operation> = Result<T, A, F>;
|
|
2849
2884
|
|
2850
2885
|
declare namespace Result_3 {
|
2851
2886
|
export {
|
2852
|
-
Operation,
|
2853
|
-
FluentOperation,
|
2854
2887
|
Count,
|
2855
2888
|
GetFindResult,
|
2856
2889
|
SelectablePayloadFields,
|
@@ -2907,9 +2940,9 @@ export declare type RuntimeDataModel = {
|
|
2907
2940
|
readonly types: Record<string, RuntimeModel>;
|
2908
2941
|
};
|
2909
2942
|
|
2910
|
-
declare type RuntimeEnum = Omit<
|
2943
|
+
declare type RuntimeEnum = Omit<DMMF_2.DatamodelEnum, 'name'>;
|
2911
2944
|
|
2912
|
-
declare type RuntimeModel = Omit<
|
2945
|
+
declare type RuntimeModel = Omit<DMMF_2.Model, 'name'>;
|
2913
2946
|
|
2914
2947
|
declare type RuntimeName = 'workerd' | 'deno' | 'netlify' | 'node' | 'bun' | 'edge-light' | '';
|
2915
2948
|
|