@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.
- package/generated/browser.ts +10 -0
- package/generated/client.ts +10 -0
- package/generated/commonInputTypes.ts +34 -0
- package/generated/internal/class.ts +24 -4
- package/generated/internal/prismaNamespace.ts +191 -1
- package/generated/internal/prismaNamespaceBrowser.ts +26 -0
- package/generated/models/KnowledgeBase.ts +138 -0
- package/generated/models/Project.ts +158 -0
- package/generated/models/ProjectKnowledgeBase.ts +1430 -0
- package/generated/models/Story.ts +270 -0
- package/generated/models/StoryAttachment.ts +110 -1
- package/generated/models/StoryExternalLink.ts +1352 -0
- package/generated/models.ts +2 -0
- package/generated-sqlite/browser.ts +5 -0
- package/generated-sqlite/client.ts +5 -0
- package/generated-sqlite/internal/class.ts +14 -4
- package/generated-sqlite/internal/prismaNamespace.ts +87 -1
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +11 -0
- package/generated-sqlite/models/KnowledgeBase.ts +138 -0
- package/generated-sqlite/models/Project.ts +150 -0
- package/generated-sqlite/models/ProjectKnowledgeBase.ts +1426 -0
- package/generated-sqlite/models.ts +1 -0
- package/migrations/20260831063744_project_knowledge_base/migration.sql +24 -0
- package/migrations/20260831123150_story_external_link/migration.sql +19 -0
- package/migrations/20260831151740_story_attachment_bytes/migration.sql +2 -0
- package/migrations/20260901010000_story_attachment_description/migration.sql +2 -0
- package/package.json +2 -2
- package/schema.prisma +51 -13
- package/schema.sqlite.prisma +25 -7
|
@@ -227,6 +227,7 @@ export type ProjectWhereInput = {
|
|
|
227
227
|
members?: Prisma.ProjectMemberListRelationFilter
|
|
228
228
|
activities?: Prisma.ProjectActivityListRelationFilter
|
|
229
229
|
stories?: Prisma.StoryListRelationFilter
|
|
230
|
+
knowledgeBases?: Prisma.ProjectKnowledgeBaseListRelationFilter
|
|
230
231
|
}
|
|
231
232
|
|
|
232
233
|
export type ProjectOrderByWithRelationInput = {
|
|
@@ -245,6 +246,7 @@ export type ProjectOrderByWithRelationInput = {
|
|
|
245
246
|
members?: Prisma.ProjectMemberOrderByRelationAggregateInput
|
|
246
247
|
activities?: Prisma.ProjectActivityOrderByRelationAggregateInput
|
|
247
248
|
stories?: Prisma.StoryOrderByRelationAggregateInput
|
|
249
|
+
knowledgeBases?: Prisma.ProjectKnowledgeBaseOrderByRelationAggregateInput
|
|
248
250
|
}
|
|
249
251
|
|
|
250
252
|
export type ProjectWhereUniqueInput = Prisma.AtLeast<{
|
|
@@ -267,6 +269,7 @@ export type ProjectWhereUniqueInput = Prisma.AtLeast<{
|
|
|
267
269
|
members?: Prisma.ProjectMemberListRelationFilter
|
|
268
270
|
activities?: Prisma.ProjectActivityListRelationFilter
|
|
269
271
|
stories?: Prisma.StoryListRelationFilter
|
|
272
|
+
knowledgeBases?: Prisma.ProjectKnowledgeBaseListRelationFilter
|
|
270
273
|
}, "id" | "ownerId_displayId">
|
|
271
274
|
|
|
272
275
|
export type ProjectOrderByWithAggregationInput = {
|
|
@@ -315,6 +318,7 @@ export type ProjectCreateInput = {
|
|
|
315
318
|
members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
|
|
316
319
|
activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
|
|
317
320
|
stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
|
|
321
|
+
knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
|
|
318
322
|
}
|
|
319
323
|
|
|
320
324
|
export type ProjectUncheckedCreateInput = {
|
|
@@ -331,6 +335,7 @@ export type ProjectUncheckedCreateInput = {
|
|
|
331
335
|
members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
|
|
332
336
|
activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
|
|
333
337
|
stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
|
|
338
|
+
knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
|
|
334
339
|
}
|
|
335
340
|
|
|
336
341
|
export type ProjectUpdateInput = {
|
|
@@ -347,6 +352,7 @@ export type ProjectUpdateInput = {
|
|
|
347
352
|
members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
|
|
348
353
|
activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
|
|
349
354
|
stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
|
|
355
|
+
knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
|
|
350
356
|
}
|
|
351
357
|
|
|
352
358
|
export type ProjectUncheckedUpdateInput = {
|
|
@@ -363,6 +369,7 @@ export type ProjectUncheckedUpdateInput = {
|
|
|
363
369
|
members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
|
|
364
370
|
activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
|
|
365
371
|
stories?: Prisma.StoryUncheckedUpdateManyWithoutProjectNestedInput
|
|
372
|
+
knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
|
|
366
373
|
}
|
|
367
374
|
|
|
368
375
|
export type ProjectCreateManyInput = {
|
|
@@ -587,6 +594,20 @@ export type ProjectUpdateOneRequiredWithoutStoriesNestedInput = {
|
|
|
587
594
|
update?: Prisma.XOR<Prisma.XOR<Prisma.ProjectUpdateToOneWithWhereWithoutStoriesInput, Prisma.ProjectUpdateWithoutStoriesInput>, Prisma.ProjectUncheckedUpdateWithoutStoriesInput>
|
|
588
595
|
}
|
|
589
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
|
+
|
|
590
611
|
export type ProjectCreateWithoutOwnerInput = {
|
|
591
612
|
id?: string
|
|
592
613
|
displayId?: string | null
|
|
@@ -600,6 +621,7 @@ export type ProjectCreateWithoutOwnerInput = {
|
|
|
600
621
|
members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
|
|
601
622
|
activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
|
|
602
623
|
stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
|
|
624
|
+
knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
|
|
603
625
|
}
|
|
604
626
|
|
|
605
627
|
export type ProjectUncheckedCreateWithoutOwnerInput = {
|
|
@@ -615,6 +637,7 @@ export type ProjectUncheckedCreateWithoutOwnerInput = {
|
|
|
615
637
|
members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
|
|
616
638
|
activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
|
|
617
639
|
stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
|
|
640
|
+
knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
|
|
618
641
|
}
|
|
619
642
|
|
|
620
643
|
export type ProjectCreateOrConnectWithoutOwnerInput = {
|
|
@@ -672,6 +695,7 @@ export type ProjectCreateWithoutMembersInput = {
|
|
|
672
695
|
workspace?: Prisma.WorkspaceCreateNestedOneWithoutProjectsInput
|
|
673
696
|
activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
|
|
674
697
|
stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
|
|
698
|
+
knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
|
|
675
699
|
}
|
|
676
700
|
|
|
677
701
|
export type ProjectUncheckedCreateWithoutMembersInput = {
|
|
@@ -687,6 +711,7 @@ export type ProjectUncheckedCreateWithoutMembersInput = {
|
|
|
687
711
|
updatedAt?: Date | string
|
|
688
712
|
activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
|
|
689
713
|
stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
|
|
714
|
+
knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
|
|
690
715
|
}
|
|
691
716
|
|
|
692
717
|
export type ProjectCreateOrConnectWithoutMembersInput = {
|
|
@@ -718,6 +743,7 @@ export type ProjectUpdateWithoutMembersInput = {
|
|
|
718
743
|
workspace?: Prisma.WorkspaceUpdateOneWithoutProjectsNestedInput
|
|
719
744
|
activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
|
|
720
745
|
stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
|
|
746
|
+
knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
|
|
721
747
|
}
|
|
722
748
|
|
|
723
749
|
export type ProjectUncheckedUpdateWithoutMembersInput = {
|
|
@@ -733,6 +759,7 @@ export type ProjectUncheckedUpdateWithoutMembersInput = {
|
|
|
733
759
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
734
760
|
activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
|
|
735
761
|
stories?: Prisma.StoryUncheckedUpdateManyWithoutProjectNestedInput
|
|
762
|
+
knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
|
|
736
763
|
}
|
|
737
764
|
|
|
738
765
|
export type ProjectCreateWithoutWorkspaceInput = {
|
|
@@ -748,6 +775,7 @@ export type ProjectCreateWithoutWorkspaceInput = {
|
|
|
748
775
|
members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
|
|
749
776
|
activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
|
|
750
777
|
stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
|
|
778
|
+
knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
|
|
751
779
|
}
|
|
752
780
|
|
|
753
781
|
export type ProjectUncheckedCreateWithoutWorkspaceInput = {
|
|
@@ -763,6 +791,7 @@ export type ProjectUncheckedCreateWithoutWorkspaceInput = {
|
|
|
763
791
|
members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
|
|
764
792
|
activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
|
|
765
793
|
stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
|
|
794
|
+
knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
|
|
766
795
|
}
|
|
767
796
|
|
|
768
797
|
export type ProjectCreateOrConnectWithoutWorkspaceInput = {
|
|
@@ -804,6 +833,7 @@ export type ProjectCreateWithoutActivitiesInput = {
|
|
|
804
833
|
workspace?: Prisma.WorkspaceCreateNestedOneWithoutProjectsInput
|
|
805
834
|
members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
|
|
806
835
|
stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
|
|
836
|
+
knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
|
|
807
837
|
}
|
|
808
838
|
|
|
809
839
|
export type ProjectUncheckedCreateWithoutActivitiesInput = {
|
|
@@ -819,6 +849,7 @@ export type ProjectUncheckedCreateWithoutActivitiesInput = {
|
|
|
819
849
|
updatedAt?: Date | string
|
|
820
850
|
members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
|
|
821
851
|
stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
|
|
852
|
+
knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
|
|
822
853
|
}
|
|
823
854
|
|
|
824
855
|
export type ProjectCreateOrConnectWithoutActivitiesInput = {
|
|
@@ -850,6 +881,7 @@ export type ProjectUpdateWithoutActivitiesInput = {
|
|
|
850
881
|
workspace?: Prisma.WorkspaceUpdateOneWithoutProjectsNestedInput
|
|
851
882
|
members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
|
|
852
883
|
stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
|
|
884
|
+
knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
|
|
853
885
|
}
|
|
854
886
|
|
|
855
887
|
export type ProjectUncheckedUpdateWithoutActivitiesInput = {
|
|
@@ -865,6 +897,7 @@ export type ProjectUncheckedUpdateWithoutActivitiesInput = {
|
|
|
865
897
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
866
898
|
members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
|
|
867
899
|
stories?: Prisma.StoryUncheckedUpdateManyWithoutProjectNestedInput
|
|
900
|
+
knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
|
|
868
901
|
}
|
|
869
902
|
|
|
870
903
|
export type ProjectCreateWithoutStoriesInput = {
|
|
@@ -880,6 +913,7 @@ export type ProjectCreateWithoutStoriesInput = {
|
|
|
880
913
|
workspace?: Prisma.WorkspaceCreateNestedOneWithoutProjectsInput
|
|
881
914
|
members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
|
|
882
915
|
activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
|
|
916
|
+
knowledgeBases?: Prisma.ProjectKnowledgeBaseCreateNestedManyWithoutProjectInput
|
|
883
917
|
}
|
|
884
918
|
|
|
885
919
|
export type ProjectUncheckedCreateWithoutStoriesInput = {
|
|
@@ -895,6 +929,7 @@ export type ProjectUncheckedCreateWithoutStoriesInput = {
|
|
|
895
929
|
updatedAt?: Date | string
|
|
896
930
|
members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
|
|
897
931
|
activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
|
|
932
|
+
knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedCreateNestedManyWithoutProjectInput
|
|
898
933
|
}
|
|
899
934
|
|
|
900
935
|
export type ProjectCreateOrConnectWithoutStoriesInput = {
|
|
@@ -926,6 +961,7 @@ export type ProjectUpdateWithoutStoriesInput = {
|
|
|
926
961
|
workspace?: Prisma.WorkspaceUpdateOneWithoutProjectsNestedInput
|
|
927
962
|
members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
|
|
928
963
|
activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
|
|
964
|
+
knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
|
|
929
965
|
}
|
|
930
966
|
|
|
931
967
|
export type ProjectUncheckedUpdateWithoutStoriesInput = {
|
|
@@ -941,6 +977,87 @@ export type ProjectUncheckedUpdateWithoutStoriesInput = {
|
|
|
941
977
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
942
978
|
members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
|
|
943
979
|
activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
|
|
980
|
+
knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
export type ProjectCreateWithoutKnowledgeBasesInput = {
|
|
984
|
+
id?: string
|
|
985
|
+
displayId?: string | null
|
|
986
|
+
name: string
|
|
987
|
+
description?: string | null
|
|
988
|
+
icon?: string
|
|
989
|
+
timezone?: string | null
|
|
990
|
+
createdAt?: Date | string
|
|
991
|
+
updatedAt?: Date | string
|
|
992
|
+
owner: Prisma.UserCreateNestedOneWithoutOwnedProjectsInput
|
|
993
|
+
workspace?: Prisma.WorkspaceCreateNestedOneWithoutProjectsInput
|
|
994
|
+
members?: Prisma.ProjectMemberCreateNestedManyWithoutProjectInput
|
|
995
|
+
activities?: Prisma.ProjectActivityCreateNestedManyWithoutProjectInput
|
|
996
|
+
stories?: Prisma.StoryCreateNestedManyWithoutProjectInput
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
export type ProjectUncheckedCreateWithoutKnowledgeBasesInput = {
|
|
1000
|
+
id?: string
|
|
1001
|
+
displayId?: string | null
|
|
1002
|
+
name: string
|
|
1003
|
+
description?: string | null
|
|
1004
|
+
icon?: string
|
|
1005
|
+
timezone?: string | null
|
|
1006
|
+
ownerId: string
|
|
1007
|
+
workspaceId?: string | null
|
|
1008
|
+
createdAt?: Date | string
|
|
1009
|
+
updatedAt?: Date | string
|
|
1010
|
+
members?: Prisma.ProjectMemberUncheckedCreateNestedManyWithoutProjectInput
|
|
1011
|
+
activities?: Prisma.ProjectActivityUncheckedCreateNestedManyWithoutProjectInput
|
|
1012
|
+
stories?: Prisma.StoryUncheckedCreateNestedManyWithoutProjectInput
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
export type ProjectCreateOrConnectWithoutKnowledgeBasesInput = {
|
|
1016
|
+
where: Prisma.ProjectWhereUniqueInput
|
|
1017
|
+
create: Prisma.XOR<Prisma.ProjectCreateWithoutKnowledgeBasesInput, Prisma.ProjectUncheckedCreateWithoutKnowledgeBasesInput>
|
|
1018
|
+
}
|
|
1019
|
+
|
|
1020
|
+
export type ProjectUpsertWithoutKnowledgeBasesInput = {
|
|
1021
|
+
update: Prisma.XOR<Prisma.ProjectUpdateWithoutKnowledgeBasesInput, Prisma.ProjectUncheckedUpdateWithoutKnowledgeBasesInput>
|
|
1022
|
+
create: Prisma.XOR<Prisma.ProjectCreateWithoutKnowledgeBasesInput, Prisma.ProjectUncheckedCreateWithoutKnowledgeBasesInput>
|
|
1023
|
+
where?: Prisma.ProjectWhereInput
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
export type ProjectUpdateToOneWithWhereWithoutKnowledgeBasesInput = {
|
|
1027
|
+
where?: Prisma.ProjectWhereInput
|
|
1028
|
+
data: Prisma.XOR<Prisma.ProjectUpdateWithoutKnowledgeBasesInput, Prisma.ProjectUncheckedUpdateWithoutKnowledgeBasesInput>
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
export type ProjectUpdateWithoutKnowledgeBasesInput = {
|
|
1032
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1033
|
+
displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1034
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1035
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1036
|
+
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1037
|
+
timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1038
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1039
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1040
|
+
owner?: Prisma.UserUpdateOneRequiredWithoutOwnedProjectsNestedInput
|
|
1041
|
+
workspace?: Prisma.WorkspaceUpdateOneWithoutProjectsNestedInput
|
|
1042
|
+
members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
|
|
1043
|
+
activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
|
|
1044
|
+
stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
export type ProjectUncheckedUpdateWithoutKnowledgeBasesInput = {
|
|
1048
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1049
|
+
displayId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1050
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1051
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1052
|
+
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1053
|
+
timezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1054
|
+
ownerId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1055
|
+
workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1056
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1057
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1058
|
+
members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
|
|
1059
|
+
activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
|
|
1060
|
+
stories?: Prisma.StoryUncheckedUpdateManyWithoutProjectNestedInput
|
|
944
1061
|
}
|
|
945
1062
|
|
|
946
1063
|
export type ProjectCreateManyOwnerInput = {
|
|
@@ -968,6 +1085,7 @@ export type ProjectUpdateWithoutOwnerInput = {
|
|
|
968
1085
|
members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
|
|
969
1086
|
activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
|
|
970
1087
|
stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
|
|
1088
|
+
knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
|
|
971
1089
|
}
|
|
972
1090
|
|
|
973
1091
|
export type ProjectUncheckedUpdateWithoutOwnerInput = {
|
|
@@ -983,6 +1101,7 @@ export type ProjectUncheckedUpdateWithoutOwnerInput = {
|
|
|
983
1101
|
members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
|
|
984
1102
|
activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
|
|
985
1103
|
stories?: Prisma.StoryUncheckedUpdateManyWithoutProjectNestedInput
|
|
1104
|
+
knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
|
|
986
1105
|
}
|
|
987
1106
|
|
|
988
1107
|
export type ProjectUncheckedUpdateManyWithoutOwnerInput = {
|
|
@@ -1022,6 +1141,7 @@ export type ProjectUpdateWithoutWorkspaceInput = {
|
|
|
1022
1141
|
members?: Prisma.ProjectMemberUpdateManyWithoutProjectNestedInput
|
|
1023
1142
|
activities?: Prisma.ProjectActivityUpdateManyWithoutProjectNestedInput
|
|
1024
1143
|
stories?: Prisma.StoryUpdateManyWithoutProjectNestedInput
|
|
1144
|
+
knowledgeBases?: Prisma.ProjectKnowledgeBaseUpdateManyWithoutProjectNestedInput
|
|
1025
1145
|
}
|
|
1026
1146
|
|
|
1027
1147
|
export type ProjectUncheckedUpdateWithoutWorkspaceInput = {
|
|
@@ -1037,6 +1157,7 @@ export type ProjectUncheckedUpdateWithoutWorkspaceInput = {
|
|
|
1037
1157
|
members?: Prisma.ProjectMemberUncheckedUpdateManyWithoutProjectNestedInput
|
|
1038
1158
|
activities?: Prisma.ProjectActivityUncheckedUpdateManyWithoutProjectNestedInput
|
|
1039
1159
|
stories?: Prisma.StoryUncheckedUpdateManyWithoutProjectNestedInput
|
|
1160
|
+
knowledgeBases?: Prisma.ProjectKnowledgeBaseUncheckedUpdateManyWithoutProjectNestedInput
|
|
1040
1161
|
}
|
|
1041
1162
|
|
|
1042
1163
|
export type ProjectUncheckedUpdateManyWithoutWorkspaceInput = {
|
|
@@ -1060,12 +1181,14 @@ export type ProjectCountOutputType = {
|
|
|
1060
1181
|
members: number
|
|
1061
1182
|
activities: number
|
|
1062
1183
|
stories: number
|
|
1184
|
+
knowledgeBases: number
|
|
1063
1185
|
}
|
|
1064
1186
|
|
|
1065
1187
|
export type ProjectCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1066
1188
|
members?: boolean | ProjectCountOutputTypeCountMembersArgs
|
|
1067
1189
|
activities?: boolean | ProjectCountOutputTypeCountActivitiesArgs
|
|
1068
1190
|
stories?: boolean | ProjectCountOutputTypeCountStoriesArgs
|
|
1191
|
+
knowledgeBases?: boolean | ProjectCountOutputTypeCountKnowledgeBasesArgs
|
|
1069
1192
|
}
|
|
1070
1193
|
|
|
1071
1194
|
/**
|
|
@@ -1099,6 +1222,13 @@ export type ProjectCountOutputTypeCountStoriesArgs<ExtArgs extends runtime.Types
|
|
|
1099
1222
|
where?: Prisma.StoryWhereInput
|
|
1100
1223
|
}
|
|
1101
1224
|
|
|
1225
|
+
/**
|
|
1226
|
+
* ProjectCountOutputType without action
|
|
1227
|
+
*/
|
|
1228
|
+
export type ProjectCountOutputTypeCountKnowledgeBasesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1229
|
+
where?: Prisma.ProjectKnowledgeBaseWhereInput
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1102
1232
|
|
|
1103
1233
|
export type ProjectSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1104
1234
|
id?: boolean
|
|
@@ -1116,6 +1246,7 @@ export type ProjectSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
1116
1246
|
members?: boolean | Prisma.Project$membersArgs<ExtArgs>
|
|
1117
1247
|
activities?: boolean | Prisma.Project$activitiesArgs<ExtArgs>
|
|
1118
1248
|
stories?: boolean | Prisma.Project$storiesArgs<ExtArgs>
|
|
1249
|
+
knowledgeBases?: boolean | Prisma.Project$knowledgeBasesArgs<ExtArgs>
|
|
1119
1250
|
_count?: boolean | Prisma.ProjectCountOutputTypeDefaultArgs<ExtArgs>
|
|
1120
1251
|
}, ExtArgs["result"]["project"]>
|
|
1121
1252
|
|
|
@@ -1169,6 +1300,7 @@ export type ProjectInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
1169
1300
|
members?: boolean | Prisma.Project$membersArgs<ExtArgs>
|
|
1170
1301
|
activities?: boolean | Prisma.Project$activitiesArgs<ExtArgs>
|
|
1171
1302
|
stories?: boolean | Prisma.Project$storiesArgs<ExtArgs>
|
|
1303
|
+
knowledgeBases?: boolean | Prisma.Project$knowledgeBasesArgs<ExtArgs>
|
|
1172
1304
|
_count?: boolean | Prisma.ProjectCountOutputTypeDefaultArgs<ExtArgs>
|
|
1173
1305
|
}
|
|
1174
1306
|
export type ProjectIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
@@ -1188,6 +1320,7 @@ export type $ProjectPayload<ExtArgs extends runtime.Types.Extensions.InternalArg
|
|
|
1188
1320
|
members: Prisma.$ProjectMemberPayload<ExtArgs>[]
|
|
1189
1321
|
activities: Prisma.$ProjectActivityPayload<ExtArgs>[]
|
|
1190
1322
|
stories: Prisma.$StoryPayload<ExtArgs>[]
|
|
1323
|
+
knowledgeBases: Prisma.$ProjectKnowledgeBasePayload<ExtArgs>[]
|
|
1191
1324
|
}
|
|
1192
1325
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1193
1326
|
id: string
|
|
@@ -1599,6 +1732,7 @@ export interface Prisma__ProjectClient<T, Null = never, ExtArgs extends runtime.
|
|
|
1599
1732
|
members<T extends Prisma.Project$membersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Project$membersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectMemberPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1600
1733
|
activities<T extends Prisma.Project$activitiesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Project$activitiesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectActivityPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1601
1734
|
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>
|
|
1735
|
+
knowledgeBases<T extends Prisma.Project$knowledgeBasesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Project$knowledgeBasesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectKnowledgeBasePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1602
1736
|
/**
|
|
1603
1737
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1604
1738
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -2129,6 +2263,30 @@ export type Project$storiesArgs<ExtArgs extends runtime.Types.Extensions.Interna
|
|
|
2129
2263
|
distinct?: Prisma.StoryScalarFieldEnum | Prisma.StoryScalarFieldEnum[]
|
|
2130
2264
|
}
|
|
2131
2265
|
|
|
2266
|
+
/**
|
|
2267
|
+
* Project.knowledgeBases
|
|
2268
|
+
*/
|
|
2269
|
+
export type Project$knowledgeBasesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2270
|
+
/**
|
|
2271
|
+
* Select specific fields to fetch from the ProjectKnowledgeBase
|
|
2272
|
+
*/
|
|
2273
|
+
select?: Prisma.ProjectKnowledgeBaseSelect<ExtArgs> | null
|
|
2274
|
+
/**
|
|
2275
|
+
* Omit specific fields from the ProjectKnowledgeBase
|
|
2276
|
+
*/
|
|
2277
|
+
omit?: Prisma.ProjectKnowledgeBaseOmit<ExtArgs> | null
|
|
2278
|
+
/**
|
|
2279
|
+
* Choose, which related nodes to fetch as well
|
|
2280
|
+
*/
|
|
2281
|
+
include?: Prisma.ProjectKnowledgeBaseInclude<ExtArgs> | null
|
|
2282
|
+
where?: Prisma.ProjectKnowledgeBaseWhereInput
|
|
2283
|
+
orderBy?: Prisma.ProjectKnowledgeBaseOrderByWithRelationInput | Prisma.ProjectKnowledgeBaseOrderByWithRelationInput[]
|
|
2284
|
+
cursor?: Prisma.ProjectKnowledgeBaseWhereUniqueInput
|
|
2285
|
+
take?: number
|
|
2286
|
+
skip?: number
|
|
2287
|
+
distinct?: Prisma.ProjectKnowledgeBaseScalarFieldEnum | Prisma.ProjectKnowledgeBaseScalarFieldEnum[]
|
|
2288
|
+
}
|
|
2289
|
+
|
|
2132
2290
|
/**
|
|
2133
2291
|
* Project without action
|
|
2134
2292
|
*/
|