@helloao/cli 0.2.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/README.md +4 -0
  2. package/dist/cjs/cli.cjs +7361 -8421
  3. package/dist/cjs/index.cjs +7663 -8857
  4. package/dist/esm/cli.js +6118 -0
  5. package/dist/esm/cli.js.map +7 -0
  6. package/dist/esm/index.js +1272 -6039
  7. package/dist/esm/index.js.map +4 -4
  8. package/dist/types/actions.d.ts +43 -1
  9. package/dist/types/db.d.ts +19 -8
  10. package/dist/types/ebible.d.ts +1 -1
  11. package/dist/types/files.d.ts +6 -1
  12. package/dist/types/prisma-gen/browser.d.ts +115 -0
  13. package/dist/types/prisma-gen/client.d.ts +134 -0
  14. package/dist/types/prisma-gen/commonInputTypes.d.ts +378 -0
  15. package/dist/types/prisma-gen/enums.d.ts +2 -0
  16. package/dist/types/prisma-gen/internal/class.d.ts +364 -0
  17. package/dist/types/prisma-gen/internal/prismaNamespace.d.ts +2358 -0
  18. package/dist/types/prisma-gen/internal/prismaNamespaceBrowser.d.ts +304 -0
  19. package/dist/types/prisma-gen/models/Book.d.ts +2197 -0
  20. package/dist/types/prisma-gen/models/Chapter.d.ts +1934 -0
  21. package/dist/types/prisma-gen/models/ChapterAudioTiming.d.ts +1414 -0
  22. package/dist/types/prisma-gen/models/ChapterAudioUrl.d.ts +1414 -0
  23. package/dist/types/prisma-gen/models/ChapterFootnote.d.ts +1642 -0
  24. package/dist/types/prisma-gen/models/ChapterVerse.d.ts +1653 -0
  25. package/dist/types/prisma-gen/models/ChapterWords.d.ts +1366 -0
  26. package/dist/types/prisma-gen/models/Commentary.d.ts +1711 -0
  27. package/dist/types/prisma-gen/models/CommentaryBook.d.ts +1622 -0
  28. package/dist/types/prisma-gen/models/CommentaryChapter.d.ts +1487 -0
  29. package/dist/types/prisma-gen/models/CommentaryChapterVerse.d.ts +1514 -0
  30. package/dist/types/prisma-gen/models/CommentaryProfile.d.ts +1451 -0
  31. package/dist/types/prisma-gen/models/Dataset.d.ts +1810 -0
  32. package/dist/types/prisma-gen/models/DatasetBook.d.ts +1565 -0
  33. package/dist/types/prisma-gen/models/DatasetChapter.d.ts +1553 -0
  34. package/dist/types/prisma-gen/models/DatasetChapterVerse.d.ts +1600 -0
  35. package/dist/types/prisma-gen/models/DatasetEntity.d.ts +1214 -0
  36. package/dist/types/prisma-gen/models/DatasetReference.d.ts +1789 -0
  37. package/dist/types/prisma-gen/models/EBibleSource.d.ts +1686 -0
  38. package/dist/types/prisma-gen/models/InputFile.d.ts +1039 -0
  39. package/dist/types/prisma-gen/models/InputFileWarning.d.ts +946 -0
  40. package/dist/types/prisma-gen/models/Translation.d.ts +2238 -0
  41. package/dist/types/prisma-gen/models.d.ts +24 -0
  42. package/dist/types/s3.d.ts +2 -0
  43. package/dist/types/uploads.d.ts +1 -1
  44. package/meta/ARBNAV.json +10 -10
  45. package/meta/BSB.json +10 -10
  46. package/meta/HBOMAS.json +10 -10
  47. package/meta/HINIRV.json +10 -10
  48. package/meta/eng_dra.json +10 -10
  49. package/migrations/20240420231455_initial/migration.sql +66 -66
  50. package/migrations/20240711173108_add_chapter_audio/migration.sql +13 -13
  51. package/migrations/20240724212651_add_hashing/migration.sql +25 -25
  52. package/migrations/20250625201152_add_extra_ebible_metadata/migration.sql +3 -3
  53. package/migrations/20250630200532_add_apocryhpa_flag/migration.sql +2 -2
  54. package/migrations/20250701195337_add_file_warnings/migration.sql +8 -8
  55. package/migrations/20251028135135_add_datasets/migration.sql +72 -72
  56. package/migrations/20251028144932_fix_dataset_types/migration.sql +50 -50
  57. package/migrations/20260217200934_add_license_notice/migration.sql +5 -5
  58. package/migrations/20260703000000_add_chapter_audio_timing/migration.sql +13 -0
  59. package/migrations/20260809000000_add_chapter_words/migration.sql +12 -0
  60. package/migrations/20260829000000_add_dataset_entities/migration.sql +12 -0
  61. package/package.json +21 -18
  62. package/schema.prisma +65 -2
  63. package/prisma-gen/default.d.ts +0 -1
  64. package/prisma-gen/default.js +0 -1
  65. package/prisma-gen/edge.d.ts +0 -1
  66. package/prisma-gen/edge.js +0 -403
  67. package/prisma-gen/index-browser.js +0 -397
  68. package/prisma-gen/index.d.ts +0 -34011
  69. package/prisma-gen/index.js +0 -426
  70. package/prisma-gen/runtime/edge-esm.js +0 -31
  71. package/prisma-gen/runtime/edge.js +0 -31
  72. package/prisma-gen/runtime/index-browser.d.ts +0 -365
  73. package/prisma-gen/runtime/index-browser.js +0 -13
  74. package/prisma-gen/runtime/library.d.ts +0 -3403
  75. package/prisma-gen/runtime/library.js +0 -143
  76. package/prisma-gen/runtime/react-native.js +0 -80
  77. package/prisma-gen/runtime/wasm.js +0 -32
  78. package/prisma-gen/wasm.d.ts +0 -1
  79. package/prisma-gen/wasm.js +0 -397
