@allbluecn/database 0.14.1 → 0.14.2
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 +66 -0
- package/generated/client.ts +66 -0
- package/generated/internal/class.ts +94 -4
- package/generated/internal/prismaNamespace.ts +812 -3
- package/generated/internal/prismaNamespaceBrowser.ts +136 -2
- package/generated/models/ChatThread.ts +172 -1
- package/generated/models/DesignEmbedding.ts +25 -1
- package/generated/models/HarnessArtifact.ts +1307 -0
- package/generated/models/HarnessBlob.ts +1273 -0
- package/generated/models/HarnessHostHeartbeat.ts +1125 -0
- package/generated/models/HarnessLogEntry.ts +1354 -0
- package/generated/models/HarnessLogHeader.ts +1904 -0
- package/generated/models/HarnessLogOffer.ts +1382 -0
- package/generated/models/HarnessLogSnapshot.ts +1333 -0
- package/generated/models/HarnessMetadata.ts +1223 -0
- package/generated/models/HarnessSession.ts +1471 -0
- package/generated/models.ts +9 -0
- package/migrations/20261108000000_story_generate_prompt_json_contract/migration.sql +11 -0
- package/migrations/20261108000001_design_prototype_stream_prompt_ops_contract/migration.sql +13 -0
- package/migrations/20261109000000_harness_persistence/migration.sql +156 -0
- package/package.json +3 -1
- package/pg-client.ts +21 -0
- package/schema.prisma +188 -0
|
@@ -0,0 +1,1125 @@
|
|
|
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 `HarnessHostHeartbeat` 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 HarnessHostHeartbeat
|
|
17
|
+
* host 心跳(markHostAlive)。affinity 钉住的 host 仅在其心跳未过期时才算“活”,
|
|
18
|
+
* 故 owner 到期接管 / listLogsWithoutOwner 需联查本表判断 affinity host 是否仍活。
|
|
19
|
+
*/
|
|
20
|
+
export type HarnessHostHeartbeatModel = runtime.Types.Result.DefaultSelection<Prisma.$HarnessHostHeartbeatPayload>
|
|
21
|
+
|
|
22
|
+
export type AggregateHarnessHostHeartbeat = {
|
|
23
|
+
_count: HarnessHostHeartbeatCountAggregateOutputType | null
|
|
24
|
+
_min: HarnessHostHeartbeatMinAggregateOutputType | null
|
|
25
|
+
_max: HarnessHostHeartbeatMaxAggregateOutputType | null
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export type HarnessHostHeartbeatMinAggregateOutputType = {
|
|
29
|
+
hostId: string | null
|
|
30
|
+
lastSeenAt: Date | null
|
|
31
|
+
expiresAt: Date | null
|
|
32
|
+
updatedAt: Date | null
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export type HarnessHostHeartbeatMaxAggregateOutputType = {
|
|
36
|
+
hostId: string | null
|
|
37
|
+
lastSeenAt: Date | null
|
|
38
|
+
expiresAt: Date | null
|
|
39
|
+
updatedAt: Date | null
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export type HarnessHostHeartbeatCountAggregateOutputType = {
|
|
43
|
+
hostId: number
|
|
44
|
+
lastSeenAt: number
|
|
45
|
+
expiresAt: number
|
|
46
|
+
updatedAt: number
|
|
47
|
+
_all: number
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
export type HarnessHostHeartbeatMinAggregateInputType = {
|
|
52
|
+
hostId?: true
|
|
53
|
+
lastSeenAt?: true
|
|
54
|
+
expiresAt?: true
|
|
55
|
+
updatedAt?: true
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export type HarnessHostHeartbeatMaxAggregateInputType = {
|
|
59
|
+
hostId?: true
|
|
60
|
+
lastSeenAt?: true
|
|
61
|
+
expiresAt?: true
|
|
62
|
+
updatedAt?: true
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export type HarnessHostHeartbeatCountAggregateInputType = {
|
|
66
|
+
hostId?: true
|
|
67
|
+
lastSeenAt?: true
|
|
68
|
+
expiresAt?: true
|
|
69
|
+
updatedAt?: true
|
|
70
|
+
_all?: true
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export type HarnessHostHeartbeatAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
74
|
+
/**
|
|
75
|
+
* Filter which HarnessHostHeartbeat to aggregate.
|
|
76
|
+
*/
|
|
77
|
+
where?: Prisma.HarnessHostHeartbeatWhereInput
|
|
78
|
+
/**
|
|
79
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
80
|
+
*
|
|
81
|
+
* Determine the order of HarnessHostHeartbeats to fetch.
|
|
82
|
+
*/
|
|
83
|
+
orderBy?: Prisma.HarnessHostHeartbeatOrderByWithRelationInput | Prisma.HarnessHostHeartbeatOrderByWithRelationInput[]
|
|
84
|
+
/**
|
|
85
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
86
|
+
*
|
|
87
|
+
* Sets the start position
|
|
88
|
+
*/
|
|
89
|
+
cursor?: Prisma.HarnessHostHeartbeatWhereUniqueInput
|
|
90
|
+
/**
|
|
91
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
92
|
+
*
|
|
93
|
+
* Take `±n` HarnessHostHeartbeats from the position of the cursor.
|
|
94
|
+
*/
|
|
95
|
+
take?: number
|
|
96
|
+
/**
|
|
97
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
98
|
+
*
|
|
99
|
+
* Skip the first `n` HarnessHostHeartbeats.
|
|
100
|
+
*/
|
|
101
|
+
skip?: number
|
|
102
|
+
/**
|
|
103
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
104
|
+
*
|
|
105
|
+
* Count returned HarnessHostHeartbeats
|
|
106
|
+
**/
|
|
107
|
+
_count?: true | HarnessHostHeartbeatCountAggregateInputType
|
|
108
|
+
/**
|
|
109
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
110
|
+
*
|
|
111
|
+
* Select which fields to find the minimum value
|
|
112
|
+
**/
|
|
113
|
+
_min?: HarnessHostHeartbeatMinAggregateInputType
|
|
114
|
+
/**
|
|
115
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
116
|
+
*
|
|
117
|
+
* Select which fields to find the maximum value
|
|
118
|
+
**/
|
|
119
|
+
_max?: HarnessHostHeartbeatMaxAggregateInputType
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export type GetHarnessHostHeartbeatAggregateType<T extends HarnessHostHeartbeatAggregateArgs> = {
|
|
123
|
+
[P in keyof T & keyof AggregateHarnessHostHeartbeat]: P extends '_count' | 'count'
|
|
124
|
+
? T[P] extends true
|
|
125
|
+
? number
|
|
126
|
+
: Prisma.GetScalarType<T[P], AggregateHarnessHostHeartbeat[P]>
|
|
127
|
+
: Prisma.GetScalarType<T[P], AggregateHarnessHostHeartbeat[P]>
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
export type HarnessHostHeartbeatGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
134
|
+
where?: Prisma.HarnessHostHeartbeatWhereInput
|
|
135
|
+
orderBy?: Prisma.HarnessHostHeartbeatOrderByWithAggregationInput | Prisma.HarnessHostHeartbeatOrderByWithAggregationInput[]
|
|
136
|
+
by: Prisma.HarnessHostHeartbeatScalarFieldEnum[] | Prisma.HarnessHostHeartbeatScalarFieldEnum
|
|
137
|
+
having?: Prisma.HarnessHostHeartbeatScalarWhereWithAggregatesInput
|
|
138
|
+
take?: number
|
|
139
|
+
skip?: number
|
|
140
|
+
_count?: HarnessHostHeartbeatCountAggregateInputType | true
|
|
141
|
+
_min?: HarnessHostHeartbeatMinAggregateInputType
|
|
142
|
+
_max?: HarnessHostHeartbeatMaxAggregateInputType
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export type HarnessHostHeartbeatGroupByOutputType = {
|
|
146
|
+
hostId: string
|
|
147
|
+
lastSeenAt: Date
|
|
148
|
+
expiresAt: Date
|
|
149
|
+
updatedAt: Date
|
|
150
|
+
_count: HarnessHostHeartbeatCountAggregateOutputType | null
|
|
151
|
+
_min: HarnessHostHeartbeatMinAggregateOutputType | null
|
|
152
|
+
_max: HarnessHostHeartbeatMaxAggregateOutputType | null
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export type GetHarnessHostHeartbeatGroupByPayload<T extends HarnessHostHeartbeatGroupByArgs> = Prisma.PrismaPromise<
|
|
156
|
+
Array<
|
|
157
|
+
Prisma.PickEnumerable<HarnessHostHeartbeatGroupByOutputType, T['by']> &
|
|
158
|
+
{
|
|
159
|
+
[P in ((keyof T) & (keyof HarnessHostHeartbeatGroupByOutputType))]: P extends '_count'
|
|
160
|
+
? T[P] extends boolean
|
|
161
|
+
? number
|
|
162
|
+
: Prisma.GetScalarType<T[P], HarnessHostHeartbeatGroupByOutputType[P]>
|
|
163
|
+
: Prisma.GetScalarType<T[P], HarnessHostHeartbeatGroupByOutputType[P]>
|
|
164
|
+
}
|
|
165
|
+
>
|
|
166
|
+
>
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
export type HarnessHostHeartbeatWhereInput = {
|
|
171
|
+
AND?: Prisma.HarnessHostHeartbeatWhereInput | Prisma.HarnessHostHeartbeatWhereInput[]
|
|
172
|
+
OR?: Prisma.HarnessHostHeartbeatWhereInput[]
|
|
173
|
+
NOT?: Prisma.HarnessHostHeartbeatWhereInput | Prisma.HarnessHostHeartbeatWhereInput[]
|
|
174
|
+
hostId?: Prisma.StringFilter<"HarnessHostHeartbeat"> | string
|
|
175
|
+
lastSeenAt?: Prisma.DateTimeFilter<"HarnessHostHeartbeat"> | Date | string
|
|
176
|
+
expiresAt?: Prisma.DateTimeFilter<"HarnessHostHeartbeat"> | Date | string
|
|
177
|
+
updatedAt?: Prisma.DateTimeFilter<"HarnessHostHeartbeat"> | Date | string
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export type HarnessHostHeartbeatOrderByWithRelationInput = {
|
|
181
|
+
hostId?: Prisma.SortOrder
|
|
182
|
+
lastSeenAt?: Prisma.SortOrder
|
|
183
|
+
expiresAt?: Prisma.SortOrder
|
|
184
|
+
updatedAt?: Prisma.SortOrder
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
export type HarnessHostHeartbeatWhereUniqueInput = Prisma.AtLeast<{
|
|
188
|
+
hostId?: string
|
|
189
|
+
AND?: Prisma.HarnessHostHeartbeatWhereInput | Prisma.HarnessHostHeartbeatWhereInput[]
|
|
190
|
+
OR?: Prisma.HarnessHostHeartbeatWhereInput[]
|
|
191
|
+
NOT?: Prisma.HarnessHostHeartbeatWhereInput | Prisma.HarnessHostHeartbeatWhereInput[]
|
|
192
|
+
lastSeenAt?: Prisma.DateTimeFilter<"HarnessHostHeartbeat"> | Date | string
|
|
193
|
+
expiresAt?: Prisma.DateTimeFilter<"HarnessHostHeartbeat"> | Date | string
|
|
194
|
+
updatedAt?: Prisma.DateTimeFilter<"HarnessHostHeartbeat"> | Date | string
|
|
195
|
+
}, "hostId">
|
|
196
|
+
|
|
197
|
+
export type HarnessHostHeartbeatOrderByWithAggregationInput = {
|
|
198
|
+
hostId?: Prisma.SortOrder
|
|
199
|
+
lastSeenAt?: Prisma.SortOrder
|
|
200
|
+
expiresAt?: Prisma.SortOrder
|
|
201
|
+
updatedAt?: Prisma.SortOrder
|
|
202
|
+
_count?: Prisma.HarnessHostHeartbeatCountOrderByAggregateInput
|
|
203
|
+
_max?: Prisma.HarnessHostHeartbeatMaxOrderByAggregateInput
|
|
204
|
+
_min?: Prisma.HarnessHostHeartbeatMinOrderByAggregateInput
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
export type HarnessHostHeartbeatScalarWhereWithAggregatesInput = {
|
|
208
|
+
AND?: Prisma.HarnessHostHeartbeatScalarWhereWithAggregatesInput | Prisma.HarnessHostHeartbeatScalarWhereWithAggregatesInput[]
|
|
209
|
+
OR?: Prisma.HarnessHostHeartbeatScalarWhereWithAggregatesInput[]
|
|
210
|
+
NOT?: Prisma.HarnessHostHeartbeatScalarWhereWithAggregatesInput | Prisma.HarnessHostHeartbeatScalarWhereWithAggregatesInput[]
|
|
211
|
+
hostId?: Prisma.StringWithAggregatesFilter<"HarnessHostHeartbeat"> | string
|
|
212
|
+
lastSeenAt?: Prisma.DateTimeWithAggregatesFilter<"HarnessHostHeartbeat"> | Date | string
|
|
213
|
+
expiresAt?: Prisma.DateTimeWithAggregatesFilter<"HarnessHostHeartbeat"> | Date | string
|
|
214
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"HarnessHostHeartbeat"> | Date | string
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
export type HarnessHostHeartbeatCreateInput = {
|
|
218
|
+
hostId: string
|
|
219
|
+
lastSeenAt?: Date | string
|
|
220
|
+
expiresAt: Date | string
|
|
221
|
+
updatedAt?: Date | string
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export type HarnessHostHeartbeatUncheckedCreateInput = {
|
|
225
|
+
hostId: string
|
|
226
|
+
lastSeenAt?: Date | string
|
|
227
|
+
expiresAt: Date | string
|
|
228
|
+
updatedAt?: Date | string
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
export type HarnessHostHeartbeatUpdateInput = {
|
|
232
|
+
hostId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
233
|
+
lastSeenAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
234
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
235
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
export type HarnessHostHeartbeatUncheckedUpdateInput = {
|
|
239
|
+
hostId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
240
|
+
lastSeenAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
241
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
242
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
export type HarnessHostHeartbeatCreateManyInput = {
|
|
246
|
+
hostId: string
|
|
247
|
+
lastSeenAt?: Date | string
|
|
248
|
+
expiresAt: Date | string
|
|
249
|
+
updatedAt?: Date | string
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
export type HarnessHostHeartbeatUpdateManyMutationInput = {
|
|
253
|
+
hostId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
254
|
+
lastSeenAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
255
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
256
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
export type HarnessHostHeartbeatUncheckedUpdateManyInput = {
|
|
260
|
+
hostId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
261
|
+
lastSeenAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
262
|
+
expiresAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
263
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
export type HarnessHostHeartbeatCountOrderByAggregateInput = {
|
|
267
|
+
hostId?: Prisma.SortOrder
|
|
268
|
+
lastSeenAt?: Prisma.SortOrder
|
|
269
|
+
expiresAt?: Prisma.SortOrder
|
|
270
|
+
updatedAt?: Prisma.SortOrder
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
export type HarnessHostHeartbeatMaxOrderByAggregateInput = {
|
|
274
|
+
hostId?: Prisma.SortOrder
|
|
275
|
+
lastSeenAt?: Prisma.SortOrder
|
|
276
|
+
expiresAt?: Prisma.SortOrder
|
|
277
|
+
updatedAt?: Prisma.SortOrder
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
export type HarnessHostHeartbeatMinOrderByAggregateInput = {
|
|
281
|
+
hostId?: Prisma.SortOrder
|
|
282
|
+
lastSeenAt?: Prisma.SortOrder
|
|
283
|
+
expiresAt?: Prisma.SortOrder
|
|
284
|
+
updatedAt?: Prisma.SortOrder
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
export type HarnessHostHeartbeatSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
290
|
+
hostId?: boolean
|
|
291
|
+
lastSeenAt?: boolean
|
|
292
|
+
expiresAt?: boolean
|
|
293
|
+
updatedAt?: boolean
|
|
294
|
+
}, ExtArgs["result"]["harnessHostHeartbeat"]>
|
|
295
|
+
|
|
296
|
+
export type HarnessHostHeartbeatSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
297
|
+
hostId?: boolean
|
|
298
|
+
lastSeenAt?: boolean
|
|
299
|
+
expiresAt?: boolean
|
|
300
|
+
updatedAt?: boolean
|
|
301
|
+
}, ExtArgs["result"]["harnessHostHeartbeat"]>
|
|
302
|
+
|
|
303
|
+
export type HarnessHostHeartbeatSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
304
|
+
hostId?: boolean
|
|
305
|
+
lastSeenAt?: boolean
|
|
306
|
+
expiresAt?: boolean
|
|
307
|
+
updatedAt?: boolean
|
|
308
|
+
}, ExtArgs["result"]["harnessHostHeartbeat"]>
|
|
309
|
+
|
|
310
|
+
export type HarnessHostHeartbeatSelectScalar = {
|
|
311
|
+
hostId?: boolean
|
|
312
|
+
lastSeenAt?: boolean
|
|
313
|
+
expiresAt?: boolean
|
|
314
|
+
updatedAt?: boolean
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
export type HarnessHostHeartbeatOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"hostId" | "lastSeenAt" | "expiresAt" | "updatedAt", ExtArgs["result"]["harnessHostHeartbeat"]>
|
|
318
|
+
|
|
319
|
+
export type $HarnessHostHeartbeatPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
320
|
+
name: "HarnessHostHeartbeat"
|
|
321
|
+
objects: {}
|
|
322
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
323
|
+
hostId: string
|
|
324
|
+
lastSeenAt: Date
|
|
325
|
+
/**
|
|
326
|
+
* lastSeenAt + ttlMs(存储时钟),供 affinity host 活性判断
|
|
327
|
+
*/
|
|
328
|
+
expiresAt: Date
|
|
329
|
+
updatedAt: Date
|
|
330
|
+
}, ExtArgs["result"]["harnessHostHeartbeat"]>
|
|
331
|
+
composites: {}
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
export type HarnessHostHeartbeatGetPayload<S extends boolean | null | undefined | HarnessHostHeartbeatDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$HarnessHostHeartbeatPayload, S>
|
|
335
|
+
|
|
336
|
+
export type HarnessHostHeartbeatCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
337
|
+
Omit<HarnessHostHeartbeatFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
338
|
+
select?: HarnessHostHeartbeatCountAggregateInputType | true
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
export interface HarnessHostHeartbeatDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
342
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['HarnessHostHeartbeat'], meta: { name: 'HarnessHostHeartbeat' } }
|
|
343
|
+
/**
|
|
344
|
+
* Find zero or one HarnessHostHeartbeat that matches the filter.
|
|
345
|
+
* @param {HarnessHostHeartbeatFindUniqueArgs} args - Arguments to find a HarnessHostHeartbeat
|
|
346
|
+
* @example
|
|
347
|
+
* // Get one HarnessHostHeartbeat
|
|
348
|
+
* const harnessHostHeartbeat = await prisma.harnessHostHeartbeat.findUnique({
|
|
349
|
+
* where: {
|
|
350
|
+
* // ... provide filter here
|
|
351
|
+
* }
|
|
352
|
+
* })
|
|
353
|
+
*/
|
|
354
|
+
findUnique<T extends HarnessHostHeartbeatFindUniqueArgs>(args: Prisma.SelectSubset<T, HarnessHostHeartbeatFindUniqueArgs<ExtArgs>>): Prisma.Prisma__HarnessHostHeartbeatClient<runtime.Types.Result.GetResult<Prisma.$HarnessHostHeartbeatPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* Find one HarnessHostHeartbeat that matches the filter or throw an error with `error.code='P2025'`
|
|
358
|
+
* if no matches were found.
|
|
359
|
+
* @param {HarnessHostHeartbeatFindUniqueOrThrowArgs} args - Arguments to find a HarnessHostHeartbeat
|
|
360
|
+
* @example
|
|
361
|
+
* // Get one HarnessHostHeartbeat
|
|
362
|
+
* const harnessHostHeartbeat = await prisma.harnessHostHeartbeat.findUniqueOrThrow({
|
|
363
|
+
* where: {
|
|
364
|
+
* // ... provide filter here
|
|
365
|
+
* }
|
|
366
|
+
* })
|
|
367
|
+
*/
|
|
368
|
+
findUniqueOrThrow<T extends HarnessHostHeartbeatFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, HarnessHostHeartbeatFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__HarnessHostHeartbeatClient<runtime.Types.Result.GetResult<Prisma.$HarnessHostHeartbeatPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* Find the first HarnessHostHeartbeat that matches the filter.
|
|
372
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
373
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
374
|
+
* @param {HarnessHostHeartbeatFindFirstArgs} args - Arguments to find a HarnessHostHeartbeat
|
|
375
|
+
* @example
|
|
376
|
+
* // Get one HarnessHostHeartbeat
|
|
377
|
+
* const harnessHostHeartbeat = await prisma.harnessHostHeartbeat.findFirst({
|
|
378
|
+
* where: {
|
|
379
|
+
* // ... provide filter here
|
|
380
|
+
* }
|
|
381
|
+
* })
|
|
382
|
+
*/
|
|
383
|
+
findFirst<T extends HarnessHostHeartbeatFindFirstArgs>(args?: Prisma.SelectSubset<T, HarnessHostHeartbeatFindFirstArgs<ExtArgs>>): Prisma.Prisma__HarnessHostHeartbeatClient<runtime.Types.Result.GetResult<Prisma.$HarnessHostHeartbeatPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* Find the first HarnessHostHeartbeat that matches the filter or
|
|
387
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
388
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
389
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
390
|
+
* @param {HarnessHostHeartbeatFindFirstOrThrowArgs} args - Arguments to find a HarnessHostHeartbeat
|
|
391
|
+
* @example
|
|
392
|
+
* // Get one HarnessHostHeartbeat
|
|
393
|
+
* const harnessHostHeartbeat = await prisma.harnessHostHeartbeat.findFirstOrThrow({
|
|
394
|
+
* where: {
|
|
395
|
+
* // ... provide filter here
|
|
396
|
+
* }
|
|
397
|
+
* })
|
|
398
|
+
*/
|
|
399
|
+
findFirstOrThrow<T extends HarnessHostHeartbeatFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, HarnessHostHeartbeatFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__HarnessHostHeartbeatClient<runtime.Types.Result.GetResult<Prisma.$HarnessHostHeartbeatPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* Find zero or more HarnessHostHeartbeats that matches the filter.
|
|
403
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
404
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
405
|
+
* @param {HarnessHostHeartbeatFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
406
|
+
* @example
|
|
407
|
+
* // Get all HarnessHostHeartbeats
|
|
408
|
+
* const harnessHostHeartbeats = await prisma.harnessHostHeartbeat.findMany()
|
|
409
|
+
*
|
|
410
|
+
* // Get first 10 HarnessHostHeartbeats
|
|
411
|
+
* const harnessHostHeartbeats = await prisma.harnessHostHeartbeat.findMany({ take: 10 })
|
|
412
|
+
*
|
|
413
|
+
* // Only select the `hostId`
|
|
414
|
+
* const harnessHostHeartbeatWithHostIdOnly = await prisma.harnessHostHeartbeat.findMany({ select: { hostId: true } })
|
|
415
|
+
*
|
|
416
|
+
*/
|
|
417
|
+
findMany<T extends HarnessHostHeartbeatFindManyArgs>(args?: Prisma.SelectSubset<T, HarnessHostHeartbeatFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HarnessHostHeartbeatPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* Create a HarnessHostHeartbeat.
|
|
421
|
+
* @param {HarnessHostHeartbeatCreateArgs} args - Arguments to create a HarnessHostHeartbeat.
|
|
422
|
+
* @example
|
|
423
|
+
* // Create one HarnessHostHeartbeat
|
|
424
|
+
* const HarnessHostHeartbeat = await prisma.harnessHostHeartbeat.create({
|
|
425
|
+
* data: {
|
|
426
|
+
* // ... data to create a HarnessHostHeartbeat
|
|
427
|
+
* }
|
|
428
|
+
* })
|
|
429
|
+
*
|
|
430
|
+
*/
|
|
431
|
+
create<T extends HarnessHostHeartbeatCreateArgs>(args: Prisma.SelectSubset<T, HarnessHostHeartbeatCreateArgs<ExtArgs>>): Prisma.Prisma__HarnessHostHeartbeatClient<runtime.Types.Result.GetResult<Prisma.$HarnessHostHeartbeatPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
* Create many HarnessHostHeartbeats.
|
|
435
|
+
* @param {HarnessHostHeartbeatCreateManyArgs} args - Arguments to create many HarnessHostHeartbeats.
|
|
436
|
+
* @example
|
|
437
|
+
* // Create many HarnessHostHeartbeats
|
|
438
|
+
* const harnessHostHeartbeat = await prisma.harnessHostHeartbeat.createMany({
|
|
439
|
+
* data: [
|
|
440
|
+
* // ... provide data here
|
|
441
|
+
* ]
|
|
442
|
+
* })
|
|
443
|
+
*
|
|
444
|
+
*/
|
|
445
|
+
createMany<T extends HarnessHostHeartbeatCreateManyArgs>(args?: Prisma.SelectSubset<T, HarnessHostHeartbeatCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* Create many HarnessHostHeartbeats and returns the data saved in the database.
|
|
449
|
+
* @param {HarnessHostHeartbeatCreateManyAndReturnArgs} args - Arguments to create many HarnessHostHeartbeats.
|
|
450
|
+
* @example
|
|
451
|
+
* // Create many HarnessHostHeartbeats
|
|
452
|
+
* const harnessHostHeartbeat = await prisma.harnessHostHeartbeat.createManyAndReturn({
|
|
453
|
+
* data: [
|
|
454
|
+
* // ... provide data here
|
|
455
|
+
* ]
|
|
456
|
+
* })
|
|
457
|
+
*
|
|
458
|
+
* // Create many HarnessHostHeartbeats and only return the `hostId`
|
|
459
|
+
* const harnessHostHeartbeatWithHostIdOnly = await prisma.harnessHostHeartbeat.createManyAndReturn({
|
|
460
|
+
* select: { hostId: true },
|
|
461
|
+
* data: [
|
|
462
|
+
* // ... provide data here
|
|
463
|
+
* ]
|
|
464
|
+
* })
|
|
465
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
466
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
467
|
+
*
|
|
468
|
+
*/
|
|
469
|
+
createManyAndReturn<T extends HarnessHostHeartbeatCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, HarnessHostHeartbeatCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HarnessHostHeartbeatPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* Delete a HarnessHostHeartbeat.
|
|
473
|
+
* @param {HarnessHostHeartbeatDeleteArgs} args - Arguments to delete one HarnessHostHeartbeat.
|
|
474
|
+
* @example
|
|
475
|
+
* // Delete one HarnessHostHeartbeat
|
|
476
|
+
* const HarnessHostHeartbeat = await prisma.harnessHostHeartbeat.delete({
|
|
477
|
+
* where: {
|
|
478
|
+
* // ... filter to delete one HarnessHostHeartbeat
|
|
479
|
+
* }
|
|
480
|
+
* })
|
|
481
|
+
*
|
|
482
|
+
*/
|
|
483
|
+
delete<T extends HarnessHostHeartbeatDeleteArgs>(args: Prisma.SelectSubset<T, HarnessHostHeartbeatDeleteArgs<ExtArgs>>): Prisma.Prisma__HarnessHostHeartbeatClient<runtime.Types.Result.GetResult<Prisma.$HarnessHostHeartbeatPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* Update one HarnessHostHeartbeat.
|
|
487
|
+
* @param {HarnessHostHeartbeatUpdateArgs} args - Arguments to update one HarnessHostHeartbeat.
|
|
488
|
+
* @example
|
|
489
|
+
* // Update one HarnessHostHeartbeat
|
|
490
|
+
* const harnessHostHeartbeat = await prisma.harnessHostHeartbeat.update({
|
|
491
|
+
* where: {
|
|
492
|
+
* // ... provide filter here
|
|
493
|
+
* },
|
|
494
|
+
* data: {
|
|
495
|
+
* // ... provide data here
|
|
496
|
+
* }
|
|
497
|
+
* })
|
|
498
|
+
*
|
|
499
|
+
*/
|
|
500
|
+
update<T extends HarnessHostHeartbeatUpdateArgs>(args: Prisma.SelectSubset<T, HarnessHostHeartbeatUpdateArgs<ExtArgs>>): Prisma.Prisma__HarnessHostHeartbeatClient<runtime.Types.Result.GetResult<Prisma.$HarnessHostHeartbeatPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
501
|
+
|
|
502
|
+
/**
|
|
503
|
+
* Delete zero or more HarnessHostHeartbeats.
|
|
504
|
+
* @param {HarnessHostHeartbeatDeleteManyArgs} args - Arguments to filter HarnessHostHeartbeats to delete.
|
|
505
|
+
* @example
|
|
506
|
+
* // Delete a few HarnessHostHeartbeats
|
|
507
|
+
* const { count } = await prisma.harnessHostHeartbeat.deleteMany({
|
|
508
|
+
* where: {
|
|
509
|
+
* // ... provide filter here
|
|
510
|
+
* }
|
|
511
|
+
* })
|
|
512
|
+
*
|
|
513
|
+
*/
|
|
514
|
+
deleteMany<T extends HarnessHostHeartbeatDeleteManyArgs>(args?: Prisma.SelectSubset<T, HarnessHostHeartbeatDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
515
|
+
|
|
516
|
+
/**
|
|
517
|
+
* Update zero or more HarnessHostHeartbeats.
|
|
518
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
519
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
520
|
+
* @param {HarnessHostHeartbeatUpdateManyArgs} args - Arguments to update one or more rows.
|
|
521
|
+
* @example
|
|
522
|
+
* // Update many HarnessHostHeartbeats
|
|
523
|
+
* const harnessHostHeartbeat = await prisma.harnessHostHeartbeat.updateMany({
|
|
524
|
+
* where: {
|
|
525
|
+
* // ... provide filter here
|
|
526
|
+
* },
|
|
527
|
+
* data: {
|
|
528
|
+
* // ... provide data here
|
|
529
|
+
* }
|
|
530
|
+
* })
|
|
531
|
+
*
|
|
532
|
+
*/
|
|
533
|
+
updateMany<T extends HarnessHostHeartbeatUpdateManyArgs>(args: Prisma.SelectSubset<T, HarnessHostHeartbeatUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* Update zero or more HarnessHostHeartbeats and returns the data updated in the database.
|
|
537
|
+
* @param {HarnessHostHeartbeatUpdateManyAndReturnArgs} args - Arguments to update many HarnessHostHeartbeats.
|
|
538
|
+
* @example
|
|
539
|
+
* // Update many HarnessHostHeartbeats
|
|
540
|
+
* const harnessHostHeartbeat = await prisma.harnessHostHeartbeat.updateManyAndReturn({
|
|
541
|
+
* where: {
|
|
542
|
+
* // ... provide filter here
|
|
543
|
+
* },
|
|
544
|
+
* data: [
|
|
545
|
+
* // ... provide data here
|
|
546
|
+
* ]
|
|
547
|
+
* })
|
|
548
|
+
*
|
|
549
|
+
* // Update zero or more HarnessHostHeartbeats and only return the `hostId`
|
|
550
|
+
* const harnessHostHeartbeatWithHostIdOnly = await prisma.harnessHostHeartbeat.updateManyAndReturn({
|
|
551
|
+
* select: { hostId: true },
|
|
552
|
+
* where: {
|
|
553
|
+
* // ... provide filter here
|
|
554
|
+
* },
|
|
555
|
+
* data: [
|
|
556
|
+
* // ... provide data here
|
|
557
|
+
* ]
|
|
558
|
+
* })
|
|
559
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
560
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
561
|
+
*
|
|
562
|
+
*/
|
|
563
|
+
updateManyAndReturn<T extends HarnessHostHeartbeatUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, HarnessHostHeartbeatUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HarnessHostHeartbeatPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* Create or update one HarnessHostHeartbeat.
|
|
567
|
+
* @param {HarnessHostHeartbeatUpsertArgs} args - Arguments to update or create a HarnessHostHeartbeat.
|
|
568
|
+
* @example
|
|
569
|
+
* // Update or create a HarnessHostHeartbeat
|
|
570
|
+
* const harnessHostHeartbeat = await prisma.harnessHostHeartbeat.upsert({
|
|
571
|
+
* create: {
|
|
572
|
+
* // ... data to create a HarnessHostHeartbeat
|
|
573
|
+
* },
|
|
574
|
+
* update: {
|
|
575
|
+
* // ... in case it already exists, update
|
|
576
|
+
* },
|
|
577
|
+
* where: {
|
|
578
|
+
* // ... the filter for the HarnessHostHeartbeat we want to update
|
|
579
|
+
* }
|
|
580
|
+
* })
|
|
581
|
+
*/
|
|
582
|
+
upsert<T extends HarnessHostHeartbeatUpsertArgs>(args: Prisma.SelectSubset<T, HarnessHostHeartbeatUpsertArgs<ExtArgs>>): Prisma.Prisma__HarnessHostHeartbeatClient<runtime.Types.Result.GetResult<Prisma.$HarnessHostHeartbeatPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
583
|
+
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* Count the number of HarnessHostHeartbeats.
|
|
587
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
588
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
589
|
+
* @param {HarnessHostHeartbeatCountArgs} args - Arguments to filter HarnessHostHeartbeats to count.
|
|
590
|
+
* @example
|
|
591
|
+
* // Count the number of HarnessHostHeartbeats
|
|
592
|
+
* const count = await prisma.harnessHostHeartbeat.count({
|
|
593
|
+
* where: {
|
|
594
|
+
* // ... the filter for the HarnessHostHeartbeats we want to count
|
|
595
|
+
* }
|
|
596
|
+
* })
|
|
597
|
+
**/
|
|
598
|
+
count<T extends HarnessHostHeartbeatCountArgs>(
|
|
599
|
+
args?: Prisma.Subset<T, HarnessHostHeartbeatCountArgs>,
|
|
600
|
+
): Prisma.PrismaPromise<
|
|
601
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
602
|
+
? T['select'] extends true
|
|
603
|
+
? number
|
|
604
|
+
: Prisma.GetScalarType<T['select'], HarnessHostHeartbeatCountAggregateOutputType>
|
|
605
|
+
: number
|
|
606
|
+
>
|
|
607
|
+
|
|
608
|
+
/**
|
|
609
|
+
* Allows you to perform aggregations operations on a HarnessHostHeartbeat.
|
|
610
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
611
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
612
|
+
* @param {HarnessHostHeartbeatAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
613
|
+
* @example
|
|
614
|
+
* // Ordered by age ascending
|
|
615
|
+
* // Where email contains prisma.io
|
|
616
|
+
* // Limited to the 10 users
|
|
617
|
+
* const aggregations = await prisma.user.aggregate({
|
|
618
|
+
* _avg: {
|
|
619
|
+
* age: true,
|
|
620
|
+
* },
|
|
621
|
+
* where: {
|
|
622
|
+
* email: {
|
|
623
|
+
* contains: "prisma.io",
|
|
624
|
+
* },
|
|
625
|
+
* },
|
|
626
|
+
* orderBy: {
|
|
627
|
+
* age: "asc",
|
|
628
|
+
* },
|
|
629
|
+
* take: 10,
|
|
630
|
+
* })
|
|
631
|
+
**/
|
|
632
|
+
aggregate<T extends HarnessHostHeartbeatAggregateArgs>(args: Prisma.Subset<T, HarnessHostHeartbeatAggregateArgs>): Prisma.PrismaPromise<GetHarnessHostHeartbeatAggregateType<T>>
|
|
633
|
+
|
|
634
|
+
/**
|
|
635
|
+
* Group by HarnessHostHeartbeat.
|
|
636
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
637
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
638
|
+
* @param {HarnessHostHeartbeatGroupByArgs} args - Group by arguments.
|
|
639
|
+
* @example
|
|
640
|
+
* // Group by city, order by createdAt, get count
|
|
641
|
+
* const result = await prisma.user.groupBy({
|
|
642
|
+
* by: ['city', 'createdAt'],
|
|
643
|
+
* orderBy: {
|
|
644
|
+
* createdAt: true
|
|
645
|
+
* },
|
|
646
|
+
* _count: {
|
|
647
|
+
* _all: true
|
|
648
|
+
* },
|
|
649
|
+
* })
|
|
650
|
+
*
|
|
651
|
+
**/
|
|
652
|
+
groupBy<
|
|
653
|
+
T extends HarnessHostHeartbeatGroupByArgs,
|
|
654
|
+
HasSelectOrTake extends Prisma.Or<
|
|
655
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
656
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
657
|
+
>,
|
|
658
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
659
|
+
? { orderBy: HarnessHostHeartbeatGroupByArgs['orderBy'] }
|
|
660
|
+
: { orderBy?: HarnessHostHeartbeatGroupByArgs['orderBy'] },
|
|
661
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
662
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
663
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
664
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
665
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
666
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
667
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
668
|
+
? `Error: "by" must not be empty.`
|
|
669
|
+
: HavingValid extends Prisma.False
|
|
670
|
+
? {
|
|
671
|
+
[P in HavingFields]: P extends ByFields
|
|
672
|
+
? never
|
|
673
|
+
: P extends string
|
|
674
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
675
|
+
: [
|
|
676
|
+
Error,
|
|
677
|
+
'Field ',
|
|
678
|
+
P,
|
|
679
|
+
` in "having" needs to be provided in "by"`,
|
|
680
|
+
]
|
|
681
|
+
}[HavingFields]
|
|
682
|
+
: 'take' extends Prisma.Keys<T>
|
|
683
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
684
|
+
? ByValid extends Prisma.True
|
|
685
|
+
? {}
|
|
686
|
+
: {
|
|
687
|
+
[P in OrderFields]: P extends ByFields
|
|
688
|
+
? never
|
|
689
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
690
|
+
}[OrderFields]
|
|
691
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
692
|
+
: 'skip' extends Prisma.Keys<T>
|
|
693
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
694
|
+
? ByValid extends Prisma.True
|
|
695
|
+
? {}
|
|
696
|
+
: {
|
|
697
|
+
[P in OrderFields]: P extends ByFields
|
|
698
|
+
? never
|
|
699
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
700
|
+
}[OrderFields]
|
|
701
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
702
|
+
: ByValid extends Prisma.True
|
|
703
|
+
? {}
|
|
704
|
+
: {
|
|
705
|
+
[P in OrderFields]: P extends ByFields
|
|
706
|
+
? never
|
|
707
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
708
|
+
}[OrderFields]
|
|
709
|
+
>(args: Prisma.SubsetIntersection<T, HarnessHostHeartbeatGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetHarnessHostHeartbeatGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
710
|
+
/**
|
|
711
|
+
* Fields of the HarnessHostHeartbeat model
|
|
712
|
+
*/
|
|
713
|
+
readonly fields: HarnessHostHeartbeatFieldRefs;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* The delegate class that acts as a "Promise-like" for HarnessHostHeartbeat.
|
|
718
|
+
* Why is this prefixed with `Prisma__`?
|
|
719
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
720
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
721
|
+
*/
|
|
722
|
+
export interface Prisma__HarnessHostHeartbeatClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
723
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
724
|
+
/**
|
|
725
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
726
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
727
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
728
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
729
|
+
*/
|
|
730
|
+
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>
|
|
731
|
+
/**
|
|
732
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
733
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
734
|
+
* @returns A Promise for the completion of the callback.
|
|
735
|
+
*/
|
|
736
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
737
|
+
/**
|
|
738
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
739
|
+
* resolved value cannot be modified from the callback.
|
|
740
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
741
|
+
* @returns A Promise for the completion of the callback.
|
|
742
|
+
*/
|
|
743
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
|
|
747
|
+
|
|
748
|
+
|
|
749
|
+
/**
|
|
750
|
+
* Fields of the HarnessHostHeartbeat model
|
|
751
|
+
*/
|
|
752
|
+
export interface HarnessHostHeartbeatFieldRefs {
|
|
753
|
+
readonly hostId: Prisma.FieldRef<"HarnessHostHeartbeat", 'String'>
|
|
754
|
+
readonly lastSeenAt: Prisma.FieldRef<"HarnessHostHeartbeat", 'DateTime'>
|
|
755
|
+
readonly expiresAt: Prisma.FieldRef<"HarnessHostHeartbeat", 'DateTime'>
|
|
756
|
+
readonly updatedAt: Prisma.FieldRef<"HarnessHostHeartbeat", 'DateTime'>
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
|
|
760
|
+
// Custom InputTypes
|
|
761
|
+
/**
|
|
762
|
+
* HarnessHostHeartbeat findUnique
|
|
763
|
+
*/
|
|
764
|
+
export type HarnessHostHeartbeatFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
765
|
+
/**
|
|
766
|
+
* Select specific fields to fetch from the HarnessHostHeartbeat
|
|
767
|
+
*/
|
|
768
|
+
select?: Prisma.HarnessHostHeartbeatSelect<ExtArgs> | null
|
|
769
|
+
/**
|
|
770
|
+
* Omit specific fields from the HarnessHostHeartbeat
|
|
771
|
+
*/
|
|
772
|
+
omit?: Prisma.HarnessHostHeartbeatOmit<ExtArgs> | null
|
|
773
|
+
/**
|
|
774
|
+
* Filter, which HarnessHostHeartbeat to fetch.
|
|
775
|
+
*/
|
|
776
|
+
where: Prisma.HarnessHostHeartbeatWhereUniqueInput
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
/**
|
|
780
|
+
* HarnessHostHeartbeat findUniqueOrThrow
|
|
781
|
+
*/
|
|
782
|
+
export type HarnessHostHeartbeatFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
783
|
+
/**
|
|
784
|
+
* Select specific fields to fetch from the HarnessHostHeartbeat
|
|
785
|
+
*/
|
|
786
|
+
select?: Prisma.HarnessHostHeartbeatSelect<ExtArgs> | null
|
|
787
|
+
/**
|
|
788
|
+
* Omit specific fields from the HarnessHostHeartbeat
|
|
789
|
+
*/
|
|
790
|
+
omit?: Prisma.HarnessHostHeartbeatOmit<ExtArgs> | null
|
|
791
|
+
/**
|
|
792
|
+
* Filter, which HarnessHostHeartbeat to fetch.
|
|
793
|
+
*/
|
|
794
|
+
where: Prisma.HarnessHostHeartbeatWhereUniqueInput
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
/**
|
|
798
|
+
* HarnessHostHeartbeat findFirst
|
|
799
|
+
*/
|
|
800
|
+
export type HarnessHostHeartbeatFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
801
|
+
/**
|
|
802
|
+
* Select specific fields to fetch from the HarnessHostHeartbeat
|
|
803
|
+
*/
|
|
804
|
+
select?: Prisma.HarnessHostHeartbeatSelect<ExtArgs> | null
|
|
805
|
+
/**
|
|
806
|
+
* Omit specific fields from the HarnessHostHeartbeat
|
|
807
|
+
*/
|
|
808
|
+
omit?: Prisma.HarnessHostHeartbeatOmit<ExtArgs> | null
|
|
809
|
+
/**
|
|
810
|
+
* Filter, which HarnessHostHeartbeat to fetch.
|
|
811
|
+
*/
|
|
812
|
+
where?: Prisma.HarnessHostHeartbeatWhereInput
|
|
813
|
+
/**
|
|
814
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
815
|
+
*
|
|
816
|
+
* Determine the order of HarnessHostHeartbeats to fetch.
|
|
817
|
+
*/
|
|
818
|
+
orderBy?: Prisma.HarnessHostHeartbeatOrderByWithRelationInput | Prisma.HarnessHostHeartbeatOrderByWithRelationInput[]
|
|
819
|
+
/**
|
|
820
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
821
|
+
*
|
|
822
|
+
* Sets the position for searching for HarnessHostHeartbeats.
|
|
823
|
+
*/
|
|
824
|
+
cursor?: Prisma.HarnessHostHeartbeatWhereUniqueInput
|
|
825
|
+
/**
|
|
826
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
827
|
+
*
|
|
828
|
+
* Take `±n` HarnessHostHeartbeats from the position of the cursor.
|
|
829
|
+
*/
|
|
830
|
+
take?: number
|
|
831
|
+
/**
|
|
832
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
833
|
+
*
|
|
834
|
+
* Skip the first `n` HarnessHostHeartbeats.
|
|
835
|
+
*/
|
|
836
|
+
skip?: number
|
|
837
|
+
/**
|
|
838
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
839
|
+
*
|
|
840
|
+
* Filter by unique combinations of HarnessHostHeartbeats.
|
|
841
|
+
*/
|
|
842
|
+
distinct?: Prisma.HarnessHostHeartbeatScalarFieldEnum | Prisma.HarnessHostHeartbeatScalarFieldEnum[]
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
/**
|
|
846
|
+
* HarnessHostHeartbeat findFirstOrThrow
|
|
847
|
+
*/
|
|
848
|
+
export type HarnessHostHeartbeatFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
849
|
+
/**
|
|
850
|
+
* Select specific fields to fetch from the HarnessHostHeartbeat
|
|
851
|
+
*/
|
|
852
|
+
select?: Prisma.HarnessHostHeartbeatSelect<ExtArgs> | null
|
|
853
|
+
/**
|
|
854
|
+
* Omit specific fields from the HarnessHostHeartbeat
|
|
855
|
+
*/
|
|
856
|
+
omit?: Prisma.HarnessHostHeartbeatOmit<ExtArgs> | null
|
|
857
|
+
/**
|
|
858
|
+
* Filter, which HarnessHostHeartbeat to fetch.
|
|
859
|
+
*/
|
|
860
|
+
where?: Prisma.HarnessHostHeartbeatWhereInput
|
|
861
|
+
/**
|
|
862
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
863
|
+
*
|
|
864
|
+
* Determine the order of HarnessHostHeartbeats to fetch.
|
|
865
|
+
*/
|
|
866
|
+
orderBy?: Prisma.HarnessHostHeartbeatOrderByWithRelationInput | Prisma.HarnessHostHeartbeatOrderByWithRelationInput[]
|
|
867
|
+
/**
|
|
868
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
869
|
+
*
|
|
870
|
+
* Sets the position for searching for HarnessHostHeartbeats.
|
|
871
|
+
*/
|
|
872
|
+
cursor?: Prisma.HarnessHostHeartbeatWhereUniqueInput
|
|
873
|
+
/**
|
|
874
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
875
|
+
*
|
|
876
|
+
* Take `±n` HarnessHostHeartbeats from the position of the cursor.
|
|
877
|
+
*/
|
|
878
|
+
take?: number
|
|
879
|
+
/**
|
|
880
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
881
|
+
*
|
|
882
|
+
* Skip the first `n` HarnessHostHeartbeats.
|
|
883
|
+
*/
|
|
884
|
+
skip?: number
|
|
885
|
+
/**
|
|
886
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
887
|
+
*
|
|
888
|
+
* Filter by unique combinations of HarnessHostHeartbeats.
|
|
889
|
+
*/
|
|
890
|
+
distinct?: Prisma.HarnessHostHeartbeatScalarFieldEnum | Prisma.HarnessHostHeartbeatScalarFieldEnum[]
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
/**
|
|
894
|
+
* HarnessHostHeartbeat findMany
|
|
895
|
+
*/
|
|
896
|
+
export type HarnessHostHeartbeatFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
897
|
+
/**
|
|
898
|
+
* Select specific fields to fetch from the HarnessHostHeartbeat
|
|
899
|
+
*/
|
|
900
|
+
select?: Prisma.HarnessHostHeartbeatSelect<ExtArgs> | null
|
|
901
|
+
/**
|
|
902
|
+
* Omit specific fields from the HarnessHostHeartbeat
|
|
903
|
+
*/
|
|
904
|
+
omit?: Prisma.HarnessHostHeartbeatOmit<ExtArgs> | null
|
|
905
|
+
/**
|
|
906
|
+
* Filter, which HarnessHostHeartbeats to fetch.
|
|
907
|
+
*/
|
|
908
|
+
where?: Prisma.HarnessHostHeartbeatWhereInput
|
|
909
|
+
/**
|
|
910
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
911
|
+
*
|
|
912
|
+
* Determine the order of HarnessHostHeartbeats to fetch.
|
|
913
|
+
*/
|
|
914
|
+
orderBy?: Prisma.HarnessHostHeartbeatOrderByWithRelationInput | Prisma.HarnessHostHeartbeatOrderByWithRelationInput[]
|
|
915
|
+
/**
|
|
916
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
917
|
+
*
|
|
918
|
+
* Sets the position for listing HarnessHostHeartbeats.
|
|
919
|
+
*/
|
|
920
|
+
cursor?: Prisma.HarnessHostHeartbeatWhereUniqueInput
|
|
921
|
+
/**
|
|
922
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
923
|
+
*
|
|
924
|
+
* Take `±n` HarnessHostHeartbeats from the position of the cursor.
|
|
925
|
+
*/
|
|
926
|
+
take?: number
|
|
927
|
+
/**
|
|
928
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
929
|
+
*
|
|
930
|
+
* Skip the first `n` HarnessHostHeartbeats.
|
|
931
|
+
*/
|
|
932
|
+
skip?: number
|
|
933
|
+
/**
|
|
934
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
935
|
+
*
|
|
936
|
+
* Filter by unique combinations of HarnessHostHeartbeats.
|
|
937
|
+
*/
|
|
938
|
+
distinct?: Prisma.HarnessHostHeartbeatScalarFieldEnum | Prisma.HarnessHostHeartbeatScalarFieldEnum[]
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
/**
|
|
942
|
+
* HarnessHostHeartbeat create
|
|
943
|
+
*/
|
|
944
|
+
export type HarnessHostHeartbeatCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
945
|
+
/**
|
|
946
|
+
* Select specific fields to fetch from the HarnessHostHeartbeat
|
|
947
|
+
*/
|
|
948
|
+
select?: Prisma.HarnessHostHeartbeatSelect<ExtArgs> | null
|
|
949
|
+
/**
|
|
950
|
+
* Omit specific fields from the HarnessHostHeartbeat
|
|
951
|
+
*/
|
|
952
|
+
omit?: Prisma.HarnessHostHeartbeatOmit<ExtArgs> | null
|
|
953
|
+
/**
|
|
954
|
+
* The data needed to create a HarnessHostHeartbeat.
|
|
955
|
+
*/
|
|
956
|
+
data: Prisma.XOR<Prisma.HarnessHostHeartbeatCreateInput, Prisma.HarnessHostHeartbeatUncheckedCreateInput>
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
/**
|
|
960
|
+
* HarnessHostHeartbeat createMany
|
|
961
|
+
*/
|
|
962
|
+
export type HarnessHostHeartbeatCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
963
|
+
/**
|
|
964
|
+
* The data used to create many HarnessHostHeartbeats.
|
|
965
|
+
*/
|
|
966
|
+
data: Prisma.HarnessHostHeartbeatCreateManyInput | Prisma.HarnessHostHeartbeatCreateManyInput[]
|
|
967
|
+
skipDuplicates?: boolean
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
/**
|
|
971
|
+
* HarnessHostHeartbeat createManyAndReturn
|
|
972
|
+
*/
|
|
973
|
+
export type HarnessHostHeartbeatCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
974
|
+
/**
|
|
975
|
+
* Select specific fields to fetch from the HarnessHostHeartbeat
|
|
976
|
+
*/
|
|
977
|
+
select?: Prisma.HarnessHostHeartbeatSelectCreateManyAndReturn<ExtArgs> | null
|
|
978
|
+
/**
|
|
979
|
+
* Omit specific fields from the HarnessHostHeartbeat
|
|
980
|
+
*/
|
|
981
|
+
omit?: Prisma.HarnessHostHeartbeatOmit<ExtArgs> | null
|
|
982
|
+
/**
|
|
983
|
+
* The data used to create many HarnessHostHeartbeats.
|
|
984
|
+
*/
|
|
985
|
+
data: Prisma.HarnessHostHeartbeatCreateManyInput | Prisma.HarnessHostHeartbeatCreateManyInput[]
|
|
986
|
+
skipDuplicates?: boolean
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
/**
|
|
990
|
+
* HarnessHostHeartbeat update
|
|
991
|
+
*/
|
|
992
|
+
export type HarnessHostHeartbeatUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
993
|
+
/**
|
|
994
|
+
* Select specific fields to fetch from the HarnessHostHeartbeat
|
|
995
|
+
*/
|
|
996
|
+
select?: Prisma.HarnessHostHeartbeatSelect<ExtArgs> | null
|
|
997
|
+
/**
|
|
998
|
+
* Omit specific fields from the HarnessHostHeartbeat
|
|
999
|
+
*/
|
|
1000
|
+
omit?: Prisma.HarnessHostHeartbeatOmit<ExtArgs> | null
|
|
1001
|
+
/**
|
|
1002
|
+
* The data needed to update a HarnessHostHeartbeat.
|
|
1003
|
+
*/
|
|
1004
|
+
data: Prisma.XOR<Prisma.HarnessHostHeartbeatUpdateInput, Prisma.HarnessHostHeartbeatUncheckedUpdateInput>
|
|
1005
|
+
/**
|
|
1006
|
+
* Choose, which HarnessHostHeartbeat to update.
|
|
1007
|
+
*/
|
|
1008
|
+
where: Prisma.HarnessHostHeartbeatWhereUniqueInput
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
/**
|
|
1012
|
+
* HarnessHostHeartbeat updateMany
|
|
1013
|
+
*/
|
|
1014
|
+
export type HarnessHostHeartbeatUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1015
|
+
/**
|
|
1016
|
+
* The data used to update HarnessHostHeartbeats.
|
|
1017
|
+
*/
|
|
1018
|
+
data: Prisma.XOR<Prisma.HarnessHostHeartbeatUpdateManyMutationInput, Prisma.HarnessHostHeartbeatUncheckedUpdateManyInput>
|
|
1019
|
+
/**
|
|
1020
|
+
* Filter which HarnessHostHeartbeats to update
|
|
1021
|
+
*/
|
|
1022
|
+
where?: Prisma.HarnessHostHeartbeatWhereInput
|
|
1023
|
+
/**
|
|
1024
|
+
* Limit how many HarnessHostHeartbeats to update.
|
|
1025
|
+
*/
|
|
1026
|
+
limit?: number
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
/**
|
|
1030
|
+
* HarnessHostHeartbeat updateManyAndReturn
|
|
1031
|
+
*/
|
|
1032
|
+
export type HarnessHostHeartbeatUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1033
|
+
/**
|
|
1034
|
+
* Select specific fields to fetch from the HarnessHostHeartbeat
|
|
1035
|
+
*/
|
|
1036
|
+
select?: Prisma.HarnessHostHeartbeatSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1037
|
+
/**
|
|
1038
|
+
* Omit specific fields from the HarnessHostHeartbeat
|
|
1039
|
+
*/
|
|
1040
|
+
omit?: Prisma.HarnessHostHeartbeatOmit<ExtArgs> | null
|
|
1041
|
+
/**
|
|
1042
|
+
* The data used to update HarnessHostHeartbeats.
|
|
1043
|
+
*/
|
|
1044
|
+
data: Prisma.XOR<Prisma.HarnessHostHeartbeatUpdateManyMutationInput, Prisma.HarnessHostHeartbeatUncheckedUpdateManyInput>
|
|
1045
|
+
/**
|
|
1046
|
+
* Filter which HarnessHostHeartbeats to update
|
|
1047
|
+
*/
|
|
1048
|
+
where?: Prisma.HarnessHostHeartbeatWhereInput
|
|
1049
|
+
/**
|
|
1050
|
+
* Limit how many HarnessHostHeartbeats to update.
|
|
1051
|
+
*/
|
|
1052
|
+
limit?: number
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
/**
|
|
1056
|
+
* HarnessHostHeartbeat upsert
|
|
1057
|
+
*/
|
|
1058
|
+
export type HarnessHostHeartbeatUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1059
|
+
/**
|
|
1060
|
+
* Select specific fields to fetch from the HarnessHostHeartbeat
|
|
1061
|
+
*/
|
|
1062
|
+
select?: Prisma.HarnessHostHeartbeatSelect<ExtArgs> | null
|
|
1063
|
+
/**
|
|
1064
|
+
* Omit specific fields from the HarnessHostHeartbeat
|
|
1065
|
+
*/
|
|
1066
|
+
omit?: Prisma.HarnessHostHeartbeatOmit<ExtArgs> | null
|
|
1067
|
+
/**
|
|
1068
|
+
* The filter to search for the HarnessHostHeartbeat to update in case it exists.
|
|
1069
|
+
*/
|
|
1070
|
+
where: Prisma.HarnessHostHeartbeatWhereUniqueInput
|
|
1071
|
+
/**
|
|
1072
|
+
* In case the HarnessHostHeartbeat found by the `where` argument doesn't exist, create a new HarnessHostHeartbeat with this data.
|
|
1073
|
+
*/
|
|
1074
|
+
create: Prisma.XOR<Prisma.HarnessHostHeartbeatCreateInput, Prisma.HarnessHostHeartbeatUncheckedCreateInput>
|
|
1075
|
+
/**
|
|
1076
|
+
* In case the HarnessHostHeartbeat was found with the provided `where` argument, update it with this data.
|
|
1077
|
+
*/
|
|
1078
|
+
update: Prisma.XOR<Prisma.HarnessHostHeartbeatUpdateInput, Prisma.HarnessHostHeartbeatUncheckedUpdateInput>
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
/**
|
|
1082
|
+
* HarnessHostHeartbeat delete
|
|
1083
|
+
*/
|
|
1084
|
+
export type HarnessHostHeartbeatDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1085
|
+
/**
|
|
1086
|
+
* Select specific fields to fetch from the HarnessHostHeartbeat
|
|
1087
|
+
*/
|
|
1088
|
+
select?: Prisma.HarnessHostHeartbeatSelect<ExtArgs> | null
|
|
1089
|
+
/**
|
|
1090
|
+
* Omit specific fields from the HarnessHostHeartbeat
|
|
1091
|
+
*/
|
|
1092
|
+
omit?: Prisma.HarnessHostHeartbeatOmit<ExtArgs> | null
|
|
1093
|
+
/**
|
|
1094
|
+
* Filter which HarnessHostHeartbeat to delete.
|
|
1095
|
+
*/
|
|
1096
|
+
where: Prisma.HarnessHostHeartbeatWhereUniqueInput
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
/**
|
|
1100
|
+
* HarnessHostHeartbeat deleteMany
|
|
1101
|
+
*/
|
|
1102
|
+
export type HarnessHostHeartbeatDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1103
|
+
/**
|
|
1104
|
+
* Filter which HarnessHostHeartbeats to delete
|
|
1105
|
+
*/
|
|
1106
|
+
where?: Prisma.HarnessHostHeartbeatWhereInput
|
|
1107
|
+
/**
|
|
1108
|
+
* Limit how many HarnessHostHeartbeats to delete.
|
|
1109
|
+
*/
|
|
1110
|
+
limit?: number
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
/**
|
|
1114
|
+
* HarnessHostHeartbeat without action
|
|
1115
|
+
*/
|
|
1116
|
+
export type HarnessHostHeartbeatDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1117
|
+
/**
|
|
1118
|
+
* Select specific fields to fetch from the HarnessHostHeartbeat
|
|
1119
|
+
*/
|
|
1120
|
+
select?: Prisma.HarnessHostHeartbeatSelect<ExtArgs> | null
|
|
1121
|
+
/**
|
|
1122
|
+
* Omit specific fields from the HarnessHostHeartbeat
|
|
1123
|
+
*/
|
|
1124
|
+
omit?: Prisma.HarnessHostHeartbeatOmit<ExtArgs> | null
|
|
1125
|
+
}
|