@betterinternship/db 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/dist/index.js +17 -17
  3. package/dist/prisma.config.js.map +1 -1
  4. package/dist/src/prisma/commonInputTypes.d.ts +57 -46
  5. package/dist/src/prisma/internal/class.js +2 -2
  6. package/dist/src/prisma/internal/class.js.map +1 -1
  7. package/dist/src/prisma/internal/prismaNamespace.d.ts +1 -4
  8. package/dist/src/prisma/internal/prismaNamespace.js +1 -2
  9. package/dist/src/prisma/internal/prismaNamespace.js.map +1 -1
  10. package/dist/src/prisma/internal/prismaNamespaceBrowser.d.ts +1 -2
  11. package/dist/src/prisma/internal/prismaNamespaceBrowser.js +1 -2
  12. package/dist/src/prisma/internal/prismaNamespaceBrowser.js.map +1 -1
  13. package/dist/src/prisma/models/tasks.d.ts +292 -111
  14. package/dist/tsconfig.tsbuildinfo +1 -1
  15. package/package.json +1 -1
  16. package/dist/db/index.d.ts +0 -10
  17. package/dist/db/index.js +0 -12
  18. package/dist/db/index.js.map +0 -1
  19. package/dist/prisma/browser.d.ts +0 -6
  20. package/dist/prisma/browser.js +0 -44
  21. package/dist/prisma/browser.js.map +0 -1
  22. package/dist/prisma/client.d.ts +0 -10
  23. package/dist/prisma/client.js +0 -49
  24. package/dist/prisma/client.js.map +0 -1
  25. package/dist/prisma/commonInputTypes.d.ts +0 -284
  26. package/dist/prisma/commonInputTypes.js +0 -3
  27. package/dist/prisma/commonInputTypes.js.map +0 -1
  28. package/dist/prisma/enums.d.ts +0 -1
  29. package/dist/prisma/enums.js +0 -3
  30. package/dist/prisma/enums.js.map +0 -1
  31. package/dist/prisma/internal/class.d.ts +0 -38
  32. package/dist/prisma/internal/class.js +0 -66
  33. package/dist/prisma/internal/class.js.map +0 -1
  34. package/dist/prisma/internal/prismaNamespace.d.ts +0 -462
  35. package/dist/prisma/internal/prismaNamespace.js +0 -113
  36. package/dist/prisma/internal/prismaNamespace.js.map +0 -1
  37. package/dist/prisma/internal/prismaNamespaceBrowser.d.ts +0 -71
  38. package/dist/prisma/internal/prismaNamespaceBrowser.js +0 -97
  39. package/dist/prisma/internal/prismaNamespaceBrowser.js.map +0 -1
  40. package/dist/prisma/models/processes.d.ts +0 -503
  41. package/dist/prisma/models/processes.js +0 -3
  42. package/dist/prisma/models/processes.js.map +0 -1
  43. package/dist/prisma/models/tasks.d.ts +0 -747
  44. package/dist/prisma/models/tasks.js +0 -3
  45. package/dist/prisma/models/tasks.js.map +0 -1
  46. package/dist/prisma/models.d.ts +0 -3
  47. package/dist/prisma/models.js +0 -3
  48. package/dist/prisma/models.js.map +0 -1
  49. package/dist/src/index.d.ts +0 -1
  50. package/dist/src/index.js +0 -18
  51. package/dist/src/index.js.map +0 -1
@@ -3,90 +3,66 @@ import type * as Prisma from "../internal/prismaNamespace.js";
3
3
  export type tasksModel = runtime.Types.Result.DefaultSelection<Prisma.$tasksPayload>;
4
4
  export type AggregateTasks = {
5
5
  _count: TasksCountAggregateOutputType | null;
6
- _avg: TasksAvgAggregateOutputType | null;
7
- _sum: TasksSumAggregateOutputType | null;
8
6
  _min: TasksMinAggregateOutputType | null;
9
7
  _max: TasksMaxAggregateOutputType | null;
10
8
  };
11
- export type TasksAvgAggregateOutputType = {
12
- retries: number | null;
13
- max_retries: number | null;
14
- };
15
- export type TasksSumAggregateOutputType = {
16
- retries: number | null;
17
- max_retries: number | null;
18
- };
19
9
  export type TasksMinAggregateOutputType = {
20
10
  id: string | null;
21
11
  internal_id: string | null;
22
12
  handler_id: string | null;
13
+ parent_id: string | null;
23
14
  process_id: string | null;
24
15
  status: string | null;
25
- retries: number | null;
26
- max_retries: number | null;
27
16
  timestamp: Date | null;
28
17
  };
29
18
  export type TasksMaxAggregateOutputType = {
30
19
  id: string | null;
31
20
  internal_id: string | null;
32
21
  handler_id: string | null;
22
+ parent_id: string | null;
33
23
  process_id: string | null;
34
24
  status: string | null;
35
- retries: number | null;
36
- max_retries: number | null;
37
25
  timestamp: Date | null;
38
26
  };
39
27
  export type TasksCountAggregateOutputType = {
40
28
  id: number;
41
29
  internal_id: number;
42
30
  handler_id: number;
31
+ parent_id: number;
43
32
  process_id: number;
44
33
  result: number;
45
34
  status: number;
46
35
  error: number;
47
- retries: number;
48
- max_retries: number;
49
36
  timestamp: number;
50
37
  _all: number;
51
38
  };
52
- export type TasksAvgAggregateInputType = {
53
- retries?: true;
54
- max_retries?: true;
55
- };
56
- export type TasksSumAggregateInputType = {
57
- retries?: true;
58
- max_retries?: true;
59
- };
60
39
  export type TasksMinAggregateInputType = {
61
40
  id?: true;
62
41
  internal_id?: true;
63
42
  handler_id?: true;
43
+ parent_id?: true;
64
44
  process_id?: true;
65
45
  status?: true;
66
- retries?: true;
67
- max_retries?: true;
68
46
  timestamp?: true;
69
47
  };
70
48
  export type TasksMaxAggregateInputType = {
71
49
  id?: true;
72
50
  internal_id?: true;
73
51
  handler_id?: true;
52
+ parent_id?: true;
74
53
  process_id?: true;
75
54
  status?: true;
76
- retries?: true;
77
- max_retries?: true;
78
55
  timestamp?: true;
79
56
  };
