@yimingliao/cms 0.0.181 → 0.0.183

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist/src/client/interfaces/components/resources/topic/topic-card.js +1 -1
  2. package/package.json +2 -2
  3. package/dist/types/prisma/generated/client.d.ts +0 -69
  4. package/dist/types/prisma/generated/client.d.ts.map +0 -1
  5. package/dist/types/prisma/generated/commonInputTypes.d.ts +0 -546
  6. package/dist/types/prisma/generated/commonInputTypes.d.ts.map +0 -1
  7. package/dist/types/prisma/generated/enums.d.ts +0 -24
  8. package/dist/types/prisma/generated/enums.d.ts.map +0 -1
  9. package/dist/types/prisma/generated/internal/class.d.ts +0 -219
  10. package/dist/types/prisma/generated/internal/class.d.ts.map +0 -1
  11. package/dist/types/prisma/generated/internal/prismaNamespace.d.ts +0 -1382
  12. package/dist/types/prisma/generated/internal/prismaNamespace.d.ts.map +0 -1
  13. package/dist/types/prisma/generated/models/Admin.d.ts +0 -1756
  14. package/dist/types/prisma/generated/models/Admin.d.ts.map +0 -1
  15. package/dist/types/prisma/generated/models/AdminRefreshToken.d.ts +0 -1276
  16. package/dist/types/prisma/generated/models/AdminRefreshToken.d.ts.map +0 -1
  17. package/dist/types/prisma/generated/models/AdminTranslation.d.ts +0 -1498
  18. package/dist/types/prisma/generated/models/AdminTranslation.d.ts.map +0 -1
  19. package/dist/types/prisma/generated/models/File.d.ts +0 -3624
  20. package/dist/types/prisma/generated/models/File.d.ts.map +0 -1
  21. package/dist/types/prisma/generated/models/FileTranslation.d.ts +0 -1252
  22. package/dist/types/prisma/generated/models/FileTranslation.d.ts.map +0 -1
  23. package/dist/types/prisma/generated/models/Folder.d.ts +0 -1513
  24. package/dist/types/prisma/generated/models/Folder.d.ts.map +0 -1
  25. package/dist/types/prisma/generated/models/Post.d.ts +0 -9300
  26. package/dist/types/prisma/generated/models/Post.d.ts.map +0 -1
  27. package/dist/types/prisma/generated/models/PostTranslation.d.ts +0 -2073
  28. package/dist/types/prisma/generated/models/PostTranslation.d.ts.map +0 -1
  29. package/dist/types/prisma/generated/models/SeoMetadata.d.ts +0 -2183
  30. package/dist/types/prisma/generated/models/SeoMetadata.d.ts.map +0 -1
  31. package/dist/types/prisma/generated/models.d.ts +0 -11
  32. package/dist/types/prisma/generated/models.d.ts.map +0 -1
