@allbluecn/database 0.4.15 → 0.4.17

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 (42) hide show
  1. package/generated/browser.ts +20 -0
  2. package/generated/client.ts +20 -0
  3. package/generated/commonInputTypes.ts +34 -0
  4. package/generated/internal/class.ts +44 -4
  5. package/generated/internal/prismaNamespace.ts +378 -3
  6. package/generated/internal/prismaNamespaceBrowser.ts +63 -2
  7. package/generated/models/Iteration.ts +1878 -0
  8. package/generated/models/IterationAutoSchedule.ts +1485 -0
  9. package/generated/models/KnowledgeBase.ts +138 -0
  10. package/generated/models/Project.ts +484 -0
  11. package/generated/models/ProjectKnowledgeBase.ts +1430 -0
  12. package/generated/models/Story.ts +663 -3
  13. package/generated/models/StoryAttachment.ts +110 -1
  14. package/generated/models/StoryExternalLink.ts +1352 -0
  15. package/generated/models/User.ts +618 -0
  16. package/generated/models.ts +4 -0
  17. package/generated-sqlite/browser.ts +20 -0
  18. package/generated-sqlite/client.ts +20 -0
  19. package/generated-sqlite/internal/class.ts +44 -4
  20. package/generated-sqlite/internal/prismaNamespace.ts +374 -2
  21. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +73 -1
  22. package/generated-sqlite/models/Iteration.ts +1874 -0
  23. package/generated-sqlite/models/IterationAutoSchedule.ts +1483 -0
  24. package/generated-sqlite/models/KnowledgeBase.ts +138 -0
  25. package/generated-sqlite/models/Project.ts +634 -0
  26. package/generated-sqlite/models/ProjectKnowledgeBase.ts +1426 -0
  27. package/generated-sqlite/models/Story.ts +3263 -0
  28. package/generated-sqlite/models/User.ts +2103 -107
  29. package/generated-sqlite/models.ts +4 -0
  30. package/index.ts +2 -2
  31. package/migrations/20260831063744_project_knowledge_base/migration.sql +24 -0
  32. package/migrations/20260831123150_story_external_link/migration.sql +19 -0
  33. package/migrations/20260831151740_story_attachment_bytes/migration.sql +2 -0
  34. package/migrations/20260831203925_story_attachment_file_hash/migration.sql +2 -0
  35. package/migrations/20260901010000_story_attachment_description/migration.sql +2 -0
  36. package/migrations/20260901020000_story_attachment_file_hash/migration.sql +2 -0
  37. package/migrations/20260901134601_iterations/migration.sql +52 -0
  38. package/migrations/20260902000000_story_identifier_per_project/migration.sql +37 -0
  39. package/migrations/20260902000100_story_identifier_counter_init/migration.sql +11 -0
  40. package/package.json +12 -5
  41. package/schema.prisma +98 -17
  42. package/schema.sqlite.prisma +112 -9
@@ -227,6 +227,9 @@ export type ProjectWhereInput = {
227
227
  members?: Prisma.ProjectMemberListRelationFilter
228
228
  activities?: Prisma.ProjectActivityListRelationFilter
229
229
  stories?: Prisma.StoryListRelationFilter
230
+ iterations?: Prisma.IterationListRelationFilter
231
+ iterationAutoSchedule?: Prisma.XOR<Prisma.IterationAutoScheduleNullableScalarRelationFilter, Prisma.IterationAutoScheduleWhereInput> | null
232
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseListRelationFilter
230
233
  }
231
234
 
