@allbluecn/database 0.9.2 → 0.9.4

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.
Files changed (51) hide show
  1. package/cf-env-stub.ts +4 -0
  2. package/cf-env.ts +25 -0
  3. package/cloudflare-workers.d.ts +6 -0
  4. package/generated/browser.ts +30 -15
  5. package/generated/client.ts +30 -15
  6. package/generated/internal/class.ts +64 -34
  7. package/generated/internal/prismaNamespace.ts +543 -263
  8. package/generated/internal/prismaNamespaceBrowser.ts +92 -37
  9. package/generated/models/AiTask.ts +2481 -0
  10. package/generated/models/AiTaskRun.ts +1564 -0
  11. package/generated/models/Bug.ts +94 -1
  12. package/generated/models/BugComment.ts +139 -0
  13. package/generated/models/BugCommentReaction.ts +1472 -0
  14. package/generated/models/CollabClient.ts +1199 -0
  15. package/generated/models/CollabDocument.ts +1121 -0
  16. package/generated/models/CollabUpdate.ts +1149 -0
  17. package/generated/models/Component.ts +0 -194
  18. package/generated/models/Design.ts +0 -190
  19. package/generated/models/Project.ts +261 -0
  20. package/generated/models/TestCase.ts +78 -1
  21. package/generated/models/User.ts +2073 -1271
  22. package/generated/models/Workspace.ts +204 -0
  23. package/generated/models.ts +6 -3
  24. package/generated-sqlite/browser.ts +0 -15
  25. package/generated-sqlite/client.ts +0 -15
  26. package/generated-sqlite/internal/class.ts +4 -34
  27. package/generated-sqlite/internal/prismaNamespace.ts +1 -262
  28. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +0 -36
  29. package/generated-sqlite/models/Component.ts +0 -194
  30. package/generated-sqlite/models/Design.ts +0 -182
  31. package/generated-sqlite/models/User.ts +0 -586
  32. package/generated-sqlite/models.ts +0 -3
  33. package/index.ts +16 -2
  34. package/migrations/20261007112656_collab_init/migration.sql +45 -0
  35. package/migrations/20261007122530_collab_client_clientid_bigint/migration.sql +10 -0
  36. package/migrations/20261009194853_remove_tag_module/migration.sql +24 -0
  37. package/migrations/20261009222043_ai_task_init/migration.sql +67 -0
  38. package/migrations/20261019202531_ui_alignment_board_order/migration.sql +35 -0
  39. package/package.json +13 -17
  40. package/schema.prisma +99 -54
  41. package/schema.sqlite.prisma +0 -54
  42. package/dist/get-prisma.d.ts +0 -1
  43. package/dist/get-prisma.js +0 -7
  44. package/dist/lib/share-utils.d.ts +0 -2
  45. package/dist/lib/share-utils.js +0 -17
  46. package/generated/models/ComponentTag.ts +0 -1281
  47. package/generated/models/DesignTag.ts +0 -1430
  48. package/generated/models/Tag.ts +0 -1655
  49. package/generated-sqlite/models/ComponentTag.ts +0 -1278
  50. package/generated-sqlite/models/DesignTag.ts +0 -1426
  51. package/generated-sqlite/models/Tag.ts +0 -1652
