@allbluecn/database 0.14.1 → 0.14.3

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