@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,4237 @@
|
|
|
1
|
+
|
|
2
|
+
/**
|
|
3
|
+
* Client
|
|
4
|
+
**/
|
|
5
|
+
|
|
6
|
+
import * as runtime from './runtime/client.js';
|
|
7
|
+
import $Types = runtime.Types // general types
|
|
8
|
+
import $Public = runtime.Types.Public
|
|
9
|
+
import $Utils = runtime.Types.Utils
|
|
10
|
+
import $Extensions = runtime.Types.Extensions
|
|
11
|
+
import $Result = runtime.Types.Result
|
|
12
|
+
|
|
13
|
+
export type PrismaPromise<T> = $Public.PrismaPromise<T>
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Model processes
|
|
18
|
+
* This table contains check constraints and requires additional setup for migrations. Visit https://pris.ly/d/check-constraints for more info.
|
|
19
|
+
*/
|
|
20
|
+
export type processes = $Result.DefaultSelection<Prisma.$processesPayload>
|
|
21
|
+
/**
|
|
22
|
+
* Model tasks
|
|
23
|
+
* This table contains check constraints and requires additional setup for migrations. Visit https://pris.ly/d/check-constraints for more info.
|
|
24
|
+
*/
|
|
25
|
+
export type tasks = $Result.DefaultSelection<Prisma.$tasksPayload>
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* ## Prisma Client ʲˢ
|
|
29
|
+
*
|
|
30
|
+
* Type-safe database client for TypeScript & Node.js
|
|
31
|
+
* @example
|
|
32
|
+
* ```
|
|
33
|
+
* const prisma = new PrismaClient()
|
|
34
|
+
* // Fetch zero or more Processes
|
|
35
|
+
* const processes = await prisma.processes.findMany()
|
|
36
|
+
* ```
|
|
37
|
+
*
|
|
38
|
+
*
|
|
39
|
+
* Read more in our [docs](https://pris.ly/d/client).
|
|
40
|
+
*/
|
|
41
|
+
export class PrismaClient<
|
|
42
|
+
ClientOptions extends Prisma.PrismaClientOptions = Prisma.PrismaClientOptions,
|
|
43
|
+
const U = 'log' extends keyof ClientOptions ? ClientOptions['log'] extends Array<Prisma.LogLevel | Prisma.LogDefinition> ? Prisma.GetEvents<ClientOptions['log']> : never : never,
|
|
44
|
+
ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs
|
|
45
|
+
> {
|
|
46
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['other'] }
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* ## Prisma Client ʲˢ
|
|
50
|
+
*
|
|
51
|
+
* Type-safe database client for TypeScript & Node.js
|
|
52
|
+
* @example
|
|
53
|
+
* ```
|
|
54
|
+
* const prisma = new PrismaClient()
|
|
55
|
+
* // Fetch zero or more Processes
|
|
56
|
+
* const processes = await prisma.processes.findMany()
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
*
|
|
60
|
+
* Read more in our [docs](https://pris.ly/d/client).
|
|
61
|
+
*/
|
|
62
|
+
|
|
63
|
+
constructor(optionsArg ?: Prisma.Subset<ClientOptions, Prisma.PrismaClientOptions>);
|
|
64
|
+
$on<V extends U>(eventType: V, callback: (event: V extends 'query' ? Prisma.QueryEvent : Prisma.LogEvent) => void): PrismaClient;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Connect with the database
|
|
68
|
+
*/
|
|
69
|
+
$connect(): $Utils.JsPromise<void>;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Disconnect from the database
|
|
73
|
+
*/
|
|
74
|
+
$disconnect(): $Utils.JsPromise<void>;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Executes a prepared raw query and returns the number of affected rows.
|
|
78
|
+
* @example
|
|
79
|
+
* ```
|
|
80
|
+
* const result = await prisma.$executeRaw`UPDATE User SET cool = ${true} WHERE email = ${'user@email.com'};`
|
|
81
|
+
* ```
|
|
82
|
+
*
|
|
83
|
+
* Read more in our [docs](https://pris.ly/d/raw-queries).
|
|
84
|
+
*/
|
|
85
|
+
$executeRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<number>;
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Executes a raw query and returns the number of affected rows.
|
|
89
|
+
* Susceptible to SQL injections, see documentation.
|
|
90
|
+
* @example
|
|
91
|
+
* ```
|
|
92
|
+
* const result = await prisma.$executeRawUnsafe('UPDATE User SET cool = $1 WHERE email = $2 ;', true, 'user@email.com')
|
|
93
|
+
* ```
|
|
94
|
+
*
|
|
95
|
+
* Read more in our [docs](https://pris.ly/d/raw-queries).
|
|
96
|
+
*/
|
|
97
|
+
$executeRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<number>;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Performs a prepared raw query and returns the `SELECT` data.
|
|
101
|
+
* @example
|
|
102
|
+
* ```
|
|
103
|
+
* const result = await prisma.$queryRaw`SELECT * FROM User WHERE id = ${1} OR email = ${'user@email.com'};`
|
|
104
|
+
* ```
|
|
105
|
+
*
|
|
106
|
+
* Read more in our [docs](https://pris.ly/d/raw-queries).
|
|
107
|
+
*/
|
|
108
|
+
$queryRaw<T = unknown>(query: TemplateStringsArray | Prisma.Sql, ...values: any[]): Prisma.PrismaPromise<T>;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Performs a raw query and returns the `SELECT` data.
|
|
112
|
+
* Susceptible to SQL injections, see documentation.
|
|
113
|
+
* @example
|
|
114
|
+
* ```
|
|
115
|
+
* const result = await prisma.$queryRawUnsafe('SELECT * FROM User WHERE id = $1 OR email = $2;', 1, 'user@email.com')
|
|
116
|
+
* ```
|
|
117
|
+
*
|
|
118
|
+
* Read more in our [docs](https://pris.ly/d/raw-queries).
|
|
119
|
+
*/
|
|
120
|
+
$queryRawUnsafe<T = unknown>(query: string, ...values: any[]): Prisma.PrismaPromise<T>;
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Allows the running of a sequence of read/write operations that are guaranteed to either succeed or fail as a whole.
|
|
125
|
+
* @example
|
|
126
|
+
* ```
|
|
127
|
+
* const [george, bob, alice] = await prisma.$transaction([
|
|
128
|
+
* prisma.user.create({ data: { name: 'George' } }),
|
|
129
|
+
* prisma.user.create({ data: { name: 'Bob' } }),
|
|
130
|
+
* prisma.user.create({ data: { name: 'Alice' } }),
|
|
131
|
+
* ])
|
|
132
|
+
* ```
|
|
133
|
+
*
|
|
134
|
+
* Read more in our [docs](https://www.prisma.io/docs/concepts/components/prisma-client/transactions).
|
|
135
|
+
*/
|
|
136
|
+
$transaction<P extends Prisma.PrismaPromise<any>[]>(arg: [...P], options?: { isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise<runtime.Types.Utils.UnwrapTuple<P>>
|
|
137
|
+
|
|
138
|
+
$transaction<R>(fn: (prisma: Omit<PrismaClient, runtime.ITXClientDenyList>) => $Utils.JsPromise<R>, options?: { maxWait?: number, timeout?: number, isolationLevel?: Prisma.TransactionIsolationLevel }): $Utils.JsPromise<R>
|
|
139
|
+
|
|
140
|
+
$extends: $Extensions.ExtendsHook<"extends", Prisma.TypeMapCb<ClientOptions>, ExtArgs, $Utils.Call<Prisma.TypeMapCb<ClientOptions>, {
|
|
141
|
+
extArgs: ExtArgs
|
|
142
|
+
}>>
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* `prisma.processes`: Exposes CRUD operations for the **processes** model.
|
|
146
|
+
* Example usage:
|
|
147
|
+
* ```ts
|
|
148
|
+
* // Fetch zero or more Processes
|
|
149
|
+
* const processes = await prisma.processes.findMany()
|
|
150
|
+
* ```
|
|
151
|
+
*/
|
|
152
|
+
get processes(): Prisma.processesDelegate<ExtArgs, ClientOptions>;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* `prisma.tasks`: Exposes CRUD operations for the **tasks** model.
|
|
156
|
+
* Example usage:
|
|
157
|
+
* ```ts
|
|
158
|
+
* // Fetch zero or more Tasks
|
|
159
|
+
* const tasks = await prisma.tasks.findMany()
|
|
160
|
+
* ```
|
|
161
|
+
*/
|
|
162
|
+
get tasks(): Prisma.tasksDelegate<ExtArgs, ClientOptions>;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export namespace Prisma {
|
|
166
|
+
export import DMMF = runtime.DMMF
|
|
167
|
+
|
|
168
|
+
export type PrismaPromise<T> = $Public.PrismaPromise<T>
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Validator
|
|
172
|
+
*/
|
|
173
|
+
export import validator = runtime.Public.validator
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Prisma Errors
|
|
177
|
+
*/
|
|
178
|
+
export import PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError
|
|
179
|
+
export import PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError
|
|
180
|
+
export import PrismaClientRustPanicError = runtime.PrismaClientRustPanicError
|
|
181
|
+
export import PrismaClientInitializationError = runtime.PrismaClientInitializationError
|
|
182
|
+
export import PrismaClientValidationError = runtime.PrismaClientValidationError
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* Re-export of sql-template-tag
|
|
186
|
+
*/
|
|
187
|
+
export import sql = runtime.sqltag
|
|
188
|
+
export import empty = runtime.empty
|
|
189
|
+
export import join = runtime.join
|
|
190
|
+
export import raw = runtime.raw
|
|
191
|
+
export import Sql = runtime.Sql
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Decimal.js
|
|
197
|
+
*/
|
|
198
|
+
export import Decimal = runtime.Decimal
|
|
199
|
+
|
|
200
|
+
export type DecimalJsLike = runtime.DecimalJsLike
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Extensions
|
|
204
|
+
*/
|
|
205
|
+
export import Extension = $Extensions.UserArgs
|
|
206
|
+
export import getExtensionContext = runtime.Extensions.getExtensionContext
|
|
207
|
+
export import Args = $Public.Args
|
|
208
|
+
export import Payload = $Public.Payload
|
|
209
|
+
export import Result = $Public.Result
|
|
210
|
+
export import Exact = $Public.Exact
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Prisma Client JS version: 7.3.0
|
|
214
|
+
* Query Engine version: 9d6ad21cbbceab97458517b147a6a09ff43aa735
|
|
215
|
+
*/
|
|
216
|
+
export type PrismaVersion = {
|
|
217
|
+
client: string
|
|
218
|
+
engine: string
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
export const prismaVersion: PrismaVersion
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Utility Types
|
|
225
|
+
*/
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
export import Bytes = runtime.Bytes
|
|
229
|
+
export import JsonObject = runtime.JsonObject
|
|
230
|
+
export import JsonArray = runtime.JsonArray
|
|
231
|
+
export import JsonValue = runtime.JsonValue
|
|
232
|
+
export import InputJsonObject = runtime.InputJsonObject
|
|
233
|
+
export import InputJsonArray = runtime.InputJsonArray
|
|
234
|
+
export import InputJsonValue = runtime.InputJsonValue
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* Types of the values used to represent different kinds of `null` values when working with JSON fields.
|
|
238
|
+
*
|
|
239
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
240
|
+
*/
|
|
241
|
+
namespace NullTypes {
|
|
242
|
+
/**
|
|
243
|
+
* Type of `Prisma.DbNull`.
|
|
244
|
+
*
|
|
245
|
+
* You cannot use other instances of this class. Please use the `Prisma.DbNull` value.
|
|
246
|
+
*
|
|
247
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
248
|
+
*/
|
|
249
|
+
class DbNull {
|
|
250
|
+
private DbNull: never
|
|
251
|
+
private constructor()
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* Type of `Prisma.JsonNull`.
|
|
256
|
+
*
|
|
257
|
+
* You cannot use other instances of this class. Please use the `Prisma.JsonNull` value.
|
|
258
|
+
*
|
|
259
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
260
|
+
*/
|
|
261
|
+
class JsonNull {
|
|
262
|
+
private JsonNull: never
|
|
263
|
+
private constructor()
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* Type of `Prisma.AnyNull`.
|
|
268
|
+
*
|
|
269
|
+
* You cannot use other instances of this class. Please use the `Prisma.AnyNull` value.
|
|
270
|
+
*
|
|
271
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
272
|
+
*/
|
|
273
|
+
class AnyNull {
|
|
274
|
+
private AnyNull: never
|
|
275
|
+
private constructor()
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* Helper for filtering JSON entries that have `null` on the database (empty on the db)
|
|
281
|
+
*
|
|
282
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
283
|
+
*/
|
|
284
|
+
export const DbNull: NullTypes.DbNull
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
|
|
288
|
+
*
|
|
289
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
290
|
+
*/
|
|
291
|
+
export const JsonNull: NullTypes.JsonNull
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
|
|
295
|
+
*
|
|
296
|
+
* @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
|
|
297
|
+
*/
|
|
298
|
+
export const AnyNull: NullTypes.AnyNull
|
|
299
|
+
|
|
300
|
+
type SelectAndInclude = {
|
|
301
|
+
select: any
|
|
302
|
+
include: any
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
type SelectAndOmit = {
|
|
306
|
+
select: any
|
|
307
|
+
omit: any
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* Get the type of the value, that the Promise holds.
|
|
312
|
+
*/
|
|
313
|
+
export type PromiseType<T extends PromiseLike<any>> = T extends PromiseLike<infer U> ? U : T;
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* Get the return type of a function which returns a Promise.
|
|
317
|
+
*/
|
|
318
|
+
export type PromiseReturnType<T extends (...args: any) => $Utils.JsPromise<any>> = PromiseType<ReturnType<T>>
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* From T, pick a set of properties whose keys are in the union K
|
|
322
|
+
*/
|
|
323
|
+
type Prisma__Pick<T, K extends keyof T> = {
|
|
324
|
+
[P in K]: T[P];
|
|
325
|
+
};
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
export type Enumerable<T> = T | Array<T>;
|
|
329
|
+
|
|
330
|
+
export type RequiredKeys<T> = {
|
|
331
|
+
[K in keyof T]-?: {} extends Prisma__Pick<T, K> ? never : K
|
|
332
|
+
}[keyof T]
|
|
333
|
+
|
|
334
|
+
export type TruthyKeys<T> = keyof {
|
|
335
|
+
[K in keyof T as T[K] extends false | undefined | null ? never : K]: K
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
export type TrueKeys<T> = TruthyKeys<Prisma__Pick<T, RequiredKeys<T>>>
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* Subset
|
|
342
|
+
* @desc From `T` pick properties that exist in `U`. Simple version of Intersection
|
|
343
|
+
*/
|
|
344
|
+
export type Subset<T, U> = {
|
|
345
|
+
[key in keyof T]: key extends keyof U ? T[key] : never;
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* SelectSubset
|
|
350
|
+
* @desc From `T` pick properties that exist in `U`. Simple version of Intersection.
|
|
351
|
+
* Additionally, it validates, if both select and include are present. If the case, it errors.
|
|
352
|
+
*/
|
|
353
|
+
export type SelectSubset<T, U> = {
|
|
354
|
+
[key in keyof T]: key extends keyof U ? T[key] : never
|
|
355
|
+
} &
|
|
356
|
+
(T extends SelectAndInclude
|
|
357
|
+
? 'Please either choose `select` or `include`.'
|
|
358
|
+
: T extends SelectAndOmit
|
|
359
|
+
? 'Please either choose `select` or `omit`.'
|
|
360
|
+
: {})
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* Subset + Intersection
|
|
364
|
+
* @desc From `T` pick properties that exist in `U` and intersect `K`
|
|
365
|
+
*/
|
|
366
|
+
export type SubsetIntersection<T, U, K> = {
|
|
367
|
+
[key in keyof T]: key extends keyof U ? T[key] : never
|
|
368
|
+
} &
|
|
369
|
+
K
|
|
370
|
+
|
|
371
|
+
type Without<T, U> = { [P in Exclude<keyof T, keyof U>]?: never };
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* XOR is needed to have a real mutually exclusive union type
|
|
375
|
+
* https://stackoverflow.com/questions/42123407/does-typescript-support-mutually-exclusive-types
|
|
376
|
+
*/
|
|
377
|
+
type XOR<T, U> =
|
|
378
|
+
T extends object ?
|
|
379
|
+
U extends object ?
|
|
380
|
+
(Without<T, U> & U) | (Without<U, T> & T)
|
|
381
|
+
: U : T
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* Is T a Record?
|
|
386
|
+
*/
|
|
387
|
+
type IsObject<T extends any> = T extends Array<any>
|
|
388
|
+
? False
|
|
389
|
+
: T extends Date
|
|
390
|
+
? False
|
|
391
|
+
: T extends Uint8Array
|
|
392
|
+
? False
|
|
393
|
+
: T extends BigInt
|
|
394
|
+
? False
|
|
395
|
+
: T extends object
|
|
396
|
+
? True
|
|
397
|
+
: False
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
* If it's T[], return T
|
|
402
|
+
*/
|
|
403
|
+
export type UnEnumerate<T extends unknown> = T extends Array<infer U> ? U : T
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* From ts-toolbelt
|
|
407
|
+
*/
|
|
408
|
+
|
|
409
|
+
type __Either<O extends object, K extends Key> = Omit<O, K> &
|
|
410
|
+
{
|
|
411
|
+
// Merge all but K
|
|
412
|
+
[P in K]: Prisma__Pick<O, P & keyof O> // With K possibilities
|
|
413
|
+
}[K]
|
|
414
|
+
|
|
415
|
+
type EitherStrict<O extends object, K extends Key> = Strict<__Either<O, K>>
|
|
416
|
+
|
|
417
|
+
type EitherLoose<O extends object, K extends Key> = ComputeRaw<__Either<O, K>>
|
|
418
|
+
|
|
419
|
+
type _Either<
|
|
420
|
+
O extends object,
|
|
421
|
+
K extends Key,
|
|
422
|
+
strict extends Boolean
|
|
423
|
+
> = {
|
|
424
|
+
1: EitherStrict<O, K>
|
|
425
|
+
0: EitherLoose<O, K>
|
|
426
|
+
}[strict]
|
|
427
|
+
|
|
428
|
+
type Either<
|
|
429
|
+
O extends object,
|
|
430
|
+
K extends Key,
|
|
431
|
+
strict extends Boolean = 1
|
|
432
|
+
> = O extends unknown ? _Either<O, K, strict> : never
|
|
433
|
+
|
|
434
|
+
export type Union = any
|
|
435
|
+
|
|
436
|
+
type PatchUndefined<O extends object, O1 extends object> = {
|
|
437
|
+
[K in keyof O]: O[K] extends undefined ? At<O1, K> : O[K]
|
|
438
|
+
} & {}
|
|
439
|
+
|
|
440
|
+
/** Helper Types for "Merge" **/
|
|
441
|
+
export type IntersectOf<U extends Union> = (
|
|
442
|
+
U extends unknown ? (k: U) => void : never
|
|
443
|
+
) extends (k: infer I) => void
|
|
444
|
+
? I
|
|
445
|
+
: never
|
|
446
|
+
|
|
447
|
+
export type Overwrite<O extends object, O1 extends object> = {
|
|
448
|
+
[K in keyof O]: K extends keyof O1 ? O1[K] : O[K];
|
|
449
|
+
} & {};
|
|
450
|
+
|
|
451
|
+
type _Merge<U extends object> = IntersectOf<Overwrite<U, {
|
|
452
|
+
[K in keyof U]-?: At<U, K>;
|
|
453
|
+
}>>;
|
|
454
|
+
|
|
455
|
+
type Key = string | number | symbol;
|
|
456
|
+
type AtBasic<O extends object, K extends Key> = K extends keyof O ? O[K] : never;
|
|
457
|
+
type AtStrict<O extends object, K extends Key> = O[K & keyof O];
|
|
458
|
+
type AtLoose<O extends object, K extends Key> = O extends unknown ? AtStrict<O, K> : never;
|
|
459
|
+
export type At<O extends object, K extends Key, strict extends Boolean = 1> = {
|
|
460
|
+
1: AtStrict<O, K>;
|
|
461
|
+
0: AtLoose<O, K>;
|
|
462
|
+
}[strict];
|
|
463
|
+
|
|
464
|
+
export type ComputeRaw<A extends any> = A extends Function ? A : {
|
|
465
|
+
[K in keyof A]: A[K];
|
|
466
|
+
} & {};
|
|
467
|
+
|
|
468
|
+
export type OptionalFlat<O> = {
|
|
469
|
+
[K in keyof O]?: O[K];
|
|
470
|
+
} & {};
|
|
471
|
+
|
|
472
|
+
type _Record<K extends keyof any, T> = {
|
|
473
|
+
[P in K]: T;
|
|
474
|
+
};
|
|
475
|
+
|
|
476
|
+
// cause typescript not to expand types and preserve names
|
|
477
|
+
type NoExpand<T> = T extends unknown ? T : never;
|
|
478
|
+
|
|
479
|
+
// this type assumes the passed object is entirely optional
|
|
480
|
+
type AtLeast<O extends object, K extends string> = NoExpand<
|
|
481
|
+
O extends unknown
|
|
482
|
+
? | (K extends keyof O ? { [P in K]: O[P] } & O : O)
|
|
483
|
+
| {[P in keyof O as P extends K ? P : never]-?: O[P]} & O
|
|
484
|
+
: never>;
|
|
485
|
+
|
|
486
|
+
type _Strict<U, _U = U> = U extends unknown ? U & OptionalFlat<_Record<Exclude<Keys<_U>, keyof U>, never>> : never;
|
|
487
|
+
|
|
488
|
+
export type Strict<U extends object> = ComputeRaw<_Strict<U>>;
|
|
489
|
+
/** End Helper Types for "Merge" **/
|
|
490
|
+
|
|
491
|
+
export type Merge<U extends object> = ComputeRaw<_Merge<Strict<U>>>;
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
A [[Boolean]]
|
|
495
|
+
*/
|
|
496
|
+
export type Boolean = True | False
|
|
497
|
+
|
|
498
|
+
// /**
|
|
499
|
+
// 1
|
|
500
|
+
// */
|
|
501
|
+
export type True = 1
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
0
|
|
505
|
+
*/
|
|
506
|
+
export type False = 0
|
|
507
|
+
|
|
508
|
+
export type Not<B extends Boolean> = {
|
|
509
|
+
0: 1
|
|
510
|
+
1: 0
|
|
511
|
+
}[B]
|
|
512
|
+
|
|
513
|
+
export type Extends<A1 extends any, A2 extends any> = [A1] extends [never]
|
|
514
|
+
? 0 // anything `never` is false
|
|
515
|
+
: A1 extends A2
|
|
516
|
+
? 1
|
|
517
|
+
: 0
|
|
518
|
+
|
|
519
|
+
export type Has<U extends Union, U1 extends Union> = Not<
|
|
520
|
+
Extends<Exclude<U1, U>, U1>
|
|
521
|
+
>
|
|
522
|
+
|
|
523
|
+
export type Or<B1 extends Boolean, B2 extends Boolean> = {
|
|
524
|
+
0: {
|
|
525
|
+
0: 0
|
|
526
|
+
1: 1
|
|
527
|
+
}
|
|
528
|
+
1: {
|
|
529
|
+
0: 1
|
|
530
|
+
1: 1
|
|
531
|
+
}
|
|
532
|
+
}[B1][B2]
|
|
533
|
+
|
|
534
|
+
export type Keys<U extends Union> = U extends unknown ? keyof U : never
|
|
535
|
+
|
|
536
|
+
type Cast<A, B> = A extends B ? A : B;
|
|
537
|
+
|
|
538
|
+
export const type: unique symbol;
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* Used by group by
|
|
544
|
+
*/
|
|
545
|
+
|
|
546
|
+
export type GetScalarType<T, O> = O extends object ? {
|
|
547
|
+
[P in keyof T]: P extends keyof O
|
|
548
|
+
? O[P]
|
|
549
|
+
: never
|
|
550
|
+
} : never
|
|
551
|
+
|
|
552
|
+
type FieldPaths<
|
|
553
|
+
T,
|
|
554
|
+
U = Omit<T, '_avg' | '_sum' | '_count' | '_min' | '_max'>
|
|
555
|
+
> = IsObject<T> extends True ? U : T
|
|
556
|
+
|
|
557
|
+
type GetHavingFields<T> = {
|
|
558
|
+
[K in keyof T]: Or<
|
|
559
|
+
Or<Extends<'OR', K>, Extends<'AND', K>>,
|
|
560
|
+
Extends<'NOT', K>
|
|
561
|
+
> extends True
|
|
562
|
+
? // infer is only needed to not hit TS limit
|
|
563
|
+
// based on the brilliant idea of Pierre-Antoine Mills
|
|
564
|
+
// https://github.com/microsoft/TypeScript/issues/30188#issuecomment-478938437
|
|
565
|
+
T[K] extends infer TK
|
|
566
|
+
? GetHavingFields<UnEnumerate<TK> extends object ? Merge<UnEnumerate<TK>> : never>
|
|
567
|
+
: never
|
|
568
|
+
: {} extends FieldPaths<T[K]>
|
|
569
|
+
? never
|
|
570
|
+
: K
|
|
571
|
+
}[keyof T]
|
|
572
|
+
|
|
573
|
+
/**
|
|
574
|
+
* Convert tuple to union
|
|
575
|
+
*/
|
|
576
|
+
type _TupleToUnion<T> = T extends (infer E)[] ? E : never
|
|
577
|
+
type TupleToUnion<K extends readonly any[]> = _TupleToUnion<K>
|
|
578
|
+
type MaybeTupleToUnion<T> = T extends any[] ? TupleToUnion<T> : T
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* Like `Pick`, but additionally can also accept an array of keys
|
|
582
|
+
*/
|
|
583
|
+
type PickEnumerable<T, K extends Enumerable<keyof T> | keyof T> = Prisma__Pick<T, MaybeTupleToUnion<K>>
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* Exclude all keys with underscores
|
|
587
|
+
*/
|
|
588
|
+
type ExcludeUnderscoreKeys<T extends string> = T extends `_${string}` ? never : T
|
|
589
|
+
|
|
590
|
+
|
|
591
|
+
export type FieldRef<Model, FieldType> = runtime.FieldRef<Model, FieldType>
|
|
592
|
+
|
|
593
|
+
type FieldRefInputType<Model, FieldType> = Model extends never ? never : FieldRef<Model, FieldType>
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
export const ModelName: {
|
|
597
|
+
processes: 'processes',
|
|
598
|
+
tasks: 'tasks'
|
|
599
|
+
};
|
|
600
|
+
|
|
601
|
+
export type ModelName = (typeof ModelName)[keyof typeof ModelName]
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
interface TypeMapCb<ClientOptions = {}> extends $Utils.Fn<{extArgs: $Extensions.InternalArgs }, $Utils.Record<string, any>> {
|
|
606
|
+
returns: Prisma.TypeMap<this['params']['extArgs'], ClientOptions extends { omit: infer OmitOptions } ? OmitOptions : {}>
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
export type TypeMap<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> = {
|
|
610
|
+
globalOmitOptions: {
|
|
611
|
+
omit: GlobalOmitOptions
|
|
612
|
+
}
|
|
613
|
+
meta: {
|
|
614
|
+
modelProps: "processes" | "tasks"
|
|
615
|
+
txIsolationLevel: Prisma.TransactionIsolationLevel
|
|
616
|
+
}
|
|
617
|
+
model: {
|
|
618
|
+
processes: {
|
|
619
|
+
payload: Prisma.$processesPayload<ExtArgs>
|
|
620
|
+
fields: Prisma.processesFieldRefs
|
|
621
|
+
operations: {
|
|
622
|
+
findUnique: {
|
|
623
|
+
args: Prisma.processesFindUniqueArgs<ExtArgs>
|
|
624
|
+
result: $Utils.PayloadToResult<Prisma.$processesPayload> | null
|
|
625
|
+
}
|
|
626
|
+
findUniqueOrThrow: {
|
|
627
|
+
args: Prisma.processesFindUniqueOrThrowArgs<ExtArgs>
|
|
628
|
+
result: $Utils.PayloadToResult<Prisma.$processesPayload>
|
|
629
|
+
}
|
|
630
|
+
findFirst: {
|
|
631
|
+
args: Prisma.processesFindFirstArgs<ExtArgs>
|
|
632
|
+
result: $Utils.PayloadToResult<Prisma.$processesPayload> | null
|
|
633
|
+
}
|
|
634
|
+
findFirstOrThrow: {
|
|
635
|
+
args: Prisma.processesFindFirstOrThrowArgs<ExtArgs>
|
|
636
|
+
result: $Utils.PayloadToResult<Prisma.$processesPayload>
|
|
637
|
+
}
|
|
638
|
+
findMany: {
|
|
639
|
+
args: Prisma.processesFindManyArgs<ExtArgs>
|
|
640
|
+
result: $Utils.PayloadToResult<Prisma.$processesPayload>[]
|
|
641
|
+
}
|
|
642
|
+
create: {
|
|
643
|
+
args: Prisma.processesCreateArgs<ExtArgs>
|
|
644
|
+
result: $Utils.PayloadToResult<Prisma.$processesPayload>
|
|
645
|
+
}
|
|
646
|
+
createMany: {
|
|
647
|
+
args: Prisma.processesCreateManyArgs<ExtArgs>
|
|
648
|
+
result: BatchPayload
|
|
649
|
+
}
|
|
650
|
+
createManyAndReturn: {
|
|
651
|
+
args: Prisma.processesCreateManyAndReturnArgs<ExtArgs>
|
|
652
|
+
result: $Utils.PayloadToResult<Prisma.$processesPayload>[]
|
|
653
|
+
}
|
|
654
|
+
delete: {
|
|
655
|
+
args: Prisma.processesDeleteArgs<ExtArgs>
|
|
656
|
+
result: $Utils.PayloadToResult<Prisma.$processesPayload>
|
|
657
|
+
}
|
|
658
|
+
update: {
|
|
659
|
+
args: Prisma.processesUpdateArgs<ExtArgs>
|
|
660
|
+
result: $Utils.PayloadToResult<Prisma.$processesPayload>
|
|
661
|
+
}
|
|
662
|
+
deleteMany: {
|
|
663
|
+
args: Prisma.processesDeleteManyArgs<ExtArgs>
|
|
664
|
+
result: BatchPayload
|
|
665
|
+
}
|
|
666
|
+
updateMany: {
|
|
667
|
+
args: Prisma.processesUpdateManyArgs<ExtArgs>
|
|
668
|
+
result: BatchPayload
|
|
669
|
+
}
|
|
670
|
+
updateManyAndReturn: {
|
|
671
|
+
args: Prisma.processesUpdateManyAndReturnArgs<ExtArgs>
|
|
672
|
+
result: $Utils.PayloadToResult<Prisma.$processesPayload>[]
|
|
673
|
+
}
|
|
674
|
+
upsert: {
|
|
675
|
+
args: Prisma.processesUpsertArgs<ExtArgs>
|
|
676
|
+
result: $Utils.PayloadToResult<Prisma.$processesPayload>
|
|
677
|
+
}
|
|
678
|
+
aggregate: {
|
|
679
|
+
args: Prisma.ProcessesAggregateArgs<ExtArgs>
|
|
680
|
+
result: $Utils.Optional<AggregateProcesses>
|
|
681
|
+
}
|
|
682
|
+
groupBy: {
|
|
683
|
+
args: Prisma.processesGroupByArgs<ExtArgs>
|
|
684
|
+
result: $Utils.Optional<ProcessesGroupByOutputType>[]
|
|
685
|
+
}
|
|
686
|
+
count: {
|
|
687
|
+
args: Prisma.processesCountArgs<ExtArgs>
|
|
688
|
+
result: $Utils.Optional<ProcessesCountAggregateOutputType> | number
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
tasks: {
|
|
693
|
+
payload: Prisma.$tasksPayload<ExtArgs>
|
|
694
|
+
fields: Prisma.tasksFieldRefs
|
|
695
|
+
operations: {
|
|
696
|
+
findUnique: {
|
|
697
|
+
args: Prisma.tasksFindUniqueArgs<ExtArgs>
|
|
698
|
+
result: $Utils.PayloadToResult<Prisma.$tasksPayload> | null
|
|
699
|
+
}
|
|
700
|
+
findUniqueOrThrow: {
|
|
701
|
+
args: Prisma.tasksFindUniqueOrThrowArgs<ExtArgs>
|
|
702
|
+
result: $Utils.PayloadToResult<Prisma.$tasksPayload>
|
|
703
|
+
}
|
|
704
|
+
findFirst: {
|
|
705
|
+
args: Prisma.tasksFindFirstArgs<ExtArgs>
|
|
706
|
+
result: $Utils.PayloadToResult<Prisma.$tasksPayload> | null
|
|
707
|
+
}
|
|
708
|
+
findFirstOrThrow: {
|
|
709
|
+
args: Prisma.tasksFindFirstOrThrowArgs<ExtArgs>
|
|
710
|
+
result: $Utils.PayloadToResult<Prisma.$tasksPayload>
|
|
711
|
+
}
|
|
712
|
+
findMany: {
|
|
713
|
+
args: Prisma.tasksFindManyArgs<ExtArgs>
|
|
714
|
+
result: $Utils.PayloadToResult<Prisma.$tasksPayload>[]
|
|
715
|
+
}
|
|
716
|
+
create: {
|
|
717
|
+
args: Prisma.tasksCreateArgs<ExtArgs>
|
|
718
|
+
result: $Utils.PayloadToResult<Prisma.$tasksPayload>
|
|
719
|
+
}
|
|
720
|
+
createMany: {
|
|
721
|
+
args: Prisma.tasksCreateManyArgs<ExtArgs>
|
|
722
|
+
result: BatchPayload
|
|
723
|
+
}
|
|
724
|
+
createManyAndReturn: {
|
|
725
|
+
args: Prisma.tasksCreateManyAndReturnArgs<ExtArgs>
|
|
726
|
+
result: $Utils.PayloadToResult<Prisma.$tasksPayload>[]
|
|
727
|
+
}
|
|
728
|
+
delete: {
|
|
729
|
+
args: Prisma.tasksDeleteArgs<ExtArgs>
|
|
730
|
+
result: $Utils.PayloadToResult<Prisma.$tasksPayload>
|
|
731
|
+
}
|
|
732
|
+
update: {
|
|
733
|
+
args: Prisma.tasksUpdateArgs<ExtArgs>
|
|
734
|
+
result: $Utils.PayloadToResult<Prisma.$tasksPayload>
|
|
735
|
+
}
|
|
736
|
+
deleteMany: {
|
|
737
|
+
args: Prisma.tasksDeleteManyArgs<ExtArgs>
|
|
738
|
+
result: BatchPayload
|
|
739
|
+
}
|
|
740
|
+
updateMany: {
|
|
741
|
+
args: Prisma.tasksUpdateManyArgs<ExtArgs>
|
|
742
|
+
result: BatchPayload
|
|
743
|
+
}
|
|
744
|
+
updateManyAndReturn: {
|
|
745
|
+
args: Prisma.tasksUpdateManyAndReturnArgs<ExtArgs>
|
|
746
|
+
result: $Utils.PayloadToResult<Prisma.$tasksPayload>[]
|
|
747
|
+
}
|
|
748
|
+
upsert: {
|
|
749
|
+
args: Prisma.tasksUpsertArgs<ExtArgs>
|
|
750
|
+
result: $Utils.PayloadToResult<Prisma.$tasksPayload>
|
|
751
|
+
}
|
|
752
|
+
aggregate: {
|
|
753
|
+
args: Prisma.TasksAggregateArgs<ExtArgs>
|
|
754
|
+
result: $Utils.Optional<AggregateTasks>
|
|
755
|
+
}
|
|
756
|
+
groupBy: {
|
|
757
|
+
args: Prisma.tasksGroupByArgs<ExtArgs>
|
|
758
|
+
result: $Utils.Optional<TasksGroupByOutputType>[]
|
|
759
|
+
}
|
|
760
|
+
count: {
|
|
761
|
+
args: Prisma.tasksCountArgs<ExtArgs>
|
|
762
|
+
result: $Utils.Optional<TasksCountAggregateOutputType> | number
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
} & {
|
|
768
|
+
other: {
|
|
769
|
+
payload: any
|
|
770
|
+
operations: {
|
|
771
|
+
$executeRaw: {
|
|
772
|
+
args: [query: TemplateStringsArray | Prisma.Sql, ...values: any[]],
|
|
773
|
+
result: any
|
|
774
|
+
}
|
|
775
|
+
$executeRawUnsafe: {
|
|
776
|
+
args: [query: string, ...values: any[]],
|
|
777
|
+
result: any
|
|
778
|
+
}
|
|
779
|
+
$queryRaw: {
|
|
780
|
+
args: [query: TemplateStringsArray | Prisma.Sql, ...values: any[]],
|
|
781
|
+
result: any
|
|
782
|
+
}
|
|
783
|
+
$queryRawUnsafe: {
|
|
784
|
+
args: [query: string, ...values: any[]],
|
|
785
|
+
result: any
|
|
786
|
+
}
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
export const defineExtension: $Extensions.ExtendsHook<"define", Prisma.TypeMapCb, $Extensions.DefaultArgs>
|
|
791
|
+
export type DefaultPrismaClient = PrismaClient
|
|
792
|
+
export type ErrorFormat = 'pretty' | 'colorless' | 'minimal'
|
|
793
|
+
export interface PrismaClientOptions {
|
|
794
|
+
/**
|
|
795
|
+
* @default "colorless"
|
|
796
|
+
*/
|
|
797
|
+
errorFormat?: ErrorFormat
|
|
798
|
+
/**
|
|
799
|
+
* @example
|
|
800
|
+
* ```
|
|
801
|
+
* // Shorthand for `emit: 'stdout'`
|
|
802
|
+
* log: ['query', 'info', 'warn', 'error']
|
|
803
|
+
*
|
|
804
|
+
* // Emit as events only
|
|
805
|
+
* log: [
|
|
806
|
+
* { emit: 'event', level: 'query' },
|
|
807
|
+
* { emit: 'event', level: 'info' },
|
|
808
|
+
* { emit: 'event', level: 'warn' }
|
|
809
|
+
* { emit: 'event', level: 'error' }
|
|
810
|
+
* ]
|
|
811
|
+
*
|
|
812
|
+
* / Emit as events and log to stdout
|
|
813
|
+
* og: [
|
|
814
|
+
* { emit: 'stdout', level: 'query' },
|
|
815
|
+
* { emit: 'stdout', level: 'info' },
|
|
816
|
+
* { emit: 'stdout', level: 'warn' }
|
|
817
|
+
* { emit: 'stdout', level: 'error' }
|
|
818
|
+
*
|
|
819
|
+
* ```
|
|
820
|
+
* Read more in our [docs](https://pris.ly/d/logging).
|
|
821
|
+
*/
|
|
822
|
+
log?: (LogLevel | LogDefinition)[]
|
|
823
|
+
/**
|
|
824
|
+
* The default values for transactionOptions
|
|
825
|
+
* maxWait ?= 2000
|
|
826
|
+
* timeout ?= 5000
|
|
827
|
+
*/
|
|
828
|
+
transactionOptions?: {
|
|
829
|
+
maxWait?: number
|
|
830
|
+
timeout?: number
|
|
831
|
+
isolationLevel?: Prisma.TransactionIsolationLevel
|
|
832
|
+
}
|
|
833
|
+
/**
|
|
834
|
+
* Instance of a Driver Adapter, e.g., like one provided by `@prisma/adapter-planetscale`
|
|
835
|
+
*/
|
|
836
|
+
adapter?: runtime.SqlDriverAdapterFactory
|
|
837
|
+
/**
|
|
838
|
+
* Prisma Accelerate URL allowing the client to connect through Accelerate instead of a direct database.
|
|
839
|
+
*/
|
|
840
|
+
accelerateUrl?: string
|
|
841
|
+
/**
|
|
842
|
+
* Global configuration for omitting model fields by default.
|
|
843
|
+
*
|
|
844
|
+
* @example
|
|
845
|
+
* ```
|
|
846
|
+
* const prisma = new PrismaClient({
|
|
847
|
+
* omit: {
|
|
848
|
+
* user: {
|
|
849
|
+
* password: true
|
|
850
|
+
* }
|
|
851
|
+
* }
|
|
852
|
+
* })
|
|
853
|
+
* ```
|
|
854
|
+
*/
|
|
855
|
+
omit?: Prisma.GlobalOmitConfig
|
|
856
|
+
/**
|
|
857
|
+
* SQL commenter plugins that add metadata to SQL queries as comments.
|
|
858
|
+
* Comments follow the sqlcommenter format: https://google.github.io/sqlcommenter/
|
|
859
|
+
*
|
|
860
|
+
* @example
|
|
861
|
+
* ```
|
|
862
|
+
* const prisma = new PrismaClient({
|
|
863
|
+
* adapter,
|
|
864
|
+
* comments: [
|
|
865
|
+
* traceContext(),
|
|
866
|
+
* queryInsights(),
|
|
867
|
+
* ],
|
|
868
|
+
* })
|
|
869
|
+
* ```
|
|
870
|
+
*/
|
|
871
|
+
comments?: runtime.SqlCommenterPlugin[]
|
|
872
|
+
}
|
|
873
|
+
export type GlobalOmitConfig = {
|
|
874
|
+
processes?: processesOmit
|
|
875
|
+
tasks?: tasksOmit
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
/* Types for Logging */
|
|
879
|
+
export type LogLevel = 'info' | 'query' | 'warn' | 'error'
|
|
880
|
+
export type LogDefinition = {
|
|
881
|
+
level: LogLevel
|
|
882
|
+
emit: 'stdout' | 'event'
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
export type CheckIsLogLevel<T> = T extends LogLevel ? T : never;
|
|
886
|
+
|
|
887
|
+
export type GetLogType<T> = CheckIsLogLevel<
|
|
888
|
+
T extends LogDefinition ? T['level'] : T
|
|
889
|
+
>;
|
|
890
|
+
|
|
891
|
+
export type GetEvents<T extends any[]> = T extends Array<LogLevel | LogDefinition>
|
|
892
|
+
? GetLogType<T[number]>
|
|
893
|
+
: never;
|
|
894
|
+
|
|
895
|
+
export type QueryEvent = {
|
|
896
|
+
timestamp: Date
|
|
897
|
+
query: string
|
|
898
|
+
params: string
|
|
899
|
+
duration: number
|
|
900
|
+
target: string
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
export type LogEvent = {
|
|
904
|
+
timestamp: Date
|
|
905
|
+
message: string
|
|
906
|
+
target: string
|
|
907
|
+
}
|
|
908
|
+
/* End Types for Logging */
|
|
909
|
+
|
|
910
|
+
|
|
911
|
+
export type PrismaAction =
|
|
912
|
+
| 'findUnique'
|
|
913
|
+
| 'findUniqueOrThrow'
|
|
914
|
+
| 'findMany'
|
|
915
|
+
| 'findFirst'
|
|
916
|
+
| 'findFirstOrThrow'
|
|
917
|
+
| 'create'
|
|
918
|
+
| 'createMany'
|
|
919
|
+
| 'createManyAndReturn'
|
|
920
|
+
| 'update'
|
|
921
|
+
| 'updateMany'
|
|
922
|
+
| 'updateManyAndReturn'
|
|
923
|
+
| 'upsert'
|
|
924
|
+
| 'delete'
|
|
925
|
+
| 'deleteMany'
|
|
926
|
+
| 'executeRaw'
|
|
927
|
+
| 'queryRaw'
|
|
928
|
+
| 'aggregate'
|
|
929
|
+
| 'count'
|
|
930
|
+
| 'runCommandRaw'
|
|
931
|
+
| 'findRaw'
|
|
932
|
+
| 'groupBy'
|
|
933
|
+
|
|
934
|
+
// tested in getLogLevel.test.ts
|
|
935
|
+
export function getLogLevel(log: Array<LogLevel | LogDefinition>): LogLevel | undefined;
|
|
936
|
+
|
|
937
|
+
/**
|
|
938
|
+
* `PrismaClient` proxy available in interactive transactions.
|
|
939
|
+
*/
|
|
940
|
+
export type TransactionClient = Omit<Prisma.DefaultPrismaClient, runtime.ITXClientDenyList>
|
|
941
|
+
|
|
942
|
+
export type Datasource = {
|
|
943
|
+
url?: string
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
/**
|
|
947
|
+
* Count Types
|
|
948
|
+
*/
|
|
949
|
+
|
|
950
|
+
|
|
951
|
+
/**
|
|
952
|
+
* Count Type ProcessesCountOutputType
|
|
953
|
+
*/
|
|
954
|
+
|
|
955
|
+
export type ProcessesCountOutputType = {
|
|
956
|
+
tasks: number
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
export type ProcessesCountOutputTypeSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
960
|
+
tasks?: boolean | ProcessesCountOutputTypeCountTasksArgs
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
// Custom InputTypes
|
|
964
|
+
/**
|
|
965
|
+
* ProcessesCountOutputType without action
|
|
966
|
+
*/
|
|
967
|
+
export type ProcessesCountOutputTypeDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
968
|
+
/**
|
|
969
|
+
* Select specific fields to fetch from the ProcessesCountOutputType
|
|
970
|
+
*/
|
|
971
|
+
select?: ProcessesCountOutputTypeSelect<ExtArgs> | null
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
/**
|
|
975
|
+
* ProcessesCountOutputType without action
|
|
976
|
+
*/
|
|
977
|
+
export type ProcessesCountOutputTypeCountTasksArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
978
|
+
where?: tasksWhereInput
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
|
|
982
|
+
/**
|
|
983
|
+
* Models
|
|
984
|
+
*/
|
|
985
|
+
|
|
986
|
+
/**
|
|
987
|
+
* Model processes
|
|
988
|
+
*/
|
|
989
|
+
|
|
990
|
+
export type AggregateProcesses = {
|
|
991
|
+
_count: ProcessesCountAggregateOutputType | null
|
|
992
|
+
_min: ProcessesMinAggregateOutputType | null
|
|
993
|
+
_max: ProcessesMaxAggregateOutputType | null
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
export type ProcessesMinAggregateOutputType = {
|
|
997
|
+
id: string | null
|
|
998
|
+
status: string | null
|
|
999
|
+
timestamp: Date | null
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
export type ProcessesMaxAggregateOutputType = {
|
|
1003
|
+
id: string | null
|
|
1004
|
+
status: string | null
|
|
1005
|
+
timestamp: Date | null
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
export type ProcessesCountAggregateOutputType = {
|
|
1009
|
+
id: number
|
|
1010
|
+
result: number
|
|
1011
|
+
status: number
|
|
1012
|
+
error: number
|
|
1013
|
+
timestamp: number
|
|
1014
|
+
_all: number
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
|
|
1018
|
+
export type ProcessesMinAggregateInputType = {
|
|
1019
|
+
id?: true
|
|
1020
|
+
status?: true
|
|
1021
|
+
timestamp?: true
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
export type ProcessesMaxAggregateInputType = {
|
|
1025
|
+
id?: true
|
|
1026
|
+
status?: true
|
|
1027
|
+
timestamp?: true
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
export type ProcessesCountAggregateInputType = {
|
|
1031
|
+
id?: true
|
|
1032
|
+
result?: true
|
|
1033
|
+
status?: true
|
|
1034
|
+
error?: true
|
|
1035
|
+
timestamp?: true
|
|
1036
|
+
_all?: true
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
export type ProcessesAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
1040
|
+
/**
|
|
1041
|
+
* Filter which processes to aggregate.
|
|
1042
|
+
*/
|
|
1043
|
+
where?: processesWhereInput
|
|
1044
|
+
/**
|
|
1045
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1046
|
+
*
|
|
1047
|
+
* Determine the order of processes to fetch.
|
|
1048
|
+
*/
|
|
1049
|
+
orderBy?: processesOrderByWithRelationInput | processesOrderByWithRelationInput[]
|
|
1050
|
+
/**
|
|
1051
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1052
|
+
*
|
|
1053
|
+
* Sets the start position
|
|
1054
|
+
*/
|
|
1055
|
+
cursor?: processesWhereUniqueInput
|
|
1056
|
+
/**
|
|
1057
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1058
|
+
*
|
|
1059
|
+
* Take `±n` processes from the position of the cursor.
|
|
1060
|
+
*/
|
|
1061
|
+
take?: number
|
|
1062
|
+
/**
|
|
1063
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1064
|
+
*
|
|
1065
|
+
* Skip the first `n` processes.
|
|
1066
|
+
*/
|
|
1067
|
+
skip?: number
|
|
1068
|
+
/**
|
|
1069
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
1070
|
+
*
|
|
1071
|
+
* Count returned processes
|
|
1072
|
+
**/
|
|
1073
|
+
_count?: true | ProcessesCountAggregateInputType
|
|
1074
|
+
/**
|
|
1075
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
1076
|
+
*
|
|
1077
|
+
* Select which fields to find the minimum value
|
|
1078
|
+
**/
|
|
1079
|
+
_min?: ProcessesMinAggregateInputType
|
|
1080
|
+
/**
|
|
1081
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
1082
|
+
*
|
|
1083
|
+
* Select which fields to find the maximum value
|
|
1084
|
+
**/
|
|
1085
|
+
_max?: ProcessesMaxAggregateInputType
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
export type GetProcessesAggregateType<T extends ProcessesAggregateArgs> = {
|
|
1089
|
+
[P in keyof T & keyof AggregateProcesses]: P extends '_count' | 'count'
|
|
1090
|
+
? T[P] extends true
|
|
1091
|
+
? number
|
|
1092
|
+
: GetScalarType<T[P], AggregateProcesses[P]>
|
|
1093
|
+
: GetScalarType<T[P], AggregateProcesses[P]>
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
|
|
1097
|
+
|
|
1098
|
+
|
|
1099
|
+
export type processesGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
1100
|
+
where?: processesWhereInput
|
|
1101
|
+
orderBy?: processesOrderByWithAggregationInput | processesOrderByWithAggregationInput[]
|
|
1102
|
+
by: ProcessesScalarFieldEnum[] | ProcessesScalarFieldEnum
|
|
1103
|
+
having?: processesScalarWhereWithAggregatesInput
|
|
1104
|
+
take?: number
|
|
1105
|
+
skip?: number
|
|
1106
|
+
_count?: ProcessesCountAggregateInputType | true
|
|
1107
|
+
_min?: ProcessesMinAggregateInputType
|
|
1108
|
+
_max?: ProcessesMaxAggregateInputType
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1111
|
+
export type ProcessesGroupByOutputType = {
|
|
1112
|
+
id: string
|
|
1113
|
+
result: JsonValue | null
|
|
1114
|
+
status: string
|
|
1115
|
+
error: JsonValue | null
|
|
1116
|
+
timestamp: Date
|
|
1117
|
+
_count: ProcessesCountAggregateOutputType | null
|
|
1118
|
+
_min: ProcessesMinAggregateOutputType | null
|
|
1119
|
+
_max: ProcessesMaxAggregateOutputType | null
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
type GetProcessesGroupByPayload<T extends processesGroupByArgs> = Prisma.PrismaPromise<
|
|
1123
|
+
Array<
|
|
1124
|
+
PickEnumerable<ProcessesGroupByOutputType, T['by']> &
|
|
1125
|
+
{
|
|
1126
|
+
[P in ((keyof T) & (keyof ProcessesGroupByOutputType))]: P extends '_count'
|
|
1127
|
+
? T[P] extends boolean
|
|
1128
|
+
? number
|
|
1129
|
+
: GetScalarType<T[P], ProcessesGroupByOutputType[P]>
|
|
1130
|
+
: GetScalarType<T[P], ProcessesGroupByOutputType[P]>
|
|
1131
|
+
}
|
|
1132
|
+
>
|
|
1133
|
+
>
|
|
1134
|
+
|
|
1135
|
+
|
|
1136
|
+
export type processesSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
1137
|
+
id?: boolean
|
|
1138
|
+
result?: boolean
|
|
1139
|
+
status?: boolean
|
|
1140
|
+
error?: boolean
|
|
1141
|
+
timestamp?: boolean
|
|
1142
|
+
tasks?: boolean | processes$tasksArgs<ExtArgs>
|
|
1143
|
+
_count?: boolean | ProcessesCountOutputTypeDefaultArgs<ExtArgs>
|
|
1144
|
+
}, ExtArgs["result"]["processes"]>
|
|
1145
|
+
|
|
1146
|
+
export type processesSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
1147
|
+
id?: boolean
|
|
1148
|
+
result?: boolean
|
|
1149
|
+
status?: boolean
|
|
1150
|
+
error?: boolean
|
|
1151
|
+
timestamp?: boolean
|
|
1152
|
+
}, ExtArgs["result"]["processes"]>
|
|
1153
|
+
|
|
1154
|
+
export type processesSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
1155
|
+
id?: boolean
|
|
1156
|
+
result?: boolean
|
|
1157
|
+
status?: boolean
|
|
1158
|
+
error?: boolean
|
|
1159
|
+
timestamp?: boolean
|
|
1160
|
+
}, ExtArgs["result"]["processes"]>
|
|
1161
|
+
|
|
1162
|
+
export type processesSelectScalar = {
|
|
1163
|
+
id?: boolean
|
|
1164
|
+
result?: boolean
|
|
1165
|
+
status?: boolean
|
|
1166
|
+
error?: boolean
|
|
1167
|
+
timestamp?: boolean
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
export type processesOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "result" | "status" | "error" | "timestamp", ExtArgs["result"]["processes"]>
|
|
1171
|
+
export type processesInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
1172
|
+
tasks?: boolean | processes$tasksArgs<ExtArgs>
|
|
1173
|
+
_count?: boolean | ProcessesCountOutputTypeDefaultArgs<ExtArgs>
|
|
1174
|
+
}
|
|
1175
|
+
export type processesIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {}
|
|
1176
|
+
export type processesIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {}
|
|
1177
|
+
|
|
1178
|
+
export type $processesPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
1179
|
+
name: "processes"
|
|
1180
|
+
objects: {
|
|
1181
|
+
tasks: Prisma.$tasksPayload<ExtArgs>[]
|
|
1182
|
+
}
|
|
1183
|
+
scalars: $Extensions.GetPayloadResult<{
|
|
1184
|
+
id: string
|
|
1185
|
+
result: Prisma.JsonValue | null
|
|
1186
|
+
status: string
|
|
1187
|
+
error: Prisma.JsonValue | null
|
|
1188
|
+
timestamp: Date
|
|
1189
|
+
}, ExtArgs["result"]["processes"]>
|
|
1190
|
+
composites: {}
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
type processesGetPayload<S extends boolean | null | undefined | processesDefaultArgs> = $Result.GetResult<Prisma.$processesPayload, S>
|
|
1194
|
+
|
|
1195
|
+
type processesCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
1196
|
+
Omit<processesFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1197
|
+
select?: ProcessesCountAggregateInputType | true
|
|
1198
|
+
}
|
|
1199
|
+
|
|
1200
|
+
export interface processesDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1201
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['processes'], meta: { name: 'processes' } }
|
|
1202
|
+
/**
|
|
1203
|
+
* Find zero or one Processes that matches the filter.
|
|
1204
|
+
* @param {processesFindUniqueArgs} args - Arguments to find a Processes
|
|
1205
|
+
* @example
|
|
1206
|
+
* // Get one Processes
|
|
1207
|
+
* const processes = await prisma.processes.findUnique({
|
|
1208
|
+
* where: {
|
|
1209
|
+
* // ... provide filter here
|
|
1210
|
+
* }
|
|
1211
|
+
* })
|
|
1212
|
+
*/
|
|
1213
|
+
findUnique<T extends processesFindUniqueArgs>(args: SelectSubset<T, processesFindUniqueArgs<ExtArgs>>): Prisma__processesClient<$Result.GetResult<Prisma.$processesPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1214
|
+
|
|
1215
|
+
/**
|
|
1216
|
+
* Find one Processes that matches the filter or throw an error with `error.code='P2025'`
|
|
1217
|
+
* if no matches were found.
|
|
1218
|
+
* @param {processesFindUniqueOrThrowArgs} args - Arguments to find a Processes
|
|
1219
|
+
* @example
|
|
1220
|
+
* // Get one Processes
|
|
1221
|
+
* const processes = await prisma.processes.findUniqueOrThrow({
|
|
1222
|
+
* where: {
|
|
1223
|
+
* // ... provide filter here
|
|
1224
|
+
* }
|
|
1225
|
+
* })
|
|
1226
|
+
*/
|
|
1227
|
+
findUniqueOrThrow<T extends processesFindUniqueOrThrowArgs>(args: SelectSubset<T, processesFindUniqueOrThrowArgs<ExtArgs>>): Prisma__processesClient<$Result.GetResult<Prisma.$processesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1228
|
+
|
|
1229
|
+
/**
|
|
1230
|
+
* Find the first Processes that matches the filter.
|
|
1231
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1232
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1233
|
+
* @param {processesFindFirstArgs} args - Arguments to find a Processes
|
|
1234
|
+
* @example
|
|
1235
|
+
* // Get one Processes
|
|
1236
|
+
* const processes = await prisma.processes.findFirst({
|
|
1237
|
+
* where: {
|
|
1238
|
+
* // ... provide filter here
|
|
1239
|
+
* }
|
|
1240
|
+
* })
|
|
1241
|
+
*/
|
|
1242
|
+
findFirst<T extends processesFindFirstArgs>(args?: SelectSubset<T, processesFindFirstArgs<ExtArgs>>): Prisma__processesClient<$Result.GetResult<Prisma.$processesPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1243
|
+
|
|
1244
|
+
/**
|
|
1245
|
+
* Find the first Processes that matches the filter or
|
|
1246
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1247
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1248
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1249
|
+
* @param {processesFindFirstOrThrowArgs} args - Arguments to find a Processes
|
|
1250
|
+
* @example
|
|
1251
|
+
* // Get one Processes
|
|
1252
|
+
* const processes = await prisma.processes.findFirstOrThrow({
|
|
1253
|
+
* where: {
|
|
1254
|
+
* // ... provide filter here
|
|
1255
|
+
* }
|
|
1256
|
+
* })
|
|
1257
|
+
*/
|
|
1258
|
+
findFirstOrThrow<T extends processesFindFirstOrThrowArgs>(args?: SelectSubset<T, processesFindFirstOrThrowArgs<ExtArgs>>): Prisma__processesClient<$Result.GetResult<Prisma.$processesPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1259
|
+
|
|
1260
|
+
/**
|
|
1261
|
+
* Find zero or more Processes that matches the filter.
|
|
1262
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1263
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1264
|
+
* @param {processesFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1265
|
+
* @example
|
|
1266
|
+
* // Get all Processes
|
|
1267
|
+
* const processes = await prisma.processes.findMany()
|
|
1268
|
+
*
|
|
1269
|
+
* // Get first 10 Processes
|
|
1270
|
+
* const processes = await prisma.processes.findMany({ take: 10 })
|
|
1271
|
+
*
|
|
1272
|
+
* // Only select the `id`
|
|
1273
|
+
* const processesWithIdOnly = await prisma.processes.findMany({ select: { id: true } })
|
|
1274
|
+
*
|
|
1275
|
+
*/
|
|
1276
|
+
findMany<T extends processesFindManyArgs>(args?: SelectSubset<T, processesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$processesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
1277
|
+
|
|
1278
|
+
/**
|
|
1279
|
+
* Create a Processes.
|
|
1280
|
+
* @param {processesCreateArgs} args - Arguments to create a Processes.
|
|
1281
|
+
* @example
|
|
1282
|
+
* // Create one Processes
|
|
1283
|
+
* const Processes = await prisma.processes.create({
|
|
1284
|
+
* data: {
|
|
1285
|
+
* // ... data to create a Processes
|
|
1286
|
+
* }
|
|
1287
|
+
* })
|
|
1288
|
+
*
|
|
1289
|
+
*/
|
|
1290
|
+
create<T extends processesCreateArgs>(args: SelectSubset<T, processesCreateArgs<ExtArgs>>): Prisma__processesClient<$Result.GetResult<Prisma.$processesPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1291
|
+
|
|
1292
|
+
/**
|
|
1293
|
+
* Create many Processes.
|
|
1294
|
+
* @param {processesCreateManyArgs} args - Arguments to create many Processes.
|
|
1295
|
+
* @example
|
|
1296
|
+
* // Create many Processes
|
|
1297
|
+
* const processes = await prisma.processes.createMany({
|
|
1298
|
+
* data: [
|
|
1299
|
+
* // ... provide data here
|
|
1300
|
+
* ]
|
|
1301
|
+
* })
|
|
1302
|
+
*
|
|
1303
|
+
*/
|
|
1304
|
+
createMany<T extends processesCreateManyArgs>(args?: SelectSubset<T, processesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
1305
|
+
|
|
1306
|
+
/**
|
|
1307
|
+
* Create many Processes and returns the data saved in the database.
|
|
1308
|
+
* @param {processesCreateManyAndReturnArgs} args - Arguments to create many Processes.
|
|
1309
|
+
* @example
|
|
1310
|
+
* // Create many Processes
|
|
1311
|
+
* const processes = await prisma.processes.createManyAndReturn({
|
|
1312
|
+
* data: [
|
|
1313
|
+
* // ... provide data here
|
|
1314
|
+
* ]
|
|
1315
|
+
* })
|
|
1316
|
+
*
|
|
1317
|
+
* // Create many Processes and only return the `id`
|
|
1318
|
+
* const processesWithIdOnly = await prisma.processes.createManyAndReturn({
|
|
1319
|
+
* select: { id: true },
|
|
1320
|
+
* data: [
|
|
1321
|
+
* // ... provide data here
|
|
1322
|
+
* ]
|
|
1323
|
+
* })
|
|
1324
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1325
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1326
|
+
*
|
|
1327
|
+
*/
|
|
1328
|
+
createManyAndReturn<T extends processesCreateManyAndReturnArgs>(args?: SelectSubset<T, processesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$processesPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1329
|
+
|
|
1330
|
+
/**
|
|
1331
|
+
* Delete a Processes.
|
|
1332
|
+
* @param {processesDeleteArgs} args - Arguments to delete one Processes.
|
|
1333
|
+
* @example
|
|
1334
|
+
* // Delete one Processes
|
|
1335
|
+
* const Processes = await prisma.processes.delete({
|
|
1336
|
+
* where: {
|
|
1337
|
+
* // ... filter to delete one Processes
|
|
1338
|
+
* }
|
|
1339
|
+
* })
|
|
1340
|
+
*
|
|
1341
|
+
*/
|
|
1342
|
+
delete<T extends processesDeleteArgs>(args: SelectSubset<T, processesDeleteArgs<ExtArgs>>): Prisma__processesClient<$Result.GetResult<Prisma.$processesPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1343
|
+
|
|
1344
|
+
/**
|
|
1345
|
+
* Update one Processes.
|
|
1346
|
+
* @param {processesUpdateArgs} args - Arguments to update one Processes.
|
|
1347
|
+
* @example
|
|
1348
|
+
* // Update one Processes
|
|
1349
|
+
* const processes = await prisma.processes.update({
|
|
1350
|
+
* where: {
|
|
1351
|
+
* // ... provide filter here
|
|
1352
|
+
* },
|
|
1353
|
+
* data: {
|
|
1354
|
+
* // ... provide data here
|
|
1355
|
+
* }
|
|
1356
|
+
* })
|
|
1357
|
+
*
|
|
1358
|
+
*/
|
|
1359
|
+
update<T extends processesUpdateArgs>(args: SelectSubset<T, processesUpdateArgs<ExtArgs>>): Prisma__processesClient<$Result.GetResult<Prisma.$processesPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1360
|
+
|
|
1361
|
+
/**
|
|
1362
|
+
* Delete zero or more Processes.
|
|
1363
|
+
* @param {processesDeleteManyArgs} args - Arguments to filter Processes to delete.
|
|
1364
|
+
* @example
|
|
1365
|
+
* // Delete a few Processes
|
|
1366
|
+
* const { count } = await prisma.processes.deleteMany({
|
|
1367
|
+
* where: {
|
|
1368
|
+
* // ... provide filter here
|
|
1369
|
+
* }
|
|
1370
|
+
* })
|
|
1371
|
+
*
|
|
1372
|
+
*/
|
|
1373
|
+
deleteMany<T extends processesDeleteManyArgs>(args?: SelectSubset<T, processesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
1374
|
+
|
|
1375
|
+
/**
|
|
1376
|
+
* Update zero or more Processes.
|
|
1377
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1378
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1379
|
+
* @param {processesUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1380
|
+
* @example
|
|
1381
|
+
* // Update many Processes
|
|
1382
|
+
* const processes = await prisma.processes.updateMany({
|
|
1383
|
+
* where: {
|
|
1384
|
+
* // ... provide filter here
|
|
1385
|
+
* },
|
|
1386
|
+
* data: {
|
|
1387
|
+
* // ... provide data here
|
|
1388
|
+
* }
|
|
1389
|
+
* })
|
|
1390
|
+
*
|
|
1391
|
+
*/
|
|
1392
|
+
updateMany<T extends processesUpdateManyArgs>(args: SelectSubset<T, processesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
1393
|
+
|
|
1394
|
+
/**
|
|
1395
|
+
* Update zero or more Processes and returns the data updated in the database.
|
|
1396
|
+
* @param {processesUpdateManyAndReturnArgs} args - Arguments to update many Processes.
|
|
1397
|
+
* @example
|
|
1398
|
+
* // Update many Processes
|
|
1399
|
+
* const processes = await prisma.processes.updateManyAndReturn({
|
|
1400
|
+
* where: {
|
|
1401
|
+
* // ... provide filter here
|
|
1402
|
+
* },
|
|
1403
|
+
* data: [
|
|
1404
|
+
* // ... provide data here
|
|
1405
|
+
* ]
|
|
1406
|
+
* })
|
|
1407
|
+
*
|
|
1408
|
+
* // Update zero or more Processes and only return the `id`
|
|
1409
|
+
* const processesWithIdOnly = await prisma.processes.updateManyAndReturn({
|
|
1410
|
+
* select: { id: true },
|
|
1411
|
+
* where: {
|
|
1412
|
+
* // ... provide filter here
|
|
1413
|
+
* },
|
|
1414
|
+
* data: [
|
|
1415
|
+
* // ... provide data here
|
|
1416
|
+
* ]
|
|
1417
|
+
* })
|
|
1418
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1419
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1420
|
+
*
|
|
1421
|
+
*/
|
|
1422
|
+
updateManyAndReturn<T extends processesUpdateManyAndReturnArgs>(args: SelectSubset<T, processesUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$processesPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1423
|
+
|
|
1424
|
+
/**
|
|
1425
|
+
* Create or update one Processes.
|
|
1426
|
+
* @param {processesUpsertArgs} args - Arguments to update or create a Processes.
|
|
1427
|
+
* @example
|
|
1428
|
+
* // Update or create a Processes
|
|
1429
|
+
* const processes = await prisma.processes.upsert({
|
|
1430
|
+
* create: {
|
|
1431
|
+
* // ... data to create a Processes
|
|
1432
|
+
* },
|
|
1433
|
+
* update: {
|
|
1434
|
+
* // ... in case it already exists, update
|
|
1435
|
+
* },
|
|
1436
|
+
* where: {
|
|
1437
|
+
* // ... the filter for the Processes we want to update
|
|
1438
|
+
* }
|
|
1439
|
+
* })
|
|
1440
|
+
*/
|
|
1441
|
+
upsert<T extends processesUpsertArgs>(args: SelectSubset<T, processesUpsertArgs<ExtArgs>>): Prisma__processesClient<$Result.GetResult<Prisma.$processesPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1442
|
+
|
|
1443
|
+
|
|
1444
|
+
/**
|
|
1445
|
+
* Count the number of Processes.
|
|
1446
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1447
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1448
|
+
* @param {processesCountArgs} args - Arguments to filter Processes to count.
|
|
1449
|
+
* @example
|
|
1450
|
+
* // Count the number of Processes
|
|
1451
|
+
* const count = await prisma.processes.count({
|
|
1452
|
+
* where: {
|
|
1453
|
+
* // ... the filter for the Processes we want to count
|
|
1454
|
+
* }
|
|
1455
|
+
* })
|
|
1456
|
+
**/
|
|
1457
|
+
count<T extends processesCountArgs>(
|
|
1458
|
+
args?: Subset<T, processesCountArgs>,
|
|
1459
|
+
): Prisma.PrismaPromise<
|
|
1460
|
+
T extends $Utils.Record<'select', any>
|
|
1461
|
+
? T['select'] extends true
|
|
1462
|
+
? number
|
|
1463
|
+
: GetScalarType<T['select'], ProcessesCountAggregateOutputType>
|
|
1464
|
+
: number
|
|
1465
|
+
>
|
|
1466
|
+
|
|
1467
|
+
/**
|
|
1468
|
+
* Allows you to perform aggregations operations on a Processes.
|
|
1469
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1470
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1471
|
+
* @param {ProcessesAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1472
|
+
* @example
|
|
1473
|
+
* // Ordered by age ascending
|
|
1474
|
+
* // Where email contains prisma.io
|
|
1475
|
+
* // Limited to the 10 users
|
|
1476
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1477
|
+
* _avg: {
|
|
1478
|
+
* age: true,
|
|
1479
|
+
* },
|
|
1480
|
+
* where: {
|
|
1481
|
+
* email: {
|
|
1482
|
+
* contains: "prisma.io",
|
|
1483
|
+
* },
|
|
1484
|
+
* },
|
|
1485
|
+
* orderBy: {
|
|
1486
|
+
* age: "asc",
|
|
1487
|
+
* },
|
|
1488
|
+
* take: 10,
|
|
1489
|
+
* })
|
|
1490
|
+
**/
|
|
1491
|
+
aggregate<T extends ProcessesAggregateArgs>(args: Subset<T, ProcessesAggregateArgs>): Prisma.PrismaPromise<GetProcessesAggregateType<T>>
|
|
1492
|
+
|
|
1493
|
+
/**
|
|
1494
|
+
* Group by Processes.
|
|
1495
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1496
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1497
|
+
* @param {processesGroupByArgs} args - Group by arguments.
|
|
1498
|
+
* @example
|
|
1499
|
+
* // Group by city, order by createdAt, get count
|
|
1500
|
+
* const result = await prisma.user.groupBy({
|
|
1501
|
+
* by: ['city', 'createdAt'],
|
|
1502
|
+
* orderBy: {
|
|
1503
|
+
* createdAt: true
|
|
1504
|
+
* },
|
|
1505
|
+
* _count: {
|
|
1506
|
+
* _all: true
|
|
1507
|
+
* },
|
|
1508
|
+
* })
|
|
1509
|
+
*
|
|
1510
|
+
**/
|
|
1511
|
+
groupBy<
|
|
1512
|
+
T extends processesGroupByArgs,
|
|
1513
|
+
HasSelectOrTake extends Or<
|
|
1514
|
+
Extends<'skip', Keys<T>>,
|
|
1515
|
+
Extends<'take', Keys<T>>
|
|
1516
|
+
>,
|
|
1517
|
+
OrderByArg extends True extends HasSelectOrTake
|
|
1518
|
+
? { orderBy: processesGroupByArgs['orderBy'] }
|
|
1519
|
+
: { orderBy?: processesGroupByArgs['orderBy'] },
|
|
1520
|
+
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
1521
|
+
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
1522
|
+
ByValid extends Has<ByFields, OrderFields>,
|
|
1523
|
+
HavingFields extends GetHavingFields<T['having']>,
|
|
1524
|
+
HavingValid extends Has<ByFields, HavingFields>,
|
|
1525
|
+
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
1526
|
+
InputErrors extends ByEmpty extends True
|
|
1527
|
+
? `Error: "by" must not be empty.`
|
|
1528
|
+
: HavingValid extends False
|
|
1529
|
+
? {
|
|
1530
|
+
[P in HavingFields]: P extends ByFields
|
|
1531
|
+
? never
|
|
1532
|
+
: P extends string
|
|
1533
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1534
|
+
: [
|
|
1535
|
+
Error,
|
|
1536
|
+
'Field ',
|
|
1537
|
+
P,
|
|
1538
|
+
` in "having" needs to be provided in "by"`,
|
|
1539
|
+
]
|
|
1540
|
+
}[HavingFields]
|
|
1541
|
+
: 'take' extends Keys<T>
|
|
1542
|
+
? 'orderBy' extends Keys<T>
|
|
1543
|
+
? ByValid extends True
|
|
1544
|
+
? {}
|
|
1545
|
+
: {
|
|
1546
|
+
[P in OrderFields]: P extends ByFields
|
|
1547
|
+
? never
|
|
1548
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1549
|
+
}[OrderFields]
|
|
1550
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1551
|
+
: 'skip' extends Keys<T>
|
|
1552
|
+
? 'orderBy' extends Keys<T>
|
|
1553
|
+
? ByValid extends True
|
|
1554
|
+
? {}
|
|
1555
|
+
: {
|
|
1556
|
+
[P in OrderFields]: P extends ByFields
|
|
1557
|
+
? never
|
|
1558
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1559
|
+
}[OrderFields]
|
|
1560
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1561
|
+
: ByValid extends True
|
|
1562
|
+
? {}
|
|
1563
|
+
: {
|
|
1564
|
+
[P in OrderFields]: P extends ByFields
|
|
1565
|
+
? never
|
|
1566
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1567
|
+
}[OrderFields]
|
|
1568
|
+
>(args: SubsetIntersection<T, processesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProcessesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1569
|
+
/**
|
|
1570
|
+
* Fields of the processes model
|
|
1571
|
+
*/
|
|
1572
|
+
readonly fields: processesFieldRefs;
|
|
1573
|
+
}
|
|
1574
|
+
|
|
1575
|
+
/**
|
|
1576
|
+
* The delegate class that acts as a "Promise-like" for processes.
|
|
1577
|
+
* Why is this prefixed with `Prisma__`?
|
|
1578
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1579
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1580
|
+
*/
|
|
1581
|
+
export interface Prisma__processesClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1582
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1583
|
+
tasks<T extends processes$tasksArgs<ExtArgs> = {}>(args?: Subset<T, processes$tasksArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$tasksPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1584
|
+
/**
|
|
1585
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1586
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1587
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1588
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1589
|
+
*/
|
|
1590
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
|
|
1591
|
+
/**
|
|
1592
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1593
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1594
|
+
* @returns A Promise for the completion of the callback.
|
|
1595
|
+
*/
|
|
1596
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
|
1597
|
+
/**
|
|
1598
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1599
|
+
* resolved value cannot be modified from the callback.
|
|
1600
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1601
|
+
* @returns A Promise for the completion of the callback.
|
|
1602
|
+
*/
|
|
1603
|
+
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
|
1604
|
+
}
|
|
1605
|
+
|
|
1606
|
+
|
|
1607
|
+
|
|
1608
|
+
|
|
1609
|
+
/**
|
|
1610
|
+
* Fields of the processes model
|
|
1611
|
+
*/
|
|
1612
|
+
interface processesFieldRefs {
|
|
1613
|
+
readonly id: FieldRef<"processes", 'String'>
|
|
1614
|
+
readonly result: FieldRef<"processes", 'Json'>
|
|
1615
|
+
readonly status: FieldRef<"processes", 'String'>
|
|
1616
|
+
readonly error: FieldRef<"processes", 'Json'>
|
|
1617
|
+
readonly timestamp: FieldRef<"processes", 'DateTime'>
|
|
1618
|
+
}
|
|
1619
|
+
|
|
1620
|
+
|
|
1621
|
+
// Custom InputTypes
|
|
1622
|
+
/**
|
|
1623
|
+
* processes findUnique
|
|
1624
|
+
*/
|
|
1625
|
+
export type processesFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
1626
|
+
/**
|
|
1627
|
+
* Select specific fields to fetch from the processes
|
|
1628
|
+
*/
|
|
1629
|
+
select?: processesSelect<ExtArgs> | null
|
|
1630
|
+
/**
|
|
1631
|
+
* Omit specific fields from the processes
|
|
1632
|
+
*/
|
|
1633
|
+
omit?: processesOmit<ExtArgs> | null
|
|
1634
|
+
/**
|
|
1635
|
+
* Choose, which related nodes to fetch as well
|
|
1636
|
+
*/
|
|
1637
|
+
include?: processesInclude<ExtArgs> | null
|
|
1638
|
+
/**
|
|
1639
|
+
* Filter, which processes to fetch.
|
|
1640
|
+
*/
|
|
1641
|
+
where: processesWhereUniqueInput
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1644
|
+
/**
|
|
1645
|
+
* processes findUniqueOrThrow
|
|
1646
|
+
*/
|
|
1647
|
+
export type processesFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
1648
|
+
/**
|
|
1649
|
+
* Select specific fields to fetch from the processes
|
|
1650
|
+
*/
|
|
1651
|
+
select?: processesSelect<ExtArgs> | null
|
|
1652
|
+
/**
|
|
1653
|
+
* Omit specific fields from the processes
|
|
1654
|
+
*/
|
|
1655
|
+
omit?: processesOmit<ExtArgs> | null
|
|
1656
|
+
/**
|
|
1657
|
+
* Choose, which related nodes to fetch as well
|
|
1658
|
+
*/
|
|
1659
|
+
include?: processesInclude<ExtArgs> | null
|
|
1660
|
+
/**
|
|
1661
|
+
* Filter, which processes to fetch.
|
|
1662
|
+
*/
|
|
1663
|
+
where: processesWhereUniqueInput
|
|
1664
|
+
}
|
|
1665
|
+
|
|
1666
|
+
/**
|
|
1667
|
+
* processes findFirst
|
|
1668
|
+
*/
|
|
1669
|
+
export type processesFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
1670
|
+
/**
|
|
1671
|
+
* Select specific fields to fetch from the processes
|
|
1672
|
+
*/
|
|
1673
|
+
select?: processesSelect<ExtArgs> | null
|
|
1674
|
+
/**
|
|
1675
|
+
* Omit specific fields from the processes
|
|
1676
|
+
*/
|
|
1677
|
+
omit?: processesOmit<ExtArgs> | null
|
|
1678
|
+
/**
|
|
1679
|
+
* Choose, which related nodes to fetch as well
|
|
1680
|
+
*/
|
|
1681
|
+
include?: processesInclude<ExtArgs> | null
|
|
1682
|
+
/**
|
|
1683
|
+
* Filter, which processes to fetch.
|
|
1684
|
+
*/
|
|
1685
|
+
where?: processesWhereInput
|
|
1686
|
+
/**
|
|
1687
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1688
|
+
*
|
|
1689
|
+
* Determine the order of processes to fetch.
|
|
1690
|
+
*/
|
|
1691
|
+
orderBy?: processesOrderByWithRelationInput | processesOrderByWithRelationInput[]
|
|
1692
|
+
/**
|
|
1693
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1694
|
+
*
|
|
1695
|
+
* Sets the position for searching for processes.
|
|
1696
|
+
*/
|
|
1697
|
+
cursor?: processesWhereUniqueInput
|
|
1698
|
+
/**
|
|
1699
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1700
|
+
*
|
|
1701
|
+
* Take `±n` processes from the position of the cursor.
|
|
1702
|
+
*/
|
|
1703
|
+
take?: number
|
|
1704
|
+
/**
|
|
1705
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1706
|
+
*
|
|
1707
|
+
* Skip the first `n` processes.
|
|
1708
|
+
*/
|
|
1709
|
+
skip?: number
|
|
1710
|
+
/**
|
|
1711
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1712
|
+
*
|
|
1713
|
+
* Filter by unique combinations of processes.
|
|
1714
|
+
*/
|
|
1715
|
+
distinct?: ProcessesScalarFieldEnum | ProcessesScalarFieldEnum[]
|
|
1716
|
+
}
|
|
1717
|
+
|
|
1718
|
+
/**
|
|
1719
|
+
* processes findFirstOrThrow
|
|
1720
|
+
*/
|
|
1721
|
+
export type processesFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
1722
|
+
/**
|
|
1723
|
+
* Select specific fields to fetch from the processes
|
|
1724
|
+
*/
|
|
1725
|
+
select?: processesSelect<ExtArgs> | null
|
|
1726
|
+
/**
|
|
1727
|
+
* Omit specific fields from the processes
|
|
1728
|
+
*/
|
|
1729
|
+
omit?: processesOmit<ExtArgs> | null
|
|
1730
|
+
/**
|
|
1731
|
+
* Choose, which related nodes to fetch as well
|
|
1732
|
+
*/
|
|
1733
|
+
include?: processesInclude<ExtArgs> | null
|
|
1734
|
+
/**
|
|
1735
|
+
* Filter, which processes to fetch.
|
|
1736
|
+
*/
|
|
1737
|
+
where?: processesWhereInput
|
|
1738
|
+
/**
|
|
1739
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1740
|
+
*
|
|
1741
|
+
* Determine the order of processes to fetch.
|
|
1742
|
+
*/
|
|
1743
|
+
orderBy?: processesOrderByWithRelationInput | processesOrderByWithRelationInput[]
|
|
1744
|
+
/**
|
|
1745
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1746
|
+
*
|
|
1747
|
+
* Sets the position for searching for processes.
|
|
1748
|
+
*/
|
|
1749
|
+
cursor?: processesWhereUniqueInput
|
|
1750
|
+
/**
|
|
1751
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1752
|
+
*
|
|
1753
|
+
* Take `±n` processes from the position of the cursor.
|
|
1754
|
+
*/
|
|
1755
|
+
take?: number
|
|
1756
|
+
/**
|
|
1757
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1758
|
+
*
|
|
1759
|
+
* Skip the first `n` processes.
|
|
1760
|
+
*/
|
|
1761
|
+
skip?: number
|
|
1762
|
+
/**
|
|
1763
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1764
|
+
*
|
|
1765
|
+
* Filter by unique combinations of processes.
|
|
1766
|
+
*/
|
|
1767
|
+
distinct?: ProcessesScalarFieldEnum | ProcessesScalarFieldEnum[]
|
|
1768
|
+
}
|
|
1769
|
+
|
|
1770
|
+
/**
|
|
1771
|
+
* processes findMany
|
|
1772
|
+
*/
|
|
1773
|
+
export type processesFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
1774
|
+
/**
|
|
1775
|
+
* Select specific fields to fetch from the processes
|
|
1776
|
+
*/
|
|
1777
|
+
select?: processesSelect<ExtArgs> | null
|
|
1778
|
+
/**
|
|
1779
|
+
* Omit specific fields from the processes
|
|
1780
|
+
*/
|
|
1781
|
+
omit?: processesOmit<ExtArgs> | null
|
|
1782
|
+
/**
|
|
1783
|
+
* Choose, which related nodes to fetch as well
|
|
1784
|
+
*/
|
|
1785
|
+
include?: processesInclude<ExtArgs> | null
|
|
1786
|
+
/**
|
|
1787
|
+
* Filter, which processes to fetch.
|
|
1788
|
+
*/
|
|
1789
|
+
where?: processesWhereInput
|
|
1790
|
+
/**
|
|
1791
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1792
|
+
*
|
|
1793
|
+
* Determine the order of processes to fetch.
|
|
1794
|
+
*/
|
|
1795
|
+
orderBy?: processesOrderByWithRelationInput | processesOrderByWithRelationInput[]
|
|
1796
|
+
/**
|
|
1797
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1798
|
+
*
|
|
1799
|
+
* Sets the position for listing processes.
|
|
1800
|
+
*/
|
|
1801
|
+
cursor?: processesWhereUniqueInput
|
|
1802
|
+
/**
|
|
1803
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1804
|
+
*
|
|
1805
|
+
* Take `±n` processes from the position of the cursor.
|
|
1806
|
+
*/
|
|
1807
|
+
take?: number
|
|
1808
|
+
/**
|
|
1809
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1810
|
+
*
|
|
1811
|
+
* Skip the first `n` processes.
|
|
1812
|
+
*/
|
|
1813
|
+
skip?: number
|
|
1814
|
+
distinct?: ProcessesScalarFieldEnum | ProcessesScalarFieldEnum[]
|
|
1815
|
+
}
|
|
1816
|
+
|
|
1817
|
+
/**
|
|
1818
|
+
* processes create
|
|
1819
|
+
*/
|
|
1820
|
+
export type processesCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
1821
|
+
/**
|
|
1822
|
+
* Select specific fields to fetch from the processes
|
|
1823
|
+
*/
|
|
1824
|
+
select?: processesSelect<ExtArgs> | null
|
|
1825
|
+
/**
|
|
1826
|
+
* Omit specific fields from the processes
|
|
1827
|
+
*/
|
|
1828
|
+
omit?: processesOmit<ExtArgs> | null
|
|
1829
|
+
/**
|
|
1830
|
+
* Choose, which related nodes to fetch as well
|
|
1831
|
+
*/
|
|
1832
|
+
include?: processesInclude<ExtArgs> | null
|
|
1833
|
+
/**
|
|
1834
|
+
* The data needed to create a processes.
|
|
1835
|
+
*/
|
|
1836
|
+
data?: XOR<processesCreateInput, processesUncheckedCreateInput>
|
|
1837
|
+
}
|
|
1838
|
+
|
|
1839
|
+
/**
|
|
1840
|
+
* processes createMany
|
|
1841
|
+
*/
|
|
1842
|
+
export type processesCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
1843
|
+
/**
|
|
1844
|
+
* The data used to create many processes.
|
|
1845
|
+
*/
|
|
1846
|
+
data: processesCreateManyInput | processesCreateManyInput[]
|
|
1847
|
+
skipDuplicates?: boolean
|
|
1848
|
+
}
|
|
1849
|
+
|
|
1850
|
+
/**
|
|
1851
|
+
* processes createManyAndReturn
|
|
1852
|
+
*/
|
|
1853
|
+
export type processesCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
1854
|
+
/**
|
|
1855
|
+
* Select specific fields to fetch from the processes
|
|
1856
|
+
*/
|
|
1857
|
+
select?: processesSelectCreateManyAndReturn<ExtArgs> | null
|
|
1858
|
+
/**
|
|
1859
|
+
* Omit specific fields from the processes
|
|
1860
|
+
*/
|
|
1861
|
+
omit?: processesOmit<ExtArgs> | null
|
|
1862
|
+
/**
|
|
1863
|
+
* The data used to create many processes.
|
|
1864
|
+
*/
|
|
1865
|
+
data: processesCreateManyInput | processesCreateManyInput[]
|
|
1866
|
+
skipDuplicates?: boolean
|
|
1867
|
+
}
|
|
1868
|
+
|
|
1869
|
+
/**
|
|
1870
|
+
* processes update
|
|
1871
|
+
*/
|
|
1872
|
+
export type processesUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
1873
|
+
/**
|
|
1874
|
+
* Select specific fields to fetch from the processes
|
|
1875
|
+
*/
|
|
1876
|
+
select?: processesSelect<ExtArgs> | null
|
|
1877
|
+
/**
|
|
1878
|
+
* Omit specific fields from the processes
|
|
1879
|
+
*/
|
|
1880
|
+
omit?: processesOmit<ExtArgs> | null
|
|
1881
|
+
/**
|
|
1882
|
+
* Choose, which related nodes to fetch as well
|
|
1883
|
+
*/
|
|
1884
|
+
include?: processesInclude<ExtArgs> | null
|
|
1885
|
+
/**
|
|
1886
|
+
* The data needed to update a processes.
|
|
1887
|
+
*/
|
|
1888
|
+
data: XOR<processesUpdateInput, processesUncheckedUpdateInput>
|
|
1889
|
+
/**
|
|
1890
|
+
* Choose, which processes to update.
|
|
1891
|
+
*/
|
|
1892
|
+
where: processesWhereUniqueInput
|
|
1893
|
+
}
|
|
1894
|
+
|
|
1895
|
+
/**
|
|
1896
|
+
* processes updateMany
|
|
1897
|
+
*/
|
|
1898
|
+
export type processesUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
1899
|
+
/**
|
|
1900
|
+
* The data used to update processes.
|
|
1901
|
+
*/
|
|
1902
|
+
data: XOR<processesUpdateManyMutationInput, processesUncheckedUpdateManyInput>
|
|
1903
|
+
/**
|
|
1904
|
+
* Filter which processes to update
|
|
1905
|
+
*/
|
|
1906
|
+
where?: processesWhereInput
|
|
1907
|
+
/**
|
|
1908
|
+
* Limit how many processes to update.
|
|
1909
|
+
*/
|
|
1910
|
+
limit?: number
|
|
1911
|
+
}
|
|
1912
|
+
|
|
1913
|
+
/**
|
|
1914
|
+
* processes updateManyAndReturn
|
|
1915
|
+
*/
|
|
1916
|
+
export type processesUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
1917
|
+
/**
|
|
1918
|
+
* Select specific fields to fetch from the processes
|
|
1919
|
+
*/
|
|
1920
|
+
select?: processesSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1921
|
+
/**
|
|
1922
|
+
* Omit specific fields from the processes
|
|
1923
|
+
*/
|
|
1924
|
+
omit?: processesOmit<ExtArgs> | null
|
|
1925
|
+
/**
|
|
1926
|
+
* The data used to update processes.
|
|
1927
|
+
*/
|
|
1928
|
+
data: XOR<processesUpdateManyMutationInput, processesUncheckedUpdateManyInput>
|
|
1929
|
+
/**
|
|
1930
|
+
* Filter which processes to update
|
|
1931
|
+
*/
|
|
1932
|
+
where?: processesWhereInput
|
|
1933
|
+
/**
|
|
1934
|
+
* Limit how many processes to update.
|
|
1935
|
+
*/
|
|
1936
|
+
limit?: number
|
|
1937
|
+
}
|
|
1938
|
+
|
|
1939
|
+
/**
|
|
1940
|
+
* processes upsert
|
|
1941
|
+
*/
|
|
1942
|
+
export type processesUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
1943
|
+
/**
|
|
1944
|
+
* Select specific fields to fetch from the processes
|
|
1945
|
+
*/
|
|
1946
|
+
select?: processesSelect<ExtArgs> | null
|
|
1947
|
+
/**
|
|
1948
|
+
* Omit specific fields from the processes
|
|
1949
|
+
*/
|
|
1950
|
+
omit?: processesOmit<ExtArgs> | null
|
|
1951
|
+
/**
|
|
1952
|
+
* Choose, which related nodes to fetch as well
|
|
1953
|
+
*/
|
|
1954
|
+
include?: processesInclude<ExtArgs> | null
|
|
1955
|
+
/**
|
|
1956
|
+
* The filter to search for the processes to update in case it exists.
|
|
1957
|
+
*/
|
|
1958
|
+
where: processesWhereUniqueInput
|
|
1959
|
+
/**
|
|
1960
|
+
* In case the processes found by the `where` argument doesn't exist, create a new processes with this data.
|
|
1961
|
+
*/
|
|
1962
|
+
create: XOR<processesCreateInput, processesUncheckedCreateInput>
|
|
1963
|
+
/**
|
|
1964
|
+
* In case the processes was found with the provided `where` argument, update it with this data.
|
|
1965
|
+
*/
|
|
1966
|
+
update: XOR<processesUpdateInput, processesUncheckedUpdateInput>
|
|
1967
|
+
}
|
|
1968
|
+
|
|
1969
|
+
/**
|
|
1970
|
+
* processes delete
|
|
1971
|
+
*/
|
|
1972
|
+
export type processesDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
1973
|
+
/**
|
|
1974
|
+
* Select specific fields to fetch from the processes
|
|
1975
|
+
*/
|
|
1976
|
+
select?: processesSelect<ExtArgs> | null
|
|
1977
|
+
/**
|
|
1978
|
+
* Omit specific fields from the processes
|
|
1979
|
+
*/
|
|
1980
|
+
omit?: processesOmit<ExtArgs> | null
|
|
1981
|
+
/**
|
|
1982
|
+
* Choose, which related nodes to fetch as well
|
|
1983
|
+
*/
|
|
1984
|
+
include?: processesInclude<ExtArgs> | null
|
|
1985
|
+
/**
|
|
1986
|
+
* Filter which processes to delete.
|
|
1987
|
+
*/
|
|
1988
|
+
where: processesWhereUniqueInput
|
|
1989
|
+
}
|
|
1990
|
+
|
|
1991
|
+
/**
|
|
1992
|
+
* processes deleteMany
|
|
1993
|
+
*/
|
|
1994
|
+
export type processesDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
1995
|
+
/**
|
|
1996
|
+
* Filter which processes to delete
|
|
1997
|
+
*/
|
|
1998
|
+
where?: processesWhereInput
|
|
1999
|
+
/**
|
|
2000
|
+
* Limit how many processes to delete.
|
|
2001
|
+
*/
|
|
2002
|
+
limit?: number
|
|
2003
|
+
}
|
|
2004
|
+
|
|
2005
|
+
/**
|
|
2006
|
+
* processes.tasks
|
|
2007
|
+
*/
|
|
2008
|
+
export type processes$tasksArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2009
|
+
/**
|
|
2010
|
+
* Select specific fields to fetch from the tasks
|
|
2011
|
+
*/
|
|
2012
|
+
select?: tasksSelect<ExtArgs> | null
|
|
2013
|
+
/**
|
|
2014
|
+
* Omit specific fields from the tasks
|
|
2015
|
+
*/
|
|
2016
|
+
omit?: tasksOmit<ExtArgs> | null
|
|
2017
|
+
/**
|
|
2018
|
+
* Choose, which related nodes to fetch as well
|
|
2019
|
+
*/
|
|
2020
|
+
include?: tasksInclude<ExtArgs> | null
|
|
2021
|
+
where?: tasksWhereInput
|
|
2022
|
+
orderBy?: tasksOrderByWithRelationInput | tasksOrderByWithRelationInput[]
|
|
2023
|
+
cursor?: tasksWhereUniqueInput
|
|
2024
|
+
take?: number
|
|
2025
|
+
skip?: number
|
|
2026
|
+
distinct?: TasksScalarFieldEnum | TasksScalarFieldEnum[]
|
|
2027
|
+
}
|
|
2028
|
+
|
|
2029
|
+
/**
|
|
2030
|
+
* processes without action
|
|
2031
|
+
*/
|
|
2032
|
+
export type processesDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2033
|
+
/**
|
|
2034
|
+
* Select specific fields to fetch from the processes
|
|
2035
|
+
*/
|
|
2036
|
+
select?: processesSelect<ExtArgs> | null
|
|
2037
|
+
/**
|
|
2038
|
+
* Omit specific fields from the processes
|
|
2039
|
+
*/
|
|
2040
|
+
omit?: processesOmit<ExtArgs> | null
|
|
2041
|
+
/**
|
|
2042
|
+
* Choose, which related nodes to fetch as well
|
|
2043
|
+
*/
|
|
2044
|
+
include?: processesInclude<ExtArgs> | null
|
|
2045
|
+
}
|
|
2046
|
+
|
|
2047
|
+
|
|
2048
|
+
/**
|
|
2049
|
+
* Model tasks
|
|
2050
|
+
*/
|
|
2051
|
+
|
|
2052
|
+
export type AggregateTasks = {
|
|
2053
|
+
_count: TasksCountAggregateOutputType | null
|
|
2054
|
+
_min: TasksMinAggregateOutputType | null
|
|
2055
|
+
_max: TasksMaxAggregateOutputType | null
|
|
2056
|
+
}
|
|
2057
|
+
|
|
2058
|
+
export type TasksMinAggregateOutputType = {
|
|
2059
|
+
id: string | null
|
|
2060
|
+
internal_id: string | null
|
|
2061
|
+
handler_id: string | null
|
|
2062
|
+
parent_id: string | null
|
|
2063
|
+
process_id: string | null
|
|
2064
|
+
status: string | null
|
|
2065
|
+
error: string | null
|
|
2066
|
+
timestamp: Date | null
|
|
2067
|
+
}
|
|
2068
|
+
|
|
2069
|
+
export type TasksMaxAggregateOutputType = {
|
|
2070
|
+
id: string | null
|
|
2071
|
+
internal_id: string | null
|
|
2072
|
+
handler_id: string | null
|
|
2073
|
+
parent_id: string | null
|
|
2074
|
+
process_id: string | null
|
|
2075
|
+
status: string | null
|
|
2076
|
+
error: string | null
|
|
2077
|
+
timestamp: Date | null
|
|
2078
|
+
}
|
|
2079
|
+
|
|
2080
|
+
export type TasksCountAggregateOutputType = {
|
|
2081
|
+
id: number
|
|
2082
|
+
internal_id: number
|
|
2083
|
+
handler_id: number
|
|
2084
|
+
parent_id: number
|
|
2085
|
+
process_id: number
|
|
2086
|
+
inputs: number
|
|
2087
|
+
result: number
|
|
2088
|
+
status: number
|
|
2089
|
+
error: number
|
|
2090
|
+
timestamp: number
|
|
2091
|
+
_all: number
|
|
2092
|
+
}
|
|
2093
|
+
|
|
2094
|
+
|
|
2095
|
+
export type TasksMinAggregateInputType = {
|
|
2096
|
+
id?: true
|
|
2097
|
+
internal_id?: true
|
|
2098
|
+
handler_id?: true
|
|
2099
|
+
parent_id?: true
|
|
2100
|
+
process_id?: true
|
|
2101
|
+
status?: true
|
|
2102
|
+
error?: true
|
|
2103
|
+
timestamp?: true
|
|
2104
|
+
}
|
|
2105
|
+
|
|
2106
|
+
export type TasksMaxAggregateInputType = {
|
|
2107
|
+
id?: true
|
|
2108
|
+
internal_id?: true
|
|
2109
|
+
handler_id?: true
|
|
2110
|
+
parent_id?: true
|
|
2111
|
+
process_id?: true
|
|
2112
|
+
status?: true
|
|
2113
|
+
error?: true
|
|
2114
|
+
timestamp?: true
|
|
2115
|
+
}
|
|
2116
|
+
|
|
2117
|
+
export type TasksCountAggregateInputType = {
|
|
2118
|
+
id?: true
|
|
2119
|
+
internal_id?: true
|
|
2120
|
+
handler_id?: true
|
|
2121
|
+
parent_id?: true
|
|
2122
|
+
process_id?: true
|
|
2123
|
+
inputs?: true
|
|
2124
|
+
result?: true
|
|
2125
|
+
status?: true
|
|
2126
|
+
error?: true
|
|
2127
|
+
timestamp?: true
|
|
2128
|
+
_all?: true
|
|
2129
|
+
}
|
|
2130
|
+
|
|
2131
|
+
export type TasksAggregateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2132
|
+
/**
|
|
2133
|
+
* Filter which tasks to aggregate.
|
|
2134
|
+
*/
|
|
2135
|
+
where?: tasksWhereInput
|
|
2136
|
+
/**
|
|
2137
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2138
|
+
*
|
|
2139
|
+
* Determine the order of tasks to fetch.
|
|
2140
|
+
*/
|
|
2141
|
+
orderBy?: tasksOrderByWithRelationInput | tasksOrderByWithRelationInput[]
|
|
2142
|
+
/**
|
|
2143
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2144
|
+
*
|
|
2145
|
+
* Sets the start position
|
|
2146
|
+
*/
|
|
2147
|
+
cursor?: tasksWhereUniqueInput
|
|
2148
|
+
/**
|
|
2149
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2150
|
+
*
|
|
2151
|
+
* Take `±n` tasks from the position of the cursor.
|
|
2152
|
+
*/
|
|
2153
|
+
take?: number
|
|
2154
|
+
/**
|
|
2155
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2156
|
+
*
|
|
2157
|
+
* Skip the first `n` tasks.
|
|
2158
|
+
*/
|
|
2159
|
+
skip?: number
|
|
2160
|
+
/**
|
|
2161
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
2162
|
+
*
|
|
2163
|
+
* Count returned tasks
|
|
2164
|
+
**/
|
|
2165
|
+
_count?: true | TasksCountAggregateInputType
|
|
2166
|
+
/**
|
|
2167
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
2168
|
+
*
|
|
2169
|
+
* Select which fields to find the minimum value
|
|
2170
|
+
**/
|
|
2171
|
+
_min?: TasksMinAggregateInputType
|
|
2172
|
+
/**
|
|
2173
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
2174
|
+
*
|
|
2175
|
+
* Select which fields to find the maximum value
|
|
2176
|
+
**/
|
|
2177
|
+
_max?: TasksMaxAggregateInputType
|
|
2178
|
+
}
|
|
2179
|
+
|
|
2180
|
+
export type GetTasksAggregateType<T extends TasksAggregateArgs> = {
|
|
2181
|
+
[P in keyof T & keyof AggregateTasks]: P extends '_count' | 'count'
|
|
2182
|
+
? T[P] extends true
|
|
2183
|
+
? number
|
|
2184
|
+
: GetScalarType<T[P], AggregateTasks[P]>
|
|
2185
|
+
: GetScalarType<T[P], AggregateTasks[P]>
|
|
2186
|
+
}
|
|
2187
|
+
|
|
2188
|
+
|
|
2189
|
+
|
|
2190
|
+
|
|
2191
|
+
export type tasksGroupByArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2192
|
+
where?: tasksWhereInput
|
|
2193
|
+
orderBy?: tasksOrderByWithAggregationInput | tasksOrderByWithAggregationInput[]
|
|
2194
|
+
by: TasksScalarFieldEnum[] | TasksScalarFieldEnum
|
|
2195
|
+
having?: tasksScalarWhereWithAggregatesInput
|
|
2196
|
+
take?: number
|
|
2197
|
+
skip?: number
|
|
2198
|
+
_count?: TasksCountAggregateInputType | true
|
|
2199
|
+
_min?: TasksMinAggregateInputType
|
|
2200
|
+
_max?: TasksMaxAggregateInputType
|
|
2201
|
+
}
|
|
2202
|
+
|
|
2203
|
+
export type TasksGroupByOutputType = {
|
|
2204
|
+
id: string
|
|
2205
|
+
internal_id: string
|
|
2206
|
+
handler_id: string
|
|
2207
|
+
parent_id: string | null
|
|
2208
|
+
process_id: string
|
|
2209
|
+
inputs: JsonValue | null
|
|
2210
|
+
result: JsonValue | null
|
|
2211
|
+
status: string
|
|
2212
|
+
error: string | null
|
|
2213
|
+
timestamp: Date
|
|
2214
|
+
_count: TasksCountAggregateOutputType | null
|
|
2215
|
+
_min: TasksMinAggregateOutputType | null
|
|
2216
|
+
_max: TasksMaxAggregateOutputType | null
|
|
2217
|
+
}
|
|
2218
|
+
|
|
2219
|
+
type GetTasksGroupByPayload<T extends tasksGroupByArgs> = Prisma.PrismaPromise<
|
|
2220
|
+
Array<
|
|
2221
|
+
PickEnumerable<TasksGroupByOutputType, T['by']> &
|
|
2222
|
+
{
|
|
2223
|
+
[P in ((keyof T) & (keyof TasksGroupByOutputType))]: P extends '_count'
|
|
2224
|
+
? T[P] extends boolean
|
|
2225
|
+
? number
|
|
2226
|
+
: GetScalarType<T[P], TasksGroupByOutputType[P]>
|
|
2227
|
+
: GetScalarType<T[P], TasksGroupByOutputType[P]>
|
|
2228
|
+
}
|
|
2229
|
+
>
|
|
2230
|
+
>
|
|
2231
|
+
|
|
2232
|
+
|
|
2233
|
+
export type tasksSelect<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
2234
|
+
id?: boolean
|
|
2235
|
+
internal_id?: boolean
|
|
2236
|
+
handler_id?: boolean
|
|
2237
|
+
parent_id?: boolean
|
|
2238
|
+
process_id?: boolean
|
|
2239
|
+
inputs?: boolean
|
|
2240
|
+
result?: boolean
|
|
2241
|
+
status?: boolean
|
|
2242
|
+
error?: boolean
|
|
2243
|
+
timestamp?: boolean
|
|
2244
|
+
processes?: boolean | processesDefaultArgs<ExtArgs>
|
|
2245
|
+
}, ExtArgs["result"]["tasks"]>
|
|
2246
|
+
|
|
2247
|
+
export type tasksSelectCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
2248
|
+
id?: boolean
|
|
2249
|
+
internal_id?: boolean
|
|
2250
|
+
handler_id?: boolean
|
|
2251
|
+
parent_id?: boolean
|
|
2252
|
+
process_id?: boolean
|
|
2253
|
+
inputs?: boolean
|
|
2254
|
+
result?: boolean
|
|
2255
|
+
status?: boolean
|
|
2256
|
+
error?: boolean
|
|
2257
|
+
timestamp?: boolean
|
|
2258
|
+
processes?: boolean | processesDefaultArgs<ExtArgs>
|
|
2259
|
+
}, ExtArgs["result"]["tasks"]>
|
|
2260
|
+
|
|
2261
|
+
export type tasksSelectUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetSelect<{
|
|
2262
|
+
id?: boolean
|
|
2263
|
+
internal_id?: boolean
|
|
2264
|
+
handler_id?: boolean
|
|
2265
|
+
parent_id?: boolean
|
|
2266
|
+
process_id?: boolean
|
|
2267
|
+
inputs?: boolean
|
|
2268
|
+
result?: boolean
|
|
2269
|
+
status?: boolean
|
|
2270
|
+
error?: boolean
|
|
2271
|
+
timestamp?: boolean
|
|
2272
|
+
processes?: boolean | processesDefaultArgs<ExtArgs>
|
|
2273
|
+
}, ExtArgs["result"]["tasks"]>
|
|
2274
|
+
|
|
2275
|
+
export type tasksSelectScalar = {
|
|
2276
|
+
id?: boolean
|
|
2277
|
+
internal_id?: boolean
|
|
2278
|
+
handler_id?: boolean
|
|
2279
|
+
parent_id?: boolean
|
|
2280
|
+
process_id?: boolean
|
|
2281
|
+
inputs?: boolean
|
|
2282
|
+
result?: boolean
|
|
2283
|
+
status?: boolean
|
|
2284
|
+
error?: boolean
|
|
2285
|
+
timestamp?: boolean
|
|
2286
|
+
}
|
|
2287
|
+
|
|
2288
|
+
export type tasksOmit<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = $Extensions.GetOmit<"id" | "internal_id" | "handler_id" | "parent_id" | "process_id" | "inputs" | "result" | "status" | "error" | "timestamp", ExtArgs["result"]["tasks"]>
|
|
2289
|
+
export type tasksInclude<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2290
|
+
processes?: boolean | processesDefaultArgs<ExtArgs>
|
|
2291
|
+
}
|
|
2292
|
+
export type tasksIncludeCreateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2293
|
+
processes?: boolean | processesDefaultArgs<ExtArgs>
|
|
2294
|
+
}
|
|
2295
|
+
export type tasksIncludeUpdateManyAndReturn<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2296
|
+
processes?: boolean | processesDefaultArgs<ExtArgs>
|
|
2297
|
+
}
|
|
2298
|
+
|
|
2299
|
+
export type $tasksPayload<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2300
|
+
name: "tasks"
|
|
2301
|
+
objects: {
|
|
2302
|
+
processes: Prisma.$processesPayload<ExtArgs>
|
|
2303
|
+
}
|
|
2304
|
+
scalars: $Extensions.GetPayloadResult<{
|
|
2305
|
+
id: string
|
|
2306
|
+
internal_id: string
|
|
2307
|
+
handler_id: string
|
|
2308
|
+
parent_id: string | null
|
|
2309
|
+
process_id: string
|
|
2310
|
+
inputs: Prisma.JsonValue | null
|
|
2311
|
+
result: Prisma.JsonValue | null
|
|
2312
|
+
status: string
|
|
2313
|
+
error: string | null
|
|
2314
|
+
timestamp: Date
|
|
2315
|
+
}, ExtArgs["result"]["tasks"]>
|
|
2316
|
+
composites: {}
|
|
2317
|
+
}
|
|
2318
|
+
|
|
2319
|
+
type tasksGetPayload<S extends boolean | null | undefined | tasksDefaultArgs> = $Result.GetResult<Prisma.$tasksPayload, S>
|
|
2320
|
+
|
|
2321
|
+
type tasksCountArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> =
|
|
2322
|
+
Omit<tasksFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
2323
|
+
select?: TasksCountAggregateInputType | true
|
|
2324
|
+
}
|
|
2325
|
+
|
|
2326
|
+
export interface tasksDelegate<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
2327
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['tasks'], meta: { name: 'tasks' } }
|
|
2328
|
+
/**
|
|
2329
|
+
* Find zero or one Tasks that matches the filter.
|
|
2330
|
+
* @param {tasksFindUniqueArgs} args - Arguments to find a Tasks
|
|
2331
|
+
* @example
|
|
2332
|
+
* // Get one Tasks
|
|
2333
|
+
* const tasks = await prisma.tasks.findUnique({
|
|
2334
|
+
* where: {
|
|
2335
|
+
* // ... provide filter here
|
|
2336
|
+
* }
|
|
2337
|
+
* })
|
|
2338
|
+
*/
|
|
2339
|
+
findUnique<T extends tasksFindUniqueArgs>(args: SelectSubset<T, tasksFindUniqueArgs<ExtArgs>>): Prisma__tasksClient<$Result.GetResult<Prisma.$tasksPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
2340
|
+
|
|
2341
|
+
/**
|
|
2342
|
+
* Find one Tasks that matches the filter or throw an error with `error.code='P2025'`
|
|
2343
|
+
* if no matches were found.
|
|
2344
|
+
* @param {tasksFindUniqueOrThrowArgs} args - Arguments to find a Tasks
|
|
2345
|
+
* @example
|
|
2346
|
+
* // Get one Tasks
|
|
2347
|
+
* const tasks = await prisma.tasks.findUniqueOrThrow({
|
|
2348
|
+
* where: {
|
|
2349
|
+
* // ... provide filter here
|
|
2350
|
+
* }
|
|
2351
|
+
* })
|
|
2352
|
+
*/
|
|
2353
|
+
findUniqueOrThrow<T extends tasksFindUniqueOrThrowArgs>(args: SelectSubset<T, tasksFindUniqueOrThrowArgs<ExtArgs>>): Prisma__tasksClient<$Result.GetResult<Prisma.$tasksPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2354
|
+
|
|
2355
|
+
/**
|
|
2356
|
+
* Find the first Tasks that matches the filter.
|
|
2357
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2358
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2359
|
+
* @param {tasksFindFirstArgs} args - Arguments to find a Tasks
|
|
2360
|
+
* @example
|
|
2361
|
+
* // Get one Tasks
|
|
2362
|
+
* const tasks = await prisma.tasks.findFirst({
|
|
2363
|
+
* where: {
|
|
2364
|
+
* // ... provide filter here
|
|
2365
|
+
* }
|
|
2366
|
+
* })
|
|
2367
|
+
*/
|
|
2368
|
+
findFirst<T extends tasksFindFirstArgs>(args?: SelectSubset<T, tasksFindFirstArgs<ExtArgs>>): Prisma__tasksClient<$Result.GetResult<Prisma.$tasksPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
2369
|
+
|
|
2370
|
+
/**
|
|
2371
|
+
* Find the first Tasks that matches the filter or
|
|
2372
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
2373
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2374
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2375
|
+
* @param {tasksFindFirstOrThrowArgs} args - Arguments to find a Tasks
|
|
2376
|
+
* @example
|
|
2377
|
+
* // Get one Tasks
|
|
2378
|
+
* const tasks = await prisma.tasks.findFirstOrThrow({
|
|
2379
|
+
* where: {
|
|
2380
|
+
* // ... provide filter here
|
|
2381
|
+
* }
|
|
2382
|
+
* })
|
|
2383
|
+
*/
|
|
2384
|
+
findFirstOrThrow<T extends tasksFindFirstOrThrowArgs>(args?: SelectSubset<T, tasksFindFirstOrThrowArgs<ExtArgs>>): Prisma__tasksClient<$Result.GetResult<Prisma.$tasksPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2385
|
+
|
|
2386
|
+
/**
|
|
2387
|
+
* Find zero or more Tasks that matches the filter.
|
|
2388
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2389
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2390
|
+
* @param {tasksFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
2391
|
+
* @example
|
|
2392
|
+
* // Get all Tasks
|
|
2393
|
+
* const tasks = await prisma.tasks.findMany()
|
|
2394
|
+
*
|
|
2395
|
+
* // Get first 10 Tasks
|
|
2396
|
+
* const tasks = await prisma.tasks.findMany({ take: 10 })
|
|
2397
|
+
*
|
|
2398
|
+
* // Only select the `id`
|
|
2399
|
+
* const tasksWithIdOnly = await prisma.tasks.findMany({ select: { id: true } })
|
|
2400
|
+
*
|
|
2401
|
+
*/
|
|
2402
|
+
findMany<T extends tasksFindManyArgs>(args?: SelectSubset<T, tasksFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$tasksPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
2403
|
+
|
|
2404
|
+
/**
|
|
2405
|
+
* Create a Tasks.
|
|
2406
|
+
* @param {tasksCreateArgs} args - Arguments to create a Tasks.
|
|
2407
|
+
* @example
|
|
2408
|
+
* // Create one Tasks
|
|
2409
|
+
* const Tasks = await prisma.tasks.create({
|
|
2410
|
+
* data: {
|
|
2411
|
+
* // ... data to create a Tasks
|
|
2412
|
+
* }
|
|
2413
|
+
* })
|
|
2414
|
+
*
|
|
2415
|
+
*/
|
|
2416
|
+
create<T extends tasksCreateArgs>(args: SelectSubset<T, tasksCreateArgs<ExtArgs>>): Prisma__tasksClient<$Result.GetResult<Prisma.$tasksPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2417
|
+
|
|
2418
|
+
/**
|
|
2419
|
+
* Create many Tasks.
|
|
2420
|
+
* @param {tasksCreateManyArgs} args - Arguments to create many Tasks.
|
|
2421
|
+
* @example
|
|
2422
|
+
* // Create many Tasks
|
|
2423
|
+
* const tasks = await prisma.tasks.createMany({
|
|
2424
|
+
* data: [
|
|
2425
|
+
* // ... provide data here
|
|
2426
|
+
* ]
|
|
2427
|
+
* })
|
|
2428
|
+
*
|
|
2429
|
+
*/
|
|
2430
|
+
createMany<T extends tasksCreateManyArgs>(args?: SelectSubset<T, tasksCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
2431
|
+
|
|
2432
|
+
/**
|
|
2433
|
+
* Create many Tasks and returns the data saved in the database.
|
|
2434
|
+
* @param {tasksCreateManyAndReturnArgs} args - Arguments to create many Tasks.
|
|
2435
|
+
* @example
|
|
2436
|
+
* // Create many Tasks
|
|
2437
|
+
* const tasks = await prisma.tasks.createManyAndReturn({
|
|
2438
|
+
* data: [
|
|
2439
|
+
* // ... provide data here
|
|
2440
|
+
* ]
|
|
2441
|
+
* })
|
|
2442
|
+
*
|
|
2443
|
+
* // Create many Tasks and only return the `id`
|
|
2444
|
+
* const tasksWithIdOnly = await prisma.tasks.createManyAndReturn({
|
|
2445
|
+
* select: { id: true },
|
|
2446
|
+
* data: [
|
|
2447
|
+
* // ... provide data here
|
|
2448
|
+
* ]
|
|
2449
|
+
* })
|
|
2450
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2451
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2452
|
+
*
|
|
2453
|
+
*/
|
|
2454
|
+
createManyAndReturn<T extends tasksCreateManyAndReturnArgs>(args?: SelectSubset<T, tasksCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$tasksPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
2455
|
+
|
|
2456
|
+
/**
|
|
2457
|
+
* Delete a Tasks.
|
|
2458
|
+
* @param {tasksDeleteArgs} args - Arguments to delete one Tasks.
|
|
2459
|
+
* @example
|
|
2460
|
+
* // Delete one Tasks
|
|
2461
|
+
* const Tasks = await prisma.tasks.delete({
|
|
2462
|
+
* where: {
|
|
2463
|
+
* // ... filter to delete one Tasks
|
|
2464
|
+
* }
|
|
2465
|
+
* })
|
|
2466
|
+
*
|
|
2467
|
+
*/
|
|
2468
|
+
delete<T extends tasksDeleteArgs>(args: SelectSubset<T, tasksDeleteArgs<ExtArgs>>): Prisma__tasksClient<$Result.GetResult<Prisma.$tasksPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2469
|
+
|
|
2470
|
+
/**
|
|
2471
|
+
* Update one Tasks.
|
|
2472
|
+
* @param {tasksUpdateArgs} args - Arguments to update one Tasks.
|
|
2473
|
+
* @example
|
|
2474
|
+
* // Update one Tasks
|
|
2475
|
+
* const tasks = await prisma.tasks.update({
|
|
2476
|
+
* where: {
|
|
2477
|
+
* // ... provide filter here
|
|
2478
|
+
* },
|
|
2479
|
+
* data: {
|
|
2480
|
+
* // ... provide data here
|
|
2481
|
+
* }
|
|
2482
|
+
* })
|
|
2483
|
+
*
|
|
2484
|
+
*/
|
|
2485
|
+
update<T extends tasksUpdateArgs>(args: SelectSubset<T, tasksUpdateArgs<ExtArgs>>): Prisma__tasksClient<$Result.GetResult<Prisma.$tasksPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2486
|
+
|
|
2487
|
+
/**
|
|
2488
|
+
* Delete zero or more Tasks.
|
|
2489
|
+
* @param {tasksDeleteManyArgs} args - Arguments to filter Tasks to delete.
|
|
2490
|
+
* @example
|
|
2491
|
+
* // Delete a few Tasks
|
|
2492
|
+
* const { count } = await prisma.tasks.deleteMany({
|
|
2493
|
+
* where: {
|
|
2494
|
+
* // ... provide filter here
|
|
2495
|
+
* }
|
|
2496
|
+
* })
|
|
2497
|
+
*
|
|
2498
|
+
*/
|
|
2499
|
+
deleteMany<T extends tasksDeleteManyArgs>(args?: SelectSubset<T, tasksDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
2500
|
+
|
|
2501
|
+
/**
|
|
2502
|
+
* Update zero or more Tasks.
|
|
2503
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2504
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2505
|
+
* @param {tasksUpdateManyArgs} args - Arguments to update one or more rows.
|
|
2506
|
+
* @example
|
|
2507
|
+
* // Update many Tasks
|
|
2508
|
+
* const tasks = await prisma.tasks.updateMany({
|
|
2509
|
+
* where: {
|
|
2510
|
+
* // ... provide filter here
|
|
2511
|
+
* },
|
|
2512
|
+
* data: {
|
|
2513
|
+
* // ... provide data here
|
|
2514
|
+
* }
|
|
2515
|
+
* })
|
|
2516
|
+
*
|
|
2517
|
+
*/
|
|
2518
|
+
updateMany<T extends tasksUpdateManyArgs>(args: SelectSubset<T, tasksUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<BatchPayload>
|
|
2519
|
+
|
|
2520
|
+
/**
|
|
2521
|
+
* Update zero or more Tasks and returns the data updated in the database.
|
|
2522
|
+
* @param {tasksUpdateManyAndReturnArgs} args - Arguments to update many Tasks.
|
|
2523
|
+
* @example
|
|
2524
|
+
* // Update many Tasks
|
|
2525
|
+
* const tasks = await prisma.tasks.updateManyAndReturn({
|
|
2526
|
+
* where: {
|
|
2527
|
+
* // ... provide filter here
|
|
2528
|
+
* },
|
|
2529
|
+
* data: [
|
|
2530
|
+
* // ... provide data here
|
|
2531
|
+
* ]
|
|
2532
|
+
* })
|
|
2533
|
+
*
|
|
2534
|
+
* // Update zero or more Tasks and only return the `id`
|
|
2535
|
+
* const tasksWithIdOnly = await prisma.tasks.updateManyAndReturn({
|
|
2536
|
+
* select: { id: true },
|
|
2537
|
+
* where: {
|
|
2538
|
+
* // ... provide filter here
|
|
2539
|
+
* },
|
|
2540
|
+
* data: [
|
|
2541
|
+
* // ... provide data here
|
|
2542
|
+
* ]
|
|
2543
|
+
* })
|
|
2544
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2545
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2546
|
+
*
|
|
2547
|
+
*/
|
|
2548
|
+
updateManyAndReturn<T extends tasksUpdateManyAndReturnArgs>(args: SelectSubset<T, tasksUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<$Result.GetResult<Prisma.$tasksPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
2549
|
+
|
|
2550
|
+
/**
|
|
2551
|
+
* Create or update one Tasks.
|
|
2552
|
+
* @param {tasksUpsertArgs} args - Arguments to update or create a Tasks.
|
|
2553
|
+
* @example
|
|
2554
|
+
* // Update or create a Tasks
|
|
2555
|
+
* const tasks = await prisma.tasks.upsert({
|
|
2556
|
+
* create: {
|
|
2557
|
+
* // ... data to create a Tasks
|
|
2558
|
+
* },
|
|
2559
|
+
* update: {
|
|
2560
|
+
* // ... in case it already exists, update
|
|
2561
|
+
* },
|
|
2562
|
+
* where: {
|
|
2563
|
+
* // ... the filter for the Tasks we want to update
|
|
2564
|
+
* }
|
|
2565
|
+
* })
|
|
2566
|
+
*/
|
|
2567
|
+
upsert<T extends tasksUpsertArgs>(args: SelectSubset<T, tasksUpsertArgs<ExtArgs>>): Prisma__tasksClient<$Result.GetResult<Prisma.$tasksPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
2568
|
+
|
|
2569
|
+
|
|
2570
|
+
/**
|
|
2571
|
+
* Count the number of Tasks.
|
|
2572
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2573
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2574
|
+
* @param {tasksCountArgs} args - Arguments to filter Tasks to count.
|
|
2575
|
+
* @example
|
|
2576
|
+
* // Count the number of Tasks
|
|
2577
|
+
* const count = await prisma.tasks.count({
|
|
2578
|
+
* where: {
|
|
2579
|
+
* // ... the filter for the Tasks we want to count
|
|
2580
|
+
* }
|
|
2581
|
+
* })
|
|
2582
|
+
**/
|
|
2583
|
+
count<T extends tasksCountArgs>(
|
|
2584
|
+
args?: Subset<T, tasksCountArgs>,
|
|
2585
|
+
): Prisma.PrismaPromise<
|
|
2586
|
+
T extends $Utils.Record<'select', any>
|
|
2587
|
+
? T['select'] extends true
|
|
2588
|
+
? number
|
|
2589
|
+
: GetScalarType<T['select'], TasksCountAggregateOutputType>
|
|
2590
|
+
: number
|
|
2591
|
+
>
|
|
2592
|
+
|
|
2593
|
+
/**
|
|
2594
|
+
* Allows you to perform aggregations operations on a Tasks.
|
|
2595
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2596
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2597
|
+
* @param {TasksAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
2598
|
+
* @example
|
|
2599
|
+
* // Ordered by age ascending
|
|
2600
|
+
* // Where email contains prisma.io
|
|
2601
|
+
* // Limited to the 10 users
|
|
2602
|
+
* const aggregations = await prisma.user.aggregate({
|
|
2603
|
+
* _avg: {
|
|
2604
|
+
* age: true,
|
|
2605
|
+
* },
|
|
2606
|
+
* where: {
|
|
2607
|
+
* email: {
|
|
2608
|
+
* contains: "prisma.io",
|
|
2609
|
+
* },
|
|
2610
|
+
* },
|
|
2611
|
+
* orderBy: {
|
|
2612
|
+
* age: "asc",
|
|
2613
|
+
* },
|
|
2614
|
+
* take: 10,
|
|
2615
|
+
* })
|
|
2616
|
+
**/
|
|
2617
|
+
aggregate<T extends TasksAggregateArgs>(args: Subset<T, TasksAggregateArgs>): Prisma.PrismaPromise<GetTasksAggregateType<T>>
|
|
2618
|
+
|
|
2619
|
+
/**
|
|
2620
|
+
* Group by Tasks.
|
|
2621
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2622
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2623
|
+
* @param {tasksGroupByArgs} args - Group by arguments.
|
|
2624
|
+
* @example
|
|
2625
|
+
* // Group by city, order by createdAt, get count
|
|
2626
|
+
* const result = await prisma.user.groupBy({
|
|
2627
|
+
* by: ['city', 'createdAt'],
|
|
2628
|
+
* orderBy: {
|
|
2629
|
+
* createdAt: true
|
|
2630
|
+
* },
|
|
2631
|
+
* _count: {
|
|
2632
|
+
* _all: true
|
|
2633
|
+
* },
|
|
2634
|
+
* })
|
|
2635
|
+
*
|
|
2636
|
+
**/
|
|
2637
|
+
groupBy<
|
|
2638
|
+
T extends tasksGroupByArgs,
|
|
2639
|
+
HasSelectOrTake extends Or<
|
|
2640
|
+
Extends<'skip', Keys<T>>,
|
|
2641
|
+
Extends<'take', Keys<T>>
|
|
2642
|
+
>,
|
|
2643
|
+
OrderByArg extends True extends HasSelectOrTake
|
|
2644
|
+
? { orderBy: tasksGroupByArgs['orderBy'] }
|
|
2645
|
+
: { orderBy?: tasksGroupByArgs['orderBy'] },
|
|
2646
|
+
OrderFields extends ExcludeUnderscoreKeys<Keys<MaybeTupleToUnion<T['orderBy']>>>,
|
|
2647
|
+
ByFields extends MaybeTupleToUnion<T['by']>,
|
|
2648
|
+
ByValid extends Has<ByFields, OrderFields>,
|
|
2649
|
+
HavingFields extends GetHavingFields<T['having']>,
|
|
2650
|
+
HavingValid extends Has<ByFields, HavingFields>,
|
|
2651
|
+
ByEmpty extends T['by'] extends never[] ? True : False,
|
|
2652
|
+
InputErrors extends ByEmpty extends True
|
|
2653
|
+
? `Error: "by" must not be empty.`
|
|
2654
|
+
: HavingValid extends False
|
|
2655
|
+
? {
|
|
2656
|
+
[P in HavingFields]: P extends ByFields
|
|
2657
|
+
? never
|
|
2658
|
+
: P extends string
|
|
2659
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
2660
|
+
: [
|
|
2661
|
+
Error,
|
|
2662
|
+
'Field ',
|
|
2663
|
+
P,
|
|
2664
|
+
` in "having" needs to be provided in "by"`,
|
|
2665
|
+
]
|
|
2666
|
+
}[HavingFields]
|
|
2667
|
+
: 'take' extends Keys<T>
|
|
2668
|
+
? 'orderBy' extends Keys<T>
|
|
2669
|
+
? ByValid extends True
|
|
2670
|
+
? {}
|
|
2671
|
+
: {
|
|
2672
|
+
[P in OrderFields]: P extends ByFields
|
|
2673
|
+
? never
|
|
2674
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
2675
|
+
}[OrderFields]
|
|
2676
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
2677
|
+
: 'skip' extends Keys<T>
|
|
2678
|
+
? 'orderBy' extends Keys<T>
|
|
2679
|
+
? ByValid extends True
|
|
2680
|
+
? {}
|
|
2681
|
+
: {
|
|
2682
|
+
[P in OrderFields]: P extends ByFields
|
|
2683
|
+
? never
|
|
2684
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
2685
|
+
}[OrderFields]
|
|
2686
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
2687
|
+
: ByValid extends True
|
|
2688
|
+
? {}
|
|
2689
|
+
: {
|
|
2690
|
+
[P in OrderFields]: P extends ByFields
|
|
2691
|
+
? never
|
|
2692
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
2693
|
+
}[OrderFields]
|
|
2694
|
+
>(args: SubsetIntersection<T, tasksGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTasksGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
2695
|
+
/**
|
|
2696
|
+
* Fields of the tasks model
|
|
2697
|
+
*/
|
|
2698
|
+
readonly fields: tasksFieldRefs;
|
|
2699
|
+
}
|
|
2700
|
+
|
|
2701
|
+
/**
|
|
2702
|
+
* The delegate class that acts as a "Promise-like" for tasks.
|
|
2703
|
+
* Why is this prefixed with `Prisma__`?
|
|
2704
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
2705
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
2706
|
+
*/
|
|
2707
|
+
export interface Prisma__tasksClient<T, Null = never, ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
2708
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
2709
|
+
processes<T extends processesDefaultArgs<ExtArgs> = {}>(args?: Subset<T, processesDefaultArgs<ExtArgs>>): Prisma__processesClient<$Result.GetResult<Prisma.$processesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
2710
|
+
/**
|
|
2711
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
2712
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
2713
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
2714
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
2715
|
+
*/
|
|
2716
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): $Utils.JsPromise<TResult1 | TResult2>
|
|
2717
|
+
/**
|
|
2718
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
2719
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
2720
|
+
* @returns A Promise for the completion of the callback.
|
|
2721
|
+
*/
|
|
2722
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): $Utils.JsPromise<T | TResult>
|
|
2723
|
+
/**
|
|
2724
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
2725
|
+
* resolved value cannot be modified from the callback.
|
|
2726
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
2727
|
+
* @returns A Promise for the completion of the callback.
|
|
2728
|
+
*/
|
|
2729
|
+
finally(onfinally?: (() => void) | undefined | null): $Utils.JsPromise<T>
|
|
2730
|
+
}
|
|
2731
|
+
|
|
2732
|
+
|
|
2733
|
+
|
|
2734
|
+
|
|
2735
|
+
/**
|
|
2736
|
+
* Fields of the tasks model
|
|
2737
|
+
*/
|
|
2738
|
+
interface tasksFieldRefs {
|
|
2739
|
+
readonly id: FieldRef<"tasks", 'String'>
|
|
2740
|
+
readonly internal_id: FieldRef<"tasks", 'String'>
|
|
2741
|
+
readonly handler_id: FieldRef<"tasks", 'String'>
|
|
2742
|
+
readonly parent_id: FieldRef<"tasks", 'String'>
|
|
2743
|
+
readonly process_id: FieldRef<"tasks", 'String'>
|
|
2744
|
+
readonly inputs: FieldRef<"tasks", 'Json'>
|
|
2745
|
+
readonly result: FieldRef<"tasks", 'Json'>
|
|
2746
|
+
readonly status: FieldRef<"tasks", 'String'>
|
|
2747
|
+
readonly error: FieldRef<"tasks", 'String'>
|
|
2748
|
+
readonly timestamp: FieldRef<"tasks", 'DateTime'>
|
|
2749
|
+
}
|
|
2750
|
+
|
|
2751
|
+
|
|
2752
|
+
// Custom InputTypes
|
|
2753
|
+
/**
|
|
2754
|
+
* tasks findUnique
|
|
2755
|
+
*/
|
|
2756
|
+
export type tasksFindUniqueArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2757
|
+
/**
|
|
2758
|
+
* Select specific fields to fetch from the tasks
|
|
2759
|
+
*/
|
|
2760
|
+
select?: tasksSelect<ExtArgs> | null
|
|
2761
|
+
/**
|
|
2762
|
+
* Omit specific fields from the tasks
|
|
2763
|
+
*/
|
|
2764
|
+
omit?: tasksOmit<ExtArgs> | null
|
|
2765
|
+
/**
|
|
2766
|
+
* Choose, which related nodes to fetch as well
|
|
2767
|
+
*/
|
|
2768
|
+
include?: tasksInclude<ExtArgs> | null
|
|
2769
|
+
/**
|
|
2770
|
+
* Filter, which tasks to fetch.
|
|
2771
|
+
*/
|
|
2772
|
+
where: tasksWhereUniqueInput
|
|
2773
|
+
}
|
|
2774
|
+
|
|
2775
|
+
/**
|
|
2776
|
+
* tasks findUniqueOrThrow
|
|
2777
|
+
*/
|
|
2778
|
+
export type tasksFindUniqueOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2779
|
+
/**
|
|
2780
|
+
* Select specific fields to fetch from the tasks
|
|
2781
|
+
*/
|
|
2782
|
+
select?: tasksSelect<ExtArgs> | null
|
|
2783
|
+
/**
|
|
2784
|
+
* Omit specific fields from the tasks
|
|
2785
|
+
*/
|
|
2786
|
+
omit?: tasksOmit<ExtArgs> | null
|
|
2787
|
+
/**
|
|
2788
|
+
* Choose, which related nodes to fetch as well
|
|
2789
|
+
*/
|
|
2790
|
+
include?: tasksInclude<ExtArgs> | null
|
|
2791
|
+
/**
|
|
2792
|
+
* Filter, which tasks to fetch.
|
|
2793
|
+
*/
|
|
2794
|
+
where: tasksWhereUniqueInput
|
|
2795
|
+
}
|
|
2796
|
+
|
|
2797
|
+
/**
|
|
2798
|
+
* tasks findFirst
|
|
2799
|
+
*/
|
|
2800
|
+
export type tasksFindFirstArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2801
|
+
/**
|
|
2802
|
+
* Select specific fields to fetch from the tasks
|
|
2803
|
+
*/
|
|
2804
|
+
select?: tasksSelect<ExtArgs> | null
|
|
2805
|
+
/**
|
|
2806
|
+
* Omit specific fields from the tasks
|
|
2807
|
+
*/
|
|
2808
|
+
omit?: tasksOmit<ExtArgs> | null
|
|
2809
|
+
/**
|
|
2810
|
+
* Choose, which related nodes to fetch as well
|
|
2811
|
+
*/
|
|
2812
|
+
include?: tasksInclude<ExtArgs> | null
|
|
2813
|
+
/**
|
|
2814
|
+
* Filter, which tasks to fetch.
|
|
2815
|
+
*/
|
|
2816
|
+
where?: tasksWhereInput
|
|
2817
|
+
/**
|
|
2818
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2819
|
+
*
|
|
2820
|
+
* Determine the order of tasks to fetch.
|
|
2821
|
+
*/
|
|
2822
|
+
orderBy?: tasksOrderByWithRelationInput | tasksOrderByWithRelationInput[]
|
|
2823
|
+
/**
|
|
2824
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2825
|
+
*
|
|
2826
|
+
* Sets the position for searching for tasks.
|
|
2827
|
+
*/
|
|
2828
|
+
cursor?: tasksWhereUniqueInput
|
|
2829
|
+
/**
|
|
2830
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2831
|
+
*
|
|
2832
|
+
* Take `±n` tasks from the position of the cursor.
|
|
2833
|
+
*/
|
|
2834
|
+
take?: number
|
|
2835
|
+
/**
|
|
2836
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2837
|
+
*
|
|
2838
|
+
* Skip the first `n` tasks.
|
|
2839
|
+
*/
|
|
2840
|
+
skip?: number
|
|
2841
|
+
/**
|
|
2842
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2843
|
+
*
|
|
2844
|
+
* Filter by unique combinations of tasks.
|
|
2845
|
+
*/
|
|
2846
|
+
distinct?: TasksScalarFieldEnum | TasksScalarFieldEnum[]
|
|
2847
|
+
}
|
|
2848
|
+
|
|
2849
|
+
/**
|
|
2850
|
+
* tasks findFirstOrThrow
|
|
2851
|
+
*/
|
|
2852
|
+
export type tasksFindFirstOrThrowArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2853
|
+
/**
|
|
2854
|
+
* Select specific fields to fetch from the tasks
|
|
2855
|
+
*/
|
|
2856
|
+
select?: tasksSelect<ExtArgs> | null
|
|
2857
|
+
/**
|
|
2858
|
+
* Omit specific fields from the tasks
|
|
2859
|
+
*/
|
|
2860
|
+
omit?: tasksOmit<ExtArgs> | null
|
|
2861
|
+
/**
|
|
2862
|
+
* Choose, which related nodes to fetch as well
|
|
2863
|
+
*/
|
|
2864
|
+
include?: tasksInclude<ExtArgs> | null
|
|
2865
|
+
/**
|
|
2866
|
+
* Filter, which tasks to fetch.
|
|
2867
|
+
*/
|
|
2868
|
+
where?: tasksWhereInput
|
|
2869
|
+
/**
|
|
2870
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2871
|
+
*
|
|
2872
|
+
* Determine the order of tasks to fetch.
|
|
2873
|
+
*/
|
|
2874
|
+
orderBy?: tasksOrderByWithRelationInput | tasksOrderByWithRelationInput[]
|
|
2875
|
+
/**
|
|
2876
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2877
|
+
*
|
|
2878
|
+
* Sets the position for searching for tasks.
|
|
2879
|
+
*/
|
|
2880
|
+
cursor?: tasksWhereUniqueInput
|
|
2881
|
+
/**
|
|
2882
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2883
|
+
*
|
|
2884
|
+
* Take `±n` tasks from the position of the cursor.
|
|
2885
|
+
*/
|
|
2886
|
+
take?: number
|
|
2887
|
+
/**
|
|
2888
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2889
|
+
*
|
|
2890
|
+
* Skip the first `n` tasks.
|
|
2891
|
+
*/
|
|
2892
|
+
skip?: number
|
|
2893
|
+
/**
|
|
2894
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2895
|
+
*
|
|
2896
|
+
* Filter by unique combinations of tasks.
|
|
2897
|
+
*/
|
|
2898
|
+
distinct?: TasksScalarFieldEnum | TasksScalarFieldEnum[]
|
|
2899
|
+
}
|
|
2900
|
+
|
|
2901
|
+
/**
|
|
2902
|
+
* tasks findMany
|
|
2903
|
+
*/
|
|
2904
|
+
export type tasksFindManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2905
|
+
/**
|
|
2906
|
+
* Select specific fields to fetch from the tasks
|
|
2907
|
+
*/
|
|
2908
|
+
select?: tasksSelect<ExtArgs> | null
|
|
2909
|
+
/**
|
|
2910
|
+
* Omit specific fields from the tasks
|
|
2911
|
+
*/
|
|
2912
|
+
omit?: tasksOmit<ExtArgs> | null
|
|
2913
|
+
/**
|
|
2914
|
+
* Choose, which related nodes to fetch as well
|
|
2915
|
+
*/
|
|
2916
|
+
include?: tasksInclude<ExtArgs> | null
|
|
2917
|
+
/**
|
|
2918
|
+
* Filter, which tasks to fetch.
|
|
2919
|
+
*/
|
|
2920
|
+
where?: tasksWhereInput
|
|
2921
|
+
/**
|
|
2922
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2923
|
+
*
|
|
2924
|
+
* Determine the order of tasks to fetch.
|
|
2925
|
+
*/
|
|
2926
|
+
orderBy?: tasksOrderByWithRelationInput | tasksOrderByWithRelationInput[]
|
|
2927
|
+
/**
|
|
2928
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2929
|
+
*
|
|
2930
|
+
* Sets the position for listing tasks.
|
|
2931
|
+
*/
|
|
2932
|
+
cursor?: tasksWhereUniqueInput
|
|
2933
|
+
/**
|
|
2934
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2935
|
+
*
|
|
2936
|
+
* Take `±n` tasks from the position of the cursor.
|
|
2937
|
+
*/
|
|
2938
|
+
take?: number
|
|
2939
|
+
/**
|
|
2940
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2941
|
+
*
|
|
2942
|
+
* Skip the first `n` tasks.
|
|
2943
|
+
*/
|
|
2944
|
+
skip?: number
|
|
2945
|
+
distinct?: TasksScalarFieldEnum | TasksScalarFieldEnum[]
|
|
2946
|
+
}
|
|
2947
|
+
|
|
2948
|
+
/**
|
|
2949
|
+
* tasks create
|
|
2950
|
+
*/
|
|
2951
|
+
export type tasksCreateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2952
|
+
/**
|
|
2953
|
+
* Select specific fields to fetch from the tasks
|
|
2954
|
+
*/
|
|
2955
|
+
select?: tasksSelect<ExtArgs> | null
|
|
2956
|
+
/**
|
|
2957
|
+
* Omit specific fields from the tasks
|
|
2958
|
+
*/
|
|
2959
|
+
omit?: tasksOmit<ExtArgs> | null
|
|
2960
|
+
/**
|
|
2961
|
+
* Choose, which related nodes to fetch as well
|
|
2962
|
+
*/
|
|
2963
|
+
include?: tasksInclude<ExtArgs> | null
|
|
2964
|
+
/**
|
|
2965
|
+
* The data needed to create a tasks.
|
|
2966
|
+
*/
|
|
2967
|
+
data: XOR<tasksCreateInput, tasksUncheckedCreateInput>
|
|
2968
|
+
}
|
|
2969
|
+
|
|
2970
|
+
/**
|
|
2971
|
+
* tasks createMany
|
|
2972
|
+
*/
|
|
2973
|
+
export type tasksCreateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2974
|
+
/**
|
|
2975
|
+
* The data used to create many tasks.
|
|
2976
|
+
*/
|
|
2977
|
+
data: tasksCreateManyInput | tasksCreateManyInput[]
|
|
2978
|
+
skipDuplicates?: boolean
|
|
2979
|
+
}
|
|
2980
|
+
|
|
2981
|
+
/**
|
|
2982
|
+
* tasks createManyAndReturn
|
|
2983
|
+
*/
|
|
2984
|
+
export type tasksCreateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
2985
|
+
/**
|
|
2986
|
+
* Select specific fields to fetch from the tasks
|
|
2987
|
+
*/
|
|
2988
|
+
select?: tasksSelectCreateManyAndReturn<ExtArgs> | null
|
|
2989
|
+
/**
|
|
2990
|
+
* Omit specific fields from the tasks
|
|
2991
|
+
*/
|
|
2992
|
+
omit?: tasksOmit<ExtArgs> | null
|
|
2993
|
+
/**
|
|
2994
|
+
* The data used to create many tasks.
|
|
2995
|
+
*/
|
|
2996
|
+
data: tasksCreateManyInput | tasksCreateManyInput[]
|
|
2997
|
+
skipDuplicates?: boolean
|
|
2998
|
+
/**
|
|
2999
|
+
* Choose, which related nodes to fetch as well
|
|
3000
|
+
*/
|
|
3001
|
+
include?: tasksIncludeCreateManyAndReturn<ExtArgs> | null
|
|
3002
|
+
}
|
|
3003
|
+
|
|
3004
|
+
/**
|
|
3005
|
+
* tasks update
|
|
3006
|
+
*/
|
|
3007
|
+
export type tasksUpdateArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
3008
|
+
/**
|
|
3009
|
+
* Select specific fields to fetch from the tasks
|
|
3010
|
+
*/
|
|
3011
|
+
select?: tasksSelect<ExtArgs> | null
|
|
3012
|
+
/**
|
|
3013
|
+
* Omit specific fields from the tasks
|
|
3014
|
+
*/
|
|
3015
|
+
omit?: tasksOmit<ExtArgs> | null
|
|
3016
|
+
/**
|
|
3017
|
+
* Choose, which related nodes to fetch as well
|
|
3018
|
+
*/
|
|
3019
|
+
include?: tasksInclude<ExtArgs> | null
|
|
3020
|
+
/**
|
|
3021
|
+
* The data needed to update a tasks.
|
|
3022
|
+
*/
|
|
3023
|
+
data: XOR<tasksUpdateInput, tasksUncheckedUpdateInput>
|
|
3024
|
+
/**
|
|
3025
|
+
* Choose, which tasks to update.
|
|
3026
|
+
*/
|
|
3027
|
+
where: tasksWhereUniqueInput
|
|
3028
|
+
}
|
|
3029
|
+
|
|
3030
|
+
/**
|
|
3031
|
+
* tasks updateMany
|
|
3032
|
+
*/
|
|
3033
|
+
export type tasksUpdateManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
3034
|
+
/**
|
|
3035
|
+
* The data used to update tasks.
|
|
3036
|
+
*/
|
|
3037
|
+
data: XOR<tasksUpdateManyMutationInput, tasksUncheckedUpdateManyInput>
|
|
3038
|
+
/**
|
|
3039
|
+
* Filter which tasks to update
|
|
3040
|
+
*/
|
|
3041
|
+
where?: tasksWhereInput
|
|
3042
|
+
/**
|
|
3043
|
+
* Limit how many tasks to update.
|
|
3044
|
+
*/
|
|
3045
|
+
limit?: number
|
|
3046
|
+
}
|
|
3047
|
+
|
|
3048
|
+
/**
|
|
3049
|
+
* tasks updateManyAndReturn
|
|
3050
|
+
*/
|
|
3051
|
+
export type tasksUpdateManyAndReturnArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
3052
|
+
/**
|
|
3053
|
+
* Select specific fields to fetch from the tasks
|
|
3054
|
+
*/
|
|
3055
|
+
select?: tasksSelectUpdateManyAndReturn<ExtArgs> | null
|
|
3056
|
+
/**
|
|
3057
|
+
* Omit specific fields from the tasks
|
|
3058
|
+
*/
|
|
3059
|
+
omit?: tasksOmit<ExtArgs> | null
|
|
3060
|
+
/**
|
|
3061
|
+
* The data used to update tasks.
|
|
3062
|
+
*/
|
|
3063
|
+
data: XOR<tasksUpdateManyMutationInput, tasksUncheckedUpdateManyInput>
|
|
3064
|
+
/**
|
|
3065
|
+
* Filter which tasks to update
|
|
3066
|
+
*/
|
|
3067
|
+
where?: tasksWhereInput
|
|
3068
|
+
/**
|
|
3069
|
+
* Limit how many tasks to update.
|
|
3070
|
+
*/
|
|
3071
|
+
limit?: number
|
|
3072
|
+
/**
|
|
3073
|
+
* Choose, which related nodes to fetch as well
|
|
3074
|
+
*/
|
|
3075
|
+
include?: tasksIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
3076
|
+
}
|
|
3077
|
+
|
|
3078
|
+
/**
|
|
3079
|
+
* tasks upsert
|
|
3080
|
+
*/
|
|
3081
|
+
export type tasksUpsertArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
3082
|
+
/**
|
|
3083
|
+
* Select specific fields to fetch from the tasks
|
|
3084
|
+
*/
|
|
3085
|
+
select?: tasksSelect<ExtArgs> | null
|
|
3086
|
+
/**
|
|
3087
|
+
* Omit specific fields from the tasks
|
|
3088
|
+
*/
|
|
3089
|
+
omit?: tasksOmit<ExtArgs> | null
|
|
3090
|
+
/**
|
|
3091
|
+
* Choose, which related nodes to fetch as well
|
|
3092
|
+
*/
|
|
3093
|
+
include?: tasksInclude<ExtArgs> | null
|
|
3094
|
+
/**
|
|
3095
|
+
* The filter to search for the tasks to update in case it exists.
|
|
3096
|
+
*/
|
|
3097
|
+
where: tasksWhereUniqueInput
|
|
3098
|
+
/**
|
|
3099
|
+
* In case the tasks found by the `where` argument doesn't exist, create a new tasks with this data.
|
|
3100
|
+
*/
|
|
3101
|
+
create: XOR<tasksCreateInput, tasksUncheckedCreateInput>
|
|
3102
|
+
/**
|
|
3103
|
+
* In case the tasks was found with the provided `where` argument, update it with this data.
|
|
3104
|
+
*/
|
|
3105
|
+
update: XOR<tasksUpdateInput, tasksUncheckedUpdateInput>
|
|
3106
|
+
}
|
|
3107
|
+
|
|
3108
|
+
/**
|
|
3109
|
+
* tasks delete
|
|
3110
|
+
*/
|
|
3111
|
+
export type tasksDeleteArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
3112
|
+
/**
|
|
3113
|
+
* Select specific fields to fetch from the tasks
|
|
3114
|
+
*/
|
|
3115
|
+
select?: tasksSelect<ExtArgs> | null
|
|
3116
|
+
/**
|
|
3117
|
+
* Omit specific fields from the tasks
|
|
3118
|
+
*/
|
|
3119
|
+
omit?: tasksOmit<ExtArgs> | null
|
|
3120
|
+
/**
|
|
3121
|
+
* Choose, which related nodes to fetch as well
|
|
3122
|
+
*/
|
|
3123
|
+
include?: tasksInclude<ExtArgs> | null
|
|
3124
|
+
/**
|
|
3125
|
+
* Filter which tasks to delete.
|
|
3126
|
+
*/
|
|
3127
|
+
where: tasksWhereUniqueInput
|
|
3128
|
+
}
|
|
3129
|
+
|
|
3130
|
+
/**
|
|
3131
|
+
* tasks deleteMany
|
|
3132
|
+
*/
|
|
3133
|
+
export type tasksDeleteManyArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
3134
|
+
/**
|
|
3135
|
+
* Filter which tasks to delete
|
|
3136
|
+
*/
|
|
3137
|
+
where?: tasksWhereInput
|
|
3138
|
+
/**
|
|
3139
|
+
* Limit how many tasks to delete.
|
|
3140
|
+
*/
|
|
3141
|
+
limit?: number
|
|
3142
|
+
}
|
|
3143
|
+
|
|
3144
|
+
/**
|
|
3145
|
+
* tasks without action
|
|
3146
|
+
*/
|
|
3147
|
+
export type tasksDefaultArgs<ExtArgs extends $Extensions.InternalArgs = $Extensions.DefaultArgs> = {
|
|
3148
|
+
/**
|
|
3149
|
+
* Select specific fields to fetch from the tasks
|
|
3150
|
+
*/
|
|
3151
|
+
select?: tasksSelect<ExtArgs> | null
|
|
3152
|
+
/**
|
|
3153
|
+
* Omit specific fields from the tasks
|
|
3154
|
+
*/
|
|
3155
|
+
omit?: tasksOmit<ExtArgs> | null
|
|
3156
|
+
/**
|
|
3157
|
+
* Choose, which related nodes to fetch as well
|
|
3158
|
+
*/
|
|
3159
|
+
include?: tasksInclude<ExtArgs> | null
|
|
3160
|
+
}
|
|
3161
|
+
|
|
3162
|
+
|
|
3163
|
+
/**
|
|
3164
|
+
* Enums
|
|
3165
|
+
*/
|
|
3166
|
+
|
|
3167
|
+
export const TransactionIsolationLevel: {
|
|
3168
|
+
ReadUncommitted: 'ReadUncommitted',
|
|
3169
|
+
ReadCommitted: 'ReadCommitted',
|
|
3170
|
+
RepeatableRead: 'RepeatableRead',
|
|
3171
|
+
Serializable: 'Serializable'
|
|
3172
|
+
};
|
|
3173
|
+
|
|
3174
|
+
export type TransactionIsolationLevel = (typeof TransactionIsolationLevel)[keyof typeof TransactionIsolationLevel]
|
|
3175
|
+
|
|
3176
|
+
|
|
3177
|
+
export const ProcessesScalarFieldEnum: {
|
|
3178
|
+
id: 'id',
|
|
3179
|
+
result: 'result',
|
|
3180
|
+
status: 'status',
|
|
3181
|
+
error: 'error',
|
|
3182
|
+
timestamp: 'timestamp'
|
|
3183
|
+
};
|
|
3184
|
+
|
|
3185
|
+
export type ProcessesScalarFieldEnum = (typeof ProcessesScalarFieldEnum)[keyof typeof ProcessesScalarFieldEnum]
|
|
3186
|
+
|
|
3187
|
+
|
|
3188
|
+
export const TasksScalarFieldEnum: {
|
|
3189
|
+
id: 'id',
|
|
3190
|
+
internal_id: 'internal_id',
|
|
3191
|
+
handler_id: 'handler_id',
|
|
3192
|
+
parent_id: 'parent_id',
|
|
3193
|
+
process_id: 'process_id',
|
|
3194
|
+
inputs: 'inputs',
|
|
3195
|
+
result: 'result',
|
|
3196
|
+
status: 'status',
|
|
3197
|
+
error: 'error',
|
|
3198
|
+
timestamp: 'timestamp'
|
|
3199
|
+
};
|
|
3200
|
+
|
|
3201
|
+
export type TasksScalarFieldEnum = (typeof TasksScalarFieldEnum)[keyof typeof TasksScalarFieldEnum]
|
|
3202
|
+
|
|
3203
|
+
|
|
3204
|
+
export const SortOrder: {
|
|
3205
|
+
asc: 'asc',
|
|
3206
|
+
desc: 'desc'
|
|
3207
|
+
};
|
|
3208
|
+
|
|
3209
|
+
export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder]
|
|
3210
|
+
|
|
3211
|
+
|
|
3212
|
+
export const NullableJsonNullValueInput: {
|
|
3213
|
+
DbNull: typeof DbNull,
|
|
3214
|
+
JsonNull: typeof JsonNull
|
|
3215
|
+
};
|
|
3216
|
+
|
|
3217
|
+
export type NullableJsonNullValueInput = (typeof NullableJsonNullValueInput)[keyof typeof NullableJsonNullValueInput]
|
|
3218
|
+
|
|
3219
|
+
|
|
3220
|
+
export const QueryMode: {
|
|
3221
|
+
default: 'default',
|
|
3222
|
+
insensitive: 'insensitive'
|
|
3223
|
+
};
|
|
3224
|
+
|
|
3225
|
+
export type QueryMode = (typeof QueryMode)[keyof typeof QueryMode]
|
|
3226
|
+
|
|
3227
|
+
|
|
3228
|
+
export const JsonNullValueFilter: {
|
|
3229
|
+
DbNull: typeof DbNull,
|
|
3230
|
+
JsonNull: typeof JsonNull,
|
|
3231
|
+
AnyNull: typeof AnyNull
|
|
3232
|
+
};
|
|
3233
|
+
|
|
3234
|
+
export type JsonNullValueFilter = (typeof JsonNullValueFilter)[keyof typeof JsonNullValueFilter]
|
|
3235
|
+
|
|
3236
|
+
|
|
3237
|
+
export const NullsOrder: {
|
|
3238
|
+
first: 'first',
|
|
3239
|
+
last: 'last'
|
|
3240
|
+
};
|
|
3241
|
+
|
|
3242
|
+
export type NullsOrder = (typeof NullsOrder)[keyof typeof NullsOrder]
|
|
3243
|
+
|
|
3244
|
+
|
|
3245
|
+
/**
|
|
3246
|
+
* Field references
|
|
3247
|
+
*/
|
|
3248
|
+
|
|
3249
|
+
|
|
3250
|
+
/**
|
|
3251
|
+
* Reference to a field of type 'String'
|
|
3252
|
+
*/
|
|
3253
|
+
export type StringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String'>
|
|
3254
|
+
|
|
3255
|
+
|
|
3256
|
+
|
|
3257
|
+
/**
|
|
3258
|
+
* Reference to a field of type 'String[]'
|
|
3259
|
+
*/
|
|
3260
|
+
export type ListStringFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'String[]'>
|
|
3261
|
+
|
|
3262
|
+
|
|
3263
|
+
|
|
3264
|
+
/**
|
|
3265
|
+
* Reference to a field of type 'Json'
|
|
3266
|
+
*/
|
|
3267
|
+
export type JsonFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Json'>
|
|
3268
|
+
|
|
3269
|
+
|
|
3270
|
+
|
|
3271
|
+
/**
|
|
3272
|
+
* Reference to a field of type 'QueryMode'
|
|
3273
|
+
*/
|
|
3274
|
+
export type EnumQueryModeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'QueryMode'>
|
|
3275
|
+
|
|
3276
|
+
|
|
3277
|
+
|
|
3278
|
+
/**
|
|
3279
|
+
* Reference to a field of type 'DateTime'
|
|
3280
|
+
*/
|
|
3281
|
+
export type DateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime'>
|
|
3282
|
+
|
|
3283
|
+
|
|
3284
|
+
|
|
3285
|
+
/**
|
|
3286
|
+
* Reference to a field of type 'DateTime[]'
|
|
3287
|
+
*/
|
|
3288
|
+
export type ListDateTimeFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'DateTime[]'>
|
|
3289
|
+
|
|
3290
|
+
|
|
3291
|
+
|
|
3292
|
+
/**
|
|
3293
|
+
* Reference to a field of type 'Int'
|
|
3294
|
+
*/
|
|
3295
|
+
export type IntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int'>
|
|
3296
|
+
|
|
3297
|
+
|
|
3298
|
+
|
|
3299
|
+
/**
|
|
3300
|
+
* Reference to a field of type 'Int[]'
|
|
3301
|
+
*/
|
|
3302
|
+
export type ListIntFieldRefInput<$PrismaModel> = FieldRefInputType<$PrismaModel, 'Int[]'>
|
|
3303
|
+
|
|
3304
|
+
/**
|
|
3305
|
+
* Deep Input Types
|
|
3306
|
+
*/
|
|
3307
|
+
|
|
3308
|
+
|
|
3309
|
+
export type processesWhereInput = {
|
|
3310
|
+
AND?: processesWhereInput | processesWhereInput[]
|
|
3311
|
+
OR?: processesWhereInput[]
|
|
3312
|
+
NOT?: processesWhereInput | processesWhereInput[]
|
|
3313
|
+
id?: UuidFilter<"processes"> | string
|
|
3314
|
+
result?: JsonNullableFilter<"processes">
|
|
3315
|
+
status?: StringFilter<"processes"> | string
|
|
3316
|
+
error?: JsonNullableFilter<"processes">
|
|
3317
|
+
timestamp?: DateTimeFilter<"processes"> | Date | string
|
|
3318
|
+
tasks?: TasksListRelationFilter
|
|
3319
|
+
}
|
|
3320
|
+
|
|
3321
|
+
export type processesOrderByWithRelationInput = {
|
|
3322
|
+
id?: SortOrder
|
|
3323
|
+
result?: SortOrderInput | SortOrder
|
|
3324
|
+
status?: SortOrder
|
|
3325
|
+
error?: SortOrderInput | SortOrder
|
|
3326
|
+
timestamp?: SortOrder
|
|
3327
|
+
tasks?: tasksOrderByRelationAggregateInput
|
|
3328
|
+
}
|
|
3329
|
+
|
|
3330
|
+
export type processesWhereUniqueInput = Prisma.AtLeast<{
|
|
3331
|
+
id?: string
|
|
3332
|
+
AND?: processesWhereInput | processesWhereInput[]
|
|
3333
|
+
OR?: processesWhereInput[]
|
|
3334
|
+
NOT?: processesWhereInput | processesWhereInput[]
|
|
3335
|
+
result?: JsonNullableFilter<"processes">
|
|
3336
|
+
status?: StringFilter<"processes"> | string
|
|
3337
|
+
error?: JsonNullableFilter<"processes">
|
|
3338
|
+
timestamp?: DateTimeFilter<"processes"> | Date | string
|
|
3339
|
+
tasks?: TasksListRelationFilter
|
|
3340
|
+
}, "id">
|
|
3341
|
+
|
|
3342
|
+
export type processesOrderByWithAggregationInput = {
|
|
3343
|
+
id?: SortOrder
|
|
3344
|
+
result?: SortOrderInput | SortOrder
|
|
3345
|
+
status?: SortOrder
|
|
3346
|
+
error?: SortOrderInput | SortOrder
|
|
3347
|
+
timestamp?: SortOrder
|
|
3348
|
+
_count?: processesCountOrderByAggregateInput
|
|
3349
|
+
_max?: processesMaxOrderByAggregateInput
|
|
3350
|
+
_min?: processesMinOrderByAggregateInput
|
|
3351
|
+
}
|
|
3352
|
+
|
|
3353
|
+
export type processesScalarWhereWithAggregatesInput = {
|
|
3354
|
+
AND?: processesScalarWhereWithAggregatesInput | processesScalarWhereWithAggregatesInput[]
|
|
3355
|
+
OR?: processesScalarWhereWithAggregatesInput[]
|
|
3356
|
+
NOT?: processesScalarWhereWithAggregatesInput | processesScalarWhereWithAggregatesInput[]
|
|
3357
|
+
id?: UuidWithAggregatesFilter<"processes"> | string
|
|
3358
|
+
result?: JsonNullableWithAggregatesFilter<"processes">
|
|
3359
|
+
status?: StringWithAggregatesFilter<"processes"> | string
|
|
3360
|
+
error?: JsonNullableWithAggregatesFilter<"processes">
|
|
3361
|
+
timestamp?: DateTimeWithAggregatesFilter<"processes"> | Date | string
|
|
3362
|
+
}
|
|
3363
|
+
|
|
3364
|
+
export type tasksWhereInput = {
|
|
3365
|
+
AND?: tasksWhereInput | tasksWhereInput[]
|
|
3366
|
+
OR?: tasksWhereInput[]
|
|
3367
|
+
NOT?: tasksWhereInput | tasksWhereInput[]
|
|
3368
|
+
id?: UuidFilter<"tasks"> | string
|
|
3369
|
+
internal_id?: StringFilter<"tasks"> | string
|
|
3370
|
+
handler_id?: StringFilter<"tasks"> | string
|
|
3371
|
+
parent_id?: StringNullableFilter<"tasks"> | string | null
|
|
3372
|
+
process_id?: UuidFilter<"tasks"> | string
|
|
3373
|
+
inputs?: JsonNullableFilter<"tasks">
|
|
3374
|
+
result?: JsonNullableFilter<"tasks">
|
|
3375
|
+
status?: StringFilter<"tasks"> | string
|
|
3376
|
+
error?: StringNullableFilter<"tasks"> | string | null
|
|
3377
|
+
timestamp?: DateTimeFilter<"tasks"> | Date | string
|
|
3378
|
+
processes?: XOR<ProcessesScalarRelationFilter, processesWhereInput>
|
|
3379
|
+
}
|
|
3380
|
+
|
|
3381
|
+
export type tasksOrderByWithRelationInput = {
|
|
3382
|
+
id?: SortOrder
|
|
3383
|
+
internal_id?: SortOrder
|
|
3384
|
+
handler_id?: SortOrder
|
|
3385
|
+
parent_id?: SortOrderInput | SortOrder
|
|
3386
|
+
process_id?: SortOrder
|
|
3387
|
+
inputs?: SortOrderInput | SortOrder
|
|
3388
|
+
result?: SortOrderInput | SortOrder
|
|
3389
|
+
status?: SortOrder
|
|
3390
|
+
error?: SortOrderInput | SortOrder
|
|
3391
|
+
timestamp?: SortOrder
|
|
3392
|
+
processes?: processesOrderByWithRelationInput
|
|
3393
|
+
}
|
|
3394
|
+
|
|
3395
|
+
export type tasksWhereUniqueInput = Prisma.AtLeast<{
|
|
3396
|
+
id?: string
|
|
3397
|
+
AND?: tasksWhereInput | tasksWhereInput[]
|
|
3398
|
+
OR?: tasksWhereInput[]
|
|
3399
|
+
NOT?: tasksWhereInput | tasksWhereInput[]
|
|
3400
|
+
internal_id?: StringFilter<"tasks"> | string
|
|
3401
|
+
handler_id?: StringFilter<"tasks"> | string
|
|
3402
|
+
parent_id?: StringNullableFilter<"tasks"> | string | null
|
|
3403
|
+
process_id?: UuidFilter<"tasks"> | string
|
|
3404
|
+
inputs?: JsonNullableFilter<"tasks">
|
|
3405
|
+
result?: JsonNullableFilter<"tasks">
|
|
3406
|
+
status?: StringFilter<"tasks"> | string
|
|
3407
|
+
error?: StringNullableFilter<"tasks"> | string | null
|
|
3408
|
+
timestamp?: DateTimeFilter<"tasks"> | Date | string
|
|
3409
|
+
processes?: XOR<ProcessesScalarRelationFilter, processesWhereInput>
|
|
3410
|
+
}, "id">
|
|
3411
|
+
|
|
3412
|
+
export type tasksOrderByWithAggregationInput = {
|
|
3413
|
+
id?: SortOrder
|
|
3414
|
+
internal_id?: SortOrder
|
|
3415
|
+
handler_id?: SortOrder
|
|
3416
|
+
parent_id?: SortOrderInput | SortOrder
|
|
3417
|
+
process_id?: SortOrder
|
|
3418
|
+
inputs?: SortOrderInput | SortOrder
|
|
3419
|
+
result?: SortOrderInput | SortOrder
|
|
3420
|
+
status?: SortOrder
|
|
3421
|
+
error?: SortOrderInput | SortOrder
|
|
3422
|
+
timestamp?: SortOrder
|
|
3423
|
+
_count?: tasksCountOrderByAggregateInput
|
|
3424
|
+
_max?: tasksMaxOrderByAggregateInput
|
|
3425
|
+
_min?: tasksMinOrderByAggregateInput
|
|
3426
|
+
}
|
|
3427
|
+
|
|
3428
|
+
export type tasksScalarWhereWithAggregatesInput = {
|
|
3429
|
+
AND?: tasksScalarWhereWithAggregatesInput | tasksScalarWhereWithAggregatesInput[]
|
|
3430
|
+
OR?: tasksScalarWhereWithAggregatesInput[]
|
|
3431
|
+
NOT?: tasksScalarWhereWithAggregatesInput | tasksScalarWhereWithAggregatesInput[]
|
|
3432
|
+
id?: UuidWithAggregatesFilter<"tasks"> | string
|
|
3433
|
+
internal_id?: StringWithAggregatesFilter<"tasks"> | string
|
|
3434
|
+
handler_id?: StringWithAggregatesFilter<"tasks"> | string
|
|
3435
|
+
parent_id?: StringNullableWithAggregatesFilter<"tasks"> | string | null
|
|
3436
|
+
process_id?: UuidWithAggregatesFilter<"tasks"> | string
|
|
3437
|
+
inputs?: JsonNullableWithAggregatesFilter<"tasks">
|
|
3438
|
+
result?: JsonNullableWithAggregatesFilter<"tasks">
|
|
3439
|
+
status?: StringWithAggregatesFilter<"tasks"> | string
|
|
3440
|
+
error?: StringNullableWithAggregatesFilter<"tasks"> | string | null
|
|
3441
|
+
timestamp?: DateTimeWithAggregatesFilter<"tasks"> | Date | string
|
|
3442
|
+
}
|
|
3443
|
+
|
|
3444
|
+
export type processesCreateInput = {
|
|
3445
|
+
id?: string
|
|
3446
|
+
result?: NullableJsonNullValueInput | InputJsonValue
|
|
3447
|
+
status?: string
|
|
3448
|
+
error?: NullableJsonNullValueInput | InputJsonValue
|
|
3449
|
+
timestamp?: Date | string
|
|
3450
|
+
tasks?: tasksCreateNestedManyWithoutProcessesInput
|
|
3451
|
+
}
|
|
3452
|
+
|
|
3453
|
+
export type processesUncheckedCreateInput = {
|
|
3454
|
+
id?: string
|
|
3455
|
+
result?: NullableJsonNullValueInput | InputJsonValue
|
|
3456
|
+
status?: string
|
|
3457
|
+
error?: NullableJsonNullValueInput | InputJsonValue
|
|
3458
|
+
timestamp?: Date | string
|
|
3459
|
+
tasks?: tasksUncheckedCreateNestedManyWithoutProcessesInput
|
|
3460
|
+
}
|
|
3461
|
+
|
|
3462
|
+
export type processesUpdateInput = {
|
|
3463
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
3464
|
+
result?: NullableJsonNullValueInput | InputJsonValue
|
|
3465
|
+
status?: StringFieldUpdateOperationsInput | string
|
|
3466
|
+
error?: NullableJsonNullValueInput | InputJsonValue
|
|
3467
|
+
timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
3468
|
+
tasks?: tasksUpdateManyWithoutProcessesNestedInput
|
|
3469
|
+
}
|
|
3470
|
+
|
|
3471
|
+
export type processesUncheckedUpdateInput = {
|
|
3472
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
3473
|
+
result?: NullableJsonNullValueInput | InputJsonValue
|
|
3474
|
+
status?: StringFieldUpdateOperationsInput | string
|
|
3475
|
+
error?: NullableJsonNullValueInput | InputJsonValue
|
|
3476
|
+
timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
3477
|
+
tasks?: tasksUncheckedUpdateManyWithoutProcessesNestedInput
|
|
3478
|
+
}
|
|
3479
|
+
|
|
3480
|
+
export type processesCreateManyInput = {
|
|
3481
|
+
id?: string
|
|
3482
|
+
result?: NullableJsonNullValueInput | InputJsonValue
|
|
3483
|
+
status?: string
|
|
3484
|
+
error?: NullableJsonNullValueInput | InputJsonValue
|
|
3485
|
+
timestamp?: Date | string
|
|
3486
|
+
}
|
|
3487
|
+
|
|
3488
|
+
export type processesUpdateManyMutationInput = {
|
|
3489
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
3490
|
+
result?: NullableJsonNullValueInput | InputJsonValue
|
|
3491
|
+
status?: StringFieldUpdateOperationsInput | string
|
|
3492
|
+
error?: NullableJsonNullValueInput | InputJsonValue
|
|
3493
|
+
timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
3494
|
+
}
|
|
3495
|
+
|
|
3496
|
+
export type processesUncheckedUpdateManyInput = {
|
|
3497
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
3498
|
+
result?: NullableJsonNullValueInput | InputJsonValue
|
|
3499
|
+
status?: StringFieldUpdateOperationsInput | string
|
|
3500
|
+
error?: NullableJsonNullValueInput | InputJsonValue
|
|
3501
|
+
timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
3502
|
+
}
|
|
3503
|
+
|
|
3504
|
+
export type tasksCreateInput = {
|
|
3505
|
+
id?: string
|
|
3506
|
+
internal_id: string
|
|
3507
|
+
handler_id: string
|
|
3508
|
+
parent_id?: string | null
|
|
3509
|
+
inputs?: NullableJsonNullValueInput | InputJsonValue
|
|
3510
|
+
result?: NullableJsonNullValueInput | InputJsonValue
|
|
3511
|
+
status?: string
|
|
3512
|
+
error?: string | null
|
|
3513
|
+
timestamp?: Date | string
|
|
3514
|
+
processes: processesCreateNestedOneWithoutTasksInput
|
|
3515
|
+
}
|
|
3516
|
+
|
|
3517
|
+
export type tasksUncheckedCreateInput = {
|
|
3518
|
+
id?: string
|
|
3519
|
+
internal_id: string
|
|
3520
|
+
handler_id: string
|
|
3521
|
+
parent_id?: string | null
|
|
3522
|
+
process_id: string
|
|
3523
|
+
inputs?: NullableJsonNullValueInput | InputJsonValue
|
|
3524
|
+
result?: NullableJsonNullValueInput | InputJsonValue
|
|
3525
|
+
status?: string
|
|
3526
|
+
error?: string | null
|
|
3527
|
+
timestamp?: Date | string
|
|
3528
|
+
}
|
|
3529
|
+
|
|
3530
|
+
export type tasksUpdateInput = {
|
|
3531
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
3532
|
+
internal_id?: StringFieldUpdateOperationsInput | string
|
|
3533
|
+
handler_id?: StringFieldUpdateOperationsInput | string
|
|
3534
|
+
parent_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3535
|
+
inputs?: NullableJsonNullValueInput | InputJsonValue
|
|
3536
|
+
result?: NullableJsonNullValueInput | InputJsonValue
|
|
3537
|
+
status?: StringFieldUpdateOperationsInput | string
|
|
3538
|
+
error?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3539
|
+
timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
3540
|
+
processes?: processesUpdateOneRequiredWithoutTasksNestedInput
|
|
3541
|
+
}
|
|
3542
|
+
|
|
3543
|
+
export type tasksUncheckedUpdateInput = {
|
|
3544
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
3545
|
+
internal_id?: StringFieldUpdateOperationsInput | string
|
|
3546
|
+
handler_id?: StringFieldUpdateOperationsInput | string
|
|
3547
|
+
parent_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3548
|
+
process_id?: StringFieldUpdateOperationsInput | string
|
|
3549
|
+
inputs?: NullableJsonNullValueInput | InputJsonValue
|
|
3550
|
+
result?: NullableJsonNullValueInput | InputJsonValue
|
|
3551
|
+
status?: StringFieldUpdateOperationsInput | string
|
|
3552
|
+
error?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3553
|
+
timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
3554
|
+
}
|
|
3555
|
+
|
|
3556
|
+
export type tasksCreateManyInput = {
|
|
3557
|
+
id?: string
|
|
3558
|
+
internal_id: string
|
|
3559
|
+
handler_id: string
|
|
3560
|
+
parent_id?: string | null
|
|
3561
|
+
process_id: string
|
|
3562
|
+
inputs?: NullableJsonNullValueInput | InputJsonValue
|
|
3563
|
+
result?: NullableJsonNullValueInput | InputJsonValue
|
|
3564
|
+
status?: string
|
|
3565
|
+
error?: string | null
|
|
3566
|
+
timestamp?: Date | string
|
|
3567
|
+
}
|
|
3568
|
+
|
|
3569
|
+
export type tasksUpdateManyMutationInput = {
|
|
3570
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
3571
|
+
internal_id?: StringFieldUpdateOperationsInput | string
|
|
3572
|
+
handler_id?: StringFieldUpdateOperationsInput | string
|
|
3573
|
+
parent_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3574
|
+
inputs?: NullableJsonNullValueInput | InputJsonValue
|
|
3575
|
+
result?: NullableJsonNullValueInput | InputJsonValue
|
|
3576
|
+
status?: StringFieldUpdateOperationsInput | string
|
|
3577
|
+
error?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3578
|
+
timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
3579
|
+
}
|
|
3580
|
+
|
|
3581
|
+
export type tasksUncheckedUpdateManyInput = {
|
|
3582
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
3583
|
+
internal_id?: StringFieldUpdateOperationsInput | string
|
|
3584
|
+
handler_id?: StringFieldUpdateOperationsInput | string
|
|
3585
|
+
parent_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3586
|
+
process_id?: StringFieldUpdateOperationsInput | string
|
|
3587
|
+
inputs?: NullableJsonNullValueInput | InputJsonValue
|
|
3588
|
+
result?: NullableJsonNullValueInput | InputJsonValue
|
|
3589
|
+
status?: StringFieldUpdateOperationsInput | string
|
|
3590
|
+
error?: NullableStringFieldUpdateOperationsInput | string | null
|
|
3591
|
+
timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
3592
|
+
}
|
|
3593
|
+
|
|
3594
|
+
export type UuidFilter<$PrismaModel = never> = {
|
|
3595
|
+
equals?: string | StringFieldRefInput<$PrismaModel>
|
|
3596
|
+
in?: string[] | ListStringFieldRefInput<$PrismaModel>
|
|
3597
|
+
notIn?: string[] | ListStringFieldRefInput<$PrismaModel>
|
|
3598
|
+
lt?: string | StringFieldRefInput<$PrismaModel>
|
|
3599
|
+
lte?: string | StringFieldRefInput<$PrismaModel>
|
|
3600
|
+
gt?: string | StringFieldRefInput<$PrismaModel>
|
|
3601
|
+
gte?: string | StringFieldRefInput<$PrismaModel>
|
|
3602
|
+
mode?: QueryMode
|
|
3603
|
+
not?: NestedUuidFilter<$PrismaModel> | string
|
|
3604
|
+
}
|
|
3605
|
+
export type JsonNullableFilter<$PrismaModel = never> =
|
|
3606
|
+
| PatchUndefined<
|
|
3607
|
+
Either<Required<JsonNullableFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableFilterBase<$PrismaModel>>, 'path'>>,
|
|
3608
|
+
Required<JsonNullableFilterBase<$PrismaModel>>
|
|
3609
|
+
>
|
|
3610
|
+
| OptionalFlat<Omit<Required<JsonNullableFilterBase<$PrismaModel>>, 'path'>>
|
|
3611
|
+
|
|
3612
|
+
export type JsonNullableFilterBase<$PrismaModel = never> = {
|
|
3613
|
+
equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
3614
|
+
path?: string[]
|
|
3615
|
+
mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel>
|
|
3616
|
+
string_contains?: string | StringFieldRefInput<$PrismaModel>
|
|
3617
|
+
string_starts_with?: string | StringFieldRefInput<$PrismaModel>
|
|
3618
|
+
string_ends_with?: string | StringFieldRefInput<$PrismaModel>
|
|
3619
|
+
array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
3620
|
+
array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
3621
|
+
array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
3622
|
+
lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
3623
|
+
lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
3624
|
+
gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
3625
|
+
gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
3626
|
+
not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
3627
|
+
}
|
|
3628
|
+
|
|
3629
|
+
export type StringFilter<$PrismaModel = never> = {
|
|
3630
|
+
equals?: string | StringFieldRefInput<$PrismaModel>
|
|
3631
|
+
in?: string[] | ListStringFieldRefInput<$PrismaModel>
|
|
3632
|
+
notIn?: string[] | ListStringFieldRefInput<$PrismaModel>
|
|
3633
|
+
lt?: string | StringFieldRefInput<$PrismaModel>
|
|
3634
|
+
lte?: string | StringFieldRefInput<$PrismaModel>
|
|
3635
|
+
gt?: string | StringFieldRefInput<$PrismaModel>
|
|
3636
|
+
gte?: string | StringFieldRefInput<$PrismaModel>
|
|
3637
|
+
contains?: string | StringFieldRefInput<$PrismaModel>
|
|
3638
|
+
startsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
3639
|
+
endsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
3640
|
+
mode?: QueryMode
|
|
3641
|
+
not?: NestedStringFilter<$PrismaModel> | string
|
|
3642
|
+
}
|
|
3643
|
+
|
|
3644
|
+
export type DateTimeFilter<$PrismaModel = never> = {
|
|
3645
|
+
equals?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
3646
|
+
in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>
|
|
3647
|
+
notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>
|
|
3648
|
+
lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
3649
|
+
lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
3650
|
+
gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
3651
|
+
gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
3652
|
+
not?: NestedDateTimeFilter<$PrismaModel> | Date | string
|
|
3653
|
+
}
|
|
3654
|
+
|
|
3655
|
+
export type TasksListRelationFilter = {
|
|
3656
|
+
every?: tasksWhereInput
|
|
3657
|
+
some?: tasksWhereInput
|
|
3658
|
+
none?: tasksWhereInput
|
|
3659
|
+
}
|
|
3660
|
+
|
|
3661
|
+
export type SortOrderInput = {
|
|
3662
|
+
sort: SortOrder
|
|
3663
|
+
nulls?: NullsOrder
|
|
3664
|
+
}
|
|
3665
|
+
|
|
3666
|
+
export type tasksOrderByRelationAggregateInput = {
|
|
3667
|
+
_count?: SortOrder
|
|
3668
|
+
}
|
|
3669
|
+
|
|
3670
|
+
export type processesCountOrderByAggregateInput = {
|
|
3671
|
+
id?: SortOrder
|
|
3672
|
+
result?: SortOrder
|
|
3673
|
+
status?: SortOrder
|
|
3674
|
+
error?: SortOrder
|
|
3675
|
+
timestamp?: SortOrder
|
|
3676
|
+
}
|
|
3677
|
+
|
|
3678
|
+
export type processesMaxOrderByAggregateInput = {
|
|
3679
|
+
id?: SortOrder
|
|
3680
|
+
status?: SortOrder
|
|
3681
|
+
timestamp?: SortOrder
|
|
3682
|
+
}
|
|
3683
|
+
|
|
3684
|
+
export type processesMinOrderByAggregateInput = {
|
|
3685
|
+
id?: SortOrder
|
|
3686
|
+
status?: SortOrder
|
|
3687
|
+
timestamp?: SortOrder
|
|
3688
|
+
}
|
|
3689
|
+
|
|
3690
|
+
export type UuidWithAggregatesFilter<$PrismaModel = never> = {
|
|
3691
|
+
equals?: string | StringFieldRefInput<$PrismaModel>
|
|
3692
|
+
in?: string[] | ListStringFieldRefInput<$PrismaModel>
|
|
3693
|
+
notIn?: string[] | ListStringFieldRefInput<$PrismaModel>
|
|
3694
|
+
lt?: string | StringFieldRefInput<$PrismaModel>
|
|
3695
|
+
lte?: string | StringFieldRefInput<$PrismaModel>
|
|
3696
|
+
gt?: string | StringFieldRefInput<$PrismaModel>
|
|
3697
|
+
gte?: string | StringFieldRefInput<$PrismaModel>
|
|
3698
|
+
mode?: QueryMode
|
|
3699
|
+
not?: NestedUuidWithAggregatesFilter<$PrismaModel> | string
|
|
3700
|
+
_count?: NestedIntFilter<$PrismaModel>
|
|
3701
|
+
_min?: NestedStringFilter<$PrismaModel>
|
|
3702
|
+
_max?: NestedStringFilter<$PrismaModel>
|
|
3703
|
+
}
|
|
3704
|
+
export type JsonNullableWithAggregatesFilter<$PrismaModel = never> =
|
|
3705
|
+
| PatchUndefined<
|
|
3706
|
+
Either<Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, Exclude<keyof Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, 'path'>>,
|
|
3707
|
+
Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>
|
|
3708
|
+
>
|
|
3709
|
+
| OptionalFlat<Omit<Required<JsonNullableWithAggregatesFilterBase<$PrismaModel>>, 'path'>>
|
|
3710
|
+
|
|
3711
|
+
export type JsonNullableWithAggregatesFilterBase<$PrismaModel = never> = {
|
|
3712
|
+
equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
3713
|
+
path?: string[]
|
|
3714
|
+
mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel>
|
|
3715
|
+
string_contains?: string | StringFieldRefInput<$PrismaModel>
|
|
3716
|
+
string_starts_with?: string | StringFieldRefInput<$PrismaModel>
|
|
3717
|
+
string_ends_with?: string | StringFieldRefInput<$PrismaModel>
|
|
3718
|
+
array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
3719
|
+
array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
3720
|
+
array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
3721
|
+
lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
3722
|
+
lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
3723
|
+
gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
3724
|
+
gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
3725
|
+
not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
3726
|
+
_count?: NestedIntNullableFilter<$PrismaModel>
|
|
3727
|
+
_min?: NestedJsonNullableFilter<$PrismaModel>
|
|
3728
|
+
_max?: NestedJsonNullableFilter<$PrismaModel>
|
|
3729
|
+
}
|
|
3730
|
+
|
|
3731
|
+
export type StringWithAggregatesFilter<$PrismaModel = never> = {
|
|
3732
|
+
equals?: string | StringFieldRefInput<$PrismaModel>
|
|
3733
|
+
in?: string[] | ListStringFieldRefInput<$PrismaModel>
|
|
3734
|
+
notIn?: string[] | ListStringFieldRefInput<$PrismaModel>
|
|
3735
|
+
lt?: string | StringFieldRefInput<$PrismaModel>
|
|
3736
|
+
lte?: string | StringFieldRefInput<$PrismaModel>
|
|
3737
|
+
gt?: string | StringFieldRefInput<$PrismaModel>
|
|
3738
|
+
gte?: string | StringFieldRefInput<$PrismaModel>
|
|
3739
|
+
contains?: string | StringFieldRefInput<$PrismaModel>
|
|
3740
|
+
startsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
3741
|
+
endsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
3742
|
+
mode?: QueryMode
|
|
3743
|
+
not?: NestedStringWithAggregatesFilter<$PrismaModel> | string
|
|
3744
|
+
_count?: NestedIntFilter<$PrismaModel>
|
|
3745
|
+
_min?: NestedStringFilter<$PrismaModel>
|
|
3746
|
+
_max?: NestedStringFilter<$PrismaModel>
|
|
3747
|
+
}
|
|
3748
|
+
|
|
3749
|
+
export type DateTimeWithAggregatesFilter<$PrismaModel = never> = {
|
|
3750
|
+
equals?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
3751
|
+
in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>
|
|
3752
|
+
notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>
|
|
3753
|
+
lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
3754
|
+
lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
3755
|
+
gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
3756
|
+
gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
3757
|
+
not?: NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string
|
|
3758
|
+
_count?: NestedIntFilter<$PrismaModel>
|
|
3759
|
+
_min?: NestedDateTimeFilter<$PrismaModel>
|
|
3760
|
+
_max?: NestedDateTimeFilter<$PrismaModel>
|
|
3761
|
+
}
|
|
3762
|
+
|
|
3763
|
+
export type StringNullableFilter<$PrismaModel = never> = {
|
|
3764
|
+
equals?: string | StringFieldRefInput<$PrismaModel> | null
|
|
3765
|
+
in?: string[] | ListStringFieldRefInput<$PrismaModel> | null
|
|
3766
|
+
notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null
|
|
3767
|
+
lt?: string | StringFieldRefInput<$PrismaModel>
|
|
3768
|
+
lte?: string | StringFieldRefInput<$PrismaModel>
|
|
3769
|
+
gt?: string | StringFieldRefInput<$PrismaModel>
|
|
3770
|
+
gte?: string | StringFieldRefInput<$PrismaModel>
|
|
3771
|
+
contains?: string | StringFieldRefInput<$PrismaModel>
|
|
3772
|
+
startsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
3773
|
+
endsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
3774
|
+
mode?: QueryMode
|
|
3775
|
+
not?: NestedStringNullableFilter<$PrismaModel> | string | null
|
|
3776
|
+
}
|
|
3777
|
+
|
|
3778
|
+
export type ProcessesScalarRelationFilter = {
|
|
3779
|
+
is?: processesWhereInput
|
|
3780
|
+
isNot?: processesWhereInput
|
|
3781
|
+
}
|
|
3782
|
+
|
|
3783
|
+
export type tasksCountOrderByAggregateInput = {
|
|
3784
|
+
id?: SortOrder
|
|
3785
|
+
internal_id?: SortOrder
|
|
3786
|
+
handler_id?: SortOrder
|
|
3787
|
+
parent_id?: SortOrder
|
|
3788
|
+
process_id?: SortOrder
|
|
3789
|
+
inputs?: SortOrder
|
|
3790
|
+
result?: SortOrder
|
|
3791
|
+
status?: SortOrder
|
|
3792
|
+
error?: SortOrder
|
|
3793
|
+
timestamp?: SortOrder
|
|
3794
|
+
}
|
|
3795
|
+
|
|
3796
|
+
export type tasksMaxOrderByAggregateInput = {
|
|
3797
|
+
id?: SortOrder
|
|
3798
|
+
internal_id?: SortOrder
|
|
3799
|
+
handler_id?: SortOrder
|
|
3800
|
+
parent_id?: SortOrder
|
|
3801
|
+
process_id?: SortOrder
|
|
3802
|
+
status?: SortOrder
|
|
3803
|
+
error?: SortOrder
|
|
3804
|
+
timestamp?: SortOrder
|
|
3805
|
+
}
|
|
3806
|
+
|
|
3807
|
+
export type tasksMinOrderByAggregateInput = {
|
|
3808
|
+
id?: SortOrder
|
|
3809
|
+
internal_id?: SortOrder
|
|
3810
|
+
handler_id?: SortOrder
|
|
3811
|
+
parent_id?: SortOrder
|
|
3812
|
+
process_id?: SortOrder
|
|
3813
|
+
status?: SortOrder
|
|
3814
|
+
error?: SortOrder
|
|
3815
|
+
timestamp?: SortOrder
|
|
3816
|
+
}
|
|
3817
|
+
|
|
3818
|
+
export type StringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
3819
|
+
equals?: string | StringFieldRefInput<$PrismaModel> | null
|
|
3820
|
+
in?: string[] | ListStringFieldRefInput<$PrismaModel> | null
|
|
3821
|
+
notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null
|
|
3822
|
+
lt?: string | StringFieldRefInput<$PrismaModel>
|
|
3823
|
+
lte?: string | StringFieldRefInput<$PrismaModel>
|
|
3824
|
+
gt?: string | StringFieldRefInput<$PrismaModel>
|
|
3825
|
+
gte?: string | StringFieldRefInput<$PrismaModel>
|
|
3826
|
+
contains?: string | StringFieldRefInput<$PrismaModel>
|
|
3827
|
+
startsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
3828
|
+
endsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
3829
|
+
mode?: QueryMode
|
|
3830
|
+
not?: NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null
|
|
3831
|
+
_count?: NestedIntNullableFilter<$PrismaModel>
|
|
3832
|
+
_min?: NestedStringNullableFilter<$PrismaModel>
|
|
3833
|
+
_max?: NestedStringNullableFilter<$PrismaModel>
|
|
3834
|
+
}
|
|
3835
|
+
|
|
3836
|
+
export type tasksCreateNestedManyWithoutProcessesInput = {
|
|
3837
|
+
create?: XOR<tasksCreateWithoutProcessesInput, tasksUncheckedCreateWithoutProcessesInput> | tasksCreateWithoutProcessesInput[] | tasksUncheckedCreateWithoutProcessesInput[]
|
|
3838
|
+
connectOrCreate?: tasksCreateOrConnectWithoutProcessesInput | tasksCreateOrConnectWithoutProcessesInput[]
|
|
3839
|
+
createMany?: tasksCreateManyProcessesInputEnvelope
|
|
3840
|
+
connect?: tasksWhereUniqueInput | tasksWhereUniqueInput[]
|
|
3841
|
+
}
|
|
3842
|
+
|
|
3843
|
+
export type tasksUncheckedCreateNestedManyWithoutProcessesInput = {
|
|
3844
|
+
create?: XOR<tasksCreateWithoutProcessesInput, tasksUncheckedCreateWithoutProcessesInput> | tasksCreateWithoutProcessesInput[] | tasksUncheckedCreateWithoutProcessesInput[]
|
|
3845
|
+
connectOrCreate?: tasksCreateOrConnectWithoutProcessesInput | tasksCreateOrConnectWithoutProcessesInput[]
|
|
3846
|
+
createMany?: tasksCreateManyProcessesInputEnvelope
|
|
3847
|
+
connect?: tasksWhereUniqueInput | tasksWhereUniqueInput[]
|
|
3848
|
+
}
|
|
3849
|
+
|
|
3850
|
+
export type StringFieldUpdateOperationsInput = {
|
|
3851
|
+
set?: string
|
|
3852
|
+
}
|
|
3853
|
+
|
|
3854
|
+
export type DateTimeFieldUpdateOperationsInput = {
|
|
3855
|
+
set?: Date | string
|
|
3856
|
+
}
|
|
3857
|
+
|
|
3858
|
+
export type tasksUpdateManyWithoutProcessesNestedInput = {
|
|
3859
|
+
create?: XOR<tasksCreateWithoutProcessesInput, tasksUncheckedCreateWithoutProcessesInput> | tasksCreateWithoutProcessesInput[] | tasksUncheckedCreateWithoutProcessesInput[]
|
|
3860
|
+
connectOrCreate?: tasksCreateOrConnectWithoutProcessesInput | tasksCreateOrConnectWithoutProcessesInput[]
|
|
3861
|
+
upsert?: tasksUpsertWithWhereUniqueWithoutProcessesInput | tasksUpsertWithWhereUniqueWithoutProcessesInput[]
|
|
3862
|
+
createMany?: tasksCreateManyProcessesInputEnvelope
|
|
3863
|
+
set?: tasksWhereUniqueInput | tasksWhereUniqueInput[]
|
|
3864
|
+
disconnect?: tasksWhereUniqueInput | tasksWhereUniqueInput[]
|
|
3865
|
+
delete?: tasksWhereUniqueInput | tasksWhereUniqueInput[]
|
|
3866
|
+
connect?: tasksWhereUniqueInput | tasksWhereUniqueInput[]
|
|
3867
|
+
update?: tasksUpdateWithWhereUniqueWithoutProcessesInput | tasksUpdateWithWhereUniqueWithoutProcessesInput[]
|
|
3868
|
+
updateMany?: tasksUpdateManyWithWhereWithoutProcessesInput | tasksUpdateManyWithWhereWithoutProcessesInput[]
|
|
3869
|
+
deleteMany?: tasksScalarWhereInput | tasksScalarWhereInput[]
|
|
3870
|
+
}
|
|
3871
|
+
|
|
3872
|
+
export type tasksUncheckedUpdateManyWithoutProcessesNestedInput = {
|
|
3873
|
+
create?: XOR<tasksCreateWithoutProcessesInput, tasksUncheckedCreateWithoutProcessesInput> | tasksCreateWithoutProcessesInput[] | tasksUncheckedCreateWithoutProcessesInput[]
|
|
3874
|
+
connectOrCreate?: tasksCreateOrConnectWithoutProcessesInput | tasksCreateOrConnectWithoutProcessesInput[]
|
|
3875
|
+
upsert?: tasksUpsertWithWhereUniqueWithoutProcessesInput | tasksUpsertWithWhereUniqueWithoutProcessesInput[]
|
|
3876
|
+
createMany?: tasksCreateManyProcessesInputEnvelope
|
|
3877
|
+
set?: tasksWhereUniqueInput | tasksWhereUniqueInput[]
|
|
3878
|
+
disconnect?: tasksWhereUniqueInput | tasksWhereUniqueInput[]
|
|
3879
|
+
delete?: tasksWhereUniqueInput | tasksWhereUniqueInput[]
|
|
3880
|
+
connect?: tasksWhereUniqueInput | tasksWhereUniqueInput[]
|
|
3881
|
+
update?: tasksUpdateWithWhereUniqueWithoutProcessesInput | tasksUpdateWithWhereUniqueWithoutProcessesInput[]
|
|
3882
|
+
updateMany?: tasksUpdateManyWithWhereWithoutProcessesInput | tasksUpdateManyWithWhereWithoutProcessesInput[]
|
|
3883
|
+
deleteMany?: tasksScalarWhereInput | tasksScalarWhereInput[]
|
|
3884
|
+
}
|
|
3885
|
+
|
|
3886
|
+
export type processesCreateNestedOneWithoutTasksInput = {
|
|
3887
|
+
create?: XOR<processesCreateWithoutTasksInput, processesUncheckedCreateWithoutTasksInput>
|
|
3888
|
+
connectOrCreate?: processesCreateOrConnectWithoutTasksInput
|
|
3889
|
+
connect?: processesWhereUniqueInput
|
|
3890
|
+
}
|
|
3891
|
+
|
|
3892
|
+
export type NullableStringFieldUpdateOperationsInput = {
|
|
3893
|
+
set?: string | null
|
|
3894
|
+
}
|
|
3895
|
+
|
|
3896
|
+
export type processesUpdateOneRequiredWithoutTasksNestedInput = {
|
|
3897
|
+
create?: XOR<processesCreateWithoutTasksInput, processesUncheckedCreateWithoutTasksInput>
|
|
3898
|
+
connectOrCreate?: processesCreateOrConnectWithoutTasksInput
|
|
3899
|
+
upsert?: processesUpsertWithoutTasksInput
|
|
3900
|
+
connect?: processesWhereUniqueInput
|
|
3901
|
+
update?: XOR<XOR<processesUpdateToOneWithWhereWithoutTasksInput, processesUpdateWithoutTasksInput>, processesUncheckedUpdateWithoutTasksInput>
|
|
3902
|
+
}
|
|
3903
|
+
|
|
3904
|
+
export type NestedUuidFilter<$PrismaModel = never> = {
|
|
3905
|
+
equals?: string | StringFieldRefInput<$PrismaModel>
|
|
3906
|
+
in?: string[] | ListStringFieldRefInput<$PrismaModel>
|
|
3907
|
+
notIn?: string[] | ListStringFieldRefInput<$PrismaModel>
|
|
3908
|
+
lt?: string | StringFieldRefInput<$PrismaModel>
|
|
3909
|
+
lte?: string | StringFieldRefInput<$PrismaModel>
|
|
3910
|
+
gt?: string | StringFieldRefInput<$PrismaModel>
|
|
3911
|
+
gte?: string | StringFieldRefInput<$PrismaModel>
|
|
3912
|
+
not?: NestedUuidFilter<$PrismaModel> | string
|
|
3913
|
+
}
|
|
3914
|
+
|
|
3915
|
+
export type NestedStringFilter<$PrismaModel = never> = {
|
|
3916
|
+
equals?: string | StringFieldRefInput<$PrismaModel>
|
|
3917
|
+
in?: string[] | ListStringFieldRefInput<$PrismaModel>
|
|
3918
|
+
notIn?: string[] | ListStringFieldRefInput<$PrismaModel>
|
|
3919
|
+
lt?: string | StringFieldRefInput<$PrismaModel>
|
|
3920
|
+
lte?: string | StringFieldRefInput<$PrismaModel>
|
|
3921
|
+
gt?: string | StringFieldRefInput<$PrismaModel>
|
|
3922
|
+
gte?: string | StringFieldRefInput<$PrismaModel>
|
|
3923
|
+
contains?: string | StringFieldRefInput<$PrismaModel>
|
|
3924
|
+
startsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
3925
|
+
endsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
3926
|
+
not?: NestedStringFilter<$PrismaModel> | string
|
|
3927
|
+
}
|
|
3928
|
+
|
|
3929
|
+
export type NestedDateTimeFilter<$PrismaModel = never> = {
|
|
3930
|
+
equals?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
3931
|
+
in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>
|
|
3932
|
+
notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>
|
|
3933
|
+
lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
3934
|
+
lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
3935
|
+
gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
3936
|
+
gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
3937
|
+
not?: NestedDateTimeFilter<$PrismaModel> | Date | string
|
|
3938
|
+
}
|
|
3939
|
+
|
|
3940
|
+
export type NestedUuidWithAggregatesFilter<$PrismaModel = never> = {
|
|
3941
|
+
equals?: string | StringFieldRefInput<$PrismaModel>
|
|
3942
|
+
in?: string[] | ListStringFieldRefInput<$PrismaModel>
|
|
3943
|
+
notIn?: string[] | ListStringFieldRefInput<$PrismaModel>
|
|
3944
|
+
lt?: string | StringFieldRefInput<$PrismaModel>
|
|
3945
|
+
lte?: string | StringFieldRefInput<$PrismaModel>
|
|
3946
|
+
gt?: string | StringFieldRefInput<$PrismaModel>
|
|
3947
|
+
gte?: string | StringFieldRefInput<$PrismaModel>
|
|
3948
|
+
not?: NestedUuidWithAggregatesFilter<$PrismaModel> | string
|
|
3949
|
+
_count?: NestedIntFilter<$PrismaModel>
|
|
3950
|
+
_min?: NestedStringFilter<$PrismaModel>
|
|
3951
|
+
_max?: NestedStringFilter<$PrismaModel>
|
|
3952
|
+
}
|
|
3953
|
+
|
|
3954
|
+
export type NestedIntFilter<$PrismaModel = never> = {
|
|
3955
|
+
equals?: number | IntFieldRefInput<$PrismaModel>
|
|
3956
|
+
in?: number[] | ListIntFieldRefInput<$PrismaModel>
|
|
3957
|
+
notIn?: number[] | ListIntFieldRefInput<$PrismaModel>
|
|
3958
|
+
lt?: number | IntFieldRefInput<$PrismaModel>
|
|
3959
|
+
lte?: number | IntFieldRefInput<$PrismaModel>
|
|
3960
|
+
gt?: number | IntFieldRefInput<$PrismaModel>
|
|
3961
|
+
gte?: number | IntFieldRefInput<$PrismaModel>
|
|
3962
|
+
not?: NestedIntFilter<$PrismaModel> | number
|
|
3963
|
+
}
|
|
3964
|
+
|
|
3965
|
+
export type NestedIntNullableFilter<$PrismaModel = never> = {
|
|
3966
|
+
equals?: number | IntFieldRefInput<$PrismaModel> | null
|
|
3967
|
+
in?: number[] | ListIntFieldRefInput<$PrismaModel> | null
|
|
3968
|
+
notIn?: number[] | ListIntFieldRefInput<$PrismaModel> | null
|
|
3969
|
+
lt?: number | IntFieldRefInput<$PrismaModel>
|
|
3970
|
+
lte?: number | IntFieldRefInput<$PrismaModel>
|
|
3971
|
+
gt?: number | IntFieldRefInput<$PrismaModel>
|
|
3972
|
+
gte?: number | IntFieldRefInput<$PrismaModel>
|
|
3973
|
+
not?: NestedIntNullableFilter<$PrismaModel> | number | null
|
|
3974
|
+
}
|
|
3975
|
+
export type NestedJsonNullableFilter<$PrismaModel = never> =
|
|
3976
|
+
| PatchUndefined<
|
|
3977
|
+
Either<Required<NestedJsonNullableFilterBase<$PrismaModel>>, Exclude<keyof Required<NestedJsonNullableFilterBase<$PrismaModel>>, 'path'>>,
|
|
3978
|
+
Required<NestedJsonNullableFilterBase<$PrismaModel>>
|
|
3979
|
+
>
|
|
3980
|
+
| OptionalFlat<Omit<Required<NestedJsonNullableFilterBase<$PrismaModel>>, 'path'>>
|
|
3981
|
+
|
|
3982
|
+
export type NestedJsonNullableFilterBase<$PrismaModel = never> = {
|
|
3983
|
+
equals?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
3984
|
+
path?: string[]
|
|
3985
|
+
mode?: QueryMode | EnumQueryModeFieldRefInput<$PrismaModel>
|
|
3986
|
+
string_contains?: string | StringFieldRefInput<$PrismaModel>
|
|
3987
|
+
string_starts_with?: string | StringFieldRefInput<$PrismaModel>
|
|
3988
|
+
string_ends_with?: string | StringFieldRefInput<$PrismaModel>
|
|
3989
|
+
array_starts_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
3990
|
+
array_ends_with?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
3991
|
+
array_contains?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | null
|
|
3992
|
+
lt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
3993
|
+
lte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
3994
|
+
gt?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
3995
|
+
gte?: InputJsonValue | JsonFieldRefInput<$PrismaModel>
|
|
3996
|
+
not?: InputJsonValue | JsonFieldRefInput<$PrismaModel> | JsonNullValueFilter
|
|
3997
|
+
}
|
|
3998
|
+
|
|
3999
|
+
export type NestedStringWithAggregatesFilter<$PrismaModel = never> = {
|
|
4000
|
+
equals?: string | StringFieldRefInput<$PrismaModel>
|
|
4001
|
+
in?: string[] | ListStringFieldRefInput<$PrismaModel>
|
|
4002
|
+
notIn?: string[] | ListStringFieldRefInput<$PrismaModel>
|
|
4003
|
+
lt?: string | StringFieldRefInput<$PrismaModel>
|
|
4004
|
+
lte?: string | StringFieldRefInput<$PrismaModel>
|
|
4005
|
+
gt?: string | StringFieldRefInput<$PrismaModel>
|
|
4006
|
+
gte?: string | StringFieldRefInput<$PrismaModel>
|
|
4007
|
+
contains?: string | StringFieldRefInput<$PrismaModel>
|
|
4008
|
+
startsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
4009
|
+
endsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
4010
|
+
not?: NestedStringWithAggregatesFilter<$PrismaModel> | string
|
|
4011
|
+
_count?: NestedIntFilter<$PrismaModel>
|
|
4012
|
+
_min?: NestedStringFilter<$PrismaModel>
|
|
4013
|
+
_max?: NestedStringFilter<$PrismaModel>
|
|
4014
|
+
}
|
|
4015
|
+
|
|
4016
|
+
export type NestedDateTimeWithAggregatesFilter<$PrismaModel = never> = {
|
|
4017
|
+
equals?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
4018
|
+
in?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>
|
|
4019
|
+
notIn?: Date[] | string[] | ListDateTimeFieldRefInput<$PrismaModel>
|
|
4020
|
+
lt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
4021
|
+
lte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
4022
|
+
gt?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
4023
|
+
gte?: Date | string | DateTimeFieldRefInput<$PrismaModel>
|
|
4024
|
+
not?: NestedDateTimeWithAggregatesFilter<$PrismaModel> | Date | string
|
|
4025
|
+
_count?: NestedIntFilter<$PrismaModel>
|
|
4026
|
+
_min?: NestedDateTimeFilter<$PrismaModel>
|
|
4027
|
+
_max?: NestedDateTimeFilter<$PrismaModel>
|
|
4028
|
+
}
|
|
4029
|
+
|
|
4030
|
+
export type NestedStringNullableFilter<$PrismaModel = never> = {
|
|
4031
|
+
equals?: string | StringFieldRefInput<$PrismaModel> | null
|
|
4032
|
+
in?: string[] | ListStringFieldRefInput<$PrismaModel> | null
|
|
4033
|
+
notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null
|
|
4034
|
+
lt?: string | StringFieldRefInput<$PrismaModel>
|
|
4035
|
+
lte?: string | StringFieldRefInput<$PrismaModel>
|
|
4036
|
+
gt?: string | StringFieldRefInput<$PrismaModel>
|
|
4037
|
+
gte?: string | StringFieldRefInput<$PrismaModel>
|
|
4038
|
+
contains?: string | StringFieldRefInput<$PrismaModel>
|
|
4039
|
+
startsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
4040
|
+
endsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
4041
|
+
not?: NestedStringNullableFilter<$PrismaModel> | string | null
|
|
4042
|
+
}
|
|
4043
|
+
|
|
4044
|
+
export type NestedStringNullableWithAggregatesFilter<$PrismaModel = never> = {
|
|
4045
|
+
equals?: string | StringFieldRefInput<$PrismaModel> | null
|
|
4046
|
+
in?: string[] | ListStringFieldRefInput<$PrismaModel> | null
|
|
4047
|
+
notIn?: string[] | ListStringFieldRefInput<$PrismaModel> | null
|
|
4048
|
+
lt?: string | StringFieldRefInput<$PrismaModel>
|
|
4049
|
+
lte?: string | StringFieldRefInput<$PrismaModel>
|
|
4050
|
+
gt?: string | StringFieldRefInput<$PrismaModel>
|
|
4051
|
+
gte?: string | StringFieldRefInput<$PrismaModel>
|
|
4052
|
+
contains?: string | StringFieldRefInput<$PrismaModel>
|
|
4053
|
+
startsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
4054
|
+
endsWith?: string | StringFieldRefInput<$PrismaModel>
|
|
4055
|
+
not?: NestedStringNullableWithAggregatesFilter<$PrismaModel> | string | null
|
|
4056
|
+
_count?: NestedIntNullableFilter<$PrismaModel>
|
|
4057
|
+
_min?: NestedStringNullableFilter<$PrismaModel>
|
|
4058
|
+
_max?: NestedStringNullableFilter<$PrismaModel>
|
|
4059
|
+
}
|
|
4060
|
+
|
|
4061
|
+
export type tasksCreateWithoutProcessesInput = {
|
|
4062
|
+
id?: string
|
|
4063
|
+
internal_id: string
|
|
4064
|
+
handler_id: string
|
|
4065
|
+
parent_id?: string | null
|
|
4066
|
+
inputs?: NullableJsonNullValueInput | InputJsonValue
|
|
4067
|
+
result?: NullableJsonNullValueInput | InputJsonValue
|
|
4068
|
+
status?: string
|
|
4069
|
+
error?: string | null
|
|
4070
|
+
timestamp?: Date | string
|
|
4071
|
+
}
|
|
4072
|
+
|
|
4073
|
+
export type tasksUncheckedCreateWithoutProcessesInput = {
|
|
4074
|
+
id?: string
|
|
4075
|
+
internal_id: string
|
|
4076
|
+
handler_id: string
|
|
4077
|
+
parent_id?: string | null
|
|
4078
|
+
inputs?: NullableJsonNullValueInput | InputJsonValue
|
|
4079
|
+
result?: NullableJsonNullValueInput | InputJsonValue
|
|
4080
|
+
status?: string
|
|
4081
|
+
error?: string | null
|
|
4082
|
+
timestamp?: Date | string
|
|
4083
|
+
}
|
|
4084
|
+
|
|
4085
|
+
export type tasksCreateOrConnectWithoutProcessesInput = {
|
|
4086
|
+
where: tasksWhereUniqueInput
|
|
4087
|
+
create: XOR<tasksCreateWithoutProcessesInput, tasksUncheckedCreateWithoutProcessesInput>
|
|
4088
|
+
}
|
|
4089
|
+
|
|
4090
|
+
export type tasksCreateManyProcessesInputEnvelope = {
|
|
4091
|
+
data: tasksCreateManyProcessesInput | tasksCreateManyProcessesInput[]
|
|
4092
|
+
skipDuplicates?: boolean
|
|
4093
|
+
}
|
|
4094
|
+
|
|
4095
|
+
export type tasksUpsertWithWhereUniqueWithoutProcessesInput = {
|
|
4096
|
+
where: tasksWhereUniqueInput
|
|
4097
|
+
update: XOR<tasksUpdateWithoutProcessesInput, tasksUncheckedUpdateWithoutProcessesInput>
|
|
4098
|
+
create: XOR<tasksCreateWithoutProcessesInput, tasksUncheckedCreateWithoutProcessesInput>
|
|
4099
|
+
}
|
|
4100
|
+
|
|
4101
|
+
export type tasksUpdateWithWhereUniqueWithoutProcessesInput = {
|
|
4102
|
+
where: tasksWhereUniqueInput
|
|
4103
|
+
data: XOR<tasksUpdateWithoutProcessesInput, tasksUncheckedUpdateWithoutProcessesInput>
|
|
4104
|
+
}
|
|
4105
|
+
|
|
4106
|
+
export type tasksUpdateManyWithWhereWithoutProcessesInput = {
|
|
4107
|
+
where: tasksScalarWhereInput
|
|
4108
|
+
data: XOR<tasksUpdateManyMutationInput, tasksUncheckedUpdateManyWithoutProcessesInput>
|
|
4109
|
+
}
|
|
4110
|
+
|
|
4111
|
+
export type tasksScalarWhereInput = {
|
|
4112
|
+
AND?: tasksScalarWhereInput | tasksScalarWhereInput[]
|
|
4113
|
+
OR?: tasksScalarWhereInput[]
|
|
4114
|
+
NOT?: tasksScalarWhereInput | tasksScalarWhereInput[]
|
|
4115
|
+
id?: UuidFilter<"tasks"> | string
|
|
4116
|
+
internal_id?: StringFilter<"tasks"> | string
|
|
4117
|
+
handler_id?: StringFilter<"tasks"> | string
|
|
4118
|
+
parent_id?: StringNullableFilter<"tasks"> | string | null
|
|
4119
|
+
process_id?: UuidFilter<"tasks"> | string
|
|
4120
|
+
inputs?: JsonNullableFilter<"tasks">
|
|
4121
|
+
result?: JsonNullableFilter<"tasks">
|
|
4122
|
+
status?: StringFilter<"tasks"> | string
|
|
4123
|
+
error?: StringNullableFilter<"tasks"> | string | null
|
|
4124
|
+
timestamp?: DateTimeFilter<"tasks"> | Date | string
|
|
4125
|
+
}
|
|
4126
|
+
|
|
4127
|
+
export type processesCreateWithoutTasksInput = {
|
|
4128
|
+
id?: string
|
|
4129
|
+
result?: NullableJsonNullValueInput | InputJsonValue
|
|
4130
|
+
status?: string
|
|
4131
|
+
error?: NullableJsonNullValueInput | InputJsonValue
|
|
4132
|
+
timestamp?: Date | string
|
|
4133
|
+
}
|
|
4134
|
+
|
|
4135
|
+
export type processesUncheckedCreateWithoutTasksInput = {
|
|
4136
|
+
id?: string
|
|
4137
|
+
result?: NullableJsonNullValueInput | InputJsonValue
|
|
4138
|
+
status?: string
|
|
4139
|
+
error?: NullableJsonNullValueInput | InputJsonValue
|
|
4140
|
+
timestamp?: Date | string
|
|
4141
|
+
}
|
|
4142
|
+
|
|
4143
|
+
export type processesCreateOrConnectWithoutTasksInput = {
|
|
4144
|
+
where: processesWhereUniqueInput
|
|
4145
|
+
create: XOR<processesCreateWithoutTasksInput, processesUncheckedCreateWithoutTasksInput>
|
|
4146
|
+
}
|
|
4147
|
+
|
|
4148
|
+
export type processesUpsertWithoutTasksInput = {
|
|
4149
|
+
update: XOR<processesUpdateWithoutTasksInput, processesUncheckedUpdateWithoutTasksInput>
|
|
4150
|
+
create: XOR<processesCreateWithoutTasksInput, processesUncheckedCreateWithoutTasksInput>
|
|
4151
|
+
where?: processesWhereInput
|
|
4152
|
+
}
|
|
4153
|
+
|
|
4154
|
+
export type processesUpdateToOneWithWhereWithoutTasksInput = {
|
|
4155
|
+
where?: processesWhereInput
|
|
4156
|
+
data: XOR<processesUpdateWithoutTasksInput, processesUncheckedUpdateWithoutTasksInput>
|
|
4157
|
+
}
|
|
4158
|
+
|
|
4159
|
+
export type processesUpdateWithoutTasksInput = {
|
|
4160
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
4161
|
+
result?: NullableJsonNullValueInput | InputJsonValue
|
|
4162
|
+
status?: StringFieldUpdateOperationsInput | string
|
|
4163
|
+
error?: NullableJsonNullValueInput | InputJsonValue
|
|
4164
|
+
timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
4165
|
+
}
|
|
4166
|
+
|
|
4167
|
+
export type processesUncheckedUpdateWithoutTasksInput = {
|
|
4168
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
4169
|
+
result?: NullableJsonNullValueInput | InputJsonValue
|
|
4170
|
+
status?: StringFieldUpdateOperationsInput | string
|
|
4171
|
+
error?: NullableJsonNullValueInput | InputJsonValue
|
|
4172
|
+
timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
4173
|
+
}
|
|
4174
|
+
|
|
4175
|
+
export type tasksCreateManyProcessesInput = {
|
|
4176
|
+
id?: string
|
|
4177
|
+
internal_id: string
|
|
4178
|
+
handler_id: string
|
|
4179
|
+
parent_id?: string | null
|
|
4180
|
+
inputs?: NullableJsonNullValueInput | InputJsonValue
|
|
4181
|
+
result?: NullableJsonNullValueInput | InputJsonValue
|
|
4182
|
+
status?: string
|
|
4183
|
+
error?: string | null
|
|
4184
|
+
timestamp?: Date | string
|
|
4185
|
+
}
|
|
4186
|
+
|
|
4187
|
+
export type tasksUpdateWithoutProcessesInput = {
|
|
4188
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
4189
|
+
internal_id?: StringFieldUpdateOperationsInput | string
|
|
4190
|
+
handler_id?: StringFieldUpdateOperationsInput | string
|
|
4191
|
+
parent_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
4192
|
+
inputs?: NullableJsonNullValueInput | InputJsonValue
|
|
4193
|
+
result?: NullableJsonNullValueInput | InputJsonValue
|
|
4194
|
+
status?: StringFieldUpdateOperationsInput | string
|
|
4195
|
+
error?: NullableStringFieldUpdateOperationsInput | string | null
|
|
4196
|
+
timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
4197
|
+
}
|
|
4198
|
+
|
|
4199
|
+
export type tasksUncheckedUpdateWithoutProcessesInput = {
|
|
4200
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
4201
|
+
internal_id?: StringFieldUpdateOperationsInput | string
|
|
4202
|
+
handler_id?: StringFieldUpdateOperationsInput | string
|
|
4203
|
+
parent_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
4204
|
+
inputs?: NullableJsonNullValueInput | InputJsonValue
|
|
4205
|
+
result?: NullableJsonNullValueInput | InputJsonValue
|
|
4206
|
+
status?: StringFieldUpdateOperationsInput | string
|
|
4207
|
+
error?: NullableStringFieldUpdateOperationsInput | string | null
|
|
4208
|
+
timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
4209
|
+
}
|
|
4210
|
+
|
|
4211
|
+
export type tasksUncheckedUpdateManyWithoutProcessesInput = {
|
|
4212
|
+
id?: StringFieldUpdateOperationsInput | string
|
|
4213
|
+
internal_id?: StringFieldUpdateOperationsInput | string
|
|
4214
|
+
handler_id?: StringFieldUpdateOperationsInput | string
|
|
4215
|
+
parent_id?: NullableStringFieldUpdateOperationsInput | string | null
|
|
4216
|
+
inputs?: NullableJsonNullValueInput | InputJsonValue
|
|
4217
|
+
result?: NullableJsonNullValueInput | InputJsonValue
|
|
4218
|
+
status?: StringFieldUpdateOperationsInput | string
|
|
4219
|
+
error?: NullableStringFieldUpdateOperationsInput | string | null
|
|
4220
|
+
timestamp?: DateTimeFieldUpdateOperationsInput | Date | string
|
|
4221
|
+
}
|
|
4222
|
+
|
|
4223
|
+
|
|
4224
|
+
|
|
4225
|
+
/**
|
|
4226
|
+
* Batch Payload for updateMany & deleteMany & createMany
|
|
4227
|
+
*/
|
|
4228
|
+
|
|
4229
|
+
export type BatchPayload = {
|
|
4230
|
+
count: number
|
|
4231
|
+
}
|
|
4232
|
+
|
|
4233
|
+
/**
|
|
4234
|
+
* DMMF
|
|
4235
|
+
*/
|
|
4236
|
+
export const dmmf: runtime.BaseDMMF
|
|
4237
|
+
}
|