@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.
Files changed (216) hide show
  1. package/generated/browser.ts +18 -3
  2. package/generated/client.ts +20 -5
  3. package/generated/commonInputTypes.ts +2 -2
  4. package/generated/internal/class.ts +35 -5
  5. package/generated/internal/prismaNamespace.ts +276 -4
  6. package/generated/internal/prismaNamespaceBrowser.ts +49 -2
  7. package/generated/models/Account.ts +2 -2
  8. package/generated/models/AgentConversation.ts +2 -2
  9. package/generated/models/AgentMessage.ts +2 -2
  10. package/generated/models/AiProvider.ts +2 -2
  11. package/generated/models/AiProviderConfig.ts +2 -2
  12. package/generated/models/AiUsageLog.ts +2 -2
  13. package/generated/models/AnyHubApp.ts +2 -2
  14. package/generated/models/AnyHubMarketApp.ts +2 -2
  15. package/generated/models/AnyHubPermission.ts +2 -2
  16. package/generated/models/AnyHubRecommendation.ts +2 -2
  17. package/generated/models/AnyHubRecommender.ts +2 -2
  18. package/generated/models/Artboard.ts +2 -2
  19. package/generated/models/ArtboardExport.ts +2 -2
  20. package/generated/models/ArticleFavorite.ts +2 -2
  21. package/generated/models/AuditLog.ts +2 -2
  22. package/generated/models/Block.ts +2 -2
  23. package/generated/models/BlockComponent.ts +2 -2
  24. package/generated/models/BlockInstance.ts +2 -2
  25. package/generated/models/BookmarkCategory.ts +2 -2
  26. package/generated/models/ChatInterrupt.ts +2 -2
  27. package/generated/models/ChatMessage.ts +2 -2
  28. package/generated/models/ChatRun.ts +2 -2
  29. package/generated/models/ChatThread.ts +2 -6
  30. package/generated/models/Comment.ts +2 -2
  31. package/generated/models/CommentIgnore.ts +2 -2
  32. package/generated/models/CommentReaction.ts +2 -2
  33. package/generated/models/ComplianceExport.ts +2 -2
  34. package/generated/models/Component.ts +2 -2
  35. package/generated/models/ComponentInstance.ts +2 -2
  36. package/generated/models/ComponentTag.ts +2 -2
  37. package/generated/models/CustomRole.ts +2 -2
  38. package/generated/models/DesignProject.ts +2 -2
  39. package/generated/models/DeveloperLog.ts +2 -2
  40. package/generated/models/DictionaryTerm.ts +2 -2
  41. package/generated/models/GenerationRun.ts +2 -2
  42. package/generated/models/IndustryCompliance.ts +2 -2
  43. package/generated/models/InvitationCode.ts +2 -2
  44. package/generated/models/InvitationUse.ts +2 -2
  45. package/generated/models/Invoice.ts +2 -2
  46. package/generated/models/Iteration.ts +2 -2
  47. package/generated/models/IterationAutoSchedule.ts +2 -2
  48. package/generated/models/KnowledgeBase.ts +436 -3
  49. package/generated/models/KnowledgeDocument.ts +178 -2
  50. package/generated/models/KnowledgeShareRecord.ts +2 -2
  51. package/generated/models/Label.ts +2 -2
  52. package/generated/models/LegalRegulation.ts +2 -2
  53. package/generated/models/LicenseActivation.ts +2 -2
  54. package/generated/models/LicenseKey.ts +2 -2
  55. package/generated/models/LoginLog.ts +2 -2
  56. package/generated/models/MonitoringErrorReport.ts +2 -2
  57. package/generated/models/MonitoringHealthSnapshot.ts +2 -2
  58. package/generated/models/MonitoringMetricsSnapshot.ts +2 -2
  59. package/generated/models/MonitoringRequestLog.ts +2 -2
  60. package/generated/models/Notification.ts +2 -2
  61. package/generated/models/NotificationPreference.ts +2 -2
  62. package/generated/models/PRD.ts +2 -2
  63. package/generated/models/PRDPage.ts +2 -2
  64. package/generated/models/PRDTag.ts +2 -2
  65. package/generated/models/PRDVersion.ts +2 -2
  66. package/generated/models/PageVersion.ts +2 -2
  67. package/generated/models/PasswordResetToken.ts +2 -2
  68. package/generated/models/Plan.ts +2 -2
  69. package/generated/models/Project.ts +2 -2
  70. package/generated/models/ProjectActivity.ts +2 -2
  71. package/generated/models/ProjectKnowledgeBase.ts +2 -2
  72. package/generated/models/ProjectMember.ts +2 -2
  73. package/generated/models/ProviderEvent.ts +2 -2
  74. package/generated/models/Reference.ts +2 -2
  75. package/generated/models/Review.ts +2 -2
  76. package/generated/models/ReviewComment.ts +2 -2
  77. package/generated/models/RoleAssignment.ts +2 -2
  78. package/generated/models/SequenceCounter.ts +2 -2
  79. package/generated/models/Share.ts +2 -2
  80. package/generated/models/ShareVersion.ts +2 -2
  81. package/generated/models/SsoMapping.ts +2 -2
  82. package/generated/models/SsoProvider.ts +2 -2
  83. package/generated/models/Story.ts +2 -2
  84. package/generated/models/StoryActivity.ts +2 -2
  85. package/generated/models/StoryAttachment.ts +2 -2
  86. package/generated/models/StoryComment.ts +2 -2
  87. package/generated/models/StoryDependency.ts +2 -2
  88. package/generated/models/StoryDocLink.ts +2 -2
  89. package/generated/models/StoryExternalLink.ts +2 -2
  90. package/generated/models/StoryFilterView.ts +2 -2
  91. package/generated/models/StoryLabel.ts +2 -2
  92. package/generated/models/StoryLink.ts +2 -2
  93. package/generated/models/StoryPrdLink.ts +2 -2
  94. package/generated/models/StoryReaction.ts +2 -2
  95. package/generated/models/Subscription.ts +2 -2
  96. package/generated/models/SystemSetting.ts +2 -2
  97. package/generated/models/Tag.ts +2 -2
  98. package/generated/models/TeamInvitation.ts +2 -2
  99. package/generated/models/TeamJoinRequest.ts +2 -2
  100. package/generated/models/TeamMembership.ts +2 -2
  101. package/generated/models/Template.ts +2 -2
  102. package/generated/models/TemplateBlock.ts +2 -2
  103. package/generated/models/ThirdPartyDependency.ts +2 -2
  104. package/generated/models/UsageRecord.ts +2 -2
  105. package/generated/models/User.ts +1585 -325
  106. package/generated/models/UserAgent.ts +2 -2
  107. package/generated/models/UserSkill.ts +2 -2
  108. package/generated/models/WebsiteBookmark.ts +2 -2
  109. package/generated/models/Workspace.ts +796 -3
  110. package/generated/models/WorkspaceKnowledgeBase.ts +1430 -0
  111. package/generated/models/WorkspaceMember.ts +1512 -0
  112. package/generated/models/WorkspaceQuickDoc.ts +2030 -0
  113. package/generated/models.ts +107 -104
  114. package/generated-sqlite/browser.ts +13 -3
  115. package/generated-sqlite/client.ts +15 -5
  116. package/generated-sqlite/commonInputTypes.ts +2 -2
  117. package/generated-sqlite/internal/class.ts +25 -5
  118. package/generated-sqlite/internal/prismaNamespace.ts +187 -4
  119. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +35 -2
  120. package/generated-sqlite/models/AgentConversation.ts +2 -2
  121. package/generated-sqlite/models/AgentMessage.ts +2 -2
  122. package/generated-sqlite/models/AiProvider.ts +2 -2
  123. package/generated-sqlite/models/AiProviderConfig.ts +2 -2
  124. package/generated-sqlite/models/AiUsageLog.ts +2 -2
  125. package/generated-sqlite/models/AnyHubApp.ts +2 -2
  126. package/generated-sqlite/models/AnyHubMarketApp.ts +2 -2
  127. package/generated-sqlite/models/AnyHubPermission.ts +2 -2
  128. package/generated-sqlite/models/AnyHubRecommendation.ts +2 -2
  129. package/generated-sqlite/models/AnyHubRecommender.ts +2 -2
  130. package/generated-sqlite/models/Artboard.ts +2 -2
  131. package/generated-sqlite/models/ArtboardExport.ts +2 -2
  132. package/generated-sqlite/models/ArticleFavorite.ts +2 -2
  133. package/generated-sqlite/models/AuditLog.ts +2 -2
  134. package/generated-sqlite/models/Block.ts +2 -2
  135. package/generated-sqlite/models/BlockComponent.ts +2 -2
  136. package/generated-sqlite/models/BlockInstance.ts +2 -2
  137. package/generated-sqlite/models/BookmarkCategory.ts +2 -2
  138. package/generated-sqlite/models/ChatInterrupt.ts +2 -2
  139. package/generated-sqlite/models/ChatMessage.ts +2 -2
  140. package/generated-sqlite/models/ChatRun.ts +2 -2
  141. package/generated-sqlite/models/ChatThread.ts +2 -6
  142. package/generated-sqlite/models/Comment.ts +2 -2
  143. package/generated-sqlite/models/CommentIgnore.ts +2 -2
  144. package/generated-sqlite/models/ComplianceExport.ts +2 -2
  145. package/generated-sqlite/models/Component.ts +2 -2
  146. package/generated-sqlite/models/ComponentInstance.ts +2 -2
  147. package/generated-sqlite/models/ComponentTag.ts +2 -2
  148. package/generated-sqlite/models/CustomRole.ts +2 -2
  149. package/generated-sqlite/models/DesignProject.ts +2 -2
  150. package/generated-sqlite/models/DeveloperLog.ts +2 -2
  151. package/generated-sqlite/models/DictionaryTerm.ts +2 -2
  152. package/generated-sqlite/models/GenerationRun.ts +2 -2
  153. package/generated-sqlite/models/IndustryCompliance.ts +2 -2
  154. package/generated-sqlite/models/InvitationCode.ts +2 -2
  155. package/generated-sqlite/models/InvitationUse.ts +2 -2
  156. package/generated-sqlite/models/Invoice.ts +2 -2
  157. package/generated-sqlite/models/Iteration.ts +2 -2
  158. package/generated-sqlite/models/IterationAutoSchedule.ts +2 -2
  159. package/generated-sqlite/models/KnowledgeBase.ts +196 -3
  160. package/generated-sqlite/models/KnowledgeDocument.ts +170 -2
  161. package/generated-sqlite/models/KnowledgeShareRecord.ts +2 -2
  162. package/generated-sqlite/models/LegalRegulation.ts +2 -2
  163. package/generated-sqlite/models/LicenseActivation.ts +2 -2
  164. package/generated-sqlite/models/LicenseKey.ts +2 -2
  165. package/generated-sqlite/models/LoginLog.ts +2 -2
  166. package/generated-sqlite/models/PRD.ts +2 -2
  167. package/generated-sqlite/models/PRDPage.ts +2 -2
  168. package/generated-sqlite/models/PRDTag.ts +2 -2
  169. package/generated-sqlite/models/PRDVersion.ts +2 -2
  170. package/generated-sqlite/models/PageVersion.ts +2 -2
  171. package/generated-sqlite/models/PasswordResetToken.ts +2 -2
  172. package/generated-sqlite/models/Plan.ts +2 -2
  173. package/generated-sqlite/models/Project.ts +2 -2
  174. package/generated-sqlite/models/ProjectActivity.ts +2 -2
  175. package/generated-sqlite/models/ProjectKnowledgeBase.ts +2 -2
  176. package/generated-sqlite/models/ProjectMember.ts +2 -2
  177. package/generated-sqlite/models/ProviderEvent.ts +2 -2
  178. package/generated-sqlite/models/Reference.ts +2 -2
  179. package/generated-sqlite/models/Review.ts +2 -2
  180. package/generated-sqlite/models/ReviewComment.ts +2 -2
  181. package/generated-sqlite/models/RoleAssignment.ts +2 -2
  182. package/generated-sqlite/models/Share.ts +2 -2
  183. package/generated-sqlite/models/ShareVersion.ts +2 -2
  184. package/generated-sqlite/models/SsoMapping.ts +2 -2
  185. package/generated-sqlite/models/SsoProvider.ts +2 -2
  186. package/generated-sqlite/models/Story.ts +2 -2
  187. package/generated-sqlite/models/Subscription.ts +2 -2
  188. package/generated-sqlite/models/SystemSetting.ts +2 -2
  189. package/generated-sqlite/models/Tag.ts +2 -2
  190. package/generated-sqlite/models/TeamInvitation.ts +2 -2
  191. package/generated-sqlite/models/TeamJoinRequest.ts +2 -2
  192. package/generated-sqlite/models/TeamMembership.ts +2 -2
  193. package/generated-sqlite/models/Template.ts +2 -2
  194. package/generated-sqlite/models/TemplateBlock.ts +2 -2
  195. package/generated-sqlite/models/ThirdPartyDependency.ts +2 -2
  196. package/generated-sqlite/models/UsageRecord.ts +2 -2
  197. package/generated-sqlite/models/User.ts +520 -2
  198. package/generated-sqlite/models/UserAgent.ts +2 -2
  199. package/generated-sqlite/models/UserSkill.ts +2 -2
  200. package/generated-sqlite/models/WebsiteBookmark.ts +2 -2
  201. package/generated-sqlite/models/Workspace.ts +354 -3
  202. package/generated-sqlite/models/WorkspaceKnowledgeBase.ts +1426 -0
  203. package/generated-sqlite/models/WorkspaceQuickDoc.ts +2025 -0
  204. package/generated-sqlite/models.ts +85 -83
  205. package/migrations/20260907093612_add_workspace_pinned_to_sidebar/migration.sql +2 -0
  206. package/migrations/20260907100000_add_knowledge_pinned_to_sidebar/migration.sql +2 -0
  207. package/migrations/20260907110000_add_workspace_members/migration.sql +34 -0
  208. package/migrations/20260907120000_knowledgebase_workspace_id/migration.sql +8 -0
  209. package/migrations/20260909070745_workspace_kb_card/migration.sql +55 -0
  210. package/migrations/20260909123637_workspace_quick_doc_column_index/migration.sql +2 -0
  211. package/migrations/20260909123656_workspace_quick_doc_column_backfill/migration.sql +4 -0
  212. package/migrations/20260909144328_workspace_quick_doc_label/migration.sql +2 -0
  213. package/migrations/20260909154315_workspace_quick_doc_icon/migration.sql +2 -0
  214. package/package.json +2 -2
  215. package/schema.prisma +288 -214
  216. 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
