@allbluecn/database 0.9.0 → 0.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/desktop-init.ts +2 -2
- package/dist/get-prisma.js +1 -1
- package/dist/lib/share-utils.js +3 -3
- package/generated/browser.ts +115 -25
- package/generated/client.ts +115 -25
- package/generated/commonInputTypes.ts +34 -0
- package/generated/enums.ts +14 -0
- package/generated/internal/class.ts +234 -54
- package/generated/internal/prismaNamespace.ts +2190 -511
- package/generated/internal/prismaNamespaceBrowser.ts +391 -76
- package/generated/models/AgentConversation.ts +89 -89
- package/generated/models/AiProvider.ts +3 -3
- package/generated/models/AiStreamChunk.ts +3 -3
- 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 +5023 -0
- package/generated/models/BugActivity.ts +1765 -0
- package/generated/models/BugComment.ts +1853 -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/Comment.ts +99 -99
- package/generated/models/Component.ts +9 -9
- package/generated/models/ComponentInstance.ts +17 -17
- package/generated/models/CustomRole.ts +8 -8
- package/generated/models/Design.ts +2872 -0
- package/generated/models/DesignPage.ts +2402 -0
- package/generated/models/DesignTag.ts +1430 -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 +1970 -58
- 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/Tag.ts +49 -49
- package/generated/models/TestAutomationArtifact.ts +1790 -0
- package/generated/models/TestCase.ts +3568 -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 +12141 -2721
- package/generated/models.ts +26 -8
- package/generated-sqlite/browser.ts +8 -23
- package/generated-sqlite/client.ts +8 -23
- package/generated-sqlite/internal/class.ts +20 -50
- package/generated-sqlite/internal/prismaNamespace.ts +166 -437
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +25 -71
- 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 +9 -9
- package/generated-sqlite/models/ComponentInstance.ts +17 -17
- package/generated-sqlite/models/Design.ts +2679 -0
- package/generated-sqlite/models/DesignPage.ts +2398 -0
- package/generated-sqlite/models/DesignTag.ts +1426 -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/Tag.ts +49 -49
- package/generated-sqlite/models/User.ts +1201 -1321
- package/generated-sqlite/models/Workspace.ts +164 -0
- package/generated-sqlite/models.ts +4 -7
- package/index.ts +17 -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/package.json +4 -4
- package/schema.prisma +687 -177
- package/schema.sqlite.prisma +149 -151
- 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/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-sqlite/models/Artboard.ts +0 -1808
- package/generated-sqlite/models/ArtboardExport.ts +0 -1545
- 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
|
@@ -0,0 +1,1795 @@
|
|
|
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 `TestCaseFolder` 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 TestCaseFolder
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type TestCaseFolderModel = runtime.Types.Result.DefaultSelection<Prisma.$TestCaseFolderPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateTestCaseFolder = {
|
|
22
|
+
_count: TestCaseFolderCountAggregateOutputType | null
|
|
23
|
+
_avg: TestCaseFolderAvgAggregateOutputType | null
|
|
24
|
+
_sum: TestCaseFolderSumAggregateOutputType | null
|
|
25
|
+
_min: TestCaseFolderMinAggregateOutputType | null
|
|
26
|
+
_max: TestCaseFolderMaxAggregateOutputType | null
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type TestCaseFolderAvgAggregateOutputType = {
|
|
30
|
+
position: number | null
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export type TestCaseFolderSumAggregateOutputType = {
|
|
34
|
+
position: number | null
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type TestCaseFolderMinAggregateOutputType = {
|
|
38
|
+
id: string | null
|
|
39
|
+
projectId: string | null
|
|
40
|
+
parentId: string | null
|
|
41
|
+
name: string | null
|
|
42
|
+
position: number | null
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export type TestCaseFolderMaxAggregateOutputType = {
|
|
46
|
+
id: string | null
|
|
47
|
+
projectId: string | null
|
|
48
|
+
parentId: string | null
|
|
49
|
+
name: string | null
|
|
50
|
+
position: number | null
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export type TestCaseFolderCountAggregateOutputType = {
|
|
54
|
+
id: number
|
|
55
|
+
projectId: number
|
|
56
|
+
parentId: number
|
|
57
|
+
name: number
|
|
58
|
+
position: number
|
|
59
|
+
_all: number
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
export type TestCaseFolderAvgAggregateInputType = {
|
|
64
|
+
position?: true
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export type TestCaseFolderSumAggregateInputType = {
|
|
68
|
+
position?: true
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export type TestCaseFolderMinAggregateInputType = {
|
|
72
|
+
id?: true
|
|
73
|
+
projectId?: true
|
|
74
|
+
parentId?: true
|
|
75
|
+
name?: true
|
|
76
|
+
position?: true
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export type TestCaseFolderMaxAggregateInputType = {
|
|
80
|
+
id?: true
|
|
81
|
+
projectId?: true
|
|
82
|
+
parentId?: true
|
|
83
|
+
name?: true
|
|
84
|
+
position?: true
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export type TestCaseFolderCountAggregateInputType = {
|
|
88
|
+
id?: true
|
|
89
|
+
projectId?: true
|
|
90
|
+
parentId?: true
|
|
91
|
+
name?: true
|
|
92
|
+
position?: true
|
|
93
|
+
_all?: true
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export type TestCaseFolderAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
97
|
+
/**
|
|
98
|
+
* Filter which TestCaseFolder to aggregate.
|
|
99
|
+
*/
|
|
100
|
+
where?: Prisma.TestCaseFolderWhereInput
|
|
101
|
+
/**
|
|
102
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
103
|
+
*
|
|
104
|
+
* Determine the order of TestCaseFolders to fetch.
|
|
105
|
+
*/
|
|
106
|
+
orderBy?: Prisma.TestCaseFolderOrderByWithRelationInput | Prisma.TestCaseFolderOrderByWithRelationInput[]
|
|
107
|
+
/**
|
|
108
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
109
|
+
*
|
|
110
|
+
* Sets the start position
|
|
111
|
+
*/
|
|
112
|
+
cursor?: Prisma.TestCaseFolderWhereUniqueInput
|
|
113
|
+
/**
|
|
114
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
115
|
+
*
|
|
116
|
+
* Take `±n` TestCaseFolders from the position of the cursor.
|
|
117
|
+
*/
|
|
118
|
+
take?: number
|
|
119
|
+
/**
|
|
120
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
121
|
+
*
|
|
122
|
+
* Skip the first `n` TestCaseFolders.
|
|
123
|
+
*/
|
|
124
|
+
skip?: number
|
|
125
|
+
/**
|
|
126
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
127
|
+
*
|
|
128
|
+
* Count returned TestCaseFolders
|
|
129
|
+
**/
|
|
130
|
+
_count?: true | TestCaseFolderCountAggregateInputType
|
|
131
|
+
/**
|
|
132
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
133
|
+
*
|
|
134
|
+
* Select which fields to average
|
|
135
|
+
**/
|
|
136
|
+
_avg?: TestCaseFolderAvgAggregateInputType
|
|
137
|
+
/**
|
|
138
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
139
|
+
*
|
|
140
|
+
* Select which fields to sum
|
|
141
|
+
**/
|
|
142
|
+
_sum?: TestCaseFolderSumAggregateInputType
|
|
143
|
+
/**
|
|
144
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
145
|
+
*
|
|
146
|
+
* Select which fields to find the minimum value
|
|
147
|
+
**/
|
|
148
|
+
_min?: TestCaseFolderMinAggregateInputType
|
|
149
|
+
/**
|
|
150
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
151
|
+
*
|
|
152
|
+
* Select which fields to find the maximum value
|
|
153
|
+
**/
|
|
154
|
+
_max?: TestCaseFolderMaxAggregateInputType
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
export type GetTestCaseFolderAggregateType<T extends TestCaseFolderAggregateArgs> = {
|
|
158
|
+
[P in keyof T & keyof AggregateTestCaseFolder]: P extends '_count' | 'count'
|
|
159
|
+
? T[P] extends true
|
|
160
|
+
? number
|
|
161
|
+
: Prisma.GetScalarType<T[P], AggregateTestCaseFolder[P]>
|
|
162
|
+
: Prisma.GetScalarType<T[P], AggregateTestCaseFolder[P]>
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
export type TestCaseFolderGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
169
|
+
where?: Prisma.TestCaseFolderWhereInput
|
|
170
|
+
orderBy?: Prisma.TestCaseFolderOrderByWithAggregationInput | Prisma.TestCaseFolderOrderByWithAggregationInput[]
|
|
171
|
+
by: Prisma.TestCaseFolderScalarFieldEnum[] | Prisma.TestCaseFolderScalarFieldEnum
|
|
172
|
+
having?: Prisma.TestCaseFolderScalarWhereWithAggregatesInput
|
|
173
|
+
take?: number
|
|
174
|
+
skip?: number
|
|
175
|
+
_count?: TestCaseFolderCountAggregateInputType | true
|
|
176
|
+
_avg?: TestCaseFolderAvgAggregateInputType
|
|
177
|
+
_sum?: TestCaseFolderSumAggregateInputType
|
|
178
|
+
_min?: TestCaseFolderMinAggregateInputType
|
|
179
|
+
_max?: TestCaseFolderMaxAggregateInputType
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export type TestCaseFolderGroupByOutputType = {
|
|
183
|
+
id: string
|
|
184
|
+
projectId: string
|
|
185
|
+
parentId: string | null
|
|
186
|
+
name: string
|
|
187
|
+
position: number
|
|
188
|
+
_count: TestCaseFolderCountAggregateOutputType | null
|
|
189
|
+
_avg: TestCaseFolderAvgAggregateOutputType | null
|
|
190
|
+
_sum: TestCaseFolderSumAggregateOutputType | null
|
|
191
|
+
_min: TestCaseFolderMinAggregateOutputType | null
|
|
192
|
+
_max: TestCaseFolderMaxAggregateOutputType | null
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export type GetTestCaseFolderGroupByPayload<T extends TestCaseFolderGroupByArgs> = Prisma.PrismaPromise<
|
|
196
|
+
Array<
|
|
197
|
+
Prisma.PickEnumerable<TestCaseFolderGroupByOutputType, T['by']> &
|
|
198
|
+
{
|
|
199
|
+
[P in ((keyof T) & (keyof TestCaseFolderGroupByOutputType))]: P extends '_count'
|
|
200
|
+
? T[P] extends boolean
|
|
201
|
+
? number
|
|
202
|
+
: Prisma.GetScalarType<T[P], TestCaseFolderGroupByOutputType[P]>
|
|
203
|
+
: Prisma.GetScalarType<T[P], TestCaseFolderGroupByOutputType[P]>
|
|
204
|
+
}
|
|
205
|
+
>
|
|
206
|
+
>
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
export type TestCaseFolderWhereInput = {
|
|
211
|
+
AND?: Prisma.TestCaseFolderWhereInput | Prisma.TestCaseFolderWhereInput[]
|
|
212
|
+
OR?: Prisma.TestCaseFolderWhereInput[]
|
|
213
|
+
NOT?: Prisma.TestCaseFolderWhereInput | Prisma.TestCaseFolderWhereInput[]
|
|
214
|
+
id?: Prisma.StringFilter<"TestCaseFolder"> | string
|
|
215
|
+
projectId?: Prisma.StringFilter<"TestCaseFolder"> | string
|
|
216
|
+
parentId?: Prisma.StringNullableFilter<"TestCaseFolder"> | string | null
|
|
217
|
+
name?: Prisma.StringFilter<"TestCaseFolder"> | string
|
|
218
|
+
position?: Prisma.IntFilter<"TestCaseFolder"> | number
|
|
219
|
+
project?: Prisma.XOR<Prisma.ProjectScalarRelationFilter, Prisma.ProjectWhereInput>
|
|
220
|
+
parent?: Prisma.XOR<Prisma.TestCaseFolderNullableScalarRelationFilter, Prisma.TestCaseFolderWhereInput> | null
|
|
221
|
+
children?: Prisma.TestCaseFolderListRelationFilter
|
|
222
|
+
cases?: Prisma.TestCaseListRelationFilter
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
export type TestCaseFolderOrderByWithRelationInput = {
|
|
226
|
+
id?: Prisma.SortOrder
|
|
227
|
+
projectId?: Prisma.SortOrder
|
|
228
|
+
parentId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
229
|
+
name?: Prisma.SortOrder
|
|
230
|
+
position?: Prisma.SortOrder
|
|
231
|
+
project?: Prisma.ProjectOrderByWithRelationInput
|
|
232
|
+
parent?: Prisma.TestCaseFolderOrderByWithRelationInput
|
|
233
|
+
children?: Prisma.TestCaseFolderOrderByRelationAggregateInput
|
|
234
|
+
cases?: Prisma.TestCaseOrderByRelationAggregateInput
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
export type TestCaseFolderWhereUniqueInput = Prisma.AtLeast<{
|
|
238
|
+
id?: string
|
|
239
|
+
AND?: Prisma.TestCaseFolderWhereInput | Prisma.TestCaseFolderWhereInput[]
|
|
240
|
+
OR?: Prisma.TestCaseFolderWhereInput[]
|
|
241
|
+
NOT?: Prisma.TestCaseFolderWhereInput | Prisma.TestCaseFolderWhereInput[]
|
|
242
|
+
projectId?: Prisma.StringFilter<"TestCaseFolder"> | string
|
|
243
|
+
parentId?: Prisma.StringNullableFilter<"TestCaseFolder"> | string | null
|
|
244
|
+
name?: Prisma.StringFilter<"TestCaseFolder"> | string
|
|
245
|
+
position?: Prisma.IntFilter<"TestCaseFolder"> | number
|
|
246
|
+
project?: Prisma.XOR<Prisma.ProjectScalarRelationFilter, Prisma.ProjectWhereInput>
|
|
247
|
+
parent?: Prisma.XOR<Prisma.TestCaseFolderNullableScalarRelationFilter, Prisma.TestCaseFolderWhereInput> | null
|
|
248
|
+
children?: Prisma.TestCaseFolderListRelationFilter
|
|
249
|
+
cases?: Prisma.TestCaseListRelationFilter
|
|
250
|
+
}, "id">
|
|
251
|
+
|
|
252
|
+
export type TestCaseFolderOrderByWithAggregationInput = {
|
|
253
|
+
id?: Prisma.SortOrder
|
|
254
|
+
projectId?: Prisma.SortOrder
|
|
255
|
+
parentId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
256
|
+
name?: Prisma.SortOrder
|
|
257
|
+
position?: Prisma.SortOrder
|
|
258
|
+
_count?: Prisma.TestCaseFolderCountOrderByAggregateInput
|
|
259
|
+
_avg?: Prisma.TestCaseFolderAvgOrderByAggregateInput
|
|
260
|
+
_max?: Prisma.TestCaseFolderMaxOrderByAggregateInput
|
|
261
|
+
_min?: Prisma.TestCaseFolderMinOrderByAggregateInput
|
|
262
|
+
_sum?: Prisma.TestCaseFolderSumOrderByAggregateInput
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
export type TestCaseFolderScalarWhereWithAggregatesInput = {
|
|
266
|
+
AND?: Prisma.TestCaseFolderScalarWhereWithAggregatesInput | Prisma.TestCaseFolderScalarWhereWithAggregatesInput[]
|
|
267
|
+
OR?: Prisma.TestCaseFolderScalarWhereWithAggregatesInput[]
|
|
268
|
+
NOT?: Prisma.TestCaseFolderScalarWhereWithAggregatesInput | Prisma.TestCaseFolderScalarWhereWithAggregatesInput[]
|
|
269
|
+
id?: Prisma.StringWithAggregatesFilter<"TestCaseFolder"> | string
|
|
270
|
+
projectId?: Prisma.StringWithAggregatesFilter<"TestCaseFolder"> | string
|
|
271
|
+
parentId?: Prisma.StringNullableWithAggregatesFilter<"TestCaseFolder"> | string | null
|
|
272
|
+
name?: Prisma.StringWithAggregatesFilter<"TestCaseFolder"> | string
|
|
273
|
+
position?: Prisma.IntWithAggregatesFilter<"TestCaseFolder"> | number
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
export type TestCaseFolderCreateInput = {
|
|
277
|
+
id?: string
|
|
278
|
+
name: string
|
|
279
|
+
position?: number
|
|
280
|
+
project: Prisma.ProjectCreateNestedOneWithoutTestCaseFoldersInput
|
|
281
|
+
parent?: Prisma.TestCaseFolderCreateNestedOneWithoutChildrenInput
|
|
282
|
+
children?: Prisma.TestCaseFolderCreateNestedManyWithoutParentInput
|
|
283
|
+
cases?: Prisma.TestCaseCreateNestedManyWithoutFolderInput
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
export type TestCaseFolderUncheckedCreateInput = {
|
|
287
|
+
id?: string
|
|
288
|
+
projectId: string
|
|
289
|
+
parentId?: string | null
|
|
290
|
+
name: string
|
|
291
|
+
position?: number
|
|
292
|
+
children?: Prisma.TestCaseFolderUncheckedCreateNestedManyWithoutParentInput
|
|
293
|
+
cases?: Prisma.TestCaseUncheckedCreateNestedManyWithoutFolderInput
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
export type TestCaseFolderUpdateInput = {
|
|
297
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
298
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
299
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
300
|
+
project?: Prisma.ProjectUpdateOneRequiredWithoutTestCaseFoldersNestedInput
|
|
301
|
+
parent?: Prisma.TestCaseFolderUpdateOneWithoutChildrenNestedInput
|
|
302
|
+
children?: Prisma.TestCaseFolderUpdateManyWithoutParentNestedInput
|
|
303
|
+
cases?: Prisma.TestCaseUpdateManyWithoutFolderNestedInput
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
export type TestCaseFolderUncheckedUpdateInput = {
|
|
307
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
308
|
+
projectId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
309
|
+
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
310
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
311
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
312
|
+
children?: Prisma.TestCaseFolderUncheckedUpdateManyWithoutParentNestedInput
|
|
313
|
+
cases?: Prisma.TestCaseUncheckedUpdateManyWithoutFolderNestedInput
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
export type TestCaseFolderCreateManyInput = {
|
|
317
|
+
id?: string
|
|
318
|
+
projectId: string
|
|
319
|
+
parentId?: string | null
|
|
320
|
+
name: string
|
|
321
|
+
position?: number
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
export type TestCaseFolderUpdateManyMutationInput = {
|
|
325
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
326
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
327
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
export type TestCaseFolderUncheckedUpdateManyInput = {
|
|
331
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
332
|
+
projectId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
333
|
+
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
334
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
335
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
export type TestCaseFolderListRelationFilter = {
|
|
339
|
+
every?: Prisma.TestCaseFolderWhereInput
|
|
340
|
+
some?: Prisma.TestCaseFolderWhereInput
|
|
341
|
+
none?: Prisma.TestCaseFolderWhereInput
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
export type TestCaseFolderOrderByRelationAggregateInput = {
|
|
345
|
+
_count?: Prisma.SortOrder
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
export type TestCaseFolderNullableScalarRelationFilter = {
|
|
349
|
+
is?: Prisma.TestCaseFolderWhereInput | null
|
|
350
|
+
isNot?: Prisma.TestCaseFolderWhereInput | null
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
export type TestCaseFolderCountOrderByAggregateInput = {
|
|
354
|
+
id?: Prisma.SortOrder
|
|
355
|
+
projectId?: Prisma.SortOrder
|
|
356
|
+
parentId?: Prisma.SortOrder
|
|
357
|
+
name?: Prisma.SortOrder
|
|
358
|
+
position?: Prisma.SortOrder
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
export type TestCaseFolderAvgOrderByAggregateInput = {
|
|
362
|
+
position?: Prisma.SortOrder
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
export type TestCaseFolderMaxOrderByAggregateInput = {
|
|
366
|
+
id?: Prisma.SortOrder
|
|
367
|
+
projectId?: Prisma.SortOrder
|
|
368
|
+
parentId?: Prisma.SortOrder
|
|
369
|
+
name?: Prisma.SortOrder
|
|
370
|
+
position?: Prisma.SortOrder
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
export type TestCaseFolderMinOrderByAggregateInput = {
|
|
374
|
+
id?: Prisma.SortOrder
|
|
375
|
+
projectId?: Prisma.SortOrder
|
|
376
|
+
parentId?: Prisma.SortOrder
|
|
377
|
+
name?: Prisma.SortOrder
|
|
378
|
+
position?: Prisma.SortOrder
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
export type TestCaseFolderSumOrderByAggregateInput = {
|
|
382
|
+
position?: Prisma.SortOrder
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
export type TestCaseFolderCreateNestedManyWithoutProjectInput = {
|
|
386
|
+
create?: Prisma.XOR<Prisma.TestCaseFolderCreateWithoutProjectInput, Prisma.TestCaseFolderUncheckedCreateWithoutProjectInput> | Prisma.TestCaseFolderCreateWithoutProjectInput[] | Prisma.TestCaseFolderUncheckedCreateWithoutProjectInput[]
|
|
387
|
+
connectOrCreate?: Prisma.TestCaseFolderCreateOrConnectWithoutProjectInput | Prisma.TestCaseFolderCreateOrConnectWithoutProjectInput[]
|
|
388
|
+
createMany?: Prisma.TestCaseFolderCreateManyProjectInputEnvelope
|
|
389
|
+
connect?: Prisma.TestCaseFolderWhereUniqueInput | Prisma.TestCaseFolderWhereUniqueInput[]
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
export type TestCaseFolderUncheckedCreateNestedManyWithoutProjectInput = {
|
|
393
|
+
create?: Prisma.XOR<Prisma.TestCaseFolderCreateWithoutProjectInput, Prisma.TestCaseFolderUncheckedCreateWithoutProjectInput> | Prisma.TestCaseFolderCreateWithoutProjectInput[] | Prisma.TestCaseFolderUncheckedCreateWithoutProjectInput[]
|
|
394
|
+
connectOrCreate?: Prisma.TestCaseFolderCreateOrConnectWithoutProjectInput | Prisma.TestCaseFolderCreateOrConnectWithoutProjectInput[]
|
|
395
|
+
createMany?: Prisma.TestCaseFolderCreateManyProjectInputEnvelope
|
|
396
|
+
connect?: Prisma.TestCaseFolderWhereUniqueInput | Prisma.TestCaseFolderWhereUniqueInput[]
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
export type TestCaseFolderUpdateManyWithoutProjectNestedInput = {
|
|
400
|
+
create?: Prisma.XOR<Prisma.TestCaseFolderCreateWithoutProjectInput, Prisma.TestCaseFolderUncheckedCreateWithoutProjectInput> | Prisma.TestCaseFolderCreateWithoutProjectInput[] | Prisma.TestCaseFolderUncheckedCreateWithoutProjectInput[]
|
|
401
|
+
connectOrCreate?: Prisma.TestCaseFolderCreateOrConnectWithoutProjectInput | Prisma.TestCaseFolderCreateOrConnectWithoutProjectInput[]
|
|
402
|
+
upsert?: Prisma.TestCaseFolderUpsertWithWhereUniqueWithoutProjectInput | Prisma.TestCaseFolderUpsertWithWhereUniqueWithoutProjectInput[]
|
|
403
|
+
createMany?: Prisma.TestCaseFolderCreateManyProjectInputEnvelope
|
|
404
|
+
set?: Prisma.TestCaseFolderWhereUniqueInput | Prisma.TestCaseFolderWhereUniqueInput[]
|
|
405
|
+
disconnect?: Prisma.TestCaseFolderWhereUniqueInput | Prisma.TestCaseFolderWhereUniqueInput[]
|
|
406
|
+
delete?: Prisma.TestCaseFolderWhereUniqueInput | Prisma.TestCaseFolderWhereUniqueInput[]
|
|
407
|
+
connect?: Prisma.TestCaseFolderWhereUniqueInput | Prisma.TestCaseFolderWhereUniqueInput[]
|
|
408
|
+
update?: Prisma.TestCaseFolderUpdateWithWhereUniqueWithoutProjectInput | Prisma.TestCaseFolderUpdateWithWhereUniqueWithoutProjectInput[]
|
|
409
|
+
updateMany?: Prisma.TestCaseFolderUpdateManyWithWhereWithoutProjectInput | Prisma.TestCaseFolderUpdateManyWithWhereWithoutProjectInput[]
|
|
410
|
+
deleteMany?: Prisma.TestCaseFolderScalarWhereInput | Prisma.TestCaseFolderScalarWhereInput[]
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
export type TestCaseFolderUncheckedUpdateManyWithoutProjectNestedInput = {
|
|
414
|
+
create?: Prisma.XOR<Prisma.TestCaseFolderCreateWithoutProjectInput, Prisma.TestCaseFolderUncheckedCreateWithoutProjectInput> | Prisma.TestCaseFolderCreateWithoutProjectInput[] | Prisma.TestCaseFolderUncheckedCreateWithoutProjectInput[]
|
|
415
|
+
connectOrCreate?: Prisma.TestCaseFolderCreateOrConnectWithoutProjectInput | Prisma.TestCaseFolderCreateOrConnectWithoutProjectInput[]
|
|
416
|
+
upsert?: Prisma.TestCaseFolderUpsertWithWhereUniqueWithoutProjectInput | Prisma.TestCaseFolderUpsertWithWhereUniqueWithoutProjectInput[]
|
|
417
|
+
createMany?: Prisma.TestCaseFolderCreateManyProjectInputEnvelope
|
|
418
|
+
set?: Prisma.TestCaseFolderWhereUniqueInput | Prisma.TestCaseFolderWhereUniqueInput[]
|
|
419
|
+
disconnect?: Prisma.TestCaseFolderWhereUniqueInput | Prisma.TestCaseFolderWhereUniqueInput[]
|
|
420
|
+
delete?: Prisma.TestCaseFolderWhereUniqueInput | Prisma.TestCaseFolderWhereUniqueInput[]
|
|
421
|
+
connect?: Prisma.TestCaseFolderWhereUniqueInput | Prisma.TestCaseFolderWhereUniqueInput[]
|
|
422
|
+
update?: Prisma.TestCaseFolderUpdateWithWhereUniqueWithoutProjectInput | Prisma.TestCaseFolderUpdateWithWhereUniqueWithoutProjectInput[]
|
|
423
|
+
updateMany?: Prisma.TestCaseFolderUpdateManyWithWhereWithoutProjectInput | Prisma.TestCaseFolderUpdateManyWithWhereWithoutProjectInput[]
|
|
424
|
+
deleteMany?: Prisma.TestCaseFolderScalarWhereInput | Prisma.TestCaseFolderScalarWhereInput[]
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
export type TestCaseFolderCreateNestedOneWithoutCasesInput = {
|
|
428
|
+
create?: Prisma.XOR<Prisma.TestCaseFolderCreateWithoutCasesInput, Prisma.TestCaseFolderUncheckedCreateWithoutCasesInput>
|
|
429
|
+
connectOrCreate?: Prisma.TestCaseFolderCreateOrConnectWithoutCasesInput
|
|
430
|
+
connect?: Prisma.TestCaseFolderWhereUniqueInput
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
export type TestCaseFolderUpdateOneWithoutCasesNestedInput = {
|
|
434
|
+
create?: Prisma.XOR<Prisma.TestCaseFolderCreateWithoutCasesInput, Prisma.TestCaseFolderUncheckedCreateWithoutCasesInput>
|
|
435
|
+
connectOrCreate?: Prisma.TestCaseFolderCreateOrConnectWithoutCasesInput
|
|
436
|
+
upsert?: Prisma.TestCaseFolderUpsertWithoutCasesInput
|
|
437
|
+
disconnect?: Prisma.TestCaseFolderWhereInput | boolean
|
|
438
|
+
delete?: Prisma.TestCaseFolderWhereInput | boolean
|
|
439
|
+
connect?: Prisma.TestCaseFolderWhereUniqueInput
|
|
440
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.TestCaseFolderUpdateToOneWithWhereWithoutCasesInput, Prisma.TestCaseFolderUpdateWithoutCasesInput>, Prisma.TestCaseFolderUncheckedUpdateWithoutCasesInput>
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
export type TestCaseFolderCreateNestedOneWithoutChildrenInput = {
|
|
444
|
+
create?: Prisma.XOR<Prisma.TestCaseFolderCreateWithoutChildrenInput, Prisma.TestCaseFolderUncheckedCreateWithoutChildrenInput>
|
|
445
|
+
connectOrCreate?: Prisma.TestCaseFolderCreateOrConnectWithoutChildrenInput
|
|
446
|
+
connect?: Prisma.TestCaseFolderWhereUniqueInput
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
export type TestCaseFolderCreateNestedManyWithoutParentInput = {
|
|
450
|
+
create?: Prisma.XOR<Prisma.TestCaseFolderCreateWithoutParentInput, Prisma.TestCaseFolderUncheckedCreateWithoutParentInput> | Prisma.TestCaseFolderCreateWithoutParentInput[] | Prisma.TestCaseFolderUncheckedCreateWithoutParentInput[]
|
|
451
|
+
connectOrCreate?: Prisma.TestCaseFolderCreateOrConnectWithoutParentInput | Prisma.TestCaseFolderCreateOrConnectWithoutParentInput[]
|
|
452
|
+
createMany?: Prisma.TestCaseFolderCreateManyParentInputEnvelope
|
|
453
|
+
connect?: Prisma.TestCaseFolderWhereUniqueInput | Prisma.TestCaseFolderWhereUniqueInput[]
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
export type TestCaseFolderUncheckedCreateNestedManyWithoutParentInput = {
|
|
457
|
+
create?: Prisma.XOR<Prisma.TestCaseFolderCreateWithoutParentInput, Prisma.TestCaseFolderUncheckedCreateWithoutParentInput> | Prisma.TestCaseFolderCreateWithoutParentInput[] | Prisma.TestCaseFolderUncheckedCreateWithoutParentInput[]
|
|
458
|
+
connectOrCreate?: Prisma.TestCaseFolderCreateOrConnectWithoutParentInput | Prisma.TestCaseFolderCreateOrConnectWithoutParentInput[]
|
|
459
|
+
createMany?: Prisma.TestCaseFolderCreateManyParentInputEnvelope
|
|
460
|
+
connect?: Prisma.TestCaseFolderWhereUniqueInput | Prisma.TestCaseFolderWhereUniqueInput[]
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
export type TestCaseFolderUpdateOneWithoutChildrenNestedInput = {
|
|
464
|
+
create?: Prisma.XOR<Prisma.TestCaseFolderCreateWithoutChildrenInput, Prisma.TestCaseFolderUncheckedCreateWithoutChildrenInput>
|
|
465
|
+
connectOrCreate?: Prisma.TestCaseFolderCreateOrConnectWithoutChildrenInput
|
|
466
|
+
upsert?: Prisma.TestCaseFolderUpsertWithoutChildrenInput
|
|
467
|
+
disconnect?: Prisma.TestCaseFolderWhereInput | boolean
|
|
468
|
+
delete?: Prisma.TestCaseFolderWhereInput | boolean
|
|
469
|
+
connect?: Prisma.TestCaseFolderWhereUniqueInput
|
|
470
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.TestCaseFolderUpdateToOneWithWhereWithoutChildrenInput, Prisma.TestCaseFolderUpdateWithoutChildrenInput>, Prisma.TestCaseFolderUncheckedUpdateWithoutChildrenInput>
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
export type TestCaseFolderUpdateManyWithoutParentNestedInput = {
|
|
474
|
+
create?: Prisma.XOR<Prisma.TestCaseFolderCreateWithoutParentInput, Prisma.TestCaseFolderUncheckedCreateWithoutParentInput> | Prisma.TestCaseFolderCreateWithoutParentInput[] | Prisma.TestCaseFolderUncheckedCreateWithoutParentInput[]
|
|
475
|
+
connectOrCreate?: Prisma.TestCaseFolderCreateOrConnectWithoutParentInput | Prisma.TestCaseFolderCreateOrConnectWithoutParentInput[]
|
|
476
|
+
upsert?: Prisma.TestCaseFolderUpsertWithWhereUniqueWithoutParentInput | Prisma.TestCaseFolderUpsertWithWhereUniqueWithoutParentInput[]
|
|
477
|
+
createMany?: Prisma.TestCaseFolderCreateManyParentInputEnvelope
|
|
478
|
+
set?: Prisma.TestCaseFolderWhereUniqueInput | Prisma.TestCaseFolderWhereUniqueInput[]
|
|
479
|
+
disconnect?: Prisma.TestCaseFolderWhereUniqueInput | Prisma.TestCaseFolderWhereUniqueInput[]
|
|
480
|
+
delete?: Prisma.TestCaseFolderWhereUniqueInput | Prisma.TestCaseFolderWhereUniqueInput[]
|
|
481
|
+
connect?: Prisma.TestCaseFolderWhereUniqueInput | Prisma.TestCaseFolderWhereUniqueInput[]
|
|
482
|
+
update?: Prisma.TestCaseFolderUpdateWithWhereUniqueWithoutParentInput | Prisma.TestCaseFolderUpdateWithWhereUniqueWithoutParentInput[]
|
|
483
|
+
updateMany?: Prisma.TestCaseFolderUpdateManyWithWhereWithoutParentInput | Prisma.TestCaseFolderUpdateManyWithWhereWithoutParentInput[]
|
|
484
|
+
deleteMany?: Prisma.TestCaseFolderScalarWhereInput | Prisma.TestCaseFolderScalarWhereInput[]
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
export type TestCaseFolderUncheckedUpdateManyWithoutParentNestedInput = {
|
|
488
|
+
create?: Prisma.XOR<Prisma.TestCaseFolderCreateWithoutParentInput, Prisma.TestCaseFolderUncheckedCreateWithoutParentInput> | Prisma.TestCaseFolderCreateWithoutParentInput[] | Prisma.TestCaseFolderUncheckedCreateWithoutParentInput[]
|
|
489
|
+
connectOrCreate?: Prisma.TestCaseFolderCreateOrConnectWithoutParentInput | Prisma.TestCaseFolderCreateOrConnectWithoutParentInput[]
|
|
490
|
+
upsert?: Prisma.TestCaseFolderUpsertWithWhereUniqueWithoutParentInput | Prisma.TestCaseFolderUpsertWithWhereUniqueWithoutParentInput[]
|
|
491
|
+
createMany?: Prisma.TestCaseFolderCreateManyParentInputEnvelope
|
|
492
|
+
set?: Prisma.TestCaseFolderWhereUniqueInput | Prisma.TestCaseFolderWhereUniqueInput[]
|
|
493
|
+
disconnect?: Prisma.TestCaseFolderWhereUniqueInput | Prisma.TestCaseFolderWhereUniqueInput[]
|
|
494
|
+
delete?: Prisma.TestCaseFolderWhereUniqueInput | Prisma.TestCaseFolderWhereUniqueInput[]
|
|
495
|
+
connect?: Prisma.TestCaseFolderWhereUniqueInput | Prisma.TestCaseFolderWhereUniqueInput[]
|
|
496
|
+
update?: Prisma.TestCaseFolderUpdateWithWhereUniqueWithoutParentInput | Prisma.TestCaseFolderUpdateWithWhereUniqueWithoutParentInput[]
|
|
497
|
+
updateMany?: Prisma.TestCaseFolderUpdateManyWithWhereWithoutParentInput | Prisma.TestCaseFolderUpdateManyWithWhereWithoutParentInput[]
|
|
498
|
+
deleteMany?: Prisma.TestCaseFolderScalarWhereInput | Prisma.TestCaseFolderScalarWhereInput[]
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
export type TestCaseFolderCreateWithoutProjectInput = {
|
|
502
|
+
id?: string
|
|
503
|
+
name: string
|
|
504
|
+
position?: number
|
|
505
|
+
parent?: Prisma.TestCaseFolderCreateNestedOneWithoutChildrenInput
|
|
506
|
+
children?: Prisma.TestCaseFolderCreateNestedManyWithoutParentInput
|
|
507
|
+
cases?: Prisma.TestCaseCreateNestedManyWithoutFolderInput
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
export type TestCaseFolderUncheckedCreateWithoutProjectInput = {
|
|
511
|
+
id?: string
|
|
512
|
+
parentId?: string | null
|
|
513
|
+
name: string
|
|
514
|
+
position?: number
|
|
515
|
+
children?: Prisma.TestCaseFolderUncheckedCreateNestedManyWithoutParentInput
|
|
516
|
+
cases?: Prisma.TestCaseUncheckedCreateNestedManyWithoutFolderInput
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
export type TestCaseFolderCreateOrConnectWithoutProjectInput = {
|
|
520
|
+
where: Prisma.TestCaseFolderWhereUniqueInput
|
|
521
|
+
create: Prisma.XOR<Prisma.TestCaseFolderCreateWithoutProjectInput, Prisma.TestCaseFolderUncheckedCreateWithoutProjectInput>
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
export type TestCaseFolderCreateManyProjectInputEnvelope = {
|
|
525
|
+
data: Prisma.TestCaseFolderCreateManyProjectInput | Prisma.TestCaseFolderCreateManyProjectInput[]
|
|
526
|
+
skipDuplicates?: boolean
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
export type TestCaseFolderUpsertWithWhereUniqueWithoutProjectInput = {
|
|
530
|
+
where: Prisma.TestCaseFolderWhereUniqueInput
|
|
531
|
+
update: Prisma.XOR<Prisma.TestCaseFolderUpdateWithoutProjectInput, Prisma.TestCaseFolderUncheckedUpdateWithoutProjectInput>
|
|
532
|
+
create: Prisma.XOR<Prisma.TestCaseFolderCreateWithoutProjectInput, Prisma.TestCaseFolderUncheckedCreateWithoutProjectInput>
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
export type TestCaseFolderUpdateWithWhereUniqueWithoutProjectInput = {
|
|
536
|
+
where: Prisma.TestCaseFolderWhereUniqueInput
|
|
537
|
+
data: Prisma.XOR<Prisma.TestCaseFolderUpdateWithoutProjectInput, Prisma.TestCaseFolderUncheckedUpdateWithoutProjectInput>
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
export type TestCaseFolderUpdateManyWithWhereWithoutProjectInput = {
|
|
541
|
+
where: Prisma.TestCaseFolderScalarWhereInput
|
|
542
|
+
data: Prisma.XOR<Prisma.TestCaseFolderUpdateManyMutationInput, Prisma.TestCaseFolderUncheckedUpdateManyWithoutProjectInput>
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
export type TestCaseFolderScalarWhereInput = {
|
|
546
|
+
AND?: Prisma.TestCaseFolderScalarWhereInput | Prisma.TestCaseFolderScalarWhereInput[]
|
|
547
|
+
OR?: Prisma.TestCaseFolderScalarWhereInput[]
|
|
548
|
+
NOT?: Prisma.TestCaseFolderScalarWhereInput | Prisma.TestCaseFolderScalarWhereInput[]
|
|
549
|
+
id?: Prisma.StringFilter<"TestCaseFolder"> | string
|
|
550
|
+
projectId?: Prisma.StringFilter<"TestCaseFolder"> | string
|
|
551
|
+
parentId?: Prisma.StringNullableFilter<"TestCaseFolder"> | string | null
|
|
552
|
+
name?: Prisma.StringFilter<"TestCaseFolder"> | string
|
|
553
|
+
position?: Prisma.IntFilter<"TestCaseFolder"> | number
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
export type TestCaseFolderCreateWithoutCasesInput = {
|
|
557
|
+
id?: string
|
|
558
|
+
name: string
|
|
559
|
+
position?: number
|
|
560
|
+
project: Prisma.ProjectCreateNestedOneWithoutTestCaseFoldersInput
|
|
561
|
+
parent?: Prisma.TestCaseFolderCreateNestedOneWithoutChildrenInput
|
|
562
|
+
children?: Prisma.TestCaseFolderCreateNestedManyWithoutParentInput
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
export type TestCaseFolderUncheckedCreateWithoutCasesInput = {
|
|
566
|
+
id?: string
|
|
567
|
+
projectId: string
|
|
568
|
+
parentId?: string | null
|
|
569
|
+
name: string
|
|
570
|
+
position?: number
|
|
571
|
+
children?: Prisma.TestCaseFolderUncheckedCreateNestedManyWithoutParentInput
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
export type TestCaseFolderCreateOrConnectWithoutCasesInput = {
|
|
575
|
+
where: Prisma.TestCaseFolderWhereUniqueInput
|
|
576
|
+
create: Prisma.XOR<Prisma.TestCaseFolderCreateWithoutCasesInput, Prisma.TestCaseFolderUncheckedCreateWithoutCasesInput>
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
export type TestCaseFolderUpsertWithoutCasesInput = {
|
|
580
|
+
update: Prisma.XOR<Prisma.TestCaseFolderUpdateWithoutCasesInput, Prisma.TestCaseFolderUncheckedUpdateWithoutCasesInput>
|
|
581
|
+
create: Prisma.XOR<Prisma.TestCaseFolderCreateWithoutCasesInput, Prisma.TestCaseFolderUncheckedCreateWithoutCasesInput>
|
|
582
|
+
where?: Prisma.TestCaseFolderWhereInput
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
export type TestCaseFolderUpdateToOneWithWhereWithoutCasesInput = {
|
|
586
|
+
where?: Prisma.TestCaseFolderWhereInput
|
|
587
|
+
data: Prisma.XOR<Prisma.TestCaseFolderUpdateWithoutCasesInput, Prisma.TestCaseFolderUncheckedUpdateWithoutCasesInput>
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
export type TestCaseFolderUpdateWithoutCasesInput = {
|
|
591
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
592
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
593
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
594
|
+
project?: Prisma.ProjectUpdateOneRequiredWithoutTestCaseFoldersNestedInput
|
|
595
|
+
parent?: Prisma.TestCaseFolderUpdateOneWithoutChildrenNestedInput
|
|
596
|
+
children?: Prisma.TestCaseFolderUpdateManyWithoutParentNestedInput
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
export type TestCaseFolderUncheckedUpdateWithoutCasesInput = {
|
|
600
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
601
|
+
projectId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
602
|
+
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
603
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
604
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
605
|
+
children?: Prisma.TestCaseFolderUncheckedUpdateManyWithoutParentNestedInput
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
export type TestCaseFolderCreateWithoutChildrenInput = {
|
|
609
|
+
id?: string
|
|
610
|
+
name: string
|
|
611
|
+
position?: number
|
|
612
|
+
project: Prisma.ProjectCreateNestedOneWithoutTestCaseFoldersInput
|
|
613
|
+
parent?: Prisma.TestCaseFolderCreateNestedOneWithoutChildrenInput
|
|
614
|
+
cases?: Prisma.TestCaseCreateNestedManyWithoutFolderInput
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
export type TestCaseFolderUncheckedCreateWithoutChildrenInput = {
|
|
618
|
+
id?: string
|
|
619
|
+
projectId: string
|
|
620
|
+
parentId?: string | null
|
|
621
|
+
name: string
|
|
622
|
+
position?: number
|
|
623
|
+
cases?: Prisma.TestCaseUncheckedCreateNestedManyWithoutFolderInput
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
export type TestCaseFolderCreateOrConnectWithoutChildrenInput = {
|
|
627
|
+
where: Prisma.TestCaseFolderWhereUniqueInput
|
|
628
|
+
create: Prisma.XOR<Prisma.TestCaseFolderCreateWithoutChildrenInput, Prisma.TestCaseFolderUncheckedCreateWithoutChildrenInput>
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
export type TestCaseFolderCreateWithoutParentInput = {
|
|
632
|
+
id?: string
|
|
633
|
+
name: string
|
|
634
|
+
position?: number
|
|
635
|
+
project: Prisma.ProjectCreateNestedOneWithoutTestCaseFoldersInput
|
|
636
|
+
children?: Prisma.TestCaseFolderCreateNestedManyWithoutParentInput
|
|
637
|
+
cases?: Prisma.TestCaseCreateNestedManyWithoutFolderInput
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
export type TestCaseFolderUncheckedCreateWithoutParentInput = {
|
|
641
|
+
id?: string
|
|
642
|
+
projectId: string
|
|
643
|
+
name: string
|
|
644
|
+
position?: number
|
|
645
|
+
children?: Prisma.TestCaseFolderUncheckedCreateNestedManyWithoutParentInput
|
|
646
|
+
cases?: Prisma.TestCaseUncheckedCreateNestedManyWithoutFolderInput
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
export type TestCaseFolderCreateOrConnectWithoutParentInput = {
|
|
650
|
+
where: Prisma.TestCaseFolderWhereUniqueInput
|
|
651
|
+
create: Prisma.XOR<Prisma.TestCaseFolderCreateWithoutParentInput, Prisma.TestCaseFolderUncheckedCreateWithoutParentInput>
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
export type TestCaseFolderCreateManyParentInputEnvelope = {
|
|
655
|
+
data: Prisma.TestCaseFolderCreateManyParentInput | Prisma.TestCaseFolderCreateManyParentInput[]
|
|
656
|
+
skipDuplicates?: boolean
|
|
657
|
+
}
|
|
658
|
+
|
|
659
|
+
export type TestCaseFolderUpsertWithoutChildrenInput = {
|
|
660
|
+
update: Prisma.XOR<Prisma.TestCaseFolderUpdateWithoutChildrenInput, Prisma.TestCaseFolderUncheckedUpdateWithoutChildrenInput>
|
|
661
|
+
create: Prisma.XOR<Prisma.TestCaseFolderCreateWithoutChildrenInput, Prisma.TestCaseFolderUncheckedCreateWithoutChildrenInput>
|
|
662
|
+
where?: Prisma.TestCaseFolderWhereInput
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
export type TestCaseFolderUpdateToOneWithWhereWithoutChildrenInput = {
|
|
666
|
+
where?: Prisma.TestCaseFolderWhereInput
|
|
667
|
+
data: Prisma.XOR<Prisma.TestCaseFolderUpdateWithoutChildrenInput, Prisma.TestCaseFolderUncheckedUpdateWithoutChildrenInput>
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
export type TestCaseFolderUpdateWithoutChildrenInput = {
|
|
671
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
672
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
673
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
674
|
+
project?: Prisma.ProjectUpdateOneRequiredWithoutTestCaseFoldersNestedInput
|
|
675
|
+
parent?: Prisma.TestCaseFolderUpdateOneWithoutChildrenNestedInput
|
|
676
|
+
cases?: Prisma.TestCaseUpdateManyWithoutFolderNestedInput
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
export type TestCaseFolderUncheckedUpdateWithoutChildrenInput = {
|
|
680
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
681
|
+
projectId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
682
|
+
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
683
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
684
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
685
|
+
cases?: Prisma.TestCaseUncheckedUpdateManyWithoutFolderNestedInput
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
export type TestCaseFolderUpsertWithWhereUniqueWithoutParentInput = {
|
|
689
|
+
where: Prisma.TestCaseFolderWhereUniqueInput
|
|
690
|
+
update: Prisma.XOR<Prisma.TestCaseFolderUpdateWithoutParentInput, Prisma.TestCaseFolderUncheckedUpdateWithoutParentInput>
|
|
691
|
+
create: Prisma.XOR<Prisma.TestCaseFolderCreateWithoutParentInput, Prisma.TestCaseFolderUncheckedCreateWithoutParentInput>
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
export type TestCaseFolderUpdateWithWhereUniqueWithoutParentInput = {
|
|
695
|
+
where: Prisma.TestCaseFolderWhereUniqueInput
|
|
696
|
+
data: Prisma.XOR<Prisma.TestCaseFolderUpdateWithoutParentInput, Prisma.TestCaseFolderUncheckedUpdateWithoutParentInput>
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
export type TestCaseFolderUpdateManyWithWhereWithoutParentInput = {
|
|
700
|
+
where: Prisma.TestCaseFolderScalarWhereInput
|
|
701
|
+
data: Prisma.XOR<Prisma.TestCaseFolderUpdateManyMutationInput, Prisma.TestCaseFolderUncheckedUpdateManyWithoutParentInput>
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
export type TestCaseFolderCreateManyProjectInput = {
|
|
705
|
+
id?: string
|
|
706
|
+
parentId?: string | null
|
|
707
|
+
name: string
|
|
708
|
+
position?: number
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
export type TestCaseFolderUpdateWithoutProjectInput = {
|
|
712
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
713
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
714
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
715
|
+
parent?: Prisma.TestCaseFolderUpdateOneWithoutChildrenNestedInput
|
|
716
|
+
children?: Prisma.TestCaseFolderUpdateManyWithoutParentNestedInput
|
|
717
|
+
cases?: Prisma.TestCaseUpdateManyWithoutFolderNestedInput
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
export type TestCaseFolderUncheckedUpdateWithoutProjectInput = {
|
|
721
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
722
|
+
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
723
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
724
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
725
|
+
children?: Prisma.TestCaseFolderUncheckedUpdateManyWithoutParentNestedInput
|
|
726
|
+
cases?: Prisma.TestCaseUncheckedUpdateManyWithoutFolderNestedInput
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
export type TestCaseFolderUncheckedUpdateManyWithoutProjectInput = {
|
|
730
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
731
|
+
parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
732
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
733
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
export type TestCaseFolderCreateManyParentInput = {
|
|
737
|
+
id?: string
|
|
738
|
+
projectId: string
|
|
739
|
+
name: string
|
|
740
|
+
position?: number
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
export type TestCaseFolderUpdateWithoutParentInput = {
|
|
744
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
745
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
746
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
747
|
+
project?: Prisma.ProjectUpdateOneRequiredWithoutTestCaseFoldersNestedInput
|
|
748
|
+
children?: Prisma.TestCaseFolderUpdateManyWithoutParentNestedInput
|
|
749
|
+
cases?: Prisma.TestCaseUpdateManyWithoutFolderNestedInput
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
export type TestCaseFolderUncheckedUpdateWithoutParentInput = {
|
|
753
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
754
|
+
projectId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
755
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
756
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
757
|
+
children?: Prisma.TestCaseFolderUncheckedUpdateManyWithoutParentNestedInput
|
|
758
|
+
cases?: Prisma.TestCaseUncheckedUpdateManyWithoutFolderNestedInput
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
export type TestCaseFolderUncheckedUpdateManyWithoutParentInput = {
|
|
762
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
763
|
+
projectId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
764
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
765
|
+
position?: Prisma.IntFieldUpdateOperationsInput | number
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
|
|
769
|
+
/**
|
|
770
|
+
* Count Type TestCaseFolderCountOutputType
|
|
771
|
+
*/
|
|
772
|
+
|
|
773
|
+
export type TestCaseFolderCountOutputType = {
|
|
774
|
+
children: number
|
|
775
|
+
cases: number
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
export type TestCaseFolderCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
779
|
+
children?: boolean | TestCaseFolderCountOutputTypeCountChildrenArgs
|
|
780
|
+
cases?: boolean | TestCaseFolderCountOutputTypeCountCasesArgs
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
/**
|
|
784
|
+
* TestCaseFolderCountOutputType without action
|
|
785
|
+
*/
|
|
786
|
+
export type TestCaseFolderCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
787
|
+
/**
|
|
788
|
+
* Select specific fields to fetch from the TestCaseFolderCountOutputType
|
|
789
|
+
*/
|
|
790
|
+
select?: Prisma.TestCaseFolderCountOutputTypeSelect<ExtArgs> | null
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
/**
|
|
794
|
+
* TestCaseFolderCountOutputType without action
|
|
795
|
+
*/
|
|
796
|
+
export type TestCaseFolderCountOutputTypeCountChildrenArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
797
|
+
where?: Prisma.TestCaseFolderWhereInput
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
/**
|
|
801
|
+
* TestCaseFolderCountOutputType without action
|
|
802
|
+
*/
|
|
803
|
+
export type TestCaseFolderCountOutputTypeCountCasesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
804
|
+
where?: Prisma.TestCaseWhereInput
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
|
|
808
|
+
export type TestCaseFolderSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
809
|
+
id?: boolean
|
|
810
|
+
projectId?: boolean
|
|
811
|
+
parentId?: boolean
|
|
812
|
+
name?: boolean
|
|
813
|
+
position?: boolean
|
|
814
|
+
project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
|
|
815
|
+
parent?: boolean | Prisma.TestCaseFolder$parentArgs<ExtArgs>
|
|
816
|
+
children?: boolean | Prisma.TestCaseFolder$childrenArgs<ExtArgs>
|
|
817
|
+
cases?: boolean | Prisma.TestCaseFolder$casesArgs<ExtArgs>
|
|
818
|
+
_count?: boolean | Prisma.TestCaseFolderCountOutputTypeDefaultArgs<ExtArgs>
|
|
819
|
+
}, ExtArgs["result"]["testCaseFolder"]>
|
|
820
|
+
|
|
821
|
+
export type TestCaseFolderSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
822
|
+
id?: boolean
|
|
823
|
+
projectId?: boolean
|
|
824
|
+
parentId?: boolean
|
|
825
|
+
name?: boolean
|
|
826
|
+
position?: boolean
|
|
827
|
+
project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
|
|
828
|
+
parent?: boolean | Prisma.TestCaseFolder$parentArgs<ExtArgs>
|
|
829
|
+
}, ExtArgs["result"]["testCaseFolder"]>
|
|
830
|
+
|
|
831
|
+
export type TestCaseFolderSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
832
|
+
id?: boolean
|
|
833
|
+
projectId?: boolean
|
|
834
|
+
parentId?: boolean
|
|
835
|
+
name?: boolean
|
|
836
|
+
position?: boolean
|
|
837
|
+
project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
|
|
838
|
+
parent?: boolean | Prisma.TestCaseFolder$parentArgs<ExtArgs>
|
|
839
|
+
}, ExtArgs["result"]["testCaseFolder"]>
|
|
840
|
+
|
|
841
|
+
export type TestCaseFolderSelectScalar = {
|
|
842
|
+
id?: boolean
|
|
843
|
+
projectId?: boolean
|
|
844
|
+
parentId?: boolean
|
|
845
|
+
name?: boolean
|
|
846
|
+
position?: boolean
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
export type TestCaseFolderOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "projectId" | "parentId" | "name" | "position", ExtArgs["result"]["testCaseFolder"]>
|
|
850
|
+
export type TestCaseFolderInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
851
|
+
project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
|
|
852
|
+
parent?: boolean | Prisma.TestCaseFolder$parentArgs<ExtArgs>
|
|
853
|
+
children?: boolean | Prisma.TestCaseFolder$childrenArgs<ExtArgs>
|
|
854
|
+
cases?: boolean | Prisma.TestCaseFolder$casesArgs<ExtArgs>
|
|
855
|
+
_count?: boolean | Prisma.TestCaseFolderCountOutputTypeDefaultArgs<ExtArgs>
|
|
856
|
+
}
|
|
857
|
+
export type TestCaseFolderIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
858
|
+
project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
|
|
859
|
+
parent?: boolean | Prisma.TestCaseFolder$parentArgs<ExtArgs>
|
|
860
|
+
}
|
|
861
|
+
export type TestCaseFolderIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
862
|
+
project?: boolean | Prisma.ProjectDefaultArgs<ExtArgs>
|
|
863
|
+
parent?: boolean | Prisma.TestCaseFolder$parentArgs<ExtArgs>
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
export type $TestCaseFolderPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
867
|
+
name: "TestCaseFolder"
|
|
868
|
+
objects: {
|
|
869
|
+
project: Prisma.$ProjectPayload<ExtArgs>
|
|
870
|
+
parent: Prisma.$TestCaseFolderPayload<ExtArgs> | null
|
|
871
|
+
children: Prisma.$TestCaseFolderPayload<ExtArgs>[]
|
|
872
|
+
cases: Prisma.$TestCasePayload<ExtArgs>[]
|
|
873
|
+
}
|
|
874
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
875
|
+
id: string
|
|
876
|
+
projectId: string
|
|
877
|
+
parentId: string | null
|
|
878
|
+
name: string
|
|
879
|
+
position: number
|
|
880
|
+
}, ExtArgs["result"]["testCaseFolder"]>
|
|
881
|
+
composites: {}
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
export type TestCaseFolderGetPayload<S extends boolean | null | undefined | TestCaseFolderDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$TestCaseFolderPayload, S>
|
|
885
|
+
|
|
886
|
+
export type TestCaseFolderCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
887
|
+
Omit<TestCaseFolderFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
888
|
+
select?: TestCaseFolderCountAggregateInputType | true
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
export interface TestCaseFolderDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
892
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['TestCaseFolder'], meta: { name: 'TestCaseFolder' } }
|
|
893
|
+
/**
|
|
894
|
+
* Find zero or one TestCaseFolder that matches the filter.
|
|
895
|
+
* @param {TestCaseFolderFindUniqueArgs} args - Arguments to find a TestCaseFolder
|
|
896
|
+
* @example
|
|
897
|
+
* // Get one TestCaseFolder
|
|
898
|
+
* const testCaseFolder = await prisma.testCaseFolder.findUnique({
|
|
899
|
+
* where: {
|
|
900
|
+
* // ... provide filter here
|
|
901
|
+
* }
|
|
902
|
+
* })
|
|
903
|
+
*/
|
|
904
|
+
findUnique<T extends TestCaseFolderFindUniqueArgs>(args: Prisma.SelectSubset<T, TestCaseFolderFindUniqueArgs<ExtArgs>>): Prisma.Prisma__TestCaseFolderClient<runtime.Types.Result.GetResult<Prisma.$TestCaseFolderPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
905
|
+
|
|
906
|
+
/**
|
|
907
|
+
* Find one TestCaseFolder that matches the filter or throw an error with `error.code='P2025'`
|
|
908
|
+
* if no matches were found.
|
|
909
|
+
* @param {TestCaseFolderFindUniqueOrThrowArgs} args - Arguments to find a TestCaseFolder
|
|
910
|
+
* @example
|
|
911
|
+
* // Get one TestCaseFolder
|
|
912
|
+
* const testCaseFolder = await prisma.testCaseFolder.findUniqueOrThrow({
|
|
913
|
+
* where: {
|
|
914
|
+
* // ... provide filter here
|
|
915
|
+
* }
|
|
916
|
+
* })
|
|
917
|
+
*/
|
|
918
|
+
findUniqueOrThrow<T extends TestCaseFolderFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, TestCaseFolderFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__TestCaseFolderClient<runtime.Types.Result.GetResult<Prisma.$TestCaseFolderPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
919
|
+
|
|
920
|
+
/**
|
|
921
|
+
* Find the first TestCaseFolder that matches the filter.
|
|
922
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
923
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
924
|
+
* @param {TestCaseFolderFindFirstArgs} args - Arguments to find a TestCaseFolder
|
|
925
|
+
* @example
|
|
926
|
+
* // Get one TestCaseFolder
|
|
927
|
+
* const testCaseFolder = await prisma.testCaseFolder.findFirst({
|
|
928
|
+
* where: {
|
|
929
|
+
* // ... provide filter here
|
|
930
|
+
* }
|
|
931
|
+
* })
|
|
932
|
+
*/
|
|
933
|
+
findFirst<T extends TestCaseFolderFindFirstArgs>(args?: Prisma.SelectSubset<T, TestCaseFolderFindFirstArgs<ExtArgs>>): Prisma.Prisma__TestCaseFolderClient<runtime.Types.Result.GetResult<Prisma.$TestCaseFolderPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
934
|
+
|
|
935
|
+
/**
|
|
936
|
+
* Find the first TestCaseFolder that matches the filter or
|
|
937
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
938
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
939
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
940
|
+
* @param {TestCaseFolderFindFirstOrThrowArgs} args - Arguments to find a TestCaseFolder
|
|
941
|
+
* @example
|
|
942
|
+
* // Get one TestCaseFolder
|
|
943
|
+
* const testCaseFolder = await prisma.testCaseFolder.findFirstOrThrow({
|
|
944
|
+
* where: {
|
|
945
|
+
* // ... provide filter here
|
|
946
|
+
* }
|
|
947
|
+
* })
|
|
948
|
+
*/
|
|
949
|
+
findFirstOrThrow<T extends TestCaseFolderFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, TestCaseFolderFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__TestCaseFolderClient<runtime.Types.Result.GetResult<Prisma.$TestCaseFolderPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
950
|
+
|
|
951
|
+
/**
|
|
952
|
+
* Find zero or more TestCaseFolders that matches the filter.
|
|
953
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
954
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
955
|
+
* @param {TestCaseFolderFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
956
|
+
* @example
|
|
957
|
+
* // Get all TestCaseFolders
|
|
958
|
+
* const testCaseFolders = await prisma.testCaseFolder.findMany()
|
|
959
|
+
*
|
|
960
|
+
* // Get first 10 TestCaseFolders
|
|
961
|
+
* const testCaseFolders = await prisma.testCaseFolder.findMany({ take: 10 })
|
|
962
|
+
*
|
|
963
|
+
* // Only select the `id`
|
|
964
|
+
* const testCaseFolderWithIdOnly = await prisma.testCaseFolder.findMany({ select: { id: true } })
|
|
965
|
+
*
|
|
966
|
+
*/
|
|
967
|
+
findMany<T extends TestCaseFolderFindManyArgs>(args?: Prisma.SelectSubset<T, TestCaseFolderFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TestCaseFolderPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
968
|
+
|
|
969
|
+
/**
|
|
970
|
+
* Create a TestCaseFolder.
|
|
971
|
+
* @param {TestCaseFolderCreateArgs} args - Arguments to create a TestCaseFolder.
|
|
972
|
+
* @example
|
|
973
|
+
* // Create one TestCaseFolder
|
|
974
|
+
* const TestCaseFolder = await prisma.testCaseFolder.create({
|
|
975
|
+
* data: {
|
|
976
|
+
* // ... data to create a TestCaseFolder
|
|
977
|
+
* }
|
|
978
|
+
* })
|
|
979
|
+
*
|
|
980
|
+
*/
|
|
981
|
+
create<T extends TestCaseFolderCreateArgs>(args: Prisma.SelectSubset<T, TestCaseFolderCreateArgs<ExtArgs>>): Prisma.Prisma__TestCaseFolderClient<runtime.Types.Result.GetResult<Prisma.$TestCaseFolderPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
982
|
+
|
|
983
|
+
/**
|
|
984
|
+
* Create many TestCaseFolders.
|
|
985
|
+
* @param {TestCaseFolderCreateManyArgs} args - Arguments to create many TestCaseFolders.
|
|
986
|
+
* @example
|
|
987
|
+
* // Create many TestCaseFolders
|
|
988
|
+
* const testCaseFolder = await prisma.testCaseFolder.createMany({
|
|
989
|
+
* data: [
|
|
990
|
+
* // ... provide data here
|
|
991
|
+
* ]
|
|
992
|
+
* })
|
|
993
|
+
*
|
|
994
|
+
*/
|
|
995
|
+
createMany<T extends TestCaseFolderCreateManyArgs>(args?: Prisma.SelectSubset<T, TestCaseFolderCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
996
|
+
|
|
997
|
+
/**
|
|
998
|
+
* Create many TestCaseFolders and returns the data saved in the database.
|
|
999
|
+
* @param {TestCaseFolderCreateManyAndReturnArgs} args - Arguments to create many TestCaseFolders.
|
|
1000
|
+
* @example
|
|
1001
|
+
* // Create many TestCaseFolders
|
|
1002
|
+
* const testCaseFolder = await prisma.testCaseFolder.createManyAndReturn({
|
|
1003
|
+
* data: [
|
|
1004
|
+
* // ... provide data here
|
|
1005
|
+
* ]
|
|
1006
|
+
* })
|
|
1007
|
+
*
|
|
1008
|
+
* // Create many TestCaseFolders and only return the `id`
|
|
1009
|
+
* const testCaseFolderWithIdOnly = await prisma.testCaseFolder.createManyAndReturn({
|
|
1010
|
+
* select: { id: true },
|
|
1011
|
+
* data: [
|
|
1012
|
+
* // ... provide data here
|
|
1013
|
+
* ]
|
|
1014
|
+
* })
|
|
1015
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1016
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1017
|
+
*
|
|
1018
|
+
*/
|
|
1019
|
+
createManyAndReturn<T extends TestCaseFolderCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, TestCaseFolderCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TestCaseFolderPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1020
|
+
|
|
1021
|
+
/**
|
|
1022
|
+
* Delete a TestCaseFolder.
|
|
1023
|
+
* @param {TestCaseFolderDeleteArgs} args - Arguments to delete one TestCaseFolder.
|
|
1024
|
+
* @example
|
|
1025
|
+
* // Delete one TestCaseFolder
|
|
1026
|
+
* const TestCaseFolder = await prisma.testCaseFolder.delete({
|
|
1027
|
+
* where: {
|
|
1028
|
+
* // ... filter to delete one TestCaseFolder
|
|
1029
|
+
* }
|
|
1030
|
+
* })
|
|
1031
|
+
*
|
|
1032
|
+
*/
|
|
1033
|
+
delete<T extends TestCaseFolderDeleteArgs>(args: Prisma.SelectSubset<T, TestCaseFolderDeleteArgs<ExtArgs>>): Prisma.Prisma__TestCaseFolderClient<runtime.Types.Result.GetResult<Prisma.$TestCaseFolderPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1034
|
+
|
|
1035
|
+
/**
|
|
1036
|
+
* Update one TestCaseFolder.
|
|
1037
|
+
* @param {TestCaseFolderUpdateArgs} args - Arguments to update one TestCaseFolder.
|
|
1038
|
+
* @example
|
|
1039
|
+
* // Update one TestCaseFolder
|
|
1040
|
+
* const testCaseFolder = await prisma.testCaseFolder.update({
|
|
1041
|
+
* where: {
|
|
1042
|
+
* // ... provide filter here
|
|
1043
|
+
* },
|
|
1044
|
+
* data: {
|
|
1045
|
+
* // ... provide data here
|
|
1046
|
+
* }
|
|
1047
|
+
* })
|
|
1048
|
+
*
|
|
1049
|
+
*/
|
|
1050
|
+
update<T extends TestCaseFolderUpdateArgs>(args: Prisma.SelectSubset<T, TestCaseFolderUpdateArgs<ExtArgs>>): Prisma.Prisma__TestCaseFolderClient<runtime.Types.Result.GetResult<Prisma.$TestCaseFolderPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1051
|
+
|
|
1052
|
+
/**
|
|
1053
|
+
* Delete zero or more TestCaseFolders.
|
|
1054
|
+
* @param {TestCaseFolderDeleteManyArgs} args - Arguments to filter TestCaseFolders to delete.
|
|
1055
|
+
* @example
|
|
1056
|
+
* // Delete a few TestCaseFolders
|
|
1057
|
+
* const { count } = await prisma.testCaseFolder.deleteMany({
|
|
1058
|
+
* where: {
|
|
1059
|
+
* // ... provide filter here
|
|
1060
|
+
* }
|
|
1061
|
+
* })
|
|
1062
|
+
*
|
|
1063
|
+
*/
|
|
1064
|
+
deleteMany<T extends TestCaseFolderDeleteManyArgs>(args?: Prisma.SelectSubset<T, TestCaseFolderDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1065
|
+
|
|
1066
|
+
/**
|
|
1067
|
+
* Update zero or more TestCaseFolders.
|
|
1068
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1069
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1070
|
+
* @param {TestCaseFolderUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1071
|
+
* @example
|
|
1072
|
+
* // Update many TestCaseFolders
|
|
1073
|
+
* const testCaseFolder = await prisma.testCaseFolder.updateMany({
|
|
1074
|
+
* where: {
|
|
1075
|
+
* // ... provide filter here
|
|
1076
|
+
* },
|
|
1077
|
+
* data: {
|
|
1078
|
+
* // ... provide data here
|
|
1079
|
+
* }
|
|
1080
|
+
* })
|
|
1081
|
+
*
|
|
1082
|
+
*/
|
|
1083
|
+
updateMany<T extends TestCaseFolderUpdateManyArgs>(args: Prisma.SelectSubset<T, TestCaseFolderUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1084
|
+
|
|
1085
|
+
/**
|
|
1086
|
+
* Update zero or more TestCaseFolders and returns the data updated in the database.
|
|
1087
|
+
* @param {TestCaseFolderUpdateManyAndReturnArgs} args - Arguments to update many TestCaseFolders.
|
|
1088
|
+
* @example
|
|
1089
|
+
* // Update many TestCaseFolders
|
|
1090
|
+
* const testCaseFolder = await prisma.testCaseFolder.updateManyAndReturn({
|
|
1091
|
+
* where: {
|
|
1092
|
+
* // ... provide filter here
|
|
1093
|
+
* },
|
|
1094
|
+
* data: [
|
|
1095
|
+
* // ... provide data here
|
|
1096
|
+
* ]
|
|
1097
|
+
* })
|
|
1098
|
+
*
|
|
1099
|
+
* // Update zero or more TestCaseFolders and only return the `id`
|
|
1100
|
+
* const testCaseFolderWithIdOnly = await prisma.testCaseFolder.updateManyAndReturn({
|
|
1101
|
+
* select: { id: true },
|
|
1102
|
+
* where: {
|
|
1103
|
+
* // ... provide filter here
|
|
1104
|
+
* },
|
|
1105
|
+
* data: [
|
|
1106
|
+
* // ... provide data here
|
|
1107
|
+
* ]
|
|
1108
|
+
* })
|
|
1109
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1110
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1111
|
+
*
|
|
1112
|
+
*/
|
|
1113
|
+
updateManyAndReturn<T extends TestCaseFolderUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, TestCaseFolderUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TestCaseFolderPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1114
|
+
|
|
1115
|
+
/**
|
|
1116
|
+
* Create or update one TestCaseFolder.
|
|
1117
|
+
* @param {TestCaseFolderUpsertArgs} args - Arguments to update or create a TestCaseFolder.
|
|
1118
|
+
* @example
|
|
1119
|
+
* // Update or create a TestCaseFolder
|
|
1120
|
+
* const testCaseFolder = await prisma.testCaseFolder.upsert({
|
|
1121
|
+
* create: {
|
|
1122
|
+
* // ... data to create a TestCaseFolder
|
|
1123
|
+
* },
|
|
1124
|
+
* update: {
|
|
1125
|
+
* // ... in case it already exists, update
|
|
1126
|
+
* },
|
|
1127
|
+
* where: {
|
|
1128
|
+
* // ... the filter for the TestCaseFolder we want to update
|
|
1129
|
+
* }
|
|
1130
|
+
* })
|
|
1131
|
+
*/
|
|
1132
|
+
upsert<T extends TestCaseFolderUpsertArgs>(args: Prisma.SelectSubset<T, TestCaseFolderUpsertArgs<ExtArgs>>): Prisma.Prisma__TestCaseFolderClient<runtime.Types.Result.GetResult<Prisma.$TestCaseFolderPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1133
|
+
|
|
1134
|
+
|
|
1135
|
+
/**
|
|
1136
|
+
* Count the number of TestCaseFolders.
|
|
1137
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1138
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1139
|
+
* @param {TestCaseFolderCountArgs} args - Arguments to filter TestCaseFolders to count.
|
|
1140
|
+
* @example
|
|
1141
|
+
* // Count the number of TestCaseFolders
|
|
1142
|
+
* const count = await prisma.testCaseFolder.count({
|
|
1143
|
+
* where: {
|
|
1144
|
+
* // ... the filter for the TestCaseFolders we want to count
|
|
1145
|
+
* }
|
|
1146
|
+
* })
|
|
1147
|
+
**/
|
|
1148
|
+
count<T extends TestCaseFolderCountArgs>(
|
|
1149
|
+
args?: Prisma.Subset<T, TestCaseFolderCountArgs>,
|
|
1150
|
+
): Prisma.PrismaPromise<
|
|
1151
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
1152
|
+
? T['select'] extends true
|
|
1153
|
+
? number
|
|
1154
|
+
: Prisma.GetScalarType<T['select'], TestCaseFolderCountAggregateOutputType>
|
|
1155
|
+
: number
|
|
1156
|
+
>
|
|
1157
|
+
|
|
1158
|
+
/**
|
|
1159
|
+
* Allows you to perform aggregations operations on a TestCaseFolder.
|
|
1160
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1161
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1162
|
+
* @param {TestCaseFolderAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1163
|
+
* @example
|
|
1164
|
+
* // Ordered by age ascending
|
|
1165
|
+
* // Where email contains prisma.io
|
|
1166
|
+
* // Limited to the 10 users
|
|
1167
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1168
|
+
* _avg: {
|
|
1169
|
+
* age: true,
|
|
1170
|
+
* },
|
|
1171
|
+
* where: {
|
|
1172
|
+
* email: {
|
|
1173
|
+
* contains: "prisma.io",
|
|
1174
|
+
* },
|
|
1175
|
+
* },
|
|
1176
|
+
* orderBy: {
|
|
1177
|
+
* age: "asc",
|
|
1178
|
+
* },
|
|
1179
|
+
* take: 10,
|
|
1180
|
+
* })
|
|
1181
|
+
**/
|
|
1182
|
+
aggregate<T extends TestCaseFolderAggregateArgs>(args: Prisma.Subset<T, TestCaseFolderAggregateArgs>): Prisma.PrismaPromise<GetTestCaseFolderAggregateType<T>>
|
|
1183
|
+
|
|
1184
|
+
/**
|
|
1185
|
+
* Group by TestCaseFolder.
|
|
1186
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1187
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1188
|
+
* @param {TestCaseFolderGroupByArgs} args - Group by arguments.
|
|
1189
|
+
* @example
|
|
1190
|
+
* // Group by city, order by createdAt, get count
|
|
1191
|
+
* const result = await prisma.user.groupBy({
|
|
1192
|
+
* by: ['city', 'createdAt'],
|
|
1193
|
+
* orderBy: {
|
|
1194
|
+
* createdAt: true
|
|
1195
|
+
* },
|
|
1196
|
+
* _count: {
|
|
1197
|
+
* _all: true
|
|
1198
|
+
* },
|
|
1199
|
+
* })
|
|
1200
|
+
*
|
|
1201
|
+
**/
|
|
1202
|
+
groupBy<
|
|
1203
|
+
T extends TestCaseFolderGroupByArgs,
|
|
1204
|
+
HasSelectOrTake extends Prisma.Or<
|
|
1205
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1206
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1207
|
+
>,
|
|
1208
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1209
|
+
? { orderBy: TestCaseFolderGroupByArgs['orderBy'] }
|
|
1210
|
+
: { orderBy?: TestCaseFolderGroupByArgs['orderBy'] },
|
|
1211
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1212
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1213
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1214
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1215
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1216
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1217
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
1218
|
+
? `Error: "by" must not be empty.`
|
|
1219
|
+
: HavingValid extends Prisma.False
|
|
1220
|
+
? {
|
|
1221
|
+
[P in HavingFields]: P extends ByFields
|
|
1222
|
+
? never
|
|
1223
|
+
: P extends string
|
|
1224
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1225
|
+
: [
|
|
1226
|
+
Error,
|
|
1227
|
+
'Field ',
|
|
1228
|
+
P,
|
|
1229
|
+
` in "having" needs to be provided in "by"`,
|
|
1230
|
+
]
|
|
1231
|
+
}[HavingFields]
|
|
1232
|
+
: 'take' extends Prisma.Keys<T>
|
|
1233
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1234
|
+
? ByValid extends Prisma.True
|
|
1235
|
+
? {}
|
|
1236
|
+
: {
|
|
1237
|
+
[P in OrderFields]: P extends ByFields
|
|
1238
|
+
? never
|
|
1239
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1240
|
+
}[OrderFields]
|
|
1241
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1242
|
+
: 'skip' extends Prisma.Keys<T>
|
|
1243
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1244
|
+
? ByValid extends Prisma.True
|
|
1245
|
+
? {}
|
|
1246
|
+
: {
|
|
1247
|
+
[P in OrderFields]: P extends ByFields
|
|
1248
|
+
? never
|
|
1249
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1250
|
+
}[OrderFields]
|
|
1251
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1252
|
+
: ByValid extends Prisma.True
|
|
1253
|
+
? {}
|
|
1254
|
+
: {
|
|
1255
|
+
[P in OrderFields]: P extends ByFields
|
|
1256
|
+
? never
|
|
1257
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1258
|
+
}[OrderFields]
|
|
1259
|
+
>(args: Prisma.SubsetIntersection<T, TestCaseFolderGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTestCaseFolderGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1260
|
+
/**
|
|
1261
|
+
* Fields of the TestCaseFolder model
|
|
1262
|
+
*/
|
|
1263
|
+
readonly fields: TestCaseFolderFieldRefs;
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
/**
|
|
1267
|
+
* The delegate class that acts as a "Promise-like" for TestCaseFolder.
|
|
1268
|
+
* Why is this prefixed with `Prisma__`?
|
|
1269
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1270
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1271
|
+
*/
|
|
1272
|
+
export interface Prisma__TestCaseFolderClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1273
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1274
|
+
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>
|
|
1275
|
+
parent<T extends Prisma.TestCaseFolder$parentArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TestCaseFolder$parentArgs<ExtArgs>>): Prisma.Prisma__TestCaseFolderClient<runtime.Types.Result.GetResult<Prisma.$TestCaseFolderPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1276
|
+
children<T extends Prisma.TestCaseFolder$childrenArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TestCaseFolder$childrenArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TestCaseFolderPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1277
|
+
cases<T extends Prisma.TestCaseFolder$casesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TestCaseFolder$casesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TestCasePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1278
|
+
/**
|
|
1279
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1280
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1281
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1282
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1283
|
+
*/
|
|
1284
|
+
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>
|
|
1285
|
+
/**
|
|
1286
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1287
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1288
|
+
* @returns A Promise for the completion of the callback.
|
|
1289
|
+
*/
|
|
1290
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1291
|
+
/**
|
|
1292
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1293
|
+
* resolved value cannot be modified from the callback.
|
|
1294
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1295
|
+
* @returns A Promise for the completion of the callback.
|
|
1296
|
+
*/
|
|
1297
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
|
|
1301
|
+
|
|
1302
|
+
|
|
1303
|
+
/**
|
|
1304
|
+
* Fields of the TestCaseFolder model
|
|
1305
|
+
*/
|
|
1306
|
+
export interface TestCaseFolderFieldRefs {
|
|
1307
|
+
readonly id: Prisma.FieldRef<"TestCaseFolder", 'String'>
|
|
1308
|
+
readonly projectId: Prisma.FieldRef<"TestCaseFolder", 'String'>
|
|
1309
|
+
readonly parentId: Prisma.FieldRef<"TestCaseFolder", 'String'>
|
|
1310
|
+
readonly name: Prisma.FieldRef<"TestCaseFolder", 'String'>
|
|
1311
|
+
readonly position: Prisma.FieldRef<"TestCaseFolder", 'Int'>
|
|
1312
|
+
}
|
|
1313
|
+
|
|
1314
|
+
|
|
1315
|
+
// Custom InputTypes
|
|
1316
|
+
/**
|
|
1317
|
+
* TestCaseFolder findUnique
|
|
1318
|
+
*/
|
|
1319
|
+
export type TestCaseFolderFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1320
|
+
/**
|
|
1321
|
+
* Select specific fields to fetch from the TestCaseFolder
|
|
1322
|
+
*/
|
|
1323
|
+
select?: Prisma.TestCaseFolderSelect<ExtArgs> | null
|
|
1324
|
+
/**
|
|
1325
|
+
* Omit specific fields from the TestCaseFolder
|
|
1326
|
+
*/
|
|
1327
|
+
omit?: Prisma.TestCaseFolderOmit<ExtArgs> | null
|
|
1328
|
+
/**
|
|
1329
|
+
* Choose, which related nodes to fetch as well
|
|
1330
|
+
*/
|
|
1331
|
+
include?: Prisma.TestCaseFolderInclude<ExtArgs> | null
|
|
1332
|
+
/**
|
|
1333
|
+
* Filter, which TestCaseFolder to fetch.
|
|
1334
|
+
*/
|
|
1335
|
+
where: Prisma.TestCaseFolderWhereUniqueInput
|
|
1336
|
+
}
|
|
1337
|
+
|
|
1338
|
+
/**
|
|
1339
|
+
* TestCaseFolder findUniqueOrThrow
|
|
1340
|
+
*/
|
|
1341
|
+
export type TestCaseFolderFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1342
|
+
/**
|
|
1343
|
+
* Select specific fields to fetch from the TestCaseFolder
|
|
1344
|
+
*/
|
|
1345
|
+
select?: Prisma.TestCaseFolderSelect<ExtArgs> | null
|
|
1346
|
+
/**
|
|
1347
|
+
* Omit specific fields from the TestCaseFolder
|
|
1348
|
+
*/
|
|
1349
|
+
omit?: Prisma.TestCaseFolderOmit<ExtArgs> | null
|
|
1350
|
+
/**
|
|
1351
|
+
* Choose, which related nodes to fetch as well
|
|
1352
|
+
*/
|
|
1353
|
+
include?: Prisma.TestCaseFolderInclude<ExtArgs> | null
|
|
1354
|
+
/**
|
|
1355
|
+
* Filter, which TestCaseFolder to fetch.
|
|
1356
|
+
*/
|
|
1357
|
+
where: Prisma.TestCaseFolderWhereUniqueInput
|
|
1358
|
+
}
|
|
1359
|
+
|
|
1360
|
+
/**
|
|
1361
|
+
* TestCaseFolder findFirst
|
|
1362
|
+
*/
|
|
1363
|
+
export type TestCaseFolderFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1364
|
+
/**
|
|
1365
|
+
* Select specific fields to fetch from the TestCaseFolder
|
|
1366
|
+
*/
|
|
1367
|
+
select?: Prisma.TestCaseFolderSelect<ExtArgs> | null
|
|
1368
|
+
/**
|
|
1369
|
+
* Omit specific fields from the TestCaseFolder
|
|
1370
|
+
*/
|
|
1371
|
+
omit?: Prisma.TestCaseFolderOmit<ExtArgs> | null
|
|
1372
|
+
/**
|
|
1373
|
+
* Choose, which related nodes to fetch as well
|
|
1374
|
+
*/
|
|
1375
|
+
include?: Prisma.TestCaseFolderInclude<ExtArgs> | null
|
|
1376
|
+
/**
|
|
1377
|
+
* Filter, which TestCaseFolder to fetch.
|
|
1378
|
+
*/
|
|
1379
|
+
where?: Prisma.TestCaseFolderWhereInput
|
|
1380
|
+
/**
|
|
1381
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1382
|
+
*
|
|
1383
|
+
* Determine the order of TestCaseFolders to fetch.
|
|
1384
|
+
*/
|
|
1385
|
+
orderBy?: Prisma.TestCaseFolderOrderByWithRelationInput | Prisma.TestCaseFolderOrderByWithRelationInput[]
|
|
1386
|
+
/**
|
|
1387
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1388
|
+
*
|
|
1389
|
+
* Sets the position for searching for TestCaseFolders.
|
|
1390
|
+
*/
|
|
1391
|
+
cursor?: Prisma.TestCaseFolderWhereUniqueInput
|
|
1392
|
+
/**
|
|
1393
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1394
|
+
*
|
|
1395
|
+
* Take `±n` TestCaseFolders from the position of the cursor.
|
|
1396
|
+
*/
|
|
1397
|
+
take?: number
|
|
1398
|
+
/**
|
|
1399
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1400
|
+
*
|
|
1401
|
+
* Skip the first `n` TestCaseFolders.
|
|
1402
|
+
*/
|
|
1403
|
+
skip?: number
|
|
1404
|
+
/**
|
|
1405
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1406
|
+
*
|
|
1407
|
+
* Filter by unique combinations of TestCaseFolders.
|
|
1408
|
+
*/
|
|
1409
|
+
distinct?: Prisma.TestCaseFolderScalarFieldEnum | Prisma.TestCaseFolderScalarFieldEnum[]
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1412
|
+
/**
|
|
1413
|
+
* TestCaseFolder findFirstOrThrow
|
|
1414
|
+
*/
|
|
1415
|
+
export type TestCaseFolderFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1416
|
+
/**
|
|
1417
|
+
* Select specific fields to fetch from the TestCaseFolder
|
|
1418
|
+
*/
|
|
1419
|
+
select?: Prisma.TestCaseFolderSelect<ExtArgs> | null
|
|
1420
|
+
/**
|
|
1421
|
+
* Omit specific fields from the TestCaseFolder
|
|
1422
|
+
*/
|
|
1423
|
+
omit?: Prisma.TestCaseFolderOmit<ExtArgs> | null
|
|
1424
|
+
/**
|
|
1425
|
+
* Choose, which related nodes to fetch as well
|
|
1426
|
+
*/
|
|
1427
|
+
include?: Prisma.TestCaseFolderInclude<ExtArgs> | null
|
|
1428
|
+
/**
|
|
1429
|
+
* Filter, which TestCaseFolder to fetch.
|
|
1430
|
+
*/
|
|
1431
|
+
where?: Prisma.TestCaseFolderWhereInput
|
|
1432
|
+
/**
|
|
1433
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1434
|
+
*
|
|
1435
|
+
* Determine the order of TestCaseFolders to fetch.
|
|
1436
|
+
*/
|
|
1437
|
+
orderBy?: Prisma.TestCaseFolderOrderByWithRelationInput | Prisma.TestCaseFolderOrderByWithRelationInput[]
|
|
1438
|
+
/**
|
|
1439
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1440
|
+
*
|
|
1441
|
+
* Sets the position for searching for TestCaseFolders.
|
|
1442
|
+
*/
|
|
1443
|
+
cursor?: Prisma.TestCaseFolderWhereUniqueInput
|
|
1444
|
+
/**
|
|
1445
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1446
|
+
*
|
|
1447
|
+
* Take `±n` TestCaseFolders from the position of the cursor.
|
|
1448
|
+
*/
|
|
1449
|
+
take?: number
|
|
1450
|
+
/**
|
|
1451
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1452
|
+
*
|
|
1453
|
+
* Skip the first `n` TestCaseFolders.
|
|
1454
|
+
*/
|
|
1455
|
+
skip?: number
|
|
1456
|
+
/**
|
|
1457
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1458
|
+
*
|
|
1459
|
+
* Filter by unique combinations of TestCaseFolders.
|
|
1460
|
+
*/
|
|
1461
|
+
distinct?: Prisma.TestCaseFolderScalarFieldEnum | Prisma.TestCaseFolderScalarFieldEnum[]
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
/**
|
|
1465
|
+
* TestCaseFolder findMany
|
|
1466
|
+
*/
|
|
1467
|
+
export type TestCaseFolderFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1468
|
+
/**
|
|
1469
|
+
* Select specific fields to fetch from the TestCaseFolder
|
|
1470
|
+
*/
|
|
1471
|
+
select?: Prisma.TestCaseFolderSelect<ExtArgs> | null
|
|
1472
|
+
/**
|
|
1473
|
+
* Omit specific fields from the TestCaseFolder
|
|
1474
|
+
*/
|
|
1475
|
+
omit?: Prisma.TestCaseFolderOmit<ExtArgs> | null
|
|
1476
|
+
/**
|
|
1477
|
+
* Choose, which related nodes to fetch as well
|
|
1478
|
+
*/
|
|
1479
|
+
include?: Prisma.TestCaseFolderInclude<ExtArgs> | null
|
|
1480
|
+
/**
|
|
1481
|
+
* Filter, which TestCaseFolders to fetch.
|
|
1482
|
+
*/
|
|
1483
|
+
where?: Prisma.TestCaseFolderWhereInput
|
|
1484
|
+
/**
|
|
1485
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1486
|
+
*
|
|
1487
|
+
* Determine the order of TestCaseFolders to fetch.
|
|
1488
|
+
*/
|
|
1489
|
+
orderBy?: Prisma.TestCaseFolderOrderByWithRelationInput | Prisma.TestCaseFolderOrderByWithRelationInput[]
|
|
1490
|
+
/**
|
|
1491
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1492
|
+
*
|
|
1493
|
+
* Sets the position for listing TestCaseFolders.
|
|
1494
|
+
*/
|
|
1495
|
+
cursor?: Prisma.TestCaseFolderWhereUniqueInput
|
|
1496
|
+
/**
|
|
1497
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1498
|
+
*
|
|
1499
|
+
* Take `±n` TestCaseFolders from the position of the cursor.
|
|
1500
|
+
*/
|
|
1501
|
+
take?: number
|
|
1502
|
+
/**
|
|
1503
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1504
|
+
*
|
|
1505
|
+
* Skip the first `n` TestCaseFolders.
|
|
1506
|
+
*/
|
|
1507
|
+
skip?: number
|
|
1508
|
+
/**
|
|
1509
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1510
|
+
*
|
|
1511
|
+
* Filter by unique combinations of TestCaseFolders.
|
|
1512
|
+
*/
|
|
1513
|
+
distinct?: Prisma.TestCaseFolderScalarFieldEnum | Prisma.TestCaseFolderScalarFieldEnum[]
|
|
1514
|
+
}
|
|
1515
|
+
|
|
1516
|
+
/**
|
|
1517
|
+
* TestCaseFolder create
|
|
1518
|
+
*/
|
|
1519
|
+
export type TestCaseFolderCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1520
|
+
/**
|
|
1521
|
+
* Select specific fields to fetch from the TestCaseFolder
|
|
1522
|
+
*/
|
|
1523
|
+
select?: Prisma.TestCaseFolderSelect<ExtArgs> | null
|
|
1524
|
+
/**
|
|
1525
|
+
* Omit specific fields from the TestCaseFolder
|
|
1526
|
+
*/
|
|
1527
|
+
omit?: Prisma.TestCaseFolderOmit<ExtArgs> | null
|
|
1528
|
+
/**
|
|
1529
|
+
* Choose, which related nodes to fetch as well
|
|
1530
|
+
*/
|
|
1531
|
+
include?: Prisma.TestCaseFolderInclude<ExtArgs> | null
|
|
1532
|
+
/**
|
|
1533
|
+
* The data needed to create a TestCaseFolder.
|
|
1534
|
+
*/
|
|
1535
|
+
data: Prisma.XOR<Prisma.TestCaseFolderCreateInput, Prisma.TestCaseFolderUncheckedCreateInput>
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
/**
|
|
1539
|
+
* TestCaseFolder createMany
|
|
1540
|
+
*/
|
|
1541
|
+
export type TestCaseFolderCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1542
|
+
/**
|
|
1543
|
+
* The data used to create many TestCaseFolders.
|
|
1544
|
+
*/
|
|
1545
|
+
data: Prisma.TestCaseFolderCreateManyInput | Prisma.TestCaseFolderCreateManyInput[]
|
|
1546
|
+
skipDuplicates?: boolean
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
/**
|
|
1550
|
+
* TestCaseFolder createManyAndReturn
|
|
1551
|
+
*/
|
|
1552
|
+
export type TestCaseFolderCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1553
|
+
/**
|
|
1554
|
+
* Select specific fields to fetch from the TestCaseFolder
|
|
1555
|
+
*/
|
|
1556
|
+
select?: Prisma.TestCaseFolderSelectCreateManyAndReturn<ExtArgs> | null
|
|
1557
|
+
/**
|
|
1558
|
+
* Omit specific fields from the TestCaseFolder
|
|
1559
|
+
*/
|
|
1560
|
+
omit?: Prisma.TestCaseFolderOmit<ExtArgs> | null
|
|
1561
|
+
/**
|
|
1562
|
+
* The data used to create many TestCaseFolders.
|
|
1563
|
+
*/
|
|
1564
|
+
data: Prisma.TestCaseFolderCreateManyInput | Prisma.TestCaseFolderCreateManyInput[]
|
|
1565
|
+
skipDuplicates?: boolean
|
|
1566
|
+
/**
|
|
1567
|
+
* Choose, which related nodes to fetch as well
|
|
1568
|
+
*/
|
|
1569
|
+
include?: Prisma.TestCaseFolderIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1570
|
+
}
|
|
1571
|
+
|
|
1572
|
+
/**
|
|
1573
|
+
* TestCaseFolder update
|
|
1574
|
+
*/
|
|
1575
|
+
export type TestCaseFolderUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1576
|
+
/**
|
|
1577
|
+
* Select specific fields to fetch from the TestCaseFolder
|
|
1578
|
+
*/
|
|
1579
|
+
select?: Prisma.TestCaseFolderSelect<ExtArgs> | null
|
|
1580
|
+
/**
|
|
1581
|
+
* Omit specific fields from the TestCaseFolder
|
|
1582
|
+
*/
|
|
1583
|
+
omit?: Prisma.TestCaseFolderOmit<ExtArgs> | null
|
|
1584
|
+
/**
|
|
1585
|
+
* Choose, which related nodes to fetch as well
|
|
1586
|
+
*/
|
|
1587
|
+
include?: Prisma.TestCaseFolderInclude<ExtArgs> | null
|
|
1588
|
+
/**
|
|
1589
|
+
* The data needed to update a TestCaseFolder.
|
|
1590
|
+
*/
|
|
1591
|
+
data: Prisma.XOR<Prisma.TestCaseFolderUpdateInput, Prisma.TestCaseFolderUncheckedUpdateInput>
|
|
1592
|
+
/**
|
|
1593
|
+
* Choose, which TestCaseFolder to update.
|
|
1594
|
+
*/
|
|
1595
|
+
where: Prisma.TestCaseFolderWhereUniqueInput
|
|
1596
|
+
}
|
|
1597
|
+
|
|
1598
|
+
/**
|
|
1599
|
+
* TestCaseFolder updateMany
|
|
1600
|
+
*/
|
|
1601
|
+
export type TestCaseFolderUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1602
|
+
/**
|
|
1603
|
+
* The data used to update TestCaseFolders.
|
|
1604
|
+
*/
|
|
1605
|
+
data: Prisma.XOR<Prisma.TestCaseFolderUpdateManyMutationInput, Prisma.TestCaseFolderUncheckedUpdateManyInput>
|
|
1606
|
+
/**
|
|
1607
|
+
* Filter which TestCaseFolders to update
|
|
1608
|
+
*/
|
|
1609
|
+
where?: Prisma.TestCaseFolderWhereInput
|
|
1610
|
+
/**
|
|
1611
|
+
* Limit how many TestCaseFolders to update.
|
|
1612
|
+
*/
|
|
1613
|
+
limit?: number
|
|
1614
|
+
}
|
|
1615
|
+
|
|
1616
|
+
/**
|
|
1617
|
+
* TestCaseFolder updateManyAndReturn
|
|
1618
|
+
*/
|
|
1619
|
+
export type TestCaseFolderUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1620
|
+
/**
|
|
1621
|
+
* Select specific fields to fetch from the TestCaseFolder
|
|
1622
|
+
*/
|
|
1623
|
+
select?: Prisma.TestCaseFolderSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1624
|
+
/**
|
|
1625
|
+
* Omit specific fields from the TestCaseFolder
|
|
1626
|
+
*/
|
|
1627
|
+
omit?: Prisma.TestCaseFolderOmit<ExtArgs> | null
|
|
1628
|
+
/**
|
|
1629
|
+
* The data used to update TestCaseFolders.
|
|
1630
|
+
*/
|
|
1631
|
+
data: Prisma.XOR<Prisma.TestCaseFolderUpdateManyMutationInput, Prisma.TestCaseFolderUncheckedUpdateManyInput>
|
|
1632
|
+
/**
|
|
1633
|
+
* Filter which TestCaseFolders to update
|
|
1634
|
+
*/
|
|
1635
|
+
where?: Prisma.TestCaseFolderWhereInput
|
|
1636
|
+
/**
|
|
1637
|
+
* Limit how many TestCaseFolders to update.
|
|
1638
|
+
*/
|
|
1639
|
+
limit?: number
|
|
1640
|
+
/**
|
|
1641
|
+
* Choose, which related nodes to fetch as well
|
|
1642
|
+
*/
|
|
1643
|
+
include?: Prisma.TestCaseFolderIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1644
|
+
}
|
|
1645
|
+
|
|
1646
|
+
/**
|
|
1647
|
+
* TestCaseFolder upsert
|
|
1648
|
+
*/
|
|
1649
|
+
export type TestCaseFolderUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1650
|
+
/**
|
|
1651
|
+
* Select specific fields to fetch from the TestCaseFolder
|
|
1652
|
+
*/
|
|
1653
|
+
select?: Prisma.TestCaseFolderSelect<ExtArgs> | null
|
|
1654
|
+
/**
|
|
1655
|
+
* Omit specific fields from the TestCaseFolder
|
|
1656
|
+
*/
|
|
1657
|
+
omit?: Prisma.TestCaseFolderOmit<ExtArgs> | null
|
|
1658
|
+
/**
|
|
1659
|
+
* Choose, which related nodes to fetch as well
|
|
1660
|
+
*/
|
|
1661
|
+
include?: Prisma.TestCaseFolderInclude<ExtArgs> | null
|
|
1662
|
+
/**
|
|
1663
|
+
* The filter to search for the TestCaseFolder to update in case it exists.
|
|
1664
|
+
*/
|
|
1665
|
+
where: Prisma.TestCaseFolderWhereUniqueInput
|
|
1666
|
+
/**
|
|
1667
|
+
* In case the TestCaseFolder found by the `where` argument doesn't exist, create a new TestCaseFolder with this data.
|
|
1668
|
+
*/
|
|
1669
|
+
create: Prisma.XOR<Prisma.TestCaseFolderCreateInput, Prisma.TestCaseFolderUncheckedCreateInput>
|
|
1670
|
+
/**
|
|
1671
|
+
* In case the TestCaseFolder was found with the provided `where` argument, update it with this data.
|
|
1672
|
+
*/
|
|
1673
|
+
update: Prisma.XOR<Prisma.TestCaseFolderUpdateInput, Prisma.TestCaseFolderUncheckedUpdateInput>
|
|
1674
|
+
}
|
|
1675
|
+
|
|
1676
|
+
/**
|
|
1677
|
+
* TestCaseFolder delete
|
|
1678
|
+
*/
|
|
1679
|
+
export type TestCaseFolderDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1680
|
+
/**
|
|
1681
|
+
* Select specific fields to fetch from the TestCaseFolder
|
|
1682
|
+
*/
|
|
1683
|
+
select?: Prisma.TestCaseFolderSelect<ExtArgs> | null
|
|
1684
|
+
/**
|
|
1685
|
+
* Omit specific fields from the TestCaseFolder
|
|
1686
|
+
*/
|
|
1687
|
+
omit?: Prisma.TestCaseFolderOmit<ExtArgs> | null
|
|
1688
|
+
/**
|
|
1689
|
+
* Choose, which related nodes to fetch as well
|
|
1690
|
+
*/
|
|
1691
|
+
include?: Prisma.TestCaseFolderInclude<ExtArgs> | null
|
|
1692
|
+
/**
|
|
1693
|
+
* Filter which TestCaseFolder to delete.
|
|
1694
|
+
*/
|
|
1695
|
+
where: Prisma.TestCaseFolderWhereUniqueInput
|
|
1696
|
+
}
|
|
1697
|
+
|
|
1698
|
+
/**
|
|
1699
|
+
* TestCaseFolder deleteMany
|
|
1700
|
+
*/
|
|
1701
|
+
export type TestCaseFolderDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1702
|
+
/**
|
|
1703
|
+
* Filter which TestCaseFolders to delete
|
|
1704
|
+
*/
|
|
1705
|
+
where?: Prisma.TestCaseFolderWhereInput
|
|
1706
|
+
/**
|
|
1707
|
+
* Limit how many TestCaseFolders to delete.
|
|
1708
|
+
*/
|
|
1709
|
+
limit?: number
|
|
1710
|
+
}
|
|
1711
|
+
|
|
1712
|
+
/**
|
|
1713
|
+
* TestCaseFolder.parent
|
|
1714
|
+
*/
|
|
1715
|
+
export type TestCaseFolder$parentArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1716
|
+
/**
|
|
1717
|
+
* Select specific fields to fetch from the TestCaseFolder
|
|
1718
|
+
*/
|
|
1719
|
+
select?: Prisma.TestCaseFolderSelect<ExtArgs> | null
|
|
1720
|
+
/**
|
|
1721
|
+
* Omit specific fields from the TestCaseFolder
|
|
1722
|
+
*/
|
|
1723
|
+
omit?: Prisma.TestCaseFolderOmit<ExtArgs> | null
|
|
1724
|
+
/**
|
|
1725
|
+
* Choose, which related nodes to fetch as well
|
|
1726
|
+
*/
|
|
1727
|
+
include?: Prisma.TestCaseFolderInclude<ExtArgs> | null
|
|
1728
|
+
where?: Prisma.TestCaseFolderWhereInput
|
|
1729
|
+
}
|
|
1730
|
+
|
|
1731
|
+
/**
|
|
1732
|
+
* TestCaseFolder.children
|
|
1733
|
+
*/
|
|
1734
|
+
export type TestCaseFolder$childrenArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1735
|
+
/**
|
|
1736
|
+
* Select specific fields to fetch from the TestCaseFolder
|
|
1737
|
+
*/
|
|
1738
|
+
select?: Prisma.TestCaseFolderSelect<ExtArgs> | null
|
|
1739
|
+
/**
|
|
1740
|
+
* Omit specific fields from the TestCaseFolder
|
|
1741
|
+
*/
|
|
1742
|
+
omit?: Prisma.TestCaseFolderOmit<ExtArgs> | null
|
|
1743
|
+
/**
|
|
1744
|
+
* Choose, which related nodes to fetch as well
|
|
1745
|
+
*/
|
|
1746
|
+
include?: Prisma.TestCaseFolderInclude<ExtArgs> | null
|
|
1747
|
+
where?: Prisma.TestCaseFolderWhereInput
|
|
1748
|
+
orderBy?: Prisma.TestCaseFolderOrderByWithRelationInput | Prisma.TestCaseFolderOrderByWithRelationInput[]
|
|
1749
|
+
cursor?: Prisma.TestCaseFolderWhereUniqueInput
|
|
1750
|
+
take?: number
|
|
1751
|
+
skip?: number
|
|
1752
|
+
distinct?: Prisma.TestCaseFolderScalarFieldEnum | Prisma.TestCaseFolderScalarFieldEnum[]
|
|
1753
|
+
}
|
|
1754
|
+
|
|
1755
|
+
/**
|
|
1756
|
+
* TestCaseFolder.cases
|
|
1757
|
+
*/
|
|
1758
|
+
export type TestCaseFolder$casesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1759
|
+
/**
|
|
1760
|
+
* Select specific fields to fetch from the TestCase
|
|
1761
|
+
*/
|
|
1762
|
+
select?: Prisma.TestCaseSelect<ExtArgs> | null
|
|
1763
|
+
/**
|
|
1764
|
+
* Omit specific fields from the TestCase
|
|
1765
|
+
*/
|
|
1766
|
+
omit?: Prisma.TestCaseOmit<ExtArgs> | null
|
|
1767
|
+
/**
|
|
1768
|
+
* Choose, which related nodes to fetch as well
|
|
1769
|
+
*/
|
|
1770
|
+
include?: Prisma.TestCaseInclude<ExtArgs> | null
|
|
1771
|
+
where?: Prisma.TestCaseWhereInput
|
|
1772
|
+
orderBy?: Prisma.TestCaseOrderByWithRelationInput | Prisma.TestCaseOrderByWithRelationInput[]
|
|
1773
|
+
cursor?: Prisma.TestCaseWhereUniqueInput
|
|
1774
|
+
take?: number
|
|
1775
|
+
skip?: number
|
|
1776
|
+
distinct?: Prisma.TestCaseScalarFieldEnum | Prisma.TestCaseScalarFieldEnum[]
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1779
|
+
/**
|
|
1780
|
+
* TestCaseFolder without action
|
|
1781
|
+
*/
|
|
1782
|
+
export type TestCaseFolderDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1783
|
+
/**
|
|
1784
|
+
* Select specific fields to fetch from the TestCaseFolder
|
|
1785
|
+
*/
|
|
1786
|
+
select?: Prisma.TestCaseFolderSelect<ExtArgs> | null
|
|
1787
|
+
/**
|
|
1788
|
+
* Omit specific fields from the TestCaseFolder
|
|
1789
|
+
*/
|
|
1790
|
+
omit?: Prisma.TestCaseFolderOmit<ExtArgs> | null
|
|
1791
|
+
/**
|
|
1792
|
+
* Choose, which related nodes to fetch as well
|
|
1793
|
+
*/
|
|
1794
|
+
include?: Prisma.TestCaseFolderInclude<ExtArgs> | null
|
|
1795
|
+
}
|