@allbluecn/database 0.4.16 → 0.4.18

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 (33) hide show
  1. package/dist/lib/share-utils.d.ts +2 -0
  2. package/dist/lib/share-utils.js +17 -0
  3. package/generated/browser.ts +10 -0
  4. package/generated/client.ts +10 -0
  5. package/generated/internal/class.ts +24 -4
  6. package/generated/internal/prismaNamespace.ts +188 -3
  7. package/generated/internal/prismaNamespaceBrowser.ts +37 -2
  8. package/generated/models/Iteration.ts +1878 -0
  9. package/generated/models/IterationAutoSchedule.ts +1485 -0
  10. package/generated/models/Project.ts +326 -0
  11. package/generated/models/Story.ts +393 -3
  12. package/generated/models/User.ts +618 -0
  13. package/generated/models.ts +2 -0
  14. package/generated-sqlite/browser.ts +15 -0
  15. package/generated-sqlite/client.ts +15 -0
  16. package/generated-sqlite/internal/class.ts +34 -4
  17. package/generated-sqlite/internal/prismaNamespace.ts +288 -2
  18. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +62 -1
  19. package/generated-sqlite/models/Iteration.ts +1874 -0
  20. package/generated-sqlite/models/IterationAutoSchedule.ts +1483 -0
  21. package/generated-sqlite/models/Project.ts +484 -0
  22. package/generated-sqlite/models/Story.ts +3263 -0
  23. package/generated-sqlite/models/User.ts +2103 -107
  24. package/generated-sqlite/models.ts +3 -0
  25. package/index.ts +2 -2
  26. package/migrations/20260831203925_story_attachment_file_hash/migration.sql +2 -0
  27. package/migrations/20260901020000_story_attachment_file_hash/migration.sql +2 -0
  28. package/migrations/20260901134601_iterations/migration.sql +52 -0
  29. package/migrations/20260902000000_story_identifier_per_project/migration.sql +37 -0
  30. package/migrations/20260902000100_story_identifier_counter_init/migration.sql +11 -0
  31. package/package.json +14 -5
  32. package/schema.prisma +47 -4
  33. package/schema.sqlite.prisma +89 -4
@@ -227,6 +227,9 @@ export type ProjectWhereInput = {
227
227
  members?: Prisma.ProjectMemberListRelationFilter
228
228
  activities?: Prisma.ProjectActivityListRelationFilter
229
229
  knowledgeBases?: Prisma.ProjectKnowledgeBaseListRelationFilter
230
+ iterations?: Prisma.IterationListRelationFilter
231
+ iterationAutoSchedule?: Prisma.XOR<Prisma.IterationAutoScheduleNullableScalarRelationFilter, Prisma.IterationAutoScheduleWhereInput> | null
232
+ stories?: Prisma.StoryListRelationFilter
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
  knowledgeBases?: Prisma.ProjectKnowledgeBaseOrderByRelationAggregateInput
251
+ iterations?: Prisma.IterationOrderByRelationAggregateInput
252
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleOrderByWithRelationInput
253
+ stories?: Prisma.StoryOrderByRelationAggregateInput
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
  knowledgeBases?: Prisma.ProjectKnowledgeBaseListRelationFilter
276
+ iterations?: Prisma.IterationListRelationFilter
277
+ iterationAutoSchedule?: Prisma.XOR<Prisma.IterationAutoScheduleNullableScalarRelationFilter, Prisma.IterationAutoScheduleWhereInput> | null
278
+ stories?: Prisma.StoryListRelationFilter
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
  knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
327
+ iterations?: Prisma.IterationCreateNestedManyWithoutProjectInput
328
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleCreateNestedOneWithoutProjectInput
329
+ stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
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
  knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
346
+ iterations?: Prisma.IterationUncheckedCreateNestedManyWithoutProjectInput
347
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedCreateNestedOneWithoutProjectInput
348
+ stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
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
  knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
365
+ iterations?: Prisma.IterationUpdateManyWithoutProjectNestedInput
366
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUpdateOneWithoutProjectNestedInput
367
+ stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
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
  knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
384
+ iterations?: Prisma.IterationUncheckedUpdateManyWithoutProjectNestedInput
385
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedUpdateOneWithoutProjectNestedInput
386
+ stories?: Prisma.StoryUncheckedUpdateManyWithoutProjectNestedInput
366
387
  }
