@allbluecn/database 0.9.2 → 0.9.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.
Files changed (51) hide show
  1. package/cf-env-stub.ts +4 -0
  2. package/cf-env.ts +25 -0
  3. package/cloudflare-workers.d.ts +6 -0
  4. package/generated/browser.ts +30 -15
  5. package/generated/client.ts +30 -15
  6. package/generated/internal/class.ts +64 -34
  7. package/generated/internal/prismaNamespace.ts +543 -263
  8. package/generated/internal/prismaNamespaceBrowser.ts +92 -37
  9. package/generated/models/AiTask.ts +2481 -0
  10. package/generated/models/AiTaskRun.ts +1564 -0
  11. package/generated/models/Bug.ts +94 -1
  12. package/generated/models/BugComment.ts +139 -0
  13. package/generated/models/BugCommentReaction.ts +1472 -0
  14. package/generated/models/CollabClient.ts +1199 -0
  15. package/generated/models/CollabDocument.ts +1121 -0
  16. package/generated/models/CollabUpdate.ts +1149 -0
  17. package/generated/models/Component.ts +0 -194
  18. package/generated/models/Design.ts +0 -190
  19. package/generated/models/Project.ts +261 -0
  20. package/generated/models/TestCase.ts +78 -1
  21. package/generated/models/User.ts +2073 -1271
  22. package/generated/models/Workspace.ts +204 -0
  23. package/generated/models.ts +6 -3
  24. package/generated-sqlite/browser.ts +0 -15
  25. package/generated-sqlite/client.ts +0 -15
  26. package/generated-sqlite/internal/class.ts +4 -34
  27. package/generated-sqlite/internal/prismaNamespace.ts +1 -262
  28. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +0 -36
  29. package/generated-sqlite/models/Component.ts +0 -194
  30. package/generated-sqlite/models/Design.ts +0 -182
  31. package/generated-sqlite/models/User.ts +0 -586
  32. package/generated-sqlite/models.ts +0 -3
  33. package/index.ts +16 -2
  34. package/migrations/20261007112656_collab_init/migration.sql +45 -0
  35. package/migrations/20261007122530_collab_client_clientid_bigint/migration.sql +10 -0
  36. package/migrations/20261009194853_remove_tag_module/migration.sql +24 -0
  37. package/migrations/20261009222043_ai_task_init/migration.sql +67 -0
  38. package/migrations/20261019202531_ui_alignment_board_order/migration.sql +35 -0
  39. package/package.json +13 -17
  40. package/schema.prisma +99 -54
  41. package/schema.sqlite.prisma +0 -54
  42. package/dist/get-prisma.d.ts +0 -1
  43. package/dist/get-prisma.js +0 -7
  44. package/dist/lib/share-utils.d.ts +0 -2
  45. package/dist/lib/share-utils.js +0 -17
  46. package/generated/models/ComponentTag.ts +0 -1281
  47. package/generated/models/DesignTag.ts +0 -1430
  48. package/generated/models/Tag.ts +0 -1655
  49. package/generated-sqlite/models/ComponentTag.ts +0 -1278
  50. package/generated-sqlite/models/DesignTag.ts +0 -1426
  51. package/generated-sqlite/models/Tag.ts +0 -1652
@@ -202,6 +202,7 @@ export type BugCommentWhereInput = {
202
202
  user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
203
203
  parent?: Prisma.XOR<Prisma.BugCommentNullableScalarRelationFilter, Prisma.BugCommentWhereInput> | null
204
204
  replies?: Prisma.BugCommentListRelationFilter
205
+ reactions?: Prisma.BugCommentReactionListRelationFilter
205
206
  }
206
207
 
