@allbluecn/database 0.11.0 → 0.12.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.
Files changed (110) hide show
  1. package/index.ts +14 -17
  2. package/package.json +29 -21
  3. package/pglite-init.ts +75 -0
  4. package/LICENSE +0 -661
  5. package/desktop-init.ts +0 -162
  6. package/generated-sqlite/browser.ts +0 -499
  7. package/generated-sqlite/client.ts +0 -523
  8. package/generated-sqlite/commonInputTypes.ts +0 -722
  9. package/generated-sqlite/enums.ts +0 -15
  10. package/generated-sqlite/internal/class.ts +0 -1154
  11. package/generated-sqlite/internal/prismaNamespace.ts +0 -9576
  12. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +0 -1761
  13. package/generated-sqlite/models/AgentConversation.ts +0 -1647
  14. package/generated-sqlite/models/AgentMessage.ts +0 -1406
  15. package/generated-sqlite/models/AiProvider.ts +0 -1605
  16. package/generated-sqlite/models/AiProviderConfig.ts +0 -1610
  17. package/generated-sqlite/models/AiStreamChunk.ts +0 -1157
  18. package/generated-sqlite/models/AiUsageLog.ts +0 -1905
  19. package/generated-sqlite/models/AnyHubApp.ts +0 -1908
  20. package/generated-sqlite/models/AnyHubMarketApp.ts +0 -1997
  21. package/generated-sqlite/models/AnyHubPermission.ts +0 -1419
  22. package/generated-sqlite/models/AnyHubRecommendation.ts +0 -1867
  23. package/generated-sqlite/models/AnyHubRecommender.ts +0 -1467
  24. package/generated-sqlite/models/ArticleFavorite.ts +0 -1349
  25. package/generated-sqlite/models/AuditLog.ts +0 -1287
  26. package/generated-sqlite/models/Blob.ts +0 -1425
  27. package/generated-sqlite/models/Block.ts +0 -1648
  28. package/generated-sqlite/models/BlockComponent.ts +0 -1730
  29. package/generated-sqlite/models/BlockInstance.ts +0 -2039
  30. package/generated-sqlite/models/BookmarkCategory.ts +0 -1667
  31. package/generated-sqlite/models/BusinessAgentBinding.ts +0 -1549
  32. package/generated-sqlite/models/ChatInterrupt.ts +0 -1736
  33. package/generated-sqlite/models/ChatMessage.ts +0 -1464
  34. package/generated-sqlite/models/ChatPersistenceMeta.ts +0 -1119
  35. package/generated-sqlite/models/ChatRun.ts +0 -1802
  36. package/generated-sqlite/models/ChatThread.ts +0 -2417
  37. package/generated-sqlite/models/CodeSnippet.ts +0 -1552
  38. package/generated-sqlite/models/Comment.ts +0 -2201
  39. package/generated-sqlite/models/CommentIgnore.ts +0 -1426
  40. package/generated-sqlite/models/ComplianceExport.ts +0 -1343
  41. package/generated-sqlite/models/Component.ts +0 -2132
  42. package/generated-sqlite/models/ComponentInstance.ts +0 -2097
  43. package/generated-sqlite/models/CustomRole.ts +0 -1209
  44. package/generated-sqlite/models/Design.ts +0 -2497
  45. package/generated-sqlite/models/DesignPage.ts +0 -2398
  46. package/generated-sqlite/models/DesignVersion.ts +0 -2117
  47. package/generated-sqlite/models/DesktopSetting.ts +0 -1057
  48. package/generated-sqlite/models/DeveloperLog.ts +0 -1281
  49. package/generated-sqlite/models/DictionaryTerm.ts +0 -1639
  50. package/generated-sqlite/models/EmailLog.ts +0 -1343
  51. package/generated-sqlite/models/EmailPreference.ts +0 -1255
  52. package/generated-sqlite/models/EmailSubscriber.ts +0 -1231
  53. package/generated-sqlite/models/EmailVerificationToken.ts +0 -1377
  54. package/generated-sqlite/models/GenerationRun.ts +0 -1732
  55. package/generated-sqlite/models/HarnessPlugin.ts +0 -1666
  56. package/generated-sqlite/models/HarnessWorkspace.ts +0 -1647
  57. package/generated-sqlite/models/IndustryCompliance.ts +0 -1794
  58. package/generated-sqlite/models/InvitationCode.ts +0 -1471
  59. package/generated-sqlite/models/InvitationUse.ts +0 -1420
  60. package/generated-sqlite/models/Invoice.ts +0 -1707
  61. package/generated-sqlite/models/Iteration.ts +0 -1874
  62. package/generated-sqlite/models/IterationAutoSchedule.ts +0 -1483
  63. package/generated-sqlite/models/KnowledgeBase.ts +0 -2238
  64. package/generated-sqlite/models/KnowledgeDocument.ts +0 -2450
  65. package/generated-sqlite/models/KnowledgeShareRecord.ts +0 -1349
  66. package/generated-sqlite/models/LegalRegulation.ts +0 -1905
  67. package/generated-sqlite/models/LicenseActivation.ts +0 -1203
  68. package/generated-sqlite/models/LicenseKey.ts +0 -1443
  69. package/generated-sqlite/models/LoginLog.ts +0 -1447
  70. package/generated-sqlite/models/NotificationPreference.ts +0 -1313
  71. package/generated-sqlite/models/OAuthProviderConfig.ts +0 -1225
  72. package/generated-sqlite/models/PageVersion.ts +0 -1520
  73. package/generated-sqlite/models/PasswordResetToken.ts +0 -1377
  74. package/generated-sqlite/models/Plan.ts +0 -2250
  75. package/generated-sqlite/models/Project.ts +0 -2628
  76. package/generated-sqlite/models/ProjectActivity.ts +0 -1578
  77. package/generated-sqlite/models/ProjectKnowledgeBase.ts +0 -1426
  78. package/generated-sqlite/models/ProjectMember.ts +0 -1508
  79. package/generated-sqlite/models/ProviderEvent.ts +0 -1225
  80. package/generated-sqlite/models/Reference.ts +0 -1175
  81. package/generated-sqlite/models/Review.ts +0 -1903
  82. package/generated-sqlite/models/ReviewComment.ts +0 -1899
  83. package/generated-sqlite/models/RoleAssignment.ts +0 -1125
  84. package/generated-sqlite/models/SandboxInstance.ts +0 -1283
  85. package/generated-sqlite/models/Share.ts +0 -1674
  86. package/generated-sqlite/models/ShareVersion.ts +0 -1385
  87. package/generated-sqlite/models/SsoMapping.ts +0 -1181
  88. package/generated-sqlite/models/SsoProvider.ts +0 -1266
  89. package/generated-sqlite/models/Story.ts +0 -3263
  90. package/generated-sqlite/models/Subscription.ts +0 -2137
  91. package/generated-sqlite/models/SystemPromptTemplate.ts +0 -1581
  92. package/generated-sqlite/models/SystemPromptVersion.ts +0 -1456
  93. package/generated-sqlite/models/SystemSetting.ts +0 -1215
  94. package/generated-sqlite/models/TeamInvitation.ts +0 -1758
  95. package/generated-sqlite/models/TeamJoinRequest.ts +0 -1793
  96. package/generated-sqlite/models/TeamMembership.ts +0 -1433
  97. package/generated-sqlite/models/Template.ts +0 -1389
  98. package/generated-sqlite/models/TemplateBlock.ts +0 -1660
  99. package/generated-sqlite/models/ThirdPartyDependency.ts +0 -1471
  100. package/generated-sqlite/models/UsageRecord.ts +0 -1498
  101. package/generated-sqlite/models/User.ts +0 -21247
  102. package/generated-sqlite/models/UserAgent.ts +0 -2146
  103. package/generated-sqlite/models/UserSkill.ts +0 -1453
  104. package/generated-sqlite/models/WebsiteBookmark.ts +0 -2215
  105. package/generated-sqlite/models/Workspace.ts +0 -2341
  106. package/generated-sqlite/models/WorkspaceFile.ts +0 -1532
  107. package/generated-sqlite/models/WorkspaceKnowledgeBase.ts +0 -1426
  108. package/generated-sqlite/models/WorkspaceQuickDoc.ts +0 -2025
  109. package/generated-sqlite/models.ts +0 -107
  110. package/schema.sqlite.prisma +0 -2045