367
388
 
368
389
  export type ProjectCreateManyInput = {
@@ -587,6 +608,48 @@ export type ProjectUpdateOneRequiredWithoutKnowledgeBasesNestedInput = {
587
608
  update?: Prisma.XOR<Prisma.XOR<Prisma.ProjectUpdateToOneWithWhereWithoutKnowledgeBasesInput, Prisma.ProjectUpdateWithoutKnowledgeBasesInput>, Prisma.ProjectUncheckedUpdateWithoutKnowledgeBasesInput>
588
609
  }
589
610
 
611
+ export type ProjectCreateNestedOneWithoutStoriesInput = {
612
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutStoriesInput, Prisma.ProjectUncheckedCreateWithoutStoriesInput>
613
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutStoriesInput
614
+ connect?: Prisma.ProjectWhereUniqueInput
615
+ }
616
+
617
+ export type ProjectUpdateOneRequiredWithoutStoriesNestedInput = {
618
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutStoriesInput, Prisma.ProjectUncheckedCreateWithoutStoriesInput>
619
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutStoriesInput
620
+ upsert?: Prisma.ProjectUpsertWithoutStoriesInput
621
+ connect?: Prisma.ProjectWhereUniqueInput
622
+ update?: Prisma.XOR<Prisma.XOR<Prisma.ProjectUpdateToOneWithWhereWithoutStoriesInput, Prisma.ProjectUpdateWithoutStoriesInput>, Prisma.ProjectUncheckedUpdateWithoutStoriesInput>
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
  knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
666
+ iterations?: Prisma.IterationCreateNestedManyWithoutProjectInput
667
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleCreateNestedOneWithoutProjectInput
668
+ stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
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
  knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
684
+ iterations?: Prisma.IterationUncheckedCreateNestedManyWithoutProjectInput
685
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedCreateNestedOneWithoutProjectInput
686
+ stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
618
687
  }
619
688
 
620
689
  export type ProjectCreateOrConnectWithoutOwnerInput = {
@@ -671,6 +740,9 @@ export type ProjectCreateWithoutMembersInput = {
671
740
  workspace?: Prisma.WorkspaceCreateNestedOneWithoutProjectsInput
672
741
  activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
673
742
  knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
743
+ iterations?: Prisma.IterationCreateNestedManyWithoutProjectInput
744
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleCreateNestedOneWithoutProjectInput
745
+ stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
674
746
  }
675
747
 
676
748
  export type ProjectUncheckedCreateWithoutMembersInput = {
@@ -686,6 +758,9 @@ export type ProjectUncheckedCreateWithoutMembersInput = {
686
758
  updatedAt?: Date | string
687
759
  activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
688
760
  knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
761
+ iterations?: Prisma.IterationUncheckedCreateNestedManyWithoutProjectInput
762
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedCreateNestedOneWithoutProjectInput
763
+ stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
689
764
  }
690
765
 
691
766
  export type ProjectCreateOrConnectWithoutMembersInput = {
@@ -717,6 +792,9 @@ export type ProjectUpdateWithoutMembersInput = {
717
792
  workspace?: Prisma.WorkspaceUpdateOneWithoutProjectsNestedInput
718
793
  activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
719
794
  knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
795
+ iterations?: Prisma.IterationUpdateManyWithoutProjectNestedInput
796
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUpdateOneWithoutProjectNestedInput
797
+ stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
720
798
  }
721
799
 
722
800
  export type ProjectUncheckedUpdateWithoutMembersInput = {
@@ -732,6 +810,9 @@ export type ProjectUncheckedUpdateWithoutMembersInput = {
732
810
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
733
811
  activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
734
812
  knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
813
+ iterations?: Prisma.IterationUncheckedUpdateManyWithoutProjectNestedInput
814
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedUpdateOneWithoutProjectNestedInput
815
+ stories?: Prisma.StoryUncheckedUpdateManyWithoutProjectNestedInput
735
816
  }
736
817
 
737
818
  export type ProjectCreateWithoutWorkspaceInput = {
@@ -747,6 +828,9 @@ export type ProjectCreateWithoutWorkspaceInput = {
747
828
  members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
748
829
  activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
749
830
  knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
831
+ iterations?: Prisma.IterationCreateNestedManyWithoutProjectInput
832
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleCreateNestedOneWithoutProjectInput
833
+ stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
750
834
  }
751
835
 
752
836
  export type ProjectUncheckedCreateWithoutWorkspaceInput = {
@@ -762,6 +846,9 @@ export type ProjectUncheckedCreateWithoutWorkspaceInput = {
762
846
  members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
763
847
  activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
764
848
  knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
849
+ iterations?: Prisma.IterationUncheckedCreateNestedManyWithoutProjectInput
850
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedCreateNestedOneWithoutProjectInput
851
+ stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
765
852
  }
766
853
 
767
854
  export type ProjectCreateOrConnectWithoutWorkspaceInput = {
@@ -802,6 +889,9 @@ export type ProjectCreateWithoutActivitiesInput = {
802
889
  workspace?: Prisma.WorkspaceCreateNestedOneWithoutProjectsInput
803
890
  members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
804
891
  knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
892
+ iterations?: Prisma.IterationCreateNestedManyWithoutProjectInput
893
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleCreateNestedOneWithoutProjectInput
894
+ stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
805
895
  }
806
896
 
807
897
  export type ProjectUncheckedCreateWithoutActivitiesInput = {
@@ -817,6 +907,9 @@ export type ProjectUncheckedCreateWithoutActivitiesInput = {
817
907
  updatedAt?: Date | string
818
908
  members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
819
909
  knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
910
+ iterations?: Prisma.IterationUncheckedCreateNestedManyWithoutProjectInput
911
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedCreateNestedOneWithoutProjectInput
912
+ stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
820
913
  }
821
914
 
822
915
  export type ProjectCreateOrConnectWithoutActivitiesInput = {
@@ -848,6 +941,9 @@ export type ProjectUpdateWithoutActivitiesInput = {
848
941
  workspace?: Prisma.WorkspaceUpdateOneWithoutProjectsNestedInput
849
942
  members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
850
943
  knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
944
+ iterations?: Prisma.IterationUpdateManyWithoutProjectNestedInput
945
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUpdateOneWithoutProjectNestedInput
946
+ stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
851
947
  }
852
948
 
853
949
  export type ProjectUncheckedUpdateWithoutActivitiesInput = {
@@ -863,6 +959,9 @@ export type ProjectUncheckedUpdateWithoutActivitiesInput = {
863
959
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
864
960
  members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
865
961
  knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
962
+ iterations?: Prisma.IterationUncheckedUpdateManyWithoutProjectNestedInput
963
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedUpdateOneWithoutProjectNestedInput
964
+ stories?: Prisma.StoryUncheckedUpdateManyWithoutProjectNestedInput
866
965
  }
867
966
 
868
967
  export type ProjectCreateWithoutKnowledgeBasesInput = {
@@ -878,6 +977,9 @@ export type ProjectCreateWithoutKnowledgeBasesInput = {
878
977
  workspace?: Prisma.WorkspaceCreateNestedOneWithoutProjectsInput
879
978
  members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
880
979
  activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
980
+ iterations?: Prisma.IterationCreateNestedManyWithoutProjectInput
981
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleCreateNestedOneWithoutProjectInput
982
+ stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
881
983
  }
882
984
 
883
985
  export type ProjectUncheckedCreateWithoutKnowledgeBasesInput = {
@@ -893,6 +995,9 @@ export type ProjectUncheckedCreateWithoutKnowledgeBasesInput = {
893
995
  updatedAt?: Date | string
894
996
  members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
895
997
  activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
998
+ iterations?: Prisma.IterationUncheckedCreateNestedManyWithoutProjectInput
999
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedCreateNestedOneWithoutProjectInput
1000
+ stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
896
1001
  }
897
1002
 
898
1003
  export type ProjectCreateOrConnectWithoutKnowledgeBasesInput = {
@@ -924,6 +1029,9 @@ export type ProjectUpdateWithoutKnowledgeBasesInput = {
924
1029
  workspace?: Prisma.WorkspaceUpdateOneWithoutProjectsNestedInput
925
1030
  members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
926
1031
  activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
1032
+ iterations?: Prisma.IterationUpdateManyWithoutProjectNestedInput
1033
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUpdateOneWithoutProjectNestedInput
1034
+ stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
927
1035
  }
928
1036
 
929
1037
  export type ProjectUncheckedUpdateWithoutKnowledgeBasesInput = {
@@ -939,6 +1047,273 @@ export type ProjectUncheckedUpdateWithoutKnowledgeBasesInput = {
939
1047
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
940
1048
  members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
941
1049
  activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
1050
+ iterations?: Prisma.IterationUncheckedUpdateManyWithoutProjectNestedInput
1051
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedUpdateOneWithoutProjectNestedInput
1052
+ stories?: Prisma.StoryUncheckedUpdateManyWithoutProjectNestedInput
1053
+ }
1054
+
1055
+ export type ProjectCreateWithoutStoriesInput = {
1056
+ id?: string
1057
+ displayId?: string | null
1058
+ name: string
1059
+ description?: string | null
1060
+ icon?: string
1061
+ timezone?: string | null
1062
+ createdAt?: Date | string
1063
+ updatedAt?: Date | string
1064
+ owner: Prisma.UserCreateNestedOneWithoutOwnedProjectsInput
1065
+ workspace?: Prisma.WorkspaceCreateNestedOneWithoutProjectsInput
1066
+ members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
1067
+ activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
1068
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
1069
+ iterations?: Prisma.IterationCreateNestedManyWithoutProjectInput
1070
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleCreateNestedOneWithoutProjectInput
1071
+ }
1072
+
1073
+ export type ProjectUncheckedCreateWithoutStoriesInput = {
1074
+ id?: string
1075
+ displayId?: string | null
1076
+ name: string
1077
+ description?: string | null
1078
+ icon?: string
1079
+ timezone?: string | null
1080
+ ownerId: string
1081
+ workspaceId?: string | null
1082
+ createdAt?: Date | string
1083
+ updatedAt?: Date | string
1084
+ members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
1085
+ activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
1086
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
1087
+ iterations?: Prisma.IterationUncheckedCreateNestedManyWithoutProjectInput
1088
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedCreateNestedOneWithoutProjectInput
1089
+ }
1090
+
1091
+ export type ProjectCreateOrConnectWithoutStoriesInput = {
1092
+ where: Prisma.ProjectWhereUniqueInput
1093
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutStoriesInput, Prisma.ProjectUncheckedCreateWithoutStoriesInput>
1094
+ }
1095
+
1096
+ export type ProjectUpsertWithoutStoriesInput = {
1097
+ update: Prisma.XOR<Prisma.ProjectUpdateWithoutStoriesInput, Prisma.ProjectUncheckedUpdateWithoutStoriesInput>
1098
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutStoriesInput, Prisma.ProjectUncheckedCreateWithoutStoriesInput>
1099
+ where?: Prisma.ProjectWhereInput
1100
+ }
1101
+
1102
+ export type ProjectUpdateToOneWithWhereWithoutStoriesInput = {
1103
+ where?: Prisma.ProjectWhereInput
1104
+ data: Prisma.XOR<Prisma.ProjectUpdateWithoutStoriesInput, Prisma.ProjectUncheckedUpdateWithoutStoriesInput>
1105
+ }
1106
+
1107
+ export type ProjectUpdateWithoutStoriesInput = {
1108
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1109
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1110
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1111
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1112
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
1113
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1114
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1115
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1116
+ owner?: Prisma.UserUpdateOneRequiredWithoutOwnedProjectsNestedInput
1117
+ workspace?: Prisma.WorkspaceUpdateOneWithoutProjectsNestedInput
1118
+ members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
1119
+ activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
1120
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
1121
+ iterations?: Prisma.IterationUpdateManyWithoutProjectNestedInput
1122
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUpdateOneWithoutProjectNestedInput
1123
+ }
1124
+
1125
+ export type ProjectUncheckedUpdateWithoutStoriesInput = {
1126
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1127
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1128
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1129
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1130
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
1131
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1132
+ ownerId?: Prisma.StringFieldUpdateOperationsInput | string
1133
+ workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1134
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1135
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1136
+ members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
1137
+ activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
1138
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
1139
+ iterations?: Prisma.IterationUncheckedUpdateManyWithoutProjectNestedInput
1140
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedUpdateOneWithoutProjectNestedInput
1141
+ }
1142
+
1143
+ export type ProjectCreateWithoutIterationsInput = {
1144
+ id?: string
1145
+ displayId?: string | null
1146
+ name: string
1147
+ description?: string | null
1148
+ icon?: string
1149
+ timezone?: string | null
1150
+ createdAt?: Date | string
1151
+ updatedAt?: Date | string
1152
+ owner: Prisma.UserCreateNestedOneWithoutOwnedProjectsInput
1153
+ workspace?: Prisma.WorkspaceCreateNestedOneWithoutProjectsInput
1154
+ members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
1155
+ activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
1156
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
1157
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleCreateNestedOneWithoutProjectInput
1158
+ stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
1159
+ }
1160
+
1161
+ export type ProjectUncheckedCreateWithoutIterationsInput = {
1162
+ id?: string
1163
+ displayId?: string | null
1164
+ name: string
1165
+ description?: string | null
1166
+ icon?: string
1167
+ timezone?: string | null
1168
+ ownerId: string
1169
+ workspaceId?: string | null
1170
+ createdAt?: Date | string
1171
+ updatedAt?: Date | string
1172
+ members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
1173
+ activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
1174
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
1175
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedCreateNestedOneWithoutProjectInput
1176
+ stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
1177
+ }
1178
+
1179
+ export type ProjectCreateOrConnectWithoutIterationsInput = {
1180
+ where: Prisma.ProjectWhereUniqueInput
1181
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutIterationsInput, Prisma.ProjectUncheckedCreateWithoutIterationsInput>
1182
+ }
1183
+
1184
+ export type ProjectUpsertWithoutIterationsInput = {
1185
+ update: Prisma.XOR<Prisma.ProjectUpdateWithoutIterationsInput, Prisma.ProjectUncheckedUpdateWithoutIterationsInput>
1186
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutIterationsInput, Prisma.ProjectUncheckedCreateWithoutIterationsInput>
1187
+ where?: Prisma.ProjectWhereInput
1188
+ }
1189
+
1190
+ export type ProjectUpdateToOneWithWhereWithoutIterationsInput = {
1191
+ where?: Prisma.ProjectWhereInput
1192
+ data: Prisma.XOR<Prisma.ProjectUpdateWithoutIterationsInput, Prisma.ProjectUncheckedUpdateWithoutIterationsInput>
1193
+ }
1194
+
1195
+ export type ProjectUpdateWithoutIterationsInput = {
1196
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1197
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1198
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1199
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1200
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
1201
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1202
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1203
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1204
+ owner?: Prisma.UserUpdateOneRequiredWithoutOwnedProjectsNestedInput
1205
+ workspace?: Prisma.WorkspaceUpdateOneWithoutProjectsNestedInput
1206
+ members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
1207
+ activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
1208
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
1209
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUpdateOneWithoutProjectNestedInput
1210
+ stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
1211
+ }
1212
+
1213
+ export type ProjectUncheckedUpdateWithoutIterationsInput = {
1214
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1215
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1216
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1217
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1218
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
1219
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1220
+ ownerId?: Prisma.StringFieldUpdateOperationsInput | string
1221
+ workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1222
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1223
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1224
+ members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
1225
+ activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
1226
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
1227
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedUpdateOneWithoutProjectNestedInput
1228
+ stories?: Prisma.StoryUncheckedUpdateManyWithoutProjectNestedInput
1229
+ }
1230
+
1231
+ export type ProjectCreateWithoutIterationAutoScheduleInput = {
1232
+ id?: string
1233
+ displayId?: string | null
1234
+ name: string
1235
+ description?: string | null
1236
+ icon?: string
1237
+ timezone?: string | null
1238
+ createdAt?: Date | string
1239
+ updatedAt?: Date | string
1240
+ owner: Prisma.UserCreateNestedOneWithoutOwnedProjectsInput
1241
+ workspace?: Prisma.WorkspaceCreateNestedOneWithoutProjectsInput
1242
+ members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
1243
+ activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
1244
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
1245
+ iterations?: Prisma.IterationCreateNestedManyWithoutProjectInput
1246
+ stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
1247
+ }
1248
+
1249
+ export type ProjectUncheckedCreateWithoutIterationAutoScheduleInput = {
1250
+ id?: string
1251
+ displayId?: string | null
1252
+ name: string
1253
+ description?: string | null
1254
+ icon?: string
1255
+ timezone?: string | null
1256
+ ownerId: string
1257
+ workspaceId?: string | null
1258
+ createdAt?: Date | string
1259
+ updatedAt?: Date | string
1260
+ members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
1261
+ activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
1262
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
1263
+ iterations?: Prisma.IterationUncheckedCreateNestedManyWithoutProjectInput
1264
+ stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
1265
+ }
1266
+
1267
+ export type ProjectCreateOrConnectWithoutIterationAutoScheduleInput = {
1268
+ where: Prisma.ProjectWhereUniqueInput
1269
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutIterationAutoScheduleInput, Prisma.ProjectUncheckedCreateWithoutIterationAutoScheduleInput>
1270
+ }
1271
+
1272
+ export type ProjectUpsertWithoutIterationAutoScheduleInput = {
1273
+ update: Prisma.XOR<Prisma.ProjectUpdateWithoutIterationAutoScheduleInput, Prisma.ProjectUncheckedUpdateWithoutIterationAutoScheduleInput>
1274
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutIterationAutoScheduleInput, Prisma.ProjectUncheckedCreateWithoutIterationAutoScheduleInput>
1275
+ where?: Prisma.ProjectWhereInput
1276
+ }
1277
+
1278
+ export type ProjectUpdateToOneWithWhereWithoutIterationAutoScheduleInput = {
1279
+ where?: Prisma.ProjectWhereInput
1280
+ data: Prisma.XOR<Prisma.ProjectUpdateWithoutIterationAutoScheduleInput, Prisma.ProjectUncheckedUpdateWithoutIterationAutoScheduleInput>
1281
+ }
1282
+
1283
+ export type ProjectUpdateWithoutIterationAutoScheduleInput = {
1284
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1285
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1286
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1287
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1288
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
1289
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1290
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1291
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1292
+ owner?: Prisma.UserUpdateOneRequiredWithoutOwnedProjectsNestedInput
1293
+ workspace?: Prisma.WorkspaceUpdateOneWithoutProjectsNestedInput
1294
+ members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
1295
+ activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
1296
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
1297
+ iterations?: Prisma.IterationUpdateManyWithoutProjectNestedInput
1298
+ stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
1299
+ }
1300
+
1301
+ export type ProjectUncheckedUpdateWithoutIterationAutoScheduleInput = {
1302
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1303
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1304
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1305
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1306
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
1307
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1308
+ ownerId?: Prisma.StringFieldUpdateOperationsInput | string
1309
+ workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1310
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1311
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1312
+ members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
1313
+ activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
1314
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
1315
+ iterations?: Prisma.IterationUncheckedUpdateManyWithoutProjectNestedInput
1316
+ stories?: Prisma.StoryUncheckedUpdateManyWithoutProjectNestedInput
942
1317
  }
943
1318
 
944
1319
  export type ProjectCreateManyOwnerInput = {
@@ -966,6 +1341,9 @@ export type ProjectUpdateWithoutOwnerInput = {
966
1341
  members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
967
1342
  activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
968
1343
  knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
1344
+ iterations?: Prisma.IterationUpdateManyWithoutProjectNestedInput
1345
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUpdateOneWithoutProjectNestedInput
1346
+ stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
969
1347
  }
970
1348
 
971
1349
  export type ProjectUncheckedUpdateWithoutOwnerInput = {
@@ -981,6 +1359,9 @@ export type ProjectUncheckedUpdateWithoutOwnerInput = {
981
1359
  members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
982
1360
  activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
983
1361
  knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
1362
+ iterations?: Prisma.IterationUncheckedUpdateManyWithoutProjectNestedInput
1363
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedUpdateOneWithoutProjectNestedInput
1364
+ stories?: Prisma.StoryUncheckedUpdateManyWithoutProjectNestedInput
984
1365
  }
985
1366
 
986
1367
  export type ProjectUncheckedUpdateManyWithoutOwnerInput = {
@@ -1020,6 +1401,9 @@ export type ProjectUpdateWithoutWorkspaceInput = {
1020
1401
  members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
1021
1402
  activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
1022
1403
  knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
1404
+ iterations?: Prisma.IterationUpdateManyWithoutProjectNestedInput
1405
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUpdateOneWithoutProjectNestedInput
1406
+ stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
1023
1407
  }
1024
1408
 
1025
1409
  export type ProjectUncheckedUpdateWithoutWorkspaceInput = {
@@ -1035,6 +1419,9 @@ export type ProjectUncheckedUpdateWithoutWorkspaceInput = {
1035
1419
  members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
1036
1420
  activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
1037
1421
  knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
1422
+ iterations?: Prisma.IterationUncheckedUpdateManyWithoutProjectNestedInput
1423
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedUpdateOneWithoutProjectNestedInput
1424
+ stories?: Prisma.StoryUncheckedUpdateManyWithoutProjectNestedInput
1038
1425
  }
1039
1426
 
1040
1427
  export type ProjectUncheckedUpdateManyWithoutWorkspaceInput = {
@@ -1058,12 +1445,16 @@ export type ProjectCountOutputType = {
1058
1445
  members: number
1059
1446
  activities: number
1060
1447
  knowledgeBases: number
1448
+ iterations: number
1449
+ stories: number
1061
1450
  }
1062
1451
 
1063
1452
  export type ProjectCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1064
1453
  members?: boolean | ProjectCountOutputTypeCountMembersArgs
1065
1454
  activities?: boolean | ProjectCountOutputTypeCountActivitiesArgs
1066
1455
  knowledgeBases?: boolean | ProjectCountOutputTypeCountKnowledgeBasesArgs
1456
+ iterations?: boolean | ProjectCountOutputTypeCountIterationsArgs
1457
+ stories?: boolean | ProjectCountOutputTypeCountStoriesArgs
1067
1458
  }
1068
1459
 
1069
1460
  /**
@@ -1097,6 +1488,20 @@ export type ProjectCountOutputTypeCountKnowledgeBasesArgs<ExtArgs extends runtim
1097
1488
  where?: Prisma.ProjectKnowledgeBaseWhereInput
1098
1489
  }
1099
1490
 
1491
+ /**
1492
+ * ProjectCountOutputType without action
1493
+ */
1494
+ export type ProjectCountOutputTypeCountIterationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1495
+ where?: Prisma.IterationWhereInput
1496
+ }
1497
+
1498
+ /**
1499
+ * ProjectCountOutputType without action
1500
+ */
1501
+ export type ProjectCountOutputTypeCountStoriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1502
+ where?: Prisma.StoryWhereInput
1503
+ }
1504
+
1100
1505
 
1101
1506
  export type ProjectSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1102
1507
  id?: boolean
@@ -1114,6 +1519,9 @@ export type ProjectSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
1114
1519
  members?: boolean | Prisma.Project$membersArgs<ExtArgs>
1115
1520
  activities?: boolean | Prisma.Project$activitiesArgs<ExtArgs>
1116
1521
  knowledgeBases?: boolean | Prisma.Project$knowledgeBasesArgs<ExtArgs>
1522
+ iterations?: boolean | Prisma.Project$iterationsArgs<ExtArgs>
1523
+ iterationAutoSchedule?: boolean | Prisma.Project$iterationAutoScheduleArgs<ExtArgs>
1524
+ stories?: boolean | Prisma.Project$storiesArgs<ExtArgs>
1117
1525
  _count?: boolean | Prisma.ProjectCountOutputTypeDefaultArgs<ExtArgs>
1118
1526
  }, ExtArgs["result"]["project"]>
1119
1527
 
@@ -1167,6 +1575,9 @@ export type ProjectInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs
1167
1575
  members?: boolean | Prisma.Project$membersArgs<ExtArgs>
1168
1576
  activities?: boolean | Prisma.Project$activitiesArgs<ExtArgs>
1169
1577
  knowledgeBases?: boolean | Prisma.Project$knowledgeBasesArgs<ExtArgs>
1578
+ iterations?: boolean | Prisma.Project$iterationsArgs<ExtArgs>
1579
+ iterationAutoSchedule?: boolean | Prisma.Project$iterationAutoScheduleArgs<ExtArgs>
1580
+ stories?: boolean | Prisma.Project$storiesArgs<ExtArgs>
1170
1581
  _count?: boolean | Prisma.ProjectCountOutputTypeDefaultArgs<ExtArgs>
1171
1582
  }
1172
1583
  export type ProjectIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -1186,6 +1597,9 @@ export type $ProjectPayload<ExtArgs extends runtime.Types.Extensions.InternalArg
1186
1597
  members: Prisma.$ProjectMemberPayload<ExtArgs>[]
1187
1598
  activities: Prisma.$ProjectActivityPayload<ExtArgs>[]
1188
1599
  knowledgeBases: Prisma.$ProjectKnowledgeBasePayload<ExtArgs>[]
1600
+ iterations: Prisma.$IterationPayload<ExtArgs>[]
1601
+ iterationAutoSchedule: Prisma.$IterationAutoSchedulePayload<ExtArgs> | null
1602
+ stories: Prisma.$StoryPayload<ExtArgs>[]
1189
1603
  }
1190
1604
  scalars: runtime.Types.Extensions.GetPayloadResult<{
1191
1605
  id: string
@@ -1597,6 +2011,9 @@ export interface Prisma__ProjectClient<T, Null = never, ExtArgs extends runtime.
1597
2011
  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>
1598
2012
  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>
1599
2013
  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>
2014
+ 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>
2015
+ 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>
2016
+ 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>
1600
2017
  /**
1601
2018
  * Attaches callbacks for the resolution and/or rejection of the Promise.
1602
2019
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -2125,6 +2542,73 @@ export type Project$knowledgeBasesArgs<ExtArgs extends runtime.Types.Extensions.
2125
2542
  distinct?: Prisma.ProjectKnowledgeBaseScalarFieldEnum | Prisma.ProjectKnowledgeBaseScalarFieldEnum[]
2126
2543
  }
2127
2544
 
2545
+ /**
2546
+ * Project.iterations
2547
+ */
2548
+ export type Project$iterationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2549
+ /**
2550
+ * Select specific fields to fetch from the Iteration
2551
+ */
2552
+ select?: Prisma.IterationSelect<ExtArgs> | null
2553
+ /**
2554
+ * Omit specific fields from the Iteration
2555
+ */
2556
+ omit?: Prisma.IterationOmit<ExtArgs> | null
2557
+ /**
2558
+ * Choose, which related nodes to fetch as well
2559
+ */
2560
+ include?: Prisma.IterationInclude<ExtArgs> | null
2561
+ where?: Prisma.IterationWhereInput
2562
+ orderBy?: Prisma.IterationOrderByWithRelationInput | Prisma.IterationOrderByWithRelationInput[]
2563
+ cursor?: Prisma.IterationWhereUniqueInput
2564
+ take?: number
2565
+ skip?: number
2566
+ distinct?: Prisma.IterationScalarFieldEnum | Prisma.IterationScalarFieldEnum[]
2567
+ }
2568
+
2569
+ /**
2570
+ * Project.iterationAutoSchedule
2571
+ */
2572
+ export type Project$iterationAutoScheduleArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2573
+ /**
2574
+ * Select specific fields to fetch from the IterationAutoSchedule
2575
+ */
2576
+ select?: Prisma.IterationAutoScheduleSelect<ExtArgs> | null
2577
+ /**
2578
+ * Omit specific fields from the IterationAutoSchedule
2579
+ */
2580
+ omit?: Prisma.IterationAutoScheduleOmit<ExtArgs> | null
2581
+ /**
2582
+ * Choose, which related nodes to fetch as well
2583
+ */
2584
+ include?: Prisma.IterationAutoScheduleInclude<ExtArgs> | null
2585
+ where?: Prisma.IterationAutoScheduleWhereInput
2586
+ }
2587
+
2588
+ /**
2589
+ * Project.stories
2590
+ */
2591
+ export type Project$storiesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2592
+ /**
2593
+ * Select specific fields to fetch from the Story
2594
+ */
2595
+ select?: Prisma.StorySelect<ExtArgs> | null
2596
+ /**
2597
+ * Omit specific fields from the Story
2598
+ */
2599
+ omit?: Prisma.StoryOmit<ExtArgs> | null
2600
+ /**
2601
+ * Choose, which related nodes to fetch as well
2602
+ */
2603
+ include?: Prisma.StoryInclude<ExtArgs> | null
2604
+ where?: Prisma.StoryWhereInput
2605
+ orderBy?: Prisma.StoryOrderByWithRelationInput | Prisma.StoryOrderByWithRelationInput[]
2606
+ cursor?: Prisma.StoryWhereUniqueInput
2607
+ take?: number
2608
+ skip?: number
2609
+ distinct?: Prisma.StoryScalarFieldEnum | Prisma.StoryScalarFieldEnum[]
2610
+ }
2611
+
2128
2612
  /**
2129
2613
  * Project without action
2130
2614
  */