@creeperhost/modlens-mcp 1.6.13 → 1.6.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -2
- package/dist/feed-the-beast.d.ts +46 -0
- package/dist/feed-the-beast.d.ts.map +1 -0
- package/dist/feed-the-beast.js +29 -0
- package/dist/feed-the-beast.js.map +1 -0
- package/dist/generated/sqlite/browser.d.ts +10 -0
- package/dist/generated/sqlite/browser.d.ts.map +1 -1
- package/dist/generated/sqlite/client.d.ts +10 -0
- package/dist/generated/sqlite/client.d.ts.map +1 -1
- package/dist/generated/sqlite/internal/class.d.ts +22 -0
- package/dist/generated/sqlite/internal/class.d.ts.map +1 -1
- package/dist/generated/sqlite/internal/class.js +5 -5
- package/dist/generated/sqlite/internal/class.js.map +1 -1
- package/dist/generated/sqlite/internal/prismaNamespace.d.ts +180 -1
- package/dist/generated/sqlite/internal/prismaNamespace.d.ts.map +1 -1
- package/dist/generated/sqlite/internal/prismaNamespace.js +27 -0
- package/dist/generated/sqlite/internal/prismaNamespace.js.map +1 -1
- package/dist/generated/sqlite/internal/prismaNamespaceBrowser.d.ts +29 -0
- package/dist/generated/sqlite/internal/prismaNamespaceBrowser.d.ts.map +1 -1
- package/dist/generated/sqlite/internal/prismaNamespaceBrowser.js +27 -0
- package/dist/generated/sqlite/internal/prismaNamespaceBrowser.js.map +1 -1
- package/dist/generated/sqlite/models/Mod.d.ts +219 -0
- package/dist/generated/sqlite/models/Mod.d.ts.map +1 -1
- package/dist/generated/sqlite/models/PackFile.d.ts +1603 -0
- package/dist/generated/sqlite/models/PackFile.d.ts.map +1 -0
- package/dist/generated/sqlite/models/PackFile.js +2 -0
- package/dist/generated/sqlite/models/PackFile.js.map +1 -0
- package/dist/generated/sqlite/models/PackVersion.d.ts +1365 -0
- package/dist/generated/sqlite/models/PackVersion.d.ts.map +1 -0
- package/dist/generated/sqlite/models/PackVersion.js +2 -0
- package/dist/generated/sqlite/models/PackVersion.js.map +1 -0
- package/dist/generated/sqlite/models.d.ts +2 -0
- package/dist/generated/sqlite/models.d.ts.map +1 -1
- package/dist/modrinth.d.ts +10 -0
- package/dist/modrinth.d.ts.map +1 -1
- package/dist/modrinth.js +20 -0
- package/dist/modrinth.js.map +1 -1
- package/dist/server.js +25 -10
- package/dist/server.js.map +1 -1
- package/dist/tools/modpacks-ch.d.ts +269 -3
- package/dist/tools/modpacks-ch.d.ts.map +1 -1
- package/dist/tools/modpacks-ch.js +810 -11
- package/dist/tools/modpacks-ch.js.map +1 -1
- package/package.json +1 -1
- package/prisma/backends/schema.sqlite.prisma +42 -0
- package/prisma/backends/template.db +0 -0
|
@@ -0,0 +1,1603 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model PackFile
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type PackFileModel = runtime.Types.Result.DefaultSelection<Prisma.$PackFilePayload>;
|
|
8
|
+
export type AggregatePackFile = {
|
|
9
|
+
_count: PackFileCountAggregateOutputType | null;
|
|
10
|
+
_avg: PackFileAvgAggregateOutputType | null;
|
|
11
|
+
_sum: PackFileSumAggregateOutputType | null;
|
|
12
|
+
_min: PackFileMinAggregateOutputType | null;
|
|
13
|
+
_max: PackFileMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type PackFileAvgAggregateOutputType = {
|
|
16
|
+
id: number | null;
|
|
17
|
+
packVersionId: number | null;
|
|
18
|
+
manifestFileId: number | null;
|
|
19
|
+
cfProject: number | null;
|
|
20
|
+
cfFile: number | null;
|
|
21
|
+
modId: number | null;
|
|
22
|
+
};
|
|
23
|
+
export type PackFileSumAggregateOutputType = {
|
|
24
|
+
id: number | null;
|
|
25
|
+
packVersionId: number | null;
|
|
26
|
+
manifestFileId: number | null;
|
|
27
|
+
cfProject: number | null;
|
|
28
|
+
cfFile: number | null;
|
|
29
|
+
modId: number | null;
|
|
30
|
+
};
|
|
31
|
+
export type PackFileMinAggregateOutputType = {
|
|
32
|
+
id: number | null;
|
|
33
|
+
packVersionId: number | null;
|
|
34
|
+
manifestFileId: number | null;
|
|
35
|
+
fileType: string | null;
|
|
36
|
+
fileName: string | null;
|
|
37
|
+
filePath: string | null;
|
|
38
|
+
cfProject: number | null;
|
|
39
|
+
cfFile: number | null;
|
|
40
|
+
sha1: string | null;
|
|
41
|
+
status: string | null;
|
|
42
|
+
modId: number | null;
|
|
43
|
+
};
|
|
44
|
+
export type PackFileMaxAggregateOutputType = {
|
|
45
|
+
id: number | null;
|
|
46
|
+
packVersionId: number | null;
|
|
47
|
+
manifestFileId: number | null;
|
|
48
|
+
fileType: string | null;
|
|
49
|
+
fileName: string | null;
|
|
50
|
+
filePath: string | null;
|
|
51
|
+
cfProject: number | null;
|
|
52
|
+
cfFile: number | null;
|
|
53
|
+
sha1: string | null;
|
|
54
|
+
status: string | null;
|
|
55
|
+
modId: number | null;
|
|
56
|
+
};
|
|
57
|
+
export type PackFileCountAggregateOutputType = {
|
|
58
|
+
id: number;
|
|
59
|
+
packVersionId: number;
|
|
60
|
+
manifestFileId: number;
|
|
61
|
+
fileType: number;
|
|
62
|
+
fileName: number;
|
|
63
|
+
filePath: number;
|
|
64
|
+
cfProject: number;
|
|
65
|
+
cfFile: number;
|
|
66
|
+
sha1: number;
|
|
67
|
+
status: number;
|
|
68
|
+
modId: number;
|
|
69
|
+
_all: number;
|
|
70
|
+
};
|
|
71
|
+
export type PackFileAvgAggregateInputType = {
|
|
72
|
+
id?: true;
|
|
73
|
+
packVersionId?: true;
|
|
74
|
+
manifestFileId?: true;
|
|
75
|
+
cfProject?: true;
|
|
76
|
+
cfFile?: true;
|
|
77
|
+
modId?: true;
|
|
78
|
+
};
|
|
79
|
+
export type PackFileSumAggregateInputType = {
|
|
80
|
+
id?: true;
|
|
81
|
+
packVersionId?: true;
|
|
82
|
+
manifestFileId?: true;
|
|
83
|
+
cfProject?: true;
|
|
84
|
+
cfFile?: true;
|
|
85
|
+
modId?: true;
|
|
86
|
+
};
|
|
87
|
+
export type PackFileMinAggregateInputType = {
|
|
88
|
+
id?: true;
|
|
89
|
+
packVersionId?: true;
|
|
90
|
+
manifestFileId?: true;
|
|
91
|
+
fileType?: true;
|
|
92
|
+
fileName?: true;
|
|
93
|
+
filePath?: true;
|
|
94
|
+
cfProject?: true;
|
|
95
|
+
cfFile?: true;
|
|
96
|
+
sha1?: true;
|
|
97
|
+
status?: true;
|
|
98
|
+
modId?: true;
|
|
99
|
+
};
|
|
100
|
+
export type PackFileMaxAggregateInputType = {
|
|
101
|
+
id?: true;
|
|
102
|
+
packVersionId?: true;
|
|
103
|
+
manifestFileId?: true;
|
|
104
|
+
fileType?: true;
|
|
105
|
+
fileName?: true;
|
|
106
|
+
filePath?: true;
|
|
107
|
+
cfProject?: true;
|
|
108
|
+
cfFile?: true;
|
|
109
|
+
sha1?: true;
|
|
110
|
+
status?: true;
|
|
111
|
+
modId?: true;
|
|
112
|
+
};
|
|
113
|
+
export type PackFileCountAggregateInputType = {
|
|
114
|
+
id?: true;
|
|
115
|
+
packVersionId?: true;
|
|
116
|
+
manifestFileId?: true;
|
|
117
|
+
fileType?: true;
|
|
118
|
+
fileName?: true;
|
|
119
|
+
filePath?: true;
|
|
120
|
+
cfProject?: true;
|
|
121
|
+
cfFile?: true;
|
|
122
|
+
sha1?: true;
|
|
123
|
+
status?: true;
|
|
124
|
+
modId?: true;
|
|
125
|
+
_all?: true;
|
|
126
|
+
};
|
|
127
|
+
export type PackFileAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
128
|
+
/**
|
|
129
|
+
* Filter which PackFile to aggregate.
|
|
130
|
+
*/
|
|
131
|
+
where?: Prisma.PackFileWhereInput;
|
|
132
|
+
/**
|
|
133
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
134
|
+
*
|
|
135
|
+
* Determine the order of PackFiles to fetch.
|
|
136
|
+
*/
|
|
137
|
+
orderBy?: Prisma.PackFileOrderByWithRelationInput | Prisma.PackFileOrderByWithRelationInput[];
|
|
138
|
+
/**
|
|
139
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
140
|
+
*
|
|
141
|
+
* Sets the start position
|
|
142
|
+
*/
|
|
143
|
+
cursor?: Prisma.PackFileWhereUniqueInput;
|
|
144
|
+
/**
|
|
145
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
146
|
+
*
|
|
147
|
+
* Take `±n` PackFiles from the position of the cursor.
|
|
148
|
+
*/
|
|
149
|
+
take?: number;
|
|
150
|
+
/**
|
|
151
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
152
|
+
*
|
|
153
|
+
* Skip the first `n` PackFiles.
|
|
154
|
+
*/
|
|
155
|
+
skip?: number;
|
|
156
|
+
/**
|
|
157
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
158
|
+
*
|
|
159
|
+
* Count returned PackFiles
|
|
160
|
+
**/
|
|
161
|
+
_count?: true | PackFileCountAggregateInputType;
|
|
162
|
+
/**
|
|
163
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
164
|
+
*
|
|
165
|
+
* Select which fields to average
|
|
166
|
+
**/
|
|
167
|
+
_avg?: PackFileAvgAggregateInputType;
|
|
168
|
+
/**
|
|
169
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
170
|
+
*
|
|
171
|
+
* Select which fields to sum
|
|
172
|
+
**/
|
|
173
|
+
_sum?: PackFileSumAggregateInputType;
|
|
174
|
+
/**
|
|
175
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
176
|
+
*
|
|
177
|
+
* Select which fields to find the minimum value
|
|
178
|
+
**/
|
|
179
|
+
_min?: PackFileMinAggregateInputType;
|
|
180
|
+
/**
|
|
181
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
182
|
+
*
|
|
183
|
+
* Select which fields to find the maximum value
|
|
184
|
+
**/
|
|
185
|
+
_max?: PackFileMaxAggregateInputType;
|
|
186
|
+
};
|
|
187
|
+
export type GetPackFileAggregateType<T extends PackFileAggregateArgs> = {
|
|
188
|
+
[P in keyof T & keyof AggregatePackFile]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregatePackFile[P]> : Prisma.GetScalarType<T[P], AggregatePackFile[P]>;
|
|
189
|
+
};
|
|
190
|
+
export type PackFileGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
191
|
+
where?: Prisma.PackFileWhereInput;
|
|
192
|
+
orderBy?: Prisma.PackFileOrderByWithAggregationInput | Prisma.PackFileOrderByWithAggregationInput[];
|
|
193
|
+
by: Prisma.PackFileScalarFieldEnum[] | Prisma.PackFileScalarFieldEnum;
|
|
194
|
+
having?: Prisma.PackFileScalarWhereWithAggregatesInput;
|
|
195
|
+
take?: number;
|
|
196
|
+
skip?: number;
|
|
197
|
+
_count?: PackFileCountAggregateInputType | true;
|
|
198
|
+
_avg?: PackFileAvgAggregateInputType;
|
|
199
|
+
_sum?: PackFileSumAggregateInputType;
|
|
200
|
+
_min?: PackFileMinAggregateInputType;
|
|
201
|
+
_max?: PackFileMaxAggregateInputType;
|
|
202
|
+
};
|
|
203
|
+
export type PackFileGroupByOutputType = {
|
|
204
|
+
id: number;
|
|
205
|
+
packVersionId: number;
|
|
206
|
+
manifestFileId: number | null;
|
|
207
|
+
fileType: string;
|
|
208
|
+
fileName: string;
|
|
209
|
+
filePath: string | null;
|
|
210
|
+
cfProject: number | null;
|
|
211
|
+
cfFile: number | null;
|
|
212
|
+
sha1: string | null;
|
|
213
|
+
status: string;
|
|
214
|
+
modId: number | null;
|
|
215
|
+
_count: PackFileCountAggregateOutputType | null;
|
|
216
|
+
_avg: PackFileAvgAggregateOutputType | null;
|
|
217
|
+
_sum: PackFileSumAggregateOutputType | null;
|
|
218
|
+
_min: PackFileMinAggregateOutputType | null;
|
|
219
|
+
_max: PackFileMaxAggregateOutputType | null;
|
|
220
|
+
};
|
|
221
|
+
type GetPackFileGroupByPayload<T extends PackFileGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<PackFileGroupByOutputType, T['by']> & {
|
|
222
|
+
[P in ((keyof T) & (keyof PackFileGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], PackFileGroupByOutputType[P]> : Prisma.GetScalarType<T[P], PackFileGroupByOutputType[P]>;
|
|
223
|
+
}>>;
|
|
224
|
+
export type PackFileWhereInput = {
|
|
225
|
+
AND?: Prisma.PackFileWhereInput | Prisma.PackFileWhereInput[];
|
|
226
|
+
OR?: Prisma.PackFileWhereInput[];
|
|
227
|
+
NOT?: Prisma.PackFileWhereInput | Prisma.PackFileWhereInput[];
|
|
228
|
+
id?: Prisma.IntFilter<"PackFile"> | number;
|
|
229
|
+
packVersionId?: Prisma.IntFilter<"PackFile"> | number;
|
|
230
|
+
manifestFileId?: Prisma.IntNullableFilter<"PackFile"> | number | null;
|
|
231
|
+
fileType?: Prisma.StringFilter<"PackFile"> | string;
|
|
232
|
+
fileName?: Prisma.StringFilter<"PackFile"> | string;
|
|
233
|
+
filePath?: Prisma.StringNullableFilter<"PackFile"> | string | null;
|
|
234
|
+
cfProject?: Prisma.IntNullableFilter<"PackFile"> | number | null;
|
|
235
|
+
cfFile?: Prisma.IntNullableFilter<"PackFile"> | number | null;
|
|
236
|
+
sha1?: Prisma.StringNullableFilter<"PackFile"> | string | null;
|
|
237
|
+
status?: Prisma.StringFilter<"PackFile"> | string;
|
|
238
|
+
modId?: Prisma.IntNullableFilter<"PackFile"> | number | null;
|
|
239
|
+
packVersion?: Prisma.XOR<Prisma.PackVersionScalarRelationFilter, Prisma.PackVersionWhereInput>;
|
|
240
|
+
mod?: Prisma.XOR<Prisma.ModNullableScalarRelationFilter, Prisma.ModWhereInput> | null;
|
|
241
|
+
};
|
|
242
|
+
export type PackFileOrderByWithRelationInput = {
|
|
243
|
+
id?: Prisma.SortOrder;
|
|
244
|
+
packVersionId?: Prisma.SortOrder;
|
|
245
|
+
manifestFileId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
246
|
+
fileType?: Prisma.SortOrder;
|
|
247
|
+
fileName?: Prisma.SortOrder;
|
|
248
|
+
filePath?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
249
|
+
cfProject?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
250
|
+
cfFile?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
251
|
+
sha1?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
252
|
+
status?: Prisma.SortOrder;
|
|
253
|
+
modId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
254
|
+
packVersion?: Prisma.PackVersionOrderByWithRelationInput;
|
|
255
|
+
mod?: Prisma.ModOrderByWithRelationInput;
|
|
256
|
+
};
|
|
257
|
+
export type PackFileWhereUniqueInput = Prisma.AtLeast<{
|
|
258
|
+
id?: number;
|
|
259
|
+
packVersionId_manifestFileId?: Prisma.PackFilePackVersionIdManifestFileIdCompoundUniqueInput;
|
|
260
|
+
AND?: Prisma.PackFileWhereInput | Prisma.PackFileWhereInput[];
|
|
261
|
+
OR?: Prisma.PackFileWhereInput[];
|
|
262
|
+
NOT?: Prisma.PackFileWhereInput | Prisma.PackFileWhereInput[];
|
|
263
|
+
packVersionId?: Prisma.IntFilter<"PackFile"> | number;
|
|
264
|
+
manifestFileId?: Prisma.IntNullableFilter<"PackFile"> | number | null;
|
|
265
|
+
fileType?: Prisma.StringFilter<"PackFile"> | string;
|
|
266
|
+
fileName?: Prisma.StringFilter<"PackFile"> | string;
|
|
267
|
+
filePath?: Prisma.StringNullableFilter<"PackFile"> | string | null;
|
|
268
|
+
cfProject?: Prisma.IntNullableFilter<"PackFile"> | number | null;
|
|
269
|
+
cfFile?: Prisma.IntNullableFilter<"PackFile"> | number | null;
|
|
270
|
+
sha1?: Prisma.StringNullableFilter<"PackFile"> | string | null;
|
|
271
|
+
status?: Prisma.StringFilter<"PackFile"> | string;
|
|
272
|
+
modId?: Prisma.IntNullableFilter<"PackFile"> | number | null;
|
|
273
|
+
packVersion?: Prisma.XOR<Prisma.PackVersionScalarRelationFilter, Prisma.PackVersionWhereInput>;
|
|
274
|
+
mod?: Prisma.XOR<Prisma.ModNullableScalarRelationFilter, Prisma.ModWhereInput> | null;
|
|
275
|
+
}, "id" | "packVersionId_manifestFileId">;
|
|
276
|
+
export type PackFileOrderByWithAggregationInput = {
|
|
277
|
+
id?: Prisma.SortOrder;
|
|
278
|
+
packVersionId?: Prisma.SortOrder;
|
|
279
|
+
manifestFileId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
280
|
+
fileType?: Prisma.SortOrder;
|
|
281
|
+
fileName?: Prisma.SortOrder;
|
|
282
|
+
filePath?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
283
|
+
cfProject?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
284
|
+
cfFile?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
285
|
+
sha1?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
286
|
+
status?: Prisma.SortOrder;
|
|
287
|
+
modId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
288
|
+
_count?: Prisma.PackFileCountOrderByAggregateInput;
|
|
289
|
+
_avg?: Prisma.PackFileAvgOrderByAggregateInput;
|
|
290
|
+
_max?: Prisma.PackFileMaxOrderByAggregateInput;
|
|
291
|
+
_min?: Prisma.PackFileMinOrderByAggregateInput;
|
|
292
|
+
_sum?: Prisma.PackFileSumOrderByAggregateInput;
|
|
293
|
+
};
|
|
294
|
+
export type PackFileScalarWhereWithAggregatesInput = {
|
|
295
|
+
AND?: Prisma.PackFileScalarWhereWithAggregatesInput | Prisma.PackFileScalarWhereWithAggregatesInput[];
|
|
296
|
+
OR?: Prisma.PackFileScalarWhereWithAggregatesInput[];
|
|
297
|
+
NOT?: Prisma.PackFileScalarWhereWithAggregatesInput | Prisma.PackFileScalarWhereWithAggregatesInput[];
|
|
298
|
+
id?: Prisma.IntWithAggregatesFilter<"PackFile"> | number;
|
|
299
|
+
packVersionId?: Prisma.IntWithAggregatesFilter<"PackFile"> | number;
|
|
300
|
+
manifestFileId?: Prisma.IntNullableWithAggregatesFilter<"PackFile"> | number | null;
|
|
301
|
+
fileType?: Prisma.StringWithAggregatesFilter<"PackFile"> | string;
|
|
302
|
+
fileName?: Prisma.StringWithAggregatesFilter<"PackFile"> | string;
|
|
303
|
+
filePath?: Prisma.StringNullableWithAggregatesFilter<"PackFile"> | string | null;
|
|
304
|
+
cfProject?: Prisma.IntNullableWithAggregatesFilter<"PackFile"> | number | null;
|
|
305
|
+
cfFile?: Prisma.IntNullableWithAggregatesFilter<"PackFile"> | number | null;
|
|
306
|
+
sha1?: Prisma.StringNullableWithAggregatesFilter<"PackFile"> | string | null;
|
|
307
|
+
status?: Prisma.StringWithAggregatesFilter<"PackFile"> | string;
|
|
308
|
+
modId?: Prisma.IntNullableWithAggregatesFilter<"PackFile"> | number | null;
|
|
309
|
+
};
|
|
310
|
+
export type PackFileCreateInput = {
|
|
311
|
+
manifestFileId?: number | null;
|
|
312
|
+
fileType: string;
|
|
313
|
+
fileName: string;
|
|
314
|
+
filePath?: string | null;
|
|
315
|
+
cfProject?: number | null;
|
|
316
|
+
cfFile?: number | null;
|
|
317
|
+
sha1?: string | null;
|
|
318
|
+
status?: string;
|
|
319
|
+
packVersion: Prisma.PackVersionCreateNestedOneWithoutFilesInput;
|
|
320
|
+
mod?: Prisma.ModCreateNestedOneWithoutPackFilesInput;
|
|
321
|
+
};
|
|
322
|
+
export type PackFileUncheckedCreateInput = {
|
|
323
|
+
id?: number;
|
|
324
|
+
packVersionId: number;
|
|
325
|
+
manifestFileId?: number | null;
|
|
326
|
+
fileType: string;
|
|
327
|
+
fileName: string;
|
|
328
|
+
filePath?: string | null;
|
|
329
|
+
cfProject?: number | null;
|
|
330
|
+
cfFile?: number | null;
|
|
331
|
+
sha1?: string | null;
|
|
332
|
+
status?: string;
|
|
333
|
+
modId?: number | null;
|
|
334
|
+
};
|
|
335
|
+
export type PackFileUpdateInput = {
|
|
336
|
+
manifestFileId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
337
|
+
fileType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
338
|
+
fileName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
339
|
+
filePath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
340
|
+
cfProject?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
341
|
+
cfFile?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
342
|
+
sha1?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
343
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
344
|
+
packVersion?: Prisma.PackVersionUpdateOneRequiredWithoutFilesNestedInput;
|
|
345
|
+
mod?: Prisma.ModUpdateOneWithoutPackFilesNestedInput;
|
|
346
|
+
};
|
|
347
|
+
export type PackFileUncheckedUpdateInput = {
|
|
348
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
349
|
+
packVersionId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
350
|
+
manifestFileId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
351
|
+
fileType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
352
|
+
fileName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
353
|
+
filePath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
354
|
+
cfProject?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
355
|
+
cfFile?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
356
|
+
sha1?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
357
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
358
|
+
modId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
359
|
+
};
|
|
360
|
+
export type PackFileCreateManyInput = {
|
|
361
|
+
id?: number;
|
|
362
|
+
packVersionId: number;
|
|
363
|
+
manifestFileId?: number | null;
|
|
364
|
+
fileType: string;
|
|
365
|
+
fileName: string;
|
|
366
|
+
filePath?: string | null;
|
|
367
|
+
cfProject?: number | null;
|
|
368
|
+
cfFile?: number | null;
|
|
369
|
+
sha1?: string | null;
|
|
370
|
+
status?: string;
|
|
371
|
+
modId?: number | null;
|
|
372
|
+
};
|
|
373
|
+
export type PackFileUpdateManyMutationInput = {
|
|
374
|
+
manifestFileId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
375
|
+
fileType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
376
|
+
fileName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
377
|
+
filePath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
378
|
+
cfProject?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
379
|
+
cfFile?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
380
|
+
sha1?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
381
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
382
|
+
};
|
|
383
|
+
export type PackFileUncheckedUpdateManyInput = {
|
|
384
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
385
|
+
packVersionId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
386
|
+
manifestFileId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
387
|
+
fileType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
388
|
+
fileName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
389
|
+
filePath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
390
|
+
cfProject?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
391
|
+
cfFile?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
392
|
+
sha1?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
393
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
394
|
+
modId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
395
|
+
};
|
|
396
|
+
export type PackFileListRelationFilter = {
|
|
397
|
+
every?: Prisma.PackFileWhereInput;
|
|
398
|
+
some?: Prisma.PackFileWhereInput;
|
|
399
|
+
none?: Prisma.PackFileWhereInput;
|
|
400
|
+
};
|
|
401
|
+
export type PackFileOrderByRelationAggregateInput = {
|
|
402
|
+
_count?: Prisma.SortOrder;
|
|
403
|
+
};
|
|
404
|
+
export type PackFilePackVersionIdManifestFileIdCompoundUniqueInput = {
|
|
405
|
+
packVersionId: number;
|
|
406
|
+
manifestFileId: number;
|
|
407
|
+
};
|
|
408
|
+
export type PackFileCountOrderByAggregateInput = {
|
|
409
|
+
id?: Prisma.SortOrder;
|
|
410
|
+
packVersionId?: Prisma.SortOrder;
|
|
411
|
+
manifestFileId?: Prisma.SortOrder;
|
|
412
|
+
fileType?: Prisma.SortOrder;
|
|
413
|
+
fileName?: Prisma.SortOrder;
|
|
414
|
+
filePath?: Prisma.SortOrder;
|
|
415
|
+
cfProject?: Prisma.SortOrder;
|
|
416
|
+
cfFile?: Prisma.SortOrder;
|
|
417
|
+
sha1?: Prisma.SortOrder;
|
|
418
|
+
status?: Prisma.SortOrder;
|
|
419
|
+
modId?: Prisma.SortOrder;
|
|
420
|
+
};
|
|
421
|
+
export type PackFileAvgOrderByAggregateInput = {
|
|
422
|
+
id?: Prisma.SortOrder;
|
|
423
|
+
packVersionId?: Prisma.SortOrder;
|
|
424
|
+
manifestFileId?: Prisma.SortOrder;
|
|
425
|
+
cfProject?: Prisma.SortOrder;
|
|
426
|
+
cfFile?: Prisma.SortOrder;
|
|
427
|
+
modId?: Prisma.SortOrder;
|
|
428
|
+
};
|
|
429
|
+
export type PackFileMaxOrderByAggregateInput = {
|
|
430
|
+
id?: Prisma.SortOrder;
|
|
431
|
+
packVersionId?: Prisma.SortOrder;
|
|
432
|
+
manifestFileId?: Prisma.SortOrder;
|
|
433
|
+
fileType?: Prisma.SortOrder;
|
|
434
|
+
fileName?: Prisma.SortOrder;
|
|
435
|
+
filePath?: Prisma.SortOrder;
|
|
436
|
+
cfProject?: Prisma.SortOrder;
|
|
437
|
+
cfFile?: Prisma.SortOrder;
|
|
438
|
+
sha1?: Prisma.SortOrder;
|
|
439
|
+
status?: Prisma.SortOrder;
|
|
440
|
+
modId?: Prisma.SortOrder;
|
|
441
|
+
};
|
|
442
|
+
export type PackFileMinOrderByAggregateInput = {
|
|
443
|
+
id?: Prisma.SortOrder;
|
|
444
|
+
packVersionId?: Prisma.SortOrder;
|
|
445
|
+
manifestFileId?: Prisma.SortOrder;
|
|
446
|
+
fileType?: Prisma.SortOrder;
|
|
447
|
+
fileName?: Prisma.SortOrder;
|
|
448
|
+
filePath?: Prisma.SortOrder;
|
|
449
|
+
cfProject?: Prisma.SortOrder;
|
|
450
|
+
cfFile?: Prisma.SortOrder;
|
|
451
|
+
sha1?: Prisma.SortOrder;
|
|
452
|
+
status?: Prisma.SortOrder;
|
|
453
|
+
modId?: Prisma.SortOrder;
|
|
454
|
+
};
|
|
455
|
+
export type PackFileSumOrderByAggregateInput = {
|
|
456
|
+
id?: Prisma.SortOrder;
|
|
457
|
+
packVersionId?: Prisma.SortOrder;
|
|
458
|
+
manifestFileId?: Prisma.SortOrder;
|
|
459
|
+
cfProject?: Prisma.SortOrder;
|
|
460
|
+
cfFile?: Prisma.SortOrder;
|
|
461
|
+
modId?: Prisma.SortOrder;
|
|
462
|
+
};
|
|
463
|
+
export type PackFileCreateNestedManyWithoutModInput = {
|
|
464
|
+
create?: Prisma.XOR<Prisma.PackFileCreateWithoutModInput, Prisma.PackFileUncheckedCreateWithoutModInput> | Prisma.PackFileCreateWithoutModInput[] | Prisma.PackFileUncheckedCreateWithoutModInput[];
|
|
465
|
+
connectOrCreate?: Prisma.PackFileCreateOrConnectWithoutModInput | Prisma.PackFileCreateOrConnectWithoutModInput[];
|
|
466
|
+
createMany?: Prisma.PackFileCreateManyModInputEnvelope;
|
|
467
|
+
connect?: Prisma.PackFileWhereUniqueInput | Prisma.PackFileWhereUniqueInput[];
|
|
468
|
+
};
|
|
469
|
+
export type PackFileUncheckedCreateNestedManyWithoutModInput = {
|
|
470
|
+
create?: Prisma.XOR<Prisma.PackFileCreateWithoutModInput, Prisma.PackFileUncheckedCreateWithoutModInput> | Prisma.PackFileCreateWithoutModInput[] | Prisma.PackFileUncheckedCreateWithoutModInput[];
|
|
471
|
+
connectOrCreate?: Prisma.PackFileCreateOrConnectWithoutModInput | Prisma.PackFileCreateOrConnectWithoutModInput[];
|
|
472
|
+
createMany?: Prisma.PackFileCreateManyModInputEnvelope;
|
|
473
|
+
connect?: Prisma.PackFileWhereUniqueInput | Prisma.PackFileWhereUniqueInput[];
|
|
474
|
+
};
|
|
475
|
+
export type PackFileUpdateManyWithoutModNestedInput = {
|
|
476
|
+
create?: Prisma.XOR<Prisma.PackFileCreateWithoutModInput, Prisma.PackFileUncheckedCreateWithoutModInput> | Prisma.PackFileCreateWithoutModInput[] | Prisma.PackFileUncheckedCreateWithoutModInput[];
|
|
477
|
+
connectOrCreate?: Prisma.PackFileCreateOrConnectWithoutModInput | Prisma.PackFileCreateOrConnectWithoutModInput[];
|
|
478
|
+
upsert?: Prisma.PackFileUpsertWithWhereUniqueWithoutModInput | Prisma.PackFileUpsertWithWhereUniqueWithoutModInput[];
|
|
479
|
+
createMany?: Prisma.PackFileCreateManyModInputEnvelope;
|
|
480
|
+
set?: Prisma.PackFileWhereUniqueInput | Prisma.PackFileWhereUniqueInput[];
|
|
481
|
+
disconnect?: Prisma.PackFileWhereUniqueInput | Prisma.PackFileWhereUniqueInput[];
|
|
482
|
+
delete?: Prisma.PackFileWhereUniqueInput | Prisma.PackFileWhereUniqueInput[];
|
|
483
|
+
connect?: Prisma.PackFileWhereUniqueInput | Prisma.PackFileWhereUniqueInput[];
|
|
484
|
+
update?: Prisma.PackFileUpdateWithWhereUniqueWithoutModInput | Prisma.PackFileUpdateWithWhereUniqueWithoutModInput[];
|
|
485
|
+
updateMany?: Prisma.PackFileUpdateManyWithWhereWithoutModInput | Prisma.PackFileUpdateManyWithWhereWithoutModInput[];
|
|
486
|
+
deleteMany?: Prisma.PackFileScalarWhereInput | Prisma.PackFileScalarWhereInput[];
|
|
487
|
+
};
|
|
488
|
+
export type PackFileUncheckedUpdateManyWithoutModNestedInput = {
|
|
489
|
+
create?: Prisma.XOR<Prisma.PackFileCreateWithoutModInput, Prisma.PackFileUncheckedCreateWithoutModInput> | Prisma.PackFileCreateWithoutModInput[] | Prisma.PackFileUncheckedCreateWithoutModInput[];
|
|
490
|
+
connectOrCreate?: Prisma.PackFileCreateOrConnectWithoutModInput | Prisma.PackFileCreateOrConnectWithoutModInput[];
|
|
491
|
+
upsert?: Prisma.PackFileUpsertWithWhereUniqueWithoutModInput | Prisma.PackFileUpsertWithWhereUniqueWithoutModInput[];
|
|
492
|
+
createMany?: Prisma.PackFileCreateManyModInputEnvelope;
|
|
493
|
+
set?: Prisma.PackFileWhereUniqueInput | Prisma.PackFileWhereUniqueInput[];
|
|
494
|
+
disconnect?: Prisma.PackFileWhereUniqueInput | Prisma.PackFileWhereUniqueInput[];
|
|
495
|
+
delete?: Prisma.PackFileWhereUniqueInput | Prisma.PackFileWhereUniqueInput[];
|
|
496
|
+
connect?: Prisma.PackFileWhereUniqueInput | Prisma.PackFileWhereUniqueInput[];
|
|
497
|
+
update?: Prisma.PackFileUpdateWithWhereUniqueWithoutModInput | Prisma.PackFileUpdateWithWhereUniqueWithoutModInput[];
|
|
498
|
+
updateMany?: Prisma.PackFileUpdateManyWithWhereWithoutModInput | Prisma.PackFileUpdateManyWithWhereWithoutModInput[];
|
|
499
|
+
deleteMany?: Prisma.PackFileScalarWhereInput | Prisma.PackFileScalarWhereInput[];
|
|
500
|
+
};
|
|
501
|
+
export type PackFileCreateNestedManyWithoutPackVersionInput = {
|
|
502
|
+
create?: Prisma.XOR<Prisma.PackFileCreateWithoutPackVersionInput, Prisma.PackFileUncheckedCreateWithoutPackVersionInput> | Prisma.PackFileCreateWithoutPackVersionInput[] | Prisma.PackFileUncheckedCreateWithoutPackVersionInput[];
|
|
503
|
+
connectOrCreate?: Prisma.PackFileCreateOrConnectWithoutPackVersionInput | Prisma.PackFileCreateOrConnectWithoutPackVersionInput[];
|
|
504
|
+
createMany?: Prisma.PackFileCreateManyPackVersionInputEnvelope;
|
|
505
|
+
connect?: Prisma.PackFileWhereUniqueInput | Prisma.PackFileWhereUniqueInput[];
|
|
506
|
+
};
|
|
507
|
+
export type PackFileUncheckedCreateNestedManyWithoutPackVersionInput = {
|
|
508
|
+
create?: Prisma.XOR<Prisma.PackFileCreateWithoutPackVersionInput, Prisma.PackFileUncheckedCreateWithoutPackVersionInput> | Prisma.PackFileCreateWithoutPackVersionInput[] | Prisma.PackFileUncheckedCreateWithoutPackVersionInput[];
|
|
509
|
+
connectOrCreate?: Prisma.PackFileCreateOrConnectWithoutPackVersionInput | Prisma.PackFileCreateOrConnectWithoutPackVersionInput[];
|
|
510
|
+
createMany?: Prisma.PackFileCreateManyPackVersionInputEnvelope;
|
|
511
|
+
connect?: Prisma.PackFileWhereUniqueInput | Prisma.PackFileWhereUniqueInput[];
|
|
512
|
+
};
|
|
513
|
+
export type PackFileUpdateManyWithoutPackVersionNestedInput = {
|
|
514
|
+
create?: Prisma.XOR<Prisma.PackFileCreateWithoutPackVersionInput, Prisma.PackFileUncheckedCreateWithoutPackVersionInput> | Prisma.PackFileCreateWithoutPackVersionInput[] | Prisma.PackFileUncheckedCreateWithoutPackVersionInput[];
|
|
515
|
+
connectOrCreate?: Prisma.PackFileCreateOrConnectWithoutPackVersionInput | Prisma.PackFileCreateOrConnectWithoutPackVersionInput[];
|
|
516
|
+
upsert?: Prisma.PackFileUpsertWithWhereUniqueWithoutPackVersionInput | Prisma.PackFileUpsertWithWhereUniqueWithoutPackVersionInput[];
|
|
517
|
+
createMany?: Prisma.PackFileCreateManyPackVersionInputEnvelope;
|
|
518
|
+
set?: Prisma.PackFileWhereUniqueInput | Prisma.PackFileWhereUniqueInput[];
|
|
519
|
+
disconnect?: Prisma.PackFileWhereUniqueInput | Prisma.PackFileWhereUniqueInput[];
|
|
520
|
+
delete?: Prisma.PackFileWhereUniqueInput | Prisma.PackFileWhereUniqueInput[];
|
|
521
|
+
connect?: Prisma.PackFileWhereUniqueInput | Prisma.PackFileWhereUniqueInput[];
|
|
522
|
+
update?: Prisma.PackFileUpdateWithWhereUniqueWithoutPackVersionInput | Prisma.PackFileUpdateWithWhereUniqueWithoutPackVersionInput[];
|
|
523
|
+
updateMany?: Prisma.PackFileUpdateManyWithWhereWithoutPackVersionInput | Prisma.PackFileUpdateManyWithWhereWithoutPackVersionInput[];
|
|
524
|
+
deleteMany?: Prisma.PackFileScalarWhereInput | Prisma.PackFileScalarWhereInput[];
|
|
525
|
+
};
|
|
526
|
+
export type PackFileUncheckedUpdateManyWithoutPackVersionNestedInput = {
|
|
527
|
+
create?: Prisma.XOR<Prisma.PackFileCreateWithoutPackVersionInput, Prisma.PackFileUncheckedCreateWithoutPackVersionInput> | Prisma.PackFileCreateWithoutPackVersionInput[] | Prisma.PackFileUncheckedCreateWithoutPackVersionInput[];
|
|
528
|
+
connectOrCreate?: Prisma.PackFileCreateOrConnectWithoutPackVersionInput | Prisma.PackFileCreateOrConnectWithoutPackVersionInput[];
|
|
529
|
+
upsert?: Prisma.PackFileUpsertWithWhereUniqueWithoutPackVersionInput | Prisma.PackFileUpsertWithWhereUniqueWithoutPackVersionInput[];
|
|
530
|
+
createMany?: Prisma.PackFileCreateManyPackVersionInputEnvelope;
|
|
531
|
+
set?: Prisma.PackFileWhereUniqueInput | Prisma.PackFileWhereUniqueInput[];
|
|
532
|
+
disconnect?: Prisma.PackFileWhereUniqueInput | Prisma.PackFileWhereUniqueInput[];
|
|
533
|
+
delete?: Prisma.PackFileWhereUniqueInput | Prisma.PackFileWhereUniqueInput[];
|
|
534
|
+
connect?: Prisma.PackFileWhereUniqueInput | Prisma.PackFileWhereUniqueInput[];
|
|
535
|
+
update?: Prisma.PackFileUpdateWithWhereUniqueWithoutPackVersionInput | Prisma.PackFileUpdateWithWhereUniqueWithoutPackVersionInput[];
|
|
536
|
+
updateMany?: Prisma.PackFileUpdateManyWithWhereWithoutPackVersionInput | Prisma.PackFileUpdateManyWithWhereWithoutPackVersionInput[];
|
|
537
|
+
deleteMany?: Prisma.PackFileScalarWhereInput | Prisma.PackFileScalarWhereInput[];
|
|
538
|
+
};
|
|
539
|
+
export type PackFileCreateWithoutModInput = {
|
|
540
|
+
manifestFileId?: number | null;
|
|
541
|
+
fileType: string;
|
|
542
|
+
fileName: string;
|
|
543
|
+
filePath?: string | null;
|
|
544
|
+
cfProject?: number | null;
|
|
545
|
+
cfFile?: number | null;
|
|
546
|
+
sha1?: string | null;
|
|
547
|
+
status?: string;
|
|
548
|
+
packVersion: Prisma.PackVersionCreateNestedOneWithoutFilesInput;
|
|
549
|
+
};
|
|
550
|
+
export type PackFileUncheckedCreateWithoutModInput = {
|
|
551
|
+
id?: number;
|
|
552
|
+
packVersionId: number;
|
|
553
|
+
manifestFileId?: number | null;
|
|
554
|
+
fileType: string;
|
|
555
|
+
fileName: string;
|
|
556
|
+
filePath?: string | null;
|
|
557
|
+
cfProject?: number | null;
|
|
558
|
+
cfFile?: number | null;
|
|
559
|
+
sha1?: string | null;
|
|
560
|
+
status?: string;
|
|
561
|
+
};
|
|
562
|
+
export type PackFileCreateOrConnectWithoutModInput = {
|
|
563
|
+
where: Prisma.PackFileWhereUniqueInput;
|
|
564
|
+
create: Prisma.XOR<Prisma.PackFileCreateWithoutModInput, Prisma.PackFileUncheckedCreateWithoutModInput>;
|
|
565
|
+
};
|
|
566
|
+
export type PackFileCreateManyModInputEnvelope = {
|
|
567
|
+
data: Prisma.PackFileCreateManyModInput | Prisma.PackFileCreateManyModInput[];
|
|
568
|
+
};
|
|
569
|
+
export type PackFileUpsertWithWhereUniqueWithoutModInput = {
|
|
570
|
+
where: Prisma.PackFileWhereUniqueInput;
|
|
571
|
+
update: Prisma.XOR<Prisma.PackFileUpdateWithoutModInput, Prisma.PackFileUncheckedUpdateWithoutModInput>;
|
|
572
|
+
create: Prisma.XOR<Prisma.PackFileCreateWithoutModInput, Prisma.PackFileUncheckedCreateWithoutModInput>;
|
|
573
|
+
};
|
|
574
|
+
export type PackFileUpdateWithWhereUniqueWithoutModInput = {
|
|
575
|
+
where: Prisma.PackFileWhereUniqueInput;
|
|
576
|
+
data: Prisma.XOR<Prisma.PackFileUpdateWithoutModInput, Prisma.PackFileUncheckedUpdateWithoutModInput>;
|
|
577
|
+
};
|
|
578
|
+
export type PackFileUpdateManyWithWhereWithoutModInput = {
|
|
579
|
+
where: Prisma.PackFileScalarWhereInput;
|
|
580
|
+
data: Prisma.XOR<Prisma.PackFileUpdateManyMutationInput, Prisma.PackFileUncheckedUpdateManyWithoutModInput>;
|
|
581
|
+
};
|
|
582
|
+
export type PackFileScalarWhereInput = {
|
|
583
|
+
AND?: Prisma.PackFileScalarWhereInput | Prisma.PackFileScalarWhereInput[];
|
|
584
|
+
OR?: Prisma.PackFileScalarWhereInput[];
|
|
585
|
+
NOT?: Prisma.PackFileScalarWhereInput | Prisma.PackFileScalarWhereInput[];
|
|
586
|
+
id?: Prisma.IntFilter<"PackFile"> | number;
|
|
587
|
+
packVersionId?: Prisma.IntFilter<"PackFile"> | number;
|
|
588
|
+
manifestFileId?: Prisma.IntNullableFilter<"PackFile"> | number | null;
|
|
589
|
+
fileType?: Prisma.StringFilter<"PackFile"> | string;
|
|
590
|
+
fileName?: Prisma.StringFilter<"PackFile"> | string;
|
|
591
|
+
filePath?: Prisma.StringNullableFilter<"PackFile"> | string | null;
|
|
592
|
+
cfProject?: Prisma.IntNullableFilter<"PackFile"> | number | null;
|
|
593
|
+
cfFile?: Prisma.IntNullableFilter<"PackFile"> | number | null;
|
|
594
|
+
sha1?: Prisma.StringNullableFilter<"PackFile"> | string | null;
|
|
595
|
+
status?: Prisma.StringFilter<"PackFile"> | string;
|
|
596
|
+
modId?: Prisma.IntNullableFilter<"PackFile"> | number | null;
|
|
597
|
+
};
|
|
598
|
+
export type PackFileCreateWithoutPackVersionInput = {
|
|
599
|
+
manifestFileId?: number | null;
|
|
600
|
+
fileType: string;
|
|
601
|
+
fileName: string;
|
|
602
|
+
filePath?: string | null;
|
|
603
|
+
cfProject?: number | null;
|
|
604
|
+
cfFile?: number | null;
|
|
605
|
+
sha1?: string | null;
|
|
606
|
+
status?: string;
|
|
607
|
+
mod?: Prisma.ModCreateNestedOneWithoutPackFilesInput;
|
|
608
|
+
};
|
|
609
|
+
export type PackFileUncheckedCreateWithoutPackVersionInput = {
|
|
610
|
+
id?: number;
|
|
611
|
+
manifestFileId?: number | null;
|
|
612
|
+
fileType: string;
|
|
613
|
+
fileName: string;
|
|
614
|
+
filePath?: string | null;
|
|
615
|
+
cfProject?: number | null;
|
|
616
|
+
cfFile?: number | null;
|
|
617
|
+
sha1?: string | null;
|
|
618
|
+
status?: string;
|
|
619
|
+
modId?: number | null;
|
|
620
|
+
};
|
|
621
|
+
export type PackFileCreateOrConnectWithoutPackVersionInput = {
|
|
622
|
+
where: Prisma.PackFileWhereUniqueInput;
|
|
623
|
+
create: Prisma.XOR<Prisma.PackFileCreateWithoutPackVersionInput, Prisma.PackFileUncheckedCreateWithoutPackVersionInput>;
|
|
624
|
+
};
|
|
625
|
+
export type PackFileCreateManyPackVersionInputEnvelope = {
|
|
626
|
+
data: Prisma.PackFileCreateManyPackVersionInput | Prisma.PackFileCreateManyPackVersionInput[];
|
|
627
|
+
};
|
|
628
|
+
export type PackFileUpsertWithWhereUniqueWithoutPackVersionInput = {
|
|
629
|
+
where: Prisma.PackFileWhereUniqueInput;
|
|
630
|
+
update: Prisma.XOR<Prisma.PackFileUpdateWithoutPackVersionInput, Prisma.PackFileUncheckedUpdateWithoutPackVersionInput>;
|
|
631
|
+
create: Prisma.XOR<Prisma.PackFileCreateWithoutPackVersionInput, Prisma.PackFileUncheckedCreateWithoutPackVersionInput>;
|
|
632
|
+
};
|
|
633
|
+
export type PackFileUpdateWithWhereUniqueWithoutPackVersionInput = {
|
|
634
|
+
where: Prisma.PackFileWhereUniqueInput;
|
|
635
|
+
data: Prisma.XOR<Prisma.PackFileUpdateWithoutPackVersionInput, Prisma.PackFileUncheckedUpdateWithoutPackVersionInput>;
|
|
636
|
+
};
|
|
637
|
+
export type PackFileUpdateManyWithWhereWithoutPackVersionInput = {
|
|
638
|
+
where: Prisma.PackFileScalarWhereInput;
|
|
639
|
+
data: Prisma.XOR<Prisma.PackFileUpdateManyMutationInput, Prisma.PackFileUncheckedUpdateManyWithoutPackVersionInput>;
|
|
640
|
+
};
|
|
641
|
+
export type PackFileCreateManyModInput = {
|
|
642
|
+
id?: number;
|
|
643
|
+
packVersionId: number;
|
|
644
|
+
manifestFileId?: number | null;
|
|
645
|
+
fileType: string;
|
|
646
|
+
fileName: string;
|
|
647
|
+
filePath?: string | null;
|
|
648
|
+
cfProject?: number | null;
|
|
649
|
+
cfFile?: number | null;
|
|
650
|
+
sha1?: string | null;
|
|
651
|
+
status?: string;
|
|
652
|
+
};
|
|
653
|
+
export type PackFileUpdateWithoutModInput = {
|
|
654
|
+
manifestFileId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
655
|
+
fileType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
656
|
+
fileName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
657
|
+
filePath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
658
|
+
cfProject?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
659
|
+
cfFile?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
660
|
+
sha1?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
661
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
662
|
+
packVersion?: Prisma.PackVersionUpdateOneRequiredWithoutFilesNestedInput;
|
|
663
|
+
};
|
|
664
|
+
export type PackFileUncheckedUpdateWithoutModInput = {
|
|
665
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
666
|
+
packVersionId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
667
|
+
manifestFileId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
668
|
+
fileType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
669
|
+
fileName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
670
|
+
filePath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
671
|
+
cfProject?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
672
|
+
cfFile?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
673
|
+
sha1?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
674
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
675
|
+
};
|
|
676
|
+
export type PackFileUncheckedUpdateManyWithoutModInput = {
|
|
677
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
678
|
+
packVersionId?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
679
|
+
manifestFileId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
680
|
+
fileType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
681
|
+
fileName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
682
|
+
filePath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
683
|
+
cfProject?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
684
|
+
cfFile?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
685
|
+
sha1?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
686
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
687
|
+
};
|
|
688
|
+
export type PackFileCreateManyPackVersionInput = {
|
|
689
|
+
id?: number;
|
|
690
|
+
manifestFileId?: number | null;
|
|
691
|
+
fileType: string;
|
|
692
|
+
fileName: string;
|
|
693
|
+
filePath?: string | null;
|
|
694
|
+
cfProject?: number | null;
|
|
695
|
+
cfFile?: number | null;
|
|
696
|
+
sha1?: string | null;
|
|
697
|
+
status?: string;
|
|
698
|
+
modId?: number | null;
|
|
699
|
+
};
|
|
700
|
+
export type PackFileUpdateWithoutPackVersionInput = {
|
|
701
|
+
manifestFileId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
702
|
+
fileType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
703
|
+
fileName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
704
|
+
filePath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
705
|
+
cfProject?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
706
|
+
cfFile?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
707
|
+
sha1?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
708
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
709
|
+
mod?: Prisma.ModUpdateOneWithoutPackFilesNestedInput;
|
|
710
|
+
};
|
|
711
|
+
export type PackFileUncheckedUpdateWithoutPackVersionInput = {
|
|
712
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
713
|
+
manifestFileId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
714
|
+
fileType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
715
|
+
fileName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
716
|
+
filePath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
717
|
+
cfProject?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
718
|
+
cfFile?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
719
|
+
sha1?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
720
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
721
|
+
modId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
722
|
+
};
|
|
723
|
+
export type PackFileUncheckedUpdateManyWithoutPackVersionInput = {
|
|
724
|
+
id?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
725
|
+
manifestFileId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
726
|
+
fileType?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
727
|
+
fileName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
728
|
+
filePath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
729
|
+
cfProject?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
730
|
+
cfFile?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
731
|
+
sha1?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
732
|
+
status?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
733
|
+
modId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
|
|
734
|
+
};
|
|
735
|
+
export type PackFileSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
736
|
+
id?: boolean;
|
|
737
|
+
packVersionId?: boolean;
|
|
738
|
+
manifestFileId?: boolean;
|
|
739
|
+
fileType?: boolean;
|
|
740
|
+
fileName?: boolean;
|
|
741
|
+
filePath?: boolean;
|
|
742
|
+
cfProject?: boolean;
|
|
743
|
+
cfFile?: boolean;
|
|
744
|
+
sha1?: boolean;
|
|
745
|
+
status?: boolean;
|
|
746
|
+
modId?: boolean;
|
|
747
|
+
packVersion?: boolean | Prisma.PackVersionDefaultArgs<ExtArgs>;
|
|
748
|
+
mod?: boolean | Prisma.PackFile$modArgs<ExtArgs>;
|
|
749
|
+
}, ExtArgs["result"]["packFile"]>;
|
|
750
|
+
export type PackFileSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
751
|
+
id?: boolean;
|
|
752
|
+
packVersionId?: boolean;
|
|
753
|
+
manifestFileId?: boolean;
|
|
754
|
+
fileType?: boolean;
|
|
755
|
+
fileName?: boolean;
|
|
756
|
+
filePath?: boolean;
|
|
757
|
+
cfProject?: boolean;
|
|
758
|
+
cfFile?: boolean;
|
|
759
|
+
sha1?: boolean;
|
|
760
|
+
status?: boolean;
|
|
761
|
+
modId?: boolean;
|
|
762
|
+
packVersion?: boolean | Prisma.PackVersionDefaultArgs<ExtArgs>;
|
|
763
|
+
mod?: boolean | Prisma.PackFile$modArgs<ExtArgs>;
|
|
764
|
+
}, ExtArgs["result"]["packFile"]>;
|
|
765
|
+
export type PackFileSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
766
|
+
id?: boolean;
|
|
767
|
+
packVersionId?: boolean;
|
|
768
|
+
manifestFileId?: boolean;
|
|
769
|
+
fileType?: boolean;
|
|
770
|
+
fileName?: boolean;
|
|
771
|
+
filePath?: boolean;
|
|
772
|
+
cfProject?: boolean;
|
|
773
|
+
cfFile?: boolean;
|
|
774
|
+
sha1?: boolean;
|
|
775
|
+
status?: boolean;
|
|
776
|
+
modId?: boolean;
|
|
777
|
+
packVersion?: boolean | Prisma.PackVersionDefaultArgs<ExtArgs>;
|
|
778
|
+
mod?: boolean | Prisma.PackFile$modArgs<ExtArgs>;
|
|
779
|
+
}, ExtArgs["result"]["packFile"]>;
|
|
780
|
+
export type PackFileSelectScalar = {
|
|
781
|
+
id?: boolean;
|
|
782
|
+
packVersionId?: boolean;
|
|
783
|
+
manifestFileId?: boolean;
|
|
784
|
+
fileType?: boolean;
|
|
785
|
+
fileName?: boolean;
|
|
786
|
+
filePath?: boolean;
|
|
787
|
+
cfProject?: boolean;
|
|
788
|
+
cfFile?: boolean;
|
|
789
|
+
sha1?: boolean;
|
|
790
|
+
status?: boolean;
|
|
791
|
+
modId?: boolean;
|
|
792
|
+
};
|
|
793
|
+
export type PackFileOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "packVersionId" | "manifestFileId" | "fileType" | "fileName" | "filePath" | "cfProject" | "cfFile" | "sha1" | "status" | "modId", ExtArgs["result"]["packFile"]>;
|
|
794
|
+
export type PackFileInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
795
|
+
packVersion?: boolean | Prisma.PackVersionDefaultArgs<ExtArgs>;
|
|
796
|
+
mod?: boolean | Prisma.PackFile$modArgs<ExtArgs>;
|
|
797
|
+
};
|
|
798
|
+
export type PackFileIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
799
|
+
packVersion?: boolean | Prisma.PackVersionDefaultArgs<ExtArgs>;
|
|
800
|
+
mod?: boolean | Prisma.PackFile$modArgs<ExtArgs>;
|
|
801
|
+
};
|
|
802
|
+
export type PackFileIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
803
|
+
packVersion?: boolean | Prisma.PackVersionDefaultArgs<ExtArgs>;
|
|
804
|
+
mod?: boolean | Prisma.PackFile$modArgs<ExtArgs>;
|
|
805
|
+
};
|
|
806
|
+
export type $PackFilePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
807
|
+
name: "PackFile";
|
|
808
|
+
objects: {
|
|
809
|
+
packVersion: Prisma.$PackVersionPayload<ExtArgs>;
|
|
810
|
+
mod: Prisma.$ModPayload<ExtArgs> | null;
|
|
811
|
+
};
|
|
812
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
813
|
+
id: number;
|
|
814
|
+
packVersionId: number;
|
|
815
|
+
manifestFileId: number | null;
|
|
816
|
+
fileType: string;
|
|
817
|
+
fileName: string;
|
|
818
|
+
filePath: string | null;
|
|
819
|
+
cfProject: number | null;
|
|
820
|
+
cfFile: number | null;
|
|
821
|
+
sha1: string | null;
|
|
822
|
+
status: string;
|
|
823
|
+
modId: number | null;
|
|
824
|
+
}, ExtArgs["result"]["packFile"]>;
|
|
825
|
+
composites: {};
|
|
826
|
+
};
|
|
827
|
+
export type PackFileGetPayload<S extends boolean | null | undefined | PackFileDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PackFilePayload, S>;
|
|
828
|
+
export type PackFileCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<PackFileFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
829
|
+
select?: PackFileCountAggregateInputType | true;
|
|
830
|
+
};
|
|
831
|
+
export interface PackFileDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
832
|
+
[K: symbol]: {
|
|
833
|
+
types: Prisma.TypeMap<ExtArgs>['model']['PackFile'];
|
|
834
|
+
meta: {
|
|
835
|
+
name: 'PackFile';
|
|
836
|
+
};
|
|
837
|
+
};
|
|
838
|
+
/**
|
|
839
|
+
* Find zero or one PackFile that matches the filter.
|
|
840
|
+
* @param {PackFileFindUniqueArgs} args - Arguments to find a PackFile
|
|
841
|
+
* @example
|
|
842
|
+
* // Get one PackFile
|
|
843
|
+
* const packFile = await prisma.packFile.findUnique({
|
|
844
|
+
* where: {
|
|
845
|
+
* // ... provide filter here
|
|
846
|
+
* }
|
|
847
|
+
* })
|
|
848
|
+
*/
|
|
849
|
+
findUnique<T extends PackFileFindUniqueArgs>(args: Prisma.SelectSubset<T, PackFileFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PackFileClient<runtime.Types.Result.GetResult<Prisma.$PackFilePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
850
|
+
/**
|
|
851
|
+
* Find one PackFile that matches the filter or throw an error with `error.code='P2025'`
|
|
852
|
+
* if no matches were found.
|
|
853
|
+
* @param {PackFileFindUniqueOrThrowArgs} args - Arguments to find a PackFile
|
|
854
|
+
* @example
|
|
855
|
+
* // Get one PackFile
|
|
856
|
+
* const packFile = await prisma.packFile.findUniqueOrThrow({
|
|
857
|
+
* where: {
|
|
858
|
+
* // ... provide filter here
|
|
859
|
+
* }
|
|
860
|
+
* })
|
|
861
|
+
*/
|
|
862
|
+
findUniqueOrThrow<T extends PackFileFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PackFileFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PackFileClient<runtime.Types.Result.GetResult<Prisma.$PackFilePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
863
|
+
/**
|
|
864
|
+
* Find the first PackFile that matches the filter.
|
|
865
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
866
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
867
|
+
* @param {PackFileFindFirstArgs} args - Arguments to find a PackFile
|
|
868
|
+
* @example
|
|
869
|
+
* // Get one PackFile
|
|
870
|
+
* const packFile = await prisma.packFile.findFirst({
|
|
871
|
+
* where: {
|
|
872
|
+
* // ... provide filter here
|
|
873
|
+
* }
|
|
874
|
+
* })
|
|
875
|
+
*/
|
|
876
|
+
findFirst<T extends PackFileFindFirstArgs>(args?: Prisma.SelectSubset<T, PackFileFindFirstArgs<ExtArgs>>): Prisma.Prisma__PackFileClient<runtime.Types.Result.GetResult<Prisma.$PackFilePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
877
|
+
/**
|
|
878
|
+
* Find the first PackFile that matches the filter or
|
|
879
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
880
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
881
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
882
|
+
* @param {PackFileFindFirstOrThrowArgs} args - Arguments to find a PackFile
|
|
883
|
+
* @example
|
|
884
|
+
* // Get one PackFile
|
|
885
|
+
* const packFile = await prisma.packFile.findFirstOrThrow({
|
|
886
|
+
* where: {
|
|
887
|
+
* // ... provide filter here
|
|
888
|
+
* }
|
|
889
|
+
* })
|
|
890
|
+
*/
|
|
891
|
+
findFirstOrThrow<T extends PackFileFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PackFileFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PackFileClient<runtime.Types.Result.GetResult<Prisma.$PackFilePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
892
|
+
/**
|
|
893
|
+
* Find zero or more PackFiles that matches the filter.
|
|
894
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
895
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
896
|
+
* @param {PackFileFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
897
|
+
* @example
|
|
898
|
+
* // Get all PackFiles
|
|
899
|
+
* const packFiles = await prisma.packFile.findMany()
|
|
900
|
+
*
|
|
901
|
+
* // Get first 10 PackFiles
|
|
902
|
+
* const packFiles = await prisma.packFile.findMany({ take: 10 })
|
|
903
|
+
*
|
|
904
|
+
* // Only select the `id`
|
|
905
|
+
* const packFileWithIdOnly = await prisma.packFile.findMany({ select: { id: true } })
|
|
906
|
+
*
|
|
907
|
+
*/
|
|
908
|
+
findMany<T extends PackFileFindManyArgs>(args?: Prisma.SelectSubset<T, PackFileFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PackFilePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
909
|
+
/**
|
|
910
|
+
* Create a PackFile.
|
|
911
|
+
* @param {PackFileCreateArgs} args - Arguments to create a PackFile.
|
|
912
|
+
* @example
|
|
913
|
+
* // Create one PackFile
|
|
914
|
+
* const PackFile = await prisma.packFile.create({
|
|
915
|
+
* data: {
|
|
916
|
+
* // ... data to create a PackFile
|
|
917
|
+
* }
|
|
918
|
+
* })
|
|
919
|
+
*
|
|
920
|
+
*/
|
|
921
|
+
create<T extends PackFileCreateArgs>(args: Prisma.SelectSubset<T, PackFileCreateArgs<ExtArgs>>): Prisma.Prisma__PackFileClient<runtime.Types.Result.GetResult<Prisma.$PackFilePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
922
|
+
/**
|
|
923
|
+
* Create many PackFiles.
|
|
924
|
+
* @param {PackFileCreateManyArgs} args - Arguments to create many PackFiles.
|
|
925
|
+
* @example
|
|
926
|
+
* // Create many PackFiles
|
|
927
|
+
* const packFile = await prisma.packFile.createMany({
|
|
928
|
+
* data: [
|
|
929
|
+
* // ... provide data here
|
|
930
|
+
* ]
|
|
931
|
+
* })
|
|
932
|
+
*
|
|
933
|
+
*/
|
|
934
|
+
createMany<T extends PackFileCreateManyArgs>(args?: Prisma.SelectSubset<T, PackFileCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
935
|
+
/**
|
|
936
|
+
* Create many PackFiles and returns the data saved in the database.
|
|
937
|
+
* @param {PackFileCreateManyAndReturnArgs} args - Arguments to create many PackFiles.
|
|
938
|
+
* @example
|
|
939
|
+
* // Create many PackFiles
|
|
940
|
+
* const packFile = await prisma.packFile.createManyAndReturn({
|
|
941
|
+
* data: [
|
|
942
|
+
* // ... provide data here
|
|
943
|
+
* ]
|
|
944
|
+
* })
|
|
945
|
+
*
|
|
946
|
+
* // Create many PackFiles and only return the `id`
|
|
947
|
+
* const packFileWithIdOnly = await prisma.packFile.createManyAndReturn({
|
|
948
|
+
* select: { id: true },
|
|
949
|
+
* data: [
|
|
950
|
+
* // ... provide data here
|
|
951
|
+
* ]
|
|
952
|
+
* })
|
|
953
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
954
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
955
|
+
*
|
|
956
|
+
*/
|
|
957
|
+
createManyAndReturn<T extends PackFileCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PackFileCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PackFilePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
958
|
+
/**
|
|
959
|
+
* Delete a PackFile.
|
|
960
|
+
* @param {PackFileDeleteArgs} args - Arguments to delete one PackFile.
|
|
961
|
+
* @example
|
|
962
|
+
* // Delete one PackFile
|
|
963
|
+
* const PackFile = await prisma.packFile.delete({
|
|
964
|
+
* where: {
|
|
965
|
+
* // ... filter to delete one PackFile
|
|
966
|
+
* }
|
|
967
|
+
* })
|
|
968
|
+
*
|
|
969
|
+
*/
|
|
970
|
+
delete<T extends PackFileDeleteArgs>(args: Prisma.SelectSubset<T, PackFileDeleteArgs<ExtArgs>>): Prisma.Prisma__PackFileClient<runtime.Types.Result.GetResult<Prisma.$PackFilePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
971
|
+
/**
|
|
972
|
+
* Update one PackFile.
|
|
973
|
+
* @param {PackFileUpdateArgs} args - Arguments to update one PackFile.
|
|
974
|
+
* @example
|
|
975
|
+
* // Update one PackFile
|
|
976
|
+
* const packFile = await prisma.packFile.update({
|
|
977
|
+
* where: {
|
|
978
|
+
* // ... provide filter here
|
|
979
|
+
* },
|
|
980
|
+
* data: {
|
|
981
|
+
* // ... provide data here
|
|
982
|
+
* }
|
|
983
|
+
* })
|
|
984
|
+
*
|
|
985
|
+
*/
|
|
986
|
+
update<T extends PackFileUpdateArgs>(args: Prisma.SelectSubset<T, PackFileUpdateArgs<ExtArgs>>): Prisma.Prisma__PackFileClient<runtime.Types.Result.GetResult<Prisma.$PackFilePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
987
|
+
/**
|
|
988
|
+
* Delete zero or more PackFiles.
|
|
989
|
+
* @param {PackFileDeleteManyArgs} args - Arguments to filter PackFiles to delete.
|
|
990
|
+
* @example
|
|
991
|
+
* // Delete a few PackFiles
|
|
992
|
+
* const { count } = await prisma.packFile.deleteMany({
|
|
993
|
+
* where: {
|
|
994
|
+
* // ... provide filter here
|
|
995
|
+
* }
|
|
996
|
+
* })
|
|
997
|
+
*
|
|
998
|
+
*/
|
|
999
|
+
deleteMany<T extends PackFileDeleteManyArgs>(args?: Prisma.SelectSubset<T, PackFileDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1000
|
+
/**
|
|
1001
|
+
* Update zero or more PackFiles.
|
|
1002
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1003
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1004
|
+
* @param {PackFileUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1005
|
+
* @example
|
|
1006
|
+
* // Update many PackFiles
|
|
1007
|
+
* const packFile = await prisma.packFile.updateMany({
|
|
1008
|
+
* where: {
|
|
1009
|
+
* // ... provide filter here
|
|
1010
|
+
* },
|
|
1011
|
+
* data: {
|
|
1012
|
+
* // ... provide data here
|
|
1013
|
+
* }
|
|
1014
|
+
* })
|
|
1015
|
+
*
|
|
1016
|
+
*/
|
|
1017
|
+
updateMany<T extends PackFileUpdateManyArgs>(args: Prisma.SelectSubset<T, PackFileUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1018
|
+
/**
|
|
1019
|
+
* Update zero or more PackFiles and returns the data updated in the database.
|
|
1020
|
+
* @param {PackFileUpdateManyAndReturnArgs} args - Arguments to update many PackFiles.
|
|
1021
|
+
* @example
|
|
1022
|
+
* // Update many PackFiles
|
|
1023
|
+
* const packFile = await prisma.packFile.updateManyAndReturn({
|
|
1024
|
+
* where: {
|
|
1025
|
+
* // ... provide filter here
|
|
1026
|
+
* },
|
|
1027
|
+
* data: [
|
|
1028
|
+
* // ... provide data here
|
|
1029
|
+
* ]
|
|
1030
|
+
* })
|
|
1031
|
+
*
|
|
1032
|
+
* // Update zero or more PackFiles and only return the `id`
|
|
1033
|
+
* const packFileWithIdOnly = await prisma.packFile.updateManyAndReturn({
|
|
1034
|
+
* select: { id: true },
|
|
1035
|
+
* where: {
|
|
1036
|
+
* // ... provide filter here
|
|
1037
|
+
* },
|
|
1038
|
+
* data: [
|
|
1039
|
+
* // ... provide data here
|
|
1040
|
+
* ]
|
|
1041
|
+
* })
|
|
1042
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1043
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1044
|
+
*
|
|
1045
|
+
*/
|
|
1046
|
+
updateManyAndReturn<T extends PackFileUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PackFileUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PackFilePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
1047
|
+
/**
|
|
1048
|
+
* Create or update one PackFile.
|
|
1049
|
+
* @param {PackFileUpsertArgs} args - Arguments to update or create a PackFile.
|
|
1050
|
+
* @example
|
|
1051
|
+
* // Update or create a PackFile
|
|
1052
|
+
* const packFile = await prisma.packFile.upsert({
|
|
1053
|
+
* create: {
|
|
1054
|
+
* // ... data to create a PackFile
|
|
1055
|
+
* },
|
|
1056
|
+
* update: {
|
|
1057
|
+
* // ... in case it already exists, update
|
|
1058
|
+
* },
|
|
1059
|
+
* where: {
|
|
1060
|
+
* // ... the filter for the PackFile we want to update
|
|
1061
|
+
* }
|
|
1062
|
+
* })
|
|
1063
|
+
*/
|
|
1064
|
+
upsert<T extends PackFileUpsertArgs>(args: Prisma.SelectSubset<T, PackFileUpsertArgs<ExtArgs>>): Prisma.Prisma__PackFileClient<runtime.Types.Result.GetResult<Prisma.$PackFilePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1065
|
+
/**
|
|
1066
|
+
* Count the number of PackFiles.
|
|
1067
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1068
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1069
|
+
* @param {PackFileCountArgs} args - Arguments to filter PackFiles to count.
|
|
1070
|
+
* @example
|
|
1071
|
+
* // Count the number of PackFiles
|
|
1072
|
+
* const count = await prisma.packFile.count({
|
|
1073
|
+
* where: {
|
|
1074
|
+
* // ... the filter for the PackFiles we want to count
|
|
1075
|
+
* }
|
|
1076
|
+
* })
|
|
1077
|
+
**/
|
|
1078
|
+
count<T extends PackFileCountArgs>(args?: Prisma.Subset<T, PackFileCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], PackFileCountAggregateOutputType> : number>;
|
|
1079
|
+
/**
|
|
1080
|
+
* Allows you to perform aggregations operations on a PackFile.
|
|
1081
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1082
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1083
|
+
* @param {PackFileAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1084
|
+
* @example
|
|
1085
|
+
* // Ordered by age ascending
|
|
1086
|
+
* // Where email contains prisma.io
|
|
1087
|
+
* // Limited to the 10 users
|
|
1088
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1089
|
+
* _avg: {
|
|
1090
|
+
* age: true,
|
|
1091
|
+
* },
|
|
1092
|
+
* where: {
|
|
1093
|
+
* email: {
|
|
1094
|
+
* contains: "prisma.io",
|
|
1095
|
+
* },
|
|
1096
|
+
* },
|
|
1097
|
+
* orderBy: {
|
|
1098
|
+
* age: "asc",
|
|
1099
|
+
* },
|
|
1100
|
+
* take: 10,
|
|
1101
|
+
* })
|
|
1102
|
+
**/
|
|
1103
|
+
aggregate<T extends PackFileAggregateArgs>(args: Prisma.Subset<T, PackFileAggregateArgs>): Prisma.PrismaPromise<GetPackFileAggregateType<T>>;
|
|
1104
|
+
/**
|
|
1105
|
+
* Group by PackFile.
|
|
1106
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1107
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1108
|
+
* @param {PackFileGroupByArgs} args - Group by arguments.
|
|
1109
|
+
* @example
|
|
1110
|
+
* // Group by city, order by createdAt, get count
|
|
1111
|
+
* const result = await prisma.user.groupBy({
|
|
1112
|
+
* by: ['city', 'createdAt'],
|
|
1113
|
+
* orderBy: {
|
|
1114
|
+
* createdAt: true
|
|
1115
|
+
* },
|
|
1116
|
+
* _count: {
|
|
1117
|
+
* _all: true
|
|
1118
|
+
* },
|
|
1119
|
+
* })
|
|
1120
|
+
*
|
|
1121
|
+
**/
|
|
1122
|
+
groupBy<T extends PackFileGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1123
|
+
orderBy: PackFileGroupByArgs['orderBy'];
|
|
1124
|
+
} : {
|
|
1125
|
+
orderBy?: PackFileGroupByArgs['orderBy'];
|
|
1126
|
+
}, 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 ? {
|
|
1127
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1128
|
+
Error,
|
|
1129
|
+
'Field ',
|
|
1130
|
+
P,
|
|
1131
|
+
` in "having" needs to be provided in "by"`
|
|
1132
|
+
];
|
|
1133
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1134
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1135
|
+
}[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 ? {} : {
|
|
1136
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1137
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1138
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1139
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, PackFileGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPackFileGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1140
|
+
/**
|
|
1141
|
+
* Fields of the PackFile model
|
|
1142
|
+
*/
|
|
1143
|
+
readonly fields: PackFileFieldRefs;
|
|
1144
|
+
}
|
|
1145
|
+
/**
|
|
1146
|
+
* The delegate class that acts as a "Promise-like" for PackFile.
|
|
1147
|
+
* Why is this prefixed with `Prisma__`?
|
|
1148
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1149
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1150
|
+
*/
|
|
1151
|
+
export interface Prisma__PackFileClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1152
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1153
|
+
packVersion<T extends Prisma.PackVersionDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PackVersionDefaultArgs<ExtArgs>>): Prisma.Prisma__PackVersionClient<runtime.Types.Result.GetResult<Prisma.$PackVersionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1154
|
+
mod<T extends Prisma.PackFile$modArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PackFile$modArgs<ExtArgs>>): Prisma.Prisma__ModClient<runtime.Types.Result.GetResult<Prisma.$ModPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1155
|
+
/**
|
|
1156
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1157
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1158
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1159
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1160
|
+
*/
|
|
1161
|
+
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>;
|
|
1162
|
+
/**
|
|
1163
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1164
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1165
|
+
* @returns A Promise for the completion of the callback.
|
|
1166
|
+
*/
|
|
1167
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1168
|
+
/**
|
|
1169
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1170
|
+
* resolved value cannot be modified from the callback.
|
|
1171
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1172
|
+
* @returns A Promise for the completion of the callback.
|
|
1173
|
+
*/
|
|
1174
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1175
|
+
}
|
|
1176
|
+
/**
|
|
1177
|
+
* Fields of the PackFile model
|
|
1178
|
+
*/
|
|
1179
|
+
export interface PackFileFieldRefs {
|
|
1180
|
+
readonly id: Prisma.FieldRef<"PackFile", 'Int'>;
|
|
1181
|
+
readonly packVersionId: Prisma.FieldRef<"PackFile", 'Int'>;
|
|
1182
|
+
readonly manifestFileId: Prisma.FieldRef<"PackFile", 'Int'>;
|
|
1183
|
+
readonly fileType: Prisma.FieldRef<"PackFile", 'String'>;
|
|
1184
|
+
readonly fileName: Prisma.FieldRef<"PackFile", 'String'>;
|
|
1185
|
+
readonly filePath: Prisma.FieldRef<"PackFile", 'String'>;
|
|
1186
|
+
readonly cfProject: Prisma.FieldRef<"PackFile", 'Int'>;
|
|
1187
|
+
readonly cfFile: Prisma.FieldRef<"PackFile", 'Int'>;
|
|
1188
|
+
readonly sha1: Prisma.FieldRef<"PackFile", 'String'>;
|
|
1189
|
+
readonly status: Prisma.FieldRef<"PackFile", 'String'>;
|
|
1190
|
+
readonly modId: Prisma.FieldRef<"PackFile", 'Int'>;
|
|
1191
|
+
}
|
|
1192
|
+
/**
|
|
1193
|
+
* PackFile findUnique
|
|
1194
|
+
*/
|
|
1195
|
+
export type PackFileFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1196
|
+
/**
|
|
1197
|
+
* Select specific fields to fetch from the PackFile
|
|
1198
|
+
*/
|
|
1199
|
+
select?: Prisma.PackFileSelect<ExtArgs> | null;
|
|
1200
|
+
/**
|
|
1201
|
+
* Omit specific fields from the PackFile
|
|
1202
|
+
*/
|
|
1203
|
+
omit?: Prisma.PackFileOmit<ExtArgs> | null;
|
|
1204
|
+
/**
|
|
1205
|
+
* Choose, which related nodes to fetch as well
|
|
1206
|
+
*/
|
|
1207
|
+
include?: Prisma.PackFileInclude<ExtArgs> | null;
|
|
1208
|
+
/**
|
|
1209
|
+
* Filter, which PackFile to fetch.
|
|
1210
|
+
*/
|
|
1211
|
+
where: Prisma.PackFileWhereUniqueInput;
|
|
1212
|
+
};
|
|
1213
|
+
/**
|
|
1214
|
+
* PackFile findUniqueOrThrow
|
|
1215
|
+
*/
|
|
1216
|
+
export type PackFileFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1217
|
+
/**
|
|
1218
|
+
* Select specific fields to fetch from the PackFile
|
|
1219
|
+
*/
|
|
1220
|
+
select?: Prisma.PackFileSelect<ExtArgs> | null;
|
|
1221
|
+
/**
|
|
1222
|
+
* Omit specific fields from the PackFile
|
|
1223
|
+
*/
|
|
1224
|
+
omit?: Prisma.PackFileOmit<ExtArgs> | null;
|
|
1225
|
+
/**
|
|
1226
|
+
* Choose, which related nodes to fetch as well
|
|
1227
|
+
*/
|
|
1228
|
+
include?: Prisma.PackFileInclude<ExtArgs> | null;
|
|
1229
|
+
/**
|
|
1230
|
+
* Filter, which PackFile to fetch.
|
|
1231
|
+
*/
|
|
1232
|
+
where: Prisma.PackFileWhereUniqueInput;
|
|
1233
|
+
};
|
|
1234
|
+
/**
|
|
1235
|
+
* PackFile findFirst
|
|
1236
|
+
*/
|
|
1237
|
+
export type PackFileFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1238
|
+
/**
|
|
1239
|
+
* Select specific fields to fetch from the PackFile
|
|
1240
|
+
*/
|
|
1241
|
+
select?: Prisma.PackFileSelect<ExtArgs> | null;
|
|
1242
|
+
/**
|
|
1243
|
+
* Omit specific fields from the PackFile
|
|
1244
|
+
*/
|
|
1245
|
+
omit?: Prisma.PackFileOmit<ExtArgs> | null;
|
|
1246
|
+
/**
|
|
1247
|
+
* Choose, which related nodes to fetch as well
|
|
1248
|
+
*/
|
|
1249
|
+
include?: Prisma.PackFileInclude<ExtArgs> | null;
|
|
1250
|
+
/**
|
|
1251
|
+
* Filter, which PackFile to fetch.
|
|
1252
|
+
*/
|
|
1253
|
+
where?: Prisma.PackFileWhereInput;
|
|
1254
|
+
/**
|
|
1255
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1256
|
+
*
|
|
1257
|
+
* Determine the order of PackFiles to fetch.
|
|
1258
|
+
*/
|
|
1259
|
+
orderBy?: Prisma.PackFileOrderByWithRelationInput | Prisma.PackFileOrderByWithRelationInput[];
|
|
1260
|
+
/**
|
|
1261
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1262
|
+
*
|
|
1263
|
+
* Sets the position for searching for PackFiles.
|
|
1264
|
+
*/
|
|
1265
|
+
cursor?: Prisma.PackFileWhereUniqueInput;
|
|
1266
|
+
/**
|
|
1267
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1268
|
+
*
|
|
1269
|
+
* Take `±n` PackFiles from the position of the cursor.
|
|
1270
|
+
*/
|
|
1271
|
+
take?: number;
|
|
1272
|
+
/**
|
|
1273
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1274
|
+
*
|
|
1275
|
+
* Skip the first `n` PackFiles.
|
|
1276
|
+
*/
|
|
1277
|
+
skip?: number;
|
|
1278
|
+
/**
|
|
1279
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1280
|
+
*
|
|
1281
|
+
* Filter by unique combinations of PackFiles.
|
|
1282
|
+
*/
|
|
1283
|
+
distinct?: Prisma.PackFileScalarFieldEnum | Prisma.PackFileScalarFieldEnum[];
|
|
1284
|
+
};
|
|
1285
|
+
/**
|
|
1286
|
+
* PackFile findFirstOrThrow
|
|
1287
|
+
*/
|
|
1288
|
+
export type PackFileFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1289
|
+
/**
|
|
1290
|
+
* Select specific fields to fetch from the PackFile
|
|
1291
|
+
*/
|
|
1292
|
+
select?: Prisma.PackFileSelect<ExtArgs> | null;
|
|
1293
|
+
/**
|
|
1294
|
+
* Omit specific fields from the PackFile
|
|
1295
|
+
*/
|
|
1296
|
+
omit?: Prisma.PackFileOmit<ExtArgs> | null;
|
|
1297
|
+
/**
|
|
1298
|
+
* Choose, which related nodes to fetch as well
|
|
1299
|
+
*/
|
|
1300
|
+
include?: Prisma.PackFileInclude<ExtArgs> | null;
|
|
1301
|
+
/**
|
|
1302
|
+
* Filter, which PackFile to fetch.
|
|
1303
|
+
*/
|
|
1304
|
+
where?: Prisma.PackFileWhereInput;
|
|
1305
|
+
/**
|
|
1306
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1307
|
+
*
|
|
1308
|
+
* Determine the order of PackFiles to fetch.
|
|
1309
|
+
*/
|
|
1310
|
+
orderBy?: Prisma.PackFileOrderByWithRelationInput | Prisma.PackFileOrderByWithRelationInput[];
|
|
1311
|
+
/**
|
|
1312
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1313
|
+
*
|
|
1314
|
+
* Sets the position for searching for PackFiles.
|
|
1315
|
+
*/
|
|
1316
|
+
cursor?: Prisma.PackFileWhereUniqueInput;
|
|
1317
|
+
/**
|
|
1318
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1319
|
+
*
|
|
1320
|
+
* Take `±n` PackFiles from the position of the cursor.
|
|
1321
|
+
*/
|
|
1322
|
+
take?: number;
|
|
1323
|
+
/**
|
|
1324
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1325
|
+
*
|
|
1326
|
+
* Skip the first `n` PackFiles.
|
|
1327
|
+
*/
|
|
1328
|
+
skip?: number;
|
|
1329
|
+
/**
|
|
1330
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1331
|
+
*
|
|
1332
|
+
* Filter by unique combinations of PackFiles.
|
|
1333
|
+
*/
|
|
1334
|
+
distinct?: Prisma.PackFileScalarFieldEnum | Prisma.PackFileScalarFieldEnum[];
|
|
1335
|
+
};
|
|
1336
|
+
/**
|
|
1337
|
+
* PackFile findMany
|
|
1338
|
+
*/
|
|
1339
|
+
export type PackFileFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1340
|
+
/**
|
|
1341
|
+
* Select specific fields to fetch from the PackFile
|
|
1342
|
+
*/
|
|
1343
|
+
select?: Prisma.PackFileSelect<ExtArgs> | null;
|
|
1344
|
+
/**
|
|
1345
|
+
* Omit specific fields from the PackFile
|
|
1346
|
+
*/
|
|
1347
|
+
omit?: Prisma.PackFileOmit<ExtArgs> | null;
|
|
1348
|
+
/**
|
|
1349
|
+
* Choose, which related nodes to fetch as well
|
|
1350
|
+
*/
|
|
1351
|
+
include?: Prisma.PackFileInclude<ExtArgs> | null;
|
|
1352
|
+
/**
|
|
1353
|
+
* Filter, which PackFiles to fetch.
|
|
1354
|
+
*/
|
|
1355
|
+
where?: Prisma.PackFileWhereInput;
|
|
1356
|
+
/**
|
|
1357
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1358
|
+
*
|
|
1359
|
+
* Determine the order of PackFiles to fetch.
|
|
1360
|
+
*/
|
|
1361
|
+
orderBy?: Prisma.PackFileOrderByWithRelationInput | Prisma.PackFileOrderByWithRelationInput[];
|
|
1362
|
+
/**
|
|
1363
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1364
|
+
*
|
|
1365
|
+
* Sets the position for listing PackFiles.
|
|
1366
|
+
*/
|
|
1367
|
+
cursor?: Prisma.PackFileWhereUniqueInput;
|
|
1368
|
+
/**
|
|
1369
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1370
|
+
*
|
|
1371
|
+
* Take `±n` PackFiles from the position of the cursor.
|
|
1372
|
+
*/
|
|
1373
|
+
take?: number;
|
|
1374
|
+
/**
|
|
1375
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1376
|
+
*
|
|
1377
|
+
* Skip the first `n` PackFiles.
|
|
1378
|
+
*/
|
|
1379
|
+
skip?: number;
|
|
1380
|
+
distinct?: Prisma.PackFileScalarFieldEnum | Prisma.PackFileScalarFieldEnum[];
|
|
1381
|
+
};
|
|
1382
|
+
/**
|
|
1383
|
+
* PackFile create
|
|
1384
|
+
*/
|
|
1385
|
+
export type PackFileCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1386
|
+
/**
|
|
1387
|
+
* Select specific fields to fetch from the PackFile
|
|
1388
|
+
*/
|
|
1389
|
+
select?: Prisma.PackFileSelect<ExtArgs> | null;
|
|
1390
|
+
/**
|
|
1391
|
+
* Omit specific fields from the PackFile
|
|
1392
|
+
*/
|
|
1393
|
+
omit?: Prisma.PackFileOmit<ExtArgs> | null;
|
|
1394
|
+
/**
|
|
1395
|
+
* Choose, which related nodes to fetch as well
|
|
1396
|
+
*/
|
|
1397
|
+
include?: Prisma.PackFileInclude<ExtArgs> | null;
|
|
1398
|
+
/**
|
|
1399
|
+
* The data needed to create a PackFile.
|
|
1400
|
+
*/
|
|
1401
|
+
data: Prisma.XOR<Prisma.PackFileCreateInput, Prisma.PackFileUncheckedCreateInput>;
|
|
1402
|
+
};
|
|
1403
|
+
/**
|
|
1404
|
+
* PackFile createMany
|
|
1405
|
+
*/
|
|
1406
|
+
export type PackFileCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1407
|
+
/**
|
|
1408
|
+
* The data used to create many PackFiles.
|
|
1409
|
+
*/
|
|
1410
|
+
data: Prisma.PackFileCreateManyInput | Prisma.PackFileCreateManyInput[];
|
|
1411
|
+
};
|
|
1412
|
+
/**
|
|
1413
|
+
* PackFile createManyAndReturn
|
|
1414
|
+
*/
|
|
1415
|
+
export type PackFileCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1416
|
+
/**
|
|
1417
|
+
* Select specific fields to fetch from the PackFile
|
|
1418
|
+
*/
|
|
1419
|
+
select?: Prisma.PackFileSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1420
|
+
/**
|
|
1421
|
+
* Omit specific fields from the PackFile
|
|
1422
|
+
*/
|
|
1423
|
+
omit?: Prisma.PackFileOmit<ExtArgs> | null;
|
|
1424
|
+
/**
|
|
1425
|
+
* The data used to create many PackFiles.
|
|
1426
|
+
*/
|
|
1427
|
+
data: Prisma.PackFileCreateManyInput | Prisma.PackFileCreateManyInput[];
|
|
1428
|
+
/**
|
|
1429
|
+
* Choose, which related nodes to fetch as well
|
|
1430
|
+
*/
|
|
1431
|
+
include?: Prisma.PackFileIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1432
|
+
};
|
|
1433
|
+
/**
|
|
1434
|
+
* PackFile update
|
|
1435
|
+
*/
|
|
1436
|
+
export type PackFileUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1437
|
+
/**
|
|
1438
|
+
* Select specific fields to fetch from the PackFile
|
|
1439
|
+
*/
|
|
1440
|
+
select?: Prisma.PackFileSelect<ExtArgs> | null;
|
|
1441
|
+
/**
|
|
1442
|
+
* Omit specific fields from the PackFile
|
|
1443
|
+
*/
|
|
1444
|
+
omit?: Prisma.PackFileOmit<ExtArgs> | null;
|
|
1445
|
+
/**
|
|
1446
|
+
* Choose, which related nodes to fetch as well
|
|
1447
|
+
*/
|
|
1448
|
+
include?: Prisma.PackFileInclude<ExtArgs> | null;
|
|
1449
|
+
/**
|
|
1450
|
+
* The data needed to update a PackFile.
|
|
1451
|
+
*/
|
|
1452
|
+
data: Prisma.XOR<Prisma.PackFileUpdateInput, Prisma.PackFileUncheckedUpdateInput>;
|
|
1453
|
+
/**
|
|
1454
|
+
* Choose, which PackFile to update.
|
|
1455
|
+
*/
|
|
1456
|
+
where: Prisma.PackFileWhereUniqueInput;
|
|
1457
|
+
};
|
|
1458
|
+
/**
|
|
1459
|
+
* PackFile updateMany
|
|
1460
|
+
*/
|
|
1461
|
+
export type PackFileUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1462
|
+
/**
|
|
1463
|
+
* The data used to update PackFiles.
|
|
1464
|
+
*/
|
|
1465
|
+
data: Prisma.XOR<Prisma.PackFileUpdateManyMutationInput, Prisma.PackFileUncheckedUpdateManyInput>;
|
|
1466
|
+
/**
|
|
1467
|
+
* Filter which PackFiles to update
|
|
1468
|
+
*/
|
|
1469
|
+
where?: Prisma.PackFileWhereInput;
|
|
1470
|
+
/**
|
|
1471
|
+
* Limit how many PackFiles to update.
|
|
1472
|
+
*/
|
|
1473
|
+
limit?: number;
|
|
1474
|
+
};
|
|
1475
|
+
/**
|
|
1476
|
+
* PackFile updateManyAndReturn
|
|
1477
|
+
*/
|
|
1478
|
+
export type PackFileUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1479
|
+
/**
|
|
1480
|
+
* Select specific fields to fetch from the PackFile
|
|
1481
|
+
*/
|
|
1482
|
+
select?: Prisma.PackFileSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1483
|
+
/**
|
|
1484
|
+
* Omit specific fields from the PackFile
|
|
1485
|
+
*/
|
|
1486
|
+
omit?: Prisma.PackFileOmit<ExtArgs> | null;
|
|
1487
|
+
/**
|
|
1488
|
+
* The data used to update PackFiles.
|
|
1489
|
+
*/
|
|
1490
|
+
data: Prisma.XOR<Prisma.PackFileUpdateManyMutationInput, Prisma.PackFileUncheckedUpdateManyInput>;
|
|
1491
|
+
/**
|
|
1492
|
+
* Filter which PackFiles to update
|
|
1493
|
+
*/
|
|
1494
|
+
where?: Prisma.PackFileWhereInput;
|
|
1495
|
+
/**
|
|
1496
|
+
* Limit how many PackFiles to update.
|
|
1497
|
+
*/
|
|
1498
|
+
limit?: number;
|
|
1499
|
+
/**
|
|
1500
|
+
* Choose, which related nodes to fetch as well
|
|
1501
|
+
*/
|
|
1502
|
+
include?: Prisma.PackFileIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1503
|
+
};
|
|
1504
|
+
/**
|
|
1505
|
+
* PackFile upsert
|
|
1506
|
+
*/
|
|
1507
|
+
export type PackFileUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1508
|
+
/**
|
|
1509
|
+
* Select specific fields to fetch from the PackFile
|
|
1510
|
+
*/
|
|
1511
|
+
select?: Prisma.PackFileSelect<ExtArgs> | null;
|
|
1512
|
+
/**
|
|
1513
|
+
* Omit specific fields from the PackFile
|
|
1514
|
+
*/
|
|
1515
|
+
omit?: Prisma.PackFileOmit<ExtArgs> | null;
|
|
1516
|
+
/**
|
|
1517
|
+
* Choose, which related nodes to fetch as well
|
|
1518
|
+
*/
|
|
1519
|
+
include?: Prisma.PackFileInclude<ExtArgs> | null;
|
|
1520
|
+
/**
|
|
1521
|
+
* The filter to search for the PackFile to update in case it exists.
|
|
1522
|
+
*/
|
|
1523
|
+
where: Prisma.PackFileWhereUniqueInput;
|
|
1524
|
+
/**
|
|
1525
|
+
* In case the PackFile found by the `where` argument doesn't exist, create a new PackFile with this data.
|
|
1526
|
+
*/
|
|
1527
|
+
create: Prisma.XOR<Prisma.PackFileCreateInput, Prisma.PackFileUncheckedCreateInput>;
|
|
1528
|
+
/**
|
|
1529
|
+
* In case the PackFile was found with the provided `where` argument, update it with this data.
|
|
1530
|
+
*/
|
|
1531
|
+
update: Prisma.XOR<Prisma.PackFileUpdateInput, Prisma.PackFileUncheckedUpdateInput>;
|
|
1532
|
+
};
|
|
1533
|
+
/**
|
|
1534
|
+
* PackFile delete
|
|
1535
|
+
*/
|
|
1536
|
+
export type PackFileDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1537
|
+
/**
|
|
1538
|
+
* Select specific fields to fetch from the PackFile
|
|
1539
|
+
*/
|
|
1540
|
+
select?: Prisma.PackFileSelect<ExtArgs> | null;
|
|
1541
|
+
/**
|
|
1542
|
+
* Omit specific fields from the PackFile
|
|
1543
|
+
*/
|
|
1544
|
+
omit?: Prisma.PackFileOmit<ExtArgs> | null;
|
|
1545
|
+
/**
|
|
1546
|
+
* Choose, which related nodes to fetch as well
|
|
1547
|
+
*/
|
|
1548
|
+
include?: Prisma.PackFileInclude<ExtArgs> | null;
|
|
1549
|
+
/**
|
|
1550
|
+
* Filter which PackFile to delete.
|
|
1551
|
+
*/
|
|
1552
|
+
where: Prisma.PackFileWhereUniqueInput;
|
|
1553
|
+
};
|
|
1554
|
+
/**
|
|
1555
|
+
* PackFile deleteMany
|
|
1556
|
+
*/
|
|
1557
|
+
export type PackFileDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1558
|
+
/**
|
|
1559
|
+
* Filter which PackFiles to delete
|
|
1560
|
+
*/
|
|
1561
|
+
where?: Prisma.PackFileWhereInput;
|
|
1562
|
+
/**
|
|
1563
|
+
* Limit how many PackFiles to delete.
|
|
1564
|
+
*/
|
|
1565
|
+
limit?: number;
|
|
1566
|
+
};
|
|
1567
|
+
/**
|
|
1568
|
+
* PackFile.mod
|
|
1569
|
+
*/
|
|
1570
|
+
export type PackFile$modArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1571
|
+
/**
|
|
1572
|
+
* Select specific fields to fetch from the Mod
|
|
1573
|
+
*/
|
|
1574
|
+
select?: Prisma.ModSelect<ExtArgs> | null;
|
|
1575
|
+
/**
|
|
1576
|
+
* Omit specific fields from the Mod
|
|
1577
|
+
*/
|
|
1578
|
+
omit?: Prisma.ModOmit<ExtArgs> | null;
|
|
1579
|
+
/**
|
|
1580
|
+
* Choose, which related nodes to fetch as well
|
|
1581
|
+
*/
|
|
1582
|
+
include?: Prisma.ModInclude<ExtArgs> | null;
|
|
1583
|
+
where?: Prisma.ModWhereInput;
|
|
1584
|
+
};
|
|
1585
|
+
/**
|
|
1586
|
+
* PackFile without action
|
|
1587
|
+
*/
|
|
1588
|
+
export type PackFileDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1589
|
+
/**
|
|
1590
|
+
* Select specific fields to fetch from the PackFile
|
|
1591
|
+
*/
|
|
1592
|
+
select?: Prisma.PackFileSelect<ExtArgs> | null;
|
|
1593
|
+
/**
|
|
1594
|
+
* Omit specific fields from the PackFile
|
|
1595
|
+
*/
|
|
1596
|
+
omit?: Prisma.PackFileOmit<ExtArgs> | null;
|
|
1597
|
+
/**
|
|
1598
|
+
* Choose, which related nodes to fetch as well
|
|
1599
|
+
*/
|
|
1600
|
+
include?: Prisma.PackFileInclude<ExtArgs> | null;
|
|
1601
|
+
};
|
|
1602
|
+
export {};
|
|
1603
|
+
//# sourceMappingURL=PackFile.d.ts.map
|