80
57
  export type TasksCountAggregateInputType = {
81
58
  id?: true;
82
59
  internal_id?: true;
83
60
  handler_id?: true;
61
+ parent_id?: true;
84
62
  process_id?: true;
85
63
  result?: true;
86
64
  status?: true;
87
65
  error?: true;
88
- retries?: true;
89
- max_retries?: true;
90
66
  timestamp?: true;
91
67
  _all?: true;
92
68
  };
@@ -97,8 +73,6 @@ export type TasksAggregateArgs<ExtArgs extends runtime.Types.Extensions.Internal
97
73
  take?: number;
98
74
  skip?: number;
99
75
  _count?: true | TasksCountAggregateInputType;
100
- _avg?: TasksAvgAggregateInputType;
101
- _sum?: TasksSumAggregateInputType;
102
76
  _min?: TasksMinAggregateInputType;
103
77
  _max?: TasksMaxAggregateInputType;
104
78
  };
@@ -113,8 +87,6 @@ export type tasksGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalAr
113
87
  take?: number;
114
88
  skip?: number;
115
89
  _count?: TasksCountAggregateInputType | true;
116
- _avg?: TasksAvgAggregateInputType;
117
- _sum?: TasksSumAggregateInputType;
118
90
  _min?: TasksMinAggregateInputType;
119
91
  _max?: TasksMaxAggregateInputType;
120
92
  };
@@ -122,16 +94,13 @@ export type TasksGroupByOutputType = {
122
94
  id: string;
123
95
  internal_id: string;
124
96
  handler_id: string;
97
+ parent_id: string | null;
125
98
  process_id: string;
126
99
  result: runtime.JsonValue | null;
127
100
  status: string;
128
101
  error: runtime.JsonValue | null;
129
- retries: number;
130
- max_retries: number;
131
102
  timestamp: Date;
132
103
  _count: TasksCountAggregateOutputType | null;
133
- _avg: TasksAvgAggregateOutputType | null;
134
- _sum: TasksSumAggregateOutputType | null;
135
104
  _min: TasksMinAggregateOutputType | null;
136
105
  _max: TasksMaxAggregateOutputType | null;
137
106
  };
@@ -145,27 +114,29 @@ export type tasksWhereInput = {
145
114
  id?: Prisma.UuidFilter<"tasks"> | string;
146
115
  internal_id?: Prisma.StringFilter<"tasks"> | string;
147
116
  handler_id?: Prisma.StringFilter<"tasks"> | string;
117
+ parent_id?: Prisma.UuidNullableFilter<"tasks"> | string | null;
148
118
  process_id?: Prisma.UuidFilter<"tasks"> | string;
149
119
  result?: Prisma.JsonNullableFilter<"tasks">;
150
120
  status?: Prisma.StringFilter<"tasks"> | string;
151
121
  error?: Prisma.JsonNullableFilter<"tasks">;
152
- retries?: Prisma.IntFilter<"tasks"> | number;
153
- max_retries?: Prisma.IntFilter<"tasks"> | number;
154
122
  timestamp?: Prisma.DateTimeFilter<"tasks"> | Date | string;
155
123
  processes?: Prisma.XOR<Prisma.ProcessesScalarRelationFilter, Prisma.processesWhereInput>;
124
+ tasks?: Prisma.XOR<Prisma.TasksNullableScalarRelationFilter, Prisma.tasksWhereInput> | null;
125
+ other_tasks?: Prisma.TasksListRelationFilter;
156
126
  };
157
127
  export type tasksOrderByWithRelationInput = {
158
128
  id?: Prisma.SortOrder;
159
129
  internal_id?: Prisma.SortOrder;
160
130
  handler_id?: Prisma.SortOrder;
131
+ parent_id?: Prisma.SortOrderInput | Prisma.SortOrder;
161
132
  process_id?: Prisma.SortOrder;
162
133
  result?: Prisma.SortOrderInput | Prisma.SortOrder;
163
134
  status?: Prisma.SortOrder;
164
135
  error?: Prisma.SortOrderInput | Prisma.SortOrder;
165
- retries?: Prisma.SortOrder;
166
- max_retries?: Prisma.SortOrder;
167
136
  timestamp?: Prisma.SortOrder;
168
137
  processes?: Prisma.processesOrderByWithRelationInput;
138
+ tasks?: Prisma.tasksOrderByWithRelationInput;
139
+ other_tasks?: Prisma.tasksOrderByRelationAggregateInput;
169
140
  };
