@allbluecn/database 0.9.1 → 0.9.3

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 (150) hide show
  1. package/cf-env-stub.ts +4 -0
  2. package/cf-env.ts +25 -0
  3. package/cloudflare-workers.d.ts +6 -0
  4. package/desktop-init.ts +2 -2
  5. package/dist/cf-env-stub.d.ts +1 -0
  6. package/dist/cf-env-stub.js +4 -0
  7. package/dist/cf-env.d.ts +1 -0
  8. package/dist/cf-env.js +8 -0
  9. package/dist/lib/share-utils.js +3 -3
  10. package/generated/browser.ts +143 -38
  11. package/generated/client.ts +143 -38
  12. package/generated/commonInputTypes.ts +34 -0
  13. package/generated/enums.ts +14 -0
  14. package/generated/internal/class.ts +290 -80
  15. package/generated/internal/prismaNamespace.ts +3756 -1797
  16. package/generated/internal/prismaNamespaceBrowser.ts +478 -108
  17. package/generated/models/AgentConversation.ts +89 -89
  18. package/generated/models/AiProvider.ts +3 -3
  19. package/generated/models/AiStreamChunk.ts +3 -3
  20. package/generated/models/AiTask.ts +2481 -0
  21. package/generated/models/AiTaskRun.ts +1564 -0
  22. package/generated/models/AnyHubMarketApp.ts +8 -8
  23. package/generated/models/AuditLog.ts +6 -6
  24. package/generated/models/BlockInstance.ts +17 -17
  25. package/generated/models/Bug.ts +5116 -0
  26. package/generated/models/BugActivity.ts +1765 -0
  27. package/generated/models/BugComment.ts +1992 -0
  28. package/generated/models/BugCommentReaction.ts +1472 -0
  29. package/generated/models/BugEvent.ts +1339 -0
  30. package/generated/models/BugFilterView.ts +1438 -0
  31. package/generated/models/BugFixRun.ts +1479 -0
  32. package/generated/models/BugLabel.ts +1349 -0
  33. package/generated/models/BugProjectSettings.ts +1403 -0
  34. package/generated/models/BugReproRun.ts +1582 -0
  35. package/generated/models/ChatPersistenceMeta.ts +3 -3
  36. package/generated/models/CollabClient.ts +1199 -0
  37. package/generated/models/CollabDocument.ts +1121 -0
  38. package/generated/models/CollabUpdate.ts +1149 -0
  39. package/generated/models/Comment.ts +99 -99
  40. package/generated/models/Component.ts +7 -201
  41. package/generated/models/ComponentInstance.ts +17 -17
  42. package/generated/models/CustomRole.ts +8 -8
  43. package/generated/models/Design.ts +2682 -0
  44. package/generated/models/DesignPage.ts +2402 -0
  45. package/generated/models/DesignVersion.ts +2121 -0
  46. package/generated/models/DesktopSetting.ts +3 -3
  47. package/generated/models/Iteration.ts +148 -0
  48. package/generated/models/Label.ts +118 -0
  49. package/generated/models/LicenseKey.ts +16 -16
  50. package/generated/models/NotificationPreference.ts +5 -5
  51. package/generated/models/PageVersion.ts +49 -49
  52. package/generated/models/Plan.ts +5 -5
  53. package/generated/models/Project.ts +2240 -67
  54. package/generated/models/ProjectAccessToken.ts +1705 -0
  55. package/generated/models/ProjectWebhook.ts +1409 -0
  56. package/generated/models/Review.ts +118 -118
  57. package/generated/models/Share.ts +83 -83
  58. package/generated/models/ShareVersion.ts +15 -15
  59. package/generated/models/SsoProvider.ts +8 -8
  60. package/generated/models/Story.ts +973 -87
  61. package/generated/models/StoryDesignLink.ts +1430 -0
  62. package/generated/models/StoryFilterView.ts +12 -12
  63. package/generated/models/SystemPromptVersion.ts +6 -6
  64. package/generated/models/TestAutomationArtifact.ts +1790 -0
  65. package/generated/models/TestCase.ts +3645 -0
  66. package/generated/models/TestCaseFilterView.ts +1587 -0
  67. package/generated/models/TestCaseFolder.ts +1795 -0
  68. package/generated/models/TestExecRun.ts +1673 -0
  69. package/generated/models/TestGenerationRun.ts +1952 -0
  70. package/generated/models/TestPlan.ts +1950 -0
  71. package/generated/models/TestPlanCase.ts +1430 -0
  72. package/generated/models/TestRun.ts +1979 -0
  73. package/generated/models/TestRunCase.ts +2772 -0
  74. package/generated/models/ThirdPartyDependency.ts +19 -15
  75. package/generated/models/User.ts +13573 -3351
  76. package/generated/models/Workspace.ts +204 -0
  77. package/generated/models.ts +31 -10
  78. package/generated-sqlite/browser.ts +6 -36
  79. package/generated-sqlite/client.ts +6 -36
  80. package/generated-sqlite/internal/class.ts +16 -76
  81. package/generated-sqlite/internal/prismaNamespace.ts +127 -659
  82. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +21 -103
  83. package/generated-sqlite/models/AgentConversation.ts +89 -89
  84. package/generated-sqlite/models/AiProvider.ts +3 -3
  85. package/generated-sqlite/models/AiStreamChunk.ts +3 -3
  86. package/generated-sqlite/models/AnyHubMarketApp.ts +8 -8
  87. package/generated-sqlite/models/BlockInstance.ts +17 -17
  88. package/generated-sqlite/models/ChatPersistenceMeta.ts +3 -3
  89. package/generated-sqlite/models/Comment.ts +99 -99
  90. package/generated-sqlite/models/Component.ts +7 -201
  91. package/generated-sqlite/models/ComponentInstance.ts +17 -17
  92. package/generated-sqlite/models/Design.ts +2497 -0
  93. package/generated-sqlite/models/DesignPage.ts +2398 -0
  94. package/generated-sqlite/models/DesignVersion.ts +2117 -0
  95. package/generated-sqlite/models/DesktopSetting.ts +3 -3
  96. package/generated-sqlite/models/KnowledgeBase.ts +240 -1
  97. package/generated-sqlite/models/NotificationPreference.ts +5 -5
  98. package/generated-sqlite/models/PageVersion.ts +49 -49
  99. package/generated-sqlite/models/Review.ts +118 -118
  100. package/generated-sqlite/models/Share.ts +83 -83
  101. package/generated-sqlite/models/ShareVersion.ts +15 -15
  102. package/generated-sqlite/models/SystemPromptVersion.ts +6 -6
  103. package/generated-sqlite/models/User.ts +1310 -2016
  104. package/generated-sqlite/models/Workspace.ts +164 -0
  105. package/generated-sqlite/models.ts +3 -9
  106. package/index.ts +31 -3
  107. package/migrations/20260924084200_add_prd_kind_drop_design_sketch/migration.sql +24 -0
  108. package/migrations/20260924123118_drop_user_sketch_api_token/migration.sql +8 -0
  109. package/migrations/20260925011516_rename_prd_tables/migration.sql +189 -0
  110. package/migrations/20260925064226_rename_prd_columns/migration.sql +193 -0
  111. package/migrations/20260925080000_rename_prd_embeddings/migration.sql +43 -0
  112. package/migrations/20261002184838_bug_module_init/migration.sql +297 -0
  113. package/migrations/20261004234209_testcase_module_init/migration.sql +290 -0
  114. package/migrations/20261005090000_testcase_plan_cases/migration.sql +34 -0
  115. package/migrations/20261006151229_add_missing_fk_indexes_auth_billing/migration.sql +50 -0
  116. package/migrations/20261006152058_add_missing_fk_indexes_story_bug_test/migration.sql +59 -0
  117. package/migrations/20261006152153_add_missing_fk_indexes_design_misc/migration.sql +50 -0
  118. package/migrations/20261006184250_explicit_on_delete_core/migration.sql +33 -0
  119. package/migrations/20261006184604_explicit_on_delete_rest/migration.sql +117 -0
  120. package/migrations/20261006184932_json_column_defaults/migration.sql +74 -0
  121. package/migrations/20261006191724_revert_version_token_cascade/migration.sql +21 -0
  122. package/migrations/20261007025537_dependency_category_enum/migration.sql +22 -0
  123. package/migrations/20261007112656_collab_init/migration.sql +45 -0
  124. package/migrations/20261007122530_collab_client_clientid_bigint/migration.sql +10 -0
  125. package/migrations/20261009194853_remove_tag_module/migration.sql +24 -0
  126. package/migrations/20261009222043_ai_task_init/migration.sql +67 -0
  127. package/migrations/20261019202531_ui_alignment_board_order/migration.sql +35 -0
  128. package/package.json +17 -6
  129. package/schema.prisma +777 -222
  130. package/schema.sqlite.prisma +140 -196
  131. package/src/lib/share-utils.ts +2 -2
  132. package/generated/models/Artboard.ts +0 -1811
  133. package/generated/models/ArtboardExport.ts +0 -1548
  134. package/generated/models/ComponentTag.ts +0 -1281
  135. package/generated/models/DesignProject.ts +0 -1643
  136. package/generated/models/PRD.ts +0 -2805
  137. package/generated/models/PRDPage.ts +0 -2402
  138. package/generated/models/PRDTag.ts +0 -1430
  139. package/generated/models/PRDVersion.ts +0 -2121
  140. package/generated/models/StoryPrdLink.ts +0 -1430
  141. package/generated/models/Tag.ts +0 -1655
  142. package/generated-sqlite/models/Artboard.ts +0 -1808
  143. package/generated-sqlite/models/ArtboardExport.ts +0 -1545
  144. package/generated-sqlite/models/ComponentTag.ts +0 -1278
  145. package/generated-sqlite/models/DesignProject.ts +0 -1640
  146. package/generated-sqlite/models/PRD.ts +0 -2616
  147. package/generated-sqlite/models/PRDPage.ts +0 -2398
  148. package/generated-sqlite/models/PRDTag.ts +0 -1426
  149. package/generated-sqlite/models/PRDVersion.ts +0 -2117
  150. package/generated-sqlite/models/Tag.ts +0 -1652
