@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,1650 @@
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
+ skipDuplicates?: boolean
466
+ }
467
+
468
+ export type HarnessWorkspaceUpsertWithWhereUniqueWithoutOwnerInput = {
469
+ where: Prisma.HarnessWorkspaceWhereUniqueInput
470
+ update: Prisma.XOR<Prisma.HarnessWorkspaceUpdateWithoutOwnerInput, Prisma.HarnessWorkspaceUncheckedUpdateWithoutOwnerInput>
471
+ create: Prisma.XOR<Prisma.HarnessWorkspaceCreateWithoutOwnerInput, Prisma.HarnessWorkspaceUncheckedCreateWithoutOwnerInput>
472
+ }
473
+
474
+ export type HarnessWorkspaceUpdateWithWhereUniqueWithoutOwnerInput = {
475
+ where: Prisma.HarnessWorkspaceWhereUniqueInput
476
+ data: Prisma.XOR<Prisma.HarnessWorkspaceUpdateWithoutOwnerInput, Prisma.HarnessWorkspaceUncheckedUpdateWithoutOwnerInput>
477
+ }
478
+
479
+ export type HarnessWorkspaceUpdateManyWithWhereWithoutOwnerInput = {
480
+ where: Prisma.HarnessWorkspaceScalarWhereInput
481
+ data: Prisma.XOR<Prisma.HarnessWorkspaceUpdateManyMutationInput, Prisma.HarnessWorkspaceUncheckedUpdateManyWithoutOwnerInput>
482
+ }
483
+
484
+ export type HarnessWorkspaceScalarWhereInput = {
485
+ AND?: Prisma.HarnessWorkspaceScalarWhereInput | Prisma.HarnessWorkspaceScalarWhereInput[]
486
+ OR?: Prisma.HarnessWorkspaceScalarWhereInput[]
487
+ NOT?: Prisma.HarnessWorkspaceScalarWhereInput | Prisma.HarnessWorkspaceScalarWhereInput[]
488
+ id?: Prisma.StringFilter<"HarnessWorkspace"> | string
489
+ name?: Prisma.StringFilter<"HarnessWorkspace"> | string
490
+ ownerId?: Prisma.StringFilter<"HarnessWorkspace"> | string
491
+ kind?: Prisma.StringFilter<"HarnessWorkspace"> | string
492
+ createdAt?: Prisma.DateTimeFilter<"HarnessWorkspace"> | Date | string
493
+ updatedAt?: Prisma.DateTimeFilter<"HarnessWorkspace"> | Date | string
494
+ }
495
+
496
+ export type HarnessWorkspaceCreateWithoutThreadsInput = {
497
+ id?: string
498
+ name: string
499
+ kind?: string
500
+ createdAt?: Date | string
501
+ updatedAt?: Date | string
502
+ owner: Prisma.UserCreateNestedOneWithoutHarnessWorkspacesInput
503
+ files?: Prisma.WorkspaceFileCreateNestedManyWithoutWorkspaceInput
504
+ }
505
+
506
+ export type HarnessWorkspaceUncheckedCreateWithoutThreadsInput = {
507
+ id?: string
508
+ name: string
509
+ ownerId: string
510
+ kind?: string
511
+ createdAt?: Date | string
512
+ updatedAt?: Date | string
513
+ files?: Prisma.WorkspaceFileUncheckedCreateNestedManyWithoutWorkspaceInput
514
+ }
515
+
516
+ export type HarnessWorkspaceCreateOrConnectWithoutThreadsInput = {
517
+ where: Prisma.HarnessWorkspaceWhereUniqueInput
518
+ create: Prisma.XOR<Prisma.HarnessWorkspaceCreateWithoutThreadsInput, Prisma.HarnessWorkspaceUncheckedCreateWithoutThreadsInput>
519
+ }
520
+
521
+ export type HarnessWorkspaceUpsertWithoutThreadsInput = {
522
+ update: Prisma.XOR<Prisma.HarnessWorkspaceUpdateWithoutThreadsInput, Prisma.HarnessWorkspaceUncheckedUpdateWithoutThreadsInput>
523
+ create: Prisma.XOR<Prisma.HarnessWorkspaceCreateWithoutThreadsInput, Prisma.HarnessWorkspaceUncheckedCreateWithoutThreadsInput>
524
+ where?: Prisma.HarnessWorkspaceWhereInput
525
+ }
526
+
527
+ export type HarnessWorkspaceUpdateToOneWithWhereWithoutThreadsInput = {
528
+ where?: Prisma.HarnessWorkspaceWhereInput
529
+ data: Prisma.XOR<Prisma.HarnessWorkspaceUpdateWithoutThreadsInput, Prisma.HarnessWorkspaceUncheckedUpdateWithoutThreadsInput>
530
+ }
531
+
532
+ export type HarnessWorkspaceUpdateWithoutThreadsInput = {
533
+ id?: Prisma.StringFieldUpdateOperationsInput | string
534
+ name?: Prisma.StringFieldUpdateOperationsInput | string
535
+ kind?: Prisma.StringFieldUpdateOperationsInput | string
536
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
537
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
538
+ owner?: Prisma.UserUpdateOneRequiredWithoutHarnessWorkspacesNestedInput
539
+ files?: Prisma.WorkspaceFileUpdateManyWithoutWorkspaceNestedInput
540
+ }
541
+
542
+ export type HarnessWorkspaceUncheckedUpdateWithoutThreadsInput = {
543
+ id?: Prisma.StringFieldUpdateOperationsInput | string
544
+ name?: Prisma.StringFieldUpdateOperationsInput | string
545
+ ownerId?: Prisma.StringFieldUpdateOperationsInput | string
546
+ kind?: Prisma.StringFieldUpdateOperationsInput | string
547
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
548
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
549
+ files?: Prisma.WorkspaceFileUncheckedUpdateManyWithoutWorkspaceNestedInput
550
+ }
551
+
552
+ export type HarnessWorkspaceCreateWithoutFilesInput = {
553
+ id?: string
554
+ name: string
555
+ kind?: string
556
+ createdAt?: Date | string
557
+ updatedAt?: Date | string
558
+ owner: Prisma.UserCreateNestedOneWithoutHarnessWorkspacesInput
559
+ threads?: Prisma.ChatThreadCreateNestedManyWithoutWorkspaceInput
560
+ }
561
+
562
+ export type HarnessWorkspaceUncheckedCreateWithoutFilesInput = {
563
+ id?: string
564
+ name: string
565
+ ownerId: string
566
+ kind?: string
567
+ createdAt?: Date | string
568
+ updatedAt?: Date | string
569
+ threads?: Prisma.ChatThreadUncheckedCreateNestedManyWithoutWorkspaceInput
570
+ }
571
+
572
+ export type HarnessWorkspaceCreateOrConnectWithoutFilesInput = {
573
+ where: Prisma.HarnessWorkspaceWhereUniqueInput
574
+ create: Prisma.XOR<Prisma.HarnessWorkspaceCreateWithoutFilesInput, Prisma.HarnessWorkspaceUncheckedCreateWithoutFilesInput>
575
+ }
576
+
577
+ export type HarnessWorkspaceUpsertWithoutFilesInput = {
578
+ update: Prisma.XOR<Prisma.HarnessWorkspaceUpdateWithoutFilesInput, Prisma.HarnessWorkspaceUncheckedUpdateWithoutFilesInput>
579
+ create: Prisma.XOR<Prisma.HarnessWorkspaceCreateWithoutFilesInput, Prisma.HarnessWorkspaceUncheckedCreateWithoutFilesInput>
580
+ where?: Prisma.HarnessWorkspaceWhereInput
581
+ }
582
+
583
+ export type HarnessWorkspaceUpdateToOneWithWhereWithoutFilesInput = {
584
+ where?: Prisma.HarnessWorkspaceWhereInput
585
+ data: Prisma.XOR<Prisma.HarnessWorkspaceUpdateWithoutFilesInput, Prisma.HarnessWorkspaceUncheckedUpdateWithoutFilesInput>
586
+ }
587
+
588
+ export type HarnessWorkspaceUpdateWithoutFilesInput = {
589
+ id?: Prisma.StringFieldUpdateOperationsInput | string
590
+ name?: Prisma.StringFieldUpdateOperationsInput | string
591
+ kind?: Prisma.StringFieldUpdateOperationsInput | string
592
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
593
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
594
+ owner?: Prisma.UserUpdateOneRequiredWithoutHarnessWorkspacesNestedInput
595
+ threads?: Prisma.ChatThreadUpdateManyWithoutWorkspaceNestedInput
596
+ }
597
+
598
+ export type HarnessWorkspaceUncheckedUpdateWithoutFilesInput = {
599
+ id?: Prisma.StringFieldUpdateOperationsInput | string
600
+ name?: Prisma.StringFieldUpdateOperationsInput | string
601
+ ownerId?: Prisma.StringFieldUpdateOperationsInput | string
602
+ kind?: Prisma.StringFieldUpdateOperationsInput | string
603
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
604
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
605
+ threads?: Prisma.ChatThreadUncheckedUpdateManyWithoutWorkspaceNestedInput
606
+ }
607
+
608
+ export type HarnessWorkspaceCreateManyOwnerInput = {
609
+ id?: string
610
+ name: string
611
+ kind?: string
612
+ createdAt?: Date | string
613
+ updatedAt?: Date | string
614
+ }
615
+
616
+ export type HarnessWorkspaceUpdateWithoutOwnerInput = {
617
+ id?: Prisma.StringFieldUpdateOperationsInput | string
618
+ name?: Prisma.StringFieldUpdateOperationsInput | string
619
+ kind?: Prisma.StringFieldUpdateOperationsInput | string
620
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
621
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
622
+ files?: Prisma.WorkspaceFileUpdateManyWithoutWorkspaceNestedInput
623
+ threads?: Prisma.ChatThreadUpdateManyWithoutWorkspaceNestedInput
624
+ }
625
+
626
+ export type HarnessWorkspaceUncheckedUpdateWithoutOwnerInput = {
627
+ id?: Prisma.StringFieldUpdateOperationsInput | string
628
+ name?: Prisma.StringFieldUpdateOperationsInput | string
629
+ kind?: Prisma.StringFieldUpdateOperationsInput | string
630
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
631
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
632
+ files?: Prisma.WorkspaceFileUncheckedUpdateManyWithoutWorkspaceNestedInput
633
+ threads?: Prisma.ChatThreadUncheckedUpdateManyWithoutWorkspaceNestedInput
634
+ }
635
+
636
+ export type HarnessWorkspaceUncheckedUpdateManyWithoutOwnerInput = {
637
+ id?: Prisma.StringFieldUpdateOperationsInput | string
638
+ name?: Prisma.StringFieldUpdateOperationsInput | string
639
+ kind?: Prisma.StringFieldUpdateOperationsInput | string
640
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
641
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
642
+ }
643
+
644
+
645
+ /**
646
+ * Count Type HarnessWorkspaceCountOutputType
647
+ */
648
+
649
+ export type HarnessWorkspaceCountOutputType = {
650
+ files: number
651
+ threads: number
652
+ }
653
+
654
+ export type HarnessWorkspaceCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
655
+ files?: boolean | HarnessWorkspaceCountOutputTypeCountFilesArgs
656
+ threads?: boolean | HarnessWorkspaceCountOutputTypeCountThreadsArgs
657
+ }
658
+
659
+ /**
660
+ * HarnessWorkspaceCountOutputType without action
661
+ */
662
+ export type HarnessWorkspaceCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
663
+ /**
664
+ * Select specific fields to fetch from the HarnessWorkspaceCountOutputType
665
+ */
666
+ select?: Prisma.HarnessWorkspaceCountOutputTypeSelect<ExtArgs> | null
667
+ }
668
+
669
+ /**
670
+ * HarnessWorkspaceCountOutputType without action
671
+ */
672
+ export type HarnessWorkspaceCountOutputTypeCountFilesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
673
+ where?: Prisma.WorkspaceFileWhereInput
674
+ }
675
+
676
+ /**
677
+ * HarnessWorkspaceCountOutputType without action
678
+ */
679
+ export type HarnessWorkspaceCountOutputTypeCountThreadsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
680
+ where?: Prisma.ChatThreadWhereInput
681
+ }
682
+
683
+
684
+ export type HarnessWorkspaceSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
685
+ id?: boolean
686
+ name?: boolean
687
+ ownerId?: boolean
688
+ kind?: boolean
689
+ createdAt?: boolean
690
+ updatedAt?: boolean
691
+ owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
692
+ files?: boolean | Prisma.HarnessWorkspace$filesArgs<ExtArgs>
693
+ threads?: boolean | Prisma.HarnessWorkspace$threadsArgs<ExtArgs>
694
+ _count?: boolean | Prisma.HarnessWorkspaceCountOutputTypeDefaultArgs<ExtArgs>
695
+ }, ExtArgs["result"]["harnessWorkspace"]>
696
+
697
+ export type HarnessWorkspaceSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
698
+ id?: boolean
699
+ name?: boolean
700
+ ownerId?: boolean
701
+ kind?: boolean
702
+ createdAt?: boolean
703
+ updatedAt?: boolean
704
+ owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
705
+ }, ExtArgs["result"]["harnessWorkspace"]>
706
+
707
+ export type HarnessWorkspaceSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
708
+ id?: boolean
709
+ name?: boolean
710
+ ownerId?: boolean
711
+ kind?: boolean
712
+ createdAt?: boolean
713
+ updatedAt?: boolean
714
+ owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
715
+ }, ExtArgs["result"]["harnessWorkspace"]>
716
+
717
+ export type HarnessWorkspaceSelectScalar = {
718
+ id?: boolean
719
+ name?: boolean
720
+ ownerId?: boolean
721
+ kind?: boolean
722
+ createdAt?: boolean
723
+ updatedAt?: boolean
724
+ }
725
+
726
+ 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"]>
727
+ export type HarnessWorkspaceInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
728
+ owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
729
+ files?: boolean | Prisma.HarnessWorkspace$filesArgs<ExtArgs>
730
+ threads?: boolean | Prisma.HarnessWorkspace$threadsArgs<ExtArgs>
731
+ _count?: boolean | Prisma.HarnessWorkspaceCountOutputTypeDefaultArgs<ExtArgs>
732
+ }
733
+ export type HarnessWorkspaceIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
734
+ owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
735
+ }
736
+ export type HarnessWorkspaceIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
737
+ owner?: boolean | Prisma.UserDefaultArgs<ExtArgs>
738
+ }
739
+
740
+ export type $HarnessWorkspacePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
741
+ name: "HarnessWorkspace"
742
+ objects: {
743
+ owner: Prisma.$UserPayload<ExtArgs>
744
+ files: Prisma.$WorkspaceFilePayload<ExtArgs>[]
745
+ threads: Prisma.$ChatThreadPayload<ExtArgs>[]
746
+ }
747
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
748
+ id: string
749
+ name: string
750
+ ownerId: string
751
+ kind: string
752
+ createdAt: Date
753
+ updatedAt: Date
754
+ }, ExtArgs["result"]["harnessWorkspace"]>
755
+ composites: {}
756
+ }
757
+
758
+ export type HarnessWorkspaceGetPayload<S extends boolean | null | undefined | HarnessWorkspaceDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$HarnessWorkspacePayload, S>
759
+
760
+ export type HarnessWorkspaceCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
761
+ Omit<HarnessWorkspaceFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
762
+ select?: HarnessWorkspaceCountAggregateInputType | true
763
+ }
764
+
765
+ export interface HarnessWorkspaceDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
766
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['HarnessWorkspace'], meta: { name: 'HarnessWorkspace' } }
767
+ /**
768
+ * Find zero or one HarnessWorkspace that matches the filter.
769
+ * @param {HarnessWorkspaceFindUniqueArgs} args - Arguments to find a HarnessWorkspace
770
+ * @example
771
+ * // Get one HarnessWorkspace
772
+ * const harnessWorkspace = await prisma.harnessWorkspace.findUnique({
773
+ * where: {
774
+ * // ... provide filter here
775
+ * }
776
+ * })
777
+ */
778
+ 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>
779
+
780
+ /**
781
+ * Find one HarnessWorkspace that matches the filter or throw an error with `error.code='P2025'`
782
+ * if no matches were found.
783
+ * @param {HarnessWorkspaceFindUniqueOrThrowArgs} args - Arguments to find a HarnessWorkspace
784
+ * @example
785
+ * // Get one HarnessWorkspace
786
+ * const harnessWorkspace = await prisma.harnessWorkspace.findUniqueOrThrow({
787
+ * where: {
788
+ * // ... provide filter here
789
+ * }
790
+ * })
791
+ */
792
+ 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>
793
+
794
+ /**
795
+ * Find the first HarnessWorkspace that matches the filter.
796
+ * Note, that providing `undefined` is treated as the value not being there.
797
+ * Read more here: https://pris.ly/d/null-undefined
798
+ * @param {HarnessWorkspaceFindFirstArgs} args - Arguments to find a HarnessWorkspace
799
+ * @example
800
+ * // Get one HarnessWorkspace
801
+ * const harnessWorkspace = await prisma.harnessWorkspace.findFirst({
802
+ * where: {
803
+ * // ... provide filter here
804
+ * }
805
+ * })
806
+ */
807
+ 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>
808
+
809
+ /**
810
+ * Find the first HarnessWorkspace that matches the filter or
811
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
812
+ * Note, that providing `undefined` is treated as the value not being there.
813
+ * Read more here: https://pris.ly/d/null-undefined
814
+ * @param {HarnessWorkspaceFindFirstOrThrowArgs} args - Arguments to find a HarnessWorkspace
815
+ * @example
816
+ * // Get one HarnessWorkspace
817
+ * const harnessWorkspace = await prisma.harnessWorkspace.findFirstOrThrow({
818
+ * where: {
819
+ * // ... provide filter here
820
+ * }
821
+ * })
822
+ */
823
+ 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>
824
+
825
+ /**
826
+ * Find zero or more HarnessWorkspaces that matches the filter.
827
+ * Note, that providing `undefined` is treated as the value not being there.
828
+ * Read more here: https://pris.ly/d/null-undefined
829
+ * @param {HarnessWorkspaceFindManyArgs} args - Arguments to filter and select certain fields only.
830
+ * @example
831
+ * // Get all HarnessWorkspaces
832
+ * const harnessWorkspaces = await prisma.harnessWorkspace.findMany()
833
+ *
834
+ * // Get first 10 HarnessWorkspaces
835
+ * const harnessWorkspaces = await prisma.harnessWorkspace.findMany({ take: 10 })
836
+ *
837
+ * // Only select the `id`
838
+ * const harnessWorkspaceWithIdOnly = await prisma.harnessWorkspace.findMany({ select: { id: true } })
839
+ *
840
+ */
841
+ findMany<T extends HarnessWorkspaceFindManyArgs>(args?: Prisma.SelectSubset<T, HarnessWorkspaceFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HarnessWorkspacePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
842
+
843
+ /**
844
+ * Create a HarnessWorkspace.
845
+ * @param {HarnessWorkspaceCreateArgs} args - Arguments to create a HarnessWorkspace.
846
+ * @example
847
+ * // Create one HarnessWorkspace
848
+ * const HarnessWorkspace = await prisma.harnessWorkspace.create({
849
+ * data: {
850
+ * // ... data to create a HarnessWorkspace
851
+ * }
852
+ * })
853
+ *
854
+ */
855
+ 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>
856
+
857
+ /**
858
+ * Create many HarnessWorkspaces.
859
+ * @param {HarnessWorkspaceCreateManyArgs} args - Arguments to create many HarnessWorkspaces.
860
+ * @example
861
+ * // Create many HarnessWorkspaces
862
+ * const harnessWorkspace = await prisma.harnessWorkspace.createMany({
863
+ * data: [
864
+ * // ... provide data here
865
+ * ]
866
+ * })
867
+ *
868
+ */
869
+ createMany<T extends HarnessWorkspaceCreateManyArgs>(args?: Prisma.SelectSubset<T, HarnessWorkspaceCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
870
+
871
+ /**
872
+ * Create many HarnessWorkspaces and returns the data saved in the database.
873
+ * @param {HarnessWorkspaceCreateManyAndReturnArgs} args - Arguments to create many HarnessWorkspaces.
874
+ * @example
875
+ * // Create many HarnessWorkspaces
876
+ * const harnessWorkspace = await prisma.harnessWorkspace.createManyAndReturn({
877
+ * data: [
878
+ * // ... provide data here
879
+ * ]
880
+ * })
881
+ *
882
+ * // Create many HarnessWorkspaces and only return the `id`
883
+ * const harnessWorkspaceWithIdOnly = await prisma.harnessWorkspace.createManyAndReturn({
884
+ * select: { id: true },
885
+ * data: [
886
+ * // ... provide data here
887
+ * ]
888
+ * })
889
+ * Note, that providing `undefined` is treated as the value not being there.
890
+ * Read more here: https://pris.ly/d/null-undefined
891
+ *
892
+ */
893
+ createManyAndReturn<T extends HarnessWorkspaceCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, HarnessWorkspaceCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HarnessWorkspacePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
894
+
895
+ /**
896
+ * Delete a HarnessWorkspace.
897
+ * @param {HarnessWorkspaceDeleteArgs} args - Arguments to delete one HarnessWorkspace.
898
+ * @example
899
+ * // Delete one HarnessWorkspace
900
+ * const HarnessWorkspace = await prisma.harnessWorkspace.delete({
901
+ * where: {
902
+ * // ... filter to delete one HarnessWorkspace
903
+ * }
904
+ * })
905
+ *
906
+ */
907
+ 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>
908
+
909
+ /**
910
+ * Update one HarnessWorkspace.
911
+ * @param {HarnessWorkspaceUpdateArgs} args - Arguments to update one HarnessWorkspace.
912
+ * @example
913
+ * // Update one HarnessWorkspace
914
+ * const harnessWorkspace = await prisma.harnessWorkspace.update({
915
+ * where: {
916
+ * // ... provide filter here
917
+ * },
918
+ * data: {
919
+ * // ... provide data here
920
+ * }
921
+ * })
922
+ *
923
+ */
924
+ 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>
925
+
926
+ /**
927
+ * Delete zero or more HarnessWorkspaces.
928
+ * @param {HarnessWorkspaceDeleteManyArgs} args - Arguments to filter HarnessWorkspaces to delete.
929
+ * @example
930
+ * // Delete a few HarnessWorkspaces
931
+ * const { count } = await prisma.harnessWorkspace.deleteMany({
932
+ * where: {
933
+ * // ... provide filter here
934
+ * }
935
+ * })
936
+ *
937
+ */
938
+ deleteMany<T extends HarnessWorkspaceDeleteManyArgs>(args?: Prisma.SelectSubset<T, HarnessWorkspaceDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
939
+
940
+ /**
941
+ * Update zero or more HarnessWorkspaces.
942
+ * Note, that providing `undefined` is treated as the value not being there.
943
+ * Read more here: https://pris.ly/d/null-undefined
944
+ * @param {HarnessWorkspaceUpdateManyArgs} args - Arguments to update one or more rows.
945
+ * @example
946
+ * // Update many HarnessWorkspaces
947
+ * const harnessWorkspace = await prisma.harnessWorkspace.updateMany({
948
+ * where: {
949
+ * // ... provide filter here
950
+ * },
951
+ * data: {
952
+ * // ... provide data here
953
+ * }
954
+ * })
955
+ *
956
+ */
957
+ updateMany<T extends HarnessWorkspaceUpdateManyArgs>(args: Prisma.SelectSubset<T, HarnessWorkspaceUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
958
+
959
+ /**
960
+ * Update zero or more HarnessWorkspaces and returns the data updated in the database.
961
+ * @param {HarnessWorkspaceUpdateManyAndReturnArgs} args - Arguments to update many HarnessWorkspaces.
962
+ * @example
963
+ * // Update many HarnessWorkspaces
964
+ * const harnessWorkspace = await prisma.harnessWorkspace.updateManyAndReturn({
965
+ * where: {
966
+ * // ... provide filter here
967
+ * },
968
+ * data: [
969
+ * // ... provide data here
970
+ * ]
971
+ * })
972
+ *
973
+ * // Update zero or more HarnessWorkspaces and only return the `id`
974
+ * const harnessWorkspaceWithIdOnly = await prisma.harnessWorkspace.updateManyAndReturn({
975
+ * select: { id: true },
976
+ * where: {
977
+ * // ... provide filter here
978
+ * },
979
+ * data: [
980
+ * // ... provide data here
981
+ * ]
982
+ * })
983
+ * Note, that providing `undefined` is treated as the value not being there.
984
+ * Read more here: https://pris.ly/d/null-undefined
985
+ *
986
+ */
987
+ updateManyAndReturn<T extends HarnessWorkspaceUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, HarnessWorkspaceUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HarnessWorkspacePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
988
+
989
+ /**
990
+ * Create or update one HarnessWorkspace.
991
+ * @param {HarnessWorkspaceUpsertArgs} args - Arguments to update or create a HarnessWorkspace.
992
+ * @example
993
+ * // Update or create a HarnessWorkspace
994
+ * const harnessWorkspace = await prisma.harnessWorkspace.upsert({
995
+ * create: {
996
+ * // ... data to create a HarnessWorkspace
997
+ * },
998
+ * update: {
999
+ * // ... in case it already exists, update
1000
+ * },
1001
+ * where: {
1002
+ * // ... the filter for the HarnessWorkspace we want to update
1003
+ * }
1004
+ * })
1005
+ */
1006
+ 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>
1007
+
1008
+
1009
+ /**
1010
+ * Count the number of HarnessWorkspaces.
1011
+ * Note, that providing `undefined` is treated as the value not being there.
1012
+ * Read more here: https://pris.ly/d/null-undefined
1013
+ * @param {HarnessWorkspaceCountArgs} args - Arguments to filter HarnessWorkspaces to count.
1014
+ * @example
1015
+ * // Count the number of HarnessWorkspaces
1016
+ * const count = await prisma.harnessWorkspace.count({
1017
+ * where: {
1018
+ * // ... the filter for the HarnessWorkspaces we want to count
1019
+ * }
1020
+ * })
1021
+ **/
1022
+ count<T extends HarnessWorkspaceCountArgs>(
1023
+ args?: Prisma.Subset<T, HarnessWorkspaceCountArgs>,
1024
+ ): Prisma.PrismaPromise<
1025
+ T extends runtime.Types.Utils.Record<'select', any>
1026
+ ? T['select'] extends true
1027
+ ? number
1028
+ : Prisma.GetScalarType<T['select'], HarnessWorkspaceCountAggregateOutputType>
1029
+ : number
1030
+ >
1031
+
1032
+ /**
1033
+ * Allows you to perform aggregations operations on a HarnessWorkspace.
1034
+ * Note, that providing `undefined` is treated as the value not being there.
1035
+ * Read more here: https://pris.ly/d/null-undefined
1036
+ * @param {HarnessWorkspaceAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1037
+ * @example
1038
+ * // Ordered by age ascending
1039
+ * // Where email contains prisma.io
1040
+ * // Limited to the 10 users
1041
+ * const aggregations = await prisma.user.aggregate({
1042
+ * _avg: {
1043
+ * age: true,
1044
+ * },
1045
+ * where: {
1046
+ * email: {
1047
+ * contains: "prisma.io",
1048
+ * },
1049
+ * },
1050
+ * orderBy: {
1051
+ * age: "asc",
1052
+ * },
1053
+ * take: 10,
1054
+ * })
1055
+ **/
1056
+ aggregate<T extends HarnessWorkspaceAggregateArgs>(args: Prisma.Subset<T, HarnessWorkspaceAggregateArgs>): Prisma.PrismaPromise<GetHarnessWorkspaceAggregateType<T>>
1057
+
1058
+ /**
1059
+ * Group by HarnessWorkspace.
1060
+ * Note, that providing `undefined` is treated as the value not being there.
1061
+ * Read more here: https://pris.ly/d/null-undefined
1062
+ * @param {HarnessWorkspaceGroupByArgs} args - Group by arguments.
1063
+ * @example
1064
+ * // Group by city, order by createdAt, get count
1065
+ * const result = await prisma.user.groupBy({
1066
+ * by: ['city', 'createdAt'],
1067
+ * orderBy: {
1068
+ * createdAt: true
1069
+ * },
1070
+ * _count: {
1071
+ * _all: true
1072
+ * },
1073
+ * })
1074
+ *
1075
+ **/
1076
+ groupBy<
1077
+ T extends HarnessWorkspaceGroupByArgs,
1078
+ HasSelectOrTake extends Prisma.Or<
1079
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1080
+ Prisma.Extends<'take', Prisma.Keys<T>>
1081
+ >,
1082
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1083
+ ? { orderBy: HarnessWorkspaceGroupByArgs['orderBy'] }
1084
+ : { orderBy?: HarnessWorkspaceGroupByArgs['orderBy'] },
1085
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1086
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1087
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1088
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1089
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1090
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1091
+ InputErrors extends ByEmpty extends Prisma.True
1092
+ ? `Error: "by" must not be empty.`
1093
+ : HavingValid extends Prisma.False
1094
+ ? {
1095
+ [P in HavingFields]: P extends ByFields
1096
+ ? never
1097
+ : P extends string
1098
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1099
+ : [
1100
+ Error,
1101
+ 'Field ',
1102
+ P,
1103
+ ` in "having" needs to be provided in "by"`,
1104
+ ]
1105
+ }[HavingFields]
1106
+ : 'take' extends Prisma.Keys<T>
1107
+ ? 'orderBy' extends Prisma.Keys<T>
1108
+ ? ByValid extends Prisma.True
1109
+ ? {}
1110
+ : {
1111
+ [P in OrderFields]: P extends ByFields
1112
+ ? never
1113
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1114
+ }[OrderFields]
1115
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1116
+ : 'skip' extends Prisma.Keys<T>
1117
+ ? 'orderBy' extends Prisma.Keys<T>
1118
+ ? ByValid extends Prisma.True
1119
+ ? {}
1120
+ : {
1121
+ [P in OrderFields]: P extends ByFields
1122
+ ? never
1123
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1124
+ }[OrderFields]
1125
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1126
+ : ByValid extends Prisma.True
1127
+ ? {}
1128
+ : {
1129
+ [P in OrderFields]: P extends ByFields
1130
+ ? never
1131
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1132
+ }[OrderFields]
1133
+ >(args: Prisma.SubsetIntersection<T, HarnessWorkspaceGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetHarnessWorkspaceGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1134
+ /**
1135
+ * Fields of the HarnessWorkspace model
1136
+ */
1137
+ readonly fields: HarnessWorkspaceFieldRefs;
1138
+ }
1139
+
1140
+ /**
1141
+ * The delegate class that acts as a "Promise-like" for HarnessWorkspace.
1142
+ * Why is this prefixed with `Prisma__`?
1143
+ * Because we want to prevent naming conflicts as mentioned in
1144
+ * https://github.com/prisma/prisma-client-js/issues/707
1145
+ */
1146
+ export interface Prisma__HarnessWorkspaceClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1147
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1148
+ 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>
1149
+ 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>
1150
+ 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>
1151
+ /**
1152
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1153
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1154
+ * @param onrejected The callback to execute when the Promise is rejected.
1155
+ * @returns A Promise for the completion of which ever callback is executed.
1156
+ */
1157
+ 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>
1158
+ /**
1159
+ * Attaches a callback for only the rejection of the Promise.
1160
+ * @param onrejected The callback to execute when the Promise is rejected.
1161
+ * @returns A Promise for the completion of the callback.
1162
+ */
1163
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1164
+ /**
1165
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1166
+ * resolved value cannot be modified from the callback.
1167
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1168
+ * @returns A Promise for the completion of the callback.
1169
+ */
1170
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1171
+ }
1172
+
1173
+
1174
+
1175
+
1176
+ /**
1177
+ * Fields of the HarnessWorkspace model
1178
+ */
1179
+ export interface HarnessWorkspaceFieldRefs {
1180
+ readonly id: Prisma.FieldRef<"HarnessWorkspace", 'String'>
1181
+ readonly name: Prisma.FieldRef<"HarnessWorkspace", 'String'>
1182
+ readonly ownerId: Prisma.FieldRef<"HarnessWorkspace", 'String'>
1183
+ readonly kind: Prisma.FieldRef<"HarnessWorkspace", 'String'>
1184
+ readonly createdAt: Prisma.FieldRef<"HarnessWorkspace", 'DateTime'>
1185
+ readonly updatedAt: Prisma.FieldRef<"HarnessWorkspace", 'DateTime'>
1186
+ }
1187
+
1188
+
1189
+ // Custom InputTypes
1190
+ /**
1191
+ * HarnessWorkspace findUnique
1192
+ */
1193
+ export type HarnessWorkspaceFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1194
+ /**
1195
+ * Select specific fields to fetch from the HarnessWorkspace
1196
+ */
1197
+ select?: Prisma.HarnessWorkspaceSelect<ExtArgs> | null
1198
+ /**
1199
+ * Omit specific fields from the HarnessWorkspace
1200
+ */
1201
+ omit?: Prisma.HarnessWorkspaceOmit<ExtArgs> | null
1202
+ /**
1203
+ * Choose, which related nodes to fetch as well
1204
+ */
1205
+ include?: Prisma.HarnessWorkspaceInclude<ExtArgs> | null
1206
+ /**
1207
+ * Filter, which HarnessWorkspace to fetch.
1208
+ */
1209
+ where: Prisma.HarnessWorkspaceWhereUniqueInput
1210
+ }
1211
+
1212
+ /**
1213
+ * HarnessWorkspace findUniqueOrThrow
1214
+ */
1215
+ export type HarnessWorkspaceFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1216
+ /**
1217
+ * Select specific fields to fetch from the HarnessWorkspace
1218
+ */
1219
+ select?: Prisma.HarnessWorkspaceSelect<ExtArgs> | null
1220
+ /**
1221
+ * Omit specific fields from the HarnessWorkspace
1222
+ */
1223
+ omit?: Prisma.HarnessWorkspaceOmit<ExtArgs> | null
1224
+ /**
1225
+ * Choose, which related nodes to fetch as well
1226
+ */
1227
+ include?: Prisma.HarnessWorkspaceInclude<ExtArgs> | null
1228
+ /**
1229
+ * Filter, which HarnessWorkspace to fetch.
1230
+ */
1231
+ where: Prisma.HarnessWorkspaceWhereUniqueInput
1232
+ }
1233
+
1234
+ /**
1235
+ * HarnessWorkspace findFirst
1236
+ */
1237
+ export type HarnessWorkspaceFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1238
+ /**
1239
+ * Select specific fields to fetch from the HarnessWorkspace
1240
+ */
1241
+ select?: Prisma.HarnessWorkspaceSelect<ExtArgs> | null
1242
+ /**
1243
+ * Omit specific fields from the HarnessWorkspace
1244
+ */
1245
+ omit?: Prisma.HarnessWorkspaceOmit<ExtArgs> | null
1246
+ /**
1247
+ * Choose, which related nodes to fetch as well
1248
+ */
1249
+ include?: Prisma.HarnessWorkspaceInclude<ExtArgs> | null
1250
+ /**
1251
+ * Filter, which HarnessWorkspace to fetch.
1252
+ */
1253
+ where?: Prisma.HarnessWorkspaceWhereInput
1254
+ /**
1255
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1256
+ *
1257
+ * Determine the order of HarnessWorkspaces to fetch.
1258
+ */
1259
+ orderBy?: Prisma.HarnessWorkspaceOrderByWithRelationInput | Prisma.HarnessWorkspaceOrderByWithRelationInput[]
1260
+ /**
1261
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1262
+ *
1263
+ * Sets the position for searching for HarnessWorkspaces.
1264
+ */
1265
+ cursor?: Prisma.HarnessWorkspaceWhereUniqueInput
1266
+ /**
1267
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1268
+ *
1269
+ * Take `±n` HarnessWorkspaces from the position of the cursor.
1270
+ */
1271
+ take?: number
1272
+ /**
1273
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1274
+ *
1275
+ * Skip the first `n` HarnessWorkspaces.
1276
+ */
1277
+ skip?: number
1278
+ /**
1279
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1280
+ *
1281
+ * Filter by unique combinations of HarnessWorkspaces.
1282
+ */
1283
+ distinct?: Prisma.HarnessWorkspaceScalarFieldEnum | Prisma.HarnessWorkspaceScalarFieldEnum[]
1284
+ }
1285
+
1286
+ /**
1287
+ * HarnessWorkspace findFirstOrThrow
1288
+ */
1289
+ export type HarnessWorkspaceFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1290
+ /**
1291
+ * Select specific fields to fetch from the HarnessWorkspace
1292
+ */
1293
+ select?: Prisma.HarnessWorkspaceSelect<ExtArgs> | null
1294
+ /**
1295
+ * Omit specific fields from the HarnessWorkspace
1296
+ */
1297
+ omit?: Prisma.HarnessWorkspaceOmit<ExtArgs> | null
1298
+ /**
1299
+ * Choose, which related nodes to fetch as well
1300
+ */
1301
+ include?: Prisma.HarnessWorkspaceInclude<ExtArgs> | null
1302
+ /**
1303
+ * Filter, which HarnessWorkspace to fetch.
1304
+ */
1305
+ where?: Prisma.HarnessWorkspaceWhereInput
1306
+ /**
1307
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1308
+ *
1309
+ * Determine the order of HarnessWorkspaces to fetch.
1310
+ */
1311
+ orderBy?: Prisma.HarnessWorkspaceOrderByWithRelationInput | Prisma.HarnessWorkspaceOrderByWithRelationInput[]
1312
+ /**
1313
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1314
+ *
1315
+ * Sets the position for searching for HarnessWorkspaces.
1316
+ */
1317
+ cursor?: Prisma.HarnessWorkspaceWhereUniqueInput
1318
+ /**
1319
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1320
+ *
1321
+ * Take `±n` HarnessWorkspaces from the position of the cursor.
1322
+ */
1323
+ take?: number
1324
+ /**
1325
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1326
+ *
1327
+ * Skip the first `n` HarnessWorkspaces.
1328
+ */
1329
+ skip?: number
1330
+ /**
1331
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1332
+ *
1333
+ * Filter by unique combinations of HarnessWorkspaces.
1334
+ */
1335
+ distinct?: Prisma.HarnessWorkspaceScalarFieldEnum | Prisma.HarnessWorkspaceScalarFieldEnum[]
1336
+ }
1337
+
1338
+ /**
1339
+ * HarnessWorkspace findMany
1340
+ */
1341
+ export type HarnessWorkspaceFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1342
+ /**
1343
+ * Select specific fields to fetch from the HarnessWorkspace
1344
+ */
1345
+ select?: Prisma.HarnessWorkspaceSelect<ExtArgs> | null
1346
+ /**
1347
+ * Omit specific fields from the HarnessWorkspace
1348
+ */
1349
+ omit?: Prisma.HarnessWorkspaceOmit<ExtArgs> | null
1350
+ /**
1351
+ * Choose, which related nodes to fetch as well
1352
+ */
1353
+ include?: Prisma.HarnessWorkspaceInclude<ExtArgs> | null
1354
+ /**
1355
+ * Filter, which HarnessWorkspaces to fetch.
1356
+ */
1357
+ where?: Prisma.HarnessWorkspaceWhereInput
1358
+ /**
1359
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1360
+ *
1361
+ * Determine the order of HarnessWorkspaces to fetch.
1362
+ */
1363
+ orderBy?: Prisma.HarnessWorkspaceOrderByWithRelationInput | Prisma.HarnessWorkspaceOrderByWithRelationInput[]
1364
+ /**
1365
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1366
+ *
1367
+ * Sets the position for listing HarnessWorkspaces.
1368
+ */
1369
+ cursor?: Prisma.HarnessWorkspaceWhereUniqueInput
1370
+ /**
1371
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1372
+ *
1373
+ * Take `±n` HarnessWorkspaces from the position of the cursor.
1374
+ */
1375
+ take?: number
1376
+ /**
1377
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1378
+ *
1379
+ * Skip the first `n` HarnessWorkspaces.
1380
+ */
1381
+ skip?: number
1382
+ /**
1383
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1384
+ *
1385
+ * Filter by unique combinations of HarnessWorkspaces.
1386
+ */
1387
+ distinct?: Prisma.HarnessWorkspaceScalarFieldEnum | Prisma.HarnessWorkspaceScalarFieldEnum[]
1388
+ }
1389
+
1390
+ /**
1391
+ * HarnessWorkspace create
1392
+ */
1393
+ export type HarnessWorkspaceCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1394
+ /**
1395
+ * Select specific fields to fetch from the HarnessWorkspace
1396
+ */
1397
+ select?: Prisma.HarnessWorkspaceSelect<ExtArgs> | null
1398
+ /**
1399
+ * Omit specific fields from the HarnessWorkspace
1400
+ */
1401
+ omit?: Prisma.HarnessWorkspaceOmit<ExtArgs> | null
1402
+ /**
1403
+ * Choose, which related nodes to fetch as well
1404
+ */
1405
+ include?: Prisma.HarnessWorkspaceInclude<ExtArgs> | null
1406
+ /**
1407
+ * The data needed to create a HarnessWorkspace.
1408
+ */
1409
+ data: Prisma.XOR<Prisma.HarnessWorkspaceCreateInput, Prisma.HarnessWorkspaceUncheckedCreateInput>
1410
+ }
1411
+
1412
+ /**
1413
+ * HarnessWorkspace createMany
1414
+ */
1415
+ export type HarnessWorkspaceCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1416
+ /**
1417
+ * The data used to create many HarnessWorkspaces.
1418
+ */
1419
+ data: Prisma.HarnessWorkspaceCreateManyInput | Prisma.HarnessWorkspaceCreateManyInput[]
1420
+ skipDuplicates?: boolean
1421
+ }
1422
+
1423
+ /**
1424
+ * HarnessWorkspace createManyAndReturn
1425
+ */
1426
+ export type HarnessWorkspaceCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1427
+ /**
1428
+ * Select specific fields to fetch from the HarnessWorkspace
1429
+ */
1430
+ select?: Prisma.HarnessWorkspaceSelectCreateManyAndReturn<ExtArgs> | null
1431
+ /**
1432
+ * Omit specific fields from the HarnessWorkspace
1433
+ */
1434
+ omit?: Prisma.HarnessWorkspaceOmit<ExtArgs> | null
1435
+ /**
1436
+ * The data used to create many HarnessWorkspaces.
1437
+ */
1438
+ data: Prisma.HarnessWorkspaceCreateManyInput | Prisma.HarnessWorkspaceCreateManyInput[]
1439
+ skipDuplicates?: boolean
1440
+ /**
1441
+ * Choose, which related nodes to fetch as well
1442
+ */
1443
+ include?: Prisma.HarnessWorkspaceIncludeCreateManyAndReturn<ExtArgs> | null
1444
+ }
1445
+
1446
+ /**
1447
+ * HarnessWorkspace update
1448
+ */
1449
+ export type HarnessWorkspaceUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1450
+ /**
1451
+ * Select specific fields to fetch from the HarnessWorkspace
1452
+ */
1453
+ select?: Prisma.HarnessWorkspaceSelect<ExtArgs> | null
1454
+ /**
1455
+ * Omit specific fields from the HarnessWorkspace
1456
+ */
1457
+ omit?: Prisma.HarnessWorkspaceOmit<ExtArgs> | null
1458
+ /**
1459
+ * Choose, which related nodes to fetch as well
1460
+ */
1461
+ include?: Prisma.HarnessWorkspaceInclude<ExtArgs> | null
1462
+ /**
1463
+ * The data needed to update a HarnessWorkspace.
1464
+ */
1465
+ data: Prisma.XOR<Prisma.HarnessWorkspaceUpdateInput, Prisma.HarnessWorkspaceUncheckedUpdateInput>
1466
+ /**
1467
+ * Choose, which HarnessWorkspace to update.
1468
+ */
1469
+ where: Prisma.HarnessWorkspaceWhereUniqueInput
1470
+ }
1471
+
1472
+ /**
1473
+ * HarnessWorkspace updateMany
1474
+ */
1475
+ export type HarnessWorkspaceUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1476
+ /**
1477
+ * The data used to update HarnessWorkspaces.
1478
+ */
1479
+ data: Prisma.XOR<Prisma.HarnessWorkspaceUpdateManyMutationInput, Prisma.HarnessWorkspaceUncheckedUpdateManyInput>
1480
+ /**
1481
+ * Filter which HarnessWorkspaces to update
1482
+ */
1483
+ where?: Prisma.HarnessWorkspaceWhereInput
1484
+ /**
1485
+ * Limit how many HarnessWorkspaces to update.
1486
+ */
1487
+ limit?: number
1488
+ }
1489
+
1490
+ /**
1491
+ * HarnessWorkspace updateManyAndReturn
1492
+ */
1493
+ export type HarnessWorkspaceUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1494
+ /**
1495
+ * Select specific fields to fetch from the HarnessWorkspace
1496
+ */
1497
+ select?: Prisma.HarnessWorkspaceSelectUpdateManyAndReturn<ExtArgs> | null
1498
+ /**
1499
+ * Omit specific fields from the HarnessWorkspace
1500
+ */
1501
+ omit?: Prisma.HarnessWorkspaceOmit<ExtArgs> | null
1502
+ /**
1503
+ * The data used to update HarnessWorkspaces.
1504
+ */
1505
+ data: Prisma.XOR<Prisma.HarnessWorkspaceUpdateManyMutationInput, Prisma.HarnessWorkspaceUncheckedUpdateManyInput>
1506
+ /**
1507
+ * Filter which HarnessWorkspaces to update
1508
+ */
1509
+ where?: Prisma.HarnessWorkspaceWhereInput
1510
+ /**
1511
+ * Limit how many HarnessWorkspaces to update.
1512
+ */
1513
+ limit?: number
1514
+ /**
1515
+ * Choose, which related nodes to fetch as well
1516
+ */
1517
+ include?: Prisma.HarnessWorkspaceIncludeUpdateManyAndReturn<ExtArgs> | null
1518
+ }
1519
+
1520
+ /**
1521
+ * HarnessWorkspace upsert
1522
+ */
1523
+ export type HarnessWorkspaceUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1524
+ /**
1525
+ * Select specific fields to fetch from the HarnessWorkspace
1526
+ */
1527
+ select?: Prisma.HarnessWorkspaceSelect<ExtArgs> | null
1528
+ /**
1529
+ * Omit specific fields from the HarnessWorkspace
1530
+ */
1531
+ omit?: Prisma.HarnessWorkspaceOmit<ExtArgs> | null
1532
+ /**
1533
+ * Choose, which related nodes to fetch as well
1534
+ */
1535
+ include?: Prisma.HarnessWorkspaceInclude<ExtArgs> | null
1536
+ /**
1537
+ * The filter to search for the HarnessWorkspace to update in case it exists.
1538
+ */
1539
+ where: Prisma.HarnessWorkspaceWhereUniqueInput
1540
+ /**
1541
+ * In case the HarnessWorkspace found by the `where` argument doesn't exist, create a new HarnessWorkspace with this data.
1542
+ */
1543
+ create: Prisma.XOR<Prisma.HarnessWorkspaceCreateInput, Prisma.HarnessWorkspaceUncheckedCreateInput>
1544
+ /**
1545
+ * In case the HarnessWorkspace was found with the provided `where` argument, update it with this data.
1546
+ */
1547
+ update: Prisma.XOR<Prisma.HarnessWorkspaceUpdateInput, Prisma.HarnessWorkspaceUncheckedUpdateInput>
1548
+ }
1549
+
1550
+ /**
1551
+ * HarnessWorkspace delete
1552
+ */
1553
+ export type HarnessWorkspaceDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1554
+ /**
1555
+ * Select specific fields to fetch from the HarnessWorkspace
1556
+ */
1557
+ select?: Prisma.HarnessWorkspaceSelect<ExtArgs> | null
1558
+ /**
1559
+ * Omit specific fields from the HarnessWorkspace
1560
+ */
1561
+ omit?: Prisma.HarnessWorkspaceOmit<ExtArgs> | null
1562
+ /**
1563
+ * Choose, which related nodes to fetch as well
1564
+ */
1565
+ include?: Prisma.HarnessWorkspaceInclude<ExtArgs> | null
1566
+ /**
1567
+ * Filter which HarnessWorkspace to delete.
1568
+ */
1569
+ where: Prisma.HarnessWorkspaceWhereUniqueInput
1570
+ }
1571
+
1572
+ /**
1573
+ * HarnessWorkspace deleteMany
1574
+ */
1575
+ export type HarnessWorkspaceDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1576
+ /**
1577
+ * Filter which HarnessWorkspaces to delete
1578
+ */
1579
+ where?: Prisma.HarnessWorkspaceWhereInput
1580
+ /**
1581
+ * Limit how many HarnessWorkspaces to delete.
1582
+ */
1583
+ limit?: number
1584
+ }
1585
+
1586
+ /**
1587
+ * HarnessWorkspace.files
1588
+ */
1589
+ export type HarnessWorkspace$filesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1590
+ /**
1591
+ * Select specific fields to fetch from the WorkspaceFile
1592
+ */
1593
+ select?: Prisma.WorkspaceFileSelect<ExtArgs> | null
1594
+ /**
1595
+ * Omit specific fields from the WorkspaceFile
1596
+ */
1597
+ omit?: Prisma.WorkspaceFileOmit<ExtArgs> | null
1598
+ /**
1599
+ * Choose, which related nodes to fetch as well
1600
+ */
1601
+ include?: Prisma.WorkspaceFileInclude<ExtArgs> | null
1602
+ where?: Prisma.WorkspaceFileWhereInput
1603
+ orderBy?: Prisma.WorkspaceFileOrderByWithRelationInput | Prisma.WorkspaceFileOrderByWithRelationInput[]
1604
+ cursor?: Prisma.WorkspaceFileWhereUniqueInput
1605
+ take?: number
1606
+ skip?: number
1607
+ distinct?: Prisma.WorkspaceFileScalarFieldEnum | Prisma.WorkspaceFileScalarFieldEnum[]
1608
+ }
1609
+
1610
+ /**
1611
+ * HarnessWorkspace.threads
1612
+ */
1613
+ export type HarnessWorkspace$threadsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1614
+ /**
1615
+ * Select specific fields to fetch from the ChatThread
1616
+ */
1617
+ select?: Prisma.ChatThreadSelect<ExtArgs> | null
1618
+ /**
1619
+ * Omit specific fields from the ChatThread
1620
+ */
1621
+ omit?: Prisma.ChatThreadOmit<ExtArgs> | null
1622
+ /**
1623
+ * Choose, which related nodes to fetch as well
1624
+ */
1625
+ include?: Prisma.ChatThreadInclude<ExtArgs> | null
1626
+ where?: Prisma.ChatThreadWhereInput
1627
+ orderBy?: Prisma.ChatThreadOrderByWithRelationInput | Prisma.ChatThreadOrderByWithRelationInput[]
1628
+ cursor?: Prisma.ChatThreadWhereUniqueInput
1629
+ take?: number
1630
+ skip?: number
1631
+ distinct?: Prisma.ChatThreadScalarFieldEnum | Prisma.ChatThreadScalarFieldEnum[]
1632
+ }
1633
+
1634
+ /**
1635
+ * HarnessWorkspace without action
1636
+ */
1637
+ export type HarnessWorkspaceDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1638
+ /**
1639
+ * Select specific fields to fetch from the HarnessWorkspace
1640
+ */
1641
+ select?: Prisma.HarnessWorkspaceSelect<ExtArgs> | null
1642
+ /**
1643
+ * Omit specific fields from the HarnessWorkspace
1644
+ */
1645
+ omit?: Prisma.HarnessWorkspaceOmit<ExtArgs> | null
1646
+ /**
1647
+ * Choose, which related nodes to fetch as well
1648
+ */
1649
+ include?: Prisma.HarnessWorkspaceInclude<ExtArgs> | null
1650
+ }