@allbluecn/database 0.5.0 → 0.8.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 +35 -0
- package/generated/client.ts +35 -0
- package/generated/internal/class.ts +74 -4
- package/generated/internal/prismaNamespace.ts +634 -2
- package/generated/internal/prismaNamespaceBrowser.ts +108 -1
- package/generated/models/EmailLog.ts +1345 -0
- package/generated/models/EmailPreference.ts +1257 -0
- package/generated/models/EmailSubscriber.ts +1233 -0
- package/generated/models/EmailVerificationToken.ts +1380 -0
- package/generated/models/InvitationCode.ts +65 -1
- package/generated/models/KnowledgeBase.ts +158 -0
- package/generated/models/KnowledgeDocument.ts +176 -0
- package/generated/models/NotificationPreference.ts +27 -1
- package/generated/models/OAuthProviderConfig.ts +1227 -0
- package/generated/models/User.ts +2405 -493
- package/generated/models/Workspace.ts +380 -0
- package/generated/models/WorkspaceKnowledgeBase.ts +1430 -0
- package/generated/models/WorkspaceQuickDoc.ts +2030 -0
- package/generated/models.ts +7 -0
- package/generated-sqlite/browser.ts +40 -0
- package/generated-sqlite/client.ts +40 -0
- package/generated-sqlite/internal/class.ts +84 -4
- package/generated-sqlite/internal/prismaNamespace.ts +722 -3
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +121 -2
- package/generated-sqlite/models/EmailLog.ts +1343 -0
- package/generated-sqlite/models/EmailPreference.ts +1255 -0
- package/generated-sqlite/models/EmailSubscriber.ts +1231 -0
- package/generated-sqlite/models/EmailVerificationToken.ts +1377 -0
- package/generated-sqlite/models/InvitationCode.ts +65 -1
- package/generated-sqlite/models/KnowledgeBase.ts +150 -0
- package/generated-sqlite/models/KnowledgeDocument.ts +168 -0
- package/generated-sqlite/models/NotificationPreference.ts +1313 -0
- package/generated-sqlite/models/OAuthProviderConfig.ts +1225 -0
- package/generated-sqlite/models/User.ts +2252 -160
- package/generated-sqlite/models/Workspace.ts +300 -0
- package/generated-sqlite/models/WorkspaceKnowledgeBase.ts +1426 -0
- package/generated-sqlite/models/WorkspaceQuickDoc.ts +2025 -0
- package/generated-sqlite/models.ts +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/migrations/20260911120000_add_pgvector_tables/migration.sql +28 -0
- package/migrations/20260911171433_email_auth_invitation/migration.sql +80 -0
- package/migrations/20260912032616_email_p4_p8/migration.sql +42 -0
- package/package.json +2 -2
- package/schema.prisma +141 -14
- package/schema.sqlite.prisma +141 -6
|
@@ -208,6 +208,8 @@ export type WorkspaceWhereInput = {
|
|
|
208
208
|
updatedAt?: Prisma.DateTimeFilter<"Workspace"> | Date | string
|
|
209
209
|
owner?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
210
210
|
projects?: Prisma.ProjectListRelationFilter
|
|
211
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseListRelationFilter
|
|
212
|
+
quickDocs?: Prisma.WorkspaceQuickDocListRelationFilter
|
|
211
213
|
usageRecords?: Prisma.UsageRecordListRelationFilter
|
|
212
214
|
aiUsageLogs?: Prisma.AiUsageLogListRelationFilter
|
|
213
215
|
}
|
|
@@ -223,6 +225,8 @@ export type WorkspaceOrderByWithRelationInput = {
|
|
|
223
225
|
updatedAt?: Prisma.SortOrder
|
|
224
226
|
owner?: Prisma.UserOrderByWithRelationInput
|
|
225
227
|
projects?: Prisma.ProjectOrderByRelationAggregateInput
|
|
228
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseOrderByRelationAggregateInput
|
|
229
|
+
quickDocs?: Prisma.WorkspaceQuickDocOrderByRelationAggregateInput
|
|
226
230
|
usageRecords?: Prisma.UsageRecordOrderByRelationAggregateInput
|
|
227
231
|
aiUsageLogs?: Prisma.AiUsageLogOrderByRelationAggregateInput
|
|
228
232
|
}
|
|
@@ -241,6 +245,8 @@ export type WorkspaceWhereUniqueInput = Prisma.AtLeast<{
|
|
|
241
245
|
updatedAt?: Prisma.DateTimeFilter<"Workspace"> | Date | string
|
|
242
246
|
owner?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
243
247
|
projects?: Prisma.ProjectListRelationFilter
|
|
248
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseListRelationFilter
|
|
249
|
+
quickDocs?: Prisma.WorkspaceQuickDocListRelationFilter
|
|
244
250
|
usageRecords?: Prisma.UsageRecordListRelationFilter
|
|
245
251
|
aiUsageLogs?: Prisma.AiUsageLogListRelationFilter
|
|
246
252
|
}, "id">
|
|
@@ -283,6 +289,8 @@ export type WorkspaceCreateInput = {
|
|
|
283
289
|
updatedAt?: Date | string
|
|
284
290
|
owner: Prisma.UserCreateNestedOneWithoutOwnedWorkspacesInput
|
|
285
291
|
projects?: Prisma.ProjectCreateNestedManyWithoutWorkspaceInput
|
|
292
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
293
|
+
quickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutWorkspaceInput
|
|
286
294
|
usageRecords?: Prisma.UsageRecordCreateNestedManyWithoutWorkspaceInput
|
|
287
295
|
aiUsageLogs?: Prisma.AiUsageLogCreateNestedManyWithoutWorkspaceInput
|
|
288
296
|
}
|
|
@@ -297,6 +305,8 @@ export type WorkspaceUncheckedCreateInput = {
|
|
|
297
305
|
createdAt?: Date | string
|
|
298
306
|
updatedAt?: Date | string
|
|
299
307
|
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
308
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
309
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
300
310
|
usageRecords?: Prisma.UsageRecordUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
301
311
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
302
312
|
}
|
|
@@ -311,6 +321,8 @@ export type WorkspaceUpdateInput = {
|
|
|
311
321
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
312
322
|
owner?: Prisma.UserUpdateOneRequiredWithoutOwnedWorkspacesNestedInput
|
|
313
323
|
projects?: Prisma.ProjectUpdateManyWithoutWorkspaceNestedInput
|
|
324
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
325
|
+
quickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutWorkspaceNestedInput
|
|
314
326
|
usageRecords?: Prisma.UsageRecordUpdateManyWithoutWorkspaceNestedInput
|
|
315
327
|
aiUsageLogs?: Prisma.AiUsageLogUpdateManyWithoutWorkspaceNestedInput
|
|
316
328
|
}
|
|
@@ -325,6 +337,8 @@ export type WorkspaceUncheckedUpdateInput = {
|
|
|
325
337
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
326
338
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
327
339
|
projects?: Prisma.ProjectUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
340
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
341
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
328
342
|
usageRecords?: Prisma.UsageRecordUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
329
343
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
330
344
|
}
|
|
@@ -476,6 +490,34 @@ export type BoolFieldUpdateOperationsInput = {
|
|
|
476
490
|
set?: boolean
|
|
477
491
|
}
|
|
478
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
|
+
|
|
479
521
|
export type WorkspaceCreateNestedOneWithoutUsageRecordsInput = {
|
|
480
522
|
create?: Prisma.XOR<Prisma.WorkspaceCreateWithoutUsageRecordsInput, Prisma.WorkspaceUncheckedCreateWithoutUsageRecordsInput>
|
|
481
523
|
connectOrCreate?: Prisma.WorkspaceCreateOrConnectWithoutUsageRecordsInput
|
|
@@ -513,6 +555,8 @@ export type WorkspaceCreateWithoutOwnerInput = {
|
|
|
513
555
|
createdAt?: Date | string
|
|
514
556
|
updatedAt?: Date | string
|
|
515
557
|
projects?: Prisma.ProjectCreateNestedManyWithoutWorkspaceInput
|
|
558
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
559
|
+
quickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutWorkspaceInput
|
|
516
560
|
usageRecords?: Prisma.UsageRecordCreateNestedManyWithoutWorkspaceInput
|
|
517
561
|
aiUsageLogs?: Prisma.AiUsageLogCreateNestedManyWithoutWorkspaceInput
|
|
518
562
|
}
|
|
@@ -526,6 +570,8 @@ export type WorkspaceUncheckedCreateWithoutOwnerInput = {
|
|
|
526
570
|
createdAt?: Date | string
|
|
527
571
|
updatedAt?: Date | string
|
|
528
572
|
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
573
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
574
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
529
575
|
usageRecords?: Prisma.UsageRecordUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
530
576
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
531
577
|
}
|
|
@@ -578,6 +624,8 @@ export type WorkspaceCreateWithoutProjectsInput = {
|
|
|
578
624
|
createdAt?: Date | string
|
|
579
625
|
updatedAt?: Date | string
|
|
580
626
|
owner: Prisma.UserCreateNestedOneWithoutOwnedWorkspacesInput
|
|
627
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
628
|
+
quickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutWorkspaceInput
|
|
581
629
|
usageRecords?: Prisma.UsageRecordCreateNestedManyWithoutWorkspaceInput
|
|
582
630
|
aiUsageLogs?: Prisma.AiUsageLogCreateNestedManyWithoutWorkspaceInput
|
|
583
631
|
}
|
|
@@ -591,6 +639,8 @@ export type WorkspaceUncheckedCreateWithoutProjectsInput = {
|
|
|
591
639
|
ownerId: string
|
|
592
640
|
createdAt?: Date | string
|
|
593
641
|
updatedAt?: Date | string
|
|
642
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
643
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
594
644
|
usageRecords?: Prisma.UsageRecordUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
595
645
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
596
646
|
}
|
|
@@ -620,6 +670,8 @@ export type WorkspaceUpdateWithoutProjectsInput = {
|
|
|
620
670
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
621
671
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
622
672
|
owner?: Prisma.UserUpdateOneRequiredWithoutOwnedWorkspacesNestedInput
|
|
673
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
674
|
+
quickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutWorkspaceNestedInput
|
|
623
675
|
usageRecords?: Prisma.UsageRecordUpdateManyWithoutWorkspaceNestedInput
|
|
624
676
|
aiUsageLogs?: Prisma.AiUsageLogUpdateManyWithoutWorkspaceNestedInput
|
|
625
677
|
}
|
|
@@ -633,6 +685,160 @@ export type WorkspaceUncheckedUpdateWithoutProjectsInput = {
|
|
|
633
685
|
ownerId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
634
686
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
635
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
|
|
837
|
+
ownerId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
838
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
839
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
840
|
+
projects?: Prisma.ProjectUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
841
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
636
842
|
usageRecords?: Prisma.UsageRecordUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
637
843
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
638
844
|
}
|
|
@@ -647,6 +853,8 @@ export type WorkspaceCreateWithoutUsageRecordsInput = {
|
|
|
647
853
|
updatedAt?: Date | string
|
|
648
854
|
owner: Prisma.UserCreateNestedOneWithoutOwnedWorkspacesInput
|
|
649
855
|
projects?: Prisma.ProjectCreateNestedManyWithoutWorkspaceInput
|
|
856
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
857
|
+
quickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutWorkspaceInput
|
|
650
858
|
aiUsageLogs?: Prisma.AiUsageLogCreateNestedManyWithoutWorkspaceInput
|
|
651
859
|
}
|
|
652
860
|
|
|
@@ -660,6 +868,8 @@ export type WorkspaceUncheckedCreateWithoutUsageRecordsInput = {
|
|
|
660
868
|
createdAt?: Date | string
|
|
661
869
|
updatedAt?: Date | string
|
|
662
870
|
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
871
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
872
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
663
873
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
664
874
|
}
|
|
665
875
|
|
|
@@ -689,6 +899,8 @@ export type WorkspaceUpdateWithoutUsageRecordsInput = {
|
|
|
689
899
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
690
900
|
owner?: Prisma.UserUpdateOneRequiredWithoutOwnedWorkspacesNestedInput
|
|
691
901
|
projects?: Prisma.ProjectUpdateManyWithoutWorkspaceNestedInput
|
|
902
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
903
|
+
quickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutWorkspaceNestedInput
|
|
692
904
|
aiUsageLogs?: Prisma.AiUsageLogUpdateManyWithoutWorkspaceNestedInput
|
|
693
905
|
}
|
|
694
906
|
|
|
@@ -702,6 +914,8 @@ export type WorkspaceUncheckedUpdateWithoutUsageRecordsInput = {
|
|
|
702
914
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
703
915
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
704
916
|
projects?: Prisma.ProjectUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
917
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
918
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
705
919
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
706
920
|
}
|
|
707
921
|
|
|
@@ -715,6 +929,8 @@ export type WorkspaceCreateWithoutAiUsageLogsInput = {
|
|
|
715
929
|
updatedAt?: Date | string
|
|
716
930
|
owner: Prisma.UserCreateNestedOneWithoutOwnedWorkspacesInput
|
|
717
931
|
projects?: Prisma.ProjectCreateNestedManyWithoutWorkspaceInput
|
|
932
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
933
|
+
quickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutWorkspaceInput
|
|
718
934
|
usageRecords?: Prisma.UsageRecordCreateNestedManyWithoutWorkspaceInput
|
|
719
935
|
}
|
|
720
936
|
|
|
@@ -728,6 +944,8 @@ export type WorkspaceUncheckedCreateWithoutAiUsageLogsInput = {
|
|
|
728
944
|
createdAt?: Date | string
|
|
729
945
|
updatedAt?: Date | string
|
|
730
946
|
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
947
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
948
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
731
949
|
usageRecords?: Prisma.UsageRecordUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
732
950
|
}
|
|
733
951
|
|
|
@@ -757,6 +975,8 @@ export type WorkspaceUpdateWithoutAiUsageLogsInput = {
|
|
|
757
975
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
758
976
|
owner?: Prisma.UserUpdateOneRequiredWithoutOwnedWorkspacesNestedInput
|
|
759
977
|
projects?: Prisma.ProjectUpdateManyWithoutWorkspaceNestedInput
|
|
978
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
979
|
+
quickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutWorkspaceNestedInput
|
|
760
980
|
usageRecords?: Prisma.UsageRecordUpdateManyWithoutWorkspaceNestedInput
|
|
761
981
|
}
|
|
762
982
|
|
|
@@ -770,6 +990,8 @@ export type WorkspaceUncheckedUpdateWithoutAiUsageLogsInput = {
|
|
|
770
990
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
771
991
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
772
992
|
projects?: Prisma.ProjectUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
993
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
994
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
773
995
|
usageRecords?: Prisma.UsageRecordUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
774
996
|
}
|
|
775
997
|
|
|
@@ -792,6 +1014,8 @@ export type WorkspaceUpdateWithoutOwnerInput = {
|
|
|
792
1014
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
793
1015
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
794
1016
|
projects?: Prisma.ProjectUpdateManyWithoutWorkspaceNestedInput
|
|
1017
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
1018
|
+
quickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutWorkspaceNestedInput
|
|
795
1019
|
usageRecords?: Prisma.UsageRecordUpdateManyWithoutWorkspaceNestedInput
|
|
796
1020
|
aiUsageLogs?: Prisma.AiUsageLogUpdateManyWithoutWorkspaceNestedInput
|
|
797
1021
|
}
|
|
@@ -805,6 +1029,8 @@ export type WorkspaceUncheckedUpdateWithoutOwnerInput = {
|
|
|
805
1029
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
806
1030
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
807
1031
|
projects?: Prisma.ProjectUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1032
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1033
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
808
1034
|
usageRecords?: Prisma.UsageRecordUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
809
1035
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
810
1036
|
}
|
|
@@ -826,12 +1052,16 @@ export type WorkspaceUncheckedUpdateManyWithoutOwnerInput = {
|
|
|
826
1052
|
|
|
827
1053
|
export type WorkspaceCountOutputType = {
|
|
828
1054
|
projects: number
|
|
1055
|
+
workspaceKbLinks: number
|
|
1056
|
+
quickDocs: number
|
|
829
1057
|
usageRecords: number
|
|
830
1058
|
aiUsageLogs: number
|
|
831
1059
|
}
|
|
832
1060
|
|
|
833
1061
|
export type WorkspaceCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
834
1062
|
projects?: boolean | WorkspaceCountOutputTypeCountProjectsArgs
|
|
1063
|
+
workspaceKbLinks?: boolean | WorkspaceCountOutputTypeCountWorkspaceKbLinksArgs
|
|
1064
|
+
quickDocs?: boolean | WorkspaceCountOutputTypeCountQuickDocsArgs
|
|
835
1065
|
usageRecords?: boolean | WorkspaceCountOutputTypeCountUsageRecordsArgs
|
|
836
1066
|
aiUsageLogs?: boolean | WorkspaceCountOutputTypeCountAiUsageLogsArgs
|
|
837
1067
|
}
|
|
@@ -853,6 +1083,20 @@ export type WorkspaceCountOutputTypeCountProjectsArgs<ExtArgs extends runtime.Ty
|
|
|
853
1083
|
where?: Prisma.ProjectWhereInput
|
|
854
1084
|
}
|
|
855
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
|
+
|
|
856
1100
|
/**
|
|
857
1101
|
* WorkspaceCountOutputType without action
|
|
858
1102
|
*/
|
|
@@ -879,6 +1123,8 @@ export type WorkspaceSelect<ExtArgs extends runtime.Types.Extensions.InternalArg
|
|
|
879
1123
|
updatedAt?: boolean
|
|
880
1124
|
owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
881
1125
|
projects?: boolean | Prisma.Workspace$projectsArgs<ExtArgs>
|
|
1126
|
+
workspaceKbLinks?: boolean | Prisma.Workspace$workspaceKbLinksArgs<ExtArgs>
|
|
1127
|
+
quickDocs?: boolean | Prisma.Workspace$quickDocsArgs<ExtArgs>
|
|
882
1128
|
usageRecords?: boolean | Prisma.Workspace$usageRecordsArgs<ExtArgs>
|
|
883
1129
|
aiUsageLogs?: boolean | Prisma.Workspace$aiUsageLogsArgs<ExtArgs>
|
|
884
1130
|
_count?: boolean | Prisma.WorkspaceCountOutputTypeDefaultArgs<ExtArgs>
|
|
@@ -923,6 +1169,8 @@ export type WorkspaceOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
923
1169
|
export type WorkspaceInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
924
1170
|
owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
925
1171
|
projects?: boolean | Prisma.Workspace$projectsArgs<ExtArgs>
|
|
1172
|
+
workspaceKbLinks?: boolean | Prisma.Workspace$workspaceKbLinksArgs<ExtArgs>
|
|
1173
|
+
quickDocs?: boolean | Prisma.Workspace$quickDocsArgs<ExtArgs>
|
|
926
1174
|
usageRecords?: boolean | Prisma.Workspace$usageRecordsArgs<ExtArgs>
|
|
927
1175
|
aiUsageLogs?: boolean | Prisma.Workspace$aiUsageLogsArgs<ExtArgs>
|
|
928
1176
|
_count?: boolean | Prisma.WorkspaceCountOutputTypeDefaultArgs<ExtArgs>
|
|
@@ -939,6 +1187,8 @@ export type $WorkspacePayload<ExtArgs extends runtime.Types.Extensions.InternalA
|
|
|
939
1187
|
objects: {
|
|
940
1188
|
owner: Prisma.$UserPayload<ExtArgs>
|
|
941
1189
|
projects: Prisma.$ProjectPayload<ExtArgs>[]
|
|
1190
|
+
workspaceKbLinks: Prisma.$WorkspaceKnowledgeBasePayload<ExtArgs>[]
|
|
1191
|
+
quickDocs: Prisma.$WorkspaceQuickDocPayload<ExtArgs>[]
|
|
942
1192
|
usageRecords: Prisma.$UsageRecordPayload<ExtArgs>[]
|
|
943
1193
|
aiUsageLogs: Prisma.$AiUsageLogPayload<ExtArgs>[]
|
|
944
1194
|
}
|
|
@@ -1347,6 +1597,8 @@ export interface Prisma__WorkspaceClient<T, Null = never, ExtArgs extends runtim
|
|
|
1347
1597
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1348
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>
|
|
1349
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>
|
|
1350
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>
|
|
1351
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>
|
|
1352
1604
|
/**
|
|
@@ -1808,6 +2060,54 @@ export type Workspace$projectsArgs<ExtArgs extends runtime.Types.Extensions.Inte
|
|
|
1808
2060
|
distinct?: Prisma.ProjectScalarFieldEnum | Prisma.ProjectScalarFieldEnum[]
|
|
1809
2061
|
}
|
|
1810
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
|
+
|
|
1811
2111
|
/**
|
|
1812
2112
|
* Workspace.usageRecords
|
|
1813
2113
|
*/
|