@allbluecn/database 0.9.1 → 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 (131) hide show
  1. package/desktop-init.ts +2 -2
  2. package/dist/lib/share-utils.js +3 -3
  3. package/generated/browser.ts +115 -25
  4. package/generated/client.ts +115 -25
  5. package/generated/commonInputTypes.ts +34 -0
  6. package/generated/enums.ts +14 -0
  7. package/generated/internal/class.ts +234 -54
  8. package/generated/internal/prismaNamespace.ts +2190 -511
  9. package/generated/internal/prismaNamespaceBrowser.ts +391 -76
  10. package/generated/models/AgentConversation.ts +89 -89
  11. package/generated/models/AiProvider.ts +3 -3
  12. package/generated/models/AiStreamChunk.ts +3 -3
  13. package/generated/models/AnyHubMarketApp.ts +8 -8
  14. package/generated/models/AuditLog.ts +6 -6
  15. package/generated/models/BlockInstance.ts +17 -17
  16. package/generated/models/Bug.ts +5023 -0
  17. package/generated/models/BugActivity.ts +1765 -0
  18. package/generated/models/BugComment.ts +1853 -0
  19. package/generated/models/BugEvent.ts +1339 -0
  20. package/generated/models/BugFilterView.ts +1438 -0
  21. package/generated/models/BugFixRun.ts +1479 -0
  22. package/generated/models/BugLabel.ts +1349 -0
  23. package/generated/models/BugProjectSettings.ts +1403 -0
  24. package/generated/models/BugReproRun.ts +1582 -0
  25. package/generated/models/ChatPersistenceMeta.ts +3 -3
  26. package/generated/models/Comment.ts +99 -99
  27. package/generated/models/Component.ts +9 -9
  28. package/generated/models/ComponentInstance.ts +17 -17
  29. package/generated/models/CustomRole.ts +8 -8
  30. package/generated/models/Design.ts +2872 -0
  31. package/generated/models/DesignPage.ts +2402 -0
  32. package/generated/models/DesignTag.ts +1430 -0
  33. package/generated/models/DesignVersion.ts +2121 -0
  34. package/generated/models/DesktopSetting.ts +3 -3
  35. package/generated/models/Iteration.ts +148 -0
  36. package/generated/models/Label.ts +118 -0
  37. package/generated/models/LicenseKey.ts +16 -16
  38. package/generated/models/NotificationPreference.ts +5 -5
  39. package/generated/models/PageVersion.ts +49 -49
  40. package/generated/models/Plan.ts +5 -5
  41. package/generated/models/Project.ts +1970 -58
  42. package/generated/models/ProjectAccessToken.ts +1705 -0
  43. package/generated/models/ProjectWebhook.ts +1409 -0
  44. package/generated/models/Review.ts +118 -118
  45. package/generated/models/Share.ts +83 -83
  46. package/generated/models/ShareVersion.ts +15 -15
  47. package/generated/models/SsoProvider.ts +8 -8
  48. package/generated/models/Story.ts +973 -87
  49. package/generated/models/StoryDesignLink.ts +1430 -0
  50. package/generated/models/StoryFilterView.ts +12 -12
  51. package/generated/models/SystemPromptVersion.ts +6 -6
  52. package/generated/models/Tag.ts +49 -49
  53. package/generated/models/TestAutomationArtifact.ts +1790 -0
  54. package/generated/models/TestCase.ts +3568 -0
  55. package/generated/models/TestCaseFilterView.ts +1587 -0
  56. package/generated/models/TestCaseFolder.ts +1795 -0
  57. package/generated/models/TestExecRun.ts +1673 -0
  58. package/generated/models/TestGenerationRun.ts +1952 -0
  59. package/generated/models/TestPlan.ts +1950 -0
  60. package/generated/models/TestPlanCase.ts +1430 -0
  61. package/generated/models/TestRun.ts +1979 -0
  62. package/generated/models/TestRunCase.ts +2772 -0
  63. package/generated/models/ThirdPartyDependency.ts +19 -15
  64. package/generated/models/User.ts +12141 -2721
  65. package/generated/models.ts +26 -8
  66. package/generated-sqlite/browser.ts +8 -23
  67. package/generated-sqlite/client.ts +8 -23
  68. package/generated-sqlite/internal/class.ts +20 -50
  69. package/generated-sqlite/internal/prismaNamespace.ts +166 -437
  70. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +25 -71
  71. package/generated-sqlite/models/AgentConversation.ts +89 -89
  72. package/generated-sqlite/models/AiProvider.ts +3 -3
  73. package/generated-sqlite/models/AiStreamChunk.ts +3 -3
  74. package/generated-sqlite/models/AnyHubMarketApp.ts +8 -8
  75. package/generated-sqlite/models/BlockInstance.ts +17 -17
  76. package/generated-sqlite/models/ChatPersistenceMeta.ts +3 -3
  77. package/generated-sqlite/models/Comment.ts +99 -99
  78. package/generated-sqlite/models/Component.ts +9 -9
  79. package/generated-sqlite/models/ComponentInstance.ts +17 -17
  80. package/generated-sqlite/models/Design.ts +2679 -0
  81. package/generated-sqlite/models/DesignPage.ts +2398 -0
  82. package/generated-sqlite/models/DesignTag.ts +1426 -0
  83. package/generated-sqlite/models/DesignVersion.ts +2117 -0
  84. package/generated-sqlite/models/DesktopSetting.ts +3 -3
  85. package/generated-sqlite/models/KnowledgeBase.ts +240 -1
  86. package/generated-sqlite/models/NotificationPreference.ts +5 -5
  87. package/generated-sqlite/models/PageVersion.ts +49 -49
  88. package/generated-sqlite/models/Review.ts +118 -118
  89. package/generated-sqlite/models/Share.ts +83 -83
  90. package/generated-sqlite/models/ShareVersion.ts +15 -15
  91. package/generated-sqlite/models/SystemPromptVersion.ts +6 -6
  92. package/generated-sqlite/models/Tag.ts +49 -49
  93. package/generated-sqlite/models/User.ts +1201 -1321
  94. package/generated-sqlite/models/Workspace.ts +164 -0
  95. package/generated-sqlite/models.ts +4 -7
  96. package/index.ts +17 -3
  97. package/migrations/20260924084200_add_prd_kind_drop_design_sketch/migration.sql +24 -0
  98. package/migrations/20260924123118_drop_user_sketch_api_token/migration.sql +8 -0
  99. package/migrations/20260925011516_rename_prd_tables/migration.sql +189 -0
  100. package/migrations/20260925064226_rename_prd_columns/migration.sql +193 -0
  101. package/migrations/20260925080000_rename_prd_embeddings/migration.sql +43 -0
  102. package/migrations/20261002184838_bug_module_init/migration.sql +297 -0
  103. package/migrations/20261004234209_testcase_module_init/migration.sql +290 -0
  104. package/migrations/20261005090000_testcase_plan_cases/migration.sql +34 -0
  105. package/migrations/20261006151229_add_missing_fk_indexes_auth_billing/migration.sql +50 -0
  106. package/migrations/20261006152058_add_missing_fk_indexes_story_bug_test/migration.sql +59 -0
  107. package/migrations/20261006152153_add_missing_fk_indexes_design_misc/migration.sql +50 -0
  108. package/migrations/20261006184250_explicit_on_delete_core/migration.sql +33 -0
  109. package/migrations/20261006184604_explicit_on_delete_rest/migration.sql +117 -0
  110. package/migrations/20261006184932_json_column_defaults/migration.sql +74 -0
  111. package/migrations/20261006191724_revert_version_token_cascade/migration.sql +21 -0
  112. package/migrations/20261007025537_dependency_category_enum/migration.sql +22 -0
  113. package/package.json +2 -2
  114. package/schema.prisma +687 -177
  115. package/schema.sqlite.prisma +149 -151
  116. package/src/lib/share-utils.ts +2 -2
  117. package/generated/models/Artboard.ts +0 -1811
  118. package/generated/models/ArtboardExport.ts +0 -1548
  119. package/generated/models/DesignProject.ts +0 -1643
  120. package/generated/models/PRD.ts +0 -2805
  121. package/generated/models/PRDPage.ts +0 -2402
  122. package/generated/models/PRDTag.ts +0 -1430
  123. package/generated/models/PRDVersion.ts +0 -2121
  124. package/generated/models/StoryPrdLink.ts +0 -1430
  125. package/generated-sqlite/models/Artboard.ts +0 -1808
  126. package/generated-sqlite/models/ArtboardExport.ts +0 -1545
  127. package/generated-sqlite/models/DesignProject.ts +0 -1640
  128. package/generated-sqlite/models/PRD.ts +0 -2616
  129. package/generated-sqlite/models/PRDPage.ts +0 -2398
  130. package/generated-sqlite/models/PRDTag.ts +0 -1426
  131. package/generated-sqlite/models/PRDVersion.ts +0 -2117
