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