@allbluecn/database 0.4.15 → 0.4.16

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 (29) hide show
  1. package/generated/browser.ts +10 -0
  2. package/generated/client.ts +10 -0
  3. package/generated/commonInputTypes.ts +34 -0
  4. package/generated/internal/class.ts +24 -4
  5. package/generated/internal/prismaNamespace.ts +191 -1
  6. package/generated/internal/prismaNamespaceBrowser.ts +26 -0
  7. package/generated/models/KnowledgeBase.ts +138 -0
  8. package/generated/models/Project.ts +158 -0
  9. package/generated/models/ProjectKnowledgeBase.ts +1430 -0
  10. package/generated/models/Story.ts +270 -0
  11. package/generated/models/StoryAttachment.ts +110 -1
  12. package/generated/models/StoryExternalLink.ts +1352 -0
  13. package/generated/models.ts +2 -0
  14. package/generated-sqlite/browser.ts +5 -0
  15. package/generated-sqlite/client.ts +5 -0
  16. package/generated-sqlite/internal/class.ts +14 -4
  17. package/generated-sqlite/internal/prismaNamespace.ts +87 -1
  18. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +11 -0
  19. package/generated-sqlite/models/KnowledgeBase.ts +138 -0
  20. package/generated-sqlite/models/Project.ts +150 -0
  21. package/generated-sqlite/models/ProjectKnowledgeBase.ts +1426 -0
  22. package/generated-sqlite/models.ts +1 -0
  23. package/migrations/20260831063744_project_knowledge_base/migration.sql +24 -0
  24. package/migrations/20260831123150_story_external_link/migration.sql +19 -0
  25. package/migrations/20260831151740_story_attachment_bytes/migration.sql +2 -0
  26. package/migrations/20260901010000_story_attachment_description/migration.sql +2 -0
  27. package/package.json +2 -2
  28. package/schema.prisma +51 -13
  29. package/schema.sqlite.prisma +25 -7
@@ -226,6 +226,7 @@ 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
229
230
  }
230
231
 
