@app-vitals/agent-admin 1.75.0 → 1.76.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/github-repo-cache.integration.test.ts +227 -0
- package/src/github-repo-cache.ts +296 -0
- package/src/github-repo-cache.unit.test.ts +66 -0
|
@@ -0,0 +1,1430 @@
|
|
|
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 `GitHubCachedRepo` 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 GitHubCachedRepo
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type GitHubCachedRepoModel = runtime.Types.Result.DefaultSelection<Prisma.$GitHubCachedRepoPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateGitHubCachedRepo = {
|
|
22
|
+
_count: GitHubCachedRepoCountAggregateOutputType | null
|
|
23
|
+
_avg: GitHubCachedRepoAvgAggregateOutputType | null
|
|
24
|
+
_sum: GitHubCachedRepoSumAggregateOutputType | null
|
|
25
|
+
_min: GitHubCachedRepoMinAggregateOutputType | null
|
|
26
|
+
_max: GitHubCachedRepoMaxAggregateOutputType | null
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type GitHubCachedRepoAvgAggregateOutputType = {
|
|
30
|
+
githubId: number | null
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export type GitHubCachedRepoSumAggregateOutputType = {
|
|
34
|
+
githubId: bigint | null
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type GitHubCachedRepoMinAggregateOutputType = {
|
|
38
|
+
id: string | null
|
|
39
|
+
snapshotId: string | null
|
|
40
|
+
githubId: bigint | null
|
|
41
|
+
fullName: string | null
|
|
42
|
+
archived: boolean | null
|
|
43
|
+
seenAt: Date | null
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export type GitHubCachedRepoMaxAggregateOutputType = {
|
|
47
|
+
id: string | null
|
|
48
|
+
snapshotId: string | null
|
|
49
|
+
githubId: bigint | null
|
|
50
|
+
fullName: string | null
|
|
51
|
+
archived: boolean | null
|
|
52
|
+
seenAt: Date | null
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export type GitHubCachedRepoCountAggregateOutputType = {
|
|
56
|
+
id: number
|
|
57
|
+
snapshotId: number
|
|
58
|
+
githubId: number
|
|
59
|
+
fullName: number
|
|
60
|
+
archived: number
|
|
61
|
+
seenAt: number
|
|
62
|
+
_all: number
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
export type GitHubCachedRepoAvgAggregateInputType = {
|
|
67
|
+
githubId?: true
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export type GitHubCachedRepoSumAggregateInputType = {
|
|
71
|
+
githubId?: true
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export type GitHubCachedRepoMinAggregateInputType = {
|
|
75
|
+
id?: true
|
|
76
|
+
snapshotId?: true
|
|
77
|
+
githubId?: true
|
|
78
|
+
fullName?: true
|
|
79
|
+
archived?: true
|
|
80
|
+
seenAt?: true
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export type GitHubCachedRepoMaxAggregateInputType = {
|
|
84
|
+
id?: true
|
|
85
|
+
snapshotId?: true
|
|
86
|
+
githubId?: true
|
|
87
|
+
fullName?: true
|
|
88
|
+
archived?: true
|
|
89
|
+
seenAt?: true
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export type GitHubCachedRepoCountAggregateInputType = {
|
|
93
|
+
id?: true
|
|
94
|
+
snapshotId?: true
|
|
95
|
+
githubId?: true
|
|
96
|
+
fullName?: true
|
|
97
|
+
archived?: true
|
|
98
|
+
seenAt?: true
|
|
99
|
+
_all?: true
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export type GitHubCachedRepoAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
103
|
+
/**
|
|
104
|
+
* Filter which GitHubCachedRepo to aggregate.
|
|
105
|
+
*/
|
|
106
|
+
where?: Prisma.GitHubCachedRepoWhereInput
|
|
107
|
+
/**
|
|
108
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
109
|
+
*
|
|
110
|
+
* Determine the order of GitHubCachedRepos to fetch.
|
|
111
|
+
*/
|
|
112
|
+
orderBy?: Prisma.GitHubCachedRepoOrderByWithRelationInput | Prisma.GitHubCachedRepoOrderByWithRelationInput[]
|
|
113
|
+
/**
|
|
114
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
115
|
+
*
|
|
116
|
+
* Sets the start position
|
|
117
|
+
*/
|
|
118
|
+
cursor?: Prisma.GitHubCachedRepoWhereUniqueInput
|
|
119
|
+
/**
|
|
120
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
121
|
+
*
|
|
122
|
+
* Take `±n` GitHubCachedRepos from the position of the cursor.
|
|
123
|
+
*/
|
|
124
|
+
take?: number
|
|
125
|
+
/**
|
|
126
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
127
|
+
*
|
|
128
|
+
* Skip the first `n` GitHubCachedRepos.
|
|
129
|
+
*/
|
|
130
|
+
skip?: number
|
|
131
|
+
/**
|
|
132
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
133
|
+
*
|
|
134
|
+
* Count returned GitHubCachedRepos
|
|
135
|
+
**/
|
|
136
|
+
_count?: true | GitHubCachedRepoCountAggregateInputType
|
|
137
|
+
/**
|
|
138
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
139
|
+
*
|
|
140
|
+
* Select which fields to average
|
|
141
|
+
**/
|
|
142
|
+
_avg?: GitHubCachedRepoAvgAggregateInputType
|
|
143
|
+
/**
|
|
144
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
145
|
+
*
|
|
146
|
+
* Select which fields to sum
|
|
147
|
+
**/
|
|
148
|
+
_sum?: GitHubCachedRepoSumAggregateInputType
|
|
149
|
+
/**
|
|
150
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
151
|
+
*
|
|
152
|
+
* Select which fields to find the minimum value
|
|
153
|
+
**/
|
|
154
|
+
_min?: GitHubCachedRepoMinAggregateInputType
|
|
155
|
+
/**
|
|
156
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
157
|
+
*
|
|
158
|
+
* Select which fields to find the maximum value
|
|
159
|
+
**/
|
|
160
|
+
_max?: GitHubCachedRepoMaxAggregateInputType
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
export type GetGitHubCachedRepoAggregateType<T extends GitHubCachedRepoAggregateArgs> = {
|
|
164
|
+
[P in keyof T & keyof AggregateGitHubCachedRepo]: P extends '_count' | 'count'
|
|
165
|
+
? T[P] extends true
|
|
166
|
+
? number
|
|
167
|
+
: Prisma.GetScalarType<T[P], AggregateGitHubCachedRepo[P]>
|
|
168
|
+
: Prisma.GetScalarType<T[P], AggregateGitHubCachedRepo[P]>
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
export type GitHubCachedRepoGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
175
|
+
where?: Prisma.GitHubCachedRepoWhereInput
|
|
176
|
+
orderBy?: Prisma.GitHubCachedRepoOrderByWithAggregationInput | Prisma.GitHubCachedRepoOrderByWithAggregationInput[]
|
|
177
|
+
by: Prisma.GitHubCachedRepoScalarFieldEnum[] | Prisma.GitHubCachedRepoScalarFieldEnum
|
|
178
|
+
having?: Prisma.GitHubCachedRepoScalarWhereWithAggregatesInput
|
|
179
|
+
take?: number
|
|
180
|
+
skip?: number
|
|
181
|
+
_count?: GitHubCachedRepoCountAggregateInputType | true
|
|
182
|
+
_avg?: GitHubCachedRepoAvgAggregateInputType
|
|
183
|
+
_sum?: GitHubCachedRepoSumAggregateInputType
|
|
184
|
+
_min?: GitHubCachedRepoMinAggregateInputType
|
|
185
|
+
_max?: GitHubCachedRepoMaxAggregateInputType
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
export type GitHubCachedRepoGroupByOutputType = {
|
|
189
|
+
id: string
|
|
190
|
+
snapshotId: string
|
|
191
|
+
githubId: bigint
|
|
192
|
+
fullName: string
|
|
193
|
+
archived: boolean
|
|
194
|
+
seenAt: Date
|
|
195
|
+
_count: GitHubCachedRepoCountAggregateOutputType | null
|
|
196
|
+
_avg: GitHubCachedRepoAvgAggregateOutputType | null
|
|
197
|
+
_sum: GitHubCachedRepoSumAggregateOutputType | null
|
|
198
|
+
_min: GitHubCachedRepoMinAggregateOutputType | null
|
|
199
|
+
_max: GitHubCachedRepoMaxAggregateOutputType | null
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
export type GetGitHubCachedRepoGroupByPayload<T extends GitHubCachedRepoGroupByArgs> = Prisma.PrismaPromise<
|
|
203
|
+
Array<
|
|
204
|
+
Prisma.PickEnumerable<GitHubCachedRepoGroupByOutputType, T['by']> &
|
|
205
|
+
{
|
|
206
|
+
[P in ((keyof T) & (keyof GitHubCachedRepoGroupByOutputType))]: P extends '_count'
|
|
207
|
+
? T[P] extends boolean
|
|
208
|
+
? number
|
|
209
|
+
: Prisma.GetScalarType<T[P], GitHubCachedRepoGroupByOutputType[P]>
|
|
210
|
+
: Prisma.GetScalarType<T[P], GitHubCachedRepoGroupByOutputType[P]>
|
|
211
|
+
}
|
|
212
|
+
>
|
|
213
|
+
>
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
export type GitHubCachedRepoWhereInput = {
|
|
218
|
+
AND?: Prisma.GitHubCachedRepoWhereInput | Prisma.GitHubCachedRepoWhereInput[]
|
|
219
|
+
OR?: Prisma.GitHubCachedRepoWhereInput[]
|
|
220
|
+
NOT?: Prisma.GitHubCachedRepoWhereInput | Prisma.GitHubCachedRepoWhereInput[]
|
|
221
|
+
id?: Prisma.StringFilter<"GitHubCachedRepo"> | string
|
|
222
|
+
snapshotId?: Prisma.StringFilter<"GitHubCachedRepo"> | string
|
|
223
|
+
githubId?: Prisma.BigIntFilter<"GitHubCachedRepo"> | bigint | number
|
|
224
|
+
fullName?: Prisma.StringFilter<"GitHubCachedRepo"> | string
|
|
225
|
+
archived?: Prisma.BoolFilter<"GitHubCachedRepo"> | boolean
|
|
226
|
+
seenAt?: Prisma.DateTimeFilter<"GitHubCachedRepo"> | Date | string
|
|
227
|
+
snapshot?: Prisma.XOR<Prisma.GitHubRepoSnapshotScalarRelationFilter, Prisma.GitHubRepoSnapshotWhereInput>
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
export type GitHubCachedRepoOrderByWithRelationInput = {
|
|
231
|
+
id?: Prisma.SortOrder
|
|
232
|
+
snapshotId?: Prisma.SortOrder
|
|
233
|
+
githubId?: Prisma.SortOrder
|
|
234
|
+
fullName?: Prisma.SortOrder
|
|
235
|
+
archived?: Prisma.SortOrder
|
|
236
|
+
seenAt?: Prisma.SortOrder
|
|
237
|
+
snapshot?: Prisma.GitHubRepoSnapshotOrderByWithRelationInput
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
export type GitHubCachedRepoWhereUniqueInput = Prisma.AtLeast<{
|
|
241
|
+
id?: string
|
|
242
|
+
snapshotId_githubId?: Prisma.GitHubCachedRepoSnapshotIdGithubIdCompoundUniqueInput
|
|
243
|
+
AND?: Prisma.GitHubCachedRepoWhereInput | Prisma.GitHubCachedRepoWhereInput[]
|
|
244
|
+
OR?: Prisma.GitHubCachedRepoWhereInput[]
|
|
245
|
+
NOT?: Prisma.GitHubCachedRepoWhereInput | Prisma.GitHubCachedRepoWhereInput[]
|
|
246
|
+
snapshotId?: Prisma.StringFilter<"GitHubCachedRepo"> | string
|
|
247
|
+
githubId?: Prisma.BigIntFilter<"GitHubCachedRepo"> | bigint | number
|
|
248
|
+
fullName?: Prisma.StringFilter<"GitHubCachedRepo"> | string
|
|
249
|
+
archived?: Prisma.BoolFilter<"GitHubCachedRepo"> | boolean
|
|
250
|
+
seenAt?: Prisma.DateTimeFilter<"GitHubCachedRepo"> | Date | string
|
|
251
|
+
snapshot?: Prisma.XOR<Prisma.GitHubRepoSnapshotScalarRelationFilter, Prisma.GitHubRepoSnapshotWhereInput>
|
|
252
|
+
}, "id" | "snapshotId_githubId">
|
|
253
|
+
|
|
254
|
+
export type GitHubCachedRepoOrderByWithAggregationInput = {
|
|
255
|
+
id?: Prisma.SortOrder
|
|
256
|
+
snapshotId?: Prisma.SortOrder
|
|
257
|
+
githubId?: Prisma.SortOrder
|
|
258
|
+
fullName?: Prisma.SortOrder
|
|
259
|
+
archived?: Prisma.SortOrder
|
|
260
|
+
seenAt?: Prisma.SortOrder
|
|
261
|
+
_count?: Prisma.GitHubCachedRepoCountOrderByAggregateInput
|
|
262
|
+
_avg?: Prisma.GitHubCachedRepoAvgOrderByAggregateInput
|
|
263
|
+
_max?: Prisma.GitHubCachedRepoMaxOrderByAggregateInput
|
|
264
|
+
_min?: Prisma.GitHubCachedRepoMinOrderByAggregateInput
|
|
265
|
+
_sum?: Prisma.GitHubCachedRepoSumOrderByAggregateInput
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
export type GitHubCachedRepoScalarWhereWithAggregatesInput = {
|
|
269
|
+
AND?: Prisma.GitHubCachedRepoScalarWhereWithAggregatesInput | Prisma.GitHubCachedRepoScalarWhereWithAggregatesInput[]
|
|
270
|
+
OR?: Prisma.GitHubCachedRepoScalarWhereWithAggregatesInput[]
|
|
271
|
+
NOT?: Prisma.GitHubCachedRepoScalarWhereWithAggregatesInput | Prisma.GitHubCachedRepoScalarWhereWithAggregatesInput[]
|
|
272
|
+
id?: Prisma.StringWithAggregatesFilter<"GitHubCachedRepo"> | string
|
|
273
|
+
snapshotId?: Prisma.StringWithAggregatesFilter<"GitHubCachedRepo"> | string
|
|
274
|
+
githubId?: Prisma.BigIntWithAggregatesFilter<"GitHubCachedRepo"> | bigint | number
|
|
275
|
+
fullName?: Prisma.StringWithAggregatesFilter<"GitHubCachedRepo"> | string
|
|
276
|
+
archived?: Prisma.BoolWithAggregatesFilter<"GitHubCachedRepo"> | boolean
|
|
277
|
+
seenAt?: Prisma.DateTimeWithAggregatesFilter<"GitHubCachedRepo"> | Date | string
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
export type GitHubCachedRepoCreateInput = {
|
|
281
|
+
id?: string
|
|
282
|
+
githubId: bigint | number
|
|
283
|
+
fullName: string
|
|
284
|
+
archived?: boolean
|
|
285
|
+
seenAt: Date | string
|
|
286
|
+
snapshot: Prisma.GitHubRepoSnapshotCreateNestedOneWithoutReposInput
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
export type GitHubCachedRepoUncheckedCreateInput = {
|
|
290
|
+
id?: string
|
|
291
|
+
snapshotId: string
|
|
292
|
+
githubId: bigint | number
|
|
293
|
+
fullName: string
|
|
294
|
+
archived?: boolean
|
|
295
|
+
seenAt: Date | string
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
export type GitHubCachedRepoUpdateInput = {
|
|
299
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
300
|
+
githubId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
301
|
+
fullName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
302
|
+
archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
303
|
+
seenAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
304
|
+
snapshot?: Prisma.GitHubRepoSnapshotUpdateOneRequiredWithoutReposNestedInput
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
export type GitHubCachedRepoUncheckedUpdateInput = {
|
|
308
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
309
|
+
snapshotId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
310
|
+
githubId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
311
|
+
fullName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
312
|
+
archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
313
|
+
seenAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
export type GitHubCachedRepoCreateManyInput = {
|
|
317
|
+
id?: string
|
|
318
|
+
snapshotId: string
|
|
319
|
+
githubId: bigint | number
|
|
320
|
+
fullName: string
|
|
321
|
+
archived?: boolean
|
|
322
|
+
seenAt: Date | string
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
export type GitHubCachedRepoUpdateManyMutationInput = {
|
|
326
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
327
|
+
githubId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
328
|
+
fullName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
329
|
+
archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
330
|
+
seenAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
export type GitHubCachedRepoUncheckedUpdateManyInput = {
|
|
334
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
335
|
+
snapshotId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
336
|
+
githubId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
337
|
+
fullName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
338
|
+
archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
339
|
+
seenAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
export type GitHubCachedRepoListRelationFilter = {
|
|
343
|
+
every?: Prisma.GitHubCachedRepoWhereInput
|
|
344
|
+
some?: Prisma.GitHubCachedRepoWhereInput
|
|
345
|
+
none?: Prisma.GitHubCachedRepoWhereInput
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
export type GitHubCachedRepoOrderByRelationAggregateInput = {
|
|
349
|
+
_count?: Prisma.SortOrder
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
export type GitHubCachedRepoSnapshotIdGithubIdCompoundUniqueInput = {
|
|
353
|
+
snapshotId: string
|
|
354
|
+
githubId: bigint | number
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
export type GitHubCachedRepoCountOrderByAggregateInput = {
|
|
358
|
+
id?: Prisma.SortOrder
|
|
359
|
+
snapshotId?: Prisma.SortOrder
|
|
360
|
+
githubId?: Prisma.SortOrder
|
|
361
|
+
fullName?: Prisma.SortOrder
|
|
362
|
+
archived?: Prisma.SortOrder
|
|
363
|
+
seenAt?: Prisma.SortOrder
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
export type GitHubCachedRepoAvgOrderByAggregateInput = {
|
|
367
|
+
githubId?: Prisma.SortOrder
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
export type GitHubCachedRepoMaxOrderByAggregateInput = {
|
|
371
|
+
id?: Prisma.SortOrder
|
|
372
|
+
snapshotId?: Prisma.SortOrder
|
|
373
|
+
githubId?: Prisma.SortOrder
|
|
374
|
+
fullName?: Prisma.SortOrder
|
|
375
|
+
archived?: Prisma.SortOrder
|
|
376
|
+
seenAt?: Prisma.SortOrder
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
export type GitHubCachedRepoMinOrderByAggregateInput = {
|
|
380
|
+
id?: Prisma.SortOrder
|
|
381
|
+
snapshotId?: Prisma.SortOrder
|
|
382
|
+
githubId?: Prisma.SortOrder
|
|
383
|
+
fullName?: Prisma.SortOrder
|
|
384
|
+
archived?: Prisma.SortOrder
|
|
385
|
+
seenAt?: Prisma.SortOrder
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
export type GitHubCachedRepoSumOrderByAggregateInput = {
|
|
389
|
+
githubId?: Prisma.SortOrder
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
export type GitHubCachedRepoCreateNestedManyWithoutSnapshotInput = {
|
|
393
|
+
create?: Prisma.XOR<Prisma.GitHubCachedRepoCreateWithoutSnapshotInput, Prisma.GitHubCachedRepoUncheckedCreateWithoutSnapshotInput> | Prisma.GitHubCachedRepoCreateWithoutSnapshotInput[] | Prisma.GitHubCachedRepoUncheckedCreateWithoutSnapshotInput[]
|
|
394
|
+
connectOrCreate?: Prisma.GitHubCachedRepoCreateOrConnectWithoutSnapshotInput | Prisma.GitHubCachedRepoCreateOrConnectWithoutSnapshotInput[]
|
|
395
|
+
createMany?: Prisma.GitHubCachedRepoCreateManySnapshotInputEnvelope
|
|
396
|
+
connect?: Prisma.GitHubCachedRepoWhereUniqueInput | Prisma.GitHubCachedRepoWhereUniqueInput[]
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
export type GitHubCachedRepoUncheckedCreateNestedManyWithoutSnapshotInput = {
|
|
400
|
+
create?: Prisma.XOR<Prisma.GitHubCachedRepoCreateWithoutSnapshotInput, Prisma.GitHubCachedRepoUncheckedCreateWithoutSnapshotInput> | Prisma.GitHubCachedRepoCreateWithoutSnapshotInput[] | Prisma.GitHubCachedRepoUncheckedCreateWithoutSnapshotInput[]
|
|
401
|
+
connectOrCreate?: Prisma.GitHubCachedRepoCreateOrConnectWithoutSnapshotInput | Prisma.GitHubCachedRepoCreateOrConnectWithoutSnapshotInput[]
|
|
402
|
+
createMany?: Prisma.GitHubCachedRepoCreateManySnapshotInputEnvelope
|
|
403
|
+
connect?: Prisma.GitHubCachedRepoWhereUniqueInput | Prisma.GitHubCachedRepoWhereUniqueInput[]
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
export type GitHubCachedRepoUpdateManyWithoutSnapshotNestedInput = {
|
|
407
|
+
create?: Prisma.XOR<Prisma.GitHubCachedRepoCreateWithoutSnapshotInput, Prisma.GitHubCachedRepoUncheckedCreateWithoutSnapshotInput> | Prisma.GitHubCachedRepoCreateWithoutSnapshotInput[] | Prisma.GitHubCachedRepoUncheckedCreateWithoutSnapshotInput[]
|
|
408
|
+
connectOrCreate?: Prisma.GitHubCachedRepoCreateOrConnectWithoutSnapshotInput | Prisma.GitHubCachedRepoCreateOrConnectWithoutSnapshotInput[]
|
|
409
|
+
upsert?: Prisma.GitHubCachedRepoUpsertWithWhereUniqueWithoutSnapshotInput | Prisma.GitHubCachedRepoUpsertWithWhereUniqueWithoutSnapshotInput[]
|
|
410
|
+
createMany?: Prisma.GitHubCachedRepoCreateManySnapshotInputEnvelope
|
|
411
|
+
set?: Prisma.GitHubCachedRepoWhereUniqueInput | Prisma.GitHubCachedRepoWhereUniqueInput[]
|
|
412
|
+
disconnect?: Prisma.GitHubCachedRepoWhereUniqueInput | Prisma.GitHubCachedRepoWhereUniqueInput[]
|
|
413
|
+
delete?: Prisma.GitHubCachedRepoWhereUniqueInput | Prisma.GitHubCachedRepoWhereUniqueInput[]
|
|
414
|
+
connect?: Prisma.GitHubCachedRepoWhereUniqueInput | Prisma.GitHubCachedRepoWhereUniqueInput[]
|
|
415
|
+
update?: Prisma.GitHubCachedRepoUpdateWithWhereUniqueWithoutSnapshotInput | Prisma.GitHubCachedRepoUpdateWithWhereUniqueWithoutSnapshotInput[]
|
|
416
|
+
updateMany?: Prisma.GitHubCachedRepoUpdateManyWithWhereWithoutSnapshotInput | Prisma.GitHubCachedRepoUpdateManyWithWhereWithoutSnapshotInput[]
|
|
417
|
+
deleteMany?: Prisma.GitHubCachedRepoScalarWhereInput | Prisma.GitHubCachedRepoScalarWhereInput[]
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
export type GitHubCachedRepoUncheckedUpdateManyWithoutSnapshotNestedInput = {
|
|
421
|
+
create?: Prisma.XOR<Prisma.GitHubCachedRepoCreateWithoutSnapshotInput, Prisma.GitHubCachedRepoUncheckedCreateWithoutSnapshotInput> | Prisma.GitHubCachedRepoCreateWithoutSnapshotInput[] | Prisma.GitHubCachedRepoUncheckedCreateWithoutSnapshotInput[]
|
|
422
|
+
connectOrCreate?: Prisma.GitHubCachedRepoCreateOrConnectWithoutSnapshotInput | Prisma.GitHubCachedRepoCreateOrConnectWithoutSnapshotInput[]
|
|
423
|
+
upsert?: Prisma.GitHubCachedRepoUpsertWithWhereUniqueWithoutSnapshotInput | Prisma.GitHubCachedRepoUpsertWithWhereUniqueWithoutSnapshotInput[]
|
|
424
|
+
createMany?: Prisma.GitHubCachedRepoCreateManySnapshotInputEnvelope
|
|
425
|
+
set?: Prisma.GitHubCachedRepoWhereUniqueInput | Prisma.GitHubCachedRepoWhereUniqueInput[]
|
|
426
|
+
disconnect?: Prisma.GitHubCachedRepoWhereUniqueInput | Prisma.GitHubCachedRepoWhereUniqueInput[]
|
|
427
|
+
delete?: Prisma.GitHubCachedRepoWhereUniqueInput | Prisma.GitHubCachedRepoWhereUniqueInput[]
|
|
428
|
+
connect?: Prisma.GitHubCachedRepoWhereUniqueInput | Prisma.GitHubCachedRepoWhereUniqueInput[]
|
|
429
|
+
update?: Prisma.GitHubCachedRepoUpdateWithWhereUniqueWithoutSnapshotInput | Prisma.GitHubCachedRepoUpdateWithWhereUniqueWithoutSnapshotInput[]
|
|
430
|
+
updateMany?: Prisma.GitHubCachedRepoUpdateManyWithWhereWithoutSnapshotInput | Prisma.GitHubCachedRepoUpdateManyWithWhereWithoutSnapshotInput[]
|
|
431
|
+
deleteMany?: Prisma.GitHubCachedRepoScalarWhereInput | Prisma.GitHubCachedRepoScalarWhereInput[]
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
export type GitHubCachedRepoCreateWithoutSnapshotInput = {
|
|
435
|
+
id?: string
|
|
436
|
+
githubId: bigint | number
|
|
437
|
+
fullName: string
|
|
438
|
+
archived?: boolean
|
|
439
|
+
seenAt: Date | string
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
export type GitHubCachedRepoUncheckedCreateWithoutSnapshotInput = {
|
|
443
|
+
id?: string
|
|
444
|
+
githubId: bigint | number
|
|
445
|
+
fullName: string
|
|
446
|
+
archived?: boolean
|
|
447
|
+
seenAt: Date | string
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
export type GitHubCachedRepoCreateOrConnectWithoutSnapshotInput = {
|
|
451
|
+
where: Prisma.GitHubCachedRepoWhereUniqueInput
|
|
452
|
+
create: Prisma.XOR<Prisma.GitHubCachedRepoCreateWithoutSnapshotInput, Prisma.GitHubCachedRepoUncheckedCreateWithoutSnapshotInput>
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
export type GitHubCachedRepoCreateManySnapshotInputEnvelope = {
|
|
456
|
+
data: Prisma.GitHubCachedRepoCreateManySnapshotInput | Prisma.GitHubCachedRepoCreateManySnapshotInput[]
|
|
457
|
+
skipDuplicates?: boolean
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
export type GitHubCachedRepoUpsertWithWhereUniqueWithoutSnapshotInput = {
|
|
461
|
+
where: Prisma.GitHubCachedRepoWhereUniqueInput
|
|
462
|
+
update: Prisma.XOR<Prisma.GitHubCachedRepoUpdateWithoutSnapshotInput, Prisma.GitHubCachedRepoUncheckedUpdateWithoutSnapshotInput>
|
|
463
|
+
create: Prisma.XOR<Prisma.GitHubCachedRepoCreateWithoutSnapshotInput, Prisma.GitHubCachedRepoUncheckedCreateWithoutSnapshotInput>
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
export type GitHubCachedRepoUpdateWithWhereUniqueWithoutSnapshotInput = {
|
|
467
|
+
where: Prisma.GitHubCachedRepoWhereUniqueInput
|
|
468
|
+
data: Prisma.XOR<Prisma.GitHubCachedRepoUpdateWithoutSnapshotInput, Prisma.GitHubCachedRepoUncheckedUpdateWithoutSnapshotInput>
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
export type GitHubCachedRepoUpdateManyWithWhereWithoutSnapshotInput = {
|
|
472
|
+
where: Prisma.GitHubCachedRepoScalarWhereInput
|
|
473
|
+
data: Prisma.XOR<Prisma.GitHubCachedRepoUpdateManyMutationInput, Prisma.GitHubCachedRepoUncheckedUpdateManyWithoutSnapshotInput>
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
export type GitHubCachedRepoScalarWhereInput = {
|
|
477
|
+
AND?: Prisma.GitHubCachedRepoScalarWhereInput | Prisma.GitHubCachedRepoScalarWhereInput[]
|
|
478
|
+
OR?: Prisma.GitHubCachedRepoScalarWhereInput[]
|
|
479
|
+
NOT?: Prisma.GitHubCachedRepoScalarWhereInput | Prisma.GitHubCachedRepoScalarWhereInput[]
|
|
480
|
+
id?: Prisma.StringFilter<"GitHubCachedRepo"> | string
|
|
481
|
+
snapshotId?: Prisma.StringFilter<"GitHubCachedRepo"> | string
|
|
482
|
+
githubId?: Prisma.BigIntFilter<"GitHubCachedRepo"> | bigint | number
|
|
483
|
+
fullName?: Prisma.StringFilter<"GitHubCachedRepo"> | string
|
|
484
|
+
archived?: Prisma.BoolFilter<"GitHubCachedRepo"> | boolean
|
|
485
|
+
seenAt?: Prisma.DateTimeFilter<"GitHubCachedRepo"> | Date | string
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
export type GitHubCachedRepoCreateManySnapshotInput = {
|
|
489
|
+
id?: string
|
|
490
|
+
githubId: bigint | number
|
|
491
|
+
fullName: string
|
|
492
|
+
archived?: boolean
|
|
493
|
+
seenAt: Date | string
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
export type GitHubCachedRepoUpdateWithoutSnapshotInput = {
|
|
497
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
498
|
+
githubId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
499
|
+
fullName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
500
|
+
archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
501
|
+
seenAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
export type GitHubCachedRepoUncheckedUpdateWithoutSnapshotInput = {
|
|
505
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
506
|
+
githubId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
507
|
+
fullName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
508
|
+
archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
509
|
+
seenAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
export type GitHubCachedRepoUncheckedUpdateManyWithoutSnapshotInput = {
|
|
513
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
514
|
+
githubId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
|
|
515
|
+
fullName?: Prisma.StringFieldUpdateOperationsInput | string
|
|
516
|
+
archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
517
|
+
seenAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
export type GitHubCachedRepoSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
523
|
+
id?: boolean
|
|
524
|
+
snapshotId?: boolean
|
|
525
|
+
githubId?: boolean
|
|
526
|
+
fullName?: boolean
|
|
527
|
+
archived?: boolean
|
|
528
|
+
seenAt?: boolean
|
|
529
|
+
snapshot?: boolean | Prisma.GitHubRepoSnapshotDefaultArgs<ExtArgs>
|
|
530
|
+
}, ExtArgs["result"]["gitHubCachedRepo"]>
|
|
531
|
+
|
|
532
|
+
export type GitHubCachedRepoSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
533
|
+
id?: boolean
|
|
534
|
+
snapshotId?: boolean
|
|
535
|
+
githubId?: boolean
|
|
536
|
+
fullName?: boolean
|
|
537
|
+
archived?: boolean
|
|
538
|
+
seenAt?: boolean
|
|
539
|
+
snapshot?: boolean | Prisma.GitHubRepoSnapshotDefaultArgs<ExtArgs>
|
|
540
|
+
}, ExtArgs["result"]["gitHubCachedRepo"]>
|
|
541
|
+
|
|
542
|
+
export type GitHubCachedRepoSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
543
|
+
id?: boolean
|
|
544
|
+
snapshotId?: boolean
|
|
545
|
+
githubId?: boolean
|
|
546
|
+
fullName?: boolean
|
|
547
|
+
archived?: boolean
|
|
548
|
+
seenAt?: boolean
|
|
549
|
+
snapshot?: boolean | Prisma.GitHubRepoSnapshotDefaultArgs<ExtArgs>
|
|
550
|
+
}, ExtArgs["result"]["gitHubCachedRepo"]>
|
|
551
|
+
|
|
552
|
+
export type GitHubCachedRepoSelectScalar = {
|
|
553
|
+
id?: boolean
|
|
554
|
+
snapshotId?: boolean
|
|
555
|
+
githubId?: boolean
|
|
556
|
+
fullName?: boolean
|
|
557
|
+
archived?: boolean
|
|
558
|
+
seenAt?: boolean
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
export type GitHubCachedRepoOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "snapshotId" | "githubId" | "fullName" | "archived" | "seenAt", ExtArgs["result"]["gitHubCachedRepo"]>
|
|
562
|
+
export type GitHubCachedRepoInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
563
|
+
snapshot?: boolean | Prisma.GitHubRepoSnapshotDefaultArgs<ExtArgs>
|
|
564
|
+
}
|
|
565
|
+
export type GitHubCachedRepoIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
566
|
+
snapshot?: boolean | Prisma.GitHubRepoSnapshotDefaultArgs<ExtArgs>
|
|
567
|
+
}
|
|
568
|
+
export type GitHubCachedRepoIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
569
|
+
snapshot?: boolean | Prisma.GitHubRepoSnapshotDefaultArgs<ExtArgs>
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
export type $GitHubCachedRepoPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
573
|
+
name: "GitHubCachedRepo"
|
|
574
|
+
objects: {
|
|
575
|
+
snapshot: Prisma.$GitHubRepoSnapshotPayload<ExtArgs>
|
|
576
|
+
}
|
|
577
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
578
|
+
id: string
|
|
579
|
+
snapshotId: string
|
|
580
|
+
githubId: bigint
|
|
581
|
+
fullName: string
|
|
582
|
+
archived: boolean
|
|
583
|
+
seenAt: Date
|
|
584
|
+
}, ExtArgs["result"]["gitHubCachedRepo"]>
|
|
585
|
+
composites: {}
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
export type GitHubCachedRepoGetPayload<S extends boolean | null | undefined | GitHubCachedRepoDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$GitHubCachedRepoPayload, S>
|
|
589
|
+
|
|
590
|
+
export type GitHubCachedRepoCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
591
|
+
Omit<GitHubCachedRepoFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
592
|
+
select?: GitHubCachedRepoCountAggregateInputType | true
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
export interface GitHubCachedRepoDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
596
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['GitHubCachedRepo'], meta: { name: 'GitHubCachedRepo' } }
|
|
597
|
+
/**
|
|
598
|
+
* Find zero or one GitHubCachedRepo that matches the filter.
|
|
599
|
+
* @param {GitHubCachedRepoFindUniqueArgs} args - Arguments to find a GitHubCachedRepo
|
|
600
|
+
* @example
|
|
601
|
+
* // Get one GitHubCachedRepo
|
|
602
|
+
* const gitHubCachedRepo = await prisma.gitHubCachedRepo.findUnique({
|
|
603
|
+
* where: {
|
|
604
|
+
* // ... provide filter here
|
|
605
|
+
* }
|
|
606
|
+
* })
|
|
607
|
+
*/
|
|
608
|
+
findUnique<T extends GitHubCachedRepoFindUniqueArgs>(args: Prisma.SelectSubset<T, GitHubCachedRepoFindUniqueArgs<ExtArgs>>): Prisma.Prisma__GitHubCachedRepoClient<runtime.Types.Result.GetResult<Prisma.$GitHubCachedRepoPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* Find one GitHubCachedRepo that matches the filter or throw an error with `error.code='P2025'`
|
|
612
|
+
* if no matches were found.
|
|
613
|
+
* @param {GitHubCachedRepoFindUniqueOrThrowArgs} args - Arguments to find a GitHubCachedRepo
|
|
614
|
+
* @example
|
|
615
|
+
* // Get one GitHubCachedRepo
|
|
616
|
+
* const gitHubCachedRepo = await prisma.gitHubCachedRepo.findUniqueOrThrow({
|
|
617
|
+
* where: {
|
|
618
|
+
* // ... provide filter here
|
|
619
|
+
* }
|
|
620
|
+
* })
|
|
621
|
+
*/
|
|
622
|
+
findUniqueOrThrow<T extends GitHubCachedRepoFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, GitHubCachedRepoFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__GitHubCachedRepoClient<runtime.Types.Result.GetResult<Prisma.$GitHubCachedRepoPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* Find the first GitHubCachedRepo that matches the filter.
|
|
626
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
627
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
628
|
+
* @param {GitHubCachedRepoFindFirstArgs} args - Arguments to find a GitHubCachedRepo
|
|
629
|
+
* @example
|
|
630
|
+
* // Get one GitHubCachedRepo
|
|
631
|
+
* const gitHubCachedRepo = await prisma.gitHubCachedRepo.findFirst({
|
|
632
|
+
* where: {
|
|
633
|
+
* // ... provide filter here
|
|
634
|
+
* }
|
|
635
|
+
* })
|
|
636
|
+
*/
|
|
637
|
+
findFirst<T extends GitHubCachedRepoFindFirstArgs>(args?: Prisma.SelectSubset<T, GitHubCachedRepoFindFirstArgs<ExtArgs>>): Prisma.Prisma__GitHubCachedRepoClient<runtime.Types.Result.GetResult<Prisma.$GitHubCachedRepoPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* Find the first GitHubCachedRepo that matches the filter or
|
|
641
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
642
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
643
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
644
|
+
* @param {GitHubCachedRepoFindFirstOrThrowArgs} args - Arguments to find a GitHubCachedRepo
|
|
645
|
+
* @example
|
|
646
|
+
* // Get one GitHubCachedRepo
|
|
647
|
+
* const gitHubCachedRepo = await prisma.gitHubCachedRepo.findFirstOrThrow({
|
|
648
|
+
* where: {
|
|
649
|
+
* // ... provide filter here
|
|
650
|
+
* }
|
|
651
|
+
* })
|
|
652
|
+
*/
|
|
653
|
+
findFirstOrThrow<T extends GitHubCachedRepoFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, GitHubCachedRepoFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__GitHubCachedRepoClient<runtime.Types.Result.GetResult<Prisma.$GitHubCachedRepoPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
654
|
+
|
|
655
|
+
/**
|
|
656
|
+
* Find zero or more GitHubCachedRepos that matches the filter.
|
|
657
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
658
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
659
|
+
* @param {GitHubCachedRepoFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
660
|
+
* @example
|
|
661
|
+
* // Get all GitHubCachedRepos
|
|
662
|
+
* const gitHubCachedRepos = await prisma.gitHubCachedRepo.findMany()
|
|
663
|
+
*
|
|
664
|
+
* // Get first 10 GitHubCachedRepos
|
|
665
|
+
* const gitHubCachedRepos = await prisma.gitHubCachedRepo.findMany({ take: 10 })
|
|
666
|
+
*
|
|
667
|
+
* // Only select the `id`
|
|
668
|
+
* const gitHubCachedRepoWithIdOnly = await prisma.gitHubCachedRepo.findMany({ select: { id: true } })
|
|
669
|
+
*
|
|
670
|
+
*/
|
|
671
|
+
findMany<T extends GitHubCachedRepoFindManyArgs>(args?: Prisma.SelectSubset<T, GitHubCachedRepoFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GitHubCachedRepoPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
672
|
+
|
|
673
|
+
/**
|
|
674
|
+
* Create a GitHubCachedRepo.
|
|
675
|
+
* @param {GitHubCachedRepoCreateArgs} args - Arguments to create a GitHubCachedRepo.
|
|
676
|
+
* @example
|
|
677
|
+
* // Create one GitHubCachedRepo
|
|
678
|
+
* const GitHubCachedRepo = await prisma.gitHubCachedRepo.create({
|
|
679
|
+
* data: {
|
|
680
|
+
* // ... data to create a GitHubCachedRepo
|
|
681
|
+
* }
|
|
682
|
+
* })
|
|
683
|
+
*
|
|
684
|
+
*/
|
|
685
|
+
create<T extends GitHubCachedRepoCreateArgs>(args: Prisma.SelectSubset<T, GitHubCachedRepoCreateArgs<ExtArgs>>): Prisma.Prisma__GitHubCachedRepoClient<runtime.Types.Result.GetResult<Prisma.$GitHubCachedRepoPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
686
|
+
|
|
687
|
+
/**
|
|
688
|
+
* Create many GitHubCachedRepos.
|
|
689
|
+
* @param {GitHubCachedRepoCreateManyArgs} args - Arguments to create many GitHubCachedRepos.
|
|
690
|
+
* @example
|
|
691
|
+
* // Create many GitHubCachedRepos
|
|
692
|
+
* const gitHubCachedRepo = await prisma.gitHubCachedRepo.createMany({
|
|
693
|
+
* data: [
|
|
694
|
+
* // ... provide data here
|
|
695
|
+
* ]
|
|
696
|
+
* })
|
|
697
|
+
*
|
|
698
|
+
*/
|
|
699
|
+
createMany<T extends GitHubCachedRepoCreateManyArgs>(args?: Prisma.SelectSubset<T, GitHubCachedRepoCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
700
|
+
|
|
701
|
+
/**
|
|
702
|
+
* Create many GitHubCachedRepos and returns the data saved in the database.
|
|
703
|
+
* @param {GitHubCachedRepoCreateManyAndReturnArgs} args - Arguments to create many GitHubCachedRepos.
|
|
704
|
+
* @example
|
|
705
|
+
* // Create many GitHubCachedRepos
|
|
706
|
+
* const gitHubCachedRepo = await prisma.gitHubCachedRepo.createManyAndReturn({
|
|
707
|
+
* data: [
|
|
708
|
+
* // ... provide data here
|
|
709
|
+
* ]
|
|
710
|
+
* })
|
|
711
|
+
*
|
|
712
|
+
* // Create many GitHubCachedRepos and only return the `id`
|
|
713
|
+
* const gitHubCachedRepoWithIdOnly = await prisma.gitHubCachedRepo.createManyAndReturn({
|
|
714
|
+
* select: { id: true },
|
|
715
|
+
* data: [
|
|
716
|
+
* // ... provide data here
|
|
717
|
+
* ]
|
|
718
|
+
* })
|
|
719
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
720
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
721
|
+
*
|
|
722
|
+
*/
|
|
723
|
+
createManyAndReturn<T extends GitHubCachedRepoCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, GitHubCachedRepoCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GitHubCachedRepoPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
724
|
+
|
|
725
|
+
/**
|
|
726
|
+
* Delete a GitHubCachedRepo.
|
|
727
|
+
* @param {GitHubCachedRepoDeleteArgs} args - Arguments to delete one GitHubCachedRepo.
|
|
728
|
+
* @example
|
|
729
|
+
* // Delete one GitHubCachedRepo
|
|
730
|
+
* const GitHubCachedRepo = await prisma.gitHubCachedRepo.delete({
|
|
731
|
+
* where: {
|
|
732
|
+
* // ... filter to delete one GitHubCachedRepo
|
|
733
|
+
* }
|
|
734
|
+
* })
|
|
735
|
+
*
|
|
736
|
+
*/
|
|
737
|
+
delete<T extends GitHubCachedRepoDeleteArgs>(args: Prisma.SelectSubset<T, GitHubCachedRepoDeleteArgs<ExtArgs>>): Prisma.Prisma__GitHubCachedRepoClient<runtime.Types.Result.GetResult<Prisma.$GitHubCachedRepoPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
738
|
+
|
|
739
|
+
/**
|
|
740
|
+
* Update one GitHubCachedRepo.
|
|
741
|
+
* @param {GitHubCachedRepoUpdateArgs} args - Arguments to update one GitHubCachedRepo.
|
|
742
|
+
* @example
|
|
743
|
+
* // Update one GitHubCachedRepo
|
|
744
|
+
* const gitHubCachedRepo = await prisma.gitHubCachedRepo.update({
|
|
745
|
+
* where: {
|
|
746
|
+
* // ... provide filter here
|
|
747
|
+
* },
|
|
748
|
+
* data: {
|
|
749
|
+
* // ... provide data here
|
|
750
|
+
* }
|
|
751
|
+
* })
|
|
752
|
+
*
|
|
753
|
+
*/
|
|
754
|
+
update<T extends GitHubCachedRepoUpdateArgs>(args: Prisma.SelectSubset<T, GitHubCachedRepoUpdateArgs<ExtArgs>>): Prisma.Prisma__GitHubCachedRepoClient<runtime.Types.Result.GetResult<Prisma.$GitHubCachedRepoPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
755
|
+
|
|
756
|
+
/**
|
|
757
|
+
* Delete zero or more GitHubCachedRepos.
|
|
758
|
+
* @param {GitHubCachedRepoDeleteManyArgs} args - Arguments to filter GitHubCachedRepos to delete.
|
|
759
|
+
* @example
|
|
760
|
+
* // Delete a few GitHubCachedRepos
|
|
761
|
+
* const { count } = await prisma.gitHubCachedRepo.deleteMany({
|
|
762
|
+
* where: {
|
|
763
|
+
* // ... provide filter here
|
|
764
|
+
* }
|
|
765
|
+
* })
|
|
766
|
+
*
|
|
767
|
+
*/
|
|
768
|
+
deleteMany<T extends GitHubCachedRepoDeleteManyArgs>(args?: Prisma.SelectSubset<T, GitHubCachedRepoDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
769
|
+
|
|
770
|
+
/**
|
|
771
|
+
* Update zero or more GitHubCachedRepos.
|
|
772
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
773
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
774
|
+
* @param {GitHubCachedRepoUpdateManyArgs} args - Arguments to update one or more rows.
|
|
775
|
+
* @example
|
|
776
|
+
* // Update many GitHubCachedRepos
|
|
777
|
+
* const gitHubCachedRepo = await prisma.gitHubCachedRepo.updateMany({
|
|
778
|
+
* where: {
|
|
779
|
+
* // ... provide filter here
|
|
780
|
+
* },
|
|
781
|
+
* data: {
|
|
782
|
+
* // ... provide data here
|
|
783
|
+
* }
|
|
784
|
+
* })
|
|
785
|
+
*
|
|
786
|
+
*/
|
|
787
|
+
updateMany<T extends GitHubCachedRepoUpdateManyArgs>(args: Prisma.SelectSubset<T, GitHubCachedRepoUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
788
|
+
|
|
789
|
+
/**
|
|
790
|
+
* Update zero or more GitHubCachedRepos and returns the data updated in the database.
|
|
791
|
+
* @param {GitHubCachedRepoUpdateManyAndReturnArgs} args - Arguments to update many GitHubCachedRepos.
|
|
792
|
+
* @example
|
|
793
|
+
* // Update many GitHubCachedRepos
|
|
794
|
+
* const gitHubCachedRepo = await prisma.gitHubCachedRepo.updateManyAndReturn({
|
|
795
|
+
* where: {
|
|
796
|
+
* // ... provide filter here
|
|
797
|
+
* },
|
|
798
|
+
* data: [
|
|
799
|
+
* // ... provide data here
|
|
800
|
+
* ]
|
|
801
|
+
* })
|
|
802
|
+
*
|
|
803
|
+
* // Update zero or more GitHubCachedRepos and only return the `id`
|
|
804
|
+
* const gitHubCachedRepoWithIdOnly = await prisma.gitHubCachedRepo.updateManyAndReturn({
|
|
805
|
+
* select: { id: true },
|
|
806
|
+
* where: {
|
|
807
|
+
* // ... provide filter here
|
|
808
|
+
* },
|
|
809
|
+
* data: [
|
|
810
|
+
* // ... provide data here
|
|
811
|
+
* ]
|
|
812
|
+
* })
|
|
813
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
814
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
815
|
+
*
|
|
816
|
+
*/
|
|
817
|
+
updateManyAndReturn<T extends GitHubCachedRepoUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, GitHubCachedRepoUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$GitHubCachedRepoPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
818
|
+
|
|
819
|
+
/**
|
|
820
|
+
* Create or update one GitHubCachedRepo.
|
|
821
|
+
* @param {GitHubCachedRepoUpsertArgs} args - Arguments to update or create a GitHubCachedRepo.
|
|
822
|
+
* @example
|
|
823
|
+
* // Update or create a GitHubCachedRepo
|
|
824
|
+
* const gitHubCachedRepo = await prisma.gitHubCachedRepo.upsert({
|
|
825
|
+
* create: {
|
|
826
|
+
* // ... data to create a GitHubCachedRepo
|
|
827
|
+
* },
|
|
828
|
+
* update: {
|
|
829
|
+
* // ... in case it already exists, update
|
|
830
|
+
* },
|
|
831
|
+
* where: {
|
|
832
|
+
* // ... the filter for the GitHubCachedRepo we want to update
|
|
833
|
+
* }
|
|
834
|
+
* })
|
|
835
|
+
*/
|
|
836
|
+
upsert<T extends GitHubCachedRepoUpsertArgs>(args: Prisma.SelectSubset<T, GitHubCachedRepoUpsertArgs<ExtArgs>>): Prisma.Prisma__GitHubCachedRepoClient<runtime.Types.Result.GetResult<Prisma.$GitHubCachedRepoPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
837
|
+
|
|
838
|
+
|
|
839
|
+
/**
|
|
840
|
+
* Count the number of GitHubCachedRepos.
|
|
841
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
842
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
843
|
+
* @param {GitHubCachedRepoCountArgs} args - Arguments to filter GitHubCachedRepos to count.
|
|
844
|
+
* @example
|
|
845
|
+
* // Count the number of GitHubCachedRepos
|
|
846
|
+
* const count = await prisma.gitHubCachedRepo.count({
|
|
847
|
+
* where: {
|
|
848
|
+
* // ... the filter for the GitHubCachedRepos we want to count
|
|
849
|
+
* }
|
|
850
|
+
* })
|
|
851
|
+
**/
|
|
852
|
+
count<T extends GitHubCachedRepoCountArgs>(
|
|
853
|
+
args?: Prisma.Subset<T, GitHubCachedRepoCountArgs>,
|
|
854
|
+
): Prisma.PrismaPromise<
|
|
855
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
856
|
+
? T['select'] extends true
|
|
857
|
+
? number
|
|
858
|
+
: Prisma.GetScalarType<T['select'], GitHubCachedRepoCountAggregateOutputType>
|
|
859
|
+
: number
|
|
860
|
+
>
|
|
861
|
+
|
|
862
|
+
/**
|
|
863
|
+
* Allows you to perform aggregations operations on a GitHubCachedRepo.
|
|
864
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
865
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
866
|
+
* @param {GitHubCachedRepoAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
867
|
+
* @example
|
|
868
|
+
* // Ordered by age ascending
|
|
869
|
+
* // Where email contains prisma.io
|
|
870
|
+
* // Limited to the 10 users
|
|
871
|
+
* const aggregations = await prisma.user.aggregate({
|
|
872
|
+
* _avg: {
|
|
873
|
+
* age: true,
|
|
874
|
+
* },
|
|
875
|
+
* where: {
|
|
876
|
+
* email: {
|
|
877
|
+
* contains: "prisma.io",
|
|
878
|
+
* },
|
|
879
|
+
* },
|
|
880
|
+
* orderBy: {
|
|
881
|
+
* age: "asc",
|
|
882
|
+
* },
|
|
883
|
+
* take: 10,
|
|
884
|
+
* })
|
|
885
|
+
**/
|
|
886
|
+
aggregate<T extends GitHubCachedRepoAggregateArgs>(args: Prisma.Subset<T, GitHubCachedRepoAggregateArgs>): Prisma.PrismaPromise<GetGitHubCachedRepoAggregateType<T>>
|
|
887
|
+
|
|
888
|
+
/**
|
|
889
|
+
* Group by GitHubCachedRepo.
|
|
890
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
891
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
892
|
+
* @param {GitHubCachedRepoGroupByArgs} args - Group by arguments.
|
|
893
|
+
* @example
|
|
894
|
+
* // Group by city, order by createdAt, get count
|
|
895
|
+
* const result = await prisma.user.groupBy({
|
|
896
|
+
* by: ['city', 'createdAt'],
|
|
897
|
+
* orderBy: {
|
|
898
|
+
* createdAt: true
|
|
899
|
+
* },
|
|
900
|
+
* _count: {
|
|
901
|
+
* _all: true
|
|
902
|
+
* },
|
|
903
|
+
* })
|
|
904
|
+
*
|
|
905
|
+
**/
|
|
906
|
+
groupBy<
|
|
907
|
+
T extends GitHubCachedRepoGroupByArgs,
|
|
908
|
+
HasSelectOrTake extends Prisma.Or<
|
|
909
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
910
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
911
|
+
>,
|
|
912
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
913
|
+
? { orderBy: GitHubCachedRepoGroupByArgs['orderBy'] }
|
|
914
|
+
: { orderBy?: GitHubCachedRepoGroupByArgs['orderBy'] },
|
|
915
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
916
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
917
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
918
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
919
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
920
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
921
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
922
|
+
? `Error: "by" must not be empty.`
|
|
923
|
+
: HavingValid extends Prisma.False
|
|
924
|
+
? {
|
|
925
|
+
[P in HavingFields]: P extends ByFields
|
|
926
|
+
? never
|
|
927
|
+
: P extends string
|
|
928
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
929
|
+
: [
|
|
930
|
+
Error,
|
|
931
|
+
'Field ',
|
|
932
|
+
P,
|
|
933
|
+
` in "having" needs to be provided in "by"`,
|
|
934
|
+
]
|
|
935
|
+
}[HavingFields]
|
|
936
|
+
: 'take' extends Prisma.Keys<T>
|
|
937
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
938
|
+
? ByValid extends Prisma.True
|
|
939
|
+
? {}
|
|
940
|
+
: {
|
|
941
|
+
[P in OrderFields]: P extends ByFields
|
|
942
|
+
? never
|
|
943
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
944
|
+
}[OrderFields]
|
|
945
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
946
|
+
: 'skip' extends Prisma.Keys<T>
|
|
947
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
948
|
+
? ByValid extends Prisma.True
|
|
949
|
+
? {}
|
|
950
|
+
: {
|
|
951
|
+
[P in OrderFields]: P extends ByFields
|
|
952
|
+
? never
|
|
953
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
954
|
+
}[OrderFields]
|
|
955
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
956
|
+
: ByValid extends Prisma.True
|
|
957
|
+
? {}
|
|
958
|
+
: {
|
|
959
|
+
[P in OrderFields]: P extends ByFields
|
|
960
|
+
? never
|
|
961
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
962
|
+
}[OrderFields]
|
|
963
|
+
>(args: Prisma.SubsetIntersection<T, GitHubCachedRepoGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetGitHubCachedRepoGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
964
|
+
/**
|
|
965
|
+
* Fields of the GitHubCachedRepo model
|
|
966
|
+
*/
|
|
967
|
+
readonly fields: GitHubCachedRepoFieldRefs;
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
/**
|
|
971
|
+
* The delegate class that acts as a "Promise-like" for GitHubCachedRepo.
|
|
972
|
+
* Why is this prefixed with `Prisma__`?
|
|
973
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
974
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
975
|
+
*/
|
|
976
|
+
export interface Prisma__GitHubCachedRepoClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
977
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
978
|
+
snapshot<T extends Prisma.GitHubRepoSnapshotDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.GitHubRepoSnapshotDefaultArgs<ExtArgs>>): Prisma.Prisma__GitHubRepoSnapshotClient<runtime.Types.Result.GetResult<Prisma.$GitHubRepoSnapshotPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
979
|
+
/**
|
|
980
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
981
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
982
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
983
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
984
|
+
*/
|
|
985
|
+
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>
|
|
986
|
+
/**
|
|
987
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
988
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
989
|
+
* @returns A Promise for the completion of the callback.
|
|
990
|
+
*/
|
|
991
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
992
|
+
/**
|
|
993
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
994
|
+
* resolved value cannot be modified from the callback.
|
|
995
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
996
|
+
* @returns A Promise for the completion of the callback.
|
|
997
|
+
*/
|
|
998
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
|
|
1002
|
+
|
|
1003
|
+
|
|
1004
|
+
/**
|
|
1005
|
+
* Fields of the GitHubCachedRepo model
|
|
1006
|
+
*/
|
|
1007
|
+
export interface GitHubCachedRepoFieldRefs {
|
|
1008
|
+
readonly id: Prisma.FieldRef<"GitHubCachedRepo", 'String'>
|
|
1009
|
+
readonly snapshotId: Prisma.FieldRef<"GitHubCachedRepo", 'String'>
|
|
1010
|
+
readonly githubId: Prisma.FieldRef<"GitHubCachedRepo", 'BigInt'>
|
|
1011
|
+
readonly fullName: Prisma.FieldRef<"GitHubCachedRepo", 'String'>
|
|
1012
|
+
readonly archived: Prisma.FieldRef<"GitHubCachedRepo", 'Boolean'>
|
|
1013
|
+
readonly seenAt: Prisma.FieldRef<"GitHubCachedRepo", 'DateTime'>
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
|
|
1017
|
+
// Custom InputTypes
|
|
1018
|
+
/**
|
|
1019
|
+
* GitHubCachedRepo findUnique
|
|
1020
|
+
*/
|
|
1021
|
+
export type GitHubCachedRepoFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1022
|
+
/**
|
|
1023
|
+
* Select specific fields to fetch from the GitHubCachedRepo
|
|
1024
|
+
*/
|
|
1025
|
+
select?: Prisma.GitHubCachedRepoSelect<ExtArgs> | null
|
|
1026
|
+
/**
|
|
1027
|
+
* Omit specific fields from the GitHubCachedRepo
|
|
1028
|
+
*/
|
|
1029
|
+
omit?: Prisma.GitHubCachedRepoOmit<ExtArgs> | null
|
|
1030
|
+
/**
|
|
1031
|
+
* Choose, which related nodes to fetch as well
|
|
1032
|
+
*/
|
|
1033
|
+
include?: Prisma.GitHubCachedRepoInclude<ExtArgs> | null
|
|
1034
|
+
/**
|
|
1035
|
+
* Filter, which GitHubCachedRepo to fetch.
|
|
1036
|
+
*/
|
|
1037
|
+
where: Prisma.GitHubCachedRepoWhereUniqueInput
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
/**
|
|
1041
|
+
* GitHubCachedRepo findUniqueOrThrow
|
|
1042
|
+
*/
|
|
1043
|
+
export type GitHubCachedRepoFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1044
|
+
/**
|
|
1045
|
+
* Select specific fields to fetch from the GitHubCachedRepo
|
|
1046
|
+
*/
|
|
1047
|
+
select?: Prisma.GitHubCachedRepoSelect<ExtArgs> | null
|
|
1048
|
+
/**
|
|
1049
|
+
* Omit specific fields from the GitHubCachedRepo
|
|
1050
|
+
*/
|
|
1051
|
+
omit?: Prisma.GitHubCachedRepoOmit<ExtArgs> | null
|
|
1052
|
+
/**
|
|
1053
|
+
* Choose, which related nodes to fetch as well
|
|
1054
|
+
*/
|
|
1055
|
+
include?: Prisma.GitHubCachedRepoInclude<ExtArgs> | null
|
|
1056
|
+
/**
|
|
1057
|
+
* Filter, which GitHubCachedRepo to fetch.
|
|
1058
|
+
*/
|
|
1059
|
+
where: Prisma.GitHubCachedRepoWhereUniqueInput
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
/**
|
|
1063
|
+
* GitHubCachedRepo findFirst
|
|
1064
|
+
*/
|
|
1065
|
+
export type GitHubCachedRepoFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1066
|
+
/**
|
|
1067
|
+
* Select specific fields to fetch from the GitHubCachedRepo
|
|
1068
|
+
*/
|
|
1069
|
+
select?: Prisma.GitHubCachedRepoSelect<ExtArgs> | null
|
|
1070
|
+
/**
|
|
1071
|
+
* Omit specific fields from the GitHubCachedRepo
|
|
1072
|
+
*/
|
|
1073
|
+
omit?: Prisma.GitHubCachedRepoOmit<ExtArgs> | null
|
|
1074
|
+
/**
|
|
1075
|
+
* Choose, which related nodes to fetch as well
|
|
1076
|
+
*/
|
|
1077
|
+
include?: Prisma.GitHubCachedRepoInclude<ExtArgs> | null
|
|
1078
|
+
/**
|
|
1079
|
+
* Filter, which GitHubCachedRepo to fetch.
|
|
1080
|
+
*/
|
|
1081
|
+
where?: Prisma.GitHubCachedRepoWhereInput
|
|
1082
|
+
/**
|
|
1083
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1084
|
+
*
|
|
1085
|
+
* Determine the order of GitHubCachedRepos to fetch.
|
|
1086
|
+
*/
|
|
1087
|
+
orderBy?: Prisma.GitHubCachedRepoOrderByWithRelationInput | Prisma.GitHubCachedRepoOrderByWithRelationInput[]
|
|
1088
|
+
/**
|
|
1089
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1090
|
+
*
|
|
1091
|
+
* Sets the position for searching for GitHubCachedRepos.
|
|
1092
|
+
*/
|
|
1093
|
+
cursor?: Prisma.GitHubCachedRepoWhereUniqueInput
|
|
1094
|
+
/**
|
|
1095
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1096
|
+
*
|
|
1097
|
+
* Take `±n` GitHubCachedRepos from the position of the cursor.
|
|
1098
|
+
*/
|
|
1099
|
+
take?: number
|
|
1100
|
+
/**
|
|
1101
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1102
|
+
*
|
|
1103
|
+
* Skip the first `n` GitHubCachedRepos.
|
|
1104
|
+
*/
|
|
1105
|
+
skip?: number
|
|
1106
|
+
/**
|
|
1107
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1108
|
+
*
|
|
1109
|
+
* Filter by unique combinations of GitHubCachedRepos.
|
|
1110
|
+
*/
|
|
1111
|
+
distinct?: Prisma.GitHubCachedRepoScalarFieldEnum | Prisma.GitHubCachedRepoScalarFieldEnum[]
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
/**
|
|
1115
|
+
* GitHubCachedRepo findFirstOrThrow
|
|
1116
|
+
*/
|
|
1117
|
+
export type GitHubCachedRepoFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1118
|
+
/**
|
|
1119
|
+
* Select specific fields to fetch from the GitHubCachedRepo
|
|
1120
|
+
*/
|
|
1121
|
+
select?: Prisma.GitHubCachedRepoSelect<ExtArgs> | null
|
|
1122
|
+
/**
|
|
1123
|
+
* Omit specific fields from the GitHubCachedRepo
|
|
1124
|
+
*/
|
|
1125
|
+
omit?: Prisma.GitHubCachedRepoOmit<ExtArgs> | null
|
|
1126
|
+
/**
|
|
1127
|
+
* Choose, which related nodes to fetch as well
|
|
1128
|
+
*/
|
|
1129
|
+
include?: Prisma.GitHubCachedRepoInclude<ExtArgs> | null
|
|
1130
|
+
/**
|
|
1131
|
+
* Filter, which GitHubCachedRepo to fetch.
|
|
1132
|
+
*/
|
|
1133
|
+
where?: Prisma.GitHubCachedRepoWhereInput
|
|
1134
|
+
/**
|
|
1135
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1136
|
+
*
|
|
1137
|
+
* Determine the order of GitHubCachedRepos to fetch.
|
|
1138
|
+
*/
|
|
1139
|
+
orderBy?: Prisma.GitHubCachedRepoOrderByWithRelationInput | Prisma.GitHubCachedRepoOrderByWithRelationInput[]
|
|
1140
|
+
/**
|
|
1141
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1142
|
+
*
|
|
1143
|
+
* Sets the position for searching for GitHubCachedRepos.
|
|
1144
|
+
*/
|
|
1145
|
+
cursor?: Prisma.GitHubCachedRepoWhereUniqueInput
|
|
1146
|
+
/**
|
|
1147
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1148
|
+
*
|
|
1149
|
+
* Take `±n` GitHubCachedRepos from the position of the cursor.
|
|
1150
|
+
*/
|
|
1151
|
+
take?: number
|
|
1152
|
+
/**
|
|
1153
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1154
|
+
*
|
|
1155
|
+
* Skip the first `n` GitHubCachedRepos.
|
|
1156
|
+
*/
|
|
1157
|
+
skip?: number
|
|
1158
|
+
/**
|
|
1159
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1160
|
+
*
|
|
1161
|
+
* Filter by unique combinations of GitHubCachedRepos.
|
|
1162
|
+
*/
|
|
1163
|
+
distinct?: Prisma.GitHubCachedRepoScalarFieldEnum | Prisma.GitHubCachedRepoScalarFieldEnum[]
|
|
1164
|
+
}
|
|
1165
|
+
|
|
1166
|
+
/**
|
|
1167
|
+
* GitHubCachedRepo findMany
|
|
1168
|
+
*/
|
|
1169
|
+
export type GitHubCachedRepoFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1170
|
+
/**
|
|
1171
|
+
* Select specific fields to fetch from the GitHubCachedRepo
|
|
1172
|
+
*/
|
|
1173
|
+
select?: Prisma.GitHubCachedRepoSelect<ExtArgs> | null
|
|
1174
|
+
/**
|
|
1175
|
+
* Omit specific fields from the GitHubCachedRepo
|
|
1176
|
+
*/
|
|
1177
|
+
omit?: Prisma.GitHubCachedRepoOmit<ExtArgs> | null
|
|
1178
|
+
/**
|
|
1179
|
+
* Choose, which related nodes to fetch as well
|
|
1180
|
+
*/
|
|
1181
|
+
include?: Prisma.GitHubCachedRepoInclude<ExtArgs> | null
|
|
1182
|
+
/**
|
|
1183
|
+
* Filter, which GitHubCachedRepos to fetch.
|
|
1184
|
+
*/
|
|
1185
|
+
where?: Prisma.GitHubCachedRepoWhereInput
|
|
1186
|
+
/**
|
|
1187
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1188
|
+
*
|
|
1189
|
+
* Determine the order of GitHubCachedRepos to fetch.
|
|
1190
|
+
*/
|
|
1191
|
+
orderBy?: Prisma.GitHubCachedRepoOrderByWithRelationInput | Prisma.GitHubCachedRepoOrderByWithRelationInput[]
|
|
1192
|
+
/**
|
|
1193
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1194
|
+
*
|
|
1195
|
+
* Sets the position for listing GitHubCachedRepos.
|
|
1196
|
+
*/
|
|
1197
|
+
cursor?: Prisma.GitHubCachedRepoWhereUniqueInput
|
|
1198
|
+
/**
|
|
1199
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1200
|
+
*
|
|
1201
|
+
* Take `±n` GitHubCachedRepos from the position of the cursor.
|
|
1202
|
+
*/
|
|
1203
|
+
take?: number
|
|
1204
|
+
/**
|
|
1205
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1206
|
+
*
|
|
1207
|
+
* Skip the first `n` GitHubCachedRepos.
|
|
1208
|
+
*/
|
|
1209
|
+
skip?: number
|
|
1210
|
+
/**
|
|
1211
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1212
|
+
*
|
|
1213
|
+
* Filter by unique combinations of GitHubCachedRepos.
|
|
1214
|
+
*/
|
|
1215
|
+
distinct?: Prisma.GitHubCachedRepoScalarFieldEnum | Prisma.GitHubCachedRepoScalarFieldEnum[]
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
/**
|
|
1219
|
+
* GitHubCachedRepo create
|
|
1220
|
+
*/
|
|
1221
|
+
export type GitHubCachedRepoCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1222
|
+
/**
|
|
1223
|
+
* Select specific fields to fetch from the GitHubCachedRepo
|
|
1224
|
+
*/
|
|
1225
|
+
select?: Prisma.GitHubCachedRepoSelect<ExtArgs> | null
|
|
1226
|
+
/**
|
|
1227
|
+
* Omit specific fields from the GitHubCachedRepo
|
|
1228
|
+
*/
|
|
1229
|
+
omit?: Prisma.GitHubCachedRepoOmit<ExtArgs> | null
|
|
1230
|
+
/**
|
|
1231
|
+
* Choose, which related nodes to fetch as well
|
|
1232
|
+
*/
|
|
1233
|
+
include?: Prisma.GitHubCachedRepoInclude<ExtArgs> | null
|
|
1234
|
+
/**
|
|
1235
|
+
* The data needed to create a GitHubCachedRepo.
|
|
1236
|
+
*/
|
|
1237
|
+
data: Prisma.XOR<Prisma.GitHubCachedRepoCreateInput, Prisma.GitHubCachedRepoUncheckedCreateInput>
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
/**
|
|
1241
|
+
* GitHubCachedRepo createMany
|
|
1242
|
+
*/
|
|
1243
|
+
export type GitHubCachedRepoCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1244
|
+
/**
|
|
1245
|
+
* The data used to create many GitHubCachedRepos.
|
|
1246
|
+
*/
|
|
1247
|
+
data: Prisma.GitHubCachedRepoCreateManyInput | Prisma.GitHubCachedRepoCreateManyInput[]
|
|
1248
|
+
skipDuplicates?: boolean
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
/**
|
|
1252
|
+
* GitHubCachedRepo createManyAndReturn
|
|
1253
|
+
*/
|
|
1254
|
+
export type GitHubCachedRepoCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1255
|
+
/**
|
|
1256
|
+
* Select specific fields to fetch from the GitHubCachedRepo
|
|
1257
|
+
*/
|
|
1258
|
+
select?: Prisma.GitHubCachedRepoSelectCreateManyAndReturn<ExtArgs> | null
|
|
1259
|
+
/**
|
|
1260
|
+
* Omit specific fields from the GitHubCachedRepo
|
|
1261
|
+
*/
|
|
1262
|
+
omit?: Prisma.GitHubCachedRepoOmit<ExtArgs> | null
|
|
1263
|
+
/**
|
|
1264
|
+
* The data used to create many GitHubCachedRepos.
|
|
1265
|
+
*/
|
|
1266
|
+
data: Prisma.GitHubCachedRepoCreateManyInput | Prisma.GitHubCachedRepoCreateManyInput[]
|
|
1267
|
+
skipDuplicates?: boolean
|
|
1268
|
+
/**
|
|
1269
|
+
* Choose, which related nodes to fetch as well
|
|
1270
|
+
*/
|
|
1271
|
+
include?: Prisma.GitHubCachedRepoIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
/**
|
|
1275
|
+
* GitHubCachedRepo update
|
|
1276
|
+
*/
|
|
1277
|
+
export type GitHubCachedRepoUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1278
|
+
/**
|
|
1279
|
+
* Select specific fields to fetch from the GitHubCachedRepo
|
|
1280
|
+
*/
|
|
1281
|
+
select?: Prisma.GitHubCachedRepoSelect<ExtArgs> | null
|
|
1282
|
+
/**
|
|
1283
|
+
* Omit specific fields from the GitHubCachedRepo
|
|
1284
|
+
*/
|
|
1285
|
+
omit?: Prisma.GitHubCachedRepoOmit<ExtArgs> | null
|
|
1286
|
+
/**
|
|
1287
|
+
* Choose, which related nodes to fetch as well
|
|
1288
|
+
*/
|
|
1289
|
+
include?: Prisma.GitHubCachedRepoInclude<ExtArgs> | null
|
|
1290
|
+
/**
|
|
1291
|
+
* The data needed to update a GitHubCachedRepo.
|
|
1292
|
+
*/
|
|
1293
|
+
data: Prisma.XOR<Prisma.GitHubCachedRepoUpdateInput, Prisma.GitHubCachedRepoUncheckedUpdateInput>
|
|
1294
|
+
/**
|
|
1295
|
+
* Choose, which GitHubCachedRepo to update.
|
|
1296
|
+
*/
|
|
1297
|
+
where: Prisma.GitHubCachedRepoWhereUniqueInput
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
/**
|
|
1301
|
+
* GitHubCachedRepo updateMany
|
|
1302
|
+
*/
|
|
1303
|
+
export type GitHubCachedRepoUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1304
|
+
/**
|
|
1305
|
+
* The data used to update GitHubCachedRepos.
|
|
1306
|
+
*/
|
|
1307
|
+
data: Prisma.XOR<Prisma.GitHubCachedRepoUpdateManyMutationInput, Prisma.GitHubCachedRepoUncheckedUpdateManyInput>
|
|
1308
|
+
/**
|
|
1309
|
+
* Filter which GitHubCachedRepos to update
|
|
1310
|
+
*/
|
|
1311
|
+
where?: Prisma.GitHubCachedRepoWhereInput
|
|
1312
|
+
/**
|
|
1313
|
+
* Limit how many GitHubCachedRepos to update.
|
|
1314
|
+
*/
|
|
1315
|
+
limit?: number
|
|
1316
|
+
}
|
|
1317
|
+
|
|
1318
|
+
/**
|
|
1319
|
+
* GitHubCachedRepo updateManyAndReturn
|
|
1320
|
+
*/
|
|
1321
|
+
export type GitHubCachedRepoUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1322
|
+
/**
|
|
1323
|
+
* Select specific fields to fetch from the GitHubCachedRepo
|
|
1324
|
+
*/
|
|
1325
|
+
select?: Prisma.GitHubCachedRepoSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1326
|
+
/**
|
|
1327
|
+
* Omit specific fields from the GitHubCachedRepo
|
|
1328
|
+
*/
|
|
1329
|
+
omit?: Prisma.GitHubCachedRepoOmit<ExtArgs> | null
|
|
1330
|
+
/**
|
|
1331
|
+
* The data used to update GitHubCachedRepos.
|
|
1332
|
+
*/
|
|
1333
|
+
data: Prisma.XOR<Prisma.GitHubCachedRepoUpdateManyMutationInput, Prisma.GitHubCachedRepoUncheckedUpdateManyInput>
|
|
1334
|
+
/**
|
|
1335
|
+
* Filter which GitHubCachedRepos to update
|
|
1336
|
+
*/
|
|
1337
|
+
where?: Prisma.GitHubCachedRepoWhereInput
|
|
1338
|
+
/**
|
|
1339
|
+
* Limit how many GitHubCachedRepos to update.
|
|
1340
|
+
*/
|
|
1341
|
+
limit?: number
|
|
1342
|
+
/**
|
|
1343
|
+
* Choose, which related nodes to fetch as well
|
|
1344
|
+
*/
|
|
1345
|
+
include?: Prisma.GitHubCachedRepoIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
/**
|
|
1349
|
+
* GitHubCachedRepo upsert
|
|
1350
|
+
*/
|
|
1351
|
+
export type GitHubCachedRepoUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1352
|
+
/**
|
|
1353
|
+
* Select specific fields to fetch from the GitHubCachedRepo
|
|
1354
|
+
*/
|
|
1355
|
+
select?: Prisma.GitHubCachedRepoSelect<ExtArgs> | null
|
|
1356
|
+
/**
|
|
1357
|
+
* Omit specific fields from the GitHubCachedRepo
|
|
1358
|
+
*/
|
|
1359
|
+
omit?: Prisma.GitHubCachedRepoOmit<ExtArgs> | null
|
|
1360
|
+
/**
|
|
1361
|
+
* Choose, which related nodes to fetch as well
|
|
1362
|
+
*/
|
|
1363
|
+
include?: Prisma.GitHubCachedRepoInclude<ExtArgs> | null
|
|
1364
|
+
/**
|
|
1365
|
+
* The filter to search for the GitHubCachedRepo to update in case it exists.
|
|
1366
|
+
*/
|
|
1367
|
+
where: Prisma.GitHubCachedRepoWhereUniqueInput
|
|
1368
|
+
/**
|
|
1369
|
+
* In case the GitHubCachedRepo found by the `where` argument doesn't exist, create a new GitHubCachedRepo with this data.
|
|
1370
|
+
*/
|
|
1371
|
+
create: Prisma.XOR<Prisma.GitHubCachedRepoCreateInput, Prisma.GitHubCachedRepoUncheckedCreateInput>
|
|
1372
|
+
/**
|
|
1373
|
+
* In case the GitHubCachedRepo was found with the provided `where` argument, update it with this data.
|
|
1374
|
+
*/
|
|
1375
|
+
update: Prisma.XOR<Prisma.GitHubCachedRepoUpdateInput, Prisma.GitHubCachedRepoUncheckedUpdateInput>
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
/**
|
|
1379
|
+
* GitHubCachedRepo delete
|
|
1380
|
+
*/
|
|
1381
|
+
export type GitHubCachedRepoDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1382
|
+
/**
|
|
1383
|
+
* Select specific fields to fetch from the GitHubCachedRepo
|
|
1384
|
+
*/
|
|
1385
|
+
select?: Prisma.GitHubCachedRepoSelect<ExtArgs> | null
|
|
1386
|
+
/**
|
|
1387
|
+
* Omit specific fields from the GitHubCachedRepo
|
|
1388
|
+
*/
|
|
1389
|
+
omit?: Prisma.GitHubCachedRepoOmit<ExtArgs> | null
|
|
1390
|
+
/**
|
|
1391
|
+
* Choose, which related nodes to fetch as well
|
|
1392
|
+
*/
|
|
1393
|
+
include?: Prisma.GitHubCachedRepoInclude<ExtArgs> | null
|
|
1394
|
+
/**
|
|
1395
|
+
* Filter which GitHubCachedRepo to delete.
|
|
1396
|
+
*/
|
|
1397
|
+
where: Prisma.GitHubCachedRepoWhereUniqueInput
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
/**
|
|
1401
|
+
* GitHubCachedRepo deleteMany
|
|
1402
|
+
*/
|
|
1403
|
+
export type GitHubCachedRepoDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1404
|
+
/**
|
|
1405
|
+
* Filter which GitHubCachedRepos to delete
|
|
1406
|
+
*/
|
|
1407
|
+
where?: Prisma.GitHubCachedRepoWhereInput
|
|
1408
|
+
/**
|
|
1409
|
+
* Limit how many GitHubCachedRepos to delete.
|
|
1410
|
+
*/
|
|
1411
|
+
limit?: number
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1414
|
+
/**
|
|
1415
|
+
* GitHubCachedRepo without action
|
|
1416
|
+
*/
|
|
1417
|
+
export type GitHubCachedRepoDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1418
|
+
/**
|
|
1419
|
+
* Select specific fields to fetch from the GitHubCachedRepo
|
|
1420
|
+
*/
|
|
1421
|
+
select?: Prisma.GitHubCachedRepoSelect<ExtArgs> | null
|
|
1422
|
+
/**
|
|
1423
|
+
* Omit specific fields from the GitHubCachedRepo
|
|
1424
|
+
*/
|
|
1425
|
+
omit?: Prisma.GitHubCachedRepoOmit<ExtArgs> | null
|
|
1426
|
+
/**
|
|
1427
|
+
* Choose, which related nodes to fetch as well
|
|
1428
|
+
*/
|
|
1429
|
+
include?: Prisma.GitHubCachedRepoInclude<ExtArgs> | null
|
|
1430
|
+
}
|