@@ -0,0 +1,1472 @@
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 `BugCommentReaction` 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 BugCommentReaction
17
+ *
18
+ */
19
+ export type BugCommentReactionModel = runtime.Types.Result.DefaultSelection<Prisma.$BugCommentReactionPayload>
20
+
21
+ export type AggregateBugCommentReaction = {
22
+ _count: BugCommentReactionCountAggregateOutputType | null
23
+ _min: BugCommentReactionMinAggregateOutputType | null
24
+ _max: BugCommentReactionMaxAggregateOutputType | null
25
+ }
26
+
27
+ export type BugCommentReactionMinAggregateOutputType = {
28
+ id: string | null
29
+ commentId: string | null
30
+ userId: string | null
31
+ emoji: string | null
32
+ createdAt: Date | null
33
+ }
34
+
35
+ export type BugCommentReactionMaxAggregateOutputType = {
36
+ id: string | null
37
+ commentId: string | null
38
+ userId: string | null
39
+ emoji: string | null
40
+ createdAt: Date | null
41
+ }
42
+
43
+ export type BugCommentReactionCountAggregateOutputType = {
44
+ id: number
45
+ commentId: number
46
+ userId: number
47
+ emoji: number
48
+ createdAt: number
49
+ _all: number
50
+ }
51
+
52
+
53
+ export type BugCommentReactionMinAggregateInputType = {
54
+ id?: true
55
+ commentId?: true
56
+ userId?: true
57
+ emoji?: true
58
+ createdAt?: true
59
+ }
60
+
61
+ export type BugCommentReactionMaxAggregateInputType = {
62
+ id?: true
63
+ commentId?: true
64
+ userId?: true
65
+ emoji?: true
66
+ createdAt?: true
67
+ }
68
+
69
+ export type BugCommentReactionCountAggregateInputType = {
70
+ id?: true
71
+ commentId?: true
72
+ userId?: true
73
+ emoji?: true
74
+ createdAt?: true
75
+ _all?: true
76
+ }
77
+
78
+ export type BugCommentReactionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
79
+ /**
80
+ * Filter which BugCommentReaction to aggregate.
81
+ */
82
+ where?: Prisma.BugCommentReactionWhereInput
83
+ /**
84
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
85
+ *
86
+ * Determine the order of BugCommentReactions to fetch.
87
+ */
88
+ orderBy?: Prisma.BugCommentReactionOrderByWithRelationInput | Prisma.BugCommentReactionOrderByWithRelationInput[]
89
+ /**
90
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
91
+ *
92
+ * Sets the start position
93
+ */
94
+ cursor?: Prisma.BugCommentReactionWhereUniqueInput
95
+ /**
96
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
97
+ *
98
+ * Take `±n` BugCommentReactions from the position of the cursor.
99
+ */
100
+ take?: number
101
+ /**
102
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
103
+ *
104
+ * Skip the first `n` BugCommentReactions.
105
+ */
106
+ skip?: number
107
+ /**
108
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
109
+ *
110
+ * Count returned BugCommentReactions
111
+ **/
112
+ _count?: true | BugCommentReactionCountAggregateInputType
113
+ /**
114
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
115
+ *
116
+ * Select which fields to find the minimum value
117
+ **/
118
+ _min?: BugCommentReactionMinAggregateInputType
119
+ /**
120
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
121
+ *
122
+ * Select which fields to find the maximum value
123
+ **/
124
+ _max?: BugCommentReactionMaxAggregateInputType
125
+ }
126
+
127
+ export type GetBugCommentReactionAggregateType<T extends BugCommentReactionAggregateArgs> = {
128
+ [P in keyof T & keyof AggregateBugCommentReaction]: P extends '_count' | 'count'
129
+ ? T[P] extends true
130
+ ? number
131
+ : Prisma.GetScalarType<T[P], AggregateBugCommentReaction[P]>
132
+ : Prisma.GetScalarType<T[P], AggregateBugCommentReaction[P]>
133
+ }
134
+
135
+
136
+
137
+
138
+ export type BugCommentReactionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
139
+ where?: Prisma.BugCommentReactionWhereInput
140
+ orderBy?: Prisma.BugCommentReactionOrderByWithAggregationInput | Prisma.BugCommentReactionOrderByWithAggregationInput[]
141
+ by: Prisma.BugCommentReactionScalarFieldEnum[] | Prisma.BugCommentReactionScalarFieldEnum
142
+ having?: Prisma.BugCommentReactionScalarWhereWithAggregatesInput
143
+ take?: number
144
+ skip?: number
145
+ _count?: BugCommentReactionCountAggregateInputType | true
146
+ _min?: BugCommentReactionMinAggregateInputType
147
+ _max?: BugCommentReactionMaxAggregateInputType
148
+ }
149
+
150
+ export type BugCommentReactionGroupByOutputType = {
151
+ id: string
152
+ commentId: string
153
+ userId: string
154
+ emoji: string
155
+ createdAt: Date
156
+ _count: BugCommentReactionCountAggregateOutputType | null
157
+ _min: BugCommentReactionMinAggregateOutputType | null
158
+ _max: BugCommentReactionMaxAggregateOutputType | null
159
+ }
160
+
161
+ export type GetBugCommentReactionGroupByPayload<T extends BugCommentReactionGroupByArgs> = Prisma.PrismaPromise<
162
+ Array<
163
+ Prisma.PickEnumerable<BugCommentReactionGroupByOutputType, T['by']> &
164
+ {
165
+ [P in ((keyof T) & (keyof BugCommentReactionGroupByOutputType))]: P extends '_count'
166
+ ? T[P] extends boolean
167
+ ? number
168
+ : Prisma.GetScalarType<T[P], BugCommentReactionGroupByOutputType[P]>
169
+ : Prisma.GetScalarType<T[P], BugCommentReactionGroupByOutputType[P]>
170
+ }
171
+ >
172
+ >
173
+
174
+
175
+
176
+ export type BugCommentReactionWhereInput = {
177
+ AND?: Prisma.BugCommentReactionWhereInput | Prisma.BugCommentReactionWhereInput[]
178
+ OR?: Prisma.BugCommentReactionWhereInput[]
179
+ NOT?: Prisma.BugCommentReactionWhereInput | Prisma.BugCommentReactionWhereInput[]
180
+ id?: Prisma.StringFilter<"BugCommentReaction"> | string
181
+ commentId?: Prisma.StringFilter<"BugCommentReaction"> | string
182
+ userId?: Prisma.StringFilter<"BugCommentReaction"> | string
183
+ emoji?: Prisma.StringFilter<"BugCommentReaction"> | string
184
+ createdAt?: Prisma.DateTimeFilter<"BugCommentReaction"> | Date | string
185
+ comment?: Prisma.XOR<Prisma.BugCommentScalarRelationFilter, Prisma.BugCommentWhereInput>
186
+ user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
187
+ }
188
+
189
+ export type BugCommentReactionOrderByWithRelationInput = {
190
+ id?: Prisma.SortOrder
191
+ commentId?: Prisma.SortOrder
192
+ userId?: Prisma.SortOrder
193
+ emoji?: Prisma.SortOrder
194
+ createdAt?: Prisma.SortOrder
195
+ comment?: Prisma.BugCommentOrderByWithRelationInput
196
+ user?: Prisma.UserOrderByWithRelationInput
197
+ }
198
+
199
+ export type BugCommentReactionWhereUniqueInput = Prisma.AtLeast<{
200
+ id?: string
201
+ commentId_userId_emoji?: Prisma.BugCommentReactionCommentIdUserIdEmojiCompoundUniqueInput
202
+ AND?: Prisma.BugCommentReactionWhereInput | Prisma.BugCommentReactionWhereInput[]
203
+ OR?: Prisma.BugCommentReactionWhereInput[]
204
+ NOT?: Prisma.BugCommentReactionWhereInput | Prisma.BugCommentReactionWhereInput[]
205
+ commentId?: Prisma.StringFilter<"BugCommentReaction"> | string
206
+ userId?: Prisma.StringFilter<"BugCommentReaction"> | string
207
+ emoji?: Prisma.StringFilter<"BugCommentReaction"> | string
208
+ createdAt?: Prisma.DateTimeFilter<"BugCommentReaction"> | Date | string
209
+ comment?: Prisma.XOR<Prisma.BugCommentScalarRelationFilter, Prisma.BugCommentWhereInput>
210
+ user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
211
+ }, "id" | "commentId_userId_emoji">
212
+
213
+ export type BugCommentReactionOrderByWithAggregationInput = {
214
+ id?: Prisma.SortOrder
215
+ commentId?: Prisma.SortOrder
216
+ userId?: Prisma.SortOrder
217
+ emoji?: Prisma.SortOrder
218
+ createdAt?: Prisma.SortOrder
219
+ _count?: Prisma.BugCommentReactionCountOrderByAggregateInput
220
+ _max?: Prisma.BugCommentReactionMaxOrderByAggregateInput
221
+ _min?: Prisma.BugCommentReactionMinOrderByAggregateInput
222
+ }
223
+
224
+ export type BugCommentReactionScalarWhereWithAggregatesInput = {
225
+ AND?: Prisma.BugCommentReactionScalarWhereWithAggregatesInput | Prisma.BugCommentReactionScalarWhereWithAggregatesInput[]
226
+ OR?: Prisma.BugCommentReactionScalarWhereWithAggregatesInput[]
227
+ NOT?: Prisma.BugCommentReactionScalarWhereWithAggregatesInput | Prisma.BugCommentReactionScalarWhereWithAggregatesInput[]
228
+ id?: Prisma.StringWithAggregatesFilter<"BugCommentReaction"> | string
229
+ commentId?: Prisma.StringWithAggregatesFilter<"BugCommentReaction"> | string
230
+ userId?: Prisma.StringWithAggregatesFilter<"BugCommentReaction"> | string
231
+ emoji?: Prisma.StringWithAggregatesFilter<"BugCommentReaction"> | string
232
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"BugCommentReaction"> | Date | string
233
+ }
234
+
235
+ export type BugCommentReactionCreateInput = {
236
+ id?: string
237
+ emoji: string
238
+ createdAt?: Date | string
239
+ comment: Prisma.BugCommentCreateNestedOneWithoutReactionsInput
240
+ user: Prisma.UserCreateNestedOneWithoutBugCommentReactionsInput
241
+ }
242
+
243
+ export type BugCommentReactionUncheckedCreateInput = {
244
+ id?: string
245
+ commentId: string
246
+ userId: string
247
+ emoji: string
248
+ createdAt?: Date | string
249
+ }
250
+
251
+ export type BugCommentReactionUpdateInput = {
252
+ id?: Prisma.StringFieldUpdateOperationsInput | string
253
+ emoji?: Prisma.StringFieldUpdateOperationsInput | string
254
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
255
+ comment?: Prisma.BugCommentUpdateOneRequiredWithoutReactionsNestedInput
256
+ user?: Prisma.UserUpdateOneRequiredWithoutBugCommentReactionsNestedInput
257
+ }
258
+
259
+ export type BugCommentReactionUncheckedUpdateInput = {
260
+ id?: Prisma.StringFieldUpdateOperationsInput | string
261
+ commentId?: Prisma.StringFieldUpdateOperationsInput | string
262
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
263
+ emoji?: Prisma.StringFieldUpdateOperationsInput | string
264
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
265
+ }
266
+
267
+ export type BugCommentReactionCreateManyInput = {
268
+ id?: string
269
+ commentId: string
270
+ userId: string
271
+ emoji: string
272
+ createdAt?: Date | string
273
+ }
274
+
275
+ export type BugCommentReactionUpdateManyMutationInput = {
276
+ id?: Prisma.StringFieldUpdateOperationsInput | string
277
+ emoji?: Prisma.StringFieldUpdateOperationsInput | string
278
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
279
+ }
280
+
281
+ export type BugCommentReactionUncheckedUpdateManyInput = {
282
+ id?: Prisma.StringFieldUpdateOperationsInput | string
283
+ commentId?: Prisma.StringFieldUpdateOperationsInput | string
284
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
285
+ emoji?: Prisma.StringFieldUpdateOperationsInput | string
286
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
287
+ }
288
+
289
+ export type BugCommentReactionListRelationFilter = {
290
+ every?: Prisma.BugCommentReactionWhereInput
291
+ some?: Prisma.BugCommentReactionWhereInput
292
+ none?: Prisma.BugCommentReactionWhereInput
293
+ }
294
+
295
+ export type BugCommentReactionOrderByRelationAggregateInput = {
296
+ _count?: Prisma.SortOrder
297
+ }
298
+
299
+ export type BugCommentReactionCommentIdUserIdEmojiCompoundUniqueInput = {
300
+ commentId: string
301
+ userId: string
302
+ emoji: string
303
+ }
304
+
305
+ export type BugCommentReactionCountOrderByAggregateInput = {
306
+ id?: Prisma.SortOrder
307
+ commentId?: Prisma.SortOrder
308
+ userId?: Prisma.SortOrder
309
+ emoji?: Prisma.SortOrder
310
+ createdAt?: Prisma.SortOrder
311
+ }
312
+
313
+ export type BugCommentReactionMaxOrderByAggregateInput = {
314
+ id?: Prisma.SortOrder
315
+ commentId?: Prisma.SortOrder
316
+ userId?: Prisma.SortOrder
317
+ emoji?: Prisma.SortOrder
318
+ createdAt?: Prisma.SortOrder
319
+ }
320
+
321
+ export type BugCommentReactionMinOrderByAggregateInput = {
322
+ id?: Prisma.SortOrder
323
+ commentId?: Prisma.SortOrder
324
+ userId?: Prisma.SortOrder
325
+ emoji?: Prisma.SortOrder
326
+ createdAt?: Prisma.SortOrder
327
+ }
328
+
329
+ export type BugCommentReactionCreateNestedManyWithoutUserInput = {
330
+ create?: Prisma.XOR<Prisma.BugCommentReactionCreateWithoutUserInput, Prisma.BugCommentReactionUncheckedCreateWithoutUserInput> | Prisma.BugCommentReactionCreateWithoutUserInput[] | Prisma.BugCommentReactionUncheckedCreateWithoutUserInput[]
331
+ connectOrCreate?: Prisma.BugCommentReactionCreateOrConnectWithoutUserInput | Prisma.BugCommentReactionCreateOrConnectWithoutUserInput[]
332
+ createMany?: Prisma.BugCommentReactionCreateManyUserInputEnvelope
333
+ connect?: Prisma.BugCommentReactionWhereUniqueInput | Prisma.BugCommentReactionWhereUniqueInput[]
334
+ }
335
+
336
+ export type BugCommentReactionUncheckedCreateNestedManyWithoutUserInput = {
337
+ create?: Prisma.XOR<Prisma.BugCommentReactionCreateWithoutUserInput, Prisma.BugCommentReactionUncheckedCreateWithoutUserInput> | Prisma.BugCommentReactionCreateWithoutUserInput[] | Prisma.BugCommentReactionUncheckedCreateWithoutUserInput[]
338
+ connectOrCreate?: Prisma.BugCommentReactionCreateOrConnectWithoutUserInput | Prisma.BugCommentReactionCreateOrConnectWithoutUserInput[]
339
+ createMany?: Prisma.BugCommentReactionCreateManyUserInputEnvelope
340
+ connect?: Prisma.BugCommentReactionWhereUniqueInput | Prisma.BugCommentReactionWhereUniqueInput[]
341
+ }
342
+
343
+ export type BugCommentReactionUpdateManyWithoutUserNestedInput = {
344
+ create?: Prisma.XOR<Prisma.BugCommentReactionCreateWithoutUserInput, Prisma.BugCommentReactionUncheckedCreateWithoutUserInput> | Prisma.BugCommentReactionCreateWithoutUserInput[] | Prisma.BugCommentReactionUncheckedCreateWithoutUserInput[]
345
+ connectOrCreate?: Prisma.BugCommentReactionCreateOrConnectWithoutUserInput | Prisma.BugCommentReactionCreateOrConnectWithoutUserInput[]
346
+ upsert?: Prisma.BugCommentReactionUpsertWithWhereUniqueWithoutUserInput | Prisma.BugCommentReactionUpsertWithWhereUniqueWithoutUserInput[]
347
+ createMany?: Prisma.BugCommentReactionCreateManyUserInputEnvelope
348
+ set?: Prisma.BugCommentReactionWhereUniqueInput | Prisma.BugCommentReactionWhereUniqueInput[]
349
+ disconnect?: Prisma.BugCommentReactionWhereUniqueInput | Prisma.BugCommentReactionWhereUniqueInput[]
350
+ delete?: Prisma.BugCommentReactionWhereUniqueInput | Prisma.BugCommentReactionWhereUniqueInput[]
351
+ connect?: Prisma.BugCommentReactionWhereUniqueInput | Prisma.BugCommentReactionWhereUniqueInput[]
352
+ update?: Prisma.BugCommentReactionUpdateWithWhereUniqueWithoutUserInput | Prisma.BugCommentReactionUpdateWithWhereUniqueWithoutUserInput[]
353
+ updateMany?: Prisma.BugCommentReactionUpdateManyWithWhereWithoutUserInput | Prisma.BugCommentReactionUpdateManyWithWhereWithoutUserInput[]
354
+ deleteMany?: Prisma.BugCommentReactionScalarWhereInput | Prisma.BugCommentReactionScalarWhereInput[]
355
+ }
356
+
357
+ export type BugCommentReactionUncheckedUpdateManyWithoutUserNestedInput = {
358
+ create?: Prisma.XOR<Prisma.BugCommentReactionCreateWithoutUserInput, Prisma.BugCommentReactionUncheckedCreateWithoutUserInput> | Prisma.BugCommentReactionCreateWithoutUserInput[] | Prisma.BugCommentReactionUncheckedCreateWithoutUserInput[]
359
+ connectOrCreate?: Prisma.BugCommentReactionCreateOrConnectWithoutUserInput | Prisma.BugCommentReactionCreateOrConnectWithoutUserInput[]
360
+ upsert?: Prisma.BugCommentReactionUpsertWithWhereUniqueWithoutUserInput | Prisma.BugCommentReactionUpsertWithWhereUniqueWithoutUserInput[]
361
+ createMany?: Prisma.BugCommentReactionCreateManyUserInputEnvelope
362
+ set?: Prisma.BugCommentReactionWhereUniqueInput | Prisma.BugCommentReactionWhereUniqueInput[]
363
+ disconnect?: Prisma.BugCommentReactionWhereUniqueInput | Prisma.BugCommentReactionWhereUniqueInput[]
364
+ delete?: Prisma.BugCommentReactionWhereUniqueInput | Prisma.BugCommentReactionWhereUniqueInput[]
365
+ connect?: Prisma.BugCommentReactionWhereUniqueInput | Prisma.BugCommentReactionWhereUniqueInput[]
366
+ update?: Prisma.BugCommentReactionUpdateWithWhereUniqueWithoutUserInput | Prisma.BugCommentReactionUpdateWithWhereUniqueWithoutUserInput[]
367
+ updateMany?: Prisma.BugCommentReactionUpdateManyWithWhereWithoutUserInput | Prisma.BugCommentReactionUpdateManyWithWhereWithoutUserInput[]
368
+ deleteMany?: Prisma.BugCommentReactionScalarWhereInput | Prisma.BugCommentReactionScalarWhereInput[]
369
+ }
370
+
371
+ export type BugCommentReactionCreateNestedManyWithoutCommentInput = {
372
+ create?: Prisma.XOR<Prisma.BugCommentReactionCreateWithoutCommentInput, Prisma.BugCommentReactionUncheckedCreateWithoutCommentInput> | Prisma.BugCommentReactionCreateWithoutCommentInput[] | Prisma.BugCommentReactionUncheckedCreateWithoutCommentInput[]
373
+ connectOrCreate?: Prisma.BugCommentReactionCreateOrConnectWithoutCommentInput | Prisma.BugCommentReactionCreateOrConnectWithoutCommentInput[]
374
+ createMany?: Prisma.BugCommentReactionCreateManyCommentInputEnvelope
375
+ connect?: Prisma.BugCommentReactionWhereUniqueInput | Prisma.BugCommentReactionWhereUniqueInput[]
376
+ }
377
+
378
+ export type BugCommentReactionUncheckedCreateNestedManyWithoutCommentInput = {
379
+ create?: Prisma.XOR<Prisma.BugCommentReactionCreateWithoutCommentInput, Prisma.BugCommentReactionUncheckedCreateWithoutCommentInput> | Prisma.BugCommentReactionCreateWithoutCommentInput[] | Prisma.BugCommentReactionUncheckedCreateWithoutCommentInput[]
380
+ connectOrCreate?: Prisma.BugCommentReactionCreateOrConnectWithoutCommentInput | Prisma.BugCommentReactionCreateOrConnectWithoutCommentInput[]
381
+ createMany?: Prisma.BugCommentReactionCreateManyCommentInputEnvelope
382
+ connect?: Prisma.BugCommentReactionWhereUniqueInput | Prisma.BugCommentReactionWhereUniqueInput[]
383
+ }
384
+
385
+ export type BugCommentReactionUpdateManyWithoutCommentNestedInput = {
386
+ create?: Prisma.XOR<Prisma.BugCommentReactionCreateWithoutCommentInput, Prisma.BugCommentReactionUncheckedCreateWithoutCommentInput> | Prisma.BugCommentReactionCreateWithoutCommentInput[] | Prisma.BugCommentReactionUncheckedCreateWithoutCommentInput[]
387
+ connectOrCreate?: Prisma.BugCommentReactionCreateOrConnectWithoutCommentInput | Prisma.BugCommentReactionCreateOrConnectWithoutCommentInput[]
388
+ upsert?: Prisma.BugCommentReactionUpsertWithWhereUniqueWithoutCommentInput | Prisma.BugCommentReactionUpsertWithWhereUniqueWithoutCommentInput[]
389
+ createMany?: Prisma.BugCommentReactionCreateManyCommentInputEnvelope
390
+ set?: Prisma.BugCommentReactionWhereUniqueInput | Prisma.BugCommentReactionWhereUniqueInput[]
391
+ disconnect?: Prisma.BugCommentReactionWhereUniqueInput | Prisma.BugCommentReactionWhereUniqueInput[]
392
+ delete?: Prisma.BugCommentReactionWhereUniqueInput | Prisma.BugCommentReactionWhereUniqueInput[]
393
+ connect?: Prisma.BugCommentReactionWhereUniqueInput | Prisma.BugCommentReactionWhereUniqueInput[]
394
+ update?: Prisma.BugCommentReactionUpdateWithWhereUniqueWithoutCommentInput | Prisma.BugCommentReactionUpdateWithWhereUniqueWithoutCommentInput[]
395
+ updateMany?: Prisma.BugCommentReactionUpdateManyWithWhereWithoutCommentInput | Prisma.BugCommentReactionUpdateManyWithWhereWithoutCommentInput[]
396
+ deleteMany?: Prisma.BugCommentReactionScalarWhereInput | Prisma.BugCommentReactionScalarWhereInput[]
397
+ }
398
+
399
+ export type BugCommentReactionUncheckedUpdateManyWithoutCommentNestedInput = {
400
+ create?: Prisma.XOR<Prisma.BugCommentReactionCreateWithoutCommentInput, Prisma.BugCommentReactionUncheckedCreateWithoutCommentInput> | Prisma.BugCommentReactionCreateWithoutCommentInput[] | Prisma.BugCommentReactionUncheckedCreateWithoutCommentInput[]
401
+ connectOrCreate?: Prisma.BugCommentReactionCreateOrConnectWithoutCommentInput | Prisma.BugCommentReactionCreateOrConnectWithoutCommentInput[]
402
+ upsert?: Prisma.BugCommentReactionUpsertWithWhereUniqueWithoutCommentInput | Prisma.BugCommentReactionUpsertWithWhereUniqueWithoutCommentInput[]
403
+ createMany?: Prisma.BugCommentReactionCreateManyCommentInputEnvelope
404
+ set?: Prisma.BugCommentReactionWhereUniqueInput | Prisma.BugCommentReactionWhereUniqueInput[]
405
+ disconnect?: Prisma.BugCommentReactionWhereUniqueInput | Prisma.BugCommentReactionWhereUniqueInput[]
406
+ delete?: Prisma.BugCommentReactionWhereUniqueInput | Prisma.BugCommentReactionWhereUniqueInput[]
407
+ connect?: Prisma.BugCommentReactionWhereUniqueInput | Prisma.BugCommentReactionWhereUniqueInput[]
408
+ update?: Prisma.BugCommentReactionUpdateWithWhereUniqueWithoutCommentInput | Prisma.BugCommentReactionUpdateWithWhereUniqueWithoutCommentInput[]
409
+ updateMany?: Prisma.BugCommentReactionUpdateManyWithWhereWithoutCommentInput | Prisma.BugCommentReactionUpdateManyWithWhereWithoutCommentInput[]
410
+ deleteMany?: Prisma.BugCommentReactionScalarWhereInput | Prisma.BugCommentReactionScalarWhereInput[]
411
+ }
412
+
413
+ export type BugCommentReactionCreateWithoutUserInput = {
414
+ id?: string
415
+ emoji: string
416
+ createdAt?: Date | string
417
+ comment: Prisma.BugCommentCreateNestedOneWithoutReactionsInput
418
+ }
419
+
420
+ export type BugCommentReactionUncheckedCreateWithoutUserInput = {
421
+ id?: string
422
+ commentId: string
423
+ emoji: string
424
+ createdAt?: Date | string
425
+ }
426
+
427
+ export type BugCommentReactionCreateOrConnectWithoutUserInput = {
428
+ where: Prisma.BugCommentReactionWhereUniqueInput
429
+ create: Prisma.XOR<Prisma.BugCommentReactionCreateWithoutUserInput, Prisma.BugCommentReactionUncheckedCreateWithoutUserInput>
430
+ }
431
+
432
+ export type BugCommentReactionCreateManyUserInputEnvelope = {
433
+ data: Prisma.BugCommentReactionCreateManyUserInput | Prisma.BugCommentReactionCreateManyUserInput[]
434
+ skipDuplicates?: boolean
435
+ }
436
+
437
+ export type BugCommentReactionUpsertWithWhereUniqueWithoutUserInput = {
438
+ where: Prisma.BugCommentReactionWhereUniqueInput
439
+ update: Prisma.XOR<Prisma.BugCommentReactionUpdateWithoutUserInput, Prisma.BugCommentReactionUncheckedUpdateWithoutUserInput>
440
+ create: Prisma.XOR<Prisma.BugCommentReactionCreateWithoutUserInput, Prisma.BugCommentReactionUncheckedCreateWithoutUserInput>
441
+ }
442
+
443
+ export type BugCommentReactionUpdateWithWhereUniqueWithoutUserInput = {
444
+ where: Prisma.BugCommentReactionWhereUniqueInput
445
+ data: Prisma.XOR<Prisma.BugCommentReactionUpdateWithoutUserInput, Prisma.BugCommentReactionUncheckedUpdateWithoutUserInput>
446
+ }
447
+
448
+ export type BugCommentReactionUpdateManyWithWhereWithoutUserInput = {
449
+ where: Prisma.BugCommentReactionScalarWhereInput
450
+ data: Prisma.XOR<Prisma.BugCommentReactionUpdateManyMutationInput, Prisma.BugCommentReactionUncheckedUpdateManyWithoutUserInput>
451
+ }
452
+
453
+ export type BugCommentReactionScalarWhereInput = {
454
+ AND?: Prisma.BugCommentReactionScalarWhereInput | Prisma.BugCommentReactionScalarWhereInput[]
455
+ OR?: Prisma.BugCommentReactionScalarWhereInput[]
456
+ NOT?: Prisma.BugCommentReactionScalarWhereInput | Prisma.BugCommentReactionScalarWhereInput[]
457
+ id?: Prisma.StringFilter<"BugCommentReaction"> | string
458
+ commentId?: Prisma.StringFilter<"BugCommentReaction"> | string
459
+ userId?: Prisma.StringFilter<"BugCommentReaction"> | string
460
+ emoji?: Prisma.StringFilter<"BugCommentReaction"> | string
461
+ createdAt?: Prisma.DateTimeFilter<"BugCommentReaction"> | Date | string
462
+ }
463
+
464
+ export type BugCommentReactionCreateWithoutCommentInput = {
465
+ id?: string
466
+ emoji: string
467
+ createdAt?: Date | string
468
+ user: Prisma.UserCreateNestedOneWithoutBugCommentReactionsInput
469
+ }
470
+
471
+ export type BugCommentReactionUncheckedCreateWithoutCommentInput = {
472
+ id?: string
473
+ userId: string
474
+ emoji: string
475
+ createdAt?: Date | string
476
+ }
477
+
478
+ export type BugCommentReactionCreateOrConnectWithoutCommentInput = {
479
+ where: Prisma.BugCommentReactionWhereUniqueInput
480
+ create: Prisma.XOR<Prisma.BugCommentReactionCreateWithoutCommentInput, Prisma.BugCommentReactionUncheckedCreateWithoutCommentInput>
481
+ }
482
+
483
+ export type BugCommentReactionCreateManyCommentInputEnvelope = {
484
+ data: Prisma.BugCommentReactionCreateManyCommentInput | Prisma.BugCommentReactionCreateManyCommentInput[]
485
+ skipDuplicates?: boolean
486
+ }
487
+
488
+ export type BugCommentReactionUpsertWithWhereUniqueWithoutCommentInput = {
489
+ where: Prisma.BugCommentReactionWhereUniqueInput
490
+ update: Prisma.XOR<Prisma.BugCommentReactionUpdateWithoutCommentInput, Prisma.BugCommentReactionUncheckedUpdateWithoutCommentInput>
491
+ create: Prisma.XOR<Prisma.BugCommentReactionCreateWithoutCommentInput, Prisma.BugCommentReactionUncheckedCreateWithoutCommentInput>
492
+ }
493
+
494
+ export type BugCommentReactionUpdateWithWhereUniqueWithoutCommentInput = {
495
+ where: Prisma.BugCommentReactionWhereUniqueInput
496
+ data: Prisma.XOR<Prisma.BugCommentReactionUpdateWithoutCommentInput, Prisma.BugCommentReactionUncheckedUpdateWithoutCommentInput>
497
+ }
498
+
499
+ export type BugCommentReactionUpdateManyWithWhereWithoutCommentInput = {
500
+ where: Prisma.BugCommentReactionScalarWhereInput
501
+ data: Prisma.XOR<Prisma.BugCommentReactionUpdateManyMutationInput, Prisma.BugCommentReactionUncheckedUpdateManyWithoutCommentInput>
502
+ }
503
+
504
+ export type BugCommentReactionCreateManyUserInput = {
505
+ id?: string
506
+ commentId: string
507
+ emoji: string
508
+ createdAt?: Date | string
509
+ }
510
+
511
+ export type BugCommentReactionUpdateWithoutUserInput = {
512
+ id?: Prisma.StringFieldUpdateOperationsInput | string
513
+ emoji?: Prisma.StringFieldUpdateOperationsInput | string
514
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
515
+ comment?: Prisma.BugCommentUpdateOneRequiredWithoutReactionsNestedInput
516
+ }
517
+
518
+ export type BugCommentReactionUncheckedUpdateWithoutUserInput = {
519
+ id?: Prisma.StringFieldUpdateOperationsInput | string
520
+ commentId?: Prisma.StringFieldUpdateOperationsInput | string
521
+ emoji?: Prisma.StringFieldUpdateOperationsInput | string
522
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
523
+ }
524
+
525
+ export type BugCommentReactionUncheckedUpdateManyWithoutUserInput = {
526
+ id?: Prisma.StringFieldUpdateOperationsInput | string
527
+ commentId?: Prisma.StringFieldUpdateOperationsInput | string
528
+ emoji?: Prisma.StringFieldUpdateOperationsInput | string
529
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
530
+ }
531
+
532
+ export type BugCommentReactionCreateManyCommentInput = {
533
+ id?: string
534
+ userId: string
535
+ emoji: string
536
+ createdAt?: Date | string
537
+ }
538
+
539
+ export type BugCommentReactionUpdateWithoutCommentInput = {
540
+ id?: Prisma.StringFieldUpdateOperationsInput | string
541
+ emoji?: Prisma.StringFieldUpdateOperationsInput | string
542
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
543
+ user?: Prisma.UserUpdateOneRequiredWithoutBugCommentReactionsNestedInput
544
+ }
545
+
546
+ export type BugCommentReactionUncheckedUpdateWithoutCommentInput = {
547
+ id?: Prisma.StringFieldUpdateOperationsInput | string
548
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
549
+ emoji?: Prisma.StringFieldUpdateOperationsInput | string
550
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
551
+ }
552
+
553
+ export type BugCommentReactionUncheckedUpdateManyWithoutCommentInput = {
554
+ id?: Prisma.StringFieldUpdateOperationsInput | string
555
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
556
+ emoji?: Prisma.StringFieldUpdateOperationsInput | string
557
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
558
+ }
559
+
560
+
561
+
562
+ export type BugCommentReactionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
563
+ id?: boolean
564
+ commentId?: boolean
565
+ userId?: boolean
566
+ emoji?: boolean
567
+ createdAt?: boolean
568
+ comment?: boolean | Prisma.BugCommentDefaultArgs<ExtArgs>
569
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
570
+ }, ExtArgs["result"]["bugCommentReaction"]>
571
+
572
+ export type BugCommentReactionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
573
+ id?: boolean
574
+ commentId?: boolean
575
+ userId?: boolean
576
+ emoji?: boolean
577
+ createdAt?: boolean
578
+ comment?: boolean | Prisma.BugCommentDefaultArgs<ExtArgs>
579
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
580
+ }, ExtArgs["result"]["bugCommentReaction"]>
581
+
582
+ export type BugCommentReactionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
583
+ id?: boolean
584
+ commentId?: boolean
585
+ userId?: boolean
586
+ emoji?: boolean
587
+ createdAt?: boolean
588
+ comment?: boolean | Prisma.BugCommentDefaultArgs<ExtArgs>
589
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
590
+ }, ExtArgs["result"]["bugCommentReaction"]>
591
+
592
+ export type BugCommentReactionSelectScalar = {
593
+ id?: boolean
594
+ commentId?: boolean
595
+ userId?: boolean
596
+ emoji?: boolean
597
+ createdAt?: boolean
598
+ }
599
+
600
+ export type BugCommentReactionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "commentId" | "userId" | "emoji" | "createdAt", ExtArgs["result"]["bugCommentReaction"]>
601
+ export type BugCommentReactionInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
602
+ comment?: boolean | Prisma.BugCommentDefaultArgs<ExtArgs>
603
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
604
+ }
605
+ export type BugCommentReactionIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
606
+ comment?: boolean | Prisma.BugCommentDefaultArgs<ExtArgs>
607
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
608
+ }
609
+ export type BugCommentReactionIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
610
+ comment?: boolean | Prisma.BugCommentDefaultArgs<ExtArgs>
611
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
612
+ }
613
+
614
+ export type $BugCommentReactionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
615
+ name: "BugCommentReaction"
616
+ objects: {
617
+ comment: Prisma.$BugCommentPayload<ExtArgs>
618
+ user: Prisma.$UserPayload<ExtArgs>
619
+ }
620
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
621
+ id: string
622
+ commentId: string
623
+ userId: string
624
+ emoji: string
625
+ createdAt: Date
626
+ }, ExtArgs["result"]["bugCommentReaction"]>
627
+ composites: {}
628
+ }
629
+
630
+ export type BugCommentReactionGetPayload<S extends boolean | null | undefined | BugCommentReactionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$BugCommentReactionPayload, S>
631
+
632
+ export type BugCommentReactionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
633
+ Omit<BugCommentReactionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
634
+ select?: BugCommentReactionCountAggregateInputType | true
635
+ }
636
+
637
+ export interface BugCommentReactionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
638
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['BugCommentReaction'], meta: { name: 'BugCommentReaction' } }
639
+ /**
640
+ * Find zero or one BugCommentReaction that matches the filter.
641
+ * @param {BugCommentReactionFindUniqueArgs} args - Arguments to find a BugCommentReaction
642
+ * @example
643
+ * // Get one BugCommentReaction
644
+ * const bugCommentReaction = await prisma.bugCommentReaction.findUnique({
645
+ * where: {
646
+ * // ... provide filter here
647
+ * }
648
+ * })
649
+ */
650
+ findUnique<T extends BugCommentReactionFindUniqueArgs>(args: Prisma.SelectSubset<T, BugCommentReactionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__BugCommentReactionClient<runtime.Types.Result.GetResult<Prisma.$BugCommentReactionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
651
+
652
+ /**
653
+ * Find one BugCommentReaction that matches the filter or throw an error with `error.code='P2025'`
654
+ * if no matches were found.
655
+ * @param {BugCommentReactionFindUniqueOrThrowArgs} args - Arguments to find a BugCommentReaction
656
+ * @example
657
+ * // Get one BugCommentReaction
658
+ * const bugCommentReaction = await prisma.bugCommentReaction.findUniqueOrThrow({
659
+ * where: {
660
+ * // ... provide filter here
661
+ * }
662
+ * })
663
+ */
664
+ findUniqueOrThrow<T extends BugCommentReactionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, BugCommentReactionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__BugCommentReactionClient<runtime.Types.Result.GetResult<Prisma.$BugCommentReactionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
665
+
666
+ /**
667
+ * Find the first BugCommentReaction that matches the filter.
668
+ * Note, that providing `undefined` is treated as the value not being there.
669
+ * Read more here: https://pris.ly/d/null-undefined
670
+ * @param {BugCommentReactionFindFirstArgs} args - Arguments to find a BugCommentReaction
671
+ * @example
672
+ * // Get one BugCommentReaction
673
+ * const bugCommentReaction = await prisma.bugCommentReaction.findFirst({
674
+ * where: {
675
+ * // ... provide filter here
676
+ * }
677
+ * })
678
+ */
679
+ findFirst<T extends BugCommentReactionFindFirstArgs>(args?: Prisma.SelectSubset<T, BugCommentReactionFindFirstArgs<ExtArgs>>): Prisma.Prisma__BugCommentReactionClient<runtime.Types.Result.GetResult<Prisma.$BugCommentReactionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
680
+
681
+ /**
682
+ * Find the first BugCommentReaction that matches the filter or
683
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
684
+ * Note, that providing `undefined` is treated as the value not being there.
685
+ * Read more here: https://pris.ly/d/null-undefined
686
+ * @param {BugCommentReactionFindFirstOrThrowArgs} args - Arguments to find a BugCommentReaction
687
+ * @example
688
+ * // Get one BugCommentReaction
689
+ * const bugCommentReaction = await prisma.bugCommentReaction.findFirstOrThrow({
690
+ * where: {
691
+ * // ... provide filter here
692
+ * }
693
+ * })
694
+ */
695
+ findFirstOrThrow<T extends BugCommentReactionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, BugCommentReactionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__BugCommentReactionClient<runtime.Types.Result.GetResult<Prisma.$BugCommentReactionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
696
+
697
+ /**
698
+ * Find zero or more BugCommentReactions that matches the filter.
699
+ * Note, that providing `undefined` is treated as the value not being there.
700
+ * Read more here: https://pris.ly/d/null-undefined
701
+ * @param {BugCommentReactionFindManyArgs} args - Arguments to filter and select certain fields only.
702
+ * @example
703
+ * // Get all BugCommentReactions
704
+ * const bugCommentReactions = await prisma.bugCommentReaction.findMany()
705
+ *
706
+ * // Get first 10 BugCommentReactions
707
+ * const bugCommentReactions = await prisma.bugCommentReaction.findMany({ take: 10 })
708
+ *
709
+ * // Only select the `id`
710
+ * const bugCommentReactionWithIdOnly = await prisma.bugCommentReaction.findMany({ select: { id: true } })
711
+ *
712
+ */
713
+ findMany<T extends BugCommentReactionFindManyArgs>(args?: Prisma.SelectSubset<T, BugCommentReactionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BugCommentReactionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
714
+
715
+ /**
716
+ * Create a BugCommentReaction.
717
+ * @param {BugCommentReactionCreateArgs} args - Arguments to create a BugCommentReaction.
718
+ * @example
719
+ * // Create one BugCommentReaction
720
+ * const BugCommentReaction = await prisma.bugCommentReaction.create({
721
+ * data: {
722
+ * // ... data to create a BugCommentReaction
723
+ * }
724
+ * })
725
+ *
726
+ */
727
+ create<T extends BugCommentReactionCreateArgs>(args: Prisma.SelectSubset<T, BugCommentReactionCreateArgs<ExtArgs>>): Prisma.Prisma__BugCommentReactionClient<runtime.Types.Result.GetResult<Prisma.$BugCommentReactionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
728
+
729
+ /**
730
+ * Create many BugCommentReactions.
731
+ * @param {BugCommentReactionCreateManyArgs} args - Arguments to create many BugCommentReactions.
732
+ * @example
733
+ * // Create many BugCommentReactions
734
+ * const bugCommentReaction = await prisma.bugCommentReaction.createMany({
735
+ * data: [
736
+ * // ... provide data here
737
+ * ]
738
+ * })
739
+ *
740
+ */
741
+ createMany<T extends BugCommentReactionCreateManyArgs>(args?: Prisma.SelectSubset<T, BugCommentReactionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
742
+
743
+ /**
744
+ * Create many BugCommentReactions and returns the data saved in the database.
745
+ * @param {BugCommentReactionCreateManyAndReturnArgs} args - Arguments to create many BugCommentReactions.
746
+ * @example
747
+ * // Create many BugCommentReactions
748
+ * const bugCommentReaction = await prisma.bugCommentReaction.createManyAndReturn({
749
+ * data: [
750
+ * // ... provide data here
751
+ * ]
752
+ * })
753
+ *
754
+ * // Create many BugCommentReactions and only return the `id`
755
+ * const bugCommentReactionWithIdOnly = await prisma.bugCommentReaction.createManyAndReturn({
756
+ * select: { id: true },
757
+ * data: [
758
+ * // ... provide data here
759
+ * ]
760
+ * })
761
+ * Note, that providing `undefined` is treated as the value not being there.
762
+ * Read more here: https://pris.ly/d/null-undefined
763
+ *
764
+ */
765
+ createManyAndReturn<T extends BugCommentReactionCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, BugCommentReactionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BugCommentReactionPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
766
+
767
+ /**
768
+ * Delete a BugCommentReaction.
769
+ * @param {BugCommentReactionDeleteArgs} args - Arguments to delete one BugCommentReaction.
770
+ * @example
771
+ * // Delete one BugCommentReaction
772
+ * const BugCommentReaction = await prisma.bugCommentReaction.delete({
773
+ * where: {
774
+ * // ... filter to delete one BugCommentReaction
775
+ * }
776
+ * })
777
+ *
778
+ */
779
+ delete<T extends BugCommentReactionDeleteArgs>(args: Prisma.SelectSubset<T, BugCommentReactionDeleteArgs<ExtArgs>>): Prisma.Prisma__BugCommentReactionClient<runtime.Types.Result.GetResult<Prisma.$BugCommentReactionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
780
+
781
+ /**
782
+ * Update one BugCommentReaction.
783
+ * @param {BugCommentReactionUpdateArgs} args - Arguments to update one BugCommentReaction.
784
+ * @example
785
+ * // Update one BugCommentReaction
786
+ * const bugCommentReaction = await prisma.bugCommentReaction.update({
787
+ * where: {
788
+ * // ... provide filter here
789
+ * },
790
+ * data: {
791
+ * // ... provide data here
792
+ * }
793
+ * })
794
+ *
795
+ */
796
+ update<T extends BugCommentReactionUpdateArgs>(args: Prisma.SelectSubset<T, BugCommentReactionUpdateArgs<ExtArgs>>): Prisma.Prisma__BugCommentReactionClient<runtime.Types.Result.GetResult<Prisma.$BugCommentReactionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
797
+
798
+ /**
799
+ * Delete zero or more BugCommentReactions.
800
+ * @param {BugCommentReactionDeleteManyArgs} args - Arguments to filter BugCommentReactions to delete.
801
+ * @example
802
+ * // Delete a few BugCommentReactions
803
+ * const { count } = await prisma.bugCommentReaction.deleteMany({
804
+ * where: {
805
+ * // ... provide filter here
806
+ * }
807
+ * })
808
+ *
809
+ */
810
+ deleteMany<T extends BugCommentReactionDeleteManyArgs>(args?: Prisma.SelectSubset<T, BugCommentReactionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
811
+
812
+ /**
813
+ * Update zero or more BugCommentReactions.
814
+ * Note, that providing `undefined` is treated as the value not being there.
815
+ * Read more here: https://pris.ly/d/null-undefined
816
+ * @param {BugCommentReactionUpdateManyArgs} args - Arguments to update one or more rows.
817
+ * @example
818
+ * // Update many BugCommentReactions
819
+ * const bugCommentReaction = await prisma.bugCommentReaction.updateMany({
820
+ * where: {
821
+ * // ... provide filter here
822
+ * },
823
+ * data: {
824
+ * // ... provide data here
825
+ * }
826
+ * })
827
+ *
828
+ */
829
+ updateMany<T extends BugCommentReactionUpdateManyArgs>(args: Prisma.SelectSubset<T, BugCommentReactionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
830
+
831
+ /**
832
+ * Update zero or more BugCommentReactions and returns the data updated in the database.
833
+ * @param {BugCommentReactionUpdateManyAndReturnArgs} args - Arguments to update many BugCommentReactions.
834
+ * @example
835
+ * // Update many BugCommentReactions
836
+ * const bugCommentReaction = await prisma.bugCommentReaction.updateManyAndReturn({
837
+ * where: {
838
+ * // ... provide filter here
839
+ * },
840
+ * data: [
841
+ * // ... provide data here
842
+ * ]
843
+ * })
844
+ *
845
+ * // Update zero or more BugCommentReactions and only return the `id`
846
+ * const bugCommentReactionWithIdOnly = await prisma.bugCommentReaction.updateManyAndReturn({
847
+ * select: { id: true },
848
+ * where: {
849
+ * // ... provide filter here
850
+ * },
851
+ * data: [
852
+ * // ... provide data here
853
+ * ]
854
+ * })
855
+ * Note, that providing `undefined` is treated as the value not being there.
856
+ * Read more here: https://pris.ly/d/null-undefined
857
+ *
858
+ */
859
+ updateManyAndReturn<T extends BugCommentReactionUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, BugCommentReactionUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BugCommentReactionPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
860
+
861
+ /**
862
+ * Create or update one BugCommentReaction.
863
+ * @param {BugCommentReactionUpsertArgs} args - Arguments to update or create a BugCommentReaction.
864
+ * @example
865
+ * // Update or create a BugCommentReaction
866
+ * const bugCommentReaction = await prisma.bugCommentReaction.upsert({
867
+ * create: {
868
+ * // ... data to create a BugCommentReaction
869
+ * },
870
+ * update: {
871
+ * // ... in case it already exists, update
872
+ * },
873
+ * where: {
874
+ * // ... the filter for the BugCommentReaction we want to update
875
+ * }
876
+ * })
877
+ */
878
+ upsert<T extends BugCommentReactionUpsertArgs>(args: Prisma.SelectSubset<T, BugCommentReactionUpsertArgs<ExtArgs>>): Prisma.Prisma__BugCommentReactionClient<runtime.Types.Result.GetResult<Prisma.$BugCommentReactionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
879
+
880
+
881
+ /**
882
+ * Count the number of BugCommentReactions.
883
+ * Note, that providing `undefined` is treated as the value not being there.
884
+ * Read more here: https://pris.ly/d/null-undefined
885
+ * @param {BugCommentReactionCountArgs} args - Arguments to filter BugCommentReactions to count.
886
+ * @example
887
+ * // Count the number of BugCommentReactions
888
+ * const count = await prisma.bugCommentReaction.count({
889
+ * where: {
890
+ * // ... the filter for the BugCommentReactions we want to count
891
+ * }
892
+ * })
893
+ **/
894
+ count<T extends BugCommentReactionCountArgs>(
895
+ args?: Prisma.Subset<T, BugCommentReactionCountArgs>,
896
+ ): Prisma.PrismaPromise<
897
+ T extends runtime.Types.Utils.Record<'select', any>
898
+ ? T['select'] extends true
899
+ ? number
900
+ : Prisma.GetScalarType<T['select'], BugCommentReactionCountAggregateOutputType>
901
+ : number
902
+ >
903
+
904
+ /**
905
+ * Allows you to perform aggregations operations on a BugCommentReaction.
906
+ * Note, that providing `undefined` is treated as the value not being there.
907
+ * Read more here: https://pris.ly/d/null-undefined
908
+ * @param {BugCommentReactionAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
909
+ * @example
910
+ * // Ordered by age ascending
911
+ * // Where email contains prisma.io
912
+ * // Limited to the 10 users
913
+ * const aggregations = await prisma.user.aggregate({
914
+ * _avg: {
915
+ * age: true,
916
+ * },
917
+ * where: {
918
+ * email: {
919
+ * contains: "prisma.io",
920
+ * },
921
+ * },
922
+ * orderBy: {
923
+ * age: "asc",
924
+ * },
925
+ * take: 10,
926
+ * })
927
+ **/
928
+ aggregate<T extends BugCommentReactionAggregateArgs>(args: Prisma.Subset<T, BugCommentReactionAggregateArgs>): Prisma.PrismaPromise<GetBugCommentReactionAggregateType<T>>
929
+
930
+ /**
931
+ * Group by BugCommentReaction.
932
+ * Note, that providing `undefined` is treated as the value not being there.
933
+ * Read more here: https://pris.ly/d/null-undefined
934
+ * @param {BugCommentReactionGroupByArgs} args - Group by arguments.
935
+ * @example
936
+ * // Group by city, order by createdAt, get count
937
+ * const result = await prisma.user.groupBy({
938
+ * by: ['city', 'createdAt'],
939
+ * orderBy: {
940
+ * createdAt: true
941
+ * },
942
+ * _count: {
943
+ * _all: true
944
+ * },
945
+ * })
946
+ *
947
+ **/
948
+ groupBy<
949
+ T extends BugCommentReactionGroupByArgs,
950
+ HasSelectOrTake extends Prisma.Or<
951
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
952
+ Prisma.Extends<'take', Prisma.Keys<T>>
953
+ >,
954
+ OrderByArg extends Prisma.True extends HasSelectOrTake
955
+ ? { orderBy: BugCommentReactionGroupByArgs['orderBy'] }
956
+ : { orderBy?: BugCommentReactionGroupByArgs['orderBy'] },
957
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
958
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
959
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
960
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
961
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
962
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
963
+ InputErrors extends ByEmpty extends Prisma.True
964
+ ? `Error: "by" must not be empty.`
965
+ : HavingValid extends Prisma.False
966
+ ? {
967
+ [P in HavingFields]: P extends ByFields
968
+ ? never
969
+ : P extends string
970
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
971
+ : [
972
+ Error,
973
+ 'Field ',
974
+ P,
975
+ ` in "having" needs to be provided in "by"`,
976
+ ]
977
+ }[HavingFields]
978
+ : 'take' extends Prisma.Keys<T>
979
+ ? 'orderBy' extends Prisma.Keys<T>
980
+ ? ByValid extends Prisma.True
981
+ ? {}
982
+ : {
983
+ [P in OrderFields]: P extends ByFields
984
+ ? never
985
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
986
+ }[OrderFields]
987
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
988
+ : 'skip' extends Prisma.Keys<T>
989
+ ? 'orderBy' extends Prisma.Keys<T>
990
+ ? ByValid extends Prisma.True
991
+ ? {}
992
+ : {
993
+ [P in OrderFields]: P extends ByFields
994
+ ? never
995
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
996
+ }[OrderFields]
997
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
998
+ : ByValid extends Prisma.True
999
+ ? {}
1000
+ : {
1001
+ [P in OrderFields]: P extends ByFields
1002
+ ? never
1003
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1004
+ }[OrderFields]
1005
+ >(args: Prisma.SubsetIntersection<T, BugCommentReactionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetBugCommentReactionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1006
+ /**
1007
+ * Fields of the BugCommentReaction model
1008
+ */
1009
+ readonly fields: BugCommentReactionFieldRefs;
1010
+ }
1011
+
1012
+ /**
1013
+ * The delegate class that acts as a "Promise-like" for BugCommentReaction.
1014
+ * Why is this prefixed with `Prisma__`?
1015
+ * Because we want to prevent naming conflicts as mentioned in
1016
+ * https://github.com/prisma/prisma-client-js/issues/707
1017
+ */
1018
+ export interface Prisma__BugCommentReactionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1019
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1020
+ comment<T extends Prisma.BugCommentDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BugCommentDefaultArgs<ExtArgs>>): Prisma.Prisma__BugCommentClient<runtime.Types.Result.GetResult<Prisma.$BugCommentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1021
+ user<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1022
+ /**
1023
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1024
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1025
+ * @param onrejected The callback to execute when the Promise is rejected.
1026
+ * @returns A Promise for the completion of which ever callback is executed.
1027
+ */
1028
+ 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>
1029
+ /**
1030
+ * Attaches a callback for only the rejection of the Promise.
1031
+ * @param onrejected The callback to execute when the Promise is rejected.
1032
+ * @returns A Promise for the completion of the callback.
1033
+ */
1034
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1035
+ /**
1036
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1037
+ * resolved value cannot be modified from the callback.
1038
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1039
+ * @returns A Promise for the completion of the callback.
1040
+ */
1041
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1042
+ }
1043
+
1044
+
1045
+
1046
+
1047
+ /**
1048
+ * Fields of the BugCommentReaction model
1049
+ */
1050
+ export interface BugCommentReactionFieldRefs {
1051
+ readonly id: Prisma.FieldRef<"BugCommentReaction", 'String'>
1052
+ readonly commentId: Prisma.FieldRef<"BugCommentReaction", 'String'>
1053
+ readonly userId: Prisma.FieldRef<"BugCommentReaction", 'String'>
1054
+ readonly emoji: Prisma.FieldRef<"BugCommentReaction", 'String'>
1055
+ readonly createdAt: Prisma.FieldRef<"BugCommentReaction", 'DateTime'>
1056
+ }
1057
+
1058
+
1059
+ // Custom InputTypes
1060
+ /**
1061
+ * BugCommentReaction findUnique
1062
+ */
1063
+ export type BugCommentReactionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1064
+ /**
1065
+ * Select specific fields to fetch from the BugCommentReaction
1066
+ */
1067
+ select?: Prisma.BugCommentReactionSelect<ExtArgs> | null
1068
+ /**
1069
+ * Omit specific fields from the BugCommentReaction
1070
+ */
1071
+ omit?: Prisma.BugCommentReactionOmit<ExtArgs> | null
1072
+ /**
1073
+ * Choose, which related nodes to fetch as well
1074
+ */
1075
+ include?: Prisma.BugCommentReactionInclude<ExtArgs> | null
1076
+ /**
1077
+ * Filter, which BugCommentReaction to fetch.
1078
+ */
1079
+ where: Prisma.BugCommentReactionWhereUniqueInput
1080
+ }
1081
+
1082
+ /**
1083
+ * BugCommentReaction findUniqueOrThrow
1084
+ */
1085
+ export type BugCommentReactionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1086
+ /**
1087
+ * Select specific fields to fetch from the BugCommentReaction
1088
+ */
1089
+ select?: Prisma.BugCommentReactionSelect<ExtArgs> | null
1090
+ /**
1091
+ * Omit specific fields from the BugCommentReaction
1092
+ */
1093
+ omit?: Prisma.BugCommentReactionOmit<ExtArgs> | null
1094
+ /**
1095
+ * Choose, which related nodes to fetch as well
1096
+ */
1097
+ include?: Prisma.BugCommentReactionInclude<ExtArgs> | null
1098
+ /**
1099
+ * Filter, which BugCommentReaction to fetch.
1100
+ */
1101
+ where: Prisma.BugCommentReactionWhereUniqueInput
1102
+ }
1103
+
1104
+ /**
1105
+ * BugCommentReaction findFirst
1106
+ */
1107
+ export type BugCommentReactionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1108
+ /**
1109
+ * Select specific fields to fetch from the BugCommentReaction
1110
+ */
1111
+ select?: Prisma.BugCommentReactionSelect<ExtArgs> | null
1112
+ /**
1113
+ * Omit specific fields from the BugCommentReaction
1114
+ */
1115
+ omit?: Prisma.BugCommentReactionOmit<ExtArgs> | null
1116
+ /**
1117
+ * Choose, which related nodes to fetch as well
1118
+ */
1119
+ include?: Prisma.BugCommentReactionInclude<ExtArgs> | null
1120
+ /**
1121
+ * Filter, which BugCommentReaction to fetch.
1122
+ */
1123
+ where?: Prisma.BugCommentReactionWhereInput
1124
+ /**
1125
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1126
+ *
1127
+ * Determine the order of BugCommentReactions to fetch.
1128
+ */
1129
+ orderBy?: Prisma.BugCommentReactionOrderByWithRelationInput | Prisma.BugCommentReactionOrderByWithRelationInput[]
1130
+ /**
1131
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1132
+ *
1133
+ * Sets the position for searching for BugCommentReactions.
1134
+ */
1135
+ cursor?: Prisma.BugCommentReactionWhereUniqueInput
1136
+ /**
1137
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1138
+ *
1139
+ * Take `±n` BugCommentReactions from the position of the cursor.
1140
+ */
1141
+ take?: number
1142
+ /**
1143
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1144
+ *
1145
+ * Skip the first `n` BugCommentReactions.
1146
+ */
1147
+ skip?: number
1148
+ /**
1149
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1150
+ *
1151
+ * Filter by unique combinations of BugCommentReactions.
1152
+ */
1153
+ distinct?: Prisma.BugCommentReactionScalarFieldEnum | Prisma.BugCommentReactionScalarFieldEnum[]
1154
+ }
1155
+
1156
+ /**
1157
+ * BugCommentReaction findFirstOrThrow
1158
+ */
1159
+ export type BugCommentReactionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1160
+ /**
1161
+ * Select specific fields to fetch from the BugCommentReaction
1162
+ */
1163
+ select?: Prisma.BugCommentReactionSelect<ExtArgs> | null
1164
+ /**
1165
+ * Omit specific fields from the BugCommentReaction
1166
+ */
1167
+ omit?: Prisma.BugCommentReactionOmit<ExtArgs> | null
1168
+ /**
1169
+ * Choose, which related nodes to fetch as well
1170
+ */
1171
+ include?: Prisma.BugCommentReactionInclude<ExtArgs> | null
1172
+ /**
1173
+ * Filter, which BugCommentReaction to fetch.
1174
+ */
1175
+ where?: Prisma.BugCommentReactionWhereInput
1176
+ /**
1177
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1178
+ *
1179
+ * Determine the order of BugCommentReactions to fetch.
1180
+ */
1181
+ orderBy?: Prisma.BugCommentReactionOrderByWithRelationInput | Prisma.BugCommentReactionOrderByWithRelationInput[]
1182
+ /**
1183
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1184
+ *
1185
+ * Sets the position for searching for BugCommentReactions.
1186
+ */
1187
+ cursor?: Prisma.BugCommentReactionWhereUniqueInput
1188
+ /**
1189
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1190
+ *
1191
+ * Take `±n` BugCommentReactions from the position of the cursor.
1192
+ */
1193
+ take?: number
1194
+ /**
1195
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1196
+ *
1197
+ * Skip the first `n` BugCommentReactions.
1198
+ */
1199
+ skip?: number
1200
+ /**
1201
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1202
+ *
1203
+ * Filter by unique combinations of BugCommentReactions.
1204
+ */
1205
+ distinct?: Prisma.BugCommentReactionScalarFieldEnum | Prisma.BugCommentReactionScalarFieldEnum[]
1206
+ }
1207
+
1208
+ /**
1209
+ * BugCommentReaction findMany
1210
+ */
1211
+ export type BugCommentReactionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1212
+ /**
1213
+ * Select specific fields to fetch from the BugCommentReaction
1214
+ */
1215
+ select?: Prisma.BugCommentReactionSelect<ExtArgs> | null
1216
+ /**
1217
+ * Omit specific fields from the BugCommentReaction
1218
+ */
1219
+ omit?: Prisma.BugCommentReactionOmit<ExtArgs> | null
1220
+ /**
1221
+ * Choose, which related nodes to fetch as well
1222
+ */
1223
+ include?: Prisma.BugCommentReactionInclude<ExtArgs> | null
1224
+ /**
1225
+ * Filter, which BugCommentReactions to fetch.
1226
+ */
1227
+ where?: Prisma.BugCommentReactionWhereInput
1228
+ /**
1229
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1230
+ *
1231
+ * Determine the order of BugCommentReactions to fetch.
1232
+ */
1233
+ orderBy?: Prisma.BugCommentReactionOrderByWithRelationInput | Prisma.BugCommentReactionOrderByWithRelationInput[]
1234
+ /**
1235
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1236
+ *
1237
+ * Sets the position for listing BugCommentReactions.
1238
+ */
1239
+ cursor?: Prisma.BugCommentReactionWhereUniqueInput
1240
+ /**
1241
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1242
+ *
1243
+ * Take `±n` BugCommentReactions from the position of the cursor.
1244
+ */
1245
+ take?: number
1246
+ /**
1247
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1248
+ *
1249
+ * Skip the first `n` BugCommentReactions.
1250
+ */
1251
+ skip?: number
1252
+ /**
1253
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1254
+ *
1255
+ * Filter by unique combinations of BugCommentReactions.
1256
+ */
1257
+ distinct?: Prisma.BugCommentReactionScalarFieldEnum | Prisma.BugCommentReactionScalarFieldEnum[]
1258
+ }
1259
+
1260
+ /**
1261
+ * BugCommentReaction create
1262
+ */
1263
+ export type BugCommentReactionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1264
+ /**
1265
+ * Select specific fields to fetch from the BugCommentReaction
1266
+ */
1267
+ select?: Prisma.BugCommentReactionSelect<ExtArgs> | null
1268
+ /**
1269
+ * Omit specific fields from the BugCommentReaction
1270
+ */
1271
+ omit?: Prisma.BugCommentReactionOmit<ExtArgs> | null
1272
+ /**
1273
+ * Choose, which related nodes to fetch as well
1274
+ */
1275
+ include?: Prisma.BugCommentReactionInclude<ExtArgs> | null
1276
+ /**
1277
+ * The data needed to create a BugCommentReaction.
1278
+ */
1279
+ data: Prisma.XOR<Prisma.BugCommentReactionCreateInput, Prisma.BugCommentReactionUncheckedCreateInput>
1280
+ }
1281
+
1282
+ /**
1283
+ * BugCommentReaction createMany
1284
+ */
1285
+ export type BugCommentReactionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1286
+ /**
1287
+ * The data used to create many BugCommentReactions.
1288
+ */
1289
+ data: Prisma.BugCommentReactionCreateManyInput | Prisma.BugCommentReactionCreateManyInput[]
1290
+ skipDuplicates?: boolean
1291
+ }
1292
+
1293
+ /**
1294
+ * BugCommentReaction createManyAndReturn
1295
+ */
1296
+ export type BugCommentReactionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1297
+ /**
1298
+ * Select specific fields to fetch from the BugCommentReaction
1299
+ */
1300
+ select?: Prisma.BugCommentReactionSelectCreateManyAndReturn<ExtArgs> | null
1301
+ /**
1302
+ * Omit specific fields from the BugCommentReaction
1303
+ */
1304
+ omit?: Prisma.BugCommentReactionOmit<ExtArgs> | null
1305
+ /**
1306
+ * The data used to create many BugCommentReactions.
1307
+ */
1308
+ data: Prisma.BugCommentReactionCreateManyInput | Prisma.BugCommentReactionCreateManyInput[]
1309
+ skipDuplicates?: boolean
1310
+ /**
1311
+ * Choose, which related nodes to fetch as well
1312
+ */
1313
+ include?: Prisma.BugCommentReactionIncludeCreateManyAndReturn<ExtArgs> | null
1314
+ }
1315
+
1316
+ /**
1317
+ * BugCommentReaction update
1318
+ */
1319
+ export type BugCommentReactionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1320
+ /**
1321
+ * Select specific fields to fetch from the BugCommentReaction
1322
+ */
1323
+ select?: Prisma.BugCommentReactionSelect<ExtArgs> | null
1324
+ /**
1325
+ * Omit specific fields from the BugCommentReaction
1326
+ */
1327
+ omit?: Prisma.BugCommentReactionOmit<ExtArgs> | null
1328
+ /**
1329
+ * Choose, which related nodes to fetch as well
1330
+ */
1331
+ include?: Prisma.BugCommentReactionInclude<ExtArgs> | null
1332
+ /**
1333
+ * The data needed to update a BugCommentReaction.
1334
+ */
1335
+ data: Prisma.XOR<Prisma.BugCommentReactionUpdateInput, Prisma.BugCommentReactionUncheckedUpdateInput>
1336
+ /**
1337
+ * Choose, which BugCommentReaction to update.
1338
+ */
1339
+ where: Prisma.BugCommentReactionWhereUniqueInput
1340
+ }
1341
+
1342
+ /**
1343
+ * BugCommentReaction updateMany
1344
+ */
1345
+ export type BugCommentReactionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1346
+ /**
1347
+ * The data used to update BugCommentReactions.
1348
+ */
1349
+ data: Prisma.XOR<Prisma.BugCommentReactionUpdateManyMutationInput, Prisma.BugCommentReactionUncheckedUpdateManyInput>
1350
+ /**
1351
+ * Filter which BugCommentReactions to update
1352
+ */
1353
+ where?: Prisma.BugCommentReactionWhereInput
1354
+ /**
1355
+ * Limit how many BugCommentReactions to update.
1356
+ */
1357
+ limit?: number
1358
+ }
1359
+
1360
+ /**
1361
+ * BugCommentReaction updateManyAndReturn
1362
+ */
1363
+ export type BugCommentReactionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1364
+ /**
1365
+ * Select specific fields to fetch from the BugCommentReaction
1366
+ */
1367
+ select?: Prisma.BugCommentReactionSelectUpdateManyAndReturn<ExtArgs> | null
1368
+ /**
1369
+ * Omit specific fields from the BugCommentReaction
1370
+ */
1371
+ omit?: Prisma.BugCommentReactionOmit<ExtArgs> | null
1372
+ /**
1373
+ * The data used to update BugCommentReactions.
1374
+ */
1375
+ data: Prisma.XOR<Prisma.BugCommentReactionUpdateManyMutationInput, Prisma.BugCommentReactionUncheckedUpdateManyInput>
1376
+ /**
1377
+ * Filter which BugCommentReactions to update
1378
+ */
1379
+ where?: Prisma.BugCommentReactionWhereInput
1380
+ /**
1381
+ * Limit how many BugCommentReactions to update.
1382
+ */
1383
+ limit?: number
1384
+ /**
1385
+ * Choose, which related nodes to fetch as well
1386
+ */
1387
+ include?: Prisma.BugCommentReactionIncludeUpdateManyAndReturn<ExtArgs> | null
1388
+ }
1389
+
1390
+ /**
1391
+ * BugCommentReaction upsert
1392
+ */
1393
+ export type BugCommentReactionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1394
+ /**
1395
+ * Select specific fields to fetch from the BugCommentReaction
1396
+ */
1397
+ select?: Prisma.BugCommentReactionSelect<ExtArgs> | null
1398
+ /**
1399
+ * Omit specific fields from the BugCommentReaction
1400
+ */
1401
+ omit?: Prisma.BugCommentReactionOmit<ExtArgs> | null
1402
+ /**
1403
+ * Choose, which related nodes to fetch as well
1404
+ */
1405
+ include?: Prisma.BugCommentReactionInclude<ExtArgs> | null
1406
+ /**
1407
+ * The filter to search for the BugCommentReaction to update in case it exists.
1408
+ */
1409
+ where: Prisma.BugCommentReactionWhereUniqueInput
1410
+ /**
1411
+ * In case the BugCommentReaction found by the `where` argument doesn't exist, create a new BugCommentReaction with this data.
1412
+ */
1413
+ create: Prisma.XOR<Prisma.BugCommentReactionCreateInput, Prisma.BugCommentReactionUncheckedCreateInput>
1414
+ /**
1415
+ * In case the BugCommentReaction was found with the provided `where` argument, update it with this data.
1416
+ */
1417
+ update: Prisma.XOR<Prisma.BugCommentReactionUpdateInput, Prisma.BugCommentReactionUncheckedUpdateInput>
1418
+ }
1419
+
1420
+ /**
1421
+ * BugCommentReaction delete
1422
+ */
1423
+ export type BugCommentReactionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1424
+ /**
1425
+ * Select specific fields to fetch from the BugCommentReaction
1426
+ */
1427
+ select?: Prisma.BugCommentReactionSelect<ExtArgs> | null
1428
+ /**
1429
+ * Omit specific fields from the BugCommentReaction
1430
+ */
1431
+ omit?: Prisma.BugCommentReactionOmit<ExtArgs> | null
1432
+ /**
1433
+ * Choose, which related nodes to fetch as well
1434
+ */
1435
+ include?: Prisma.BugCommentReactionInclude<ExtArgs> | null
1436
+ /**
1437
+ * Filter which BugCommentReaction to delete.
1438
+ */
1439
+ where: Prisma.BugCommentReactionWhereUniqueInput
1440
+ }
1441
+
1442
+ /**
1443
+ * BugCommentReaction deleteMany
1444
+ */
1445
+ export type BugCommentReactionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1446
+ /**
1447
+ * Filter which BugCommentReactions to delete
1448
+ */
1449
+ where?: Prisma.BugCommentReactionWhereInput
1450
+ /**
1451
+ * Limit how many BugCommentReactions to delete.
1452
+ */
1453
+ limit?: number
1454
+ }
1455
+
1456
+ /**
1457
+ * BugCommentReaction without action
1458
+ */
1459
+ export type BugCommentReactionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1460
+ /**
1461
+ * Select specific fields to fetch from the BugCommentReaction
1462
+ */
1463
+ select?: Prisma.BugCommentReactionSelect<ExtArgs> | null
1464
+ /**
1465
+ * Omit specific fields from the BugCommentReaction
1466
+ */
1467
+ omit?: Prisma.BugCommentReactionOmit<ExtArgs> | null
1468
+ /**
1469
+ * Choose, which related nodes to fetch as well
1470
+ */
1471
+ include?: Prisma.BugCommentReactionInclude<ExtArgs> | null
1472
+ }