@allbluecn/database 0.9.0 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/desktop-init.ts +2 -2
  2. package/dist/get-prisma.js +1 -1
  3. package/dist/lib/share-utils.js +3 -3
  4. package/generated/browser.ts +115 -25
  5. package/generated/client.ts +115 -25
  6. package/generated/commonInputTypes.ts +34 -0
  7. package/generated/enums.ts +14 -0
  8. package/generated/internal/class.ts +234 -54
  9. package/generated/internal/prismaNamespace.ts +2190 -511
  10. package/generated/internal/prismaNamespaceBrowser.ts +391 -76
  11. package/generated/models/AgentConversation.ts +89 -89
  12. package/generated/models/AiProvider.ts +3 -3
  13. package/generated/models/AiStreamChunk.ts +3 -3
  14. package/generated/models/AnyHubMarketApp.ts +8 -8
  15. package/generated/models/AuditLog.ts +6 -6
  16. package/generated/models/BlockInstance.ts +17 -17
  17. package/generated/models/Bug.ts +5023 -0
  18. package/generated/models/BugActivity.ts +1765 -0
  19. package/generated/models/BugComment.ts +1853 -0
  20. package/generated/models/BugEvent.ts +1339 -0
  21. package/generated/models/BugFilterView.ts +1438 -0
  22. package/generated/models/BugFixRun.ts +1479 -0
  23. package/generated/models/BugLabel.ts +1349 -0
  24. package/generated/models/BugProjectSettings.ts +1403 -0
  25. package/generated/models/BugReproRun.ts +1582 -0
  26. package/generated/models/ChatPersistenceMeta.ts +3 -3
  27. package/generated/models/Comment.ts +99 -99
  28. package/generated/models/Component.ts +9 -9
  29. package/generated/models/ComponentInstance.ts +17 -17
  30. package/generated/models/CustomRole.ts +8 -8
  31. package/generated/models/Design.ts +2872 -0
  32. package/generated/models/DesignPage.ts +2402 -0
  33. package/generated/models/DesignTag.ts +1430 -0
  34. package/generated/models/DesignVersion.ts +2121 -0
  35. package/generated/models/DesktopSetting.ts +3 -3
  36. package/generated/models/Iteration.ts +148 -0
  37. package/generated/models/Label.ts +118 -0
  38. package/generated/models/LicenseKey.ts +16 -16
  39. package/generated/models/NotificationPreference.ts +5 -5
  40. package/generated/models/PageVersion.ts +49 -49
  41. package/generated/models/Plan.ts +5 -5
  42. package/generated/models/Project.ts +1970 -58
  43. package/generated/models/ProjectAccessToken.ts +1705 -0
  44. package/generated/models/ProjectWebhook.ts +1409 -0
  45. package/generated/models/Review.ts +118 -118
  46. package/generated/models/Share.ts +83 -83
  47. package/generated/models/ShareVersion.ts +15 -15
  48. package/generated/models/SsoProvider.ts +8 -8
  49. package/generated/models/Story.ts +973 -87
  50. package/generated/models/StoryDesignLink.ts +1430 -0
  51. package/generated/models/StoryFilterView.ts +12 -12
  52. package/generated/models/SystemPromptVersion.ts +6 -6
  53. package/generated/models/Tag.ts +49 -49
  54. package/generated/models/TestAutomationArtifact.ts +1790 -0
  55. package/generated/models/TestCase.ts +3568 -0
  56. package/generated/models/TestCaseFilterView.ts +1587 -0
  57. package/generated/models/TestCaseFolder.ts +1795 -0
  58. package/generated/models/TestExecRun.ts +1673 -0
  59. package/generated/models/TestGenerationRun.ts +1952 -0
  60. package/generated/models/TestPlan.ts +1950 -0
  61. package/generated/models/TestPlanCase.ts +1430 -0
  62. package/generated/models/TestRun.ts +1979 -0
  63. package/generated/models/TestRunCase.ts +2772 -0
  64. package/generated/models/ThirdPartyDependency.ts +19 -15
  65. package/generated/models/User.ts +12141 -2721
  66. package/generated/models.ts +26 -8
  67. package/generated-sqlite/browser.ts +8 -23
  68. package/generated-sqlite/client.ts +8 -23
  69. package/generated-sqlite/internal/class.ts +20 -50
  70. package/generated-sqlite/internal/prismaNamespace.ts +166 -437
  71. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +25 -71
  72. package/generated-sqlite/models/AgentConversation.ts +89 -89
  73. package/generated-sqlite/models/AiProvider.ts +3 -3
  74. package/generated-sqlite/models/AiStreamChunk.ts +3 -3
  75. package/generated-sqlite/models/AnyHubMarketApp.ts +8 -8
  76. package/generated-sqlite/models/BlockInstance.ts +17 -17
  77. package/generated-sqlite/models/ChatPersistenceMeta.ts +3 -3
  78. package/generated-sqlite/models/Comment.ts +99 -99
  79. package/generated-sqlite/models/Component.ts +9 -9
  80. package/generated-sqlite/models/ComponentInstance.ts +17 -17
  81. package/generated-sqlite/models/Design.ts +2679 -0
  82. package/generated-sqlite/models/DesignPage.ts +2398 -0
  83. package/generated-sqlite/models/DesignTag.ts +1426 -0
  84. package/generated-sqlite/models/DesignVersion.ts +2117 -0
  85. package/generated-sqlite/models/DesktopSetting.ts +3 -3
  86. package/generated-sqlite/models/KnowledgeBase.ts +240 -1
  87. package/generated-sqlite/models/NotificationPreference.ts +5 -5
  88. package/generated-sqlite/models/PageVersion.ts +49 -49
  89. package/generated-sqlite/models/Review.ts +118 -118
  90. package/generated-sqlite/models/Share.ts +83 -83
  91. package/generated-sqlite/models/ShareVersion.ts +15 -15
  92. package/generated-sqlite/models/SystemPromptVersion.ts +6 -6
  93. package/generated-sqlite/models/Tag.ts +49 -49
  94. package/generated-sqlite/models/User.ts +1201 -1321
  95. package/generated-sqlite/models/Workspace.ts +164 -0
  96. package/generated-sqlite/models.ts +4 -7
  97. package/index.ts +17 -3
  98. package/migrations/20260924084200_add_prd_kind_drop_design_sketch/migration.sql +24 -0
  99. package/migrations/20260924123118_drop_user_sketch_api_token/migration.sql +8 -0
  100. package/migrations/20260925011516_rename_prd_tables/migration.sql +189 -0
  101. package/migrations/20260925064226_rename_prd_columns/migration.sql +193 -0
  102. package/migrations/20260925080000_rename_prd_embeddings/migration.sql +43 -0
  103. package/migrations/20261002184838_bug_module_init/migration.sql +297 -0
  104. package/migrations/20261004234209_testcase_module_init/migration.sql +290 -0
  105. package/migrations/20261005090000_testcase_plan_cases/migration.sql +34 -0
  106. package/migrations/20261006151229_add_missing_fk_indexes_auth_billing/migration.sql +50 -0
  107. package/migrations/20261006152058_add_missing_fk_indexes_story_bug_test/migration.sql +59 -0
  108. package/migrations/20261006152153_add_missing_fk_indexes_design_misc/migration.sql +50 -0
  109. package/migrations/20261006184250_explicit_on_delete_core/migration.sql +33 -0
  110. package/migrations/20261006184604_explicit_on_delete_rest/migration.sql +117 -0
  111. package/migrations/20261006184932_json_column_defaults/migration.sql +74 -0
  112. package/migrations/20261006191724_revert_version_token_cascade/migration.sql +21 -0
  113. package/migrations/20261007025537_dependency_category_enum/migration.sql +22 -0
  114. package/package.json +4 -4
  115. package/schema.prisma +687 -177
  116. package/schema.sqlite.prisma +149 -151
  117. package/src/lib/share-utils.ts +2 -2
  118. package/generated/models/Artboard.ts +0 -1811
  119. package/generated/models/ArtboardExport.ts +0 -1548
  120. package/generated/models/DesignProject.ts +0 -1643
  121. package/generated/models/PRD.ts +0 -2805
  122. package/generated/models/PRDPage.ts +0 -2402
  123. package/generated/models/PRDTag.ts +0 -1430
  124. package/generated/models/PRDVersion.ts +0 -2121
  125. package/generated/models/StoryPrdLink.ts +0 -1430
  126. package/generated-sqlite/models/Artboard.ts +0 -1808
  127. package/generated-sqlite/models/ArtboardExport.ts +0 -1545
  128. package/generated-sqlite/models/DesignProject.ts +0 -1640
  129. package/generated-sqlite/models/PRD.ts +0 -2616
  130. package/generated-sqlite/models/PRDPage.ts +0 -2398
  131. package/generated-sqlite/models/PRDTag.ts +0 -1426
  132. package/generated-sqlite/models/PRDVersion.ts +0 -2117
