@allbluecn/database 0.9.1 → 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/desktop-init.ts +2 -2
- 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/dist/lib/share-utils.js +3 -3
- package/generated/browser.ts +143 -38
- package/generated/client.ts +143 -38
- package/generated/commonInputTypes.ts +34 -0
- package/generated/enums.ts +14 -0
- package/generated/internal/class.ts +290 -80
- package/generated/internal/prismaNamespace.ts +3756 -1797
- package/generated/internal/prismaNamespaceBrowser.ts +478 -108
- package/generated/models/AgentConversation.ts +89 -89
- package/generated/models/AiProvider.ts +3 -3
- package/generated/models/AiStreamChunk.ts +3 -3
- package/generated/models/AiTask.ts +2481 -0
- package/generated/models/AiTaskRun.ts +1564 -0
- package/generated/models/AnyHubMarketApp.ts +8 -8
- package/generated/models/AuditLog.ts +6 -6
- package/generated/models/BlockInstance.ts +17 -17
- package/generated/models/Bug.ts +5116 -0
- package/generated/models/BugActivity.ts +1765 -0
- package/generated/models/BugComment.ts +1992 -0
- package/generated/models/BugCommentReaction.ts +1472 -0
- package/generated/models/BugEvent.ts +1339 -0
- package/generated/models/BugFilterView.ts +1438 -0
- package/generated/models/BugFixRun.ts +1479 -0
- package/generated/models/BugLabel.ts +1349 -0
- package/generated/models/BugProjectSettings.ts +1403 -0
- package/generated/models/BugReproRun.ts +1582 -0
- package/generated/models/ChatPersistenceMeta.ts +3 -3
- package/generated/models/CollabClient.ts +1199 -0
- package/generated/models/CollabDocument.ts +1121 -0
- package/generated/models/CollabUpdate.ts +1149 -0
- package/generated/models/Comment.ts +99 -99
- package/generated/models/Component.ts +7 -201
- package/generated/models/ComponentInstance.ts +17 -17
- package/generated/models/CustomRole.ts +8 -8
- package/generated/models/Design.ts +2682 -0
- package/generated/models/DesignPage.ts +2402 -0
- package/generated/models/DesignVersion.ts +2121 -0
- package/generated/models/DesktopSetting.ts +3 -3
- package/generated/models/Iteration.ts +148 -0
- package/generated/models/Label.ts +118 -0
- package/generated/models/LicenseKey.ts +16 -16
- package/generated/models/NotificationPreference.ts +5 -5
- package/generated/models/PageVersion.ts +49 -49
- package/generated/models/Plan.ts +5 -5
- package/generated/models/Project.ts +2240 -67
- package/generated/models/ProjectAccessToken.ts +1705 -0
- package/generated/models/ProjectWebhook.ts +1409 -0
- package/generated/models/Review.ts +118 -118
- package/generated/models/Share.ts +83 -83
- package/generated/models/ShareVersion.ts +15 -15
- package/generated/models/SsoProvider.ts +8 -8
- package/generated/models/Story.ts +973 -87
- package/generated/models/StoryDesignLink.ts +1430 -0
- package/generated/models/StoryFilterView.ts +12 -12
- package/generated/models/SystemPromptVersion.ts +6 -6
- package/generated/models/TestAutomationArtifact.ts +1790 -0
- package/generated/models/TestCase.ts +3645 -0
- package/generated/models/TestCaseFilterView.ts +1587 -0
- package/generated/models/TestCaseFolder.ts +1795 -0
- package/generated/models/TestExecRun.ts +1673 -0
- package/generated/models/TestGenerationRun.ts +1952 -0
- package/generated/models/TestPlan.ts +1950 -0
- package/generated/models/TestPlanCase.ts +1430 -0
- package/generated/models/TestRun.ts +1979 -0
- package/generated/models/TestRunCase.ts +2772 -0
- package/generated/models/ThirdPartyDependency.ts +19 -15
- package/generated/models/User.ts +13573 -3351
- package/generated/models/Workspace.ts +204 -0
- package/generated/models.ts +31 -10
- package/generated-sqlite/browser.ts +6 -36
- package/generated-sqlite/client.ts +6 -36
- package/generated-sqlite/internal/class.ts +16 -76
- package/generated-sqlite/internal/prismaNamespace.ts +127 -659
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +21 -103
- package/generated-sqlite/models/AgentConversation.ts +89 -89
- package/generated-sqlite/models/AiProvider.ts +3 -3
- package/generated-sqlite/models/AiStreamChunk.ts +3 -3
- package/generated-sqlite/models/AnyHubMarketApp.ts +8 -8
- package/generated-sqlite/models/BlockInstance.ts +17 -17
- package/generated-sqlite/models/ChatPersistenceMeta.ts +3 -3
- package/generated-sqlite/models/Comment.ts +99 -99
- package/generated-sqlite/models/Component.ts +7 -201
- package/generated-sqlite/models/ComponentInstance.ts +17 -17
- package/generated-sqlite/models/Design.ts +2497 -0
- package/generated-sqlite/models/DesignPage.ts +2398 -0
- package/generated-sqlite/models/DesignVersion.ts +2117 -0
- package/generated-sqlite/models/DesktopSetting.ts +3 -3
- package/generated-sqlite/models/KnowledgeBase.ts +240 -1
- package/generated-sqlite/models/NotificationPreference.ts +5 -5
- package/generated-sqlite/models/PageVersion.ts +49 -49
- package/generated-sqlite/models/Review.ts +118 -118
- package/generated-sqlite/models/Share.ts +83 -83
- package/generated-sqlite/models/ShareVersion.ts +15 -15
- package/generated-sqlite/models/SystemPromptVersion.ts +6 -6
- package/generated-sqlite/models/User.ts +1310 -2016
- package/generated-sqlite/models/Workspace.ts +164 -0
- package/generated-sqlite/models.ts +3 -9
- package/index.ts +31 -3
- package/migrations/20260924084200_add_prd_kind_drop_design_sketch/migration.sql +24 -0
- package/migrations/20260924123118_drop_user_sketch_api_token/migration.sql +8 -0
- package/migrations/20260925011516_rename_prd_tables/migration.sql +189 -0
- package/migrations/20260925064226_rename_prd_columns/migration.sql +193 -0
- package/migrations/20260925080000_rename_prd_embeddings/migration.sql +43 -0
- package/migrations/20261002184838_bug_module_init/migration.sql +297 -0
- package/migrations/20261004234209_testcase_module_init/migration.sql +290 -0
- package/migrations/20261005090000_testcase_plan_cases/migration.sql +34 -0
- package/migrations/20261006151229_add_missing_fk_indexes_auth_billing/migration.sql +50 -0
- package/migrations/20261006152058_add_missing_fk_indexes_story_bug_test/migration.sql +59 -0
- package/migrations/20261006152153_add_missing_fk_indexes_design_misc/migration.sql +50 -0
- package/migrations/20261006184250_explicit_on_delete_core/migration.sql +33 -0
- package/migrations/20261006184604_explicit_on_delete_rest/migration.sql +117 -0
- package/migrations/20261006184932_json_column_defaults/migration.sql +74 -0
- package/migrations/20261006191724_revert_version_token_cascade/migration.sql +21 -0
- package/migrations/20261007025537_dependency_category_enum/migration.sql +22 -0
- 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 +777 -222
- package/schema.sqlite.prisma +140 -196
- package/src/lib/share-utils.ts +2 -2
- package/generated/models/Artboard.ts +0 -1811
- package/generated/models/ArtboardExport.ts +0 -1548
- package/generated/models/ComponentTag.ts +0 -1281
- package/generated/models/DesignProject.ts +0 -1643
- package/generated/models/PRD.ts +0 -2805
- package/generated/models/PRDPage.ts +0 -2402
- package/generated/models/PRDTag.ts +0 -1430
- package/generated/models/PRDVersion.ts +0 -2121
- package/generated/models/StoryPrdLink.ts +0 -1430
- package/generated/models/Tag.ts +0 -1655
- package/generated-sqlite/models/Artboard.ts +0 -1808
- package/generated-sqlite/models/ArtboardExport.ts +0 -1545
- package/generated-sqlite/models/ComponentTag.ts +0 -1278
- package/generated-sqlite/models/DesignProject.ts +0 -1640
- package/generated-sqlite/models/PRD.ts +0 -2616
- package/generated-sqlite/models/PRDPage.ts +0 -2398
- package/generated-sqlite/models/PRDTag.ts +0 -1426
- package/generated-sqlite/models/PRDVersion.ts +0 -2117
- package/generated-sqlite/models/Tag.ts +0 -1652
|
@@ -27,7 +27,7 @@ export type AggregateAgentConversation = {
|
|
|
27
27
|
export type AgentConversationMinAggregateOutputType = {
|
|
28
28
|
id: string | null
|
|
29
29
|
userId: string | null
|
|
30
|
-
|
|
30
|
+
designId: string | null
|
|
31
31
|
title: string | null
|
|
32
32
|
createdAt: Date | null
|
|
33
33
|
updatedAt: Date | null
|
|
@@ -36,7 +36,7 @@ export type AgentConversationMinAggregateOutputType = {
|
|
|
36
36
|
export type AgentConversationMaxAggregateOutputType = {
|
|
37
37
|
id: string | null
|
|
38
38
|
userId: string | null
|
|
39
|
-
|
|
39
|
+
designId: string | null
|
|
40
40
|
title: string | null
|
|
41
41
|
createdAt: Date | null
|
|
42
42
|
updatedAt: Date | null
|
|
@@ -45,7 +45,7 @@ export type AgentConversationMaxAggregateOutputType = {
|
|
|
45
45
|
export type AgentConversationCountAggregateOutputType = {
|
|
46
46
|
id: number
|
|
47
47
|
userId: number
|
|
48
|
-
|
|
48
|
+
designId: number
|
|
49
49
|
title: number
|
|
50
50
|
createdAt: number
|
|
51
51
|
updatedAt: number
|
|
@@ -56,7 +56,7 @@ export type AgentConversationCountAggregateOutputType = {
|
|
|
56
56
|
export type AgentConversationMinAggregateInputType = {
|
|
57
57
|
id?: true
|
|
58
58
|
userId?: true
|
|
59
|
-
|
|
59
|
+
designId?: true
|
|
60
60
|
title?: true
|
|
61
61
|
createdAt?: true
|
|
62
62
|
updatedAt?: true
|
|
@@ -65,7 +65,7 @@ export type AgentConversationMinAggregateInputType = {
|
|
|
65
65
|
export type AgentConversationMaxAggregateInputType = {
|
|
66
66
|
id?: true
|
|
67
67
|
userId?: true
|
|
68
|
-
|
|
68
|
+
designId?: true
|
|
69
69
|
title?: true
|
|
70
70
|
createdAt?: true
|
|
71
71
|
updatedAt?: true
|
|
@@ -74,7 +74,7 @@ export type AgentConversationMaxAggregateInputType = {
|
|
|
74
74
|
export type AgentConversationCountAggregateInputType = {
|
|
75
75
|
id?: true
|
|
76
76
|
userId?: true
|
|
77
|
-
|
|
77
|
+
designId?: true
|
|
78
78
|
title?: true
|
|
79
79
|
createdAt?: true
|
|
80
80
|
updatedAt?: true
|
|
@@ -156,7 +156,7 @@ export type AgentConversationGroupByArgs<ExtArgs extends runtime.Types.Extension
|
|
|
156
156
|
export type AgentConversationGroupByOutputType = {
|
|
157
157
|
id: string
|
|
158
158
|
userId: string
|
|
159
|
-
|
|
159
|
+
designId: string
|
|
160
160
|
title: string
|
|
161
161
|
createdAt: Date
|
|
162
162
|
updatedAt: Date
|
|
@@ -186,24 +186,24 @@ export type AgentConversationWhereInput = {
|
|
|
186
186
|
NOT?: Prisma.AgentConversationWhereInput | Prisma.AgentConversationWhereInput[]
|
|
187
187
|
id?: Prisma.StringFilter<"AgentConversation"> | string
|
|
188
188
|
userId?: Prisma.StringFilter<"AgentConversation"> | string
|
|
189
|
-
|
|
189
|
+
designId?: Prisma.StringFilter<"AgentConversation"> | string
|
|
190
190
|
title?: Prisma.StringFilter<"AgentConversation"> | string
|
|
191
191
|
createdAt?: Prisma.DateTimeFilter<"AgentConversation"> | Date | string
|
|
192
192
|
updatedAt?: Prisma.DateTimeFilter<"AgentConversation"> | Date | string
|
|
193
193
|
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
194
|
-
|
|
194
|
+
design?: Prisma.XOR<Prisma.DesignScalarRelationFilter, Prisma.DesignWhereInput>
|
|
195
195
|
messages?: Prisma.AgentMessageListRelationFilter
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
export type AgentConversationOrderByWithRelationInput = {
|
|
199
199
|
id?: Prisma.SortOrder
|
|
200
200
|
userId?: Prisma.SortOrder
|
|
201
|
-
|
|
201
|
+
designId?: Prisma.SortOrder
|
|
202
202
|
title?: Prisma.SortOrder
|
|
203
203
|
createdAt?: Prisma.SortOrder
|
|
204
204
|
updatedAt?: Prisma.SortOrder
|
|
205
205
|
user?: Prisma.UserOrderByWithRelationInput
|
|
206
|
-
|
|
206
|
+
design?: Prisma.DesignOrderByWithRelationInput
|
|
207
207
|
messages?: Prisma.AgentMessageOrderByRelationAggregateInput
|
|
208
208
|
}
|
|
209
209
|
|
|
@@ -213,19 +213,19 @@ export type AgentConversationWhereUniqueInput = Prisma.AtLeast<{
|
|
|
213
213
|
OR?: Prisma.AgentConversationWhereInput[]
|
|
214
214
|
NOT?: Prisma.AgentConversationWhereInput | Prisma.AgentConversationWhereInput[]
|
|
215
215
|
userId?: Prisma.StringFilter<"AgentConversation"> | string
|
|
216
|
-
|
|
216
|
+
designId?: Prisma.StringFilter<"AgentConversation"> | string
|
|
217
217
|
title?: Prisma.StringFilter<"AgentConversation"> | string
|
|
218
218
|
createdAt?: Prisma.DateTimeFilter<"AgentConversation"> | Date | string
|
|
219
219
|
updatedAt?: Prisma.DateTimeFilter<"AgentConversation"> | Date | string
|
|
220
220
|
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
221
|
-
|
|
221
|
+
design?: Prisma.XOR<Prisma.DesignScalarRelationFilter, Prisma.DesignWhereInput>
|
|
222
222
|
messages?: Prisma.AgentMessageListRelationFilter
|
|
223
223
|
}, "id">
|
|
224
224
|
|
|
225
225
|
export type AgentConversationOrderByWithAggregationInput = {
|
|
226
226
|
id?: Prisma.SortOrder
|
|
227
227
|
userId?: Prisma.SortOrder
|
|
228
|
-
|
|
228
|
+
designId?: Prisma.SortOrder
|
|
229
229
|
title?: Prisma.SortOrder
|
|
230
230
|
createdAt?: Prisma.SortOrder
|
|
231
231
|
updatedAt?: Prisma.SortOrder
|
|
@@ -240,7 +240,7 @@ export type AgentConversationScalarWhereWithAggregatesInput = {
|
|
|
240
240
|
NOT?: Prisma.AgentConversationScalarWhereWithAggregatesInput | Prisma.AgentConversationScalarWhereWithAggregatesInput[]
|
|
241
241
|
id?: Prisma.StringWithAggregatesFilter<"AgentConversation"> | string
|
|
242
242
|
userId?: Prisma.StringWithAggregatesFilter<"AgentConversation"> | string
|
|
243
|
-
|
|
243
|
+
designId?: Prisma.StringWithAggregatesFilter<"AgentConversation"> | string
|
|
244
244
|
title?: Prisma.StringWithAggregatesFilter<"AgentConversation"> | string
|
|
245
245
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AgentConversation"> | Date | string
|
|
246
246
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AgentConversation"> | Date | string
|
|
@@ -252,14 +252,14 @@ export type AgentConversationCreateInput = {
|
|
|
252
252
|
createdAt?: Date | string
|
|
253
253
|
updatedAt?: Date | string
|
|
254
254
|
user: Prisma.UserCreateNestedOneWithoutAgentConversationsInput
|
|
255
|
-
|
|
255
|
+
design: Prisma.DesignCreateNestedOneWithoutAgentConversationsInput
|
|
256
256
|
messages?: Prisma.AgentMessageCreateNestedManyWithoutConversationInput
|
|
257
257
|
}
|
|
258
258
|
|
|
259
259
|
export type AgentConversationUncheckedCreateInput = {
|
|
260
260
|
id?: string
|
|
261
261
|
userId: string
|
|
262
|
-
|
|
262
|
+
designId: string
|
|
263
263
|
title?: string
|
|
264
264
|
createdAt?: Date | string
|
|
265
265
|
updatedAt?: Date | string
|
|
@@ -272,14 +272,14 @@ export type AgentConversationUpdateInput = {
|
|
|
272
272
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
273
273
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
274
274
|
user?: Prisma.UserUpdateOneRequiredWithoutAgentConversationsNestedInput
|
|
275
|
-
|
|
275
|
+
design?: Prisma.DesignUpdateOneRequiredWithoutAgentConversationsNestedInput
|
|
276
276
|
messages?: Prisma.AgentMessageUpdateManyWithoutConversationNestedInput
|
|
277
277
|
}
|
|
278
278
|
|
|
279
279
|
export type AgentConversationUncheckedUpdateInput = {
|
|
280
280
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
281
281
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
282
|
-
|
|
282
|
+
designId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
283
283
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
284
284
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
285
285
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -289,7 +289,7 @@ export type AgentConversationUncheckedUpdateInput = {
|
|
|
289
289
|
export type AgentConversationCreateManyInput = {
|
|
290
290
|
id?: string
|
|
291
291
|
userId: string
|
|
292
|
-
|
|
292
|
+
designId: string
|
|
293
293
|
title?: string
|
|
294
294
|
createdAt?: Date | string
|
|
295
295
|
updatedAt?: Date | string
|
|
@@ -305,7 +305,7 @@ export type AgentConversationUpdateManyMutationInput = {
|
|
|
305
305
|
export type AgentConversationUncheckedUpdateManyInput = {
|
|
306
306
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
307
307
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
308
|
-
|
|
308
|
+
designId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
309
309
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
310
310
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
311
311
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -324,7 +324,7 @@ export type AgentConversationOrderByRelationAggregateInput = {
|
|
|
324
324
|
export type AgentConversationCountOrderByAggregateInput = {
|
|
325
325
|
id?: Prisma.SortOrder
|
|
326
326
|
userId?: Prisma.SortOrder
|
|
327
|
-
|
|
327
|
+
designId?: Prisma.SortOrder
|
|
328
328
|
title?: Prisma.SortOrder
|
|
329
329
|
createdAt?: Prisma.SortOrder
|
|
330
330
|
updatedAt?: Prisma.SortOrder
|
|
@@ -333,7 +333,7 @@ export type AgentConversationCountOrderByAggregateInput = {
|
|
|
333
333
|
export type AgentConversationMaxOrderByAggregateInput = {
|
|
334
334
|
id?: Prisma.SortOrder
|
|
335
335
|
userId?: Prisma.SortOrder
|
|
336
|
-
|
|
336
|
+
designId?: Prisma.SortOrder
|
|
337
337
|
title?: Prisma.SortOrder
|
|
338
338
|
createdAt?: Prisma.SortOrder
|
|
339
339
|
updatedAt?: Prisma.SortOrder
|
|
@@ -342,7 +342,7 @@ export type AgentConversationMaxOrderByAggregateInput = {
|
|
|
342
342
|
export type AgentConversationMinOrderByAggregateInput = {
|
|
343
343
|
id?: Prisma.SortOrder
|
|
344
344
|
userId?: Prisma.SortOrder
|
|
345
|
-
|
|
345
|
+
designId?: Prisma.SortOrder
|
|
346
346
|
title?: Prisma.SortOrder
|
|
347
347
|
createdAt?: Prisma.SortOrder
|
|
348
348
|
updatedAt?: Prisma.SortOrder
|
|
@@ -395,45 +395,45 @@ export type AgentConversationUncheckedUpdateManyWithoutUserNestedInput = {
|
|
|
395
395
|
deleteMany?: Prisma.AgentConversationScalarWhereInput | Prisma.AgentConversationScalarWhereInput[]
|
|
396
396
|
}
|
|
397
397
|
|
|
398
|
-
export type
|
|
399
|
-
create?: Prisma.XOR<Prisma.
|
|
400
|
-
connectOrCreate?: Prisma.
|
|
401
|
-
createMany?: Prisma.
|
|
398
|
+
export type AgentConversationCreateNestedManyWithoutDesignInput = {
|
|
399
|
+
create?: Prisma.XOR<Prisma.AgentConversationCreateWithoutDesignInput, Prisma.AgentConversationUncheckedCreateWithoutDesignInput> | Prisma.AgentConversationCreateWithoutDesignInput[] | Prisma.AgentConversationUncheckedCreateWithoutDesignInput[]
|
|
400
|
+
connectOrCreate?: Prisma.AgentConversationCreateOrConnectWithoutDesignInput | Prisma.AgentConversationCreateOrConnectWithoutDesignInput[]
|
|
401
|
+
createMany?: Prisma.AgentConversationCreateManyDesignInputEnvelope
|
|
402
402
|
connect?: Prisma.AgentConversationWhereUniqueInput | Prisma.AgentConversationWhereUniqueInput[]
|
|
403
403
|
}
|
|
404
404
|
|
|
405
|
-
export type
|
|
406
|
-
create?: Prisma.XOR<Prisma.
|
|
407
|
-
connectOrCreate?: Prisma.
|
|
408
|
-
createMany?: Prisma.
|
|
405
|
+
export type AgentConversationUncheckedCreateNestedManyWithoutDesignInput = {
|
|
406
|
+
create?: Prisma.XOR<Prisma.AgentConversationCreateWithoutDesignInput, Prisma.AgentConversationUncheckedCreateWithoutDesignInput> | Prisma.AgentConversationCreateWithoutDesignInput[] | Prisma.AgentConversationUncheckedCreateWithoutDesignInput[]
|
|
407
|
+
connectOrCreate?: Prisma.AgentConversationCreateOrConnectWithoutDesignInput | Prisma.AgentConversationCreateOrConnectWithoutDesignInput[]
|
|
408
|
+
createMany?: Prisma.AgentConversationCreateManyDesignInputEnvelope
|
|
409
409
|
connect?: Prisma.AgentConversationWhereUniqueInput | Prisma.AgentConversationWhereUniqueInput[]
|
|
410
410
|
}
|
|
411
411
|
|
|
412
|
-
export type
|
|
413
|
-
create?: Prisma.XOR<Prisma.
|
|
414
|
-
connectOrCreate?: Prisma.
|
|
415
|
-
upsert?: Prisma.
|
|
416
|
-
createMany?: Prisma.
|
|
412
|
+
export type AgentConversationUpdateManyWithoutDesignNestedInput = {
|
|
413
|
+
create?: Prisma.XOR<Prisma.AgentConversationCreateWithoutDesignInput, Prisma.AgentConversationUncheckedCreateWithoutDesignInput> | Prisma.AgentConversationCreateWithoutDesignInput[] | Prisma.AgentConversationUncheckedCreateWithoutDesignInput[]
|
|
414
|
+
connectOrCreate?: Prisma.AgentConversationCreateOrConnectWithoutDesignInput | Prisma.AgentConversationCreateOrConnectWithoutDesignInput[]
|
|
415
|
+
upsert?: Prisma.AgentConversationUpsertWithWhereUniqueWithoutDesignInput | Prisma.AgentConversationUpsertWithWhereUniqueWithoutDesignInput[]
|
|
416
|
+
createMany?: Prisma.AgentConversationCreateManyDesignInputEnvelope
|
|
417
417
|
set?: Prisma.AgentConversationWhereUniqueInput | Prisma.AgentConversationWhereUniqueInput[]
|
|
418
418
|
disconnect?: Prisma.AgentConversationWhereUniqueInput | Prisma.AgentConversationWhereUniqueInput[]
|
|
419
419
|
delete?: Prisma.AgentConversationWhereUniqueInput | Prisma.AgentConversationWhereUniqueInput[]
|
|
420
420
|
connect?: Prisma.AgentConversationWhereUniqueInput | Prisma.AgentConversationWhereUniqueInput[]
|
|
421
|
-
update?: Prisma.
|
|
422
|
-
updateMany?: Prisma.
|
|
421
|
+
update?: Prisma.AgentConversationUpdateWithWhereUniqueWithoutDesignInput | Prisma.AgentConversationUpdateWithWhereUniqueWithoutDesignInput[]
|
|
422
|
+
updateMany?: Prisma.AgentConversationUpdateManyWithWhereWithoutDesignInput | Prisma.AgentConversationUpdateManyWithWhereWithoutDesignInput[]
|
|
423
423
|
deleteMany?: Prisma.AgentConversationScalarWhereInput | Prisma.AgentConversationScalarWhereInput[]
|
|
424
424
|
}
|
|
425
425
|
|
|
426
|
-
export type
|
|
427
|
-
create?: Prisma.XOR<Prisma.
|
|
428
|
-
connectOrCreate?: Prisma.
|
|
429
|
-
upsert?: Prisma.
|
|
430
|
-
createMany?: Prisma.
|
|
426
|
+
export type AgentConversationUncheckedUpdateManyWithoutDesignNestedInput = {
|
|
427
|
+
create?: Prisma.XOR<Prisma.AgentConversationCreateWithoutDesignInput, Prisma.AgentConversationUncheckedCreateWithoutDesignInput> | Prisma.AgentConversationCreateWithoutDesignInput[] | Prisma.AgentConversationUncheckedCreateWithoutDesignInput[]
|
|
428
|
+
connectOrCreate?: Prisma.AgentConversationCreateOrConnectWithoutDesignInput | Prisma.AgentConversationCreateOrConnectWithoutDesignInput[]
|
|
429
|
+
upsert?: Prisma.AgentConversationUpsertWithWhereUniqueWithoutDesignInput | Prisma.AgentConversationUpsertWithWhereUniqueWithoutDesignInput[]
|
|
430
|
+
createMany?: Prisma.AgentConversationCreateManyDesignInputEnvelope
|
|
431
431
|
set?: Prisma.AgentConversationWhereUniqueInput | Prisma.AgentConversationWhereUniqueInput[]
|
|
432
432
|
disconnect?: Prisma.AgentConversationWhereUniqueInput | Prisma.AgentConversationWhereUniqueInput[]
|
|
433
433
|
delete?: Prisma.AgentConversationWhereUniqueInput | Prisma.AgentConversationWhereUniqueInput[]
|
|
434
434
|
connect?: Prisma.AgentConversationWhereUniqueInput | Prisma.AgentConversationWhereUniqueInput[]
|
|
435
|
-
update?: Prisma.
|
|
436
|
-
updateMany?: Prisma.
|
|
435
|
+
update?: Prisma.AgentConversationUpdateWithWhereUniqueWithoutDesignInput | Prisma.AgentConversationUpdateWithWhereUniqueWithoutDesignInput[]
|
|
436
|
+
updateMany?: Prisma.AgentConversationUpdateManyWithWhereWithoutDesignInput | Prisma.AgentConversationUpdateManyWithWhereWithoutDesignInput[]
|
|
437
437
|
deleteMany?: Prisma.AgentConversationScalarWhereInput | Prisma.AgentConversationScalarWhereInput[]
|
|
438
438
|
}
|
|
439
439
|
|
|
@@ -456,13 +456,13 @@ export type AgentConversationCreateWithoutUserInput = {
|
|
|
456
456
|
title?: string
|
|
457
457
|
createdAt?: Date | string
|
|
458
458
|
updatedAt?: Date | string
|
|
459
|
-
|
|
459
|
+
design: Prisma.DesignCreateNestedOneWithoutAgentConversationsInput
|
|
460
460
|
messages?: Prisma.AgentMessageCreateNestedManyWithoutConversationInput
|
|
461
461
|
}
|
|
462
462
|
|
|
463
463
|
export type AgentConversationUncheckedCreateWithoutUserInput = {
|
|
464
464
|
id?: string
|
|
465
|
-
|
|
465
|
+
designId: string
|
|
466
466
|
title?: string
|
|
467
467
|
createdAt?: Date | string
|
|
468
468
|
updatedAt?: Date | string
|
|
@@ -501,13 +501,13 @@ export type AgentConversationScalarWhereInput = {
|
|
|
501
501
|
NOT?: Prisma.AgentConversationScalarWhereInput | Prisma.AgentConversationScalarWhereInput[]
|
|
502
502
|
id?: Prisma.StringFilter<"AgentConversation"> | string
|
|
503
503
|
userId?: Prisma.StringFilter<"AgentConversation"> | string
|
|
504
|
-
|
|
504
|
+
designId?: Prisma.StringFilter<"AgentConversation"> | string
|
|
505
505
|
title?: Prisma.StringFilter<"AgentConversation"> | string
|
|
506
506
|
createdAt?: Prisma.DateTimeFilter<"AgentConversation"> | Date | string
|
|
507
507
|
updatedAt?: Prisma.DateTimeFilter<"AgentConversation"> | Date | string
|
|
508
508
|
}
|
|
509
509
|
|
|
510
|
-
export type
|
|
510
|
+
export type AgentConversationCreateWithoutDesignInput = {
|
|
511
511
|
id?: string
|
|
512
512
|
title?: string
|
|
513
513
|
createdAt?: Date | string
|
|
@@ -516,7 +516,7 @@ export type AgentConversationCreateWithoutPrdInput = {
|
|
|
516
516
|
messages?: Prisma.AgentMessageCreateNestedManyWithoutConversationInput
|
|
517
517
|
}
|
|
518
518
|
|
|
519
|
-
export type
|
|
519
|
+
export type AgentConversationUncheckedCreateWithoutDesignInput = {
|
|
520
520
|
id?: string
|
|
521
521
|
userId: string
|
|
522
522
|
title?: string
|
|
@@ -525,30 +525,30 @@ export type AgentConversationUncheckedCreateWithoutPrdInput = {
|
|
|
525
525
|
messages?: Prisma.AgentMessageUncheckedCreateNestedManyWithoutConversationInput
|
|
526
526
|
}
|
|
527
527
|
|
|
528
|
-
export type
|
|
528
|
+
export type AgentConversationCreateOrConnectWithoutDesignInput = {
|
|
529
529
|
where: Prisma.AgentConversationWhereUniqueInput
|
|
530
|
-
create: Prisma.XOR<Prisma.
|
|
530
|
+
create: Prisma.XOR<Prisma.AgentConversationCreateWithoutDesignInput, Prisma.AgentConversationUncheckedCreateWithoutDesignInput>
|
|
531
531
|
}
|
|
532
532
|
|
|
533
|
-
export type
|
|
534
|
-
data: Prisma.
|
|
533
|
+
export type AgentConversationCreateManyDesignInputEnvelope = {
|
|
534
|
+
data: Prisma.AgentConversationCreateManyDesignInput | Prisma.AgentConversationCreateManyDesignInput[]
|
|
535
535
|
skipDuplicates?: boolean
|
|
536
536
|
}
|
|
537
537
|
|
|
538
|
-
export type
|
|
538
|
+
export type AgentConversationUpsertWithWhereUniqueWithoutDesignInput = {
|
|
539
539
|
where: Prisma.AgentConversationWhereUniqueInput
|
|
540
|
-
update: Prisma.XOR<Prisma.
|
|
541
|
-
create: Prisma.XOR<Prisma.
|
|
540
|
+
update: Prisma.XOR<Prisma.AgentConversationUpdateWithoutDesignInput, Prisma.AgentConversationUncheckedUpdateWithoutDesignInput>
|
|
541
|
+
create: Prisma.XOR<Prisma.AgentConversationCreateWithoutDesignInput, Prisma.AgentConversationUncheckedCreateWithoutDesignInput>
|
|
542
542
|
}
|
|
543
543
|
|
|
544
|
-
export type
|
|
544
|
+
export type AgentConversationUpdateWithWhereUniqueWithoutDesignInput = {
|
|
545
545
|
where: Prisma.AgentConversationWhereUniqueInput
|
|
546
|
-
data: Prisma.XOR<Prisma.
|
|
546
|
+
data: Prisma.XOR<Prisma.AgentConversationUpdateWithoutDesignInput, Prisma.AgentConversationUncheckedUpdateWithoutDesignInput>
|
|
547
547
|
}
|
|
548
548
|
|
|
549
|
-
export type
|
|
549
|
+
export type AgentConversationUpdateManyWithWhereWithoutDesignInput = {
|
|
550
550
|
where: Prisma.AgentConversationScalarWhereInput
|
|
551
|
-
data: Prisma.XOR<Prisma.AgentConversationUpdateManyMutationInput, Prisma.
|
|
551
|
+
data: Prisma.XOR<Prisma.AgentConversationUpdateManyMutationInput, Prisma.AgentConversationUncheckedUpdateManyWithoutDesignInput>
|
|
552
552
|
}
|
|
553
553
|
|
|
554
554
|
export type AgentConversationCreateWithoutMessagesInput = {
|
|
@@ -557,13 +557,13 @@ export type AgentConversationCreateWithoutMessagesInput = {
|
|
|
557
557
|
createdAt?: Date | string
|
|
558
558
|
updatedAt?: Date | string
|
|
559
559
|
user: Prisma.UserCreateNestedOneWithoutAgentConversationsInput
|
|
560
|
-
|
|
560
|
+
design: Prisma.DesignCreateNestedOneWithoutAgentConversationsInput
|
|
561
561
|
}
|
|
562
562
|
|
|
563
563
|
export type AgentConversationUncheckedCreateWithoutMessagesInput = {
|
|
564
564
|
id?: string
|
|
565
565
|
userId: string
|
|
566
|
-
|
|
566
|
+
designId: string
|
|
567
567
|
title?: string
|
|
568
568
|
createdAt?: Date | string
|
|
569
569
|
updatedAt?: Date | string
|
|
@@ -591,13 +591,13 @@ export type AgentConversationUpdateWithoutMessagesInput = {
|
|
|
591
591
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
592
592
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
593
593
|
user?: Prisma.UserUpdateOneRequiredWithoutAgentConversationsNestedInput
|
|
594
|
-
|
|
594
|
+
design?: Prisma.DesignUpdateOneRequiredWithoutAgentConversationsNestedInput
|
|
595
595
|
}
|
|
596
596
|
|
|
597
597
|
export type AgentConversationUncheckedUpdateWithoutMessagesInput = {
|
|
598
598
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
599
599
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
600
|
-
|
|
600
|
+
designId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
601
601
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
602
602
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
603
603
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -605,7 +605,7 @@ export type AgentConversationUncheckedUpdateWithoutMessagesInput = {
|
|
|
605
605
|
|
|
606
606
|
export type AgentConversationCreateManyUserInput = {
|
|
607
607
|
id?: string
|
|
608
|
-
|
|
608
|
+
designId: string
|
|
609
609
|
title?: string
|
|
610
610
|
createdAt?: Date | string
|
|
611
611
|
updatedAt?: Date | string
|
|
@@ -616,13 +616,13 @@ export type AgentConversationUpdateWithoutUserInput = {
|
|
|
616
616
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
617
617
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
618
618
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
619
|
-
|
|
619
|
+
design?: Prisma.DesignUpdateOneRequiredWithoutAgentConversationsNestedInput
|
|
620
620
|
messages?: Prisma.AgentMessageUpdateManyWithoutConversationNestedInput
|
|
621
621
|
}
|
|
622
622
|
|
|
623
623
|
export type AgentConversationUncheckedUpdateWithoutUserInput = {
|
|
624
624
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
625
|
-
|
|
625
|
+
designId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
626
626
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
627
627
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
628
628
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -631,13 +631,13 @@ export type AgentConversationUncheckedUpdateWithoutUserInput = {
|
|
|
631
631
|
|
|
632
632
|
export type AgentConversationUncheckedUpdateManyWithoutUserInput = {
|
|
633
633
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
634
|
-
|
|
634
|
+
designId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
635
635
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
636
636
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
637
637
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
638
638
|
}
|
|
639
639
|
|
|
640
|
-
export type
|
|
640
|
+
export type AgentConversationCreateManyDesignInput = {
|
|
641
641
|
id?: string
|
|
642
642
|
userId: string
|
|
643
643
|
title?: string
|
|
@@ -645,7 +645,7 @@ export type AgentConversationCreateManyPrdInput = {
|
|
|
645
645
|
updatedAt?: Date | string
|
|
646
646
|
}
|
|
647
647
|
|
|
648
|
-
export type
|
|
648
|
+
export type AgentConversationUpdateWithoutDesignInput = {
|
|
649
649
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
650
650
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
651
651
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -654,7 +654,7 @@ export type AgentConversationUpdateWithoutPrdInput = {
|
|
|
654
654
|
messages?: Prisma.AgentMessageUpdateManyWithoutConversationNestedInput
|
|
655
655
|
}
|
|
656
656
|
|
|
657
|
-
export type
|
|
657
|
+
export type AgentConversationUncheckedUpdateWithoutDesignInput = {
|
|
658
658
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
659
659
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
660
660
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
@@ -663,7 +663,7 @@ export type AgentConversationUncheckedUpdateWithoutPrdInput = {
|
|
|
663
663
|
messages?: Prisma.AgentMessageUncheckedUpdateManyWithoutConversationNestedInput
|
|
664
664
|
}
|
|
665
665
|
|
|
666
|
-
export type
|
|
666
|
+
export type AgentConversationUncheckedUpdateManyWithoutDesignInput = {
|
|
667
667
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
668
668
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
669
669
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
@@ -705,12 +705,12 @@ export type AgentConversationCountOutputTypeCountMessagesArgs<ExtArgs extends ru
|
|
|
705
705
|
export type AgentConversationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
706
706
|
id?: boolean
|
|
707
707
|
userId?: boolean
|
|
708
|
-
|
|
708
|
+
designId?: boolean
|
|
709
709
|
title?: boolean
|
|
710
710
|
createdAt?: boolean
|
|
711
711
|
updatedAt?: boolean
|
|
712
712
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
713
|
-
|
|
713
|
+
design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
|
|
714
714
|
messages?: boolean | Prisma.AgentConversation$messagesArgs<ExtArgs>
|
|
715
715
|
_count?: boolean | Prisma.AgentConversationCountOutputTypeDefaultArgs<ExtArgs>
|
|
716
716
|
}, ExtArgs["result"]["agentConversation"]>
|
|
@@ -718,61 +718,61 @@ export type AgentConversationSelect<ExtArgs extends runtime.Types.Extensions.Int
|
|
|
718
718
|
export type AgentConversationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
719
719
|
id?: boolean
|
|
720
720
|
userId?: boolean
|
|
721
|
-
|
|
721
|
+
designId?: boolean
|
|
722
722
|
title?: boolean
|
|
723
723
|
createdAt?: boolean
|
|
724
724
|
updatedAt?: boolean
|
|
725
725
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
726
|
-
|
|
726
|
+
design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
|
|
727
727
|
}, ExtArgs["result"]["agentConversation"]>
|
|
728
728
|
|
|
729
729
|
export type AgentConversationSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
730
730
|
id?: boolean
|
|
731
731
|
userId?: boolean
|
|
732
|
-
|
|
732
|
+
designId?: boolean
|
|
733
733
|
title?: boolean
|
|
734
734
|
createdAt?: boolean
|
|
735
735
|
updatedAt?: boolean
|
|
736
736
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
737
|
-
|
|
737
|
+
design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
|
|
738
738
|
}, ExtArgs["result"]["agentConversation"]>
|
|
739
739
|
|
|
740
740
|
export type AgentConversationSelectScalar = {
|
|
741
741
|
id?: boolean
|
|
742
742
|
userId?: boolean
|
|
743
|
-
|
|
743
|
+
designId?: boolean
|
|
744
744
|
title?: boolean
|
|
745
745
|
createdAt?: boolean
|
|
746
746
|
updatedAt?: boolean
|
|
747
747
|
}
|
|
748
748
|
|
|
749
|
-
export type AgentConversationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "userId" | "
|
|
749
|
+
export type AgentConversationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "userId" | "designId" | "title" | "createdAt" | "updatedAt", ExtArgs["result"]["agentConversation"]>
|
|
750
750
|
export type AgentConversationInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
751
751
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
752
|
-
|
|
752
|
+
design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
|
|
753
753
|
messages?: boolean | Prisma.AgentConversation$messagesArgs<ExtArgs>
|
|
754
754
|
_count?: boolean | Prisma.AgentConversationCountOutputTypeDefaultArgs<ExtArgs>
|
|
755
755
|
}
|
|
756
756
|
export type AgentConversationIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
757
757
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
758
|
-
|
|
758
|
+
design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
|
|
759
759
|
}
|
|
760
760
|
export type AgentConversationIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
761
761
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
762
|
-
|
|
762
|
+
design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
|
|
763
763
|
}
|
|
764
764
|
|
|
765
765
|
export type $AgentConversationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
766
766
|
name: "AgentConversation"
|
|
767
767
|
objects: {
|
|
768
768
|
user: Prisma.$UserPayload<ExtArgs>
|
|
769
|
-
|
|
769
|
+
design: Prisma.$DesignPayload<ExtArgs>
|
|
770
770
|
messages: Prisma.$AgentMessagePayload<ExtArgs>[]
|
|
771
771
|
}
|
|
772
772
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
773
773
|
id: string
|
|
774
774
|
userId: string
|
|
775
|
-
|
|
775
|
+
designId: string
|
|
776
776
|
title: string
|
|
777
777
|
createdAt: Date
|
|
778
778
|
updatedAt: Date
|
|
@@ -1171,7 +1171,7 @@ readonly fields: AgentConversationFieldRefs;
|
|
|
1171
1171
|
export interface Prisma__AgentConversationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1172
1172
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1173
1173
|
user<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>
|
|
1174
|
-
|
|
1174
|
+
design<T extends Prisma.DesignDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DesignDefaultArgs<ExtArgs>>): Prisma.Prisma__DesignClient<runtime.Types.Result.GetResult<Prisma.$DesignPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1175
1175
|
messages<T extends Prisma.AgentConversation$messagesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AgentConversation$messagesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentMessagePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1176
1176
|
/**
|
|
1177
1177
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
@@ -1204,7 +1204,7 @@ export interface Prisma__AgentConversationClient<T, Null = never, ExtArgs extend
|
|
|
1204
1204
|
export interface AgentConversationFieldRefs {
|
|
1205
1205
|
readonly id: Prisma.FieldRef<"AgentConversation", 'String'>
|
|
1206
1206
|
readonly userId: Prisma.FieldRef<"AgentConversation", 'String'>
|
|
1207
|
-
readonly
|
|
1207
|
+
readonly designId: Prisma.FieldRef<"AgentConversation", 'String'>
|
|
1208
1208
|
readonly title: Prisma.FieldRef<"AgentConversation", 'String'>
|
|
1209
1209
|
readonly createdAt: Prisma.FieldRef<"AgentConversation", 'DateTime'>
|
|
1210
1210
|
readonly updatedAt: Prisma.FieldRef<"AgentConversation", 'DateTime'>
|
|
@@ -454,7 +454,7 @@ export type AiProviderCreateInput = {
|
|
|
454
454
|
badge?: string | null
|
|
455
455
|
isLocal?: boolean
|
|
456
456
|
enabled?: boolean
|
|
457
|
-
models
|
|
457
|
+
models?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
458
458
|
sortOrder?: number
|
|
459
459
|
createdAt?: Date | string
|
|
460
460
|
updatedAt?: Date | string
|
|
@@ -477,7 +477,7 @@ export type AiProviderUncheckedCreateInput = {
|
|
|
477
477
|
badge?: string | null
|
|
478
478
|
isLocal?: boolean
|
|
479
479
|
enabled?: boolean
|
|
480
|
-
models
|
|
480
|
+
models?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
481
481
|
sortOrder?: number
|
|
482
482
|
createdAt?: Date | string
|
|
483
483
|
updatedAt?: Date | string
|
|
@@ -546,7 +546,7 @@ export type AiProviderCreateManyInput = {
|
|
|
546
546
|
badge?: string | null
|
|
547
547
|
isLocal?: boolean
|
|
548
548
|
enabled?: boolean
|
|
549
|
-
models
|
|
549
|
+
models?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
550
550
|
sortOrder?: number
|
|
551
551
|
createdAt?: Date | string
|
|
552
552
|
updatedAt?: Date | string
|
|
@@ -248,14 +248,14 @@ export type AiStreamChunkScalarWhereWithAggregatesInput = {
|
|
|
248
248
|
export type AiStreamChunkCreateInput = {
|
|
249
249
|
id?: bigint | number
|
|
250
250
|
runId: string
|
|
251
|
-
chunk
|
|
251
|
+
chunk?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
252
252
|
createdAt?: Date | string
|
|
253
253
|
}
|
|
254
254
|
|
|
255
255
|
export type AiStreamChunkUncheckedCreateInput = {
|
|
256
256
|
id?: bigint | number
|
|
257
257
|
runId: string
|
|
258
|
-
chunk
|
|
258
|
+
chunk?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
259
259
|
createdAt?: Date | string
|
|
260
260
|
}
|
|
261
261
|
|
|
@@ -276,7 +276,7 @@ export type AiStreamChunkUncheckedUpdateInput = {
|
|
|
276
276
|
export type AiStreamChunkCreateManyInput = {
|
|
277
277
|
id?: bigint | number
|
|
278
278
|
runId: string
|
|
279
|
-
chunk
|
|
279
|
+
chunk?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
280
280
|
createdAt?: Date | string
|
|
281
281
|
}
|
|
282
282
|
|