@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
|
|
@@ -500,13 +500,13 @@ export type AgentConversationScalarWhereInput = {
|
|
|
500
500
|
NOT?: Prisma.AgentConversationScalarWhereInput | Prisma.AgentConversationScalarWhereInput[]
|
|
501
501
|
id?: Prisma.StringFilter<"AgentConversation"> | string
|
|
502
502
|
userId?: Prisma.StringFilter<"AgentConversation"> | string
|
|
503
|
-
|
|
503
|
+
designId?: Prisma.StringFilter<"AgentConversation"> | string
|
|
504
504
|
title?: Prisma.StringFilter<"AgentConversation"> | string
|
|
505
505
|
createdAt?: Prisma.DateTimeFilter<"AgentConversation"> | Date | string
|
|
506
506
|
updatedAt?: Prisma.DateTimeFilter<"AgentConversation"> | Date | string
|
|
507
507
|
}
|
|
508
508
|
|
|
509
|
-
export type
|
|
509
|
+
export type AgentConversationCreateWithoutDesignInput = {
|
|
510
510
|
id?: string
|
|
511
511
|
title?: string
|
|
512
512
|
createdAt?: Date | string
|
|
@@ -515,7 +515,7 @@ export type AgentConversationCreateWithoutPrdInput = {
|
|
|
515
515
|
messages?: Prisma.AgentMessageCreateNestedManyWithoutConversationInput
|
|
516
516
|
}
|
|
517
517
|
|
|
518
|
-
export type
|
|
518
|
+
export type AgentConversationUncheckedCreateWithoutDesignInput = {
|
|
519
519
|
id?: string
|
|
520
520
|
userId: string
|
|
521
521
|
title?: string
|
|
@@ -524,29 +524,29 @@ export type AgentConversationUncheckedCreateWithoutPrdInput = {
|
|
|
524
524
|
messages?: Prisma.AgentMessageUncheckedCreateNestedManyWithoutConversationInput
|
|
525
525
|
}
|
|
526
526
|
|
|
527
|
-
export type
|
|
527
|
+
export type AgentConversationCreateOrConnectWithoutDesignInput = {
|
|
528
528
|
where: Prisma.AgentConversationWhereUniqueInput
|
|
529
|
-
create: Prisma.XOR<Prisma.
|
|
529
|
+
create: Prisma.XOR<Prisma.AgentConversationCreateWithoutDesignInput, Prisma.AgentConversationUncheckedCreateWithoutDesignInput>
|
|
530
530
|
}
|
|
531
531
|
|
|
532
|
-
export type
|
|
533
|
-
data: Prisma.
|
|
532
|
+
export type AgentConversationCreateManyDesignInputEnvelope = {
|
|
533
|
+
data: Prisma.AgentConversationCreateManyDesignInput | Prisma.AgentConversationCreateManyDesignInput[]
|
|
534
534
|
}
|
|
535
535
|
|
|
536
|
-
export type
|
|
536
|
+
export type AgentConversationUpsertWithWhereUniqueWithoutDesignInput = {
|
|
537
537
|
where: Prisma.AgentConversationWhereUniqueInput
|
|
538
|
-
update: Prisma.XOR<Prisma.
|
|
539
|
-
create: Prisma.XOR<Prisma.
|
|
538
|
+
update: Prisma.XOR<Prisma.AgentConversationUpdateWithoutDesignInput, Prisma.AgentConversationUncheckedUpdateWithoutDesignInput>
|
|
539
|
+
create: Prisma.XOR<Prisma.AgentConversationCreateWithoutDesignInput, Prisma.AgentConversationUncheckedCreateWithoutDesignInput>
|
|
540
540
|
}
|
|
541
541
|
|
|
542
|
-
export type
|
|
542
|
+
export type AgentConversationUpdateWithWhereUniqueWithoutDesignInput = {
|
|
543
543
|
where: Prisma.AgentConversationWhereUniqueInput
|
|
544
|
-
data: Prisma.XOR<Prisma.
|
|
544
|
+
data: Prisma.XOR<Prisma.AgentConversationUpdateWithoutDesignInput, Prisma.AgentConversationUncheckedUpdateWithoutDesignInput>
|
|
545
545
|
}
|
|
546
546
|
|
|
547
|
-
export type
|
|
547
|
+
export type AgentConversationUpdateManyWithWhereWithoutDesignInput = {
|
|
548
548
|
where: Prisma.AgentConversationScalarWhereInput
|
|
549
|
-
data: Prisma.XOR<Prisma.AgentConversationUpdateManyMutationInput, Prisma.
|
|
549
|
+
data: Prisma.XOR<Prisma.AgentConversationUpdateManyMutationInput, Prisma.AgentConversationUncheckedUpdateManyWithoutDesignInput>
|
|
550
550
|
}
|
|
551
551
|
|
|
552
552
|
export type AgentConversationCreateWithoutMessagesInput = {
|
|
@@ -555,13 +555,13 @@ export type AgentConversationCreateWithoutMessagesInput = {
|
|
|
555
555
|
createdAt?: Date | string
|
|
556
556
|
updatedAt?: Date | string
|
|
557
557
|
user: Prisma.UserCreateNestedOneWithoutAgentConversationsInput
|
|
558
|
-
|
|
558
|
+
design: Prisma.DesignCreateNestedOneWithoutAgentConversationsInput
|
|
559
559
|
}
|
|
560
560
|
|
|
561
561
|
export type AgentConversationUncheckedCreateWithoutMessagesInput = {
|
|
562
562
|
id?: string
|
|
563
563
|
userId: string
|
|
564
|
-
|
|
564
|
+
designId: string
|
|
565
565
|
title?: string
|
|
566
566
|
createdAt?: Date | string
|
|
567
567
|
updatedAt?: Date | string
|
|
@@ -589,13 +589,13 @@ export type AgentConversationUpdateWithoutMessagesInput = {
|
|
|
589
589
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
590
590
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
591
591
|
user?: Prisma.UserUpdateOneRequiredWithoutAgentConversationsNestedInput
|
|
592
|
-
|
|
592
|
+
design?: Prisma.DesignUpdateOneRequiredWithoutAgentConversationsNestedInput
|
|
593
593
|
}
|
|
594
594
|
|
|
595
595
|
export type AgentConversationUncheckedUpdateWithoutMessagesInput = {
|
|
596
596
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
597
597
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
598
|
-
|
|
598
|
+
designId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
599
599
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
600
600
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
601
601
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -603,7 +603,7 @@ export type AgentConversationUncheckedUpdateWithoutMessagesInput = {
|
|
|
603
603
|
|
|
604
604
|
export type AgentConversationCreateManyUserInput = {
|
|
605
605
|
id?: string
|
|
606
|
-
|
|
606
|
+
designId: string
|
|
607
607
|
title?: string
|
|
608
608
|
createdAt?: Date | string
|
|
609
609
|
updatedAt?: Date | string
|
|
@@ -614,13 +614,13 @@ export type AgentConversationUpdateWithoutUserInput = {
|
|
|
614
614
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
615
615
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
616
616
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
617
|
-
|
|
617
|
+
design?: Prisma.DesignUpdateOneRequiredWithoutAgentConversationsNestedInput
|
|
618
618
|
messages?: Prisma.AgentMessageUpdateManyWithoutConversationNestedInput
|
|
619
619
|
}
|
|
620
620
|
|
|
621
621
|
export type AgentConversationUncheckedUpdateWithoutUserInput = {
|
|
622
622
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
623
|
-
|
|
623
|
+
designId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
624
624
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
625
625
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
626
626
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -629,13 +629,13 @@ export type AgentConversationUncheckedUpdateWithoutUserInput = {
|
|
|
629
629
|
|
|
630
630
|
export type AgentConversationUncheckedUpdateManyWithoutUserInput = {
|
|
631
631
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
632
|
-
|
|
632
|
+
designId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
633
633
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
634
634
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
635
635
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
636
636
|
}
|
|
637
637
|
|
|
638
|
-
export type
|
|
638
|
+
export type AgentConversationCreateManyDesignInput = {
|
|
639
639
|
id?: string
|
|
640
640
|
userId: string
|
|
641
641
|
title?: string
|
|
@@ -643,7 +643,7 @@ export type AgentConversationCreateManyPrdInput = {
|
|
|
643
643
|
updatedAt?: Date | string
|
|
644
644
|
}
|
|
645
645
|
|
|
646
|
-
export type
|
|
646
|
+
export type AgentConversationUpdateWithoutDesignInput = {
|
|
647
647
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
648
648
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
649
649
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
@@ -652,7 +652,7 @@ export type AgentConversationUpdateWithoutPrdInput = {
|
|
|
652
652
|
messages?: Prisma.AgentMessageUpdateManyWithoutConversationNestedInput
|
|
653
653
|
}
|
|
654
654
|
|
|
655
|
-
export type
|
|
655
|
+
export type AgentConversationUncheckedUpdateWithoutDesignInput = {
|
|
656
656
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
657
657
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
658
658
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
@@ -661,7 +661,7 @@ export type AgentConversationUncheckedUpdateWithoutPrdInput = {
|
|
|
661
661
|
messages?: Prisma.AgentMessageUncheckedUpdateManyWithoutConversationNestedInput
|
|
662
662
|
}
|
|
663
663
|
|
|
664
|
-
export type
|
|
664
|
+
export type AgentConversationUncheckedUpdateManyWithoutDesignInput = {
|
|
665
665
|
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
666
666
|
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
667
667
|
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
@@ -703,12 +703,12 @@ export type AgentConversationCountOutputTypeCountMessagesArgs<ExtArgs extends ru
|
|
|
703
703
|
export type AgentConversationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
704
704
|
id?: boolean
|
|
705
705
|
userId?: boolean
|
|
706
|
-
|
|
706
|
+
designId?: boolean
|
|
707
707
|
title?: boolean
|
|
708
708
|
createdAt?: boolean
|
|
709
709
|
updatedAt?: boolean
|
|
710
710
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
711
|
-
|
|
711
|
+
design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
|
|
712
712
|
messages?: boolean | Prisma.AgentConversation$messagesArgs<ExtArgs>
|
|
713
713
|
_count?: boolean | Prisma.AgentConversationCountOutputTypeDefaultArgs<ExtArgs>
|
|
714
714
|
}, ExtArgs["result"]["agentConversation"]>
|
|
@@ -716,61 +716,61 @@ export type AgentConversationSelect<ExtArgs extends runtime.Types.Extensions.Int
|
|
|
716
716
|
export type AgentConversationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
717
717
|
id?: boolean
|
|
718
718
|
userId?: boolean
|
|
719
|
-
|
|
719
|
+
designId?: boolean
|
|
720
720
|
title?: boolean
|
|
721
721
|
createdAt?: boolean
|
|
722
722
|
updatedAt?: boolean
|
|
723
723
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
724
|
-
|
|
724
|
+
design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
|
|
725
725
|
}, ExtArgs["result"]["agentConversation"]>
|
|
726
726
|
|
|
727
727
|
export type AgentConversationSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
728
728
|
id?: boolean
|
|
729
729
|
userId?: boolean
|
|
730
|
-
|
|
730
|
+
designId?: boolean
|
|
731
731
|
title?: boolean
|
|
732
732
|
createdAt?: boolean
|
|
733
733
|
updatedAt?: boolean
|
|
734
734
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
735
|
-
|
|
735
|
+
design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
|
|
736
736
|
}, ExtArgs["result"]["agentConversation"]>
|
|
737
737
|
|
|
738
738
|
export type AgentConversationSelectScalar = {
|
|
739
739
|
id?: boolean
|
|
740
740
|
userId?: boolean
|
|
741
|
-
|
|
741
|
+
designId?: boolean
|
|
742
742
|
title?: boolean
|
|
743
743
|
createdAt?: boolean
|
|
744
744
|
updatedAt?: boolean
|
|
745
745
|
}
|
|
746
746
|
|
|
747
|
-
export type AgentConversationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "userId" | "
|
|
747
|
+
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"]>
|
|
748
748
|
export type AgentConversationInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
749
749
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
750
|
-
|
|
750
|
+
design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
|
|
751
751
|
messages?: boolean | Prisma.AgentConversation$messagesArgs<ExtArgs>
|
|
752
752
|
_count?: boolean | Prisma.AgentConversationCountOutputTypeDefaultArgs<ExtArgs>
|
|
753
753
|
}
|
|
754
754
|
export type AgentConversationIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
755
755
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
756
|
-
|
|
756
|
+
design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
|
|
757
757
|
}
|
|
758
758
|
export type AgentConversationIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
759
759
|
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
760
|
-
|
|
760
|
+
design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
|
|
761
761
|
}
|
|
762
762
|
|
|
763
763
|
export type $AgentConversationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
764
764
|
name: "AgentConversation"
|
|
765
765
|
objects: {
|
|
766
766
|
user: Prisma.$UserPayload<ExtArgs>
|
|
767
|
-
|
|
767
|
+
design: Prisma.$DesignPayload<ExtArgs>
|
|
768
768
|
messages: Prisma.$AgentMessagePayload<ExtArgs>[]
|
|
769
769
|
}
|
|
770
770
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
771
771
|
id: string
|
|
772
772
|
userId: string
|
|
773
|
-
|
|
773
|
+
designId: string
|
|
774
774
|
title: string
|
|
775
775
|
createdAt: Date
|
|
776
776
|
updatedAt: Date
|
|
@@ -1169,7 +1169,7 @@ readonly fields: AgentConversationFieldRefs;
|
|
|
1169
1169
|
export interface Prisma__AgentConversationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1170
1170
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1171
1171
|
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>
|
|
1172
|
-
|
|
1172
|
+
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>
|
|
1173
1173
|
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>
|
|
1174
1174
|
/**
|
|
1175
1175
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
@@ -1202,7 +1202,7 @@ export interface Prisma__AgentConversationClient<T, Null = never, ExtArgs extend
|
|
|
1202
1202
|
export interface AgentConversationFieldRefs {
|
|
1203
1203
|
readonly id: Prisma.FieldRef<"AgentConversation", 'String'>
|
|
1204
1204
|
readonly userId: Prisma.FieldRef<"AgentConversation", 'String'>
|
|
1205
|
-
readonly
|
|
1205
|
+
readonly designId: Prisma.FieldRef<"AgentConversation", 'String'>
|
|
1206
1206
|
readonly title: Prisma.FieldRef<"AgentConversation", 'String'>
|
|
1207
1207
|
readonly createdAt: Prisma.FieldRef<"AgentConversation", 'DateTime'>
|
|
1208
1208
|
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
|
|