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