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