@allbluecn/database 0.4.18 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/generated/browser.ts +18 -3
- package/generated/client.ts +20 -5
- package/generated/commonInputTypes.ts +2 -2
- package/generated/internal/class.ts +35 -5
- package/generated/internal/prismaNamespace.ts +276 -4
- package/generated/internal/prismaNamespaceBrowser.ts +49 -2
- package/generated/models/Account.ts +2 -2
- package/generated/models/AgentConversation.ts +2 -2
- package/generated/models/AgentMessage.ts +2 -2
- package/generated/models/AiProvider.ts +2 -2
- package/generated/models/AiProviderConfig.ts +2 -2
- package/generated/models/AiUsageLog.ts +2 -2
- package/generated/models/AnyHubApp.ts +2 -2
- package/generated/models/AnyHubMarketApp.ts +2 -2
- package/generated/models/AnyHubPermission.ts +2 -2
- package/generated/models/AnyHubRecommendation.ts +2 -2
- package/generated/models/AnyHubRecommender.ts +2 -2
- package/generated/models/Artboard.ts +2 -2
- package/generated/models/ArtboardExport.ts +2 -2
- package/generated/models/ArticleFavorite.ts +2 -2
- package/generated/models/AuditLog.ts +2 -2
- package/generated/models/Block.ts +2 -2
- package/generated/models/BlockComponent.ts +2 -2
- package/generated/models/BlockInstance.ts +2 -2
- package/generated/models/BookmarkCategory.ts +2 -2
- package/generated/models/ChatInterrupt.ts +2 -2
- package/generated/models/ChatMessage.ts +2 -2
- package/generated/models/ChatRun.ts +2 -2
- package/generated/models/ChatThread.ts +2 -6
- package/generated/models/Comment.ts +2 -2
- package/generated/models/CommentIgnore.ts +2 -2
- package/generated/models/CommentReaction.ts +2 -2
- package/generated/models/ComplianceExport.ts +2 -2
- package/generated/models/Component.ts +2 -2
- package/generated/models/ComponentInstance.ts +2 -2
- package/generated/models/ComponentTag.ts +2 -2
- package/generated/models/CustomRole.ts +2 -2
- package/generated/models/DesignProject.ts +2 -2
- package/generated/models/DeveloperLog.ts +2 -2
- package/generated/models/DictionaryTerm.ts +2 -2
- package/generated/models/GenerationRun.ts +2 -2
- package/generated/models/IndustryCompliance.ts +2 -2
- package/generated/models/InvitationCode.ts +2 -2
- package/generated/models/InvitationUse.ts +2 -2
- package/generated/models/Invoice.ts +2 -2
- package/generated/models/Iteration.ts +2 -2
- package/generated/models/IterationAutoSchedule.ts +2 -2
- package/generated/models/KnowledgeBase.ts +436 -3
- package/generated/models/KnowledgeDocument.ts +178 -2
- package/generated/models/KnowledgeShareRecord.ts +2 -2
- package/generated/models/Label.ts +2 -2
- package/generated/models/LegalRegulation.ts +2 -2
- package/generated/models/LicenseActivation.ts +2 -2
- package/generated/models/LicenseKey.ts +2 -2
- package/generated/models/LoginLog.ts +2 -2
- package/generated/models/MonitoringErrorReport.ts +2 -2
- package/generated/models/MonitoringHealthSnapshot.ts +2 -2
- package/generated/models/MonitoringMetricsSnapshot.ts +2 -2
- package/generated/models/MonitoringRequestLog.ts +2 -2
- package/generated/models/Notification.ts +2 -2
- package/generated/models/NotificationPreference.ts +2 -2
- package/generated/models/PRD.ts +2 -2
- package/generated/models/PRDPage.ts +2 -2
- package/generated/models/PRDTag.ts +2 -2
- package/generated/models/PRDVersion.ts +2 -2
- package/generated/models/PageVersion.ts +2 -2
- package/generated/models/PasswordResetToken.ts +2 -2
- package/generated/models/Plan.ts +2 -2
- package/generated/models/Project.ts +2 -2
- package/generated/models/ProjectActivity.ts +2 -2
- package/generated/models/ProjectKnowledgeBase.ts +2 -2
- package/generated/models/ProjectMember.ts +2 -2
- package/generated/models/ProviderEvent.ts +2 -2
- package/generated/models/Reference.ts +2 -2
- package/generated/models/Review.ts +2 -2
- package/generated/models/ReviewComment.ts +2 -2
- package/generated/models/RoleAssignment.ts +2 -2
- package/generated/models/SequenceCounter.ts +2 -2
- package/generated/models/Share.ts +2 -2
- package/generated/models/ShareVersion.ts +2 -2
- package/generated/models/SsoMapping.ts +2 -2
- package/generated/models/SsoProvider.ts +2 -2
- package/generated/models/Story.ts +2 -2
- package/generated/models/StoryActivity.ts +2 -2
- package/generated/models/StoryAttachment.ts +2 -2
- package/generated/models/StoryComment.ts +2 -2
- package/generated/models/StoryDependency.ts +2 -2
- package/generated/models/StoryDocLink.ts +2 -2
- package/generated/models/StoryExternalLink.ts +2 -2
- package/generated/models/StoryFilterView.ts +2 -2
- package/generated/models/StoryLabel.ts +2 -2
- package/generated/models/StoryLink.ts +2 -2
- package/generated/models/StoryPrdLink.ts +2 -2
- package/generated/models/StoryReaction.ts +2 -2
- package/generated/models/Subscription.ts +2 -2
- package/generated/models/SystemSetting.ts +2 -2
- package/generated/models/Tag.ts +2 -2
- package/generated/models/TeamInvitation.ts +2 -2
- package/generated/models/TeamJoinRequest.ts +2 -2
- package/generated/models/TeamMembership.ts +2 -2
- package/generated/models/Template.ts +2 -2
- package/generated/models/TemplateBlock.ts +2 -2
- package/generated/models/ThirdPartyDependency.ts +2 -2
- package/generated/models/UsageRecord.ts +2 -2
- package/generated/models/User.ts +1585 -325
- package/generated/models/UserAgent.ts +2 -2
- package/generated/models/UserSkill.ts +2 -2
- package/generated/models/WebsiteBookmark.ts +2 -2
- package/generated/models/Workspace.ts +796 -3
- package/generated/models/WorkspaceKnowledgeBase.ts +1430 -0
- package/generated/models/WorkspaceMember.ts +1512 -0
- package/generated/models/WorkspaceQuickDoc.ts +2030 -0
- package/generated/models.ts +107 -104
- package/generated-sqlite/browser.ts +13 -3
- package/generated-sqlite/client.ts +15 -5
- package/generated-sqlite/commonInputTypes.ts +2 -2
- package/generated-sqlite/internal/class.ts +25 -5
- package/generated-sqlite/internal/prismaNamespace.ts +187 -4
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +35 -2
- package/generated-sqlite/models/AgentConversation.ts +2 -2
- package/generated-sqlite/models/AgentMessage.ts +2 -2
- package/generated-sqlite/models/AiProvider.ts +2 -2
- package/generated-sqlite/models/AiProviderConfig.ts +2 -2
- package/generated-sqlite/models/AiUsageLog.ts +2 -2
- package/generated-sqlite/models/AnyHubApp.ts +2 -2
- package/generated-sqlite/models/AnyHubMarketApp.ts +2 -2
- package/generated-sqlite/models/AnyHubPermission.ts +2 -2
- package/generated-sqlite/models/AnyHubRecommendation.ts +2 -2
- package/generated-sqlite/models/AnyHubRecommender.ts +2 -2
- package/generated-sqlite/models/Artboard.ts +2 -2
- package/generated-sqlite/models/ArtboardExport.ts +2 -2
- package/generated-sqlite/models/ArticleFavorite.ts +2 -2
- package/generated-sqlite/models/AuditLog.ts +2 -2
- package/generated-sqlite/models/Block.ts +2 -2
- package/generated-sqlite/models/BlockComponent.ts +2 -2
- package/generated-sqlite/models/BlockInstance.ts +2 -2
- package/generated-sqlite/models/BookmarkCategory.ts +2 -2
- package/generated-sqlite/models/ChatInterrupt.ts +2 -2
- package/generated-sqlite/models/ChatMessage.ts +2 -2
- package/generated-sqlite/models/ChatRun.ts +2 -2
- package/generated-sqlite/models/ChatThread.ts +2 -6
- package/generated-sqlite/models/Comment.ts +2 -2
- package/generated-sqlite/models/CommentIgnore.ts +2 -2
- package/generated-sqlite/models/ComplianceExport.ts +2 -2
- package/generated-sqlite/models/Component.ts +2 -2
- package/generated-sqlite/models/ComponentInstance.ts +2 -2
- package/generated-sqlite/models/ComponentTag.ts +2 -2
- package/generated-sqlite/models/CustomRole.ts +2 -2
- package/generated-sqlite/models/DesignProject.ts +2 -2
- package/generated-sqlite/models/DeveloperLog.ts +2 -2
- package/generated-sqlite/models/DictionaryTerm.ts +2 -2
- package/generated-sqlite/models/GenerationRun.ts +2 -2
- package/generated-sqlite/models/IndustryCompliance.ts +2 -2
- package/generated-sqlite/models/InvitationCode.ts +2 -2
- package/generated-sqlite/models/InvitationUse.ts +2 -2
- package/generated-sqlite/models/Invoice.ts +2 -2
- package/generated-sqlite/models/Iteration.ts +2 -2
- package/generated-sqlite/models/IterationAutoSchedule.ts +2 -2
- package/generated-sqlite/models/KnowledgeBase.ts +196 -3
- package/generated-sqlite/models/KnowledgeDocument.ts +170 -2
- package/generated-sqlite/models/KnowledgeShareRecord.ts +2 -2
- package/generated-sqlite/models/LegalRegulation.ts +2 -2
- package/generated-sqlite/models/LicenseActivation.ts +2 -2
- package/generated-sqlite/models/LicenseKey.ts +2 -2
- package/generated-sqlite/models/LoginLog.ts +2 -2
- package/generated-sqlite/models/PRD.ts +2 -2
- package/generated-sqlite/models/PRDPage.ts +2 -2
- package/generated-sqlite/models/PRDTag.ts +2 -2
- package/generated-sqlite/models/PRDVersion.ts +2 -2
- package/generated-sqlite/models/PageVersion.ts +2 -2
- package/generated-sqlite/models/PasswordResetToken.ts +2 -2
- package/generated-sqlite/models/Plan.ts +2 -2
- package/generated-sqlite/models/Project.ts +2 -2
- package/generated-sqlite/models/ProjectActivity.ts +2 -2
- package/generated-sqlite/models/ProjectKnowledgeBase.ts +2 -2
- package/generated-sqlite/models/ProjectMember.ts +2 -2
- package/generated-sqlite/models/ProviderEvent.ts +2 -2
- package/generated-sqlite/models/Reference.ts +2 -2
- package/generated-sqlite/models/Review.ts +2 -2
- package/generated-sqlite/models/ReviewComment.ts +2 -2
- package/generated-sqlite/models/RoleAssignment.ts +2 -2
- package/generated-sqlite/models/Share.ts +2 -2
- package/generated-sqlite/models/ShareVersion.ts +2 -2
- package/generated-sqlite/models/SsoMapping.ts +2 -2
- package/generated-sqlite/models/SsoProvider.ts +2 -2
- package/generated-sqlite/models/Story.ts +2 -2
- package/generated-sqlite/models/Subscription.ts +2 -2
- package/generated-sqlite/models/SystemSetting.ts +2 -2
- package/generated-sqlite/models/Tag.ts +2 -2
- package/generated-sqlite/models/TeamInvitation.ts +2 -2
- package/generated-sqlite/models/TeamJoinRequest.ts +2 -2
- package/generated-sqlite/models/TeamMembership.ts +2 -2
- package/generated-sqlite/models/Template.ts +2 -2
- package/generated-sqlite/models/TemplateBlock.ts +2 -2
- package/generated-sqlite/models/ThirdPartyDependency.ts +2 -2
- package/generated-sqlite/models/UsageRecord.ts +2 -2
- package/generated-sqlite/models/User.ts +520 -2
- package/generated-sqlite/models/UserAgent.ts +2 -2
- package/generated-sqlite/models/UserSkill.ts +2 -2
- package/generated-sqlite/models/WebsiteBookmark.ts +2 -2
- package/generated-sqlite/models/Workspace.ts +354 -3
- package/generated-sqlite/models/WorkspaceKnowledgeBase.ts +1426 -0
- package/generated-sqlite/models/WorkspaceQuickDoc.ts +2025 -0
- package/generated-sqlite/models.ts +85 -83
- package/migrations/20260907093612_add_workspace_pinned_to_sidebar/migration.sql +2 -0
- package/migrations/20260907100000_add_knowledge_pinned_to_sidebar/migration.sql +2 -0
- package/migrations/20260907110000_add_workspace_members/migration.sql +34 -0
- package/migrations/20260907120000_knowledgebase_workspace_id/migration.sql +8 -0
- package/migrations/20260909070745_workspace_kb_card/migration.sql +55 -0
- package/migrations/20260909123637_workspace_quick_doc_column_index/migration.sql +2 -0
- package/migrations/20260909123656_workspace_quick_doc_column_backfill/migration.sql +4 -0
- package/migrations/20260909144328_workspace_quick_doc_label/migration.sql +2 -0
- package/migrations/20260909154315_workspace_quick_doc_icon/migration.sql +2 -0
- package/package.json +2 -2
- package/schema.prisma +288 -214
- package/schema.sqlite.prisma +62 -14
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* 🟢 You can import this file directly.
|
|
10
10
|
*/
|
|
11
11
|
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
-
import type * as $Enums from "../enums"
|
|
13
|
-
import type * as Prisma from "../internal/prismaNamespace"
|
|
12
|
+
import type * as $Enums from "../enums.ts"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Model Workspace
|
|
@@ -29,6 +29,7 @@ export type WorkspaceMinAggregateOutputType = {
|
|
|
29
29
|
name: string | null
|
|
30
30
|
icon: string | null
|
|
31
31
|
description: string | null
|
|
32
|
+
pinnedToSidebar: boolean | null
|
|
32
33
|
ownerId: string | null
|
|
33
34
|
createdAt: Date | null
|
|
34
35
|
updatedAt: Date | null
|
|
@@ -39,6 +40,7 @@ export type WorkspaceMaxAggregateOutputType = {
|
|
|
39
40
|
name: string | null
|
|
40
41
|
icon: string | null
|
|
41
42
|
description: string | null
|
|
43
|
+
pinnedToSidebar: boolean | null
|
|
42
44
|
ownerId: string | null
|
|
43
45
|
createdAt: Date | null
|
|
44
46
|
updatedAt: Date | null
|
|
@@ -49,6 +51,7 @@ export type WorkspaceCountAggregateOutputType = {
|
|
|
49
51
|
name: number
|
|
50
52
|
icon: number
|
|
51
53
|
description: number
|
|
54
|
+
pinnedToSidebar: number
|
|
52
55
|
ownerId: number
|
|
53
56
|
createdAt: number
|
|
54
57
|
updatedAt: number
|
|
@@ -61,6 +64,7 @@ export type WorkspaceMinAggregateInputType = {
|
|
|
61
64
|
name?: true
|
|
62
65
|
icon?: true
|
|
63
66
|
description?: true
|
|
67
|
+
pinnedToSidebar?: true
|
|
64
68
|
ownerId?: true
|
|
65
69
|
createdAt?: true
|
|
66
70
|
updatedAt?: true
|
|
@@ -71,6 +75,7 @@ export type WorkspaceMaxAggregateInputType = {
|
|
|
71
75
|
name?: true
|
|
72
76
|
icon?: true
|
|
73
77
|
description?: true
|
|
78
|
+
pinnedToSidebar?: true
|
|
74
79
|
ownerId?: true
|
|
75
80
|
createdAt?: true
|
|
76
81
|
updatedAt?: true
|
|
@@ -81,6 +86,7 @@ export type WorkspaceCountAggregateInputType = {
|
|
|
81
86
|
name?: true
|
|
82
87
|
icon?: true
|
|
83
88
|
description?: true
|
|
89
|
+
pinnedToSidebar?: true
|
|
84
90
|
ownerId?: true
|
|
85
91
|
createdAt?: true
|
|
86
92
|
updatedAt?: true
|
|
@@ -164,6 +170,7 @@ export type WorkspaceGroupByOutputType = {
|
|
|
164
170
|
name: string
|
|
165
171
|
icon: string
|
|
166
172
|
description: string | null
|
|
173
|
+
pinnedToSidebar: boolean
|
|
167
174
|
ownerId: string
|
|
168
175
|
createdAt: Date
|
|
169
176
|
updatedAt: Date
|
|
@@ -195,11 +202,14 @@ export type WorkspaceWhereInput = {
|
|
|
195
202
|
name?: Prisma.StringFilter<"Workspace"> | string
|
|
196
203
|
icon?: Prisma.StringFilter<"Workspace"> | string
|
|
197
204
|
description?: Prisma.StringNullableFilter<"Workspace"> | string | null
|
|
205
|
+
pinnedToSidebar?: Prisma.BoolFilter<"Workspace"> | boolean
|
|
198
206
|
ownerId?: Prisma.StringFilter<"Workspace"> | string
|
|
199
207
|
createdAt?: Prisma.DateTimeFilter<"Workspace"> | Date | string
|
|
200
208
|
updatedAt?: Prisma.DateTimeFilter<"Workspace"> | Date | string
|
|
201
209
|
owner?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
202
210
|
projects?: Prisma.ProjectListRelationFilter
|
|
211
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseListRelationFilter
|
|
212
|
+
quickDocs?: Prisma.WorkspaceQuickDocListRelationFilter
|
|
203
213
|
usageRecords?: Prisma.UsageRecordListRelationFilter
|
|
204
214
|
aiUsageLogs?: Prisma.AiUsageLogListRelationFilter
|
|
205
215
|
}
|
|
@@ -209,11 +219,14 @@ export type WorkspaceOrderByWithRelationInput = {
|
|
|
209
219
|
name?: Prisma.SortOrder
|
|
210
220
|
icon?: Prisma.SortOrder
|
|
211
221
|
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
222
|
+
pinnedToSidebar?: Prisma.SortOrder
|
|
212
223
|
ownerId?: Prisma.SortOrder
|
|
213
224
|
createdAt?: Prisma.SortOrder
|
|
214
225
|
updatedAt?: Prisma.SortOrder
|
|
215
226
|
owner?: Prisma.UserOrderByWithRelationInput
|
|
216
227
|
projects?: Prisma.ProjectOrderByRelationAggregateInput
|
|
228
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseOrderByRelationAggregateInput
|
|
229
|
+
quickDocs?: Prisma.WorkspaceQuickDocOrderByRelationAggregateInput
|
|
217
230
|
usageRecords?: Prisma.UsageRecordOrderByRelationAggregateInput
|
|
218
231
|
aiUsageLogs?: Prisma.AiUsageLogOrderByRelationAggregateInput
|
|
219
232
|
}
|
|
@@ -226,11 +239,14 @@ export type WorkspaceWhereUniqueInput = Prisma.AtLeast<{
|
|
|
226
239
|
name?: Prisma.StringFilter<"Workspace"> | string
|
|
227
240
|
icon?: Prisma.StringFilter<"Workspace"> | string
|
|
228
241
|
description?: Prisma.StringNullableFilter<"Workspace"> | string | null
|
|
242
|
+
pinnedToSidebar?: Prisma.BoolFilter<"Workspace"> | boolean
|
|
229
243
|
ownerId?: Prisma.StringFilter<"Workspace"> | string
|
|
230
244
|
createdAt?: Prisma.DateTimeFilter<"Workspace"> | Date | string
|
|
231
245
|
updatedAt?: Prisma.DateTimeFilter<"Workspace"> | Date | string
|
|
232
246
|
owner?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
233
247
|
projects?: Prisma.ProjectListRelationFilter
|
|
248
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseListRelationFilter
|
|
249
|
+
quickDocs?: Prisma.WorkspaceQuickDocListRelationFilter
|
|
234
250
|
usageRecords?: Prisma.UsageRecordListRelationFilter
|
|
235
251
|
aiUsageLogs?: Prisma.AiUsageLogListRelationFilter
|
|
236
252
|
}, "id">
|
|
@@ -240,6 +256,7 @@ export type WorkspaceOrderByWithAggregationInput = {
|
|
|
240
256
|
name?: Prisma.SortOrder
|
|
241
257
|
icon?: Prisma.SortOrder
|
|
242
258
|
description?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
259
|
+
pinnedToSidebar?: Prisma.SortOrder
|
|
243
260
|
ownerId?: Prisma.SortOrder
|
|
244
261
|
createdAt?: Prisma.SortOrder
|
|
245
262
|
updatedAt?: Prisma.SortOrder
|
|
@@ -256,6 +273,7 @@ export type WorkspaceScalarWhereWithAggregatesInput = {
|
|
|
256
273
|
name?: Prisma.StringWithAggregatesFilter<"Workspace"> | string
|
|
257
274
|
icon?: Prisma.StringWithAggregatesFilter<"Workspace"> | string
|
|
258
275
|
description?: Prisma.StringNullableWithAggregatesFilter<"Workspace"> | string | null
|
|
276
|
+
pinnedToSidebar?: Prisma.BoolWithAggregatesFilter<"Workspace"> | boolean
|
|
259
277
|
ownerId?: Prisma.StringWithAggregatesFilter<"Workspace"> | string
|
|
260
278
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Workspace"> | Date | string
|
|
261
279
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Workspace"> | Date | string
|
|
@@ -266,10 +284,13 @@ export type WorkspaceCreateInput = {
|
|
|
266
284
|
name: string
|
|
267
285
|
icon?: string
|
|
268
286
|
description?: string | null
|
|
287
|
+
pinnedToSidebar?: boolean
|
|
269
288
|
createdAt?: Date | string
|
|
270
289
|
updatedAt?: Date | string
|
|
271
290
|
owner: Prisma.UserCreateNestedOneWithoutOwnedWorkspacesInput
|
|
272
291
|
projects?: Prisma.ProjectCreateNestedManyWithoutWorkspaceInput
|
|
292
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
293
|
+
quickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutWorkspaceInput
|
|
273
294
|
usageRecords?: Prisma.UsageRecordCreateNestedManyWithoutWorkspaceInput
|
|
274
295
|
aiUsageLogs?: Prisma.AiUsageLogCreateNestedManyWithoutWorkspaceInput
|
|
275
296
|
}
|
|
@@ -279,10 +300,13 @@ export type WorkspaceUncheckedCreateInput = {
|
|
|
279
300
|
name: string
|
|
280
301
|
icon?: string
|
|
281
302
|
description?: string | null
|
|
303
|
+
pinnedToSidebar?: boolean
|
|
282
304
|
ownerId: string
|
|
283
305
|
createdAt?: Date | string
|
|
284
306
|
updatedAt?: Date | string
|
|
285
307
|
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
308
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
309
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
286
310
|
usageRecords?: Prisma.UsageRecordUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
287
311
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
288
312
|
}
|
|
@@ -292,10 +316,13 @@ export type WorkspaceUpdateInput = {
|
|
|
292
316
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
293
317
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
294
318
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
319
|
+
pinnedToSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
295
320
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
296
321
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
297
322
|
owner?: Prisma.UserUpdateOneRequiredWithoutOwnedWorkspacesNestedInput
|
|
298
323
|
projects?: Prisma.ProjectUpdateManyWithoutWorkspaceNestedInput
|
|
324
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
325
|
+
quickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutWorkspaceNestedInput
|
|
299
326
|
usageRecords?: Prisma.UsageRecordUpdateManyWithoutWorkspaceNestedInput
|
|
300
327
|
aiUsageLogs?: Prisma.AiUsageLogUpdateManyWithoutWorkspaceNestedInput
|
|
301
328
|
}
|
|
@@ -305,10 +332,13 @@ export type WorkspaceUncheckedUpdateInput = {
|
|
|
305
332
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
306
333
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
307
334
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
335
|
+
pinnedToSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
308
336
|
ownerId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
309
337
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
310
338
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
311
339
|
projects?: Prisma.ProjectUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
340
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
341
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
312
342
|
usageRecords?: Prisma.UsageRecordUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
313
343
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
314
344
|
}
|
|
@@ -318,6 +348,7 @@ export type WorkspaceCreateManyInput = {
|
|
|
318
348
|
name: string
|
|
319
349
|
icon?: string
|
|
320
350
|
description?: string | null
|
|
351
|
+
pinnedToSidebar?: boolean
|
|
321
352
|
ownerId: string
|
|
322
353
|
createdAt?: Date | string
|
|
323
354
|
updatedAt?: Date | string
|
|
@@ -328,6 +359,7 @@ export type WorkspaceUpdateManyMutationInput = {
|
|
|
328
359
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
329
360
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
330
361
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
362
|
+
pinnedToSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
331
363
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
332
364
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
333
365
|
}
|
|
@@ -337,6 +369,7 @@ export type WorkspaceUncheckedUpdateManyInput = {
|
|
|
337
369
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
338
370
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
339
371
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
372
|
+
pinnedToSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
340
373
|
ownerId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
341
374
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
342
375
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -362,6 +395,7 @@ export type WorkspaceCountOrderByAggregateInput = {
|
|
|
362
395
|
name?: Prisma.SortOrder
|
|
363
396
|
icon?: Prisma.SortOrder
|
|
364
397
|
description?: Prisma.SortOrder
|
|
398
|
+
pinnedToSidebar?: Prisma.SortOrder
|
|
365
399
|
ownerId?: Prisma.SortOrder
|
|
366
400
|
createdAt?: Prisma.SortOrder
|
|
367
401
|
updatedAt?: Prisma.SortOrder
|
|
@@ -372,6 +406,7 @@ export type WorkspaceMaxOrderByAggregateInput = {
|
|
|
372
406
|
name?: Prisma.SortOrder
|
|
373
407
|
icon?: Prisma.SortOrder
|
|
374
408
|
description?: Prisma.SortOrder
|
|
409
|
+
pinnedToSidebar?: Prisma.SortOrder
|
|
375
410
|
ownerId?: Prisma.SortOrder
|
|
376
411
|
createdAt?: Prisma.SortOrder
|
|
377
412
|
updatedAt?: Prisma.SortOrder
|
|
@@ -382,6 +417,7 @@ export type WorkspaceMinOrderByAggregateInput = {
|
|
|
382
417
|
name?: Prisma.SortOrder
|
|
383
418
|
icon?: Prisma.SortOrder
|
|
384
419
|
description?: Prisma.SortOrder
|
|
420
|
+
pinnedToSidebar?: Prisma.SortOrder
|
|
385
421
|
ownerId?: Prisma.SortOrder
|
|
386
422
|
createdAt?: Prisma.SortOrder
|
|
387
423
|
updatedAt?: Prisma.SortOrder
|
|
@@ -450,6 +486,38 @@ export type WorkspaceUpdateOneWithoutProjectsNestedInput = {
|
|
|
450
486
|
update?: Prisma.XOR<Prisma.XOR<Prisma.WorkspaceUpdateToOneWithWhereWithoutProjectsInput, Prisma.WorkspaceUpdateWithoutProjectsInput>, Prisma.WorkspaceUncheckedUpdateWithoutProjectsInput>
|
|
451
487
|
}
|
|
452
488
|
|
|
489
|
+
export type BoolFieldUpdateOperationsInput = {
|
|
490
|
+
set?: boolean
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
export type WorkspaceCreateNestedOneWithoutWorkspaceKbLinksInput = {
|
|
494
|
+
create?: Prisma.XOR<Prisma.WorkspaceCreateWithoutWorkspaceKbLinksInput, Prisma.WorkspaceUncheckedCreateWithoutWorkspaceKbLinksInput>
|
|
495
|
+
connectOrCreate?: Prisma.WorkspaceCreateOrConnectWithoutWorkspaceKbLinksInput
|
|
496
|
+
connect?: Prisma.WorkspaceWhereUniqueInput
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
export type WorkspaceUpdateOneRequiredWithoutWorkspaceKbLinksNestedInput = {
|
|
500
|
+
create?: Prisma.XOR<Prisma.WorkspaceCreateWithoutWorkspaceKbLinksInput, Prisma.WorkspaceUncheckedCreateWithoutWorkspaceKbLinksInput>
|
|
501
|
+
connectOrCreate?: Prisma.WorkspaceCreateOrConnectWithoutWorkspaceKbLinksInput
|
|
502
|
+
upsert?: Prisma.WorkspaceUpsertWithoutWorkspaceKbLinksInput
|
|
503
|
+
connect?: Prisma.WorkspaceWhereUniqueInput
|
|
504
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.WorkspaceUpdateToOneWithWhereWithoutWorkspaceKbLinksInput, Prisma.WorkspaceUpdateWithoutWorkspaceKbLinksInput>, Prisma.WorkspaceUncheckedUpdateWithoutWorkspaceKbLinksInput>
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
export type WorkspaceCreateNestedOneWithoutQuickDocsInput = {
|
|
508
|
+
create?: Prisma.XOR<Prisma.WorkspaceCreateWithoutQuickDocsInput, Prisma.WorkspaceUncheckedCreateWithoutQuickDocsInput>
|
|
509
|
+
connectOrCreate?: Prisma.WorkspaceCreateOrConnectWithoutQuickDocsInput
|
|
510
|
+
connect?: Prisma.WorkspaceWhereUniqueInput
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
export type WorkspaceUpdateOneRequiredWithoutQuickDocsNestedInput = {
|
|
514
|
+
create?: Prisma.XOR<Prisma.WorkspaceCreateWithoutQuickDocsInput, Prisma.WorkspaceUncheckedCreateWithoutQuickDocsInput>
|
|
515
|
+
connectOrCreate?: Prisma.WorkspaceCreateOrConnectWithoutQuickDocsInput
|
|
516
|
+
upsert?: Prisma.WorkspaceUpsertWithoutQuickDocsInput
|
|
517
|
+
connect?: Prisma.WorkspaceWhereUniqueInput
|
|
518
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.WorkspaceUpdateToOneWithWhereWithoutQuickDocsInput, Prisma.WorkspaceUpdateWithoutQuickDocsInput>, Prisma.WorkspaceUncheckedUpdateWithoutQuickDocsInput>
|
|
519
|
+
}
|
|
520
|
+
|
|
453
521
|
export type WorkspaceCreateNestedOneWithoutUsageRecordsInput = {
|
|
454
522
|
create?: Prisma.XOR<Prisma.WorkspaceCreateWithoutUsageRecordsInput, Prisma.WorkspaceUncheckedCreateWithoutUsageRecordsInput>
|
|
455
523
|
connectOrCreate?: Prisma.WorkspaceCreateOrConnectWithoutUsageRecordsInput
|
|
@@ -483,9 +551,12 @@ export type WorkspaceCreateWithoutOwnerInput = {
|
|
|
483
551
|
name: string
|
|
484
552
|
icon?: string
|
|
485
553
|
description?: string | null
|
|
554
|
+
pinnedToSidebar?: boolean
|
|
486
555
|
createdAt?: Date | string
|
|
487
556
|
updatedAt?: Date | string
|
|
488
557
|
projects?: Prisma.ProjectCreateNestedManyWithoutWorkspaceInput
|
|
558
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
559
|
+
quickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutWorkspaceInput
|
|
489
560
|
usageRecords?: Prisma.UsageRecordCreateNestedManyWithoutWorkspaceInput
|
|
490
561
|
aiUsageLogs?: Prisma.AiUsageLogCreateNestedManyWithoutWorkspaceInput
|
|
491
562
|
}
|
|
@@ -495,9 +566,12 @@ export type WorkspaceUncheckedCreateWithoutOwnerInput = {
|
|
|
495
566
|
name: string
|
|
496
567
|
icon?: string
|
|
497
568
|
description?: string | null
|
|
569
|
+
pinnedToSidebar?: boolean
|
|
498
570
|
createdAt?: Date | string
|
|
499
571
|
updatedAt?: Date | string
|
|
500
572
|
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
573
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
574
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
501
575
|
usageRecords?: Prisma.UsageRecordUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
502
576
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
503
577
|
}
|
|
@@ -535,6 +609,7 @@ export type WorkspaceScalarWhereInput = {
|
|
|
535
609
|
name?: Prisma.StringFilter<"Workspace"> | string
|
|
536
610
|
icon?: Prisma.StringFilter<"Workspace"> | string
|
|
537
611
|
description?: Prisma.StringNullableFilter<"Workspace"> | string | null
|
|
612
|
+
pinnedToSidebar?: Prisma.BoolFilter<"Workspace"> | boolean
|
|
538
613
|
ownerId?: Prisma.StringFilter<"Workspace"> | string
|
|
539
614
|
createdAt?: Prisma.DateTimeFilter<"Workspace"> | Date | string
|
|
540
615
|
updatedAt?: Prisma.DateTimeFilter<"Workspace"> | Date | string
|
|
@@ -545,9 +620,12 @@ export type WorkspaceCreateWithoutProjectsInput = {
|
|
|
545
620
|
name: string
|
|
546
621
|
icon?: string
|
|
547
622
|
description?: string | null
|
|
623
|
+
pinnedToSidebar?: boolean
|
|
548
624
|
createdAt?: Date | string
|
|
549
625
|
updatedAt?: Date | string
|
|
550
626
|
owner: Prisma.UserCreateNestedOneWithoutOwnedWorkspacesInput
|
|
627
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
628
|
+
quickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutWorkspaceInput
|
|
551
629
|
usageRecords?: Prisma.UsageRecordCreateNestedManyWithoutWorkspaceInput
|
|
552
630
|
aiUsageLogs?: Prisma.AiUsageLogCreateNestedManyWithoutWorkspaceInput
|
|
553
631
|
}
|
|
@@ -557,9 +635,12 @@ export type WorkspaceUncheckedCreateWithoutProjectsInput = {
|
|
|
557
635
|
name: string
|
|
558
636
|
icon?: string
|
|
559
637
|
description?: string | null
|
|
638
|
+
pinnedToSidebar?: boolean
|
|
560
639
|
ownerId: string
|
|
561
640
|
createdAt?: Date | string
|
|
562
641
|
updatedAt?: Date | string
|
|
642
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
643
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
563
644
|
usageRecords?: Prisma.UsageRecordUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
564
645
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
565
646
|
}
|
|
@@ -585,9 +666,12 @@ export type WorkspaceUpdateWithoutProjectsInput = {
|
|
|
585
666
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
586
667
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
587
668
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
669
|
+
pinnedToSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
588
670
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
589
671
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
590
672
|
owner?: Prisma.UserUpdateOneRequiredWithoutOwnedWorkspacesNestedInput
|
|
673
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
674
|
+
quickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutWorkspaceNestedInput
|
|
591
675
|
usageRecords?: Prisma.UsageRecordUpdateManyWithoutWorkspaceNestedInput
|
|
592
676
|
aiUsageLogs?: Prisma.AiUsageLogUpdateManyWithoutWorkspaceNestedInput
|
|
593
677
|
}
|
|
@@ -597,9 +681,164 @@ export type WorkspaceUncheckedUpdateWithoutProjectsInput = {
|
|
|
597
681
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
598
682
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
599
683
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
684
|
+
pinnedToSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
685
|
+
ownerId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
686
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
687
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
688
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
689
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
690
|
+
usageRecords?: Prisma.UsageRecordUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
691
|
+
aiUsageLogs?: Prisma.AiUsageLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
export type WorkspaceCreateWithoutWorkspaceKbLinksInput = {
|
|
695
|
+
id?: string
|
|
696
|
+
name: string
|
|
697
|
+
icon?: string
|
|
698
|
+
description?: string | null
|
|
699
|
+
pinnedToSidebar?: boolean
|
|
700
|
+
createdAt?: Date | string
|
|
701
|
+
updatedAt?: Date | string
|
|
702
|
+
owner: Prisma.UserCreateNestedOneWithoutOwnedWorkspacesInput
|
|
703
|
+
projects?: Prisma.ProjectCreateNestedManyWithoutWorkspaceInput
|
|
704
|
+
quickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutWorkspaceInput
|
|
705
|
+
usageRecords?: Prisma.UsageRecordCreateNestedManyWithoutWorkspaceInput
|
|
706
|
+
aiUsageLogs?: Prisma.AiUsageLogCreateNestedManyWithoutWorkspaceInput
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
export type WorkspaceUncheckedCreateWithoutWorkspaceKbLinksInput = {
|
|
710
|
+
id?: string
|
|
711
|
+
name: string
|
|
712
|
+
icon?: string
|
|
713
|
+
description?: string | null
|
|
714
|
+
pinnedToSidebar?: boolean
|
|
715
|
+
ownerId: string
|
|
716
|
+
createdAt?: Date | string
|
|
717
|
+
updatedAt?: Date | string
|
|
718
|
+
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
719
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
720
|
+
usageRecords?: Prisma.UsageRecordUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
721
|
+
aiUsageLogs?: Prisma.AiUsageLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
export type WorkspaceCreateOrConnectWithoutWorkspaceKbLinksInput = {
|
|
725
|
+
where: Prisma.WorkspaceWhereUniqueInput
|
|
726
|
+
create: Prisma.XOR<Prisma.WorkspaceCreateWithoutWorkspaceKbLinksInput, Prisma.WorkspaceUncheckedCreateWithoutWorkspaceKbLinksInput>
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
export type WorkspaceUpsertWithoutWorkspaceKbLinksInput = {
|
|
730
|
+
update: Prisma.XOR<Prisma.WorkspaceUpdateWithoutWorkspaceKbLinksInput, Prisma.WorkspaceUncheckedUpdateWithoutWorkspaceKbLinksInput>
|
|
731
|
+
create: Prisma.XOR<Prisma.WorkspaceCreateWithoutWorkspaceKbLinksInput, Prisma.WorkspaceUncheckedCreateWithoutWorkspaceKbLinksInput>
|
|
732
|
+
where?: Prisma.WorkspaceWhereInput
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
export type WorkspaceUpdateToOneWithWhereWithoutWorkspaceKbLinksInput = {
|
|
736
|
+
where?: Prisma.WorkspaceWhereInput
|
|
737
|
+
data: Prisma.XOR<Prisma.WorkspaceUpdateWithoutWorkspaceKbLinksInput, Prisma.WorkspaceUncheckedUpdateWithoutWorkspaceKbLinksInput>
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
export type WorkspaceUpdateWithoutWorkspaceKbLinksInput = {
|
|
741
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
742
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
743
|
+
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
744
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
745
|
+
pinnedToSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
746
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
747
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
748
|
+
owner?: Prisma.UserUpdateOneRequiredWithoutOwnedWorkspacesNestedInput
|
|
749
|
+
projects?: Prisma.ProjectUpdateManyWithoutWorkspaceNestedInput
|
|
750
|
+
quickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutWorkspaceNestedInput
|
|
751
|
+
usageRecords?: Prisma.UsageRecordUpdateManyWithoutWorkspaceNestedInput
|
|
752
|
+
aiUsageLogs?: Prisma.AiUsageLogUpdateManyWithoutWorkspaceNestedInput
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
export type WorkspaceUncheckedUpdateWithoutWorkspaceKbLinksInput = {
|
|
756
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
757
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
758
|
+
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
759
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
760
|
+
pinnedToSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
761
|
+
ownerId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
762
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
763
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
764
|
+
projects?: Prisma.ProjectUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
765
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
766
|
+
usageRecords?: Prisma.UsageRecordUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
767
|
+
aiUsageLogs?: Prisma.AiUsageLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
export type WorkspaceCreateWithoutQuickDocsInput = {
|
|
771
|
+
id?: string
|
|
772
|
+
name: string
|
|
773
|
+
icon?: string
|
|
774
|
+
description?: string | null
|
|
775
|
+
pinnedToSidebar?: boolean
|
|
776
|
+
createdAt?: Date | string
|
|
777
|
+
updatedAt?: Date | string
|
|
778
|
+
owner: Prisma.UserCreateNestedOneWithoutOwnedWorkspacesInput
|
|
779
|
+
projects?: Prisma.ProjectCreateNestedManyWithoutWorkspaceInput
|
|
780
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
781
|
+
usageRecords?: Prisma.UsageRecordCreateNestedManyWithoutWorkspaceInput
|
|
782
|
+
aiUsageLogs?: Prisma.AiUsageLogCreateNestedManyWithoutWorkspaceInput
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
export type WorkspaceUncheckedCreateWithoutQuickDocsInput = {
|
|
786
|
+
id?: string
|
|
787
|
+
name: string
|
|
788
|
+
icon?: string
|
|
789
|
+
description?: string | null
|
|
790
|
+
pinnedToSidebar?: boolean
|
|
791
|
+
ownerId: string
|
|
792
|
+
createdAt?: Date | string
|
|
793
|
+
updatedAt?: Date | string
|
|
794
|
+
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
795
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
796
|
+
usageRecords?: Prisma.UsageRecordUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
797
|
+
aiUsageLogs?: Prisma.AiUsageLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
export type WorkspaceCreateOrConnectWithoutQuickDocsInput = {
|
|
801
|
+
where: Prisma.WorkspaceWhereUniqueInput
|
|
802
|
+
create: Prisma.XOR<Prisma.WorkspaceCreateWithoutQuickDocsInput, Prisma.WorkspaceUncheckedCreateWithoutQuickDocsInput>
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
export type WorkspaceUpsertWithoutQuickDocsInput = {
|
|
806
|
+
update: Prisma.XOR<Prisma.WorkspaceUpdateWithoutQuickDocsInput, Prisma.WorkspaceUncheckedUpdateWithoutQuickDocsInput>
|
|
807
|
+
create: Prisma.XOR<Prisma.WorkspaceCreateWithoutQuickDocsInput, Prisma.WorkspaceUncheckedCreateWithoutQuickDocsInput>
|
|
808
|
+
where?: Prisma.WorkspaceWhereInput
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
export type WorkspaceUpdateToOneWithWhereWithoutQuickDocsInput = {
|
|
812
|
+
where?: Prisma.WorkspaceWhereInput
|
|
813
|
+
data: Prisma.XOR<Prisma.WorkspaceUpdateWithoutQuickDocsInput, Prisma.WorkspaceUncheckedUpdateWithoutQuickDocsInput>
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
export type WorkspaceUpdateWithoutQuickDocsInput = {
|
|
817
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
818
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
819
|
+
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
820
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
821
|
+
pinnedToSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
822
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
823
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
824
|
+
owner?: Prisma.UserUpdateOneRequiredWithoutOwnedWorkspacesNestedInput
|
|
825
|
+
projects?: Prisma.ProjectUpdateManyWithoutWorkspaceNestedInput
|
|
826
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
827
|
+
usageRecords?: Prisma.UsageRecordUpdateManyWithoutWorkspaceNestedInput
|
|
828
|
+
aiUsageLogs?: Prisma.AiUsageLogUpdateManyWithoutWorkspaceNestedInput
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
export type WorkspaceUncheckedUpdateWithoutQuickDocsInput = {
|
|
832
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
833
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
834
|
+
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
835
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
836
|
+
pinnedToSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
600
837
|
ownerId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
601
838
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
602
839
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
840
|
+
projects?: Prisma.ProjectUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
841
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
603
842
|
usageRecords?: Prisma.UsageRecordUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
604
843
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
605
844
|
}
|
|
@@ -609,10 +848,13 @@ export type WorkspaceCreateWithoutUsageRecordsInput = {
|
|
|
609
848
|
name: string
|
|
610
849
|
icon?: string
|
|
611
850
|
description?: string | null
|
|
851
|
+
pinnedToSidebar?: boolean
|
|
612
852
|
createdAt?: Date | string
|
|
613
853
|
updatedAt?: Date | string
|
|
614
854
|
owner: Prisma.UserCreateNestedOneWithoutOwnedWorkspacesInput
|
|
615
855
|
projects?: Prisma.ProjectCreateNestedManyWithoutWorkspaceInput
|
|
856
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
857
|
+
quickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutWorkspaceInput
|
|
616
858
|
aiUsageLogs?: Prisma.AiUsageLogCreateNestedManyWithoutWorkspaceInput
|
|
617
859
|
}
|
|
618
860
|
|
|
@@ -621,10 +863,13 @@ export type WorkspaceUncheckedCreateWithoutUsageRecordsInput = {
|
|
|
621
863
|
name: string
|
|
622
864
|
icon?: string
|
|
623
865
|
description?: string | null
|
|
866
|
+
pinnedToSidebar?: boolean
|
|
624
867
|
ownerId: string
|
|
625
868
|
createdAt?: Date | string
|
|
626
869
|
updatedAt?: Date | string
|
|
627
870
|
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
871
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
872
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
628
873
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
629
874
|
}
|
|
630
875
|
|
|
@@ -649,10 +894,13 @@ export type WorkspaceUpdateWithoutUsageRecordsInput = {
|
|
|
649
894
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
650
895
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
651
896
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
897
|
+
pinnedToSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
652
898
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
653
899
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
654
900
|
owner?: Prisma.UserUpdateOneRequiredWithoutOwnedWorkspacesNestedInput
|
|
655
901
|
projects?: Prisma.ProjectUpdateManyWithoutWorkspaceNestedInput
|
|
902
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
903
|
+
quickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutWorkspaceNestedInput
|
|
656
904
|
aiUsageLogs?: Prisma.AiUsageLogUpdateManyWithoutWorkspaceNestedInput
|
|
657
905
|
}
|
|
658
906
|
|
|
@@ -661,10 +909,13 @@ export type WorkspaceUncheckedUpdateWithoutUsageRecordsInput = {
|
|
|
661
909
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
662
910
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
663
911
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
912
|
+
pinnedToSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
664
913
|
ownerId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
665
914
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
666
915
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
667
916
|
projects?: Prisma.ProjectUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
917
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
918
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
668
919
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
669
920
|
}
|
|
670
921
|
|
|
@@ -673,10 +924,13 @@ export type WorkspaceCreateWithoutAiUsageLogsInput = {
|
|
|
673
924
|
name: string
|
|
674
925
|
icon?: string
|
|
675
926
|
description?: string | null
|
|
927
|
+
pinnedToSidebar?: boolean
|
|
676
928
|
createdAt?: Date | string
|
|
677
929
|
updatedAt?: Date | string
|
|
678
930
|
owner: Prisma.UserCreateNestedOneWithoutOwnedWorkspacesInput
|
|
679
931
|
projects?: Prisma.ProjectCreateNestedManyWithoutWorkspaceInput
|
|
932
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
933
|
+
quickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutWorkspaceInput
|
|
680
934
|
usageRecords?: Prisma.UsageRecordCreateNestedManyWithoutWorkspaceInput
|
|
681
935
|
}
|
|
682
936
|
|
|
@@ -685,10 +939,13 @@ export type WorkspaceUncheckedCreateWithoutAiUsageLogsInput = {
|
|
|
685
939
|
name: string
|
|
686
940
|
icon?: string
|
|
687
941
|
description?: string | null
|
|
942
|
+
pinnedToSidebar?: boolean
|
|
688
943
|
ownerId: string
|
|
689
944
|
createdAt?: Date | string
|
|
690
945
|
updatedAt?: Date | string
|
|
691
946
|
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
947
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
948
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
692
949
|
usageRecords?: Prisma.UsageRecordUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
693
950
|
}
|
|
694
951
|
|
|
@@ -713,10 +970,13 @@ export type WorkspaceUpdateWithoutAiUsageLogsInput = {
|
|
|
713
970
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
714
971
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
715
972
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
973
|
+
pinnedToSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
716
974
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
717
975
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
718
976
|
owner?: Prisma.UserUpdateOneRequiredWithoutOwnedWorkspacesNestedInput
|
|
719
977
|
projects?: Prisma.ProjectUpdateManyWithoutWorkspaceNestedInput
|
|
978
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
979
|
+
quickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutWorkspaceNestedInput
|
|
720
980
|
usageRecords?: Prisma.UsageRecordUpdateManyWithoutWorkspaceNestedInput
|
|
721
981
|
}
|
|
722
982
|
|
|
@@ -725,10 +985,13 @@ export type WorkspaceUncheckedUpdateWithoutAiUsageLogsInput = {
|
|
|
725
985
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
726
986
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
727
987
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
988
|
+
pinnedToSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
728
989
|
ownerId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
729
990
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
730
991
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
731
992
|
projects?: Prisma.ProjectUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
993
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
994
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
732
995
|
usageRecords?: Prisma.UsageRecordUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
733
996
|
}
|
|
734
997
|
|
|
@@ -737,6 +1000,7 @@ export type WorkspaceCreateManyOwnerInput = {
|
|
|
737
1000
|
name: string
|
|
738
1001
|
icon?: string
|
|
739
1002
|
description?: string | null
|
|
1003
|
+
pinnedToSidebar?: boolean
|
|
740
1004
|
createdAt?: Date | string
|
|
741
1005
|
updatedAt?: Date | string
|
|
742
1006
|
}
|
|
@@ -746,9 +1010,12 @@ export type WorkspaceUpdateWithoutOwnerInput = {
|
|
|
746
1010
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
747
1011
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
748
1012
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1013
|
+
pinnedToSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
749
1014
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
750
1015
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
751
1016
|
projects?: Prisma.ProjectUpdateManyWithoutWorkspaceNestedInput
|
|
1017
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
1018
|
+
quickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutWorkspaceNestedInput
|
|
752
1019
|
usageRecords?: Prisma.UsageRecordUpdateManyWithoutWorkspaceNestedInput
|
|
753
1020
|
aiUsageLogs?: Prisma.AiUsageLogUpdateManyWithoutWorkspaceNestedInput
|
|
754
1021
|
}
|
|
@@ -758,9 +1025,12 @@ export type WorkspaceUncheckedUpdateWithoutOwnerInput = {
|
|
|
758
1025
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
759
1026
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
760
1027
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1028
|
+
pinnedToSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
761
1029
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
762
1030
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
763
1031
|
projects?: Prisma.ProjectUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1032
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1033
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
764
1034
|
usageRecords?: Prisma.UsageRecordUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
765
1035
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
766
1036
|
}
|
|
@@ -770,6 +1040,7 @@ export type WorkspaceUncheckedUpdateManyWithoutOwnerInput = {
|
|
|
770
1040
|
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
771
1041
|
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
772
1042
|
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1043
|
+
pinnedToSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
773
1044
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
774
1045
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
775
1046
|
}
|
|
@@ -781,12 +1052,16 @@ export type WorkspaceUncheckedUpdateManyWithoutOwnerInput = {
|
|
|
781
1052
|
|
|
782
1053
|
export type WorkspaceCountOutputType = {
|
|
783
1054
|
projects: number
|
|
1055
|
+
workspaceKbLinks: number
|
|
1056
|
+
quickDocs: number
|
|
784
1057
|
usageRecords: number
|
|
785
1058
|
aiUsageLogs: number
|
|
786
1059
|
}
|
|
787
1060
|
|
|
788
1061
|
export type WorkspaceCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
789
1062
|
projects?: boolean | WorkspaceCountOutputTypeCountProjectsArgs
|
|
1063
|
+
workspaceKbLinks?: boolean | WorkspaceCountOutputTypeCountWorkspaceKbLinksArgs
|
|
1064
|
+
quickDocs?: boolean | WorkspaceCountOutputTypeCountQuickDocsArgs
|
|
790
1065
|
usageRecords?: boolean | WorkspaceCountOutputTypeCountUsageRecordsArgs
|
|
791
1066
|
aiUsageLogs?: boolean | WorkspaceCountOutputTypeCountAiUsageLogsArgs
|
|
792
1067
|
}
|
|
@@ -808,6 +1083,20 @@ export type WorkspaceCountOutputTypeCountProjectsArgs<ExtArgs extends runtime.Ty
|
|
|
808
1083
|
where?: Prisma.ProjectWhereInput
|
|
809
1084
|
}
|
|
810
1085
|
|
|
1086
|
+
/**
|
|
1087
|
+
* WorkspaceCountOutputType without action
|
|
1088
|
+
*/
|
|
1089
|
+
export type WorkspaceCountOutputTypeCountWorkspaceKbLinksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1090
|
+
where?: Prisma.WorkspaceKnowledgeBaseWhereInput
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
/**
|
|
1094
|
+
* WorkspaceCountOutputType without action
|
|
1095
|
+
*/
|
|
1096
|
+
export type WorkspaceCountOutputTypeCountQuickDocsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1097
|
+
where?: Prisma.WorkspaceQuickDocWhereInput
|
|
1098
|
+
}
|
|
1099
|
+
|
|
811
1100
|
/**
|
|
812
1101
|
* WorkspaceCountOutputType without action
|
|
813
1102
|
*/
|
|
@@ -828,11 +1117,14 @@ export type WorkspaceSelect<ExtArgs extends runtime.Types.Extensions.InternalArg
|
|
|
828
1117
|
name?: boolean
|
|
829
1118
|
icon?: boolean
|
|
830
1119
|
description?: boolean
|
|
1120
|
+
pinnedToSidebar?: boolean
|
|
831
1121
|
ownerId?: boolean
|
|
832
1122
|
createdAt?: boolean
|
|
833
1123
|
updatedAt?: boolean
|
|
834
1124
|
owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
835
1125
|
projects?: boolean | Prisma.Workspace$projectsArgs<ExtArgs>
|
|
1126
|
+
workspaceKbLinks?: boolean | Prisma.Workspace$workspaceKbLinksArgs<ExtArgs>
|
|
1127
|
+
quickDocs?: boolean | Prisma.Workspace$quickDocsArgs<ExtArgs>
|
|
836
1128
|
usageRecords?: boolean | Prisma.Workspace$usageRecordsArgs<ExtArgs>
|
|
837
1129
|
aiUsageLogs?: boolean | Prisma.Workspace$aiUsageLogsArgs<ExtArgs>
|
|
838
1130
|
_count?: boolean | Prisma.WorkspaceCountOutputTypeDefaultArgs<ExtArgs>
|
|
@@ -843,6 +1135,7 @@ export type WorkspaceSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Ext
|
|
|
843
1135
|
name?: boolean
|
|
844
1136
|
icon?: boolean
|
|
845
1137
|
description?: boolean
|
|
1138
|
+
pinnedToSidebar?: boolean
|
|
846
1139
|
ownerId?: boolean
|
|
847
1140
|
createdAt?: boolean
|
|
848
1141
|
updatedAt?: boolean
|
|
@@ -854,6 +1147,7 @@ export type WorkspaceSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Ext
|
|
|
854
1147
|
name?: boolean
|
|
855
1148
|
icon?: boolean
|
|
856
1149
|
description?: boolean
|
|
1150
|
+
pinnedToSidebar?: boolean
|
|
857
1151
|
ownerId?: boolean
|
|
858
1152
|
createdAt?: boolean
|
|
859
1153
|
updatedAt?: boolean
|
|
@@ -865,15 +1159,18 @@ export type WorkspaceSelectScalar = {
|
|
|
865
1159
|
name?: boolean
|
|
866
1160
|
icon?: boolean
|
|
867
1161
|
description?: boolean
|
|
1162
|
+
pinnedToSidebar?: boolean
|
|
868
1163
|
ownerId?: boolean
|
|
869
1164
|
createdAt?: boolean
|
|
870
1165
|
updatedAt?: boolean
|
|
871
1166
|
}
|
|
872
1167
|
|
|
873
|
-
export type WorkspaceOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "icon" | "description" | "ownerId" | "createdAt" | "updatedAt", ExtArgs["result"]["workspace"]>
|
|
1168
|
+
export type WorkspaceOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "icon" | "description" | "pinnedToSidebar" | "ownerId" | "createdAt" | "updatedAt", ExtArgs["result"]["workspace"]>
|
|
874
1169
|
export type WorkspaceInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
875
1170
|
owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
876
1171
|
projects?: boolean | Prisma.Workspace$projectsArgs<ExtArgs>
|
|
1172
|
+
workspaceKbLinks?: boolean | Prisma.Workspace$workspaceKbLinksArgs<ExtArgs>
|
|
1173
|
+
quickDocs?: boolean | Prisma.Workspace$quickDocsArgs<ExtArgs>
|
|
877
1174
|
usageRecords?: boolean | Prisma.Workspace$usageRecordsArgs<ExtArgs>
|
|
878
1175
|
aiUsageLogs?: boolean | Prisma.Workspace$aiUsageLogsArgs<ExtArgs>
|
|
879
1176
|
_count?: boolean | Prisma.WorkspaceCountOutputTypeDefaultArgs<ExtArgs>
|
|
@@ -890,6 +1187,8 @@ export type $WorkspacePayload<ExtArgs extends runtime.Types.Extensions.InternalA
|
|
|
890
1187
|
objects: {
|
|
891
1188
|
owner: Prisma.$UserPayload<ExtArgs>
|
|
892
1189
|
projects: Prisma.$ProjectPayload<ExtArgs>[]
|
|
1190
|
+
workspaceKbLinks: Prisma.$WorkspaceKnowledgeBasePayload<ExtArgs>[]
|
|
1191
|
+
quickDocs: Prisma.$WorkspaceQuickDocPayload<ExtArgs>[]
|
|
893
1192
|
usageRecords: Prisma.$UsageRecordPayload<ExtArgs>[]
|
|
894
1193
|
aiUsageLogs: Prisma.$AiUsageLogPayload<ExtArgs>[]
|
|
895
1194
|
}
|
|
@@ -898,6 +1197,7 @@ export type $WorkspacePayload<ExtArgs extends runtime.Types.Extensions.InternalA
|
|
|
898
1197
|
name: string
|
|
899
1198
|
icon: string
|
|
900
1199
|
description: string | null
|
|
1200
|
+
pinnedToSidebar: boolean
|
|
901
1201
|
ownerId: string
|
|
902
1202
|
createdAt: Date
|
|
903
1203
|
updatedAt: Date
|
|
@@ -1297,6 +1597,8 @@ export interface Prisma__WorkspaceClient<T, Null = never, ExtArgs extends runtim
|
|
|
1297
1597
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1298
1598
|
owner<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>
|
|
1299
1599
|
projects<T extends Prisma.Workspace$projectsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Workspace$projectsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1600
|
+
workspaceKbLinks<T extends Prisma.Workspace$workspaceKbLinksArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Workspace$workspaceKbLinksArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkspaceKnowledgeBasePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1601
|
+
quickDocs<T extends Prisma.Workspace$quickDocsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Workspace$quickDocsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkspaceQuickDocPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1300
1602
|
usageRecords<T extends Prisma.Workspace$usageRecordsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Workspace$usageRecordsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UsageRecordPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1301
1603
|
aiUsageLogs<T extends Prisma.Workspace$aiUsageLogsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Workspace$aiUsageLogsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AiUsageLogPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1302
1604
|
/**
|
|
@@ -1332,6 +1634,7 @@ export interface WorkspaceFieldRefs {
|
|
|
1332
1634
|
readonly name: Prisma.FieldRef<"Workspace", 'String'>
|
|
1333
1635
|
readonly icon: Prisma.FieldRef<"Workspace", 'String'>
|
|
1334
1636
|
readonly description: Prisma.FieldRef<"Workspace", 'String'>
|
|
1637
|
+
readonly pinnedToSidebar: Prisma.FieldRef<"Workspace", 'Boolean'>
|
|
1335
1638
|
readonly ownerId: Prisma.FieldRef<"Workspace", 'String'>
|
|
1336
1639
|
readonly createdAt: Prisma.FieldRef<"Workspace", 'DateTime'>
|
|
1337
1640
|
readonly updatedAt: Prisma.FieldRef<"Workspace", 'DateTime'>
|
|
@@ -1757,6 +2060,54 @@ export type Workspace$projectsArgs<ExtArgs extends runtime.Types.Extensions.Inte
|
|
|
1757
2060
|
distinct?: Prisma.ProjectScalarFieldEnum | Prisma.ProjectScalarFieldEnum[]
|
|
1758
2061
|
}
|
|
1759
2062
|
|
|
2063
|
+
/**
|
|
2064
|
+
* Workspace.workspaceKbLinks
|
|
2065
|
+
*/
|
|
2066
|
+
export type Workspace$workspaceKbLinksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2067
|
+
/**
|
|
2068
|
+
* Select specific fields to fetch from the WorkspaceKnowledgeBase
|
|
2069
|
+
*/
|
|
2070
|
+
select?: Prisma.WorkspaceKnowledgeBaseSelect<ExtArgs> | null
|
|
2071
|
+
/**
|
|
2072
|
+
* Omit specific fields from the WorkspaceKnowledgeBase
|
|
2073
|
+
*/
|
|
2074
|
+
omit?: Prisma.WorkspaceKnowledgeBaseOmit<ExtArgs> | null
|
|
2075
|
+
/**
|
|
2076
|
+
* Choose, which related nodes to fetch as well
|
|
2077
|
+
*/
|
|
2078
|
+
include?: Prisma.WorkspaceKnowledgeBaseInclude<ExtArgs> | null
|
|
2079
|
+
where?: Prisma.WorkspaceKnowledgeBaseWhereInput
|
|
2080
|
+
orderBy?: Prisma.WorkspaceKnowledgeBaseOrderByWithRelationInput | Prisma.WorkspaceKnowledgeBaseOrderByWithRelationInput[]
|
|
2081
|
+
cursor?: Prisma.WorkspaceKnowledgeBaseWhereUniqueInput
|
|
2082
|
+
take?: number
|
|
2083
|
+
skip?: number
|
|
2084
|
+
distinct?: Prisma.WorkspaceKnowledgeBaseScalarFieldEnum | Prisma.WorkspaceKnowledgeBaseScalarFieldEnum[]
|
|
2085
|
+
}
|
|
2086
|
+
|
|
2087
|
+
/**
|
|
2088
|
+
* Workspace.quickDocs
|
|
2089
|
+
*/
|
|
2090
|
+
export type Workspace$quickDocsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2091
|
+
/**
|
|
2092
|
+
* Select specific fields to fetch from the WorkspaceQuickDoc
|
|
2093
|
+
*/
|
|
2094
|
+
select?: Prisma.WorkspaceQuickDocSelect<ExtArgs> | null
|
|
2095
|
+
/**
|
|
2096
|
+
* Omit specific fields from the WorkspaceQuickDoc
|
|
2097
|
+
*/
|
|
2098
|
+
omit?: Prisma.WorkspaceQuickDocOmit<ExtArgs> | null
|
|
2099
|
+
/**
|
|
2100
|
+
* Choose, which related nodes to fetch as well
|
|
2101
|
+
*/
|
|
2102
|
+
include?: Prisma.WorkspaceQuickDocInclude<ExtArgs> | null
|
|
2103
|
+
where?: Prisma.WorkspaceQuickDocWhereInput
|
|
2104
|
+
orderBy?: Prisma.WorkspaceQuickDocOrderByWithRelationInput | Prisma.WorkspaceQuickDocOrderByWithRelationInput[]
|
|
2105
|
+
cursor?: Prisma.WorkspaceQuickDocWhereUniqueInput
|
|
2106
|
+
take?: number
|
|
2107
|
+
skip?: number
|
|
2108
|
+
distinct?: Prisma.WorkspaceQuickDocScalarFieldEnum | Prisma.WorkspaceQuickDocScalarFieldEnum[]
|
|
2109
|
+
}
|
|
2110
|
+
|
|
1760
2111
|
/**
|
|
1761
2112
|
* Workspace.usageRecords
|
|
1762
2113
|
*/
|