@@ -0,0 +1,3645 @@
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 `TestCase` 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 TestCase
17
+ *
18
+ */
19
+ export type TestCaseModel = runtime.Types.Result.DefaultSelection<Prisma.$TestCasePayload>
20
+
21
+ export type AggregateTestCase = {
22
+ _count: TestCaseCountAggregateOutputType | null
23
+ _avg: TestCaseAvgAggregateOutputType | null
24
+ _sum: TestCaseSumAggregateOutputType | null
25
+ _min: TestCaseMinAggregateOutputType | null
26
+ _max: TestCaseMaxAggregateOutputType | null
27
+ }
28
+
29
+ export type TestCaseAvgAggregateOutputType = {
30
+ sequenceId: number | null
31
+ version: number | null
32
+ boardOrder: number | null
33
+ }
34
+
35
+ export type TestCaseSumAggregateOutputType = {
36
+ sequenceId: number | null
37
+ version: number | null
38
+ boardOrder: number | null
39
+ }
40
+
41
+ export type TestCaseMinAggregateOutputType = {
42
+ id: string | null
43
+ sequenceId: number | null
44
+ identifier: string | null
45
+ projectId: string | null
46
+ folderId: string | null
47
+ storyId: string | null
48
+ title: string | null
49
+ precondition: string | null
50
+ type: string | null
51
+ priority: string | null
52
+ state: string | null
53
+ version: number | null
54
+ automation: string | null
55
+ aiGenerated: boolean | null
56
+ generationId: string | null
57
+ assigneeId: string | null
58
+ createdById: string | null
59
+ archived: boolean | null
60
+ archivedAt: Date | null
61
+ boardOrder: number | null
62
+ createdAt: Date | null
63
+ updatedAt: Date | null
64
+ }
65
+
66
+ export type TestCaseMaxAggregateOutputType = {
67
+ id: string | null
68
+ sequenceId: number | null
69
+ identifier: string | null
70
+ projectId: string | null
71
+ folderId: string | null
72
+ storyId: string | null
73
+ title: string | null
74
+ precondition: string | null
75
+ type: string | null
76
+ priority: string | null
77
+ state: string | null
78
+ version: number | null
79
+ automation: string | null
80
+ aiGenerated: boolean | null
81
+ generationId: string | null
82
+ assigneeId: string | null
83
+ createdById: string | null
84
+ archived: boolean | null
85
+ archivedAt: Date | null
86
+ boardOrder: number | null
87
+ createdAt: Date | null
88
+ updatedAt: Date | null
89
+ }
90
+
91
+ export type TestCaseCountAggregateOutputType = {
92
+ id: number
93
+ sequenceId: number
94
+ identifier: number
95
+ projectId: number
96
+ folderId: number
97
+ storyId: number
98
+ title: number
99
+ precondition: number
100
+ steps: number
101
+ type: number
102
+ priority: number
103
+ state: number
104
+ version: number
105
+ automation: number
106
+ aiGenerated: number
107
+ generationId: number
108
+ assigneeId: number
109
+ createdById: number
110
+ archived: number
111
+ archivedAt: number
112
+ boardOrder: number
113
+ createdAt: number
114
+ updatedAt: number
115
+ _all: number
116
+ }
117
+
118
+
119
+ export type TestCaseAvgAggregateInputType = {
120
+ sequenceId?: true
121
+ version?: true
122
+ boardOrder?: true
123
+ }
124
+
125
+ export type TestCaseSumAggregateInputType = {
126
+ sequenceId?: true
127
+ version?: true
128
+ boardOrder?: true
129
+ }
130
+
131
+ export type TestCaseMinAggregateInputType = {
132
+ id?: true
133
+ sequenceId?: true
134
+ identifier?: true
135
+ projectId?: true
136
+ folderId?: true
137
+ storyId?: true
138
+ title?: true
139
+ precondition?: true
140
+ type?: true
141
+ priority?: true
142
+ state?: true
143
+ version?: true
144
+ automation?: true
145
+ aiGenerated?: true
146
+ generationId?: true
147
+ assigneeId?: true
148
+ createdById?: true
149
+ archived?: true
150
+ archivedAt?: true
151
+ boardOrder?: true
152
+ createdAt?: true
153
+ updatedAt?: true
154
+ }
155
+
156
+ export type TestCaseMaxAggregateInputType = {
157
+ id?: true
158
+ sequenceId?: true
159
+ identifier?: true
160
+ projectId?: true
161
+ folderId?: true
162
+ storyId?: true
163
+ title?: true
164
+ precondition?: true
165
+ type?: true
166
+ priority?: true
167
+ state?: true
168
+ version?: true
169
+ automation?: true
170
+ aiGenerated?: true
171
+ generationId?: true
172
+ assigneeId?: true
173
+ createdById?: true
174
+ archived?: true
175
+ archivedAt?: true
176
+ boardOrder?: true
177
+ createdAt?: true
178
+ updatedAt?: true
179
+ }
180
+
181
+ export type TestCaseCountAggregateInputType = {
182
+ id?: true
183
+ sequenceId?: true
184
+ identifier?: true
185
+ projectId?: true
186
+ folderId?: true
187
+ storyId?: true
188
+ title?: true
189
+ precondition?: true
190
+ steps?: true
191
+ type?: true
192
+ priority?: true
193
+ state?: true
194
+ version?: true
195
+ automation?: true
196
+ aiGenerated?: true
197
+ generationId?: true
198
+ assigneeId?: true
199
+ createdById?: true
200
+ archived?: true
201
+ archivedAt?: true
202
+ boardOrder?: true
203
+ createdAt?: true
204
+ updatedAt?: true
205
+ _all?: true
206
+ }
207
+
208
+ export type TestCaseAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
209
+ /**
210
+ * Filter which TestCase to aggregate.
211
+ */
212
+ where?: Prisma.TestCaseWhereInput
213
+ /**
214
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
215
+ *
216
+ * Determine the order of TestCases to fetch.
217
+ */
218
+ orderBy?: Prisma.TestCaseOrderByWithRelationInput | Prisma.TestCaseOrderByWithRelationInput[]
219
+ /**
220
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
221
+ *
222
+ * Sets the start position
223
+ */
224
+ cursor?: Prisma.TestCaseWhereUniqueInput
225
+ /**
226
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
227
+ *
228
+ * Take `±n` TestCases from the position of the cursor.
229
+ */
230
+ take?: number
231
+ /**
232
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
233
+ *
234
+ * Skip the first `n` TestCases.
235
+ */
236
+ skip?: number
237
+ /**
238
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
239
+ *
240
+ * Count returned TestCases
241
+ **/
242
+ _count?: true | TestCaseCountAggregateInputType
243
+ /**
244
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
245
+ *
246
+ * Select which fields to average
247
+ **/
248
+ _avg?: TestCaseAvgAggregateInputType
249
+ /**
250
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
251
+ *
252
+ * Select which fields to sum
253
+ **/
254
+ _sum?: TestCaseSumAggregateInputType
255
+ /**
256
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
257
+ *
258
+ * Select which fields to find the minimum value
259
+ **/
260
+ _min?: TestCaseMinAggregateInputType
261
+ /**
262
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
263
+ *
264
+ * Select which fields to find the maximum value
265
+ **/
266
+ _max?: TestCaseMaxAggregateInputType
267
+ }
268
+
269
+ export type GetTestCaseAggregateType<T extends TestCaseAggregateArgs> = {
270
+ [P in keyof T & keyof AggregateTestCase]: P extends '_count' | 'count'
271
+ ? T[P] extends true
272
+ ? number
273
+ : Prisma.GetScalarType<T[P], AggregateTestCase[P]>
274
+ : Prisma.GetScalarType<T[P], AggregateTestCase[P]>
275
+ }
276
+
277
+
278
+
279
+
280
+ export type TestCaseGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
281
+ where?: Prisma.TestCaseWhereInput
282
+ orderBy?: Prisma.TestCaseOrderByWithAggregationInput | Prisma.TestCaseOrderByWithAggregationInput[]
283
+ by: Prisma.TestCaseScalarFieldEnum[] | Prisma.TestCaseScalarFieldEnum
284
+ having?: Prisma.TestCaseScalarWhereWithAggregatesInput
285
+ take?: number
286
+ skip?: number
287
+ _count?: TestCaseCountAggregateInputType | true
288
+ _avg?: TestCaseAvgAggregateInputType
289
+ _sum?: TestCaseSumAggregateInputType
290
+ _min?: TestCaseMinAggregateInputType
291
+ _max?: TestCaseMaxAggregateInputType
292
+ }
293
+
294
+ export type TestCaseGroupByOutputType = {
295
+ id: string
296
+ sequenceId: number
297
+ identifier: string
298
+ projectId: string
299
+ folderId: string | null
300
+ storyId: string | null
301
+ title: string
302
+ precondition: string | null
303
+ steps: runtime.JsonValue
304
+ type: string
305
+ priority: string
306
+ state: string
307
+ version: number
308
+ automation: string
309
+ aiGenerated: boolean
310
+ generationId: string | null
311
+ assigneeId: string | null
312
+ createdById: string
313
+ archived: boolean
314
+ archivedAt: Date | null
315
+ boardOrder: number
316
+ createdAt: Date
317
+ updatedAt: Date
318
+ _count: TestCaseCountAggregateOutputType | null
319
+ _avg: TestCaseAvgAggregateOutputType | null
320
+ _sum: TestCaseSumAggregateOutputType | null
321
+ _min: TestCaseMinAggregateOutputType | null
322
+ _max: TestCaseMaxAggregateOutputType | null
323
+ }
324
+
325
+ export type GetTestCaseGroupByPayload<T extends TestCaseGroupByArgs> = Prisma.PrismaPromise<
326
+ Array<
327
+ Prisma.PickEnumerable<TestCaseGroupByOutputType, T['by']> &
328
+ {
329
+ [P in ((keyof T) & (keyof TestCaseGroupByOutputType))]: P extends '_count'
330
+ ? T[P] extends boolean
331
+ ? number
332
+ : Prisma.GetScalarType<T[P], TestCaseGroupByOutputType[P]>
333
+ : Prisma.GetScalarType<T[P], TestCaseGroupByOutputType[P]>
334
+ }
335
+ >
336
+ >
337
+
338
+
339
+
340
+ export type TestCaseWhereInput = {
341
+ AND?: Prisma.TestCaseWhereInput | Prisma.TestCaseWhereInput[]
342
+ OR?: Prisma.TestCaseWhereInput[]
343
+ NOT?: Prisma.TestCaseWhereInput | Prisma.TestCaseWhereInput[]
344
+ id?: Prisma.StringFilter<"TestCase"> | string
345
+ sequenceId?: Prisma.IntFilter<"TestCase"> | number
346
+ identifier?: Prisma.StringFilter<"TestCase"> | string
347
+ projectId?: Prisma.StringFilter<"TestCase"> | string
348
+ folderId?: Prisma.StringNullableFilter<"TestCase"> | string | null
349
+ storyId?: Prisma.StringNullableFilter<"TestCase"> | string | null
350
+ title?: Prisma.StringFilter<"TestCase"> | string
351
+ precondition?: Prisma.StringNullableFilter<"TestCase"> | string | null
352
+ steps?: Prisma.JsonFilter<"TestCase">
353
+ type?: Prisma.StringFilter<"TestCase"> | string
354
+ priority?: Prisma.StringFilter<"TestCase"> | string
355
+ state?: Prisma.StringFilter<"TestCase"> | string
356
+ version?: Prisma.IntFilter<"TestCase"> | number
357
+ automation?: Prisma.StringFilter<"TestCase"> | string
358
+ aiGenerated?: Prisma.BoolFilter<"TestCase"> | boolean
359
+ generationId?: Prisma.StringNullableFilter<"TestCase"> | string | null
360
+ assigneeId?: Prisma.StringNullableFilter<"TestCase"> | string | null
361
+ createdById?: Prisma.StringFilter<"TestCase"> | string
362
+ archived?: Prisma.BoolFilter<"TestCase"> | boolean
363
+ archivedAt?: Prisma.DateTimeNullableFilter<"TestCase"> | Date | string | null
364
+ boardOrder?: Prisma.IntFilter<"TestCase"> | number
365
+ createdAt?: Prisma.DateTimeFilter<"TestCase"> | Date | string
366
+ updatedAt?: Prisma.DateTimeFilter<"TestCase"> | Date | string
367
+ project?: Prisma.XOR<Prisma.ProjectScalarRelationFilter, Prisma.ProjectWhereInput>
368
+ folder?: Prisma.XOR<Prisma.TestCaseFolderNullableScalarRelationFilter, Prisma.TestCaseFolderWhereInput> | null
369
+ story?: Prisma.XOR<Prisma.StoryNullableScalarRelationFilter, Prisma.StoryWhereInput> | null
370
+ assignee?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
371
+ createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
372
+ artifacts?: Prisma.TestAutomationArtifactListRelationFilter
373
+ runCases?: Prisma.TestRunCaseListRelationFilter
374
+ planCases?: Prisma.TestPlanCaseListRelationFilter
375
+ }
376
+
377
+ export type TestCaseOrderByWithRelationInput = {
378
+ id?: Prisma.SortOrder
379
+ sequenceId?: Prisma.SortOrder
380
+ identifier?: Prisma.SortOrder
381
+ projectId?: Prisma.SortOrder
382
+ folderId?: Prisma.SortOrderInput | Prisma.SortOrder
383
+ storyId?: Prisma.SortOrderInput | Prisma.SortOrder
384
+ title?: Prisma.SortOrder
385
+ precondition?: Prisma.SortOrderInput | Prisma.SortOrder
386
+ steps?: Prisma.SortOrder
387
+ type?: Prisma.SortOrder
388
+ priority?: Prisma.SortOrder
389
+ state?: Prisma.SortOrder
390
+ version?: Prisma.SortOrder
391
+ automation?: Prisma.SortOrder
392
+ aiGenerated?: Prisma.SortOrder
393
+ generationId?: Prisma.SortOrderInput | Prisma.SortOrder
394
+ assigneeId?: Prisma.SortOrderInput | Prisma.SortOrder
395
+ createdById?: Prisma.SortOrder
396
+ archived?: Prisma.SortOrder
397
+ archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
398
+ boardOrder?: Prisma.SortOrder
399
+ createdAt?: Prisma.SortOrder
400
+ updatedAt?: Prisma.SortOrder
401
+ project?: Prisma.ProjectOrderByWithRelationInput
402
+ folder?: Prisma.TestCaseFolderOrderByWithRelationInput
403
+ story?: Prisma.StoryOrderByWithRelationInput
404
+ assignee?: Prisma.UserOrderByWithRelationInput
405
+ createdBy?: Prisma.UserOrderByWithRelationInput
406
+ artifacts?: Prisma.TestAutomationArtifactOrderByRelationAggregateInput
407
+ runCases?: Prisma.TestRunCaseOrderByRelationAggregateInput
408
+ planCases?: Prisma.TestPlanCaseOrderByRelationAggregateInput
409
+ }
410
+
411
+ export type TestCaseWhereUniqueInput = Prisma.AtLeast<{
412
+ id?: string
413
+ projectId_identifier?: Prisma.TestCaseProjectIdIdentifierCompoundUniqueInput
414
+ AND?: Prisma.TestCaseWhereInput | Prisma.TestCaseWhereInput[]
415
+ OR?: Prisma.TestCaseWhereInput[]
416
+ NOT?: Prisma.TestCaseWhereInput | Prisma.TestCaseWhereInput[]
417
+ sequenceId?: Prisma.IntFilter<"TestCase"> | number
418
+ identifier?: Prisma.StringFilter<"TestCase"> | string
419
+ projectId?: Prisma.StringFilter<"TestCase"> | string
420
+ folderId?: Prisma.StringNullableFilter<"TestCase"> | string | null
421
+ storyId?: Prisma.StringNullableFilter<"TestCase"> | string | null
422
+ title?: Prisma.StringFilter<"TestCase"> | string
423
+ precondition?: Prisma.StringNullableFilter<"TestCase"> | string | null
424
+ steps?: Prisma.JsonFilter<"TestCase">
425
+ type?: Prisma.StringFilter<"TestCase"> | string
426
+ priority?: Prisma.StringFilter<"TestCase"> | string
427
+ state?: Prisma.StringFilter<"TestCase"> | string
428
+ version?: Prisma.IntFilter<"TestCase"> | number
429
+ automation?: Prisma.StringFilter<"TestCase"> | string
430
+ aiGenerated?: Prisma.BoolFilter<"TestCase"> | boolean
431
+ generationId?: Prisma.StringNullableFilter<"TestCase"> | string | null
432
+ assigneeId?: Prisma.StringNullableFilter<"TestCase"> | string | null
433
+ createdById?: Prisma.StringFilter<"TestCase"> | string
434
+ archived?: Prisma.BoolFilter<"TestCase"> | boolean
435
+ archivedAt?: Prisma.DateTimeNullableFilter<"TestCase"> | Date | string | null
436
+ boardOrder?: Prisma.IntFilter<"TestCase"> | number
437
+ createdAt?: Prisma.DateTimeFilter<"TestCase"> | Date | string
438
+ updatedAt?: Prisma.DateTimeFilter<"TestCase"> | Date | string
439
+ project?: Prisma.XOR<Prisma.ProjectScalarRelationFilter, Prisma.ProjectWhereInput>
440
+ folder?: Prisma.XOR<Prisma.TestCaseFolderNullableScalarRelationFilter, Prisma.TestCaseFolderWhereInput> | null
441
+ story?: Prisma.XOR<Prisma.StoryNullableScalarRelationFilter, Prisma.StoryWhereInput> | null
442
+ assignee?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
443
+ createdBy?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
444
+ artifacts?: Prisma.TestAutomationArtifactListRelationFilter
445
+ runCases?: Prisma.TestRunCaseListRelationFilter
446
+ planCases?: Prisma.TestPlanCaseListRelationFilter
447
+ }, "id" | "projectId_identifier">
448
+
449
+ export type TestCaseOrderByWithAggregationInput = {
450
+ id?: Prisma.SortOrder
451
+ sequenceId?: Prisma.SortOrder
452
+ identifier?: Prisma.SortOrder
453
+ projectId?: Prisma.SortOrder
454
+ folderId?: Prisma.SortOrderInput | Prisma.SortOrder
455
+ storyId?: Prisma.SortOrderInput | Prisma.SortOrder
456
+ title?: Prisma.SortOrder
457
+ precondition?: Prisma.SortOrderInput | Prisma.SortOrder
458
+ steps?: Prisma.SortOrder
459
+ type?: Prisma.SortOrder
460
+ priority?: Prisma.SortOrder
461
+ state?: Prisma.SortOrder
462
+ version?: Prisma.SortOrder
463
+ automation?: Prisma.SortOrder
464
+ aiGenerated?: Prisma.SortOrder
465
+ generationId?: Prisma.SortOrderInput | Prisma.SortOrder
466
+ assigneeId?: Prisma.SortOrderInput | Prisma.SortOrder
467
+ createdById?: Prisma.SortOrder
468
+ archived?: Prisma.SortOrder
469
+ archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
470
+ boardOrder?: Prisma.SortOrder
471
+ createdAt?: Prisma.SortOrder
472
+ updatedAt?: Prisma.SortOrder
473
+ _count?: Prisma.TestCaseCountOrderByAggregateInput
474
+ _avg?: Prisma.TestCaseAvgOrderByAggregateInput
475
+ _max?: Prisma.TestCaseMaxOrderByAggregateInput
476
+ _min?: Prisma.TestCaseMinOrderByAggregateInput
477
+ _sum?: Prisma.TestCaseSumOrderByAggregateInput
478
+ }
479
+
480
+ export type TestCaseScalarWhereWithAggregatesInput = {
481
+ AND?: Prisma.TestCaseScalarWhereWithAggregatesInput | Prisma.TestCaseScalarWhereWithAggregatesInput[]
482
+ OR?: Prisma.TestCaseScalarWhereWithAggregatesInput[]
483
+ NOT?: Prisma.TestCaseScalarWhereWithAggregatesInput | Prisma.TestCaseScalarWhereWithAggregatesInput[]
484
+ id?: Prisma.StringWithAggregatesFilter<"TestCase"> | string
485
+ sequenceId?: Prisma.IntWithAggregatesFilter<"TestCase"> | number
486
+ identifier?: Prisma.StringWithAggregatesFilter<"TestCase"> | string
487
+ projectId?: Prisma.StringWithAggregatesFilter<"TestCase"> | string
488
+ folderId?: Prisma.StringNullableWithAggregatesFilter<"TestCase"> | string | null
489
+ storyId?: Prisma.StringNullableWithAggregatesFilter<"TestCase"> | string | null
490
+ title?: Prisma.StringWithAggregatesFilter<"TestCase"> | string
491
+ precondition?: Prisma.StringNullableWithAggregatesFilter<"TestCase"> | string | null
492
+ steps?: Prisma.JsonWithAggregatesFilter<"TestCase">
493
+ type?: Prisma.StringWithAggregatesFilter<"TestCase"> | string
494
+ priority?: Prisma.StringWithAggregatesFilter<"TestCase"> | string
495
+ state?: Prisma.StringWithAggregatesFilter<"TestCase"> | string
496
+ version?: Prisma.IntWithAggregatesFilter<"TestCase"> | number
497
+ automation?: Prisma.StringWithAggregatesFilter<"TestCase"> | string
498
+ aiGenerated?: Prisma.BoolWithAggregatesFilter<"TestCase"> | boolean
499
+ generationId?: Prisma.StringNullableWithAggregatesFilter<"TestCase"> | string | null
500
+ assigneeId?: Prisma.StringNullableWithAggregatesFilter<"TestCase"> | string | null
501
+ createdById?: Prisma.StringWithAggregatesFilter<"TestCase"> | string
502
+ archived?: Prisma.BoolWithAggregatesFilter<"TestCase"> | boolean
503
+ archivedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"TestCase"> | Date | string | null
504
+ boardOrder?: Prisma.IntWithAggregatesFilter<"TestCase"> | number
505
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"TestCase"> | Date | string
506
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"TestCase"> | Date | string
507
+ }
508
+
509
+ export type TestCaseCreateInput = {
510
+ id?: string
511
+ sequenceId: number
512
+ identifier: string
513
+ title: string
514
+ precondition?: string | null
515
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
516
+ type?: string
517
+ priority?: string
518
+ state?: string
519
+ version?: number
520
+ automation?: string
521
+ aiGenerated?: boolean
522
+ generationId?: string | null
523
+ archived?: boolean
524
+ archivedAt?: Date | string | null
525
+ boardOrder?: number
526
+ createdAt?: Date | string
527
+ updatedAt?: Date | string
528
+ project: Prisma.ProjectCreateNestedOneWithoutTestCasesInput
529
+ folder?: Prisma.TestCaseFolderCreateNestedOneWithoutCasesInput
530
+ story?: Prisma.StoryCreateNestedOneWithoutTestCasesInput
531
+ assignee?: Prisma.UserCreateNestedOneWithoutTestCasesAssignedInput
532
+ createdBy: Prisma.UserCreateNestedOneWithoutTestCasesCreatedInput
533
+ artifacts?: Prisma.TestAutomationArtifactCreateNestedManyWithoutCaseInput
534
+ runCases?: Prisma.TestRunCaseCreateNestedManyWithoutCaseInput
535
+ planCases?: Prisma.TestPlanCaseCreateNestedManyWithoutCaseInput
536
+ }
537
+
538
+ export type TestCaseUncheckedCreateInput = {
539
+ id?: string
540
+ sequenceId: number
541
+ identifier: string
542
+ projectId: string
543
+ folderId?: string | null
544
+ storyId?: string | null
545
+ title: string
546
+ precondition?: string | null
547
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
548
+ type?: string
549
+ priority?: string
550
+ state?: string
551
+ version?: number
552
+ automation?: string
553
+ aiGenerated?: boolean
554
+ generationId?: string | null
555
+ assigneeId?: string | null
556
+ createdById: string
557
+ archived?: boolean
558
+ archivedAt?: Date | string | null
559
+ boardOrder?: number
560
+ createdAt?: Date | string
561
+ updatedAt?: Date | string
562
+ artifacts?: Prisma.TestAutomationArtifactUncheckedCreateNestedManyWithoutCaseInput
563
+ runCases?: Prisma.TestRunCaseUncheckedCreateNestedManyWithoutCaseInput
564
+ planCases?: Prisma.TestPlanCaseUncheckedCreateNestedManyWithoutCaseInput
565
+ }
566
+
567
+ export type TestCaseUpdateInput = {
568
+ id?: Prisma.StringFieldUpdateOperationsInput | string
569
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
570
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
571
+ title?: Prisma.StringFieldUpdateOperationsInput | string
572
+ precondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
573
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
574
+ type?: Prisma.StringFieldUpdateOperationsInput | string
575
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
576
+ state?: Prisma.StringFieldUpdateOperationsInput | string
577
+ version?: Prisma.IntFieldUpdateOperationsInput | number
578
+ automation?: Prisma.StringFieldUpdateOperationsInput | string
579
+ aiGenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
580
+ generationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
581
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
582
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
583
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
584
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
585
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
586
+ project?: Prisma.ProjectUpdateOneRequiredWithoutTestCasesNestedInput
587
+ folder?: Prisma.TestCaseFolderUpdateOneWithoutCasesNestedInput
588
+ story?: Prisma.StoryUpdateOneWithoutTestCasesNestedInput
589
+ assignee?: Prisma.UserUpdateOneWithoutTestCasesAssignedNestedInput
590
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutTestCasesCreatedNestedInput
591
+ artifacts?: Prisma.TestAutomationArtifactUpdateManyWithoutCaseNestedInput
592
+ runCases?: Prisma.TestRunCaseUpdateManyWithoutCaseNestedInput
593
+ planCases?: Prisma.TestPlanCaseUpdateManyWithoutCaseNestedInput
594
+ }
595
+
596
+ export type TestCaseUncheckedUpdateInput = {
597
+ id?: Prisma.StringFieldUpdateOperationsInput | string
598
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
599
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
600
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
601
+ folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
602
+ storyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
603
+ title?: Prisma.StringFieldUpdateOperationsInput | string
604
+ precondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
605
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
606
+ type?: Prisma.StringFieldUpdateOperationsInput | string
607
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
608
+ state?: Prisma.StringFieldUpdateOperationsInput | string
609
+ version?: Prisma.IntFieldUpdateOperationsInput | number
610
+ automation?: Prisma.StringFieldUpdateOperationsInput | string
611
+ aiGenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
612
+ generationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
613
+ assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
614
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
615
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
616
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
617
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
618
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
619
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
620
+ artifacts?: Prisma.TestAutomationArtifactUncheckedUpdateManyWithoutCaseNestedInput
621
+ runCases?: Prisma.TestRunCaseUncheckedUpdateManyWithoutCaseNestedInput
622
+ planCases?: Prisma.TestPlanCaseUncheckedUpdateManyWithoutCaseNestedInput
623
+ }
624
+
625
+ export type TestCaseCreateManyInput = {
626
+ id?: string
627
+ sequenceId: number
628
+ identifier: string
629
+ projectId: string
630
+ folderId?: string | null
631
+ storyId?: string | null
632
+ title: string
633
+ precondition?: string | null
634
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
635
+ type?: string
636
+ priority?: string
637
+ state?: string
638
+ version?: number
639
+ automation?: string
640
+ aiGenerated?: boolean
641
+ generationId?: string | null
642
+ assigneeId?: string | null
643
+ createdById: string
644
+ archived?: boolean
645
+ archivedAt?: Date | string | null
646
+ boardOrder?: number
647
+ createdAt?: Date | string
648
+ updatedAt?: Date | string
649
+ }
650
+
651
+ export type TestCaseUpdateManyMutationInput = {
652
+ id?: Prisma.StringFieldUpdateOperationsInput | string
653
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
654
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
655
+ title?: Prisma.StringFieldUpdateOperationsInput | string
656
+ precondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
657
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
658
+ type?: Prisma.StringFieldUpdateOperationsInput | string
659
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
660
+ state?: Prisma.StringFieldUpdateOperationsInput | string
661
+ version?: Prisma.IntFieldUpdateOperationsInput | number
662
+ automation?: Prisma.StringFieldUpdateOperationsInput | string
663
+ aiGenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
664
+ generationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
665
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
666
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
667
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
668
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
669
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
670
+ }
671
+
672
+ export type TestCaseUncheckedUpdateManyInput = {
673
+ id?: Prisma.StringFieldUpdateOperationsInput | string
674
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
675
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
676
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
677
+ folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
678
+ storyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
679
+ title?: Prisma.StringFieldUpdateOperationsInput | string
680
+ precondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
681
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
682
+ type?: Prisma.StringFieldUpdateOperationsInput | string
683
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
684
+ state?: Prisma.StringFieldUpdateOperationsInput | string
685
+ version?: Prisma.IntFieldUpdateOperationsInput | number
686
+ automation?: Prisma.StringFieldUpdateOperationsInput | string
687
+ aiGenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
688
+ generationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
689
+ assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
690
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
691
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
692
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
693
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
694
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
695
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
696
+ }
697
+
698
+ export type TestCaseListRelationFilter = {
699
+ every?: Prisma.TestCaseWhereInput
700
+ some?: Prisma.TestCaseWhereInput
701
+ none?: Prisma.TestCaseWhereInput
702
+ }
703
+
704
+ export type TestCaseOrderByRelationAggregateInput = {
705
+ _count?: Prisma.SortOrder
706
+ }
707
+
708
+ export type TestCaseProjectIdIdentifierCompoundUniqueInput = {
709
+ projectId: string
710
+ identifier: string
711
+ }
712
+
713
+ export type TestCaseCountOrderByAggregateInput = {
714
+ id?: Prisma.SortOrder
715
+ sequenceId?: Prisma.SortOrder
716
+ identifier?: Prisma.SortOrder
717
+ projectId?: Prisma.SortOrder
718
+ folderId?: Prisma.SortOrder
719
+ storyId?: Prisma.SortOrder
720
+ title?: Prisma.SortOrder
721
+ precondition?: Prisma.SortOrder
722
+ steps?: Prisma.SortOrder
723
+ type?: Prisma.SortOrder
724
+ priority?: Prisma.SortOrder
725
+ state?: Prisma.SortOrder
726
+ version?: Prisma.SortOrder
727
+ automation?: Prisma.SortOrder
728
+ aiGenerated?: Prisma.SortOrder
729
+ generationId?: Prisma.SortOrder
730
+ assigneeId?: Prisma.SortOrder
731
+ createdById?: Prisma.SortOrder
732
+ archived?: Prisma.SortOrder
733
+ archivedAt?: Prisma.SortOrder
734
+ boardOrder?: Prisma.SortOrder
735
+ createdAt?: Prisma.SortOrder
736
+ updatedAt?: Prisma.SortOrder
737
+ }
738
+
739
+ export type TestCaseAvgOrderByAggregateInput = {
740
+ sequenceId?: Prisma.SortOrder
741
+ version?: Prisma.SortOrder
742
+ boardOrder?: Prisma.SortOrder
743
+ }
744
+
745
+ export type TestCaseMaxOrderByAggregateInput = {
746
+ id?: Prisma.SortOrder
747
+ sequenceId?: Prisma.SortOrder
748
+ identifier?: Prisma.SortOrder
749
+ projectId?: Prisma.SortOrder
750
+ folderId?: Prisma.SortOrder
751
+ storyId?: Prisma.SortOrder
752
+ title?: Prisma.SortOrder
753
+ precondition?: Prisma.SortOrder
754
+ type?: Prisma.SortOrder
755
+ priority?: Prisma.SortOrder
756
+ state?: Prisma.SortOrder
757
+ version?: Prisma.SortOrder
758
+ automation?: Prisma.SortOrder
759
+ aiGenerated?: Prisma.SortOrder
760
+ generationId?: Prisma.SortOrder
761
+ assigneeId?: Prisma.SortOrder
762
+ createdById?: Prisma.SortOrder
763
+ archived?: Prisma.SortOrder
764
+ archivedAt?: Prisma.SortOrder
765
+ boardOrder?: Prisma.SortOrder
766
+ createdAt?: Prisma.SortOrder
767
+ updatedAt?: Prisma.SortOrder
768
+ }
769
+
770
+ export type TestCaseMinOrderByAggregateInput = {
771
+ id?: Prisma.SortOrder
772
+ sequenceId?: Prisma.SortOrder
773
+ identifier?: Prisma.SortOrder
774
+ projectId?: Prisma.SortOrder
775
+ folderId?: Prisma.SortOrder
776
+ storyId?: Prisma.SortOrder
777
+ title?: Prisma.SortOrder
778
+ precondition?: Prisma.SortOrder
779
+ type?: Prisma.SortOrder
780
+ priority?: Prisma.SortOrder
781
+ state?: Prisma.SortOrder
782
+ version?: Prisma.SortOrder
783
+ automation?: Prisma.SortOrder
784
+ aiGenerated?: Prisma.SortOrder
785
+ generationId?: Prisma.SortOrder
786
+ assigneeId?: Prisma.SortOrder
787
+ createdById?: Prisma.SortOrder
788
+ archived?: Prisma.SortOrder
789
+ archivedAt?: Prisma.SortOrder
790
+ boardOrder?: Prisma.SortOrder
791
+ createdAt?: Prisma.SortOrder
792
+ updatedAt?: Prisma.SortOrder
793
+ }
794
+
795
+ export type TestCaseSumOrderByAggregateInput = {
796
+ sequenceId?: Prisma.SortOrder
797
+ version?: Prisma.SortOrder
798
+ boardOrder?: Prisma.SortOrder
799
+ }
800
+
801
+ export type TestCaseScalarRelationFilter = {
802
+ is?: Prisma.TestCaseWhereInput
803
+ isNot?: Prisma.TestCaseWhereInput
804
+ }
805
+
806
+ export type TestCaseCreateNestedManyWithoutAssigneeInput = {
807
+ create?: Prisma.XOR<Prisma.TestCaseCreateWithoutAssigneeInput, Prisma.TestCaseUncheckedCreateWithoutAssigneeInput> | Prisma.TestCaseCreateWithoutAssigneeInput[] | Prisma.TestCaseUncheckedCreateWithoutAssigneeInput[]
808
+ connectOrCreate?: Prisma.TestCaseCreateOrConnectWithoutAssigneeInput | Prisma.TestCaseCreateOrConnectWithoutAssigneeInput[]
809
+ createMany?: Prisma.TestCaseCreateManyAssigneeInputEnvelope
810
+ connect?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
811
+ }
812
+
813
+ export type TestCaseCreateNestedManyWithoutCreatedByInput = {
814
+ create?: Prisma.XOR<Prisma.TestCaseCreateWithoutCreatedByInput, Prisma.TestCaseUncheckedCreateWithoutCreatedByInput> | Prisma.TestCaseCreateWithoutCreatedByInput[] | Prisma.TestCaseUncheckedCreateWithoutCreatedByInput[]
815
+ connectOrCreate?: Prisma.TestCaseCreateOrConnectWithoutCreatedByInput | Prisma.TestCaseCreateOrConnectWithoutCreatedByInput[]
816
+ createMany?: Prisma.TestCaseCreateManyCreatedByInputEnvelope
817
+ connect?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
818
+ }
819
+
820
+ export type TestCaseUncheckedCreateNestedManyWithoutAssigneeInput = {
821
+ create?: Prisma.XOR<Prisma.TestCaseCreateWithoutAssigneeInput, Prisma.TestCaseUncheckedCreateWithoutAssigneeInput> | Prisma.TestCaseCreateWithoutAssigneeInput[] | Prisma.TestCaseUncheckedCreateWithoutAssigneeInput[]
822
+ connectOrCreate?: Prisma.TestCaseCreateOrConnectWithoutAssigneeInput | Prisma.TestCaseCreateOrConnectWithoutAssigneeInput[]
823
+ createMany?: Prisma.TestCaseCreateManyAssigneeInputEnvelope
824
+ connect?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
825
+ }
826
+
827
+ export type TestCaseUncheckedCreateNestedManyWithoutCreatedByInput = {
828
+ create?: Prisma.XOR<Prisma.TestCaseCreateWithoutCreatedByInput, Prisma.TestCaseUncheckedCreateWithoutCreatedByInput> | Prisma.TestCaseCreateWithoutCreatedByInput[] | Prisma.TestCaseUncheckedCreateWithoutCreatedByInput[]
829
+ connectOrCreate?: Prisma.TestCaseCreateOrConnectWithoutCreatedByInput | Prisma.TestCaseCreateOrConnectWithoutCreatedByInput[]
830
+ createMany?: Prisma.TestCaseCreateManyCreatedByInputEnvelope
831
+ connect?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
832
+ }
833
+
834
+ export type TestCaseUpdateManyWithoutAssigneeNestedInput = {
835
+ create?: Prisma.XOR<Prisma.TestCaseCreateWithoutAssigneeInput, Prisma.TestCaseUncheckedCreateWithoutAssigneeInput> | Prisma.TestCaseCreateWithoutAssigneeInput[] | Prisma.TestCaseUncheckedCreateWithoutAssigneeInput[]
836
+ connectOrCreate?: Prisma.TestCaseCreateOrConnectWithoutAssigneeInput | Prisma.TestCaseCreateOrConnectWithoutAssigneeInput[]
837
+ upsert?: Prisma.TestCaseUpsertWithWhereUniqueWithoutAssigneeInput | Prisma.TestCaseUpsertWithWhereUniqueWithoutAssigneeInput[]
838
+ createMany?: Prisma.TestCaseCreateManyAssigneeInputEnvelope
839
+ set?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
840
+ disconnect?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
841
+ delete?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
842
+ connect?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
843
+ update?: Prisma.TestCaseUpdateWithWhereUniqueWithoutAssigneeInput | Prisma.TestCaseUpdateWithWhereUniqueWithoutAssigneeInput[]
844
+ updateMany?: Prisma.TestCaseUpdateManyWithWhereWithoutAssigneeInput | Prisma.TestCaseUpdateManyWithWhereWithoutAssigneeInput[]
845
+ deleteMany?: Prisma.TestCaseScalarWhereInput | Prisma.TestCaseScalarWhereInput[]
846
+ }
847
+
848
+ export type TestCaseUpdateManyWithoutCreatedByNestedInput = {
849
+ create?: Prisma.XOR<Prisma.TestCaseCreateWithoutCreatedByInput, Prisma.TestCaseUncheckedCreateWithoutCreatedByInput> | Prisma.TestCaseCreateWithoutCreatedByInput[] | Prisma.TestCaseUncheckedCreateWithoutCreatedByInput[]
850
+ connectOrCreate?: Prisma.TestCaseCreateOrConnectWithoutCreatedByInput | Prisma.TestCaseCreateOrConnectWithoutCreatedByInput[]
851
+ upsert?: Prisma.TestCaseUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.TestCaseUpsertWithWhereUniqueWithoutCreatedByInput[]
852
+ createMany?: Prisma.TestCaseCreateManyCreatedByInputEnvelope
853
+ set?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
854
+ disconnect?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
855
+ delete?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
856
+ connect?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
857
+ update?: Prisma.TestCaseUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.TestCaseUpdateWithWhereUniqueWithoutCreatedByInput[]
858
+ updateMany?: Prisma.TestCaseUpdateManyWithWhereWithoutCreatedByInput | Prisma.TestCaseUpdateManyWithWhereWithoutCreatedByInput[]
859
+ deleteMany?: Prisma.TestCaseScalarWhereInput | Prisma.TestCaseScalarWhereInput[]
860
+ }
861
+
862
+ export type TestCaseUncheckedUpdateManyWithoutAssigneeNestedInput = {
863
+ create?: Prisma.XOR<Prisma.TestCaseCreateWithoutAssigneeInput, Prisma.TestCaseUncheckedCreateWithoutAssigneeInput> | Prisma.TestCaseCreateWithoutAssigneeInput[] | Prisma.TestCaseUncheckedCreateWithoutAssigneeInput[]
864
+ connectOrCreate?: Prisma.TestCaseCreateOrConnectWithoutAssigneeInput | Prisma.TestCaseCreateOrConnectWithoutAssigneeInput[]
865
+ upsert?: Prisma.TestCaseUpsertWithWhereUniqueWithoutAssigneeInput | Prisma.TestCaseUpsertWithWhereUniqueWithoutAssigneeInput[]
866
+ createMany?: Prisma.TestCaseCreateManyAssigneeInputEnvelope
867
+ set?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
868
+ disconnect?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
869
+ delete?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
870
+ connect?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
871
+ update?: Prisma.TestCaseUpdateWithWhereUniqueWithoutAssigneeInput | Prisma.TestCaseUpdateWithWhereUniqueWithoutAssigneeInput[]
872
+ updateMany?: Prisma.TestCaseUpdateManyWithWhereWithoutAssigneeInput | Prisma.TestCaseUpdateManyWithWhereWithoutAssigneeInput[]
873
+ deleteMany?: Prisma.TestCaseScalarWhereInput | Prisma.TestCaseScalarWhereInput[]
874
+ }
875
+
876
+ export type TestCaseUncheckedUpdateManyWithoutCreatedByNestedInput = {
877
+ create?: Prisma.XOR<Prisma.TestCaseCreateWithoutCreatedByInput, Prisma.TestCaseUncheckedCreateWithoutCreatedByInput> | Prisma.TestCaseCreateWithoutCreatedByInput[] | Prisma.TestCaseUncheckedCreateWithoutCreatedByInput[]
878
+ connectOrCreate?: Prisma.TestCaseCreateOrConnectWithoutCreatedByInput | Prisma.TestCaseCreateOrConnectWithoutCreatedByInput[]
879
+ upsert?: Prisma.TestCaseUpsertWithWhereUniqueWithoutCreatedByInput | Prisma.TestCaseUpsertWithWhereUniqueWithoutCreatedByInput[]
880
+ createMany?: Prisma.TestCaseCreateManyCreatedByInputEnvelope
881
+ set?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
882
+ disconnect?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
883
+ delete?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
884
+ connect?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
885
+ update?: Prisma.TestCaseUpdateWithWhereUniqueWithoutCreatedByInput | Prisma.TestCaseUpdateWithWhereUniqueWithoutCreatedByInput[]
886
+ updateMany?: Prisma.TestCaseUpdateManyWithWhereWithoutCreatedByInput | Prisma.TestCaseUpdateManyWithWhereWithoutCreatedByInput[]
887
+ deleteMany?: Prisma.TestCaseScalarWhereInput | Prisma.TestCaseScalarWhereInput[]
888
+ }
889
+
890
+ export type TestCaseCreateNestedManyWithoutProjectInput = {
891
+ create?: Prisma.XOR<Prisma.TestCaseCreateWithoutProjectInput, Prisma.TestCaseUncheckedCreateWithoutProjectInput> | Prisma.TestCaseCreateWithoutProjectInput[] | Prisma.TestCaseUncheckedCreateWithoutProjectInput[]
892
+ connectOrCreate?: Prisma.TestCaseCreateOrConnectWithoutProjectInput | Prisma.TestCaseCreateOrConnectWithoutProjectInput[]
893
+ createMany?: Prisma.TestCaseCreateManyProjectInputEnvelope
894
+ connect?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
895
+ }
896
+
897
+ export type TestCaseUncheckedCreateNestedManyWithoutProjectInput = {
898
+ create?: Prisma.XOR<Prisma.TestCaseCreateWithoutProjectInput, Prisma.TestCaseUncheckedCreateWithoutProjectInput> | Prisma.TestCaseCreateWithoutProjectInput[] | Prisma.TestCaseUncheckedCreateWithoutProjectInput[]
899
+ connectOrCreate?: Prisma.TestCaseCreateOrConnectWithoutProjectInput | Prisma.TestCaseCreateOrConnectWithoutProjectInput[]
900
+ createMany?: Prisma.TestCaseCreateManyProjectInputEnvelope
901
+ connect?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
902
+ }
903
+
904
+ export type TestCaseUpdateManyWithoutProjectNestedInput = {
905
+ create?: Prisma.XOR<Prisma.TestCaseCreateWithoutProjectInput, Prisma.TestCaseUncheckedCreateWithoutProjectInput> | Prisma.TestCaseCreateWithoutProjectInput[] | Prisma.TestCaseUncheckedCreateWithoutProjectInput[]
906
+ connectOrCreate?: Prisma.TestCaseCreateOrConnectWithoutProjectInput | Prisma.TestCaseCreateOrConnectWithoutProjectInput[]
907
+ upsert?: Prisma.TestCaseUpsertWithWhereUniqueWithoutProjectInput | Prisma.TestCaseUpsertWithWhereUniqueWithoutProjectInput[]
908
+ createMany?: Prisma.TestCaseCreateManyProjectInputEnvelope
909
+ set?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
910
+ disconnect?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
911
+ delete?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
912
+ connect?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
913
+ update?: Prisma.TestCaseUpdateWithWhereUniqueWithoutProjectInput | Prisma.TestCaseUpdateWithWhereUniqueWithoutProjectInput[]
914
+ updateMany?: Prisma.TestCaseUpdateManyWithWhereWithoutProjectInput | Prisma.TestCaseUpdateManyWithWhereWithoutProjectInput[]
915
+ deleteMany?: Prisma.TestCaseScalarWhereInput | Prisma.TestCaseScalarWhereInput[]
916
+ }
917
+
918
+ export type TestCaseUncheckedUpdateManyWithoutProjectNestedInput = {
919
+ create?: Prisma.XOR<Prisma.TestCaseCreateWithoutProjectInput, Prisma.TestCaseUncheckedCreateWithoutProjectInput> | Prisma.TestCaseCreateWithoutProjectInput[] | Prisma.TestCaseUncheckedCreateWithoutProjectInput[]
920
+ connectOrCreate?: Prisma.TestCaseCreateOrConnectWithoutProjectInput | Prisma.TestCaseCreateOrConnectWithoutProjectInput[]
921
+ upsert?: Prisma.TestCaseUpsertWithWhereUniqueWithoutProjectInput | Prisma.TestCaseUpsertWithWhereUniqueWithoutProjectInput[]
922
+ createMany?: Prisma.TestCaseCreateManyProjectInputEnvelope
923
+ set?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
924
+ disconnect?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
925
+ delete?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
926
+ connect?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
927
+ update?: Prisma.TestCaseUpdateWithWhereUniqueWithoutProjectInput | Prisma.TestCaseUpdateWithWhereUniqueWithoutProjectInput[]
928
+ updateMany?: Prisma.TestCaseUpdateManyWithWhereWithoutProjectInput | Prisma.TestCaseUpdateManyWithWhereWithoutProjectInput[]
929
+ deleteMany?: Prisma.TestCaseScalarWhereInput | Prisma.TestCaseScalarWhereInput[]
930
+ }
931
+
932
+ export type TestCaseCreateNestedManyWithoutStoryInput = {
933
+ create?: Prisma.XOR<Prisma.TestCaseCreateWithoutStoryInput, Prisma.TestCaseUncheckedCreateWithoutStoryInput> | Prisma.TestCaseCreateWithoutStoryInput[] | Prisma.TestCaseUncheckedCreateWithoutStoryInput[]
934
+ connectOrCreate?: Prisma.TestCaseCreateOrConnectWithoutStoryInput | Prisma.TestCaseCreateOrConnectWithoutStoryInput[]
935
+ createMany?: Prisma.TestCaseCreateManyStoryInputEnvelope
936
+ connect?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
937
+ }
938
+
939
+ export type TestCaseUncheckedCreateNestedManyWithoutStoryInput = {
940
+ create?: Prisma.XOR<Prisma.TestCaseCreateWithoutStoryInput, Prisma.TestCaseUncheckedCreateWithoutStoryInput> | Prisma.TestCaseCreateWithoutStoryInput[] | Prisma.TestCaseUncheckedCreateWithoutStoryInput[]
941
+ connectOrCreate?: Prisma.TestCaseCreateOrConnectWithoutStoryInput | Prisma.TestCaseCreateOrConnectWithoutStoryInput[]
942
+ createMany?: Prisma.TestCaseCreateManyStoryInputEnvelope
943
+ connect?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
944
+ }
945
+
946
+ export type TestCaseUpdateManyWithoutStoryNestedInput = {
947
+ create?: Prisma.XOR<Prisma.TestCaseCreateWithoutStoryInput, Prisma.TestCaseUncheckedCreateWithoutStoryInput> | Prisma.TestCaseCreateWithoutStoryInput[] | Prisma.TestCaseUncheckedCreateWithoutStoryInput[]
948
+ connectOrCreate?: Prisma.TestCaseCreateOrConnectWithoutStoryInput | Prisma.TestCaseCreateOrConnectWithoutStoryInput[]
949
+ upsert?: Prisma.TestCaseUpsertWithWhereUniqueWithoutStoryInput | Prisma.TestCaseUpsertWithWhereUniqueWithoutStoryInput[]
950
+ createMany?: Prisma.TestCaseCreateManyStoryInputEnvelope
951
+ set?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
952
+ disconnect?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
953
+ delete?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
954
+ connect?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
955
+ update?: Prisma.TestCaseUpdateWithWhereUniqueWithoutStoryInput | Prisma.TestCaseUpdateWithWhereUniqueWithoutStoryInput[]
956
+ updateMany?: Prisma.TestCaseUpdateManyWithWhereWithoutStoryInput | Prisma.TestCaseUpdateManyWithWhereWithoutStoryInput[]
957
+ deleteMany?: Prisma.TestCaseScalarWhereInput | Prisma.TestCaseScalarWhereInput[]
958
+ }
959
+
960
+ export type TestCaseUncheckedUpdateManyWithoutStoryNestedInput = {
961
+ create?: Prisma.XOR<Prisma.TestCaseCreateWithoutStoryInput, Prisma.TestCaseUncheckedCreateWithoutStoryInput> | Prisma.TestCaseCreateWithoutStoryInput[] | Prisma.TestCaseUncheckedCreateWithoutStoryInput[]
962
+ connectOrCreate?: Prisma.TestCaseCreateOrConnectWithoutStoryInput | Prisma.TestCaseCreateOrConnectWithoutStoryInput[]
963
+ upsert?: Prisma.TestCaseUpsertWithWhereUniqueWithoutStoryInput | Prisma.TestCaseUpsertWithWhereUniqueWithoutStoryInput[]
964
+ createMany?: Prisma.TestCaseCreateManyStoryInputEnvelope
965
+ set?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
966
+ disconnect?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
967
+ delete?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
968
+ connect?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
969
+ update?: Prisma.TestCaseUpdateWithWhereUniqueWithoutStoryInput | Prisma.TestCaseUpdateWithWhereUniqueWithoutStoryInput[]
970
+ updateMany?: Prisma.TestCaseUpdateManyWithWhereWithoutStoryInput | Prisma.TestCaseUpdateManyWithWhereWithoutStoryInput[]
971
+ deleteMany?: Prisma.TestCaseScalarWhereInput | Prisma.TestCaseScalarWhereInput[]
972
+ }
973
+
974
+ export type TestCaseCreateNestedManyWithoutFolderInput = {
975
+ create?: Prisma.XOR<Prisma.TestCaseCreateWithoutFolderInput, Prisma.TestCaseUncheckedCreateWithoutFolderInput> | Prisma.TestCaseCreateWithoutFolderInput[] | Prisma.TestCaseUncheckedCreateWithoutFolderInput[]
976
+ connectOrCreate?: Prisma.TestCaseCreateOrConnectWithoutFolderInput | Prisma.TestCaseCreateOrConnectWithoutFolderInput[]
977
+ createMany?: Prisma.TestCaseCreateManyFolderInputEnvelope
978
+ connect?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
979
+ }
980
+
981
+ export type TestCaseUncheckedCreateNestedManyWithoutFolderInput = {
982
+ create?: Prisma.XOR<Prisma.TestCaseCreateWithoutFolderInput, Prisma.TestCaseUncheckedCreateWithoutFolderInput> | Prisma.TestCaseCreateWithoutFolderInput[] | Prisma.TestCaseUncheckedCreateWithoutFolderInput[]
983
+ connectOrCreate?: Prisma.TestCaseCreateOrConnectWithoutFolderInput | Prisma.TestCaseCreateOrConnectWithoutFolderInput[]
984
+ createMany?: Prisma.TestCaseCreateManyFolderInputEnvelope
985
+ connect?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
986
+ }
987
+
988
+ export type TestCaseUpdateManyWithoutFolderNestedInput = {
989
+ create?: Prisma.XOR<Prisma.TestCaseCreateWithoutFolderInput, Prisma.TestCaseUncheckedCreateWithoutFolderInput> | Prisma.TestCaseCreateWithoutFolderInput[] | Prisma.TestCaseUncheckedCreateWithoutFolderInput[]
990
+ connectOrCreate?: Prisma.TestCaseCreateOrConnectWithoutFolderInput | Prisma.TestCaseCreateOrConnectWithoutFolderInput[]
991
+ upsert?: Prisma.TestCaseUpsertWithWhereUniqueWithoutFolderInput | Prisma.TestCaseUpsertWithWhereUniqueWithoutFolderInput[]
992
+ createMany?: Prisma.TestCaseCreateManyFolderInputEnvelope
993
+ set?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
994
+ disconnect?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
995
+ delete?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
996
+ connect?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
997
+ update?: Prisma.TestCaseUpdateWithWhereUniqueWithoutFolderInput | Prisma.TestCaseUpdateWithWhereUniqueWithoutFolderInput[]
998
+ updateMany?: Prisma.TestCaseUpdateManyWithWhereWithoutFolderInput | Prisma.TestCaseUpdateManyWithWhereWithoutFolderInput[]
999
+ deleteMany?: Prisma.TestCaseScalarWhereInput | Prisma.TestCaseScalarWhereInput[]
1000
+ }
1001
+
1002
+ export type TestCaseUncheckedUpdateManyWithoutFolderNestedInput = {
1003
+ create?: Prisma.XOR<Prisma.TestCaseCreateWithoutFolderInput, Prisma.TestCaseUncheckedCreateWithoutFolderInput> | Prisma.TestCaseCreateWithoutFolderInput[] | Prisma.TestCaseUncheckedCreateWithoutFolderInput[]
1004
+ connectOrCreate?: Prisma.TestCaseCreateOrConnectWithoutFolderInput | Prisma.TestCaseCreateOrConnectWithoutFolderInput[]
1005
+ upsert?: Prisma.TestCaseUpsertWithWhereUniqueWithoutFolderInput | Prisma.TestCaseUpsertWithWhereUniqueWithoutFolderInput[]
1006
+ createMany?: Prisma.TestCaseCreateManyFolderInputEnvelope
1007
+ set?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
1008
+ disconnect?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
1009
+ delete?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
1010
+ connect?: Prisma.TestCaseWhereUniqueInput | Prisma.TestCaseWhereUniqueInput[]
1011
+ update?: Prisma.TestCaseUpdateWithWhereUniqueWithoutFolderInput | Prisma.TestCaseUpdateWithWhereUniqueWithoutFolderInput[]
1012
+ updateMany?: Prisma.TestCaseUpdateManyWithWhereWithoutFolderInput | Prisma.TestCaseUpdateManyWithWhereWithoutFolderInput[]
1013
+ deleteMany?: Prisma.TestCaseScalarWhereInput | Prisma.TestCaseScalarWhereInput[]
1014
+ }
1015
+
1016
+ export type TestCaseCreateNestedOneWithoutPlanCasesInput = {
1017
+ create?: Prisma.XOR<Prisma.TestCaseCreateWithoutPlanCasesInput, Prisma.TestCaseUncheckedCreateWithoutPlanCasesInput>
1018
+ connectOrCreate?: Prisma.TestCaseCreateOrConnectWithoutPlanCasesInput
1019
+ connect?: Prisma.TestCaseWhereUniqueInput
1020
+ }
1021
+
1022
+ export type TestCaseUpdateOneRequiredWithoutPlanCasesNestedInput = {
1023
+ create?: Prisma.XOR<Prisma.TestCaseCreateWithoutPlanCasesInput, Prisma.TestCaseUncheckedCreateWithoutPlanCasesInput>
1024
+ connectOrCreate?: Prisma.TestCaseCreateOrConnectWithoutPlanCasesInput
1025
+ upsert?: Prisma.TestCaseUpsertWithoutPlanCasesInput
1026
+ connect?: Prisma.TestCaseWhereUniqueInput
1027
+ update?: Prisma.XOR<Prisma.XOR<Prisma.TestCaseUpdateToOneWithWhereWithoutPlanCasesInput, Prisma.TestCaseUpdateWithoutPlanCasesInput>, Prisma.TestCaseUncheckedUpdateWithoutPlanCasesInput>
1028
+ }
1029
+
1030
+ export type TestCaseCreateNestedOneWithoutRunCasesInput = {
1031
+ create?: Prisma.XOR<Prisma.TestCaseCreateWithoutRunCasesInput, Prisma.TestCaseUncheckedCreateWithoutRunCasesInput>
1032
+ connectOrCreate?: Prisma.TestCaseCreateOrConnectWithoutRunCasesInput
1033
+ connect?: Prisma.TestCaseWhereUniqueInput
1034
+ }
1035
+
1036
+ export type TestCaseUpdateOneRequiredWithoutRunCasesNestedInput = {
1037
+ create?: Prisma.XOR<Prisma.TestCaseCreateWithoutRunCasesInput, Prisma.TestCaseUncheckedCreateWithoutRunCasesInput>
1038
+ connectOrCreate?: Prisma.TestCaseCreateOrConnectWithoutRunCasesInput
1039
+ upsert?: Prisma.TestCaseUpsertWithoutRunCasesInput
1040
+ connect?: Prisma.TestCaseWhereUniqueInput
1041
+ update?: Prisma.XOR<Prisma.XOR<Prisma.TestCaseUpdateToOneWithWhereWithoutRunCasesInput, Prisma.TestCaseUpdateWithoutRunCasesInput>, Prisma.TestCaseUncheckedUpdateWithoutRunCasesInput>
1042
+ }
1043
+
1044
+ export type TestCaseCreateNestedOneWithoutArtifactsInput = {
1045
+ create?: Prisma.XOR<Prisma.TestCaseCreateWithoutArtifactsInput, Prisma.TestCaseUncheckedCreateWithoutArtifactsInput>
1046
+ connectOrCreate?: Prisma.TestCaseCreateOrConnectWithoutArtifactsInput
1047
+ connect?: Prisma.TestCaseWhereUniqueInput
1048
+ }
1049
+
1050
+ export type TestCaseUpdateOneRequiredWithoutArtifactsNestedInput = {
1051
+ create?: Prisma.XOR<Prisma.TestCaseCreateWithoutArtifactsInput, Prisma.TestCaseUncheckedCreateWithoutArtifactsInput>
1052
+ connectOrCreate?: Prisma.TestCaseCreateOrConnectWithoutArtifactsInput
1053
+ upsert?: Prisma.TestCaseUpsertWithoutArtifactsInput
1054
+ connect?: Prisma.TestCaseWhereUniqueInput
1055
+ update?: Prisma.XOR<Prisma.XOR<Prisma.TestCaseUpdateToOneWithWhereWithoutArtifactsInput, Prisma.TestCaseUpdateWithoutArtifactsInput>, Prisma.TestCaseUncheckedUpdateWithoutArtifactsInput>
1056
+ }
1057
+
1058
+ export type TestCaseCreateWithoutAssigneeInput = {
1059
+ id?: string
1060
+ sequenceId: number
1061
+ identifier: string
1062
+ title: string
1063
+ precondition?: string | null
1064
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1065
+ type?: string
1066
+ priority?: string
1067
+ state?: string
1068
+ version?: number
1069
+ automation?: string
1070
+ aiGenerated?: boolean
1071
+ generationId?: string | null
1072
+ archived?: boolean
1073
+ archivedAt?: Date | string | null
1074
+ boardOrder?: number
1075
+ createdAt?: Date | string
1076
+ updatedAt?: Date | string
1077
+ project: Prisma.ProjectCreateNestedOneWithoutTestCasesInput
1078
+ folder?: Prisma.TestCaseFolderCreateNestedOneWithoutCasesInput
1079
+ story?: Prisma.StoryCreateNestedOneWithoutTestCasesInput
1080
+ createdBy: Prisma.UserCreateNestedOneWithoutTestCasesCreatedInput
1081
+ artifacts?: Prisma.TestAutomationArtifactCreateNestedManyWithoutCaseInput
1082
+ runCases?: Prisma.TestRunCaseCreateNestedManyWithoutCaseInput
1083
+ planCases?: Prisma.TestPlanCaseCreateNestedManyWithoutCaseInput
1084
+ }
1085
+
1086
+ export type TestCaseUncheckedCreateWithoutAssigneeInput = {
1087
+ id?: string
1088
+ sequenceId: number
1089
+ identifier: string
1090
+ projectId: string
1091
+ folderId?: string | null
1092
+ storyId?: string | null
1093
+ title: string
1094
+ precondition?: string | null
1095
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1096
+ type?: string
1097
+ priority?: string
1098
+ state?: string
1099
+ version?: number
1100
+ automation?: string
1101
+ aiGenerated?: boolean
1102
+ generationId?: string | null
1103
+ createdById: string
1104
+ archived?: boolean
1105
+ archivedAt?: Date | string | null
1106
+ boardOrder?: number
1107
+ createdAt?: Date | string
1108
+ updatedAt?: Date | string
1109
+ artifacts?: Prisma.TestAutomationArtifactUncheckedCreateNestedManyWithoutCaseInput
1110
+ runCases?: Prisma.TestRunCaseUncheckedCreateNestedManyWithoutCaseInput
1111
+ planCases?: Prisma.TestPlanCaseUncheckedCreateNestedManyWithoutCaseInput
1112
+ }
1113
+
1114
+ export type TestCaseCreateOrConnectWithoutAssigneeInput = {
1115
+ where: Prisma.TestCaseWhereUniqueInput
1116
+ create: Prisma.XOR<Prisma.TestCaseCreateWithoutAssigneeInput, Prisma.TestCaseUncheckedCreateWithoutAssigneeInput>
1117
+ }
1118
+
1119
+ export type TestCaseCreateManyAssigneeInputEnvelope = {
1120
+ data: Prisma.TestCaseCreateManyAssigneeInput | Prisma.TestCaseCreateManyAssigneeInput[]
1121
+ skipDuplicates?: boolean
1122
+ }
1123
+
1124
+ export type TestCaseCreateWithoutCreatedByInput = {
1125
+ id?: string
1126
+ sequenceId: number
1127
+ identifier: string
1128
+ title: string
1129
+ precondition?: string | null
1130
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1131
+ type?: string
1132
+ priority?: string
1133
+ state?: string
1134
+ version?: number
1135
+ automation?: string
1136
+ aiGenerated?: boolean
1137
+ generationId?: string | null
1138
+ archived?: boolean
1139
+ archivedAt?: Date | string | null
1140
+ boardOrder?: number
1141
+ createdAt?: Date | string
1142
+ updatedAt?: Date | string
1143
+ project: Prisma.ProjectCreateNestedOneWithoutTestCasesInput
1144
+ folder?: Prisma.TestCaseFolderCreateNestedOneWithoutCasesInput
1145
+ story?: Prisma.StoryCreateNestedOneWithoutTestCasesInput
1146
+ assignee?: Prisma.UserCreateNestedOneWithoutTestCasesAssignedInput
1147
+ artifacts?: Prisma.TestAutomationArtifactCreateNestedManyWithoutCaseInput
1148
+ runCases?: Prisma.TestRunCaseCreateNestedManyWithoutCaseInput
1149
+ planCases?: Prisma.TestPlanCaseCreateNestedManyWithoutCaseInput
1150
+ }
1151
+
1152
+ export type TestCaseUncheckedCreateWithoutCreatedByInput = {
1153
+ id?: string
1154
+ sequenceId: number
1155
+ identifier: string
1156
+ projectId: string
1157
+ folderId?: string | null
1158
+ storyId?: string | null
1159
+ title: string
1160
+ precondition?: string | null
1161
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1162
+ type?: string
1163
+ priority?: string
1164
+ state?: string
1165
+ version?: number
1166
+ automation?: string
1167
+ aiGenerated?: boolean
1168
+ generationId?: string | null
1169
+ assigneeId?: string | null
1170
+ archived?: boolean
1171
+ archivedAt?: Date | string | null
1172
+ boardOrder?: number
1173
+ createdAt?: Date | string
1174
+ updatedAt?: Date | string
1175
+ artifacts?: Prisma.TestAutomationArtifactUncheckedCreateNestedManyWithoutCaseInput
1176
+ runCases?: Prisma.TestRunCaseUncheckedCreateNestedManyWithoutCaseInput
1177
+ planCases?: Prisma.TestPlanCaseUncheckedCreateNestedManyWithoutCaseInput
1178
+ }
1179
+
1180
+ export type TestCaseCreateOrConnectWithoutCreatedByInput = {
1181
+ where: Prisma.TestCaseWhereUniqueInput
1182
+ create: Prisma.XOR<Prisma.TestCaseCreateWithoutCreatedByInput, Prisma.TestCaseUncheckedCreateWithoutCreatedByInput>
1183
+ }
1184
+
1185
+ export type TestCaseCreateManyCreatedByInputEnvelope = {
1186
+ data: Prisma.TestCaseCreateManyCreatedByInput | Prisma.TestCaseCreateManyCreatedByInput[]
1187
+ skipDuplicates?: boolean
1188
+ }
1189
+
1190
+ export type TestCaseUpsertWithWhereUniqueWithoutAssigneeInput = {
1191
+ where: Prisma.TestCaseWhereUniqueInput
1192
+ update: Prisma.XOR<Prisma.TestCaseUpdateWithoutAssigneeInput, Prisma.TestCaseUncheckedUpdateWithoutAssigneeInput>
1193
+ create: Prisma.XOR<Prisma.TestCaseCreateWithoutAssigneeInput, Prisma.TestCaseUncheckedCreateWithoutAssigneeInput>
1194
+ }
1195
+
1196
+ export type TestCaseUpdateWithWhereUniqueWithoutAssigneeInput = {
1197
+ where: Prisma.TestCaseWhereUniqueInput
1198
+ data: Prisma.XOR<Prisma.TestCaseUpdateWithoutAssigneeInput, Prisma.TestCaseUncheckedUpdateWithoutAssigneeInput>
1199
+ }
1200
+
1201
+ export type TestCaseUpdateManyWithWhereWithoutAssigneeInput = {
1202
+ where: Prisma.TestCaseScalarWhereInput
1203
+ data: Prisma.XOR<Prisma.TestCaseUpdateManyMutationInput, Prisma.TestCaseUncheckedUpdateManyWithoutAssigneeInput>
1204
+ }
1205
+
1206
+ export type TestCaseScalarWhereInput = {
1207
+ AND?: Prisma.TestCaseScalarWhereInput | Prisma.TestCaseScalarWhereInput[]
1208
+ OR?: Prisma.TestCaseScalarWhereInput[]
1209
+ NOT?: Prisma.TestCaseScalarWhereInput | Prisma.TestCaseScalarWhereInput[]
1210
+ id?: Prisma.StringFilter<"TestCase"> | string
1211
+ sequenceId?: Prisma.IntFilter<"TestCase"> | number
1212
+ identifier?: Prisma.StringFilter<"TestCase"> | string
1213
+ projectId?: Prisma.StringFilter<"TestCase"> | string
1214
+ folderId?: Prisma.StringNullableFilter<"TestCase"> | string | null
1215
+ storyId?: Prisma.StringNullableFilter<"TestCase"> | string | null
1216
+ title?: Prisma.StringFilter<"TestCase"> | string
1217
+ precondition?: Prisma.StringNullableFilter<"TestCase"> | string | null
1218
+ steps?: Prisma.JsonFilter<"TestCase">
1219
+ type?: Prisma.StringFilter<"TestCase"> | string
1220
+ priority?: Prisma.StringFilter<"TestCase"> | string
1221
+ state?: Prisma.StringFilter<"TestCase"> | string
1222
+ version?: Prisma.IntFilter<"TestCase"> | number
1223
+ automation?: Prisma.StringFilter<"TestCase"> | string
1224
+ aiGenerated?: Prisma.BoolFilter<"TestCase"> | boolean
1225
+ generationId?: Prisma.StringNullableFilter<"TestCase"> | string | null
1226
+ assigneeId?: Prisma.StringNullableFilter<"TestCase"> | string | null
1227
+ createdById?: Prisma.StringFilter<"TestCase"> | string
1228
+ archived?: Prisma.BoolFilter<"TestCase"> | boolean
1229
+ archivedAt?: Prisma.DateTimeNullableFilter<"TestCase"> | Date | string | null
1230
+ boardOrder?: Prisma.IntFilter<"TestCase"> | number
1231
+ createdAt?: Prisma.DateTimeFilter<"TestCase"> | Date | string
1232
+ updatedAt?: Prisma.DateTimeFilter<"TestCase"> | Date | string
1233
+ }
1234
+
1235
+ export type TestCaseUpsertWithWhereUniqueWithoutCreatedByInput = {
1236
+ where: Prisma.TestCaseWhereUniqueInput
1237
+ update: Prisma.XOR<Prisma.TestCaseUpdateWithoutCreatedByInput, Prisma.TestCaseUncheckedUpdateWithoutCreatedByInput>
1238
+ create: Prisma.XOR<Prisma.TestCaseCreateWithoutCreatedByInput, Prisma.TestCaseUncheckedCreateWithoutCreatedByInput>
1239
+ }
1240
+
1241
+ export type TestCaseUpdateWithWhereUniqueWithoutCreatedByInput = {
1242
+ where: Prisma.TestCaseWhereUniqueInput
1243
+ data: Prisma.XOR<Prisma.TestCaseUpdateWithoutCreatedByInput, Prisma.TestCaseUncheckedUpdateWithoutCreatedByInput>
1244
+ }
1245
+
1246
+ export type TestCaseUpdateManyWithWhereWithoutCreatedByInput = {
1247
+ where: Prisma.TestCaseScalarWhereInput
1248
+ data: Prisma.XOR<Prisma.TestCaseUpdateManyMutationInput, Prisma.TestCaseUncheckedUpdateManyWithoutCreatedByInput>
1249
+ }
1250
+
1251
+ export type TestCaseCreateWithoutProjectInput = {
1252
+ id?: string
1253
+ sequenceId: number
1254
+ identifier: string
1255
+ title: string
1256
+ precondition?: string | null
1257
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1258
+ type?: string
1259
+ priority?: string
1260
+ state?: string
1261
+ version?: number
1262
+ automation?: string
1263
+ aiGenerated?: boolean
1264
+ generationId?: string | null
1265
+ archived?: boolean
1266
+ archivedAt?: Date | string | null
1267
+ boardOrder?: number
1268
+ createdAt?: Date | string
1269
+ updatedAt?: Date | string
1270
+ folder?: Prisma.TestCaseFolderCreateNestedOneWithoutCasesInput
1271
+ story?: Prisma.StoryCreateNestedOneWithoutTestCasesInput
1272
+ assignee?: Prisma.UserCreateNestedOneWithoutTestCasesAssignedInput
1273
+ createdBy: Prisma.UserCreateNestedOneWithoutTestCasesCreatedInput
1274
+ artifacts?: Prisma.TestAutomationArtifactCreateNestedManyWithoutCaseInput
1275
+ runCases?: Prisma.TestRunCaseCreateNestedManyWithoutCaseInput
1276
+ planCases?: Prisma.TestPlanCaseCreateNestedManyWithoutCaseInput
1277
+ }
1278
+
1279
+ export type TestCaseUncheckedCreateWithoutProjectInput = {
1280
+ id?: string
1281
+ sequenceId: number
1282
+ identifier: string
1283
+ folderId?: string | null
1284
+ storyId?: string | null
1285
+ title: string
1286
+ precondition?: string | null
1287
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1288
+ type?: string
1289
+ priority?: string
1290
+ state?: string
1291
+ version?: number
1292
+ automation?: string
1293
+ aiGenerated?: boolean
1294
+ generationId?: string | null
1295
+ assigneeId?: string | null
1296
+ createdById: string
1297
+ archived?: boolean
1298
+ archivedAt?: Date | string | null
1299
+ boardOrder?: number
1300
+ createdAt?: Date | string
1301
+ updatedAt?: Date | string
1302
+ artifacts?: Prisma.TestAutomationArtifactUncheckedCreateNestedManyWithoutCaseInput
1303
+ runCases?: Prisma.TestRunCaseUncheckedCreateNestedManyWithoutCaseInput
1304
+ planCases?: Prisma.TestPlanCaseUncheckedCreateNestedManyWithoutCaseInput
1305
+ }
1306
+
1307
+ export type TestCaseCreateOrConnectWithoutProjectInput = {
1308
+ where: Prisma.TestCaseWhereUniqueInput
1309
+ create: Prisma.XOR<Prisma.TestCaseCreateWithoutProjectInput, Prisma.TestCaseUncheckedCreateWithoutProjectInput>
1310
+ }
1311
+
1312
+ export type TestCaseCreateManyProjectInputEnvelope = {
1313
+ data: Prisma.TestCaseCreateManyProjectInput | Prisma.TestCaseCreateManyProjectInput[]
1314
+ skipDuplicates?: boolean
1315
+ }
1316
+
1317
+ export type TestCaseUpsertWithWhereUniqueWithoutProjectInput = {
1318
+ where: Prisma.TestCaseWhereUniqueInput
1319
+ update: Prisma.XOR<Prisma.TestCaseUpdateWithoutProjectInput, Prisma.TestCaseUncheckedUpdateWithoutProjectInput>
1320
+ create: Prisma.XOR<Prisma.TestCaseCreateWithoutProjectInput, Prisma.TestCaseUncheckedCreateWithoutProjectInput>
1321
+ }
1322
+
1323
+ export type TestCaseUpdateWithWhereUniqueWithoutProjectInput = {
1324
+ where: Prisma.TestCaseWhereUniqueInput
1325
+ data: Prisma.XOR<Prisma.TestCaseUpdateWithoutProjectInput, Prisma.TestCaseUncheckedUpdateWithoutProjectInput>
1326
+ }
1327
+
1328
+ export type TestCaseUpdateManyWithWhereWithoutProjectInput = {
1329
+ where: Prisma.TestCaseScalarWhereInput
1330
+ data: Prisma.XOR<Prisma.TestCaseUpdateManyMutationInput, Prisma.TestCaseUncheckedUpdateManyWithoutProjectInput>
1331
+ }
1332
+
1333
+ export type TestCaseCreateWithoutStoryInput = {
1334
+ id?: string
1335
+ sequenceId: number
1336
+ identifier: string
1337
+ title: string
1338
+ precondition?: string | null
1339
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1340
+ type?: string
1341
+ priority?: string
1342
+ state?: string
1343
+ version?: number
1344
+ automation?: string
1345
+ aiGenerated?: boolean
1346
+ generationId?: string | null
1347
+ archived?: boolean
1348
+ archivedAt?: Date | string | null
1349
+ boardOrder?: number
1350
+ createdAt?: Date | string
1351
+ updatedAt?: Date | string
1352
+ project: Prisma.ProjectCreateNestedOneWithoutTestCasesInput
1353
+ folder?: Prisma.TestCaseFolderCreateNestedOneWithoutCasesInput
1354
+ assignee?: Prisma.UserCreateNestedOneWithoutTestCasesAssignedInput
1355
+ createdBy: Prisma.UserCreateNestedOneWithoutTestCasesCreatedInput
1356
+ artifacts?: Prisma.TestAutomationArtifactCreateNestedManyWithoutCaseInput
1357
+ runCases?: Prisma.TestRunCaseCreateNestedManyWithoutCaseInput
1358
+ planCases?: Prisma.TestPlanCaseCreateNestedManyWithoutCaseInput
1359
+ }
1360
+
1361
+ export type TestCaseUncheckedCreateWithoutStoryInput = {
1362
+ id?: string
1363
+ sequenceId: number
1364
+ identifier: string
1365
+ projectId: string
1366
+ folderId?: string | null
1367
+ title: string
1368
+ precondition?: string | null
1369
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1370
+ type?: string
1371
+ priority?: string
1372
+ state?: string
1373
+ version?: number
1374
+ automation?: string
1375
+ aiGenerated?: boolean
1376
+ generationId?: string | null
1377
+ assigneeId?: string | null
1378
+ createdById: string
1379
+ archived?: boolean
1380
+ archivedAt?: Date | string | null
1381
+ boardOrder?: number
1382
+ createdAt?: Date | string
1383
+ updatedAt?: Date | string
1384
+ artifacts?: Prisma.TestAutomationArtifactUncheckedCreateNestedManyWithoutCaseInput
1385
+ runCases?: Prisma.TestRunCaseUncheckedCreateNestedManyWithoutCaseInput
1386
+ planCases?: Prisma.TestPlanCaseUncheckedCreateNestedManyWithoutCaseInput
1387
+ }
1388
+
1389
+ export type TestCaseCreateOrConnectWithoutStoryInput = {
1390
+ where: Prisma.TestCaseWhereUniqueInput
1391
+ create: Prisma.XOR<Prisma.TestCaseCreateWithoutStoryInput, Prisma.TestCaseUncheckedCreateWithoutStoryInput>
1392
+ }
1393
+
1394
+ export type TestCaseCreateManyStoryInputEnvelope = {
1395
+ data: Prisma.TestCaseCreateManyStoryInput | Prisma.TestCaseCreateManyStoryInput[]
1396
+ skipDuplicates?: boolean
1397
+ }
1398
+
1399
+ export type TestCaseUpsertWithWhereUniqueWithoutStoryInput = {
1400
+ where: Prisma.TestCaseWhereUniqueInput
1401
+ update: Prisma.XOR<Prisma.TestCaseUpdateWithoutStoryInput, Prisma.TestCaseUncheckedUpdateWithoutStoryInput>
1402
+ create: Prisma.XOR<Prisma.TestCaseCreateWithoutStoryInput, Prisma.TestCaseUncheckedCreateWithoutStoryInput>
1403
+ }
1404
+
1405
+ export type TestCaseUpdateWithWhereUniqueWithoutStoryInput = {
1406
+ where: Prisma.TestCaseWhereUniqueInput
1407
+ data: Prisma.XOR<Prisma.TestCaseUpdateWithoutStoryInput, Prisma.TestCaseUncheckedUpdateWithoutStoryInput>
1408
+ }
1409
+
1410
+ export type TestCaseUpdateManyWithWhereWithoutStoryInput = {
1411
+ where: Prisma.TestCaseScalarWhereInput
1412
+ data: Prisma.XOR<Prisma.TestCaseUpdateManyMutationInput, Prisma.TestCaseUncheckedUpdateManyWithoutStoryInput>
1413
+ }
1414
+
1415
+ export type TestCaseCreateWithoutFolderInput = {
1416
+ id?: string
1417
+ sequenceId: number
1418
+ identifier: string
1419
+ title: string
1420
+ precondition?: string | null
1421
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1422
+ type?: string
1423
+ priority?: string
1424
+ state?: string
1425
+ version?: number
1426
+ automation?: string
1427
+ aiGenerated?: boolean
1428
+ generationId?: string | null
1429
+ archived?: boolean
1430
+ archivedAt?: Date | string | null
1431
+ boardOrder?: number
1432
+ createdAt?: Date | string
1433
+ updatedAt?: Date | string
1434
+ project: Prisma.ProjectCreateNestedOneWithoutTestCasesInput
1435
+ story?: Prisma.StoryCreateNestedOneWithoutTestCasesInput
1436
+ assignee?: Prisma.UserCreateNestedOneWithoutTestCasesAssignedInput
1437
+ createdBy: Prisma.UserCreateNestedOneWithoutTestCasesCreatedInput
1438
+ artifacts?: Prisma.TestAutomationArtifactCreateNestedManyWithoutCaseInput
1439
+ runCases?: Prisma.TestRunCaseCreateNestedManyWithoutCaseInput
1440
+ planCases?: Prisma.TestPlanCaseCreateNestedManyWithoutCaseInput
1441
+ }
1442
+
1443
+ export type TestCaseUncheckedCreateWithoutFolderInput = {
1444
+ id?: string
1445
+ sequenceId: number
1446
+ identifier: string
1447
+ projectId: string
1448
+ storyId?: string | null
1449
+ title: string
1450
+ precondition?: string | null
1451
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1452
+ type?: string
1453
+ priority?: string
1454
+ state?: string
1455
+ version?: number
1456
+ automation?: string
1457
+ aiGenerated?: boolean
1458
+ generationId?: string | null
1459
+ assigneeId?: string | null
1460
+ createdById: string
1461
+ archived?: boolean
1462
+ archivedAt?: Date | string | null
1463
+ boardOrder?: number
1464
+ createdAt?: Date | string
1465
+ updatedAt?: Date | string
1466
+ artifacts?: Prisma.TestAutomationArtifactUncheckedCreateNestedManyWithoutCaseInput
1467
+ runCases?: Prisma.TestRunCaseUncheckedCreateNestedManyWithoutCaseInput
1468
+ planCases?: Prisma.TestPlanCaseUncheckedCreateNestedManyWithoutCaseInput
1469
+ }
1470
+
1471
+ export type TestCaseCreateOrConnectWithoutFolderInput = {
1472
+ where: Prisma.TestCaseWhereUniqueInput
1473
+ create: Prisma.XOR<Prisma.TestCaseCreateWithoutFolderInput, Prisma.TestCaseUncheckedCreateWithoutFolderInput>
1474
+ }
1475
+
1476
+ export type TestCaseCreateManyFolderInputEnvelope = {
1477
+ data: Prisma.TestCaseCreateManyFolderInput | Prisma.TestCaseCreateManyFolderInput[]
1478
+ skipDuplicates?: boolean
1479
+ }
1480
+
1481
+ export type TestCaseUpsertWithWhereUniqueWithoutFolderInput = {
1482
+ where: Prisma.TestCaseWhereUniqueInput
1483
+ update: Prisma.XOR<Prisma.TestCaseUpdateWithoutFolderInput, Prisma.TestCaseUncheckedUpdateWithoutFolderInput>
1484
+ create: Prisma.XOR<Prisma.TestCaseCreateWithoutFolderInput, Prisma.TestCaseUncheckedCreateWithoutFolderInput>
1485
+ }
1486
+
1487
+ export type TestCaseUpdateWithWhereUniqueWithoutFolderInput = {
1488
+ where: Prisma.TestCaseWhereUniqueInput
1489
+ data: Prisma.XOR<Prisma.TestCaseUpdateWithoutFolderInput, Prisma.TestCaseUncheckedUpdateWithoutFolderInput>
1490
+ }
1491
+
1492
+ export type TestCaseUpdateManyWithWhereWithoutFolderInput = {
1493
+ where: Prisma.TestCaseScalarWhereInput
1494
+ data: Prisma.XOR<Prisma.TestCaseUpdateManyMutationInput, Prisma.TestCaseUncheckedUpdateManyWithoutFolderInput>
1495
+ }
1496
+
1497
+ export type TestCaseCreateWithoutPlanCasesInput = {
1498
+ id?: string
1499
+ sequenceId: number
1500
+ identifier: string
1501
+ title: string
1502
+ precondition?: string | null
1503
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1504
+ type?: string
1505
+ priority?: string
1506
+ state?: string
1507
+ version?: number
1508
+ automation?: string
1509
+ aiGenerated?: boolean
1510
+ generationId?: string | null
1511
+ archived?: boolean
1512
+ archivedAt?: Date | string | null
1513
+ boardOrder?: number
1514
+ createdAt?: Date | string
1515
+ updatedAt?: Date | string
1516
+ project: Prisma.ProjectCreateNestedOneWithoutTestCasesInput
1517
+ folder?: Prisma.TestCaseFolderCreateNestedOneWithoutCasesInput
1518
+ story?: Prisma.StoryCreateNestedOneWithoutTestCasesInput
1519
+ assignee?: Prisma.UserCreateNestedOneWithoutTestCasesAssignedInput
1520
+ createdBy: Prisma.UserCreateNestedOneWithoutTestCasesCreatedInput
1521
+ artifacts?: Prisma.TestAutomationArtifactCreateNestedManyWithoutCaseInput
1522
+ runCases?: Prisma.TestRunCaseCreateNestedManyWithoutCaseInput
1523
+ }
1524
+
1525
+ export type TestCaseUncheckedCreateWithoutPlanCasesInput = {
1526
+ id?: string
1527
+ sequenceId: number
1528
+ identifier: string
1529
+ projectId: string
1530
+ folderId?: string | null
1531
+ storyId?: string | null
1532
+ title: string
1533
+ precondition?: string | null
1534
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1535
+ type?: string
1536
+ priority?: string
1537
+ state?: string
1538
+ version?: number
1539
+ automation?: string
1540
+ aiGenerated?: boolean
1541
+ generationId?: string | null
1542
+ assigneeId?: string | null
1543
+ createdById: string
1544
+ archived?: boolean
1545
+ archivedAt?: Date | string | null
1546
+ boardOrder?: number
1547
+ createdAt?: Date | string
1548
+ updatedAt?: Date | string
1549
+ artifacts?: Prisma.TestAutomationArtifactUncheckedCreateNestedManyWithoutCaseInput
1550
+ runCases?: Prisma.TestRunCaseUncheckedCreateNestedManyWithoutCaseInput
1551
+ }
1552
+
1553
+ export type TestCaseCreateOrConnectWithoutPlanCasesInput = {
1554
+ where: Prisma.TestCaseWhereUniqueInput
1555
+ create: Prisma.XOR<Prisma.TestCaseCreateWithoutPlanCasesInput, Prisma.TestCaseUncheckedCreateWithoutPlanCasesInput>
1556
+ }
1557
+
1558
+ export type TestCaseUpsertWithoutPlanCasesInput = {
1559
+ update: Prisma.XOR<Prisma.TestCaseUpdateWithoutPlanCasesInput, Prisma.TestCaseUncheckedUpdateWithoutPlanCasesInput>
1560
+ create: Prisma.XOR<Prisma.TestCaseCreateWithoutPlanCasesInput, Prisma.TestCaseUncheckedCreateWithoutPlanCasesInput>
1561
+ where?: Prisma.TestCaseWhereInput
1562
+ }
1563
+
1564
+ export type TestCaseUpdateToOneWithWhereWithoutPlanCasesInput = {
1565
+ where?: Prisma.TestCaseWhereInput
1566
+ data: Prisma.XOR<Prisma.TestCaseUpdateWithoutPlanCasesInput, Prisma.TestCaseUncheckedUpdateWithoutPlanCasesInput>
1567
+ }
1568
+
1569
+ export type TestCaseUpdateWithoutPlanCasesInput = {
1570
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1571
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
1572
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
1573
+ title?: Prisma.StringFieldUpdateOperationsInput | string
1574
+ precondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1575
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1576
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1577
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
1578
+ state?: Prisma.StringFieldUpdateOperationsInput | string
1579
+ version?: Prisma.IntFieldUpdateOperationsInput | number
1580
+ automation?: Prisma.StringFieldUpdateOperationsInput | string
1581
+ aiGenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
1582
+ generationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1583
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1584
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1585
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
1586
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1587
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1588
+ project?: Prisma.ProjectUpdateOneRequiredWithoutTestCasesNestedInput
1589
+ folder?: Prisma.TestCaseFolderUpdateOneWithoutCasesNestedInput
1590
+ story?: Prisma.StoryUpdateOneWithoutTestCasesNestedInput
1591
+ assignee?: Prisma.UserUpdateOneWithoutTestCasesAssignedNestedInput
1592
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutTestCasesCreatedNestedInput
1593
+ artifacts?: Prisma.TestAutomationArtifactUpdateManyWithoutCaseNestedInput
1594
+ runCases?: Prisma.TestRunCaseUpdateManyWithoutCaseNestedInput
1595
+ }
1596
+
1597
+ export type TestCaseUncheckedUpdateWithoutPlanCasesInput = {
1598
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1599
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
1600
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
1601
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
1602
+ folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1603
+ storyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1604
+ title?: Prisma.StringFieldUpdateOperationsInput | string
1605
+ precondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1606
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1607
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1608
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
1609
+ state?: Prisma.StringFieldUpdateOperationsInput | string
1610
+ version?: Prisma.IntFieldUpdateOperationsInput | number
1611
+ automation?: Prisma.StringFieldUpdateOperationsInput | string
1612
+ aiGenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
1613
+ generationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1614
+ assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1615
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
1616
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1617
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1618
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
1619
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1620
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1621
+ artifacts?: Prisma.TestAutomationArtifactUncheckedUpdateManyWithoutCaseNestedInput
1622
+ runCases?: Prisma.TestRunCaseUncheckedUpdateManyWithoutCaseNestedInput
1623
+ }
1624
+
1625
+ export type TestCaseCreateWithoutRunCasesInput = {
1626
+ id?: string
1627
+ sequenceId: number
1628
+ identifier: string
1629
+ title: string
1630
+ precondition?: string | null
1631
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1632
+ type?: string
1633
+ priority?: string
1634
+ state?: string
1635
+ version?: number
1636
+ automation?: string
1637
+ aiGenerated?: boolean
1638
+ generationId?: string | null
1639
+ archived?: boolean
1640
+ archivedAt?: Date | string | null
1641
+ boardOrder?: number
1642
+ createdAt?: Date | string
1643
+ updatedAt?: Date | string
1644
+ project: Prisma.ProjectCreateNestedOneWithoutTestCasesInput
1645
+ folder?: Prisma.TestCaseFolderCreateNestedOneWithoutCasesInput
1646
+ story?: Prisma.StoryCreateNestedOneWithoutTestCasesInput
1647
+ assignee?: Prisma.UserCreateNestedOneWithoutTestCasesAssignedInput
1648
+ createdBy: Prisma.UserCreateNestedOneWithoutTestCasesCreatedInput
1649
+ artifacts?: Prisma.TestAutomationArtifactCreateNestedManyWithoutCaseInput
1650
+ planCases?: Prisma.TestPlanCaseCreateNestedManyWithoutCaseInput
1651
+ }
1652
+
1653
+ export type TestCaseUncheckedCreateWithoutRunCasesInput = {
1654
+ id?: string
1655
+ sequenceId: number
1656
+ identifier: string
1657
+ projectId: string
1658
+ folderId?: string | null
1659
+ storyId?: string | null
1660
+ title: string
1661
+ precondition?: string | null
1662
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1663
+ type?: string
1664
+ priority?: string
1665
+ state?: string
1666
+ version?: number
1667
+ automation?: string
1668
+ aiGenerated?: boolean
1669
+ generationId?: string | null
1670
+ assigneeId?: string | null
1671
+ createdById: string
1672
+ archived?: boolean
1673
+ archivedAt?: Date | string | null
1674
+ boardOrder?: number
1675
+ createdAt?: Date | string
1676
+ updatedAt?: Date | string
1677
+ artifacts?: Prisma.TestAutomationArtifactUncheckedCreateNestedManyWithoutCaseInput
1678
+ planCases?: Prisma.TestPlanCaseUncheckedCreateNestedManyWithoutCaseInput
1679
+ }
1680
+
1681
+ export type TestCaseCreateOrConnectWithoutRunCasesInput = {
1682
+ where: Prisma.TestCaseWhereUniqueInput
1683
+ create: Prisma.XOR<Prisma.TestCaseCreateWithoutRunCasesInput, Prisma.TestCaseUncheckedCreateWithoutRunCasesInput>
1684
+ }
1685
+
1686
+ export type TestCaseUpsertWithoutRunCasesInput = {
1687
+ update: Prisma.XOR<Prisma.TestCaseUpdateWithoutRunCasesInput, Prisma.TestCaseUncheckedUpdateWithoutRunCasesInput>
1688
+ create: Prisma.XOR<Prisma.TestCaseCreateWithoutRunCasesInput, Prisma.TestCaseUncheckedCreateWithoutRunCasesInput>
1689
+ where?: Prisma.TestCaseWhereInput
1690
+ }
1691
+
1692
+ export type TestCaseUpdateToOneWithWhereWithoutRunCasesInput = {
1693
+ where?: Prisma.TestCaseWhereInput
1694
+ data: Prisma.XOR<Prisma.TestCaseUpdateWithoutRunCasesInput, Prisma.TestCaseUncheckedUpdateWithoutRunCasesInput>
1695
+ }
1696
+
1697
+ export type TestCaseUpdateWithoutRunCasesInput = {
1698
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1699
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
1700
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
1701
+ title?: Prisma.StringFieldUpdateOperationsInput | string
1702
+ precondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1703
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1704
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1705
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
1706
+ state?: Prisma.StringFieldUpdateOperationsInput | string
1707
+ version?: Prisma.IntFieldUpdateOperationsInput | number
1708
+ automation?: Prisma.StringFieldUpdateOperationsInput | string
1709
+ aiGenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
1710
+ generationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1711
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1712
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1713
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
1714
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1715
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1716
+ project?: Prisma.ProjectUpdateOneRequiredWithoutTestCasesNestedInput
1717
+ folder?: Prisma.TestCaseFolderUpdateOneWithoutCasesNestedInput
1718
+ story?: Prisma.StoryUpdateOneWithoutTestCasesNestedInput
1719
+ assignee?: Prisma.UserUpdateOneWithoutTestCasesAssignedNestedInput
1720
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutTestCasesCreatedNestedInput
1721
+ artifacts?: Prisma.TestAutomationArtifactUpdateManyWithoutCaseNestedInput
1722
+ planCases?: Prisma.TestPlanCaseUpdateManyWithoutCaseNestedInput
1723
+ }
1724
+
1725
+ export type TestCaseUncheckedUpdateWithoutRunCasesInput = {
1726
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1727
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
1728
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
1729
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
1730
+ folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1731
+ storyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1732
+ title?: Prisma.StringFieldUpdateOperationsInput | string
1733
+ precondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1734
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1735
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1736
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
1737
+ state?: Prisma.StringFieldUpdateOperationsInput | string
1738
+ version?: Prisma.IntFieldUpdateOperationsInput | number
1739
+ automation?: Prisma.StringFieldUpdateOperationsInput | string
1740
+ aiGenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
1741
+ generationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1742
+ assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1743
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
1744
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1745
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1746
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
1747
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1748
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1749
+ artifacts?: Prisma.TestAutomationArtifactUncheckedUpdateManyWithoutCaseNestedInput
1750
+ planCases?: Prisma.TestPlanCaseUncheckedUpdateManyWithoutCaseNestedInput
1751
+ }
1752
+
1753
+ export type TestCaseCreateWithoutArtifactsInput = {
1754
+ id?: string
1755
+ sequenceId: number
1756
+ identifier: string
1757
+ title: string
1758
+ precondition?: string | null
1759
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1760
+ type?: string
1761
+ priority?: string
1762
+ state?: string
1763
+ version?: number
1764
+ automation?: string
1765
+ aiGenerated?: boolean
1766
+ generationId?: string | null
1767
+ archived?: boolean
1768
+ archivedAt?: Date | string | null
1769
+ boardOrder?: number
1770
+ createdAt?: Date | string
1771
+ updatedAt?: Date | string
1772
+ project: Prisma.ProjectCreateNestedOneWithoutTestCasesInput
1773
+ folder?: Prisma.TestCaseFolderCreateNestedOneWithoutCasesInput
1774
+ story?: Prisma.StoryCreateNestedOneWithoutTestCasesInput
1775
+ assignee?: Prisma.UserCreateNestedOneWithoutTestCasesAssignedInput
1776
+ createdBy: Prisma.UserCreateNestedOneWithoutTestCasesCreatedInput
1777
+ runCases?: Prisma.TestRunCaseCreateNestedManyWithoutCaseInput
1778
+ planCases?: Prisma.TestPlanCaseCreateNestedManyWithoutCaseInput
1779
+ }
1780
+
1781
+ export type TestCaseUncheckedCreateWithoutArtifactsInput = {
1782
+ id?: string
1783
+ sequenceId: number
1784
+ identifier: string
1785
+ projectId: string
1786
+ folderId?: string | null
1787
+ storyId?: string | null
1788
+ title: string
1789
+ precondition?: string | null
1790
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1791
+ type?: string
1792
+ priority?: string
1793
+ state?: string
1794
+ version?: number
1795
+ automation?: string
1796
+ aiGenerated?: boolean
1797
+ generationId?: string | null
1798
+ assigneeId?: string | null
1799
+ createdById: string
1800
+ archived?: boolean
1801
+ archivedAt?: Date | string | null
1802
+ boardOrder?: number
1803
+ createdAt?: Date | string
1804
+ updatedAt?: Date | string
1805
+ runCases?: Prisma.TestRunCaseUncheckedCreateNestedManyWithoutCaseInput
1806
+ planCases?: Prisma.TestPlanCaseUncheckedCreateNestedManyWithoutCaseInput
1807
+ }
1808
+
1809
+ export type TestCaseCreateOrConnectWithoutArtifactsInput = {
1810
+ where: Prisma.TestCaseWhereUniqueInput
1811
+ create: Prisma.XOR<Prisma.TestCaseCreateWithoutArtifactsInput, Prisma.TestCaseUncheckedCreateWithoutArtifactsInput>
1812
+ }
1813
+
1814
+ export type TestCaseUpsertWithoutArtifactsInput = {
1815
+ update: Prisma.XOR<Prisma.TestCaseUpdateWithoutArtifactsInput, Prisma.TestCaseUncheckedUpdateWithoutArtifactsInput>
1816
+ create: Prisma.XOR<Prisma.TestCaseCreateWithoutArtifactsInput, Prisma.TestCaseUncheckedCreateWithoutArtifactsInput>
1817
+ where?: Prisma.TestCaseWhereInput
1818
+ }
1819
+
1820
+ export type TestCaseUpdateToOneWithWhereWithoutArtifactsInput = {
1821
+ where?: Prisma.TestCaseWhereInput
1822
+ data: Prisma.XOR<Prisma.TestCaseUpdateWithoutArtifactsInput, Prisma.TestCaseUncheckedUpdateWithoutArtifactsInput>
1823
+ }
1824
+
1825
+ export type TestCaseUpdateWithoutArtifactsInput = {
1826
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1827
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
1828
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
1829
+ title?: Prisma.StringFieldUpdateOperationsInput | string
1830
+ precondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1831
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1832
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1833
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
1834
+ state?: Prisma.StringFieldUpdateOperationsInput | string
1835
+ version?: Prisma.IntFieldUpdateOperationsInput | number
1836
+ automation?: Prisma.StringFieldUpdateOperationsInput | string
1837
+ aiGenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
1838
+ generationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1839
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1840
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1841
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
1842
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1843
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1844
+ project?: Prisma.ProjectUpdateOneRequiredWithoutTestCasesNestedInput
1845
+ folder?: Prisma.TestCaseFolderUpdateOneWithoutCasesNestedInput
1846
+ story?: Prisma.StoryUpdateOneWithoutTestCasesNestedInput
1847
+ assignee?: Prisma.UserUpdateOneWithoutTestCasesAssignedNestedInput
1848
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutTestCasesCreatedNestedInput
1849
+ runCases?: Prisma.TestRunCaseUpdateManyWithoutCaseNestedInput
1850
+ planCases?: Prisma.TestPlanCaseUpdateManyWithoutCaseNestedInput
1851
+ }
1852
+
1853
+ export type TestCaseUncheckedUpdateWithoutArtifactsInput = {
1854
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1855
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
1856
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
1857
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
1858
+ folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1859
+ storyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1860
+ title?: Prisma.StringFieldUpdateOperationsInput | string
1861
+ precondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1862
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1863
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1864
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
1865
+ state?: Prisma.StringFieldUpdateOperationsInput | string
1866
+ version?: Prisma.IntFieldUpdateOperationsInput | number
1867
+ automation?: Prisma.StringFieldUpdateOperationsInput | string
1868
+ aiGenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
1869
+ generationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1870
+ assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1871
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
1872
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1873
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1874
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
1875
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1876
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1877
+ runCases?: Prisma.TestRunCaseUncheckedUpdateManyWithoutCaseNestedInput
1878
+ planCases?: Prisma.TestPlanCaseUncheckedUpdateManyWithoutCaseNestedInput
1879
+ }
1880
+
1881
+ export type TestCaseCreateManyAssigneeInput = {
1882
+ id?: string
1883
+ sequenceId: number
1884
+ identifier: string
1885
+ projectId: string
1886
+ folderId?: string | null
1887
+ storyId?: string | null
1888
+ title: string
1889
+ precondition?: string | null
1890
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1891
+ type?: string
1892
+ priority?: string
1893
+ state?: string
1894
+ version?: number
1895
+ automation?: string
1896
+ aiGenerated?: boolean
1897
+ generationId?: string | null
1898
+ createdById: string
1899
+ archived?: boolean
1900
+ archivedAt?: Date | string | null
1901
+ boardOrder?: number
1902
+ createdAt?: Date | string
1903
+ updatedAt?: Date | string
1904
+ }
1905
+
1906
+ export type TestCaseCreateManyCreatedByInput = {
1907
+ id?: string
1908
+ sequenceId: number
1909
+ identifier: string
1910
+ projectId: string
1911
+ folderId?: string | null
1912
+ storyId?: string | null
1913
+ title: string
1914
+ precondition?: string | null
1915
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1916
+ type?: string
1917
+ priority?: string
1918
+ state?: string
1919
+ version?: number
1920
+ automation?: string
1921
+ aiGenerated?: boolean
1922
+ generationId?: string | null
1923
+ assigneeId?: string | null
1924
+ archived?: boolean
1925
+ archivedAt?: Date | string | null
1926
+ boardOrder?: number
1927
+ createdAt?: Date | string
1928
+ updatedAt?: Date | string
1929
+ }
1930
+
1931
+ export type TestCaseUpdateWithoutAssigneeInput = {
1932
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1933
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
1934
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
1935
+ title?: Prisma.StringFieldUpdateOperationsInput | string
1936
+ precondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1937
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1938
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1939
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
1940
+ state?: Prisma.StringFieldUpdateOperationsInput | string
1941
+ version?: Prisma.IntFieldUpdateOperationsInput | number
1942
+ automation?: Prisma.StringFieldUpdateOperationsInput | string
1943
+ aiGenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
1944
+ generationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1945
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1946
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1947
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
1948
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1949
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1950
+ project?: Prisma.ProjectUpdateOneRequiredWithoutTestCasesNestedInput
1951
+ folder?: Prisma.TestCaseFolderUpdateOneWithoutCasesNestedInput
1952
+ story?: Prisma.StoryUpdateOneWithoutTestCasesNestedInput
1953
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutTestCasesCreatedNestedInput
1954
+ artifacts?: Prisma.TestAutomationArtifactUpdateManyWithoutCaseNestedInput
1955
+ runCases?: Prisma.TestRunCaseUpdateManyWithoutCaseNestedInput
1956
+ planCases?: Prisma.TestPlanCaseUpdateManyWithoutCaseNestedInput
1957
+ }
1958
+
1959
+ export type TestCaseUncheckedUpdateWithoutAssigneeInput = {
1960
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1961
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
1962
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
1963
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
1964
+ folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1965
+ storyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1966
+ title?: Prisma.StringFieldUpdateOperationsInput | string
1967
+ precondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1968
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1969
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1970
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
1971
+ state?: Prisma.StringFieldUpdateOperationsInput | string
1972
+ version?: Prisma.IntFieldUpdateOperationsInput | number
1973
+ automation?: Prisma.StringFieldUpdateOperationsInput | string
1974
+ aiGenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
1975
+ generationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1976
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
1977
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1978
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1979
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
1980
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1981
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1982
+ artifacts?: Prisma.TestAutomationArtifactUncheckedUpdateManyWithoutCaseNestedInput
1983
+ runCases?: Prisma.TestRunCaseUncheckedUpdateManyWithoutCaseNestedInput
1984
+ planCases?: Prisma.TestPlanCaseUncheckedUpdateManyWithoutCaseNestedInput
1985
+ }
1986
+
1987
+ export type TestCaseUncheckedUpdateManyWithoutAssigneeInput = {
1988
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1989
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
1990
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
1991
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
1992
+ folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1993
+ storyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1994
+ title?: Prisma.StringFieldUpdateOperationsInput | string
1995
+ precondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1996
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1997
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1998
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
1999
+ state?: Prisma.StringFieldUpdateOperationsInput | string
2000
+ version?: Prisma.IntFieldUpdateOperationsInput | number
2001
+ automation?: Prisma.StringFieldUpdateOperationsInput | string
2002
+ aiGenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
2003
+ generationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2004
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
2005
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
2006
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2007
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
2008
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2009
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2010
+ }
2011
+
2012
+ export type TestCaseUpdateWithoutCreatedByInput = {
2013
+ id?: Prisma.StringFieldUpdateOperationsInput | string
2014
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
2015
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
2016
+ title?: Prisma.StringFieldUpdateOperationsInput | string
2017
+ precondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2018
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
2019
+ type?: Prisma.StringFieldUpdateOperationsInput | string
2020
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
2021
+ state?: Prisma.StringFieldUpdateOperationsInput | string
2022
+ version?: Prisma.IntFieldUpdateOperationsInput | number
2023
+ automation?: Prisma.StringFieldUpdateOperationsInput | string
2024
+ aiGenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
2025
+ generationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2026
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
2027
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2028
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
2029
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2030
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2031
+ project?: Prisma.ProjectUpdateOneRequiredWithoutTestCasesNestedInput
2032
+ folder?: Prisma.TestCaseFolderUpdateOneWithoutCasesNestedInput
2033
+ story?: Prisma.StoryUpdateOneWithoutTestCasesNestedInput
2034
+ assignee?: Prisma.UserUpdateOneWithoutTestCasesAssignedNestedInput
2035
+ artifacts?: Prisma.TestAutomationArtifactUpdateManyWithoutCaseNestedInput
2036
+ runCases?: Prisma.TestRunCaseUpdateManyWithoutCaseNestedInput
2037
+ planCases?: Prisma.TestPlanCaseUpdateManyWithoutCaseNestedInput
2038
+ }
2039
+
2040
+ export type TestCaseUncheckedUpdateWithoutCreatedByInput = {
2041
+ id?: Prisma.StringFieldUpdateOperationsInput | string
2042
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
2043
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
2044
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
2045
+ folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2046
+ storyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2047
+ title?: Prisma.StringFieldUpdateOperationsInput | string
2048
+ precondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2049
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
2050
+ type?: Prisma.StringFieldUpdateOperationsInput | string
2051
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
2052
+ state?: Prisma.StringFieldUpdateOperationsInput | string
2053
+ version?: Prisma.IntFieldUpdateOperationsInput | number
2054
+ automation?: Prisma.StringFieldUpdateOperationsInput | string
2055
+ aiGenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
2056
+ generationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2057
+ assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2058
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
2059
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2060
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
2061
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2062
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2063
+ artifacts?: Prisma.TestAutomationArtifactUncheckedUpdateManyWithoutCaseNestedInput
2064
+ runCases?: Prisma.TestRunCaseUncheckedUpdateManyWithoutCaseNestedInput
2065
+ planCases?: Prisma.TestPlanCaseUncheckedUpdateManyWithoutCaseNestedInput
2066
+ }
2067
+
2068
+ export type TestCaseUncheckedUpdateManyWithoutCreatedByInput = {
2069
+ id?: Prisma.StringFieldUpdateOperationsInput | string
2070
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
2071
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
2072
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
2073
+ folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2074
+ storyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2075
+ title?: Prisma.StringFieldUpdateOperationsInput | string
2076
+ precondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2077
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
2078
+ type?: Prisma.StringFieldUpdateOperationsInput | string
2079
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
2080
+ state?: Prisma.StringFieldUpdateOperationsInput | string
2081
+ version?: Prisma.IntFieldUpdateOperationsInput | number
2082
+ automation?: Prisma.StringFieldUpdateOperationsInput | string
2083
+ aiGenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
2084
+ generationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2085
+ assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2086
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
2087
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2088
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
2089
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2090
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2091
+ }
2092
+
2093
+ export type TestCaseCreateManyProjectInput = {
2094
+ id?: string
2095
+ sequenceId: number
2096
+ identifier: string
2097
+ folderId?: string | null
2098
+ storyId?: string | null
2099
+ title: string
2100
+ precondition?: string | null
2101
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
2102
+ type?: string
2103
+ priority?: string
2104
+ state?: string
2105
+ version?: number
2106
+ automation?: string
2107
+ aiGenerated?: boolean
2108
+ generationId?: string | null
2109
+ assigneeId?: string | null
2110
+ createdById: string
2111
+ archived?: boolean
2112
+ archivedAt?: Date | string | null
2113
+ boardOrder?: number
2114
+ createdAt?: Date | string
2115
+ updatedAt?: Date | string
2116
+ }
2117
+
2118
+ export type TestCaseUpdateWithoutProjectInput = {
2119
+ id?: Prisma.StringFieldUpdateOperationsInput | string
2120
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
2121
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
2122
+ title?: Prisma.StringFieldUpdateOperationsInput | string
2123
+ precondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2124
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
2125
+ type?: Prisma.StringFieldUpdateOperationsInput | string
2126
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
2127
+ state?: Prisma.StringFieldUpdateOperationsInput | string
2128
+ version?: Prisma.IntFieldUpdateOperationsInput | number
2129
+ automation?: Prisma.StringFieldUpdateOperationsInput | string
2130
+ aiGenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
2131
+ generationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2132
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
2133
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2134
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
2135
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2136
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2137
+ folder?: Prisma.TestCaseFolderUpdateOneWithoutCasesNestedInput
2138
+ story?: Prisma.StoryUpdateOneWithoutTestCasesNestedInput
2139
+ assignee?: Prisma.UserUpdateOneWithoutTestCasesAssignedNestedInput
2140
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutTestCasesCreatedNestedInput
2141
+ artifacts?: Prisma.TestAutomationArtifactUpdateManyWithoutCaseNestedInput
2142
+ runCases?: Prisma.TestRunCaseUpdateManyWithoutCaseNestedInput
2143
+ planCases?: Prisma.TestPlanCaseUpdateManyWithoutCaseNestedInput
2144
+ }
2145
+
2146
+ export type TestCaseUncheckedUpdateWithoutProjectInput = {
2147
+ id?: Prisma.StringFieldUpdateOperationsInput | string
2148
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
2149
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
2150
+ folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2151
+ storyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2152
+ title?: Prisma.StringFieldUpdateOperationsInput | string
2153
+ precondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2154
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
2155
+ type?: Prisma.StringFieldUpdateOperationsInput | string
2156
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
2157
+ state?: Prisma.StringFieldUpdateOperationsInput | string
2158
+ version?: Prisma.IntFieldUpdateOperationsInput | number
2159
+ automation?: Prisma.StringFieldUpdateOperationsInput | string
2160
+ aiGenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
2161
+ generationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2162
+ assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2163
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
2164
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
2165
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2166
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
2167
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2168
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2169
+ artifacts?: Prisma.TestAutomationArtifactUncheckedUpdateManyWithoutCaseNestedInput
2170
+ runCases?: Prisma.TestRunCaseUncheckedUpdateManyWithoutCaseNestedInput
2171
+ planCases?: Prisma.TestPlanCaseUncheckedUpdateManyWithoutCaseNestedInput
2172
+ }
2173
+
2174
+ export type TestCaseUncheckedUpdateManyWithoutProjectInput = {
2175
+ id?: Prisma.StringFieldUpdateOperationsInput | string
2176
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
2177
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
2178
+ folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2179
+ storyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2180
+ title?: Prisma.StringFieldUpdateOperationsInput | string
2181
+ precondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2182
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
2183
+ type?: Prisma.StringFieldUpdateOperationsInput | string
2184
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
2185
+ state?: Prisma.StringFieldUpdateOperationsInput | string
2186
+ version?: Prisma.IntFieldUpdateOperationsInput | number
2187
+ automation?: Prisma.StringFieldUpdateOperationsInput | string
2188
+ aiGenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
2189
+ generationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2190
+ assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2191
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
2192
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
2193
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2194
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
2195
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2196
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2197
+ }
2198
+
2199
+ export type TestCaseCreateManyStoryInput = {
2200
+ id?: string
2201
+ sequenceId: number
2202
+ identifier: string
2203
+ projectId: string
2204
+ folderId?: string | null
2205
+ title: string
2206
+ precondition?: string | null
2207
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
2208
+ type?: string
2209
+ priority?: string
2210
+ state?: string
2211
+ version?: number
2212
+ automation?: string
2213
+ aiGenerated?: boolean
2214
+ generationId?: string | null
2215
+ assigneeId?: string | null
2216
+ createdById: string
2217
+ archived?: boolean
2218
+ archivedAt?: Date | string | null
2219
+ boardOrder?: number
2220
+ createdAt?: Date | string
2221
+ updatedAt?: Date | string
2222
+ }
2223
+
2224
+ export type TestCaseUpdateWithoutStoryInput = {
2225
+ id?: Prisma.StringFieldUpdateOperationsInput | string
2226
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
2227
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
2228
+ title?: Prisma.StringFieldUpdateOperationsInput | string
2229
+ precondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2230
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
2231
+ type?: Prisma.StringFieldUpdateOperationsInput | string
2232
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
2233
+ state?: Prisma.StringFieldUpdateOperationsInput | string
2234
+ version?: Prisma.IntFieldUpdateOperationsInput | number
2235
+ automation?: Prisma.StringFieldUpdateOperationsInput | string
2236
+ aiGenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
2237
+ generationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2238
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
2239
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2240
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
2241
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2242
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2243
+ project?: Prisma.ProjectUpdateOneRequiredWithoutTestCasesNestedInput
2244
+ folder?: Prisma.TestCaseFolderUpdateOneWithoutCasesNestedInput
2245
+ assignee?: Prisma.UserUpdateOneWithoutTestCasesAssignedNestedInput
2246
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutTestCasesCreatedNestedInput
2247
+ artifacts?: Prisma.TestAutomationArtifactUpdateManyWithoutCaseNestedInput
2248
+ runCases?: Prisma.TestRunCaseUpdateManyWithoutCaseNestedInput
2249
+ planCases?: Prisma.TestPlanCaseUpdateManyWithoutCaseNestedInput
2250
+ }
2251
+
2252
+ export type TestCaseUncheckedUpdateWithoutStoryInput = {
2253
+ id?: Prisma.StringFieldUpdateOperationsInput | string
2254
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
2255
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
2256
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
2257
+ folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2258
+ title?: Prisma.StringFieldUpdateOperationsInput | string
2259
+ precondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2260
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
2261
+ type?: Prisma.StringFieldUpdateOperationsInput | string
2262
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
2263
+ state?: Prisma.StringFieldUpdateOperationsInput | string
2264
+ version?: Prisma.IntFieldUpdateOperationsInput | number
2265
+ automation?: Prisma.StringFieldUpdateOperationsInput | string
2266
+ aiGenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
2267
+ generationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2268
+ assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2269
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
2270
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
2271
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2272
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
2273
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2274
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2275
+ artifacts?: Prisma.TestAutomationArtifactUncheckedUpdateManyWithoutCaseNestedInput
2276
+ runCases?: Prisma.TestRunCaseUncheckedUpdateManyWithoutCaseNestedInput
2277
+ planCases?: Prisma.TestPlanCaseUncheckedUpdateManyWithoutCaseNestedInput
2278
+ }
2279
+
2280
+ export type TestCaseUncheckedUpdateManyWithoutStoryInput = {
2281
+ id?: Prisma.StringFieldUpdateOperationsInput | string
2282
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
2283
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
2284
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
2285
+ folderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2286
+ title?: Prisma.StringFieldUpdateOperationsInput | string
2287
+ precondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2288
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
2289
+ type?: Prisma.StringFieldUpdateOperationsInput | string
2290
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
2291
+ state?: Prisma.StringFieldUpdateOperationsInput | string
2292
+ version?: Prisma.IntFieldUpdateOperationsInput | number
2293
+ automation?: Prisma.StringFieldUpdateOperationsInput | string
2294
+ aiGenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
2295
+ generationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2296
+ assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2297
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
2298
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
2299
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2300
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
2301
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2302
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2303
+ }
2304
+
2305
+ export type TestCaseCreateManyFolderInput = {
2306
+ id?: string
2307
+ sequenceId: number
2308
+ identifier: string
2309
+ projectId: string
2310
+ storyId?: string | null
2311
+ title: string
2312
+ precondition?: string | null
2313
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
2314
+ type?: string
2315
+ priority?: string
2316
+ state?: string
2317
+ version?: number
2318
+ automation?: string
2319
+ aiGenerated?: boolean
2320
+ generationId?: string | null
2321
+ assigneeId?: string | null
2322
+ createdById: string
2323
+ archived?: boolean
2324
+ archivedAt?: Date | string | null
2325
+ boardOrder?: number
2326
+ createdAt?: Date | string
2327
+ updatedAt?: Date | string
2328
+ }
2329
+
2330
+ export type TestCaseUpdateWithoutFolderInput = {
2331
+ id?: Prisma.StringFieldUpdateOperationsInput | string
2332
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
2333
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
2334
+ title?: Prisma.StringFieldUpdateOperationsInput | string
2335
+ precondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2336
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
2337
+ type?: Prisma.StringFieldUpdateOperationsInput | string
2338
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
2339
+ state?: Prisma.StringFieldUpdateOperationsInput | string
2340
+ version?: Prisma.IntFieldUpdateOperationsInput | number
2341
+ automation?: Prisma.StringFieldUpdateOperationsInput | string
2342
+ aiGenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
2343
+ generationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2344
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
2345
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2346
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
2347
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2348
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2349
+ project?: Prisma.ProjectUpdateOneRequiredWithoutTestCasesNestedInput
2350
+ story?: Prisma.StoryUpdateOneWithoutTestCasesNestedInput
2351
+ assignee?: Prisma.UserUpdateOneWithoutTestCasesAssignedNestedInput
2352
+ createdBy?: Prisma.UserUpdateOneRequiredWithoutTestCasesCreatedNestedInput
2353
+ artifacts?: Prisma.TestAutomationArtifactUpdateManyWithoutCaseNestedInput
2354
+ runCases?: Prisma.TestRunCaseUpdateManyWithoutCaseNestedInput
2355
+ planCases?: Prisma.TestPlanCaseUpdateManyWithoutCaseNestedInput
2356
+ }
2357
+
2358
+ export type TestCaseUncheckedUpdateWithoutFolderInput = {
2359
+ id?: Prisma.StringFieldUpdateOperationsInput | string
2360
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
2361
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
2362
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
2363
+ storyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2364
+ title?: Prisma.StringFieldUpdateOperationsInput | string
2365
+ precondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2366
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
2367
+ type?: Prisma.StringFieldUpdateOperationsInput | string
2368
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
2369
+ state?: Prisma.StringFieldUpdateOperationsInput | string
2370
+ version?: Prisma.IntFieldUpdateOperationsInput | number
2371
+ automation?: Prisma.StringFieldUpdateOperationsInput | string
2372
+ aiGenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
2373
+ generationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2374
+ assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2375
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
2376
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
2377
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2378
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
2379
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2380
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2381
+ artifacts?: Prisma.TestAutomationArtifactUncheckedUpdateManyWithoutCaseNestedInput
2382
+ runCases?: Prisma.TestRunCaseUncheckedUpdateManyWithoutCaseNestedInput
2383
+ planCases?: Prisma.TestPlanCaseUncheckedUpdateManyWithoutCaseNestedInput
2384
+ }
2385
+
2386
+ export type TestCaseUncheckedUpdateManyWithoutFolderInput = {
2387
+ id?: Prisma.StringFieldUpdateOperationsInput | string
2388
+ sequenceId?: Prisma.IntFieldUpdateOperationsInput | number
2389
+ identifier?: Prisma.StringFieldUpdateOperationsInput | string
2390
+ projectId?: Prisma.StringFieldUpdateOperationsInput | string
2391
+ storyId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2392
+ title?: Prisma.StringFieldUpdateOperationsInput | string
2393
+ precondition?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2394
+ steps?: Prisma.JsonNullValueInput | runtime.InputJsonValue
2395
+ type?: Prisma.StringFieldUpdateOperationsInput | string
2396
+ priority?: Prisma.StringFieldUpdateOperationsInput | string
2397
+ state?: Prisma.StringFieldUpdateOperationsInput | string
2398
+ version?: Prisma.IntFieldUpdateOperationsInput | number
2399
+ automation?: Prisma.StringFieldUpdateOperationsInput | string
2400
+ aiGenerated?: Prisma.BoolFieldUpdateOperationsInput | boolean
2401
+ generationId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2402
+ assigneeId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
2403
+ createdById?: Prisma.StringFieldUpdateOperationsInput | string
2404
+ archived?: Prisma.BoolFieldUpdateOperationsInput | boolean
2405
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
2406
+ boardOrder?: Prisma.IntFieldUpdateOperationsInput | number
2407
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2408
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
2409
+ }
2410
+
2411
+
2412
+ /**
2413
+ * Count Type TestCaseCountOutputType
2414
+ */
2415
+
2416
+ export type TestCaseCountOutputType = {
2417
+ artifacts: number
2418
+ runCases: number
2419
+ planCases: number
2420
+ }
2421
+
2422
+ export type TestCaseCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2423
+ artifacts?: boolean | TestCaseCountOutputTypeCountArtifactsArgs
2424
+ runCases?: boolean | TestCaseCountOutputTypeCountRunCasesArgs
2425
+ planCases?: boolean | TestCaseCountOutputTypeCountPlanCasesArgs
2426
+ }
2427
+
2428
+ /**
2429
+ * TestCaseCountOutputType without action
2430
+ */
2431
+ export type TestCaseCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2432
+ /**
2433
+ * Select specific fields to fetch from the TestCaseCountOutputType
2434
+ */
2435
+ select?: Prisma.TestCaseCountOutputTypeSelect<ExtArgs> | null
2436
+ }
2437
+
2438
+ /**
2439
+ * TestCaseCountOutputType without action
2440
+ */
2441
+ export type TestCaseCountOutputTypeCountArtifactsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2442
+ where?: Prisma.TestAutomationArtifactWhereInput
2443
+ }
2444
+
2445
+ /**
2446
+ * TestCaseCountOutputType without action
2447
+ */
2448
+ export type TestCaseCountOutputTypeCountRunCasesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2449
+ where?: Prisma.TestRunCaseWhereInput
2450
+ }
2451
+
2452
+ /**
2453
+ * TestCaseCountOutputType without action
2454
+ */
2455
+ export type TestCaseCountOutputTypeCountPlanCasesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2456
+ where?: Prisma.TestPlanCaseWhereInput
2457
+ }
2458
+
2459
+
2460
+ export type TestCaseSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
2461
+ id?: boolean
2462
+ sequenceId?: boolean
2463
+ identifier?: boolean
2464
+ projectId?: boolean
2465
+ folderId?: boolean
2466
+ storyId?: boolean
2467
+ title?: boolean
2468
+ precondition?: boolean
2469
+ steps?: boolean
2470
+ type?: boolean
2471
+ priority?: boolean
2472
+ state?: boolean
2473
+ version?: boolean
2474
+ automation?: boolean
2475
+ aiGenerated?: boolean
2476
+ generationId?: boolean
2477
+ assigneeId?: boolean
2478
+ createdById?: boolean
2479
+ archived?: boolean
2480
+ archivedAt?: boolean
2481
+ boardOrder?: boolean
2482
+ createdAt?: boolean
2483
+ updatedAt?: boolean
2484
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
2485
+ folder?: boolean | Prisma.TestCase$folderArgs<ExtArgs>
2486
+ story?: boolean | Prisma.TestCase$storyArgs<ExtArgs>
2487
+ assignee?: boolean | Prisma.TestCase$assigneeArgs<ExtArgs>
2488
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
2489
+ artifacts?: boolean | Prisma.TestCase$artifactsArgs<ExtArgs>
2490
+ runCases?: boolean | Prisma.TestCase$runCasesArgs<ExtArgs>
2491
+ planCases?: boolean | Prisma.TestCase$planCasesArgs<ExtArgs>
2492
+ _count?: boolean | Prisma.TestCaseCountOutputTypeDefaultArgs<ExtArgs>
2493
+ }, ExtArgs["result"]["testCase"]>
2494
+
2495
+ export type TestCaseSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
2496
+ id?: boolean
2497
+ sequenceId?: boolean
2498
+ identifier?: boolean
2499
+ projectId?: boolean
2500
+ folderId?: boolean
2501
+ storyId?: boolean
2502
+ title?: boolean
2503
+ precondition?: boolean
2504
+ steps?: boolean
2505
+ type?: boolean
2506
+ priority?: boolean
2507
+ state?: boolean
2508
+ version?: boolean
2509
+ automation?: boolean
2510
+ aiGenerated?: boolean
2511
+ generationId?: boolean
2512
+ assigneeId?: boolean
2513
+ createdById?: boolean
2514
+ archived?: boolean
2515
+ archivedAt?: boolean
2516
+ boardOrder?: boolean
2517
+ createdAt?: boolean
2518
+ updatedAt?: boolean
2519
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
2520
+ folder?: boolean | Prisma.TestCase$folderArgs<ExtArgs>
2521
+ story?: boolean | Prisma.TestCase$storyArgs<ExtArgs>
2522
+ assignee?: boolean | Prisma.TestCase$assigneeArgs<ExtArgs>
2523
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
2524
+ }, ExtArgs["result"]["testCase"]>
2525
+
2526
+ export type TestCaseSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
2527
+ id?: boolean
2528
+ sequenceId?: boolean
2529
+ identifier?: boolean
2530
+ projectId?: boolean
2531
+ folderId?: boolean
2532
+ storyId?: boolean
2533
+ title?: boolean
2534
+ precondition?: boolean
2535
+ steps?: boolean
2536
+ type?: boolean
2537
+ priority?: boolean
2538
+ state?: boolean
2539
+ version?: boolean
2540
+ automation?: boolean
2541
+ aiGenerated?: boolean
2542
+ generationId?: boolean
2543
+ assigneeId?: boolean
2544
+ createdById?: boolean
2545
+ archived?: boolean
2546
+ archivedAt?: boolean
2547
+ boardOrder?: boolean
2548
+ createdAt?: boolean
2549
+ updatedAt?: boolean
2550
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
2551
+ folder?: boolean | Prisma.TestCase$folderArgs<ExtArgs>
2552
+ story?: boolean | Prisma.TestCase$storyArgs<ExtArgs>
2553
+ assignee?: boolean | Prisma.TestCase$assigneeArgs<ExtArgs>
2554
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
2555
+ }, ExtArgs["result"]["testCase"]>
2556
+
2557
+ export type TestCaseSelectScalar = {
2558
+ id?: boolean
2559
+ sequenceId?: boolean
2560
+ identifier?: boolean
2561
+ projectId?: boolean
2562
+ folderId?: boolean
2563
+ storyId?: boolean
2564
+ title?: boolean
2565
+ precondition?: boolean
2566
+ steps?: boolean
2567
+ type?: boolean
2568
+ priority?: boolean
2569
+ state?: boolean
2570
+ version?: boolean
2571
+ automation?: boolean
2572
+ aiGenerated?: boolean
2573
+ generationId?: boolean
2574
+ assigneeId?: boolean
2575
+ createdById?: boolean
2576
+ archived?: boolean
2577
+ archivedAt?: boolean
2578
+ boardOrder?: boolean
2579
+ createdAt?: boolean
2580
+ updatedAt?: boolean
2581
+ }
2582
+
2583
+ export type TestCaseOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "sequenceId" | "identifier" | "projectId" | "folderId" | "storyId" | "title" | "precondition" | "steps" | "type" | "priority" | "state" | "version" | "automation" | "aiGenerated" | "generationId" | "assigneeId" | "createdById" | "archived" | "archivedAt" | "boardOrder" | "createdAt" | "updatedAt", ExtArgs["result"]["testCase"]>
2584
+ export type TestCaseInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2585
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
2586
+ folder?: boolean | Prisma.TestCase$folderArgs<ExtArgs>
2587
+ story?: boolean | Prisma.TestCase$storyArgs<ExtArgs>
2588
+ assignee?: boolean | Prisma.TestCase$assigneeArgs<ExtArgs>
2589
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
2590
+ artifacts?: boolean | Prisma.TestCase$artifactsArgs<ExtArgs>
2591
+ runCases?: boolean | Prisma.TestCase$runCasesArgs<ExtArgs>
2592
+ planCases?: boolean | Prisma.TestCase$planCasesArgs<ExtArgs>
2593
+ _count?: boolean | Prisma.TestCaseCountOutputTypeDefaultArgs<ExtArgs>
2594
+ }
2595
+ export type TestCaseIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2596
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
2597
+ folder?: boolean | Prisma.TestCase$folderArgs<ExtArgs>
2598
+ story?: boolean | Prisma.TestCase$storyArgs<ExtArgs>
2599
+ assignee?: boolean | Prisma.TestCase$assigneeArgs<ExtArgs>
2600
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
2601
+ }
2602
+ export type TestCaseIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2603
+ project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
2604
+ folder?: boolean | Prisma.TestCase$folderArgs<ExtArgs>
2605
+ story?: boolean | Prisma.TestCase$storyArgs<ExtArgs>
2606
+ assignee?: boolean | Prisma.TestCase$assigneeArgs<ExtArgs>
2607
+ createdBy?: boolean | Prisma.UserDefaultArgs<ExtArgs>
2608
+ }
2609
+
2610
+ export type $TestCasePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2611
+ name: "TestCase"
2612
+ objects: {
2613
+ project: Prisma.$ProjectPayload<ExtArgs>
2614
+ folder: Prisma.$TestCaseFolderPayload<ExtArgs> | null
2615
+ story: Prisma.$StoryPayload<ExtArgs> | null
2616
+ assignee: Prisma.$UserPayload<ExtArgs> | null
2617
+ createdBy: Prisma.$UserPayload<ExtArgs>
2618
+ artifacts: Prisma.$TestAutomationArtifactPayload<ExtArgs>[]
2619
+ runCases: Prisma.$TestRunCasePayload<ExtArgs>[]
2620
+ planCases: Prisma.$TestPlanCasePayload<ExtArgs>[]
2621
+ }
2622
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
2623
+ id: string
2624
+ sequenceId: number
2625
+ identifier: string
2626
+ projectId: string
2627
+ folderId: string | null
2628
+ storyId: string | null
2629
+ title: string
2630
+ precondition: string | null
2631
+ steps: runtime.JsonValue
2632
+ type: string
2633
+ priority: string
2634
+ state: string
2635
+ version: number
2636
+ automation: string
2637
+ aiGenerated: boolean
2638
+ generationId: string | null
2639
+ assigneeId: string | null
2640
+ createdById: string
2641
+ archived: boolean
2642
+ archivedAt: Date | null
2643
+ boardOrder: number
2644
+ createdAt: Date
2645
+ updatedAt: Date
2646
+ }, ExtArgs["result"]["testCase"]>
2647
+ composites: {}
2648
+ }
2649
+
2650
+ export type TestCaseGetPayload<S extends boolean | null | undefined | TestCaseDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$TestCasePayload, S>
2651
+
2652
+ export type TestCaseCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
2653
+ Omit<TestCaseFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
2654
+ select?: TestCaseCountAggregateInputType | true
2655
+ }
2656
+
2657
+ export interface TestCaseDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
2658
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['TestCase'], meta: { name: 'TestCase' } }
2659
+ /**
2660
+ * Find zero or one TestCase that matches the filter.
2661
+ * @param {TestCaseFindUniqueArgs} args - Arguments to find a TestCase
2662
+ * @example
2663
+ * // Get one TestCase
2664
+ * const testCase = await prisma.testCase.findUnique({
2665
+ * where: {
2666
+ * // ... provide filter here
2667
+ * }
2668
+ * })
2669
+ */
2670
+ findUnique<T extends TestCaseFindUniqueArgs>(args: Prisma.SelectSubset<T, TestCaseFindUniqueArgs<ExtArgs>>): Prisma.Prisma__TestCaseClient<runtime.Types.Result.GetResult<Prisma.$TestCasePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2671
+
2672
+ /**
2673
+ * Find one TestCase that matches the filter or throw an error with `error.code='P2025'`
2674
+ * if no matches were found.
2675
+ * @param {TestCaseFindUniqueOrThrowArgs} args - Arguments to find a TestCase
2676
+ * @example
2677
+ * // Get one TestCase
2678
+ * const testCase = await prisma.testCase.findUniqueOrThrow({
2679
+ * where: {
2680
+ * // ... provide filter here
2681
+ * }
2682
+ * })
2683
+ */
2684
+ findUniqueOrThrow<T extends TestCaseFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, TestCaseFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__TestCaseClient<runtime.Types.Result.GetResult<Prisma.$TestCasePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2685
+
2686
+ /**
2687
+ * Find the first TestCase that matches the filter.
2688
+ * Note, that providing `undefined` is treated as the value not being there.
2689
+ * Read more here: https://pris.ly/d/null-undefined
2690
+ * @param {TestCaseFindFirstArgs} args - Arguments to find a TestCase
2691
+ * @example
2692
+ * // Get one TestCase
2693
+ * const testCase = await prisma.testCase.findFirst({
2694
+ * where: {
2695
+ * // ... provide filter here
2696
+ * }
2697
+ * })
2698
+ */
2699
+ findFirst<T extends TestCaseFindFirstArgs>(args?: Prisma.SelectSubset<T, TestCaseFindFirstArgs<ExtArgs>>): Prisma.Prisma__TestCaseClient<runtime.Types.Result.GetResult<Prisma.$TestCasePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2700
+
2701
+ /**
2702
+ * Find the first TestCase that matches the filter or
2703
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
2704
+ * Note, that providing `undefined` is treated as the value not being there.
2705
+ * Read more here: https://pris.ly/d/null-undefined
2706
+ * @param {TestCaseFindFirstOrThrowArgs} args - Arguments to find a TestCase
2707
+ * @example
2708
+ * // Get one TestCase
2709
+ * const testCase = await prisma.testCase.findFirstOrThrow({
2710
+ * where: {
2711
+ * // ... provide filter here
2712
+ * }
2713
+ * })
2714
+ */
2715
+ findFirstOrThrow<T extends TestCaseFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, TestCaseFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__TestCaseClient<runtime.Types.Result.GetResult<Prisma.$TestCasePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2716
+
2717
+ /**
2718
+ * Find zero or more TestCases that matches the filter.
2719
+ * Note, that providing `undefined` is treated as the value not being there.
2720
+ * Read more here: https://pris.ly/d/null-undefined
2721
+ * @param {TestCaseFindManyArgs} args - Arguments to filter and select certain fields only.
2722
+ * @example
2723
+ * // Get all TestCases
2724
+ * const testCases = await prisma.testCase.findMany()
2725
+ *
2726
+ * // Get first 10 TestCases
2727
+ * const testCases = await prisma.testCase.findMany({ take: 10 })
2728
+ *
2729
+ * // Only select the `id`
2730
+ * const testCaseWithIdOnly = await prisma.testCase.findMany({ select: { id: true } })
2731
+ *
2732
+ */
2733
+ findMany<T extends TestCaseFindManyArgs>(args?: Prisma.SelectSubset<T, TestCaseFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TestCasePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
2734
+
2735
+ /**
2736
+ * Create a TestCase.
2737
+ * @param {TestCaseCreateArgs} args - Arguments to create a TestCase.
2738
+ * @example
2739
+ * // Create one TestCase
2740
+ * const TestCase = await prisma.testCase.create({
2741
+ * data: {
2742
+ * // ... data to create a TestCase
2743
+ * }
2744
+ * })
2745
+ *
2746
+ */
2747
+ create<T extends TestCaseCreateArgs>(args: Prisma.SelectSubset<T, TestCaseCreateArgs<ExtArgs>>): Prisma.Prisma__TestCaseClient<runtime.Types.Result.GetResult<Prisma.$TestCasePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2748
+
2749
+ /**
2750
+ * Create many TestCases.
2751
+ * @param {TestCaseCreateManyArgs} args - Arguments to create many TestCases.
2752
+ * @example
2753
+ * // Create many TestCases
2754
+ * const testCase = await prisma.testCase.createMany({
2755
+ * data: [
2756
+ * // ... provide data here
2757
+ * ]
2758
+ * })
2759
+ *
2760
+ */
2761
+ createMany<T extends TestCaseCreateManyArgs>(args?: Prisma.SelectSubset<T, TestCaseCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
2762
+
2763
+ /**
2764
+ * Create many TestCases and returns the data saved in the database.
2765
+ * @param {TestCaseCreateManyAndReturnArgs} args - Arguments to create many TestCases.
2766
+ * @example
2767
+ * // Create many TestCases
2768
+ * const testCase = await prisma.testCase.createManyAndReturn({
2769
+ * data: [
2770
+ * // ... provide data here
2771
+ * ]
2772
+ * })
2773
+ *
2774
+ * // Create many TestCases and only return the `id`
2775
+ * const testCaseWithIdOnly = await prisma.testCase.createManyAndReturn({
2776
+ * select: { id: true },
2777
+ * data: [
2778
+ * // ... provide data here
2779
+ * ]
2780
+ * })
2781
+ * Note, that providing `undefined` is treated as the value not being there.
2782
+ * Read more here: https://pris.ly/d/null-undefined
2783
+ *
2784
+ */
2785
+ createManyAndReturn<T extends TestCaseCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, TestCaseCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TestCasePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
2786
+
2787
+ /**
2788
+ * Delete a TestCase.
2789
+ * @param {TestCaseDeleteArgs} args - Arguments to delete one TestCase.
2790
+ * @example
2791
+ * // Delete one TestCase
2792
+ * const TestCase = await prisma.testCase.delete({
2793
+ * where: {
2794
+ * // ... filter to delete one TestCase
2795
+ * }
2796
+ * })
2797
+ *
2798
+ */
2799
+ delete<T extends TestCaseDeleteArgs>(args: Prisma.SelectSubset<T, TestCaseDeleteArgs<ExtArgs>>): Prisma.Prisma__TestCaseClient<runtime.Types.Result.GetResult<Prisma.$TestCasePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2800
+
2801
+ /**
2802
+ * Update one TestCase.
2803
+ * @param {TestCaseUpdateArgs} args - Arguments to update one TestCase.
2804
+ * @example
2805
+ * // Update one TestCase
2806
+ * const testCase = await prisma.testCase.update({
2807
+ * where: {
2808
+ * // ... provide filter here
2809
+ * },
2810
+ * data: {
2811
+ * // ... provide data here
2812
+ * }
2813
+ * })
2814
+ *
2815
+ */
2816
+ update<T extends TestCaseUpdateArgs>(args: Prisma.SelectSubset<T, TestCaseUpdateArgs<ExtArgs>>): Prisma.Prisma__TestCaseClient<runtime.Types.Result.GetResult<Prisma.$TestCasePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2817
+
2818
+ /**
2819
+ * Delete zero or more TestCases.
2820
+ * @param {TestCaseDeleteManyArgs} args - Arguments to filter TestCases to delete.
2821
+ * @example
2822
+ * // Delete a few TestCases
2823
+ * const { count } = await prisma.testCase.deleteMany({
2824
+ * where: {
2825
+ * // ... provide filter here
2826
+ * }
2827
+ * })
2828
+ *
2829
+ */
2830
+ deleteMany<T extends TestCaseDeleteManyArgs>(args?: Prisma.SelectSubset<T, TestCaseDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
2831
+
2832
+ /**
2833
+ * Update zero or more TestCases.
2834
+ * Note, that providing `undefined` is treated as the value not being there.
2835
+ * Read more here: https://pris.ly/d/null-undefined
2836
+ * @param {TestCaseUpdateManyArgs} args - Arguments to update one or more rows.
2837
+ * @example
2838
+ * // Update many TestCases
2839
+ * const testCase = await prisma.testCase.updateMany({
2840
+ * where: {
2841
+ * // ... provide filter here
2842
+ * },
2843
+ * data: {
2844
+ * // ... provide data here
2845
+ * }
2846
+ * })
2847
+ *
2848
+ */
2849
+ updateMany<T extends TestCaseUpdateManyArgs>(args: Prisma.SelectSubset<T, TestCaseUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
2850
+
2851
+ /**
2852
+ * Update zero or more TestCases and returns the data updated in the database.
2853
+ * @param {TestCaseUpdateManyAndReturnArgs} args - Arguments to update many TestCases.
2854
+ * @example
2855
+ * // Update many TestCases
2856
+ * const testCase = await prisma.testCase.updateManyAndReturn({
2857
+ * where: {
2858
+ * // ... provide filter here
2859
+ * },
2860
+ * data: [
2861
+ * // ... provide data here
2862
+ * ]
2863
+ * })
2864
+ *
2865
+ * // Update zero or more TestCases and only return the `id`
2866
+ * const testCaseWithIdOnly = await prisma.testCase.updateManyAndReturn({
2867
+ * select: { id: true },
2868
+ * where: {
2869
+ * // ... provide filter here
2870
+ * },
2871
+ * data: [
2872
+ * // ... provide data here
2873
+ * ]
2874
+ * })
2875
+ * Note, that providing `undefined` is treated as the value not being there.
2876
+ * Read more here: https://pris.ly/d/null-undefined
2877
+ *
2878
+ */
2879
+ updateManyAndReturn<T extends TestCaseUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, TestCaseUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TestCasePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
2880
+
2881
+ /**
2882
+ * Create or update one TestCase.
2883
+ * @param {TestCaseUpsertArgs} args - Arguments to update or create a TestCase.
2884
+ * @example
2885
+ * // Update or create a TestCase
2886
+ * const testCase = await prisma.testCase.upsert({
2887
+ * create: {
2888
+ * // ... data to create a TestCase
2889
+ * },
2890
+ * update: {
2891
+ * // ... in case it already exists, update
2892
+ * },
2893
+ * where: {
2894
+ * // ... the filter for the TestCase we want to update
2895
+ * }
2896
+ * })
2897
+ */
2898
+ upsert<T extends TestCaseUpsertArgs>(args: Prisma.SelectSubset<T, TestCaseUpsertArgs<ExtArgs>>): Prisma.Prisma__TestCaseClient<runtime.Types.Result.GetResult<Prisma.$TestCasePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2899
+
2900
+
2901
+ /**
2902
+ * Count the number of TestCases.
2903
+ * Note, that providing `undefined` is treated as the value not being there.
2904
+ * Read more here: https://pris.ly/d/null-undefined
2905
+ * @param {TestCaseCountArgs} args - Arguments to filter TestCases to count.
2906
+ * @example
2907
+ * // Count the number of TestCases
2908
+ * const count = await prisma.testCase.count({
2909
+ * where: {
2910
+ * // ... the filter for the TestCases we want to count
2911
+ * }
2912
+ * })
2913
+ **/
2914
+ count<T extends TestCaseCountArgs>(
2915
+ args?: Prisma.Subset<T, TestCaseCountArgs>,
2916
+ ): Prisma.PrismaPromise<
2917
+ T extends runtime.Types.Utils.Record<'select', any>
2918
+ ? T['select'] extends true
2919
+ ? number
2920
+ : Prisma.GetScalarType<T['select'], TestCaseCountAggregateOutputType>
2921
+ : number
2922
+ >
2923
+
2924
+ /**
2925
+ * Allows you to perform aggregations operations on a TestCase.
2926
+ * Note, that providing `undefined` is treated as the value not being there.
2927
+ * Read more here: https://pris.ly/d/null-undefined
2928
+ * @param {TestCaseAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
2929
+ * @example
2930
+ * // Ordered by age ascending
2931
+ * // Where email contains prisma.io
2932
+ * // Limited to the 10 users
2933
+ * const aggregations = await prisma.user.aggregate({
2934
+ * _avg: {
2935
+ * age: true,
2936
+ * },
2937
+ * where: {
2938
+ * email: {
2939
+ * contains: "prisma.io",
2940
+ * },
2941
+ * },
2942
+ * orderBy: {
2943
+ * age: "asc",
2944
+ * },
2945
+ * take: 10,
2946
+ * })
2947
+ **/
2948
+ aggregate<T extends TestCaseAggregateArgs>(args: Prisma.Subset<T, TestCaseAggregateArgs>): Prisma.PrismaPromise<GetTestCaseAggregateType<T>>
2949
+
2950
+ /**
2951
+ * Group by TestCase.
2952
+ * Note, that providing `undefined` is treated as the value not being there.
2953
+ * Read more here: https://pris.ly/d/null-undefined
2954
+ * @param {TestCaseGroupByArgs} args - Group by arguments.
2955
+ * @example
2956
+ * // Group by city, order by createdAt, get count
2957
+ * const result = await prisma.user.groupBy({
2958
+ * by: ['city', 'createdAt'],
2959
+ * orderBy: {
2960
+ * createdAt: true
2961
+ * },
2962
+ * _count: {
2963
+ * _all: true
2964
+ * },
2965
+ * })
2966
+ *
2967
+ **/
2968
+ groupBy<
2969
+ T extends TestCaseGroupByArgs,
2970
+ HasSelectOrTake extends Prisma.Or<
2971
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
2972
+ Prisma.Extends<'take', Prisma.Keys<T>>
2973
+ >,
2974
+ OrderByArg extends Prisma.True extends HasSelectOrTake
2975
+ ? { orderBy: TestCaseGroupByArgs['orderBy'] }
2976
+ : { orderBy?: TestCaseGroupByArgs['orderBy'] },
2977
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
2978
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
2979
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
2980
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
2981
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
2982
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
2983
+ InputErrors extends ByEmpty extends Prisma.True
2984
+ ? `Error: "by" must not be empty.`
2985
+ : HavingValid extends Prisma.False
2986
+ ? {
2987
+ [P in HavingFields]: P extends ByFields
2988
+ ? never
2989
+ : P extends string
2990
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
2991
+ : [
2992
+ Error,
2993
+ 'Field ',
2994
+ P,
2995
+ ` in "having" needs to be provided in "by"`,
2996
+ ]
2997
+ }[HavingFields]
2998
+ : 'take' extends Prisma.Keys<T>
2999
+ ? 'orderBy' extends Prisma.Keys<T>
3000
+ ? ByValid extends Prisma.True
3001
+ ? {}
3002
+ : {
3003
+ [P in OrderFields]: P extends ByFields
3004
+ ? never
3005
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
3006
+ }[OrderFields]
3007
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
3008
+ : 'skip' extends Prisma.Keys<T>
3009
+ ? 'orderBy' extends Prisma.Keys<T>
3010
+ ? ByValid extends Prisma.True
3011
+ ? {}
3012
+ : {
3013
+ [P in OrderFields]: P extends ByFields
3014
+ ? never
3015
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
3016
+ }[OrderFields]
3017
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
3018
+ : ByValid extends Prisma.True
3019
+ ? {}
3020
+ : {
3021
+ [P in OrderFields]: P extends ByFields
3022
+ ? never
3023
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
3024
+ }[OrderFields]
3025
+ >(args: Prisma.SubsetIntersection<T, TestCaseGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTestCaseGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
3026
+ /**
3027
+ * Fields of the TestCase model
3028
+ */
3029
+ readonly fields: TestCaseFieldRefs;
3030
+ }
3031
+
3032
+ /**
3033
+ * The delegate class that acts as a "Promise-like" for TestCase.
3034
+ * Why is this prefixed with `Prisma__`?
3035
+ * Because we want to prevent naming conflicts as mentioned in
3036
+ * https://github.com/prisma/prisma-client-js/issues/707
3037
+ */
3038
+ export interface Prisma__TestCaseClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
3039
+ readonly [Symbol.toStringTag]: "PrismaPromise"
3040
+ 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>
3041
+ folder<T extends Prisma.TestCase$folderArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TestCase$folderArgs<ExtArgs>>): Prisma.Prisma__TestCaseFolderClient<runtime.Types.Result.GetResult<Prisma.$TestCaseFolderPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
3042
+ story<T extends Prisma.TestCase$storyArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TestCase$storyArgs<ExtArgs>>): Prisma.Prisma__StoryClient<runtime.Types.Result.GetResult<Prisma.$StoryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
3043
+ assignee<T extends Prisma.TestCase$assigneeArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TestCase$assigneeArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
3044
+ 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>
3045
+ artifacts<T extends Prisma.TestCase$artifactsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TestCase$artifactsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TestAutomationArtifactPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3046
+ runCases<T extends Prisma.TestCase$runCasesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TestCase$runCasesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TestRunCasePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3047
+ planCases<T extends Prisma.TestCase$planCasesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TestCase$planCasesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TestPlanCasePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
3048
+ /**
3049
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
3050
+ * @param onfulfilled The callback to execute when the Promise is resolved.
3051
+ * @param onrejected The callback to execute when the Promise is rejected.
3052
+ * @returns A Promise for the completion of which ever callback is executed.
3053
+ */
3054
+ 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>
3055
+ /**
3056
+ * Attaches a callback for only the rejection of the Promise.
3057
+ * @param onrejected The callback to execute when the Promise is rejected.
3058
+ * @returns A Promise for the completion of the callback.
3059
+ */
3060
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
3061
+ /**
3062
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
3063
+ * resolved value cannot be modified from the callback.
3064
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
3065
+ * @returns A Promise for the completion of the callback.
3066
+ */
3067
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
3068
+ }
3069
+
3070
+
3071
+
3072
+
3073
+ /**
3074
+ * Fields of the TestCase model
3075
+ */
3076
+ export interface TestCaseFieldRefs {
3077
+ readonly id: Prisma.FieldRef<"TestCase", 'String'>
3078
+ readonly sequenceId: Prisma.FieldRef<"TestCase", 'Int'>
3079
+ readonly identifier: Prisma.FieldRef<"TestCase", 'String'>
3080
+ readonly projectId: Prisma.FieldRef<"TestCase", 'String'>
3081
+ readonly folderId: Prisma.FieldRef<"TestCase", 'String'>
3082
+ readonly storyId: Prisma.FieldRef<"TestCase", 'String'>
3083
+ readonly title: Prisma.FieldRef<"TestCase", 'String'>
3084
+ readonly precondition: Prisma.FieldRef<"TestCase", 'String'>
3085
+ readonly steps: Prisma.FieldRef<"TestCase", 'Json'>
3086
+ readonly type: Prisma.FieldRef<"TestCase", 'String'>
3087
+ readonly priority: Prisma.FieldRef<"TestCase", 'String'>
3088
+ readonly state: Prisma.FieldRef<"TestCase", 'String'>
3089
+ readonly version: Prisma.FieldRef<"TestCase", 'Int'>
3090
+ readonly automation: Prisma.FieldRef<"TestCase", 'String'>
3091
+ readonly aiGenerated: Prisma.FieldRef<"TestCase", 'Boolean'>
3092
+ readonly generationId: Prisma.FieldRef<"TestCase", 'String'>
3093
+ readonly assigneeId: Prisma.FieldRef<"TestCase", 'String'>
3094
+ readonly createdById: Prisma.FieldRef<"TestCase", 'String'>
3095
+ readonly archived: Prisma.FieldRef<"TestCase", 'Boolean'>
3096
+ readonly archivedAt: Prisma.FieldRef<"TestCase", 'DateTime'>
3097
+ readonly boardOrder: Prisma.FieldRef<"TestCase", 'Int'>
3098
+ readonly createdAt: Prisma.FieldRef<"TestCase", 'DateTime'>
3099
+ readonly updatedAt: Prisma.FieldRef<"TestCase", 'DateTime'>
3100
+ }
3101
+
3102
+
3103
+ // Custom InputTypes
3104
+ /**
3105
+ * TestCase findUnique
3106
+ */
3107
+ export type TestCaseFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3108
+ /**
3109
+ * Select specific fields to fetch from the TestCase
3110
+ */
3111
+ select?: Prisma.TestCaseSelect<ExtArgs> | null
3112
+ /**
3113
+ * Omit specific fields from the TestCase
3114
+ */
3115
+ omit?: Prisma.TestCaseOmit<ExtArgs> | null
3116
+ /**
3117
+ * Choose, which related nodes to fetch as well
3118
+ */
3119
+ include?: Prisma.TestCaseInclude<ExtArgs> | null
3120
+ /**
3121
+ * Filter, which TestCase to fetch.
3122
+ */
3123
+ where: Prisma.TestCaseWhereUniqueInput
3124
+ }
3125
+
3126
+ /**
3127
+ * TestCase findUniqueOrThrow
3128
+ */
3129
+ export type TestCaseFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3130
+ /**
3131
+ * Select specific fields to fetch from the TestCase
3132
+ */
3133
+ select?: Prisma.TestCaseSelect<ExtArgs> | null
3134
+ /**
3135
+ * Omit specific fields from the TestCase
3136
+ */
3137
+ omit?: Prisma.TestCaseOmit<ExtArgs> | null
3138
+ /**
3139
+ * Choose, which related nodes to fetch as well
3140
+ */
3141
+ include?: Prisma.TestCaseInclude<ExtArgs> | null
3142
+ /**
3143
+ * Filter, which TestCase to fetch.
3144
+ */
3145
+ where: Prisma.TestCaseWhereUniqueInput
3146
+ }
3147
+
3148
+ /**
3149
+ * TestCase findFirst
3150
+ */
3151
+ export type TestCaseFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3152
+ /**
3153
+ * Select specific fields to fetch from the TestCase
3154
+ */
3155
+ select?: Prisma.TestCaseSelect<ExtArgs> | null
3156
+ /**
3157
+ * Omit specific fields from the TestCase
3158
+ */
3159
+ omit?: Prisma.TestCaseOmit<ExtArgs> | null
3160
+ /**
3161
+ * Choose, which related nodes to fetch as well
3162
+ */
3163
+ include?: Prisma.TestCaseInclude<ExtArgs> | null
3164
+ /**
3165
+ * Filter, which TestCase to fetch.
3166
+ */
3167
+ where?: Prisma.TestCaseWhereInput
3168
+ /**
3169
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
3170
+ *
3171
+ * Determine the order of TestCases to fetch.
3172
+ */
3173
+ orderBy?: Prisma.TestCaseOrderByWithRelationInput | Prisma.TestCaseOrderByWithRelationInput[]
3174
+ /**
3175
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
3176
+ *
3177
+ * Sets the position for searching for TestCases.
3178
+ */
3179
+ cursor?: Prisma.TestCaseWhereUniqueInput
3180
+ /**
3181
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3182
+ *
3183
+ * Take `±n` TestCases from the position of the cursor.
3184
+ */
3185
+ take?: number
3186
+ /**
3187
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3188
+ *
3189
+ * Skip the first `n` TestCases.
3190
+ */
3191
+ skip?: number
3192
+ /**
3193
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
3194
+ *
3195
+ * Filter by unique combinations of TestCases.
3196
+ */
3197
+ distinct?: Prisma.TestCaseScalarFieldEnum | Prisma.TestCaseScalarFieldEnum[]
3198
+ }
3199
+
3200
+ /**
3201
+ * TestCase findFirstOrThrow
3202
+ */
3203
+ export type TestCaseFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3204
+ /**
3205
+ * Select specific fields to fetch from the TestCase
3206
+ */
3207
+ select?: Prisma.TestCaseSelect<ExtArgs> | null
3208
+ /**
3209
+ * Omit specific fields from the TestCase
3210
+ */
3211
+ omit?: Prisma.TestCaseOmit<ExtArgs> | null
3212
+ /**
3213
+ * Choose, which related nodes to fetch as well
3214
+ */
3215
+ include?: Prisma.TestCaseInclude<ExtArgs> | null
3216
+ /**
3217
+ * Filter, which TestCase to fetch.
3218
+ */
3219
+ where?: Prisma.TestCaseWhereInput
3220
+ /**
3221
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
3222
+ *
3223
+ * Determine the order of TestCases to fetch.
3224
+ */
3225
+ orderBy?: Prisma.TestCaseOrderByWithRelationInput | Prisma.TestCaseOrderByWithRelationInput[]
3226
+ /**
3227
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
3228
+ *
3229
+ * Sets the position for searching for TestCases.
3230
+ */
3231
+ cursor?: Prisma.TestCaseWhereUniqueInput
3232
+ /**
3233
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3234
+ *
3235
+ * Take `±n` TestCases from the position of the cursor.
3236
+ */
3237
+ take?: number
3238
+ /**
3239
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3240
+ *
3241
+ * Skip the first `n` TestCases.
3242
+ */
3243
+ skip?: number
3244
+ /**
3245
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
3246
+ *
3247
+ * Filter by unique combinations of TestCases.
3248
+ */
3249
+ distinct?: Prisma.TestCaseScalarFieldEnum | Prisma.TestCaseScalarFieldEnum[]
3250
+ }
3251
+
3252
+ /**
3253
+ * TestCase findMany
3254
+ */
3255
+ export type TestCaseFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3256
+ /**
3257
+ * Select specific fields to fetch from the TestCase
3258
+ */
3259
+ select?: Prisma.TestCaseSelect<ExtArgs> | null
3260
+ /**
3261
+ * Omit specific fields from the TestCase
3262
+ */
3263
+ omit?: Prisma.TestCaseOmit<ExtArgs> | null
3264
+ /**
3265
+ * Choose, which related nodes to fetch as well
3266
+ */
3267
+ include?: Prisma.TestCaseInclude<ExtArgs> | null
3268
+ /**
3269
+ * Filter, which TestCases to fetch.
3270
+ */
3271
+ where?: Prisma.TestCaseWhereInput
3272
+ /**
3273
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
3274
+ *
3275
+ * Determine the order of TestCases to fetch.
3276
+ */
3277
+ orderBy?: Prisma.TestCaseOrderByWithRelationInput | Prisma.TestCaseOrderByWithRelationInput[]
3278
+ /**
3279
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
3280
+ *
3281
+ * Sets the position for listing TestCases.
3282
+ */
3283
+ cursor?: Prisma.TestCaseWhereUniqueInput
3284
+ /**
3285
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3286
+ *
3287
+ * Take `±n` TestCases from the position of the cursor.
3288
+ */
3289
+ take?: number
3290
+ /**
3291
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3292
+ *
3293
+ * Skip the first `n` TestCases.
3294
+ */
3295
+ skip?: number
3296
+ /**
3297
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
3298
+ *
3299
+ * Filter by unique combinations of TestCases.
3300
+ */
3301
+ distinct?: Prisma.TestCaseScalarFieldEnum | Prisma.TestCaseScalarFieldEnum[]
3302
+ }
3303
+
3304
+ /**
3305
+ * TestCase create
3306
+ */
3307
+ export type TestCaseCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3308
+ /**
3309
+ * Select specific fields to fetch from the TestCase
3310
+ */
3311
+ select?: Prisma.TestCaseSelect<ExtArgs> | null
3312
+ /**
3313
+ * Omit specific fields from the TestCase
3314
+ */
3315
+ omit?: Prisma.TestCaseOmit<ExtArgs> | null
3316
+ /**
3317
+ * Choose, which related nodes to fetch as well
3318
+ */
3319
+ include?: Prisma.TestCaseInclude<ExtArgs> | null
3320
+ /**
3321
+ * The data needed to create a TestCase.
3322
+ */
3323
+ data: Prisma.XOR<Prisma.TestCaseCreateInput, Prisma.TestCaseUncheckedCreateInput>
3324
+ }
3325
+
3326
+ /**
3327
+ * TestCase createMany
3328
+ */
3329
+ export type TestCaseCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3330
+ /**
3331
+ * The data used to create many TestCases.
3332
+ */
3333
+ data: Prisma.TestCaseCreateManyInput | Prisma.TestCaseCreateManyInput[]
3334
+ skipDuplicates?: boolean
3335
+ }
3336
+
3337
+ /**
3338
+ * TestCase createManyAndReturn
3339
+ */
3340
+ export type TestCaseCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3341
+ /**
3342
+ * Select specific fields to fetch from the TestCase
3343
+ */
3344
+ select?: Prisma.TestCaseSelectCreateManyAndReturn<ExtArgs> | null
3345
+ /**
3346
+ * Omit specific fields from the TestCase
3347
+ */
3348
+ omit?: Prisma.TestCaseOmit<ExtArgs> | null
3349
+ /**
3350
+ * The data used to create many TestCases.
3351
+ */
3352
+ data: Prisma.TestCaseCreateManyInput | Prisma.TestCaseCreateManyInput[]
3353
+ skipDuplicates?: boolean
3354
+ /**
3355
+ * Choose, which related nodes to fetch as well
3356
+ */
3357
+ include?: Prisma.TestCaseIncludeCreateManyAndReturn<ExtArgs> | null
3358
+ }
3359
+
3360
+ /**
3361
+ * TestCase update
3362
+ */
3363
+ export type TestCaseUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3364
+ /**
3365
+ * Select specific fields to fetch from the TestCase
3366
+ */
3367
+ select?: Prisma.TestCaseSelect<ExtArgs> | null
3368
+ /**
3369
+ * Omit specific fields from the TestCase
3370
+ */
3371
+ omit?: Prisma.TestCaseOmit<ExtArgs> | null
3372
+ /**
3373
+ * Choose, which related nodes to fetch as well
3374
+ */
3375
+ include?: Prisma.TestCaseInclude<ExtArgs> | null
3376
+ /**
3377
+ * The data needed to update a TestCase.
3378
+ */
3379
+ data: Prisma.XOR<Prisma.TestCaseUpdateInput, Prisma.TestCaseUncheckedUpdateInput>
3380
+ /**
3381
+ * Choose, which TestCase to update.
3382
+ */
3383
+ where: Prisma.TestCaseWhereUniqueInput
3384
+ }
3385
+
3386
+ /**
3387
+ * TestCase updateMany
3388
+ */
3389
+ export type TestCaseUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3390
+ /**
3391
+ * The data used to update TestCases.
3392
+ */
3393
+ data: Prisma.XOR<Prisma.TestCaseUpdateManyMutationInput, Prisma.TestCaseUncheckedUpdateManyInput>
3394
+ /**
3395
+ * Filter which TestCases to update
3396
+ */
3397
+ where?: Prisma.TestCaseWhereInput
3398
+ /**
3399
+ * Limit how many TestCases to update.
3400
+ */
3401
+ limit?: number
3402
+ }
3403
+
3404
+ /**
3405
+ * TestCase updateManyAndReturn
3406
+ */
3407
+ export type TestCaseUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3408
+ /**
3409
+ * Select specific fields to fetch from the TestCase
3410
+ */
3411
+ select?: Prisma.TestCaseSelectUpdateManyAndReturn<ExtArgs> | null
3412
+ /**
3413
+ * Omit specific fields from the TestCase
3414
+ */
3415
+ omit?: Prisma.TestCaseOmit<ExtArgs> | null
3416
+ /**
3417
+ * The data used to update TestCases.
3418
+ */
3419
+ data: Prisma.XOR<Prisma.TestCaseUpdateManyMutationInput, Prisma.TestCaseUncheckedUpdateManyInput>
3420
+ /**
3421
+ * Filter which TestCases to update
3422
+ */
3423
+ where?: Prisma.TestCaseWhereInput
3424
+ /**
3425
+ * Limit how many TestCases to update.
3426
+ */
3427
+ limit?: number
3428
+ /**
3429
+ * Choose, which related nodes to fetch as well
3430
+ */
3431
+ include?: Prisma.TestCaseIncludeUpdateManyAndReturn<ExtArgs> | null
3432
+ }
3433
+
3434
+ /**
3435
+ * TestCase upsert
3436
+ */
3437
+ export type TestCaseUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3438
+ /**
3439
+ * Select specific fields to fetch from the TestCase
3440
+ */
3441
+ select?: Prisma.TestCaseSelect<ExtArgs> | null
3442
+ /**
3443
+ * Omit specific fields from the TestCase
3444
+ */
3445
+ omit?: Prisma.TestCaseOmit<ExtArgs> | null
3446
+ /**
3447
+ * Choose, which related nodes to fetch as well
3448
+ */
3449
+ include?: Prisma.TestCaseInclude<ExtArgs> | null
3450
+ /**
3451
+ * The filter to search for the TestCase to update in case it exists.
3452
+ */
3453
+ where: Prisma.TestCaseWhereUniqueInput
3454
+ /**
3455
+ * In case the TestCase found by the `where` argument doesn't exist, create a new TestCase with this data.
3456
+ */
3457
+ create: Prisma.XOR<Prisma.TestCaseCreateInput, Prisma.TestCaseUncheckedCreateInput>
3458
+ /**
3459
+ * In case the TestCase was found with the provided `where` argument, update it with this data.
3460
+ */
3461
+ update: Prisma.XOR<Prisma.TestCaseUpdateInput, Prisma.TestCaseUncheckedUpdateInput>
3462
+ }
3463
+
3464
+ /**
3465
+ * TestCase delete
3466
+ */
3467
+ export type TestCaseDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3468
+ /**
3469
+ * Select specific fields to fetch from the TestCase
3470
+ */
3471
+ select?: Prisma.TestCaseSelect<ExtArgs> | null
3472
+ /**
3473
+ * Omit specific fields from the TestCase
3474
+ */
3475
+ omit?: Prisma.TestCaseOmit<ExtArgs> | null
3476
+ /**
3477
+ * Choose, which related nodes to fetch as well
3478
+ */
3479
+ include?: Prisma.TestCaseInclude<ExtArgs> | null
3480
+ /**
3481
+ * Filter which TestCase to delete.
3482
+ */
3483
+ where: Prisma.TestCaseWhereUniqueInput
3484
+ }
3485
+
3486
+ /**
3487
+ * TestCase deleteMany
3488
+ */
3489
+ export type TestCaseDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3490
+ /**
3491
+ * Filter which TestCases to delete
3492
+ */
3493
+ where?: Prisma.TestCaseWhereInput
3494
+ /**
3495
+ * Limit how many TestCases to delete.
3496
+ */
3497
+ limit?: number
3498
+ }
3499
+
3500
+ /**
3501
+ * TestCase.folder
3502
+ */
3503
+ export type TestCase$folderArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3504
+ /**
3505
+ * Select specific fields to fetch from the TestCaseFolder
3506
+ */
3507
+ select?: Prisma.TestCaseFolderSelect<ExtArgs> | null
3508
+ /**
3509
+ * Omit specific fields from the TestCaseFolder
3510
+ */
3511
+ omit?: Prisma.TestCaseFolderOmit<ExtArgs> | null
3512
+ /**
3513
+ * Choose, which related nodes to fetch as well
3514
+ */
3515
+ include?: Prisma.TestCaseFolderInclude<ExtArgs> | null
3516
+ where?: Prisma.TestCaseFolderWhereInput
3517
+ }
3518
+
3519
+ /**
3520
+ * TestCase.story
3521
+ */
3522
+ export type TestCase$storyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3523
+ /**
3524
+ * Select specific fields to fetch from the Story
3525
+ */
3526
+ select?: Prisma.StorySelect<ExtArgs> | null
3527
+ /**
3528
+ * Omit specific fields from the Story
3529
+ */
3530
+ omit?: Prisma.StoryOmit<ExtArgs> | null
3531
+ /**
3532
+ * Choose, which related nodes to fetch as well
3533
+ */
3534
+ include?: Prisma.StoryInclude<ExtArgs> | null
3535
+ where?: Prisma.StoryWhereInput
3536
+ }
3537
+
3538
+ /**
3539
+ * TestCase.assignee
3540
+ */
3541
+ export type TestCase$assigneeArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3542
+ /**
3543
+ * Select specific fields to fetch from the User
3544
+ */
3545
+ select?: Prisma.UserSelect<ExtArgs> | null
3546
+ /**
3547
+ * Omit specific fields from the User
3548
+ */
3549
+ omit?: Prisma.UserOmit<ExtArgs> | null
3550
+ /**
3551
+ * Choose, which related nodes to fetch as well
3552
+ */
3553
+ include?: Prisma.UserInclude<ExtArgs> | null
3554
+ where?: Prisma.UserWhereInput
3555
+ }
3556
+
3557
+ /**
3558
+ * TestCase.artifacts
3559
+ */
3560
+ export type TestCase$artifactsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3561
+ /**
3562
+ * Select specific fields to fetch from the TestAutomationArtifact
3563
+ */
3564
+ select?: Prisma.TestAutomationArtifactSelect<ExtArgs> | null
3565
+ /**
3566
+ * Omit specific fields from the TestAutomationArtifact
3567
+ */
3568
+ omit?: Prisma.TestAutomationArtifactOmit<ExtArgs> | null
3569
+ /**
3570
+ * Choose, which related nodes to fetch as well
3571
+ */
3572
+ include?: Prisma.TestAutomationArtifactInclude<ExtArgs> | null
3573
+ where?: Prisma.TestAutomationArtifactWhereInput
3574
+ orderBy?: Prisma.TestAutomationArtifactOrderByWithRelationInput | Prisma.TestAutomationArtifactOrderByWithRelationInput[]
3575
+ cursor?: Prisma.TestAutomationArtifactWhereUniqueInput
3576
+ take?: number
3577
+ skip?: number
3578
+ distinct?: Prisma.TestAutomationArtifactScalarFieldEnum | Prisma.TestAutomationArtifactScalarFieldEnum[]
3579
+ }
3580
+
3581
+ /**
3582
+ * TestCase.runCases
3583
+ */
3584
+ export type TestCase$runCasesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3585
+ /**
3586
+ * Select specific fields to fetch from the TestRunCase
3587
+ */
3588
+ select?: Prisma.TestRunCaseSelect<ExtArgs> | null
3589
+ /**
3590
+ * Omit specific fields from the TestRunCase
3591
+ */
3592
+ omit?: Prisma.TestRunCaseOmit<ExtArgs> | null
3593
+ /**
3594
+ * Choose, which related nodes to fetch as well
3595
+ */
3596
+ include?: Prisma.TestRunCaseInclude<ExtArgs> | null
3597
+ where?: Prisma.TestRunCaseWhereInput
3598
+ orderBy?: Prisma.TestRunCaseOrderByWithRelationInput | Prisma.TestRunCaseOrderByWithRelationInput[]
3599
+ cursor?: Prisma.TestRunCaseWhereUniqueInput
3600
+ take?: number
3601
+ skip?: number
3602
+ distinct?: Prisma.TestRunCaseScalarFieldEnum | Prisma.TestRunCaseScalarFieldEnum[]
3603
+ }
3604
+
3605
+ /**
3606
+ * TestCase.planCases
3607
+ */
3608
+ export type TestCase$planCasesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3609
+ /**
3610
+ * Select specific fields to fetch from the TestPlanCase
3611
+ */
3612
+ select?: Prisma.TestPlanCaseSelect<ExtArgs> | null
3613
+ /**
3614
+ * Omit specific fields from the TestPlanCase
3615
+ */
3616
+ omit?: Prisma.TestPlanCaseOmit<ExtArgs> | null
3617
+ /**
3618
+ * Choose, which related nodes to fetch as well
3619
+ */
3620
+ include?: Prisma.TestPlanCaseInclude<ExtArgs> | null
3621
+ where?: Prisma.TestPlanCaseWhereInput
3622
+ orderBy?: Prisma.TestPlanCaseOrderByWithRelationInput | Prisma.TestPlanCaseOrderByWithRelationInput[]
3623
+ cursor?: Prisma.TestPlanCaseWhereUniqueInput
3624
+ take?: number
3625
+ skip?: number
3626
+ distinct?: Prisma.TestPlanCaseScalarFieldEnum | Prisma.TestPlanCaseScalarFieldEnum[]
3627
+ }
3628
+
3629
+ /**
3630
+ * TestCase without action
3631
+ */
3632
+ export type TestCaseDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3633
+ /**
3634
+ * Select specific fields to fetch from the TestCase
3635
+ */
3636
+ select?: Prisma.TestCaseSelect<ExtArgs> | null
3637
+ /**
3638
+ * Omit specific fields from the TestCase
3639
+ */
3640
+ omit?: Prisma.TestCaseOmit<ExtArgs> | null
3641
+ /**
3642
+ * Choose, which related nodes to fetch as well
3643
+ */
3644
+ include?: Prisma.TestCaseInclude<ExtArgs> | null
3645
+ }