@app-vitals/agent-admin 1.26.0 → 1.28.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.
- package/package.json +2 -2
- package/prisma/client/browser.ts +5 -0
- package/prisma/client/client.ts +5 -0
- package/prisma/client/internal/class.ts +14 -4
- package/prisma/client/internal/prismaNamespace.ts +91 -2
- package/prisma/client/internal/prismaNamespaceBrowser.ts +15 -1
- package/prisma/client/models/GitHubReconcileAudit.ts +1193 -0
- package/prisma/client/models.ts +1 -0
- package/prisma/migrations/20261111000000_add_github_reconcile_audit/migration.sql +16 -0
- package/prisma/schema/schema.prisma +16 -0
- package/src/reconcile-apply-service.integration.test.ts +263 -0
- package/src/reconcile-apply-service.ts +343 -0
- package/src/reconcile-apply-service.unit.test.ts +191 -0
- package/src/reconcile-open-work.ts +33 -0
|
@@ -0,0 +1,1193 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// biome-ignore-all lint: generated file
|
|
5
|
+
// @ts-nocheck
|
|
6
|
+
/*
|
|
7
|
+
* This file exports the `GitHubReconcileAudit` model and its related types.
|
|
8
|
+
*
|
|
9
|
+
* 🟢 You can import this file directly.
|
|
10
|
+
*/
|
|
11
|
+
import type * as runtime from "@prisma/client/runtime/client"
|
|
12
|
+
import type * as $Enums from "../enums.ts"
|
|
13
|
+
import type * as Prisma from "../internal/prismaNamespace.ts"
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Model GitHubReconcileAudit
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type GitHubReconcileAuditModel = runtime.Types.Result.DefaultSelection<Prisma.$GitHubReconcileAuditPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateGitHubReconcileAudit = {
|
|
22
|
+
_count: GitHubReconcileAuditCountAggregateOutputType | null
|
|
23
|
+
_min: GitHubReconcileAuditMinAggregateOutputType | null
|
|
24
|
+
_max: GitHubReconcileAuditMaxAggregateOutputType | null
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type GitHubReconcileAuditMinAggregateOutputType = {
|
|
28
|
+
id: string | null
|
|
29
|
+
agentId: string | null
|
|
30
|
+
caller: string | null
|
|
31
|
+
planHash: string | null
|
|
32
|
+
createdAt: Date | null
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export type GitHubReconcileAuditMaxAggregateOutputType = {
|
|
36
|
+
id: string | null
|
|
37
|
+
agentId: string | null
|
|
38
|
+
caller: string | null
|
|
39
|
+
planHash: string | null
|
|
40
|
+
createdAt: Date | null
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export type GitHubReconcileAuditCountAggregateOutputType = {
|
|
44
|
+
id: number
|
|
45
|
+
agentId: number
|
|
46
|
+
caller: number
|
|
47
|
+
planHash: number
|
|
48
|
+
diff: number
|
|
49
|
+
result: number
|
|
50
|
+
createdAt: number
|
|
51
|
+
_all: number
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
export type GitHubReconcileAuditMinAggregateInputType = {
|
|
56
|
+
id?: true
|
|
57
|
+
agentId?: true
|
|
58
|
+
caller?: true
|
|
59
|
+
planHash?: true
|
|
60
|
+
createdAt?: true
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export type GitHubReconcileAuditMaxAggregateInputType = {
|
|
64
|
+
id?: true
|
|
65
|
+
agentId?: true
|
|
66
|
+
caller?: true
|
|
67
|
+
planHash?: true
|
|
68
|
+
createdAt?: true
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export type GitHubReconcileAuditCountAggregateInputType = {
|
|
72
|
+
id?: true
|
|
73
|
+
agentId?: true
|
|
74
|
+
caller?: true
|
|
75
|
+
planHash?: true
|
|
76
|
+
diff?: true
|
|
77
|
+
result?: true
|
|
78
|
+
createdAt?: true
|
|
79
|
+
_all?: true
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export type GitHubReconcileAuditAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
83
|
+
/**
|
|
84
|
+
* Filter which GitHubReconcileAudit to aggregate.
|
|
85
|
+
*/
|
|
86
|
+
where?: Prisma.GitHubReconcileAuditWhereInput
|
|
87
|
+
/**
|
|
88
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
89
|
+
*
|
|
90
|
+
* Determine the order of GitHubReconcileAudits to fetch.
|
|
91
|
+
*/
|
|
92
|
+
orderBy?: Prisma.GitHubReconcileAuditOrderByWithRelationInput | Prisma.GitHubReconcileAuditOrderByWithRelationInput[]
|
|
93
|
+
/**
|
|
94
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
95
|
+
*
|
|
96
|
+
* Sets the start position
|
|
97
|
+
*/
|
|
98
|
+
cursor?: Prisma.GitHubReconcileAuditWhereUniqueInput
|
|
99
|
+
/**
|
|
100
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
101
|
+
*
|
|
102
|
+
* Take `±n` GitHubReconcileAudits from the position of the cursor.
|
|
103
|
+
*/
|
|
104
|
+
take?: number
|
|
105
|
+
/**
|
|
106
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
107
|
+
*
|
|
108
|
+
* Skip the first `n` GitHubReconcileAudits.
|
|
109
|
+
*/
|
|
110
|
+
skip?: number
|
|
111
|
+
/**
|
|
112
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
113
|
+
*
|
|
114
|
+
* Count returned GitHubReconcileAudits
|
|
115
|
+
**/
|
|
116
|
+
_count?: true | GitHubReconcileAuditCountAggregateInputType
|
|
117
|
+
/**
|
|
118
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
119
|
+
*
|
|
120
|
+
* Select which fields to find the minimum value
|
|
121
|
+
**/
|
|
122
|
+
_min?: GitHubReconcileAuditMinAggregateInputType
|
|
123
|
+
/**
|
|
124
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
125
|
+
*
|
|
126
|
+
* Select which fields to find the maximum value
|
|
127
|
+
**/
|
|
128
|
+
_max?: GitHubReconcileAuditMaxAggregateInputType
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export type GetGitHubReconcileAuditAggregateType<T extends GitHubReconcileAuditAggregateArgs> = {
|
|
132
|
+
[P in keyof T & keyof AggregateGitHubReconcileAudit]: P extends '_count' | 'count'
|
|
133
|
+
? T[P] extends true
|
|
134
|
+
? number
|
|
135
|
+
: Prisma.GetScalarType<T[P], AggregateGitHubReconcileAudit[P]>
|
|
136
|
+
: Prisma.GetScalarType<T[P], AggregateGitHubReconcileAudit[P]>
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
export type GitHubReconcileAuditGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
143
|
+
where?: Prisma.GitHubReconcileAuditWhereInput
|
|
144
|
+
orderBy?: Prisma.GitHubReconcileAuditOrderByWithAggregationInput | Prisma.GitHubReconcileAuditOrderByWithAggregationInput[]
|
|
145
|
+
by: Prisma.GitHubReconcileAuditScalarFieldEnum[] | Prisma.GitHubReconcileAuditScalarFieldEnum
|
|
146
|
+
having?: Prisma.GitHubReconcileAuditScalarWhereWithAggregatesInput
|
|
147
|
+
take?: number
|
|
148
|
+
skip?: number
|
|
149
|
+
_count?: GitHubReconcileAuditCountAggregateInputType | true
|
|
150
|
+
_min?: GitHubReconcileAuditMinAggregateInputType
|
|
151
|
+
_max?: GitHubReconcileAuditMaxAggregateInputType
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export type GitHubReconcileAuditGroupByOutputType = {
|
|
155
|
+
id: string
|
|
156
|
+
agentId: string
|
|
157
|
+
caller: string
|
|
158
|
+
planHash: string
|
|
159
|
+
diff: runtime.JsonValue
|
|
160
|
+
result: runtime.JsonValue
|
|
161
|
+
createdAt: Date
|
|
162
|
+
_count: GitHubReconcileAuditCountAggregateOutputType | null
|
|
163
|
+
_min: GitHubReconcileAuditMinAggregateOutputType | null
|
|
164
|
+
_max: GitHubReconcileAuditMaxAggregateOutputType | null
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
export type GetGitHubReconcileAuditGroupByPayload<T extends GitHubReconcileAuditGroupByArgs> = Prisma.PrismaPromise<
|
|
168
|
+
Array<
|
|
169
|
+
Prisma.PickEnumerable<GitHubReconcileAuditGroupByOutputType, T['by']> &
|
|
170
|
+
{
|
|
171
|
+
[P in ((keyof T) & (keyof GitHubReconcileAuditGroupByOutputType))]: P extends '_count'
|
|
172
|
+
? T[P] extends boolean
|
|
173
|
+
? number
|
|
174
|
+
: Prisma.GetScalarType<T[P], GitHubReconcileAuditGroupByOutputType[P]>
|
|
175
|
+
: Prisma.GetScalarType<T[P], GitHubReconcileAuditGroupByOutputType[P]>
|
|
176
|
+
}
|
|
177
|
+
>
|
|
178
|
+
>
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
export type GitHubReconcileAuditWhereInput = {
|
|
183
|
+
AND?: Prisma.GitHubReconcileAuditWhereInput | Prisma.GitHubReconcileAuditWhereInput[]
|
|
184
|
+
OR?: Prisma.GitHubReconcileAuditWhereInput[]
|
|
185
|
+
NOT?: Prisma.GitHubReconcileAuditWhereInput | Prisma.GitHubReconcileAuditWhereInput[]
|
|
186
|
+
id?: Prisma.StringFilter<"GitHubReconcileAudit"> | string
|
|
187
|
+
agentId?: Prisma.StringFilter<"GitHubReconcileAudit"> | string
|
|
188
|
+
caller?: Prisma.StringFilter<"GitHubReconcileAudit"> | string
|
|
189
|
+
planHash?: Prisma.StringFilter<"GitHubReconcileAudit"> | string
|
|
190
|
+
diff?: Prisma.JsonFilter<"GitHubReconcileAudit">
|
|
191
|
+
result?: Prisma.JsonFilter<"GitHubReconcileAudit">
|
|
192
|
+
createdAt?: Prisma.DateTimeFilter<"GitHubReconcileAudit"> | Date | string
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export type GitHubReconcileAuditOrderByWithRelationInput = {
|
|
196
|
+
id?: Prisma.SortOrder
|
|
197
|
+
agentId?: Prisma.SortOrder
|
|
198
|
+
caller?: Prisma.SortOrder
|
|
199
|
+
planHash?: Prisma.SortOrder
|
|
200
|
+
diff?: Prisma.SortOrder
|
|
201
|
+
result?: Prisma.SortOrder
|
|
202
|
+
createdAt?: Prisma.SortOrder
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
export type GitHubReconcileAuditWhereUniqueInput = Prisma.AtLeast<{
|
|
206
|
+
id?: string
|
|
207
|
+
AND?: Prisma.GitHubReconcileAuditWhereInput | Prisma.GitHubReconcileAuditWhereInput[]
|
|
208
|
+
OR?: Prisma.GitHubReconcileAuditWhereInput[]
|
|
209
|
+
NOT?: Prisma.GitHubReconcileAuditWhereInput | Prisma.GitHubReconcileAuditWhereInput[]
|
|
210
|
+
agentId?: Prisma.StringFilter<"GitHubReconcileAudit"> | string
|
|
211
|
+
caller?: Prisma.StringFilter<"GitHubReconcileAudit"> | string
|
|
212
|
+
planHash?: Prisma.StringFilter<"GitHubReconcileAudit"> | string
|
|
213
|
+
diff?: Prisma.JsonFilter<"GitHubReconcileAudit">
|
|
214
|
+
result?: Prisma.JsonFilter<"GitHubReconcileAudit">
|
|
215
|
+
createdAt?: Prisma.DateTimeFilter<"GitHubReconcileAudit"> | Date | string
|
|
216
|
+
}, "id">
|
|
217
|
+
|
|
218
|
+
export type GitHubReconcileAuditOrderByWithAggregationInput = {
|
|
219
|
+
id?: Prisma.SortOrder
|
|
220
|
+
agentId?: Prisma.SortOrder
|
|
221
|
+
caller?: Prisma.SortOrder
|
|
222
|
+
planHash?: Prisma.SortOrder
|
|
223
|
+
diff?: Prisma.SortOrder
|
|
224
|
+
result?: Prisma.SortOrder
|
|
225
|
+
createdAt?: Prisma.SortOrder
|
|
226
|
+
_count?: Prisma.GitHubReconcileAuditCountOrderByAggregateInput
|
|
227
|
+
_max?: Prisma.GitHubReconcileAuditMaxOrderByAggregateInput
|
|
228
|
+
_min?: Prisma.GitHubReconcileAuditMinOrderByAggregateInput
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
export type GitHubReconcileAuditScalarWhereWithAggregatesInput = {
|
|
232
|
+
AND?: Prisma.GitHubReconcileAuditScalarWhereWithAggregatesInput | Prisma.GitHubReconcileAuditScalarWhereWithAggregatesInput[]
|
|
233
|
+
OR?: Prisma.GitHubReconcileAuditScalarWhereWithAggregatesInput[]
|
|
234
|
+
NOT?: Prisma.GitHubReconcileAuditScalarWhereWithAggregatesInput | Prisma.GitHubReconcileAuditScalarWhereWithAggregatesInput[]
|
|
235
|
+
id?: Prisma.StringWithAggregatesFilter<"GitHubReconcileAudit"> | string
|
|
236
|
+
agentId?: Prisma.StringWithAggregatesFilter<"GitHubReconcileAudit"> | string
|
|
237
|
+
caller?: Prisma.StringWithAggregatesFilter<"GitHubReconcileAudit"> | string
|
|
238
|
+
planHash?: Prisma.StringWithAggregatesFilter<"GitHubReconcileAudit"> | string
|
|
239
|
+
diff?: Prisma.JsonWithAggregatesFilter<"GitHubReconcileAudit">
|
|
240
|
+
result?: Prisma.JsonWithAggregatesFilter<"GitHubReconcileAudit">
|
|
241
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"GitHubReconcileAudit"> | Date | string
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
export type GitHubReconcileAuditCreateInput = {
|
|
245
|
+
id?: string
|
|
246
|
+
agentId: string
|
|
247
|
+
caller: string
|
|
248
|
+
planHash: string
|
|
249
|
+
diff: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
250
|
+
result: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
251
|
+
createdAt?: Date | string
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
export type GitHubReconcileAuditUncheckedCreateInput = {
|
|
255
|
+
id?: string
|
|
256
|
+
agentId: string
|
|
257
|
+
caller: string
|
|
258
|
+
planHash: string
|
|
259
|
+
diff: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
260
|
+
result: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
261
|
+
createdAt?: Date | string
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
export type GitHubReconcileAuditUpdateInput = {
|
|
265
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
266
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
267
|
+
caller?: Prisma.StringFieldUpdateOperationsInput | string
|
|
268
|
+
planHash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
269
|
+
diff?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
270
|
+
result?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
271
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
export type GitHubReconcileAuditUncheckedUpdateInput = {
|
|
275
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
276
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
277
|
+
caller?: Prisma.StringFieldUpdateOperationsInput | string
|
|
278
|
+
planHash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
279
|
+
diff?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
280
|
+
result?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
281
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
export type GitHubReconcileAuditCreateManyInput = {
|
|
285
|
+
id?: string
|
|
286
|
+
agentId: string
|
|
287
|
+
caller: string
|
|
288
|
+
planHash: string
|
|
289
|
+
diff: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
290
|
+
result: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
291
|
+
createdAt?: Date | string
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
export type GitHubReconcileAuditUpdateManyMutationInput = {
|
|
295
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
296
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
297
|
+
caller?: Prisma.StringFieldUpdateOperationsInput | string
|
|
298
|
+
planHash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
299
|
+
diff?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
300
|
+
result?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
301
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
export type GitHubReconcileAuditUncheckedUpdateManyInput = {
|
|
305
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
306
|
+
agentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
307
|
+
caller?: Prisma.StringFieldUpdateOperationsInput | string
|
|
308
|
+
planHash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
309
|
+
diff?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
310
|
+
result?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
311
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
export type GitHubReconcileAuditCountOrderByAggregateInput = {
|
|
315
|
+
id?: Prisma.SortOrder
|
|
316
|
+
agentId?: Prisma.SortOrder
|
|
317
|
+
caller?: Prisma.SortOrder
|
|
318
|
+
planHash?: Prisma.SortOrder
|
|
319
|
+
diff?: Prisma.SortOrder
|
|
320
|
+
result?: Prisma.SortOrder
|
|
321
|
+
createdAt?: Prisma.SortOrder
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
export type GitHubReconcileAuditMaxOrderByAggregateInput = {
|
|
325
|
+
id?: Prisma.SortOrder
|
|
326
|
+
agentId?: Prisma.SortOrder
|
|
327
|
+
caller?: Prisma.SortOrder
|
|
328
|
+
planHash?: Prisma.SortOrder
|
|
329
|
+
createdAt?: Prisma.SortOrder
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
export type GitHubReconcileAuditMinOrderByAggregateInput = {
|
|
333
|
+
id?: Prisma.SortOrder
|
|
334
|
+
agentId?: Prisma.SortOrder
|
|
335
|
+
caller?: Prisma.SortOrder
|
|
336
|
+
planHash?: Prisma.SortOrder
|
|
337
|
+
createdAt?: Prisma.SortOrder
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
export type GitHubReconcileAuditSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
343
|
+
id?: boolean
|
|
344
|
+
agentId?: boolean
|
|
345
|
+
caller?: boolean
|
|
346
|
+
planHash?: boolean
|
|
347
|
+
diff?: boolean
|
|
348
|
+
result?: boolean
|
|
349
|
+
createdAt?: boolean
|
|
350
|
+
}, ExtArgs["result"]["gitHubReconcileAudit"]>
|
|
351
|
+
|
|
352
|
+
export type GitHubReconcileAuditSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
353
|
+
id?: boolean
|
|
354
|
+
agentId?: boolean
|
|
355
|
+
caller?: boolean
|
|
356
|
+
planHash?: boolean
|
|
357
|
+
diff?: boolean
|
|
358
|
+
result?: boolean
|
|
359
|
+
createdAt?: boolean
|
|
360
|
+
}, ExtArgs["result"]["gitHubReconcileAudit"]>
|
|
361
|
+
|
|
362
|
+
export type GitHubReconcileAuditSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
363
|
+
id?: boolean
|
|
364
|
+
agentId?: boolean
|
|
365
|
+
caller?: boolean
|
|
366
|
+
planHash?: boolean
|
|
367
|
+
diff?: boolean
|
|
368
|
+
result?: boolean
|
|
369
|
+
createdAt?: boolean
|
|
370
|
+
}, ExtArgs["result"]["gitHubReconcileAudit"]>
|
|
371
|
+
|
|
372
|
+
export type GitHubReconcileAuditSelectScalar = {
|
|
373
|
+
id?: boolean
|
|
374
|
+
agentId?: boolean
|
|
375
|
+
caller?: boolean
|
|
376
|
+
planHash?: boolean
|
|
377
|
+
diff?: boolean
|
|
378
|
+
result?: boolean
|
|
379
|
+
createdAt?: boolean
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
export type GitHubReconcileAuditOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "agentId" | "caller" | "planHash" | "diff" | "result" | "createdAt", ExtArgs["result"]["gitHubReconcileAudit"]>
|
|
383
|
+
|
|
384
|
+
export type $GitHubReconcileAuditPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
385
|
+
name: "GitHubReconcileAudit"
|
|
386
|
+
objects: {}
|
|
387
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
388
|
+
id: string
|
|
389
|
+
agentId: string
|
|
390
|
+
caller: string
|
|
391
|
+
planHash: string
|
|
392
|
+
diff: runtime.JsonValue
|
|
393
|
+
result: runtime.JsonValue
|
|
394
|
+
createdAt: Date
|
|
395
|
+
}, ExtArgs["result"]["gitHubReconcileAudit"]>
|
|
396
|
+
composites: {}
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
export type GitHubReconcileAuditGetPayload<S extends boolean | null | undefined | GitHubReconcileAuditDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$GitHubReconcileAuditPayload, S>
|
|
400
|
+
|
|
401
|
+
export type GitHubReconcileAuditCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
402
|
+
Omit<GitHubReconcileAuditFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
403
|
+
select?: GitHubReconcileAuditCountAggregateInputType | true
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
export interface GitHubReconcileAuditDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
407
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['GitHubReconcileAudit'], meta: { name: 'GitHubReconcileAudit' } }
|
|
408
|
+
/**
|
|
409
|
+
* Find zero or one GitHubReconcileAudit that matches the filter.
|
|
410
|
+
* @param {GitHubReconcileAuditFindUniqueArgs} args - Arguments to find a GitHubReconcileAudit
|
|
411
|
+
* @example
|
|
412
|
+
* // Get one GitHubReconcileAudit
|
|
413
|
+
* const gitHubReconcileAudit = await prisma.gitHubReconcileAudit.findUnique({
|
|
414
|
+
* where: {
|
|
415
|
+
* // ... provide filter here
|
|
416
|
+
* }
|
|
417
|
+
* })
|
|
418
|
+
*/
|
|
419
|
+
findUnique<T extends GitHubReconcileAuditFindUniqueArgs>(args: Prisma.SelectSubset<T, GitHubReconcileAuditFindUniqueArgs<ExtArgs>>): Prisma.Prisma__GitHubReconcileAuditClient<runtime.Types.Result.GetResult<Prisma.$GitHubReconcileAuditPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* Find one GitHubReconcileAudit that matches the filter or throw an error with `error.code='P2025'`
|
|
423
|
+
* if no matches were found.
|
|
424
|
+
* @param {GitHubReconcileAuditFindUniqueOrThrowArgs} args - Arguments to find a GitHubReconcileAudit
|
|
425
|
+
* @example
|
|
426
|
+
* // Get one GitHubReconcileAudit
|
|
427
|
+
* const gitHubReconcileAudit = await prisma.gitHubReconcileAudit.findUniqueOrThrow({
|
|
428
|
+
* where: {
|
|
429
|
+
* // ... provide filter here
|
|
430
|
+
* }
|
|
431
|
+
* })
|
|
432
|
+
*/
|
|
433
|
+
findUniqueOrThrow<T extends GitHubReconcileAuditFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, GitHubReconcileAuditFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__GitHubReconcileAuditClient<runtime.Types.Result.GetResult<Prisma.$GitHubReconcileAuditPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
434
|
+
|
|
435
|
+
/**
|
|
436
|
+
* Find the first GitHubReconcileAudit that matches the filter.
|
|
437
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
438
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
439
|
+
* @param {GitHubReconcileAuditFindFirstArgs} args - Arguments to find a GitHubReconcileAudit
|
|
440
|
+
* @example
|
|
441
|
+
* // Get one GitHubReconcileAudit
|
|
442
|
+
* const gitHubReconcileAudit = await prisma.gitHubReconcileAudit.findFirst({
|
|
443
|
+
* where: {
|
|
444
|
+
* // ... provide filter here
|
|
445
|
+
* }
|
|
446
|
+
* })
|
|
447
|
+
*/
|
|
448
|
+
findFirst<T extends GitHubReconcileAuditFindFirstArgs>(args?: Prisma.SelectSubset<T, GitHubReconcileAuditFindFirstArgs<ExtArgs>>): Prisma.Prisma__GitHubReconcileAuditClient<runtime.Types.Result.GetResult<Prisma.$GitHubReconcileAuditPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
449
|
+
|
|
450
|
+
/**
|
|
451
|
+
* Find the first GitHubReconcileAudit that matches the filter or
|
|
452
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
453
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
454
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
455
|
+
* @param {GitHubReconcileAuditFindFirstOrThrowArgs} args - Arguments to find a GitHubReconcileAudit
|
|
456
|
+
* @example
|
|
457
|
+
* // Get one GitHubReconcileAudit
|
|
458
|
+
* const gitHubReconcileAudit = await prisma.gitHubReconcileAudit.findFirstOrThrow({
|
|
459
|
+
* where: {
|
|
460
|
+
* // ... provide filter here
|
|
461
|
+
* }
|
|
462
|
+
* })
|
|
463
|
+
*/
|
|
464
|
+
findFirstOrThrow<T extends GitHubReconcileAuditFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, GitHubReconcileAuditFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__GitHubReconcileAuditClient<runtime.Types.Result.GetResult<Prisma.$GitHubReconcileAuditPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
465
|
+
|
|
466
|
+
/**
|
|
467
|
+
* Find zero or more GitHubReconcileAudits that matches the filter.
|
|
468
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
469
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
470
|
+
* @param {GitHubReconcileAuditFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
471
|
+
* @example
|
|
472
|
+
* // Get all GitHubReconcileAudits
|
|
473
|
+
* const gitHubReconcileAudits = await prisma.gitHubReconcileAudit.findMany()
|
|
474
|
+
*
|
|
475
|
+
* // Get first 10 GitHubReconcileAudits
|
|
476
|
+
* const gitHubReconcileAudits = await prisma.gitHubReconcileAudit.findMany({ take: 10 })
|
|
477
|
+
*
|
|
478
|
+
* // Only select the `id`
|
|
479
|
+
* const gitHubReconcileAuditWithIdOnly = await prisma.gitHubReconcileAudit.findMany({ select: { id: true } })
|
|
480
|
+
*
|
|
481
|
+
*/
|
|
482
|
+
findMany<T extends GitHubReconcileAuditFindManyArgs>(args?: Prisma.SelectSubset<T, GitHubReconcileAuditFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GitHubReconcileAuditPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* Create a GitHubReconcileAudit.
|
|
486
|
+
* @param {GitHubReconcileAuditCreateArgs} args - Arguments to create a GitHubReconcileAudit.
|
|
487
|
+
* @example
|
|
488
|
+
* // Create one GitHubReconcileAudit
|
|
489
|
+
* const GitHubReconcileAudit = await prisma.gitHubReconcileAudit.create({
|
|
490
|
+
* data: {
|
|
491
|
+
* // ... data to create a GitHubReconcileAudit
|
|
492
|
+
* }
|
|
493
|
+
* })
|
|
494
|
+
*
|
|
495
|
+
*/
|
|
496
|
+
create<T extends GitHubReconcileAuditCreateArgs>(args: Prisma.SelectSubset<T, GitHubReconcileAuditCreateArgs<ExtArgs>>): Prisma.Prisma__GitHubReconcileAuditClient<runtime.Types.Result.GetResult<Prisma.$GitHubReconcileAuditPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
* Create many GitHubReconcileAudits.
|
|
500
|
+
* @param {GitHubReconcileAuditCreateManyArgs} args - Arguments to create many GitHubReconcileAudits.
|
|
501
|
+
* @example
|
|
502
|
+
* // Create many GitHubReconcileAudits
|
|
503
|
+
* const gitHubReconcileAudit = await prisma.gitHubReconcileAudit.createMany({
|
|
504
|
+
* data: [
|
|
505
|
+
* // ... provide data here
|
|
506
|
+
* ]
|
|
507
|
+
* })
|
|
508
|
+
*
|
|
509
|
+
*/
|
|
510
|
+
createMany<T extends GitHubReconcileAuditCreateManyArgs>(args?: Prisma.SelectSubset<T, GitHubReconcileAuditCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* Create many GitHubReconcileAudits and returns the data saved in the database.
|
|
514
|
+
* @param {GitHubReconcileAuditCreateManyAndReturnArgs} args - Arguments to create many GitHubReconcileAudits.
|
|
515
|
+
* @example
|
|
516
|
+
* // Create many GitHubReconcileAudits
|
|
517
|
+
* const gitHubReconcileAudit = await prisma.gitHubReconcileAudit.createManyAndReturn({
|
|
518
|
+
* data: [
|
|
519
|
+
* // ... provide data here
|
|
520
|
+
* ]
|
|
521
|
+
* })
|
|
522
|
+
*
|
|
523
|
+
* // Create many GitHubReconcileAudits and only return the `id`
|
|
524
|
+
* const gitHubReconcileAuditWithIdOnly = await prisma.gitHubReconcileAudit.createManyAndReturn({
|
|
525
|
+
* select: { id: true },
|
|
526
|
+
* data: [
|
|
527
|
+
* // ... provide data here
|
|
528
|
+
* ]
|
|
529
|
+
* })
|
|
530
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
531
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
532
|
+
*
|
|
533
|
+
*/
|
|
534
|
+
createManyAndReturn<T extends GitHubReconcileAuditCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, GitHubReconcileAuditCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GitHubReconcileAuditPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* Delete a GitHubReconcileAudit.
|
|
538
|
+
* @param {GitHubReconcileAuditDeleteArgs} args - Arguments to delete one GitHubReconcileAudit.
|
|
539
|
+
* @example
|
|
540
|
+
* // Delete one GitHubReconcileAudit
|
|
541
|
+
* const GitHubReconcileAudit = await prisma.gitHubReconcileAudit.delete({
|
|
542
|
+
* where: {
|
|
543
|
+
* // ... filter to delete one GitHubReconcileAudit
|
|
544
|
+
* }
|
|
545
|
+
* })
|
|
546
|
+
*
|
|
547
|
+
*/
|
|
548
|
+
delete<T extends GitHubReconcileAuditDeleteArgs>(args: Prisma.SelectSubset<T, GitHubReconcileAuditDeleteArgs<ExtArgs>>): Prisma.Prisma__GitHubReconcileAuditClient<runtime.Types.Result.GetResult<Prisma.$GitHubReconcileAuditPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
549
|
+
|
|
550
|
+
/**
|
|
551
|
+
* Update one GitHubReconcileAudit.
|
|
552
|
+
* @param {GitHubReconcileAuditUpdateArgs} args - Arguments to update one GitHubReconcileAudit.
|
|
553
|
+
* @example
|
|
554
|
+
* // Update one GitHubReconcileAudit
|
|
555
|
+
* const gitHubReconcileAudit = await prisma.gitHubReconcileAudit.update({
|
|
556
|
+
* where: {
|
|
557
|
+
* // ... provide filter here
|
|
558
|
+
* },
|
|
559
|
+
* data: {
|
|
560
|
+
* // ... provide data here
|
|
561
|
+
* }
|
|
562
|
+
* })
|
|
563
|
+
*
|
|
564
|
+
*/
|
|
565
|
+
update<T extends GitHubReconcileAuditUpdateArgs>(args: Prisma.SelectSubset<T, GitHubReconcileAuditUpdateArgs<ExtArgs>>): Prisma.Prisma__GitHubReconcileAuditClient<runtime.Types.Result.GetResult<Prisma.$GitHubReconcileAuditPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
566
|
+
|
|
567
|
+
/**
|
|
568
|
+
* Delete zero or more GitHubReconcileAudits.
|
|
569
|
+
* @param {GitHubReconcileAuditDeleteManyArgs} args - Arguments to filter GitHubReconcileAudits to delete.
|
|
570
|
+
* @example
|
|
571
|
+
* // Delete a few GitHubReconcileAudits
|
|
572
|
+
* const { count } = await prisma.gitHubReconcileAudit.deleteMany({
|
|
573
|
+
* where: {
|
|
574
|
+
* // ... provide filter here
|
|
575
|
+
* }
|
|
576
|
+
* })
|
|
577
|
+
*
|
|
578
|
+
*/
|
|
579
|
+
deleteMany<T extends GitHubReconcileAuditDeleteManyArgs>(args?: Prisma.SelectSubset<T, GitHubReconcileAuditDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
580
|
+
|
|
581
|
+
/**
|
|
582
|
+
* Update zero or more GitHubReconcileAudits.
|
|
583
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
584
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
585
|
+
* @param {GitHubReconcileAuditUpdateManyArgs} args - Arguments to update one or more rows.
|
|
586
|
+
* @example
|
|
587
|
+
* // Update many GitHubReconcileAudits
|
|
588
|
+
* const gitHubReconcileAudit = await prisma.gitHubReconcileAudit.updateMany({
|
|
589
|
+
* where: {
|
|
590
|
+
* // ... provide filter here
|
|
591
|
+
* },
|
|
592
|
+
* data: {
|
|
593
|
+
* // ... provide data here
|
|
594
|
+
* }
|
|
595
|
+
* })
|
|
596
|
+
*
|
|
597
|
+
*/
|
|
598
|
+
updateMany<T extends GitHubReconcileAuditUpdateManyArgs>(args: Prisma.SelectSubset<T, GitHubReconcileAuditUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* Update zero or more GitHubReconcileAudits and returns the data updated in the database.
|
|
602
|
+
* @param {GitHubReconcileAuditUpdateManyAndReturnArgs} args - Arguments to update many GitHubReconcileAudits.
|
|
603
|
+
* @example
|
|
604
|
+
* // Update many GitHubReconcileAudits
|
|
605
|
+
* const gitHubReconcileAudit = await prisma.gitHubReconcileAudit.updateManyAndReturn({
|
|
606
|
+
* where: {
|
|
607
|
+
* // ... provide filter here
|
|
608
|
+
* },
|
|
609
|
+
* data: [
|
|
610
|
+
* // ... provide data here
|
|
611
|
+
* ]
|
|
612
|
+
* })
|
|
613
|
+
*
|
|
614
|
+
* // Update zero or more GitHubReconcileAudits and only return the `id`
|
|
615
|
+
* const gitHubReconcileAuditWithIdOnly = await prisma.gitHubReconcileAudit.updateManyAndReturn({
|
|
616
|
+
* select: { id: true },
|
|
617
|
+
* where: {
|
|
618
|
+
* // ... provide filter here
|
|
619
|
+
* },
|
|
620
|
+
* data: [
|
|
621
|
+
* // ... provide data here
|
|
622
|
+
* ]
|
|
623
|
+
* })
|
|
624
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
625
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
626
|
+
*
|
|
627
|
+
*/
|
|
628
|
+
updateManyAndReturn<T extends GitHubReconcileAuditUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, GitHubReconcileAuditUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GitHubReconcileAuditPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
* Create or update one GitHubReconcileAudit.
|
|
632
|
+
* @param {GitHubReconcileAuditUpsertArgs} args - Arguments to update or create a GitHubReconcileAudit.
|
|
633
|
+
* @example
|
|
634
|
+
* // Update or create a GitHubReconcileAudit
|
|
635
|
+
* const gitHubReconcileAudit = await prisma.gitHubReconcileAudit.upsert({
|
|
636
|
+
* create: {
|
|
637
|
+
* // ... data to create a GitHubReconcileAudit
|
|
638
|
+
* },
|
|
639
|
+
* update: {
|
|
640
|
+
* // ... in case it already exists, update
|
|
641
|
+
* },
|
|
642
|
+
* where: {
|
|
643
|
+
* // ... the filter for the GitHubReconcileAudit we want to update
|
|
644
|
+
* }
|
|
645
|
+
* })
|
|
646
|
+
*/
|
|
647
|
+
upsert<T extends GitHubReconcileAuditUpsertArgs>(args: Prisma.SelectSubset<T, GitHubReconcileAuditUpsertArgs<ExtArgs>>): Prisma.Prisma__GitHubReconcileAuditClient<runtime.Types.Result.GetResult<Prisma.$GitHubReconcileAuditPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
648
|
+
|
|
649
|
+
|
|
650
|
+
/**
|
|
651
|
+
* Count the number of GitHubReconcileAudits.
|
|
652
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
653
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
654
|
+
* @param {GitHubReconcileAuditCountArgs} args - Arguments to filter GitHubReconcileAudits to count.
|
|
655
|
+
* @example
|
|
656
|
+
* // Count the number of GitHubReconcileAudits
|
|
657
|
+
* const count = await prisma.gitHubReconcileAudit.count({
|
|
658
|
+
* where: {
|
|
659
|
+
* // ... the filter for the GitHubReconcileAudits we want to count
|
|
660
|
+
* }
|
|
661
|
+
* })
|
|
662
|
+
**/
|
|
663
|
+
count<T extends GitHubReconcileAuditCountArgs>(
|
|
664
|
+
args?: Prisma.Subset<T, GitHubReconcileAuditCountArgs>,
|
|
665
|
+
): Prisma.PrismaPromise<
|
|
666
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
667
|
+
? T['select'] extends true
|
|
668
|
+
? number
|
|
669
|
+
: Prisma.GetScalarType<T['select'], GitHubReconcileAuditCountAggregateOutputType>
|
|
670
|
+
: number
|
|
671
|
+
>
|
|
672
|
+
|
|
673
|
+
/**
|
|
674
|
+
* Allows you to perform aggregations operations on a GitHubReconcileAudit.
|
|
675
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
676
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
677
|
+
* @param {GitHubReconcileAuditAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
678
|
+
* @example
|
|
679
|
+
* // Ordered by age ascending
|
|
680
|
+
* // Where email contains prisma.io
|
|
681
|
+
* // Limited to the 10 users
|
|
682
|
+
* const aggregations = await prisma.user.aggregate({
|
|
683
|
+
* _avg: {
|
|
684
|
+
* age: true,
|
|
685
|
+
* },
|
|
686
|
+
* where: {
|
|
687
|
+
* email: {
|
|
688
|
+
* contains: "prisma.io",
|
|
689
|
+
* },
|
|
690
|
+
* },
|
|
691
|
+
* orderBy: {
|
|
692
|
+
* age: "asc",
|
|
693
|
+
* },
|
|
694
|
+
* take: 10,
|
|
695
|
+
* })
|
|
696
|
+
**/
|
|
697
|
+
aggregate<T extends GitHubReconcileAuditAggregateArgs>(args: Prisma.Subset<T, GitHubReconcileAuditAggregateArgs>): Prisma.PrismaPromise<GetGitHubReconcileAuditAggregateType<T>>
|
|
698
|
+
|
|
699
|
+
/**
|
|
700
|
+
* Group by GitHubReconcileAudit.
|
|
701
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
702
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
703
|
+
* @param {GitHubReconcileAuditGroupByArgs} args - Group by arguments.
|
|
704
|
+
* @example
|
|
705
|
+
* // Group by city, order by createdAt, get count
|
|
706
|
+
* const result = await prisma.user.groupBy({
|
|
707
|
+
* by: ['city', 'createdAt'],
|
|
708
|
+
* orderBy: {
|
|
709
|
+
* createdAt: true
|
|
710
|
+
* },
|
|
711
|
+
* _count: {
|
|
712
|
+
* _all: true
|
|
713
|
+
* },
|
|
714
|
+
* })
|
|
715
|
+
*
|
|
716
|
+
**/
|
|
717
|
+
groupBy<
|
|
718
|
+
T extends GitHubReconcileAuditGroupByArgs,
|
|
719
|
+
HasSelectOrTake extends Prisma.Or<
|
|
720
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
721
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
722
|
+
>,
|
|
723
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
724
|
+
? { orderBy: GitHubReconcileAuditGroupByArgs['orderBy'] }
|
|
725
|
+
: { orderBy?: GitHubReconcileAuditGroupByArgs['orderBy'] },
|
|
726
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
727
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
728
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
729
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
730
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
731
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
732
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
733
|
+
? `Error: "by" must not be empty.`
|
|
734
|
+
: HavingValid extends Prisma.False
|
|
735
|
+
? {
|
|
736
|
+
[P in HavingFields]: P extends ByFields
|
|
737
|
+
? never
|
|
738
|
+
: P extends string
|
|
739
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
740
|
+
: [
|
|
741
|
+
Error,
|
|
742
|
+
'Field ',
|
|
743
|
+
P,
|
|
744
|
+
` in "having" needs to be provided in "by"`,
|
|
745
|
+
]
|
|
746
|
+
}[HavingFields]
|
|
747
|
+
: 'take' extends Prisma.Keys<T>
|
|
748
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
749
|
+
? ByValid extends Prisma.True
|
|
750
|
+
? {}
|
|
751
|
+
: {
|
|
752
|
+
[P in OrderFields]: P extends ByFields
|
|
753
|
+
? never
|
|
754
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
755
|
+
}[OrderFields]
|
|
756
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
757
|
+
: 'skip' extends Prisma.Keys<T>
|
|
758
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
759
|
+
? ByValid extends Prisma.True
|
|
760
|
+
? {}
|
|
761
|
+
: {
|
|
762
|
+
[P in OrderFields]: P extends ByFields
|
|
763
|
+
? never
|
|
764
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
765
|
+
}[OrderFields]
|
|
766
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
767
|
+
: ByValid extends Prisma.True
|
|
768
|
+
? {}
|
|
769
|
+
: {
|
|
770
|
+
[P in OrderFields]: P extends ByFields
|
|
771
|
+
? never
|
|
772
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
773
|
+
}[OrderFields]
|
|
774
|
+
>(args: Prisma.SubsetIntersection<T, GitHubReconcileAuditGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetGitHubReconcileAuditGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
775
|
+
/**
|
|
776
|
+
* Fields of the GitHubReconcileAudit model
|
|
777
|
+
*/
|
|
778
|
+
readonly fields: GitHubReconcileAuditFieldRefs;
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
/**
|
|
782
|
+
* The delegate class that acts as a "Promise-like" for GitHubReconcileAudit.
|
|
783
|
+
* Why is this prefixed with `Prisma__`?
|
|
784
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
785
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
786
|
+
*/
|
|
787
|
+
export interface Prisma__GitHubReconcileAuditClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
788
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
789
|
+
/**
|
|
790
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
791
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
792
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
793
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
794
|
+
*/
|
|
795
|
+
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>
|
|
796
|
+
/**
|
|
797
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
798
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
799
|
+
* @returns A Promise for the completion of the callback.
|
|
800
|
+
*/
|
|
801
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
802
|
+
/**
|
|
803
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
804
|
+
* resolved value cannot be modified from the callback.
|
|
805
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
806
|
+
* @returns A Promise for the completion of the callback.
|
|
807
|
+
*/
|
|
808
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
|
|
814
|
+
/**
|
|
815
|
+
* Fields of the GitHubReconcileAudit model
|
|
816
|
+
*/
|
|
817
|
+
export interface GitHubReconcileAuditFieldRefs {
|
|
818
|
+
readonly id: Prisma.FieldRef<"GitHubReconcileAudit", 'String'>
|
|
819
|
+
readonly agentId: Prisma.FieldRef<"GitHubReconcileAudit", 'String'>
|
|
820
|
+
readonly caller: Prisma.FieldRef<"GitHubReconcileAudit", 'String'>
|
|
821
|
+
readonly planHash: Prisma.FieldRef<"GitHubReconcileAudit", 'String'>
|
|
822
|
+
readonly diff: Prisma.FieldRef<"GitHubReconcileAudit", 'Json'>
|
|
823
|
+
readonly result: Prisma.FieldRef<"GitHubReconcileAudit", 'Json'>
|
|
824
|
+
readonly createdAt: Prisma.FieldRef<"GitHubReconcileAudit", 'DateTime'>
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
|
|
828
|
+
// Custom InputTypes
|
|
829
|
+
/**
|
|
830
|
+
* GitHubReconcileAudit findUnique
|
|
831
|
+
*/
|
|
832
|
+
export type GitHubReconcileAuditFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
833
|
+
/**
|
|
834
|
+
* Select specific fields to fetch from the GitHubReconcileAudit
|
|
835
|
+
*/
|
|
836
|
+
select?: Prisma.GitHubReconcileAuditSelect<ExtArgs> | null
|
|
837
|
+
/**
|
|
838
|
+
* Omit specific fields from the GitHubReconcileAudit
|
|
839
|
+
*/
|
|
840
|
+
omit?: Prisma.GitHubReconcileAuditOmit<ExtArgs> | null
|
|
841
|
+
/**
|
|
842
|
+
* Filter, which GitHubReconcileAudit to fetch.
|
|
843
|
+
*/
|
|
844
|
+
where: Prisma.GitHubReconcileAuditWhereUniqueInput
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
/**
|
|
848
|
+
* GitHubReconcileAudit findUniqueOrThrow
|
|
849
|
+
*/
|
|
850
|
+
export type GitHubReconcileAuditFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
851
|
+
/**
|
|
852
|
+
* Select specific fields to fetch from the GitHubReconcileAudit
|
|
853
|
+
*/
|
|
854
|
+
select?: Prisma.GitHubReconcileAuditSelect<ExtArgs> | null
|
|
855
|
+
/**
|
|
856
|
+
* Omit specific fields from the GitHubReconcileAudit
|
|
857
|
+
*/
|
|
858
|
+
omit?: Prisma.GitHubReconcileAuditOmit<ExtArgs> | null
|
|
859
|
+
/**
|
|
860
|
+
* Filter, which GitHubReconcileAudit to fetch.
|
|
861
|
+
*/
|
|
862
|
+
where: Prisma.GitHubReconcileAuditWhereUniqueInput
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
/**
|
|
866
|
+
* GitHubReconcileAudit findFirst
|
|
867
|
+
*/
|
|
868
|
+
export type GitHubReconcileAuditFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
869
|
+
/**
|
|
870
|
+
* Select specific fields to fetch from the GitHubReconcileAudit
|
|
871
|
+
*/
|
|
872
|
+
select?: Prisma.GitHubReconcileAuditSelect<ExtArgs> | null
|
|
873
|
+
/**
|
|
874
|
+
* Omit specific fields from the GitHubReconcileAudit
|
|
875
|
+
*/
|
|
876
|
+
omit?: Prisma.GitHubReconcileAuditOmit<ExtArgs> | null
|
|
877
|
+
/**
|
|
878
|
+
* Filter, which GitHubReconcileAudit to fetch.
|
|
879
|
+
*/
|
|
880
|
+
where?: Prisma.GitHubReconcileAuditWhereInput
|
|
881
|
+
/**
|
|
882
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
883
|
+
*
|
|
884
|
+
* Determine the order of GitHubReconcileAudits to fetch.
|
|
885
|
+
*/
|
|
886
|
+
orderBy?: Prisma.GitHubReconcileAuditOrderByWithRelationInput | Prisma.GitHubReconcileAuditOrderByWithRelationInput[]
|
|
887
|
+
/**
|
|
888
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
889
|
+
*
|
|
890
|
+
* Sets the position for searching for GitHubReconcileAudits.
|
|
891
|
+
*/
|
|
892
|
+
cursor?: Prisma.GitHubReconcileAuditWhereUniqueInput
|
|
893
|
+
/**
|
|
894
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
895
|
+
*
|
|
896
|
+
* Take `±n` GitHubReconcileAudits from the position of the cursor.
|
|
897
|
+
*/
|
|
898
|
+
take?: number
|
|
899
|
+
/**
|
|
900
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
901
|
+
*
|
|
902
|
+
* Skip the first `n` GitHubReconcileAudits.
|
|
903
|
+
*/
|
|
904
|
+
skip?: number
|
|
905
|
+
/**
|
|
906
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
907
|
+
*
|
|
908
|
+
* Filter by unique combinations of GitHubReconcileAudits.
|
|
909
|
+
*/
|
|
910
|
+
distinct?: Prisma.GitHubReconcileAuditScalarFieldEnum | Prisma.GitHubReconcileAuditScalarFieldEnum[]
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
/**
|
|
914
|
+
* GitHubReconcileAudit findFirstOrThrow
|
|
915
|
+
*/
|
|
916
|
+
export type GitHubReconcileAuditFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
917
|
+
/**
|
|
918
|
+
* Select specific fields to fetch from the GitHubReconcileAudit
|
|
919
|
+
*/
|
|
920
|
+
select?: Prisma.GitHubReconcileAuditSelect<ExtArgs> | null
|
|
921
|
+
/**
|
|
922
|
+
* Omit specific fields from the GitHubReconcileAudit
|
|
923
|
+
*/
|
|
924
|
+
omit?: Prisma.GitHubReconcileAuditOmit<ExtArgs> | null
|
|
925
|
+
/**
|
|
926
|
+
* Filter, which GitHubReconcileAudit to fetch.
|
|
927
|
+
*/
|
|
928
|
+
where?: Prisma.GitHubReconcileAuditWhereInput
|
|
929
|
+
/**
|
|
930
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
931
|
+
*
|
|
932
|
+
* Determine the order of GitHubReconcileAudits to fetch.
|
|
933
|
+
*/
|
|
934
|
+
orderBy?: Prisma.GitHubReconcileAuditOrderByWithRelationInput | Prisma.GitHubReconcileAuditOrderByWithRelationInput[]
|
|
935
|
+
/**
|
|
936
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
937
|
+
*
|
|
938
|
+
* Sets the position for searching for GitHubReconcileAudits.
|
|
939
|
+
*/
|
|
940
|
+
cursor?: Prisma.GitHubReconcileAuditWhereUniqueInput
|
|
941
|
+
/**
|
|
942
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
943
|
+
*
|
|
944
|
+
* Take `±n` GitHubReconcileAudits from the position of the cursor.
|
|
945
|
+
*/
|
|
946
|
+
take?: number
|
|
947
|
+
/**
|
|
948
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
949
|
+
*
|
|
950
|
+
* Skip the first `n` GitHubReconcileAudits.
|
|
951
|
+
*/
|
|
952
|
+
skip?: number
|
|
953
|
+
/**
|
|
954
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
955
|
+
*
|
|
956
|
+
* Filter by unique combinations of GitHubReconcileAudits.
|
|
957
|
+
*/
|
|
958
|
+
distinct?: Prisma.GitHubReconcileAuditScalarFieldEnum | Prisma.GitHubReconcileAuditScalarFieldEnum[]
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
/**
|
|
962
|
+
* GitHubReconcileAudit findMany
|
|
963
|
+
*/
|
|
964
|
+
export type GitHubReconcileAuditFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
965
|
+
/**
|
|
966
|
+
* Select specific fields to fetch from the GitHubReconcileAudit
|
|
967
|
+
*/
|
|
968
|
+
select?: Prisma.GitHubReconcileAuditSelect<ExtArgs> | null
|
|
969
|
+
/**
|
|
970
|
+
* Omit specific fields from the GitHubReconcileAudit
|
|
971
|
+
*/
|
|
972
|
+
omit?: Prisma.GitHubReconcileAuditOmit<ExtArgs> | null
|
|
973
|
+
/**
|
|
974
|
+
* Filter, which GitHubReconcileAudits to fetch.
|
|
975
|
+
*/
|
|
976
|
+
where?: Prisma.GitHubReconcileAuditWhereInput
|
|
977
|
+
/**
|
|
978
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
979
|
+
*
|
|
980
|
+
* Determine the order of GitHubReconcileAudits to fetch.
|
|
981
|
+
*/
|
|
982
|
+
orderBy?: Prisma.GitHubReconcileAuditOrderByWithRelationInput | Prisma.GitHubReconcileAuditOrderByWithRelationInput[]
|
|
983
|
+
/**
|
|
984
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
985
|
+
*
|
|
986
|
+
* Sets the position for listing GitHubReconcileAudits.
|
|
987
|
+
*/
|
|
988
|
+
cursor?: Prisma.GitHubReconcileAuditWhereUniqueInput
|
|
989
|
+
/**
|
|
990
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
991
|
+
*
|
|
992
|
+
* Take `±n` GitHubReconcileAudits from the position of the cursor.
|
|
993
|
+
*/
|
|
994
|
+
take?: number
|
|
995
|
+
/**
|
|
996
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
997
|
+
*
|
|
998
|
+
* Skip the first `n` GitHubReconcileAudits.
|
|
999
|
+
*/
|
|
1000
|
+
skip?: number
|
|
1001
|
+
/**
|
|
1002
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1003
|
+
*
|
|
1004
|
+
* Filter by unique combinations of GitHubReconcileAudits.
|
|
1005
|
+
*/
|
|
1006
|
+
distinct?: Prisma.GitHubReconcileAuditScalarFieldEnum | Prisma.GitHubReconcileAuditScalarFieldEnum[]
|
|
1007
|
+
}
|
|
1008
|
+
|
|
1009
|
+
/**
|
|
1010
|
+
* GitHubReconcileAudit create
|
|
1011
|
+
*/
|
|
1012
|
+
export type GitHubReconcileAuditCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1013
|
+
/**
|
|
1014
|
+
* Select specific fields to fetch from the GitHubReconcileAudit
|
|
1015
|
+
*/
|
|
1016
|
+
select?: Prisma.GitHubReconcileAuditSelect<ExtArgs> | null
|
|
1017
|
+
/**
|
|
1018
|
+
* Omit specific fields from the GitHubReconcileAudit
|
|
1019
|
+
*/
|
|
1020
|
+
omit?: Prisma.GitHubReconcileAuditOmit<ExtArgs> | null
|
|
1021
|
+
/**
|
|
1022
|
+
* The data needed to create a GitHubReconcileAudit.
|
|
1023
|
+
*/
|
|
1024
|
+
data: Prisma.XOR<Prisma.GitHubReconcileAuditCreateInput, Prisma.GitHubReconcileAuditUncheckedCreateInput>
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
/**
|
|
1028
|
+
* GitHubReconcileAudit createMany
|
|
1029
|
+
*/
|
|
1030
|
+
export type GitHubReconcileAuditCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1031
|
+
/**
|
|
1032
|
+
* The data used to create many GitHubReconcileAudits.
|
|
1033
|
+
*/
|
|
1034
|
+
data: Prisma.GitHubReconcileAuditCreateManyInput | Prisma.GitHubReconcileAuditCreateManyInput[]
|
|
1035
|
+
skipDuplicates?: boolean
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
/**
|
|
1039
|
+
* GitHubReconcileAudit createManyAndReturn
|
|
1040
|
+
*/
|
|
1041
|
+
export type GitHubReconcileAuditCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1042
|
+
/**
|
|
1043
|
+
* Select specific fields to fetch from the GitHubReconcileAudit
|
|
1044
|
+
*/
|
|
1045
|
+
select?: Prisma.GitHubReconcileAuditSelectCreateManyAndReturn<ExtArgs> | null
|
|
1046
|
+
/**
|
|
1047
|
+
* Omit specific fields from the GitHubReconcileAudit
|
|
1048
|
+
*/
|
|
1049
|
+
omit?: Prisma.GitHubReconcileAuditOmit<ExtArgs> | null
|
|
1050
|
+
/**
|
|
1051
|
+
* The data used to create many GitHubReconcileAudits.
|
|
1052
|
+
*/
|
|
1053
|
+
data: Prisma.GitHubReconcileAuditCreateManyInput | Prisma.GitHubReconcileAuditCreateManyInput[]
|
|
1054
|
+
skipDuplicates?: boolean
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
/**
|
|
1058
|
+
* GitHubReconcileAudit update
|
|
1059
|
+
*/
|
|
1060
|
+
export type GitHubReconcileAuditUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1061
|
+
/**
|
|
1062
|
+
* Select specific fields to fetch from the GitHubReconcileAudit
|
|
1063
|
+
*/
|
|
1064
|
+
select?: Prisma.GitHubReconcileAuditSelect<ExtArgs> | null
|
|
1065
|
+
/**
|
|
1066
|
+
* Omit specific fields from the GitHubReconcileAudit
|
|
1067
|
+
*/
|
|
1068
|
+
omit?: Prisma.GitHubReconcileAuditOmit<ExtArgs> | null
|
|
1069
|
+
/**
|
|
1070
|
+
* The data needed to update a GitHubReconcileAudit.
|
|
1071
|
+
*/
|
|
1072
|
+
data: Prisma.XOR<Prisma.GitHubReconcileAuditUpdateInput, Prisma.GitHubReconcileAuditUncheckedUpdateInput>
|
|
1073
|
+
/**
|
|
1074
|
+
* Choose, which GitHubReconcileAudit to update.
|
|
1075
|
+
*/
|
|
1076
|
+
where: Prisma.GitHubReconcileAuditWhereUniqueInput
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
/**
|
|
1080
|
+
* GitHubReconcileAudit updateMany
|
|
1081
|
+
*/
|
|
1082
|
+
export type GitHubReconcileAuditUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1083
|
+
/**
|
|
1084
|
+
* The data used to update GitHubReconcileAudits.
|
|
1085
|
+
*/
|
|
1086
|
+
data: Prisma.XOR<Prisma.GitHubReconcileAuditUpdateManyMutationInput, Prisma.GitHubReconcileAuditUncheckedUpdateManyInput>
|
|
1087
|
+
/**
|
|
1088
|
+
* Filter which GitHubReconcileAudits to update
|
|
1089
|
+
*/
|
|
1090
|
+
where?: Prisma.GitHubReconcileAuditWhereInput
|
|
1091
|
+
/**
|
|
1092
|
+
* Limit how many GitHubReconcileAudits to update.
|
|
1093
|
+
*/
|
|
1094
|
+
limit?: number
|
|
1095
|
+
}
|
|
1096
|
+
|
|
1097
|
+
/**
|
|
1098
|
+
* GitHubReconcileAudit updateManyAndReturn
|
|
1099
|
+
*/
|
|
1100
|
+
export type GitHubReconcileAuditUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1101
|
+
/**
|
|
1102
|
+
* Select specific fields to fetch from the GitHubReconcileAudit
|
|
1103
|
+
*/
|
|
1104
|
+
select?: Prisma.GitHubReconcileAuditSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1105
|
+
/**
|
|
1106
|
+
* Omit specific fields from the GitHubReconcileAudit
|
|
1107
|
+
*/
|
|
1108
|
+
omit?: Prisma.GitHubReconcileAuditOmit<ExtArgs> | null
|
|
1109
|
+
/**
|
|
1110
|
+
* The data used to update GitHubReconcileAudits.
|
|
1111
|
+
*/
|
|
1112
|
+
data: Prisma.XOR<Prisma.GitHubReconcileAuditUpdateManyMutationInput, Prisma.GitHubReconcileAuditUncheckedUpdateManyInput>
|
|
1113
|
+
/**
|
|
1114
|
+
* Filter which GitHubReconcileAudits to update
|
|
1115
|
+
*/
|
|
1116
|
+
where?: Prisma.GitHubReconcileAuditWhereInput
|
|
1117
|
+
/**
|
|
1118
|
+
* Limit how many GitHubReconcileAudits to update.
|
|
1119
|
+
*/
|
|
1120
|
+
limit?: number
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1123
|
+
/**
|
|
1124
|
+
* GitHubReconcileAudit upsert
|
|
1125
|
+
*/
|
|
1126
|
+
export type GitHubReconcileAuditUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1127
|
+
/**
|
|
1128
|
+
* Select specific fields to fetch from the GitHubReconcileAudit
|
|
1129
|
+
*/
|
|
1130
|
+
select?: Prisma.GitHubReconcileAuditSelect<ExtArgs> | null
|
|
1131
|
+
/**
|
|
1132
|
+
* Omit specific fields from the GitHubReconcileAudit
|
|
1133
|
+
*/
|
|
1134
|
+
omit?: Prisma.GitHubReconcileAuditOmit<ExtArgs> | null
|
|
1135
|
+
/**
|
|
1136
|
+
* The filter to search for the GitHubReconcileAudit to update in case it exists.
|
|
1137
|
+
*/
|
|
1138
|
+
where: Prisma.GitHubReconcileAuditWhereUniqueInput
|
|
1139
|
+
/**
|
|
1140
|
+
* In case the GitHubReconcileAudit found by the `where` argument doesn't exist, create a new GitHubReconcileAudit with this data.
|
|
1141
|
+
*/
|
|
1142
|
+
create: Prisma.XOR<Prisma.GitHubReconcileAuditCreateInput, Prisma.GitHubReconcileAuditUncheckedCreateInput>
|
|
1143
|
+
/**
|
|
1144
|
+
* In case the GitHubReconcileAudit was found with the provided `where` argument, update it with this data.
|
|
1145
|
+
*/
|
|
1146
|
+
update: Prisma.XOR<Prisma.GitHubReconcileAuditUpdateInput, Prisma.GitHubReconcileAuditUncheckedUpdateInput>
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
/**
|
|
1150
|
+
* GitHubReconcileAudit delete
|
|
1151
|
+
*/
|
|
1152
|
+
export type GitHubReconcileAuditDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1153
|
+
/**
|
|
1154
|
+
* Select specific fields to fetch from the GitHubReconcileAudit
|
|
1155
|
+
*/
|
|
1156
|
+
select?: Prisma.GitHubReconcileAuditSelect<ExtArgs> | null
|
|
1157
|
+
/**
|
|
1158
|
+
* Omit specific fields from the GitHubReconcileAudit
|
|
1159
|
+
*/
|
|
1160
|
+
omit?: Prisma.GitHubReconcileAuditOmit<ExtArgs> | null
|
|
1161
|
+
/**
|
|
1162
|
+
* Filter which GitHubReconcileAudit to delete.
|
|
1163
|
+
*/
|
|
1164
|
+
where: Prisma.GitHubReconcileAuditWhereUniqueInput
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
/**
|
|
1168
|
+
* GitHubReconcileAudit deleteMany
|
|
1169
|
+
*/
|
|
1170
|
+
export type GitHubReconcileAuditDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1171
|
+
/**
|
|
1172
|
+
* Filter which GitHubReconcileAudits to delete
|
|
1173
|
+
*/
|
|
1174
|
+
where?: Prisma.GitHubReconcileAuditWhereInput
|
|
1175
|
+
/**
|
|
1176
|
+
* Limit how many GitHubReconcileAudits to delete.
|
|
1177
|
+
*/
|
|
1178
|
+
limit?: number
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
/**
|
|
1182
|
+
* GitHubReconcileAudit without action
|
|
1183
|
+
*/
|
|
1184
|
+
export type GitHubReconcileAuditDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1185
|
+
/**
|
|
1186
|
+
* Select specific fields to fetch from the GitHubReconcileAudit
|
|
1187
|
+
*/
|
|
1188
|
+
select?: Prisma.GitHubReconcileAuditSelect<ExtArgs> | null
|
|
1189
|
+
/**
|
|
1190
|
+
* Omit specific fields from the GitHubReconcileAudit
|
|
1191
|
+
*/
|
|
1192
|
+
omit?: Prisma.GitHubReconcileAuditOmit<ExtArgs> | null
|
|
1193
|
+
}
|