232
235
  export type ProjectOrderByWithRelationInput = {
@@ -245,6 +248,9 @@ export type ProjectOrderByWithRelationInput = {
245
248
  members?: Prisma.ProjectMemberOrderByRelationAggregateInput
246
249
  activities?: Prisma.ProjectActivityOrderByRelationAggregateInput
247
250
  stories?: Prisma.StoryOrderByRelationAggregateInput
251
+ iterations?: Prisma.IterationOrderByRelationAggregateInput
252
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleOrderByWithRelationInput
253
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseOrderByRelationAggregateInput
248
254
  }
249
255
 
250
256
  export type ProjectWhereUniqueInput = Prisma.AtLeast<{
@@ -267,6 +273,9 @@ export type ProjectWhereUniqueInput = Prisma.AtLeast<{
267
273
  members?: Prisma.ProjectMemberListRelationFilter
268
274
  activities?: Prisma.ProjectActivityListRelationFilter
269
275
  stories?: Prisma.StoryListRelationFilter
276
+ iterations?: Prisma.IterationListRelationFilter
277
+ iterationAutoSchedule?: Prisma.XOR<Prisma.IterationAutoScheduleNullableScalarRelationFilter, Prisma.IterationAutoScheduleWhereInput> | null
278
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseListRelationFilter
270
279
  }, "id" | "ownerId_displayId">
271
280
 
272
281
  export type ProjectOrderByWithAggregationInput = {
@@ -315,6 +324,9 @@ export type ProjectCreateInput = {
315
324
  members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
316
325
  activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
317
326
  stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
327
+ iterations?: Prisma.IterationCreateNestedManyWithoutProjectInput
328
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleCreateNestedOneWithoutProjectInput
329
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
318
330
  }
319
331
 
320
332
  export type ProjectUncheckedCreateInput = {
@@ -331,6 +343,9 @@ export type ProjectUncheckedCreateInput = {
331
343
  members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
332
344
  activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
333
345
  stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
346
+ iterations?: Prisma.IterationUncheckedCreateNestedManyWithoutProjectInput
347
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedCreateNestedOneWithoutProjectInput
348
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
334
349
  }
335
350
 
336
351
  export type ProjectUpdateInput = {
@@ -347,6 +362,9 @@ export type ProjectUpdateInput = {
347
362
  members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
348
363
  activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
349
364
  stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
365
+ iterations?: Prisma.IterationUpdateManyWithoutProjectNestedInput
366
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUpdateOneWithoutProjectNestedInput
367
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
350
368
  }
351
369
 
352
370
  export type ProjectUncheckedUpdateInput = {
@@ -363,6 +381,9 @@ export type ProjectUncheckedUpdateInput = {
363
381
  members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
364
382
  activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
365
383
  stories?: Prisma.StoryUncheckedUpdateManyWithoutProjectNestedInput
384
+ iterations?: Prisma.IterationUncheckedUpdateManyWithoutProjectNestedInput
385
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedUpdateOneWithoutProjectNestedInput
386
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
366
387
  }
367
388
 
368
389
  export type ProjectCreateManyInput = {
@@ -587,6 +608,48 @@ export type ProjectUpdateOneRequiredWithoutStoriesNestedInput = {
587
608
  update?: Prisma.XOR<Prisma.XOR<Prisma.ProjectUpdateToOneWithWhereWithoutStoriesInput, Prisma.ProjectUpdateWithoutStoriesInput>, Prisma.ProjectUncheckedUpdateWithoutStoriesInput>
588
609
  }
589
610
 
611
+ export type ProjectCreateNestedOneWithoutKnowledgeBasesInput = {
612
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutKnowledgeBasesInput, Prisma.ProjectUncheckedCreateWithoutKnowledgeBasesInput>
613
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutKnowledgeBasesInput
614
+ connect?: Prisma.ProjectWhereUniqueInput
615
+ }
616
+
617
+ export type ProjectUpdateOneRequiredWithoutKnowledgeBasesNestedInput = {
618
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutKnowledgeBasesInput, Prisma.ProjectUncheckedCreateWithoutKnowledgeBasesInput>
619
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutKnowledgeBasesInput
620
+ upsert?: Prisma.ProjectUpsertWithoutKnowledgeBasesInput
621
+ connect?: Prisma.ProjectWhereUniqueInput
622
+ update?: Prisma.XOR<Prisma.XOR<Prisma.ProjectUpdateToOneWithWhereWithoutKnowledgeBasesInput, Prisma.ProjectUpdateWithoutKnowledgeBasesInput>, Prisma.ProjectUncheckedUpdateWithoutKnowledgeBasesInput>
623
+ }
624
+
625
+ export type ProjectCreateNestedOneWithoutIterationsInput = {
626
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutIterationsInput, Prisma.ProjectUncheckedCreateWithoutIterationsInput>
627
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutIterationsInput
628
+ connect?: Prisma.ProjectWhereUniqueInput
629
+ }
630
+
631
+ export type ProjectUpdateOneRequiredWithoutIterationsNestedInput = {
632
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutIterationsInput, Prisma.ProjectUncheckedCreateWithoutIterationsInput>
633
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutIterationsInput
634
+ upsert?: Prisma.ProjectUpsertWithoutIterationsInput
635
+ connect?: Prisma.ProjectWhereUniqueInput
636
+ update?: Prisma.XOR<Prisma.XOR<Prisma.ProjectUpdateToOneWithWhereWithoutIterationsInput, Prisma.ProjectUpdateWithoutIterationsInput>, Prisma.ProjectUncheckedUpdateWithoutIterationsInput>
637
+ }
638
+
639
+ export type ProjectCreateNestedOneWithoutIterationAutoScheduleInput = {
640
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutIterationAutoScheduleInput, Prisma.ProjectUncheckedCreateWithoutIterationAutoScheduleInput>
641
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutIterationAutoScheduleInput
642
+ connect?: Prisma.ProjectWhereUniqueInput
643
+ }
644
+
645
+ export type ProjectUpdateOneRequiredWithoutIterationAutoScheduleNestedInput = {
646
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutIterationAutoScheduleInput, Prisma.ProjectUncheckedCreateWithoutIterationAutoScheduleInput>
647
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutIterationAutoScheduleInput
648
+ upsert?: Prisma.ProjectUpsertWithoutIterationAutoScheduleInput
649
+ connect?: Prisma.ProjectWhereUniqueInput
650
+ update?: Prisma.XOR<Prisma.XOR<Prisma.ProjectUpdateToOneWithWhereWithoutIterationAutoScheduleInput, Prisma.ProjectUpdateWithoutIterationAutoScheduleInput>, Prisma.ProjectUncheckedUpdateWithoutIterationAutoScheduleInput>
651
+ }
652
+
590
653
  export type ProjectCreateWithoutOwnerInput = {
591
654
  id?: string
592
655
  displayId?: string | null
@@ -600,6 +663,9 @@ export type ProjectCreateWithoutOwnerInput = {
600
663
  members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
601
664
  activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
602
665
  stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
666
+ iterations?: Prisma.IterationCreateNestedManyWithoutProjectInput
667
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleCreateNestedOneWithoutProjectInput
668
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
603
669
  }
604
670
 
605
671
  export type ProjectUncheckedCreateWithoutOwnerInput = {
@@ -615,6 +681,9 @@ export type ProjectUncheckedCreateWithoutOwnerInput = {
615
681
  members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
616
682
  activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
617
683
  stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
684
+ iterations?: Prisma.IterationUncheckedCreateNestedManyWithoutProjectInput
685
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedCreateNestedOneWithoutProjectInput
686
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
618
687
  }
619
688
 
620
689
  export type ProjectCreateOrConnectWithoutOwnerInput = {
@@ -672,6 +741,9 @@ export type ProjectCreateWithoutMembersInput = {
672
741
  workspace?: Prisma.WorkspaceCreateNestedOneWithoutProjectsInput
673
742
  activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
674
743
  stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
744
+ iterations?: Prisma.IterationCreateNestedManyWithoutProjectInput
745
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleCreateNestedOneWithoutProjectInput
746
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
675
747
  }
676
748
 
677
749
  export type ProjectUncheckedCreateWithoutMembersInput = {
@@ -687,6 +759,9 @@ export type ProjectUncheckedCreateWithoutMembersInput = {
687
759
  updatedAt?: Date | string
688
760
  activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
689
761
  stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
762
+ iterations?: Prisma.IterationUncheckedCreateNestedManyWithoutProjectInput
763
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedCreateNestedOneWithoutProjectInput
764
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
690
765
  }
691
766
 
692
767
  export type ProjectCreateOrConnectWithoutMembersInput = {
@@ -718,6 +793,9 @@ export type ProjectUpdateWithoutMembersInput = {
718
793
  workspace?: Prisma.WorkspaceUpdateOneWithoutProjectsNestedInput
719
794
  activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
720
795
  stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
796
+ iterations?: Prisma.IterationUpdateManyWithoutProjectNestedInput
797
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUpdateOneWithoutProjectNestedInput
798
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
721
799
  }
722
800
 
723
801
  export type ProjectUncheckedUpdateWithoutMembersInput = {
@@ -733,6 +811,9 @@ export type ProjectUncheckedUpdateWithoutMembersInput = {
733
811
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
734
812
  activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
735
813
  stories?: Prisma.StoryUncheckedUpdateManyWithoutProjectNestedInput
814
+ iterations?: Prisma.IterationUncheckedUpdateManyWithoutProjectNestedInput
815
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedUpdateOneWithoutProjectNestedInput
816
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
736
817
  }
737
818
 
738
819
  export type ProjectCreateWithoutWorkspaceInput = {
@@ -748,6 +829,9 @@ export type ProjectCreateWithoutWorkspaceInput = {
748
829
  members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
749
830
  activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
750
831
  stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
832
+ iterations?: Prisma.IterationCreateNestedManyWithoutProjectInput
833
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleCreateNestedOneWithoutProjectInput
834
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
751
835
  }
752
836
 
753
837
  export type ProjectUncheckedCreateWithoutWorkspaceInput = {
@@ -763,6 +847,9 @@ export type ProjectUncheckedCreateWithoutWorkspaceInput = {
763
847
  members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
764
848
  activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
765
849
  stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
850
+ iterations?: Prisma.IterationUncheckedCreateNestedManyWithoutProjectInput
851
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedCreateNestedOneWithoutProjectInput
852
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
766
853
  }
767
854
 
768
855
  export type ProjectCreateOrConnectWithoutWorkspaceInput = {
@@ -804,6 +891,9 @@ export type ProjectCreateWithoutActivitiesInput = {
804
891
  workspace?: Prisma.WorkspaceCreateNestedOneWithoutProjectsInput
805
892
  members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
806
893
  stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
894
+ iterations?: Prisma.IterationCreateNestedManyWithoutProjectInput
895
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleCreateNestedOneWithoutProjectInput
896
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
807
897
  }
808
898
 
809
899
  export type ProjectUncheckedCreateWithoutActivitiesInput = {
@@ -819,6 +909,9 @@ export type ProjectUncheckedCreateWithoutActivitiesInput = {
819
909
  updatedAt?: Date | string
820
910
  members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
821
911
  stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
912
+ iterations?: Prisma.IterationUncheckedCreateNestedManyWithoutProjectInput
913
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedCreateNestedOneWithoutProjectInput
914
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
822
915
  }
823
916
 
824
917
  export type ProjectCreateOrConnectWithoutActivitiesInput = {
@@ -850,6 +943,9 @@ export type ProjectUpdateWithoutActivitiesInput = {
850
943
  workspace?: Prisma.WorkspaceUpdateOneWithoutProjectsNestedInput
851
944
  members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
852
945
  stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
946
+ iterations?: Prisma.IterationUpdateManyWithoutProjectNestedInput
947
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUpdateOneWithoutProjectNestedInput
948
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
853
949
  }
854
950
 
855
951
  export type ProjectUncheckedUpdateWithoutActivitiesInput = {
@@ -865,6 +961,9 @@ export type ProjectUncheckedUpdateWithoutActivitiesInput = {
865
961
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
866
962
  members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
867
963
  stories?: Prisma.StoryUncheckedUpdateManyWithoutProjectNestedInput
964
+ iterations?: Prisma.IterationUncheckedUpdateManyWithoutProjectNestedInput
965
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedUpdateOneWithoutProjectNestedInput
966
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
868
967
  }
869
968
 
870
969
  export type ProjectCreateWithoutStoriesInput = {
@@ -880,6 +979,9 @@ export type ProjectCreateWithoutStoriesInput = {
880
979
  workspace?: Prisma.WorkspaceCreateNestedOneWithoutProjectsInput
881
980
  members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
882
981
  activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
982
+ iterations?: Prisma.IterationCreateNestedManyWithoutProjectInput
983
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleCreateNestedOneWithoutProjectInput
984
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
883
985
  }
884
986
 
885
987
  export type ProjectUncheckedCreateWithoutStoriesInput = {
@@ -895,6 +997,9 @@ export type ProjectUncheckedCreateWithoutStoriesInput = {
895
997
  updatedAt?: Date | string
896
998
  members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
897
999
  activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
1000
+ iterations?: Prisma.IterationUncheckedCreateNestedManyWithoutProjectInput
1001
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedCreateNestedOneWithoutProjectInput
1002
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
898
1003
  }
899
1004
 
900
1005
  export type ProjectCreateOrConnectWithoutStoriesInput = {
@@ -926,6 +1031,9 @@ export type ProjectUpdateWithoutStoriesInput = {
926
1031
  workspace?: Prisma.WorkspaceUpdateOneWithoutProjectsNestedInput
927
1032
  members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
928
1033
  activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
1034
+ iterations?: Prisma.IterationUpdateManyWithoutProjectNestedInput
1035
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUpdateOneWithoutProjectNestedInput
1036
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
929
1037
  }
930
1038
 
931
1039
  export type ProjectUncheckedUpdateWithoutStoriesInput = {
@@ -941,6 +1049,273 @@ export type ProjectUncheckedUpdateWithoutStoriesInput = {
941
1049
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
942
1050
  members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
943
1051
  activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
1052
+ iterations?: Prisma.IterationUncheckedUpdateManyWithoutProjectNestedInput
1053
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedUpdateOneWithoutProjectNestedInput
1054
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
1055
+ }
1056
+
1057
+ export type ProjectCreateWithoutKnowledgeBasesInput = {
1058
+ id?: string
1059
+ displayId?: string | null
1060
+ name: string
1061
+ description?: string | null
1062
+ icon?: string
1063
+ timezone?: string | null
1064
+ createdAt?: Date | string
1065
+ updatedAt?: Date | string
1066
+ owner: Prisma.UserCreateNestedOneWithoutOwnedProjectsInput
1067
+ workspace?: Prisma.WorkspaceCreateNestedOneWithoutProjectsInput
1068
+ members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
1069
+ activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
1070
+ stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
1071
+ iterations?: Prisma.IterationCreateNestedManyWithoutProjectInput
1072
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleCreateNestedOneWithoutProjectInput
1073
+ }
1074
+
1075
+ export type ProjectUncheckedCreateWithoutKnowledgeBasesInput = {
1076
+ id?: string
1077
+ displayId?: string | null
1078
+ name: string
1079
+ description?: string | null
1080
+ icon?: string
1081
+ timezone?: string | null
1082
+ ownerId: string
1083
+ workspaceId?: string | null
1084
+ createdAt?: Date | string
1085
+ updatedAt?: Date | string
1086
+ members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
1087
+ activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
1088
+ stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
1089
+ iterations?: Prisma.IterationUncheckedCreateNestedManyWithoutProjectInput
1090
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedCreateNestedOneWithoutProjectInput
1091
+ }
1092
+
1093
+ export type ProjectCreateOrConnectWithoutKnowledgeBasesInput = {
1094
+ where: Prisma.ProjectWhereUniqueInput
1095
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutKnowledgeBasesInput, Prisma.ProjectUncheckedCreateWithoutKnowledgeBasesInput>
1096
+ }
1097
+
1098
+ export type ProjectUpsertWithoutKnowledgeBasesInput = {
1099
+ update: Prisma.XOR<Prisma.ProjectUpdateWithoutKnowledgeBasesInput, Prisma.ProjectUncheckedUpdateWithoutKnowledgeBasesInput>
1100
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutKnowledgeBasesInput, Prisma.ProjectUncheckedCreateWithoutKnowledgeBasesInput>
1101
+ where?: Prisma.ProjectWhereInput
1102
+ }
1103
+
1104
+ export type ProjectUpdateToOneWithWhereWithoutKnowledgeBasesInput = {
1105
+ where?: Prisma.ProjectWhereInput
1106
+ data: Prisma.XOR<Prisma.ProjectUpdateWithoutKnowledgeBasesInput, Prisma.ProjectUncheckedUpdateWithoutKnowledgeBasesInput>
1107
+ }
1108
+
1109
+ export type ProjectUpdateWithoutKnowledgeBasesInput = {
1110
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1111
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1112
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1113
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1114
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
1115
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1116
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1117
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1118
+ owner?: Prisma.UserUpdateOneRequiredWithoutOwnedProjectsNestedInput
1119
+ workspace?: Prisma.WorkspaceUpdateOneWithoutProjectsNestedInput
1120
+ members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
1121
+ activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
1122
+ stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
1123
+ iterations?: Prisma.IterationUpdateManyWithoutProjectNestedInput
1124
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUpdateOneWithoutProjectNestedInput
1125
+ }
1126
+
1127
+ export type ProjectUncheckedUpdateWithoutKnowledgeBasesInput = {
1128
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1129
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1130
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1131
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1132
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
1133
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1134
+ ownerId?: Prisma.StringFieldUpdateOperationsInput | string
1135
+ workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1136
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1137
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1138
+ members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
1139
+ activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
1140
+ stories?: Prisma.StoryUncheckedUpdateManyWithoutProjectNestedInput
1141
+ iterations?: Prisma.IterationUncheckedUpdateManyWithoutProjectNestedInput
1142
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedUpdateOneWithoutProjectNestedInput
1143
+ }
1144
+
1145
+ export type ProjectCreateWithoutIterationsInput = {
1146
+ id?: string
1147
+ displayId?: string | null
1148
+ name: string
1149
+ description?: string | null
1150
+ icon?: string
1151
+ timezone?: string | null
1152
+ createdAt?: Date | string
1153
+ updatedAt?: Date | string
1154
+ owner: Prisma.UserCreateNestedOneWithoutOwnedProjectsInput
1155
+ workspace?: Prisma.WorkspaceCreateNestedOneWithoutProjectsInput
1156
+ members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
1157
+ activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
1158
+ stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
1159
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleCreateNestedOneWithoutProjectInput
1160
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
1161
+ }
1162
+
1163
+ export type ProjectUncheckedCreateWithoutIterationsInput = {
1164
+ id?: string
1165
+ displayId?: string | null
1166
+ name: string
1167
+ description?: string | null
1168
+ icon?: string
1169
+ timezone?: string | null
1170
+ ownerId: string
1171
+ workspaceId?: string | null
1172
+ createdAt?: Date | string
1173
+ updatedAt?: Date | string
1174
+ members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
1175
+ activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
1176
+ stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
1177
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedCreateNestedOneWithoutProjectInput
1178
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
1179
+ }
1180
+
1181
+ export type ProjectCreateOrConnectWithoutIterationsInput = {
1182
+ where: Prisma.ProjectWhereUniqueInput
1183
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutIterationsInput, Prisma.ProjectUncheckedCreateWithoutIterationsInput>
1184
+ }
1185
+
1186
+ export type ProjectUpsertWithoutIterationsInput = {
1187
+ update: Prisma.XOR<Prisma.ProjectUpdateWithoutIterationsInput, Prisma.ProjectUncheckedUpdateWithoutIterationsInput>
1188
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutIterationsInput, Prisma.ProjectUncheckedCreateWithoutIterationsInput>
1189
+ where?: Prisma.ProjectWhereInput
1190
+ }
1191
+
1192
+ export type ProjectUpdateToOneWithWhereWithoutIterationsInput = {
1193
+ where?: Prisma.ProjectWhereInput
1194
+ data: Prisma.XOR<Prisma.ProjectUpdateWithoutIterationsInput, Prisma.ProjectUncheckedUpdateWithoutIterationsInput>
1195
+ }
1196
+
1197
+ export type ProjectUpdateWithoutIterationsInput = {
1198
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1199
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1200
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1201
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1202
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
1203
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1204
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1205
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1206
+ owner?: Prisma.UserUpdateOneRequiredWithoutOwnedProjectsNestedInput
1207
+ workspace?: Prisma.WorkspaceUpdateOneWithoutProjectsNestedInput
1208
+ members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
1209
+ activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
1210
+ stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
1211
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUpdateOneWithoutProjectNestedInput
1212
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
1213
+ }
1214
+
1215
+ export type ProjectUncheckedUpdateWithoutIterationsInput = {
1216
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1217
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1218
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1219
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1220
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
1221
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1222
+ ownerId?: Prisma.StringFieldUpdateOperationsInput | string
1223
+ workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1224
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1225
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1226
+ members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
1227
+ activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
1228
+ stories?: Prisma.StoryUncheckedUpdateManyWithoutProjectNestedInput
1229
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedUpdateOneWithoutProjectNestedInput
1230
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
1231
+ }
1232
+
1233
+ export type ProjectCreateWithoutIterationAutoScheduleInput = {
1234
+ id?: string
1235
+ displayId?: string | null
1236
+ name: string
1237
+ description?: string | null
1238
+ icon?: string
1239
+ timezone?: string | null
1240
+ createdAt?: Date | string
1241
+ updatedAt?: Date | string
1242
+ owner: Prisma.UserCreateNestedOneWithoutOwnedProjectsInput
1243
+ workspace?: Prisma.WorkspaceCreateNestedOneWithoutProjectsInput
1244
+ members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
1245
+ activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
1246
+ stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
1247
+ iterations?: Prisma.IterationCreateNestedManyWithoutProjectInput
1248
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
1249
+ }
1250
+
1251
+ export type ProjectUncheckedCreateWithoutIterationAutoScheduleInput = {
1252
+ id?: string
1253
+ displayId?: string | null
1254
+ name: string
1255
+ description?: string | null
1256
+ icon?: string
1257
+ timezone?: string | null
1258
+ ownerId: string
1259
+ workspaceId?: string | null
1260
+ createdAt?: Date | string
1261
+ updatedAt?: Date | string
1262
+ members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
1263
+ activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
1264
+ stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
1265
+ iterations?: Prisma.IterationUncheckedCreateNestedManyWithoutProjectInput
1266
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
1267
+ }
1268
+
1269
+ export type ProjectCreateOrConnectWithoutIterationAutoScheduleInput = {
1270
+ where: Prisma.ProjectWhereUniqueInput
1271
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutIterationAutoScheduleInput, Prisma.ProjectUncheckedCreateWithoutIterationAutoScheduleInput>
1272
+ }
1273
+
1274
+ export type ProjectUpsertWithoutIterationAutoScheduleInput = {
1275
+ update: Prisma.XOR<Prisma.ProjectUpdateWithoutIterationAutoScheduleInput, Prisma.ProjectUncheckedUpdateWithoutIterationAutoScheduleInput>
1276
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutIterationAutoScheduleInput, Prisma.ProjectUncheckedCreateWithoutIterationAutoScheduleInput>
1277
+ where?: Prisma.ProjectWhereInput
1278
+ }
1279
+
1280
+ export type ProjectUpdateToOneWithWhereWithoutIterationAutoScheduleInput = {
1281
+ where?: Prisma.ProjectWhereInput
1282
+ data: Prisma.XOR<Prisma.ProjectUpdateWithoutIterationAutoScheduleInput, Prisma.ProjectUncheckedUpdateWithoutIterationAutoScheduleInput>
1283
+ }
1284
+
1285
+ export type ProjectUpdateWithoutIterationAutoScheduleInput = {
1286
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1287
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1288
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1289
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1290
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
1291
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1292
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1293
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1294
+ owner?: Prisma.UserUpdateOneRequiredWithoutOwnedProjectsNestedInput
1295
+ workspace?: Prisma.WorkspaceUpdateOneWithoutProjectsNestedInput
1296
+ members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
1297
+ activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
1298
+ stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
1299
+ iterations?: Prisma.IterationUpdateManyWithoutProjectNestedInput
1300
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
1301
+ }
1302
+
1303
+ export type ProjectUncheckedUpdateWithoutIterationAutoScheduleInput = {
1304
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1305
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1306
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1307
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1308
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
1309
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1310
+ ownerId?: Prisma.StringFieldUpdateOperationsInput | string
1311
+ workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1312
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1313
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1314
+ members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
1315
+ activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
1316
+ stories?: Prisma.StoryUncheckedUpdateManyWithoutProjectNestedInput
1317
+ iterations?: Prisma.IterationUncheckedUpdateManyWithoutProjectNestedInput
1318
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
944
1319
  }
945
1320
 
946
1321
  export type ProjectCreateManyOwnerInput = {
@@ -968,6 +1343,9 @@ export type ProjectUpdateWithoutOwnerInput = {
968
1343
  members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
969
1344
  activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
970
1345
  stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
1346
+ iterations?: Prisma.IterationUpdateManyWithoutProjectNestedInput
1347
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUpdateOneWithoutProjectNestedInput
1348
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
971
1349
  }
972
1350
 
973
1351
  export type ProjectUncheckedUpdateWithoutOwnerInput = {
@@ -983,6 +1361,9 @@ export type ProjectUncheckedUpdateWithoutOwnerInput = {
983
1361
  members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
984
1362
  activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
985
1363
  stories?: Prisma.StoryUncheckedUpdateManyWithoutProjectNestedInput
1364
+ iterations?: Prisma.IterationUncheckedUpdateManyWithoutProjectNestedInput
1365
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedUpdateOneWithoutProjectNestedInput
1366
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
986
1367
  }
987
1368
 
988
1369
  export type ProjectUncheckedUpdateManyWithoutOwnerInput = {
@@ -1022,6 +1403,9 @@ export type ProjectUpdateWithoutWorkspaceInput = {
1022
1403
  members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
1023
1404
  activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
1024
1405
  stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
1406
+ iterations?: Prisma.IterationUpdateManyWithoutProjectNestedInput
1407
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUpdateOneWithoutProjectNestedInput
1408
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
1025
1409
  }
1026
1410
 
1027
1411
  export type ProjectUncheckedUpdateWithoutWorkspaceInput = {
@@ -1037,6 +1421,9 @@ export type ProjectUncheckedUpdateWithoutWorkspaceInput = {
1037
1421
  members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
1038
1422
  activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
1039
1423
  stories?: Prisma.StoryUncheckedUpdateManyWithoutProjectNestedInput
1424
+ iterations?: Prisma.IterationUncheckedUpdateManyWithoutProjectNestedInput
1425
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedUpdateOneWithoutProjectNestedInput
1426
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
1040
1427
  }
1041
1428
 
1042
1429
  export type ProjectUncheckedUpdateManyWithoutWorkspaceInput = {
@@ -1060,12 +1447,16 @@ export type ProjectCountOutputType = {
1060
1447
  members: number
1061
1448
  activities: number
1062
1449
  stories: number
1450
+ iterations: number
1451
+ knowledgeBases: number
1063
1452
  }
1064
1453
 
1065
1454
  export type ProjectCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1066
1455
  members?: boolean | ProjectCountOutputTypeCountMembersArgs
1067
1456
  activities?: boolean | ProjectCountOutputTypeCountActivitiesArgs
1068
1457
  stories?: boolean | ProjectCountOutputTypeCountStoriesArgs
1458
+ iterations?: boolean | ProjectCountOutputTypeCountIterationsArgs
1459
+ knowledgeBases?: boolean | ProjectCountOutputTypeCountKnowledgeBasesArgs
1069
1460
  }
1070
1461
 
1071
1462
  /**
@@ -1099,6 +1490,20 @@ export type ProjectCountOutputTypeCountStoriesArgs<ExtArgs extends runtime.Types
1099
1490
  where?: Prisma.StoryWhereInput
1100
1491
  }
1101
1492
 
1493
+ /**
1494
+ * ProjectCountOutputType without action
1495
+ */
1496
+ export type ProjectCountOutputTypeCountIterationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1497
+ where?: Prisma.IterationWhereInput
1498
+ }
1499
+
1500
+ /**
1501
+ * ProjectCountOutputType without action
1502
+ */
1503
+ export type ProjectCountOutputTypeCountKnowledgeBasesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1504
+ where?: Prisma.ProjectKnowledgeBaseWhereInput
1505
+ }
1506
+
1102
1507
 
1103
1508
  export type ProjectSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1104
1509
  id?: boolean
@@ -1116,6 +1521,9 @@ export type ProjectSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
1116
1521
  members?: boolean | Prisma.Project$membersArgs<ExtArgs>
1117
1522
  activities?: boolean | Prisma.Project$activitiesArgs<ExtArgs>
1118
1523
  stories?: boolean | Prisma.Project$storiesArgs<ExtArgs>
1524
+ iterations?: boolean | Prisma.Project$iterationsArgs<ExtArgs>
1525
+ iterationAutoSchedule?: boolean | Prisma.Project$iterationAutoScheduleArgs<ExtArgs>
1526
+ knowledgeBases?: boolean | Prisma.Project$knowledgeBasesArgs<ExtArgs>
1119
1527
  _count?: boolean | Prisma.ProjectCountOutputTypeDefaultArgs<ExtArgs>
1120
1528
  }, ExtArgs["result"]["project"]>
1121
1529
 
@@ -1169,6 +1577,9 @@ export type ProjectInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs
1169
1577
  members?: boolean | Prisma.Project$membersArgs<ExtArgs>
1170
1578
  activities?: boolean | Prisma.Project$activitiesArgs<ExtArgs>
1171
1579
  stories?: boolean | Prisma.Project$storiesArgs<ExtArgs>
1580
+ iterations?: boolean | Prisma.Project$iterationsArgs<ExtArgs>
1581
+ iterationAutoSchedule?: boolean | Prisma.Project$iterationAutoScheduleArgs<ExtArgs>
1582
+ knowledgeBases?: boolean | Prisma.Project$knowledgeBasesArgs<ExtArgs>
1172
1583
  _count?: boolean | Prisma.ProjectCountOutputTypeDefaultArgs<ExtArgs>
1173
1584
  }
1174
1585
  export type ProjectIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -1188,6 +1599,9 @@ export type $ProjectPayload<ExtArgs extends runtime.Types.Extensions.InternalArg
1188
1599
  members: Prisma.$ProjectMemberPayload<ExtArgs>[]
1189
1600
  activities: Prisma.$ProjectActivityPayload<ExtArgs>[]
1190
1601
  stories: Prisma.$StoryPayload<ExtArgs>[]
1602
+ iterations: Prisma.$IterationPayload<ExtArgs>[]
1603
+ iterationAutoSchedule: Prisma.$IterationAutoSchedulePayload<ExtArgs> | null
1604
+ knowledgeBases: Prisma.$ProjectKnowledgeBasePayload<ExtArgs>[]
1191
1605
  }
1192
1606
  scalars: runtime.Types.Extensions.GetPayloadResult<{
1193
1607
  id: string
@@ -1599,6 +2013,9 @@ export interface Prisma__ProjectClient<T, Null = never, ExtArgs extends runtime.
1599
2013
  members<T extends Prisma.Project$membersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Project$membersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectMemberPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1600
2014
  activities<T extends Prisma.Project$activitiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Project$activitiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectActivityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1601
2015
  stories<T extends Prisma.Project$storiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Project$storiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StoryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2016
+ iterations<T extends Prisma.Project$iterationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Project$iterationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$IterationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2017
+ iterationAutoSchedule<T extends Prisma.Project$iterationAutoScheduleArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Project$iterationAutoScheduleArgs<ExtArgs>>): Prisma.Prisma__IterationAutoScheduleClient<runtime.Types.Result.GetResult<Prisma.$IterationAutoSchedulePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2018
+ knowledgeBases<T extends Prisma.Project$knowledgeBasesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Project$knowledgeBasesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectKnowledgeBasePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1602
2019
  /**
1603
2020
  * Attaches callbacks for the resolution and/or rejection of the Promise.
1604
2021
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -2129,6 +2546,73 @@ export type Project$storiesArgs<ExtArgs extends runtime.Types.Extensions.Interna
2129
2546
  distinct?: Prisma.StoryScalarFieldEnum | Prisma.StoryScalarFieldEnum[]
2130
2547
  }
2131
2548
 
2549
+ /**
2550
+ * Project.iterations
2551
+ */
2552
+ export type Project$iterationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2553
+ /**
2554
+ * Select specific fields to fetch from the Iteration
2555
+ */
2556
+ select?: Prisma.IterationSelect<ExtArgs> | null
2557
+ /**
2558
+ * Omit specific fields from the Iteration
2559
+ */
2560
+ omit?: Prisma.IterationOmit<ExtArgs> | null
2561
+ /**
2562
+ * Choose, which related nodes to fetch as well
2563
+ */
2564
+ include?: Prisma.IterationInclude<ExtArgs> | null
2565
+ where?: Prisma.IterationWhereInput
2566
+ orderBy?: Prisma.IterationOrderByWithRelationInput | Prisma.IterationOrderByWithRelationInput[]
2567
+ cursor?: Prisma.IterationWhereUniqueInput
2568
+ take?: number
2569
+ skip?: number
2570
+ distinct?: Prisma.IterationScalarFieldEnum | Prisma.IterationScalarFieldEnum[]
2571
+ }
2572
+
2573
+ /**
2574
+ * Project.iterationAutoSchedule
2575
+ */
2576
+ export type Project$iterationAutoScheduleArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2577
+ /**
2578
+ * Select specific fields to fetch from the IterationAutoSchedule
2579
+ */
2580
+ select?: Prisma.IterationAutoScheduleSelect<ExtArgs> | null
2581
+ /**
2582
+ * Omit specific fields from the IterationAutoSchedule
2583
+ */
2584
+ omit?: Prisma.IterationAutoScheduleOmit<ExtArgs> | null
2585
+ /**
2586
+ * Choose, which related nodes to fetch as well
2587
+ */
2588
+ include?: Prisma.IterationAutoScheduleInclude<ExtArgs> | null
2589
+ where?: Prisma.IterationAutoScheduleWhereInput
2590
+ }
2591
+
2592
+ /**
2593
+ * Project.knowledgeBases
2594
+ */
2595
+ export type Project$knowledgeBasesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2596
+ /**
2597
+ * Select specific fields to fetch from the ProjectKnowledgeBase
2598
+ */
2599
+ select?: Prisma.ProjectKnowledgeBaseSelect<ExtArgs> | null
2600
+ /**
2601
+ * Omit specific fields from the ProjectKnowledgeBase
2602
+ */
2603
+ omit?: Prisma.ProjectKnowledgeBaseOmit<ExtArgs> | null
2604
+ /**
2605
+ * Choose, which related nodes to fetch as well
2606
+ */
2607
+ include?: Prisma.ProjectKnowledgeBaseInclude<ExtArgs> | null
2608
+ where?: Prisma.ProjectKnowledgeBaseWhereInput
2609
+ orderBy?: Prisma.ProjectKnowledgeBaseOrderByWithRelationInput | Prisma.ProjectKnowledgeBaseOrderByWithRelationInput[]
2610
+ cursor?: Prisma.ProjectKnowledgeBaseWhereUniqueInput
2611
+ take?: number
2612
+ skip?: number
2613
+ distinct?: Prisma.ProjectKnowledgeBaseScalarFieldEnum | Prisma.ProjectKnowledgeBaseScalarFieldEnum[]
2614
+ }
2615
+
2132
2616
  /**
2133
2617
  * Project without action
2134
2618
  */