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