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