@aeolus-fleet/trierarch-plugin 0.41.1 → 0.42.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/README.md +8 -1
  2. package/dist/adapters/fleet/core-version.d.ts +1 -1
  3. package/dist/adapters/fleet/core-version.js +1 -1
  4. package/dist/adapters/fleet/rest-fleet-door.js +1 -1
  5. package/dist/adapters/fleet/rest-fleet-door.js.map +1 -1
  6. package/dist/adapters/http/plugin-dispatch.d.ts +24 -0
  7. package/dist/adapters/http/plugin-dispatch.js +22 -0
  8. package/dist/adapters/http/plugin-dispatch.js.map +1 -0
  9. package/dist/adapters/http/plugin-server.d.ts +6 -0
  10. package/dist/adapters/http/plugin-server.js +11 -0
  11. package/dist/adapters/http/plugin-server.js.map +1 -0
  12. package/dist/adapters/http/repository-procedures.d.ts +38 -0
  13. package/dist/adapters/http/repository-procedures.js +36 -0
  14. package/dist/adapters/http/repository-procedures.js.map +1 -0
  15. package/dist/adapters/prisma/fleet-forgetter.js +1 -1
  16. package/dist/adapters/prisma/fleet-forgetter.js.map +1 -1
  17. package/dist/adapters/prisma/generated/browser.d.ts +15 -0
  18. package/dist/adapters/prisma/generated/client.d.ts +15 -0
  19. package/dist/adapters/prisma/generated/internal/class.d.ts +33 -0
  20. package/dist/adapters/prisma/generated/internal/class.js +4 -4
  21. package/dist/adapters/prisma/generated/internal/class.js.map +1 -1
  22. package/dist/adapters/prisma/generated/internal/prismaNamespace.d.ts +251 -1
  23. package/dist/adapters/prisma/generated/internal/prismaNamespace.js +23 -1
  24. package/dist/adapters/prisma/generated/internal/prismaNamespace.js.map +1 -1
  25. package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.d.ts +25 -0
  26. package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js +23 -1
  27. package/dist/adapters/prisma/generated/internal/prismaNamespaceBrowser.js.map +1 -1
  28. package/dist/adapters/prisma/generated/models/PluginDispatchReservation.d.ts +975 -0
  29. package/dist/adapters/prisma/generated/models/PluginDispatchReservation.js +2 -0
  30. package/dist/adapters/prisma/generated/models/PluginDispatchReservation.js.map +1 -0
  31. package/dist/adapters/prisma/generated/models/RepositoryEvent.d.ts +1062 -0
  32. package/dist/adapters/prisma/generated/models/RepositoryEvent.js +2 -0
  33. package/dist/adapters/prisma/generated/models/RepositoryEvent.js.map +1 -0
  34. package/dist/adapters/prisma/generated/models/RepositoryList.d.ts +973 -0
  35. package/dist/adapters/prisma/generated/models/RepositoryList.js +2 -0
  36. package/dist/adapters/prisma/generated/models/RepositoryList.js.map +1 -0
  37. package/dist/adapters/prisma/generated/models.d.ts +3 -0
  38. package/dist/adapters/prisma/installation-requests.js +1 -1
  39. package/dist/adapters/prisma/installation-requests.js.map +1 -1
  40. package/dist/adapters/prisma/plugin-reservations.d.ts +7 -0
  41. package/dist/adapters/prisma/plugin-reservations.js +12 -0
  42. package/dist/adapters/prisma/plugin-reservations.js.map +1 -0
  43. package/dist/adapters/prisma/repositories.d.ts +4 -0
  44. package/dist/adapters/prisma/repositories.js +22 -0
  45. package/dist/adapters/prisma/repositories.js.map +1 -0
  46. package/dist/adapters/trpc/router.d.ts +16 -0
  47. package/dist/adapters/trpc/router.js +12 -0
  48. package/dist/adapters/trpc/router.js.map +1 -1
  49. package/dist/app.d.ts +3 -1
  50. package/dist/app.js +28 -0
  51. package/dist/app.js.map +1 -1
  52. package/dist/bin/aeolus-trierarch-plugin.js +3 -0
  53. package/dist/bin/aeolus-trierarch-plugin.js.map +1 -1
  54. package/dist/config.d.ts +3 -0
  55. package/dist/config.js +18 -0
  56. package/dist/config.js.map +1 -1
  57. package/dist/core/connection/ports.d.ts +4 -0
  58. package/dist/core/installation/installation-connect.d.ts +25 -0
  59. package/dist/core/installation/installation-connect.js +23 -0
  60. package/dist/core/installation/installation-connect.js.map +1 -0
  61. package/dist/core/installation/ports.d.ts +3 -3
  62. package/dist/core/repositories/manage-repositories.d.ts +38 -0
  63. package/dist/core/repositories/manage-repositories.js +24 -0
  64. package/dist/core/repositories/manage-repositories.js.map +1 -0
  65. package/dist/core/repositories/repository-list.d.ts +23 -0
  66. package/dist/core/repositories/repository-list.js +20 -0
  67. package/dist/core/repositories/repository-list.js.map +1 -0
  68. package/dist/core/scopes/declare-scopes.js +2 -2
  69. package/dist/core/scopes/declare-scopes.js.map +1 -1
  70. package/dist/core/scopes/plugin-scopes.d.ts +1 -0
  71. package/dist/core/scopes/plugin-scopes.js +2 -1
  72. package/dist/core/scopes/plugin-scopes.js.map +1 -1
  73. package/dist/core/shared/errors.d.ts +1 -1
  74. package/dist/core/shared/errors.js.map +1 -1
  75. package/package.json +3 -3
  76. package/src/adapters/prisma/migrations/20261118000000_repository_lists/migration.sql +14 -0
  77. package/src/adapters/prisma/migrations/20261118000001_plugin_reservations/migration.sql +8 -0
  78. package/src/adapters/prisma/schema.prisma +34 -0
