@allbluecn/database 0.14.15 → 0.14.17
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/generated/internal/class.ts +4 -4
- package/generated/internal/prismaNamespace.ts +5 -1
- package/generated/internal/prismaNamespaceBrowser.ts +5 -1
- package/generated/models/ChatThread.ts +145 -1
- package/generated/models/HarnessWorkspace.ts +231 -2
- package/generated/models/User.ts +373 -1
- package/generated/models/Workspace.ts +212 -0
- package/migrations/20261130000000_add_harness_permission/migration.sql +2 -0
- package/migrations/20261204000000_add_user_ai_search_provider_id/migration.sql +2 -0
- package/migrations/20261204225136_harness_workspace_product_binding/migration.sql +15 -0
- package/package.json +4 -3
- package/schema.prisma +11 -1
- package/scripts/patch-workerd-wasm.mjs +70 -0
|
@@ -34,6 +34,7 @@ export type HarnessWorkspaceMinAggregateOutputType = {
|
|
|
34
34
|
lastSyncedAt: Date | null
|
|
35
35
|
createdAt: Date | null
|
|
36
36
|
updatedAt: Date | null
|
|
37
|
+
workspaceId: string | null
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
export type HarnessWorkspaceMaxAggregateOutputType = {
|
|
@@ -46,6 +47,7 @@ export type HarnessWorkspaceMaxAggregateOutputType = {
|
|
|
46
47
|
lastSyncedAt: Date | null
|
|
47
48
|
createdAt: Date | null
|
|
48
49
|
updatedAt: Date | null
|
|
50
|
+
workspaceId: string | null
|
|
49
51
|
}
|
|
50
52
|
|
|
51
53
|
export type HarnessWorkspaceCountAggregateOutputType = {
|
|
@@ -58,6 +60,7 @@ export type HarnessWorkspaceCountAggregateOutputType = {
|
|
|
58
60
|
lastSyncedAt: number
|
|
59
61
|
createdAt: number
|
|
60
62
|
updatedAt: number
|
|
63
|
+
workspaceId: number
|
|
61
64
|
_all: number
|
|
62
65
|
}
|
|
63
66
|
|
|
@@ -72,6 +75,7 @@ export type HarnessWorkspaceMinAggregateInputType = {
|
|
|
72
75
|
lastSyncedAt?: true
|
|
73
76
|
createdAt?: true
|
|
74
77
|
updatedAt?: true
|
|
78
|
+
workspaceId?: true
|
|
75
79
|
}
|
|
76
80
|
|
|
77
81
|
export type HarnessWorkspaceMaxAggregateInputType = {
|
|
@@ -84,6 +88,7 @@ export type HarnessWorkspaceMaxAggregateInputType = {
|
|
|
84
88
|
lastSyncedAt?: true
|
|
85
89
|
createdAt?: true
|
|
86
90
|
updatedAt?: true
|
|
91
|
+
workspaceId?: true
|
|
87
92
|
}
|
|
88
93
|
|
|
89
94
|
export type HarnessWorkspaceCountAggregateInputType = {
|
|
@@ -96,6 +101,7 @@ export type HarnessWorkspaceCountAggregateInputType = {
|
|
|
96
101
|
lastSyncedAt?: true
|
|
97
102
|
createdAt?: true
|
|
98
103
|
updatedAt?: true
|
|
104
|
+
workspaceId?: true
|
|
99
105
|
_all?: true
|
|
100
106
|
}
|
|
101
107
|
|
|
@@ -181,6 +187,7 @@ export type HarnessWorkspaceGroupByOutputType = {
|
|
|
181
187
|
lastSyncedAt: Date | null
|
|
182
188
|
createdAt: Date
|
|
183
189
|
updatedAt: Date
|
|
190
|
+
workspaceId: string | null
|
|
184
191
|
_count: HarnessWorkspaceCountAggregateOutputType | null
|
|
185
192
|
_min: HarnessWorkspaceMinAggregateOutputType | null
|
|
186
193
|
_max: HarnessWorkspaceMaxAggregateOutputType | null
|
|
@@ -214,6 +221,8 @@ export type HarnessWorkspaceWhereInput = {
|
|
|
214
221
|
lastSyncedAt?: Prisma.DateTimeNullableFilter<"HarnessWorkspace"> | Date | string | null
|
|
215
222
|
createdAt?: Prisma.DateTimeFilter<"HarnessWorkspace"> | Date | string
|
|
216
223
|
updatedAt?: Prisma.DateTimeFilter<"HarnessWorkspace"> | Date | string
|
|
224
|
+
workspaceId?: Prisma.StringNullableFilter<"HarnessWorkspace"> | string | null
|
|
225
|
+
workspace?: Prisma.XOR<Prisma.WorkspaceNullableScalarRelationFilter, Prisma.WorkspaceWhereInput> | null
|
|
217
226
|
owner?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
218
227
|
files?: Prisma.WorkspaceFileListRelationFilter
|
|
219
228
|
threads?: Prisma.ChatThreadListRelationFilter
|
|
@@ -229,6 +238,8 @@ export type HarnessWorkspaceOrderByWithRelationInput = {
|
|
|
229
238
|
lastSyncedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
230
239
|
createdAt?: Prisma.SortOrder
|
|
231
240
|
updatedAt?: Prisma.SortOrder
|
|
241
|
+
workspaceId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
242
|
+
workspace?: Prisma.WorkspaceOrderByWithRelationInput
|
|
232
243
|
owner?: Prisma.UserOrderByWithRelationInput
|
|
233
244
|
files?: Prisma.WorkspaceFileOrderByRelationAggregateInput
|
|
234
245
|
threads?: Prisma.ChatThreadOrderByRelationAggregateInput
|
|
@@ -236,6 +247,7 @@ export type HarnessWorkspaceOrderByWithRelationInput = {
|
|
|
236
247
|
|
|
237
248
|
export type HarnessWorkspaceWhereUniqueInput = Prisma.AtLeast<{
|
|
238
249
|
id?: string
|
|
250
|
+
ownerId_workspaceId?: Prisma.HarnessWorkspaceOwnerIdWorkspaceIdCompoundUniqueInput
|
|
239
251
|
AND?: Prisma.HarnessWorkspaceWhereInput | Prisma.HarnessWorkspaceWhereInput[]
|
|
240
252
|
OR?: Prisma.HarnessWorkspaceWhereInput[]
|
|
241
253
|
NOT?: Prisma.HarnessWorkspaceWhereInput | Prisma.HarnessWorkspaceWhereInput[]
|
|
@@ -247,10 +259,12 @@ export type HarnessWorkspaceWhereUniqueInput = Prisma.AtLeast<{
|
|
|
247
259
|
lastSyncedAt?: Prisma.DateTimeNullableFilter<"HarnessWorkspace"> | Date | string | null
|
|
248
260
|
createdAt?: Prisma.DateTimeFilter<"HarnessWorkspace"> | Date | string
|
|
249
261
|
updatedAt?: Prisma.DateTimeFilter<"HarnessWorkspace"> | Date | string
|
|
262
|
+
workspaceId?: Prisma.StringNullableFilter<"HarnessWorkspace"> | string | null
|
|
263
|
+
workspace?: Prisma.XOR<Prisma.WorkspaceNullableScalarRelationFilter, Prisma.WorkspaceWhereInput> | null
|
|
250
264
|
owner?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
251
265
|
files?: Prisma.WorkspaceFileListRelationFilter
|
|
252
266
|
threads?: Prisma.ChatThreadListRelationFilter
|
|
253
|
-
}, "id">
|
|
267
|
+
}, "id" | "ownerId_workspaceId">
|
|
254
268
|
|
|
255
269
|
export type HarnessWorkspaceOrderByWithAggregationInput = {
|
|
256
270
|
id?: Prisma.SortOrder
|
|
@@ -262,6 +276,7 @@ export type HarnessWorkspaceOrderByWithAggregationInput = {
|
|
|
262
276
|
lastSyncedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
263
277
|
createdAt?: Prisma.SortOrder
|
|
264
278
|
updatedAt?: Prisma.SortOrder
|
|
279
|
+
workspaceId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
265
280
|
_count?: Prisma.HarnessWorkspaceCountOrderByAggregateInput
|
|
266
281
|
_max?: Prisma.HarnessWorkspaceMaxOrderByAggregateInput
|
|
267
282
|
_min?: Prisma.HarnessWorkspaceMinOrderByAggregateInput
|
|
@@ -280,6 +295,7 @@ export type HarnessWorkspaceScalarWhereWithAggregatesInput = {
|
|
|
280
295
|
lastSyncedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"HarnessWorkspace"> | Date | string | null
|
|
281
296
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"HarnessWorkspace"> | Date | string
|
|
282
297
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"HarnessWorkspace"> | Date | string
|
|
298
|
+
workspaceId?: Prisma.StringNullableWithAggregatesFilter<"HarnessWorkspace"> | string | null
|
|
283
299
|
}
|
|
284
300
|
|
|
285
301
|
export type HarnessWorkspaceCreateInput = {
|
|
@@ -291,6 +307,7 @@ export type HarnessWorkspaceCreateInput = {
|
|
|
291
307
|
lastSyncedAt?: Date | string | null
|
|
292
308
|
createdAt?: Date | string
|
|
293
309
|
updatedAt?: Date | string
|
|
310
|
+
workspace?: Prisma.WorkspaceCreateNestedOneWithoutHarnessWorkspacesInput
|
|
294
311
|
owner: Prisma.UserCreateNestedOneWithoutHarnessWorkspacesInput
|
|
295
312
|
files?: Prisma.WorkspaceFileCreateNestedManyWithoutWorkspaceInput
|
|
296
313
|
threads?: Prisma.ChatThreadCreateNestedManyWithoutWorkspaceInput
|
|
@@ -306,6 +323,7 @@ export type HarnessWorkspaceUncheckedCreateInput = {
|
|
|
306
323
|
lastSyncedAt?: Date | string | null
|
|
307
324
|
createdAt?: Date | string
|
|
308
325
|
updatedAt?: Date | string
|
|
326
|
+
workspaceId?: string | null
|
|
309
327
|
files?: Prisma.WorkspaceFileUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
310
328
|
threads?: Prisma.ChatThreadUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
311
329
|
}
|
|
@@ -319,6 +337,7 @@ export type HarnessWorkspaceUpdateInput = {
|
|
|
319
337
|
lastSyncedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
320
338
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
321
339
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
340
|
+
workspace?: Prisma.WorkspaceUpdateOneWithoutHarnessWorkspacesNestedInput
|
|
322
341
|
owner?: Prisma.UserUpdateOneRequiredWithoutHarnessWorkspacesNestedInput
|
|
323
342
|
files?: Prisma.WorkspaceFileUpdateManyWithoutWorkspaceNestedInput
|
|
324
343
|
threads?: Prisma.ChatThreadUpdateManyWithoutWorkspaceNestedInput
|
|
@@ -334,6 +353,7 @@ export type HarnessWorkspaceUncheckedUpdateInput = {
|
|
|
334
353
|
lastSyncedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
335
354
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
336
355
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
356
|
+
workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
337
357
|
files?: Prisma.WorkspaceFileUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
338
358
|
threads?: Prisma.ChatThreadUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
339
359
|
}
|
|
@@ -348,6 +368,7 @@ export type HarnessWorkspaceCreateManyInput = {
|
|
|
348
368
|
lastSyncedAt?: Date | string | null
|
|
349
369
|
createdAt?: Date | string
|
|
350
370
|
updatedAt?: Date | string
|
|
371
|
+
workspaceId?: string | null
|
|
351
372
|
}
|
|
352
373
|
|
|
353
374
|
export type HarnessWorkspaceUpdateManyMutationInput = {
|
|
@@ -371,6 +392,7 @@ export type HarnessWorkspaceUncheckedUpdateManyInput = {
|
|
|
371
392
|
lastSyncedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
372
393
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
373
394
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
395
|
+
workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
374
396
|
}
|
|
375
397
|
|
|
376
398
|
export type HarnessWorkspaceListRelationFilter = {
|
|
@@ -388,6 +410,11 @@ export type HarnessWorkspaceNullableScalarRelationFilter = {
|
|
|
388
410
|
isNot?: Prisma.HarnessWorkspaceWhereInput | null
|
|
389
411
|
}
|
|
390
412
|
|
|
413
|
+
export type HarnessWorkspaceOwnerIdWorkspaceIdCompoundUniqueInput = {
|
|
414
|
+
ownerId: string
|
|
415
|
+
workspaceId: string
|
|
416
|
+
}
|
|
417
|
+
|
|
391
418
|
export type HarnessWorkspaceCountOrderByAggregateInput = {
|
|
392
419
|
id?: Prisma.SortOrder
|
|
393
420
|
name?: Prisma.SortOrder
|
|
@@ -398,6 +425,7 @@ export type HarnessWorkspaceCountOrderByAggregateInput = {
|
|
|
398
425
|
lastSyncedAt?: Prisma.SortOrder
|
|
399
426
|
createdAt?: Prisma.SortOrder
|
|
400
427
|
updatedAt?: Prisma.SortOrder
|
|
428
|
+
workspaceId?: Prisma.SortOrder
|
|
401
429
|
}
|
|
402
430
|
|
|
403
431
|
export type HarnessWorkspaceMaxOrderByAggregateInput = {
|
|
@@ -410,6 +438,7 @@ export type HarnessWorkspaceMaxOrderByAggregateInput = {
|
|
|
410
438
|
lastSyncedAt?: Prisma.SortOrder
|
|
411
439
|
createdAt?: Prisma.SortOrder
|
|
412
440
|
updatedAt?: Prisma.SortOrder
|
|
441
|
+
workspaceId?: Prisma.SortOrder
|
|
413
442
|
}
|
|
414
443
|
|
|
415
444
|
export type HarnessWorkspaceMinOrderByAggregateInput = {
|
|
@@ -422,6 +451,7 @@ export type HarnessWorkspaceMinOrderByAggregateInput = {
|
|
|
422
451
|
lastSyncedAt?: Prisma.SortOrder
|
|
423
452
|
createdAt?: Prisma.SortOrder
|
|
424
453
|
updatedAt?: Prisma.SortOrder
|
|
454
|
+
workspaceId?: Prisma.SortOrder
|
|
425
455
|
}
|
|
426
456
|
|
|
427
457
|
export type HarnessWorkspaceScalarRelationFilter = {
|
|
@@ -471,6 +501,48 @@ export type HarnessWorkspaceUncheckedUpdateManyWithoutOwnerNestedInput = {
|
|
|
471
501
|
deleteMany?: Prisma.HarnessWorkspaceScalarWhereInput | Prisma.HarnessWorkspaceScalarWhereInput[]
|
|
472
502
|
}
|
|
473
503
|
|
|
504
|
+
export type HarnessWorkspaceCreateNestedManyWithoutWorkspaceInput = {
|
|
505
|
+
create?: Prisma.XOR<Prisma.HarnessWorkspaceCreateWithoutWorkspaceInput, Prisma.HarnessWorkspaceUncheckedCreateWithoutWorkspaceInput> | Prisma.HarnessWorkspaceCreateWithoutWorkspaceInput[] | Prisma.HarnessWorkspaceUncheckedCreateWithoutWorkspaceInput[]
|
|
506
|
+
connectOrCreate?: Prisma.HarnessWorkspaceCreateOrConnectWithoutWorkspaceInput | Prisma.HarnessWorkspaceCreateOrConnectWithoutWorkspaceInput[]
|
|
507
|
+
createMany?: Prisma.HarnessWorkspaceCreateManyWorkspaceInputEnvelope
|
|
508
|
+
connect?: Prisma.HarnessWorkspaceWhereUniqueInput | Prisma.HarnessWorkspaceWhereUniqueInput[]
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
export type HarnessWorkspaceUncheckedCreateNestedManyWithoutWorkspaceInput = {
|
|
512
|
+
create?: Prisma.XOR<Prisma.HarnessWorkspaceCreateWithoutWorkspaceInput, Prisma.HarnessWorkspaceUncheckedCreateWithoutWorkspaceInput> | Prisma.HarnessWorkspaceCreateWithoutWorkspaceInput[] | Prisma.HarnessWorkspaceUncheckedCreateWithoutWorkspaceInput[]
|
|
513
|
+
connectOrCreate?: Prisma.HarnessWorkspaceCreateOrConnectWithoutWorkspaceInput | Prisma.HarnessWorkspaceCreateOrConnectWithoutWorkspaceInput[]
|
|
514
|
+
createMany?: Prisma.HarnessWorkspaceCreateManyWorkspaceInputEnvelope
|
|
515
|
+
connect?: Prisma.HarnessWorkspaceWhereUniqueInput | Prisma.HarnessWorkspaceWhereUniqueInput[]
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
export type HarnessWorkspaceUpdateManyWithoutWorkspaceNestedInput = {
|
|
519
|
+
create?: Prisma.XOR<Prisma.HarnessWorkspaceCreateWithoutWorkspaceInput, Prisma.HarnessWorkspaceUncheckedCreateWithoutWorkspaceInput> | Prisma.HarnessWorkspaceCreateWithoutWorkspaceInput[] | Prisma.HarnessWorkspaceUncheckedCreateWithoutWorkspaceInput[]
|
|
520
|
+
connectOrCreate?: Prisma.HarnessWorkspaceCreateOrConnectWithoutWorkspaceInput | Prisma.HarnessWorkspaceCreateOrConnectWithoutWorkspaceInput[]
|
|
521
|
+
upsert?: Prisma.HarnessWorkspaceUpsertWithWhereUniqueWithoutWorkspaceInput | Prisma.HarnessWorkspaceUpsertWithWhereUniqueWithoutWorkspaceInput[]
|
|
522
|
+
createMany?: Prisma.HarnessWorkspaceCreateManyWorkspaceInputEnvelope
|
|
523
|
+
set?: Prisma.HarnessWorkspaceWhereUniqueInput | Prisma.HarnessWorkspaceWhereUniqueInput[]
|
|
524
|
+
disconnect?: Prisma.HarnessWorkspaceWhereUniqueInput | Prisma.HarnessWorkspaceWhereUniqueInput[]
|
|
525
|
+
delete?: Prisma.HarnessWorkspaceWhereUniqueInput | Prisma.HarnessWorkspaceWhereUniqueInput[]
|
|
526
|
+
connect?: Prisma.HarnessWorkspaceWhereUniqueInput | Prisma.HarnessWorkspaceWhereUniqueInput[]
|
|
527
|
+
update?: Prisma.HarnessWorkspaceUpdateWithWhereUniqueWithoutWorkspaceInput | Prisma.HarnessWorkspaceUpdateWithWhereUniqueWithoutWorkspaceInput[]
|
|
528
|
+
updateMany?: Prisma.HarnessWorkspaceUpdateManyWithWhereWithoutWorkspaceInput | Prisma.HarnessWorkspaceUpdateManyWithWhereWithoutWorkspaceInput[]
|
|
529
|
+
deleteMany?: Prisma.HarnessWorkspaceScalarWhereInput | Prisma.HarnessWorkspaceScalarWhereInput[]
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
export type HarnessWorkspaceUncheckedUpdateManyWithoutWorkspaceNestedInput = {
|
|
533
|
+
create?: Prisma.XOR<Prisma.HarnessWorkspaceCreateWithoutWorkspaceInput, Prisma.HarnessWorkspaceUncheckedCreateWithoutWorkspaceInput> | Prisma.HarnessWorkspaceCreateWithoutWorkspaceInput[] | Prisma.HarnessWorkspaceUncheckedCreateWithoutWorkspaceInput[]
|
|
534
|
+
connectOrCreate?: Prisma.HarnessWorkspaceCreateOrConnectWithoutWorkspaceInput | Prisma.HarnessWorkspaceCreateOrConnectWithoutWorkspaceInput[]
|
|
535
|
+
upsert?: Prisma.HarnessWorkspaceUpsertWithWhereUniqueWithoutWorkspaceInput | Prisma.HarnessWorkspaceUpsertWithWhereUniqueWithoutWorkspaceInput[]
|
|
536
|
+
createMany?: Prisma.HarnessWorkspaceCreateManyWorkspaceInputEnvelope
|
|
537
|
+
set?: Prisma.HarnessWorkspaceWhereUniqueInput | Prisma.HarnessWorkspaceWhereUniqueInput[]
|
|
538
|
+
disconnect?: Prisma.HarnessWorkspaceWhereUniqueInput | Prisma.HarnessWorkspaceWhereUniqueInput[]
|
|
539
|
+
delete?: Prisma.HarnessWorkspaceWhereUniqueInput | Prisma.HarnessWorkspaceWhereUniqueInput[]
|
|
540
|
+
connect?: Prisma.HarnessWorkspaceWhereUniqueInput | Prisma.HarnessWorkspaceWhereUniqueInput[]
|
|
541
|
+
update?: Prisma.HarnessWorkspaceUpdateWithWhereUniqueWithoutWorkspaceInput | Prisma.HarnessWorkspaceUpdateWithWhereUniqueWithoutWorkspaceInput[]
|
|
542
|
+
updateMany?: Prisma.HarnessWorkspaceUpdateManyWithWhereWithoutWorkspaceInput | Prisma.HarnessWorkspaceUpdateManyWithWhereWithoutWorkspaceInput[]
|
|
543
|
+
deleteMany?: Prisma.HarnessWorkspaceScalarWhereInput | Prisma.HarnessWorkspaceScalarWhereInput[]
|
|
544
|
+
}
|
|
545
|
+
|
|
474
546
|
export type HarnessWorkspaceCreateNestedOneWithoutThreadsInput = {
|
|
475
547
|
create?: Prisma.XOR<Prisma.HarnessWorkspaceCreateWithoutThreadsInput, Prisma.HarnessWorkspaceUncheckedCreateWithoutThreadsInput>
|
|
476
548
|
connectOrCreate?: Prisma.HarnessWorkspaceCreateOrConnectWithoutThreadsInput
|
|
@@ -510,6 +582,7 @@ export type HarnessWorkspaceCreateWithoutOwnerInput = {
|
|
|
510
582
|
lastSyncedAt?: Date | string | null
|
|
511
583
|
createdAt?: Date | string
|
|
512
584
|
updatedAt?: Date | string
|
|
585
|
+
workspace?: Prisma.WorkspaceCreateNestedOneWithoutHarnessWorkspacesInput
|
|
513
586
|
files?: Prisma.WorkspaceFileCreateNestedManyWithoutWorkspaceInput
|
|
514
587
|
threads?: Prisma.ChatThreadCreateNestedManyWithoutWorkspaceInput
|
|
515
588
|
}
|
|
@@ -523,6 +596,7 @@ export type HarnessWorkspaceUncheckedCreateWithoutOwnerInput = {
|
|
|
523
596
|
lastSyncedAt?: Date | string | null
|
|
524
597
|
createdAt?: Date | string
|
|
525
598
|
updatedAt?: Date | string
|
|
599
|
+
workspaceId?: string | null
|
|
526
600
|
files?: Prisma.WorkspaceFileUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
527
601
|
threads?: Prisma.ChatThreadUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
528
602
|
}
|
|
@@ -566,6 +640,61 @@ export type HarnessWorkspaceScalarWhereInput = {
|
|
|
566
640
|
lastSyncedAt?: Prisma.DateTimeNullableFilter<"HarnessWorkspace"> | Date | string | null
|
|
567
641
|
createdAt?: Prisma.DateTimeFilter<"HarnessWorkspace"> | Date | string
|
|
568
642
|
updatedAt?: Prisma.DateTimeFilter<"HarnessWorkspace"> | Date | string
|
|
643
|
+
workspaceId?: Prisma.StringNullableFilter<"HarnessWorkspace"> | string | null
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
export type HarnessWorkspaceCreateWithoutWorkspaceInput = {
|
|
647
|
+
id?: string
|
|
648
|
+
name: string
|
|
649
|
+
kind?: string
|
|
650
|
+
localPath?: string | null
|
|
651
|
+
cloudOfId?: string | null
|
|
652
|
+
lastSyncedAt?: Date | string | null
|
|
653
|
+
createdAt?: Date | string
|
|
654
|
+
updatedAt?: Date | string
|
|
655
|
+
owner: Prisma.UserCreateNestedOneWithoutHarnessWorkspacesInput
|
|
656
|
+
files?: Prisma.WorkspaceFileCreateNestedManyWithoutWorkspaceInput
|
|
657
|
+
threads?: Prisma.ChatThreadCreateNestedManyWithoutWorkspaceInput
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
export type HarnessWorkspaceUncheckedCreateWithoutWorkspaceInput = {
|
|
661
|
+
id?: string
|
|
662
|
+
name: string
|
|
663
|
+
ownerId: string
|
|
664
|
+
kind?: string
|
|
665
|
+
localPath?: string | null
|
|
666
|
+
cloudOfId?: string | null
|
|
667
|
+
lastSyncedAt?: Date | string | null
|
|
668
|
+
createdAt?: Date | string
|
|
669
|
+
updatedAt?: Date | string
|
|
670
|
+
files?: Prisma.WorkspaceFileUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
671
|
+
threads?: Prisma.ChatThreadUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
export type HarnessWorkspaceCreateOrConnectWithoutWorkspaceInput = {
|
|
675
|
+
where: Prisma.HarnessWorkspaceWhereUniqueInput
|
|
676
|
+
create: Prisma.XOR<Prisma.HarnessWorkspaceCreateWithoutWorkspaceInput, Prisma.HarnessWorkspaceUncheckedCreateWithoutWorkspaceInput>
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
export type HarnessWorkspaceCreateManyWorkspaceInputEnvelope = {
|
|
680
|
+
data: Prisma.HarnessWorkspaceCreateManyWorkspaceInput | Prisma.HarnessWorkspaceCreateManyWorkspaceInput[]
|
|
681
|
+
skipDuplicates?: boolean
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
export type HarnessWorkspaceUpsertWithWhereUniqueWithoutWorkspaceInput = {
|
|
685
|
+
where: Prisma.HarnessWorkspaceWhereUniqueInput
|
|
686
|
+
update: Prisma.XOR<Prisma.HarnessWorkspaceUpdateWithoutWorkspaceInput, Prisma.HarnessWorkspaceUncheckedUpdateWithoutWorkspaceInput>
|
|
687
|
+
create: Prisma.XOR<Prisma.HarnessWorkspaceCreateWithoutWorkspaceInput, Prisma.HarnessWorkspaceUncheckedCreateWithoutWorkspaceInput>
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
export type HarnessWorkspaceUpdateWithWhereUniqueWithoutWorkspaceInput = {
|
|
691
|
+
where: Prisma.HarnessWorkspaceWhereUniqueInput
|
|
692
|
+
data: Prisma.XOR<Prisma.HarnessWorkspaceUpdateWithoutWorkspaceInput, Prisma.HarnessWorkspaceUncheckedUpdateWithoutWorkspaceInput>
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
export type HarnessWorkspaceUpdateManyWithWhereWithoutWorkspaceInput = {
|
|
696
|
+
where: Prisma.HarnessWorkspaceScalarWhereInput
|
|
697
|
+
data: Prisma.XOR<Prisma.HarnessWorkspaceUpdateManyMutationInput, Prisma.HarnessWorkspaceUncheckedUpdateManyWithoutWorkspaceInput>
|
|
569
698
|
}
|
|
570
699
|
|
|
571
700
|
export type HarnessWorkspaceCreateWithoutThreadsInput = {
|
|
@@ -577,6 +706,7 @@ export type HarnessWorkspaceCreateWithoutThreadsInput = {
|
|
|
577
706
|
lastSyncedAt?: Date | string | null
|
|
578
707
|
createdAt?: Date | string
|
|
579
708
|
updatedAt?: Date | string
|
|
709
|
+
workspace?: Prisma.WorkspaceCreateNestedOneWithoutHarnessWorkspacesInput
|
|
580
710
|
owner: Prisma.UserCreateNestedOneWithoutHarnessWorkspacesInput
|
|
581
711
|
files?: Prisma.WorkspaceFileCreateNestedManyWithoutWorkspaceInput
|
|
582
712
|
}
|
|
@@ -591,6 +721,7 @@ export type HarnessWorkspaceUncheckedCreateWithoutThreadsInput = {
|
|
|
591
721
|
lastSyncedAt?: Date | string | null
|
|
592
722
|
createdAt?: Date | string
|
|
593
723
|
updatedAt?: Date | string
|
|
724
|
+
workspaceId?: string | null
|
|
594
725
|
files?: Prisma.WorkspaceFileUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
595
726
|
}
|
|
596
727
|
|
|
@@ -619,6 +750,7 @@ export type HarnessWorkspaceUpdateWithoutThreadsInput = {
|
|
|
619
750
|
lastSyncedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
620
751
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
621
752
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
753
|
+
workspace?: Prisma.WorkspaceUpdateOneWithoutHarnessWorkspacesNestedInput
|
|
622
754
|
owner?: Prisma.UserUpdateOneRequiredWithoutHarnessWorkspacesNestedInput
|
|
623
755
|
files?: Prisma.WorkspaceFileUpdateManyWithoutWorkspaceNestedInput
|
|
624
756
|
}
|
|
@@ -633,6 +765,7 @@ export type HarnessWorkspaceUncheckedUpdateWithoutThreadsInput = {
|
|
|
633
765
|
lastSyncedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
634
766
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
635
767
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
768
|
+
workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
636
769
|
files?: Prisma.WorkspaceFileUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
637
770
|
}
|
|
638
771
|
|
|
@@ -645,6 +778,7 @@ export type HarnessWorkspaceCreateWithoutFilesInput = {
|
|
|
645
778
|
lastSyncedAt?: Date | string | null
|
|
646
779
|
createdAt?: Date | string
|
|
647
780
|
updatedAt?: Date | string
|
|
781
|
+
workspace?: Prisma.WorkspaceCreateNestedOneWithoutHarnessWorkspacesInput
|
|
648
782
|
owner: Prisma.UserCreateNestedOneWithoutHarnessWorkspacesInput
|
|
649
783
|
threads?: Prisma.ChatThreadCreateNestedManyWithoutWorkspaceInput
|
|
650
784
|
}
|
|
@@ -659,6 +793,7 @@ export type HarnessWorkspaceUncheckedCreateWithoutFilesInput = {
|
|
|
659
793
|
lastSyncedAt?: Date | string | null
|
|
660
794
|
createdAt?: Date | string
|
|
661
795
|
updatedAt?: Date | string
|
|
796
|
+
workspaceId?: string | null
|
|
662
797
|
threads?: Prisma.ChatThreadUncheckedCreateNestedManyWithoutWorkspaceInput
|
|
663
798
|
}
|
|
664
799
|
|
|
@@ -687,6 +822,7 @@ export type HarnessWorkspaceUpdateWithoutFilesInput = {
|
|
|
687
822
|
lastSyncedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
688
823
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
689
824
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
825
|
+
workspace?: Prisma.WorkspaceUpdateOneWithoutHarnessWorkspacesNestedInput
|
|
690
826
|
owner?: Prisma.UserUpdateOneRequiredWithoutHarnessWorkspacesNestedInput
|
|
691
827
|
threads?: Prisma.ChatThreadUpdateManyWithoutWorkspaceNestedInput
|
|
692
828
|
}
|
|
@@ -701,6 +837,7 @@ export type HarnessWorkspaceUncheckedUpdateWithoutFilesInput = {
|
|
|
701
837
|
lastSyncedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
702
838
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
703
839
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
840
|
+
workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
704
841
|
threads?: Prisma.ChatThreadUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
705
842
|
}
|
|
706
843
|
|
|
@@ -713,6 +850,7 @@ export type HarnessWorkspaceCreateManyOwnerInput = {
|
|
|
713
850
|
lastSyncedAt?: Date | string | null
|
|
714
851
|
createdAt?: Date | string
|
|
715
852
|
updatedAt?: Date | string
|
|
853
|
+
workspaceId?: string | null
|
|
716
854
|
}
|
|
717
855
|
|
|
718
856
|
export type HarnessWorkspaceUpdateWithoutOwnerInput = {
|
|
@@ -724,6 +862,7 @@ export type HarnessWorkspaceUpdateWithoutOwnerInput = {
|
|
|
724
862
|
lastSyncedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
725
863
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
726
864
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
865
|
+
workspace?: Prisma.WorkspaceUpdateOneWithoutHarnessWorkspacesNestedInput
|
|
727
866
|
files?: Prisma.WorkspaceFileUpdateManyWithoutWorkspaceNestedInput
|
|
728
867
|
threads?: Prisma.ChatThreadUpdateManyWithoutWorkspaceNestedInput
|
|
729
868
|
}
|
|
@@ -737,6 +876,7 @@ export type HarnessWorkspaceUncheckedUpdateWithoutOwnerInput = {
|
|
|
737
876
|
lastSyncedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
738
877
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
739
878
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
879
|
+
workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
740
880
|
files?: Prisma.WorkspaceFileUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
741
881
|
threads?: Prisma.ChatThreadUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
742
882
|
}
|
|
@@ -750,6 +890,59 @@ export type HarnessWorkspaceUncheckedUpdateManyWithoutOwnerInput = {
|
|
|
750
890
|
lastSyncedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
751
891
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
752
892
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
893
|
+
workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
export type HarnessWorkspaceCreateManyWorkspaceInput = {
|
|
897
|
+
id?: string
|
|
898
|
+
name: string
|
|
899
|
+
ownerId: string
|
|
900
|
+
kind?: string
|
|
901
|
+
localPath?: string | null
|
|
902
|
+
cloudOfId?: string | null
|
|
903
|
+
lastSyncedAt?: Date | string | null
|
|
904
|
+
createdAt?: Date | string
|
|
905
|
+
updatedAt?: Date | string
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
export type HarnessWorkspaceUpdateWithoutWorkspaceInput = {
|
|
909
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
910
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
911
|
+
kind?: Prisma.StringFieldUpdateOperationsInput | string
|
|
912
|
+
localPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
913
|
+
cloudOfId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
914
|
+
lastSyncedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
915
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
916
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
917
|
+
owner?: Prisma.UserUpdateOneRequiredWithoutHarnessWorkspacesNestedInput
|
|
918
|
+
files?: Prisma.WorkspaceFileUpdateManyWithoutWorkspaceNestedInput
|
|
919
|
+
threads?: Prisma.ChatThreadUpdateManyWithoutWorkspaceNestedInput
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
export type HarnessWorkspaceUncheckedUpdateWithoutWorkspaceInput = {
|
|
923
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
924
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
925
|
+
ownerId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
926
|
+
kind?: Prisma.StringFieldUpdateOperationsInput | string
|
|
927
|
+
localPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
928
|
+
cloudOfId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
929
|
+
lastSyncedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
930
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
931
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
932
|
+
files?: Prisma.WorkspaceFileUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
933
|
+
threads?: Prisma.ChatThreadUncheckedUpdateManyWithoutWorkspaceNestedInput
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
export type HarnessWorkspaceUncheckedUpdateManyWithoutWorkspaceInput = {
|
|
937
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
938
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string
|
|
939
|
+
ownerId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
940
|
+
kind?: Prisma.StringFieldUpdateOperationsInput | string
|
|
941
|
+
localPath?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
942
|
+
cloudOfId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
943
|
+
lastSyncedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
944
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
945
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
753
946
|
}
|
|
754
947
|
|
|
755
948
|
|
|
@@ -802,6 +995,8 @@ export type HarnessWorkspaceSelect<ExtArgs extends runtime.Types.Extensions.Inte
|
|
|
802
995
|
lastSyncedAt?: boolean
|
|
803
996
|
createdAt?: boolean
|
|
804
997
|
updatedAt?: boolean
|
|
998
|
+
workspaceId?: boolean
|
|
999
|
+
workspace?: boolean | Prisma.HarnessWorkspace$workspaceArgs<ExtArgs>
|
|
805
1000
|
owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
806
1001
|
files?: boolean | Prisma.HarnessWorkspace$filesArgs<ExtArgs>
|
|
807
1002
|
threads?: boolean | Prisma.HarnessWorkspace$threadsArgs<ExtArgs>
|
|
@@ -818,6 +1013,8 @@ export type HarnessWorkspaceSelectCreateManyAndReturn<ExtArgs extends runtime.Ty
|
|
|
818
1013
|
lastSyncedAt?: boolean
|
|
819
1014
|
createdAt?: boolean
|
|
820
1015
|
updatedAt?: boolean
|
|
1016
|
+
workspaceId?: boolean
|
|
1017
|
+
workspace?: boolean | Prisma.HarnessWorkspace$workspaceArgs<ExtArgs>
|
|
821
1018
|
owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
822
1019
|
}, ExtArgs["result"]["harnessWorkspace"]>
|
|
823
1020
|
|
|
@@ -831,6 +1028,8 @@ export type HarnessWorkspaceSelectUpdateManyAndReturn<ExtArgs extends runtime.Ty
|
|
|
831
1028
|
lastSyncedAt?: boolean
|
|
832
1029
|
createdAt?: boolean
|
|
833
1030
|
updatedAt?: boolean
|
|
1031
|
+
workspaceId?: boolean
|
|
1032
|
+
workspace?: boolean | Prisma.HarnessWorkspace$workspaceArgs<ExtArgs>
|
|
834
1033
|
owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
835
1034
|
}, ExtArgs["result"]["harnessWorkspace"]>
|
|
836
1035
|
|
|
@@ -844,25 +1043,30 @@ export type HarnessWorkspaceSelectScalar = {
|
|
|
844
1043
|
lastSyncedAt?: boolean
|
|
845
1044
|
createdAt?: boolean
|
|
846
1045
|
updatedAt?: boolean
|
|
1046
|
+
workspaceId?: boolean
|
|
847
1047
|
}
|
|
848
1048
|
|
|
849
|
-
export type HarnessWorkspaceOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "ownerId" | "kind" | "localPath" | "cloudOfId" | "lastSyncedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["harnessWorkspace"]>
|
|
1049
|
+
export type HarnessWorkspaceOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "ownerId" | "kind" | "localPath" | "cloudOfId" | "lastSyncedAt" | "createdAt" | "updatedAt" | "workspaceId", ExtArgs["result"]["harnessWorkspace"]>
|
|
850
1050
|
export type HarnessWorkspaceInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1051
|
+
workspace?: boolean | Prisma.HarnessWorkspace$workspaceArgs<ExtArgs>
|
|
851
1052
|
owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
852
1053
|
files?: boolean | Prisma.HarnessWorkspace$filesArgs<ExtArgs>
|
|
853
1054
|
threads?: boolean | Prisma.HarnessWorkspace$threadsArgs<ExtArgs>
|
|
854
1055
|
_count?: boolean | Prisma.HarnessWorkspaceCountOutputTypeDefaultArgs<ExtArgs>
|
|
855
1056
|
}
|
|
856
1057
|
export type HarnessWorkspaceIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1058
|
+
workspace?: boolean | Prisma.HarnessWorkspace$workspaceArgs<ExtArgs>
|
|
857
1059
|
owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
858
1060
|
}
|
|
859
1061
|
export type HarnessWorkspaceIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1062
|
+
workspace?: boolean | Prisma.HarnessWorkspace$workspaceArgs<ExtArgs>
|
|
860
1063
|
owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
861
1064
|
}
|
|
862
1065
|
|
|
863
1066
|
export type $HarnessWorkspacePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
864
1067
|
name: "HarnessWorkspace"
|
|
865
1068
|
objects: {
|
|
1069
|
+
workspace: Prisma.$WorkspacePayload<ExtArgs> | null
|
|
866
1070
|
owner: Prisma.$UserPayload<ExtArgs>
|
|
867
1071
|
files: Prisma.$WorkspaceFilePayload<ExtArgs>[]
|
|
868
1072
|
threads: Prisma.$ChatThreadPayload<ExtArgs>[]
|
|
@@ -877,6 +1081,10 @@ export type $HarnessWorkspacePayload<ExtArgs extends runtime.Types.Extensions.In
|
|
|
877
1081
|
lastSyncedAt: Date | null
|
|
878
1082
|
createdAt: Date
|
|
879
1083
|
updatedAt: Date
|
|
1084
|
+
/**
|
|
1085
|
+
* 绑定的产品工作空间(/workspaces);null = 未绑定(全量内容)
|
|
1086
|
+
*/
|
|
1087
|
+
workspaceId: string | null
|
|
880
1088
|
}, ExtArgs["result"]["harnessWorkspace"]>
|
|
881
1089
|
composites: {}
|
|
882
1090
|
}
|
|
@@ -1271,6 +1479,7 @@ readonly fields: HarnessWorkspaceFieldRefs;
|
|
|
1271
1479
|
*/
|
|
1272
1480
|
export interface Prisma__HarnessWorkspaceClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1273
1481
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1482
|
+
workspace<T extends Prisma.HarnessWorkspace$workspaceArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.HarnessWorkspace$workspaceArgs<ExtArgs>>): Prisma.Prisma__WorkspaceClient<runtime.Types.Result.GetResult<Prisma.$WorkspacePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1274
1483
|
owner<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>
|
|
1275
1484
|
files<T extends Prisma.HarnessWorkspace$filesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.HarnessWorkspace$filesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WorkspaceFilePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1276
1485
|
threads<T extends Prisma.HarnessWorkspace$threadsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.HarnessWorkspace$threadsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ChatThreadPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
@@ -1312,6 +1521,7 @@ export interface HarnessWorkspaceFieldRefs {
|
|
|
1312
1521
|
readonly lastSyncedAt: Prisma.FieldRef<"HarnessWorkspace", 'DateTime'>
|
|
1313
1522
|
readonly createdAt: Prisma.FieldRef<"HarnessWorkspace", 'DateTime'>
|
|
1314
1523
|
readonly updatedAt: Prisma.FieldRef<"HarnessWorkspace", 'DateTime'>
|
|
1524
|
+
readonly workspaceId: Prisma.FieldRef<"HarnessWorkspace", 'String'>
|
|
1315
1525
|
}
|
|
1316
1526
|
|
|
1317
1527
|
|
|
@@ -1712,6 +1922,25 @@ export type HarnessWorkspaceDeleteManyArgs<ExtArgs extends runtime.Types.Extensi
|
|
|
1712
1922
|
limit?: number
|
|
1713
1923
|
}
|
|
1714
1924
|
|
|
1925
|
+
/**
|
|
1926
|
+
* HarnessWorkspace.workspace
|
|
1927
|
+
*/
|
|
1928
|
+
export type HarnessWorkspace$workspaceArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1929
|
+
/**
|
|
1930
|
+
* Select specific fields to fetch from the Workspace
|
|
1931
|
+
*/
|
|
1932
|
+
select?: Prisma.WorkspaceSelect<ExtArgs> | null
|
|
1933
|
+
/**
|
|
1934
|
+
* Omit specific fields from the Workspace
|
|
1935
|
+
*/
|
|
1936
|
+
omit?: Prisma.WorkspaceOmit<ExtArgs> | null
|
|
1937
|
+
/**
|
|
1938
|
+
* Choose, which related nodes to fetch as well
|
|
1939
|
+
*/
|
|
1940
|
+
include?: Prisma.WorkspaceInclude<ExtArgs> | null
|
|
1941
|
+
where?: Prisma.WorkspaceWhereInput
|
|
1942
|
+
}
|
|
1943
|
+
|
|
1715
1944
|
/**
|
|
1716
1945
|
* HarnessWorkspace.files
|
|
1717
1946
|
*/
|