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