@@ -0,0 +1,973 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model RepositoryList
5
+ * The current trusted repository list for one fleet, guarded by its version.
6
+ */
7
+ export type RepositoryListModel = runtime.Types.Result.DefaultSelection<Prisma.$RepositoryListPayload>;
8
+ export type AggregateRepositoryList = {
9
+ _count: RepositoryListCountAggregateOutputType | null;
10
+ _avg: RepositoryListAvgAggregateOutputType | null;
11
+ _sum: RepositoryListSumAggregateOutputType | null;
12
+ _min: RepositoryListMinAggregateOutputType | null;
13
+ _max: RepositoryListMaxAggregateOutputType | null;
14
+ };
15
+ export type RepositoryListAvgAggregateOutputType = {
16
+ version: number | null;
17
+ };
18
+ export type RepositoryListSumAggregateOutputType = {
19
+ version: number | null;
20
+ };
21
+ export type RepositoryListMinAggregateOutputType = {
22
+ fleetId: string | null;
23
+ version: number | null;
24
+ };
25
+ export type RepositoryListMaxAggregateOutputType = {
26
+ fleetId: string | null;
27
+ version: number | null;
28
+ };
29
+ export type RepositoryListCountAggregateOutputType = {
30
+ fleetId: number;
31
+ version: number;
32
+ repositories: number;
33
+ _all: number;
34
+ };
35
+ export type RepositoryListAvgAggregateInputType = {
36
+ version?: true;
37
+ };
38
+ export type RepositoryListSumAggregateInputType = {
39
+ version?: true;
40
+ };
41
+ export type RepositoryListMinAggregateInputType = {
42
+ fleetId?: true;
43
+ version?: true;
44
+ };
45
+ export type RepositoryListMaxAggregateInputType = {
46
+ fleetId?: true;
47
+ version?: true;
48
+ };
49
+ export type RepositoryListCountAggregateInputType = {
50
+ fleetId?: true;
51
+ version?: true;
52
+ repositories?: true;
53
+ _all?: true;
54
+ };
55
+ export type RepositoryListAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
56
+ /**
57
+ * Filter which RepositoryList to aggregate.
58
+ */
59
+ where?: Prisma.RepositoryListWhereInput;
60
+ /**
61
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
62
+ *
63
+ * Determine the order of RepositoryLists to fetch.
64
+ */
65
+ orderBy?: Prisma.RepositoryListOrderByWithRelationInput | Prisma.RepositoryListOrderByWithRelationInput[];
66
+ /**
67
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
68
+ *
69
+ * Sets the start position
70
+ */
71
+ cursor?: Prisma.RepositoryListWhereUniqueInput;
72
+ /**
73
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
74
+ *
75
+ * Take `±n` RepositoryLists from the position of the cursor.
76
+ */
77
+ take?: number;
78
+ /**
79
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
80
+ *
81
+ * Skip the first `n` RepositoryLists.
82
+ */
83
+ skip?: number;
84
+ /**
85
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
86
+ *
87
+ * Count returned RepositoryLists
88
+ **/
89
+ _count?: true | RepositoryListCountAggregateInputType;
90
+ /**
91
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
92
+ *
93
+ * Select which fields to average
94
+ **/
95
+ _avg?: RepositoryListAvgAggregateInputType;
96
+ /**
97
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
98
+ *
99
+ * Select which fields to sum
100
+ **/
101
+ _sum?: RepositoryListSumAggregateInputType;
102
+ /**
103
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
104
+ *
105
+ * Select which fields to find the minimum value
106
+ **/
107
+ _min?: RepositoryListMinAggregateInputType;
108
+ /**
109
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
110
+ *
111
+ * Select which fields to find the maximum value
112
+ **/
113
+ _max?: RepositoryListMaxAggregateInputType;
114
+ };
115
+ export type GetRepositoryListAggregateType<T extends RepositoryListAggregateArgs> = {
116
+ [P in keyof T & keyof AggregateRepositoryList]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateRepositoryList[P]> : Prisma.GetScalarType<T[P], AggregateRepositoryList[P]>;
117
+ };
118
+ export type RepositoryListGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
119
+ where?: Prisma.RepositoryListWhereInput;
120
+ orderBy?: Prisma.RepositoryListOrderByWithAggregationInput | Prisma.RepositoryListOrderByWithAggregationInput[];
121
+ by: Prisma.RepositoryListScalarFieldEnum[] | Prisma.RepositoryListScalarFieldEnum;
122
+ having?: Prisma.RepositoryListScalarWhereWithAggregatesInput;
123
+ take?: number;
124
+ skip?: number;
125
+ _count?: RepositoryListCountAggregateInputType | true;
126
+ _avg?: RepositoryListAvgAggregateInputType;
127
+ _sum?: RepositoryListSumAggregateInputType;
128
+ _min?: RepositoryListMinAggregateInputType;
129
+ _max?: RepositoryListMaxAggregateInputType;
130
+ };
131
+ export type RepositoryListGroupByOutputType = {
132
+ fleetId: string;
133
+ version: number;
134
+ repositories: runtime.JsonValue;
135
+ _count: RepositoryListCountAggregateOutputType | null;
136
+ _avg: RepositoryListAvgAggregateOutputType | null;
137
+ _sum: RepositoryListSumAggregateOutputType | null;
138
+ _min: RepositoryListMinAggregateOutputType | null;
139
+ _max: RepositoryListMaxAggregateOutputType | null;
140
+ };
141
+ export type GetRepositoryListGroupByPayload<T extends RepositoryListGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<RepositoryListGroupByOutputType, T['by']> & {
142
+ [P in ((keyof T) & (keyof RepositoryListGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], RepositoryListGroupByOutputType[P]> : Prisma.GetScalarType<T[P], RepositoryListGroupByOutputType[P]>;
143
+ }>>;
144
+ export type RepositoryListWhereInput = {
145
+ AND?: Prisma.RepositoryListWhereInput | Prisma.RepositoryListWhereInput[];
146
+ OR?: Prisma.RepositoryListWhereInput[];
147
+ NOT?: Prisma.RepositoryListWhereInput | Prisma.RepositoryListWhereInput[];
148
+ fleetId?: Prisma.StringFilter<"RepositoryList"> | string;
149
+ version?: Prisma.IntFilter<"RepositoryList"> | number;
150
+ repositories?: Prisma.JsonFilter<"RepositoryList">;
151
+ };
152
+ export type RepositoryListOrderByWithRelationInput = {
153
+ fleetId?: Prisma.SortOrder;
154
+ version?: Prisma.SortOrder;
155
+ repositories?: Prisma.SortOrder;
156
+ };
157
+ export type RepositoryListWhereUniqueInput = Prisma.AtLeast<{
158
+ fleetId?: string;
159
+ AND?: Prisma.RepositoryListWhereInput | Prisma.RepositoryListWhereInput[];
160
+ OR?: Prisma.RepositoryListWhereInput[];
161
+ NOT?: Prisma.RepositoryListWhereInput | Prisma.RepositoryListWhereInput[];
162
+ version?: Prisma.IntFilter<"RepositoryList"> | number;
163
+ repositories?: Prisma.JsonFilter<"RepositoryList">;
164
+ }, "fleetId">;
165
+ export type RepositoryListOrderByWithAggregationInput = {
166
+ fleetId?: Prisma.SortOrder;
167
+ version?: Prisma.SortOrder;
168
+ repositories?: Prisma.SortOrder;
169
+ _count?: Prisma.RepositoryListCountOrderByAggregateInput;
170
+ _avg?: Prisma.RepositoryListAvgOrderByAggregateInput;
171
+ _max?: Prisma.RepositoryListMaxOrderByAggregateInput;
172
+ _min?: Prisma.RepositoryListMinOrderByAggregateInput;
173
+ _sum?: Prisma.RepositoryListSumOrderByAggregateInput;
174
+ };
175
+ export type RepositoryListScalarWhereWithAggregatesInput = {
176
+ AND?: Prisma.RepositoryListScalarWhereWithAggregatesInput | Prisma.RepositoryListScalarWhereWithAggregatesInput[];
177
+ OR?: Prisma.RepositoryListScalarWhereWithAggregatesInput[];
178
+ NOT?: Prisma.RepositoryListScalarWhereWithAggregatesInput | Prisma.RepositoryListScalarWhereWithAggregatesInput[];
179
+ fleetId?: Prisma.StringWithAggregatesFilter<"RepositoryList"> | string;
180
+ version?: Prisma.IntWithAggregatesFilter<"RepositoryList"> | number;
181
+ repositories?: Prisma.JsonWithAggregatesFilter<"RepositoryList">;
182
+ };
183
+ export type RepositoryListCreateInput = {
184
+ fleetId: string;
185
+ version: number;
186
+ repositories: Prisma.JsonNullValueInput | runtime.InputJsonValue;
187
+ };
188
+ export type RepositoryListUncheckedCreateInput = {
189
+ fleetId: string;
190
+ version: number;
191
+ repositories: Prisma.JsonNullValueInput | runtime.InputJsonValue;
192
+ };
193
+ export type RepositoryListUpdateInput = {
194
+ fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
195
+ version?: Prisma.IntFieldUpdateOperationsInput | number;
196
+ repositories?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
197
+ };
198
+ export type RepositoryListUncheckedUpdateInput = {
199
+ fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
200
+ version?: Prisma.IntFieldUpdateOperationsInput | number;
201
+ repositories?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
202
+ };
203
+ export type RepositoryListCreateManyInput = {
204
+ fleetId: string;
205
+ version: number;
206
+ repositories: Prisma.JsonNullValueInput | runtime.InputJsonValue;
207
+ };
208
+ export type RepositoryListUpdateManyMutationInput = {
209
+ fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
210
+ version?: Prisma.IntFieldUpdateOperationsInput | number;
211
+ repositories?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
212
+ };
213
+ export type RepositoryListUncheckedUpdateManyInput = {
214
+ fleetId?: Prisma.StringFieldUpdateOperationsInput | string;
215
+ version?: Prisma.IntFieldUpdateOperationsInput | number;
216
+ repositories?: Prisma.JsonNullValueInput | runtime.InputJsonValue;
217
+ };
218
+ export type RepositoryListCountOrderByAggregateInput = {
219
+ fleetId?: Prisma.SortOrder;
220
+ version?: Prisma.SortOrder;
221
+ repositories?: Prisma.SortOrder;
222
+ };
223
+ export type RepositoryListAvgOrderByAggregateInput = {
224
+ version?: Prisma.SortOrder;
225
+ };
226
+ export type RepositoryListMaxOrderByAggregateInput = {
227
+ fleetId?: Prisma.SortOrder;
228
+ version?: Prisma.SortOrder;
229
+ };
230
+ export type RepositoryListMinOrderByAggregateInput = {
231
+ fleetId?: Prisma.SortOrder;
232
+ version?: Prisma.SortOrder;
233
+ };
234
+ export type RepositoryListSumOrderByAggregateInput = {
235
+ version?: Prisma.SortOrder;
236
+ };
237
+ export type RepositoryListSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
238
+ fleetId?: boolean;
239
+ version?: boolean;
240
+ repositories?: boolean;
241
+ }, ExtArgs["result"]["repositoryList"]>;
242
+ export type RepositoryListSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
243
+ fleetId?: boolean;
244
+ version?: boolean;
245
+ repositories?: boolean;
246
+ }, ExtArgs["result"]["repositoryList"]>;
247
+ export type RepositoryListSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
248
+ fleetId?: boolean;
249
+ version?: boolean;
250
+ repositories?: boolean;
251
+ }, ExtArgs["result"]["repositoryList"]>;
252
+ export type RepositoryListSelectScalar = {
253
+ fleetId?: boolean;
254
+ version?: boolean;
255
+ repositories?: boolean;
256
+ };
257
+ export type RepositoryListOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"fleetId" | "version" | "repositories", ExtArgs["result"]["repositoryList"]>;
258
+ export type $RepositoryListPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
259
+ name: "RepositoryList";
260
+ objects: {};
261
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
262
+ fleetId: string;
263
+ version: number;
264
+ repositories: runtime.JsonValue;
265
+ }, ExtArgs["result"]["repositoryList"]>;
266
+ composites: {};
267
+ };
268
+ export type RepositoryListGetPayload<S extends boolean | null | undefined | RepositoryListDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$RepositoryListPayload, S>;
269
+ export type RepositoryListCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<RepositoryListFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
270
+ select?: RepositoryListCountAggregateInputType | true;
271
+ };
272
+ export interface RepositoryListDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
273
+ [K: symbol]: {
274
+ types: Prisma.TypeMap<ExtArgs>['model']['RepositoryList'];
275
+ meta: {
276
+ name: 'RepositoryList';
277
+ };
278
+ };
279
+ /**
280
+ * Find zero or one RepositoryList that matches the filter.
281
+ * @param {RepositoryListFindUniqueArgs} args - Arguments to find a RepositoryList
282
+ * @example
283
+ * // Get one RepositoryList
284
+ * const repositoryList = await prisma.repositoryList.findUnique({
285
+ * where: {
286
+ * // ... provide filter here
287
+ * }
288
+ * })
289
+ */
290
+ findUnique<T extends RepositoryListFindUniqueArgs>(args: Prisma.SelectSubset<T, RepositoryListFindUniqueArgs<ExtArgs>>): Prisma.Prisma__RepositoryListClient<runtime.Types.Result.GetResult<Prisma.$RepositoryListPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
291
+ /**
292
+ * Find one RepositoryList that matches the filter or throw an error with `error.code='P2025'`
293
+ * if no matches were found.
294
+ * @param {RepositoryListFindUniqueOrThrowArgs} args - Arguments to find a RepositoryList
295
+ * @example
296
+ * // Get one RepositoryList
297
+ * const repositoryList = await prisma.repositoryList.findUniqueOrThrow({
298
+ * where: {
299
+ * // ... provide filter here
300
+ * }
301
+ * })
302
+ */
303
+ findUniqueOrThrow<T extends RepositoryListFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, RepositoryListFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__RepositoryListClient<runtime.Types.Result.GetResult<Prisma.$RepositoryListPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
304
+ /**
305
+ * Find the first RepositoryList that matches the filter.
306
+ * Note, that providing `undefined` is treated as the value not being there.
307
+ * Read more here: https://pris.ly/d/null-undefined
308
+ * @param {RepositoryListFindFirstArgs} args - Arguments to find a RepositoryList
309
+ * @example
310
+ * // Get one RepositoryList
311
+ * const repositoryList = await prisma.repositoryList.findFirst({
312
+ * where: {
313
+ * // ... provide filter here
314
+ * }
315
+ * })
316
+ */
317
+ findFirst<T extends RepositoryListFindFirstArgs>(args?: Prisma.SelectSubset<T, RepositoryListFindFirstArgs<ExtArgs>>): Prisma.Prisma__RepositoryListClient<runtime.Types.Result.GetResult<Prisma.$RepositoryListPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
318
+ /**
319
+ * Find the first RepositoryList that matches the filter or
320
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
321
+ * Note, that providing `undefined` is treated as the value not being there.
322
+ * Read more here: https://pris.ly/d/null-undefined
323
+ * @param {RepositoryListFindFirstOrThrowArgs} args - Arguments to find a RepositoryList
324
+ * @example
325
+ * // Get one RepositoryList
326
+ * const repositoryList = await prisma.repositoryList.findFirstOrThrow({
327
+ * where: {
328
+ * // ... provide filter here
329
+ * }
330
+ * })
331
+ */
332
+ findFirstOrThrow<T extends RepositoryListFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, RepositoryListFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__RepositoryListClient<runtime.Types.Result.GetResult<Prisma.$RepositoryListPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
333
+ /**
334
+ * Find zero or more RepositoryLists that matches the filter.
335
+ * Note, that providing `undefined` is treated as the value not being there.
336
+ * Read more here: https://pris.ly/d/null-undefined
337
+ * @param {RepositoryListFindManyArgs} args - Arguments to filter and select certain fields only.
338
+ * @example
339
+ * // Get all RepositoryLists
340
+ * const repositoryLists = await prisma.repositoryList.findMany()
341
+ *
342
+ * // Get first 10 RepositoryLists
343
+ * const repositoryLists = await prisma.repositoryList.findMany({ take: 10 })
344
+ *
345
+ * // Only select the `fleetId`
346
+ * const repositoryListWithFleetIdOnly = await prisma.repositoryList.findMany({ select: { fleetId: true } })
347
+ *
348
+ */
349
+ findMany<T extends RepositoryListFindManyArgs>(args?: Prisma.SelectSubset<T, RepositoryListFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RepositoryListPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
350
+ /**
351
+ * Create a RepositoryList.
352
+ * @param {RepositoryListCreateArgs} args - Arguments to create a RepositoryList.
353
+ * @example
354
+ * // Create one RepositoryList
355
+ * const RepositoryList = await prisma.repositoryList.create({
356
+ * data: {
357
+ * // ... data to create a RepositoryList
358
+ * }
359
+ * })
360
+ *
361
+ */
362
+ create<T extends RepositoryListCreateArgs>(args: Prisma.SelectSubset<T, RepositoryListCreateArgs<ExtArgs>>): Prisma.Prisma__RepositoryListClient<runtime.Types.Result.GetResult<Prisma.$RepositoryListPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
363
+ /**
364
+ * Create many RepositoryLists.
365
+ * @param {RepositoryListCreateManyArgs} args - Arguments to create many RepositoryLists.
366
+ * @example
367
+ * // Create many RepositoryLists
368
+ * const repositoryList = await prisma.repositoryList.createMany({
369
+ * data: [
370
+ * // ... provide data here
371
+ * ]
372
+ * })
373
+ *
374
+ */
375
+ createMany<T extends RepositoryListCreateManyArgs>(args?: Prisma.SelectSubset<T, RepositoryListCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
376
+ /**
377
+ * Create many RepositoryLists and returns the data saved in the database.
378
+ * @param {RepositoryListCreateManyAndReturnArgs} args - Arguments to create many RepositoryLists.
379
+ * @example
380
+ * // Create many RepositoryLists
381
+ * const repositoryList = await prisma.repositoryList.createManyAndReturn({
382
+ * data: [
383
+ * // ... provide data here
384
+ * ]
385
+ * })
386
+ *
387
+ * // Create many RepositoryLists and only return the `fleetId`
388
+ * const repositoryListWithFleetIdOnly = await prisma.repositoryList.createManyAndReturn({
389
+ * select: { fleetId: true },
390
+ * data: [
391
+ * // ... provide data here
392
+ * ]
393
+ * })
394
+ * Note, that providing `undefined` is treated as the value not being there.
395
+ * Read more here: https://pris.ly/d/null-undefined
396
+ *
397
+ */
398
+ createManyAndReturn<T extends RepositoryListCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, RepositoryListCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RepositoryListPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
399
+ /**
400
+ * Delete a RepositoryList.
401
+ * @param {RepositoryListDeleteArgs} args - Arguments to delete one RepositoryList.
402
+ * @example
403
+ * // Delete one RepositoryList
404
+ * const RepositoryList = await prisma.repositoryList.delete({
405
+ * where: {
406
+ * // ... filter to delete one RepositoryList
407
+ * }
408
+ * })
409
+ *
410
+ */
411
+ delete<T extends RepositoryListDeleteArgs>(args: Prisma.SelectSubset<T, RepositoryListDeleteArgs<ExtArgs>>): Prisma.Prisma__RepositoryListClient<runtime.Types.Result.GetResult<Prisma.$RepositoryListPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
412
+ /**
413
+ * Update one RepositoryList.
414
+ * @param {RepositoryListUpdateArgs} args - Arguments to update one RepositoryList.
415
+ * @example
416
+ * // Update one RepositoryList
417
+ * const repositoryList = await prisma.repositoryList.update({
418
+ * where: {
419
+ * // ... provide filter here
420
+ * },
421
+ * data: {
422
+ * // ... provide data here
423
+ * }
424
+ * })
425
+ *
426
+ */
427
+ update<T extends RepositoryListUpdateArgs>(args: Prisma.SelectSubset<T, RepositoryListUpdateArgs<ExtArgs>>): Prisma.Prisma__RepositoryListClient<runtime.Types.Result.GetResult<Prisma.$RepositoryListPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
428
+ /**
429
+ * Delete zero or more RepositoryLists.
430
+ * @param {RepositoryListDeleteManyArgs} args - Arguments to filter RepositoryLists to delete.
431
+ * @example
432
+ * // Delete a few RepositoryLists
433
+ * const { count } = await prisma.repositoryList.deleteMany({
434
+ * where: {
435
+ * // ... provide filter here
436
+ * }
437
+ * })
438
+ *
439
+ */
440
+ deleteMany<T extends RepositoryListDeleteManyArgs>(args?: Prisma.SelectSubset<T, RepositoryListDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
441
+ /**
442
+ * Update zero or more RepositoryLists.
443
+ * Note, that providing `undefined` is treated as the value not being there.
444
+ * Read more here: https://pris.ly/d/null-undefined
445
+ * @param {RepositoryListUpdateManyArgs} args - Arguments to update one or more rows.
446
+ * @example
447
+ * // Update many RepositoryLists
448
+ * const repositoryList = await prisma.repositoryList.updateMany({
449
+ * where: {
450
+ * // ... provide filter here
451
+ * },
452
+ * data: {
453
+ * // ... provide data here
454
+ * }
455
+ * })
456
+ *
457
+ */
458
+ updateMany<T extends RepositoryListUpdateManyArgs>(args: Prisma.SelectSubset<T, RepositoryListUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
459
+ /**
460
+ * Update zero or more RepositoryLists and returns the data updated in the database.
461
+ * @param {RepositoryListUpdateManyAndReturnArgs} args - Arguments to update many RepositoryLists.
462
+ * @example
463
+ * // Update many RepositoryLists
464
+ * const repositoryList = await prisma.repositoryList.updateManyAndReturn({
465
+ * where: {
466
+ * // ... provide filter here
467
+ * },
468
+ * data: [
469
+ * // ... provide data here
470
+ * ]
471
+ * })
472
+ *
473
+ * // Update zero or more RepositoryLists and only return the `fleetId`
474
+ * const repositoryListWithFleetIdOnly = await prisma.repositoryList.updateManyAndReturn({
475
+ * select: { fleetId: true },
476
+ * where: {
477
+ * // ... provide filter here
478
+ * },
479
+ * data: [
480
+ * // ... provide data here
481
+ * ]
482
+ * })
483
+ * Note, that providing `undefined` is treated as the value not being there.
484
+ * Read more here: https://pris.ly/d/null-undefined
485
+ *
486
+ */
487
+ updateManyAndReturn<T extends RepositoryListUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, RepositoryListUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$RepositoryListPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
488
+ /**
489
+ * Create or update one RepositoryList.
490
+ * @param {RepositoryListUpsertArgs} args - Arguments to update or create a RepositoryList.
491
+ * @example
492
+ * // Update or create a RepositoryList
493
+ * const repositoryList = await prisma.repositoryList.upsert({
494
+ * create: {
495
+ * // ... data to create a RepositoryList
496
+ * },
497
+ * update: {
498
+ * // ... in case it already exists, update
499
+ * },
500
+ * where: {
501
+ * // ... the filter for the RepositoryList we want to update
502
+ * }
503
+ * })
504
+ */
505
+ upsert<T extends RepositoryListUpsertArgs>(args: Prisma.SelectSubset<T, RepositoryListUpsertArgs<ExtArgs>>): Prisma.Prisma__RepositoryListClient<runtime.Types.Result.GetResult<Prisma.$RepositoryListPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
506
+ /**
507
+ * Count the number of RepositoryLists.
508
+ * Note, that providing `undefined` is treated as the value not being there.
509
+ * Read more here: https://pris.ly/d/null-undefined
510
+ * @param {RepositoryListCountArgs} args - Arguments to filter RepositoryLists to count.
511
+ * @example
512
+ * // Count the number of RepositoryLists
513
+ * const count = await prisma.repositoryList.count({
514
+ * where: {
515
+ * // ... the filter for the RepositoryLists we want to count
516
+ * }
517
+ * })
518
+ **/
519
+ count<T extends RepositoryListCountArgs>(args?: Prisma.Subset<T, RepositoryListCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], RepositoryListCountAggregateOutputType> : number>;
520
+ /**
521
+ * Allows you to perform aggregations operations on a RepositoryList.
522
+ * Note, that providing `undefined` is treated as the value not being there.
523
+ * Read more here: https://pris.ly/d/null-undefined
524
+ * @param {RepositoryListAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
525
+ * @example
526
+ * // Ordered by age ascending
527
+ * // Where email contains prisma.io
528
+ * // Limited to the 10 users
529
+ * const aggregations = await prisma.user.aggregate({
530
+ * _avg: {
531
+ * age: true,
532
+ * },
533
+ * where: {
534
+ * email: {
535
+ * contains: "prisma.io",
536
+ * },
537
+ * },
538
+ * orderBy: {
539
+ * age: "asc",
540
+ * },
541
+ * take: 10,
542
+ * })
543
+ **/
544
+ aggregate<T extends RepositoryListAggregateArgs>(args: Prisma.Subset<T, RepositoryListAggregateArgs>): Prisma.PrismaPromise<GetRepositoryListAggregateType<T>>;
545
+ /**
546
+ * Group by RepositoryList.
547
+ * Note, that providing `undefined` is treated as the value not being there.
548
+ * Read more here: https://pris.ly/d/null-undefined
549
+ * @param {RepositoryListGroupByArgs} args - Group by arguments.
550
+ * @example
551
+ * // Group by city, order by createdAt, get count
552
+ * const result = await prisma.user.groupBy({
553
+ * by: ['city', 'createdAt'],
554
+ * orderBy: {
555
+ * createdAt: true
556
+ * },
557
+ * _count: {
558
+ * _all: true
559
+ * },
560
+ * })
561
+ *
562
+ **/
563
+ groupBy<T extends RepositoryListGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
564
+ orderBy: RepositoryListGroupByArgs['orderBy'];
565
+ } : {
566
+ orderBy?: RepositoryListGroupByArgs['orderBy'];
567
+ }, 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 ? {
568
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
569
+ Error,
570
+ 'Field ',
571
+ P,
572
+ ` in "having" needs to be provided in "by"`
573
+ ];
574
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
575
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
576
+ }[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 ? {} : {
577
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
578
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
579
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
580
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, RepositoryListGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetRepositoryListGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
581
+ /**
582
+ * Fields of the RepositoryList model
583
+ */
584
+ readonly fields: RepositoryListFieldRefs;
585
+ }
586
+ /**
587
+ * The delegate class that acts as a "Promise-like" for RepositoryList.
588
+ * Why is this prefixed with `Prisma__`?
589
+ * Because we want to prevent naming conflicts as mentioned in
590
+ * https://github.com/prisma/prisma-client-js/issues/707
591
+ */
592
+ export interface Prisma__RepositoryListClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
593
+ readonly [Symbol.toStringTag]: "PrismaPromise";
594
+ /**
595
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
596
+ * @param onfulfilled The callback to execute when the Promise is resolved.
597
+ * @param onrejected The callback to execute when the Promise is rejected.
598
+ * @returns A Promise for the completion of which ever callback is executed.
599
+ */
600
+ 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>;
601
+ /**
602
+ * Attaches a callback for only the rejection of the Promise.
603
+ * @param onrejected The callback to execute when the Promise is rejected.
604
+ * @returns A Promise for the completion of the callback.
605
+ */
606
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
607
+ /**
608
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
609
+ * resolved value cannot be modified from the callback.
610
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
611
+ * @returns A Promise for the completion of the callback.
612
+ */
613
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
614
+ }
615
+ /**
616
+ * Fields of the RepositoryList model
617
+ */
618
+ export interface RepositoryListFieldRefs {
619
+ readonly fleetId: Prisma.FieldRef<"RepositoryList", 'String'>;
620
+ readonly version: Prisma.FieldRef<"RepositoryList", 'Int'>;
621
+ readonly repositories: Prisma.FieldRef<"RepositoryList", 'Json'>;
622
+ }
623
+ /**
624
+ * RepositoryList findUnique
625
+ */
626
+ export type RepositoryListFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
627
+ /**
628
+ * Select specific fields to fetch from the RepositoryList
629
+ */
630
+ select?: Prisma.RepositoryListSelect<ExtArgs> | null;
631
+ /**
632
+ * Omit specific fields from the RepositoryList
633
+ */
634
+ omit?: Prisma.RepositoryListOmit<ExtArgs> | null;
635
+ /**
636
+ * Filter, which RepositoryList to fetch.
637
+ */
638
+ where: Prisma.RepositoryListWhereUniqueInput;
639
+ };
640
+ /**
641
+ * RepositoryList findUniqueOrThrow
642
+ */
643
+ export type RepositoryListFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
644
+ /**
645
+ * Select specific fields to fetch from the RepositoryList
646
+ */
647
+ select?: Prisma.RepositoryListSelect<ExtArgs> | null;
648
+ /**
649
+ * Omit specific fields from the RepositoryList
650
+ */
651
+ omit?: Prisma.RepositoryListOmit<ExtArgs> | null;
652
+ /**
653
+ * Filter, which RepositoryList to fetch.
654
+ */
655
+ where: Prisma.RepositoryListWhereUniqueInput;
656
+ };
657
+ /**
658
+ * RepositoryList findFirst
659
+ */
660
+ export type RepositoryListFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
661
+ /**
662
+ * Select specific fields to fetch from the RepositoryList
663
+ */
664
+ select?: Prisma.RepositoryListSelect<ExtArgs> | null;
665
+ /**
666
+ * Omit specific fields from the RepositoryList
667
+ */
668
+ omit?: Prisma.RepositoryListOmit<ExtArgs> | null;
669
+ /**
670
+ * Filter, which RepositoryList to fetch.
671
+ */
672
+ where?: Prisma.RepositoryListWhereInput;
673
+ /**
674
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
675
+ *
676
+ * Determine the order of RepositoryLists to fetch.
677
+ */
678
+ orderBy?: Prisma.RepositoryListOrderByWithRelationInput | Prisma.RepositoryListOrderByWithRelationInput[];
679
+ /**
680
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
681
+ *
682
+ * Sets the position for searching for RepositoryLists.
683
+ */
684
+ cursor?: Prisma.RepositoryListWhereUniqueInput;
685
+ /**
686
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
687
+ *
688
+ * Take `±n` RepositoryLists from the position of the cursor.
689
+ */
690
+ take?: number;
691
+ /**
692
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
693
+ *
694
+ * Skip the first `n` RepositoryLists.
695
+ */
696
+ skip?: number;
697
+ /**
698
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
699
+ *
700
+ * Filter by unique combinations of RepositoryLists.
701
+ */
702
+ distinct?: Prisma.RepositoryListScalarFieldEnum | Prisma.RepositoryListScalarFieldEnum[];
703
+ };
704
+ /**
705
+ * RepositoryList findFirstOrThrow
706
+ */
707
+ export type RepositoryListFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
708
+ /**
709
+ * Select specific fields to fetch from the RepositoryList
710
+ */
711
+ select?: Prisma.RepositoryListSelect<ExtArgs> | null;
712
+ /**
713
+ * Omit specific fields from the RepositoryList
714
+ */
715
+ omit?: Prisma.RepositoryListOmit<ExtArgs> | null;
716
+ /**
717
+ * Filter, which RepositoryList to fetch.
718
+ */
719
+ where?: Prisma.RepositoryListWhereInput;
720
+ /**
721
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
722
+ *
723
+ * Determine the order of RepositoryLists to fetch.
724
+ */
725
+ orderBy?: Prisma.RepositoryListOrderByWithRelationInput | Prisma.RepositoryListOrderByWithRelationInput[];
726
+ /**
727
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
728
+ *
729
+ * Sets the position for searching for RepositoryLists.
730
+ */
731
+ cursor?: Prisma.RepositoryListWhereUniqueInput;
732
+ /**
733
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
734
+ *
735
+ * Take `±n` RepositoryLists from the position of the cursor.
736
+ */
737
+ take?: number;
738
+ /**
739
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
740
+ *
741
+ * Skip the first `n` RepositoryLists.
742
+ */
743
+ skip?: number;
744
+ /**
745
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
746
+ *
747
+ * Filter by unique combinations of RepositoryLists.
748
+ */
749
+ distinct?: Prisma.RepositoryListScalarFieldEnum | Prisma.RepositoryListScalarFieldEnum[];
750
+ };
751
+ /**
752
+ * RepositoryList findMany
753
+ */
754
+ export type RepositoryListFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
755
+ /**
756
+ * Select specific fields to fetch from the RepositoryList
757
+ */
758
+ select?: Prisma.RepositoryListSelect<ExtArgs> | null;
759
+ /**
760
+ * Omit specific fields from the RepositoryList
761
+ */
762
+ omit?: Prisma.RepositoryListOmit<ExtArgs> | null;
763
+ /**
764
+ * Filter, which RepositoryLists to fetch.
765
+ */
766
+ where?: Prisma.RepositoryListWhereInput;
767
+ /**
768
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
769
+ *
770
+ * Determine the order of RepositoryLists to fetch.
771
+ */
772
+ orderBy?: Prisma.RepositoryListOrderByWithRelationInput | Prisma.RepositoryListOrderByWithRelationInput[];
773
+ /**
774
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
775
+ *
776
+ * Sets the position for listing RepositoryLists.
777
+ */
778
+ cursor?: Prisma.RepositoryListWhereUniqueInput;
779
+ /**
780
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
781
+ *
782
+ * Take `±n` RepositoryLists from the position of the cursor.
783
+ */
784
+ take?: number;
785
+ /**
786
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
787
+ *
788
+ * Skip the first `n` RepositoryLists.
789
+ */
790
+ skip?: number;
791
+ /**
792
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
793
+ *
794
+ * Filter by unique combinations of RepositoryLists.
795
+ */
796
+ distinct?: Prisma.RepositoryListScalarFieldEnum | Prisma.RepositoryListScalarFieldEnum[];
797
+ };
798
+ /**
799
+ * RepositoryList create
800
+ */
801
+ export type RepositoryListCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
802
+ /**
803
+ * Select specific fields to fetch from the RepositoryList
804
+ */
805
+ select?: Prisma.RepositoryListSelect<ExtArgs> | null;
806
+ /**
807
+ * Omit specific fields from the RepositoryList
808
+ */
809
+ omit?: Prisma.RepositoryListOmit<ExtArgs> | null;
810
+ /**
811
+ * The data needed to create a RepositoryList.
812
+ */
813
+ data: Prisma.XOR<Prisma.RepositoryListCreateInput, Prisma.RepositoryListUncheckedCreateInput>;
814
+ };
815
+ /**
816
+ * RepositoryList createMany
817
+ */
818
+ export type RepositoryListCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
819
+ /**
820
+ * The data used to create many RepositoryLists.
821
+ */
822
+ data: Prisma.RepositoryListCreateManyInput | Prisma.RepositoryListCreateManyInput[];
823
+ skipDuplicates?: boolean;
824
+ };
825
+ /**
826
+ * RepositoryList createManyAndReturn
827
+ */
828
+ export type RepositoryListCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
829
+ /**
830
+ * Select specific fields to fetch from the RepositoryList
831
+ */
832
+ select?: Prisma.RepositoryListSelectCreateManyAndReturn<ExtArgs> | null;
833
+ /**
834
+ * Omit specific fields from the RepositoryList
835
+ */
836
+ omit?: Prisma.RepositoryListOmit<ExtArgs> | null;
837
+ /**
838
+ * The data used to create many RepositoryLists.
839
+ */
840
+ data: Prisma.RepositoryListCreateManyInput | Prisma.RepositoryListCreateManyInput[];
841
+ skipDuplicates?: boolean;
842
+ };
843
+ /**
844
+ * RepositoryList update
845
+ */
846
+ export type RepositoryListUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
847
+ /**
848
+ * Select specific fields to fetch from the RepositoryList
849
+ */
850
+ select?: Prisma.RepositoryListSelect<ExtArgs> | null;
851
+ /**
852
+ * Omit specific fields from the RepositoryList
853
+ */
854
+ omit?: Prisma.RepositoryListOmit<ExtArgs> | null;
855
+ /**
856
+ * The data needed to update a RepositoryList.
857
+ */
858
+ data: Prisma.XOR<Prisma.RepositoryListUpdateInput, Prisma.RepositoryListUncheckedUpdateInput>;
859
+ /**
860
+ * Choose, which RepositoryList to update.
861
+ */
862
+ where: Prisma.RepositoryListWhereUniqueInput;
863
+ };
864
+ /**
865
+ * RepositoryList updateMany
866
+ */
867
+ export type RepositoryListUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
868
+ /**
869
+ * The data used to update RepositoryLists.
870
+ */
871
+ data: Prisma.XOR<Prisma.RepositoryListUpdateManyMutationInput, Prisma.RepositoryListUncheckedUpdateManyInput>;
872
+ /**
873
+ * Filter which RepositoryLists to update
874
+ */
875
+ where?: Prisma.RepositoryListWhereInput;
876
+ /**
877
+ * Limit how many RepositoryLists to update.
878
+ */
879
+ limit?: number;
880
+ };
881
+ /**
882
+ * RepositoryList updateManyAndReturn
883
+ */
884
+ export type RepositoryListUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
885
+ /**
886
+ * Select specific fields to fetch from the RepositoryList
887
+ */
888
+ select?: Prisma.RepositoryListSelectUpdateManyAndReturn<ExtArgs> | null;
889
+ /**
890
+ * Omit specific fields from the RepositoryList
891
+ */
892
+ omit?: Prisma.RepositoryListOmit<ExtArgs> | null;
893
+ /**
894
+ * The data used to update RepositoryLists.
895
+ */
896
+ data: Prisma.XOR<Prisma.RepositoryListUpdateManyMutationInput, Prisma.RepositoryListUncheckedUpdateManyInput>;
897
+ /**
898
+ * Filter which RepositoryLists to update
899
+ */
900
+ where?: Prisma.RepositoryListWhereInput;
901
+ /**
902
+ * Limit how many RepositoryLists to update.
903
+ */
904
+ limit?: number;
905
+ };
906
+ /**
907
+ * RepositoryList upsert
908
+ */
909
+ export type RepositoryListUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
910
+ /**
911
+ * Select specific fields to fetch from the RepositoryList
912
+ */
913
+ select?: Prisma.RepositoryListSelect<ExtArgs> | null;
914
+ /**
915
+ * Omit specific fields from the RepositoryList
916
+ */
917
+ omit?: Prisma.RepositoryListOmit<ExtArgs> | null;
918
+ /**
919
+ * The filter to search for the RepositoryList to update in case it exists.
920
+ */
921
+ where: Prisma.RepositoryListWhereUniqueInput;
922
+ /**
923
+ * In case the RepositoryList found by the `where` argument doesn't exist, create a new RepositoryList with this data.
924
+ */
925
+ create: Prisma.XOR<Prisma.RepositoryListCreateInput, Prisma.RepositoryListUncheckedCreateInput>;
926
+ /**
927
+ * In case the RepositoryList was found with the provided `where` argument, update it with this data.
928
+ */
929
+ update: Prisma.XOR<Prisma.RepositoryListUpdateInput, Prisma.RepositoryListUncheckedUpdateInput>;
930
+ };
931
+ /**
932
+ * RepositoryList delete
933
+ */
934
+ export type RepositoryListDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
935
+ /**
936
+ * Select specific fields to fetch from the RepositoryList
937
+ */
938
+ select?: Prisma.RepositoryListSelect<ExtArgs> | null;
939
+ /**
940
+ * Omit specific fields from the RepositoryList
941
+ */
942
+ omit?: Prisma.RepositoryListOmit<ExtArgs> | null;
943
+ /**
944
+ * Filter which RepositoryList to delete.
945
+ */
946
+ where: Prisma.RepositoryListWhereUniqueInput;
947
+ };
948
+ /**
949
+ * RepositoryList deleteMany
950
+ */
951
+ export type RepositoryListDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
952
+ /**
953
+ * Filter which RepositoryLists to delete
954
+ */
955
+ where?: Prisma.RepositoryListWhereInput;
956
+ /**
957
+ * Limit how many RepositoryLists to delete.
958
+ */
959
+ limit?: number;
960
+ };
961
+ /**
962
+ * RepositoryList without action
963
+ */
964
+ export type RepositoryListDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
965
+ /**
966
+ * Select specific fields to fetch from the RepositoryList
967
+ */
968
+ select?: Prisma.RepositoryListSelect<ExtArgs> | null;
969
+ /**
970
+ * Omit specific fields from the RepositoryList
971
+ */
972
+ omit?: Prisma.RepositoryListOmit<ExtArgs> | null;
973
+ };