@allbluecn/database 0.8.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/LICENSE +661 -0
  2. package/dist/get-prisma.d.ts +1 -0
  3. package/dist/get-prisma.js +7 -0
  4. package/generated/browser.ts +60 -0
  5. package/generated/client.ts +60 -0
  6. package/generated/commonInputTypes.ts +106 -46
  7. package/generated/internal/class.ts +124 -4
  8. package/generated/internal/prismaNamespace.ts +1121 -25
  9. package/generated/internal/prismaNamespaceBrowser.ts +202 -6
  10. package/generated/models/AiProviderConfig.ts +100 -1
  11. package/generated/models/AiStreamChunk.ts +1159 -0
  12. package/generated/models/AiUsageLog.ts +91 -31
  13. package/generated/models/Blob.ts +1428 -0
  14. package/generated/models/BusinessAgentBinding.ts +1553 -0
  15. package/generated/models/ChatInterrupt.ts +42 -1
  16. package/generated/models/ChatMessage.ts +58 -29
  17. package/generated/models/ChatPersistenceMeta.ts +1121 -0
  18. package/generated/models/ChatRun.ts +166 -1
  19. package/generated/models/ChatThread.ts +294 -1
  20. package/generated/models/CodeSnippet.ts +1555 -0
  21. package/generated/models/DesktopSetting.ts +1059 -0
  22. package/generated/models/GenerationRun.ts +193 -1
  23. package/generated/models/HarnessPlugin.ts +1677 -0
  24. package/generated/models/HarnessWorkspace.ts +1650 -0
  25. package/generated/models/InvitationCode.ts +0 -8
  26. package/generated/models/Plan.ts +115 -1
  27. package/generated/models/SandboxInstance.ts +1277 -0
  28. package/generated/models/SystemPromptTemplate.ts +1583 -0
  29. package/generated/models/SystemPromptVersion.ts +1459 -0
  30. package/generated/models/User.ts +4524 -866
  31. package/generated/models/UserAgent.ts +250 -1
  32. package/generated/models/Workspace.ts +3 -1
  33. package/generated/models/WorkspaceFile.ts +1535 -0
  34. package/generated/models.ts +12 -0
  35. package/generated-sqlite/browser.ts +60 -0
  36. package/generated-sqlite/client.ts +60 -0
  37. package/generated-sqlite/commonInputTypes.ts +192 -78
  38. package/generated-sqlite/internal/class.ts +124 -4
  39. package/generated-sqlite/internal/prismaNamespace.ts +1135 -25
  40. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +202 -6
  41. package/generated-sqlite/models/AiProviderConfig.ts +100 -1
  42. package/generated-sqlite/models/AiStreamChunk.ts +1157 -0
  43. package/generated-sqlite/models/AiUsageLog.ts +91 -31
  44. package/generated-sqlite/models/Blob.ts +1425 -0
  45. package/generated-sqlite/models/BusinessAgentBinding.ts +1549 -0
  46. package/generated-sqlite/models/ChatInterrupt.ts +42 -1
  47. package/generated-sqlite/models/ChatMessage.ts +58 -29
  48. package/generated-sqlite/models/ChatPersistenceMeta.ts +1119 -0
  49. package/generated-sqlite/models/ChatRun.ts +174 -1
  50. package/generated-sqlite/models/ChatThread.ts +293 -1
  51. package/generated-sqlite/models/CodeSnippet.ts +1552 -0
  52. package/generated-sqlite/models/DesktopSetting.ts +1057 -0
  53. package/generated-sqlite/models/GenerationRun.ts +193 -1
  54. package/generated-sqlite/models/HarnessPlugin.ts +1674 -0
  55. package/generated-sqlite/models/HarnessWorkspace.ts +1647 -0
  56. package/generated-sqlite/models/InvitationCode.ts +0 -8
  57. package/generated-sqlite/models/PageVersion.ts +0 -8
  58. package/generated-sqlite/models/Plan.ts +115 -1
  59. package/generated-sqlite/models/SandboxInstance.ts +1283 -0
  60. package/generated-sqlite/models/SystemPromptTemplate.ts +1581 -0
  61. package/generated-sqlite/models/SystemPromptVersion.ts +1456 -0
  62. package/generated-sqlite/models/User.ts +3778 -708
  63. package/generated-sqlite/models/UserAgent.ts +250 -1
  64. package/generated-sqlite/models/Workspace.ts +3 -1
  65. package/generated-sqlite/models/WorkspaceFile.ts +1532 -0
  66. package/generated-sqlite/models.ts +12 -0
  67. package/get-prisma.ts +6 -0
  68. package/index.ts +11 -6
  69. package/migrations/20260914002427_ai_p0_durable_runs_meta/migration.sql +15 -0
  70. package/migrations/20260914041010_ai_p0_interrupt_requested_at/migration.sql +15 -0
  71. package/migrations/20260914041909_ai_p0_message_tool_call_id/migration.sql +2 -0
  72. package/migrations/20260914042448_ai_p0_message_content_json/migration.sql +27 -0
  73. package/migrations/20260914150229_harness_plugin/migration.sql +27 -0
  74. package/migrations/20260914174404_prompt_platform_agents/migration.sql +67 -0
  75. package/migrations/20260915090000_add_memory_facts/migration.sql +22 -0
  76. package/migrations/20260915124417_ai_p3_sandbox_durable/migration.sql +48 -0
  77. package/migrations/20260915150034_sandbox_instance_updatedat_bigint/migration.sql +2 -0
  78. package/migrations/20260915154000_add_code_snippets/migration.sql +31 -0
  79. package/migrations/20260916090000_ai_usage_log_nullable_workspace/migration.sql +10 -0
  80. package/migrations/20260916192752_add_ai_source_mode/migration.sql +13 -0
  81. package/migrations/20260917044512_harness_workspace/migration.sql +47 -0
  82. package/migrations/20260917100000_add_media_plan_limits/migration.sql +3 -0
  83. package/migrations/20260917163433_add_generation_run_linked_target/migration.sql +2 -0
  84. package/migrations/20260920050606_add_blob_table/migration.sql +17 -0
  85. package/migrations/20260920093412_add_byteplus_voice_fields/migration.sql +3 -0
  86. package/package.json +8 -3
  87. package/schema.prisma +321 -88
  88. package/schema.sqlite.prisma +779 -546
