prisma 6.6.0-integration-push-xmzqvqxpztks.13 → 6.6.0-integration-mcp.4

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.
@@ -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 DMMF_2.ModelAction | 'executeRaw' | 'queryRaw' | 'runCommandRaw';
26
+ export declare type Action = keyof typeof DMMF.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<DMMF_2.Datamodel, 'indexes'>;
94
+ readonly datamodel: Omit<DMMF.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): void;
212
+ __wbg_set_wasm(exports: unknown): any;
213
213
  QueryCompiler: QueryCompilerConstructor;
214
214
  };
215
215
  /**
@@ -729,89 +729,49 @@ export declare type DevTypeMapFnDef = {
729
729
  payload: OperationPayload;
730
730
  };
731
731
 
732
- export declare namespace DMMF {
732
+ declare namespace DMMF {
733
733
  export {
734
734
  datamodelEnumToSchemaEnum,
735
- Document_2 as Document,
736
- Mappings,
737
- OtherOperationMappings,
735
+ Datamodel,
738
736
  DatamodelEnum,
739
- SchemaEnum,
737
+ Deprecation,
738
+ Document_2 as Document,
740
739
  EnumValue,
741
- Datamodel,
742
- uniqueIndex,
743
- PrimaryKey,
744
- Model,
745
- FieldKind,
746
- FieldNamespace,
747
- FieldLocation,
748
740
  Field,
749
741
  FieldDefault,
750
742
  FieldDefaultScalar,
743
+ FieldKind,
744
+ FieldLocation,
745
+ FieldNamespace,
746
+ FieldRefAllowType,
747
+ FieldRefType,
751
748
  Index,
752
- IndexType,
753
749
  IndexField,
754
- SortOrder,
755
- Schema,
756
- Query,
757
- QueryOutput,
758
- TypeRef,
759
- InputTypeRef,
760
- SchemaArg,
761
- OutputType,
762
- SchemaField,
763
- OutputTypeRef,
764
- Deprecation,
750
+ IndexType,
765
751
  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,
752
+ InputTypeRef,
777
753
  Mappings,
754
+ Model,
755
+ ModelAction,
756
+ ModelMapping,
778
757
  OtherOperationMappings,
779
- DatamodelEnum,
780
- SchemaEnum,
781
- EnumValue,
782
- Datamodel,
783
- uniqueIndex,
758
+ OutputType,
759
+ OutputTypeRef,
784
760
  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,
797
761
  Query,
798
762
  QueryOutput,
799
- TypeRef,
800
- InputTypeRef,
763
+ Schema,
801
764
  SchemaArg,
802
- OutputType,
765
+ SchemaEnum,
803
766
  SchemaField,
804
- OutputTypeRef,
805
- Deprecation,
806
- InputType,
807
- FieldRefType,
808
- FieldRefAllowType,
809
- ModelMapping,
810
- ModelAction
767
+ SortOrder,
768
+ TypeRef,
769
+ uniqueIndex
811
770
  }
812
771
  }
772
+ export { DMMF }
813
773
 
814
- export declare function dmmfToRuntimeDataModel(dmmfDataModel: DMMF_2.Datamodel): RuntimeDataModel;
774
+ export declare function dmmfToRuntimeDataModel(dmmfDataModel: DMMF.Datamodel): RuntimeDataModel;
815
775
 
816
776
  declare type Document_2 = ReadonlyDeep_2<{
817
777
  datamodel: Datamodel;
@@ -1078,6 +1038,8 @@ declare type EngineEvent<E extends EngineEventType> = E extends QueryEventType ?
1078
1038
 
1079
1039
  declare type EngineEventType = QueryEventType | LogEventType;
1080
1040
 
1041
+ declare type EngineProtocol = 'graphql' | 'json';
1042
+
1081
1043
  declare type EngineSpan = {
1082
1044
  id: EngineSpanId;
1083
1045
  parentId: string | null;
@@ -1098,7 +1060,7 @@ declare type EngineWasmLoadingConfig = {
1098
1060
  * WASM-bindgen runtime for corresponding module
1099
1061
  */
1100
1062
  getRuntime: () => {
1101
- __wbg_set_wasm(exports: unknown): void;
1063
+ __wbg_set_wasm(exports: unknown): any;
1102
1064
  QueryEngine: QueryEngineConstructor;
1103
1065
  };
1104
1066
  /**
@@ -1385,7 +1347,7 @@ declare type FieldRefType = ReadonlyDeep_2<{
1385
1347
  fields: SchemaArg[];
1386
1348
  }>;
1387
1349
 
1388
- declare type FluentOperation = 'findUnique' | 'findUniqueOrThrow' | 'findFirst' | 'findFirstOrThrow' | 'create' | 'update' | 'upsert' | 'delete';
1350
+ export declare type FluentOperation = 'findUnique' | 'findUniqueOrThrow' | 'findFirst' | 'findFirstOrThrow' | 'create' | 'update' | 'upsert' | 'delete';
1389
1351
 
1390
1352
  export declare interface Fn<Params = unknown, Returns = unknown> {
1391
1353
  params: Params;
@@ -2298,6 +2260,11 @@ declare class NullTypesEnumValue extends ObjectEnumValue {
2298
2260
  _getNamespace(): string;
2299
2261
  }
2300
2262
 
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
+
2301
2268
  /**
2302
2269
  * Base class for unique values of object-valued enums.
2303
2270
  */
@@ -2657,7 +2624,7 @@ declare type QueryEngineConfig = {
2657
2624
  datasourceOverrides: Record<string, string>;
2658
2625
  env: Record<string, string | undefined>;
2659
2626
  logLevel: QueryEngineLogLevel;
2660
- engineProtocol: QueryEngineProtocol;
2627
+ engineProtocol: EngineProtocol;
2661
2628
  enableTracing: boolean;
2662
2629
  };
2663
2630
 
@@ -2684,8 +2651,6 @@ declare type QueryEngineInstance = {
2684
2651
 
2685
2652
  declare type QueryEngineLogLevel = 'trace' | 'debug' | 'info' | 'warn' | 'error' | 'off';
2686
2653
 
2687
- declare type QueryEngineProtocol = 'graphql' | 'json';
2688
-
2689
2654
  declare type QueryEngineRequest = {
2690
2655
  query: string;
2691
2656
  variables: Object;
@@ -2884,6 +2849,8 @@ export declare type Result_2<T, A, F extends Operation> = Result<T, A, F>;
2884
2849
 
2885
2850
  declare namespace Result_3 {
2886
2851
  export {
2852
+ Operation,
2853
+ FluentOperation,
2887
2854
  Count,
2888
2855
  GetFindResult,
2889
2856
  SelectablePayloadFields,
@@ -2940,9 +2907,9 @@ export declare type RuntimeDataModel = {
2940
2907
  readonly types: Record<string, RuntimeModel>;
2941
2908
  };
2942
2909
 
2943
- declare type RuntimeEnum = Omit<DMMF_2.DatamodelEnum, 'name'>;
2910
+ declare type RuntimeEnum = Omit<DMMF.DatamodelEnum, 'name'>;
2944
2911
 
2945
- declare type RuntimeModel = Omit<DMMF_2.Model, 'name'>;
2912
+ declare type RuntimeModel = Omit<DMMF.Model, 'name'>;
2946
2913
 
2947
2914
  declare type RuntimeName = 'workerd' | 'deno' | 'netlify' | 'node' | 'bun' | 'edge-light' | '';
2948
2915