231
232
  export type ProjectOrderByWithRelationInput = {
@@ -243,6 +244,7 @@ export type ProjectOrderByWithRelationInput = {
243
244
  workspace?: Prisma.WorkspaceOrderByWithRelationInput
244
245
  members?: Prisma.ProjectMemberOrderByRelationAggregateInput
245
246
  activities?: Prisma.ProjectActivityOrderByRelationAggregateInput
247
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseOrderByRelationAggregateInput
246
248
  }
247
249
 
248
250
  export type ProjectWhereUniqueInput = Prisma.AtLeast<{
@@ -264,6 +266,7 @@ export type ProjectWhereUniqueInput = Prisma.AtLeast<{
264
266
  workspace?: Prisma.XOR<Prisma.WorkspaceNullableScalarRelationFilter, Prisma.WorkspaceWhereInput> | null
265
267
  members?: Prisma.ProjectMemberListRelationFilter
266
268
  activities?: Prisma.ProjectActivityListRelationFilter
269
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseListRelationFilter
267
270
  }, "id" | "ownerId_displayId">
268
271
 
269
272
  export type ProjectOrderByWithAggregationInput = {
@@ -311,6 +314,7 @@ export type ProjectCreateInput = {
311
314
  workspace?: Prisma.WorkspaceCreateNestedOneWithoutProjectsInput
312
315
  members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
313
316
  activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
317
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
314
318
  }
315
319
 
316
320
  export type ProjectUncheckedCreateInput = {
@@ -326,6 +330,7 @@ export type ProjectUncheckedCreateInput = {
326
330
  updatedAt?: Date | string
327
331
  members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
328
332
  activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
333
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
329
334
  }
330
335
 
331
336
  export type ProjectUpdateInput = {
@@ -341,6 +346,7 @@ export type ProjectUpdateInput = {
341
346
  workspace?: Prisma.WorkspaceUpdateOneWithoutProjectsNestedInput
342
347
  members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
343
348
  activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
349
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
344
350
  }
345
351
 
346
352
  export type ProjectUncheckedUpdateInput = {
@@ -356,6 +362,7 @@ export type ProjectUncheckedUpdateInput = {
356
362
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
357
363
  members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
358
364
  activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
365
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
359
366
  }
360
367
 
361
368
  export type ProjectCreateManyInput = {
@@ -566,6 +573,20 @@ export type ProjectUpdateOneRequiredWithoutActivitiesNestedInput = {
566
573
  update?: Prisma.XOR<Prisma.XOR<Prisma.ProjectUpdateToOneWithWhereWithoutActivitiesInput, Prisma.ProjectUpdateWithoutActivitiesInput>, Prisma.ProjectUncheckedUpdateWithoutActivitiesInput>
567
574
  }
568
575
 
576
+ export type ProjectCreateNestedOneWithoutKnowledgeBasesInput = {
577
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutKnowledgeBasesInput, Prisma.ProjectUncheckedCreateWithoutKnowledgeBasesInput>
578
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutKnowledgeBasesInput
579
+ connect?: Prisma.ProjectWhereUniqueInput
580
+ }
581
+
582
+ export type ProjectUpdateOneRequiredWithoutKnowledgeBasesNestedInput = {
583
+ create?: Prisma.XOR<Prisma.ProjectCreateWithoutKnowledgeBasesInput, Prisma.ProjectUncheckedCreateWithoutKnowledgeBasesInput>
584
+ connectOrCreate?: Prisma.ProjectCreateOrConnectWithoutKnowledgeBasesInput
585
+ upsert?: Prisma.ProjectUpsertWithoutKnowledgeBasesInput
586
+ connect?: Prisma.ProjectWhereUniqueInput
587
+ update?: Prisma.XOR<Prisma.XOR<Prisma.ProjectUpdateToOneWithWhereWithoutKnowledgeBasesInput, Prisma.ProjectUpdateWithoutKnowledgeBasesInput>, Prisma.ProjectUncheckedUpdateWithoutKnowledgeBasesInput>
588
+ }
589
+
569
590
  export type ProjectCreateWithoutOwnerInput = {
570
591
  id?: string
571
592
  displayId?: string | null
@@ -578,6 +599,7 @@ export type ProjectCreateWithoutOwnerInput = {
578
599
  workspace?: Prisma.WorkspaceCreateNestedOneWithoutProjectsInput
579
600
  members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
580
601
  activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
602
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
581
603
  }
582
604
 
583
605
  export type ProjectUncheckedCreateWithoutOwnerInput = {
@@ -592,6 +614,7 @@ export type ProjectUncheckedCreateWithoutOwnerInput = {
592
614
  updatedAt?: Date | string
593
615
  members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
594
616
  activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
617
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
595
618
  }
596
619
 
597
620
  export type ProjectCreateOrConnectWithoutOwnerInput = {
@@ -647,6 +670,7 @@ export type ProjectCreateWithoutMembersInput = {
647
670
  owner: Prisma.UserCreateNestedOneWithoutOwnedProjectsInput
648
671
  workspace?: Prisma.WorkspaceCreateNestedOneWithoutProjectsInput
649
672
  activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
673
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
650
674
  }
651
675
 
652
676
  export type ProjectUncheckedCreateWithoutMembersInput = {
@@ -661,6 +685,7 @@ export type ProjectUncheckedCreateWithoutMembersInput = {
661
685
  createdAt?: Date | string
662
686
  updatedAt?: Date | string
663
687
  activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
688
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
664
689
  }
665
690
 
666
691
  export type ProjectCreateOrConnectWithoutMembersInput = {
@@ -691,6 +716,7 @@ export type ProjectUpdateWithoutMembersInput = {
691
716
  owner?: Prisma.UserUpdateOneRequiredWithoutOwnedProjectsNestedInput
692
717
  workspace?: Prisma.WorkspaceUpdateOneWithoutProjectsNestedInput
693
718
  activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
719
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
694
720
  }
695
721
 
696
722
  export type ProjectUncheckedUpdateWithoutMembersInput = {
@@ -705,6 +731,7 @@ export type ProjectUncheckedUpdateWithoutMembersInput = {
705
731
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
706
732
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
707
733
  activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
734
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
708
735
  }
709
736
 
710
737
  export type ProjectCreateWithoutWorkspaceInput = {
@@ -719,6 +746,7 @@ export type ProjectCreateWithoutWorkspaceInput = {
719
746
  owner: Prisma.UserCreateNestedOneWithoutOwnedProjectsInput
720
747
  members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
721
748
  activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
749
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
722
750
  }
723
751
 
724
752
  export type ProjectUncheckedCreateWithoutWorkspaceInput = {
@@ -733,6 +761,7 @@ export type ProjectUncheckedCreateWithoutWorkspaceInput = {
733
761
  updatedAt?: Date | string
734
762
  members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
735
763
  activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
764
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
736
765
  }
737
766
 
738
767
  export type ProjectCreateOrConnectWithoutWorkspaceInput = {
@@ -772,6 +801,7 @@ export type ProjectCreateWithoutActivitiesInput = {
772
801
  owner: Prisma.UserCreateNestedOneWithoutOwnedProjectsInput
773
802
  workspace?: Prisma.WorkspaceCreateNestedOneWithoutProjectsInput
774
803
  members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
804
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
775
805
  }
776
806
 
777
807
  export type ProjectUncheckedCreateWithoutActivitiesInput = {
@@ -786,6 +816,7 @@ export type ProjectUncheckedCreateWithoutActivitiesInput = {
786
816
  createdAt?: Date | string
787
817
  updatedAt?: Date | string
788
818
  members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
819
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
789
820
  }
790
821
 
791
822
  export type ProjectCreateOrConnectWithoutActivitiesInput = {
@@ -816,6 +847,7 @@ export type ProjectUpdateWithoutActivitiesInput = {
816
847
  owner?: Prisma.UserUpdateOneRequiredWithoutOwnedProjectsNestedInput
817
848
  workspace?: Prisma.WorkspaceUpdateOneWithoutProjectsNestedInput
818
849
  members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
850
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
819
851
  }
820
852
 
821
853
  export type ProjectUncheckedUpdateWithoutActivitiesInput = {
@@ -830,6 +862,83 @@ export type ProjectUncheckedUpdateWithoutActivitiesInput = {
830
862
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
831
863
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
832
864
  members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
865
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
866
+ }
867
+
868
+ export type ProjectCreateWithoutKnowledgeBasesInput = {
869
+ id?: string
870
+ displayId?: string | null
871
+ name: string
872
+ description?: string | null
873
+ icon?: string
874
+ timezone?: string | null
875
+ createdAt?: Date | string
876
+ updatedAt?: Date | string
877
+ owner: Prisma.UserCreateNestedOneWithoutOwnedProjectsInput
878
+ workspace?: Prisma.WorkspaceCreateNestedOneWithoutProjectsInput
879
+ members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
880
+ activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
881
+ }
882
+
883
+ export type ProjectUncheckedCreateWithoutKnowledgeBasesInput = {
884
+ id?: string
885
+ displayId?: string | null
886
+ name: string
887
+ description?: string | null
888
+ icon?: string
889
+ timezone?: string | null
890
+ ownerId: string
891
+ workspaceId?: string | null
892
+ createdAt?: Date | string
893
+ updatedAt?: Date | string
894
+ members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
895
+ activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
896
+ }
897
+
898
+ export type ProjectCreateOrConnectWithoutKnowledgeBasesInput = {
899
+ where: Prisma.ProjectWhereUniqueInput
900
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutKnowledgeBasesInput, Prisma.ProjectUncheckedCreateWithoutKnowledgeBasesInput>
901
+ }
902
+
903
+ export type ProjectUpsertWithoutKnowledgeBasesInput = {
904
+ update: Prisma.XOR<Prisma.ProjectUpdateWithoutKnowledgeBasesInput, Prisma.ProjectUncheckedUpdateWithoutKnowledgeBasesInput>
905
+ create: Prisma.XOR<Prisma.ProjectCreateWithoutKnowledgeBasesInput, Prisma.ProjectUncheckedCreateWithoutKnowledgeBasesInput>
906
+ where?: Prisma.ProjectWhereInput
907
+ }
908
+
909
+ export type ProjectUpdateToOneWithWhereWithoutKnowledgeBasesInput = {
910
+ where?: Prisma.ProjectWhereInput
911
+ data: Prisma.XOR<Prisma.ProjectUpdateWithoutKnowledgeBasesInput, Prisma.ProjectUncheckedUpdateWithoutKnowledgeBasesInput>
912
+ }
913
+
914
+ export type ProjectUpdateWithoutKnowledgeBasesInput = {
915
+ id?: Prisma.StringFieldUpdateOperationsInput | string
916
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
917
+ name?: Prisma.StringFieldUpdateOperationsInput | string
918
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
919
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
920
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
921
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
922
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
923
+ owner?: Prisma.UserUpdateOneRequiredWithoutOwnedProjectsNestedInput
924
+ workspace?: Prisma.WorkspaceUpdateOneWithoutProjectsNestedInput
925
+ members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
926
+ activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
927
+ }
928
+
929
+ export type ProjectUncheckedUpdateWithoutKnowledgeBasesInput = {
930
+ id?: Prisma.StringFieldUpdateOperationsInput | string
931
+ displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
932
+ name?: Prisma.StringFieldUpdateOperationsInput | string
933
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
934
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
935
+ timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
936
+ ownerId?: Prisma.StringFieldUpdateOperationsInput | string
937
+ workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
938
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
939
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
940
+ members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
941
+ activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
833
942
  }
834
943
 
835
944
  export type ProjectCreateManyOwnerInput = {
@@ -856,6 +965,7 @@ export type ProjectUpdateWithoutOwnerInput = {
856
965
  workspace?: Prisma.WorkspaceUpdateOneWithoutProjectsNestedInput
857
966
  members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
858
967
  activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
968
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
859
969
  }
860
970
 
861
971
  export type ProjectUncheckedUpdateWithoutOwnerInput = {
@@ -870,6 +980,7 @@ export type ProjectUncheckedUpdateWithoutOwnerInput = {
870
980
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
871
981
  members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
872
982
  activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
983
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
873
984
  }
874
985
 
875
986
  export type ProjectUncheckedUpdateManyWithoutOwnerInput = {
@@ -908,6 +1019,7 @@ export type ProjectUpdateWithoutWorkspaceInput = {
908
1019
  owner?: Prisma.UserUpdateOneRequiredWithoutOwnedProjectsNestedInput
909
1020
  members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
910
1021
  activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
1022
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
911
1023
  }
912
1024
 
913
1025
  export type ProjectUncheckedUpdateWithoutWorkspaceInput = {
@@ -922,6 +1034,7 @@ export type ProjectUncheckedUpdateWithoutWorkspaceInput = {
922
1034
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
923
1035
  members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
924
1036
  activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
1037
+ knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
925
1038
  }
926
1039
 
927
1040
  export type ProjectUncheckedUpdateManyWithoutWorkspaceInput = {
@@ -944,11 +1057,13 @@ export type ProjectUncheckedUpdateManyWithoutWorkspaceInput = {
944
1057
  export type ProjectCountOutputType = {
945
1058
  members: number
946
1059
  activities: number
1060
+ knowledgeBases: number
947
1061
  }
948
1062
 
949
1063
  export type ProjectCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
950
1064
  members?: boolean | ProjectCountOutputTypeCountMembersArgs
951
1065
  activities?: boolean | ProjectCountOutputTypeCountActivitiesArgs
1066
+ knowledgeBases?: boolean | ProjectCountOutputTypeCountKnowledgeBasesArgs
952
1067
  }
953
1068
 
954
1069
  /**
@@ -975,6 +1090,13 @@ export type ProjectCountOutputTypeCountActivitiesArgs<ExtArgs extends runtime.Ty
975
1090
  where?: Prisma.ProjectActivityWhereInput
976
1091
  }
977
1092
 
1093
+ /**
1094
+ * ProjectCountOutputType without action
1095
+ */
1096
+ export type ProjectCountOutputTypeCountKnowledgeBasesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1097
+ where?: Prisma.ProjectKnowledgeBaseWhereInput
1098
+ }
1099
+
978
1100
 
979
1101
  export type ProjectSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
980
1102
  id?: boolean
@@ -991,6 +1113,7 @@ export type ProjectSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
991
1113
  workspace?: boolean | Prisma.Project$workspaceArgs<ExtArgs>
992
1114
  members?: boolean | Prisma.Project$membersArgs<ExtArgs>
993
1115
  activities?: boolean | Prisma.Project$activitiesArgs<ExtArgs>
1116
+ knowledgeBases?: boolean | Prisma.Project$knowledgeBasesArgs<ExtArgs>
994
1117
  _count?: boolean | Prisma.ProjectCountOutputTypeDefaultArgs<ExtArgs>
995
1118
  }, ExtArgs["result"]["project"]>
996
1119
 
@@ -1043,6 +1166,7 @@ export type ProjectInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs
1043
1166
  workspace?: boolean | Prisma.Project$workspaceArgs<ExtArgs>
1044
1167
  members?: boolean | Prisma.Project$membersArgs<ExtArgs>
1045
1168
  activities?: boolean | Prisma.Project$activitiesArgs<ExtArgs>
1169
+ knowledgeBases?: boolean | Prisma.Project$knowledgeBasesArgs<ExtArgs>
1046
1170
  _count?: boolean | Prisma.ProjectCountOutputTypeDefaultArgs<ExtArgs>
1047
1171
  }
1048
1172
  export type ProjectIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -1061,6 +1185,7 @@ export type $ProjectPayload<ExtArgs extends runtime.Types.Extensions.InternalArg
1061
1185
  workspace: Prisma.$WorkspacePayload<ExtArgs> | null
1062
1186
  members: Prisma.$ProjectMemberPayload<ExtArgs>[]
1063
1187
  activities: Prisma.$ProjectActivityPayload<ExtArgs>[]
1188
+ knowledgeBases: Prisma.$ProjectKnowledgeBasePayload<ExtArgs>[]
1064
1189
  }
1065
1190
  scalars: runtime.Types.Extensions.GetPayloadResult<{
1066
1191
  id: string
@@ -1471,6 +1596,7 @@ export interface Prisma__ProjectClient<T, Null = never, ExtArgs extends runtime.
1471
1596
  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
1597
  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
1598
  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
+ 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>
1474
1600
  /**
1475
1601
  * Attaches callbacks for the resolution and/or rejection of the Promise.
1476
1602
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -1975,6 +2101,30 @@ export type Project$activitiesArgs<ExtArgs extends runtime.Types.Extensions.Inte
1975
2101
  distinct?: Prisma.ProjectActivityScalarFieldEnum | Prisma.ProjectActivityScalarFieldEnum[]
1976
2102
  }
1977
2103
 
2104
+ /**
2105
+ * Project.knowledgeBases
2106
+ */
2107
+ export type Project$knowledgeBasesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2108
+ /**
2109
+ * Select specific fields to fetch from the ProjectKnowledgeBase
2110
+ */
2111
+ select?: Prisma.ProjectKnowledgeBaseSelect<ExtArgs> | null
2112
+ /**
2113
+ * Omit specific fields from the ProjectKnowledgeBase
2114
+ */
2115
+ omit?: Prisma.ProjectKnowledgeBaseOmit<ExtArgs> | null
2116
+ /**
2117
+ * Choose, which related nodes to fetch as well
2118
+ */
2119
+ include?: Prisma.ProjectKnowledgeBaseInclude<ExtArgs> | null
2120
+ where?: Prisma.ProjectKnowledgeBaseWhereInput
2121
+ orderBy?: Prisma.ProjectKnowledgeBaseOrderByWithRelationInput | Prisma.ProjectKnowledgeBaseOrderByWithRelationInput[]
2122
+ cursor?: Prisma.ProjectKnowledgeBaseWhereUniqueInput
2123
+ take?: number
2124
+ skip?: number
2125
+ distinct?: Prisma.ProjectKnowledgeBaseScalarFieldEnum | Prisma.ProjectKnowledgeBaseScalarFieldEnum[]
2126
+ }
2127
+
1978
2128
  /**
1979
2129
  * Project without action
1980
2130
  */