@allbluecn/database 0.4.18 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/browser.ts +18 -3
- package/generated/client.ts +20 -5
- package/generated/commonInputTypes.ts +2 -2
- package/generated/internal/class.ts +35 -5
- package/generated/internal/prismaNamespace.ts +276 -4
- package/generated/internal/prismaNamespaceBrowser.ts +49 -2
- package/generated/models/Account.ts +2 -2
- package/generated/models/AgentConversation.ts +2 -2
- package/generated/models/AgentMessage.ts +2 -2
- package/generated/models/AiProvider.ts +2 -2
- package/generated/models/AiProviderConfig.ts +2 -2
- package/generated/models/AiUsageLog.ts +2 -2
- package/generated/models/AnyHubApp.ts +2 -2
- package/generated/models/AnyHubMarketApp.ts +2 -2
- package/generated/models/AnyHubPermission.ts +2 -2
- package/generated/models/AnyHubRecommendation.ts +2 -2
- package/generated/models/AnyHubRecommender.ts +2 -2
- package/generated/models/Artboard.ts +2 -2
- package/generated/models/ArtboardExport.ts +2 -2
- package/generated/models/ArticleFavorite.ts +2 -2
- package/generated/models/AuditLog.ts +2 -2
- package/generated/models/Block.ts +2 -2
- package/generated/models/BlockComponent.ts +2 -2
- package/generated/models/BlockInstance.ts +2 -2
- package/generated/models/BookmarkCategory.ts +2 -2
- package/generated/models/ChatInterrupt.ts +2 -2
- package/generated/models/ChatMessage.ts +2 -2
- package/generated/models/ChatRun.ts +2 -2
- package/generated/models/ChatThread.ts +2 -6
- package/generated/models/Comment.ts +2 -2
- package/generated/models/CommentIgnore.ts +2 -2
- package/generated/models/CommentReaction.ts +2 -2
- package/generated/models/ComplianceExport.ts +2 -2
- package/generated/models/Component.ts +2 -2
- package/generated/models/ComponentInstance.ts +2 -2
- package/generated/models/ComponentTag.ts +2 -2
- package/generated/models/CustomRole.ts +2 -2
- package/generated/models/DesignProject.ts +2 -2
- package/generated/models/DeveloperLog.ts +2 -2
- package/generated/models/DictionaryTerm.ts +2 -2
- package/generated/models/GenerationRun.ts +2 -2
- package/generated/models/IndustryCompliance.ts +2 -2
- package/generated/models/InvitationCode.ts +2 -2
- package/generated/models/InvitationUse.ts +2 -2
- package/generated/models/Invoice.ts +2 -2
- package/generated/models/Iteration.ts +2 -2
- package/generated/models/IterationAutoSchedule.ts +2 -2
- package/generated/models/KnowledgeBase.ts +436 -3
- package/generated/models/KnowledgeDocument.ts +178 -2
- package/generated/models/KnowledgeShareRecord.ts +2 -2
- package/generated/models/Label.ts +2 -2
- package/generated/models/LegalRegulation.ts +2 -2
- package/generated/models/LicenseActivation.ts +2 -2
- package/generated/models/LicenseKey.ts +2 -2
- package/generated/models/LoginLog.ts +2 -2
- package/generated/models/MonitoringErrorReport.ts +2 -2
- package/generated/models/MonitoringHealthSnapshot.ts +2 -2
- package/generated/models/MonitoringMetricsSnapshot.ts +2 -2
- package/generated/models/MonitoringRequestLog.ts +2 -2
- package/generated/models/Notification.ts +2 -2
- package/generated/models/NotificationPreference.ts +2 -2
- package/generated/models/PRD.ts +2 -2
- package/generated/models/PRDPage.ts +2 -2
- package/generated/models/PRDTag.ts +2 -2
- package/generated/models/PRDVersion.ts +2 -2
- package/generated/models/PageVersion.ts +2 -2
- package/generated/models/PasswordResetToken.ts +2 -2
- package/generated/models/Plan.ts +2 -2
- package/generated/models/Project.ts +2 -2
- package/generated/models/ProjectActivity.ts +2 -2
- package/generated/models/ProjectKnowledgeBase.ts +2 -2
- package/generated/models/ProjectMember.ts +2 -2
- package/generated/models/ProviderEvent.ts +2 -2
- package/generated/models/Reference.ts +2 -2
- package/generated/models/Review.ts +2 -2
- package/generated/models/ReviewComment.ts +2 -2
- package/generated/models/RoleAssignment.ts +2 -2
- package/generated/models/SequenceCounter.ts +2 -2
- package/generated/models/Share.ts +2 -2
- package/generated/models/ShareVersion.ts +2 -2
- package/generated/models/SsoMapping.ts +2 -2
- package/generated/models/SsoProvider.ts +2 -2
- package/generated/models/Story.ts +2 -2
- package/generated/models/StoryActivity.ts +2 -2
- package/generated/models/StoryAttachment.ts +2 -2
- package/generated/models/StoryComment.ts +2 -2
- package/generated/models/StoryDependency.ts +2 -2
- package/generated/models/StoryDocLink.ts +2 -2
- package/generated/models/StoryExternalLink.ts +2 -2
- package/generated/models/StoryFilterView.ts +2 -2
- package/generated/models/StoryLabel.ts +2 -2
- package/generated/models/StoryLink.ts +2 -2
- package/generated/models/StoryPrdLink.ts +2 -2
- package/generated/models/StoryReaction.ts +2 -2
- package/generated/models/Subscription.ts +2 -2
- package/generated/models/SystemSetting.ts +2 -2
- package/generated/models/Tag.ts +2 -2
- package/generated/models/TeamInvitation.ts +2 -2
- package/generated/models/TeamJoinRequest.ts +2 -2
- package/generated/models/TeamMembership.ts +2 -2
- package/generated/models/Template.ts +2 -2
- package/generated/models/TemplateBlock.ts +2 -2
- package/generated/models/ThirdPartyDependency.ts +2 -2
- package/generated/models/UsageRecord.ts +2 -2
- package/generated/models/User.ts +1585 -325
- package/generated/models/UserAgent.ts +2 -2
- package/generated/models/UserSkill.ts +2 -2
- package/generated/models/WebsiteBookmark.ts +2 -2
- package/generated/models/Workspace.ts +796 -3
- package/generated/models/WorkspaceKnowledgeBase.ts +1430 -0
- package/generated/models/WorkspaceMember.ts +1512 -0
- package/generated/models/WorkspaceQuickDoc.ts +2030 -0
- package/generated/models.ts +107 -104
- package/generated-sqlite/browser.ts +13 -3
- package/generated-sqlite/client.ts +15 -5
- package/generated-sqlite/commonInputTypes.ts +2 -2
- package/generated-sqlite/internal/class.ts +25 -5
- package/generated-sqlite/internal/prismaNamespace.ts +187 -4
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +35 -2
- package/generated-sqlite/models/AgentConversation.ts +2 -2
- package/generated-sqlite/models/AgentMessage.ts +2 -2
- package/generated-sqlite/models/AiProvider.ts +2 -2
- package/generated-sqlite/models/AiProviderConfig.ts +2 -2
- package/generated-sqlite/models/AiUsageLog.ts +2 -2
- package/generated-sqlite/models/AnyHubApp.ts +2 -2
- package/generated-sqlite/models/AnyHubMarketApp.ts +2 -2
- package/generated-sqlite/models/AnyHubPermission.ts +2 -2
- package/generated-sqlite/models/AnyHubRecommendation.ts +2 -2
- package/generated-sqlite/models/AnyHubRecommender.ts +2 -2
- package/generated-sqlite/models/Artboard.ts +2 -2
- package/generated-sqlite/models/ArtboardExport.ts +2 -2
- package/generated-sqlite/models/ArticleFavorite.ts +2 -2
- package/generated-sqlite/models/AuditLog.ts +2 -2
- package/generated-sqlite/models/Block.ts +2 -2
- package/generated-sqlite/models/BlockComponent.ts +2 -2
- package/generated-sqlite/models/BlockInstance.ts +2 -2
- package/generated-sqlite/models/BookmarkCategory.ts +2 -2
- package/generated-sqlite/models/ChatInterrupt.ts +2 -2
- package/generated-sqlite/models/ChatMessage.ts +2 -2
- package/generated-sqlite/models/ChatRun.ts +2 -2
- package/generated-sqlite/models/ChatThread.ts +2 -6
- package/generated-sqlite/models/Comment.ts +2 -2
- package/generated-sqlite/models/CommentIgnore.ts +2 -2
- package/generated-sqlite/models/ComplianceExport.ts +2 -2
- package/generated-sqlite/models/Component.ts +2 -2
- package/generated-sqlite/models/ComponentInstance.ts +2 -2
- package/generated-sqlite/models/ComponentTag.ts +2 -2
- package/generated-sqlite/models/CustomRole.ts +2 -2
- package/generated-sqlite/models/DesignProject.ts +2 -2
- package/generated-sqlite/models/DeveloperLog.ts +2 -2
- package/generated-sqlite/models/DictionaryTerm.ts +2 -2
- package/generated-sqlite/models/GenerationRun.ts +2 -2
- package/generated-sqlite/models/IndustryCompliance.ts +2 -2
- package/generated-sqlite/models/InvitationCode.ts +2 -2
- package/generated-sqlite/models/InvitationUse.ts +2 -2
- package/generated-sqlite/models/Invoice.ts +2 -2
- package/generated-sqlite/models/Iteration.ts +2 -2
- package/generated-sqlite/models/IterationAutoSchedule.ts +2 -2
- package/generated-sqlite/models/KnowledgeBase.ts +196 -3
- package/generated-sqlite/models/KnowledgeDocument.ts +170 -2
- package/generated-sqlite/models/KnowledgeShareRecord.ts +2 -2
- package/generated-sqlite/models/LegalRegulation.ts +2 -2
- package/generated-sqlite/models/LicenseActivation.ts +2 -2
- package/generated-sqlite/models/LicenseKey.ts +2 -2
- package/generated-sqlite/models/LoginLog.ts +2 -2
- package/generated-sqlite/models/PRD.ts +2 -2
- package/generated-sqlite/models/PRDPage.ts +2 -2
- package/generated-sqlite/models/PRDTag.ts +2 -2
- package/generated-sqlite/models/PRDVersion.ts +2 -2
- package/generated-sqlite/models/PageVersion.ts +2 -2
- package/generated-sqlite/models/PasswordResetToken.ts +2 -2
- package/generated-sqlite/models/Plan.ts +2 -2
- package/generated-sqlite/models/Project.ts +2 -2
- package/generated-sqlite/models/ProjectActivity.ts +2 -2
- package/generated-sqlite/models/ProjectKnowledgeBase.ts +2 -2
- package/generated-sqlite/models/ProjectMember.ts +2 -2
- package/generated-sqlite/models/ProviderEvent.ts +2 -2
- package/generated-sqlite/models/Reference.ts +2 -2
- package/generated-sqlite/models/Review.ts +2 -2
- package/generated-sqlite/models/ReviewComment.ts +2 -2
- package/generated-sqlite/models/RoleAssignment.ts +2 -2
- package/generated-sqlite/models/Share.ts +2 -2
- package/generated-sqlite/models/ShareVersion.ts +2 -2
- package/generated-sqlite/models/SsoMapping.ts +2 -2
- package/generated-sqlite/models/SsoProvider.ts +2 -2
- package/generated-sqlite/models/Story.ts +2 -2
- package/generated-sqlite/models/Subscription.ts +2 -2
- package/generated-sqlite/models/SystemSetting.ts +2 -2
- package/generated-sqlite/models/Tag.ts +2 -2
- package/generated-sqlite/models/TeamInvitation.ts +2 -2
- package/generated-sqlite/models/TeamJoinRequest.ts +2 -2
- package/generated-sqlite/models/TeamMembership.ts +2 -2
- package/generated-sqlite/models/Template.ts +2 -2
- package/generated-sqlite/models/TemplateBlock.ts +2 -2
- package/generated-sqlite/models/ThirdPartyDependency.ts +2 -2
- package/generated-sqlite/models/UsageRecord.ts +2 -2
- package/generated-sqlite/models/User.ts +520 -2
- package/generated-sqlite/models/UserAgent.ts +2 -2
- package/generated-sqlite/models/UserSkill.ts +2 -2
- package/generated-sqlite/models/WebsiteBookmark.ts +2 -2
- package/generated-sqlite/models/Workspace.ts +354 -3
- package/generated-sqlite/models/WorkspaceKnowledgeBase.ts +1426 -0
- package/generated-sqlite/models/WorkspaceQuickDoc.ts +2025 -0
- package/generated-sqlite/models.ts +85 -83
- package/migrations/20260907093612_add_workspace_pinned_to_sidebar/migration.sql +2 -0
- package/migrations/20260907100000_add_knowledge_pinned_to_sidebar/migration.sql +2 -0
- package/migrations/20260907110000_add_workspace_members/migration.sql +34 -0
- package/migrations/20260907120000_knowledgebase_workspace_id/migration.sql +8 -0
- package/migrations/20260909070745_workspace_kb_card/migration.sql +55 -0
- package/migrations/20260909123637_workspace_quick_doc_column_index/migration.sql +2 -0
- package/migrations/20260909123656_workspace_quick_doc_column_backfill/migration.sql +4 -0
- package/migrations/20260909144328_workspace_quick_doc_label/migration.sql +2 -0
- package/migrations/20260909154315_workspace_quick_doc_icon/migration.sql +2 -0
- package/package.json +2 -2
- package/schema.prisma +288 -214
- package/schema.sqlite.prisma +62 -14
|
@@ -0,0 +1,2025 @@
|
|
|
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
|
+
}
|
|
714
|
+
|
|
715
|
+
export type WorkspaceQuickDocUpsertWithWhereUniqueWithoutCreatorInput = {
|
|
716
|
+
where: Prisma.WorkspaceQuickDocWhereUniqueInput
|
|
717
|
+
update: Prisma.XOR<Prisma.WorkspaceQuickDocUpdateWithoutCreatorInput, Prisma.WorkspaceQuickDocUncheckedUpdateWithoutCreatorInput>
|
|
718
|
+
create: Prisma.XOR<Prisma.WorkspaceQuickDocCreateWithoutCreatorInput, Prisma.WorkspaceQuickDocUncheckedCreateWithoutCreatorInput>
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
export type WorkspaceQuickDocUpdateWithWhereUniqueWithoutCreatorInput = {
|
|
722
|
+
where: Prisma.WorkspaceQuickDocWhereUniqueInput
|
|
723
|
+
data: Prisma.XOR<Prisma.WorkspaceQuickDocUpdateWithoutCreatorInput, Prisma.WorkspaceQuickDocUncheckedUpdateWithoutCreatorInput>
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
export type WorkspaceQuickDocUpdateManyWithWhereWithoutCreatorInput = {
|
|
727
|
+
where: Prisma.WorkspaceQuickDocScalarWhereInput
|
|
728
|
+
data: Prisma.XOR<Prisma.WorkspaceQuickDocUpdateManyMutationInput, Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutCreatorInput>
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
export type WorkspaceQuickDocScalarWhereInput = {
|
|
732
|
+
AND?: Prisma.WorkspaceQuickDocScalarWhereInput | Prisma.WorkspaceQuickDocScalarWhereInput[]
|
|
733
|
+
OR?: Prisma.WorkspaceQuickDocScalarWhereInput[]
|
|
734
|
+
NOT?: Prisma.WorkspaceQuickDocScalarWhereInput | Prisma.WorkspaceQuickDocScalarWhereInput[]
|
|
735
|
+
id?: Prisma.StringFilter<"WorkspaceQuickDoc"> | string
|
|
736
|
+
workspaceId?: Prisma.StringFilter<"WorkspaceQuickDoc"> | string
|
|
737
|
+
docId?: Prisma.StringNullableFilter<"WorkspaceQuickDoc"> | string | null
|
|
738
|
+
externalGroup?: Prisma.StringNullableFilter<"WorkspaceQuickDoc"> | string | null
|
|
739
|
+
externalId?: Prisma.StringNullableFilter<"WorkspaceQuickDoc"> | string | null
|
|
740
|
+
displayTitle?: Prisma.StringFilter<"WorkspaceQuickDoc"> | string
|
|
741
|
+
columnIndex?: Prisma.IntFilter<"WorkspaceQuickDoc"> | number
|
|
742
|
+
sortOrder?: Prisma.IntFilter<"WorkspaceQuickDoc"> | number
|
|
743
|
+
label?: Prisma.StringNullableFilter<"WorkspaceQuickDoc"> | string | null
|
|
744
|
+
icon?: Prisma.StringNullableFilter<"WorkspaceQuickDoc"> | string | null
|
|
745
|
+
createdBy?: Prisma.StringFilter<"WorkspaceQuickDoc"> | string
|
|
746
|
+
createdAt?: Prisma.DateTimeFilter<"WorkspaceQuickDoc"> | Date | string
|
|
747
|
+
updatedAt?: Prisma.DateTimeFilter<"WorkspaceQuickDoc"> | Date | string
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
export type WorkspaceQuickDocCreateWithoutWorkspaceInput = {
|
|
751
|
+
id?: string
|
|
752
|
+
externalGroup?: string | null
|
|
753
|
+
externalId?: string | null
|
|
754
|
+
displayTitle: string
|
|
755
|
+
columnIndex?: number
|
|
756
|
+
sortOrder?: number
|
|
757
|
+
label?: string | null
|
|
758
|
+
icon?: string | null
|
|
759
|
+
createdAt?: Date | string
|
|
760
|
+
updatedAt?: Date | string
|
|
761
|
+
doc?: Prisma.KnowledgeDocumentCreateNestedOneWithoutWorkspaceQuickDocsInput
|
|
762
|
+
creator: Prisma.UserCreateNestedOneWithoutCreatedQuickDocsInput
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
export type WorkspaceQuickDocUncheckedCreateWithoutWorkspaceInput = {
|
|
766
|
+
id?: string
|
|
767
|
+
docId?: string | null
|
|
768
|
+
externalGroup?: string | null
|
|
769
|
+
externalId?: string | null
|
|
770
|
+
displayTitle: string
|
|
771
|
+
columnIndex?: number
|
|
772
|
+
sortOrder?: number
|
|
773
|
+
label?: string | null
|
|
774
|
+
icon?: string | null
|
|
775
|
+
createdBy: string
|
|
776
|
+
createdAt?: Date | string
|
|
777
|
+
updatedAt?: Date | string
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
export type WorkspaceQuickDocCreateOrConnectWithoutWorkspaceInput = {
|
|
781
|
+
where: Prisma.WorkspaceQuickDocWhereUniqueInput
|
|
782
|
+
create: Prisma.XOR<Prisma.WorkspaceQuickDocCreateWithoutWorkspaceInput, Prisma.WorkspaceQuickDocUncheckedCreateWithoutWorkspaceInput>
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
export type WorkspaceQuickDocCreateManyWorkspaceInputEnvelope = {
|
|
786
|
+
data: Prisma.WorkspaceQuickDocCreateManyWorkspaceInput | Prisma.WorkspaceQuickDocCreateManyWorkspaceInput[]
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
export type WorkspaceQuickDocUpsertWithWhereUniqueWithoutWorkspaceInput = {
|
|
790
|
+
where: Prisma.WorkspaceQuickDocWhereUniqueInput
|
|
791
|
+
update: Prisma.XOR<Prisma.WorkspaceQuickDocUpdateWithoutWorkspaceInput, Prisma.WorkspaceQuickDocUncheckedUpdateWithoutWorkspaceInput>
|
|
792
|
+
create: Prisma.XOR<Prisma.WorkspaceQuickDocCreateWithoutWorkspaceInput, Prisma.WorkspaceQuickDocUncheckedCreateWithoutWorkspaceInput>
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
export type WorkspaceQuickDocUpdateWithWhereUniqueWithoutWorkspaceInput = {
|
|
796
|
+
where: Prisma.WorkspaceQuickDocWhereUniqueInput
|
|
797
|
+
data: Prisma.XOR<Prisma.WorkspaceQuickDocUpdateWithoutWorkspaceInput, Prisma.WorkspaceQuickDocUncheckedUpdateWithoutWorkspaceInput>
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
export type WorkspaceQuickDocUpdateManyWithWhereWithoutWorkspaceInput = {
|
|
801
|
+
where: Prisma.WorkspaceQuickDocScalarWhereInput
|
|
802
|
+
data: Prisma.XOR<Prisma.WorkspaceQuickDocUpdateManyMutationInput, Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutWorkspaceInput>
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
export type WorkspaceQuickDocCreateWithoutDocInput = {
|
|
806
|
+
id?: string
|
|
807
|
+
externalGroup?: string | null
|
|
808
|
+
externalId?: string | null
|
|
809
|
+
displayTitle: string
|
|
810
|
+
columnIndex?: number
|
|
811
|
+
sortOrder?: number
|
|
812
|
+
label?: string | null
|
|
813
|
+
icon?: string | null
|
|
814
|
+
createdAt?: Date | string
|
|
815
|
+
updatedAt?: Date | string
|
|
816
|
+
workspace: Prisma.WorkspaceCreateNestedOneWithoutQuickDocsInput
|
|
817
|
+
creator: Prisma.UserCreateNestedOneWithoutCreatedQuickDocsInput
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
export type WorkspaceQuickDocUncheckedCreateWithoutDocInput = {
|
|
821
|
+
id?: string
|
|
822
|
+
workspaceId: string
|
|
823
|
+
externalGroup?: string | null
|
|
824
|
+
externalId?: string | null
|
|
825
|
+
displayTitle: string
|
|
826
|
+
columnIndex?: number
|
|
827
|
+
sortOrder?: number
|
|
828
|
+
label?: string | null
|
|
829
|
+
icon?: string | null
|
|
830
|
+
createdBy: string
|
|
831
|
+
createdAt?: Date | string
|
|
832
|
+
updatedAt?: Date | string
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
export type WorkspaceQuickDocCreateOrConnectWithoutDocInput = {
|
|
836
|
+
where: Prisma.WorkspaceQuickDocWhereUniqueInput
|
|
837
|
+
create: Prisma.XOR<Prisma.WorkspaceQuickDocCreateWithoutDocInput, Prisma.WorkspaceQuickDocUncheckedCreateWithoutDocInput>
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
export type WorkspaceQuickDocCreateManyDocInputEnvelope = {
|
|
841
|
+
data: Prisma.WorkspaceQuickDocCreateManyDocInput | Prisma.WorkspaceQuickDocCreateManyDocInput[]
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
export type WorkspaceQuickDocUpsertWithWhereUniqueWithoutDocInput = {
|
|
845
|
+
where: Prisma.WorkspaceQuickDocWhereUniqueInput
|
|
846
|
+
update: Prisma.XOR<Prisma.WorkspaceQuickDocUpdateWithoutDocInput, Prisma.WorkspaceQuickDocUncheckedUpdateWithoutDocInput>
|
|
847
|
+
create: Prisma.XOR<Prisma.WorkspaceQuickDocCreateWithoutDocInput, Prisma.WorkspaceQuickDocUncheckedCreateWithoutDocInput>
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
export type WorkspaceQuickDocUpdateWithWhereUniqueWithoutDocInput = {
|
|
851
|
+
where: Prisma.WorkspaceQuickDocWhereUniqueInput
|
|
852
|
+
data: Prisma.XOR<Prisma.WorkspaceQuickDocUpdateWithoutDocInput, Prisma.WorkspaceQuickDocUncheckedUpdateWithoutDocInput>
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
export type WorkspaceQuickDocUpdateManyWithWhereWithoutDocInput = {
|
|
856
|
+
where: Prisma.WorkspaceQuickDocScalarWhereInput
|
|
857
|
+
data: Prisma.XOR<Prisma.WorkspaceQuickDocUpdateManyMutationInput, Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutDocInput>
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
export type WorkspaceQuickDocCreateManyCreatorInput = {
|
|
861
|
+
id?: string
|
|
862
|
+
workspaceId: string
|
|
863
|
+
docId?: string | null
|
|
864
|
+
externalGroup?: string | null
|
|
865
|
+
externalId?: string | null
|
|
866
|
+
displayTitle: string
|
|
867
|
+
columnIndex?: number
|
|
868
|
+
sortOrder?: number
|
|
869
|
+
label?: string | null
|
|
870
|
+
icon?: string | null
|
|
871
|
+
createdAt?: Date | string
|
|
872
|
+
updatedAt?: Date | string
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
export type WorkspaceQuickDocUpdateWithoutCreatorInput = {
|
|
876
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
877
|
+
externalGroup?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
878
|
+
externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
879
|
+
displayTitle?: Prisma.StringFieldUpdateOperationsInput | string
|
|
880
|
+
columnIndex?: Prisma.IntFieldUpdateOperationsInput | number
|
|
881
|
+
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
882
|
+
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
883
|
+
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
884
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
885
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
886
|
+
workspace?: Prisma.WorkspaceUpdateOneRequiredWithoutQuickDocsNestedInput
|
|
887
|
+
doc?: Prisma.KnowledgeDocumentUpdateOneWithoutWorkspaceQuickDocsNestedInput
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
export type WorkspaceQuickDocUncheckedUpdateWithoutCreatorInput = {
|
|
891
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
892
|
+
workspaceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
893
|
+
docId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
894
|
+
externalGroup?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
895
|
+
externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
896
|
+
displayTitle?: Prisma.StringFieldUpdateOperationsInput | string
|
|
897
|
+
columnIndex?: Prisma.IntFieldUpdateOperationsInput | number
|
|
898
|
+
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
899
|
+
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
900
|
+
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
901
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
902
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
export type WorkspaceQuickDocUncheckedUpdateManyWithoutCreatorInput = {
|
|
906
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
907
|
+
workspaceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
908
|
+
docId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
909
|
+
externalGroup?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
910
|
+
externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
911
|
+
displayTitle?: Prisma.StringFieldUpdateOperationsInput | string
|
|
912
|
+
columnIndex?: Prisma.IntFieldUpdateOperationsInput | number
|
|
913
|
+
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
914
|
+
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
915
|
+
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
916
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
917
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
export type WorkspaceQuickDocCreateManyWorkspaceInput = {
|
|
921
|
+
id?: string
|
|
922
|
+
docId?: string | null
|
|
923
|
+
externalGroup?: string | null
|
|
924
|
+
externalId?: string | null
|
|
925
|
+
displayTitle: string
|
|
926
|
+
columnIndex?: number
|
|
927
|
+
sortOrder?: number
|
|
928
|
+
label?: string | null
|
|
929
|
+
icon?: string | null
|
|
930
|
+
createdBy: string
|
|
931
|
+
createdAt?: Date | string
|
|
932
|
+
updatedAt?: Date | string
|
|
933
|
+
}
|
|
934
|
+
|
|
935
|
+
export type WorkspaceQuickDocUpdateWithoutWorkspaceInput = {
|
|
936
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
937
|
+
externalGroup?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
938
|
+
externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
939
|
+
displayTitle?: Prisma.StringFieldUpdateOperationsInput | string
|
|
940
|
+
columnIndex?: Prisma.IntFieldUpdateOperationsInput | number
|
|
941
|
+
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
942
|
+
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
943
|
+
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
944
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
945
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
946
|
+
doc?: Prisma.KnowledgeDocumentUpdateOneWithoutWorkspaceQuickDocsNestedInput
|
|
947
|
+
creator?: Prisma.UserUpdateOneRequiredWithoutCreatedQuickDocsNestedInput
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
export type WorkspaceQuickDocUncheckedUpdateWithoutWorkspaceInput = {
|
|
951
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
952
|
+
docId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
953
|
+
externalGroup?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
954
|
+
externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
955
|
+
displayTitle?: Prisma.StringFieldUpdateOperationsInput | string
|
|
956
|
+
columnIndex?: Prisma.IntFieldUpdateOperationsInput | number
|
|
957
|
+
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
958
|
+
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
959
|
+
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
960
|
+
createdBy?: Prisma.StringFieldUpdateOperationsInput | string
|
|
961
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
962
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
export type WorkspaceQuickDocUncheckedUpdateManyWithoutWorkspaceInput = {
|
|
966
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
967
|
+
docId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
968
|
+
externalGroup?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
969
|
+
externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
970
|
+
displayTitle?: Prisma.StringFieldUpdateOperationsInput | string
|
|
971
|
+
columnIndex?: Prisma.IntFieldUpdateOperationsInput | number
|
|
972
|
+
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
973
|
+
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
974
|
+
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
975
|
+
createdBy?: Prisma.StringFieldUpdateOperationsInput | string
|
|
976
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
977
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
export type WorkspaceQuickDocCreateManyDocInput = {
|
|
981
|
+
id?: string
|
|
982
|
+
workspaceId: string
|
|
983
|
+
externalGroup?: string | null
|
|
984
|
+
externalId?: string | null
|
|
985
|
+
displayTitle: string
|
|
986
|
+
columnIndex?: number
|
|
987
|
+
sortOrder?: number
|
|
988
|
+
label?: string | null
|
|
989
|
+
icon?: string | null
|
|
990
|
+
createdBy: string
|
|
991
|
+
createdAt?: Date | string
|
|
992
|
+
updatedAt?: Date | string
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
export type WorkspaceQuickDocUpdateWithoutDocInput = {
|
|
996
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
997
|
+
externalGroup?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
998
|
+
externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
999
|
+
displayTitle?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1000
|
+
columnIndex?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1001
|
+
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1002
|
+
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1003
|
+
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1004
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1005
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1006
|
+
workspace?: Prisma.WorkspaceUpdateOneRequiredWithoutQuickDocsNestedInput
|
|
1007
|
+
creator?: Prisma.UserUpdateOneRequiredWithoutCreatedQuickDocsNestedInput
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
export type WorkspaceQuickDocUncheckedUpdateWithoutDocInput = {
|
|
1011
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1012
|
+
workspaceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1013
|
+
externalGroup?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1014
|
+
externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1015
|
+
displayTitle?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1016
|
+
columnIndex?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1017
|
+
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1018
|
+
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1019
|
+
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1020
|
+
createdBy?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1021
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1022
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
export type WorkspaceQuickDocUncheckedUpdateManyWithoutDocInput = {
|
|
1026
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1027
|
+
workspaceId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1028
|
+
externalGroup?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1029
|
+
externalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1030
|
+
displayTitle?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1031
|
+
columnIndex?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1032
|
+
sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1033
|
+
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1034
|
+
icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1035
|
+
createdBy?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1036
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1037
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
|
|
1041
|
+
|
|
1042
|
+
export type WorkspaceQuickDocSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1043
|
+
id?: boolean
|
|
1044
|
+
workspaceId?: boolean
|
|
1045
|
+
docId?: boolean
|
|
1046
|
+
externalGroup?: boolean
|
|
1047
|
+
externalId?: boolean
|
|
1048
|
+
displayTitle?: boolean
|
|
1049
|
+
columnIndex?: boolean
|
|
1050
|
+
sortOrder?: boolean
|
|
1051
|
+
label?: boolean
|
|
1052
|
+
icon?: boolean
|
|
1053
|
+
createdBy?: boolean
|
|
1054
|
+
createdAt?: boolean
|
|
1055
|
+
updatedAt?: boolean
|
|
1056
|
+
workspace?: boolean | Prisma.WorkspaceDefaultArgs<ExtArgs>
|
|
1057
|
+
doc?: boolean | Prisma.WorkspaceQuickDoc$docArgs<ExtArgs>
|
|
1058
|
+
creator?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
1059
|
+
}, ExtArgs["result"]["workspaceQuickDoc"]>
|
|
1060
|
+
|
|
1061
|
+
export type WorkspaceQuickDocSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1062
|
+
id?: boolean
|
|
1063
|
+
workspaceId?: boolean
|
|
1064
|
+
docId?: boolean
|
|
1065
|
+
externalGroup?: boolean
|
|
1066
|
+
externalId?: boolean
|
|
1067
|
+
displayTitle?: boolean
|
|
1068
|
+
columnIndex?: boolean
|
|
1069
|
+
sortOrder?: boolean
|
|
1070
|
+
label?: boolean
|
|
1071
|
+
icon?: boolean
|
|
1072
|
+
createdBy?: boolean
|
|
1073
|
+
createdAt?: boolean
|
|
1074
|
+
updatedAt?: boolean
|
|
1075
|
+
workspace?: boolean | Prisma.WorkspaceDefaultArgs<ExtArgs>
|
|
1076
|
+
doc?: boolean | Prisma.WorkspaceQuickDoc$docArgs<ExtArgs>
|
|
1077
|
+
creator?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
1078
|
+
}, ExtArgs["result"]["workspaceQuickDoc"]>
|
|
1079
|
+
|
|
1080
|
+
export type WorkspaceQuickDocSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1081
|
+
id?: boolean
|
|
1082
|
+
workspaceId?: boolean
|
|
1083
|
+
docId?: boolean
|
|
1084
|
+
externalGroup?: boolean
|
|
1085
|
+
externalId?: boolean
|
|
1086
|
+
displayTitle?: boolean
|
|
1087
|
+
columnIndex?: boolean
|
|
1088
|
+
sortOrder?: boolean
|
|
1089
|
+
label?: boolean
|
|
1090
|
+
icon?: boolean
|
|
1091
|
+
createdBy?: boolean
|
|
1092
|
+
createdAt?: boolean
|
|
1093
|
+
updatedAt?: boolean
|
|
1094
|
+
workspace?: boolean | Prisma.WorkspaceDefaultArgs<ExtArgs>
|
|
1095
|
+
doc?: boolean | Prisma.WorkspaceQuickDoc$docArgs<ExtArgs>
|
|
1096
|
+
creator?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
1097
|
+
}, ExtArgs["result"]["workspaceQuickDoc"]>
|
|
1098
|
+
|
|
1099
|
+
export type WorkspaceQuickDocSelectScalar = {
|
|
1100
|
+
id?: boolean
|
|
1101
|
+
workspaceId?: boolean
|
|
1102
|
+
docId?: boolean
|
|
1103
|
+
externalGroup?: boolean
|
|
1104
|
+
externalId?: boolean
|
|
1105
|
+
displayTitle?: boolean
|
|
1106
|
+
columnIndex?: boolean
|
|
1107
|
+
sortOrder?: boolean
|
|
1108
|
+
label?: boolean
|
|
1109
|
+
icon?: boolean
|
|
1110
|
+
createdBy?: boolean
|
|
1111
|
+
createdAt?: boolean
|
|
1112
|
+
updatedAt?: boolean
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
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"]>
|
|
1116
|
+
export type WorkspaceQuickDocInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1117
|
+
workspace?: boolean | Prisma.WorkspaceDefaultArgs<ExtArgs>
|
|
1118
|
+
doc?: boolean | Prisma.WorkspaceQuickDoc$docArgs<ExtArgs>
|
|
1119
|
+
creator?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
1120
|
+
}
|
|
1121
|
+
export type WorkspaceQuickDocIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1122
|
+
workspace?: boolean | Prisma.WorkspaceDefaultArgs<ExtArgs>
|
|
1123
|
+
doc?: boolean | Prisma.WorkspaceQuickDoc$docArgs<ExtArgs>
|
|
1124
|
+
creator?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
1125
|
+
}
|
|
1126
|
+
export type WorkspaceQuickDocIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1127
|
+
workspace?: boolean | Prisma.WorkspaceDefaultArgs<ExtArgs>
|
|
1128
|
+
doc?: boolean | Prisma.WorkspaceQuickDoc$docArgs<ExtArgs>
|
|
1129
|
+
creator?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
export type $WorkspaceQuickDocPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1133
|
+
name: "WorkspaceQuickDoc"
|
|
1134
|
+
objects: {
|
|
1135
|
+
workspace: Prisma.$WorkspacePayload<ExtArgs>
|
|
1136
|
+
doc: Prisma.$KnowledgeDocumentPayload<ExtArgs> | null
|
|
1137
|
+
creator: Prisma.$UserPayload<ExtArgs>
|
|
1138
|
+
}
|
|
1139
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1140
|
+
id: string
|
|
1141
|
+
workspaceId: string
|
|
1142
|
+
docId: string | null
|
|
1143
|
+
externalGroup: string | null
|
|
1144
|
+
externalId: string | null
|
|
1145
|
+
displayTitle: string
|
|
1146
|
+
columnIndex: number
|
|
1147
|
+
sortOrder: number
|
|
1148
|
+
label: string | null
|
|
1149
|
+
icon: string | null
|
|
1150
|
+
createdBy: string
|
|
1151
|
+
createdAt: Date
|
|
1152
|
+
updatedAt: Date
|
|
1153
|
+
}, ExtArgs["result"]["workspaceQuickDoc"]>
|
|
1154
|
+
composites: {}
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
export type WorkspaceQuickDocGetPayload<S extends boolean | null | undefined | WorkspaceQuickDocDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$WorkspaceQuickDocPayload, S>
|
|
1158
|
+
|
|
1159
|
+
export type WorkspaceQuickDocCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
1160
|
+
Omit<WorkspaceQuickDocFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1161
|
+
select?: WorkspaceQuickDocCountAggregateInputType | true
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
export interface WorkspaceQuickDocDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1165
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['WorkspaceQuickDoc'], meta: { name: 'WorkspaceQuickDoc' } }
|
|
1166
|
+
/**
|
|
1167
|
+
* Find zero or one WorkspaceQuickDoc that matches the filter.
|
|
1168
|
+
* @param {WorkspaceQuickDocFindUniqueArgs} args - Arguments to find a WorkspaceQuickDoc
|
|
1169
|
+
* @example
|
|
1170
|
+
* // Get one WorkspaceQuickDoc
|
|
1171
|
+
* const workspaceQuickDoc = await prisma.workspaceQuickDoc.findUnique({
|
|
1172
|
+
* where: {
|
|
1173
|
+
* // ... provide filter here
|
|
1174
|
+
* }
|
|
1175
|
+
* })
|
|
1176
|
+
*/
|
|
1177
|
+
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>
|
|
1178
|
+
|
|
1179
|
+
/**
|
|
1180
|
+
* Find one WorkspaceQuickDoc that matches the filter or throw an error with `error.code='P2025'`
|
|
1181
|
+
* if no matches were found.
|
|
1182
|
+
* @param {WorkspaceQuickDocFindUniqueOrThrowArgs} args - Arguments to find a WorkspaceQuickDoc
|
|
1183
|
+
* @example
|
|
1184
|
+
* // Get one WorkspaceQuickDoc
|
|
1185
|
+
* const workspaceQuickDoc = await prisma.workspaceQuickDoc.findUniqueOrThrow({
|
|
1186
|
+
* where: {
|
|
1187
|
+
* // ... provide filter here
|
|
1188
|
+
* }
|
|
1189
|
+
* })
|
|
1190
|
+
*/
|
|
1191
|
+
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>
|
|
1192
|
+
|
|
1193
|
+
/**
|
|
1194
|
+
* Find the first WorkspaceQuickDoc that matches the filter.
|
|
1195
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1196
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1197
|
+
* @param {WorkspaceQuickDocFindFirstArgs} args - Arguments to find a WorkspaceQuickDoc
|
|
1198
|
+
* @example
|
|
1199
|
+
* // Get one WorkspaceQuickDoc
|
|
1200
|
+
* const workspaceQuickDoc = await prisma.workspaceQuickDoc.findFirst({
|
|
1201
|
+
* where: {
|
|
1202
|
+
* // ... provide filter here
|
|
1203
|
+
* }
|
|
1204
|
+
* })
|
|
1205
|
+
*/
|
|
1206
|
+
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>
|
|
1207
|
+
|
|
1208
|
+
/**
|
|
1209
|
+
* Find the first WorkspaceQuickDoc that matches the filter or
|
|
1210
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1211
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1212
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1213
|
+
* @param {WorkspaceQuickDocFindFirstOrThrowArgs} args - Arguments to find a WorkspaceQuickDoc
|
|
1214
|
+
* @example
|
|
1215
|
+
* // Get one WorkspaceQuickDoc
|
|
1216
|
+
* const workspaceQuickDoc = await prisma.workspaceQuickDoc.findFirstOrThrow({
|
|
1217
|
+
* where: {
|
|
1218
|
+
* // ... provide filter here
|
|
1219
|
+
* }
|
|
1220
|
+
* })
|
|
1221
|
+
*/
|
|
1222
|
+
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>
|
|
1223
|
+
|
|
1224
|
+
/**
|
|
1225
|
+
* Find zero or more WorkspaceQuickDocs that matches the filter.
|
|
1226
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1227
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1228
|
+
* @param {WorkspaceQuickDocFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1229
|
+
* @example
|
|
1230
|
+
* // Get all WorkspaceQuickDocs
|
|
1231
|
+
* const workspaceQuickDocs = await prisma.workspaceQuickDoc.findMany()
|
|
1232
|
+
*
|
|
1233
|
+
* // Get first 10 WorkspaceQuickDocs
|
|
1234
|
+
* const workspaceQuickDocs = await prisma.workspaceQuickDoc.findMany({ take: 10 })
|
|
1235
|
+
*
|
|
1236
|
+
* // Only select the `id`
|
|
1237
|
+
* const workspaceQuickDocWithIdOnly = await prisma.workspaceQuickDoc.findMany({ select: { id: true } })
|
|
1238
|
+
*
|
|
1239
|
+
*/
|
|
1240
|
+
findMany<T extends WorkspaceQuickDocFindManyArgs>(args?: Prisma.SelectSubset<T, WorkspaceQuickDocFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkspaceQuickDocPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
1241
|
+
|
|
1242
|
+
/**
|
|
1243
|
+
* Create a WorkspaceQuickDoc.
|
|
1244
|
+
* @param {WorkspaceQuickDocCreateArgs} args - Arguments to create a WorkspaceQuickDoc.
|
|
1245
|
+
* @example
|
|
1246
|
+
* // Create one WorkspaceQuickDoc
|
|
1247
|
+
* const WorkspaceQuickDoc = await prisma.workspaceQuickDoc.create({
|
|
1248
|
+
* data: {
|
|
1249
|
+
* // ... data to create a WorkspaceQuickDoc
|
|
1250
|
+
* }
|
|
1251
|
+
* })
|
|
1252
|
+
*
|
|
1253
|
+
*/
|
|
1254
|
+
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>
|
|
1255
|
+
|
|
1256
|
+
/**
|
|
1257
|
+
* Create many WorkspaceQuickDocs.
|
|
1258
|
+
* @param {WorkspaceQuickDocCreateManyArgs} args - Arguments to create many WorkspaceQuickDocs.
|
|
1259
|
+
* @example
|
|
1260
|
+
* // Create many WorkspaceQuickDocs
|
|
1261
|
+
* const workspaceQuickDoc = await prisma.workspaceQuickDoc.createMany({
|
|
1262
|
+
* data: [
|
|
1263
|
+
* // ... provide data here
|
|
1264
|
+
* ]
|
|
1265
|
+
* })
|
|
1266
|
+
*
|
|
1267
|
+
*/
|
|
1268
|
+
createMany<T extends WorkspaceQuickDocCreateManyArgs>(args?: Prisma.SelectSubset<T, WorkspaceQuickDocCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1269
|
+
|
|
1270
|
+
/**
|
|
1271
|
+
* Create many WorkspaceQuickDocs and returns the data saved in the database.
|
|
1272
|
+
* @param {WorkspaceQuickDocCreateManyAndReturnArgs} args - Arguments to create many WorkspaceQuickDocs.
|
|
1273
|
+
* @example
|
|
1274
|
+
* // Create many WorkspaceQuickDocs
|
|
1275
|
+
* const workspaceQuickDoc = await prisma.workspaceQuickDoc.createManyAndReturn({
|
|
1276
|
+
* data: [
|
|
1277
|
+
* // ... provide data here
|
|
1278
|
+
* ]
|
|
1279
|
+
* })
|
|
1280
|
+
*
|
|
1281
|
+
* // Create many WorkspaceQuickDocs and only return the `id`
|
|
1282
|
+
* const workspaceQuickDocWithIdOnly = await prisma.workspaceQuickDoc.createManyAndReturn({
|
|
1283
|
+
* select: { id: true },
|
|
1284
|
+
* data: [
|
|
1285
|
+
* // ... provide data here
|
|
1286
|
+
* ]
|
|
1287
|
+
* })
|
|
1288
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1289
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1290
|
+
*
|
|
1291
|
+
*/
|
|
1292
|
+
createManyAndReturn<T extends WorkspaceQuickDocCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, WorkspaceQuickDocCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkspaceQuickDocPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1293
|
+
|
|
1294
|
+
/**
|
|
1295
|
+
* Delete a WorkspaceQuickDoc.
|
|
1296
|
+
* @param {WorkspaceQuickDocDeleteArgs} args - Arguments to delete one WorkspaceQuickDoc.
|
|
1297
|
+
* @example
|
|
1298
|
+
* // Delete one WorkspaceQuickDoc
|
|
1299
|
+
* const WorkspaceQuickDoc = await prisma.workspaceQuickDoc.delete({
|
|
1300
|
+
* where: {
|
|
1301
|
+
* // ... filter to delete one WorkspaceQuickDoc
|
|
1302
|
+
* }
|
|
1303
|
+
* })
|
|
1304
|
+
*
|
|
1305
|
+
*/
|
|
1306
|
+
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>
|
|
1307
|
+
|
|
1308
|
+
/**
|
|
1309
|
+
* Update one WorkspaceQuickDoc.
|
|
1310
|
+
* @param {WorkspaceQuickDocUpdateArgs} args - Arguments to update one WorkspaceQuickDoc.
|
|
1311
|
+
* @example
|
|
1312
|
+
* // Update one WorkspaceQuickDoc
|
|
1313
|
+
* const workspaceQuickDoc = await prisma.workspaceQuickDoc.update({
|
|
1314
|
+
* where: {
|
|
1315
|
+
* // ... provide filter here
|
|
1316
|
+
* },
|
|
1317
|
+
* data: {
|
|
1318
|
+
* // ... provide data here
|
|
1319
|
+
* }
|
|
1320
|
+
* })
|
|
1321
|
+
*
|
|
1322
|
+
*/
|
|
1323
|
+
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>
|
|
1324
|
+
|
|
1325
|
+
/**
|
|
1326
|
+
* Delete zero or more WorkspaceQuickDocs.
|
|
1327
|
+
* @param {WorkspaceQuickDocDeleteManyArgs} args - Arguments to filter WorkspaceQuickDocs to delete.
|
|
1328
|
+
* @example
|
|
1329
|
+
* // Delete a few WorkspaceQuickDocs
|
|
1330
|
+
* const { count } = await prisma.workspaceQuickDoc.deleteMany({
|
|
1331
|
+
* where: {
|
|
1332
|
+
* // ... provide filter here
|
|
1333
|
+
* }
|
|
1334
|
+
* })
|
|
1335
|
+
*
|
|
1336
|
+
*/
|
|
1337
|
+
deleteMany<T extends WorkspaceQuickDocDeleteManyArgs>(args?: Prisma.SelectSubset<T, WorkspaceQuickDocDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1338
|
+
|
|
1339
|
+
/**
|
|
1340
|
+
* Update zero or more WorkspaceQuickDocs.
|
|
1341
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1342
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1343
|
+
* @param {WorkspaceQuickDocUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1344
|
+
* @example
|
|
1345
|
+
* // Update many WorkspaceQuickDocs
|
|
1346
|
+
* const workspaceQuickDoc = await prisma.workspaceQuickDoc.updateMany({
|
|
1347
|
+
* where: {
|
|
1348
|
+
* // ... provide filter here
|
|
1349
|
+
* },
|
|
1350
|
+
* data: {
|
|
1351
|
+
* // ... provide data here
|
|
1352
|
+
* }
|
|
1353
|
+
* })
|
|
1354
|
+
*
|
|
1355
|
+
*/
|
|
1356
|
+
updateMany<T extends WorkspaceQuickDocUpdateManyArgs>(args: Prisma.SelectSubset<T, WorkspaceQuickDocUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1357
|
+
|
|
1358
|
+
/**
|
|
1359
|
+
* Update zero or more WorkspaceQuickDocs and returns the data updated in the database.
|
|
1360
|
+
* @param {WorkspaceQuickDocUpdateManyAndReturnArgs} args - Arguments to update many WorkspaceQuickDocs.
|
|
1361
|
+
* @example
|
|
1362
|
+
* // Update many WorkspaceQuickDocs
|
|
1363
|
+
* const workspaceQuickDoc = await prisma.workspaceQuickDoc.updateManyAndReturn({
|
|
1364
|
+
* where: {
|
|
1365
|
+
* // ... provide filter here
|
|
1366
|
+
* },
|
|
1367
|
+
* data: [
|
|
1368
|
+
* // ... provide data here
|
|
1369
|
+
* ]
|
|
1370
|
+
* })
|
|
1371
|
+
*
|
|
1372
|
+
* // Update zero or more WorkspaceQuickDocs and only return the `id`
|
|
1373
|
+
* const workspaceQuickDocWithIdOnly = await prisma.workspaceQuickDoc.updateManyAndReturn({
|
|
1374
|
+
* select: { id: true },
|
|
1375
|
+
* where: {
|
|
1376
|
+
* // ... provide filter here
|
|
1377
|
+
* },
|
|
1378
|
+
* data: [
|
|
1379
|
+
* // ... provide data here
|
|
1380
|
+
* ]
|
|
1381
|
+
* })
|
|
1382
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1383
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1384
|
+
*
|
|
1385
|
+
*/
|
|
1386
|
+
updateManyAndReturn<T extends WorkspaceQuickDocUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, WorkspaceQuickDocUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkspaceQuickDocPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1387
|
+
|
|
1388
|
+
/**
|
|
1389
|
+
* Create or update one WorkspaceQuickDoc.
|
|
1390
|
+
* @param {WorkspaceQuickDocUpsertArgs} args - Arguments to update or create a WorkspaceQuickDoc.
|
|
1391
|
+
* @example
|
|
1392
|
+
* // Update or create a WorkspaceQuickDoc
|
|
1393
|
+
* const workspaceQuickDoc = await prisma.workspaceQuickDoc.upsert({
|
|
1394
|
+
* create: {
|
|
1395
|
+
* // ... data to create a WorkspaceQuickDoc
|
|
1396
|
+
* },
|
|
1397
|
+
* update: {
|
|
1398
|
+
* // ... in case it already exists, update
|
|
1399
|
+
* },
|
|
1400
|
+
* where: {
|
|
1401
|
+
* // ... the filter for the WorkspaceQuickDoc we want to update
|
|
1402
|
+
* }
|
|
1403
|
+
* })
|
|
1404
|
+
*/
|
|
1405
|
+
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>
|
|
1406
|
+
|
|
1407
|
+
|
|
1408
|
+
/**
|
|
1409
|
+
* Count the number of WorkspaceQuickDocs.
|
|
1410
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1411
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1412
|
+
* @param {WorkspaceQuickDocCountArgs} args - Arguments to filter WorkspaceQuickDocs to count.
|
|
1413
|
+
* @example
|
|
1414
|
+
* // Count the number of WorkspaceQuickDocs
|
|
1415
|
+
* const count = await prisma.workspaceQuickDoc.count({
|
|
1416
|
+
* where: {
|
|
1417
|
+
* // ... the filter for the WorkspaceQuickDocs we want to count
|
|
1418
|
+
* }
|
|
1419
|
+
* })
|
|
1420
|
+
**/
|
|
1421
|
+
count<T extends WorkspaceQuickDocCountArgs>(
|
|
1422
|
+
args?: Prisma.Subset<T, WorkspaceQuickDocCountArgs>,
|
|
1423
|
+
): Prisma.PrismaPromise<
|
|
1424
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
1425
|
+
? T['select'] extends true
|
|
1426
|
+
? number
|
|
1427
|
+
: Prisma.GetScalarType<T['select'], WorkspaceQuickDocCountAggregateOutputType>
|
|
1428
|
+
: number
|
|
1429
|
+
>
|
|
1430
|
+
|
|
1431
|
+
/**
|
|
1432
|
+
* Allows you to perform aggregations operations on a WorkspaceQuickDoc.
|
|
1433
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1434
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1435
|
+
* @param {WorkspaceQuickDocAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1436
|
+
* @example
|
|
1437
|
+
* // Ordered by age ascending
|
|
1438
|
+
* // Where email contains prisma.io
|
|
1439
|
+
* // Limited to the 10 users
|
|
1440
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1441
|
+
* _avg: {
|
|
1442
|
+
* age: true,
|
|
1443
|
+
* },
|
|
1444
|
+
* where: {
|
|
1445
|
+
* email: {
|
|
1446
|
+
* contains: "prisma.io",
|
|
1447
|
+
* },
|
|
1448
|
+
* },
|
|
1449
|
+
* orderBy: {
|
|
1450
|
+
* age: "asc",
|
|
1451
|
+
* },
|
|
1452
|
+
* take: 10,
|
|
1453
|
+
* })
|
|
1454
|
+
**/
|
|
1455
|
+
aggregate<T extends WorkspaceQuickDocAggregateArgs>(args: Prisma.Subset<T, WorkspaceQuickDocAggregateArgs>): Prisma.PrismaPromise<GetWorkspaceQuickDocAggregateType<T>>
|
|
1456
|
+
|
|
1457
|
+
/**
|
|
1458
|
+
* Group by WorkspaceQuickDoc.
|
|
1459
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1460
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1461
|
+
* @param {WorkspaceQuickDocGroupByArgs} args - Group by arguments.
|
|
1462
|
+
* @example
|
|
1463
|
+
* // Group by city, order by createdAt, get count
|
|
1464
|
+
* const result = await prisma.user.groupBy({
|
|
1465
|
+
* by: ['city', 'createdAt'],
|
|
1466
|
+
* orderBy: {
|
|
1467
|
+
* createdAt: true
|
|
1468
|
+
* },
|
|
1469
|
+
* _count: {
|
|
1470
|
+
* _all: true
|
|
1471
|
+
* },
|
|
1472
|
+
* })
|
|
1473
|
+
*
|
|
1474
|
+
**/
|
|
1475
|
+
groupBy<
|
|
1476
|
+
T extends WorkspaceQuickDocGroupByArgs,
|
|
1477
|
+
HasSelectOrTake extends Prisma.Or<
|
|
1478
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1479
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1480
|
+
>,
|
|
1481
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1482
|
+
? { orderBy: WorkspaceQuickDocGroupByArgs['orderBy'] }
|
|
1483
|
+
: { orderBy?: WorkspaceQuickDocGroupByArgs['orderBy'] },
|
|
1484
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1485
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1486
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1487
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1488
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1489
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1490
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
1491
|
+
? `Error: "by" must not be empty.`
|
|
1492
|
+
: HavingValid extends Prisma.False
|
|
1493
|
+
? {
|
|
1494
|
+
[P in HavingFields]: P extends ByFields
|
|
1495
|
+
? never
|
|
1496
|
+
: P extends string
|
|
1497
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1498
|
+
: [
|
|
1499
|
+
Error,
|
|
1500
|
+
'Field ',
|
|
1501
|
+
P,
|
|
1502
|
+
` in "having" needs to be provided in "by"`,
|
|
1503
|
+
]
|
|
1504
|
+
}[HavingFields]
|
|
1505
|
+
: 'take' extends Prisma.Keys<T>
|
|
1506
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1507
|
+
? ByValid extends Prisma.True
|
|
1508
|
+
? {}
|
|
1509
|
+
: {
|
|
1510
|
+
[P in OrderFields]: P extends ByFields
|
|
1511
|
+
? never
|
|
1512
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1513
|
+
}[OrderFields]
|
|
1514
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1515
|
+
: 'skip' extends Prisma.Keys<T>
|
|
1516
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1517
|
+
? ByValid extends Prisma.True
|
|
1518
|
+
? {}
|
|
1519
|
+
: {
|
|
1520
|
+
[P in OrderFields]: P extends ByFields
|
|
1521
|
+
? never
|
|
1522
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1523
|
+
}[OrderFields]
|
|
1524
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1525
|
+
: ByValid extends Prisma.True
|
|
1526
|
+
? {}
|
|
1527
|
+
: {
|
|
1528
|
+
[P in OrderFields]: P extends ByFields
|
|
1529
|
+
? never
|
|
1530
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1531
|
+
}[OrderFields]
|
|
1532
|
+
>(args: Prisma.SubsetIntersection<T, WorkspaceQuickDocGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetWorkspaceQuickDocGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1533
|
+
/**
|
|
1534
|
+
* Fields of the WorkspaceQuickDoc model
|
|
1535
|
+
*/
|
|
1536
|
+
readonly fields: WorkspaceQuickDocFieldRefs;
|
|
1537
|
+
}
|
|
1538
|
+
|
|
1539
|
+
/**
|
|
1540
|
+
* The delegate class that acts as a "Promise-like" for WorkspaceQuickDoc.
|
|
1541
|
+
* Why is this prefixed with `Prisma__`?
|
|
1542
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1543
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1544
|
+
*/
|
|
1545
|
+
export interface Prisma__WorkspaceQuickDocClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1546
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1547
|
+
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>
|
|
1548
|
+
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>
|
|
1549
|
+
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>
|
|
1550
|
+
/**
|
|
1551
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1552
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1553
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1554
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1555
|
+
*/
|
|
1556
|
+
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>
|
|
1557
|
+
/**
|
|
1558
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1559
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1560
|
+
* @returns A Promise for the completion of the callback.
|
|
1561
|
+
*/
|
|
1562
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1563
|
+
/**
|
|
1564
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1565
|
+
* resolved value cannot be modified from the callback.
|
|
1566
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1567
|
+
* @returns A Promise for the completion of the callback.
|
|
1568
|
+
*/
|
|
1569
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1570
|
+
}
|
|
1571
|
+
|
|
1572
|
+
|
|
1573
|
+
|
|
1574
|
+
|
|
1575
|
+
/**
|
|
1576
|
+
* Fields of the WorkspaceQuickDoc model
|
|
1577
|
+
*/
|
|
1578
|
+
export interface WorkspaceQuickDocFieldRefs {
|
|
1579
|
+
readonly id: Prisma.FieldRef<"WorkspaceQuickDoc", 'String'>
|
|
1580
|
+
readonly workspaceId: Prisma.FieldRef<"WorkspaceQuickDoc", 'String'>
|
|
1581
|
+
readonly docId: Prisma.FieldRef<"WorkspaceQuickDoc", 'String'>
|
|
1582
|
+
readonly externalGroup: Prisma.FieldRef<"WorkspaceQuickDoc", 'String'>
|
|
1583
|
+
readonly externalId: Prisma.FieldRef<"WorkspaceQuickDoc", 'String'>
|
|
1584
|
+
readonly displayTitle: Prisma.FieldRef<"WorkspaceQuickDoc", 'String'>
|
|
1585
|
+
readonly columnIndex: Prisma.FieldRef<"WorkspaceQuickDoc", 'Int'>
|
|
1586
|
+
readonly sortOrder: Prisma.FieldRef<"WorkspaceQuickDoc", 'Int'>
|
|
1587
|
+
readonly label: Prisma.FieldRef<"WorkspaceQuickDoc", 'String'>
|
|
1588
|
+
readonly icon: Prisma.FieldRef<"WorkspaceQuickDoc", 'String'>
|
|
1589
|
+
readonly createdBy: Prisma.FieldRef<"WorkspaceQuickDoc", 'String'>
|
|
1590
|
+
readonly createdAt: Prisma.FieldRef<"WorkspaceQuickDoc", 'DateTime'>
|
|
1591
|
+
readonly updatedAt: Prisma.FieldRef<"WorkspaceQuickDoc", 'DateTime'>
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
|
|
1595
|
+
// Custom InputTypes
|
|
1596
|
+
/**
|
|
1597
|
+
* WorkspaceQuickDoc findUnique
|
|
1598
|
+
*/
|
|
1599
|
+
export type WorkspaceQuickDocFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1600
|
+
/**
|
|
1601
|
+
* Select specific fields to fetch from the WorkspaceQuickDoc
|
|
1602
|
+
*/
|
|
1603
|
+
select?: Prisma.WorkspaceQuickDocSelect<ExtArgs> | null
|
|
1604
|
+
/**
|
|
1605
|
+
* Omit specific fields from the WorkspaceQuickDoc
|
|
1606
|
+
*/
|
|
1607
|
+
omit?: Prisma.WorkspaceQuickDocOmit<ExtArgs> | null
|
|
1608
|
+
/**
|
|
1609
|
+
* Choose, which related nodes to fetch as well
|
|
1610
|
+
*/
|
|
1611
|
+
include?: Prisma.WorkspaceQuickDocInclude<ExtArgs> | null
|
|
1612
|
+
/**
|
|
1613
|
+
* Filter, which WorkspaceQuickDoc to fetch.
|
|
1614
|
+
*/
|
|
1615
|
+
where: Prisma.WorkspaceQuickDocWhereUniqueInput
|
|
1616
|
+
}
|
|
1617
|
+
|
|
1618
|
+
/**
|
|
1619
|
+
* WorkspaceQuickDoc findUniqueOrThrow
|
|
1620
|
+
*/
|
|
1621
|
+
export type WorkspaceQuickDocFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1622
|
+
/**
|
|
1623
|
+
* Select specific fields to fetch from the WorkspaceQuickDoc
|
|
1624
|
+
*/
|
|
1625
|
+
select?: Prisma.WorkspaceQuickDocSelect<ExtArgs> | null
|
|
1626
|
+
/**
|
|
1627
|
+
* Omit specific fields from the WorkspaceQuickDoc
|
|
1628
|
+
*/
|
|
1629
|
+
omit?: Prisma.WorkspaceQuickDocOmit<ExtArgs> | null
|
|
1630
|
+
/**
|
|
1631
|
+
* Choose, which related nodes to fetch as well
|
|
1632
|
+
*/
|
|
1633
|
+
include?: Prisma.WorkspaceQuickDocInclude<ExtArgs> | null
|
|
1634
|
+
/**
|
|
1635
|
+
* Filter, which WorkspaceQuickDoc to fetch.
|
|
1636
|
+
*/
|
|
1637
|
+
where: Prisma.WorkspaceQuickDocWhereUniqueInput
|
|
1638
|
+
}
|
|
1639
|
+
|
|
1640
|
+
/**
|
|
1641
|
+
* WorkspaceQuickDoc findFirst
|
|
1642
|
+
*/
|
|
1643
|
+
export type WorkspaceQuickDocFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1644
|
+
/**
|
|
1645
|
+
* Select specific fields to fetch from the WorkspaceQuickDoc
|
|
1646
|
+
*/
|
|
1647
|
+
select?: Prisma.WorkspaceQuickDocSelect<ExtArgs> | null
|
|
1648
|
+
/**
|
|
1649
|
+
* Omit specific fields from the WorkspaceQuickDoc
|
|
1650
|
+
*/
|
|
1651
|
+
omit?: Prisma.WorkspaceQuickDocOmit<ExtArgs> | null
|
|
1652
|
+
/**
|
|
1653
|
+
* Choose, which related nodes to fetch as well
|
|
1654
|
+
*/
|
|
1655
|
+
include?: Prisma.WorkspaceQuickDocInclude<ExtArgs> | null
|
|
1656
|
+
/**
|
|
1657
|
+
* Filter, which WorkspaceQuickDoc to fetch.
|
|
1658
|
+
*/
|
|
1659
|
+
where?: Prisma.WorkspaceQuickDocWhereInput
|
|
1660
|
+
/**
|
|
1661
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1662
|
+
*
|
|
1663
|
+
* Determine the order of WorkspaceQuickDocs to fetch.
|
|
1664
|
+
*/
|
|
1665
|
+
orderBy?: Prisma.WorkspaceQuickDocOrderByWithRelationInput | Prisma.WorkspaceQuickDocOrderByWithRelationInput[]
|
|
1666
|
+
/**
|
|
1667
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1668
|
+
*
|
|
1669
|
+
* Sets the position for searching for WorkspaceQuickDocs.
|
|
1670
|
+
*/
|
|
1671
|
+
cursor?: Prisma.WorkspaceQuickDocWhereUniqueInput
|
|
1672
|
+
/**
|
|
1673
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1674
|
+
*
|
|
1675
|
+
* Take `±n` WorkspaceQuickDocs from the position of the cursor.
|
|
1676
|
+
*/
|
|
1677
|
+
take?: number
|
|
1678
|
+
/**
|
|
1679
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1680
|
+
*
|
|
1681
|
+
* Skip the first `n` WorkspaceQuickDocs.
|
|
1682
|
+
*/
|
|
1683
|
+
skip?: number
|
|
1684
|
+
/**
|
|
1685
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1686
|
+
*
|
|
1687
|
+
* Filter by unique combinations of WorkspaceQuickDocs.
|
|
1688
|
+
*/
|
|
1689
|
+
distinct?: Prisma.WorkspaceQuickDocScalarFieldEnum | Prisma.WorkspaceQuickDocScalarFieldEnum[]
|
|
1690
|
+
}
|
|
1691
|
+
|
|
1692
|
+
/**
|
|
1693
|
+
* WorkspaceQuickDoc findFirstOrThrow
|
|
1694
|
+
*/
|
|
1695
|
+
export type WorkspaceQuickDocFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1696
|
+
/**
|
|
1697
|
+
* Select specific fields to fetch from the WorkspaceQuickDoc
|
|
1698
|
+
*/
|
|
1699
|
+
select?: Prisma.WorkspaceQuickDocSelect<ExtArgs> | null
|
|
1700
|
+
/**
|
|
1701
|
+
* Omit specific fields from the WorkspaceQuickDoc
|
|
1702
|
+
*/
|
|
1703
|
+
omit?: Prisma.WorkspaceQuickDocOmit<ExtArgs> | null
|
|
1704
|
+
/**
|
|
1705
|
+
* Choose, which related nodes to fetch as well
|
|
1706
|
+
*/
|
|
1707
|
+
include?: Prisma.WorkspaceQuickDocInclude<ExtArgs> | null
|
|
1708
|
+
/**
|
|
1709
|
+
* Filter, which WorkspaceQuickDoc to fetch.
|
|
1710
|
+
*/
|
|
1711
|
+
where?: Prisma.WorkspaceQuickDocWhereInput
|
|
1712
|
+
/**
|
|
1713
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1714
|
+
*
|
|
1715
|
+
* Determine the order of WorkspaceQuickDocs to fetch.
|
|
1716
|
+
*/
|
|
1717
|
+
orderBy?: Prisma.WorkspaceQuickDocOrderByWithRelationInput | Prisma.WorkspaceQuickDocOrderByWithRelationInput[]
|
|
1718
|
+
/**
|
|
1719
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1720
|
+
*
|
|
1721
|
+
* Sets the position for searching for WorkspaceQuickDocs.
|
|
1722
|
+
*/
|
|
1723
|
+
cursor?: Prisma.WorkspaceQuickDocWhereUniqueInput
|
|
1724
|
+
/**
|
|
1725
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1726
|
+
*
|
|
1727
|
+
* Take `±n` WorkspaceQuickDocs from the position of the cursor.
|
|
1728
|
+
*/
|
|
1729
|
+
take?: number
|
|
1730
|
+
/**
|
|
1731
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1732
|
+
*
|
|
1733
|
+
* Skip the first `n` WorkspaceQuickDocs.
|
|
1734
|
+
*/
|
|
1735
|
+
skip?: number
|
|
1736
|
+
/**
|
|
1737
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1738
|
+
*
|
|
1739
|
+
* Filter by unique combinations of WorkspaceQuickDocs.
|
|
1740
|
+
*/
|
|
1741
|
+
distinct?: Prisma.WorkspaceQuickDocScalarFieldEnum | Prisma.WorkspaceQuickDocScalarFieldEnum[]
|
|
1742
|
+
}
|
|
1743
|
+
|
|
1744
|
+
/**
|
|
1745
|
+
* WorkspaceQuickDoc findMany
|
|
1746
|
+
*/
|
|
1747
|
+
export type WorkspaceQuickDocFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1748
|
+
/**
|
|
1749
|
+
* Select specific fields to fetch from the WorkspaceQuickDoc
|
|
1750
|
+
*/
|
|
1751
|
+
select?: Prisma.WorkspaceQuickDocSelect<ExtArgs> | null
|
|
1752
|
+
/**
|
|
1753
|
+
* Omit specific fields from the WorkspaceQuickDoc
|
|
1754
|
+
*/
|
|
1755
|
+
omit?: Prisma.WorkspaceQuickDocOmit<ExtArgs> | null
|
|
1756
|
+
/**
|
|
1757
|
+
* Choose, which related nodes to fetch as well
|
|
1758
|
+
*/
|
|
1759
|
+
include?: Prisma.WorkspaceQuickDocInclude<ExtArgs> | null
|
|
1760
|
+
/**
|
|
1761
|
+
* Filter, which WorkspaceQuickDocs to fetch.
|
|
1762
|
+
*/
|
|
1763
|
+
where?: Prisma.WorkspaceQuickDocWhereInput
|
|
1764
|
+
/**
|
|
1765
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1766
|
+
*
|
|
1767
|
+
* Determine the order of WorkspaceQuickDocs to fetch.
|
|
1768
|
+
*/
|
|
1769
|
+
orderBy?: Prisma.WorkspaceQuickDocOrderByWithRelationInput | Prisma.WorkspaceQuickDocOrderByWithRelationInput[]
|
|
1770
|
+
/**
|
|
1771
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1772
|
+
*
|
|
1773
|
+
* Sets the position for listing WorkspaceQuickDocs.
|
|
1774
|
+
*/
|
|
1775
|
+
cursor?: Prisma.WorkspaceQuickDocWhereUniqueInput
|
|
1776
|
+
/**
|
|
1777
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1778
|
+
*
|
|
1779
|
+
* Take `±n` WorkspaceQuickDocs from the position of the cursor.
|
|
1780
|
+
*/
|
|
1781
|
+
take?: number
|
|
1782
|
+
/**
|
|
1783
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1784
|
+
*
|
|
1785
|
+
* Skip the first `n` WorkspaceQuickDocs.
|
|
1786
|
+
*/
|
|
1787
|
+
skip?: number
|
|
1788
|
+
/**
|
|
1789
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1790
|
+
*
|
|
1791
|
+
* Filter by unique combinations of WorkspaceQuickDocs.
|
|
1792
|
+
*/
|
|
1793
|
+
distinct?: Prisma.WorkspaceQuickDocScalarFieldEnum | Prisma.WorkspaceQuickDocScalarFieldEnum[]
|
|
1794
|
+
}
|
|
1795
|
+
|
|
1796
|
+
/**
|
|
1797
|
+
* WorkspaceQuickDoc create
|
|
1798
|
+
*/
|
|
1799
|
+
export type WorkspaceQuickDocCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1800
|
+
/**
|
|
1801
|
+
* Select specific fields to fetch from the WorkspaceQuickDoc
|
|
1802
|
+
*/
|
|
1803
|
+
select?: Prisma.WorkspaceQuickDocSelect<ExtArgs> | null
|
|
1804
|
+
/**
|
|
1805
|
+
* Omit specific fields from the WorkspaceQuickDoc
|
|
1806
|
+
*/
|
|
1807
|
+
omit?: Prisma.WorkspaceQuickDocOmit<ExtArgs> | null
|
|
1808
|
+
/**
|
|
1809
|
+
* Choose, which related nodes to fetch as well
|
|
1810
|
+
*/
|
|
1811
|
+
include?: Prisma.WorkspaceQuickDocInclude<ExtArgs> | null
|
|
1812
|
+
/**
|
|
1813
|
+
* The data needed to create a WorkspaceQuickDoc.
|
|
1814
|
+
*/
|
|
1815
|
+
data: Prisma.XOR<Prisma.WorkspaceQuickDocCreateInput, Prisma.WorkspaceQuickDocUncheckedCreateInput>
|
|
1816
|
+
}
|
|
1817
|
+
|
|
1818
|
+
/**
|
|
1819
|
+
* WorkspaceQuickDoc createMany
|
|
1820
|
+
*/
|
|
1821
|
+
export type WorkspaceQuickDocCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1822
|
+
/**
|
|
1823
|
+
* The data used to create many WorkspaceQuickDocs.
|
|
1824
|
+
*/
|
|
1825
|
+
data: Prisma.WorkspaceQuickDocCreateManyInput | Prisma.WorkspaceQuickDocCreateManyInput[]
|
|
1826
|
+
}
|
|
1827
|
+
|
|
1828
|
+
/**
|
|
1829
|
+
* WorkspaceQuickDoc createManyAndReturn
|
|
1830
|
+
*/
|
|
1831
|
+
export type WorkspaceQuickDocCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1832
|
+
/**
|
|
1833
|
+
* Select specific fields to fetch from the WorkspaceQuickDoc
|
|
1834
|
+
*/
|
|
1835
|
+
select?: Prisma.WorkspaceQuickDocSelectCreateManyAndReturn<ExtArgs> | null
|
|
1836
|
+
/**
|
|
1837
|
+
* Omit specific fields from the WorkspaceQuickDoc
|
|
1838
|
+
*/
|
|
1839
|
+
omit?: Prisma.WorkspaceQuickDocOmit<ExtArgs> | null
|
|
1840
|
+
/**
|
|
1841
|
+
* The data used to create many WorkspaceQuickDocs.
|
|
1842
|
+
*/
|
|
1843
|
+
data: Prisma.WorkspaceQuickDocCreateManyInput | Prisma.WorkspaceQuickDocCreateManyInput[]
|
|
1844
|
+
/**
|
|
1845
|
+
* Choose, which related nodes to fetch as well
|
|
1846
|
+
*/
|
|
1847
|
+
include?: Prisma.WorkspaceQuickDocIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1848
|
+
}
|
|
1849
|
+
|
|
1850
|
+
/**
|
|
1851
|
+
* WorkspaceQuickDoc update
|
|
1852
|
+
*/
|
|
1853
|
+
export type WorkspaceQuickDocUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1854
|
+
/**
|
|
1855
|
+
* Select specific fields to fetch from the WorkspaceQuickDoc
|
|
1856
|
+
*/
|
|
1857
|
+
select?: Prisma.WorkspaceQuickDocSelect<ExtArgs> | null
|
|
1858
|
+
/**
|
|
1859
|
+
* Omit specific fields from the WorkspaceQuickDoc
|
|
1860
|
+
*/
|
|
1861
|
+
omit?: Prisma.WorkspaceQuickDocOmit<ExtArgs> | null
|
|
1862
|
+
/**
|
|
1863
|
+
* Choose, which related nodes to fetch as well
|
|
1864
|
+
*/
|
|
1865
|
+
include?: Prisma.WorkspaceQuickDocInclude<ExtArgs> | null
|
|
1866
|
+
/**
|
|
1867
|
+
* The data needed to update a WorkspaceQuickDoc.
|
|
1868
|
+
*/
|
|
1869
|
+
data: Prisma.XOR<Prisma.WorkspaceQuickDocUpdateInput, Prisma.WorkspaceQuickDocUncheckedUpdateInput>
|
|
1870
|
+
/**
|
|
1871
|
+
* Choose, which WorkspaceQuickDoc to update.
|
|
1872
|
+
*/
|
|
1873
|
+
where: Prisma.WorkspaceQuickDocWhereUniqueInput
|
|
1874
|
+
}
|
|
1875
|
+
|
|
1876
|
+
/**
|
|
1877
|
+
* WorkspaceQuickDoc updateMany
|
|
1878
|
+
*/
|
|
1879
|
+
export type WorkspaceQuickDocUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1880
|
+
/**
|
|
1881
|
+
* The data used to update WorkspaceQuickDocs.
|
|
1882
|
+
*/
|
|
1883
|
+
data: Prisma.XOR<Prisma.WorkspaceQuickDocUpdateManyMutationInput, Prisma.WorkspaceQuickDocUncheckedUpdateManyInput>
|
|
1884
|
+
/**
|
|
1885
|
+
* Filter which WorkspaceQuickDocs to update
|
|
1886
|
+
*/
|
|
1887
|
+
where?: Prisma.WorkspaceQuickDocWhereInput
|
|
1888
|
+
/**
|
|
1889
|
+
* Limit how many WorkspaceQuickDocs to update.
|
|
1890
|
+
*/
|
|
1891
|
+
limit?: number
|
|
1892
|
+
}
|
|
1893
|
+
|
|
1894
|
+
/**
|
|
1895
|
+
* WorkspaceQuickDoc updateManyAndReturn
|
|
1896
|
+
*/
|
|
1897
|
+
export type WorkspaceQuickDocUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1898
|
+
/**
|
|
1899
|
+
* Select specific fields to fetch from the WorkspaceQuickDoc
|
|
1900
|
+
*/
|
|
1901
|
+
select?: Prisma.WorkspaceQuickDocSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1902
|
+
/**
|
|
1903
|
+
* Omit specific fields from the WorkspaceQuickDoc
|
|
1904
|
+
*/
|
|
1905
|
+
omit?: Prisma.WorkspaceQuickDocOmit<ExtArgs> | null
|
|
1906
|
+
/**
|
|
1907
|
+
* The data used to update WorkspaceQuickDocs.
|
|
1908
|
+
*/
|
|
1909
|
+
data: Prisma.XOR<Prisma.WorkspaceQuickDocUpdateManyMutationInput, Prisma.WorkspaceQuickDocUncheckedUpdateManyInput>
|
|
1910
|
+
/**
|
|
1911
|
+
* Filter which WorkspaceQuickDocs to update
|
|
1912
|
+
*/
|
|
1913
|
+
where?: Prisma.WorkspaceQuickDocWhereInput
|
|
1914
|
+
/**
|
|
1915
|
+
* Limit how many WorkspaceQuickDocs to update.
|
|
1916
|
+
*/
|
|
1917
|
+
limit?: number
|
|
1918
|
+
/**
|
|
1919
|
+
* Choose, which related nodes to fetch as well
|
|
1920
|
+
*/
|
|
1921
|
+
include?: Prisma.WorkspaceQuickDocIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1922
|
+
}
|
|
1923
|
+
|
|
1924
|
+
/**
|
|
1925
|
+
* WorkspaceQuickDoc upsert
|
|
1926
|
+
*/
|
|
1927
|
+
export type WorkspaceQuickDocUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1928
|
+
/**
|
|
1929
|
+
* Select specific fields to fetch from the WorkspaceQuickDoc
|
|
1930
|
+
*/
|
|
1931
|
+
select?: Prisma.WorkspaceQuickDocSelect<ExtArgs> | null
|
|
1932
|
+
/**
|
|
1933
|
+
* Omit specific fields from the WorkspaceQuickDoc
|
|
1934
|
+
*/
|
|
1935
|
+
omit?: Prisma.WorkspaceQuickDocOmit<ExtArgs> | null
|
|
1936
|
+
/**
|
|
1937
|
+
* Choose, which related nodes to fetch as well
|
|
1938
|
+
*/
|
|
1939
|
+
include?: Prisma.WorkspaceQuickDocInclude<ExtArgs> | null
|
|
1940
|
+
/**
|
|
1941
|
+
* The filter to search for the WorkspaceQuickDoc to update in case it exists.
|
|
1942
|
+
*/
|
|
1943
|
+
where: Prisma.WorkspaceQuickDocWhereUniqueInput
|
|
1944
|
+
/**
|
|
1945
|
+
* In case the WorkspaceQuickDoc found by the `where` argument doesn't exist, create a new WorkspaceQuickDoc with this data.
|
|
1946
|
+
*/
|
|
1947
|
+
create: Prisma.XOR<Prisma.WorkspaceQuickDocCreateInput, Prisma.WorkspaceQuickDocUncheckedCreateInput>
|
|
1948
|
+
/**
|
|
1949
|
+
* In case the WorkspaceQuickDoc was found with the provided `where` argument, update it with this data.
|
|
1950
|
+
*/
|
|
1951
|
+
update: Prisma.XOR<Prisma.WorkspaceQuickDocUpdateInput, Prisma.WorkspaceQuickDocUncheckedUpdateInput>
|
|
1952
|
+
}
|
|
1953
|
+
|
|
1954
|
+
/**
|
|
1955
|
+
* WorkspaceQuickDoc delete
|
|
1956
|
+
*/
|
|
1957
|
+
export type WorkspaceQuickDocDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1958
|
+
/**
|
|
1959
|
+
* Select specific fields to fetch from the WorkspaceQuickDoc
|
|
1960
|
+
*/
|
|
1961
|
+
select?: Prisma.WorkspaceQuickDocSelect<ExtArgs> | null
|
|
1962
|
+
/**
|
|
1963
|
+
* Omit specific fields from the WorkspaceQuickDoc
|
|
1964
|
+
*/
|
|
1965
|
+
omit?: Prisma.WorkspaceQuickDocOmit<ExtArgs> | null
|
|
1966
|
+
/**
|
|
1967
|
+
* Choose, which related nodes to fetch as well
|
|
1968
|
+
*/
|
|
1969
|
+
include?: Prisma.WorkspaceQuickDocInclude<ExtArgs> | null
|
|
1970
|
+
/**
|
|
1971
|
+
* Filter which WorkspaceQuickDoc to delete.
|
|
1972
|
+
*/
|
|
1973
|
+
where: Prisma.WorkspaceQuickDocWhereUniqueInput
|
|
1974
|
+
}
|
|
1975
|
+
|
|
1976
|
+
/**
|
|
1977
|
+
* WorkspaceQuickDoc deleteMany
|
|
1978
|
+
*/
|
|
1979
|
+
export type WorkspaceQuickDocDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1980
|
+
/**
|
|
1981
|
+
* Filter which WorkspaceQuickDocs to delete
|
|
1982
|
+
*/
|
|
1983
|
+
where?: Prisma.WorkspaceQuickDocWhereInput
|
|
1984
|
+
/**
|
|
1985
|
+
* Limit how many WorkspaceQuickDocs to delete.
|
|
1986
|
+
*/
|
|
1987
|
+
limit?: number
|
|
1988
|
+
}
|
|
1989
|
+
|
|
1990
|
+
/**
|
|
1991
|
+
* WorkspaceQuickDoc.doc
|
|
1992
|
+
*/
|
|
1993
|
+
export type WorkspaceQuickDoc$docArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1994
|
+
/**
|
|
1995
|
+
* Select specific fields to fetch from the KnowledgeDocument
|
|
1996
|
+
*/
|
|
1997
|
+
select?: Prisma.KnowledgeDocumentSelect<ExtArgs> | null
|
|
1998
|
+
/**
|
|
1999
|
+
* Omit specific fields from the KnowledgeDocument
|
|
2000
|
+
*/
|
|
2001
|
+
omit?: Prisma.KnowledgeDocumentOmit<ExtArgs> | null
|
|
2002
|
+
/**
|
|
2003
|
+
* Choose, which related nodes to fetch as well
|
|
2004
|
+
*/
|
|
2005
|
+
include?: Prisma.KnowledgeDocumentInclude<ExtArgs> | null
|
|
2006
|
+
where?: Prisma.KnowledgeDocumentWhereInput
|
|
2007
|
+
}
|
|
2008
|
+
|
|
2009
|
+
/**
|
|
2010
|
+
* WorkspaceQuickDoc without action
|
|
2011
|
+
*/
|
|
2012
|
+
export type WorkspaceQuickDocDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2013
|
+
/**
|
|
2014
|
+
* Select specific fields to fetch from the WorkspaceQuickDoc
|
|
2015
|
+
*/
|
|
2016
|
+
select?: Prisma.WorkspaceQuickDocSelect<ExtArgs> | null
|
|
2017
|
+
/**
|
|
2018
|
+
* Omit specific fields from the WorkspaceQuickDoc
|
|
2019
|
+
*/
|
|
2020
|
+
omit?: Prisma.WorkspaceQuickDocOmit<ExtArgs> | null
|
|
2021
|
+
/**
|
|
2022
|
+
* Choose, which related nodes to fetch as well
|
|
2023
|
+
*/
|
|
2024
|
+
include?: Prisma.WorkspaceQuickDocInclude<ExtArgs> | null
|
|
2025
|
+
}
|