@allbluecn/database 0.8.0 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +661 -0
- package/dist/get-prisma.d.ts +1 -0
- package/dist/get-prisma.js +7 -0
- package/generated/browser.ts +60 -0
- package/generated/client.ts +60 -0
- package/generated/commonInputTypes.ts +106 -46
- package/generated/internal/class.ts +124 -4
- package/generated/internal/prismaNamespace.ts +1121 -25
- package/generated/internal/prismaNamespaceBrowser.ts +202 -6
- package/generated/models/AiProviderConfig.ts +100 -1
- package/generated/models/AiStreamChunk.ts +1159 -0
- package/generated/models/AiUsageLog.ts +91 -31
- package/generated/models/Blob.ts +1428 -0
- package/generated/models/BusinessAgentBinding.ts +1553 -0
- package/generated/models/ChatInterrupt.ts +42 -1
- package/generated/models/ChatMessage.ts +58 -29
- package/generated/models/ChatPersistenceMeta.ts +1121 -0
- package/generated/models/ChatRun.ts +166 -1
- package/generated/models/ChatThread.ts +294 -1
- package/generated/models/CodeSnippet.ts +1555 -0
- package/generated/models/DesktopSetting.ts +1059 -0
- package/generated/models/GenerationRun.ts +193 -1
- package/generated/models/HarnessPlugin.ts +1677 -0
- package/generated/models/HarnessWorkspace.ts +1650 -0
- package/generated/models/InvitationCode.ts +0 -8
- package/generated/models/Plan.ts +115 -1
- package/generated/models/SandboxInstance.ts +1277 -0
- package/generated/models/SystemPromptTemplate.ts +1583 -0
- package/generated/models/SystemPromptVersion.ts +1459 -0
- package/generated/models/User.ts +4524 -866
- package/generated/models/UserAgent.ts +250 -1
- package/generated/models/Workspace.ts +3 -1
- package/generated/models/WorkspaceFile.ts +1535 -0
- package/generated/models.ts +12 -0
- package/generated-sqlite/browser.ts +60 -0
- package/generated-sqlite/client.ts +60 -0
- package/generated-sqlite/commonInputTypes.ts +192 -78
- package/generated-sqlite/internal/class.ts +124 -4
- package/generated-sqlite/internal/prismaNamespace.ts +1135 -25
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +202 -6
- package/generated-sqlite/models/AiProviderConfig.ts +100 -1
- package/generated-sqlite/models/AiStreamChunk.ts +1157 -0
- package/generated-sqlite/models/AiUsageLog.ts +91 -31
- package/generated-sqlite/models/Blob.ts +1425 -0
- package/generated-sqlite/models/BusinessAgentBinding.ts +1549 -0
- package/generated-sqlite/models/ChatInterrupt.ts +42 -1
- package/generated-sqlite/models/ChatMessage.ts +58 -29
- package/generated-sqlite/models/ChatPersistenceMeta.ts +1119 -0
- package/generated-sqlite/models/ChatRun.ts +174 -1
- package/generated-sqlite/models/ChatThread.ts +293 -1
- package/generated-sqlite/models/CodeSnippet.ts +1552 -0
- package/generated-sqlite/models/DesktopSetting.ts +1057 -0
- package/generated-sqlite/models/GenerationRun.ts +193 -1
- package/generated-sqlite/models/HarnessPlugin.ts +1674 -0
- package/generated-sqlite/models/HarnessWorkspace.ts +1647 -0
- package/generated-sqlite/models/InvitationCode.ts +0 -8
- package/generated-sqlite/models/PageVersion.ts +0 -8
- package/generated-sqlite/models/Plan.ts +115 -1
- package/generated-sqlite/models/SandboxInstance.ts +1283 -0
- package/generated-sqlite/models/SystemPromptTemplate.ts +1581 -0
- package/generated-sqlite/models/SystemPromptVersion.ts +1456 -0
- package/generated-sqlite/models/User.ts +3778 -708
- package/generated-sqlite/models/UserAgent.ts +250 -1
- package/generated-sqlite/models/Workspace.ts +3 -1
- package/generated-sqlite/models/WorkspaceFile.ts +1532 -0
- package/generated-sqlite/models.ts +12 -0
- package/get-prisma.ts +6 -0
- package/index.ts +11 -6
- package/migrations/20260914002427_ai_p0_durable_runs_meta/migration.sql +15 -0
- package/migrations/20260914041010_ai_p0_interrupt_requested_at/migration.sql +15 -0
- package/migrations/20260914041909_ai_p0_message_tool_call_id/migration.sql +2 -0
- package/migrations/20260914042448_ai_p0_message_content_json/migration.sql +27 -0
- package/migrations/20260914150229_harness_plugin/migration.sql +27 -0
- package/migrations/20260914174404_prompt_platform_agents/migration.sql +67 -0
- package/migrations/20260915090000_add_memory_facts/migration.sql +22 -0
- package/migrations/20260915124417_ai_p3_sandbox_durable/migration.sql +48 -0
- package/migrations/20260915150034_sandbox_instance_updatedat_bigint/migration.sql +2 -0
- package/migrations/20260915154000_add_code_snippets/migration.sql +31 -0
- package/migrations/20260916090000_ai_usage_log_nullable_workspace/migration.sql +10 -0
- package/migrations/20260916192752_add_ai_source_mode/migration.sql +13 -0
- package/migrations/20260917044512_harness_workspace/migration.sql +47 -0
- package/migrations/20260917100000_add_media_plan_limits/migration.sql +3 -0
- package/migrations/20260917163433_add_generation_run_linked_target/migration.sql +2 -0
- package/migrations/20260920050606_add_blob_table/migration.sql +17 -0
- package/migrations/20260920093412_add_byteplus_voice_fields/migration.sql +3 -0
- package/package.json +8 -3
- package/schema.prisma +321 -88
- package/schema.sqlite.prisma +779 -546
|
@@ -32,6 +32,7 @@ export type ChatInterruptMinAggregateOutputType = {
|
|
|
32
32
|
kind: string | null
|
|
33
33
|
toolName: string | null
|
|
34
34
|
state: string | null
|
|
35
|
+
requestedAt: Date | null
|
|
35
36
|
createdAt: Date | null
|
|
36
37
|
resolvedAt: Date | null
|
|
37
38
|
}
|
|
@@ -44,6 +45,7 @@ export type ChatInterruptMaxAggregateOutputType = {
|
|
|
44
45
|
kind: string | null
|
|
45
46
|
toolName: string | null
|
|
46
47
|
state: string | null
|
|
48
|
+
requestedAt: Date | null
|
|
47
49
|
createdAt: Date | null
|
|
48
50
|
resolvedAt: Date | null
|
|
49
51
|
}
|
|
@@ -58,6 +60,7 @@ export type ChatInterruptCountAggregateOutputType = {
|
|
|
58
60
|
state: number
|
|
59
61
|
payload: number
|
|
60
62
|
resolution: number
|
|
63
|
+
requestedAt: number
|
|
61
64
|
createdAt: number
|
|
62
65
|
resolvedAt: number
|
|
63
66
|
_all: number
|
|
@@ -72,6 +75,7 @@ export type ChatInterruptMinAggregateInputType = {
|
|
|
72
75
|
kind?: true
|
|
73
76
|
toolName?: true
|
|
74
77
|
state?: true
|
|
78
|
+
requestedAt?: true
|
|
75
79
|
createdAt?: true
|
|
76
80
|
resolvedAt?: true
|
|
77
81
|
}
|
|
@@ -84,6 +88,7 @@ export type ChatInterruptMaxAggregateInputType = {
|
|
|
84
88
|
kind?: true
|
|
85
89
|
toolName?: true
|
|
86
90
|
state?: true
|
|
91
|
+
requestedAt?: true
|
|
87
92
|
createdAt?: true
|
|
88
93
|
resolvedAt?: true
|
|
89
94
|
}
|
|
@@ -98,6 +103,7 @@ export type ChatInterruptCountAggregateInputType = {
|
|
|
98
103
|
state?: true
|
|
99
104
|
payload?: true
|
|
100
105
|
resolution?: true
|
|
106
|
+
requestedAt?: true
|
|
101
107
|
createdAt?: true
|
|
102
108
|
resolvedAt?: true
|
|
103
109
|
_all?: true
|
|
@@ -185,6 +191,7 @@ export type ChatInterruptGroupByOutputType = {
|
|
|
185
191
|
state: string
|
|
186
192
|
payload: runtime.JsonValue | null
|
|
187
193
|
resolution: runtime.JsonValue | null
|
|
194
|
+
requestedAt: Date
|
|
188
195
|
createdAt: Date
|
|
189
196
|
resolvedAt: Date | null
|
|
190
197
|
_count: ChatInterruptCountAggregateOutputType | null
|
|
@@ -220,6 +227,7 @@ export type ChatInterruptWhereInput = {
|
|
|
220
227
|
state?: Prisma.StringFilter<"ChatInterrupt"> | string
|
|
221
228
|
payload?: Prisma.JsonNullableFilter<"ChatInterrupt">
|
|
222
229
|
resolution?: Prisma.JsonNullableFilter<"ChatInterrupt">
|
|
230
|
+
requestedAt?: Prisma.DateTimeFilter<"ChatInterrupt"> | Date | string
|
|
223
231
|
createdAt?: Prisma.DateTimeFilter<"ChatInterrupt"> | Date | string
|
|
224
232
|
resolvedAt?: Prisma.DateTimeNullableFilter<"ChatInterrupt"> | Date | string | null
|
|
225
233
|
run?: Prisma.XOR<Prisma.ChatRunScalarRelationFilter, Prisma.ChatRunWhereInput>
|
|
@@ -236,6 +244,7 @@ export type ChatInterruptOrderByWithRelationInput = {
|
|
|
236
244
|
state?: Prisma.SortOrder
|
|
237
245
|
payload?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
238
246
|
resolution?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
247
|
+
requestedAt?: Prisma.SortOrder
|
|
239
248
|
createdAt?: Prisma.SortOrder
|
|
240
249
|
resolvedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
241
250
|
run?: Prisma.ChatRunOrderByWithRelationInput
|
|
@@ -255,6 +264,7 @@ export type ChatInterruptWhereUniqueInput = Prisma.AtLeast<{
|
|
|
255
264
|
state?: Prisma.StringFilter<"ChatInterrupt"> | string
|
|
256
265
|
payload?: Prisma.JsonNullableFilter<"ChatInterrupt">
|
|
257
266
|
resolution?: Prisma.JsonNullableFilter<"ChatInterrupt">
|
|
267
|
+
requestedAt?: Prisma.DateTimeFilter<"ChatInterrupt"> | Date | string
|
|
258
268
|
createdAt?: Prisma.DateTimeFilter<"ChatInterrupt"> | Date | string
|
|
259
269
|
resolvedAt?: Prisma.DateTimeNullableFilter<"ChatInterrupt"> | Date | string | null
|
|
260
270
|
run?: Prisma.XOR<Prisma.ChatRunScalarRelationFilter, Prisma.ChatRunWhereInput>
|
|
@@ -271,6 +281,7 @@ export type ChatInterruptOrderByWithAggregationInput = {
|
|
|
271
281
|
state?: Prisma.SortOrder
|
|
272
282
|
payload?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
273
283
|
resolution?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
284
|
+
requestedAt?: Prisma.SortOrder
|
|
274
285
|
createdAt?: Prisma.SortOrder
|
|
275
286
|
resolvedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
276
287
|
_count?: Prisma.ChatInterruptCountOrderByAggregateInput
|
|
@@ -291,6 +302,7 @@ export type ChatInterruptScalarWhereWithAggregatesInput = {
|
|
|
291
302
|
state?: Prisma.StringWithAggregatesFilter<"ChatInterrupt"> | string
|
|
292
303
|
payload?: Prisma.JsonNullableWithAggregatesFilter<"ChatInterrupt">
|
|
293
304
|
resolution?: Prisma.JsonNullableWithAggregatesFilter<"ChatInterrupt">
|
|
305
|
+
requestedAt?: Prisma.DateTimeWithAggregatesFilter<"ChatInterrupt"> | Date | string
|
|
294
306
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"ChatInterrupt"> | Date | string
|
|
295
307
|
resolvedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ChatInterrupt"> | Date | string | null
|
|
296
308
|
}
|
|
@@ -303,6 +315,7 @@ export type ChatInterruptCreateInput = {
|
|
|
303
315
|
state: string
|
|
304
316
|
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
305
317
|
resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
318
|
+
requestedAt?: Date | string
|
|
306
319
|
createdAt?: Date | string
|
|
307
320
|
resolvedAt?: Date | string | null
|
|
308
321
|
run: Prisma.ChatRunCreateNestedOneWithoutInterruptsInput
|
|
@@ -319,6 +332,7 @@ export type ChatInterruptUncheckedCreateInput = {
|
|
|
319
332
|
state: string
|
|
320
333
|
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
321
334
|
resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
335
|
+
requestedAt?: Date | string
|
|
322
336
|
createdAt?: Date | string
|
|
323
337
|
resolvedAt?: Date | string | null
|
|
324
338
|
}
|
|
@@ -331,6 +345,7 @@ export type ChatInterruptUpdateInput = {
|
|
|
331
345
|
state?: Prisma.StringFieldUpdateOperationsInput | string
|
|
332
346
|
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
333
347
|
resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
348
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
334
349
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
335
350
|
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
336
351
|
run?: Prisma.ChatRunUpdateOneRequiredWithoutInterruptsNestedInput
|
|
@@ -347,6 +362,7 @@ export type ChatInterruptUncheckedUpdateInput = {
|
|
|
347
362
|
state?: Prisma.StringFieldUpdateOperationsInput | string
|
|
348
363
|
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
349
364
|
resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
365
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
350
366
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
351
367
|
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
352
368
|
}
|
|
@@ -361,6 +377,7 @@ export type ChatInterruptCreateManyInput = {
|
|
|
361
377
|
state: string
|
|
362
378
|
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
363
379
|
resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
380
|
+
requestedAt?: Date | string
|
|
364
381
|
createdAt?: Date | string
|
|
365
382
|
resolvedAt?: Date | string | null
|
|
366
383
|
}
|
|
@@ -373,6 +390,7 @@ export type ChatInterruptUpdateManyMutationInput = {
|
|
|
373
390
|
state?: Prisma.StringFieldUpdateOperationsInput | string
|
|
374
391
|
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
375
392
|
resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
393
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
376
394
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
377
395
|
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
378
396
|
}
|
|
@@ -387,6 +405,7 @@ export type ChatInterruptUncheckedUpdateManyInput = {
|
|
|
387
405
|
state?: Prisma.StringFieldUpdateOperationsInput | string
|
|
388
406
|
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
389
407
|
resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
408
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
390
409
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
391
410
|
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
392
411
|
}
|
|
@@ -411,6 +430,7 @@ export type ChatInterruptCountOrderByAggregateInput = {
|
|
|
411
430
|
state?: Prisma.SortOrder
|
|
412
431
|
payload?: Prisma.SortOrder
|
|
413
432
|
resolution?: Prisma.SortOrder
|
|
433
|
+
requestedAt?: Prisma.SortOrder
|
|
414
434
|
createdAt?: Prisma.SortOrder
|
|
415
435
|
resolvedAt?: Prisma.SortOrder
|
|
416
436
|
}
|
|
@@ -423,6 +443,7 @@ export type ChatInterruptMaxOrderByAggregateInput = {
|
|
|
423
443
|
kind?: Prisma.SortOrder
|
|
424
444
|
toolName?: Prisma.SortOrder
|
|
425
445
|
state?: Prisma.SortOrder
|
|
446
|
+
requestedAt?: Prisma.SortOrder
|
|
426
447
|
createdAt?: Prisma.SortOrder
|
|
427
448
|
resolvedAt?: Prisma.SortOrder
|
|
428
449
|
}
|
|
@@ -435,6 +456,7 @@ export type ChatInterruptMinOrderByAggregateInput = {
|
|
|
435
456
|
kind?: Prisma.SortOrder
|
|
436
457
|
toolName?: Prisma.SortOrder
|
|
437
458
|
state?: Prisma.SortOrder
|
|
459
|
+
requestedAt?: Prisma.SortOrder
|
|
438
460
|
createdAt?: Prisma.SortOrder
|
|
439
461
|
resolvedAt?: Prisma.SortOrder
|
|
440
462
|
}
|
|
@@ -531,6 +553,7 @@ export type ChatInterruptCreateWithoutThreadInput = {
|
|
|
531
553
|
state: string
|
|
532
554
|
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
533
555
|
resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
556
|
+
requestedAt?: Date | string
|
|
534
557
|
createdAt?: Date | string
|
|
535
558
|
resolvedAt?: Date | string | null
|
|
536
559
|
run: Prisma.ChatRunCreateNestedOneWithoutInterruptsInput
|
|
@@ -545,6 +568,7 @@ export type ChatInterruptUncheckedCreateWithoutThreadInput = {
|
|
|
545
568
|
state: string
|
|
546
569
|
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
547
570
|
resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
571
|
+
requestedAt?: Date | string
|
|
548
572
|
createdAt?: Date | string
|
|
549
573
|
resolvedAt?: Date | string | null
|
|
550
574
|
}
|
|
@@ -588,6 +612,7 @@ export type ChatInterruptScalarWhereInput = {
|
|
|
588
612
|
state?: Prisma.StringFilter<"ChatInterrupt"> | string
|
|
589
613
|
payload?: Prisma.JsonNullableFilter<"ChatInterrupt">
|
|
590
614
|
resolution?: Prisma.JsonNullableFilter<"ChatInterrupt">
|
|
615
|
+
requestedAt?: Prisma.DateTimeFilter<"ChatInterrupt"> | Date | string
|
|
591
616
|
createdAt?: Prisma.DateTimeFilter<"ChatInterrupt"> | Date | string
|
|
592
617
|
resolvedAt?: Prisma.DateTimeNullableFilter<"ChatInterrupt"> | Date | string | null
|
|
593
618
|
}
|
|
@@ -600,6 +625,7 @@ export type ChatInterruptCreateWithoutRunInput = {
|
|
|
600
625
|
state: string
|
|
601
626
|
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
602
627
|
resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
628
|
+
requestedAt?: Date | string
|
|
603
629
|
createdAt?: Date | string
|
|
604
630
|
resolvedAt?: Date | string | null
|
|
605
631
|
thread: Prisma.ChatThreadCreateNestedOneWithoutInterruptsInput
|
|
@@ -614,6 +640,7 @@ export type ChatInterruptUncheckedCreateWithoutRunInput = {
|
|
|
614
640
|
state: string
|
|
615
641
|
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
616
642
|
resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
643
|
+
requestedAt?: Date | string
|
|
617
644
|
createdAt?: Date | string
|
|
618
645
|
resolvedAt?: Date | string | null
|
|
619
646
|
}
|
|
@@ -653,6 +680,7 @@ export type ChatInterruptCreateManyThreadInput = {
|
|
|
653
680
|
state: string
|
|
654
681
|
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
655
682
|
resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
683
|
+
requestedAt?: Date | string
|
|
656
684
|
createdAt?: Date | string
|
|
657
685
|
resolvedAt?: Date | string | null
|
|
658
686
|
}
|
|
@@ -665,6 +693,7 @@ export type ChatInterruptUpdateWithoutThreadInput = {
|
|
|
665
693
|
state?: Prisma.StringFieldUpdateOperationsInput | string
|
|
666
694
|
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
667
695
|
resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
696
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
668
697
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
669
698
|
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
670
699
|
run?: Prisma.ChatRunUpdateOneRequiredWithoutInterruptsNestedInput
|
|
@@ -679,6 +708,7 @@ export type ChatInterruptUncheckedUpdateWithoutThreadInput = {
|
|
|
679
708
|
state?: Prisma.StringFieldUpdateOperationsInput | string
|
|
680
709
|
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
681
710
|
resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
711
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
682
712
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
683
713
|
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
684
714
|
}
|
|
@@ -692,6 +722,7 @@ export type ChatInterruptUncheckedUpdateManyWithoutThreadInput = {
|
|
|
692
722
|
state?: Prisma.StringFieldUpdateOperationsInput | string
|
|
693
723
|
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
694
724
|
resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
725
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
695
726
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
696
727
|
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
697
728
|
}
|
|
@@ -705,6 +736,7 @@ export type ChatInterruptCreateManyRunInput = {
|
|
|
705
736
|
state: string
|
|
706
737
|
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
707
738
|
resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
739
|
+
requestedAt?: Date | string
|
|
708
740
|
createdAt?: Date | string
|
|
709
741
|
resolvedAt?: Date | string | null
|
|
710
742
|
}
|
|
@@ -717,6 +749,7 @@ export type ChatInterruptUpdateWithoutRunInput = {
|
|
|
717
749
|
state?: Prisma.StringFieldUpdateOperationsInput | string
|
|
718
750
|
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
719
751
|
resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
752
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
720
753
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
721
754
|
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
722
755
|
thread?: Prisma.ChatThreadUpdateOneRequiredWithoutInterruptsNestedInput
|
|
@@ -731,6 +764,7 @@ export type ChatInterruptUncheckedUpdateWithoutRunInput = {
|
|
|
731
764
|
state?: Prisma.StringFieldUpdateOperationsInput | string
|
|
732
765
|
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
733
766
|
resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
767
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
734
768
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
735
769
|
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
736
770
|
}
|
|
@@ -744,6 +778,7 @@ export type ChatInterruptUncheckedUpdateManyWithoutRunInput = {
|
|
|
744
778
|
state?: Prisma.StringFieldUpdateOperationsInput | string
|
|
745
779
|
payload?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
746
780
|
resolution?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
|
|
781
|
+
requestedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
747
782
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
748
783
|
resolvedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
749
784
|
}
|
|
@@ -760,6 +795,7 @@ export type ChatInterruptSelect<ExtArgs extends runtime.Types.Extensions.Interna
|
|
|
760
795
|
state?: boolean
|
|
761
796
|
payload?: boolean
|
|
762
797
|
resolution?: boolean
|
|
798
|
+
requestedAt?: boolean
|
|
763
799
|
createdAt?: boolean
|
|
764
800
|
resolvedAt?: boolean
|
|
765
801
|
run?: boolean | Prisma.ChatRunDefaultArgs<ExtArgs>
|
|
@@ -776,6 +812,7 @@ export type ChatInterruptSelectCreateManyAndReturn<ExtArgs extends runtime.Types
|
|
|
776
812
|
state?: boolean
|
|
777
813
|
payload?: boolean
|
|
778
814
|
resolution?: boolean
|
|
815
|
+
requestedAt?: boolean
|
|
779
816
|
createdAt?: boolean
|
|
780
817
|
resolvedAt?: boolean
|
|
781
818
|
run?: boolean | Prisma.ChatRunDefaultArgs<ExtArgs>
|
|
@@ -792,6 +829,7 @@ export type ChatInterruptSelectUpdateManyAndReturn<ExtArgs extends runtime.Types
|
|
|
792
829
|
state?: boolean
|
|
793
830
|
payload?: boolean
|
|
794
831
|
resolution?: boolean
|
|
832
|
+
requestedAt?: boolean
|
|
795
833
|
createdAt?: boolean
|
|
796
834
|
resolvedAt?: boolean
|
|
797
835
|
run?: boolean | Prisma.ChatRunDefaultArgs<ExtArgs>
|
|
@@ -808,11 +846,12 @@ export type ChatInterruptSelectScalar = {
|
|
|
808
846
|
state?: boolean
|
|
809
847
|
payload?: boolean
|
|
810
848
|
resolution?: boolean
|
|
849
|
+
requestedAt?: boolean
|
|
811
850
|
createdAt?: boolean
|
|
812
851
|
resolvedAt?: boolean
|
|
813
852
|
}
|
|
814
853
|
|
|
815
|
-
export type ChatInterruptOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "runId" | "threadId" | "userId" | "kind" | "toolName" | "state" | "payload" | "resolution" | "createdAt" | "resolvedAt", ExtArgs["result"]["chatInterrupt"]>
|
|
854
|
+
export type ChatInterruptOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "runId" | "threadId" | "userId" | "kind" | "toolName" | "state" | "payload" | "resolution" | "requestedAt" | "createdAt" | "resolvedAt", ExtArgs["result"]["chatInterrupt"]>
|
|
816
855
|
export type ChatInterruptInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
817
856
|
run?: boolean | Prisma.ChatRunDefaultArgs<ExtArgs>
|
|
818
857
|
thread?: boolean | Prisma.ChatThreadDefaultArgs<ExtArgs>
|
|
@@ -842,6 +881,7 @@ export type $ChatInterruptPayload<ExtArgs extends runtime.Types.Extensions.Inter
|
|
|
842
881
|
state: string
|
|
843
882
|
payload: runtime.JsonValue | null
|
|
844
883
|
resolution: runtime.JsonValue | null
|
|
884
|
+
requestedAt: Date
|
|
845
885
|
createdAt: Date
|
|
846
886
|
resolvedAt: Date | null
|
|
847
887
|
}, ExtArgs["result"]["chatInterrupt"]>
|
|
@@ -1278,6 +1318,7 @@ export interface ChatInterruptFieldRefs {
|
|
|
1278
1318
|
readonly state: Prisma.FieldRef<"ChatInterrupt", 'String'>
|
|
1279
1319
|
readonly payload: Prisma.FieldRef<"ChatInterrupt", 'Json'>
|
|
1280
1320
|
readonly resolution: Prisma.FieldRef<"ChatInterrupt", 'Json'>
|
|
1321
|
+
readonly requestedAt: Prisma.FieldRef<"ChatInterrupt", 'DateTime'>
|
|
1281
1322
|
readonly createdAt: Prisma.FieldRef<"ChatInterrupt", 'DateTime'>
|
|
1282
1323
|
readonly resolvedAt: Prisma.FieldRef<"ChatInterrupt", 'DateTime'>
|
|
1283
1324
|
}
|