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