@allbluecn/database 0.14.8 → 0.14.10

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.
@@ -0,0 +1,1529 @@
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 `HarnessWorktree` 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 HarnessWorktree
17
+ * Harness worktree 生命周期(P4 任务 17,仅本地执行面):enter_worktree 创建并挂靠
18
+ * 线程(status=active),exit_worktree 三态(保留=不动 / 归档=标 archived 目录留存 /
19
+ * 删除=删目录删记录,必须用户授权)。设备本地状态,不注册 sync。
20
+ */
21
+ export type HarnessWorktreeModel = runtime.Types.Result.DefaultSelection<Prisma.$HarnessWorktreePayload>
22
+
23
+ export type AggregateHarnessWorktree = {
24
+ _count: HarnessWorktreeCountAggregateOutputType | null
25
+ _min: HarnessWorktreeMinAggregateOutputType | null
26
+ _max: HarnessWorktreeMaxAggregateOutputType | null
27
+ }
28
+
29
+ export type HarnessWorktreeMinAggregateOutputType = {
30
+ id: string | null
31
+ userId: string | null
32
+ threadId: string | null
33
+ path: string | null
34
+ baseBranch: string | null
35
+ headBranch: string | null
36
+ status: string | null
37
+ removedAt: Date | null
38
+ createdAt: Date | null
39
+ updatedAt: Date | null
40
+ }
41
+
42
+ export type HarnessWorktreeMaxAggregateOutputType = {
43
+ id: string | null
44
+ userId: string | null
45
+ threadId: string | null
46
+ path: string | null
47
+ baseBranch: string | null
48
+ headBranch: string | null
49
+ status: string | null
50
+ removedAt: Date | null
51
+ createdAt: Date | null
52
+ updatedAt: Date | null
53
+ }
54
+
55
+ export type HarnessWorktreeCountAggregateOutputType = {
56
+ id: number
57
+ userId: number
58
+ threadId: number
59
+ path: number
60
+ baseBranch: number
61
+ headBranch: number
62
+ status: number
63
+ removedAt: number
64
+ createdAt: number
65
+ updatedAt: number
66
+ _all: number
67
+ }
68
+
69
+
70
+ export type HarnessWorktreeMinAggregateInputType = {
71
+ id?: true
72
+ userId?: true
73
+ threadId?: true
74
+ path?: true
75
+ baseBranch?: true
76
+ headBranch?: true
77
+ status?: true
78
+ removedAt?: true
79
+ createdAt?: true
80
+ updatedAt?: true
81
+ }
82
+
83
+ export type HarnessWorktreeMaxAggregateInputType = {
84
+ id?: true
85
+ userId?: true
86
+ threadId?: true
87
+ path?: true
88
+ baseBranch?: true
89
+ headBranch?: true
90
+ status?: true
91
+ removedAt?: true
92
+ createdAt?: true
93
+ updatedAt?: true
94
+ }
95
+
96
+ export type HarnessWorktreeCountAggregateInputType = {
97
+ id?: true
98
+ userId?: true
99
+ threadId?: true
100
+ path?: true
101
+ baseBranch?: true
102
+ headBranch?: true
103
+ status?: true
104
+ removedAt?: true
105
+ createdAt?: true
106
+ updatedAt?: true
107
+ _all?: true
108
+ }
109
+
110
+ export type HarnessWorktreeAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
111
+ /**
112
+ * Filter which HarnessWorktree to aggregate.
113
+ */
114
+ where?: Prisma.HarnessWorktreeWhereInput
115
+ /**
116
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
117
+ *
118
+ * Determine the order of HarnessWorktrees to fetch.
119
+ */
120
+ orderBy?: Prisma.HarnessWorktreeOrderByWithRelationInput | Prisma.HarnessWorktreeOrderByWithRelationInput[]
121
+ /**
122
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
123
+ *
124
+ * Sets the start position
125
+ */
126
+ cursor?: Prisma.HarnessWorktreeWhereUniqueInput
127
+ /**
128
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
129
+ *
130
+ * Take `±n` HarnessWorktrees from the position of the cursor.
131
+ */
132
+ take?: number
133
+ /**
134
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
135
+ *
136
+ * Skip the first `n` HarnessWorktrees.
137
+ */
138
+ skip?: number
139
+ /**
140
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
141
+ *
142
+ * Count returned HarnessWorktrees
143
+ **/
144
+ _count?: true | HarnessWorktreeCountAggregateInputType
145
+ /**
146
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
147
+ *
148
+ * Select which fields to find the minimum value
149
+ **/
150
+ _min?: HarnessWorktreeMinAggregateInputType
151
+ /**
152
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
153
+ *
154
+ * Select which fields to find the maximum value
155
+ **/
156
+ _max?: HarnessWorktreeMaxAggregateInputType
157
+ }
158
+
159
+ export type GetHarnessWorktreeAggregateType<T extends HarnessWorktreeAggregateArgs> = {
160
+ [P in keyof T & keyof AggregateHarnessWorktree]: P extends '_count' | 'count'
161
+ ? T[P] extends true
162
+ ? number
163
+ : Prisma.GetScalarType<T[P], AggregateHarnessWorktree[P]>
164
+ : Prisma.GetScalarType<T[P], AggregateHarnessWorktree[P]>
165
+ }
166
+
167
+
168
+
169
+
170
+ export type HarnessWorktreeGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
171
+ where?: Prisma.HarnessWorktreeWhereInput
172
+ orderBy?: Prisma.HarnessWorktreeOrderByWithAggregationInput | Prisma.HarnessWorktreeOrderByWithAggregationInput[]
173
+ by: Prisma.HarnessWorktreeScalarFieldEnum[] | Prisma.HarnessWorktreeScalarFieldEnum
174
+ having?: Prisma.HarnessWorktreeScalarWhereWithAggregatesInput
175
+ take?: number
176
+ skip?: number
177
+ _count?: HarnessWorktreeCountAggregateInputType | true
178
+ _min?: HarnessWorktreeMinAggregateInputType
179
+ _max?: HarnessWorktreeMaxAggregateInputType
180
+ }
181
+
182
+ export type HarnessWorktreeGroupByOutputType = {
183
+ id: string
184
+ userId: string
185
+ threadId: string
186
+ path: string
187
+ baseBranch: string
188
+ headBranch: string
189
+ status: string
190
+ removedAt: Date | null
191
+ createdAt: Date
192
+ updatedAt: Date
193
+ _count: HarnessWorktreeCountAggregateOutputType | null
194
+ _min: HarnessWorktreeMinAggregateOutputType | null
195
+ _max: HarnessWorktreeMaxAggregateOutputType | null
196
+ }
197
+
198
+ export type GetHarnessWorktreeGroupByPayload<T extends HarnessWorktreeGroupByArgs> = Prisma.PrismaPromise<
199
+ Array<
200
+ Prisma.PickEnumerable<HarnessWorktreeGroupByOutputType, T['by']> &
201
+ {
202
+ [P in ((keyof T) & (keyof HarnessWorktreeGroupByOutputType))]: P extends '_count'
203
+ ? T[P] extends boolean
204
+ ? number
205
+ : Prisma.GetScalarType<T[P], HarnessWorktreeGroupByOutputType[P]>
206
+ : Prisma.GetScalarType<T[P], HarnessWorktreeGroupByOutputType[P]>
207
+ }
208
+ >
209
+ >
210
+
211
+
212
+
213
+ export type HarnessWorktreeWhereInput = {
214
+ AND?: Prisma.HarnessWorktreeWhereInput | Prisma.HarnessWorktreeWhereInput[]
215
+ OR?: Prisma.HarnessWorktreeWhereInput[]
216
+ NOT?: Prisma.HarnessWorktreeWhereInput | Prisma.HarnessWorktreeWhereInput[]
217
+ id?: Prisma.StringFilter<"HarnessWorktree"> | string
218
+ userId?: Prisma.StringFilter<"HarnessWorktree"> | string
219
+ threadId?: Prisma.StringFilter<"HarnessWorktree"> | string
220
+ path?: Prisma.StringFilter<"HarnessWorktree"> | string
221
+ baseBranch?: Prisma.StringFilter<"HarnessWorktree"> | string
222
+ headBranch?: Prisma.StringFilter<"HarnessWorktree"> | string
223
+ status?: Prisma.StringFilter<"HarnessWorktree"> | string
224
+ removedAt?: Prisma.DateTimeNullableFilter<"HarnessWorktree"> | Date | string | null
225
+ createdAt?: Prisma.DateTimeFilter<"HarnessWorktree"> | Date | string
226
+ updatedAt?: Prisma.DateTimeFilter<"HarnessWorktree"> | Date | string
227
+ user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
228
+ }
229
+
230
+ export type HarnessWorktreeOrderByWithRelationInput = {
231
+ id?: Prisma.SortOrder
232
+ userId?: Prisma.SortOrder
233
+ threadId?: Prisma.SortOrder
234
+ path?: Prisma.SortOrder
235
+ baseBranch?: Prisma.SortOrder
236
+ headBranch?: Prisma.SortOrder
237
+ status?: Prisma.SortOrder
238
+ removedAt?: Prisma.SortOrderInput | Prisma.SortOrder
239
+ createdAt?: Prisma.SortOrder
240
+ updatedAt?: Prisma.SortOrder
241
+ user?: Prisma.UserOrderByWithRelationInput
242
+ }
243
+
244
+ export type HarnessWorktreeWhereUniqueInput = Prisma.AtLeast<{
245
+ id?: string
246
+ userId_threadId_path?: Prisma.HarnessWorktreeUserIdThreadIdPathCompoundUniqueInput
247
+ AND?: Prisma.HarnessWorktreeWhereInput | Prisma.HarnessWorktreeWhereInput[]
248
+ OR?: Prisma.HarnessWorktreeWhereInput[]
249
+ NOT?: Prisma.HarnessWorktreeWhereInput | Prisma.HarnessWorktreeWhereInput[]
250
+ userId?: Prisma.StringFilter<"HarnessWorktree"> | string
251
+ threadId?: Prisma.StringFilter<"HarnessWorktree"> | string
252
+ path?: Prisma.StringFilter<"HarnessWorktree"> | string
253
+ baseBranch?: Prisma.StringFilter<"HarnessWorktree"> | string
254
+ headBranch?: Prisma.StringFilter<"HarnessWorktree"> | string
255
+ status?: Prisma.StringFilter<"HarnessWorktree"> | string
256
+ removedAt?: Prisma.DateTimeNullableFilter<"HarnessWorktree"> | Date | string | null
257
+ createdAt?: Prisma.DateTimeFilter<"HarnessWorktree"> | Date | string
258
+ updatedAt?: Prisma.DateTimeFilter<"HarnessWorktree"> | Date | string
259
+ user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
260
+ }, "id" | "userId_threadId_path">
261
+
262
+ export type HarnessWorktreeOrderByWithAggregationInput = {
263
+ id?: Prisma.SortOrder
264
+ userId?: Prisma.SortOrder
265
+ threadId?: Prisma.SortOrder
266
+ path?: Prisma.SortOrder
267
+ baseBranch?: Prisma.SortOrder
268
+ headBranch?: Prisma.SortOrder
269
+ status?: Prisma.SortOrder
270
+ removedAt?: Prisma.SortOrderInput | Prisma.SortOrder
271
+ createdAt?: Prisma.SortOrder
272
+ updatedAt?: Prisma.SortOrder
273
+ _count?: Prisma.HarnessWorktreeCountOrderByAggregateInput
274
+ _max?: Prisma.HarnessWorktreeMaxOrderByAggregateInput
275
+ _min?: Prisma.HarnessWorktreeMinOrderByAggregateInput
276
+ }
277
+
278
+ export type HarnessWorktreeScalarWhereWithAggregatesInput = {
279
+ AND?: Prisma.HarnessWorktreeScalarWhereWithAggregatesInput | Prisma.HarnessWorktreeScalarWhereWithAggregatesInput[]
280
+ OR?: Prisma.HarnessWorktreeScalarWhereWithAggregatesInput[]
281
+ NOT?: Prisma.HarnessWorktreeScalarWhereWithAggregatesInput | Prisma.HarnessWorktreeScalarWhereWithAggregatesInput[]
282
+ id?: Prisma.StringWithAggregatesFilter<"HarnessWorktree"> | string
283
+ userId?: Prisma.StringWithAggregatesFilter<"HarnessWorktree"> | string
284
+ threadId?: Prisma.StringWithAggregatesFilter<"HarnessWorktree"> | string
285
+ path?: Prisma.StringWithAggregatesFilter<"HarnessWorktree"> | string
286
+ baseBranch?: Prisma.StringWithAggregatesFilter<"HarnessWorktree"> | string
287
+ headBranch?: Prisma.StringWithAggregatesFilter<"HarnessWorktree"> | string
288
+ status?: Prisma.StringWithAggregatesFilter<"HarnessWorktree"> | string
289
+ removedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"HarnessWorktree"> | Date | string | null
290
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"HarnessWorktree"> | Date | string
291
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"HarnessWorktree"> | Date | string
292
+ }
293
+
294
+ export type HarnessWorktreeCreateInput = {
295
+ id?: string
296
+ threadId: string
297
+ path: string
298
+ baseBranch: string
299
+ headBranch: string
300
+ status?: string
301
+ removedAt?: Date | string | null
302
+ createdAt?: Date | string
303
+ updatedAt?: Date | string
304
+ user: Prisma.UserCreateNestedOneWithoutHarnessWorktreesInput
305
+ }
306
+
307
+ export type HarnessWorktreeUncheckedCreateInput = {
308
+ id?: string
309
+ userId: string
310
+ threadId: string
311
+ path: string
312
+ baseBranch: string
313
+ headBranch: string
314
+ status?: string
315
+ removedAt?: Date | string | null
316
+ createdAt?: Date | string
317
+ updatedAt?: Date | string
318
+ }
319
+
320
+ export type HarnessWorktreeUpdateInput = {
321
+ id?: Prisma.StringFieldUpdateOperationsInput | string
322
+ threadId?: Prisma.StringFieldUpdateOperationsInput | string
323
+ path?: Prisma.StringFieldUpdateOperationsInput | string
324
+ baseBranch?: Prisma.StringFieldUpdateOperationsInput | string
325
+ headBranch?: Prisma.StringFieldUpdateOperationsInput | string
326
+ status?: Prisma.StringFieldUpdateOperationsInput | string
327
+ removedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
328
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
329
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
330
+ user?: Prisma.UserUpdateOneRequiredWithoutHarnessWorktreesNestedInput
331
+ }
332
+
333
+ export type HarnessWorktreeUncheckedUpdateInput = {
334
+ id?: Prisma.StringFieldUpdateOperationsInput | string
335
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
336
+ threadId?: Prisma.StringFieldUpdateOperationsInput | string
337
+ path?: Prisma.StringFieldUpdateOperationsInput | string
338
+ baseBranch?: Prisma.StringFieldUpdateOperationsInput | string
339
+ headBranch?: Prisma.StringFieldUpdateOperationsInput | string
340
+ status?: Prisma.StringFieldUpdateOperationsInput | string
341
+ removedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
342
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
343
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
344
+ }
345
+
346
+ export type HarnessWorktreeCreateManyInput = {
347
+ id?: string
348
+ userId: string
349
+ threadId: string
350
+ path: string
351
+ baseBranch: string
352
+ headBranch: string
353
+ status?: string
354
+ removedAt?: Date | string | null
355
+ createdAt?: Date | string
356
+ updatedAt?: Date | string
357
+ }
358
+
359
+ export type HarnessWorktreeUpdateManyMutationInput = {
360
+ id?: Prisma.StringFieldUpdateOperationsInput | string
361
+ threadId?: Prisma.StringFieldUpdateOperationsInput | string
362
+ path?: Prisma.StringFieldUpdateOperationsInput | string
363
+ baseBranch?: Prisma.StringFieldUpdateOperationsInput | string
364
+ headBranch?: Prisma.StringFieldUpdateOperationsInput | string
365
+ status?: Prisma.StringFieldUpdateOperationsInput | string
366
+ removedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
367
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
368
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
369
+ }
370
+
371
+ export type HarnessWorktreeUncheckedUpdateManyInput = {
372
+ id?: Prisma.StringFieldUpdateOperationsInput | string
373
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
374
+ threadId?: Prisma.StringFieldUpdateOperationsInput | string
375
+ path?: Prisma.StringFieldUpdateOperationsInput | string
376
+ baseBranch?: Prisma.StringFieldUpdateOperationsInput | string
377
+ headBranch?: Prisma.StringFieldUpdateOperationsInput | string
378
+ status?: Prisma.StringFieldUpdateOperationsInput | string
379
+ removedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
380
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
381
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
382
+ }
383
+
384
+ export type HarnessWorktreeListRelationFilter = {
385
+ every?: Prisma.HarnessWorktreeWhereInput
386
+ some?: Prisma.HarnessWorktreeWhereInput
387
+ none?: Prisma.HarnessWorktreeWhereInput
388
+ }
389
+
390
+ export type HarnessWorktreeOrderByRelationAggregateInput = {
391
+ _count?: Prisma.SortOrder
392
+ }
393
+
394
+ export type HarnessWorktreeUserIdThreadIdPathCompoundUniqueInput = {
395
+ userId: string
396
+ threadId: string
397
+ path: string
398
+ }
399
+
400
+ export type HarnessWorktreeCountOrderByAggregateInput = {
401
+ id?: Prisma.SortOrder
402
+ userId?: Prisma.SortOrder
403
+ threadId?: Prisma.SortOrder
404
+ path?: Prisma.SortOrder
405
+ baseBranch?: Prisma.SortOrder
406
+ headBranch?: Prisma.SortOrder
407
+ status?: Prisma.SortOrder
408
+ removedAt?: Prisma.SortOrder
409
+ createdAt?: Prisma.SortOrder
410
+ updatedAt?: Prisma.SortOrder
411
+ }
412
+
413
+ export type HarnessWorktreeMaxOrderByAggregateInput = {
414
+ id?: Prisma.SortOrder
415
+ userId?: Prisma.SortOrder
416
+ threadId?: Prisma.SortOrder
417
+ path?: Prisma.SortOrder
418
+ baseBranch?: Prisma.SortOrder
419
+ headBranch?: Prisma.SortOrder
420
+ status?: Prisma.SortOrder
421
+ removedAt?: Prisma.SortOrder
422
+ createdAt?: Prisma.SortOrder
423
+ updatedAt?: Prisma.SortOrder
424
+ }
425
+
426
+ export type HarnessWorktreeMinOrderByAggregateInput = {
427
+ id?: Prisma.SortOrder
428
+ userId?: Prisma.SortOrder
429
+ threadId?: Prisma.SortOrder
430
+ path?: Prisma.SortOrder
431
+ baseBranch?: Prisma.SortOrder
432
+ headBranch?: Prisma.SortOrder
433
+ status?: Prisma.SortOrder
434
+ removedAt?: Prisma.SortOrder
435
+ createdAt?: Prisma.SortOrder
436
+ updatedAt?: Prisma.SortOrder
437
+ }
438
+
439
+ export type HarnessWorktreeCreateNestedManyWithoutUserInput = {
440
+ create?: Prisma.XOR<Prisma.HarnessWorktreeCreateWithoutUserInput, Prisma.HarnessWorktreeUncheckedCreateWithoutUserInput> | Prisma.HarnessWorktreeCreateWithoutUserInput[] | Prisma.HarnessWorktreeUncheckedCreateWithoutUserInput[]
441
+ connectOrCreate?: Prisma.HarnessWorktreeCreateOrConnectWithoutUserInput | Prisma.HarnessWorktreeCreateOrConnectWithoutUserInput[]
442
+ createMany?: Prisma.HarnessWorktreeCreateManyUserInputEnvelope
443
+ connect?: Prisma.HarnessWorktreeWhereUniqueInput | Prisma.HarnessWorktreeWhereUniqueInput[]
444
+ }
445
+
446
+ export type HarnessWorktreeUncheckedCreateNestedManyWithoutUserInput = {
447
+ create?: Prisma.XOR<Prisma.HarnessWorktreeCreateWithoutUserInput, Prisma.HarnessWorktreeUncheckedCreateWithoutUserInput> | Prisma.HarnessWorktreeCreateWithoutUserInput[] | Prisma.HarnessWorktreeUncheckedCreateWithoutUserInput[]
448
+ connectOrCreate?: Prisma.HarnessWorktreeCreateOrConnectWithoutUserInput | Prisma.HarnessWorktreeCreateOrConnectWithoutUserInput[]
449
+ createMany?: Prisma.HarnessWorktreeCreateManyUserInputEnvelope
450
+ connect?: Prisma.HarnessWorktreeWhereUniqueInput | Prisma.HarnessWorktreeWhereUniqueInput[]
451
+ }
452
+
453
+ export type HarnessWorktreeUpdateManyWithoutUserNestedInput = {
454
+ create?: Prisma.XOR<Prisma.HarnessWorktreeCreateWithoutUserInput, Prisma.HarnessWorktreeUncheckedCreateWithoutUserInput> | Prisma.HarnessWorktreeCreateWithoutUserInput[] | Prisma.HarnessWorktreeUncheckedCreateWithoutUserInput[]
455
+ connectOrCreate?: Prisma.HarnessWorktreeCreateOrConnectWithoutUserInput | Prisma.HarnessWorktreeCreateOrConnectWithoutUserInput[]
456
+ upsert?: Prisma.HarnessWorktreeUpsertWithWhereUniqueWithoutUserInput | Prisma.HarnessWorktreeUpsertWithWhereUniqueWithoutUserInput[]
457
+ createMany?: Prisma.HarnessWorktreeCreateManyUserInputEnvelope
458
+ set?: Prisma.HarnessWorktreeWhereUniqueInput | Prisma.HarnessWorktreeWhereUniqueInput[]
459
+ disconnect?: Prisma.HarnessWorktreeWhereUniqueInput | Prisma.HarnessWorktreeWhereUniqueInput[]
460
+ delete?: Prisma.HarnessWorktreeWhereUniqueInput | Prisma.HarnessWorktreeWhereUniqueInput[]
461
+ connect?: Prisma.HarnessWorktreeWhereUniqueInput | Prisma.HarnessWorktreeWhereUniqueInput[]
462
+ update?: Prisma.HarnessWorktreeUpdateWithWhereUniqueWithoutUserInput | Prisma.HarnessWorktreeUpdateWithWhereUniqueWithoutUserInput[]
463
+ updateMany?: Prisma.HarnessWorktreeUpdateManyWithWhereWithoutUserInput | Prisma.HarnessWorktreeUpdateManyWithWhereWithoutUserInput[]
464
+ deleteMany?: Prisma.HarnessWorktreeScalarWhereInput | Prisma.HarnessWorktreeScalarWhereInput[]
465
+ }
466
+
467
+ export type HarnessWorktreeUncheckedUpdateManyWithoutUserNestedInput = {
468
+ create?: Prisma.XOR<Prisma.HarnessWorktreeCreateWithoutUserInput, Prisma.HarnessWorktreeUncheckedCreateWithoutUserInput> | Prisma.HarnessWorktreeCreateWithoutUserInput[] | Prisma.HarnessWorktreeUncheckedCreateWithoutUserInput[]
469
+ connectOrCreate?: Prisma.HarnessWorktreeCreateOrConnectWithoutUserInput | Prisma.HarnessWorktreeCreateOrConnectWithoutUserInput[]
470
+ upsert?: Prisma.HarnessWorktreeUpsertWithWhereUniqueWithoutUserInput | Prisma.HarnessWorktreeUpsertWithWhereUniqueWithoutUserInput[]
471
+ createMany?: Prisma.HarnessWorktreeCreateManyUserInputEnvelope
472
+ set?: Prisma.HarnessWorktreeWhereUniqueInput | Prisma.HarnessWorktreeWhereUniqueInput[]
473
+ disconnect?: Prisma.HarnessWorktreeWhereUniqueInput | Prisma.HarnessWorktreeWhereUniqueInput[]
474
+ delete?: Prisma.HarnessWorktreeWhereUniqueInput | Prisma.HarnessWorktreeWhereUniqueInput[]
475
+ connect?: Prisma.HarnessWorktreeWhereUniqueInput | Prisma.HarnessWorktreeWhereUniqueInput[]
476
+ update?: Prisma.HarnessWorktreeUpdateWithWhereUniqueWithoutUserInput | Prisma.HarnessWorktreeUpdateWithWhereUniqueWithoutUserInput[]
477
+ updateMany?: Prisma.HarnessWorktreeUpdateManyWithWhereWithoutUserInput | Prisma.HarnessWorktreeUpdateManyWithWhereWithoutUserInput[]
478
+ deleteMany?: Prisma.HarnessWorktreeScalarWhereInput | Prisma.HarnessWorktreeScalarWhereInput[]
479
+ }
480
+
481
+ export type HarnessWorktreeCreateWithoutUserInput = {
482
+ id?: string
483
+ threadId: string
484
+ path: string
485
+ baseBranch: string
486
+ headBranch: string
487
+ status?: string
488
+ removedAt?: Date | string | null
489
+ createdAt?: Date | string
490
+ updatedAt?: Date | string
491
+ }
492
+
493
+ export type HarnessWorktreeUncheckedCreateWithoutUserInput = {
494
+ id?: string
495
+ threadId: string
496
+ path: string
497
+ baseBranch: string
498
+ headBranch: string
499
+ status?: string
500
+ removedAt?: Date | string | null
501
+ createdAt?: Date | string
502
+ updatedAt?: Date | string
503
+ }
504
+
505
+ export type HarnessWorktreeCreateOrConnectWithoutUserInput = {
506
+ where: Prisma.HarnessWorktreeWhereUniqueInput
507
+ create: Prisma.XOR<Prisma.HarnessWorktreeCreateWithoutUserInput, Prisma.HarnessWorktreeUncheckedCreateWithoutUserInput>
508
+ }
509
+
510
+ export type HarnessWorktreeCreateManyUserInputEnvelope = {
511
+ data: Prisma.HarnessWorktreeCreateManyUserInput | Prisma.HarnessWorktreeCreateManyUserInput[]
512
+ skipDuplicates?: boolean
513
+ }
514
+
515
+ export type HarnessWorktreeUpsertWithWhereUniqueWithoutUserInput = {
516
+ where: Prisma.HarnessWorktreeWhereUniqueInput
517
+ update: Prisma.XOR<Prisma.HarnessWorktreeUpdateWithoutUserInput, Prisma.HarnessWorktreeUncheckedUpdateWithoutUserInput>
518
+ create: Prisma.XOR<Prisma.HarnessWorktreeCreateWithoutUserInput, Prisma.HarnessWorktreeUncheckedCreateWithoutUserInput>
519
+ }
520
+
521
+ export type HarnessWorktreeUpdateWithWhereUniqueWithoutUserInput = {
522
+ where: Prisma.HarnessWorktreeWhereUniqueInput
523
+ data: Prisma.XOR<Prisma.HarnessWorktreeUpdateWithoutUserInput, Prisma.HarnessWorktreeUncheckedUpdateWithoutUserInput>
524
+ }
525
+
526
+ export type HarnessWorktreeUpdateManyWithWhereWithoutUserInput = {
527
+ where: Prisma.HarnessWorktreeScalarWhereInput
528
+ data: Prisma.XOR<Prisma.HarnessWorktreeUpdateManyMutationInput, Prisma.HarnessWorktreeUncheckedUpdateManyWithoutUserInput>
529
+ }
530
+
531
+ export type HarnessWorktreeScalarWhereInput = {
532
+ AND?: Prisma.HarnessWorktreeScalarWhereInput | Prisma.HarnessWorktreeScalarWhereInput[]
533
+ OR?: Prisma.HarnessWorktreeScalarWhereInput[]
534
+ NOT?: Prisma.HarnessWorktreeScalarWhereInput | Prisma.HarnessWorktreeScalarWhereInput[]
535
+ id?: Prisma.StringFilter<"HarnessWorktree"> | string
536
+ userId?: Prisma.StringFilter<"HarnessWorktree"> | string
537
+ threadId?: Prisma.StringFilter<"HarnessWorktree"> | string
538
+ path?: Prisma.StringFilter<"HarnessWorktree"> | string
539
+ baseBranch?: Prisma.StringFilter<"HarnessWorktree"> | string
540
+ headBranch?: Prisma.StringFilter<"HarnessWorktree"> | string
541
+ status?: Prisma.StringFilter<"HarnessWorktree"> | string
542
+ removedAt?: Prisma.DateTimeNullableFilter<"HarnessWorktree"> | Date | string | null
543
+ createdAt?: Prisma.DateTimeFilter<"HarnessWorktree"> | Date | string
544
+ updatedAt?: Prisma.DateTimeFilter<"HarnessWorktree"> | Date | string
545
+ }
546
+
547
+ export type HarnessWorktreeCreateManyUserInput = {
548
+ id?: string
549
+ threadId: string
550
+ path: string
551
+ baseBranch: string
552
+ headBranch: string
553
+ status?: string
554
+ removedAt?: Date | string | null
555
+ createdAt?: Date | string
556
+ updatedAt?: Date | string
557
+ }
558
+
559
+ export type HarnessWorktreeUpdateWithoutUserInput = {
560
+ id?: Prisma.StringFieldUpdateOperationsInput | string
561
+ threadId?: Prisma.StringFieldUpdateOperationsInput | string
562
+ path?: Prisma.StringFieldUpdateOperationsInput | string
563
+ baseBranch?: Prisma.StringFieldUpdateOperationsInput | string
564
+ headBranch?: Prisma.StringFieldUpdateOperationsInput | string
565
+ status?: Prisma.StringFieldUpdateOperationsInput | string
566
+ removedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
567
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
568
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
569
+ }
570
+
571
+ export type HarnessWorktreeUncheckedUpdateWithoutUserInput = {
572
+ id?: Prisma.StringFieldUpdateOperationsInput | string
573
+ threadId?: Prisma.StringFieldUpdateOperationsInput | string
574
+ path?: Prisma.StringFieldUpdateOperationsInput | string
575
+ baseBranch?: Prisma.StringFieldUpdateOperationsInput | string
576
+ headBranch?: Prisma.StringFieldUpdateOperationsInput | string
577
+ status?: Prisma.StringFieldUpdateOperationsInput | string
578
+ removedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
579
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
580
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
581
+ }
582
+
583
+ export type HarnessWorktreeUncheckedUpdateManyWithoutUserInput = {
584
+ id?: Prisma.StringFieldUpdateOperationsInput | string
585
+ threadId?: Prisma.StringFieldUpdateOperationsInput | string
586
+ path?: Prisma.StringFieldUpdateOperationsInput | string
587
+ baseBranch?: Prisma.StringFieldUpdateOperationsInput | string
588
+ headBranch?: Prisma.StringFieldUpdateOperationsInput | string
589
+ status?: Prisma.StringFieldUpdateOperationsInput | string
590
+ removedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
591
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
592
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
593
+ }
594
+
595
+
596
+
597
+ export type HarnessWorktreeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
598
+ id?: boolean
599
+ userId?: boolean
600
+ threadId?: boolean
601
+ path?: boolean
602
+ baseBranch?: boolean
603
+ headBranch?: boolean
604
+ status?: boolean
605
+ removedAt?: boolean
606
+ createdAt?: boolean
607
+ updatedAt?: boolean
608
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
609
+ }, ExtArgs["result"]["harnessWorktree"]>
610
+
611
+ export type HarnessWorktreeSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
612
+ id?: boolean
613
+ userId?: boolean
614
+ threadId?: boolean
615
+ path?: boolean
616
+ baseBranch?: boolean
617
+ headBranch?: boolean
618
+ status?: boolean
619
+ removedAt?: boolean
620
+ createdAt?: boolean
621
+ updatedAt?: boolean
622
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
623
+ }, ExtArgs["result"]["harnessWorktree"]>
624
+
625
+ export type HarnessWorktreeSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
626
+ id?: boolean
627
+ userId?: boolean
628
+ threadId?: boolean
629
+ path?: boolean
630
+ baseBranch?: boolean
631
+ headBranch?: boolean
632
+ status?: boolean
633
+ removedAt?: boolean
634
+ createdAt?: boolean
635
+ updatedAt?: boolean
636
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
637
+ }, ExtArgs["result"]["harnessWorktree"]>
638
+
639
+ export type HarnessWorktreeSelectScalar = {
640
+ id?: boolean
641
+ userId?: boolean
642
+ threadId?: boolean
643
+ path?: boolean
644
+ baseBranch?: boolean
645
+ headBranch?: boolean
646
+ status?: boolean
647
+ removedAt?: boolean
648
+ createdAt?: boolean
649
+ updatedAt?: boolean
650
+ }
651
+
652
+ export type HarnessWorktreeOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "userId" | "threadId" | "path" | "baseBranch" | "headBranch" | "status" | "removedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["harnessWorktree"]>
653
+ export type HarnessWorktreeInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
654
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
655
+ }
656
+ export type HarnessWorktreeIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
657
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
658
+ }
659
+ export type HarnessWorktreeIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
660
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
661
+ }
662
+
663
+ export type $HarnessWorktreePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
664
+ name: "HarnessWorktree"
665
+ objects: {
666
+ user: Prisma.$UserPayload<ExtArgs>
667
+ }
668
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
669
+ id: string
670
+ userId: string
671
+ threadId: string
672
+ path: string
673
+ baseBranch: string
674
+ headBranch: string
675
+ status: string
676
+ removedAt: Date | null
677
+ createdAt: Date
678
+ updatedAt: Date
679
+ }, ExtArgs["result"]["harnessWorktree"]>
680
+ composites: {}
681
+ }
682
+
683
+ export type HarnessWorktreeGetPayload<S extends boolean | null | undefined | HarnessWorktreeDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$HarnessWorktreePayload, S>
684
+
685
+ export type HarnessWorktreeCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
686
+ Omit<HarnessWorktreeFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
687
+ select?: HarnessWorktreeCountAggregateInputType | true
688
+ }
689
+
690
+ export interface HarnessWorktreeDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
691
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['HarnessWorktree'], meta: { name: 'HarnessWorktree' } }
692
+ /**
693
+ * Find zero or one HarnessWorktree that matches the filter.
694
+ * @param {HarnessWorktreeFindUniqueArgs} args - Arguments to find a HarnessWorktree
695
+ * @example
696
+ * // Get one HarnessWorktree
697
+ * const harnessWorktree = await prisma.harnessWorktree.findUnique({
698
+ * where: {
699
+ * // ... provide filter here
700
+ * }
701
+ * })
702
+ */
703
+ findUnique<T extends HarnessWorktreeFindUniqueArgs>(args: Prisma.SelectSubset<T, HarnessWorktreeFindUniqueArgs<ExtArgs>>): Prisma.Prisma__HarnessWorktreeClient<runtime.Types.Result.GetResult<Prisma.$HarnessWorktreePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
704
+
705
+ /**
706
+ * Find one HarnessWorktree that matches the filter or throw an error with `error.code='P2025'`
707
+ * if no matches were found.
708
+ * @param {HarnessWorktreeFindUniqueOrThrowArgs} args - Arguments to find a HarnessWorktree
709
+ * @example
710
+ * // Get one HarnessWorktree
711
+ * const harnessWorktree = await prisma.harnessWorktree.findUniqueOrThrow({
712
+ * where: {
713
+ * // ... provide filter here
714
+ * }
715
+ * })
716
+ */
717
+ findUniqueOrThrow<T extends HarnessWorktreeFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, HarnessWorktreeFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__HarnessWorktreeClient<runtime.Types.Result.GetResult<Prisma.$HarnessWorktreePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
718
+
719
+ /**
720
+ * Find the first HarnessWorktree that matches the filter.
721
+ * Note, that providing `undefined` is treated as the value not being there.
722
+ * Read more here: https://pris.ly/d/null-undefined
723
+ * @param {HarnessWorktreeFindFirstArgs} args - Arguments to find a HarnessWorktree
724
+ * @example
725
+ * // Get one HarnessWorktree
726
+ * const harnessWorktree = await prisma.harnessWorktree.findFirst({
727
+ * where: {
728
+ * // ... provide filter here
729
+ * }
730
+ * })
731
+ */
732
+ findFirst<T extends HarnessWorktreeFindFirstArgs>(args?: Prisma.SelectSubset<T, HarnessWorktreeFindFirstArgs<ExtArgs>>): Prisma.Prisma__HarnessWorktreeClient<runtime.Types.Result.GetResult<Prisma.$HarnessWorktreePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
733
+
734
+ /**
735
+ * Find the first HarnessWorktree that matches the filter or
736
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
737
+ * Note, that providing `undefined` is treated as the value not being there.
738
+ * Read more here: https://pris.ly/d/null-undefined
739
+ * @param {HarnessWorktreeFindFirstOrThrowArgs} args - Arguments to find a HarnessWorktree
740
+ * @example
741
+ * // Get one HarnessWorktree
742
+ * const harnessWorktree = await prisma.harnessWorktree.findFirstOrThrow({
743
+ * where: {
744
+ * // ... provide filter here
745
+ * }
746
+ * })
747
+ */
748
+ findFirstOrThrow<T extends HarnessWorktreeFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, HarnessWorktreeFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__HarnessWorktreeClient<runtime.Types.Result.GetResult<Prisma.$HarnessWorktreePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
749
+
750
+ /**
751
+ * Find zero or more HarnessWorktrees that matches the filter.
752
+ * Note, that providing `undefined` is treated as the value not being there.
753
+ * Read more here: https://pris.ly/d/null-undefined
754
+ * @param {HarnessWorktreeFindManyArgs} args - Arguments to filter and select certain fields only.
755
+ * @example
756
+ * // Get all HarnessWorktrees
757
+ * const harnessWorktrees = await prisma.harnessWorktree.findMany()
758
+ *
759
+ * // Get first 10 HarnessWorktrees
760
+ * const harnessWorktrees = await prisma.harnessWorktree.findMany({ take: 10 })
761
+ *
762
+ * // Only select the `id`
763
+ * const harnessWorktreeWithIdOnly = await prisma.harnessWorktree.findMany({ select: { id: true } })
764
+ *
765
+ */
766
+ findMany<T extends HarnessWorktreeFindManyArgs>(args?: Prisma.SelectSubset<T, HarnessWorktreeFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HarnessWorktreePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
767
+
768
+ /**
769
+ * Create a HarnessWorktree.
770
+ * @param {HarnessWorktreeCreateArgs} args - Arguments to create a HarnessWorktree.
771
+ * @example
772
+ * // Create one HarnessWorktree
773
+ * const HarnessWorktree = await prisma.harnessWorktree.create({
774
+ * data: {
775
+ * // ... data to create a HarnessWorktree
776
+ * }
777
+ * })
778
+ *
779
+ */
780
+ create<T extends HarnessWorktreeCreateArgs>(args: Prisma.SelectSubset<T, HarnessWorktreeCreateArgs<ExtArgs>>): Prisma.Prisma__HarnessWorktreeClient<runtime.Types.Result.GetResult<Prisma.$HarnessWorktreePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
781
+
782
+ /**
783
+ * Create many HarnessWorktrees.
784
+ * @param {HarnessWorktreeCreateManyArgs} args - Arguments to create many HarnessWorktrees.
785
+ * @example
786
+ * // Create many HarnessWorktrees
787
+ * const harnessWorktree = await prisma.harnessWorktree.createMany({
788
+ * data: [
789
+ * // ... provide data here
790
+ * ]
791
+ * })
792
+ *
793
+ */
794
+ createMany<T extends HarnessWorktreeCreateManyArgs>(args?: Prisma.SelectSubset<T, HarnessWorktreeCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
795
+
796
+ /**
797
+ * Create many HarnessWorktrees and returns the data saved in the database.
798
+ * @param {HarnessWorktreeCreateManyAndReturnArgs} args - Arguments to create many HarnessWorktrees.
799
+ * @example
800
+ * // Create many HarnessWorktrees
801
+ * const harnessWorktree = await prisma.harnessWorktree.createManyAndReturn({
802
+ * data: [
803
+ * // ... provide data here
804
+ * ]
805
+ * })
806
+ *
807
+ * // Create many HarnessWorktrees and only return the `id`
808
+ * const harnessWorktreeWithIdOnly = await prisma.harnessWorktree.createManyAndReturn({
809
+ * select: { id: true },
810
+ * data: [
811
+ * // ... provide data here
812
+ * ]
813
+ * })
814
+ * Note, that providing `undefined` is treated as the value not being there.
815
+ * Read more here: https://pris.ly/d/null-undefined
816
+ *
817
+ */
818
+ createManyAndReturn<T extends HarnessWorktreeCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, HarnessWorktreeCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HarnessWorktreePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
819
+
820
+ /**
821
+ * Delete a HarnessWorktree.
822
+ * @param {HarnessWorktreeDeleteArgs} args - Arguments to delete one HarnessWorktree.
823
+ * @example
824
+ * // Delete one HarnessWorktree
825
+ * const HarnessWorktree = await prisma.harnessWorktree.delete({
826
+ * where: {
827
+ * // ... filter to delete one HarnessWorktree
828
+ * }
829
+ * })
830
+ *
831
+ */
832
+ delete<T extends HarnessWorktreeDeleteArgs>(args: Prisma.SelectSubset<T, HarnessWorktreeDeleteArgs<ExtArgs>>): Prisma.Prisma__HarnessWorktreeClient<runtime.Types.Result.GetResult<Prisma.$HarnessWorktreePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
833
+
834
+ /**
835
+ * Update one HarnessWorktree.
836
+ * @param {HarnessWorktreeUpdateArgs} args - Arguments to update one HarnessWorktree.
837
+ * @example
838
+ * // Update one HarnessWorktree
839
+ * const harnessWorktree = await prisma.harnessWorktree.update({
840
+ * where: {
841
+ * // ... provide filter here
842
+ * },
843
+ * data: {
844
+ * // ... provide data here
845
+ * }
846
+ * })
847
+ *
848
+ */
849
+ update<T extends HarnessWorktreeUpdateArgs>(args: Prisma.SelectSubset<T, HarnessWorktreeUpdateArgs<ExtArgs>>): Prisma.Prisma__HarnessWorktreeClient<runtime.Types.Result.GetResult<Prisma.$HarnessWorktreePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
850
+
851
+ /**
852
+ * Delete zero or more HarnessWorktrees.
853
+ * @param {HarnessWorktreeDeleteManyArgs} args - Arguments to filter HarnessWorktrees to delete.
854
+ * @example
855
+ * // Delete a few HarnessWorktrees
856
+ * const { count } = await prisma.harnessWorktree.deleteMany({
857
+ * where: {
858
+ * // ... provide filter here
859
+ * }
860
+ * })
861
+ *
862
+ */
863
+ deleteMany<T extends HarnessWorktreeDeleteManyArgs>(args?: Prisma.SelectSubset<T, HarnessWorktreeDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
864
+
865
+ /**
866
+ * Update zero or more HarnessWorktrees.
867
+ * Note, that providing `undefined` is treated as the value not being there.
868
+ * Read more here: https://pris.ly/d/null-undefined
869
+ * @param {HarnessWorktreeUpdateManyArgs} args - Arguments to update one or more rows.
870
+ * @example
871
+ * // Update many HarnessWorktrees
872
+ * const harnessWorktree = await prisma.harnessWorktree.updateMany({
873
+ * where: {
874
+ * // ... provide filter here
875
+ * },
876
+ * data: {
877
+ * // ... provide data here
878
+ * }
879
+ * })
880
+ *
881
+ */
882
+ updateMany<T extends HarnessWorktreeUpdateManyArgs>(args: Prisma.SelectSubset<T, HarnessWorktreeUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
883
+
884
+ /**
885
+ * Update zero or more HarnessWorktrees and returns the data updated in the database.
886
+ * @param {HarnessWorktreeUpdateManyAndReturnArgs} args - Arguments to update many HarnessWorktrees.
887
+ * @example
888
+ * // Update many HarnessWorktrees
889
+ * const harnessWorktree = await prisma.harnessWorktree.updateManyAndReturn({
890
+ * where: {
891
+ * // ... provide filter here
892
+ * },
893
+ * data: [
894
+ * // ... provide data here
895
+ * ]
896
+ * })
897
+ *
898
+ * // Update zero or more HarnessWorktrees and only return the `id`
899
+ * const harnessWorktreeWithIdOnly = await prisma.harnessWorktree.updateManyAndReturn({
900
+ * select: { id: true },
901
+ * where: {
902
+ * // ... provide filter here
903
+ * },
904
+ * data: [
905
+ * // ... provide data here
906
+ * ]
907
+ * })
908
+ * Note, that providing `undefined` is treated as the value not being there.
909
+ * Read more here: https://pris.ly/d/null-undefined
910
+ *
911
+ */
912
+ updateManyAndReturn<T extends HarnessWorktreeUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, HarnessWorktreeUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HarnessWorktreePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
913
+
914
+ /**
915
+ * Create or update one HarnessWorktree.
916
+ * @param {HarnessWorktreeUpsertArgs} args - Arguments to update or create a HarnessWorktree.
917
+ * @example
918
+ * // Update or create a HarnessWorktree
919
+ * const harnessWorktree = await prisma.harnessWorktree.upsert({
920
+ * create: {
921
+ * // ... data to create a HarnessWorktree
922
+ * },
923
+ * update: {
924
+ * // ... in case it already exists, update
925
+ * },
926
+ * where: {
927
+ * // ... the filter for the HarnessWorktree we want to update
928
+ * }
929
+ * })
930
+ */
931
+ upsert<T extends HarnessWorktreeUpsertArgs>(args: Prisma.SelectSubset<T, HarnessWorktreeUpsertArgs<ExtArgs>>): Prisma.Prisma__HarnessWorktreeClient<runtime.Types.Result.GetResult<Prisma.$HarnessWorktreePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
932
+
933
+
934
+ /**
935
+ * Count the number of HarnessWorktrees.
936
+ * Note, that providing `undefined` is treated as the value not being there.
937
+ * Read more here: https://pris.ly/d/null-undefined
938
+ * @param {HarnessWorktreeCountArgs} args - Arguments to filter HarnessWorktrees to count.
939
+ * @example
940
+ * // Count the number of HarnessWorktrees
941
+ * const count = await prisma.harnessWorktree.count({
942
+ * where: {
943
+ * // ... the filter for the HarnessWorktrees we want to count
944
+ * }
945
+ * })
946
+ **/
947
+ count<T extends HarnessWorktreeCountArgs>(
948
+ args?: Prisma.Subset<T, HarnessWorktreeCountArgs>,
949
+ ): Prisma.PrismaPromise<
950
+ T extends runtime.Types.Utils.Record<'select', any>
951
+ ? T['select'] extends true
952
+ ? number
953
+ : Prisma.GetScalarType<T['select'], HarnessWorktreeCountAggregateOutputType>
954
+ : number
955
+ >
956
+
957
+ /**
958
+ * Allows you to perform aggregations operations on a HarnessWorktree.
959
+ * Note, that providing `undefined` is treated as the value not being there.
960
+ * Read more here: https://pris.ly/d/null-undefined
961
+ * @param {HarnessWorktreeAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
962
+ * @example
963
+ * // Ordered by age ascending
964
+ * // Where email contains prisma.io
965
+ * // Limited to the 10 users
966
+ * const aggregations = await prisma.user.aggregate({
967
+ * _avg: {
968
+ * age: true,
969
+ * },
970
+ * where: {
971
+ * email: {
972
+ * contains: "prisma.io",
973
+ * },
974
+ * },
975
+ * orderBy: {
976
+ * age: "asc",
977
+ * },
978
+ * take: 10,
979
+ * })
980
+ **/
981
+ aggregate<T extends HarnessWorktreeAggregateArgs>(args: Prisma.Subset<T, HarnessWorktreeAggregateArgs>): Prisma.PrismaPromise<GetHarnessWorktreeAggregateType<T>>
982
+
983
+ /**
984
+ * Group by HarnessWorktree.
985
+ * Note, that providing `undefined` is treated as the value not being there.
986
+ * Read more here: https://pris.ly/d/null-undefined
987
+ * @param {HarnessWorktreeGroupByArgs} args - Group by arguments.
988
+ * @example
989
+ * // Group by city, order by createdAt, get count
990
+ * const result = await prisma.user.groupBy({
991
+ * by: ['city', 'createdAt'],
992
+ * orderBy: {
993
+ * createdAt: true
994
+ * },
995
+ * _count: {
996
+ * _all: true
997
+ * },
998
+ * })
999
+ *
1000
+ **/
1001
+ groupBy<
1002
+ T extends HarnessWorktreeGroupByArgs,
1003
+ HasSelectOrTake extends Prisma.Or<
1004
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1005
+ Prisma.Extends<'take', Prisma.Keys<T>>
1006
+ >,
1007
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1008
+ ? { orderBy: HarnessWorktreeGroupByArgs['orderBy'] }
1009
+ : { orderBy?: HarnessWorktreeGroupByArgs['orderBy'] },
1010
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1011
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1012
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1013
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1014
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1015
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1016
+ InputErrors extends ByEmpty extends Prisma.True
1017
+ ? `Error: "by" must not be empty.`
1018
+ : HavingValid extends Prisma.False
1019
+ ? {
1020
+ [P in HavingFields]: P extends ByFields
1021
+ ? never
1022
+ : P extends string
1023
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1024
+ : [
1025
+ Error,
1026
+ 'Field ',
1027
+ P,
1028
+ ` in "having" needs to be provided in "by"`,
1029
+ ]
1030
+ }[HavingFields]
1031
+ : 'take' extends Prisma.Keys<T>
1032
+ ? 'orderBy' extends Prisma.Keys<T>
1033
+ ? ByValid extends Prisma.True
1034
+ ? {}
1035
+ : {
1036
+ [P in OrderFields]: P extends ByFields
1037
+ ? never
1038
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1039
+ }[OrderFields]
1040
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1041
+ : 'skip' extends Prisma.Keys<T>
1042
+ ? 'orderBy' extends Prisma.Keys<T>
1043
+ ? ByValid extends Prisma.True
1044
+ ? {}
1045
+ : {
1046
+ [P in OrderFields]: P extends ByFields
1047
+ ? never
1048
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1049
+ }[OrderFields]
1050
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1051
+ : ByValid extends Prisma.True
1052
+ ? {}
1053
+ : {
1054
+ [P in OrderFields]: P extends ByFields
1055
+ ? never
1056
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1057
+ }[OrderFields]
1058
+ >(args: Prisma.SubsetIntersection<T, HarnessWorktreeGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetHarnessWorktreeGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1059
+ /**
1060
+ * Fields of the HarnessWorktree model
1061
+ */
1062
+ readonly fields: HarnessWorktreeFieldRefs;
1063
+ }
1064
+
1065
+ /**
1066
+ * The delegate class that acts as a "Promise-like" for HarnessWorktree.
1067
+ * Why is this prefixed with `Prisma__`?
1068
+ * Because we want to prevent naming conflicts as mentioned in
1069
+ * https://github.com/prisma/prisma-client-js/issues/707
1070
+ */
1071
+ export interface Prisma__HarnessWorktreeClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1072
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1073
+ user<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1074
+ /**
1075
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1076
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1077
+ * @param onrejected The callback to execute when the Promise is rejected.
1078
+ * @returns A Promise for the completion of which ever callback is executed.
1079
+ */
1080
+ 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>
1081
+ /**
1082
+ * Attaches a callback for only the rejection of the Promise.
1083
+ * @param onrejected The callback to execute when the Promise is rejected.
1084
+ * @returns A Promise for the completion of the callback.
1085
+ */
1086
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1087
+ /**
1088
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1089
+ * resolved value cannot be modified from the callback.
1090
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1091
+ * @returns A Promise for the completion of the callback.
1092
+ */
1093
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1094
+ }
1095
+
1096
+
1097
+
1098
+
1099
+ /**
1100
+ * Fields of the HarnessWorktree model
1101
+ */
1102
+ export interface HarnessWorktreeFieldRefs {
1103
+ readonly id: Prisma.FieldRef<"HarnessWorktree", 'String'>
1104
+ readonly userId: Prisma.FieldRef<"HarnessWorktree", 'String'>
1105
+ readonly threadId: Prisma.FieldRef<"HarnessWorktree", 'String'>
1106
+ readonly path: Prisma.FieldRef<"HarnessWorktree", 'String'>
1107
+ readonly baseBranch: Prisma.FieldRef<"HarnessWorktree", 'String'>
1108
+ readonly headBranch: Prisma.FieldRef<"HarnessWorktree", 'String'>
1109
+ readonly status: Prisma.FieldRef<"HarnessWorktree", 'String'>
1110
+ readonly removedAt: Prisma.FieldRef<"HarnessWorktree", 'DateTime'>
1111
+ readonly createdAt: Prisma.FieldRef<"HarnessWorktree", 'DateTime'>
1112
+ readonly updatedAt: Prisma.FieldRef<"HarnessWorktree", 'DateTime'>
1113
+ }
1114
+
1115
+
1116
+ // Custom InputTypes
1117
+ /**
1118
+ * HarnessWorktree findUnique
1119
+ */
1120
+ export type HarnessWorktreeFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1121
+ /**
1122
+ * Select specific fields to fetch from the HarnessWorktree
1123
+ */
1124
+ select?: Prisma.HarnessWorktreeSelect<ExtArgs> | null
1125
+ /**
1126
+ * Omit specific fields from the HarnessWorktree
1127
+ */
1128
+ omit?: Prisma.HarnessWorktreeOmit<ExtArgs> | null
1129
+ /**
1130
+ * Choose, which related nodes to fetch as well
1131
+ */
1132
+ include?: Prisma.HarnessWorktreeInclude<ExtArgs> | null
1133
+ /**
1134
+ * Filter, which HarnessWorktree to fetch.
1135
+ */
1136
+ where: Prisma.HarnessWorktreeWhereUniqueInput
1137
+ }
1138
+
1139
+ /**
1140
+ * HarnessWorktree findUniqueOrThrow
1141
+ */
1142
+ export type HarnessWorktreeFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1143
+ /**
1144
+ * Select specific fields to fetch from the HarnessWorktree
1145
+ */
1146
+ select?: Prisma.HarnessWorktreeSelect<ExtArgs> | null
1147
+ /**
1148
+ * Omit specific fields from the HarnessWorktree
1149
+ */
1150
+ omit?: Prisma.HarnessWorktreeOmit<ExtArgs> | null
1151
+ /**
1152
+ * Choose, which related nodes to fetch as well
1153
+ */
1154
+ include?: Prisma.HarnessWorktreeInclude<ExtArgs> | null
1155
+ /**
1156
+ * Filter, which HarnessWorktree to fetch.
1157
+ */
1158
+ where: Prisma.HarnessWorktreeWhereUniqueInput
1159
+ }
1160
+
1161
+ /**
1162
+ * HarnessWorktree findFirst
1163
+ */
1164
+ export type HarnessWorktreeFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1165
+ /**
1166
+ * Select specific fields to fetch from the HarnessWorktree
1167
+ */
1168
+ select?: Prisma.HarnessWorktreeSelect<ExtArgs> | null
1169
+ /**
1170
+ * Omit specific fields from the HarnessWorktree
1171
+ */
1172
+ omit?: Prisma.HarnessWorktreeOmit<ExtArgs> | null
1173
+ /**
1174
+ * Choose, which related nodes to fetch as well
1175
+ */
1176
+ include?: Prisma.HarnessWorktreeInclude<ExtArgs> | null
1177
+ /**
1178
+ * Filter, which HarnessWorktree to fetch.
1179
+ */
1180
+ where?: Prisma.HarnessWorktreeWhereInput
1181
+ /**
1182
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1183
+ *
1184
+ * Determine the order of HarnessWorktrees to fetch.
1185
+ */
1186
+ orderBy?: Prisma.HarnessWorktreeOrderByWithRelationInput | Prisma.HarnessWorktreeOrderByWithRelationInput[]
1187
+ /**
1188
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1189
+ *
1190
+ * Sets the position for searching for HarnessWorktrees.
1191
+ */
1192
+ cursor?: Prisma.HarnessWorktreeWhereUniqueInput
1193
+ /**
1194
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1195
+ *
1196
+ * Take `±n` HarnessWorktrees from the position of the cursor.
1197
+ */
1198
+ take?: number
1199
+ /**
1200
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1201
+ *
1202
+ * Skip the first `n` HarnessWorktrees.
1203
+ */
1204
+ skip?: number
1205
+ /**
1206
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1207
+ *
1208
+ * Filter by unique combinations of HarnessWorktrees.
1209
+ */
1210
+ distinct?: Prisma.HarnessWorktreeScalarFieldEnum | Prisma.HarnessWorktreeScalarFieldEnum[]
1211
+ }
1212
+
1213
+ /**
1214
+ * HarnessWorktree findFirstOrThrow
1215
+ */
1216
+ export type HarnessWorktreeFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1217
+ /**
1218
+ * Select specific fields to fetch from the HarnessWorktree
1219
+ */
1220
+ select?: Prisma.HarnessWorktreeSelect<ExtArgs> | null
1221
+ /**
1222
+ * Omit specific fields from the HarnessWorktree
1223
+ */
1224
+ omit?: Prisma.HarnessWorktreeOmit<ExtArgs> | null
1225
+ /**
1226
+ * Choose, which related nodes to fetch as well
1227
+ */
1228
+ include?: Prisma.HarnessWorktreeInclude<ExtArgs> | null
1229
+ /**
1230
+ * Filter, which HarnessWorktree to fetch.
1231
+ */
1232
+ where?: Prisma.HarnessWorktreeWhereInput
1233
+ /**
1234
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1235
+ *
1236
+ * Determine the order of HarnessWorktrees to fetch.
1237
+ */
1238
+ orderBy?: Prisma.HarnessWorktreeOrderByWithRelationInput | Prisma.HarnessWorktreeOrderByWithRelationInput[]
1239
+ /**
1240
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1241
+ *
1242
+ * Sets the position for searching for HarnessWorktrees.
1243
+ */
1244
+ cursor?: Prisma.HarnessWorktreeWhereUniqueInput
1245
+ /**
1246
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1247
+ *
1248
+ * Take `±n` HarnessWorktrees from the position of the cursor.
1249
+ */
1250
+ take?: number
1251
+ /**
1252
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1253
+ *
1254
+ * Skip the first `n` HarnessWorktrees.
1255
+ */
1256
+ skip?: number
1257
+ /**
1258
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1259
+ *
1260
+ * Filter by unique combinations of HarnessWorktrees.
1261
+ */
1262
+ distinct?: Prisma.HarnessWorktreeScalarFieldEnum | Prisma.HarnessWorktreeScalarFieldEnum[]
1263
+ }
1264
+
1265
+ /**
1266
+ * HarnessWorktree findMany
1267
+ */
1268
+ export type HarnessWorktreeFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1269
+ /**
1270
+ * Select specific fields to fetch from the HarnessWorktree
1271
+ */
1272
+ select?: Prisma.HarnessWorktreeSelect<ExtArgs> | null
1273
+ /**
1274
+ * Omit specific fields from the HarnessWorktree
1275
+ */
1276
+ omit?: Prisma.HarnessWorktreeOmit<ExtArgs> | null
1277
+ /**
1278
+ * Choose, which related nodes to fetch as well
1279
+ */
1280
+ include?: Prisma.HarnessWorktreeInclude<ExtArgs> | null
1281
+ /**
1282
+ * Filter, which HarnessWorktrees to fetch.
1283
+ */
1284
+ where?: Prisma.HarnessWorktreeWhereInput
1285
+ /**
1286
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1287
+ *
1288
+ * Determine the order of HarnessWorktrees to fetch.
1289
+ */
1290
+ orderBy?: Prisma.HarnessWorktreeOrderByWithRelationInput | Prisma.HarnessWorktreeOrderByWithRelationInput[]
1291
+ /**
1292
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1293
+ *
1294
+ * Sets the position for listing HarnessWorktrees.
1295
+ */
1296
+ cursor?: Prisma.HarnessWorktreeWhereUniqueInput
1297
+ /**
1298
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1299
+ *
1300
+ * Take `±n` HarnessWorktrees from the position of the cursor.
1301
+ */
1302
+ take?: number
1303
+ /**
1304
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1305
+ *
1306
+ * Skip the first `n` HarnessWorktrees.
1307
+ */
1308
+ skip?: number
1309
+ /**
1310
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1311
+ *
1312
+ * Filter by unique combinations of HarnessWorktrees.
1313
+ */
1314
+ distinct?: Prisma.HarnessWorktreeScalarFieldEnum | Prisma.HarnessWorktreeScalarFieldEnum[]
1315
+ }
1316
+
1317
+ /**
1318
+ * HarnessWorktree create
1319
+ */
1320
+ export type HarnessWorktreeCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1321
+ /**
1322
+ * Select specific fields to fetch from the HarnessWorktree
1323
+ */
1324
+ select?: Prisma.HarnessWorktreeSelect<ExtArgs> | null
1325
+ /**
1326
+ * Omit specific fields from the HarnessWorktree
1327
+ */
1328
+ omit?: Prisma.HarnessWorktreeOmit<ExtArgs> | null
1329
+ /**
1330
+ * Choose, which related nodes to fetch as well
1331
+ */
1332
+ include?: Prisma.HarnessWorktreeInclude<ExtArgs> | null
1333
+ /**
1334
+ * The data needed to create a HarnessWorktree.
1335
+ */
1336
+ data: Prisma.XOR<Prisma.HarnessWorktreeCreateInput, Prisma.HarnessWorktreeUncheckedCreateInput>
1337
+ }
1338
+
1339
+ /**
1340
+ * HarnessWorktree createMany
1341
+ */
1342
+ export type HarnessWorktreeCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1343
+ /**
1344
+ * The data used to create many HarnessWorktrees.
1345
+ */
1346
+ data: Prisma.HarnessWorktreeCreateManyInput | Prisma.HarnessWorktreeCreateManyInput[]
1347
+ skipDuplicates?: boolean
1348
+ }
1349
+
1350
+ /**
1351
+ * HarnessWorktree createManyAndReturn
1352
+ */
1353
+ export type HarnessWorktreeCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1354
+ /**
1355
+ * Select specific fields to fetch from the HarnessWorktree
1356
+ */
1357
+ select?: Prisma.HarnessWorktreeSelectCreateManyAndReturn<ExtArgs> | null
1358
+ /**
1359
+ * Omit specific fields from the HarnessWorktree
1360
+ */
1361
+ omit?: Prisma.HarnessWorktreeOmit<ExtArgs> | null
1362
+ /**
1363
+ * The data used to create many HarnessWorktrees.
1364
+ */
1365
+ data: Prisma.HarnessWorktreeCreateManyInput | Prisma.HarnessWorktreeCreateManyInput[]
1366
+ skipDuplicates?: boolean
1367
+ /**
1368
+ * Choose, which related nodes to fetch as well
1369
+ */
1370
+ include?: Prisma.HarnessWorktreeIncludeCreateManyAndReturn<ExtArgs> | null
1371
+ }
1372
+
1373
+ /**
1374
+ * HarnessWorktree update
1375
+ */
1376
+ export type HarnessWorktreeUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1377
+ /**
1378
+ * Select specific fields to fetch from the HarnessWorktree
1379
+ */
1380
+ select?: Prisma.HarnessWorktreeSelect<ExtArgs> | null
1381
+ /**
1382
+ * Omit specific fields from the HarnessWorktree
1383
+ */
1384
+ omit?: Prisma.HarnessWorktreeOmit<ExtArgs> | null
1385
+ /**
1386
+ * Choose, which related nodes to fetch as well
1387
+ */
1388
+ include?: Prisma.HarnessWorktreeInclude<ExtArgs> | null
1389
+ /**
1390
+ * The data needed to update a HarnessWorktree.
1391
+ */
1392
+ data: Prisma.XOR<Prisma.HarnessWorktreeUpdateInput, Prisma.HarnessWorktreeUncheckedUpdateInput>
1393
+ /**
1394
+ * Choose, which HarnessWorktree to update.
1395
+ */
1396
+ where: Prisma.HarnessWorktreeWhereUniqueInput
1397
+ }
1398
+
1399
+ /**
1400
+ * HarnessWorktree updateMany
1401
+ */
1402
+ export type HarnessWorktreeUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1403
+ /**
1404
+ * The data used to update HarnessWorktrees.
1405
+ */
1406
+ data: Prisma.XOR<Prisma.HarnessWorktreeUpdateManyMutationInput, Prisma.HarnessWorktreeUncheckedUpdateManyInput>
1407
+ /**
1408
+ * Filter which HarnessWorktrees to update
1409
+ */
1410
+ where?: Prisma.HarnessWorktreeWhereInput
1411
+ /**
1412
+ * Limit how many HarnessWorktrees to update.
1413
+ */
1414
+ limit?: number
1415
+ }
1416
+
1417
+ /**
1418
+ * HarnessWorktree updateManyAndReturn
1419
+ */
1420
+ export type HarnessWorktreeUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1421
+ /**
1422
+ * Select specific fields to fetch from the HarnessWorktree
1423
+ */
1424
+ select?: Prisma.HarnessWorktreeSelectUpdateManyAndReturn<ExtArgs> | null
1425
+ /**
1426
+ * Omit specific fields from the HarnessWorktree
1427
+ */
1428
+ omit?: Prisma.HarnessWorktreeOmit<ExtArgs> | null
1429
+ /**
1430
+ * The data used to update HarnessWorktrees.
1431
+ */
1432
+ data: Prisma.XOR<Prisma.HarnessWorktreeUpdateManyMutationInput, Prisma.HarnessWorktreeUncheckedUpdateManyInput>
1433
+ /**
1434
+ * Filter which HarnessWorktrees to update
1435
+ */
1436
+ where?: Prisma.HarnessWorktreeWhereInput
1437
+ /**
1438
+ * Limit how many HarnessWorktrees to update.
1439
+ */
1440
+ limit?: number
1441
+ /**
1442
+ * Choose, which related nodes to fetch as well
1443
+ */
1444
+ include?: Prisma.HarnessWorktreeIncludeUpdateManyAndReturn<ExtArgs> | null
1445
+ }
1446
+
1447
+ /**
1448
+ * HarnessWorktree upsert
1449
+ */
1450
+ export type HarnessWorktreeUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1451
+ /**
1452
+ * Select specific fields to fetch from the HarnessWorktree
1453
+ */
1454
+ select?: Prisma.HarnessWorktreeSelect<ExtArgs> | null
1455
+ /**
1456
+ * Omit specific fields from the HarnessWorktree
1457
+ */
1458
+ omit?: Prisma.HarnessWorktreeOmit<ExtArgs> | null
1459
+ /**
1460
+ * Choose, which related nodes to fetch as well
1461
+ */
1462
+ include?: Prisma.HarnessWorktreeInclude<ExtArgs> | null
1463
+ /**
1464
+ * The filter to search for the HarnessWorktree to update in case it exists.
1465
+ */
1466
+ where: Prisma.HarnessWorktreeWhereUniqueInput
1467
+ /**
1468
+ * In case the HarnessWorktree found by the `where` argument doesn't exist, create a new HarnessWorktree with this data.
1469
+ */
1470
+ create: Prisma.XOR<Prisma.HarnessWorktreeCreateInput, Prisma.HarnessWorktreeUncheckedCreateInput>
1471
+ /**
1472
+ * In case the HarnessWorktree was found with the provided `where` argument, update it with this data.
1473
+ */
1474
+ update: Prisma.XOR<Prisma.HarnessWorktreeUpdateInput, Prisma.HarnessWorktreeUncheckedUpdateInput>
1475
+ }
1476
+
1477
+ /**
1478
+ * HarnessWorktree delete
1479
+ */
1480
+ export type HarnessWorktreeDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1481
+ /**
1482
+ * Select specific fields to fetch from the HarnessWorktree
1483
+ */
1484
+ select?: Prisma.HarnessWorktreeSelect<ExtArgs> | null
1485
+ /**
1486
+ * Omit specific fields from the HarnessWorktree
1487
+ */
1488
+ omit?: Prisma.HarnessWorktreeOmit<ExtArgs> | null
1489
+ /**
1490
+ * Choose, which related nodes to fetch as well
1491
+ */
1492
+ include?: Prisma.HarnessWorktreeInclude<ExtArgs> | null
1493
+ /**
1494
+ * Filter which HarnessWorktree to delete.
1495
+ */
1496
+ where: Prisma.HarnessWorktreeWhereUniqueInput
1497
+ }
1498
+
1499
+ /**
1500
+ * HarnessWorktree deleteMany
1501
+ */
1502
+ export type HarnessWorktreeDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1503
+ /**
1504
+ * Filter which HarnessWorktrees to delete
1505
+ */
1506
+ where?: Prisma.HarnessWorktreeWhereInput
1507
+ /**
1508
+ * Limit how many HarnessWorktrees to delete.
1509
+ */
1510
+ limit?: number
1511
+ }
1512
+
1513
+ /**
1514
+ * HarnessWorktree without action
1515
+ */
1516
+ export type HarnessWorktreeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1517
+ /**
1518
+ * Select specific fields to fetch from the HarnessWorktree
1519
+ */
1520
+ select?: Prisma.HarnessWorktreeSelect<ExtArgs> | null
1521
+ /**
1522
+ * Omit specific fields from the HarnessWorktree
1523
+ */
1524
+ omit?: Prisma.HarnessWorktreeOmit<ExtArgs> | null
1525
+ /**
1526
+ * Choose, which related nodes to fetch as well
1527
+ */
1528
+ include?: Prisma.HarnessWorktreeInclude<ExtArgs> | null
1529
+ }