@@ -0,0 +1,1647 @@
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 `HarnessWorkspace` 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 HarnessWorkspace
17
+ * Harness 工作区(云端持久化文件区 + 业务数据视图入口)
18
+ */
19
+ export type HarnessWorkspaceModel = runtime.Types.Result.DefaultSelection<Prisma.$HarnessWorkspacePayload>
20
+
21
+ export type AggregateHarnessWorkspace = {
22
+ _count: HarnessWorkspaceCountAggregateOutputType | null
23
+ _min: HarnessWorkspaceMinAggregateOutputType | null
24
+ _max: HarnessWorkspaceMaxAggregateOutputType | null
25
+ }
26
+
27
+ export type HarnessWorkspaceMinAggregateOutputType = {
28
+ id: string | null
29
+ name: string | null
30
+ ownerId: string | null
31
+ kind: string | null
32
+ createdAt: Date | null
33
+ updatedAt: Date | null
34
+ }
35
+
36
+ export type HarnessWorkspaceMaxAggregateOutputType = {
37
+ id: string | null
38
+ name: string | null
39
+ ownerId: string | null
40
+ kind: string | null
41
+ createdAt: Date | null
42
+ updatedAt: Date | null
43
+ }
44
+
45
+ export type HarnessWorkspaceCountAggregateOutputType = {
46
+ id: number
47
+ name: number
48
+ ownerId: number
49
+ kind: number
50
+ createdAt: number
51
+ updatedAt: number
52
+ _all: number
53
+ }
54
+
55
+
56
+ export type HarnessWorkspaceMinAggregateInputType = {
57
+ id?: true
58
+ name?: true
59
+ ownerId?: true
60
+ kind?: true
61
+ createdAt?: true
62
+ updatedAt?: true
63
+ }
64
+
65
+ export type HarnessWorkspaceMaxAggregateInputType = {
66
+ id?: true
67
+ name?: true
68
+ ownerId?: true
69
+ kind?: true
70
+ createdAt?: true
71
+ updatedAt?: true
72
+ }
73
+
74
+ export type HarnessWorkspaceCountAggregateInputType = {
75
+ id?: true
76
+ name?: true
77
+ ownerId?: true
78
+ kind?: true
79
+ createdAt?: true
80
+ updatedAt?: true
81
+ _all?: true
82
+ }
83
+
84
+ export type HarnessWorkspaceAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
85
+ /**
86
+ * Filter which HarnessWorkspace to aggregate.
87
+ */
88
+ where?: Prisma.HarnessWorkspaceWhereInput
89
+ /**
90
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
91
+ *
92
+ * Determine the order of HarnessWorkspaces to fetch.
93
+ */
94
+ orderBy?: Prisma.HarnessWorkspaceOrderByWithRelationInput | Prisma.HarnessWorkspaceOrderByWithRelationInput[]
95
+ /**
96
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
97
+ *
98
+ * Sets the start position
99
+ */
100
+ cursor?: Prisma.HarnessWorkspaceWhereUniqueInput
101
+ /**
102
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
103
+ *
104
+ * Take `±n` HarnessWorkspaces from the position of the cursor.
105
+ */
106
+ take?: number
107
+ /**
108
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
109
+ *
110
+ * Skip the first `n` HarnessWorkspaces.
111
+ */
112
+ skip?: number
113
+ /**
114
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
115
+ *
116
+ * Count returned HarnessWorkspaces
117
+ **/
118
+ _count?: true | HarnessWorkspaceCountAggregateInputType
119
+ /**
120
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
121
+ *
122
+ * Select which fields to find the minimum value
123
+ **/
124
+ _min?: HarnessWorkspaceMinAggregateInputType
125
+ /**
126
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
127
+ *
128
+ * Select which fields to find the maximum value
129
+ **/
130
+ _max?: HarnessWorkspaceMaxAggregateInputType
131
+ }
132
+
133
+ export type GetHarnessWorkspaceAggregateType<T extends HarnessWorkspaceAggregateArgs> = {
134
+ [P in keyof T & keyof AggregateHarnessWorkspace]: P extends '_count' | 'count'
135
+ ? T[P] extends true
136
+ ? number
137
+ : Prisma.GetScalarType<T[P], AggregateHarnessWorkspace[P]>
138
+ : Prisma.GetScalarType<T[P], AggregateHarnessWorkspace[P]>
139
+ }
140
+
141
+
142
+
143
+
144
+ export type HarnessWorkspaceGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
145
+ where?: Prisma.HarnessWorkspaceWhereInput
146
+ orderBy?: Prisma.HarnessWorkspaceOrderByWithAggregationInput | Prisma.HarnessWorkspaceOrderByWithAggregationInput[]
147
+ by: Prisma.HarnessWorkspaceScalarFieldEnum[] | Prisma.HarnessWorkspaceScalarFieldEnum
148
+ having?: Prisma.HarnessWorkspaceScalarWhereWithAggregatesInput
149
+ take?: number
150
+ skip?: number
151
+ _count?: HarnessWorkspaceCountAggregateInputType | true
152
+ _min?: HarnessWorkspaceMinAggregateInputType
153
+ _max?: HarnessWorkspaceMaxAggregateInputType
154
+ }
155
+
156
+ export type HarnessWorkspaceGroupByOutputType = {
157
+ id: string
158
+ name: string
159
+ ownerId: string
160
+ kind: string
161
+ createdAt: Date
162
+ updatedAt: Date
163
+ _count: HarnessWorkspaceCountAggregateOutputType | null
164
+ _min: HarnessWorkspaceMinAggregateOutputType | null
165
+ _max: HarnessWorkspaceMaxAggregateOutputType | null
166
+ }
167
+
168
+ export type GetHarnessWorkspaceGroupByPayload<T extends HarnessWorkspaceGroupByArgs> = Prisma.PrismaPromise<
169
+ Array<
170
+ Prisma.PickEnumerable<HarnessWorkspaceGroupByOutputType, T['by']> &
171
+ {
172
+ [P in ((keyof T) & (keyof HarnessWorkspaceGroupByOutputType))]: P extends '_count'
173
+ ? T[P] extends boolean
174
+ ? number
175
+ : Prisma.GetScalarType<T[P], HarnessWorkspaceGroupByOutputType[P]>
176
+ : Prisma.GetScalarType<T[P], HarnessWorkspaceGroupByOutputType[P]>
177
+ }
178
+ >
179
+ >
180
+
181
+
182
+
183
+ export type HarnessWorkspaceWhereInput = {
184
+ AND?: Prisma.HarnessWorkspaceWhereInput | Prisma.HarnessWorkspaceWhereInput[]
185
+ OR?: Prisma.HarnessWorkspaceWhereInput[]
186
+ NOT?: Prisma.HarnessWorkspaceWhereInput | Prisma.HarnessWorkspaceWhereInput[]
187
+ id?: Prisma.StringFilter<"HarnessWorkspace"> | string
188
+ name?: Prisma.StringFilter<"HarnessWorkspace"> | string
189
+ ownerId?: Prisma.StringFilter<"HarnessWorkspace"> | string
190
+ kind?: Prisma.StringFilter<"HarnessWorkspace"> | string
191
+ createdAt?: Prisma.DateTimeFilter<"HarnessWorkspace"> | Date | string
192
+ updatedAt?: Prisma.DateTimeFilter<"HarnessWorkspace"> | Date | string
193
+ owner?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
194
+ files?: Prisma.WorkspaceFileListRelationFilter
195
+ threads?: Prisma.ChatThreadListRelationFilter
196
+ }
197
+
198
+ export type HarnessWorkspaceOrderByWithRelationInput = {
199
+ id?: Prisma.SortOrder
200
+ name?: Prisma.SortOrder
201
+ ownerId?: Prisma.SortOrder
202
+ kind?: Prisma.SortOrder
203
+ createdAt?: Prisma.SortOrder
204
+ updatedAt?: Prisma.SortOrder
205
+ owner?: Prisma.UserOrderByWithRelationInput
206
+ files?: Prisma.WorkspaceFileOrderByRelationAggregateInput
207
+ threads?: Prisma.ChatThreadOrderByRelationAggregateInput
208
+ }
209
+
210
+ export type HarnessWorkspaceWhereUniqueInput = Prisma.AtLeast<{
211
+ id?: string
212
+ AND?: Prisma.HarnessWorkspaceWhereInput | Prisma.HarnessWorkspaceWhereInput[]
213
+ OR?: Prisma.HarnessWorkspaceWhereInput[]
214
+ NOT?: Prisma.HarnessWorkspaceWhereInput | Prisma.HarnessWorkspaceWhereInput[]
215
+ name?: Prisma.StringFilter<"HarnessWorkspace"> | string
216
+ ownerId?: Prisma.StringFilter<"HarnessWorkspace"> | string
217
+ kind?: Prisma.StringFilter<"HarnessWorkspace"> | string
218
+ createdAt?: Prisma.DateTimeFilter<"HarnessWorkspace"> | Date | string
219
+ updatedAt?: Prisma.DateTimeFilter<"HarnessWorkspace"> | Date | string
220
+ owner?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
221
+ files?: Prisma.WorkspaceFileListRelationFilter
222
+ threads?: Prisma.ChatThreadListRelationFilter
223
+ }, "id">
224
+
225
+ export type HarnessWorkspaceOrderByWithAggregationInput = {
226
+ id?: Prisma.SortOrder
227
+ name?: Prisma.SortOrder
228
+ ownerId?: Prisma.SortOrder
229
+ kind?: Prisma.SortOrder
230
+ createdAt?: Prisma.SortOrder
231
+ updatedAt?: Prisma.SortOrder
232
+ _count?: Prisma.HarnessWorkspaceCountOrderByAggregateInput
233
+ _max?: Prisma.HarnessWorkspaceMaxOrderByAggregateInput
234
+ _min?: Prisma.HarnessWorkspaceMinOrderByAggregateInput
235
+ }
236
+
237
+ export type HarnessWorkspaceScalarWhereWithAggregatesInput = {
238
+ AND?: Prisma.HarnessWorkspaceScalarWhereWithAggregatesInput | Prisma.HarnessWorkspaceScalarWhereWithAggregatesInput[]
239
+ OR?: Prisma.HarnessWorkspaceScalarWhereWithAggregatesInput[]
240
+ NOT?: Prisma.HarnessWorkspaceScalarWhereWithAggregatesInput | Prisma.HarnessWorkspaceScalarWhereWithAggregatesInput[]
241
+ id?: Prisma.StringWithAggregatesFilter<"HarnessWorkspace"> | string
242
+ name?: Prisma.StringWithAggregatesFilter<"HarnessWorkspace"> | string
243
+ ownerId?: Prisma.StringWithAggregatesFilter<"HarnessWorkspace"> | string
244
+ kind?: Prisma.StringWithAggregatesFilter<"HarnessWorkspace"> | string
245
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"HarnessWorkspace"> | Date | string
246
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"HarnessWorkspace"> | Date | string
247
+ }
248
+
249
+ export type HarnessWorkspaceCreateInput = {
250
+ id?: string
251
+ name: string
252
+ kind?: string
253
+ createdAt?: Date | string
254
+ updatedAt?: Date | string
255
+ owner: Prisma.UserCreateNestedOneWithoutHarnessWorkspacesInput
256
+ files?: Prisma.WorkspaceFileCreateNestedManyWithoutWorkspaceInput
257
+ threads?: Prisma.ChatThreadCreateNestedManyWithoutWorkspaceInput
258
+ }
259
+
260
+ export type HarnessWorkspaceUncheckedCreateInput = {
261
+ id?: string
262
+ name: string
263
+ ownerId: string
264
+ kind?: string
265
+ createdAt?: Date | string
266
+ updatedAt?: Date | string
267
+ files?: Prisma.WorkspaceFileUncheckedCreateNestedManyWithoutWorkspaceInput
268
+ threads?: Prisma.ChatThreadUncheckedCreateNestedManyWithoutWorkspaceInput
269
+ }
270
+
271
+ export type HarnessWorkspaceUpdateInput = {
272
+ id?: Prisma.StringFieldUpdateOperationsInput | string
273
+ name?: Prisma.StringFieldUpdateOperationsInput | string
274
+ kind?: Prisma.StringFieldUpdateOperationsInput | string
275
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
276
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
277
+ owner?: Prisma.UserUpdateOneRequiredWithoutHarnessWorkspacesNestedInput
278
+ files?: Prisma.WorkspaceFileUpdateManyWithoutWorkspaceNestedInput
279
+ threads?: Prisma.ChatThreadUpdateManyWithoutWorkspaceNestedInput
280
+ }
281
+
282
+ export type HarnessWorkspaceUncheckedUpdateInput = {
283
+ id?: Prisma.StringFieldUpdateOperationsInput | string
284
+ name?: Prisma.StringFieldUpdateOperationsInput | string
285
+ ownerId?: Prisma.StringFieldUpdateOperationsInput | string
286
+ kind?: Prisma.StringFieldUpdateOperationsInput | string
287
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
288
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
289
+ files?: Prisma.WorkspaceFileUncheckedUpdateManyWithoutWorkspaceNestedInput
290
+ threads?: Prisma.ChatThreadUncheckedUpdateManyWithoutWorkspaceNestedInput
291
+ }
292
+
293
+ export type HarnessWorkspaceCreateManyInput = {
294
+ id?: string
295
+ name: string
296
+ ownerId: string
297
+ kind?: string
298
+ createdAt?: Date | string
299
+ updatedAt?: Date | string
300
+ }
301
+
302
+ export type HarnessWorkspaceUpdateManyMutationInput = {
303
+ id?: Prisma.StringFieldUpdateOperationsInput | string
304
+ name?: Prisma.StringFieldUpdateOperationsInput | string
305
+ kind?: Prisma.StringFieldUpdateOperationsInput | string
306
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
307
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
308
+ }
309
+
310
+ export type HarnessWorkspaceUncheckedUpdateManyInput = {
311
+ id?: Prisma.StringFieldUpdateOperationsInput | string
312
+ name?: Prisma.StringFieldUpdateOperationsInput | string
313
+ ownerId?: Prisma.StringFieldUpdateOperationsInput | string
314
+ kind?: Prisma.StringFieldUpdateOperationsInput | string
315
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
316
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
317
+ }
318
+
319
+ export type HarnessWorkspaceListRelationFilter = {
320
+ every?: Prisma.HarnessWorkspaceWhereInput
321
+ some?: Prisma.HarnessWorkspaceWhereInput
322
+ none?: Prisma.HarnessWorkspaceWhereInput
323
+ }
324
+
325
+ export type HarnessWorkspaceOrderByRelationAggregateInput = {
326
+ _count?: Prisma.SortOrder
327
+ }
328
+
329
+ export type HarnessWorkspaceNullableScalarRelationFilter = {
330
+ is?: Prisma.HarnessWorkspaceWhereInput | null
331
+ isNot?: Prisma.HarnessWorkspaceWhereInput | null
332
+ }
333
+
334
+ export type HarnessWorkspaceCountOrderByAggregateInput = {
335
+ id?: Prisma.SortOrder
336
+ name?: Prisma.SortOrder
337
+ ownerId?: Prisma.SortOrder
338
+ kind?: Prisma.SortOrder
339
+ createdAt?: Prisma.SortOrder
340
+ updatedAt?: Prisma.SortOrder
341
+ }
342
+
343
+ export type HarnessWorkspaceMaxOrderByAggregateInput = {
344
+ id?: Prisma.SortOrder
345
+ name?: Prisma.SortOrder
346
+ ownerId?: Prisma.SortOrder
347
+ kind?: Prisma.SortOrder
348
+ createdAt?: Prisma.SortOrder
349
+ updatedAt?: Prisma.SortOrder
350
+ }
351
+
352
+ export type HarnessWorkspaceMinOrderByAggregateInput = {
353
+ id?: Prisma.SortOrder
354
+ name?: Prisma.SortOrder
355
+ ownerId?: Prisma.SortOrder
356
+ kind?: Prisma.SortOrder
357
+ createdAt?: Prisma.SortOrder
358
+ updatedAt?: Prisma.SortOrder
359
+ }
360
+
361
+ export type HarnessWorkspaceScalarRelationFilter = {
362
+ is?: Prisma.HarnessWorkspaceWhereInput
363
+ isNot?: Prisma.HarnessWorkspaceWhereInput
364
+ }
365
+
366
+ export type HarnessWorkspaceCreateNestedManyWithoutOwnerInput = {
367
+ create?: Prisma.XOR<Prisma.HarnessWorkspaceCreateWithoutOwnerInput, Prisma.HarnessWorkspaceUncheckedCreateWithoutOwnerInput> | Prisma.HarnessWorkspaceCreateWithoutOwnerInput[] | Prisma.HarnessWorkspaceUncheckedCreateWithoutOwnerInput[]
368
+ connectOrCreate?: Prisma.HarnessWorkspaceCreateOrConnectWithoutOwnerInput | Prisma.HarnessWorkspaceCreateOrConnectWithoutOwnerInput[]
369
+ createMany?: Prisma.HarnessWorkspaceCreateManyOwnerInputEnvelope
370
+ connect?: Prisma.HarnessWorkspaceWhereUniqueInput | Prisma.HarnessWorkspaceWhereUniqueInput[]
371
+ }
372
+
373
+ export type HarnessWorkspaceUncheckedCreateNestedManyWithoutOwnerInput = {
374
+ create?: Prisma.XOR<Prisma.HarnessWorkspaceCreateWithoutOwnerInput, Prisma.HarnessWorkspaceUncheckedCreateWithoutOwnerInput> | Prisma.HarnessWorkspaceCreateWithoutOwnerInput[] | Prisma.HarnessWorkspaceUncheckedCreateWithoutOwnerInput[]
375
+ connectOrCreate?: Prisma.HarnessWorkspaceCreateOrConnectWithoutOwnerInput | Prisma.HarnessWorkspaceCreateOrConnectWithoutOwnerInput[]
376
+ createMany?: Prisma.HarnessWorkspaceCreateManyOwnerInputEnvelope
377
+ connect?: Prisma.HarnessWorkspaceWhereUniqueInput | Prisma.HarnessWorkspaceWhereUniqueInput[]
378
+ }
379
+
380
+ export type HarnessWorkspaceUpdateManyWithoutOwnerNestedInput = {
381
+ create?: Prisma.XOR<Prisma.HarnessWorkspaceCreateWithoutOwnerInput, Prisma.HarnessWorkspaceUncheckedCreateWithoutOwnerInput> | Prisma.HarnessWorkspaceCreateWithoutOwnerInput[] | Prisma.HarnessWorkspaceUncheckedCreateWithoutOwnerInput[]
382
+ connectOrCreate?: Prisma.HarnessWorkspaceCreateOrConnectWithoutOwnerInput | Prisma.HarnessWorkspaceCreateOrConnectWithoutOwnerInput[]
383
+ upsert?: Prisma.HarnessWorkspaceUpsertWithWhereUniqueWithoutOwnerInput | Prisma.HarnessWorkspaceUpsertWithWhereUniqueWithoutOwnerInput[]
384
+ createMany?: Prisma.HarnessWorkspaceCreateManyOwnerInputEnvelope
385
+ set?: Prisma.HarnessWorkspaceWhereUniqueInput | Prisma.HarnessWorkspaceWhereUniqueInput[]
386
+ disconnect?: Prisma.HarnessWorkspaceWhereUniqueInput | Prisma.HarnessWorkspaceWhereUniqueInput[]
387
+ delete?: Prisma.HarnessWorkspaceWhereUniqueInput | Prisma.HarnessWorkspaceWhereUniqueInput[]
388
+ connect?: Prisma.HarnessWorkspaceWhereUniqueInput | Prisma.HarnessWorkspaceWhereUniqueInput[]
389
+ update?: Prisma.HarnessWorkspaceUpdateWithWhereUniqueWithoutOwnerInput | Prisma.HarnessWorkspaceUpdateWithWhereUniqueWithoutOwnerInput[]
390
+ updateMany?: Prisma.HarnessWorkspaceUpdateManyWithWhereWithoutOwnerInput | Prisma.HarnessWorkspaceUpdateManyWithWhereWithoutOwnerInput[]
391
+ deleteMany?: Prisma.HarnessWorkspaceScalarWhereInput | Prisma.HarnessWorkspaceScalarWhereInput[]
392
+ }
393
+
394
+ export type HarnessWorkspaceUncheckedUpdateManyWithoutOwnerNestedInput = {
395
+ create?: Prisma.XOR<Prisma.HarnessWorkspaceCreateWithoutOwnerInput, Prisma.HarnessWorkspaceUncheckedCreateWithoutOwnerInput> | Prisma.HarnessWorkspaceCreateWithoutOwnerInput[] | Prisma.HarnessWorkspaceUncheckedCreateWithoutOwnerInput[]
396
+ connectOrCreate?: Prisma.HarnessWorkspaceCreateOrConnectWithoutOwnerInput | Prisma.HarnessWorkspaceCreateOrConnectWithoutOwnerInput[]
397
+ upsert?: Prisma.HarnessWorkspaceUpsertWithWhereUniqueWithoutOwnerInput | Prisma.HarnessWorkspaceUpsertWithWhereUniqueWithoutOwnerInput[]
398
+ createMany?: Prisma.HarnessWorkspaceCreateManyOwnerInputEnvelope
399
+ set?: Prisma.HarnessWorkspaceWhereUniqueInput | Prisma.HarnessWorkspaceWhereUniqueInput[]
400
+ disconnect?: Prisma.HarnessWorkspaceWhereUniqueInput | Prisma.HarnessWorkspaceWhereUniqueInput[]
401
+ delete?: Prisma.HarnessWorkspaceWhereUniqueInput | Prisma.HarnessWorkspaceWhereUniqueInput[]
402
+ connect?: Prisma.HarnessWorkspaceWhereUniqueInput | Prisma.HarnessWorkspaceWhereUniqueInput[]
403
+ update?: Prisma.HarnessWorkspaceUpdateWithWhereUniqueWithoutOwnerInput | Prisma.HarnessWorkspaceUpdateWithWhereUniqueWithoutOwnerInput[]
404
+ updateMany?: Prisma.HarnessWorkspaceUpdateManyWithWhereWithoutOwnerInput | Prisma.HarnessWorkspaceUpdateManyWithWhereWithoutOwnerInput[]
405
+ deleteMany?: Prisma.HarnessWorkspaceScalarWhereInput | Prisma.HarnessWorkspaceScalarWhereInput[]
406
+ }
407
+
408
+ export type HarnessWorkspaceCreateNestedOneWithoutThreadsInput = {
409
+ create?: Prisma.XOR<Prisma.HarnessWorkspaceCreateWithoutThreadsInput, Prisma.HarnessWorkspaceUncheckedCreateWithoutThreadsInput>
410
+ connectOrCreate?: Prisma.HarnessWorkspaceCreateOrConnectWithoutThreadsInput
411
+ connect?: Prisma.HarnessWorkspaceWhereUniqueInput
412
+ }
413
+
414
+ export type HarnessWorkspaceUpdateOneWithoutThreadsNestedInput = {
415
+ create?: Prisma.XOR<Prisma.HarnessWorkspaceCreateWithoutThreadsInput, Prisma.HarnessWorkspaceUncheckedCreateWithoutThreadsInput>
416
+ connectOrCreate?: Prisma.HarnessWorkspaceCreateOrConnectWithoutThreadsInput
417
+ upsert?: Prisma.HarnessWorkspaceUpsertWithoutThreadsInput
418
+ disconnect?: Prisma.HarnessWorkspaceWhereInput | boolean
419
+ delete?: Prisma.HarnessWorkspaceWhereInput | boolean
420
+ connect?: Prisma.HarnessWorkspaceWhereUniqueInput
421
+ update?: Prisma.XOR<Prisma.XOR<Prisma.HarnessWorkspaceUpdateToOneWithWhereWithoutThreadsInput, Prisma.HarnessWorkspaceUpdateWithoutThreadsInput>, Prisma.HarnessWorkspaceUncheckedUpdateWithoutThreadsInput>
422
+ }
423
+
424
+ export type HarnessWorkspaceCreateNestedOneWithoutFilesInput = {
425
+ create?: Prisma.XOR<Prisma.HarnessWorkspaceCreateWithoutFilesInput, Prisma.HarnessWorkspaceUncheckedCreateWithoutFilesInput>
426
+ connectOrCreate?: Prisma.HarnessWorkspaceCreateOrConnectWithoutFilesInput
427
+ connect?: Prisma.HarnessWorkspaceWhereUniqueInput
428
+ }
429
+
430
+ export type HarnessWorkspaceUpdateOneRequiredWithoutFilesNestedInput = {
431
+ create?: Prisma.XOR<Prisma.HarnessWorkspaceCreateWithoutFilesInput, Prisma.HarnessWorkspaceUncheckedCreateWithoutFilesInput>
432
+ connectOrCreate?: Prisma.HarnessWorkspaceCreateOrConnectWithoutFilesInput
433
+ upsert?: Prisma.HarnessWorkspaceUpsertWithoutFilesInput
434
+ connect?: Prisma.HarnessWorkspaceWhereUniqueInput
435
+ update?: Prisma.XOR<Prisma.XOR<Prisma.HarnessWorkspaceUpdateToOneWithWhereWithoutFilesInput, Prisma.HarnessWorkspaceUpdateWithoutFilesInput>, Prisma.HarnessWorkspaceUncheckedUpdateWithoutFilesInput>
436
+ }
437
+
438
+ export type HarnessWorkspaceCreateWithoutOwnerInput = {
439
+ id?: string
440
+ name: string
441
+ kind?: string
442
+ createdAt?: Date | string
443
+ updatedAt?: Date | string
444
+ files?: Prisma.WorkspaceFileCreateNestedManyWithoutWorkspaceInput
445
+ threads?: Prisma.ChatThreadCreateNestedManyWithoutWorkspaceInput
446
+ }
447
+
448
+ export type HarnessWorkspaceUncheckedCreateWithoutOwnerInput = {
449
+ id?: string
450
+ name: string
451
+ kind?: string
452
+ createdAt?: Date | string
453
+ updatedAt?: Date | string
454
+ files?: Prisma.WorkspaceFileUncheckedCreateNestedManyWithoutWorkspaceInput
455
+ threads?: Prisma.ChatThreadUncheckedCreateNestedManyWithoutWorkspaceInput
456
+ }
457
+
458
+ export type HarnessWorkspaceCreateOrConnectWithoutOwnerInput = {
459
+ where: Prisma.HarnessWorkspaceWhereUniqueInput
460
+ create: Prisma.XOR<Prisma.HarnessWorkspaceCreateWithoutOwnerInput, Prisma.HarnessWorkspaceUncheckedCreateWithoutOwnerInput>
461
+ }
462
+
463
+ export type HarnessWorkspaceCreateManyOwnerInputEnvelope = {
464
+ data: Prisma.HarnessWorkspaceCreateManyOwnerInput | Prisma.HarnessWorkspaceCreateManyOwnerInput[]
465
+ }
466
+
467
+ export type HarnessWorkspaceUpsertWithWhereUniqueWithoutOwnerInput = {
468
+ where: Prisma.HarnessWorkspaceWhereUniqueInput
469
+ update: Prisma.XOR<Prisma.HarnessWorkspaceUpdateWithoutOwnerInput, Prisma.HarnessWorkspaceUncheckedUpdateWithoutOwnerInput>
470
+ create: Prisma.XOR<Prisma.HarnessWorkspaceCreateWithoutOwnerInput, Prisma.HarnessWorkspaceUncheckedCreateWithoutOwnerInput>
471
+ }
472
+
473
+ export type HarnessWorkspaceUpdateWithWhereUniqueWithoutOwnerInput = {
474
+ where: Prisma.HarnessWorkspaceWhereUniqueInput
475
+ data: Prisma.XOR<Prisma.HarnessWorkspaceUpdateWithoutOwnerInput, Prisma.HarnessWorkspaceUncheckedUpdateWithoutOwnerInput>
476
+ }
477
+
478
+ export type HarnessWorkspaceUpdateManyWithWhereWithoutOwnerInput = {
479
+ where: Prisma.HarnessWorkspaceScalarWhereInput
480
+ data: Prisma.XOR<Prisma.HarnessWorkspaceUpdateManyMutationInput, Prisma.HarnessWorkspaceUncheckedUpdateManyWithoutOwnerInput>
481
+ }
482
+
483
+ export type HarnessWorkspaceScalarWhereInput = {
484
+ AND?: Prisma.HarnessWorkspaceScalarWhereInput | Prisma.HarnessWorkspaceScalarWhereInput[]
485
+ OR?: Prisma.HarnessWorkspaceScalarWhereInput[]
486
+ NOT?: Prisma.HarnessWorkspaceScalarWhereInput | Prisma.HarnessWorkspaceScalarWhereInput[]
487
+ id?: Prisma.StringFilter<"HarnessWorkspace"> | string
488
+ name?: Prisma.StringFilter<"HarnessWorkspace"> | string
489
+ ownerId?: Prisma.StringFilter<"HarnessWorkspace"> | string
490
+ kind?: Prisma.StringFilter<"HarnessWorkspace"> | string
491
+ createdAt?: Prisma.DateTimeFilter<"HarnessWorkspace"> | Date | string
492
+ updatedAt?: Prisma.DateTimeFilter<"HarnessWorkspace"> | Date | string
493
+ }
494
+
495
+ export type HarnessWorkspaceCreateWithoutThreadsInput = {
496
+ id?: string
497
+ name: string
498
+ kind?: string
499
+ createdAt?: Date | string
500
+ updatedAt?: Date | string
501
+ owner: Prisma.UserCreateNestedOneWithoutHarnessWorkspacesInput
502
+ files?: Prisma.WorkspaceFileCreateNestedManyWithoutWorkspaceInput
503
+ }
504
+
505
+ export type HarnessWorkspaceUncheckedCreateWithoutThreadsInput = {
506
+ id?: string
507
+ name: string
508
+ ownerId: string
509
+ kind?: string
510
+ createdAt?: Date | string
511
+ updatedAt?: Date | string
512
+ files?: Prisma.WorkspaceFileUncheckedCreateNestedManyWithoutWorkspaceInput
513
+ }
514
+
515
+ export type HarnessWorkspaceCreateOrConnectWithoutThreadsInput = {
516
+ where: Prisma.HarnessWorkspaceWhereUniqueInput
517
+ create: Prisma.XOR<Prisma.HarnessWorkspaceCreateWithoutThreadsInput, Prisma.HarnessWorkspaceUncheckedCreateWithoutThreadsInput>
518
+ }
519
+
520
+ export type HarnessWorkspaceUpsertWithoutThreadsInput = {
521
+ update: Prisma.XOR<Prisma.HarnessWorkspaceUpdateWithoutThreadsInput, Prisma.HarnessWorkspaceUncheckedUpdateWithoutThreadsInput>
522
+ create: Prisma.XOR<Prisma.HarnessWorkspaceCreateWithoutThreadsInput, Prisma.HarnessWorkspaceUncheckedCreateWithoutThreadsInput>
523
+ where?: Prisma.HarnessWorkspaceWhereInput
524
+ }
525
+
526
+ export type HarnessWorkspaceUpdateToOneWithWhereWithoutThreadsInput = {
527
+ where?: Prisma.HarnessWorkspaceWhereInput
528
+ data: Prisma.XOR<Prisma.HarnessWorkspaceUpdateWithoutThreadsInput, Prisma.HarnessWorkspaceUncheckedUpdateWithoutThreadsInput>
529
+ }
530
+
531
+ export type HarnessWorkspaceUpdateWithoutThreadsInput = {
532
+ id?: Prisma.StringFieldUpdateOperationsInput | string
533
+ name?: Prisma.StringFieldUpdateOperationsInput | string
534
+ kind?: Prisma.StringFieldUpdateOperationsInput | string
535
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
536
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
537
+ owner?: Prisma.UserUpdateOneRequiredWithoutHarnessWorkspacesNestedInput
538
+ files?: Prisma.WorkspaceFileUpdateManyWithoutWorkspaceNestedInput
539
+ }
540
+
541
+ export type HarnessWorkspaceUncheckedUpdateWithoutThreadsInput = {
542
+ id?: Prisma.StringFieldUpdateOperationsInput | string
543
+ name?: Prisma.StringFieldUpdateOperationsInput | string
544
+ ownerId?: Prisma.StringFieldUpdateOperationsInput | string
545
+ kind?: Prisma.StringFieldUpdateOperationsInput | string
546
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
547
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
548
+ files?: Prisma.WorkspaceFileUncheckedUpdateManyWithoutWorkspaceNestedInput
549
+ }
550
+
551
+ export type HarnessWorkspaceCreateWithoutFilesInput = {
552
+ id?: string
553
+ name: string
554
+ kind?: string
555
+ createdAt?: Date | string
556
+ updatedAt?: Date | string
557
+ owner: Prisma.UserCreateNestedOneWithoutHarnessWorkspacesInput
558
+ threads?: Prisma.ChatThreadCreateNestedManyWithoutWorkspaceInput
559
+ }
560
+
561
+ export type HarnessWorkspaceUncheckedCreateWithoutFilesInput = {
562
+ id?: string
563
+ name: string
564
+ ownerId: string
565
+ kind?: string
566
+ createdAt?: Date | string
567
+ updatedAt?: Date | string
568
+ threads?: Prisma.ChatThreadUncheckedCreateNestedManyWithoutWorkspaceInput
569
+ }
570
+
571
+ export type HarnessWorkspaceCreateOrConnectWithoutFilesInput = {
572
+ where: Prisma.HarnessWorkspaceWhereUniqueInput
573
+ create: Prisma.XOR<Prisma.HarnessWorkspaceCreateWithoutFilesInput, Prisma.HarnessWorkspaceUncheckedCreateWithoutFilesInput>
574
+ }
575
+
576
+ export type HarnessWorkspaceUpsertWithoutFilesInput = {
577
+ update: Prisma.XOR<Prisma.HarnessWorkspaceUpdateWithoutFilesInput, Prisma.HarnessWorkspaceUncheckedUpdateWithoutFilesInput>
578
+ create: Prisma.XOR<Prisma.HarnessWorkspaceCreateWithoutFilesInput, Prisma.HarnessWorkspaceUncheckedCreateWithoutFilesInput>
579
+ where?: Prisma.HarnessWorkspaceWhereInput
580
+ }
581
+
582
+ export type HarnessWorkspaceUpdateToOneWithWhereWithoutFilesInput = {
583
+ where?: Prisma.HarnessWorkspaceWhereInput
584
+ data: Prisma.XOR<Prisma.HarnessWorkspaceUpdateWithoutFilesInput, Prisma.HarnessWorkspaceUncheckedUpdateWithoutFilesInput>
585
+ }
586
+
587
+ export type HarnessWorkspaceUpdateWithoutFilesInput = {
588
+ id?: Prisma.StringFieldUpdateOperationsInput | string
589
+ name?: Prisma.StringFieldUpdateOperationsInput | string
590
+ kind?: Prisma.StringFieldUpdateOperationsInput | string
591
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
592
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
593
+ owner?: Prisma.UserUpdateOneRequiredWithoutHarnessWorkspacesNestedInput
594
+ threads?: Prisma.ChatThreadUpdateManyWithoutWorkspaceNestedInput
595
+ }
596
+
597
+ export type HarnessWorkspaceUncheckedUpdateWithoutFilesInput = {
598
+ id?: Prisma.StringFieldUpdateOperationsInput | string
599
+ name?: Prisma.StringFieldUpdateOperationsInput | string
600
+ ownerId?: Prisma.StringFieldUpdateOperationsInput | string
601
+ kind?: Prisma.StringFieldUpdateOperationsInput | string
602
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
603
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
604
+ threads?: Prisma.ChatThreadUncheckedUpdateManyWithoutWorkspaceNestedInput
605
+ }
606
+
607
+ export type HarnessWorkspaceCreateManyOwnerInput = {
608
+ id?: string
609
+ name: string
610
+ kind?: string
611
+ createdAt?: Date | string
612
+ updatedAt?: Date | string
613
+ }
614
+
615
+ export type HarnessWorkspaceUpdateWithoutOwnerInput = {
616
+ id?: Prisma.StringFieldUpdateOperationsInput | string
617
+ name?: Prisma.StringFieldUpdateOperationsInput | string
618
+ kind?: Prisma.StringFieldUpdateOperationsInput | string
619
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
620
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
621
+ files?: Prisma.WorkspaceFileUpdateManyWithoutWorkspaceNestedInput
622
+ threads?: Prisma.ChatThreadUpdateManyWithoutWorkspaceNestedInput
623
+ }
624
+
625
+ export type HarnessWorkspaceUncheckedUpdateWithoutOwnerInput = {
626
+ id?: Prisma.StringFieldUpdateOperationsInput | string
627
+ name?: Prisma.StringFieldUpdateOperationsInput | string
628
+ kind?: Prisma.StringFieldUpdateOperationsInput | string
629
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
630
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
631
+ files?: Prisma.WorkspaceFileUncheckedUpdateManyWithoutWorkspaceNestedInput
632
+ threads?: Prisma.ChatThreadUncheckedUpdateManyWithoutWorkspaceNestedInput
633
+ }
634
+
635
+ export type HarnessWorkspaceUncheckedUpdateManyWithoutOwnerInput = {
636
+ id?: Prisma.StringFieldUpdateOperationsInput | string
637
+ name?: Prisma.StringFieldUpdateOperationsInput | string
638
+ kind?: Prisma.StringFieldUpdateOperationsInput | string
639
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
640
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
641
+ }
642
+
643
+
644
+ /**
645
+ * Count Type HarnessWorkspaceCountOutputType
646
+ */
647
+
648
+ export type HarnessWorkspaceCountOutputType = {
649
+ files: number
650
+ threads: number
651
+ }
652
+
653
+ export type HarnessWorkspaceCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
654
+ files?: boolean | HarnessWorkspaceCountOutputTypeCountFilesArgs
655
+ threads?: boolean | HarnessWorkspaceCountOutputTypeCountThreadsArgs
656
+ }
657
+
658
+ /**
659
+ * HarnessWorkspaceCountOutputType without action
660
+ */
661
+ export type HarnessWorkspaceCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
662
+ /**
663
+ * Select specific fields to fetch from the HarnessWorkspaceCountOutputType
664
+ */
665
+ select?: Prisma.HarnessWorkspaceCountOutputTypeSelect<ExtArgs> | null
666
+ }
667
+
668
+ /**
669
+ * HarnessWorkspaceCountOutputType without action
670
+ */
671
+ export type HarnessWorkspaceCountOutputTypeCountFilesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
672
+ where?: Prisma.WorkspaceFileWhereInput
673
+ }
674
+
675
+ /**
676
+ * HarnessWorkspaceCountOutputType without action
677
+ */
678
+ export type HarnessWorkspaceCountOutputTypeCountThreadsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
679
+ where?: Prisma.ChatThreadWhereInput
680
+ }
681
+
682
+
683
+ export type HarnessWorkspaceSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
684
+ id?: boolean
685
+ name?: boolean
686
+ ownerId?: boolean
687
+ kind?: boolean
688
+ createdAt?: boolean
689
+ updatedAt?: boolean
690
+ owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
691
+ files?: boolean | Prisma.HarnessWorkspace$filesArgs<ExtArgs>
692
+ threads?: boolean | Prisma.HarnessWorkspace$threadsArgs<ExtArgs>
693
+ _count?: boolean | Prisma.HarnessWorkspaceCountOutputTypeDefaultArgs<ExtArgs>
694
+ }, ExtArgs["result"]["harnessWorkspace"]>
695
+
696
+ export type HarnessWorkspaceSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
697
+ id?: boolean
698
+ name?: boolean
699
+ ownerId?: boolean
700
+ kind?: boolean
701
+ createdAt?: boolean
702
+ updatedAt?: boolean
703
+ owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
704
+ }, ExtArgs["result"]["harnessWorkspace"]>
705
+
706
+ export type HarnessWorkspaceSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
707
+ id?: boolean
708
+ name?: boolean
709
+ ownerId?: boolean
710
+ kind?: boolean
711
+ createdAt?: boolean
712
+ updatedAt?: boolean
713
+ owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
714
+ }, ExtArgs["result"]["harnessWorkspace"]>
715
+
716
+ export type HarnessWorkspaceSelectScalar = {
717
+ id?: boolean
718
+ name?: boolean
719
+ ownerId?: boolean
720
+ kind?: boolean
721
+ createdAt?: boolean
722
+ updatedAt?: boolean
723
+ }
724
+
725
+ export type HarnessWorkspaceOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "ownerId" | "kind" | "createdAt" | "updatedAt", ExtArgs["result"]["harnessWorkspace"]>
726
+ export type HarnessWorkspaceInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
727
+ owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
728
+ files?: boolean | Prisma.HarnessWorkspace$filesArgs<ExtArgs>
729
+ threads?: boolean | Prisma.HarnessWorkspace$threadsArgs<ExtArgs>
730
+ _count?: boolean | Prisma.HarnessWorkspaceCountOutputTypeDefaultArgs<ExtArgs>
731
+ }
732
+ export type HarnessWorkspaceIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
733
+ owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
734
+ }
735
+ export type HarnessWorkspaceIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
736
+ owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
737
+ }
738
+
739
+ export type $HarnessWorkspacePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
740
+ name: "HarnessWorkspace"
741
+ objects: {
742
+ owner: Prisma.$UserPayload<ExtArgs>
743
+ files: Prisma.$WorkspaceFilePayload<ExtArgs>[]
744
+ threads: Prisma.$ChatThreadPayload<ExtArgs>[]
745
+ }
746
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
747
+ id: string
748
+ name: string
749
+ ownerId: string
750
+ kind: string
751
+ createdAt: Date
752
+ updatedAt: Date
753
+ }, ExtArgs["result"]["harnessWorkspace"]>
754
+ composites: {}
755
+ }
756
+
757
+ export type HarnessWorkspaceGetPayload<S extends boolean | null | undefined | HarnessWorkspaceDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$HarnessWorkspacePayload, S>
758
+
759
+ export type HarnessWorkspaceCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
760
+ Omit<HarnessWorkspaceFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
761
+ select?: HarnessWorkspaceCountAggregateInputType | true
762
+ }
763
+
764
+ export interface HarnessWorkspaceDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
765
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['HarnessWorkspace'], meta: { name: 'HarnessWorkspace' } }
766
+ /**
767
+ * Find zero or one HarnessWorkspace that matches the filter.
768
+ * @param {HarnessWorkspaceFindUniqueArgs} args - Arguments to find a HarnessWorkspace
769
+ * @example
770
+ * // Get one HarnessWorkspace
771
+ * const harnessWorkspace = await prisma.harnessWorkspace.findUnique({
772
+ * where: {
773
+ * // ... provide filter here
774
+ * }
775
+ * })
776
+ */
777
+ findUnique<T extends HarnessWorkspaceFindUniqueArgs>(args: Prisma.SelectSubset<T, HarnessWorkspaceFindUniqueArgs<ExtArgs>>): Prisma.Prisma__HarnessWorkspaceClient<runtime.Types.Result.GetResult<Prisma.$HarnessWorkspacePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
778
+
779
+ /**
780
+ * Find one HarnessWorkspace that matches the filter or throw an error with `error.code='P2025'`
781
+ * if no matches were found.
782
+ * @param {HarnessWorkspaceFindUniqueOrThrowArgs} args - Arguments to find a HarnessWorkspace
783
+ * @example
784
+ * // Get one HarnessWorkspace
785
+ * const harnessWorkspace = await prisma.harnessWorkspace.findUniqueOrThrow({
786
+ * where: {
787
+ * // ... provide filter here
788
+ * }
789
+ * })
790
+ */
791
+ findUniqueOrThrow<T extends HarnessWorkspaceFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, HarnessWorkspaceFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__HarnessWorkspaceClient<runtime.Types.Result.GetResult<Prisma.$HarnessWorkspacePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
792
+
793
+ /**
794
+ * Find the first HarnessWorkspace that matches the filter.
795
+ * Note, that providing `undefined` is treated as the value not being there.
796
+ * Read more here: https://pris.ly/d/null-undefined
797
+ * @param {HarnessWorkspaceFindFirstArgs} args - Arguments to find a HarnessWorkspace
798
+ * @example
799
+ * // Get one HarnessWorkspace
800
+ * const harnessWorkspace = await prisma.harnessWorkspace.findFirst({
801
+ * where: {
802
+ * // ... provide filter here
803
+ * }
804
+ * })
805
+ */
806
+ findFirst<T extends HarnessWorkspaceFindFirstArgs>(args?: Prisma.SelectSubset<T, HarnessWorkspaceFindFirstArgs<ExtArgs>>): Prisma.Prisma__HarnessWorkspaceClient<runtime.Types.Result.GetResult<Prisma.$HarnessWorkspacePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
807
+
808
+ /**
809
+ * Find the first HarnessWorkspace that matches the filter or
810
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
811
+ * Note, that providing `undefined` is treated as the value not being there.
812
+ * Read more here: https://pris.ly/d/null-undefined
813
+ * @param {HarnessWorkspaceFindFirstOrThrowArgs} args - Arguments to find a HarnessWorkspace
814
+ * @example
815
+ * // Get one HarnessWorkspace
816
+ * const harnessWorkspace = await prisma.harnessWorkspace.findFirstOrThrow({
817
+ * where: {
818
+ * // ... provide filter here
819
+ * }
820
+ * })
821
+ */
822
+ findFirstOrThrow<T extends HarnessWorkspaceFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, HarnessWorkspaceFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__HarnessWorkspaceClient<runtime.Types.Result.GetResult<Prisma.$HarnessWorkspacePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
823
+
824
+ /**
825
+ * Find zero or more HarnessWorkspaces that matches the filter.
826
+ * Note, that providing `undefined` is treated as the value not being there.
827
+ * Read more here: https://pris.ly/d/null-undefined
828
+ * @param {HarnessWorkspaceFindManyArgs} args - Arguments to filter and select certain fields only.
829
+ * @example
830
+ * // Get all HarnessWorkspaces
831
+ * const harnessWorkspaces = await prisma.harnessWorkspace.findMany()
832
+ *
833
+ * // Get first 10 HarnessWorkspaces
834
+ * const harnessWorkspaces = await prisma.harnessWorkspace.findMany({ take: 10 })
835
+ *
836
+ * // Only select the `id`
837
+ * const harnessWorkspaceWithIdOnly = await prisma.harnessWorkspace.findMany({ select: { id: true } })
838
+ *
839
+ */
840
+ findMany<T extends HarnessWorkspaceFindManyArgs>(args?: Prisma.SelectSubset<T, HarnessWorkspaceFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HarnessWorkspacePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
841
+
842
+ /**
843
+ * Create a HarnessWorkspace.
844
+ * @param {HarnessWorkspaceCreateArgs} args - Arguments to create a HarnessWorkspace.
845
+ * @example
846
+ * // Create one HarnessWorkspace
847
+ * const HarnessWorkspace = await prisma.harnessWorkspace.create({
848
+ * data: {
849
+ * // ... data to create a HarnessWorkspace
850
+ * }
851
+ * })
852
+ *
853
+ */
854
+ create<T extends HarnessWorkspaceCreateArgs>(args: Prisma.SelectSubset<T, HarnessWorkspaceCreateArgs<ExtArgs>>): Prisma.Prisma__HarnessWorkspaceClient<runtime.Types.Result.GetResult<Prisma.$HarnessWorkspacePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
855
+
856
+ /**
857
+ * Create many HarnessWorkspaces.
858
+ * @param {HarnessWorkspaceCreateManyArgs} args - Arguments to create many HarnessWorkspaces.
859
+ * @example
860
+ * // Create many HarnessWorkspaces
861
+ * const harnessWorkspace = await prisma.harnessWorkspace.createMany({
862
+ * data: [
863
+ * // ... provide data here
864
+ * ]
865
+ * })
866
+ *
867
+ */
868
+ createMany<T extends HarnessWorkspaceCreateManyArgs>(args?: Prisma.SelectSubset<T, HarnessWorkspaceCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
869
+
870
+ /**
871
+ * Create many HarnessWorkspaces and returns the data saved in the database.
872
+ * @param {HarnessWorkspaceCreateManyAndReturnArgs} args - Arguments to create many HarnessWorkspaces.
873
+ * @example
874
+ * // Create many HarnessWorkspaces
875
+ * const harnessWorkspace = await prisma.harnessWorkspace.createManyAndReturn({
876
+ * data: [
877
+ * // ... provide data here
878
+ * ]
879
+ * })
880
+ *
881
+ * // Create many HarnessWorkspaces and only return the `id`
882
+ * const harnessWorkspaceWithIdOnly = await prisma.harnessWorkspace.createManyAndReturn({
883
+ * select: { id: true },
884
+ * data: [
885
+ * // ... provide data here
886
+ * ]
887
+ * })
888
+ * Note, that providing `undefined` is treated as the value not being there.
889
+ * Read more here: https://pris.ly/d/null-undefined
890
+ *
891
+ */
892
+ createManyAndReturn<T extends HarnessWorkspaceCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, HarnessWorkspaceCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HarnessWorkspacePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
893
+
894
+ /**
895
+ * Delete a HarnessWorkspace.
896
+ * @param {HarnessWorkspaceDeleteArgs} args - Arguments to delete one HarnessWorkspace.
897
+ * @example
898
+ * // Delete one HarnessWorkspace
899
+ * const HarnessWorkspace = await prisma.harnessWorkspace.delete({
900
+ * where: {
901
+ * // ... filter to delete one HarnessWorkspace
902
+ * }
903
+ * })
904
+ *
905
+ */
906
+ delete<T extends HarnessWorkspaceDeleteArgs>(args: Prisma.SelectSubset<T, HarnessWorkspaceDeleteArgs<ExtArgs>>): Prisma.Prisma__HarnessWorkspaceClient<runtime.Types.Result.GetResult<Prisma.$HarnessWorkspacePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
907
+
908
+ /**
909
+ * Update one HarnessWorkspace.
910
+ * @param {HarnessWorkspaceUpdateArgs} args - Arguments to update one HarnessWorkspace.
911
+ * @example
912
+ * // Update one HarnessWorkspace
913
+ * const harnessWorkspace = await prisma.harnessWorkspace.update({
914
+ * where: {
915
+ * // ... provide filter here
916
+ * },
917
+ * data: {
918
+ * // ... provide data here
919
+ * }
920
+ * })
921
+ *
922
+ */
923
+ update<T extends HarnessWorkspaceUpdateArgs>(args: Prisma.SelectSubset<T, HarnessWorkspaceUpdateArgs<ExtArgs>>): Prisma.Prisma__HarnessWorkspaceClient<runtime.Types.Result.GetResult<Prisma.$HarnessWorkspacePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
924
+
925
+ /**
926
+ * Delete zero or more HarnessWorkspaces.
927
+ * @param {HarnessWorkspaceDeleteManyArgs} args - Arguments to filter HarnessWorkspaces to delete.
928
+ * @example
929
+ * // Delete a few HarnessWorkspaces
930
+ * const { count } = await prisma.harnessWorkspace.deleteMany({
931
+ * where: {
932
+ * // ... provide filter here
933
+ * }
934
+ * })
935
+ *
936
+ */
937
+ deleteMany<T extends HarnessWorkspaceDeleteManyArgs>(args?: Prisma.SelectSubset<T, HarnessWorkspaceDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
938
+
939
+ /**
940
+ * Update zero or more HarnessWorkspaces.
941
+ * Note, that providing `undefined` is treated as the value not being there.
942
+ * Read more here: https://pris.ly/d/null-undefined
943
+ * @param {HarnessWorkspaceUpdateManyArgs} args - Arguments to update one or more rows.
944
+ * @example
945
+ * // Update many HarnessWorkspaces
946
+ * const harnessWorkspace = await prisma.harnessWorkspace.updateMany({
947
+ * where: {
948
+ * // ... provide filter here
949
+ * },
950
+ * data: {
951
+ * // ... provide data here
952
+ * }
953
+ * })
954
+ *
955
+ */
956
+ updateMany<T extends HarnessWorkspaceUpdateManyArgs>(args: Prisma.SelectSubset<T, HarnessWorkspaceUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
957
+
958
+ /**
959
+ * Update zero or more HarnessWorkspaces and returns the data updated in the database.
960
+ * @param {HarnessWorkspaceUpdateManyAndReturnArgs} args - Arguments to update many HarnessWorkspaces.
961
+ * @example
962
+ * // Update many HarnessWorkspaces
963
+ * const harnessWorkspace = await prisma.harnessWorkspace.updateManyAndReturn({
964
+ * where: {
965
+ * // ... provide filter here
966
+ * },
967
+ * data: [
968
+ * // ... provide data here
969
+ * ]
970
+ * })
971
+ *
972
+ * // Update zero or more HarnessWorkspaces and only return the `id`
973
+ * const harnessWorkspaceWithIdOnly = await prisma.harnessWorkspace.updateManyAndReturn({
974
+ * select: { id: true },
975
+ * where: {
976
+ * // ... provide filter here
977
+ * },
978
+ * data: [
979
+ * // ... provide data here
980
+ * ]
981
+ * })
982
+ * Note, that providing `undefined` is treated as the value not being there.
983
+ * Read more here: https://pris.ly/d/null-undefined
984
+ *
985
+ */
986
+ updateManyAndReturn<T extends HarnessWorkspaceUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, HarnessWorkspaceUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HarnessWorkspacePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
987
+
988
+ /**
989
+ * Create or update one HarnessWorkspace.
990
+ * @param {HarnessWorkspaceUpsertArgs} args - Arguments to update or create a HarnessWorkspace.
991
+ * @example
992
+ * // Update or create a HarnessWorkspace
993
+ * const harnessWorkspace = await prisma.harnessWorkspace.upsert({
994
+ * create: {
995
+ * // ... data to create a HarnessWorkspace
996
+ * },
997
+ * update: {
998
+ * // ... in case it already exists, update
999
+ * },
1000
+ * where: {
1001
+ * // ... the filter for the HarnessWorkspace we want to update
1002
+ * }
1003
+ * })
1004
+ */
1005
+ upsert<T extends HarnessWorkspaceUpsertArgs>(args: Prisma.SelectSubset<T, HarnessWorkspaceUpsertArgs<ExtArgs>>): Prisma.Prisma__HarnessWorkspaceClient<runtime.Types.Result.GetResult<Prisma.$HarnessWorkspacePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1006
+
1007
+
1008
+ /**
1009
+ * Count the number of HarnessWorkspaces.
1010
+ * Note, that providing `undefined` is treated as the value not being there.
1011
+ * Read more here: https://pris.ly/d/null-undefined
1012
+ * @param {HarnessWorkspaceCountArgs} args - Arguments to filter HarnessWorkspaces to count.
1013
+ * @example
1014
+ * // Count the number of HarnessWorkspaces
1015
+ * const count = await prisma.harnessWorkspace.count({
1016
+ * where: {
1017
+ * // ... the filter for the HarnessWorkspaces we want to count
1018
+ * }
1019
+ * })
1020
+ **/
1021
+ count<T extends HarnessWorkspaceCountArgs>(
1022
+ args?: Prisma.Subset<T, HarnessWorkspaceCountArgs>,
1023
+ ): Prisma.PrismaPromise<
1024
+ T extends runtime.Types.Utils.Record<'select', any>
1025
+ ? T['select'] extends true
1026
+ ? number
1027
+ : Prisma.GetScalarType<T['select'], HarnessWorkspaceCountAggregateOutputType>
1028
+ : number
1029
+ >
1030
+
1031
+ /**
1032
+ * Allows you to perform aggregations operations on a HarnessWorkspace.
1033
+ * Note, that providing `undefined` is treated as the value not being there.
1034
+ * Read more here: https://pris.ly/d/null-undefined
1035
+ * @param {HarnessWorkspaceAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1036
+ * @example
1037
+ * // Ordered by age ascending
1038
+ * // Where email contains prisma.io
1039
+ * // Limited to the 10 users
1040
+ * const aggregations = await prisma.user.aggregate({
1041
+ * _avg: {
1042
+ * age: true,
1043
+ * },
1044
+ * where: {
1045
+ * email: {
1046
+ * contains: "prisma.io",
1047
+ * },
1048
+ * },
1049
+ * orderBy: {
1050
+ * age: "asc",
1051
+ * },
1052
+ * take: 10,
1053
+ * })
1054
+ **/
1055
+ aggregate<T extends HarnessWorkspaceAggregateArgs>(args: Prisma.Subset<T, HarnessWorkspaceAggregateArgs>): Prisma.PrismaPromise<GetHarnessWorkspaceAggregateType<T>>
1056
+
1057
+ /**
1058
+ * Group by HarnessWorkspace.
1059
+ * Note, that providing `undefined` is treated as the value not being there.
1060
+ * Read more here: https://pris.ly/d/null-undefined
1061
+ * @param {HarnessWorkspaceGroupByArgs} args - Group by arguments.
1062
+ * @example
1063
+ * // Group by city, order by createdAt, get count
1064
+ * const result = await prisma.user.groupBy({
1065
+ * by: ['city', 'createdAt'],
1066
+ * orderBy: {
1067
+ * createdAt: true
1068
+ * },
1069
+ * _count: {
1070
+ * _all: true
1071
+ * },
1072
+ * })
1073
+ *
1074
+ **/
1075
+ groupBy<
1076
+ T extends HarnessWorkspaceGroupByArgs,
1077
+ HasSelectOrTake extends Prisma.Or<
1078
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1079
+ Prisma.Extends<'take', Prisma.Keys<T>>
1080
+ >,
1081
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1082
+ ? { orderBy: HarnessWorkspaceGroupByArgs['orderBy'] }
1083
+ : { orderBy?: HarnessWorkspaceGroupByArgs['orderBy'] },
1084
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1085
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1086
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1087
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1088
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1089
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1090
+ InputErrors extends ByEmpty extends Prisma.True
1091
+ ? `Error: "by" must not be empty.`
1092
+ : HavingValid extends Prisma.False
1093
+ ? {
1094
+ [P in HavingFields]: P extends ByFields
1095
+ ? never
1096
+ : P extends string
1097
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1098
+ : [
1099
+ Error,
1100
+ 'Field ',
1101
+ P,
1102
+ ` in "having" needs to be provided in "by"`,
1103
+ ]
1104
+ }[HavingFields]
1105
+ : 'take' extends Prisma.Keys<T>
1106
+ ? 'orderBy' extends Prisma.Keys<T>
1107
+ ? ByValid extends Prisma.True
1108
+ ? {}
1109
+ : {
1110
+ [P in OrderFields]: P extends ByFields
1111
+ ? never
1112
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1113
+ }[OrderFields]
1114
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1115
+ : 'skip' extends Prisma.Keys<T>
1116
+ ? 'orderBy' extends Prisma.Keys<T>
1117
+ ? ByValid extends Prisma.True
1118
+ ? {}
1119
+ : {
1120
+ [P in OrderFields]: P extends ByFields
1121
+ ? never
1122
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1123
+ }[OrderFields]
1124
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1125
+ : ByValid extends Prisma.True
1126
+ ? {}
1127
+ : {
1128
+ [P in OrderFields]: P extends ByFields
1129
+ ? never
1130
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1131
+ }[OrderFields]
1132
+ >(args: Prisma.SubsetIntersection<T, HarnessWorkspaceGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetHarnessWorkspaceGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1133
+ /**
1134
+ * Fields of the HarnessWorkspace model
1135
+ */
1136
+ readonly fields: HarnessWorkspaceFieldRefs;
1137
+ }
1138
+
1139
+ /**
1140
+ * The delegate class that acts as a "Promise-like" for HarnessWorkspace.
1141
+ * Why is this prefixed with `Prisma__`?
1142
+ * Because we want to prevent naming conflicts as mentioned in
1143
+ * https://github.com/prisma/prisma-client-js/issues/707
1144
+ */
1145
+ export interface Prisma__HarnessWorkspaceClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1146
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1147
+ 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>
1148
+ 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>
1149
+ 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>
1150
+ /**
1151
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1152
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1153
+ * @param onrejected The callback to execute when the Promise is rejected.
1154
+ * @returns A Promise for the completion of which ever callback is executed.
1155
+ */
1156
+ 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>
1157
+ /**
1158
+ * Attaches a callback for only the rejection of the Promise.
1159
+ * @param onrejected The callback to execute when the Promise is rejected.
1160
+ * @returns A Promise for the completion of the callback.
1161
+ */
1162
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1163
+ /**
1164
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1165
+ * resolved value cannot be modified from the callback.
1166
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1167
+ * @returns A Promise for the completion of the callback.
1168
+ */
1169
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1170
+ }
1171
+
1172
+
1173
+
1174
+
1175
+ /**
1176
+ * Fields of the HarnessWorkspace model
1177
+ */
1178
+ export interface HarnessWorkspaceFieldRefs {
1179
+ readonly id: Prisma.FieldRef<"HarnessWorkspace", 'String'>
1180
+ readonly name: Prisma.FieldRef<"HarnessWorkspace", 'String'>
1181
+ readonly ownerId: Prisma.FieldRef<"HarnessWorkspace", 'String'>
1182
+ readonly kind: Prisma.FieldRef<"HarnessWorkspace", 'String'>
1183
+ readonly createdAt: Prisma.FieldRef<"HarnessWorkspace", 'DateTime'>
1184
+ readonly updatedAt: Prisma.FieldRef<"HarnessWorkspace", 'DateTime'>
1185
+ }
1186
+
1187
+
1188
+ // Custom InputTypes
1189
+ /**
1190
+ * HarnessWorkspace findUnique
1191
+ */
1192
+ export type HarnessWorkspaceFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1193
+ /**
1194
+ * Select specific fields to fetch from the HarnessWorkspace
1195
+ */
1196
+ select?: Prisma.HarnessWorkspaceSelect<ExtArgs> | null
1197
+ /**
1198
+ * Omit specific fields from the HarnessWorkspace
1199
+ */
1200
+ omit?: Prisma.HarnessWorkspaceOmit<ExtArgs> | null
1201
+ /**
1202
+ * Choose, which related nodes to fetch as well
1203
+ */
1204
+ include?: Prisma.HarnessWorkspaceInclude<ExtArgs> | null
1205
+ /**
1206
+ * Filter, which HarnessWorkspace to fetch.
1207
+ */
1208
+ where: Prisma.HarnessWorkspaceWhereUniqueInput
1209
+ }
1210
+
1211
+ /**
1212
+ * HarnessWorkspace findUniqueOrThrow
1213
+ */
1214
+ export type HarnessWorkspaceFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1215
+ /**
1216
+ * Select specific fields to fetch from the HarnessWorkspace
1217
+ */
1218
+ select?: Prisma.HarnessWorkspaceSelect<ExtArgs> | null
1219
+ /**
1220
+ * Omit specific fields from the HarnessWorkspace
1221
+ */
1222
+ omit?: Prisma.HarnessWorkspaceOmit<ExtArgs> | null
1223
+ /**
1224
+ * Choose, which related nodes to fetch as well
1225
+ */
1226
+ include?: Prisma.HarnessWorkspaceInclude<ExtArgs> | null
1227
+ /**
1228
+ * Filter, which HarnessWorkspace to fetch.
1229
+ */
1230
+ where: Prisma.HarnessWorkspaceWhereUniqueInput
1231
+ }
1232
+
1233
+ /**
1234
+ * HarnessWorkspace findFirst
1235
+ */
1236
+ export type HarnessWorkspaceFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1237
+ /**
1238
+ * Select specific fields to fetch from the HarnessWorkspace
1239
+ */
1240
+ select?: Prisma.HarnessWorkspaceSelect<ExtArgs> | null
1241
+ /**
1242
+ * Omit specific fields from the HarnessWorkspace
1243
+ */
1244
+ omit?: Prisma.HarnessWorkspaceOmit<ExtArgs> | null
1245
+ /**
1246
+ * Choose, which related nodes to fetch as well
1247
+ */
1248
+ include?: Prisma.HarnessWorkspaceInclude<ExtArgs> | null
1249
+ /**
1250
+ * Filter, which HarnessWorkspace to fetch.
1251
+ */
1252
+ where?: Prisma.HarnessWorkspaceWhereInput
1253
+ /**
1254
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1255
+ *
1256
+ * Determine the order of HarnessWorkspaces to fetch.
1257
+ */
1258
+ orderBy?: Prisma.HarnessWorkspaceOrderByWithRelationInput | Prisma.HarnessWorkspaceOrderByWithRelationInput[]
1259
+ /**
1260
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1261
+ *
1262
+ * Sets the position for searching for HarnessWorkspaces.
1263
+ */
1264
+ cursor?: Prisma.HarnessWorkspaceWhereUniqueInput
1265
+ /**
1266
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1267
+ *
1268
+ * Take `±n` HarnessWorkspaces from the position of the cursor.
1269
+ */
1270
+ take?: number
1271
+ /**
1272
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1273
+ *
1274
+ * Skip the first `n` HarnessWorkspaces.
1275
+ */
1276
+ skip?: number
1277
+ /**
1278
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1279
+ *
1280
+ * Filter by unique combinations of HarnessWorkspaces.
1281
+ */
1282
+ distinct?: Prisma.HarnessWorkspaceScalarFieldEnum | Prisma.HarnessWorkspaceScalarFieldEnum[]
1283
+ }
1284
+
1285
+ /**
1286
+ * HarnessWorkspace findFirstOrThrow
1287
+ */
1288
+ export type HarnessWorkspaceFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1289
+ /**
1290
+ * Select specific fields to fetch from the HarnessWorkspace
1291
+ */
1292
+ select?: Prisma.HarnessWorkspaceSelect<ExtArgs> | null
1293
+ /**
1294
+ * Omit specific fields from the HarnessWorkspace
1295
+ */
1296
+ omit?: Prisma.HarnessWorkspaceOmit<ExtArgs> | null
1297
+ /**
1298
+ * Choose, which related nodes to fetch as well
1299
+ */
1300
+ include?: Prisma.HarnessWorkspaceInclude<ExtArgs> | null
1301
+ /**
1302
+ * Filter, which HarnessWorkspace to fetch.
1303
+ */
1304
+ where?: Prisma.HarnessWorkspaceWhereInput
1305
+ /**
1306
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1307
+ *
1308
+ * Determine the order of HarnessWorkspaces to fetch.
1309
+ */
1310
+ orderBy?: Prisma.HarnessWorkspaceOrderByWithRelationInput | Prisma.HarnessWorkspaceOrderByWithRelationInput[]
1311
+ /**
1312
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1313
+ *
1314
+ * Sets the position for searching for HarnessWorkspaces.
1315
+ */
1316
+ cursor?: Prisma.HarnessWorkspaceWhereUniqueInput
1317
+ /**
1318
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1319
+ *
1320
+ * Take `±n` HarnessWorkspaces from the position of the cursor.
1321
+ */
1322
+ take?: number
1323
+ /**
1324
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1325
+ *
1326
+ * Skip the first `n` HarnessWorkspaces.
1327
+ */
1328
+ skip?: number
1329
+ /**
1330
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1331
+ *
1332
+ * Filter by unique combinations of HarnessWorkspaces.
1333
+ */
1334
+ distinct?: Prisma.HarnessWorkspaceScalarFieldEnum | Prisma.HarnessWorkspaceScalarFieldEnum[]
1335
+ }
1336
+
1337
+ /**
1338
+ * HarnessWorkspace findMany
1339
+ */
1340
+ export type HarnessWorkspaceFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1341
+ /**
1342
+ * Select specific fields to fetch from the HarnessWorkspace
1343
+ */
1344
+ select?: Prisma.HarnessWorkspaceSelect<ExtArgs> | null
1345
+ /**
1346
+ * Omit specific fields from the HarnessWorkspace
1347
+ */
1348
+ omit?: Prisma.HarnessWorkspaceOmit<ExtArgs> | null
1349
+ /**
1350
+ * Choose, which related nodes to fetch as well
1351
+ */
1352
+ include?: Prisma.HarnessWorkspaceInclude<ExtArgs> | null
1353
+ /**
1354
+ * Filter, which HarnessWorkspaces to fetch.
1355
+ */
1356
+ where?: Prisma.HarnessWorkspaceWhereInput
1357
+ /**
1358
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1359
+ *
1360
+ * Determine the order of HarnessWorkspaces to fetch.
1361
+ */
1362
+ orderBy?: Prisma.HarnessWorkspaceOrderByWithRelationInput | Prisma.HarnessWorkspaceOrderByWithRelationInput[]
1363
+ /**
1364
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1365
+ *
1366
+ * Sets the position for listing HarnessWorkspaces.
1367
+ */
1368
+ cursor?: Prisma.HarnessWorkspaceWhereUniqueInput
1369
+ /**
1370
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1371
+ *
1372
+ * Take `±n` HarnessWorkspaces from the position of the cursor.
1373
+ */
1374
+ take?: number
1375
+ /**
1376
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1377
+ *
1378
+ * Skip the first `n` HarnessWorkspaces.
1379
+ */
1380
+ skip?: number
1381
+ /**
1382
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1383
+ *
1384
+ * Filter by unique combinations of HarnessWorkspaces.
1385
+ */
1386
+ distinct?: Prisma.HarnessWorkspaceScalarFieldEnum | Prisma.HarnessWorkspaceScalarFieldEnum[]
1387
+ }
1388
+
1389
+ /**
1390
+ * HarnessWorkspace create
1391
+ */
1392
+ export type HarnessWorkspaceCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1393
+ /**
1394
+ * Select specific fields to fetch from the HarnessWorkspace
1395
+ */
1396
+ select?: Prisma.HarnessWorkspaceSelect<ExtArgs> | null
1397
+ /**
1398
+ * Omit specific fields from the HarnessWorkspace
1399
+ */
1400
+ omit?: Prisma.HarnessWorkspaceOmit<ExtArgs> | null
1401
+ /**
1402
+ * Choose, which related nodes to fetch as well
1403
+ */
1404
+ include?: Prisma.HarnessWorkspaceInclude<ExtArgs> | null
1405
+ /**
1406
+ * The data needed to create a HarnessWorkspace.
1407
+ */
1408
+ data: Prisma.XOR<Prisma.HarnessWorkspaceCreateInput, Prisma.HarnessWorkspaceUncheckedCreateInput>
1409
+ }
1410
+
1411
+ /**
1412
+ * HarnessWorkspace createMany
1413
+ */
1414
+ export type HarnessWorkspaceCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1415
+ /**
1416
+ * The data used to create many HarnessWorkspaces.
1417
+ */
1418
+ data: Prisma.HarnessWorkspaceCreateManyInput | Prisma.HarnessWorkspaceCreateManyInput[]
1419
+ }
1420
+
1421
+ /**
1422
+ * HarnessWorkspace createManyAndReturn
1423
+ */
1424
+ export type HarnessWorkspaceCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1425
+ /**
1426
+ * Select specific fields to fetch from the HarnessWorkspace
1427
+ */
1428
+ select?: Prisma.HarnessWorkspaceSelectCreateManyAndReturn<ExtArgs> | null
1429
+ /**
1430
+ * Omit specific fields from the HarnessWorkspace
1431
+ */
1432
+ omit?: Prisma.HarnessWorkspaceOmit<ExtArgs> | null
1433
+ /**
1434
+ * The data used to create many HarnessWorkspaces.
1435
+ */
1436
+ data: Prisma.HarnessWorkspaceCreateManyInput | Prisma.HarnessWorkspaceCreateManyInput[]
1437
+ /**
1438
+ * Choose, which related nodes to fetch as well
1439
+ */
1440
+ include?: Prisma.HarnessWorkspaceIncludeCreateManyAndReturn<ExtArgs> | null
1441
+ }
1442
+
1443
+ /**
1444
+ * HarnessWorkspace update
1445
+ */
1446
+ export type HarnessWorkspaceUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1447
+ /**
1448
+ * Select specific fields to fetch from the HarnessWorkspace
1449
+ */
1450
+ select?: Prisma.HarnessWorkspaceSelect<ExtArgs> | null
1451
+ /**
1452
+ * Omit specific fields from the HarnessWorkspace
1453
+ */
1454
+ omit?: Prisma.HarnessWorkspaceOmit<ExtArgs> | null
1455
+ /**
1456
+ * Choose, which related nodes to fetch as well
1457
+ */
1458
+ include?: Prisma.HarnessWorkspaceInclude<ExtArgs> | null
1459
+ /**
1460
+ * The data needed to update a HarnessWorkspace.
1461
+ */
1462
+ data: Prisma.XOR<Prisma.HarnessWorkspaceUpdateInput, Prisma.HarnessWorkspaceUncheckedUpdateInput>
1463
+ /**
1464
+ * Choose, which HarnessWorkspace to update.
1465
+ */
1466
+ where: Prisma.HarnessWorkspaceWhereUniqueInput
1467
+ }
1468
+
1469
+ /**
1470
+ * HarnessWorkspace updateMany
1471
+ */
1472
+ export type HarnessWorkspaceUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1473
+ /**
1474
+ * The data used to update HarnessWorkspaces.
1475
+ */
1476
+ data: Prisma.XOR<Prisma.HarnessWorkspaceUpdateManyMutationInput, Prisma.HarnessWorkspaceUncheckedUpdateManyInput>
1477
+ /**
1478
+ * Filter which HarnessWorkspaces to update
1479
+ */
1480
+ where?: Prisma.HarnessWorkspaceWhereInput
1481
+ /**
1482
+ * Limit how many HarnessWorkspaces to update.
1483
+ */
1484
+ limit?: number
1485
+ }
1486
+
1487
+ /**
1488
+ * HarnessWorkspace updateManyAndReturn
1489
+ */
1490
+ export type HarnessWorkspaceUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1491
+ /**
1492
+ * Select specific fields to fetch from the HarnessWorkspace
1493
+ */
1494
+ select?: Prisma.HarnessWorkspaceSelectUpdateManyAndReturn<ExtArgs> | null
1495
+ /**
1496
+ * Omit specific fields from the HarnessWorkspace
1497
+ */
1498
+ omit?: Prisma.HarnessWorkspaceOmit<ExtArgs> | null
1499
+ /**
1500
+ * The data used to update HarnessWorkspaces.
1501
+ */
1502
+ data: Prisma.XOR<Prisma.HarnessWorkspaceUpdateManyMutationInput, Prisma.HarnessWorkspaceUncheckedUpdateManyInput>
1503
+ /**
1504
+ * Filter which HarnessWorkspaces to update
1505
+ */
1506
+ where?: Prisma.HarnessWorkspaceWhereInput
1507
+ /**
1508
+ * Limit how many HarnessWorkspaces to update.
1509
+ */
1510
+ limit?: number
1511
+ /**
1512
+ * Choose, which related nodes to fetch as well
1513
+ */
1514
+ include?: Prisma.HarnessWorkspaceIncludeUpdateManyAndReturn<ExtArgs> | null
1515
+ }
1516
+
1517
+ /**
1518
+ * HarnessWorkspace upsert
1519
+ */
1520
+ export type HarnessWorkspaceUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1521
+ /**
1522
+ * Select specific fields to fetch from the HarnessWorkspace
1523
+ */
1524
+ select?: Prisma.HarnessWorkspaceSelect<ExtArgs> | null
1525
+ /**
1526
+ * Omit specific fields from the HarnessWorkspace
1527
+ */
1528
+ omit?: Prisma.HarnessWorkspaceOmit<ExtArgs> | null
1529
+ /**
1530
+ * Choose, which related nodes to fetch as well
1531
+ */
1532
+ include?: Prisma.HarnessWorkspaceInclude<ExtArgs> | null
1533
+ /**
1534
+ * The filter to search for the HarnessWorkspace to update in case it exists.
1535
+ */
1536
+ where: Prisma.HarnessWorkspaceWhereUniqueInput
1537
+ /**
1538
+ * In case the HarnessWorkspace found by the `where` argument doesn't exist, create a new HarnessWorkspace with this data.
1539
+ */
1540
+ create: Prisma.XOR<Prisma.HarnessWorkspaceCreateInput, Prisma.HarnessWorkspaceUncheckedCreateInput>
1541
+ /**
1542
+ * In case the HarnessWorkspace was found with the provided `where` argument, update it with this data.
1543
+ */
1544
+ update: Prisma.XOR<Prisma.HarnessWorkspaceUpdateInput, Prisma.HarnessWorkspaceUncheckedUpdateInput>
1545
+ }
1546
+
1547
+ /**
1548
+ * HarnessWorkspace delete
1549
+ */
1550
+ export type HarnessWorkspaceDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1551
+ /**
1552
+ * Select specific fields to fetch from the HarnessWorkspace
1553
+ */
1554
+ select?: Prisma.HarnessWorkspaceSelect<ExtArgs> | null
1555
+ /**
1556
+ * Omit specific fields from the HarnessWorkspace
1557
+ */
1558
+ omit?: Prisma.HarnessWorkspaceOmit<ExtArgs> | null
1559
+ /**
1560
+ * Choose, which related nodes to fetch as well
1561
+ */
1562
+ include?: Prisma.HarnessWorkspaceInclude<ExtArgs> | null
1563
+ /**
1564
+ * Filter which HarnessWorkspace to delete.
1565
+ */
1566
+ where: Prisma.HarnessWorkspaceWhereUniqueInput
1567
+ }
1568
+
1569
+ /**
1570
+ * HarnessWorkspace deleteMany
1571
+ */
1572
+ export type HarnessWorkspaceDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1573
+ /**
1574
+ * Filter which HarnessWorkspaces to delete
1575
+ */
1576
+ where?: Prisma.HarnessWorkspaceWhereInput
1577
+ /**
1578
+ * Limit how many HarnessWorkspaces to delete.
1579
+ */
1580
+ limit?: number
1581
+ }
1582
+
1583
+ /**
1584
+ * HarnessWorkspace.files
1585
+ */
1586
+ export type HarnessWorkspace$filesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1587
+ /**
1588
+ * Select specific fields to fetch from the WorkspaceFile
1589
+ */
1590
+ select?: Prisma.WorkspaceFileSelect<ExtArgs> | null
1591
+ /**
1592
+ * Omit specific fields from the WorkspaceFile
1593
+ */
1594
+ omit?: Prisma.WorkspaceFileOmit<ExtArgs> | null
1595
+ /**
1596
+ * Choose, which related nodes to fetch as well
1597
+ */
1598
+ include?: Prisma.WorkspaceFileInclude<ExtArgs> | null
1599
+ where?: Prisma.WorkspaceFileWhereInput
1600
+ orderBy?: Prisma.WorkspaceFileOrderByWithRelationInput | Prisma.WorkspaceFileOrderByWithRelationInput[]
1601
+ cursor?: Prisma.WorkspaceFileWhereUniqueInput
1602
+ take?: number
1603
+ skip?: number
1604
+ distinct?: Prisma.WorkspaceFileScalarFieldEnum | Prisma.WorkspaceFileScalarFieldEnum[]
1605
+ }
1606
+
1607
+ /**
1608
+ * HarnessWorkspace.threads
1609
+ */
1610
+ export type HarnessWorkspace$threadsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1611
+ /**
1612
+ * Select specific fields to fetch from the ChatThread
1613
+ */
1614
+ select?: Prisma.ChatThreadSelect<ExtArgs> | null
1615
+ /**
1616
+ * Omit specific fields from the ChatThread
1617
+ */
1618
+ omit?: Prisma.ChatThreadOmit<ExtArgs> | null
1619
+ /**
1620
+ * Choose, which related nodes to fetch as well
1621
+ */
1622
+ include?: Prisma.ChatThreadInclude<ExtArgs> | null
1623
+ where?: Prisma.ChatThreadWhereInput
1624
+ orderBy?: Prisma.ChatThreadOrderByWithRelationInput | Prisma.ChatThreadOrderByWithRelationInput[]
1625
+ cursor?: Prisma.ChatThreadWhereUniqueInput
1626
+ take?: number
1627
+ skip?: number
1628
+ distinct?: Prisma.ChatThreadScalarFieldEnum | Prisma.ChatThreadScalarFieldEnum[]
1629
+ }
1630
+
1631
+ /**
1632
+ * HarnessWorkspace without action
1633
+ */
1634
+ export type HarnessWorkspaceDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1635
+ /**
1636
+ * Select specific fields to fetch from the HarnessWorkspace
1637
+ */
1638
+ select?: Prisma.HarnessWorkspaceSelect<ExtArgs> | null
1639
+ /**
1640
+ * Omit specific fields from the HarnessWorkspace
1641
+ */
1642
+ omit?: Prisma.HarnessWorkspaceOmit<ExtArgs> | null
1643
+ /**
1644
+ * Choose, which related nodes to fetch as well
1645
+ */
1646
+ include?: Prisma.HarnessWorkspaceInclude<ExtArgs> | null
1647
+ }