@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
@@ -0,0 +1,2030 @@
1
+
2
+ /* !!! This is code generated by Prisma. Do not edit directly. !!! */
3
+ /* eslint-disable */
4
+ // biome-ignore-all lint: generated file
5
+ // @ts-nocheck
6
+ /*
7
+ * This file exports the `WorkspaceQuickDoc` model and its related types.
8
+ *
9
+ * 🟢 You can import this file directly.
10
+ */
11
+ import type * as runtime from "@prisma/client/runtime/client"
12
+ import type * as $Enums from "../enums.ts"
13
+ import type * as Prisma from "../internal/prismaNamespace.ts"
14
+
15
+ /**
16
+ * Model WorkspaceQuickDoc
17
+ *
18
+ */
19
+ export type WorkspaceQuickDocModel = runtime.Types.Result.DefaultSelection<Prisma.$WorkspaceQuickDocPayload>
20
+
21
+ export type AggregateWorkspaceQuickDoc = {
22
+ _count: WorkspaceQuickDocCountAggregateOutputType | null
23
+ _avg: WorkspaceQuickDocAvgAggregateOutputType | null
24
+ _sum: WorkspaceQuickDocSumAggregateOutputType | null
25
+ _min: WorkspaceQuickDocMinAggregateOutputType | null
26
+ _max: WorkspaceQuickDocMaxAggregateOutputType | null
27
+ }
28
+
29
+ export type WorkspaceQuickDocAvgAggregateOutputType = {
30
+ columnIndex: number | null
31
+ sortOrder: number | null
32
+ }
33
+
34
+ export type WorkspaceQuickDocSumAggregateOutputType = {
35
+ columnIndex: number | null
36
+ sortOrder: number | null
37
+ }
38
+
39
+ export type WorkspaceQuickDocMinAggregateOutputType = {
40
+ id: string | null
41
+ workspaceId: string | null
42
+ docId: string | null
43
+ externalGroup: string | null
44
+ externalId: string | null
45
+ displayTitle: string | null
46
+ columnIndex: number | null
47
+ sortOrder: number | null
48
+ label: string | null
49
+ icon: string | null
50
+ createdBy: string | null
51
+ createdAt: Date | null
52
+ updatedAt: Date | null
53
+ }
54
+
55
+ export type WorkspaceQuickDocMaxAggregateOutputType = {
56
+ id: string | null
57
+ workspaceId: string | null
58
+ docId: string | null
59
+ externalGroup: string | null
60
+ externalId: string | null
61
+ displayTitle: string | null
62
+ columnIndex: number | null
63
+ sortOrder: number | null
64
+ label: string | null
65
+ icon: string | null
66
+ createdBy: string | null
67
+ createdAt: Date | null
68
+ updatedAt: Date | null
69
+ }
70
+
71
+ export type WorkspaceQuickDocCountAggregateOutputType = {
72
+ id: number
73
+ workspaceId: number
74
+ docId: number
75
+ externalGroup: number
76
+ externalId: number
77
+ displayTitle: number
78
+ columnIndex: number
79
+ sortOrder: number
80
+ label: number
81
+ icon: number
82
+ createdBy: number
83
+ createdAt: number
84
+ updatedAt: number
85
+ _all: number
86
+ }
87
+
88
+
89
+ export type WorkspaceQuickDocAvgAggregateInputType = {
90
+ columnIndex?: true
91
+ sortOrder?: true
92
+ }
93
+
94
+ export type WorkspaceQuickDocSumAggregateInputType = {
95
+ columnIndex?: true
96
+ sortOrder?: true
97
+ }
98
+
99
+ export type WorkspaceQuickDocMinAggregateInputType = {
100
+ id?: true
101
+ workspaceId?: true
102
+ docId?: true
103
+ externalGroup?: true
104
+ externalId?: true
105
+ displayTitle?: true
106
+ columnIndex?: true
107
+ sortOrder?: true
108
+ label?: true
109
+ icon?: true
110
+ createdBy?: true
111
+ createdAt?: true
112
+ updatedAt?: true
113
+ }
114
+
115
+ export type WorkspaceQuickDocMaxAggregateInputType = {
116
+ id?: true
117
+ workspaceId?: true
118
+ docId?: true
119
+ externalGroup?: true
120
+ externalId?: true
121
+ displayTitle?: true
122
+ columnIndex?: true
123
+ sortOrder?: true
124
+ label?: true
125
+ icon?: true
126
+ createdBy?: true
127
+ createdAt?: true
128
+ updatedAt?: true
129
+ }
130
+
131
+ export type WorkspaceQuickDocCountAggregateInputType = {
132
+ id?: true
133
+ workspaceId?: true
134
+ docId?: true
135
+ externalGroup?: true
136
+ externalId?: true
137
+ displayTitle?: true
138
+ columnIndex?: true
139
+ sortOrder?: true
140
+ label?: true
141
+ icon?: true
142
+ createdBy?: true
143
+ createdAt?: true
144
+ updatedAt?: true
145
+ _all?: true
146
+ }
147
+
148
+ export type WorkspaceQuickDocAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
149
+ /**
150
+ * Filter which WorkspaceQuickDoc to aggregate.
151
+ */
152
+ where?: Prisma.WorkspaceQuickDocWhereInput
153
+ /**
154
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
155
+ *
156
+ * Determine the order of WorkspaceQuickDocs to fetch.
157
+ */
158
+ orderBy?: Prisma.WorkspaceQuickDocOrderByWithRelationInput | Prisma.WorkspaceQuickDocOrderByWithRelationInput[]
159
+ /**
160
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
161
+ *
162
+ * Sets the start position
163
+ */
164
+ cursor?: Prisma.WorkspaceQuickDocWhereUniqueInput
165
+ /**
166
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
167
+ *
168
+ * Take `±n` WorkspaceQuickDocs from the position of the cursor.
169
+ */
170
+ take?: number
171
+ /**
172
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
173
+ *
174
+ * Skip the first `n` WorkspaceQuickDocs.
175
+ */
176
+ skip?: number
177
+ /**
178
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
179
+ *
180
+ * Count returned WorkspaceQuickDocs
181
+ **/
182
+ _count?: true | WorkspaceQuickDocCountAggregateInputType
183
+ /**
184
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
185
+ *
186
+ * Select which fields to average
187
+ **/
188
+ _avg?: WorkspaceQuickDocAvgAggregateInputType
189
+ /**
190
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
191
+ *
192
+ * Select which fields to sum
193
+ **/
194
+ _sum?: WorkspaceQuickDocSumAggregateInputType
195
+ /**
196
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
197
+ *
198
+ * Select which fields to find the minimum value
199
+ **/
200
+ _min?: WorkspaceQuickDocMinAggregateInputType
201
+ /**
202
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
203
+ *
204
+ * Select which fields to find the maximum value
205
+ **/
206
+ _max?: WorkspaceQuickDocMaxAggregateInputType
207
+ }
208
+
209
+ export type GetWorkspaceQuickDocAggregateType<T extends WorkspaceQuickDocAggregateArgs> = {
210
+ [P in keyof T & keyof AggregateWorkspaceQuickDoc]: P extends '_count' | 'count'
211
+ ? T[P] extends true
212
+ ? number
213
+ : Prisma.GetScalarType<T[P], AggregateWorkspaceQuickDoc[P]>
214
+ : Prisma.GetScalarType<T[P], AggregateWorkspaceQuickDoc[P]>
215
+ }
216
+
217
+
218
+
219
+
220
+ export type WorkspaceQuickDocGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
221
+ where?: Prisma.WorkspaceQuickDocWhereInput
222
+ orderBy?: Prisma.WorkspaceQuickDocOrderByWithAggregationInput | Prisma.WorkspaceQuickDocOrderByWithAggregationInput[]
223
+ by: Prisma.WorkspaceQuickDocScalarFieldEnum[] | Prisma.WorkspaceQuickDocScalarFieldEnum
224
+ having?: Prisma.WorkspaceQuickDocScalarWhereWithAggregatesInput
225
+ take?: number
226
+ skip?: number
227
+ _count?: WorkspaceQuickDocCountAggregateInputType | true
228
+ _avg?: WorkspaceQuickDocAvgAggregateInputType
229
+ _sum?: WorkspaceQuickDocSumAggregateInputType
230
+ _min?: WorkspaceQuickDocMinAggregateInputType
231
+ _max?: WorkspaceQuickDocMaxAggregateInputType
232
+ }
233
+
234
+ export type WorkspaceQuickDocGroupByOutputType = {
235
+ id: string
236
+ workspaceId: string
237
+ docId: string | null
238
+ externalGroup: string | null
239
+ externalId: string | null
240
+ displayTitle: string
241
+ columnIndex: number
242
+ sortOrder: number
243
+ label: string | null
244
+ icon: string | null
245
+ createdBy: string
246
+ createdAt: Date
247
+ updatedAt: Date
248
+ _count: WorkspaceQuickDocCountAggregateOutputType | null
249
+ _avg: WorkspaceQuickDocAvgAggregateOutputType | null
250
+ _sum: WorkspaceQuickDocSumAggregateOutputType | null
251
+ _min: WorkspaceQuickDocMinAggregateOutputType | null
252
+ _max: WorkspaceQuickDocMaxAggregateOutputType | null
253
+ }
254
+
255
+ export type GetWorkspaceQuickDocGroupByPayload<T extends WorkspaceQuickDocGroupByArgs> = Prisma.PrismaPromise<
256
+ Array<
257
+ Prisma.PickEnumerable<WorkspaceQuickDocGroupByOutputType, T['by']> &
258
+ {
259
+ [P in ((keyof T) & (keyof WorkspaceQuickDocGroupByOutputType))]: P extends '_count'
260
+ ? T[P] extends boolean
261
+ ? number
262
+ : Prisma.GetScalarType<T[P], WorkspaceQuickDocGroupByOutputType[P]>
263
+ : Prisma.GetScalarType<T[P], WorkspaceQuickDocGroupByOutputType[P]>
264
+ }
265
+ >
266
+ >
267
+
268
+
269
+
270
+ export type WorkspaceQuickDocWhereInput = {
271
+ AND?: Prisma.WorkspaceQuickDocWhereInput | Prisma.WorkspaceQuickDocWhereInput[]
272
+ OR?: Prisma.WorkspaceQuickDocWhereInput[]
273
+ NOT?: Prisma.WorkspaceQuickDocWhereInput | Prisma.WorkspaceQuickDocWhereInput[]
274
+ id?: Prisma.StringFilter<"WorkspaceQuickDoc"> | string
275
+ workspaceId?: Prisma.StringFilter<"WorkspaceQuickDoc"> | string
276
+ docId?: Prisma.StringNullableFilter<"WorkspaceQuickDoc"> | string | null
277
+ externalGroup?: Prisma.StringNullableFilter<"WorkspaceQuickDoc"> | string | null
278
+ externalId?: Prisma.StringNullableFilter<"WorkspaceQuickDoc"> | string | null
279
+ displayTitle?: Prisma.StringFilter<"WorkspaceQuickDoc"> | string
280
+ columnIndex?: Prisma.IntFilter<"WorkspaceQuickDoc"> | number
281
+ sortOrder?: Prisma.IntFilter<"WorkspaceQuickDoc"> | number
282
+ label?: Prisma.StringNullableFilter<"WorkspaceQuickDoc"> | string | null
283
+ icon?: Prisma.StringNullableFilter<"WorkspaceQuickDoc"> | string | null
284
+ createdBy?: Prisma.StringFilter<"WorkspaceQuickDoc"> | string
285
+ createdAt?: Prisma.DateTimeFilter<"WorkspaceQuickDoc"> | Date | string
286
+ updatedAt?: Prisma.DateTimeFilter<"WorkspaceQuickDoc"> | Date | string
287
+ workspace?: Prisma.XOR<Prisma.WorkspaceScalarRelationFilter, Prisma.WorkspaceWhereInput>
288
+ doc?: Prisma.XOR<Prisma.KnowledgeDocumentNullableScalarRelationFilter, Prisma.KnowledgeDocumentWhereInput> | null
289
+ creator?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
290
+ }
291
+
292
+ export type WorkspaceQuickDocOrderByWithRelationInput = {
293
+ id?: Prisma.SortOrder
294
+ workspaceId?: Prisma.SortOrder
295
+ docId?: Prisma.SortOrderInput | Prisma.SortOrder
296
+ externalGroup?: Prisma.SortOrderInput | Prisma.SortOrder
297
+ externalId?: Prisma.SortOrderInput | Prisma.SortOrder
298
+ displayTitle?: Prisma.SortOrder
299
+ columnIndex?: Prisma.SortOrder
300
+ sortOrder?: Prisma.SortOrder
301
+ label?: Prisma.SortOrderInput | Prisma.SortOrder
302
+ icon?: Prisma.SortOrderInput | Prisma.SortOrder
303
+ createdBy?: Prisma.SortOrder
304
+ createdAt?: Prisma.SortOrder
305
+ updatedAt?: Prisma.SortOrder
306
+ workspace?: Prisma.WorkspaceOrderByWithRelationInput
307
+ doc?: Prisma.KnowledgeDocumentOrderByWithRelationInput
308
+ creator?: Prisma.UserOrderByWithRelationInput
309
+ }
310
+
311
+ export type WorkspaceQuickDocWhereUniqueInput = Prisma.AtLeast<{
312
+ id?: string
313
+ AND?: Prisma.WorkspaceQuickDocWhereInput | Prisma.WorkspaceQuickDocWhereInput[]
314
+ OR?: Prisma.WorkspaceQuickDocWhereInput[]
315
+ NOT?: Prisma.WorkspaceQuickDocWhereInput | Prisma.WorkspaceQuickDocWhereInput[]
316
+ workspaceId?: Prisma.StringFilter<"WorkspaceQuickDoc"> | string
317
+ docId?: Prisma.StringNullableFilter<"WorkspaceQuickDoc"> | string | null
318
+ externalGroup?: Prisma.StringNullableFilter<"WorkspaceQuickDoc"> | string | null
319
+ externalId?: Prisma.StringNullableFilter<"WorkspaceQuickDoc"> | string | null
320
+ displayTitle?: Prisma.StringFilter<"WorkspaceQuickDoc"> | string
321
+ columnIndex?: Prisma.IntFilter<"WorkspaceQuickDoc"> | number
322
+ sortOrder?: Prisma.IntFilter<"WorkspaceQuickDoc"> | number
323
+ label?: Prisma.StringNullableFilter<"WorkspaceQuickDoc"> | string | null
324
+ icon?: Prisma.StringNullableFilter<"WorkspaceQuickDoc"> | string | null
325
+ createdBy?: Prisma.StringFilter<"WorkspaceQuickDoc"> | string
326
+ createdAt?: Prisma.DateTimeFilter<"WorkspaceQuickDoc"> | Date | string
327
+ updatedAt?: Prisma.DateTimeFilter<"WorkspaceQuickDoc"> | Date | string
328
+ workspace?: Prisma.XOR<Prisma.WorkspaceScalarRelationFilter, Prisma.WorkspaceWhereInput>
329
+ doc?: Prisma.XOR<Prisma.KnowledgeDocumentNullableScalarRelationFilter, Prisma.KnowledgeDocumentWhereInput> | null
330
+ creator?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
331
+ }, "id">
332
+
333
+ export type WorkspaceQuickDocOrderByWithAggregationInput = {
334
+ id?: Prisma.SortOrder
335
+ workspaceId?: Prisma.SortOrder
336
+ docId?: Prisma.SortOrderInput | Prisma.SortOrder
337
+ externalGroup?: Prisma.SortOrderInput | Prisma.SortOrder
338
+ externalId?: Prisma.SortOrderInput | Prisma.SortOrder
339
+ displayTitle?: Prisma.SortOrder
340
+ columnIndex?: Prisma.SortOrder
341
+ sortOrder?: Prisma.SortOrder
342
+ label?: Prisma.SortOrderInput | Prisma.SortOrder
343
+ icon?: Prisma.SortOrderInput | Prisma.SortOrder
344
+ createdBy?: Prisma.SortOrder
345
+ createdAt?: Prisma.SortOrder
346
+ updatedAt?: Prisma.SortOrder
347
+ _count?: Prisma.WorkspaceQuickDocCountOrderByAggregateInput
348
+ _avg?: Prisma.WorkspaceQuickDocAvgOrderByAggregateInput
349
+ _max?: Prisma.WorkspaceQuickDocMaxOrderByAggregateInput
350
+ _min?: Prisma.WorkspaceQuickDocMinOrderByAggregateInput
351
+ _sum?: Prisma.WorkspaceQuickDocSumOrderByAggregateInput
352
+ }
353
+
354
+ export type WorkspaceQuickDocScalarWhereWithAggregatesInput = {
355
+ AND?: Prisma.WorkspaceQuickDocScalarWhereWithAggregatesInput | Prisma.WorkspaceQuickDocScalarWhereWithAggregatesInput[]
356
+ OR?: Prisma.WorkspaceQuickDocScalarWhereWithAggregatesInput[]
357
+ NOT?: Prisma.WorkspaceQuickDocScalarWhereWithAggregatesInput | Prisma.WorkspaceQuickDocScalarWhereWithAggregatesInput[]
358
+ id?: Prisma.StringWithAggregatesFilter<"WorkspaceQuickDoc"> | string
359
+ workspaceId?: Prisma.StringWithAggregatesFilter<"WorkspaceQuickDoc"> | string
360
+ docId?: Prisma.StringNullableWithAggregatesFilter<"WorkspaceQuickDoc"> | string | null
361
+ externalGroup?: Prisma.StringNullableWithAggregatesFilter<"WorkspaceQuickDoc"> | string | null
362
+ externalId?: Prisma.StringNullableWithAggregatesFilter<"WorkspaceQuickDoc"> | string | null
363
+ displayTitle?: Prisma.StringWithAggregatesFilter<"WorkspaceQuickDoc"> | string
364
+ columnIndex?: Prisma.IntWithAggregatesFilter<"WorkspaceQuickDoc"> | number
365
+ sortOrder?: Prisma.IntWithAggregatesFilter<"WorkspaceQuickDoc"> | number
366
+ label?: Prisma.StringNullableWithAggregatesFilter<"WorkspaceQuickDoc"> | string | null
367
+ icon?: Prisma.StringNullableWithAggregatesFilter<"WorkspaceQuickDoc"> | string | null
368
+ createdBy?: Prisma.StringWithAggregatesFilter<"WorkspaceQuickDoc"> | string
369
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"WorkspaceQuickDoc"> | Date | string
370
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"WorkspaceQuickDoc"> | Date | string
371
+ }
372
+
373
+ export type WorkspaceQuickDocCreateInput = {
374
+ id?: string
375
+ externalGroup?: string | null
376
+ externalId?: string | null
377
+ displayTitle: string
378
+ columnIndex?: number
379
+ sortOrder?: number
380
+ label?: string | null
381
+ icon?: string | null
382
+ createdAt?: Date | string
383
+ updatedAt?: Date | string
384
+ workspace: Prisma.WorkspaceCreateNestedOneWithoutQuickDocsInput
385
+ doc?: Prisma.KnowledgeDocumentCreateNestedOneWithoutWorkspaceQuickDocsInput
386
+ creator: Prisma.UserCreateNestedOneWithoutCreatedQuickDocsInput
387
+ }
388
+
389
+ export type WorkspaceQuickDocUncheckedCreateInput = {
390
+ id?: string
391
+ workspaceId: string
392
+ docId?: string | null
393
+ externalGroup?: string | null
394
+ externalId?: string | null
395
+ displayTitle: string
396
+ columnIndex?: number
397
+ sortOrder?: number
398
+ label?: string | null
399
+ icon?: string | null
400
+ createdBy: string
401
+ createdAt?: Date | string
402
+ updatedAt?: Date | string
403
+ }
404
+
405
+ export type WorkspaceQuickDocUpdateInput = {
406
+ id?: Prisma.StringFieldUpdateOperationsInput | string
407
+ externalGroup?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
408
+ externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
409
+ displayTitle?: Prisma.StringFieldUpdateOperationsInput | string
410
+ columnIndex?: Prisma.IntFieldUpdateOperationsInput | number
411
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
412
+ label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
413
+ icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
414
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
415
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
416
+ workspace?: Prisma.WorkspaceUpdateOneRequiredWithoutQuickDocsNestedInput
417
+ doc?: Prisma.KnowledgeDocumentUpdateOneWithoutWorkspaceQuickDocsNestedInput
418
+ creator?: Prisma.UserUpdateOneRequiredWithoutCreatedQuickDocsNestedInput
419
+ }
420
+
421
+ export type WorkspaceQuickDocUncheckedUpdateInput = {
422
+ id?: Prisma.StringFieldUpdateOperationsInput | string
423
+ workspaceId?: Prisma.StringFieldUpdateOperationsInput | string
424
+ docId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
425
+ externalGroup?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
426
+ externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
427
+ displayTitle?: Prisma.StringFieldUpdateOperationsInput | string
428
+ columnIndex?: Prisma.IntFieldUpdateOperationsInput | number
429
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
430
+ label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
431
+ icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
432
+ createdBy?: Prisma.StringFieldUpdateOperationsInput | string
433
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
434
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
435
+ }
436
+
437
+ export type WorkspaceQuickDocCreateManyInput = {
438
+ id?: string
439
+ workspaceId: string
440
+ docId?: string | null
441
+ externalGroup?: string | null
442
+ externalId?: string | null
443
+ displayTitle: string
444
+ columnIndex?: number
445
+ sortOrder?: number
446
+ label?: string | null
447
+ icon?: string | null
448
+ createdBy: string
449
+ createdAt?: Date | string
450
+ updatedAt?: Date | string
451
+ }
452
+
453
+ export type WorkspaceQuickDocUpdateManyMutationInput = {
454
+ id?: Prisma.StringFieldUpdateOperationsInput | string
455
+ externalGroup?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
456
+ externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
457
+ displayTitle?: Prisma.StringFieldUpdateOperationsInput | string
458
+ columnIndex?: Prisma.IntFieldUpdateOperationsInput | number
459
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
460
+ label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
461
+ icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
462
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
463
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
464
+ }
465
+
466
+ export type WorkspaceQuickDocUncheckedUpdateManyInput = {
467
+ id?: Prisma.StringFieldUpdateOperationsInput | string
468
+ workspaceId?: Prisma.StringFieldUpdateOperationsInput | string
469
+ docId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
470
+ externalGroup?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
471
+ externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
472
+ displayTitle?: Prisma.StringFieldUpdateOperationsInput | string
473
+ columnIndex?: Prisma.IntFieldUpdateOperationsInput | number
474
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
475
+ label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
476
+ icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
477
+ createdBy?: Prisma.StringFieldUpdateOperationsInput | string
478
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
479
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
480
+ }
481
+
482
+ export type WorkspaceQuickDocListRelationFilter = {
483
+ every?: Prisma.WorkspaceQuickDocWhereInput
484
+ some?: Prisma.WorkspaceQuickDocWhereInput
485
+ none?: Prisma.WorkspaceQuickDocWhereInput
486
+ }
487
+
488
+ export type WorkspaceQuickDocOrderByRelationAggregateInput = {
489
+ _count?: Prisma.SortOrder
490
+ }
491
+
492
+ export type WorkspaceQuickDocCountOrderByAggregateInput = {
493
+ id?: Prisma.SortOrder
494
+ workspaceId?: Prisma.SortOrder
495
+ docId?: Prisma.SortOrder
496
+ externalGroup?: Prisma.SortOrder
497
+ externalId?: Prisma.SortOrder
498
+ displayTitle?: Prisma.SortOrder
499
+ columnIndex?: Prisma.SortOrder
500
+ sortOrder?: Prisma.SortOrder
501
+ label?: Prisma.SortOrder
502
+ icon?: Prisma.SortOrder
503
+ createdBy?: Prisma.SortOrder
504
+ createdAt?: Prisma.SortOrder
505
+ updatedAt?: Prisma.SortOrder
506
+ }
507
+
508
+ export type WorkspaceQuickDocAvgOrderByAggregateInput = {
509
+ columnIndex?: Prisma.SortOrder
510
+ sortOrder?: Prisma.SortOrder
511
+ }
512
+
513
+ export type WorkspaceQuickDocMaxOrderByAggregateInput = {
514
+ id?: Prisma.SortOrder
515
+ workspaceId?: Prisma.SortOrder
516
+ docId?: Prisma.SortOrder
517
+ externalGroup?: Prisma.SortOrder
518
+ externalId?: Prisma.SortOrder
519
+ displayTitle?: Prisma.SortOrder
520
+ columnIndex?: Prisma.SortOrder
521
+ sortOrder?: Prisma.SortOrder
522
+ label?: Prisma.SortOrder
523
+ icon?: Prisma.SortOrder
524
+ createdBy?: Prisma.SortOrder
525
+ createdAt?: Prisma.SortOrder
526
+ updatedAt?: Prisma.SortOrder
527
+ }
528
+
529
+ export type WorkspaceQuickDocMinOrderByAggregateInput = {
530
+ id?: Prisma.SortOrder
531
+ workspaceId?: Prisma.SortOrder
532
+ docId?: Prisma.SortOrder
533
+ externalGroup?: Prisma.SortOrder
534
+ externalId?: Prisma.SortOrder
535
+ displayTitle?: Prisma.SortOrder
536
+ columnIndex?: Prisma.SortOrder
537
+ sortOrder?: Prisma.SortOrder
538
+ label?: Prisma.SortOrder
539
+ icon?: Prisma.SortOrder
540
+ createdBy?: Prisma.SortOrder
541
+ createdAt?: Prisma.SortOrder
542
+ updatedAt?: Prisma.SortOrder
543
+ }
544
+
545
+ export type WorkspaceQuickDocSumOrderByAggregateInput = {
546
+ columnIndex?: Prisma.SortOrder
547
+ sortOrder?: Prisma.SortOrder
548
+ }
549
+
550
+ export type WorkspaceQuickDocCreateNestedManyWithoutCreatorInput = {
551
+ create?: Prisma.XOR<Prisma.WorkspaceQuickDocCreateWithoutCreatorInput, Prisma.WorkspaceQuickDocUncheckedCreateWithoutCreatorInput> | Prisma.WorkspaceQuickDocCreateWithoutCreatorInput[] | Prisma.WorkspaceQuickDocUncheckedCreateWithoutCreatorInput[]
552
+ connectOrCreate?: Prisma.WorkspaceQuickDocCreateOrConnectWithoutCreatorInput | Prisma.WorkspaceQuickDocCreateOrConnectWithoutCreatorInput[]
553
+ createMany?: Prisma.WorkspaceQuickDocCreateManyCreatorInputEnvelope
554
+ connect?: Prisma.WorkspaceQuickDocWhereUniqueInput | Prisma.WorkspaceQuickDocWhereUniqueInput[]
555
+ }
556
+
557
+ export type WorkspaceQuickDocUncheckedCreateNestedManyWithoutCreatorInput = {
558
+ create?: Prisma.XOR<Prisma.WorkspaceQuickDocCreateWithoutCreatorInput, Prisma.WorkspaceQuickDocUncheckedCreateWithoutCreatorInput> | Prisma.WorkspaceQuickDocCreateWithoutCreatorInput[] | Prisma.WorkspaceQuickDocUncheckedCreateWithoutCreatorInput[]
559
+ connectOrCreate?: Prisma.WorkspaceQuickDocCreateOrConnectWithoutCreatorInput | Prisma.WorkspaceQuickDocCreateOrConnectWithoutCreatorInput[]
560
+ createMany?: Prisma.WorkspaceQuickDocCreateManyCreatorInputEnvelope
561
+ connect?: Prisma.WorkspaceQuickDocWhereUniqueInput | Prisma.WorkspaceQuickDocWhereUniqueInput[]
562
+ }
563
+
564
+ export type WorkspaceQuickDocUpdateManyWithoutCreatorNestedInput = {
565
+ create?: Prisma.XOR<Prisma.WorkspaceQuickDocCreateWithoutCreatorInput, Prisma.WorkspaceQuickDocUncheckedCreateWithoutCreatorInput> | Prisma.WorkspaceQuickDocCreateWithoutCreatorInput[] | Prisma.WorkspaceQuickDocUncheckedCreateWithoutCreatorInput[]
566
+ connectOrCreate?: Prisma.WorkspaceQuickDocCreateOrConnectWithoutCreatorInput | Prisma.WorkspaceQuickDocCreateOrConnectWithoutCreatorInput[]
567
+ upsert?: Prisma.WorkspaceQuickDocUpsertWithWhereUniqueWithoutCreatorInput | Prisma.WorkspaceQuickDocUpsertWithWhereUniqueWithoutCreatorInput[]
568
+ createMany?: Prisma.WorkspaceQuickDocCreateManyCreatorInputEnvelope
569
+ set?: Prisma.WorkspaceQuickDocWhereUniqueInput | Prisma.WorkspaceQuickDocWhereUniqueInput[]
570
+ disconnect?: Prisma.WorkspaceQuickDocWhereUniqueInput | Prisma.WorkspaceQuickDocWhereUniqueInput[]
571
+ delete?: Prisma.WorkspaceQuickDocWhereUniqueInput | Prisma.WorkspaceQuickDocWhereUniqueInput[]
572
+ connect?: Prisma.WorkspaceQuickDocWhereUniqueInput | Prisma.WorkspaceQuickDocWhereUniqueInput[]
573
+ update?: Prisma.WorkspaceQuickDocUpdateWithWhereUniqueWithoutCreatorInput | Prisma.WorkspaceQuickDocUpdateWithWhereUniqueWithoutCreatorInput[]
574
+ updateMany?: Prisma.WorkspaceQuickDocUpdateManyWithWhereWithoutCreatorInput | Prisma.WorkspaceQuickDocUpdateManyWithWhereWithoutCreatorInput[]
575
+ deleteMany?: Prisma.WorkspaceQuickDocScalarWhereInput | Prisma.WorkspaceQuickDocScalarWhereInput[]
576
+ }
577
+
578
+ export type WorkspaceQuickDocUncheckedUpdateManyWithoutCreatorNestedInput = {
579
+ create?: Prisma.XOR<Prisma.WorkspaceQuickDocCreateWithoutCreatorInput, Prisma.WorkspaceQuickDocUncheckedCreateWithoutCreatorInput> | Prisma.WorkspaceQuickDocCreateWithoutCreatorInput[] | Prisma.WorkspaceQuickDocUncheckedCreateWithoutCreatorInput[]
580
+ connectOrCreate?: Prisma.WorkspaceQuickDocCreateOrConnectWithoutCreatorInput | Prisma.WorkspaceQuickDocCreateOrConnectWithoutCreatorInput[]
581
+ upsert?: Prisma.WorkspaceQuickDocUpsertWithWhereUniqueWithoutCreatorInput | Prisma.WorkspaceQuickDocUpsertWithWhereUniqueWithoutCreatorInput[]
582
+ createMany?: Prisma.WorkspaceQuickDocCreateManyCreatorInputEnvelope
583
+ set?: Prisma.WorkspaceQuickDocWhereUniqueInput | Prisma.WorkspaceQuickDocWhereUniqueInput[]
584
+ disconnect?: Prisma.WorkspaceQuickDocWhereUniqueInput | Prisma.WorkspaceQuickDocWhereUniqueInput[]
585
+ delete?: Prisma.WorkspaceQuickDocWhereUniqueInput | Prisma.WorkspaceQuickDocWhereUniqueInput[]
586
+ connect?: Prisma.WorkspaceQuickDocWhereUniqueInput | Prisma.WorkspaceQuickDocWhereUniqueInput[]
587
+ update?: Prisma.WorkspaceQuickDocUpdateWithWhereUniqueWithoutCreatorInput | Prisma.WorkspaceQuickDocUpdateWithWhereUniqueWithoutCreatorInput[]
588
+ updateMany?: Prisma.WorkspaceQuickDocUpdateManyWithWhereWithoutCreatorInput | Prisma.WorkspaceQuickDocUpdateManyWithWhereWithoutCreatorInput[]
589
+ deleteMany?: Prisma.WorkspaceQuickDocScalarWhereInput | Prisma.WorkspaceQuickDocScalarWhereInput[]
590
+ }
591
+
592
+ export type WorkspaceQuickDocCreateNestedManyWithoutWorkspaceInput = {
593
+ create?: Prisma.XOR<Prisma.WorkspaceQuickDocCreateWithoutWorkspaceInput, Prisma.WorkspaceQuickDocUncheckedCreateWithoutWorkspaceInput> | Prisma.WorkspaceQuickDocCreateWithoutWorkspaceInput[] | Prisma.WorkspaceQuickDocUncheckedCreateWithoutWorkspaceInput[]
594
+ connectOrCreate?: Prisma.WorkspaceQuickDocCreateOrConnectWithoutWorkspaceInput | Prisma.WorkspaceQuickDocCreateOrConnectWithoutWorkspaceInput[]
595
+ createMany?: Prisma.WorkspaceQuickDocCreateManyWorkspaceInputEnvelope
596
+ connect?: Prisma.WorkspaceQuickDocWhereUniqueInput | Prisma.WorkspaceQuickDocWhereUniqueInput[]
597
+ }
598
+
599
+ export type WorkspaceQuickDocUncheckedCreateNestedManyWithoutWorkspaceInput = {
600
+ create?: Prisma.XOR<Prisma.WorkspaceQuickDocCreateWithoutWorkspaceInput, Prisma.WorkspaceQuickDocUncheckedCreateWithoutWorkspaceInput> | Prisma.WorkspaceQuickDocCreateWithoutWorkspaceInput[] | Prisma.WorkspaceQuickDocUncheckedCreateWithoutWorkspaceInput[]
601
+ connectOrCreate?: Prisma.WorkspaceQuickDocCreateOrConnectWithoutWorkspaceInput | Prisma.WorkspaceQuickDocCreateOrConnectWithoutWorkspaceInput[]
602
+ createMany?: Prisma.WorkspaceQuickDocCreateManyWorkspaceInputEnvelope
603
+ connect?: Prisma.WorkspaceQuickDocWhereUniqueInput | Prisma.WorkspaceQuickDocWhereUniqueInput[]
604
+ }
605
+
606
+ export type WorkspaceQuickDocUpdateManyWithoutWorkspaceNestedInput = {
607
+ create?: Prisma.XOR<Prisma.WorkspaceQuickDocCreateWithoutWorkspaceInput, Prisma.WorkspaceQuickDocUncheckedCreateWithoutWorkspaceInput> | Prisma.WorkspaceQuickDocCreateWithoutWorkspaceInput[] | Prisma.WorkspaceQuickDocUncheckedCreateWithoutWorkspaceInput[]
608
+ connectOrCreate?: Prisma.WorkspaceQuickDocCreateOrConnectWithoutWorkspaceInput | Prisma.WorkspaceQuickDocCreateOrConnectWithoutWorkspaceInput[]
609
+ upsert?: Prisma.WorkspaceQuickDocUpsertWithWhereUniqueWithoutWorkspaceInput | Prisma.WorkspaceQuickDocUpsertWithWhereUniqueWithoutWorkspaceInput[]
610
+ createMany?: Prisma.WorkspaceQuickDocCreateManyWorkspaceInputEnvelope
611
+ set?: Prisma.WorkspaceQuickDocWhereUniqueInput | Prisma.WorkspaceQuickDocWhereUniqueInput[]
612
+ disconnect?: Prisma.WorkspaceQuickDocWhereUniqueInput | Prisma.WorkspaceQuickDocWhereUniqueInput[]
613
+ delete?: Prisma.WorkspaceQuickDocWhereUniqueInput | Prisma.WorkspaceQuickDocWhereUniqueInput[]
614
+ connect?: Prisma.WorkspaceQuickDocWhereUniqueInput | Prisma.WorkspaceQuickDocWhereUniqueInput[]
615
+ update?: Prisma.WorkspaceQuickDocUpdateWithWhereUniqueWithoutWorkspaceInput | Prisma.WorkspaceQuickDocUpdateWithWhereUniqueWithoutWorkspaceInput[]
616
+ updateMany?: Prisma.WorkspaceQuickDocUpdateManyWithWhereWithoutWorkspaceInput | Prisma.WorkspaceQuickDocUpdateManyWithWhereWithoutWorkspaceInput[]
617
+ deleteMany?: Prisma.WorkspaceQuickDocScalarWhereInput | Prisma.WorkspaceQuickDocScalarWhereInput[]
618
+ }
619
+
620
+ export type WorkspaceQuickDocUncheckedUpdateManyWithoutWorkspaceNestedInput = {
621
+ create?: Prisma.XOR<Prisma.WorkspaceQuickDocCreateWithoutWorkspaceInput, Prisma.WorkspaceQuickDocUncheckedCreateWithoutWorkspaceInput> | Prisma.WorkspaceQuickDocCreateWithoutWorkspaceInput[] | Prisma.WorkspaceQuickDocUncheckedCreateWithoutWorkspaceInput[]
622
+ connectOrCreate?: Prisma.WorkspaceQuickDocCreateOrConnectWithoutWorkspaceInput | Prisma.WorkspaceQuickDocCreateOrConnectWithoutWorkspaceInput[]
623
+ upsert?: Prisma.WorkspaceQuickDocUpsertWithWhereUniqueWithoutWorkspaceInput | Prisma.WorkspaceQuickDocUpsertWithWhereUniqueWithoutWorkspaceInput[]
624
+ createMany?: Prisma.WorkspaceQuickDocCreateManyWorkspaceInputEnvelope
625
+ set?: Prisma.WorkspaceQuickDocWhereUniqueInput | Prisma.WorkspaceQuickDocWhereUniqueInput[]
626
+ disconnect?: Prisma.WorkspaceQuickDocWhereUniqueInput | Prisma.WorkspaceQuickDocWhereUniqueInput[]
627
+ delete?: Prisma.WorkspaceQuickDocWhereUniqueInput | Prisma.WorkspaceQuickDocWhereUniqueInput[]
628
+ connect?: Prisma.WorkspaceQuickDocWhereUniqueInput | Prisma.WorkspaceQuickDocWhereUniqueInput[]
629
+ update?: Prisma.WorkspaceQuickDocUpdateWithWhereUniqueWithoutWorkspaceInput | Prisma.WorkspaceQuickDocUpdateWithWhereUniqueWithoutWorkspaceInput[]
630
+ updateMany?: Prisma.WorkspaceQuickDocUpdateManyWithWhereWithoutWorkspaceInput | Prisma.WorkspaceQuickDocUpdateManyWithWhereWithoutWorkspaceInput[]
631
+ deleteMany?: Prisma.WorkspaceQuickDocScalarWhereInput | Prisma.WorkspaceQuickDocScalarWhereInput[]
632
+ }
633
+
634
+ export type WorkspaceQuickDocCreateNestedManyWithoutDocInput = {
635
+ create?: Prisma.XOR<Prisma.WorkspaceQuickDocCreateWithoutDocInput, Prisma.WorkspaceQuickDocUncheckedCreateWithoutDocInput> | Prisma.WorkspaceQuickDocCreateWithoutDocInput[] | Prisma.WorkspaceQuickDocUncheckedCreateWithoutDocInput[]
636
+ connectOrCreate?: Prisma.WorkspaceQuickDocCreateOrConnectWithoutDocInput | Prisma.WorkspaceQuickDocCreateOrConnectWithoutDocInput[]
637
+ createMany?: Prisma.WorkspaceQuickDocCreateManyDocInputEnvelope
638
+ connect?: Prisma.WorkspaceQuickDocWhereUniqueInput | Prisma.WorkspaceQuickDocWhereUniqueInput[]
639
+ }
640
+
641
+ export type WorkspaceQuickDocUncheckedCreateNestedManyWithoutDocInput = {
642
+ create?: Prisma.XOR<Prisma.WorkspaceQuickDocCreateWithoutDocInput, Prisma.WorkspaceQuickDocUncheckedCreateWithoutDocInput> | Prisma.WorkspaceQuickDocCreateWithoutDocInput[] | Prisma.WorkspaceQuickDocUncheckedCreateWithoutDocInput[]
643
+ connectOrCreate?: Prisma.WorkspaceQuickDocCreateOrConnectWithoutDocInput | Prisma.WorkspaceQuickDocCreateOrConnectWithoutDocInput[]
644
+ createMany?: Prisma.WorkspaceQuickDocCreateManyDocInputEnvelope
645
+ connect?: Prisma.WorkspaceQuickDocWhereUniqueInput | Prisma.WorkspaceQuickDocWhereUniqueInput[]
646
+ }
647
+
648
+ export type WorkspaceQuickDocUpdateManyWithoutDocNestedInput = {
649
+ create?: Prisma.XOR<Prisma.WorkspaceQuickDocCreateWithoutDocInput, Prisma.WorkspaceQuickDocUncheckedCreateWithoutDocInput> | Prisma.WorkspaceQuickDocCreateWithoutDocInput[] | Prisma.WorkspaceQuickDocUncheckedCreateWithoutDocInput[]
650
+ connectOrCreate?: Prisma.WorkspaceQuickDocCreateOrConnectWithoutDocInput | Prisma.WorkspaceQuickDocCreateOrConnectWithoutDocInput[]
651
+ upsert?: Prisma.WorkspaceQuickDocUpsertWithWhereUniqueWithoutDocInput | Prisma.WorkspaceQuickDocUpsertWithWhereUniqueWithoutDocInput[]
652
+ createMany?: Prisma.WorkspaceQuickDocCreateManyDocInputEnvelope
653
+ set?: Prisma.WorkspaceQuickDocWhereUniqueInput | Prisma.WorkspaceQuickDocWhereUniqueInput[]
654
+ disconnect?: Prisma.WorkspaceQuickDocWhereUniqueInput | Prisma.WorkspaceQuickDocWhereUniqueInput[]
655
+ delete?: Prisma.WorkspaceQuickDocWhereUniqueInput | Prisma.WorkspaceQuickDocWhereUniqueInput[]
656
+ connect?: Prisma.WorkspaceQuickDocWhereUniqueInput | Prisma.WorkspaceQuickDocWhereUniqueInput[]
657
+ update?: Prisma.WorkspaceQuickDocUpdateWithWhereUniqueWithoutDocInput | Prisma.WorkspaceQuickDocUpdateWithWhereUniqueWithoutDocInput[]
658
+ updateMany?: Prisma.WorkspaceQuickDocUpdateManyWithWhereWithoutDocInput | Prisma.WorkspaceQuickDocUpdateManyWithWhereWithoutDocInput[]
659
+ deleteMany?: Prisma.WorkspaceQuickDocScalarWhereInput | Prisma.WorkspaceQuickDocScalarWhereInput[]
660
+ }
661
+
662
+ export type WorkspaceQuickDocUncheckedUpdateManyWithoutDocNestedInput = {
663
+ create?: Prisma.XOR<Prisma.WorkspaceQuickDocCreateWithoutDocInput, Prisma.WorkspaceQuickDocUncheckedCreateWithoutDocInput> | Prisma.WorkspaceQuickDocCreateWithoutDocInput[] | Prisma.WorkspaceQuickDocUncheckedCreateWithoutDocInput[]
664
+ connectOrCreate?: Prisma.WorkspaceQuickDocCreateOrConnectWithoutDocInput | Prisma.WorkspaceQuickDocCreateOrConnectWithoutDocInput[]
665
+ upsert?: Prisma.WorkspaceQuickDocUpsertWithWhereUniqueWithoutDocInput | Prisma.WorkspaceQuickDocUpsertWithWhereUniqueWithoutDocInput[]
666
+ createMany?: Prisma.WorkspaceQuickDocCreateManyDocInputEnvelope
667
+ set?: Prisma.WorkspaceQuickDocWhereUniqueInput | Prisma.WorkspaceQuickDocWhereUniqueInput[]
668
+ disconnect?: Prisma.WorkspaceQuickDocWhereUniqueInput | Prisma.WorkspaceQuickDocWhereUniqueInput[]
669
+ delete?: Prisma.WorkspaceQuickDocWhereUniqueInput | Prisma.WorkspaceQuickDocWhereUniqueInput[]
670
+ connect?: Prisma.WorkspaceQuickDocWhereUniqueInput | Prisma.WorkspaceQuickDocWhereUniqueInput[]
671
+ update?: Prisma.WorkspaceQuickDocUpdateWithWhereUniqueWithoutDocInput | Prisma.WorkspaceQuickDocUpdateWithWhereUniqueWithoutDocInput[]
672
+ updateMany?: Prisma.WorkspaceQuickDocUpdateManyWithWhereWithoutDocInput | Prisma.WorkspaceQuickDocUpdateManyWithWhereWithoutDocInput[]
673
+ deleteMany?: Prisma.WorkspaceQuickDocScalarWhereInput | Prisma.WorkspaceQuickDocScalarWhereInput[]
674
+ }
675
+
676
+ export type WorkspaceQuickDocCreateWithoutCreatorInput = {
677
+ id?: string
678
+ externalGroup?: string | null
679
+ externalId?: string | null
680
+ displayTitle: string
681
+ columnIndex?: number
682
+ sortOrder?: number
683
+ label?: string | null
684
+ icon?: string | null
685
+ createdAt?: Date | string
686
+ updatedAt?: Date | string
687
+ workspace: Prisma.WorkspaceCreateNestedOneWithoutQuickDocsInput
688
+ doc?: Prisma.KnowledgeDocumentCreateNestedOneWithoutWorkspaceQuickDocsInput
689
+ }
690
+
691
+ export type WorkspaceQuickDocUncheckedCreateWithoutCreatorInput = {
692
+ id?: string
693
+ workspaceId: string
694
+ docId?: string | null
695
+ externalGroup?: string | null
696
+ externalId?: string | null
697
+ displayTitle: string
698
+ columnIndex?: number
699
+ sortOrder?: number
700
+ label?: string | null
701
+ icon?: string | null
702
+ createdAt?: Date | string
703
+ updatedAt?: Date | string
704
+ }
705
+
706
+ export type WorkspaceQuickDocCreateOrConnectWithoutCreatorInput = {
707
+ where: Prisma.WorkspaceQuickDocWhereUniqueInput
708
+ create: Prisma.XOR<Prisma.WorkspaceQuickDocCreateWithoutCreatorInput, Prisma.WorkspaceQuickDocUncheckedCreateWithoutCreatorInput>
709
+ }
710
+
711
+ export type WorkspaceQuickDocCreateManyCreatorInputEnvelope = {
712
+ data: Prisma.WorkspaceQuickDocCreateManyCreatorInput | Prisma.WorkspaceQuickDocCreateManyCreatorInput[]
713
+ skipDuplicates?: boolean
714
+ }
715
+
716
+ export type WorkspaceQuickDocUpsertWithWhereUniqueWithoutCreatorInput = {
717
+ where: Prisma.WorkspaceQuickDocWhereUniqueInput
718
+ update: Prisma.XOR<Prisma.WorkspaceQuickDocUpdateWithoutCreatorInput, Prisma.WorkspaceQuickDocUncheckedUpdateWithoutCreatorInput>
719
+ create: Prisma.XOR<Prisma.WorkspaceQuickDocCreateWithoutCreatorInput, Prisma.WorkspaceQuickDocUncheckedCreateWithoutCreatorInput>
720
+ }
721
+
722
+ export type WorkspaceQuickDocUpdateWithWhereUniqueWithoutCreatorInput = {
723
+ where: Prisma.WorkspaceQuickDocWhereUniqueInput
724
+ data: Prisma.XOR<Prisma.WorkspaceQuickDocUpdateWithoutCreatorInput, Prisma.WorkspaceQuickDocUncheckedUpdateWithoutCreatorInput>
725
+ }
726
+
727
+ export type WorkspaceQuickDocUpdateManyWithWhereWithoutCreatorInput = {
728
+ where: Prisma.WorkspaceQuickDocScalarWhereInput
729
+ data: Prisma.XOR<Prisma.WorkspaceQuickDocUpdateManyMutationInput, Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutCreatorInput>
730
+ }
731
+
732
+ export type WorkspaceQuickDocScalarWhereInput = {
733
+ AND?: Prisma.WorkspaceQuickDocScalarWhereInput | Prisma.WorkspaceQuickDocScalarWhereInput[]
734
+ OR?: Prisma.WorkspaceQuickDocScalarWhereInput[]
735
+ NOT?: Prisma.WorkspaceQuickDocScalarWhereInput | Prisma.WorkspaceQuickDocScalarWhereInput[]
736
+ id?: Prisma.StringFilter<"WorkspaceQuickDoc"> | string
737
+ workspaceId?: Prisma.StringFilter<"WorkspaceQuickDoc"> | string
738
+ docId?: Prisma.StringNullableFilter<"WorkspaceQuickDoc"> | string | null
739
+ externalGroup?: Prisma.StringNullableFilter<"WorkspaceQuickDoc"> | string | null
740
+ externalId?: Prisma.StringNullableFilter<"WorkspaceQuickDoc"> | string | null
741
+ displayTitle?: Prisma.StringFilter<"WorkspaceQuickDoc"> | string
742
+ columnIndex?: Prisma.IntFilter<"WorkspaceQuickDoc"> | number
743
+ sortOrder?: Prisma.IntFilter<"WorkspaceQuickDoc"> | number
744
+ label?: Prisma.StringNullableFilter<"WorkspaceQuickDoc"> | string | null
745
+ icon?: Prisma.StringNullableFilter<"WorkspaceQuickDoc"> | string | null
746
+ createdBy?: Prisma.StringFilter<"WorkspaceQuickDoc"> | string
747
+ createdAt?: Prisma.DateTimeFilter<"WorkspaceQuickDoc"> | Date | string
748
+ updatedAt?: Prisma.DateTimeFilter<"WorkspaceQuickDoc"> | Date | string
749
+ }
750
+
751
+ export type WorkspaceQuickDocCreateWithoutWorkspaceInput = {
752
+ id?: string
753
+ externalGroup?: string | null
754
+ externalId?: string | null
755
+ displayTitle: string
756
+ columnIndex?: number
757
+ sortOrder?: number
758
+ label?: string | null
759
+ icon?: string | null
760
+ createdAt?: Date | string
761
+ updatedAt?: Date | string
762
+ doc?: Prisma.KnowledgeDocumentCreateNestedOneWithoutWorkspaceQuickDocsInput
763
+ creator: Prisma.UserCreateNestedOneWithoutCreatedQuickDocsInput
764
+ }
765
+
766
+ export type WorkspaceQuickDocUncheckedCreateWithoutWorkspaceInput = {
767
+ id?: string
768
+ docId?: string | null
769
+ externalGroup?: string | null
770
+ externalId?: string | null
771
+ displayTitle: string
772
+ columnIndex?: number
773
+ sortOrder?: number
774
+ label?: string | null
775
+ icon?: string | null
776
+ createdBy: string
777
+ createdAt?: Date | string
778
+ updatedAt?: Date | string
779
+ }
780
+
781
+ export type WorkspaceQuickDocCreateOrConnectWithoutWorkspaceInput = {
782
+ where: Prisma.WorkspaceQuickDocWhereUniqueInput
783
+ create: Prisma.XOR<Prisma.WorkspaceQuickDocCreateWithoutWorkspaceInput, Prisma.WorkspaceQuickDocUncheckedCreateWithoutWorkspaceInput>
784
+ }
785
+
786
+ export type WorkspaceQuickDocCreateManyWorkspaceInputEnvelope = {
787
+ data: Prisma.WorkspaceQuickDocCreateManyWorkspaceInput | Prisma.WorkspaceQuickDocCreateManyWorkspaceInput[]
788
+ skipDuplicates?: boolean
789
+ }
790
+
791
+ export type WorkspaceQuickDocUpsertWithWhereUniqueWithoutWorkspaceInput = {
792
+ where: Prisma.WorkspaceQuickDocWhereUniqueInput
793
+ update: Prisma.XOR<Prisma.WorkspaceQuickDocUpdateWithoutWorkspaceInput, Prisma.WorkspaceQuickDocUncheckedUpdateWithoutWorkspaceInput>
794
+ create: Prisma.XOR<Prisma.WorkspaceQuickDocCreateWithoutWorkspaceInput, Prisma.WorkspaceQuickDocUncheckedCreateWithoutWorkspaceInput>
795
+ }
796
+
797
+ export type WorkspaceQuickDocUpdateWithWhereUniqueWithoutWorkspaceInput = {
798
+ where: Prisma.WorkspaceQuickDocWhereUniqueInput
799
+ data: Prisma.XOR<Prisma.WorkspaceQuickDocUpdateWithoutWorkspaceInput, Prisma.WorkspaceQuickDocUncheckedUpdateWithoutWorkspaceInput>
800
+ }
801
+
802
+ export type WorkspaceQuickDocUpdateManyWithWhereWithoutWorkspaceInput = {
803
+ where: Prisma.WorkspaceQuickDocScalarWhereInput
804
+ data: Prisma.XOR<Prisma.WorkspaceQuickDocUpdateManyMutationInput, Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutWorkspaceInput>
805
+ }
806
+
807
+ export type WorkspaceQuickDocCreateWithoutDocInput = {
808
+ id?: string
809
+ externalGroup?: string | null
810
+ externalId?: string | null
811
+ displayTitle: string
812
+ columnIndex?: number
813
+ sortOrder?: number
814
+ label?: string | null
815
+ icon?: string | null
816
+ createdAt?: Date | string
817
+ updatedAt?: Date | string
818
+ workspace: Prisma.WorkspaceCreateNestedOneWithoutQuickDocsInput
819
+ creator: Prisma.UserCreateNestedOneWithoutCreatedQuickDocsInput
820
+ }
821
+
822
+ export type WorkspaceQuickDocUncheckedCreateWithoutDocInput = {
823
+ id?: string
824
+ workspaceId: string
825
+ externalGroup?: string | null
826
+ externalId?: string | null
827
+ displayTitle: string
828
+ columnIndex?: number
829
+ sortOrder?: number
830
+ label?: string | null
831
+ icon?: string | null
832
+ createdBy: string
833
+ createdAt?: Date | string
834
+ updatedAt?: Date | string
835
+ }
836
+
837
+ export type WorkspaceQuickDocCreateOrConnectWithoutDocInput = {
838
+ where: Prisma.WorkspaceQuickDocWhereUniqueInput
839
+ create: Prisma.XOR<Prisma.WorkspaceQuickDocCreateWithoutDocInput, Prisma.WorkspaceQuickDocUncheckedCreateWithoutDocInput>
840
+ }
841
+
842
+ export type WorkspaceQuickDocCreateManyDocInputEnvelope = {
843
+ data: Prisma.WorkspaceQuickDocCreateManyDocInput | Prisma.WorkspaceQuickDocCreateManyDocInput[]
844
+ skipDuplicates?: boolean
845
+ }
846
+
847
+ export type WorkspaceQuickDocUpsertWithWhereUniqueWithoutDocInput = {
848
+ where: Prisma.WorkspaceQuickDocWhereUniqueInput
849
+ update: Prisma.XOR<Prisma.WorkspaceQuickDocUpdateWithoutDocInput, Prisma.WorkspaceQuickDocUncheckedUpdateWithoutDocInput>
850
+ create: Prisma.XOR<Prisma.WorkspaceQuickDocCreateWithoutDocInput, Prisma.WorkspaceQuickDocUncheckedCreateWithoutDocInput>
851
+ }
852
+
853
+ export type WorkspaceQuickDocUpdateWithWhereUniqueWithoutDocInput = {
854
+ where: Prisma.WorkspaceQuickDocWhereUniqueInput
855
+ data: Prisma.XOR<Prisma.WorkspaceQuickDocUpdateWithoutDocInput, Prisma.WorkspaceQuickDocUncheckedUpdateWithoutDocInput>
856
+ }
857
+
858
+ export type WorkspaceQuickDocUpdateManyWithWhereWithoutDocInput = {
859
+ where: Prisma.WorkspaceQuickDocScalarWhereInput
860
+ data: Prisma.XOR<Prisma.WorkspaceQuickDocUpdateManyMutationInput, Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutDocInput>
861
+ }
862
+
863
+ export type WorkspaceQuickDocCreateManyCreatorInput = {
864
+ id?: string
865
+ workspaceId: string
866
+ docId?: string | null
867
+ externalGroup?: string | null
868
+ externalId?: string | null
869
+ displayTitle: string
870
+ columnIndex?: number
871
+ sortOrder?: number
872
+ label?: string | null
873
+ icon?: string | null
874
+ createdAt?: Date | string
875
+ updatedAt?: Date | string
876
+ }
877
+
878
+ export type WorkspaceQuickDocUpdateWithoutCreatorInput = {
879
+ id?: Prisma.StringFieldUpdateOperationsInput | string
880
+ externalGroup?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
881
+ externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
882
+ displayTitle?: Prisma.StringFieldUpdateOperationsInput | string
883
+ columnIndex?: Prisma.IntFieldUpdateOperationsInput | number
884
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
885
+ label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
886
+ icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
887
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
888
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
889
+ workspace?: Prisma.WorkspaceUpdateOneRequiredWithoutQuickDocsNestedInput
890
+ doc?: Prisma.KnowledgeDocumentUpdateOneWithoutWorkspaceQuickDocsNestedInput
891
+ }
892
+
893
+ export type WorkspaceQuickDocUncheckedUpdateWithoutCreatorInput = {
894
+ id?: Prisma.StringFieldUpdateOperationsInput | string
895
+ workspaceId?: Prisma.StringFieldUpdateOperationsInput | string
896
+ docId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
897
+ externalGroup?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
898
+ externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
899
+ displayTitle?: Prisma.StringFieldUpdateOperationsInput | string
900
+ columnIndex?: Prisma.IntFieldUpdateOperationsInput | number
901
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
902
+ label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
903
+ icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
904
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
905
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
906
+ }
907
+
908
+ export type WorkspaceQuickDocUncheckedUpdateManyWithoutCreatorInput = {
909
+ id?: Prisma.StringFieldUpdateOperationsInput | string
910
+ workspaceId?: Prisma.StringFieldUpdateOperationsInput | string
911
+ docId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
912
+ externalGroup?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
913
+ externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
914
+ displayTitle?: Prisma.StringFieldUpdateOperationsInput | string
915
+ columnIndex?: Prisma.IntFieldUpdateOperationsInput | number
916
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
917
+ label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
918
+ icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
919
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
920
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
921
+ }
922
+
923
+ export type WorkspaceQuickDocCreateManyWorkspaceInput = {
924
+ id?: string
925
+ docId?: string | null
926
+ externalGroup?: string | null
927
+ externalId?: string | null
928
+ displayTitle: string
929
+ columnIndex?: number
930
+ sortOrder?: number
931
+ label?: string | null
932
+ icon?: string | null
933
+ createdBy: string
934
+ createdAt?: Date | string
935
+ updatedAt?: Date | string
936
+ }
937
+
938
+ export type WorkspaceQuickDocUpdateWithoutWorkspaceInput = {
939
+ id?: Prisma.StringFieldUpdateOperationsInput | string
940
+ externalGroup?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
941
+ externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
942
+ displayTitle?: Prisma.StringFieldUpdateOperationsInput | string
943
+ columnIndex?: Prisma.IntFieldUpdateOperationsInput | number
944
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
945
+ label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
946
+ icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
947
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
948
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
949
+ doc?: Prisma.KnowledgeDocumentUpdateOneWithoutWorkspaceQuickDocsNestedInput
950
+ creator?: Prisma.UserUpdateOneRequiredWithoutCreatedQuickDocsNestedInput
951
+ }
952
+
953
+ export type WorkspaceQuickDocUncheckedUpdateWithoutWorkspaceInput = {
954
+ id?: Prisma.StringFieldUpdateOperationsInput | string
955
+ docId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
956
+ externalGroup?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
957
+ externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
958
+ displayTitle?: Prisma.StringFieldUpdateOperationsInput | string
959
+ columnIndex?: Prisma.IntFieldUpdateOperationsInput | number
960
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
961
+ label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
962
+ icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
963
+ createdBy?: Prisma.StringFieldUpdateOperationsInput | string
964
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
965
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
966
+ }
967
+
968
+ export type WorkspaceQuickDocUncheckedUpdateManyWithoutWorkspaceInput = {
969
+ id?: Prisma.StringFieldUpdateOperationsInput | string
970
+ docId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
971
+ externalGroup?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
972
+ externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
973
+ displayTitle?: Prisma.StringFieldUpdateOperationsInput | string
974
+ columnIndex?: Prisma.IntFieldUpdateOperationsInput | number
975
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
976
+ label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
977
+ icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
978
+ createdBy?: Prisma.StringFieldUpdateOperationsInput | string
979
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
980
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
981
+ }
982
+
983
+ export type WorkspaceQuickDocCreateManyDocInput = {
984
+ id?: string
985
+ workspaceId: string
986
+ externalGroup?: string | null
987
+ externalId?: string | null
988
+ displayTitle: string
989
+ columnIndex?: number
990
+ sortOrder?: number
991
+ label?: string | null
992
+ icon?: string | null
993
+ createdBy: string
994
+ createdAt?: Date | string
995
+ updatedAt?: Date | string
996
+ }
997
+
998
+ export type WorkspaceQuickDocUpdateWithoutDocInput = {
999
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1000
+ externalGroup?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1001
+ externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1002
+ displayTitle?: Prisma.StringFieldUpdateOperationsInput | string
1003
+ columnIndex?: Prisma.IntFieldUpdateOperationsInput | number
1004
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
1005
+ label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1006
+ icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1007
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1008
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1009
+ workspace?: Prisma.WorkspaceUpdateOneRequiredWithoutQuickDocsNestedInput
1010
+ creator?: Prisma.UserUpdateOneRequiredWithoutCreatedQuickDocsNestedInput
1011
+ }
1012
+
1013
+ export type WorkspaceQuickDocUncheckedUpdateWithoutDocInput = {
1014
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1015
+ workspaceId?: Prisma.StringFieldUpdateOperationsInput | string
1016
+ externalGroup?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1017
+ externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1018
+ displayTitle?: Prisma.StringFieldUpdateOperationsInput | string
1019
+ columnIndex?: Prisma.IntFieldUpdateOperationsInput | number
1020
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
1021
+ label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1022
+ icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1023
+ createdBy?: Prisma.StringFieldUpdateOperationsInput | string
1024
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1025
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1026
+ }
1027
+
1028
+ export type WorkspaceQuickDocUncheckedUpdateManyWithoutDocInput = {
1029
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1030
+ workspaceId?: Prisma.StringFieldUpdateOperationsInput | string
1031
+ externalGroup?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1032
+ externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1033
+ displayTitle?: Prisma.StringFieldUpdateOperationsInput | string
1034
+ columnIndex?: Prisma.IntFieldUpdateOperationsInput | number
1035
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
1036
+ label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1037
+ icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1038
+ createdBy?: Prisma.StringFieldUpdateOperationsInput | string
1039
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1040
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1041
+ }
1042
+
1043
+
1044
+
1045
+ export type WorkspaceQuickDocSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1046
+ id?: boolean
1047
+ workspaceId?: boolean
1048
+ docId?: boolean
1049
+ externalGroup?: boolean
1050
+ externalId?: boolean
1051
+ displayTitle?: boolean
1052
+ columnIndex?: boolean
1053
+ sortOrder?: boolean
1054
+ label?: boolean
1055
+ icon?: boolean
1056
+ createdBy?: boolean
1057
+ createdAt?: boolean
1058
+ updatedAt?: boolean
1059
+ workspace?: boolean | Prisma.WorkspaceDefaultArgs<ExtArgs>
1060
+ doc?: boolean | Prisma.WorkspaceQuickDoc$docArgs<ExtArgs>
1061
+ creator?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1062
+ }, ExtArgs["result"]["workspaceQuickDoc"]>
1063
+
1064
+ export type WorkspaceQuickDocSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1065
+ id?: boolean
1066
+ workspaceId?: boolean
1067
+ docId?: boolean
1068
+ externalGroup?: boolean
1069
+ externalId?: boolean
1070
+ displayTitle?: boolean
1071
+ columnIndex?: boolean
1072
+ sortOrder?: boolean
1073
+ label?: boolean
1074
+ icon?: boolean
1075
+ createdBy?: boolean
1076
+ createdAt?: boolean
1077
+ updatedAt?: boolean
1078
+ workspace?: boolean | Prisma.WorkspaceDefaultArgs<ExtArgs>
1079
+ doc?: boolean | Prisma.WorkspaceQuickDoc$docArgs<ExtArgs>
1080
+ creator?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1081
+ }, ExtArgs["result"]["workspaceQuickDoc"]>
1082
+
1083
+ export type WorkspaceQuickDocSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1084
+ id?: boolean
1085
+ workspaceId?: boolean
1086
+ docId?: boolean
1087
+ externalGroup?: boolean
1088
+ externalId?: boolean
1089
+ displayTitle?: boolean
1090
+ columnIndex?: boolean
1091
+ sortOrder?: boolean
1092
+ label?: boolean
1093
+ icon?: boolean
1094
+ createdBy?: boolean
1095
+ createdAt?: boolean
1096
+ updatedAt?: boolean
1097
+ workspace?: boolean | Prisma.WorkspaceDefaultArgs<ExtArgs>
1098
+ doc?: boolean | Prisma.WorkspaceQuickDoc$docArgs<ExtArgs>
1099
+ creator?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1100
+ }, ExtArgs["result"]["workspaceQuickDoc"]>
1101
+
1102
+ export type WorkspaceQuickDocSelectScalar = {
1103
+ id?: boolean
1104
+ workspaceId?: boolean
1105
+ docId?: boolean
1106
+ externalGroup?: boolean
1107
+ externalId?: boolean
1108
+ displayTitle?: boolean
1109
+ columnIndex?: boolean
1110
+ sortOrder?: boolean
1111
+ label?: boolean
1112
+ icon?: boolean
1113
+ createdBy?: boolean
1114
+ createdAt?: boolean
1115
+ updatedAt?: boolean
1116
+ }
1117
+
1118
+ export type WorkspaceQuickDocOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "workspaceId" | "docId" | "externalGroup" | "externalId" | "displayTitle" | "columnIndex" | "sortOrder" | "label" | "icon" | "createdBy" | "createdAt" | "updatedAt", ExtArgs["result"]["workspaceQuickDoc"]>
1119
+ export type WorkspaceQuickDocInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1120
+ workspace?: boolean | Prisma.WorkspaceDefaultArgs<ExtArgs>
1121
+ doc?: boolean | Prisma.WorkspaceQuickDoc$docArgs<ExtArgs>
1122
+ creator?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1123
+ }
1124
+ export type WorkspaceQuickDocIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1125
+ workspace?: boolean | Prisma.WorkspaceDefaultArgs<ExtArgs>
1126
+ doc?: boolean | Prisma.WorkspaceQuickDoc$docArgs<ExtArgs>
1127
+ creator?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1128
+ }
1129
+ export type WorkspaceQuickDocIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1130
+ workspace?: boolean | Prisma.WorkspaceDefaultArgs<ExtArgs>
1131
+ doc?: boolean | Prisma.WorkspaceQuickDoc$docArgs<ExtArgs>
1132
+ creator?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1133
+ }
1134
+
1135
+ export type $WorkspaceQuickDocPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1136
+ name: "WorkspaceQuickDoc"
1137
+ objects: {
1138
+ workspace: Prisma.$WorkspacePayload<ExtArgs>
1139
+ doc: Prisma.$KnowledgeDocumentPayload<ExtArgs> | null
1140
+ creator: Prisma.$UserPayload<ExtArgs>
1141
+ }
1142
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
1143
+ id: string
1144
+ workspaceId: string
1145
+ docId: string | null
1146
+ externalGroup: string | null
1147
+ externalId: string | null
1148
+ displayTitle: string
1149
+ columnIndex: number
1150
+ sortOrder: number
1151
+ label: string | null
1152
+ icon: string | null
1153
+ createdBy: string
1154
+ createdAt: Date
1155
+ updatedAt: Date
1156
+ }, ExtArgs["result"]["workspaceQuickDoc"]>
1157
+ composites: {}
1158
+ }
1159
+
1160
+ export type WorkspaceQuickDocGetPayload<S extends boolean | null | undefined | WorkspaceQuickDocDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$WorkspaceQuickDocPayload, S>
1161
+
1162
+ export type WorkspaceQuickDocCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1163
+ Omit<WorkspaceQuickDocFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1164
+ select?: WorkspaceQuickDocCountAggregateInputType | true
1165
+ }
1166
+
1167
+ export interface WorkspaceQuickDocDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1168
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['WorkspaceQuickDoc'], meta: { name: 'WorkspaceQuickDoc' } }
1169
+ /**
1170
+ * Find zero or one WorkspaceQuickDoc that matches the filter.
1171
+ * @param {WorkspaceQuickDocFindUniqueArgs} args - Arguments to find a WorkspaceQuickDoc
1172
+ * @example
1173
+ * // Get one WorkspaceQuickDoc
1174
+ * const workspaceQuickDoc = await prisma.workspaceQuickDoc.findUnique({
1175
+ * where: {
1176
+ * // ... provide filter here
1177
+ * }
1178
+ * })
1179
+ */
1180
+ findUnique<T extends WorkspaceQuickDocFindUniqueArgs>(args: Prisma.SelectSubset<T, WorkspaceQuickDocFindUniqueArgs<ExtArgs>>): Prisma.Prisma__WorkspaceQuickDocClient<runtime.Types.Result.GetResult<Prisma.$WorkspaceQuickDocPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1181
+
1182
+ /**
1183
+ * Find one WorkspaceQuickDoc that matches the filter or throw an error with `error.code='P2025'`
1184
+ * if no matches were found.
1185
+ * @param {WorkspaceQuickDocFindUniqueOrThrowArgs} args - Arguments to find a WorkspaceQuickDoc
1186
+ * @example
1187
+ * // Get one WorkspaceQuickDoc
1188
+ * const workspaceQuickDoc = await prisma.workspaceQuickDoc.findUniqueOrThrow({
1189
+ * where: {
1190
+ * // ... provide filter here
1191
+ * }
1192
+ * })
1193
+ */
1194
+ findUniqueOrThrow<T extends WorkspaceQuickDocFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, WorkspaceQuickDocFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__WorkspaceQuickDocClient<runtime.Types.Result.GetResult<Prisma.$WorkspaceQuickDocPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1195
+
1196
+ /**
1197
+ * Find the first WorkspaceQuickDoc that matches the filter.
1198
+ * Note, that providing `undefined` is treated as the value not being there.
1199
+ * Read more here: https://pris.ly/d/null-undefined
1200
+ * @param {WorkspaceQuickDocFindFirstArgs} args - Arguments to find a WorkspaceQuickDoc
1201
+ * @example
1202
+ * // Get one WorkspaceQuickDoc
1203
+ * const workspaceQuickDoc = await prisma.workspaceQuickDoc.findFirst({
1204
+ * where: {
1205
+ * // ... provide filter here
1206
+ * }
1207
+ * })
1208
+ */
1209
+ findFirst<T extends WorkspaceQuickDocFindFirstArgs>(args?: Prisma.SelectSubset<T, WorkspaceQuickDocFindFirstArgs<ExtArgs>>): Prisma.Prisma__WorkspaceQuickDocClient<runtime.Types.Result.GetResult<Prisma.$WorkspaceQuickDocPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1210
+
1211
+ /**
1212
+ * Find the first WorkspaceQuickDoc that matches the filter or
1213
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1214
+ * Note, that providing `undefined` is treated as the value not being there.
1215
+ * Read more here: https://pris.ly/d/null-undefined
1216
+ * @param {WorkspaceQuickDocFindFirstOrThrowArgs} args - Arguments to find a WorkspaceQuickDoc
1217
+ * @example
1218
+ * // Get one WorkspaceQuickDoc
1219
+ * const workspaceQuickDoc = await prisma.workspaceQuickDoc.findFirstOrThrow({
1220
+ * where: {
1221
+ * // ... provide filter here
1222
+ * }
1223
+ * })
1224
+ */
1225
+ findFirstOrThrow<T extends WorkspaceQuickDocFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, WorkspaceQuickDocFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__WorkspaceQuickDocClient<runtime.Types.Result.GetResult<Prisma.$WorkspaceQuickDocPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1226
+
1227
+ /**
1228
+ * Find zero or more WorkspaceQuickDocs that matches the filter.
1229
+ * Note, that providing `undefined` is treated as the value not being there.
1230
+ * Read more here: https://pris.ly/d/null-undefined
1231
+ * @param {WorkspaceQuickDocFindManyArgs} args - Arguments to filter and select certain fields only.
1232
+ * @example
1233
+ * // Get all WorkspaceQuickDocs
1234
+ * const workspaceQuickDocs = await prisma.workspaceQuickDoc.findMany()
1235
+ *
1236
+ * // Get first 10 WorkspaceQuickDocs
1237
+ * const workspaceQuickDocs = await prisma.workspaceQuickDoc.findMany({ take: 10 })
1238
+ *
1239
+ * // Only select the `id`
1240
+ * const workspaceQuickDocWithIdOnly = await prisma.workspaceQuickDoc.findMany({ select: { id: true } })
1241
+ *
1242
+ */
1243
+ findMany<T extends WorkspaceQuickDocFindManyArgs>(args?: Prisma.SelectSubset<T, WorkspaceQuickDocFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkspaceQuickDocPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1244
+
1245
+ /**
1246
+ * Create a WorkspaceQuickDoc.
1247
+ * @param {WorkspaceQuickDocCreateArgs} args - Arguments to create a WorkspaceQuickDoc.
1248
+ * @example
1249
+ * // Create one WorkspaceQuickDoc
1250
+ * const WorkspaceQuickDoc = await prisma.workspaceQuickDoc.create({
1251
+ * data: {
1252
+ * // ... data to create a WorkspaceQuickDoc
1253
+ * }
1254
+ * })
1255
+ *
1256
+ */
1257
+ create<T extends WorkspaceQuickDocCreateArgs>(args: Prisma.SelectSubset<T, WorkspaceQuickDocCreateArgs<ExtArgs>>): Prisma.Prisma__WorkspaceQuickDocClient<runtime.Types.Result.GetResult<Prisma.$WorkspaceQuickDocPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1258
+
1259
+ /**
1260
+ * Create many WorkspaceQuickDocs.
1261
+ * @param {WorkspaceQuickDocCreateManyArgs} args - Arguments to create many WorkspaceQuickDocs.
1262
+ * @example
1263
+ * // Create many WorkspaceQuickDocs
1264
+ * const workspaceQuickDoc = await prisma.workspaceQuickDoc.createMany({
1265
+ * data: [
1266
+ * // ... provide data here
1267
+ * ]
1268
+ * })
1269
+ *
1270
+ */
1271
+ createMany<T extends WorkspaceQuickDocCreateManyArgs>(args?: Prisma.SelectSubset<T, WorkspaceQuickDocCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1272
+
1273
+ /**
1274
+ * Create many WorkspaceQuickDocs and returns the data saved in the database.
1275
+ * @param {WorkspaceQuickDocCreateManyAndReturnArgs} args - Arguments to create many WorkspaceQuickDocs.
1276
+ * @example
1277
+ * // Create many WorkspaceQuickDocs
1278
+ * const workspaceQuickDoc = await prisma.workspaceQuickDoc.createManyAndReturn({
1279
+ * data: [
1280
+ * // ... provide data here
1281
+ * ]
1282
+ * })
1283
+ *
1284
+ * // Create many WorkspaceQuickDocs and only return the `id`
1285
+ * const workspaceQuickDocWithIdOnly = await prisma.workspaceQuickDoc.createManyAndReturn({
1286
+ * select: { id: true },
1287
+ * data: [
1288
+ * // ... provide data here
1289
+ * ]
1290
+ * })
1291
+ * Note, that providing `undefined` is treated as the value not being there.
1292
+ * Read more here: https://pris.ly/d/null-undefined
1293
+ *
1294
+ */
1295
+ createManyAndReturn<T extends WorkspaceQuickDocCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, WorkspaceQuickDocCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkspaceQuickDocPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1296
+
1297
+ /**
1298
+ * Delete a WorkspaceQuickDoc.
1299
+ * @param {WorkspaceQuickDocDeleteArgs} args - Arguments to delete one WorkspaceQuickDoc.
1300
+ * @example
1301
+ * // Delete one WorkspaceQuickDoc
1302
+ * const WorkspaceQuickDoc = await prisma.workspaceQuickDoc.delete({
1303
+ * where: {
1304
+ * // ... filter to delete one WorkspaceQuickDoc
1305
+ * }
1306
+ * })
1307
+ *
1308
+ */
1309
+ delete<T extends WorkspaceQuickDocDeleteArgs>(args: Prisma.SelectSubset<T, WorkspaceQuickDocDeleteArgs<ExtArgs>>): Prisma.Prisma__WorkspaceQuickDocClient<runtime.Types.Result.GetResult<Prisma.$WorkspaceQuickDocPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1310
+
1311
+ /**
1312
+ * Update one WorkspaceQuickDoc.
1313
+ * @param {WorkspaceQuickDocUpdateArgs} args - Arguments to update one WorkspaceQuickDoc.
1314
+ * @example
1315
+ * // Update one WorkspaceQuickDoc
1316
+ * const workspaceQuickDoc = await prisma.workspaceQuickDoc.update({
1317
+ * where: {
1318
+ * // ... provide filter here
1319
+ * },
1320
+ * data: {
1321
+ * // ... provide data here
1322
+ * }
1323
+ * })
1324
+ *
1325
+ */
1326
+ update<T extends WorkspaceQuickDocUpdateArgs>(args: Prisma.SelectSubset<T, WorkspaceQuickDocUpdateArgs<ExtArgs>>): Prisma.Prisma__WorkspaceQuickDocClient<runtime.Types.Result.GetResult<Prisma.$WorkspaceQuickDocPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1327
+
1328
+ /**
1329
+ * Delete zero or more WorkspaceQuickDocs.
1330
+ * @param {WorkspaceQuickDocDeleteManyArgs} args - Arguments to filter WorkspaceQuickDocs to delete.
1331
+ * @example
1332
+ * // Delete a few WorkspaceQuickDocs
1333
+ * const { count } = await prisma.workspaceQuickDoc.deleteMany({
1334
+ * where: {
1335
+ * // ... provide filter here
1336
+ * }
1337
+ * })
1338
+ *
1339
+ */
1340
+ deleteMany<T extends WorkspaceQuickDocDeleteManyArgs>(args?: Prisma.SelectSubset<T, WorkspaceQuickDocDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1341
+
1342
+ /**
1343
+ * Update zero or more WorkspaceQuickDocs.
1344
+ * Note, that providing `undefined` is treated as the value not being there.
1345
+ * Read more here: https://pris.ly/d/null-undefined
1346
+ * @param {WorkspaceQuickDocUpdateManyArgs} args - Arguments to update one or more rows.
1347
+ * @example
1348
+ * // Update many WorkspaceQuickDocs
1349
+ * const workspaceQuickDoc = await prisma.workspaceQuickDoc.updateMany({
1350
+ * where: {
1351
+ * // ... provide filter here
1352
+ * },
1353
+ * data: {
1354
+ * // ... provide data here
1355
+ * }
1356
+ * })
1357
+ *
1358
+ */
1359
+ updateMany<T extends WorkspaceQuickDocUpdateManyArgs>(args: Prisma.SelectSubset<T, WorkspaceQuickDocUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1360
+
1361
+ /**
1362
+ * Update zero or more WorkspaceQuickDocs and returns the data updated in the database.
1363
+ * @param {WorkspaceQuickDocUpdateManyAndReturnArgs} args - Arguments to update many WorkspaceQuickDocs.
1364
+ * @example
1365
+ * // Update many WorkspaceQuickDocs
1366
+ * const workspaceQuickDoc = await prisma.workspaceQuickDoc.updateManyAndReturn({
1367
+ * where: {
1368
+ * // ... provide filter here
1369
+ * },
1370
+ * data: [
1371
+ * // ... provide data here
1372
+ * ]
1373
+ * })
1374
+ *
1375
+ * // Update zero or more WorkspaceQuickDocs and only return the `id`
1376
+ * const workspaceQuickDocWithIdOnly = await prisma.workspaceQuickDoc.updateManyAndReturn({
1377
+ * select: { id: true },
1378
+ * where: {
1379
+ * // ... provide filter here
1380
+ * },
1381
+ * data: [
1382
+ * // ... provide data here
1383
+ * ]
1384
+ * })
1385
+ * Note, that providing `undefined` is treated as the value not being there.
1386
+ * Read more here: https://pris.ly/d/null-undefined
1387
+ *
1388
+ */
1389
+ updateManyAndReturn<T extends WorkspaceQuickDocUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, WorkspaceQuickDocUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkspaceQuickDocPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1390
+
1391
+ /**
1392
+ * Create or update one WorkspaceQuickDoc.
1393
+ * @param {WorkspaceQuickDocUpsertArgs} args - Arguments to update or create a WorkspaceQuickDoc.
1394
+ * @example
1395
+ * // Update or create a WorkspaceQuickDoc
1396
+ * const workspaceQuickDoc = await prisma.workspaceQuickDoc.upsert({
1397
+ * create: {
1398
+ * // ... data to create a WorkspaceQuickDoc
1399
+ * },
1400
+ * update: {
1401
+ * // ... in case it already exists, update
1402
+ * },
1403
+ * where: {
1404
+ * // ... the filter for the WorkspaceQuickDoc we want to update
1405
+ * }
1406
+ * })
1407
+ */
1408
+ upsert<T extends WorkspaceQuickDocUpsertArgs>(args: Prisma.SelectSubset<T, WorkspaceQuickDocUpsertArgs<ExtArgs>>): Prisma.Prisma__WorkspaceQuickDocClient<runtime.Types.Result.GetResult<Prisma.$WorkspaceQuickDocPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1409
+
1410
+
1411
+ /**
1412
+ * Count the number of WorkspaceQuickDocs.
1413
+ * Note, that providing `undefined` is treated as the value not being there.
1414
+ * Read more here: https://pris.ly/d/null-undefined
1415
+ * @param {WorkspaceQuickDocCountArgs} args - Arguments to filter WorkspaceQuickDocs to count.
1416
+ * @example
1417
+ * // Count the number of WorkspaceQuickDocs
1418
+ * const count = await prisma.workspaceQuickDoc.count({
1419
+ * where: {
1420
+ * // ... the filter for the WorkspaceQuickDocs we want to count
1421
+ * }
1422
+ * })
1423
+ **/
1424
+ count<T extends WorkspaceQuickDocCountArgs>(
1425
+ args?: Prisma.Subset<T, WorkspaceQuickDocCountArgs>,
1426
+ ): Prisma.PrismaPromise<
1427
+ T extends runtime.Types.Utils.Record<'select', any>
1428
+ ? T['select'] extends true
1429
+ ? number
1430
+ : Prisma.GetScalarType<T['select'], WorkspaceQuickDocCountAggregateOutputType>
1431
+ : number
1432
+ >
1433
+
1434
+ /**
1435
+ * Allows you to perform aggregations operations on a WorkspaceQuickDoc.
1436
+ * Note, that providing `undefined` is treated as the value not being there.
1437
+ * Read more here: https://pris.ly/d/null-undefined
1438
+ * @param {WorkspaceQuickDocAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1439
+ * @example
1440
+ * // Ordered by age ascending
1441
+ * // Where email contains prisma.io
1442
+ * // Limited to the 10 users
1443
+ * const aggregations = await prisma.user.aggregate({
1444
+ * _avg: {
1445
+ * age: true,
1446
+ * },
1447
+ * where: {
1448
+ * email: {
1449
+ * contains: "prisma.io",
1450
+ * },
1451
+ * },
1452
+ * orderBy: {
1453
+ * age: "asc",
1454
+ * },
1455
+ * take: 10,
1456
+ * })
1457
+ **/
1458
+ aggregate<T extends WorkspaceQuickDocAggregateArgs>(args: Prisma.Subset<T, WorkspaceQuickDocAggregateArgs>): Prisma.PrismaPromise<GetWorkspaceQuickDocAggregateType<T>>
1459
+
1460
+ /**
1461
+ * Group by WorkspaceQuickDoc.
1462
+ * Note, that providing `undefined` is treated as the value not being there.
1463
+ * Read more here: https://pris.ly/d/null-undefined
1464
+ * @param {WorkspaceQuickDocGroupByArgs} args - Group by arguments.
1465
+ * @example
1466
+ * // Group by city, order by createdAt, get count
1467
+ * const result = await prisma.user.groupBy({
1468
+ * by: ['city', 'createdAt'],
1469
+ * orderBy: {
1470
+ * createdAt: true
1471
+ * },
1472
+ * _count: {
1473
+ * _all: true
1474
+ * },
1475
+ * })
1476
+ *
1477
+ **/
1478
+ groupBy<
1479
+ T extends WorkspaceQuickDocGroupByArgs,
1480
+ HasSelectOrTake extends Prisma.Or<
1481
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1482
+ Prisma.Extends<'take', Prisma.Keys<T>>
1483
+ >,
1484
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1485
+ ? { orderBy: WorkspaceQuickDocGroupByArgs['orderBy'] }
1486
+ : { orderBy?: WorkspaceQuickDocGroupByArgs['orderBy'] },
1487
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1488
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1489
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1490
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1491
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1492
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1493
+ InputErrors extends ByEmpty extends Prisma.True
1494
+ ? `Error: "by" must not be empty.`
1495
+ : HavingValid extends Prisma.False
1496
+ ? {
1497
+ [P in HavingFields]: P extends ByFields
1498
+ ? never
1499
+ : P extends string
1500
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1501
+ : [
1502
+ Error,
1503
+ 'Field ',
1504
+ P,
1505
+ ` in "having" needs to be provided in "by"`,
1506
+ ]
1507
+ }[HavingFields]
1508
+ : 'take' extends Prisma.Keys<T>
1509
+ ? 'orderBy' extends Prisma.Keys<T>
1510
+ ? ByValid extends Prisma.True
1511
+ ? {}
1512
+ : {
1513
+ [P in OrderFields]: P extends ByFields
1514
+ ? never
1515
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1516
+ }[OrderFields]
1517
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1518
+ : 'skip' extends Prisma.Keys<T>
1519
+ ? 'orderBy' extends Prisma.Keys<T>
1520
+ ? ByValid extends Prisma.True
1521
+ ? {}
1522
+ : {
1523
+ [P in OrderFields]: P extends ByFields
1524
+ ? never
1525
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1526
+ }[OrderFields]
1527
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1528
+ : ByValid extends Prisma.True
1529
+ ? {}
1530
+ : {
1531
+ [P in OrderFields]: P extends ByFields
1532
+ ? never
1533
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1534
+ }[OrderFields]
1535
+ >(args: Prisma.SubsetIntersection<T, WorkspaceQuickDocGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetWorkspaceQuickDocGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1536
+ /**
1537
+ * Fields of the WorkspaceQuickDoc model
1538
+ */
1539
+ readonly fields: WorkspaceQuickDocFieldRefs;
1540
+ }
1541
+
1542
+ /**
1543
+ * The delegate class that acts as a "Promise-like" for WorkspaceQuickDoc.
1544
+ * Why is this prefixed with `Prisma__`?
1545
+ * Because we want to prevent naming conflicts as mentioned in
1546
+ * https://github.com/prisma/prisma-client-js/issues/707
1547
+ */
1548
+ export interface Prisma__WorkspaceQuickDocClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1549
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1550
+ workspace<T extends Prisma.WorkspaceDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkspaceDefaultArgs<ExtArgs>>): Prisma.Prisma__WorkspaceClient<runtime.Types.Result.GetResult<Prisma.$WorkspacePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1551
+ doc<T extends Prisma.WorkspaceQuickDoc$docArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WorkspaceQuickDoc$docArgs<ExtArgs>>): Prisma.Prisma__KnowledgeDocumentClient<runtime.Types.Result.GetResult<Prisma.$KnowledgeDocumentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1552
+ 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>
1553
+ /**
1554
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1555
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1556
+ * @param onrejected The callback to execute when the Promise is rejected.
1557
+ * @returns A Promise for the completion of which ever callback is executed.
1558
+ */
1559
+ then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
1560
+ /**
1561
+ * Attaches a callback for only the rejection of the Promise.
1562
+ * @param onrejected The callback to execute when the Promise is rejected.
1563
+ * @returns A Promise for the completion of the callback.
1564
+ */
1565
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1566
+ /**
1567
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1568
+ * resolved value cannot be modified from the callback.
1569
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1570
+ * @returns A Promise for the completion of the callback.
1571
+ */
1572
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1573
+ }
1574
+
1575
+
1576
+
1577
+
1578
+ /**
1579
+ * Fields of the WorkspaceQuickDoc model
1580
+ */
1581
+ export interface WorkspaceQuickDocFieldRefs {
1582
+ readonly id: Prisma.FieldRef<"WorkspaceQuickDoc", 'String'>
1583
+ readonly workspaceId: Prisma.FieldRef<"WorkspaceQuickDoc", 'String'>
1584
+ readonly docId: Prisma.FieldRef<"WorkspaceQuickDoc", 'String'>
1585
+ readonly externalGroup: Prisma.FieldRef<"WorkspaceQuickDoc", 'String'>
1586
+ readonly externalId: Prisma.FieldRef<"WorkspaceQuickDoc", 'String'>
1587
+ readonly displayTitle: Prisma.FieldRef<"WorkspaceQuickDoc", 'String'>
1588
+ readonly columnIndex: Prisma.FieldRef<"WorkspaceQuickDoc", 'Int'>
1589
+ readonly sortOrder: Prisma.FieldRef<"WorkspaceQuickDoc", 'Int'>
1590
+ readonly label: Prisma.FieldRef<"WorkspaceQuickDoc", 'String'>
1591
+ readonly icon: Prisma.FieldRef<"WorkspaceQuickDoc", 'String'>
1592
+ readonly createdBy: Prisma.FieldRef<"WorkspaceQuickDoc", 'String'>
1593
+ readonly createdAt: Prisma.FieldRef<"WorkspaceQuickDoc", 'DateTime'>
1594
+ readonly updatedAt: Prisma.FieldRef<"WorkspaceQuickDoc", 'DateTime'>
1595
+ }
1596
+
1597
+
1598
+ // Custom InputTypes
1599
+ /**
1600
+ * WorkspaceQuickDoc findUnique
1601
+ */
1602
+ export type WorkspaceQuickDocFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1603
+ /**
1604
+ * Select specific fields to fetch from the WorkspaceQuickDoc
1605
+ */
1606
+ select?: Prisma.WorkspaceQuickDocSelect<ExtArgs> | null
1607
+ /**
1608
+ * Omit specific fields from the WorkspaceQuickDoc
1609
+ */
1610
+ omit?: Prisma.WorkspaceQuickDocOmit<ExtArgs> | null
1611
+ /**
1612
+ * Choose, which related nodes to fetch as well
1613
+ */
1614
+ include?: Prisma.WorkspaceQuickDocInclude<ExtArgs> | null
1615
+ /**
1616
+ * Filter, which WorkspaceQuickDoc to fetch.
1617
+ */
1618
+ where: Prisma.WorkspaceQuickDocWhereUniqueInput
1619
+ }
1620
+
1621
+ /**
1622
+ * WorkspaceQuickDoc findUniqueOrThrow
1623
+ */
1624
+ export type WorkspaceQuickDocFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1625
+ /**
1626
+ * Select specific fields to fetch from the WorkspaceQuickDoc
1627
+ */
1628
+ select?: Prisma.WorkspaceQuickDocSelect<ExtArgs> | null
1629
+ /**
1630
+ * Omit specific fields from the WorkspaceQuickDoc
1631
+ */
1632
+ omit?: Prisma.WorkspaceQuickDocOmit<ExtArgs> | null
1633
+ /**
1634
+ * Choose, which related nodes to fetch as well
1635
+ */
1636
+ include?: Prisma.WorkspaceQuickDocInclude<ExtArgs> | null
1637
+ /**
1638
+ * Filter, which WorkspaceQuickDoc to fetch.
1639
+ */
1640
+ where: Prisma.WorkspaceQuickDocWhereUniqueInput
1641
+ }
1642
+
1643
+ /**
1644
+ * WorkspaceQuickDoc findFirst
1645
+ */
1646
+ export type WorkspaceQuickDocFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1647
+ /**
1648
+ * Select specific fields to fetch from the WorkspaceQuickDoc
1649
+ */
1650
+ select?: Prisma.WorkspaceQuickDocSelect<ExtArgs> | null
1651
+ /**
1652
+ * Omit specific fields from the WorkspaceQuickDoc
1653
+ */
1654
+ omit?: Prisma.WorkspaceQuickDocOmit<ExtArgs> | null
1655
+ /**
1656
+ * Choose, which related nodes to fetch as well
1657
+ */
1658
+ include?: Prisma.WorkspaceQuickDocInclude<ExtArgs> | null
1659
+ /**
1660
+ * Filter, which WorkspaceQuickDoc to fetch.
1661
+ */
1662
+ where?: Prisma.WorkspaceQuickDocWhereInput
1663
+ /**
1664
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1665
+ *
1666
+ * Determine the order of WorkspaceQuickDocs to fetch.
1667
+ */
1668
+ orderBy?: Prisma.WorkspaceQuickDocOrderByWithRelationInput | Prisma.WorkspaceQuickDocOrderByWithRelationInput[]
1669
+ /**
1670
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1671
+ *
1672
+ * Sets the position for searching for WorkspaceQuickDocs.
1673
+ */
1674
+ cursor?: Prisma.WorkspaceQuickDocWhereUniqueInput
1675
+ /**
1676
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1677
+ *
1678
+ * Take `±n` WorkspaceQuickDocs from the position of the cursor.
1679
+ */
1680
+ take?: number
1681
+ /**
1682
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1683
+ *
1684
+ * Skip the first `n` WorkspaceQuickDocs.
1685
+ */
1686
+ skip?: number
1687
+ /**
1688
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1689
+ *
1690
+ * Filter by unique combinations of WorkspaceQuickDocs.
1691
+ */
1692
+ distinct?: Prisma.WorkspaceQuickDocScalarFieldEnum | Prisma.WorkspaceQuickDocScalarFieldEnum[]
1693
+ }
1694
+
1695
+ /**
1696
+ * WorkspaceQuickDoc findFirstOrThrow
1697
+ */
1698
+ export type WorkspaceQuickDocFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1699
+ /**
1700
+ * Select specific fields to fetch from the WorkspaceQuickDoc
1701
+ */
1702
+ select?: Prisma.WorkspaceQuickDocSelect<ExtArgs> | null
1703
+ /**
1704
+ * Omit specific fields from the WorkspaceQuickDoc
1705
+ */
1706
+ omit?: Prisma.WorkspaceQuickDocOmit<ExtArgs> | null
1707
+ /**
1708
+ * Choose, which related nodes to fetch as well
1709
+ */
1710
+ include?: Prisma.WorkspaceQuickDocInclude<ExtArgs> | null
1711
+ /**
1712
+ * Filter, which WorkspaceQuickDoc to fetch.
1713
+ */
1714
+ where?: Prisma.WorkspaceQuickDocWhereInput
1715
+ /**
1716
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1717
+ *
1718
+ * Determine the order of WorkspaceQuickDocs to fetch.
1719
+ */
1720
+ orderBy?: Prisma.WorkspaceQuickDocOrderByWithRelationInput | Prisma.WorkspaceQuickDocOrderByWithRelationInput[]
1721
+ /**
1722
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1723
+ *
1724
+ * Sets the position for searching for WorkspaceQuickDocs.
1725
+ */
1726
+ cursor?: Prisma.WorkspaceQuickDocWhereUniqueInput
1727
+ /**
1728
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1729
+ *
1730
+ * Take `±n` WorkspaceQuickDocs from the position of the cursor.
1731
+ */
1732
+ take?: number
1733
+ /**
1734
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1735
+ *
1736
+ * Skip the first `n` WorkspaceQuickDocs.
1737
+ */
1738
+ skip?: number
1739
+ /**
1740
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1741
+ *
1742
+ * Filter by unique combinations of WorkspaceQuickDocs.
1743
+ */
1744
+ distinct?: Prisma.WorkspaceQuickDocScalarFieldEnum | Prisma.WorkspaceQuickDocScalarFieldEnum[]
1745
+ }
1746
+
1747
+ /**
1748
+ * WorkspaceQuickDoc findMany
1749
+ */
1750
+ export type WorkspaceQuickDocFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1751
+ /**
1752
+ * Select specific fields to fetch from the WorkspaceQuickDoc
1753
+ */
1754
+ select?: Prisma.WorkspaceQuickDocSelect<ExtArgs> | null
1755
+ /**
1756
+ * Omit specific fields from the WorkspaceQuickDoc
1757
+ */
1758
+ omit?: Prisma.WorkspaceQuickDocOmit<ExtArgs> | null
1759
+ /**
1760
+ * Choose, which related nodes to fetch as well
1761
+ */
1762
+ include?: Prisma.WorkspaceQuickDocInclude<ExtArgs> | null
1763
+ /**
1764
+ * Filter, which WorkspaceQuickDocs to fetch.
1765
+ */
1766
+ where?: Prisma.WorkspaceQuickDocWhereInput
1767
+ /**
1768
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1769
+ *
1770
+ * Determine the order of WorkspaceQuickDocs to fetch.
1771
+ */
1772
+ orderBy?: Prisma.WorkspaceQuickDocOrderByWithRelationInput | Prisma.WorkspaceQuickDocOrderByWithRelationInput[]
1773
+ /**
1774
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1775
+ *
1776
+ * Sets the position for listing WorkspaceQuickDocs.
1777
+ */
1778
+ cursor?: Prisma.WorkspaceQuickDocWhereUniqueInput
1779
+ /**
1780
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1781
+ *
1782
+ * Take `±n` WorkspaceQuickDocs from the position of the cursor.
1783
+ */
1784
+ take?: number
1785
+ /**
1786
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1787
+ *
1788
+ * Skip the first `n` WorkspaceQuickDocs.
1789
+ */
1790
+ skip?: number
1791
+ /**
1792
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1793
+ *
1794
+ * Filter by unique combinations of WorkspaceQuickDocs.
1795
+ */
1796
+ distinct?: Prisma.WorkspaceQuickDocScalarFieldEnum | Prisma.WorkspaceQuickDocScalarFieldEnum[]
1797
+ }
1798
+
1799
+ /**
1800
+ * WorkspaceQuickDoc create
1801
+ */
1802
+ export type WorkspaceQuickDocCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1803
+ /**
1804
+ * Select specific fields to fetch from the WorkspaceQuickDoc
1805
+ */
1806
+ select?: Prisma.WorkspaceQuickDocSelect<ExtArgs> | null
1807
+ /**
1808
+ * Omit specific fields from the WorkspaceQuickDoc
1809
+ */
1810
+ omit?: Prisma.WorkspaceQuickDocOmit<ExtArgs> | null
1811
+ /**
1812
+ * Choose, which related nodes to fetch as well
1813
+ */
1814
+ include?: Prisma.WorkspaceQuickDocInclude<ExtArgs> | null
1815
+ /**
1816
+ * The data needed to create a WorkspaceQuickDoc.
1817
+ */
1818
+ data: Prisma.XOR<Prisma.WorkspaceQuickDocCreateInput, Prisma.WorkspaceQuickDocUncheckedCreateInput>
1819
+ }
1820
+
1821
+ /**
1822
+ * WorkspaceQuickDoc createMany
1823
+ */
1824
+ export type WorkspaceQuickDocCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1825
+ /**
1826
+ * The data used to create many WorkspaceQuickDocs.
1827
+ */
1828
+ data: Prisma.WorkspaceQuickDocCreateManyInput | Prisma.WorkspaceQuickDocCreateManyInput[]
1829
+ skipDuplicates?: boolean
1830
+ }
1831
+
1832
+ /**
1833
+ * WorkspaceQuickDoc createManyAndReturn
1834
+ */
1835
+ export type WorkspaceQuickDocCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1836
+ /**
1837
+ * Select specific fields to fetch from the WorkspaceQuickDoc
1838
+ */
1839
+ select?: Prisma.WorkspaceQuickDocSelectCreateManyAndReturn<ExtArgs> | null
1840
+ /**
1841
+ * Omit specific fields from the WorkspaceQuickDoc
1842
+ */
1843
+ omit?: Prisma.WorkspaceQuickDocOmit<ExtArgs> | null
1844
+ /**
1845
+ * The data used to create many WorkspaceQuickDocs.
1846
+ */
1847
+ data: Prisma.WorkspaceQuickDocCreateManyInput | Prisma.WorkspaceQuickDocCreateManyInput[]
1848
+ skipDuplicates?: boolean
1849
+ /**
1850
+ * Choose, which related nodes to fetch as well
1851
+ */
1852
+ include?: Prisma.WorkspaceQuickDocIncludeCreateManyAndReturn<ExtArgs> | null
1853
+ }
1854
+
1855
+ /**
1856
+ * WorkspaceQuickDoc update
1857
+ */
1858
+ export type WorkspaceQuickDocUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1859
+ /**
1860
+ * Select specific fields to fetch from the WorkspaceQuickDoc
1861
+ */
1862
+ select?: Prisma.WorkspaceQuickDocSelect<ExtArgs> | null
1863
+ /**
1864
+ * Omit specific fields from the WorkspaceQuickDoc
1865
+ */
1866
+ omit?: Prisma.WorkspaceQuickDocOmit<ExtArgs> | null
1867
+ /**
1868
+ * Choose, which related nodes to fetch as well
1869
+ */
1870
+ include?: Prisma.WorkspaceQuickDocInclude<ExtArgs> | null
1871
+ /**
1872
+ * The data needed to update a WorkspaceQuickDoc.
1873
+ */
1874
+ data: Prisma.XOR<Prisma.WorkspaceQuickDocUpdateInput, Prisma.WorkspaceQuickDocUncheckedUpdateInput>
1875
+ /**
1876
+ * Choose, which WorkspaceQuickDoc to update.
1877
+ */
1878
+ where: Prisma.WorkspaceQuickDocWhereUniqueInput
1879
+ }
1880
+
1881
+ /**
1882
+ * WorkspaceQuickDoc updateMany
1883
+ */
1884
+ export type WorkspaceQuickDocUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1885
+ /**
1886
+ * The data used to update WorkspaceQuickDocs.
1887
+ */
1888
+ data: Prisma.XOR<Prisma.WorkspaceQuickDocUpdateManyMutationInput, Prisma.WorkspaceQuickDocUncheckedUpdateManyInput>
1889
+ /**
1890
+ * Filter which WorkspaceQuickDocs to update
1891
+ */
1892
+ where?: Prisma.WorkspaceQuickDocWhereInput
1893
+ /**
1894
+ * Limit how many WorkspaceQuickDocs to update.
1895
+ */
1896
+ limit?: number
1897
+ }
1898
+
1899
+ /**
1900
+ * WorkspaceQuickDoc updateManyAndReturn
1901
+ */
1902
+ export type WorkspaceQuickDocUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1903
+ /**
1904
+ * Select specific fields to fetch from the WorkspaceQuickDoc
1905
+ */
1906
+ select?: Prisma.WorkspaceQuickDocSelectUpdateManyAndReturn<ExtArgs> | null
1907
+ /**
1908
+ * Omit specific fields from the WorkspaceQuickDoc
1909
+ */
1910
+ omit?: Prisma.WorkspaceQuickDocOmit<ExtArgs> | null
1911
+ /**
1912
+ * The data used to update WorkspaceQuickDocs.
1913
+ */
1914
+ data: Prisma.XOR<Prisma.WorkspaceQuickDocUpdateManyMutationInput, Prisma.WorkspaceQuickDocUncheckedUpdateManyInput>
1915
+ /**
1916
+ * Filter which WorkspaceQuickDocs to update
1917
+ */
1918
+ where?: Prisma.WorkspaceQuickDocWhereInput
1919
+ /**
1920
+ * Limit how many WorkspaceQuickDocs to update.
1921
+ */
1922
+ limit?: number
1923
+ /**
1924
+ * Choose, which related nodes to fetch as well
1925
+ */
1926
+ include?: Prisma.WorkspaceQuickDocIncludeUpdateManyAndReturn<ExtArgs> | null
1927
+ }
1928
+
1929
+ /**
1930
+ * WorkspaceQuickDoc upsert
1931
+ */
1932
+ export type WorkspaceQuickDocUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1933
+ /**
1934
+ * Select specific fields to fetch from the WorkspaceQuickDoc
1935
+ */
1936
+ select?: Prisma.WorkspaceQuickDocSelect<ExtArgs> | null
1937
+ /**
1938
+ * Omit specific fields from the WorkspaceQuickDoc
1939
+ */
1940
+ omit?: Prisma.WorkspaceQuickDocOmit<ExtArgs> | null
1941
+ /**
1942
+ * Choose, which related nodes to fetch as well
1943
+ */
1944
+ include?: Prisma.WorkspaceQuickDocInclude<ExtArgs> | null
1945
+ /**
1946
+ * The filter to search for the WorkspaceQuickDoc to update in case it exists.
1947
+ */
1948
+ where: Prisma.WorkspaceQuickDocWhereUniqueInput
1949
+ /**
1950
+ * In case the WorkspaceQuickDoc found by the `where` argument doesn't exist, create a new WorkspaceQuickDoc with this data.
1951
+ */
1952
+ create: Prisma.XOR<Prisma.WorkspaceQuickDocCreateInput, Prisma.WorkspaceQuickDocUncheckedCreateInput>
1953
+ /**
1954
+ * In case the WorkspaceQuickDoc was found with the provided `where` argument, update it with this data.
1955
+ */
1956
+ update: Prisma.XOR<Prisma.WorkspaceQuickDocUpdateInput, Prisma.WorkspaceQuickDocUncheckedUpdateInput>
1957
+ }
1958
+
1959
+ /**
1960
+ * WorkspaceQuickDoc delete
1961
+ */
1962
+ export type WorkspaceQuickDocDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1963
+ /**
1964
+ * Select specific fields to fetch from the WorkspaceQuickDoc
1965
+ */
1966
+ select?: Prisma.WorkspaceQuickDocSelect<ExtArgs> | null
1967
+ /**
1968
+ * Omit specific fields from the WorkspaceQuickDoc
1969
+ */
1970
+ omit?: Prisma.WorkspaceQuickDocOmit<ExtArgs> | null
1971
+ /**
1972
+ * Choose, which related nodes to fetch as well
1973
+ */
1974
+ include?: Prisma.WorkspaceQuickDocInclude<ExtArgs> | null
1975
+ /**
1976
+ * Filter which WorkspaceQuickDoc to delete.
1977
+ */
1978
+ where: Prisma.WorkspaceQuickDocWhereUniqueInput
1979
+ }
1980
+
1981
+ /**
1982
+ * WorkspaceQuickDoc deleteMany
1983
+ */
1984
+ export type WorkspaceQuickDocDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1985
+ /**
1986
+ * Filter which WorkspaceQuickDocs to delete
1987
+ */
1988
+ where?: Prisma.WorkspaceQuickDocWhereInput
1989
+ /**
1990
+ * Limit how many WorkspaceQuickDocs to delete.
1991
+ */
1992
+ limit?: number
1993
+ }
1994
+
1995
+ /**
1996
+ * WorkspaceQuickDoc.doc
1997
+ */
1998
+ export type WorkspaceQuickDoc$docArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1999
+ /**
2000
+ * Select specific fields to fetch from the KnowledgeDocument
2001
+ */
2002
+ select?: Prisma.KnowledgeDocumentSelect<ExtArgs> | null
2003
+ /**
2004
+ * Omit specific fields from the KnowledgeDocument
2005
+ */
2006
+ omit?: Prisma.KnowledgeDocumentOmit<ExtArgs> | null
2007
+ /**
2008
+ * Choose, which related nodes to fetch as well
2009
+ */
2010
+ include?: Prisma.KnowledgeDocumentInclude<ExtArgs> | null
2011
+ where?: Prisma.KnowledgeDocumentWhereInput
2012
+ }
2013
+
2014
+ /**
2015
+ * WorkspaceQuickDoc without action
2016
+ */
2017
+ export type WorkspaceQuickDocDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2018
+ /**
2019
+ * Select specific fields to fetch from the WorkspaceQuickDoc
2020
+ */
2021
+ select?: Prisma.WorkspaceQuickDocSelect<ExtArgs> | null
2022
+ /**
2023
+ * Omit specific fields from the WorkspaceQuickDoc
2024
+ */
2025
+ omit?: Prisma.WorkspaceQuickDocOmit<ExtArgs> | null
2026
+ /**
2027
+ * Choose, which related nodes to fetch as well
2028
+ */
2029
+ include?: Prisma.WorkspaceQuickDocInclude<ExtArgs> | null
2030
+ }