@allbluecn/database 0.4.18 → 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 +18 -3
- package/generated/client.ts +20 -5
- package/generated/commonInputTypes.ts +2 -2
- package/generated/internal/class.ts +35 -5
- package/generated/internal/prismaNamespace.ts +276 -4
- package/generated/internal/prismaNamespaceBrowser.ts +49 -2
- package/generated/models/Account.ts +2 -2
- package/generated/models/AgentConversation.ts +2 -2
- package/generated/models/AgentMessage.ts +2 -2
- package/generated/models/AiProvider.ts +2 -2
- package/generated/models/AiProviderConfig.ts +2 -2
- package/generated/models/AiUsageLog.ts +2 -2
- package/generated/models/AnyHubApp.ts +2 -2
- package/generated/models/AnyHubMarketApp.ts +2 -2
- package/generated/models/AnyHubPermission.ts +2 -2
- package/generated/models/AnyHubRecommendation.ts +2 -2
- package/generated/models/AnyHubRecommender.ts +2 -2
- package/generated/models/Artboard.ts +2 -2
- package/generated/models/ArtboardExport.ts +2 -2
- package/generated/models/ArticleFavorite.ts +2 -2
- package/generated/models/AuditLog.ts +2 -2
- package/generated/models/Block.ts +2 -2
- package/generated/models/BlockComponent.ts +2 -2
- package/generated/models/BlockInstance.ts +2 -2
- package/generated/models/BookmarkCategory.ts +2 -2
- package/generated/models/ChatInterrupt.ts +2 -2
- package/generated/models/ChatMessage.ts +2 -2
- package/generated/models/ChatRun.ts +2 -2
- package/generated/models/ChatThread.ts +2 -6
- package/generated/models/Comment.ts +2 -2
- package/generated/models/CommentIgnore.ts +2 -2
- package/generated/models/CommentReaction.ts +2 -2
- package/generated/models/ComplianceExport.ts +2 -2
- package/generated/models/Component.ts +2 -2
- package/generated/models/ComponentInstance.ts +2 -2
- package/generated/models/ComponentTag.ts +2 -2
- package/generated/models/CustomRole.ts +2 -2
- package/generated/models/DesignProject.ts +2 -2
- package/generated/models/DeveloperLog.ts +2 -2
- package/generated/models/DictionaryTerm.ts +2 -2
- package/generated/models/GenerationRun.ts +2 -2
- package/generated/models/IndustryCompliance.ts +2 -2
- package/generated/models/InvitationCode.ts +2 -2
- package/generated/models/InvitationUse.ts +2 -2
- package/generated/models/Invoice.ts +2 -2
- package/generated/models/Iteration.ts +2 -2
- package/generated/models/IterationAutoSchedule.ts +2 -2
- package/generated/models/KnowledgeBase.ts +436 -3
- package/generated/models/KnowledgeDocument.ts +178 -2
- package/generated/models/KnowledgeShareRecord.ts +2 -2
- package/generated/models/Label.ts +2 -2
- package/generated/models/LegalRegulation.ts +2 -2
- package/generated/models/LicenseActivation.ts +2 -2
- package/generated/models/LicenseKey.ts +2 -2
- package/generated/models/LoginLog.ts +2 -2
- package/generated/models/MonitoringErrorReport.ts +2 -2
- package/generated/models/MonitoringHealthSnapshot.ts +2 -2
- package/generated/models/MonitoringMetricsSnapshot.ts +2 -2
- package/generated/models/MonitoringRequestLog.ts +2 -2
- package/generated/models/Notification.ts +2 -2
- package/generated/models/NotificationPreference.ts +2 -2
- package/generated/models/PRD.ts +2 -2
- package/generated/models/PRDPage.ts +2 -2
- package/generated/models/PRDTag.ts +2 -2
- package/generated/models/PRDVersion.ts +2 -2
- package/generated/models/PageVersion.ts +2 -2
- package/generated/models/PasswordResetToken.ts +2 -2
- package/generated/models/Plan.ts +2 -2
- package/generated/models/Project.ts +2 -2
- package/generated/models/ProjectActivity.ts +2 -2
- package/generated/models/ProjectKnowledgeBase.ts +2 -2
- package/generated/models/ProjectMember.ts +2 -2
- package/generated/models/ProviderEvent.ts +2 -2
- package/generated/models/Reference.ts +2 -2
- package/generated/models/Review.ts +2 -2
- package/generated/models/ReviewComment.ts +2 -2
- package/generated/models/RoleAssignment.ts +2 -2
- package/generated/models/SequenceCounter.ts +2 -2
- package/generated/models/Share.ts +2 -2
- package/generated/models/ShareVersion.ts +2 -2
- package/generated/models/SsoMapping.ts +2 -2
- package/generated/models/SsoProvider.ts +2 -2
- package/generated/models/Story.ts +2 -2
- package/generated/models/StoryActivity.ts +2 -2
- package/generated/models/StoryAttachment.ts +2 -2
- package/generated/models/StoryComment.ts +2 -2
- package/generated/models/StoryDependency.ts +2 -2
- package/generated/models/StoryDocLink.ts +2 -2
- package/generated/models/StoryExternalLink.ts +2 -2
- package/generated/models/StoryFilterView.ts +2 -2
- package/generated/models/StoryLabel.ts +2 -2
- package/generated/models/StoryLink.ts +2 -2
- package/generated/models/StoryPrdLink.ts +2 -2
- package/generated/models/StoryReaction.ts +2 -2
- package/generated/models/Subscription.ts +2 -2
- package/generated/models/SystemSetting.ts +2 -2
- package/generated/models/Tag.ts +2 -2
- package/generated/models/TeamInvitation.ts +2 -2
- package/generated/models/TeamJoinRequest.ts +2 -2
- package/generated/models/TeamMembership.ts +2 -2
- package/generated/models/Template.ts +2 -2
- package/generated/models/TemplateBlock.ts +2 -2
- package/generated/models/ThirdPartyDependency.ts +2 -2
- package/generated/models/UsageRecord.ts +2 -2
- package/generated/models/User.ts +1585 -325
- package/generated/models/UserAgent.ts +2 -2
- package/generated/models/UserSkill.ts +2 -2
- package/generated/models/WebsiteBookmark.ts +2 -2
- package/generated/models/Workspace.ts +796 -3
- package/generated/models/WorkspaceKnowledgeBase.ts +1430 -0
- package/generated/models/WorkspaceMember.ts +1512 -0
- package/generated/models/WorkspaceQuickDoc.ts +2030 -0
- package/generated/models.ts +107 -104
- package/generated-sqlite/browser.ts +13 -3
- package/generated-sqlite/client.ts +15 -5
- package/generated-sqlite/commonInputTypes.ts +2 -2
- package/generated-sqlite/internal/class.ts +25 -5
- package/generated-sqlite/internal/prismaNamespace.ts +187 -4
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +35 -2
- package/generated-sqlite/models/AgentConversation.ts +2 -2
- package/generated-sqlite/models/AgentMessage.ts +2 -2
- package/generated-sqlite/models/AiProvider.ts +2 -2
- package/generated-sqlite/models/AiProviderConfig.ts +2 -2
- package/generated-sqlite/models/AiUsageLog.ts +2 -2
- package/generated-sqlite/models/AnyHubApp.ts +2 -2
- package/generated-sqlite/models/AnyHubMarketApp.ts +2 -2
- package/generated-sqlite/models/AnyHubPermission.ts +2 -2
- package/generated-sqlite/models/AnyHubRecommendation.ts +2 -2
- package/generated-sqlite/models/AnyHubRecommender.ts +2 -2
- package/generated-sqlite/models/Artboard.ts +2 -2
- package/generated-sqlite/models/ArtboardExport.ts +2 -2
- package/generated-sqlite/models/ArticleFavorite.ts +2 -2
- package/generated-sqlite/models/AuditLog.ts +2 -2
- package/generated-sqlite/models/Block.ts +2 -2
- package/generated-sqlite/models/BlockComponent.ts +2 -2
- package/generated-sqlite/models/BlockInstance.ts +2 -2
- package/generated-sqlite/models/BookmarkCategory.ts +2 -2
- package/generated-sqlite/models/ChatInterrupt.ts +2 -2
- package/generated-sqlite/models/ChatMessage.ts +2 -2
- package/generated-sqlite/models/ChatRun.ts +2 -2
- package/generated-sqlite/models/ChatThread.ts +2 -6
- package/generated-sqlite/models/Comment.ts +2 -2
- package/generated-sqlite/models/CommentIgnore.ts +2 -2
- package/generated-sqlite/models/ComplianceExport.ts +2 -2
- package/generated-sqlite/models/Component.ts +2 -2
- package/generated-sqlite/models/ComponentInstance.ts +2 -2
- package/generated-sqlite/models/ComponentTag.ts +2 -2
- package/generated-sqlite/models/CustomRole.ts +2 -2
- package/generated-sqlite/models/DesignProject.ts +2 -2
- package/generated-sqlite/models/DeveloperLog.ts +2 -2
- package/generated-sqlite/models/DictionaryTerm.ts +2 -2
- package/generated-sqlite/models/GenerationRun.ts +2 -2
- package/generated-sqlite/models/IndustryCompliance.ts +2 -2
- package/generated-sqlite/models/InvitationCode.ts +2 -2
- package/generated-sqlite/models/InvitationUse.ts +2 -2
- package/generated-sqlite/models/Invoice.ts +2 -2
- package/generated-sqlite/models/Iteration.ts +2 -2
- package/generated-sqlite/models/IterationAutoSchedule.ts +2 -2
- package/generated-sqlite/models/KnowledgeBase.ts +196 -3
- package/generated-sqlite/models/KnowledgeDocument.ts +170 -2
- package/generated-sqlite/models/KnowledgeShareRecord.ts +2 -2
- package/generated-sqlite/models/LegalRegulation.ts +2 -2
- package/generated-sqlite/models/LicenseActivation.ts +2 -2
- package/generated-sqlite/models/LicenseKey.ts +2 -2
- package/generated-sqlite/models/LoginLog.ts +2 -2
- package/generated-sqlite/models/PRD.ts +2 -2
- package/generated-sqlite/models/PRDPage.ts +2 -2
- package/generated-sqlite/models/PRDTag.ts +2 -2
- package/generated-sqlite/models/PRDVersion.ts +2 -2
- package/generated-sqlite/models/PageVersion.ts +2 -2
- package/generated-sqlite/models/PasswordResetToken.ts +2 -2
- package/generated-sqlite/models/Plan.ts +2 -2
- package/generated-sqlite/models/Project.ts +2 -2
- package/generated-sqlite/models/ProjectActivity.ts +2 -2
- package/generated-sqlite/models/ProjectKnowledgeBase.ts +2 -2
- package/generated-sqlite/models/ProjectMember.ts +2 -2
- package/generated-sqlite/models/ProviderEvent.ts +2 -2
- package/generated-sqlite/models/Reference.ts +2 -2
- package/generated-sqlite/models/Review.ts +2 -2
- package/generated-sqlite/models/ReviewComment.ts +2 -2
- package/generated-sqlite/models/RoleAssignment.ts +2 -2
- package/generated-sqlite/models/Share.ts +2 -2
- package/generated-sqlite/models/ShareVersion.ts +2 -2
- package/generated-sqlite/models/SsoMapping.ts +2 -2
- package/generated-sqlite/models/SsoProvider.ts +2 -2
- package/generated-sqlite/models/Story.ts +2 -2
- package/generated-sqlite/models/Subscription.ts +2 -2
- package/generated-sqlite/models/SystemSetting.ts +2 -2
- package/generated-sqlite/models/Tag.ts +2 -2
- package/generated-sqlite/models/TeamInvitation.ts +2 -2
- package/generated-sqlite/models/TeamJoinRequest.ts +2 -2
- package/generated-sqlite/models/TeamMembership.ts +2 -2
- package/generated-sqlite/models/Template.ts +2 -2
- package/generated-sqlite/models/TemplateBlock.ts +2 -2
- package/generated-sqlite/models/ThirdPartyDependency.ts +2 -2
- package/generated-sqlite/models/UsageRecord.ts +2 -2
- package/generated-sqlite/models/User.ts +520 -2
- package/generated-sqlite/models/UserAgent.ts +2 -2
- package/generated-sqlite/models/UserSkill.ts +2 -2
- package/generated-sqlite/models/WebsiteBookmark.ts +2 -2
- package/generated-sqlite/models/Workspace.ts +354 -3
- package/generated-sqlite/models/WorkspaceKnowledgeBase.ts +1426 -0
- package/generated-sqlite/models/WorkspaceQuickDoc.ts +2025 -0
- package/generated-sqlite/models.ts +85 -83
- package/migrations/20260907093612_add_workspace_pinned_to_sidebar/migration.sql +2 -0
- package/migrations/20260907100000_add_knowledge_pinned_to_sidebar/migration.sql +2 -0
- package/migrations/20260907110000_add_workspace_members/migration.sql +34 -0
- package/migrations/20260907120000_knowledgebase_workspace_id/migration.sql +8 -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 +288 -214
- package/schema.sqlite.prisma +62 -14
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* 🟢 You can import this file directly.
|
|
10
10
|
*/
|
|
11
11
|
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
-
import type * as $Enums from "../enums"
|
|
13
|
-
import type * as Prisma from "../internal/prismaNamespace"
|
|
12
|
+
import type * as $Enums from "../enums.ts"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Model KnowledgeDocument
|
|
@@ -288,6 +288,7 @@ export type KnowledgeDocumentWhereInput = {
|
|
|
288
288
|
parent?: Prisma.XOR<Prisma.KnowledgeDocumentNullableScalarRelationFilter, Prisma.KnowledgeDocumentWhereInput> | null
|
|
289
289
|
children?: Prisma.KnowledgeDocumentListRelationFilter
|
|
290
290
|
creator?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
291
|
+
workspaceQuickDocs?: Prisma.WorkspaceQuickDocListRelationFilter
|
|
291
292
|
}
|
|
292
293
|
|
|
293
294
|
export type KnowledgeDocumentOrderByWithRelationInput = {
|
|
@@ -310,6 +311,7 @@ export type KnowledgeDocumentOrderByWithRelationInput = {
|
|
|
310
311
|
parent?: Prisma.KnowledgeDocumentOrderByWithRelationInput
|
|
311
312
|
children?: Prisma.KnowledgeDocumentOrderByRelationAggregateInput
|
|
312
313
|
creator?: Prisma.UserOrderByWithRelationInput
|
|
314
|
+
workspaceQuickDocs?: Prisma.WorkspaceQuickDocOrderByRelationAggregateInput
|
|
313
315
|
}
|
|
314
316
|
|
|
315
317
|
export type KnowledgeDocumentWhereUniqueInput = Prisma.AtLeast<{
|
|
@@ -335,6 +337,7 @@ export type KnowledgeDocumentWhereUniqueInput = Prisma.AtLeast<{
|
|
|
335
337
|
parent?: Prisma.XOR<Prisma.KnowledgeDocumentNullableScalarRelationFilter, Prisma.KnowledgeDocumentWhereInput> | null
|
|
336
338
|
children?: Prisma.KnowledgeDocumentListRelationFilter
|
|
337
339
|
creator?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
340
|
+
workspaceQuickDocs?: Prisma.WorkspaceQuickDocListRelationFilter
|
|
338
341
|
}, "id">
|
|
339
342
|
|
|
340
343
|
export type KnowledgeDocumentOrderByWithAggregationInput = {
|
|
@@ -398,6 +401,7 @@ export type KnowledgeDocumentCreateInput = {
|
|
|
398
401
|
parent?: Prisma.KnowledgeDocumentCreateNestedOneWithoutChildrenInput
|
|
399
402
|
children?: Prisma.KnowledgeDocumentCreateNestedManyWithoutParentInput
|
|
400
403
|
creator: Prisma.UserCreateNestedOneWithoutKnowledgeDocumentsInput
|
|
404
|
+
workspaceQuickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutDocInput
|
|
401
405
|
}
|
|
402
406
|
|
|
403
407
|
export type KnowledgeDocumentUncheckedCreateInput = {
|
|
@@ -417,6 +421,7 @@ export type KnowledgeDocumentUncheckedCreateInput = {
|
|
|
417
421
|
createdAt?: Date | string
|
|
418
422
|
updatedAt?: Date | string
|
|
419
423
|
children?: Prisma.KnowledgeDocumentUncheckedCreateNestedManyWithoutParentInput
|
|
424
|
+
workspaceQuickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutDocInput
|
|
420
425
|
}
|
|
421
426
|
|
|
422
427
|
export type KnowledgeDocumentUpdateInput = {
|
|
@@ -436,6 +441,7 @@ export type KnowledgeDocumentUpdateInput = {
|
|
|
436
441
|
parent?: Prisma.KnowledgeDocumentUpdateOneWithoutChildrenNestedInput
|
|
437
442
|
children?: Prisma.KnowledgeDocumentUpdateManyWithoutParentNestedInput
|
|
438
443
|
creator?: Prisma.UserUpdateOneRequiredWithoutKnowledgeDocumentsNestedInput
|
|
444
|
+
workspaceQuickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutDocNestedInput
|
|
439
445
|
}
|
|
440
446
|
|
|
441
447
|
export type KnowledgeDocumentUncheckedUpdateInput = {
|
|
@@ -455,6 +461,7 @@ export type KnowledgeDocumentUncheckedUpdateInput = {
|
|
|
455
461
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
456
462
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
457
463
|
children?: Prisma.KnowledgeDocumentUncheckedUpdateManyWithoutParentNestedInput
|
|
464
|
+
workspaceQuickDocs?: Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutDocNestedInput
|
|
458
465
|
}
|
|
459
466
|
|
|
460
467
|
export type KnowledgeDocumentCreateManyInput = {
|
|
@@ -663,6 +670,22 @@ export type KnowledgeDocumentUncheckedUpdateManyWithoutKbNestedInput = {
|
|
|
663
670
|
deleteMany?: Prisma.KnowledgeDocumentScalarWhereInput | Prisma.KnowledgeDocumentScalarWhereInput[]
|
|
664
671
|
}
|
|
665
672
|
|
|
673
|
+
export type KnowledgeDocumentCreateNestedOneWithoutWorkspaceQuickDocsInput = {
|
|
674
|
+
create?: Prisma.XOR<Prisma.KnowledgeDocumentCreateWithoutWorkspaceQuickDocsInput, Prisma.KnowledgeDocumentUncheckedCreateWithoutWorkspaceQuickDocsInput>
|
|
675
|
+
connectOrCreate?: Prisma.KnowledgeDocumentCreateOrConnectWithoutWorkspaceQuickDocsInput
|
|
676
|
+
connect?: Prisma.KnowledgeDocumentWhereUniqueInput
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
export type KnowledgeDocumentUpdateOneWithoutWorkspaceQuickDocsNestedInput = {
|
|
680
|
+
create?: Prisma.XOR<Prisma.KnowledgeDocumentCreateWithoutWorkspaceQuickDocsInput, Prisma.KnowledgeDocumentUncheckedCreateWithoutWorkspaceQuickDocsInput>
|
|
681
|
+
connectOrCreate?: Prisma.KnowledgeDocumentCreateOrConnectWithoutWorkspaceQuickDocsInput
|
|
682
|
+
upsert?: Prisma.KnowledgeDocumentUpsertWithoutWorkspaceQuickDocsInput
|
|
683
|
+
disconnect?: Prisma.KnowledgeDocumentWhereInput | boolean
|
|
684
|
+
delete?: Prisma.KnowledgeDocumentWhereInput | boolean
|
|
685
|
+
connect?: Prisma.KnowledgeDocumentWhereUniqueInput
|
|
686
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.KnowledgeDocumentUpdateToOneWithWhereWithoutWorkspaceQuickDocsInput, Prisma.KnowledgeDocumentUpdateWithoutWorkspaceQuickDocsInput>, Prisma.KnowledgeDocumentUncheckedUpdateWithoutWorkspaceQuickDocsInput>
|
|
687
|
+
}
|
|
688
|
+
|
|
666
689
|
export type KnowledgeDocumentCreateNestedOneWithoutChildrenInput = {
|
|
667
690
|
create?: Prisma.XOR<Prisma.KnowledgeDocumentCreateWithoutChildrenInput, Prisma.KnowledgeDocumentUncheckedCreateWithoutChildrenInput>
|
|
668
691
|
connectOrCreate?: Prisma.KnowledgeDocumentCreateOrConnectWithoutChildrenInput
|
|
@@ -737,6 +760,7 @@ export type KnowledgeDocumentCreateWithoutCreatorInput = {
|
|
|
737
760
|
kb: Prisma.KnowledgeBaseCreateNestedOneWithoutDocumentsInput
|
|
738
761
|
parent?: Prisma.KnowledgeDocumentCreateNestedOneWithoutChildrenInput
|
|
739
762
|
children?: Prisma.KnowledgeDocumentCreateNestedManyWithoutParentInput
|
|
763
|
+
workspaceQuickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutDocInput
|
|
740
764
|
}
|
|
741
765
|
|
|
742
766
|
export type KnowledgeDocumentUncheckedCreateWithoutCreatorInput = {
|
|
@@ -755,6 +779,7 @@ export type KnowledgeDocumentUncheckedCreateWithoutCreatorInput = {
|
|
|
755
779
|
createdAt?: Date | string
|
|
756
780
|
updatedAt?: Date | string
|
|
757
781
|
children?: Prisma.KnowledgeDocumentUncheckedCreateNestedManyWithoutParentInput
|
|
782
|
+
workspaceQuickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutDocInput
|
|
758
783
|
}
|
|
759
784
|
|
|
760
785
|
export type KnowledgeDocumentCreateOrConnectWithoutCreatorInput = {
|
|
@@ -819,6 +844,7 @@ export type KnowledgeDocumentCreateWithoutKbInput = {
|
|
|
819
844
|
parent?: Prisma.KnowledgeDocumentCreateNestedOneWithoutChildrenInput
|
|
820
845
|
children?: Prisma.KnowledgeDocumentCreateNestedManyWithoutParentInput
|
|
821
846
|
creator: Prisma.UserCreateNestedOneWithoutKnowledgeDocumentsInput
|
|
847
|
+
workspaceQuickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutDocInput
|
|
822
848
|
}
|
|
823
849
|
|
|
824
850
|
export type KnowledgeDocumentUncheckedCreateWithoutKbInput = {
|
|
@@ -837,6 +863,7 @@ export type KnowledgeDocumentUncheckedCreateWithoutKbInput = {
|
|
|
837
863
|
createdAt?: Date | string
|
|
838
864
|
updatedAt?: Date | string
|
|
839
865
|
children?: Prisma.KnowledgeDocumentUncheckedCreateNestedManyWithoutParentInput
|
|
866
|
+
workspaceQuickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutDocInput
|
|
840
867
|
}
|
|
841
868
|
|
|
842
869
|
export type KnowledgeDocumentCreateOrConnectWithoutKbInput = {
|
|
@@ -864,6 +891,98 @@ export type KnowledgeDocumentUpdateManyWithWhereWithoutKbInput = {
|
|
|
864
891
|
data: Prisma.XOR<Prisma.KnowledgeDocumentUpdateManyMutationInput, Prisma.KnowledgeDocumentUncheckedUpdateManyWithoutKbInput>
|
|
865
892
|
}
|
|
866
893
|
|
|
894
|
+
export type KnowledgeDocumentCreateWithoutWorkspaceQuickDocsInput = {
|
|
895
|
+
id?: string
|
|
896
|
+
title: string
|
|
897
|
+
type?: string
|
|
898
|
+
content?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
899
|
+
icon?: string | null
|
|
900
|
+
isHomepage?: boolean
|
|
901
|
+
sortOrder?: number
|
|
902
|
+
isDeleted?: boolean
|
|
903
|
+
tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
904
|
+
properties?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
905
|
+
createdAt?: Date | string
|
|
906
|
+
updatedAt?: Date | string
|
|
907
|
+
kb: Prisma.KnowledgeBaseCreateNestedOneWithoutDocumentsInput
|
|
908
|
+
parent?: Prisma.KnowledgeDocumentCreateNestedOneWithoutChildrenInput
|
|
909
|
+
children?: Prisma.KnowledgeDocumentCreateNestedManyWithoutParentInput
|
|
910
|
+
creator: Prisma.UserCreateNestedOneWithoutKnowledgeDocumentsInput
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
export type KnowledgeDocumentUncheckedCreateWithoutWorkspaceQuickDocsInput = {
|
|
914
|
+
id?: string
|
|
915
|
+
kbId: string
|
|
916
|
+
parentId?: string | null
|
|
917
|
+
title: string
|
|
918
|
+
type?: string
|
|
919
|
+
content?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
920
|
+
icon?: string | null
|
|
921
|
+
isHomepage?: boolean
|
|
922
|
+
sortOrder?: number
|
|
923
|
+
isDeleted?: boolean
|
|
924
|
+
createdBy: string
|
|
925
|
+
tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
926
|
+
properties?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
927
|
+
createdAt?: Date | string
|
|
928
|
+
updatedAt?: Date | string
|
|
929
|
+
children?: Prisma.KnowledgeDocumentUncheckedCreateNestedManyWithoutParentInput
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
export type KnowledgeDocumentCreateOrConnectWithoutWorkspaceQuickDocsInput = {
|
|
933
|
+
where: Prisma.KnowledgeDocumentWhereUniqueInput
|
|
934
|
+
create: Prisma.XOR<Prisma.KnowledgeDocumentCreateWithoutWorkspaceQuickDocsInput, Prisma.KnowledgeDocumentUncheckedCreateWithoutWorkspaceQuickDocsInput>
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
export type KnowledgeDocumentUpsertWithoutWorkspaceQuickDocsInput = {
|
|
938
|
+
update: Prisma.XOR<Prisma.KnowledgeDocumentUpdateWithoutWorkspaceQuickDocsInput, Prisma.KnowledgeDocumentUncheckedUpdateWithoutWorkspaceQuickDocsInput>
|
|
939
|
+
create: Prisma.XOR<Prisma.KnowledgeDocumentCreateWithoutWorkspaceQuickDocsInput, Prisma.KnowledgeDocumentUncheckedCreateWithoutWorkspaceQuickDocsInput>
|
|
940
|
+
where?: Prisma.KnowledgeDocumentWhereInput
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
export type KnowledgeDocumentUpdateToOneWithWhereWithoutWorkspaceQuickDocsInput = {
|
|
944
|
+
where?: Prisma.KnowledgeDocumentWhereInput
|
|
945
|
+
data: Prisma.XOR<Prisma.KnowledgeDocumentUpdateWithoutWorkspaceQuickDocsInput, Prisma.KnowledgeDocumentUncheckedUpdateWithoutWorkspaceQuickDocsInput>
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
export type KnowledgeDocumentUpdateWithoutWorkspaceQuickDocsInput = {
|
|
949
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
950
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
951
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
952
|
+
content?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
953
|
+
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
954
|
+
isHomepage?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
955
|
+
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
956
|
+
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
957
|
+
tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
958
|
+
properties?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
959
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
960
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
961
|
+
kb?: Prisma.KnowledgeBaseUpdateOneRequiredWithoutDocumentsNestedInput
|
|
962
|
+
parent?: Prisma.KnowledgeDocumentUpdateOneWithoutChildrenNestedInput
|
|
963
|
+
children?: Prisma.KnowledgeDocumentUpdateManyWithoutParentNestedInput
|
|
964
|
+
creator?: Prisma.UserUpdateOneRequiredWithoutKnowledgeDocumentsNestedInput
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
export type KnowledgeDocumentUncheckedUpdateWithoutWorkspaceQuickDocsInput = {
|
|
968
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
969
|
+
kbId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
970
|
+
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
971
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
972
|
+
type?: Prisma.StringFieldUpdateOperationsInput | string
|
|
973
|
+
content?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
974
|
+
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
975
|
+
isHomepage?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
976
|
+
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
977
|
+
isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
978
|
+
createdBy?: Prisma.StringFieldUpdateOperationsInput | string
|
|
979
|
+
tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
980
|
+
properties?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
981
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
982
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
983
|
+
children?: Prisma.KnowledgeDocumentUncheckedUpdateManyWithoutParentNestedInput
|
|
984
|
+
}
|
|
985
|
+
|
|
867
986
|
export type KnowledgeDocumentCreateWithoutChildrenInput = {
|
|
868
987
|
id?: string
|
|
869
988
|
title: string
|
|
@@ -880,6 +999,7 @@ export type KnowledgeDocumentCreateWithoutChildrenInput = {
|
|
|
880
999
|
kb: Prisma.KnowledgeBaseCreateNestedOneWithoutDocumentsInput
|
|
881
1000
|
parent?: Prisma.KnowledgeDocumentCreateNestedOneWithoutChildrenInput
|
|
882
1001
|
creator: Prisma.UserCreateNestedOneWithoutKnowledgeDocumentsInput
|
|
1002
|
+
workspaceQuickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutDocInput
|
|
883
1003
|
}
|
|
884
1004
|
|
|
885
1005
|
export type KnowledgeDocumentUncheckedCreateWithoutChildrenInput = {
|
|
@@ -898,6 +1018,7 @@ export type KnowledgeDocumentUncheckedCreateWithoutChildrenInput = {
|
|
|
898
1018
|
properties?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
899
1019
|
createdAt?: Date | string
|
|
900
1020
|
updatedAt?: Date | string
|
|
1021
|
+
workspaceQuickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutDocInput
|
|
901
1022
|
}
|
|
902
1023
|
|
|
903
1024
|
export type KnowledgeDocumentCreateOrConnectWithoutChildrenInput = {
|
|
@@ -921,6 +1042,7 @@ export type KnowledgeDocumentCreateWithoutParentInput = {
|
|
|
921
1042
|
kb: Prisma.KnowledgeBaseCreateNestedOneWithoutDocumentsInput
|
|
922
1043
|
children?: Prisma.KnowledgeDocumentCreateNestedManyWithoutParentInput
|
|
923
1044
|
creator: Prisma.UserCreateNestedOneWithoutKnowledgeDocumentsInput
|
|
1045
|
+
workspaceQuickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutDocInput
|
|
924
1046
|
}
|
|
925
1047
|
|
|
926
1048
|
export type KnowledgeDocumentUncheckedCreateWithoutParentInput = {
|
|
@@ -939,6 +1061,7 @@ export type KnowledgeDocumentUncheckedCreateWithoutParentInput = {
|
|
|
939
1061
|
createdAt?: Date | string
|
|
940
1062
|
updatedAt?: Date | string
|
|
941
1063
|
children?: Prisma.KnowledgeDocumentUncheckedCreateNestedManyWithoutParentInput
|
|
1064
|
+
workspaceQuickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutDocInput
|
|
942
1065
|
}
|
|
943
1066
|
|
|
944
1067
|
export type KnowledgeDocumentCreateOrConnectWithoutParentInput = {
|
|
@@ -977,6 +1100,7 @@ export type KnowledgeDocumentUpdateWithoutChildrenInput = {
|
|
|
977
1100
|
kb?: Prisma.KnowledgeBaseUpdateOneRequiredWithoutDocumentsNestedInput
|
|
978
1101
|
parent?: Prisma.KnowledgeDocumentUpdateOneWithoutChildrenNestedInput
|
|
979
1102
|
creator?: Prisma.UserUpdateOneRequiredWithoutKnowledgeDocumentsNestedInput
|
|
1103
|
+
workspaceQuickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutDocNestedInput
|
|
980
1104
|
}
|
|
981
1105
|
|
|
982
1106
|
export type KnowledgeDocumentUncheckedUpdateWithoutChildrenInput = {
|
|
@@ -995,6 +1119,7 @@ export type KnowledgeDocumentUncheckedUpdateWithoutChildrenInput = {
|
|
|
995
1119
|
properties?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
996
1120
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
997
1121
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1122
|
+
workspaceQuickDocs?: Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutDocNestedInput
|
|
998
1123
|
}
|
|
999
1124
|
|
|
1000
1125
|
export type KnowledgeDocumentUpsertWithWhereUniqueWithoutParentInput = {
|
|
@@ -1046,6 +1171,7 @@ export type KnowledgeDocumentUpdateWithoutCreatorInput = {
|
|
|
1046
1171
|
kb?: Prisma.KnowledgeBaseUpdateOneRequiredWithoutDocumentsNestedInput
|
|
1047
1172
|
parent?: Prisma.KnowledgeDocumentUpdateOneWithoutChildrenNestedInput
|
|
1048
1173
|
children?: Prisma.KnowledgeDocumentUpdateManyWithoutParentNestedInput
|
|
1174
|
+
workspaceQuickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutDocNestedInput
|
|
1049
1175
|
}
|
|
1050
1176
|
|
|
1051
1177
|
export type KnowledgeDocumentUncheckedUpdateWithoutCreatorInput = {
|
|
@@ -1064,6 +1190,7 @@ export type KnowledgeDocumentUncheckedUpdateWithoutCreatorInput = {
|
|
|
1064
1190
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1065
1191
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1066
1192
|
children?: Prisma.KnowledgeDocumentUncheckedUpdateManyWithoutParentNestedInput
|
|
1193
|
+
workspaceQuickDocs?: Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutDocNestedInput
|
|
1067
1194
|
}
|
|
1068
1195
|
|
|
1069
1196
|
export type KnowledgeDocumentUncheckedUpdateManyWithoutCreatorInput = {
|
|
@@ -1116,6 +1243,7 @@ export type KnowledgeDocumentUpdateWithoutKbInput = {
|
|
|
1116
1243
|
parent?: Prisma.KnowledgeDocumentUpdateOneWithoutChildrenNestedInput
|
|
1117
1244
|
children?: Prisma.KnowledgeDocumentUpdateManyWithoutParentNestedInput
|
|
1118
1245
|
creator?: Prisma.UserUpdateOneRequiredWithoutKnowledgeDocumentsNestedInput
|
|
1246
|
+
workspaceQuickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutDocNestedInput
|
|
1119
1247
|
}
|
|
1120
1248
|
|
|
1121
1249
|
export type KnowledgeDocumentUncheckedUpdateWithoutKbInput = {
|
|
@@ -1134,6 +1262,7 @@ export type KnowledgeDocumentUncheckedUpdateWithoutKbInput = {
|
|
|
1134
1262
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1135
1263
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1136
1264
|
children?: Prisma.KnowledgeDocumentUncheckedUpdateManyWithoutParentNestedInput
|
|
1265
|
+
workspaceQuickDocs?: Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutDocNestedInput
|
|
1137
1266
|
}
|
|
1138
1267
|
|
|
1139
1268
|
export type KnowledgeDocumentUncheckedUpdateManyWithoutKbInput = {
|
|
@@ -1186,6 +1315,7 @@ export type KnowledgeDocumentUpdateWithoutParentInput = {
|
|
|
1186
1315
|
kb?: Prisma.KnowledgeBaseUpdateOneRequiredWithoutDocumentsNestedInput
|
|
1187
1316
|
children?: Prisma.KnowledgeDocumentUpdateManyWithoutParentNestedInput
|
|
1188
1317
|
creator?: Prisma.UserUpdateOneRequiredWithoutKnowledgeDocumentsNestedInput
|
|
1318
|
+
workspaceQuickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutDocNestedInput
|
|
1189
1319
|
}
|
|
1190
1320
|
|
|
1191
1321
|
export type KnowledgeDocumentUncheckedUpdateWithoutParentInput = {
|
|
@@ -1204,6 +1334,7 @@ export type KnowledgeDocumentUncheckedUpdateWithoutParentInput = {
|
|
|
1204
1334
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1205
1335
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1206
1336
|
children?: Prisma.KnowledgeDocumentUncheckedUpdateManyWithoutParentNestedInput
|
|
1337
|
+
workspaceQuickDocs?: Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutDocNestedInput
|
|
1207
1338
|
}
|
|
1208
1339
|
|
|
1209
1340
|
export type KnowledgeDocumentUncheckedUpdateManyWithoutParentInput = {
|
|
@@ -1230,10 +1361,12 @@ export type KnowledgeDocumentUncheckedUpdateManyWithoutParentInput = {
|
|
|
1230
1361
|
|
|
1231
1362
|
export type KnowledgeDocumentCountOutputType = {
|
|
1232
1363
|
children: number
|
|
1364
|
+
workspaceQuickDocs: number
|
|
1233
1365
|
}
|
|
1234
1366
|
|
|
1235
1367
|
export type KnowledgeDocumentCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1236
1368
|
children?: boolean | KnowledgeDocumentCountOutputTypeCountChildrenArgs
|
|
1369
|
+
workspaceQuickDocs?: boolean | KnowledgeDocumentCountOutputTypeCountWorkspaceQuickDocsArgs
|
|
1237
1370
|
}
|
|
1238
1371
|
|
|
1239
1372
|
/**
|
|
@@ -1253,6 +1386,13 @@ export type KnowledgeDocumentCountOutputTypeCountChildrenArgs<ExtArgs extends ru
|
|
|
1253
1386
|
where?: Prisma.KnowledgeDocumentWhereInput
|
|
1254
1387
|
}
|
|
1255
1388
|
|
|
1389
|
+
/**
|
|
1390
|
+
* KnowledgeDocumentCountOutputType without action
|
|
1391
|
+
*/
|
|
1392
|
+
export type KnowledgeDocumentCountOutputTypeCountWorkspaceQuickDocsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1393
|
+
where?: Prisma.WorkspaceQuickDocWhereInput
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1256
1396
|
|
|
1257
1397
|
export type KnowledgeDocumentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1258
1398
|
id?: boolean
|
|
@@ -1274,6 +1414,7 @@ export type KnowledgeDocumentSelect<ExtArgs extends runtime.Types.Extensions.Int
|
|
|
1274
1414
|
parent?: boolean | Prisma.KnowledgeDocument$parentArgs<ExtArgs>
|
|
1275
1415
|
children?: boolean | Prisma.KnowledgeDocument$childrenArgs<ExtArgs>
|
|
1276
1416
|
creator?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
1417
|
+
workspaceQuickDocs?: boolean | Prisma.KnowledgeDocument$workspaceQuickDocsArgs<ExtArgs>
|
|
1277
1418
|
_count?: boolean | Prisma.KnowledgeDocumentCountOutputTypeDefaultArgs<ExtArgs>
|
|
1278
1419
|
}, ExtArgs["result"]["knowledgeDocument"]>
|
|
1279
1420
|
|
|
@@ -1343,6 +1484,7 @@ export type KnowledgeDocumentInclude<ExtArgs extends runtime.Types.Extensions.In
|
|
|
1343
1484
|
parent?: boolean | Prisma.KnowledgeDocument$parentArgs<ExtArgs>
|
|
1344
1485
|
children?: boolean | Prisma.KnowledgeDocument$childrenArgs<ExtArgs>
|
|
1345
1486
|
creator?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
1487
|
+
workspaceQuickDocs?: boolean | Prisma.KnowledgeDocument$workspaceQuickDocsArgs<ExtArgs>
|
|
1346
1488
|
_count?: boolean | Prisma.KnowledgeDocumentCountOutputTypeDefaultArgs<ExtArgs>
|
|
1347
1489
|
}
|
|
1348
1490
|
export type KnowledgeDocumentIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
@@ -1363,6 +1505,7 @@ export type $KnowledgeDocumentPayload<ExtArgs extends runtime.Types.Extensions.I
|
|
|
1363
1505
|
parent: Prisma.$KnowledgeDocumentPayload<ExtArgs> | null
|
|
1364
1506
|
children: Prisma.$KnowledgeDocumentPayload<ExtArgs>[]
|
|
1365
1507
|
creator: Prisma.$UserPayload<ExtArgs>
|
|
1508
|
+
workspaceQuickDocs: Prisma.$WorkspaceQuickDocPayload<ExtArgs>[]
|
|
1366
1509
|
}
|
|
1367
1510
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1368
1511
|
id: string
|
|
@@ -1778,6 +1921,7 @@ export interface Prisma__KnowledgeDocumentClient<T, Null = never, ExtArgs extend
|
|
|
1778
1921
|
parent<T extends Prisma.KnowledgeDocument$parentArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.KnowledgeDocument$parentArgs<ExtArgs>>): Prisma.Prisma__KnowledgeDocumentClient<runtime.Types.Result.GetResult<Prisma.$KnowledgeDocumentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1779
1922
|
children<T extends Prisma.KnowledgeDocument$childrenArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.KnowledgeDocument$childrenArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$KnowledgeDocumentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1780
1923
|
creator<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1924
|
+
workspaceQuickDocs<T extends Prisma.KnowledgeDocument$workspaceQuickDocsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.KnowledgeDocument$workspaceQuickDocsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkspaceQuickDocPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1781
1925
|
/**
|
|
1782
1926
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1783
1927
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -2263,6 +2407,30 @@ export type KnowledgeDocument$childrenArgs<ExtArgs extends runtime.Types.Extensi
|
|
|
2263
2407
|
distinct?: Prisma.KnowledgeDocumentScalarFieldEnum | Prisma.KnowledgeDocumentScalarFieldEnum[]
|
|
2264
2408
|
}
|
|
2265
2409
|
|
|
2410
|
+
/**
|
|
2411
|
+
* KnowledgeDocument.workspaceQuickDocs
|
|
2412
|
+
*/
|
|
2413
|
+
export type KnowledgeDocument$workspaceQuickDocsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2414
|
+
/**
|
|
2415
|
+
* Select specific fields to fetch from the WorkspaceQuickDoc
|
|
2416
|
+
*/
|
|
2417
|
+
select?: Prisma.WorkspaceQuickDocSelect<ExtArgs> | null
|
|
2418
|
+
/**
|
|
2419
|
+
* Omit specific fields from the WorkspaceQuickDoc
|
|
2420
|
+
*/
|
|
2421
|
+
omit?: Prisma.WorkspaceQuickDocOmit<ExtArgs> | null
|
|
2422
|
+
/**
|
|
2423
|
+
* Choose, which related nodes to fetch as well
|
|
2424
|
+
*/
|
|
2425
|
+
include?: Prisma.WorkspaceQuickDocInclude<ExtArgs> | null
|
|
2426
|
+
where?: Prisma.WorkspaceQuickDocWhereInput
|
|
2427
|
+
orderBy?: Prisma.WorkspaceQuickDocOrderByWithRelationInput | Prisma.WorkspaceQuickDocOrderByWithRelationInput[]
|
|
2428
|
+
cursor?: Prisma.WorkspaceQuickDocWhereUniqueInput
|
|
2429
|
+
take?: number
|
|
2430
|
+
skip?: number
|
|
2431
|
+
distinct?: Prisma.WorkspaceQuickDocScalarFieldEnum | Prisma.WorkspaceQuickDocScalarFieldEnum[]
|
|
2432
|
+
}
|
|
2433
|
+
|
|
2266
2434
|
/**
|
|
2267
2435
|
* KnowledgeDocument without action
|
|
2268
2436
|
*/
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* 🟢 You can import this file directly.
|
|
10
10
|
*/
|
|
11
11
|
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
-
import type * as $Enums from "../enums"
|
|
13
|
-
import type * as Prisma from "../internal/prismaNamespace"
|
|
12
|
+
import type * as $Enums from "../enums.ts"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Model KnowledgeShareRecord
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* 🟢 You can import this file directly.
|
|
10
10
|
*/
|
|
11
11
|
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
-
import type * as $Enums from "../enums"
|
|
13
|
-
import type * as Prisma from "../internal/prismaNamespace"
|
|
12
|
+
import type * as $Enums from "../enums.ts"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Model LegalRegulation
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* 🟢 You can import this file directly.
|
|
10
10
|
*/
|
|
11
11
|
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
-
import type * as $Enums from "../enums"
|
|
13
|
-
import type * as Prisma from "../internal/prismaNamespace"
|
|
12
|
+
import type * as $Enums from "../enums.ts"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Model LicenseActivation
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* 🟢 You can import this file directly.
|
|
10
10
|
*/
|
|
11
11
|
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
-
import type * as $Enums from "../enums"
|
|
13
|
-
import type * as Prisma from "../internal/prismaNamespace"
|
|
12
|
+
import type * as $Enums from "../enums.ts"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Model LicenseKey
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* 🟢 You can import this file directly.
|
|
10
10
|
*/
|
|
11
11
|
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
-
import type * as $Enums from "../enums"
|
|
13
|
-
import type * as Prisma from "../internal/prismaNamespace"
|
|
12
|
+
import type * as $Enums from "../enums.ts"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Model LoginLog
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* 🟢 You can import this file directly.
|
|
10
10
|
*/
|
|
11
11
|
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
-
import type * as $Enums from "../enums"
|
|
13
|
-
import type * as Prisma from "../internal/prismaNamespace"
|
|
12
|
+
import type * as $Enums from "../enums.ts"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Model PRD
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* 🟢 You can import this file directly.
|
|
10
10
|
*/
|
|
11
11
|
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
-
import type * as $Enums from "../enums"
|
|
13
|
-
import type * as Prisma from "../internal/prismaNamespace"
|
|
12
|
+
import type * as $Enums from "../enums.ts"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Model PRDPage
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* 🟢 You can import this file directly.
|
|
10
10
|
*/
|
|
11
11
|
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
-
import type * as $Enums from "../enums"
|
|
13
|
-
import type * as Prisma from "../internal/prismaNamespace"
|
|
12
|
+
import type * as $Enums from "../enums.ts"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Model PRDTag
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* 🟢 You can import this file directly.
|
|
10
10
|
*/
|
|
11
11
|
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
-
import type * as $Enums from "../enums"
|
|
13
|
-
import type * as Prisma from "../internal/prismaNamespace"
|
|
12
|
+
import type * as $Enums from "../enums.ts"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Model PRDVersion
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* 🟢 You can import this file directly.
|
|
10
10
|
*/
|
|
11
11
|
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
-
import type * as $Enums from "../enums"
|
|
13
|
-
import type * as Prisma from "../internal/prismaNamespace"
|
|
12
|
+
import type * as $Enums from "../enums.ts"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Model PageVersion
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* 🟢 You can import this file directly.
|
|
10
10
|
*/
|
|
11
11
|
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
-
import type * as $Enums from "../enums"
|
|
13
|
-
import type * as Prisma from "../internal/prismaNamespace"
|
|
12
|
+
import type * as $Enums from "../enums.ts"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Model PasswordResetToken
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* 🟢 You can import this file directly.
|
|
10
10
|
*/
|
|
11
11
|
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
-
import type * as $Enums from "../enums"
|
|
13
|
-
import type * as Prisma from "../internal/prismaNamespace"
|
|
12
|
+
import type * as $Enums from "../enums.ts"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Model Plan
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* 🟢 You can import this file directly.
|
|
10
10
|
*/
|
|
11
11
|
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
-
import type * as $Enums from "../enums"
|
|
13
|
-
import type * as Prisma from "../internal/prismaNamespace"
|
|
12
|
+
import type * as $Enums from "../enums.ts"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Model Project
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* 🟢 You can import this file directly.
|
|
10
10
|
*/
|
|
11
11
|
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
-
import type * as $Enums from "../enums"
|
|
13
|
-
import type * as Prisma from "../internal/prismaNamespace"
|
|
12
|
+
import type * as $Enums from "../enums.ts"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Model ProjectActivity
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* 🟢 You can import this file directly.
|
|
10
10
|
*/
|
|
11
11
|
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
-
import type * as $Enums from "../enums"
|
|
13
|
-
import type * as Prisma from "../internal/prismaNamespace"
|
|
12
|
+
import type * as $Enums from "../enums.ts"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Model ProjectKnowledgeBase
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* 🟢 You can import this file directly.
|
|
10
10
|
*/
|
|
11
11
|
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
-
import type * as $Enums from "../enums"
|
|
13
|
-
import type * as Prisma from "../internal/prismaNamespace"
|
|
12
|
+
import type * as $Enums from "../enums.ts"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Model ProjectMember
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* 🟢 You can import this file directly.
|
|
10
10
|
*/
|
|
11
11
|
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
-
import type * as $Enums from "../enums"
|
|
13
|
-
import type * as Prisma from "../internal/prismaNamespace"
|
|
12
|
+
import type * as $Enums from "../enums.ts"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Model ProviderEvent
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* 🟢 You can import this file directly.
|
|
10
10
|
*/
|
|
11
11
|
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
-
import type * as $Enums from "../enums"
|
|
13
|
-
import type * as Prisma from "../internal/prismaNamespace"
|
|
12
|
+
import type * as $Enums from "../enums.ts"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Model Reference
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* 🟢 You can import this file directly.
|
|
10
10
|
*/
|
|
11
11
|
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
-
import type * as $Enums from "../enums"
|
|
13
|
-
import type * as Prisma from "../internal/prismaNamespace"
|
|
12
|
+
import type * as $Enums from "../enums.ts"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Model Review
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* 🟢 You can import this file directly.
|
|
10
10
|
*/
|
|
11
11
|
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
-
import type * as $Enums from "../enums"
|
|
13
|
-
import type * as Prisma from "../internal/prismaNamespace"
|
|
12
|
+
import type * as $Enums from "../enums.ts"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Model ReviewComment
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* 🟢 You can import this file directly.
|
|
10
10
|
*/
|
|
11
11
|
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
-
import type * as $Enums from "../enums"
|
|
13
|
-
import type * as Prisma from "../internal/prismaNamespace"
|
|
12
|
+
import type * as $Enums from "../enums.ts"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Model RoleAssignment
|