@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,1333 @@
|
|
|
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 `HarnessLogSnapshot` 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 HarnessLogSnapshot
|
|
17
|
+
* LogStore 的最新快照(每 log 至多一条;putSnapshot 整体替换)。
|
|
18
|
+
*/
|
|
19
|
+
export type HarnessLogSnapshotModel = runtime.Types.Result.DefaultSelection<Prisma.$HarnessLogSnapshotPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateHarnessLogSnapshot = {
|
|
22
|
+
_count: HarnessLogSnapshotCountAggregateOutputType | null
|
|
23
|
+
_avg: HarnessLogSnapshotAvgAggregateOutputType | null
|
|
24
|
+
_sum: HarnessLogSnapshotSumAggregateOutputType | null
|
|
25
|
+
_min: HarnessLogSnapshotMinAggregateOutputType | null
|
|
26
|
+
_max: HarnessLogSnapshotMaxAggregateOutputType | null
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type HarnessLogSnapshotAvgAggregateOutputType = {
|
|
30
|
+
seq: number | null
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export type HarnessLogSnapshotSumAggregateOutputType = {
|
|
34
|
+
seq: number | null
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type HarnessLogSnapshotMinAggregateOutputType = {
|
|
38
|
+
logId: string | null
|
|
39
|
+
seq: number | null
|
|
40
|
+
version: string | null
|
|
41
|
+
updatedAt: Date | null
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export type HarnessLogSnapshotMaxAggregateOutputType = {
|
|
45
|
+
logId: string | null
|
|
46
|
+
seq: number | null
|
|
47
|
+
version: string | null
|
|
48
|
+
updatedAt: Date | null
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export type HarnessLogSnapshotCountAggregateOutputType = {
|
|
52
|
+
logId: number
|
|
53
|
+
seq: number
|
|
54
|
+
version: number
|
|
55
|
+
state: number
|
|
56
|
+
updatedAt: number
|
|
57
|
+
_all: number
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
export type HarnessLogSnapshotAvgAggregateInputType = {
|
|
62
|
+
seq?: true
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export type HarnessLogSnapshotSumAggregateInputType = {
|
|
66
|
+
seq?: true
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export type HarnessLogSnapshotMinAggregateInputType = {
|
|
70
|
+
logId?: true
|
|
71
|
+
seq?: true
|
|
72
|
+
version?: true
|
|
73
|
+
updatedAt?: true
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export type HarnessLogSnapshotMaxAggregateInputType = {
|
|
77
|
+
logId?: true
|
|
78
|
+
seq?: true
|
|
79
|
+
version?: true
|
|
80
|
+
updatedAt?: true
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export type HarnessLogSnapshotCountAggregateInputType = {
|
|
84
|
+
logId?: true
|
|
85
|
+
seq?: true
|
|
86
|
+
version?: true
|
|
87
|
+
state?: true
|
|
88
|
+
updatedAt?: true
|
|
89
|
+
_all?: true
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export type HarnessLogSnapshotAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
93
|
+
/**
|
|
94
|
+
* Filter which HarnessLogSnapshot to aggregate.
|
|
95
|
+
*/
|
|
96
|
+
where?: Prisma.HarnessLogSnapshotWhereInput
|
|
97
|
+
/**
|
|
98
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
99
|
+
*
|
|
100
|
+
* Determine the order of HarnessLogSnapshots to fetch.
|
|
101
|
+
*/
|
|
102
|
+
orderBy?: Prisma.HarnessLogSnapshotOrderByWithRelationInput | Prisma.HarnessLogSnapshotOrderByWithRelationInput[]
|
|
103
|
+
/**
|
|
104
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
105
|
+
*
|
|
106
|
+
* Sets the start position
|
|
107
|
+
*/
|
|
108
|
+
cursor?: Prisma.HarnessLogSnapshotWhereUniqueInput
|
|
109
|
+
/**
|
|
110
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
111
|
+
*
|
|
112
|
+
* Take `±n` HarnessLogSnapshots from the position of the cursor.
|
|
113
|
+
*/
|
|
114
|
+
take?: number
|
|
115
|
+
/**
|
|
116
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
117
|
+
*
|
|
118
|
+
* Skip the first `n` HarnessLogSnapshots.
|
|
119
|
+
*/
|
|
120
|
+
skip?: number
|
|
121
|
+
/**
|
|
122
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
123
|
+
*
|
|
124
|
+
* Count returned HarnessLogSnapshots
|
|
125
|
+
**/
|
|
126
|
+
_count?: true | HarnessLogSnapshotCountAggregateInputType
|
|
127
|
+
/**
|
|
128
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
129
|
+
*
|
|
130
|
+
* Select which fields to average
|
|
131
|
+
**/
|
|
132
|
+
_avg?: HarnessLogSnapshotAvgAggregateInputType
|
|
133
|
+
/**
|
|
134
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
135
|
+
*
|
|
136
|
+
* Select which fields to sum
|
|
137
|
+
**/
|
|
138
|
+
_sum?: HarnessLogSnapshotSumAggregateInputType
|
|
139
|
+
/**
|
|
140
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
141
|
+
*
|
|
142
|
+
* Select which fields to find the minimum value
|
|
143
|
+
**/
|
|
144
|
+
_min?: HarnessLogSnapshotMinAggregateInputType
|
|
145
|
+
/**
|
|
146
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
147
|
+
*
|
|
148
|
+
* Select which fields to find the maximum value
|
|
149
|
+
**/
|
|
150
|
+
_max?: HarnessLogSnapshotMaxAggregateInputType
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
export type GetHarnessLogSnapshotAggregateType<T extends HarnessLogSnapshotAggregateArgs> = {
|
|
154
|
+
[P in keyof T & keyof AggregateHarnessLogSnapshot]: P extends '_count' | 'count'
|
|
155
|
+
? T[P] extends true
|
|
156
|
+
? number
|
|
157
|
+
: Prisma.GetScalarType<T[P], AggregateHarnessLogSnapshot[P]>
|
|
158
|
+
: Prisma.GetScalarType<T[P], AggregateHarnessLogSnapshot[P]>
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
export type HarnessLogSnapshotGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
165
|
+
where?: Prisma.HarnessLogSnapshotWhereInput
|
|
166
|
+
orderBy?: Prisma.HarnessLogSnapshotOrderByWithAggregationInput | Prisma.HarnessLogSnapshotOrderByWithAggregationInput[]
|
|
167
|
+
by: Prisma.HarnessLogSnapshotScalarFieldEnum[] | Prisma.HarnessLogSnapshotScalarFieldEnum
|
|
168
|
+
having?: Prisma.HarnessLogSnapshotScalarWhereWithAggregatesInput
|
|
169
|
+
take?: number
|
|
170
|
+
skip?: number
|
|
171
|
+
_count?: HarnessLogSnapshotCountAggregateInputType | true
|
|
172
|
+
_avg?: HarnessLogSnapshotAvgAggregateInputType
|
|
173
|
+
_sum?: HarnessLogSnapshotSumAggregateInputType
|
|
174
|
+
_min?: HarnessLogSnapshotMinAggregateInputType
|
|
175
|
+
_max?: HarnessLogSnapshotMaxAggregateInputType
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
export type HarnessLogSnapshotGroupByOutputType = {
|
|
179
|
+
logId: string
|
|
180
|
+
seq: number
|
|
181
|
+
version: string
|
|
182
|
+
state: runtime.JsonValue
|
|
183
|
+
updatedAt: Date
|
|
184
|
+
_count: HarnessLogSnapshotCountAggregateOutputType | null
|
|
185
|
+
_avg: HarnessLogSnapshotAvgAggregateOutputType | null
|
|
186
|
+
_sum: HarnessLogSnapshotSumAggregateOutputType | null
|
|
187
|
+
_min: HarnessLogSnapshotMinAggregateOutputType | null
|
|
188
|
+
_max: HarnessLogSnapshotMaxAggregateOutputType | null
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export type GetHarnessLogSnapshotGroupByPayload<T extends HarnessLogSnapshotGroupByArgs> = Prisma.PrismaPromise<
|
|
192
|
+
Array<
|
|
193
|
+
Prisma.PickEnumerable<HarnessLogSnapshotGroupByOutputType, T['by']> &
|
|
194
|
+
{
|
|
195
|
+
[P in ((keyof T) & (keyof HarnessLogSnapshotGroupByOutputType))]: P extends '_count'
|
|
196
|
+
? T[P] extends boolean
|
|
197
|
+
? number
|
|
198
|
+
: Prisma.GetScalarType<T[P], HarnessLogSnapshotGroupByOutputType[P]>
|
|
199
|
+
: Prisma.GetScalarType<T[P], HarnessLogSnapshotGroupByOutputType[P]>
|
|
200
|
+
}
|
|
201
|
+
>
|
|
202
|
+
>
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
export type HarnessLogSnapshotWhereInput = {
|
|
207
|
+
AND?: Prisma.HarnessLogSnapshotWhereInput | Prisma.HarnessLogSnapshotWhereInput[]
|
|
208
|
+
OR?: Prisma.HarnessLogSnapshotWhereInput[]
|
|
209
|
+
NOT?: Prisma.HarnessLogSnapshotWhereInput | Prisma.HarnessLogSnapshotWhereInput[]
|
|
210
|
+
logId?: Prisma.StringFilter<"HarnessLogSnapshot"> | string
|
|
211
|
+
seq?: Prisma.IntFilter<"HarnessLogSnapshot"> | number
|
|
212
|
+
version?: Prisma.StringFilter<"HarnessLogSnapshot"> | string
|
|
213
|
+
state?: Prisma.JsonFilter<"HarnessLogSnapshot">
|
|
214
|
+
updatedAt?: Prisma.DateTimeFilter<"HarnessLogSnapshot"> | Date | string
|
|
215
|
+
header?: Prisma.XOR<Prisma.HarnessLogHeaderScalarRelationFilter, Prisma.HarnessLogHeaderWhereInput>
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
export type HarnessLogSnapshotOrderByWithRelationInput = {
|
|
219
|
+
logId?: Prisma.SortOrder
|
|
220
|
+
seq?: Prisma.SortOrder
|
|
221
|
+
version?: Prisma.SortOrder
|
|
222
|
+
state?: Prisma.SortOrder
|
|
223
|
+
updatedAt?: Prisma.SortOrder
|
|
224
|
+
header?: Prisma.HarnessLogHeaderOrderByWithRelationInput
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
export type HarnessLogSnapshotWhereUniqueInput = Prisma.AtLeast<{
|
|
228
|
+
logId?: string
|
|
229
|
+
AND?: Prisma.HarnessLogSnapshotWhereInput | Prisma.HarnessLogSnapshotWhereInput[]
|
|
230
|
+
OR?: Prisma.HarnessLogSnapshotWhereInput[]
|
|
231
|
+
NOT?: Prisma.HarnessLogSnapshotWhereInput | Prisma.HarnessLogSnapshotWhereInput[]
|
|
232
|
+
seq?: Prisma.IntFilter<"HarnessLogSnapshot"> | number
|
|
233
|
+
version?: Prisma.StringFilter<"HarnessLogSnapshot"> | string
|
|
234
|
+
state?: Prisma.JsonFilter<"HarnessLogSnapshot">
|
|
235
|
+
updatedAt?: Prisma.DateTimeFilter<"HarnessLogSnapshot"> | Date | string
|
|
236
|
+
header?: Prisma.XOR<Prisma.HarnessLogHeaderScalarRelationFilter, Prisma.HarnessLogHeaderWhereInput>
|
|
237
|
+
}, "logId">
|
|
238
|
+
|
|
239
|
+
export type HarnessLogSnapshotOrderByWithAggregationInput = {
|
|
240
|
+
logId?: Prisma.SortOrder
|
|
241
|
+
seq?: Prisma.SortOrder
|
|
242
|
+
version?: Prisma.SortOrder
|
|
243
|
+
state?: Prisma.SortOrder
|
|
244
|
+
updatedAt?: Prisma.SortOrder
|
|
245
|
+
_count?: Prisma.HarnessLogSnapshotCountOrderByAggregateInput
|
|
246
|
+
_avg?: Prisma.HarnessLogSnapshotAvgOrderByAggregateInput
|
|
247
|
+
_max?: Prisma.HarnessLogSnapshotMaxOrderByAggregateInput
|
|
248
|
+
_min?: Prisma.HarnessLogSnapshotMinOrderByAggregateInput
|
|
249
|
+
_sum?: Prisma.HarnessLogSnapshotSumOrderByAggregateInput
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
export type HarnessLogSnapshotScalarWhereWithAggregatesInput = {
|
|
253
|
+
AND?: Prisma.HarnessLogSnapshotScalarWhereWithAggregatesInput | Prisma.HarnessLogSnapshotScalarWhereWithAggregatesInput[]
|
|
254
|
+
OR?: Prisma.HarnessLogSnapshotScalarWhereWithAggregatesInput[]
|
|
255
|
+
NOT?: Prisma.HarnessLogSnapshotScalarWhereWithAggregatesInput | Prisma.HarnessLogSnapshotScalarWhereWithAggregatesInput[]
|
|
256
|
+
logId?: Prisma.StringWithAggregatesFilter<"HarnessLogSnapshot"> | string
|
|
257
|
+
seq?: Prisma.IntWithAggregatesFilter<"HarnessLogSnapshot"> | number
|
|
258
|
+
version?: Prisma.StringWithAggregatesFilter<"HarnessLogSnapshot"> | string
|
|
259
|
+
state?: Prisma.JsonWithAggregatesFilter<"HarnessLogSnapshot">
|
|
260
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"HarnessLogSnapshot"> | Date | string
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
export type HarnessLogSnapshotCreateInput = {
|
|
264
|
+
seq: number
|
|
265
|
+
version: string
|
|
266
|
+
state: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
267
|
+
updatedAt?: Date | string
|
|
268
|
+
header: Prisma.HarnessLogHeaderCreateNestedOneWithoutSnapshotInput
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
export type HarnessLogSnapshotUncheckedCreateInput = {
|
|
272
|
+
logId: string
|
|
273
|
+
seq: number
|
|
274
|
+
version: string
|
|
275
|
+
state: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
276
|
+
updatedAt?: Date | string
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
export type HarnessLogSnapshotUpdateInput = {
|
|
280
|
+
seq?: Prisma.IntFieldUpdateOperationsInput | number
|
|
281
|
+
version?: Prisma.StringFieldUpdateOperationsInput | string
|
|
282
|
+
state?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
283
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
284
|
+
header?: Prisma.HarnessLogHeaderUpdateOneRequiredWithoutSnapshotNestedInput
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
export type HarnessLogSnapshotUncheckedUpdateInput = {
|
|
288
|
+
logId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
289
|
+
seq?: Prisma.IntFieldUpdateOperationsInput | number
|
|
290
|
+
version?: Prisma.StringFieldUpdateOperationsInput | string
|
|
291
|
+
state?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
292
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
export type HarnessLogSnapshotCreateManyInput = {
|
|
296
|
+
logId: string
|
|
297
|
+
seq: number
|
|
298
|
+
version: string
|
|
299
|
+
state: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
300
|
+
updatedAt?: Date | string
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
export type HarnessLogSnapshotUpdateManyMutationInput = {
|
|
304
|
+
seq?: Prisma.IntFieldUpdateOperationsInput | number
|
|
305
|
+
version?: Prisma.StringFieldUpdateOperationsInput | string
|
|
306
|
+
state?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
307
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
export type HarnessLogSnapshotUncheckedUpdateManyInput = {
|
|
311
|
+
logId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
312
|
+
seq?: Prisma.IntFieldUpdateOperationsInput | number
|
|
313
|
+
version?: Prisma.StringFieldUpdateOperationsInput | string
|
|
314
|
+
state?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
315
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
export type HarnessLogSnapshotNullableScalarRelationFilter = {
|
|
319
|
+
is?: Prisma.HarnessLogSnapshotWhereInput | null
|
|
320
|
+
isNot?: Prisma.HarnessLogSnapshotWhereInput | null
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
export type HarnessLogSnapshotCountOrderByAggregateInput = {
|
|
324
|
+
logId?: Prisma.SortOrder
|
|
325
|
+
seq?: Prisma.SortOrder
|
|
326
|
+
version?: Prisma.SortOrder
|
|
327
|
+
state?: Prisma.SortOrder
|
|
328
|
+
updatedAt?: Prisma.SortOrder
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
export type HarnessLogSnapshotAvgOrderByAggregateInput = {
|
|
332
|
+
seq?: Prisma.SortOrder
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
export type HarnessLogSnapshotMaxOrderByAggregateInput = {
|
|
336
|
+
logId?: Prisma.SortOrder
|
|
337
|
+
seq?: Prisma.SortOrder
|
|
338
|
+
version?: Prisma.SortOrder
|
|
339
|
+
updatedAt?: Prisma.SortOrder
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
export type HarnessLogSnapshotMinOrderByAggregateInput = {
|
|
343
|
+
logId?: Prisma.SortOrder
|
|
344
|
+
seq?: Prisma.SortOrder
|
|
345
|
+
version?: Prisma.SortOrder
|
|
346
|
+
updatedAt?: Prisma.SortOrder
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
export type HarnessLogSnapshotSumOrderByAggregateInput = {
|
|
350
|
+
seq?: Prisma.SortOrder
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
export type HarnessLogSnapshotCreateNestedOneWithoutHeaderInput = {
|
|
354
|
+
create?: Prisma.XOR<Prisma.HarnessLogSnapshotCreateWithoutHeaderInput, Prisma.HarnessLogSnapshotUncheckedCreateWithoutHeaderInput>
|
|
355
|
+
connectOrCreate?: Prisma.HarnessLogSnapshotCreateOrConnectWithoutHeaderInput
|
|
356
|
+
connect?: Prisma.HarnessLogSnapshotWhereUniqueInput
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
export type HarnessLogSnapshotUncheckedCreateNestedOneWithoutHeaderInput = {
|
|
360
|
+
create?: Prisma.XOR<Prisma.HarnessLogSnapshotCreateWithoutHeaderInput, Prisma.HarnessLogSnapshotUncheckedCreateWithoutHeaderInput>
|
|
361
|
+
connectOrCreate?: Prisma.HarnessLogSnapshotCreateOrConnectWithoutHeaderInput
|
|
362
|
+
connect?: Prisma.HarnessLogSnapshotWhereUniqueInput
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
export type HarnessLogSnapshotUpdateOneWithoutHeaderNestedInput = {
|
|
366
|
+
create?: Prisma.XOR<Prisma.HarnessLogSnapshotCreateWithoutHeaderInput, Prisma.HarnessLogSnapshotUncheckedCreateWithoutHeaderInput>
|
|
367
|
+
connectOrCreate?: Prisma.HarnessLogSnapshotCreateOrConnectWithoutHeaderInput
|
|
368
|
+
upsert?: Prisma.HarnessLogSnapshotUpsertWithoutHeaderInput
|
|
369
|
+
disconnect?: Prisma.HarnessLogSnapshotWhereInput | boolean
|
|
370
|
+
delete?: Prisma.HarnessLogSnapshotWhereInput | boolean
|
|
371
|
+
connect?: Prisma.HarnessLogSnapshotWhereUniqueInput
|
|
372
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.HarnessLogSnapshotUpdateToOneWithWhereWithoutHeaderInput, Prisma.HarnessLogSnapshotUpdateWithoutHeaderInput>, Prisma.HarnessLogSnapshotUncheckedUpdateWithoutHeaderInput>
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
export type HarnessLogSnapshotUncheckedUpdateOneWithoutHeaderNestedInput = {
|
|
376
|
+
create?: Prisma.XOR<Prisma.HarnessLogSnapshotCreateWithoutHeaderInput, Prisma.HarnessLogSnapshotUncheckedCreateWithoutHeaderInput>
|
|
377
|
+
connectOrCreate?: Prisma.HarnessLogSnapshotCreateOrConnectWithoutHeaderInput
|
|
378
|
+
upsert?: Prisma.HarnessLogSnapshotUpsertWithoutHeaderInput
|
|
379
|
+
disconnect?: Prisma.HarnessLogSnapshotWhereInput | boolean
|
|
380
|
+
delete?: Prisma.HarnessLogSnapshotWhereInput | boolean
|
|
381
|
+
connect?: Prisma.HarnessLogSnapshotWhereUniqueInput
|
|
382
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.HarnessLogSnapshotUpdateToOneWithWhereWithoutHeaderInput, Prisma.HarnessLogSnapshotUpdateWithoutHeaderInput>, Prisma.HarnessLogSnapshotUncheckedUpdateWithoutHeaderInput>
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
export type HarnessLogSnapshotCreateWithoutHeaderInput = {
|
|
386
|
+
seq: number
|
|
387
|
+
version: string
|
|
388
|
+
state: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
389
|
+
updatedAt?: Date | string
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
export type HarnessLogSnapshotUncheckedCreateWithoutHeaderInput = {
|
|
393
|
+
seq: number
|
|
394
|
+
version: string
|
|
395
|
+
state: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
396
|
+
updatedAt?: Date | string
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
export type HarnessLogSnapshotCreateOrConnectWithoutHeaderInput = {
|
|
400
|
+
where: Prisma.HarnessLogSnapshotWhereUniqueInput
|
|
401
|
+
create: Prisma.XOR<Prisma.HarnessLogSnapshotCreateWithoutHeaderInput, Prisma.HarnessLogSnapshotUncheckedCreateWithoutHeaderInput>
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
export type HarnessLogSnapshotUpsertWithoutHeaderInput = {
|
|
405
|
+
update: Prisma.XOR<Prisma.HarnessLogSnapshotUpdateWithoutHeaderInput, Prisma.HarnessLogSnapshotUncheckedUpdateWithoutHeaderInput>
|
|
406
|
+
create: Prisma.XOR<Prisma.HarnessLogSnapshotCreateWithoutHeaderInput, Prisma.HarnessLogSnapshotUncheckedCreateWithoutHeaderInput>
|
|
407
|
+
where?: Prisma.HarnessLogSnapshotWhereInput
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
export type HarnessLogSnapshotUpdateToOneWithWhereWithoutHeaderInput = {
|
|
411
|
+
where?: Prisma.HarnessLogSnapshotWhereInput
|
|
412
|
+
data: Prisma.XOR<Prisma.HarnessLogSnapshotUpdateWithoutHeaderInput, Prisma.HarnessLogSnapshotUncheckedUpdateWithoutHeaderInput>
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
export type HarnessLogSnapshotUpdateWithoutHeaderInput = {
|
|
416
|
+
seq?: Prisma.IntFieldUpdateOperationsInput | number
|
|
417
|
+
version?: Prisma.StringFieldUpdateOperationsInput | string
|
|
418
|
+
state?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
419
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
export type HarnessLogSnapshotUncheckedUpdateWithoutHeaderInput = {
|
|
423
|
+
seq?: Prisma.IntFieldUpdateOperationsInput | number
|
|
424
|
+
version?: Prisma.StringFieldUpdateOperationsInput | string
|
|
425
|
+
state?: Prisma.JsonNullValueInput | runtime.InputJsonValue
|
|
426
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
export type HarnessLogSnapshotSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
432
|
+
logId?: boolean
|
|
433
|
+
seq?: boolean
|
|
434
|
+
version?: boolean
|
|
435
|
+
state?: boolean
|
|
436
|
+
updatedAt?: boolean
|
|
437
|
+
header?: boolean | Prisma.HarnessLogHeaderDefaultArgs<ExtArgs>
|
|
438
|
+
}, ExtArgs["result"]["harnessLogSnapshot"]>
|
|
439
|
+
|
|
440
|
+
export type HarnessLogSnapshotSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
441
|
+
logId?: boolean
|
|
442
|
+
seq?: boolean
|
|
443
|
+
version?: boolean
|
|
444
|
+
state?: boolean
|
|
445
|
+
updatedAt?: boolean
|
|
446
|
+
header?: boolean | Prisma.HarnessLogHeaderDefaultArgs<ExtArgs>
|
|
447
|
+
}, ExtArgs["result"]["harnessLogSnapshot"]>
|
|
448
|
+
|
|
449
|
+
export type HarnessLogSnapshotSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
450
|
+
logId?: boolean
|
|
451
|
+
seq?: boolean
|
|
452
|
+
version?: boolean
|
|
453
|
+
state?: boolean
|
|
454
|
+
updatedAt?: boolean
|
|
455
|
+
header?: boolean | Prisma.HarnessLogHeaderDefaultArgs<ExtArgs>
|
|
456
|
+
}, ExtArgs["result"]["harnessLogSnapshot"]>
|
|
457
|
+
|
|
458
|
+
export type HarnessLogSnapshotSelectScalar = {
|
|
459
|
+
logId?: boolean
|
|
460
|
+
seq?: boolean
|
|
461
|
+
version?: boolean
|
|
462
|
+
state?: boolean
|
|
463
|
+
updatedAt?: boolean
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
export type HarnessLogSnapshotOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"logId" | "seq" | "version" | "state" | "updatedAt", ExtArgs["result"]["harnessLogSnapshot"]>
|
|
467
|
+
export type HarnessLogSnapshotInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
468
|
+
header?: boolean | Prisma.HarnessLogHeaderDefaultArgs<ExtArgs>
|
|
469
|
+
}
|
|
470
|
+
export type HarnessLogSnapshotIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
471
|
+
header?: boolean | Prisma.HarnessLogHeaderDefaultArgs<ExtArgs>
|
|
472
|
+
}
|
|
473
|
+
export type HarnessLogSnapshotIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
474
|
+
header?: boolean | Prisma.HarnessLogHeaderDefaultArgs<ExtArgs>
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
export type $HarnessLogSnapshotPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
478
|
+
name: "HarnessLogSnapshot"
|
|
479
|
+
objects: {
|
|
480
|
+
header: Prisma.$HarnessLogHeaderPayload<ExtArgs>
|
|
481
|
+
}
|
|
482
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
483
|
+
logId: string
|
|
484
|
+
seq: number
|
|
485
|
+
version: string
|
|
486
|
+
state: runtime.JsonValue
|
|
487
|
+
updatedAt: Date
|
|
488
|
+
}, ExtArgs["result"]["harnessLogSnapshot"]>
|
|
489
|
+
composites: {}
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
export type HarnessLogSnapshotGetPayload<S extends boolean | null | undefined | HarnessLogSnapshotDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$HarnessLogSnapshotPayload, S>
|
|
493
|
+
|
|
494
|
+
export type HarnessLogSnapshotCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
495
|
+
Omit<HarnessLogSnapshotFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
496
|
+
select?: HarnessLogSnapshotCountAggregateInputType | true
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
export interface HarnessLogSnapshotDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
500
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['HarnessLogSnapshot'], meta: { name: 'HarnessLogSnapshot' } }
|
|
501
|
+
/**
|
|
502
|
+
* Find zero or one HarnessLogSnapshot that matches the filter.
|
|
503
|
+
* @param {HarnessLogSnapshotFindUniqueArgs} args - Arguments to find a HarnessLogSnapshot
|
|
504
|
+
* @example
|
|
505
|
+
* // Get one HarnessLogSnapshot
|
|
506
|
+
* const harnessLogSnapshot = await prisma.harnessLogSnapshot.findUnique({
|
|
507
|
+
* where: {
|
|
508
|
+
* // ... provide filter here
|
|
509
|
+
* }
|
|
510
|
+
* })
|
|
511
|
+
*/
|
|
512
|
+
findUnique<T extends HarnessLogSnapshotFindUniqueArgs>(args: Prisma.SelectSubset<T, HarnessLogSnapshotFindUniqueArgs<ExtArgs>>): Prisma.Prisma__HarnessLogSnapshotClient<runtime.Types.Result.GetResult<Prisma.$HarnessLogSnapshotPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* Find one HarnessLogSnapshot that matches the filter or throw an error with `error.code='P2025'`
|
|
516
|
+
* if no matches were found.
|
|
517
|
+
* @param {HarnessLogSnapshotFindUniqueOrThrowArgs} args - Arguments to find a HarnessLogSnapshot
|
|
518
|
+
* @example
|
|
519
|
+
* // Get one HarnessLogSnapshot
|
|
520
|
+
* const harnessLogSnapshot = await prisma.harnessLogSnapshot.findUniqueOrThrow({
|
|
521
|
+
* where: {
|
|
522
|
+
* // ... provide filter here
|
|
523
|
+
* }
|
|
524
|
+
* })
|
|
525
|
+
*/
|
|
526
|
+
findUniqueOrThrow<T extends HarnessLogSnapshotFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, HarnessLogSnapshotFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__HarnessLogSnapshotClient<runtime.Types.Result.GetResult<Prisma.$HarnessLogSnapshotPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* Find the first HarnessLogSnapshot that matches the filter.
|
|
530
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
531
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
532
|
+
* @param {HarnessLogSnapshotFindFirstArgs} args - Arguments to find a HarnessLogSnapshot
|
|
533
|
+
* @example
|
|
534
|
+
* // Get one HarnessLogSnapshot
|
|
535
|
+
* const harnessLogSnapshot = await prisma.harnessLogSnapshot.findFirst({
|
|
536
|
+
* where: {
|
|
537
|
+
* // ... provide filter here
|
|
538
|
+
* }
|
|
539
|
+
* })
|
|
540
|
+
*/
|
|
541
|
+
findFirst<T extends HarnessLogSnapshotFindFirstArgs>(args?: Prisma.SelectSubset<T, HarnessLogSnapshotFindFirstArgs<ExtArgs>>): Prisma.Prisma__HarnessLogSnapshotClient<runtime.Types.Result.GetResult<Prisma.$HarnessLogSnapshotPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
542
|
+
|
|
543
|
+
/**
|
|
544
|
+
* Find the first HarnessLogSnapshot that matches the filter or
|
|
545
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
546
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
547
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
548
|
+
* @param {HarnessLogSnapshotFindFirstOrThrowArgs} args - Arguments to find a HarnessLogSnapshot
|
|
549
|
+
* @example
|
|
550
|
+
* // Get one HarnessLogSnapshot
|
|
551
|
+
* const harnessLogSnapshot = await prisma.harnessLogSnapshot.findFirstOrThrow({
|
|
552
|
+
* where: {
|
|
553
|
+
* // ... provide filter here
|
|
554
|
+
* }
|
|
555
|
+
* })
|
|
556
|
+
*/
|
|
557
|
+
findFirstOrThrow<T extends HarnessLogSnapshotFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, HarnessLogSnapshotFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__HarnessLogSnapshotClient<runtime.Types.Result.GetResult<Prisma.$HarnessLogSnapshotPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* Find zero or more HarnessLogSnapshots that matches the filter.
|
|
561
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
562
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
563
|
+
* @param {HarnessLogSnapshotFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
564
|
+
* @example
|
|
565
|
+
* // Get all HarnessLogSnapshots
|
|
566
|
+
* const harnessLogSnapshots = await prisma.harnessLogSnapshot.findMany()
|
|
567
|
+
*
|
|
568
|
+
* // Get first 10 HarnessLogSnapshots
|
|
569
|
+
* const harnessLogSnapshots = await prisma.harnessLogSnapshot.findMany({ take: 10 })
|
|
570
|
+
*
|
|
571
|
+
* // Only select the `logId`
|
|
572
|
+
* const harnessLogSnapshotWithLogIdOnly = await prisma.harnessLogSnapshot.findMany({ select: { logId: true } })
|
|
573
|
+
*
|
|
574
|
+
*/
|
|
575
|
+
findMany<T extends HarnessLogSnapshotFindManyArgs>(args?: Prisma.SelectSubset<T, HarnessLogSnapshotFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HarnessLogSnapshotPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* Create a HarnessLogSnapshot.
|
|
579
|
+
* @param {HarnessLogSnapshotCreateArgs} args - Arguments to create a HarnessLogSnapshot.
|
|
580
|
+
* @example
|
|
581
|
+
* // Create one HarnessLogSnapshot
|
|
582
|
+
* const HarnessLogSnapshot = await prisma.harnessLogSnapshot.create({
|
|
583
|
+
* data: {
|
|
584
|
+
* // ... data to create a HarnessLogSnapshot
|
|
585
|
+
* }
|
|
586
|
+
* })
|
|
587
|
+
*
|
|
588
|
+
*/
|
|
589
|
+
create<T extends HarnessLogSnapshotCreateArgs>(args: Prisma.SelectSubset<T, HarnessLogSnapshotCreateArgs<ExtArgs>>): Prisma.Prisma__HarnessLogSnapshotClient<runtime.Types.Result.GetResult<Prisma.$HarnessLogSnapshotPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
590
|
+
|
|
591
|
+
/**
|
|
592
|
+
* Create many HarnessLogSnapshots.
|
|
593
|
+
* @param {HarnessLogSnapshotCreateManyArgs} args - Arguments to create many HarnessLogSnapshots.
|
|
594
|
+
* @example
|
|
595
|
+
* // Create many HarnessLogSnapshots
|
|
596
|
+
* const harnessLogSnapshot = await prisma.harnessLogSnapshot.createMany({
|
|
597
|
+
* data: [
|
|
598
|
+
* // ... provide data here
|
|
599
|
+
* ]
|
|
600
|
+
* })
|
|
601
|
+
*
|
|
602
|
+
*/
|
|
603
|
+
createMany<T extends HarnessLogSnapshotCreateManyArgs>(args?: Prisma.SelectSubset<T, HarnessLogSnapshotCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* Create many HarnessLogSnapshots and returns the data saved in the database.
|
|
607
|
+
* @param {HarnessLogSnapshotCreateManyAndReturnArgs} args - Arguments to create many HarnessLogSnapshots.
|
|
608
|
+
* @example
|
|
609
|
+
* // Create many HarnessLogSnapshots
|
|
610
|
+
* const harnessLogSnapshot = await prisma.harnessLogSnapshot.createManyAndReturn({
|
|
611
|
+
* data: [
|
|
612
|
+
* // ... provide data here
|
|
613
|
+
* ]
|
|
614
|
+
* })
|
|
615
|
+
*
|
|
616
|
+
* // Create many HarnessLogSnapshots and only return the `logId`
|
|
617
|
+
* const harnessLogSnapshotWithLogIdOnly = await prisma.harnessLogSnapshot.createManyAndReturn({
|
|
618
|
+
* select: { logId: true },
|
|
619
|
+
* data: [
|
|
620
|
+
* // ... provide data here
|
|
621
|
+
* ]
|
|
622
|
+
* })
|
|
623
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
624
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
625
|
+
*
|
|
626
|
+
*/
|
|
627
|
+
createManyAndReturn<T extends HarnessLogSnapshotCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, HarnessLogSnapshotCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HarnessLogSnapshotPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
628
|
+
|
|
629
|
+
/**
|
|
630
|
+
* Delete a HarnessLogSnapshot.
|
|
631
|
+
* @param {HarnessLogSnapshotDeleteArgs} args - Arguments to delete one HarnessLogSnapshot.
|
|
632
|
+
* @example
|
|
633
|
+
* // Delete one HarnessLogSnapshot
|
|
634
|
+
* const HarnessLogSnapshot = await prisma.harnessLogSnapshot.delete({
|
|
635
|
+
* where: {
|
|
636
|
+
* // ... filter to delete one HarnessLogSnapshot
|
|
637
|
+
* }
|
|
638
|
+
* })
|
|
639
|
+
*
|
|
640
|
+
*/
|
|
641
|
+
delete<T extends HarnessLogSnapshotDeleteArgs>(args: Prisma.SelectSubset<T, HarnessLogSnapshotDeleteArgs<ExtArgs>>): Prisma.Prisma__HarnessLogSnapshotClient<runtime.Types.Result.GetResult<Prisma.$HarnessLogSnapshotPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
642
|
+
|
|
643
|
+
/**
|
|
644
|
+
* Update one HarnessLogSnapshot.
|
|
645
|
+
* @param {HarnessLogSnapshotUpdateArgs} args - Arguments to update one HarnessLogSnapshot.
|
|
646
|
+
* @example
|
|
647
|
+
* // Update one HarnessLogSnapshot
|
|
648
|
+
* const harnessLogSnapshot = await prisma.harnessLogSnapshot.update({
|
|
649
|
+
* where: {
|
|
650
|
+
* // ... provide filter here
|
|
651
|
+
* },
|
|
652
|
+
* data: {
|
|
653
|
+
* // ... provide data here
|
|
654
|
+
* }
|
|
655
|
+
* })
|
|
656
|
+
*
|
|
657
|
+
*/
|
|
658
|
+
update<T extends HarnessLogSnapshotUpdateArgs>(args: Prisma.SelectSubset<T, HarnessLogSnapshotUpdateArgs<ExtArgs>>): Prisma.Prisma__HarnessLogSnapshotClient<runtime.Types.Result.GetResult<Prisma.$HarnessLogSnapshotPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
659
|
+
|
|
660
|
+
/**
|
|
661
|
+
* Delete zero or more HarnessLogSnapshots.
|
|
662
|
+
* @param {HarnessLogSnapshotDeleteManyArgs} args - Arguments to filter HarnessLogSnapshots to delete.
|
|
663
|
+
* @example
|
|
664
|
+
* // Delete a few HarnessLogSnapshots
|
|
665
|
+
* const { count } = await prisma.harnessLogSnapshot.deleteMany({
|
|
666
|
+
* where: {
|
|
667
|
+
* // ... provide filter here
|
|
668
|
+
* }
|
|
669
|
+
* })
|
|
670
|
+
*
|
|
671
|
+
*/
|
|
672
|
+
deleteMany<T extends HarnessLogSnapshotDeleteManyArgs>(args?: Prisma.SelectSubset<T, HarnessLogSnapshotDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
673
|
+
|
|
674
|
+
/**
|
|
675
|
+
* Update zero or more HarnessLogSnapshots.
|
|
676
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
677
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
678
|
+
* @param {HarnessLogSnapshotUpdateManyArgs} args - Arguments to update one or more rows.
|
|
679
|
+
* @example
|
|
680
|
+
* // Update many HarnessLogSnapshots
|
|
681
|
+
* const harnessLogSnapshot = await prisma.harnessLogSnapshot.updateMany({
|
|
682
|
+
* where: {
|
|
683
|
+
* // ... provide filter here
|
|
684
|
+
* },
|
|
685
|
+
* data: {
|
|
686
|
+
* // ... provide data here
|
|
687
|
+
* }
|
|
688
|
+
* })
|
|
689
|
+
*
|
|
690
|
+
*/
|
|
691
|
+
updateMany<T extends HarnessLogSnapshotUpdateManyArgs>(args: Prisma.SelectSubset<T, HarnessLogSnapshotUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
692
|
+
|
|
693
|
+
/**
|
|
694
|
+
* Update zero or more HarnessLogSnapshots and returns the data updated in the database.
|
|
695
|
+
* @param {HarnessLogSnapshotUpdateManyAndReturnArgs} args - Arguments to update many HarnessLogSnapshots.
|
|
696
|
+
* @example
|
|
697
|
+
* // Update many HarnessLogSnapshots
|
|
698
|
+
* const harnessLogSnapshot = await prisma.harnessLogSnapshot.updateManyAndReturn({
|
|
699
|
+
* where: {
|
|
700
|
+
* // ... provide filter here
|
|
701
|
+
* },
|
|
702
|
+
* data: [
|
|
703
|
+
* // ... provide data here
|
|
704
|
+
* ]
|
|
705
|
+
* })
|
|
706
|
+
*
|
|
707
|
+
* // Update zero or more HarnessLogSnapshots and only return the `logId`
|
|
708
|
+
* const harnessLogSnapshotWithLogIdOnly = await prisma.harnessLogSnapshot.updateManyAndReturn({
|
|
709
|
+
* select: { logId: true },
|
|
710
|
+
* where: {
|
|
711
|
+
* // ... provide filter here
|
|
712
|
+
* },
|
|
713
|
+
* data: [
|
|
714
|
+
* // ... provide data here
|
|
715
|
+
* ]
|
|
716
|
+
* })
|
|
717
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
718
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
719
|
+
*
|
|
720
|
+
*/
|
|
721
|
+
updateManyAndReturn<T extends HarnessLogSnapshotUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, HarnessLogSnapshotUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$HarnessLogSnapshotPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
722
|
+
|
|
723
|
+
/**
|
|
724
|
+
* Create or update one HarnessLogSnapshot.
|
|
725
|
+
* @param {HarnessLogSnapshotUpsertArgs} args - Arguments to update or create a HarnessLogSnapshot.
|
|
726
|
+
* @example
|
|
727
|
+
* // Update or create a HarnessLogSnapshot
|
|
728
|
+
* const harnessLogSnapshot = await prisma.harnessLogSnapshot.upsert({
|
|
729
|
+
* create: {
|
|
730
|
+
* // ... data to create a HarnessLogSnapshot
|
|
731
|
+
* },
|
|
732
|
+
* update: {
|
|
733
|
+
* // ... in case it already exists, update
|
|
734
|
+
* },
|
|
735
|
+
* where: {
|
|
736
|
+
* // ... the filter for the HarnessLogSnapshot we want to update
|
|
737
|
+
* }
|
|
738
|
+
* })
|
|
739
|
+
*/
|
|
740
|
+
upsert<T extends HarnessLogSnapshotUpsertArgs>(args: Prisma.SelectSubset<T, HarnessLogSnapshotUpsertArgs<ExtArgs>>): Prisma.Prisma__HarnessLogSnapshotClient<runtime.Types.Result.GetResult<Prisma.$HarnessLogSnapshotPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
741
|
+
|
|
742
|
+
|
|
743
|
+
/**
|
|
744
|
+
* Count the number of HarnessLogSnapshots.
|
|
745
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
746
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
747
|
+
* @param {HarnessLogSnapshotCountArgs} args - Arguments to filter HarnessLogSnapshots to count.
|
|
748
|
+
* @example
|
|
749
|
+
* // Count the number of HarnessLogSnapshots
|
|
750
|
+
* const count = await prisma.harnessLogSnapshot.count({
|
|
751
|
+
* where: {
|
|
752
|
+
* // ... the filter for the HarnessLogSnapshots we want to count
|
|
753
|
+
* }
|
|
754
|
+
* })
|
|
755
|
+
**/
|
|
756
|
+
count<T extends HarnessLogSnapshotCountArgs>(
|
|
757
|
+
args?: Prisma.Subset<T, HarnessLogSnapshotCountArgs>,
|
|
758
|
+
): Prisma.PrismaPromise<
|
|
759
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
760
|
+
? T['select'] extends true
|
|
761
|
+
? number
|
|
762
|
+
: Prisma.GetScalarType<T['select'], HarnessLogSnapshotCountAggregateOutputType>
|
|
763
|
+
: number
|
|
764
|
+
>
|
|
765
|
+
|
|
766
|
+
/**
|
|
767
|
+
* Allows you to perform aggregations operations on a HarnessLogSnapshot.
|
|
768
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
769
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
770
|
+
* @param {HarnessLogSnapshotAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
771
|
+
* @example
|
|
772
|
+
* // Ordered by age ascending
|
|
773
|
+
* // Where email contains prisma.io
|
|
774
|
+
* // Limited to the 10 users
|
|
775
|
+
* const aggregations = await prisma.user.aggregate({
|
|
776
|
+
* _avg: {
|
|
777
|
+
* age: true,
|
|
778
|
+
* },
|
|
779
|
+
* where: {
|
|
780
|
+
* email: {
|
|
781
|
+
* contains: "prisma.io",
|
|
782
|
+
* },
|
|
783
|
+
* },
|
|
784
|
+
* orderBy: {
|
|
785
|
+
* age: "asc",
|
|
786
|
+
* },
|
|
787
|
+
* take: 10,
|
|
788
|
+
* })
|
|
789
|
+
**/
|
|
790
|
+
aggregate<T extends HarnessLogSnapshotAggregateArgs>(args: Prisma.Subset<T, HarnessLogSnapshotAggregateArgs>): Prisma.PrismaPromise<GetHarnessLogSnapshotAggregateType<T>>
|
|
791
|
+
|
|
792
|
+
/**
|
|
793
|
+
* Group by HarnessLogSnapshot.
|
|
794
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
795
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
796
|
+
* @param {HarnessLogSnapshotGroupByArgs} args - Group by arguments.
|
|
797
|
+
* @example
|
|
798
|
+
* // Group by city, order by createdAt, get count
|
|
799
|
+
* const result = await prisma.user.groupBy({
|
|
800
|
+
* by: ['city', 'createdAt'],
|
|
801
|
+
* orderBy: {
|
|
802
|
+
* createdAt: true
|
|
803
|
+
* },
|
|
804
|
+
* _count: {
|
|
805
|
+
* _all: true
|
|
806
|
+
* },
|
|
807
|
+
* })
|
|
808
|
+
*
|
|
809
|
+
**/
|
|
810
|
+
groupBy<
|
|
811
|
+
T extends HarnessLogSnapshotGroupByArgs,
|
|
812
|
+
HasSelectOrTake extends Prisma.Or<
|
|
813
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
814
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
815
|
+
>,
|
|
816
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
817
|
+
? { orderBy: HarnessLogSnapshotGroupByArgs['orderBy'] }
|
|
818
|
+
: { orderBy?: HarnessLogSnapshotGroupByArgs['orderBy'] },
|
|
819
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
820
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
821
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
822
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
823
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
824
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
825
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
826
|
+
? `Error: "by" must not be empty.`
|
|
827
|
+
: HavingValid extends Prisma.False
|
|
828
|
+
? {
|
|
829
|
+
[P in HavingFields]: P extends ByFields
|
|
830
|
+
? never
|
|
831
|
+
: P extends string
|
|
832
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
833
|
+
: [
|
|
834
|
+
Error,
|
|
835
|
+
'Field ',
|
|
836
|
+
P,
|
|
837
|
+
` in "having" needs to be provided in "by"`,
|
|
838
|
+
]
|
|
839
|
+
}[HavingFields]
|
|
840
|
+
: 'take' extends Prisma.Keys<T>
|
|
841
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
842
|
+
? ByValid extends Prisma.True
|
|
843
|
+
? {}
|
|
844
|
+
: {
|
|
845
|
+
[P in OrderFields]: P extends ByFields
|
|
846
|
+
? never
|
|
847
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
848
|
+
}[OrderFields]
|
|
849
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
850
|
+
: 'skip' extends Prisma.Keys<T>
|
|
851
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
852
|
+
? ByValid extends Prisma.True
|
|
853
|
+
? {}
|
|
854
|
+
: {
|
|
855
|
+
[P in OrderFields]: P extends ByFields
|
|
856
|
+
? never
|
|
857
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
858
|
+
}[OrderFields]
|
|
859
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
860
|
+
: ByValid extends Prisma.True
|
|
861
|
+
? {}
|
|
862
|
+
: {
|
|
863
|
+
[P in OrderFields]: P extends ByFields
|
|
864
|
+
? never
|
|
865
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
866
|
+
}[OrderFields]
|
|
867
|
+
>(args: Prisma.SubsetIntersection<T, HarnessLogSnapshotGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetHarnessLogSnapshotGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
868
|
+
/**
|
|
869
|
+
* Fields of the HarnessLogSnapshot model
|
|
870
|
+
*/
|
|
871
|
+
readonly fields: HarnessLogSnapshotFieldRefs;
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
/**
|
|
875
|
+
* The delegate class that acts as a "Promise-like" for HarnessLogSnapshot.
|
|
876
|
+
* Why is this prefixed with `Prisma__`?
|
|
877
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
878
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
879
|
+
*/
|
|
880
|
+
export interface Prisma__HarnessLogSnapshotClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
881
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
882
|
+
header<T extends Prisma.HarnessLogHeaderDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.HarnessLogHeaderDefaultArgs<ExtArgs>>): Prisma.Prisma__HarnessLogHeaderClient<runtime.Types.Result.GetResult<Prisma.$HarnessLogHeaderPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
883
|
+
/**
|
|
884
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
885
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
886
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
887
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
888
|
+
*/
|
|
889
|
+
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>
|
|
890
|
+
/**
|
|
891
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
892
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
893
|
+
* @returns A Promise for the completion of the callback.
|
|
894
|
+
*/
|
|
895
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
896
|
+
/**
|
|
897
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
898
|
+
* resolved value cannot be modified from the callback.
|
|
899
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
900
|
+
* @returns A Promise for the completion of the callback.
|
|
901
|
+
*/
|
|
902
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
|
|
906
|
+
|
|
907
|
+
|
|
908
|
+
/**
|
|
909
|
+
* Fields of the HarnessLogSnapshot model
|
|
910
|
+
*/
|
|
911
|
+
export interface HarnessLogSnapshotFieldRefs {
|
|
912
|
+
readonly logId: Prisma.FieldRef<"HarnessLogSnapshot", 'String'>
|
|
913
|
+
readonly seq: Prisma.FieldRef<"HarnessLogSnapshot", 'Int'>
|
|
914
|
+
readonly version: Prisma.FieldRef<"HarnessLogSnapshot", 'String'>
|
|
915
|
+
readonly state: Prisma.FieldRef<"HarnessLogSnapshot", 'Json'>
|
|
916
|
+
readonly updatedAt: Prisma.FieldRef<"HarnessLogSnapshot", 'DateTime'>
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
|
|
920
|
+
// Custom InputTypes
|
|
921
|
+
/**
|
|
922
|
+
* HarnessLogSnapshot findUnique
|
|
923
|
+
*/
|
|
924
|
+
export type HarnessLogSnapshotFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
925
|
+
/**
|
|
926
|
+
* Select specific fields to fetch from the HarnessLogSnapshot
|
|
927
|
+
*/
|
|
928
|
+
select?: Prisma.HarnessLogSnapshotSelect<ExtArgs> | null
|
|
929
|
+
/**
|
|
930
|
+
* Omit specific fields from the HarnessLogSnapshot
|
|
931
|
+
*/
|
|
932
|
+
omit?: Prisma.HarnessLogSnapshotOmit<ExtArgs> | null
|
|
933
|
+
/**
|
|
934
|
+
* Choose, which related nodes to fetch as well
|
|
935
|
+
*/
|
|
936
|
+
include?: Prisma.HarnessLogSnapshotInclude<ExtArgs> | null
|
|
937
|
+
/**
|
|
938
|
+
* Filter, which HarnessLogSnapshot to fetch.
|
|
939
|
+
*/
|
|
940
|
+
where: Prisma.HarnessLogSnapshotWhereUniqueInput
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
/**
|
|
944
|
+
* HarnessLogSnapshot findUniqueOrThrow
|
|
945
|
+
*/
|
|
946
|
+
export type HarnessLogSnapshotFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
947
|
+
/**
|
|
948
|
+
* Select specific fields to fetch from the HarnessLogSnapshot
|
|
949
|
+
*/
|
|
950
|
+
select?: Prisma.HarnessLogSnapshotSelect<ExtArgs> | null
|
|
951
|
+
/**
|
|
952
|
+
* Omit specific fields from the HarnessLogSnapshot
|
|
953
|
+
*/
|
|
954
|
+
omit?: Prisma.HarnessLogSnapshotOmit<ExtArgs> | null
|
|
955
|
+
/**
|
|
956
|
+
* Choose, which related nodes to fetch as well
|
|
957
|
+
*/
|
|
958
|
+
include?: Prisma.HarnessLogSnapshotInclude<ExtArgs> | null
|
|
959
|
+
/**
|
|
960
|
+
* Filter, which HarnessLogSnapshot to fetch.
|
|
961
|
+
*/
|
|
962
|
+
where: Prisma.HarnessLogSnapshotWhereUniqueInput
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* HarnessLogSnapshot findFirst
|
|
967
|
+
*/
|
|
968
|
+
export type HarnessLogSnapshotFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
969
|
+
/**
|
|
970
|
+
* Select specific fields to fetch from the HarnessLogSnapshot
|
|
971
|
+
*/
|
|
972
|
+
select?: Prisma.HarnessLogSnapshotSelect<ExtArgs> | null
|
|
973
|
+
/**
|
|
974
|
+
* Omit specific fields from the HarnessLogSnapshot
|
|
975
|
+
*/
|
|
976
|
+
omit?: Prisma.HarnessLogSnapshotOmit<ExtArgs> | null
|
|
977
|
+
/**
|
|
978
|
+
* Choose, which related nodes to fetch as well
|
|
979
|
+
*/
|
|
980
|
+
include?: Prisma.HarnessLogSnapshotInclude<ExtArgs> | null
|
|
981
|
+
/**
|
|
982
|
+
* Filter, which HarnessLogSnapshot to fetch.
|
|
983
|
+
*/
|
|
984
|
+
where?: Prisma.HarnessLogSnapshotWhereInput
|
|
985
|
+
/**
|
|
986
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
987
|
+
*
|
|
988
|
+
* Determine the order of HarnessLogSnapshots to fetch.
|
|
989
|
+
*/
|
|
990
|
+
orderBy?: Prisma.HarnessLogSnapshotOrderByWithRelationInput | Prisma.HarnessLogSnapshotOrderByWithRelationInput[]
|
|
991
|
+
/**
|
|
992
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
993
|
+
*
|
|
994
|
+
* Sets the position for searching for HarnessLogSnapshots.
|
|
995
|
+
*/
|
|
996
|
+
cursor?: Prisma.HarnessLogSnapshotWhereUniqueInput
|
|
997
|
+
/**
|
|
998
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
999
|
+
*
|
|
1000
|
+
* Take `±n` HarnessLogSnapshots from the position of the cursor.
|
|
1001
|
+
*/
|
|
1002
|
+
take?: number
|
|
1003
|
+
/**
|
|
1004
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1005
|
+
*
|
|
1006
|
+
* Skip the first `n` HarnessLogSnapshots.
|
|
1007
|
+
*/
|
|
1008
|
+
skip?: number
|
|
1009
|
+
/**
|
|
1010
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1011
|
+
*
|
|
1012
|
+
* Filter by unique combinations of HarnessLogSnapshots.
|
|
1013
|
+
*/
|
|
1014
|
+
distinct?: Prisma.HarnessLogSnapshotScalarFieldEnum | Prisma.HarnessLogSnapshotScalarFieldEnum[]
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
/**
|
|
1018
|
+
* HarnessLogSnapshot findFirstOrThrow
|
|
1019
|
+
*/
|
|
1020
|
+
export type HarnessLogSnapshotFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1021
|
+
/**
|
|
1022
|
+
* Select specific fields to fetch from the HarnessLogSnapshot
|
|
1023
|
+
*/
|
|
1024
|
+
select?: Prisma.HarnessLogSnapshotSelect<ExtArgs> | null
|
|
1025
|
+
/**
|
|
1026
|
+
* Omit specific fields from the HarnessLogSnapshot
|
|
1027
|
+
*/
|
|
1028
|
+
omit?: Prisma.HarnessLogSnapshotOmit<ExtArgs> | null
|
|
1029
|
+
/**
|
|
1030
|
+
* Choose, which related nodes to fetch as well
|
|
1031
|
+
*/
|
|
1032
|
+
include?: Prisma.HarnessLogSnapshotInclude<ExtArgs> | null
|
|
1033
|
+
/**
|
|
1034
|
+
* Filter, which HarnessLogSnapshot to fetch.
|
|
1035
|
+
*/
|
|
1036
|
+
where?: Prisma.HarnessLogSnapshotWhereInput
|
|
1037
|
+
/**
|
|
1038
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1039
|
+
*
|
|
1040
|
+
* Determine the order of HarnessLogSnapshots to fetch.
|
|
1041
|
+
*/
|
|
1042
|
+
orderBy?: Prisma.HarnessLogSnapshotOrderByWithRelationInput | Prisma.HarnessLogSnapshotOrderByWithRelationInput[]
|
|
1043
|
+
/**
|
|
1044
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1045
|
+
*
|
|
1046
|
+
* Sets the position for searching for HarnessLogSnapshots.
|
|
1047
|
+
*/
|
|
1048
|
+
cursor?: Prisma.HarnessLogSnapshotWhereUniqueInput
|
|
1049
|
+
/**
|
|
1050
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1051
|
+
*
|
|
1052
|
+
* Take `±n` HarnessLogSnapshots from the position of the cursor.
|
|
1053
|
+
*/
|
|
1054
|
+
take?: number
|
|
1055
|
+
/**
|
|
1056
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1057
|
+
*
|
|
1058
|
+
* Skip the first `n` HarnessLogSnapshots.
|
|
1059
|
+
*/
|
|
1060
|
+
skip?: number
|
|
1061
|
+
/**
|
|
1062
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1063
|
+
*
|
|
1064
|
+
* Filter by unique combinations of HarnessLogSnapshots.
|
|
1065
|
+
*/
|
|
1066
|
+
distinct?: Prisma.HarnessLogSnapshotScalarFieldEnum | Prisma.HarnessLogSnapshotScalarFieldEnum[]
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
/**
|
|
1070
|
+
* HarnessLogSnapshot findMany
|
|
1071
|
+
*/
|
|
1072
|
+
export type HarnessLogSnapshotFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1073
|
+
/**
|
|
1074
|
+
* Select specific fields to fetch from the HarnessLogSnapshot
|
|
1075
|
+
*/
|
|
1076
|
+
select?: Prisma.HarnessLogSnapshotSelect<ExtArgs> | null
|
|
1077
|
+
/**
|
|
1078
|
+
* Omit specific fields from the HarnessLogSnapshot
|
|
1079
|
+
*/
|
|
1080
|
+
omit?: Prisma.HarnessLogSnapshotOmit<ExtArgs> | null
|
|
1081
|
+
/**
|
|
1082
|
+
* Choose, which related nodes to fetch as well
|
|
1083
|
+
*/
|
|
1084
|
+
include?: Prisma.HarnessLogSnapshotInclude<ExtArgs> | null
|
|
1085
|
+
/**
|
|
1086
|
+
* Filter, which HarnessLogSnapshots to fetch.
|
|
1087
|
+
*/
|
|
1088
|
+
where?: Prisma.HarnessLogSnapshotWhereInput
|
|
1089
|
+
/**
|
|
1090
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1091
|
+
*
|
|
1092
|
+
* Determine the order of HarnessLogSnapshots to fetch.
|
|
1093
|
+
*/
|
|
1094
|
+
orderBy?: Prisma.HarnessLogSnapshotOrderByWithRelationInput | Prisma.HarnessLogSnapshotOrderByWithRelationInput[]
|
|
1095
|
+
/**
|
|
1096
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1097
|
+
*
|
|
1098
|
+
* Sets the position for listing HarnessLogSnapshots.
|
|
1099
|
+
*/
|
|
1100
|
+
cursor?: Prisma.HarnessLogSnapshotWhereUniqueInput
|
|
1101
|
+
/**
|
|
1102
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1103
|
+
*
|
|
1104
|
+
* Take `±n` HarnessLogSnapshots from the position of the cursor.
|
|
1105
|
+
*/
|
|
1106
|
+
take?: number
|
|
1107
|
+
/**
|
|
1108
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1109
|
+
*
|
|
1110
|
+
* Skip the first `n` HarnessLogSnapshots.
|
|
1111
|
+
*/
|
|
1112
|
+
skip?: number
|
|
1113
|
+
/**
|
|
1114
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1115
|
+
*
|
|
1116
|
+
* Filter by unique combinations of HarnessLogSnapshots.
|
|
1117
|
+
*/
|
|
1118
|
+
distinct?: Prisma.HarnessLogSnapshotScalarFieldEnum | Prisma.HarnessLogSnapshotScalarFieldEnum[]
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
/**
|
|
1122
|
+
* HarnessLogSnapshot create
|
|
1123
|
+
*/
|
|
1124
|
+
export type HarnessLogSnapshotCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1125
|
+
/**
|
|
1126
|
+
* Select specific fields to fetch from the HarnessLogSnapshot
|
|
1127
|
+
*/
|
|
1128
|
+
select?: Prisma.HarnessLogSnapshotSelect<ExtArgs> | null
|
|
1129
|
+
/**
|
|
1130
|
+
* Omit specific fields from the HarnessLogSnapshot
|
|
1131
|
+
*/
|
|
1132
|
+
omit?: Prisma.HarnessLogSnapshotOmit<ExtArgs> | null
|
|
1133
|
+
/**
|
|
1134
|
+
* Choose, which related nodes to fetch as well
|
|
1135
|
+
*/
|
|
1136
|
+
include?: Prisma.HarnessLogSnapshotInclude<ExtArgs> | null
|
|
1137
|
+
/**
|
|
1138
|
+
* The data needed to create a HarnessLogSnapshot.
|
|
1139
|
+
*/
|
|
1140
|
+
data: Prisma.XOR<Prisma.HarnessLogSnapshotCreateInput, Prisma.HarnessLogSnapshotUncheckedCreateInput>
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
/**
|
|
1144
|
+
* HarnessLogSnapshot createMany
|
|
1145
|
+
*/
|
|
1146
|
+
export type HarnessLogSnapshotCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1147
|
+
/**
|
|
1148
|
+
* The data used to create many HarnessLogSnapshots.
|
|
1149
|
+
*/
|
|
1150
|
+
data: Prisma.HarnessLogSnapshotCreateManyInput | Prisma.HarnessLogSnapshotCreateManyInput[]
|
|
1151
|
+
skipDuplicates?: boolean
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
/**
|
|
1155
|
+
* HarnessLogSnapshot createManyAndReturn
|
|
1156
|
+
*/
|
|
1157
|
+
export type HarnessLogSnapshotCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1158
|
+
/**
|
|
1159
|
+
* Select specific fields to fetch from the HarnessLogSnapshot
|
|
1160
|
+
*/
|
|
1161
|
+
select?: Prisma.HarnessLogSnapshotSelectCreateManyAndReturn<ExtArgs> | null
|
|
1162
|
+
/**
|
|
1163
|
+
* Omit specific fields from the HarnessLogSnapshot
|
|
1164
|
+
*/
|
|
1165
|
+
omit?: Prisma.HarnessLogSnapshotOmit<ExtArgs> | null
|
|
1166
|
+
/**
|
|
1167
|
+
* The data used to create many HarnessLogSnapshots.
|
|
1168
|
+
*/
|
|
1169
|
+
data: Prisma.HarnessLogSnapshotCreateManyInput | Prisma.HarnessLogSnapshotCreateManyInput[]
|
|
1170
|
+
skipDuplicates?: boolean
|
|
1171
|
+
/**
|
|
1172
|
+
* Choose, which related nodes to fetch as well
|
|
1173
|
+
*/
|
|
1174
|
+
include?: Prisma.HarnessLogSnapshotIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
/**
|
|
1178
|
+
* HarnessLogSnapshot update
|
|
1179
|
+
*/
|
|
1180
|
+
export type HarnessLogSnapshotUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1181
|
+
/**
|
|
1182
|
+
* Select specific fields to fetch from the HarnessLogSnapshot
|
|
1183
|
+
*/
|
|
1184
|
+
select?: Prisma.HarnessLogSnapshotSelect<ExtArgs> | null
|
|
1185
|
+
/**
|
|
1186
|
+
* Omit specific fields from the HarnessLogSnapshot
|
|
1187
|
+
*/
|
|
1188
|
+
omit?: Prisma.HarnessLogSnapshotOmit<ExtArgs> | null
|
|
1189
|
+
/**
|
|
1190
|
+
* Choose, which related nodes to fetch as well
|
|
1191
|
+
*/
|
|
1192
|
+
include?: Prisma.HarnessLogSnapshotInclude<ExtArgs> | null
|
|
1193
|
+
/**
|
|
1194
|
+
* The data needed to update a HarnessLogSnapshot.
|
|
1195
|
+
*/
|
|
1196
|
+
data: Prisma.XOR<Prisma.HarnessLogSnapshotUpdateInput, Prisma.HarnessLogSnapshotUncheckedUpdateInput>
|
|
1197
|
+
/**
|
|
1198
|
+
* Choose, which HarnessLogSnapshot to update.
|
|
1199
|
+
*/
|
|
1200
|
+
where: Prisma.HarnessLogSnapshotWhereUniqueInput
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
/**
|
|
1204
|
+
* HarnessLogSnapshot updateMany
|
|
1205
|
+
*/
|
|
1206
|
+
export type HarnessLogSnapshotUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1207
|
+
/**
|
|
1208
|
+
* The data used to update HarnessLogSnapshots.
|
|
1209
|
+
*/
|
|
1210
|
+
data: Prisma.XOR<Prisma.HarnessLogSnapshotUpdateManyMutationInput, Prisma.HarnessLogSnapshotUncheckedUpdateManyInput>
|
|
1211
|
+
/**
|
|
1212
|
+
* Filter which HarnessLogSnapshots to update
|
|
1213
|
+
*/
|
|
1214
|
+
where?: Prisma.HarnessLogSnapshotWhereInput
|
|
1215
|
+
/**
|
|
1216
|
+
* Limit how many HarnessLogSnapshots to update.
|
|
1217
|
+
*/
|
|
1218
|
+
limit?: number
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
/**
|
|
1222
|
+
* HarnessLogSnapshot updateManyAndReturn
|
|
1223
|
+
*/
|
|
1224
|
+
export type HarnessLogSnapshotUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1225
|
+
/**
|
|
1226
|
+
* Select specific fields to fetch from the HarnessLogSnapshot
|
|
1227
|
+
*/
|
|
1228
|
+
select?: Prisma.HarnessLogSnapshotSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1229
|
+
/**
|
|
1230
|
+
* Omit specific fields from the HarnessLogSnapshot
|
|
1231
|
+
*/
|
|
1232
|
+
omit?: Prisma.HarnessLogSnapshotOmit<ExtArgs> | null
|
|
1233
|
+
/**
|
|
1234
|
+
* The data used to update HarnessLogSnapshots.
|
|
1235
|
+
*/
|
|
1236
|
+
data: Prisma.XOR<Prisma.HarnessLogSnapshotUpdateManyMutationInput, Prisma.HarnessLogSnapshotUncheckedUpdateManyInput>
|
|
1237
|
+
/**
|
|
1238
|
+
* Filter which HarnessLogSnapshots to update
|
|
1239
|
+
*/
|
|
1240
|
+
where?: Prisma.HarnessLogSnapshotWhereInput
|
|
1241
|
+
/**
|
|
1242
|
+
* Limit how many HarnessLogSnapshots to update.
|
|
1243
|
+
*/
|
|
1244
|
+
limit?: number
|
|
1245
|
+
/**
|
|
1246
|
+
* Choose, which related nodes to fetch as well
|
|
1247
|
+
*/
|
|
1248
|
+
include?: Prisma.HarnessLogSnapshotIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
/**
|
|
1252
|
+
* HarnessLogSnapshot upsert
|
|
1253
|
+
*/
|
|
1254
|
+
export type HarnessLogSnapshotUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1255
|
+
/**
|
|
1256
|
+
* Select specific fields to fetch from the HarnessLogSnapshot
|
|
1257
|
+
*/
|
|
1258
|
+
select?: Prisma.HarnessLogSnapshotSelect<ExtArgs> | null
|
|
1259
|
+
/**
|
|
1260
|
+
* Omit specific fields from the HarnessLogSnapshot
|
|
1261
|
+
*/
|
|
1262
|
+
omit?: Prisma.HarnessLogSnapshotOmit<ExtArgs> | null
|
|
1263
|
+
/**
|
|
1264
|
+
* Choose, which related nodes to fetch as well
|
|
1265
|
+
*/
|
|
1266
|
+
include?: Prisma.HarnessLogSnapshotInclude<ExtArgs> | null
|
|
1267
|
+
/**
|
|
1268
|
+
* The filter to search for the HarnessLogSnapshot to update in case it exists.
|
|
1269
|
+
*/
|
|
1270
|
+
where: Prisma.HarnessLogSnapshotWhereUniqueInput
|
|
1271
|
+
/**
|
|
1272
|
+
* In case the HarnessLogSnapshot found by the `where` argument doesn't exist, create a new HarnessLogSnapshot with this data.
|
|
1273
|
+
*/
|
|
1274
|
+
create: Prisma.XOR<Prisma.HarnessLogSnapshotCreateInput, Prisma.HarnessLogSnapshotUncheckedCreateInput>
|
|
1275
|
+
/**
|
|
1276
|
+
* In case the HarnessLogSnapshot was found with the provided `where` argument, update it with this data.
|
|
1277
|
+
*/
|
|
1278
|
+
update: Prisma.XOR<Prisma.HarnessLogSnapshotUpdateInput, Prisma.HarnessLogSnapshotUncheckedUpdateInput>
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
/**
|
|
1282
|
+
* HarnessLogSnapshot delete
|
|
1283
|
+
*/
|
|
1284
|
+
export type HarnessLogSnapshotDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1285
|
+
/**
|
|
1286
|
+
* Select specific fields to fetch from the HarnessLogSnapshot
|
|
1287
|
+
*/
|
|
1288
|
+
select?: Prisma.HarnessLogSnapshotSelect<ExtArgs> | null
|
|
1289
|
+
/**
|
|
1290
|
+
* Omit specific fields from the HarnessLogSnapshot
|
|
1291
|
+
*/
|
|
1292
|
+
omit?: Prisma.HarnessLogSnapshotOmit<ExtArgs> | null
|
|
1293
|
+
/**
|
|
1294
|
+
* Choose, which related nodes to fetch as well
|
|
1295
|
+
*/
|
|
1296
|
+
include?: Prisma.HarnessLogSnapshotInclude<ExtArgs> | null
|
|
1297
|
+
/**
|
|
1298
|
+
* Filter which HarnessLogSnapshot to delete.
|
|
1299
|
+
*/
|
|
1300
|
+
where: Prisma.HarnessLogSnapshotWhereUniqueInput
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
/**
|
|
1304
|
+
* HarnessLogSnapshot deleteMany
|
|
1305
|
+
*/
|
|
1306
|
+
export type HarnessLogSnapshotDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1307
|
+
/**
|
|
1308
|
+
* Filter which HarnessLogSnapshots to delete
|
|
1309
|
+
*/
|
|
1310
|
+
where?: Prisma.HarnessLogSnapshotWhereInput
|
|
1311
|
+
/**
|
|
1312
|
+
* Limit how many HarnessLogSnapshots to delete.
|
|
1313
|
+
*/
|
|
1314
|
+
limit?: number
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1317
|
+
/**
|
|
1318
|
+
* HarnessLogSnapshot without action
|
|
1319
|
+
*/
|
|
1320
|
+
export type HarnessLogSnapshotDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1321
|
+
/**
|
|
1322
|
+
* Select specific fields to fetch from the HarnessLogSnapshot
|
|
1323
|
+
*/
|
|
1324
|
+
select?: Prisma.HarnessLogSnapshotSelect<ExtArgs> | null
|
|
1325
|
+
/**
|
|
1326
|
+
* Omit specific fields from the HarnessLogSnapshot
|
|
1327
|
+
*/
|
|
1328
|
+
omit?: Prisma.HarnessLogSnapshotOmit<ExtArgs> | null
|
|
1329
|
+
/**
|
|
1330
|
+
* Choose, which related nodes to fetch as well
|
|
1331
|
+
*/
|
|
1332
|
+
include?: Prisma.HarnessLogSnapshotInclude<ExtArgs> | null
|
|
1333
|
+
}
|