@@ -0,0 +1,1479 @@
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 `BugFixRun` 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 BugFixRun
17
+ *
18
+ */
19
+ export type BugFixRunModel = runtime.Types.Result.DefaultSelection<Prisma.$BugFixRunPayload>
20
+
21
+ export type AggregateBugFixRun = {
22
+ _count: BugFixRunCountAggregateOutputType | null
23
+ _min: BugFixRunMinAggregateOutputType | null
24
+ _max: BugFixRunMaxAggregateOutputType | null
25
+ }
26
+
27
+ export type BugFixRunMinAggregateOutputType = {
28
+ id: string | null
29
+ bugId: string | null
30
+ status: string | null
31
+ triggerType: string | null
32
+ agentName: string | null
33
+ claimedAt: Date | null
34
+ completedAt: Date | null
35
+ createdAt: Date | null
36
+ }
37
+
38
+ export type BugFixRunMaxAggregateOutputType = {
39
+ id: string | null
40
+ bugId: string | null
41
+ status: string | null
42
+ triggerType: string | null
43
+ agentName: string | null
44
+ claimedAt: Date | null
45
+ completedAt: Date | null
46
+ createdAt: Date | null
47
+ }
48
+
49
+ export type BugFixRunCountAggregateOutputType = {
50
+ id: number
51
+ bugId: number
52
+ status: number
53
+ triggerType: number
54
+ agentName: number
55
+ claimedAt: number
56
+ completedAt: number
57
+ summary: number
58
+ createdAt: number
59
+ _all: number
60
+ }
61
+
62
+
63
+ export type BugFixRunMinAggregateInputType = {
64
+ id?: true
65
+ bugId?: true
66
+ status?: true
67
+ triggerType?: true
68
+ agentName?: true
69
+ claimedAt?: true
70
+ completedAt?: true
71
+ createdAt?: true
72
+ }
73
+
74
+ export type BugFixRunMaxAggregateInputType = {
75
+ id?: true
76
+ bugId?: true
77
+ status?: true
78
+ triggerType?: true
79
+ agentName?: true
80
+ claimedAt?: true
81
+ completedAt?: true
82
+ createdAt?: true
83
+ }
84
+
85
+ export type BugFixRunCountAggregateInputType = {
86
+ id?: true
87
+ bugId?: true
88
+ status?: true
89
+ triggerType?: true
90
+ agentName?: true
91
+ claimedAt?: true
92
+ completedAt?: true
93
+ summary?: true
94
+ createdAt?: true
95
+ _all?: true
96
+ }
97
+
98
+ export type BugFixRunAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
99
+ /**
100
+ * Filter which BugFixRun to aggregate.
101
+ */
102
+ where?: Prisma.BugFixRunWhereInput
103
+ /**
104
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
105
+ *
106
+ * Determine the order of BugFixRuns to fetch.
107
+ */
108
+ orderBy?: Prisma.BugFixRunOrderByWithRelationInput | Prisma.BugFixRunOrderByWithRelationInput[]
109
+ /**
110
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
111
+ *
112
+ * Sets the start position
113
+ */
114
+ cursor?: Prisma.BugFixRunWhereUniqueInput
115
+ /**
116
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
117
+ *
118
+ * Take `±n` BugFixRuns from the position of the cursor.
119
+ */
120
+ take?: number
121
+ /**
122
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
123
+ *
124
+ * Skip the first `n` BugFixRuns.
125
+ */
126
+ skip?: number
127
+ /**
128
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
129
+ *
130
+ * Count returned BugFixRuns
131
+ **/
132
+ _count?: true | BugFixRunCountAggregateInputType
133
+ /**
134
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
135
+ *
136
+ * Select which fields to find the minimum value
137
+ **/
138
+ _min?: BugFixRunMinAggregateInputType
139
+ /**
140
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
141
+ *
142
+ * Select which fields to find the maximum value
143
+ **/
144
+ _max?: BugFixRunMaxAggregateInputType
145
+ }
146
+
147
+ export type GetBugFixRunAggregateType<T extends BugFixRunAggregateArgs> = {
148
+ [P in keyof T & keyof AggregateBugFixRun]: P extends '_count' | 'count'
149
+ ? T[P] extends true
150
+ ? number
151
+ : Prisma.GetScalarType<T[P], AggregateBugFixRun[P]>
152
+ : Prisma.GetScalarType<T[P], AggregateBugFixRun[P]>
153
+ }
154
+
155
+
156
+
157
+
158
+ export type BugFixRunGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
159
+ where?: Prisma.BugFixRunWhereInput
160
+ orderBy?: Prisma.BugFixRunOrderByWithAggregationInput | Prisma.BugFixRunOrderByWithAggregationInput[]
161
+ by: Prisma.BugFixRunScalarFieldEnum[] | Prisma.BugFixRunScalarFieldEnum
162
+ having?: Prisma.BugFixRunScalarWhereWithAggregatesInput
163
+ take?: number
164
+ skip?: number
165
+ _count?: BugFixRunCountAggregateInputType | true
166
+ _min?: BugFixRunMinAggregateInputType
167
+ _max?: BugFixRunMaxAggregateInputType
168
+ }
169
+
170
+ export type BugFixRunGroupByOutputType = {
171
+ id: string
172
+ bugId: string
173
+ status: string
174
+ triggerType: string
175
+ agentName: string | null
176
+ claimedAt: Date | null
177
+ completedAt: Date | null
178
+ summary: runtime.JsonValue | null
179
+ createdAt: Date
180
+ _count: BugFixRunCountAggregateOutputType | null
181
+ _min: BugFixRunMinAggregateOutputType | null
182
+ _max: BugFixRunMaxAggregateOutputType | null
183
+ }
184
+
185
+ export type GetBugFixRunGroupByPayload<T extends BugFixRunGroupByArgs> = Prisma.PrismaPromise<
186
+ Array<
187
+ Prisma.PickEnumerable<BugFixRunGroupByOutputType, T['by']> &
188
+ {
189
+ [P in ((keyof T) & (keyof BugFixRunGroupByOutputType))]: P extends '_count'
190
+ ? T[P] extends boolean
191
+ ? number
192
+ : Prisma.GetScalarType<T[P], BugFixRunGroupByOutputType[P]>
193
+ : Prisma.GetScalarType<T[P], BugFixRunGroupByOutputType[P]>
194
+ }
195
+ >
196
+ >
197
+
198
+
199
+
200
+ export type BugFixRunWhereInput = {
201
+ AND?: Prisma.BugFixRunWhereInput | Prisma.BugFixRunWhereInput[]
202
+ OR?: Prisma.BugFixRunWhereInput[]
203
+ NOT?: Prisma.BugFixRunWhereInput | Prisma.BugFixRunWhereInput[]
204
+ id?: Prisma.StringFilter<"BugFixRun"> | string
205
+ bugId?: Prisma.StringFilter<"BugFixRun"> | string
206
+ status?: Prisma.StringFilter<"BugFixRun"> | string
207
+ triggerType?: Prisma.StringFilter<"BugFixRun"> | string
208
+ agentName?: Prisma.StringNullableFilter<"BugFixRun"> | string | null
209
+ claimedAt?: Prisma.DateTimeNullableFilter<"BugFixRun"> | Date | string | null
210
+ completedAt?: Prisma.DateTimeNullableFilter<"BugFixRun"> | Date | string | null
211
+ summary?: Prisma.JsonNullableFilter<"BugFixRun">
212
+ createdAt?: Prisma.DateTimeFilter<"BugFixRun"> | Date | string
213
+ bug?: Prisma.XOR<Prisma.BugScalarRelationFilter, Prisma.BugWhereInput>
214
+ }
215
+
216
+ export type BugFixRunOrderByWithRelationInput = {
217
+ id?: Prisma.SortOrder
218
+ bugId?: Prisma.SortOrder
219
+ status?: Prisma.SortOrder
220
+ triggerType?: Prisma.SortOrder
221
+ agentName?: Prisma.SortOrderInput | Prisma.SortOrder
222
+ claimedAt?: Prisma.SortOrderInput | Prisma.SortOrder
223
+ completedAt?: Prisma.SortOrderInput | Prisma.SortOrder
224
+ summary?: Prisma.SortOrderInput | Prisma.SortOrder
225
+ createdAt?: Prisma.SortOrder
226
+ bug?: Prisma.BugOrderByWithRelationInput
227
+ }
228
+
229
+ export type BugFixRunWhereUniqueInput = Prisma.AtLeast<{
230
+ id?: string
231
+ AND?: Prisma.BugFixRunWhereInput | Prisma.BugFixRunWhereInput[]
232
+ OR?: Prisma.BugFixRunWhereInput[]
233
+ NOT?: Prisma.BugFixRunWhereInput | Prisma.BugFixRunWhereInput[]
234
+ bugId?: Prisma.StringFilter<"BugFixRun"> | string
235
+ status?: Prisma.StringFilter<"BugFixRun"> | string
236
+ triggerType?: Prisma.StringFilter<"BugFixRun"> | string
237
+ agentName?: Prisma.StringNullableFilter<"BugFixRun"> | string | null
238
+ claimedAt?: Prisma.DateTimeNullableFilter<"BugFixRun"> | Date | string | null
239
+ completedAt?: Prisma.DateTimeNullableFilter<"BugFixRun"> | Date | string | null
240
+ summary?: Prisma.JsonNullableFilter<"BugFixRun">
241
+ createdAt?: Prisma.DateTimeFilter<"BugFixRun"> | Date | string
242
+ bug?: Prisma.XOR<Prisma.BugScalarRelationFilter, Prisma.BugWhereInput>
243
+ }, "id">
244
+
245
+ export type BugFixRunOrderByWithAggregationInput = {
246
+ id?: Prisma.SortOrder
247
+ bugId?: Prisma.SortOrder
248
+ status?: Prisma.SortOrder
249
+ triggerType?: Prisma.SortOrder
250
+ agentName?: Prisma.SortOrderInput | Prisma.SortOrder
251
+ claimedAt?: Prisma.SortOrderInput | Prisma.SortOrder
252
+ completedAt?: Prisma.SortOrderInput | Prisma.SortOrder
253
+ summary?: Prisma.SortOrderInput | Prisma.SortOrder
254
+ createdAt?: Prisma.SortOrder
255
+ _count?: Prisma.BugFixRunCountOrderByAggregateInput
256
+ _max?: Prisma.BugFixRunMaxOrderByAggregateInput
257
+ _min?: Prisma.BugFixRunMinOrderByAggregateInput
258
+ }
259
+
260
+ export type BugFixRunScalarWhereWithAggregatesInput = {
261
+ AND?: Prisma.BugFixRunScalarWhereWithAggregatesInput | Prisma.BugFixRunScalarWhereWithAggregatesInput[]
262
+ OR?: Prisma.BugFixRunScalarWhereWithAggregatesInput[]
263
+ NOT?: Prisma.BugFixRunScalarWhereWithAggregatesInput | Prisma.BugFixRunScalarWhereWithAggregatesInput[]
264
+ id?: Prisma.StringWithAggregatesFilter<"BugFixRun"> | string
265
+ bugId?: Prisma.StringWithAggregatesFilter<"BugFixRun"> | string
266
+ status?: Prisma.StringWithAggregatesFilter<"BugFixRun"> | string
267
+ triggerType?: Prisma.StringWithAggregatesFilter<"BugFixRun"> | string
268
+ agentName?: Prisma.StringNullableWithAggregatesFilter<"BugFixRun"> | string | null
269
+ claimedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"BugFixRun"> | Date | string | null
270
+ completedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"BugFixRun"> | Date | string | null
271
+ summary?: Prisma.JsonNullableWithAggregatesFilter<"BugFixRun">
272
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"BugFixRun"> | Date | string
273
+ }
274
+
275
+ export type BugFixRunCreateInput = {
276
+ id?: string
277
+ status?: string
278
+ triggerType: string
279
+ agentName?: string | null
280
+ claimedAt?: Date | string | null
281
+ completedAt?: Date | string | null
282
+ summary?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
283
+ createdAt?: Date | string
284
+ bug: Prisma.BugCreateNestedOneWithoutFixRunsInput
285
+ }
286
+
287
+ export type BugFixRunUncheckedCreateInput = {
288
+ id?: string
289
+ bugId: string
290
+ status?: string
291
+ triggerType: string
292
+ agentName?: string | null
293
+ claimedAt?: Date | string | null
294
+ completedAt?: Date | string | null
295
+ summary?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
296
+ createdAt?: Date | string
297
+ }
298
+
299
+ export type BugFixRunUpdateInput = {
300
+ id?: Prisma.StringFieldUpdateOperationsInput | string
301
+ status?: Prisma.StringFieldUpdateOperationsInput | string
302
+ triggerType?: Prisma.StringFieldUpdateOperationsInput | string
303
+ agentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
304
+ claimedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
305
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
306
+ summary?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
307
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
308
+ bug?: Prisma.BugUpdateOneRequiredWithoutFixRunsNestedInput
309
+ }
310
+
311
+ export type BugFixRunUncheckedUpdateInput = {
312
+ id?: Prisma.StringFieldUpdateOperationsInput | string
313
+ bugId?: Prisma.StringFieldUpdateOperationsInput | string
314
+ status?: Prisma.StringFieldUpdateOperationsInput | string
315
+ triggerType?: Prisma.StringFieldUpdateOperationsInput | string
316
+ agentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
317
+ claimedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
318
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
319
+ summary?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
320
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
321
+ }
322
+
323
+ export type BugFixRunCreateManyInput = {
324
+ id?: string
325
+ bugId: string
326
+ status?: string
327
+ triggerType: string
328
+ agentName?: string | null
329
+ claimedAt?: Date | string | null
330
+ completedAt?: Date | string | null
331
+ summary?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
332
+ createdAt?: Date | string
333
+ }
334
+
335
+ export type BugFixRunUpdateManyMutationInput = {
336
+ id?: Prisma.StringFieldUpdateOperationsInput | string
337
+ status?: Prisma.StringFieldUpdateOperationsInput | string
338
+ triggerType?: Prisma.StringFieldUpdateOperationsInput | string
339
+ agentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
340
+ claimedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
341
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
342
+ summary?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
343
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
344
+ }
345
+
346
+ export type BugFixRunUncheckedUpdateManyInput = {
347
+ id?: Prisma.StringFieldUpdateOperationsInput | string
348
+ bugId?: Prisma.StringFieldUpdateOperationsInput | string
349
+ status?: Prisma.StringFieldUpdateOperationsInput | string
350
+ triggerType?: Prisma.StringFieldUpdateOperationsInput | string
351
+ agentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
352
+ claimedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
353
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
354
+ summary?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
355
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
356
+ }
357
+
358
+ export type BugFixRunListRelationFilter = {
359
+ every?: Prisma.BugFixRunWhereInput
360
+ some?: Prisma.BugFixRunWhereInput
361
+ none?: Prisma.BugFixRunWhereInput
362
+ }
363
+
364
+ export type BugFixRunOrderByRelationAggregateInput = {
365
+ _count?: Prisma.SortOrder
366
+ }
367
+
368
+ export type BugFixRunCountOrderByAggregateInput = {
369
+ id?: Prisma.SortOrder
370
+ bugId?: Prisma.SortOrder
371
+ status?: Prisma.SortOrder
372
+ triggerType?: Prisma.SortOrder
373
+ agentName?: Prisma.SortOrder
374
+ claimedAt?: Prisma.SortOrder
375
+ completedAt?: Prisma.SortOrder
376
+ summary?: Prisma.SortOrder
377
+ createdAt?: Prisma.SortOrder
378
+ }
379
+
380
+ export type BugFixRunMaxOrderByAggregateInput = {
381
+ id?: Prisma.SortOrder
382
+ bugId?: Prisma.SortOrder
383
+ status?: Prisma.SortOrder
384
+ triggerType?: Prisma.SortOrder
385
+ agentName?: Prisma.SortOrder
386
+ claimedAt?: Prisma.SortOrder
387
+ completedAt?: Prisma.SortOrder
388
+ createdAt?: Prisma.SortOrder
389
+ }
390
+
391
+ export type BugFixRunMinOrderByAggregateInput = {
392
+ id?: Prisma.SortOrder
393
+ bugId?: Prisma.SortOrder
394
+ status?: Prisma.SortOrder
395
+ triggerType?: Prisma.SortOrder
396
+ agentName?: Prisma.SortOrder
397
+ claimedAt?: Prisma.SortOrder
398
+ completedAt?: Prisma.SortOrder
399
+ createdAt?: Prisma.SortOrder
400
+ }
401
+
402
+ export type BugFixRunCreateNestedManyWithoutBugInput = {
403
+ create?: Prisma.XOR<Prisma.BugFixRunCreateWithoutBugInput, Prisma.BugFixRunUncheckedCreateWithoutBugInput> | Prisma.BugFixRunCreateWithoutBugInput[] | Prisma.BugFixRunUncheckedCreateWithoutBugInput[]
404
+ connectOrCreate?: Prisma.BugFixRunCreateOrConnectWithoutBugInput | Prisma.BugFixRunCreateOrConnectWithoutBugInput[]
405
+ createMany?: Prisma.BugFixRunCreateManyBugInputEnvelope
406
+ connect?: Prisma.BugFixRunWhereUniqueInput | Prisma.BugFixRunWhereUniqueInput[]
407
+ }
408
+
409
+ export type BugFixRunUncheckedCreateNestedManyWithoutBugInput = {
410
+ create?: Prisma.XOR<Prisma.BugFixRunCreateWithoutBugInput, Prisma.BugFixRunUncheckedCreateWithoutBugInput> | Prisma.BugFixRunCreateWithoutBugInput[] | Prisma.BugFixRunUncheckedCreateWithoutBugInput[]
411
+ connectOrCreate?: Prisma.BugFixRunCreateOrConnectWithoutBugInput | Prisma.BugFixRunCreateOrConnectWithoutBugInput[]
412
+ createMany?: Prisma.BugFixRunCreateManyBugInputEnvelope
413
+ connect?: Prisma.BugFixRunWhereUniqueInput | Prisma.BugFixRunWhereUniqueInput[]
414
+ }
415
+
416
+ export type BugFixRunUpdateManyWithoutBugNestedInput = {
417
+ create?: Prisma.XOR<Prisma.BugFixRunCreateWithoutBugInput, Prisma.BugFixRunUncheckedCreateWithoutBugInput> | Prisma.BugFixRunCreateWithoutBugInput[] | Prisma.BugFixRunUncheckedCreateWithoutBugInput[]
418
+ connectOrCreate?: Prisma.BugFixRunCreateOrConnectWithoutBugInput | Prisma.BugFixRunCreateOrConnectWithoutBugInput[]
419
+ upsert?: Prisma.BugFixRunUpsertWithWhereUniqueWithoutBugInput | Prisma.BugFixRunUpsertWithWhereUniqueWithoutBugInput[]
420
+ createMany?: Prisma.BugFixRunCreateManyBugInputEnvelope
421
+ set?: Prisma.BugFixRunWhereUniqueInput | Prisma.BugFixRunWhereUniqueInput[]
422
+ disconnect?: Prisma.BugFixRunWhereUniqueInput | Prisma.BugFixRunWhereUniqueInput[]
423
+ delete?: Prisma.BugFixRunWhereUniqueInput | Prisma.BugFixRunWhereUniqueInput[]
424
+ connect?: Prisma.BugFixRunWhereUniqueInput | Prisma.BugFixRunWhereUniqueInput[]
425
+ update?: Prisma.BugFixRunUpdateWithWhereUniqueWithoutBugInput | Prisma.BugFixRunUpdateWithWhereUniqueWithoutBugInput[]
426
+ updateMany?: Prisma.BugFixRunUpdateManyWithWhereWithoutBugInput | Prisma.BugFixRunUpdateManyWithWhereWithoutBugInput[]
427
+ deleteMany?: Prisma.BugFixRunScalarWhereInput | Prisma.BugFixRunScalarWhereInput[]
428
+ }
429
+
430
+ export type BugFixRunUncheckedUpdateManyWithoutBugNestedInput = {
431
+ create?: Prisma.XOR<Prisma.BugFixRunCreateWithoutBugInput, Prisma.BugFixRunUncheckedCreateWithoutBugInput> | Prisma.BugFixRunCreateWithoutBugInput[] | Prisma.BugFixRunUncheckedCreateWithoutBugInput[]
432
+ connectOrCreate?: Prisma.BugFixRunCreateOrConnectWithoutBugInput | Prisma.BugFixRunCreateOrConnectWithoutBugInput[]
433
+ upsert?: Prisma.BugFixRunUpsertWithWhereUniqueWithoutBugInput | Prisma.BugFixRunUpsertWithWhereUniqueWithoutBugInput[]
434
+ createMany?: Prisma.BugFixRunCreateManyBugInputEnvelope
435
+ set?: Prisma.BugFixRunWhereUniqueInput | Prisma.BugFixRunWhereUniqueInput[]
436
+ disconnect?: Prisma.BugFixRunWhereUniqueInput | Prisma.BugFixRunWhereUniqueInput[]
437
+ delete?: Prisma.BugFixRunWhereUniqueInput | Prisma.BugFixRunWhereUniqueInput[]
438
+ connect?: Prisma.BugFixRunWhereUniqueInput | Prisma.BugFixRunWhereUniqueInput[]
439
+ update?: Prisma.BugFixRunUpdateWithWhereUniqueWithoutBugInput | Prisma.BugFixRunUpdateWithWhereUniqueWithoutBugInput[]
440
+ updateMany?: Prisma.BugFixRunUpdateManyWithWhereWithoutBugInput | Prisma.BugFixRunUpdateManyWithWhereWithoutBugInput[]
441
+ deleteMany?: Prisma.BugFixRunScalarWhereInput | Prisma.BugFixRunScalarWhereInput[]
442
+ }
443
+
444
+ export type BugFixRunCreateWithoutBugInput = {
445
+ id?: string
446
+ status?: string
447
+ triggerType: string
448
+ agentName?: string | null
449
+ claimedAt?: Date | string | null
450
+ completedAt?: Date | string | null
451
+ summary?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
452
+ createdAt?: Date | string
453
+ }
454
+
455
+ export type BugFixRunUncheckedCreateWithoutBugInput = {
456
+ id?: string
457
+ status?: string
458
+ triggerType: string
459
+ agentName?: string | null
460
+ claimedAt?: Date | string | null
461
+ completedAt?: Date | string | null
462
+ summary?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
463
+ createdAt?: Date | string
464
+ }
465
+
466
+ export type BugFixRunCreateOrConnectWithoutBugInput = {
467
+ where: Prisma.BugFixRunWhereUniqueInput
468
+ create: Prisma.XOR<Prisma.BugFixRunCreateWithoutBugInput, Prisma.BugFixRunUncheckedCreateWithoutBugInput>
469
+ }
470
+
471
+ export type BugFixRunCreateManyBugInputEnvelope = {
472
+ data: Prisma.BugFixRunCreateManyBugInput | Prisma.BugFixRunCreateManyBugInput[]
473
+ skipDuplicates?: boolean
474
+ }
475
+
476
+ export type BugFixRunUpsertWithWhereUniqueWithoutBugInput = {
477
+ where: Prisma.BugFixRunWhereUniqueInput
478
+ update: Prisma.XOR<Prisma.BugFixRunUpdateWithoutBugInput, Prisma.BugFixRunUncheckedUpdateWithoutBugInput>
479
+ create: Prisma.XOR<Prisma.BugFixRunCreateWithoutBugInput, Prisma.BugFixRunUncheckedCreateWithoutBugInput>
480
+ }
481
+
482
+ export type BugFixRunUpdateWithWhereUniqueWithoutBugInput = {
483
+ where: Prisma.BugFixRunWhereUniqueInput
484
+ data: Prisma.XOR<Prisma.BugFixRunUpdateWithoutBugInput, Prisma.BugFixRunUncheckedUpdateWithoutBugInput>
485
+ }
486
+
487
+ export type BugFixRunUpdateManyWithWhereWithoutBugInput = {
488
+ where: Prisma.BugFixRunScalarWhereInput
489
+ data: Prisma.XOR<Prisma.BugFixRunUpdateManyMutationInput, Prisma.BugFixRunUncheckedUpdateManyWithoutBugInput>
490
+ }
491
+
492
+ export type BugFixRunScalarWhereInput = {
493
+ AND?: Prisma.BugFixRunScalarWhereInput | Prisma.BugFixRunScalarWhereInput[]
494
+ OR?: Prisma.BugFixRunScalarWhereInput[]
495
+ NOT?: Prisma.BugFixRunScalarWhereInput | Prisma.BugFixRunScalarWhereInput[]
496
+ id?: Prisma.StringFilter<"BugFixRun"> | string
497
+ bugId?: Prisma.StringFilter<"BugFixRun"> | string
498
+ status?: Prisma.StringFilter<"BugFixRun"> | string
499
+ triggerType?: Prisma.StringFilter<"BugFixRun"> | string
500
+ agentName?: Prisma.StringNullableFilter<"BugFixRun"> | string | null
501
+ claimedAt?: Prisma.DateTimeNullableFilter<"BugFixRun"> | Date | string | null
502
+ completedAt?: Prisma.DateTimeNullableFilter<"BugFixRun"> | Date | string | null
503
+ summary?: Prisma.JsonNullableFilter<"BugFixRun">
504
+ createdAt?: Prisma.DateTimeFilter<"BugFixRun"> | Date | string
505
+ }
506
+
507
+ export type BugFixRunCreateManyBugInput = {
508
+ id?: string
509
+ status?: string
510
+ triggerType: string
511
+ agentName?: string | null
512
+ claimedAt?: Date | string | null
513
+ completedAt?: Date | string | null
514
+ summary?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
515
+ createdAt?: Date | string
516
+ }
517
+
518
+ export type BugFixRunUpdateWithoutBugInput = {
519
+ id?: Prisma.StringFieldUpdateOperationsInput | string
520
+ status?: Prisma.StringFieldUpdateOperationsInput | string
521
+ triggerType?: Prisma.StringFieldUpdateOperationsInput | string
522
+ agentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
523
+ claimedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
524
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
525
+ summary?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
526
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
527
+ }
528
+
529
+ export type BugFixRunUncheckedUpdateWithoutBugInput = {
530
+ id?: Prisma.StringFieldUpdateOperationsInput | string
531
+ status?: Prisma.StringFieldUpdateOperationsInput | string
532
+ triggerType?: Prisma.StringFieldUpdateOperationsInput | string
533
+ agentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
534
+ claimedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
535
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
536
+ summary?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
537
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
538
+ }
539
+
540
+ export type BugFixRunUncheckedUpdateManyWithoutBugInput = {
541
+ id?: Prisma.StringFieldUpdateOperationsInput | string
542
+ status?: Prisma.StringFieldUpdateOperationsInput | string
543
+ triggerType?: Prisma.StringFieldUpdateOperationsInput | string
544
+ agentName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
545
+ claimedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
546
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
547
+ summary?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
548
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
549
+ }
550
+
551
+
552
+
553
+ export type BugFixRunSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
554
+ id?: boolean
555
+ bugId?: boolean
556
+ status?: boolean
557
+ triggerType?: boolean
558
+ agentName?: boolean
559
+ claimedAt?: boolean
560
+ completedAt?: boolean
561
+ summary?: boolean
562
+ createdAt?: boolean
563
+ bug?: boolean | Prisma.BugDefaultArgs<ExtArgs>
564
+ }, ExtArgs["result"]["bugFixRun"]>
565
+
566
+ export type BugFixRunSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
567
+ id?: boolean
568
+ bugId?: boolean
569
+ status?: boolean
570
+ triggerType?: boolean
571
+ agentName?: boolean
572
+ claimedAt?: boolean
573
+ completedAt?: boolean
574
+ summary?: boolean
575
+ createdAt?: boolean
576
+ bug?: boolean | Prisma.BugDefaultArgs<ExtArgs>
577
+ }, ExtArgs["result"]["bugFixRun"]>
578
+
579
+ export type BugFixRunSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
580
+ id?: boolean
581
+ bugId?: boolean
582
+ status?: boolean
583
+ triggerType?: boolean
584
+ agentName?: boolean
585
+ claimedAt?: boolean
586
+ completedAt?: boolean
587
+ summary?: boolean
588
+ createdAt?: boolean
589
+ bug?: boolean | Prisma.BugDefaultArgs<ExtArgs>
590
+ }, ExtArgs["result"]["bugFixRun"]>
591
+
592
+ export type BugFixRunSelectScalar = {
593
+ id?: boolean
594
+ bugId?: boolean
595
+ status?: boolean
596
+ triggerType?: boolean
597
+ agentName?: boolean
598
+ claimedAt?: boolean
599
+ completedAt?: boolean
600
+ summary?: boolean
601
+ createdAt?: boolean
602
+ }
603
+
604
+ export type BugFixRunOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "bugId" | "status" | "triggerType" | "agentName" | "claimedAt" | "completedAt" | "summary" | "createdAt", ExtArgs["result"]["bugFixRun"]>
605
+ export type BugFixRunInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
606
+ bug?: boolean | Prisma.BugDefaultArgs<ExtArgs>
607
+ }
608
+ export type BugFixRunIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
609
+ bug?: boolean | Prisma.BugDefaultArgs<ExtArgs>
610
+ }
611
+ export type BugFixRunIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
612
+ bug?: boolean | Prisma.BugDefaultArgs<ExtArgs>
613
+ }
614
+
615
+ export type $BugFixRunPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
616
+ name: "BugFixRun"
617
+ objects: {
618
+ bug: Prisma.$BugPayload<ExtArgs>
619
+ }
620
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
621
+ id: string
622
+ bugId: string
623
+ status: string
624
+ triggerType: string
625
+ agentName: string | null
626
+ claimedAt: Date | null
627
+ completedAt: Date | null
628
+ summary: runtime.JsonValue | null
629
+ createdAt: Date
630
+ }, ExtArgs["result"]["bugFixRun"]>
631
+ composites: {}
632
+ }
633
+
634
+ export type BugFixRunGetPayload<S extends boolean | null | undefined | BugFixRunDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$BugFixRunPayload, S>
635
+
636
+ export type BugFixRunCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
637
+ Omit<BugFixRunFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
638
+ select?: BugFixRunCountAggregateInputType | true
639
+ }
640
+
641
+ export interface BugFixRunDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
642
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['BugFixRun'], meta: { name: 'BugFixRun' } }
643
+ /**
644
+ * Find zero or one BugFixRun that matches the filter.
645
+ * @param {BugFixRunFindUniqueArgs} args - Arguments to find a BugFixRun
646
+ * @example
647
+ * // Get one BugFixRun
648
+ * const bugFixRun = await prisma.bugFixRun.findUnique({
649
+ * where: {
650
+ * // ... provide filter here
651
+ * }
652
+ * })
653
+ */
654
+ findUnique<T extends BugFixRunFindUniqueArgs>(args: Prisma.SelectSubset<T, BugFixRunFindUniqueArgs<ExtArgs>>): Prisma.Prisma__BugFixRunClient<runtime.Types.Result.GetResult<Prisma.$BugFixRunPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
655
+
656
+ /**
657
+ * Find one BugFixRun that matches the filter or throw an error with `error.code='P2025'`
658
+ * if no matches were found.
659
+ * @param {BugFixRunFindUniqueOrThrowArgs} args - Arguments to find a BugFixRun
660
+ * @example
661
+ * // Get one BugFixRun
662
+ * const bugFixRun = await prisma.bugFixRun.findUniqueOrThrow({
663
+ * where: {
664
+ * // ... provide filter here
665
+ * }
666
+ * })
667
+ */
668
+ findUniqueOrThrow<T extends BugFixRunFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, BugFixRunFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__BugFixRunClient<runtime.Types.Result.GetResult<Prisma.$BugFixRunPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
669
+
670
+ /**
671
+ * Find the first BugFixRun that matches the filter.
672
+ * Note, that providing `undefined` is treated as the value not being there.
673
+ * Read more here: https://pris.ly/d/null-undefined
674
+ * @param {BugFixRunFindFirstArgs} args - Arguments to find a BugFixRun
675
+ * @example
676
+ * // Get one BugFixRun
677
+ * const bugFixRun = await prisma.bugFixRun.findFirst({
678
+ * where: {
679
+ * // ... provide filter here
680
+ * }
681
+ * })
682
+ */
683
+ findFirst<T extends BugFixRunFindFirstArgs>(args?: Prisma.SelectSubset<T, BugFixRunFindFirstArgs<ExtArgs>>): Prisma.Prisma__BugFixRunClient<runtime.Types.Result.GetResult<Prisma.$BugFixRunPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
684
+
685
+ /**
686
+ * Find the first BugFixRun that matches the filter or
687
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
688
+ * Note, that providing `undefined` is treated as the value not being there.
689
+ * Read more here: https://pris.ly/d/null-undefined
690
+ * @param {BugFixRunFindFirstOrThrowArgs} args - Arguments to find a BugFixRun
691
+ * @example
692
+ * // Get one BugFixRun
693
+ * const bugFixRun = await prisma.bugFixRun.findFirstOrThrow({
694
+ * where: {
695
+ * // ... provide filter here
696
+ * }
697
+ * })
698
+ */
699
+ findFirstOrThrow<T extends BugFixRunFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, BugFixRunFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__BugFixRunClient<runtime.Types.Result.GetResult<Prisma.$BugFixRunPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
700
+
701
+ /**
702
+ * Find zero or more BugFixRuns that matches the filter.
703
+ * Note, that providing `undefined` is treated as the value not being there.
704
+ * Read more here: https://pris.ly/d/null-undefined
705
+ * @param {BugFixRunFindManyArgs} args - Arguments to filter and select certain fields only.
706
+ * @example
707
+ * // Get all BugFixRuns
708
+ * const bugFixRuns = await prisma.bugFixRun.findMany()
709
+ *
710
+ * // Get first 10 BugFixRuns
711
+ * const bugFixRuns = await prisma.bugFixRun.findMany({ take: 10 })
712
+ *
713
+ * // Only select the `id`
714
+ * const bugFixRunWithIdOnly = await prisma.bugFixRun.findMany({ select: { id: true } })
715
+ *
716
+ */
717
+ findMany<T extends BugFixRunFindManyArgs>(args?: Prisma.SelectSubset<T, BugFixRunFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BugFixRunPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
718
+
719
+ /**
720
+ * Create a BugFixRun.
721
+ * @param {BugFixRunCreateArgs} args - Arguments to create a BugFixRun.
722
+ * @example
723
+ * // Create one BugFixRun
724
+ * const BugFixRun = await prisma.bugFixRun.create({
725
+ * data: {
726
+ * // ... data to create a BugFixRun
727
+ * }
728
+ * })
729
+ *
730
+ */
731
+ create<T extends BugFixRunCreateArgs>(args: Prisma.SelectSubset<T, BugFixRunCreateArgs<ExtArgs>>): Prisma.Prisma__BugFixRunClient<runtime.Types.Result.GetResult<Prisma.$BugFixRunPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
732
+
733
+ /**
734
+ * Create many BugFixRuns.
735
+ * @param {BugFixRunCreateManyArgs} args - Arguments to create many BugFixRuns.
736
+ * @example
737
+ * // Create many BugFixRuns
738
+ * const bugFixRun = await prisma.bugFixRun.createMany({
739
+ * data: [
740
+ * // ... provide data here
741
+ * ]
742
+ * })
743
+ *
744
+ */
745
+ createMany<T extends BugFixRunCreateManyArgs>(args?: Prisma.SelectSubset<T, BugFixRunCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
746
+
747
+ /**
748
+ * Create many BugFixRuns and returns the data saved in the database.
749
+ * @param {BugFixRunCreateManyAndReturnArgs} args - Arguments to create many BugFixRuns.
750
+ * @example
751
+ * // Create many BugFixRuns
752
+ * const bugFixRun = await prisma.bugFixRun.createManyAndReturn({
753
+ * data: [
754
+ * // ... provide data here
755
+ * ]
756
+ * })
757
+ *
758
+ * // Create many BugFixRuns and only return the `id`
759
+ * const bugFixRunWithIdOnly = await prisma.bugFixRun.createManyAndReturn({
760
+ * select: { id: true },
761
+ * data: [
762
+ * // ... provide data here
763
+ * ]
764
+ * })
765
+ * Note, that providing `undefined` is treated as the value not being there.
766
+ * Read more here: https://pris.ly/d/null-undefined
767
+ *
768
+ */
769
+ createManyAndReturn<T extends BugFixRunCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, BugFixRunCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BugFixRunPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
770
+
771
+ /**
772
+ * Delete a BugFixRun.
773
+ * @param {BugFixRunDeleteArgs} args - Arguments to delete one BugFixRun.
774
+ * @example
775
+ * // Delete one BugFixRun
776
+ * const BugFixRun = await prisma.bugFixRun.delete({
777
+ * where: {
778
+ * // ... filter to delete one BugFixRun
779
+ * }
780
+ * })
781
+ *
782
+ */
783
+ delete<T extends BugFixRunDeleteArgs>(args: Prisma.SelectSubset<T, BugFixRunDeleteArgs<ExtArgs>>): Prisma.Prisma__BugFixRunClient<runtime.Types.Result.GetResult<Prisma.$BugFixRunPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
784
+
785
+ /**
786
+ * Update one BugFixRun.
787
+ * @param {BugFixRunUpdateArgs} args - Arguments to update one BugFixRun.
788
+ * @example
789
+ * // Update one BugFixRun
790
+ * const bugFixRun = await prisma.bugFixRun.update({
791
+ * where: {
792
+ * // ... provide filter here
793
+ * },
794
+ * data: {
795
+ * // ... provide data here
796
+ * }
797
+ * })
798
+ *
799
+ */
800
+ update<T extends BugFixRunUpdateArgs>(args: Prisma.SelectSubset<T, BugFixRunUpdateArgs<ExtArgs>>): Prisma.Prisma__BugFixRunClient<runtime.Types.Result.GetResult<Prisma.$BugFixRunPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
801
+
802
+ /**
803
+ * Delete zero or more BugFixRuns.
804
+ * @param {BugFixRunDeleteManyArgs} args - Arguments to filter BugFixRuns to delete.
805
+ * @example
806
+ * // Delete a few BugFixRuns
807
+ * const { count } = await prisma.bugFixRun.deleteMany({
808
+ * where: {
809
+ * // ... provide filter here
810
+ * }
811
+ * })
812
+ *
813
+ */
814
+ deleteMany<T extends BugFixRunDeleteManyArgs>(args?: Prisma.SelectSubset<T, BugFixRunDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
815
+
816
+ /**
817
+ * Update zero or more BugFixRuns.
818
+ * Note, that providing `undefined` is treated as the value not being there.
819
+ * Read more here: https://pris.ly/d/null-undefined
820
+ * @param {BugFixRunUpdateManyArgs} args - Arguments to update one or more rows.
821
+ * @example
822
+ * // Update many BugFixRuns
823
+ * const bugFixRun = await prisma.bugFixRun.updateMany({
824
+ * where: {
825
+ * // ... provide filter here
826
+ * },
827
+ * data: {
828
+ * // ... provide data here
829
+ * }
830
+ * })
831
+ *
832
+ */
833
+ updateMany<T extends BugFixRunUpdateManyArgs>(args: Prisma.SelectSubset<T, BugFixRunUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
834
+
835
+ /**
836
+ * Update zero or more BugFixRuns and returns the data updated in the database.
837
+ * @param {BugFixRunUpdateManyAndReturnArgs} args - Arguments to update many BugFixRuns.
838
+ * @example
839
+ * // Update many BugFixRuns
840
+ * const bugFixRun = await prisma.bugFixRun.updateManyAndReturn({
841
+ * where: {
842
+ * // ... provide filter here
843
+ * },
844
+ * data: [
845
+ * // ... provide data here
846
+ * ]
847
+ * })
848
+ *
849
+ * // Update zero or more BugFixRuns and only return the `id`
850
+ * const bugFixRunWithIdOnly = await prisma.bugFixRun.updateManyAndReturn({
851
+ * select: { id: true },
852
+ * where: {
853
+ * // ... provide filter here
854
+ * },
855
+ * data: [
856
+ * // ... provide data here
857
+ * ]
858
+ * })
859
+ * Note, that providing `undefined` is treated as the value not being there.
860
+ * Read more here: https://pris.ly/d/null-undefined
861
+ *
862
+ */
863
+ updateManyAndReturn<T extends BugFixRunUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, BugFixRunUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BugFixRunPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
864
+
865
+ /**
866
+ * Create or update one BugFixRun.
867
+ * @param {BugFixRunUpsertArgs} args - Arguments to update or create a BugFixRun.
868
+ * @example
869
+ * // Update or create a BugFixRun
870
+ * const bugFixRun = await prisma.bugFixRun.upsert({
871
+ * create: {
872
+ * // ... data to create a BugFixRun
873
+ * },
874
+ * update: {
875
+ * // ... in case it already exists, update
876
+ * },
877
+ * where: {
878
+ * // ... the filter for the BugFixRun we want to update
879
+ * }
880
+ * })
881
+ */
882
+ upsert<T extends BugFixRunUpsertArgs>(args: Prisma.SelectSubset<T, BugFixRunUpsertArgs<ExtArgs>>): Prisma.Prisma__BugFixRunClient<runtime.Types.Result.GetResult<Prisma.$BugFixRunPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
883
+
884
+
885
+ /**
886
+ * Count the number of BugFixRuns.
887
+ * Note, that providing `undefined` is treated as the value not being there.
888
+ * Read more here: https://pris.ly/d/null-undefined
889
+ * @param {BugFixRunCountArgs} args - Arguments to filter BugFixRuns to count.
890
+ * @example
891
+ * // Count the number of BugFixRuns
892
+ * const count = await prisma.bugFixRun.count({
893
+ * where: {
894
+ * // ... the filter for the BugFixRuns we want to count
895
+ * }
896
+ * })
897
+ **/
898
+ count<T extends BugFixRunCountArgs>(
899
+ args?: Prisma.Subset<T, BugFixRunCountArgs>,
900
+ ): Prisma.PrismaPromise<
901
+ T extends runtime.Types.Utils.Record<'select', any>
902
+ ? T['select'] extends true
903
+ ? number
904
+ : Prisma.GetScalarType<T['select'], BugFixRunCountAggregateOutputType>
905
+ : number
906
+ >
907
+
908
+ /**
909
+ * Allows you to perform aggregations operations on a BugFixRun.
910
+ * Note, that providing `undefined` is treated as the value not being there.
911
+ * Read more here: https://pris.ly/d/null-undefined
912
+ * @param {BugFixRunAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
913
+ * @example
914
+ * // Ordered by age ascending
915
+ * // Where email contains prisma.io
916
+ * // Limited to the 10 users
917
+ * const aggregations = await prisma.user.aggregate({
918
+ * _avg: {
919
+ * age: true,
920
+ * },
921
+ * where: {
922
+ * email: {
923
+ * contains: "prisma.io",
924
+ * },
925
+ * },
926
+ * orderBy: {
927
+ * age: "asc",
928
+ * },
929
+ * take: 10,
930
+ * })
931
+ **/
932
+ aggregate<T extends BugFixRunAggregateArgs>(args: Prisma.Subset<T, BugFixRunAggregateArgs>): Prisma.PrismaPromise<GetBugFixRunAggregateType<T>>
933
+
934
+ /**
935
+ * Group by BugFixRun.
936
+ * Note, that providing `undefined` is treated as the value not being there.
937
+ * Read more here: https://pris.ly/d/null-undefined
938
+ * @param {BugFixRunGroupByArgs} args - Group by arguments.
939
+ * @example
940
+ * // Group by city, order by createdAt, get count
941
+ * const result = await prisma.user.groupBy({
942
+ * by: ['city', 'createdAt'],
943
+ * orderBy: {
944
+ * createdAt: true
945
+ * },
946
+ * _count: {
947
+ * _all: true
948
+ * },
949
+ * })
950
+ *
951
+ **/
952
+ groupBy<
953
+ T extends BugFixRunGroupByArgs,
954
+ HasSelectOrTake extends Prisma.Or<
955
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
956
+ Prisma.Extends<'take', Prisma.Keys<T>>
957
+ >,
958
+ OrderByArg extends Prisma.True extends HasSelectOrTake
959
+ ? { orderBy: BugFixRunGroupByArgs['orderBy'] }
960
+ : { orderBy?: BugFixRunGroupByArgs['orderBy'] },
961
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
962
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
963
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
964
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
965
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
966
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
967
+ InputErrors extends ByEmpty extends Prisma.True
968
+ ? `Error: "by" must not be empty.`
969
+ : HavingValid extends Prisma.False
970
+ ? {
971
+ [P in HavingFields]: P extends ByFields
972
+ ? never
973
+ : P extends string
974
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
975
+ : [
976
+ Error,
977
+ 'Field ',
978
+ P,
979
+ ` in "having" needs to be provided in "by"`,
980
+ ]
981
+ }[HavingFields]
982
+ : 'take' extends Prisma.Keys<T>
983
+ ? 'orderBy' extends Prisma.Keys<T>
984
+ ? ByValid extends Prisma.True
985
+ ? {}
986
+ : {
987
+ [P in OrderFields]: P extends ByFields
988
+ ? never
989
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
990
+ }[OrderFields]
991
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
992
+ : 'skip' extends Prisma.Keys<T>
993
+ ? 'orderBy' extends Prisma.Keys<T>
994
+ ? ByValid extends Prisma.True
995
+ ? {}
996
+ : {
997
+ [P in OrderFields]: P extends ByFields
998
+ ? never
999
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1000
+ }[OrderFields]
1001
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1002
+ : ByValid extends Prisma.True
1003
+ ? {}
1004
+ : {
1005
+ [P in OrderFields]: P extends ByFields
1006
+ ? never
1007
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1008
+ }[OrderFields]
1009
+ >(args: Prisma.SubsetIntersection<T, BugFixRunGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetBugFixRunGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1010
+ /**
1011
+ * Fields of the BugFixRun model
1012
+ */
1013
+ readonly fields: BugFixRunFieldRefs;
1014
+ }
1015
+
1016
+ /**
1017
+ * The delegate class that acts as a "Promise-like" for BugFixRun.
1018
+ * Why is this prefixed with `Prisma__`?
1019
+ * Because we want to prevent naming conflicts as mentioned in
1020
+ * https://github.com/prisma/prisma-client-js/issues/707
1021
+ */
1022
+ export interface Prisma__BugFixRunClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1023
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1024
+ bug<T extends Prisma.BugDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BugDefaultArgs<ExtArgs>>): Prisma.Prisma__BugClient<runtime.Types.Result.GetResult<Prisma.$BugPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1025
+ /**
1026
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1027
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1028
+ * @param onrejected The callback to execute when the Promise is rejected.
1029
+ * @returns A Promise for the completion of which ever callback is executed.
1030
+ */
1031
+ 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>
1032
+ /**
1033
+ * Attaches a callback for only the rejection of the Promise.
1034
+ * @param onrejected The callback to execute when the Promise is rejected.
1035
+ * @returns A Promise for the completion of the callback.
1036
+ */
1037
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1038
+ /**
1039
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1040
+ * resolved value cannot be modified from the callback.
1041
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1042
+ * @returns A Promise for the completion of the callback.
1043
+ */
1044
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1045
+ }
1046
+
1047
+
1048
+
1049
+
1050
+ /**
1051
+ * Fields of the BugFixRun model
1052
+ */
1053
+ export interface BugFixRunFieldRefs {
1054
+ readonly id: Prisma.FieldRef<"BugFixRun", 'String'>
1055
+ readonly bugId: Prisma.FieldRef<"BugFixRun", 'String'>
1056
+ readonly status: Prisma.FieldRef<"BugFixRun", 'String'>
1057
+ readonly triggerType: Prisma.FieldRef<"BugFixRun", 'String'>
1058
+ readonly agentName: Prisma.FieldRef<"BugFixRun", 'String'>
1059
+ readonly claimedAt: Prisma.FieldRef<"BugFixRun", 'DateTime'>
1060
+ readonly completedAt: Prisma.FieldRef<"BugFixRun", 'DateTime'>
1061
+ readonly summary: Prisma.FieldRef<"BugFixRun", 'Json'>
1062
+ readonly createdAt: Prisma.FieldRef<"BugFixRun", 'DateTime'>
1063
+ }
1064
+
1065
+
1066
+ // Custom InputTypes
1067
+ /**
1068
+ * BugFixRun findUnique
1069
+ */
1070
+ export type BugFixRunFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1071
+ /**
1072
+ * Select specific fields to fetch from the BugFixRun
1073
+ */
1074
+ select?: Prisma.BugFixRunSelect<ExtArgs> | null
1075
+ /**
1076
+ * Omit specific fields from the BugFixRun
1077
+ */
1078
+ omit?: Prisma.BugFixRunOmit<ExtArgs> | null
1079
+ /**
1080
+ * Choose, which related nodes to fetch as well
1081
+ */
1082
+ include?: Prisma.BugFixRunInclude<ExtArgs> | null
1083
+ /**
1084
+ * Filter, which BugFixRun to fetch.
1085
+ */
1086
+ where: Prisma.BugFixRunWhereUniqueInput
1087
+ }
1088
+
1089
+ /**
1090
+ * BugFixRun findUniqueOrThrow
1091
+ */
1092
+ export type BugFixRunFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1093
+ /**
1094
+ * Select specific fields to fetch from the BugFixRun
1095
+ */
1096
+ select?: Prisma.BugFixRunSelect<ExtArgs> | null
1097
+ /**
1098
+ * Omit specific fields from the BugFixRun
1099
+ */
1100
+ omit?: Prisma.BugFixRunOmit<ExtArgs> | null
1101
+ /**
1102
+ * Choose, which related nodes to fetch as well
1103
+ */
1104
+ include?: Prisma.BugFixRunInclude<ExtArgs> | null
1105
+ /**
1106
+ * Filter, which BugFixRun to fetch.
1107
+ */
1108
+ where: Prisma.BugFixRunWhereUniqueInput
1109
+ }
1110
+
1111
+ /**
1112
+ * BugFixRun findFirst
1113
+ */
1114
+ export type BugFixRunFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1115
+ /**
1116
+ * Select specific fields to fetch from the BugFixRun
1117
+ */
1118
+ select?: Prisma.BugFixRunSelect<ExtArgs> | null
1119
+ /**
1120
+ * Omit specific fields from the BugFixRun
1121
+ */
1122
+ omit?: Prisma.BugFixRunOmit<ExtArgs> | null
1123
+ /**
1124
+ * Choose, which related nodes to fetch as well
1125
+ */
1126
+ include?: Prisma.BugFixRunInclude<ExtArgs> | null
1127
+ /**
1128
+ * Filter, which BugFixRun to fetch.
1129
+ */
1130
+ where?: Prisma.BugFixRunWhereInput
1131
+ /**
1132
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1133
+ *
1134
+ * Determine the order of BugFixRuns to fetch.
1135
+ */
1136
+ orderBy?: Prisma.BugFixRunOrderByWithRelationInput | Prisma.BugFixRunOrderByWithRelationInput[]
1137
+ /**
1138
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1139
+ *
1140
+ * Sets the position for searching for BugFixRuns.
1141
+ */
1142
+ cursor?: Prisma.BugFixRunWhereUniqueInput
1143
+ /**
1144
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1145
+ *
1146
+ * Take `±n` BugFixRuns from the position of the cursor.
1147
+ */
1148
+ take?: number
1149
+ /**
1150
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1151
+ *
1152
+ * Skip the first `n` BugFixRuns.
1153
+ */
1154
+ skip?: number
1155
+ /**
1156
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1157
+ *
1158
+ * Filter by unique combinations of BugFixRuns.
1159
+ */
1160
+ distinct?: Prisma.BugFixRunScalarFieldEnum | Prisma.BugFixRunScalarFieldEnum[]
1161
+ }
1162
+
1163
+ /**
1164
+ * BugFixRun findFirstOrThrow
1165
+ */
1166
+ export type BugFixRunFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1167
+ /**
1168
+ * Select specific fields to fetch from the BugFixRun
1169
+ */
1170
+ select?: Prisma.BugFixRunSelect<ExtArgs> | null
1171
+ /**
1172
+ * Omit specific fields from the BugFixRun
1173
+ */
1174
+ omit?: Prisma.BugFixRunOmit<ExtArgs> | null
1175
+ /**
1176
+ * Choose, which related nodes to fetch as well
1177
+ */
1178
+ include?: Prisma.BugFixRunInclude<ExtArgs> | null
1179
+ /**
1180
+ * Filter, which BugFixRun to fetch.
1181
+ */
1182
+ where?: Prisma.BugFixRunWhereInput
1183
+ /**
1184
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1185
+ *
1186
+ * Determine the order of BugFixRuns to fetch.
1187
+ */
1188
+ orderBy?: Prisma.BugFixRunOrderByWithRelationInput | Prisma.BugFixRunOrderByWithRelationInput[]
1189
+ /**
1190
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1191
+ *
1192
+ * Sets the position for searching for BugFixRuns.
1193
+ */
1194
+ cursor?: Prisma.BugFixRunWhereUniqueInput
1195
+ /**
1196
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1197
+ *
1198
+ * Take `±n` BugFixRuns from the position of the cursor.
1199
+ */
1200
+ take?: number
1201
+ /**
1202
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1203
+ *
1204
+ * Skip the first `n` BugFixRuns.
1205
+ */
1206
+ skip?: number
1207
+ /**
1208
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1209
+ *
1210
+ * Filter by unique combinations of BugFixRuns.
1211
+ */
1212
+ distinct?: Prisma.BugFixRunScalarFieldEnum | Prisma.BugFixRunScalarFieldEnum[]
1213
+ }
1214
+
1215
+ /**
1216
+ * BugFixRun findMany
1217
+ */
1218
+ export type BugFixRunFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1219
+ /**
1220
+ * Select specific fields to fetch from the BugFixRun
1221
+ */
1222
+ select?: Prisma.BugFixRunSelect<ExtArgs> | null
1223
+ /**
1224
+ * Omit specific fields from the BugFixRun
1225
+ */
1226
+ omit?: Prisma.BugFixRunOmit<ExtArgs> | null
1227
+ /**
1228
+ * Choose, which related nodes to fetch as well
1229
+ */
1230
+ include?: Prisma.BugFixRunInclude<ExtArgs> | null
1231
+ /**
1232
+ * Filter, which BugFixRuns to fetch.
1233
+ */
1234
+ where?: Prisma.BugFixRunWhereInput
1235
+ /**
1236
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1237
+ *
1238
+ * Determine the order of BugFixRuns to fetch.
1239
+ */
1240
+ orderBy?: Prisma.BugFixRunOrderByWithRelationInput | Prisma.BugFixRunOrderByWithRelationInput[]
1241
+ /**
1242
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1243
+ *
1244
+ * Sets the position for listing BugFixRuns.
1245
+ */
1246
+ cursor?: Prisma.BugFixRunWhereUniqueInput
1247
+ /**
1248
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1249
+ *
1250
+ * Take `±n` BugFixRuns from the position of the cursor.
1251
+ */
1252
+ take?: number
1253
+ /**
1254
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1255
+ *
1256
+ * Skip the first `n` BugFixRuns.
1257
+ */
1258
+ skip?: number
1259
+ /**
1260
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1261
+ *
1262
+ * Filter by unique combinations of BugFixRuns.
1263
+ */
1264
+ distinct?: Prisma.BugFixRunScalarFieldEnum | Prisma.BugFixRunScalarFieldEnum[]
1265
+ }
1266
+
1267
+ /**
1268
+ * BugFixRun create
1269
+ */
1270
+ export type BugFixRunCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1271
+ /**
1272
+ * Select specific fields to fetch from the BugFixRun
1273
+ */
1274
+ select?: Prisma.BugFixRunSelect<ExtArgs> | null
1275
+ /**
1276
+ * Omit specific fields from the BugFixRun
1277
+ */
1278
+ omit?: Prisma.BugFixRunOmit<ExtArgs> | null
1279
+ /**
1280
+ * Choose, which related nodes to fetch as well
1281
+ */
1282
+ include?: Prisma.BugFixRunInclude<ExtArgs> | null
1283
+ /**
1284
+ * The data needed to create a BugFixRun.
1285
+ */
1286
+ data: Prisma.XOR<Prisma.BugFixRunCreateInput, Prisma.BugFixRunUncheckedCreateInput>
1287
+ }
1288
+
1289
+ /**
1290
+ * BugFixRun createMany
1291
+ */
1292
+ export type BugFixRunCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1293
+ /**
1294
+ * The data used to create many BugFixRuns.
1295
+ */
1296
+ data: Prisma.BugFixRunCreateManyInput | Prisma.BugFixRunCreateManyInput[]
1297
+ skipDuplicates?: boolean
1298
+ }
1299
+
1300
+ /**
1301
+ * BugFixRun createManyAndReturn
1302
+ */
1303
+ export type BugFixRunCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1304
+ /**
1305
+ * Select specific fields to fetch from the BugFixRun
1306
+ */
1307
+ select?: Prisma.BugFixRunSelectCreateManyAndReturn<ExtArgs> | null
1308
+ /**
1309
+ * Omit specific fields from the BugFixRun
1310
+ */
1311
+ omit?: Prisma.BugFixRunOmit<ExtArgs> | null
1312
+ /**
1313
+ * The data used to create many BugFixRuns.
1314
+ */
1315
+ data: Prisma.BugFixRunCreateManyInput | Prisma.BugFixRunCreateManyInput[]
1316
+ skipDuplicates?: boolean
1317
+ /**
1318
+ * Choose, which related nodes to fetch as well
1319
+ */
1320
+ include?: Prisma.BugFixRunIncludeCreateManyAndReturn<ExtArgs> | null
1321
+ }
1322
+
1323
+ /**
1324
+ * BugFixRun update
1325
+ */
1326
+ export type BugFixRunUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1327
+ /**
1328
+ * Select specific fields to fetch from the BugFixRun
1329
+ */
1330
+ select?: Prisma.BugFixRunSelect<ExtArgs> | null
1331
+ /**
1332
+ * Omit specific fields from the BugFixRun
1333
+ */
1334
+ omit?: Prisma.BugFixRunOmit<ExtArgs> | null
1335
+ /**
1336
+ * Choose, which related nodes to fetch as well
1337
+ */
1338
+ include?: Prisma.BugFixRunInclude<ExtArgs> | null
1339
+ /**
1340
+ * The data needed to update a BugFixRun.
1341
+ */
1342
+ data: Prisma.XOR<Prisma.BugFixRunUpdateInput, Prisma.BugFixRunUncheckedUpdateInput>
1343
+ /**
1344
+ * Choose, which BugFixRun to update.
1345
+ */
1346
+ where: Prisma.BugFixRunWhereUniqueInput
1347
+ }
1348
+
1349
+ /**
1350
+ * BugFixRun updateMany
1351
+ */
1352
+ export type BugFixRunUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1353
+ /**
1354
+ * The data used to update BugFixRuns.
1355
+ */
1356
+ data: Prisma.XOR<Prisma.BugFixRunUpdateManyMutationInput, Prisma.BugFixRunUncheckedUpdateManyInput>
1357
+ /**
1358
+ * Filter which BugFixRuns to update
1359
+ */
1360
+ where?: Prisma.BugFixRunWhereInput
1361
+ /**
1362
+ * Limit how many BugFixRuns to update.
1363
+ */
1364
+ limit?: number
1365
+ }
1366
+
1367
+ /**
1368
+ * BugFixRun updateManyAndReturn
1369
+ */
1370
+ export type BugFixRunUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1371
+ /**
1372
+ * Select specific fields to fetch from the BugFixRun
1373
+ */
1374
+ select?: Prisma.BugFixRunSelectUpdateManyAndReturn<ExtArgs> | null
1375
+ /**
1376
+ * Omit specific fields from the BugFixRun
1377
+ */
1378
+ omit?: Prisma.BugFixRunOmit<ExtArgs> | null
1379
+ /**
1380
+ * The data used to update BugFixRuns.
1381
+ */
1382
+ data: Prisma.XOR<Prisma.BugFixRunUpdateManyMutationInput, Prisma.BugFixRunUncheckedUpdateManyInput>
1383
+ /**
1384
+ * Filter which BugFixRuns to update
1385
+ */
1386
+ where?: Prisma.BugFixRunWhereInput
1387
+ /**
1388
+ * Limit how many BugFixRuns to update.
1389
+ */
1390
+ limit?: number
1391
+ /**
1392
+ * Choose, which related nodes to fetch as well
1393
+ */
1394
+ include?: Prisma.BugFixRunIncludeUpdateManyAndReturn<ExtArgs> | null
1395
+ }
1396
+
1397
+ /**
1398
+ * BugFixRun upsert
1399
+ */
1400
+ export type BugFixRunUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1401
+ /**
1402
+ * Select specific fields to fetch from the BugFixRun
1403
+ */
1404
+ select?: Prisma.BugFixRunSelect<ExtArgs> | null
1405
+ /**
1406
+ * Omit specific fields from the BugFixRun
1407
+ */
1408
+ omit?: Prisma.BugFixRunOmit<ExtArgs> | null
1409
+ /**
1410
+ * Choose, which related nodes to fetch as well
1411
+ */
1412
+ include?: Prisma.BugFixRunInclude<ExtArgs> | null
1413
+ /**
1414
+ * The filter to search for the BugFixRun to update in case it exists.
1415
+ */
1416
+ where: Prisma.BugFixRunWhereUniqueInput
1417
+ /**
1418
+ * In case the BugFixRun found by the `where` argument doesn't exist, create a new BugFixRun with this data.
1419
+ */
1420
+ create: Prisma.XOR<Prisma.BugFixRunCreateInput, Prisma.BugFixRunUncheckedCreateInput>
1421
+ /**
1422
+ * In case the BugFixRun was found with the provided `where` argument, update it with this data.
1423
+ */
1424
+ update: Prisma.XOR<Prisma.BugFixRunUpdateInput, Prisma.BugFixRunUncheckedUpdateInput>
1425
+ }
1426
+
1427
+ /**
1428
+ * BugFixRun delete
1429
+ */
1430
+ export type BugFixRunDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1431
+ /**
1432
+ * Select specific fields to fetch from the BugFixRun
1433
+ */
1434
+ select?: Prisma.BugFixRunSelect<ExtArgs> | null
1435
+ /**
1436
+ * Omit specific fields from the BugFixRun
1437
+ */
1438
+ omit?: Prisma.BugFixRunOmit<ExtArgs> | null
1439
+ /**
1440
+ * Choose, which related nodes to fetch as well
1441
+ */
1442
+ include?: Prisma.BugFixRunInclude<ExtArgs> | null
1443
+ /**
1444
+ * Filter which BugFixRun to delete.
1445
+ */
1446
+ where: Prisma.BugFixRunWhereUniqueInput
1447
+ }
1448
+
1449
+ /**
1450
+ * BugFixRun deleteMany
1451
+ */
1452
+ export type BugFixRunDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1453
+ /**
1454
+ * Filter which BugFixRuns to delete
1455
+ */
1456
+ where?: Prisma.BugFixRunWhereInput
1457
+ /**
1458
+ * Limit how many BugFixRuns to delete.
1459
+ */
1460
+ limit?: number
1461
+ }
1462
+
1463
+ /**
1464
+ * BugFixRun without action
1465
+ */
1466
+ export type BugFixRunDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1467
+ /**
1468
+ * Select specific fields to fetch from the BugFixRun
1469
+ */
1470
+ select?: Prisma.BugFixRunSelect<ExtArgs> | null
1471
+ /**
1472
+ * Omit specific fields from the BugFixRun
1473
+ */
1474
+ omit?: Prisma.BugFixRunOmit<ExtArgs> | null
1475
+ /**
1476
+ * Choose, which related nodes to fetch as well
1477
+ */
1478
+ include?: Prisma.BugFixRunInclude<ExtArgs> | null
1479
+ }