@@ -0,0 +1,1039 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace";
3
+ /**
4
+ * Model InputFile
5
+ *
6
+ */
7
+ export type InputFileModel = runtime.Types.Result.DefaultSelection<Prisma.$InputFilePayload>;
8
+ export type AggregateInputFile = {
9
+ _count: InputFileCountAggregateOutputType | null;
10
+ _avg: InputFileAvgAggregateOutputType | null;
11
+ _sum: InputFileSumAggregateOutputType | null;
12
+ _min: InputFileMinAggregateOutputType | null;
13
+ _max: InputFileMaxAggregateOutputType | null;
14
+ };
15
+ export type InputFileAvgAggregateOutputType = {
16
+ sizeInBytes: number | null;
17
+ };
18
+ export type InputFileSumAggregateOutputType = {
19
+ sizeInBytes: number | null;
20
+ };
21
+ export type InputFileMinAggregateOutputType = {
22
+ translationId: string | null;
23
+ name: string | null;
24
+ format: string | null;
25
+ sha256: string | null;
26
+ sizeInBytes: number | null;
27
+ };
28
+ export type InputFileMaxAggregateOutputType = {
29
+ translationId: string | null;
30
+ name: string | null;
31
+ format: string | null;
32
+ sha256: string | null;
33
+ sizeInBytes: number | null;
34
+ };
35
+ export type InputFileCountAggregateOutputType = {
36
+ translationId: number;
37
+ name: number;
38
+ format: number;
39
+ sha256: number;
40
+ sizeInBytes: number;
41
+ _all: number;
42
+ };
43
+ export type InputFileAvgAggregateInputType = {
44
+ sizeInBytes?: true;
45
+ };
46
+ export type InputFileSumAggregateInputType = {
47
+ sizeInBytes?: true;
48
+ };
49
+ export type InputFileMinAggregateInputType = {
50
+ translationId?: true;
51
+ name?: true;
52
+ format?: true;
53
+ sha256?: true;
54
+ sizeInBytes?: true;
55
+ };
56
+ export type InputFileMaxAggregateInputType = {
57
+ translationId?: true;
58
+ name?: true;
59
+ format?: true;
60
+ sha256?: true;
61
+ sizeInBytes?: true;
62
+ };
63
+ export type InputFileCountAggregateInputType = {
64
+ translationId?: true;
65
+ name?: true;
66
+ format?: true;
67
+ sha256?: true;
68
+ sizeInBytes?: true;
69
+ _all?: true;
70
+ };
71
+ export type InputFileAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
72
+ /**
73
+ * Filter which InputFile to aggregate.
74
+ */
75
+ where?: Prisma.InputFileWhereInput;
76
+ /**
77
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
78
+ *
79
+ * Determine the order of InputFiles to fetch.
80
+ */
81
+ orderBy?: Prisma.InputFileOrderByWithRelationInput | Prisma.InputFileOrderByWithRelationInput[];
82
+ /**
83
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
84
+ *
85
+ * Sets the start position
86
+ */
87
+ cursor?: Prisma.InputFileWhereUniqueInput;
88
+ /**
89
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
90
+ *
91
+ * Take `±n` InputFiles from the position of the cursor.
92
+ */
93
+ take?: number;
94
+ /**
95
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
96
+ *
97
+ * Skip the first `n` InputFiles.
98
+ */
99
+ skip?: number;
100
+ /**
101
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
102
+ *
103
+ * Count returned InputFiles
104
+ **/
105
+ _count?: true | InputFileCountAggregateInputType;
106
+ /**
107
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
108
+ *
109
+ * Select which fields to average
110
+ **/
111
+ _avg?: InputFileAvgAggregateInputType;
112
+ /**
113
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
114
+ *
115
+ * Select which fields to sum
116
+ **/
117
+ _sum?: InputFileSumAggregateInputType;
118
+ /**
119
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
120
+ *
121
+ * Select which fields to find the minimum value
122
+ **/
123
+ _min?: InputFileMinAggregateInputType;
124
+ /**
125
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
126
+ *
127
+ * Select which fields to find the maximum value
128
+ **/
129
+ _max?: InputFileMaxAggregateInputType;
130
+ };
131
+ export type GetInputFileAggregateType<T extends InputFileAggregateArgs> = {
132
+ [P in keyof T & keyof AggregateInputFile]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateInputFile[P]> : Prisma.GetScalarType<T[P], AggregateInputFile[P]>;
133
+ };
134
+ export type InputFileGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
135
+ where?: Prisma.InputFileWhereInput;
136
+ orderBy?: Prisma.InputFileOrderByWithAggregationInput | Prisma.InputFileOrderByWithAggregationInput[];
137
+ by: Prisma.InputFileScalarFieldEnum[] | Prisma.InputFileScalarFieldEnum;
138
+ having?: Prisma.InputFileScalarWhereWithAggregatesInput;
139
+ take?: number;
140
+ skip?: number;
141
+ _count?: InputFileCountAggregateInputType | true;
142
+ _avg?: InputFileAvgAggregateInputType;
143
+ _sum?: InputFileSumAggregateInputType;
144
+ _min?: InputFileMinAggregateInputType;
145
+ _max?: InputFileMaxAggregateInputType;
146
+ };
147
+ export type InputFileGroupByOutputType = {
148
+ translationId: string;
149
+ name: string;
150
+ format: string;
151
+ sha256: string;
152
+ sizeInBytes: number;
153
+ _count: InputFileCountAggregateOutputType | null;
154
+ _avg: InputFileAvgAggregateOutputType | null;
155
+ _sum: InputFileSumAggregateOutputType | null;
156
+ _min: InputFileMinAggregateOutputType | null;
157
+ _max: InputFileMaxAggregateOutputType | null;
158
+ };
159
+ export type GetInputFileGroupByPayload<T extends InputFileGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<InputFileGroupByOutputType, T['by']> & {
160
+ [P in ((keyof T) & (keyof InputFileGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], InputFileGroupByOutputType[P]> : Prisma.GetScalarType<T[P], InputFileGroupByOutputType[P]>;
161
+ }>>;
162
+ export type InputFileWhereInput = {
163
+ AND?: Prisma.InputFileWhereInput | Prisma.InputFileWhereInput[];
164
+ OR?: Prisma.InputFileWhereInput[];
165
+ NOT?: Prisma.InputFileWhereInput | Prisma.InputFileWhereInput[];
166
+ translationId?: Prisma.StringFilter<"InputFile"> | string;
167
+ name?: Prisma.StringFilter<"InputFile"> | string;
168
+ format?: Prisma.StringFilter<"InputFile"> | string;
169
+ sha256?: Prisma.StringFilter<"InputFile"> | string;
170
+ sizeInBytes?: Prisma.IntFilter<"InputFile"> | number;
171
+ };
172
+ export type InputFileOrderByWithRelationInput = {
173
+ translationId?: Prisma.SortOrder;
174
+ name?: Prisma.SortOrder;
175
+ format?: Prisma.SortOrder;
176
+ sha256?: Prisma.SortOrder;
177
+ sizeInBytes?: Prisma.SortOrder;
178
+ };
179
+ export type InputFileWhereUniqueInput = Prisma.AtLeast<{
180
+ translationId_name?: Prisma.InputFileTranslationIdNameCompoundUniqueInput;
181
+ AND?: Prisma.InputFileWhereInput | Prisma.InputFileWhereInput[];
182
+ OR?: Prisma.InputFileWhereInput[];
183
+ NOT?: Prisma.InputFileWhereInput | Prisma.InputFileWhereInput[];
184
+ translationId?: Prisma.StringFilter<"InputFile"> | string;
185
+ name?: Prisma.StringFilter<"InputFile"> | string;
186
+ format?: Prisma.StringFilter<"InputFile"> | string;
187
+ sha256?: Prisma.StringFilter<"InputFile"> | string;
188
+ sizeInBytes?: Prisma.IntFilter<"InputFile"> | number;
189
+ }, "translationId_name">;
190
+ export type InputFileOrderByWithAggregationInput = {
191
+ translationId?: Prisma.SortOrder;
192
+ name?: Prisma.SortOrder;
193
+ format?: Prisma.SortOrder;
194
+ sha256?: Prisma.SortOrder;
195
+ sizeInBytes?: Prisma.SortOrder;
196
+ _count?: Prisma.InputFileCountOrderByAggregateInput;
197
+ _avg?: Prisma.InputFileAvgOrderByAggregateInput;
198
+ _max?: Prisma.InputFileMaxOrderByAggregateInput;
199
+ _min?: Prisma.InputFileMinOrderByAggregateInput;
200
+ _sum?: Prisma.InputFileSumOrderByAggregateInput;
201
+ };
202
+ export type InputFileScalarWhereWithAggregatesInput = {
203
+ AND?: Prisma.InputFileScalarWhereWithAggregatesInput | Prisma.InputFileScalarWhereWithAggregatesInput[];
204
+ OR?: Prisma.InputFileScalarWhereWithAggregatesInput[];
205
+ NOT?: Prisma.InputFileScalarWhereWithAggregatesInput | Prisma.InputFileScalarWhereWithAggregatesInput[];
206
+ translationId?: Prisma.StringWithAggregatesFilter<"InputFile"> | string;
207
+ name?: Prisma.StringWithAggregatesFilter<"InputFile"> | string;
208
+ format?: Prisma.StringWithAggregatesFilter<"InputFile"> | string;
209
+ sha256?: Prisma.StringWithAggregatesFilter<"InputFile"> | string;
210
+ sizeInBytes?: Prisma.IntWithAggregatesFilter<"InputFile"> | number;
211
+ };
212
+ export type InputFileCreateInput = {
213
+ translationId: string;
214
+ name: string;
215
+ format: string;
216
+ sha256: string;
217
+ sizeInBytes: number;
218
+ };
219
+ export type InputFileUncheckedCreateInput = {
220
+ translationId: string;
221
+ name: string;
222
+ format: string;
223
+ sha256: string;
224
+ sizeInBytes: number;
225
+ };
226
+ export type InputFileUpdateInput = {
227
+ translationId?: Prisma.StringFieldUpdateOperationsInput | string;
228
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
229
+ format?: Prisma.StringFieldUpdateOperationsInput | string;
230
+ sha256?: Prisma.StringFieldUpdateOperationsInput | string;
231
+ sizeInBytes?: Prisma.IntFieldUpdateOperationsInput | number;
232
+ };
233
+ export type InputFileUncheckedUpdateInput = {
234
+ translationId?: Prisma.StringFieldUpdateOperationsInput | string;
235
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
236
+ format?: Prisma.StringFieldUpdateOperationsInput | string;
237
+ sha256?: Prisma.StringFieldUpdateOperationsInput | string;
238
+ sizeInBytes?: Prisma.IntFieldUpdateOperationsInput | number;
239
+ };
240
+ export type InputFileCreateManyInput = {
241
+ translationId: string;
242
+ name: string;
243
+ format: string;
244
+ sha256: string;
245
+ sizeInBytes: number;
246
+ };
247
+ export type InputFileUpdateManyMutationInput = {
248
+ translationId?: Prisma.StringFieldUpdateOperationsInput | string;
249
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
250
+ format?: Prisma.StringFieldUpdateOperationsInput | string;
251
+ sha256?: Prisma.StringFieldUpdateOperationsInput | string;
252
+ sizeInBytes?: Prisma.IntFieldUpdateOperationsInput | number;
253
+ };
254
+ export type InputFileUncheckedUpdateManyInput = {
255
+ translationId?: Prisma.StringFieldUpdateOperationsInput | string;
256
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
257
+ format?: Prisma.StringFieldUpdateOperationsInput | string;
258
+ sha256?: Prisma.StringFieldUpdateOperationsInput | string;
259
+ sizeInBytes?: Prisma.IntFieldUpdateOperationsInput | number;
260
+ };
261
+ export type InputFileTranslationIdNameCompoundUniqueInput = {
262
+ translationId: string;
263
+ name: string;
264
+ };
265
+ export type InputFileCountOrderByAggregateInput = {
266
+ translationId?: Prisma.SortOrder;
267
+ name?: Prisma.SortOrder;
268
+ format?: Prisma.SortOrder;
269
+ sha256?: Prisma.SortOrder;
270
+ sizeInBytes?: Prisma.SortOrder;
271
+ };
272
+ export type InputFileAvgOrderByAggregateInput = {
273
+ sizeInBytes?: Prisma.SortOrder;
274
+ };
275
+ export type InputFileMaxOrderByAggregateInput = {
276
+ translationId?: Prisma.SortOrder;
277
+ name?: Prisma.SortOrder;
278
+ format?: Prisma.SortOrder;
279
+ sha256?: Prisma.SortOrder;
280
+ sizeInBytes?: Prisma.SortOrder;
281
+ };
282
+ export type InputFileMinOrderByAggregateInput = {
283
+ translationId?: Prisma.SortOrder;
284
+ name?: Prisma.SortOrder;
285
+ format?: Prisma.SortOrder;
286
+ sha256?: Prisma.SortOrder;
287
+ sizeInBytes?: Prisma.SortOrder;
288
+ };
289
+ export type InputFileSumOrderByAggregateInput = {
290
+ sizeInBytes?: Prisma.SortOrder;
291
+ };
292
+ export type InputFileSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
293
+ translationId?: boolean;
294
+ name?: boolean;
295
+ format?: boolean;
296
+ sha256?: boolean;
297
+ sizeInBytes?: boolean;
298
+ }, ExtArgs["result"]["inputFile"]>;
299
+ export type InputFileSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
300
+ translationId?: boolean;
301
+ name?: boolean;
302
+ format?: boolean;
303
+ sha256?: boolean;
304
+ sizeInBytes?: boolean;
305
+ }, ExtArgs["result"]["inputFile"]>;
306
+ export type InputFileSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
307
+ translationId?: boolean;
308
+ name?: boolean;
309
+ format?: boolean;
310
+ sha256?: boolean;
311
+ sizeInBytes?: boolean;
312
+ }, ExtArgs["result"]["inputFile"]>;
313
+ export type InputFileSelectScalar = {
314
+ translationId?: boolean;
315
+ name?: boolean;
316
+ format?: boolean;
317
+ sha256?: boolean;
318
+ sizeInBytes?: boolean;
319
+ };
320
+ export type InputFileOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"translationId" | "name" | "format" | "sha256" | "sizeInBytes", ExtArgs["result"]["inputFile"]>;
321
+ export type $InputFilePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
322
+ name: "InputFile";
323
+ objects: {};
324
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
325
+ translationId: string;
326
+ name: string;
327
+ format: string;
328
+ sha256: string;
329
+ sizeInBytes: number;
330
+ }, ExtArgs["result"]["inputFile"]>;
331
+ composites: {};
332
+ };
333
+ export type InputFileGetPayload<S extends boolean | null | undefined | InputFileDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$InputFilePayload, S>;
334
+ export type InputFileCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<InputFileFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
335
+ select?: InputFileCountAggregateInputType | true;
336
+ };
337
+ export interface InputFileDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
338
+ [K: symbol]: {
339
+ types: Prisma.TypeMap<ExtArgs>['model']['InputFile'];
340
+ meta: {
341
+ name: 'InputFile';
342
+ };
343
+ };
344
+ /**
345
+ * Find zero or one InputFile that matches the filter.
346
+ * @param {InputFileFindUniqueArgs} args - Arguments to find a InputFile
347
+ * @example
348
+ * // Get one InputFile
349
+ * const inputFile = await prisma.inputFile.findUnique({
350
+ * where: {
351
+ * // ... provide filter here
352
+ * }
353
+ * })
354
+ */
355
+ findUnique<T extends InputFileFindUniqueArgs>(args: Prisma.SelectSubset<T, InputFileFindUniqueArgs<ExtArgs>>): Prisma.Prisma__InputFileClient<runtime.Types.Result.GetResult<Prisma.$InputFilePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
356
+ /**
357
+ * Find one InputFile that matches the filter or throw an error with `error.code='P2025'`
358
+ * if no matches were found.
359
+ * @param {InputFileFindUniqueOrThrowArgs} args - Arguments to find a InputFile
360
+ * @example
361
+ * // Get one InputFile
362
+ * const inputFile = await prisma.inputFile.findUniqueOrThrow({
363
+ * where: {
364
+ * // ... provide filter here
365
+ * }
366
+ * })
367
+ */
368
+ findUniqueOrThrow<T extends InputFileFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, InputFileFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__InputFileClient<runtime.Types.Result.GetResult<Prisma.$InputFilePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
369
+ /**
370
+ * Find the first InputFile that matches the filter.
371
+ * Note, that providing `undefined` is treated as the value not being there.
372
+ * Read more here: https://pris.ly/d/null-undefined
373
+ * @param {InputFileFindFirstArgs} args - Arguments to find a InputFile
374
+ * @example
375
+ * // Get one InputFile
376
+ * const inputFile = await prisma.inputFile.findFirst({
377
+ * where: {
378
+ * // ... provide filter here
379
+ * }
380
+ * })
381
+ */
382
+ findFirst<T extends InputFileFindFirstArgs>(args?: Prisma.SelectSubset<T, InputFileFindFirstArgs<ExtArgs>>): Prisma.Prisma__InputFileClient<runtime.Types.Result.GetResult<Prisma.$InputFilePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
383
+ /**
384
+ * Find the first InputFile that matches the filter or
385
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
386
+ * Note, that providing `undefined` is treated as the value not being there.
387
+ * Read more here: https://pris.ly/d/null-undefined
388
+ * @param {InputFileFindFirstOrThrowArgs} args - Arguments to find a InputFile
389
+ * @example
390
+ * // Get one InputFile
391
+ * const inputFile = await prisma.inputFile.findFirstOrThrow({
392
+ * where: {
393
+ * // ... provide filter here
394
+ * }
395
+ * })
396
+ */
397
+ findFirstOrThrow<T extends InputFileFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, InputFileFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__InputFileClient<runtime.Types.Result.GetResult<Prisma.$InputFilePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
398
+ /**
399
+ * Find zero or more InputFiles that matches the filter.
400
+ * Note, that providing `undefined` is treated as the value not being there.
401
+ * Read more here: https://pris.ly/d/null-undefined
402
+ * @param {InputFileFindManyArgs} args - Arguments to filter and select certain fields only.
403
+ * @example
404
+ * // Get all InputFiles
405
+ * const inputFiles = await prisma.inputFile.findMany()
406
+ *
407
+ * // Get first 10 InputFiles
408
+ * const inputFiles = await prisma.inputFile.findMany({ take: 10 })
409
+ *
410
+ * // Only select the `translationId`
411
+ * const inputFileWithTranslationIdOnly = await prisma.inputFile.findMany({ select: { translationId: true } })
412
+ *
413
+ */
414
+ findMany<T extends InputFileFindManyArgs>(args?: Prisma.SelectSubset<T, InputFileFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InputFilePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
415
+ /**
416
+ * Create a InputFile.
417
+ * @param {InputFileCreateArgs} args - Arguments to create a InputFile.
418
+ * @example
419
+ * // Create one InputFile
420
+ * const InputFile = await prisma.inputFile.create({
421
+ * data: {
422
+ * // ... data to create a InputFile
423
+ * }
424
+ * })
425
+ *
426
+ */
427
+ create<T extends InputFileCreateArgs>(args: Prisma.SelectSubset<T, InputFileCreateArgs<ExtArgs>>): Prisma.Prisma__InputFileClient<runtime.Types.Result.GetResult<Prisma.$InputFilePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
428
+ /**
429
+ * Create many InputFiles.
430
+ * @param {InputFileCreateManyArgs} args - Arguments to create many InputFiles.
431
+ * @example
432
+ * // Create many InputFiles
433
+ * const inputFile = await prisma.inputFile.createMany({
434
+ * data: [
435
+ * // ... provide data here
436
+ * ]
437
+ * })
438
+ *
439
+ */
440
+ createMany<T extends InputFileCreateManyArgs>(args?: Prisma.SelectSubset<T, InputFileCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
441
+ /**
442
+ * Create many InputFiles and returns the data saved in the database.
443
+ * @param {InputFileCreateManyAndReturnArgs} args - Arguments to create many InputFiles.
444
+ * @example
445
+ * // Create many InputFiles
446
+ * const inputFile = await prisma.inputFile.createManyAndReturn({
447
+ * data: [
448
+ * // ... provide data here
449
+ * ]
450
+ * })
451
+ *
452
+ * // Create many InputFiles and only return the `translationId`
453
+ * const inputFileWithTranslationIdOnly = await prisma.inputFile.createManyAndReturn({
454
+ * select: { translationId: true },
455
+ * data: [
456
+ * // ... provide data here
457
+ * ]
458
+ * })
459
+ * Note, that providing `undefined` is treated as the value not being there.
460
+ * Read more here: https://pris.ly/d/null-undefined
461
+ *
462
+ */
463
+ createManyAndReturn<T extends InputFileCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, InputFileCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InputFilePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
464
+ /**
465
+ * Delete a InputFile.
466
+ * @param {InputFileDeleteArgs} args - Arguments to delete one InputFile.
467
+ * @example
468
+ * // Delete one InputFile
469
+ * const InputFile = await prisma.inputFile.delete({
470
+ * where: {
471
+ * // ... filter to delete one InputFile
472
+ * }
473
+ * })
474
+ *
475
+ */
476
+ delete<T extends InputFileDeleteArgs>(args: Prisma.SelectSubset<T, InputFileDeleteArgs<ExtArgs>>): Prisma.Prisma__InputFileClient<runtime.Types.Result.GetResult<Prisma.$InputFilePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
477
+ /**
478
+ * Update one InputFile.
479
+ * @param {InputFileUpdateArgs} args - Arguments to update one InputFile.
480
+ * @example
481
+ * // Update one InputFile
482
+ * const inputFile = await prisma.inputFile.update({
483
+ * where: {
484
+ * // ... provide filter here
485
+ * },
486
+ * data: {
487
+ * // ... provide data here
488
+ * }
489
+ * })
490
+ *
491
+ */
492
+ update<T extends InputFileUpdateArgs>(args: Prisma.SelectSubset<T, InputFileUpdateArgs<ExtArgs>>): Prisma.Prisma__InputFileClient<runtime.Types.Result.GetResult<Prisma.$InputFilePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
493
+ /**
494
+ * Delete zero or more InputFiles.
495
+ * @param {InputFileDeleteManyArgs} args - Arguments to filter InputFiles to delete.
496
+ * @example
497
+ * // Delete a few InputFiles
498
+ * const { count } = await prisma.inputFile.deleteMany({
499
+ * where: {
500
+ * // ... provide filter here
501
+ * }
502
+ * })
503
+ *
504
+ */
505
+ deleteMany<T extends InputFileDeleteManyArgs>(args?: Prisma.SelectSubset<T, InputFileDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
506
+ /**
507
+ * Update zero or more InputFiles.
508
+ * Note, that providing `undefined` is treated as the value not being there.
509
+ * Read more here: https://pris.ly/d/null-undefined
510
+ * @param {InputFileUpdateManyArgs} args - Arguments to update one or more rows.
511
+ * @example
512
+ * // Update many InputFiles
513
+ * const inputFile = await prisma.inputFile.updateMany({
514
+ * where: {
515
+ * // ... provide filter here
516
+ * },
517
+ * data: {
518
+ * // ... provide data here
519
+ * }
520
+ * })
521
+ *
522
+ */
523
+ updateMany<T extends InputFileUpdateManyArgs>(args: Prisma.SelectSubset<T, InputFileUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
524
+ /**
525
+ * Update zero or more InputFiles and returns the data updated in the database.
526
+ * @param {InputFileUpdateManyAndReturnArgs} args - Arguments to update many InputFiles.
527
+ * @example
528
+ * // Update many InputFiles
529
+ * const inputFile = await prisma.inputFile.updateManyAndReturn({
530
+ * where: {
531
+ * // ... provide filter here
532
+ * },
533
+ * data: [
534
+ * // ... provide data here
535
+ * ]
536
+ * })
537
+ *
538
+ * // Update zero or more InputFiles and only return the `translationId`
539
+ * const inputFileWithTranslationIdOnly = await prisma.inputFile.updateManyAndReturn({
540
+ * select: { translationId: true },
541
+ * where: {
542
+ * // ... provide filter here
543
+ * },
544
+ * data: [
545
+ * // ... provide data here
546
+ * ]
547
+ * })
548
+ * Note, that providing `undefined` is treated as the value not being there.
549
+ * Read more here: https://pris.ly/d/null-undefined
550
+ *
551
+ */
552
+ updateManyAndReturn<T extends InputFileUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, InputFileUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$InputFilePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
553
+ /**
554
+ * Create or update one InputFile.
555
+ * @param {InputFileUpsertArgs} args - Arguments to update or create a InputFile.
556
+ * @example
557
+ * // Update or create a InputFile
558
+ * const inputFile = await prisma.inputFile.upsert({
559
+ * create: {
560
+ * // ... data to create a InputFile
561
+ * },
562
+ * update: {
563
+ * // ... in case it already exists, update
564
+ * },
565
+ * where: {
566
+ * // ... the filter for the InputFile we want to update
567
+ * }
568
+ * })
569
+ */
570
+ upsert<T extends InputFileUpsertArgs>(args: Prisma.SelectSubset<T, InputFileUpsertArgs<ExtArgs>>): Prisma.Prisma__InputFileClient<runtime.Types.Result.GetResult<Prisma.$InputFilePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
571
+ /**
572
+ * Count the number of InputFiles.
573
+ * Note, that providing `undefined` is treated as the value not being there.
574
+ * Read more here: https://pris.ly/d/null-undefined
575
+ * @param {InputFileCountArgs} args - Arguments to filter InputFiles to count.
576
+ * @example
577
+ * // Count the number of InputFiles
578
+ * const count = await prisma.inputFile.count({
579
+ * where: {
580
+ * // ... the filter for the InputFiles we want to count
581
+ * }
582
+ * })
583
+ **/
584
+ count<T extends InputFileCountArgs>(args?: Prisma.Subset<T, InputFileCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], InputFileCountAggregateOutputType> : number>;
585
+ /**
586
+ * Allows you to perform aggregations operations on a InputFile.
587
+ * Note, that providing `undefined` is treated as the value not being there.
588
+ * Read more here: https://pris.ly/d/null-undefined
589
+ * @param {InputFileAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
590
+ * @example
591
+ * // Ordered by age ascending
592
+ * // Where email contains prisma.io
593
+ * // Limited to the 10 users
594
+ * const aggregations = await prisma.user.aggregate({
595
+ * _avg: {
596
+ * age: true,
597
+ * },
598
+ * where: {
599
+ * email: {
600
+ * contains: "prisma.io",
601
+ * },
602
+ * },
603
+ * orderBy: {
604
+ * age: "asc",
605
+ * },
606
+ * take: 10,
607
+ * })
608
+ **/
609
+ aggregate<T extends InputFileAggregateArgs>(args: Prisma.Subset<T, InputFileAggregateArgs>): Prisma.PrismaPromise<GetInputFileAggregateType<T>>;
610
+ /**
611
+ * Group by InputFile.
612
+ * Note, that providing `undefined` is treated as the value not being there.
613
+ * Read more here: https://pris.ly/d/null-undefined
614
+ * @param {InputFileGroupByArgs} args - Group by arguments.
615
+ * @example
616
+ * // Group by city, order by createdAt, get count
617
+ * const result = await prisma.user.groupBy({
618
+ * by: ['city', 'createdAt'],
619
+ * orderBy: {
620
+ * createdAt: true
621
+ * },
622
+ * _count: {
623
+ * _all: true
624
+ * },
625
+ * })
626
+ *
627
+ **/
628
+ groupBy<T extends InputFileGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
629
+ orderBy: InputFileGroupByArgs['orderBy'];
630
+ } : {
631
+ orderBy?: InputFileGroupByArgs['orderBy'];
632
+ }, 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 ? {
633
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
634
+ Error,
635
+ 'Field ',
636
+ P,
637
+ ` in "having" needs to be provided in "by"`
638
+ ];
639
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
640
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
641
+ }[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 ? {} : {
642
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
643
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
644
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
645
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, InputFileGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetInputFileGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
646
+ /**
647
+ * Fields of the InputFile model
648
+ */
649
+ readonly fields: InputFileFieldRefs;
650
+ }
651
+ /**
652
+ * The delegate class that acts as a "Promise-like" for InputFile.
653
+ * Why is this prefixed with `Prisma__`?
654
+ * Because we want to prevent naming conflicts as mentioned in
655
+ * https://github.com/prisma/prisma-client-js/issues/707
656
+ */
657
+ export interface Prisma__InputFileClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
658
+ readonly [Symbol.toStringTag]: "PrismaPromise";
659
+ /**
660
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
661
+ * @param onfulfilled The callback to execute when the Promise is resolved.
662
+ * @param onrejected The callback to execute when the Promise is rejected.
663
+ * @returns A Promise for the completion of which ever callback is executed.
664
+ */
665
+ 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>;
666
+ /**
667
+ * Attaches a callback for only the rejection of the Promise.
668
+ * @param onrejected The callback to execute when the Promise is rejected.
669
+ * @returns A Promise for the completion of the callback.
670
+ */
671
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
672
+ /**
673
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
674
+ * resolved value cannot be modified from the callback.
675
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
676
+ * @returns A Promise for the completion of the callback.
677
+ */
678
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
679
+ }
680
+ /**
681
+ * Fields of the InputFile model
682
+ */
683
+ export interface InputFileFieldRefs {
684
+ readonly translationId: Prisma.FieldRef<"InputFile", 'String'>;
685
+ readonly name: Prisma.FieldRef<"InputFile", 'String'>;
686
+ readonly format: Prisma.FieldRef<"InputFile", 'String'>;
687
+ readonly sha256: Prisma.FieldRef<"InputFile", 'String'>;
688
+ readonly sizeInBytes: Prisma.FieldRef<"InputFile", 'Int'>;
689
+ }
690
+ /**
691
+ * InputFile findUnique
692
+ */
693
+ export type InputFileFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
694
+ /**
695
+ * Select specific fields to fetch from the InputFile
696
+ */
697
+ select?: Prisma.InputFileSelect<ExtArgs> | null;
698
+ /**
699
+ * Omit specific fields from the InputFile
700
+ */
701
+ omit?: Prisma.InputFileOmit<ExtArgs> | null;
702
+ /**
703
+ * Filter, which InputFile to fetch.
704
+ */
705
+ where: Prisma.InputFileWhereUniqueInput;
706
+ };
707
+ /**
708
+ * InputFile findUniqueOrThrow
709
+ */
710
+ export type InputFileFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
711
+ /**
712
+ * Select specific fields to fetch from the InputFile
713
+ */
714
+ select?: Prisma.InputFileSelect<ExtArgs> | null;
715
+ /**
716
+ * Omit specific fields from the InputFile
717
+ */
718
+ omit?: Prisma.InputFileOmit<ExtArgs> | null;
719
+ /**
720
+ * Filter, which InputFile to fetch.
721
+ */
722
+ where: Prisma.InputFileWhereUniqueInput;
723
+ };
724
+ /**
725
+ * InputFile findFirst
726
+ */
727
+ export type InputFileFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
728
+ /**
729
+ * Select specific fields to fetch from the InputFile
730
+ */
731
+ select?: Prisma.InputFileSelect<ExtArgs> | null;
732
+ /**
733
+ * Omit specific fields from the InputFile
734
+ */
735
+ omit?: Prisma.InputFileOmit<ExtArgs> | null;
736
+ /**
737
+ * Filter, which InputFile to fetch.
738
+ */
739
+ where?: Prisma.InputFileWhereInput;
740
+ /**
741
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
742
+ *
743
+ * Determine the order of InputFiles to fetch.
744
+ */
745
+ orderBy?: Prisma.InputFileOrderByWithRelationInput | Prisma.InputFileOrderByWithRelationInput[];
746
+ /**
747
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
748
+ *
749
+ * Sets the position for searching for InputFiles.
750
+ */
751
+ cursor?: Prisma.InputFileWhereUniqueInput;
752
+ /**
753
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
754
+ *
755
+ * Take `±n` InputFiles from the position of the cursor.
756
+ */
757
+ take?: number;
758
+ /**
759
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
760
+ *
761
+ * Skip the first `n` InputFiles.
762
+ */
763
+ skip?: number;
764
+ /**
765
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
766
+ *
767
+ * Filter by unique combinations of InputFiles.
768
+ */
769
+ distinct?: Prisma.InputFileScalarFieldEnum | Prisma.InputFileScalarFieldEnum[];
770
+ };
771
+ /**
772
+ * InputFile findFirstOrThrow
773
+ */
774
+ export type InputFileFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
775
+ /**
776
+ * Select specific fields to fetch from the InputFile
777
+ */
778
+ select?: Prisma.InputFileSelect<ExtArgs> | null;
779
+ /**
780
+ * Omit specific fields from the InputFile
781
+ */
782
+ omit?: Prisma.InputFileOmit<ExtArgs> | null;
783
+ /**
784
+ * Filter, which InputFile to fetch.
785
+ */
786
+ where?: Prisma.InputFileWhereInput;
787
+ /**
788
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
789
+ *
790
+ * Determine the order of InputFiles to fetch.
791
+ */
792
+ orderBy?: Prisma.InputFileOrderByWithRelationInput | Prisma.InputFileOrderByWithRelationInput[];
793
+ /**
794
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
795
+ *
796
+ * Sets the position for searching for InputFiles.
797
+ */
798
+ cursor?: Prisma.InputFileWhereUniqueInput;
799
+ /**
800
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
801
+ *
802
+ * Take `±n` InputFiles from the position of the cursor.
803
+ */
804
+ take?: number;
805
+ /**
806
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
807
+ *
808
+ * Skip the first `n` InputFiles.
809
+ */
810
+ skip?: number;
811
+ /**
812
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
813
+ *
814
+ * Filter by unique combinations of InputFiles.
815
+ */
816
+ distinct?: Prisma.InputFileScalarFieldEnum | Prisma.InputFileScalarFieldEnum[];
817
+ };
818
+ /**
819
+ * InputFile findMany
820
+ */
821
+ export type InputFileFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
822
+ /**
823
+ * Select specific fields to fetch from the InputFile
824
+ */
825
+ select?: Prisma.InputFileSelect<ExtArgs> | null;
826
+ /**
827
+ * Omit specific fields from the InputFile
828
+ */
829
+ omit?: Prisma.InputFileOmit<ExtArgs> | null;
830
+ /**
831
+ * Filter, which InputFiles to fetch.
832
+ */
833
+ where?: Prisma.InputFileWhereInput;
834
+ /**
835
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
836
+ *
837
+ * Determine the order of InputFiles to fetch.
838
+ */
839
+ orderBy?: Prisma.InputFileOrderByWithRelationInput | Prisma.InputFileOrderByWithRelationInput[];
840
+ /**
841
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
842
+ *
843
+ * Sets the position for listing InputFiles.
844
+ */
845
+ cursor?: Prisma.InputFileWhereUniqueInput;
846
+ /**
847
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
848
+ *
849
+ * Take `±n` InputFiles from the position of the cursor.
850
+ */
851
+ take?: number;
852
+ /**
853
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
854
+ *
855
+ * Skip the first `n` InputFiles.
856
+ */
857
+ skip?: number;
858
+ /**
859
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
860
+ *
861
+ * Filter by unique combinations of InputFiles.
862
+ */
863
+ distinct?: Prisma.InputFileScalarFieldEnum | Prisma.InputFileScalarFieldEnum[];
864
+ };
865
+ /**
866
+ * InputFile create
867
+ */
868
+ export type InputFileCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
869
+ /**
870
+ * Select specific fields to fetch from the InputFile
871
+ */
872
+ select?: Prisma.InputFileSelect<ExtArgs> | null;
873
+ /**
874
+ * Omit specific fields from the InputFile
875
+ */
876
+ omit?: Prisma.InputFileOmit<ExtArgs> | null;
877
+ /**
878
+ * The data needed to create a InputFile.
879
+ */
880
+ data: Prisma.XOR<Prisma.InputFileCreateInput, Prisma.InputFileUncheckedCreateInput>;
881
+ };
882
+ /**
883
+ * InputFile createMany
884
+ */
885
+ export type InputFileCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
886
+ /**
887
+ * The data used to create many InputFiles.
888
+ */
889
+ data: Prisma.InputFileCreateManyInput | Prisma.InputFileCreateManyInput[];
890
+ };
891
+ /**
892
+ * InputFile createManyAndReturn
893
+ */
894
+ export type InputFileCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
895
+ /**
896
+ * Select specific fields to fetch from the InputFile
897
+ */
898
+ select?: Prisma.InputFileSelectCreateManyAndReturn<ExtArgs> | null;
899
+ /**
900
+ * Omit specific fields from the InputFile
901
+ */
902
+ omit?: Prisma.InputFileOmit<ExtArgs> | null;
903
+ /**
904
+ * The data used to create many InputFiles.
905
+ */
906
+ data: Prisma.InputFileCreateManyInput | Prisma.InputFileCreateManyInput[];
907
+ };
908
+ /**
909
+ * InputFile update
910
+ */
911
+ export type InputFileUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
912
+ /**
913
+ * Select specific fields to fetch from the InputFile
914
+ */
915
+ select?: Prisma.InputFileSelect<ExtArgs> | null;
916
+ /**
917
+ * Omit specific fields from the InputFile
918
+ */
919
+ omit?: Prisma.InputFileOmit<ExtArgs> | null;
920
+ /**
921
+ * The data needed to update a InputFile.
922
+ */
923
+ data: Prisma.XOR<Prisma.InputFileUpdateInput, Prisma.InputFileUncheckedUpdateInput>;
924
+ /**
925
+ * Choose, which InputFile to update.
926
+ */
927
+ where: Prisma.InputFileWhereUniqueInput;
928
+ };
929
+ /**
930
+ * InputFile updateMany
931
+ */
932
+ export type InputFileUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
933
+ /**
934
+ * The data used to update InputFiles.
935
+ */
936
+ data: Prisma.XOR<Prisma.InputFileUpdateManyMutationInput, Prisma.InputFileUncheckedUpdateManyInput>;
937
+ /**
938
+ * Filter which InputFiles to update
939
+ */
940
+ where?: Prisma.InputFileWhereInput;
941
+ /**
942
+ * Limit how many InputFiles to update.
943
+ */
944
+ limit?: number;
945
+ };
946
+ /**
947
+ * InputFile updateManyAndReturn
948
+ */
949
+ export type InputFileUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
950
+ /**
951
+ * Select specific fields to fetch from the InputFile
952
+ */
953
+ select?: Prisma.InputFileSelectUpdateManyAndReturn<ExtArgs> | null;
954
+ /**
955
+ * Omit specific fields from the InputFile
956
+ */
957
+ omit?: Prisma.InputFileOmit<ExtArgs> | null;
958
+ /**
959
+ * The data used to update InputFiles.
960
+ */
961
+ data: Prisma.XOR<Prisma.InputFileUpdateManyMutationInput, Prisma.InputFileUncheckedUpdateManyInput>;
962
+ /**
963
+ * Filter which InputFiles to update
964
+ */
965
+ where?: Prisma.InputFileWhereInput;
966
+ /**
967
+ * Limit how many InputFiles to update.
968
+ */
969
+ limit?: number;
970
+ };
971
+ /**
972
+ * InputFile upsert
973
+ */
974
+ export type InputFileUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
975
+ /**
976
+ * Select specific fields to fetch from the InputFile
977
+ */
978
+ select?: Prisma.InputFileSelect<ExtArgs> | null;
979
+ /**
980
+ * Omit specific fields from the InputFile
981
+ */
982
+ omit?: Prisma.InputFileOmit<ExtArgs> | null;
983
+ /**
984
+ * The filter to search for the InputFile to update in case it exists.
985
+ */
986
+ where: Prisma.InputFileWhereUniqueInput;
987
+ /**
988
+ * In case the InputFile found by the `where` argument doesn't exist, create a new InputFile with this data.
989
+ */
990
+ create: Prisma.XOR<Prisma.InputFileCreateInput, Prisma.InputFileUncheckedCreateInput>;
991
+ /**
992
+ * In case the InputFile was found with the provided `where` argument, update it with this data.
993
+ */
994
+ update: Prisma.XOR<Prisma.InputFileUpdateInput, Prisma.InputFileUncheckedUpdateInput>;
995
+ };
996
+ /**
997
+ * InputFile delete
998
+ */
999
+ export type InputFileDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1000
+ /**
1001
+ * Select specific fields to fetch from the InputFile
1002
+ */
1003
+ select?: Prisma.InputFileSelect<ExtArgs> | null;
1004
+ /**
1005
+ * Omit specific fields from the InputFile
1006
+ */
1007
+ omit?: Prisma.InputFileOmit<ExtArgs> | null;
1008
+ /**
1009
+ * Filter which InputFile to delete.
1010
+ */
1011
+ where: Prisma.InputFileWhereUniqueInput;
1012
+ };
1013
+ /**
1014
+ * InputFile deleteMany
1015
+ */
1016
+ export type InputFileDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1017
+ /**
1018
+ * Filter which InputFiles to delete
1019
+ */
1020
+ where?: Prisma.InputFileWhereInput;
1021
+ /**
1022
+ * Limit how many InputFiles to delete.
1023
+ */
1024
+ limit?: number;
1025
+ };
1026
+ /**
1027
+ * InputFile without action
1028
+ */
1029
+ export type InputFileDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1030
+ /**
1031
+ * Select specific fields to fetch from the InputFile
1032
+ */
1033
+ select?: Prisma.InputFileSelect<ExtArgs> | null;
1034
+ /**
1035
+ * Omit specific fields from the InputFile
1036
+ */
1037
+ omit?: Prisma.InputFileOmit<ExtArgs> | null;
1038
+ };
1039
+ //# sourceMappingURL=InputFile.d.ts.map