@@ -0,0 +1,1952 @@
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 `TestGenerationRun` 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 TestGenerationRun
17
+ *
18
+ */
19
+ export type TestGenerationRunModel = runtime.Types.Result.DefaultSelection<Prisma.$TestGenerationRunPayload>
20
+
21
+ export type AggregateTestGenerationRun = {
22
+ _count: TestGenerationRunCountAggregateOutputType | null
23
+ _avg: TestGenerationRunAvgAggregateOutputType | null
24
+ _sum: TestGenerationRunSumAggregateOutputType | null
25
+ _min: TestGenerationRunMinAggregateOutputType | null
26
+ _max: TestGenerationRunMaxAggregateOutputType | null
27
+ }
28
+
29
+ export type TestGenerationRunAvgAggregateOutputType = {
30
+ draftCount: number | null
31
+ adoptedCount: number | null
32
+ }
33
+
34
+ export type TestGenerationRunSumAggregateOutputType = {
35
+ draftCount: number | null
36
+ adoptedCount: number | null
37
+ }
38
+
39
+ export type TestGenerationRunMinAggregateOutputType = {
40
+ id: string | null
41
+ projectId: string | null
42
+ storyId: string | null
43
+ status: string | null
44
+ error: string | null
45
+ draftCount: number | null
46
+ adoptedCount: number | null
47
+ createdById: string | null
48
+ createdAt: Date | null
49
+ completedAt: Date | null
50
+ }
51
+
52
+ export type TestGenerationRunMaxAggregateOutputType = {
53
+ id: string | null
54
+ projectId: string | null
55
+ storyId: string | null
56
+ status: string | null
57
+ error: string | null
58
+ draftCount: number | null
59
+ adoptedCount: number | null
60
+ createdById: string | null
61
+ createdAt: Date | null
62
+ completedAt: Date | null
63
+ }
64
+
65
+ export type TestGenerationRunCountAggregateOutputType = {
66
+ id: number
67
+ projectId: number
68
+ storyId: number
69
+ status: number
70
+ error: number
71
+ input: number
72
+ output: number
73
+ draftCount: number
74
+ adoptedCount: number
75
+ createdById: number
76
+ createdAt: number
77
+ completedAt: number
78
+ _all: number
79
+ }
80
+
81
+
82
+ export type TestGenerationRunAvgAggregateInputType = {
83
+ draftCount?: true
84
+ adoptedCount?: true
85
+ }
86
+
87
+ export type TestGenerationRunSumAggregateInputType = {
88
+ draftCount?: true
89
+ adoptedCount?: true
90
+ }
91
+
92
+ export type TestGenerationRunMinAggregateInputType = {
93
+ id?: true
94
+ projectId?: true
95
+ storyId?: true
96
+ status?: true
97
+ error?: true
98
+ draftCount?: true
99
+ adoptedCount?: true
100
+ createdById?: true
101
+ createdAt?: true
102
+ completedAt?: true
103
+ }
104
+
105
+ export type TestGenerationRunMaxAggregateInputType = {
106
+ id?: true
107
+ projectId?: true
108
+ storyId?: true
109
+ status?: true
110
+ error?: true
111
+ draftCount?: true
112
+ adoptedCount?: true
113
+ createdById?: true
114
+ createdAt?: true
115
+ completedAt?: true
116
+ }
117
+
118
+ export type TestGenerationRunCountAggregateInputType = {
119
+ id?: true
120
+ projectId?: true
121
+ storyId?: true
122
+ status?: true
123
+ error?: true
124
+ input?: true
125
+ output?: true
126
+ draftCount?: true
127
+ adoptedCount?: true
128
+ createdById?: true
129
+ createdAt?: true
130
+ completedAt?: true
131
+ _all?: true
132
+ }
133
+
134
+ export type TestGenerationRunAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
135
+ /**
136
+ * Filter which TestGenerationRun to aggregate.
137
+ */
138
+ where?: Prisma.TestGenerationRunWhereInput
139
+ /**
140
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
141
+ *
142
+ * Determine the order of TestGenerationRuns to fetch.
143
+ */
144
+ orderBy?: Prisma.TestGenerationRunOrderByWithRelationInput | Prisma.TestGenerationRunOrderByWithRelationInput[]
145
+ /**
146
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
147
+ *
148
+ * Sets the start position
149
+ */
150
+ cursor?: Prisma.TestGenerationRunWhereUniqueInput
151
+ /**
152
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
153
+ *
154
+ * Take `±n` TestGenerationRuns from the position of the cursor.
155
+ */
156
+ take?: number
157
+ /**
158
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
159
+ *
160
+ * Skip the first `n` TestGenerationRuns.
161
+ */
162
+ skip?: number
163
+ /**
164
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
165
+ *
166
+ * Count returned TestGenerationRuns
167
+ **/
168
+ _count?: true | TestGenerationRunCountAggregateInputType
169
+ /**
170
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
171
+ *
172
+ * Select which fields to average
173
+ **/
174
+ _avg?: TestGenerationRunAvgAggregateInputType
175
+ /**
176
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
177
+ *
178
+ * Select which fields to sum
179
+ **/
180
+ _sum?: TestGenerationRunSumAggregateInputType
181
+ /**
182
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
183
+ *
184
+ * Select which fields to find the minimum value
185
+ **/
186
+ _min?: TestGenerationRunMinAggregateInputType
187
+ /**
188
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
189
+ *
190
+ * Select which fields to find the maximum value
191
+ **/
192
+ _max?: TestGenerationRunMaxAggregateInputType
193
+ }
194
+
195
+ export type GetTestGenerationRunAggregateType<T extends TestGenerationRunAggregateArgs> = {
196
+ [P in keyof T & keyof AggregateTestGenerationRun]: P extends '_count' | 'count'
197
+ ? T[P] extends true
198
+ ? number
199
+ : Prisma.GetScalarType<T[P], AggregateTestGenerationRun[P]>
200
+ : Prisma.GetScalarType<T[P], AggregateTestGenerationRun[P]>
201
+ }
202
+
203
+
204
+
205
+
206
+ export type TestGenerationRunGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
207
+ where?: Prisma.TestGenerationRunWhereInput
208
+ orderBy?: Prisma.TestGenerationRunOrderByWithAggregationInput | Prisma.TestGenerationRunOrderByWithAggregationInput[]
209
+ by: Prisma.TestGenerationRunScalarFieldEnum[] | Prisma.TestGenerationRunScalarFieldEnum
210
+ having?: Prisma.TestGenerationRunScalarWhereWithAggregatesInput
211
+ take?: number
212
+ skip?: number
213
+ _count?: TestGenerationRunCountAggregateInputType | true
214
+ _avg?: TestGenerationRunAvgAggregateInputType
215
+ _sum?: TestGenerationRunSumAggregateInputType
216
+ _min?: TestGenerationRunMinAggregateInputType
217
+ _max?: TestGenerationRunMaxAggregateInputType
218
+ }
219
+
220
+ export type TestGenerationRunGroupByOutputType = {
221
+ id: string
222
+ projectId: string
223
+ storyId: string
224
+ status: string
225
+ error: string | null
226
+ input: runtime.JsonValue | null
227
+ output: runtime.JsonValue | null
228
+ draftCount: number
229
+ adoptedCount: number
230
+ createdById: string
231
+ createdAt: Date
232
+ completedAt: Date | null
233
+ _count: TestGenerationRunCountAggregateOutputType | null
234
+ _avg: TestGenerationRunAvgAggregateOutputType | null
235
+ _sum: TestGenerationRunSumAggregateOutputType | null
236
+ _min: TestGenerationRunMinAggregateOutputType | null
237
+ _max: TestGenerationRunMaxAggregateOutputType | null
238
+ }
239
+
240
+ export type GetTestGenerationRunGroupByPayload<T extends TestGenerationRunGroupByArgs> = Prisma.PrismaPromise<
241
+ Array<
242
+ Prisma.PickEnumerable<TestGenerationRunGroupByOutputType, T['by']> &
243
+ {
244
+ [P in ((keyof T) & (keyof TestGenerationRunGroupByOutputType))]: P extends '_count'
245
+ ? T[P] extends boolean
246
+ ? number
247
+ : Prisma.GetScalarType<T[P], TestGenerationRunGroupByOutputType[P]>
248
+ : Prisma.GetScalarType<T[P], TestGenerationRunGroupByOutputType[P]>
249
+ }
250
+ >
251
+ >
252
+
253
+
254
+
255
+ export type TestGenerationRunWhereInput = {
256
+ AND?: Prisma.TestGenerationRunWhereInput | Prisma.TestGenerationRunWhereInput[]
257
+ OR?: Prisma.TestGenerationRunWhereInput[]
258
+ NOT?: Prisma.TestGenerationRunWhereInput | Prisma.TestGenerationRunWhereInput[]
259
+ id?: Prisma.StringFilter<"TestGenerationRun"> | string
260
+ projectId?: Prisma.StringFilter<"TestGenerationRun"> | string
261
+ storyId?: Prisma.StringFilter<"TestGenerationRun"> | string
262
+ status?: Prisma.StringFilter<"TestGenerationRun"> | string
263
+ error?: Prisma.StringNullableFilter<"TestGenerationRun"> | string | null
264
+ input?: Prisma.JsonNullableFilter<"TestGenerationRun">
265
+ output?: Prisma.JsonNullableFilter<"TestGenerationRun">
266
+ draftCount?: Prisma.IntFilter<"TestGenerationRun"> | number
267
+ adoptedCount?: Prisma.IntFilter<"TestGenerationRun"> | number
268
+ createdById?: Prisma.StringFilter<"TestGenerationRun"> | string
269
+ createdAt?: Prisma.DateTimeFilter<"TestGenerationRun"> | Date | string
270
+ completedAt?: Prisma.DateTimeNullableFilter<"TestGenerationRun"> | Date | string | null
271
+ project?: Prisma.XOR<Prisma.ProjectScalarRelationFilter, Prisma.ProjectWhereInput>
272
+ story?: Prisma.XOR<Prisma.StoryScalarRelationFilter, Prisma.StoryWhereInput>
273
+ createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
274
+ }
275
+
276
+ export type TestGenerationRunOrderByWithRelationInput = {
277
+ id?: Prisma.SortOrder
278
+ projectId?: Prisma.SortOrder
279
+ storyId?: Prisma.SortOrder
280
+ status?: Prisma.SortOrder
281
+ error?: Prisma.SortOrderInput | Prisma.SortOrder
282
+ input?: Prisma.SortOrderInput | Prisma.SortOrder
283
+ output?: Prisma.SortOrderInput | Prisma.SortOrder
284
+ draftCount?: Prisma.SortOrder
285
+ adoptedCount?: Prisma.SortOrder
286
+ createdById?: Prisma.SortOrder
287
+ createdAt?: Prisma.SortOrder
288
+ completedAt?: Prisma.SortOrderInput | Prisma.SortOrder
289
+ project?: Prisma.ProjectOrderByWithRelationInput
290
+ story?: Prisma.StoryOrderByWithRelationInput
291
+ createdBy?: Prisma.UserOrderByWithRelationInput
292
+ }
293
+
294
+ export type TestGenerationRunWhereUniqueInput = Prisma.AtLeast<{
295
+ id?: string
296
+ AND?: Prisma.TestGenerationRunWhereInput | Prisma.TestGenerationRunWhereInput[]
297
+ OR?: Prisma.TestGenerationRunWhereInput[]
298
+ NOT?: Prisma.TestGenerationRunWhereInput | Prisma.TestGenerationRunWhereInput[]
299
+ projectId?: Prisma.StringFilter<"TestGenerationRun"> | string
300
+ storyId?: Prisma.StringFilter<"TestGenerationRun"> | string
301
+ status?: Prisma.StringFilter<"TestGenerationRun"> | string
302
+ error?: Prisma.StringNullableFilter<"TestGenerationRun"> | string | null
303
+ input?: Prisma.JsonNullableFilter<"TestGenerationRun">
304
+ output?: Prisma.JsonNullableFilter<"TestGenerationRun">
305
+ draftCount?: Prisma.IntFilter<"TestGenerationRun"> | number
306
+ adoptedCount?: Prisma.IntFilter<"TestGenerationRun"> | number
307
+ createdById?: Prisma.StringFilter<"TestGenerationRun"> | string
308
+ createdAt?: Prisma.DateTimeFilter<"TestGenerationRun"> | Date | string
309
+ completedAt?: Prisma.DateTimeNullableFilter<"TestGenerationRun"> | Date | string | null
310
+ project?: Prisma.XOR<Prisma.ProjectScalarRelationFilter, Prisma.ProjectWhereInput>
311
+ story?: Prisma.XOR<Prisma.StoryScalarRelationFilter, Prisma.StoryWhereInput>
312
+ createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
313
+ }, "id">
314
+
315
+ export type TestGenerationRunOrderByWithAggregationInput = {
316
+ id?: Prisma.SortOrder
317
+ projectId?: Prisma.SortOrder
318
+ storyId?: Prisma.SortOrder
319
+ status?: Prisma.SortOrder
320
+ error?: Prisma.SortOrderInput | Prisma.SortOrder
321
+ input?: Prisma.SortOrderInput | Prisma.SortOrder
322
+ output?: Prisma.SortOrderInput | Prisma.SortOrder
323
+ draftCount?: Prisma.SortOrder
324
+ adoptedCount?: Prisma.SortOrder
325
+ createdById?: Prisma.SortOrder
326
+ createdAt?: Prisma.SortOrder
327
+ completedAt?: Prisma.SortOrderInput | Prisma.SortOrder
328
+ _count?: Prisma.TestGenerationRunCountOrderByAggregateInput
329
+ _avg?: Prisma.TestGenerationRunAvgOrderByAggregateInput
330
+ _max?: Prisma.TestGenerationRunMaxOrderByAggregateInput
331
+ _min?: Prisma.TestGenerationRunMinOrderByAggregateInput
332
+ _sum?: Prisma.TestGenerationRunSumOrderByAggregateInput
333
+ }
334
+
335
+ export type TestGenerationRunScalarWhereWithAggregatesInput = {
336
+ AND?: Prisma.TestGenerationRunScalarWhereWithAggregatesInput | Prisma.TestGenerationRunScalarWhereWithAggregatesInput[]
337
+ OR?: Prisma.TestGenerationRunScalarWhereWithAggregatesInput[]
338
+ NOT?: Prisma.TestGenerationRunScalarWhereWithAggregatesInput | Prisma.TestGenerationRunScalarWhereWithAggregatesInput[]
339
+ id?: Prisma.StringWithAggregatesFilter<"TestGenerationRun"> | string
340
+ projectId?: Prisma.StringWithAggregatesFilter<"TestGenerationRun"> | string
341
+ storyId?: Prisma.StringWithAggregatesFilter<"TestGenerationRun"> | string
342
+ status?: Prisma.StringWithAggregatesFilter<"TestGenerationRun"> | string
343
+ error?: Prisma.StringNullableWithAggregatesFilter<"TestGenerationRun"> | string | null
344
+ input?: Prisma.JsonNullableWithAggregatesFilter<"TestGenerationRun">
345
+ output?: Prisma.JsonNullableWithAggregatesFilter<"TestGenerationRun">
346
+ draftCount?: Prisma.IntWithAggregatesFilter<"TestGenerationRun"> | number
347
+ adoptedCount?: Prisma.IntWithAggregatesFilter<"TestGenerationRun"> | number
348
+ createdById?: Prisma.StringWithAggregatesFilter<"TestGenerationRun"> | string
349
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"TestGenerationRun"> | Date | string
350
+ completedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"TestGenerationRun"> | Date | string | null
351
+ }
352
+
353
+ export type TestGenerationRunCreateInput = {
354
+ id?: string
355
+ status?: string
356
+ error?: string | null
357
+ input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
358
+ output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
359
+ draftCount?: number
360
+ adoptedCount?: number
361
+ createdAt?: Date | string
362
+ completedAt?: Date | string | null
363
+ project: Prisma.ProjectCreateNestedOneWithoutTestGenerationRunsInput
364
+ story: Prisma.StoryCreateNestedOneWithoutGenerationRunsInput
365
+ createdBy: Prisma.UserCreateNestedOneWithoutTestGenerationRunsCreatedInput
366
+ }
367
+
368
+ export type TestGenerationRunUncheckedCreateInput = {
369
+ id?: string
370
+ projectId: string
371
+ storyId: string
372
+ status?: string
373
+ error?: string | null
374
+ input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
375
+ output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
376
+ draftCount?: number
377
+ adoptedCount?: number
378
+ createdById: string
379
+ createdAt?: Date | string
380
+ completedAt?: Date | string | null
381
+ }
382
+
383
+ export type TestGenerationRunUpdateInput = {
384
+ id?: Prisma.StringFieldUpdateOperationsInput | string
385
+ status?: Prisma.StringFieldUpdateOperationsInput | string
386
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
387
+ input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
388
+ output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
389
+ draftCount?: Prisma.IntFieldUpdateOperationsInput | number
390
+ adoptedCount?: Prisma.IntFieldUpdateOperationsInput | number
391
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
392
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
393
+ project?: Prisma.ProjectUpdateOneRequiredWithoutTestGenerationRunsNestedInput
394
+ story?: Prisma.StoryUpdateOneRequiredWithoutGenerationRunsNestedInput
395
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutTestGenerationRunsCreatedNestedInput
396
+ }
397
+
398
+ export type TestGenerationRunUncheckedUpdateInput = {
399
+ id?: Prisma.StringFieldUpdateOperationsInput | string
400
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
401
+ storyId?: Prisma.StringFieldUpdateOperationsInput | string
402
+ status?: Prisma.StringFieldUpdateOperationsInput | string
403
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
404
+ input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
405
+ output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
406
+ draftCount?: Prisma.IntFieldUpdateOperationsInput | number
407
+ adoptedCount?: Prisma.IntFieldUpdateOperationsInput | number
408
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
409
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
410
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
411
+ }
412
+
413
+ export type TestGenerationRunCreateManyInput = {
414
+ id?: string
415
+ projectId: string
416
+ storyId: string
417
+ status?: string
418
+ error?: string | null
419
+ input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
420
+ output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
421
+ draftCount?: number
422
+ adoptedCount?: number
423
+ createdById: string
424
+ createdAt?: Date | string
425
+ completedAt?: Date | string | null
426
+ }
427
+
428
+ export type TestGenerationRunUpdateManyMutationInput = {
429
+ id?: Prisma.StringFieldUpdateOperationsInput | string
430
+ status?: Prisma.StringFieldUpdateOperationsInput | string
431
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
432
+ input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
433
+ output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
434
+ draftCount?: Prisma.IntFieldUpdateOperationsInput | number
435
+ adoptedCount?: Prisma.IntFieldUpdateOperationsInput | number
436
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
437
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
438
+ }
439
+
440
+ export type TestGenerationRunUncheckedUpdateManyInput = {
441
+ id?: Prisma.StringFieldUpdateOperationsInput | string
442
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
443
+ storyId?: Prisma.StringFieldUpdateOperationsInput | string
444
+ status?: Prisma.StringFieldUpdateOperationsInput | string
445
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
446
+ input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
447
+ output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
448
+ draftCount?: Prisma.IntFieldUpdateOperationsInput | number
449
+ adoptedCount?: Prisma.IntFieldUpdateOperationsInput | number
450
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
451
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
452
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
453
+ }
454
+
455
+ export type TestGenerationRunListRelationFilter = {
456
+ every?: Prisma.TestGenerationRunWhereInput
457
+ some?: Prisma.TestGenerationRunWhereInput
458
+ none?: Prisma.TestGenerationRunWhereInput
459
+ }
460
+
461
+ export type TestGenerationRunOrderByRelationAggregateInput = {
462
+ _count?: Prisma.SortOrder
463
+ }
464
+
465
+ export type TestGenerationRunCountOrderByAggregateInput = {
466
+ id?: Prisma.SortOrder
467
+ projectId?: Prisma.SortOrder
468
+ storyId?: Prisma.SortOrder
469
+ status?: Prisma.SortOrder
470
+ error?: Prisma.SortOrder
471
+ input?: Prisma.SortOrder
472
+ output?: Prisma.SortOrder
473
+ draftCount?: Prisma.SortOrder
474
+ adoptedCount?: Prisma.SortOrder
475
+ createdById?: Prisma.SortOrder
476
+ createdAt?: Prisma.SortOrder
477
+ completedAt?: Prisma.SortOrder
478
+ }
479
+
480
+ export type TestGenerationRunAvgOrderByAggregateInput = {
481
+ draftCount?: Prisma.SortOrder
482
+ adoptedCount?: Prisma.SortOrder
483
+ }
484
+
485
+ export type TestGenerationRunMaxOrderByAggregateInput = {
486
+ id?: Prisma.SortOrder
487
+ projectId?: Prisma.SortOrder
488
+ storyId?: Prisma.SortOrder
489
+ status?: Prisma.SortOrder
490
+ error?: Prisma.SortOrder
491
+ draftCount?: Prisma.SortOrder
492
+ adoptedCount?: Prisma.SortOrder
493
+ createdById?: Prisma.SortOrder
494
+ createdAt?: Prisma.SortOrder
495
+ completedAt?: Prisma.SortOrder
496
+ }
497
+
498
+ export type TestGenerationRunMinOrderByAggregateInput = {
499
+ id?: Prisma.SortOrder
500
+ projectId?: Prisma.SortOrder
501
+ storyId?: Prisma.SortOrder
502
+ status?: Prisma.SortOrder
503
+ error?: Prisma.SortOrder
504
+ draftCount?: Prisma.SortOrder
505
+ adoptedCount?: Prisma.SortOrder
506
+ createdById?: Prisma.SortOrder
507
+ createdAt?: Prisma.SortOrder
508
+ completedAt?: Prisma.SortOrder
509
+ }
510
+
511
+ export type TestGenerationRunSumOrderByAggregateInput = {
512
+ draftCount?: Prisma.SortOrder
513
+ adoptedCount?: Prisma.SortOrder
514
+ }
515
+
516
+ export type TestGenerationRunCreateNestedManyWithoutCreatedByInput = {
517
+ create?: Prisma.XOR<Prisma.TestGenerationRunCreateWithoutCreatedByInput, Prisma.TestGenerationRunUncheckedCreateWithoutCreatedByInput> | Prisma.TestGenerationRunCreateWithoutCreatedByInput[] | Prisma.TestGenerationRunUncheckedCreateWithoutCreatedByInput[]
518
+ connectOrCreate?: Prisma.TestGenerationRunCreateOrConnectWithoutCreatedByInput | Prisma.TestGenerationRunCreateOrConnectWithoutCreatedByInput[]
519
+ createMany?: Prisma.TestGenerationRunCreateManyCreatedByInputEnvelope
520
+ connect?: Prisma.TestGenerationRunWhereUniqueInput | Prisma.TestGenerationRunWhereUniqueInput[]
521
+ }
522
+
523
+ export type TestGenerationRunUncheckedCreateNestedManyWithoutCreatedByInput = {
524
+ create?: Prisma.XOR<Prisma.TestGenerationRunCreateWithoutCreatedByInput, Prisma.TestGenerationRunUncheckedCreateWithoutCreatedByInput> | Prisma.TestGenerationRunCreateWithoutCreatedByInput[] | Prisma.TestGenerationRunUncheckedCreateWithoutCreatedByInput[]
525
+ connectOrCreate?: Prisma.TestGenerationRunCreateOrConnectWithoutCreatedByInput | Prisma.TestGenerationRunCreateOrConnectWithoutCreatedByInput[]
526
+ createMany?: Prisma.TestGenerationRunCreateManyCreatedByInputEnvelope
527
+ connect?: Prisma.TestGenerationRunWhereUniqueInput | Prisma.TestGenerationRunWhereUniqueInput[]
528
+ }
529
+
530
+ export type TestGenerationRunUpdateManyWithoutCreatedByNestedInput = {
531
+ create?: Prisma.XOR<Prisma.TestGenerationRunCreateWithoutCreatedByInput, Prisma.TestGenerationRunUncheckedCreateWithoutCreatedByInput> | Prisma.TestGenerationRunCreateWithoutCreatedByInput[] | Prisma.TestGenerationRunUncheckedCreateWithoutCreatedByInput[]
532
+ connectOrCreate?: Prisma.TestGenerationRunCreateOrConnectWithoutCreatedByInput | Prisma.TestGenerationRunCreateOrConnectWithoutCreatedByInput[]
533
+ upsert?: Prisma.TestGenerationRunUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.TestGenerationRunUpsertWithWhereUniqueWithoutCreatedByInput[]
534
+ createMany?: Prisma.TestGenerationRunCreateManyCreatedByInputEnvelope
535
+ set?: Prisma.TestGenerationRunWhereUniqueInput | Prisma.TestGenerationRunWhereUniqueInput[]
536
+ disconnect?: Prisma.TestGenerationRunWhereUniqueInput | Prisma.TestGenerationRunWhereUniqueInput[]
537
+ delete?: Prisma.TestGenerationRunWhereUniqueInput | Prisma.TestGenerationRunWhereUniqueInput[]
538
+ connect?: Prisma.TestGenerationRunWhereUniqueInput | Prisma.TestGenerationRunWhereUniqueInput[]
539
+ update?: Prisma.TestGenerationRunUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.TestGenerationRunUpdateWithWhereUniqueWithoutCreatedByInput[]
540
+ updateMany?: Prisma.TestGenerationRunUpdateManyWithWhereWithoutCreatedByInput | Prisma.TestGenerationRunUpdateManyWithWhereWithoutCreatedByInput[]
541
+ deleteMany?: Prisma.TestGenerationRunScalarWhereInput | Prisma.TestGenerationRunScalarWhereInput[]
542
+ }
543
+
544
+ export type TestGenerationRunUncheckedUpdateManyWithoutCreatedByNestedInput = {
545
+ create?: Prisma.XOR<Prisma.TestGenerationRunCreateWithoutCreatedByInput, Prisma.TestGenerationRunUncheckedCreateWithoutCreatedByInput> | Prisma.TestGenerationRunCreateWithoutCreatedByInput[] | Prisma.TestGenerationRunUncheckedCreateWithoutCreatedByInput[]
546
+ connectOrCreate?: Prisma.TestGenerationRunCreateOrConnectWithoutCreatedByInput | Prisma.TestGenerationRunCreateOrConnectWithoutCreatedByInput[]
547
+ upsert?: Prisma.TestGenerationRunUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.TestGenerationRunUpsertWithWhereUniqueWithoutCreatedByInput[]
548
+ createMany?: Prisma.TestGenerationRunCreateManyCreatedByInputEnvelope
549
+ set?: Prisma.TestGenerationRunWhereUniqueInput | Prisma.TestGenerationRunWhereUniqueInput[]
550
+ disconnect?: Prisma.TestGenerationRunWhereUniqueInput | Prisma.TestGenerationRunWhereUniqueInput[]
551
+ delete?: Prisma.TestGenerationRunWhereUniqueInput | Prisma.TestGenerationRunWhereUniqueInput[]
552
+ connect?: Prisma.TestGenerationRunWhereUniqueInput | Prisma.TestGenerationRunWhereUniqueInput[]
553
+ update?: Prisma.TestGenerationRunUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.TestGenerationRunUpdateWithWhereUniqueWithoutCreatedByInput[]
554
+ updateMany?: Prisma.TestGenerationRunUpdateManyWithWhereWithoutCreatedByInput | Prisma.TestGenerationRunUpdateManyWithWhereWithoutCreatedByInput[]
555
+ deleteMany?: Prisma.TestGenerationRunScalarWhereInput | Prisma.TestGenerationRunScalarWhereInput[]
556
+ }
557
+
558
+ export type TestGenerationRunCreateNestedManyWithoutProjectInput = {
559
+ create?: Prisma.XOR<Prisma.TestGenerationRunCreateWithoutProjectInput, Prisma.TestGenerationRunUncheckedCreateWithoutProjectInput> | Prisma.TestGenerationRunCreateWithoutProjectInput[] | Prisma.TestGenerationRunUncheckedCreateWithoutProjectInput[]
560
+ connectOrCreate?: Prisma.TestGenerationRunCreateOrConnectWithoutProjectInput | Prisma.TestGenerationRunCreateOrConnectWithoutProjectInput[]
561
+ createMany?: Prisma.TestGenerationRunCreateManyProjectInputEnvelope
562
+ connect?: Prisma.TestGenerationRunWhereUniqueInput | Prisma.TestGenerationRunWhereUniqueInput[]
563
+ }
564
+
565
+ export type TestGenerationRunUncheckedCreateNestedManyWithoutProjectInput = {
566
+ create?: Prisma.XOR<Prisma.TestGenerationRunCreateWithoutProjectInput, Prisma.TestGenerationRunUncheckedCreateWithoutProjectInput> | Prisma.TestGenerationRunCreateWithoutProjectInput[] | Prisma.TestGenerationRunUncheckedCreateWithoutProjectInput[]
567
+ connectOrCreate?: Prisma.TestGenerationRunCreateOrConnectWithoutProjectInput | Prisma.TestGenerationRunCreateOrConnectWithoutProjectInput[]
568
+ createMany?: Prisma.TestGenerationRunCreateManyProjectInputEnvelope
569
+ connect?: Prisma.TestGenerationRunWhereUniqueInput | Prisma.TestGenerationRunWhereUniqueInput[]
570
+ }
571
+
572
+ export type TestGenerationRunUpdateManyWithoutProjectNestedInput = {
573
+ create?: Prisma.XOR<Prisma.TestGenerationRunCreateWithoutProjectInput, Prisma.TestGenerationRunUncheckedCreateWithoutProjectInput> | Prisma.TestGenerationRunCreateWithoutProjectInput[] | Prisma.TestGenerationRunUncheckedCreateWithoutProjectInput[]
574
+ connectOrCreate?: Prisma.TestGenerationRunCreateOrConnectWithoutProjectInput | Prisma.TestGenerationRunCreateOrConnectWithoutProjectInput[]
575
+ upsert?: Prisma.TestGenerationRunUpsertWithWhereUniqueWithoutProjectInput | Prisma.TestGenerationRunUpsertWithWhereUniqueWithoutProjectInput[]
576
+ createMany?: Prisma.TestGenerationRunCreateManyProjectInputEnvelope
577
+ set?: Prisma.TestGenerationRunWhereUniqueInput | Prisma.TestGenerationRunWhereUniqueInput[]
578
+ disconnect?: Prisma.TestGenerationRunWhereUniqueInput | Prisma.TestGenerationRunWhereUniqueInput[]
579
+ delete?: Prisma.TestGenerationRunWhereUniqueInput | Prisma.TestGenerationRunWhereUniqueInput[]
580
+ connect?: Prisma.TestGenerationRunWhereUniqueInput | Prisma.TestGenerationRunWhereUniqueInput[]
581
+ update?: Prisma.TestGenerationRunUpdateWithWhereUniqueWithoutProjectInput | Prisma.TestGenerationRunUpdateWithWhereUniqueWithoutProjectInput[]
582
+ updateMany?: Prisma.TestGenerationRunUpdateManyWithWhereWithoutProjectInput | Prisma.TestGenerationRunUpdateManyWithWhereWithoutProjectInput[]
583
+ deleteMany?: Prisma.TestGenerationRunScalarWhereInput | Prisma.TestGenerationRunScalarWhereInput[]
584
+ }
585
+
586
+ export type TestGenerationRunUncheckedUpdateManyWithoutProjectNestedInput = {
587
+ create?: Prisma.XOR<Prisma.TestGenerationRunCreateWithoutProjectInput, Prisma.TestGenerationRunUncheckedCreateWithoutProjectInput> | Prisma.TestGenerationRunCreateWithoutProjectInput[] | Prisma.TestGenerationRunUncheckedCreateWithoutProjectInput[]
588
+ connectOrCreate?: Prisma.TestGenerationRunCreateOrConnectWithoutProjectInput | Prisma.TestGenerationRunCreateOrConnectWithoutProjectInput[]
589
+ upsert?: Prisma.TestGenerationRunUpsertWithWhereUniqueWithoutProjectInput | Prisma.TestGenerationRunUpsertWithWhereUniqueWithoutProjectInput[]
590
+ createMany?: Prisma.TestGenerationRunCreateManyProjectInputEnvelope
591
+ set?: Prisma.TestGenerationRunWhereUniqueInput | Prisma.TestGenerationRunWhereUniqueInput[]
592
+ disconnect?: Prisma.TestGenerationRunWhereUniqueInput | Prisma.TestGenerationRunWhereUniqueInput[]
593
+ delete?: Prisma.TestGenerationRunWhereUniqueInput | Prisma.TestGenerationRunWhereUniqueInput[]
594
+ connect?: Prisma.TestGenerationRunWhereUniqueInput | Prisma.TestGenerationRunWhereUniqueInput[]
595
+ update?: Prisma.TestGenerationRunUpdateWithWhereUniqueWithoutProjectInput | Prisma.TestGenerationRunUpdateWithWhereUniqueWithoutProjectInput[]
596
+ updateMany?: Prisma.TestGenerationRunUpdateManyWithWhereWithoutProjectInput | Prisma.TestGenerationRunUpdateManyWithWhereWithoutProjectInput[]
597
+ deleteMany?: Prisma.TestGenerationRunScalarWhereInput | Prisma.TestGenerationRunScalarWhereInput[]
598
+ }
599
+
600
+ export type TestGenerationRunCreateNestedManyWithoutStoryInput = {
601
+ create?: Prisma.XOR<Prisma.TestGenerationRunCreateWithoutStoryInput, Prisma.TestGenerationRunUncheckedCreateWithoutStoryInput> | Prisma.TestGenerationRunCreateWithoutStoryInput[] | Prisma.TestGenerationRunUncheckedCreateWithoutStoryInput[]
602
+ connectOrCreate?: Prisma.TestGenerationRunCreateOrConnectWithoutStoryInput | Prisma.TestGenerationRunCreateOrConnectWithoutStoryInput[]
603
+ createMany?: Prisma.TestGenerationRunCreateManyStoryInputEnvelope
604
+ connect?: Prisma.TestGenerationRunWhereUniqueInput | Prisma.TestGenerationRunWhereUniqueInput[]
605
+ }
606
+
607
+ export type TestGenerationRunUncheckedCreateNestedManyWithoutStoryInput = {
608
+ create?: Prisma.XOR<Prisma.TestGenerationRunCreateWithoutStoryInput, Prisma.TestGenerationRunUncheckedCreateWithoutStoryInput> | Prisma.TestGenerationRunCreateWithoutStoryInput[] | Prisma.TestGenerationRunUncheckedCreateWithoutStoryInput[]
609
+ connectOrCreate?: Prisma.TestGenerationRunCreateOrConnectWithoutStoryInput | Prisma.TestGenerationRunCreateOrConnectWithoutStoryInput[]
610
+ createMany?: Prisma.TestGenerationRunCreateManyStoryInputEnvelope
611
+ connect?: Prisma.TestGenerationRunWhereUniqueInput | Prisma.TestGenerationRunWhereUniqueInput[]
612
+ }
613
+
614
+ export type TestGenerationRunUpdateManyWithoutStoryNestedInput = {
615
+ create?: Prisma.XOR<Prisma.TestGenerationRunCreateWithoutStoryInput, Prisma.TestGenerationRunUncheckedCreateWithoutStoryInput> | Prisma.TestGenerationRunCreateWithoutStoryInput[] | Prisma.TestGenerationRunUncheckedCreateWithoutStoryInput[]
616
+ connectOrCreate?: Prisma.TestGenerationRunCreateOrConnectWithoutStoryInput | Prisma.TestGenerationRunCreateOrConnectWithoutStoryInput[]
617
+ upsert?: Prisma.TestGenerationRunUpsertWithWhereUniqueWithoutStoryInput | Prisma.TestGenerationRunUpsertWithWhereUniqueWithoutStoryInput[]
618
+ createMany?: Prisma.TestGenerationRunCreateManyStoryInputEnvelope
619
+ set?: Prisma.TestGenerationRunWhereUniqueInput | Prisma.TestGenerationRunWhereUniqueInput[]
620
+ disconnect?: Prisma.TestGenerationRunWhereUniqueInput | Prisma.TestGenerationRunWhereUniqueInput[]
621
+ delete?: Prisma.TestGenerationRunWhereUniqueInput | Prisma.TestGenerationRunWhereUniqueInput[]
622
+ connect?: Prisma.TestGenerationRunWhereUniqueInput | Prisma.TestGenerationRunWhereUniqueInput[]
623
+ update?: Prisma.TestGenerationRunUpdateWithWhereUniqueWithoutStoryInput | Prisma.TestGenerationRunUpdateWithWhereUniqueWithoutStoryInput[]
624
+ updateMany?: Prisma.TestGenerationRunUpdateManyWithWhereWithoutStoryInput | Prisma.TestGenerationRunUpdateManyWithWhereWithoutStoryInput[]
625
+ deleteMany?: Prisma.TestGenerationRunScalarWhereInput | Prisma.TestGenerationRunScalarWhereInput[]
626
+ }
627
+
628
+ export type TestGenerationRunUncheckedUpdateManyWithoutStoryNestedInput = {
629
+ create?: Prisma.XOR<Prisma.TestGenerationRunCreateWithoutStoryInput, Prisma.TestGenerationRunUncheckedCreateWithoutStoryInput> | Prisma.TestGenerationRunCreateWithoutStoryInput[] | Prisma.TestGenerationRunUncheckedCreateWithoutStoryInput[]
630
+ connectOrCreate?: Prisma.TestGenerationRunCreateOrConnectWithoutStoryInput | Prisma.TestGenerationRunCreateOrConnectWithoutStoryInput[]
631
+ upsert?: Prisma.TestGenerationRunUpsertWithWhereUniqueWithoutStoryInput | Prisma.TestGenerationRunUpsertWithWhereUniqueWithoutStoryInput[]
632
+ createMany?: Prisma.TestGenerationRunCreateManyStoryInputEnvelope
633
+ set?: Prisma.TestGenerationRunWhereUniqueInput | Prisma.TestGenerationRunWhereUniqueInput[]
634
+ disconnect?: Prisma.TestGenerationRunWhereUniqueInput | Prisma.TestGenerationRunWhereUniqueInput[]
635
+ delete?: Prisma.TestGenerationRunWhereUniqueInput | Prisma.TestGenerationRunWhereUniqueInput[]
636
+ connect?: Prisma.TestGenerationRunWhereUniqueInput | Prisma.TestGenerationRunWhereUniqueInput[]
637
+ update?: Prisma.TestGenerationRunUpdateWithWhereUniqueWithoutStoryInput | Prisma.TestGenerationRunUpdateWithWhereUniqueWithoutStoryInput[]
638
+ updateMany?: Prisma.TestGenerationRunUpdateManyWithWhereWithoutStoryInput | Prisma.TestGenerationRunUpdateManyWithWhereWithoutStoryInput[]
639
+ deleteMany?: Prisma.TestGenerationRunScalarWhereInput | Prisma.TestGenerationRunScalarWhereInput[]
640
+ }
641
+
642
+ export type TestGenerationRunCreateWithoutCreatedByInput = {
643
+ id?: string
644
+ status?: string
645
+ error?: string | null
646
+ input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
647
+ output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
648
+ draftCount?: number
649
+ adoptedCount?: number
650
+ createdAt?: Date | string
651
+ completedAt?: Date | string | null
652
+ project: Prisma.ProjectCreateNestedOneWithoutTestGenerationRunsInput
653
+ story: Prisma.StoryCreateNestedOneWithoutGenerationRunsInput
654
+ }
655
+
656
+ export type TestGenerationRunUncheckedCreateWithoutCreatedByInput = {
657
+ id?: string
658
+ projectId: string
659
+ storyId: string
660
+ status?: string
661
+ error?: string | null
662
+ input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
663
+ output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
664
+ draftCount?: number
665
+ adoptedCount?: number
666
+ createdAt?: Date | string
667
+ completedAt?: Date | string | null
668
+ }
669
+
670
+ export type TestGenerationRunCreateOrConnectWithoutCreatedByInput = {
671
+ where: Prisma.TestGenerationRunWhereUniqueInput
672
+ create: Prisma.XOR<Prisma.TestGenerationRunCreateWithoutCreatedByInput, Prisma.TestGenerationRunUncheckedCreateWithoutCreatedByInput>
673
+ }
674
+
675
+ export type TestGenerationRunCreateManyCreatedByInputEnvelope = {
676
+ data: Prisma.TestGenerationRunCreateManyCreatedByInput | Prisma.TestGenerationRunCreateManyCreatedByInput[]
677
+ skipDuplicates?: boolean
678
+ }
679
+
680
+ export type TestGenerationRunUpsertWithWhereUniqueWithoutCreatedByInput = {
681
+ where: Prisma.TestGenerationRunWhereUniqueInput
682
+ update: Prisma.XOR<Prisma.TestGenerationRunUpdateWithoutCreatedByInput, Prisma.TestGenerationRunUncheckedUpdateWithoutCreatedByInput>
683
+ create: Prisma.XOR<Prisma.TestGenerationRunCreateWithoutCreatedByInput, Prisma.TestGenerationRunUncheckedCreateWithoutCreatedByInput>
684
+ }
685
+
686
+ export type TestGenerationRunUpdateWithWhereUniqueWithoutCreatedByInput = {
687
+ where: Prisma.TestGenerationRunWhereUniqueInput
688
+ data: Prisma.XOR<Prisma.TestGenerationRunUpdateWithoutCreatedByInput, Prisma.TestGenerationRunUncheckedUpdateWithoutCreatedByInput>
689
+ }
690
+
691
+ export type TestGenerationRunUpdateManyWithWhereWithoutCreatedByInput = {
692
+ where: Prisma.TestGenerationRunScalarWhereInput
693
+ data: Prisma.XOR<Prisma.TestGenerationRunUpdateManyMutationInput, Prisma.TestGenerationRunUncheckedUpdateManyWithoutCreatedByInput>
694
+ }
695
+
696
+ export type TestGenerationRunScalarWhereInput = {
697
+ AND?: Prisma.TestGenerationRunScalarWhereInput | Prisma.TestGenerationRunScalarWhereInput[]
698
+ OR?: Prisma.TestGenerationRunScalarWhereInput[]
699
+ NOT?: Prisma.TestGenerationRunScalarWhereInput | Prisma.TestGenerationRunScalarWhereInput[]
700
+ id?: Prisma.StringFilter<"TestGenerationRun"> | string
701
+ projectId?: Prisma.StringFilter<"TestGenerationRun"> | string
702
+ storyId?: Prisma.StringFilter<"TestGenerationRun"> | string
703
+ status?: Prisma.StringFilter<"TestGenerationRun"> | string
704
+ error?: Prisma.StringNullableFilter<"TestGenerationRun"> | string | null
705
+ input?: Prisma.JsonNullableFilter<"TestGenerationRun">
706
+ output?: Prisma.JsonNullableFilter<"TestGenerationRun">
707
+ draftCount?: Prisma.IntFilter<"TestGenerationRun"> | number
708
+ adoptedCount?: Prisma.IntFilter<"TestGenerationRun"> | number
709
+ createdById?: Prisma.StringFilter<"TestGenerationRun"> | string
710
+ createdAt?: Prisma.DateTimeFilter<"TestGenerationRun"> | Date | string
711
+ completedAt?: Prisma.DateTimeNullableFilter<"TestGenerationRun"> | Date | string | null
712
+ }
713
+
714
+ export type TestGenerationRunCreateWithoutProjectInput = {
715
+ id?: string
716
+ status?: string
717
+ error?: string | null
718
+ input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
719
+ output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
720
+ draftCount?: number
721
+ adoptedCount?: number
722
+ createdAt?: Date | string
723
+ completedAt?: Date | string | null
724
+ story: Prisma.StoryCreateNestedOneWithoutGenerationRunsInput
725
+ createdBy: Prisma.UserCreateNestedOneWithoutTestGenerationRunsCreatedInput
726
+ }
727
+
728
+ export type TestGenerationRunUncheckedCreateWithoutProjectInput = {
729
+ id?: string
730
+ storyId: string
731
+ status?: string
732
+ error?: string | null
733
+ input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
734
+ output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
735
+ draftCount?: number
736
+ adoptedCount?: number
737
+ createdById: string
738
+ createdAt?: Date | string
739
+ completedAt?: Date | string | null
740
+ }
741
+
742
+ export type TestGenerationRunCreateOrConnectWithoutProjectInput = {
743
+ where: Prisma.TestGenerationRunWhereUniqueInput
744
+ create: Prisma.XOR<Prisma.TestGenerationRunCreateWithoutProjectInput, Prisma.TestGenerationRunUncheckedCreateWithoutProjectInput>
745
+ }
746
+
747
+ export type TestGenerationRunCreateManyProjectInputEnvelope = {
748
+ data: Prisma.TestGenerationRunCreateManyProjectInput | Prisma.TestGenerationRunCreateManyProjectInput[]
749
+ skipDuplicates?: boolean
750
+ }
751
+
752
+ export type TestGenerationRunUpsertWithWhereUniqueWithoutProjectInput = {
753
+ where: Prisma.TestGenerationRunWhereUniqueInput
754
+ update: Prisma.XOR<Prisma.TestGenerationRunUpdateWithoutProjectInput, Prisma.TestGenerationRunUncheckedUpdateWithoutProjectInput>
755
+ create: Prisma.XOR<Prisma.TestGenerationRunCreateWithoutProjectInput, Prisma.TestGenerationRunUncheckedCreateWithoutProjectInput>
756
+ }
757
+
758
+ export type TestGenerationRunUpdateWithWhereUniqueWithoutProjectInput = {
759
+ where: Prisma.TestGenerationRunWhereUniqueInput
760
+ data: Prisma.XOR<Prisma.TestGenerationRunUpdateWithoutProjectInput, Prisma.TestGenerationRunUncheckedUpdateWithoutProjectInput>
761
+ }
762
+
763
+ export type TestGenerationRunUpdateManyWithWhereWithoutProjectInput = {
764
+ where: Prisma.TestGenerationRunScalarWhereInput
765
+ data: Prisma.XOR<Prisma.TestGenerationRunUpdateManyMutationInput, Prisma.TestGenerationRunUncheckedUpdateManyWithoutProjectInput>
766
+ }
767
+
768
+ export type TestGenerationRunCreateWithoutStoryInput = {
769
+ id?: string
770
+ status?: string
771
+ error?: string | null
772
+ input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
773
+ output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
774
+ draftCount?: number
775
+ adoptedCount?: number
776
+ createdAt?: Date | string
777
+ completedAt?: Date | string | null
778
+ project: Prisma.ProjectCreateNestedOneWithoutTestGenerationRunsInput
779
+ createdBy: Prisma.UserCreateNestedOneWithoutTestGenerationRunsCreatedInput
780
+ }
781
+
782
+ export type TestGenerationRunUncheckedCreateWithoutStoryInput = {
783
+ id?: string
784
+ projectId: string
785
+ status?: string
786
+ error?: string | null
787
+ input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
788
+ output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
789
+ draftCount?: number
790
+ adoptedCount?: number
791
+ createdById: string
792
+ createdAt?: Date | string
793
+ completedAt?: Date | string | null
794
+ }
795
+
796
+ export type TestGenerationRunCreateOrConnectWithoutStoryInput = {
797
+ where: Prisma.TestGenerationRunWhereUniqueInput
798
+ create: Prisma.XOR<Prisma.TestGenerationRunCreateWithoutStoryInput, Prisma.TestGenerationRunUncheckedCreateWithoutStoryInput>
799
+ }
800
+
801
+ export type TestGenerationRunCreateManyStoryInputEnvelope = {
802
+ data: Prisma.TestGenerationRunCreateManyStoryInput | Prisma.TestGenerationRunCreateManyStoryInput[]
803
+ skipDuplicates?: boolean
804
+ }
805
+
806
+ export type TestGenerationRunUpsertWithWhereUniqueWithoutStoryInput = {
807
+ where: Prisma.TestGenerationRunWhereUniqueInput
808
+ update: Prisma.XOR<Prisma.TestGenerationRunUpdateWithoutStoryInput, Prisma.TestGenerationRunUncheckedUpdateWithoutStoryInput>
809
+ create: Prisma.XOR<Prisma.TestGenerationRunCreateWithoutStoryInput, Prisma.TestGenerationRunUncheckedCreateWithoutStoryInput>
810
+ }
811
+
812
+ export type TestGenerationRunUpdateWithWhereUniqueWithoutStoryInput = {
813
+ where: Prisma.TestGenerationRunWhereUniqueInput
814
+ data: Prisma.XOR<Prisma.TestGenerationRunUpdateWithoutStoryInput, Prisma.TestGenerationRunUncheckedUpdateWithoutStoryInput>
815
+ }
816
+
817
+ export type TestGenerationRunUpdateManyWithWhereWithoutStoryInput = {
818
+ where: Prisma.TestGenerationRunScalarWhereInput
819
+ data: Prisma.XOR<Prisma.TestGenerationRunUpdateManyMutationInput, Prisma.TestGenerationRunUncheckedUpdateManyWithoutStoryInput>
820
+ }
821
+
822
+ export type TestGenerationRunCreateManyCreatedByInput = {
823
+ id?: string
824
+ projectId: string
825
+ storyId: string
826
+ status?: string
827
+ error?: string | null
828
+ input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
829
+ output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
830
+ draftCount?: number
831
+ adoptedCount?: number
832
+ createdAt?: Date | string
833
+ completedAt?: Date | string | null
834
+ }
835
+
836
+ export type TestGenerationRunUpdateWithoutCreatedByInput = {
837
+ id?: Prisma.StringFieldUpdateOperationsInput | string
838
+ status?: Prisma.StringFieldUpdateOperationsInput | string
839
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
840
+ input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
841
+ output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
842
+ draftCount?: Prisma.IntFieldUpdateOperationsInput | number
843
+ adoptedCount?: Prisma.IntFieldUpdateOperationsInput | number
844
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
845
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
846
+ project?: Prisma.ProjectUpdateOneRequiredWithoutTestGenerationRunsNestedInput
847
+ story?: Prisma.StoryUpdateOneRequiredWithoutGenerationRunsNestedInput
848
+ }
849
+
850
+ export type TestGenerationRunUncheckedUpdateWithoutCreatedByInput = {
851
+ id?: Prisma.StringFieldUpdateOperationsInput | string
852
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
853
+ storyId?: Prisma.StringFieldUpdateOperationsInput | string
854
+ status?: Prisma.StringFieldUpdateOperationsInput | string
855
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
856
+ input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
857
+ output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
858
+ draftCount?: Prisma.IntFieldUpdateOperationsInput | number
859
+ adoptedCount?: Prisma.IntFieldUpdateOperationsInput | number
860
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
861
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
862
+ }
863
+
864
+ export type TestGenerationRunUncheckedUpdateManyWithoutCreatedByInput = {
865
+ id?: Prisma.StringFieldUpdateOperationsInput | string
866
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
867
+ storyId?: Prisma.StringFieldUpdateOperationsInput | string
868
+ status?: Prisma.StringFieldUpdateOperationsInput | string
869
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
870
+ input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
871
+ output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
872
+ draftCount?: Prisma.IntFieldUpdateOperationsInput | number
873
+ adoptedCount?: Prisma.IntFieldUpdateOperationsInput | number
874
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
875
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
876
+ }
877
+
878
+ export type TestGenerationRunCreateManyProjectInput = {
879
+ id?: string
880
+ storyId: string
881
+ status?: string
882
+ error?: string | null
883
+ input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
884
+ output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
885
+ draftCount?: number
886
+ adoptedCount?: number
887
+ createdById: string
888
+ createdAt?: Date | string
889
+ completedAt?: Date | string | null
890
+ }
891
+
892
+ export type TestGenerationRunUpdateWithoutProjectInput = {
893
+ id?: Prisma.StringFieldUpdateOperationsInput | string
894
+ status?: Prisma.StringFieldUpdateOperationsInput | string
895
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
896
+ input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
897
+ output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
898
+ draftCount?: Prisma.IntFieldUpdateOperationsInput | number
899
+ adoptedCount?: Prisma.IntFieldUpdateOperationsInput | number
900
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
901
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
902
+ story?: Prisma.StoryUpdateOneRequiredWithoutGenerationRunsNestedInput
903
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutTestGenerationRunsCreatedNestedInput
904
+ }
905
+
906
+ export type TestGenerationRunUncheckedUpdateWithoutProjectInput = {
907
+ id?: Prisma.StringFieldUpdateOperationsInput | string
908
+ storyId?: Prisma.StringFieldUpdateOperationsInput | string
909
+ status?: Prisma.StringFieldUpdateOperationsInput | string
910
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
911
+ input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
912
+ output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
913
+ draftCount?: Prisma.IntFieldUpdateOperationsInput | number
914
+ adoptedCount?: Prisma.IntFieldUpdateOperationsInput | number
915
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
916
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
917
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
918
+ }
919
+
920
+ export type TestGenerationRunUncheckedUpdateManyWithoutProjectInput = {
921
+ id?: Prisma.StringFieldUpdateOperationsInput | string
922
+ storyId?: Prisma.StringFieldUpdateOperationsInput | string
923
+ status?: Prisma.StringFieldUpdateOperationsInput | string
924
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
925
+ input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
926
+ output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
927
+ draftCount?: Prisma.IntFieldUpdateOperationsInput | number
928
+ adoptedCount?: Prisma.IntFieldUpdateOperationsInput | number
929
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
930
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
931
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
932
+ }
933
+
934
+ export type TestGenerationRunCreateManyStoryInput = {
935
+ id?: string
936
+ projectId: string
937
+ status?: string
938
+ error?: string | null
939
+ input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
940
+ output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
941
+ draftCount?: number
942
+ adoptedCount?: number
943
+ createdById: string
944
+ createdAt?: Date | string
945
+ completedAt?: Date | string | null
946
+ }
947
+
948
+ export type TestGenerationRunUpdateWithoutStoryInput = {
949
+ id?: Prisma.StringFieldUpdateOperationsInput | string
950
+ status?: Prisma.StringFieldUpdateOperationsInput | string
951
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
952
+ input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
953
+ output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
954
+ draftCount?: Prisma.IntFieldUpdateOperationsInput | number
955
+ adoptedCount?: Prisma.IntFieldUpdateOperationsInput | number
956
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
957
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
958
+ project?: Prisma.ProjectUpdateOneRequiredWithoutTestGenerationRunsNestedInput
959
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutTestGenerationRunsCreatedNestedInput
960
+ }
961
+
962
+ export type TestGenerationRunUncheckedUpdateWithoutStoryInput = {
963
+ id?: Prisma.StringFieldUpdateOperationsInput | string
964
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
965
+ status?: Prisma.StringFieldUpdateOperationsInput | string
966
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
967
+ input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
968
+ output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
969
+ draftCount?: Prisma.IntFieldUpdateOperationsInput | number
970
+ adoptedCount?: Prisma.IntFieldUpdateOperationsInput | number
971
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
972
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
973
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
974
+ }
975
+
976
+ export type TestGenerationRunUncheckedUpdateManyWithoutStoryInput = {
977
+ id?: Prisma.StringFieldUpdateOperationsInput | string
978
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
979
+ status?: Prisma.StringFieldUpdateOperationsInput | string
980
+ error?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
981
+ input?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
982
+ output?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
983
+ draftCount?: Prisma.IntFieldUpdateOperationsInput | number
984
+ adoptedCount?: Prisma.IntFieldUpdateOperationsInput | number
985
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
986
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
987
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
988
+ }
989
+
990
+
991
+
992
+ export type TestGenerationRunSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
993
+ id?: boolean
994
+ projectId?: boolean
995
+ storyId?: boolean
996
+ status?: boolean
997
+ error?: boolean
998
+ input?: boolean
999
+ output?: boolean
1000
+ draftCount?: boolean
1001
+ adoptedCount?: boolean
1002
+ createdById?: boolean
1003
+ createdAt?: boolean
1004
+ completedAt?: boolean
1005
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
1006
+ story?: boolean | Prisma.StoryDefaultArgs<ExtArgs>
1007
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1008
+ }, ExtArgs["result"]["testGenerationRun"]>
1009
+
1010
+ export type TestGenerationRunSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1011
+ id?: boolean
1012
+ projectId?: boolean
1013
+ storyId?: boolean
1014
+ status?: boolean
1015
+ error?: boolean
1016
+ input?: boolean
1017
+ output?: boolean
1018
+ draftCount?: boolean
1019
+ adoptedCount?: boolean
1020
+ createdById?: boolean
1021
+ createdAt?: boolean
1022
+ completedAt?: boolean
1023
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
1024
+ story?: boolean | Prisma.StoryDefaultArgs<ExtArgs>
1025
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1026
+ }, ExtArgs["result"]["testGenerationRun"]>
1027
+
1028
+ export type TestGenerationRunSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1029
+ id?: boolean
1030
+ projectId?: boolean
1031
+ storyId?: boolean
1032
+ status?: boolean
1033
+ error?: boolean
1034
+ input?: boolean
1035
+ output?: boolean
1036
+ draftCount?: boolean
1037
+ adoptedCount?: boolean
1038
+ createdById?: boolean
1039
+ createdAt?: boolean
1040
+ completedAt?: boolean
1041
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
1042
+ story?: boolean | Prisma.StoryDefaultArgs<ExtArgs>
1043
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1044
+ }, ExtArgs["result"]["testGenerationRun"]>
1045
+
1046
+ export type TestGenerationRunSelectScalar = {
1047
+ id?: boolean
1048
+ projectId?: boolean
1049
+ storyId?: boolean
1050
+ status?: boolean
1051
+ error?: boolean
1052
+ input?: boolean
1053
+ output?: boolean
1054
+ draftCount?: boolean
1055
+ adoptedCount?: boolean
1056
+ createdById?: boolean
1057
+ createdAt?: boolean
1058
+ completedAt?: boolean
1059
+ }
1060
+
1061
+ export type TestGenerationRunOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "projectId" | "storyId" | "status" | "error" | "input" | "output" | "draftCount" | "adoptedCount" | "createdById" | "createdAt" | "completedAt", ExtArgs["result"]["testGenerationRun"]>
1062
+ export type TestGenerationRunInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1063
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
1064
+ story?: boolean | Prisma.StoryDefaultArgs<ExtArgs>
1065
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1066
+ }
1067
+ export type TestGenerationRunIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1068
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
1069
+ story?: boolean | Prisma.StoryDefaultArgs<ExtArgs>
1070
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1071
+ }
1072
+ export type TestGenerationRunIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1073
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
1074
+ story?: boolean | Prisma.StoryDefaultArgs<ExtArgs>
1075
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1076
+ }
1077
+
1078
+ export type $TestGenerationRunPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1079
+ name: "TestGenerationRun"
1080
+ objects: {
1081
+ project: Prisma.$ProjectPayload<ExtArgs>
1082
+ story: Prisma.$StoryPayload<ExtArgs>
1083
+ createdBy: Prisma.$UserPayload<ExtArgs>
1084
+ }
1085
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
1086
+ id: string
1087
+ projectId: string
1088
+ storyId: string
1089
+ status: string
1090
+ error: string | null
1091
+ input: runtime.JsonValue | null
1092
+ output: runtime.JsonValue | null
1093
+ draftCount: number
1094
+ adoptedCount: number
1095
+ createdById: string
1096
+ createdAt: Date
1097
+ completedAt: Date | null
1098
+ }, ExtArgs["result"]["testGenerationRun"]>
1099
+ composites: {}
1100
+ }
1101
+
1102
+ export type TestGenerationRunGetPayload<S extends boolean | null | undefined | TestGenerationRunDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$TestGenerationRunPayload, S>
1103
+
1104
+ export type TestGenerationRunCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1105
+ Omit<TestGenerationRunFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1106
+ select?: TestGenerationRunCountAggregateInputType | true
1107
+ }
1108
+
1109
+ export interface TestGenerationRunDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1110
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['TestGenerationRun'], meta: { name: 'TestGenerationRun' } }
1111
+ /**
1112
+ * Find zero or one TestGenerationRun that matches the filter.
1113
+ * @param {TestGenerationRunFindUniqueArgs} args - Arguments to find a TestGenerationRun
1114
+ * @example
1115
+ * // Get one TestGenerationRun
1116
+ * const testGenerationRun = await prisma.testGenerationRun.findUnique({
1117
+ * where: {
1118
+ * // ... provide filter here
1119
+ * }
1120
+ * })
1121
+ */
1122
+ findUnique<T extends TestGenerationRunFindUniqueArgs>(args: Prisma.SelectSubset<T, TestGenerationRunFindUniqueArgs<ExtArgs>>): Prisma.Prisma__TestGenerationRunClient<runtime.Types.Result.GetResult<Prisma.$TestGenerationRunPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1123
+
1124
+ /**
1125
+ * Find one TestGenerationRun that matches the filter or throw an error with `error.code='P2025'`
1126
+ * if no matches were found.
1127
+ * @param {TestGenerationRunFindUniqueOrThrowArgs} args - Arguments to find a TestGenerationRun
1128
+ * @example
1129
+ * // Get one TestGenerationRun
1130
+ * const testGenerationRun = await prisma.testGenerationRun.findUniqueOrThrow({
1131
+ * where: {
1132
+ * // ... provide filter here
1133
+ * }
1134
+ * })
1135
+ */
1136
+ findUniqueOrThrow<T extends TestGenerationRunFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, TestGenerationRunFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__TestGenerationRunClient<runtime.Types.Result.GetResult<Prisma.$TestGenerationRunPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1137
+
1138
+ /**
1139
+ * Find the first TestGenerationRun that matches the filter.
1140
+ * Note, that providing `undefined` is treated as the value not being there.
1141
+ * Read more here: https://pris.ly/d/null-undefined
1142
+ * @param {TestGenerationRunFindFirstArgs} args - Arguments to find a TestGenerationRun
1143
+ * @example
1144
+ * // Get one TestGenerationRun
1145
+ * const testGenerationRun = await prisma.testGenerationRun.findFirst({
1146
+ * where: {
1147
+ * // ... provide filter here
1148
+ * }
1149
+ * })
1150
+ */
1151
+ findFirst<T extends TestGenerationRunFindFirstArgs>(args?: Prisma.SelectSubset<T, TestGenerationRunFindFirstArgs<ExtArgs>>): Prisma.Prisma__TestGenerationRunClient<runtime.Types.Result.GetResult<Prisma.$TestGenerationRunPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1152
+
1153
+ /**
1154
+ * Find the first TestGenerationRun that matches the filter or
1155
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1156
+ * Note, that providing `undefined` is treated as the value not being there.
1157
+ * Read more here: https://pris.ly/d/null-undefined
1158
+ * @param {TestGenerationRunFindFirstOrThrowArgs} args - Arguments to find a TestGenerationRun
1159
+ * @example
1160
+ * // Get one TestGenerationRun
1161
+ * const testGenerationRun = await prisma.testGenerationRun.findFirstOrThrow({
1162
+ * where: {
1163
+ * // ... provide filter here
1164
+ * }
1165
+ * })
1166
+ */
1167
+ findFirstOrThrow<T extends TestGenerationRunFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, TestGenerationRunFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__TestGenerationRunClient<runtime.Types.Result.GetResult<Prisma.$TestGenerationRunPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1168
+
1169
+ /**
1170
+ * Find zero or more TestGenerationRuns that matches the filter.
1171
+ * Note, that providing `undefined` is treated as the value not being there.
1172
+ * Read more here: https://pris.ly/d/null-undefined
1173
+ * @param {TestGenerationRunFindManyArgs} args - Arguments to filter and select certain fields only.
1174
+ * @example
1175
+ * // Get all TestGenerationRuns
1176
+ * const testGenerationRuns = await prisma.testGenerationRun.findMany()
1177
+ *
1178
+ * // Get first 10 TestGenerationRuns
1179
+ * const testGenerationRuns = await prisma.testGenerationRun.findMany({ take: 10 })
1180
+ *
1181
+ * // Only select the `id`
1182
+ * const testGenerationRunWithIdOnly = await prisma.testGenerationRun.findMany({ select: { id: true } })
1183
+ *
1184
+ */
1185
+ findMany<T extends TestGenerationRunFindManyArgs>(args?: Prisma.SelectSubset<T, TestGenerationRunFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TestGenerationRunPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1186
+
1187
+ /**
1188
+ * Create a TestGenerationRun.
1189
+ * @param {TestGenerationRunCreateArgs} args - Arguments to create a TestGenerationRun.
1190
+ * @example
1191
+ * // Create one TestGenerationRun
1192
+ * const TestGenerationRun = await prisma.testGenerationRun.create({
1193
+ * data: {
1194
+ * // ... data to create a TestGenerationRun
1195
+ * }
1196
+ * })
1197
+ *
1198
+ */
1199
+ create<T extends TestGenerationRunCreateArgs>(args: Prisma.SelectSubset<T, TestGenerationRunCreateArgs<ExtArgs>>): Prisma.Prisma__TestGenerationRunClient<runtime.Types.Result.GetResult<Prisma.$TestGenerationRunPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1200
+
1201
+ /**
1202
+ * Create many TestGenerationRuns.
1203
+ * @param {TestGenerationRunCreateManyArgs} args - Arguments to create many TestGenerationRuns.
1204
+ * @example
1205
+ * // Create many TestGenerationRuns
1206
+ * const testGenerationRun = await prisma.testGenerationRun.createMany({
1207
+ * data: [
1208
+ * // ... provide data here
1209
+ * ]
1210
+ * })
1211
+ *
1212
+ */
1213
+ createMany<T extends TestGenerationRunCreateManyArgs>(args?: Prisma.SelectSubset<T, TestGenerationRunCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1214
+
1215
+ /**
1216
+ * Create many TestGenerationRuns and returns the data saved in the database.
1217
+ * @param {TestGenerationRunCreateManyAndReturnArgs} args - Arguments to create many TestGenerationRuns.
1218
+ * @example
1219
+ * // Create many TestGenerationRuns
1220
+ * const testGenerationRun = await prisma.testGenerationRun.createManyAndReturn({
1221
+ * data: [
1222
+ * // ... provide data here
1223
+ * ]
1224
+ * })
1225
+ *
1226
+ * // Create many TestGenerationRuns and only return the `id`
1227
+ * const testGenerationRunWithIdOnly = await prisma.testGenerationRun.createManyAndReturn({
1228
+ * select: { id: true },
1229
+ * data: [
1230
+ * // ... provide data here
1231
+ * ]
1232
+ * })
1233
+ * Note, that providing `undefined` is treated as the value not being there.
1234
+ * Read more here: https://pris.ly/d/null-undefined
1235
+ *
1236
+ */
1237
+ createManyAndReturn<T extends TestGenerationRunCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, TestGenerationRunCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TestGenerationRunPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1238
+
1239
+ /**
1240
+ * Delete a TestGenerationRun.
1241
+ * @param {TestGenerationRunDeleteArgs} args - Arguments to delete one TestGenerationRun.
1242
+ * @example
1243
+ * // Delete one TestGenerationRun
1244
+ * const TestGenerationRun = await prisma.testGenerationRun.delete({
1245
+ * where: {
1246
+ * // ... filter to delete one TestGenerationRun
1247
+ * }
1248
+ * })
1249
+ *
1250
+ */
1251
+ delete<T extends TestGenerationRunDeleteArgs>(args: Prisma.SelectSubset<T, TestGenerationRunDeleteArgs<ExtArgs>>): Prisma.Prisma__TestGenerationRunClient<runtime.Types.Result.GetResult<Prisma.$TestGenerationRunPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1252
+
1253
+ /**
1254
+ * Update one TestGenerationRun.
1255
+ * @param {TestGenerationRunUpdateArgs} args - Arguments to update one TestGenerationRun.
1256
+ * @example
1257
+ * // Update one TestGenerationRun
1258
+ * const testGenerationRun = await prisma.testGenerationRun.update({
1259
+ * where: {
1260
+ * // ... provide filter here
1261
+ * },
1262
+ * data: {
1263
+ * // ... provide data here
1264
+ * }
1265
+ * })
1266
+ *
1267
+ */
1268
+ update<T extends TestGenerationRunUpdateArgs>(args: Prisma.SelectSubset<T, TestGenerationRunUpdateArgs<ExtArgs>>): Prisma.Prisma__TestGenerationRunClient<runtime.Types.Result.GetResult<Prisma.$TestGenerationRunPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1269
+
1270
+ /**
1271
+ * Delete zero or more TestGenerationRuns.
1272
+ * @param {TestGenerationRunDeleteManyArgs} args - Arguments to filter TestGenerationRuns to delete.
1273
+ * @example
1274
+ * // Delete a few TestGenerationRuns
1275
+ * const { count } = await prisma.testGenerationRun.deleteMany({
1276
+ * where: {
1277
+ * // ... provide filter here
1278
+ * }
1279
+ * })
1280
+ *
1281
+ */
1282
+ deleteMany<T extends TestGenerationRunDeleteManyArgs>(args?: Prisma.SelectSubset<T, TestGenerationRunDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1283
+
1284
+ /**
1285
+ * Update zero or more TestGenerationRuns.
1286
+ * Note, that providing `undefined` is treated as the value not being there.
1287
+ * Read more here: https://pris.ly/d/null-undefined
1288
+ * @param {TestGenerationRunUpdateManyArgs} args - Arguments to update one or more rows.
1289
+ * @example
1290
+ * // Update many TestGenerationRuns
1291
+ * const testGenerationRun = await prisma.testGenerationRun.updateMany({
1292
+ * where: {
1293
+ * // ... provide filter here
1294
+ * },
1295
+ * data: {
1296
+ * // ... provide data here
1297
+ * }
1298
+ * })
1299
+ *
1300
+ */
1301
+ updateMany<T extends TestGenerationRunUpdateManyArgs>(args: Prisma.SelectSubset<T, TestGenerationRunUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1302
+
1303
+ /**
1304
+ * Update zero or more TestGenerationRuns and returns the data updated in the database.
1305
+ * @param {TestGenerationRunUpdateManyAndReturnArgs} args - Arguments to update many TestGenerationRuns.
1306
+ * @example
1307
+ * // Update many TestGenerationRuns
1308
+ * const testGenerationRun = await prisma.testGenerationRun.updateManyAndReturn({
1309
+ * where: {
1310
+ * // ... provide filter here
1311
+ * },
1312
+ * data: [
1313
+ * // ... provide data here
1314
+ * ]
1315
+ * })
1316
+ *
1317
+ * // Update zero or more TestGenerationRuns and only return the `id`
1318
+ * const testGenerationRunWithIdOnly = await prisma.testGenerationRun.updateManyAndReturn({
1319
+ * select: { id: true },
1320
+ * where: {
1321
+ * // ... provide filter here
1322
+ * },
1323
+ * data: [
1324
+ * // ... provide data here
1325
+ * ]
1326
+ * })
1327
+ * Note, that providing `undefined` is treated as the value not being there.
1328
+ * Read more here: https://pris.ly/d/null-undefined
1329
+ *
1330
+ */
1331
+ updateManyAndReturn<T extends TestGenerationRunUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, TestGenerationRunUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TestGenerationRunPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1332
+
1333
+ /**
1334
+ * Create or update one TestGenerationRun.
1335
+ * @param {TestGenerationRunUpsertArgs} args - Arguments to update or create a TestGenerationRun.
1336
+ * @example
1337
+ * // Update or create a TestGenerationRun
1338
+ * const testGenerationRun = await prisma.testGenerationRun.upsert({
1339
+ * create: {
1340
+ * // ... data to create a TestGenerationRun
1341
+ * },
1342
+ * update: {
1343
+ * // ... in case it already exists, update
1344
+ * },
1345
+ * where: {
1346
+ * // ... the filter for the TestGenerationRun we want to update
1347
+ * }
1348
+ * })
1349
+ */
1350
+ upsert<T extends TestGenerationRunUpsertArgs>(args: Prisma.SelectSubset<T, TestGenerationRunUpsertArgs<ExtArgs>>): Prisma.Prisma__TestGenerationRunClient<runtime.Types.Result.GetResult<Prisma.$TestGenerationRunPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1351
+
1352
+
1353
+ /**
1354
+ * Count the number of TestGenerationRuns.
1355
+ * Note, that providing `undefined` is treated as the value not being there.
1356
+ * Read more here: https://pris.ly/d/null-undefined
1357
+ * @param {TestGenerationRunCountArgs} args - Arguments to filter TestGenerationRuns to count.
1358
+ * @example
1359
+ * // Count the number of TestGenerationRuns
1360
+ * const count = await prisma.testGenerationRun.count({
1361
+ * where: {
1362
+ * // ... the filter for the TestGenerationRuns we want to count
1363
+ * }
1364
+ * })
1365
+ **/
1366
+ count<T extends TestGenerationRunCountArgs>(
1367
+ args?: Prisma.Subset<T, TestGenerationRunCountArgs>,
1368
+ ): Prisma.PrismaPromise<
1369
+ T extends runtime.Types.Utils.Record<'select', any>
1370
+ ? T['select'] extends true
1371
+ ? number
1372
+ : Prisma.GetScalarType<T['select'], TestGenerationRunCountAggregateOutputType>
1373
+ : number
1374
+ >
1375
+
1376
+ /**
1377
+ * Allows you to perform aggregations operations on a TestGenerationRun.
1378
+ * Note, that providing `undefined` is treated as the value not being there.
1379
+ * Read more here: https://pris.ly/d/null-undefined
1380
+ * @param {TestGenerationRunAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1381
+ * @example
1382
+ * // Ordered by age ascending
1383
+ * // Where email contains prisma.io
1384
+ * // Limited to the 10 users
1385
+ * const aggregations = await prisma.user.aggregate({
1386
+ * _avg: {
1387
+ * age: true,
1388
+ * },
1389
+ * where: {
1390
+ * email: {
1391
+ * contains: "prisma.io",
1392
+ * },
1393
+ * },
1394
+ * orderBy: {
1395
+ * age: "asc",
1396
+ * },
1397
+ * take: 10,
1398
+ * })
1399
+ **/
1400
+ aggregate<T extends TestGenerationRunAggregateArgs>(args: Prisma.Subset<T, TestGenerationRunAggregateArgs>): Prisma.PrismaPromise<GetTestGenerationRunAggregateType<T>>
1401
+
1402
+ /**
1403
+ * Group by TestGenerationRun.
1404
+ * Note, that providing `undefined` is treated as the value not being there.
1405
+ * Read more here: https://pris.ly/d/null-undefined
1406
+ * @param {TestGenerationRunGroupByArgs} args - Group by arguments.
1407
+ * @example
1408
+ * // Group by city, order by createdAt, get count
1409
+ * const result = await prisma.user.groupBy({
1410
+ * by: ['city', 'createdAt'],
1411
+ * orderBy: {
1412
+ * createdAt: true
1413
+ * },
1414
+ * _count: {
1415
+ * _all: true
1416
+ * },
1417
+ * })
1418
+ *
1419
+ **/
1420
+ groupBy<
1421
+ T extends TestGenerationRunGroupByArgs,
1422
+ HasSelectOrTake extends Prisma.Or<
1423
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1424
+ Prisma.Extends<'take', Prisma.Keys<T>>
1425
+ >,
1426
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1427
+ ? { orderBy: TestGenerationRunGroupByArgs['orderBy'] }
1428
+ : { orderBy?: TestGenerationRunGroupByArgs['orderBy'] },
1429
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1430
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1431
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1432
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1433
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1434
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1435
+ InputErrors extends ByEmpty extends Prisma.True
1436
+ ? `Error: "by" must not be empty.`
1437
+ : HavingValid extends Prisma.False
1438
+ ? {
1439
+ [P in HavingFields]: P extends ByFields
1440
+ ? never
1441
+ : P extends string
1442
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1443
+ : [
1444
+ Error,
1445
+ 'Field ',
1446
+ P,
1447
+ ` in "having" needs to be provided in "by"`,
1448
+ ]
1449
+ }[HavingFields]
1450
+ : 'take' extends Prisma.Keys<T>
1451
+ ? 'orderBy' extends Prisma.Keys<T>
1452
+ ? ByValid extends Prisma.True
1453
+ ? {}
1454
+ : {
1455
+ [P in OrderFields]: P extends ByFields
1456
+ ? never
1457
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1458
+ }[OrderFields]
1459
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1460
+ : 'skip' extends Prisma.Keys<T>
1461
+ ? 'orderBy' extends Prisma.Keys<T>
1462
+ ? ByValid extends Prisma.True
1463
+ ? {}
1464
+ : {
1465
+ [P in OrderFields]: P extends ByFields
1466
+ ? never
1467
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1468
+ }[OrderFields]
1469
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1470
+ : ByValid extends Prisma.True
1471
+ ? {}
1472
+ : {
1473
+ [P in OrderFields]: P extends ByFields
1474
+ ? never
1475
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1476
+ }[OrderFields]
1477
+ >(args: Prisma.SubsetIntersection<T, TestGenerationRunGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTestGenerationRunGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1478
+ /**
1479
+ * Fields of the TestGenerationRun model
1480
+ */
1481
+ readonly fields: TestGenerationRunFieldRefs;
1482
+ }
1483
+
1484
+ /**
1485
+ * The delegate class that acts as a "Promise-like" for TestGenerationRun.
1486
+ * Why is this prefixed with `Prisma__`?
1487
+ * Because we want to prevent naming conflicts as mentioned in
1488
+ * https://github.com/prisma/prisma-client-js/issues/707
1489
+ */
1490
+ export interface Prisma__TestGenerationRunClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1491
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1492
+ project<T extends Prisma.ProjectDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProjectDefaultArgs<ExtArgs>>): Prisma.Prisma__ProjectClient<runtime.Types.Result.GetResult<Prisma.$ProjectPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1493
+ story<T extends Prisma.StoryDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.StoryDefaultArgs<ExtArgs>>): Prisma.Prisma__StoryClient<runtime.Types.Result.GetResult<Prisma.$StoryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1494
+ createdBy<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1495
+ /**
1496
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1497
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1498
+ * @param onrejected The callback to execute when the Promise is rejected.
1499
+ * @returns A Promise for the completion of which ever callback is executed.
1500
+ */
1501
+ 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>
1502
+ /**
1503
+ * Attaches a callback for only the rejection of the Promise.
1504
+ * @param onrejected The callback to execute when the Promise is rejected.
1505
+ * @returns A Promise for the completion of the callback.
1506
+ */
1507
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1508
+ /**
1509
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1510
+ * resolved value cannot be modified from the callback.
1511
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1512
+ * @returns A Promise for the completion of the callback.
1513
+ */
1514
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1515
+ }
1516
+
1517
+
1518
+
1519
+
1520
+ /**
1521
+ * Fields of the TestGenerationRun model
1522
+ */
1523
+ export interface TestGenerationRunFieldRefs {
1524
+ readonly id: Prisma.FieldRef<"TestGenerationRun", 'String'>
1525
+ readonly projectId: Prisma.FieldRef<"TestGenerationRun", 'String'>
1526
+ readonly storyId: Prisma.FieldRef<"TestGenerationRun", 'String'>
1527
+ readonly status: Prisma.FieldRef<"TestGenerationRun", 'String'>
1528
+ readonly error: Prisma.FieldRef<"TestGenerationRun", 'String'>
1529
+ readonly input: Prisma.FieldRef<"TestGenerationRun", 'Json'>
1530
+ readonly output: Prisma.FieldRef<"TestGenerationRun", 'Json'>
1531
+ readonly draftCount: Prisma.FieldRef<"TestGenerationRun", 'Int'>
1532
+ readonly adoptedCount: Prisma.FieldRef<"TestGenerationRun", 'Int'>
1533
+ readonly createdById: Prisma.FieldRef<"TestGenerationRun", 'String'>
1534
+ readonly createdAt: Prisma.FieldRef<"TestGenerationRun", 'DateTime'>
1535
+ readonly completedAt: Prisma.FieldRef<"TestGenerationRun", 'DateTime'>
1536
+ }
1537
+
1538
+
1539
+ // Custom InputTypes
1540
+ /**
1541
+ * TestGenerationRun findUnique
1542
+ */
1543
+ export type TestGenerationRunFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1544
+ /**
1545
+ * Select specific fields to fetch from the TestGenerationRun
1546
+ */
1547
+ select?: Prisma.TestGenerationRunSelect<ExtArgs> | null
1548
+ /**
1549
+ * Omit specific fields from the TestGenerationRun
1550
+ */
1551
+ omit?: Prisma.TestGenerationRunOmit<ExtArgs> | null
1552
+ /**
1553
+ * Choose, which related nodes to fetch as well
1554
+ */
1555
+ include?: Prisma.TestGenerationRunInclude<ExtArgs> | null
1556
+ /**
1557
+ * Filter, which TestGenerationRun to fetch.
1558
+ */
1559
+ where: Prisma.TestGenerationRunWhereUniqueInput
1560
+ }
1561
+
1562
+ /**
1563
+ * TestGenerationRun findUniqueOrThrow
1564
+ */
1565
+ export type TestGenerationRunFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1566
+ /**
1567
+ * Select specific fields to fetch from the TestGenerationRun
1568
+ */
1569
+ select?: Prisma.TestGenerationRunSelect<ExtArgs> | null
1570
+ /**
1571
+ * Omit specific fields from the TestGenerationRun
1572
+ */
1573
+ omit?: Prisma.TestGenerationRunOmit<ExtArgs> | null
1574
+ /**
1575
+ * Choose, which related nodes to fetch as well
1576
+ */
1577
+ include?: Prisma.TestGenerationRunInclude<ExtArgs> | null
1578
+ /**
1579
+ * Filter, which TestGenerationRun to fetch.
1580
+ */
1581
+ where: Prisma.TestGenerationRunWhereUniqueInput
1582
+ }
1583
+
1584
+ /**
1585
+ * TestGenerationRun findFirst
1586
+ */
1587
+ export type TestGenerationRunFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1588
+ /**
1589
+ * Select specific fields to fetch from the TestGenerationRun
1590
+ */
1591
+ select?: Prisma.TestGenerationRunSelect<ExtArgs> | null
1592
+ /**
1593
+ * Omit specific fields from the TestGenerationRun
1594
+ */
1595
+ omit?: Prisma.TestGenerationRunOmit<ExtArgs> | null
1596
+ /**
1597
+ * Choose, which related nodes to fetch as well
1598
+ */
1599
+ include?: Prisma.TestGenerationRunInclude<ExtArgs> | null
1600
+ /**
1601
+ * Filter, which TestGenerationRun to fetch.
1602
+ */
1603
+ where?: Prisma.TestGenerationRunWhereInput
1604
+ /**
1605
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1606
+ *
1607
+ * Determine the order of TestGenerationRuns to fetch.
1608
+ */
1609
+ orderBy?: Prisma.TestGenerationRunOrderByWithRelationInput | Prisma.TestGenerationRunOrderByWithRelationInput[]
1610
+ /**
1611
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1612
+ *
1613
+ * Sets the position for searching for TestGenerationRuns.
1614
+ */
1615
+ cursor?: Prisma.TestGenerationRunWhereUniqueInput
1616
+ /**
1617
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1618
+ *
1619
+ * Take `±n` TestGenerationRuns from the position of the cursor.
1620
+ */
1621
+ take?: number
1622
+ /**
1623
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1624
+ *
1625
+ * Skip the first `n` TestGenerationRuns.
1626
+ */
1627
+ skip?: number
1628
+ /**
1629
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1630
+ *
1631
+ * Filter by unique combinations of TestGenerationRuns.
1632
+ */
1633
+ distinct?: Prisma.TestGenerationRunScalarFieldEnum | Prisma.TestGenerationRunScalarFieldEnum[]
1634
+ }
1635
+
1636
+ /**
1637
+ * TestGenerationRun findFirstOrThrow
1638
+ */
1639
+ export type TestGenerationRunFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1640
+ /**
1641
+ * Select specific fields to fetch from the TestGenerationRun
1642
+ */
1643
+ select?: Prisma.TestGenerationRunSelect<ExtArgs> | null
1644
+ /**
1645
+ * Omit specific fields from the TestGenerationRun
1646
+ */
1647
+ omit?: Prisma.TestGenerationRunOmit<ExtArgs> | null
1648
+ /**
1649
+ * Choose, which related nodes to fetch as well
1650
+ */
1651
+ include?: Prisma.TestGenerationRunInclude<ExtArgs> | null
1652
+ /**
1653
+ * Filter, which TestGenerationRun to fetch.
1654
+ */
1655
+ where?: Prisma.TestGenerationRunWhereInput
1656
+ /**
1657
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1658
+ *
1659
+ * Determine the order of TestGenerationRuns to fetch.
1660
+ */
1661
+ orderBy?: Prisma.TestGenerationRunOrderByWithRelationInput | Prisma.TestGenerationRunOrderByWithRelationInput[]
1662
+ /**
1663
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1664
+ *
1665
+ * Sets the position for searching for TestGenerationRuns.
1666
+ */
1667
+ cursor?: Prisma.TestGenerationRunWhereUniqueInput
1668
+ /**
1669
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1670
+ *
1671
+ * Take `±n` TestGenerationRuns from the position of the cursor.
1672
+ */
1673
+ take?: number
1674
+ /**
1675
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1676
+ *
1677
+ * Skip the first `n` TestGenerationRuns.
1678
+ */
1679
+ skip?: number
1680
+ /**
1681
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1682
+ *
1683
+ * Filter by unique combinations of TestGenerationRuns.
1684
+ */
1685
+ distinct?: Prisma.TestGenerationRunScalarFieldEnum | Prisma.TestGenerationRunScalarFieldEnum[]
1686
+ }
1687
+
1688
+ /**
1689
+ * TestGenerationRun findMany
1690
+ */
1691
+ export type TestGenerationRunFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1692
+ /**
1693
+ * Select specific fields to fetch from the TestGenerationRun
1694
+ */
1695
+ select?: Prisma.TestGenerationRunSelect<ExtArgs> | null
1696
+ /**
1697
+ * Omit specific fields from the TestGenerationRun
1698
+ */
1699
+ omit?: Prisma.TestGenerationRunOmit<ExtArgs> | null
1700
+ /**
1701
+ * Choose, which related nodes to fetch as well
1702
+ */
1703
+ include?: Prisma.TestGenerationRunInclude<ExtArgs> | null
1704
+ /**
1705
+ * Filter, which TestGenerationRuns to fetch.
1706
+ */
1707
+ where?: Prisma.TestGenerationRunWhereInput
1708
+ /**
1709
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1710
+ *
1711
+ * Determine the order of TestGenerationRuns to fetch.
1712
+ */
1713
+ orderBy?: Prisma.TestGenerationRunOrderByWithRelationInput | Prisma.TestGenerationRunOrderByWithRelationInput[]
1714
+ /**
1715
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1716
+ *
1717
+ * Sets the position for listing TestGenerationRuns.
1718
+ */
1719
+ cursor?: Prisma.TestGenerationRunWhereUniqueInput
1720
+ /**
1721
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1722
+ *
1723
+ * Take `±n` TestGenerationRuns from the position of the cursor.
1724
+ */
1725
+ take?: number
1726
+ /**
1727
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1728
+ *
1729
+ * Skip the first `n` TestGenerationRuns.
1730
+ */
1731
+ skip?: number
1732
+ /**
1733
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1734
+ *
1735
+ * Filter by unique combinations of TestGenerationRuns.
1736
+ */
1737
+ distinct?: Prisma.TestGenerationRunScalarFieldEnum | Prisma.TestGenerationRunScalarFieldEnum[]
1738
+ }
1739
+
1740
+ /**
1741
+ * TestGenerationRun create
1742
+ */
1743
+ export type TestGenerationRunCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1744
+ /**
1745
+ * Select specific fields to fetch from the TestGenerationRun
1746
+ */
1747
+ select?: Prisma.TestGenerationRunSelect<ExtArgs> | null
1748
+ /**
1749
+ * Omit specific fields from the TestGenerationRun
1750
+ */
1751
+ omit?: Prisma.TestGenerationRunOmit<ExtArgs> | null
1752
+ /**
1753
+ * Choose, which related nodes to fetch as well
1754
+ */
1755
+ include?: Prisma.TestGenerationRunInclude<ExtArgs> | null
1756
+ /**
1757
+ * The data needed to create a TestGenerationRun.
1758
+ */
1759
+ data: Prisma.XOR<Prisma.TestGenerationRunCreateInput, Prisma.TestGenerationRunUncheckedCreateInput>
1760
+ }
1761
+
1762
+ /**
1763
+ * TestGenerationRun createMany
1764
+ */
1765
+ export type TestGenerationRunCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1766
+ /**
1767
+ * The data used to create many TestGenerationRuns.
1768
+ */
1769
+ data: Prisma.TestGenerationRunCreateManyInput | Prisma.TestGenerationRunCreateManyInput[]
1770
+ skipDuplicates?: boolean
1771
+ }
1772
+
1773
+ /**
1774
+ * TestGenerationRun createManyAndReturn
1775
+ */
1776
+ export type TestGenerationRunCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1777
+ /**
1778
+ * Select specific fields to fetch from the TestGenerationRun
1779
+ */
1780
+ select?: Prisma.TestGenerationRunSelectCreateManyAndReturn<ExtArgs> | null
1781
+ /**
1782
+ * Omit specific fields from the TestGenerationRun
1783
+ */
1784
+ omit?: Prisma.TestGenerationRunOmit<ExtArgs> | null
1785
+ /**
1786
+ * The data used to create many TestGenerationRuns.
1787
+ */
1788
+ data: Prisma.TestGenerationRunCreateManyInput | Prisma.TestGenerationRunCreateManyInput[]
1789
+ skipDuplicates?: boolean
1790
+ /**
1791
+ * Choose, which related nodes to fetch as well
1792
+ */
1793
+ include?: Prisma.TestGenerationRunIncludeCreateManyAndReturn<ExtArgs> | null
1794
+ }
1795
+
1796
+ /**
1797
+ * TestGenerationRun update
1798
+ */
1799
+ export type TestGenerationRunUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1800
+ /**
1801
+ * Select specific fields to fetch from the TestGenerationRun
1802
+ */
1803
+ select?: Prisma.TestGenerationRunSelect<ExtArgs> | null
1804
+ /**
1805
+ * Omit specific fields from the TestGenerationRun
1806
+ */
1807
+ omit?: Prisma.TestGenerationRunOmit<ExtArgs> | null
1808
+ /**
1809
+ * Choose, which related nodes to fetch as well
1810
+ */
1811
+ include?: Prisma.TestGenerationRunInclude<ExtArgs> | null
1812
+ /**
1813
+ * The data needed to update a TestGenerationRun.
1814
+ */
1815
+ data: Prisma.XOR<Prisma.TestGenerationRunUpdateInput, Prisma.TestGenerationRunUncheckedUpdateInput>
1816
+ /**
1817
+ * Choose, which TestGenerationRun to update.
1818
+ */
1819
+ where: Prisma.TestGenerationRunWhereUniqueInput
1820
+ }
1821
+
1822
+ /**
1823
+ * TestGenerationRun updateMany
1824
+ */
1825
+ export type TestGenerationRunUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1826
+ /**
1827
+ * The data used to update TestGenerationRuns.
1828
+ */
1829
+ data: Prisma.XOR<Prisma.TestGenerationRunUpdateManyMutationInput, Prisma.TestGenerationRunUncheckedUpdateManyInput>
1830
+ /**
1831
+ * Filter which TestGenerationRuns to update
1832
+ */
1833
+ where?: Prisma.TestGenerationRunWhereInput
1834
+ /**
1835
+ * Limit how many TestGenerationRuns to update.
1836
+ */
1837
+ limit?: number
1838
+ }
1839
+
1840
+ /**
1841
+ * TestGenerationRun updateManyAndReturn
1842
+ */
1843
+ export type TestGenerationRunUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1844
+ /**
1845
+ * Select specific fields to fetch from the TestGenerationRun
1846
+ */
1847
+ select?: Prisma.TestGenerationRunSelectUpdateManyAndReturn<ExtArgs> | null
1848
+ /**
1849
+ * Omit specific fields from the TestGenerationRun
1850
+ */
1851
+ omit?: Prisma.TestGenerationRunOmit<ExtArgs> | null
1852
+ /**
1853
+ * The data used to update TestGenerationRuns.
1854
+ */
1855
+ data: Prisma.XOR<Prisma.TestGenerationRunUpdateManyMutationInput, Prisma.TestGenerationRunUncheckedUpdateManyInput>
1856
+ /**
1857
+ * Filter which TestGenerationRuns to update
1858
+ */
1859
+ where?: Prisma.TestGenerationRunWhereInput
1860
+ /**
1861
+ * Limit how many TestGenerationRuns to update.
1862
+ */
1863
+ limit?: number
1864
+ /**
1865
+ * Choose, which related nodes to fetch as well
1866
+ */
1867
+ include?: Prisma.TestGenerationRunIncludeUpdateManyAndReturn<ExtArgs> | null
1868
+ }
1869
+
1870
+ /**
1871
+ * TestGenerationRun upsert
1872
+ */
1873
+ export type TestGenerationRunUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1874
+ /**
1875
+ * Select specific fields to fetch from the TestGenerationRun
1876
+ */
1877
+ select?: Prisma.TestGenerationRunSelect<ExtArgs> | null
1878
+ /**
1879
+ * Omit specific fields from the TestGenerationRun
1880
+ */
1881
+ omit?: Prisma.TestGenerationRunOmit<ExtArgs> | null
1882
+ /**
1883
+ * Choose, which related nodes to fetch as well
1884
+ */
1885
+ include?: Prisma.TestGenerationRunInclude<ExtArgs> | null
1886
+ /**
1887
+ * The filter to search for the TestGenerationRun to update in case it exists.
1888
+ */
1889
+ where: Prisma.TestGenerationRunWhereUniqueInput
1890
+ /**
1891
+ * In case the TestGenerationRun found by the `where` argument doesn't exist, create a new TestGenerationRun with this data.
1892
+ */
1893
+ create: Prisma.XOR<Prisma.TestGenerationRunCreateInput, Prisma.TestGenerationRunUncheckedCreateInput>
1894
+ /**
1895
+ * In case the TestGenerationRun was found with the provided `where` argument, update it with this data.
1896
+ */
1897
+ update: Prisma.XOR<Prisma.TestGenerationRunUpdateInput, Prisma.TestGenerationRunUncheckedUpdateInput>
1898
+ }
1899
+
1900
+ /**
1901
+ * TestGenerationRun delete
1902
+ */
1903
+ export type TestGenerationRunDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1904
+ /**
1905
+ * Select specific fields to fetch from the TestGenerationRun
1906
+ */
1907
+ select?: Prisma.TestGenerationRunSelect<ExtArgs> | null
1908
+ /**
1909
+ * Omit specific fields from the TestGenerationRun
1910
+ */
1911
+ omit?: Prisma.TestGenerationRunOmit<ExtArgs> | null
1912
+ /**
1913
+ * Choose, which related nodes to fetch as well
1914
+ */
1915
+ include?: Prisma.TestGenerationRunInclude<ExtArgs> | null
1916
+ /**
1917
+ * Filter which TestGenerationRun to delete.
1918
+ */
1919
+ where: Prisma.TestGenerationRunWhereUniqueInput
1920
+ }
1921
+
1922
+ /**
1923
+ * TestGenerationRun deleteMany
1924
+ */
1925
+ export type TestGenerationRunDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1926
+ /**
1927
+ * Filter which TestGenerationRuns to delete
1928
+ */
1929
+ where?: Prisma.TestGenerationRunWhereInput
1930
+ /**
1931
+ * Limit how many TestGenerationRuns to delete.
1932
+ */
1933
+ limit?: number
1934
+ }
1935
+
1936
+ /**
1937
+ * TestGenerationRun without action
1938
+ */
1939
+ export type TestGenerationRunDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1940
+ /**
1941
+ * Select specific fields to fetch from the TestGenerationRun
1942
+ */
1943
+ select?: Prisma.TestGenerationRunSelect<ExtArgs> | null
1944
+ /**
1945
+ * Omit specific fields from the TestGenerationRun
1946
+ */
1947
+ omit?: Prisma.TestGenerationRunOmit<ExtArgs> | null
1948
+ /**
1949
+ * Choose, which related nodes to fetch as well
1950
+ */
1951
+ include?: Prisma.TestGenerationRunInclude<ExtArgs> | null
1952
+ }