@app-vitals/agent-admin 1.75.0 → 1.77.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 +15 -0
- package/prisma/client/client.ts +15 -0
- package/prisma/client/internal/class.ts +34 -4
- package/prisma/client/internal/prismaNamespace.ts +284 -2
- package/prisma/client/internal/prismaNamespaceBrowser.ts +58 -1
- package/prisma/client/models/GitHubCachedRepo.ts +1430 -0
- package/prisma/client/models/GitHubRepoAccess.ts +1397 -0
- package/prisma/client/models/GitHubRepoSnapshot.ts +1807 -0
- package/prisma/client/models.ts +3 -0
- package/prisma/migrations/20261120000000_add_github_repo_cache/migration.sql +75 -0
- package/prisma/schema/schema.prisma +62 -0
- package/src/fixtures/github-lookup-cassette.json +65 -0
- package/src/github-lookup-client.integration.test.ts +90 -1
- package/src/github-lookup-client.ts +156 -6
- package/src/github-lookup-client.unit.test.ts +147 -2
- package/src/github-repo-cache.integration.test.ts +227 -0
- package/src/github-repo-cache.ts +304 -0
- package/src/github-repo-cache.unit.test.ts +66 -0
- package/src/github-repo-crawler.integration.test.ts +244 -0
- package/src/github-repo-crawler.ts +273 -0
- package/src/github-repo-crawler.unit.test.ts +452 -0
|
@@ -0,0 +1,1807 @@
|
|
|
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 `GitHubRepoSnapshot` 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 GitHubRepoSnapshot
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type GitHubRepoSnapshotModel = runtime.Types.Result.DefaultSelection<Prisma.$GitHubRepoSnapshotPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateGitHubRepoSnapshot = {
|
|
22
|
+
_count: GitHubRepoSnapshotCountAggregateOutputType | null
|
|
23
|
+
_avg: GitHubRepoSnapshotAvgAggregateOutputType | null
|
|
24
|
+
_sum: GitHubRepoSnapshotSumAggregateOutputType | null
|
|
25
|
+
_min: GitHubRepoSnapshotMinAggregateOutputType | null
|
|
26
|
+
_max: GitHubRepoSnapshotMaxAggregateOutputType | null
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type GitHubRepoSnapshotAvgAggregateOutputType = {
|
|
30
|
+
crawlPage: number | null
|
|
31
|
+
totalCount: number | null
|
|
32
|
+
attempts: number | null
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export type GitHubRepoSnapshotSumAggregateOutputType = {
|
|
36
|
+
crawlPage: number | null
|
|
37
|
+
totalCount: number | null
|
|
38
|
+
attempts: number | null
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export type GitHubRepoSnapshotMinAggregateOutputType = {
|
|
42
|
+
id: string | null
|
|
43
|
+
accountId: string | null
|
|
44
|
+
appKind: string | null
|
|
45
|
+
appRef: string | null
|
|
46
|
+
org: string | null
|
|
47
|
+
crawlPage: number | null
|
|
48
|
+
crawlStartedAt: Date | null
|
|
49
|
+
completedAt: Date | null
|
|
50
|
+
totalCount: number | null
|
|
51
|
+
lastError: string | null
|
|
52
|
+
attempts: number | null
|
|
53
|
+
nextAttemptAt: Date | null
|
|
54
|
+
rateLimitResetAt: Date | null
|
|
55
|
+
leaseHolder: string | null
|
|
56
|
+
leasedUntil: Date | null
|
|
57
|
+
lastTickAt: Date | null
|
|
58
|
+
createdAt: Date | null
|
|
59
|
+
updatedAt: Date | null
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export type GitHubRepoSnapshotMaxAggregateOutputType = {
|
|
63
|
+
id: string | null
|
|
64
|
+
accountId: string | null
|
|
65
|
+
appKind: string | null
|
|
66
|
+
appRef: string | null
|
|
67
|
+
org: string | null
|
|
68
|
+
crawlPage: number | null
|
|
69
|
+
crawlStartedAt: Date | null
|
|
70
|
+
completedAt: Date | null
|
|
71
|
+
totalCount: number | null
|
|
72
|
+
lastError: string | null
|
|
73
|
+
attempts: number | null
|
|
74
|
+
nextAttemptAt: Date | null
|
|
75
|
+
rateLimitResetAt: Date | null
|
|
76
|
+
leaseHolder: string | null
|
|
77
|
+
leasedUntil: Date | null
|
|
78
|
+
lastTickAt: Date | null
|
|
79
|
+
createdAt: Date | null
|
|
80
|
+
updatedAt: Date | null
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export type GitHubRepoSnapshotCountAggregateOutputType = {
|
|
84
|
+
id: number
|
|
85
|
+
accountId: number
|
|
86
|
+
appKind: number
|
|
87
|
+
appRef: number
|
|
88
|
+
org: number
|
|
89
|
+
crawlPage: number
|
|
90
|
+
crawlStartedAt: number
|
|
91
|
+
completedAt: number
|
|
92
|
+
totalCount: number
|
|
93
|
+
lastError: number
|
|
94
|
+
attempts: number
|
|
95
|
+
nextAttemptAt: number
|
|
96
|
+
rateLimitResetAt: number
|
|
97
|
+
leaseHolder: number
|
|
98
|
+
leasedUntil: number
|
|
99
|
+
lastTickAt: number
|
|
100
|
+
createdAt: number
|
|
101
|
+
updatedAt: number
|
|
102
|
+
_all: number
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
export type GitHubRepoSnapshotAvgAggregateInputType = {
|
|
107
|
+
crawlPage?: true
|
|
108
|
+
totalCount?: true
|
|
109
|
+
attempts?: true
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export type GitHubRepoSnapshotSumAggregateInputType = {
|
|
113
|
+
crawlPage?: true
|
|
114
|
+
totalCount?: true
|
|
115
|
+
attempts?: true
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export type GitHubRepoSnapshotMinAggregateInputType = {
|
|
119
|
+
id?: true
|
|
120
|
+
accountId?: true
|
|
121
|
+
appKind?: true
|
|
122
|
+
appRef?: true
|
|
123
|
+
org?: true
|
|
124
|
+
crawlPage?: true
|
|
125
|
+
crawlStartedAt?: true
|
|
126
|
+
completedAt?: true
|
|
127
|
+
totalCount?: true
|
|
128
|
+
lastError?: true
|
|
129
|
+
attempts?: true
|
|
130
|
+
nextAttemptAt?: true
|
|
131
|
+
rateLimitResetAt?: true
|
|
132
|
+
leaseHolder?: true
|
|
133
|
+
leasedUntil?: true
|
|
134
|
+
lastTickAt?: true
|
|
135
|
+
createdAt?: true
|
|
136
|
+
updatedAt?: true
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export type GitHubRepoSnapshotMaxAggregateInputType = {
|
|
140
|
+
id?: true
|
|
141
|
+
accountId?: true
|
|
142
|
+
appKind?: true
|
|
143
|
+
appRef?: true
|
|
144
|
+
org?: true
|
|
145
|
+
crawlPage?: true
|
|
146
|
+
crawlStartedAt?: true
|
|
147
|
+
completedAt?: true
|
|
148
|
+
totalCount?: true
|
|
149
|
+
lastError?: true
|
|
150
|
+
attempts?: true
|
|
151
|
+
nextAttemptAt?: true
|
|
152
|
+
rateLimitResetAt?: true
|
|
153
|
+
leaseHolder?: true
|
|
154
|
+
leasedUntil?: true
|
|
155
|
+
lastTickAt?: true
|
|
156
|
+
createdAt?: true
|
|
157
|
+
updatedAt?: true
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
export type GitHubRepoSnapshotCountAggregateInputType = {
|
|
161
|
+
id?: true
|
|
162
|
+
accountId?: true
|
|
163
|
+
appKind?: true
|
|
164
|
+
appRef?: true
|
|
165
|
+
org?: true
|
|
166
|
+
crawlPage?: true
|
|
167
|
+
crawlStartedAt?: true
|
|
168
|
+
completedAt?: true
|
|
169
|
+
totalCount?: true
|
|
170
|
+
lastError?: true
|
|
171
|
+
attempts?: true
|
|
172
|
+
nextAttemptAt?: true
|
|
173
|
+
rateLimitResetAt?: true
|
|
174
|
+
leaseHolder?: true
|
|
175
|
+
leasedUntil?: true
|
|
176
|
+
lastTickAt?: true
|
|
177
|
+
createdAt?: true
|
|
178
|
+
updatedAt?: true
|
|
179
|
+
_all?: true
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export type GitHubRepoSnapshotAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
183
|
+
/**
|
|
184
|
+
* Filter which GitHubRepoSnapshot to aggregate.
|
|
185
|
+
*/
|
|
186
|
+
where?: Prisma.GitHubRepoSnapshotWhereInput
|
|
187
|
+
/**
|
|
188
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
189
|
+
*
|
|
190
|
+
* Determine the order of GitHubRepoSnapshots to fetch.
|
|
191
|
+
*/
|
|
192
|
+
orderBy?: Prisma.GitHubRepoSnapshotOrderByWithRelationInput | Prisma.GitHubRepoSnapshotOrderByWithRelationInput[]
|
|
193
|
+
/**
|
|
194
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
195
|
+
*
|
|
196
|
+
* Sets the start position
|
|
197
|
+
*/
|
|
198
|
+
cursor?: Prisma.GitHubRepoSnapshotWhereUniqueInput
|
|
199
|
+
/**
|
|
200
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
201
|
+
*
|
|
202
|
+
* Take `±n` GitHubRepoSnapshots from the position of the cursor.
|
|
203
|
+
*/
|
|
204
|
+
take?: number
|
|
205
|
+
/**
|
|
206
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
207
|
+
*
|
|
208
|
+
* Skip the first `n` GitHubRepoSnapshots.
|
|
209
|
+
*/
|
|
210
|
+
skip?: number
|
|
211
|
+
/**
|
|
212
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
213
|
+
*
|
|
214
|
+
* Count returned GitHubRepoSnapshots
|
|
215
|
+
**/
|
|
216
|
+
_count?: true | GitHubRepoSnapshotCountAggregateInputType
|
|
217
|
+
/**
|
|
218
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
219
|
+
*
|
|
220
|
+
* Select which fields to average
|
|
221
|
+
**/
|
|
222
|
+
_avg?: GitHubRepoSnapshotAvgAggregateInputType
|
|
223
|
+
/**
|
|
224
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
225
|
+
*
|
|
226
|
+
* Select which fields to sum
|
|
227
|
+
**/
|
|
228
|
+
_sum?: GitHubRepoSnapshotSumAggregateInputType
|
|
229
|
+
/**
|
|
230
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
231
|
+
*
|
|
232
|
+
* Select which fields to find the minimum value
|
|
233
|
+
**/
|
|
234
|
+
_min?: GitHubRepoSnapshotMinAggregateInputType
|
|
235
|
+
/**
|
|
236
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
237
|
+
*
|
|
238
|
+
* Select which fields to find the maximum value
|
|
239
|
+
**/
|
|
240
|
+
_max?: GitHubRepoSnapshotMaxAggregateInputType
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
export type GetGitHubRepoSnapshotAggregateType<T extends GitHubRepoSnapshotAggregateArgs> = {
|
|
244
|
+
[P in keyof T & keyof AggregateGitHubRepoSnapshot]: P extends '_count' | 'count'
|
|
245
|
+
? T[P] extends true
|
|
246
|
+
? number
|
|
247
|
+
: Prisma.GetScalarType<T[P], AggregateGitHubRepoSnapshot[P]>
|
|
248
|
+
: Prisma.GetScalarType<T[P], AggregateGitHubRepoSnapshot[P]>
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
export type GitHubRepoSnapshotGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
255
|
+
where?: Prisma.GitHubRepoSnapshotWhereInput
|
|
256
|
+
orderBy?: Prisma.GitHubRepoSnapshotOrderByWithAggregationInput | Prisma.GitHubRepoSnapshotOrderByWithAggregationInput[]
|
|
257
|
+
by: Prisma.GitHubRepoSnapshotScalarFieldEnum[] | Prisma.GitHubRepoSnapshotScalarFieldEnum
|
|
258
|
+
having?: Prisma.GitHubRepoSnapshotScalarWhereWithAggregatesInput
|
|
259
|
+
take?: number
|
|
260
|
+
skip?: number
|
|
261
|
+
_count?: GitHubRepoSnapshotCountAggregateInputType | true
|
|
262
|
+
_avg?: GitHubRepoSnapshotAvgAggregateInputType
|
|
263
|
+
_sum?: GitHubRepoSnapshotSumAggregateInputType
|
|
264
|
+
_min?: GitHubRepoSnapshotMinAggregateInputType
|
|
265
|
+
_max?: GitHubRepoSnapshotMaxAggregateInputType
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
export type GitHubRepoSnapshotGroupByOutputType = {
|
|
269
|
+
id: string
|
|
270
|
+
accountId: string
|
|
271
|
+
appKind: string
|
|
272
|
+
appRef: string
|
|
273
|
+
org: string
|
|
274
|
+
crawlPage: number
|
|
275
|
+
crawlStartedAt: Date | null
|
|
276
|
+
completedAt: Date | null
|
|
277
|
+
totalCount: number | null
|
|
278
|
+
lastError: string | null
|
|
279
|
+
attempts: number
|
|
280
|
+
nextAttemptAt: Date | null
|
|
281
|
+
rateLimitResetAt: Date | null
|
|
282
|
+
leaseHolder: string | null
|
|
283
|
+
leasedUntil: Date | null
|
|
284
|
+
lastTickAt: Date | null
|
|
285
|
+
createdAt: Date
|
|
286
|
+
updatedAt: Date
|
|
287
|
+
_count: GitHubRepoSnapshotCountAggregateOutputType | null
|
|
288
|
+
_avg: GitHubRepoSnapshotAvgAggregateOutputType | null
|
|
289
|
+
_sum: GitHubRepoSnapshotSumAggregateOutputType | null
|
|
290
|
+
_min: GitHubRepoSnapshotMinAggregateOutputType | null
|
|
291
|
+
_max: GitHubRepoSnapshotMaxAggregateOutputType | null
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
export type GetGitHubRepoSnapshotGroupByPayload<T extends GitHubRepoSnapshotGroupByArgs> = Prisma.PrismaPromise<
|
|
295
|
+
Array<
|
|
296
|
+
Prisma.PickEnumerable<GitHubRepoSnapshotGroupByOutputType, T['by']> &
|
|
297
|
+
{
|
|
298
|
+
[P in ((keyof T) & (keyof GitHubRepoSnapshotGroupByOutputType))]: P extends '_count'
|
|
299
|
+
? T[P] extends boolean
|
|
300
|
+
? number
|
|
301
|
+
: Prisma.GetScalarType<T[P], GitHubRepoSnapshotGroupByOutputType[P]>
|
|
302
|
+
: Prisma.GetScalarType<T[P], GitHubRepoSnapshotGroupByOutputType[P]>
|
|
303
|
+
}
|
|
304
|
+
>
|
|
305
|
+
>
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
export type GitHubRepoSnapshotWhereInput = {
|
|
310
|
+
AND?: Prisma.GitHubRepoSnapshotWhereInput | Prisma.GitHubRepoSnapshotWhereInput[]
|
|
311
|
+
OR?: Prisma.GitHubRepoSnapshotWhereInput[]
|
|
312
|
+
NOT?: Prisma.GitHubRepoSnapshotWhereInput | Prisma.GitHubRepoSnapshotWhereInput[]
|
|
313
|
+
id?: Prisma.StringFilter<"GitHubRepoSnapshot"> | string
|
|
314
|
+
accountId?: Prisma.StringFilter<"GitHubRepoSnapshot"> | string
|
|
315
|
+
appKind?: Prisma.StringFilter<"GitHubRepoSnapshot"> | string
|
|
316
|
+
appRef?: Prisma.StringFilter<"GitHubRepoSnapshot"> | string
|
|
317
|
+
org?: Prisma.StringFilter<"GitHubRepoSnapshot"> | string
|
|
318
|
+
crawlPage?: Prisma.IntFilter<"GitHubRepoSnapshot"> | number
|
|
319
|
+
crawlStartedAt?: Prisma.DateTimeNullableFilter<"GitHubRepoSnapshot"> | Date | string | null
|
|
320
|
+
completedAt?: Prisma.DateTimeNullableFilter<"GitHubRepoSnapshot"> | Date | string | null
|
|
321
|
+
totalCount?: Prisma.IntNullableFilter<"GitHubRepoSnapshot"> | number | null
|
|
322
|
+
lastError?: Prisma.StringNullableFilter<"GitHubRepoSnapshot"> | string | null
|
|
323
|
+
attempts?: Prisma.IntFilter<"GitHubRepoSnapshot"> | number
|
|
324
|
+
nextAttemptAt?: Prisma.DateTimeNullableFilter<"GitHubRepoSnapshot"> | Date | string | null
|
|
325
|
+
rateLimitResetAt?: Prisma.DateTimeNullableFilter<"GitHubRepoSnapshot"> | Date | string | null
|
|
326
|
+
leaseHolder?: Prisma.StringNullableFilter<"GitHubRepoSnapshot"> | string | null
|
|
327
|
+
leasedUntil?: Prisma.DateTimeNullableFilter<"GitHubRepoSnapshot"> | Date | string | null
|
|
328
|
+
lastTickAt?: Prisma.DateTimeNullableFilter<"GitHubRepoSnapshot"> | Date | string | null
|
|
329
|
+
createdAt?: Prisma.DateTimeFilter<"GitHubRepoSnapshot"> | Date | string
|
|
330
|
+
updatedAt?: Prisma.DateTimeFilter<"GitHubRepoSnapshot"> | Date | string
|
|
331
|
+
repos?: Prisma.GitHubCachedRepoListRelationFilter
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
export type GitHubRepoSnapshotOrderByWithRelationInput = {
|
|
335
|
+
id?: Prisma.SortOrder
|
|
336
|
+
accountId?: Prisma.SortOrder
|
|
337
|
+
appKind?: Prisma.SortOrder
|
|
338
|
+
appRef?: Prisma.SortOrder
|
|
339
|
+
org?: Prisma.SortOrder
|
|
340
|
+
crawlPage?: Prisma.SortOrder
|
|
341
|
+
crawlStartedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
342
|
+
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
343
|
+
totalCount?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
344
|
+
lastError?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
345
|
+
attempts?: Prisma.SortOrder
|
|
346
|
+
nextAttemptAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
347
|
+
rateLimitResetAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
348
|
+
leaseHolder?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
349
|
+
leasedUntil?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
350
|
+
lastTickAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
351
|
+
createdAt?: Prisma.SortOrder
|
|
352
|
+
updatedAt?: Prisma.SortOrder
|
|
353
|
+
repos?: Prisma.GitHubCachedRepoOrderByRelationAggregateInput
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
export type GitHubRepoSnapshotWhereUniqueInput = Prisma.AtLeast<{
|
|
357
|
+
id?: string
|
|
358
|
+
accountId_appKind_appRef_org?: Prisma.GitHubRepoSnapshotAccountIdAppKindAppRefOrgCompoundUniqueInput
|
|
359
|
+
AND?: Prisma.GitHubRepoSnapshotWhereInput | Prisma.GitHubRepoSnapshotWhereInput[]
|
|
360
|
+
OR?: Prisma.GitHubRepoSnapshotWhereInput[]
|
|
361
|
+
NOT?: Prisma.GitHubRepoSnapshotWhereInput | Prisma.GitHubRepoSnapshotWhereInput[]
|
|
362
|
+
accountId?: Prisma.StringFilter<"GitHubRepoSnapshot"> | string
|
|
363
|
+
appKind?: Prisma.StringFilter<"GitHubRepoSnapshot"> | string
|
|
364
|
+
appRef?: Prisma.StringFilter<"GitHubRepoSnapshot"> | string
|
|
365
|
+
org?: Prisma.StringFilter<"GitHubRepoSnapshot"> | string
|
|
366
|
+
crawlPage?: Prisma.IntFilter<"GitHubRepoSnapshot"> | number
|
|
367
|
+
crawlStartedAt?: Prisma.DateTimeNullableFilter<"GitHubRepoSnapshot"> | Date | string | null
|
|
368
|
+
completedAt?: Prisma.DateTimeNullableFilter<"GitHubRepoSnapshot"> | Date | string | null
|
|
369
|
+
totalCount?: Prisma.IntNullableFilter<"GitHubRepoSnapshot"> | number | null
|
|
370
|
+
lastError?: Prisma.StringNullableFilter<"GitHubRepoSnapshot"> | string | null
|
|
371
|
+
attempts?: Prisma.IntFilter<"GitHubRepoSnapshot"> | number
|
|
372
|
+
nextAttemptAt?: Prisma.DateTimeNullableFilter<"GitHubRepoSnapshot"> | Date | string | null
|
|
373
|
+
rateLimitResetAt?: Prisma.DateTimeNullableFilter<"GitHubRepoSnapshot"> | Date | string | null
|
|
374
|
+
leaseHolder?: Prisma.StringNullableFilter<"GitHubRepoSnapshot"> | string | null
|
|
375
|
+
leasedUntil?: Prisma.DateTimeNullableFilter<"GitHubRepoSnapshot"> | Date | string | null
|
|
376
|
+
lastTickAt?: Prisma.DateTimeNullableFilter<"GitHubRepoSnapshot"> | Date | string | null
|
|
377
|
+
createdAt?: Prisma.DateTimeFilter<"GitHubRepoSnapshot"> | Date | string
|
|
378
|
+
updatedAt?: Prisma.DateTimeFilter<"GitHubRepoSnapshot"> | Date | string
|
|
379
|
+
repos?: Prisma.GitHubCachedRepoListRelationFilter
|
|
380
|
+
}, "id" | "accountId_appKind_appRef_org">
|
|
381
|
+
|
|
382
|
+
export type GitHubRepoSnapshotOrderByWithAggregationInput = {
|
|
383
|
+
id?: Prisma.SortOrder
|
|
384
|
+
accountId?: Prisma.SortOrder
|
|
385
|
+
appKind?: Prisma.SortOrder
|
|
386
|
+
appRef?: Prisma.SortOrder
|
|
387
|
+
org?: Prisma.SortOrder
|
|
388
|
+
crawlPage?: Prisma.SortOrder
|
|
389
|
+
crawlStartedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
390
|
+
completedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
391
|
+
totalCount?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
392
|
+
lastError?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
393
|
+
attempts?: Prisma.SortOrder
|
|
394
|
+
nextAttemptAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
395
|
+
rateLimitResetAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
396
|
+
leaseHolder?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
397
|
+
leasedUntil?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
398
|
+
lastTickAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
399
|
+
createdAt?: Prisma.SortOrder
|
|
400
|
+
updatedAt?: Prisma.SortOrder
|
|
401
|
+
_count?: Prisma.GitHubRepoSnapshotCountOrderByAggregateInput
|
|
402
|
+
_avg?: Prisma.GitHubRepoSnapshotAvgOrderByAggregateInput
|
|
403
|
+
_max?: Prisma.GitHubRepoSnapshotMaxOrderByAggregateInput
|
|
404
|
+
_min?: Prisma.GitHubRepoSnapshotMinOrderByAggregateInput
|
|
405
|
+
_sum?: Prisma.GitHubRepoSnapshotSumOrderByAggregateInput
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
export type GitHubRepoSnapshotScalarWhereWithAggregatesInput = {
|
|
409
|
+
AND?: Prisma.GitHubRepoSnapshotScalarWhereWithAggregatesInput | Prisma.GitHubRepoSnapshotScalarWhereWithAggregatesInput[]
|
|
410
|
+
OR?: Prisma.GitHubRepoSnapshotScalarWhereWithAggregatesInput[]
|
|
411
|
+
NOT?: Prisma.GitHubRepoSnapshotScalarWhereWithAggregatesInput | Prisma.GitHubRepoSnapshotScalarWhereWithAggregatesInput[]
|
|
412
|
+
id?: Prisma.StringWithAggregatesFilter<"GitHubRepoSnapshot"> | string
|
|
413
|
+
accountId?: Prisma.StringWithAggregatesFilter<"GitHubRepoSnapshot"> | string
|
|
414
|
+
appKind?: Prisma.StringWithAggregatesFilter<"GitHubRepoSnapshot"> | string
|
|
415
|
+
appRef?: Prisma.StringWithAggregatesFilter<"GitHubRepoSnapshot"> | string
|
|
416
|
+
org?: Prisma.StringWithAggregatesFilter<"GitHubRepoSnapshot"> | string
|
|
417
|
+
crawlPage?: Prisma.IntWithAggregatesFilter<"GitHubRepoSnapshot"> | number
|
|
418
|
+
crawlStartedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"GitHubRepoSnapshot"> | Date | string | null
|
|
419
|
+
completedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"GitHubRepoSnapshot"> | Date | string | null
|
|
420
|
+
totalCount?: Prisma.IntNullableWithAggregatesFilter<"GitHubRepoSnapshot"> | number | null
|
|
421
|
+
lastError?: Prisma.StringNullableWithAggregatesFilter<"GitHubRepoSnapshot"> | string | null
|
|
422
|
+
attempts?: Prisma.IntWithAggregatesFilter<"GitHubRepoSnapshot"> | number
|
|
423
|
+
nextAttemptAt?: Prisma.DateTimeNullableWithAggregatesFilter<"GitHubRepoSnapshot"> | Date | string | null
|
|
424
|
+
rateLimitResetAt?: Prisma.DateTimeNullableWithAggregatesFilter<"GitHubRepoSnapshot"> | Date | string | null
|
|
425
|
+
leaseHolder?: Prisma.StringNullableWithAggregatesFilter<"GitHubRepoSnapshot"> | string | null
|
|
426
|
+
leasedUntil?: Prisma.DateTimeNullableWithAggregatesFilter<"GitHubRepoSnapshot"> | Date | string | null
|
|
427
|
+
lastTickAt?: Prisma.DateTimeNullableWithAggregatesFilter<"GitHubRepoSnapshot"> | Date | string | null
|
|
428
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"GitHubRepoSnapshot"> | Date | string
|
|
429
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"GitHubRepoSnapshot"> | Date | string
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
export type GitHubRepoSnapshotCreateInput = {
|
|
433
|
+
id?: string
|
|
434
|
+
accountId: string
|
|
435
|
+
appKind: string
|
|
436
|
+
appRef: string
|
|
437
|
+
org: string
|
|
438
|
+
crawlPage?: number
|
|
439
|
+
crawlStartedAt?: Date | string | null
|
|
440
|
+
completedAt?: Date | string | null
|
|
441
|
+
totalCount?: number | null
|
|
442
|
+
lastError?: string | null
|
|
443
|
+
attempts?: number
|
|
444
|
+
nextAttemptAt?: Date | string | null
|
|
445
|
+
rateLimitResetAt?: Date | string | null
|
|
446
|
+
leaseHolder?: string | null
|
|
447
|
+
leasedUntil?: Date | string | null
|
|
448
|
+
lastTickAt?: Date | string | null
|
|
449
|
+
createdAt?: Date | string
|
|
450
|
+
updatedAt?: Date | string
|
|
451
|
+
repos?: Prisma.GitHubCachedRepoCreateNestedManyWithoutSnapshotInput
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
export type GitHubRepoSnapshotUncheckedCreateInput = {
|
|
455
|
+
id?: string
|
|
456
|
+
accountId: string
|
|
457
|
+
appKind: string
|
|
458
|
+
appRef: string
|
|
459
|
+
org: string
|
|
460
|
+
crawlPage?: number
|
|
461
|
+
crawlStartedAt?: Date | string | null
|
|
462
|
+
completedAt?: Date | string | null
|
|
463
|
+
totalCount?: number | null
|
|
464
|
+
lastError?: string | null
|
|
465
|
+
attempts?: number
|
|
466
|
+
nextAttemptAt?: Date | string | null
|
|
467
|
+
rateLimitResetAt?: Date | string | null
|
|
468
|
+
leaseHolder?: string | null
|
|
469
|
+
leasedUntil?: Date | string | null
|
|
470
|
+
lastTickAt?: Date | string | null
|
|
471
|
+
createdAt?: Date | string
|
|
472
|
+
updatedAt?: Date | string
|
|
473
|
+
repos?: Prisma.GitHubCachedRepoUncheckedCreateNestedManyWithoutSnapshotInput
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
export type GitHubRepoSnapshotUpdateInput = {
|
|
477
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
478
|
+
accountId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
479
|
+
appKind?: Prisma.StringFieldUpdateOperationsInput | string
|
|
480
|
+
appRef?: Prisma.StringFieldUpdateOperationsInput | string
|
|
481
|
+
org?: Prisma.StringFieldUpdateOperationsInput | string
|
|
482
|
+
crawlPage?: Prisma.IntFieldUpdateOperationsInput | number
|
|
483
|
+
crawlStartedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
484
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
485
|
+
totalCount?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
486
|
+
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
487
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number
|
|
488
|
+
nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
489
|
+
rateLimitResetAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
490
|
+
leaseHolder?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
491
|
+
leasedUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
492
|
+
lastTickAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
493
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
494
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
495
|
+
repos?: Prisma.GitHubCachedRepoUpdateManyWithoutSnapshotNestedInput
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
export type GitHubRepoSnapshotUncheckedUpdateInput = {
|
|
499
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
500
|
+
accountId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
501
|
+
appKind?: Prisma.StringFieldUpdateOperationsInput | string
|
|
502
|
+
appRef?: Prisma.StringFieldUpdateOperationsInput | string
|
|
503
|
+
org?: Prisma.StringFieldUpdateOperationsInput | string
|
|
504
|
+
crawlPage?: Prisma.IntFieldUpdateOperationsInput | number
|
|
505
|
+
crawlStartedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
506
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
507
|
+
totalCount?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
508
|
+
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
509
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number
|
|
510
|
+
nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
511
|
+
rateLimitResetAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
512
|
+
leaseHolder?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
513
|
+
leasedUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
514
|
+
lastTickAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
515
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
516
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
517
|
+
repos?: Prisma.GitHubCachedRepoUncheckedUpdateManyWithoutSnapshotNestedInput
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
export type GitHubRepoSnapshotCreateManyInput = {
|
|
521
|
+
id?: string
|
|
522
|
+
accountId: string
|
|
523
|
+
appKind: string
|
|
524
|
+
appRef: string
|
|
525
|
+
org: string
|
|
526
|
+
crawlPage?: number
|
|
527
|
+
crawlStartedAt?: Date | string | null
|
|
528
|
+
completedAt?: Date | string | null
|
|
529
|
+
totalCount?: number | null
|
|
530
|
+
lastError?: string | null
|
|
531
|
+
attempts?: number
|
|
532
|
+
nextAttemptAt?: Date | string | null
|
|
533
|
+
rateLimitResetAt?: Date | string | null
|
|
534
|
+
leaseHolder?: string | null
|
|
535
|
+
leasedUntil?: Date | string | null
|
|
536
|
+
lastTickAt?: Date | string | null
|
|
537
|
+
createdAt?: Date | string
|
|
538
|
+
updatedAt?: Date | string
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
export type GitHubRepoSnapshotUpdateManyMutationInput = {
|
|
542
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
543
|
+
accountId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
544
|
+
appKind?: Prisma.StringFieldUpdateOperationsInput | string
|
|
545
|
+
appRef?: Prisma.StringFieldUpdateOperationsInput | string
|
|
546
|
+
org?: Prisma.StringFieldUpdateOperationsInput | string
|
|
547
|
+
crawlPage?: Prisma.IntFieldUpdateOperationsInput | number
|
|
548
|
+
crawlStartedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
549
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
550
|
+
totalCount?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
551
|
+
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
552
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number
|
|
553
|
+
nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
554
|
+
rateLimitResetAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
555
|
+
leaseHolder?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
556
|
+
leasedUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
557
|
+
lastTickAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
558
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
559
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
export type GitHubRepoSnapshotUncheckedUpdateManyInput = {
|
|
563
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
564
|
+
accountId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
565
|
+
appKind?: Prisma.StringFieldUpdateOperationsInput | string
|
|
566
|
+
appRef?: Prisma.StringFieldUpdateOperationsInput | string
|
|
567
|
+
org?: Prisma.StringFieldUpdateOperationsInput | string
|
|
568
|
+
crawlPage?: Prisma.IntFieldUpdateOperationsInput | number
|
|
569
|
+
crawlStartedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
570
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
571
|
+
totalCount?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
572
|
+
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
573
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number
|
|
574
|
+
nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
575
|
+
rateLimitResetAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
576
|
+
leaseHolder?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
577
|
+
leasedUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
578
|
+
lastTickAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
579
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
580
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
export type GitHubRepoSnapshotAccountIdAppKindAppRefOrgCompoundUniqueInput = {
|
|
584
|
+
accountId: string
|
|
585
|
+
appKind: string
|
|
586
|
+
appRef: string
|
|
587
|
+
org: string
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
export type GitHubRepoSnapshotCountOrderByAggregateInput = {
|
|
591
|
+
id?: Prisma.SortOrder
|
|
592
|
+
accountId?: Prisma.SortOrder
|
|
593
|
+
appKind?: Prisma.SortOrder
|
|
594
|
+
appRef?: Prisma.SortOrder
|
|
595
|
+
org?: Prisma.SortOrder
|
|
596
|
+
crawlPage?: Prisma.SortOrder
|
|
597
|
+
crawlStartedAt?: Prisma.SortOrder
|
|
598
|
+
completedAt?: Prisma.SortOrder
|
|
599
|
+
totalCount?: Prisma.SortOrder
|
|
600
|
+
lastError?: Prisma.SortOrder
|
|
601
|
+
attempts?: Prisma.SortOrder
|
|
602
|
+
nextAttemptAt?: Prisma.SortOrder
|
|
603
|
+
rateLimitResetAt?: Prisma.SortOrder
|
|
604
|
+
leaseHolder?: Prisma.SortOrder
|
|
605
|
+
leasedUntil?: Prisma.SortOrder
|
|
606
|
+
lastTickAt?: Prisma.SortOrder
|
|
607
|
+
createdAt?: Prisma.SortOrder
|
|
608
|
+
updatedAt?: Prisma.SortOrder
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
export type GitHubRepoSnapshotAvgOrderByAggregateInput = {
|
|
612
|
+
crawlPage?: Prisma.SortOrder
|
|
613
|
+
totalCount?: Prisma.SortOrder
|
|
614
|
+
attempts?: Prisma.SortOrder
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
export type GitHubRepoSnapshotMaxOrderByAggregateInput = {
|
|
618
|
+
id?: Prisma.SortOrder
|
|
619
|
+
accountId?: Prisma.SortOrder
|
|
620
|
+
appKind?: Prisma.SortOrder
|
|
621
|
+
appRef?: Prisma.SortOrder
|
|
622
|
+
org?: Prisma.SortOrder
|
|
623
|
+
crawlPage?: Prisma.SortOrder
|
|
624
|
+
crawlStartedAt?: Prisma.SortOrder
|
|
625
|
+
completedAt?: Prisma.SortOrder
|
|
626
|
+
totalCount?: Prisma.SortOrder
|
|
627
|
+
lastError?: Prisma.SortOrder
|
|
628
|
+
attempts?: Prisma.SortOrder
|
|
629
|
+
nextAttemptAt?: Prisma.SortOrder
|
|
630
|
+
rateLimitResetAt?: Prisma.SortOrder
|
|
631
|
+
leaseHolder?: Prisma.SortOrder
|
|
632
|
+
leasedUntil?: Prisma.SortOrder
|
|
633
|
+
lastTickAt?: Prisma.SortOrder
|
|
634
|
+
createdAt?: Prisma.SortOrder
|
|
635
|
+
updatedAt?: Prisma.SortOrder
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
export type GitHubRepoSnapshotMinOrderByAggregateInput = {
|
|
639
|
+
id?: Prisma.SortOrder
|
|
640
|
+
accountId?: Prisma.SortOrder
|
|
641
|
+
appKind?: Prisma.SortOrder
|
|
642
|
+
appRef?: Prisma.SortOrder
|
|
643
|
+
org?: Prisma.SortOrder
|
|
644
|
+
crawlPage?: Prisma.SortOrder
|
|
645
|
+
crawlStartedAt?: Prisma.SortOrder
|
|
646
|
+
completedAt?: Prisma.SortOrder
|
|
647
|
+
totalCount?: Prisma.SortOrder
|
|
648
|
+
lastError?: Prisma.SortOrder
|
|
649
|
+
attempts?: Prisma.SortOrder
|
|
650
|
+
nextAttemptAt?: Prisma.SortOrder
|
|
651
|
+
rateLimitResetAt?: Prisma.SortOrder
|
|
652
|
+
leaseHolder?: Prisma.SortOrder
|
|
653
|
+
leasedUntil?: Prisma.SortOrder
|
|
654
|
+
lastTickAt?: Prisma.SortOrder
|
|
655
|
+
createdAt?: Prisma.SortOrder
|
|
656
|
+
updatedAt?: Prisma.SortOrder
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
export type GitHubRepoSnapshotSumOrderByAggregateInput = {
|
|
660
|
+
crawlPage?: Prisma.SortOrder
|
|
661
|
+
totalCount?: Prisma.SortOrder
|
|
662
|
+
attempts?: Prisma.SortOrder
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
export type GitHubRepoSnapshotScalarRelationFilter = {
|
|
666
|
+
is?: Prisma.GitHubRepoSnapshotWhereInput
|
|
667
|
+
isNot?: Prisma.GitHubRepoSnapshotWhereInput
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
export type GitHubRepoSnapshotCreateNestedOneWithoutReposInput = {
|
|
671
|
+
create?: Prisma.XOR<Prisma.GitHubRepoSnapshotCreateWithoutReposInput, Prisma.GitHubRepoSnapshotUncheckedCreateWithoutReposInput>
|
|
672
|
+
connectOrCreate?: Prisma.GitHubRepoSnapshotCreateOrConnectWithoutReposInput
|
|
673
|
+
connect?: Prisma.GitHubRepoSnapshotWhereUniqueInput
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
export type GitHubRepoSnapshotUpdateOneRequiredWithoutReposNestedInput = {
|
|
677
|
+
create?: Prisma.XOR<Prisma.GitHubRepoSnapshotCreateWithoutReposInput, Prisma.GitHubRepoSnapshotUncheckedCreateWithoutReposInput>
|
|
678
|
+
connectOrCreate?: Prisma.GitHubRepoSnapshotCreateOrConnectWithoutReposInput
|
|
679
|
+
upsert?: Prisma.GitHubRepoSnapshotUpsertWithoutReposInput
|
|
680
|
+
connect?: Prisma.GitHubRepoSnapshotWhereUniqueInput
|
|
681
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.GitHubRepoSnapshotUpdateToOneWithWhereWithoutReposInput, Prisma.GitHubRepoSnapshotUpdateWithoutReposInput>, Prisma.GitHubRepoSnapshotUncheckedUpdateWithoutReposInput>
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
export type GitHubRepoSnapshotCreateWithoutReposInput = {
|
|
685
|
+
id?: string
|
|
686
|
+
accountId: string
|
|
687
|
+
appKind: string
|
|
688
|
+
appRef: string
|
|
689
|
+
org: string
|
|
690
|
+
crawlPage?: number
|
|
691
|
+
crawlStartedAt?: Date | string | null
|
|
692
|
+
completedAt?: Date | string | null
|
|
693
|
+
totalCount?: number | null
|
|
694
|
+
lastError?: string | null
|
|
695
|
+
attempts?: number
|
|
696
|
+
nextAttemptAt?: Date | string | null
|
|
697
|
+
rateLimitResetAt?: Date | string | null
|
|
698
|
+
leaseHolder?: string | null
|
|
699
|
+
leasedUntil?: Date | string | null
|
|
700
|
+
lastTickAt?: Date | string | null
|
|
701
|
+
createdAt?: Date | string
|
|
702
|
+
updatedAt?: Date | string
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
export type GitHubRepoSnapshotUncheckedCreateWithoutReposInput = {
|
|
706
|
+
id?: string
|
|
707
|
+
accountId: string
|
|
708
|
+
appKind: string
|
|
709
|
+
appRef: string
|
|
710
|
+
org: string
|
|
711
|
+
crawlPage?: number
|
|
712
|
+
crawlStartedAt?: Date | string | null
|
|
713
|
+
completedAt?: Date | string | null
|
|
714
|
+
totalCount?: number | null
|
|
715
|
+
lastError?: string | null
|
|
716
|
+
attempts?: number
|
|
717
|
+
nextAttemptAt?: Date | string | null
|
|
718
|
+
rateLimitResetAt?: Date | string | null
|
|
719
|
+
leaseHolder?: string | null
|
|
720
|
+
leasedUntil?: Date | string | null
|
|
721
|
+
lastTickAt?: Date | string | null
|
|
722
|
+
createdAt?: Date | string
|
|
723
|
+
updatedAt?: Date | string
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
export type GitHubRepoSnapshotCreateOrConnectWithoutReposInput = {
|
|
727
|
+
where: Prisma.GitHubRepoSnapshotWhereUniqueInput
|
|
728
|
+
create: Prisma.XOR<Prisma.GitHubRepoSnapshotCreateWithoutReposInput, Prisma.GitHubRepoSnapshotUncheckedCreateWithoutReposInput>
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
export type GitHubRepoSnapshotUpsertWithoutReposInput = {
|
|
732
|
+
update: Prisma.XOR<Prisma.GitHubRepoSnapshotUpdateWithoutReposInput, Prisma.GitHubRepoSnapshotUncheckedUpdateWithoutReposInput>
|
|
733
|
+
create: Prisma.XOR<Prisma.GitHubRepoSnapshotCreateWithoutReposInput, Prisma.GitHubRepoSnapshotUncheckedCreateWithoutReposInput>
|
|
734
|
+
where?: Prisma.GitHubRepoSnapshotWhereInput
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
export type GitHubRepoSnapshotUpdateToOneWithWhereWithoutReposInput = {
|
|
738
|
+
where?: Prisma.GitHubRepoSnapshotWhereInput
|
|
739
|
+
data: Prisma.XOR<Prisma.GitHubRepoSnapshotUpdateWithoutReposInput, Prisma.GitHubRepoSnapshotUncheckedUpdateWithoutReposInput>
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
export type GitHubRepoSnapshotUpdateWithoutReposInput = {
|
|
743
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
744
|
+
accountId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
745
|
+
appKind?: Prisma.StringFieldUpdateOperationsInput | string
|
|
746
|
+
appRef?: Prisma.StringFieldUpdateOperationsInput | string
|
|
747
|
+
org?: Prisma.StringFieldUpdateOperationsInput | string
|
|
748
|
+
crawlPage?: Prisma.IntFieldUpdateOperationsInput | number
|
|
749
|
+
crawlStartedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
750
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
751
|
+
totalCount?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
752
|
+
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
753
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number
|
|
754
|
+
nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
755
|
+
rateLimitResetAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
756
|
+
leaseHolder?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
757
|
+
leasedUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
758
|
+
lastTickAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
759
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
760
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
export type GitHubRepoSnapshotUncheckedUpdateWithoutReposInput = {
|
|
764
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
765
|
+
accountId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
766
|
+
appKind?: Prisma.StringFieldUpdateOperationsInput | string
|
|
767
|
+
appRef?: Prisma.StringFieldUpdateOperationsInput | string
|
|
768
|
+
org?: Prisma.StringFieldUpdateOperationsInput | string
|
|
769
|
+
crawlPage?: Prisma.IntFieldUpdateOperationsInput | number
|
|
770
|
+
crawlStartedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
771
|
+
completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
772
|
+
totalCount?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
773
|
+
lastError?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
774
|
+
attempts?: Prisma.IntFieldUpdateOperationsInput | number
|
|
775
|
+
nextAttemptAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
776
|
+
rateLimitResetAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
777
|
+
leaseHolder?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
778
|
+
leasedUntil?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
779
|
+
lastTickAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
780
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
781
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
|
|
785
|
+
/**
|
|
786
|
+
* Count Type GitHubRepoSnapshotCountOutputType
|
|
787
|
+
*/
|
|
788
|
+
|
|
789
|
+
export type GitHubRepoSnapshotCountOutputType = {
|
|
790
|
+
repos: number
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
export type GitHubRepoSnapshotCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
794
|
+
repos?: boolean | GitHubRepoSnapshotCountOutputTypeCountReposArgs
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
/**
|
|
798
|
+
* GitHubRepoSnapshotCountOutputType without action
|
|
799
|
+
*/
|
|
800
|
+
export type GitHubRepoSnapshotCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
801
|
+
/**
|
|
802
|
+
* Select specific fields to fetch from the GitHubRepoSnapshotCountOutputType
|
|
803
|
+
*/
|
|
804
|
+
select?: Prisma.GitHubRepoSnapshotCountOutputTypeSelect<ExtArgs> | null
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
/**
|
|
808
|
+
* GitHubRepoSnapshotCountOutputType without action
|
|
809
|
+
*/
|
|
810
|
+
export type GitHubRepoSnapshotCountOutputTypeCountReposArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
811
|
+
where?: Prisma.GitHubCachedRepoWhereInput
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
|
|
815
|
+
export type GitHubRepoSnapshotSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
816
|
+
id?: boolean
|
|
817
|
+
accountId?: boolean
|
|
818
|
+
appKind?: boolean
|
|
819
|
+
appRef?: boolean
|
|
820
|
+
org?: boolean
|
|
821
|
+
crawlPage?: boolean
|
|
822
|
+
crawlStartedAt?: boolean
|
|
823
|
+
completedAt?: boolean
|
|
824
|
+
totalCount?: boolean
|
|
825
|
+
lastError?: boolean
|
|
826
|
+
attempts?: boolean
|
|
827
|
+
nextAttemptAt?: boolean
|
|
828
|
+
rateLimitResetAt?: boolean
|
|
829
|
+
leaseHolder?: boolean
|
|
830
|
+
leasedUntil?: boolean
|
|
831
|
+
lastTickAt?: boolean
|
|
832
|
+
createdAt?: boolean
|
|
833
|
+
updatedAt?: boolean
|
|
834
|
+
repos?: boolean | Prisma.GitHubRepoSnapshot$reposArgs<ExtArgs>
|
|
835
|
+
_count?: boolean | Prisma.GitHubRepoSnapshotCountOutputTypeDefaultArgs<ExtArgs>
|
|
836
|
+
}, ExtArgs["result"]["gitHubRepoSnapshot"]>
|
|
837
|
+
|
|
838
|
+
export type GitHubRepoSnapshotSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
839
|
+
id?: boolean
|
|
840
|
+
accountId?: boolean
|
|
841
|
+
appKind?: boolean
|
|
842
|
+
appRef?: boolean
|
|
843
|
+
org?: boolean
|
|
844
|
+
crawlPage?: boolean
|
|
845
|
+
crawlStartedAt?: boolean
|
|
846
|
+
completedAt?: boolean
|
|
847
|
+
totalCount?: boolean
|
|
848
|
+
lastError?: boolean
|
|
849
|
+
attempts?: boolean
|
|
850
|
+
nextAttemptAt?: boolean
|
|
851
|
+
rateLimitResetAt?: boolean
|
|
852
|
+
leaseHolder?: boolean
|
|
853
|
+
leasedUntil?: boolean
|
|
854
|
+
lastTickAt?: boolean
|
|
855
|
+
createdAt?: boolean
|
|
856
|
+
updatedAt?: boolean
|
|
857
|
+
}, ExtArgs["result"]["gitHubRepoSnapshot"]>
|
|
858
|
+
|
|
859
|
+
export type GitHubRepoSnapshotSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
860
|
+
id?: boolean
|
|
861
|
+
accountId?: boolean
|
|
862
|
+
appKind?: boolean
|
|
863
|
+
appRef?: boolean
|
|
864
|
+
org?: boolean
|
|
865
|
+
crawlPage?: boolean
|
|
866
|
+
crawlStartedAt?: boolean
|
|
867
|
+
completedAt?: boolean
|
|
868
|
+
totalCount?: boolean
|
|
869
|
+
lastError?: boolean
|
|
870
|
+
attempts?: boolean
|
|
871
|
+
nextAttemptAt?: boolean
|
|
872
|
+
rateLimitResetAt?: boolean
|
|
873
|
+
leaseHolder?: boolean
|
|
874
|
+
leasedUntil?: boolean
|
|
875
|
+
lastTickAt?: boolean
|
|
876
|
+
createdAt?: boolean
|
|
877
|
+
updatedAt?: boolean
|
|
878
|
+
}, ExtArgs["result"]["gitHubRepoSnapshot"]>
|
|
879
|
+
|
|
880
|
+
export type GitHubRepoSnapshotSelectScalar = {
|
|
881
|
+
id?: boolean
|
|
882
|
+
accountId?: boolean
|
|
883
|
+
appKind?: boolean
|
|
884
|
+
appRef?: boolean
|
|
885
|
+
org?: boolean
|
|
886
|
+
crawlPage?: boolean
|
|
887
|
+
crawlStartedAt?: boolean
|
|
888
|
+
completedAt?: boolean
|
|
889
|
+
totalCount?: boolean
|
|
890
|
+
lastError?: boolean
|
|
891
|
+
attempts?: boolean
|
|
892
|
+
nextAttemptAt?: boolean
|
|
893
|
+
rateLimitResetAt?: boolean
|
|
894
|
+
leaseHolder?: boolean
|
|
895
|
+
leasedUntil?: boolean
|
|
896
|
+
lastTickAt?: boolean
|
|
897
|
+
createdAt?: boolean
|
|
898
|
+
updatedAt?: boolean
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
export type GitHubRepoSnapshotOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "accountId" | "appKind" | "appRef" | "org" | "crawlPage" | "crawlStartedAt" | "completedAt" | "totalCount" | "lastError" | "attempts" | "nextAttemptAt" | "rateLimitResetAt" | "leaseHolder" | "leasedUntil" | "lastTickAt" | "createdAt" | "updatedAt", ExtArgs["result"]["gitHubRepoSnapshot"]>
|
|
902
|
+
export type GitHubRepoSnapshotInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
903
|
+
repos?: boolean | Prisma.GitHubRepoSnapshot$reposArgs<ExtArgs>
|
|
904
|
+
_count?: boolean | Prisma.GitHubRepoSnapshotCountOutputTypeDefaultArgs<ExtArgs>
|
|
905
|
+
}
|
|
906
|
+
export type GitHubRepoSnapshotIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
907
|
+
export type GitHubRepoSnapshotIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
908
|
+
|
|
909
|
+
export type $GitHubRepoSnapshotPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
910
|
+
name: "GitHubRepoSnapshot"
|
|
911
|
+
objects: {
|
|
912
|
+
repos: Prisma.$GitHubCachedRepoPayload<ExtArgs>[]
|
|
913
|
+
}
|
|
914
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
915
|
+
id: string
|
|
916
|
+
accountId: string
|
|
917
|
+
appKind: string
|
|
918
|
+
appRef: string
|
|
919
|
+
org: string
|
|
920
|
+
crawlPage: number
|
|
921
|
+
crawlStartedAt: Date | null
|
|
922
|
+
completedAt: Date | null
|
|
923
|
+
totalCount: number | null
|
|
924
|
+
lastError: string | null
|
|
925
|
+
attempts: number
|
|
926
|
+
nextAttemptAt: Date | null
|
|
927
|
+
rateLimitResetAt: Date | null
|
|
928
|
+
leaseHolder: string | null
|
|
929
|
+
leasedUntil: Date | null
|
|
930
|
+
lastTickAt: Date | null
|
|
931
|
+
createdAt: Date
|
|
932
|
+
updatedAt: Date
|
|
933
|
+
}, ExtArgs["result"]["gitHubRepoSnapshot"]>
|
|
934
|
+
composites: {}
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
export type GitHubRepoSnapshotGetPayload<S extends boolean | null | undefined | GitHubRepoSnapshotDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$GitHubRepoSnapshotPayload, S>
|
|
938
|
+
|
|
939
|
+
export type GitHubRepoSnapshotCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
940
|
+
Omit<GitHubRepoSnapshotFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
941
|
+
select?: GitHubRepoSnapshotCountAggregateInputType | true
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
export interface GitHubRepoSnapshotDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
945
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['GitHubRepoSnapshot'], meta: { name: 'GitHubRepoSnapshot' } }
|
|
946
|
+
/**
|
|
947
|
+
* Find zero or one GitHubRepoSnapshot that matches the filter.
|
|
948
|
+
* @param {GitHubRepoSnapshotFindUniqueArgs} args - Arguments to find a GitHubRepoSnapshot
|
|
949
|
+
* @example
|
|
950
|
+
* // Get one GitHubRepoSnapshot
|
|
951
|
+
* const gitHubRepoSnapshot = await prisma.gitHubRepoSnapshot.findUnique({
|
|
952
|
+
* where: {
|
|
953
|
+
* // ... provide filter here
|
|
954
|
+
* }
|
|
955
|
+
* })
|
|
956
|
+
*/
|
|
957
|
+
findUnique<T extends GitHubRepoSnapshotFindUniqueArgs>(args: Prisma.SelectSubset<T, GitHubRepoSnapshotFindUniqueArgs<ExtArgs>>): Prisma.Prisma__GitHubRepoSnapshotClient<runtime.Types.Result.GetResult<Prisma.$GitHubRepoSnapshotPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
958
|
+
|
|
959
|
+
/**
|
|
960
|
+
* Find one GitHubRepoSnapshot that matches the filter or throw an error with `error.code='P2025'`
|
|
961
|
+
* if no matches were found.
|
|
962
|
+
* @param {GitHubRepoSnapshotFindUniqueOrThrowArgs} args - Arguments to find a GitHubRepoSnapshot
|
|
963
|
+
* @example
|
|
964
|
+
* // Get one GitHubRepoSnapshot
|
|
965
|
+
* const gitHubRepoSnapshot = await prisma.gitHubRepoSnapshot.findUniqueOrThrow({
|
|
966
|
+
* where: {
|
|
967
|
+
* // ... provide filter here
|
|
968
|
+
* }
|
|
969
|
+
* })
|
|
970
|
+
*/
|
|
971
|
+
findUniqueOrThrow<T extends GitHubRepoSnapshotFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, GitHubRepoSnapshotFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__GitHubRepoSnapshotClient<runtime.Types.Result.GetResult<Prisma.$GitHubRepoSnapshotPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
972
|
+
|
|
973
|
+
/**
|
|
974
|
+
* Find the first GitHubRepoSnapshot that matches the filter.
|
|
975
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
976
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
977
|
+
* @param {GitHubRepoSnapshotFindFirstArgs} args - Arguments to find a GitHubRepoSnapshot
|
|
978
|
+
* @example
|
|
979
|
+
* // Get one GitHubRepoSnapshot
|
|
980
|
+
* const gitHubRepoSnapshot = await prisma.gitHubRepoSnapshot.findFirst({
|
|
981
|
+
* where: {
|
|
982
|
+
* // ... provide filter here
|
|
983
|
+
* }
|
|
984
|
+
* })
|
|
985
|
+
*/
|
|
986
|
+
findFirst<T extends GitHubRepoSnapshotFindFirstArgs>(args?: Prisma.SelectSubset<T, GitHubRepoSnapshotFindFirstArgs<ExtArgs>>): Prisma.Prisma__GitHubRepoSnapshotClient<runtime.Types.Result.GetResult<Prisma.$GitHubRepoSnapshotPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
987
|
+
|
|
988
|
+
/**
|
|
989
|
+
* Find the first GitHubRepoSnapshot that matches the filter or
|
|
990
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
991
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
992
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
993
|
+
* @param {GitHubRepoSnapshotFindFirstOrThrowArgs} args - Arguments to find a GitHubRepoSnapshot
|
|
994
|
+
* @example
|
|
995
|
+
* // Get one GitHubRepoSnapshot
|
|
996
|
+
* const gitHubRepoSnapshot = await prisma.gitHubRepoSnapshot.findFirstOrThrow({
|
|
997
|
+
* where: {
|
|
998
|
+
* // ... provide filter here
|
|
999
|
+
* }
|
|
1000
|
+
* })
|
|
1001
|
+
*/
|
|
1002
|
+
findFirstOrThrow<T extends GitHubRepoSnapshotFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, GitHubRepoSnapshotFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__GitHubRepoSnapshotClient<runtime.Types.Result.GetResult<Prisma.$GitHubRepoSnapshotPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1003
|
+
|
|
1004
|
+
/**
|
|
1005
|
+
* Find zero or more GitHubRepoSnapshots that matches the filter.
|
|
1006
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1007
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1008
|
+
* @param {GitHubRepoSnapshotFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1009
|
+
* @example
|
|
1010
|
+
* // Get all GitHubRepoSnapshots
|
|
1011
|
+
* const gitHubRepoSnapshots = await prisma.gitHubRepoSnapshot.findMany()
|
|
1012
|
+
*
|
|
1013
|
+
* // Get first 10 GitHubRepoSnapshots
|
|
1014
|
+
* const gitHubRepoSnapshots = await prisma.gitHubRepoSnapshot.findMany({ take: 10 })
|
|
1015
|
+
*
|
|
1016
|
+
* // Only select the `id`
|
|
1017
|
+
* const gitHubRepoSnapshotWithIdOnly = await prisma.gitHubRepoSnapshot.findMany({ select: { id: true } })
|
|
1018
|
+
*
|
|
1019
|
+
*/
|
|
1020
|
+
findMany<T extends GitHubRepoSnapshotFindManyArgs>(args?: Prisma.SelectSubset<T, GitHubRepoSnapshotFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GitHubRepoSnapshotPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
1021
|
+
|
|
1022
|
+
/**
|
|
1023
|
+
* Create a GitHubRepoSnapshot.
|
|
1024
|
+
* @param {GitHubRepoSnapshotCreateArgs} args - Arguments to create a GitHubRepoSnapshot.
|
|
1025
|
+
* @example
|
|
1026
|
+
* // Create one GitHubRepoSnapshot
|
|
1027
|
+
* const GitHubRepoSnapshot = await prisma.gitHubRepoSnapshot.create({
|
|
1028
|
+
* data: {
|
|
1029
|
+
* // ... data to create a GitHubRepoSnapshot
|
|
1030
|
+
* }
|
|
1031
|
+
* })
|
|
1032
|
+
*
|
|
1033
|
+
*/
|
|
1034
|
+
create<T extends GitHubRepoSnapshotCreateArgs>(args: Prisma.SelectSubset<T, GitHubRepoSnapshotCreateArgs<ExtArgs>>): Prisma.Prisma__GitHubRepoSnapshotClient<runtime.Types.Result.GetResult<Prisma.$GitHubRepoSnapshotPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1035
|
+
|
|
1036
|
+
/**
|
|
1037
|
+
* Create many GitHubRepoSnapshots.
|
|
1038
|
+
* @param {GitHubRepoSnapshotCreateManyArgs} args - Arguments to create many GitHubRepoSnapshots.
|
|
1039
|
+
* @example
|
|
1040
|
+
* // Create many GitHubRepoSnapshots
|
|
1041
|
+
* const gitHubRepoSnapshot = await prisma.gitHubRepoSnapshot.createMany({
|
|
1042
|
+
* data: [
|
|
1043
|
+
* // ... provide data here
|
|
1044
|
+
* ]
|
|
1045
|
+
* })
|
|
1046
|
+
*
|
|
1047
|
+
*/
|
|
1048
|
+
createMany<T extends GitHubRepoSnapshotCreateManyArgs>(args?: Prisma.SelectSubset<T, GitHubRepoSnapshotCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1049
|
+
|
|
1050
|
+
/**
|
|
1051
|
+
* Create many GitHubRepoSnapshots and returns the data saved in the database.
|
|
1052
|
+
* @param {GitHubRepoSnapshotCreateManyAndReturnArgs} args - Arguments to create many GitHubRepoSnapshots.
|
|
1053
|
+
* @example
|
|
1054
|
+
* // Create many GitHubRepoSnapshots
|
|
1055
|
+
* const gitHubRepoSnapshot = await prisma.gitHubRepoSnapshot.createManyAndReturn({
|
|
1056
|
+
* data: [
|
|
1057
|
+
* // ... provide data here
|
|
1058
|
+
* ]
|
|
1059
|
+
* })
|
|
1060
|
+
*
|
|
1061
|
+
* // Create many GitHubRepoSnapshots and only return the `id`
|
|
1062
|
+
* const gitHubRepoSnapshotWithIdOnly = await prisma.gitHubRepoSnapshot.createManyAndReturn({
|
|
1063
|
+
* select: { id: true },
|
|
1064
|
+
* data: [
|
|
1065
|
+
* // ... provide data here
|
|
1066
|
+
* ]
|
|
1067
|
+
* })
|
|
1068
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1069
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1070
|
+
*
|
|
1071
|
+
*/
|
|
1072
|
+
createManyAndReturn<T extends GitHubRepoSnapshotCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, GitHubRepoSnapshotCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GitHubRepoSnapshotPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1073
|
+
|
|
1074
|
+
/**
|
|
1075
|
+
* Delete a GitHubRepoSnapshot.
|
|
1076
|
+
* @param {GitHubRepoSnapshotDeleteArgs} args - Arguments to delete one GitHubRepoSnapshot.
|
|
1077
|
+
* @example
|
|
1078
|
+
* // Delete one GitHubRepoSnapshot
|
|
1079
|
+
* const GitHubRepoSnapshot = await prisma.gitHubRepoSnapshot.delete({
|
|
1080
|
+
* where: {
|
|
1081
|
+
* // ... filter to delete one GitHubRepoSnapshot
|
|
1082
|
+
* }
|
|
1083
|
+
* })
|
|
1084
|
+
*
|
|
1085
|
+
*/
|
|
1086
|
+
delete<T extends GitHubRepoSnapshotDeleteArgs>(args: Prisma.SelectSubset<T, GitHubRepoSnapshotDeleteArgs<ExtArgs>>): Prisma.Prisma__GitHubRepoSnapshotClient<runtime.Types.Result.GetResult<Prisma.$GitHubRepoSnapshotPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1087
|
+
|
|
1088
|
+
/**
|
|
1089
|
+
* Update one GitHubRepoSnapshot.
|
|
1090
|
+
* @param {GitHubRepoSnapshotUpdateArgs} args - Arguments to update one GitHubRepoSnapshot.
|
|
1091
|
+
* @example
|
|
1092
|
+
* // Update one GitHubRepoSnapshot
|
|
1093
|
+
* const gitHubRepoSnapshot = await prisma.gitHubRepoSnapshot.update({
|
|
1094
|
+
* where: {
|
|
1095
|
+
* // ... provide filter here
|
|
1096
|
+
* },
|
|
1097
|
+
* data: {
|
|
1098
|
+
* // ... provide data here
|
|
1099
|
+
* }
|
|
1100
|
+
* })
|
|
1101
|
+
*
|
|
1102
|
+
*/
|
|
1103
|
+
update<T extends GitHubRepoSnapshotUpdateArgs>(args: Prisma.SelectSubset<T, GitHubRepoSnapshotUpdateArgs<ExtArgs>>): Prisma.Prisma__GitHubRepoSnapshotClient<runtime.Types.Result.GetResult<Prisma.$GitHubRepoSnapshotPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1104
|
+
|
|
1105
|
+
/**
|
|
1106
|
+
* Delete zero or more GitHubRepoSnapshots.
|
|
1107
|
+
* @param {GitHubRepoSnapshotDeleteManyArgs} args - Arguments to filter GitHubRepoSnapshots to delete.
|
|
1108
|
+
* @example
|
|
1109
|
+
* // Delete a few GitHubRepoSnapshots
|
|
1110
|
+
* const { count } = await prisma.gitHubRepoSnapshot.deleteMany({
|
|
1111
|
+
* where: {
|
|
1112
|
+
* // ... provide filter here
|
|
1113
|
+
* }
|
|
1114
|
+
* })
|
|
1115
|
+
*
|
|
1116
|
+
*/
|
|
1117
|
+
deleteMany<T extends GitHubRepoSnapshotDeleteManyArgs>(args?: Prisma.SelectSubset<T, GitHubRepoSnapshotDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1118
|
+
|
|
1119
|
+
/**
|
|
1120
|
+
* Update zero or more GitHubRepoSnapshots.
|
|
1121
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1122
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1123
|
+
* @param {GitHubRepoSnapshotUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1124
|
+
* @example
|
|
1125
|
+
* // Update many GitHubRepoSnapshots
|
|
1126
|
+
* const gitHubRepoSnapshot = await prisma.gitHubRepoSnapshot.updateMany({
|
|
1127
|
+
* where: {
|
|
1128
|
+
* // ... provide filter here
|
|
1129
|
+
* },
|
|
1130
|
+
* data: {
|
|
1131
|
+
* // ... provide data here
|
|
1132
|
+
* }
|
|
1133
|
+
* })
|
|
1134
|
+
*
|
|
1135
|
+
*/
|
|
1136
|
+
updateMany<T extends GitHubRepoSnapshotUpdateManyArgs>(args: Prisma.SelectSubset<T, GitHubRepoSnapshotUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1137
|
+
|
|
1138
|
+
/**
|
|
1139
|
+
* Update zero or more GitHubRepoSnapshots and returns the data updated in the database.
|
|
1140
|
+
* @param {GitHubRepoSnapshotUpdateManyAndReturnArgs} args - Arguments to update many GitHubRepoSnapshots.
|
|
1141
|
+
* @example
|
|
1142
|
+
* // Update many GitHubRepoSnapshots
|
|
1143
|
+
* const gitHubRepoSnapshot = await prisma.gitHubRepoSnapshot.updateManyAndReturn({
|
|
1144
|
+
* where: {
|
|
1145
|
+
* // ... provide filter here
|
|
1146
|
+
* },
|
|
1147
|
+
* data: [
|
|
1148
|
+
* // ... provide data here
|
|
1149
|
+
* ]
|
|
1150
|
+
* })
|
|
1151
|
+
*
|
|
1152
|
+
* // Update zero or more GitHubRepoSnapshots and only return the `id`
|
|
1153
|
+
* const gitHubRepoSnapshotWithIdOnly = await prisma.gitHubRepoSnapshot.updateManyAndReturn({
|
|
1154
|
+
* select: { id: true },
|
|
1155
|
+
* where: {
|
|
1156
|
+
* // ... provide filter here
|
|
1157
|
+
* },
|
|
1158
|
+
* data: [
|
|
1159
|
+
* // ... provide data here
|
|
1160
|
+
* ]
|
|
1161
|
+
* })
|
|
1162
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1163
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1164
|
+
*
|
|
1165
|
+
*/
|
|
1166
|
+
updateManyAndReturn<T extends GitHubRepoSnapshotUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, GitHubRepoSnapshotUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GitHubRepoSnapshotPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1167
|
+
|
|
1168
|
+
/**
|
|
1169
|
+
* Create or update one GitHubRepoSnapshot.
|
|
1170
|
+
* @param {GitHubRepoSnapshotUpsertArgs} args - Arguments to update or create a GitHubRepoSnapshot.
|
|
1171
|
+
* @example
|
|
1172
|
+
* // Update or create a GitHubRepoSnapshot
|
|
1173
|
+
* const gitHubRepoSnapshot = await prisma.gitHubRepoSnapshot.upsert({
|
|
1174
|
+
* create: {
|
|
1175
|
+
* // ... data to create a GitHubRepoSnapshot
|
|
1176
|
+
* },
|
|
1177
|
+
* update: {
|
|
1178
|
+
* // ... in case it already exists, update
|
|
1179
|
+
* },
|
|
1180
|
+
* where: {
|
|
1181
|
+
* // ... the filter for the GitHubRepoSnapshot we want to update
|
|
1182
|
+
* }
|
|
1183
|
+
* })
|
|
1184
|
+
*/
|
|
1185
|
+
upsert<T extends GitHubRepoSnapshotUpsertArgs>(args: Prisma.SelectSubset<T, GitHubRepoSnapshotUpsertArgs<ExtArgs>>): Prisma.Prisma__GitHubRepoSnapshotClient<runtime.Types.Result.GetResult<Prisma.$GitHubRepoSnapshotPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1186
|
+
|
|
1187
|
+
|
|
1188
|
+
/**
|
|
1189
|
+
* Count the number of GitHubRepoSnapshots.
|
|
1190
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1191
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1192
|
+
* @param {GitHubRepoSnapshotCountArgs} args - Arguments to filter GitHubRepoSnapshots to count.
|
|
1193
|
+
* @example
|
|
1194
|
+
* // Count the number of GitHubRepoSnapshots
|
|
1195
|
+
* const count = await prisma.gitHubRepoSnapshot.count({
|
|
1196
|
+
* where: {
|
|
1197
|
+
* // ... the filter for the GitHubRepoSnapshots we want to count
|
|
1198
|
+
* }
|
|
1199
|
+
* })
|
|
1200
|
+
**/
|
|
1201
|
+
count<T extends GitHubRepoSnapshotCountArgs>(
|
|
1202
|
+
args?: Prisma.Subset<T, GitHubRepoSnapshotCountArgs>,
|
|
1203
|
+
): Prisma.PrismaPromise<
|
|
1204
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
1205
|
+
? T['select'] extends true
|
|
1206
|
+
? number
|
|
1207
|
+
: Prisma.GetScalarType<T['select'], GitHubRepoSnapshotCountAggregateOutputType>
|
|
1208
|
+
: number
|
|
1209
|
+
>
|
|
1210
|
+
|
|
1211
|
+
/**
|
|
1212
|
+
* Allows you to perform aggregations operations on a GitHubRepoSnapshot.
|
|
1213
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1214
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1215
|
+
* @param {GitHubRepoSnapshotAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1216
|
+
* @example
|
|
1217
|
+
* // Ordered by age ascending
|
|
1218
|
+
* // Where email contains prisma.io
|
|
1219
|
+
* // Limited to the 10 users
|
|
1220
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1221
|
+
* _avg: {
|
|
1222
|
+
* age: true,
|
|
1223
|
+
* },
|
|
1224
|
+
* where: {
|
|
1225
|
+
* email: {
|
|
1226
|
+
* contains: "prisma.io",
|
|
1227
|
+
* },
|
|
1228
|
+
* },
|
|
1229
|
+
* orderBy: {
|
|
1230
|
+
* age: "asc",
|
|
1231
|
+
* },
|
|
1232
|
+
* take: 10,
|
|
1233
|
+
* })
|
|
1234
|
+
**/
|
|
1235
|
+
aggregate<T extends GitHubRepoSnapshotAggregateArgs>(args: Prisma.Subset<T, GitHubRepoSnapshotAggregateArgs>): Prisma.PrismaPromise<GetGitHubRepoSnapshotAggregateType<T>>
|
|
1236
|
+
|
|
1237
|
+
/**
|
|
1238
|
+
* Group by GitHubRepoSnapshot.
|
|
1239
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1240
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1241
|
+
* @param {GitHubRepoSnapshotGroupByArgs} args - Group by arguments.
|
|
1242
|
+
* @example
|
|
1243
|
+
* // Group by city, order by createdAt, get count
|
|
1244
|
+
* const result = await prisma.user.groupBy({
|
|
1245
|
+
* by: ['city', 'createdAt'],
|
|
1246
|
+
* orderBy: {
|
|
1247
|
+
* createdAt: true
|
|
1248
|
+
* },
|
|
1249
|
+
* _count: {
|
|
1250
|
+
* _all: true
|
|
1251
|
+
* },
|
|
1252
|
+
* })
|
|
1253
|
+
*
|
|
1254
|
+
**/
|
|
1255
|
+
groupBy<
|
|
1256
|
+
T extends GitHubRepoSnapshotGroupByArgs,
|
|
1257
|
+
HasSelectOrTake extends Prisma.Or<
|
|
1258
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1259
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1260
|
+
>,
|
|
1261
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1262
|
+
? { orderBy: GitHubRepoSnapshotGroupByArgs['orderBy'] }
|
|
1263
|
+
: { orderBy?: GitHubRepoSnapshotGroupByArgs['orderBy'] },
|
|
1264
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1265
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1266
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1267
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1268
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1269
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1270
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
1271
|
+
? `Error: "by" must not be empty.`
|
|
1272
|
+
: HavingValid extends Prisma.False
|
|
1273
|
+
? {
|
|
1274
|
+
[P in HavingFields]: P extends ByFields
|
|
1275
|
+
? never
|
|
1276
|
+
: P extends string
|
|
1277
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1278
|
+
: [
|
|
1279
|
+
Error,
|
|
1280
|
+
'Field ',
|
|
1281
|
+
P,
|
|
1282
|
+
` in "having" needs to be provided in "by"`,
|
|
1283
|
+
]
|
|
1284
|
+
}[HavingFields]
|
|
1285
|
+
: 'take' extends Prisma.Keys<T>
|
|
1286
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1287
|
+
? ByValid extends Prisma.True
|
|
1288
|
+
? {}
|
|
1289
|
+
: {
|
|
1290
|
+
[P in OrderFields]: P extends ByFields
|
|
1291
|
+
? never
|
|
1292
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1293
|
+
}[OrderFields]
|
|
1294
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1295
|
+
: 'skip' extends Prisma.Keys<T>
|
|
1296
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1297
|
+
? ByValid extends Prisma.True
|
|
1298
|
+
? {}
|
|
1299
|
+
: {
|
|
1300
|
+
[P in OrderFields]: P extends ByFields
|
|
1301
|
+
? never
|
|
1302
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1303
|
+
}[OrderFields]
|
|
1304
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1305
|
+
: ByValid extends Prisma.True
|
|
1306
|
+
? {}
|
|
1307
|
+
: {
|
|
1308
|
+
[P in OrderFields]: P extends ByFields
|
|
1309
|
+
? never
|
|
1310
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1311
|
+
}[OrderFields]
|
|
1312
|
+
>(args: Prisma.SubsetIntersection<T, GitHubRepoSnapshotGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetGitHubRepoSnapshotGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1313
|
+
/**
|
|
1314
|
+
* Fields of the GitHubRepoSnapshot model
|
|
1315
|
+
*/
|
|
1316
|
+
readonly fields: GitHubRepoSnapshotFieldRefs;
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
/**
|
|
1320
|
+
* The delegate class that acts as a "Promise-like" for GitHubRepoSnapshot.
|
|
1321
|
+
* Why is this prefixed with `Prisma__`?
|
|
1322
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1323
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1324
|
+
*/
|
|
1325
|
+
export interface Prisma__GitHubRepoSnapshotClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1326
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1327
|
+
repos<T extends Prisma.GitHubRepoSnapshot$reposArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.GitHubRepoSnapshot$reposArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GitHubCachedRepoPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1328
|
+
/**
|
|
1329
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1330
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1331
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1332
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1333
|
+
*/
|
|
1334
|
+
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>
|
|
1335
|
+
/**
|
|
1336
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1337
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1338
|
+
* @returns A Promise for the completion of the callback.
|
|
1339
|
+
*/
|
|
1340
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1341
|
+
/**
|
|
1342
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1343
|
+
* resolved value cannot be modified from the callback.
|
|
1344
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1345
|
+
* @returns A Promise for the completion of the callback.
|
|
1346
|
+
*/
|
|
1347
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1348
|
+
}
|
|
1349
|
+
|
|
1350
|
+
|
|
1351
|
+
|
|
1352
|
+
|
|
1353
|
+
/**
|
|
1354
|
+
* Fields of the GitHubRepoSnapshot model
|
|
1355
|
+
*/
|
|
1356
|
+
export interface GitHubRepoSnapshotFieldRefs {
|
|
1357
|
+
readonly id: Prisma.FieldRef<"GitHubRepoSnapshot", 'String'>
|
|
1358
|
+
readonly accountId: Prisma.FieldRef<"GitHubRepoSnapshot", 'String'>
|
|
1359
|
+
readonly appKind: Prisma.FieldRef<"GitHubRepoSnapshot", 'String'>
|
|
1360
|
+
readonly appRef: Prisma.FieldRef<"GitHubRepoSnapshot", 'String'>
|
|
1361
|
+
readonly org: Prisma.FieldRef<"GitHubRepoSnapshot", 'String'>
|
|
1362
|
+
readonly crawlPage: Prisma.FieldRef<"GitHubRepoSnapshot", 'Int'>
|
|
1363
|
+
readonly crawlStartedAt: Prisma.FieldRef<"GitHubRepoSnapshot", 'DateTime'>
|
|
1364
|
+
readonly completedAt: Prisma.FieldRef<"GitHubRepoSnapshot", 'DateTime'>
|
|
1365
|
+
readonly totalCount: Prisma.FieldRef<"GitHubRepoSnapshot", 'Int'>
|
|
1366
|
+
readonly lastError: Prisma.FieldRef<"GitHubRepoSnapshot", 'String'>
|
|
1367
|
+
readonly attempts: Prisma.FieldRef<"GitHubRepoSnapshot", 'Int'>
|
|
1368
|
+
readonly nextAttemptAt: Prisma.FieldRef<"GitHubRepoSnapshot", 'DateTime'>
|
|
1369
|
+
readonly rateLimitResetAt: Prisma.FieldRef<"GitHubRepoSnapshot", 'DateTime'>
|
|
1370
|
+
readonly leaseHolder: Prisma.FieldRef<"GitHubRepoSnapshot", 'String'>
|
|
1371
|
+
readonly leasedUntil: Prisma.FieldRef<"GitHubRepoSnapshot", 'DateTime'>
|
|
1372
|
+
readonly lastTickAt: Prisma.FieldRef<"GitHubRepoSnapshot", 'DateTime'>
|
|
1373
|
+
readonly createdAt: Prisma.FieldRef<"GitHubRepoSnapshot", 'DateTime'>
|
|
1374
|
+
readonly updatedAt: Prisma.FieldRef<"GitHubRepoSnapshot", 'DateTime'>
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1377
|
+
|
|
1378
|
+
// Custom InputTypes
|
|
1379
|
+
/**
|
|
1380
|
+
* GitHubRepoSnapshot findUnique
|
|
1381
|
+
*/
|
|
1382
|
+
export type GitHubRepoSnapshotFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1383
|
+
/**
|
|
1384
|
+
* Select specific fields to fetch from the GitHubRepoSnapshot
|
|
1385
|
+
*/
|
|
1386
|
+
select?: Prisma.GitHubRepoSnapshotSelect<ExtArgs> | null
|
|
1387
|
+
/**
|
|
1388
|
+
* Omit specific fields from the GitHubRepoSnapshot
|
|
1389
|
+
*/
|
|
1390
|
+
omit?: Prisma.GitHubRepoSnapshotOmit<ExtArgs> | null
|
|
1391
|
+
/**
|
|
1392
|
+
* Choose, which related nodes to fetch as well
|
|
1393
|
+
*/
|
|
1394
|
+
include?: Prisma.GitHubRepoSnapshotInclude<ExtArgs> | null
|
|
1395
|
+
/**
|
|
1396
|
+
* Filter, which GitHubRepoSnapshot to fetch.
|
|
1397
|
+
*/
|
|
1398
|
+
where: Prisma.GitHubRepoSnapshotWhereUniqueInput
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1401
|
+
/**
|
|
1402
|
+
* GitHubRepoSnapshot findUniqueOrThrow
|
|
1403
|
+
*/
|
|
1404
|
+
export type GitHubRepoSnapshotFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1405
|
+
/**
|
|
1406
|
+
* Select specific fields to fetch from the GitHubRepoSnapshot
|
|
1407
|
+
*/
|
|
1408
|
+
select?: Prisma.GitHubRepoSnapshotSelect<ExtArgs> | null
|
|
1409
|
+
/**
|
|
1410
|
+
* Omit specific fields from the GitHubRepoSnapshot
|
|
1411
|
+
*/
|
|
1412
|
+
omit?: Prisma.GitHubRepoSnapshotOmit<ExtArgs> | null
|
|
1413
|
+
/**
|
|
1414
|
+
* Choose, which related nodes to fetch as well
|
|
1415
|
+
*/
|
|
1416
|
+
include?: Prisma.GitHubRepoSnapshotInclude<ExtArgs> | null
|
|
1417
|
+
/**
|
|
1418
|
+
* Filter, which GitHubRepoSnapshot to fetch.
|
|
1419
|
+
*/
|
|
1420
|
+
where: Prisma.GitHubRepoSnapshotWhereUniqueInput
|
|
1421
|
+
}
|
|
1422
|
+
|
|
1423
|
+
/**
|
|
1424
|
+
* GitHubRepoSnapshot findFirst
|
|
1425
|
+
*/
|
|
1426
|
+
export type GitHubRepoSnapshotFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1427
|
+
/**
|
|
1428
|
+
* Select specific fields to fetch from the GitHubRepoSnapshot
|
|
1429
|
+
*/
|
|
1430
|
+
select?: Prisma.GitHubRepoSnapshotSelect<ExtArgs> | null
|
|
1431
|
+
/**
|
|
1432
|
+
* Omit specific fields from the GitHubRepoSnapshot
|
|
1433
|
+
*/
|
|
1434
|
+
omit?: Prisma.GitHubRepoSnapshotOmit<ExtArgs> | null
|
|
1435
|
+
/**
|
|
1436
|
+
* Choose, which related nodes to fetch as well
|
|
1437
|
+
*/
|
|
1438
|
+
include?: Prisma.GitHubRepoSnapshotInclude<ExtArgs> | null
|
|
1439
|
+
/**
|
|
1440
|
+
* Filter, which GitHubRepoSnapshot to fetch.
|
|
1441
|
+
*/
|
|
1442
|
+
where?: Prisma.GitHubRepoSnapshotWhereInput
|
|
1443
|
+
/**
|
|
1444
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1445
|
+
*
|
|
1446
|
+
* Determine the order of GitHubRepoSnapshots to fetch.
|
|
1447
|
+
*/
|
|
1448
|
+
orderBy?: Prisma.GitHubRepoSnapshotOrderByWithRelationInput | Prisma.GitHubRepoSnapshotOrderByWithRelationInput[]
|
|
1449
|
+
/**
|
|
1450
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1451
|
+
*
|
|
1452
|
+
* Sets the position for searching for GitHubRepoSnapshots.
|
|
1453
|
+
*/
|
|
1454
|
+
cursor?: Prisma.GitHubRepoSnapshotWhereUniqueInput
|
|
1455
|
+
/**
|
|
1456
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1457
|
+
*
|
|
1458
|
+
* Take `±n` GitHubRepoSnapshots from the position of the cursor.
|
|
1459
|
+
*/
|
|
1460
|
+
take?: number
|
|
1461
|
+
/**
|
|
1462
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1463
|
+
*
|
|
1464
|
+
* Skip the first `n` GitHubRepoSnapshots.
|
|
1465
|
+
*/
|
|
1466
|
+
skip?: number
|
|
1467
|
+
/**
|
|
1468
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1469
|
+
*
|
|
1470
|
+
* Filter by unique combinations of GitHubRepoSnapshots.
|
|
1471
|
+
*/
|
|
1472
|
+
distinct?: Prisma.GitHubRepoSnapshotScalarFieldEnum | Prisma.GitHubRepoSnapshotScalarFieldEnum[]
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
/**
|
|
1476
|
+
* GitHubRepoSnapshot findFirstOrThrow
|
|
1477
|
+
*/
|
|
1478
|
+
export type GitHubRepoSnapshotFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1479
|
+
/**
|
|
1480
|
+
* Select specific fields to fetch from the GitHubRepoSnapshot
|
|
1481
|
+
*/
|
|
1482
|
+
select?: Prisma.GitHubRepoSnapshotSelect<ExtArgs> | null
|
|
1483
|
+
/**
|
|
1484
|
+
* Omit specific fields from the GitHubRepoSnapshot
|
|
1485
|
+
*/
|
|
1486
|
+
omit?: Prisma.GitHubRepoSnapshotOmit<ExtArgs> | null
|
|
1487
|
+
/**
|
|
1488
|
+
* Choose, which related nodes to fetch as well
|
|
1489
|
+
*/
|
|
1490
|
+
include?: Prisma.GitHubRepoSnapshotInclude<ExtArgs> | null
|
|
1491
|
+
/**
|
|
1492
|
+
* Filter, which GitHubRepoSnapshot to fetch.
|
|
1493
|
+
*/
|
|
1494
|
+
where?: Prisma.GitHubRepoSnapshotWhereInput
|
|
1495
|
+
/**
|
|
1496
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1497
|
+
*
|
|
1498
|
+
* Determine the order of GitHubRepoSnapshots to fetch.
|
|
1499
|
+
*/
|
|
1500
|
+
orderBy?: Prisma.GitHubRepoSnapshotOrderByWithRelationInput | Prisma.GitHubRepoSnapshotOrderByWithRelationInput[]
|
|
1501
|
+
/**
|
|
1502
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1503
|
+
*
|
|
1504
|
+
* Sets the position for searching for GitHubRepoSnapshots.
|
|
1505
|
+
*/
|
|
1506
|
+
cursor?: Prisma.GitHubRepoSnapshotWhereUniqueInput
|
|
1507
|
+
/**
|
|
1508
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1509
|
+
*
|
|
1510
|
+
* Take `±n` GitHubRepoSnapshots from the position of the cursor.
|
|
1511
|
+
*/
|
|
1512
|
+
take?: number
|
|
1513
|
+
/**
|
|
1514
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1515
|
+
*
|
|
1516
|
+
* Skip the first `n` GitHubRepoSnapshots.
|
|
1517
|
+
*/
|
|
1518
|
+
skip?: number
|
|
1519
|
+
/**
|
|
1520
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1521
|
+
*
|
|
1522
|
+
* Filter by unique combinations of GitHubRepoSnapshots.
|
|
1523
|
+
*/
|
|
1524
|
+
distinct?: Prisma.GitHubRepoSnapshotScalarFieldEnum | Prisma.GitHubRepoSnapshotScalarFieldEnum[]
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
/**
|
|
1528
|
+
* GitHubRepoSnapshot findMany
|
|
1529
|
+
*/
|
|
1530
|
+
export type GitHubRepoSnapshotFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1531
|
+
/**
|
|
1532
|
+
* Select specific fields to fetch from the GitHubRepoSnapshot
|
|
1533
|
+
*/
|
|
1534
|
+
select?: Prisma.GitHubRepoSnapshotSelect<ExtArgs> | null
|
|
1535
|
+
/**
|
|
1536
|
+
* Omit specific fields from the GitHubRepoSnapshot
|
|
1537
|
+
*/
|
|
1538
|
+
omit?: Prisma.GitHubRepoSnapshotOmit<ExtArgs> | null
|
|
1539
|
+
/**
|
|
1540
|
+
* Choose, which related nodes to fetch as well
|
|
1541
|
+
*/
|
|
1542
|
+
include?: Prisma.GitHubRepoSnapshotInclude<ExtArgs> | null
|
|
1543
|
+
/**
|
|
1544
|
+
* Filter, which GitHubRepoSnapshots to fetch.
|
|
1545
|
+
*/
|
|
1546
|
+
where?: Prisma.GitHubRepoSnapshotWhereInput
|
|
1547
|
+
/**
|
|
1548
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1549
|
+
*
|
|
1550
|
+
* Determine the order of GitHubRepoSnapshots to fetch.
|
|
1551
|
+
*/
|
|
1552
|
+
orderBy?: Prisma.GitHubRepoSnapshotOrderByWithRelationInput | Prisma.GitHubRepoSnapshotOrderByWithRelationInput[]
|
|
1553
|
+
/**
|
|
1554
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1555
|
+
*
|
|
1556
|
+
* Sets the position for listing GitHubRepoSnapshots.
|
|
1557
|
+
*/
|
|
1558
|
+
cursor?: Prisma.GitHubRepoSnapshotWhereUniqueInput
|
|
1559
|
+
/**
|
|
1560
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1561
|
+
*
|
|
1562
|
+
* Take `±n` GitHubRepoSnapshots from the position of the cursor.
|
|
1563
|
+
*/
|
|
1564
|
+
take?: number
|
|
1565
|
+
/**
|
|
1566
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1567
|
+
*
|
|
1568
|
+
* Skip the first `n` GitHubRepoSnapshots.
|
|
1569
|
+
*/
|
|
1570
|
+
skip?: number
|
|
1571
|
+
/**
|
|
1572
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1573
|
+
*
|
|
1574
|
+
* Filter by unique combinations of GitHubRepoSnapshots.
|
|
1575
|
+
*/
|
|
1576
|
+
distinct?: Prisma.GitHubRepoSnapshotScalarFieldEnum | Prisma.GitHubRepoSnapshotScalarFieldEnum[]
|
|
1577
|
+
}
|
|
1578
|
+
|
|
1579
|
+
/**
|
|
1580
|
+
* GitHubRepoSnapshot create
|
|
1581
|
+
*/
|
|
1582
|
+
export type GitHubRepoSnapshotCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1583
|
+
/**
|
|
1584
|
+
* Select specific fields to fetch from the GitHubRepoSnapshot
|
|
1585
|
+
*/
|
|
1586
|
+
select?: Prisma.GitHubRepoSnapshotSelect<ExtArgs> | null
|
|
1587
|
+
/**
|
|
1588
|
+
* Omit specific fields from the GitHubRepoSnapshot
|
|
1589
|
+
*/
|
|
1590
|
+
omit?: Prisma.GitHubRepoSnapshotOmit<ExtArgs> | null
|
|
1591
|
+
/**
|
|
1592
|
+
* Choose, which related nodes to fetch as well
|
|
1593
|
+
*/
|
|
1594
|
+
include?: Prisma.GitHubRepoSnapshotInclude<ExtArgs> | null
|
|
1595
|
+
/**
|
|
1596
|
+
* The data needed to create a GitHubRepoSnapshot.
|
|
1597
|
+
*/
|
|
1598
|
+
data: Prisma.XOR<Prisma.GitHubRepoSnapshotCreateInput, Prisma.GitHubRepoSnapshotUncheckedCreateInput>
|
|
1599
|
+
}
|
|
1600
|
+
|
|
1601
|
+
/**
|
|
1602
|
+
* GitHubRepoSnapshot createMany
|
|
1603
|
+
*/
|
|
1604
|
+
export type GitHubRepoSnapshotCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1605
|
+
/**
|
|
1606
|
+
* The data used to create many GitHubRepoSnapshots.
|
|
1607
|
+
*/
|
|
1608
|
+
data: Prisma.GitHubRepoSnapshotCreateManyInput | Prisma.GitHubRepoSnapshotCreateManyInput[]
|
|
1609
|
+
skipDuplicates?: boolean
|
|
1610
|
+
}
|
|
1611
|
+
|
|
1612
|
+
/**
|
|
1613
|
+
* GitHubRepoSnapshot createManyAndReturn
|
|
1614
|
+
*/
|
|
1615
|
+
export type GitHubRepoSnapshotCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1616
|
+
/**
|
|
1617
|
+
* Select specific fields to fetch from the GitHubRepoSnapshot
|
|
1618
|
+
*/
|
|
1619
|
+
select?: Prisma.GitHubRepoSnapshotSelectCreateManyAndReturn<ExtArgs> | null
|
|
1620
|
+
/**
|
|
1621
|
+
* Omit specific fields from the GitHubRepoSnapshot
|
|
1622
|
+
*/
|
|
1623
|
+
omit?: Prisma.GitHubRepoSnapshotOmit<ExtArgs> | null
|
|
1624
|
+
/**
|
|
1625
|
+
* The data used to create many GitHubRepoSnapshots.
|
|
1626
|
+
*/
|
|
1627
|
+
data: Prisma.GitHubRepoSnapshotCreateManyInput | Prisma.GitHubRepoSnapshotCreateManyInput[]
|
|
1628
|
+
skipDuplicates?: boolean
|
|
1629
|
+
}
|
|
1630
|
+
|
|
1631
|
+
/**
|
|
1632
|
+
* GitHubRepoSnapshot update
|
|
1633
|
+
*/
|
|
1634
|
+
export type GitHubRepoSnapshotUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1635
|
+
/**
|
|
1636
|
+
* Select specific fields to fetch from the GitHubRepoSnapshot
|
|
1637
|
+
*/
|
|
1638
|
+
select?: Prisma.GitHubRepoSnapshotSelect<ExtArgs> | null
|
|
1639
|
+
/**
|
|
1640
|
+
* Omit specific fields from the GitHubRepoSnapshot
|
|
1641
|
+
*/
|
|
1642
|
+
omit?: Prisma.GitHubRepoSnapshotOmit<ExtArgs> | null
|
|
1643
|
+
/**
|
|
1644
|
+
* Choose, which related nodes to fetch as well
|
|
1645
|
+
*/
|
|
1646
|
+
include?: Prisma.GitHubRepoSnapshotInclude<ExtArgs> | null
|
|
1647
|
+
/**
|
|
1648
|
+
* The data needed to update a GitHubRepoSnapshot.
|
|
1649
|
+
*/
|
|
1650
|
+
data: Prisma.XOR<Prisma.GitHubRepoSnapshotUpdateInput, Prisma.GitHubRepoSnapshotUncheckedUpdateInput>
|
|
1651
|
+
/**
|
|
1652
|
+
* Choose, which GitHubRepoSnapshot to update.
|
|
1653
|
+
*/
|
|
1654
|
+
where: Prisma.GitHubRepoSnapshotWhereUniqueInput
|
|
1655
|
+
}
|
|
1656
|
+
|
|
1657
|
+
/**
|
|
1658
|
+
* GitHubRepoSnapshot updateMany
|
|
1659
|
+
*/
|
|
1660
|
+
export type GitHubRepoSnapshotUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1661
|
+
/**
|
|
1662
|
+
* The data used to update GitHubRepoSnapshots.
|
|
1663
|
+
*/
|
|
1664
|
+
data: Prisma.XOR<Prisma.GitHubRepoSnapshotUpdateManyMutationInput, Prisma.GitHubRepoSnapshotUncheckedUpdateManyInput>
|
|
1665
|
+
/**
|
|
1666
|
+
* Filter which GitHubRepoSnapshots to update
|
|
1667
|
+
*/
|
|
1668
|
+
where?: Prisma.GitHubRepoSnapshotWhereInput
|
|
1669
|
+
/**
|
|
1670
|
+
* Limit how many GitHubRepoSnapshots to update.
|
|
1671
|
+
*/
|
|
1672
|
+
limit?: number
|
|
1673
|
+
}
|
|
1674
|
+
|
|
1675
|
+
/**
|
|
1676
|
+
* GitHubRepoSnapshot updateManyAndReturn
|
|
1677
|
+
*/
|
|
1678
|
+
export type GitHubRepoSnapshotUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1679
|
+
/**
|
|
1680
|
+
* Select specific fields to fetch from the GitHubRepoSnapshot
|
|
1681
|
+
*/
|
|
1682
|
+
select?: Prisma.GitHubRepoSnapshotSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1683
|
+
/**
|
|
1684
|
+
* Omit specific fields from the GitHubRepoSnapshot
|
|
1685
|
+
*/
|
|
1686
|
+
omit?: Prisma.GitHubRepoSnapshotOmit<ExtArgs> | null
|
|
1687
|
+
/**
|
|
1688
|
+
* The data used to update GitHubRepoSnapshots.
|
|
1689
|
+
*/
|
|
1690
|
+
data: Prisma.XOR<Prisma.GitHubRepoSnapshotUpdateManyMutationInput, Prisma.GitHubRepoSnapshotUncheckedUpdateManyInput>
|
|
1691
|
+
/**
|
|
1692
|
+
* Filter which GitHubRepoSnapshots to update
|
|
1693
|
+
*/
|
|
1694
|
+
where?: Prisma.GitHubRepoSnapshotWhereInput
|
|
1695
|
+
/**
|
|
1696
|
+
* Limit how many GitHubRepoSnapshots to update.
|
|
1697
|
+
*/
|
|
1698
|
+
limit?: number
|
|
1699
|
+
}
|
|
1700
|
+
|
|
1701
|
+
/**
|
|
1702
|
+
* GitHubRepoSnapshot upsert
|
|
1703
|
+
*/
|
|
1704
|
+
export type GitHubRepoSnapshotUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1705
|
+
/**
|
|
1706
|
+
* Select specific fields to fetch from the GitHubRepoSnapshot
|
|
1707
|
+
*/
|
|
1708
|
+
select?: Prisma.GitHubRepoSnapshotSelect<ExtArgs> | null
|
|
1709
|
+
/**
|
|
1710
|
+
* Omit specific fields from the GitHubRepoSnapshot
|
|
1711
|
+
*/
|
|
1712
|
+
omit?: Prisma.GitHubRepoSnapshotOmit<ExtArgs> | null
|
|
1713
|
+
/**
|
|
1714
|
+
* Choose, which related nodes to fetch as well
|
|
1715
|
+
*/
|
|
1716
|
+
include?: Prisma.GitHubRepoSnapshotInclude<ExtArgs> | null
|
|
1717
|
+
/**
|
|
1718
|
+
* The filter to search for the GitHubRepoSnapshot to update in case it exists.
|
|
1719
|
+
*/
|
|
1720
|
+
where: Prisma.GitHubRepoSnapshotWhereUniqueInput
|
|
1721
|
+
/**
|
|
1722
|
+
* In case the GitHubRepoSnapshot found by the `where` argument doesn't exist, create a new GitHubRepoSnapshot with this data.
|
|
1723
|
+
*/
|
|
1724
|
+
create: Prisma.XOR<Prisma.GitHubRepoSnapshotCreateInput, Prisma.GitHubRepoSnapshotUncheckedCreateInput>
|
|
1725
|
+
/**
|
|
1726
|
+
* In case the GitHubRepoSnapshot was found with the provided `where` argument, update it with this data.
|
|
1727
|
+
*/
|
|
1728
|
+
update: Prisma.XOR<Prisma.GitHubRepoSnapshotUpdateInput, Prisma.GitHubRepoSnapshotUncheckedUpdateInput>
|
|
1729
|
+
}
|
|
1730
|
+
|
|
1731
|
+
/**
|
|
1732
|
+
* GitHubRepoSnapshot delete
|
|
1733
|
+
*/
|
|
1734
|
+
export type GitHubRepoSnapshotDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1735
|
+
/**
|
|
1736
|
+
* Select specific fields to fetch from the GitHubRepoSnapshot
|
|
1737
|
+
*/
|
|
1738
|
+
select?: Prisma.GitHubRepoSnapshotSelect<ExtArgs> | null
|
|
1739
|
+
/**
|
|
1740
|
+
* Omit specific fields from the GitHubRepoSnapshot
|
|
1741
|
+
*/
|
|
1742
|
+
omit?: Prisma.GitHubRepoSnapshotOmit<ExtArgs> | null
|
|
1743
|
+
/**
|
|
1744
|
+
* Choose, which related nodes to fetch as well
|
|
1745
|
+
*/
|
|
1746
|
+
include?: Prisma.GitHubRepoSnapshotInclude<ExtArgs> | null
|
|
1747
|
+
/**
|
|
1748
|
+
* Filter which GitHubRepoSnapshot to delete.
|
|
1749
|
+
*/
|
|
1750
|
+
where: Prisma.GitHubRepoSnapshotWhereUniqueInput
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1753
|
+
/**
|
|
1754
|
+
* GitHubRepoSnapshot deleteMany
|
|
1755
|
+
*/
|
|
1756
|
+
export type GitHubRepoSnapshotDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1757
|
+
/**
|
|
1758
|
+
* Filter which GitHubRepoSnapshots to delete
|
|
1759
|
+
*/
|
|
1760
|
+
where?: Prisma.GitHubRepoSnapshotWhereInput
|
|
1761
|
+
/**
|
|
1762
|
+
* Limit how many GitHubRepoSnapshots to delete.
|
|
1763
|
+
*/
|
|
1764
|
+
limit?: number
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
/**
|
|
1768
|
+
* GitHubRepoSnapshot.repos
|
|
1769
|
+
*/
|
|
1770
|
+
export type GitHubRepoSnapshot$reposArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1771
|
+
/**
|
|
1772
|
+
* Select specific fields to fetch from the GitHubCachedRepo
|
|
1773
|
+
*/
|
|
1774
|
+
select?: Prisma.GitHubCachedRepoSelect<ExtArgs> | null
|
|
1775
|
+
/**
|
|
1776
|
+
* Omit specific fields from the GitHubCachedRepo
|
|
1777
|
+
*/
|
|
1778
|
+
omit?: Prisma.GitHubCachedRepoOmit<ExtArgs> | null
|
|
1779
|
+
/**
|
|
1780
|
+
* Choose, which related nodes to fetch as well
|
|
1781
|
+
*/
|
|
1782
|
+
include?: Prisma.GitHubCachedRepoInclude<ExtArgs> | null
|
|
1783
|
+
where?: Prisma.GitHubCachedRepoWhereInput
|
|
1784
|
+
orderBy?: Prisma.GitHubCachedRepoOrderByWithRelationInput | Prisma.GitHubCachedRepoOrderByWithRelationInput[]
|
|
1785
|
+
cursor?: Prisma.GitHubCachedRepoWhereUniqueInput
|
|
1786
|
+
take?: number
|
|
1787
|
+
skip?: number
|
|
1788
|
+
distinct?: Prisma.GitHubCachedRepoScalarFieldEnum | Prisma.GitHubCachedRepoScalarFieldEnum[]
|
|
1789
|
+
}
|
|
1790
|
+
|
|
1791
|
+
/**
|
|
1792
|
+
* GitHubRepoSnapshot without action
|
|
1793
|
+
*/
|
|
1794
|
+
export type GitHubRepoSnapshotDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1795
|
+
/**
|
|
1796
|
+
* Select specific fields to fetch from the GitHubRepoSnapshot
|
|
1797
|
+
*/
|
|
1798
|
+
select?: Prisma.GitHubRepoSnapshotSelect<ExtArgs> | null
|
|
1799
|
+
/**
|
|
1800
|
+
* Omit specific fields from the GitHubRepoSnapshot
|
|
1801
|
+
*/
|
|
1802
|
+
omit?: Prisma.GitHubRepoSnapshotOmit<ExtArgs> | null
|
|
1803
|
+
/**
|
|
1804
|
+
* Choose, which related nodes to fetch as well
|
|
1805
|
+
*/
|
|
1806
|
+
include?: Prisma.GitHubRepoSnapshotInclude<ExtArgs> | null
|
|
1807
|
+
}
|