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