@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,1904 @@
|
|
|
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 `HarnessLogHeader` 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 HarnessLogHeader
|
|
17
|
+
* LogStore 的所有权/截断/亲和头(每 log 一行)。
|
|
18
|
+
* epoch 单调递增(永不下降),是 fencing 的依据;ownerId/ownerExpiresAt/released 构成
|
|
19
|
+
* 所有权租约;firstSeq 是截断点(truncate 后上移);deletedAt 是墓碑(删除后所有 fenced
|
|
20
|
+
* 写与 offerInput 拒绝,直到下次 acquireOwnership 重新打开)。epoch 计数器在 deleteLog
|
|
21
|
+
* 后仍保留。append 用事务 + 本行 SELECT … FOR UPDATE 锁,保证 seq 单调与 offer 消费原子。
|
|
22
|
+
*/
|
|
23
|
+
export type HarnessLogHeaderModel = runtime.Types.Result.DefaultSelection<Prisma.$HarnessLogHeaderPayload>
|
|
24
|
+
|
|
25
|
+
export type AggregateHarnessLogHeader = {
|
|
26
|
+
_count: HarnessLogHeaderCountAggregateOutputType | null
|
|
27
|
+
_avg: HarnessLogHeaderAvgAggregateOutputType | null
|
|
28
|
+
_sum: HarnessLogHeaderSumAggregateOutputType | null
|
|
29
|
+
_min: HarnessLogHeaderMinAggregateOutputType | null
|
|
30
|
+
_max: HarnessLogHeaderMaxAggregateOutputType | null
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export type HarnessLogHeaderAvgAggregateOutputType = {
|
|
34
|
+
epoch: number | null
|
|
35
|
+
firstSeq: number | null
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export type HarnessLogHeaderSumAggregateOutputType = {
|
|
39
|
+
epoch: number | null
|
|
40
|
+
firstSeq: number | null
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export type HarnessLogHeaderMinAggregateOutputType = {
|
|
44
|
+
logId: string | null
|
|
45
|
+
harness: string | null
|
|
46
|
+
affinity: string | null
|
|
47
|
+
epoch: number | null
|
|
48
|
+
ownerId: string | null
|
|
49
|
+
ownerExpiresAt: Date | null
|
|
50
|
+
released: boolean | null
|
|
51
|
+
wakeAt: Date | null
|
|
52
|
+
firstSeq: number | null
|
|
53
|
+
deletedAt: Date | null
|
|
54
|
+
createdAt: Date | null
|
|
55
|
+
updatedAt: Date | null
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export type HarnessLogHeaderMaxAggregateOutputType = {
|
|
59
|
+
logId: string | null
|
|
60
|
+
harness: string | null
|
|
61
|
+
affinity: string | null
|
|
62
|
+
epoch: number | null
|
|
63
|
+
ownerId: string | null
|
|
64
|
+
ownerExpiresAt: Date | null
|
|
65
|
+
released: boolean | null
|
|
66
|
+
wakeAt: Date | null
|
|
67
|
+
firstSeq: number | null
|
|
68
|
+
deletedAt: Date | null
|
|
69
|
+
createdAt: Date | null
|
|
70
|
+
updatedAt: Date | null
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export type HarnessLogHeaderCountAggregateOutputType = {
|
|
74
|
+
logId: number
|
|
75
|
+
harness: number
|
|
76
|
+
affinity: number
|
|
77
|
+
epoch: number
|
|
78
|
+
ownerId: number
|
|
79
|
+
ownerExpiresAt: number
|
|
80
|
+
released: number
|
|
81
|
+
wakeAt: number
|
|
82
|
+
firstSeq: number
|
|
83
|
+
deletedAt: number
|
|
84
|
+
createdAt: number
|
|
85
|
+
updatedAt: number
|
|
86
|
+
_all: number
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
export type HarnessLogHeaderAvgAggregateInputType = {
|
|
91
|
+
epoch?: true
|
|
92
|
+
firstSeq?: true
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export type HarnessLogHeaderSumAggregateInputType = {
|
|
96
|
+
epoch?: true
|
|
97
|
+
firstSeq?: true
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export type HarnessLogHeaderMinAggregateInputType = {
|
|
101
|
+
logId?: true
|
|
102
|
+
harness?: true
|
|
103
|
+
affinity?: true
|
|
104
|
+
epoch?: true
|
|
105
|
+
ownerId?: true
|
|
106
|
+
ownerExpiresAt?: true
|
|
107
|
+
released?: true
|
|
108
|
+
wakeAt?: true
|
|
109
|
+
firstSeq?: true
|
|
110
|
+
deletedAt?: true
|
|
111
|
+
createdAt?: true
|
|
112
|
+
updatedAt?: true
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export type HarnessLogHeaderMaxAggregateInputType = {
|
|
116
|
+
logId?: true
|
|
117
|
+
harness?: true
|
|
118
|
+
affinity?: true
|
|
119
|
+
epoch?: true
|
|
120
|
+
ownerId?: true
|
|
121
|
+
ownerExpiresAt?: true
|
|
122
|
+
released?: true
|
|
123
|
+
wakeAt?: true
|
|
124
|
+
firstSeq?: true
|
|
125
|
+
deletedAt?: true
|
|
126
|
+
createdAt?: true
|
|
127
|
+
updatedAt?: true
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export type HarnessLogHeaderCountAggregateInputType = {
|
|
131
|
+
logId?: true
|
|
132
|
+
harness?: true
|
|
133
|
+
affinity?: true
|
|
134
|
+
epoch?: true
|
|
135
|
+
ownerId?: true
|
|
136
|
+
ownerExpiresAt?: true
|
|
137
|
+
released?: true
|
|
138
|
+
wakeAt?: true
|
|
139
|
+
firstSeq?: true
|
|
140
|
+
deletedAt?: true
|
|
141
|
+
createdAt?: true
|
|
142
|
+
updatedAt?: true
|
|
143
|
+
_all?: true
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export type HarnessLogHeaderAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
147
|
+
/**
|
|
148
|
+
* Filter which HarnessLogHeader to aggregate.
|
|
149
|
+
*/
|
|
150
|
+
where?: Prisma.HarnessLogHeaderWhereInput
|
|
151
|
+
/**
|
|
152
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
153
|
+
*
|
|
154
|
+
* Determine the order of HarnessLogHeaders to fetch.
|
|
155
|
+
*/
|
|
156
|
+
orderBy?: Prisma.HarnessLogHeaderOrderByWithRelationInput | Prisma.HarnessLogHeaderOrderByWithRelationInput[]
|
|
157
|
+
/**
|
|
158
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
159
|
+
*
|
|
160
|
+
* Sets the start position
|
|
161
|
+
*/
|
|
162
|
+
cursor?: Prisma.HarnessLogHeaderWhereUniqueInput
|
|
163
|
+
/**
|
|
164
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
165
|
+
*
|
|
166
|
+
* Take `±n` HarnessLogHeaders from the position of the cursor.
|
|
167
|
+
*/
|
|
168
|
+
take?: number
|
|
169
|
+
/**
|
|
170
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
171
|
+
*
|
|
172
|
+
* Skip the first `n` HarnessLogHeaders.
|
|
173
|
+
*/
|
|
174
|
+
skip?: number
|
|
175
|
+
/**
|
|
176
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
177
|
+
*
|
|
178
|
+
* Count returned HarnessLogHeaders
|
|
179
|
+
**/
|
|
180
|
+
_count?: true | HarnessLogHeaderCountAggregateInputType
|
|
181
|
+
/**
|
|
182
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
183
|
+
*
|
|
184
|
+
* Select which fields to average
|
|
185
|
+
**/
|
|
186
|
+
_avg?: HarnessLogHeaderAvgAggregateInputType
|
|
187
|
+
/**
|
|
188
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
189
|
+
*
|
|
190
|
+
* Select which fields to sum
|
|
191
|
+
**/
|
|
192
|
+
_sum?: HarnessLogHeaderSumAggregateInputType
|
|
193
|
+
/**
|
|
194
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
195
|
+
*
|
|
196
|
+
* Select which fields to find the minimum value
|
|
197
|
+
**/
|
|
198
|
+
_min?: HarnessLogHeaderMinAggregateInputType
|
|
199
|
+
/**
|
|
200
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
201
|
+
*
|
|
202
|
+
* Select which fields to find the maximum value
|
|
203
|
+
**/
|
|
204
|
+
_max?: HarnessLogHeaderMaxAggregateInputType
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
export type GetHarnessLogHeaderAggregateType<T extends HarnessLogHeaderAggregateArgs> = {
|
|
208
|
+
[P in keyof T & keyof AggregateHarnessLogHeader]: P extends '_count' | 'count'
|
|
209
|
+
? T[P] extends true
|
|
210
|
+
? number
|
|
211
|
+
: Prisma.GetScalarType<T[P], AggregateHarnessLogHeader[P]>
|
|
212
|
+
: Prisma.GetScalarType<T[P], AggregateHarnessLogHeader[P]>
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
export type HarnessLogHeaderGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
219
|
+
where?: Prisma.HarnessLogHeaderWhereInput
|
|
220
|
+
orderBy?: Prisma.HarnessLogHeaderOrderByWithAggregationInput | Prisma.HarnessLogHeaderOrderByWithAggregationInput[]
|
|
221
|
+
by: Prisma.HarnessLogHeaderScalarFieldEnum[] | Prisma.HarnessLogHeaderScalarFieldEnum
|
|
222
|
+
having?: Prisma.HarnessLogHeaderScalarWhereWithAggregatesInput
|
|
223
|
+
take?: number
|
|
224
|
+
skip?: number
|
|
225
|
+
_count?: HarnessLogHeaderCountAggregateInputType | true
|
|
226
|
+
_avg?: HarnessLogHeaderAvgAggregateInputType
|
|
227
|
+
_sum?: HarnessLogHeaderSumAggregateInputType
|
|
228
|
+
_min?: HarnessLogHeaderMinAggregateInputType
|
|
229
|
+
_max?: HarnessLogHeaderMaxAggregateInputType
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
export type HarnessLogHeaderGroupByOutputType = {
|
|
233
|
+
logId: string
|
|
234
|
+
harness: string | null
|
|
235
|
+
affinity: string | null
|
|
236
|
+
epoch: number
|
|
237
|
+
ownerId: string | null
|
|
238
|
+
ownerExpiresAt: Date | null
|
|
239
|
+
released: boolean
|
|
240
|
+
wakeAt: Date | null
|
|
241
|
+
firstSeq: number
|
|
242
|
+
deletedAt: Date | null
|
|
243
|
+
createdAt: Date
|
|
244
|
+
updatedAt: Date
|
|
245
|
+
_count: HarnessLogHeaderCountAggregateOutputType | null
|
|
246
|
+
_avg: HarnessLogHeaderAvgAggregateOutputType | null
|
|
247
|
+
_sum: HarnessLogHeaderSumAggregateOutputType | null
|
|
248
|
+
_min: HarnessLogHeaderMinAggregateOutputType | null
|
|
249
|
+
_max: HarnessLogHeaderMaxAggregateOutputType | null
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
export type GetHarnessLogHeaderGroupByPayload<T extends HarnessLogHeaderGroupByArgs> = Prisma.PrismaPromise<
|
|
253
|
+
Array<
|
|
254
|
+
Prisma.PickEnumerable<HarnessLogHeaderGroupByOutputType, T['by']> &
|
|
255
|
+
{
|
|
256
|
+
[P in ((keyof T) & (keyof HarnessLogHeaderGroupByOutputType))]: P extends '_count'
|
|
257
|
+
? T[P] extends boolean
|
|
258
|
+
? number
|
|
259
|
+
: Prisma.GetScalarType<T[P], HarnessLogHeaderGroupByOutputType[P]>
|
|
260
|
+
: Prisma.GetScalarType<T[P], HarnessLogHeaderGroupByOutputType[P]>
|
|
261
|
+
}
|
|
262
|
+
>
|
|
263
|
+
>
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
export type HarnessLogHeaderWhereInput = {
|
|
268
|
+
AND?: Prisma.HarnessLogHeaderWhereInput | Prisma.HarnessLogHeaderWhereInput[]
|
|
269
|
+
OR?: Prisma.HarnessLogHeaderWhereInput[]
|
|
270
|
+
NOT?: Prisma.HarnessLogHeaderWhereInput | Prisma.HarnessLogHeaderWhereInput[]
|
|
271
|
+
logId?: Prisma.StringFilter<"HarnessLogHeader"> | string
|
|
272
|
+
harness?: Prisma.StringNullableFilter<"HarnessLogHeader"> | string | null
|
|
273
|
+
affinity?: Prisma.StringNullableFilter<"HarnessLogHeader"> | string | null
|
|
274
|
+
epoch?: Prisma.IntFilter<"HarnessLogHeader"> | number
|
|
275
|
+
ownerId?: Prisma.StringNullableFilter<"HarnessLogHeader"> | string | null
|
|
276
|
+
ownerExpiresAt?: Prisma.DateTimeNullableFilter<"HarnessLogHeader"> | Date | string | null
|
|
277
|
+
released?: Prisma.BoolFilter<"HarnessLogHeader"> | boolean
|
|
278
|
+
wakeAt?: Prisma.DateTimeNullableFilter<"HarnessLogHeader"> | Date | string | null
|
|
279
|
+
firstSeq?: Prisma.IntFilter<"HarnessLogHeader"> | number
|
|
280
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"HarnessLogHeader"> | Date | string | null
|
|
281
|
+
createdAt?: Prisma.DateTimeFilter<"HarnessLogHeader"> | Date | string
|
|
282
|
+
updatedAt?: Prisma.DateTimeFilter<"HarnessLogHeader"> | Date | string
|
|
283
|
+
entries?: Prisma.HarnessLogEntryListRelationFilter
|
|
284
|
+
offers?: Prisma.HarnessLogOfferListRelationFilter
|
|
285
|
+
snapshot?: Prisma.XOR<Prisma.HarnessLogSnapshotNullableScalarRelationFilter, Prisma.HarnessLogSnapshotWhereInput> | null
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
export type HarnessLogHeaderOrderByWithRelationInput = {
|
|
289
|
+
logId?: Prisma.SortOrder
|
|
290
|
+
harness?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
291
|
+
affinity?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
292
|
+
epoch?: Prisma.SortOrder
|
|
293
|
+
ownerId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
294
|
+
ownerExpiresAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
295
|
+
released?: Prisma.SortOrder
|
|
296
|
+
wakeAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
297
|
+
firstSeq?: Prisma.SortOrder
|
|
298
|
+
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
299
|
+
createdAt?: Prisma.SortOrder
|
|
300
|
+
updatedAt?: Prisma.SortOrder
|
|
301
|
+
entries?: Prisma.HarnessLogEntryOrderByRelationAggregateInput
|
|
302
|
+
offers?: Prisma.HarnessLogOfferOrderByRelationAggregateInput
|
|
303
|
+
snapshot?: Prisma.HarnessLogSnapshotOrderByWithRelationInput
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
export type HarnessLogHeaderWhereUniqueInput = Prisma.AtLeast<{
|
|
307
|
+
logId?: string
|
|
308
|
+
AND?: Prisma.HarnessLogHeaderWhereInput | Prisma.HarnessLogHeaderWhereInput[]
|
|
309
|
+
OR?: Prisma.HarnessLogHeaderWhereInput[]
|
|
310
|
+
NOT?: Prisma.HarnessLogHeaderWhereInput | Prisma.HarnessLogHeaderWhereInput[]
|
|
311
|
+
harness?: Prisma.StringNullableFilter<"HarnessLogHeader"> | string | null
|
|
312
|
+
affinity?: Prisma.StringNullableFilter<"HarnessLogHeader"> | string | null
|
|
313
|
+
epoch?: Prisma.IntFilter<"HarnessLogHeader"> | number
|
|
314
|
+
ownerId?: Prisma.StringNullableFilter<"HarnessLogHeader"> | string | null
|
|
315
|
+
ownerExpiresAt?: Prisma.DateTimeNullableFilter<"HarnessLogHeader"> | Date | string | null
|
|
316
|
+
released?: Prisma.BoolFilter<"HarnessLogHeader"> | boolean
|
|
317
|
+
wakeAt?: Prisma.DateTimeNullableFilter<"HarnessLogHeader"> | Date | string | null
|
|
318
|
+
firstSeq?: Prisma.IntFilter<"HarnessLogHeader"> | number
|
|
319
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"HarnessLogHeader"> | Date | string | null
|
|
320
|
+
createdAt?: Prisma.DateTimeFilter<"HarnessLogHeader"> | Date | string
|
|
321
|
+
updatedAt?: Prisma.DateTimeFilter<"HarnessLogHeader"> | Date | string
|
|
322
|
+
entries?: Prisma.HarnessLogEntryListRelationFilter
|
|
323
|
+
offers?: Prisma.HarnessLogOfferListRelationFilter
|
|
324
|
+
snapshot?: Prisma.XOR<Prisma.HarnessLogSnapshotNullableScalarRelationFilter, Prisma.HarnessLogSnapshotWhereInput> | null
|
|
325
|
+
}, "logId">
|
|
326
|
+
|
|
327
|
+
export type HarnessLogHeaderOrderByWithAggregationInput = {
|
|
328
|
+
logId?: Prisma.SortOrder
|
|
329
|
+
harness?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
330
|
+
affinity?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
331
|
+
epoch?: Prisma.SortOrder
|
|
332
|
+
ownerId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
333
|
+
ownerExpiresAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
334
|
+
released?: Prisma.SortOrder
|
|
335
|
+
wakeAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
336
|
+
firstSeq?: Prisma.SortOrder
|
|
337
|
+
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
338
|
+
createdAt?: Prisma.SortOrder
|
|
339
|
+
updatedAt?: Prisma.SortOrder
|
|
340
|
+
_count?: Prisma.HarnessLogHeaderCountOrderByAggregateInput
|
|
341
|
+
_avg?: Prisma.HarnessLogHeaderAvgOrderByAggregateInput
|
|
342
|
+
_max?: Prisma.HarnessLogHeaderMaxOrderByAggregateInput
|
|
343
|
+
_min?: Prisma.HarnessLogHeaderMinOrderByAggregateInput
|
|
344
|
+
_sum?: Prisma.HarnessLogHeaderSumOrderByAggregateInput
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
export type HarnessLogHeaderScalarWhereWithAggregatesInput = {
|
|
348
|
+
AND?: Prisma.HarnessLogHeaderScalarWhereWithAggregatesInput | Prisma.HarnessLogHeaderScalarWhereWithAggregatesInput[]
|
|
349
|
+
OR?: Prisma.HarnessLogHeaderScalarWhereWithAggregatesInput[]
|
|
350
|
+
NOT?: Prisma.HarnessLogHeaderScalarWhereWithAggregatesInput | Prisma.HarnessLogHeaderScalarWhereWithAggregatesInput[]
|
|
351
|
+
logId?: Prisma.StringWithAggregatesFilter<"HarnessLogHeader"> | string
|
|
352
|
+
harness?: Prisma.StringNullableWithAggregatesFilter<"HarnessLogHeader"> | string | null
|
|
353
|
+
affinity?: Prisma.StringNullableWithAggregatesFilter<"HarnessLogHeader"> | string | null
|
|
354
|
+
epoch?: Prisma.IntWithAggregatesFilter<"HarnessLogHeader"> | number
|
|
355
|
+
ownerId?: Prisma.StringNullableWithAggregatesFilter<"HarnessLogHeader"> | string | null
|
|
356
|
+
ownerExpiresAt?: Prisma.DateTimeNullableWithAggregatesFilter<"HarnessLogHeader"> | Date | string | null
|
|
357
|
+
released?: Prisma.BoolWithAggregatesFilter<"HarnessLogHeader"> | boolean
|
|
358
|
+
wakeAt?: Prisma.DateTimeNullableWithAggregatesFilter<"HarnessLogHeader"> | Date | string | null
|
|
359
|
+
firstSeq?: Prisma.IntWithAggregatesFilter<"HarnessLogHeader"> | number
|
|
360
|
+
deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"HarnessLogHeader"> | Date | string | null
|
|
361
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"HarnessLogHeader"> | Date | string
|
|
362
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"HarnessLogHeader"> | Date | string
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
export type HarnessLogHeaderCreateInput = {
|
|
366
|
+
logId: string
|
|
367
|
+
harness?: string | null
|
|
368
|
+
affinity?: string | null
|
|
369
|
+
epoch?: number
|
|
370
|
+
ownerId?: string | null
|
|
371
|
+
ownerExpiresAt?: Date | string | null
|
|
372
|
+
released?: boolean
|
|
373
|
+
wakeAt?: Date | string | null
|
|
374
|
+
firstSeq?: number
|
|
375
|
+
deletedAt?: Date | string | null
|
|
376
|
+
createdAt?: Date | string
|
|
377
|
+
updatedAt?: Date | string
|
|
378
|
+
entries?: Prisma.HarnessLogEntryCreateNestedManyWithoutHeaderInput
|
|
379
|
+
offers?: Prisma.HarnessLogOfferCreateNestedManyWithoutHeaderInput
|
|
380
|
+
snapshot?: Prisma.HarnessLogSnapshotCreateNestedOneWithoutHeaderInput
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
export type HarnessLogHeaderUncheckedCreateInput = {
|
|
384
|
+
logId: string
|
|
385
|
+
harness?: string | null
|
|
386
|
+
affinity?: string | null
|
|
387
|
+
epoch?: number
|
|
388
|
+
ownerId?: string | null
|
|
389
|
+
ownerExpiresAt?: Date | string | null
|
|
390
|
+
released?: boolean
|
|
391
|
+
wakeAt?: Date | string | null
|
|
392
|
+
firstSeq?: number
|
|
393
|
+
deletedAt?: Date | string | null
|
|
394
|
+
createdAt?: Date | string
|
|
395
|
+
updatedAt?: Date | string
|
|
396
|
+
entries?: Prisma.HarnessLogEntryUncheckedCreateNestedManyWithoutHeaderInput
|
|
397
|
+
offers?: Prisma.HarnessLogOfferUncheckedCreateNestedManyWithoutHeaderInput
|
|
398
|
+
snapshot?: Prisma.HarnessLogSnapshotUncheckedCreateNestedOneWithoutHeaderInput
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
export type HarnessLogHeaderUpdateInput = {
|
|
402
|
+
logId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
403
|
+
harness?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
404
|
+
affinity?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
405
|
+
epoch?: Prisma.IntFieldUpdateOperationsInput | number
|
|
406
|
+
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
407
|
+
ownerExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
408
|
+
released?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
409
|
+
wakeAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
410
|
+
firstSeq?: Prisma.IntFieldUpdateOperationsInput | number
|
|
411
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
412
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
413
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
414
|
+
entries?: Prisma.HarnessLogEntryUpdateManyWithoutHeaderNestedInput
|
|
415
|
+
offers?: Prisma.HarnessLogOfferUpdateManyWithoutHeaderNestedInput
|
|
416
|
+
snapshot?: Prisma.HarnessLogSnapshotUpdateOneWithoutHeaderNestedInput
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
export type HarnessLogHeaderUncheckedUpdateInput = {
|
|
420
|
+
logId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
421
|
+
harness?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
422
|
+
affinity?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
423
|
+
epoch?: Prisma.IntFieldUpdateOperationsInput | number
|
|
424
|
+
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
425
|
+
ownerExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
426
|
+
released?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
427
|
+
wakeAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
428
|
+
firstSeq?: Prisma.IntFieldUpdateOperationsInput | number
|
|
429
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
430
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
431
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
432
|
+
entries?: Prisma.HarnessLogEntryUncheckedUpdateManyWithoutHeaderNestedInput
|
|
433
|
+
offers?: Prisma.HarnessLogOfferUncheckedUpdateManyWithoutHeaderNestedInput
|
|
434
|
+
snapshot?: Prisma.HarnessLogSnapshotUncheckedUpdateOneWithoutHeaderNestedInput
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
export type HarnessLogHeaderCreateManyInput = {
|
|
438
|
+
logId: string
|
|
439
|
+
harness?: string | null
|
|
440
|
+
affinity?: string | null
|
|
441
|
+
epoch?: number
|
|
442
|
+
ownerId?: string | null
|
|
443
|
+
ownerExpiresAt?: Date | string | null
|
|
444
|
+
released?: boolean
|
|
445
|
+
wakeAt?: Date | string | null
|
|
446
|
+
firstSeq?: number
|
|
447
|
+
deletedAt?: Date | string | null
|
|
448
|
+
createdAt?: Date | string
|
|
449
|
+
updatedAt?: Date | string
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
export type HarnessLogHeaderUpdateManyMutationInput = {
|
|
453
|
+
logId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
454
|
+
harness?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
455
|
+
affinity?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
456
|
+
epoch?: Prisma.IntFieldUpdateOperationsInput | number
|
|
457
|
+
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
458
|
+
ownerExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
459
|
+
released?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
460
|
+
wakeAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
461
|
+
firstSeq?: Prisma.IntFieldUpdateOperationsInput | number
|
|
462
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
463
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
464
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
export type HarnessLogHeaderUncheckedUpdateManyInput = {
|
|
468
|
+
logId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
469
|
+
harness?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
470
|
+
affinity?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
471
|
+
epoch?: Prisma.IntFieldUpdateOperationsInput | number
|
|
472
|
+
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
473
|
+
ownerExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
474
|
+
released?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
475
|
+
wakeAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
476
|
+
firstSeq?: Prisma.IntFieldUpdateOperationsInput | number
|
|
477
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
478
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
479
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
export type HarnessLogHeaderCountOrderByAggregateInput = {
|
|
483
|
+
logId?: Prisma.SortOrder
|
|
484
|
+
harness?: Prisma.SortOrder
|
|
485
|
+
affinity?: Prisma.SortOrder
|
|
486
|
+
epoch?: Prisma.SortOrder
|
|
487
|
+
ownerId?: Prisma.SortOrder
|
|
488
|
+
ownerExpiresAt?: Prisma.SortOrder
|
|
489
|
+
released?: Prisma.SortOrder
|
|
490
|
+
wakeAt?: Prisma.SortOrder
|
|
491
|
+
firstSeq?: Prisma.SortOrder
|
|
492
|
+
deletedAt?: Prisma.SortOrder
|
|
493
|
+
createdAt?: Prisma.SortOrder
|
|
494
|
+
updatedAt?: Prisma.SortOrder
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
export type HarnessLogHeaderAvgOrderByAggregateInput = {
|
|
498
|
+
epoch?: Prisma.SortOrder
|
|
499
|
+
firstSeq?: Prisma.SortOrder
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
export type HarnessLogHeaderMaxOrderByAggregateInput = {
|
|
503
|
+
logId?: Prisma.SortOrder
|
|
504
|
+
harness?: Prisma.SortOrder
|
|
505
|
+
affinity?: Prisma.SortOrder
|
|
506
|
+
epoch?: Prisma.SortOrder
|
|
507
|
+
ownerId?: Prisma.SortOrder
|
|
508
|
+
ownerExpiresAt?: Prisma.SortOrder
|
|
509
|
+
released?: Prisma.SortOrder
|
|
510
|
+
wakeAt?: Prisma.SortOrder
|
|
511
|
+
firstSeq?: Prisma.SortOrder
|
|
512
|
+
deletedAt?: Prisma.SortOrder
|
|
513
|
+
createdAt?: Prisma.SortOrder
|
|
514
|
+
updatedAt?: Prisma.SortOrder
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
export type HarnessLogHeaderMinOrderByAggregateInput = {
|
|
518
|
+
logId?: Prisma.SortOrder
|
|
519
|
+
harness?: Prisma.SortOrder
|
|
520
|
+
affinity?: Prisma.SortOrder
|
|
521
|
+
epoch?: Prisma.SortOrder
|
|
522
|
+
ownerId?: Prisma.SortOrder
|
|
523
|
+
ownerExpiresAt?: Prisma.SortOrder
|
|
524
|
+
released?: Prisma.SortOrder
|
|
525
|
+
wakeAt?: Prisma.SortOrder
|
|
526
|
+
firstSeq?: Prisma.SortOrder
|
|
527
|
+
deletedAt?: Prisma.SortOrder
|
|
528
|
+
createdAt?: Prisma.SortOrder
|
|
529
|
+
updatedAt?: Prisma.SortOrder
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
export type HarnessLogHeaderSumOrderByAggregateInput = {
|
|
533
|
+
epoch?: Prisma.SortOrder
|
|
534
|
+
firstSeq?: Prisma.SortOrder
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
export type HarnessLogHeaderScalarRelationFilter = {
|
|
538
|
+
is?: Prisma.HarnessLogHeaderWhereInput
|
|
539
|
+
isNot?: Prisma.HarnessLogHeaderWhereInput
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
export type HarnessLogHeaderCreateNestedOneWithoutEntriesInput = {
|
|
543
|
+
create?: Prisma.XOR<Prisma.HarnessLogHeaderCreateWithoutEntriesInput, Prisma.HarnessLogHeaderUncheckedCreateWithoutEntriesInput>
|
|
544
|
+
connectOrCreate?: Prisma.HarnessLogHeaderCreateOrConnectWithoutEntriesInput
|
|
545
|
+
connect?: Prisma.HarnessLogHeaderWhereUniqueInput
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
export type HarnessLogHeaderUpdateOneRequiredWithoutEntriesNestedInput = {
|
|
549
|
+
create?: Prisma.XOR<Prisma.HarnessLogHeaderCreateWithoutEntriesInput, Prisma.HarnessLogHeaderUncheckedCreateWithoutEntriesInput>
|
|
550
|
+
connectOrCreate?: Prisma.HarnessLogHeaderCreateOrConnectWithoutEntriesInput
|
|
551
|
+
upsert?: Prisma.HarnessLogHeaderUpsertWithoutEntriesInput
|
|
552
|
+
connect?: Prisma.HarnessLogHeaderWhereUniqueInput
|
|
553
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.HarnessLogHeaderUpdateToOneWithWhereWithoutEntriesInput, Prisma.HarnessLogHeaderUpdateWithoutEntriesInput>, Prisma.HarnessLogHeaderUncheckedUpdateWithoutEntriesInput>
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
export type HarnessLogHeaderCreateNestedOneWithoutOffersInput = {
|
|
557
|
+
create?: Prisma.XOR<Prisma.HarnessLogHeaderCreateWithoutOffersInput, Prisma.HarnessLogHeaderUncheckedCreateWithoutOffersInput>
|
|
558
|
+
connectOrCreate?: Prisma.HarnessLogHeaderCreateOrConnectWithoutOffersInput
|
|
559
|
+
connect?: Prisma.HarnessLogHeaderWhereUniqueInput
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
export type HarnessLogHeaderUpdateOneRequiredWithoutOffersNestedInput = {
|
|
563
|
+
create?: Prisma.XOR<Prisma.HarnessLogHeaderCreateWithoutOffersInput, Prisma.HarnessLogHeaderUncheckedCreateWithoutOffersInput>
|
|
564
|
+
connectOrCreate?: Prisma.HarnessLogHeaderCreateOrConnectWithoutOffersInput
|
|
565
|
+
upsert?: Prisma.HarnessLogHeaderUpsertWithoutOffersInput
|
|
566
|
+
connect?: Prisma.HarnessLogHeaderWhereUniqueInput
|
|
567
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.HarnessLogHeaderUpdateToOneWithWhereWithoutOffersInput, Prisma.HarnessLogHeaderUpdateWithoutOffersInput>, Prisma.HarnessLogHeaderUncheckedUpdateWithoutOffersInput>
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
export type HarnessLogHeaderCreateNestedOneWithoutSnapshotInput = {
|
|
571
|
+
create?: Prisma.XOR<Prisma.HarnessLogHeaderCreateWithoutSnapshotInput, Prisma.HarnessLogHeaderUncheckedCreateWithoutSnapshotInput>
|
|
572
|
+
connectOrCreate?: Prisma.HarnessLogHeaderCreateOrConnectWithoutSnapshotInput
|
|
573
|
+
connect?: Prisma.HarnessLogHeaderWhereUniqueInput
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
export type HarnessLogHeaderUpdateOneRequiredWithoutSnapshotNestedInput = {
|
|
577
|
+
create?: Prisma.XOR<Prisma.HarnessLogHeaderCreateWithoutSnapshotInput, Prisma.HarnessLogHeaderUncheckedCreateWithoutSnapshotInput>
|
|
578
|
+
connectOrCreate?: Prisma.HarnessLogHeaderCreateOrConnectWithoutSnapshotInput
|
|
579
|
+
upsert?: Prisma.HarnessLogHeaderUpsertWithoutSnapshotInput
|
|
580
|
+
connect?: Prisma.HarnessLogHeaderWhereUniqueInput
|
|
581
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.HarnessLogHeaderUpdateToOneWithWhereWithoutSnapshotInput, Prisma.HarnessLogHeaderUpdateWithoutSnapshotInput>, Prisma.HarnessLogHeaderUncheckedUpdateWithoutSnapshotInput>
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
export type HarnessLogHeaderCreateWithoutEntriesInput = {
|
|
585
|
+
logId: string
|
|
586
|
+
harness?: string | null
|
|
587
|
+
affinity?: string | null
|
|
588
|
+
epoch?: number
|
|
589
|
+
ownerId?: string | null
|
|
590
|
+
ownerExpiresAt?: Date | string | null
|
|
591
|
+
released?: boolean
|
|
592
|
+
wakeAt?: Date | string | null
|
|
593
|
+
firstSeq?: number
|
|
594
|
+
deletedAt?: Date | string | null
|
|
595
|
+
createdAt?: Date | string
|
|
596
|
+
updatedAt?: Date | string
|
|
597
|
+
offers?: Prisma.HarnessLogOfferCreateNestedManyWithoutHeaderInput
|
|
598
|
+
snapshot?: Prisma.HarnessLogSnapshotCreateNestedOneWithoutHeaderInput
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
export type HarnessLogHeaderUncheckedCreateWithoutEntriesInput = {
|
|
602
|
+
logId: string
|
|
603
|
+
harness?: string | null
|
|
604
|
+
affinity?: string | null
|
|
605
|
+
epoch?: number
|
|
606
|
+
ownerId?: string | null
|
|
607
|
+
ownerExpiresAt?: Date | string | null
|
|
608
|
+
released?: boolean
|
|
609
|
+
wakeAt?: Date | string | null
|
|
610
|
+
firstSeq?: number
|
|
611
|
+
deletedAt?: Date | string | null
|
|
612
|
+
createdAt?: Date | string
|
|
613
|
+
updatedAt?: Date | string
|
|
614
|
+
offers?: Prisma.HarnessLogOfferUncheckedCreateNestedManyWithoutHeaderInput
|
|
615
|
+
snapshot?: Prisma.HarnessLogSnapshotUncheckedCreateNestedOneWithoutHeaderInput
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
export type HarnessLogHeaderCreateOrConnectWithoutEntriesInput = {
|
|
619
|
+
where: Prisma.HarnessLogHeaderWhereUniqueInput
|
|
620
|
+
create: Prisma.XOR<Prisma.HarnessLogHeaderCreateWithoutEntriesInput, Prisma.HarnessLogHeaderUncheckedCreateWithoutEntriesInput>
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
export type HarnessLogHeaderUpsertWithoutEntriesInput = {
|
|
624
|
+
update: Prisma.XOR<Prisma.HarnessLogHeaderUpdateWithoutEntriesInput, Prisma.HarnessLogHeaderUncheckedUpdateWithoutEntriesInput>
|
|
625
|
+
create: Prisma.XOR<Prisma.HarnessLogHeaderCreateWithoutEntriesInput, Prisma.HarnessLogHeaderUncheckedCreateWithoutEntriesInput>
|
|
626
|
+
where?: Prisma.HarnessLogHeaderWhereInput
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
export type HarnessLogHeaderUpdateToOneWithWhereWithoutEntriesInput = {
|
|
630
|
+
where?: Prisma.HarnessLogHeaderWhereInput
|
|
631
|
+
data: Prisma.XOR<Prisma.HarnessLogHeaderUpdateWithoutEntriesInput, Prisma.HarnessLogHeaderUncheckedUpdateWithoutEntriesInput>
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
export type HarnessLogHeaderUpdateWithoutEntriesInput = {
|
|
635
|
+
logId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
636
|
+
harness?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
637
|
+
affinity?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
638
|
+
epoch?: Prisma.IntFieldUpdateOperationsInput | number
|
|
639
|
+
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
640
|
+
ownerExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
641
|
+
released?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
642
|
+
wakeAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
643
|
+
firstSeq?: Prisma.IntFieldUpdateOperationsInput | number
|
|
644
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
645
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
646
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
647
|
+
offers?: Prisma.HarnessLogOfferUpdateManyWithoutHeaderNestedInput
|
|
648
|
+
snapshot?: Prisma.HarnessLogSnapshotUpdateOneWithoutHeaderNestedInput
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
export type HarnessLogHeaderUncheckedUpdateWithoutEntriesInput = {
|
|
652
|
+
logId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
653
|
+
harness?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
654
|
+
affinity?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
655
|
+
epoch?: Prisma.IntFieldUpdateOperationsInput | number
|
|
656
|
+
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
657
|
+
ownerExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
658
|
+
released?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
659
|
+
wakeAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
660
|
+
firstSeq?: Prisma.IntFieldUpdateOperationsInput | number
|
|
661
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
662
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
663
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
664
|
+
offers?: Prisma.HarnessLogOfferUncheckedUpdateManyWithoutHeaderNestedInput
|
|
665
|
+
snapshot?: Prisma.HarnessLogSnapshotUncheckedUpdateOneWithoutHeaderNestedInput
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
export type HarnessLogHeaderCreateWithoutOffersInput = {
|
|
669
|
+
logId: string
|
|
670
|
+
harness?: string | null
|
|
671
|
+
affinity?: string | null
|
|
672
|
+
epoch?: number
|
|
673
|
+
ownerId?: string | null
|
|
674
|
+
ownerExpiresAt?: Date | string | null
|
|
675
|
+
released?: boolean
|
|
676
|
+
wakeAt?: Date | string | null
|
|
677
|
+
firstSeq?: number
|
|
678
|
+
deletedAt?: Date | string | null
|
|
679
|
+
createdAt?: Date | string
|
|
680
|
+
updatedAt?: Date | string
|
|
681
|
+
entries?: Prisma.HarnessLogEntryCreateNestedManyWithoutHeaderInput
|
|
682
|
+
snapshot?: Prisma.HarnessLogSnapshotCreateNestedOneWithoutHeaderInput
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
export type HarnessLogHeaderUncheckedCreateWithoutOffersInput = {
|
|
686
|
+
logId: string
|
|
687
|
+
harness?: string | null
|
|
688
|
+
affinity?: string | null
|
|
689
|
+
epoch?: number
|
|
690
|
+
ownerId?: string | null
|
|
691
|
+
ownerExpiresAt?: Date | string | null
|
|
692
|
+
released?: boolean
|
|
693
|
+
wakeAt?: Date | string | null
|
|
694
|
+
firstSeq?: number
|
|
695
|
+
deletedAt?: Date | string | null
|
|
696
|
+
createdAt?: Date | string
|
|
697
|
+
updatedAt?: Date | string
|
|
698
|
+
entries?: Prisma.HarnessLogEntryUncheckedCreateNestedManyWithoutHeaderInput
|
|
699
|
+
snapshot?: Prisma.HarnessLogSnapshotUncheckedCreateNestedOneWithoutHeaderInput
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
export type HarnessLogHeaderCreateOrConnectWithoutOffersInput = {
|
|
703
|
+
where: Prisma.HarnessLogHeaderWhereUniqueInput
|
|
704
|
+
create: Prisma.XOR<Prisma.HarnessLogHeaderCreateWithoutOffersInput, Prisma.HarnessLogHeaderUncheckedCreateWithoutOffersInput>
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
export type HarnessLogHeaderUpsertWithoutOffersInput = {
|
|
708
|
+
update: Prisma.XOR<Prisma.HarnessLogHeaderUpdateWithoutOffersInput, Prisma.HarnessLogHeaderUncheckedUpdateWithoutOffersInput>
|
|
709
|
+
create: Prisma.XOR<Prisma.HarnessLogHeaderCreateWithoutOffersInput, Prisma.HarnessLogHeaderUncheckedCreateWithoutOffersInput>
|
|
710
|
+
where?: Prisma.HarnessLogHeaderWhereInput
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
export type HarnessLogHeaderUpdateToOneWithWhereWithoutOffersInput = {
|
|
714
|
+
where?: Prisma.HarnessLogHeaderWhereInput
|
|
715
|
+
data: Prisma.XOR<Prisma.HarnessLogHeaderUpdateWithoutOffersInput, Prisma.HarnessLogHeaderUncheckedUpdateWithoutOffersInput>
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
export type HarnessLogHeaderUpdateWithoutOffersInput = {
|
|
719
|
+
logId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
720
|
+
harness?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
721
|
+
affinity?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
722
|
+
epoch?: Prisma.IntFieldUpdateOperationsInput | number
|
|
723
|
+
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
724
|
+
ownerExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
725
|
+
released?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
726
|
+
wakeAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
727
|
+
firstSeq?: Prisma.IntFieldUpdateOperationsInput | number
|
|
728
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
729
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
730
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
731
|
+
entries?: Prisma.HarnessLogEntryUpdateManyWithoutHeaderNestedInput
|
|
732
|
+
snapshot?: Prisma.HarnessLogSnapshotUpdateOneWithoutHeaderNestedInput
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
export type HarnessLogHeaderUncheckedUpdateWithoutOffersInput = {
|
|
736
|
+
logId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
737
|
+
harness?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
738
|
+
affinity?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
739
|
+
epoch?: Prisma.IntFieldUpdateOperationsInput | number
|
|
740
|
+
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
741
|
+
ownerExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
742
|
+
released?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
743
|
+
wakeAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
744
|
+
firstSeq?: Prisma.IntFieldUpdateOperationsInput | number
|
|
745
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
746
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
747
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
748
|
+
entries?: Prisma.HarnessLogEntryUncheckedUpdateManyWithoutHeaderNestedInput
|
|
749
|
+
snapshot?: Prisma.HarnessLogSnapshotUncheckedUpdateOneWithoutHeaderNestedInput
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
export type HarnessLogHeaderCreateWithoutSnapshotInput = {
|
|
753
|
+
logId: string
|
|
754
|
+
harness?: string | null
|
|
755
|
+
affinity?: string | null
|
|
756
|
+
epoch?: number
|
|
757
|
+
ownerId?: string | null
|
|
758
|
+
ownerExpiresAt?: Date | string | null
|
|
759
|
+
released?: boolean
|
|
760
|
+
wakeAt?: Date | string | null
|
|
761
|
+
firstSeq?: number
|
|
762
|
+
deletedAt?: Date | string | null
|
|
763
|
+
createdAt?: Date | string
|
|
764
|
+
updatedAt?: Date | string
|
|
765
|
+
entries?: Prisma.HarnessLogEntryCreateNestedManyWithoutHeaderInput
|
|
766
|
+
offers?: Prisma.HarnessLogOfferCreateNestedManyWithoutHeaderInput
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
export type HarnessLogHeaderUncheckedCreateWithoutSnapshotInput = {
|
|
770
|
+
logId: string
|
|
771
|
+
harness?: string | null
|
|
772
|
+
affinity?: string | null
|
|
773
|
+
epoch?: number
|
|
774
|
+
ownerId?: string | null
|
|
775
|
+
ownerExpiresAt?: Date | string | null
|
|
776
|
+
released?: boolean
|
|
777
|
+
wakeAt?: Date | string | null
|
|
778
|
+
firstSeq?: number
|
|
779
|
+
deletedAt?: Date | string | null
|
|
780
|
+
createdAt?: Date | string
|
|
781
|
+
updatedAt?: Date | string
|
|
782
|
+
entries?: Prisma.HarnessLogEntryUncheckedCreateNestedManyWithoutHeaderInput
|
|
783
|
+
offers?: Prisma.HarnessLogOfferUncheckedCreateNestedManyWithoutHeaderInput
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
export type HarnessLogHeaderCreateOrConnectWithoutSnapshotInput = {
|
|
787
|
+
where: Prisma.HarnessLogHeaderWhereUniqueInput
|
|
788
|
+
create: Prisma.XOR<Prisma.HarnessLogHeaderCreateWithoutSnapshotInput, Prisma.HarnessLogHeaderUncheckedCreateWithoutSnapshotInput>
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
export type HarnessLogHeaderUpsertWithoutSnapshotInput = {
|
|
792
|
+
update: Prisma.XOR<Prisma.HarnessLogHeaderUpdateWithoutSnapshotInput, Prisma.HarnessLogHeaderUncheckedUpdateWithoutSnapshotInput>
|
|
793
|
+
create: Prisma.XOR<Prisma.HarnessLogHeaderCreateWithoutSnapshotInput, Prisma.HarnessLogHeaderUncheckedCreateWithoutSnapshotInput>
|
|
794
|
+
where?: Prisma.HarnessLogHeaderWhereInput
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
export type HarnessLogHeaderUpdateToOneWithWhereWithoutSnapshotInput = {
|
|
798
|
+
where?: Prisma.HarnessLogHeaderWhereInput
|
|
799
|
+
data: Prisma.XOR<Prisma.HarnessLogHeaderUpdateWithoutSnapshotInput, Prisma.HarnessLogHeaderUncheckedUpdateWithoutSnapshotInput>
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
export type HarnessLogHeaderUpdateWithoutSnapshotInput = {
|
|
803
|
+
logId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
804
|
+
harness?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
805
|
+
affinity?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
806
|
+
epoch?: Prisma.IntFieldUpdateOperationsInput | number
|
|
807
|
+
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
808
|
+
ownerExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
809
|
+
released?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
810
|
+
wakeAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
811
|
+
firstSeq?: Prisma.IntFieldUpdateOperationsInput | number
|
|
812
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
813
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
814
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
815
|
+
entries?: Prisma.HarnessLogEntryUpdateManyWithoutHeaderNestedInput
|
|
816
|
+
offers?: Prisma.HarnessLogOfferUpdateManyWithoutHeaderNestedInput
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
export type HarnessLogHeaderUncheckedUpdateWithoutSnapshotInput = {
|
|
820
|
+
logId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
821
|
+
harness?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
822
|
+
affinity?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
823
|
+
epoch?: Prisma.IntFieldUpdateOperationsInput | number
|
|
824
|
+
ownerId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
825
|
+
ownerExpiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
826
|
+
released?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
827
|
+
wakeAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
828
|
+
firstSeq?: Prisma.IntFieldUpdateOperationsInput | number
|
|
829
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
830
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
831
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
832
|
+
entries?: Prisma.HarnessLogEntryUncheckedUpdateManyWithoutHeaderNestedInput
|
|
833
|
+
offers?: Prisma.HarnessLogOfferUncheckedUpdateManyWithoutHeaderNestedInput
|
|
834
|
+
}
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
/**
|
|
838
|
+
* Count Type HarnessLogHeaderCountOutputType
|
|
839
|
+
*/
|
|
840
|
+
|
|
841
|
+
export type HarnessLogHeaderCountOutputType = {
|
|
842
|
+
entries: number
|
|
843
|
+
offers: number
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
export type HarnessLogHeaderCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
847
|
+
entries?: boolean | HarnessLogHeaderCountOutputTypeCountEntriesArgs
|
|
848
|
+
offers?: boolean | HarnessLogHeaderCountOutputTypeCountOffersArgs
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
/**
|
|
852
|
+
* HarnessLogHeaderCountOutputType without action
|
|
853
|
+
*/
|
|
854
|
+
export type HarnessLogHeaderCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
855
|
+
/**
|
|
856
|
+
* Select specific fields to fetch from the HarnessLogHeaderCountOutputType
|
|
857
|
+
*/
|
|
858
|
+
select?: Prisma.HarnessLogHeaderCountOutputTypeSelect<ExtArgs> | null
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
/**
|
|
862
|
+
* HarnessLogHeaderCountOutputType without action
|
|
863
|
+
*/
|
|
864
|
+
export type HarnessLogHeaderCountOutputTypeCountEntriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
865
|
+
where?: Prisma.HarnessLogEntryWhereInput
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
/**
|
|
869
|
+
* HarnessLogHeaderCountOutputType without action
|
|
870
|
+
*/
|
|
871
|
+
export type HarnessLogHeaderCountOutputTypeCountOffersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
872
|
+
where?: Prisma.HarnessLogOfferWhereInput
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
|
|
876
|
+
export type HarnessLogHeaderSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
877
|
+
logId?: boolean
|
|
878
|
+
harness?: boolean
|
|
879
|
+
affinity?: boolean
|
|
880
|
+
epoch?: boolean
|
|
881
|
+
ownerId?: boolean
|
|
882
|
+
ownerExpiresAt?: boolean
|
|
883
|
+
released?: boolean
|
|
884
|
+
wakeAt?: boolean
|
|
885
|
+
firstSeq?: boolean
|
|
886
|
+
deletedAt?: boolean
|
|
887
|
+
createdAt?: boolean
|
|
888
|
+
updatedAt?: boolean
|
|
889
|
+
entries?: boolean | Prisma.HarnessLogHeader$entriesArgs<ExtArgs>
|
|
890
|
+
offers?: boolean | Prisma.HarnessLogHeader$offersArgs<ExtArgs>
|
|
891
|
+
snapshot?: boolean | Prisma.HarnessLogHeader$snapshotArgs<ExtArgs>
|
|
892
|
+
_count?: boolean | Prisma.HarnessLogHeaderCountOutputTypeDefaultArgs<ExtArgs>
|
|
893
|
+
}, ExtArgs["result"]["harnessLogHeader"]>
|
|
894
|
+
|
|
895
|
+
export type HarnessLogHeaderSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
896
|
+
logId?: boolean
|
|
897
|
+
harness?: boolean
|
|
898
|
+
affinity?: boolean
|
|
899
|
+
epoch?: boolean
|
|
900
|
+
ownerId?: boolean
|
|
901
|
+
ownerExpiresAt?: boolean
|
|
902
|
+
released?: boolean
|
|
903
|
+
wakeAt?: boolean
|
|
904
|
+
firstSeq?: boolean
|
|
905
|
+
deletedAt?: boolean
|
|
906
|
+
createdAt?: boolean
|
|
907
|
+
updatedAt?: boolean
|
|
908
|
+
}, ExtArgs["result"]["harnessLogHeader"]>
|
|
909
|
+
|
|
910
|
+
export type HarnessLogHeaderSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
911
|
+
logId?: boolean
|
|
912
|
+
harness?: boolean
|
|
913
|
+
affinity?: boolean
|
|
914
|
+
epoch?: boolean
|
|
915
|
+
ownerId?: boolean
|
|
916
|
+
ownerExpiresAt?: boolean
|
|
917
|
+
released?: boolean
|
|
918
|
+
wakeAt?: boolean
|
|
919
|
+
firstSeq?: boolean
|
|
920
|
+
deletedAt?: boolean
|
|
921
|
+
createdAt?: boolean
|
|
922
|
+
updatedAt?: boolean
|
|
923
|
+
}, ExtArgs["result"]["harnessLogHeader"]>
|
|
924
|
+
|
|
925
|
+
export type HarnessLogHeaderSelectScalar = {
|
|
926
|
+
logId?: boolean
|
|
927
|
+
harness?: boolean
|
|
928
|
+
affinity?: boolean
|
|
929
|
+
epoch?: boolean
|
|
930
|
+
ownerId?: boolean
|
|
931
|
+
ownerExpiresAt?: boolean
|
|
932
|
+
released?: boolean
|
|
933
|
+
wakeAt?: boolean
|
|
934
|
+
firstSeq?: boolean
|
|
935
|
+
deletedAt?: boolean
|
|
936
|
+
createdAt?: boolean
|
|
937
|
+
updatedAt?: boolean
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
export type HarnessLogHeaderOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"logId" | "harness" | "affinity" | "epoch" | "ownerId" | "ownerExpiresAt" | "released" | "wakeAt" | "firstSeq" | "deletedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["harnessLogHeader"]>
|
|
941
|
+
export type HarnessLogHeaderInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
942
|
+
entries?: boolean | Prisma.HarnessLogHeader$entriesArgs<ExtArgs>
|
|
943
|
+
offers?: boolean | Prisma.HarnessLogHeader$offersArgs<ExtArgs>
|
|
944
|
+
snapshot?: boolean | Prisma.HarnessLogHeader$snapshotArgs<ExtArgs>
|
|
945
|
+
_count?: boolean | Prisma.HarnessLogHeaderCountOutputTypeDefaultArgs<ExtArgs>
|
|
946
|
+
}
|
|
947
|
+
export type HarnessLogHeaderIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
948
|
+
export type HarnessLogHeaderIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
|
|
949
|
+
|
|
950
|
+
export type $HarnessLogHeaderPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
951
|
+
name: "HarnessLogHeader"
|
|
952
|
+
objects: {
|
|
953
|
+
entries: Prisma.$HarnessLogEntryPayload<ExtArgs>[]
|
|
954
|
+
offers: Prisma.$HarnessLogOfferPayload<ExtArgs>[]
|
|
955
|
+
snapshot: Prisma.$HarnessLogSnapshotPayload<ExtArgs> | null
|
|
956
|
+
}
|
|
957
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
958
|
+
logId: string
|
|
959
|
+
/**
|
|
960
|
+
* 运行该 log 的 harness 名(acquireOwnership 写入;首次 offer 时若为空则补)
|
|
961
|
+
*/
|
|
962
|
+
harness: string | null
|
|
963
|
+
/**
|
|
964
|
+
* 该 log 被钉到的 host(= hostId);pinToWorkers 写、null 解钉
|
|
965
|
+
*/
|
|
966
|
+
affinity: string | null
|
|
967
|
+
/**
|
|
968
|
+
* 所有权纪元,单调递增永不下降(fencing);NO_OWNER_EPOCH = 0
|
|
969
|
+
*/
|
|
970
|
+
epoch: number
|
|
971
|
+
ownerId: string | null
|
|
972
|
+
/**
|
|
973
|
+
* 租约到期时刻(存储时钟 = DB now() + ttlMs)
|
|
974
|
+
*/
|
|
975
|
+
ownerExpiresAt: Date | null
|
|
976
|
+
released: boolean
|
|
977
|
+
/**
|
|
978
|
+
* releaseOwnership({ wakeInMs }) 设置的唤醒时刻
|
|
979
|
+
*/
|
|
980
|
+
wakeAt: Date | null
|
|
981
|
+
/**
|
|
982
|
+
* 截断点:第一条仍保留记录的位置(默认 1;truncate 上移,seq 计数不回退)
|
|
983
|
+
*/
|
|
984
|
+
firstSeq: number
|
|
985
|
+
/**
|
|
986
|
+
* 墓碑时刻;非空表示 log 已删除
|
|
987
|
+
*/
|
|
988
|
+
deletedAt: Date | null
|
|
989
|
+
createdAt: Date
|
|
990
|
+
updatedAt: Date
|
|
991
|
+
}, ExtArgs["result"]["harnessLogHeader"]>
|
|
992
|
+
composites: {}
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
export type HarnessLogHeaderGetPayload<S extends boolean | null | undefined | HarnessLogHeaderDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$HarnessLogHeaderPayload, S>
|
|
996
|
+
|
|
997
|
+
export type HarnessLogHeaderCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
998
|
+
Omit<HarnessLogHeaderFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
999
|
+
select?: HarnessLogHeaderCountAggregateInputType | true
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
export interface HarnessLogHeaderDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1003
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['HarnessLogHeader'], meta: { name: 'HarnessLogHeader' } }
|
|
1004
|
+
/**
|
|
1005
|
+
* Find zero or one HarnessLogHeader that matches the filter.
|
|
1006
|
+
* @param {HarnessLogHeaderFindUniqueArgs} args - Arguments to find a HarnessLogHeader
|
|
1007
|
+
* @example
|
|
1008
|
+
* // Get one HarnessLogHeader
|
|
1009
|
+
* const harnessLogHeader = await prisma.harnessLogHeader.findUnique({
|
|
1010
|
+
* where: {
|
|
1011
|
+
* // ... provide filter here
|
|
1012
|
+
* }
|
|
1013
|
+
* })
|
|
1014
|
+
*/
|
|
1015
|
+
findUnique<T extends HarnessLogHeaderFindUniqueArgs>(args: Prisma.SelectSubset<T, HarnessLogHeaderFindUniqueArgs<ExtArgs>>): Prisma.Prisma__HarnessLogHeaderClient<runtime.Types.Result.GetResult<Prisma.$HarnessLogHeaderPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1016
|
+
|
|
1017
|
+
/**
|
|
1018
|
+
* Find one HarnessLogHeader that matches the filter or throw an error with `error.code='P2025'`
|
|
1019
|
+
* if no matches were found.
|
|
1020
|
+
* @param {HarnessLogHeaderFindUniqueOrThrowArgs} args - Arguments to find a HarnessLogHeader
|
|
1021
|
+
* @example
|
|
1022
|
+
* // Get one HarnessLogHeader
|
|
1023
|
+
* const harnessLogHeader = await prisma.harnessLogHeader.findUniqueOrThrow({
|
|
1024
|
+
* where: {
|
|
1025
|
+
* // ... provide filter here
|
|
1026
|
+
* }
|
|
1027
|
+
* })
|
|
1028
|
+
*/
|
|
1029
|
+
findUniqueOrThrow<T extends HarnessLogHeaderFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, HarnessLogHeaderFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__HarnessLogHeaderClient<runtime.Types.Result.GetResult<Prisma.$HarnessLogHeaderPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1030
|
+
|
|
1031
|
+
/**
|
|
1032
|
+
* Find the first HarnessLogHeader that matches the filter.
|
|
1033
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1034
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1035
|
+
* @param {HarnessLogHeaderFindFirstArgs} args - Arguments to find a HarnessLogHeader
|
|
1036
|
+
* @example
|
|
1037
|
+
* // Get one HarnessLogHeader
|
|
1038
|
+
* const harnessLogHeader = await prisma.harnessLogHeader.findFirst({
|
|
1039
|
+
* where: {
|
|
1040
|
+
* // ... provide filter here
|
|
1041
|
+
* }
|
|
1042
|
+
* })
|
|
1043
|
+
*/
|
|
1044
|
+
findFirst<T extends HarnessLogHeaderFindFirstArgs>(args?: Prisma.SelectSubset<T, HarnessLogHeaderFindFirstArgs<ExtArgs>>): Prisma.Prisma__HarnessLogHeaderClient<runtime.Types.Result.GetResult<Prisma.$HarnessLogHeaderPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1045
|
+
|
|
1046
|
+
/**
|
|
1047
|
+
* Find the first HarnessLogHeader that matches the filter or
|
|
1048
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1049
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1050
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1051
|
+
* @param {HarnessLogHeaderFindFirstOrThrowArgs} args - Arguments to find a HarnessLogHeader
|
|
1052
|
+
* @example
|
|
1053
|
+
* // Get one HarnessLogHeader
|
|
1054
|
+
* const harnessLogHeader = await prisma.harnessLogHeader.findFirstOrThrow({
|
|
1055
|
+
* where: {
|
|
1056
|
+
* // ... provide filter here
|
|
1057
|
+
* }
|
|
1058
|
+
* })
|
|
1059
|
+
*/
|
|
1060
|
+
findFirstOrThrow<T extends HarnessLogHeaderFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, HarnessLogHeaderFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__HarnessLogHeaderClient<runtime.Types.Result.GetResult<Prisma.$HarnessLogHeaderPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1061
|
+
|
|
1062
|
+
/**
|
|
1063
|
+
* Find zero or more HarnessLogHeaders that matches the filter.
|
|
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 {HarnessLogHeaderFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1067
|
+
* @example
|
|
1068
|
+
* // Get all HarnessLogHeaders
|
|
1069
|
+
* const harnessLogHeaders = await prisma.harnessLogHeader.findMany()
|
|
1070
|
+
*
|
|
1071
|
+
* // Get first 10 HarnessLogHeaders
|
|
1072
|
+
* const harnessLogHeaders = await prisma.harnessLogHeader.findMany({ take: 10 })
|
|
1073
|
+
*
|
|
1074
|
+
* // Only select the `logId`
|
|
1075
|
+
* const harnessLogHeaderWithLogIdOnly = await prisma.harnessLogHeader.findMany({ select: { logId: true } })
|
|
1076
|
+
*
|
|
1077
|
+
*/
|
|
1078
|
+
findMany<T extends HarnessLogHeaderFindManyArgs>(args?: Prisma.SelectSubset<T, HarnessLogHeaderFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HarnessLogHeaderPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
1079
|
+
|
|
1080
|
+
/**
|
|
1081
|
+
* Create a HarnessLogHeader.
|
|
1082
|
+
* @param {HarnessLogHeaderCreateArgs} args - Arguments to create a HarnessLogHeader.
|
|
1083
|
+
* @example
|
|
1084
|
+
* // Create one HarnessLogHeader
|
|
1085
|
+
* const HarnessLogHeader = await prisma.harnessLogHeader.create({
|
|
1086
|
+
* data: {
|
|
1087
|
+
* // ... data to create a HarnessLogHeader
|
|
1088
|
+
* }
|
|
1089
|
+
* })
|
|
1090
|
+
*
|
|
1091
|
+
*/
|
|
1092
|
+
create<T extends HarnessLogHeaderCreateArgs>(args: Prisma.SelectSubset<T, HarnessLogHeaderCreateArgs<ExtArgs>>): Prisma.Prisma__HarnessLogHeaderClient<runtime.Types.Result.GetResult<Prisma.$HarnessLogHeaderPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1093
|
+
|
|
1094
|
+
/**
|
|
1095
|
+
* Create many HarnessLogHeaders.
|
|
1096
|
+
* @param {HarnessLogHeaderCreateManyArgs} args - Arguments to create many HarnessLogHeaders.
|
|
1097
|
+
* @example
|
|
1098
|
+
* // Create many HarnessLogHeaders
|
|
1099
|
+
* const harnessLogHeader = await prisma.harnessLogHeader.createMany({
|
|
1100
|
+
* data: [
|
|
1101
|
+
* // ... provide data here
|
|
1102
|
+
* ]
|
|
1103
|
+
* })
|
|
1104
|
+
*
|
|
1105
|
+
*/
|
|
1106
|
+
createMany<T extends HarnessLogHeaderCreateManyArgs>(args?: Prisma.SelectSubset<T, HarnessLogHeaderCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1107
|
+
|
|
1108
|
+
/**
|
|
1109
|
+
* Create many HarnessLogHeaders and returns the data saved in the database.
|
|
1110
|
+
* @param {HarnessLogHeaderCreateManyAndReturnArgs} args - Arguments to create many HarnessLogHeaders.
|
|
1111
|
+
* @example
|
|
1112
|
+
* // Create many HarnessLogHeaders
|
|
1113
|
+
* const harnessLogHeader = await prisma.harnessLogHeader.createManyAndReturn({
|
|
1114
|
+
* data: [
|
|
1115
|
+
* // ... provide data here
|
|
1116
|
+
* ]
|
|
1117
|
+
* })
|
|
1118
|
+
*
|
|
1119
|
+
* // Create many HarnessLogHeaders and only return the `logId`
|
|
1120
|
+
* const harnessLogHeaderWithLogIdOnly = await prisma.harnessLogHeader.createManyAndReturn({
|
|
1121
|
+
* select: { logId: true },
|
|
1122
|
+
* data: [
|
|
1123
|
+
* // ... provide data here
|
|
1124
|
+
* ]
|
|
1125
|
+
* })
|
|
1126
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1127
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1128
|
+
*
|
|
1129
|
+
*/
|
|
1130
|
+
createManyAndReturn<T extends HarnessLogHeaderCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, HarnessLogHeaderCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HarnessLogHeaderPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1131
|
+
|
|
1132
|
+
/**
|
|
1133
|
+
* Delete a HarnessLogHeader.
|
|
1134
|
+
* @param {HarnessLogHeaderDeleteArgs} args - Arguments to delete one HarnessLogHeader.
|
|
1135
|
+
* @example
|
|
1136
|
+
* // Delete one HarnessLogHeader
|
|
1137
|
+
* const HarnessLogHeader = await prisma.harnessLogHeader.delete({
|
|
1138
|
+
* where: {
|
|
1139
|
+
* // ... filter to delete one HarnessLogHeader
|
|
1140
|
+
* }
|
|
1141
|
+
* })
|
|
1142
|
+
*
|
|
1143
|
+
*/
|
|
1144
|
+
delete<T extends HarnessLogHeaderDeleteArgs>(args: Prisma.SelectSubset<T, HarnessLogHeaderDeleteArgs<ExtArgs>>): Prisma.Prisma__HarnessLogHeaderClient<runtime.Types.Result.GetResult<Prisma.$HarnessLogHeaderPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1145
|
+
|
|
1146
|
+
/**
|
|
1147
|
+
* Update one HarnessLogHeader.
|
|
1148
|
+
* @param {HarnessLogHeaderUpdateArgs} args - Arguments to update one HarnessLogHeader.
|
|
1149
|
+
* @example
|
|
1150
|
+
* // Update one HarnessLogHeader
|
|
1151
|
+
* const harnessLogHeader = await prisma.harnessLogHeader.update({
|
|
1152
|
+
* where: {
|
|
1153
|
+
* // ... provide filter here
|
|
1154
|
+
* },
|
|
1155
|
+
* data: {
|
|
1156
|
+
* // ... provide data here
|
|
1157
|
+
* }
|
|
1158
|
+
* })
|
|
1159
|
+
*
|
|
1160
|
+
*/
|
|
1161
|
+
update<T extends HarnessLogHeaderUpdateArgs>(args: Prisma.SelectSubset<T, HarnessLogHeaderUpdateArgs<ExtArgs>>): Prisma.Prisma__HarnessLogHeaderClient<runtime.Types.Result.GetResult<Prisma.$HarnessLogHeaderPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1162
|
+
|
|
1163
|
+
/**
|
|
1164
|
+
* Delete zero or more HarnessLogHeaders.
|
|
1165
|
+
* @param {HarnessLogHeaderDeleteManyArgs} args - Arguments to filter HarnessLogHeaders to delete.
|
|
1166
|
+
* @example
|
|
1167
|
+
* // Delete a few HarnessLogHeaders
|
|
1168
|
+
* const { count } = await prisma.harnessLogHeader.deleteMany({
|
|
1169
|
+
* where: {
|
|
1170
|
+
* // ... provide filter here
|
|
1171
|
+
* }
|
|
1172
|
+
* })
|
|
1173
|
+
*
|
|
1174
|
+
*/
|
|
1175
|
+
deleteMany<T extends HarnessLogHeaderDeleteManyArgs>(args?: Prisma.SelectSubset<T, HarnessLogHeaderDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1176
|
+
|
|
1177
|
+
/**
|
|
1178
|
+
* Update zero or more HarnessLogHeaders.
|
|
1179
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1180
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1181
|
+
* @param {HarnessLogHeaderUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1182
|
+
* @example
|
|
1183
|
+
* // Update many HarnessLogHeaders
|
|
1184
|
+
* const harnessLogHeader = await prisma.harnessLogHeader.updateMany({
|
|
1185
|
+
* where: {
|
|
1186
|
+
* // ... provide filter here
|
|
1187
|
+
* },
|
|
1188
|
+
* data: {
|
|
1189
|
+
* // ... provide data here
|
|
1190
|
+
* }
|
|
1191
|
+
* })
|
|
1192
|
+
*
|
|
1193
|
+
*/
|
|
1194
|
+
updateMany<T extends HarnessLogHeaderUpdateManyArgs>(args: Prisma.SelectSubset<T, HarnessLogHeaderUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1195
|
+
|
|
1196
|
+
/**
|
|
1197
|
+
* Update zero or more HarnessLogHeaders and returns the data updated in the database.
|
|
1198
|
+
* @param {HarnessLogHeaderUpdateManyAndReturnArgs} args - Arguments to update many HarnessLogHeaders.
|
|
1199
|
+
* @example
|
|
1200
|
+
* // Update many HarnessLogHeaders
|
|
1201
|
+
* const harnessLogHeader = await prisma.harnessLogHeader.updateManyAndReturn({
|
|
1202
|
+
* where: {
|
|
1203
|
+
* // ... provide filter here
|
|
1204
|
+
* },
|
|
1205
|
+
* data: [
|
|
1206
|
+
* // ... provide data here
|
|
1207
|
+
* ]
|
|
1208
|
+
* })
|
|
1209
|
+
*
|
|
1210
|
+
* // Update zero or more HarnessLogHeaders and only return the `logId`
|
|
1211
|
+
* const harnessLogHeaderWithLogIdOnly = await prisma.harnessLogHeader.updateManyAndReturn({
|
|
1212
|
+
* select: { logId: true },
|
|
1213
|
+
* where: {
|
|
1214
|
+
* // ... provide filter here
|
|
1215
|
+
* },
|
|
1216
|
+
* data: [
|
|
1217
|
+
* // ... provide data here
|
|
1218
|
+
* ]
|
|
1219
|
+
* })
|
|
1220
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1221
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1222
|
+
*
|
|
1223
|
+
*/
|
|
1224
|
+
updateManyAndReturn<T extends HarnessLogHeaderUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, HarnessLogHeaderUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HarnessLogHeaderPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1225
|
+
|
|
1226
|
+
/**
|
|
1227
|
+
* Create or update one HarnessLogHeader.
|
|
1228
|
+
* @param {HarnessLogHeaderUpsertArgs} args - Arguments to update or create a HarnessLogHeader.
|
|
1229
|
+
* @example
|
|
1230
|
+
* // Update or create a HarnessLogHeader
|
|
1231
|
+
* const harnessLogHeader = await prisma.harnessLogHeader.upsert({
|
|
1232
|
+
* create: {
|
|
1233
|
+
* // ... data to create a HarnessLogHeader
|
|
1234
|
+
* },
|
|
1235
|
+
* update: {
|
|
1236
|
+
* // ... in case it already exists, update
|
|
1237
|
+
* },
|
|
1238
|
+
* where: {
|
|
1239
|
+
* // ... the filter for the HarnessLogHeader we want to update
|
|
1240
|
+
* }
|
|
1241
|
+
* })
|
|
1242
|
+
*/
|
|
1243
|
+
upsert<T extends HarnessLogHeaderUpsertArgs>(args: Prisma.SelectSubset<T, HarnessLogHeaderUpsertArgs<ExtArgs>>): Prisma.Prisma__HarnessLogHeaderClient<runtime.Types.Result.GetResult<Prisma.$HarnessLogHeaderPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1244
|
+
|
|
1245
|
+
|
|
1246
|
+
/**
|
|
1247
|
+
* Count the number of HarnessLogHeaders.
|
|
1248
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1249
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1250
|
+
* @param {HarnessLogHeaderCountArgs} args - Arguments to filter HarnessLogHeaders to count.
|
|
1251
|
+
* @example
|
|
1252
|
+
* // Count the number of HarnessLogHeaders
|
|
1253
|
+
* const count = await prisma.harnessLogHeader.count({
|
|
1254
|
+
* where: {
|
|
1255
|
+
* // ... the filter for the HarnessLogHeaders we want to count
|
|
1256
|
+
* }
|
|
1257
|
+
* })
|
|
1258
|
+
**/
|
|
1259
|
+
count<T extends HarnessLogHeaderCountArgs>(
|
|
1260
|
+
args?: Prisma.Subset<T, HarnessLogHeaderCountArgs>,
|
|
1261
|
+
): Prisma.PrismaPromise<
|
|
1262
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
1263
|
+
? T['select'] extends true
|
|
1264
|
+
? number
|
|
1265
|
+
: Prisma.GetScalarType<T['select'], HarnessLogHeaderCountAggregateOutputType>
|
|
1266
|
+
: number
|
|
1267
|
+
>
|
|
1268
|
+
|
|
1269
|
+
/**
|
|
1270
|
+
* Allows you to perform aggregations operations on a HarnessLogHeader.
|
|
1271
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1272
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1273
|
+
* @param {HarnessLogHeaderAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1274
|
+
* @example
|
|
1275
|
+
* // Ordered by age ascending
|
|
1276
|
+
* // Where email contains prisma.io
|
|
1277
|
+
* // Limited to the 10 users
|
|
1278
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1279
|
+
* _avg: {
|
|
1280
|
+
* age: true,
|
|
1281
|
+
* },
|
|
1282
|
+
* where: {
|
|
1283
|
+
* email: {
|
|
1284
|
+
* contains: "prisma.io",
|
|
1285
|
+
* },
|
|
1286
|
+
* },
|
|
1287
|
+
* orderBy: {
|
|
1288
|
+
* age: "asc",
|
|
1289
|
+
* },
|
|
1290
|
+
* take: 10,
|
|
1291
|
+
* })
|
|
1292
|
+
**/
|
|
1293
|
+
aggregate<T extends HarnessLogHeaderAggregateArgs>(args: Prisma.Subset<T, HarnessLogHeaderAggregateArgs>): Prisma.PrismaPromise<GetHarnessLogHeaderAggregateType<T>>
|
|
1294
|
+
|
|
1295
|
+
/**
|
|
1296
|
+
* Group by HarnessLogHeader.
|
|
1297
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1298
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1299
|
+
* @param {HarnessLogHeaderGroupByArgs} args - Group by arguments.
|
|
1300
|
+
* @example
|
|
1301
|
+
* // Group by city, order by createdAt, get count
|
|
1302
|
+
* const result = await prisma.user.groupBy({
|
|
1303
|
+
* by: ['city', 'createdAt'],
|
|
1304
|
+
* orderBy: {
|
|
1305
|
+
* createdAt: true
|
|
1306
|
+
* },
|
|
1307
|
+
* _count: {
|
|
1308
|
+
* _all: true
|
|
1309
|
+
* },
|
|
1310
|
+
* })
|
|
1311
|
+
*
|
|
1312
|
+
**/
|
|
1313
|
+
groupBy<
|
|
1314
|
+
T extends HarnessLogHeaderGroupByArgs,
|
|
1315
|
+
HasSelectOrTake extends Prisma.Or<
|
|
1316
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1317
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1318
|
+
>,
|
|
1319
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1320
|
+
? { orderBy: HarnessLogHeaderGroupByArgs['orderBy'] }
|
|
1321
|
+
: { orderBy?: HarnessLogHeaderGroupByArgs['orderBy'] },
|
|
1322
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1323
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1324
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1325
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1326
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1327
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1328
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
1329
|
+
? `Error: "by" must not be empty.`
|
|
1330
|
+
: HavingValid extends Prisma.False
|
|
1331
|
+
? {
|
|
1332
|
+
[P in HavingFields]: P extends ByFields
|
|
1333
|
+
? never
|
|
1334
|
+
: P extends string
|
|
1335
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1336
|
+
: [
|
|
1337
|
+
Error,
|
|
1338
|
+
'Field ',
|
|
1339
|
+
P,
|
|
1340
|
+
` in "having" needs to be provided in "by"`,
|
|
1341
|
+
]
|
|
1342
|
+
}[HavingFields]
|
|
1343
|
+
: 'take' extends Prisma.Keys<T>
|
|
1344
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1345
|
+
? ByValid extends Prisma.True
|
|
1346
|
+
? {}
|
|
1347
|
+
: {
|
|
1348
|
+
[P in OrderFields]: P extends ByFields
|
|
1349
|
+
? never
|
|
1350
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1351
|
+
}[OrderFields]
|
|
1352
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1353
|
+
: 'skip' extends Prisma.Keys<T>
|
|
1354
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1355
|
+
? ByValid extends Prisma.True
|
|
1356
|
+
? {}
|
|
1357
|
+
: {
|
|
1358
|
+
[P in OrderFields]: P extends ByFields
|
|
1359
|
+
? never
|
|
1360
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1361
|
+
}[OrderFields]
|
|
1362
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1363
|
+
: ByValid extends Prisma.True
|
|
1364
|
+
? {}
|
|
1365
|
+
: {
|
|
1366
|
+
[P in OrderFields]: P extends ByFields
|
|
1367
|
+
? never
|
|
1368
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1369
|
+
}[OrderFields]
|
|
1370
|
+
>(args: Prisma.SubsetIntersection<T, HarnessLogHeaderGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetHarnessLogHeaderGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1371
|
+
/**
|
|
1372
|
+
* Fields of the HarnessLogHeader model
|
|
1373
|
+
*/
|
|
1374
|
+
readonly fields: HarnessLogHeaderFieldRefs;
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1377
|
+
/**
|
|
1378
|
+
* The delegate class that acts as a "Promise-like" for HarnessLogHeader.
|
|
1379
|
+
* Why is this prefixed with `Prisma__`?
|
|
1380
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1381
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1382
|
+
*/
|
|
1383
|
+
export interface Prisma__HarnessLogHeaderClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1384
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1385
|
+
entries<T extends Prisma.HarnessLogHeader$entriesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.HarnessLogHeader$entriesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HarnessLogEntryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1386
|
+
offers<T extends Prisma.HarnessLogHeader$offersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.HarnessLogHeader$offersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HarnessLogOfferPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1387
|
+
snapshot<T extends Prisma.HarnessLogHeader$snapshotArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.HarnessLogHeader$snapshotArgs<ExtArgs>>): Prisma.Prisma__HarnessLogSnapshotClient<runtime.Types.Result.GetResult<Prisma.$HarnessLogSnapshotPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1388
|
+
/**
|
|
1389
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1390
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1391
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1392
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1393
|
+
*/
|
|
1394
|
+
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>
|
|
1395
|
+
/**
|
|
1396
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1397
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1398
|
+
* @returns A Promise for the completion of the callback.
|
|
1399
|
+
*/
|
|
1400
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1401
|
+
/**
|
|
1402
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1403
|
+
* resolved value cannot be modified from the callback.
|
|
1404
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1405
|
+
* @returns A Promise for the completion of the callback.
|
|
1406
|
+
*/
|
|
1407
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1408
|
+
}
|
|
1409
|
+
|
|
1410
|
+
|
|
1411
|
+
|
|
1412
|
+
|
|
1413
|
+
/**
|
|
1414
|
+
* Fields of the HarnessLogHeader model
|
|
1415
|
+
*/
|
|
1416
|
+
export interface HarnessLogHeaderFieldRefs {
|
|
1417
|
+
readonly logId: Prisma.FieldRef<"HarnessLogHeader", 'String'>
|
|
1418
|
+
readonly harness: Prisma.FieldRef<"HarnessLogHeader", 'String'>
|
|
1419
|
+
readonly affinity: Prisma.FieldRef<"HarnessLogHeader", 'String'>
|
|
1420
|
+
readonly epoch: Prisma.FieldRef<"HarnessLogHeader", 'Int'>
|
|
1421
|
+
readonly ownerId: Prisma.FieldRef<"HarnessLogHeader", 'String'>
|
|
1422
|
+
readonly ownerExpiresAt: Prisma.FieldRef<"HarnessLogHeader", 'DateTime'>
|
|
1423
|
+
readonly released: Prisma.FieldRef<"HarnessLogHeader", 'Boolean'>
|
|
1424
|
+
readonly wakeAt: Prisma.FieldRef<"HarnessLogHeader", 'DateTime'>
|
|
1425
|
+
readonly firstSeq: Prisma.FieldRef<"HarnessLogHeader", 'Int'>
|
|
1426
|
+
readonly deletedAt: Prisma.FieldRef<"HarnessLogHeader", 'DateTime'>
|
|
1427
|
+
readonly createdAt: Prisma.FieldRef<"HarnessLogHeader", 'DateTime'>
|
|
1428
|
+
readonly updatedAt: Prisma.FieldRef<"HarnessLogHeader", 'DateTime'>
|
|
1429
|
+
}
|
|
1430
|
+
|
|
1431
|
+
|
|
1432
|
+
// Custom InputTypes
|
|
1433
|
+
/**
|
|
1434
|
+
* HarnessLogHeader findUnique
|
|
1435
|
+
*/
|
|
1436
|
+
export type HarnessLogHeaderFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1437
|
+
/**
|
|
1438
|
+
* Select specific fields to fetch from the HarnessLogHeader
|
|
1439
|
+
*/
|
|
1440
|
+
select?: Prisma.HarnessLogHeaderSelect<ExtArgs> | null
|
|
1441
|
+
/**
|
|
1442
|
+
* Omit specific fields from the HarnessLogHeader
|
|
1443
|
+
*/
|
|
1444
|
+
omit?: Prisma.HarnessLogHeaderOmit<ExtArgs> | null
|
|
1445
|
+
/**
|
|
1446
|
+
* Choose, which related nodes to fetch as well
|
|
1447
|
+
*/
|
|
1448
|
+
include?: Prisma.HarnessLogHeaderInclude<ExtArgs> | null
|
|
1449
|
+
/**
|
|
1450
|
+
* Filter, which HarnessLogHeader to fetch.
|
|
1451
|
+
*/
|
|
1452
|
+
where: Prisma.HarnessLogHeaderWhereUniqueInput
|
|
1453
|
+
}
|
|
1454
|
+
|
|
1455
|
+
/**
|
|
1456
|
+
* HarnessLogHeader findUniqueOrThrow
|
|
1457
|
+
*/
|
|
1458
|
+
export type HarnessLogHeaderFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1459
|
+
/**
|
|
1460
|
+
* Select specific fields to fetch from the HarnessLogHeader
|
|
1461
|
+
*/
|
|
1462
|
+
select?: Prisma.HarnessLogHeaderSelect<ExtArgs> | null
|
|
1463
|
+
/**
|
|
1464
|
+
* Omit specific fields from the HarnessLogHeader
|
|
1465
|
+
*/
|
|
1466
|
+
omit?: Prisma.HarnessLogHeaderOmit<ExtArgs> | null
|
|
1467
|
+
/**
|
|
1468
|
+
* Choose, which related nodes to fetch as well
|
|
1469
|
+
*/
|
|
1470
|
+
include?: Prisma.HarnessLogHeaderInclude<ExtArgs> | null
|
|
1471
|
+
/**
|
|
1472
|
+
* Filter, which HarnessLogHeader to fetch.
|
|
1473
|
+
*/
|
|
1474
|
+
where: Prisma.HarnessLogHeaderWhereUniqueInput
|
|
1475
|
+
}
|
|
1476
|
+
|
|
1477
|
+
/**
|
|
1478
|
+
* HarnessLogHeader findFirst
|
|
1479
|
+
*/
|
|
1480
|
+
export type HarnessLogHeaderFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1481
|
+
/**
|
|
1482
|
+
* Select specific fields to fetch from the HarnessLogHeader
|
|
1483
|
+
*/
|
|
1484
|
+
select?: Prisma.HarnessLogHeaderSelect<ExtArgs> | null
|
|
1485
|
+
/**
|
|
1486
|
+
* Omit specific fields from the HarnessLogHeader
|
|
1487
|
+
*/
|
|
1488
|
+
omit?: Prisma.HarnessLogHeaderOmit<ExtArgs> | null
|
|
1489
|
+
/**
|
|
1490
|
+
* Choose, which related nodes to fetch as well
|
|
1491
|
+
*/
|
|
1492
|
+
include?: Prisma.HarnessLogHeaderInclude<ExtArgs> | null
|
|
1493
|
+
/**
|
|
1494
|
+
* Filter, which HarnessLogHeader to fetch.
|
|
1495
|
+
*/
|
|
1496
|
+
where?: Prisma.HarnessLogHeaderWhereInput
|
|
1497
|
+
/**
|
|
1498
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1499
|
+
*
|
|
1500
|
+
* Determine the order of HarnessLogHeaders to fetch.
|
|
1501
|
+
*/
|
|
1502
|
+
orderBy?: Prisma.HarnessLogHeaderOrderByWithRelationInput | Prisma.HarnessLogHeaderOrderByWithRelationInput[]
|
|
1503
|
+
/**
|
|
1504
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1505
|
+
*
|
|
1506
|
+
* Sets the position for searching for HarnessLogHeaders.
|
|
1507
|
+
*/
|
|
1508
|
+
cursor?: Prisma.HarnessLogHeaderWhereUniqueInput
|
|
1509
|
+
/**
|
|
1510
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1511
|
+
*
|
|
1512
|
+
* Take `±n` HarnessLogHeaders from the position of the cursor.
|
|
1513
|
+
*/
|
|
1514
|
+
take?: number
|
|
1515
|
+
/**
|
|
1516
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1517
|
+
*
|
|
1518
|
+
* Skip the first `n` HarnessLogHeaders.
|
|
1519
|
+
*/
|
|
1520
|
+
skip?: number
|
|
1521
|
+
/**
|
|
1522
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1523
|
+
*
|
|
1524
|
+
* Filter by unique combinations of HarnessLogHeaders.
|
|
1525
|
+
*/
|
|
1526
|
+
distinct?: Prisma.HarnessLogHeaderScalarFieldEnum | Prisma.HarnessLogHeaderScalarFieldEnum[]
|
|
1527
|
+
}
|
|
1528
|
+
|
|
1529
|
+
/**
|
|
1530
|
+
* HarnessLogHeader findFirstOrThrow
|
|
1531
|
+
*/
|
|
1532
|
+
export type HarnessLogHeaderFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1533
|
+
/**
|
|
1534
|
+
* Select specific fields to fetch from the HarnessLogHeader
|
|
1535
|
+
*/
|
|
1536
|
+
select?: Prisma.HarnessLogHeaderSelect<ExtArgs> | null
|
|
1537
|
+
/**
|
|
1538
|
+
* Omit specific fields from the HarnessLogHeader
|
|
1539
|
+
*/
|
|
1540
|
+
omit?: Prisma.HarnessLogHeaderOmit<ExtArgs> | null
|
|
1541
|
+
/**
|
|
1542
|
+
* Choose, which related nodes to fetch as well
|
|
1543
|
+
*/
|
|
1544
|
+
include?: Prisma.HarnessLogHeaderInclude<ExtArgs> | null
|
|
1545
|
+
/**
|
|
1546
|
+
* Filter, which HarnessLogHeader to fetch.
|
|
1547
|
+
*/
|
|
1548
|
+
where?: Prisma.HarnessLogHeaderWhereInput
|
|
1549
|
+
/**
|
|
1550
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1551
|
+
*
|
|
1552
|
+
* Determine the order of HarnessLogHeaders to fetch.
|
|
1553
|
+
*/
|
|
1554
|
+
orderBy?: Prisma.HarnessLogHeaderOrderByWithRelationInput | Prisma.HarnessLogHeaderOrderByWithRelationInput[]
|
|
1555
|
+
/**
|
|
1556
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1557
|
+
*
|
|
1558
|
+
* Sets the position for searching for HarnessLogHeaders.
|
|
1559
|
+
*/
|
|
1560
|
+
cursor?: Prisma.HarnessLogHeaderWhereUniqueInput
|
|
1561
|
+
/**
|
|
1562
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1563
|
+
*
|
|
1564
|
+
* Take `±n` HarnessLogHeaders from the position of the cursor.
|
|
1565
|
+
*/
|
|
1566
|
+
take?: number
|
|
1567
|
+
/**
|
|
1568
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1569
|
+
*
|
|
1570
|
+
* Skip the first `n` HarnessLogHeaders.
|
|
1571
|
+
*/
|
|
1572
|
+
skip?: number
|
|
1573
|
+
/**
|
|
1574
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1575
|
+
*
|
|
1576
|
+
* Filter by unique combinations of HarnessLogHeaders.
|
|
1577
|
+
*/
|
|
1578
|
+
distinct?: Prisma.HarnessLogHeaderScalarFieldEnum | Prisma.HarnessLogHeaderScalarFieldEnum[]
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1581
|
+
/**
|
|
1582
|
+
* HarnessLogHeader findMany
|
|
1583
|
+
*/
|
|
1584
|
+
export type HarnessLogHeaderFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1585
|
+
/**
|
|
1586
|
+
* Select specific fields to fetch from the HarnessLogHeader
|
|
1587
|
+
*/
|
|
1588
|
+
select?: Prisma.HarnessLogHeaderSelect<ExtArgs> | null
|
|
1589
|
+
/**
|
|
1590
|
+
* Omit specific fields from the HarnessLogHeader
|
|
1591
|
+
*/
|
|
1592
|
+
omit?: Prisma.HarnessLogHeaderOmit<ExtArgs> | null
|
|
1593
|
+
/**
|
|
1594
|
+
* Choose, which related nodes to fetch as well
|
|
1595
|
+
*/
|
|
1596
|
+
include?: Prisma.HarnessLogHeaderInclude<ExtArgs> | null
|
|
1597
|
+
/**
|
|
1598
|
+
* Filter, which HarnessLogHeaders to fetch.
|
|
1599
|
+
*/
|
|
1600
|
+
where?: Prisma.HarnessLogHeaderWhereInput
|
|
1601
|
+
/**
|
|
1602
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1603
|
+
*
|
|
1604
|
+
* Determine the order of HarnessLogHeaders to fetch.
|
|
1605
|
+
*/
|
|
1606
|
+
orderBy?: Prisma.HarnessLogHeaderOrderByWithRelationInput | Prisma.HarnessLogHeaderOrderByWithRelationInput[]
|
|
1607
|
+
/**
|
|
1608
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1609
|
+
*
|
|
1610
|
+
* Sets the position for listing HarnessLogHeaders.
|
|
1611
|
+
*/
|
|
1612
|
+
cursor?: Prisma.HarnessLogHeaderWhereUniqueInput
|
|
1613
|
+
/**
|
|
1614
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1615
|
+
*
|
|
1616
|
+
* Take `±n` HarnessLogHeaders from the position of the cursor.
|
|
1617
|
+
*/
|
|
1618
|
+
take?: number
|
|
1619
|
+
/**
|
|
1620
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1621
|
+
*
|
|
1622
|
+
* Skip the first `n` HarnessLogHeaders.
|
|
1623
|
+
*/
|
|
1624
|
+
skip?: number
|
|
1625
|
+
/**
|
|
1626
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1627
|
+
*
|
|
1628
|
+
* Filter by unique combinations of HarnessLogHeaders.
|
|
1629
|
+
*/
|
|
1630
|
+
distinct?: Prisma.HarnessLogHeaderScalarFieldEnum | Prisma.HarnessLogHeaderScalarFieldEnum[]
|
|
1631
|
+
}
|
|
1632
|
+
|
|
1633
|
+
/**
|
|
1634
|
+
* HarnessLogHeader create
|
|
1635
|
+
*/
|
|
1636
|
+
export type HarnessLogHeaderCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1637
|
+
/**
|
|
1638
|
+
* Select specific fields to fetch from the HarnessLogHeader
|
|
1639
|
+
*/
|
|
1640
|
+
select?: Prisma.HarnessLogHeaderSelect<ExtArgs> | null
|
|
1641
|
+
/**
|
|
1642
|
+
* Omit specific fields from the HarnessLogHeader
|
|
1643
|
+
*/
|
|
1644
|
+
omit?: Prisma.HarnessLogHeaderOmit<ExtArgs> | null
|
|
1645
|
+
/**
|
|
1646
|
+
* Choose, which related nodes to fetch as well
|
|
1647
|
+
*/
|
|
1648
|
+
include?: Prisma.HarnessLogHeaderInclude<ExtArgs> | null
|
|
1649
|
+
/**
|
|
1650
|
+
* The data needed to create a HarnessLogHeader.
|
|
1651
|
+
*/
|
|
1652
|
+
data: Prisma.XOR<Prisma.HarnessLogHeaderCreateInput, Prisma.HarnessLogHeaderUncheckedCreateInput>
|
|
1653
|
+
}
|
|
1654
|
+
|
|
1655
|
+
/**
|
|
1656
|
+
* HarnessLogHeader createMany
|
|
1657
|
+
*/
|
|
1658
|
+
export type HarnessLogHeaderCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1659
|
+
/**
|
|
1660
|
+
* The data used to create many HarnessLogHeaders.
|
|
1661
|
+
*/
|
|
1662
|
+
data: Prisma.HarnessLogHeaderCreateManyInput | Prisma.HarnessLogHeaderCreateManyInput[]
|
|
1663
|
+
skipDuplicates?: boolean
|
|
1664
|
+
}
|
|
1665
|
+
|
|
1666
|
+
/**
|
|
1667
|
+
* HarnessLogHeader createManyAndReturn
|
|
1668
|
+
*/
|
|
1669
|
+
export type HarnessLogHeaderCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1670
|
+
/**
|
|
1671
|
+
* Select specific fields to fetch from the HarnessLogHeader
|
|
1672
|
+
*/
|
|
1673
|
+
select?: Prisma.HarnessLogHeaderSelectCreateManyAndReturn<ExtArgs> | null
|
|
1674
|
+
/**
|
|
1675
|
+
* Omit specific fields from the HarnessLogHeader
|
|
1676
|
+
*/
|
|
1677
|
+
omit?: Prisma.HarnessLogHeaderOmit<ExtArgs> | null
|
|
1678
|
+
/**
|
|
1679
|
+
* The data used to create many HarnessLogHeaders.
|
|
1680
|
+
*/
|
|
1681
|
+
data: Prisma.HarnessLogHeaderCreateManyInput | Prisma.HarnessLogHeaderCreateManyInput[]
|
|
1682
|
+
skipDuplicates?: boolean
|
|
1683
|
+
}
|
|
1684
|
+
|
|
1685
|
+
/**
|
|
1686
|
+
* HarnessLogHeader update
|
|
1687
|
+
*/
|
|
1688
|
+
export type HarnessLogHeaderUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1689
|
+
/**
|
|
1690
|
+
* Select specific fields to fetch from the HarnessLogHeader
|
|
1691
|
+
*/
|
|
1692
|
+
select?: Prisma.HarnessLogHeaderSelect<ExtArgs> | null
|
|
1693
|
+
/**
|
|
1694
|
+
* Omit specific fields from the HarnessLogHeader
|
|
1695
|
+
*/
|
|
1696
|
+
omit?: Prisma.HarnessLogHeaderOmit<ExtArgs> | null
|
|
1697
|
+
/**
|
|
1698
|
+
* Choose, which related nodes to fetch as well
|
|
1699
|
+
*/
|
|
1700
|
+
include?: Prisma.HarnessLogHeaderInclude<ExtArgs> | null
|
|
1701
|
+
/**
|
|
1702
|
+
* The data needed to update a HarnessLogHeader.
|
|
1703
|
+
*/
|
|
1704
|
+
data: Prisma.XOR<Prisma.HarnessLogHeaderUpdateInput, Prisma.HarnessLogHeaderUncheckedUpdateInput>
|
|
1705
|
+
/**
|
|
1706
|
+
* Choose, which HarnessLogHeader to update.
|
|
1707
|
+
*/
|
|
1708
|
+
where: Prisma.HarnessLogHeaderWhereUniqueInput
|
|
1709
|
+
}
|
|
1710
|
+
|
|
1711
|
+
/**
|
|
1712
|
+
* HarnessLogHeader updateMany
|
|
1713
|
+
*/
|
|
1714
|
+
export type HarnessLogHeaderUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1715
|
+
/**
|
|
1716
|
+
* The data used to update HarnessLogHeaders.
|
|
1717
|
+
*/
|
|
1718
|
+
data: Prisma.XOR<Prisma.HarnessLogHeaderUpdateManyMutationInput, Prisma.HarnessLogHeaderUncheckedUpdateManyInput>
|
|
1719
|
+
/**
|
|
1720
|
+
* Filter which HarnessLogHeaders to update
|
|
1721
|
+
*/
|
|
1722
|
+
where?: Prisma.HarnessLogHeaderWhereInput
|
|
1723
|
+
/**
|
|
1724
|
+
* Limit how many HarnessLogHeaders to update.
|
|
1725
|
+
*/
|
|
1726
|
+
limit?: number
|
|
1727
|
+
}
|
|
1728
|
+
|
|
1729
|
+
/**
|
|
1730
|
+
* HarnessLogHeader updateManyAndReturn
|
|
1731
|
+
*/
|
|
1732
|
+
export type HarnessLogHeaderUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1733
|
+
/**
|
|
1734
|
+
* Select specific fields to fetch from the HarnessLogHeader
|
|
1735
|
+
*/
|
|
1736
|
+
select?: Prisma.HarnessLogHeaderSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1737
|
+
/**
|
|
1738
|
+
* Omit specific fields from the HarnessLogHeader
|
|
1739
|
+
*/
|
|
1740
|
+
omit?: Prisma.HarnessLogHeaderOmit<ExtArgs> | null
|
|
1741
|
+
/**
|
|
1742
|
+
* The data used to update HarnessLogHeaders.
|
|
1743
|
+
*/
|
|
1744
|
+
data: Prisma.XOR<Prisma.HarnessLogHeaderUpdateManyMutationInput, Prisma.HarnessLogHeaderUncheckedUpdateManyInput>
|
|
1745
|
+
/**
|
|
1746
|
+
* Filter which HarnessLogHeaders to update
|
|
1747
|
+
*/
|
|
1748
|
+
where?: Prisma.HarnessLogHeaderWhereInput
|
|
1749
|
+
/**
|
|
1750
|
+
* Limit how many HarnessLogHeaders to update.
|
|
1751
|
+
*/
|
|
1752
|
+
limit?: number
|
|
1753
|
+
}
|
|
1754
|
+
|
|
1755
|
+
/**
|
|
1756
|
+
* HarnessLogHeader upsert
|
|
1757
|
+
*/
|
|
1758
|
+
export type HarnessLogHeaderUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1759
|
+
/**
|
|
1760
|
+
* Select specific fields to fetch from the HarnessLogHeader
|
|
1761
|
+
*/
|
|
1762
|
+
select?: Prisma.HarnessLogHeaderSelect<ExtArgs> | null
|
|
1763
|
+
/**
|
|
1764
|
+
* Omit specific fields from the HarnessLogHeader
|
|
1765
|
+
*/
|
|
1766
|
+
omit?: Prisma.HarnessLogHeaderOmit<ExtArgs> | null
|
|
1767
|
+
/**
|
|
1768
|
+
* Choose, which related nodes to fetch as well
|
|
1769
|
+
*/
|
|
1770
|
+
include?: Prisma.HarnessLogHeaderInclude<ExtArgs> | null
|
|
1771
|
+
/**
|
|
1772
|
+
* The filter to search for the HarnessLogHeader to update in case it exists.
|
|
1773
|
+
*/
|
|
1774
|
+
where: Prisma.HarnessLogHeaderWhereUniqueInput
|
|
1775
|
+
/**
|
|
1776
|
+
* In case the HarnessLogHeader found by the `where` argument doesn't exist, create a new HarnessLogHeader with this data.
|
|
1777
|
+
*/
|
|
1778
|
+
create: Prisma.XOR<Prisma.HarnessLogHeaderCreateInput, Prisma.HarnessLogHeaderUncheckedCreateInput>
|
|
1779
|
+
/**
|
|
1780
|
+
* In case the HarnessLogHeader was found with the provided `where` argument, update it with this data.
|
|
1781
|
+
*/
|
|
1782
|
+
update: Prisma.XOR<Prisma.HarnessLogHeaderUpdateInput, Prisma.HarnessLogHeaderUncheckedUpdateInput>
|
|
1783
|
+
}
|
|
1784
|
+
|
|
1785
|
+
/**
|
|
1786
|
+
* HarnessLogHeader delete
|
|
1787
|
+
*/
|
|
1788
|
+
export type HarnessLogHeaderDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1789
|
+
/**
|
|
1790
|
+
* Select specific fields to fetch from the HarnessLogHeader
|
|
1791
|
+
*/
|
|
1792
|
+
select?: Prisma.HarnessLogHeaderSelect<ExtArgs> | null
|
|
1793
|
+
/**
|
|
1794
|
+
* Omit specific fields from the HarnessLogHeader
|
|
1795
|
+
*/
|
|
1796
|
+
omit?: Prisma.HarnessLogHeaderOmit<ExtArgs> | null
|
|
1797
|
+
/**
|
|
1798
|
+
* Choose, which related nodes to fetch as well
|
|
1799
|
+
*/
|
|
1800
|
+
include?: Prisma.HarnessLogHeaderInclude<ExtArgs> | null
|
|
1801
|
+
/**
|
|
1802
|
+
* Filter which HarnessLogHeader to delete.
|
|
1803
|
+
*/
|
|
1804
|
+
where: Prisma.HarnessLogHeaderWhereUniqueInput
|
|
1805
|
+
}
|
|
1806
|
+
|
|
1807
|
+
/**
|
|
1808
|
+
* HarnessLogHeader deleteMany
|
|
1809
|
+
*/
|
|
1810
|
+
export type HarnessLogHeaderDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1811
|
+
/**
|
|
1812
|
+
* Filter which HarnessLogHeaders to delete
|
|
1813
|
+
*/
|
|
1814
|
+
where?: Prisma.HarnessLogHeaderWhereInput
|
|
1815
|
+
/**
|
|
1816
|
+
* Limit how many HarnessLogHeaders to delete.
|
|
1817
|
+
*/
|
|
1818
|
+
limit?: number
|
|
1819
|
+
}
|
|
1820
|
+
|
|
1821
|
+
/**
|
|
1822
|
+
* HarnessLogHeader.entries
|
|
1823
|
+
*/
|
|
1824
|
+
export type HarnessLogHeader$entriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1825
|
+
/**
|
|
1826
|
+
* Select specific fields to fetch from the HarnessLogEntry
|
|
1827
|
+
*/
|
|
1828
|
+
select?: Prisma.HarnessLogEntrySelect<ExtArgs> | null
|
|
1829
|
+
/**
|
|
1830
|
+
* Omit specific fields from the HarnessLogEntry
|
|
1831
|
+
*/
|
|
1832
|
+
omit?: Prisma.HarnessLogEntryOmit<ExtArgs> | null
|
|
1833
|
+
/**
|
|
1834
|
+
* Choose, which related nodes to fetch as well
|
|
1835
|
+
*/
|
|
1836
|
+
include?: Prisma.HarnessLogEntryInclude<ExtArgs> | null
|
|
1837
|
+
where?: Prisma.HarnessLogEntryWhereInput
|
|
1838
|
+
orderBy?: Prisma.HarnessLogEntryOrderByWithRelationInput | Prisma.HarnessLogEntryOrderByWithRelationInput[]
|
|
1839
|
+
cursor?: Prisma.HarnessLogEntryWhereUniqueInput
|
|
1840
|
+
take?: number
|
|
1841
|
+
skip?: number
|
|
1842
|
+
distinct?: Prisma.HarnessLogEntryScalarFieldEnum | Prisma.HarnessLogEntryScalarFieldEnum[]
|
|
1843
|
+
}
|
|
1844
|
+
|
|
1845
|
+
/**
|
|
1846
|
+
* HarnessLogHeader.offers
|
|
1847
|
+
*/
|
|
1848
|
+
export type HarnessLogHeader$offersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1849
|
+
/**
|
|
1850
|
+
* Select specific fields to fetch from the HarnessLogOffer
|
|
1851
|
+
*/
|
|
1852
|
+
select?: Prisma.HarnessLogOfferSelect<ExtArgs> | null
|
|
1853
|
+
/**
|
|
1854
|
+
* Omit specific fields from the HarnessLogOffer
|
|
1855
|
+
*/
|
|
1856
|
+
omit?: Prisma.HarnessLogOfferOmit<ExtArgs> | null
|
|
1857
|
+
/**
|
|
1858
|
+
* Choose, which related nodes to fetch as well
|
|
1859
|
+
*/
|
|
1860
|
+
include?: Prisma.HarnessLogOfferInclude<ExtArgs> | null
|
|
1861
|
+
where?: Prisma.HarnessLogOfferWhereInput
|
|
1862
|
+
orderBy?: Prisma.HarnessLogOfferOrderByWithRelationInput | Prisma.HarnessLogOfferOrderByWithRelationInput[]
|
|
1863
|
+
cursor?: Prisma.HarnessLogOfferWhereUniqueInput
|
|
1864
|
+
take?: number
|
|
1865
|
+
skip?: number
|
|
1866
|
+
distinct?: Prisma.HarnessLogOfferScalarFieldEnum | Prisma.HarnessLogOfferScalarFieldEnum[]
|
|
1867
|
+
}
|
|
1868
|
+
|
|
1869
|
+
/**
|
|
1870
|
+
* HarnessLogHeader.snapshot
|
|
1871
|
+
*/
|
|
1872
|
+
export type HarnessLogHeader$snapshotArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1873
|
+
/**
|
|
1874
|
+
* Select specific fields to fetch from the HarnessLogSnapshot
|
|
1875
|
+
*/
|
|
1876
|
+
select?: Prisma.HarnessLogSnapshotSelect<ExtArgs> | null
|
|
1877
|
+
/**
|
|
1878
|
+
* Omit specific fields from the HarnessLogSnapshot
|
|
1879
|
+
*/
|
|
1880
|
+
omit?: Prisma.HarnessLogSnapshotOmit<ExtArgs> | null
|
|
1881
|
+
/**
|
|
1882
|
+
* Choose, which related nodes to fetch as well
|
|
1883
|
+
*/
|
|
1884
|
+
include?: Prisma.HarnessLogSnapshotInclude<ExtArgs> | null
|
|
1885
|
+
where?: Prisma.HarnessLogSnapshotWhereInput
|
|
1886
|
+
}
|
|
1887
|
+
|
|
1888
|
+
/**
|
|
1889
|
+
* HarnessLogHeader without action
|
|
1890
|
+
*/
|
|
1891
|
+
export type HarnessLogHeaderDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1892
|
+
/**
|
|
1893
|
+
* Select specific fields to fetch from the HarnessLogHeader
|
|
1894
|
+
*/
|
|
1895
|
+
select?: Prisma.HarnessLogHeaderSelect<ExtArgs> | null
|
|
1896
|
+
/**
|
|
1897
|
+
* Omit specific fields from the HarnessLogHeader
|
|
1898
|
+
*/
|
|
1899
|
+
omit?: Prisma.HarnessLogHeaderOmit<ExtArgs> | null
|
|
1900
|
+
/**
|
|
1901
|
+
* Choose, which related nodes to fetch as well
|
|
1902
|
+
*/
|
|
1903
|
+
include?: Prisma.HarnessLogHeaderInclude<ExtArgs> | null
|
|
1904
|
+
}
|