@@ -289,6 +289,7 @@ export type KnowledgeDocumentWhereInput = {
289
289
  children?: Prisma.KnowledgeDocumentListRelationFilter
290
290
  creator?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
291
291
  linkedStories?: Prisma.StoryDocLinkListRelationFilter
292
+ workspaceQuickDocs?: Prisma.WorkspaceQuickDocListRelationFilter
292
293
  }
293
294
 
294
295
  export type KnowledgeDocumentOrderByWithRelationInput = {
@@ -312,6 +313,7 @@ export type KnowledgeDocumentOrderByWithRelationInput = {
312
313
  children?: Prisma.KnowledgeDocumentOrderByRelationAggregateInput
313
314
  creator?: Prisma.UserOrderByWithRelationInput
314
315
  linkedStories?: Prisma.StoryDocLinkOrderByRelationAggregateInput
316
+ workspaceQuickDocs?: Prisma.WorkspaceQuickDocOrderByRelationAggregateInput
315
317
  }
316
318
 
317
319
  export type KnowledgeDocumentWhereUniqueInput = Prisma.AtLeast<{
@@ -338,6 +340,7 @@ export type KnowledgeDocumentWhereUniqueInput = Prisma.AtLeast<{
338
340
  children?: Prisma.KnowledgeDocumentListRelationFilter
339
341
  creator?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
340
342
  linkedStories?: Prisma.StoryDocLinkListRelationFilter
343
+ workspaceQuickDocs?: Prisma.WorkspaceQuickDocListRelationFilter
341
344
  }, "id">
342
345
 
343
346
  export type KnowledgeDocumentOrderByWithAggregationInput = {
@@ -402,6 +405,7 @@ export type KnowledgeDocumentCreateInput = {
402
405
  children?: Prisma.KnowledgeDocumentCreateNestedManyWithoutParentInput
403
406
  creator: Prisma.UserCreateNestedOneWithoutKnowledgeDocumentsInput
404
407
  linkedStories?: Prisma.StoryDocLinkCreateNestedManyWithoutDocInput
408
+ workspaceQuickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutDocInput
405
409
  }
406
410
 
407
411
  export type KnowledgeDocumentUncheckedCreateInput = {
@@ -422,6 +426,7 @@ export type KnowledgeDocumentUncheckedCreateInput = {
422
426
  updatedAt?: Date | string
423
427
  children?: Prisma.KnowledgeDocumentUncheckedCreateNestedManyWithoutParentInput
424
428
  linkedStories?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutDocInput
429
+ workspaceQuickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutDocInput
425
430
  }
426
431
 
427
432
  export type KnowledgeDocumentUpdateInput = {
@@ -442,6 +447,7 @@ export type KnowledgeDocumentUpdateInput = {
442
447
  children?: Prisma.KnowledgeDocumentUpdateManyWithoutParentNestedInput
443
448
  creator?: Prisma.UserUpdateOneRequiredWithoutKnowledgeDocumentsNestedInput
444
449
  linkedStories?: Prisma.StoryDocLinkUpdateManyWithoutDocNestedInput
450
+ workspaceQuickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutDocNestedInput
445
451
  }
446
452
 
447
453
  export type KnowledgeDocumentUncheckedUpdateInput = {
@@ -462,6 +468,7 @@ export type KnowledgeDocumentUncheckedUpdateInput = {
462
468
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
463
469
  children?: Prisma.KnowledgeDocumentUncheckedUpdateManyWithoutParentNestedInput
464
470
  linkedStories?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutDocNestedInput
471
+ workspaceQuickDocs?: Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutDocNestedInput
465
472
  }
466
473
 
467
474
  export type KnowledgeDocumentCreateManyInput = {
@@ -733,6 +740,22 @@ export type KnowledgeDocumentUncheckedUpdateManyWithoutParentNestedInput = {
733
740
  deleteMany?: Prisma.KnowledgeDocumentScalarWhereInput | Prisma.KnowledgeDocumentScalarWhereInput[]
734
741
  }
735
742
 
743
+ export type KnowledgeDocumentCreateNestedOneWithoutWorkspaceQuickDocsInput = {
744
+ create?: Prisma.XOR<Prisma.KnowledgeDocumentCreateWithoutWorkspaceQuickDocsInput, Prisma.KnowledgeDocumentUncheckedCreateWithoutWorkspaceQuickDocsInput>
745
+ connectOrCreate?: Prisma.KnowledgeDocumentCreateOrConnectWithoutWorkspaceQuickDocsInput
746
+ connect?: Prisma.KnowledgeDocumentWhereUniqueInput
747
+ }
748
+
749
+ export type KnowledgeDocumentUpdateOneWithoutWorkspaceQuickDocsNestedInput = {
750
+ create?: Prisma.XOR<Prisma.KnowledgeDocumentCreateWithoutWorkspaceQuickDocsInput, Prisma.KnowledgeDocumentUncheckedCreateWithoutWorkspaceQuickDocsInput>
751
+ connectOrCreate?: Prisma.KnowledgeDocumentCreateOrConnectWithoutWorkspaceQuickDocsInput
752
+ upsert?: Prisma.KnowledgeDocumentUpsertWithoutWorkspaceQuickDocsInput
753
+ disconnect?: Prisma.KnowledgeDocumentWhereInput | boolean
754
+ delete?: Prisma.KnowledgeDocumentWhereInput | boolean
755
+ connect?: Prisma.KnowledgeDocumentWhereUniqueInput
756
+ update?: Prisma.XOR<Prisma.XOR<Prisma.KnowledgeDocumentUpdateToOneWithWhereWithoutWorkspaceQuickDocsInput, Prisma.KnowledgeDocumentUpdateWithoutWorkspaceQuickDocsInput>, Prisma.KnowledgeDocumentUncheckedUpdateWithoutWorkspaceQuickDocsInput>
757
+ }
758
+
736
759
  export type KnowledgeDocumentCreateNestedOneWithoutLinkedStoriesInput = {
737
760
  create?: Prisma.XOR<Prisma.KnowledgeDocumentCreateWithoutLinkedStoriesInput, Prisma.KnowledgeDocumentUncheckedCreateWithoutLinkedStoriesInput>
738
761
  connectOrCreate?: Prisma.KnowledgeDocumentCreateOrConnectWithoutLinkedStoriesInput
@@ -764,6 +787,7 @@ export type KnowledgeDocumentCreateWithoutCreatorInput = {
764
787
  parent?: Prisma.KnowledgeDocumentCreateNestedOneWithoutChildrenInput
765
788
  children?: Prisma.KnowledgeDocumentCreateNestedManyWithoutParentInput
766
789
  linkedStories?: Prisma.StoryDocLinkCreateNestedManyWithoutDocInput
790
+ workspaceQuickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutDocInput
767
791
  }
768
792
 
769
793
  export type KnowledgeDocumentUncheckedCreateWithoutCreatorInput = {
@@ -783,6 +807,7 @@ export type KnowledgeDocumentUncheckedCreateWithoutCreatorInput = {
783
807
  updatedAt?: Date | string
784
808
  children?: Prisma.KnowledgeDocumentUncheckedCreateNestedManyWithoutParentInput
785
809
  linkedStories?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutDocInput
810
+ workspaceQuickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutDocInput
786
811
  }
787
812
 
788
813
  export type KnowledgeDocumentCreateOrConnectWithoutCreatorInput = {
@@ -849,6 +874,7 @@ export type KnowledgeDocumentCreateWithoutKbInput = {
849
874
  children?: Prisma.KnowledgeDocumentCreateNestedManyWithoutParentInput
850
875
  creator: Prisma.UserCreateNestedOneWithoutKnowledgeDocumentsInput
851
876
  linkedStories?: Prisma.StoryDocLinkCreateNestedManyWithoutDocInput
877
+ workspaceQuickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutDocInput
852
878
  }
853
879
 
854
880
  export type KnowledgeDocumentUncheckedCreateWithoutKbInput = {
@@ -868,6 +894,7 @@ export type KnowledgeDocumentUncheckedCreateWithoutKbInput = {
868
894
  updatedAt?: Date | string
869
895
  children?: Prisma.KnowledgeDocumentUncheckedCreateNestedManyWithoutParentInput
870
896
  linkedStories?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutDocInput
897
+ workspaceQuickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutDocInput
871
898
  }
872
899
 
873
900
  export type KnowledgeDocumentCreateOrConnectWithoutKbInput = {
@@ -913,6 +940,7 @@ export type KnowledgeDocumentCreateWithoutChildrenInput = {
913
940
  parent?: Prisma.KnowledgeDocumentCreateNestedOneWithoutChildrenInput
914
941
  creator: Prisma.UserCreateNestedOneWithoutKnowledgeDocumentsInput
915
942
  linkedStories?: Prisma.StoryDocLinkCreateNestedManyWithoutDocInput
943
+ workspaceQuickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutDocInput
916
944
  }
917
945
 
918
946
  export type KnowledgeDocumentUncheckedCreateWithoutChildrenInput = {
@@ -932,6 +960,7 @@ export type KnowledgeDocumentUncheckedCreateWithoutChildrenInput = {
932
960
  createdAt?: Date | string
933
961
  updatedAt?: Date | string
934
962
  linkedStories?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutDocInput
963
+ workspaceQuickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutDocInput
935
964
  }
936
965
 
937
966
  export type KnowledgeDocumentCreateOrConnectWithoutChildrenInput = {
@@ -956,6 +985,7 @@ export type KnowledgeDocumentCreateWithoutParentInput = {
956
985
  children?: Prisma.KnowledgeDocumentCreateNestedManyWithoutParentInput
957
986
  creator: Prisma.UserCreateNestedOneWithoutKnowledgeDocumentsInput
958
987
  linkedStories?: Prisma.StoryDocLinkCreateNestedManyWithoutDocInput
988
+ workspaceQuickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutDocInput
959
989
  }
960
990
 
961
991
  export type KnowledgeDocumentUncheckedCreateWithoutParentInput = {
@@ -975,6 +1005,7 @@ export type KnowledgeDocumentUncheckedCreateWithoutParentInput = {
975
1005
  updatedAt?: Date | string
976
1006
  children?: Prisma.KnowledgeDocumentUncheckedCreateNestedManyWithoutParentInput
977
1007
  linkedStories?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutDocInput
1008
+ workspaceQuickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutDocInput
978
1009
  }
979
1010
 
980
1011
  export type KnowledgeDocumentCreateOrConnectWithoutParentInput = {
@@ -1015,6 +1046,7 @@ export type KnowledgeDocumentUpdateWithoutChildrenInput = {
1015
1046
  parent?: Prisma.KnowledgeDocumentUpdateOneWithoutChildrenNestedInput
1016
1047
  creator?: Prisma.UserUpdateOneRequiredWithoutKnowledgeDocumentsNestedInput
1017
1048
  linkedStories?: Prisma.StoryDocLinkUpdateManyWithoutDocNestedInput
1049
+ workspaceQuickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutDocNestedInput
1018
1050
  }
1019
1051
 
1020
1052
  export type KnowledgeDocumentUncheckedUpdateWithoutChildrenInput = {
@@ -1034,6 +1066,7 @@ export type KnowledgeDocumentUncheckedUpdateWithoutChildrenInput = {
1034
1066
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1035
1067
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1036
1068
  linkedStories?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutDocNestedInput
1069
+ workspaceQuickDocs?: Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutDocNestedInput
1037
1070
  }
1038
1071
 
1039
1072
  export type KnowledgeDocumentUpsertWithWhereUniqueWithoutParentInput = {
@@ -1052,6 +1085,102 @@ export type KnowledgeDocumentUpdateManyWithWhereWithoutParentInput = {
1052
1085
  data: Prisma.XOR<Prisma.KnowledgeDocumentUpdateManyMutationInput, Prisma.KnowledgeDocumentUncheckedUpdateManyWithoutParentInput>
1053
1086
  }
1054
1087
 
1088
+ export type KnowledgeDocumentCreateWithoutWorkspaceQuickDocsInput = {
1089
+ id?: string
1090
+ title: string
1091
+ type?: string
1092
+ content?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1093
+ icon?: string | null
1094
+ isHomepage?: boolean
1095
+ sortOrder?: number
1096
+ isDeleted?: boolean
1097
+ tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1098
+ properties?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1099
+ createdAt?: Date | string
1100
+ updatedAt?: Date | string
1101
+ kb: Prisma.KnowledgeBaseCreateNestedOneWithoutDocumentsInput
1102
+ parent?: Prisma.KnowledgeDocumentCreateNestedOneWithoutChildrenInput
1103
+ children?: Prisma.KnowledgeDocumentCreateNestedManyWithoutParentInput
1104
+ creator: Prisma.UserCreateNestedOneWithoutKnowledgeDocumentsInput
1105
+ linkedStories?: Prisma.StoryDocLinkCreateNestedManyWithoutDocInput
1106
+ }
1107
+
1108
+ export type KnowledgeDocumentUncheckedCreateWithoutWorkspaceQuickDocsInput = {
1109
+ id?: string
1110
+ kbId: string
1111
+ parentId?: string | null
1112
+ title: string
1113
+ type?: string
1114
+ content?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1115
+ icon?: string | null
1116
+ isHomepage?: boolean
1117
+ sortOrder?: number
1118
+ isDeleted?: boolean
1119
+ createdBy: string
1120
+ tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1121
+ properties?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1122
+ createdAt?: Date | string
1123
+ updatedAt?: Date | string
1124
+ children?: Prisma.KnowledgeDocumentUncheckedCreateNestedManyWithoutParentInput
1125
+ linkedStories?: Prisma.StoryDocLinkUncheckedCreateNestedManyWithoutDocInput
1126
+ }
1127
+
1128
+ export type KnowledgeDocumentCreateOrConnectWithoutWorkspaceQuickDocsInput = {
1129
+ where: Prisma.KnowledgeDocumentWhereUniqueInput
1130
+ create: Prisma.XOR<Prisma.KnowledgeDocumentCreateWithoutWorkspaceQuickDocsInput, Prisma.KnowledgeDocumentUncheckedCreateWithoutWorkspaceQuickDocsInput>
1131
+ }
1132
+
1133
+ export type KnowledgeDocumentUpsertWithoutWorkspaceQuickDocsInput = {
1134
+ update: Prisma.XOR<Prisma.KnowledgeDocumentUpdateWithoutWorkspaceQuickDocsInput, Prisma.KnowledgeDocumentUncheckedUpdateWithoutWorkspaceQuickDocsInput>
1135
+ create: Prisma.XOR<Prisma.KnowledgeDocumentCreateWithoutWorkspaceQuickDocsInput, Prisma.KnowledgeDocumentUncheckedCreateWithoutWorkspaceQuickDocsInput>
1136
+ where?: Prisma.KnowledgeDocumentWhereInput
1137
+ }
1138
+
1139
+ export type KnowledgeDocumentUpdateToOneWithWhereWithoutWorkspaceQuickDocsInput = {
1140
+ where?: Prisma.KnowledgeDocumentWhereInput
1141
+ data: Prisma.XOR<Prisma.KnowledgeDocumentUpdateWithoutWorkspaceQuickDocsInput, Prisma.KnowledgeDocumentUncheckedUpdateWithoutWorkspaceQuickDocsInput>
1142
+ }
1143
+
1144
+ export type KnowledgeDocumentUpdateWithoutWorkspaceQuickDocsInput = {
1145
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1146
+ title?: Prisma.StringFieldUpdateOperationsInput | string
1147
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1148
+ content?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1149
+ icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1150
+ isHomepage?: Prisma.BoolFieldUpdateOperationsInput | boolean
1151
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
1152
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1153
+ tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1154
+ properties?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1155
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1156
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1157
+ kb?: Prisma.KnowledgeBaseUpdateOneRequiredWithoutDocumentsNestedInput
1158
+ parent?: Prisma.KnowledgeDocumentUpdateOneWithoutChildrenNestedInput
1159
+ children?: Prisma.KnowledgeDocumentUpdateManyWithoutParentNestedInput
1160
+ creator?: Prisma.UserUpdateOneRequiredWithoutKnowledgeDocumentsNestedInput
1161
+ linkedStories?: Prisma.StoryDocLinkUpdateManyWithoutDocNestedInput
1162
+ }
1163
+
1164
+ export type KnowledgeDocumentUncheckedUpdateWithoutWorkspaceQuickDocsInput = {
1165
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1166
+ kbId?: Prisma.StringFieldUpdateOperationsInput | string
1167
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1168
+ title?: Prisma.StringFieldUpdateOperationsInput | string
1169
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1170
+ content?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1171
+ icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1172
+ isHomepage?: Prisma.BoolFieldUpdateOperationsInput | boolean
1173
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
1174
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1175
+ createdBy?: Prisma.StringFieldUpdateOperationsInput | string
1176
+ tags?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1177
+ properties?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1178
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1179
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1180
+ children?: Prisma.KnowledgeDocumentUncheckedUpdateManyWithoutParentNestedInput
1181
+ linkedStories?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutDocNestedInput
1182
+ }
1183
+
1055
1184
  export type KnowledgeDocumentCreateWithoutLinkedStoriesInput = {
1056
1185
  id?: string
1057
1186
  title: string
@@ -1069,6 +1198,7 @@ export type KnowledgeDocumentCreateWithoutLinkedStoriesInput = {
1069
1198
  parent?: Prisma.KnowledgeDocumentCreateNestedOneWithoutChildrenInput
1070
1199
  children?: Prisma.KnowledgeDocumentCreateNestedManyWithoutParentInput
1071
1200
  creator: Prisma.UserCreateNestedOneWithoutKnowledgeDocumentsInput
1201
+ workspaceQuickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutDocInput
1072
1202
  }
1073
1203
 
1074
1204
  export type KnowledgeDocumentUncheckedCreateWithoutLinkedStoriesInput = {
@@ -1088,6 +1218,7 @@ export type KnowledgeDocumentUncheckedCreateWithoutLinkedStoriesInput = {
1088
1218
  createdAt?: Date | string
1089
1219
  updatedAt?: Date | string
1090
1220
  children?: Prisma.KnowledgeDocumentUncheckedCreateNestedManyWithoutParentInput
1221
+ workspaceQuickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutDocInput
1091
1222
  }
1092
1223
 
1093
1224
  export type KnowledgeDocumentCreateOrConnectWithoutLinkedStoriesInput = {
@@ -1123,6 +1254,7 @@ export type KnowledgeDocumentUpdateWithoutLinkedStoriesInput = {
1123
1254
  parent?: Prisma.KnowledgeDocumentUpdateOneWithoutChildrenNestedInput
1124
1255
  children?: Prisma.KnowledgeDocumentUpdateManyWithoutParentNestedInput
1125
1256
  creator?: Prisma.UserUpdateOneRequiredWithoutKnowledgeDocumentsNestedInput
1257
+ workspaceQuickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutDocNestedInput
1126
1258
  }
1127
1259
 
1128
1260
  export type KnowledgeDocumentUncheckedUpdateWithoutLinkedStoriesInput = {
@@ -1142,6 +1274,7 @@ export type KnowledgeDocumentUncheckedUpdateWithoutLinkedStoriesInput = {
1142
1274
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1143
1275
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1144
1276
  children?: Prisma.KnowledgeDocumentUncheckedUpdateManyWithoutParentNestedInput
1277
+ workspaceQuickDocs?: Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutDocNestedInput
1145
1278
  }
1146
1279
 
1147
1280
  export type KnowledgeDocumentCreateManyCreatorInput = {
@@ -1178,6 +1311,7 @@ export type KnowledgeDocumentUpdateWithoutCreatorInput = {
1178
1311
  parent?: Prisma.KnowledgeDocumentUpdateOneWithoutChildrenNestedInput
1179
1312
  children?: Prisma.KnowledgeDocumentUpdateManyWithoutParentNestedInput
1180
1313
  linkedStories?: Prisma.StoryDocLinkUpdateManyWithoutDocNestedInput
1314
+ workspaceQuickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutDocNestedInput
1181
1315
  }
1182
1316
 
1183
1317
  export type KnowledgeDocumentUncheckedUpdateWithoutCreatorInput = {
@@ -1197,6 +1331,7 @@ export type KnowledgeDocumentUncheckedUpdateWithoutCreatorInput = {
1197
1331
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1198
1332
  children?: Prisma.KnowledgeDocumentUncheckedUpdateManyWithoutParentNestedInput
1199
1333
  linkedStories?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutDocNestedInput
1334
+ workspaceQuickDocs?: Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutDocNestedInput
1200
1335
  }
1201
1336
 
1202
1337
  export type KnowledgeDocumentUncheckedUpdateManyWithoutCreatorInput = {
@@ -1250,6 +1385,7 @@ export type KnowledgeDocumentUpdateWithoutKbInput = {
1250
1385
  children?: Prisma.KnowledgeDocumentUpdateManyWithoutParentNestedInput
1251
1386
  creator?: Prisma.UserUpdateOneRequiredWithoutKnowledgeDocumentsNestedInput
1252
1387
  linkedStories?: Prisma.StoryDocLinkUpdateManyWithoutDocNestedInput
1388
+ workspaceQuickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutDocNestedInput
1253
1389
  }
1254
1390
 
1255
1391
  export type KnowledgeDocumentUncheckedUpdateWithoutKbInput = {
@@ -1269,6 +1405,7 @@ export type KnowledgeDocumentUncheckedUpdateWithoutKbInput = {
1269
1405
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1270
1406
  children?: Prisma.KnowledgeDocumentUncheckedUpdateManyWithoutParentNestedInput
1271
1407
  linkedStories?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutDocNestedInput
1408
+ workspaceQuickDocs?: Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutDocNestedInput
1272
1409
  }
1273
1410
 
1274
1411
  export type KnowledgeDocumentUncheckedUpdateManyWithoutKbInput = {
@@ -1322,6 +1459,7 @@ export type KnowledgeDocumentUpdateWithoutParentInput = {
1322
1459
  children?: Prisma.KnowledgeDocumentUpdateManyWithoutParentNestedInput
1323
1460
  creator?: Prisma.UserUpdateOneRequiredWithoutKnowledgeDocumentsNestedInput
1324
1461
  linkedStories?: Prisma.StoryDocLinkUpdateManyWithoutDocNestedInput
1462
+ workspaceQuickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutDocNestedInput
1325
1463
  }
1326
1464
 
1327
1465
  export type KnowledgeDocumentUncheckedUpdateWithoutParentInput = {
@@ -1341,6 +1479,7 @@ export type KnowledgeDocumentUncheckedUpdateWithoutParentInput = {
1341
1479
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1342
1480
  children?: Prisma.KnowledgeDocumentUncheckedUpdateManyWithoutParentNestedInput
1343
1481
  linkedStories?: Prisma.StoryDocLinkUncheckedUpdateManyWithoutDocNestedInput
1482
+ workspaceQuickDocs?: Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutDocNestedInput
1344
1483
  }
1345
1484
 
1346
1485
  export type KnowledgeDocumentUncheckedUpdateManyWithoutParentInput = {
@@ -1368,11 +1507,13 @@ export type KnowledgeDocumentUncheckedUpdateManyWithoutParentInput = {
1368
1507
  export type KnowledgeDocumentCountOutputType = {
1369
1508
  children: number
1370
1509
  linkedStories: number
1510
+ workspaceQuickDocs: number
1371
1511
  }
1372
1512
 
1373
1513
  export type KnowledgeDocumentCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1374
1514
  children?: boolean | KnowledgeDocumentCountOutputTypeCountChildrenArgs
1375
1515
  linkedStories?: boolean | KnowledgeDocumentCountOutputTypeCountLinkedStoriesArgs
1516
+ workspaceQuickDocs?: boolean | KnowledgeDocumentCountOutputTypeCountWorkspaceQuickDocsArgs
1376
1517
  }
1377
1518
 
1378
1519
  /**
@@ -1399,6 +1540,13 @@ export type KnowledgeDocumentCountOutputTypeCountLinkedStoriesArgs<ExtArgs exten
1399
1540
  where?: Prisma.StoryDocLinkWhereInput
1400
1541
  }
1401
1542
 
1543
+ /**
1544
+ * KnowledgeDocumentCountOutputType without action
1545
+ */
1546
+ export type KnowledgeDocumentCountOutputTypeCountWorkspaceQuickDocsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1547
+ where?: Prisma.WorkspaceQuickDocWhereInput
1548
+ }
1549
+
1402
1550
 
1403
1551
  export type KnowledgeDocumentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1404
1552
  id?: boolean
@@ -1421,6 +1569,7 @@ export type KnowledgeDocumentSelect<ExtArgs extends runtime.Types.Extensions.Int
1421
1569
  children?: boolean | Prisma.KnowledgeDocument$childrenArgs<ExtArgs>
1422
1570
  creator?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1423
1571
  linkedStories?: boolean | Prisma.KnowledgeDocument$linkedStoriesArgs<ExtArgs>
1572
+ workspaceQuickDocs?: boolean | Prisma.KnowledgeDocument$workspaceQuickDocsArgs<ExtArgs>
1424
1573
  _count?: boolean | Prisma.KnowledgeDocumentCountOutputTypeDefaultArgs<ExtArgs>
1425
1574
  }, ExtArgs["result"]["knowledgeDocument"]>
1426
1575
 
@@ -1491,6 +1640,7 @@ export type KnowledgeDocumentInclude<ExtArgs extends runtime.Types.Extensions.In
1491
1640
  children?: boolean | Prisma.KnowledgeDocument$childrenArgs<ExtArgs>
1492
1641
  creator?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1493
1642
  linkedStories?: boolean | Prisma.KnowledgeDocument$linkedStoriesArgs<ExtArgs>
1643
+ workspaceQuickDocs?: boolean | Prisma.KnowledgeDocument$workspaceQuickDocsArgs<ExtArgs>
1494
1644
  _count?: boolean | Prisma.KnowledgeDocumentCountOutputTypeDefaultArgs<ExtArgs>
1495
1645
  }
1496
1646
  export type KnowledgeDocumentIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -1512,6 +1662,7 @@ export type $KnowledgeDocumentPayload<ExtArgs extends runtime.Types.Extensions.I
1512
1662
  children: Prisma.$KnowledgeDocumentPayload<ExtArgs>[]
1513
1663
  creator: Prisma.$UserPayload<ExtArgs>
1514
1664
  linkedStories: Prisma.$StoryDocLinkPayload<ExtArgs>[]
1665
+ workspaceQuickDocs: Prisma.$WorkspaceQuickDocPayload<ExtArgs>[]
1515
1666
  }
1516
1667
  scalars: runtime.Types.Extensions.GetPayloadResult<{
1517
1668
  id: string
@@ -1928,6 +2079,7 @@ export interface Prisma__KnowledgeDocumentClient<T, Null = never, ExtArgs extend
1928
2079
  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>
1929
2080
  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>
1930
2081
  linkedStories<T extends Prisma.KnowledgeDocument$linkedStoriesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.KnowledgeDocument$linkedStoriesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StoryDocLinkPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2082
+ 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>
1931
2083
  /**
1932
2084
  * Attaches callbacks for the resolution and/or rejection of the Promise.
1933
2085
  * @param onfulfilled The callback to execute when the Promise is resolved.
@@ -2439,6 +2591,30 @@ export type KnowledgeDocument$linkedStoriesArgs<ExtArgs extends runtime.Types.Ex
2439
2591
  distinct?: Prisma.StoryDocLinkScalarFieldEnum | Prisma.StoryDocLinkScalarFieldEnum[]
2440
2592
  }
2441
2593
 
2594
+ /**
2595
+ * KnowledgeDocument.workspaceQuickDocs
2596
+ */
2597
+ export type KnowledgeDocument$workspaceQuickDocsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2598
+ /**
2599
+ * Select specific fields to fetch from the WorkspaceQuickDoc
2600
+ */
2601
+ select?: Prisma.WorkspaceQuickDocSelect<ExtArgs> | null
2602
+ /**
2603
+ * Omit specific fields from the WorkspaceQuickDoc
2604
+ */
2605
+ omit?: Prisma.WorkspaceQuickDocOmit<ExtArgs> | null
2606
+ /**
2607
+ * Choose, which related nodes to fetch as well
2608
+ */
2609
+ include?: Prisma.WorkspaceQuickDocInclude<ExtArgs> | null
2610
+ where?: Prisma.WorkspaceQuickDocWhereInput
2611
+ orderBy?: Prisma.WorkspaceQuickDocOrderByWithRelationInput | Prisma.WorkspaceQuickDocOrderByWithRelationInput[]
2612
+ cursor?: Prisma.WorkspaceQuickDocWhereUniqueInput
2613
+ take?: number
2614
+ skip?: number
2615
+ distinct?: Prisma.WorkspaceQuickDocScalarFieldEnum | Prisma.WorkspaceQuickDocScalarFieldEnum[]
2616
+ }
2617
+
2442
2618
  /**
2443
2619
  * KnowledgeDocument without action
2444
2620
  */
@@ -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 Label
@@ -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 MonitoringErrorReport
@@ -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 MonitoringHealthSnapshot
@@ -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 MonitoringMetricsSnapshot
@@ -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 MonitoringRequestLog
@@ -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 Notification
@@ -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 NotificationPreference
@@ -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