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