@@ -1,1732 +0,0 @@
1
-
2
- /* !!! This is code generated by Prisma. Do not edit directly. !!! */
3
- /* eslint-disable */
4
- // biome-ignore-all lint: generated file
5
- // @ts-nocheck
6
- /*
7
- * This file exports the `GenerationRun` model and its related types.
8
- *
9
- * 🟢 You can import this file directly.
10
- */
11
- import type * as runtime from "@prisma/client/runtime/client"
12
- import type * as $Enums from "../enums.ts"
13
- import type * as Prisma from "../internal/prismaNamespace.ts"
14
-
15
- /**
16
- * Model GenerationRun
17
- *
18
- */
19
- export type GenerationRunModel = runtime.Types.Result.DefaultSelection<Prisma.$GenerationRunPayload>
20
-
21
- export type AggregateGenerationRun = {
22
- _count: GenerationRunCountAggregateOutputType | null
23
- _min: GenerationRunMinAggregateOutputType | null
24
- _max: GenerationRunMaxAggregateOutputType | null
25
- }
26
-
27
- export type GenerationRunMinAggregateOutputType = {
28
- id: string | null
29
- threadId: string | null
30
- userId: string | null
31
- kind: string | null
32
- status: string | null
33
- artifactId: string | null
34
- activity: string | null
35
- provider: string | null
36
- model: string | null
37
- error: string | null
38
- startedAt: Date | null
39
- finishedAt: Date | null
40
- }
41
-
42
- export type GenerationRunMaxAggregateOutputType = {
43
- id: string | null
44
- threadId: string | null
45
- userId: string | null
46
- kind: string | null
47
- status: string | null
48
- artifactId: string | null
49
- activity: string | null
50
- provider: string | null
51
- model: string | null
52
- error: string | null
53
- startedAt: Date | null
54
- finishedAt: Date | null
55
- }
56
-
57
- export type GenerationRunCountAggregateOutputType = {
58
- id: number
59
- threadId: number
60
- userId: number
61
- kind: number
62
- status: number
63
- input: number
64
- result: number
65
- artifactId: number
66
- activity: number
67
- provider: number
68
- model: number
69
- artifacts: number
70
- usage: number
71
- error: number
72
- startedAt: number
73
- finishedAt: number
74
- linkedTarget: number
75
- _all: number
76
- }
77
-
78
-
79
- export type GenerationRunMinAggregateInputType = {
80
- id?: true
81
- threadId?: true
82
- userId?: true
83
- kind?: true
84
- status?: true
85
- artifactId?: true
86
- activity?: true
87
- provider?: true
88
- model?: true
89
- error?: true
90
- startedAt?: true
91
- finishedAt?: true
92
- }
93
-
94
- export type GenerationRunMaxAggregateInputType = {
95
- id?: true
96
- threadId?: true
97
- userId?: true
98
- kind?: true
99
- status?: true
100
- artifactId?: true
101
- activity?: true
102
- provider?: true
103
- model?: true
104
- error?: true
105
- startedAt?: true
106
- finishedAt?: true
107
- }
108
-
109
- export type GenerationRunCountAggregateInputType = {
110
- id?: true
111
- threadId?: true
112
- userId?: true
113
- kind?: true
114
- status?: true
115
- input?: true
116
- result?: true
117
- artifactId?: true
118
- activity?: true
119
- provider?: true
120
- model?: true
121
- artifacts?: true
122
- usage?: true
123
- error?: true
124
- startedAt?: true
125
- finishedAt?: true
126
- linkedTarget?: true
127
- _all?: true
128
- }
129
-
130
- export type GenerationRunAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
131
- /**
132
- * Filter which GenerationRun to aggregate.
133
- */
134
- where?: Prisma.GenerationRunWhereInput
135
- /**
136
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
137
- *
138
- * Determine the order of GenerationRuns to fetch.
139
- */
140
- orderBy?: Prisma.GenerationRunOrderByWithRelationInput | Prisma.GenerationRunOrderByWithRelationInput[]
141
- /**
142
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
143
- *
144
- * Sets the start position
145
- */
146
- cursor?: Prisma.GenerationRunWhereUniqueInput
147
- /**
148
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
149
- *
150
- * Take `±n` GenerationRuns from the position of the cursor.
151
- */
152
- take?: number
153
- /**
154
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
155
- *
156
- * Skip the first `n` GenerationRuns.
157
- */
158
- skip?: number
159
- /**
160
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
161
- *
162
- * Count returned GenerationRuns
163
- **/
164
- _count?: true | GenerationRunCountAggregateInputType
165
- /**
166
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
167
- *
168
- * Select which fields to find the minimum value
169
- **/
170
- _min?: GenerationRunMinAggregateInputType
171
- /**
172
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
173
- *
174
- * Select which fields to find the maximum value
175
- **/
176
- _max?: GenerationRunMaxAggregateInputType
177
- }
178
-
179
- export type GetGenerationRunAggregateType<T extends GenerationRunAggregateArgs> = {
180
- [P in keyof T & keyof AggregateGenerationRun]: P extends '_count' | 'count'
181
- ? T[P] extends true
182
- ? number
183
- : Prisma.GetScalarType<T[P], AggregateGenerationRun[P]>
184
- : Prisma.GetScalarType<T[P], AggregateGenerationRun[P]>
185
- }
186
-
187
-
188
-
189
-
190
- export type GenerationRunGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
191
- where?: Prisma.GenerationRunWhereInput
192
- orderBy?: Prisma.GenerationRunOrderByWithAggregationInput | Prisma.GenerationRunOrderByWithAggregationInput[]
193
- by: Prisma.GenerationRunScalarFieldEnum[] | Prisma.GenerationRunScalarFieldEnum
194
- having?: Prisma.GenerationRunScalarWhereWithAggregatesInput
195
- take?: number
196
- skip?: number
197
- _count?: GenerationRunCountAggregateInputType | true
198
- _min?: GenerationRunMinAggregateInputType
199
- _max?: GenerationRunMaxAggregateInputType
200
- }
201
-
202
- export type GenerationRunGroupByOutputType = {
203
- id: string
204
- threadId: string
205
- userId: string
206
- kind: string
207
- status: string
208
- input: runtime.JsonValue | null
209
- result: runtime.JsonValue | null
210
- artifactId: string | null
211
- activity: string | null
212
- provider: string | null
213
- model: string | null
214
- artifacts: runtime.JsonValue | null
215
- usage: runtime.JsonValue | null
216
- error: string | null
217
- startedAt: Date
218
- finishedAt: Date | null
219
- linkedTarget: runtime.JsonValue | null
220
- _count: GenerationRunCountAggregateOutputType | null
221
- _min: GenerationRunMinAggregateOutputType | null
222
- _max: GenerationRunMaxAggregateOutputType | null
223
- }
224
-
225
- export type GetGenerationRunGroupByPayload<T extends GenerationRunGroupByArgs> = Prisma.PrismaPromise<
226
- Array<
227
- Prisma.PickEnumerable<GenerationRunGroupByOutputType, T['by']> &
228
- {
229
- [P in ((keyof T) & (keyof GenerationRunGroupByOutputType))]: P extends '_count'
230
- ? T[P] extends boolean
231
- ? number
232
- : Prisma.GetScalarType<T[P], GenerationRunGroupByOutputType[P]>
233
- : Prisma.GetScalarType<T[P], GenerationRunGroupByOutputType[P]>
234
- }
235
- >
236
- >
237
-
238
-
239
-
240
- export type GenerationRunWhereInput = {
241
- AND?: Prisma.GenerationRunWhereInput | Prisma.GenerationRunWhereInput[]
242
- OR?: Prisma.GenerationRunWhereInput[]
243
- NOT?: Prisma.GenerationRunWhereInput | Prisma.GenerationRunWhereInput[]
244
- id?: Prisma.StringFilter<"GenerationRun"> | string
245
- threadId?: Prisma.StringFilter<"GenerationRun"> | string
246
- userId?: Prisma.StringFilter<"GenerationRun"> | string
247
- kind?: Prisma.StringFilter<"GenerationRun"> | string
248
- status?: Prisma.StringFilter<"GenerationRun"> | string
249
- input?: Prisma.JsonNullableFilter<"GenerationRun">
250
- result?: Prisma.JsonNullableFilter<"GenerationRun">
251
- artifactId?: Prisma.StringNullableFilter<"GenerationRun"> | string | null
252
- activity?: Prisma.StringNullableFilter<"GenerationRun"> | string | null
253
- provider?: Prisma.StringNullableFilter<"GenerationRun"> | string | null
254
- model?: Prisma.StringNullableFilter<"GenerationRun"> | string | null
255
- artifacts?: Prisma.JsonNullableFilter<"GenerationRun">
256
- usage?: Prisma.JsonNullableFilter<"GenerationRun">
257
- error?: Prisma.StringNullableFilter<"GenerationRun"> | string | null
258
- startedAt?: Prisma.DateTimeFilter<"GenerationRun"> | Date | string
259
- finishedAt?: Prisma.DateTimeNullableFilter<"GenerationRun"> | Date | string | null
260
- linkedTarget?: Prisma.JsonNullableFilter<"GenerationRun">
261
- thread?: Prisma.XOR<Prisma.ChatThreadScalarRelationFilter, Prisma.ChatThreadWhereInput>
262
- }
263
-
264
- export type GenerationRunOrderByWithRelationInput = {
265
- id?: Prisma.SortOrder
266
- threadId?: Prisma.SortOrder
267
- userId?: Prisma.SortOrder
268
- kind?: Prisma.SortOrder
269
- status?: Prisma.SortOrder
270
- input?: Prisma.SortOrderInput | Prisma.SortOrder
271
- result?: Prisma.SortOrderInput | Prisma.SortOrder
272
- artifactId?: Prisma.SortOrderInput | Prisma.SortOrder
273
- activity?: Prisma.SortOrderInput | Prisma.SortOrder
274
- provider?: Prisma.SortOrderInput | Prisma.SortOrder
275
- model?: Prisma.SortOrderInput | Prisma.SortOrder
276
- artifacts?: Prisma.SortOrderInput | Prisma.SortOrder
277
- usage?: Prisma.SortOrderInput | Prisma.SortOrder
278
- error?: Prisma.SortOrderInput | Prisma.SortOrder
279
- startedAt?: Prisma.SortOrder
280
- finishedAt?: Prisma.SortOrderInput | Prisma.SortOrder
281
- linkedTarget?: Prisma.SortOrderInput | Prisma.SortOrder
282
- thread?: Prisma.ChatThreadOrderByWithRelationInput
283
- }
284
-
285
- export type GenerationRunWhereUniqueInput = Prisma.AtLeast<{
286
- id?: string
287
- AND?: Prisma.GenerationRunWhereInput | Prisma.GenerationRunWhereInput[]
288
- OR?: Prisma.GenerationRunWhereInput[]
289
- NOT?: Prisma.GenerationRunWhereInput | Prisma.GenerationRunWhereInput[]
290
- threadId?: Prisma.StringFilter<"GenerationRun"> | string
291
- userId?: Prisma.StringFilter<"GenerationRun"> | string
292
- kind?: Prisma.StringFilter<"GenerationRun"> | string
293
- status?: Prisma.StringFilter<"GenerationRun"> | string
294
- input?: Prisma.JsonNullableFilter<"GenerationRun">
295
- result?: Prisma.JsonNullableFilter<"GenerationRun">
296
- artifactId?: Prisma.StringNullableFilter<"GenerationRun"> | string | null
297
- activity?: Prisma.StringNullableFilter<"GenerationRun"> | string | null
298
- provider?: Prisma.StringNullableFilter<"GenerationRun"> | string | null
299
- model?: Prisma.StringNullableFilter<"GenerationRun"> | string | null
300
- artifacts?: Prisma.JsonNullableFilter<"GenerationRun">
301
- usage?: Prisma.JsonNullableFilter<"GenerationRun">
302
- error?: Prisma.StringNullableFilter<"GenerationRun"> | string | null
303
- startedAt?: Prisma.DateTimeFilter<"GenerationRun"> | Date | string
304
- finishedAt?: Prisma.DateTimeNullableFilter<"GenerationRun"> | Date | string | null
305
- linkedTarget?: Prisma.JsonNullableFilter<"GenerationRun">
306
- thread?: Prisma.XOR<Prisma.ChatThreadScalarRelationFilter, Prisma.ChatThreadWhereInput>
307
- }, "id">
308
-
309
- export type GenerationRunOrderByWithAggregationInput = {
310
- id?: Prisma.SortOrder
311
- threadId?: Prisma.SortOrder
312
- userId?: Prisma.SortOrder
313
- kind?: Prisma.SortOrder
314
- status?: Prisma.SortOrder
315
- input?: Prisma.SortOrderInput | Prisma.SortOrder
316
- result?: Prisma.SortOrderInput | Prisma.SortOrder
317
- artifactId?: Prisma.SortOrderInput | Prisma.SortOrder
318
- activity?: Prisma.SortOrderInput | Prisma.SortOrder
319
- provider?: Prisma.SortOrderInput | Prisma.SortOrder
320
- model?: Prisma.SortOrderInput | Prisma.SortOrder
321
- artifacts?: Prisma.SortOrderInput | Prisma.SortOrder
322
- usage?: Prisma.SortOrderInput | Prisma.SortOrder
323
- error?: Prisma.SortOrderInput | Prisma.SortOrder
324
- startedAt?: Prisma.SortOrder
325
- finishedAt?: Prisma.SortOrderInput | Prisma.SortOrder
326
- linkedTarget?: Prisma.SortOrderInput | Prisma.SortOrder
327
- _count?: Prisma.GenerationRunCountOrderByAggregateInput
328
- _max?: Prisma.GenerationRunMaxOrderByAggregateInput
329
- _min?: Prisma.GenerationRunMinOrderByAggregateInput
330
- }
331
-
332
- export type GenerationRunScalarWhereWithAggregatesInput = {
333
- AND?: Prisma.GenerationRunScalarWhereWithAggregatesInput | Prisma.GenerationRunScalarWhereWithAggregatesInput[]
334
- OR?: Prisma.GenerationRunScalarWhereWithAggregatesInput[]
335
- NOT?: Prisma.GenerationRunScalarWhereWithAggregatesInput | Prisma.GenerationRunScalarWhereWithAggregatesInput[]
336
- id?: Prisma.StringWithAggregatesFilter<"GenerationRun"> | string
337
- threadId?: Prisma.StringWithAggregatesFilter<"GenerationRun"> | string
338
- userId?: Prisma.StringWithAggregatesFilter<"GenerationRun"> | string
339
- kind?: Prisma.StringWithAggregatesFilter<"GenerationRun"> | string
340
- status?: Prisma.StringWithAggregatesFilter<"GenerationRun"> | string
341
- input?: Prisma.JsonNullableWithAggregatesFilter<"GenerationRun">
342
- result?: Prisma.JsonNullableWithAggregatesFilter<"GenerationRun">
343
- artifactId?: Prisma.StringNullableWithAggregatesFilter<"GenerationRun"> | string | null
344
- activity?: Prisma.StringNullableWithAggregatesFilter<"GenerationRun"> | string | null
345
- provider?: Prisma.StringNullableWithAggregatesFilter<"GenerationRun"> | string | null
346
- model?: Prisma.StringNullableWithAggregatesFilter<"GenerationRun"> | string | null
347
- artifacts?: Prisma.JsonNullableWithAggregatesFilter<"GenerationRun">
348
- usage?: Prisma.JsonNullableWithAggregatesFilter<"GenerationRun">
349
- error?: Prisma.StringNullableWithAggregatesFilter<"GenerationRun"> | string | null
350
- startedAt?: Prisma.DateTimeWithAggregatesFilter<"GenerationRun"> | Date | string
351
- finishedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"GenerationRun"> | Date | string | null
352
- linkedTarget?: Prisma.JsonNullableWithAggregatesFilter<"GenerationRun">
353
- }
354
-
355
- export type GenerationRunCreateInput = {
356
- id?: string
357
- userId: string
358
- kind: string
359
- status: string
360
- input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
361
- result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
362
- artifactId?: string | null
363
- activity?: string | null
364
- provider?: string | null
365
- model?: string | null
366
- artifacts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
367
- usage?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
368
- error?: string | null
369
- startedAt?: Date | string
370
- finishedAt?: Date | string | null
371
- linkedTarget?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
372
- thread: Prisma.ChatThreadCreateNestedOneWithoutGenerationsInput
373
- }
374
-
375
- export type GenerationRunUncheckedCreateInput = {
376
- id?: string
377
- threadId: string
378
- userId: string
379
- kind: string
380
- status: string
381
- input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
382
- result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
383
- artifactId?: string | null
384
- activity?: string | null
385
- provider?: string | null
386
- model?: string | null
387
- artifacts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
388
- usage?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
389
- error?: string | null
390
- startedAt?: Date | string
391
- finishedAt?: Date | string | null
392
- linkedTarget?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
393
- }
394
-
395
- export type GenerationRunUpdateInput = {
396
- id?: Prisma.StringFieldUpdateOperationsInput | string
397
- userId?: Prisma.StringFieldUpdateOperationsInput | string
398
- kind?: Prisma.StringFieldUpdateOperationsInput | string
399
- status?: Prisma.StringFieldUpdateOperationsInput | string
400
- input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
401
- result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
402
- artifactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
403
- activity?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
404
- provider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
405
- model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
406
- artifacts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
407
- usage?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
408
- error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
409
- startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
410
- finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
411
- linkedTarget?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
412
- thread?: Prisma.ChatThreadUpdateOneRequiredWithoutGenerationsNestedInput
413
- }
414
-
415
- export type GenerationRunUncheckedUpdateInput = {
416
- id?: Prisma.StringFieldUpdateOperationsInput | string
417
- threadId?: Prisma.StringFieldUpdateOperationsInput | string
418
- userId?: Prisma.StringFieldUpdateOperationsInput | string
419
- kind?: Prisma.StringFieldUpdateOperationsInput | string
420
- status?: Prisma.StringFieldUpdateOperationsInput | string
421
- input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
422
- result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
423
- artifactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
424
- activity?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
425
- provider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
426
- model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
427
- artifacts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
428
- usage?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
429
- error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
430
- startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
431
- finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
432
- linkedTarget?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
433
- }
434
-
435
- export type GenerationRunCreateManyInput = {
436
- id?: string
437
- threadId: string
438
- userId: string
439
- kind: string
440
- status: string
441
- input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
442
- result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
443
- artifactId?: string | null
444
- activity?: string | null
445
- provider?: string | null
446
- model?: string | null
447
- artifacts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
448
- usage?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
449
- error?: string | null
450
- startedAt?: Date | string
451
- finishedAt?: Date | string | null
452
- linkedTarget?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
453
- }
454
-
455
- export type GenerationRunUpdateManyMutationInput = {
456
- id?: Prisma.StringFieldUpdateOperationsInput | string
457
- userId?: Prisma.StringFieldUpdateOperationsInput | string
458
- kind?: Prisma.StringFieldUpdateOperationsInput | string
459
- status?: Prisma.StringFieldUpdateOperationsInput | string
460
- input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
461
- result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
462
- artifactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
463
- activity?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
464
- provider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
465
- model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
466
- artifacts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
467
- usage?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
468
- error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
469
- startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
470
- finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
471
- linkedTarget?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
472
- }
473
-
474
- export type GenerationRunUncheckedUpdateManyInput = {
475
- id?: Prisma.StringFieldUpdateOperationsInput | string
476
- threadId?: Prisma.StringFieldUpdateOperationsInput | string
477
- userId?: Prisma.StringFieldUpdateOperationsInput | string
478
- kind?: Prisma.StringFieldUpdateOperationsInput | string
479
- status?: Prisma.StringFieldUpdateOperationsInput | string
480
- input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
481
- result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
482
- artifactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
483
- activity?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
484
- provider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
485
- model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
486
- artifacts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
487
- usage?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
488
- error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
489
- startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
490
- finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
491
- linkedTarget?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
492
- }
493
-
494
- export type GenerationRunListRelationFilter = {
495
- every?: Prisma.GenerationRunWhereInput
496
- some?: Prisma.GenerationRunWhereInput
497
- none?: Prisma.GenerationRunWhereInput
498
- }
499
-
500
- export type GenerationRunOrderByRelationAggregateInput = {
501
- _count?: Prisma.SortOrder
502
- }
503
-
504
- export type GenerationRunCountOrderByAggregateInput = {
505
- id?: Prisma.SortOrder
506
- threadId?: Prisma.SortOrder
507
- userId?: Prisma.SortOrder
508
- kind?: Prisma.SortOrder
509
- status?: Prisma.SortOrder
510
- input?: Prisma.SortOrder
511
- result?: Prisma.SortOrder
512
- artifactId?: Prisma.SortOrder
513
- activity?: Prisma.SortOrder
514
- provider?: Prisma.SortOrder
515
- model?: Prisma.SortOrder
516
- artifacts?: Prisma.SortOrder
517
- usage?: Prisma.SortOrder
518
- error?: Prisma.SortOrder
519
- startedAt?: Prisma.SortOrder
520
- finishedAt?: Prisma.SortOrder
521
- linkedTarget?: Prisma.SortOrder
522
- }
523
-
524
- export type GenerationRunMaxOrderByAggregateInput = {
525
- id?: Prisma.SortOrder
526
- threadId?: Prisma.SortOrder
527
- userId?: Prisma.SortOrder
528
- kind?: Prisma.SortOrder
529
- status?: Prisma.SortOrder
530
- artifactId?: Prisma.SortOrder
531
- activity?: Prisma.SortOrder
532
- provider?: Prisma.SortOrder
533
- model?: Prisma.SortOrder
534
- error?: Prisma.SortOrder
535
- startedAt?: Prisma.SortOrder
536
- finishedAt?: Prisma.SortOrder
537
- }
538
-
539
- export type GenerationRunMinOrderByAggregateInput = {
540
- id?: Prisma.SortOrder
541
- threadId?: Prisma.SortOrder
542
- userId?: Prisma.SortOrder
543
- kind?: Prisma.SortOrder
544
- status?: Prisma.SortOrder
545
- artifactId?: Prisma.SortOrder
546
- activity?: Prisma.SortOrder
547
- provider?: Prisma.SortOrder
548
- model?: Prisma.SortOrder
549
- error?: Prisma.SortOrder
550
- startedAt?: Prisma.SortOrder
551
- finishedAt?: Prisma.SortOrder
552
- }
553
-
554
- export type GenerationRunCreateNestedManyWithoutThreadInput = {
555
- create?: Prisma.XOR<Prisma.GenerationRunCreateWithoutThreadInput, Prisma.GenerationRunUncheckedCreateWithoutThreadInput> | Prisma.GenerationRunCreateWithoutThreadInput[] | Prisma.GenerationRunUncheckedCreateWithoutThreadInput[]
556
- connectOrCreate?: Prisma.GenerationRunCreateOrConnectWithoutThreadInput | Prisma.GenerationRunCreateOrConnectWithoutThreadInput[]
557
- createMany?: Prisma.GenerationRunCreateManyThreadInputEnvelope
558
- connect?: Prisma.GenerationRunWhereUniqueInput | Prisma.GenerationRunWhereUniqueInput[]
559
- }
560
-
561
- export type GenerationRunUncheckedCreateNestedManyWithoutThreadInput = {
562
- create?: Prisma.XOR<Prisma.GenerationRunCreateWithoutThreadInput, Prisma.GenerationRunUncheckedCreateWithoutThreadInput> | Prisma.GenerationRunCreateWithoutThreadInput[] | Prisma.GenerationRunUncheckedCreateWithoutThreadInput[]
563
- connectOrCreate?: Prisma.GenerationRunCreateOrConnectWithoutThreadInput | Prisma.GenerationRunCreateOrConnectWithoutThreadInput[]
564
- createMany?: Prisma.GenerationRunCreateManyThreadInputEnvelope
565
- connect?: Prisma.GenerationRunWhereUniqueInput | Prisma.GenerationRunWhereUniqueInput[]
566
- }
567
-
568
- export type GenerationRunUpdateManyWithoutThreadNestedInput = {
569
- create?: Prisma.XOR<Prisma.GenerationRunCreateWithoutThreadInput, Prisma.GenerationRunUncheckedCreateWithoutThreadInput> | Prisma.GenerationRunCreateWithoutThreadInput[] | Prisma.GenerationRunUncheckedCreateWithoutThreadInput[]
570
- connectOrCreate?: Prisma.GenerationRunCreateOrConnectWithoutThreadInput | Prisma.GenerationRunCreateOrConnectWithoutThreadInput[]
571
- upsert?: Prisma.GenerationRunUpsertWithWhereUniqueWithoutThreadInput | Prisma.GenerationRunUpsertWithWhereUniqueWithoutThreadInput[]
572
- createMany?: Prisma.GenerationRunCreateManyThreadInputEnvelope
573
- set?: Prisma.GenerationRunWhereUniqueInput | Prisma.GenerationRunWhereUniqueInput[]
574
- disconnect?: Prisma.GenerationRunWhereUniqueInput | Prisma.GenerationRunWhereUniqueInput[]
575
- delete?: Prisma.GenerationRunWhereUniqueInput | Prisma.GenerationRunWhereUniqueInput[]
576
- connect?: Prisma.GenerationRunWhereUniqueInput | Prisma.GenerationRunWhereUniqueInput[]
577
- update?: Prisma.GenerationRunUpdateWithWhereUniqueWithoutThreadInput | Prisma.GenerationRunUpdateWithWhereUniqueWithoutThreadInput[]
578
- updateMany?: Prisma.GenerationRunUpdateManyWithWhereWithoutThreadInput | Prisma.GenerationRunUpdateManyWithWhereWithoutThreadInput[]
579
- deleteMany?: Prisma.GenerationRunScalarWhereInput | Prisma.GenerationRunScalarWhereInput[]
580
- }
581
-
582
- export type GenerationRunUncheckedUpdateManyWithoutThreadNestedInput = {
583
- create?: Prisma.XOR<Prisma.GenerationRunCreateWithoutThreadInput, Prisma.GenerationRunUncheckedCreateWithoutThreadInput> | Prisma.GenerationRunCreateWithoutThreadInput[] | Prisma.GenerationRunUncheckedCreateWithoutThreadInput[]
584
- connectOrCreate?: Prisma.GenerationRunCreateOrConnectWithoutThreadInput | Prisma.GenerationRunCreateOrConnectWithoutThreadInput[]
585
- upsert?: Prisma.GenerationRunUpsertWithWhereUniqueWithoutThreadInput | Prisma.GenerationRunUpsertWithWhereUniqueWithoutThreadInput[]
586
- createMany?: Prisma.GenerationRunCreateManyThreadInputEnvelope
587
- set?: Prisma.GenerationRunWhereUniqueInput | Prisma.GenerationRunWhereUniqueInput[]
588
- disconnect?: Prisma.GenerationRunWhereUniqueInput | Prisma.GenerationRunWhereUniqueInput[]
589
- delete?: Prisma.GenerationRunWhereUniqueInput | Prisma.GenerationRunWhereUniqueInput[]
590
- connect?: Prisma.GenerationRunWhereUniqueInput | Prisma.GenerationRunWhereUniqueInput[]
591
- update?: Prisma.GenerationRunUpdateWithWhereUniqueWithoutThreadInput | Prisma.GenerationRunUpdateWithWhereUniqueWithoutThreadInput[]
592
- updateMany?: Prisma.GenerationRunUpdateManyWithWhereWithoutThreadInput | Prisma.GenerationRunUpdateManyWithWhereWithoutThreadInput[]
593
- deleteMany?: Prisma.GenerationRunScalarWhereInput | Prisma.GenerationRunScalarWhereInput[]
594
- }
595
-
596
- export type GenerationRunCreateWithoutThreadInput = {
597
- id?: string
598
- userId: string
599
- kind: string
600
- status: string
601
- input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
602
- result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
603
- artifactId?: string | null
604
- activity?: string | null
605
- provider?: string | null
606
- model?: string | null
607
- artifacts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
608
- usage?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
609
- error?: string | null
610
- startedAt?: Date | string
611
- finishedAt?: Date | string | null
612
- linkedTarget?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
613
- }
614
-
615
- export type GenerationRunUncheckedCreateWithoutThreadInput = {
616
- id?: string
617
- userId: string
618
- kind: string
619
- status: string
620
- input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
621
- result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
622
- artifactId?: string | null
623
- activity?: string | null
624
- provider?: string | null
625
- model?: string | null
626
- artifacts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
627
- usage?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
628
- error?: string | null
629
- startedAt?: Date | string
630
- finishedAt?: Date | string | null
631
- linkedTarget?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
632
- }
633
-
634
- export type GenerationRunCreateOrConnectWithoutThreadInput = {
635
- where: Prisma.GenerationRunWhereUniqueInput
636
- create: Prisma.XOR<Prisma.GenerationRunCreateWithoutThreadInput, Prisma.GenerationRunUncheckedCreateWithoutThreadInput>
637
- }
638
-
639
- export type GenerationRunCreateManyThreadInputEnvelope = {
640
- data: Prisma.GenerationRunCreateManyThreadInput | Prisma.GenerationRunCreateManyThreadInput[]
641
- }
642
-
643
- export type GenerationRunUpsertWithWhereUniqueWithoutThreadInput = {
644
- where: Prisma.GenerationRunWhereUniqueInput
645
- update: Prisma.XOR<Prisma.GenerationRunUpdateWithoutThreadInput, Prisma.GenerationRunUncheckedUpdateWithoutThreadInput>
646
- create: Prisma.XOR<Prisma.GenerationRunCreateWithoutThreadInput, Prisma.GenerationRunUncheckedCreateWithoutThreadInput>
647
- }
648
-
649
- export type GenerationRunUpdateWithWhereUniqueWithoutThreadInput = {
650
- where: Prisma.GenerationRunWhereUniqueInput
651
- data: Prisma.XOR<Prisma.GenerationRunUpdateWithoutThreadInput, Prisma.GenerationRunUncheckedUpdateWithoutThreadInput>
652
- }
653
-
654
- export type GenerationRunUpdateManyWithWhereWithoutThreadInput = {
655
- where: Prisma.GenerationRunScalarWhereInput
656
- data: Prisma.XOR<Prisma.GenerationRunUpdateManyMutationInput, Prisma.GenerationRunUncheckedUpdateManyWithoutThreadInput>
657
- }
658
-
659
- export type GenerationRunScalarWhereInput = {
660
- AND?: Prisma.GenerationRunScalarWhereInput | Prisma.GenerationRunScalarWhereInput[]
661
- OR?: Prisma.GenerationRunScalarWhereInput[]
662
- NOT?: Prisma.GenerationRunScalarWhereInput | Prisma.GenerationRunScalarWhereInput[]
663
- id?: Prisma.StringFilter<"GenerationRun"> | string
664
- threadId?: Prisma.StringFilter<"GenerationRun"> | string
665
- userId?: Prisma.StringFilter<"GenerationRun"> | string
666
- kind?: Prisma.StringFilter<"GenerationRun"> | string
667
- status?: Prisma.StringFilter<"GenerationRun"> | string
668
- input?: Prisma.JsonNullableFilter<"GenerationRun">
669
- result?: Prisma.JsonNullableFilter<"GenerationRun">
670
- artifactId?: Prisma.StringNullableFilter<"GenerationRun"> | string | null
671
- activity?: Prisma.StringNullableFilter<"GenerationRun"> | string | null
672
- provider?: Prisma.StringNullableFilter<"GenerationRun"> | string | null
673
- model?: Prisma.StringNullableFilter<"GenerationRun"> | string | null
674
- artifacts?: Prisma.JsonNullableFilter<"GenerationRun">
675
- usage?: Prisma.JsonNullableFilter<"GenerationRun">
676
- error?: Prisma.StringNullableFilter<"GenerationRun"> | string | null
677
- startedAt?: Prisma.DateTimeFilter<"GenerationRun"> | Date | string
678
- finishedAt?: Prisma.DateTimeNullableFilter<"GenerationRun"> | Date | string | null
679
- linkedTarget?: Prisma.JsonNullableFilter<"GenerationRun">
680
- }
681
-
682
- export type GenerationRunCreateManyThreadInput = {
683
- id?: string
684
- userId: string
685
- kind: string
686
- status: string
687
- input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
688
- result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
689
- artifactId?: string | null
690
- activity?: string | null
691
- provider?: string | null
692
- model?: string | null
693
- artifacts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
694
- usage?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
695
- error?: string | null
696
- startedAt?: Date | string
697
- finishedAt?: Date | string | null
698
- linkedTarget?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
699
- }
700
-
701
- export type GenerationRunUpdateWithoutThreadInput = {
702
- id?: Prisma.StringFieldUpdateOperationsInput | string
703
- userId?: Prisma.StringFieldUpdateOperationsInput | string
704
- kind?: Prisma.StringFieldUpdateOperationsInput | string
705
- status?: Prisma.StringFieldUpdateOperationsInput | string
706
- input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
707
- result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
708
- artifactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
709
- activity?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
710
- provider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
711
- model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
712
- artifacts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
713
- usage?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
714
- error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
715
- startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
716
- finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
717
- linkedTarget?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
718
- }
719
-
720
- export type GenerationRunUncheckedUpdateWithoutThreadInput = {
721
- id?: Prisma.StringFieldUpdateOperationsInput | string
722
- userId?: Prisma.StringFieldUpdateOperationsInput | string
723
- kind?: Prisma.StringFieldUpdateOperationsInput | string
724
- status?: Prisma.StringFieldUpdateOperationsInput | string
725
- input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
726
- result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
727
- artifactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
728
- activity?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
729
- provider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
730
- model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
731
- artifacts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
732
- usage?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
733
- error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
734
- startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
735
- finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
736
- linkedTarget?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
737
- }
738
-
739
- export type GenerationRunUncheckedUpdateManyWithoutThreadInput = {
740
- id?: Prisma.StringFieldUpdateOperationsInput | string
741
- userId?: Prisma.StringFieldUpdateOperationsInput | string
742
- kind?: Prisma.StringFieldUpdateOperationsInput | string
743
- status?: Prisma.StringFieldUpdateOperationsInput | string
744
- input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
745
- result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
746
- artifactId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
747
- activity?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
748
- provider?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
749
- model?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
750
- artifacts?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
751
- usage?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
752
- error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
753
- startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
754
- finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
755
- linkedTarget?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
756
- }
757
-
758
-
759
-
760
- export type GenerationRunSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
761
- id?: boolean
762
- threadId?: boolean
763
- userId?: boolean
764
- kind?: boolean
765
- status?: boolean
766
- input?: boolean
767
- result?: boolean
768
- artifactId?: boolean
769
- activity?: boolean
770
- provider?: boolean
771
- model?: boolean
772
- artifacts?: boolean
773
- usage?: boolean
774
- error?: boolean
775
- startedAt?: boolean
776
- finishedAt?: boolean
777
- linkedTarget?: boolean
778
- thread?: boolean | Prisma.ChatThreadDefaultArgs<ExtArgs>
779
- }, ExtArgs["result"]["generationRun"]>
780
-
781
- export type GenerationRunSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
782
- id?: boolean
783
- threadId?: boolean
784
- userId?: boolean
785
- kind?: boolean
786
- status?: boolean
787
- input?: boolean
788
- result?: boolean
789
- artifactId?: boolean
790
- activity?: boolean
791
- provider?: boolean
792
- model?: boolean
793
- artifacts?: boolean
794
- usage?: boolean
795
- error?: boolean
796
- startedAt?: boolean
797
- finishedAt?: boolean
798
- linkedTarget?: boolean
799
- thread?: boolean | Prisma.ChatThreadDefaultArgs<ExtArgs>
800
- }, ExtArgs["result"]["generationRun"]>
801
-
802
- export type GenerationRunSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
803
- id?: boolean
804
- threadId?: boolean
805
- userId?: boolean
806
- kind?: boolean
807
- status?: boolean
808
- input?: boolean
809
- result?: boolean
810
- artifactId?: boolean
811
- activity?: boolean
812
- provider?: boolean
813
- model?: boolean
814
- artifacts?: boolean
815
- usage?: boolean
816
- error?: boolean
817
- startedAt?: boolean
818
- finishedAt?: boolean
819
- linkedTarget?: boolean
820
- thread?: boolean | Prisma.ChatThreadDefaultArgs<ExtArgs>
821
- }, ExtArgs["result"]["generationRun"]>
822
-
823
- export type GenerationRunSelectScalar = {
824
- id?: boolean
825
- threadId?: boolean
826
- userId?: boolean
827
- kind?: boolean
828
- status?: boolean
829
- input?: boolean
830
- result?: boolean
831
- artifactId?: boolean
832
- activity?: boolean
833
- provider?: boolean
834
- model?: boolean
835
- artifacts?: boolean
836
- usage?: boolean
837
- error?: boolean
838
- startedAt?: boolean
839
- finishedAt?: boolean
840
- linkedTarget?: boolean
841
- }
842
-
843
- export type GenerationRunOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "threadId" | "userId" | "kind" | "status" | "input" | "result" | "artifactId" | "activity" | "provider" | "model" | "artifacts" | "usage" | "error" | "startedAt" | "finishedAt" | "linkedTarget", ExtArgs["result"]["generationRun"]>
844
- export type GenerationRunInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
845
- thread?: boolean | Prisma.ChatThreadDefaultArgs<ExtArgs>
846
- }
847
- export type GenerationRunIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
848
- thread?: boolean | Prisma.ChatThreadDefaultArgs<ExtArgs>
849
- }
850
- export type GenerationRunIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
851
- thread?: boolean | Prisma.ChatThreadDefaultArgs<ExtArgs>
852
- }
853
-
854
- export type $GenerationRunPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
855
- name: "GenerationRun"
856
- objects: {
857
- thread: Prisma.$ChatThreadPayload<ExtArgs>
858
- }
859
- scalars: runtime.Types.Extensions.GetPayloadResult<{
860
- id: string
861
- threadId: string
862
- userId: string
863
- kind: string
864
- status: string
865
- input: runtime.JsonValue | null
866
- result: runtime.JsonValue | null
867
- artifactId: string | null
868
- activity: string | null
869
- provider: string | null
870
- model: string | null
871
- artifacts: runtime.JsonValue | null
872
- usage: runtime.JsonValue | null
873
- error: string | null
874
- startedAt: Date
875
- finishedAt: Date | null
876
- linkedTarget: runtime.JsonValue | null
877
- }, ExtArgs["result"]["generationRun"]>
878
- composites: {}
879
- }
880
-
881
- export type GenerationRunGetPayload<S extends boolean | null | undefined | GenerationRunDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$GenerationRunPayload, S>
882
-
883
- export type GenerationRunCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
884
- Omit<GenerationRunFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
885
- select?: GenerationRunCountAggregateInputType | true
886
- }
887
-
888
- export interface GenerationRunDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
889
- [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['GenerationRun'], meta: { name: 'GenerationRun' } }
890
- /**
891
- * Find zero or one GenerationRun that matches the filter.
892
- * @param {GenerationRunFindUniqueArgs} args - Arguments to find a GenerationRun
893
- * @example
894
- * // Get one GenerationRun
895
- * const generationRun = await prisma.generationRun.findUnique({
896
- * where: {
897
- * // ... provide filter here
898
- * }
899
- * })
900
- */
901
- findUnique<T extends GenerationRunFindUniqueArgs>(args: Prisma.SelectSubset<T, GenerationRunFindUniqueArgs<ExtArgs>>): Prisma.Prisma__GenerationRunClient<runtime.Types.Result.GetResult<Prisma.$GenerationRunPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
902
-
903
- /**
904
- * Find one GenerationRun that matches the filter or throw an error with `error.code='P2025'`
905
- * if no matches were found.
906
- * @param {GenerationRunFindUniqueOrThrowArgs} args - Arguments to find a GenerationRun
907
- * @example
908
- * // Get one GenerationRun
909
- * const generationRun = await prisma.generationRun.findUniqueOrThrow({
910
- * where: {
911
- * // ... provide filter here
912
- * }
913
- * })
914
- */
915
- findUniqueOrThrow<T extends GenerationRunFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, GenerationRunFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__GenerationRunClient<runtime.Types.Result.GetResult<Prisma.$GenerationRunPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
916
-
917
- /**
918
- * Find the first GenerationRun that matches the filter.
919
- * Note, that providing `undefined` is treated as the value not being there.
920
- * Read more here: https://pris.ly/d/null-undefined
921
- * @param {GenerationRunFindFirstArgs} args - Arguments to find a GenerationRun
922
- * @example
923
- * // Get one GenerationRun
924
- * const generationRun = await prisma.generationRun.findFirst({
925
- * where: {
926
- * // ... provide filter here
927
- * }
928
- * })
929
- */
930
- findFirst<T extends GenerationRunFindFirstArgs>(args?: Prisma.SelectSubset<T, GenerationRunFindFirstArgs<ExtArgs>>): Prisma.Prisma__GenerationRunClient<runtime.Types.Result.GetResult<Prisma.$GenerationRunPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
931
-
932
- /**
933
- * Find the first GenerationRun that matches the filter or
934
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
935
- * Note, that providing `undefined` is treated as the value not being there.
936
- * Read more here: https://pris.ly/d/null-undefined
937
- * @param {GenerationRunFindFirstOrThrowArgs} args - Arguments to find a GenerationRun
938
- * @example
939
- * // Get one GenerationRun
940
- * const generationRun = await prisma.generationRun.findFirstOrThrow({
941
- * where: {
942
- * // ... provide filter here
943
- * }
944
- * })
945
- */
946
- findFirstOrThrow<T extends GenerationRunFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, GenerationRunFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__GenerationRunClient<runtime.Types.Result.GetResult<Prisma.$GenerationRunPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
947
-
948
- /**
949
- * Find zero or more GenerationRuns that matches the filter.
950
- * Note, that providing `undefined` is treated as the value not being there.
951
- * Read more here: https://pris.ly/d/null-undefined
952
- * @param {GenerationRunFindManyArgs} args - Arguments to filter and select certain fields only.
953
- * @example
954
- * // Get all GenerationRuns
955
- * const generationRuns = await prisma.generationRun.findMany()
956
- *
957
- * // Get first 10 GenerationRuns
958
- * const generationRuns = await prisma.generationRun.findMany({ take: 10 })
959
- *
960
- * // Only select the `id`
961
- * const generationRunWithIdOnly = await prisma.generationRun.findMany({ select: { id: true } })
962
- *
963
- */
964
- findMany<T extends GenerationRunFindManyArgs>(args?: Prisma.SelectSubset<T, GenerationRunFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GenerationRunPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
965
-
966
- /**
967
- * Create a GenerationRun.
968
- * @param {GenerationRunCreateArgs} args - Arguments to create a GenerationRun.
969
- * @example
970
- * // Create one GenerationRun
971
- * const GenerationRun = await prisma.generationRun.create({
972
- * data: {
973
- * // ... data to create a GenerationRun
974
- * }
975
- * })
976
- *
977
- */
978
- create<T extends GenerationRunCreateArgs>(args: Prisma.SelectSubset<T, GenerationRunCreateArgs<ExtArgs>>): Prisma.Prisma__GenerationRunClient<runtime.Types.Result.GetResult<Prisma.$GenerationRunPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
979
-
980
- /**
981
- * Create many GenerationRuns.
982
- * @param {GenerationRunCreateManyArgs} args - Arguments to create many GenerationRuns.
983
- * @example
984
- * // Create many GenerationRuns
985
- * const generationRun = await prisma.generationRun.createMany({
986
- * data: [
987
- * // ... provide data here
988
- * ]
989
- * })
990
- *
991
- */
992
- createMany<T extends GenerationRunCreateManyArgs>(args?: Prisma.SelectSubset<T, GenerationRunCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
993
-
994
- /**
995
- * Create many GenerationRuns and returns the data saved in the database.
996
- * @param {GenerationRunCreateManyAndReturnArgs} args - Arguments to create many GenerationRuns.
997
- * @example
998
- * // Create many GenerationRuns
999
- * const generationRun = await prisma.generationRun.createManyAndReturn({
1000
- * data: [
1001
- * // ... provide data here
1002
- * ]
1003
- * })
1004
- *
1005
- * // Create many GenerationRuns and only return the `id`
1006
- * const generationRunWithIdOnly = await prisma.generationRun.createManyAndReturn({
1007
- * select: { id: true },
1008
- * data: [
1009
- * // ... provide data here
1010
- * ]
1011
- * })
1012
- * Note, that providing `undefined` is treated as the value not being there.
1013
- * Read more here: https://pris.ly/d/null-undefined
1014
- *
1015
- */
1016
- createManyAndReturn<T extends GenerationRunCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, GenerationRunCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GenerationRunPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1017
-
1018
- /**
1019
- * Delete a GenerationRun.
1020
- * @param {GenerationRunDeleteArgs} args - Arguments to delete one GenerationRun.
1021
- * @example
1022
- * // Delete one GenerationRun
1023
- * const GenerationRun = await prisma.generationRun.delete({
1024
- * where: {
1025
- * // ... filter to delete one GenerationRun
1026
- * }
1027
- * })
1028
- *
1029
- */
1030
- delete<T extends GenerationRunDeleteArgs>(args: Prisma.SelectSubset<T, GenerationRunDeleteArgs<ExtArgs>>): Prisma.Prisma__GenerationRunClient<runtime.Types.Result.GetResult<Prisma.$GenerationRunPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1031
-
1032
- /**
1033
- * Update one GenerationRun.
1034
- * @param {GenerationRunUpdateArgs} args - Arguments to update one GenerationRun.
1035
- * @example
1036
- * // Update one GenerationRun
1037
- * const generationRun = await prisma.generationRun.update({
1038
- * where: {
1039
- * // ... provide filter here
1040
- * },
1041
- * data: {
1042
- * // ... provide data here
1043
- * }
1044
- * })
1045
- *
1046
- */
1047
- update<T extends GenerationRunUpdateArgs>(args: Prisma.SelectSubset<T, GenerationRunUpdateArgs<ExtArgs>>): Prisma.Prisma__GenerationRunClient<runtime.Types.Result.GetResult<Prisma.$GenerationRunPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1048
-
1049
- /**
1050
- * Delete zero or more GenerationRuns.
1051
- * @param {GenerationRunDeleteManyArgs} args - Arguments to filter GenerationRuns to delete.
1052
- * @example
1053
- * // Delete a few GenerationRuns
1054
- * const { count } = await prisma.generationRun.deleteMany({
1055
- * where: {
1056
- * // ... provide filter here
1057
- * }
1058
- * })
1059
- *
1060
- */
1061
- deleteMany<T extends GenerationRunDeleteManyArgs>(args?: Prisma.SelectSubset<T, GenerationRunDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1062
-
1063
- /**
1064
- * Update zero or more GenerationRuns.
1065
- * Note, that providing `undefined` is treated as the value not being there.
1066
- * Read more here: https://pris.ly/d/null-undefined
1067
- * @param {GenerationRunUpdateManyArgs} args - Arguments to update one or more rows.
1068
- * @example
1069
- * // Update many GenerationRuns
1070
- * const generationRun = await prisma.generationRun.updateMany({
1071
- * where: {
1072
- * // ... provide filter here
1073
- * },
1074
- * data: {
1075
- * // ... provide data here
1076
- * }
1077
- * })
1078
- *
1079
- */
1080
- updateMany<T extends GenerationRunUpdateManyArgs>(args: Prisma.SelectSubset<T, GenerationRunUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1081
-
1082
- /**
1083
- * Update zero or more GenerationRuns and returns the data updated in the database.
1084
- * @param {GenerationRunUpdateManyAndReturnArgs} args - Arguments to update many GenerationRuns.
1085
- * @example
1086
- * // Update many GenerationRuns
1087
- * const generationRun = await prisma.generationRun.updateManyAndReturn({
1088
- * where: {
1089
- * // ... provide filter here
1090
- * },
1091
- * data: [
1092
- * // ... provide data here
1093
- * ]
1094
- * })
1095
- *
1096
- * // Update zero or more GenerationRuns and only return the `id`
1097
- * const generationRunWithIdOnly = await prisma.generationRun.updateManyAndReturn({
1098
- * select: { id: true },
1099
- * where: {
1100
- * // ... provide filter here
1101
- * },
1102
- * data: [
1103
- * // ... provide data here
1104
- * ]
1105
- * })
1106
- * Note, that providing `undefined` is treated as the value not being there.
1107
- * Read more here: https://pris.ly/d/null-undefined
1108
- *
1109
- */
1110
- updateManyAndReturn<T extends GenerationRunUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, GenerationRunUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GenerationRunPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1111
-
1112
- /**
1113
- * Create or update one GenerationRun.
1114
- * @param {GenerationRunUpsertArgs} args - Arguments to update or create a GenerationRun.
1115
- * @example
1116
- * // Update or create a GenerationRun
1117
- * const generationRun = await prisma.generationRun.upsert({
1118
- * create: {
1119
- * // ... data to create a GenerationRun
1120
- * },
1121
- * update: {
1122
- * // ... in case it already exists, update
1123
- * },
1124
- * where: {
1125
- * // ... the filter for the GenerationRun we want to update
1126
- * }
1127
- * })
1128
- */
1129
- upsert<T extends GenerationRunUpsertArgs>(args: Prisma.SelectSubset<T, GenerationRunUpsertArgs<ExtArgs>>): Prisma.Prisma__GenerationRunClient<runtime.Types.Result.GetResult<Prisma.$GenerationRunPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1130
-
1131
-
1132
- /**
1133
- * Count the number of GenerationRuns.
1134
- * Note, that providing `undefined` is treated as the value not being there.
1135
- * Read more here: https://pris.ly/d/null-undefined
1136
- * @param {GenerationRunCountArgs} args - Arguments to filter GenerationRuns to count.
1137
- * @example
1138
- * // Count the number of GenerationRuns
1139
- * const count = await prisma.generationRun.count({
1140
- * where: {
1141
- * // ... the filter for the GenerationRuns we want to count
1142
- * }
1143
- * })
1144
- **/
1145
- count<T extends GenerationRunCountArgs>(
1146
- args?: Prisma.Subset<T, GenerationRunCountArgs>,
1147
- ): Prisma.PrismaPromise<
1148
- T extends runtime.Types.Utils.Record<'select', any>
1149
- ? T['select'] extends true
1150
- ? number
1151
- : Prisma.GetScalarType<T['select'], GenerationRunCountAggregateOutputType>
1152
- : number
1153
- >
1154
-
1155
- /**
1156
- * Allows you to perform aggregations operations on a GenerationRun.
1157
- * Note, that providing `undefined` is treated as the value not being there.
1158
- * Read more here: https://pris.ly/d/null-undefined
1159
- * @param {GenerationRunAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1160
- * @example
1161
- * // Ordered by age ascending
1162
- * // Where email contains prisma.io
1163
- * // Limited to the 10 users
1164
- * const aggregations = await prisma.user.aggregate({
1165
- * _avg: {
1166
- * age: true,
1167
- * },
1168
- * where: {
1169
- * email: {
1170
- * contains: "prisma.io",
1171
- * },
1172
- * },
1173
- * orderBy: {
1174
- * age: "asc",
1175
- * },
1176
- * take: 10,
1177
- * })
1178
- **/
1179
- aggregate<T extends GenerationRunAggregateArgs>(args: Prisma.Subset<T, GenerationRunAggregateArgs>): Prisma.PrismaPromise<GetGenerationRunAggregateType<T>>
1180
-
1181
- /**
1182
- * Group by GenerationRun.
1183
- * Note, that providing `undefined` is treated as the value not being there.
1184
- * Read more here: https://pris.ly/d/null-undefined
1185
- * @param {GenerationRunGroupByArgs} args - Group by arguments.
1186
- * @example
1187
- * // Group by city, order by createdAt, get count
1188
- * const result = await prisma.user.groupBy({
1189
- * by: ['city', 'createdAt'],
1190
- * orderBy: {
1191
- * createdAt: true
1192
- * },
1193
- * _count: {
1194
- * _all: true
1195
- * },
1196
- * })
1197
- *
1198
- **/
1199
- groupBy<
1200
- T extends GenerationRunGroupByArgs,
1201
- HasSelectOrTake extends Prisma.Or<
1202
- Prisma.Extends<'skip', Prisma.Keys<T>>,
1203
- Prisma.Extends<'take', Prisma.Keys<T>>
1204
- >,
1205
- OrderByArg extends Prisma.True extends HasSelectOrTake
1206
- ? { orderBy: GenerationRunGroupByArgs['orderBy'] }
1207
- : { orderBy?: GenerationRunGroupByArgs['orderBy'] },
1208
- OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1209
- ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1210
- ByValid extends Prisma.Has<ByFields, OrderFields>,
1211
- HavingFields extends Prisma.GetHavingFields<T['having']>,
1212
- HavingValid extends Prisma.Has<ByFields, HavingFields>,
1213
- ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1214
- InputErrors extends ByEmpty extends Prisma.True
1215
- ? `Error: "by" must not be empty.`
1216
- : HavingValid extends Prisma.False
1217
- ? {
1218
- [P in HavingFields]: P extends ByFields
1219
- ? never
1220
- : P extends string
1221
- ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1222
- : [
1223
- Error,
1224
- 'Field ',
1225
- P,
1226
- ` in "having" needs to be provided in "by"`,
1227
- ]
1228
- }[HavingFields]
1229
- : 'take' extends Prisma.Keys<T>
1230
- ? 'orderBy' extends Prisma.Keys<T>
1231
- ? ByValid extends Prisma.True
1232
- ? {}
1233
- : {
1234
- [P in OrderFields]: P extends ByFields
1235
- ? never
1236
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1237
- }[OrderFields]
1238
- : 'Error: If you provide "take", you also need to provide "orderBy"'
1239
- : 'skip' extends Prisma.Keys<T>
1240
- ? 'orderBy' extends Prisma.Keys<T>
1241
- ? ByValid extends Prisma.True
1242
- ? {}
1243
- : {
1244
- [P in OrderFields]: P extends ByFields
1245
- ? never
1246
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1247
- }[OrderFields]
1248
- : 'Error: If you provide "skip", you also need to provide "orderBy"'
1249
- : ByValid extends Prisma.True
1250
- ? {}
1251
- : {
1252
- [P in OrderFields]: P extends ByFields
1253
- ? never
1254
- : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1255
- }[OrderFields]
1256
- >(args: Prisma.SubsetIntersection<T, GenerationRunGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetGenerationRunGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1257
- /**
1258
- * Fields of the GenerationRun model
1259
- */
1260
- readonly fields: GenerationRunFieldRefs;
1261
- }
1262
-
1263
- /**
1264
- * The delegate class that acts as a "Promise-like" for GenerationRun.
1265
- * Why is this prefixed with `Prisma__`?
1266
- * Because we want to prevent naming conflicts as mentioned in
1267
- * https://github.com/prisma/prisma-client-js/issues/707
1268
- */
1269
- export interface Prisma__GenerationRunClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1270
- readonly [Symbol.toStringTag]: "PrismaPromise"
1271
- thread<T extends Prisma.ChatThreadDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ChatThreadDefaultArgs<ExtArgs>>): Prisma.Prisma__ChatThreadClient<runtime.Types.Result.GetResult<Prisma.$ChatThreadPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1272
- /**
1273
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1274
- * @param onfulfilled The callback to execute when the Promise is resolved.
1275
- * @param onrejected The callback to execute when the Promise is rejected.
1276
- * @returns A Promise for the completion of which ever callback is executed.
1277
- */
1278
- then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
1279
- /**
1280
- * Attaches a callback for only the rejection of the Promise.
1281
- * @param onrejected The callback to execute when the Promise is rejected.
1282
- * @returns A Promise for the completion of the callback.
1283
- */
1284
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1285
- /**
1286
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1287
- * resolved value cannot be modified from the callback.
1288
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1289
- * @returns A Promise for the completion of the callback.
1290
- */
1291
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1292
- }
1293
-
1294
-
1295
-
1296
-
1297
- /**
1298
- * Fields of the GenerationRun model
1299
- */
1300
- export interface GenerationRunFieldRefs {
1301
- readonly id: Prisma.FieldRef<"GenerationRun", 'String'>
1302
- readonly threadId: Prisma.FieldRef<"GenerationRun", 'String'>
1303
- readonly userId: Prisma.FieldRef<"GenerationRun", 'String'>
1304
- readonly kind: Prisma.FieldRef<"GenerationRun", 'String'>
1305
- readonly status: Prisma.FieldRef<"GenerationRun", 'String'>
1306
- readonly input: Prisma.FieldRef<"GenerationRun", 'Json'>
1307
- readonly result: Prisma.FieldRef<"GenerationRun", 'Json'>
1308
- readonly artifactId: Prisma.FieldRef<"GenerationRun", 'String'>
1309
- readonly activity: Prisma.FieldRef<"GenerationRun", 'String'>
1310
- readonly provider: Prisma.FieldRef<"GenerationRun", 'String'>
1311
- readonly model: Prisma.FieldRef<"GenerationRun", 'String'>
1312
- readonly artifacts: Prisma.FieldRef<"GenerationRun", 'Json'>
1313
- readonly usage: Prisma.FieldRef<"GenerationRun", 'Json'>
1314
- readonly error: Prisma.FieldRef<"GenerationRun", 'String'>
1315
- readonly startedAt: Prisma.FieldRef<"GenerationRun", 'DateTime'>
1316
- readonly finishedAt: Prisma.FieldRef<"GenerationRun", 'DateTime'>
1317
- readonly linkedTarget: Prisma.FieldRef<"GenerationRun", 'Json'>
1318
- }
1319
-
1320
-
1321
- // Custom InputTypes
1322
- /**
1323
- * GenerationRun findUnique
1324
- */
1325
- export type GenerationRunFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1326
- /**
1327
- * Select specific fields to fetch from the GenerationRun
1328
- */
1329
- select?: Prisma.GenerationRunSelect<ExtArgs> | null
1330
- /**
1331
- * Omit specific fields from the GenerationRun
1332
- */
1333
- omit?: Prisma.GenerationRunOmit<ExtArgs> | null
1334
- /**
1335
- * Choose, which related nodes to fetch as well
1336
- */
1337
- include?: Prisma.GenerationRunInclude<ExtArgs> | null
1338
- /**
1339
- * Filter, which GenerationRun to fetch.
1340
- */
1341
- where: Prisma.GenerationRunWhereUniqueInput
1342
- }
1343
-
1344
- /**
1345
- * GenerationRun findUniqueOrThrow
1346
- */
1347
- export type GenerationRunFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1348
- /**
1349
- * Select specific fields to fetch from the GenerationRun
1350
- */
1351
- select?: Prisma.GenerationRunSelect<ExtArgs> | null
1352
- /**
1353
- * Omit specific fields from the GenerationRun
1354
- */
1355
- omit?: Prisma.GenerationRunOmit<ExtArgs> | null
1356
- /**
1357
- * Choose, which related nodes to fetch as well
1358
- */
1359
- include?: Prisma.GenerationRunInclude<ExtArgs> | null
1360
- /**
1361
- * Filter, which GenerationRun to fetch.
1362
- */
1363
- where: Prisma.GenerationRunWhereUniqueInput
1364
- }
1365
-
1366
- /**
1367
- * GenerationRun findFirst
1368
- */
1369
- export type GenerationRunFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1370
- /**
1371
- * Select specific fields to fetch from the GenerationRun
1372
- */
1373
- select?: Prisma.GenerationRunSelect<ExtArgs> | null
1374
- /**
1375
- * Omit specific fields from the GenerationRun
1376
- */
1377
- omit?: Prisma.GenerationRunOmit<ExtArgs> | null
1378
- /**
1379
- * Choose, which related nodes to fetch as well
1380
- */
1381
- include?: Prisma.GenerationRunInclude<ExtArgs> | null
1382
- /**
1383
- * Filter, which GenerationRun to fetch.
1384
- */
1385
- where?: Prisma.GenerationRunWhereInput
1386
- /**
1387
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1388
- *
1389
- * Determine the order of GenerationRuns to fetch.
1390
- */
1391
- orderBy?: Prisma.GenerationRunOrderByWithRelationInput | Prisma.GenerationRunOrderByWithRelationInput[]
1392
- /**
1393
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1394
- *
1395
- * Sets the position for searching for GenerationRuns.
1396
- */
1397
- cursor?: Prisma.GenerationRunWhereUniqueInput
1398
- /**
1399
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1400
- *
1401
- * Take `±n` GenerationRuns from the position of the cursor.
1402
- */
1403
- take?: number
1404
- /**
1405
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1406
- *
1407
- * Skip the first `n` GenerationRuns.
1408
- */
1409
- skip?: number
1410
- /**
1411
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1412
- *
1413
- * Filter by unique combinations of GenerationRuns.
1414
- */
1415
- distinct?: Prisma.GenerationRunScalarFieldEnum | Prisma.GenerationRunScalarFieldEnum[]
1416
- }
1417
-
1418
- /**
1419
- * GenerationRun findFirstOrThrow
1420
- */
1421
- export type GenerationRunFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1422
- /**
1423
- * Select specific fields to fetch from the GenerationRun
1424
- */
1425
- select?: Prisma.GenerationRunSelect<ExtArgs> | null
1426
- /**
1427
- * Omit specific fields from the GenerationRun
1428
- */
1429
- omit?: Prisma.GenerationRunOmit<ExtArgs> | null
1430
- /**
1431
- * Choose, which related nodes to fetch as well
1432
- */
1433
- include?: Prisma.GenerationRunInclude<ExtArgs> | null
1434
- /**
1435
- * Filter, which GenerationRun to fetch.
1436
- */
1437
- where?: Prisma.GenerationRunWhereInput
1438
- /**
1439
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1440
- *
1441
- * Determine the order of GenerationRuns to fetch.
1442
- */
1443
- orderBy?: Prisma.GenerationRunOrderByWithRelationInput | Prisma.GenerationRunOrderByWithRelationInput[]
1444
- /**
1445
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1446
- *
1447
- * Sets the position for searching for GenerationRuns.
1448
- */
1449
- cursor?: Prisma.GenerationRunWhereUniqueInput
1450
- /**
1451
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1452
- *
1453
- * Take `±n` GenerationRuns from the position of the cursor.
1454
- */
1455
- take?: number
1456
- /**
1457
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1458
- *
1459
- * Skip the first `n` GenerationRuns.
1460
- */
1461
- skip?: number
1462
- /**
1463
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1464
- *
1465
- * Filter by unique combinations of GenerationRuns.
1466
- */
1467
- distinct?: Prisma.GenerationRunScalarFieldEnum | Prisma.GenerationRunScalarFieldEnum[]
1468
- }
1469
-
1470
- /**
1471
- * GenerationRun findMany
1472
- */
1473
- export type GenerationRunFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1474
- /**
1475
- * Select specific fields to fetch from the GenerationRun
1476
- */
1477
- select?: Prisma.GenerationRunSelect<ExtArgs> | null
1478
- /**
1479
- * Omit specific fields from the GenerationRun
1480
- */
1481
- omit?: Prisma.GenerationRunOmit<ExtArgs> | null
1482
- /**
1483
- * Choose, which related nodes to fetch as well
1484
- */
1485
- include?: Prisma.GenerationRunInclude<ExtArgs> | null
1486
- /**
1487
- * Filter, which GenerationRuns to fetch.
1488
- */
1489
- where?: Prisma.GenerationRunWhereInput
1490
- /**
1491
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1492
- *
1493
- * Determine the order of GenerationRuns to fetch.
1494
- */
1495
- orderBy?: Prisma.GenerationRunOrderByWithRelationInput | Prisma.GenerationRunOrderByWithRelationInput[]
1496
- /**
1497
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1498
- *
1499
- * Sets the position for listing GenerationRuns.
1500
- */
1501
- cursor?: Prisma.GenerationRunWhereUniqueInput
1502
- /**
1503
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1504
- *
1505
- * Take `±n` GenerationRuns from the position of the cursor.
1506
- */
1507
- take?: number
1508
- /**
1509
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1510
- *
1511
- * Skip the first `n` GenerationRuns.
1512
- */
1513
- skip?: number
1514
- /**
1515
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1516
- *
1517
- * Filter by unique combinations of GenerationRuns.
1518
- */
1519
- distinct?: Prisma.GenerationRunScalarFieldEnum | Prisma.GenerationRunScalarFieldEnum[]
1520
- }
1521
-
1522
- /**
1523
- * GenerationRun create
1524
- */
1525
- export type GenerationRunCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1526
- /**
1527
- * Select specific fields to fetch from the GenerationRun
1528
- */
1529
- select?: Prisma.GenerationRunSelect<ExtArgs> | null
1530
- /**
1531
- * Omit specific fields from the GenerationRun
1532
- */
1533
- omit?: Prisma.GenerationRunOmit<ExtArgs> | null
1534
- /**
1535
- * Choose, which related nodes to fetch as well
1536
- */
1537
- include?: Prisma.GenerationRunInclude<ExtArgs> | null
1538
- /**
1539
- * The data needed to create a GenerationRun.
1540
- */
1541
- data: Prisma.XOR<Prisma.GenerationRunCreateInput, Prisma.GenerationRunUncheckedCreateInput>
1542
- }
1543
-
1544
- /**
1545
- * GenerationRun createMany
1546
- */
1547
- export type GenerationRunCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1548
- /**
1549
- * The data used to create many GenerationRuns.
1550
- */
1551
- data: Prisma.GenerationRunCreateManyInput | Prisma.GenerationRunCreateManyInput[]
1552
- }
1553
-
1554
- /**
1555
- * GenerationRun createManyAndReturn
1556
- */
1557
- export type GenerationRunCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1558
- /**
1559
- * Select specific fields to fetch from the GenerationRun
1560
- */
1561
- select?: Prisma.GenerationRunSelectCreateManyAndReturn<ExtArgs> | null
1562
- /**
1563
- * Omit specific fields from the GenerationRun
1564
- */
1565
- omit?: Prisma.GenerationRunOmit<ExtArgs> | null
1566
- /**
1567
- * The data used to create many GenerationRuns.
1568
- */
1569
- data: Prisma.GenerationRunCreateManyInput | Prisma.GenerationRunCreateManyInput[]
1570
- /**
1571
- * Choose, which related nodes to fetch as well
1572
- */
1573
- include?: Prisma.GenerationRunIncludeCreateManyAndReturn<ExtArgs> | null
1574
- }
1575
-
1576
- /**
1577
- * GenerationRun update
1578
- */
1579
- export type GenerationRunUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1580
- /**
1581
- * Select specific fields to fetch from the GenerationRun
1582
- */
1583
- select?: Prisma.GenerationRunSelect<ExtArgs> | null
1584
- /**
1585
- * Omit specific fields from the GenerationRun
1586
- */
1587
- omit?: Prisma.GenerationRunOmit<ExtArgs> | null
1588
- /**
1589
- * Choose, which related nodes to fetch as well
1590
- */
1591
- include?: Prisma.GenerationRunInclude<ExtArgs> | null
1592
- /**
1593
- * The data needed to update a GenerationRun.
1594
- */
1595
- data: Prisma.XOR<Prisma.GenerationRunUpdateInput, Prisma.GenerationRunUncheckedUpdateInput>
1596
- /**
1597
- * Choose, which GenerationRun to update.
1598
- */
1599
- where: Prisma.GenerationRunWhereUniqueInput
1600
- }
1601
-
1602
- /**
1603
- * GenerationRun updateMany
1604
- */
1605
- export type GenerationRunUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1606
- /**
1607
- * The data used to update GenerationRuns.
1608
- */
1609
- data: Prisma.XOR<Prisma.GenerationRunUpdateManyMutationInput, Prisma.GenerationRunUncheckedUpdateManyInput>
1610
- /**
1611
- * Filter which GenerationRuns to update
1612
- */
1613
- where?: Prisma.GenerationRunWhereInput
1614
- /**
1615
- * Limit how many GenerationRuns to update.
1616
- */
1617
- limit?: number
1618
- }
1619
-
1620
- /**
1621
- * GenerationRun updateManyAndReturn
1622
- */
1623
- export type GenerationRunUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1624
- /**
1625
- * Select specific fields to fetch from the GenerationRun
1626
- */
1627
- select?: Prisma.GenerationRunSelectUpdateManyAndReturn<ExtArgs> | null
1628
- /**
1629
- * Omit specific fields from the GenerationRun
1630
- */
1631
- omit?: Prisma.GenerationRunOmit<ExtArgs> | null
1632
- /**
1633
- * The data used to update GenerationRuns.
1634
- */
1635
- data: Prisma.XOR<Prisma.GenerationRunUpdateManyMutationInput, Prisma.GenerationRunUncheckedUpdateManyInput>
1636
- /**
1637
- * Filter which GenerationRuns to update
1638
- */
1639
- where?: Prisma.GenerationRunWhereInput
1640
- /**
1641
- * Limit how many GenerationRuns to update.
1642
- */
1643
- limit?: number
1644
- /**
1645
- * Choose, which related nodes to fetch as well
1646
- */
1647
- include?: Prisma.GenerationRunIncludeUpdateManyAndReturn<ExtArgs> | null
1648
- }
1649
-
1650
- /**
1651
- * GenerationRun upsert
1652
- */
1653
- export type GenerationRunUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1654
- /**
1655
- * Select specific fields to fetch from the GenerationRun
1656
- */
1657
- select?: Prisma.GenerationRunSelect<ExtArgs> | null
1658
- /**
1659
- * Omit specific fields from the GenerationRun
1660
- */
1661
- omit?: Prisma.GenerationRunOmit<ExtArgs> | null
1662
- /**
1663
- * Choose, which related nodes to fetch as well
1664
- */
1665
- include?: Prisma.GenerationRunInclude<ExtArgs> | null
1666
- /**
1667
- * The filter to search for the GenerationRun to update in case it exists.
1668
- */
1669
- where: Prisma.GenerationRunWhereUniqueInput
1670
- /**
1671
- * In case the GenerationRun found by the `where` argument doesn't exist, create a new GenerationRun with this data.
1672
- */
1673
- create: Prisma.XOR<Prisma.GenerationRunCreateInput, Prisma.GenerationRunUncheckedCreateInput>
1674
- /**
1675
- * In case the GenerationRun was found with the provided `where` argument, update it with this data.
1676
- */
1677
- update: Prisma.XOR<Prisma.GenerationRunUpdateInput, Prisma.GenerationRunUncheckedUpdateInput>
1678
- }
1679
-
1680
- /**
1681
- * GenerationRun delete
1682
- */
1683
- export type GenerationRunDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1684
- /**
1685
- * Select specific fields to fetch from the GenerationRun
1686
- */
1687
- select?: Prisma.GenerationRunSelect<ExtArgs> | null
1688
- /**
1689
- * Omit specific fields from the GenerationRun
1690
- */
1691
- omit?: Prisma.GenerationRunOmit<ExtArgs> | null
1692
- /**
1693
- * Choose, which related nodes to fetch as well
1694
- */
1695
- include?: Prisma.GenerationRunInclude<ExtArgs> | null
1696
- /**
1697
- * Filter which GenerationRun to delete.
1698
- */
1699
- where: Prisma.GenerationRunWhereUniqueInput
1700
- }
1701
-
1702
- /**
1703
- * GenerationRun deleteMany
1704
- */
1705
- export type GenerationRunDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1706
- /**
1707
- * Filter which GenerationRuns to delete
1708
- */
1709
- where?: Prisma.GenerationRunWhereInput
1710
- /**
1711
- * Limit how many GenerationRuns to delete.
1712
- */
1713
- limit?: number
1714
- }
1715
-
1716
- /**
1717
- * GenerationRun without action
1718
- */
1719
- export type GenerationRunDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1720
- /**
1721
- * Select specific fields to fetch from the GenerationRun
1722
- */
1723
- select?: Prisma.GenerationRunSelect<ExtArgs> | null
1724
- /**
1725
- * Omit specific fields from the GenerationRun
1726
- */
1727
- omit?: Prisma.GenerationRunOmit<ExtArgs> | null
1728
- /**
1729
- * Choose, which related nodes to fetch as well
1730
- */
1731
- include?: Prisma.GenerationRunInclude<ExtArgs> | null
1732
- }