@@ -1,3624 +0,0 @@
1
- import type * as runtime from "@prisma/client/runtime/client";
2
- import type * as $Enums from "../enums";
3
- import type * as Prisma from "../internal/prismaNamespace";
4
- /**
5
- * Model File
6
- *
7
- */
8
- export type FileModel = runtime.Types.Result.DefaultSelection<Prisma.$FilePayload>;
9
- export type AggregateFile = {
10
- _count: FileCountAggregateOutputType | null;
11
- _avg: FileAvgAggregateOutputType | null;
12
- _sum: FileSumAggregateOutputType | null;
13
- _min: FileMinAggregateOutputType | null;
14
- _max: FileMaxAggregateOutputType | null;
15
- };
16
- export type FileAvgAggregateOutputType = {
17
- size: number | null;
18
- width: number | null;
19
- height: number | null;
20
- duration: number | null;
21
- };
22
- export type FileSumAggregateOutputType = {
23
- size: number | null;
24
- width: number | null;
25
- height: number | null;
26
- duration: number | null;
27
- };
28
- export type FileMinAggregateOutputType = {
29
- id: string | null;
30
- key: string | null;
31
- checksum: string | null;
32
- originalName: string | null;
33
- size: number | null;
34
- extension: string | null;
35
- mimeType: string | null;
36
- type: $Enums.FileType | null;
37
- width: number | null;
38
- height: number | null;
39
- duration: number | null;
40
- isLocked: boolean | null;
41
- folderId: string | null;
42
- createdAt: Date | null;
43
- updatedAt: Date | null;
44
- deletedAt: Date | null;
45
- };
46
- export type FileMaxAggregateOutputType = {
47
- id: string | null;
48
- key: string | null;
49
- checksum: string | null;
50
- originalName: string | null;
51
- size: number | null;
52
- extension: string | null;
53
- mimeType: string | null;
54
- type: $Enums.FileType | null;
55
- width: number | null;
56
- height: number | null;
57
- duration: number | null;
58
- isLocked: boolean | null;
59
- folderId: string | null;
60
- createdAt: Date | null;
61
- updatedAt: Date | null;
62
- deletedAt: Date | null;
63
- };
64
- export type FileCountAggregateOutputType = {
65
- id: number;
66
- key: number;
67
- checksum: number;
68
- originalName: number;
69
- size: number;
70
- extension: number;
71
- mimeType: number;
72
- type: number;
73
- width: number;
74
- height: number;
75
- duration: number;
76
- isLocked: number;
77
- folderId: number;
78
- createdAt: number;
79
- updatedAt: number;
80
- deletedAt: number;
81
- _all: number;
82
- };
83
- export type FileAvgAggregateInputType = {
84
- size?: true;
85
- width?: true;
86
- height?: true;
87
- duration?: true;
88
- };
89
- export type FileSumAggregateInputType = {
90
- size?: true;
91
- width?: true;
92
- height?: true;
93
- duration?: true;
94
- };
95
- export type FileMinAggregateInputType = {
96
- id?: true;
97
- key?: true;
98
- checksum?: true;
99
- originalName?: true;
100
- size?: true;
101
- extension?: true;
102
- mimeType?: true;
103
- type?: true;
104
- width?: true;
105
- height?: true;
106
- duration?: true;
107
- isLocked?: true;
108
- folderId?: true;
109
- createdAt?: true;
110
- updatedAt?: true;
111
- deletedAt?: true;
112
- };
113
- export type FileMaxAggregateInputType = {
114
- id?: true;
115
- key?: true;
116
- checksum?: true;
117
- originalName?: true;
118
- size?: true;
119
- extension?: true;
120
- mimeType?: true;
121
- type?: true;
122
- width?: true;
123
- height?: true;
124
- duration?: true;
125
- isLocked?: true;
126
- folderId?: true;
127
- createdAt?: true;
128
- updatedAt?: true;
129
- deletedAt?: true;
130
- };
131
- export type FileCountAggregateInputType = {
132
- id?: true;
133
- key?: true;
134
- checksum?: true;
135
- originalName?: true;
136
- size?: true;
137
- extension?: true;
138
- mimeType?: true;
139
- type?: true;
140
- width?: true;
141
- height?: true;
142
- duration?: true;
143
- isLocked?: true;
144
- folderId?: true;
145
- createdAt?: true;
146
- updatedAt?: true;
147
- deletedAt?: true;
148
- _all?: true;
149
- };
150
- export type FileAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
151
- /**
152
- * Filter which File to aggregate.
153
- */
154
- where?: Prisma.FileWhereInput;
155
- /**
156
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
157
- *
158
- * Determine the order of Files to fetch.
159
- */
160
- orderBy?: Prisma.FileOrderByWithRelationInput | Prisma.FileOrderByWithRelationInput[];
161
- /**
162
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
163
- *
164
- * Sets the start position
165
- */
166
- cursor?: Prisma.FileWhereUniqueInput;
167
- /**
168
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
169
- *
170
- * Take `±n` Files from the position of the cursor.
171
- */
172
- take?: number;
173
- /**
174
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
175
- *
176
- * Skip the first `n` Files.
177
- */
178
- skip?: number;
179
- /**
180
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
181
- *
182
- * Count returned Files
183
- **/
184
- _count?: true | FileCountAggregateInputType;
185
- /**
186
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
187
- *
188
- * Select which fields to average
189
- **/
190
- _avg?: FileAvgAggregateInputType;
191
- /**
192
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
193
- *
194
- * Select which fields to sum
195
- **/
196
- _sum?: FileSumAggregateInputType;
197
- /**
198
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
199
- *
200
- * Select which fields to find the minimum value
201
- **/
202
- _min?: FileMinAggregateInputType;
203
- /**
204
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
205
- *
206
- * Select which fields to find the maximum value
207
- **/
208
- _max?: FileMaxAggregateInputType;
209
- };
210
- export type GetFileAggregateType<T extends FileAggregateArgs> = {
211
- [P in keyof T & keyof AggregateFile]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateFile[P]> : Prisma.GetScalarType<T[P], AggregateFile[P]>;
212
- };
213
- export type FileGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
214
- where?: Prisma.FileWhereInput;
215
- orderBy?: Prisma.FileOrderByWithAggregationInput | Prisma.FileOrderByWithAggregationInput[];
216
- by: Prisma.FileScalarFieldEnum[] | Prisma.FileScalarFieldEnum;
217
- having?: Prisma.FileScalarWhereWithAggregatesInput;
218
- take?: number;
219
- skip?: number;
220
- _count?: FileCountAggregateInputType | true;
221
- _avg?: FileAvgAggregateInputType;
222
- _sum?: FileSumAggregateInputType;
223
- _min?: FileMinAggregateInputType;
224
- _max?: FileMaxAggregateInputType;
225
- };
226
- export type FileGroupByOutputType = {
227
- id: string;
228
- key: string;
229
- checksum: string;
230
- originalName: string;
231
- size: number;
232
- extension: string;
233
- mimeType: string;
234
- type: $Enums.FileType;
235
- width: number | null;
236
- height: number | null;
237
- duration: number | null;
238
- isLocked: boolean;
239
- folderId: string | null;
240
- createdAt: Date;
241
- updatedAt: Date;
242
- deletedAt: Date | null;
243
- _count: FileCountAggregateOutputType | null;
244
- _avg: FileAvgAggregateOutputType | null;
245
- _sum: FileSumAggregateOutputType | null;
246
- _min: FileMinAggregateOutputType | null;
247
- _max: FileMaxAggregateOutputType | null;
248
- };
249
- type GetFileGroupByPayload<T extends FileGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<FileGroupByOutputType, T['by']> & {
250
- [P in ((keyof T) & (keyof FileGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], FileGroupByOutputType[P]> : Prisma.GetScalarType<T[P], FileGroupByOutputType[P]>;
251
- }>>;
252
- export type FileWhereInput = {
253
- AND?: Prisma.FileWhereInput | Prisma.FileWhereInput[];
254
- OR?: Prisma.FileWhereInput[];
255
- NOT?: Prisma.FileWhereInput | Prisma.FileWhereInput[];
256
- id?: Prisma.StringFilter<"File"> | string;
257
- key?: Prisma.StringFilter<"File"> | string;
258
- checksum?: Prisma.StringFilter<"File"> | string;
259
- originalName?: Prisma.StringFilter<"File"> | string;
260
- size?: Prisma.IntFilter<"File"> | number;
261
- extension?: Prisma.StringFilter<"File"> | string;
262
- mimeType?: Prisma.StringFilter<"File"> | string;
263
- type?: Prisma.EnumFileTypeFilter<"File"> | $Enums.FileType;
264
- width?: Prisma.IntNullableFilter<"File"> | number | null;
265
- height?: Prisma.IntNullableFilter<"File"> | number | null;
266
- duration?: Prisma.FloatNullableFilter<"File"> | number | null;
267
- isLocked?: Prisma.BoolFilter<"File"> | boolean;
268
- folderId?: Prisma.StringNullableFilter<"File"> | string | null;
269
- createdAt?: Prisma.DateTimeFilter<"File"> | Date | string;
270
- updatedAt?: Prisma.DateTimeFilter<"File"> | Date | string;
271
- deletedAt?: Prisma.DateTimeNullableFilter<"File"> | Date | string | null;
272
- folder?: Prisma.XOR<Prisma.FolderNullableScalarRelationFilter, Prisma.FolderWhereInput> | null;
273
- adminAsAvatarImage?: Prisma.AdminListRelationFilter;
274
- postsAsCoverImage?: Prisma.PostListRelationFilter;
275
- postsAsContentImage?: Prisma.PostListRelationFilter;
276
- translations?: Prisma.FileTranslationListRelationFilter;
277
- postsAsImages1?: Prisma.PostListRelationFilter;
278
- postsAsImages2?: Prisma.PostListRelationFilter;
279
- postsAsImage1?: Prisma.PostListRelationFilter;
280
- postsAsImage2?: Prisma.PostListRelationFilter;
281
- postsAsImage3?: Prisma.PostListRelationFilter;
282
- postsAsImage4?: Prisma.PostListRelationFilter;
283
- };
284
- export type FileOrderByWithRelationInput = {
285
- id?: Prisma.SortOrder;
286
- key?: Prisma.SortOrder;
287
- checksum?: Prisma.SortOrder;
288
- originalName?: Prisma.SortOrder;
289
- size?: Prisma.SortOrder;
290
- extension?: Prisma.SortOrder;
291
- mimeType?: Prisma.SortOrder;
292
- type?: Prisma.SortOrder;
293
- width?: Prisma.SortOrderInput | Prisma.SortOrder;
294
- height?: Prisma.SortOrderInput | Prisma.SortOrder;
295
- duration?: Prisma.SortOrderInput | Prisma.SortOrder;
296
- isLocked?: Prisma.SortOrder;
297
- folderId?: Prisma.SortOrderInput | Prisma.SortOrder;
298
- createdAt?: Prisma.SortOrder;
299
- updatedAt?: Prisma.SortOrder;
300
- deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
301
- folder?: Prisma.FolderOrderByWithRelationInput;
302
- adminAsAvatarImage?: Prisma.AdminOrderByRelationAggregateInput;
303
- postsAsCoverImage?: Prisma.PostOrderByRelationAggregateInput;
304
- postsAsContentImage?: Prisma.PostOrderByRelationAggregateInput;
305
- translations?: Prisma.FileTranslationOrderByRelationAggregateInput;
306
- postsAsImages1?: Prisma.PostOrderByRelationAggregateInput;
307
- postsAsImages2?: Prisma.PostOrderByRelationAggregateInput;
308
- postsAsImage1?: Prisma.PostOrderByRelationAggregateInput;
309
- postsAsImage2?: Prisma.PostOrderByRelationAggregateInput;
310
- postsAsImage3?: Prisma.PostOrderByRelationAggregateInput;
311
- postsAsImage4?: Prisma.PostOrderByRelationAggregateInput;
312
- };
313
- export type FileWhereUniqueInput = Prisma.AtLeast<{
314
- id?: string;
315
- key?: string;
316
- AND?: Prisma.FileWhereInput | Prisma.FileWhereInput[];
317
- OR?: Prisma.FileWhereInput[];
318
- NOT?: Prisma.FileWhereInput | Prisma.FileWhereInput[];
319
- checksum?: Prisma.StringFilter<"File"> | string;
320
- originalName?: Prisma.StringFilter<"File"> | string;
321
- size?: Prisma.IntFilter<"File"> | number;
322
- extension?: Prisma.StringFilter<"File"> | string;
323
- mimeType?: Prisma.StringFilter<"File"> | string;
324
- type?: Prisma.EnumFileTypeFilter<"File"> | $Enums.FileType;
325
- width?: Prisma.IntNullableFilter<"File"> | number | null;
326
- height?: Prisma.IntNullableFilter<"File"> | number | null;
327
- duration?: Prisma.FloatNullableFilter<"File"> | number | null;
328
- isLocked?: Prisma.BoolFilter<"File"> | boolean;
329
- folderId?: Prisma.StringNullableFilter<"File"> | string | null;
330
- createdAt?: Prisma.DateTimeFilter<"File"> | Date | string;
331
- updatedAt?: Prisma.DateTimeFilter<"File"> | Date | string;
332
- deletedAt?: Prisma.DateTimeNullableFilter<"File"> | Date | string | null;
333
- folder?: Prisma.XOR<Prisma.FolderNullableScalarRelationFilter, Prisma.FolderWhereInput> | null;
334
- adminAsAvatarImage?: Prisma.AdminListRelationFilter;
335
- postsAsCoverImage?: Prisma.PostListRelationFilter;
336
- postsAsContentImage?: Prisma.PostListRelationFilter;
337
- translations?: Prisma.FileTranslationListRelationFilter;
338
- postsAsImages1?: Prisma.PostListRelationFilter;
339
- postsAsImages2?: Prisma.PostListRelationFilter;
340
- postsAsImage1?: Prisma.PostListRelationFilter;
341
- postsAsImage2?: Prisma.PostListRelationFilter;
342
- postsAsImage3?: Prisma.PostListRelationFilter;
343
- postsAsImage4?: Prisma.PostListRelationFilter;
344
- }, "id" | "key">;
345
- export type FileOrderByWithAggregationInput = {
346
- id?: Prisma.SortOrder;
347
- key?: Prisma.SortOrder;
348
- checksum?: Prisma.SortOrder;
349
- originalName?: Prisma.SortOrder;
350
- size?: Prisma.SortOrder;
351
- extension?: Prisma.SortOrder;
352
- mimeType?: Prisma.SortOrder;
353
- type?: Prisma.SortOrder;
354
- width?: Prisma.SortOrderInput | Prisma.SortOrder;
355
- height?: Prisma.SortOrderInput | Prisma.SortOrder;
356
- duration?: Prisma.SortOrderInput | Prisma.SortOrder;
357
- isLocked?: Prisma.SortOrder;
358
- folderId?: Prisma.SortOrderInput | Prisma.SortOrder;
359
- createdAt?: Prisma.SortOrder;
360
- updatedAt?: Prisma.SortOrder;
361
- deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
362
- _count?: Prisma.FileCountOrderByAggregateInput;
363
- _avg?: Prisma.FileAvgOrderByAggregateInput;
364
- _max?: Prisma.FileMaxOrderByAggregateInput;
365
- _min?: Prisma.FileMinOrderByAggregateInput;
366
- _sum?: Prisma.FileSumOrderByAggregateInput;
367
- };
368
- export type FileScalarWhereWithAggregatesInput = {
369
- AND?: Prisma.FileScalarWhereWithAggregatesInput | Prisma.FileScalarWhereWithAggregatesInput[];
370
- OR?: Prisma.FileScalarWhereWithAggregatesInput[];
371
- NOT?: Prisma.FileScalarWhereWithAggregatesInput | Prisma.FileScalarWhereWithAggregatesInput[];
372
- id?: Prisma.StringWithAggregatesFilter<"File"> | string;
373
- key?: Prisma.StringWithAggregatesFilter<"File"> | string;
374
- checksum?: Prisma.StringWithAggregatesFilter<"File"> | string;
375
- originalName?: Prisma.StringWithAggregatesFilter<"File"> | string;
376
- size?: Prisma.IntWithAggregatesFilter<"File"> | number;
377
- extension?: Prisma.StringWithAggregatesFilter<"File"> | string;
378
- mimeType?: Prisma.StringWithAggregatesFilter<"File"> | string;
379
- type?: Prisma.EnumFileTypeWithAggregatesFilter<"File"> | $Enums.FileType;
380
- width?: Prisma.IntNullableWithAggregatesFilter<"File"> | number | null;
381
- height?: Prisma.IntNullableWithAggregatesFilter<"File"> | number | null;
382
- duration?: Prisma.FloatNullableWithAggregatesFilter<"File"> | number | null;
383
- isLocked?: Prisma.BoolWithAggregatesFilter<"File"> | boolean;
384
- folderId?: Prisma.StringNullableWithAggregatesFilter<"File"> | string | null;
385
- createdAt?: Prisma.DateTimeWithAggregatesFilter<"File"> | Date | string;
386
- updatedAt?: Prisma.DateTimeWithAggregatesFilter<"File"> | Date | string;
387
- deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"File"> | Date | string | null;
388
- };
389
- export type FileCreateInput = {
390
- id?: string;
391
- key: string;
392
- checksum: string;
393
- originalName: string;
394
- size?: number;
395
- extension: string;
396
- mimeType: string;
397
- type?: $Enums.FileType;
398
- width?: number | null;
399
- height?: number | null;
400
- duration?: number | null;
401
- isLocked?: boolean;
402
- createdAt?: Date | string;
403
- updatedAt?: Date | string;
404
- deletedAt?: Date | string | null;
405
- folder?: Prisma.FolderCreateNestedOneWithoutFilesInput;
406
- adminAsAvatarImage?: Prisma.AdminCreateNestedManyWithoutAvatarImageInput;
407
- postsAsCoverImage?: Prisma.PostCreateNestedManyWithoutCoverImageInput;
408
- postsAsContentImage?: Prisma.PostCreateNestedManyWithoutContentImagesInput;
409
- translations?: Prisma.FileTranslationCreateNestedManyWithoutFileInput;
410
- postsAsImages1?: Prisma.PostCreateNestedManyWithoutImages1Input;
411
- postsAsImages2?: Prisma.PostCreateNestedManyWithoutImages2Input;
412
- postsAsImage1?: Prisma.PostCreateNestedManyWithoutImage1Input;
413
- postsAsImage2?: Prisma.PostCreateNestedManyWithoutImage2Input;
414
- postsAsImage3?: Prisma.PostCreateNestedManyWithoutImage3Input;
415
- postsAsImage4?: Prisma.PostCreateNestedManyWithoutImage4Input;
416
- };
417
- export type FileUncheckedCreateInput = {
418
- id?: string;
419
- key: string;
420
- checksum: string;
421
- originalName: string;
422
- size?: number;
423
- extension: string;
424
- mimeType: string;
425
- type?: $Enums.FileType;
426
- width?: number | null;
427
- height?: number | null;
428
- duration?: number | null;
429
- isLocked?: boolean;
430
- folderId?: string | null;
431
- createdAt?: Date | string;
432
- updatedAt?: Date | string;
433
- deletedAt?: Date | string | null;
434
- adminAsAvatarImage?: Prisma.AdminUncheckedCreateNestedManyWithoutAvatarImageInput;
435
- postsAsCoverImage?: Prisma.PostUncheckedCreateNestedManyWithoutCoverImageInput;
436
- postsAsContentImage?: Prisma.PostUncheckedCreateNestedManyWithoutContentImagesInput;
437
- translations?: Prisma.FileTranslationUncheckedCreateNestedManyWithoutFileInput;
438
- postsAsImages1?: Prisma.PostUncheckedCreateNestedManyWithoutImages1Input;
439
- postsAsImages2?: Prisma.PostUncheckedCreateNestedManyWithoutImages2Input;
440
- postsAsImage1?: Prisma.PostUncheckedCreateNestedManyWithoutImage1Input;
441
- postsAsImage2?: Prisma.PostUncheckedCreateNestedManyWithoutImage2Input;
442
- postsAsImage3?: Prisma.PostUncheckedCreateNestedManyWithoutImage3Input;
443
- postsAsImage4?: Prisma.PostUncheckedCreateNestedManyWithoutImage4Input;
444
- };
445
- export type FileUpdateInput = {
446
- id?: Prisma.StringFieldUpdateOperationsInput | string;
447
- key?: Prisma.StringFieldUpdateOperationsInput | string;
448
- checksum?: Prisma.StringFieldUpdateOperationsInput | string;
449
- originalName?: Prisma.StringFieldUpdateOperationsInput | string;
450
- size?: Prisma.IntFieldUpdateOperationsInput | number;
451
- extension?: Prisma.StringFieldUpdateOperationsInput | string;
452
- mimeType?: Prisma.StringFieldUpdateOperationsInput | string;
453
- type?: Prisma.EnumFileTypeFieldUpdateOperationsInput | $Enums.FileType;
454
- width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
455
- height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
456
- duration?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
457
- isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
458
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
459
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
460
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
461
- folder?: Prisma.FolderUpdateOneWithoutFilesNestedInput;
462
- adminAsAvatarImage?: Prisma.AdminUpdateManyWithoutAvatarImageNestedInput;
463
- postsAsCoverImage?: Prisma.PostUpdateManyWithoutCoverImageNestedInput;
464
- postsAsContentImage?: Prisma.PostUpdateManyWithoutContentImagesNestedInput;
465
- translations?: Prisma.FileTranslationUpdateManyWithoutFileNestedInput;
466
- postsAsImages1?: Prisma.PostUpdateManyWithoutImages1NestedInput;
467
- postsAsImages2?: Prisma.PostUpdateManyWithoutImages2NestedInput;
468
- postsAsImage1?: Prisma.PostUpdateManyWithoutImage1NestedInput;
469
- postsAsImage2?: Prisma.PostUpdateManyWithoutImage2NestedInput;
470
- postsAsImage3?: Prisma.PostUpdateManyWithoutImage3NestedInput;
471
- postsAsImage4?: Prisma.PostUpdateManyWithoutImage4NestedInput;
472
- };
473
- export type FileUncheckedUpdateInput = {
474
- id?: Prisma.StringFieldUpdateOperationsInput | string;
475
- key?: Prisma.StringFieldUpdateOperationsInput | string;
476
- checksum?: Prisma.StringFieldUpdateOperationsInput | string;
477
- originalName?: Prisma.StringFieldUpdateOperationsInput | string;
478
- size?: Prisma.IntFieldUpdateOperationsInput | number;
479
- extension?: Prisma.StringFieldUpdateOperationsInput | string;
480
- mimeType?: Prisma.StringFieldUpdateOperationsInput | string;
481
- type?: Prisma.EnumFileTypeFieldUpdateOperationsInput | $Enums.FileType;
482
- width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
483
- height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
484
- duration?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
485
- isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
486
- folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
487
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
488
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
489
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
490
- adminAsAvatarImage?: Prisma.AdminUncheckedUpdateManyWithoutAvatarImageNestedInput;
491
- postsAsCoverImage?: Prisma.PostUncheckedUpdateManyWithoutCoverImageNestedInput;
492
- postsAsContentImage?: Prisma.PostUncheckedUpdateManyWithoutContentImagesNestedInput;
493
- translations?: Prisma.FileTranslationUncheckedUpdateManyWithoutFileNestedInput;
494
- postsAsImages1?: Prisma.PostUncheckedUpdateManyWithoutImages1NestedInput;
495
- postsAsImages2?: Prisma.PostUncheckedUpdateManyWithoutImages2NestedInput;
496
- postsAsImage1?: Prisma.PostUncheckedUpdateManyWithoutImage1NestedInput;
497
- postsAsImage2?: Prisma.PostUncheckedUpdateManyWithoutImage2NestedInput;
498
- postsAsImage3?: Prisma.PostUncheckedUpdateManyWithoutImage3NestedInput;
499
- postsAsImage4?: Prisma.PostUncheckedUpdateManyWithoutImage4NestedInput;
500
- };
501
- export type FileCreateManyInput = {
502
- id?: string;
503
- key: string;
504
- checksum: string;
505
- originalName: string;
506
- size?: number;
507
- extension: string;
508
- mimeType: string;
509
- type?: $Enums.FileType;
510
- width?: number | null;
511
- height?: number | null;
512
- duration?: number | null;
513
- isLocked?: boolean;
514
- folderId?: string | null;
515
- createdAt?: Date | string;
516
- updatedAt?: Date | string;
517
- deletedAt?: Date | string | null;
518
- };
519
- export type FileUpdateManyMutationInput = {
520
- id?: Prisma.StringFieldUpdateOperationsInput | string;
521
- key?: Prisma.StringFieldUpdateOperationsInput | string;
522
- checksum?: Prisma.StringFieldUpdateOperationsInput | string;
523
- originalName?: Prisma.StringFieldUpdateOperationsInput | string;
524
- size?: Prisma.IntFieldUpdateOperationsInput | number;
525
- extension?: Prisma.StringFieldUpdateOperationsInput | string;
526
- mimeType?: Prisma.StringFieldUpdateOperationsInput | string;
527
- type?: Prisma.EnumFileTypeFieldUpdateOperationsInput | $Enums.FileType;
528
- width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
529
- height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
530
- duration?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
531
- isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
532
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
533
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
534
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
535
- };
536
- export type FileUncheckedUpdateManyInput = {
537
- id?: Prisma.StringFieldUpdateOperationsInput | string;
538
- key?: Prisma.StringFieldUpdateOperationsInput | string;
539
- checksum?: Prisma.StringFieldUpdateOperationsInput | string;
540
- originalName?: Prisma.StringFieldUpdateOperationsInput | string;
541
- size?: Prisma.IntFieldUpdateOperationsInput | number;
542
- extension?: Prisma.StringFieldUpdateOperationsInput | string;
543
- mimeType?: Prisma.StringFieldUpdateOperationsInput | string;
544
- type?: Prisma.EnumFileTypeFieldUpdateOperationsInput | $Enums.FileType;
545
- width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
546
- height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
547
- duration?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
548
- isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
549
- folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
550
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
551
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
552
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
553
- };
554
- export type FileNullableScalarRelationFilter = {
555
- is?: Prisma.FileWhereInput | null;
556
- isNot?: Prisma.FileWhereInput | null;
557
- };
558
- export type FileCountOrderByAggregateInput = {
559
- id?: Prisma.SortOrder;
560
- key?: Prisma.SortOrder;
561
- checksum?: Prisma.SortOrder;
562
- originalName?: Prisma.SortOrder;
563
- size?: Prisma.SortOrder;
564
- extension?: Prisma.SortOrder;
565
- mimeType?: Prisma.SortOrder;
566
- type?: Prisma.SortOrder;
567
- width?: Prisma.SortOrder;
568
- height?: Prisma.SortOrder;
569
- duration?: Prisma.SortOrder;
570
- isLocked?: Prisma.SortOrder;
571
- folderId?: Prisma.SortOrder;
572
- createdAt?: Prisma.SortOrder;
573
- updatedAt?: Prisma.SortOrder;
574
- deletedAt?: Prisma.SortOrder;
575
- };
576
- export type FileAvgOrderByAggregateInput = {
577
- size?: Prisma.SortOrder;
578
- width?: Prisma.SortOrder;
579
- height?: Prisma.SortOrder;
580
- duration?: Prisma.SortOrder;
581
- };
582
- export type FileMaxOrderByAggregateInput = {
583
- id?: Prisma.SortOrder;
584
- key?: Prisma.SortOrder;
585
- checksum?: Prisma.SortOrder;
586
- originalName?: Prisma.SortOrder;
587
- size?: Prisma.SortOrder;
588
- extension?: Prisma.SortOrder;
589
- mimeType?: Prisma.SortOrder;
590
- type?: Prisma.SortOrder;
591
- width?: Prisma.SortOrder;
592
- height?: Prisma.SortOrder;
593
- duration?: Prisma.SortOrder;
594
- isLocked?: Prisma.SortOrder;
595
- folderId?: Prisma.SortOrder;
596
- createdAt?: Prisma.SortOrder;
597
- updatedAt?: Prisma.SortOrder;
598
- deletedAt?: Prisma.SortOrder;
599
- };
600
- export type FileMinOrderByAggregateInput = {
601
- id?: Prisma.SortOrder;
602
- key?: Prisma.SortOrder;
603
- checksum?: Prisma.SortOrder;
604
- originalName?: Prisma.SortOrder;
605
- size?: Prisma.SortOrder;
606
- extension?: Prisma.SortOrder;
607
- mimeType?: Prisma.SortOrder;
608
- type?: Prisma.SortOrder;
609
- width?: Prisma.SortOrder;
610
- height?: Prisma.SortOrder;
611
- duration?: Prisma.SortOrder;
612
- isLocked?: Prisma.SortOrder;
613
- folderId?: Prisma.SortOrder;
614
- createdAt?: Prisma.SortOrder;
615
- updatedAt?: Prisma.SortOrder;
616
- deletedAt?: Prisma.SortOrder;
617
- };
618
- export type FileSumOrderByAggregateInput = {
619
- size?: Prisma.SortOrder;
620
- width?: Prisma.SortOrder;
621
- height?: Prisma.SortOrder;
622
- duration?: Prisma.SortOrder;
623
- };
624
- export type FileScalarRelationFilter = {
625
- is?: Prisma.FileWhereInput;
626
- isNot?: Prisma.FileWhereInput;
627
- };
628
- export type FileListRelationFilter = {
629
- every?: Prisma.FileWhereInput;
630
- some?: Prisma.FileWhereInput;
631
- none?: Prisma.FileWhereInput;
632
- };
633
- export type FileOrderByRelationAggregateInput = {
634
- _count?: Prisma.SortOrder;
635
- };
636
- export type FileCreateNestedOneWithoutAdminAsAvatarImageInput = {
637
- create?: Prisma.XOR<Prisma.FileCreateWithoutAdminAsAvatarImageInput, Prisma.FileUncheckedCreateWithoutAdminAsAvatarImageInput>;
638
- connectOrCreate?: Prisma.FileCreateOrConnectWithoutAdminAsAvatarImageInput;
639
- connect?: Prisma.FileWhereUniqueInput;
640
- };
641
- export type FileUpdateOneWithoutAdminAsAvatarImageNestedInput = {
642
- create?: Prisma.XOR<Prisma.FileCreateWithoutAdminAsAvatarImageInput, Prisma.FileUncheckedCreateWithoutAdminAsAvatarImageInput>;
643
- connectOrCreate?: Prisma.FileCreateOrConnectWithoutAdminAsAvatarImageInput;
644
- upsert?: Prisma.FileUpsertWithoutAdminAsAvatarImageInput;
645
- disconnect?: Prisma.FileWhereInput | boolean;
646
- delete?: Prisma.FileWhereInput | boolean;
647
- connect?: Prisma.FileWhereUniqueInput;
648
- update?: Prisma.XOR<Prisma.XOR<Prisma.FileUpdateToOneWithWhereWithoutAdminAsAvatarImageInput, Prisma.FileUpdateWithoutAdminAsAvatarImageInput>, Prisma.FileUncheckedUpdateWithoutAdminAsAvatarImageInput>;
649
- };
650
- export type IntFieldUpdateOperationsInput = {
651
- set?: number;
652
- increment?: number;
653
- decrement?: number;
654
- multiply?: number;
655
- divide?: number;
656
- };
657
- export type EnumFileTypeFieldUpdateOperationsInput = {
658
- set?: $Enums.FileType;
659
- };
660
- export type NullableIntFieldUpdateOperationsInput = {
661
- set?: number | null;
662
- increment?: number;
663
- decrement?: number;
664
- multiply?: number;
665
- divide?: number;
666
- };
667
- export type NullableFloatFieldUpdateOperationsInput = {
668
- set?: number | null;
669
- increment?: number;
670
- decrement?: number;
671
- multiply?: number;
672
- divide?: number;
673
- };
674
- export type BoolFieldUpdateOperationsInput = {
675
- set?: boolean;
676
- };
677
- export type FileCreateNestedOneWithoutTranslationsInput = {
678
- create?: Prisma.XOR<Prisma.FileCreateWithoutTranslationsInput, Prisma.FileUncheckedCreateWithoutTranslationsInput>;
679
- connectOrCreate?: Prisma.FileCreateOrConnectWithoutTranslationsInput;
680
- connect?: Prisma.FileWhereUniqueInput;
681
- };
682
- export type FileUpdateOneRequiredWithoutTranslationsNestedInput = {
683
- create?: Prisma.XOR<Prisma.FileCreateWithoutTranslationsInput, Prisma.FileUncheckedCreateWithoutTranslationsInput>;
684
- connectOrCreate?: Prisma.FileCreateOrConnectWithoutTranslationsInput;
685
- upsert?: Prisma.FileUpsertWithoutTranslationsInput;
686
- connect?: Prisma.FileWhereUniqueInput;
687
- update?: Prisma.XOR<Prisma.XOR<Prisma.FileUpdateToOneWithWhereWithoutTranslationsInput, Prisma.FileUpdateWithoutTranslationsInput>, Prisma.FileUncheckedUpdateWithoutTranslationsInput>;
688
- };
689
- export type FileCreateNestedManyWithoutFolderInput = {
690
- create?: Prisma.XOR<Prisma.FileCreateWithoutFolderInput, Prisma.FileUncheckedCreateWithoutFolderInput> | Prisma.FileCreateWithoutFolderInput[] | Prisma.FileUncheckedCreateWithoutFolderInput[];
691
- connectOrCreate?: Prisma.FileCreateOrConnectWithoutFolderInput | Prisma.FileCreateOrConnectWithoutFolderInput[];
692
- createMany?: Prisma.FileCreateManyFolderInputEnvelope;
693
- connect?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
694
- };
695
- export type FileUncheckedCreateNestedManyWithoutFolderInput = {
696
- create?: Prisma.XOR<Prisma.FileCreateWithoutFolderInput, Prisma.FileUncheckedCreateWithoutFolderInput> | Prisma.FileCreateWithoutFolderInput[] | Prisma.FileUncheckedCreateWithoutFolderInput[];
697
- connectOrCreate?: Prisma.FileCreateOrConnectWithoutFolderInput | Prisma.FileCreateOrConnectWithoutFolderInput[];
698
- createMany?: Prisma.FileCreateManyFolderInputEnvelope;
699
- connect?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
700
- };
701
- export type FileUpdateManyWithoutFolderNestedInput = {
702
- create?: Prisma.XOR<Prisma.FileCreateWithoutFolderInput, Prisma.FileUncheckedCreateWithoutFolderInput> | Prisma.FileCreateWithoutFolderInput[] | Prisma.FileUncheckedCreateWithoutFolderInput[];
703
- connectOrCreate?: Prisma.FileCreateOrConnectWithoutFolderInput | Prisma.FileCreateOrConnectWithoutFolderInput[];
704
- upsert?: Prisma.FileUpsertWithWhereUniqueWithoutFolderInput | Prisma.FileUpsertWithWhereUniqueWithoutFolderInput[];
705
- createMany?: Prisma.FileCreateManyFolderInputEnvelope;
706
- set?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
707
- disconnect?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
708
- delete?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
709
- connect?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
710
- update?: Prisma.FileUpdateWithWhereUniqueWithoutFolderInput | Prisma.FileUpdateWithWhereUniqueWithoutFolderInput[];
711
- updateMany?: Prisma.FileUpdateManyWithWhereWithoutFolderInput | Prisma.FileUpdateManyWithWhereWithoutFolderInput[];
712
- deleteMany?: Prisma.FileScalarWhereInput | Prisma.FileScalarWhereInput[];
713
- };
714
- export type FileUncheckedUpdateManyWithoutFolderNestedInput = {
715
- create?: Prisma.XOR<Prisma.FileCreateWithoutFolderInput, Prisma.FileUncheckedCreateWithoutFolderInput> | Prisma.FileCreateWithoutFolderInput[] | Prisma.FileUncheckedCreateWithoutFolderInput[];
716
- connectOrCreate?: Prisma.FileCreateOrConnectWithoutFolderInput | Prisma.FileCreateOrConnectWithoutFolderInput[];
717
- upsert?: Prisma.FileUpsertWithWhereUniqueWithoutFolderInput | Prisma.FileUpsertWithWhereUniqueWithoutFolderInput[];
718
- createMany?: Prisma.FileCreateManyFolderInputEnvelope;
719
- set?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
720
- disconnect?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
721
- delete?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
722
- connect?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
723
- update?: Prisma.FileUpdateWithWhereUniqueWithoutFolderInput | Prisma.FileUpdateWithWhereUniqueWithoutFolderInput[];
724
- updateMany?: Prisma.FileUpdateManyWithWhereWithoutFolderInput | Prisma.FileUpdateManyWithWhereWithoutFolderInput[];
725
- deleteMany?: Prisma.FileScalarWhereInput | Prisma.FileScalarWhereInput[];
726
- };
727
- export type FileCreateNestedOneWithoutPostsAsCoverImageInput = {
728
- create?: Prisma.XOR<Prisma.FileCreateWithoutPostsAsCoverImageInput, Prisma.FileUncheckedCreateWithoutPostsAsCoverImageInput>;
729
- connectOrCreate?: Prisma.FileCreateOrConnectWithoutPostsAsCoverImageInput;
730
- connect?: Prisma.FileWhereUniqueInput;
731
- };
732
- export type FileCreateNestedManyWithoutPostsAsContentImageInput = {
733
- create?: Prisma.XOR<Prisma.FileCreateWithoutPostsAsContentImageInput, Prisma.FileUncheckedCreateWithoutPostsAsContentImageInput> | Prisma.FileCreateWithoutPostsAsContentImageInput[] | Prisma.FileUncheckedCreateWithoutPostsAsContentImageInput[];
734
- connectOrCreate?: Prisma.FileCreateOrConnectWithoutPostsAsContentImageInput | Prisma.FileCreateOrConnectWithoutPostsAsContentImageInput[];
735
- connect?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
736
- };
737
- export type FileCreateNestedManyWithoutPostsAsImages1Input = {
738
- create?: Prisma.XOR<Prisma.FileCreateWithoutPostsAsImages1Input, Prisma.FileUncheckedCreateWithoutPostsAsImages1Input> | Prisma.FileCreateWithoutPostsAsImages1Input[] | Prisma.FileUncheckedCreateWithoutPostsAsImages1Input[];
739
- connectOrCreate?: Prisma.FileCreateOrConnectWithoutPostsAsImages1Input | Prisma.FileCreateOrConnectWithoutPostsAsImages1Input[];
740
- connect?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
741
- };
742
- export type FileCreateNestedManyWithoutPostsAsImages2Input = {
743
- create?: Prisma.XOR<Prisma.FileCreateWithoutPostsAsImages2Input, Prisma.FileUncheckedCreateWithoutPostsAsImages2Input> | Prisma.FileCreateWithoutPostsAsImages2Input[] | Prisma.FileUncheckedCreateWithoutPostsAsImages2Input[];
744
- connectOrCreate?: Prisma.FileCreateOrConnectWithoutPostsAsImages2Input | Prisma.FileCreateOrConnectWithoutPostsAsImages2Input[];
745
- connect?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
746
- };
747
- export type FileCreateNestedOneWithoutPostsAsImage1Input = {
748
- create?: Prisma.XOR<Prisma.FileCreateWithoutPostsAsImage1Input, Prisma.FileUncheckedCreateWithoutPostsAsImage1Input>;
749
- connectOrCreate?: Prisma.FileCreateOrConnectWithoutPostsAsImage1Input;
750
- connect?: Prisma.FileWhereUniqueInput;
751
- };
752
- export type FileCreateNestedOneWithoutPostsAsImage2Input = {
753
- create?: Prisma.XOR<Prisma.FileCreateWithoutPostsAsImage2Input, Prisma.FileUncheckedCreateWithoutPostsAsImage2Input>;
754
- connectOrCreate?: Prisma.FileCreateOrConnectWithoutPostsAsImage2Input;
755
- connect?: Prisma.FileWhereUniqueInput;
756
- };
757
- export type FileCreateNestedOneWithoutPostsAsImage3Input = {
758
- create?: Prisma.XOR<Prisma.FileCreateWithoutPostsAsImage3Input, Prisma.FileUncheckedCreateWithoutPostsAsImage3Input>;
759
- connectOrCreate?: Prisma.FileCreateOrConnectWithoutPostsAsImage3Input;
760
- connect?: Prisma.FileWhereUniqueInput;
761
- };
762
- export type FileCreateNestedOneWithoutPostsAsImage4Input = {
763
- create?: Prisma.XOR<Prisma.FileCreateWithoutPostsAsImage4Input, Prisma.FileUncheckedCreateWithoutPostsAsImage4Input>;
764
- connectOrCreate?: Prisma.FileCreateOrConnectWithoutPostsAsImage4Input;
765
- connect?: Prisma.FileWhereUniqueInput;
766
- };
767
- export type FileUncheckedCreateNestedManyWithoutPostsAsContentImageInput = {
768
- create?: Prisma.XOR<Prisma.FileCreateWithoutPostsAsContentImageInput, Prisma.FileUncheckedCreateWithoutPostsAsContentImageInput> | Prisma.FileCreateWithoutPostsAsContentImageInput[] | Prisma.FileUncheckedCreateWithoutPostsAsContentImageInput[];
769
- connectOrCreate?: Prisma.FileCreateOrConnectWithoutPostsAsContentImageInput | Prisma.FileCreateOrConnectWithoutPostsAsContentImageInput[];
770
- connect?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
771
- };
772
- export type FileUncheckedCreateNestedManyWithoutPostsAsImages1Input = {
773
- create?: Prisma.XOR<Prisma.FileCreateWithoutPostsAsImages1Input, Prisma.FileUncheckedCreateWithoutPostsAsImages1Input> | Prisma.FileCreateWithoutPostsAsImages1Input[] | Prisma.FileUncheckedCreateWithoutPostsAsImages1Input[];
774
- connectOrCreate?: Prisma.FileCreateOrConnectWithoutPostsAsImages1Input | Prisma.FileCreateOrConnectWithoutPostsAsImages1Input[];
775
- connect?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
776
- };
777
- export type FileUncheckedCreateNestedManyWithoutPostsAsImages2Input = {
778
- create?: Prisma.XOR<Prisma.FileCreateWithoutPostsAsImages2Input, Prisma.FileUncheckedCreateWithoutPostsAsImages2Input> | Prisma.FileCreateWithoutPostsAsImages2Input[] | Prisma.FileUncheckedCreateWithoutPostsAsImages2Input[];
779
- connectOrCreate?: Prisma.FileCreateOrConnectWithoutPostsAsImages2Input | Prisma.FileCreateOrConnectWithoutPostsAsImages2Input[];
780
- connect?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
781
- };
782
- export type FileUpdateOneWithoutPostsAsCoverImageNestedInput = {
783
- create?: Prisma.XOR<Prisma.FileCreateWithoutPostsAsCoverImageInput, Prisma.FileUncheckedCreateWithoutPostsAsCoverImageInput>;
784
- connectOrCreate?: Prisma.FileCreateOrConnectWithoutPostsAsCoverImageInput;
785
- upsert?: Prisma.FileUpsertWithoutPostsAsCoverImageInput;
786
- disconnect?: Prisma.FileWhereInput | boolean;
787
- delete?: Prisma.FileWhereInput | boolean;
788
- connect?: Prisma.FileWhereUniqueInput;
789
- update?: Prisma.XOR<Prisma.XOR<Prisma.FileUpdateToOneWithWhereWithoutPostsAsCoverImageInput, Prisma.FileUpdateWithoutPostsAsCoverImageInput>, Prisma.FileUncheckedUpdateWithoutPostsAsCoverImageInput>;
790
- };
791
- export type FileUpdateManyWithoutPostsAsContentImageNestedInput = {
792
- create?: Prisma.XOR<Prisma.FileCreateWithoutPostsAsContentImageInput, Prisma.FileUncheckedCreateWithoutPostsAsContentImageInput> | Prisma.FileCreateWithoutPostsAsContentImageInput[] | Prisma.FileUncheckedCreateWithoutPostsAsContentImageInput[];
793
- connectOrCreate?: Prisma.FileCreateOrConnectWithoutPostsAsContentImageInput | Prisma.FileCreateOrConnectWithoutPostsAsContentImageInput[];
794
- upsert?: Prisma.FileUpsertWithWhereUniqueWithoutPostsAsContentImageInput | Prisma.FileUpsertWithWhereUniqueWithoutPostsAsContentImageInput[];
795
- set?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
796
- disconnect?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
797
- delete?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
798
- connect?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
799
- update?: Prisma.FileUpdateWithWhereUniqueWithoutPostsAsContentImageInput | Prisma.FileUpdateWithWhereUniqueWithoutPostsAsContentImageInput[];
800
- updateMany?: Prisma.FileUpdateManyWithWhereWithoutPostsAsContentImageInput | Prisma.FileUpdateManyWithWhereWithoutPostsAsContentImageInput[];
801
- deleteMany?: Prisma.FileScalarWhereInput | Prisma.FileScalarWhereInput[];
802
- };
803
- export type FileUpdateManyWithoutPostsAsImages1NestedInput = {
804
- create?: Prisma.XOR<Prisma.FileCreateWithoutPostsAsImages1Input, Prisma.FileUncheckedCreateWithoutPostsAsImages1Input> | Prisma.FileCreateWithoutPostsAsImages1Input[] | Prisma.FileUncheckedCreateWithoutPostsAsImages1Input[];
805
- connectOrCreate?: Prisma.FileCreateOrConnectWithoutPostsAsImages1Input | Prisma.FileCreateOrConnectWithoutPostsAsImages1Input[];
806
- upsert?: Prisma.FileUpsertWithWhereUniqueWithoutPostsAsImages1Input | Prisma.FileUpsertWithWhereUniqueWithoutPostsAsImages1Input[];
807
- set?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
808
- disconnect?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
809
- delete?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
810
- connect?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
811
- update?: Prisma.FileUpdateWithWhereUniqueWithoutPostsAsImages1Input | Prisma.FileUpdateWithWhereUniqueWithoutPostsAsImages1Input[];
812
- updateMany?: Prisma.FileUpdateManyWithWhereWithoutPostsAsImages1Input | Prisma.FileUpdateManyWithWhereWithoutPostsAsImages1Input[];
813
- deleteMany?: Prisma.FileScalarWhereInput | Prisma.FileScalarWhereInput[];
814
- };
815
- export type FileUpdateManyWithoutPostsAsImages2NestedInput = {
816
- create?: Prisma.XOR<Prisma.FileCreateWithoutPostsAsImages2Input, Prisma.FileUncheckedCreateWithoutPostsAsImages2Input> | Prisma.FileCreateWithoutPostsAsImages2Input[] | Prisma.FileUncheckedCreateWithoutPostsAsImages2Input[];
817
- connectOrCreate?: Prisma.FileCreateOrConnectWithoutPostsAsImages2Input | Prisma.FileCreateOrConnectWithoutPostsAsImages2Input[];
818
- upsert?: Prisma.FileUpsertWithWhereUniqueWithoutPostsAsImages2Input | Prisma.FileUpsertWithWhereUniqueWithoutPostsAsImages2Input[];
819
- set?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
820
- disconnect?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
821
- delete?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
822
- connect?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
823
- update?: Prisma.FileUpdateWithWhereUniqueWithoutPostsAsImages2Input | Prisma.FileUpdateWithWhereUniqueWithoutPostsAsImages2Input[];
824
- updateMany?: Prisma.FileUpdateManyWithWhereWithoutPostsAsImages2Input | Prisma.FileUpdateManyWithWhereWithoutPostsAsImages2Input[];
825
- deleteMany?: Prisma.FileScalarWhereInput | Prisma.FileScalarWhereInput[];
826
- };
827
- export type FileUpdateOneWithoutPostsAsImage1NestedInput = {
828
- create?: Prisma.XOR<Prisma.FileCreateWithoutPostsAsImage1Input, Prisma.FileUncheckedCreateWithoutPostsAsImage1Input>;
829
- connectOrCreate?: Prisma.FileCreateOrConnectWithoutPostsAsImage1Input;
830
- upsert?: Prisma.FileUpsertWithoutPostsAsImage1Input;
831
- disconnect?: Prisma.FileWhereInput | boolean;
832
- delete?: Prisma.FileWhereInput | boolean;
833
- connect?: Prisma.FileWhereUniqueInput;
834
- update?: Prisma.XOR<Prisma.XOR<Prisma.FileUpdateToOneWithWhereWithoutPostsAsImage1Input, Prisma.FileUpdateWithoutPostsAsImage1Input>, Prisma.FileUncheckedUpdateWithoutPostsAsImage1Input>;
835
- };
836
- export type FileUpdateOneWithoutPostsAsImage2NestedInput = {
837
- create?: Prisma.XOR<Prisma.FileCreateWithoutPostsAsImage2Input, Prisma.FileUncheckedCreateWithoutPostsAsImage2Input>;
838
- connectOrCreate?: Prisma.FileCreateOrConnectWithoutPostsAsImage2Input;
839
- upsert?: Prisma.FileUpsertWithoutPostsAsImage2Input;
840
- disconnect?: Prisma.FileWhereInput | boolean;
841
- delete?: Prisma.FileWhereInput | boolean;
842
- connect?: Prisma.FileWhereUniqueInput;
843
- update?: Prisma.XOR<Prisma.XOR<Prisma.FileUpdateToOneWithWhereWithoutPostsAsImage2Input, Prisma.FileUpdateWithoutPostsAsImage2Input>, Prisma.FileUncheckedUpdateWithoutPostsAsImage2Input>;
844
- };
845
- export type FileUpdateOneWithoutPostsAsImage3NestedInput = {
846
- create?: Prisma.XOR<Prisma.FileCreateWithoutPostsAsImage3Input, Prisma.FileUncheckedCreateWithoutPostsAsImage3Input>;
847
- connectOrCreate?: Prisma.FileCreateOrConnectWithoutPostsAsImage3Input;
848
- upsert?: Prisma.FileUpsertWithoutPostsAsImage3Input;
849
- disconnect?: Prisma.FileWhereInput | boolean;
850
- delete?: Prisma.FileWhereInput | boolean;
851
- connect?: Prisma.FileWhereUniqueInput;
852
- update?: Prisma.XOR<Prisma.XOR<Prisma.FileUpdateToOneWithWhereWithoutPostsAsImage3Input, Prisma.FileUpdateWithoutPostsAsImage3Input>, Prisma.FileUncheckedUpdateWithoutPostsAsImage3Input>;
853
- };
854
- export type FileUpdateOneWithoutPostsAsImage4NestedInput = {
855
- create?: Prisma.XOR<Prisma.FileCreateWithoutPostsAsImage4Input, Prisma.FileUncheckedCreateWithoutPostsAsImage4Input>;
856
- connectOrCreate?: Prisma.FileCreateOrConnectWithoutPostsAsImage4Input;
857
- upsert?: Prisma.FileUpsertWithoutPostsAsImage4Input;
858
- disconnect?: Prisma.FileWhereInput | boolean;
859
- delete?: Prisma.FileWhereInput | boolean;
860
- connect?: Prisma.FileWhereUniqueInput;
861
- update?: Prisma.XOR<Prisma.XOR<Prisma.FileUpdateToOneWithWhereWithoutPostsAsImage4Input, Prisma.FileUpdateWithoutPostsAsImage4Input>, Prisma.FileUncheckedUpdateWithoutPostsAsImage4Input>;
862
- };
863
- export type FileUncheckedUpdateManyWithoutPostsAsContentImageNestedInput = {
864
- create?: Prisma.XOR<Prisma.FileCreateWithoutPostsAsContentImageInput, Prisma.FileUncheckedCreateWithoutPostsAsContentImageInput> | Prisma.FileCreateWithoutPostsAsContentImageInput[] | Prisma.FileUncheckedCreateWithoutPostsAsContentImageInput[];
865
- connectOrCreate?: Prisma.FileCreateOrConnectWithoutPostsAsContentImageInput | Prisma.FileCreateOrConnectWithoutPostsAsContentImageInput[];
866
- upsert?: Prisma.FileUpsertWithWhereUniqueWithoutPostsAsContentImageInput | Prisma.FileUpsertWithWhereUniqueWithoutPostsAsContentImageInput[];
867
- set?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
868
- disconnect?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
869
- delete?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
870
- connect?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
871
- update?: Prisma.FileUpdateWithWhereUniqueWithoutPostsAsContentImageInput | Prisma.FileUpdateWithWhereUniqueWithoutPostsAsContentImageInput[];
872
- updateMany?: Prisma.FileUpdateManyWithWhereWithoutPostsAsContentImageInput | Prisma.FileUpdateManyWithWhereWithoutPostsAsContentImageInput[];
873
- deleteMany?: Prisma.FileScalarWhereInput | Prisma.FileScalarWhereInput[];
874
- };
875
- export type FileUncheckedUpdateManyWithoutPostsAsImages1NestedInput = {
876
- create?: Prisma.XOR<Prisma.FileCreateWithoutPostsAsImages1Input, Prisma.FileUncheckedCreateWithoutPostsAsImages1Input> | Prisma.FileCreateWithoutPostsAsImages1Input[] | Prisma.FileUncheckedCreateWithoutPostsAsImages1Input[];
877
- connectOrCreate?: Prisma.FileCreateOrConnectWithoutPostsAsImages1Input | Prisma.FileCreateOrConnectWithoutPostsAsImages1Input[];
878
- upsert?: Prisma.FileUpsertWithWhereUniqueWithoutPostsAsImages1Input | Prisma.FileUpsertWithWhereUniqueWithoutPostsAsImages1Input[];
879
- set?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
880
- disconnect?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
881
- delete?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
882
- connect?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
883
- update?: Prisma.FileUpdateWithWhereUniqueWithoutPostsAsImages1Input | Prisma.FileUpdateWithWhereUniqueWithoutPostsAsImages1Input[];
884
- updateMany?: Prisma.FileUpdateManyWithWhereWithoutPostsAsImages1Input | Prisma.FileUpdateManyWithWhereWithoutPostsAsImages1Input[];
885
- deleteMany?: Prisma.FileScalarWhereInput | Prisma.FileScalarWhereInput[];
886
- };
887
- export type FileUncheckedUpdateManyWithoutPostsAsImages2NestedInput = {
888
- create?: Prisma.XOR<Prisma.FileCreateWithoutPostsAsImages2Input, Prisma.FileUncheckedCreateWithoutPostsAsImages2Input> | Prisma.FileCreateWithoutPostsAsImages2Input[] | Prisma.FileUncheckedCreateWithoutPostsAsImages2Input[];
889
- connectOrCreate?: Prisma.FileCreateOrConnectWithoutPostsAsImages2Input | Prisma.FileCreateOrConnectWithoutPostsAsImages2Input[];
890
- upsert?: Prisma.FileUpsertWithWhereUniqueWithoutPostsAsImages2Input | Prisma.FileUpsertWithWhereUniqueWithoutPostsAsImages2Input[];
891
- set?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
892
- disconnect?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
893
- delete?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
894
- connect?: Prisma.FileWhereUniqueInput | Prisma.FileWhereUniqueInput[];
895
- update?: Prisma.FileUpdateWithWhereUniqueWithoutPostsAsImages2Input | Prisma.FileUpdateWithWhereUniqueWithoutPostsAsImages2Input[];
896
- updateMany?: Prisma.FileUpdateManyWithWhereWithoutPostsAsImages2Input | Prisma.FileUpdateManyWithWhereWithoutPostsAsImages2Input[];
897
- deleteMany?: Prisma.FileScalarWhereInput | Prisma.FileScalarWhereInput[];
898
- };
899
- export type FileCreateWithoutAdminAsAvatarImageInput = {
900
- id?: string;
901
- key: string;
902
- checksum: string;
903
- originalName: string;
904
- size?: number;
905
- extension: string;
906
- mimeType: string;
907
- type?: $Enums.FileType;
908
- width?: number | null;
909
- height?: number | null;
910
- duration?: number | null;
911
- isLocked?: boolean;
912
- createdAt?: Date | string;
913
- updatedAt?: Date | string;
914
- deletedAt?: Date | string | null;
915
- folder?: Prisma.FolderCreateNestedOneWithoutFilesInput;
916
- postsAsCoverImage?: Prisma.PostCreateNestedManyWithoutCoverImageInput;
917
- postsAsContentImage?: Prisma.PostCreateNestedManyWithoutContentImagesInput;
918
- translations?: Prisma.FileTranslationCreateNestedManyWithoutFileInput;
919
- postsAsImages1?: Prisma.PostCreateNestedManyWithoutImages1Input;
920
- postsAsImages2?: Prisma.PostCreateNestedManyWithoutImages2Input;
921
- postsAsImage1?: Prisma.PostCreateNestedManyWithoutImage1Input;
922
- postsAsImage2?: Prisma.PostCreateNestedManyWithoutImage2Input;
923
- postsAsImage3?: Prisma.PostCreateNestedManyWithoutImage3Input;
924
- postsAsImage4?: Prisma.PostCreateNestedManyWithoutImage4Input;
925
- };
926
- export type FileUncheckedCreateWithoutAdminAsAvatarImageInput = {
927
- id?: string;
928
- key: string;
929
- checksum: string;
930
- originalName: string;
931
- size?: number;
932
- extension: string;
933
- mimeType: string;
934
- type?: $Enums.FileType;
935
- width?: number | null;
936
- height?: number | null;
937
- duration?: number | null;
938
- isLocked?: boolean;
939
- folderId?: string | null;
940
- createdAt?: Date | string;
941
- updatedAt?: Date | string;
942
- deletedAt?: Date | string | null;
943
- postsAsCoverImage?: Prisma.PostUncheckedCreateNestedManyWithoutCoverImageInput;
944
- postsAsContentImage?: Prisma.PostUncheckedCreateNestedManyWithoutContentImagesInput;
945
- translations?: Prisma.FileTranslationUncheckedCreateNestedManyWithoutFileInput;
946
- postsAsImages1?: Prisma.PostUncheckedCreateNestedManyWithoutImages1Input;
947
- postsAsImages2?: Prisma.PostUncheckedCreateNestedManyWithoutImages2Input;
948
- postsAsImage1?: Prisma.PostUncheckedCreateNestedManyWithoutImage1Input;
949
- postsAsImage2?: Prisma.PostUncheckedCreateNestedManyWithoutImage2Input;
950
- postsAsImage3?: Prisma.PostUncheckedCreateNestedManyWithoutImage3Input;
951
- postsAsImage4?: Prisma.PostUncheckedCreateNestedManyWithoutImage4Input;
952
- };
953
- export type FileCreateOrConnectWithoutAdminAsAvatarImageInput = {
954
- where: Prisma.FileWhereUniqueInput;
955
- create: Prisma.XOR<Prisma.FileCreateWithoutAdminAsAvatarImageInput, Prisma.FileUncheckedCreateWithoutAdminAsAvatarImageInput>;
956
- };
957
- export type FileUpsertWithoutAdminAsAvatarImageInput = {
958
- update: Prisma.XOR<Prisma.FileUpdateWithoutAdminAsAvatarImageInput, Prisma.FileUncheckedUpdateWithoutAdminAsAvatarImageInput>;
959
- create: Prisma.XOR<Prisma.FileCreateWithoutAdminAsAvatarImageInput, Prisma.FileUncheckedCreateWithoutAdminAsAvatarImageInput>;
960
- where?: Prisma.FileWhereInput;
961
- };
962
- export type FileUpdateToOneWithWhereWithoutAdminAsAvatarImageInput = {
963
- where?: Prisma.FileWhereInput;
964
- data: Prisma.XOR<Prisma.FileUpdateWithoutAdminAsAvatarImageInput, Prisma.FileUncheckedUpdateWithoutAdminAsAvatarImageInput>;
965
- };
966
- export type FileUpdateWithoutAdminAsAvatarImageInput = {
967
- id?: Prisma.StringFieldUpdateOperationsInput | string;
968
- key?: Prisma.StringFieldUpdateOperationsInput | string;
969
- checksum?: Prisma.StringFieldUpdateOperationsInput | string;
970
- originalName?: Prisma.StringFieldUpdateOperationsInput | string;
971
- size?: Prisma.IntFieldUpdateOperationsInput | number;
972
- extension?: Prisma.StringFieldUpdateOperationsInput | string;
973
- mimeType?: Prisma.StringFieldUpdateOperationsInput | string;
974
- type?: Prisma.EnumFileTypeFieldUpdateOperationsInput | $Enums.FileType;
975
- width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
976
- height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
977
- duration?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
978
- isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
979
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
980
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
981
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
982
- folder?: Prisma.FolderUpdateOneWithoutFilesNestedInput;
983
- postsAsCoverImage?: Prisma.PostUpdateManyWithoutCoverImageNestedInput;
984
- postsAsContentImage?: Prisma.PostUpdateManyWithoutContentImagesNestedInput;
985
- translations?: Prisma.FileTranslationUpdateManyWithoutFileNestedInput;
986
- postsAsImages1?: Prisma.PostUpdateManyWithoutImages1NestedInput;
987
- postsAsImages2?: Prisma.PostUpdateManyWithoutImages2NestedInput;
988
- postsAsImage1?: Prisma.PostUpdateManyWithoutImage1NestedInput;
989
- postsAsImage2?: Prisma.PostUpdateManyWithoutImage2NestedInput;
990
- postsAsImage3?: Prisma.PostUpdateManyWithoutImage3NestedInput;
991
- postsAsImage4?: Prisma.PostUpdateManyWithoutImage4NestedInput;
992
- };
993
- export type FileUncheckedUpdateWithoutAdminAsAvatarImageInput = {
994
- id?: Prisma.StringFieldUpdateOperationsInput | string;
995
- key?: Prisma.StringFieldUpdateOperationsInput | string;
996
- checksum?: Prisma.StringFieldUpdateOperationsInput | string;
997
- originalName?: Prisma.StringFieldUpdateOperationsInput | string;
998
- size?: Prisma.IntFieldUpdateOperationsInput | number;
999
- extension?: Prisma.StringFieldUpdateOperationsInput | string;
1000
- mimeType?: Prisma.StringFieldUpdateOperationsInput | string;
1001
- type?: Prisma.EnumFileTypeFieldUpdateOperationsInput | $Enums.FileType;
1002
- width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1003
- height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1004
- duration?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1005
- isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1006
- folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1007
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1008
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1009
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1010
- postsAsCoverImage?: Prisma.PostUncheckedUpdateManyWithoutCoverImageNestedInput;
1011
- postsAsContentImage?: Prisma.PostUncheckedUpdateManyWithoutContentImagesNestedInput;
1012
- translations?: Prisma.FileTranslationUncheckedUpdateManyWithoutFileNestedInput;
1013
- postsAsImages1?: Prisma.PostUncheckedUpdateManyWithoutImages1NestedInput;
1014
- postsAsImages2?: Prisma.PostUncheckedUpdateManyWithoutImages2NestedInput;
1015
- postsAsImage1?: Prisma.PostUncheckedUpdateManyWithoutImage1NestedInput;
1016
- postsAsImage2?: Prisma.PostUncheckedUpdateManyWithoutImage2NestedInput;
1017
- postsAsImage3?: Prisma.PostUncheckedUpdateManyWithoutImage3NestedInput;
1018
- postsAsImage4?: Prisma.PostUncheckedUpdateManyWithoutImage4NestedInput;
1019
- };
1020
- export type FileCreateWithoutTranslationsInput = {
1021
- id?: string;
1022
- key: string;
1023
- checksum: string;
1024
- originalName: string;
1025
- size?: number;
1026
- extension: string;
1027
- mimeType: string;
1028
- type?: $Enums.FileType;
1029
- width?: number | null;
1030
- height?: number | null;
1031
- duration?: number | null;
1032
- isLocked?: boolean;
1033
- createdAt?: Date | string;
1034
- updatedAt?: Date | string;
1035
- deletedAt?: Date | string | null;
1036
- folder?: Prisma.FolderCreateNestedOneWithoutFilesInput;
1037
- adminAsAvatarImage?: Prisma.AdminCreateNestedManyWithoutAvatarImageInput;
1038
- postsAsCoverImage?: Prisma.PostCreateNestedManyWithoutCoverImageInput;
1039
- postsAsContentImage?: Prisma.PostCreateNestedManyWithoutContentImagesInput;
1040
- postsAsImages1?: Prisma.PostCreateNestedManyWithoutImages1Input;
1041
- postsAsImages2?: Prisma.PostCreateNestedManyWithoutImages2Input;
1042
- postsAsImage1?: Prisma.PostCreateNestedManyWithoutImage1Input;
1043
- postsAsImage2?: Prisma.PostCreateNestedManyWithoutImage2Input;
1044
- postsAsImage3?: Prisma.PostCreateNestedManyWithoutImage3Input;
1045
- postsAsImage4?: Prisma.PostCreateNestedManyWithoutImage4Input;
1046
- };
1047
- export type FileUncheckedCreateWithoutTranslationsInput = {
1048
- id?: string;
1049
- key: string;
1050
- checksum: string;
1051
- originalName: string;
1052
- size?: number;
1053
- extension: string;
1054
- mimeType: string;
1055
- type?: $Enums.FileType;
1056
- width?: number | null;
1057
- height?: number | null;
1058
- duration?: number | null;
1059
- isLocked?: boolean;
1060
- folderId?: string | null;
1061
- createdAt?: Date | string;
1062
- updatedAt?: Date | string;
1063
- deletedAt?: Date | string | null;
1064
- adminAsAvatarImage?: Prisma.AdminUncheckedCreateNestedManyWithoutAvatarImageInput;
1065
- postsAsCoverImage?: Prisma.PostUncheckedCreateNestedManyWithoutCoverImageInput;
1066
- postsAsContentImage?: Prisma.PostUncheckedCreateNestedManyWithoutContentImagesInput;
1067
- postsAsImages1?: Prisma.PostUncheckedCreateNestedManyWithoutImages1Input;
1068
- postsAsImages2?: Prisma.PostUncheckedCreateNestedManyWithoutImages2Input;
1069
- postsAsImage1?: Prisma.PostUncheckedCreateNestedManyWithoutImage1Input;
1070
- postsAsImage2?: Prisma.PostUncheckedCreateNestedManyWithoutImage2Input;
1071
- postsAsImage3?: Prisma.PostUncheckedCreateNestedManyWithoutImage3Input;
1072
- postsAsImage4?: Prisma.PostUncheckedCreateNestedManyWithoutImage4Input;
1073
- };
1074
- export type FileCreateOrConnectWithoutTranslationsInput = {
1075
- where: Prisma.FileWhereUniqueInput;
1076
- create: Prisma.XOR<Prisma.FileCreateWithoutTranslationsInput, Prisma.FileUncheckedCreateWithoutTranslationsInput>;
1077
- };
1078
- export type FileUpsertWithoutTranslationsInput = {
1079
- update: Prisma.XOR<Prisma.FileUpdateWithoutTranslationsInput, Prisma.FileUncheckedUpdateWithoutTranslationsInput>;
1080
- create: Prisma.XOR<Prisma.FileCreateWithoutTranslationsInput, Prisma.FileUncheckedCreateWithoutTranslationsInput>;
1081
- where?: Prisma.FileWhereInput;
1082
- };
1083
- export type FileUpdateToOneWithWhereWithoutTranslationsInput = {
1084
- where?: Prisma.FileWhereInput;
1085
- data: Prisma.XOR<Prisma.FileUpdateWithoutTranslationsInput, Prisma.FileUncheckedUpdateWithoutTranslationsInput>;
1086
- };
1087
- export type FileUpdateWithoutTranslationsInput = {
1088
- id?: Prisma.StringFieldUpdateOperationsInput | string;
1089
- key?: Prisma.StringFieldUpdateOperationsInput | string;
1090
- checksum?: Prisma.StringFieldUpdateOperationsInput | string;
1091
- originalName?: Prisma.StringFieldUpdateOperationsInput | string;
1092
- size?: Prisma.IntFieldUpdateOperationsInput | number;
1093
- extension?: Prisma.StringFieldUpdateOperationsInput | string;
1094
- mimeType?: Prisma.StringFieldUpdateOperationsInput | string;
1095
- type?: Prisma.EnumFileTypeFieldUpdateOperationsInput | $Enums.FileType;
1096
- width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1097
- height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1098
- duration?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1099
- isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1100
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1101
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1102
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1103
- folder?: Prisma.FolderUpdateOneWithoutFilesNestedInput;
1104
- adminAsAvatarImage?: Prisma.AdminUpdateManyWithoutAvatarImageNestedInput;
1105
- postsAsCoverImage?: Prisma.PostUpdateManyWithoutCoverImageNestedInput;
1106
- postsAsContentImage?: Prisma.PostUpdateManyWithoutContentImagesNestedInput;
1107
- postsAsImages1?: Prisma.PostUpdateManyWithoutImages1NestedInput;
1108
- postsAsImages2?: Prisma.PostUpdateManyWithoutImages2NestedInput;
1109
- postsAsImage1?: Prisma.PostUpdateManyWithoutImage1NestedInput;
1110
- postsAsImage2?: Prisma.PostUpdateManyWithoutImage2NestedInput;
1111
- postsAsImage3?: Prisma.PostUpdateManyWithoutImage3NestedInput;
1112
- postsAsImage4?: Prisma.PostUpdateManyWithoutImage4NestedInput;
1113
- };
1114
- export type FileUncheckedUpdateWithoutTranslationsInput = {
1115
- id?: Prisma.StringFieldUpdateOperationsInput | string;
1116
- key?: Prisma.StringFieldUpdateOperationsInput | string;
1117
- checksum?: Prisma.StringFieldUpdateOperationsInput | string;
1118
- originalName?: Prisma.StringFieldUpdateOperationsInput | string;
1119
- size?: Prisma.IntFieldUpdateOperationsInput | number;
1120
- extension?: Prisma.StringFieldUpdateOperationsInput | string;
1121
- mimeType?: Prisma.StringFieldUpdateOperationsInput | string;
1122
- type?: Prisma.EnumFileTypeFieldUpdateOperationsInput | $Enums.FileType;
1123
- width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1124
- height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1125
- duration?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1126
- isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1127
- folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1128
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1129
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1130
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1131
- adminAsAvatarImage?: Prisma.AdminUncheckedUpdateManyWithoutAvatarImageNestedInput;
1132
- postsAsCoverImage?: Prisma.PostUncheckedUpdateManyWithoutCoverImageNestedInput;
1133
- postsAsContentImage?: Prisma.PostUncheckedUpdateManyWithoutContentImagesNestedInput;
1134
- postsAsImages1?: Prisma.PostUncheckedUpdateManyWithoutImages1NestedInput;
1135
- postsAsImages2?: Prisma.PostUncheckedUpdateManyWithoutImages2NestedInput;
1136
- postsAsImage1?: Prisma.PostUncheckedUpdateManyWithoutImage1NestedInput;
1137
- postsAsImage2?: Prisma.PostUncheckedUpdateManyWithoutImage2NestedInput;
1138
- postsAsImage3?: Prisma.PostUncheckedUpdateManyWithoutImage3NestedInput;
1139
- postsAsImage4?: Prisma.PostUncheckedUpdateManyWithoutImage4NestedInput;
1140
- };
1141
- export type FileCreateWithoutFolderInput = {
1142
- id?: string;
1143
- key: string;
1144
- checksum: string;
1145
- originalName: string;
1146
- size?: number;
1147
- extension: string;
1148
- mimeType: string;
1149
- type?: $Enums.FileType;
1150
- width?: number | null;
1151
- height?: number | null;
1152
- duration?: number | null;
1153
- isLocked?: boolean;
1154
- createdAt?: Date | string;
1155
- updatedAt?: Date | string;
1156
- deletedAt?: Date | string | null;
1157
- adminAsAvatarImage?: Prisma.AdminCreateNestedManyWithoutAvatarImageInput;
1158
- postsAsCoverImage?: Prisma.PostCreateNestedManyWithoutCoverImageInput;
1159
- postsAsContentImage?: Prisma.PostCreateNestedManyWithoutContentImagesInput;
1160
- translations?: Prisma.FileTranslationCreateNestedManyWithoutFileInput;
1161
- postsAsImages1?: Prisma.PostCreateNestedManyWithoutImages1Input;
1162
- postsAsImages2?: Prisma.PostCreateNestedManyWithoutImages2Input;
1163
- postsAsImage1?: Prisma.PostCreateNestedManyWithoutImage1Input;
1164
- postsAsImage2?: Prisma.PostCreateNestedManyWithoutImage2Input;
1165
- postsAsImage3?: Prisma.PostCreateNestedManyWithoutImage3Input;
1166
- postsAsImage4?: Prisma.PostCreateNestedManyWithoutImage4Input;
1167
- };
1168
- export type FileUncheckedCreateWithoutFolderInput = {
1169
- id?: string;
1170
- key: string;
1171
- checksum: string;
1172
- originalName: string;
1173
- size?: number;
1174
- extension: string;
1175
- mimeType: string;
1176
- type?: $Enums.FileType;
1177
- width?: number | null;
1178
- height?: number | null;
1179
- duration?: number | null;
1180
- isLocked?: boolean;
1181
- createdAt?: Date | string;
1182
- updatedAt?: Date | string;
1183
- deletedAt?: Date | string | null;
1184
- adminAsAvatarImage?: Prisma.AdminUncheckedCreateNestedManyWithoutAvatarImageInput;
1185
- postsAsCoverImage?: Prisma.PostUncheckedCreateNestedManyWithoutCoverImageInput;
1186
- postsAsContentImage?: Prisma.PostUncheckedCreateNestedManyWithoutContentImagesInput;
1187
- translations?: Prisma.FileTranslationUncheckedCreateNestedManyWithoutFileInput;
1188
- postsAsImages1?: Prisma.PostUncheckedCreateNestedManyWithoutImages1Input;
1189
- postsAsImages2?: Prisma.PostUncheckedCreateNestedManyWithoutImages2Input;
1190
- postsAsImage1?: Prisma.PostUncheckedCreateNestedManyWithoutImage1Input;
1191
- postsAsImage2?: Prisma.PostUncheckedCreateNestedManyWithoutImage2Input;
1192
- postsAsImage3?: Prisma.PostUncheckedCreateNestedManyWithoutImage3Input;
1193
- postsAsImage4?: Prisma.PostUncheckedCreateNestedManyWithoutImage4Input;
1194
- };
1195
- export type FileCreateOrConnectWithoutFolderInput = {
1196
- where: Prisma.FileWhereUniqueInput;
1197
- create: Prisma.XOR<Prisma.FileCreateWithoutFolderInput, Prisma.FileUncheckedCreateWithoutFolderInput>;
1198
- };
1199
- export type FileCreateManyFolderInputEnvelope = {
1200
- data: Prisma.FileCreateManyFolderInput | Prisma.FileCreateManyFolderInput[];
1201
- skipDuplicates?: boolean;
1202
- };
1203
- export type FileUpsertWithWhereUniqueWithoutFolderInput = {
1204
- where: Prisma.FileWhereUniqueInput;
1205
- update: Prisma.XOR<Prisma.FileUpdateWithoutFolderInput, Prisma.FileUncheckedUpdateWithoutFolderInput>;
1206
- create: Prisma.XOR<Prisma.FileCreateWithoutFolderInput, Prisma.FileUncheckedCreateWithoutFolderInput>;
1207
- };
1208
- export type FileUpdateWithWhereUniqueWithoutFolderInput = {
1209
- where: Prisma.FileWhereUniqueInput;
1210
- data: Prisma.XOR<Prisma.FileUpdateWithoutFolderInput, Prisma.FileUncheckedUpdateWithoutFolderInput>;
1211
- };
1212
- export type FileUpdateManyWithWhereWithoutFolderInput = {
1213
- where: Prisma.FileScalarWhereInput;
1214
- data: Prisma.XOR<Prisma.FileUpdateManyMutationInput, Prisma.FileUncheckedUpdateManyWithoutFolderInput>;
1215
- };
1216
- export type FileScalarWhereInput = {
1217
- AND?: Prisma.FileScalarWhereInput | Prisma.FileScalarWhereInput[];
1218
- OR?: Prisma.FileScalarWhereInput[];
1219
- NOT?: Prisma.FileScalarWhereInput | Prisma.FileScalarWhereInput[];
1220
- id?: Prisma.StringFilter<"File"> | string;
1221
- key?: Prisma.StringFilter<"File"> | string;
1222
- checksum?: Prisma.StringFilter<"File"> | string;
1223
- originalName?: Prisma.StringFilter<"File"> | string;
1224
- size?: Prisma.IntFilter<"File"> | number;
1225
- extension?: Prisma.StringFilter<"File"> | string;
1226
- mimeType?: Prisma.StringFilter<"File"> | string;
1227
- type?: Prisma.EnumFileTypeFilter<"File"> | $Enums.FileType;
1228
- width?: Prisma.IntNullableFilter<"File"> | number | null;
1229
- height?: Prisma.IntNullableFilter<"File"> | number | null;
1230
- duration?: Prisma.FloatNullableFilter<"File"> | number | null;
1231
- isLocked?: Prisma.BoolFilter<"File"> | boolean;
1232
- folderId?: Prisma.StringNullableFilter<"File"> | string | null;
1233
- createdAt?: Prisma.DateTimeFilter<"File"> | Date | string;
1234
- updatedAt?: Prisma.DateTimeFilter<"File"> | Date | string;
1235
- deletedAt?: Prisma.DateTimeNullableFilter<"File"> | Date | string | null;
1236
- };
1237
- export type FileCreateWithoutPostsAsCoverImageInput = {
1238
- id?: string;
1239
- key: string;
1240
- checksum: string;
1241
- originalName: string;
1242
- size?: number;
1243
- extension: string;
1244
- mimeType: string;
1245
- type?: $Enums.FileType;
1246
- width?: number | null;
1247
- height?: number | null;
1248
- duration?: number | null;
1249
- isLocked?: boolean;
1250
- createdAt?: Date | string;
1251
- updatedAt?: Date | string;
1252
- deletedAt?: Date | string | null;
1253
- folder?: Prisma.FolderCreateNestedOneWithoutFilesInput;
1254
- adminAsAvatarImage?: Prisma.AdminCreateNestedManyWithoutAvatarImageInput;
1255
- postsAsContentImage?: Prisma.PostCreateNestedManyWithoutContentImagesInput;
1256
- translations?: Prisma.FileTranslationCreateNestedManyWithoutFileInput;
1257
- postsAsImages1?: Prisma.PostCreateNestedManyWithoutImages1Input;
1258
- postsAsImages2?: Prisma.PostCreateNestedManyWithoutImages2Input;
1259
- postsAsImage1?: Prisma.PostCreateNestedManyWithoutImage1Input;
1260
- postsAsImage2?: Prisma.PostCreateNestedManyWithoutImage2Input;
1261
- postsAsImage3?: Prisma.PostCreateNestedManyWithoutImage3Input;
1262
- postsAsImage4?: Prisma.PostCreateNestedManyWithoutImage4Input;
1263
- };
1264
- export type FileUncheckedCreateWithoutPostsAsCoverImageInput = {
1265
- id?: string;
1266
- key: string;
1267
- checksum: string;
1268
- originalName: string;
1269
- size?: number;
1270
- extension: string;
1271
- mimeType: string;
1272
- type?: $Enums.FileType;
1273
- width?: number | null;
1274
- height?: number | null;
1275
- duration?: number | null;
1276
- isLocked?: boolean;
1277
- folderId?: string | null;
1278
- createdAt?: Date | string;
1279
- updatedAt?: Date | string;
1280
- deletedAt?: Date | string | null;
1281
- adminAsAvatarImage?: Prisma.AdminUncheckedCreateNestedManyWithoutAvatarImageInput;
1282
- postsAsContentImage?: Prisma.PostUncheckedCreateNestedManyWithoutContentImagesInput;
1283
- translations?: Prisma.FileTranslationUncheckedCreateNestedManyWithoutFileInput;
1284
- postsAsImages1?: Prisma.PostUncheckedCreateNestedManyWithoutImages1Input;
1285
- postsAsImages2?: Prisma.PostUncheckedCreateNestedManyWithoutImages2Input;
1286
- postsAsImage1?: Prisma.PostUncheckedCreateNestedManyWithoutImage1Input;
1287
- postsAsImage2?: Prisma.PostUncheckedCreateNestedManyWithoutImage2Input;
1288
- postsAsImage3?: Prisma.PostUncheckedCreateNestedManyWithoutImage3Input;
1289
- postsAsImage4?: Prisma.PostUncheckedCreateNestedManyWithoutImage4Input;
1290
- };
1291
- export type FileCreateOrConnectWithoutPostsAsCoverImageInput = {
1292
- where: Prisma.FileWhereUniqueInput;
1293
- create: Prisma.XOR<Prisma.FileCreateWithoutPostsAsCoverImageInput, Prisma.FileUncheckedCreateWithoutPostsAsCoverImageInput>;
1294
- };
1295
- export type FileCreateWithoutPostsAsContentImageInput = {
1296
- id?: string;
1297
- key: string;
1298
- checksum: string;
1299
- originalName: string;
1300
- size?: number;
1301
- extension: string;
1302
- mimeType: string;
1303
- type?: $Enums.FileType;
1304
- width?: number | null;
1305
- height?: number | null;
1306
- duration?: number | null;
1307
- isLocked?: boolean;
1308
- createdAt?: Date | string;
1309
- updatedAt?: Date | string;
1310
- deletedAt?: Date | string | null;
1311
- folder?: Prisma.FolderCreateNestedOneWithoutFilesInput;
1312
- adminAsAvatarImage?: Prisma.AdminCreateNestedManyWithoutAvatarImageInput;
1313
- postsAsCoverImage?: Prisma.PostCreateNestedManyWithoutCoverImageInput;
1314
- translations?: Prisma.FileTranslationCreateNestedManyWithoutFileInput;
1315
- postsAsImages1?: Prisma.PostCreateNestedManyWithoutImages1Input;
1316
- postsAsImages2?: Prisma.PostCreateNestedManyWithoutImages2Input;
1317
- postsAsImage1?: Prisma.PostCreateNestedManyWithoutImage1Input;
1318
- postsAsImage2?: Prisma.PostCreateNestedManyWithoutImage2Input;
1319
- postsAsImage3?: Prisma.PostCreateNestedManyWithoutImage3Input;
1320
- postsAsImage4?: Prisma.PostCreateNestedManyWithoutImage4Input;
1321
- };
1322
- export type FileUncheckedCreateWithoutPostsAsContentImageInput = {
1323
- id?: string;
1324
- key: string;
1325
- checksum: string;
1326
- originalName: string;
1327
- size?: number;
1328
- extension: string;
1329
- mimeType: string;
1330
- type?: $Enums.FileType;
1331
- width?: number | null;
1332
- height?: number | null;
1333
- duration?: number | null;
1334
- isLocked?: boolean;
1335
- folderId?: string | null;
1336
- createdAt?: Date | string;
1337
- updatedAt?: Date | string;
1338
- deletedAt?: Date | string | null;
1339
- adminAsAvatarImage?: Prisma.AdminUncheckedCreateNestedManyWithoutAvatarImageInput;
1340
- postsAsCoverImage?: Prisma.PostUncheckedCreateNestedManyWithoutCoverImageInput;
1341
- translations?: Prisma.FileTranslationUncheckedCreateNestedManyWithoutFileInput;
1342
- postsAsImages1?: Prisma.PostUncheckedCreateNestedManyWithoutImages1Input;
1343
- postsAsImages2?: Prisma.PostUncheckedCreateNestedManyWithoutImages2Input;
1344
- postsAsImage1?: Prisma.PostUncheckedCreateNestedManyWithoutImage1Input;
1345
- postsAsImage2?: Prisma.PostUncheckedCreateNestedManyWithoutImage2Input;
1346
- postsAsImage3?: Prisma.PostUncheckedCreateNestedManyWithoutImage3Input;
1347
- postsAsImage4?: Prisma.PostUncheckedCreateNestedManyWithoutImage4Input;
1348
- };
1349
- export type FileCreateOrConnectWithoutPostsAsContentImageInput = {
1350
- where: Prisma.FileWhereUniqueInput;
1351
- create: Prisma.XOR<Prisma.FileCreateWithoutPostsAsContentImageInput, Prisma.FileUncheckedCreateWithoutPostsAsContentImageInput>;
1352
- };
1353
- export type FileCreateWithoutPostsAsImages1Input = {
1354
- id?: string;
1355
- key: string;
1356
- checksum: string;
1357
- originalName: string;
1358
- size?: number;
1359
- extension: string;
1360
- mimeType: string;
1361
- type?: $Enums.FileType;
1362
- width?: number | null;
1363
- height?: number | null;
1364
- duration?: number | null;
1365
- isLocked?: boolean;
1366
- createdAt?: Date | string;
1367
- updatedAt?: Date | string;
1368
- deletedAt?: Date | string | null;
1369
- folder?: Prisma.FolderCreateNestedOneWithoutFilesInput;
1370
- adminAsAvatarImage?: Prisma.AdminCreateNestedManyWithoutAvatarImageInput;
1371
- postsAsCoverImage?: Prisma.PostCreateNestedManyWithoutCoverImageInput;
1372
- postsAsContentImage?: Prisma.PostCreateNestedManyWithoutContentImagesInput;
1373
- translations?: Prisma.FileTranslationCreateNestedManyWithoutFileInput;
1374
- postsAsImages2?: Prisma.PostCreateNestedManyWithoutImages2Input;
1375
- postsAsImage1?: Prisma.PostCreateNestedManyWithoutImage1Input;
1376
- postsAsImage2?: Prisma.PostCreateNestedManyWithoutImage2Input;
1377
- postsAsImage3?: Prisma.PostCreateNestedManyWithoutImage3Input;
1378
- postsAsImage4?: Prisma.PostCreateNestedManyWithoutImage4Input;
1379
- };
1380
- export type FileUncheckedCreateWithoutPostsAsImages1Input = {
1381
- id?: string;
1382
- key: string;
1383
- checksum: string;
1384
- originalName: string;
1385
- size?: number;
1386
- extension: string;
1387
- mimeType: string;
1388
- type?: $Enums.FileType;
1389
- width?: number | null;
1390
- height?: number | null;
1391
- duration?: number | null;
1392
- isLocked?: boolean;
1393
- folderId?: string | null;
1394
- createdAt?: Date | string;
1395
- updatedAt?: Date | string;
1396
- deletedAt?: Date | string | null;
1397
- adminAsAvatarImage?: Prisma.AdminUncheckedCreateNestedManyWithoutAvatarImageInput;
1398
- postsAsCoverImage?: Prisma.PostUncheckedCreateNestedManyWithoutCoverImageInput;
1399
- postsAsContentImage?: Prisma.PostUncheckedCreateNestedManyWithoutContentImagesInput;
1400
- translations?: Prisma.FileTranslationUncheckedCreateNestedManyWithoutFileInput;
1401
- postsAsImages2?: Prisma.PostUncheckedCreateNestedManyWithoutImages2Input;
1402
- postsAsImage1?: Prisma.PostUncheckedCreateNestedManyWithoutImage1Input;
1403
- postsAsImage2?: Prisma.PostUncheckedCreateNestedManyWithoutImage2Input;
1404
- postsAsImage3?: Prisma.PostUncheckedCreateNestedManyWithoutImage3Input;
1405
- postsAsImage4?: Prisma.PostUncheckedCreateNestedManyWithoutImage4Input;
1406
- };
1407
- export type FileCreateOrConnectWithoutPostsAsImages1Input = {
1408
- where: Prisma.FileWhereUniqueInput;
1409
- create: Prisma.XOR<Prisma.FileCreateWithoutPostsAsImages1Input, Prisma.FileUncheckedCreateWithoutPostsAsImages1Input>;
1410
- };
1411
- export type FileCreateWithoutPostsAsImages2Input = {
1412
- id?: string;
1413
- key: string;
1414
- checksum: string;
1415
- originalName: string;
1416
- size?: number;
1417
- extension: string;
1418
- mimeType: string;
1419
- type?: $Enums.FileType;
1420
- width?: number | null;
1421
- height?: number | null;
1422
- duration?: number | null;
1423
- isLocked?: boolean;
1424
- createdAt?: Date | string;
1425
- updatedAt?: Date | string;
1426
- deletedAt?: Date | string | null;
1427
- folder?: Prisma.FolderCreateNestedOneWithoutFilesInput;
1428
- adminAsAvatarImage?: Prisma.AdminCreateNestedManyWithoutAvatarImageInput;
1429
- postsAsCoverImage?: Prisma.PostCreateNestedManyWithoutCoverImageInput;
1430
- postsAsContentImage?: Prisma.PostCreateNestedManyWithoutContentImagesInput;
1431
- translations?: Prisma.FileTranslationCreateNestedManyWithoutFileInput;
1432
- postsAsImages1?: Prisma.PostCreateNestedManyWithoutImages1Input;
1433
- postsAsImage1?: Prisma.PostCreateNestedManyWithoutImage1Input;
1434
- postsAsImage2?: Prisma.PostCreateNestedManyWithoutImage2Input;
1435
- postsAsImage3?: Prisma.PostCreateNestedManyWithoutImage3Input;
1436
- postsAsImage4?: Prisma.PostCreateNestedManyWithoutImage4Input;
1437
- };
1438
- export type FileUncheckedCreateWithoutPostsAsImages2Input = {
1439
- id?: string;
1440
- key: string;
1441
- checksum: string;
1442
- originalName: string;
1443
- size?: number;
1444
- extension: string;
1445
- mimeType: string;
1446
- type?: $Enums.FileType;
1447
- width?: number | null;
1448
- height?: number | null;
1449
- duration?: number | null;
1450
- isLocked?: boolean;
1451
- folderId?: string | null;
1452
- createdAt?: Date | string;
1453
- updatedAt?: Date | string;
1454
- deletedAt?: Date | string | null;
1455
- adminAsAvatarImage?: Prisma.AdminUncheckedCreateNestedManyWithoutAvatarImageInput;
1456
- postsAsCoverImage?: Prisma.PostUncheckedCreateNestedManyWithoutCoverImageInput;
1457
- postsAsContentImage?: Prisma.PostUncheckedCreateNestedManyWithoutContentImagesInput;
1458
- translations?: Prisma.FileTranslationUncheckedCreateNestedManyWithoutFileInput;
1459
- postsAsImages1?: Prisma.PostUncheckedCreateNestedManyWithoutImages1Input;
1460
- postsAsImage1?: Prisma.PostUncheckedCreateNestedManyWithoutImage1Input;
1461
- postsAsImage2?: Prisma.PostUncheckedCreateNestedManyWithoutImage2Input;
1462
- postsAsImage3?: Prisma.PostUncheckedCreateNestedManyWithoutImage3Input;
1463
- postsAsImage4?: Prisma.PostUncheckedCreateNestedManyWithoutImage4Input;
1464
- };
1465
- export type FileCreateOrConnectWithoutPostsAsImages2Input = {
1466
- where: Prisma.FileWhereUniqueInput;
1467
- create: Prisma.XOR<Prisma.FileCreateWithoutPostsAsImages2Input, Prisma.FileUncheckedCreateWithoutPostsAsImages2Input>;
1468
- };
1469
- export type FileCreateWithoutPostsAsImage1Input = {
1470
- id?: string;
1471
- key: string;
1472
- checksum: string;
1473
- originalName: string;
1474
- size?: number;
1475
- extension: string;
1476
- mimeType: string;
1477
- type?: $Enums.FileType;
1478
- width?: number | null;
1479
- height?: number | null;
1480
- duration?: number | null;
1481
- isLocked?: boolean;
1482
- createdAt?: Date | string;
1483
- updatedAt?: Date | string;
1484
- deletedAt?: Date | string | null;
1485
- folder?: Prisma.FolderCreateNestedOneWithoutFilesInput;
1486
- adminAsAvatarImage?: Prisma.AdminCreateNestedManyWithoutAvatarImageInput;
1487
- postsAsCoverImage?: Prisma.PostCreateNestedManyWithoutCoverImageInput;
1488
- postsAsContentImage?: Prisma.PostCreateNestedManyWithoutContentImagesInput;
1489
- translations?: Prisma.FileTranslationCreateNestedManyWithoutFileInput;
1490
- postsAsImages1?: Prisma.PostCreateNestedManyWithoutImages1Input;
1491
- postsAsImages2?: Prisma.PostCreateNestedManyWithoutImages2Input;
1492
- postsAsImage2?: Prisma.PostCreateNestedManyWithoutImage2Input;
1493
- postsAsImage3?: Prisma.PostCreateNestedManyWithoutImage3Input;
1494
- postsAsImage4?: Prisma.PostCreateNestedManyWithoutImage4Input;
1495
- };
1496
- export type FileUncheckedCreateWithoutPostsAsImage1Input = {
1497
- id?: string;
1498
- key: string;
1499
- checksum: string;
1500
- originalName: string;
1501
- size?: number;
1502
- extension: string;
1503
- mimeType: string;
1504
- type?: $Enums.FileType;
1505
- width?: number | null;
1506
- height?: number | null;
1507
- duration?: number | null;
1508
- isLocked?: boolean;
1509
- folderId?: string | null;
1510
- createdAt?: Date | string;
1511
- updatedAt?: Date | string;
1512
- deletedAt?: Date | string | null;
1513
- adminAsAvatarImage?: Prisma.AdminUncheckedCreateNestedManyWithoutAvatarImageInput;
1514
- postsAsCoverImage?: Prisma.PostUncheckedCreateNestedManyWithoutCoverImageInput;
1515
- postsAsContentImage?: Prisma.PostUncheckedCreateNestedManyWithoutContentImagesInput;
1516
- translations?: Prisma.FileTranslationUncheckedCreateNestedManyWithoutFileInput;
1517
- postsAsImages1?: Prisma.PostUncheckedCreateNestedManyWithoutImages1Input;
1518
- postsAsImages2?: Prisma.PostUncheckedCreateNestedManyWithoutImages2Input;
1519
- postsAsImage2?: Prisma.PostUncheckedCreateNestedManyWithoutImage2Input;
1520
- postsAsImage3?: Prisma.PostUncheckedCreateNestedManyWithoutImage3Input;
1521
- postsAsImage4?: Prisma.PostUncheckedCreateNestedManyWithoutImage4Input;
1522
- };
1523
- export type FileCreateOrConnectWithoutPostsAsImage1Input = {
1524
- where: Prisma.FileWhereUniqueInput;
1525
- create: Prisma.XOR<Prisma.FileCreateWithoutPostsAsImage1Input, Prisma.FileUncheckedCreateWithoutPostsAsImage1Input>;
1526
- };
1527
- export type FileCreateWithoutPostsAsImage2Input = {
1528
- id?: string;
1529
- key: string;
1530
- checksum: string;
1531
- originalName: string;
1532
- size?: number;
1533
- extension: string;
1534
- mimeType: string;
1535
- type?: $Enums.FileType;
1536
- width?: number | null;
1537
- height?: number | null;
1538
- duration?: number | null;
1539
- isLocked?: boolean;
1540
- createdAt?: Date | string;
1541
- updatedAt?: Date | string;
1542
- deletedAt?: Date | string | null;
1543
- folder?: Prisma.FolderCreateNestedOneWithoutFilesInput;
1544
- adminAsAvatarImage?: Prisma.AdminCreateNestedManyWithoutAvatarImageInput;
1545
- postsAsCoverImage?: Prisma.PostCreateNestedManyWithoutCoverImageInput;
1546
- postsAsContentImage?: Prisma.PostCreateNestedManyWithoutContentImagesInput;
1547
- translations?: Prisma.FileTranslationCreateNestedManyWithoutFileInput;
1548
- postsAsImages1?: Prisma.PostCreateNestedManyWithoutImages1Input;
1549
- postsAsImages2?: Prisma.PostCreateNestedManyWithoutImages2Input;
1550
- postsAsImage1?: Prisma.PostCreateNestedManyWithoutImage1Input;
1551
- postsAsImage3?: Prisma.PostCreateNestedManyWithoutImage3Input;
1552
- postsAsImage4?: Prisma.PostCreateNestedManyWithoutImage4Input;
1553
- };
1554
- export type FileUncheckedCreateWithoutPostsAsImage2Input = {
1555
- id?: string;
1556
- key: string;
1557
- checksum: string;
1558
- originalName: string;
1559
- size?: number;
1560
- extension: string;
1561
- mimeType: string;
1562
- type?: $Enums.FileType;
1563
- width?: number | null;
1564
- height?: number | null;
1565
- duration?: number | null;
1566
- isLocked?: boolean;
1567
- folderId?: string | null;
1568
- createdAt?: Date | string;
1569
- updatedAt?: Date | string;
1570
- deletedAt?: Date | string | null;
1571
- adminAsAvatarImage?: Prisma.AdminUncheckedCreateNestedManyWithoutAvatarImageInput;
1572
- postsAsCoverImage?: Prisma.PostUncheckedCreateNestedManyWithoutCoverImageInput;
1573
- postsAsContentImage?: Prisma.PostUncheckedCreateNestedManyWithoutContentImagesInput;
1574
- translations?: Prisma.FileTranslationUncheckedCreateNestedManyWithoutFileInput;
1575
- postsAsImages1?: Prisma.PostUncheckedCreateNestedManyWithoutImages1Input;
1576
- postsAsImages2?: Prisma.PostUncheckedCreateNestedManyWithoutImages2Input;
1577
- postsAsImage1?: Prisma.PostUncheckedCreateNestedManyWithoutImage1Input;
1578
- postsAsImage3?: Prisma.PostUncheckedCreateNestedManyWithoutImage3Input;
1579
- postsAsImage4?: Prisma.PostUncheckedCreateNestedManyWithoutImage4Input;
1580
- };
1581
- export type FileCreateOrConnectWithoutPostsAsImage2Input = {
1582
- where: Prisma.FileWhereUniqueInput;
1583
- create: Prisma.XOR<Prisma.FileCreateWithoutPostsAsImage2Input, Prisma.FileUncheckedCreateWithoutPostsAsImage2Input>;
1584
- };
1585
- export type FileCreateWithoutPostsAsImage3Input = {
1586
- id?: string;
1587
- key: string;
1588
- checksum: string;
1589
- originalName: string;
1590
- size?: number;
1591
- extension: string;
1592
- mimeType: string;
1593
- type?: $Enums.FileType;
1594
- width?: number | null;
1595
- height?: number | null;
1596
- duration?: number | null;
1597
- isLocked?: boolean;
1598
- createdAt?: Date | string;
1599
- updatedAt?: Date | string;
1600
- deletedAt?: Date | string | null;
1601
- folder?: Prisma.FolderCreateNestedOneWithoutFilesInput;
1602
- adminAsAvatarImage?: Prisma.AdminCreateNestedManyWithoutAvatarImageInput;
1603
- postsAsCoverImage?: Prisma.PostCreateNestedManyWithoutCoverImageInput;
1604
- postsAsContentImage?: Prisma.PostCreateNestedManyWithoutContentImagesInput;
1605
- translations?: Prisma.FileTranslationCreateNestedManyWithoutFileInput;
1606
- postsAsImages1?: Prisma.PostCreateNestedManyWithoutImages1Input;
1607
- postsAsImages2?: Prisma.PostCreateNestedManyWithoutImages2Input;
1608
- postsAsImage1?: Prisma.PostCreateNestedManyWithoutImage1Input;
1609
- postsAsImage2?: Prisma.PostCreateNestedManyWithoutImage2Input;
1610
- postsAsImage4?: Prisma.PostCreateNestedManyWithoutImage4Input;
1611
- };
1612
- export type FileUncheckedCreateWithoutPostsAsImage3Input = {
1613
- id?: string;
1614
- key: string;
1615
- checksum: string;
1616
- originalName: string;
1617
- size?: number;
1618
- extension: string;
1619
- mimeType: string;
1620
- type?: $Enums.FileType;
1621
- width?: number | null;
1622
- height?: number | null;
1623
- duration?: number | null;
1624
- isLocked?: boolean;
1625
- folderId?: string | null;
1626
- createdAt?: Date | string;
1627
- updatedAt?: Date | string;
1628
- deletedAt?: Date | string | null;
1629
- adminAsAvatarImage?: Prisma.AdminUncheckedCreateNestedManyWithoutAvatarImageInput;
1630
- postsAsCoverImage?: Prisma.PostUncheckedCreateNestedManyWithoutCoverImageInput;
1631
- postsAsContentImage?: Prisma.PostUncheckedCreateNestedManyWithoutContentImagesInput;
1632
- translations?: Prisma.FileTranslationUncheckedCreateNestedManyWithoutFileInput;
1633
- postsAsImages1?: Prisma.PostUncheckedCreateNestedManyWithoutImages1Input;
1634
- postsAsImages2?: Prisma.PostUncheckedCreateNestedManyWithoutImages2Input;
1635
- postsAsImage1?: Prisma.PostUncheckedCreateNestedManyWithoutImage1Input;
1636
- postsAsImage2?: Prisma.PostUncheckedCreateNestedManyWithoutImage2Input;
1637
- postsAsImage4?: Prisma.PostUncheckedCreateNestedManyWithoutImage4Input;
1638
- };
1639
- export type FileCreateOrConnectWithoutPostsAsImage3Input = {
1640
- where: Prisma.FileWhereUniqueInput;
1641
- create: Prisma.XOR<Prisma.FileCreateWithoutPostsAsImage3Input, Prisma.FileUncheckedCreateWithoutPostsAsImage3Input>;
1642
- };
1643
- export type FileCreateWithoutPostsAsImage4Input = {
1644
- id?: string;
1645
- key: string;
1646
- checksum: string;
1647
- originalName: string;
1648
- size?: number;
1649
- extension: string;
1650
- mimeType: string;
1651
- type?: $Enums.FileType;
1652
- width?: number | null;
1653
- height?: number | null;
1654
- duration?: number | null;
1655
- isLocked?: boolean;
1656
- createdAt?: Date | string;
1657
- updatedAt?: Date | string;
1658
- deletedAt?: Date | string | null;
1659
- folder?: Prisma.FolderCreateNestedOneWithoutFilesInput;
1660
- adminAsAvatarImage?: Prisma.AdminCreateNestedManyWithoutAvatarImageInput;
1661
- postsAsCoverImage?: Prisma.PostCreateNestedManyWithoutCoverImageInput;
1662
- postsAsContentImage?: Prisma.PostCreateNestedManyWithoutContentImagesInput;
1663
- translations?: Prisma.FileTranslationCreateNestedManyWithoutFileInput;
1664
- postsAsImages1?: Prisma.PostCreateNestedManyWithoutImages1Input;
1665
- postsAsImages2?: Prisma.PostCreateNestedManyWithoutImages2Input;
1666
- postsAsImage1?: Prisma.PostCreateNestedManyWithoutImage1Input;
1667
- postsAsImage2?: Prisma.PostCreateNestedManyWithoutImage2Input;
1668
- postsAsImage3?: Prisma.PostCreateNestedManyWithoutImage3Input;
1669
- };
1670
- export type FileUncheckedCreateWithoutPostsAsImage4Input = {
1671
- id?: string;
1672
- key: string;
1673
- checksum: string;
1674
- originalName: string;
1675
- size?: number;
1676
- extension: string;
1677
- mimeType: string;
1678
- type?: $Enums.FileType;
1679
- width?: number | null;
1680
- height?: number | null;
1681
- duration?: number | null;
1682
- isLocked?: boolean;
1683
- folderId?: string | null;
1684
- createdAt?: Date | string;
1685
- updatedAt?: Date | string;
1686
- deletedAt?: Date | string | null;
1687
- adminAsAvatarImage?: Prisma.AdminUncheckedCreateNestedManyWithoutAvatarImageInput;
1688
- postsAsCoverImage?: Prisma.PostUncheckedCreateNestedManyWithoutCoverImageInput;
1689
- postsAsContentImage?: Prisma.PostUncheckedCreateNestedManyWithoutContentImagesInput;
1690
- translations?: Prisma.FileTranslationUncheckedCreateNestedManyWithoutFileInput;
1691
- postsAsImages1?: Prisma.PostUncheckedCreateNestedManyWithoutImages1Input;
1692
- postsAsImages2?: Prisma.PostUncheckedCreateNestedManyWithoutImages2Input;
1693
- postsAsImage1?: Prisma.PostUncheckedCreateNestedManyWithoutImage1Input;
1694
- postsAsImage2?: Prisma.PostUncheckedCreateNestedManyWithoutImage2Input;
1695
- postsAsImage3?: Prisma.PostUncheckedCreateNestedManyWithoutImage3Input;
1696
- };
1697
- export type FileCreateOrConnectWithoutPostsAsImage4Input = {
1698
- where: Prisma.FileWhereUniqueInput;
1699
- create: Prisma.XOR<Prisma.FileCreateWithoutPostsAsImage4Input, Prisma.FileUncheckedCreateWithoutPostsAsImage4Input>;
1700
- };
1701
- export type FileUpsertWithoutPostsAsCoverImageInput = {
1702
- update: Prisma.XOR<Prisma.FileUpdateWithoutPostsAsCoverImageInput, Prisma.FileUncheckedUpdateWithoutPostsAsCoverImageInput>;
1703
- create: Prisma.XOR<Prisma.FileCreateWithoutPostsAsCoverImageInput, Prisma.FileUncheckedCreateWithoutPostsAsCoverImageInput>;
1704
- where?: Prisma.FileWhereInput;
1705
- };
1706
- export type FileUpdateToOneWithWhereWithoutPostsAsCoverImageInput = {
1707
- where?: Prisma.FileWhereInput;
1708
- data: Prisma.XOR<Prisma.FileUpdateWithoutPostsAsCoverImageInput, Prisma.FileUncheckedUpdateWithoutPostsAsCoverImageInput>;
1709
- };
1710
- export type FileUpdateWithoutPostsAsCoverImageInput = {
1711
- id?: Prisma.StringFieldUpdateOperationsInput | string;
1712
- key?: Prisma.StringFieldUpdateOperationsInput | string;
1713
- checksum?: Prisma.StringFieldUpdateOperationsInput | string;
1714
- originalName?: Prisma.StringFieldUpdateOperationsInput | string;
1715
- size?: Prisma.IntFieldUpdateOperationsInput | number;
1716
- extension?: Prisma.StringFieldUpdateOperationsInput | string;
1717
- mimeType?: Prisma.StringFieldUpdateOperationsInput | string;
1718
- type?: Prisma.EnumFileTypeFieldUpdateOperationsInput | $Enums.FileType;
1719
- width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1720
- height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1721
- duration?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1722
- isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1723
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1724
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1725
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1726
- folder?: Prisma.FolderUpdateOneWithoutFilesNestedInput;
1727
- adminAsAvatarImage?: Prisma.AdminUpdateManyWithoutAvatarImageNestedInput;
1728
- postsAsContentImage?: Prisma.PostUpdateManyWithoutContentImagesNestedInput;
1729
- translations?: Prisma.FileTranslationUpdateManyWithoutFileNestedInput;
1730
- postsAsImages1?: Prisma.PostUpdateManyWithoutImages1NestedInput;
1731
- postsAsImages2?: Prisma.PostUpdateManyWithoutImages2NestedInput;
1732
- postsAsImage1?: Prisma.PostUpdateManyWithoutImage1NestedInput;
1733
- postsAsImage2?: Prisma.PostUpdateManyWithoutImage2NestedInput;
1734
- postsAsImage3?: Prisma.PostUpdateManyWithoutImage3NestedInput;
1735
- postsAsImage4?: Prisma.PostUpdateManyWithoutImage4NestedInput;
1736
- };
1737
- export type FileUncheckedUpdateWithoutPostsAsCoverImageInput = {
1738
- id?: Prisma.StringFieldUpdateOperationsInput | string;
1739
- key?: Prisma.StringFieldUpdateOperationsInput | string;
1740
- checksum?: Prisma.StringFieldUpdateOperationsInput | string;
1741
- originalName?: Prisma.StringFieldUpdateOperationsInput | string;
1742
- size?: Prisma.IntFieldUpdateOperationsInput | number;
1743
- extension?: Prisma.StringFieldUpdateOperationsInput | string;
1744
- mimeType?: Prisma.StringFieldUpdateOperationsInput | string;
1745
- type?: Prisma.EnumFileTypeFieldUpdateOperationsInput | $Enums.FileType;
1746
- width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1747
- height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1748
- duration?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1749
- isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1750
- folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1751
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1752
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1753
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1754
- adminAsAvatarImage?: Prisma.AdminUncheckedUpdateManyWithoutAvatarImageNestedInput;
1755
- postsAsContentImage?: Prisma.PostUncheckedUpdateManyWithoutContentImagesNestedInput;
1756
- translations?: Prisma.FileTranslationUncheckedUpdateManyWithoutFileNestedInput;
1757
- postsAsImages1?: Prisma.PostUncheckedUpdateManyWithoutImages1NestedInput;
1758
- postsAsImages2?: Prisma.PostUncheckedUpdateManyWithoutImages2NestedInput;
1759
- postsAsImage1?: Prisma.PostUncheckedUpdateManyWithoutImage1NestedInput;
1760
- postsAsImage2?: Prisma.PostUncheckedUpdateManyWithoutImage2NestedInput;
1761
- postsAsImage3?: Prisma.PostUncheckedUpdateManyWithoutImage3NestedInput;
1762
- postsAsImage4?: Prisma.PostUncheckedUpdateManyWithoutImage4NestedInput;
1763
- };
1764
- export type FileUpsertWithWhereUniqueWithoutPostsAsContentImageInput = {
1765
- where: Prisma.FileWhereUniqueInput;
1766
- update: Prisma.XOR<Prisma.FileUpdateWithoutPostsAsContentImageInput, Prisma.FileUncheckedUpdateWithoutPostsAsContentImageInput>;
1767
- create: Prisma.XOR<Prisma.FileCreateWithoutPostsAsContentImageInput, Prisma.FileUncheckedCreateWithoutPostsAsContentImageInput>;
1768
- };
1769
- export type FileUpdateWithWhereUniqueWithoutPostsAsContentImageInput = {
1770
- where: Prisma.FileWhereUniqueInput;
1771
- data: Prisma.XOR<Prisma.FileUpdateWithoutPostsAsContentImageInput, Prisma.FileUncheckedUpdateWithoutPostsAsContentImageInput>;
1772
- };
1773
- export type FileUpdateManyWithWhereWithoutPostsAsContentImageInput = {
1774
- where: Prisma.FileScalarWhereInput;
1775
- data: Prisma.XOR<Prisma.FileUpdateManyMutationInput, Prisma.FileUncheckedUpdateManyWithoutPostsAsContentImageInput>;
1776
- };
1777
- export type FileUpsertWithWhereUniqueWithoutPostsAsImages1Input = {
1778
- where: Prisma.FileWhereUniqueInput;
1779
- update: Prisma.XOR<Prisma.FileUpdateWithoutPostsAsImages1Input, Prisma.FileUncheckedUpdateWithoutPostsAsImages1Input>;
1780
- create: Prisma.XOR<Prisma.FileCreateWithoutPostsAsImages1Input, Prisma.FileUncheckedCreateWithoutPostsAsImages1Input>;
1781
- };
1782
- export type FileUpdateWithWhereUniqueWithoutPostsAsImages1Input = {
1783
- where: Prisma.FileWhereUniqueInput;
1784
- data: Prisma.XOR<Prisma.FileUpdateWithoutPostsAsImages1Input, Prisma.FileUncheckedUpdateWithoutPostsAsImages1Input>;
1785
- };
1786
- export type FileUpdateManyWithWhereWithoutPostsAsImages1Input = {
1787
- where: Prisma.FileScalarWhereInput;
1788
- data: Prisma.XOR<Prisma.FileUpdateManyMutationInput, Prisma.FileUncheckedUpdateManyWithoutPostsAsImages1Input>;
1789
- };
1790
- export type FileUpsertWithWhereUniqueWithoutPostsAsImages2Input = {
1791
- where: Prisma.FileWhereUniqueInput;
1792
- update: Prisma.XOR<Prisma.FileUpdateWithoutPostsAsImages2Input, Prisma.FileUncheckedUpdateWithoutPostsAsImages2Input>;
1793
- create: Prisma.XOR<Prisma.FileCreateWithoutPostsAsImages2Input, Prisma.FileUncheckedCreateWithoutPostsAsImages2Input>;
1794
- };
1795
- export type FileUpdateWithWhereUniqueWithoutPostsAsImages2Input = {
1796
- where: Prisma.FileWhereUniqueInput;
1797
- data: Prisma.XOR<Prisma.FileUpdateWithoutPostsAsImages2Input, Prisma.FileUncheckedUpdateWithoutPostsAsImages2Input>;
1798
- };
1799
- export type FileUpdateManyWithWhereWithoutPostsAsImages2Input = {
1800
- where: Prisma.FileScalarWhereInput;
1801
- data: Prisma.XOR<Prisma.FileUpdateManyMutationInput, Prisma.FileUncheckedUpdateManyWithoutPostsAsImages2Input>;
1802
- };
1803
- export type FileUpsertWithoutPostsAsImage1Input = {
1804
- update: Prisma.XOR<Prisma.FileUpdateWithoutPostsAsImage1Input, Prisma.FileUncheckedUpdateWithoutPostsAsImage1Input>;
1805
- create: Prisma.XOR<Prisma.FileCreateWithoutPostsAsImage1Input, Prisma.FileUncheckedCreateWithoutPostsAsImage1Input>;
1806
- where?: Prisma.FileWhereInput;
1807
- };
1808
- export type FileUpdateToOneWithWhereWithoutPostsAsImage1Input = {
1809
- where?: Prisma.FileWhereInput;
1810
- data: Prisma.XOR<Prisma.FileUpdateWithoutPostsAsImage1Input, Prisma.FileUncheckedUpdateWithoutPostsAsImage1Input>;
1811
- };
1812
- export type FileUpdateWithoutPostsAsImage1Input = {
1813
- id?: Prisma.StringFieldUpdateOperationsInput | string;
1814
- key?: Prisma.StringFieldUpdateOperationsInput | string;
1815
- checksum?: Prisma.StringFieldUpdateOperationsInput | string;
1816
- originalName?: Prisma.StringFieldUpdateOperationsInput | string;
1817
- size?: Prisma.IntFieldUpdateOperationsInput | number;
1818
- extension?: Prisma.StringFieldUpdateOperationsInput | string;
1819
- mimeType?: Prisma.StringFieldUpdateOperationsInput | string;
1820
- type?: Prisma.EnumFileTypeFieldUpdateOperationsInput | $Enums.FileType;
1821
- width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1822
- height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1823
- duration?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1824
- isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1825
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1826
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1827
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1828
- folder?: Prisma.FolderUpdateOneWithoutFilesNestedInput;
1829
- adminAsAvatarImage?: Prisma.AdminUpdateManyWithoutAvatarImageNestedInput;
1830
- postsAsCoverImage?: Prisma.PostUpdateManyWithoutCoverImageNestedInput;
1831
- postsAsContentImage?: Prisma.PostUpdateManyWithoutContentImagesNestedInput;
1832
- translations?: Prisma.FileTranslationUpdateManyWithoutFileNestedInput;
1833
- postsAsImages1?: Prisma.PostUpdateManyWithoutImages1NestedInput;
1834
- postsAsImages2?: Prisma.PostUpdateManyWithoutImages2NestedInput;
1835
- postsAsImage2?: Prisma.PostUpdateManyWithoutImage2NestedInput;
1836
- postsAsImage3?: Prisma.PostUpdateManyWithoutImage3NestedInput;
1837
- postsAsImage4?: Prisma.PostUpdateManyWithoutImage4NestedInput;
1838
- };
1839
- export type FileUncheckedUpdateWithoutPostsAsImage1Input = {
1840
- id?: Prisma.StringFieldUpdateOperationsInput | string;
1841
- key?: Prisma.StringFieldUpdateOperationsInput | string;
1842
- checksum?: Prisma.StringFieldUpdateOperationsInput | string;
1843
- originalName?: Prisma.StringFieldUpdateOperationsInput | string;
1844
- size?: Prisma.IntFieldUpdateOperationsInput | number;
1845
- extension?: Prisma.StringFieldUpdateOperationsInput | string;
1846
- mimeType?: Prisma.StringFieldUpdateOperationsInput | string;
1847
- type?: Prisma.EnumFileTypeFieldUpdateOperationsInput | $Enums.FileType;
1848
- width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1849
- height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1850
- duration?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1851
- isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1852
- folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1853
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1854
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1855
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1856
- adminAsAvatarImage?: Prisma.AdminUncheckedUpdateManyWithoutAvatarImageNestedInput;
1857
- postsAsCoverImage?: Prisma.PostUncheckedUpdateManyWithoutCoverImageNestedInput;
1858
- postsAsContentImage?: Prisma.PostUncheckedUpdateManyWithoutContentImagesNestedInput;
1859
- translations?: Prisma.FileTranslationUncheckedUpdateManyWithoutFileNestedInput;
1860
- postsAsImages1?: Prisma.PostUncheckedUpdateManyWithoutImages1NestedInput;
1861
- postsAsImages2?: Prisma.PostUncheckedUpdateManyWithoutImages2NestedInput;
1862
- postsAsImage2?: Prisma.PostUncheckedUpdateManyWithoutImage2NestedInput;
1863
- postsAsImage3?: Prisma.PostUncheckedUpdateManyWithoutImage3NestedInput;
1864
- postsAsImage4?: Prisma.PostUncheckedUpdateManyWithoutImage4NestedInput;
1865
- };
1866
- export type FileUpsertWithoutPostsAsImage2Input = {
1867
- update: Prisma.XOR<Prisma.FileUpdateWithoutPostsAsImage2Input, Prisma.FileUncheckedUpdateWithoutPostsAsImage2Input>;
1868
- create: Prisma.XOR<Prisma.FileCreateWithoutPostsAsImage2Input, Prisma.FileUncheckedCreateWithoutPostsAsImage2Input>;
1869
- where?: Prisma.FileWhereInput;
1870
- };
1871
- export type FileUpdateToOneWithWhereWithoutPostsAsImage2Input = {
1872
- where?: Prisma.FileWhereInput;
1873
- data: Prisma.XOR<Prisma.FileUpdateWithoutPostsAsImage2Input, Prisma.FileUncheckedUpdateWithoutPostsAsImage2Input>;
1874
- };
1875
- export type FileUpdateWithoutPostsAsImage2Input = {
1876
- id?: Prisma.StringFieldUpdateOperationsInput | string;
1877
- key?: Prisma.StringFieldUpdateOperationsInput | string;
1878
- checksum?: Prisma.StringFieldUpdateOperationsInput | string;
1879
- originalName?: Prisma.StringFieldUpdateOperationsInput | string;
1880
- size?: Prisma.IntFieldUpdateOperationsInput | number;
1881
- extension?: Prisma.StringFieldUpdateOperationsInput | string;
1882
- mimeType?: Prisma.StringFieldUpdateOperationsInput | string;
1883
- type?: Prisma.EnumFileTypeFieldUpdateOperationsInput | $Enums.FileType;
1884
- width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1885
- height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1886
- duration?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1887
- isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1888
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1889
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1890
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1891
- folder?: Prisma.FolderUpdateOneWithoutFilesNestedInput;
1892
- adminAsAvatarImage?: Prisma.AdminUpdateManyWithoutAvatarImageNestedInput;
1893
- postsAsCoverImage?: Prisma.PostUpdateManyWithoutCoverImageNestedInput;
1894
- postsAsContentImage?: Prisma.PostUpdateManyWithoutContentImagesNestedInput;
1895
- translations?: Prisma.FileTranslationUpdateManyWithoutFileNestedInput;
1896
- postsAsImages1?: Prisma.PostUpdateManyWithoutImages1NestedInput;
1897
- postsAsImages2?: Prisma.PostUpdateManyWithoutImages2NestedInput;
1898
- postsAsImage1?: Prisma.PostUpdateManyWithoutImage1NestedInput;
1899
- postsAsImage3?: Prisma.PostUpdateManyWithoutImage3NestedInput;
1900
- postsAsImage4?: Prisma.PostUpdateManyWithoutImage4NestedInput;
1901
- };
1902
- export type FileUncheckedUpdateWithoutPostsAsImage2Input = {
1903
- id?: Prisma.StringFieldUpdateOperationsInput | string;
1904
- key?: Prisma.StringFieldUpdateOperationsInput | string;
1905
- checksum?: Prisma.StringFieldUpdateOperationsInput | string;
1906
- originalName?: Prisma.StringFieldUpdateOperationsInput | string;
1907
- size?: Prisma.IntFieldUpdateOperationsInput | number;
1908
- extension?: Prisma.StringFieldUpdateOperationsInput | string;
1909
- mimeType?: Prisma.StringFieldUpdateOperationsInput | string;
1910
- type?: Prisma.EnumFileTypeFieldUpdateOperationsInput | $Enums.FileType;
1911
- width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1912
- height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1913
- duration?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1914
- isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1915
- folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1916
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1917
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1918
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1919
- adminAsAvatarImage?: Prisma.AdminUncheckedUpdateManyWithoutAvatarImageNestedInput;
1920
- postsAsCoverImage?: Prisma.PostUncheckedUpdateManyWithoutCoverImageNestedInput;
1921
- postsAsContentImage?: Prisma.PostUncheckedUpdateManyWithoutContentImagesNestedInput;
1922
- translations?: Prisma.FileTranslationUncheckedUpdateManyWithoutFileNestedInput;
1923
- postsAsImages1?: Prisma.PostUncheckedUpdateManyWithoutImages1NestedInput;
1924
- postsAsImages2?: Prisma.PostUncheckedUpdateManyWithoutImages2NestedInput;
1925
- postsAsImage1?: Prisma.PostUncheckedUpdateManyWithoutImage1NestedInput;
1926
- postsAsImage3?: Prisma.PostUncheckedUpdateManyWithoutImage3NestedInput;
1927
- postsAsImage4?: Prisma.PostUncheckedUpdateManyWithoutImage4NestedInput;
1928
- };
1929
- export type FileUpsertWithoutPostsAsImage3Input = {
1930
- update: Prisma.XOR<Prisma.FileUpdateWithoutPostsAsImage3Input, Prisma.FileUncheckedUpdateWithoutPostsAsImage3Input>;
1931
- create: Prisma.XOR<Prisma.FileCreateWithoutPostsAsImage3Input, Prisma.FileUncheckedCreateWithoutPostsAsImage3Input>;
1932
- where?: Prisma.FileWhereInput;
1933
- };
1934
- export type FileUpdateToOneWithWhereWithoutPostsAsImage3Input = {
1935
- where?: Prisma.FileWhereInput;
1936
- data: Prisma.XOR<Prisma.FileUpdateWithoutPostsAsImage3Input, Prisma.FileUncheckedUpdateWithoutPostsAsImage3Input>;
1937
- };
1938
- export type FileUpdateWithoutPostsAsImage3Input = {
1939
- id?: Prisma.StringFieldUpdateOperationsInput | string;
1940
- key?: Prisma.StringFieldUpdateOperationsInput | string;
1941
- checksum?: Prisma.StringFieldUpdateOperationsInput | string;
1942
- originalName?: Prisma.StringFieldUpdateOperationsInput | string;
1943
- size?: Prisma.IntFieldUpdateOperationsInput | number;
1944
- extension?: Prisma.StringFieldUpdateOperationsInput | string;
1945
- mimeType?: Prisma.StringFieldUpdateOperationsInput | string;
1946
- type?: Prisma.EnumFileTypeFieldUpdateOperationsInput | $Enums.FileType;
1947
- width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1948
- height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1949
- duration?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1950
- isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1951
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1952
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1953
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1954
- folder?: Prisma.FolderUpdateOneWithoutFilesNestedInput;
1955
- adminAsAvatarImage?: Prisma.AdminUpdateManyWithoutAvatarImageNestedInput;
1956
- postsAsCoverImage?: Prisma.PostUpdateManyWithoutCoverImageNestedInput;
1957
- postsAsContentImage?: Prisma.PostUpdateManyWithoutContentImagesNestedInput;
1958
- translations?: Prisma.FileTranslationUpdateManyWithoutFileNestedInput;
1959
- postsAsImages1?: Prisma.PostUpdateManyWithoutImages1NestedInput;
1960
- postsAsImages2?: Prisma.PostUpdateManyWithoutImages2NestedInput;
1961
- postsAsImage1?: Prisma.PostUpdateManyWithoutImage1NestedInput;
1962
- postsAsImage2?: Prisma.PostUpdateManyWithoutImage2NestedInput;
1963
- postsAsImage4?: Prisma.PostUpdateManyWithoutImage4NestedInput;
1964
- };
1965
- export type FileUncheckedUpdateWithoutPostsAsImage3Input = {
1966
- id?: Prisma.StringFieldUpdateOperationsInput | string;
1967
- key?: Prisma.StringFieldUpdateOperationsInput | string;
1968
- checksum?: Prisma.StringFieldUpdateOperationsInput | string;
1969
- originalName?: Prisma.StringFieldUpdateOperationsInput | string;
1970
- size?: Prisma.IntFieldUpdateOperationsInput | number;
1971
- extension?: Prisma.StringFieldUpdateOperationsInput | string;
1972
- mimeType?: Prisma.StringFieldUpdateOperationsInput | string;
1973
- type?: Prisma.EnumFileTypeFieldUpdateOperationsInput | $Enums.FileType;
1974
- width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1975
- height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
1976
- duration?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
1977
- isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1978
- folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1979
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1980
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1981
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1982
- adminAsAvatarImage?: Prisma.AdminUncheckedUpdateManyWithoutAvatarImageNestedInput;
1983
- postsAsCoverImage?: Prisma.PostUncheckedUpdateManyWithoutCoverImageNestedInput;
1984
- postsAsContentImage?: Prisma.PostUncheckedUpdateManyWithoutContentImagesNestedInput;
1985
- translations?: Prisma.FileTranslationUncheckedUpdateManyWithoutFileNestedInput;
1986
- postsAsImages1?: Prisma.PostUncheckedUpdateManyWithoutImages1NestedInput;
1987
- postsAsImages2?: Prisma.PostUncheckedUpdateManyWithoutImages2NestedInput;
1988
- postsAsImage1?: Prisma.PostUncheckedUpdateManyWithoutImage1NestedInput;
1989
- postsAsImage2?: Prisma.PostUncheckedUpdateManyWithoutImage2NestedInput;
1990
- postsAsImage4?: Prisma.PostUncheckedUpdateManyWithoutImage4NestedInput;
1991
- };
1992
- export type FileUpsertWithoutPostsAsImage4Input = {
1993
- update: Prisma.XOR<Prisma.FileUpdateWithoutPostsAsImage4Input, Prisma.FileUncheckedUpdateWithoutPostsAsImage4Input>;
1994
- create: Prisma.XOR<Prisma.FileCreateWithoutPostsAsImage4Input, Prisma.FileUncheckedCreateWithoutPostsAsImage4Input>;
1995
- where?: Prisma.FileWhereInput;
1996
- };
1997
- export type FileUpdateToOneWithWhereWithoutPostsAsImage4Input = {
1998
- where?: Prisma.FileWhereInput;
1999
- data: Prisma.XOR<Prisma.FileUpdateWithoutPostsAsImage4Input, Prisma.FileUncheckedUpdateWithoutPostsAsImage4Input>;
2000
- };
2001
- export type FileUpdateWithoutPostsAsImage4Input = {
2002
- id?: Prisma.StringFieldUpdateOperationsInput | string;
2003
- key?: Prisma.StringFieldUpdateOperationsInput | string;
2004
- checksum?: Prisma.StringFieldUpdateOperationsInput | string;
2005
- originalName?: Prisma.StringFieldUpdateOperationsInput | string;
2006
- size?: Prisma.IntFieldUpdateOperationsInput | number;
2007
- extension?: Prisma.StringFieldUpdateOperationsInput | string;
2008
- mimeType?: Prisma.StringFieldUpdateOperationsInput | string;
2009
- type?: Prisma.EnumFileTypeFieldUpdateOperationsInput | $Enums.FileType;
2010
- width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2011
- height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2012
- duration?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2013
- isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2014
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2015
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2016
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2017
- folder?: Prisma.FolderUpdateOneWithoutFilesNestedInput;
2018
- adminAsAvatarImage?: Prisma.AdminUpdateManyWithoutAvatarImageNestedInput;
2019
- postsAsCoverImage?: Prisma.PostUpdateManyWithoutCoverImageNestedInput;
2020
- postsAsContentImage?: Prisma.PostUpdateManyWithoutContentImagesNestedInput;
2021
- translations?: Prisma.FileTranslationUpdateManyWithoutFileNestedInput;
2022
- postsAsImages1?: Prisma.PostUpdateManyWithoutImages1NestedInput;
2023
- postsAsImages2?: Prisma.PostUpdateManyWithoutImages2NestedInput;
2024
- postsAsImage1?: Prisma.PostUpdateManyWithoutImage1NestedInput;
2025
- postsAsImage2?: Prisma.PostUpdateManyWithoutImage2NestedInput;
2026
- postsAsImage3?: Prisma.PostUpdateManyWithoutImage3NestedInput;
2027
- };
2028
- export type FileUncheckedUpdateWithoutPostsAsImage4Input = {
2029
- id?: Prisma.StringFieldUpdateOperationsInput | string;
2030
- key?: Prisma.StringFieldUpdateOperationsInput | string;
2031
- checksum?: Prisma.StringFieldUpdateOperationsInput | string;
2032
- originalName?: Prisma.StringFieldUpdateOperationsInput | string;
2033
- size?: Prisma.IntFieldUpdateOperationsInput | number;
2034
- extension?: Prisma.StringFieldUpdateOperationsInput | string;
2035
- mimeType?: Prisma.StringFieldUpdateOperationsInput | string;
2036
- type?: Prisma.EnumFileTypeFieldUpdateOperationsInput | $Enums.FileType;
2037
- width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2038
- height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2039
- duration?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2040
- isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2041
- folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2042
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2043
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2044
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2045
- adminAsAvatarImage?: Prisma.AdminUncheckedUpdateManyWithoutAvatarImageNestedInput;
2046
- postsAsCoverImage?: Prisma.PostUncheckedUpdateManyWithoutCoverImageNestedInput;
2047
- postsAsContentImage?: Prisma.PostUncheckedUpdateManyWithoutContentImagesNestedInput;
2048
- translations?: Prisma.FileTranslationUncheckedUpdateManyWithoutFileNestedInput;
2049
- postsAsImages1?: Prisma.PostUncheckedUpdateManyWithoutImages1NestedInput;
2050
- postsAsImages2?: Prisma.PostUncheckedUpdateManyWithoutImages2NestedInput;
2051
- postsAsImage1?: Prisma.PostUncheckedUpdateManyWithoutImage1NestedInput;
2052
- postsAsImage2?: Prisma.PostUncheckedUpdateManyWithoutImage2NestedInput;
2053
- postsAsImage3?: Prisma.PostUncheckedUpdateManyWithoutImage3NestedInput;
2054
- };
2055
- export type FileCreateManyFolderInput = {
2056
- id?: string;
2057
- key: string;
2058
- checksum: string;
2059
- originalName: string;
2060
- size?: number;
2061
- extension: string;
2062
- mimeType: string;
2063
- type?: $Enums.FileType;
2064
- width?: number | null;
2065
- height?: number | null;
2066
- duration?: number | null;
2067
- isLocked?: boolean;
2068
- createdAt?: Date | string;
2069
- updatedAt?: Date | string;
2070
- deletedAt?: Date | string | null;
2071
- };
2072
- export type FileUpdateWithoutFolderInput = {
2073
- id?: Prisma.StringFieldUpdateOperationsInput | string;
2074
- key?: Prisma.StringFieldUpdateOperationsInput | string;
2075
- checksum?: Prisma.StringFieldUpdateOperationsInput | string;
2076
- originalName?: Prisma.StringFieldUpdateOperationsInput | string;
2077
- size?: Prisma.IntFieldUpdateOperationsInput | number;
2078
- extension?: Prisma.StringFieldUpdateOperationsInput | string;
2079
- mimeType?: Prisma.StringFieldUpdateOperationsInput | string;
2080
- type?: Prisma.EnumFileTypeFieldUpdateOperationsInput | $Enums.FileType;
2081
- width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2082
- height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2083
- duration?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2084
- isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2085
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2086
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2087
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2088
- adminAsAvatarImage?: Prisma.AdminUpdateManyWithoutAvatarImageNestedInput;
2089
- postsAsCoverImage?: Prisma.PostUpdateManyWithoutCoverImageNestedInput;
2090
- postsAsContentImage?: Prisma.PostUpdateManyWithoutContentImagesNestedInput;
2091
- translations?: Prisma.FileTranslationUpdateManyWithoutFileNestedInput;
2092
- postsAsImages1?: Prisma.PostUpdateManyWithoutImages1NestedInput;
2093
- postsAsImages2?: Prisma.PostUpdateManyWithoutImages2NestedInput;
2094
- postsAsImage1?: Prisma.PostUpdateManyWithoutImage1NestedInput;
2095
- postsAsImage2?: Prisma.PostUpdateManyWithoutImage2NestedInput;
2096
- postsAsImage3?: Prisma.PostUpdateManyWithoutImage3NestedInput;
2097
- postsAsImage4?: Prisma.PostUpdateManyWithoutImage4NestedInput;
2098
- };
2099
- export type FileUncheckedUpdateWithoutFolderInput = {
2100
- id?: Prisma.StringFieldUpdateOperationsInput | string;
2101
- key?: Prisma.StringFieldUpdateOperationsInput | string;
2102
- checksum?: Prisma.StringFieldUpdateOperationsInput | string;
2103
- originalName?: Prisma.StringFieldUpdateOperationsInput | string;
2104
- size?: Prisma.IntFieldUpdateOperationsInput | number;
2105
- extension?: Prisma.StringFieldUpdateOperationsInput | string;
2106
- mimeType?: Prisma.StringFieldUpdateOperationsInput | string;
2107
- type?: Prisma.EnumFileTypeFieldUpdateOperationsInput | $Enums.FileType;
2108
- width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2109
- height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2110
- duration?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2111
- isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2112
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2113
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2114
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2115
- adminAsAvatarImage?: Prisma.AdminUncheckedUpdateManyWithoutAvatarImageNestedInput;
2116
- postsAsCoverImage?: Prisma.PostUncheckedUpdateManyWithoutCoverImageNestedInput;
2117
- postsAsContentImage?: Prisma.PostUncheckedUpdateManyWithoutContentImagesNestedInput;
2118
- translations?: Prisma.FileTranslationUncheckedUpdateManyWithoutFileNestedInput;
2119
- postsAsImages1?: Prisma.PostUncheckedUpdateManyWithoutImages1NestedInput;
2120
- postsAsImages2?: Prisma.PostUncheckedUpdateManyWithoutImages2NestedInput;
2121
- postsAsImage1?: Prisma.PostUncheckedUpdateManyWithoutImage1NestedInput;
2122
- postsAsImage2?: Prisma.PostUncheckedUpdateManyWithoutImage2NestedInput;
2123
- postsAsImage3?: Prisma.PostUncheckedUpdateManyWithoutImage3NestedInput;
2124
- postsAsImage4?: Prisma.PostUncheckedUpdateManyWithoutImage4NestedInput;
2125
- };
2126
- export type FileUncheckedUpdateManyWithoutFolderInput = {
2127
- id?: Prisma.StringFieldUpdateOperationsInput | string;
2128
- key?: Prisma.StringFieldUpdateOperationsInput | string;
2129
- checksum?: Prisma.StringFieldUpdateOperationsInput | string;
2130
- originalName?: Prisma.StringFieldUpdateOperationsInput | string;
2131
- size?: Prisma.IntFieldUpdateOperationsInput | number;
2132
- extension?: Prisma.StringFieldUpdateOperationsInput | string;
2133
- mimeType?: Prisma.StringFieldUpdateOperationsInput | string;
2134
- type?: Prisma.EnumFileTypeFieldUpdateOperationsInput | $Enums.FileType;
2135
- width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2136
- height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2137
- duration?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2138
- isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2139
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2140
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2141
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2142
- };
2143
- export type FileUpdateWithoutPostsAsContentImageInput = {
2144
- id?: Prisma.StringFieldUpdateOperationsInput | string;
2145
- key?: Prisma.StringFieldUpdateOperationsInput | string;
2146
- checksum?: Prisma.StringFieldUpdateOperationsInput | string;
2147
- originalName?: Prisma.StringFieldUpdateOperationsInput | string;
2148
- size?: Prisma.IntFieldUpdateOperationsInput | number;
2149
- extension?: Prisma.StringFieldUpdateOperationsInput | string;
2150
- mimeType?: Prisma.StringFieldUpdateOperationsInput | string;
2151
- type?: Prisma.EnumFileTypeFieldUpdateOperationsInput | $Enums.FileType;
2152
- width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2153
- height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2154
- duration?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2155
- isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2156
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2157
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2158
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2159
- folder?: Prisma.FolderUpdateOneWithoutFilesNestedInput;
2160
- adminAsAvatarImage?: Prisma.AdminUpdateManyWithoutAvatarImageNestedInput;
2161
- postsAsCoverImage?: Prisma.PostUpdateManyWithoutCoverImageNestedInput;
2162
- translations?: Prisma.FileTranslationUpdateManyWithoutFileNestedInput;
2163
- postsAsImages1?: Prisma.PostUpdateManyWithoutImages1NestedInput;
2164
- postsAsImages2?: Prisma.PostUpdateManyWithoutImages2NestedInput;
2165
- postsAsImage1?: Prisma.PostUpdateManyWithoutImage1NestedInput;
2166
- postsAsImage2?: Prisma.PostUpdateManyWithoutImage2NestedInput;
2167
- postsAsImage3?: Prisma.PostUpdateManyWithoutImage3NestedInput;
2168
- postsAsImage4?: Prisma.PostUpdateManyWithoutImage4NestedInput;
2169
- };
2170
- export type FileUncheckedUpdateWithoutPostsAsContentImageInput = {
2171
- id?: Prisma.StringFieldUpdateOperationsInput | string;
2172
- key?: Prisma.StringFieldUpdateOperationsInput | string;
2173
- checksum?: Prisma.StringFieldUpdateOperationsInput | string;
2174
- originalName?: Prisma.StringFieldUpdateOperationsInput | string;
2175
- size?: Prisma.IntFieldUpdateOperationsInput | number;
2176
- extension?: Prisma.StringFieldUpdateOperationsInput | string;
2177
- mimeType?: Prisma.StringFieldUpdateOperationsInput | string;
2178
- type?: Prisma.EnumFileTypeFieldUpdateOperationsInput | $Enums.FileType;
2179
- width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2180
- height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2181
- duration?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2182
- isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2183
- folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2184
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2185
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2186
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2187
- adminAsAvatarImage?: Prisma.AdminUncheckedUpdateManyWithoutAvatarImageNestedInput;
2188
- postsAsCoverImage?: Prisma.PostUncheckedUpdateManyWithoutCoverImageNestedInput;
2189
- translations?: Prisma.FileTranslationUncheckedUpdateManyWithoutFileNestedInput;
2190
- postsAsImages1?: Prisma.PostUncheckedUpdateManyWithoutImages1NestedInput;
2191
- postsAsImages2?: Prisma.PostUncheckedUpdateManyWithoutImages2NestedInput;
2192
- postsAsImage1?: Prisma.PostUncheckedUpdateManyWithoutImage1NestedInput;
2193
- postsAsImage2?: Prisma.PostUncheckedUpdateManyWithoutImage2NestedInput;
2194
- postsAsImage3?: Prisma.PostUncheckedUpdateManyWithoutImage3NestedInput;
2195
- postsAsImage4?: Prisma.PostUncheckedUpdateManyWithoutImage4NestedInput;
2196
- };
2197
- export type FileUncheckedUpdateManyWithoutPostsAsContentImageInput = {
2198
- id?: Prisma.StringFieldUpdateOperationsInput | string;
2199
- key?: Prisma.StringFieldUpdateOperationsInput | string;
2200
- checksum?: Prisma.StringFieldUpdateOperationsInput | string;
2201
- originalName?: Prisma.StringFieldUpdateOperationsInput | string;
2202
- size?: Prisma.IntFieldUpdateOperationsInput | number;
2203
- extension?: Prisma.StringFieldUpdateOperationsInput | string;
2204
- mimeType?: Prisma.StringFieldUpdateOperationsInput | string;
2205
- type?: Prisma.EnumFileTypeFieldUpdateOperationsInput | $Enums.FileType;
2206
- width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2207
- height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2208
- duration?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2209
- isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2210
- folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2211
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2212
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2213
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2214
- };
2215
- export type FileUpdateWithoutPostsAsImages1Input = {
2216
- id?: Prisma.StringFieldUpdateOperationsInput | string;
2217
- key?: Prisma.StringFieldUpdateOperationsInput | string;
2218
- checksum?: Prisma.StringFieldUpdateOperationsInput | string;
2219
- originalName?: Prisma.StringFieldUpdateOperationsInput | string;
2220
- size?: Prisma.IntFieldUpdateOperationsInput | number;
2221
- extension?: Prisma.StringFieldUpdateOperationsInput | string;
2222
- mimeType?: Prisma.StringFieldUpdateOperationsInput | string;
2223
- type?: Prisma.EnumFileTypeFieldUpdateOperationsInput | $Enums.FileType;
2224
- width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2225
- height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2226
- duration?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2227
- isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2228
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2229
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2230
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2231
- folder?: Prisma.FolderUpdateOneWithoutFilesNestedInput;
2232
- adminAsAvatarImage?: Prisma.AdminUpdateManyWithoutAvatarImageNestedInput;
2233
- postsAsCoverImage?: Prisma.PostUpdateManyWithoutCoverImageNestedInput;
2234
- postsAsContentImage?: Prisma.PostUpdateManyWithoutContentImagesNestedInput;
2235
- translations?: Prisma.FileTranslationUpdateManyWithoutFileNestedInput;
2236
- postsAsImages2?: Prisma.PostUpdateManyWithoutImages2NestedInput;
2237
- postsAsImage1?: Prisma.PostUpdateManyWithoutImage1NestedInput;
2238
- postsAsImage2?: Prisma.PostUpdateManyWithoutImage2NestedInput;
2239
- postsAsImage3?: Prisma.PostUpdateManyWithoutImage3NestedInput;
2240
- postsAsImage4?: Prisma.PostUpdateManyWithoutImage4NestedInput;
2241
- };
2242
- export type FileUncheckedUpdateWithoutPostsAsImages1Input = {
2243
- id?: Prisma.StringFieldUpdateOperationsInput | string;
2244
- key?: Prisma.StringFieldUpdateOperationsInput | string;
2245
- checksum?: Prisma.StringFieldUpdateOperationsInput | string;
2246
- originalName?: Prisma.StringFieldUpdateOperationsInput | string;
2247
- size?: Prisma.IntFieldUpdateOperationsInput | number;
2248
- extension?: Prisma.StringFieldUpdateOperationsInput | string;
2249
- mimeType?: Prisma.StringFieldUpdateOperationsInput | string;
2250
- type?: Prisma.EnumFileTypeFieldUpdateOperationsInput | $Enums.FileType;
2251
- width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2252
- height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2253
- duration?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2254
- isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2255
- folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2256
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2257
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2258
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2259
- adminAsAvatarImage?: Prisma.AdminUncheckedUpdateManyWithoutAvatarImageNestedInput;
2260
- postsAsCoverImage?: Prisma.PostUncheckedUpdateManyWithoutCoverImageNestedInput;
2261
- postsAsContentImage?: Prisma.PostUncheckedUpdateManyWithoutContentImagesNestedInput;
2262
- translations?: Prisma.FileTranslationUncheckedUpdateManyWithoutFileNestedInput;
2263
- postsAsImages2?: Prisma.PostUncheckedUpdateManyWithoutImages2NestedInput;
2264
- postsAsImage1?: Prisma.PostUncheckedUpdateManyWithoutImage1NestedInput;
2265
- postsAsImage2?: Prisma.PostUncheckedUpdateManyWithoutImage2NestedInput;
2266
- postsAsImage3?: Prisma.PostUncheckedUpdateManyWithoutImage3NestedInput;
2267
- postsAsImage4?: Prisma.PostUncheckedUpdateManyWithoutImage4NestedInput;
2268
- };
2269
- export type FileUncheckedUpdateManyWithoutPostsAsImages1Input = {
2270
- id?: Prisma.StringFieldUpdateOperationsInput | string;
2271
- key?: Prisma.StringFieldUpdateOperationsInput | string;
2272
- checksum?: Prisma.StringFieldUpdateOperationsInput | string;
2273
- originalName?: Prisma.StringFieldUpdateOperationsInput | string;
2274
- size?: Prisma.IntFieldUpdateOperationsInput | number;
2275
- extension?: Prisma.StringFieldUpdateOperationsInput | string;
2276
- mimeType?: Prisma.StringFieldUpdateOperationsInput | string;
2277
- type?: Prisma.EnumFileTypeFieldUpdateOperationsInput | $Enums.FileType;
2278
- width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2279
- height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2280
- duration?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2281
- isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2282
- folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2283
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2284
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2285
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2286
- };
2287
- export type FileUpdateWithoutPostsAsImages2Input = {
2288
- id?: Prisma.StringFieldUpdateOperationsInput | string;
2289
- key?: Prisma.StringFieldUpdateOperationsInput | string;
2290
- checksum?: Prisma.StringFieldUpdateOperationsInput | string;
2291
- originalName?: Prisma.StringFieldUpdateOperationsInput | string;
2292
- size?: Prisma.IntFieldUpdateOperationsInput | number;
2293
- extension?: Prisma.StringFieldUpdateOperationsInput | string;
2294
- mimeType?: Prisma.StringFieldUpdateOperationsInput | string;
2295
- type?: Prisma.EnumFileTypeFieldUpdateOperationsInput | $Enums.FileType;
2296
- width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2297
- height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2298
- duration?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2299
- isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2300
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2301
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2302
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2303
- folder?: Prisma.FolderUpdateOneWithoutFilesNestedInput;
2304
- adminAsAvatarImage?: Prisma.AdminUpdateManyWithoutAvatarImageNestedInput;
2305
- postsAsCoverImage?: Prisma.PostUpdateManyWithoutCoverImageNestedInput;
2306
- postsAsContentImage?: Prisma.PostUpdateManyWithoutContentImagesNestedInput;
2307
- translations?: Prisma.FileTranslationUpdateManyWithoutFileNestedInput;
2308
- postsAsImages1?: Prisma.PostUpdateManyWithoutImages1NestedInput;
2309
- postsAsImage1?: Prisma.PostUpdateManyWithoutImage1NestedInput;
2310
- postsAsImage2?: Prisma.PostUpdateManyWithoutImage2NestedInput;
2311
- postsAsImage3?: Prisma.PostUpdateManyWithoutImage3NestedInput;
2312
- postsAsImage4?: Prisma.PostUpdateManyWithoutImage4NestedInput;
2313
- };
2314
- export type FileUncheckedUpdateWithoutPostsAsImages2Input = {
2315
- id?: Prisma.StringFieldUpdateOperationsInput | string;
2316
- key?: Prisma.StringFieldUpdateOperationsInput | string;
2317
- checksum?: Prisma.StringFieldUpdateOperationsInput | string;
2318
- originalName?: Prisma.StringFieldUpdateOperationsInput | string;
2319
- size?: Prisma.IntFieldUpdateOperationsInput | number;
2320
- extension?: Prisma.StringFieldUpdateOperationsInput | string;
2321
- mimeType?: Prisma.StringFieldUpdateOperationsInput | string;
2322
- type?: Prisma.EnumFileTypeFieldUpdateOperationsInput | $Enums.FileType;
2323
- width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2324
- height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2325
- duration?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2326
- isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2327
- folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2328
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2329
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2330
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2331
- adminAsAvatarImage?: Prisma.AdminUncheckedUpdateManyWithoutAvatarImageNestedInput;
2332
- postsAsCoverImage?: Prisma.PostUncheckedUpdateManyWithoutCoverImageNestedInput;
2333
- postsAsContentImage?: Prisma.PostUncheckedUpdateManyWithoutContentImagesNestedInput;
2334
- translations?: Prisma.FileTranslationUncheckedUpdateManyWithoutFileNestedInput;
2335
- postsAsImages1?: Prisma.PostUncheckedUpdateManyWithoutImages1NestedInput;
2336
- postsAsImage1?: Prisma.PostUncheckedUpdateManyWithoutImage1NestedInput;
2337
- postsAsImage2?: Prisma.PostUncheckedUpdateManyWithoutImage2NestedInput;
2338
- postsAsImage3?: Prisma.PostUncheckedUpdateManyWithoutImage3NestedInput;
2339
- postsAsImage4?: Prisma.PostUncheckedUpdateManyWithoutImage4NestedInput;
2340
- };
2341
- export type FileUncheckedUpdateManyWithoutPostsAsImages2Input = {
2342
- id?: Prisma.StringFieldUpdateOperationsInput | string;
2343
- key?: Prisma.StringFieldUpdateOperationsInput | string;
2344
- checksum?: Prisma.StringFieldUpdateOperationsInput | string;
2345
- originalName?: Prisma.StringFieldUpdateOperationsInput | string;
2346
- size?: Prisma.IntFieldUpdateOperationsInput | number;
2347
- extension?: Prisma.StringFieldUpdateOperationsInput | string;
2348
- mimeType?: Prisma.StringFieldUpdateOperationsInput | string;
2349
- type?: Prisma.EnumFileTypeFieldUpdateOperationsInput | $Enums.FileType;
2350
- width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2351
- height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
2352
- duration?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null;
2353
- isLocked?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2354
- folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2355
- createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2356
- updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2357
- deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2358
- };
2359
- /**
2360
- * Count Type FileCountOutputType
2361
- */
2362
- export type FileCountOutputType = {
2363
- adminAsAvatarImage: number;
2364
- postsAsCoverImage: number;
2365
- postsAsContentImage: number;
2366
- translations: number;
2367
- postsAsImages1: number;
2368
- postsAsImages2: number;
2369
- postsAsImage1: number;
2370
- postsAsImage2: number;
2371
- postsAsImage3: number;
2372
- postsAsImage4: number;
2373
- };
2374
- export type FileCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2375
- adminAsAvatarImage?: boolean | FileCountOutputTypeCountAdminAsAvatarImageArgs;
2376
- postsAsCoverImage?: boolean | FileCountOutputTypeCountPostsAsCoverImageArgs;
2377
- postsAsContentImage?: boolean | FileCountOutputTypeCountPostsAsContentImageArgs;
2378
- translations?: boolean | FileCountOutputTypeCountTranslationsArgs;
2379
- postsAsImages1?: boolean | FileCountOutputTypeCountPostsAsImages1Args;
2380
- postsAsImages2?: boolean | FileCountOutputTypeCountPostsAsImages2Args;
2381
- postsAsImage1?: boolean | FileCountOutputTypeCountPostsAsImage1Args;
2382
- postsAsImage2?: boolean | FileCountOutputTypeCountPostsAsImage2Args;
2383
- postsAsImage3?: boolean | FileCountOutputTypeCountPostsAsImage3Args;
2384
- postsAsImage4?: boolean | FileCountOutputTypeCountPostsAsImage4Args;
2385
- };
2386
- /**
2387
- * FileCountOutputType without action
2388
- */
2389
- export type FileCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2390
- /**
2391
- * Select specific fields to fetch from the FileCountOutputType
2392
- */
2393
- select?: Prisma.FileCountOutputTypeSelect<ExtArgs> | null;
2394
- };
2395
- /**
2396
- * FileCountOutputType without action
2397
- */
2398
- export type FileCountOutputTypeCountAdminAsAvatarImageArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2399
- where?: Prisma.AdminWhereInput;
2400
- };
2401
- /**
2402
- * FileCountOutputType without action
2403
- */
2404
- export type FileCountOutputTypeCountPostsAsCoverImageArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2405
- where?: Prisma.PostWhereInput;
2406
- };
2407
- /**
2408
- * FileCountOutputType without action
2409
- */
2410
- export type FileCountOutputTypeCountPostsAsContentImageArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2411
- where?: Prisma.PostWhereInput;
2412
- };
2413
- /**
2414
- * FileCountOutputType without action
2415
- */
2416
- export type FileCountOutputTypeCountTranslationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2417
- where?: Prisma.FileTranslationWhereInput;
2418
- };
2419
- /**
2420
- * FileCountOutputType without action
2421
- */
2422
- export type FileCountOutputTypeCountPostsAsImages1Args<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2423
- where?: Prisma.PostWhereInput;
2424
- };
2425
- /**
2426
- * FileCountOutputType without action
2427
- */
2428
- export type FileCountOutputTypeCountPostsAsImages2Args<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2429
- where?: Prisma.PostWhereInput;
2430
- };
2431
- /**
2432
- * FileCountOutputType without action
2433
- */
2434
- export type FileCountOutputTypeCountPostsAsImage1Args<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2435
- where?: Prisma.PostWhereInput;
2436
- };
2437
- /**
2438
- * FileCountOutputType without action
2439
- */
2440
- export type FileCountOutputTypeCountPostsAsImage2Args<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2441
- where?: Prisma.PostWhereInput;
2442
- };
2443
- /**
2444
- * FileCountOutputType without action
2445
- */
2446
- export type FileCountOutputTypeCountPostsAsImage3Args<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2447
- where?: Prisma.PostWhereInput;
2448
- };
2449
- /**
2450
- * FileCountOutputType without action
2451
- */
2452
- export type FileCountOutputTypeCountPostsAsImage4Args<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2453
- where?: Prisma.PostWhereInput;
2454
- };
2455
- export type FileSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
2456
- id?: boolean;
2457
- key?: boolean;
2458
- checksum?: boolean;
2459
- originalName?: boolean;
2460
- size?: boolean;
2461
- extension?: boolean;
2462
- mimeType?: boolean;
2463
- type?: boolean;
2464
- width?: boolean;
2465
- height?: boolean;
2466
- duration?: boolean;
2467
- isLocked?: boolean;
2468
- folderId?: boolean;
2469
- createdAt?: boolean;
2470
- updatedAt?: boolean;
2471
- deletedAt?: boolean;
2472
- folder?: boolean | Prisma.File$folderArgs<ExtArgs>;
2473
- adminAsAvatarImage?: boolean | Prisma.File$adminAsAvatarImageArgs<ExtArgs>;
2474
- postsAsCoverImage?: boolean | Prisma.File$postsAsCoverImageArgs<ExtArgs>;
2475
- postsAsContentImage?: boolean | Prisma.File$postsAsContentImageArgs<ExtArgs>;
2476
- translations?: boolean | Prisma.File$translationsArgs<ExtArgs>;
2477
- postsAsImages1?: boolean | Prisma.File$postsAsImages1Args<ExtArgs>;
2478
- postsAsImages2?: boolean | Prisma.File$postsAsImages2Args<ExtArgs>;
2479
- postsAsImage1?: boolean | Prisma.File$postsAsImage1Args<ExtArgs>;
2480
- postsAsImage2?: boolean | Prisma.File$postsAsImage2Args<ExtArgs>;
2481
- postsAsImage3?: boolean | Prisma.File$postsAsImage3Args<ExtArgs>;
2482
- postsAsImage4?: boolean | Prisma.File$postsAsImage4Args<ExtArgs>;
2483
- _count?: boolean | Prisma.FileCountOutputTypeDefaultArgs<ExtArgs>;
2484
- }, ExtArgs["result"]["file"]>;
2485
- export type FileSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
2486
- id?: boolean;
2487
- key?: boolean;
2488
- checksum?: boolean;
2489
- originalName?: boolean;
2490
- size?: boolean;
2491
- extension?: boolean;
2492
- mimeType?: boolean;
2493
- type?: boolean;
2494
- width?: boolean;
2495
- height?: boolean;
2496
- duration?: boolean;
2497
- isLocked?: boolean;
2498
- folderId?: boolean;
2499
- createdAt?: boolean;
2500
- updatedAt?: boolean;
2501
- deletedAt?: boolean;
2502
- folder?: boolean | Prisma.File$folderArgs<ExtArgs>;
2503
- }, ExtArgs["result"]["file"]>;
2504
- export type FileSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
2505
- id?: boolean;
2506
- key?: boolean;
2507
- checksum?: boolean;
2508
- originalName?: boolean;
2509
- size?: boolean;
2510
- extension?: boolean;
2511
- mimeType?: boolean;
2512
- type?: boolean;
2513
- width?: boolean;
2514
- height?: boolean;
2515
- duration?: boolean;
2516
- isLocked?: boolean;
2517
- folderId?: boolean;
2518
- createdAt?: boolean;
2519
- updatedAt?: boolean;
2520
- deletedAt?: boolean;
2521
- folder?: boolean | Prisma.File$folderArgs<ExtArgs>;
2522
- }, ExtArgs["result"]["file"]>;
2523
- export type FileSelectScalar = {
2524
- id?: boolean;
2525
- key?: boolean;
2526
- checksum?: boolean;
2527
- originalName?: boolean;
2528
- size?: boolean;
2529
- extension?: boolean;
2530
- mimeType?: boolean;
2531
- type?: boolean;
2532
- width?: boolean;
2533
- height?: boolean;
2534
- duration?: boolean;
2535
- isLocked?: boolean;
2536
- folderId?: boolean;
2537
- createdAt?: boolean;
2538
- updatedAt?: boolean;
2539
- deletedAt?: boolean;
2540
- };
2541
- export type FileOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "key" | "checksum" | "originalName" | "size" | "extension" | "mimeType" | "type" | "width" | "height" | "duration" | "isLocked" | "folderId" | "createdAt" | "updatedAt" | "deletedAt", ExtArgs["result"]["file"]>;
2542
- export type FileInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2543
- folder?: boolean | Prisma.File$folderArgs<ExtArgs>;
2544
- adminAsAvatarImage?: boolean | Prisma.File$adminAsAvatarImageArgs<ExtArgs>;
2545
- postsAsCoverImage?: boolean | Prisma.File$postsAsCoverImageArgs<ExtArgs>;
2546
- postsAsContentImage?: boolean | Prisma.File$postsAsContentImageArgs<ExtArgs>;
2547
- translations?: boolean | Prisma.File$translationsArgs<ExtArgs>;
2548
- postsAsImages1?: boolean | Prisma.File$postsAsImages1Args<ExtArgs>;
2549
- postsAsImages2?: boolean | Prisma.File$postsAsImages2Args<ExtArgs>;
2550
- postsAsImage1?: boolean | Prisma.File$postsAsImage1Args<ExtArgs>;
2551
- postsAsImage2?: boolean | Prisma.File$postsAsImage2Args<ExtArgs>;
2552
- postsAsImage3?: boolean | Prisma.File$postsAsImage3Args<ExtArgs>;
2553
- postsAsImage4?: boolean | Prisma.File$postsAsImage4Args<ExtArgs>;
2554
- _count?: boolean | Prisma.FileCountOutputTypeDefaultArgs<ExtArgs>;
2555
- };
2556
- export type FileIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2557
- folder?: boolean | Prisma.File$folderArgs<ExtArgs>;
2558
- };
2559
- export type FileIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2560
- folder?: boolean | Prisma.File$folderArgs<ExtArgs>;
2561
- };
2562
- export type $FilePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2563
- name: "File";
2564
- objects: {
2565
- folder: Prisma.$FolderPayload<ExtArgs> | null;
2566
- adminAsAvatarImage: Prisma.$AdminPayload<ExtArgs>[];
2567
- postsAsCoverImage: Prisma.$PostPayload<ExtArgs>[];
2568
- postsAsContentImage: Prisma.$PostPayload<ExtArgs>[];
2569
- translations: Prisma.$FileTranslationPayload<ExtArgs>[];
2570
- postsAsImages1: Prisma.$PostPayload<ExtArgs>[];
2571
- postsAsImages2: Prisma.$PostPayload<ExtArgs>[];
2572
- postsAsImage1: Prisma.$PostPayload<ExtArgs>[];
2573
- postsAsImage2: Prisma.$PostPayload<ExtArgs>[];
2574
- postsAsImage3: Prisma.$PostPayload<ExtArgs>[];
2575
- postsAsImage4: Prisma.$PostPayload<ExtArgs>[];
2576
- };
2577
- scalars: runtime.Types.Extensions.GetPayloadResult<{
2578
- id: string;
2579
- key: string;
2580
- checksum: string;
2581
- originalName: string;
2582
- size: number;
2583
- extension: string;
2584
- mimeType: string;
2585
- type: $Enums.FileType;
2586
- width: number | null;
2587
- height: number | null;
2588
- duration: number | null;
2589
- isLocked: boolean;
2590
- folderId: string | null;
2591
- createdAt: Date;
2592
- updatedAt: Date;
2593
- deletedAt: Date | null;
2594
- }, ExtArgs["result"]["file"]>;
2595
- composites: {};
2596
- };
2597
- export type FileGetPayload<S extends boolean | null | undefined | FileDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$FilePayload, S>;
2598
- export type FileCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<FileFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
2599
- select?: FileCountAggregateInputType | true;
2600
- };
2601
- export interface FileDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
2602
- [K: symbol]: {
2603
- types: Prisma.TypeMap<ExtArgs>['model']['File'];
2604
- meta: {
2605
- name: 'File';
2606
- };
2607
- };
2608
- /**
2609
- * Find zero or one File that matches the filter.
2610
- * @param {FileFindUniqueArgs} args - Arguments to find a File
2611
- * @example
2612
- * // Get one File
2613
- * const file = await prisma.file.findUnique({
2614
- * where: {
2615
- * // ... provide filter here
2616
- * }
2617
- * })
2618
- */
2619
- findUnique<T extends FileFindUniqueArgs>(args: Prisma.SelectSubset<T, FileFindUniqueArgs<ExtArgs>>): Prisma.Prisma__FileClient<runtime.Types.Result.GetResult<Prisma.$FilePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
2620
- /**
2621
- * Find one File that matches the filter or throw an error with `error.code='P2025'`
2622
- * if no matches were found.
2623
- * @param {FileFindUniqueOrThrowArgs} args - Arguments to find a File
2624
- * @example
2625
- * // Get one File
2626
- * const file = await prisma.file.findUniqueOrThrow({
2627
- * where: {
2628
- * // ... provide filter here
2629
- * }
2630
- * })
2631
- */
2632
- findUniqueOrThrow<T extends FileFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, FileFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__FileClient<runtime.Types.Result.GetResult<Prisma.$FilePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
2633
- /**
2634
- * Find the first File that matches the filter.
2635
- * Note, that providing `undefined` is treated as the value not being there.
2636
- * Read more here: https://pris.ly/d/null-undefined
2637
- * @param {FileFindFirstArgs} args - Arguments to find a File
2638
- * @example
2639
- * // Get one File
2640
- * const file = await prisma.file.findFirst({
2641
- * where: {
2642
- * // ... provide filter here
2643
- * }
2644
- * })
2645
- */
2646
- findFirst<T extends FileFindFirstArgs>(args?: Prisma.SelectSubset<T, FileFindFirstArgs<ExtArgs>>): Prisma.Prisma__FileClient<runtime.Types.Result.GetResult<Prisma.$FilePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
2647
- /**
2648
- * Find the first File that matches the filter or
2649
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
2650
- * Note, that providing `undefined` is treated as the value not being there.
2651
- * Read more here: https://pris.ly/d/null-undefined
2652
- * @param {FileFindFirstOrThrowArgs} args - Arguments to find a File
2653
- * @example
2654
- * // Get one File
2655
- * const file = await prisma.file.findFirstOrThrow({
2656
- * where: {
2657
- * // ... provide filter here
2658
- * }
2659
- * })
2660
- */
2661
- findFirstOrThrow<T extends FileFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, FileFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__FileClient<runtime.Types.Result.GetResult<Prisma.$FilePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
2662
- /**
2663
- * Find zero or more Files that matches the filter.
2664
- * Note, that providing `undefined` is treated as the value not being there.
2665
- * Read more here: https://pris.ly/d/null-undefined
2666
- * @param {FileFindManyArgs} args - Arguments to filter and select certain fields only.
2667
- * @example
2668
- * // Get all Files
2669
- * const files = await prisma.file.findMany()
2670
- *
2671
- * // Get first 10 Files
2672
- * const files = await prisma.file.findMany({ take: 10 })
2673
- *
2674
- * // Only select the `id`
2675
- * const fileWithIdOnly = await prisma.file.findMany({ select: { id: true } })
2676
- *
2677
- */
2678
- findMany<T extends FileFindManyArgs>(args?: Prisma.SelectSubset<T, FileFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FilePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
2679
- /**
2680
- * Create a File.
2681
- * @param {FileCreateArgs} args - Arguments to create a File.
2682
- * @example
2683
- * // Create one File
2684
- * const File = await prisma.file.create({
2685
- * data: {
2686
- * // ... data to create a File
2687
- * }
2688
- * })
2689
- *
2690
- */
2691
- create<T extends FileCreateArgs>(args: Prisma.SelectSubset<T, FileCreateArgs<ExtArgs>>): Prisma.Prisma__FileClient<runtime.Types.Result.GetResult<Prisma.$FilePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
2692
- /**
2693
- * Create many Files.
2694
- * @param {FileCreateManyArgs} args - Arguments to create many Files.
2695
- * @example
2696
- * // Create many Files
2697
- * const file = await prisma.file.createMany({
2698
- * data: [
2699
- * // ... provide data here
2700
- * ]
2701
- * })
2702
- *
2703
- */
2704
- createMany<T extends FileCreateManyArgs>(args?: Prisma.SelectSubset<T, FileCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
2705
- /**
2706
- * Create many Files and returns the data saved in the database.
2707
- * @param {FileCreateManyAndReturnArgs} args - Arguments to create many Files.
2708
- * @example
2709
- * // Create many Files
2710
- * const file = await prisma.file.createManyAndReturn({
2711
- * data: [
2712
- * // ... provide data here
2713
- * ]
2714
- * })
2715
- *
2716
- * // Create many Files and only return the `id`
2717
- * const fileWithIdOnly = await prisma.file.createManyAndReturn({
2718
- * select: { id: true },
2719
- * data: [
2720
- * // ... provide data here
2721
- * ]
2722
- * })
2723
- * Note, that providing `undefined` is treated as the value not being there.
2724
- * Read more here: https://pris.ly/d/null-undefined
2725
- *
2726
- */
2727
- createManyAndReturn<T extends FileCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, FileCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FilePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
2728
- /**
2729
- * Delete a File.
2730
- * @param {FileDeleteArgs} args - Arguments to delete one File.
2731
- * @example
2732
- * // Delete one File
2733
- * const File = await prisma.file.delete({
2734
- * where: {
2735
- * // ... filter to delete one File
2736
- * }
2737
- * })
2738
- *
2739
- */
2740
- delete<T extends FileDeleteArgs>(args: Prisma.SelectSubset<T, FileDeleteArgs<ExtArgs>>): Prisma.Prisma__FileClient<runtime.Types.Result.GetResult<Prisma.$FilePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
2741
- /**
2742
- * Update one File.
2743
- * @param {FileUpdateArgs} args - Arguments to update one File.
2744
- * @example
2745
- * // Update one File
2746
- * const file = await prisma.file.update({
2747
- * where: {
2748
- * // ... provide filter here
2749
- * },
2750
- * data: {
2751
- * // ... provide data here
2752
- * }
2753
- * })
2754
- *
2755
- */
2756
- update<T extends FileUpdateArgs>(args: Prisma.SelectSubset<T, FileUpdateArgs<ExtArgs>>): Prisma.Prisma__FileClient<runtime.Types.Result.GetResult<Prisma.$FilePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
2757
- /**
2758
- * Delete zero or more Files.
2759
- * @param {FileDeleteManyArgs} args - Arguments to filter Files to delete.
2760
- * @example
2761
- * // Delete a few Files
2762
- * const { count } = await prisma.file.deleteMany({
2763
- * where: {
2764
- * // ... provide filter here
2765
- * }
2766
- * })
2767
- *
2768
- */
2769
- deleteMany<T extends FileDeleteManyArgs>(args?: Prisma.SelectSubset<T, FileDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
2770
- /**
2771
- * Update zero or more Files.
2772
- * Note, that providing `undefined` is treated as the value not being there.
2773
- * Read more here: https://pris.ly/d/null-undefined
2774
- * @param {FileUpdateManyArgs} args - Arguments to update one or more rows.
2775
- * @example
2776
- * // Update many Files
2777
- * const file = await prisma.file.updateMany({
2778
- * where: {
2779
- * // ... provide filter here
2780
- * },
2781
- * data: {
2782
- * // ... provide data here
2783
- * }
2784
- * })
2785
- *
2786
- */
2787
- updateMany<T extends FileUpdateManyArgs>(args: Prisma.SelectSubset<T, FileUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
2788
- /**
2789
- * Update zero or more Files and returns the data updated in the database.
2790
- * @param {FileUpdateManyAndReturnArgs} args - Arguments to update many Files.
2791
- * @example
2792
- * // Update many Files
2793
- * const file = await prisma.file.updateManyAndReturn({
2794
- * where: {
2795
- * // ... provide filter here
2796
- * },
2797
- * data: [
2798
- * // ... provide data here
2799
- * ]
2800
- * })
2801
- *
2802
- * // Update zero or more Files and only return the `id`
2803
- * const fileWithIdOnly = await prisma.file.updateManyAndReturn({
2804
- * select: { id: true },
2805
- * where: {
2806
- * // ... provide filter here
2807
- * },
2808
- * data: [
2809
- * // ... provide data here
2810
- * ]
2811
- * })
2812
- * Note, that providing `undefined` is treated as the value not being there.
2813
- * Read more here: https://pris.ly/d/null-undefined
2814
- *
2815
- */
2816
- updateManyAndReturn<T extends FileUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, FileUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FilePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
2817
- /**
2818
- * Create or update one File.
2819
- * @param {FileUpsertArgs} args - Arguments to update or create a File.
2820
- * @example
2821
- * // Update or create a File
2822
- * const file = await prisma.file.upsert({
2823
- * create: {
2824
- * // ... data to create a File
2825
- * },
2826
- * update: {
2827
- * // ... in case it already exists, update
2828
- * },
2829
- * where: {
2830
- * // ... the filter for the File we want to update
2831
- * }
2832
- * })
2833
- */
2834
- upsert<T extends FileUpsertArgs>(args: Prisma.SelectSubset<T, FileUpsertArgs<ExtArgs>>): Prisma.Prisma__FileClient<runtime.Types.Result.GetResult<Prisma.$FilePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
2835
- /**
2836
- * Count the number of Files.
2837
- * Note, that providing `undefined` is treated as the value not being there.
2838
- * Read more here: https://pris.ly/d/null-undefined
2839
- * @param {FileCountArgs} args - Arguments to filter Files to count.
2840
- * @example
2841
- * // Count the number of Files
2842
- * const count = await prisma.file.count({
2843
- * where: {
2844
- * // ... the filter for the Files we want to count
2845
- * }
2846
- * })
2847
- **/
2848
- count<T extends FileCountArgs>(args?: Prisma.Subset<T, FileCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], FileCountAggregateOutputType> : number>;
2849
- /**
2850
- * Allows you to perform aggregations operations on a File.
2851
- * Note, that providing `undefined` is treated as the value not being there.
2852
- * Read more here: https://pris.ly/d/null-undefined
2853
- * @param {FileAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
2854
- * @example
2855
- * // Ordered by age ascending
2856
- * // Where email contains prisma.io
2857
- * // Limited to the 10 users
2858
- * const aggregations = await prisma.user.aggregate({
2859
- * _avg: {
2860
- * age: true,
2861
- * },
2862
- * where: {
2863
- * email: {
2864
- * contains: "prisma.io",
2865
- * },
2866
- * },
2867
- * orderBy: {
2868
- * age: "asc",
2869
- * },
2870
- * take: 10,
2871
- * })
2872
- **/
2873
- aggregate<T extends FileAggregateArgs>(args: Prisma.Subset<T, FileAggregateArgs>): Prisma.PrismaPromise<GetFileAggregateType<T>>;
2874
- /**
2875
- * Group by File.
2876
- * Note, that providing `undefined` is treated as the value not being there.
2877
- * Read more here: https://pris.ly/d/null-undefined
2878
- * @param {FileGroupByArgs} args - Group by arguments.
2879
- * @example
2880
- * // Group by city, order by createdAt, get count
2881
- * const result = await prisma.user.groupBy({
2882
- * by: ['city', 'createdAt'],
2883
- * orderBy: {
2884
- * createdAt: true
2885
- * },
2886
- * _count: {
2887
- * _all: true
2888
- * },
2889
- * })
2890
- *
2891
- **/
2892
- groupBy<T extends FileGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
2893
- orderBy: FileGroupByArgs['orderBy'];
2894
- } : {
2895
- orderBy?: FileGroupByArgs['orderBy'];
2896
- }, OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>, ByFields extends Prisma.MaybeTupleToUnion<T['by']>, ByValid extends Prisma.Has<ByFields, OrderFields>, HavingFields extends Prisma.GetHavingFields<T['having']>, HavingValid extends Prisma.Has<ByFields, HavingFields>, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? {
2897
- [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
2898
- Error,
2899
- 'Field ',
2900
- P,
2901
- ` in "having" needs to be provided in "by"`
2902
- ];
2903
- }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
2904
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
2905
- }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
2906
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
2907
- }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
2908
- [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
2909
- }[OrderFields]>(args: Prisma.SubsetIntersection<T, FileGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetFileGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
2910
- /**
2911
- * Fields of the File model
2912
- */
2913
- readonly fields: FileFieldRefs;
2914
- }
2915
- /**
2916
- * The delegate class that acts as a "Promise-like" for File.
2917
- * Why is this prefixed with `Prisma__`?
2918
- * Because we want to prevent naming conflicts as mentioned in
2919
- * https://github.com/prisma/prisma-client-js/issues/707
2920
- */
2921
- export interface Prisma__FileClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
2922
- readonly [Symbol.toStringTag]: "PrismaPromise";
2923
- folder<T extends Prisma.File$folderArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.File$folderArgs<ExtArgs>>): Prisma.Prisma__FolderClient<runtime.Types.Result.GetResult<Prisma.$FolderPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
2924
- adminAsAvatarImage<T extends Prisma.File$adminAsAvatarImageArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.File$adminAsAvatarImageArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AdminPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2925
- postsAsCoverImage<T extends Prisma.File$postsAsCoverImageArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.File$postsAsCoverImageArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PostPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2926
- postsAsContentImage<T extends Prisma.File$postsAsContentImageArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.File$postsAsContentImageArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PostPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2927
- translations<T extends Prisma.File$translationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.File$translationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FileTranslationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2928
- postsAsImages1<T extends Prisma.File$postsAsImages1Args<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.File$postsAsImages1Args<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PostPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2929
- postsAsImages2<T extends Prisma.File$postsAsImages2Args<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.File$postsAsImages2Args<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PostPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2930
- postsAsImage1<T extends Prisma.File$postsAsImage1Args<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.File$postsAsImage1Args<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PostPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2931
- postsAsImage2<T extends Prisma.File$postsAsImage2Args<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.File$postsAsImage2Args<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PostPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2932
- postsAsImage3<T extends Prisma.File$postsAsImage3Args<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.File$postsAsImage3Args<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PostPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2933
- postsAsImage4<T extends Prisma.File$postsAsImage4Args<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.File$postsAsImage4Args<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PostPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2934
- /**
2935
- * Attaches callbacks for the resolution and/or rejection of the Promise.
2936
- * @param onfulfilled The callback to execute when the Promise is resolved.
2937
- * @param onrejected The callback to execute when the Promise is rejected.
2938
- * @returns A Promise for the completion of which ever callback is executed.
2939
- */
2940
- 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>;
2941
- /**
2942
- * Attaches a callback for only the rejection of the Promise.
2943
- * @param onrejected The callback to execute when the Promise is rejected.
2944
- * @returns A Promise for the completion of the callback.
2945
- */
2946
- catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
2947
- /**
2948
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
2949
- * resolved value cannot be modified from the callback.
2950
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
2951
- * @returns A Promise for the completion of the callback.
2952
- */
2953
- finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
2954
- }
2955
- /**
2956
- * Fields of the File model
2957
- */
2958
- export interface FileFieldRefs {
2959
- readonly id: Prisma.FieldRef<"File", 'String'>;
2960
- readonly key: Prisma.FieldRef<"File", 'String'>;
2961
- readonly checksum: Prisma.FieldRef<"File", 'String'>;
2962
- readonly originalName: Prisma.FieldRef<"File", 'String'>;
2963
- readonly size: Prisma.FieldRef<"File", 'Int'>;
2964
- readonly extension: Prisma.FieldRef<"File", 'String'>;
2965
- readonly mimeType: Prisma.FieldRef<"File", 'String'>;
2966
- readonly type: Prisma.FieldRef<"File", 'FileType'>;
2967
- readonly width: Prisma.FieldRef<"File", 'Int'>;
2968
- readonly height: Prisma.FieldRef<"File", 'Int'>;
2969
- readonly duration: Prisma.FieldRef<"File", 'Float'>;
2970
- readonly isLocked: Prisma.FieldRef<"File", 'Boolean'>;
2971
- readonly folderId: Prisma.FieldRef<"File", 'String'>;
2972
- readonly createdAt: Prisma.FieldRef<"File", 'DateTime'>;
2973
- readonly updatedAt: Prisma.FieldRef<"File", 'DateTime'>;
2974
- readonly deletedAt: Prisma.FieldRef<"File", 'DateTime'>;
2975
- }
2976
- /**
2977
- * File findUnique
2978
- */
2979
- export type FileFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2980
- /**
2981
- * Select specific fields to fetch from the File
2982
- */
2983
- select?: Prisma.FileSelect<ExtArgs> | null;
2984
- /**
2985
- * Omit specific fields from the File
2986
- */
2987
- omit?: Prisma.FileOmit<ExtArgs> | null;
2988
- /**
2989
- * Choose, which related nodes to fetch as well
2990
- */
2991
- include?: Prisma.FileInclude<ExtArgs> | null;
2992
- /**
2993
- * Filter, which File to fetch.
2994
- */
2995
- where: Prisma.FileWhereUniqueInput;
2996
- };
2997
- /**
2998
- * File findUniqueOrThrow
2999
- */
3000
- export type FileFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3001
- /**
3002
- * Select specific fields to fetch from the File
3003
- */
3004
- select?: Prisma.FileSelect<ExtArgs> | null;
3005
- /**
3006
- * Omit specific fields from the File
3007
- */
3008
- omit?: Prisma.FileOmit<ExtArgs> | null;
3009
- /**
3010
- * Choose, which related nodes to fetch as well
3011
- */
3012
- include?: Prisma.FileInclude<ExtArgs> | null;
3013
- /**
3014
- * Filter, which File to fetch.
3015
- */
3016
- where: Prisma.FileWhereUniqueInput;
3017
- };
3018
- /**
3019
- * File findFirst
3020
- */
3021
- export type FileFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3022
- /**
3023
- * Select specific fields to fetch from the File
3024
- */
3025
- select?: Prisma.FileSelect<ExtArgs> | null;
3026
- /**
3027
- * Omit specific fields from the File
3028
- */
3029
- omit?: Prisma.FileOmit<ExtArgs> | null;
3030
- /**
3031
- * Choose, which related nodes to fetch as well
3032
- */
3033
- include?: Prisma.FileInclude<ExtArgs> | null;
3034
- /**
3035
- * Filter, which File to fetch.
3036
- */
3037
- where?: Prisma.FileWhereInput;
3038
- /**
3039
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
3040
- *
3041
- * Determine the order of Files to fetch.
3042
- */
3043
- orderBy?: Prisma.FileOrderByWithRelationInput | Prisma.FileOrderByWithRelationInput[];
3044
- /**
3045
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
3046
- *
3047
- * Sets the position for searching for Files.
3048
- */
3049
- cursor?: Prisma.FileWhereUniqueInput;
3050
- /**
3051
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3052
- *
3053
- * Take `±n` Files from the position of the cursor.
3054
- */
3055
- take?: number;
3056
- /**
3057
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3058
- *
3059
- * Skip the first `n` Files.
3060
- */
3061
- skip?: number;
3062
- /**
3063
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
3064
- *
3065
- * Filter by unique combinations of Files.
3066
- */
3067
- distinct?: Prisma.FileScalarFieldEnum | Prisma.FileScalarFieldEnum[];
3068
- };
3069
- /**
3070
- * File findFirstOrThrow
3071
- */
3072
- export type FileFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3073
- /**
3074
- * Select specific fields to fetch from the File
3075
- */
3076
- select?: Prisma.FileSelect<ExtArgs> | null;
3077
- /**
3078
- * Omit specific fields from the File
3079
- */
3080
- omit?: Prisma.FileOmit<ExtArgs> | null;
3081
- /**
3082
- * Choose, which related nodes to fetch as well
3083
- */
3084
- include?: Prisma.FileInclude<ExtArgs> | null;
3085
- /**
3086
- * Filter, which File to fetch.
3087
- */
3088
- where?: Prisma.FileWhereInput;
3089
- /**
3090
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
3091
- *
3092
- * Determine the order of Files to fetch.
3093
- */
3094
- orderBy?: Prisma.FileOrderByWithRelationInput | Prisma.FileOrderByWithRelationInput[];
3095
- /**
3096
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
3097
- *
3098
- * Sets the position for searching for Files.
3099
- */
3100
- cursor?: Prisma.FileWhereUniqueInput;
3101
- /**
3102
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3103
- *
3104
- * Take `±n` Files from the position of the cursor.
3105
- */
3106
- take?: number;
3107
- /**
3108
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3109
- *
3110
- * Skip the first `n` Files.
3111
- */
3112
- skip?: number;
3113
- /**
3114
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
3115
- *
3116
- * Filter by unique combinations of Files.
3117
- */
3118
- distinct?: Prisma.FileScalarFieldEnum | Prisma.FileScalarFieldEnum[];
3119
- };
3120
- /**
3121
- * File findMany
3122
- */
3123
- export type FileFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3124
- /**
3125
- * Select specific fields to fetch from the File
3126
- */
3127
- select?: Prisma.FileSelect<ExtArgs> | null;
3128
- /**
3129
- * Omit specific fields from the File
3130
- */
3131
- omit?: Prisma.FileOmit<ExtArgs> | null;
3132
- /**
3133
- * Choose, which related nodes to fetch as well
3134
- */
3135
- include?: Prisma.FileInclude<ExtArgs> | null;
3136
- /**
3137
- * Filter, which Files to fetch.
3138
- */
3139
- where?: Prisma.FileWhereInput;
3140
- /**
3141
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
3142
- *
3143
- * Determine the order of Files to fetch.
3144
- */
3145
- orderBy?: Prisma.FileOrderByWithRelationInput | Prisma.FileOrderByWithRelationInput[];
3146
- /**
3147
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
3148
- *
3149
- * Sets the position for listing Files.
3150
- */
3151
- cursor?: Prisma.FileWhereUniqueInput;
3152
- /**
3153
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3154
- *
3155
- * Take `±n` Files from the position of the cursor.
3156
- */
3157
- take?: number;
3158
- /**
3159
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3160
- *
3161
- * Skip the first `n` Files.
3162
- */
3163
- skip?: number;
3164
- /**
3165
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
3166
- *
3167
- * Filter by unique combinations of Files.
3168
- */
3169
- distinct?: Prisma.FileScalarFieldEnum | Prisma.FileScalarFieldEnum[];
3170
- };
3171
- /**
3172
- * File create
3173
- */
3174
- export type FileCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3175
- /**
3176
- * Select specific fields to fetch from the File
3177
- */
3178
- select?: Prisma.FileSelect<ExtArgs> | null;
3179
- /**
3180
- * Omit specific fields from the File
3181
- */
3182
- omit?: Prisma.FileOmit<ExtArgs> | null;
3183
- /**
3184
- * Choose, which related nodes to fetch as well
3185
- */
3186
- include?: Prisma.FileInclude<ExtArgs> | null;
3187
- /**
3188
- * The data needed to create a File.
3189
- */
3190
- data: Prisma.XOR<Prisma.FileCreateInput, Prisma.FileUncheckedCreateInput>;
3191
- };
3192
- /**
3193
- * File createMany
3194
- */
3195
- export type FileCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3196
- /**
3197
- * The data used to create many Files.
3198
- */
3199
- data: Prisma.FileCreateManyInput | Prisma.FileCreateManyInput[];
3200
- skipDuplicates?: boolean;
3201
- };
3202
- /**
3203
- * File createManyAndReturn
3204
- */
3205
- export type FileCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3206
- /**
3207
- * Select specific fields to fetch from the File
3208
- */
3209
- select?: Prisma.FileSelectCreateManyAndReturn<ExtArgs> | null;
3210
- /**
3211
- * Omit specific fields from the File
3212
- */
3213
- omit?: Prisma.FileOmit<ExtArgs> | null;
3214
- /**
3215
- * The data used to create many Files.
3216
- */
3217
- data: Prisma.FileCreateManyInput | Prisma.FileCreateManyInput[];
3218
- skipDuplicates?: boolean;
3219
- /**
3220
- * Choose, which related nodes to fetch as well
3221
- */
3222
- include?: Prisma.FileIncludeCreateManyAndReturn<ExtArgs> | null;
3223
- };
3224
- /**
3225
- * File update
3226
- */
3227
- export type FileUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3228
- /**
3229
- * Select specific fields to fetch from the File
3230
- */
3231
- select?: Prisma.FileSelect<ExtArgs> | null;
3232
- /**
3233
- * Omit specific fields from the File
3234
- */
3235
- omit?: Prisma.FileOmit<ExtArgs> | null;
3236
- /**
3237
- * Choose, which related nodes to fetch as well
3238
- */
3239
- include?: Prisma.FileInclude<ExtArgs> | null;
3240
- /**
3241
- * The data needed to update a File.
3242
- */
3243
- data: Prisma.XOR<Prisma.FileUpdateInput, Prisma.FileUncheckedUpdateInput>;
3244
- /**
3245
- * Choose, which File to update.
3246
- */
3247
- where: Prisma.FileWhereUniqueInput;
3248
- };
3249
- /**
3250
- * File updateMany
3251
- */
3252
- export type FileUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3253
- /**
3254
- * The data used to update Files.
3255
- */
3256
- data: Prisma.XOR<Prisma.FileUpdateManyMutationInput, Prisma.FileUncheckedUpdateManyInput>;
3257
- /**
3258
- * Filter which Files to update
3259
- */
3260
- where?: Prisma.FileWhereInput;
3261
- /**
3262
- * Limit how many Files to update.
3263
- */
3264
- limit?: number;
3265
- };
3266
- /**
3267
- * File updateManyAndReturn
3268
- */
3269
- export type FileUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3270
- /**
3271
- * Select specific fields to fetch from the File
3272
- */
3273
- select?: Prisma.FileSelectUpdateManyAndReturn<ExtArgs> | null;
3274
- /**
3275
- * Omit specific fields from the File
3276
- */
3277
- omit?: Prisma.FileOmit<ExtArgs> | null;
3278
- /**
3279
- * The data used to update Files.
3280
- */
3281
- data: Prisma.XOR<Prisma.FileUpdateManyMutationInput, Prisma.FileUncheckedUpdateManyInput>;
3282
- /**
3283
- * Filter which Files to update
3284
- */
3285
- where?: Prisma.FileWhereInput;
3286
- /**
3287
- * Limit how many Files to update.
3288
- */
3289
- limit?: number;
3290
- /**
3291
- * Choose, which related nodes to fetch as well
3292
- */
3293
- include?: Prisma.FileIncludeUpdateManyAndReturn<ExtArgs> | null;
3294
- };
3295
- /**
3296
- * File upsert
3297
- */
3298
- export type FileUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3299
- /**
3300
- * Select specific fields to fetch from the File
3301
- */
3302
- select?: Prisma.FileSelect<ExtArgs> | null;
3303
- /**
3304
- * Omit specific fields from the File
3305
- */
3306
- omit?: Prisma.FileOmit<ExtArgs> | null;
3307
- /**
3308
- * Choose, which related nodes to fetch as well
3309
- */
3310
- include?: Prisma.FileInclude<ExtArgs> | null;
3311
- /**
3312
- * The filter to search for the File to update in case it exists.
3313
- */
3314
- where: Prisma.FileWhereUniqueInput;
3315
- /**
3316
- * In case the File found by the `where` argument doesn't exist, create a new File with this data.
3317
- */
3318
- create: Prisma.XOR<Prisma.FileCreateInput, Prisma.FileUncheckedCreateInput>;
3319
- /**
3320
- * In case the File was found with the provided `where` argument, update it with this data.
3321
- */
3322
- update: Prisma.XOR<Prisma.FileUpdateInput, Prisma.FileUncheckedUpdateInput>;
3323
- };
3324
- /**
3325
- * File delete
3326
- */
3327
- export type FileDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3328
- /**
3329
- * Select specific fields to fetch from the File
3330
- */
3331
- select?: Prisma.FileSelect<ExtArgs> | null;
3332
- /**
3333
- * Omit specific fields from the File
3334
- */
3335
- omit?: Prisma.FileOmit<ExtArgs> | null;
3336
- /**
3337
- * Choose, which related nodes to fetch as well
3338
- */
3339
- include?: Prisma.FileInclude<ExtArgs> | null;
3340
- /**
3341
- * Filter which File to delete.
3342
- */
3343
- where: Prisma.FileWhereUniqueInput;
3344
- };
3345
- /**
3346
- * File deleteMany
3347
- */
3348
- export type FileDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3349
- /**
3350
- * Filter which Files to delete
3351
- */
3352
- where?: Prisma.FileWhereInput;
3353
- /**
3354
- * Limit how many Files to delete.
3355
- */
3356
- limit?: number;
3357
- };
3358
- /**
3359
- * File.folder
3360
- */
3361
- export type File$folderArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3362
- /**
3363
- * Select specific fields to fetch from the Folder
3364
- */
3365
- select?: Prisma.FolderSelect<ExtArgs> | null;
3366
- /**
3367
- * Omit specific fields from the Folder
3368
- */
3369
- omit?: Prisma.FolderOmit<ExtArgs> | null;
3370
- /**
3371
- * Choose, which related nodes to fetch as well
3372
- */
3373
- include?: Prisma.FolderInclude<ExtArgs> | null;
3374
- where?: Prisma.FolderWhereInput;
3375
- };
3376
- /**
3377
- * File.adminAsAvatarImage
3378
- */
3379
- export type File$adminAsAvatarImageArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3380
- /**
3381
- * Select specific fields to fetch from the Admin
3382
- */
3383
- select?: Prisma.AdminSelect<ExtArgs> | null;
3384
- /**
3385
- * Omit specific fields from the Admin
3386
- */
3387
- omit?: Prisma.AdminOmit<ExtArgs> | null;
3388
- /**
3389
- * Choose, which related nodes to fetch as well
3390
- */
3391
- include?: Prisma.AdminInclude<ExtArgs> | null;
3392
- where?: Prisma.AdminWhereInput;
3393
- orderBy?: Prisma.AdminOrderByWithRelationInput | Prisma.AdminOrderByWithRelationInput[];
3394
- cursor?: Prisma.AdminWhereUniqueInput;
3395
- take?: number;
3396
- skip?: number;
3397
- distinct?: Prisma.AdminScalarFieldEnum | Prisma.AdminScalarFieldEnum[];
3398
- };
3399
- /**
3400
- * File.postsAsCoverImage
3401
- */
3402
- export type File$postsAsCoverImageArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3403
- /**
3404
- * Select specific fields to fetch from the Post
3405
- */
3406
- select?: Prisma.PostSelect<ExtArgs> | null;
3407
- /**
3408
- * Omit specific fields from the Post
3409
- */
3410
- omit?: Prisma.PostOmit<ExtArgs> | null;
3411
- /**
3412
- * Choose, which related nodes to fetch as well
3413
- */
3414
- include?: Prisma.PostInclude<ExtArgs> | null;
3415
- where?: Prisma.PostWhereInput;
3416
- orderBy?: Prisma.PostOrderByWithRelationInput | Prisma.PostOrderByWithRelationInput[];
3417
- cursor?: Prisma.PostWhereUniqueInput;
3418
- take?: number;
3419
- skip?: number;
3420
- distinct?: Prisma.PostScalarFieldEnum | Prisma.PostScalarFieldEnum[];
3421
- };
3422
- /**
3423
- * File.postsAsContentImage
3424
- */
3425
- export type File$postsAsContentImageArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3426
- /**
3427
- * Select specific fields to fetch from the Post
3428
- */
3429
- select?: Prisma.PostSelect<ExtArgs> | null;
3430
- /**
3431
- * Omit specific fields from the Post
3432
- */
3433
- omit?: Prisma.PostOmit<ExtArgs> | null;
3434
- /**
3435
- * Choose, which related nodes to fetch as well
3436
- */
3437
- include?: Prisma.PostInclude<ExtArgs> | null;
3438
- where?: Prisma.PostWhereInput;
3439
- orderBy?: Prisma.PostOrderByWithRelationInput | Prisma.PostOrderByWithRelationInput[];
3440
- cursor?: Prisma.PostWhereUniqueInput;
3441
- take?: number;
3442
- skip?: number;
3443
- distinct?: Prisma.PostScalarFieldEnum | Prisma.PostScalarFieldEnum[];
3444
- };
3445
- /**
3446
- * File.translations
3447
- */
3448
- export type File$translationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3449
- /**
3450
- * Select specific fields to fetch from the FileTranslation
3451
- */
3452
- select?: Prisma.FileTranslationSelect<ExtArgs> | null;
3453
- /**
3454
- * Omit specific fields from the FileTranslation
3455
- */
3456
- omit?: Prisma.FileTranslationOmit<ExtArgs> | null;
3457
- /**
3458
- * Choose, which related nodes to fetch as well
3459
- */
3460
- include?: Prisma.FileTranslationInclude<ExtArgs> | null;
3461
- where?: Prisma.FileTranslationWhereInput;
3462
- orderBy?: Prisma.FileTranslationOrderByWithRelationInput | Prisma.FileTranslationOrderByWithRelationInput[];
3463
- cursor?: Prisma.FileTranslationWhereUniqueInput;
3464
- take?: number;
3465
- skip?: number;
3466
- distinct?: Prisma.FileTranslationScalarFieldEnum | Prisma.FileTranslationScalarFieldEnum[];
3467
- };
3468
- /**
3469
- * File.postsAsImages1
3470
- */
3471
- export type File$postsAsImages1Args<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3472
- /**
3473
- * Select specific fields to fetch from the Post
3474
- */
3475
- select?: Prisma.PostSelect<ExtArgs> | null;
3476
- /**
3477
- * Omit specific fields from the Post
3478
- */
3479
- omit?: Prisma.PostOmit<ExtArgs> | null;
3480
- /**
3481
- * Choose, which related nodes to fetch as well
3482
- */
3483
- include?: Prisma.PostInclude<ExtArgs> | null;
3484
- where?: Prisma.PostWhereInput;
3485
- orderBy?: Prisma.PostOrderByWithRelationInput | Prisma.PostOrderByWithRelationInput[];
3486
- cursor?: Prisma.PostWhereUniqueInput;
3487
- take?: number;
3488
- skip?: number;
3489
- distinct?: Prisma.PostScalarFieldEnum | Prisma.PostScalarFieldEnum[];
3490
- };
3491
- /**
3492
- * File.postsAsImages2
3493
- */
3494
- export type File$postsAsImages2Args<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3495
- /**
3496
- * Select specific fields to fetch from the Post
3497
- */
3498
- select?: Prisma.PostSelect<ExtArgs> | null;
3499
- /**
3500
- * Omit specific fields from the Post
3501
- */
3502
- omit?: Prisma.PostOmit<ExtArgs> | null;
3503
- /**
3504
- * Choose, which related nodes to fetch as well
3505
- */
3506
- include?: Prisma.PostInclude<ExtArgs> | null;
3507
- where?: Prisma.PostWhereInput;
3508
- orderBy?: Prisma.PostOrderByWithRelationInput | Prisma.PostOrderByWithRelationInput[];
3509
- cursor?: Prisma.PostWhereUniqueInput;
3510
- take?: number;
3511
- skip?: number;
3512
- distinct?: Prisma.PostScalarFieldEnum | Prisma.PostScalarFieldEnum[];
3513
- };
3514
- /**
3515
- * File.postsAsImage1
3516
- */
3517
- export type File$postsAsImage1Args<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3518
- /**
3519
- * Select specific fields to fetch from the Post
3520
- */
3521
- select?: Prisma.PostSelect<ExtArgs> | null;
3522
- /**
3523
- * Omit specific fields from the Post
3524
- */
3525
- omit?: Prisma.PostOmit<ExtArgs> | null;
3526
- /**
3527
- * Choose, which related nodes to fetch as well
3528
- */
3529
- include?: Prisma.PostInclude<ExtArgs> | null;
3530
- where?: Prisma.PostWhereInput;
3531
- orderBy?: Prisma.PostOrderByWithRelationInput | Prisma.PostOrderByWithRelationInput[];
3532
- cursor?: Prisma.PostWhereUniqueInput;
3533
- take?: number;
3534
- skip?: number;
3535
- distinct?: Prisma.PostScalarFieldEnum | Prisma.PostScalarFieldEnum[];
3536
- };
3537
- /**
3538
- * File.postsAsImage2
3539
- */
3540
- export type File$postsAsImage2Args<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3541
- /**
3542
- * Select specific fields to fetch from the Post
3543
- */
3544
- select?: Prisma.PostSelect<ExtArgs> | null;
3545
- /**
3546
- * Omit specific fields from the Post
3547
- */
3548
- omit?: Prisma.PostOmit<ExtArgs> | null;
3549
- /**
3550
- * Choose, which related nodes to fetch as well
3551
- */
3552
- include?: Prisma.PostInclude<ExtArgs> | null;
3553
- where?: Prisma.PostWhereInput;
3554
- orderBy?: Prisma.PostOrderByWithRelationInput | Prisma.PostOrderByWithRelationInput[];
3555
- cursor?: Prisma.PostWhereUniqueInput;
3556
- take?: number;
3557
- skip?: number;
3558
- distinct?: Prisma.PostScalarFieldEnum | Prisma.PostScalarFieldEnum[];
3559
- };
3560
- /**
3561
- * File.postsAsImage3
3562
- */
3563
- export type File$postsAsImage3Args<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3564
- /**
3565
- * Select specific fields to fetch from the Post
3566
- */
3567
- select?: Prisma.PostSelect<ExtArgs> | null;
3568
- /**
3569
- * Omit specific fields from the Post
3570
- */
3571
- omit?: Prisma.PostOmit<ExtArgs> | null;
3572
- /**
3573
- * Choose, which related nodes to fetch as well
3574
- */
3575
- include?: Prisma.PostInclude<ExtArgs> | null;
3576
- where?: Prisma.PostWhereInput;
3577
- orderBy?: Prisma.PostOrderByWithRelationInput | Prisma.PostOrderByWithRelationInput[];
3578
- cursor?: Prisma.PostWhereUniqueInput;
3579
- take?: number;
3580
- skip?: number;
3581
- distinct?: Prisma.PostScalarFieldEnum | Prisma.PostScalarFieldEnum[];
3582
- };
3583
- /**
3584
- * File.postsAsImage4
3585
- */
3586
- export type File$postsAsImage4Args<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3587
- /**
3588
- * Select specific fields to fetch from the Post
3589
- */
3590
- select?: Prisma.PostSelect<ExtArgs> | null;
3591
- /**
3592
- * Omit specific fields from the Post
3593
- */
3594
- omit?: Prisma.PostOmit<ExtArgs> | null;
3595
- /**
3596
- * Choose, which related nodes to fetch as well
3597
- */
3598
- include?: Prisma.PostInclude<ExtArgs> | null;
3599
- where?: Prisma.PostWhereInput;
3600
- orderBy?: Prisma.PostOrderByWithRelationInput | Prisma.PostOrderByWithRelationInput[];
3601
- cursor?: Prisma.PostWhereUniqueInput;
3602
- take?: number;
3603
- skip?: number;
3604
- distinct?: Prisma.PostScalarFieldEnum | Prisma.PostScalarFieldEnum[];
3605
- };
3606
- /**
3607
- * File without action
3608
- */
3609
- export type FileDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3610
- /**
3611
- * Select specific fields to fetch from the File
3612
- */
3613
- select?: Prisma.FileSelect<ExtArgs> | null;
3614
- /**
3615
- * Omit specific fields from the File
3616
- */
3617
- omit?: Prisma.FileOmit<ExtArgs> | null;
3618
- /**
3619
- * Choose, which related nodes to fetch as well
3620
- */
3621
- include?: Prisma.FileInclude<ExtArgs> | null;
3622
- };
3623
- export {};
3624
- //# sourceMappingURL=File.d.ts.map