@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,2481 @@
|
|
|
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 `AiTask` 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 AiTask
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type AiTaskModel = runtime.Types.Result.DefaultSelection<Prisma.$AiTaskPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateAiTask = {
|
|
22
|
+
_count: AiTaskCountAggregateOutputType | null
|
|
23
|
+
_avg: AiTaskAvgAggregateOutputType | null
|
|
24
|
+
_sum: AiTaskSumAggregateOutputType | null
|
|
25
|
+
_min: AiTaskMinAggregateOutputType | null
|
|
26
|
+
_max: AiTaskMaxAggregateOutputType | null
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type AiTaskAvgAggregateOutputType = {
|
|
30
|
+
maxRuns: number | null
|
|
31
|
+
runCount: number | null
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export type AiTaskSumAggregateOutputType = {
|
|
35
|
+
maxRuns: number | null
|
|
36
|
+
runCount: number | null
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export type AiTaskMinAggregateOutputType = {
|
|
40
|
+
id: string | null
|
|
41
|
+
createdById: string | null
|
|
42
|
+
workspaceId: string | null
|
|
43
|
+
projectId: string | null
|
|
44
|
+
title: string | null
|
|
45
|
+
instruction: string | null
|
|
46
|
+
sourceType: string | null
|
|
47
|
+
sourceId: string | null
|
|
48
|
+
status: string | null
|
|
49
|
+
lastRunAt: Date | null
|
|
50
|
+
lastRunId: string | null
|
|
51
|
+
scheduleCron: string | null
|
|
52
|
+
scheduleTimezone: string | null
|
|
53
|
+
maxRuns: number | null
|
|
54
|
+
runCount: number | null
|
|
55
|
+
nextRunAt: Date | null
|
|
56
|
+
createdAt: Date | null
|
|
57
|
+
updatedAt: Date | null
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export type AiTaskMaxAggregateOutputType = {
|
|
61
|
+
id: string | null
|
|
62
|
+
createdById: string | null
|
|
63
|
+
workspaceId: string | null
|
|
64
|
+
projectId: string | null
|
|
65
|
+
title: string | null
|
|
66
|
+
instruction: string | null
|
|
67
|
+
sourceType: string | null
|
|
68
|
+
sourceId: string | null
|
|
69
|
+
status: string | null
|
|
70
|
+
lastRunAt: Date | null
|
|
71
|
+
lastRunId: string | null
|
|
72
|
+
scheduleCron: string | null
|
|
73
|
+
scheduleTimezone: string | null
|
|
74
|
+
maxRuns: number | null
|
|
75
|
+
runCount: number | null
|
|
76
|
+
nextRunAt: Date | null
|
|
77
|
+
createdAt: Date | null
|
|
78
|
+
updatedAt: Date | null
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export type AiTaskCountAggregateOutputType = {
|
|
82
|
+
id: number
|
|
83
|
+
createdById: number
|
|
84
|
+
workspaceId: number
|
|
85
|
+
projectId: number
|
|
86
|
+
title: number
|
|
87
|
+
instruction: number
|
|
88
|
+
sourceType: number
|
|
89
|
+
sourceId: number
|
|
90
|
+
status: number
|
|
91
|
+
lastRunAt: number
|
|
92
|
+
lastRunId: number
|
|
93
|
+
scheduleCron: number
|
|
94
|
+
scheduleTimezone: number
|
|
95
|
+
maxRuns: number
|
|
96
|
+
runCount: number
|
|
97
|
+
nextRunAt: number
|
|
98
|
+
createdAt: number
|
|
99
|
+
updatedAt: number
|
|
100
|
+
_all: number
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
export type AiTaskAvgAggregateInputType = {
|
|
105
|
+
maxRuns?: true
|
|
106
|
+
runCount?: true
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export type AiTaskSumAggregateInputType = {
|
|
110
|
+
maxRuns?: true
|
|
111
|
+
runCount?: true
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export type AiTaskMinAggregateInputType = {
|
|
115
|
+
id?: true
|
|
116
|
+
createdById?: true
|
|
117
|
+
workspaceId?: true
|
|
118
|
+
projectId?: true
|
|
119
|
+
title?: true
|
|
120
|
+
instruction?: true
|
|
121
|
+
sourceType?: true
|
|
122
|
+
sourceId?: true
|
|
123
|
+
status?: true
|
|
124
|
+
lastRunAt?: true
|
|
125
|
+
lastRunId?: true
|
|
126
|
+
scheduleCron?: true
|
|
127
|
+
scheduleTimezone?: true
|
|
128
|
+
maxRuns?: true
|
|
129
|
+
runCount?: true
|
|
130
|
+
nextRunAt?: true
|
|
131
|
+
createdAt?: true
|
|
132
|
+
updatedAt?: true
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
export type AiTaskMaxAggregateInputType = {
|
|
136
|
+
id?: true
|
|
137
|
+
createdById?: true
|
|
138
|
+
workspaceId?: true
|
|
139
|
+
projectId?: true
|
|
140
|
+
title?: true
|
|
141
|
+
instruction?: true
|
|
142
|
+
sourceType?: true
|
|
143
|
+
sourceId?: true
|
|
144
|
+
status?: true
|
|
145
|
+
lastRunAt?: true
|
|
146
|
+
lastRunId?: true
|
|
147
|
+
scheduleCron?: true
|
|
148
|
+
scheduleTimezone?: true
|
|
149
|
+
maxRuns?: true
|
|
150
|
+
runCount?: true
|
|
151
|
+
nextRunAt?: true
|
|
152
|
+
createdAt?: true
|
|
153
|
+
updatedAt?: true
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
export type AiTaskCountAggregateInputType = {
|
|
157
|
+
id?: true
|
|
158
|
+
createdById?: true
|
|
159
|
+
workspaceId?: true
|
|
160
|
+
projectId?: true
|
|
161
|
+
title?: true
|
|
162
|
+
instruction?: true
|
|
163
|
+
sourceType?: true
|
|
164
|
+
sourceId?: true
|
|
165
|
+
status?: true
|
|
166
|
+
lastRunAt?: true
|
|
167
|
+
lastRunId?: true
|
|
168
|
+
scheduleCron?: true
|
|
169
|
+
scheduleTimezone?: true
|
|
170
|
+
maxRuns?: true
|
|
171
|
+
runCount?: true
|
|
172
|
+
nextRunAt?: true
|
|
173
|
+
createdAt?: true
|
|
174
|
+
updatedAt?: true
|
|
175
|
+
_all?: true
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
export type AiTaskAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
179
|
+
/**
|
|
180
|
+
* Filter which AiTask to aggregate.
|
|
181
|
+
*/
|
|
182
|
+
where?: Prisma.AiTaskWhereInput
|
|
183
|
+
/**
|
|
184
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
185
|
+
*
|
|
186
|
+
* Determine the order of AiTasks to fetch.
|
|
187
|
+
*/
|
|
188
|
+
orderBy?: Prisma.AiTaskOrderByWithRelationInput | Prisma.AiTaskOrderByWithRelationInput[]
|
|
189
|
+
/**
|
|
190
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
191
|
+
*
|
|
192
|
+
* Sets the start position
|
|
193
|
+
*/
|
|
194
|
+
cursor?: Prisma.AiTaskWhereUniqueInput
|
|
195
|
+
/**
|
|
196
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
197
|
+
*
|
|
198
|
+
* Take `±n` AiTasks from the position of the cursor.
|
|
199
|
+
*/
|
|
200
|
+
take?: number
|
|
201
|
+
/**
|
|
202
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
203
|
+
*
|
|
204
|
+
* Skip the first `n` AiTasks.
|
|
205
|
+
*/
|
|
206
|
+
skip?: number
|
|
207
|
+
/**
|
|
208
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
209
|
+
*
|
|
210
|
+
* Count returned AiTasks
|
|
211
|
+
**/
|
|
212
|
+
_count?: true | AiTaskCountAggregateInputType
|
|
213
|
+
/**
|
|
214
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
215
|
+
*
|
|
216
|
+
* Select which fields to average
|
|
217
|
+
**/
|
|
218
|
+
_avg?: AiTaskAvgAggregateInputType
|
|
219
|
+
/**
|
|
220
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
221
|
+
*
|
|
222
|
+
* Select which fields to sum
|
|
223
|
+
**/
|
|
224
|
+
_sum?: AiTaskSumAggregateInputType
|
|
225
|
+
/**
|
|
226
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
227
|
+
*
|
|
228
|
+
* Select which fields to find the minimum value
|
|
229
|
+
**/
|
|
230
|
+
_min?: AiTaskMinAggregateInputType
|
|
231
|
+
/**
|
|
232
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
233
|
+
*
|
|
234
|
+
* Select which fields to find the maximum value
|
|
235
|
+
**/
|
|
236
|
+
_max?: AiTaskMaxAggregateInputType
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
export type GetAiTaskAggregateType<T extends AiTaskAggregateArgs> = {
|
|
240
|
+
[P in keyof T & keyof AggregateAiTask]: P extends '_count' | 'count'
|
|
241
|
+
? T[P] extends true
|
|
242
|
+
? number
|
|
243
|
+
: Prisma.GetScalarType<T[P], AggregateAiTask[P]>
|
|
244
|
+
: Prisma.GetScalarType<T[P], AggregateAiTask[P]>
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
export type AiTaskGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
251
|
+
where?: Prisma.AiTaskWhereInput
|
|
252
|
+
orderBy?: Prisma.AiTaskOrderByWithAggregationInput | Prisma.AiTaskOrderByWithAggregationInput[]
|
|
253
|
+
by: Prisma.AiTaskScalarFieldEnum[] | Prisma.AiTaskScalarFieldEnum
|
|
254
|
+
having?: Prisma.AiTaskScalarWhereWithAggregatesInput
|
|
255
|
+
take?: number
|
|
256
|
+
skip?: number
|
|
257
|
+
_count?: AiTaskCountAggregateInputType | true
|
|
258
|
+
_avg?: AiTaskAvgAggregateInputType
|
|
259
|
+
_sum?: AiTaskSumAggregateInputType
|
|
260
|
+
_min?: AiTaskMinAggregateInputType
|
|
261
|
+
_max?: AiTaskMaxAggregateInputType
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
export type AiTaskGroupByOutputType = {
|
|
265
|
+
id: string
|
|
266
|
+
createdById: string
|
|
267
|
+
workspaceId: string | null
|
|
268
|
+
projectId: string | null
|
|
269
|
+
title: string
|
|
270
|
+
instruction: string
|
|
271
|
+
sourceType: string | null
|
|
272
|
+
sourceId: string | null
|
|
273
|
+
status: string
|
|
274
|
+
lastRunAt: Date | null
|
|
275
|
+
lastRunId: string | null
|
|
276
|
+
scheduleCron: string | null
|
|
277
|
+
scheduleTimezone: string | null
|
|
278
|
+
maxRuns: number | null
|
|
279
|
+
runCount: number
|
|
280
|
+
nextRunAt: Date | null
|
|
281
|
+
createdAt: Date
|
|
282
|
+
updatedAt: Date
|
|
283
|
+
_count: AiTaskCountAggregateOutputType | null
|
|
284
|
+
_avg: AiTaskAvgAggregateOutputType | null
|
|
285
|
+
_sum: AiTaskSumAggregateOutputType | null
|
|
286
|
+
_min: AiTaskMinAggregateOutputType | null
|
|
287
|
+
_max: AiTaskMaxAggregateOutputType | null
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
export type GetAiTaskGroupByPayload<T extends AiTaskGroupByArgs> = Prisma.PrismaPromise<
|
|
291
|
+
Array<
|
|
292
|
+
Prisma.PickEnumerable<AiTaskGroupByOutputType, T['by']> &
|
|
293
|
+
{
|
|
294
|
+
[P in ((keyof T) & (keyof AiTaskGroupByOutputType))]: P extends '_count'
|
|
295
|
+
? T[P] extends boolean
|
|
296
|
+
? number
|
|
297
|
+
: Prisma.GetScalarType<T[P], AiTaskGroupByOutputType[P]>
|
|
298
|
+
: Prisma.GetScalarType<T[P], AiTaskGroupByOutputType[P]>
|
|
299
|
+
}
|
|
300
|
+
>
|
|
301
|
+
>
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
export type AiTaskWhereInput = {
|
|
306
|
+
AND?: Prisma.AiTaskWhereInput | Prisma.AiTaskWhereInput[]
|
|
307
|
+
OR?: Prisma.AiTaskWhereInput[]
|
|
308
|
+
NOT?: Prisma.AiTaskWhereInput | Prisma.AiTaskWhereInput[]
|
|
309
|
+
id?: Prisma.StringFilter<"AiTask"> | string
|
|
310
|
+
createdById?: Prisma.StringFilter<"AiTask"> | string
|
|
311
|
+
workspaceId?: Prisma.StringNullableFilter<"AiTask"> | string | null
|
|
312
|
+
projectId?: Prisma.StringNullableFilter<"AiTask"> | string | null
|
|
313
|
+
title?: Prisma.StringFilter<"AiTask"> | string
|
|
314
|
+
instruction?: Prisma.StringFilter<"AiTask"> | string
|
|
315
|
+
sourceType?: Prisma.StringNullableFilter<"AiTask"> | string | null
|
|
316
|
+
sourceId?: Prisma.StringNullableFilter<"AiTask"> | string | null
|
|
317
|
+
status?: Prisma.StringFilter<"AiTask"> | string
|
|
318
|
+
lastRunAt?: Prisma.DateTimeNullableFilter<"AiTask"> | Date | string | null
|
|
319
|
+
lastRunId?: Prisma.StringNullableFilter<"AiTask"> | string | null
|
|
320
|
+
scheduleCron?: Prisma.StringNullableFilter<"AiTask"> | string | null
|
|
321
|
+
scheduleTimezone?: Prisma.StringNullableFilter<"AiTask"> | string | null
|
|
322
|
+
maxRuns?: Prisma.IntNullableFilter<"AiTask"> | number | null
|
|
323
|
+
runCount?: Prisma.IntFilter<"AiTask"> | number
|
|
324
|
+
nextRunAt?: Prisma.DateTimeNullableFilter<"AiTask"> | Date | string | null
|
|
325
|
+
createdAt?: Prisma.DateTimeFilter<"AiTask"> | Date | string
|
|
326
|
+
updatedAt?: Prisma.DateTimeFilter<"AiTask"> | Date | string
|
|
327
|
+
creator?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
328
|
+
workspace?: Prisma.XOR<Prisma.WorkspaceNullableScalarRelationFilter, Prisma.WorkspaceWhereInput> | null
|
|
329
|
+
project?: Prisma.XOR<Prisma.ProjectNullableScalarRelationFilter, Prisma.ProjectWhereInput> | null
|
|
330
|
+
runs?: Prisma.AiTaskRunListRelationFilter
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
export type AiTaskOrderByWithRelationInput = {
|
|
334
|
+
id?: Prisma.SortOrder
|
|
335
|
+
createdById?: Prisma.SortOrder
|
|
336
|
+
workspaceId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
337
|
+
projectId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
338
|
+
title?: Prisma.SortOrder
|
|
339
|
+
instruction?: Prisma.SortOrder
|
|
340
|
+
sourceType?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
341
|
+
sourceId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
342
|
+
status?: Prisma.SortOrder
|
|
343
|
+
lastRunAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
344
|
+
lastRunId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
345
|
+
scheduleCron?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
346
|
+
scheduleTimezone?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
347
|
+
maxRuns?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
348
|
+
runCount?: Prisma.SortOrder
|
|
349
|
+
nextRunAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
350
|
+
createdAt?: Prisma.SortOrder
|
|
351
|
+
updatedAt?: Prisma.SortOrder
|
|
352
|
+
creator?: Prisma.UserOrderByWithRelationInput
|
|
353
|
+
workspace?: Prisma.WorkspaceOrderByWithRelationInput
|
|
354
|
+
project?: Prisma.ProjectOrderByWithRelationInput
|
|
355
|
+
runs?: Prisma.AiTaskRunOrderByRelationAggregateInput
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
export type AiTaskWhereUniqueInput = Prisma.AtLeast<{
|
|
359
|
+
id?: string
|
|
360
|
+
AND?: Prisma.AiTaskWhereInput | Prisma.AiTaskWhereInput[]
|
|
361
|
+
OR?: Prisma.AiTaskWhereInput[]
|
|
362
|
+
NOT?: Prisma.AiTaskWhereInput | Prisma.AiTaskWhereInput[]
|
|
363
|
+
createdById?: Prisma.StringFilter<"AiTask"> | string
|
|
364
|
+
workspaceId?: Prisma.StringNullableFilter<"AiTask"> | string | null
|
|
365
|
+
projectId?: Prisma.StringNullableFilter<"AiTask"> | string | null
|
|
366
|
+
title?: Prisma.StringFilter<"AiTask"> | string
|
|
367
|
+
instruction?: Prisma.StringFilter<"AiTask"> | string
|
|
368
|
+
sourceType?: Prisma.StringNullableFilter<"AiTask"> | string | null
|
|
369
|
+
sourceId?: Prisma.StringNullableFilter<"AiTask"> | string | null
|
|
370
|
+
status?: Prisma.StringFilter<"AiTask"> | string
|
|
371
|
+
lastRunAt?: Prisma.DateTimeNullableFilter<"AiTask"> | Date | string | null
|
|
372
|
+
lastRunId?: Prisma.StringNullableFilter<"AiTask"> | string | null
|
|
373
|
+
scheduleCron?: Prisma.StringNullableFilter<"AiTask"> | string | null
|
|
374
|
+
scheduleTimezone?: Prisma.StringNullableFilter<"AiTask"> | string | null
|
|
375
|
+
maxRuns?: Prisma.IntNullableFilter<"AiTask"> | number | null
|
|
376
|
+
runCount?: Prisma.IntFilter<"AiTask"> | number
|
|
377
|
+
nextRunAt?: Prisma.DateTimeNullableFilter<"AiTask"> | Date | string | null
|
|
378
|
+
createdAt?: Prisma.DateTimeFilter<"AiTask"> | Date | string
|
|
379
|
+
updatedAt?: Prisma.DateTimeFilter<"AiTask"> | Date | string
|
|
380
|
+
creator?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
381
|
+
workspace?: Prisma.XOR<Prisma.WorkspaceNullableScalarRelationFilter, Prisma.WorkspaceWhereInput> | null
|
|
382
|
+
project?: Prisma.XOR<Prisma.ProjectNullableScalarRelationFilter, Prisma.ProjectWhereInput> | null
|
|
383
|
+
runs?: Prisma.AiTaskRunListRelationFilter
|
|
384
|
+
}, "id">
|
|
385
|
+
|
|
386
|
+
export type AiTaskOrderByWithAggregationInput = {
|
|
387
|
+
id?: Prisma.SortOrder
|
|
388
|
+
createdById?: Prisma.SortOrder
|
|
389
|
+
workspaceId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
390
|
+
projectId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
391
|
+
title?: Prisma.SortOrder
|
|
392
|
+
instruction?: Prisma.SortOrder
|
|
393
|
+
sourceType?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
394
|
+
sourceId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
395
|
+
status?: Prisma.SortOrder
|
|
396
|
+
lastRunAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
397
|
+
lastRunId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
398
|
+
scheduleCron?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
399
|
+
scheduleTimezone?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
400
|
+
maxRuns?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
401
|
+
runCount?: Prisma.SortOrder
|
|
402
|
+
nextRunAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
403
|
+
createdAt?: Prisma.SortOrder
|
|
404
|
+
updatedAt?: Prisma.SortOrder
|
|
405
|
+
_count?: Prisma.AiTaskCountOrderByAggregateInput
|
|
406
|
+
_avg?: Prisma.AiTaskAvgOrderByAggregateInput
|
|
407
|
+
_max?: Prisma.AiTaskMaxOrderByAggregateInput
|
|
408
|
+
_min?: Prisma.AiTaskMinOrderByAggregateInput
|
|
409
|
+
_sum?: Prisma.AiTaskSumOrderByAggregateInput
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
export type AiTaskScalarWhereWithAggregatesInput = {
|
|
413
|
+
AND?: Prisma.AiTaskScalarWhereWithAggregatesInput | Prisma.AiTaskScalarWhereWithAggregatesInput[]
|
|
414
|
+
OR?: Prisma.AiTaskScalarWhereWithAggregatesInput[]
|
|
415
|
+
NOT?: Prisma.AiTaskScalarWhereWithAggregatesInput | Prisma.AiTaskScalarWhereWithAggregatesInput[]
|
|
416
|
+
id?: Prisma.StringWithAggregatesFilter<"AiTask"> | string
|
|
417
|
+
createdById?: Prisma.StringWithAggregatesFilter<"AiTask"> | string
|
|
418
|
+
workspaceId?: Prisma.StringNullableWithAggregatesFilter<"AiTask"> | string | null
|
|
419
|
+
projectId?: Prisma.StringNullableWithAggregatesFilter<"AiTask"> | string | null
|
|
420
|
+
title?: Prisma.StringWithAggregatesFilter<"AiTask"> | string
|
|
421
|
+
instruction?: Prisma.StringWithAggregatesFilter<"AiTask"> | string
|
|
422
|
+
sourceType?: Prisma.StringNullableWithAggregatesFilter<"AiTask"> | string | null
|
|
423
|
+
sourceId?: Prisma.StringNullableWithAggregatesFilter<"AiTask"> | string | null
|
|
424
|
+
status?: Prisma.StringWithAggregatesFilter<"AiTask"> | string
|
|
425
|
+
lastRunAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AiTask"> | Date | string | null
|
|
426
|
+
lastRunId?: Prisma.StringNullableWithAggregatesFilter<"AiTask"> | string | null
|
|
427
|
+
scheduleCron?: Prisma.StringNullableWithAggregatesFilter<"AiTask"> | string | null
|
|
428
|
+
scheduleTimezone?: Prisma.StringNullableWithAggregatesFilter<"AiTask"> | string | null
|
|
429
|
+
maxRuns?: Prisma.IntNullableWithAggregatesFilter<"AiTask"> | number | null
|
|
430
|
+
runCount?: Prisma.IntWithAggregatesFilter<"AiTask"> | number
|
|
431
|
+
nextRunAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AiTask"> | Date | string | null
|
|
432
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AiTask"> | Date | string
|
|
433
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AiTask"> | Date | string
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
export type AiTaskCreateInput = {
|
|
437
|
+
id?: string
|
|
438
|
+
title: string
|
|
439
|
+
instruction: string
|
|
440
|
+
sourceType?: string | null
|
|
441
|
+
sourceId?: string | null
|
|
442
|
+
status?: string
|
|
443
|
+
lastRunAt?: Date | string | null
|
|
444
|
+
lastRunId?: string | null
|
|
445
|
+
scheduleCron?: string | null
|
|
446
|
+
scheduleTimezone?: string | null
|
|
447
|
+
maxRuns?: number | null
|
|
448
|
+
runCount?: number
|
|
449
|
+
nextRunAt?: Date | string | null
|
|
450
|
+
createdAt?: Date | string
|
|
451
|
+
updatedAt?: Date | string
|
|
452
|
+
creator: Prisma.UserCreateNestedOneWithoutAiTasksCreatedInput
|
|
453
|
+
workspace?: Prisma.WorkspaceCreateNestedOneWithoutAiTasksInput
|
|
454
|
+
project?: Prisma.ProjectCreateNestedOneWithoutAiTasksInput
|
|
455
|
+
runs?: Prisma.AiTaskRunCreateNestedManyWithoutTaskInput
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
export type AiTaskUncheckedCreateInput = {
|
|
459
|
+
id?: string
|
|
460
|
+
createdById: string
|
|
461
|
+
workspaceId?: string | null
|
|
462
|
+
projectId?: string | null
|
|
463
|
+
title: string
|
|
464
|
+
instruction: string
|
|
465
|
+
sourceType?: string | null
|
|
466
|
+
sourceId?: string | null
|
|
467
|
+
status?: string
|
|
468
|
+
lastRunAt?: Date | string | null
|
|
469
|
+
lastRunId?: string | null
|
|
470
|
+
scheduleCron?: string | null
|
|
471
|
+
scheduleTimezone?: string | null
|
|
472
|
+
maxRuns?: number | null
|
|
473
|
+
runCount?: number
|
|
474
|
+
nextRunAt?: Date | string | null
|
|
475
|
+
createdAt?: Date | string
|
|
476
|
+
updatedAt?: Date | string
|
|
477
|
+
runs?: Prisma.AiTaskRunUncheckedCreateNestedManyWithoutTaskInput
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
export type AiTaskUpdateInput = {
|
|
481
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
482
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
483
|
+
instruction?: Prisma.StringFieldUpdateOperationsInput | string
|
|
484
|
+
sourceType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
485
|
+
sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
486
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
487
|
+
lastRunAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
488
|
+
lastRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
489
|
+
scheduleCron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
490
|
+
scheduleTimezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
491
|
+
maxRuns?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
492
|
+
runCount?: Prisma.IntFieldUpdateOperationsInput | number
|
|
493
|
+
nextRunAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
494
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
495
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
496
|
+
creator?: Prisma.UserUpdateOneRequiredWithoutAiTasksCreatedNestedInput
|
|
497
|
+
workspace?: Prisma.WorkspaceUpdateOneWithoutAiTasksNestedInput
|
|
498
|
+
project?: Prisma.ProjectUpdateOneWithoutAiTasksNestedInput
|
|
499
|
+
runs?: Prisma.AiTaskRunUpdateManyWithoutTaskNestedInput
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
export type AiTaskUncheckedUpdateInput = {
|
|
503
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
504
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string
|
|
505
|
+
workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
506
|
+
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
507
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
508
|
+
instruction?: Prisma.StringFieldUpdateOperationsInput | string
|
|
509
|
+
sourceType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
510
|
+
sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
511
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
512
|
+
lastRunAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
513
|
+
lastRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
514
|
+
scheduleCron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
515
|
+
scheduleTimezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
516
|
+
maxRuns?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
517
|
+
runCount?: Prisma.IntFieldUpdateOperationsInput | number
|
|
518
|
+
nextRunAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
519
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
520
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
521
|
+
runs?: Prisma.AiTaskRunUncheckedUpdateManyWithoutTaskNestedInput
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
export type AiTaskCreateManyInput = {
|
|
525
|
+
id?: string
|
|
526
|
+
createdById: string
|
|
527
|
+
workspaceId?: string | null
|
|
528
|
+
projectId?: string | null
|
|
529
|
+
title: string
|
|
530
|
+
instruction: string
|
|
531
|
+
sourceType?: string | null
|
|
532
|
+
sourceId?: string | null
|
|
533
|
+
status?: string
|
|
534
|
+
lastRunAt?: Date | string | null
|
|
535
|
+
lastRunId?: string | null
|
|
536
|
+
scheduleCron?: string | null
|
|
537
|
+
scheduleTimezone?: string | null
|
|
538
|
+
maxRuns?: number | null
|
|
539
|
+
runCount?: number
|
|
540
|
+
nextRunAt?: Date | string | null
|
|
541
|
+
createdAt?: Date | string
|
|
542
|
+
updatedAt?: Date | string
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
export type AiTaskUpdateManyMutationInput = {
|
|
546
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
547
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
548
|
+
instruction?: Prisma.StringFieldUpdateOperationsInput | string
|
|
549
|
+
sourceType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
550
|
+
sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
551
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
552
|
+
lastRunAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
553
|
+
lastRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
554
|
+
scheduleCron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
555
|
+
scheduleTimezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
556
|
+
maxRuns?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
557
|
+
runCount?: Prisma.IntFieldUpdateOperationsInput | number
|
|
558
|
+
nextRunAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
559
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
560
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
export type AiTaskUncheckedUpdateManyInput = {
|
|
564
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
565
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string
|
|
566
|
+
workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
567
|
+
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
568
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
569
|
+
instruction?: Prisma.StringFieldUpdateOperationsInput | string
|
|
570
|
+
sourceType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
571
|
+
sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
572
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
573
|
+
lastRunAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
574
|
+
lastRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
575
|
+
scheduleCron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
576
|
+
scheduleTimezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
577
|
+
maxRuns?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
578
|
+
runCount?: Prisma.IntFieldUpdateOperationsInput | number
|
|
579
|
+
nextRunAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
580
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
581
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
export type AiTaskListRelationFilter = {
|
|
585
|
+
every?: Prisma.AiTaskWhereInput
|
|
586
|
+
some?: Prisma.AiTaskWhereInput
|
|
587
|
+
none?: Prisma.AiTaskWhereInput
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
export type AiTaskOrderByRelationAggregateInput = {
|
|
591
|
+
_count?: Prisma.SortOrder
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
export type AiTaskCountOrderByAggregateInput = {
|
|
595
|
+
id?: Prisma.SortOrder
|
|
596
|
+
createdById?: Prisma.SortOrder
|
|
597
|
+
workspaceId?: Prisma.SortOrder
|
|
598
|
+
projectId?: Prisma.SortOrder
|
|
599
|
+
title?: Prisma.SortOrder
|
|
600
|
+
instruction?: Prisma.SortOrder
|
|
601
|
+
sourceType?: Prisma.SortOrder
|
|
602
|
+
sourceId?: Prisma.SortOrder
|
|
603
|
+
status?: Prisma.SortOrder
|
|
604
|
+
lastRunAt?: Prisma.SortOrder
|
|
605
|
+
lastRunId?: Prisma.SortOrder
|
|
606
|
+
scheduleCron?: Prisma.SortOrder
|
|
607
|
+
scheduleTimezone?: Prisma.SortOrder
|
|
608
|
+
maxRuns?: Prisma.SortOrder
|
|
609
|
+
runCount?: Prisma.SortOrder
|
|
610
|
+
nextRunAt?: Prisma.SortOrder
|
|
611
|
+
createdAt?: Prisma.SortOrder
|
|
612
|
+
updatedAt?: Prisma.SortOrder
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
export type AiTaskAvgOrderByAggregateInput = {
|
|
616
|
+
maxRuns?: Prisma.SortOrder
|
|
617
|
+
runCount?: Prisma.SortOrder
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
export type AiTaskMaxOrderByAggregateInput = {
|
|
621
|
+
id?: Prisma.SortOrder
|
|
622
|
+
createdById?: Prisma.SortOrder
|
|
623
|
+
workspaceId?: Prisma.SortOrder
|
|
624
|
+
projectId?: Prisma.SortOrder
|
|
625
|
+
title?: Prisma.SortOrder
|
|
626
|
+
instruction?: Prisma.SortOrder
|
|
627
|
+
sourceType?: Prisma.SortOrder
|
|
628
|
+
sourceId?: Prisma.SortOrder
|
|
629
|
+
status?: Prisma.SortOrder
|
|
630
|
+
lastRunAt?: Prisma.SortOrder
|
|
631
|
+
lastRunId?: Prisma.SortOrder
|
|
632
|
+
scheduleCron?: Prisma.SortOrder
|
|
633
|
+
scheduleTimezone?: Prisma.SortOrder
|
|
634
|
+
maxRuns?: Prisma.SortOrder
|
|
635
|
+
runCount?: Prisma.SortOrder
|
|
636
|
+
nextRunAt?: Prisma.SortOrder
|
|
637
|
+
createdAt?: Prisma.SortOrder
|
|
638
|
+
updatedAt?: Prisma.SortOrder
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
export type AiTaskMinOrderByAggregateInput = {
|
|
642
|
+
id?: Prisma.SortOrder
|
|
643
|
+
createdById?: Prisma.SortOrder
|
|
644
|
+
workspaceId?: Prisma.SortOrder
|
|
645
|
+
projectId?: Prisma.SortOrder
|
|
646
|
+
title?: Prisma.SortOrder
|
|
647
|
+
instruction?: Prisma.SortOrder
|
|
648
|
+
sourceType?: Prisma.SortOrder
|
|
649
|
+
sourceId?: Prisma.SortOrder
|
|
650
|
+
status?: Prisma.SortOrder
|
|
651
|
+
lastRunAt?: Prisma.SortOrder
|
|
652
|
+
lastRunId?: Prisma.SortOrder
|
|
653
|
+
scheduleCron?: Prisma.SortOrder
|
|
654
|
+
scheduleTimezone?: Prisma.SortOrder
|
|
655
|
+
maxRuns?: Prisma.SortOrder
|
|
656
|
+
runCount?: Prisma.SortOrder
|
|
657
|
+
nextRunAt?: Prisma.SortOrder
|
|
658
|
+
createdAt?: Prisma.SortOrder
|
|
659
|
+
updatedAt?: Prisma.SortOrder
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
export type AiTaskSumOrderByAggregateInput = {
|
|
663
|
+
maxRuns?: Prisma.SortOrder
|
|
664
|
+
runCount?: Prisma.SortOrder
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
export type AiTaskScalarRelationFilter = {
|
|
668
|
+
is?: Prisma.AiTaskWhereInput
|
|
669
|
+
isNot?: Prisma.AiTaskWhereInput
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
export type AiTaskCreateNestedManyWithoutCreatorInput = {
|
|
673
|
+
create?: Prisma.XOR<Prisma.AiTaskCreateWithoutCreatorInput, Prisma.AiTaskUncheckedCreateWithoutCreatorInput> | Prisma.AiTaskCreateWithoutCreatorInput[] | Prisma.AiTaskUncheckedCreateWithoutCreatorInput[]
|
|
674
|
+
connectOrCreate?: Prisma.AiTaskCreateOrConnectWithoutCreatorInput | Prisma.AiTaskCreateOrConnectWithoutCreatorInput[]
|
|
675
|
+
createMany?: Prisma.AiTaskCreateManyCreatorInputEnvelope
|
|
676
|
+
connect?: Prisma.AiTaskWhereUniqueInput | Prisma.AiTaskWhereUniqueInput[]
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
export type AiTaskUncheckedCreateNestedManyWithoutCreatorInput = {
|
|
680
|
+
create?: Prisma.XOR<Prisma.AiTaskCreateWithoutCreatorInput, Prisma.AiTaskUncheckedCreateWithoutCreatorInput> | Prisma.AiTaskCreateWithoutCreatorInput[] | Prisma.AiTaskUncheckedCreateWithoutCreatorInput[]
|
|
681
|
+
connectOrCreate?: Prisma.AiTaskCreateOrConnectWithoutCreatorInput | Prisma.AiTaskCreateOrConnectWithoutCreatorInput[]
|
|
682
|
+
createMany?: Prisma.AiTaskCreateManyCreatorInputEnvelope
|
|
683
|
+
connect?: Prisma.AiTaskWhereUniqueInput | Prisma.AiTaskWhereUniqueInput[]
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
export type AiTaskUpdateManyWithoutCreatorNestedInput = {
|
|
687
|
+
create?: Prisma.XOR<Prisma.AiTaskCreateWithoutCreatorInput, Prisma.AiTaskUncheckedCreateWithoutCreatorInput> | Prisma.AiTaskCreateWithoutCreatorInput[] | Prisma.AiTaskUncheckedCreateWithoutCreatorInput[]
|
|
688
|
+
connectOrCreate?: Prisma.AiTaskCreateOrConnectWithoutCreatorInput | Prisma.AiTaskCreateOrConnectWithoutCreatorInput[]
|
|
689
|
+
upsert?: Prisma.AiTaskUpsertWithWhereUniqueWithoutCreatorInput | Prisma.AiTaskUpsertWithWhereUniqueWithoutCreatorInput[]
|
|
690
|
+
createMany?: Prisma.AiTaskCreateManyCreatorInputEnvelope
|
|
691
|
+
set?: Prisma.AiTaskWhereUniqueInput | Prisma.AiTaskWhereUniqueInput[]
|
|
692
|
+
disconnect?: Prisma.AiTaskWhereUniqueInput | Prisma.AiTaskWhereUniqueInput[]
|
|
693
|
+
delete?: Prisma.AiTaskWhereUniqueInput | Prisma.AiTaskWhereUniqueInput[]
|
|
694
|
+
connect?: Prisma.AiTaskWhereUniqueInput | Prisma.AiTaskWhereUniqueInput[]
|
|
695
|
+
update?: Prisma.AiTaskUpdateWithWhereUniqueWithoutCreatorInput | Prisma.AiTaskUpdateWithWhereUniqueWithoutCreatorInput[]
|
|
696
|
+
updateMany?: Prisma.AiTaskUpdateManyWithWhereWithoutCreatorInput | Prisma.AiTaskUpdateManyWithWhereWithoutCreatorInput[]
|
|
697
|
+
deleteMany?: Prisma.AiTaskScalarWhereInput | Prisma.AiTaskScalarWhereInput[]
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
export type AiTaskUncheckedUpdateManyWithoutCreatorNestedInput = {
|
|
701
|
+
create?: Prisma.XOR<Prisma.AiTaskCreateWithoutCreatorInput, Prisma.AiTaskUncheckedCreateWithoutCreatorInput> | Prisma.AiTaskCreateWithoutCreatorInput[] | Prisma.AiTaskUncheckedCreateWithoutCreatorInput[]
|
|
702
|
+
connectOrCreate?: Prisma.AiTaskCreateOrConnectWithoutCreatorInput | Prisma.AiTaskCreateOrConnectWithoutCreatorInput[]
|
|
703
|
+
upsert?: Prisma.AiTaskUpsertWithWhereUniqueWithoutCreatorInput | Prisma.AiTaskUpsertWithWhereUniqueWithoutCreatorInput[]
|
|
704
|
+
createMany?: Prisma.AiTaskCreateManyCreatorInputEnvelope
|
|
705
|
+
set?: Prisma.AiTaskWhereUniqueInput | Prisma.AiTaskWhereUniqueInput[]
|
|
706
|
+
disconnect?: Prisma.AiTaskWhereUniqueInput | Prisma.AiTaskWhereUniqueInput[]
|
|
707
|
+
delete?: Prisma.AiTaskWhereUniqueInput | Prisma.AiTaskWhereUniqueInput[]
|
|
708
|
+
connect?: Prisma.AiTaskWhereUniqueInput | Prisma.AiTaskWhereUniqueInput[]
|
|
709
|
+
update?: Prisma.AiTaskUpdateWithWhereUniqueWithoutCreatorInput | Prisma.AiTaskUpdateWithWhereUniqueWithoutCreatorInput[]
|
|
710
|
+
updateMany?: Prisma.AiTaskUpdateManyWithWhereWithoutCreatorInput | Prisma.AiTaskUpdateManyWithWhereWithoutCreatorInput[]
|
|
711
|
+
deleteMany?: Prisma.AiTaskScalarWhereInput | Prisma.AiTaskScalarWhereInput[]
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
export type AiTaskCreateNestedManyWithoutProjectInput = {
|
|
715
|
+
create?: Prisma.XOR<Prisma.AiTaskCreateWithoutProjectInput, Prisma.AiTaskUncheckedCreateWithoutProjectInput> | Prisma.AiTaskCreateWithoutProjectInput[] | Prisma.AiTaskUncheckedCreateWithoutProjectInput[]
|
|
716
|
+
connectOrCreate?: Prisma.AiTaskCreateOrConnectWithoutProjectInput | Prisma.AiTaskCreateOrConnectWithoutProjectInput[]
|
|
717
|
+
createMany?: Prisma.AiTaskCreateManyProjectInputEnvelope
|
|
718
|
+
connect?: Prisma.AiTaskWhereUniqueInput | Prisma.AiTaskWhereUniqueInput[]
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
export type AiTaskUncheckedCreateNestedManyWithoutProjectInput = {
|
|
722
|
+
create?: Prisma.XOR<Prisma.AiTaskCreateWithoutProjectInput, Prisma.AiTaskUncheckedCreateWithoutProjectInput> | Prisma.AiTaskCreateWithoutProjectInput[] | Prisma.AiTaskUncheckedCreateWithoutProjectInput[]
|
|
723
|
+
connectOrCreate?: Prisma.AiTaskCreateOrConnectWithoutProjectInput | Prisma.AiTaskCreateOrConnectWithoutProjectInput[]
|
|
724
|
+
createMany?: Prisma.AiTaskCreateManyProjectInputEnvelope
|
|
725
|
+
connect?: Prisma.AiTaskWhereUniqueInput | Prisma.AiTaskWhereUniqueInput[]
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
export type AiTaskUpdateManyWithoutProjectNestedInput = {
|
|
729
|
+
create?: Prisma.XOR<Prisma.AiTaskCreateWithoutProjectInput, Prisma.AiTaskUncheckedCreateWithoutProjectInput> | Prisma.AiTaskCreateWithoutProjectInput[] | Prisma.AiTaskUncheckedCreateWithoutProjectInput[]
|
|
730
|
+
connectOrCreate?: Prisma.AiTaskCreateOrConnectWithoutProjectInput | Prisma.AiTaskCreateOrConnectWithoutProjectInput[]
|
|
731
|
+
upsert?: Prisma.AiTaskUpsertWithWhereUniqueWithoutProjectInput | Prisma.AiTaskUpsertWithWhereUniqueWithoutProjectInput[]
|
|
732
|
+
createMany?: Prisma.AiTaskCreateManyProjectInputEnvelope
|
|
733
|
+
set?: Prisma.AiTaskWhereUniqueInput | Prisma.AiTaskWhereUniqueInput[]
|
|
734
|
+
disconnect?: Prisma.AiTaskWhereUniqueInput | Prisma.AiTaskWhereUniqueInput[]
|
|
735
|
+
delete?: Prisma.AiTaskWhereUniqueInput | Prisma.AiTaskWhereUniqueInput[]
|
|
736
|
+
connect?: Prisma.AiTaskWhereUniqueInput | Prisma.AiTaskWhereUniqueInput[]
|
|
737
|
+
update?: Prisma.AiTaskUpdateWithWhereUniqueWithoutProjectInput | Prisma.AiTaskUpdateWithWhereUniqueWithoutProjectInput[]
|
|
738
|
+
updateMany?: Prisma.AiTaskUpdateManyWithWhereWithoutProjectInput | Prisma.AiTaskUpdateManyWithWhereWithoutProjectInput[]
|
|
739
|
+
deleteMany?: Prisma.AiTaskScalarWhereInput | Prisma.AiTaskScalarWhereInput[]
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
export type AiTaskUncheckedUpdateManyWithoutProjectNestedInput = {
|
|
743
|
+
create?: Prisma.XOR<Prisma.AiTaskCreateWithoutProjectInput, Prisma.AiTaskUncheckedCreateWithoutProjectInput> | Prisma.AiTaskCreateWithoutProjectInput[] | Prisma.AiTaskUncheckedCreateWithoutProjectInput[]
|
|
744
|
+
connectOrCreate?: Prisma.AiTaskCreateOrConnectWithoutProjectInput | Prisma.AiTaskCreateOrConnectWithoutProjectInput[]
|
|
745
|
+
upsert?: Prisma.AiTaskUpsertWithWhereUniqueWithoutProjectInput | Prisma.AiTaskUpsertWithWhereUniqueWithoutProjectInput[]
|
|
746
|
+
createMany?: Prisma.AiTaskCreateManyProjectInputEnvelope
|
|
747
|
+
set?: Prisma.AiTaskWhereUniqueInput | Prisma.AiTaskWhereUniqueInput[]
|
|
748
|
+
disconnect?: Prisma.AiTaskWhereUniqueInput | Prisma.AiTaskWhereUniqueInput[]
|
|
749
|
+
delete?: Prisma.AiTaskWhereUniqueInput | Prisma.AiTaskWhereUniqueInput[]
|
|
750
|
+
connect?: Prisma.AiTaskWhereUniqueInput | Prisma.AiTaskWhereUniqueInput[]
|
|
751
|
+
update?: Prisma.AiTaskUpdateWithWhereUniqueWithoutProjectInput | Prisma.AiTaskUpdateWithWhereUniqueWithoutProjectInput[]
|
|
752
|
+
updateMany?: Prisma.AiTaskUpdateManyWithWhereWithoutProjectInput | Prisma.AiTaskUpdateManyWithWhereWithoutProjectInput[]
|
|
753
|
+
deleteMany?: Prisma.AiTaskScalarWhereInput | Prisma.AiTaskScalarWhereInput[]
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
export type AiTaskCreateNestedManyWithoutWorkspaceInput = {
|
|
757
|
+
create?: Prisma.XOR<Prisma.AiTaskCreateWithoutWorkspaceInput, Prisma.AiTaskUncheckedCreateWithoutWorkspaceInput> | Prisma.AiTaskCreateWithoutWorkspaceInput[] | Prisma.AiTaskUncheckedCreateWithoutWorkspaceInput[]
|
|
758
|
+
connectOrCreate?: Prisma.AiTaskCreateOrConnectWithoutWorkspaceInput | Prisma.AiTaskCreateOrConnectWithoutWorkspaceInput[]
|
|
759
|
+
createMany?: Prisma.AiTaskCreateManyWorkspaceInputEnvelope
|
|
760
|
+
connect?: Prisma.AiTaskWhereUniqueInput | Prisma.AiTaskWhereUniqueInput[]
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
export type AiTaskUncheckedCreateNestedManyWithoutWorkspaceInput = {
|
|
764
|
+
create?: Prisma.XOR<Prisma.AiTaskCreateWithoutWorkspaceInput, Prisma.AiTaskUncheckedCreateWithoutWorkspaceInput> | Prisma.AiTaskCreateWithoutWorkspaceInput[] | Prisma.AiTaskUncheckedCreateWithoutWorkspaceInput[]
|
|
765
|
+
connectOrCreate?: Prisma.AiTaskCreateOrConnectWithoutWorkspaceInput | Prisma.AiTaskCreateOrConnectWithoutWorkspaceInput[]
|
|
766
|
+
createMany?: Prisma.AiTaskCreateManyWorkspaceInputEnvelope
|
|
767
|
+
connect?: Prisma.AiTaskWhereUniqueInput | Prisma.AiTaskWhereUniqueInput[]
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
export type AiTaskUpdateManyWithoutWorkspaceNestedInput = {
|
|
771
|
+
create?: Prisma.XOR<Prisma.AiTaskCreateWithoutWorkspaceInput, Prisma.AiTaskUncheckedCreateWithoutWorkspaceInput> | Prisma.AiTaskCreateWithoutWorkspaceInput[] | Prisma.AiTaskUncheckedCreateWithoutWorkspaceInput[]
|
|
772
|
+
connectOrCreate?: Prisma.AiTaskCreateOrConnectWithoutWorkspaceInput | Prisma.AiTaskCreateOrConnectWithoutWorkspaceInput[]
|
|
773
|
+
upsert?: Prisma.AiTaskUpsertWithWhereUniqueWithoutWorkspaceInput | Prisma.AiTaskUpsertWithWhereUniqueWithoutWorkspaceInput[]
|
|
774
|
+
createMany?: Prisma.AiTaskCreateManyWorkspaceInputEnvelope
|
|
775
|
+
set?: Prisma.AiTaskWhereUniqueInput | Prisma.AiTaskWhereUniqueInput[]
|
|
776
|
+
disconnect?: Prisma.AiTaskWhereUniqueInput | Prisma.AiTaskWhereUniqueInput[]
|
|
777
|
+
delete?: Prisma.AiTaskWhereUniqueInput | Prisma.AiTaskWhereUniqueInput[]
|
|
778
|
+
connect?: Prisma.AiTaskWhereUniqueInput | Prisma.AiTaskWhereUniqueInput[]
|
|
779
|
+
update?: Prisma.AiTaskUpdateWithWhereUniqueWithoutWorkspaceInput | Prisma.AiTaskUpdateWithWhereUniqueWithoutWorkspaceInput[]
|
|
780
|
+
updateMany?: Prisma.AiTaskUpdateManyWithWhereWithoutWorkspaceInput | Prisma.AiTaskUpdateManyWithWhereWithoutWorkspaceInput[]
|
|
781
|
+
deleteMany?: Prisma.AiTaskScalarWhereInput | Prisma.AiTaskScalarWhereInput[]
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
export type AiTaskUncheckedUpdateManyWithoutWorkspaceNestedInput = {
|
|
785
|
+
create?: Prisma.XOR<Prisma.AiTaskCreateWithoutWorkspaceInput, Prisma.AiTaskUncheckedCreateWithoutWorkspaceInput> | Prisma.AiTaskCreateWithoutWorkspaceInput[] | Prisma.AiTaskUncheckedCreateWithoutWorkspaceInput[]
|
|
786
|
+
connectOrCreate?: Prisma.AiTaskCreateOrConnectWithoutWorkspaceInput | Prisma.AiTaskCreateOrConnectWithoutWorkspaceInput[]
|
|
787
|
+
upsert?: Prisma.AiTaskUpsertWithWhereUniqueWithoutWorkspaceInput | Prisma.AiTaskUpsertWithWhereUniqueWithoutWorkspaceInput[]
|
|
788
|
+
createMany?: Prisma.AiTaskCreateManyWorkspaceInputEnvelope
|
|
789
|
+
set?: Prisma.AiTaskWhereUniqueInput | Prisma.AiTaskWhereUniqueInput[]
|
|
790
|
+
disconnect?: Prisma.AiTaskWhereUniqueInput | Prisma.AiTaskWhereUniqueInput[]
|
|
791
|
+
delete?: Prisma.AiTaskWhereUniqueInput | Prisma.AiTaskWhereUniqueInput[]
|
|
792
|
+
connect?: Prisma.AiTaskWhereUniqueInput | Prisma.AiTaskWhereUniqueInput[]
|
|
793
|
+
update?: Prisma.AiTaskUpdateWithWhereUniqueWithoutWorkspaceInput | Prisma.AiTaskUpdateWithWhereUniqueWithoutWorkspaceInput[]
|
|
794
|
+
updateMany?: Prisma.AiTaskUpdateManyWithWhereWithoutWorkspaceInput | Prisma.AiTaskUpdateManyWithWhereWithoutWorkspaceInput[]
|
|
795
|
+
deleteMany?: Prisma.AiTaskScalarWhereInput | Prisma.AiTaskScalarWhereInput[]
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
export type AiTaskCreateNestedOneWithoutRunsInput = {
|
|
799
|
+
create?: Prisma.XOR<Prisma.AiTaskCreateWithoutRunsInput, Prisma.AiTaskUncheckedCreateWithoutRunsInput>
|
|
800
|
+
connectOrCreate?: Prisma.AiTaskCreateOrConnectWithoutRunsInput
|
|
801
|
+
connect?: Prisma.AiTaskWhereUniqueInput
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
export type AiTaskUpdateOneRequiredWithoutRunsNestedInput = {
|
|
805
|
+
create?: Prisma.XOR<Prisma.AiTaskCreateWithoutRunsInput, Prisma.AiTaskUncheckedCreateWithoutRunsInput>
|
|
806
|
+
connectOrCreate?: Prisma.AiTaskCreateOrConnectWithoutRunsInput
|
|
807
|
+
upsert?: Prisma.AiTaskUpsertWithoutRunsInput
|
|
808
|
+
connect?: Prisma.AiTaskWhereUniqueInput
|
|
809
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.AiTaskUpdateToOneWithWhereWithoutRunsInput, Prisma.AiTaskUpdateWithoutRunsInput>, Prisma.AiTaskUncheckedUpdateWithoutRunsInput>
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
export type AiTaskCreateWithoutCreatorInput = {
|
|
813
|
+
id?: string
|
|
814
|
+
title: string
|
|
815
|
+
instruction: string
|
|
816
|
+
sourceType?: string | null
|
|
817
|
+
sourceId?: string | null
|
|
818
|
+
status?: string
|
|
819
|
+
lastRunAt?: Date | string | null
|
|
820
|
+
lastRunId?: string | null
|
|
821
|
+
scheduleCron?: string | null
|
|
822
|
+
scheduleTimezone?: string | null
|
|
823
|
+
maxRuns?: number | null
|
|
824
|
+
runCount?: number
|
|
825
|
+
nextRunAt?: Date | string | null
|
|
826
|
+
createdAt?: Date | string
|
|
827
|
+
updatedAt?: Date | string
|
|
828
|
+
workspace?: Prisma.WorkspaceCreateNestedOneWithoutAiTasksInput
|
|
829
|
+
project?: Prisma.ProjectCreateNestedOneWithoutAiTasksInput
|
|
830
|
+
runs?: Prisma.AiTaskRunCreateNestedManyWithoutTaskInput
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
export type AiTaskUncheckedCreateWithoutCreatorInput = {
|
|
834
|
+
id?: string
|
|
835
|
+
workspaceId?: string | null
|
|
836
|
+
projectId?: string | null
|
|
837
|
+
title: string
|
|
838
|
+
instruction: string
|
|
839
|
+
sourceType?: string | null
|
|
840
|
+
sourceId?: string | null
|
|
841
|
+
status?: string
|
|
842
|
+
lastRunAt?: Date | string | null
|
|
843
|
+
lastRunId?: string | null
|
|
844
|
+
scheduleCron?: string | null
|
|
845
|
+
scheduleTimezone?: string | null
|
|
846
|
+
maxRuns?: number | null
|
|
847
|
+
runCount?: number
|
|
848
|
+
nextRunAt?: Date | string | null
|
|
849
|
+
createdAt?: Date | string
|
|
850
|
+
updatedAt?: Date | string
|
|
851
|
+
runs?: Prisma.AiTaskRunUncheckedCreateNestedManyWithoutTaskInput
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
export type AiTaskCreateOrConnectWithoutCreatorInput = {
|
|
855
|
+
where: Prisma.AiTaskWhereUniqueInput
|
|
856
|
+
create: Prisma.XOR<Prisma.AiTaskCreateWithoutCreatorInput, Prisma.AiTaskUncheckedCreateWithoutCreatorInput>
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
export type AiTaskCreateManyCreatorInputEnvelope = {
|
|
860
|
+
data: Prisma.AiTaskCreateManyCreatorInput | Prisma.AiTaskCreateManyCreatorInput[]
|
|
861
|
+
skipDuplicates?: boolean
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
export type AiTaskUpsertWithWhereUniqueWithoutCreatorInput = {
|
|
865
|
+
where: Prisma.AiTaskWhereUniqueInput
|
|
866
|
+
update: Prisma.XOR<Prisma.AiTaskUpdateWithoutCreatorInput, Prisma.AiTaskUncheckedUpdateWithoutCreatorInput>
|
|
867
|
+
create: Prisma.XOR<Prisma.AiTaskCreateWithoutCreatorInput, Prisma.AiTaskUncheckedCreateWithoutCreatorInput>
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
export type AiTaskUpdateWithWhereUniqueWithoutCreatorInput = {
|
|
871
|
+
where: Prisma.AiTaskWhereUniqueInput
|
|
872
|
+
data: Prisma.XOR<Prisma.AiTaskUpdateWithoutCreatorInput, Prisma.AiTaskUncheckedUpdateWithoutCreatorInput>
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
export type AiTaskUpdateManyWithWhereWithoutCreatorInput = {
|
|
876
|
+
where: Prisma.AiTaskScalarWhereInput
|
|
877
|
+
data: Prisma.XOR<Prisma.AiTaskUpdateManyMutationInput, Prisma.AiTaskUncheckedUpdateManyWithoutCreatorInput>
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
export type AiTaskScalarWhereInput = {
|
|
881
|
+
AND?: Prisma.AiTaskScalarWhereInput | Prisma.AiTaskScalarWhereInput[]
|
|
882
|
+
OR?: Prisma.AiTaskScalarWhereInput[]
|
|
883
|
+
NOT?: Prisma.AiTaskScalarWhereInput | Prisma.AiTaskScalarWhereInput[]
|
|
884
|
+
id?: Prisma.StringFilter<"AiTask"> | string
|
|
885
|
+
createdById?: Prisma.StringFilter<"AiTask"> | string
|
|
886
|
+
workspaceId?: Prisma.StringNullableFilter<"AiTask"> | string | null
|
|
887
|
+
projectId?: Prisma.StringNullableFilter<"AiTask"> | string | null
|
|
888
|
+
title?: Prisma.StringFilter<"AiTask"> | string
|
|
889
|
+
instruction?: Prisma.StringFilter<"AiTask"> | string
|
|
890
|
+
sourceType?: Prisma.StringNullableFilter<"AiTask"> | string | null
|
|
891
|
+
sourceId?: Prisma.StringNullableFilter<"AiTask"> | string | null
|
|
892
|
+
status?: Prisma.StringFilter<"AiTask"> | string
|
|
893
|
+
lastRunAt?: Prisma.DateTimeNullableFilter<"AiTask"> | Date | string | null
|
|
894
|
+
lastRunId?: Prisma.StringNullableFilter<"AiTask"> | string | null
|
|
895
|
+
scheduleCron?: Prisma.StringNullableFilter<"AiTask"> | string | null
|
|
896
|
+
scheduleTimezone?: Prisma.StringNullableFilter<"AiTask"> | string | null
|
|
897
|
+
maxRuns?: Prisma.IntNullableFilter<"AiTask"> | number | null
|
|
898
|
+
runCount?: Prisma.IntFilter<"AiTask"> | number
|
|
899
|
+
nextRunAt?: Prisma.DateTimeNullableFilter<"AiTask"> | Date | string | null
|
|
900
|
+
createdAt?: Prisma.DateTimeFilter<"AiTask"> | Date | string
|
|
901
|
+
updatedAt?: Prisma.DateTimeFilter<"AiTask"> | Date | string
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
export type AiTaskCreateWithoutProjectInput = {
|
|
905
|
+
id?: string
|
|
906
|
+
title: string
|
|
907
|
+
instruction: string
|
|
908
|
+
sourceType?: string | null
|
|
909
|
+
sourceId?: string | null
|
|
910
|
+
status?: string
|
|
911
|
+
lastRunAt?: Date | string | null
|
|
912
|
+
lastRunId?: string | null
|
|
913
|
+
scheduleCron?: string | null
|
|
914
|
+
scheduleTimezone?: string | null
|
|
915
|
+
maxRuns?: number | null
|
|
916
|
+
runCount?: number
|
|
917
|
+
nextRunAt?: Date | string | null
|
|
918
|
+
createdAt?: Date | string
|
|
919
|
+
updatedAt?: Date | string
|
|
920
|
+
creator: Prisma.UserCreateNestedOneWithoutAiTasksCreatedInput
|
|
921
|
+
workspace?: Prisma.WorkspaceCreateNestedOneWithoutAiTasksInput
|
|
922
|
+
runs?: Prisma.AiTaskRunCreateNestedManyWithoutTaskInput
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
export type AiTaskUncheckedCreateWithoutProjectInput = {
|
|
926
|
+
id?: string
|
|
927
|
+
createdById: string
|
|
928
|
+
workspaceId?: string | null
|
|
929
|
+
title: string
|
|
930
|
+
instruction: string
|
|
931
|
+
sourceType?: string | null
|
|
932
|
+
sourceId?: string | null
|
|
933
|
+
status?: string
|
|
934
|
+
lastRunAt?: Date | string | null
|
|
935
|
+
lastRunId?: string | null
|
|
936
|
+
scheduleCron?: string | null
|
|
937
|
+
scheduleTimezone?: string | null
|
|
938
|
+
maxRuns?: number | null
|
|
939
|
+
runCount?: number
|
|
940
|
+
nextRunAt?: Date | string | null
|
|
941
|
+
createdAt?: Date | string
|
|
942
|
+
updatedAt?: Date | string
|
|
943
|
+
runs?: Prisma.AiTaskRunUncheckedCreateNestedManyWithoutTaskInput
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
export type AiTaskCreateOrConnectWithoutProjectInput = {
|
|
947
|
+
where: Prisma.AiTaskWhereUniqueInput
|
|
948
|
+
create: Prisma.XOR<Prisma.AiTaskCreateWithoutProjectInput, Prisma.AiTaskUncheckedCreateWithoutProjectInput>
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
export type AiTaskCreateManyProjectInputEnvelope = {
|
|
952
|
+
data: Prisma.AiTaskCreateManyProjectInput | Prisma.AiTaskCreateManyProjectInput[]
|
|
953
|
+
skipDuplicates?: boolean
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
export type AiTaskUpsertWithWhereUniqueWithoutProjectInput = {
|
|
957
|
+
where: Prisma.AiTaskWhereUniqueInput
|
|
958
|
+
update: Prisma.XOR<Prisma.AiTaskUpdateWithoutProjectInput, Prisma.AiTaskUncheckedUpdateWithoutProjectInput>
|
|
959
|
+
create: Prisma.XOR<Prisma.AiTaskCreateWithoutProjectInput, Prisma.AiTaskUncheckedCreateWithoutProjectInput>
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
export type AiTaskUpdateWithWhereUniqueWithoutProjectInput = {
|
|
963
|
+
where: Prisma.AiTaskWhereUniqueInput
|
|
964
|
+
data: Prisma.XOR<Prisma.AiTaskUpdateWithoutProjectInput, Prisma.AiTaskUncheckedUpdateWithoutProjectInput>
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
export type AiTaskUpdateManyWithWhereWithoutProjectInput = {
|
|
968
|
+
where: Prisma.AiTaskScalarWhereInput
|
|
969
|
+
data: Prisma.XOR<Prisma.AiTaskUpdateManyMutationInput, Prisma.AiTaskUncheckedUpdateManyWithoutProjectInput>
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
export type AiTaskCreateWithoutWorkspaceInput = {
|
|
973
|
+
id?: string
|
|
974
|
+
title: string
|
|
975
|
+
instruction: string
|
|
976
|
+
sourceType?: string | null
|
|
977
|
+
sourceId?: string | null
|
|
978
|
+
status?: string
|
|
979
|
+
lastRunAt?: Date | string | null
|
|
980
|
+
lastRunId?: string | null
|
|
981
|
+
scheduleCron?: string | null
|
|
982
|
+
scheduleTimezone?: string | null
|
|
983
|
+
maxRuns?: number | null
|
|
984
|
+
runCount?: number
|
|
985
|
+
nextRunAt?: Date | string | null
|
|
986
|
+
createdAt?: Date | string
|
|
987
|
+
updatedAt?: Date | string
|
|
988
|
+
creator: Prisma.UserCreateNestedOneWithoutAiTasksCreatedInput
|
|
989
|
+
project?: Prisma.ProjectCreateNestedOneWithoutAiTasksInput
|
|
990
|
+
runs?: Prisma.AiTaskRunCreateNestedManyWithoutTaskInput
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
export type AiTaskUncheckedCreateWithoutWorkspaceInput = {
|
|
994
|
+
id?: string
|
|
995
|
+
createdById: string
|
|
996
|
+
projectId?: string | null
|
|
997
|
+
title: string
|
|
998
|
+
instruction: string
|
|
999
|
+
sourceType?: string | null
|
|
1000
|
+
sourceId?: string | null
|
|
1001
|
+
status?: string
|
|
1002
|
+
lastRunAt?: Date | string | null
|
|
1003
|
+
lastRunId?: string | null
|
|
1004
|
+
scheduleCron?: string | null
|
|
1005
|
+
scheduleTimezone?: string | null
|
|
1006
|
+
maxRuns?: number | null
|
|
1007
|
+
runCount?: number
|
|
1008
|
+
nextRunAt?: Date | string | null
|
|
1009
|
+
createdAt?: Date | string
|
|
1010
|
+
updatedAt?: Date | string
|
|
1011
|
+
runs?: Prisma.AiTaskRunUncheckedCreateNestedManyWithoutTaskInput
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
export type AiTaskCreateOrConnectWithoutWorkspaceInput = {
|
|
1015
|
+
where: Prisma.AiTaskWhereUniqueInput
|
|
1016
|
+
create: Prisma.XOR<Prisma.AiTaskCreateWithoutWorkspaceInput, Prisma.AiTaskUncheckedCreateWithoutWorkspaceInput>
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
export type AiTaskCreateManyWorkspaceInputEnvelope = {
|
|
1020
|
+
data: Prisma.AiTaskCreateManyWorkspaceInput | Prisma.AiTaskCreateManyWorkspaceInput[]
|
|
1021
|
+
skipDuplicates?: boolean
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
export type AiTaskUpsertWithWhereUniqueWithoutWorkspaceInput = {
|
|
1025
|
+
where: Prisma.AiTaskWhereUniqueInput
|
|
1026
|
+
update: Prisma.XOR<Prisma.AiTaskUpdateWithoutWorkspaceInput, Prisma.AiTaskUncheckedUpdateWithoutWorkspaceInput>
|
|
1027
|
+
create: Prisma.XOR<Prisma.AiTaskCreateWithoutWorkspaceInput, Prisma.AiTaskUncheckedCreateWithoutWorkspaceInput>
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
export type AiTaskUpdateWithWhereUniqueWithoutWorkspaceInput = {
|
|
1031
|
+
where: Prisma.AiTaskWhereUniqueInput
|
|
1032
|
+
data: Prisma.XOR<Prisma.AiTaskUpdateWithoutWorkspaceInput, Prisma.AiTaskUncheckedUpdateWithoutWorkspaceInput>
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
export type AiTaskUpdateManyWithWhereWithoutWorkspaceInput = {
|
|
1036
|
+
where: Prisma.AiTaskScalarWhereInput
|
|
1037
|
+
data: Prisma.XOR<Prisma.AiTaskUpdateManyMutationInput, Prisma.AiTaskUncheckedUpdateManyWithoutWorkspaceInput>
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
export type AiTaskCreateWithoutRunsInput = {
|
|
1041
|
+
id?: string
|
|
1042
|
+
title: string
|
|
1043
|
+
instruction: string
|
|
1044
|
+
sourceType?: string | null
|
|
1045
|
+
sourceId?: string | null
|
|
1046
|
+
status?: string
|
|
1047
|
+
lastRunAt?: Date | string | null
|
|
1048
|
+
lastRunId?: string | null
|
|
1049
|
+
scheduleCron?: string | null
|
|
1050
|
+
scheduleTimezone?: string | null
|
|
1051
|
+
maxRuns?: number | null
|
|
1052
|
+
runCount?: number
|
|
1053
|
+
nextRunAt?: Date | string | null
|
|
1054
|
+
createdAt?: Date | string
|
|
1055
|
+
updatedAt?: Date | string
|
|
1056
|
+
creator: Prisma.UserCreateNestedOneWithoutAiTasksCreatedInput
|
|
1057
|
+
workspace?: Prisma.WorkspaceCreateNestedOneWithoutAiTasksInput
|
|
1058
|
+
project?: Prisma.ProjectCreateNestedOneWithoutAiTasksInput
|
|
1059
|
+
}
|
|
1060
|
+
|
|
1061
|
+
export type AiTaskUncheckedCreateWithoutRunsInput = {
|
|
1062
|
+
id?: string
|
|
1063
|
+
createdById: string
|
|
1064
|
+
workspaceId?: string | null
|
|
1065
|
+
projectId?: string | null
|
|
1066
|
+
title: string
|
|
1067
|
+
instruction: string
|
|
1068
|
+
sourceType?: string | null
|
|
1069
|
+
sourceId?: string | null
|
|
1070
|
+
status?: string
|
|
1071
|
+
lastRunAt?: Date | string | null
|
|
1072
|
+
lastRunId?: string | null
|
|
1073
|
+
scheduleCron?: string | null
|
|
1074
|
+
scheduleTimezone?: string | null
|
|
1075
|
+
maxRuns?: number | null
|
|
1076
|
+
runCount?: number
|
|
1077
|
+
nextRunAt?: Date | string | null
|
|
1078
|
+
createdAt?: Date | string
|
|
1079
|
+
updatedAt?: Date | string
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
export type AiTaskCreateOrConnectWithoutRunsInput = {
|
|
1083
|
+
where: Prisma.AiTaskWhereUniqueInput
|
|
1084
|
+
create: Prisma.XOR<Prisma.AiTaskCreateWithoutRunsInput, Prisma.AiTaskUncheckedCreateWithoutRunsInput>
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
export type AiTaskUpsertWithoutRunsInput = {
|
|
1088
|
+
update: Prisma.XOR<Prisma.AiTaskUpdateWithoutRunsInput, Prisma.AiTaskUncheckedUpdateWithoutRunsInput>
|
|
1089
|
+
create: Prisma.XOR<Prisma.AiTaskCreateWithoutRunsInput, Prisma.AiTaskUncheckedCreateWithoutRunsInput>
|
|
1090
|
+
where?: Prisma.AiTaskWhereInput
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
export type AiTaskUpdateToOneWithWhereWithoutRunsInput = {
|
|
1094
|
+
where?: Prisma.AiTaskWhereInput
|
|
1095
|
+
data: Prisma.XOR<Prisma.AiTaskUpdateWithoutRunsInput, Prisma.AiTaskUncheckedUpdateWithoutRunsInput>
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
export type AiTaskUpdateWithoutRunsInput = {
|
|
1099
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1100
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1101
|
+
instruction?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1102
|
+
sourceType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1103
|
+
sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1104
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1105
|
+
lastRunAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1106
|
+
lastRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1107
|
+
scheduleCron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1108
|
+
scheduleTimezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1109
|
+
maxRuns?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1110
|
+
runCount?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1111
|
+
nextRunAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1112
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1113
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1114
|
+
creator?: Prisma.UserUpdateOneRequiredWithoutAiTasksCreatedNestedInput
|
|
1115
|
+
workspace?: Prisma.WorkspaceUpdateOneWithoutAiTasksNestedInput
|
|
1116
|
+
project?: Prisma.ProjectUpdateOneWithoutAiTasksNestedInput
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
export type AiTaskUncheckedUpdateWithoutRunsInput = {
|
|
1120
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1121
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1122
|
+
workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1123
|
+
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1124
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1125
|
+
instruction?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1126
|
+
sourceType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1127
|
+
sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1128
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1129
|
+
lastRunAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1130
|
+
lastRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1131
|
+
scheduleCron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1132
|
+
scheduleTimezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1133
|
+
maxRuns?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1134
|
+
runCount?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1135
|
+
nextRunAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1136
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1137
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
export type AiTaskCreateManyCreatorInput = {
|
|
1141
|
+
id?: string
|
|
1142
|
+
workspaceId?: string | null
|
|
1143
|
+
projectId?: string | null
|
|
1144
|
+
title: string
|
|
1145
|
+
instruction: string
|
|
1146
|
+
sourceType?: string | null
|
|
1147
|
+
sourceId?: string | null
|
|
1148
|
+
status?: string
|
|
1149
|
+
lastRunAt?: Date | string | null
|
|
1150
|
+
lastRunId?: string | null
|
|
1151
|
+
scheduleCron?: string | null
|
|
1152
|
+
scheduleTimezone?: string | null
|
|
1153
|
+
maxRuns?: number | null
|
|
1154
|
+
runCount?: number
|
|
1155
|
+
nextRunAt?: Date | string | null
|
|
1156
|
+
createdAt?: Date | string
|
|
1157
|
+
updatedAt?: Date | string
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
export type AiTaskUpdateWithoutCreatorInput = {
|
|
1161
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1162
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1163
|
+
instruction?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1164
|
+
sourceType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1165
|
+
sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1166
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1167
|
+
lastRunAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1168
|
+
lastRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1169
|
+
scheduleCron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1170
|
+
scheduleTimezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1171
|
+
maxRuns?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1172
|
+
runCount?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1173
|
+
nextRunAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1174
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1175
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1176
|
+
workspace?: Prisma.WorkspaceUpdateOneWithoutAiTasksNestedInput
|
|
1177
|
+
project?: Prisma.ProjectUpdateOneWithoutAiTasksNestedInput
|
|
1178
|
+
runs?: Prisma.AiTaskRunUpdateManyWithoutTaskNestedInput
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
export type AiTaskUncheckedUpdateWithoutCreatorInput = {
|
|
1182
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1183
|
+
workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1184
|
+
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1185
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1186
|
+
instruction?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1187
|
+
sourceType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1188
|
+
sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1189
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1190
|
+
lastRunAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1191
|
+
lastRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1192
|
+
scheduleCron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1193
|
+
scheduleTimezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1194
|
+
maxRuns?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1195
|
+
runCount?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1196
|
+
nextRunAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1197
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1198
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1199
|
+
runs?: Prisma.AiTaskRunUncheckedUpdateManyWithoutTaskNestedInput
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
export type AiTaskUncheckedUpdateManyWithoutCreatorInput = {
|
|
1203
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1204
|
+
workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1205
|
+
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1206
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1207
|
+
instruction?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1208
|
+
sourceType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1209
|
+
sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1210
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1211
|
+
lastRunAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1212
|
+
lastRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1213
|
+
scheduleCron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1214
|
+
scheduleTimezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1215
|
+
maxRuns?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1216
|
+
runCount?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1217
|
+
nextRunAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1218
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1219
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
export type AiTaskCreateManyProjectInput = {
|
|
1223
|
+
id?: string
|
|
1224
|
+
createdById: string
|
|
1225
|
+
workspaceId?: string | null
|
|
1226
|
+
title: string
|
|
1227
|
+
instruction: string
|
|
1228
|
+
sourceType?: string | null
|
|
1229
|
+
sourceId?: string | null
|
|
1230
|
+
status?: string
|
|
1231
|
+
lastRunAt?: Date | string | null
|
|
1232
|
+
lastRunId?: string | null
|
|
1233
|
+
scheduleCron?: string | null
|
|
1234
|
+
scheduleTimezone?: string | null
|
|
1235
|
+
maxRuns?: number | null
|
|
1236
|
+
runCount?: number
|
|
1237
|
+
nextRunAt?: Date | string | null
|
|
1238
|
+
createdAt?: Date | string
|
|
1239
|
+
updatedAt?: Date | string
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
export type AiTaskUpdateWithoutProjectInput = {
|
|
1243
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1244
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1245
|
+
instruction?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1246
|
+
sourceType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1247
|
+
sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1248
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1249
|
+
lastRunAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1250
|
+
lastRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1251
|
+
scheduleCron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1252
|
+
scheduleTimezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1253
|
+
maxRuns?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1254
|
+
runCount?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1255
|
+
nextRunAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1256
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1257
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1258
|
+
creator?: Prisma.UserUpdateOneRequiredWithoutAiTasksCreatedNestedInput
|
|
1259
|
+
workspace?: Prisma.WorkspaceUpdateOneWithoutAiTasksNestedInput
|
|
1260
|
+
runs?: Prisma.AiTaskRunUpdateManyWithoutTaskNestedInput
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
export type AiTaskUncheckedUpdateWithoutProjectInput = {
|
|
1264
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1265
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1266
|
+
workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1267
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1268
|
+
instruction?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1269
|
+
sourceType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1270
|
+
sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1271
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1272
|
+
lastRunAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1273
|
+
lastRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1274
|
+
scheduleCron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1275
|
+
scheduleTimezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1276
|
+
maxRuns?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1277
|
+
runCount?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1278
|
+
nextRunAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1279
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1280
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1281
|
+
runs?: Prisma.AiTaskRunUncheckedUpdateManyWithoutTaskNestedInput
|
|
1282
|
+
}
|
|
1283
|
+
|
|
1284
|
+
export type AiTaskUncheckedUpdateManyWithoutProjectInput = {
|
|
1285
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1286
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1287
|
+
workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1288
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1289
|
+
instruction?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1290
|
+
sourceType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1291
|
+
sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1292
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1293
|
+
lastRunAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1294
|
+
lastRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1295
|
+
scheduleCron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1296
|
+
scheduleTimezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1297
|
+
maxRuns?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1298
|
+
runCount?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1299
|
+
nextRunAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1300
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1301
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1304
|
+
export type AiTaskCreateManyWorkspaceInput = {
|
|
1305
|
+
id?: string
|
|
1306
|
+
createdById: string
|
|
1307
|
+
projectId?: string | null
|
|
1308
|
+
title: string
|
|
1309
|
+
instruction: string
|
|
1310
|
+
sourceType?: string | null
|
|
1311
|
+
sourceId?: string | null
|
|
1312
|
+
status?: string
|
|
1313
|
+
lastRunAt?: Date | string | null
|
|
1314
|
+
lastRunId?: string | null
|
|
1315
|
+
scheduleCron?: string | null
|
|
1316
|
+
scheduleTimezone?: string | null
|
|
1317
|
+
maxRuns?: number | null
|
|
1318
|
+
runCount?: number
|
|
1319
|
+
nextRunAt?: Date | string | null
|
|
1320
|
+
createdAt?: Date | string
|
|
1321
|
+
updatedAt?: Date | string
|
|
1322
|
+
}
|
|
1323
|
+
|
|
1324
|
+
export type AiTaskUpdateWithoutWorkspaceInput = {
|
|
1325
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1326
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1327
|
+
instruction?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1328
|
+
sourceType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1329
|
+
sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1330
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1331
|
+
lastRunAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1332
|
+
lastRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1333
|
+
scheduleCron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1334
|
+
scheduleTimezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1335
|
+
maxRuns?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1336
|
+
runCount?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1337
|
+
nextRunAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1338
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1339
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1340
|
+
creator?: Prisma.UserUpdateOneRequiredWithoutAiTasksCreatedNestedInput
|
|
1341
|
+
project?: Prisma.ProjectUpdateOneWithoutAiTasksNestedInput
|
|
1342
|
+
runs?: Prisma.AiTaskRunUpdateManyWithoutTaskNestedInput
|
|
1343
|
+
}
|
|
1344
|
+
|
|
1345
|
+
export type AiTaskUncheckedUpdateWithoutWorkspaceInput = {
|
|
1346
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1347
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1348
|
+
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1349
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1350
|
+
instruction?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1351
|
+
sourceType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1352
|
+
sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1353
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1354
|
+
lastRunAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1355
|
+
lastRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1356
|
+
scheduleCron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1357
|
+
scheduleTimezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1358
|
+
maxRuns?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1359
|
+
runCount?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1360
|
+
nextRunAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1361
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1362
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1363
|
+
runs?: Prisma.AiTaskRunUncheckedUpdateManyWithoutTaskNestedInput
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
export type AiTaskUncheckedUpdateManyWithoutWorkspaceInput = {
|
|
1367
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1368
|
+
createdById?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1369
|
+
projectId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1370
|
+
title?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1371
|
+
instruction?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1372
|
+
sourceType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1373
|
+
sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1374
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string
|
|
1375
|
+
lastRunAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1376
|
+
lastRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1377
|
+
scheduleCron?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1378
|
+
scheduleTimezone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1379
|
+
maxRuns?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
1380
|
+
runCount?: Prisma.IntFieldUpdateOperationsInput | number
|
|
1381
|
+
nextRunAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1382
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1383
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1384
|
+
}
|
|
1385
|
+
|
|
1386
|
+
|
|
1387
|
+
/**
|
|
1388
|
+
* Count Type AiTaskCountOutputType
|
|
1389
|
+
*/
|
|
1390
|
+
|
|
1391
|
+
export type AiTaskCountOutputType = {
|
|
1392
|
+
runs: number
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
export type AiTaskCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1396
|
+
runs?: boolean | AiTaskCountOutputTypeCountRunsArgs
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
/**
|
|
1400
|
+
* AiTaskCountOutputType without action
|
|
1401
|
+
*/
|
|
1402
|
+
export type AiTaskCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1403
|
+
/**
|
|
1404
|
+
* Select specific fields to fetch from the AiTaskCountOutputType
|
|
1405
|
+
*/
|
|
1406
|
+
select?: Prisma.AiTaskCountOutputTypeSelect<ExtArgs> | null
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
/**
|
|
1410
|
+
* AiTaskCountOutputType without action
|
|
1411
|
+
*/
|
|
1412
|
+
export type AiTaskCountOutputTypeCountRunsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1413
|
+
where?: Prisma.AiTaskRunWhereInput
|
|
1414
|
+
}
|
|
1415
|
+
|
|
1416
|
+
|
|
1417
|
+
export type AiTaskSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1418
|
+
id?: boolean
|
|
1419
|
+
createdById?: boolean
|
|
1420
|
+
workspaceId?: boolean
|
|
1421
|
+
projectId?: boolean
|
|
1422
|
+
title?: boolean
|
|
1423
|
+
instruction?: boolean
|
|
1424
|
+
sourceType?: boolean
|
|
1425
|
+
sourceId?: boolean
|
|
1426
|
+
status?: boolean
|
|
1427
|
+
lastRunAt?: boolean
|
|
1428
|
+
lastRunId?: boolean
|
|
1429
|
+
scheduleCron?: boolean
|
|
1430
|
+
scheduleTimezone?: boolean
|
|
1431
|
+
maxRuns?: boolean
|
|
1432
|
+
runCount?: boolean
|
|
1433
|
+
nextRunAt?: boolean
|
|
1434
|
+
createdAt?: boolean
|
|
1435
|
+
updatedAt?: boolean
|
|
1436
|
+
creator?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
1437
|
+
workspace?: boolean | Prisma.AiTask$workspaceArgs<ExtArgs>
|
|
1438
|
+
project?: boolean | Prisma.AiTask$projectArgs<ExtArgs>
|
|
1439
|
+
runs?: boolean | Prisma.AiTask$runsArgs<ExtArgs>
|
|
1440
|
+
_count?: boolean | Prisma.AiTaskCountOutputTypeDefaultArgs<ExtArgs>
|
|
1441
|
+
}, ExtArgs["result"]["aiTask"]>
|
|
1442
|
+
|
|
1443
|
+
export type AiTaskSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1444
|
+
id?: boolean
|
|
1445
|
+
createdById?: boolean
|
|
1446
|
+
workspaceId?: boolean
|
|
1447
|
+
projectId?: boolean
|
|
1448
|
+
title?: boolean
|
|
1449
|
+
instruction?: boolean
|
|
1450
|
+
sourceType?: boolean
|
|
1451
|
+
sourceId?: boolean
|
|
1452
|
+
status?: boolean
|
|
1453
|
+
lastRunAt?: boolean
|
|
1454
|
+
lastRunId?: boolean
|
|
1455
|
+
scheduleCron?: boolean
|
|
1456
|
+
scheduleTimezone?: boolean
|
|
1457
|
+
maxRuns?: boolean
|
|
1458
|
+
runCount?: boolean
|
|
1459
|
+
nextRunAt?: boolean
|
|
1460
|
+
createdAt?: boolean
|
|
1461
|
+
updatedAt?: boolean
|
|
1462
|
+
creator?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
1463
|
+
workspace?: boolean | Prisma.AiTask$workspaceArgs<ExtArgs>
|
|
1464
|
+
project?: boolean | Prisma.AiTask$projectArgs<ExtArgs>
|
|
1465
|
+
}, ExtArgs["result"]["aiTask"]>
|
|
1466
|
+
|
|
1467
|
+
export type AiTaskSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1468
|
+
id?: boolean
|
|
1469
|
+
createdById?: boolean
|
|
1470
|
+
workspaceId?: boolean
|
|
1471
|
+
projectId?: boolean
|
|
1472
|
+
title?: boolean
|
|
1473
|
+
instruction?: boolean
|
|
1474
|
+
sourceType?: boolean
|
|
1475
|
+
sourceId?: boolean
|
|
1476
|
+
status?: boolean
|
|
1477
|
+
lastRunAt?: boolean
|
|
1478
|
+
lastRunId?: boolean
|
|
1479
|
+
scheduleCron?: boolean
|
|
1480
|
+
scheduleTimezone?: boolean
|
|
1481
|
+
maxRuns?: boolean
|
|
1482
|
+
runCount?: boolean
|
|
1483
|
+
nextRunAt?: boolean
|
|
1484
|
+
createdAt?: boolean
|
|
1485
|
+
updatedAt?: boolean
|
|
1486
|
+
creator?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
1487
|
+
workspace?: boolean | Prisma.AiTask$workspaceArgs<ExtArgs>
|
|
1488
|
+
project?: boolean | Prisma.AiTask$projectArgs<ExtArgs>
|
|
1489
|
+
}, ExtArgs["result"]["aiTask"]>
|
|
1490
|
+
|
|
1491
|
+
export type AiTaskSelectScalar = {
|
|
1492
|
+
id?: boolean
|
|
1493
|
+
createdById?: boolean
|
|
1494
|
+
workspaceId?: boolean
|
|
1495
|
+
projectId?: boolean
|
|
1496
|
+
title?: boolean
|
|
1497
|
+
instruction?: boolean
|
|
1498
|
+
sourceType?: boolean
|
|
1499
|
+
sourceId?: boolean
|
|
1500
|
+
status?: boolean
|
|
1501
|
+
lastRunAt?: boolean
|
|
1502
|
+
lastRunId?: boolean
|
|
1503
|
+
scheduleCron?: boolean
|
|
1504
|
+
scheduleTimezone?: boolean
|
|
1505
|
+
maxRuns?: boolean
|
|
1506
|
+
runCount?: boolean
|
|
1507
|
+
nextRunAt?: boolean
|
|
1508
|
+
createdAt?: boolean
|
|
1509
|
+
updatedAt?: boolean
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
export type AiTaskOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdById" | "workspaceId" | "projectId" | "title" | "instruction" | "sourceType" | "sourceId" | "status" | "lastRunAt" | "lastRunId" | "scheduleCron" | "scheduleTimezone" | "maxRuns" | "runCount" | "nextRunAt" | "createdAt" | "updatedAt", ExtArgs["result"]["aiTask"]>
|
|
1513
|
+
export type AiTaskInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1514
|
+
creator?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
1515
|
+
workspace?: boolean | Prisma.AiTask$workspaceArgs<ExtArgs>
|
|
1516
|
+
project?: boolean | Prisma.AiTask$projectArgs<ExtArgs>
|
|
1517
|
+
runs?: boolean | Prisma.AiTask$runsArgs<ExtArgs>
|
|
1518
|
+
_count?: boolean | Prisma.AiTaskCountOutputTypeDefaultArgs<ExtArgs>
|
|
1519
|
+
}
|
|
1520
|
+
export type AiTaskIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1521
|
+
creator?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
1522
|
+
workspace?: boolean | Prisma.AiTask$workspaceArgs<ExtArgs>
|
|
1523
|
+
project?: boolean | Prisma.AiTask$projectArgs<ExtArgs>
|
|
1524
|
+
}
|
|
1525
|
+
export type AiTaskIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1526
|
+
creator?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
1527
|
+
workspace?: boolean | Prisma.AiTask$workspaceArgs<ExtArgs>
|
|
1528
|
+
project?: boolean | Prisma.AiTask$projectArgs<ExtArgs>
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1531
|
+
export type $AiTaskPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1532
|
+
name: "AiTask"
|
|
1533
|
+
objects: {
|
|
1534
|
+
creator: Prisma.$UserPayload<ExtArgs>
|
|
1535
|
+
workspace: Prisma.$WorkspacePayload<ExtArgs> | null
|
|
1536
|
+
project: Prisma.$ProjectPayload<ExtArgs> | null
|
|
1537
|
+
runs: Prisma.$AiTaskRunPayload<ExtArgs>[]
|
|
1538
|
+
}
|
|
1539
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1540
|
+
id: string
|
|
1541
|
+
createdById: string
|
|
1542
|
+
workspaceId: string | null
|
|
1543
|
+
projectId: string | null
|
|
1544
|
+
title: string
|
|
1545
|
+
instruction: string
|
|
1546
|
+
sourceType: string | null
|
|
1547
|
+
sourceId: string | null
|
|
1548
|
+
status: string
|
|
1549
|
+
lastRunAt: Date | null
|
|
1550
|
+
lastRunId: string | null
|
|
1551
|
+
scheduleCron: string | null
|
|
1552
|
+
scheduleTimezone: string | null
|
|
1553
|
+
maxRuns: number | null
|
|
1554
|
+
runCount: number
|
|
1555
|
+
nextRunAt: Date | null
|
|
1556
|
+
createdAt: Date
|
|
1557
|
+
updatedAt: Date
|
|
1558
|
+
}, ExtArgs["result"]["aiTask"]>
|
|
1559
|
+
composites: {}
|
|
1560
|
+
}
|
|
1561
|
+
|
|
1562
|
+
export type AiTaskGetPayload<S extends boolean | null | undefined | AiTaskDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AiTaskPayload, S>
|
|
1563
|
+
|
|
1564
|
+
export type AiTaskCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
1565
|
+
Omit<AiTaskFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1566
|
+
select?: AiTaskCountAggregateInputType | true
|
|
1567
|
+
}
|
|
1568
|
+
|
|
1569
|
+
export interface AiTaskDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1570
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AiTask'], meta: { name: 'AiTask' } }
|
|
1571
|
+
/**
|
|
1572
|
+
* Find zero or one AiTask that matches the filter.
|
|
1573
|
+
* @param {AiTaskFindUniqueArgs} args - Arguments to find a AiTask
|
|
1574
|
+
* @example
|
|
1575
|
+
* // Get one AiTask
|
|
1576
|
+
* const aiTask = await prisma.aiTask.findUnique({
|
|
1577
|
+
* where: {
|
|
1578
|
+
* // ... provide filter here
|
|
1579
|
+
* }
|
|
1580
|
+
* })
|
|
1581
|
+
*/
|
|
1582
|
+
findUnique<T extends AiTaskFindUniqueArgs>(args: Prisma.SelectSubset<T, AiTaskFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AiTaskClient<runtime.Types.Result.GetResult<Prisma.$AiTaskPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1583
|
+
|
|
1584
|
+
/**
|
|
1585
|
+
* Find one AiTask that matches the filter or throw an error with `error.code='P2025'`
|
|
1586
|
+
* if no matches were found.
|
|
1587
|
+
* @param {AiTaskFindUniqueOrThrowArgs} args - Arguments to find a AiTask
|
|
1588
|
+
* @example
|
|
1589
|
+
* // Get one AiTask
|
|
1590
|
+
* const aiTask = await prisma.aiTask.findUniqueOrThrow({
|
|
1591
|
+
* where: {
|
|
1592
|
+
* // ... provide filter here
|
|
1593
|
+
* }
|
|
1594
|
+
* })
|
|
1595
|
+
*/
|
|
1596
|
+
findUniqueOrThrow<T extends AiTaskFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AiTaskFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AiTaskClient<runtime.Types.Result.GetResult<Prisma.$AiTaskPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1597
|
+
|
|
1598
|
+
/**
|
|
1599
|
+
* Find the first AiTask that matches the filter.
|
|
1600
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1601
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1602
|
+
* @param {AiTaskFindFirstArgs} args - Arguments to find a AiTask
|
|
1603
|
+
* @example
|
|
1604
|
+
* // Get one AiTask
|
|
1605
|
+
* const aiTask = await prisma.aiTask.findFirst({
|
|
1606
|
+
* where: {
|
|
1607
|
+
* // ... provide filter here
|
|
1608
|
+
* }
|
|
1609
|
+
* })
|
|
1610
|
+
*/
|
|
1611
|
+
findFirst<T extends AiTaskFindFirstArgs>(args?: Prisma.SelectSubset<T, AiTaskFindFirstArgs<ExtArgs>>): Prisma.Prisma__AiTaskClient<runtime.Types.Result.GetResult<Prisma.$AiTaskPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1612
|
+
|
|
1613
|
+
/**
|
|
1614
|
+
* Find the first AiTask that matches the filter or
|
|
1615
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1616
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1617
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1618
|
+
* @param {AiTaskFindFirstOrThrowArgs} args - Arguments to find a AiTask
|
|
1619
|
+
* @example
|
|
1620
|
+
* // Get one AiTask
|
|
1621
|
+
* const aiTask = await prisma.aiTask.findFirstOrThrow({
|
|
1622
|
+
* where: {
|
|
1623
|
+
* // ... provide filter here
|
|
1624
|
+
* }
|
|
1625
|
+
* })
|
|
1626
|
+
*/
|
|
1627
|
+
findFirstOrThrow<T extends AiTaskFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AiTaskFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AiTaskClient<runtime.Types.Result.GetResult<Prisma.$AiTaskPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1628
|
+
|
|
1629
|
+
/**
|
|
1630
|
+
* Find zero or more AiTasks that matches the filter.
|
|
1631
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1632
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1633
|
+
* @param {AiTaskFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1634
|
+
* @example
|
|
1635
|
+
* // Get all AiTasks
|
|
1636
|
+
* const aiTasks = await prisma.aiTask.findMany()
|
|
1637
|
+
*
|
|
1638
|
+
* // Get first 10 AiTasks
|
|
1639
|
+
* const aiTasks = await prisma.aiTask.findMany({ take: 10 })
|
|
1640
|
+
*
|
|
1641
|
+
* // Only select the `id`
|
|
1642
|
+
* const aiTaskWithIdOnly = await prisma.aiTask.findMany({ select: { id: true } })
|
|
1643
|
+
*
|
|
1644
|
+
*/
|
|
1645
|
+
findMany<T extends AiTaskFindManyArgs>(args?: Prisma.SelectSubset<T, AiTaskFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AiTaskPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
1646
|
+
|
|
1647
|
+
/**
|
|
1648
|
+
* Create a AiTask.
|
|
1649
|
+
* @param {AiTaskCreateArgs} args - Arguments to create a AiTask.
|
|
1650
|
+
* @example
|
|
1651
|
+
* // Create one AiTask
|
|
1652
|
+
* const AiTask = await prisma.aiTask.create({
|
|
1653
|
+
* data: {
|
|
1654
|
+
* // ... data to create a AiTask
|
|
1655
|
+
* }
|
|
1656
|
+
* })
|
|
1657
|
+
*
|
|
1658
|
+
*/
|
|
1659
|
+
create<T extends AiTaskCreateArgs>(args: Prisma.SelectSubset<T, AiTaskCreateArgs<ExtArgs>>): Prisma.Prisma__AiTaskClient<runtime.Types.Result.GetResult<Prisma.$AiTaskPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1660
|
+
|
|
1661
|
+
/**
|
|
1662
|
+
* Create many AiTasks.
|
|
1663
|
+
* @param {AiTaskCreateManyArgs} args - Arguments to create many AiTasks.
|
|
1664
|
+
* @example
|
|
1665
|
+
* // Create many AiTasks
|
|
1666
|
+
* const aiTask = await prisma.aiTask.createMany({
|
|
1667
|
+
* data: [
|
|
1668
|
+
* // ... provide data here
|
|
1669
|
+
* ]
|
|
1670
|
+
* })
|
|
1671
|
+
*
|
|
1672
|
+
*/
|
|
1673
|
+
createMany<T extends AiTaskCreateManyArgs>(args?: Prisma.SelectSubset<T, AiTaskCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1674
|
+
|
|
1675
|
+
/**
|
|
1676
|
+
* Create many AiTasks and returns the data saved in the database.
|
|
1677
|
+
* @param {AiTaskCreateManyAndReturnArgs} args - Arguments to create many AiTasks.
|
|
1678
|
+
* @example
|
|
1679
|
+
* // Create many AiTasks
|
|
1680
|
+
* const aiTask = await prisma.aiTask.createManyAndReturn({
|
|
1681
|
+
* data: [
|
|
1682
|
+
* // ... provide data here
|
|
1683
|
+
* ]
|
|
1684
|
+
* })
|
|
1685
|
+
*
|
|
1686
|
+
* // Create many AiTasks and only return the `id`
|
|
1687
|
+
* const aiTaskWithIdOnly = await prisma.aiTask.createManyAndReturn({
|
|
1688
|
+
* select: { id: true },
|
|
1689
|
+
* data: [
|
|
1690
|
+
* // ... provide data here
|
|
1691
|
+
* ]
|
|
1692
|
+
* })
|
|
1693
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1694
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1695
|
+
*
|
|
1696
|
+
*/
|
|
1697
|
+
createManyAndReturn<T extends AiTaskCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AiTaskCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AiTaskPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1698
|
+
|
|
1699
|
+
/**
|
|
1700
|
+
* Delete a AiTask.
|
|
1701
|
+
* @param {AiTaskDeleteArgs} args - Arguments to delete one AiTask.
|
|
1702
|
+
* @example
|
|
1703
|
+
* // Delete one AiTask
|
|
1704
|
+
* const AiTask = await prisma.aiTask.delete({
|
|
1705
|
+
* where: {
|
|
1706
|
+
* // ... filter to delete one AiTask
|
|
1707
|
+
* }
|
|
1708
|
+
* })
|
|
1709
|
+
*
|
|
1710
|
+
*/
|
|
1711
|
+
delete<T extends AiTaskDeleteArgs>(args: Prisma.SelectSubset<T, AiTaskDeleteArgs<ExtArgs>>): Prisma.Prisma__AiTaskClient<runtime.Types.Result.GetResult<Prisma.$AiTaskPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1712
|
+
|
|
1713
|
+
/**
|
|
1714
|
+
* Update one AiTask.
|
|
1715
|
+
* @param {AiTaskUpdateArgs} args - Arguments to update one AiTask.
|
|
1716
|
+
* @example
|
|
1717
|
+
* // Update one AiTask
|
|
1718
|
+
* const aiTask = await prisma.aiTask.update({
|
|
1719
|
+
* where: {
|
|
1720
|
+
* // ... provide filter here
|
|
1721
|
+
* },
|
|
1722
|
+
* data: {
|
|
1723
|
+
* // ... provide data here
|
|
1724
|
+
* }
|
|
1725
|
+
* })
|
|
1726
|
+
*
|
|
1727
|
+
*/
|
|
1728
|
+
update<T extends AiTaskUpdateArgs>(args: Prisma.SelectSubset<T, AiTaskUpdateArgs<ExtArgs>>): Prisma.Prisma__AiTaskClient<runtime.Types.Result.GetResult<Prisma.$AiTaskPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1729
|
+
|
|
1730
|
+
/**
|
|
1731
|
+
* Delete zero or more AiTasks.
|
|
1732
|
+
* @param {AiTaskDeleteManyArgs} args - Arguments to filter AiTasks to delete.
|
|
1733
|
+
* @example
|
|
1734
|
+
* // Delete a few AiTasks
|
|
1735
|
+
* const { count } = await prisma.aiTask.deleteMany({
|
|
1736
|
+
* where: {
|
|
1737
|
+
* // ... provide filter here
|
|
1738
|
+
* }
|
|
1739
|
+
* })
|
|
1740
|
+
*
|
|
1741
|
+
*/
|
|
1742
|
+
deleteMany<T extends AiTaskDeleteManyArgs>(args?: Prisma.SelectSubset<T, AiTaskDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1743
|
+
|
|
1744
|
+
/**
|
|
1745
|
+
* Update zero or more AiTasks.
|
|
1746
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1747
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1748
|
+
* @param {AiTaskUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1749
|
+
* @example
|
|
1750
|
+
* // Update many AiTasks
|
|
1751
|
+
* const aiTask = await prisma.aiTask.updateMany({
|
|
1752
|
+
* where: {
|
|
1753
|
+
* // ... provide filter here
|
|
1754
|
+
* },
|
|
1755
|
+
* data: {
|
|
1756
|
+
* // ... provide data here
|
|
1757
|
+
* }
|
|
1758
|
+
* })
|
|
1759
|
+
*
|
|
1760
|
+
*/
|
|
1761
|
+
updateMany<T extends AiTaskUpdateManyArgs>(args: Prisma.SelectSubset<T, AiTaskUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1762
|
+
|
|
1763
|
+
/**
|
|
1764
|
+
* Update zero or more AiTasks and returns the data updated in the database.
|
|
1765
|
+
* @param {AiTaskUpdateManyAndReturnArgs} args - Arguments to update many AiTasks.
|
|
1766
|
+
* @example
|
|
1767
|
+
* // Update many AiTasks
|
|
1768
|
+
* const aiTask = await prisma.aiTask.updateManyAndReturn({
|
|
1769
|
+
* where: {
|
|
1770
|
+
* // ... provide filter here
|
|
1771
|
+
* },
|
|
1772
|
+
* data: [
|
|
1773
|
+
* // ... provide data here
|
|
1774
|
+
* ]
|
|
1775
|
+
* })
|
|
1776
|
+
*
|
|
1777
|
+
* // Update zero or more AiTasks and only return the `id`
|
|
1778
|
+
* const aiTaskWithIdOnly = await prisma.aiTask.updateManyAndReturn({
|
|
1779
|
+
* select: { id: true },
|
|
1780
|
+
* where: {
|
|
1781
|
+
* // ... provide filter here
|
|
1782
|
+
* },
|
|
1783
|
+
* data: [
|
|
1784
|
+
* // ... provide data here
|
|
1785
|
+
* ]
|
|
1786
|
+
* })
|
|
1787
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1788
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1789
|
+
*
|
|
1790
|
+
*/
|
|
1791
|
+
updateManyAndReturn<T extends AiTaskUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AiTaskUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AiTaskPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1792
|
+
|
|
1793
|
+
/**
|
|
1794
|
+
* Create or update one AiTask.
|
|
1795
|
+
* @param {AiTaskUpsertArgs} args - Arguments to update or create a AiTask.
|
|
1796
|
+
* @example
|
|
1797
|
+
* // Update or create a AiTask
|
|
1798
|
+
* const aiTask = await prisma.aiTask.upsert({
|
|
1799
|
+
* create: {
|
|
1800
|
+
* // ... data to create a AiTask
|
|
1801
|
+
* },
|
|
1802
|
+
* update: {
|
|
1803
|
+
* // ... in case it already exists, update
|
|
1804
|
+
* },
|
|
1805
|
+
* where: {
|
|
1806
|
+
* // ... the filter for the AiTask we want to update
|
|
1807
|
+
* }
|
|
1808
|
+
* })
|
|
1809
|
+
*/
|
|
1810
|
+
upsert<T extends AiTaskUpsertArgs>(args: Prisma.SelectSubset<T, AiTaskUpsertArgs<ExtArgs>>): Prisma.Prisma__AiTaskClient<runtime.Types.Result.GetResult<Prisma.$AiTaskPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1811
|
+
|
|
1812
|
+
|
|
1813
|
+
/**
|
|
1814
|
+
* Count the number of AiTasks.
|
|
1815
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1816
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1817
|
+
* @param {AiTaskCountArgs} args - Arguments to filter AiTasks to count.
|
|
1818
|
+
* @example
|
|
1819
|
+
* // Count the number of AiTasks
|
|
1820
|
+
* const count = await prisma.aiTask.count({
|
|
1821
|
+
* where: {
|
|
1822
|
+
* // ... the filter for the AiTasks we want to count
|
|
1823
|
+
* }
|
|
1824
|
+
* })
|
|
1825
|
+
**/
|
|
1826
|
+
count<T extends AiTaskCountArgs>(
|
|
1827
|
+
args?: Prisma.Subset<T, AiTaskCountArgs>,
|
|
1828
|
+
): Prisma.PrismaPromise<
|
|
1829
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
1830
|
+
? T['select'] extends true
|
|
1831
|
+
? number
|
|
1832
|
+
: Prisma.GetScalarType<T['select'], AiTaskCountAggregateOutputType>
|
|
1833
|
+
: number
|
|
1834
|
+
>
|
|
1835
|
+
|
|
1836
|
+
/**
|
|
1837
|
+
* Allows you to perform aggregations operations on a AiTask.
|
|
1838
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1839
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1840
|
+
* @param {AiTaskAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1841
|
+
* @example
|
|
1842
|
+
* // Ordered by age ascending
|
|
1843
|
+
* // Where email contains prisma.io
|
|
1844
|
+
* // Limited to the 10 users
|
|
1845
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1846
|
+
* _avg: {
|
|
1847
|
+
* age: true,
|
|
1848
|
+
* },
|
|
1849
|
+
* where: {
|
|
1850
|
+
* email: {
|
|
1851
|
+
* contains: "prisma.io",
|
|
1852
|
+
* },
|
|
1853
|
+
* },
|
|
1854
|
+
* orderBy: {
|
|
1855
|
+
* age: "asc",
|
|
1856
|
+
* },
|
|
1857
|
+
* take: 10,
|
|
1858
|
+
* })
|
|
1859
|
+
**/
|
|
1860
|
+
aggregate<T extends AiTaskAggregateArgs>(args: Prisma.Subset<T, AiTaskAggregateArgs>): Prisma.PrismaPromise<GetAiTaskAggregateType<T>>
|
|
1861
|
+
|
|
1862
|
+
/**
|
|
1863
|
+
* Group by AiTask.
|
|
1864
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1865
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1866
|
+
* @param {AiTaskGroupByArgs} args - Group by arguments.
|
|
1867
|
+
* @example
|
|
1868
|
+
* // Group by city, order by createdAt, get count
|
|
1869
|
+
* const result = await prisma.user.groupBy({
|
|
1870
|
+
* by: ['city', 'createdAt'],
|
|
1871
|
+
* orderBy: {
|
|
1872
|
+
* createdAt: true
|
|
1873
|
+
* },
|
|
1874
|
+
* _count: {
|
|
1875
|
+
* _all: true
|
|
1876
|
+
* },
|
|
1877
|
+
* })
|
|
1878
|
+
*
|
|
1879
|
+
**/
|
|
1880
|
+
groupBy<
|
|
1881
|
+
T extends AiTaskGroupByArgs,
|
|
1882
|
+
HasSelectOrTake extends Prisma.Or<
|
|
1883
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1884
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1885
|
+
>,
|
|
1886
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1887
|
+
? { orderBy: AiTaskGroupByArgs['orderBy'] }
|
|
1888
|
+
: { orderBy?: AiTaskGroupByArgs['orderBy'] },
|
|
1889
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1890
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1891
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1892
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1893
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1894
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1895
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
1896
|
+
? `Error: "by" must not be empty.`
|
|
1897
|
+
: HavingValid extends Prisma.False
|
|
1898
|
+
? {
|
|
1899
|
+
[P in HavingFields]: P extends ByFields
|
|
1900
|
+
? never
|
|
1901
|
+
: P extends string
|
|
1902
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1903
|
+
: [
|
|
1904
|
+
Error,
|
|
1905
|
+
'Field ',
|
|
1906
|
+
P,
|
|
1907
|
+
` in "having" needs to be provided in "by"`,
|
|
1908
|
+
]
|
|
1909
|
+
}[HavingFields]
|
|
1910
|
+
: 'take' extends Prisma.Keys<T>
|
|
1911
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1912
|
+
? ByValid extends Prisma.True
|
|
1913
|
+
? {}
|
|
1914
|
+
: {
|
|
1915
|
+
[P in OrderFields]: P extends ByFields
|
|
1916
|
+
? never
|
|
1917
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1918
|
+
}[OrderFields]
|
|
1919
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1920
|
+
: 'skip' extends Prisma.Keys<T>
|
|
1921
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1922
|
+
? ByValid extends Prisma.True
|
|
1923
|
+
? {}
|
|
1924
|
+
: {
|
|
1925
|
+
[P in OrderFields]: P extends ByFields
|
|
1926
|
+
? never
|
|
1927
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1928
|
+
}[OrderFields]
|
|
1929
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1930
|
+
: ByValid extends Prisma.True
|
|
1931
|
+
? {}
|
|
1932
|
+
: {
|
|
1933
|
+
[P in OrderFields]: P extends ByFields
|
|
1934
|
+
? never
|
|
1935
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1936
|
+
}[OrderFields]
|
|
1937
|
+
>(args: Prisma.SubsetIntersection<T, AiTaskGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAiTaskGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1938
|
+
/**
|
|
1939
|
+
* Fields of the AiTask model
|
|
1940
|
+
*/
|
|
1941
|
+
readonly fields: AiTaskFieldRefs;
|
|
1942
|
+
}
|
|
1943
|
+
|
|
1944
|
+
/**
|
|
1945
|
+
* The delegate class that acts as a "Promise-like" for AiTask.
|
|
1946
|
+
* Why is this prefixed with `Prisma__`?
|
|
1947
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1948
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1949
|
+
*/
|
|
1950
|
+
export interface Prisma__AiTaskClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1951
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1952
|
+
creator<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1953
|
+
workspace<T extends Prisma.AiTask$workspaceArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AiTask$workspaceArgs<ExtArgs>>): Prisma.Prisma__WorkspaceClient<runtime.Types.Result.GetResult<Prisma.$WorkspacePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1954
|
+
project<T extends Prisma.AiTask$projectArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AiTask$projectArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1955
|
+
runs<T extends Prisma.AiTask$runsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AiTask$runsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AiTaskRunPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1956
|
+
/**
|
|
1957
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1958
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1959
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1960
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1961
|
+
*/
|
|
1962
|
+
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>
|
|
1963
|
+
/**
|
|
1964
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1965
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1966
|
+
* @returns A Promise for the completion of the callback.
|
|
1967
|
+
*/
|
|
1968
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1969
|
+
/**
|
|
1970
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1971
|
+
* resolved value cannot be modified from the callback.
|
|
1972
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1973
|
+
* @returns A Promise for the completion of the callback.
|
|
1974
|
+
*/
|
|
1975
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1976
|
+
}
|
|
1977
|
+
|
|
1978
|
+
|
|
1979
|
+
|
|
1980
|
+
|
|
1981
|
+
/**
|
|
1982
|
+
* Fields of the AiTask model
|
|
1983
|
+
*/
|
|
1984
|
+
export interface AiTaskFieldRefs {
|
|
1985
|
+
readonly id: Prisma.FieldRef<"AiTask", 'String'>
|
|
1986
|
+
readonly createdById: Prisma.FieldRef<"AiTask", 'String'>
|
|
1987
|
+
readonly workspaceId: Prisma.FieldRef<"AiTask", 'String'>
|
|
1988
|
+
readonly projectId: Prisma.FieldRef<"AiTask", 'String'>
|
|
1989
|
+
readonly title: Prisma.FieldRef<"AiTask", 'String'>
|
|
1990
|
+
readonly instruction: Prisma.FieldRef<"AiTask", 'String'>
|
|
1991
|
+
readonly sourceType: Prisma.FieldRef<"AiTask", 'String'>
|
|
1992
|
+
readonly sourceId: Prisma.FieldRef<"AiTask", 'String'>
|
|
1993
|
+
readonly status: Prisma.FieldRef<"AiTask", 'String'>
|
|
1994
|
+
readonly lastRunAt: Prisma.FieldRef<"AiTask", 'DateTime'>
|
|
1995
|
+
readonly lastRunId: Prisma.FieldRef<"AiTask", 'String'>
|
|
1996
|
+
readonly scheduleCron: Prisma.FieldRef<"AiTask", 'String'>
|
|
1997
|
+
readonly scheduleTimezone: Prisma.FieldRef<"AiTask", 'String'>
|
|
1998
|
+
readonly maxRuns: Prisma.FieldRef<"AiTask", 'Int'>
|
|
1999
|
+
readonly runCount: Prisma.FieldRef<"AiTask", 'Int'>
|
|
2000
|
+
readonly nextRunAt: Prisma.FieldRef<"AiTask", 'DateTime'>
|
|
2001
|
+
readonly createdAt: Prisma.FieldRef<"AiTask", 'DateTime'>
|
|
2002
|
+
readonly updatedAt: Prisma.FieldRef<"AiTask", 'DateTime'>
|
|
2003
|
+
}
|
|
2004
|
+
|
|
2005
|
+
|
|
2006
|
+
// Custom InputTypes
|
|
2007
|
+
/**
|
|
2008
|
+
* AiTask findUnique
|
|
2009
|
+
*/
|
|
2010
|
+
export type AiTaskFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2011
|
+
/**
|
|
2012
|
+
* Select specific fields to fetch from the AiTask
|
|
2013
|
+
*/
|
|
2014
|
+
select?: Prisma.AiTaskSelect<ExtArgs> | null
|
|
2015
|
+
/**
|
|
2016
|
+
* Omit specific fields from the AiTask
|
|
2017
|
+
*/
|
|
2018
|
+
omit?: Prisma.AiTaskOmit<ExtArgs> | null
|
|
2019
|
+
/**
|
|
2020
|
+
* Choose, which related nodes to fetch as well
|
|
2021
|
+
*/
|
|
2022
|
+
include?: Prisma.AiTaskInclude<ExtArgs> | null
|
|
2023
|
+
/**
|
|
2024
|
+
* Filter, which AiTask to fetch.
|
|
2025
|
+
*/
|
|
2026
|
+
where: Prisma.AiTaskWhereUniqueInput
|
|
2027
|
+
}
|
|
2028
|
+
|
|
2029
|
+
/**
|
|
2030
|
+
* AiTask findUniqueOrThrow
|
|
2031
|
+
*/
|
|
2032
|
+
export type AiTaskFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2033
|
+
/**
|
|
2034
|
+
* Select specific fields to fetch from the AiTask
|
|
2035
|
+
*/
|
|
2036
|
+
select?: Prisma.AiTaskSelect<ExtArgs> | null
|
|
2037
|
+
/**
|
|
2038
|
+
* Omit specific fields from the AiTask
|
|
2039
|
+
*/
|
|
2040
|
+
omit?: Prisma.AiTaskOmit<ExtArgs> | null
|
|
2041
|
+
/**
|
|
2042
|
+
* Choose, which related nodes to fetch as well
|
|
2043
|
+
*/
|
|
2044
|
+
include?: Prisma.AiTaskInclude<ExtArgs> | null
|
|
2045
|
+
/**
|
|
2046
|
+
* Filter, which AiTask to fetch.
|
|
2047
|
+
*/
|
|
2048
|
+
where: Prisma.AiTaskWhereUniqueInput
|
|
2049
|
+
}
|
|
2050
|
+
|
|
2051
|
+
/**
|
|
2052
|
+
* AiTask findFirst
|
|
2053
|
+
*/
|
|
2054
|
+
export type AiTaskFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2055
|
+
/**
|
|
2056
|
+
* Select specific fields to fetch from the AiTask
|
|
2057
|
+
*/
|
|
2058
|
+
select?: Prisma.AiTaskSelect<ExtArgs> | null
|
|
2059
|
+
/**
|
|
2060
|
+
* Omit specific fields from the AiTask
|
|
2061
|
+
*/
|
|
2062
|
+
omit?: Prisma.AiTaskOmit<ExtArgs> | null
|
|
2063
|
+
/**
|
|
2064
|
+
* Choose, which related nodes to fetch as well
|
|
2065
|
+
*/
|
|
2066
|
+
include?: Prisma.AiTaskInclude<ExtArgs> | null
|
|
2067
|
+
/**
|
|
2068
|
+
* Filter, which AiTask to fetch.
|
|
2069
|
+
*/
|
|
2070
|
+
where?: Prisma.AiTaskWhereInput
|
|
2071
|
+
/**
|
|
2072
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2073
|
+
*
|
|
2074
|
+
* Determine the order of AiTasks to fetch.
|
|
2075
|
+
*/
|
|
2076
|
+
orderBy?: Prisma.AiTaskOrderByWithRelationInput | Prisma.AiTaskOrderByWithRelationInput[]
|
|
2077
|
+
/**
|
|
2078
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2079
|
+
*
|
|
2080
|
+
* Sets the position for searching for AiTasks.
|
|
2081
|
+
*/
|
|
2082
|
+
cursor?: Prisma.AiTaskWhereUniqueInput
|
|
2083
|
+
/**
|
|
2084
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2085
|
+
*
|
|
2086
|
+
* Take `±n` AiTasks from the position of the cursor.
|
|
2087
|
+
*/
|
|
2088
|
+
take?: number
|
|
2089
|
+
/**
|
|
2090
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2091
|
+
*
|
|
2092
|
+
* Skip the first `n` AiTasks.
|
|
2093
|
+
*/
|
|
2094
|
+
skip?: number
|
|
2095
|
+
/**
|
|
2096
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2097
|
+
*
|
|
2098
|
+
* Filter by unique combinations of AiTasks.
|
|
2099
|
+
*/
|
|
2100
|
+
distinct?: Prisma.AiTaskScalarFieldEnum | Prisma.AiTaskScalarFieldEnum[]
|
|
2101
|
+
}
|
|
2102
|
+
|
|
2103
|
+
/**
|
|
2104
|
+
* AiTask findFirstOrThrow
|
|
2105
|
+
*/
|
|
2106
|
+
export type AiTaskFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2107
|
+
/**
|
|
2108
|
+
* Select specific fields to fetch from the AiTask
|
|
2109
|
+
*/
|
|
2110
|
+
select?: Prisma.AiTaskSelect<ExtArgs> | null
|
|
2111
|
+
/**
|
|
2112
|
+
* Omit specific fields from the AiTask
|
|
2113
|
+
*/
|
|
2114
|
+
omit?: Prisma.AiTaskOmit<ExtArgs> | null
|
|
2115
|
+
/**
|
|
2116
|
+
* Choose, which related nodes to fetch as well
|
|
2117
|
+
*/
|
|
2118
|
+
include?: Prisma.AiTaskInclude<ExtArgs> | null
|
|
2119
|
+
/**
|
|
2120
|
+
* Filter, which AiTask to fetch.
|
|
2121
|
+
*/
|
|
2122
|
+
where?: Prisma.AiTaskWhereInput
|
|
2123
|
+
/**
|
|
2124
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2125
|
+
*
|
|
2126
|
+
* Determine the order of AiTasks to fetch.
|
|
2127
|
+
*/
|
|
2128
|
+
orderBy?: Prisma.AiTaskOrderByWithRelationInput | Prisma.AiTaskOrderByWithRelationInput[]
|
|
2129
|
+
/**
|
|
2130
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2131
|
+
*
|
|
2132
|
+
* Sets the position for searching for AiTasks.
|
|
2133
|
+
*/
|
|
2134
|
+
cursor?: Prisma.AiTaskWhereUniqueInput
|
|
2135
|
+
/**
|
|
2136
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2137
|
+
*
|
|
2138
|
+
* Take `±n` AiTasks from the position of the cursor.
|
|
2139
|
+
*/
|
|
2140
|
+
take?: number
|
|
2141
|
+
/**
|
|
2142
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2143
|
+
*
|
|
2144
|
+
* Skip the first `n` AiTasks.
|
|
2145
|
+
*/
|
|
2146
|
+
skip?: number
|
|
2147
|
+
/**
|
|
2148
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2149
|
+
*
|
|
2150
|
+
* Filter by unique combinations of AiTasks.
|
|
2151
|
+
*/
|
|
2152
|
+
distinct?: Prisma.AiTaskScalarFieldEnum | Prisma.AiTaskScalarFieldEnum[]
|
|
2153
|
+
}
|
|
2154
|
+
|
|
2155
|
+
/**
|
|
2156
|
+
* AiTask findMany
|
|
2157
|
+
*/
|
|
2158
|
+
export type AiTaskFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2159
|
+
/**
|
|
2160
|
+
* Select specific fields to fetch from the AiTask
|
|
2161
|
+
*/
|
|
2162
|
+
select?: Prisma.AiTaskSelect<ExtArgs> | null
|
|
2163
|
+
/**
|
|
2164
|
+
* Omit specific fields from the AiTask
|
|
2165
|
+
*/
|
|
2166
|
+
omit?: Prisma.AiTaskOmit<ExtArgs> | null
|
|
2167
|
+
/**
|
|
2168
|
+
* Choose, which related nodes to fetch as well
|
|
2169
|
+
*/
|
|
2170
|
+
include?: Prisma.AiTaskInclude<ExtArgs> | null
|
|
2171
|
+
/**
|
|
2172
|
+
* Filter, which AiTasks to fetch.
|
|
2173
|
+
*/
|
|
2174
|
+
where?: Prisma.AiTaskWhereInput
|
|
2175
|
+
/**
|
|
2176
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2177
|
+
*
|
|
2178
|
+
* Determine the order of AiTasks to fetch.
|
|
2179
|
+
*/
|
|
2180
|
+
orderBy?: Prisma.AiTaskOrderByWithRelationInput | Prisma.AiTaskOrderByWithRelationInput[]
|
|
2181
|
+
/**
|
|
2182
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2183
|
+
*
|
|
2184
|
+
* Sets the position for listing AiTasks.
|
|
2185
|
+
*/
|
|
2186
|
+
cursor?: Prisma.AiTaskWhereUniqueInput
|
|
2187
|
+
/**
|
|
2188
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2189
|
+
*
|
|
2190
|
+
* Take `±n` AiTasks from the position of the cursor.
|
|
2191
|
+
*/
|
|
2192
|
+
take?: number
|
|
2193
|
+
/**
|
|
2194
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2195
|
+
*
|
|
2196
|
+
* Skip the first `n` AiTasks.
|
|
2197
|
+
*/
|
|
2198
|
+
skip?: number
|
|
2199
|
+
/**
|
|
2200
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2201
|
+
*
|
|
2202
|
+
* Filter by unique combinations of AiTasks.
|
|
2203
|
+
*/
|
|
2204
|
+
distinct?: Prisma.AiTaskScalarFieldEnum | Prisma.AiTaskScalarFieldEnum[]
|
|
2205
|
+
}
|
|
2206
|
+
|
|
2207
|
+
/**
|
|
2208
|
+
* AiTask create
|
|
2209
|
+
*/
|
|
2210
|
+
export type AiTaskCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2211
|
+
/**
|
|
2212
|
+
* Select specific fields to fetch from the AiTask
|
|
2213
|
+
*/
|
|
2214
|
+
select?: Prisma.AiTaskSelect<ExtArgs> | null
|
|
2215
|
+
/**
|
|
2216
|
+
* Omit specific fields from the AiTask
|
|
2217
|
+
*/
|
|
2218
|
+
omit?: Prisma.AiTaskOmit<ExtArgs> | null
|
|
2219
|
+
/**
|
|
2220
|
+
* Choose, which related nodes to fetch as well
|
|
2221
|
+
*/
|
|
2222
|
+
include?: Prisma.AiTaskInclude<ExtArgs> | null
|
|
2223
|
+
/**
|
|
2224
|
+
* The data needed to create a AiTask.
|
|
2225
|
+
*/
|
|
2226
|
+
data: Prisma.XOR<Prisma.AiTaskCreateInput, Prisma.AiTaskUncheckedCreateInput>
|
|
2227
|
+
}
|
|
2228
|
+
|
|
2229
|
+
/**
|
|
2230
|
+
* AiTask createMany
|
|
2231
|
+
*/
|
|
2232
|
+
export type AiTaskCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2233
|
+
/**
|
|
2234
|
+
* The data used to create many AiTasks.
|
|
2235
|
+
*/
|
|
2236
|
+
data: Prisma.AiTaskCreateManyInput | Prisma.AiTaskCreateManyInput[]
|
|
2237
|
+
skipDuplicates?: boolean
|
|
2238
|
+
}
|
|
2239
|
+
|
|
2240
|
+
/**
|
|
2241
|
+
* AiTask createManyAndReturn
|
|
2242
|
+
*/
|
|
2243
|
+
export type AiTaskCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2244
|
+
/**
|
|
2245
|
+
* Select specific fields to fetch from the AiTask
|
|
2246
|
+
*/
|
|
2247
|
+
select?: Prisma.AiTaskSelectCreateManyAndReturn<ExtArgs> | null
|
|
2248
|
+
/**
|
|
2249
|
+
* Omit specific fields from the AiTask
|
|
2250
|
+
*/
|
|
2251
|
+
omit?: Prisma.AiTaskOmit<ExtArgs> | null
|
|
2252
|
+
/**
|
|
2253
|
+
* The data used to create many AiTasks.
|
|
2254
|
+
*/
|
|
2255
|
+
data: Prisma.AiTaskCreateManyInput | Prisma.AiTaskCreateManyInput[]
|
|
2256
|
+
skipDuplicates?: boolean
|
|
2257
|
+
/**
|
|
2258
|
+
* Choose, which related nodes to fetch as well
|
|
2259
|
+
*/
|
|
2260
|
+
include?: Prisma.AiTaskIncludeCreateManyAndReturn<ExtArgs> | null
|
|
2261
|
+
}
|
|
2262
|
+
|
|
2263
|
+
/**
|
|
2264
|
+
* AiTask update
|
|
2265
|
+
*/
|
|
2266
|
+
export type AiTaskUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2267
|
+
/**
|
|
2268
|
+
* Select specific fields to fetch from the AiTask
|
|
2269
|
+
*/
|
|
2270
|
+
select?: Prisma.AiTaskSelect<ExtArgs> | null
|
|
2271
|
+
/**
|
|
2272
|
+
* Omit specific fields from the AiTask
|
|
2273
|
+
*/
|
|
2274
|
+
omit?: Prisma.AiTaskOmit<ExtArgs> | null
|
|
2275
|
+
/**
|
|
2276
|
+
* Choose, which related nodes to fetch as well
|
|
2277
|
+
*/
|
|
2278
|
+
include?: Prisma.AiTaskInclude<ExtArgs> | null
|
|
2279
|
+
/**
|
|
2280
|
+
* The data needed to update a AiTask.
|
|
2281
|
+
*/
|
|
2282
|
+
data: Prisma.XOR<Prisma.AiTaskUpdateInput, Prisma.AiTaskUncheckedUpdateInput>
|
|
2283
|
+
/**
|
|
2284
|
+
* Choose, which AiTask to update.
|
|
2285
|
+
*/
|
|
2286
|
+
where: Prisma.AiTaskWhereUniqueInput
|
|
2287
|
+
}
|
|
2288
|
+
|
|
2289
|
+
/**
|
|
2290
|
+
* AiTask updateMany
|
|
2291
|
+
*/
|
|
2292
|
+
export type AiTaskUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2293
|
+
/**
|
|
2294
|
+
* The data used to update AiTasks.
|
|
2295
|
+
*/
|
|
2296
|
+
data: Prisma.XOR<Prisma.AiTaskUpdateManyMutationInput, Prisma.AiTaskUncheckedUpdateManyInput>
|
|
2297
|
+
/**
|
|
2298
|
+
* Filter which AiTasks to update
|
|
2299
|
+
*/
|
|
2300
|
+
where?: Prisma.AiTaskWhereInput
|
|
2301
|
+
/**
|
|
2302
|
+
* Limit how many AiTasks to update.
|
|
2303
|
+
*/
|
|
2304
|
+
limit?: number
|
|
2305
|
+
}
|
|
2306
|
+
|
|
2307
|
+
/**
|
|
2308
|
+
* AiTask updateManyAndReturn
|
|
2309
|
+
*/
|
|
2310
|
+
export type AiTaskUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2311
|
+
/**
|
|
2312
|
+
* Select specific fields to fetch from the AiTask
|
|
2313
|
+
*/
|
|
2314
|
+
select?: Prisma.AiTaskSelectUpdateManyAndReturn<ExtArgs> | null
|
|
2315
|
+
/**
|
|
2316
|
+
* Omit specific fields from the AiTask
|
|
2317
|
+
*/
|
|
2318
|
+
omit?: Prisma.AiTaskOmit<ExtArgs> | null
|
|
2319
|
+
/**
|
|
2320
|
+
* The data used to update AiTasks.
|
|
2321
|
+
*/
|
|
2322
|
+
data: Prisma.XOR<Prisma.AiTaskUpdateManyMutationInput, Prisma.AiTaskUncheckedUpdateManyInput>
|
|
2323
|
+
/**
|
|
2324
|
+
* Filter which AiTasks to update
|
|
2325
|
+
*/
|
|
2326
|
+
where?: Prisma.AiTaskWhereInput
|
|
2327
|
+
/**
|
|
2328
|
+
* Limit how many AiTasks to update.
|
|
2329
|
+
*/
|
|
2330
|
+
limit?: number
|
|
2331
|
+
/**
|
|
2332
|
+
* Choose, which related nodes to fetch as well
|
|
2333
|
+
*/
|
|
2334
|
+
include?: Prisma.AiTaskIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
2335
|
+
}
|
|
2336
|
+
|
|
2337
|
+
/**
|
|
2338
|
+
* AiTask upsert
|
|
2339
|
+
*/
|
|
2340
|
+
export type AiTaskUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2341
|
+
/**
|
|
2342
|
+
* Select specific fields to fetch from the AiTask
|
|
2343
|
+
*/
|
|
2344
|
+
select?: Prisma.AiTaskSelect<ExtArgs> | null
|
|
2345
|
+
/**
|
|
2346
|
+
* Omit specific fields from the AiTask
|
|
2347
|
+
*/
|
|
2348
|
+
omit?: Prisma.AiTaskOmit<ExtArgs> | null
|
|
2349
|
+
/**
|
|
2350
|
+
* Choose, which related nodes to fetch as well
|
|
2351
|
+
*/
|
|
2352
|
+
include?: Prisma.AiTaskInclude<ExtArgs> | null
|
|
2353
|
+
/**
|
|
2354
|
+
* The filter to search for the AiTask to update in case it exists.
|
|
2355
|
+
*/
|
|
2356
|
+
where: Prisma.AiTaskWhereUniqueInput
|
|
2357
|
+
/**
|
|
2358
|
+
* In case the AiTask found by the `where` argument doesn't exist, create a new AiTask with this data.
|
|
2359
|
+
*/
|
|
2360
|
+
create: Prisma.XOR<Prisma.AiTaskCreateInput, Prisma.AiTaskUncheckedCreateInput>
|
|
2361
|
+
/**
|
|
2362
|
+
* In case the AiTask was found with the provided `where` argument, update it with this data.
|
|
2363
|
+
*/
|
|
2364
|
+
update: Prisma.XOR<Prisma.AiTaskUpdateInput, Prisma.AiTaskUncheckedUpdateInput>
|
|
2365
|
+
}
|
|
2366
|
+
|
|
2367
|
+
/**
|
|
2368
|
+
* AiTask delete
|
|
2369
|
+
*/
|
|
2370
|
+
export type AiTaskDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2371
|
+
/**
|
|
2372
|
+
* Select specific fields to fetch from the AiTask
|
|
2373
|
+
*/
|
|
2374
|
+
select?: Prisma.AiTaskSelect<ExtArgs> | null
|
|
2375
|
+
/**
|
|
2376
|
+
* Omit specific fields from the AiTask
|
|
2377
|
+
*/
|
|
2378
|
+
omit?: Prisma.AiTaskOmit<ExtArgs> | null
|
|
2379
|
+
/**
|
|
2380
|
+
* Choose, which related nodes to fetch as well
|
|
2381
|
+
*/
|
|
2382
|
+
include?: Prisma.AiTaskInclude<ExtArgs> | null
|
|
2383
|
+
/**
|
|
2384
|
+
* Filter which AiTask to delete.
|
|
2385
|
+
*/
|
|
2386
|
+
where: Prisma.AiTaskWhereUniqueInput
|
|
2387
|
+
}
|
|
2388
|
+
|
|
2389
|
+
/**
|
|
2390
|
+
* AiTask deleteMany
|
|
2391
|
+
*/
|
|
2392
|
+
export type AiTaskDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2393
|
+
/**
|
|
2394
|
+
* Filter which AiTasks to delete
|
|
2395
|
+
*/
|
|
2396
|
+
where?: Prisma.AiTaskWhereInput
|
|
2397
|
+
/**
|
|
2398
|
+
* Limit how many AiTasks to delete.
|
|
2399
|
+
*/
|
|
2400
|
+
limit?: number
|
|
2401
|
+
}
|
|
2402
|
+
|
|
2403
|
+
/**
|
|
2404
|
+
* AiTask.workspace
|
|
2405
|
+
*/
|
|
2406
|
+
export type AiTask$workspaceArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2407
|
+
/**
|
|
2408
|
+
* Select specific fields to fetch from the Workspace
|
|
2409
|
+
*/
|
|
2410
|
+
select?: Prisma.WorkspaceSelect<ExtArgs> | null
|
|
2411
|
+
/**
|
|
2412
|
+
* Omit specific fields from the Workspace
|
|
2413
|
+
*/
|
|
2414
|
+
omit?: Prisma.WorkspaceOmit<ExtArgs> | null
|
|
2415
|
+
/**
|
|
2416
|
+
* Choose, which related nodes to fetch as well
|
|
2417
|
+
*/
|
|
2418
|
+
include?: Prisma.WorkspaceInclude<ExtArgs> | null
|
|
2419
|
+
where?: Prisma.WorkspaceWhereInput
|
|
2420
|
+
}
|
|
2421
|
+
|
|
2422
|
+
/**
|
|
2423
|
+
* AiTask.project
|
|
2424
|
+
*/
|
|
2425
|
+
export type AiTask$projectArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2426
|
+
/**
|
|
2427
|
+
* Select specific fields to fetch from the Project
|
|
2428
|
+
*/
|
|
2429
|
+
select?: Prisma.ProjectSelect<ExtArgs> | null
|
|
2430
|
+
/**
|
|
2431
|
+
* Omit specific fields from the Project
|
|
2432
|
+
*/
|
|
2433
|
+
omit?: Prisma.ProjectOmit<ExtArgs> | null
|
|
2434
|
+
/**
|
|
2435
|
+
* Choose, which related nodes to fetch as well
|
|
2436
|
+
*/
|
|
2437
|
+
include?: Prisma.ProjectInclude<ExtArgs> | null
|
|
2438
|
+
where?: Prisma.ProjectWhereInput
|
|
2439
|
+
}
|
|
2440
|
+
|
|
2441
|
+
/**
|
|
2442
|
+
* AiTask.runs
|
|
2443
|
+
*/
|
|
2444
|
+
export type AiTask$runsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2445
|
+
/**
|
|
2446
|
+
* Select specific fields to fetch from the AiTaskRun
|
|
2447
|
+
*/
|
|
2448
|
+
select?: Prisma.AiTaskRunSelect<ExtArgs> | null
|
|
2449
|
+
/**
|
|
2450
|
+
* Omit specific fields from the AiTaskRun
|
|
2451
|
+
*/
|
|
2452
|
+
omit?: Prisma.AiTaskRunOmit<ExtArgs> | null
|
|
2453
|
+
/**
|
|
2454
|
+
* Choose, which related nodes to fetch as well
|
|
2455
|
+
*/
|
|
2456
|
+
include?: Prisma.AiTaskRunInclude<ExtArgs> | null
|
|
2457
|
+
where?: Prisma.AiTaskRunWhereInput
|
|
2458
|
+
orderBy?: Prisma.AiTaskRunOrderByWithRelationInput | Prisma.AiTaskRunOrderByWithRelationInput[]
|
|
2459
|
+
cursor?: Prisma.AiTaskRunWhereUniqueInput
|
|
2460
|
+
take?: number
|
|
2461
|
+
skip?: number
|
|
2462
|
+
distinct?: Prisma.AiTaskRunScalarFieldEnum | Prisma.AiTaskRunScalarFieldEnum[]
|
|
2463
|
+
}
|
|
2464
|
+
|
|
2465
|
+
/**
|
|
2466
|
+
* AiTask without action
|
|
2467
|
+
*/
|
|
2468
|
+
export type AiTaskDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2469
|
+
/**
|
|
2470
|
+
* Select specific fields to fetch from the AiTask
|
|
2471
|
+
*/
|
|
2472
|
+
select?: Prisma.AiTaskSelect<ExtArgs> | null
|
|
2473
|
+
/**
|
|
2474
|
+
* Omit specific fields from the AiTask
|
|
2475
|
+
*/
|
|
2476
|
+
omit?: Prisma.AiTaskOmit<ExtArgs> | null
|
|
2477
|
+
/**
|
|
2478
|
+
* Choose, which related nodes to fetch as well
|
|
2479
|
+
*/
|
|
2480
|
+
include?: Prisma.AiTaskInclude<ExtArgs> | null
|
|
2481
|
+
}
|