@creeperhost/modlens-mcp 1.6.13 → 1.6.15

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