@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
@@ -226,6 +226,10 @@ export type ProjectWhereInput = {
226
226
  workspace?: Prisma.XOR<Prisma.WorkspaceNullableScalarRelationFilter, Prisma.WorkspaceWhereInput> | null
227
227
  members?: Prisma.ProjectMemberListRelationFilter
228
228
  activities?: Prisma.ProjectActivityListRelationFilter
229
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseListRelationFilter
230
+ iterations?: Prisma.IterationListRelationFilter
231
+ iterationAutoSchedule?: Prisma.XOR<Prisma.IterationAutoScheduleNullableScalarRelationFilter, Prisma.IterationAutoScheduleWhereInput> | null
232
+ stories?: Prisma.StoryListRelationFilter
229
233
  }
230
234
 
231
235
  export type ProjectOrderByWithRelationInput = {
@@ -243,6 +247,10 @@ export type ProjectOrderByWithRelationInput = {
243
247
  workspace?: Prisma.WorkspaceOrderByWithRelationInput
244
248
  members?: Prisma.ProjectMemberOrderByRelationAggregateInput
245
249
  activities?: Prisma.ProjectActivityOrderByRelationAggregateInput
250
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseOrderByRelationAggregateInput
251
+ iterations?: Prisma.IterationOrderByRelationAggregateInput
252
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleOrderByWithRelationInput
253
+ stories?: Prisma.StoryOrderByRelationAggregateInput
246
254
  }
247
255
 
248
256
  export type ProjectWhereUniqueInput = Prisma.AtLeast<{
@@ -264,6 +272,10 @@ export type ProjectWhereUniqueInput = Prisma.AtLeast<{
264
272
  workspace?: Prisma.XOR<Prisma.WorkspaceNullableScalarRelationFilter, Prisma.WorkspaceWhereInput> | null
265
273
  members?: Prisma.ProjectMemberListRelationFilter
266
274
  activities?: Prisma.ProjectActivityListRelationFilter
275
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseListRelationFilter
276
+ iterations?: Prisma.IterationListRelationFilter
277
+ iterationAutoSchedule?: Prisma.XOR<Prisma.IterationAutoScheduleNullableScalarRelationFilter, Prisma.IterationAutoScheduleWhereInput> | null
278
+ stories?: Prisma.StoryListRelationFilter
267
279
  }, "id" | "ownerId_displayId">
268
280
 
269
281
  export type ProjectOrderByWithAggregationInput = {
@@ -311,6 +323,10 @@ export type ProjectCreateInput = {
311
323
  workspace?: Prisma.WorkspaceCreateNestedOneWithoutProjectsInput
312
324
  members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
313
325
  activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
326
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
327
+ iterations?: Prisma.IterationCreateNestedManyWithoutProjectInput
328
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleCreateNestedOneWithoutProjectInput
329
+ stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
314
330
  }
315
331
 
316
332
  export type ProjectUncheckedCreateInput = {
@@ -326,6 +342,10 @@ export type ProjectUncheckedCreateInput = {
326
342
  updatedAt?: Date | string
327
343
  members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
328
344
  activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
345
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
346
+ iterations?: Prisma.IterationUncheckedCreateNestedManyWithoutProjectInput
347
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedCreateNestedOneWithoutProjectInput
348
+ stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
329
349
  }
330
350
 
331
351
  export type ProjectUpdateInput = {
@@ -341,6 +361,10 @@ export type ProjectUpdateInput = {
341
361
  workspace?: Prisma.WorkspaceUpdateOneWithoutProjectsNestedInput
342
362
  members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
343
363
  activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
364
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
365
+ iterations?: Prisma.IterationUpdateManyWithoutProjectNestedInput
366
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUpdateOneWithoutProjectNestedInput
367
+ stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
344
368
  }
345
369
 
346
370
  export type ProjectUncheckedUpdateInput = {
@@ -356,6 +380,10 @@ export type ProjectUncheckedUpdateInput = {
356
380
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
357
381
  members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
358
382
  activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
383
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
384
+ iterations?: Prisma.IterationUncheckedUpdateManyWithoutProjectNestedInput
385
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedUpdateOneWithoutProjectNestedInput
386
+ stories?: Prisma.StoryUncheckedUpdateManyWithoutProjectNestedInput
359
387
  }
360
388
 
361
389
  export type ProjectCreateManyInput = {
@@ -566,6 +594,62 @@ export type ProjectUpdateOneRequiredWithoutActivitiesNestedInput = {
566
594
  update?: Prisma.XOR<Prisma.XOR<Prisma.ProjectUpdateToOneWithWhereWithoutActivitiesInput, Prisma.ProjectUpdateWithoutActivitiesInput>, Prisma.ProjectUncheckedUpdateWithoutActivitiesInput>
567
595
  }
568
596
 
597
+ export type ProjectCreateNestedOneWithoutKnowledgeBasesInput = {
598
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutKnowledgeBasesInput, Prisma.ProjectUncheckedCreateWithoutKnowledgeBasesInput>
599
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutKnowledgeBasesInput
600
+ connect?: Prisma.ProjectWhereUniqueInput
601
+ }
602
+
603
+ export type ProjectUpdateOneRequiredWithoutKnowledgeBasesNestedInput = {
604
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutKnowledgeBasesInput, Prisma.ProjectUncheckedCreateWithoutKnowledgeBasesInput>
605
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutKnowledgeBasesInput
606
+ upsert?: Prisma.ProjectUpsertWithoutKnowledgeBasesInput
607
+ connect?: Prisma.ProjectWhereUniqueInput
608
+ update?: Prisma.XOR<Prisma.XOR<Prisma.ProjectUpdateToOneWithWhereWithoutKnowledgeBasesInput, Prisma.ProjectUpdateWithoutKnowledgeBasesInput>, Prisma.ProjectUncheckedUpdateWithoutKnowledgeBasesInput>
609
+ }
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
+
569
653
  export type ProjectCreateWithoutOwnerInput = {
570
654
  id?: string
571
655
  displayId?: string | null
@@ -578,6 +662,10 @@ export type ProjectCreateWithoutOwnerInput = {
578
662
  workspace?: Prisma.WorkspaceCreateNestedOneWithoutProjectsInput
579
663
  members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
580
664
  activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
665
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
666
+ iterations?: Prisma.IterationCreateNestedManyWithoutProjectInput
667
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleCreateNestedOneWithoutProjectInput
668
+ stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
581
669
  }
582
670
 
583
671
  export type ProjectUncheckedCreateWithoutOwnerInput = {
@@ -592,6 +680,10 @@ export type ProjectUncheckedCreateWithoutOwnerInput = {
592
680
  updatedAt?: Date | string
593
681
  members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
594
682
  activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
683
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
684
+ iterations?: Prisma.IterationUncheckedCreateNestedManyWithoutProjectInput
685
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedCreateNestedOneWithoutProjectInput
686
+ stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
595
687
  }
596
688
 
597
689
  export type ProjectCreateOrConnectWithoutOwnerInput = {
@@ -647,6 +739,10 @@ export type ProjectCreateWithoutMembersInput = {
647
739
  owner: Prisma.UserCreateNestedOneWithoutOwnedProjectsInput
648
740
  workspace?: Prisma.WorkspaceCreateNestedOneWithoutProjectsInput
649
741
  activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
742
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
743
+ iterations?: Prisma.IterationCreateNestedManyWithoutProjectInput
744
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleCreateNestedOneWithoutProjectInput
745
+ stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
650
746
  }
651
747
 
652
748
  export type ProjectUncheckedCreateWithoutMembersInput = {
@@ -661,6 +757,10 @@ export type ProjectUncheckedCreateWithoutMembersInput = {
661
757
  createdAt?: Date | string
662
758
  updatedAt?: Date | string
663
759
  activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
760
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
761
+ iterations?: Prisma.IterationUncheckedCreateNestedManyWithoutProjectInput
762
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedCreateNestedOneWithoutProjectInput
763
+ stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
664
764
  }
665
765
 
666
766
  export type ProjectCreateOrConnectWithoutMembersInput = {
@@ -691,6 +791,10 @@ export type ProjectUpdateWithoutMembersInput = {
691
791
  owner?: Prisma.UserUpdateOneRequiredWithoutOwnedProjectsNestedInput
692
792
  workspace?: Prisma.WorkspaceUpdateOneWithoutProjectsNestedInput
693
793
  activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
794
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
795
+ iterations?: Prisma.IterationUpdateManyWithoutProjectNestedInput
796
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUpdateOneWithoutProjectNestedInput
797
+ stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
694
798
  }
695
799
 
696
800
  export type ProjectUncheckedUpdateWithoutMembersInput = {
@@ -705,6 +809,10 @@ export type ProjectUncheckedUpdateWithoutMembersInput = {
705
809
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
706
810
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
707
811
  activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
812
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
813
+ iterations?: Prisma.IterationUncheckedUpdateManyWithoutProjectNestedInput
814
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedUpdateOneWithoutProjectNestedInput
815
+ stories?: Prisma.StoryUncheckedUpdateManyWithoutProjectNestedInput
708
816
  }
709
817
 
710
818
  export type ProjectCreateWithoutWorkspaceInput = {
@@ -719,6 +827,10 @@ export type ProjectCreateWithoutWorkspaceInput = {
719
827
  owner: Prisma.UserCreateNestedOneWithoutOwnedProjectsInput
720
828
  members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
721
829
  activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
830
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
831
+ iterations?: Prisma.IterationCreateNestedManyWithoutProjectInput
832
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleCreateNestedOneWithoutProjectInput
833
+ stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
722
834
  }
723
835
 
724
836
  export type ProjectUncheckedCreateWithoutWorkspaceInput = {
@@ -733,6 +845,10 @@ export type ProjectUncheckedCreateWithoutWorkspaceInput = {
733
845
  updatedAt?: Date | string
734
846
  members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
735
847
  activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
848
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
849
+ iterations?: Prisma.IterationUncheckedCreateNestedManyWithoutProjectInput
850
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedCreateNestedOneWithoutProjectInput
851
+ stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
736
852
  }
737
853
 
738
854
  export type ProjectCreateOrConnectWithoutWorkspaceInput = {
@@ -772,6 +888,10 @@ export type ProjectCreateWithoutActivitiesInput = {
772
888
  owner: Prisma.UserCreateNestedOneWithoutOwnedProjectsInput
773
889
  workspace?: Prisma.WorkspaceCreateNestedOneWithoutProjectsInput
774
890
  members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
891
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
892
+ iterations?: Prisma.IterationCreateNestedManyWithoutProjectInput
893
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleCreateNestedOneWithoutProjectInput
894
+ stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
775
895
  }
776
896
 
777
897
  export type ProjectUncheckedCreateWithoutActivitiesInput = {
@@ -786,6 +906,10 @@ export type ProjectUncheckedCreateWithoutActivitiesInput = {
786
906
  createdAt?: Date | string
787
907
  updatedAt?: Date | string
788
908
  members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
909
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
910
+ iterations?: Prisma.IterationUncheckedCreateNestedManyWithoutProjectInput
911
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedCreateNestedOneWithoutProjectInput
912
+ stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
789
913
  }
790
914
 
791
915
  export type ProjectCreateOrConnectWithoutActivitiesInput = {
@@ -816,6 +940,10 @@ export type ProjectUpdateWithoutActivitiesInput = {
816
940
  owner?: Prisma.UserUpdateOneRequiredWithoutOwnedProjectsNestedInput
817
941
  workspace?: Prisma.WorkspaceUpdateOneWithoutProjectsNestedInput
818
942
  members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
943
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
944
+ iterations?: Prisma.IterationUpdateManyWithoutProjectNestedInput
945
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUpdateOneWithoutProjectNestedInput
946
+ stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
819
947
  }
820
948
 
821
949
  export type ProjectUncheckedUpdateWithoutActivitiesInput = {
@@ -830,6 +958,362 @@ export type ProjectUncheckedUpdateWithoutActivitiesInput = {
830
958
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
831
959
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
832
960
  members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
961
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
962
+ iterations?: Prisma.IterationUncheckedUpdateManyWithoutProjectNestedInput
963
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedUpdateOneWithoutProjectNestedInput
964
+ stories?: Prisma.StoryUncheckedUpdateManyWithoutProjectNestedInput
965
+ }
966
+
967
+ export type ProjectCreateWithoutKnowledgeBasesInput = {
968
+ id?: string
969
+ displayId?: string | null
970
+ name: string
971
+ description?: string | null
972
+ icon?: string
973
+ timezone?: string | null
974
+ createdAt?: Date | string
975
+ updatedAt?: Date | string
976
+ owner: Prisma.UserCreateNestedOneWithoutOwnedProjectsInput
977
+ workspace?: Prisma.WorkspaceCreateNestedOneWithoutProjectsInput
978
+ members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
979
+ activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
980
+ iterations?: Prisma.IterationCreateNestedManyWithoutProjectInput
981
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleCreateNestedOneWithoutProjectInput
982
+ stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
983
+ }
984
+
985
+ export type ProjectUncheckedCreateWithoutKnowledgeBasesInput = {
986
+ id?: string
987
+ displayId?: string | null
988
+ name: string
989
+ description?: string | null
990
+ icon?: string
991
+ timezone?: string | null
992
+ ownerId: string
993
+ workspaceId?: string | null
994
+ createdAt?: Date | string
995
+ updatedAt?: Date | string
996
+ members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
997
+ activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
998
+ iterations?: Prisma.IterationUncheckedCreateNestedManyWithoutProjectInput
999
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedCreateNestedOneWithoutProjectInput
1000
+ stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
1001
+ }
1002
+
1003
+ export type ProjectCreateOrConnectWithoutKnowledgeBasesInput = {
1004
+ where: Prisma.ProjectWhereUniqueInput
1005
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutKnowledgeBasesInput, Prisma.ProjectUncheckedCreateWithoutKnowledgeBasesInput>
1006
+ }
1007
+
1008
+ export type ProjectUpsertWithoutKnowledgeBasesInput = {
1009
+ update: Prisma.XOR<Prisma.ProjectUpdateWithoutKnowledgeBasesInput, Prisma.ProjectUncheckedUpdateWithoutKnowledgeBasesInput>
1010
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutKnowledgeBasesInput, Prisma.ProjectUncheckedCreateWithoutKnowledgeBasesInput>
1011
+ where?: Prisma.ProjectWhereInput
1012
+ }
1013
+
1014
+ export type ProjectUpdateToOneWithWhereWithoutKnowledgeBasesInput = {
1015
+ where?: Prisma.ProjectWhereInput
1016
+ data: Prisma.XOR<Prisma.ProjectUpdateWithoutKnowledgeBasesInput, Prisma.ProjectUncheckedUpdateWithoutKnowledgeBasesInput>
1017
+ }
1018
+
1019
+ export type ProjectUpdateWithoutKnowledgeBasesInput = {
1020
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1021
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1022
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1023
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1024
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
1025
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1026
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1027
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1028
+ owner?: Prisma.UserUpdateOneRequiredWithoutOwnedProjectsNestedInput
1029
+ workspace?: Prisma.WorkspaceUpdateOneWithoutProjectsNestedInput
1030
+ members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
1031
+ activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
1032
+ iterations?: Prisma.IterationUpdateManyWithoutProjectNestedInput
1033
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUpdateOneWithoutProjectNestedInput
1034
+ stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
1035
+ }
1036
+
1037
+ export type ProjectUncheckedUpdateWithoutKnowledgeBasesInput = {
1038
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1039
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1040
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1041
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1042
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
1043
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1044
+ ownerId?: Prisma.StringFieldUpdateOperationsInput | string
1045
+ workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1046
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1047
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1048
+ members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
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
833
1317
  }
834
1318
 
835
1319
  export type ProjectCreateManyOwnerInput = {
@@ -856,6 +1340,10 @@ export type ProjectUpdateWithoutOwnerInput = {
856
1340
  workspace?: Prisma.WorkspaceUpdateOneWithoutProjectsNestedInput
857
1341
  members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
858
1342
  activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
1343
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
1344
+ iterations?: Prisma.IterationUpdateManyWithoutProjectNestedInput
1345
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUpdateOneWithoutProjectNestedInput
1346
+ stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
859
1347
  }
860
1348
 
861
1349
  export type ProjectUncheckedUpdateWithoutOwnerInput = {
@@ -870,6 +1358,10 @@ export type ProjectUncheckedUpdateWithoutOwnerInput = {
870
1358
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
871
1359
  members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
872
1360
  activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
1361
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
1362
+ iterations?: Prisma.IterationUncheckedUpdateManyWithoutProjectNestedInput
1363
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedUpdateOneWithoutProjectNestedInput
1364
+ stories?: Prisma.StoryUncheckedUpdateManyWithoutProjectNestedInput
873
1365
  }
874
1366
 
875
1367
  export type ProjectUncheckedUpdateManyWithoutOwnerInput = {
@@ -908,6 +1400,10 @@ export type ProjectUpdateWithoutWorkspaceInput = {
908
1400
  owner?: Prisma.UserUpdateOneRequiredWithoutOwnedProjectsNestedInput
909
1401
  members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
910
1402
  activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
1403
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
1404
+ iterations?: Prisma.IterationUpdateManyWithoutProjectNestedInput
1405
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUpdateOneWithoutProjectNestedInput
1406
+ stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
911
1407
  }
912
1408
 
913
1409
  export type ProjectUncheckedUpdateWithoutWorkspaceInput = {
@@ -922,6 +1418,10 @@ export type ProjectUncheckedUpdateWithoutWorkspaceInput = {
922
1418
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
923
1419
  members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
924
1420
  activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
1421
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
1422
+ iterations?: Prisma.IterationUncheckedUpdateManyWithoutProjectNestedInput
1423
+ iterationAutoSchedule?: Prisma.IterationAutoScheduleUncheckedUpdateOneWithoutProjectNestedInput
1424
+ stories?: Prisma.StoryUncheckedUpdateManyWithoutProjectNestedInput
925
1425
  }
926
1426
 
927
1427
  export type ProjectUncheckedUpdateManyWithoutWorkspaceInput = {
@@ -944,11 +1444,17 @@ export type ProjectUncheckedUpdateManyWithoutWorkspaceInput = {
944
1444
  export type ProjectCountOutputType = {
945
1445
  members: number
946
1446
  activities: number
1447
+ knowledgeBases: number
1448
+ iterations: number
1449
+ stories: number
947
1450
  }
948
1451
 
949
1452
  export type ProjectCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
950
1453
  members?: boolean | ProjectCountOutputTypeCountMembersArgs
951
1454
  activities?: boolean | ProjectCountOutputTypeCountActivitiesArgs
1455
+ knowledgeBases?: boolean | ProjectCountOutputTypeCountKnowledgeBasesArgs
1456
+ iterations?: boolean | ProjectCountOutputTypeCountIterationsArgs
1457
+ stories?: boolean | ProjectCountOutputTypeCountStoriesArgs
952
1458
  }
953
1459
 
954
1460
  /**
@@ -975,6 +1481,27 @@ export type ProjectCountOutputTypeCountActivitiesArgs<ExtArgs extends runtime.Ty
975
1481
  where?: Prisma.ProjectActivityWhereInput
976
1482
  }
977
1483
 
1484
+ /**
1485
+ * ProjectCountOutputType without action
1486
+ */
1487
+ export type ProjectCountOutputTypeCountKnowledgeBasesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1488
+ where?: Prisma.ProjectKnowledgeBaseWhereInput
1489
+ }
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
+
978
1505
 
979
1506
  export type ProjectSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
980
1507
  id?: boolean
@@ -991,6 +1518,10 @@ export type ProjectSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
991
1518
  workspace?: boolean | Prisma.Project$workspaceArgs<ExtArgs>
992
1519
  members?: boolean | Prisma.Project$membersArgs<ExtArgs>
993
1520
  activities?: boolean | Prisma.Project$activitiesArgs<ExtArgs>
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>
994
1525
  _count?: boolean | Prisma.ProjectCountOutputTypeDefaultArgs<ExtArgs>
995
1526
  }, ExtArgs["result"]["project"]>
996
1527
 
@@ -1043,6 +1574,10 @@ export type ProjectInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs
1043
1574
  workspace?: boolean | Prisma.Project$workspaceArgs<ExtArgs>
1044
1575
  members?: boolean | Prisma.Project$membersArgs<ExtArgs>
1045
1576
  activities?: boolean | Prisma.Project$activitiesArgs<ExtArgs>
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>
1046
1581
  _count?: boolean | Prisma.ProjectCountOutputTypeDefaultArgs<ExtArgs>
1047
1582
  }
1048
1583
  export type ProjectIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -1061,6 +1596,10 @@ export type $ProjectPayload<ExtArgs extends runtime.Types.Extensions.InternalArg
1061
1596
  workspace: Prisma.$WorkspacePayload<ExtArgs> | null
1062
1597
  members: Prisma.$ProjectMemberPayload<ExtArgs>[]
1063
1598
  activities: Prisma.$ProjectActivityPayload<ExtArgs>[]
1599
+ knowledgeBases: Prisma.$ProjectKnowledgeBasePayload<ExtArgs>[]
1600
+ iterations: Prisma.$IterationPayload<ExtArgs>[]
1601
+ iterationAutoSchedule: Prisma.$IterationAutoSchedulePayload<ExtArgs> | null
1602
+ stories: Prisma.$StoryPayload<ExtArgs>[]
1064
1603
  }
1065
1604
  scalars: runtime.Types.Extensions.GetPayloadResult<{
1066
1605
  id: string
@@ -1471,6 +2010,10 @@ export interface Prisma__ProjectClient<T, Null = never, ExtArgs extends runtime.
1471
2010
  workspace<T extends Prisma.Project$workspaceArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Project$workspaceArgs<ExtArgs>>): Prisma.Prisma__WorkspaceClient<runtime.Types.Result.GetResult<Prisma.$WorkspacePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1472
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>
1473
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>
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>
1474
2017
  /**
1475
2018
  * Attaches callbacks for the resolution and/or rejection of the Promise.
1476
2019
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -1975,6 +2518,97 @@ export type Project$activitiesArgs<ExtArgs extends runtime.Types.Extensions.Inte
1975
2518
  distinct?: Prisma.ProjectActivityScalarFieldEnum | Prisma.ProjectActivityScalarFieldEnum[]
1976
2519
  }
1977
2520
 
2521
+ /**
2522
+ * Project.knowledgeBases
2523
+ */
2524
+ export type Project$knowledgeBasesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2525
+ /**
2526
+ * Select specific fields to fetch from the ProjectKnowledgeBase
2527
+ */
2528
+ select?: Prisma.ProjectKnowledgeBaseSelect<ExtArgs> | null
2529
+ /**
2530
+ * Omit specific fields from the ProjectKnowledgeBase
2531
+ */
2532
+ omit?: Prisma.ProjectKnowledgeBaseOmit<ExtArgs> | null
2533
+ /**
2534
+ * Choose, which related nodes to fetch as well
2535
+ */
2536
+ include?: Prisma.ProjectKnowledgeBaseInclude<ExtArgs> | null
2537
+ where?: Prisma.ProjectKnowledgeBaseWhereInput
2538
+ orderBy?: Prisma.ProjectKnowledgeBaseOrderByWithRelationInput | Prisma.ProjectKnowledgeBaseOrderByWithRelationInput[]
2539
+ cursor?: Prisma.ProjectKnowledgeBaseWhereUniqueInput
2540
+ take?: number
2541
+ skip?: number
2542
+ distinct?: Prisma.ProjectKnowledgeBaseScalarFieldEnum | Prisma.ProjectKnowledgeBaseScalarFieldEnum[]
2543
+ }
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
+
1978
2612
  /**
1979
2613
  * Project without action
1980
2614
  */