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