@allbluecn/database 0.8.0 → 0.9.0

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