@allbluecn/database 0.14.0 → 0.14.2

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