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