207
208
  export type BugCommentOrderByWithRelationInput = {
@@ -216,6 +217,7 @@ export type BugCommentOrderByWithRelationInput = {
216
217
  user?: Prisma.UserOrderByWithRelationInput
217
218
  parent?: Prisma.BugCommentOrderByWithRelationInput
218
219
  replies?: Prisma.BugCommentOrderByRelationAggregateInput
220
+ reactions?: Prisma.BugCommentReactionOrderByRelationAggregateInput
219
221
  }
220
222
 
221
223
  export type BugCommentWhereUniqueInput = Prisma.AtLeast<{
@@ -233,6 +235,7 @@ export type BugCommentWhereUniqueInput = Prisma.AtLeast<{
233
235
  user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
234
236
  parent?: Prisma.XOR<Prisma.BugCommentNullableScalarRelationFilter, Prisma.BugCommentWhereInput> | null
235
237
  replies?: Prisma.BugCommentListRelationFilter
238
+ reactions?: Prisma.BugCommentReactionListRelationFilter
236
239
  }, "id">
237
240
 
238
241
  export type BugCommentOrderByWithAggregationInput = {
@@ -270,6 +273,7 @@ export type BugCommentCreateInput = {
270
273
  user: Prisma.UserCreateNestedOneWithoutBugCommentsInput
271
274
  parent?: Prisma.BugCommentCreateNestedOneWithoutRepliesInput
272
275
  replies?: Prisma.BugCommentCreateNestedManyWithoutParentInput
276
+ reactions?: Prisma.BugCommentReactionCreateNestedManyWithoutCommentInput
273
277
  }
274
278
 
275
279
  export type BugCommentUncheckedCreateInput = {
@@ -281,6 +285,7 @@ export type BugCommentUncheckedCreateInput = {
281
285
  createdAt?: Date | string
282
286
  updatedAt?: Date | string
283
287
  replies?: Prisma.BugCommentUncheckedCreateNestedManyWithoutParentInput
288
+ reactions?: Prisma.BugCommentReactionUncheckedCreateNestedManyWithoutCommentInput
284
289
  }
285
290
 
286
291
  export type BugCommentUpdateInput = {
@@ -292,6 +297,7 @@ export type BugCommentUpdateInput = {
292
297
  user?: Prisma.UserUpdateOneRequiredWithoutBugCommentsNestedInput
293
298
  parent?: Prisma.BugCommentUpdateOneWithoutRepliesNestedInput
294
299
  replies?: Prisma.BugCommentUpdateManyWithoutParentNestedInput
300
+ reactions?: Prisma.BugCommentReactionUpdateManyWithoutCommentNestedInput
295
301
  }
296
302
 
297
303
  export type BugCommentUncheckedUpdateInput = {
@@ -303,6 +309,7 @@ export type BugCommentUncheckedUpdateInput = {
303
309
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
304
310
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
305
311
  replies?: Prisma.BugCommentUncheckedUpdateManyWithoutParentNestedInput
312
+ reactions?: Prisma.BugCommentReactionUncheckedUpdateManyWithoutCommentNestedInput
306
313
  }
307
314
 
308
315
  export type BugCommentCreateManyInput = {
@@ -377,6 +384,11 @@ export type BugCommentMinOrderByAggregateInput = {
377
384
  updatedAt?: Prisma.SortOrder
378
385
  }
379
386
 
387
+ export type BugCommentScalarRelationFilter = {
388
+ is?: Prisma.BugCommentWhereInput
389
+ isNot?: Prisma.BugCommentWhereInput
390
+ }
391
+
380
392
  export type BugCommentCreateNestedManyWithoutUserInput = {
381
393
  create?: Prisma.XOR<Prisma.BugCommentCreateWithoutUserInput, Prisma.BugCommentUncheckedCreateWithoutUserInput> | Prisma.BugCommentCreateWithoutUserInput[] | Prisma.BugCommentUncheckedCreateWithoutUserInput[]
382
394
  connectOrCreate?: Prisma.BugCommentCreateOrConnectWithoutUserInput | Prisma.BugCommentCreateOrConnectWithoutUserInput[]
@@ -519,6 +531,20 @@ export type BugCommentUncheckedUpdateManyWithoutParentNestedInput = {
519
531
  deleteMany?: Prisma.BugCommentScalarWhereInput | Prisma.BugCommentScalarWhereInput[]
520
532
  }
521
533
 
534
+ export type BugCommentCreateNestedOneWithoutReactionsInput = {
535
+ create?: Prisma.XOR<Prisma.BugCommentCreateWithoutReactionsInput, Prisma.BugCommentUncheckedCreateWithoutReactionsInput>
536
+ connectOrCreate?: Prisma.BugCommentCreateOrConnectWithoutReactionsInput
537
+ connect?: Prisma.BugCommentWhereUniqueInput
538
+ }
539
+
540
+ export type BugCommentUpdateOneRequiredWithoutReactionsNestedInput = {
541
+ create?: Prisma.XOR<Prisma.BugCommentCreateWithoutReactionsInput, Prisma.BugCommentUncheckedCreateWithoutReactionsInput>
542
+ connectOrCreate?: Prisma.BugCommentCreateOrConnectWithoutReactionsInput
543
+ upsert?: Prisma.BugCommentUpsertWithoutReactionsInput
544
+ connect?: Prisma.BugCommentWhereUniqueInput
545
+ update?: Prisma.XOR<Prisma.XOR<Prisma.BugCommentUpdateToOneWithWhereWithoutReactionsInput, Prisma.BugCommentUpdateWithoutReactionsInput>, Prisma.BugCommentUncheckedUpdateWithoutReactionsInput>
546
+ }
547
+
522
548
  export type BugCommentCreateWithoutUserInput = {
523
549
  id?: string
524
550
  content: string
@@ -527,6 +553,7 @@ export type BugCommentCreateWithoutUserInput = {
527
553
  bug: Prisma.BugCreateNestedOneWithoutCommentsInput
528
554
  parent?: Prisma.BugCommentCreateNestedOneWithoutRepliesInput
529
555
  replies?: Prisma.BugCommentCreateNestedManyWithoutParentInput
556
+ reactions?: Prisma.BugCommentReactionCreateNestedManyWithoutCommentInput
530
557
  }
531
558
 
532
559
  export type BugCommentUncheckedCreateWithoutUserInput = {
@@ -537,6 +564,7 @@ export type BugCommentUncheckedCreateWithoutUserInput = {
537
564
  createdAt?: Date | string
538
565
  updatedAt?: Date | string
539
566
  replies?: Prisma.BugCommentUncheckedCreateNestedManyWithoutParentInput
567
+ reactions?: Prisma.BugCommentReactionUncheckedCreateNestedManyWithoutCommentInput
540
568
  }
541
569
 
542
570
  export type BugCommentCreateOrConnectWithoutUserInput = {
@@ -586,6 +614,7 @@ export type BugCommentCreateWithoutBugInput = {
586
614
  user: Prisma.UserCreateNestedOneWithoutBugCommentsInput
587
615
  parent?: Prisma.BugCommentCreateNestedOneWithoutRepliesInput
588
616
  replies?: Prisma.BugCommentCreateNestedManyWithoutParentInput
617
+ reactions?: Prisma.BugCommentReactionCreateNestedManyWithoutCommentInput
589
618
  }
590
619
 
591
620
  export type BugCommentUncheckedCreateWithoutBugInput = {
@@ -596,6 +625,7 @@ export type BugCommentUncheckedCreateWithoutBugInput = {
596
625
  createdAt?: Date | string
597
626
  updatedAt?: Date | string
598
627
  replies?: Prisma.BugCommentUncheckedCreateNestedManyWithoutParentInput
628
+ reactions?: Prisma.BugCommentReactionUncheckedCreateNestedManyWithoutCommentInput
599
629
  }
600
630
 
601
631
  export type BugCommentCreateOrConnectWithoutBugInput = {
@@ -632,6 +662,7 @@ export type BugCommentCreateWithoutRepliesInput = {
632
662
  bug: Prisma.BugCreateNestedOneWithoutCommentsInput
633
663
  user: Prisma.UserCreateNestedOneWithoutBugCommentsInput
634
664
  parent?: Prisma.BugCommentCreateNestedOneWithoutRepliesInput
665
+ reactions?: Prisma.BugCommentReactionCreateNestedManyWithoutCommentInput
635
666
  }
636
667
 
637
668
  export type BugCommentUncheckedCreateWithoutRepliesInput = {
@@ -642,6 +673,7 @@ export type BugCommentUncheckedCreateWithoutRepliesInput = {
642
673
  content: string
643
674
  createdAt?: Date | string
644
675
  updatedAt?: Date | string
676
+ reactions?: Prisma.BugCommentReactionUncheckedCreateNestedManyWithoutCommentInput
645
677
  }
646
678
 
647
679
  export type BugCommentCreateOrConnectWithoutRepliesInput = {
@@ -657,6 +689,7 @@ export type BugCommentCreateWithoutParentInput = {
657
689
  bug: Prisma.BugCreateNestedOneWithoutCommentsInput
658
690
  user: Prisma.UserCreateNestedOneWithoutBugCommentsInput
659
691
  replies?: Prisma.BugCommentCreateNestedManyWithoutParentInput
692
+ reactions?: Prisma.BugCommentReactionCreateNestedManyWithoutCommentInput
660
693
  }
661
694
 
662
695
  export type BugCommentUncheckedCreateWithoutParentInput = {
@@ -667,6 +700,7 @@ export type BugCommentUncheckedCreateWithoutParentInput = {
667
700
  createdAt?: Date | string
668
701
  updatedAt?: Date | string
669
702
  replies?: Prisma.BugCommentUncheckedCreateNestedManyWithoutParentInput
703
+ reactions?: Prisma.BugCommentReactionUncheckedCreateNestedManyWithoutCommentInput
670
704
  }
671
705
 
672
706
  export type BugCommentCreateOrConnectWithoutParentInput = {
@@ -698,6 +732,7 @@ export type BugCommentUpdateWithoutRepliesInput = {
698
732
  bug?: Prisma.BugUpdateOneRequiredWithoutCommentsNestedInput
699
733
  user?: Prisma.UserUpdateOneRequiredWithoutBugCommentsNestedInput
700
734
  parent?: Prisma.BugCommentUpdateOneWithoutRepliesNestedInput
735
+ reactions?: Prisma.BugCommentReactionUpdateManyWithoutCommentNestedInput
701
736
  }
702
737
 
703
738
  export type BugCommentUncheckedUpdateWithoutRepliesInput = {
@@ -708,6 +743,7 @@ export type BugCommentUncheckedUpdateWithoutRepliesInput = {
708
743
  content?: Prisma.StringFieldUpdateOperationsInput | string
709
744
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
710
745
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
746
+ reactions?: Prisma.BugCommentReactionUncheckedUpdateManyWithoutCommentNestedInput
711
747
  }
712
748
 
713
749
  export type BugCommentUpsertWithWhereUniqueWithoutParentInput = {
@@ -726,6 +762,66 @@ export type BugCommentUpdateManyWithWhereWithoutParentInput = {
726
762
  data: Prisma.XOR<Prisma.BugCommentUpdateManyMutationInput, Prisma.BugCommentUncheckedUpdateManyWithoutParentInput>
727
763
  }
728
764
 
765
+ export type BugCommentCreateWithoutReactionsInput = {
766
+ id?: string
767
+ content: string
768
+ createdAt?: Date | string
769
+ updatedAt?: Date | string
770
+ bug: Prisma.BugCreateNestedOneWithoutCommentsInput
771
+ user: Prisma.UserCreateNestedOneWithoutBugCommentsInput
772
+ parent?: Prisma.BugCommentCreateNestedOneWithoutRepliesInput
773
+ replies?: Prisma.BugCommentCreateNestedManyWithoutParentInput
774
+ }
775
+
776
+ export type BugCommentUncheckedCreateWithoutReactionsInput = {
777
+ id?: string
778
+ bugId: string
779
+ userId: string
780
+ parentId?: string | null
781
+ content: string
782
+ createdAt?: Date | string
783
+ updatedAt?: Date | string
784
+ replies?: Prisma.BugCommentUncheckedCreateNestedManyWithoutParentInput
785
+ }
786
+
787
+ export type BugCommentCreateOrConnectWithoutReactionsInput = {
788
+ where: Prisma.BugCommentWhereUniqueInput
789
+ create: Prisma.XOR<Prisma.BugCommentCreateWithoutReactionsInput, Prisma.BugCommentUncheckedCreateWithoutReactionsInput>
790
+ }
791
+
792
+ export type BugCommentUpsertWithoutReactionsInput = {
793
+ update: Prisma.XOR<Prisma.BugCommentUpdateWithoutReactionsInput, Prisma.BugCommentUncheckedUpdateWithoutReactionsInput>
794
+ create: Prisma.XOR<Prisma.BugCommentCreateWithoutReactionsInput, Prisma.BugCommentUncheckedCreateWithoutReactionsInput>
795
+ where?: Prisma.BugCommentWhereInput
796
+ }
797
+
798
+ export type BugCommentUpdateToOneWithWhereWithoutReactionsInput = {
799
+ where?: Prisma.BugCommentWhereInput
800
+ data: Prisma.XOR<Prisma.BugCommentUpdateWithoutReactionsInput, Prisma.BugCommentUncheckedUpdateWithoutReactionsInput>
801
+ }
802
+
803
+ export type BugCommentUpdateWithoutReactionsInput = {
804
+ id?: Prisma.StringFieldUpdateOperationsInput | string
805
+ content?: Prisma.StringFieldUpdateOperationsInput | string
806
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
807
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
808
+ bug?: Prisma.BugUpdateOneRequiredWithoutCommentsNestedInput
809
+ user?: Prisma.UserUpdateOneRequiredWithoutBugCommentsNestedInput
810
+ parent?: Prisma.BugCommentUpdateOneWithoutRepliesNestedInput
811
+ replies?: Prisma.BugCommentUpdateManyWithoutParentNestedInput
812
+ }
813
+
814
+ export type BugCommentUncheckedUpdateWithoutReactionsInput = {
815
+ id?: Prisma.StringFieldUpdateOperationsInput | string
816
+ bugId?: Prisma.StringFieldUpdateOperationsInput | string
817
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
818
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
819
+ content?: Prisma.StringFieldUpdateOperationsInput | string
820
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
821
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
822
+ replies?: Prisma.BugCommentUncheckedUpdateManyWithoutParentNestedInput
823
+ }
824
+
729
825
  export type BugCommentCreateManyUserInput = {
730
826
  id?: string
731
827
  bugId: string
@@ -743,6 +839,7 @@ export type BugCommentUpdateWithoutUserInput = {
743
839
  bug?: Prisma.BugUpdateOneRequiredWithoutCommentsNestedInput
744
840
  parent?: Prisma.BugCommentUpdateOneWithoutRepliesNestedInput
745
841
  replies?: Prisma.BugCommentUpdateManyWithoutParentNestedInput
842
+ reactions?: Prisma.BugCommentReactionUpdateManyWithoutCommentNestedInput
746
843
  }
747
844
 
748
845
  export type BugCommentUncheckedUpdateWithoutUserInput = {
@@ -753,6 +850,7 @@ export type BugCommentUncheckedUpdateWithoutUserInput = {
753
850
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
754
851
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
755
852
  replies?: Prisma.BugCommentUncheckedUpdateManyWithoutParentNestedInput
853
+ reactions?: Prisma.BugCommentReactionUncheckedUpdateManyWithoutCommentNestedInput
756
854
  }
757
855
 
758
856
  export type BugCommentUncheckedUpdateManyWithoutUserInput = {
@@ -781,6 +879,7 @@ export type BugCommentUpdateWithoutBugInput = {
781
879
  user?: Prisma.UserUpdateOneRequiredWithoutBugCommentsNestedInput
782
880
  parent?: Prisma.BugCommentUpdateOneWithoutRepliesNestedInput
783
881
  replies?: Prisma.BugCommentUpdateManyWithoutParentNestedInput
882
+ reactions?: Prisma.BugCommentReactionUpdateManyWithoutCommentNestedInput
784
883
  }
785
884
 
786
885
  export type BugCommentUncheckedUpdateWithoutBugInput = {
@@ -791,6 +890,7 @@ export type BugCommentUncheckedUpdateWithoutBugInput = {
791
890
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
792
891
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
793
892
  replies?: Prisma.BugCommentUncheckedUpdateManyWithoutParentNestedInput
893
+ reactions?: Prisma.BugCommentReactionUncheckedUpdateManyWithoutCommentNestedInput
794
894
  }
795
895
 
796
896
  export type BugCommentUncheckedUpdateManyWithoutBugInput = {
@@ -819,6 +919,7 @@ export type BugCommentUpdateWithoutParentInput = {
819
919
  bug?: Prisma.BugUpdateOneRequiredWithoutCommentsNestedInput
820
920
  user?: Prisma.UserUpdateOneRequiredWithoutBugCommentsNestedInput
821
921
  replies?: Prisma.BugCommentUpdateManyWithoutParentNestedInput
922
+ reactions?: Prisma.BugCommentReactionUpdateManyWithoutCommentNestedInput
822
923
  }
823
924
 
824
925
  export type BugCommentUncheckedUpdateWithoutParentInput = {
@@ -829,6 +930,7 @@ export type BugCommentUncheckedUpdateWithoutParentInput = {
829
930
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
830
931
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
831
932
  replies?: Prisma.BugCommentUncheckedUpdateManyWithoutParentNestedInput
933
+ reactions?: Prisma.BugCommentReactionUncheckedUpdateManyWithoutCommentNestedInput
832
934
  }
833
935
 
834
936
  export type BugCommentUncheckedUpdateManyWithoutParentInput = {
@@ -847,10 +949,12 @@ export type BugCommentUncheckedUpdateManyWithoutParentInput = {
847
949
 
848
950
  export type BugCommentCountOutputType = {
849
951
  replies: number
952
+ reactions: number
850
953
  }
851
954
 
852
955
  export type BugCommentCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
853
956
  replies?: boolean | BugCommentCountOutputTypeCountRepliesArgs
957
+ reactions?: boolean | BugCommentCountOutputTypeCountReactionsArgs
854
958
  }
855
959
 
856
960
  /**
@@ -870,6 +974,13 @@ export type BugCommentCountOutputTypeCountRepliesArgs<ExtArgs extends runtime.Ty
870
974
  where?: Prisma.BugCommentWhereInput
871
975
  }
872
976
 
977
+ /**
978
+ * BugCommentCountOutputType without action
979
+ */
980
+ export type BugCommentCountOutputTypeCountReactionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
981
+ where?: Prisma.BugCommentReactionWhereInput
982
+ }
983
+
873
984
 
874
985
  export type BugCommentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
875
986
  id?: boolean
@@ -883,6 +994,7 @@ export type BugCommentSelect<ExtArgs extends runtime.Types.Extensions.InternalAr
883
994
  user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
884
995
  parent?: boolean | Prisma.BugComment$parentArgs<ExtArgs>
885
996
  replies?: boolean | Prisma.BugComment$repliesArgs<ExtArgs>
997
+ reactions?: boolean | Prisma.BugComment$reactionsArgs<ExtArgs>
886
998
  _count?: boolean | Prisma.BugCommentCountOutputTypeDefaultArgs<ExtArgs>
887
999
  }, ExtArgs["result"]["bugComment"]>
888
1000
 
@@ -928,6 +1040,7 @@ export type BugCommentInclude<ExtArgs extends runtime.Types.Extensions.InternalA
928
1040
  user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
929
1041
  parent?: boolean | Prisma.BugComment$parentArgs<ExtArgs>
930
1042
  replies?: boolean | Prisma.BugComment$repliesArgs<ExtArgs>
1043
+ reactions?: boolean | Prisma.BugComment$reactionsArgs<ExtArgs>
931
1044
  _count?: boolean | Prisma.BugCommentCountOutputTypeDefaultArgs<ExtArgs>
932
1045
  }
933
1046
  export type BugCommentIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -948,6 +1061,7 @@ export type $BugCommentPayload<ExtArgs extends runtime.Types.Extensions.Internal
948
1061
  user: Prisma.$UserPayload<ExtArgs>
949
1062
  parent: Prisma.$BugCommentPayload<ExtArgs> | null
950
1063
  replies: Prisma.$BugCommentPayload<ExtArgs>[]
1064
+ reactions: Prisma.$BugCommentReactionPayload<ExtArgs>[]
951
1065
  }
952
1066
  scalars: runtime.Types.Extensions.GetPayloadResult<{
953
1067
  id: string
@@ -1355,6 +1469,7 @@ export interface Prisma__BugCommentClient<T, Null = never, ExtArgs extends runti
1355
1469
  user<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1356
1470
  parent<T extends Prisma.BugComment$parentArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BugComment$parentArgs<ExtArgs>>): Prisma.Prisma__BugCommentClient<runtime.Types.Result.GetResult<Prisma.$BugCommentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1357
1471
  replies<T extends Prisma.BugComment$repliesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BugComment$repliesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BugCommentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1472
+ reactions<T extends Prisma.BugComment$reactionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BugComment$reactionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BugCommentReactionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1358
1473
  /**
1359
1474
  * Attaches callbacks for the resolution and/or rejection of the Promise.
1360
1475
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -1834,6 +1949,30 @@ export type BugComment$repliesArgs<ExtArgs extends runtime.Types.Extensions.Inte
1834
1949
  distinct?: Prisma.BugCommentScalarFieldEnum | Prisma.BugCommentScalarFieldEnum[]
1835
1950
  }
1836
1951
 
1952
+ /**
1953
+ * BugComment.reactions
1954
+ */
1955
+ export type BugComment$reactionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1956
+ /**
1957
+ * Select specific fields to fetch from the BugCommentReaction
1958
+ */
1959
+ select?: Prisma.BugCommentReactionSelect<ExtArgs> | null
1960
+ /**
1961
+ * Omit specific fields from the BugCommentReaction
1962
+ */
1963
+ omit?: Prisma.BugCommentReactionOmit<ExtArgs> | null
1964
+ /**
1965
+ * Choose, which related nodes to fetch as well
1966
+ */
1967
+ include?: Prisma.BugCommentReactionInclude<ExtArgs> | null
1968
+ where?: Prisma.BugCommentReactionWhereInput
1969
+ orderBy?: Prisma.BugCommentReactionOrderByWithRelationInput | Prisma.BugCommentReactionOrderByWithRelationInput[]
1970
+ cursor?: Prisma.BugCommentReactionWhereUniqueInput
1971
+ take?: number
1972
+ skip?: number
1973
+ distinct?: Prisma.BugCommentReactionScalarFieldEnum | Prisma.BugCommentReactionScalarFieldEnum[]
1974
+ }
1975
+
1837
1976
  /**
1838
1977
  * BugComment without action
1839
1978
  */