@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,2772 @@
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 `TestRunCase` 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 TestRunCase
17
+ *
18
+ */
19
+ export type TestRunCaseModel = runtime.Types.Result.DefaultSelection<Prisma.$TestRunCasePayload>
20
+
21
+ export type AggregateTestRunCase = {
22
+ _count: TestRunCaseCountAggregateOutputType | null
23
+ _avg: TestRunCaseAvgAggregateOutputType | null
24
+ _sum: TestRunCaseSumAggregateOutputType | null
25
+ _min: TestRunCaseMinAggregateOutputType | null
26
+ _max: TestRunCaseMaxAggregateOutputType | null
27
+ }
28
+
29
+ export type TestRunCaseAvgAggregateOutputType = {
30
+ caseVersion: number | null
31
+ durationMs: number | null
32
+ }
33
+
34
+ export type TestRunCaseSumAggregateOutputType = {
35
+ caseVersion: number | null
36
+ durationMs: number | null
37
+ }
38
+
39
+ export type TestRunCaseMinAggregateOutputType = {
40
+ id: string | null
41
+ runId: string | null
42
+ caseId: string | null
43
+ caseVersion: number | null
44
+ status: string | null
45
+ actualResult: string | null
46
+ bugId: string | null
47
+ execRunId: string | null
48
+ flaky: boolean | null
49
+ fingerprint: string | null
50
+ startedAt: Date | null
51
+ finishedAt: Date | null
52
+ durationMs: number | null
53
+ executedById: string | null
54
+ }
55
+
56
+ export type TestRunCaseMaxAggregateOutputType = {
57
+ id: string | null
58
+ runId: string | null
59
+ caseId: string | null
60
+ caseVersion: number | null
61
+ status: string | null
62
+ actualResult: string | null
63
+ bugId: string | null
64
+ execRunId: string | null
65
+ flaky: boolean | null
66
+ fingerprint: string | null
67
+ startedAt: Date | null
68
+ finishedAt: Date | null
69
+ durationMs: number | null
70
+ executedById: string | null
71
+ }
72
+
73
+ export type TestRunCaseCountAggregateOutputType = {
74
+ id: number
75
+ runId: number
76
+ caseId: number
77
+ caseVersion: number
78
+ caseSnapshot: number
79
+ status: number
80
+ stepResults: number
81
+ actualResult: number
82
+ bugId: number
83
+ execRunId: number
84
+ flaky: number
85
+ fingerprint: number
86
+ startedAt: number
87
+ finishedAt: number
88
+ durationMs: number
89
+ executedById: number
90
+ _all: number
91
+ }
92
+
93
+
94
+ export type TestRunCaseAvgAggregateInputType = {
95
+ caseVersion?: true
96
+ durationMs?: true
97
+ }
98
+
99
+ export type TestRunCaseSumAggregateInputType = {
100
+ caseVersion?: true
101
+ durationMs?: true
102
+ }
103
+
104
+ export type TestRunCaseMinAggregateInputType = {
105
+ id?: true
106
+ runId?: true
107
+ caseId?: true
108
+ caseVersion?: true
109
+ status?: true
110
+ actualResult?: true
111
+ bugId?: true
112
+ execRunId?: true
113
+ flaky?: true
114
+ fingerprint?: true
115
+ startedAt?: true
116
+ finishedAt?: true
117
+ durationMs?: true
118
+ executedById?: true
119
+ }
120
+
121
+ export type TestRunCaseMaxAggregateInputType = {
122
+ id?: true
123
+ runId?: true
124
+ caseId?: true
125
+ caseVersion?: true
126
+ status?: true
127
+ actualResult?: true
128
+ bugId?: true
129
+ execRunId?: true
130
+ flaky?: true
131
+ fingerprint?: true
132
+ startedAt?: true
133
+ finishedAt?: true
134
+ durationMs?: true
135
+ executedById?: true
136
+ }
137
+
138
+ export type TestRunCaseCountAggregateInputType = {
139
+ id?: true
140
+ runId?: true
141
+ caseId?: true
142
+ caseVersion?: true
143
+ caseSnapshot?: true
144
+ status?: true
145
+ stepResults?: true
146
+ actualResult?: true
147
+ bugId?: true
148
+ execRunId?: true
149
+ flaky?: true
150
+ fingerprint?: true
151
+ startedAt?: true
152
+ finishedAt?: true
153
+ durationMs?: true
154
+ executedById?: true
155
+ _all?: true
156
+ }
157
+
158
+ export type TestRunCaseAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
159
+ /**
160
+ * Filter which TestRunCase to aggregate.
161
+ */
162
+ where?: Prisma.TestRunCaseWhereInput
163
+ /**
164
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
165
+ *
166
+ * Determine the order of TestRunCases to fetch.
167
+ */
168
+ orderBy?: Prisma.TestRunCaseOrderByWithRelationInput | Prisma.TestRunCaseOrderByWithRelationInput[]
169
+ /**
170
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
171
+ *
172
+ * Sets the start position
173
+ */
174
+ cursor?: Prisma.TestRunCaseWhereUniqueInput
175
+ /**
176
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
177
+ *
178
+ * Take `±n` TestRunCases from the position of the cursor.
179
+ */
180
+ take?: number
181
+ /**
182
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
183
+ *
184
+ * Skip the first `n` TestRunCases.
185
+ */
186
+ skip?: number
187
+ /**
188
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
189
+ *
190
+ * Count returned TestRunCases
191
+ **/
192
+ _count?: true | TestRunCaseCountAggregateInputType
193
+ /**
194
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
195
+ *
196
+ * Select which fields to average
197
+ **/
198
+ _avg?: TestRunCaseAvgAggregateInputType
199
+ /**
200
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
201
+ *
202
+ * Select which fields to sum
203
+ **/
204
+ _sum?: TestRunCaseSumAggregateInputType
205
+ /**
206
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
207
+ *
208
+ * Select which fields to find the minimum value
209
+ **/
210
+ _min?: TestRunCaseMinAggregateInputType
211
+ /**
212
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
213
+ *
214
+ * Select which fields to find the maximum value
215
+ **/
216
+ _max?: TestRunCaseMaxAggregateInputType
217
+ }
218
+
219
+ export type GetTestRunCaseAggregateType<T extends TestRunCaseAggregateArgs> = {
220
+ [P in keyof T & keyof AggregateTestRunCase]: P extends '_count' | 'count'
221
+ ? T[P] extends true
222
+ ? number
223
+ : Prisma.GetScalarType<T[P], AggregateTestRunCase[P]>
224
+ : Prisma.GetScalarType<T[P], AggregateTestRunCase[P]>
225
+ }
226
+
227
+
228
+
229
+
230
+ export type TestRunCaseGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
231
+ where?: Prisma.TestRunCaseWhereInput
232
+ orderBy?: Prisma.TestRunCaseOrderByWithAggregationInput | Prisma.TestRunCaseOrderByWithAggregationInput[]
233
+ by: Prisma.TestRunCaseScalarFieldEnum[] | Prisma.TestRunCaseScalarFieldEnum
234
+ having?: Prisma.TestRunCaseScalarWhereWithAggregatesInput
235
+ take?: number
236
+ skip?: number
237
+ _count?: TestRunCaseCountAggregateInputType | true
238
+ _avg?: TestRunCaseAvgAggregateInputType
239
+ _sum?: TestRunCaseSumAggregateInputType
240
+ _min?: TestRunCaseMinAggregateInputType
241
+ _max?: TestRunCaseMaxAggregateInputType
242
+ }
243
+
244
+ export type TestRunCaseGroupByOutputType = {
245
+ id: string
246
+ runId: string
247
+ caseId: string
248
+ caseVersion: number
249
+ caseSnapshot: runtime.JsonValue
250
+ status: string
251
+ stepResults: runtime.JsonValue | null
252
+ actualResult: string | null
253
+ bugId: string | null
254
+ execRunId: string | null
255
+ flaky: boolean
256
+ fingerprint: string | null
257
+ startedAt: Date | null
258
+ finishedAt: Date | null
259
+ durationMs: number | null
260
+ executedById: string | null
261
+ _count: TestRunCaseCountAggregateOutputType | null
262
+ _avg: TestRunCaseAvgAggregateOutputType | null
263
+ _sum: TestRunCaseSumAggregateOutputType | null
264
+ _min: TestRunCaseMinAggregateOutputType | null
265
+ _max: TestRunCaseMaxAggregateOutputType | null
266
+ }
267
+
268
+ export type GetTestRunCaseGroupByPayload<T extends TestRunCaseGroupByArgs> = Prisma.PrismaPromise<
269
+ Array<
270
+ Prisma.PickEnumerable<TestRunCaseGroupByOutputType, T['by']> &
271
+ {
272
+ [P in ((keyof T) & (keyof TestRunCaseGroupByOutputType))]: P extends '_count'
273
+ ? T[P] extends boolean
274
+ ? number
275
+ : Prisma.GetScalarType<T[P], TestRunCaseGroupByOutputType[P]>
276
+ : Prisma.GetScalarType<T[P], TestRunCaseGroupByOutputType[P]>
277
+ }
278
+ >
279
+ >
280
+
281
+
282
+
283
+ export type TestRunCaseWhereInput = {
284
+ AND?: Prisma.TestRunCaseWhereInput | Prisma.TestRunCaseWhereInput[]
285
+ OR?: Prisma.TestRunCaseWhereInput[]
286
+ NOT?: Prisma.TestRunCaseWhereInput | Prisma.TestRunCaseWhereInput[]
287
+ id?: Prisma.StringFilter<"TestRunCase"> | string
288
+ runId?: Prisma.StringFilter<"TestRunCase"> | string
289
+ caseId?: Prisma.StringFilter<"TestRunCase"> | string
290
+ caseVersion?: Prisma.IntFilter<"TestRunCase"> | number
291
+ caseSnapshot?: Prisma.JsonFilter<"TestRunCase">
292
+ status?: Prisma.StringFilter<"TestRunCase"> | string
293
+ stepResults?: Prisma.JsonNullableFilter<"TestRunCase">
294
+ actualResult?: Prisma.StringNullableFilter<"TestRunCase"> | string | null
295
+ bugId?: Prisma.StringNullableFilter<"TestRunCase"> | string | null
296
+ execRunId?: Prisma.StringNullableFilter<"TestRunCase"> | string | null
297
+ flaky?: Prisma.BoolFilter<"TestRunCase"> | boolean
298
+ fingerprint?: Prisma.StringNullableFilter<"TestRunCase"> | string | null
299
+ startedAt?: Prisma.DateTimeNullableFilter<"TestRunCase"> | Date | string | null
300
+ finishedAt?: Prisma.DateTimeNullableFilter<"TestRunCase"> | Date | string | null
301
+ durationMs?: Prisma.IntNullableFilter<"TestRunCase"> | number | null
302
+ executedById?: Prisma.StringNullableFilter<"TestRunCase"> | string | null
303
+ run?: Prisma.XOR<Prisma.TestRunScalarRelationFilter, Prisma.TestRunWhereInput>
304
+ case?: Prisma.XOR<Prisma.TestCaseScalarRelationFilter, Prisma.TestCaseWhereInput>
305
+ bug?: Prisma.XOR<Prisma.BugNullableScalarRelationFilter, Prisma.BugWhereInput> | null
306
+ execRun?: Prisma.XOR<Prisma.TestExecRunNullableScalarRelationFilter, Prisma.TestExecRunWhereInput> | null
307
+ execRuns?: Prisma.TestExecRunListRelationFilter
308
+ executedBy?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
309
+ }
310
+
311
+ export type TestRunCaseOrderByWithRelationInput = {
312
+ id?: Prisma.SortOrder
313
+ runId?: Prisma.SortOrder
314
+ caseId?: Prisma.SortOrder
315
+ caseVersion?: Prisma.SortOrder
316
+ caseSnapshot?: Prisma.SortOrder
317
+ status?: Prisma.SortOrder
318
+ stepResults?: Prisma.SortOrderInput | Prisma.SortOrder
319
+ actualResult?: Prisma.SortOrderInput | Prisma.SortOrder
320
+ bugId?: Prisma.SortOrderInput | Prisma.SortOrder
321
+ execRunId?: Prisma.SortOrderInput | Prisma.SortOrder
322
+ flaky?: Prisma.SortOrder
323
+ fingerprint?: Prisma.SortOrderInput | Prisma.SortOrder
324
+ startedAt?: Prisma.SortOrderInput | Prisma.SortOrder
325
+ finishedAt?: Prisma.SortOrderInput | Prisma.SortOrder
326
+ durationMs?: Prisma.SortOrderInput | Prisma.SortOrder
327
+ executedById?: Prisma.SortOrderInput | Prisma.SortOrder
328
+ run?: Prisma.TestRunOrderByWithRelationInput
329
+ case?: Prisma.TestCaseOrderByWithRelationInput
330
+ bug?: Prisma.BugOrderByWithRelationInput
331
+ execRun?: Prisma.TestExecRunOrderByWithRelationInput
332
+ execRuns?: Prisma.TestExecRunOrderByRelationAggregateInput
333
+ executedBy?: Prisma.UserOrderByWithRelationInput
334
+ }
335
+
336
+ export type TestRunCaseWhereUniqueInput = Prisma.AtLeast<{
337
+ id?: string
338
+ runId_caseId?: Prisma.TestRunCaseRunIdCaseIdCompoundUniqueInput
339
+ AND?: Prisma.TestRunCaseWhereInput | Prisma.TestRunCaseWhereInput[]
340
+ OR?: Prisma.TestRunCaseWhereInput[]
341
+ NOT?: Prisma.TestRunCaseWhereInput | Prisma.TestRunCaseWhereInput[]
342
+ runId?: Prisma.StringFilter<"TestRunCase"> | string
343
+ caseId?: Prisma.StringFilter<"TestRunCase"> | string
344
+ caseVersion?: Prisma.IntFilter<"TestRunCase"> | number
345
+ caseSnapshot?: Prisma.JsonFilter<"TestRunCase">
346
+ status?: Prisma.StringFilter<"TestRunCase"> | string
347
+ stepResults?: Prisma.JsonNullableFilter<"TestRunCase">
348
+ actualResult?: Prisma.StringNullableFilter<"TestRunCase"> | string | null
349
+ bugId?: Prisma.StringNullableFilter<"TestRunCase"> | string | null
350
+ execRunId?: Prisma.StringNullableFilter<"TestRunCase"> | string | null
351
+ flaky?: Prisma.BoolFilter<"TestRunCase"> | boolean
352
+ fingerprint?: Prisma.StringNullableFilter<"TestRunCase"> | string | null
353
+ startedAt?: Prisma.DateTimeNullableFilter<"TestRunCase"> | Date | string | null
354
+ finishedAt?: Prisma.DateTimeNullableFilter<"TestRunCase"> | Date | string | null
355
+ durationMs?: Prisma.IntNullableFilter<"TestRunCase"> | number | null
356
+ executedById?: Prisma.StringNullableFilter<"TestRunCase"> | string | null
357
+ run?: Prisma.XOR<Prisma.TestRunScalarRelationFilter, Prisma.TestRunWhereInput>
358
+ case?: Prisma.XOR<Prisma.TestCaseScalarRelationFilter, Prisma.TestCaseWhereInput>
359
+ bug?: Prisma.XOR<Prisma.BugNullableScalarRelationFilter, Prisma.BugWhereInput> | null
360
+ execRun?: Prisma.XOR<Prisma.TestExecRunNullableScalarRelationFilter, Prisma.TestExecRunWhereInput> | null
361
+ execRuns?: Prisma.TestExecRunListRelationFilter
362
+ executedBy?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
363
+ }, "id" | "runId_caseId">
364
+
365
+ export type TestRunCaseOrderByWithAggregationInput = {
366
+ id?: Prisma.SortOrder
367
+ runId?: Prisma.SortOrder
368
+ caseId?: Prisma.SortOrder
369
+ caseVersion?: Prisma.SortOrder
370
+ caseSnapshot?: Prisma.SortOrder
371
+ status?: Prisma.SortOrder
372
+ stepResults?: Prisma.SortOrderInput | Prisma.SortOrder
373
+ actualResult?: Prisma.SortOrderInput | Prisma.SortOrder
374
+ bugId?: Prisma.SortOrderInput | Prisma.SortOrder
375
+ execRunId?: Prisma.SortOrderInput | Prisma.SortOrder
376
+ flaky?: Prisma.SortOrder
377
+ fingerprint?: Prisma.SortOrderInput | Prisma.SortOrder
378
+ startedAt?: Prisma.SortOrderInput | Prisma.SortOrder
379
+ finishedAt?: Prisma.SortOrderInput | Prisma.SortOrder
380
+ durationMs?: Prisma.SortOrderInput | Prisma.SortOrder
381
+ executedById?: Prisma.SortOrderInput | Prisma.SortOrder
382
+ _count?: Prisma.TestRunCaseCountOrderByAggregateInput
383
+ _avg?: Prisma.TestRunCaseAvgOrderByAggregateInput
384
+ _max?: Prisma.TestRunCaseMaxOrderByAggregateInput
385
+ _min?: Prisma.TestRunCaseMinOrderByAggregateInput
386
+ _sum?: Prisma.TestRunCaseSumOrderByAggregateInput
387
+ }
388
+
389
+ export type TestRunCaseScalarWhereWithAggregatesInput = {
390
+ AND?: Prisma.TestRunCaseScalarWhereWithAggregatesInput | Prisma.TestRunCaseScalarWhereWithAggregatesInput[]
391
+ OR?: Prisma.TestRunCaseScalarWhereWithAggregatesInput[]
392
+ NOT?: Prisma.TestRunCaseScalarWhereWithAggregatesInput | Prisma.TestRunCaseScalarWhereWithAggregatesInput[]
393
+ id?: Prisma.StringWithAggregatesFilter<"TestRunCase"> | string
394
+ runId?: Prisma.StringWithAggregatesFilter<"TestRunCase"> | string
395
+ caseId?: Prisma.StringWithAggregatesFilter<"TestRunCase"> | string
396
+ caseVersion?: Prisma.IntWithAggregatesFilter<"TestRunCase"> | number
397
+ caseSnapshot?: Prisma.JsonWithAggregatesFilter<"TestRunCase">
398
+ status?: Prisma.StringWithAggregatesFilter<"TestRunCase"> | string
399
+ stepResults?: Prisma.JsonNullableWithAggregatesFilter<"TestRunCase">
400
+ actualResult?: Prisma.StringNullableWithAggregatesFilter<"TestRunCase"> | string | null
401
+ bugId?: Prisma.StringNullableWithAggregatesFilter<"TestRunCase"> | string | null
402
+ execRunId?: Prisma.StringNullableWithAggregatesFilter<"TestRunCase"> | string | null
403
+ flaky?: Prisma.BoolWithAggregatesFilter<"TestRunCase"> | boolean
404
+ fingerprint?: Prisma.StringNullableWithAggregatesFilter<"TestRunCase"> | string | null
405
+ startedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"TestRunCase"> | Date | string | null
406
+ finishedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"TestRunCase"> | Date | string | null
407
+ durationMs?: Prisma.IntNullableWithAggregatesFilter<"TestRunCase"> | number | null
408
+ executedById?: Prisma.StringNullableWithAggregatesFilter<"TestRunCase"> | string | null
409
+ }
410
+
411
+ export type TestRunCaseCreateInput = {
412
+ id?: string
413
+ caseVersion: number
414
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
415
+ status?: string
416
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
417
+ actualResult?: string | null
418
+ flaky?: boolean
419
+ fingerprint?: string | null
420
+ startedAt?: Date | string | null
421
+ finishedAt?: Date | string | null
422
+ durationMs?: number | null
423
+ run: Prisma.TestRunCreateNestedOneWithoutCasesInput
424
+ case: Prisma.TestCaseCreateNestedOneWithoutRunCasesInput
425
+ bug?: Prisma.BugCreateNestedOneWithoutRunCasesInput
426
+ execRun?: Prisma.TestExecRunCreateNestedOneWithoutCurrentRunCasesInput
427
+ execRuns?: Prisma.TestExecRunCreateNestedManyWithoutRunCaseInput
428
+ executedBy?: Prisma.UserCreateNestedOneWithoutTestRunCasesExecutedInput
429
+ }
430
+
431
+ export type TestRunCaseUncheckedCreateInput = {
432
+ id?: string
433
+ runId: string
434
+ caseId: string
435
+ caseVersion: number
436
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
437
+ status?: string
438
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
439
+ actualResult?: string | null
440
+ bugId?: string | null
441
+ execRunId?: string | null
442
+ flaky?: boolean
443
+ fingerprint?: string | null
444
+ startedAt?: Date | string | null
445
+ finishedAt?: Date | string | null
446
+ durationMs?: number | null
447
+ executedById?: string | null
448
+ execRuns?: Prisma.TestExecRunUncheckedCreateNestedManyWithoutRunCaseInput
449
+ }
450
+
451
+ export type TestRunCaseUpdateInput = {
452
+ id?: Prisma.StringFieldUpdateOperationsInput | string
453
+ caseVersion?: Prisma.IntFieldUpdateOperationsInput | number
454
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
455
+ status?: Prisma.StringFieldUpdateOperationsInput | string
456
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
457
+ actualResult?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
458
+ flaky?: Prisma.BoolFieldUpdateOperationsInput | boolean
459
+ fingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
460
+ startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
461
+ finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
462
+ durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
463
+ run?: Prisma.TestRunUpdateOneRequiredWithoutCasesNestedInput
464
+ case?: Prisma.TestCaseUpdateOneRequiredWithoutRunCasesNestedInput
465
+ bug?: Prisma.BugUpdateOneWithoutRunCasesNestedInput
466
+ execRun?: Prisma.TestExecRunUpdateOneWithoutCurrentRunCasesNestedInput
467
+ execRuns?: Prisma.TestExecRunUpdateManyWithoutRunCaseNestedInput
468
+ executedBy?: Prisma.UserUpdateOneWithoutTestRunCasesExecutedNestedInput
469
+ }
470
+
471
+ export type TestRunCaseUncheckedUpdateInput = {
472
+ id?: Prisma.StringFieldUpdateOperationsInput | string
473
+ runId?: Prisma.StringFieldUpdateOperationsInput | string
474
+ caseId?: Prisma.StringFieldUpdateOperationsInput | string
475
+ caseVersion?: Prisma.IntFieldUpdateOperationsInput | number
476
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
477
+ status?: Prisma.StringFieldUpdateOperationsInput | string
478
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
479
+ actualResult?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
480
+ bugId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
481
+ execRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
482
+ flaky?: Prisma.BoolFieldUpdateOperationsInput | boolean
483
+ fingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
484
+ startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
485
+ finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
486
+ durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
487
+ executedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
488
+ execRuns?: Prisma.TestExecRunUncheckedUpdateManyWithoutRunCaseNestedInput
489
+ }
490
+
491
+ export type TestRunCaseCreateManyInput = {
492
+ id?: string
493
+ runId: string
494
+ caseId: string
495
+ caseVersion: number
496
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
497
+ status?: string
498
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
499
+ actualResult?: string | null
500
+ bugId?: string | null
501
+ execRunId?: string | null
502
+ flaky?: boolean
503
+ fingerprint?: string | null
504
+ startedAt?: Date | string | null
505
+ finishedAt?: Date | string | null
506
+ durationMs?: number | null
507
+ executedById?: string | null
508
+ }
509
+
510
+ export type TestRunCaseUpdateManyMutationInput = {
511
+ id?: Prisma.StringFieldUpdateOperationsInput | string
512
+ caseVersion?: Prisma.IntFieldUpdateOperationsInput | number
513
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
514
+ status?: Prisma.StringFieldUpdateOperationsInput | string
515
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
516
+ actualResult?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
517
+ flaky?: Prisma.BoolFieldUpdateOperationsInput | boolean
518
+ fingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
519
+ startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
520
+ finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
521
+ durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
522
+ }
523
+
524
+ export type TestRunCaseUncheckedUpdateManyInput = {
525
+ id?: Prisma.StringFieldUpdateOperationsInput | string
526
+ runId?: Prisma.StringFieldUpdateOperationsInput | string
527
+ caseId?: Prisma.StringFieldUpdateOperationsInput | string
528
+ caseVersion?: Prisma.IntFieldUpdateOperationsInput | number
529
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
530
+ status?: Prisma.StringFieldUpdateOperationsInput | string
531
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
532
+ actualResult?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
533
+ bugId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
534
+ execRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
535
+ flaky?: Prisma.BoolFieldUpdateOperationsInput | boolean
536
+ fingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
537
+ startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
538
+ finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
539
+ durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
540
+ executedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
541
+ }
542
+
543
+ export type TestRunCaseListRelationFilter = {
544
+ every?: Prisma.TestRunCaseWhereInput
545
+ some?: Prisma.TestRunCaseWhereInput
546
+ none?: Prisma.TestRunCaseWhereInput
547
+ }
548
+
549
+ export type TestRunCaseOrderByRelationAggregateInput = {
550
+ _count?: Prisma.SortOrder
551
+ }
552
+
553
+ export type TestRunCaseRunIdCaseIdCompoundUniqueInput = {
554
+ runId: string
555
+ caseId: string
556
+ }
557
+
558
+ export type TestRunCaseCountOrderByAggregateInput = {
559
+ id?: Prisma.SortOrder
560
+ runId?: Prisma.SortOrder
561
+ caseId?: Prisma.SortOrder
562
+ caseVersion?: Prisma.SortOrder
563
+ caseSnapshot?: Prisma.SortOrder
564
+ status?: Prisma.SortOrder
565
+ stepResults?: Prisma.SortOrder
566
+ actualResult?: Prisma.SortOrder
567
+ bugId?: Prisma.SortOrder
568
+ execRunId?: Prisma.SortOrder
569
+ flaky?: Prisma.SortOrder
570
+ fingerprint?: Prisma.SortOrder
571
+ startedAt?: Prisma.SortOrder
572
+ finishedAt?: Prisma.SortOrder
573
+ durationMs?: Prisma.SortOrder
574
+ executedById?: Prisma.SortOrder
575
+ }
576
+
577
+ export type TestRunCaseAvgOrderByAggregateInput = {
578
+ caseVersion?: Prisma.SortOrder
579
+ durationMs?: Prisma.SortOrder
580
+ }
581
+
582
+ export type TestRunCaseMaxOrderByAggregateInput = {
583
+ id?: Prisma.SortOrder
584
+ runId?: Prisma.SortOrder
585
+ caseId?: Prisma.SortOrder
586
+ caseVersion?: Prisma.SortOrder
587
+ status?: Prisma.SortOrder
588
+ actualResult?: Prisma.SortOrder
589
+ bugId?: Prisma.SortOrder
590
+ execRunId?: Prisma.SortOrder
591
+ flaky?: Prisma.SortOrder
592
+ fingerprint?: Prisma.SortOrder
593
+ startedAt?: Prisma.SortOrder
594
+ finishedAt?: Prisma.SortOrder
595
+ durationMs?: Prisma.SortOrder
596
+ executedById?: Prisma.SortOrder
597
+ }
598
+
599
+ export type TestRunCaseMinOrderByAggregateInput = {
600
+ id?: Prisma.SortOrder
601
+ runId?: Prisma.SortOrder
602
+ caseId?: Prisma.SortOrder
603
+ caseVersion?: Prisma.SortOrder
604
+ status?: Prisma.SortOrder
605
+ actualResult?: Prisma.SortOrder
606
+ bugId?: Prisma.SortOrder
607
+ execRunId?: Prisma.SortOrder
608
+ flaky?: Prisma.SortOrder
609
+ fingerprint?: Prisma.SortOrder
610
+ startedAt?: Prisma.SortOrder
611
+ finishedAt?: Prisma.SortOrder
612
+ durationMs?: Prisma.SortOrder
613
+ executedById?: Prisma.SortOrder
614
+ }
615
+
616
+ export type TestRunCaseSumOrderByAggregateInput = {
617
+ caseVersion?: Prisma.SortOrder
618
+ durationMs?: Prisma.SortOrder
619
+ }
620
+
621
+ export type TestRunCaseScalarRelationFilter = {
622
+ is?: Prisma.TestRunCaseWhereInput
623
+ isNot?: Prisma.TestRunCaseWhereInput
624
+ }
625
+
626
+ export type TestRunCaseCreateNestedManyWithoutExecutedByInput = {
627
+ create?: Prisma.XOR<Prisma.TestRunCaseCreateWithoutExecutedByInput, Prisma.TestRunCaseUncheckedCreateWithoutExecutedByInput> | Prisma.TestRunCaseCreateWithoutExecutedByInput[] | Prisma.TestRunCaseUncheckedCreateWithoutExecutedByInput[]
628
+ connectOrCreate?: Prisma.TestRunCaseCreateOrConnectWithoutExecutedByInput | Prisma.TestRunCaseCreateOrConnectWithoutExecutedByInput[]
629
+ createMany?: Prisma.TestRunCaseCreateManyExecutedByInputEnvelope
630
+ connect?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
631
+ }
632
+
633
+ export type TestRunCaseUncheckedCreateNestedManyWithoutExecutedByInput = {
634
+ create?: Prisma.XOR<Prisma.TestRunCaseCreateWithoutExecutedByInput, Prisma.TestRunCaseUncheckedCreateWithoutExecutedByInput> | Prisma.TestRunCaseCreateWithoutExecutedByInput[] | Prisma.TestRunCaseUncheckedCreateWithoutExecutedByInput[]
635
+ connectOrCreate?: Prisma.TestRunCaseCreateOrConnectWithoutExecutedByInput | Prisma.TestRunCaseCreateOrConnectWithoutExecutedByInput[]
636
+ createMany?: Prisma.TestRunCaseCreateManyExecutedByInputEnvelope
637
+ connect?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
638
+ }
639
+
640
+ export type TestRunCaseUpdateManyWithoutExecutedByNestedInput = {
641
+ create?: Prisma.XOR<Prisma.TestRunCaseCreateWithoutExecutedByInput, Prisma.TestRunCaseUncheckedCreateWithoutExecutedByInput> | Prisma.TestRunCaseCreateWithoutExecutedByInput[] | Prisma.TestRunCaseUncheckedCreateWithoutExecutedByInput[]
642
+ connectOrCreate?: Prisma.TestRunCaseCreateOrConnectWithoutExecutedByInput | Prisma.TestRunCaseCreateOrConnectWithoutExecutedByInput[]
643
+ upsert?: Prisma.TestRunCaseUpsertWithWhereUniqueWithoutExecutedByInput | Prisma.TestRunCaseUpsertWithWhereUniqueWithoutExecutedByInput[]
644
+ createMany?: Prisma.TestRunCaseCreateManyExecutedByInputEnvelope
645
+ set?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
646
+ disconnect?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
647
+ delete?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
648
+ connect?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
649
+ update?: Prisma.TestRunCaseUpdateWithWhereUniqueWithoutExecutedByInput | Prisma.TestRunCaseUpdateWithWhereUniqueWithoutExecutedByInput[]
650
+ updateMany?: Prisma.TestRunCaseUpdateManyWithWhereWithoutExecutedByInput | Prisma.TestRunCaseUpdateManyWithWhereWithoutExecutedByInput[]
651
+ deleteMany?: Prisma.TestRunCaseScalarWhereInput | Prisma.TestRunCaseScalarWhereInput[]
652
+ }
653
+
654
+ export type TestRunCaseUncheckedUpdateManyWithoutExecutedByNestedInput = {
655
+ create?: Prisma.XOR<Prisma.TestRunCaseCreateWithoutExecutedByInput, Prisma.TestRunCaseUncheckedCreateWithoutExecutedByInput> | Prisma.TestRunCaseCreateWithoutExecutedByInput[] | Prisma.TestRunCaseUncheckedCreateWithoutExecutedByInput[]
656
+ connectOrCreate?: Prisma.TestRunCaseCreateOrConnectWithoutExecutedByInput | Prisma.TestRunCaseCreateOrConnectWithoutExecutedByInput[]
657
+ upsert?: Prisma.TestRunCaseUpsertWithWhereUniqueWithoutExecutedByInput | Prisma.TestRunCaseUpsertWithWhereUniqueWithoutExecutedByInput[]
658
+ createMany?: Prisma.TestRunCaseCreateManyExecutedByInputEnvelope
659
+ set?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
660
+ disconnect?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
661
+ delete?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
662
+ connect?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
663
+ update?: Prisma.TestRunCaseUpdateWithWhereUniqueWithoutExecutedByInput | Prisma.TestRunCaseUpdateWithWhereUniqueWithoutExecutedByInput[]
664
+ updateMany?: Prisma.TestRunCaseUpdateManyWithWhereWithoutExecutedByInput | Prisma.TestRunCaseUpdateManyWithWhereWithoutExecutedByInput[]
665
+ deleteMany?: Prisma.TestRunCaseScalarWhereInput | Prisma.TestRunCaseScalarWhereInput[]
666
+ }
667
+
668
+ export type TestRunCaseCreateNestedManyWithoutBugInput = {
669
+ create?: Prisma.XOR<Prisma.TestRunCaseCreateWithoutBugInput, Prisma.TestRunCaseUncheckedCreateWithoutBugInput> | Prisma.TestRunCaseCreateWithoutBugInput[] | Prisma.TestRunCaseUncheckedCreateWithoutBugInput[]
670
+ connectOrCreate?: Prisma.TestRunCaseCreateOrConnectWithoutBugInput | Prisma.TestRunCaseCreateOrConnectWithoutBugInput[]
671
+ createMany?: Prisma.TestRunCaseCreateManyBugInputEnvelope
672
+ connect?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
673
+ }
674
+
675
+ export type TestRunCaseUncheckedCreateNestedManyWithoutBugInput = {
676
+ create?: Prisma.XOR<Prisma.TestRunCaseCreateWithoutBugInput, Prisma.TestRunCaseUncheckedCreateWithoutBugInput> | Prisma.TestRunCaseCreateWithoutBugInput[] | Prisma.TestRunCaseUncheckedCreateWithoutBugInput[]
677
+ connectOrCreate?: Prisma.TestRunCaseCreateOrConnectWithoutBugInput | Prisma.TestRunCaseCreateOrConnectWithoutBugInput[]
678
+ createMany?: Prisma.TestRunCaseCreateManyBugInputEnvelope
679
+ connect?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
680
+ }
681
+
682
+ export type TestRunCaseUpdateManyWithoutBugNestedInput = {
683
+ create?: Prisma.XOR<Prisma.TestRunCaseCreateWithoutBugInput, Prisma.TestRunCaseUncheckedCreateWithoutBugInput> | Prisma.TestRunCaseCreateWithoutBugInput[] | Prisma.TestRunCaseUncheckedCreateWithoutBugInput[]
684
+ connectOrCreate?: Prisma.TestRunCaseCreateOrConnectWithoutBugInput | Prisma.TestRunCaseCreateOrConnectWithoutBugInput[]
685
+ upsert?: Prisma.TestRunCaseUpsertWithWhereUniqueWithoutBugInput | Prisma.TestRunCaseUpsertWithWhereUniqueWithoutBugInput[]
686
+ createMany?: Prisma.TestRunCaseCreateManyBugInputEnvelope
687
+ set?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
688
+ disconnect?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
689
+ delete?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
690
+ connect?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
691
+ update?: Prisma.TestRunCaseUpdateWithWhereUniqueWithoutBugInput | Prisma.TestRunCaseUpdateWithWhereUniqueWithoutBugInput[]
692
+ updateMany?: Prisma.TestRunCaseUpdateManyWithWhereWithoutBugInput | Prisma.TestRunCaseUpdateManyWithWhereWithoutBugInput[]
693
+ deleteMany?: Prisma.TestRunCaseScalarWhereInput | Prisma.TestRunCaseScalarWhereInput[]
694
+ }
695
+
696
+ export type TestRunCaseUncheckedUpdateManyWithoutBugNestedInput = {
697
+ create?: Prisma.XOR<Prisma.TestRunCaseCreateWithoutBugInput, Prisma.TestRunCaseUncheckedCreateWithoutBugInput> | Prisma.TestRunCaseCreateWithoutBugInput[] | Prisma.TestRunCaseUncheckedCreateWithoutBugInput[]
698
+ connectOrCreate?: Prisma.TestRunCaseCreateOrConnectWithoutBugInput | Prisma.TestRunCaseCreateOrConnectWithoutBugInput[]
699
+ upsert?: Prisma.TestRunCaseUpsertWithWhereUniqueWithoutBugInput | Prisma.TestRunCaseUpsertWithWhereUniqueWithoutBugInput[]
700
+ createMany?: Prisma.TestRunCaseCreateManyBugInputEnvelope
701
+ set?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
702
+ disconnect?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
703
+ delete?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
704
+ connect?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
705
+ update?: Prisma.TestRunCaseUpdateWithWhereUniqueWithoutBugInput | Prisma.TestRunCaseUpdateWithWhereUniqueWithoutBugInput[]
706
+ updateMany?: Prisma.TestRunCaseUpdateManyWithWhereWithoutBugInput | Prisma.TestRunCaseUpdateManyWithWhereWithoutBugInput[]
707
+ deleteMany?: Prisma.TestRunCaseScalarWhereInput | Prisma.TestRunCaseScalarWhereInput[]
708
+ }
709
+
710
+ export type TestRunCaseCreateNestedManyWithoutCaseInput = {
711
+ create?: Prisma.XOR<Prisma.TestRunCaseCreateWithoutCaseInput, Prisma.TestRunCaseUncheckedCreateWithoutCaseInput> | Prisma.TestRunCaseCreateWithoutCaseInput[] | Prisma.TestRunCaseUncheckedCreateWithoutCaseInput[]
712
+ connectOrCreate?: Prisma.TestRunCaseCreateOrConnectWithoutCaseInput | Prisma.TestRunCaseCreateOrConnectWithoutCaseInput[]
713
+ createMany?: Prisma.TestRunCaseCreateManyCaseInputEnvelope
714
+ connect?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
715
+ }
716
+
717
+ export type TestRunCaseUncheckedCreateNestedManyWithoutCaseInput = {
718
+ create?: Prisma.XOR<Prisma.TestRunCaseCreateWithoutCaseInput, Prisma.TestRunCaseUncheckedCreateWithoutCaseInput> | Prisma.TestRunCaseCreateWithoutCaseInput[] | Prisma.TestRunCaseUncheckedCreateWithoutCaseInput[]
719
+ connectOrCreate?: Prisma.TestRunCaseCreateOrConnectWithoutCaseInput | Prisma.TestRunCaseCreateOrConnectWithoutCaseInput[]
720
+ createMany?: Prisma.TestRunCaseCreateManyCaseInputEnvelope
721
+ connect?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
722
+ }
723
+
724
+ export type TestRunCaseUpdateManyWithoutCaseNestedInput = {
725
+ create?: Prisma.XOR<Prisma.TestRunCaseCreateWithoutCaseInput, Prisma.TestRunCaseUncheckedCreateWithoutCaseInput> | Prisma.TestRunCaseCreateWithoutCaseInput[] | Prisma.TestRunCaseUncheckedCreateWithoutCaseInput[]
726
+ connectOrCreate?: Prisma.TestRunCaseCreateOrConnectWithoutCaseInput | Prisma.TestRunCaseCreateOrConnectWithoutCaseInput[]
727
+ upsert?: Prisma.TestRunCaseUpsertWithWhereUniqueWithoutCaseInput | Prisma.TestRunCaseUpsertWithWhereUniqueWithoutCaseInput[]
728
+ createMany?: Prisma.TestRunCaseCreateManyCaseInputEnvelope
729
+ set?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
730
+ disconnect?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
731
+ delete?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
732
+ connect?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
733
+ update?: Prisma.TestRunCaseUpdateWithWhereUniqueWithoutCaseInput | Prisma.TestRunCaseUpdateWithWhereUniqueWithoutCaseInput[]
734
+ updateMany?: Prisma.TestRunCaseUpdateManyWithWhereWithoutCaseInput | Prisma.TestRunCaseUpdateManyWithWhereWithoutCaseInput[]
735
+ deleteMany?: Prisma.TestRunCaseScalarWhereInput | Prisma.TestRunCaseScalarWhereInput[]
736
+ }
737
+
738
+ export type TestRunCaseUncheckedUpdateManyWithoutCaseNestedInput = {
739
+ create?: Prisma.XOR<Prisma.TestRunCaseCreateWithoutCaseInput, Prisma.TestRunCaseUncheckedCreateWithoutCaseInput> | Prisma.TestRunCaseCreateWithoutCaseInput[] | Prisma.TestRunCaseUncheckedCreateWithoutCaseInput[]
740
+ connectOrCreate?: Prisma.TestRunCaseCreateOrConnectWithoutCaseInput | Prisma.TestRunCaseCreateOrConnectWithoutCaseInput[]
741
+ upsert?: Prisma.TestRunCaseUpsertWithWhereUniqueWithoutCaseInput | Prisma.TestRunCaseUpsertWithWhereUniqueWithoutCaseInput[]
742
+ createMany?: Prisma.TestRunCaseCreateManyCaseInputEnvelope
743
+ set?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
744
+ disconnect?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
745
+ delete?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
746
+ connect?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
747
+ update?: Prisma.TestRunCaseUpdateWithWhereUniqueWithoutCaseInput | Prisma.TestRunCaseUpdateWithWhereUniqueWithoutCaseInput[]
748
+ updateMany?: Prisma.TestRunCaseUpdateManyWithWhereWithoutCaseInput | Prisma.TestRunCaseUpdateManyWithWhereWithoutCaseInput[]
749
+ deleteMany?: Prisma.TestRunCaseScalarWhereInput | Prisma.TestRunCaseScalarWhereInput[]
750
+ }
751
+
752
+ export type TestRunCaseCreateNestedManyWithoutRunInput = {
753
+ create?: Prisma.XOR<Prisma.TestRunCaseCreateWithoutRunInput, Prisma.TestRunCaseUncheckedCreateWithoutRunInput> | Prisma.TestRunCaseCreateWithoutRunInput[] | Prisma.TestRunCaseUncheckedCreateWithoutRunInput[]
754
+ connectOrCreate?: Prisma.TestRunCaseCreateOrConnectWithoutRunInput | Prisma.TestRunCaseCreateOrConnectWithoutRunInput[]
755
+ createMany?: Prisma.TestRunCaseCreateManyRunInputEnvelope
756
+ connect?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
757
+ }
758
+
759
+ export type TestRunCaseUncheckedCreateNestedManyWithoutRunInput = {
760
+ create?: Prisma.XOR<Prisma.TestRunCaseCreateWithoutRunInput, Prisma.TestRunCaseUncheckedCreateWithoutRunInput> | Prisma.TestRunCaseCreateWithoutRunInput[] | Prisma.TestRunCaseUncheckedCreateWithoutRunInput[]
761
+ connectOrCreate?: Prisma.TestRunCaseCreateOrConnectWithoutRunInput | Prisma.TestRunCaseCreateOrConnectWithoutRunInput[]
762
+ createMany?: Prisma.TestRunCaseCreateManyRunInputEnvelope
763
+ connect?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
764
+ }
765
+
766
+ export type TestRunCaseUpdateManyWithoutRunNestedInput = {
767
+ create?: Prisma.XOR<Prisma.TestRunCaseCreateWithoutRunInput, Prisma.TestRunCaseUncheckedCreateWithoutRunInput> | Prisma.TestRunCaseCreateWithoutRunInput[] | Prisma.TestRunCaseUncheckedCreateWithoutRunInput[]
768
+ connectOrCreate?: Prisma.TestRunCaseCreateOrConnectWithoutRunInput | Prisma.TestRunCaseCreateOrConnectWithoutRunInput[]
769
+ upsert?: Prisma.TestRunCaseUpsertWithWhereUniqueWithoutRunInput | Prisma.TestRunCaseUpsertWithWhereUniqueWithoutRunInput[]
770
+ createMany?: Prisma.TestRunCaseCreateManyRunInputEnvelope
771
+ set?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
772
+ disconnect?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
773
+ delete?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
774
+ connect?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
775
+ update?: Prisma.TestRunCaseUpdateWithWhereUniqueWithoutRunInput | Prisma.TestRunCaseUpdateWithWhereUniqueWithoutRunInput[]
776
+ updateMany?: Prisma.TestRunCaseUpdateManyWithWhereWithoutRunInput | Prisma.TestRunCaseUpdateManyWithWhereWithoutRunInput[]
777
+ deleteMany?: Prisma.TestRunCaseScalarWhereInput | Prisma.TestRunCaseScalarWhereInput[]
778
+ }
779
+
780
+ export type TestRunCaseUncheckedUpdateManyWithoutRunNestedInput = {
781
+ create?: Prisma.XOR<Prisma.TestRunCaseCreateWithoutRunInput, Prisma.TestRunCaseUncheckedCreateWithoutRunInput> | Prisma.TestRunCaseCreateWithoutRunInput[] | Prisma.TestRunCaseUncheckedCreateWithoutRunInput[]
782
+ connectOrCreate?: Prisma.TestRunCaseCreateOrConnectWithoutRunInput | Prisma.TestRunCaseCreateOrConnectWithoutRunInput[]
783
+ upsert?: Prisma.TestRunCaseUpsertWithWhereUniqueWithoutRunInput | Prisma.TestRunCaseUpsertWithWhereUniqueWithoutRunInput[]
784
+ createMany?: Prisma.TestRunCaseCreateManyRunInputEnvelope
785
+ set?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
786
+ disconnect?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
787
+ delete?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
788
+ connect?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
789
+ update?: Prisma.TestRunCaseUpdateWithWhereUniqueWithoutRunInput | Prisma.TestRunCaseUpdateWithWhereUniqueWithoutRunInput[]
790
+ updateMany?: Prisma.TestRunCaseUpdateManyWithWhereWithoutRunInput | Prisma.TestRunCaseUpdateManyWithWhereWithoutRunInput[]
791
+ deleteMany?: Prisma.TestRunCaseScalarWhereInput | Prisma.TestRunCaseScalarWhereInput[]
792
+ }
793
+
794
+ export type TestRunCaseCreateNestedOneWithoutExecRunsInput = {
795
+ create?: Prisma.XOR<Prisma.TestRunCaseCreateWithoutExecRunsInput, Prisma.TestRunCaseUncheckedCreateWithoutExecRunsInput>
796
+ connectOrCreate?: Prisma.TestRunCaseCreateOrConnectWithoutExecRunsInput
797
+ connect?: Prisma.TestRunCaseWhereUniqueInput
798
+ }
799
+
800
+ export type TestRunCaseCreateNestedManyWithoutExecRunInput = {
801
+ create?: Prisma.XOR<Prisma.TestRunCaseCreateWithoutExecRunInput, Prisma.TestRunCaseUncheckedCreateWithoutExecRunInput> | Prisma.TestRunCaseCreateWithoutExecRunInput[] | Prisma.TestRunCaseUncheckedCreateWithoutExecRunInput[]
802
+ connectOrCreate?: Prisma.TestRunCaseCreateOrConnectWithoutExecRunInput | Prisma.TestRunCaseCreateOrConnectWithoutExecRunInput[]
803
+ createMany?: Prisma.TestRunCaseCreateManyExecRunInputEnvelope
804
+ connect?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
805
+ }
806
+
807
+ export type TestRunCaseUncheckedCreateNestedManyWithoutExecRunInput = {
808
+ create?: Prisma.XOR<Prisma.TestRunCaseCreateWithoutExecRunInput, Prisma.TestRunCaseUncheckedCreateWithoutExecRunInput> | Prisma.TestRunCaseCreateWithoutExecRunInput[] | Prisma.TestRunCaseUncheckedCreateWithoutExecRunInput[]
809
+ connectOrCreate?: Prisma.TestRunCaseCreateOrConnectWithoutExecRunInput | Prisma.TestRunCaseCreateOrConnectWithoutExecRunInput[]
810
+ createMany?: Prisma.TestRunCaseCreateManyExecRunInputEnvelope
811
+ connect?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
812
+ }
813
+
814
+ export type TestRunCaseUpdateOneRequiredWithoutExecRunsNestedInput = {
815
+ create?: Prisma.XOR<Prisma.TestRunCaseCreateWithoutExecRunsInput, Prisma.TestRunCaseUncheckedCreateWithoutExecRunsInput>
816
+ connectOrCreate?: Prisma.TestRunCaseCreateOrConnectWithoutExecRunsInput
817
+ upsert?: Prisma.TestRunCaseUpsertWithoutExecRunsInput
818
+ connect?: Prisma.TestRunCaseWhereUniqueInput
819
+ update?: Prisma.XOR<Prisma.XOR<Prisma.TestRunCaseUpdateToOneWithWhereWithoutExecRunsInput, Prisma.TestRunCaseUpdateWithoutExecRunsInput>, Prisma.TestRunCaseUncheckedUpdateWithoutExecRunsInput>
820
+ }
821
+
822
+ export type TestRunCaseUpdateManyWithoutExecRunNestedInput = {
823
+ create?: Prisma.XOR<Prisma.TestRunCaseCreateWithoutExecRunInput, Prisma.TestRunCaseUncheckedCreateWithoutExecRunInput> | Prisma.TestRunCaseCreateWithoutExecRunInput[] | Prisma.TestRunCaseUncheckedCreateWithoutExecRunInput[]
824
+ connectOrCreate?: Prisma.TestRunCaseCreateOrConnectWithoutExecRunInput | Prisma.TestRunCaseCreateOrConnectWithoutExecRunInput[]
825
+ upsert?: Prisma.TestRunCaseUpsertWithWhereUniqueWithoutExecRunInput | Prisma.TestRunCaseUpsertWithWhereUniqueWithoutExecRunInput[]
826
+ createMany?: Prisma.TestRunCaseCreateManyExecRunInputEnvelope
827
+ set?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
828
+ disconnect?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
829
+ delete?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
830
+ connect?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
831
+ update?: Prisma.TestRunCaseUpdateWithWhereUniqueWithoutExecRunInput | Prisma.TestRunCaseUpdateWithWhereUniqueWithoutExecRunInput[]
832
+ updateMany?: Prisma.TestRunCaseUpdateManyWithWhereWithoutExecRunInput | Prisma.TestRunCaseUpdateManyWithWhereWithoutExecRunInput[]
833
+ deleteMany?: Prisma.TestRunCaseScalarWhereInput | Prisma.TestRunCaseScalarWhereInput[]
834
+ }
835
+
836
+ export type TestRunCaseUncheckedUpdateManyWithoutExecRunNestedInput = {
837
+ create?: Prisma.XOR<Prisma.TestRunCaseCreateWithoutExecRunInput, Prisma.TestRunCaseUncheckedCreateWithoutExecRunInput> | Prisma.TestRunCaseCreateWithoutExecRunInput[] | Prisma.TestRunCaseUncheckedCreateWithoutExecRunInput[]
838
+ connectOrCreate?: Prisma.TestRunCaseCreateOrConnectWithoutExecRunInput | Prisma.TestRunCaseCreateOrConnectWithoutExecRunInput[]
839
+ upsert?: Prisma.TestRunCaseUpsertWithWhereUniqueWithoutExecRunInput | Prisma.TestRunCaseUpsertWithWhereUniqueWithoutExecRunInput[]
840
+ createMany?: Prisma.TestRunCaseCreateManyExecRunInputEnvelope
841
+ set?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
842
+ disconnect?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
843
+ delete?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
844
+ connect?: Prisma.TestRunCaseWhereUniqueInput | Prisma.TestRunCaseWhereUniqueInput[]
845
+ update?: Prisma.TestRunCaseUpdateWithWhereUniqueWithoutExecRunInput | Prisma.TestRunCaseUpdateWithWhereUniqueWithoutExecRunInput[]
846
+ updateMany?: Prisma.TestRunCaseUpdateManyWithWhereWithoutExecRunInput | Prisma.TestRunCaseUpdateManyWithWhereWithoutExecRunInput[]
847
+ deleteMany?: Prisma.TestRunCaseScalarWhereInput | Prisma.TestRunCaseScalarWhereInput[]
848
+ }
849
+
850
+ export type TestRunCaseCreateWithoutExecutedByInput = {
851
+ id?: string
852
+ caseVersion: number
853
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
854
+ status?: string
855
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
856
+ actualResult?: string | null
857
+ flaky?: boolean
858
+ fingerprint?: string | null
859
+ startedAt?: Date | string | null
860
+ finishedAt?: Date | string | null
861
+ durationMs?: number | null
862
+ run: Prisma.TestRunCreateNestedOneWithoutCasesInput
863
+ case: Prisma.TestCaseCreateNestedOneWithoutRunCasesInput
864
+ bug?: Prisma.BugCreateNestedOneWithoutRunCasesInput
865
+ execRun?: Prisma.TestExecRunCreateNestedOneWithoutCurrentRunCasesInput
866
+ execRuns?: Prisma.TestExecRunCreateNestedManyWithoutRunCaseInput
867
+ }
868
+
869
+ export type TestRunCaseUncheckedCreateWithoutExecutedByInput = {
870
+ id?: string
871
+ runId: string
872
+ caseId: string
873
+ caseVersion: number
874
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
875
+ status?: string
876
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
877
+ actualResult?: string | null
878
+ bugId?: string | null
879
+ execRunId?: string | null
880
+ flaky?: boolean
881
+ fingerprint?: string | null
882
+ startedAt?: Date | string | null
883
+ finishedAt?: Date | string | null
884
+ durationMs?: number | null
885
+ execRuns?: Prisma.TestExecRunUncheckedCreateNestedManyWithoutRunCaseInput
886
+ }
887
+
888
+ export type TestRunCaseCreateOrConnectWithoutExecutedByInput = {
889
+ where: Prisma.TestRunCaseWhereUniqueInput
890
+ create: Prisma.XOR<Prisma.TestRunCaseCreateWithoutExecutedByInput, Prisma.TestRunCaseUncheckedCreateWithoutExecutedByInput>
891
+ }
892
+
893
+ export type TestRunCaseCreateManyExecutedByInputEnvelope = {
894
+ data: Prisma.TestRunCaseCreateManyExecutedByInput | Prisma.TestRunCaseCreateManyExecutedByInput[]
895
+ skipDuplicates?: boolean
896
+ }
897
+
898
+ export type TestRunCaseUpsertWithWhereUniqueWithoutExecutedByInput = {
899
+ where: Prisma.TestRunCaseWhereUniqueInput
900
+ update: Prisma.XOR<Prisma.TestRunCaseUpdateWithoutExecutedByInput, Prisma.TestRunCaseUncheckedUpdateWithoutExecutedByInput>
901
+ create: Prisma.XOR<Prisma.TestRunCaseCreateWithoutExecutedByInput, Prisma.TestRunCaseUncheckedCreateWithoutExecutedByInput>
902
+ }
903
+
904
+ export type TestRunCaseUpdateWithWhereUniqueWithoutExecutedByInput = {
905
+ where: Prisma.TestRunCaseWhereUniqueInput
906
+ data: Prisma.XOR<Prisma.TestRunCaseUpdateWithoutExecutedByInput, Prisma.TestRunCaseUncheckedUpdateWithoutExecutedByInput>
907
+ }
908
+
909
+ export type TestRunCaseUpdateManyWithWhereWithoutExecutedByInput = {
910
+ where: Prisma.TestRunCaseScalarWhereInput
911
+ data: Prisma.XOR<Prisma.TestRunCaseUpdateManyMutationInput, Prisma.TestRunCaseUncheckedUpdateManyWithoutExecutedByInput>
912
+ }
913
+
914
+ export type TestRunCaseScalarWhereInput = {
915
+ AND?: Prisma.TestRunCaseScalarWhereInput | Prisma.TestRunCaseScalarWhereInput[]
916
+ OR?: Prisma.TestRunCaseScalarWhereInput[]
917
+ NOT?: Prisma.TestRunCaseScalarWhereInput | Prisma.TestRunCaseScalarWhereInput[]
918
+ id?: Prisma.StringFilter<"TestRunCase"> | string
919
+ runId?: Prisma.StringFilter<"TestRunCase"> | string
920
+ caseId?: Prisma.StringFilter<"TestRunCase"> | string
921
+ caseVersion?: Prisma.IntFilter<"TestRunCase"> | number
922
+ caseSnapshot?: Prisma.JsonFilter<"TestRunCase">
923
+ status?: Prisma.StringFilter<"TestRunCase"> | string
924
+ stepResults?: Prisma.JsonNullableFilter<"TestRunCase">
925
+ actualResult?: Prisma.StringNullableFilter<"TestRunCase"> | string | null
926
+ bugId?: Prisma.StringNullableFilter<"TestRunCase"> | string | null
927
+ execRunId?: Prisma.StringNullableFilter<"TestRunCase"> | string | null
928
+ flaky?: Prisma.BoolFilter<"TestRunCase"> | boolean
929
+ fingerprint?: Prisma.StringNullableFilter<"TestRunCase"> | string | null
930
+ startedAt?: Prisma.DateTimeNullableFilter<"TestRunCase"> | Date | string | null
931
+ finishedAt?: Prisma.DateTimeNullableFilter<"TestRunCase"> | Date | string | null
932
+ durationMs?: Prisma.IntNullableFilter<"TestRunCase"> | number | null
933
+ executedById?: Prisma.StringNullableFilter<"TestRunCase"> | string | null
934
+ }
935
+
936
+ export type TestRunCaseCreateWithoutBugInput = {
937
+ id?: string
938
+ caseVersion: number
939
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
940
+ status?: string
941
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
942
+ actualResult?: string | null
943
+ flaky?: boolean
944
+ fingerprint?: string | null
945
+ startedAt?: Date | string | null
946
+ finishedAt?: Date | string | null
947
+ durationMs?: number | null
948
+ run: Prisma.TestRunCreateNestedOneWithoutCasesInput
949
+ case: Prisma.TestCaseCreateNestedOneWithoutRunCasesInput
950
+ execRun?: Prisma.TestExecRunCreateNestedOneWithoutCurrentRunCasesInput
951
+ execRuns?: Prisma.TestExecRunCreateNestedManyWithoutRunCaseInput
952
+ executedBy?: Prisma.UserCreateNestedOneWithoutTestRunCasesExecutedInput
953
+ }
954
+
955
+ export type TestRunCaseUncheckedCreateWithoutBugInput = {
956
+ id?: string
957
+ runId: string
958
+ caseId: string
959
+ caseVersion: number
960
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
961
+ status?: string
962
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
963
+ actualResult?: string | null
964
+ execRunId?: string | null
965
+ flaky?: boolean
966
+ fingerprint?: string | null
967
+ startedAt?: Date | string | null
968
+ finishedAt?: Date | string | null
969
+ durationMs?: number | null
970
+ executedById?: string | null
971
+ execRuns?: Prisma.TestExecRunUncheckedCreateNestedManyWithoutRunCaseInput
972
+ }
973
+
974
+ export type TestRunCaseCreateOrConnectWithoutBugInput = {
975
+ where: Prisma.TestRunCaseWhereUniqueInput
976
+ create: Prisma.XOR<Prisma.TestRunCaseCreateWithoutBugInput, Prisma.TestRunCaseUncheckedCreateWithoutBugInput>
977
+ }
978
+
979
+ export type TestRunCaseCreateManyBugInputEnvelope = {
980
+ data: Prisma.TestRunCaseCreateManyBugInput | Prisma.TestRunCaseCreateManyBugInput[]
981
+ skipDuplicates?: boolean
982
+ }
983
+
984
+ export type TestRunCaseUpsertWithWhereUniqueWithoutBugInput = {
985
+ where: Prisma.TestRunCaseWhereUniqueInput
986
+ update: Prisma.XOR<Prisma.TestRunCaseUpdateWithoutBugInput, Prisma.TestRunCaseUncheckedUpdateWithoutBugInput>
987
+ create: Prisma.XOR<Prisma.TestRunCaseCreateWithoutBugInput, Prisma.TestRunCaseUncheckedCreateWithoutBugInput>
988
+ }
989
+
990
+ export type TestRunCaseUpdateWithWhereUniqueWithoutBugInput = {
991
+ where: Prisma.TestRunCaseWhereUniqueInput
992
+ data: Prisma.XOR<Prisma.TestRunCaseUpdateWithoutBugInput, Prisma.TestRunCaseUncheckedUpdateWithoutBugInput>
993
+ }
994
+
995
+ export type TestRunCaseUpdateManyWithWhereWithoutBugInput = {
996
+ where: Prisma.TestRunCaseScalarWhereInput
997
+ data: Prisma.XOR<Prisma.TestRunCaseUpdateManyMutationInput, Prisma.TestRunCaseUncheckedUpdateManyWithoutBugInput>
998
+ }
999
+
1000
+ export type TestRunCaseCreateWithoutCaseInput = {
1001
+ id?: string
1002
+ caseVersion: number
1003
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1004
+ status?: string
1005
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1006
+ actualResult?: string | null
1007
+ flaky?: boolean
1008
+ fingerprint?: string | null
1009
+ startedAt?: Date | string | null
1010
+ finishedAt?: Date | string | null
1011
+ durationMs?: number | null
1012
+ run: Prisma.TestRunCreateNestedOneWithoutCasesInput
1013
+ bug?: Prisma.BugCreateNestedOneWithoutRunCasesInput
1014
+ execRun?: Prisma.TestExecRunCreateNestedOneWithoutCurrentRunCasesInput
1015
+ execRuns?: Prisma.TestExecRunCreateNestedManyWithoutRunCaseInput
1016
+ executedBy?: Prisma.UserCreateNestedOneWithoutTestRunCasesExecutedInput
1017
+ }
1018
+
1019
+ export type TestRunCaseUncheckedCreateWithoutCaseInput = {
1020
+ id?: string
1021
+ runId: string
1022
+ caseVersion: number
1023
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1024
+ status?: string
1025
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1026
+ actualResult?: string | null
1027
+ bugId?: string | null
1028
+ execRunId?: string | null
1029
+ flaky?: boolean
1030
+ fingerprint?: string | null
1031
+ startedAt?: Date | string | null
1032
+ finishedAt?: Date | string | null
1033
+ durationMs?: number | null
1034
+ executedById?: string | null
1035
+ execRuns?: Prisma.TestExecRunUncheckedCreateNestedManyWithoutRunCaseInput
1036
+ }
1037
+
1038
+ export type TestRunCaseCreateOrConnectWithoutCaseInput = {
1039
+ where: Prisma.TestRunCaseWhereUniqueInput
1040
+ create: Prisma.XOR<Prisma.TestRunCaseCreateWithoutCaseInput, Prisma.TestRunCaseUncheckedCreateWithoutCaseInput>
1041
+ }
1042
+
1043
+ export type TestRunCaseCreateManyCaseInputEnvelope = {
1044
+ data: Prisma.TestRunCaseCreateManyCaseInput | Prisma.TestRunCaseCreateManyCaseInput[]
1045
+ skipDuplicates?: boolean
1046
+ }
1047
+
1048
+ export type TestRunCaseUpsertWithWhereUniqueWithoutCaseInput = {
1049
+ where: Prisma.TestRunCaseWhereUniqueInput
1050
+ update: Prisma.XOR<Prisma.TestRunCaseUpdateWithoutCaseInput, Prisma.TestRunCaseUncheckedUpdateWithoutCaseInput>
1051
+ create: Prisma.XOR<Prisma.TestRunCaseCreateWithoutCaseInput, Prisma.TestRunCaseUncheckedCreateWithoutCaseInput>
1052
+ }
1053
+
1054
+ export type TestRunCaseUpdateWithWhereUniqueWithoutCaseInput = {
1055
+ where: Prisma.TestRunCaseWhereUniqueInput
1056
+ data: Prisma.XOR<Prisma.TestRunCaseUpdateWithoutCaseInput, Prisma.TestRunCaseUncheckedUpdateWithoutCaseInput>
1057
+ }
1058
+
1059
+ export type TestRunCaseUpdateManyWithWhereWithoutCaseInput = {
1060
+ where: Prisma.TestRunCaseScalarWhereInput
1061
+ data: Prisma.XOR<Prisma.TestRunCaseUpdateManyMutationInput, Prisma.TestRunCaseUncheckedUpdateManyWithoutCaseInput>
1062
+ }
1063
+
1064
+ export type TestRunCaseCreateWithoutRunInput = {
1065
+ id?: string
1066
+ caseVersion: number
1067
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1068
+ status?: string
1069
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1070
+ actualResult?: string | null
1071
+ flaky?: boolean
1072
+ fingerprint?: string | null
1073
+ startedAt?: Date | string | null
1074
+ finishedAt?: Date | string | null
1075
+ durationMs?: number | null
1076
+ case: Prisma.TestCaseCreateNestedOneWithoutRunCasesInput
1077
+ bug?: Prisma.BugCreateNestedOneWithoutRunCasesInput
1078
+ execRun?: Prisma.TestExecRunCreateNestedOneWithoutCurrentRunCasesInput
1079
+ execRuns?: Prisma.TestExecRunCreateNestedManyWithoutRunCaseInput
1080
+ executedBy?: Prisma.UserCreateNestedOneWithoutTestRunCasesExecutedInput
1081
+ }
1082
+
1083
+ export type TestRunCaseUncheckedCreateWithoutRunInput = {
1084
+ id?: string
1085
+ caseId: string
1086
+ caseVersion: number
1087
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1088
+ status?: string
1089
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1090
+ actualResult?: string | null
1091
+ bugId?: string | null
1092
+ execRunId?: string | null
1093
+ flaky?: boolean
1094
+ fingerprint?: string | null
1095
+ startedAt?: Date | string | null
1096
+ finishedAt?: Date | string | null
1097
+ durationMs?: number | null
1098
+ executedById?: string | null
1099
+ execRuns?: Prisma.TestExecRunUncheckedCreateNestedManyWithoutRunCaseInput
1100
+ }
1101
+
1102
+ export type TestRunCaseCreateOrConnectWithoutRunInput = {
1103
+ where: Prisma.TestRunCaseWhereUniqueInput
1104
+ create: Prisma.XOR<Prisma.TestRunCaseCreateWithoutRunInput, Prisma.TestRunCaseUncheckedCreateWithoutRunInput>
1105
+ }
1106
+
1107
+ export type TestRunCaseCreateManyRunInputEnvelope = {
1108
+ data: Prisma.TestRunCaseCreateManyRunInput | Prisma.TestRunCaseCreateManyRunInput[]
1109
+ skipDuplicates?: boolean
1110
+ }
1111
+
1112
+ export type TestRunCaseUpsertWithWhereUniqueWithoutRunInput = {
1113
+ where: Prisma.TestRunCaseWhereUniqueInput
1114
+ update: Prisma.XOR<Prisma.TestRunCaseUpdateWithoutRunInput, Prisma.TestRunCaseUncheckedUpdateWithoutRunInput>
1115
+ create: Prisma.XOR<Prisma.TestRunCaseCreateWithoutRunInput, Prisma.TestRunCaseUncheckedCreateWithoutRunInput>
1116
+ }
1117
+
1118
+ export type TestRunCaseUpdateWithWhereUniqueWithoutRunInput = {
1119
+ where: Prisma.TestRunCaseWhereUniqueInput
1120
+ data: Prisma.XOR<Prisma.TestRunCaseUpdateWithoutRunInput, Prisma.TestRunCaseUncheckedUpdateWithoutRunInput>
1121
+ }
1122
+
1123
+ export type TestRunCaseUpdateManyWithWhereWithoutRunInput = {
1124
+ where: Prisma.TestRunCaseScalarWhereInput
1125
+ data: Prisma.XOR<Prisma.TestRunCaseUpdateManyMutationInput, Prisma.TestRunCaseUncheckedUpdateManyWithoutRunInput>
1126
+ }
1127
+
1128
+ export type TestRunCaseCreateWithoutExecRunsInput = {
1129
+ id?: string
1130
+ caseVersion: number
1131
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1132
+ status?: string
1133
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1134
+ actualResult?: string | null
1135
+ flaky?: boolean
1136
+ fingerprint?: string | null
1137
+ startedAt?: Date | string | null
1138
+ finishedAt?: Date | string | null
1139
+ durationMs?: number | null
1140
+ run: Prisma.TestRunCreateNestedOneWithoutCasesInput
1141
+ case: Prisma.TestCaseCreateNestedOneWithoutRunCasesInput
1142
+ bug?: Prisma.BugCreateNestedOneWithoutRunCasesInput
1143
+ execRun?: Prisma.TestExecRunCreateNestedOneWithoutCurrentRunCasesInput
1144
+ executedBy?: Prisma.UserCreateNestedOneWithoutTestRunCasesExecutedInput
1145
+ }
1146
+
1147
+ export type TestRunCaseUncheckedCreateWithoutExecRunsInput = {
1148
+ id?: string
1149
+ runId: string
1150
+ caseId: string
1151
+ caseVersion: number
1152
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1153
+ status?: string
1154
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1155
+ actualResult?: string | null
1156
+ bugId?: string | null
1157
+ execRunId?: string | null
1158
+ flaky?: boolean
1159
+ fingerprint?: string | null
1160
+ startedAt?: Date | string | null
1161
+ finishedAt?: Date | string | null
1162
+ durationMs?: number | null
1163
+ executedById?: string | null
1164
+ }
1165
+
1166
+ export type TestRunCaseCreateOrConnectWithoutExecRunsInput = {
1167
+ where: Prisma.TestRunCaseWhereUniqueInput
1168
+ create: Prisma.XOR<Prisma.TestRunCaseCreateWithoutExecRunsInput, Prisma.TestRunCaseUncheckedCreateWithoutExecRunsInput>
1169
+ }
1170
+
1171
+ export type TestRunCaseCreateWithoutExecRunInput = {
1172
+ id?: string
1173
+ caseVersion: number
1174
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1175
+ status?: string
1176
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1177
+ actualResult?: string | null
1178
+ flaky?: boolean
1179
+ fingerprint?: string | null
1180
+ startedAt?: Date | string | null
1181
+ finishedAt?: Date | string | null
1182
+ durationMs?: number | null
1183
+ run: Prisma.TestRunCreateNestedOneWithoutCasesInput
1184
+ case: Prisma.TestCaseCreateNestedOneWithoutRunCasesInput
1185
+ bug?: Prisma.BugCreateNestedOneWithoutRunCasesInput
1186
+ execRuns?: Prisma.TestExecRunCreateNestedManyWithoutRunCaseInput
1187
+ executedBy?: Prisma.UserCreateNestedOneWithoutTestRunCasesExecutedInput
1188
+ }
1189
+
1190
+ export type TestRunCaseUncheckedCreateWithoutExecRunInput = {
1191
+ id?: string
1192
+ runId: string
1193
+ caseId: string
1194
+ caseVersion: number
1195
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1196
+ status?: string
1197
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1198
+ actualResult?: string | null
1199
+ bugId?: string | null
1200
+ flaky?: boolean
1201
+ fingerprint?: string | null
1202
+ startedAt?: Date | string | null
1203
+ finishedAt?: Date | string | null
1204
+ durationMs?: number | null
1205
+ executedById?: string | null
1206
+ execRuns?: Prisma.TestExecRunUncheckedCreateNestedManyWithoutRunCaseInput
1207
+ }
1208
+
1209
+ export type TestRunCaseCreateOrConnectWithoutExecRunInput = {
1210
+ where: Prisma.TestRunCaseWhereUniqueInput
1211
+ create: Prisma.XOR<Prisma.TestRunCaseCreateWithoutExecRunInput, Prisma.TestRunCaseUncheckedCreateWithoutExecRunInput>
1212
+ }
1213
+
1214
+ export type TestRunCaseCreateManyExecRunInputEnvelope = {
1215
+ data: Prisma.TestRunCaseCreateManyExecRunInput | Prisma.TestRunCaseCreateManyExecRunInput[]
1216
+ skipDuplicates?: boolean
1217
+ }
1218
+
1219
+ export type TestRunCaseUpsertWithoutExecRunsInput = {
1220
+ update: Prisma.XOR<Prisma.TestRunCaseUpdateWithoutExecRunsInput, Prisma.TestRunCaseUncheckedUpdateWithoutExecRunsInput>
1221
+ create: Prisma.XOR<Prisma.TestRunCaseCreateWithoutExecRunsInput, Prisma.TestRunCaseUncheckedCreateWithoutExecRunsInput>
1222
+ where?: Prisma.TestRunCaseWhereInput
1223
+ }
1224
+
1225
+ export type TestRunCaseUpdateToOneWithWhereWithoutExecRunsInput = {
1226
+ where?: Prisma.TestRunCaseWhereInput
1227
+ data: Prisma.XOR<Prisma.TestRunCaseUpdateWithoutExecRunsInput, Prisma.TestRunCaseUncheckedUpdateWithoutExecRunsInput>
1228
+ }
1229
+
1230
+ export type TestRunCaseUpdateWithoutExecRunsInput = {
1231
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1232
+ caseVersion?: Prisma.IntFieldUpdateOperationsInput | number
1233
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1234
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1235
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1236
+ actualResult?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1237
+ flaky?: Prisma.BoolFieldUpdateOperationsInput | boolean
1238
+ fingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1239
+ startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1240
+ finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1241
+ durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1242
+ run?: Prisma.TestRunUpdateOneRequiredWithoutCasesNestedInput
1243
+ case?: Prisma.TestCaseUpdateOneRequiredWithoutRunCasesNestedInput
1244
+ bug?: Prisma.BugUpdateOneWithoutRunCasesNestedInput
1245
+ execRun?: Prisma.TestExecRunUpdateOneWithoutCurrentRunCasesNestedInput
1246
+ executedBy?: Prisma.UserUpdateOneWithoutTestRunCasesExecutedNestedInput
1247
+ }
1248
+
1249
+ export type TestRunCaseUncheckedUpdateWithoutExecRunsInput = {
1250
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1251
+ runId?: Prisma.StringFieldUpdateOperationsInput | string
1252
+ caseId?: Prisma.StringFieldUpdateOperationsInput | string
1253
+ caseVersion?: Prisma.IntFieldUpdateOperationsInput | number
1254
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1255
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1256
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1257
+ actualResult?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1258
+ bugId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1259
+ execRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1260
+ flaky?: Prisma.BoolFieldUpdateOperationsInput | boolean
1261
+ fingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1262
+ startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1263
+ finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1264
+ durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1265
+ executedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1266
+ }
1267
+
1268
+ export type TestRunCaseUpsertWithWhereUniqueWithoutExecRunInput = {
1269
+ where: Prisma.TestRunCaseWhereUniqueInput
1270
+ update: Prisma.XOR<Prisma.TestRunCaseUpdateWithoutExecRunInput, Prisma.TestRunCaseUncheckedUpdateWithoutExecRunInput>
1271
+ create: Prisma.XOR<Prisma.TestRunCaseCreateWithoutExecRunInput, Prisma.TestRunCaseUncheckedCreateWithoutExecRunInput>
1272
+ }
1273
+
1274
+ export type TestRunCaseUpdateWithWhereUniqueWithoutExecRunInput = {
1275
+ where: Prisma.TestRunCaseWhereUniqueInput
1276
+ data: Prisma.XOR<Prisma.TestRunCaseUpdateWithoutExecRunInput, Prisma.TestRunCaseUncheckedUpdateWithoutExecRunInput>
1277
+ }
1278
+
1279
+ export type TestRunCaseUpdateManyWithWhereWithoutExecRunInput = {
1280
+ where: Prisma.TestRunCaseScalarWhereInput
1281
+ data: Prisma.XOR<Prisma.TestRunCaseUpdateManyMutationInput, Prisma.TestRunCaseUncheckedUpdateManyWithoutExecRunInput>
1282
+ }
1283
+
1284
+ export type TestRunCaseCreateManyExecutedByInput = {
1285
+ id?: string
1286
+ runId: string
1287
+ caseId: string
1288
+ caseVersion: number
1289
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1290
+ status?: string
1291
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1292
+ actualResult?: string | null
1293
+ bugId?: string | null
1294
+ execRunId?: string | null
1295
+ flaky?: boolean
1296
+ fingerprint?: string | null
1297
+ startedAt?: Date | string | null
1298
+ finishedAt?: Date | string | null
1299
+ durationMs?: number | null
1300
+ }
1301
+
1302
+ export type TestRunCaseUpdateWithoutExecutedByInput = {
1303
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1304
+ caseVersion?: Prisma.IntFieldUpdateOperationsInput | number
1305
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1306
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1307
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1308
+ actualResult?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1309
+ flaky?: Prisma.BoolFieldUpdateOperationsInput | boolean
1310
+ fingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1311
+ startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1312
+ finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1313
+ durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1314
+ run?: Prisma.TestRunUpdateOneRequiredWithoutCasesNestedInput
1315
+ case?: Prisma.TestCaseUpdateOneRequiredWithoutRunCasesNestedInput
1316
+ bug?: Prisma.BugUpdateOneWithoutRunCasesNestedInput
1317
+ execRun?: Prisma.TestExecRunUpdateOneWithoutCurrentRunCasesNestedInput
1318
+ execRuns?: Prisma.TestExecRunUpdateManyWithoutRunCaseNestedInput
1319
+ }
1320
+
1321
+ export type TestRunCaseUncheckedUpdateWithoutExecutedByInput = {
1322
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1323
+ runId?: Prisma.StringFieldUpdateOperationsInput | string
1324
+ caseId?: Prisma.StringFieldUpdateOperationsInput | string
1325
+ caseVersion?: Prisma.IntFieldUpdateOperationsInput | number
1326
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1327
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1328
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1329
+ actualResult?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1330
+ bugId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1331
+ execRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1332
+ flaky?: Prisma.BoolFieldUpdateOperationsInput | boolean
1333
+ fingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1334
+ startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1335
+ finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1336
+ durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1337
+ execRuns?: Prisma.TestExecRunUncheckedUpdateManyWithoutRunCaseNestedInput
1338
+ }
1339
+
1340
+ export type TestRunCaseUncheckedUpdateManyWithoutExecutedByInput = {
1341
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1342
+ runId?: Prisma.StringFieldUpdateOperationsInput | string
1343
+ caseId?: Prisma.StringFieldUpdateOperationsInput | string
1344
+ caseVersion?: Prisma.IntFieldUpdateOperationsInput | number
1345
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1346
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1347
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1348
+ actualResult?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1349
+ bugId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1350
+ execRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1351
+ flaky?: Prisma.BoolFieldUpdateOperationsInput | boolean
1352
+ fingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1353
+ startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1354
+ finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1355
+ durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1356
+ }
1357
+
1358
+ export type TestRunCaseCreateManyBugInput = {
1359
+ id?: string
1360
+ runId: string
1361
+ caseId: string
1362
+ caseVersion: number
1363
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1364
+ status?: string
1365
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1366
+ actualResult?: string | null
1367
+ execRunId?: string | null
1368
+ flaky?: boolean
1369
+ fingerprint?: string | null
1370
+ startedAt?: Date | string | null
1371
+ finishedAt?: Date | string | null
1372
+ durationMs?: number | null
1373
+ executedById?: string | null
1374
+ }
1375
+
1376
+ export type TestRunCaseUpdateWithoutBugInput = {
1377
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1378
+ caseVersion?: Prisma.IntFieldUpdateOperationsInput | number
1379
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1380
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1381
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1382
+ actualResult?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1383
+ flaky?: Prisma.BoolFieldUpdateOperationsInput | boolean
1384
+ fingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1385
+ startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1386
+ finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1387
+ durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1388
+ run?: Prisma.TestRunUpdateOneRequiredWithoutCasesNestedInput
1389
+ case?: Prisma.TestCaseUpdateOneRequiredWithoutRunCasesNestedInput
1390
+ execRun?: Prisma.TestExecRunUpdateOneWithoutCurrentRunCasesNestedInput
1391
+ execRuns?: Prisma.TestExecRunUpdateManyWithoutRunCaseNestedInput
1392
+ executedBy?: Prisma.UserUpdateOneWithoutTestRunCasesExecutedNestedInput
1393
+ }
1394
+
1395
+ export type TestRunCaseUncheckedUpdateWithoutBugInput = {
1396
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1397
+ runId?: Prisma.StringFieldUpdateOperationsInput | string
1398
+ caseId?: Prisma.StringFieldUpdateOperationsInput | string
1399
+ caseVersion?: Prisma.IntFieldUpdateOperationsInput | number
1400
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1401
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1402
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1403
+ actualResult?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1404
+ execRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1405
+ flaky?: Prisma.BoolFieldUpdateOperationsInput | boolean
1406
+ fingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1407
+ startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1408
+ finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1409
+ durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1410
+ executedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1411
+ execRuns?: Prisma.TestExecRunUncheckedUpdateManyWithoutRunCaseNestedInput
1412
+ }
1413
+
1414
+ export type TestRunCaseUncheckedUpdateManyWithoutBugInput = {
1415
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1416
+ runId?: Prisma.StringFieldUpdateOperationsInput | string
1417
+ caseId?: Prisma.StringFieldUpdateOperationsInput | string
1418
+ caseVersion?: Prisma.IntFieldUpdateOperationsInput | number
1419
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1420
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1421
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1422
+ actualResult?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1423
+ execRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1424
+ flaky?: Prisma.BoolFieldUpdateOperationsInput | boolean
1425
+ fingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1426
+ startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1427
+ finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1428
+ durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1429
+ executedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1430
+ }
1431
+
1432
+ export type TestRunCaseCreateManyCaseInput = {
1433
+ id?: string
1434
+ runId: string
1435
+ caseVersion: number
1436
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1437
+ status?: string
1438
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1439
+ actualResult?: string | null
1440
+ bugId?: string | null
1441
+ execRunId?: string | null
1442
+ flaky?: boolean
1443
+ fingerprint?: string | null
1444
+ startedAt?: Date | string | null
1445
+ finishedAt?: Date | string | null
1446
+ durationMs?: number | null
1447
+ executedById?: string | null
1448
+ }
1449
+
1450
+ export type TestRunCaseUpdateWithoutCaseInput = {
1451
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1452
+ caseVersion?: Prisma.IntFieldUpdateOperationsInput | number
1453
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1454
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1455
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1456
+ actualResult?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1457
+ flaky?: Prisma.BoolFieldUpdateOperationsInput | boolean
1458
+ fingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1459
+ startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1460
+ finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1461
+ durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1462
+ run?: Prisma.TestRunUpdateOneRequiredWithoutCasesNestedInput
1463
+ bug?: Prisma.BugUpdateOneWithoutRunCasesNestedInput
1464
+ execRun?: Prisma.TestExecRunUpdateOneWithoutCurrentRunCasesNestedInput
1465
+ execRuns?: Prisma.TestExecRunUpdateManyWithoutRunCaseNestedInput
1466
+ executedBy?: Prisma.UserUpdateOneWithoutTestRunCasesExecutedNestedInput
1467
+ }
1468
+
1469
+ export type TestRunCaseUncheckedUpdateWithoutCaseInput = {
1470
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1471
+ runId?: Prisma.StringFieldUpdateOperationsInput | string
1472
+ caseVersion?: Prisma.IntFieldUpdateOperationsInput | number
1473
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1474
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1475
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1476
+ actualResult?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1477
+ bugId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1478
+ execRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1479
+ flaky?: Prisma.BoolFieldUpdateOperationsInput | boolean
1480
+ fingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1481
+ startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1482
+ finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1483
+ durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1484
+ executedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1485
+ execRuns?: Prisma.TestExecRunUncheckedUpdateManyWithoutRunCaseNestedInput
1486
+ }
1487
+
1488
+ export type TestRunCaseUncheckedUpdateManyWithoutCaseInput = {
1489
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1490
+ runId?: Prisma.StringFieldUpdateOperationsInput | string
1491
+ caseVersion?: Prisma.IntFieldUpdateOperationsInput | number
1492
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1493
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1494
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1495
+ actualResult?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1496
+ bugId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1497
+ execRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1498
+ flaky?: Prisma.BoolFieldUpdateOperationsInput | boolean
1499
+ fingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1500
+ startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1501
+ finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1502
+ durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1503
+ executedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1504
+ }
1505
+
1506
+ export type TestRunCaseCreateManyRunInput = {
1507
+ id?: string
1508
+ caseId: string
1509
+ caseVersion: number
1510
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1511
+ status?: string
1512
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1513
+ actualResult?: string | null
1514
+ bugId?: string | null
1515
+ execRunId?: string | null
1516
+ flaky?: boolean
1517
+ fingerprint?: string | null
1518
+ startedAt?: Date | string | null
1519
+ finishedAt?: Date | string | null
1520
+ durationMs?: number | null
1521
+ executedById?: string | null
1522
+ }
1523
+
1524
+ export type TestRunCaseUpdateWithoutRunInput = {
1525
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1526
+ caseVersion?: Prisma.IntFieldUpdateOperationsInput | number
1527
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1528
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1529
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1530
+ actualResult?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1531
+ flaky?: Prisma.BoolFieldUpdateOperationsInput | boolean
1532
+ fingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1533
+ startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1534
+ finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1535
+ durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1536
+ case?: Prisma.TestCaseUpdateOneRequiredWithoutRunCasesNestedInput
1537
+ bug?: Prisma.BugUpdateOneWithoutRunCasesNestedInput
1538
+ execRun?: Prisma.TestExecRunUpdateOneWithoutCurrentRunCasesNestedInput
1539
+ execRuns?: Prisma.TestExecRunUpdateManyWithoutRunCaseNestedInput
1540
+ executedBy?: Prisma.UserUpdateOneWithoutTestRunCasesExecutedNestedInput
1541
+ }
1542
+
1543
+ export type TestRunCaseUncheckedUpdateWithoutRunInput = {
1544
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1545
+ caseId?: Prisma.StringFieldUpdateOperationsInput | string
1546
+ caseVersion?: Prisma.IntFieldUpdateOperationsInput | number
1547
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1548
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1549
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1550
+ actualResult?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1551
+ bugId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1552
+ execRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1553
+ flaky?: Prisma.BoolFieldUpdateOperationsInput | boolean
1554
+ fingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1555
+ startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1556
+ finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1557
+ durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1558
+ executedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1559
+ execRuns?: Prisma.TestExecRunUncheckedUpdateManyWithoutRunCaseNestedInput
1560
+ }
1561
+
1562
+ export type TestRunCaseUncheckedUpdateManyWithoutRunInput = {
1563
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1564
+ caseId?: Prisma.StringFieldUpdateOperationsInput | string
1565
+ caseVersion?: Prisma.IntFieldUpdateOperationsInput | number
1566
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1567
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1568
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1569
+ actualResult?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1570
+ bugId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1571
+ execRunId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1572
+ flaky?: Prisma.BoolFieldUpdateOperationsInput | boolean
1573
+ fingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1574
+ startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1575
+ finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1576
+ durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1577
+ executedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1578
+ }
1579
+
1580
+ export type TestRunCaseCreateManyExecRunInput = {
1581
+ id?: string
1582
+ runId: string
1583
+ caseId: string
1584
+ caseVersion: number
1585
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1586
+ status?: string
1587
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1588
+ actualResult?: string | null
1589
+ bugId?: string | null
1590
+ flaky?: boolean
1591
+ fingerprint?: string | null
1592
+ startedAt?: Date | string | null
1593
+ finishedAt?: Date | string | null
1594
+ durationMs?: number | null
1595
+ executedById?: string | null
1596
+ }
1597
+
1598
+ export type TestRunCaseUpdateWithoutExecRunInput = {
1599
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1600
+ caseVersion?: Prisma.IntFieldUpdateOperationsInput | number
1601
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1602
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1603
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1604
+ actualResult?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1605
+ flaky?: Prisma.BoolFieldUpdateOperationsInput | boolean
1606
+ fingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1607
+ startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1608
+ finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1609
+ durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1610
+ run?: Prisma.TestRunUpdateOneRequiredWithoutCasesNestedInput
1611
+ case?: Prisma.TestCaseUpdateOneRequiredWithoutRunCasesNestedInput
1612
+ bug?: Prisma.BugUpdateOneWithoutRunCasesNestedInput
1613
+ execRuns?: Prisma.TestExecRunUpdateManyWithoutRunCaseNestedInput
1614
+ executedBy?: Prisma.UserUpdateOneWithoutTestRunCasesExecutedNestedInput
1615
+ }
1616
+
1617
+ export type TestRunCaseUncheckedUpdateWithoutExecRunInput = {
1618
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1619
+ runId?: Prisma.StringFieldUpdateOperationsInput | string
1620
+ caseId?: Prisma.StringFieldUpdateOperationsInput | string
1621
+ caseVersion?: Prisma.IntFieldUpdateOperationsInput | number
1622
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1623
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1624
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1625
+ actualResult?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1626
+ bugId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1627
+ flaky?: Prisma.BoolFieldUpdateOperationsInput | boolean
1628
+ fingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1629
+ startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1630
+ finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1631
+ durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1632
+ executedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1633
+ execRuns?: Prisma.TestExecRunUncheckedUpdateManyWithoutRunCaseNestedInput
1634
+ }
1635
+
1636
+ export type TestRunCaseUncheckedUpdateManyWithoutExecRunInput = {
1637
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1638
+ runId?: Prisma.StringFieldUpdateOperationsInput | string
1639
+ caseId?: Prisma.StringFieldUpdateOperationsInput | string
1640
+ caseVersion?: Prisma.IntFieldUpdateOperationsInput | number
1641
+ caseSnapshot?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1642
+ status?: Prisma.StringFieldUpdateOperationsInput | string
1643
+ stepResults?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1644
+ actualResult?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1645
+ bugId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1646
+ flaky?: Prisma.BoolFieldUpdateOperationsInput | boolean
1647
+ fingerprint?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1648
+ startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1649
+ finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1650
+ durationMs?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
1651
+ executedById?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1652
+ }
1653
+
1654
+
1655
+ /**
1656
+ * Count Type TestRunCaseCountOutputType
1657
+ */
1658
+
1659
+ export type TestRunCaseCountOutputType = {
1660
+ execRuns: number
1661
+ }
1662
+
1663
+ export type TestRunCaseCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1664
+ execRuns?: boolean | TestRunCaseCountOutputTypeCountExecRunsArgs
1665
+ }
1666
+
1667
+ /**
1668
+ * TestRunCaseCountOutputType without action
1669
+ */
1670
+ export type TestRunCaseCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1671
+ /**
1672
+ * Select specific fields to fetch from the TestRunCaseCountOutputType
1673
+ */
1674
+ select?: Prisma.TestRunCaseCountOutputTypeSelect<ExtArgs> | null
1675
+ }
1676
+
1677
+ /**
1678
+ * TestRunCaseCountOutputType without action
1679
+ */
1680
+ export type TestRunCaseCountOutputTypeCountExecRunsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1681
+ where?: Prisma.TestExecRunWhereInput
1682
+ }
1683
+
1684
+
1685
+ export type TestRunCaseSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1686
+ id?: boolean
1687
+ runId?: boolean
1688
+ caseId?: boolean
1689
+ caseVersion?: boolean
1690
+ caseSnapshot?: boolean
1691
+ status?: boolean
1692
+ stepResults?: boolean
1693
+ actualResult?: boolean
1694
+ bugId?: boolean
1695
+ execRunId?: boolean
1696
+ flaky?: boolean
1697
+ fingerprint?: boolean
1698
+ startedAt?: boolean
1699
+ finishedAt?: boolean
1700
+ durationMs?: boolean
1701
+ executedById?: boolean
1702
+ run?: boolean | Prisma.TestRunDefaultArgs<ExtArgs>
1703
+ case?: boolean | Prisma.TestCaseDefaultArgs<ExtArgs>
1704
+ bug?: boolean | Prisma.TestRunCase$bugArgs<ExtArgs>
1705
+ execRun?: boolean | Prisma.TestRunCase$execRunArgs<ExtArgs>
1706
+ execRuns?: boolean | Prisma.TestRunCase$execRunsArgs<ExtArgs>
1707
+ executedBy?: boolean | Prisma.TestRunCase$executedByArgs<ExtArgs>
1708
+ _count?: boolean | Prisma.TestRunCaseCountOutputTypeDefaultArgs<ExtArgs>
1709
+ }, ExtArgs["result"]["testRunCase"]>
1710
+
1711
+ export type TestRunCaseSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1712
+ id?: boolean
1713
+ runId?: boolean
1714
+ caseId?: boolean
1715
+ caseVersion?: boolean
1716
+ caseSnapshot?: boolean
1717
+ status?: boolean
1718
+ stepResults?: boolean
1719
+ actualResult?: boolean
1720
+ bugId?: boolean
1721
+ execRunId?: boolean
1722
+ flaky?: boolean
1723
+ fingerprint?: boolean
1724
+ startedAt?: boolean
1725
+ finishedAt?: boolean
1726
+ durationMs?: boolean
1727
+ executedById?: boolean
1728
+ run?: boolean | Prisma.TestRunDefaultArgs<ExtArgs>
1729
+ case?: boolean | Prisma.TestCaseDefaultArgs<ExtArgs>
1730
+ bug?: boolean | Prisma.TestRunCase$bugArgs<ExtArgs>
1731
+ execRun?: boolean | Prisma.TestRunCase$execRunArgs<ExtArgs>
1732
+ executedBy?: boolean | Prisma.TestRunCase$executedByArgs<ExtArgs>
1733
+ }, ExtArgs["result"]["testRunCase"]>
1734
+
1735
+ export type TestRunCaseSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1736
+ id?: boolean
1737
+ runId?: boolean
1738
+ caseId?: boolean
1739
+ caseVersion?: boolean
1740
+ caseSnapshot?: boolean
1741
+ status?: boolean
1742
+ stepResults?: boolean
1743
+ actualResult?: boolean
1744
+ bugId?: boolean
1745
+ execRunId?: boolean
1746
+ flaky?: boolean
1747
+ fingerprint?: boolean
1748
+ startedAt?: boolean
1749
+ finishedAt?: boolean
1750
+ durationMs?: boolean
1751
+ executedById?: boolean
1752
+ run?: boolean | Prisma.TestRunDefaultArgs<ExtArgs>
1753
+ case?: boolean | Prisma.TestCaseDefaultArgs<ExtArgs>
1754
+ bug?: boolean | Prisma.TestRunCase$bugArgs<ExtArgs>
1755
+ execRun?: boolean | Prisma.TestRunCase$execRunArgs<ExtArgs>
1756
+ executedBy?: boolean | Prisma.TestRunCase$executedByArgs<ExtArgs>
1757
+ }, ExtArgs["result"]["testRunCase"]>
1758
+
1759
+ export type TestRunCaseSelectScalar = {
1760
+ id?: boolean
1761
+ runId?: boolean
1762
+ caseId?: boolean
1763
+ caseVersion?: boolean
1764
+ caseSnapshot?: boolean
1765
+ status?: boolean
1766
+ stepResults?: boolean
1767
+ actualResult?: boolean
1768
+ bugId?: boolean
1769
+ execRunId?: boolean
1770
+ flaky?: boolean
1771
+ fingerprint?: boolean
1772
+ startedAt?: boolean
1773
+ finishedAt?: boolean
1774
+ durationMs?: boolean
1775
+ executedById?: boolean
1776
+ }
1777
+
1778
+ export type TestRunCaseOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "runId" | "caseId" | "caseVersion" | "caseSnapshot" | "status" | "stepResults" | "actualResult" | "bugId" | "execRunId" | "flaky" | "fingerprint" | "startedAt" | "finishedAt" | "durationMs" | "executedById", ExtArgs["result"]["testRunCase"]>
1779
+ export type TestRunCaseInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1780
+ run?: boolean | Prisma.TestRunDefaultArgs<ExtArgs>
1781
+ case?: boolean | Prisma.TestCaseDefaultArgs<ExtArgs>
1782
+ bug?: boolean | Prisma.TestRunCase$bugArgs<ExtArgs>
1783
+ execRun?: boolean | Prisma.TestRunCase$execRunArgs<ExtArgs>
1784
+ execRuns?: boolean | Prisma.TestRunCase$execRunsArgs<ExtArgs>
1785
+ executedBy?: boolean | Prisma.TestRunCase$executedByArgs<ExtArgs>
1786
+ _count?: boolean | Prisma.TestRunCaseCountOutputTypeDefaultArgs<ExtArgs>
1787
+ }
1788
+ export type TestRunCaseIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1789
+ run?: boolean | Prisma.TestRunDefaultArgs<ExtArgs>
1790
+ case?: boolean | Prisma.TestCaseDefaultArgs<ExtArgs>
1791
+ bug?: boolean | Prisma.TestRunCase$bugArgs<ExtArgs>
1792
+ execRun?: boolean | Prisma.TestRunCase$execRunArgs<ExtArgs>
1793
+ executedBy?: boolean | Prisma.TestRunCase$executedByArgs<ExtArgs>
1794
+ }
1795
+ export type TestRunCaseIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1796
+ run?: boolean | Prisma.TestRunDefaultArgs<ExtArgs>
1797
+ case?: boolean | Prisma.TestCaseDefaultArgs<ExtArgs>
1798
+ bug?: boolean | Prisma.TestRunCase$bugArgs<ExtArgs>
1799
+ execRun?: boolean | Prisma.TestRunCase$execRunArgs<ExtArgs>
1800
+ executedBy?: boolean | Prisma.TestRunCase$executedByArgs<ExtArgs>
1801
+ }
1802
+
1803
+ export type $TestRunCasePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1804
+ name: "TestRunCase"
1805
+ objects: {
1806
+ run: Prisma.$TestRunPayload<ExtArgs>
1807
+ case: Prisma.$TestCasePayload<ExtArgs>
1808
+ bug: Prisma.$BugPayload<ExtArgs> | null
1809
+ execRun: Prisma.$TestExecRunPayload<ExtArgs> | null
1810
+ execRuns: Prisma.$TestExecRunPayload<ExtArgs>[]
1811
+ executedBy: Prisma.$UserPayload<ExtArgs> | null
1812
+ }
1813
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
1814
+ id: string
1815
+ runId: string
1816
+ caseId: string
1817
+ caseVersion: number
1818
+ caseSnapshot: runtime.JsonValue
1819
+ status: string
1820
+ stepResults: runtime.JsonValue | null
1821
+ actualResult: string | null
1822
+ bugId: string | null
1823
+ execRunId: string | null
1824
+ flaky: boolean
1825
+ fingerprint: string | null
1826
+ startedAt: Date | null
1827
+ finishedAt: Date | null
1828
+ durationMs: number | null
1829
+ executedById: string | null
1830
+ }, ExtArgs["result"]["testRunCase"]>
1831
+ composites: {}
1832
+ }
1833
+
1834
+ export type TestRunCaseGetPayload<S extends boolean | null | undefined | TestRunCaseDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$TestRunCasePayload, S>
1835
+
1836
+ export type TestRunCaseCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1837
+ Omit<TestRunCaseFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1838
+ select?: TestRunCaseCountAggregateInputType | true
1839
+ }
1840
+
1841
+ export interface TestRunCaseDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1842
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['TestRunCase'], meta: { name: 'TestRunCase' } }
1843
+ /**
1844
+ * Find zero or one TestRunCase that matches the filter.
1845
+ * @param {TestRunCaseFindUniqueArgs} args - Arguments to find a TestRunCase
1846
+ * @example
1847
+ * // Get one TestRunCase
1848
+ * const testRunCase = await prisma.testRunCase.findUnique({
1849
+ * where: {
1850
+ * // ... provide filter here
1851
+ * }
1852
+ * })
1853
+ */
1854
+ findUnique<T extends TestRunCaseFindUniqueArgs>(args: Prisma.SelectSubset<T, TestRunCaseFindUniqueArgs<ExtArgs>>): Prisma.Prisma__TestRunCaseClient<runtime.Types.Result.GetResult<Prisma.$TestRunCasePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1855
+
1856
+ /**
1857
+ * Find one TestRunCase that matches the filter or throw an error with `error.code='P2025'`
1858
+ * if no matches were found.
1859
+ * @param {TestRunCaseFindUniqueOrThrowArgs} args - Arguments to find a TestRunCase
1860
+ * @example
1861
+ * // Get one TestRunCase
1862
+ * const testRunCase = await prisma.testRunCase.findUniqueOrThrow({
1863
+ * where: {
1864
+ * // ... provide filter here
1865
+ * }
1866
+ * })
1867
+ */
1868
+ findUniqueOrThrow<T extends TestRunCaseFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, TestRunCaseFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__TestRunCaseClient<runtime.Types.Result.GetResult<Prisma.$TestRunCasePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1869
+
1870
+ /**
1871
+ * Find the first TestRunCase that matches the filter.
1872
+ * Note, that providing `undefined` is treated as the value not being there.
1873
+ * Read more here: https://pris.ly/d/null-undefined
1874
+ * @param {TestRunCaseFindFirstArgs} args - Arguments to find a TestRunCase
1875
+ * @example
1876
+ * // Get one TestRunCase
1877
+ * const testRunCase = await prisma.testRunCase.findFirst({
1878
+ * where: {
1879
+ * // ... provide filter here
1880
+ * }
1881
+ * })
1882
+ */
1883
+ findFirst<T extends TestRunCaseFindFirstArgs>(args?: Prisma.SelectSubset<T, TestRunCaseFindFirstArgs<ExtArgs>>): Prisma.Prisma__TestRunCaseClient<runtime.Types.Result.GetResult<Prisma.$TestRunCasePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1884
+
1885
+ /**
1886
+ * Find the first TestRunCase that matches the filter or
1887
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1888
+ * Note, that providing `undefined` is treated as the value not being there.
1889
+ * Read more here: https://pris.ly/d/null-undefined
1890
+ * @param {TestRunCaseFindFirstOrThrowArgs} args - Arguments to find a TestRunCase
1891
+ * @example
1892
+ * // Get one TestRunCase
1893
+ * const testRunCase = await prisma.testRunCase.findFirstOrThrow({
1894
+ * where: {
1895
+ * // ... provide filter here
1896
+ * }
1897
+ * })
1898
+ */
1899
+ findFirstOrThrow<T extends TestRunCaseFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, TestRunCaseFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__TestRunCaseClient<runtime.Types.Result.GetResult<Prisma.$TestRunCasePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1900
+
1901
+ /**
1902
+ * Find zero or more TestRunCases that matches the filter.
1903
+ * Note, that providing `undefined` is treated as the value not being there.
1904
+ * Read more here: https://pris.ly/d/null-undefined
1905
+ * @param {TestRunCaseFindManyArgs} args - Arguments to filter and select certain fields only.
1906
+ * @example
1907
+ * // Get all TestRunCases
1908
+ * const testRunCases = await prisma.testRunCase.findMany()
1909
+ *
1910
+ * // Get first 10 TestRunCases
1911
+ * const testRunCases = await prisma.testRunCase.findMany({ take: 10 })
1912
+ *
1913
+ * // Only select the `id`
1914
+ * const testRunCaseWithIdOnly = await prisma.testRunCase.findMany({ select: { id: true } })
1915
+ *
1916
+ */
1917
+ findMany<T extends TestRunCaseFindManyArgs>(args?: Prisma.SelectSubset<T, TestRunCaseFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TestRunCasePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1918
+
1919
+ /**
1920
+ * Create a TestRunCase.
1921
+ * @param {TestRunCaseCreateArgs} args - Arguments to create a TestRunCase.
1922
+ * @example
1923
+ * // Create one TestRunCase
1924
+ * const TestRunCase = await prisma.testRunCase.create({
1925
+ * data: {
1926
+ * // ... data to create a TestRunCase
1927
+ * }
1928
+ * })
1929
+ *
1930
+ */
1931
+ create<T extends TestRunCaseCreateArgs>(args: Prisma.SelectSubset<T, TestRunCaseCreateArgs<ExtArgs>>): Prisma.Prisma__TestRunCaseClient<runtime.Types.Result.GetResult<Prisma.$TestRunCasePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1932
+
1933
+ /**
1934
+ * Create many TestRunCases.
1935
+ * @param {TestRunCaseCreateManyArgs} args - Arguments to create many TestRunCases.
1936
+ * @example
1937
+ * // Create many TestRunCases
1938
+ * const testRunCase = await prisma.testRunCase.createMany({
1939
+ * data: [
1940
+ * // ... provide data here
1941
+ * ]
1942
+ * })
1943
+ *
1944
+ */
1945
+ createMany<T extends TestRunCaseCreateManyArgs>(args?: Prisma.SelectSubset<T, TestRunCaseCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1946
+
1947
+ /**
1948
+ * Create many TestRunCases and returns the data saved in the database.
1949
+ * @param {TestRunCaseCreateManyAndReturnArgs} args - Arguments to create many TestRunCases.
1950
+ * @example
1951
+ * // Create many TestRunCases
1952
+ * const testRunCase = await prisma.testRunCase.createManyAndReturn({
1953
+ * data: [
1954
+ * // ... provide data here
1955
+ * ]
1956
+ * })
1957
+ *
1958
+ * // Create many TestRunCases and only return the `id`
1959
+ * const testRunCaseWithIdOnly = await prisma.testRunCase.createManyAndReturn({
1960
+ * select: { id: true },
1961
+ * data: [
1962
+ * // ... provide data here
1963
+ * ]
1964
+ * })
1965
+ * Note, that providing `undefined` is treated as the value not being there.
1966
+ * Read more here: https://pris.ly/d/null-undefined
1967
+ *
1968
+ */
1969
+ createManyAndReturn<T extends TestRunCaseCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, TestRunCaseCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TestRunCasePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1970
+
1971
+ /**
1972
+ * Delete a TestRunCase.
1973
+ * @param {TestRunCaseDeleteArgs} args - Arguments to delete one TestRunCase.
1974
+ * @example
1975
+ * // Delete one TestRunCase
1976
+ * const TestRunCase = await prisma.testRunCase.delete({
1977
+ * where: {
1978
+ * // ... filter to delete one TestRunCase
1979
+ * }
1980
+ * })
1981
+ *
1982
+ */
1983
+ delete<T extends TestRunCaseDeleteArgs>(args: Prisma.SelectSubset<T, TestRunCaseDeleteArgs<ExtArgs>>): Prisma.Prisma__TestRunCaseClient<runtime.Types.Result.GetResult<Prisma.$TestRunCasePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1984
+
1985
+ /**
1986
+ * Update one TestRunCase.
1987
+ * @param {TestRunCaseUpdateArgs} args - Arguments to update one TestRunCase.
1988
+ * @example
1989
+ * // Update one TestRunCase
1990
+ * const testRunCase = await prisma.testRunCase.update({
1991
+ * where: {
1992
+ * // ... provide filter here
1993
+ * },
1994
+ * data: {
1995
+ * // ... provide data here
1996
+ * }
1997
+ * })
1998
+ *
1999
+ */
2000
+ update<T extends TestRunCaseUpdateArgs>(args: Prisma.SelectSubset<T, TestRunCaseUpdateArgs<ExtArgs>>): Prisma.Prisma__TestRunCaseClient<runtime.Types.Result.GetResult<Prisma.$TestRunCasePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2001
+
2002
+ /**
2003
+ * Delete zero or more TestRunCases.
2004
+ * @param {TestRunCaseDeleteManyArgs} args - Arguments to filter TestRunCases to delete.
2005
+ * @example
2006
+ * // Delete a few TestRunCases
2007
+ * const { count } = await prisma.testRunCase.deleteMany({
2008
+ * where: {
2009
+ * // ... provide filter here
2010
+ * }
2011
+ * })
2012
+ *
2013
+ */
2014
+ deleteMany<T extends TestRunCaseDeleteManyArgs>(args?: Prisma.SelectSubset<T, TestRunCaseDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
2015
+
2016
+ /**
2017
+ * Update zero or more TestRunCases.
2018
+ * Note, that providing `undefined` is treated as the value not being there.
2019
+ * Read more here: https://pris.ly/d/null-undefined
2020
+ * @param {TestRunCaseUpdateManyArgs} args - Arguments to update one or more rows.
2021
+ * @example
2022
+ * // Update many TestRunCases
2023
+ * const testRunCase = await prisma.testRunCase.updateMany({
2024
+ * where: {
2025
+ * // ... provide filter here
2026
+ * },
2027
+ * data: {
2028
+ * // ... provide data here
2029
+ * }
2030
+ * })
2031
+ *
2032
+ */
2033
+ updateMany<T extends TestRunCaseUpdateManyArgs>(args: Prisma.SelectSubset<T, TestRunCaseUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
2034
+
2035
+ /**
2036
+ * Update zero or more TestRunCases and returns the data updated in the database.
2037
+ * @param {TestRunCaseUpdateManyAndReturnArgs} args - Arguments to update many TestRunCases.
2038
+ * @example
2039
+ * // Update many TestRunCases
2040
+ * const testRunCase = await prisma.testRunCase.updateManyAndReturn({
2041
+ * where: {
2042
+ * // ... provide filter here
2043
+ * },
2044
+ * data: [
2045
+ * // ... provide data here
2046
+ * ]
2047
+ * })
2048
+ *
2049
+ * // Update zero or more TestRunCases and only return the `id`
2050
+ * const testRunCaseWithIdOnly = await prisma.testRunCase.updateManyAndReturn({
2051
+ * select: { id: true },
2052
+ * where: {
2053
+ * // ... provide filter here
2054
+ * },
2055
+ * data: [
2056
+ * // ... provide data here
2057
+ * ]
2058
+ * })
2059
+ * Note, that providing `undefined` is treated as the value not being there.
2060
+ * Read more here: https://pris.ly/d/null-undefined
2061
+ *
2062
+ */
2063
+ updateManyAndReturn<T extends TestRunCaseUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, TestRunCaseUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TestRunCasePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
2064
+
2065
+ /**
2066
+ * Create or update one TestRunCase.
2067
+ * @param {TestRunCaseUpsertArgs} args - Arguments to update or create a TestRunCase.
2068
+ * @example
2069
+ * // Update or create a TestRunCase
2070
+ * const testRunCase = await prisma.testRunCase.upsert({
2071
+ * create: {
2072
+ * // ... data to create a TestRunCase
2073
+ * },
2074
+ * update: {
2075
+ * // ... in case it already exists, update
2076
+ * },
2077
+ * where: {
2078
+ * // ... the filter for the TestRunCase we want to update
2079
+ * }
2080
+ * })
2081
+ */
2082
+ upsert<T extends TestRunCaseUpsertArgs>(args: Prisma.SelectSubset<T, TestRunCaseUpsertArgs<ExtArgs>>): Prisma.Prisma__TestRunCaseClient<runtime.Types.Result.GetResult<Prisma.$TestRunCasePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2083
+
2084
+
2085
+ /**
2086
+ * Count the number of TestRunCases.
2087
+ * Note, that providing `undefined` is treated as the value not being there.
2088
+ * Read more here: https://pris.ly/d/null-undefined
2089
+ * @param {TestRunCaseCountArgs} args - Arguments to filter TestRunCases to count.
2090
+ * @example
2091
+ * // Count the number of TestRunCases
2092
+ * const count = await prisma.testRunCase.count({
2093
+ * where: {
2094
+ * // ... the filter for the TestRunCases we want to count
2095
+ * }
2096
+ * })
2097
+ **/
2098
+ count<T extends TestRunCaseCountArgs>(
2099
+ args?: Prisma.Subset<T, TestRunCaseCountArgs>,
2100
+ ): Prisma.PrismaPromise<
2101
+ T extends runtime.Types.Utils.Record<'select', any>
2102
+ ? T['select'] extends true
2103
+ ? number
2104
+ : Prisma.GetScalarType<T['select'], TestRunCaseCountAggregateOutputType>
2105
+ : number
2106
+ >
2107
+
2108
+ /**
2109
+ * Allows you to perform aggregations operations on a TestRunCase.
2110
+ * Note, that providing `undefined` is treated as the value not being there.
2111
+ * Read more here: https://pris.ly/d/null-undefined
2112
+ * @param {TestRunCaseAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
2113
+ * @example
2114
+ * // Ordered by age ascending
2115
+ * // Where email contains prisma.io
2116
+ * // Limited to the 10 users
2117
+ * const aggregations = await prisma.user.aggregate({
2118
+ * _avg: {
2119
+ * age: true,
2120
+ * },
2121
+ * where: {
2122
+ * email: {
2123
+ * contains: "prisma.io",
2124
+ * },
2125
+ * },
2126
+ * orderBy: {
2127
+ * age: "asc",
2128
+ * },
2129
+ * take: 10,
2130
+ * })
2131
+ **/
2132
+ aggregate<T extends TestRunCaseAggregateArgs>(args: Prisma.Subset<T, TestRunCaseAggregateArgs>): Prisma.PrismaPromise<GetTestRunCaseAggregateType<T>>
2133
+
2134
+ /**
2135
+ * Group by TestRunCase.
2136
+ * Note, that providing `undefined` is treated as the value not being there.
2137
+ * Read more here: https://pris.ly/d/null-undefined
2138
+ * @param {TestRunCaseGroupByArgs} args - Group by arguments.
2139
+ * @example
2140
+ * // Group by city, order by createdAt, get count
2141
+ * const result = await prisma.user.groupBy({
2142
+ * by: ['city', 'createdAt'],
2143
+ * orderBy: {
2144
+ * createdAt: true
2145
+ * },
2146
+ * _count: {
2147
+ * _all: true
2148
+ * },
2149
+ * })
2150
+ *
2151
+ **/
2152
+ groupBy<
2153
+ T extends TestRunCaseGroupByArgs,
2154
+ HasSelectOrTake extends Prisma.Or<
2155
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
2156
+ Prisma.Extends<'take', Prisma.Keys<T>>
2157
+ >,
2158
+ OrderByArg extends Prisma.True extends HasSelectOrTake
2159
+ ? { orderBy: TestRunCaseGroupByArgs['orderBy'] }
2160
+ : { orderBy?: TestRunCaseGroupByArgs['orderBy'] },
2161
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
2162
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
2163
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
2164
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
2165
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
2166
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
2167
+ InputErrors extends ByEmpty extends Prisma.True
2168
+ ? `Error: "by" must not be empty.`
2169
+ : HavingValid extends Prisma.False
2170
+ ? {
2171
+ [P in HavingFields]: P extends ByFields
2172
+ ? never
2173
+ : P extends string
2174
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
2175
+ : [
2176
+ Error,
2177
+ 'Field ',
2178
+ P,
2179
+ ` in "having" needs to be provided in "by"`,
2180
+ ]
2181
+ }[HavingFields]
2182
+ : 'take' extends Prisma.Keys<T>
2183
+ ? 'orderBy' extends Prisma.Keys<T>
2184
+ ? ByValid extends Prisma.True
2185
+ ? {}
2186
+ : {
2187
+ [P in OrderFields]: P extends ByFields
2188
+ ? never
2189
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2190
+ }[OrderFields]
2191
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
2192
+ : 'skip' extends Prisma.Keys<T>
2193
+ ? 'orderBy' extends Prisma.Keys<T>
2194
+ ? ByValid extends Prisma.True
2195
+ ? {}
2196
+ : {
2197
+ [P in OrderFields]: P extends ByFields
2198
+ ? never
2199
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2200
+ }[OrderFields]
2201
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
2202
+ : ByValid extends Prisma.True
2203
+ ? {}
2204
+ : {
2205
+ [P in OrderFields]: P extends ByFields
2206
+ ? never
2207
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2208
+ }[OrderFields]
2209
+ >(args: Prisma.SubsetIntersection<T, TestRunCaseGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTestRunCaseGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
2210
+ /**
2211
+ * Fields of the TestRunCase model
2212
+ */
2213
+ readonly fields: TestRunCaseFieldRefs;
2214
+ }
2215
+
2216
+ /**
2217
+ * The delegate class that acts as a "Promise-like" for TestRunCase.
2218
+ * Why is this prefixed with `Prisma__`?
2219
+ * Because we want to prevent naming conflicts as mentioned in
2220
+ * https://github.com/prisma/prisma-client-js/issues/707
2221
+ */
2222
+ export interface Prisma__TestRunCaseClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
2223
+ readonly [Symbol.toStringTag]: "PrismaPromise"
2224
+ run<T extends Prisma.TestRunDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TestRunDefaultArgs<ExtArgs>>): Prisma.Prisma__TestRunClient<runtime.Types.Result.GetResult<Prisma.$TestRunPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
2225
+ case<T extends Prisma.TestCaseDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TestCaseDefaultArgs<ExtArgs>>): Prisma.Prisma__TestCaseClient<runtime.Types.Result.GetResult<Prisma.$TestCasePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
2226
+ bug<T extends Prisma.TestRunCase$bugArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TestRunCase$bugArgs<ExtArgs>>): Prisma.Prisma__BugClient<runtime.Types.Result.GetResult<Prisma.$BugPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2227
+ execRun<T extends Prisma.TestRunCase$execRunArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TestRunCase$execRunArgs<ExtArgs>>): Prisma.Prisma__TestExecRunClient<runtime.Types.Result.GetResult<Prisma.$TestExecRunPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2228
+ execRuns<T extends Prisma.TestRunCase$execRunsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TestRunCase$execRunsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TestExecRunPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2229
+ executedBy<T extends Prisma.TestRunCase$executedByArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TestRunCase$executedByArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2230
+ /**
2231
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
2232
+ * @param onfulfilled The callback to execute when the Promise is resolved.
2233
+ * @param onrejected The callback to execute when the Promise is rejected.
2234
+ * @returns A Promise for the completion of which ever callback is executed.
2235
+ */
2236
+ 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>
2237
+ /**
2238
+ * Attaches a callback for only the rejection of the Promise.
2239
+ * @param onrejected The callback to execute when the Promise is rejected.
2240
+ * @returns A Promise for the completion of the callback.
2241
+ */
2242
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
2243
+ /**
2244
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
2245
+ * resolved value cannot be modified from the callback.
2246
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
2247
+ * @returns A Promise for the completion of the callback.
2248
+ */
2249
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
2250
+ }
2251
+
2252
+
2253
+
2254
+
2255
+ /**
2256
+ * Fields of the TestRunCase model
2257
+ */
2258
+ export interface TestRunCaseFieldRefs {
2259
+ readonly id: Prisma.FieldRef<"TestRunCase", 'String'>
2260
+ readonly runId: Prisma.FieldRef<"TestRunCase", 'String'>
2261
+ readonly caseId: Prisma.FieldRef<"TestRunCase", 'String'>
2262
+ readonly caseVersion: Prisma.FieldRef<"TestRunCase", 'Int'>
2263
+ readonly caseSnapshot: Prisma.FieldRef<"TestRunCase", 'Json'>
2264
+ readonly status: Prisma.FieldRef<"TestRunCase", 'String'>
2265
+ readonly stepResults: Prisma.FieldRef<"TestRunCase", 'Json'>
2266
+ readonly actualResult: Prisma.FieldRef<"TestRunCase", 'String'>
2267
+ readonly bugId: Prisma.FieldRef<"TestRunCase", 'String'>
2268
+ readonly execRunId: Prisma.FieldRef<"TestRunCase", 'String'>
2269
+ readonly flaky: Prisma.FieldRef<"TestRunCase", 'Boolean'>
2270
+ readonly fingerprint: Prisma.FieldRef<"TestRunCase", 'String'>
2271
+ readonly startedAt: Prisma.FieldRef<"TestRunCase", 'DateTime'>
2272
+ readonly finishedAt: Prisma.FieldRef<"TestRunCase", 'DateTime'>
2273
+ readonly durationMs: Prisma.FieldRef<"TestRunCase", 'Int'>
2274
+ readonly executedById: Prisma.FieldRef<"TestRunCase", 'String'>
2275
+ }
2276
+
2277
+
2278
+ // Custom InputTypes
2279
+ /**
2280
+ * TestRunCase findUnique
2281
+ */
2282
+ export type TestRunCaseFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2283
+ /**
2284
+ * Select specific fields to fetch from the TestRunCase
2285
+ */
2286
+ select?: Prisma.TestRunCaseSelect<ExtArgs> | null
2287
+ /**
2288
+ * Omit specific fields from the TestRunCase
2289
+ */
2290
+ omit?: Prisma.TestRunCaseOmit<ExtArgs> | null
2291
+ /**
2292
+ * Choose, which related nodes to fetch as well
2293
+ */
2294
+ include?: Prisma.TestRunCaseInclude<ExtArgs> | null
2295
+ /**
2296
+ * Filter, which TestRunCase to fetch.
2297
+ */
2298
+ where: Prisma.TestRunCaseWhereUniqueInput
2299
+ }
2300
+
2301
+ /**
2302
+ * TestRunCase findUniqueOrThrow
2303
+ */
2304
+ export type TestRunCaseFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2305
+ /**
2306
+ * Select specific fields to fetch from the TestRunCase
2307
+ */
2308
+ select?: Prisma.TestRunCaseSelect<ExtArgs> | null
2309
+ /**
2310
+ * Omit specific fields from the TestRunCase
2311
+ */
2312
+ omit?: Prisma.TestRunCaseOmit<ExtArgs> | null
2313
+ /**
2314
+ * Choose, which related nodes to fetch as well
2315
+ */
2316
+ include?: Prisma.TestRunCaseInclude<ExtArgs> | null
2317
+ /**
2318
+ * Filter, which TestRunCase to fetch.
2319
+ */
2320
+ where: Prisma.TestRunCaseWhereUniqueInput
2321
+ }
2322
+
2323
+ /**
2324
+ * TestRunCase findFirst
2325
+ */
2326
+ export type TestRunCaseFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2327
+ /**
2328
+ * Select specific fields to fetch from the TestRunCase
2329
+ */
2330
+ select?: Prisma.TestRunCaseSelect<ExtArgs> | null
2331
+ /**
2332
+ * Omit specific fields from the TestRunCase
2333
+ */
2334
+ omit?: Prisma.TestRunCaseOmit<ExtArgs> | null
2335
+ /**
2336
+ * Choose, which related nodes to fetch as well
2337
+ */
2338
+ include?: Prisma.TestRunCaseInclude<ExtArgs> | null
2339
+ /**
2340
+ * Filter, which TestRunCase to fetch.
2341
+ */
2342
+ where?: Prisma.TestRunCaseWhereInput
2343
+ /**
2344
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2345
+ *
2346
+ * Determine the order of TestRunCases to fetch.
2347
+ */
2348
+ orderBy?: Prisma.TestRunCaseOrderByWithRelationInput | Prisma.TestRunCaseOrderByWithRelationInput[]
2349
+ /**
2350
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2351
+ *
2352
+ * Sets the position for searching for TestRunCases.
2353
+ */
2354
+ cursor?: Prisma.TestRunCaseWhereUniqueInput
2355
+ /**
2356
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2357
+ *
2358
+ * Take `±n` TestRunCases from the position of the cursor.
2359
+ */
2360
+ take?: number
2361
+ /**
2362
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2363
+ *
2364
+ * Skip the first `n` TestRunCases.
2365
+ */
2366
+ skip?: number
2367
+ /**
2368
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2369
+ *
2370
+ * Filter by unique combinations of TestRunCases.
2371
+ */
2372
+ distinct?: Prisma.TestRunCaseScalarFieldEnum | Prisma.TestRunCaseScalarFieldEnum[]
2373
+ }
2374
+
2375
+ /**
2376
+ * TestRunCase findFirstOrThrow
2377
+ */
2378
+ export type TestRunCaseFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2379
+ /**
2380
+ * Select specific fields to fetch from the TestRunCase
2381
+ */
2382
+ select?: Prisma.TestRunCaseSelect<ExtArgs> | null
2383
+ /**
2384
+ * Omit specific fields from the TestRunCase
2385
+ */
2386
+ omit?: Prisma.TestRunCaseOmit<ExtArgs> | null
2387
+ /**
2388
+ * Choose, which related nodes to fetch as well
2389
+ */
2390
+ include?: Prisma.TestRunCaseInclude<ExtArgs> | null
2391
+ /**
2392
+ * Filter, which TestRunCase to fetch.
2393
+ */
2394
+ where?: Prisma.TestRunCaseWhereInput
2395
+ /**
2396
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2397
+ *
2398
+ * Determine the order of TestRunCases to fetch.
2399
+ */
2400
+ orderBy?: Prisma.TestRunCaseOrderByWithRelationInput | Prisma.TestRunCaseOrderByWithRelationInput[]
2401
+ /**
2402
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2403
+ *
2404
+ * Sets the position for searching for TestRunCases.
2405
+ */
2406
+ cursor?: Prisma.TestRunCaseWhereUniqueInput
2407
+ /**
2408
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2409
+ *
2410
+ * Take `±n` TestRunCases from the position of the cursor.
2411
+ */
2412
+ take?: number
2413
+ /**
2414
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2415
+ *
2416
+ * Skip the first `n` TestRunCases.
2417
+ */
2418
+ skip?: number
2419
+ /**
2420
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2421
+ *
2422
+ * Filter by unique combinations of TestRunCases.
2423
+ */
2424
+ distinct?: Prisma.TestRunCaseScalarFieldEnum | Prisma.TestRunCaseScalarFieldEnum[]
2425
+ }
2426
+
2427
+ /**
2428
+ * TestRunCase findMany
2429
+ */
2430
+ export type TestRunCaseFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2431
+ /**
2432
+ * Select specific fields to fetch from the TestRunCase
2433
+ */
2434
+ select?: Prisma.TestRunCaseSelect<ExtArgs> | null
2435
+ /**
2436
+ * Omit specific fields from the TestRunCase
2437
+ */
2438
+ omit?: Prisma.TestRunCaseOmit<ExtArgs> | null
2439
+ /**
2440
+ * Choose, which related nodes to fetch as well
2441
+ */
2442
+ include?: Prisma.TestRunCaseInclude<ExtArgs> | null
2443
+ /**
2444
+ * Filter, which TestRunCases to fetch.
2445
+ */
2446
+ where?: Prisma.TestRunCaseWhereInput
2447
+ /**
2448
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2449
+ *
2450
+ * Determine the order of TestRunCases to fetch.
2451
+ */
2452
+ orderBy?: Prisma.TestRunCaseOrderByWithRelationInput | Prisma.TestRunCaseOrderByWithRelationInput[]
2453
+ /**
2454
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2455
+ *
2456
+ * Sets the position for listing TestRunCases.
2457
+ */
2458
+ cursor?: Prisma.TestRunCaseWhereUniqueInput
2459
+ /**
2460
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2461
+ *
2462
+ * Take `±n` TestRunCases from the position of the cursor.
2463
+ */
2464
+ take?: number
2465
+ /**
2466
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2467
+ *
2468
+ * Skip the first `n` TestRunCases.
2469
+ */
2470
+ skip?: number
2471
+ /**
2472
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2473
+ *
2474
+ * Filter by unique combinations of TestRunCases.
2475
+ */
2476
+ distinct?: Prisma.TestRunCaseScalarFieldEnum | Prisma.TestRunCaseScalarFieldEnum[]
2477
+ }
2478
+
2479
+ /**
2480
+ * TestRunCase create
2481
+ */
2482
+ export type TestRunCaseCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2483
+ /**
2484
+ * Select specific fields to fetch from the TestRunCase
2485
+ */
2486
+ select?: Prisma.TestRunCaseSelect<ExtArgs> | null
2487
+ /**
2488
+ * Omit specific fields from the TestRunCase
2489
+ */
2490
+ omit?: Prisma.TestRunCaseOmit<ExtArgs> | null
2491
+ /**
2492
+ * Choose, which related nodes to fetch as well
2493
+ */
2494
+ include?: Prisma.TestRunCaseInclude<ExtArgs> | null
2495
+ /**
2496
+ * The data needed to create a TestRunCase.
2497
+ */
2498
+ data: Prisma.XOR<Prisma.TestRunCaseCreateInput, Prisma.TestRunCaseUncheckedCreateInput>
2499
+ }
2500
+
2501
+ /**
2502
+ * TestRunCase createMany
2503
+ */
2504
+ export type TestRunCaseCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2505
+ /**
2506
+ * The data used to create many TestRunCases.
2507
+ */
2508
+ data: Prisma.TestRunCaseCreateManyInput | Prisma.TestRunCaseCreateManyInput[]
2509
+ skipDuplicates?: boolean
2510
+ }
2511
+
2512
+ /**
2513
+ * TestRunCase createManyAndReturn
2514
+ */
2515
+ export type TestRunCaseCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2516
+ /**
2517
+ * Select specific fields to fetch from the TestRunCase
2518
+ */
2519
+ select?: Prisma.TestRunCaseSelectCreateManyAndReturn<ExtArgs> | null
2520
+ /**
2521
+ * Omit specific fields from the TestRunCase
2522
+ */
2523
+ omit?: Prisma.TestRunCaseOmit<ExtArgs> | null
2524
+ /**
2525
+ * The data used to create many TestRunCases.
2526
+ */
2527
+ data: Prisma.TestRunCaseCreateManyInput | Prisma.TestRunCaseCreateManyInput[]
2528
+ skipDuplicates?: boolean
2529
+ /**
2530
+ * Choose, which related nodes to fetch as well
2531
+ */
2532
+ include?: Prisma.TestRunCaseIncludeCreateManyAndReturn<ExtArgs> | null
2533
+ }
2534
+
2535
+ /**
2536
+ * TestRunCase update
2537
+ */
2538
+ export type TestRunCaseUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2539
+ /**
2540
+ * Select specific fields to fetch from the TestRunCase
2541
+ */
2542
+ select?: Prisma.TestRunCaseSelect<ExtArgs> | null
2543
+ /**
2544
+ * Omit specific fields from the TestRunCase
2545
+ */
2546
+ omit?: Prisma.TestRunCaseOmit<ExtArgs> | null
2547
+ /**
2548
+ * Choose, which related nodes to fetch as well
2549
+ */
2550
+ include?: Prisma.TestRunCaseInclude<ExtArgs> | null
2551
+ /**
2552
+ * The data needed to update a TestRunCase.
2553
+ */
2554
+ data: Prisma.XOR<Prisma.TestRunCaseUpdateInput, Prisma.TestRunCaseUncheckedUpdateInput>
2555
+ /**
2556
+ * Choose, which TestRunCase to update.
2557
+ */
2558
+ where: Prisma.TestRunCaseWhereUniqueInput
2559
+ }
2560
+
2561
+ /**
2562
+ * TestRunCase updateMany
2563
+ */
2564
+ export type TestRunCaseUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2565
+ /**
2566
+ * The data used to update TestRunCases.
2567
+ */
2568
+ data: Prisma.XOR<Prisma.TestRunCaseUpdateManyMutationInput, Prisma.TestRunCaseUncheckedUpdateManyInput>
2569
+ /**
2570
+ * Filter which TestRunCases to update
2571
+ */
2572
+ where?: Prisma.TestRunCaseWhereInput
2573
+ /**
2574
+ * Limit how many TestRunCases to update.
2575
+ */
2576
+ limit?: number
2577
+ }
2578
+
2579
+ /**
2580
+ * TestRunCase updateManyAndReturn
2581
+ */
2582
+ export type TestRunCaseUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2583
+ /**
2584
+ * Select specific fields to fetch from the TestRunCase
2585
+ */
2586
+ select?: Prisma.TestRunCaseSelectUpdateManyAndReturn<ExtArgs> | null
2587
+ /**
2588
+ * Omit specific fields from the TestRunCase
2589
+ */
2590
+ omit?: Prisma.TestRunCaseOmit<ExtArgs> | null
2591
+ /**
2592
+ * The data used to update TestRunCases.
2593
+ */
2594
+ data: Prisma.XOR<Prisma.TestRunCaseUpdateManyMutationInput, Prisma.TestRunCaseUncheckedUpdateManyInput>
2595
+ /**
2596
+ * Filter which TestRunCases to update
2597
+ */
2598
+ where?: Prisma.TestRunCaseWhereInput
2599
+ /**
2600
+ * Limit how many TestRunCases to update.
2601
+ */
2602
+ limit?: number
2603
+ /**
2604
+ * Choose, which related nodes to fetch as well
2605
+ */
2606
+ include?: Prisma.TestRunCaseIncludeUpdateManyAndReturn<ExtArgs> | null
2607
+ }
2608
+
2609
+ /**
2610
+ * TestRunCase upsert
2611
+ */
2612
+ export type TestRunCaseUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2613
+ /**
2614
+ * Select specific fields to fetch from the TestRunCase
2615
+ */
2616
+ select?: Prisma.TestRunCaseSelect<ExtArgs> | null
2617
+ /**
2618
+ * Omit specific fields from the TestRunCase
2619
+ */
2620
+ omit?: Prisma.TestRunCaseOmit<ExtArgs> | null
2621
+ /**
2622
+ * Choose, which related nodes to fetch as well
2623
+ */
2624
+ include?: Prisma.TestRunCaseInclude<ExtArgs> | null
2625
+ /**
2626
+ * The filter to search for the TestRunCase to update in case it exists.
2627
+ */
2628
+ where: Prisma.TestRunCaseWhereUniqueInput
2629
+ /**
2630
+ * In case the TestRunCase found by the `where` argument doesn't exist, create a new TestRunCase with this data.
2631
+ */
2632
+ create: Prisma.XOR<Prisma.TestRunCaseCreateInput, Prisma.TestRunCaseUncheckedCreateInput>
2633
+ /**
2634
+ * In case the TestRunCase was found with the provided `where` argument, update it with this data.
2635
+ */
2636
+ update: Prisma.XOR<Prisma.TestRunCaseUpdateInput, Prisma.TestRunCaseUncheckedUpdateInput>
2637
+ }
2638
+
2639
+ /**
2640
+ * TestRunCase delete
2641
+ */
2642
+ export type TestRunCaseDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2643
+ /**
2644
+ * Select specific fields to fetch from the TestRunCase
2645
+ */
2646
+ select?: Prisma.TestRunCaseSelect<ExtArgs> | null
2647
+ /**
2648
+ * Omit specific fields from the TestRunCase
2649
+ */
2650
+ omit?: Prisma.TestRunCaseOmit<ExtArgs> | null
2651
+ /**
2652
+ * Choose, which related nodes to fetch as well
2653
+ */
2654
+ include?: Prisma.TestRunCaseInclude<ExtArgs> | null
2655
+ /**
2656
+ * Filter which TestRunCase to delete.
2657
+ */
2658
+ where: Prisma.TestRunCaseWhereUniqueInput
2659
+ }
2660
+
2661
+ /**
2662
+ * TestRunCase deleteMany
2663
+ */
2664
+ export type TestRunCaseDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2665
+ /**
2666
+ * Filter which TestRunCases to delete
2667
+ */
2668
+ where?: Prisma.TestRunCaseWhereInput
2669
+ /**
2670
+ * Limit how many TestRunCases to delete.
2671
+ */
2672
+ limit?: number
2673
+ }
2674
+
2675
+ /**
2676
+ * TestRunCase.bug
2677
+ */
2678
+ export type TestRunCase$bugArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2679
+ /**
2680
+ * Select specific fields to fetch from the Bug
2681
+ */
2682
+ select?: Prisma.BugSelect<ExtArgs> | null
2683
+ /**
2684
+ * Omit specific fields from the Bug
2685
+ */
2686
+ omit?: Prisma.BugOmit<ExtArgs> | null
2687
+ /**
2688
+ * Choose, which related nodes to fetch as well
2689
+ */
2690
+ include?: Prisma.BugInclude<ExtArgs> | null
2691
+ where?: Prisma.BugWhereInput
2692
+ }
2693
+
2694
+ /**
2695
+ * TestRunCase.execRun
2696
+ */
2697
+ export type TestRunCase$execRunArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2698
+ /**
2699
+ * Select specific fields to fetch from the TestExecRun
2700
+ */
2701
+ select?: Prisma.TestExecRunSelect<ExtArgs> | null
2702
+ /**
2703
+ * Omit specific fields from the TestExecRun
2704
+ */
2705
+ omit?: Prisma.TestExecRunOmit<ExtArgs> | null
2706
+ /**
2707
+ * Choose, which related nodes to fetch as well
2708
+ */
2709
+ include?: Prisma.TestExecRunInclude<ExtArgs> | null
2710
+ where?: Prisma.TestExecRunWhereInput
2711
+ }
2712
+
2713
+ /**
2714
+ * TestRunCase.execRuns
2715
+ */
2716
+ export type TestRunCase$execRunsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2717
+ /**
2718
+ * Select specific fields to fetch from the TestExecRun
2719
+ */
2720
+ select?: Prisma.TestExecRunSelect<ExtArgs> | null
2721
+ /**
2722
+ * Omit specific fields from the TestExecRun
2723
+ */
2724
+ omit?: Prisma.TestExecRunOmit<ExtArgs> | null
2725
+ /**
2726
+ * Choose, which related nodes to fetch as well
2727
+ */
2728
+ include?: Prisma.TestExecRunInclude<ExtArgs> | null
2729
+ where?: Prisma.TestExecRunWhereInput
2730
+ orderBy?: Prisma.TestExecRunOrderByWithRelationInput | Prisma.TestExecRunOrderByWithRelationInput[]
2731
+ cursor?: Prisma.TestExecRunWhereUniqueInput
2732
+ take?: number
2733
+ skip?: number
2734
+ distinct?: Prisma.TestExecRunScalarFieldEnum | Prisma.TestExecRunScalarFieldEnum[]
2735
+ }
2736
+
2737
+ /**
2738
+ * TestRunCase.executedBy
2739
+ */
2740
+ export type TestRunCase$executedByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2741
+ /**
2742
+ * Select specific fields to fetch from the User
2743
+ */
2744
+ select?: Prisma.UserSelect<ExtArgs> | null
2745
+ /**
2746
+ * Omit specific fields from the User
2747
+ */
2748
+ omit?: Prisma.UserOmit<ExtArgs> | null
2749
+ /**
2750
+ * Choose, which related nodes to fetch as well
2751
+ */
2752
+ include?: Prisma.UserInclude<ExtArgs> | null
2753
+ where?: Prisma.UserWhereInput
2754
+ }
2755
+
2756
+ /**
2757
+ * TestRunCase without action
2758
+ */
2759
+ export type TestRunCaseDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2760
+ /**
2761
+ * Select specific fields to fetch from the TestRunCase
2762
+ */
2763
+ select?: Prisma.TestRunCaseSelect<ExtArgs> | null
2764
+ /**
2765
+ * Omit specific fields from the TestRunCase
2766
+ */
2767
+ omit?: Prisma.TestRunCaseOmit<ExtArgs> | null
2768
+ /**
2769
+ * Choose, which related nodes to fetch as well
2770
+ */
2771
+ include?: Prisma.TestRunCaseInclude<ExtArgs> | null
2772
+ }