@allbluecn/database 0.9.2 → 0.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cf-env-stub.ts +4 -0
- package/cf-env.ts +25 -0
- package/cloudflare-workers.d.ts +6 -0
- package/dist/cf-env-stub.d.ts +1 -0
- package/dist/cf-env-stub.js +4 -0
- package/dist/cf-env.d.ts +1 -0
- package/dist/cf-env.js +8 -0
- package/generated/browser.ts +30 -15
- package/generated/client.ts +30 -15
- package/generated/internal/class.ts +64 -34
- package/generated/internal/prismaNamespace.ts +543 -263
- package/generated/internal/prismaNamespaceBrowser.ts +92 -37
- package/generated/models/AiTask.ts +2481 -0
- package/generated/models/AiTaskRun.ts +1564 -0
- package/generated/models/Bug.ts +94 -1
- package/generated/models/BugComment.ts +139 -0
- package/generated/models/BugCommentReaction.ts +1472 -0
- package/generated/models/CollabClient.ts +1199 -0
- package/generated/models/CollabDocument.ts +1121 -0
- package/generated/models/CollabUpdate.ts +1149 -0
- package/generated/models/Component.ts +0 -194
- package/generated/models/Design.ts +0 -190
- package/generated/models/Project.ts +261 -0
- package/generated/models/TestCase.ts +78 -1
- package/generated/models/User.ts +2073 -1271
- package/generated/models/Workspace.ts +204 -0
- package/generated/models.ts +6 -3
- package/generated-sqlite/browser.ts +0 -15
- package/generated-sqlite/client.ts +0 -15
- package/generated-sqlite/internal/class.ts +4 -34
- package/generated-sqlite/internal/prismaNamespace.ts +1 -262
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +0 -36
- package/generated-sqlite/models/Component.ts +0 -194
- package/generated-sqlite/models/Design.ts +0 -182
- package/generated-sqlite/models/User.ts +0 -586
- package/generated-sqlite/models.ts +0 -3
- package/index.ts +16 -2
- package/migrations/20261007112656_collab_init/migration.sql +45 -0
- package/migrations/20261007122530_collab_client_clientid_bigint/migration.sql +10 -0
- package/migrations/20261009194853_remove_tag_module/migration.sql +24 -0
- package/migrations/20261009222043_ai_task_init/migration.sql +67 -0
- package/migrations/20261019202531_ui_alignment_board_order/migration.sql +35 -0
- package/package.json +17 -6
- package/schema.prisma +99 -54
- package/schema.sqlite.prisma +0 -54
- package/generated/models/ComponentTag.ts +0 -1281
- package/generated/models/DesignTag.ts +0 -1430
- package/generated/models/Tag.ts +0 -1655
- package/generated-sqlite/models/ComponentTag.ts +0 -1278
- package/generated-sqlite/models/DesignTag.ts +0 -1426
- package/generated-sqlite/models/Tag.ts +0 -1652
|
@@ -0,0 +1,1564 @@
|
|
|
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 `AiTaskRun` 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 AiTaskRun
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type AiTaskRunModel = runtime.Types.Result.DefaultSelection<Prisma.$AiTaskRunPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateAiTaskRun = {
|
|
22
|
+
_count: AiTaskRunCountAggregateOutputType | null
|
|
23
|
+
_avg: AiTaskRunAvgAggregateOutputType | null
|
|
24
|
+
_sum: AiTaskRunSumAggregateOutputType | null
|
|
25
|
+
_min: AiTaskRunMinAggregateOutputType | null
|
|
26
|
+
_max: AiTaskRunMaxAggregateOutputType | null
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type AiTaskRunAvgAggregateOutputType = {
|
|
30
|
+
durationMs: number | null
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export type AiTaskRunSumAggregateOutputType = {
|
|
34
|
+
durationMs: number | null
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type AiTaskRunMinAggregateOutputType = {
|
|
38
|
+
id: string | null
|
|
39
|
+
taskId: string | null
|
|
40
|
+
trigger: string | null
|
|
41
|
+
status: string | null
|
|
42
|
+
resultSummary: string | null
|
|
43
|
+
error: string | null
|
|
44
|
+
parentRunId: string | null
|
|
45
|
+
startedAt: Date | null
|
|
46
|
+
finishedAt: Date | null
|
|
47
|
+
durationMs: number | null
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export type AiTaskRunMaxAggregateOutputType = {
|
|
51
|
+
id: string | null
|
|
52
|
+
taskId: string | null
|
|
53
|
+
trigger: string | null
|
|
54
|
+
status: string | null
|
|
55
|
+
resultSummary: string | null
|
|
56
|
+
error: string | null
|
|
57
|
+
parentRunId: string | null
|
|
58
|
+
startedAt: Date | null
|
|
59
|
+
finishedAt: Date | null
|
|
60
|
+
durationMs: number | null
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export type AiTaskRunCountAggregateOutputType = {
|
|
64
|
+
id: number
|
|
65
|
+
taskId: number
|
|
66
|
+
trigger: number
|
|
67
|
+
status: number
|
|
68
|
+
resultSummary: number
|
|
69
|
+
error: number
|
|
70
|
+
parentRunId: number
|
|
71
|
+
startedAt: number
|
|
72
|
+
finishedAt: number
|
|
73
|
+
durationMs: number
|
|
74
|
+
_all: number
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
export type AiTaskRunAvgAggregateInputType = {
|
|
79
|
+
durationMs?: true
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export type AiTaskRunSumAggregateInputType = {
|
|
83
|
+
durationMs?: true
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export type AiTaskRunMinAggregateInputType = {
|
|
87
|
+
id?: true
|
|
88
|
+
taskId?: true
|
|
89
|
+
trigger?: true
|
|
90
|
+
status?: true
|
|
91
|
+
resultSummary?: true
|
|
92
|
+
error?: true
|
|
93
|
+
parentRunId?: true
|
|
94
|
+
startedAt?: true
|
|
95
|
+
finishedAt?: true
|
|
96
|
+
durationMs?: true
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export type AiTaskRunMaxAggregateInputType = {
|
|
100
|
+
id?: true
|
|
101
|
+
taskId?: true
|
|
102
|
+
trigger?: true
|
|
103
|
+
status?: true
|
|
104
|
+
resultSummary?: true
|
|
105
|
+
error?: true
|
|
106
|
+
parentRunId?: true
|
|
107
|
+
startedAt?: true
|
|
108
|
+
finishedAt?: true
|
|
109
|
+
durationMs?: true
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export type AiTaskRunCountAggregateInputType = {
|
|
113
|
+
id?: true
|
|
114
|
+
taskId?: true
|
|
115
|
+
trigger?: true
|
|
116
|
+
status?: true
|
|
117
|
+
resultSummary?: true
|
|
118
|
+
error?: true
|
|
119
|
+
parentRunId?: true
|
|
120
|
+
startedAt?: true
|
|
121
|
+
finishedAt?: true
|
|
122
|
+
durationMs?: true
|
|
123
|
+
_all?: true
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export type AiTaskRunAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
127
|
+
/**
|
|
128
|
+
* Filter which AiTaskRun to aggregate.
|
|
129
|
+
*/
|
|
130
|
+
where?: Prisma.AiTaskRunWhereInput
|
|
131
|
+
/**
|
|
132
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
133
|
+
*
|
|
134
|
+
* Determine the order of AiTaskRuns to fetch.
|
|
135
|
+
*/
|
|
136
|
+
orderBy?: Prisma.AiTaskRunOrderByWithRelationInput | Prisma.AiTaskRunOrderByWithRelationInput[]
|
|
137
|
+
/**
|
|
138
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
139
|
+
*
|
|
140
|
+
* Sets the start position
|
|
141
|
+
*/
|
|
142
|
+
cursor?: Prisma.AiTaskRunWhereUniqueInput
|
|
143
|
+
/**
|
|
144
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
145
|
+
*
|
|
146
|
+
* Take `±n` AiTaskRuns from the position of the cursor.
|
|
147
|
+
*/
|
|
148
|
+
take?: number
|
|
149
|
+
/**
|
|
150
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
151
|
+
*
|
|
152
|
+
* Skip the first `n` AiTaskRuns.
|
|
153
|
+
*/
|
|
154
|
+
skip?: number
|
|
155
|
+
/**
|
|
156
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
157
|
+
*
|
|
158
|
+
* Count returned AiTaskRuns
|
|
159
|
+
**/
|
|
160
|
+
_count?: true | AiTaskRunCountAggregateInputType
|
|
161
|
+
/**
|
|
162
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
163
|
+
*
|
|
164
|
+
* Select which fields to average
|
|
165
|
+
**/
|
|
166
|
+
_avg?: AiTaskRunAvgAggregateInputType
|
|
167
|
+
/**
|
|
168
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
169
|
+
*
|
|
170
|
+
* Select which fields to sum
|
|
171
|
+
**/
|
|
172
|
+
_sum?: AiTaskRunSumAggregateInputType
|
|
173
|
+
/**
|
|
174
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
175
|
+
*
|
|
176
|
+
* Select which fields to find the minimum value
|
|
177
|
+
**/
|
|
178
|
+
_min?: AiTaskRunMinAggregateInputType
|
|
179
|
+
/**
|
|
180
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
181
|
+
*
|
|
182
|
+
* Select which fields to find the maximum value
|
|
183
|
+
**/
|
|
184
|
+
_max?: AiTaskRunMaxAggregateInputType
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
export type GetAiTaskRunAggregateType<T extends AiTaskRunAggregateArgs> = {
|
|
188
|
+
[P in keyof T & keyof AggregateAiTaskRun]: P extends '_count' | 'count'
|
|
189
|
+
? T[P] extends true
|
|
190
|
+
? number
|
|
191
|
+
: Prisma.GetScalarType<T[P], AggregateAiTaskRun[P]>
|
|
192
|
+
: Prisma.GetScalarType<T[P], AggregateAiTaskRun[P]>
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
export type AiTaskRunGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
199
|
+
where?: Prisma.AiTaskRunWhereInput
|
|
200
|
+
orderBy?: Prisma.AiTaskRunOrderByWithAggregationInput | Prisma.AiTaskRunOrderByWithAggregationInput[]
|
|
201
|
+
by: Prisma.AiTaskRunScalarFieldEnum[] | Prisma.AiTaskRunScalarFieldEnum
|
|
202
|
+
having?: Prisma.AiTaskRunScalarWhereWithAggregatesInput
|
|
203
|
+
take?: number
|
|
204
|
+
skip?: number
|
|
205
|
+
_count?: AiTaskRunCountAggregateInputType | true
|
|
206
|
+
_avg?: AiTaskRunAvgAggregateInputType
|
|
207
|
+
_sum?: AiTaskRunSumAggregateInputType
|
|
208
|
+
_min?: AiTaskRunMinAggregateInputType
|
|
209
|
+
_max?: AiTaskRunMaxAggregateInputType
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
export type AiTaskRunGroupByOutputType = {
|
|
213
|
+
id: string
|
|
214
|
+
taskId: string
|
|
215
|
+
trigger: string
|
|
216
|
+
status: string
|
|
217
|
+
resultSummary: string | null
|
|
218
|
+
error: string | null
|
|
219
|
+
parentRunId: string | null
|
|
220
|
+
startedAt: Date
|
|
221
|
+
finishedAt: Date | null
|
|
222
|
+
durationMs: number | null
|
|
223
|
+
_count: AiTaskRunCountAggregateOutputType | null
|
|
224
|
+
_avg: AiTaskRunAvgAggregateOutputType | null
|
|
225
|
+
_sum: AiTaskRunSumAggregateOutputType | null
|
|
226
|
+
_min: AiTaskRunMinAggregateOutputType | null
|
|
227
|
+
_max: AiTaskRunMaxAggregateOutputType | null
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
export type GetAiTaskRunGroupByPayload<T extends AiTaskRunGroupByArgs> = Prisma.PrismaPromise<
|
|
231
|
+
Array<
|
|
232
|
+
Prisma.PickEnumerable<AiTaskRunGroupByOutputType, T['by']> &
|
|
233
|
+
{
|
|
234
|
+
[P in ((keyof T) & (keyof AiTaskRunGroupByOutputType))]: P extends '_count'
|
|
235
|
+
? T[P] extends boolean
|
|
236
|
+
? number
|
|
237
|
+
: Prisma.GetScalarType<T[P], AiTaskRunGroupByOutputType[P]>
|
|
238
|
+
: Prisma.GetScalarType<T[P], AiTaskRunGroupByOutputType[P]>
|
|
239
|
+
}
|
|
240
|
+
>
|
|
241
|
+
>
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
export type AiTaskRunWhereInput = {
|
|
246
|
+
AND?: Prisma.AiTaskRunWhereInput | Prisma.AiTaskRunWhereInput[]
|
|
247
|
+
OR?: Prisma.AiTaskRunWhereInput[]
|
|
248
|
+
NOT?: Prisma.AiTaskRunWhereInput | Prisma.AiTaskRunWhereInput[]
|
|
249
|
+
id?: Prisma.StringFilter<"AiTaskRun"> | string
|
|
250
|
+
taskId?: Prisma.StringFilter<"AiTaskRun"> | string
|
|
251
|
+
trigger?: Prisma.StringFilter<"AiTaskRun"> | string
|
|
252
|
+
status?: Prisma.StringFilter<"AiTaskRun"> | string
|
|
253
|
+
resultSummary?: Prisma.StringNullableFilter<"AiTaskRun"> | string | null
|
|
254
|
+
error?: Prisma.StringNullableFilter<"AiTaskRun"> | string | null
|
|
255
|
+
parentRunId?: Prisma.StringNullableFilter<"AiTaskRun"> | string | null
|
|
256
|
+
startedAt?: Prisma.DateTimeFilter<"AiTaskRun"> | Date | string
|
|
257
|
+
finishedAt?: Prisma.DateTimeNullableFilter<"AiTaskRun"> | Date | string | null
|
|
258
|
+
durationMs?: Prisma.IntNullableFilter<"AiTaskRun"> | number | null
|
|
259
|
+
task?: Prisma.XOR<Prisma.AiTaskScalarRelationFilter, Prisma.AiTaskWhereInput>
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
export type AiTaskRunOrderByWithRelationInput = {
|
|
263
|
+
id?: Prisma.SortOrder
|
|
264
|
+
taskId?: Prisma.SortOrder
|
|
265
|
+
trigger?: Prisma.SortOrder
|
|
266
|
+
status?: Prisma.SortOrder
|
|
267
|
+
resultSummary?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
268
|
+
error?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
269
|
+
parentRunId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
270
|
+
startedAt?: Prisma.SortOrder
|
|
271
|
+
finishedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
272
|
+
durationMs?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
273
|
+
task?: Prisma.AiTaskOrderByWithRelationInput
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
export type AiTaskRunWhereUniqueInput = Prisma.AtLeast<{
|
|
277
|
+
id?: string
|
|
278
|
+
AND?: Prisma.AiTaskRunWhereInput | Prisma.AiTaskRunWhereInput[]
|
|
279
|
+
OR?: Prisma.AiTaskRunWhereInput[]
|
|
280
|
+
NOT?: Prisma.AiTaskRunWhereInput | Prisma.AiTaskRunWhereInput[]
|
|
281
|
+
taskId?: Prisma.StringFilter<"AiTaskRun"> | string
|
|
282
|
+
trigger?: Prisma.StringFilter<"AiTaskRun"> | string
|
|
283
|
+
status?: Prisma.StringFilter<"AiTaskRun"> | string
|
|
284
|
+
resultSummary?: Prisma.StringNullableFilter<"AiTaskRun"> | string | null
|
|
285
|
+
error?: Prisma.StringNullableFilter<"AiTaskRun"> | string | null
|
|
286
|
+
parentRunId?: Prisma.StringNullableFilter<"AiTaskRun"> | string | null
|
|
287
|
+
startedAt?: Prisma.DateTimeFilter<"AiTaskRun"> | Date | string
|
|
288
|
+
finishedAt?: Prisma.DateTimeNullableFilter<"AiTaskRun"> | Date | string | null
|
|
289
|
+
durationMs?: Prisma.IntNullableFilter<"AiTaskRun"> | number | null
|
|
290
|
+
task?: Prisma.XOR<Prisma.AiTaskScalarRelationFilter, Prisma.AiTaskWhereInput>
|
|
291
|
+
}, "id">
|
|
292
|
+
|
|
293
|
+
export type AiTaskRunOrderByWithAggregationInput = {
|
|
294
|
+
id?: Prisma.SortOrder
|
|
295
|
+
taskId?: Prisma.SortOrder
|
|
296
|
+
trigger?: Prisma.SortOrder
|
|
297
|
+
status?: Prisma.SortOrder
|
|
298
|
+
resultSummary?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
299
|
+
error?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
300
|
+
parentRunId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
301
|
+
startedAt?: Prisma.SortOrder
|
|
302
|
+
finishedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
303
|
+
durationMs?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
304
|
+
_count?: Prisma.AiTaskRunCountOrderByAggregateInput
|
|
305
|
+
_avg?: Prisma.AiTaskRunAvgOrderByAggregateInput
|
|
306
|
+
_max?: Prisma.AiTaskRunMaxOrderByAggregateInput
|
|
307
|
+
_min?: Prisma.AiTaskRunMinOrderByAggregateInput
|
|
308
|
+
_sum?: Prisma.AiTaskRunSumOrderByAggregateInput
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
export type AiTaskRunScalarWhereWithAggregatesInput = {
|
|
312
|
+
AND?: Prisma.AiTaskRunScalarWhereWithAggregatesInput | Prisma.AiTaskRunScalarWhereWithAggregatesInput[]
|
|
313
|
+
OR?: Prisma.AiTaskRunScalarWhereWithAggregatesInput[]
|
|
314
|
+
NOT?: Prisma.AiTaskRunScalarWhereWithAggregatesInput | Prisma.AiTaskRunScalarWhereWithAggregatesInput[]
|
|
315
|
+
id?: Prisma.StringWithAggregatesFilter<"AiTaskRun"> | string
|
|
316
|
+
taskId?: Prisma.StringWithAggregatesFilter<"AiTaskRun"> | string
|
|
317
|
+
trigger?: Prisma.StringWithAggregatesFilter<"AiTaskRun"> | string
|
|
318
|
+
status?: Prisma.StringWithAggregatesFilter<"AiTaskRun"> | string
|
|
319
|
+
resultSummary?: Prisma.StringNullableWithAggregatesFilter<"AiTaskRun"> | string | null
|
|
320
|
+
error?: Prisma.StringNullableWithAggregatesFilter<"AiTaskRun"> | string | null
|
|
321
|
+
parentRunId?: Prisma.StringNullableWithAggregatesFilter<"AiTaskRun"> | string | null
|
|
322
|
+
startedAt?: Prisma.DateTimeWithAggregatesFilter<"AiTaskRun"> | Date | string
|
|
323
|
+
finishedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AiTaskRun"> | Date | string | null
|
|
324
|
+
durationMs?: Prisma.IntNullableWithAggregatesFilter<"AiTaskRun"> | number | null
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
export type AiTaskRunCreateInput = {
|
|
328
|
+
id?: string
|
|
329
|
+
trigger?: string
|
|
330
|
+
status?: string
|
|
331
|
+
resultSummary?: string | null
|
|
332
|
+
error?: string | null
|
|
333
|
+
parentRunId?: string | null
|
|
334
|
+
startedAt?: Date | string
|
|
335
|
+
finishedAt?: Date | string | null
|
|
336
|
+
durationMs?: number | null
|
|
337
|
+
task: Prisma.AiTaskCreateNestedOneWithoutRunsInput
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
export type AiTaskRunUncheckedCreateInput = {
|
|
341
|
+
id?: string
|
|
342
|
+
taskId: string
|
|
343
|
+
trigger?: string
|
|
344
|
+
status?: string
|
|
345
|
+
resultSummary?: string | null
|
|
346
|
+
error?: string | null
|
|
347
|
+
parentRunId?: string | null
|
|
348
|
+
startedAt?: Date | string
|
|
349
|
+
finishedAt?: Date | string | null
|
|
350
|
+
durationMs?: number | null
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
export type AiTaskRunUpdateInput = {
|
|
354
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
355
|
+
trigger?: Prisma.StringFieldUpdateOperationsInput | string
|
|
356
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
357
|
+
resultSummary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
358
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
359
|
+
parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
360
|
+
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
361
|
+
finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
362
|
+
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
363
|
+
task?: Prisma.AiTaskUpdateOneRequiredWithoutRunsNestedInput
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
export type AiTaskRunUncheckedUpdateInput = {
|
|
367
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
368
|
+
taskId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
369
|
+
trigger?: Prisma.StringFieldUpdateOperationsInput | string
|
|
370
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
371
|
+
resultSummary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
372
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
373
|
+
parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
374
|
+
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
375
|
+
finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
376
|
+
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
export type AiTaskRunCreateManyInput = {
|
|
380
|
+
id?: string
|
|
381
|
+
taskId: string
|
|
382
|
+
trigger?: string
|
|
383
|
+
status?: string
|
|
384
|
+
resultSummary?: string | null
|
|
385
|
+
error?: string | null
|
|
386
|
+
parentRunId?: string | null
|
|
387
|
+
startedAt?: Date | string
|
|
388
|
+
finishedAt?: Date | string | null
|
|
389
|
+
durationMs?: number | null
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
export type AiTaskRunUpdateManyMutationInput = {
|
|
393
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
394
|
+
trigger?: Prisma.StringFieldUpdateOperationsInput | string
|
|
395
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
396
|
+
resultSummary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
397
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
398
|
+
parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
399
|
+
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
400
|
+
finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
401
|
+
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
export type AiTaskRunUncheckedUpdateManyInput = {
|
|
405
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
406
|
+
taskId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
407
|
+
trigger?: Prisma.StringFieldUpdateOperationsInput | string
|
|
408
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
409
|
+
resultSummary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
410
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
411
|
+
parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
412
|
+
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
413
|
+
finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
414
|
+
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
export type AiTaskRunListRelationFilter = {
|
|
418
|
+
every?: Prisma.AiTaskRunWhereInput
|
|
419
|
+
some?: Prisma.AiTaskRunWhereInput
|
|
420
|
+
none?: Prisma.AiTaskRunWhereInput
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
export type AiTaskRunOrderByRelationAggregateInput = {
|
|
424
|
+
_count?: Prisma.SortOrder
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
export type AiTaskRunCountOrderByAggregateInput = {
|
|
428
|
+
id?: Prisma.SortOrder
|
|
429
|
+
taskId?: Prisma.SortOrder
|
|
430
|
+
trigger?: Prisma.SortOrder
|
|
431
|
+
status?: Prisma.SortOrder
|
|
432
|
+
resultSummary?: Prisma.SortOrder
|
|
433
|
+
error?: Prisma.SortOrder
|
|
434
|
+
parentRunId?: Prisma.SortOrder
|
|
435
|
+
startedAt?: Prisma.SortOrder
|
|
436
|
+
finishedAt?: Prisma.SortOrder
|
|
437
|
+
durationMs?: Prisma.SortOrder
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
export type AiTaskRunAvgOrderByAggregateInput = {
|
|
441
|
+
durationMs?: Prisma.SortOrder
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
export type AiTaskRunMaxOrderByAggregateInput = {
|
|
445
|
+
id?: Prisma.SortOrder
|
|
446
|
+
taskId?: Prisma.SortOrder
|
|
447
|
+
trigger?: Prisma.SortOrder
|
|
448
|
+
status?: Prisma.SortOrder
|
|
449
|
+
resultSummary?: Prisma.SortOrder
|
|
450
|
+
error?: Prisma.SortOrder
|
|
451
|
+
parentRunId?: Prisma.SortOrder
|
|
452
|
+
startedAt?: Prisma.SortOrder
|
|
453
|
+
finishedAt?: Prisma.SortOrder
|
|
454
|
+
durationMs?: Prisma.SortOrder
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
export type AiTaskRunMinOrderByAggregateInput = {
|
|
458
|
+
id?: Prisma.SortOrder
|
|
459
|
+
taskId?: Prisma.SortOrder
|
|
460
|
+
trigger?: Prisma.SortOrder
|
|
461
|
+
status?: Prisma.SortOrder
|
|
462
|
+
resultSummary?: Prisma.SortOrder
|
|
463
|
+
error?: Prisma.SortOrder
|
|
464
|
+
parentRunId?: Prisma.SortOrder
|
|
465
|
+
startedAt?: Prisma.SortOrder
|
|
466
|
+
finishedAt?: Prisma.SortOrder
|
|
467
|
+
durationMs?: Prisma.SortOrder
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
export type AiTaskRunSumOrderByAggregateInput = {
|
|
471
|
+
durationMs?: Prisma.SortOrder
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
export type AiTaskRunCreateNestedManyWithoutTaskInput = {
|
|
475
|
+
create?: Prisma.XOR<Prisma.AiTaskRunCreateWithoutTaskInput, Prisma.AiTaskRunUncheckedCreateWithoutTaskInput> | Prisma.AiTaskRunCreateWithoutTaskInput[] | Prisma.AiTaskRunUncheckedCreateWithoutTaskInput[]
|
|
476
|
+
connectOrCreate?: Prisma.AiTaskRunCreateOrConnectWithoutTaskInput | Prisma.AiTaskRunCreateOrConnectWithoutTaskInput[]
|
|
477
|
+
createMany?: Prisma.AiTaskRunCreateManyTaskInputEnvelope
|
|
478
|
+
connect?: Prisma.AiTaskRunWhereUniqueInput | Prisma.AiTaskRunWhereUniqueInput[]
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
export type AiTaskRunUncheckedCreateNestedManyWithoutTaskInput = {
|
|
482
|
+
create?: Prisma.XOR<Prisma.AiTaskRunCreateWithoutTaskInput, Prisma.AiTaskRunUncheckedCreateWithoutTaskInput> | Prisma.AiTaskRunCreateWithoutTaskInput[] | Prisma.AiTaskRunUncheckedCreateWithoutTaskInput[]
|
|
483
|
+
connectOrCreate?: Prisma.AiTaskRunCreateOrConnectWithoutTaskInput | Prisma.AiTaskRunCreateOrConnectWithoutTaskInput[]
|
|
484
|
+
createMany?: Prisma.AiTaskRunCreateManyTaskInputEnvelope
|
|
485
|
+
connect?: Prisma.AiTaskRunWhereUniqueInput | Prisma.AiTaskRunWhereUniqueInput[]
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
export type AiTaskRunUpdateManyWithoutTaskNestedInput = {
|
|
489
|
+
create?: Prisma.XOR<Prisma.AiTaskRunCreateWithoutTaskInput, Prisma.AiTaskRunUncheckedCreateWithoutTaskInput> | Prisma.AiTaskRunCreateWithoutTaskInput[] | Prisma.AiTaskRunUncheckedCreateWithoutTaskInput[]
|
|
490
|
+
connectOrCreate?: Prisma.AiTaskRunCreateOrConnectWithoutTaskInput | Prisma.AiTaskRunCreateOrConnectWithoutTaskInput[]
|
|
491
|
+
upsert?: Prisma.AiTaskRunUpsertWithWhereUniqueWithoutTaskInput | Prisma.AiTaskRunUpsertWithWhereUniqueWithoutTaskInput[]
|
|
492
|
+
createMany?: Prisma.AiTaskRunCreateManyTaskInputEnvelope
|
|
493
|
+
set?: Prisma.AiTaskRunWhereUniqueInput | Prisma.AiTaskRunWhereUniqueInput[]
|
|
494
|
+
disconnect?: Prisma.AiTaskRunWhereUniqueInput | Prisma.AiTaskRunWhereUniqueInput[]
|
|
495
|
+
delete?: Prisma.AiTaskRunWhereUniqueInput | Prisma.AiTaskRunWhereUniqueInput[]
|
|
496
|
+
connect?: Prisma.AiTaskRunWhereUniqueInput | Prisma.AiTaskRunWhereUniqueInput[]
|
|
497
|
+
update?: Prisma.AiTaskRunUpdateWithWhereUniqueWithoutTaskInput | Prisma.AiTaskRunUpdateWithWhereUniqueWithoutTaskInput[]
|
|
498
|
+
updateMany?: Prisma.AiTaskRunUpdateManyWithWhereWithoutTaskInput | Prisma.AiTaskRunUpdateManyWithWhereWithoutTaskInput[]
|
|
499
|
+
deleteMany?: Prisma.AiTaskRunScalarWhereInput | Prisma.AiTaskRunScalarWhereInput[]
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
export type AiTaskRunUncheckedUpdateManyWithoutTaskNestedInput = {
|
|
503
|
+
create?: Prisma.XOR<Prisma.AiTaskRunCreateWithoutTaskInput, Prisma.AiTaskRunUncheckedCreateWithoutTaskInput> | Prisma.AiTaskRunCreateWithoutTaskInput[] | Prisma.AiTaskRunUncheckedCreateWithoutTaskInput[]
|
|
504
|
+
connectOrCreate?: Prisma.AiTaskRunCreateOrConnectWithoutTaskInput | Prisma.AiTaskRunCreateOrConnectWithoutTaskInput[]
|
|
505
|
+
upsert?: Prisma.AiTaskRunUpsertWithWhereUniqueWithoutTaskInput | Prisma.AiTaskRunUpsertWithWhereUniqueWithoutTaskInput[]
|
|
506
|
+
createMany?: Prisma.AiTaskRunCreateManyTaskInputEnvelope
|
|
507
|
+
set?: Prisma.AiTaskRunWhereUniqueInput | Prisma.AiTaskRunWhereUniqueInput[]
|
|
508
|
+
disconnect?: Prisma.AiTaskRunWhereUniqueInput | Prisma.AiTaskRunWhereUniqueInput[]
|
|
509
|
+
delete?: Prisma.AiTaskRunWhereUniqueInput | Prisma.AiTaskRunWhereUniqueInput[]
|
|
510
|
+
connect?: Prisma.AiTaskRunWhereUniqueInput | Prisma.AiTaskRunWhereUniqueInput[]
|
|
511
|
+
update?: Prisma.AiTaskRunUpdateWithWhereUniqueWithoutTaskInput | Prisma.AiTaskRunUpdateWithWhereUniqueWithoutTaskInput[]
|
|
512
|
+
updateMany?: Prisma.AiTaskRunUpdateManyWithWhereWithoutTaskInput | Prisma.AiTaskRunUpdateManyWithWhereWithoutTaskInput[]
|
|
513
|
+
deleteMany?: Prisma.AiTaskRunScalarWhereInput | Prisma.AiTaskRunScalarWhereInput[]
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
export type AiTaskRunCreateWithoutTaskInput = {
|
|
517
|
+
id?: string
|
|
518
|
+
trigger?: string
|
|
519
|
+
status?: string
|
|
520
|
+
resultSummary?: string | null
|
|
521
|
+
error?: string | null
|
|
522
|
+
parentRunId?: string | null
|
|
523
|
+
startedAt?: Date | string
|
|
524
|
+
finishedAt?: Date | string | null
|
|
525
|
+
durationMs?: number | null
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
export type AiTaskRunUncheckedCreateWithoutTaskInput = {
|
|
529
|
+
id?: string
|
|
530
|
+
trigger?: string
|
|
531
|
+
status?: string
|
|
532
|
+
resultSummary?: string | null
|
|
533
|
+
error?: string | null
|
|
534
|
+
parentRunId?: string | null
|
|
535
|
+
startedAt?: Date | string
|
|
536
|
+
finishedAt?: Date | string | null
|
|
537
|
+
durationMs?: number | null
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
export type AiTaskRunCreateOrConnectWithoutTaskInput = {
|
|
541
|
+
where: Prisma.AiTaskRunWhereUniqueInput
|
|
542
|
+
create: Prisma.XOR<Prisma.AiTaskRunCreateWithoutTaskInput, Prisma.AiTaskRunUncheckedCreateWithoutTaskInput>
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
export type AiTaskRunCreateManyTaskInputEnvelope = {
|
|
546
|
+
data: Prisma.AiTaskRunCreateManyTaskInput | Prisma.AiTaskRunCreateManyTaskInput[]
|
|
547
|
+
skipDuplicates?: boolean
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
export type AiTaskRunUpsertWithWhereUniqueWithoutTaskInput = {
|
|
551
|
+
where: Prisma.AiTaskRunWhereUniqueInput
|
|
552
|
+
update: Prisma.XOR<Prisma.AiTaskRunUpdateWithoutTaskInput, Prisma.AiTaskRunUncheckedUpdateWithoutTaskInput>
|
|
553
|
+
create: Prisma.XOR<Prisma.AiTaskRunCreateWithoutTaskInput, Prisma.AiTaskRunUncheckedCreateWithoutTaskInput>
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
export type AiTaskRunUpdateWithWhereUniqueWithoutTaskInput = {
|
|
557
|
+
where: Prisma.AiTaskRunWhereUniqueInput
|
|
558
|
+
data: Prisma.XOR<Prisma.AiTaskRunUpdateWithoutTaskInput, Prisma.AiTaskRunUncheckedUpdateWithoutTaskInput>
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
export type AiTaskRunUpdateManyWithWhereWithoutTaskInput = {
|
|
562
|
+
where: Prisma.AiTaskRunScalarWhereInput
|
|
563
|
+
data: Prisma.XOR<Prisma.AiTaskRunUpdateManyMutationInput, Prisma.AiTaskRunUncheckedUpdateManyWithoutTaskInput>
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
export type AiTaskRunScalarWhereInput = {
|
|
567
|
+
AND?: Prisma.AiTaskRunScalarWhereInput | Prisma.AiTaskRunScalarWhereInput[]
|
|
568
|
+
OR?: Prisma.AiTaskRunScalarWhereInput[]
|
|
569
|
+
NOT?: Prisma.AiTaskRunScalarWhereInput | Prisma.AiTaskRunScalarWhereInput[]
|
|
570
|
+
id?: Prisma.StringFilter<"AiTaskRun"> | string
|
|
571
|
+
taskId?: Prisma.StringFilter<"AiTaskRun"> | string
|
|
572
|
+
trigger?: Prisma.StringFilter<"AiTaskRun"> | string
|
|
573
|
+
status?: Prisma.StringFilter<"AiTaskRun"> | string
|
|
574
|
+
resultSummary?: Prisma.StringNullableFilter<"AiTaskRun"> | string | null
|
|
575
|
+
error?: Prisma.StringNullableFilter<"AiTaskRun"> | string | null
|
|
576
|
+
parentRunId?: Prisma.StringNullableFilter<"AiTaskRun"> | string | null
|
|
577
|
+
startedAt?: Prisma.DateTimeFilter<"AiTaskRun"> | Date | string
|
|
578
|
+
finishedAt?: Prisma.DateTimeNullableFilter<"AiTaskRun"> | Date | string | null
|
|
579
|
+
durationMs?: Prisma.IntNullableFilter<"AiTaskRun"> | number | null
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
export type AiTaskRunCreateManyTaskInput = {
|
|
583
|
+
id?: string
|
|
584
|
+
trigger?: string
|
|
585
|
+
status?: string
|
|
586
|
+
resultSummary?: string | null
|
|
587
|
+
error?: string | null
|
|
588
|
+
parentRunId?: string | null
|
|
589
|
+
startedAt?: Date | string
|
|
590
|
+
finishedAt?: Date | string | null
|
|
591
|
+
durationMs?: number | null
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
export type AiTaskRunUpdateWithoutTaskInput = {
|
|
595
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
596
|
+
trigger?: Prisma.StringFieldUpdateOperationsInput | string
|
|
597
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
598
|
+
resultSummary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
599
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
600
|
+
parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
601
|
+
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
602
|
+
finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
603
|
+
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
export type AiTaskRunUncheckedUpdateWithoutTaskInput = {
|
|
607
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
608
|
+
trigger?: Prisma.StringFieldUpdateOperationsInput | string
|
|
609
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
610
|
+
resultSummary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
611
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
612
|
+
parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
613
|
+
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
614
|
+
finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
615
|
+
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
export type AiTaskRunUncheckedUpdateManyWithoutTaskInput = {
|
|
619
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
620
|
+
trigger?: Prisma.StringFieldUpdateOperationsInput | string
|
|
621
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
622
|
+
resultSummary?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
623
|
+
error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
624
|
+
parentRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
625
|
+
startedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
626
|
+
finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
627
|
+
durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
|
|
631
|
+
|
|
632
|
+
export type AiTaskRunSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
633
|
+
id?: boolean
|
|
634
|
+
taskId?: boolean
|
|
635
|
+
trigger?: boolean
|
|
636
|
+
status?: boolean
|
|
637
|
+
resultSummary?: boolean
|
|
638
|
+
error?: boolean
|
|
639
|
+
parentRunId?: boolean
|
|
640
|
+
startedAt?: boolean
|
|
641
|
+
finishedAt?: boolean
|
|
642
|
+
durationMs?: boolean
|
|
643
|
+
task?: boolean | Prisma.AiTaskDefaultArgs<ExtArgs>
|
|
644
|
+
}, ExtArgs["result"]["aiTaskRun"]>
|
|
645
|
+
|
|
646
|
+
export type AiTaskRunSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
647
|
+
id?: boolean
|
|
648
|
+
taskId?: boolean
|
|
649
|
+
trigger?: boolean
|
|
650
|
+
status?: boolean
|
|
651
|
+
resultSummary?: boolean
|
|
652
|
+
error?: boolean
|
|
653
|
+
parentRunId?: boolean
|
|
654
|
+
startedAt?: boolean
|
|
655
|
+
finishedAt?: boolean
|
|
656
|
+
durationMs?: boolean
|
|
657
|
+
task?: boolean | Prisma.AiTaskDefaultArgs<ExtArgs>
|
|
658
|
+
}, ExtArgs["result"]["aiTaskRun"]>
|
|
659
|
+
|
|
660
|
+
export type AiTaskRunSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
661
|
+
id?: boolean
|
|
662
|
+
taskId?: boolean
|
|
663
|
+
trigger?: boolean
|
|
664
|
+
status?: boolean
|
|
665
|
+
resultSummary?: boolean
|
|
666
|
+
error?: boolean
|
|
667
|
+
parentRunId?: boolean
|
|
668
|
+
startedAt?: boolean
|
|
669
|
+
finishedAt?: boolean
|
|
670
|
+
durationMs?: boolean
|
|
671
|
+
task?: boolean | Prisma.AiTaskDefaultArgs<ExtArgs>
|
|
672
|
+
}, ExtArgs["result"]["aiTaskRun"]>
|
|
673
|
+
|
|
674
|
+
export type AiTaskRunSelectScalar = {
|
|
675
|
+
id?: boolean
|
|
676
|
+
taskId?: boolean
|
|
677
|
+
trigger?: boolean
|
|
678
|
+
status?: boolean
|
|
679
|
+
resultSummary?: boolean
|
|
680
|
+
error?: boolean
|
|
681
|
+
parentRunId?: boolean
|
|
682
|
+
startedAt?: boolean
|
|
683
|
+
finishedAt?: boolean
|
|
684
|
+
durationMs?: boolean
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
export type AiTaskRunOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "taskId" | "trigger" | "status" | "resultSummary" | "error" | "parentRunId" | "startedAt" | "finishedAt" | "durationMs", ExtArgs["result"]["aiTaskRun"]>
|
|
688
|
+
export type AiTaskRunInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
689
|
+
task?: boolean | Prisma.AiTaskDefaultArgs<ExtArgs>
|
|
690
|
+
}
|
|
691
|
+
export type AiTaskRunIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
692
|
+
task?: boolean | Prisma.AiTaskDefaultArgs<ExtArgs>
|
|
693
|
+
}
|
|
694
|
+
export type AiTaskRunIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
695
|
+
task?: boolean | Prisma.AiTaskDefaultArgs<ExtArgs>
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
export type $AiTaskRunPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
699
|
+
name: "AiTaskRun"
|
|
700
|
+
objects: {
|
|
701
|
+
task: Prisma.$AiTaskPayload<ExtArgs>
|
|
702
|
+
}
|
|
703
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
704
|
+
id: string
|
|
705
|
+
taskId: string
|
|
706
|
+
trigger: string
|
|
707
|
+
status: string
|
|
708
|
+
resultSummary: string | null
|
|
709
|
+
error: string | null
|
|
710
|
+
parentRunId: string | null
|
|
711
|
+
startedAt: Date
|
|
712
|
+
finishedAt: Date | null
|
|
713
|
+
durationMs: number | null
|
|
714
|
+
}, ExtArgs["result"]["aiTaskRun"]>
|
|
715
|
+
composites: {}
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
export type AiTaskRunGetPayload<S extends boolean | null | undefined | AiTaskRunDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AiTaskRunPayload, S>
|
|
719
|
+
|
|
720
|
+
export type AiTaskRunCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
721
|
+
Omit<AiTaskRunFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
722
|
+
select?: AiTaskRunCountAggregateInputType | true
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
export interface AiTaskRunDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
726
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AiTaskRun'], meta: { name: 'AiTaskRun' } }
|
|
727
|
+
/**
|
|
728
|
+
* Find zero or one AiTaskRun that matches the filter.
|
|
729
|
+
* @param {AiTaskRunFindUniqueArgs} args - Arguments to find a AiTaskRun
|
|
730
|
+
* @example
|
|
731
|
+
* // Get one AiTaskRun
|
|
732
|
+
* const aiTaskRun = await prisma.aiTaskRun.findUnique({
|
|
733
|
+
* where: {
|
|
734
|
+
* // ... provide filter here
|
|
735
|
+
* }
|
|
736
|
+
* })
|
|
737
|
+
*/
|
|
738
|
+
findUnique<T extends AiTaskRunFindUniqueArgs>(args: Prisma.SelectSubset<T, AiTaskRunFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AiTaskRunClient<runtime.Types.Result.GetResult<Prisma.$AiTaskRunPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
739
|
+
|
|
740
|
+
/**
|
|
741
|
+
* Find one AiTaskRun that matches the filter or throw an error with `error.code='P2025'`
|
|
742
|
+
* if no matches were found.
|
|
743
|
+
* @param {AiTaskRunFindUniqueOrThrowArgs} args - Arguments to find a AiTaskRun
|
|
744
|
+
* @example
|
|
745
|
+
* // Get one AiTaskRun
|
|
746
|
+
* const aiTaskRun = await prisma.aiTaskRun.findUniqueOrThrow({
|
|
747
|
+
* where: {
|
|
748
|
+
* // ... provide filter here
|
|
749
|
+
* }
|
|
750
|
+
* })
|
|
751
|
+
*/
|
|
752
|
+
findUniqueOrThrow<T extends AiTaskRunFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AiTaskRunFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AiTaskRunClient<runtime.Types.Result.GetResult<Prisma.$AiTaskRunPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
753
|
+
|
|
754
|
+
/**
|
|
755
|
+
* Find the first AiTaskRun that matches the filter.
|
|
756
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
757
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
758
|
+
* @param {AiTaskRunFindFirstArgs} args - Arguments to find a AiTaskRun
|
|
759
|
+
* @example
|
|
760
|
+
* // Get one AiTaskRun
|
|
761
|
+
* const aiTaskRun = await prisma.aiTaskRun.findFirst({
|
|
762
|
+
* where: {
|
|
763
|
+
* // ... provide filter here
|
|
764
|
+
* }
|
|
765
|
+
* })
|
|
766
|
+
*/
|
|
767
|
+
findFirst<T extends AiTaskRunFindFirstArgs>(args?: Prisma.SelectSubset<T, AiTaskRunFindFirstArgs<ExtArgs>>): Prisma.Prisma__AiTaskRunClient<runtime.Types.Result.GetResult<Prisma.$AiTaskRunPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
768
|
+
|
|
769
|
+
/**
|
|
770
|
+
* Find the first AiTaskRun that matches the filter or
|
|
771
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
772
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
773
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
774
|
+
* @param {AiTaskRunFindFirstOrThrowArgs} args - Arguments to find a AiTaskRun
|
|
775
|
+
* @example
|
|
776
|
+
* // Get one AiTaskRun
|
|
777
|
+
* const aiTaskRun = await prisma.aiTaskRun.findFirstOrThrow({
|
|
778
|
+
* where: {
|
|
779
|
+
* // ... provide filter here
|
|
780
|
+
* }
|
|
781
|
+
* })
|
|
782
|
+
*/
|
|
783
|
+
findFirstOrThrow<T extends AiTaskRunFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AiTaskRunFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AiTaskRunClient<runtime.Types.Result.GetResult<Prisma.$AiTaskRunPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
784
|
+
|
|
785
|
+
/**
|
|
786
|
+
* Find zero or more AiTaskRuns that matches the filter.
|
|
787
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
788
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
789
|
+
* @param {AiTaskRunFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
790
|
+
* @example
|
|
791
|
+
* // Get all AiTaskRuns
|
|
792
|
+
* const aiTaskRuns = await prisma.aiTaskRun.findMany()
|
|
793
|
+
*
|
|
794
|
+
* // Get first 10 AiTaskRuns
|
|
795
|
+
* const aiTaskRuns = await prisma.aiTaskRun.findMany({ take: 10 })
|
|
796
|
+
*
|
|
797
|
+
* // Only select the `id`
|
|
798
|
+
* const aiTaskRunWithIdOnly = await prisma.aiTaskRun.findMany({ select: { id: true } })
|
|
799
|
+
*
|
|
800
|
+
*/
|
|
801
|
+
findMany<T extends AiTaskRunFindManyArgs>(args?: Prisma.SelectSubset<T, AiTaskRunFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AiTaskRunPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
802
|
+
|
|
803
|
+
/**
|
|
804
|
+
* Create a AiTaskRun.
|
|
805
|
+
* @param {AiTaskRunCreateArgs} args - Arguments to create a AiTaskRun.
|
|
806
|
+
* @example
|
|
807
|
+
* // Create one AiTaskRun
|
|
808
|
+
* const AiTaskRun = await prisma.aiTaskRun.create({
|
|
809
|
+
* data: {
|
|
810
|
+
* // ... data to create a AiTaskRun
|
|
811
|
+
* }
|
|
812
|
+
* })
|
|
813
|
+
*
|
|
814
|
+
*/
|
|
815
|
+
create<T extends AiTaskRunCreateArgs>(args: Prisma.SelectSubset<T, AiTaskRunCreateArgs<ExtArgs>>): Prisma.Prisma__AiTaskRunClient<runtime.Types.Result.GetResult<Prisma.$AiTaskRunPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
816
|
+
|
|
817
|
+
/**
|
|
818
|
+
* Create many AiTaskRuns.
|
|
819
|
+
* @param {AiTaskRunCreateManyArgs} args - Arguments to create many AiTaskRuns.
|
|
820
|
+
* @example
|
|
821
|
+
* // Create many AiTaskRuns
|
|
822
|
+
* const aiTaskRun = await prisma.aiTaskRun.createMany({
|
|
823
|
+
* data: [
|
|
824
|
+
* // ... provide data here
|
|
825
|
+
* ]
|
|
826
|
+
* })
|
|
827
|
+
*
|
|
828
|
+
*/
|
|
829
|
+
createMany<T extends AiTaskRunCreateManyArgs>(args?: Prisma.SelectSubset<T, AiTaskRunCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
830
|
+
|
|
831
|
+
/**
|
|
832
|
+
* Create many AiTaskRuns and returns the data saved in the database.
|
|
833
|
+
* @param {AiTaskRunCreateManyAndReturnArgs} args - Arguments to create many AiTaskRuns.
|
|
834
|
+
* @example
|
|
835
|
+
* // Create many AiTaskRuns
|
|
836
|
+
* const aiTaskRun = await prisma.aiTaskRun.createManyAndReturn({
|
|
837
|
+
* data: [
|
|
838
|
+
* // ... provide data here
|
|
839
|
+
* ]
|
|
840
|
+
* })
|
|
841
|
+
*
|
|
842
|
+
* // Create many AiTaskRuns and only return the `id`
|
|
843
|
+
* const aiTaskRunWithIdOnly = await prisma.aiTaskRun.createManyAndReturn({
|
|
844
|
+
* select: { id: true },
|
|
845
|
+
* data: [
|
|
846
|
+
* // ... provide data here
|
|
847
|
+
* ]
|
|
848
|
+
* })
|
|
849
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
850
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
851
|
+
*
|
|
852
|
+
*/
|
|
853
|
+
createManyAndReturn<T extends AiTaskRunCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AiTaskRunCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AiTaskRunPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
854
|
+
|
|
855
|
+
/**
|
|
856
|
+
* Delete a AiTaskRun.
|
|
857
|
+
* @param {AiTaskRunDeleteArgs} args - Arguments to delete one AiTaskRun.
|
|
858
|
+
* @example
|
|
859
|
+
* // Delete one AiTaskRun
|
|
860
|
+
* const AiTaskRun = await prisma.aiTaskRun.delete({
|
|
861
|
+
* where: {
|
|
862
|
+
* // ... filter to delete one AiTaskRun
|
|
863
|
+
* }
|
|
864
|
+
* })
|
|
865
|
+
*
|
|
866
|
+
*/
|
|
867
|
+
delete<T extends AiTaskRunDeleteArgs>(args: Prisma.SelectSubset<T, AiTaskRunDeleteArgs<ExtArgs>>): Prisma.Prisma__AiTaskRunClient<runtime.Types.Result.GetResult<Prisma.$AiTaskRunPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
868
|
+
|
|
869
|
+
/**
|
|
870
|
+
* Update one AiTaskRun.
|
|
871
|
+
* @param {AiTaskRunUpdateArgs} args - Arguments to update one AiTaskRun.
|
|
872
|
+
* @example
|
|
873
|
+
* // Update one AiTaskRun
|
|
874
|
+
* const aiTaskRun = await prisma.aiTaskRun.update({
|
|
875
|
+
* where: {
|
|
876
|
+
* // ... provide filter here
|
|
877
|
+
* },
|
|
878
|
+
* data: {
|
|
879
|
+
* // ... provide data here
|
|
880
|
+
* }
|
|
881
|
+
* })
|
|
882
|
+
*
|
|
883
|
+
*/
|
|
884
|
+
update<T extends AiTaskRunUpdateArgs>(args: Prisma.SelectSubset<T, AiTaskRunUpdateArgs<ExtArgs>>): Prisma.Prisma__AiTaskRunClient<runtime.Types.Result.GetResult<Prisma.$AiTaskRunPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
885
|
+
|
|
886
|
+
/**
|
|
887
|
+
* Delete zero or more AiTaskRuns.
|
|
888
|
+
* @param {AiTaskRunDeleteManyArgs} args - Arguments to filter AiTaskRuns to delete.
|
|
889
|
+
* @example
|
|
890
|
+
* // Delete a few AiTaskRuns
|
|
891
|
+
* const { count } = await prisma.aiTaskRun.deleteMany({
|
|
892
|
+
* where: {
|
|
893
|
+
* // ... provide filter here
|
|
894
|
+
* }
|
|
895
|
+
* })
|
|
896
|
+
*
|
|
897
|
+
*/
|
|
898
|
+
deleteMany<T extends AiTaskRunDeleteManyArgs>(args?: Prisma.SelectSubset<T, AiTaskRunDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
899
|
+
|
|
900
|
+
/**
|
|
901
|
+
* Update zero or more AiTaskRuns.
|
|
902
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
903
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
904
|
+
* @param {AiTaskRunUpdateManyArgs} args - Arguments to update one or more rows.
|
|
905
|
+
* @example
|
|
906
|
+
* // Update many AiTaskRuns
|
|
907
|
+
* const aiTaskRun = await prisma.aiTaskRun.updateMany({
|
|
908
|
+
* where: {
|
|
909
|
+
* // ... provide filter here
|
|
910
|
+
* },
|
|
911
|
+
* data: {
|
|
912
|
+
* // ... provide data here
|
|
913
|
+
* }
|
|
914
|
+
* })
|
|
915
|
+
*
|
|
916
|
+
*/
|
|
917
|
+
updateMany<T extends AiTaskRunUpdateManyArgs>(args: Prisma.SelectSubset<T, AiTaskRunUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
918
|
+
|
|
919
|
+
/**
|
|
920
|
+
* Update zero or more AiTaskRuns and returns the data updated in the database.
|
|
921
|
+
* @param {AiTaskRunUpdateManyAndReturnArgs} args - Arguments to update many AiTaskRuns.
|
|
922
|
+
* @example
|
|
923
|
+
* // Update many AiTaskRuns
|
|
924
|
+
* const aiTaskRun = await prisma.aiTaskRun.updateManyAndReturn({
|
|
925
|
+
* where: {
|
|
926
|
+
* // ... provide filter here
|
|
927
|
+
* },
|
|
928
|
+
* data: [
|
|
929
|
+
* // ... provide data here
|
|
930
|
+
* ]
|
|
931
|
+
* })
|
|
932
|
+
*
|
|
933
|
+
* // Update zero or more AiTaskRuns and only return the `id`
|
|
934
|
+
* const aiTaskRunWithIdOnly = await prisma.aiTaskRun.updateManyAndReturn({
|
|
935
|
+
* select: { id: true },
|
|
936
|
+
* where: {
|
|
937
|
+
* // ... provide filter here
|
|
938
|
+
* },
|
|
939
|
+
* data: [
|
|
940
|
+
* // ... provide data here
|
|
941
|
+
* ]
|
|
942
|
+
* })
|
|
943
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
944
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
945
|
+
*
|
|
946
|
+
*/
|
|
947
|
+
updateManyAndReturn<T extends AiTaskRunUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AiTaskRunUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AiTaskRunPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
948
|
+
|
|
949
|
+
/**
|
|
950
|
+
* Create or update one AiTaskRun.
|
|
951
|
+
* @param {AiTaskRunUpsertArgs} args - Arguments to update or create a AiTaskRun.
|
|
952
|
+
* @example
|
|
953
|
+
* // Update or create a AiTaskRun
|
|
954
|
+
* const aiTaskRun = await prisma.aiTaskRun.upsert({
|
|
955
|
+
* create: {
|
|
956
|
+
* // ... data to create a AiTaskRun
|
|
957
|
+
* },
|
|
958
|
+
* update: {
|
|
959
|
+
* // ... in case it already exists, update
|
|
960
|
+
* },
|
|
961
|
+
* where: {
|
|
962
|
+
* // ... the filter for the AiTaskRun we want to update
|
|
963
|
+
* }
|
|
964
|
+
* })
|
|
965
|
+
*/
|
|
966
|
+
upsert<T extends AiTaskRunUpsertArgs>(args: Prisma.SelectSubset<T, AiTaskRunUpsertArgs<ExtArgs>>): Prisma.Prisma__AiTaskRunClient<runtime.Types.Result.GetResult<Prisma.$AiTaskRunPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
967
|
+
|
|
968
|
+
|
|
969
|
+
/**
|
|
970
|
+
* Count the number of AiTaskRuns.
|
|
971
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
972
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
973
|
+
* @param {AiTaskRunCountArgs} args - Arguments to filter AiTaskRuns to count.
|
|
974
|
+
* @example
|
|
975
|
+
* // Count the number of AiTaskRuns
|
|
976
|
+
* const count = await prisma.aiTaskRun.count({
|
|
977
|
+
* where: {
|
|
978
|
+
* // ... the filter for the AiTaskRuns we want to count
|
|
979
|
+
* }
|
|
980
|
+
* })
|
|
981
|
+
**/
|
|
982
|
+
count<T extends AiTaskRunCountArgs>(
|
|
983
|
+
args?: Prisma.Subset<T, AiTaskRunCountArgs>,
|
|
984
|
+
): Prisma.PrismaPromise<
|
|
985
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
986
|
+
? T['select'] extends true
|
|
987
|
+
? number
|
|
988
|
+
: Prisma.GetScalarType<T['select'], AiTaskRunCountAggregateOutputType>
|
|
989
|
+
: number
|
|
990
|
+
>
|
|
991
|
+
|
|
992
|
+
/**
|
|
993
|
+
* Allows you to perform aggregations operations on a AiTaskRun.
|
|
994
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
995
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
996
|
+
* @param {AiTaskRunAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
997
|
+
* @example
|
|
998
|
+
* // Ordered by age ascending
|
|
999
|
+
* // Where email contains prisma.io
|
|
1000
|
+
* // Limited to the 10 users
|
|
1001
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1002
|
+
* _avg: {
|
|
1003
|
+
* age: true,
|
|
1004
|
+
* },
|
|
1005
|
+
* where: {
|
|
1006
|
+
* email: {
|
|
1007
|
+
* contains: "prisma.io",
|
|
1008
|
+
* },
|
|
1009
|
+
* },
|
|
1010
|
+
* orderBy: {
|
|
1011
|
+
* age: "asc",
|
|
1012
|
+
* },
|
|
1013
|
+
* take: 10,
|
|
1014
|
+
* })
|
|
1015
|
+
**/
|
|
1016
|
+
aggregate<T extends AiTaskRunAggregateArgs>(args: Prisma.Subset<T, AiTaskRunAggregateArgs>): Prisma.PrismaPromise<GetAiTaskRunAggregateType<T>>
|
|
1017
|
+
|
|
1018
|
+
/**
|
|
1019
|
+
* Group by AiTaskRun.
|
|
1020
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1021
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1022
|
+
* @param {AiTaskRunGroupByArgs} args - Group by arguments.
|
|
1023
|
+
* @example
|
|
1024
|
+
* // Group by city, order by createdAt, get count
|
|
1025
|
+
* const result = await prisma.user.groupBy({
|
|
1026
|
+
* by: ['city', 'createdAt'],
|
|
1027
|
+
* orderBy: {
|
|
1028
|
+
* createdAt: true
|
|
1029
|
+
* },
|
|
1030
|
+
* _count: {
|
|
1031
|
+
* _all: true
|
|
1032
|
+
* },
|
|
1033
|
+
* })
|
|
1034
|
+
*
|
|
1035
|
+
**/
|
|
1036
|
+
groupBy<
|
|
1037
|
+
T extends AiTaskRunGroupByArgs,
|
|
1038
|
+
HasSelectOrTake extends Prisma.Or<
|
|
1039
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1040
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1041
|
+
>,
|
|
1042
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1043
|
+
? { orderBy: AiTaskRunGroupByArgs['orderBy'] }
|
|
1044
|
+
: { orderBy?: AiTaskRunGroupByArgs['orderBy'] },
|
|
1045
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1046
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1047
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1048
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1049
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1050
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1051
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
1052
|
+
? `Error: "by" must not be empty.`
|
|
1053
|
+
: HavingValid extends Prisma.False
|
|
1054
|
+
? {
|
|
1055
|
+
[P in HavingFields]: P extends ByFields
|
|
1056
|
+
? never
|
|
1057
|
+
: P extends string
|
|
1058
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1059
|
+
: [
|
|
1060
|
+
Error,
|
|
1061
|
+
'Field ',
|
|
1062
|
+
P,
|
|
1063
|
+
` in "having" needs to be provided in "by"`,
|
|
1064
|
+
]
|
|
1065
|
+
}[HavingFields]
|
|
1066
|
+
: 'take' extends Prisma.Keys<T>
|
|
1067
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1068
|
+
? ByValid extends Prisma.True
|
|
1069
|
+
? {}
|
|
1070
|
+
: {
|
|
1071
|
+
[P in OrderFields]: P extends ByFields
|
|
1072
|
+
? never
|
|
1073
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1074
|
+
}[OrderFields]
|
|
1075
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1076
|
+
: 'skip' extends Prisma.Keys<T>
|
|
1077
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1078
|
+
? ByValid extends Prisma.True
|
|
1079
|
+
? {}
|
|
1080
|
+
: {
|
|
1081
|
+
[P in OrderFields]: P extends ByFields
|
|
1082
|
+
? never
|
|
1083
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1084
|
+
}[OrderFields]
|
|
1085
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1086
|
+
: ByValid extends Prisma.True
|
|
1087
|
+
? {}
|
|
1088
|
+
: {
|
|
1089
|
+
[P in OrderFields]: P extends ByFields
|
|
1090
|
+
? never
|
|
1091
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1092
|
+
}[OrderFields]
|
|
1093
|
+
>(args: Prisma.SubsetIntersection<T, AiTaskRunGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAiTaskRunGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1094
|
+
/**
|
|
1095
|
+
* Fields of the AiTaskRun model
|
|
1096
|
+
*/
|
|
1097
|
+
readonly fields: AiTaskRunFieldRefs;
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
/**
|
|
1101
|
+
* The delegate class that acts as a "Promise-like" for AiTaskRun.
|
|
1102
|
+
* Why is this prefixed with `Prisma__`?
|
|
1103
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1104
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1105
|
+
*/
|
|
1106
|
+
export interface Prisma__AiTaskRunClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1107
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1108
|
+
task<T extends Prisma.AiTaskDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AiTaskDefaultArgs<ExtArgs>>): Prisma.Prisma__AiTaskClient<runtime.Types.Result.GetResult<Prisma.$AiTaskPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1109
|
+
/**
|
|
1110
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1111
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1112
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1113
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1114
|
+
*/
|
|
1115
|
+
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>
|
|
1116
|
+
/**
|
|
1117
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1118
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1119
|
+
* @returns A Promise for the completion of the callback.
|
|
1120
|
+
*/
|
|
1121
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1122
|
+
/**
|
|
1123
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1124
|
+
* resolved value cannot be modified from the callback.
|
|
1125
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1126
|
+
* @returns A Promise for the completion of the callback.
|
|
1127
|
+
*/
|
|
1128
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
|
|
1132
|
+
|
|
1133
|
+
|
|
1134
|
+
/**
|
|
1135
|
+
* Fields of the AiTaskRun model
|
|
1136
|
+
*/
|
|
1137
|
+
export interface AiTaskRunFieldRefs {
|
|
1138
|
+
readonly id: Prisma.FieldRef<"AiTaskRun", 'String'>
|
|
1139
|
+
readonly taskId: Prisma.FieldRef<"AiTaskRun", 'String'>
|
|
1140
|
+
readonly trigger: Prisma.FieldRef<"AiTaskRun", 'String'>
|
|
1141
|
+
readonly status: Prisma.FieldRef<"AiTaskRun", 'String'>
|
|
1142
|
+
readonly resultSummary: Prisma.FieldRef<"AiTaskRun", 'String'>
|
|
1143
|
+
readonly error: Prisma.FieldRef<"AiTaskRun", 'String'>
|
|
1144
|
+
readonly parentRunId: Prisma.FieldRef<"AiTaskRun", 'String'>
|
|
1145
|
+
readonly startedAt: Prisma.FieldRef<"AiTaskRun", 'DateTime'>
|
|
1146
|
+
readonly finishedAt: Prisma.FieldRef<"AiTaskRun", 'DateTime'>
|
|
1147
|
+
readonly durationMs: Prisma.FieldRef<"AiTaskRun", 'Int'>
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1150
|
+
|
|
1151
|
+
// Custom InputTypes
|
|
1152
|
+
/**
|
|
1153
|
+
* AiTaskRun findUnique
|
|
1154
|
+
*/
|
|
1155
|
+
export type AiTaskRunFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1156
|
+
/**
|
|
1157
|
+
* Select specific fields to fetch from the AiTaskRun
|
|
1158
|
+
*/
|
|
1159
|
+
select?: Prisma.AiTaskRunSelect<ExtArgs> | null
|
|
1160
|
+
/**
|
|
1161
|
+
* Omit specific fields from the AiTaskRun
|
|
1162
|
+
*/
|
|
1163
|
+
omit?: Prisma.AiTaskRunOmit<ExtArgs> | null
|
|
1164
|
+
/**
|
|
1165
|
+
* Choose, which related nodes to fetch as well
|
|
1166
|
+
*/
|
|
1167
|
+
include?: Prisma.AiTaskRunInclude<ExtArgs> | null
|
|
1168
|
+
/**
|
|
1169
|
+
* Filter, which AiTaskRun to fetch.
|
|
1170
|
+
*/
|
|
1171
|
+
where: Prisma.AiTaskRunWhereUniqueInput
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
/**
|
|
1175
|
+
* AiTaskRun findUniqueOrThrow
|
|
1176
|
+
*/
|
|
1177
|
+
export type AiTaskRunFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1178
|
+
/**
|
|
1179
|
+
* Select specific fields to fetch from the AiTaskRun
|
|
1180
|
+
*/
|
|
1181
|
+
select?: Prisma.AiTaskRunSelect<ExtArgs> | null
|
|
1182
|
+
/**
|
|
1183
|
+
* Omit specific fields from the AiTaskRun
|
|
1184
|
+
*/
|
|
1185
|
+
omit?: Prisma.AiTaskRunOmit<ExtArgs> | null
|
|
1186
|
+
/**
|
|
1187
|
+
* Choose, which related nodes to fetch as well
|
|
1188
|
+
*/
|
|
1189
|
+
include?: Prisma.AiTaskRunInclude<ExtArgs> | null
|
|
1190
|
+
/**
|
|
1191
|
+
* Filter, which AiTaskRun to fetch.
|
|
1192
|
+
*/
|
|
1193
|
+
where: Prisma.AiTaskRunWhereUniqueInput
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
/**
|
|
1197
|
+
* AiTaskRun findFirst
|
|
1198
|
+
*/
|
|
1199
|
+
export type AiTaskRunFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1200
|
+
/**
|
|
1201
|
+
* Select specific fields to fetch from the AiTaskRun
|
|
1202
|
+
*/
|
|
1203
|
+
select?: Prisma.AiTaskRunSelect<ExtArgs> | null
|
|
1204
|
+
/**
|
|
1205
|
+
* Omit specific fields from the AiTaskRun
|
|
1206
|
+
*/
|
|
1207
|
+
omit?: Prisma.AiTaskRunOmit<ExtArgs> | null
|
|
1208
|
+
/**
|
|
1209
|
+
* Choose, which related nodes to fetch as well
|
|
1210
|
+
*/
|
|
1211
|
+
include?: Prisma.AiTaskRunInclude<ExtArgs> | null
|
|
1212
|
+
/**
|
|
1213
|
+
* Filter, which AiTaskRun to fetch.
|
|
1214
|
+
*/
|
|
1215
|
+
where?: Prisma.AiTaskRunWhereInput
|
|
1216
|
+
/**
|
|
1217
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1218
|
+
*
|
|
1219
|
+
* Determine the order of AiTaskRuns to fetch.
|
|
1220
|
+
*/
|
|
1221
|
+
orderBy?: Prisma.AiTaskRunOrderByWithRelationInput | Prisma.AiTaskRunOrderByWithRelationInput[]
|
|
1222
|
+
/**
|
|
1223
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1224
|
+
*
|
|
1225
|
+
* Sets the position for searching for AiTaskRuns.
|
|
1226
|
+
*/
|
|
1227
|
+
cursor?: Prisma.AiTaskRunWhereUniqueInput
|
|
1228
|
+
/**
|
|
1229
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1230
|
+
*
|
|
1231
|
+
* Take `±n` AiTaskRuns from the position of the cursor.
|
|
1232
|
+
*/
|
|
1233
|
+
take?: number
|
|
1234
|
+
/**
|
|
1235
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1236
|
+
*
|
|
1237
|
+
* Skip the first `n` AiTaskRuns.
|
|
1238
|
+
*/
|
|
1239
|
+
skip?: number
|
|
1240
|
+
/**
|
|
1241
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1242
|
+
*
|
|
1243
|
+
* Filter by unique combinations of AiTaskRuns.
|
|
1244
|
+
*/
|
|
1245
|
+
distinct?: Prisma.AiTaskRunScalarFieldEnum | Prisma.AiTaskRunScalarFieldEnum[]
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
/**
|
|
1249
|
+
* AiTaskRun findFirstOrThrow
|
|
1250
|
+
*/
|
|
1251
|
+
export type AiTaskRunFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1252
|
+
/**
|
|
1253
|
+
* Select specific fields to fetch from the AiTaskRun
|
|
1254
|
+
*/
|
|
1255
|
+
select?: Prisma.AiTaskRunSelect<ExtArgs> | null
|
|
1256
|
+
/**
|
|
1257
|
+
* Omit specific fields from the AiTaskRun
|
|
1258
|
+
*/
|
|
1259
|
+
omit?: Prisma.AiTaskRunOmit<ExtArgs> | null
|
|
1260
|
+
/**
|
|
1261
|
+
* Choose, which related nodes to fetch as well
|
|
1262
|
+
*/
|
|
1263
|
+
include?: Prisma.AiTaskRunInclude<ExtArgs> | null
|
|
1264
|
+
/**
|
|
1265
|
+
* Filter, which AiTaskRun to fetch.
|
|
1266
|
+
*/
|
|
1267
|
+
where?: Prisma.AiTaskRunWhereInput
|
|
1268
|
+
/**
|
|
1269
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1270
|
+
*
|
|
1271
|
+
* Determine the order of AiTaskRuns to fetch.
|
|
1272
|
+
*/
|
|
1273
|
+
orderBy?: Prisma.AiTaskRunOrderByWithRelationInput | Prisma.AiTaskRunOrderByWithRelationInput[]
|
|
1274
|
+
/**
|
|
1275
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1276
|
+
*
|
|
1277
|
+
* Sets the position for searching for AiTaskRuns.
|
|
1278
|
+
*/
|
|
1279
|
+
cursor?: Prisma.AiTaskRunWhereUniqueInput
|
|
1280
|
+
/**
|
|
1281
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1282
|
+
*
|
|
1283
|
+
* Take `±n` AiTaskRuns from the position of the cursor.
|
|
1284
|
+
*/
|
|
1285
|
+
take?: number
|
|
1286
|
+
/**
|
|
1287
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1288
|
+
*
|
|
1289
|
+
* Skip the first `n` AiTaskRuns.
|
|
1290
|
+
*/
|
|
1291
|
+
skip?: number
|
|
1292
|
+
/**
|
|
1293
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1294
|
+
*
|
|
1295
|
+
* Filter by unique combinations of AiTaskRuns.
|
|
1296
|
+
*/
|
|
1297
|
+
distinct?: Prisma.AiTaskRunScalarFieldEnum | Prisma.AiTaskRunScalarFieldEnum[]
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
/**
|
|
1301
|
+
* AiTaskRun findMany
|
|
1302
|
+
*/
|
|
1303
|
+
export type AiTaskRunFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1304
|
+
/**
|
|
1305
|
+
* Select specific fields to fetch from the AiTaskRun
|
|
1306
|
+
*/
|
|
1307
|
+
select?: Prisma.AiTaskRunSelect<ExtArgs> | null
|
|
1308
|
+
/**
|
|
1309
|
+
* Omit specific fields from the AiTaskRun
|
|
1310
|
+
*/
|
|
1311
|
+
omit?: Prisma.AiTaskRunOmit<ExtArgs> | null
|
|
1312
|
+
/**
|
|
1313
|
+
* Choose, which related nodes to fetch as well
|
|
1314
|
+
*/
|
|
1315
|
+
include?: Prisma.AiTaskRunInclude<ExtArgs> | null
|
|
1316
|
+
/**
|
|
1317
|
+
* Filter, which AiTaskRuns to fetch.
|
|
1318
|
+
*/
|
|
1319
|
+
where?: Prisma.AiTaskRunWhereInput
|
|
1320
|
+
/**
|
|
1321
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1322
|
+
*
|
|
1323
|
+
* Determine the order of AiTaskRuns to fetch.
|
|
1324
|
+
*/
|
|
1325
|
+
orderBy?: Prisma.AiTaskRunOrderByWithRelationInput | Prisma.AiTaskRunOrderByWithRelationInput[]
|
|
1326
|
+
/**
|
|
1327
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1328
|
+
*
|
|
1329
|
+
* Sets the position for listing AiTaskRuns.
|
|
1330
|
+
*/
|
|
1331
|
+
cursor?: Prisma.AiTaskRunWhereUniqueInput
|
|
1332
|
+
/**
|
|
1333
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1334
|
+
*
|
|
1335
|
+
* Take `±n` AiTaskRuns from the position of the cursor.
|
|
1336
|
+
*/
|
|
1337
|
+
take?: number
|
|
1338
|
+
/**
|
|
1339
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1340
|
+
*
|
|
1341
|
+
* Skip the first `n` AiTaskRuns.
|
|
1342
|
+
*/
|
|
1343
|
+
skip?: number
|
|
1344
|
+
/**
|
|
1345
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1346
|
+
*
|
|
1347
|
+
* Filter by unique combinations of AiTaskRuns.
|
|
1348
|
+
*/
|
|
1349
|
+
distinct?: Prisma.AiTaskRunScalarFieldEnum | Prisma.AiTaskRunScalarFieldEnum[]
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1352
|
+
/**
|
|
1353
|
+
* AiTaskRun create
|
|
1354
|
+
*/
|
|
1355
|
+
export type AiTaskRunCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1356
|
+
/**
|
|
1357
|
+
* Select specific fields to fetch from the AiTaskRun
|
|
1358
|
+
*/
|
|
1359
|
+
select?: Prisma.AiTaskRunSelect<ExtArgs> | null
|
|
1360
|
+
/**
|
|
1361
|
+
* Omit specific fields from the AiTaskRun
|
|
1362
|
+
*/
|
|
1363
|
+
omit?: Prisma.AiTaskRunOmit<ExtArgs> | null
|
|
1364
|
+
/**
|
|
1365
|
+
* Choose, which related nodes to fetch as well
|
|
1366
|
+
*/
|
|
1367
|
+
include?: Prisma.AiTaskRunInclude<ExtArgs> | null
|
|
1368
|
+
/**
|
|
1369
|
+
* The data needed to create a AiTaskRun.
|
|
1370
|
+
*/
|
|
1371
|
+
data: Prisma.XOR<Prisma.AiTaskRunCreateInput, Prisma.AiTaskRunUncheckedCreateInput>
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
/**
|
|
1375
|
+
* AiTaskRun createMany
|
|
1376
|
+
*/
|
|
1377
|
+
export type AiTaskRunCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1378
|
+
/**
|
|
1379
|
+
* The data used to create many AiTaskRuns.
|
|
1380
|
+
*/
|
|
1381
|
+
data: Prisma.AiTaskRunCreateManyInput | Prisma.AiTaskRunCreateManyInput[]
|
|
1382
|
+
skipDuplicates?: boolean
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1385
|
+
/**
|
|
1386
|
+
* AiTaskRun createManyAndReturn
|
|
1387
|
+
*/
|
|
1388
|
+
export type AiTaskRunCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1389
|
+
/**
|
|
1390
|
+
* Select specific fields to fetch from the AiTaskRun
|
|
1391
|
+
*/
|
|
1392
|
+
select?: Prisma.AiTaskRunSelectCreateManyAndReturn<ExtArgs> | null
|
|
1393
|
+
/**
|
|
1394
|
+
* Omit specific fields from the AiTaskRun
|
|
1395
|
+
*/
|
|
1396
|
+
omit?: Prisma.AiTaskRunOmit<ExtArgs> | null
|
|
1397
|
+
/**
|
|
1398
|
+
* The data used to create many AiTaskRuns.
|
|
1399
|
+
*/
|
|
1400
|
+
data: Prisma.AiTaskRunCreateManyInput | Prisma.AiTaskRunCreateManyInput[]
|
|
1401
|
+
skipDuplicates?: boolean
|
|
1402
|
+
/**
|
|
1403
|
+
* Choose, which related nodes to fetch as well
|
|
1404
|
+
*/
|
|
1405
|
+
include?: Prisma.AiTaskRunIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
/**
|
|
1409
|
+
* AiTaskRun update
|
|
1410
|
+
*/
|
|
1411
|
+
export type AiTaskRunUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1412
|
+
/**
|
|
1413
|
+
* Select specific fields to fetch from the AiTaskRun
|
|
1414
|
+
*/
|
|
1415
|
+
select?: Prisma.AiTaskRunSelect<ExtArgs> | null
|
|
1416
|
+
/**
|
|
1417
|
+
* Omit specific fields from the AiTaskRun
|
|
1418
|
+
*/
|
|
1419
|
+
omit?: Prisma.AiTaskRunOmit<ExtArgs> | null
|
|
1420
|
+
/**
|
|
1421
|
+
* Choose, which related nodes to fetch as well
|
|
1422
|
+
*/
|
|
1423
|
+
include?: Prisma.AiTaskRunInclude<ExtArgs> | null
|
|
1424
|
+
/**
|
|
1425
|
+
* The data needed to update a AiTaskRun.
|
|
1426
|
+
*/
|
|
1427
|
+
data: Prisma.XOR<Prisma.AiTaskRunUpdateInput, Prisma.AiTaskRunUncheckedUpdateInput>
|
|
1428
|
+
/**
|
|
1429
|
+
* Choose, which AiTaskRun to update.
|
|
1430
|
+
*/
|
|
1431
|
+
where: Prisma.AiTaskRunWhereUniqueInput
|
|
1432
|
+
}
|
|
1433
|
+
|
|
1434
|
+
/**
|
|
1435
|
+
* AiTaskRun updateMany
|
|
1436
|
+
*/
|
|
1437
|
+
export type AiTaskRunUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1438
|
+
/**
|
|
1439
|
+
* The data used to update AiTaskRuns.
|
|
1440
|
+
*/
|
|
1441
|
+
data: Prisma.XOR<Prisma.AiTaskRunUpdateManyMutationInput, Prisma.AiTaskRunUncheckedUpdateManyInput>
|
|
1442
|
+
/**
|
|
1443
|
+
* Filter which AiTaskRuns to update
|
|
1444
|
+
*/
|
|
1445
|
+
where?: Prisma.AiTaskRunWhereInput
|
|
1446
|
+
/**
|
|
1447
|
+
* Limit how many AiTaskRuns to update.
|
|
1448
|
+
*/
|
|
1449
|
+
limit?: number
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
/**
|
|
1453
|
+
* AiTaskRun updateManyAndReturn
|
|
1454
|
+
*/
|
|
1455
|
+
export type AiTaskRunUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1456
|
+
/**
|
|
1457
|
+
* Select specific fields to fetch from the AiTaskRun
|
|
1458
|
+
*/
|
|
1459
|
+
select?: Prisma.AiTaskRunSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1460
|
+
/**
|
|
1461
|
+
* Omit specific fields from the AiTaskRun
|
|
1462
|
+
*/
|
|
1463
|
+
omit?: Prisma.AiTaskRunOmit<ExtArgs> | null
|
|
1464
|
+
/**
|
|
1465
|
+
* The data used to update AiTaskRuns.
|
|
1466
|
+
*/
|
|
1467
|
+
data: Prisma.XOR<Prisma.AiTaskRunUpdateManyMutationInput, Prisma.AiTaskRunUncheckedUpdateManyInput>
|
|
1468
|
+
/**
|
|
1469
|
+
* Filter which AiTaskRuns to update
|
|
1470
|
+
*/
|
|
1471
|
+
where?: Prisma.AiTaskRunWhereInput
|
|
1472
|
+
/**
|
|
1473
|
+
* Limit how many AiTaskRuns to update.
|
|
1474
|
+
*/
|
|
1475
|
+
limit?: number
|
|
1476
|
+
/**
|
|
1477
|
+
* Choose, which related nodes to fetch as well
|
|
1478
|
+
*/
|
|
1479
|
+
include?: Prisma.AiTaskRunIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1480
|
+
}
|
|
1481
|
+
|
|
1482
|
+
/**
|
|
1483
|
+
* AiTaskRun upsert
|
|
1484
|
+
*/
|
|
1485
|
+
export type AiTaskRunUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1486
|
+
/**
|
|
1487
|
+
* Select specific fields to fetch from the AiTaskRun
|
|
1488
|
+
*/
|
|
1489
|
+
select?: Prisma.AiTaskRunSelect<ExtArgs> | null
|
|
1490
|
+
/**
|
|
1491
|
+
* Omit specific fields from the AiTaskRun
|
|
1492
|
+
*/
|
|
1493
|
+
omit?: Prisma.AiTaskRunOmit<ExtArgs> | null
|
|
1494
|
+
/**
|
|
1495
|
+
* Choose, which related nodes to fetch as well
|
|
1496
|
+
*/
|
|
1497
|
+
include?: Prisma.AiTaskRunInclude<ExtArgs> | null
|
|
1498
|
+
/**
|
|
1499
|
+
* The filter to search for the AiTaskRun to update in case it exists.
|
|
1500
|
+
*/
|
|
1501
|
+
where: Prisma.AiTaskRunWhereUniqueInput
|
|
1502
|
+
/**
|
|
1503
|
+
* In case the AiTaskRun found by the `where` argument doesn't exist, create a new AiTaskRun with this data.
|
|
1504
|
+
*/
|
|
1505
|
+
create: Prisma.XOR<Prisma.AiTaskRunCreateInput, Prisma.AiTaskRunUncheckedCreateInput>
|
|
1506
|
+
/**
|
|
1507
|
+
* In case the AiTaskRun was found with the provided `where` argument, update it with this data.
|
|
1508
|
+
*/
|
|
1509
|
+
update: Prisma.XOR<Prisma.AiTaskRunUpdateInput, Prisma.AiTaskRunUncheckedUpdateInput>
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
/**
|
|
1513
|
+
* AiTaskRun delete
|
|
1514
|
+
*/
|
|
1515
|
+
export type AiTaskRunDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1516
|
+
/**
|
|
1517
|
+
* Select specific fields to fetch from the AiTaskRun
|
|
1518
|
+
*/
|
|
1519
|
+
select?: Prisma.AiTaskRunSelect<ExtArgs> | null
|
|
1520
|
+
/**
|
|
1521
|
+
* Omit specific fields from the AiTaskRun
|
|
1522
|
+
*/
|
|
1523
|
+
omit?: Prisma.AiTaskRunOmit<ExtArgs> | null
|
|
1524
|
+
/**
|
|
1525
|
+
* Choose, which related nodes to fetch as well
|
|
1526
|
+
*/
|
|
1527
|
+
include?: Prisma.AiTaskRunInclude<ExtArgs> | null
|
|
1528
|
+
/**
|
|
1529
|
+
* Filter which AiTaskRun to delete.
|
|
1530
|
+
*/
|
|
1531
|
+
where: Prisma.AiTaskRunWhereUniqueInput
|
|
1532
|
+
}
|
|
1533
|
+
|
|
1534
|
+
/**
|
|
1535
|
+
* AiTaskRun deleteMany
|
|
1536
|
+
*/
|
|
1537
|
+
export type AiTaskRunDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1538
|
+
/**
|
|
1539
|
+
* Filter which AiTaskRuns to delete
|
|
1540
|
+
*/
|
|
1541
|
+
where?: Prisma.AiTaskRunWhereInput
|
|
1542
|
+
/**
|
|
1543
|
+
* Limit how many AiTaskRuns to delete.
|
|
1544
|
+
*/
|
|
1545
|
+
limit?: number
|
|
1546
|
+
}
|
|
1547
|
+
|
|
1548
|
+
/**
|
|
1549
|
+
* AiTaskRun without action
|
|
1550
|
+
*/
|
|
1551
|
+
export type AiTaskRunDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1552
|
+
/**
|
|
1553
|
+
* Select specific fields to fetch from the AiTaskRun
|
|
1554
|
+
*/
|
|
1555
|
+
select?: Prisma.AiTaskRunSelect<ExtArgs> | null
|
|
1556
|
+
/**
|
|
1557
|
+
* Omit specific fields from the AiTaskRun
|
|
1558
|
+
*/
|
|
1559
|
+
omit?: Prisma.AiTaskRunOmit<ExtArgs> | null
|
|
1560
|
+
/**
|
|
1561
|
+
* Choose, which related nodes to fetch as well
|
|
1562
|
+
*/
|
|
1563
|
+
include?: Prisma.AiTaskRunInclude<ExtArgs> | null
|
|
1564
|
+
}
|