@allbluecn/database 0.5.0 → 0.6.0
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/internal/class.ts +24 -4
- package/generated/internal/prismaNamespace.ts +182 -1
- package/generated/internal/prismaNamespaceBrowser.ts +31 -0
- package/generated/models/KnowledgeBase.ts +158 -0
- package/generated/models/KnowledgeDocument.ts +176 -0
- package/generated/models/User.ts +634 -0
- package/generated/models/Workspace.ts +380 -0
- package/generated/models/WorkspaceKnowledgeBase.ts +1430 -0
- package/generated/models/WorkspaceQuickDoc.ts +2030 -0
- package/generated/models.ts +2 -0
- package/generated-sqlite/browser.ts +10 -0
- package/generated-sqlite/client.ts +10 -0
- package/generated-sqlite/internal/class.ts +24 -4
- package/generated-sqlite/internal/prismaNamespace.ts +182 -1
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +31 -0
- package/generated-sqlite/models/KnowledgeBase.ts +150 -0
- package/generated-sqlite/models/KnowledgeDocument.ts +168 -0
- package/generated-sqlite/models/User.ts +518 -0
- package/generated-sqlite/models/Workspace.ts +300 -0
- package/generated-sqlite/models/WorkspaceKnowledgeBase.ts +1426 -0
- package/generated-sqlite/models/WorkspaceQuickDoc.ts +2025 -0
- package/generated-sqlite/models.ts +2 -0
- package/migrations/20260909070745_workspace_kb_card/migration.sql +55 -0
- package/migrations/20260909123637_workspace_quick_doc_column_index/migration.sql +2 -0
- package/migrations/20260909123656_workspace_quick_doc_column_backfill/migration.sql +4 -0
- package/migrations/20260909144328_workspace_quick_doc_label/migration.sql +2 -0
- package/migrations/20260909154315_workspace_quick_doc_icon/migration.sql +2 -0
- package/package.json +2 -2
- package/schema.prisma +48 -2
- package/schema.sqlite.prisma +48 -2
|
@@ -210,6 +210,8 @@ export type WorkspaceWhereInput = {
|
|
|
210
210
|
projects?: Prisma.ProjectListRelationFilter
|
|
211
211
|
members?: Prisma.WorkspaceMemberListRelationFilter
|
|
212
212
|
knowledgeBases?: Prisma.KnowledgeBaseListRelationFilter
|
|
213
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseListRelationFilter
|
|
214
|
+
quickDocs?: Prisma.WorkspaceQuickDocListRelationFilter
|
|
213
215
|
usageRecords?: Prisma.UsageRecordListRelationFilter
|
|
214
216
|
aiUsageLogs?: Prisma.AiUsageLogListRelationFilter
|
|
215
217
|
ssoProviders?: Prisma.SsoProviderListRelationFilter
|
|
@@ -230,6 +232,8 @@ export type WorkspaceOrderByWithRelationInput = {
|
|
|
230
232
|
projects?: Prisma.ProjectOrderByRelationAggregateInput
|
|
231
233
|
members?: Prisma.WorkspaceMemberOrderByRelationAggregateInput
|
|
232
234
|
knowledgeBases?: Prisma.KnowledgeBaseOrderByRelationAggregateInput
|
|
235
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseOrderByRelationAggregateInput
|
|
236
|
+
quickDocs?: Prisma.WorkspaceQuickDocOrderByRelationAggregateInput
|
|
233
237
|
usageRecords?: Prisma.UsageRecordOrderByRelationAggregateInput
|
|
234
238
|
aiUsageLogs?: Prisma.AiUsageLogOrderByRelationAggregateInput
|
|
235
239
|
ssoProviders?: Prisma.SsoProviderOrderByRelationAggregateInput
|
|
@@ -253,6 +257,8 @@ export type WorkspaceWhereUniqueInput = Prisma.AtLeast<{
|
|
|
253
257
|
projects?: Prisma.ProjectListRelationFilter
|
|
254
258
|
members?: Prisma.WorkspaceMemberListRelationFilter
|
|
255
259
|
knowledgeBases?: Prisma.KnowledgeBaseListRelationFilter
|
|
260
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseListRelationFilter
|
|
261
|
+
quickDocs?: Prisma.WorkspaceQuickDocListRelationFilter
|
|
256
262
|
usageRecords?: Prisma.UsageRecordListRelationFilter
|
|
257
263
|
aiUsageLogs?: Prisma.AiUsageLogListRelationFilter
|
|
258
264
|
ssoProviders?: Prisma.SsoProviderListRelationFilter
|
|
@@ -300,6 +306,8 @@ export type WorkspaceCreateInput = {
|
|
|
300
306
|
projects?: Prisma.ProjectCreateNestedManyWithoutWorkspaceInput
|
|
301
307
|
members?: Prisma.WorkspaceMemberCreateNestedManyWithoutWorkspaceInput
|
|
302
308
|
knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
309
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
310
|
+
quickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutWorkspaceInput
|
|
303
311
|
usageRecords?: Prisma.UsageRecordCreateNestedManyWithoutWorkspaceInput
|
|
304
312
|
aiUsageLogs?: Prisma.AiUsageLogCreateNestedManyWithoutWorkspaceInput
|
|
305
313
|
ssoProviders?: Prisma.SsoProviderCreateNestedManyWithoutWorkspaceInput
|
|
@@ -319,6 +327,8 @@ export type WorkspaceUncheckedCreateInput = {
|
|
|
319
327
|
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
320
328
|
members?: Prisma.WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
321
329
|
knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
330
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
331
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
322
332
|
usageRecords?: Prisma.UsageRecordUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
323
333
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
324
334
|
ssoProviders?: Prisma.SsoProviderUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
@@ -338,6 +348,8 @@ export type WorkspaceUpdateInput = {
|
|
|
338
348
|
projects?: Prisma.ProjectUpdateManyWithoutWorkspaceNestedInput
|
|
339
349
|
members?: Prisma.WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput
|
|
340
350
|
knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
351
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
352
|
+
quickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutWorkspaceNestedInput
|
|
341
353
|
usageRecords?: Prisma.UsageRecordUpdateManyWithoutWorkspaceNestedInput
|
|
342
354
|
aiUsageLogs?: Prisma.AiUsageLogUpdateManyWithoutWorkspaceNestedInput
|
|
343
355
|
ssoProviders?: Prisma.SsoProviderUpdateManyWithoutWorkspaceNestedInput
|
|
@@ -357,6 +369,8 @@ export type WorkspaceUncheckedUpdateInput = {
|
|
|
357
369
|
projects?: Prisma.ProjectUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
358
370
|
members?: Prisma.WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
359
371
|
knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
372
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
373
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
360
374
|
usageRecords?: Prisma.UsageRecordUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
361
375
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
362
376
|
ssoProviders?: Prisma.SsoProviderUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
@@ -541,6 +555,34 @@ export type WorkspaceUpdateOneWithoutKnowledgeBasesNestedInput = {
|
|
|
541
555
|
update?: Prisma.XOR<Prisma.XOR<Prisma.WorkspaceUpdateToOneWithWhereWithoutKnowledgeBasesInput, Prisma.WorkspaceUpdateWithoutKnowledgeBasesInput>, Prisma.WorkspaceUncheckedUpdateWithoutKnowledgeBasesInput>
|
|
542
556
|
}
|
|
543
557
|
|
|
558
|
+
export type WorkspaceCreateNestedOneWithoutWorkspaceKbLinksInput = {
|
|
559
|
+
create?: Prisma.XOR<Prisma.WorkspaceCreateWithoutWorkspaceKbLinksInput, Prisma.WorkspaceUncheckedCreateWithoutWorkspaceKbLinksInput>
|
|
560
|
+
connectOrCreate?: Prisma.WorkspaceCreateOrConnectWithoutWorkspaceKbLinksInput
|
|
561
|
+
connect?: Prisma.WorkspaceWhereUniqueInput
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
export type WorkspaceUpdateOneRequiredWithoutWorkspaceKbLinksNestedInput = {
|
|
565
|
+
create?: Prisma.XOR<Prisma.WorkspaceCreateWithoutWorkspaceKbLinksInput, Prisma.WorkspaceUncheckedCreateWithoutWorkspaceKbLinksInput>
|
|
566
|
+
connectOrCreate?: Prisma.WorkspaceCreateOrConnectWithoutWorkspaceKbLinksInput
|
|
567
|
+
upsert?: Prisma.WorkspaceUpsertWithoutWorkspaceKbLinksInput
|
|
568
|
+
connect?: Prisma.WorkspaceWhereUniqueInput
|
|
569
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.WorkspaceUpdateToOneWithWhereWithoutWorkspaceKbLinksInput, Prisma.WorkspaceUpdateWithoutWorkspaceKbLinksInput>, Prisma.WorkspaceUncheckedUpdateWithoutWorkspaceKbLinksInput>
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
export type WorkspaceCreateNestedOneWithoutQuickDocsInput = {
|
|
573
|
+
create?: Prisma.XOR<Prisma.WorkspaceCreateWithoutQuickDocsInput, Prisma.WorkspaceUncheckedCreateWithoutQuickDocsInput>
|
|
574
|
+
connectOrCreate?: Prisma.WorkspaceCreateOrConnectWithoutQuickDocsInput
|
|
575
|
+
connect?: Prisma.WorkspaceWhereUniqueInput
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
export type WorkspaceUpdateOneRequiredWithoutQuickDocsNestedInput = {
|
|
579
|
+
create?: Prisma.XOR<Prisma.WorkspaceCreateWithoutQuickDocsInput, Prisma.WorkspaceUncheckedCreateWithoutQuickDocsInput>
|
|
580
|
+
connectOrCreate?: Prisma.WorkspaceCreateOrConnectWithoutQuickDocsInput
|
|
581
|
+
upsert?: Prisma.WorkspaceUpsertWithoutQuickDocsInput
|
|
582
|
+
connect?: Prisma.WorkspaceWhereUniqueInput
|
|
583
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.WorkspaceUpdateToOneWithWhereWithoutQuickDocsInput, Prisma.WorkspaceUpdateWithoutQuickDocsInput>, Prisma.WorkspaceUncheckedUpdateWithoutQuickDocsInput>
|
|
584
|
+
}
|
|
585
|
+
|
|
544
586
|
export type WorkspaceCreateNestedOneWithoutUsageRecordsInput = {
|
|
545
587
|
create?: Prisma.XOR<Prisma.WorkspaceCreateWithoutUsageRecordsInput, Prisma.WorkspaceUncheckedCreateWithoutUsageRecordsInput>
|
|
546
588
|
connectOrCreate?: Prisma.WorkspaceCreateOrConnectWithoutUsageRecordsInput
|
|
@@ -624,6 +666,8 @@ export type WorkspaceCreateWithoutOwnerInput = {
|
|
|
624
666
|
projects?: Prisma.ProjectCreateNestedManyWithoutWorkspaceInput
|
|
625
667
|
members?: Prisma.WorkspaceMemberCreateNestedManyWithoutWorkspaceInput
|
|
626
668
|
knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
669
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
670
|
+
quickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutWorkspaceInput
|
|
627
671
|
usageRecords?: Prisma.UsageRecordCreateNestedManyWithoutWorkspaceInput
|
|
628
672
|
aiUsageLogs?: Prisma.AiUsageLogCreateNestedManyWithoutWorkspaceInput
|
|
629
673
|
ssoProviders?: Prisma.SsoProviderCreateNestedManyWithoutWorkspaceInput
|
|
@@ -642,6 +686,8 @@ export type WorkspaceUncheckedCreateWithoutOwnerInput = {
|
|
|
642
686
|
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
643
687
|
members?: Prisma.WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
644
688
|
knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
689
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
690
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
645
691
|
usageRecords?: Prisma.UsageRecordUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
646
692
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
647
693
|
ssoProviders?: Prisma.SsoProviderUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
@@ -700,6 +746,8 @@ export type WorkspaceCreateWithoutProjectsInput = {
|
|
|
700
746
|
owner: Prisma.UserCreateNestedOneWithoutOwnedWorkspacesInput
|
|
701
747
|
members?: Prisma.WorkspaceMemberCreateNestedManyWithoutWorkspaceInput
|
|
702
748
|
knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
749
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
750
|
+
quickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutWorkspaceInput
|
|
703
751
|
usageRecords?: Prisma.UsageRecordCreateNestedManyWithoutWorkspaceInput
|
|
704
752
|
aiUsageLogs?: Prisma.AiUsageLogCreateNestedManyWithoutWorkspaceInput
|
|
705
753
|
ssoProviders?: Prisma.SsoProviderCreateNestedManyWithoutWorkspaceInput
|
|
@@ -718,6 +766,8 @@ export type WorkspaceUncheckedCreateWithoutProjectsInput = {
|
|
|
718
766
|
updatedAt?: Date | string
|
|
719
767
|
members?: Prisma.WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
720
768
|
knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
769
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
770
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
721
771
|
usageRecords?: Prisma.UsageRecordUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
722
772
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
723
773
|
ssoProviders?: Prisma.SsoProviderUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
@@ -752,6 +802,8 @@ export type WorkspaceUpdateWithoutProjectsInput = {
|
|
|
752
802
|
owner?: Prisma.UserUpdateOneRequiredWithoutOwnedWorkspacesNestedInput
|
|
753
803
|
members?: Prisma.WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput
|
|
754
804
|
knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
805
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
806
|
+
quickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutWorkspaceNestedInput
|
|
755
807
|
usageRecords?: Prisma.UsageRecordUpdateManyWithoutWorkspaceNestedInput
|
|
756
808
|
aiUsageLogs?: Prisma.AiUsageLogUpdateManyWithoutWorkspaceNestedInput
|
|
757
809
|
ssoProviders?: Prisma.SsoProviderUpdateManyWithoutWorkspaceNestedInput
|
|
@@ -770,6 +822,8 @@ export type WorkspaceUncheckedUpdateWithoutProjectsInput = {
|
|
|
770
822
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
771
823
|
members?: Prisma.WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
772
824
|
knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
825
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
826
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
773
827
|
usageRecords?: Prisma.UsageRecordUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
774
828
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
775
829
|
ssoProviders?: Prisma.SsoProviderUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
@@ -788,6 +842,8 @@ export type WorkspaceCreateWithoutMembersInput = {
|
|
|
788
842
|
owner: Prisma.UserCreateNestedOneWithoutOwnedWorkspacesInput
|
|
789
843
|
projects?: Prisma.ProjectCreateNestedManyWithoutWorkspaceInput
|
|
790
844
|
knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
845
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
846
|
+
quickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutWorkspaceInput
|
|
791
847
|
usageRecords?: Prisma.UsageRecordCreateNestedManyWithoutWorkspaceInput
|
|
792
848
|
aiUsageLogs?: Prisma.AiUsageLogCreateNestedManyWithoutWorkspaceInput
|
|
793
849
|
ssoProviders?: Prisma.SsoProviderCreateNestedManyWithoutWorkspaceInput
|
|
@@ -806,6 +862,8 @@ export type WorkspaceUncheckedCreateWithoutMembersInput = {
|
|
|
806
862
|
updatedAt?: Date | string
|
|
807
863
|
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
808
864
|
knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
865
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
866
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
809
867
|
usageRecords?: Prisma.UsageRecordUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
810
868
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
811
869
|
ssoProviders?: Prisma.SsoProviderUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
@@ -840,6 +898,8 @@ export type WorkspaceUpdateWithoutMembersInput = {
|
|
|
840
898
|
owner?: Prisma.UserUpdateOneRequiredWithoutOwnedWorkspacesNestedInput
|
|
841
899
|
projects?: Prisma.ProjectUpdateManyWithoutWorkspaceNestedInput
|
|
842
900
|
knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
901
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
902
|
+
quickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutWorkspaceNestedInput
|
|
843
903
|
usageRecords?: Prisma.UsageRecordUpdateManyWithoutWorkspaceNestedInput
|
|
844
904
|
aiUsageLogs?: Prisma.AiUsageLogUpdateManyWithoutWorkspaceNestedInput
|
|
845
905
|
ssoProviders?: Prisma.SsoProviderUpdateManyWithoutWorkspaceNestedInput
|
|
@@ -858,6 +918,8 @@ export type WorkspaceUncheckedUpdateWithoutMembersInput = {
|
|
|
858
918
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
859
919
|
projects?: Prisma.ProjectUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
860
920
|
knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
921
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
922
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
861
923
|
usageRecords?: Prisma.UsageRecordUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
862
924
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
863
925
|
ssoProviders?: Prisma.SsoProviderUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
@@ -876,6 +938,8 @@ export type WorkspaceCreateWithoutKnowledgeBasesInput = {
|
|
|
876
938
|
owner: Prisma.UserCreateNestedOneWithoutOwnedWorkspacesInput
|
|
877
939
|
projects?: Prisma.ProjectCreateNestedManyWithoutWorkspaceInput
|
|
878
940
|
members?: Prisma.WorkspaceMemberCreateNestedManyWithoutWorkspaceInput
|
|
941
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
942
|
+
quickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutWorkspaceInput
|
|
879
943
|
usageRecords?: Prisma.UsageRecordCreateNestedManyWithoutWorkspaceInput
|
|
880
944
|
aiUsageLogs?: Prisma.AiUsageLogCreateNestedManyWithoutWorkspaceInput
|
|
881
945
|
ssoProviders?: Prisma.SsoProviderCreateNestedManyWithoutWorkspaceInput
|
|
@@ -894,6 +958,8 @@ export type WorkspaceUncheckedCreateWithoutKnowledgeBasesInput = {
|
|
|
894
958
|
updatedAt?: Date | string
|
|
895
959
|
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
896
960
|
members?: Prisma.WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
961
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
962
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
897
963
|
usageRecords?: Prisma.UsageRecordUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
898
964
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
899
965
|
ssoProviders?: Prisma.SsoProviderUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
@@ -928,6 +994,8 @@ export type WorkspaceUpdateWithoutKnowledgeBasesInput = {
|
|
|
928
994
|
owner?: Prisma.UserUpdateOneRequiredWithoutOwnedWorkspacesNestedInput
|
|
929
995
|
projects?: Prisma.ProjectUpdateManyWithoutWorkspaceNestedInput
|
|
930
996
|
members?: Prisma.WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput
|
|
997
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
998
|
+
quickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutWorkspaceNestedInput
|
|
931
999
|
usageRecords?: Prisma.UsageRecordUpdateManyWithoutWorkspaceNestedInput
|
|
932
1000
|
aiUsageLogs?: Prisma.AiUsageLogUpdateManyWithoutWorkspaceNestedInput
|
|
933
1001
|
ssoProviders?: Prisma.SsoProviderUpdateManyWithoutWorkspaceNestedInput
|
|
@@ -946,6 +1014,200 @@ export type WorkspaceUncheckedUpdateWithoutKnowledgeBasesInput = {
|
|
|
946
1014
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
947
1015
|
projects?: Prisma.ProjectUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
948
1016
|
members?: Prisma.WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1017
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1018
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1019
|
+
usageRecords?: Prisma.UsageRecordUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1020
|
+
aiUsageLogs?: Prisma.AiUsageLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1021
|
+
ssoProviders?: Prisma.SsoProviderUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1022
|
+
customRoles?: Prisma.CustomRoleUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1023
|
+
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
export type WorkspaceCreateWithoutWorkspaceKbLinksInput = {
|
|
1027
|
+
id?: string
|
|
1028
|
+
name: string
|
|
1029
|
+
icon?: string
|
|
1030
|
+
description?: string | null
|
|
1031
|
+
pinnedToSidebar?: boolean
|
|
1032
|
+
createdAt?: Date | string
|
|
1033
|
+
updatedAt?: Date | string
|
|
1034
|
+
owner: Prisma.UserCreateNestedOneWithoutOwnedWorkspacesInput
|
|
1035
|
+
projects?: Prisma.ProjectCreateNestedManyWithoutWorkspaceInput
|
|
1036
|
+
members?: Prisma.WorkspaceMemberCreateNestedManyWithoutWorkspaceInput
|
|
1037
|
+
knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
1038
|
+
quickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutWorkspaceInput
|
|
1039
|
+
usageRecords?: Prisma.UsageRecordCreateNestedManyWithoutWorkspaceInput
|
|
1040
|
+
aiUsageLogs?: Prisma.AiUsageLogCreateNestedManyWithoutWorkspaceInput
|
|
1041
|
+
ssoProviders?: Prisma.SsoProviderCreateNestedManyWithoutWorkspaceInput
|
|
1042
|
+
customRoles?: Prisma.CustomRoleCreateNestedManyWithoutWorkspaceInput
|
|
1043
|
+
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutWorkspaceInput
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
export type WorkspaceUncheckedCreateWithoutWorkspaceKbLinksInput = {
|
|
1047
|
+
id?: string
|
|
1048
|
+
name: string
|
|
1049
|
+
icon?: string
|
|
1050
|
+
description?: string | null
|
|
1051
|
+
pinnedToSidebar?: boolean
|
|
1052
|
+
ownerId: string
|
|
1053
|
+
createdAt?: Date | string
|
|
1054
|
+
updatedAt?: Date | string
|
|
1055
|
+
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1056
|
+
members?: Prisma.WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1057
|
+
knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1058
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1059
|
+
usageRecords?: Prisma.UsageRecordUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1060
|
+
aiUsageLogs?: Prisma.AiUsageLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1061
|
+
ssoProviders?: Prisma.SsoProviderUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1062
|
+
customRoles?: Prisma.CustomRoleUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1063
|
+
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
export type WorkspaceCreateOrConnectWithoutWorkspaceKbLinksInput = {
|
|
1067
|
+
where: Prisma.WorkspaceWhereUniqueInput
|
|
1068
|
+
create: Prisma.XOR<Prisma.WorkspaceCreateWithoutWorkspaceKbLinksInput, Prisma.WorkspaceUncheckedCreateWithoutWorkspaceKbLinksInput>
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
export type WorkspaceUpsertWithoutWorkspaceKbLinksInput = {
|
|
1072
|
+
update: Prisma.XOR<Prisma.WorkspaceUpdateWithoutWorkspaceKbLinksInput, Prisma.WorkspaceUncheckedUpdateWithoutWorkspaceKbLinksInput>
|
|
1073
|
+
create: Prisma.XOR<Prisma.WorkspaceCreateWithoutWorkspaceKbLinksInput, Prisma.WorkspaceUncheckedCreateWithoutWorkspaceKbLinksInput>
|
|
1074
|
+
where?: Prisma.WorkspaceWhereInput
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
export type WorkspaceUpdateToOneWithWhereWithoutWorkspaceKbLinksInput = {
|
|
1078
|
+
where?: Prisma.WorkspaceWhereInput
|
|
1079
|
+
data: Prisma.XOR<Prisma.WorkspaceUpdateWithoutWorkspaceKbLinksInput, Prisma.WorkspaceUncheckedUpdateWithoutWorkspaceKbLinksInput>
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
export type WorkspaceUpdateWithoutWorkspaceKbLinksInput = {
|
|
1083
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1084
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1085
|
+
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1086
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1087
|
+
pinnedToSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1088
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1089
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1090
|
+
owner?: Prisma.UserUpdateOneRequiredWithoutOwnedWorkspacesNestedInput
|
|
1091
|
+
projects?: Prisma.ProjectUpdateManyWithoutWorkspaceNestedInput
|
|
1092
|
+
members?: Prisma.WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput
|
|
1093
|
+
knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
1094
|
+
quickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutWorkspaceNestedInput
|
|
1095
|
+
usageRecords?: Prisma.UsageRecordUpdateManyWithoutWorkspaceNestedInput
|
|
1096
|
+
aiUsageLogs?: Prisma.AiUsageLogUpdateManyWithoutWorkspaceNestedInput
|
|
1097
|
+
ssoProviders?: Prisma.SsoProviderUpdateManyWithoutWorkspaceNestedInput
|
|
1098
|
+
customRoles?: Prisma.CustomRoleUpdateManyWithoutWorkspaceNestedInput
|
|
1099
|
+
auditLogs?: Prisma.AuditLogUpdateManyWithoutWorkspaceNestedInput
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
export type WorkspaceUncheckedUpdateWithoutWorkspaceKbLinksInput = {
|
|
1103
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1104
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1105
|
+
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1106
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1107
|
+
pinnedToSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1108
|
+
ownerId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1109
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1110
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1111
|
+
projects?: Prisma.ProjectUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1112
|
+
members?: Prisma.WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1113
|
+
knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1114
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1115
|
+
usageRecords?: Prisma.UsageRecordUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1116
|
+
aiUsageLogs?: Prisma.AiUsageLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1117
|
+
ssoProviders?: Prisma.SsoProviderUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1118
|
+
customRoles?: Prisma.CustomRoleUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1119
|
+
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
export type WorkspaceCreateWithoutQuickDocsInput = {
|
|
1123
|
+
id?: string
|
|
1124
|
+
name: string
|
|
1125
|
+
icon?: string
|
|
1126
|
+
description?: string | null
|
|
1127
|
+
pinnedToSidebar?: boolean
|
|
1128
|
+
createdAt?: Date | string
|
|
1129
|
+
updatedAt?: Date | string
|
|
1130
|
+
owner: Prisma.UserCreateNestedOneWithoutOwnedWorkspacesInput
|
|
1131
|
+
projects?: Prisma.ProjectCreateNestedManyWithoutWorkspaceInput
|
|
1132
|
+
members?: Prisma.WorkspaceMemberCreateNestedManyWithoutWorkspaceInput
|
|
1133
|
+
knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
1134
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
1135
|
+
usageRecords?: Prisma.UsageRecordCreateNestedManyWithoutWorkspaceInput
|
|
1136
|
+
aiUsageLogs?: Prisma.AiUsageLogCreateNestedManyWithoutWorkspaceInput
|
|
1137
|
+
ssoProviders?: Prisma.SsoProviderCreateNestedManyWithoutWorkspaceInput
|
|
1138
|
+
customRoles?: Prisma.CustomRoleCreateNestedManyWithoutWorkspaceInput
|
|
1139
|
+
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutWorkspaceInput
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
export type WorkspaceUncheckedCreateWithoutQuickDocsInput = {
|
|
1143
|
+
id?: string
|
|
1144
|
+
name: string
|
|
1145
|
+
icon?: string
|
|
1146
|
+
description?: string | null
|
|
1147
|
+
pinnedToSidebar?: boolean
|
|
1148
|
+
ownerId: string
|
|
1149
|
+
createdAt?: Date | string
|
|
1150
|
+
updatedAt?: Date | string
|
|
1151
|
+
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1152
|
+
members?: Prisma.WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1153
|
+
knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1154
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1155
|
+
usageRecords?: Prisma.UsageRecordUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1156
|
+
aiUsageLogs?: Prisma.AiUsageLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1157
|
+
ssoProviders?: Prisma.SsoProviderUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1158
|
+
customRoles?: Prisma.CustomRoleUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1159
|
+
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
export type WorkspaceCreateOrConnectWithoutQuickDocsInput = {
|
|
1163
|
+
where: Prisma.WorkspaceWhereUniqueInput
|
|
1164
|
+
create: Prisma.XOR<Prisma.WorkspaceCreateWithoutQuickDocsInput, Prisma.WorkspaceUncheckedCreateWithoutQuickDocsInput>
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
export type WorkspaceUpsertWithoutQuickDocsInput = {
|
|
1168
|
+
update: Prisma.XOR<Prisma.WorkspaceUpdateWithoutQuickDocsInput, Prisma.WorkspaceUncheckedUpdateWithoutQuickDocsInput>
|
|
1169
|
+
create: Prisma.XOR<Prisma.WorkspaceCreateWithoutQuickDocsInput, Prisma.WorkspaceUncheckedCreateWithoutQuickDocsInput>
|
|
1170
|
+
where?: Prisma.WorkspaceWhereInput
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
export type WorkspaceUpdateToOneWithWhereWithoutQuickDocsInput = {
|
|
1174
|
+
where?: Prisma.WorkspaceWhereInput
|
|
1175
|
+
data: Prisma.XOR<Prisma.WorkspaceUpdateWithoutQuickDocsInput, Prisma.WorkspaceUncheckedUpdateWithoutQuickDocsInput>
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
export type WorkspaceUpdateWithoutQuickDocsInput = {
|
|
1179
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1180
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1181
|
+
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1182
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1183
|
+
pinnedToSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1184
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1185
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1186
|
+
owner?: Prisma.UserUpdateOneRequiredWithoutOwnedWorkspacesNestedInput
|
|
1187
|
+
projects?: Prisma.ProjectUpdateManyWithoutWorkspaceNestedInput
|
|
1188
|
+
members?: Prisma.WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput
|
|
1189
|
+
knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
1190
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
1191
|
+
usageRecords?: Prisma.UsageRecordUpdateManyWithoutWorkspaceNestedInput
|
|
1192
|
+
aiUsageLogs?: Prisma.AiUsageLogUpdateManyWithoutWorkspaceNestedInput
|
|
1193
|
+
ssoProviders?: Prisma.SsoProviderUpdateManyWithoutWorkspaceNestedInput
|
|
1194
|
+
customRoles?: Prisma.CustomRoleUpdateManyWithoutWorkspaceNestedInput
|
|
1195
|
+
auditLogs?: Prisma.AuditLogUpdateManyWithoutWorkspaceNestedInput
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
export type WorkspaceUncheckedUpdateWithoutQuickDocsInput = {
|
|
1199
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1200
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1201
|
+
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1202
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1203
|
+
pinnedToSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1204
|
+
ownerId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1205
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1206
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1207
|
+
projects?: Prisma.ProjectUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1208
|
+
members?: Prisma.WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1209
|
+
knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1210
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
949
1211
|
usageRecords?: Prisma.UsageRecordUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
950
1212
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
951
1213
|
ssoProviders?: Prisma.SsoProviderUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
@@ -965,6 +1227,8 @@ export type WorkspaceCreateWithoutUsageRecordsInput = {
|
|
|
965
1227
|
projects?: Prisma.ProjectCreateNestedManyWithoutWorkspaceInput
|
|
966
1228
|
members?: Prisma.WorkspaceMemberCreateNestedManyWithoutWorkspaceInput
|
|
967
1229
|
knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
1230
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
1231
|
+
quickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutWorkspaceInput
|
|
968
1232
|
aiUsageLogs?: Prisma.AiUsageLogCreateNestedManyWithoutWorkspaceInput
|
|
969
1233
|
ssoProviders?: Prisma.SsoProviderCreateNestedManyWithoutWorkspaceInput
|
|
970
1234
|
customRoles?: Prisma.CustomRoleCreateNestedManyWithoutWorkspaceInput
|
|
@@ -983,6 +1247,8 @@ export type WorkspaceUncheckedCreateWithoutUsageRecordsInput = {
|
|
|
983
1247
|
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
984
1248
|
members?: Prisma.WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
985
1249
|
knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1250
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1251
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
986
1252
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
987
1253
|
ssoProviders?: Prisma.SsoProviderUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
988
1254
|
customRoles?: Prisma.CustomRoleUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
@@ -1017,6 +1283,8 @@ export type WorkspaceUpdateWithoutUsageRecordsInput = {
|
|
|
1017
1283
|
projects?: Prisma.ProjectUpdateManyWithoutWorkspaceNestedInput
|
|
1018
1284
|
members?: Prisma.WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput
|
|
1019
1285
|
knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
1286
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
1287
|
+
quickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutWorkspaceNestedInput
|
|
1020
1288
|
aiUsageLogs?: Prisma.AiUsageLogUpdateManyWithoutWorkspaceNestedInput
|
|
1021
1289
|
ssoProviders?: Prisma.SsoProviderUpdateManyWithoutWorkspaceNestedInput
|
|
1022
1290
|
customRoles?: Prisma.CustomRoleUpdateManyWithoutWorkspaceNestedInput
|
|
@@ -1035,6 +1303,8 @@ export type WorkspaceUncheckedUpdateWithoutUsageRecordsInput = {
|
|
|
1035
1303
|
projects?: Prisma.ProjectUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1036
1304
|
members?: Prisma.WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1037
1305
|
knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1306
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1307
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1038
1308
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1039
1309
|
ssoProviders?: Prisma.SsoProviderUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1040
1310
|
customRoles?: Prisma.CustomRoleUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
@@ -1053,6 +1323,8 @@ export type WorkspaceCreateWithoutAiUsageLogsInput = {
|
|
|
1053
1323
|
projects?: Prisma.ProjectCreateNestedManyWithoutWorkspaceInput
|
|
1054
1324
|
members?: Prisma.WorkspaceMemberCreateNestedManyWithoutWorkspaceInput
|
|
1055
1325
|
knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
1326
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
1327
|
+
quickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutWorkspaceInput
|
|
1056
1328
|
usageRecords?: Prisma.UsageRecordCreateNestedManyWithoutWorkspaceInput
|
|
1057
1329
|
ssoProviders?: Prisma.SsoProviderCreateNestedManyWithoutWorkspaceInput
|
|
1058
1330
|
customRoles?: Prisma.CustomRoleCreateNestedManyWithoutWorkspaceInput
|
|
@@ -1071,6 +1343,8 @@ export type WorkspaceUncheckedCreateWithoutAiUsageLogsInput = {
|
|
|
1071
1343
|
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1072
1344
|
members?: Prisma.WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1073
1345
|
knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1346
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1347
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1074
1348
|
usageRecords?: Prisma.UsageRecordUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1075
1349
|
ssoProviders?: Prisma.SsoProviderUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1076
1350
|
customRoles?: Prisma.CustomRoleUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
@@ -1105,6 +1379,8 @@ export type WorkspaceUpdateWithoutAiUsageLogsInput = {
|
|
|
1105
1379
|
projects?: Prisma.ProjectUpdateManyWithoutWorkspaceNestedInput
|
|
1106
1380
|
members?: Prisma.WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput
|
|
1107
1381
|
knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
1382
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
1383
|
+
quickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutWorkspaceNestedInput
|
|
1108
1384
|
usageRecords?: Prisma.UsageRecordUpdateManyWithoutWorkspaceNestedInput
|
|
1109
1385
|
ssoProviders?: Prisma.SsoProviderUpdateManyWithoutWorkspaceNestedInput
|
|
1110
1386
|
customRoles?: Prisma.CustomRoleUpdateManyWithoutWorkspaceNestedInput
|
|
@@ -1123,6 +1399,8 @@ export type WorkspaceUncheckedUpdateWithoutAiUsageLogsInput = {
|
|
|
1123
1399
|
projects?: Prisma.ProjectUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1124
1400
|
members?: Prisma.WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1125
1401
|
knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1402
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1403
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1126
1404
|
usageRecords?: Prisma.UsageRecordUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1127
1405
|
ssoProviders?: Prisma.SsoProviderUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1128
1406
|
customRoles?: Prisma.CustomRoleUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
@@ -1141,6 +1419,8 @@ export type WorkspaceCreateWithoutAuditLogsInput = {
|
|
|
1141
1419
|
projects?: Prisma.ProjectCreateNestedManyWithoutWorkspaceInput
|
|
1142
1420
|
members?: Prisma.WorkspaceMemberCreateNestedManyWithoutWorkspaceInput
|
|
1143
1421
|
knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
1422
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
1423
|
+
quickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutWorkspaceInput
|
|
1144
1424
|
usageRecords?: Prisma.UsageRecordCreateNestedManyWithoutWorkspaceInput
|
|
1145
1425
|
aiUsageLogs?: Prisma.AiUsageLogCreateNestedManyWithoutWorkspaceInput
|
|
1146
1426
|
ssoProviders?: Prisma.SsoProviderCreateNestedManyWithoutWorkspaceInput
|
|
@@ -1159,6 +1439,8 @@ export type WorkspaceUncheckedCreateWithoutAuditLogsInput = {
|
|
|
1159
1439
|
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1160
1440
|
members?: Prisma.WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1161
1441
|
knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1442
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1443
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1162
1444
|
usageRecords?: Prisma.UsageRecordUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1163
1445
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1164
1446
|
ssoProviders?: Prisma.SsoProviderUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
@@ -1193,6 +1475,8 @@ export type WorkspaceUpdateWithoutAuditLogsInput = {
|
|
|
1193
1475
|
projects?: Prisma.ProjectUpdateManyWithoutWorkspaceNestedInput
|
|
1194
1476
|
members?: Prisma.WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput
|
|
1195
1477
|
knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
1478
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
1479
|
+
quickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutWorkspaceNestedInput
|
|
1196
1480
|
usageRecords?: Prisma.UsageRecordUpdateManyWithoutWorkspaceNestedInput
|
|
1197
1481
|
aiUsageLogs?: Prisma.AiUsageLogUpdateManyWithoutWorkspaceNestedInput
|
|
1198
1482
|
ssoProviders?: Prisma.SsoProviderUpdateManyWithoutWorkspaceNestedInput
|
|
@@ -1211,6 +1495,8 @@ export type WorkspaceUncheckedUpdateWithoutAuditLogsInput = {
|
|
|
1211
1495
|
projects?: Prisma.ProjectUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1212
1496
|
members?: Prisma.WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1213
1497
|
knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1498
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1499
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1214
1500
|
usageRecords?: Prisma.UsageRecordUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1215
1501
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1216
1502
|
ssoProviders?: Prisma.SsoProviderUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
@@ -1229,6 +1515,8 @@ export type WorkspaceCreateWithoutSsoProvidersInput = {
|
|
|
1229
1515
|
projects?: Prisma.ProjectCreateNestedManyWithoutWorkspaceInput
|
|
1230
1516
|
members?: Prisma.WorkspaceMemberCreateNestedManyWithoutWorkspaceInput
|
|
1231
1517
|
knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
1518
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
1519
|
+
quickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutWorkspaceInput
|
|
1232
1520
|
usageRecords?: Prisma.UsageRecordCreateNestedManyWithoutWorkspaceInput
|
|
1233
1521
|
aiUsageLogs?: Prisma.AiUsageLogCreateNestedManyWithoutWorkspaceInput
|
|
1234
1522
|
customRoles?: Prisma.CustomRoleCreateNestedManyWithoutWorkspaceInput
|
|
@@ -1247,6 +1535,8 @@ export type WorkspaceUncheckedCreateWithoutSsoProvidersInput = {
|
|
|
1247
1535
|
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1248
1536
|
members?: Prisma.WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1249
1537
|
knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1538
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1539
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1250
1540
|
usageRecords?: Prisma.UsageRecordUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1251
1541
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1252
1542
|
customRoles?: Prisma.CustomRoleUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
@@ -1281,6 +1571,8 @@ export type WorkspaceUpdateWithoutSsoProvidersInput = {
|
|
|
1281
1571
|
projects?: Prisma.ProjectUpdateManyWithoutWorkspaceNestedInput
|
|
1282
1572
|
members?: Prisma.WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput
|
|
1283
1573
|
knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
1574
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
1575
|
+
quickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutWorkspaceNestedInput
|
|
1284
1576
|
usageRecords?: Prisma.UsageRecordUpdateManyWithoutWorkspaceNestedInput
|
|
1285
1577
|
aiUsageLogs?: Prisma.AiUsageLogUpdateManyWithoutWorkspaceNestedInput
|
|
1286
1578
|
customRoles?: Prisma.CustomRoleUpdateManyWithoutWorkspaceNestedInput
|
|
@@ -1299,6 +1591,8 @@ export type WorkspaceUncheckedUpdateWithoutSsoProvidersInput = {
|
|
|
1299
1591
|
projects?: Prisma.ProjectUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1300
1592
|
members?: Prisma.WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1301
1593
|
knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1594
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1595
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1302
1596
|
usageRecords?: Prisma.UsageRecordUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1303
1597
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1304
1598
|
customRoles?: Prisma.CustomRoleUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
@@ -1317,6 +1611,8 @@ export type WorkspaceCreateWithoutCustomRolesInput = {
|
|
|
1317
1611
|
projects?: Prisma.ProjectCreateNestedManyWithoutWorkspaceInput
|
|
1318
1612
|
members?: Prisma.WorkspaceMemberCreateNestedManyWithoutWorkspaceInput
|
|
1319
1613
|
knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
1614
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
1615
|
+
quickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutWorkspaceInput
|
|
1320
1616
|
usageRecords?: Prisma.UsageRecordCreateNestedManyWithoutWorkspaceInput
|
|
1321
1617
|
aiUsageLogs?: Prisma.AiUsageLogCreateNestedManyWithoutWorkspaceInput
|
|
1322
1618
|
ssoProviders?: Prisma.SsoProviderCreateNestedManyWithoutWorkspaceInput
|
|
@@ -1335,6 +1631,8 @@ export type WorkspaceUncheckedCreateWithoutCustomRolesInput = {
|
|
|
1335
1631
|
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1336
1632
|
members?: Prisma.WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1337
1633
|
knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1634
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1635
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1338
1636
|
usageRecords?: Prisma.UsageRecordUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1339
1637
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1340
1638
|
ssoProviders?: Prisma.SsoProviderUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
@@ -1369,6 +1667,8 @@ export type WorkspaceUpdateWithoutCustomRolesInput = {
|
|
|
1369
1667
|
projects?: Prisma.ProjectUpdateManyWithoutWorkspaceNestedInput
|
|
1370
1668
|
members?: Prisma.WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput
|
|
1371
1669
|
knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
1670
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
1671
|
+
quickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutWorkspaceNestedInput
|
|
1372
1672
|
usageRecords?: Prisma.UsageRecordUpdateManyWithoutWorkspaceNestedInput
|
|
1373
1673
|
aiUsageLogs?: Prisma.AiUsageLogUpdateManyWithoutWorkspaceNestedInput
|
|
1374
1674
|
ssoProviders?: Prisma.SsoProviderUpdateManyWithoutWorkspaceNestedInput
|
|
@@ -1387,6 +1687,8 @@ export type WorkspaceUncheckedUpdateWithoutCustomRolesInput = {
|
|
|
1387
1687
|
projects?: Prisma.ProjectUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1388
1688
|
members?: Prisma.WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1389
1689
|
knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1690
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1691
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1390
1692
|
usageRecords?: Prisma.UsageRecordUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1391
1693
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1392
1694
|
ssoProviders?: Prisma.SsoProviderUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
@@ -1414,6 +1716,8 @@ export type WorkspaceUpdateWithoutOwnerInput = {
|
|
|
1414
1716
|
projects?: Prisma.ProjectUpdateManyWithoutWorkspaceNestedInput
|
|
1415
1717
|
members?: Prisma.WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput
|
|
1416
1718
|
knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
1719
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
1720
|
+
quickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutWorkspaceNestedInput
|
|
1417
1721
|
usageRecords?: Prisma.UsageRecordUpdateManyWithoutWorkspaceNestedInput
|
|
1418
1722
|
aiUsageLogs?: Prisma.AiUsageLogUpdateManyWithoutWorkspaceNestedInput
|
|
1419
1723
|
ssoProviders?: Prisma.SsoProviderUpdateManyWithoutWorkspaceNestedInput
|
|
@@ -1432,6 +1736,8 @@ export type WorkspaceUncheckedUpdateWithoutOwnerInput = {
|
|
|
1432
1736
|
projects?: Prisma.ProjectUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1433
1737
|
members?: Prisma.WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1434
1738
|
knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1739
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1740
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1435
1741
|
usageRecords?: Prisma.UsageRecordUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1436
1742
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1437
1743
|
ssoProviders?: Prisma.SsoProviderUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
@@ -1458,6 +1764,8 @@ export type WorkspaceCountOutputType = {
|
|
|
1458
1764
|
projects: number
|
|
1459
1765
|
members: number
|
|
1460
1766
|
knowledgeBases: number
|
|
1767
|
+
workspaceKbLinks: number
|
|
1768
|
+
quickDocs: number
|
|
1461
1769
|
usageRecords: number
|
|
1462
1770
|
aiUsageLogs: number
|
|
1463
1771
|
ssoProviders: number
|
|
@@ -1469,6 +1777,8 @@ export type WorkspaceCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensi
|
|
|
1469
1777
|
projects?: boolean | WorkspaceCountOutputTypeCountProjectsArgs
|
|
1470
1778
|
members?: boolean | WorkspaceCountOutputTypeCountMembersArgs
|
|
1471
1779
|
knowledgeBases?: boolean | WorkspaceCountOutputTypeCountKnowledgeBasesArgs
|
|
1780
|
+
workspaceKbLinks?: boolean | WorkspaceCountOutputTypeCountWorkspaceKbLinksArgs
|
|
1781
|
+
quickDocs?: boolean | WorkspaceCountOutputTypeCountQuickDocsArgs
|
|
1472
1782
|
usageRecords?: boolean | WorkspaceCountOutputTypeCountUsageRecordsArgs
|
|
1473
1783
|
aiUsageLogs?: boolean | WorkspaceCountOutputTypeCountAiUsageLogsArgs
|
|
1474
1784
|
ssoProviders?: boolean | WorkspaceCountOutputTypeCountSsoProvidersArgs
|
|
@@ -1507,6 +1817,20 @@ export type WorkspaceCountOutputTypeCountKnowledgeBasesArgs<ExtArgs extends runt
|
|
|
1507
1817
|
where?: Prisma.KnowledgeBaseWhereInput
|
|
1508
1818
|
}
|
|
1509
1819
|
|
|
1820
|
+
/**
|
|
1821
|
+
* WorkspaceCountOutputType without action
|
|
1822
|
+
*/
|
|
1823
|
+
export type WorkspaceCountOutputTypeCountWorkspaceKbLinksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1824
|
+
where?: Prisma.WorkspaceKnowledgeBaseWhereInput
|
|
1825
|
+
}
|
|
1826
|
+
|
|
1827
|
+
/**
|
|
1828
|
+
* WorkspaceCountOutputType without action
|
|
1829
|
+
*/
|
|
1830
|
+
export type WorkspaceCountOutputTypeCountQuickDocsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1831
|
+
where?: Prisma.WorkspaceQuickDocWhereInput
|
|
1832
|
+
}
|
|
1833
|
+
|
|
1510
1834
|
/**
|
|
1511
1835
|
* WorkspaceCountOutputType without action
|
|
1512
1836
|
*/
|
|
@@ -1556,6 +1880,8 @@ export type WorkspaceSelect<ExtArgs extends runtime.Types.Extensions.InternalArg
|
|
|
1556
1880
|
projects?: boolean | Prisma.Workspace$projectsArgs<ExtArgs>
|
|
1557
1881
|
members?: boolean | Prisma.Workspace$membersArgs<ExtArgs>
|
|
1558
1882
|
knowledgeBases?: boolean | Prisma.Workspace$knowledgeBasesArgs<ExtArgs>
|
|
1883
|
+
workspaceKbLinks?: boolean | Prisma.Workspace$workspaceKbLinksArgs<ExtArgs>
|
|
1884
|
+
quickDocs?: boolean | Prisma.Workspace$quickDocsArgs<ExtArgs>
|
|
1559
1885
|
usageRecords?: boolean | Prisma.Workspace$usageRecordsArgs<ExtArgs>
|
|
1560
1886
|
aiUsageLogs?: boolean | Prisma.Workspace$aiUsageLogsArgs<ExtArgs>
|
|
1561
1887
|
ssoProviders?: boolean | Prisma.Workspace$ssoProvidersArgs<ExtArgs>
|
|
@@ -1605,6 +1931,8 @@ export type WorkspaceInclude<ExtArgs extends runtime.Types.Extensions.InternalAr
|
|
|
1605
1931
|
projects?: boolean | Prisma.Workspace$projectsArgs<ExtArgs>
|
|
1606
1932
|
members?: boolean | Prisma.Workspace$membersArgs<ExtArgs>
|
|
1607
1933
|
knowledgeBases?: boolean | Prisma.Workspace$knowledgeBasesArgs<ExtArgs>
|
|
1934
|
+
workspaceKbLinks?: boolean | Prisma.Workspace$workspaceKbLinksArgs<ExtArgs>
|
|
1935
|
+
quickDocs?: boolean | Prisma.Workspace$quickDocsArgs<ExtArgs>
|
|
1608
1936
|
usageRecords?: boolean | Prisma.Workspace$usageRecordsArgs<ExtArgs>
|
|
1609
1937
|
aiUsageLogs?: boolean | Prisma.Workspace$aiUsageLogsArgs<ExtArgs>
|
|
1610
1938
|
ssoProviders?: boolean | Prisma.Workspace$ssoProvidersArgs<ExtArgs>
|
|
@@ -1626,6 +1954,8 @@ export type $WorkspacePayload<ExtArgs extends runtime.Types.Extensions.InternalA
|
|
|
1626
1954
|
projects: Prisma.$ProjectPayload<ExtArgs>[]
|
|
1627
1955
|
members: Prisma.$WorkspaceMemberPayload<ExtArgs>[]
|
|
1628
1956
|
knowledgeBases: Prisma.$KnowledgeBasePayload<ExtArgs>[]
|
|
1957
|
+
workspaceKbLinks: Prisma.$WorkspaceKnowledgeBasePayload<ExtArgs>[]
|
|
1958
|
+
quickDocs: Prisma.$WorkspaceQuickDocPayload<ExtArgs>[]
|
|
1629
1959
|
usageRecords: Prisma.$UsageRecordPayload<ExtArgs>[]
|
|
1630
1960
|
aiUsageLogs: Prisma.$AiUsageLogPayload<ExtArgs>[]
|
|
1631
1961
|
ssoProviders: Prisma.$SsoProviderPayload<ExtArgs>[]
|
|
@@ -2039,6 +2369,8 @@ export interface Prisma__WorkspaceClient<T, Null = never, ExtArgs extends runtim
|
|
|
2039
2369
|
projects<T extends Prisma.Workspace$projectsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Workspace$projectsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2040
2370
|
members<T extends Prisma.Workspace$membersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Workspace$membersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkspaceMemberPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2041
2371
|
knowledgeBases<T extends Prisma.Workspace$knowledgeBasesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Workspace$knowledgeBasesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KnowledgeBasePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2372
|
+
workspaceKbLinks<T extends Prisma.Workspace$workspaceKbLinksArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Workspace$workspaceKbLinksArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkspaceKnowledgeBasePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2373
|
+
quickDocs<T extends Prisma.Workspace$quickDocsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Workspace$quickDocsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkspaceQuickDocPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2042
2374
|
usageRecords<T extends Prisma.Workspace$usageRecordsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Workspace$usageRecordsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UsageRecordPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2043
2375
|
aiUsageLogs<T extends Prisma.Workspace$aiUsageLogsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Workspace$aiUsageLogsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AiUsageLogPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2044
2376
|
ssoProviders<T extends Prisma.Workspace$ssoProvidersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Workspace$ssoProvidersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SsoProviderPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
@@ -2553,6 +2885,54 @@ export type Workspace$knowledgeBasesArgs<ExtArgs extends runtime.Types.Extension
|
|
|
2553
2885
|
distinct?: Prisma.KnowledgeBaseScalarFieldEnum | Prisma.KnowledgeBaseScalarFieldEnum[]
|
|
2554
2886
|
}
|
|
2555
2887
|
|
|
2888
|
+
/**
|
|
2889
|
+
* Workspace.workspaceKbLinks
|
|
2890
|
+
*/
|
|
2891
|
+
export type Workspace$workspaceKbLinksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2892
|
+
/**
|
|
2893
|
+
* Select specific fields to fetch from the WorkspaceKnowledgeBase
|
|
2894
|
+
*/
|
|
2895
|
+
select?: Prisma.WorkspaceKnowledgeBaseSelect<ExtArgs> | null
|
|
2896
|
+
/**
|
|
2897
|
+
* Omit specific fields from the WorkspaceKnowledgeBase
|
|
2898
|
+
*/
|
|
2899
|
+
omit?: Prisma.WorkspaceKnowledgeBaseOmit<ExtArgs> | null
|
|
2900
|
+
/**
|
|
2901
|
+
* Choose, which related nodes to fetch as well
|
|
2902
|
+
*/
|
|
2903
|
+
include?: Prisma.WorkspaceKnowledgeBaseInclude<ExtArgs> | null
|
|
2904
|
+
where?: Prisma.WorkspaceKnowledgeBaseWhereInput
|
|
2905
|
+
orderBy?: Prisma.WorkspaceKnowledgeBaseOrderByWithRelationInput | Prisma.WorkspaceKnowledgeBaseOrderByWithRelationInput[]
|
|
2906
|
+
cursor?: Prisma.WorkspaceKnowledgeBaseWhereUniqueInput
|
|
2907
|
+
take?: number
|
|
2908
|
+
skip?: number
|
|
2909
|
+
distinct?: Prisma.WorkspaceKnowledgeBaseScalarFieldEnum | Prisma.WorkspaceKnowledgeBaseScalarFieldEnum[]
|
|
2910
|
+
}
|
|
2911
|
+
|
|
2912
|
+
/**
|
|
2913
|
+
* Workspace.quickDocs
|
|
2914
|
+
*/
|
|
2915
|
+
export type Workspace$quickDocsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2916
|
+
/**
|
|
2917
|
+
* Select specific fields to fetch from the WorkspaceQuickDoc
|
|
2918
|
+
*/
|
|
2919
|
+
select?: Prisma.WorkspaceQuickDocSelect<ExtArgs> | null
|
|
2920
|
+
/**
|
|
2921
|
+
* Omit specific fields from the WorkspaceQuickDoc
|
|
2922
|
+
*/
|
|
2923
|
+
omit?: Prisma.WorkspaceQuickDocOmit<ExtArgs> | null
|
|
2924
|
+
/**
|
|
2925
|
+
* Choose, which related nodes to fetch as well
|
|
2926
|
+
*/
|
|
2927
|
+
include?: Prisma.WorkspaceQuickDocInclude<ExtArgs> | null
|
|
2928
|
+
where?: Prisma.WorkspaceQuickDocWhereInput
|
|
2929
|
+
orderBy?: Prisma.WorkspaceQuickDocOrderByWithRelationInput | Prisma.WorkspaceQuickDocOrderByWithRelationInput[]
|
|
2930
|
+
cursor?: Prisma.WorkspaceQuickDocWhereUniqueInput
|
|
2931
|
+
take?: number
|
|
2932
|
+
skip?: number
|
|
2933
|
+
distinct?: Prisma.WorkspaceQuickDocScalarFieldEnum | Prisma.WorkspaceQuickDocScalarFieldEnum[]
|
|
2934
|
+
}
|
|
2935
|
+
|
|
2556
2936
|
/**
|
|
2557
2937
|
* Workspace.usageRecords
|
|
2558
2938
|
*/
|