@allbluecn/database 0.9.2 → 0.9.3
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/cf-env-stub.ts +4 -0
- package/cf-env.ts +25 -0
- package/cloudflare-workers.d.ts +6 -0
- package/dist/cf-env-stub.d.ts +1 -0
- package/dist/cf-env-stub.js +4 -0
- package/dist/cf-env.d.ts +1 -0
- package/dist/cf-env.js +8 -0
- package/generated/browser.ts +30 -15
- package/generated/client.ts +30 -15
- package/generated/internal/class.ts +64 -34
- package/generated/internal/prismaNamespace.ts +543 -263
- package/generated/internal/prismaNamespaceBrowser.ts +92 -37
- package/generated/models/AiTask.ts +2481 -0
- package/generated/models/AiTaskRun.ts +1564 -0
- package/generated/models/Bug.ts +94 -1
- package/generated/models/BugComment.ts +139 -0
- package/generated/models/BugCommentReaction.ts +1472 -0
- package/generated/models/CollabClient.ts +1199 -0
- package/generated/models/CollabDocument.ts +1121 -0
- package/generated/models/CollabUpdate.ts +1149 -0
- package/generated/models/Component.ts +0 -194
- package/generated/models/Design.ts +0 -190
- package/generated/models/Project.ts +261 -0
- package/generated/models/TestCase.ts +78 -1
- package/generated/models/User.ts +2073 -1271
- package/generated/models/Workspace.ts +204 -0
- package/generated/models.ts +6 -3
- package/generated-sqlite/browser.ts +0 -15
- package/generated-sqlite/client.ts +0 -15
- package/generated-sqlite/internal/class.ts +4 -34
- package/generated-sqlite/internal/prismaNamespace.ts +1 -262
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +0 -36
- package/generated-sqlite/models/Component.ts +0 -194
- package/generated-sqlite/models/Design.ts +0 -182
- package/generated-sqlite/models/User.ts +0 -586
- package/generated-sqlite/models.ts +0 -3
- package/index.ts +16 -2
- package/migrations/20261007112656_collab_init/migration.sql +45 -0
- package/migrations/20261007122530_collab_client_clientid_bigint/migration.sql +10 -0
- package/migrations/20261009194853_remove_tag_module/migration.sql +24 -0
- package/migrations/20261009222043_ai_task_init/migration.sql +67 -0
- package/migrations/20261019202531_ui_alignment_board_order/migration.sql +35 -0
- package/package.json +17 -6
- package/schema.prisma +99 -54
- package/schema.sqlite.prisma +0 -54
- package/generated/models/ComponentTag.ts +0 -1281
- package/generated/models/DesignTag.ts +0 -1430
- package/generated/models/Tag.ts +0 -1655
- package/generated-sqlite/models/ComponentTag.ts +0 -1278
- package/generated-sqlite/models/DesignTag.ts +0 -1426
- package/generated-sqlite/models/Tag.ts +0 -1652
|
@@ -217,6 +217,7 @@ export type WorkspaceWhereInput = {
|
|
|
217
217
|
ssoProviders?: Prisma.SsoProviderListRelationFilter
|
|
218
218
|
customRoles?: Prisma.CustomRoleListRelationFilter
|
|
219
219
|
auditLogs?: Prisma.AuditLogListRelationFilter
|
|
220
|
+
aiTasks?: Prisma.AiTaskListRelationFilter
|
|
220
221
|
}
|
|
221
222
|
|
|
222
223
|
export type WorkspaceOrderByWithRelationInput = {
|
|
@@ -239,6 +240,7 @@ export type WorkspaceOrderByWithRelationInput = {
|
|
|
239
240
|
ssoProviders?: Prisma.SsoProviderOrderByRelationAggregateInput
|
|
240
241
|
customRoles?: Prisma.CustomRoleOrderByRelationAggregateInput
|
|
241
242
|
auditLogs?: Prisma.AuditLogOrderByRelationAggregateInput
|
|
243
|
+
aiTasks?: Prisma.AiTaskOrderByRelationAggregateInput
|
|
242
244
|
}
|
|
243
245
|
|
|
244
246
|
export type WorkspaceWhereUniqueInput = Prisma.AtLeast<{
|
|
@@ -264,6 +266,7 @@ export type WorkspaceWhereUniqueInput = Prisma.AtLeast<{
|
|
|
264
266
|
ssoProviders?: Prisma.SsoProviderListRelationFilter
|
|
265
267
|
customRoles?: Prisma.CustomRoleListRelationFilter
|
|
266
268
|
auditLogs?: Prisma.AuditLogListRelationFilter
|
|
269
|
+
aiTasks?: Prisma.AiTaskListRelationFilter
|
|
267
270
|
}, "id">
|
|
268
271
|
|
|
269
272
|
export type WorkspaceOrderByWithAggregationInput = {
|
|
@@ -313,6 +316,7 @@ export type WorkspaceCreateInput = {
|
|
|
313
316
|
ssoProviders?: Prisma.SsoProviderCreateNestedManyWithoutWorkspaceInput
|
|
314
317
|
customRoles?: Prisma.CustomRoleCreateNestedManyWithoutWorkspaceInput
|
|
315
318
|
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutWorkspaceInput
|
|
319
|
+
aiTasks?: Prisma.AiTaskCreateNestedManyWithoutWorkspaceInput
|
|
316
320
|
}
|
|
317
321
|
|
|
318
322
|
export type WorkspaceUncheckedCreateInput = {
|
|
@@ -334,6 +338,7 @@ export type WorkspaceUncheckedCreateInput = {
|
|
|
334
338
|
ssoProviders?: Prisma.SsoProviderUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
335
339
|
customRoles?: Prisma.CustomRoleUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
336
340
|
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
341
|
+
aiTasks?: Prisma.AiTaskUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
337
342
|
}
|
|
338
343
|
|
|
339
344
|
export type WorkspaceUpdateInput = {
|
|
@@ -355,6 +360,7 @@ export type WorkspaceUpdateInput = {
|
|
|
355
360
|
ssoProviders?: Prisma.SsoProviderUpdateManyWithoutWorkspaceNestedInput
|
|
356
361
|
customRoles?: Prisma.CustomRoleUpdateManyWithoutWorkspaceNestedInput
|
|
357
362
|
auditLogs?: Prisma.AuditLogUpdateManyWithoutWorkspaceNestedInput
|
|
363
|
+
aiTasks?: Prisma.AiTaskUpdateManyWithoutWorkspaceNestedInput
|
|
358
364
|
}
|
|
359
365
|
|
|
360
366
|
export type WorkspaceUncheckedUpdateInput = {
|
|
@@ -376,6 +382,7 @@ export type WorkspaceUncheckedUpdateInput = {
|
|
|
376
382
|
ssoProviders?: Prisma.SsoProviderUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
377
383
|
customRoles?: Prisma.CustomRoleUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
378
384
|
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
385
|
+
aiTasks?: Prisma.AiTaskUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
379
386
|
}
|
|
380
387
|
|
|
381
388
|
export type WorkspaceCreateManyInput = {
|
|
@@ -657,6 +664,22 @@ export type WorkspaceUpdateOneRequiredWithoutCustomRolesNestedInput = {
|
|
|
657
664
|
update?: Prisma.XOR<Prisma.XOR<Prisma.WorkspaceUpdateToOneWithWhereWithoutCustomRolesInput, Prisma.WorkspaceUpdateWithoutCustomRolesInput>, Prisma.WorkspaceUncheckedUpdateWithoutCustomRolesInput>
|
|
658
665
|
}
|
|
659
666
|
|
|
667
|
+
export type WorkspaceCreateNestedOneWithoutAiTasksInput = {
|
|
668
|
+
create?: Prisma.XOR<Prisma.WorkspaceCreateWithoutAiTasksInput, Prisma.WorkspaceUncheckedCreateWithoutAiTasksInput>
|
|
669
|
+
connectOrCreate?: Prisma.WorkspaceCreateOrConnectWithoutAiTasksInput
|
|
670
|
+
connect?: Prisma.WorkspaceWhereUniqueInput
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
export type WorkspaceUpdateOneWithoutAiTasksNestedInput = {
|
|
674
|
+
create?: Prisma.XOR<Prisma.WorkspaceCreateWithoutAiTasksInput, Prisma.WorkspaceUncheckedCreateWithoutAiTasksInput>
|
|
675
|
+
connectOrCreate?: Prisma.WorkspaceCreateOrConnectWithoutAiTasksInput
|
|
676
|
+
upsert?: Prisma.WorkspaceUpsertWithoutAiTasksInput
|
|
677
|
+
disconnect?: Prisma.WorkspaceWhereInput | boolean
|
|
678
|
+
delete?: Prisma.WorkspaceWhereInput | boolean
|
|
679
|
+
connect?: Prisma.WorkspaceWhereUniqueInput
|
|
680
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.WorkspaceUpdateToOneWithWhereWithoutAiTasksInput, Prisma.WorkspaceUpdateWithoutAiTasksInput>, Prisma.WorkspaceUncheckedUpdateWithoutAiTasksInput>
|
|
681
|
+
}
|
|
682
|
+
|
|
660
683
|
export type WorkspaceCreateWithoutOwnerInput = {
|
|
661
684
|
id?: string
|
|
662
685
|
name: string
|
|
@@ -675,6 +698,7 @@ export type WorkspaceCreateWithoutOwnerInput = {
|
|
|
675
698
|
ssoProviders?: Prisma.SsoProviderCreateNestedManyWithoutWorkspaceInput
|
|
676
699
|
customRoles?: Prisma.CustomRoleCreateNestedManyWithoutWorkspaceInput
|
|
677
700
|
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutWorkspaceInput
|
|
701
|
+
aiTasks?: Prisma.AiTaskCreateNestedManyWithoutWorkspaceInput
|
|
678
702
|
}
|
|
679
703
|
|
|
680
704
|
export type WorkspaceUncheckedCreateWithoutOwnerInput = {
|
|
@@ -695,6 +719,7 @@ export type WorkspaceUncheckedCreateWithoutOwnerInput = {
|
|
|
695
719
|
ssoProviders?: Prisma.SsoProviderUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
696
720
|
customRoles?: Prisma.CustomRoleUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
697
721
|
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
722
|
+
aiTasks?: Prisma.AiTaskUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
698
723
|
}
|
|
699
724
|
|
|
700
725
|
export type WorkspaceCreateOrConnectWithoutOwnerInput = {
|
|
@@ -755,6 +780,7 @@ export type WorkspaceCreateWithoutProjectsInput = {
|
|
|
755
780
|
ssoProviders?: Prisma.SsoProviderCreateNestedManyWithoutWorkspaceInput
|
|
756
781
|
customRoles?: Prisma.CustomRoleCreateNestedManyWithoutWorkspaceInput
|
|
757
782
|
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutWorkspaceInput
|
|
783
|
+
aiTasks?: Prisma.AiTaskCreateNestedManyWithoutWorkspaceInput
|
|
758
784
|
}
|
|
759
785
|
|
|
760
786
|
export type WorkspaceUncheckedCreateWithoutProjectsInput = {
|
|
@@ -775,6 +801,7 @@ export type WorkspaceUncheckedCreateWithoutProjectsInput = {
|
|
|
775
801
|
ssoProviders?: Prisma.SsoProviderUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
776
802
|
customRoles?: Prisma.CustomRoleUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
777
803
|
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
804
|
+
aiTasks?: Prisma.AiTaskUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
778
805
|
}
|
|
779
806
|
|
|
780
807
|
export type WorkspaceCreateOrConnectWithoutProjectsInput = {
|
|
@@ -811,6 +838,7 @@ export type WorkspaceUpdateWithoutProjectsInput = {
|
|
|
811
838
|
ssoProviders?: Prisma.SsoProviderUpdateManyWithoutWorkspaceNestedInput
|
|
812
839
|
customRoles?: Prisma.CustomRoleUpdateManyWithoutWorkspaceNestedInput
|
|
813
840
|
auditLogs?: Prisma.AuditLogUpdateManyWithoutWorkspaceNestedInput
|
|
841
|
+
aiTasks?: Prisma.AiTaskUpdateManyWithoutWorkspaceNestedInput
|
|
814
842
|
}
|
|
815
843
|
|
|
816
844
|
export type WorkspaceUncheckedUpdateWithoutProjectsInput = {
|
|
@@ -831,6 +859,7 @@ export type WorkspaceUncheckedUpdateWithoutProjectsInput = {
|
|
|
831
859
|
ssoProviders?: Prisma.SsoProviderUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
832
860
|
customRoles?: Prisma.CustomRoleUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
833
861
|
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
862
|
+
aiTasks?: Prisma.AiTaskUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
834
863
|
}
|
|
835
864
|
|
|
836
865
|
export type WorkspaceCreateWithoutMembersInput = {
|
|
@@ -851,6 +880,7 @@ export type WorkspaceCreateWithoutMembersInput = {
|
|
|
851
880
|
ssoProviders?: Prisma.SsoProviderCreateNestedManyWithoutWorkspaceInput
|
|
852
881
|
customRoles?: Prisma.CustomRoleCreateNestedManyWithoutWorkspaceInput
|
|
853
882
|
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutWorkspaceInput
|
|
883
|
+
aiTasks?: Prisma.AiTaskCreateNestedManyWithoutWorkspaceInput
|
|
854
884
|
}
|
|
855
885
|
|
|
856
886
|
export type WorkspaceUncheckedCreateWithoutMembersInput = {
|
|
@@ -871,6 +901,7 @@ export type WorkspaceUncheckedCreateWithoutMembersInput = {
|
|
|
871
901
|
ssoProviders?: Prisma.SsoProviderUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
872
902
|
customRoles?: Prisma.CustomRoleUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
873
903
|
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
904
|
+
aiTasks?: Prisma.AiTaskUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
874
905
|
}
|
|
875
906
|
|
|
876
907
|
export type WorkspaceCreateOrConnectWithoutMembersInput = {
|
|
@@ -907,6 +938,7 @@ export type WorkspaceUpdateWithoutMembersInput = {
|
|
|
907
938
|
ssoProviders?: Prisma.SsoProviderUpdateManyWithoutWorkspaceNestedInput
|
|
908
939
|
customRoles?: Prisma.CustomRoleUpdateManyWithoutWorkspaceNestedInput
|
|
909
940
|
auditLogs?: Prisma.AuditLogUpdateManyWithoutWorkspaceNestedInput
|
|
941
|
+
aiTasks?: Prisma.AiTaskUpdateManyWithoutWorkspaceNestedInput
|
|
910
942
|
}
|
|
911
943
|
|
|
912
944
|
export type WorkspaceUncheckedUpdateWithoutMembersInput = {
|
|
@@ -927,6 +959,7 @@ export type WorkspaceUncheckedUpdateWithoutMembersInput = {
|
|
|
927
959
|
ssoProviders?: Prisma.SsoProviderUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
928
960
|
customRoles?: Prisma.CustomRoleUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
929
961
|
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
962
|
+
aiTasks?: Prisma.AiTaskUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
930
963
|
}
|
|
931
964
|
|
|
932
965
|
export type WorkspaceCreateWithoutKnowledgeBasesInput = {
|
|
@@ -947,6 +980,7 @@ export type WorkspaceCreateWithoutKnowledgeBasesInput = {
|
|
|
947
980
|
ssoProviders?: Prisma.SsoProviderCreateNestedManyWithoutWorkspaceInput
|
|
948
981
|
customRoles?: Prisma.CustomRoleCreateNestedManyWithoutWorkspaceInput
|
|
949
982
|
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutWorkspaceInput
|
|
983
|
+
aiTasks?: Prisma.AiTaskCreateNestedManyWithoutWorkspaceInput
|
|
950
984
|
}
|
|
951
985
|
|
|
952
986
|
export type WorkspaceUncheckedCreateWithoutKnowledgeBasesInput = {
|
|
@@ -967,6 +1001,7 @@ export type WorkspaceUncheckedCreateWithoutKnowledgeBasesInput = {
|
|
|
967
1001
|
ssoProviders?: Prisma.SsoProviderUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
968
1002
|
customRoles?: Prisma.CustomRoleUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
969
1003
|
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1004
|
+
aiTasks?: Prisma.AiTaskUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
970
1005
|
}
|
|
971
1006
|
|
|
972
1007
|
export type WorkspaceCreateOrConnectWithoutKnowledgeBasesInput = {
|
|
@@ -1003,6 +1038,7 @@ export type WorkspaceUpdateWithoutKnowledgeBasesInput = {
|
|
|
1003
1038
|
ssoProviders?: Prisma.SsoProviderUpdateManyWithoutWorkspaceNestedInput
|
|
1004
1039
|
customRoles?: Prisma.CustomRoleUpdateManyWithoutWorkspaceNestedInput
|
|
1005
1040
|
auditLogs?: Prisma.AuditLogUpdateManyWithoutWorkspaceNestedInput
|
|
1041
|
+
aiTasks?: Prisma.AiTaskUpdateManyWithoutWorkspaceNestedInput
|
|
1006
1042
|
}
|
|
1007
1043
|
|
|
1008
1044
|
export type WorkspaceUncheckedUpdateWithoutKnowledgeBasesInput = {
|
|
@@ -1023,6 +1059,7 @@ export type WorkspaceUncheckedUpdateWithoutKnowledgeBasesInput = {
|
|
|
1023
1059
|
ssoProviders?: Prisma.SsoProviderUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1024
1060
|
customRoles?: Prisma.CustomRoleUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1025
1061
|
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1062
|
+
aiTasks?: Prisma.AiTaskUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1026
1063
|
}
|
|
1027
1064
|
|
|
1028
1065
|
export type WorkspaceCreateWithoutWorkspaceKbLinksInput = {
|
|
@@ -1043,6 +1080,7 @@ export type WorkspaceCreateWithoutWorkspaceKbLinksInput = {
|
|
|
1043
1080
|
ssoProviders?: Prisma.SsoProviderCreateNestedManyWithoutWorkspaceInput
|
|
1044
1081
|
customRoles?: Prisma.CustomRoleCreateNestedManyWithoutWorkspaceInput
|
|
1045
1082
|
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutWorkspaceInput
|
|
1083
|
+
aiTasks?: Prisma.AiTaskCreateNestedManyWithoutWorkspaceInput
|
|
1046
1084
|
}
|
|
1047
1085
|
|
|
1048
1086
|
export type WorkspaceUncheckedCreateWithoutWorkspaceKbLinksInput = {
|
|
@@ -1063,6 +1101,7 @@ export type WorkspaceUncheckedCreateWithoutWorkspaceKbLinksInput = {
|
|
|
1063
1101
|
ssoProviders?: Prisma.SsoProviderUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1064
1102
|
customRoles?: Prisma.CustomRoleUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1065
1103
|
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1104
|
+
aiTasks?: Prisma.AiTaskUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1066
1105
|
}
|
|
1067
1106
|
|
|
1068
1107
|
export type WorkspaceCreateOrConnectWithoutWorkspaceKbLinksInput = {
|
|
@@ -1099,6 +1138,7 @@ export type WorkspaceUpdateWithoutWorkspaceKbLinksInput = {
|
|
|
1099
1138
|
ssoProviders?: Prisma.SsoProviderUpdateManyWithoutWorkspaceNestedInput
|
|
1100
1139
|
customRoles?: Prisma.CustomRoleUpdateManyWithoutWorkspaceNestedInput
|
|
1101
1140
|
auditLogs?: Prisma.AuditLogUpdateManyWithoutWorkspaceNestedInput
|
|
1141
|
+
aiTasks?: Prisma.AiTaskUpdateManyWithoutWorkspaceNestedInput
|
|
1102
1142
|
}
|
|
1103
1143
|
|
|
1104
1144
|
export type WorkspaceUncheckedUpdateWithoutWorkspaceKbLinksInput = {
|
|
@@ -1119,6 +1159,7 @@ export type WorkspaceUncheckedUpdateWithoutWorkspaceKbLinksInput = {
|
|
|
1119
1159
|
ssoProviders?: Prisma.SsoProviderUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1120
1160
|
customRoles?: Prisma.CustomRoleUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1121
1161
|
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1162
|
+
aiTasks?: Prisma.AiTaskUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1122
1163
|
}
|
|
1123
1164
|
|
|
1124
1165
|
export type WorkspaceCreateWithoutQuickDocsInput = {
|
|
@@ -1139,6 +1180,7 @@ export type WorkspaceCreateWithoutQuickDocsInput = {
|
|
|
1139
1180
|
ssoProviders?: Prisma.SsoProviderCreateNestedManyWithoutWorkspaceInput
|
|
1140
1181
|
customRoles?: Prisma.CustomRoleCreateNestedManyWithoutWorkspaceInput
|
|
1141
1182
|
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutWorkspaceInput
|
|
1183
|
+
aiTasks?: Prisma.AiTaskCreateNestedManyWithoutWorkspaceInput
|
|
1142
1184
|
}
|
|
1143
1185
|
|
|
1144
1186
|
export type WorkspaceUncheckedCreateWithoutQuickDocsInput = {
|
|
@@ -1159,6 +1201,7 @@ export type WorkspaceUncheckedCreateWithoutQuickDocsInput = {
|
|
|
1159
1201
|
ssoProviders?: Prisma.SsoProviderUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1160
1202
|
customRoles?: Prisma.CustomRoleUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1161
1203
|
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1204
|
+
aiTasks?: Prisma.AiTaskUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1162
1205
|
}
|
|
1163
1206
|
|
|
1164
1207
|
export type WorkspaceCreateOrConnectWithoutQuickDocsInput = {
|
|
@@ -1195,6 +1238,7 @@ export type WorkspaceUpdateWithoutQuickDocsInput = {
|
|
|
1195
1238
|
ssoProviders?: Prisma.SsoProviderUpdateManyWithoutWorkspaceNestedInput
|
|
1196
1239
|
customRoles?: Prisma.CustomRoleUpdateManyWithoutWorkspaceNestedInput
|
|
1197
1240
|
auditLogs?: Prisma.AuditLogUpdateManyWithoutWorkspaceNestedInput
|
|
1241
|
+
aiTasks?: Prisma.AiTaskUpdateManyWithoutWorkspaceNestedInput
|
|
1198
1242
|
}
|
|
1199
1243
|
|
|
1200
1244
|
export type WorkspaceUncheckedUpdateWithoutQuickDocsInput = {
|
|
@@ -1215,6 +1259,7 @@ export type WorkspaceUncheckedUpdateWithoutQuickDocsInput = {
|
|
|
1215
1259
|
ssoProviders?: Prisma.SsoProviderUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1216
1260
|
customRoles?: Prisma.CustomRoleUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1217
1261
|
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1262
|
+
aiTasks?: Prisma.AiTaskUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1218
1263
|
}
|
|
1219
1264
|
|
|
1220
1265
|
export type WorkspaceCreateWithoutUsageRecordsInput = {
|
|
@@ -1235,6 +1280,7 @@ export type WorkspaceCreateWithoutUsageRecordsInput = {
|
|
|
1235
1280
|
ssoProviders?: Prisma.SsoProviderCreateNestedManyWithoutWorkspaceInput
|
|
1236
1281
|
customRoles?: Prisma.CustomRoleCreateNestedManyWithoutWorkspaceInput
|
|
1237
1282
|
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutWorkspaceInput
|
|
1283
|
+
aiTasks?: Prisma.AiTaskCreateNestedManyWithoutWorkspaceInput
|
|
1238
1284
|
}
|
|
1239
1285
|
|
|
1240
1286
|
export type WorkspaceUncheckedCreateWithoutUsageRecordsInput = {
|
|
@@ -1255,6 +1301,7 @@ export type WorkspaceUncheckedCreateWithoutUsageRecordsInput = {
|
|
|
1255
1301
|
ssoProviders?: Prisma.SsoProviderUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1256
1302
|
customRoles?: Prisma.CustomRoleUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1257
1303
|
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1304
|
+
aiTasks?: Prisma.AiTaskUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1258
1305
|
}
|
|
1259
1306
|
|
|
1260
1307
|
export type WorkspaceCreateOrConnectWithoutUsageRecordsInput = {
|
|
@@ -1291,6 +1338,7 @@ export type WorkspaceUpdateWithoutUsageRecordsInput = {
|
|
|
1291
1338
|
ssoProviders?: Prisma.SsoProviderUpdateManyWithoutWorkspaceNestedInput
|
|
1292
1339
|
customRoles?: Prisma.CustomRoleUpdateManyWithoutWorkspaceNestedInput
|
|
1293
1340
|
auditLogs?: Prisma.AuditLogUpdateManyWithoutWorkspaceNestedInput
|
|
1341
|
+
aiTasks?: Prisma.AiTaskUpdateManyWithoutWorkspaceNestedInput
|
|
1294
1342
|
}
|
|
1295
1343
|
|
|
1296
1344
|
export type WorkspaceUncheckedUpdateWithoutUsageRecordsInput = {
|
|
@@ -1311,6 +1359,7 @@ export type WorkspaceUncheckedUpdateWithoutUsageRecordsInput = {
|
|
|
1311
1359
|
ssoProviders?: Prisma.SsoProviderUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1312
1360
|
customRoles?: Prisma.CustomRoleUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1313
1361
|
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1362
|
+
aiTasks?: Prisma.AiTaskUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1314
1363
|
}
|
|
1315
1364
|
|
|
1316
1365
|
export type WorkspaceCreateWithoutAiUsageLogsInput = {
|
|
@@ -1331,6 +1380,7 @@ export type WorkspaceCreateWithoutAiUsageLogsInput = {
|
|
|
1331
1380
|
ssoProviders?: Prisma.SsoProviderCreateNestedManyWithoutWorkspaceInput
|
|
1332
1381
|
customRoles?: Prisma.CustomRoleCreateNestedManyWithoutWorkspaceInput
|
|
1333
1382
|
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutWorkspaceInput
|
|
1383
|
+
aiTasks?: Prisma.AiTaskCreateNestedManyWithoutWorkspaceInput
|
|
1334
1384
|
}
|
|
1335
1385
|
|
|
1336
1386
|
export type WorkspaceUncheckedCreateWithoutAiUsageLogsInput = {
|
|
@@ -1351,6 +1401,7 @@ export type WorkspaceUncheckedCreateWithoutAiUsageLogsInput = {
|
|
|
1351
1401
|
ssoProviders?: Prisma.SsoProviderUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1352
1402
|
customRoles?: Prisma.CustomRoleUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1353
1403
|
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1404
|
+
aiTasks?: Prisma.AiTaskUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1354
1405
|
}
|
|
1355
1406
|
|
|
1356
1407
|
export type WorkspaceCreateOrConnectWithoutAiUsageLogsInput = {
|
|
@@ -1387,6 +1438,7 @@ export type WorkspaceUpdateWithoutAiUsageLogsInput = {
|
|
|
1387
1438
|
ssoProviders?: Prisma.SsoProviderUpdateManyWithoutWorkspaceNestedInput
|
|
1388
1439
|
customRoles?: Prisma.CustomRoleUpdateManyWithoutWorkspaceNestedInput
|
|
1389
1440
|
auditLogs?: Prisma.AuditLogUpdateManyWithoutWorkspaceNestedInput
|
|
1441
|
+
aiTasks?: Prisma.AiTaskUpdateManyWithoutWorkspaceNestedInput
|
|
1390
1442
|
}
|
|
1391
1443
|
|
|
1392
1444
|
export type WorkspaceUncheckedUpdateWithoutAiUsageLogsInput = {
|
|
@@ -1407,6 +1459,7 @@ export type WorkspaceUncheckedUpdateWithoutAiUsageLogsInput = {
|
|
|
1407
1459
|
ssoProviders?: Prisma.SsoProviderUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1408
1460
|
customRoles?: Prisma.CustomRoleUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1409
1461
|
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1462
|
+
aiTasks?: Prisma.AiTaskUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1410
1463
|
}
|
|
1411
1464
|
|
|
1412
1465
|
export type WorkspaceCreateWithoutAuditLogsInput = {
|
|
@@ -1427,6 +1480,7 @@ export type WorkspaceCreateWithoutAuditLogsInput = {
|
|
|
1427
1480
|
aiUsageLogs?: Prisma.AiUsageLogCreateNestedManyWithoutWorkspaceInput
|
|
1428
1481
|
ssoProviders?: Prisma.SsoProviderCreateNestedManyWithoutWorkspaceInput
|
|
1429
1482
|
customRoles?: Prisma.CustomRoleCreateNestedManyWithoutWorkspaceInput
|
|
1483
|
+
aiTasks?: Prisma.AiTaskCreateNestedManyWithoutWorkspaceInput
|
|
1430
1484
|
}
|
|
1431
1485
|
|
|
1432
1486
|
export type WorkspaceUncheckedCreateWithoutAuditLogsInput = {
|
|
@@ -1447,6 +1501,7 @@ export type WorkspaceUncheckedCreateWithoutAuditLogsInput = {
|
|
|
1447
1501
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1448
1502
|
ssoProviders?: Prisma.SsoProviderUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1449
1503
|
customRoles?: Prisma.CustomRoleUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1504
|
+
aiTasks?: Prisma.AiTaskUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1450
1505
|
}
|
|
1451
1506
|
|
|
1452
1507
|
export type WorkspaceCreateOrConnectWithoutAuditLogsInput = {
|
|
@@ -1483,6 +1538,7 @@ export type WorkspaceUpdateWithoutAuditLogsInput = {
|
|
|
1483
1538
|
aiUsageLogs?: Prisma.AiUsageLogUpdateManyWithoutWorkspaceNestedInput
|
|
1484
1539
|
ssoProviders?: Prisma.SsoProviderUpdateManyWithoutWorkspaceNestedInput
|
|
1485
1540
|
customRoles?: Prisma.CustomRoleUpdateManyWithoutWorkspaceNestedInput
|
|
1541
|
+
aiTasks?: Prisma.AiTaskUpdateManyWithoutWorkspaceNestedInput
|
|
1486
1542
|
}
|
|
1487
1543
|
|
|
1488
1544
|
export type WorkspaceUncheckedUpdateWithoutAuditLogsInput = {
|
|
@@ -1503,6 +1559,7 @@ export type WorkspaceUncheckedUpdateWithoutAuditLogsInput = {
|
|
|
1503
1559
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1504
1560
|
ssoProviders?: Prisma.SsoProviderUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1505
1561
|
customRoles?: Prisma.CustomRoleUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1562
|
+
aiTasks?: Prisma.AiTaskUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1506
1563
|
}
|
|
1507
1564
|
|
|
1508
1565
|
export type WorkspaceCreateWithoutSsoProvidersInput = {
|
|
@@ -1523,6 +1580,7 @@ export type WorkspaceCreateWithoutSsoProvidersInput = {
|
|
|
1523
1580
|
aiUsageLogs?: Prisma.AiUsageLogCreateNestedManyWithoutWorkspaceInput
|
|
1524
1581
|
customRoles?: Prisma.CustomRoleCreateNestedManyWithoutWorkspaceInput
|
|
1525
1582
|
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutWorkspaceInput
|
|
1583
|
+
aiTasks?: Prisma.AiTaskCreateNestedManyWithoutWorkspaceInput
|
|
1526
1584
|
}
|
|
1527
1585
|
|
|
1528
1586
|
export type WorkspaceUncheckedCreateWithoutSsoProvidersInput = {
|
|
@@ -1543,6 +1601,7 @@ export type WorkspaceUncheckedCreateWithoutSsoProvidersInput = {
|
|
|
1543
1601
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1544
1602
|
customRoles?: Prisma.CustomRoleUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1545
1603
|
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1604
|
+
aiTasks?: Prisma.AiTaskUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1546
1605
|
}
|
|
1547
1606
|
|
|
1548
1607
|
export type WorkspaceCreateOrConnectWithoutSsoProvidersInput = {
|
|
@@ -1579,6 +1638,7 @@ export type WorkspaceUpdateWithoutSsoProvidersInput = {
|
|
|
1579
1638
|
aiUsageLogs?: Prisma.AiUsageLogUpdateManyWithoutWorkspaceNestedInput
|
|
1580
1639
|
customRoles?: Prisma.CustomRoleUpdateManyWithoutWorkspaceNestedInput
|
|
1581
1640
|
auditLogs?: Prisma.AuditLogUpdateManyWithoutWorkspaceNestedInput
|
|
1641
|
+
aiTasks?: Prisma.AiTaskUpdateManyWithoutWorkspaceNestedInput
|
|
1582
1642
|
}
|
|
1583
1643
|
|
|
1584
1644
|
export type WorkspaceUncheckedUpdateWithoutSsoProvidersInput = {
|
|
@@ -1599,6 +1659,7 @@ export type WorkspaceUncheckedUpdateWithoutSsoProvidersInput = {
|
|
|
1599
1659
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1600
1660
|
customRoles?: Prisma.CustomRoleUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1601
1661
|
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1662
|
+
aiTasks?: Prisma.AiTaskUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1602
1663
|
}
|
|
1603
1664
|
|
|
1604
1665
|
export type WorkspaceCreateWithoutCustomRolesInput = {
|
|
@@ -1619,6 +1680,7 @@ export type WorkspaceCreateWithoutCustomRolesInput = {
|
|
|
1619
1680
|
aiUsageLogs?: Prisma.AiUsageLogCreateNestedManyWithoutWorkspaceInput
|
|
1620
1681
|
ssoProviders?: Prisma.SsoProviderCreateNestedManyWithoutWorkspaceInput
|
|
1621
1682
|
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutWorkspaceInput
|
|
1683
|
+
aiTasks?: Prisma.AiTaskCreateNestedManyWithoutWorkspaceInput
|
|
1622
1684
|
}
|
|
1623
1685
|
|
|
1624
1686
|
export type WorkspaceUncheckedCreateWithoutCustomRolesInput = {
|
|
@@ -1639,6 +1701,7 @@ export type WorkspaceUncheckedCreateWithoutCustomRolesInput = {
|
|
|
1639
1701
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1640
1702
|
ssoProviders?: Prisma.SsoProviderUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1641
1703
|
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1704
|
+
aiTasks?: Prisma.AiTaskUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1642
1705
|
}
|
|
1643
1706
|
|
|
1644
1707
|
export type WorkspaceCreateOrConnectWithoutCustomRolesInput = {
|
|
@@ -1675,6 +1738,7 @@ export type WorkspaceUpdateWithoutCustomRolesInput = {
|
|
|
1675
1738
|
aiUsageLogs?: Prisma.AiUsageLogUpdateManyWithoutWorkspaceNestedInput
|
|
1676
1739
|
ssoProviders?: Prisma.SsoProviderUpdateManyWithoutWorkspaceNestedInput
|
|
1677
1740
|
auditLogs?: Prisma.AuditLogUpdateManyWithoutWorkspaceNestedInput
|
|
1741
|
+
aiTasks?: Prisma.AiTaskUpdateManyWithoutWorkspaceNestedInput
|
|
1678
1742
|
}
|
|
1679
1743
|
|
|
1680
1744
|
export type WorkspaceUncheckedUpdateWithoutCustomRolesInput = {
|
|
@@ -1695,6 +1759,107 @@ export type WorkspaceUncheckedUpdateWithoutCustomRolesInput = {
|
|
|
1695
1759
|
aiUsageLogs?: Prisma.AiUsageLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1696
1760
|
ssoProviders?: Prisma.SsoProviderUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1697
1761
|
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1762
|
+
aiTasks?: Prisma.AiTaskUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1763
|
+
}
|
|
1764
|
+
|
|
1765
|
+
export type WorkspaceCreateWithoutAiTasksInput = {
|
|
1766
|
+
id?: string
|
|
1767
|
+
name: string
|
|
1768
|
+
icon?: string
|
|
1769
|
+
description?: string | null
|
|
1770
|
+
pinnedToSidebar?: boolean
|
|
1771
|
+
createdAt?: Date | string
|
|
1772
|
+
updatedAt?: Date | string
|
|
1773
|
+
owner: Prisma.UserCreateNestedOneWithoutOwnedWorkspacesInput
|
|
1774
|
+
projects?: Prisma.ProjectCreateNestedManyWithoutWorkspaceInput
|
|
1775
|
+
members?: Prisma.WorkspaceMemberCreateNestedManyWithoutWorkspaceInput
|
|
1776
|
+
knowledgeBases?: Prisma.KnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
1777
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseCreateNestedManyWithoutWorkspaceInput
|
|
1778
|
+
quickDocs?: Prisma.WorkspaceQuickDocCreateNestedManyWithoutWorkspaceInput
|
|
1779
|
+
usageRecords?: Prisma.UsageRecordCreateNestedManyWithoutWorkspaceInput
|
|
1780
|
+
aiUsageLogs?: Prisma.AiUsageLogCreateNestedManyWithoutWorkspaceInput
|
|
1781
|
+
ssoProviders?: Prisma.SsoProviderCreateNestedManyWithoutWorkspaceInput
|
|
1782
|
+
customRoles?: Prisma.CustomRoleCreateNestedManyWithoutWorkspaceInput
|
|
1783
|
+
auditLogs?: Prisma.AuditLogCreateNestedManyWithoutWorkspaceInput
|
|
1784
|
+
}
|
|
1785
|
+
|
|
1786
|
+
export type WorkspaceUncheckedCreateWithoutAiTasksInput = {
|
|
1787
|
+
id?: string
|
|
1788
|
+
name: string
|
|
1789
|
+
icon?: string
|
|
1790
|
+
description?: string | null
|
|
1791
|
+
pinnedToSidebar?: boolean
|
|
1792
|
+
ownerId: string
|
|
1793
|
+
createdAt?: Date | string
|
|
1794
|
+
updatedAt?: Date | string
|
|
1795
|
+
projects?: Prisma.ProjectUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1796
|
+
members?: Prisma.WorkspaceMemberUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1797
|
+
knowledgeBases?: Prisma.KnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1798
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1799
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1800
|
+
usageRecords?: Prisma.UsageRecordUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1801
|
+
aiUsageLogs?: Prisma.AiUsageLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1802
|
+
ssoProviders?: Prisma.SsoProviderUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1803
|
+
customRoles?: Prisma.CustomRoleUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1804
|
+
auditLogs?: Prisma.AuditLogUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
1805
|
+
}
|
|
1806
|
+
|
|
1807
|
+
export type WorkspaceCreateOrConnectWithoutAiTasksInput = {
|
|
1808
|
+
where: Prisma.WorkspaceWhereUniqueInput
|
|
1809
|
+
create: Prisma.XOR<Prisma.WorkspaceCreateWithoutAiTasksInput, Prisma.WorkspaceUncheckedCreateWithoutAiTasksInput>
|
|
1810
|
+
}
|
|
1811
|
+
|
|
1812
|
+
export type WorkspaceUpsertWithoutAiTasksInput = {
|
|
1813
|
+
update: Prisma.XOR<Prisma.WorkspaceUpdateWithoutAiTasksInput, Prisma.WorkspaceUncheckedUpdateWithoutAiTasksInput>
|
|
1814
|
+
create: Prisma.XOR<Prisma.WorkspaceCreateWithoutAiTasksInput, Prisma.WorkspaceUncheckedCreateWithoutAiTasksInput>
|
|
1815
|
+
where?: Prisma.WorkspaceWhereInput
|
|
1816
|
+
}
|
|
1817
|
+
|
|
1818
|
+
export type WorkspaceUpdateToOneWithWhereWithoutAiTasksInput = {
|
|
1819
|
+
where?: Prisma.WorkspaceWhereInput
|
|
1820
|
+
data: Prisma.XOR<Prisma.WorkspaceUpdateWithoutAiTasksInput, Prisma.WorkspaceUncheckedUpdateWithoutAiTasksInput>
|
|
1821
|
+
}
|
|
1822
|
+
|
|
1823
|
+
export type WorkspaceUpdateWithoutAiTasksInput = {
|
|
1824
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1825
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1826
|
+
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1827
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1828
|
+
pinnedToSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1829
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1830
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1831
|
+
owner?: Prisma.UserUpdateOneRequiredWithoutOwnedWorkspacesNestedInput
|
|
1832
|
+
projects?: Prisma.ProjectUpdateManyWithoutWorkspaceNestedInput
|
|
1833
|
+
members?: Prisma.WorkspaceMemberUpdateManyWithoutWorkspaceNestedInput
|
|
1834
|
+
knowledgeBases?: Prisma.KnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
1835
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUpdateManyWithoutWorkspaceNestedInput
|
|
1836
|
+
quickDocs?: Prisma.WorkspaceQuickDocUpdateManyWithoutWorkspaceNestedInput
|
|
1837
|
+
usageRecords?: Prisma.UsageRecordUpdateManyWithoutWorkspaceNestedInput
|
|
1838
|
+
aiUsageLogs?: Prisma.AiUsageLogUpdateManyWithoutWorkspaceNestedInput
|
|
1839
|
+
ssoProviders?: Prisma.SsoProviderUpdateManyWithoutWorkspaceNestedInput
|
|
1840
|
+
customRoles?: Prisma.CustomRoleUpdateManyWithoutWorkspaceNestedInput
|
|
1841
|
+
auditLogs?: Prisma.AuditLogUpdateManyWithoutWorkspaceNestedInput
|
|
1842
|
+
}
|
|
1843
|
+
|
|
1844
|
+
export type WorkspaceUncheckedUpdateWithoutAiTasksInput = {
|
|
1845
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1846
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1847
|
+
icon?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1848
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1849
|
+
pinnedToSidebar?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1850
|
+
ownerId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1851
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1852
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1853
|
+
projects?: Prisma.ProjectUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1854
|
+
members?: Prisma.WorkspaceMemberUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1855
|
+
knowledgeBases?: Prisma.KnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1856
|
+
workspaceKbLinks?: Prisma.WorkspaceKnowledgeBaseUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1857
|
+
quickDocs?: Prisma.WorkspaceQuickDocUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1858
|
+
usageRecords?: Prisma.UsageRecordUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1859
|
+
aiUsageLogs?: Prisma.AiUsageLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1860
|
+
ssoProviders?: Prisma.SsoProviderUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1861
|
+
customRoles?: Prisma.CustomRoleUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1862
|
+
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1698
1863
|
}
|
|
1699
1864
|
|
|
1700
1865
|
export type WorkspaceCreateManyOwnerInput = {
|
|
@@ -1725,6 +1890,7 @@ export type WorkspaceUpdateWithoutOwnerInput = {
|
|
|
1725
1890
|
ssoProviders?: Prisma.SsoProviderUpdateManyWithoutWorkspaceNestedInput
|
|
1726
1891
|
customRoles?: Prisma.CustomRoleUpdateManyWithoutWorkspaceNestedInput
|
|
1727
1892
|
auditLogs?: Prisma.AuditLogUpdateManyWithoutWorkspaceNestedInput
|
|
1893
|
+
aiTasks?: Prisma.AiTaskUpdateManyWithoutWorkspaceNestedInput
|
|
1728
1894
|
}
|
|
1729
1895
|
|
|
1730
1896
|
export type WorkspaceUncheckedUpdateWithoutOwnerInput = {
|
|
@@ -1745,6 +1911,7 @@ export type WorkspaceUncheckedUpdateWithoutOwnerInput = {
|
|
|
1745
1911
|
ssoProviders?: Prisma.SsoProviderUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1746
1912
|
customRoles?: Prisma.CustomRoleUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1747
1913
|
auditLogs?: Prisma.AuditLogUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1914
|
+
aiTasks?: Prisma.AiTaskUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
1748
1915
|
}
|
|
1749
1916
|
|
|
1750
1917
|
export type WorkspaceUncheckedUpdateManyWithoutOwnerInput = {
|
|
@@ -1773,6 +1940,7 @@ export type WorkspaceCountOutputType = {
|
|
|
1773
1940
|
ssoProviders: number
|
|
1774
1941
|
customRoles: number
|
|
1775
1942
|
auditLogs: number
|
|
1943
|
+
aiTasks: number
|
|
1776
1944
|
}
|
|
1777
1945
|
|
|
1778
1946
|
export type WorkspaceCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
@@ -1786,6 +1954,7 @@ export type WorkspaceCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensi
|
|
|
1786
1954
|
ssoProviders?: boolean | WorkspaceCountOutputTypeCountSsoProvidersArgs
|
|
1787
1955
|
customRoles?: boolean | WorkspaceCountOutputTypeCountCustomRolesArgs
|
|
1788
1956
|
auditLogs?: boolean | WorkspaceCountOutputTypeCountAuditLogsArgs
|
|
1957
|
+
aiTasks?: boolean | WorkspaceCountOutputTypeCountAiTasksArgs
|
|
1789
1958
|
}
|
|
1790
1959
|
|
|
1791
1960
|
/**
|
|
@@ -1868,6 +2037,13 @@ export type WorkspaceCountOutputTypeCountAuditLogsArgs<ExtArgs extends runtime.T
|
|
|
1868
2037
|
where?: Prisma.AuditLogWhereInput
|
|
1869
2038
|
}
|
|
1870
2039
|
|
|
2040
|
+
/**
|
|
2041
|
+
* WorkspaceCountOutputType without action
|
|
2042
|
+
*/
|
|
2043
|
+
export type WorkspaceCountOutputTypeCountAiTasksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2044
|
+
where?: Prisma.AiTaskWhereInput
|
|
2045
|
+
}
|
|
2046
|
+
|
|
1871
2047
|
|
|
1872
2048
|
export type WorkspaceSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1873
2049
|
id?: boolean
|
|
@@ -1889,6 +2065,7 @@ export type WorkspaceSelect<ExtArgs extends runtime.Types.Extensions.InternalArg
|
|
|
1889
2065
|
ssoProviders?: boolean | Prisma.Workspace$ssoProvidersArgs<ExtArgs>
|
|
1890
2066
|
customRoles?: boolean | Prisma.Workspace$customRolesArgs<ExtArgs>
|
|
1891
2067
|
auditLogs?: boolean | Prisma.Workspace$auditLogsArgs<ExtArgs>
|
|
2068
|
+
aiTasks?: boolean | Prisma.Workspace$aiTasksArgs<ExtArgs>
|
|
1892
2069
|
_count?: boolean | Prisma.WorkspaceCountOutputTypeDefaultArgs<ExtArgs>
|
|
1893
2070
|
}, ExtArgs["result"]["workspace"]>
|
|
1894
2071
|
|
|
@@ -1940,6 +2117,7 @@ export type WorkspaceInclude<ExtArgs extends runtime.Types.Extensions.InternalAr
|
|
|
1940
2117
|
ssoProviders?: boolean | Prisma.Workspace$ssoProvidersArgs<ExtArgs>
|
|
1941
2118
|
customRoles?: boolean | Prisma.Workspace$customRolesArgs<ExtArgs>
|
|
1942
2119
|
auditLogs?: boolean | Prisma.Workspace$auditLogsArgs<ExtArgs>
|
|
2120
|
+
aiTasks?: boolean | Prisma.Workspace$aiTasksArgs<ExtArgs>
|
|
1943
2121
|
_count?: boolean | Prisma.WorkspaceCountOutputTypeDefaultArgs<ExtArgs>
|
|
1944
2122
|
}
|
|
1945
2123
|
export type WorkspaceIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
@@ -1963,6 +2141,7 @@ export type $WorkspacePayload<ExtArgs extends runtime.Types.Extensions.InternalA
|
|
|
1963
2141
|
ssoProviders: Prisma.$SsoProviderPayload<ExtArgs>[]
|
|
1964
2142
|
customRoles: Prisma.$CustomRolePayload<ExtArgs>[]
|
|
1965
2143
|
auditLogs: Prisma.$AuditLogPayload<ExtArgs>[]
|
|
2144
|
+
aiTasks: Prisma.$AiTaskPayload<ExtArgs>[]
|
|
1966
2145
|
}
|
|
1967
2146
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1968
2147
|
id: string
|
|
@@ -2378,6 +2557,7 @@ export interface Prisma__WorkspaceClient<T, Null = never, ExtArgs extends runtim
|
|
|
2378
2557
|
ssoProviders<T extends Prisma.Workspace$ssoProvidersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Workspace$ssoProvidersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SsoProviderPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2379
2558
|
customRoles<T extends Prisma.Workspace$customRolesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Workspace$customRolesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CustomRolePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2380
2559
|
auditLogs<T extends Prisma.Workspace$auditLogsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Workspace$auditLogsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AuditLogPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2560
|
+
aiTasks<T extends Prisma.Workspace$aiTasksArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Workspace$aiTasksArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AiTaskPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
2381
2561
|
/**
|
|
2382
2562
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
2383
2563
|
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
@@ -3055,6 +3235,30 @@ export type Workspace$auditLogsArgs<ExtArgs extends runtime.Types.Extensions.Int
|
|
|
3055
3235
|
distinct?: Prisma.AuditLogScalarFieldEnum | Prisma.AuditLogScalarFieldEnum[]
|
|
3056
3236
|
}
|
|
3057
3237
|
|
|
3238
|
+
/**
|
|
3239
|
+
* Workspace.aiTasks
|
|
3240
|
+
*/
|
|
3241
|
+
export type Workspace$aiTasksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
3242
|
+
/**
|
|
3243
|
+
* Select specific fields to fetch from the AiTask
|
|
3244
|
+
*/
|
|
3245
|
+
select?: Prisma.AiTaskSelect<ExtArgs> | null
|
|
3246
|
+
/**
|
|
3247
|
+
* Omit specific fields from the AiTask
|
|
3248
|
+
*/
|
|
3249
|
+
omit?: Prisma.AiTaskOmit<ExtArgs> | null
|
|
3250
|
+
/**
|
|
3251
|
+
* Choose, which related nodes to fetch as well
|
|
3252
|
+
*/
|
|
3253
|
+
include?: Prisma.AiTaskInclude<ExtArgs> | null
|
|
3254
|
+
where?: Prisma.AiTaskWhereInput
|
|
3255
|
+
orderBy?: Prisma.AiTaskOrderByWithRelationInput | Prisma.AiTaskOrderByWithRelationInput[]
|
|
3256
|
+
cursor?: Prisma.AiTaskWhereUniqueInput
|
|
3257
|
+
take?: number
|
|
3258
|
+
skip?: number
|
|
3259
|
+
distinct?: Prisma.AiTaskScalarFieldEnum | Prisma.AiTaskScalarFieldEnum[]
|
|
3260
|
+
}
|
|
3261
|
+
|
|
3058
3262
|
/**
|
|
3059
3263
|
* Workspace without action
|
|
3060
3264
|
*/
|
package/generated/models.ts
CHANGED
|
@@ -58,9 +58,6 @@ export type * from './models/ReviewComment.ts'
|
|
|
58
58
|
export type * from './models/Comment.ts'
|
|
59
59
|
export type * from './models/CommentIgnore.ts'
|
|
60
60
|
export type * from './models/Share.ts'
|
|
61
|
-
export type * from './models/Tag.ts'
|
|
62
|
-
export type * from './models/DesignTag.ts'
|
|
63
|
-
export type * from './models/ComponentTag.ts'
|
|
64
61
|
export type * from './models/Reference.ts'
|
|
65
62
|
export type * from './models/ShareVersion.ts'
|
|
66
63
|
export type * from './models/AnyHubApp.ts'
|
|
@@ -132,6 +129,7 @@ export type * from './models/Bug.ts'
|
|
|
132
129
|
export type * from './models/BugEvent.ts'
|
|
133
130
|
export type * from './models/BugActivity.ts'
|
|
134
131
|
export type * from './models/BugComment.ts'
|
|
132
|
+
export type * from './models/BugCommentReaction.ts'
|
|
135
133
|
export type * from './models/ProjectAccessToken.ts'
|
|
136
134
|
export type * from './models/BugFixRun.ts'
|
|
137
135
|
export type * from './models/BugReproRun.ts'
|
|
@@ -149,4 +147,9 @@ export type * from './models/TestRun.ts'
|
|
|
149
147
|
export type * from './models/TestRunCase.ts'
|
|
150
148
|
export type * from './models/TestExecRun.ts'
|
|
151
149
|
export type * from './models/TestAutomationArtifact.ts'
|
|
150
|
+
export type * from './models/CollabDocument.ts'
|
|
151
|
+
export type * from './models/CollabUpdate.ts'
|
|
152
|
+
export type * from './models/CollabClient.ts'
|
|
153
|
+
export type * from './models/AiTask.ts'
|
|
154
|
+
export type * from './models/AiTaskRun.ts'
|
|
152
155
|
export type * from './commonInputTypes.ts'
|
|
@@ -272,21 +272,6 @@ export type CommentIgnore = Prisma.CommentIgnoreModel
|
|
|
272
272
|
*
|
|
273
273
|
*/
|
|
274
274
|
export type Share = Prisma.ShareModel
|
|
275
|
-
/**
|
|
276
|
-
* Model Tag
|
|
277
|
-
*
|
|
278
|
-
*/
|
|
279
|
-
export type Tag = Prisma.TagModel
|
|
280
|
-
/**
|
|
281
|
-
* Model DesignTag
|
|
282
|
-
*
|
|
283
|
-
*/
|
|
284
|
-
export type DesignTag = Prisma.DesignTagModel
|
|
285
|
-
/**
|
|
286
|
-
* Model ComponentTag
|
|
287
|
-
*
|
|
288
|
-
*/
|
|
289
|
-
export type ComponentTag = Prisma.ComponentTagModel
|
|
290
275
|
/**
|
|
291
276
|
* Model Reference
|
|
292
277
|
*
|
|
@@ -296,21 +296,6 @@ export type CommentIgnore = Prisma.CommentIgnoreModel
|
|
|
296
296
|
*
|
|
297
297
|
*/
|
|
298
298
|
export type Share = Prisma.ShareModel
|
|
299
|
-
/**
|
|
300
|
-
* Model Tag
|
|
301
|
-
*
|
|
302
|
-
*/
|
|
303
|
-
export type Tag = Prisma.TagModel
|
|
304
|
-
/**
|
|
305
|
-
* Model DesignTag
|
|
306
|
-
*
|
|
307
|
-
*/
|
|
308
|
-
export type DesignTag = Prisma.DesignTagModel
|
|
309
|
-
/**
|
|
310
|
-
* Model ComponentTag
|
|
311
|
-
*
|
|
312
|
-
*/
|
|
313
|
-
export type ComponentTag = Prisma.ComponentTagModel
|
|
314
299
|
/**
|
|
315
300
|
* Model Reference
|
|
316
301
|
*
|