170
141
  export type tasksWhereUniqueInput = Prisma.AtLeast<{
171
142
  id?: string;
@@ -174,31 +145,29 @@ export type tasksWhereUniqueInput = Prisma.AtLeast<{
174
145
  NOT?: Prisma.tasksWhereInput | Prisma.tasksWhereInput[];
175
146
  internal_id?: Prisma.StringFilter<"tasks"> | string;
176
147
  handler_id?: Prisma.StringFilter<"tasks"> | string;
148
+ parent_id?: Prisma.UuidNullableFilter<"tasks"> | string | null;
177
149
  process_id?: Prisma.UuidFilter<"tasks"> | string;
178
150
  result?: Prisma.JsonNullableFilter<"tasks">;
179
151
  status?: Prisma.StringFilter<"tasks"> | string;
180
152
  error?: Prisma.JsonNullableFilter<"tasks">;
181
- retries?: Prisma.IntFilter<"tasks"> | number;
182
- max_retries?: Prisma.IntFilter<"tasks"> | number;
183
153
  timestamp?: Prisma.DateTimeFilter<"tasks"> | Date | string;
184
154
  processes?: Prisma.XOR<Prisma.ProcessesScalarRelationFilter, Prisma.processesWhereInput>;
155
+ tasks?: Prisma.XOR<Prisma.TasksNullableScalarRelationFilter, Prisma.tasksWhereInput> | null;
156
+ other_tasks?: Prisma.TasksListRelationFilter;
185
157
  }, "id">;
186
158
  export type tasksOrderByWithAggregationInput = {
187
159
  id?: Prisma.SortOrder;
188
160
  internal_id?: Prisma.SortOrder;
189
161
  handler_id?: Prisma.SortOrder;
162
+ parent_id?: Prisma.SortOrderInput | Prisma.SortOrder;
190
163
  process_id?: Prisma.SortOrder;
191
164
  result?: Prisma.SortOrderInput | Prisma.SortOrder;
192
165
  status?: Prisma.SortOrder;
193
166
  error?: Prisma.SortOrderInput | Prisma.SortOrder;
194
- retries?: Prisma.SortOrder;
195
- max_retries?: Prisma.SortOrder;
196
167
  timestamp?: Prisma.SortOrder;
197
168
  _count?: Prisma.tasksCountOrderByAggregateInput;
198
- _avg?: Prisma.tasksAvgOrderByAggregateInput;
199
169
  _max?: Prisma.tasksMaxOrderByAggregateInput;
200
170
  _min?: Prisma.tasksMinOrderByAggregateInput;
201
- _sum?: Prisma.tasksSumOrderByAggregateInput;
202
171
  };
203
172
  export type tasksScalarWhereWithAggregatesInput = {
204
173
  AND?: Prisma.tasksScalarWhereWithAggregatesInput | Prisma.tasksScalarWhereWithAggregatesInput[];
@@ -207,12 +176,11 @@ export type tasksScalarWhereWithAggregatesInput = {
207
176
  id?: Prisma.UuidWithAggregatesFilter<"tasks"> | string;
208
177
  internal_id?: Prisma.StringWithAggregatesFilter<"tasks"> | string;
209
178
  handler_id?: Prisma.StringWithAggregatesFilter<"tasks"> | string;
179
+ parent_id?: Prisma.UuidNullableWithAggregatesFilter<"tasks"> | string | null;
210
180
  process_id?: Prisma.UuidWithAggregatesFilter<"tasks"> | string;
211
181
  result?: Prisma.JsonNullableWithAggregatesFilter<"tasks">;
212
182
  status?: Prisma.StringWithAggregatesFilter<"tasks"> | string;
213
183
  error?: Prisma.JsonNullableWithAggregatesFilter<"tasks">;
214
- retries?: Prisma.IntWithAggregatesFilter<"tasks"> | number;
215
- max_retries?: Prisma.IntWithAggregatesFilter<"tasks"> | number;
216
184
  timestamp?: Prisma.DateTimeWithAggregatesFilter<"tasks"> | Date | string;
217
185
  };
218
186
  export type tasksCreateInput = {
@@ -222,22 +190,22 @@ export type tasksCreateInput = {
222
190
  result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
223
191
  status?: string;
224
192
  error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
225
- retries?: number;
226
- max_retries: number;
227
193
  timestamp?: Date | string;
228
194
  processes: Prisma.processesCreateNestedOneWithoutTasksInput;
195
+ tasks?: Prisma.tasksCreateNestedOneWithoutOther_tasksInput;
196
+ other_tasks?: Prisma.tasksCreateNestedManyWithoutTasksInput;
229
197
  };
230
198
  export type tasksUncheckedCreateInput = {
231
199
  id?: string;
232
200
  internal_id: string;
233
201
  handler_id: string;
202
+ parent_id?: string | null;
234
203
  process_id: string;
235
204
  result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
236
205
  status?: string;
237
206
  error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
238
- retries?: number;
239
- max_retries: number;
240
207
  timestamp?: Date | string;
208
+ other_tasks?: Prisma.tasksUncheckedCreateNestedManyWithoutTasksInput;
241
209
  };
242
210
  export type tasksUpdateInput = {
243
211
  id?: Prisma.StringFieldUpdateOperationsInput | string;
@@ -246,33 +214,32 @@ export type tasksUpdateInput = {
246
214
  result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
247
215
  status?: Prisma.StringFieldUpdateOperationsInput | string;
248
216
  error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
249
- retries?: Prisma.IntFieldUpdateOperationsInput | number;
250
- max_retries?: Prisma.IntFieldUpdateOperationsInput | number;
251
217
  timestamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
252
218
  processes?: Prisma.processesUpdateOneRequiredWithoutTasksNestedInput;
219
+ tasks?: Prisma.tasksUpdateOneWithoutOther_tasksNestedInput;
220
+ other_tasks?: Prisma.tasksUpdateManyWithoutTasksNestedInput;
253
221
  };
254
222
  export type tasksUncheckedUpdateInput = {
255
223
  id?: Prisma.StringFieldUpdateOperationsInput | string;
256
224
  internal_id?: Prisma.StringFieldUpdateOperationsInput | string;
257
225
  handler_id?: Prisma.StringFieldUpdateOperationsInput | string;
226
+ parent_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
258
227
  process_id?: Prisma.StringFieldUpdateOperationsInput | string;
259
228
  result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
260
229
  status?: Prisma.StringFieldUpdateOperationsInput | string;
261
230
  error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
262
- retries?: Prisma.IntFieldUpdateOperationsInput | number;
263
- max_retries?: Prisma.IntFieldUpdateOperationsInput | number;
264
231
  timestamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
232
+ other_tasks?: Prisma.tasksUncheckedUpdateManyWithoutTasksNestedInput;
265
233
  };
266
234
  export type tasksCreateManyInput = {
267
235
  id?: string;
268
236
  internal_id: string;
269
237
  handler_id: string;
238
+ parent_id?: string | null;
270
239
  process_id: string;
271
240
  result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
272
241
  status?: string;
273
242
  error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
274
- retries?: number;
275
- max_retries: number;
276
243
  timestamp?: Date | string;
277
244
  };
278
245
  export type tasksUpdateManyMutationInput = {
@@ -282,20 +249,17 @@ export type tasksUpdateManyMutationInput = {
282
249
  result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
283
250
  status?: Prisma.StringFieldUpdateOperationsInput | string;
284
251
  error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
285
- retries?: Prisma.IntFieldUpdateOperationsInput | number;
286
- max_retries?: Prisma.IntFieldUpdateOperationsInput | number;
287
252
  timestamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
288
253
  };
289
254
  export type tasksUncheckedUpdateManyInput = {
290
255
  id?: Prisma.StringFieldUpdateOperationsInput | string;
291
256
  internal_id?: Prisma.StringFieldUpdateOperationsInput | string;
292
257
  handler_id?: Prisma.StringFieldUpdateOperationsInput | string;
258
+ parent_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
293
259
  process_id?: Prisma.StringFieldUpdateOperationsInput | string;
294
260
  result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
295
261
  status?: Prisma.StringFieldUpdateOperationsInput | string;
296
262
  error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
297
- retries?: Prisma.IntFieldUpdateOperationsInput | number;
298
- max_retries?: Prisma.IntFieldUpdateOperationsInput | number;
299
263
  timestamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
300
264
  };
301
265
  export type TasksListRelationFilter = {
@@ -306,46 +270,39 @@ export type TasksListRelationFilter = {
306
270
  export type tasksOrderByRelationAggregateInput = {
307
271
  _count?: Prisma.SortOrder;
308
272
  };
273
+ export type TasksNullableScalarRelationFilter = {
274
+ is?: Prisma.tasksWhereInput | null;
275
+ isNot?: Prisma.tasksWhereInput | null;
276
+ };
309
277
  export type tasksCountOrderByAggregateInput = {
310
278
  id?: Prisma.SortOrder;
311
279
  internal_id?: Prisma.SortOrder;
312
280
  handler_id?: Prisma.SortOrder;
281
+ parent_id?: Prisma.SortOrder;
313
282
  process_id?: Prisma.SortOrder;
314
283
  result?: Prisma.SortOrder;
315
284
  status?: Prisma.SortOrder;
316
285
  error?: Prisma.SortOrder;
317
- retries?: Prisma.SortOrder;
318
- max_retries?: Prisma.SortOrder;
319
286
  timestamp?: Prisma.SortOrder;
320
287
  };
321
- export type tasksAvgOrderByAggregateInput = {
322
- retries?: Prisma.SortOrder;
323
- max_retries?: Prisma.SortOrder;
324
- };
325
288
  export type tasksMaxOrderByAggregateInput = {
326
289
  id?: Prisma.SortOrder;
327
290
  internal_id?: Prisma.SortOrder;
328
291
  handler_id?: Prisma.SortOrder;
292
+ parent_id?: Prisma.SortOrder;
329
293
  process_id?: Prisma.SortOrder;
330
294
  status?: Prisma.SortOrder;
331
- retries?: Prisma.SortOrder;
332
- max_retries?: Prisma.SortOrder;
333
295
  timestamp?: Prisma.SortOrder;
334
296
  };
335
297
  export type tasksMinOrderByAggregateInput = {
336
298
  id?: Prisma.SortOrder;
337
299
  internal_id?: Prisma.SortOrder;
338
300
  handler_id?: Prisma.SortOrder;
301
+ parent_id?: Prisma.SortOrder;
339
302
  process_id?: Prisma.SortOrder;
340
303
  status?: Prisma.SortOrder;
341
- retries?: Prisma.SortOrder;
342
- max_retries?: Prisma.SortOrder;
343
304
  timestamp?: Prisma.SortOrder;
344
305
  };
345
- export type tasksSumOrderByAggregateInput = {
346
- retries?: Prisma.SortOrder;
347
- max_retries?: Prisma.SortOrder;
348
- };
349
306
  export type tasksCreateNestedManyWithoutProcessesInput = {
350
307
  create?: Prisma.XOR<Prisma.tasksCreateWithoutProcessesInput, Prisma.tasksUncheckedCreateWithoutProcessesInput> | Prisma.tasksCreateWithoutProcessesInput[] | Prisma.tasksUncheckedCreateWithoutProcessesInput[];
351
308
  connectOrCreate?: Prisma.tasksCreateOrConnectWithoutProcessesInput | Prisma.tasksCreateOrConnectWithoutProcessesInput[];
@@ -384,12 +341,60 @@ export type tasksUncheckedUpdateManyWithoutProcessesNestedInput = {
384
341
  updateMany?: Prisma.tasksUpdateManyWithWhereWithoutProcessesInput | Prisma.tasksUpdateManyWithWhereWithoutProcessesInput[];
385
342
  deleteMany?: Prisma.tasksScalarWhereInput | Prisma.tasksScalarWhereInput[];
386
343
  };
387
- export type IntFieldUpdateOperationsInput = {
388
- set?: number;
389
- increment?: number;
390
- decrement?: number;
391
- multiply?: number;
392
- divide?: number;
344
+ export type tasksCreateNestedOneWithoutOther_tasksInput = {
345
+ create?: Prisma.XOR<Prisma.tasksCreateWithoutOther_tasksInput, Prisma.tasksUncheckedCreateWithoutOther_tasksInput>;
346
+ connectOrCreate?: Prisma.tasksCreateOrConnectWithoutOther_tasksInput;
347
+ connect?: Prisma.tasksWhereUniqueInput;
348
+ };
349
+ export type tasksCreateNestedManyWithoutTasksInput = {
350
+ create?: Prisma.XOR<Prisma.tasksCreateWithoutTasksInput, Prisma.tasksUncheckedCreateWithoutTasksInput> | Prisma.tasksCreateWithoutTasksInput[] | Prisma.tasksUncheckedCreateWithoutTasksInput[];
351
+ connectOrCreate?: Prisma.tasksCreateOrConnectWithoutTasksInput | Prisma.tasksCreateOrConnectWithoutTasksInput[];
352
+ createMany?: Prisma.tasksCreateManyTasksInputEnvelope;
353
+ connect?: Prisma.tasksWhereUniqueInput | Prisma.tasksWhereUniqueInput[];
354
+ };
355
+ export type tasksUncheckedCreateNestedManyWithoutTasksInput = {
356
+ create?: Prisma.XOR<Prisma.tasksCreateWithoutTasksInput, Prisma.tasksUncheckedCreateWithoutTasksInput> | Prisma.tasksCreateWithoutTasksInput[] | Prisma.tasksUncheckedCreateWithoutTasksInput[];
357
+ connectOrCreate?: Prisma.tasksCreateOrConnectWithoutTasksInput | Prisma.tasksCreateOrConnectWithoutTasksInput[];
358
+ createMany?: Prisma.tasksCreateManyTasksInputEnvelope;
359
+ connect?: Prisma.tasksWhereUniqueInput | Prisma.tasksWhereUniqueInput[];
360
+ };
361
+ export type tasksUpdateOneWithoutOther_tasksNestedInput = {
362
+ create?: Prisma.XOR<Prisma.tasksCreateWithoutOther_tasksInput, Prisma.tasksUncheckedCreateWithoutOther_tasksInput>;
363
+ connectOrCreate?: Prisma.tasksCreateOrConnectWithoutOther_tasksInput;
364
+ upsert?: Prisma.tasksUpsertWithoutOther_tasksInput;
365
+ disconnect?: Prisma.tasksWhereInput | boolean;
366
+ delete?: Prisma.tasksWhereInput | boolean;
367
+ connect?: Prisma.tasksWhereUniqueInput;
368
+ update?: Prisma.XOR<Prisma.XOR<Prisma.tasksUpdateToOneWithWhereWithoutOther_tasksInput, Prisma.tasksUpdateWithoutOther_tasksInput>, Prisma.tasksUncheckedUpdateWithoutOther_tasksInput>;
369
+ };
370
+ export type tasksUpdateManyWithoutTasksNestedInput = {
371
+ create?: Prisma.XOR<Prisma.tasksCreateWithoutTasksInput, Prisma.tasksUncheckedCreateWithoutTasksInput> | Prisma.tasksCreateWithoutTasksInput[] | Prisma.tasksUncheckedCreateWithoutTasksInput[];
372
+ connectOrCreate?: Prisma.tasksCreateOrConnectWithoutTasksInput | Prisma.tasksCreateOrConnectWithoutTasksInput[];
373
+ upsert?: Prisma.tasksUpsertWithWhereUniqueWithoutTasksInput | Prisma.tasksUpsertWithWhereUniqueWithoutTasksInput[];
374
+ createMany?: Prisma.tasksCreateManyTasksInputEnvelope;
375
+ set?: Prisma.tasksWhereUniqueInput | Prisma.tasksWhereUniqueInput[];
376
+ disconnect?: Prisma.tasksWhereUniqueInput | Prisma.tasksWhereUniqueInput[];
377
+ delete?: Prisma.tasksWhereUniqueInput | Prisma.tasksWhereUniqueInput[];
378
+ connect?: Prisma.tasksWhereUniqueInput | Prisma.tasksWhereUniqueInput[];
379
+ update?: Prisma.tasksUpdateWithWhereUniqueWithoutTasksInput | Prisma.tasksUpdateWithWhereUniqueWithoutTasksInput[];
380
+ updateMany?: Prisma.tasksUpdateManyWithWhereWithoutTasksInput | Prisma.tasksUpdateManyWithWhereWithoutTasksInput[];
381
+ deleteMany?: Prisma.tasksScalarWhereInput | Prisma.tasksScalarWhereInput[];
382
+ };
383
+ export type NullableStringFieldUpdateOperationsInput = {
384
+ set?: string | null;
385
+ };
386
+ export type tasksUncheckedUpdateManyWithoutTasksNestedInput = {
387
+ create?: Prisma.XOR<Prisma.tasksCreateWithoutTasksInput, Prisma.tasksUncheckedCreateWithoutTasksInput> | Prisma.tasksCreateWithoutTasksInput[] | Prisma.tasksUncheckedCreateWithoutTasksInput[];
388
+ connectOrCreate?: Prisma.tasksCreateOrConnectWithoutTasksInput | Prisma.tasksCreateOrConnectWithoutTasksInput[];
389
+ upsert?: Prisma.tasksUpsertWithWhereUniqueWithoutTasksInput | Prisma.tasksUpsertWithWhereUniqueWithoutTasksInput[];
390
+ createMany?: Prisma.tasksCreateManyTasksInputEnvelope;
391
+ set?: Prisma.tasksWhereUniqueInput | Prisma.tasksWhereUniqueInput[];
392
+ disconnect?: Prisma.tasksWhereUniqueInput | Prisma.tasksWhereUniqueInput[];
393
+ delete?: Prisma.tasksWhereUniqueInput | Prisma.tasksWhereUniqueInput[];
394
+ connect?: Prisma.tasksWhereUniqueInput | Prisma.tasksWhereUniqueInput[];
395
+ update?: Prisma.tasksUpdateWithWhereUniqueWithoutTasksInput | Prisma.tasksUpdateWithWhereUniqueWithoutTasksInput[];
396
+ updateMany?: Prisma.tasksUpdateManyWithWhereWithoutTasksInput | Prisma.tasksUpdateManyWithWhereWithoutTasksInput[];
397
+ deleteMany?: Prisma.tasksScalarWhereInput | Prisma.tasksScalarWhereInput[];
393
398
  };
394
399
  export type tasksCreateWithoutProcessesInput = {
395
400
  id?: string;
@@ -398,20 +403,20 @@ export type tasksCreateWithoutProcessesInput = {
398
403
  result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
399
404
  status?: string;
400
405
  error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
401
- retries?: number;
402
- max_retries: number;
403
406
  timestamp?: Date | string;
407
+ tasks?: Prisma.tasksCreateNestedOneWithoutOther_tasksInput;
408
+ other_tasks?: Prisma.tasksCreateNestedManyWithoutTasksInput;
404
409
  };
405
410
  export type tasksUncheckedCreateWithoutProcessesInput = {
406
411
  id?: string;
407
412
  internal_id: string;
408
413
  handler_id: string;
414
+ parent_id?: string | null;
409
415
  result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
410
416
  status?: string;
411
417
  error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
412
- retries?: number;
413
- max_retries: number;
414
418
  timestamp?: Date | string;
419
+ other_tasks?: Prisma.tasksUncheckedCreateNestedManyWithoutTasksInput;
415
420
  };
416
421
  export type tasksCreateOrConnectWithoutProcessesInput = {
417
422
  where: Prisma.tasksWhereUniqueInput;
@@ -441,23 +446,121 @@ export type tasksScalarWhereInput = {
441
446
  id?: Prisma.UuidFilter<"tasks"> | string;
442
447
  internal_id?: Prisma.StringFilter<"tasks"> | string;
443
448
  handler_id?: Prisma.StringFilter<"tasks"> | string;
449
+ parent_id?: Prisma.UuidNullableFilter<"tasks"> | string | null;
444
450
  process_id?: Prisma.UuidFilter<"tasks"> | string;
445
451
  result?: Prisma.JsonNullableFilter<"tasks">;
446
452
  status?: Prisma.StringFilter<"tasks"> | string;
447
453
  error?: Prisma.JsonNullableFilter<"tasks">;
448
- retries?: Prisma.IntFilter<"tasks"> | number;
449
- max_retries?: Prisma.IntFilter<"tasks"> | number;
450
454
  timestamp?: Prisma.DateTimeFilter<"tasks"> | Date | string;
451
455
  };
456
+ export type tasksCreateWithoutOther_tasksInput = {
457
+ id?: string;
458
+ internal_id: string;
459
+ handler_id: string;
460
+ result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
461
+ status?: string;
462
+ error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
463
+ timestamp?: Date | string;
464
+ processes: Prisma.processesCreateNestedOneWithoutTasksInput;
465
+ tasks?: Prisma.tasksCreateNestedOneWithoutOther_tasksInput;
466
+ };
467
+ export type tasksUncheckedCreateWithoutOther_tasksInput = {
468
+ id?: string;
469
+ internal_id: string;
470
+ handler_id: string;
471
+ parent_id?: string | null;
472
+ process_id: string;
473
+ result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
474
+ status?: string;
475
+ error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
476
+ timestamp?: Date | string;
477
+ };
478
+ export type tasksCreateOrConnectWithoutOther_tasksInput = {
479
+ where: Prisma.tasksWhereUniqueInput;
480
+ create: Prisma.XOR<Prisma.tasksCreateWithoutOther_tasksInput, Prisma.tasksUncheckedCreateWithoutOther_tasksInput>;
481
+ };
482
+ export type tasksCreateWithoutTasksInput = {
483
+ id?: string;
484
+ internal_id: string;
485
+ handler_id: string;
486
+ result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
487
+ status?: string;
488
+ error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
489
+ timestamp?: Date | string;
490
+ processes: Prisma.processesCreateNestedOneWithoutTasksInput;
491
+ other_tasks?: Prisma.tasksCreateNestedManyWithoutTasksInput;
492
+ };
493
+ export type tasksUncheckedCreateWithoutTasksInput = {
494
+ id?: string;
495
+ internal_id: string;
496
+ handler_id: string;
497
+ process_id: string;
498
+ result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
499
+ status?: string;
500
+ error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
501
+ timestamp?: Date | string;
502
+ other_tasks?: Prisma.tasksUncheckedCreateNestedManyWithoutTasksInput;
503
+ };
504
+ export type tasksCreateOrConnectWithoutTasksInput = {
505
+ where: Prisma.tasksWhereUniqueInput;
506
+ create: Prisma.XOR<Prisma.tasksCreateWithoutTasksInput, Prisma.tasksUncheckedCreateWithoutTasksInput>;
507
+ };
508
+ export type tasksCreateManyTasksInputEnvelope = {
509
+ data: Prisma.tasksCreateManyTasksInput | Prisma.tasksCreateManyTasksInput[];
510
+ skipDuplicates?: boolean;
511
+ };
512
+ export type tasksUpsertWithoutOther_tasksInput = {
513
+ update: Prisma.XOR<Prisma.tasksUpdateWithoutOther_tasksInput, Prisma.tasksUncheckedUpdateWithoutOther_tasksInput>;
514
+ create: Prisma.XOR<Prisma.tasksCreateWithoutOther_tasksInput, Prisma.tasksUncheckedCreateWithoutOther_tasksInput>;
515
+ where?: Prisma.tasksWhereInput;
516
+ };
517
+ export type tasksUpdateToOneWithWhereWithoutOther_tasksInput = {
518
+ where?: Prisma.tasksWhereInput;
519
+ data: Prisma.XOR<Prisma.tasksUpdateWithoutOther_tasksInput, Prisma.tasksUncheckedUpdateWithoutOther_tasksInput>;
520
+ };
521
+ export type tasksUpdateWithoutOther_tasksInput = {
522
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
523
+ internal_id?: Prisma.StringFieldUpdateOperationsInput | string;
524
+ handler_id?: Prisma.StringFieldUpdateOperationsInput | string;
525
+ result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
526
+ status?: Prisma.StringFieldUpdateOperationsInput | string;
527
+ error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
528
+ timestamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
529
+ processes?: Prisma.processesUpdateOneRequiredWithoutTasksNestedInput;
530
+ tasks?: Prisma.tasksUpdateOneWithoutOther_tasksNestedInput;
531
+ };
532
+ export type tasksUncheckedUpdateWithoutOther_tasksInput = {
533
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
534
+ internal_id?: Prisma.StringFieldUpdateOperationsInput | string;
535
+ handler_id?: Prisma.StringFieldUpdateOperationsInput | string;
536
+ parent_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
537
+ process_id?: Prisma.StringFieldUpdateOperationsInput | string;
538
+ result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
539
+ status?: Prisma.StringFieldUpdateOperationsInput | string;
540
+ error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
541
+ timestamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
542
+ };
543
+ export type tasksUpsertWithWhereUniqueWithoutTasksInput = {
544
+ where: Prisma.tasksWhereUniqueInput;
545
+ update: Prisma.XOR<Prisma.tasksUpdateWithoutTasksInput, Prisma.tasksUncheckedUpdateWithoutTasksInput>;
546
+ create: Prisma.XOR<Prisma.tasksCreateWithoutTasksInput, Prisma.tasksUncheckedCreateWithoutTasksInput>;
547
+ };
548
+ export type tasksUpdateWithWhereUniqueWithoutTasksInput = {
549
+ where: Prisma.tasksWhereUniqueInput;
550
+ data: Prisma.XOR<Prisma.tasksUpdateWithoutTasksInput, Prisma.tasksUncheckedUpdateWithoutTasksInput>;
551
+ };
552
+ export type tasksUpdateManyWithWhereWithoutTasksInput = {
553
+ where: Prisma.tasksScalarWhereInput;
554
+ data: Prisma.XOR<Prisma.tasksUpdateManyMutationInput, Prisma.tasksUncheckedUpdateManyWithoutTasksInput>;
555
+ };
452
556
  export type tasksCreateManyProcessesInput = {
453
557
  id?: string;
454
558
  internal_id: string;
455
559
  handler_id: string;
560
+ parent_id?: string | null;
456
561
  result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
457
562
  status?: string;
458
563
  error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
459
- retries?: number;
460
- max_retries: number;
461
564
  timestamp?: Date | string;
462
565
  };
463
566
  export type tasksUpdateWithoutProcessesInput = {
@@ -467,108 +570,168 @@ export type tasksUpdateWithoutProcessesInput = {
467
570
  result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
468
571
  status?: Prisma.StringFieldUpdateOperationsInput | string;
469
572
  error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
470
- retries?: Prisma.IntFieldUpdateOperationsInput | number;
471
- max_retries?: Prisma.IntFieldUpdateOperationsInput | number;
472
573
  timestamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
574
+ tasks?: Prisma.tasksUpdateOneWithoutOther_tasksNestedInput;
575
+ other_tasks?: Prisma.tasksUpdateManyWithoutTasksNestedInput;
473
576
  };
474
577
  export type tasksUncheckedUpdateWithoutProcessesInput = {
475
578
  id?: Prisma.StringFieldUpdateOperationsInput | string;
476
579
  internal_id?: Prisma.StringFieldUpdateOperationsInput | string;
477
580
  handler_id?: Prisma.StringFieldUpdateOperationsInput | string;
581
+ parent_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
478
582
  result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
479
583
  status?: Prisma.StringFieldUpdateOperationsInput | string;
480
584
  error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
481
- retries?: Prisma.IntFieldUpdateOperationsInput | number;
482
- max_retries?: Prisma.IntFieldUpdateOperationsInput | number;
483
585
  timestamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
586
+ other_tasks?: Prisma.tasksUncheckedUpdateManyWithoutTasksNestedInput;
484
587
  };
485
588
  export type tasksUncheckedUpdateManyWithoutProcessesInput = {
486
589
  id?: Prisma.StringFieldUpdateOperationsInput | string;
487
590
  internal_id?: Prisma.StringFieldUpdateOperationsInput | string;
488
591
  handler_id?: Prisma.StringFieldUpdateOperationsInput | string;
592
+ parent_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
489
593
  result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
490
594
  status?: Prisma.StringFieldUpdateOperationsInput | string;
491
595
  error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
492
- retries?: Prisma.IntFieldUpdateOperationsInput | number;
493
- max_retries?: Prisma.IntFieldUpdateOperationsInput | number;
494
596
  timestamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
495
597
  };
598
+ export type tasksCreateManyTasksInput = {
599
+ id?: string;
600
+ internal_id: string;
601
+ handler_id: string;
602
+ process_id: string;
603
+ result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
604
+ status?: string;
605
+ error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
606
+ timestamp?: Date | string;
607
+ };
608
+ export type tasksUpdateWithoutTasksInput = {
609
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
610
+ internal_id?: Prisma.StringFieldUpdateOperationsInput | string;
611
+ handler_id?: Prisma.StringFieldUpdateOperationsInput | string;
612
+ result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
613
+ status?: Prisma.StringFieldUpdateOperationsInput | string;
614
+ error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
615
+ timestamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
616
+ processes?: Prisma.processesUpdateOneRequiredWithoutTasksNestedInput;
617
+ other_tasks?: Prisma.tasksUpdateManyWithoutTasksNestedInput;
618
+ };
619
+ export type tasksUncheckedUpdateWithoutTasksInput = {
620
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
621
+ internal_id?: Prisma.StringFieldUpdateOperationsInput | string;
622
+ handler_id?: Prisma.StringFieldUpdateOperationsInput | string;
623
+ process_id?: Prisma.StringFieldUpdateOperationsInput | string;
624
+ result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
625
+ status?: Prisma.StringFieldUpdateOperationsInput | string;
626
+ error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
627
+ timestamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
628
+ other_tasks?: Prisma.tasksUncheckedUpdateManyWithoutTasksNestedInput;
629
+ };
630
+ export type tasksUncheckedUpdateManyWithoutTasksInput = {
631
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
632
+ internal_id?: Prisma.StringFieldUpdateOperationsInput | string;
633
+ handler_id?: Prisma.StringFieldUpdateOperationsInput | string;
634
+ process_id?: Prisma.StringFieldUpdateOperationsInput | string;
635
+ result?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
636
+ status?: Prisma.StringFieldUpdateOperationsInput | string;
637
+ error?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
638
+ timestamp?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
639
+ };
640
+ export type TasksCountOutputType = {
641
+ other_tasks: number;
642
+ };
643
+ export type TasksCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
644
+ other_tasks?: boolean | TasksCountOutputTypeCountOther_tasksArgs;
645
+ };
646
+ export type TasksCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
647
+ select?: Prisma.TasksCountOutputTypeSelect<ExtArgs> | null;
648
+ };
649
+ export type TasksCountOutputTypeCountOther_tasksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
650
+ where?: Prisma.tasksWhereInput;
651
+ };
496
652
  export type tasksSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
497
653
  id?: boolean;
498
654
  internal_id?: boolean;
499
655
  handler_id?: boolean;
656
+ parent_id?: boolean;
500
657
  process_id?: boolean;
501
658
  result?: boolean;
502
659
  status?: boolean;
503
660
  error?: boolean;
504
- retries?: boolean;
505
- max_retries?: boolean;
506
661
  timestamp?: boolean;
507
662
  processes?: boolean | Prisma.processesDefaultArgs<ExtArgs>;
663
+ tasks?: boolean | Prisma.tasks$tasksArgs<ExtArgs>;
664
+ other_tasks?: boolean | Prisma.tasks$other_tasksArgs<ExtArgs>;
665
+ _count?: boolean | Prisma.TasksCountOutputTypeDefaultArgs<ExtArgs>;
508
666
  }, ExtArgs["result"]["tasks"]>;
509
667
  export type tasksSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
510
668
  id?: boolean;
511
669
  internal_id?: boolean;
512
670
  handler_id?: boolean;
671
+ parent_id?: boolean;
513
672
  process_id?: boolean;
514
673
  result?: boolean;
515
674
  status?: boolean;
516
675
  error?: boolean;
517
- retries?: boolean;
518
- max_retries?: boolean;
519
676
  timestamp?: boolean;
520
677
  processes?: boolean | Prisma.processesDefaultArgs<ExtArgs>;
678
+ tasks?: boolean | Prisma.tasks$tasksArgs<ExtArgs>;
521
679
  }, ExtArgs["result"]["tasks"]>;
522
680
  export type tasksSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
523
681
  id?: boolean;
524
682
  internal_id?: boolean;
525
683
  handler_id?: boolean;
684
+ parent_id?: boolean;
526
685
  process_id?: boolean;
527
686
  result?: boolean;
528
687
  status?: boolean;
529
688
  error?: boolean;
530
- retries?: boolean;
531
- max_retries?: boolean;
532
689
  timestamp?: boolean;
533
690
  processes?: boolean | Prisma.processesDefaultArgs<ExtArgs>;
691
+ tasks?: boolean | Prisma.tasks$tasksArgs<ExtArgs>;
534
692
  }, ExtArgs["result"]["tasks"]>;
535
693
  export type tasksSelectScalar = {
536
694
  id?: boolean;
537
695
  internal_id?: boolean;
538
696
  handler_id?: boolean;
697
+ parent_id?: boolean;
539
698
  process_id?: boolean;
540
699
  result?: boolean;
541
700
  status?: boolean;
542
701
  error?: boolean;
543
- retries?: boolean;
544
- max_retries?: boolean;
545
702
  timestamp?: boolean;
546
703
  };
547
- export type tasksOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "internal_id" | "handler_id" | "process_id" | "result" | "status" | "error" | "retries" | "max_retries" | "timestamp", ExtArgs["result"]["tasks"]>;
704
+ export type tasksOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "internal_id" | "handler_id" | "parent_id" | "process_id" | "result" | "status" | "error" | "timestamp", ExtArgs["result"]["tasks"]>;
548
705
  export type tasksInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
549
706
  processes?: boolean | Prisma.processesDefaultArgs<ExtArgs>;
707
+ tasks?: boolean | Prisma.tasks$tasksArgs<ExtArgs>;
708
+ other_tasks?: boolean | Prisma.tasks$other_tasksArgs<ExtArgs>;
709
+ _count?: boolean | Prisma.TasksCountOutputTypeDefaultArgs<ExtArgs>;
550
710
  };
551
711
  export type tasksIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
552
712
  processes?: boolean | Prisma.processesDefaultArgs<ExtArgs>;
713
+ tasks?: boolean | Prisma.tasks$tasksArgs<ExtArgs>;
553
714
  };
554
715
  export type tasksIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
555
716
  processes?: boolean | Prisma.processesDefaultArgs<ExtArgs>;
717
+ tasks?: boolean | Prisma.tasks$tasksArgs<ExtArgs>;
556
718
  };
557
719
  export type $tasksPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
558
720
  name: "tasks";
559
721
  objects: {
560
722
  processes: Prisma.$processesPayload<ExtArgs>;
723
+ tasks: Prisma.$tasksPayload<ExtArgs> | null;
724
+ other_tasks: Prisma.$tasksPayload<ExtArgs>[];
561
725
  };
562
726
  scalars: runtime.Types.Extensions.GetPayloadResult<{
563
727
  id: string;
564
728
  internal_id: string;
565
729
  handler_id: string;
730
+ parent_id: string | null;
566
731
  process_id: string;
567
732
  result: runtime.JsonValue | null;
568
733
  status: string;
569
734
  error: runtime.JsonValue | null;
570
- retries: number;
571
- max_retries: number;
572
735
  timestamp: Date;
573
736
  }, ExtArgs["result"]["tasks"]>;
574
737
  composites: {};
@@ -623,6 +786,8 @@ export interface tasksDelegate<ExtArgs extends runtime.Types.Extensions.Internal
623
786
  export interface Prisma__tasksClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
624
787
  readonly [Symbol.toStringTag]: "PrismaPromise";
625
788
  processes<T extends Prisma.processesDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.processesDefaultArgs<ExtArgs>>): Prisma.Prisma__processesClient<runtime.Types.Result.GetResult<Prisma.$processesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
789
+ tasks<T extends Prisma.tasks$tasksArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.tasks$tasksArgs<ExtArgs>>): Prisma.Prisma__tasksClient<runtime.Types.Result.GetResult<Prisma.$tasksPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
790
+ other_tasks<T extends Prisma.tasks$other_tasksArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.tasks$other_tasksArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$tasksPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
626
791
  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>;
627
792
  catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
628
793
  finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
@@ -631,12 +796,11 @@ export interface tasksFieldRefs {
631
796
  readonly id: Prisma.FieldRef<"tasks", 'String'>;
632
797
  readonly internal_id: Prisma.FieldRef<"tasks", 'String'>;
633
798
  readonly handler_id: Prisma.FieldRef<"tasks", 'String'>;
799
+ readonly parent_id: Prisma.FieldRef<"tasks", 'String'>;
634
800
  readonly process_id: Prisma.FieldRef<"tasks", 'String'>;
635
801
  readonly result: Prisma.FieldRef<"tasks", 'Json'>;
636
802
  readonly status: Prisma.FieldRef<"tasks", 'String'>;
637
803
  readonly error: Prisma.FieldRef<"tasks", 'Json'>;
638
- readonly retries: Prisma.FieldRef<"tasks", 'Int'>;
639
- readonly max_retries: Prisma.FieldRef<"tasks", 'Int'>;
640
804
  readonly timestamp: Prisma.FieldRef<"tasks", 'DateTime'>;
641
805
  }
642
806
  export type tasksFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
@@ -739,6 +903,23 @@ export type tasksDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.Interna
739
903
  where?: Prisma.tasksWhereInput;
740
904
  limit?: number;
741
905
  };
906
+ export type tasks$tasksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
907
+ select?: Prisma.tasksSelect<ExtArgs> | null;
908
+ omit?: Prisma.tasksOmit<ExtArgs> | null;
909
+ include?: Prisma.tasksInclude<ExtArgs> | null;
910
+ where?: Prisma.tasksWhereInput;
911
+ };
912
+ export type tasks$other_tasksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
913
+ select?: Prisma.tasksSelect<ExtArgs> | null;
914
+ omit?: Prisma.tasksOmit<ExtArgs> | null;
915
+ include?: Prisma.tasksInclude<ExtArgs> | null;
916
+ where?: Prisma.tasksWhereInput;
917
+ orderBy?: Prisma.tasksOrderByWithRelationInput | Prisma.tasksOrderByWithRelationInput[];
918
+ cursor?: Prisma.tasksWhereUniqueInput;
919
+ take?: number;
920
+ skip?: number;
921
+ distinct?: Prisma.TasksScalarFieldEnum | Prisma.TasksScalarFieldEnum[];
922
+ };
742
923
  export type tasksDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
743
924
  select?: Prisma.tasksSelect<ExtArgs> | null;
744
925
  omit?: Prisma.tasksOmit<ExtArgs> | null;