@allbluecn/database 0.9.1 → 0.9.3

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 (150) 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/desktop-init.ts +2 -2
  5. package/dist/cf-env-stub.d.ts +1 -0
  6. package/dist/cf-env-stub.js +4 -0
  7. package/dist/cf-env.d.ts +1 -0
  8. package/dist/cf-env.js +8 -0
  9. package/dist/lib/share-utils.js +3 -3
  10. package/generated/browser.ts +143 -38
  11. package/generated/client.ts +143 -38
  12. package/generated/commonInputTypes.ts +34 -0
  13. package/generated/enums.ts +14 -0
  14. package/generated/internal/class.ts +290 -80
  15. package/generated/internal/prismaNamespace.ts +3756 -1797
  16. package/generated/internal/prismaNamespaceBrowser.ts +478 -108
  17. package/generated/models/AgentConversation.ts +89 -89
  18. package/generated/models/AiProvider.ts +3 -3
  19. package/generated/models/AiStreamChunk.ts +3 -3
  20. package/generated/models/AiTask.ts +2481 -0
  21. package/generated/models/AiTaskRun.ts +1564 -0
  22. package/generated/models/AnyHubMarketApp.ts +8 -8
  23. package/generated/models/AuditLog.ts +6 -6
  24. package/generated/models/BlockInstance.ts +17 -17
  25. package/generated/models/Bug.ts +5116 -0
  26. package/generated/models/BugActivity.ts +1765 -0
  27. package/generated/models/BugComment.ts +1992 -0
  28. package/generated/models/BugCommentReaction.ts +1472 -0
  29. package/generated/models/BugEvent.ts +1339 -0
  30. package/generated/models/BugFilterView.ts +1438 -0
  31. package/generated/models/BugFixRun.ts +1479 -0
  32. package/generated/models/BugLabel.ts +1349 -0
  33. package/generated/models/BugProjectSettings.ts +1403 -0
  34. package/generated/models/BugReproRun.ts +1582 -0
  35. package/generated/models/ChatPersistenceMeta.ts +3 -3
  36. package/generated/models/CollabClient.ts +1199 -0
  37. package/generated/models/CollabDocument.ts +1121 -0
  38. package/generated/models/CollabUpdate.ts +1149 -0
  39. package/generated/models/Comment.ts +99 -99
  40. package/generated/models/Component.ts +7 -201
  41. package/generated/models/ComponentInstance.ts +17 -17
  42. package/generated/models/CustomRole.ts +8 -8
  43. package/generated/models/Design.ts +2682 -0
  44. package/generated/models/DesignPage.ts +2402 -0
  45. package/generated/models/DesignVersion.ts +2121 -0
  46. package/generated/models/DesktopSetting.ts +3 -3
  47. package/generated/models/Iteration.ts +148 -0
  48. package/generated/models/Label.ts +118 -0
  49. package/generated/models/LicenseKey.ts +16 -16
  50. package/generated/models/NotificationPreference.ts +5 -5
  51. package/generated/models/PageVersion.ts +49 -49
  52. package/generated/models/Plan.ts +5 -5
  53. package/generated/models/Project.ts +2240 -67
  54. package/generated/models/ProjectAccessToken.ts +1705 -0
  55. package/generated/models/ProjectWebhook.ts +1409 -0
  56. package/generated/models/Review.ts +118 -118
  57. package/generated/models/Share.ts +83 -83
  58. package/generated/models/ShareVersion.ts +15 -15
  59. package/generated/models/SsoProvider.ts +8 -8
  60. package/generated/models/Story.ts +973 -87
  61. package/generated/models/StoryDesignLink.ts +1430 -0
  62. package/generated/models/StoryFilterView.ts +12 -12
  63. package/generated/models/SystemPromptVersion.ts +6 -6
  64. package/generated/models/TestAutomationArtifact.ts +1790 -0
  65. package/generated/models/TestCase.ts +3645 -0
  66. package/generated/models/TestCaseFilterView.ts +1587 -0
  67. package/generated/models/TestCaseFolder.ts +1795 -0
  68. package/generated/models/TestExecRun.ts +1673 -0
  69. package/generated/models/TestGenerationRun.ts +1952 -0
  70. package/generated/models/TestPlan.ts +1950 -0
  71. package/generated/models/TestPlanCase.ts +1430 -0
  72. package/generated/models/TestRun.ts +1979 -0
  73. package/generated/models/TestRunCase.ts +2772 -0
  74. package/generated/models/ThirdPartyDependency.ts +19 -15
  75. package/generated/models/User.ts +13573 -3351
  76. package/generated/models/Workspace.ts +204 -0
  77. package/generated/models.ts +31 -10
  78. package/generated-sqlite/browser.ts +6 -36
  79. package/generated-sqlite/client.ts +6 -36
  80. package/generated-sqlite/internal/class.ts +16 -76
  81. package/generated-sqlite/internal/prismaNamespace.ts +127 -659
  82. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +21 -103
  83. package/generated-sqlite/models/AgentConversation.ts +89 -89
  84. package/generated-sqlite/models/AiProvider.ts +3 -3
  85. package/generated-sqlite/models/AiStreamChunk.ts +3 -3
  86. package/generated-sqlite/models/AnyHubMarketApp.ts +8 -8
  87. package/generated-sqlite/models/BlockInstance.ts +17 -17
  88. package/generated-sqlite/models/ChatPersistenceMeta.ts +3 -3
  89. package/generated-sqlite/models/Comment.ts +99 -99
  90. package/generated-sqlite/models/Component.ts +7 -201
  91. package/generated-sqlite/models/ComponentInstance.ts +17 -17
  92. package/generated-sqlite/models/Design.ts +2497 -0
  93. package/generated-sqlite/models/DesignPage.ts +2398 -0
  94. package/generated-sqlite/models/DesignVersion.ts +2117 -0
  95. package/generated-sqlite/models/DesktopSetting.ts +3 -3
  96. package/generated-sqlite/models/KnowledgeBase.ts +240 -1
  97. package/generated-sqlite/models/NotificationPreference.ts +5 -5
  98. package/generated-sqlite/models/PageVersion.ts +49 -49
  99. package/generated-sqlite/models/Review.ts +118 -118
  100. package/generated-sqlite/models/Share.ts +83 -83
  101. package/generated-sqlite/models/ShareVersion.ts +15 -15
  102. package/generated-sqlite/models/SystemPromptVersion.ts +6 -6
  103. package/generated-sqlite/models/User.ts +1310 -2016
  104. package/generated-sqlite/models/Workspace.ts +164 -0
  105. package/generated-sqlite/models.ts +3 -9
  106. package/index.ts +31 -3
  107. package/migrations/20260924084200_add_prd_kind_drop_design_sketch/migration.sql +24 -0
  108. package/migrations/20260924123118_drop_user_sketch_api_token/migration.sql +8 -0
  109. package/migrations/20260925011516_rename_prd_tables/migration.sql +189 -0
  110. package/migrations/20260925064226_rename_prd_columns/migration.sql +193 -0
  111. package/migrations/20260925080000_rename_prd_embeddings/migration.sql +43 -0
  112. package/migrations/20261002184838_bug_module_init/migration.sql +297 -0
  113. package/migrations/20261004234209_testcase_module_init/migration.sql +290 -0
  114. package/migrations/20261005090000_testcase_plan_cases/migration.sql +34 -0
  115. package/migrations/20261006151229_add_missing_fk_indexes_auth_billing/migration.sql +50 -0
  116. package/migrations/20261006152058_add_missing_fk_indexes_story_bug_test/migration.sql +59 -0
  117. package/migrations/20261006152153_add_missing_fk_indexes_design_misc/migration.sql +50 -0
  118. package/migrations/20261006184250_explicit_on_delete_core/migration.sql +33 -0
  119. package/migrations/20261006184604_explicit_on_delete_rest/migration.sql +117 -0
  120. package/migrations/20261006184932_json_column_defaults/migration.sql +74 -0
  121. package/migrations/20261006191724_revert_version_token_cascade/migration.sql +21 -0
  122. package/migrations/20261007025537_dependency_category_enum/migration.sql +22 -0
  123. package/migrations/20261007112656_collab_init/migration.sql +45 -0
  124. package/migrations/20261007122530_collab_client_clientid_bigint/migration.sql +10 -0
  125. package/migrations/20261009194853_remove_tag_module/migration.sql +24 -0
  126. package/migrations/20261009222043_ai_task_init/migration.sql +67 -0
  127. package/migrations/20261019202531_ui_alignment_board_order/migration.sql +35 -0
  128. package/package.json +17 -6
  129. package/schema.prisma +777 -222
  130. package/schema.sqlite.prisma +140 -196
  131. package/src/lib/share-utils.ts +2 -2
  132. package/generated/models/Artboard.ts +0 -1811
  133. package/generated/models/ArtboardExport.ts +0 -1548
  134. package/generated/models/ComponentTag.ts +0 -1281
  135. package/generated/models/DesignProject.ts +0 -1643
  136. package/generated/models/PRD.ts +0 -2805
  137. package/generated/models/PRDPage.ts +0 -2402
  138. package/generated/models/PRDTag.ts +0 -1430
  139. package/generated/models/PRDVersion.ts +0 -2121
  140. package/generated/models/StoryPrdLink.ts +0 -1430
  141. package/generated/models/Tag.ts +0 -1655
  142. package/generated-sqlite/models/Artboard.ts +0 -1808
  143. package/generated-sqlite/models/ArtboardExport.ts +0 -1545
  144. package/generated-sqlite/models/ComponentTag.ts +0 -1278
  145. package/generated-sqlite/models/DesignProject.ts +0 -1640
  146. package/generated-sqlite/models/PRD.ts +0 -2616
  147. package/generated-sqlite/models/PRDPage.ts +0 -2398
  148. package/generated-sqlite/models/PRDTag.ts +0 -1426
  149. package/generated-sqlite/models/PRDVersion.ts +0 -2117
  150. package/generated-sqlite/models/Tag.ts +0 -1652
@@ -0,0 +1,1992 @@
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 `BugComment` 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 BugComment
17
+ *
18
+ */
19
+ export type BugCommentModel = runtime.Types.Result.DefaultSelection<Prisma.$BugCommentPayload>
20
+
21
+ export type AggregateBugComment = {
22
+ _count: BugCommentCountAggregateOutputType | null
23
+ _min: BugCommentMinAggregateOutputType | null
24
+ _max: BugCommentMaxAggregateOutputType | null
25
+ }
26
+
27
+ export type BugCommentMinAggregateOutputType = {
28
+ id: string | null
29
+ bugId: string | null
30
+ userId: string | null
31
+ parentId: string | null
32
+ content: string | null
33
+ createdAt: Date | null
34
+ updatedAt: Date | null
35
+ }
36
+
37
+ export type BugCommentMaxAggregateOutputType = {
38
+ id: string | null
39
+ bugId: string | null
40
+ userId: string | null
41
+ parentId: string | null
42
+ content: string | null
43
+ createdAt: Date | null
44
+ updatedAt: Date | null
45
+ }
46
+
47
+ export type BugCommentCountAggregateOutputType = {
48
+ id: number
49
+ bugId: number
50
+ userId: number
51
+ parentId: number
52
+ content: number
53
+ createdAt: number
54
+ updatedAt: number
55
+ _all: number
56
+ }
57
+
58
+
59
+ export type BugCommentMinAggregateInputType = {
60
+ id?: true
61
+ bugId?: true
62
+ userId?: true
63
+ parentId?: true
64
+ content?: true
65
+ createdAt?: true
66
+ updatedAt?: true
67
+ }
68
+
69
+ export type BugCommentMaxAggregateInputType = {
70
+ id?: true
71
+ bugId?: true
72
+ userId?: true
73
+ parentId?: true
74
+ content?: true
75
+ createdAt?: true
76
+ updatedAt?: true
77
+ }
78
+
79
+ export type BugCommentCountAggregateInputType = {
80
+ id?: true
81
+ bugId?: true
82
+ userId?: true
83
+ parentId?: true
84
+ content?: true
85
+ createdAt?: true
86
+ updatedAt?: true
87
+ _all?: true
88
+ }
89
+
90
+ export type BugCommentAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
91
+ /**
92
+ * Filter which BugComment to aggregate.
93
+ */
94
+ where?: Prisma.BugCommentWhereInput
95
+ /**
96
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
97
+ *
98
+ * Determine the order of BugComments to fetch.
99
+ */
100
+ orderBy?: Prisma.BugCommentOrderByWithRelationInput | Prisma.BugCommentOrderByWithRelationInput[]
101
+ /**
102
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
103
+ *
104
+ * Sets the start position
105
+ */
106
+ cursor?: Prisma.BugCommentWhereUniqueInput
107
+ /**
108
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
109
+ *
110
+ * Take `±n` BugComments from the position of the cursor.
111
+ */
112
+ take?: number
113
+ /**
114
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
115
+ *
116
+ * Skip the first `n` BugComments.
117
+ */
118
+ skip?: number
119
+ /**
120
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
121
+ *
122
+ * Count returned BugComments
123
+ **/
124
+ _count?: true | BugCommentCountAggregateInputType
125
+ /**
126
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
127
+ *
128
+ * Select which fields to find the minimum value
129
+ **/
130
+ _min?: BugCommentMinAggregateInputType
131
+ /**
132
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
133
+ *
134
+ * Select which fields to find the maximum value
135
+ **/
136
+ _max?: BugCommentMaxAggregateInputType
137
+ }
138
+
139
+ export type GetBugCommentAggregateType<T extends BugCommentAggregateArgs> = {
140
+ [P in keyof T & keyof AggregateBugComment]: P extends '_count' | 'count'
141
+ ? T[P] extends true
142
+ ? number
143
+ : Prisma.GetScalarType<T[P], AggregateBugComment[P]>
144
+ : Prisma.GetScalarType<T[P], AggregateBugComment[P]>
145
+ }
146
+
147
+
148
+
149
+
150
+ export type BugCommentGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
151
+ where?: Prisma.BugCommentWhereInput
152
+ orderBy?: Prisma.BugCommentOrderByWithAggregationInput | Prisma.BugCommentOrderByWithAggregationInput[]
153
+ by: Prisma.BugCommentScalarFieldEnum[] | Prisma.BugCommentScalarFieldEnum
154
+ having?: Prisma.BugCommentScalarWhereWithAggregatesInput
155
+ take?: number
156
+ skip?: number
157
+ _count?: BugCommentCountAggregateInputType | true
158
+ _min?: BugCommentMinAggregateInputType
159
+ _max?: BugCommentMaxAggregateInputType
160
+ }
161
+
162
+ export type BugCommentGroupByOutputType = {
163
+ id: string
164
+ bugId: string
165
+ userId: string
166
+ parentId: string | null
167
+ content: string
168
+ createdAt: Date
169
+ updatedAt: Date
170
+ _count: BugCommentCountAggregateOutputType | null
171
+ _min: BugCommentMinAggregateOutputType | null
172
+ _max: BugCommentMaxAggregateOutputType | null
173
+ }
174
+
175
+ export type GetBugCommentGroupByPayload<T extends BugCommentGroupByArgs> = Prisma.PrismaPromise<
176
+ Array<
177
+ Prisma.PickEnumerable<BugCommentGroupByOutputType, T['by']> &
178
+ {
179
+ [P in ((keyof T) & (keyof BugCommentGroupByOutputType))]: P extends '_count'
180
+ ? T[P] extends boolean
181
+ ? number
182
+ : Prisma.GetScalarType<T[P], BugCommentGroupByOutputType[P]>
183
+ : Prisma.GetScalarType<T[P], BugCommentGroupByOutputType[P]>
184
+ }
185
+ >
186
+ >
187
+
188
+
189
+
190
+ export type BugCommentWhereInput = {
191
+ AND?: Prisma.BugCommentWhereInput | Prisma.BugCommentWhereInput[]
192
+ OR?: Prisma.BugCommentWhereInput[]
193
+ NOT?: Prisma.BugCommentWhereInput | Prisma.BugCommentWhereInput[]
194
+ id?: Prisma.StringFilter<"BugComment"> | string
195
+ bugId?: Prisma.StringFilter<"BugComment"> | string
196
+ userId?: Prisma.StringFilter<"BugComment"> | string
197
+ parentId?: Prisma.StringNullableFilter<"BugComment"> | string | null
198
+ content?: Prisma.StringFilter<"BugComment"> | string
199
+ createdAt?: Prisma.DateTimeFilter<"BugComment"> | Date | string
200
+ updatedAt?: Prisma.DateTimeFilter<"BugComment"> | Date | string
201
+ bug?: Prisma.XOR<Prisma.BugScalarRelationFilter, Prisma.BugWhereInput>
202
+ user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
203
+ parent?: Prisma.XOR<Prisma.BugCommentNullableScalarRelationFilter, Prisma.BugCommentWhereInput> | null
204
+ replies?: Prisma.BugCommentListRelationFilter
205
+ reactions?: Prisma.BugCommentReactionListRelationFilter
206
+ }
207
+
208
+ export type BugCommentOrderByWithRelationInput = {
209
+ id?: Prisma.SortOrder
210
+ bugId?: Prisma.SortOrder
211
+ userId?: Prisma.SortOrder
212
+ parentId?: Prisma.SortOrderInput | Prisma.SortOrder
213
+ content?: Prisma.SortOrder
214
+ createdAt?: Prisma.SortOrder
215
+ updatedAt?: Prisma.SortOrder
216
+ bug?: Prisma.BugOrderByWithRelationInput
217
+ user?: Prisma.UserOrderByWithRelationInput
218
+ parent?: Prisma.BugCommentOrderByWithRelationInput
219
+ replies?: Prisma.BugCommentOrderByRelationAggregateInput
220
+ reactions?: Prisma.BugCommentReactionOrderByRelationAggregateInput
221
+ }
222
+
223
+ export type BugCommentWhereUniqueInput = Prisma.AtLeast<{
224
+ id?: string
225
+ AND?: Prisma.BugCommentWhereInput | Prisma.BugCommentWhereInput[]
226
+ OR?: Prisma.BugCommentWhereInput[]
227
+ NOT?: Prisma.BugCommentWhereInput | Prisma.BugCommentWhereInput[]
228
+ bugId?: Prisma.StringFilter<"BugComment"> | string
229
+ userId?: Prisma.StringFilter<"BugComment"> | string
230
+ parentId?: Prisma.StringNullableFilter<"BugComment"> | string | null
231
+ content?: Prisma.StringFilter<"BugComment"> | string
232
+ createdAt?: Prisma.DateTimeFilter<"BugComment"> | Date | string
233
+ updatedAt?: Prisma.DateTimeFilter<"BugComment"> | Date | string
234
+ bug?: Prisma.XOR<Prisma.BugScalarRelationFilter, Prisma.BugWhereInput>
235
+ user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
236
+ parent?: Prisma.XOR<Prisma.BugCommentNullableScalarRelationFilter, Prisma.BugCommentWhereInput> | null
237
+ replies?: Prisma.BugCommentListRelationFilter
238
+ reactions?: Prisma.BugCommentReactionListRelationFilter
239
+ }, "id">
240
+
241
+ export type BugCommentOrderByWithAggregationInput = {
242
+ id?: Prisma.SortOrder
243
+ bugId?: Prisma.SortOrder
244
+ userId?: Prisma.SortOrder
245
+ parentId?: Prisma.SortOrderInput | Prisma.SortOrder
246
+ content?: Prisma.SortOrder
247
+ createdAt?: Prisma.SortOrder
248
+ updatedAt?: Prisma.SortOrder
249
+ _count?: Prisma.BugCommentCountOrderByAggregateInput
250
+ _max?: Prisma.BugCommentMaxOrderByAggregateInput
251
+ _min?: Prisma.BugCommentMinOrderByAggregateInput
252
+ }
253
+
254
+ export type BugCommentScalarWhereWithAggregatesInput = {
255
+ AND?: Prisma.BugCommentScalarWhereWithAggregatesInput | Prisma.BugCommentScalarWhereWithAggregatesInput[]
256
+ OR?: Prisma.BugCommentScalarWhereWithAggregatesInput[]
257
+ NOT?: Prisma.BugCommentScalarWhereWithAggregatesInput | Prisma.BugCommentScalarWhereWithAggregatesInput[]
258
+ id?: Prisma.StringWithAggregatesFilter<"BugComment"> | string
259
+ bugId?: Prisma.StringWithAggregatesFilter<"BugComment"> | string
260
+ userId?: Prisma.StringWithAggregatesFilter<"BugComment"> | string
261
+ parentId?: Prisma.StringNullableWithAggregatesFilter<"BugComment"> | string | null
262
+ content?: Prisma.StringWithAggregatesFilter<"BugComment"> | string
263
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"BugComment"> | Date | string
264
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"BugComment"> | Date | string
265
+ }
266
+
267
+ export type BugCommentCreateInput = {
268
+ id?: string
269
+ content: string
270
+ createdAt?: Date | string
271
+ updatedAt?: Date | string
272
+ bug: Prisma.BugCreateNestedOneWithoutCommentsInput
273
+ user: Prisma.UserCreateNestedOneWithoutBugCommentsInput
274
+ parent?: Prisma.BugCommentCreateNestedOneWithoutRepliesInput
275
+ replies?: Prisma.BugCommentCreateNestedManyWithoutParentInput
276
+ reactions?: Prisma.BugCommentReactionCreateNestedManyWithoutCommentInput
277
+ }
278
+
279
+ export type BugCommentUncheckedCreateInput = {
280
+ id?: string
281
+ bugId: string
282
+ userId: string
283
+ parentId?: string | null
284
+ content: string
285
+ createdAt?: Date | string
286
+ updatedAt?: Date | string
287
+ replies?: Prisma.BugCommentUncheckedCreateNestedManyWithoutParentInput
288
+ reactions?: Prisma.BugCommentReactionUncheckedCreateNestedManyWithoutCommentInput
289
+ }
290
+
291
+ export type BugCommentUpdateInput = {
292
+ id?: Prisma.StringFieldUpdateOperationsInput | string
293
+ content?: Prisma.StringFieldUpdateOperationsInput | string
294
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
295
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
296
+ bug?: Prisma.BugUpdateOneRequiredWithoutCommentsNestedInput
297
+ user?: Prisma.UserUpdateOneRequiredWithoutBugCommentsNestedInput
298
+ parent?: Prisma.BugCommentUpdateOneWithoutRepliesNestedInput
299
+ replies?: Prisma.BugCommentUpdateManyWithoutParentNestedInput
300
+ reactions?: Prisma.BugCommentReactionUpdateManyWithoutCommentNestedInput
301
+ }
302
+
303
+ export type BugCommentUncheckedUpdateInput = {
304
+ id?: Prisma.StringFieldUpdateOperationsInput | string
305
+ bugId?: Prisma.StringFieldUpdateOperationsInput | string
306
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
307
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
308
+ content?: Prisma.StringFieldUpdateOperationsInput | string
309
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
310
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
311
+ replies?: Prisma.BugCommentUncheckedUpdateManyWithoutParentNestedInput
312
+ reactions?: Prisma.BugCommentReactionUncheckedUpdateManyWithoutCommentNestedInput
313
+ }
314
+
315
+ export type BugCommentCreateManyInput = {
316
+ id?: string
317
+ bugId: string
318
+ userId: string
319
+ parentId?: string | null
320
+ content: string
321
+ createdAt?: Date | string
322
+ updatedAt?: Date | string
323
+ }
324
+
325
+ export type BugCommentUpdateManyMutationInput = {
326
+ id?: Prisma.StringFieldUpdateOperationsInput | string
327
+ content?: Prisma.StringFieldUpdateOperationsInput | string
328
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
329
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
330
+ }
331
+
332
+ export type BugCommentUncheckedUpdateManyInput = {
333
+ id?: Prisma.StringFieldUpdateOperationsInput | string
334
+ bugId?: Prisma.StringFieldUpdateOperationsInput | string
335
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
336
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
337
+ content?: Prisma.StringFieldUpdateOperationsInput | string
338
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
339
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
340
+ }
341
+
342
+ export type BugCommentListRelationFilter = {
343
+ every?: Prisma.BugCommentWhereInput
344
+ some?: Prisma.BugCommentWhereInput
345
+ none?: Prisma.BugCommentWhereInput
346
+ }
347
+
348
+ export type BugCommentOrderByRelationAggregateInput = {
349
+ _count?: Prisma.SortOrder
350
+ }
351
+
352
+ export type BugCommentNullableScalarRelationFilter = {
353
+ is?: Prisma.BugCommentWhereInput | null
354
+ isNot?: Prisma.BugCommentWhereInput | null
355
+ }
356
+
357
+ export type BugCommentCountOrderByAggregateInput = {
358
+ id?: Prisma.SortOrder
359
+ bugId?: Prisma.SortOrder
360
+ userId?: Prisma.SortOrder
361
+ parentId?: Prisma.SortOrder
362
+ content?: Prisma.SortOrder
363
+ createdAt?: Prisma.SortOrder
364
+ updatedAt?: Prisma.SortOrder
365
+ }
366
+
367
+ export type BugCommentMaxOrderByAggregateInput = {
368
+ id?: Prisma.SortOrder
369
+ bugId?: Prisma.SortOrder
370
+ userId?: Prisma.SortOrder
371
+ parentId?: Prisma.SortOrder
372
+ content?: Prisma.SortOrder
373
+ createdAt?: Prisma.SortOrder
374
+ updatedAt?: Prisma.SortOrder
375
+ }
376
+
377
+ export type BugCommentMinOrderByAggregateInput = {
378
+ id?: Prisma.SortOrder
379
+ bugId?: Prisma.SortOrder
380
+ userId?: Prisma.SortOrder
381
+ parentId?: Prisma.SortOrder
382
+ content?: Prisma.SortOrder
383
+ createdAt?: Prisma.SortOrder
384
+ updatedAt?: Prisma.SortOrder
385
+ }
386
+
387
+ export type BugCommentScalarRelationFilter = {
388
+ is?: Prisma.BugCommentWhereInput
389
+ isNot?: Prisma.BugCommentWhereInput
390
+ }
391
+
392
+ export type BugCommentCreateNestedManyWithoutUserInput = {
393
+ create?: Prisma.XOR<Prisma.BugCommentCreateWithoutUserInput, Prisma.BugCommentUncheckedCreateWithoutUserInput> | Prisma.BugCommentCreateWithoutUserInput[] | Prisma.BugCommentUncheckedCreateWithoutUserInput[]
394
+ connectOrCreate?: Prisma.BugCommentCreateOrConnectWithoutUserInput | Prisma.BugCommentCreateOrConnectWithoutUserInput[]
395
+ createMany?: Prisma.BugCommentCreateManyUserInputEnvelope
396
+ connect?: Prisma.BugCommentWhereUniqueInput | Prisma.BugCommentWhereUniqueInput[]
397
+ }
398
+
399
+ export type BugCommentUncheckedCreateNestedManyWithoutUserInput = {
400
+ create?: Prisma.XOR<Prisma.BugCommentCreateWithoutUserInput, Prisma.BugCommentUncheckedCreateWithoutUserInput> | Prisma.BugCommentCreateWithoutUserInput[] | Prisma.BugCommentUncheckedCreateWithoutUserInput[]
401
+ connectOrCreate?: Prisma.BugCommentCreateOrConnectWithoutUserInput | Prisma.BugCommentCreateOrConnectWithoutUserInput[]
402
+ createMany?: Prisma.BugCommentCreateManyUserInputEnvelope
403
+ connect?: Prisma.BugCommentWhereUniqueInput | Prisma.BugCommentWhereUniqueInput[]
404
+ }
405
+
406
+ export type BugCommentUpdateManyWithoutUserNestedInput = {
407
+ create?: Prisma.XOR<Prisma.BugCommentCreateWithoutUserInput, Prisma.BugCommentUncheckedCreateWithoutUserInput> | Prisma.BugCommentCreateWithoutUserInput[] | Prisma.BugCommentUncheckedCreateWithoutUserInput[]
408
+ connectOrCreate?: Prisma.BugCommentCreateOrConnectWithoutUserInput | Prisma.BugCommentCreateOrConnectWithoutUserInput[]
409
+ upsert?: Prisma.BugCommentUpsertWithWhereUniqueWithoutUserInput | Prisma.BugCommentUpsertWithWhereUniqueWithoutUserInput[]
410
+ createMany?: Prisma.BugCommentCreateManyUserInputEnvelope
411
+ set?: Prisma.BugCommentWhereUniqueInput | Prisma.BugCommentWhereUniqueInput[]
412
+ disconnect?: Prisma.BugCommentWhereUniqueInput | Prisma.BugCommentWhereUniqueInput[]
413
+ delete?: Prisma.BugCommentWhereUniqueInput | Prisma.BugCommentWhereUniqueInput[]
414
+ connect?: Prisma.BugCommentWhereUniqueInput | Prisma.BugCommentWhereUniqueInput[]
415
+ update?: Prisma.BugCommentUpdateWithWhereUniqueWithoutUserInput | Prisma.BugCommentUpdateWithWhereUniqueWithoutUserInput[]
416
+ updateMany?: Prisma.BugCommentUpdateManyWithWhereWithoutUserInput | Prisma.BugCommentUpdateManyWithWhereWithoutUserInput[]
417
+ deleteMany?: Prisma.BugCommentScalarWhereInput | Prisma.BugCommentScalarWhereInput[]
418
+ }
419
+
420
+ export type BugCommentUncheckedUpdateManyWithoutUserNestedInput = {
421
+ create?: Prisma.XOR<Prisma.BugCommentCreateWithoutUserInput, Prisma.BugCommentUncheckedCreateWithoutUserInput> | Prisma.BugCommentCreateWithoutUserInput[] | Prisma.BugCommentUncheckedCreateWithoutUserInput[]
422
+ connectOrCreate?: Prisma.BugCommentCreateOrConnectWithoutUserInput | Prisma.BugCommentCreateOrConnectWithoutUserInput[]
423
+ upsert?: Prisma.BugCommentUpsertWithWhereUniqueWithoutUserInput | Prisma.BugCommentUpsertWithWhereUniqueWithoutUserInput[]
424
+ createMany?: Prisma.BugCommentCreateManyUserInputEnvelope
425
+ set?: Prisma.BugCommentWhereUniqueInput | Prisma.BugCommentWhereUniqueInput[]
426
+ disconnect?: Prisma.BugCommentWhereUniqueInput | Prisma.BugCommentWhereUniqueInput[]
427
+ delete?: Prisma.BugCommentWhereUniqueInput | Prisma.BugCommentWhereUniqueInput[]
428
+ connect?: Prisma.BugCommentWhereUniqueInput | Prisma.BugCommentWhereUniqueInput[]
429
+ update?: Prisma.BugCommentUpdateWithWhereUniqueWithoutUserInput | Prisma.BugCommentUpdateWithWhereUniqueWithoutUserInput[]
430
+ updateMany?: Prisma.BugCommentUpdateManyWithWhereWithoutUserInput | Prisma.BugCommentUpdateManyWithWhereWithoutUserInput[]
431
+ deleteMany?: Prisma.BugCommentScalarWhereInput | Prisma.BugCommentScalarWhereInput[]
432
+ }
433
+
434
+ export type BugCommentCreateNestedManyWithoutBugInput = {
435
+ create?: Prisma.XOR<Prisma.BugCommentCreateWithoutBugInput, Prisma.BugCommentUncheckedCreateWithoutBugInput> | Prisma.BugCommentCreateWithoutBugInput[] | Prisma.BugCommentUncheckedCreateWithoutBugInput[]
436
+ connectOrCreate?: Prisma.BugCommentCreateOrConnectWithoutBugInput | Prisma.BugCommentCreateOrConnectWithoutBugInput[]
437
+ createMany?: Prisma.BugCommentCreateManyBugInputEnvelope
438
+ connect?: Prisma.BugCommentWhereUniqueInput | Prisma.BugCommentWhereUniqueInput[]
439
+ }
440
+
441
+ export type BugCommentUncheckedCreateNestedManyWithoutBugInput = {
442
+ create?: Prisma.XOR<Prisma.BugCommentCreateWithoutBugInput, Prisma.BugCommentUncheckedCreateWithoutBugInput> | Prisma.BugCommentCreateWithoutBugInput[] | Prisma.BugCommentUncheckedCreateWithoutBugInput[]
443
+ connectOrCreate?: Prisma.BugCommentCreateOrConnectWithoutBugInput | Prisma.BugCommentCreateOrConnectWithoutBugInput[]
444
+ createMany?: Prisma.BugCommentCreateManyBugInputEnvelope
445
+ connect?: Prisma.BugCommentWhereUniqueInput | Prisma.BugCommentWhereUniqueInput[]
446
+ }
447
+
448
+ export type BugCommentUpdateManyWithoutBugNestedInput = {
449
+ create?: Prisma.XOR<Prisma.BugCommentCreateWithoutBugInput, Prisma.BugCommentUncheckedCreateWithoutBugInput> | Prisma.BugCommentCreateWithoutBugInput[] | Prisma.BugCommentUncheckedCreateWithoutBugInput[]
450
+ connectOrCreate?: Prisma.BugCommentCreateOrConnectWithoutBugInput | Prisma.BugCommentCreateOrConnectWithoutBugInput[]
451
+ upsert?: Prisma.BugCommentUpsertWithWhereUniqueWithoutBugInput | Prisma.BugCommentUpsertWithWhereUniqueWithoutBugInput[]
452
+ createMany?: Prisma.BugCommentCreateManyBugInputEnvelope
453
+ set?: Prisma.BugCommentWhereUniqueInput | Prisma.BugCommentWhereUniqueInput[]
454
+ disconnect?: Prisma.BugCommentWhereUniqueInput | Prisma.BugCommentWhereUniqueInput[]
455
+ delete?: Prisma.BugCommentWhereUniqueInput | Prisma.BugCommentWhereUniqueInput[]
456
+ connect?: Prisma.BugCommentWhereUniqueInput | Prisma.BugCommentWhereUniqueInput[]
457
+ update?: Prisma.BugCommentUpdateWithWhereUniqueWithoutBugInput | Prisma.BugCommentUpdateWithWhereUniqueWithoutBugInput[]
458
+ updateMany?: Prisma.BugCommentUpdateManyWithWhereWithoutBugInput | Prisma.BugCommentUpdateManyWithWhereWithoutBugInput[]
459
+ deleteMany?: Prisma.BugCommentScalarWhereInput | Prisma.BugCommentScalarWhereInput[]
460
+ }
461
+
462
+ export type BugCommentUncheckedUpdateManyWithoutBugNestedInput = {
463
+ create?: Prisma.XOR<Prisma.BugCommentCreateWithoutBugInput, Prisma.BugCommentUncheckedCreateWithoutBugInput> | Prisma.BugCommentCreateWithoutBugInput[] | Prisma.BugCommentUncheckedCreateWithoutBugInput[]
464
+ connectOrCreate?: Prisma.BugCommentCreateOrConnectWithoutBugInput | Prisma.BugCommentCreateOrConnectWithoutBugInput[]
465
+ upsert?: Prisma.BugCommentUpsertWithWhereUniqueWithoutBugInput | Prisma.BugCommentUpsertWithWhereUniqueWithoutBugInput[]
466
+ createMany?: Prisma.BugCommentCreateManyBugInputEnvelope
467
+ set?: Prisma.BugCommentWhereUniqueInput | Prisma.BugCommentWhereUniqueInput[]
468
+ disconnect?: Prisma.BugCommentWhereUniqueInput | Prisma.BugCommentWhereUniqueInput[]
469
+ delete?: Prisma.BugCommentWhereUniqueInput | Prisma.BugCommentWhereUniqueInput[]
470
+ connect?: Prisma.BugCommentWhereUniqueInput | Prisma.BugCommentWhereUniqueInput[]
471
+ update?: Prisma.BugCommentUpdateWithWhereUniqueWithoutBugInput | Prisma.BugCommentUpdateWithWhereUniqueWithoutBugInput[]
472
+ updateMany?: Prisma.BugCommentUpdateManyWithWhereWithoutBugInput | Prisma.BugCommentUpdateManyWithWhereWithoutBugInput[]
473
+ deleteMany?: Prisma.BugCommentScalarWhereInput | Prisma.BugCommentScalarWhereInput[]
474
+ }
475
+
476
+ export type BugCommentCreateNestedOneWithoutRepliesInput = {
477
+ create?: Prisma.XOR<Prisma.BugCommentCreateWithoutRepliesInput, Prisma.BugCommentUncheckedCreateWithoutRepliesInput>
478
+ connectOrCreate?: Prisma.BugCommentCreateOrConnectWithoutRepliesInput
479
+ connect?: Prisma.BugCommentWhereUniqueInput
480
+ }
481
+
482
+ export type BugCommentCreateNestedManyWithoutParentInput = {
483
+ create?: Prisma.XOR<Prisma.BugCommentCreateWithoutParentInput, Prisma.BugCommentUncheckedCreateWithoutParentInput> | Prisma.BugCommentCreateWithoutParentInput[] | Prisma.BugCommentUncheckedCreateWithoutParentInput[]
484
+ connectOrCreate?: Prisma.BugCommentCreateOrConnectWithoutParentInput | Prisma.BugCommentCreateOrConnectWithoutParentInput[]
485
+ createMany?: Prisma.BugCommentCreateManyParentInputEnvelope
486
+ connect?: Prisma.BugCommentWhereUniqueInput | Prisma.BugCommentWhereUniqueInput[]
487
+ }
488
+
489
+ export type BugCommentUncheckedCreateNestedManyWithoutParentInput = {
490
+ create?: Prisma.XOR<Prisma.BugCommentCreateWithoutParentInput, Prisma.BugCommentUncheckedCreateWithoutParentInput> | Prisma.BugCommentCreateWithoutParentInput[] | Prisma.BugCommentUncheckedCreateWithoutParentInput[]
491
+ connectOrCreate?: Prisma.BugCommentCreateOrConnectWithoutParentInput | Prisma.BugCommentCreateOrConnectWithoutParentInput[]
492
+ createMany?: Prisma.BugCommentCreateManyParentInputEnvelope
493
+ connect?: Prisma.BugCommentWhereUniqueInput | Prisma.BugCommentWhereUniqueInput[]
494
+ }
495
+
496
+ export type BugCommentUpdateOneWithoutRepliesNestedInput = {
497
+ create?: Prisma.XOR<Prisma.BugCommentCreateWithoutRepliesInput, Prisma.BugCommentUncheckedCreateWithoutRepliesInput>
498
+ connectOrCreate?: Prisma.BugCommentCreateOrConnectWithoutRepliesInput
499
+ upsert?: Prisma.BugCommentUpsertWithoutRepliesInput
500
+ disconnect?: Prisma.BugCommentWhereInput | boolean
501
+ delete?: Prisma.BugCommentWhereInput | boolean
502
+ connect?: Prisma.BugCommentWhereUniqueInput
503
+ update?: Prisma.XOR<Prisma.XOR<Prisma.BugCommentUpdateToOneWithWhereWithoutRepliesInput, Prisma.BugCommentUpdateWithoutRepliesInput>, Prisma.BugCommentUncheckedUpdateWithoutRepliesInput>
504
+ }
505
+
506
+ export type BugCommentUpdateManyWithoutParentNestedInput = {
507
+ create?: Prisma.XOR<Prisma.BugCommentCreateWithoutParentInput, Prisma.BugCommentUncheckedCreateWithoutParentInput> | Prisma.BugCommentCreateWithoutParentInput[] | Prisma.BugCommentUncheckedCreateWithoutParentInput[]
508
+ connectOrCreate?: Prisma.BugCommentCreateOrConnectWithoutParentInput | Prisma.BugCommentCreateOrConnectWithoutParentInput[]
509
+ upsert?: Prisma.BugCommentUpsertWithWhereUniqueWithoutParentInput | Prisma.BugCommentUpsertWithWhereUniqueWithoutParentInput[]
510
+ createMany?: Prisma.BugCommentCreateManyParentInputEnvelope
511
+ set?: Prisma.BugCommentWhereUniqueInput | Prisma.BugCommentWhereUniqueInput[]
512
+ disconnect?: Prisma.BugCommentWhereUniqueInput | Prisma.BugCommentWhereUniqueInput[]
513
+ delete?: Prisma.BugCommentWhereUniqueInput | Prisma.BugCommentWhereUniqueInput[]
514
+ connect?: Prisma.BugCommentWhereUniqueInput | Prisma.BugCommentWhereUniqueInput[]
515
+ update?: Prisma.BugCommentUpdateWithWhereUniqueWithoutParentInput | Prisma.BugCommentUpdateWithWhereUniqueWithoutParentInput[]
516
+ updateMany?: Prisma.BugCommentUpdateManyWithWhereWithoutParentInput | Prisma.BugCommentUpdateManyWithWhereWithoutParentInput[]
517
+ deleteMany?: Prisma.BugCommentScalarWhereInput | Prisma.BugCommentScalarWhereInput[]
518
+ }
519
+
520
+ export type BugCommentUncheckedUpdateManyWithoutParentNestedInput = {
521
+ create?: Prisma.XOR<Prisma.BugCommentCreateWithoutParentInput, Prisma.BugCommentUncheckedCreateWithoutParentInput> | Prisma.BugCommentCreateWithoutParentInput[] | Prisma.BugCommentUncheckedCreateWithoutParentInput[]
522
+ connectOrCreate?: Prisma.BugCommentCreateOrConnectWithoutParentInput | Prisma.BugCommentCreateOrConnectWithoutParentInput[]
523
+ upsert?: Prisma.BugCommentUpsertWithWhereUniqueWithoutParentInput | Prisma.BugCommentUpsertWithWhereUniqueWithoutParentInput[]
524
+ createMany?: Prisma.BugCommentCreateManyParentInputEnvelope
525
+ set?: Prisma.BugCommentWhereUniqueInput | Prisma.BugCommentWhereUniqueInput[]
526
+ disconnect?: Prisma.BugCommentWhereUniqueInput | Prisma.BugCommentWhereUniqueInput[]
527
+ delete?: Prisma.BugCommentWhereUniqueInput | Prisma.BugCommentWhereUniqueInput[]
528
+ connect?: Prisma.BugCommentWhereUniqueInput | Prisma.BugCommentWhereUniqueInput[]
529
+ update?: Prisma.BugCommentUpdateWithWhereUniqueWithoutParentInput | Prisma.BugCommentUpdateWithWhereUniqueWithoutParentInput[]
530
+ updateMany?: Prisma.BugCommentUpdateManyWithWhereWithoutParentInput | Prisma.BugCommentUpdateManyWithWhereWithoutParentInput[]
531
+ deleteMany?: Prisma.BugCommentScalarWhereInput | Prisma.BugCommentScalarWhereInput[]
532
+ }
533
+
534
+ export type BugCommentCreateNestedOneWithoutReactionsInput = {
535
+ create?: Prisma.XOR<Prisma.BugCommentCreateWithoutReactionsInput, Prisma.BugCommentUncheckedCreateWithoutReactionsInput>
536
+ connectOrCreate?: Prisma.BugCommentCreateOrConnectWithoutReactionsInput
537
+ connect?: Prisma.BugCommentWhereUniqueInput
538
+ }
539
+
540
+ export type BugCommentUpdateOneRequiredWithoutReactionsNestedInput = {
541
+ create?: Prisma.XOR<Prisma.BugCommentCreateWithoutReactionsInput, Prisma.BugCommentUncheckedCreateWithoutReactionsInput>
542
+ connectOrCreate?: Prisma.BugCommentCreateOrConnectWithoutReactionsInput
543
+ upsert?: Prisma.BugCommentUpsertWithoutReactionsInput
544
+ connect?: Prisma.BugCommentWhereUniqueInput
545
+ update?: Prisma.XOR<Prisma.XOR<Prisma.BugCommentUpdateToOneWithWhereWithoutReactionsInput, Prisma.BugCommentUpdateWithoutReactionsInput>, Prisma.BugCommentUncheckedUpdateWithoutReactionsInput>
546
+ }
547
+
548
+ export type BugCommentCreateWithoutUserInput = {
549
+ id?: string
550
+ content: string
551
+ createdAt?: Date | string
552
+ updatedAt?: Date | string
553
+ bug: Prisma.BugCreateNestedOneWithoutCommentsInput
554
+ parent?: Prisma.BugCommentCreateNestedOneWithoutRepliesInput
555
+ replies?: Prisma.BugCommentCreateNestedManyWithoutParentInput
556
+ reactions?: Prisma.BugCommentReactionCreateNestedManyWithoutCommentInput
557
+ }
558
+
559
+ export type BugCommentUncheckedCreateWithoutUserInput = {
560
+ id?: string
561
+ bugId: string
562
+ parentId?: string | null
563
+ content: string
564
+ createdAt?: Date | string
565
+ updatedAt?: Date | string
566
+ replies?: Prisma.BugCommentUncheckedCreateNestedManyWithoutParentInput
567
+ reactions?: Prisma.BugCommentReactionUncheckedCreateNestedManyWithoutCommentInput
568
+ }
569
+
570
+ export type BugCommentCreateOrConnectWithoutUserInput = {
571
+ where: Prisma.BugCommentWhereUniqueInput
572
+ create: Prisma.XOR<Prisma.BugCommentCreateWithoutUserInput, Prisma.BugCommentUncheckedCreateWithoutUserInput>
573
+ }
574
+
575
+ export type BugCommentCreateManyUserInputEnvelope = {
576
+ data: Prisma.BugCommentCreateManyUserInput | Prisma.BugCommentCreateManyUserInput[]
577
+ skipDuplicates?: boolean
578
+ }
579
+
580
+ export type BugCommentUpsertWithWhereUniqueWithoutUserInput = {
581
+ where: Prisma.BugCommentWhereUniqueInput
582
+ update: Prisma.XOR<Prisma.BugCommentUpdateWithoutUserInput, Prisma.BugCommentUncheckedUpdateWithoutUserInput>
583
+ create: Prisma.XOR<Prisma.BugCommentCreateWithoutUserInput, Prisma.BugCommentUncheckedCreateWithoutUserInput>
584
+ }
585
+
586
+ export type BugCommentUpdateWithWhereUniqueWithoutUserInput = {
587
+ where: Prisma.BugCommentWhereUniqueInput
588
+ data: Prisma.XOR<Prisma.BugCommentUpdateWithoutUserInput, Prisma.BugCommentUncheckedUpdateWithoutUserInput>
589
+ }
590
+
591
+ export type BugCommentUpdateManyWithWhereWithoutUserInput = {
592
+ where: Prisma.BugCommentScalarWhereInput
593
+ data: Prisma.XOR<Prisma.BugCommentUpdateManyMutationInput, Prisma.BugCommentUncheckedUpdateManyWithoutUserInput>
594
+ }
595
+
596
+ export type BugCommentScalarWhereInput = {
597
+ AND?: Prisma.BugCommentScalarWhereInput | Prisma.BugCommentScalarWhereInput[]
598
+ OR?: Prisma.BugCommentScalarWhereInput[]
599
+ NOT?: Prisma.BugCommentScalarWhereInput | Prisma.BugCommentScalarWhereInput[]
600
+ id?: Prisma.StringFilter<"BugComment"> | string
601
+ bugId?: Prisma.StringFilter<"BugComment"> | string
602
+ userId?: Prisma.StringFilter<"BugComment"> | string
603
+ parentId?: Prisma.StringNullableFilter<"BugComment"> | string | null
604
+ content?: Prisma.StringFilter<"BugComment"> | string
605
+ createdAt?: Prisma.DateTimeFilter<"BugComment"> | Date | string
606
+ updatedAt?: Prisma.DateTimeFilter<"BugComment"> | Date | string
607
+ }
608
+
609
+ export type BugCommentCreateWithoutBugInput = {
610
+ id?: string
611
+ content: string
612
+ createdAt?: Date | string
613
+ updatedAt?: Date | string
614
+ user: Prisma.UserCreateNestedOneWithoutBugCommentsInput
615
+ parent?: Prisma.BugCommentCreateNestedOneWithoutRepliesInput
616
+ replies?: Prisma.BugCommentCreateNestedManyWithoutParentInput
617
+ reactions?: Prisma.BugCommentReactionCreateNestedManyWithoutCommentInput
618
+ }
619
+
620
+ export type BugCommentUncheckedCreateWithoutBugInput = {
621
+ id?: string
622
+ userId: string
623
+ parentId?: string | null
624
+ content: string
625
+ createdAt?: Date | string
626
+ updatedAt?: Date | string
627
+ replies?: Prisma.BugCommentUncheckedCreateNestedManyWithoutParentInput
628
+ reactions?: Prisma.BugCommentReactionUncheckedCreateNestedManyWithoutCommentInput
629
+ }
630
+
631
+ export type BugCommentCreateOrConnectWithoutBugInput = {
632
+ where: Prisma.BugCommentWhereUniqueInput
633
+ create: Prisma.XOR<Prisma.BugCommentCreateWithoutBugInput, Prisma.BugCommentUncheckedCreateWithoutBugInput>
634
+ }
635
+
636
+ export type BugCommentCreateManyBugInputEnvelope = {
637
+ data: Prisma.BugCommentCreateManyBugInput | Prisma.BugCommentCreateManyBugInput[]
638
+ skipDuplicates?: boolean
639
+ }
640
+
641
+ export type BugCommentUpsertWithWhereUniqueWithoutBugInput = {
642
+ where: Prisma.BugCommentWhereUniqueInput
643
+ update: Prisma.XOR<Prisma.BugCommentUpdateWithoutBugInput, Prisma.BugCommentUncheckedUpdateWithoutBugInput>
644
+ create: Prisma.XOR<Prisma.BugCommentCreateWithoutBugInput, Prisma.BugCommentUncheckedCreateWithoutBugInput>
645
+ }
646
+
647
+ export type BugCommentUpdateWithWhereUniqueWithoutBugInput = {
648
+ where: Prisma.BugCommentWhereUniqueInput
649
+ data: Prisma.XOR<Prisma.BugCommentUpdateWithoutBugInput, Prisma.BugCommentUncheckedUpdateWithoutBugInput>
650
+ }
651
+
652
+ export type BugCommentUpdateManyWithWhereWithoutBugInput = {
653
+ where: Prisma.BugCommentScalarWhereInput
654
+ data: Prisma.XOR<Prisma.BugCommentUpdateManyMutationInput, Prisma.BugCommentUncheckedUpdateManyWithoutBugInput>
655
+ }
656
+
657
+ export type BugCommentCreateWithoutRepliesInput = {
658
+ id?: string
659
+ content: string
660
+ createdAt?: Date | string
661
+ updatedAt?: Date | string
662
+ bug: Prisma.BugCreateNestedOneWithoutCommentsInput
663
+ user: Prisma.UserCreateNestedOneWithoutBugCommentsInput
664
+ parent?: Prisma.BugCommentCreateNestedOneWithoutRepliesInput
665
+ reactions?: Prisma.BugCommentReactionCreateNestedManyWithoutCommentInput
666
+ }
667
+
668
+ export type BugCommentUncheckedCreateWithoutRepliesInput = {
669
+ id?: string
670
+ bugId: string
671
+ userId: string
672
+ parentId?: string | null
673
+ content: string
674
+ createdAt?: Date | string
675
+ updatedAt?: Date | string
676
+ reactions?: Prisma.BugCommentReactionUncheckedCreateNestedManyWithoutCommentInput
677
+ }
678
+
679
+ export type BugCommentCreateOrConnectWithoutRepliesInput = {
680
+ where: Prisma.BugCommentWhereUniqueInput
681
+ create: Prisma.XOR<Prisma.BugCommentCreateWithoutRepliesInput, Prisma.BugCommentUncheckedCreateWithoutRepliesInput>
682
+ }
683
+
684
+ export type BugCommentCreateWithoutParentInput = {
685
+ id?: string
686
+ content: string
687
+ createdAt?: Date | string
688
+ updatedAt?: Date | string
689
+ bug: Prisma.BugCreateNestedOneWithoutCommentsInput
690
+ user: Prisma.UserCreateNestedOneWithoutBugCommentsInput
691
+ replies?: Prisma.BugCommentCreateNestedManyWithoutParentInput
692
+ reactions?: Prisma.BugCommentReactionCreateNestedManyWithoutCommentInput
693
+ }
694
+
695
+ export type BugCommentUncheckedCreateWithoutParentInput = {
696
+ id?: string
697
+ bugId: string
698
+ userId: string
699
+ content: string
700
+ createdAt?: Date | string
701
+ updatedAt?: Date | string
702
+ replies?: Prisma.BugCommentUncheckedCreateNestedManyWithoutParentInput
703
+ reactions?: Prisma.BugCommentReactionUncheckedCreateNestedManyWithoutCommentInput
704
+ }
705
+
706
+ export type BugCommentCreateOrConnectWithoutParentInput = {
707
+ where: Prisma.BugCommentWhereUniqueInput
708
+ create: Prisma.XOR<Prisma.BugCommentCreateWithoutParentInput, Prisma.BugCommentUncheckedCreateWithoutParentInput>
709
+ }
710
+
711
+ export type BugCommentCreateManyParentInputEnvelope = {
712
+ data: Prisma.BugCommentCreateManyParentInput | Prisma.BugCommentCreateManyParentInput[]
713
+ skipDuplicates?: boolean
714
+ }
715
+
716
+ export type BugCommentUpsertWithoutRepliesInput = {
717
+ update: Prisma.XOR<Prisma.BugCommentUpdateWithoutRepliesInput, Prisma.BugCommentUncheckedUpdateWithoutRepliesInput>
718
+ create: Prisma.XOR<Prisma.BugCommentCreateWithoutRepliesInput, Prisma.BugCommentUncheckedCreateWithoutRepliesInput>
719
+ where?: Prisma.BugCommentWhereInput
720
+ }
721
+
722
+ export type BugCommentUpdateToOneWithWhereWithoutRepliesInput = {
723
+ where?: Prisma.BugCommentWhereInput
724
+ data: Prisma.XOR<Prisma.BugCommentUpdateWithoutRepliesInput, Prisma.BugCommentUncheckedUpdateWithoutRepliesInput>
725
+ }
726
+
727
+ export type BugCommentUpdateWithoutRepliesInput = {
728
+ id?: Prisma.StringFieldUpdateOperationsInput | string
729
+ content?: Prisma.StringFieldUpdateOperationsInput | string
730
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
731
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
732
+ bug?: Prisma.BugUpdateOneRequiredWithoutCommentsNestedInput
733
+ user?: Prisma.UserUpdateOneRequiredWithoutBugCommentsNestedInput
734
+ parent?: Prisma.BugCommentUpdateOneWithoutRepliesNestedInput
735
+ reactions?: Prisma.BugCommentReactionUpdateManyWithoutCommentNestedInput
736
+ }
737
+
738
+ export type BugCommentUncheckedUpdateWithoutRepliesInput = {
739
+ id?: Prisma.StringFieldUpdateOperationsInput | string
740
+ bugId?: Prisma.StringFieldUpdateOperationsInput | string
741
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
742
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
743
+ content?: Prisma.StringFieldUpdateOperationsInput | string
744
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
745
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
746
+ reactions?: Prisma.BugCommentReactionUncheckedUpdateManyWithoutCommentNestedInput
747
+ }
748
+
749
+ export type BugCommentUpsertWithWhereUniqueWithoutParentInput = {
750
+ where: Prisma.BugCommentWhereUniqueInput
751
+ update: Prisma.XOR<Prisma.BugCommentUpdateWithoutParentInput, Prisma.BugCommentUncheckedUpdateWithoutParentInput>
752
+ create: Prisma.XOR<Prisma.BugCommentCreateWithoutParentInput, Prisma.BugCommentUncheckedCreateWithoutParentInput>
753
+ }
754
+
755
+ export type BugCommentUpdateWithWhereUniqueWithoutParentInput = {
756
+ where: Prisma.BugCommentWhereUniqueInput
757
+ data: Prisma.XOR<Prisma.BugCommentUpdateWithoutParentInput, Prisma.BugCommentUncheckedUpdateWithoutParentInput>
758
+ }
759
+
760
+ export type BugCommentUpdateManyWithWhereWithoutParentInput = {
761
+ where: Prisma.BugCommentScalarWhereInput
762
+ data: Prisma.XOR<Prisma.BugCommentUpdateManyMutationInput, Prisma.BugCommentUncheckedUpdateManyWithoutParentInput>
763
+ }
764
+
765
+ export type BugCommentCreateWithoutReactionsInput = {
766
+ id?: string
767
+ content: string
768
+ createdAt?: Date | string
769
+ updatedAt?: Date | string
770
+ bug: Prisma.BugCreateNestedOneWithoutCommentsInput
771
+ user: Prisma.UserCreateNestedOneWithoutBugCommentsInput
772
+ parent?: Prisma.BugCommentCreateNestedOneWithoutRepliesInput
773
+ replies?: Prisma.BugCommentCreateNestedManyWithoutParentInput
774
+ }
775
+
776
+ export type BugCommentUncheckedCreateWithoutReactionsInput = {
777
+ id?: string
778
+ bugId: string
779
+ userId: string
780
+ parentId?: string | null
781
+ content: string
782
+ createdAt?: Date | string
783
+ updatedAt?: Date | string
784
+ replies?: Prisma.BugCommentUncheckedCreateNestedManyWithoutParentInput
785
+ }
786
+
787
+ export type BugCommentCreateOrConnectWithoutReactionsInput = {
788
+ where: Prisma.BugCommentWhereUniqueInput
789
+ create: Prisma.XOR<Prisma.BugCommentCreateWithoutReactionsInput, Prisma.BugCommentUncheckedCreateWithoutReactionsInput>
790
+ }
791
+
792
+ export type BugCommentUpsertWithoutReactionsInput = {
793
+ update: Prisma.XOR<Prisma.BugCommentUpdateWithoutReactionsInput, Prisma.BugCommentUncheckedUpdateWithoutReactionsInput>
794
+ create: Prisma.XOR<Prisma.BugCommentCreateWithoutReactionsInput, Prisma.BugCommentUncheckedCreateWithoutReactionsInput>
795
+ where?: Prisma.BugCommentWhereInput
796
+ }
797
+
798
+ export type BugCommentUpdateToOneWithWhereWithoutReactionsInput = {
799
+ where?: Prisma.BugCommentWhereInput
800
+ data: Prisma.XOR<Prisma.BugCommentUpdateWithoutReactionsInput, Prisma.BugCommentUncheckedUpdateWithoutReactionsInput>
801
+ }
802
+
803
+ export type BugCommentUpdateWithoutReactionsInput = {
804
+ id?: Prisma.StringFieldUpdateOperationsInput | string
805
+ content?: Prisma.StringFieldUpdateOperationsInput | string
806
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
807
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
808
+ bug?: Prisma.BugUpdateOneRequiredWithoutCommentsNestedInput
809
+ user?: Prisma.UserUpdateOneRequiredWithoutBugCommentsNestedInput
810
+ parent?: Prisma.BugCommentUpdateOneWithoutRepliesNestedInput
811
+ replies?: Prisma.BugCommentUpdateManyWithoutParentNestedInput
812
+ }
813
+
814
+ export type BugCommentUncheckedUpdateWithoutReactionsInput = {
815
+ id?: Prisma.StringFieldUpdateOperationsInput | string
816
+ bugId?: Prisma.StringFieldUpdateOperationsInput | string
817
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
818
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
819
+ content?: Prisma.StringFieldUpdateOperationsInput | string
820
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
821
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
822
+ replies?: Prisma.BugCommentUncheckedUpdateManyWithoutParentNestedInput
823
+ }
824
+
825
+ export type BugCommentCreateManyUserInput = {
826
+ id?: string
827
+ bugId: string
828
+ parentId?: string | null
829
+ content: string
830
+ createdAt?: Date | string
831
+ updatedAt?: Date | string
832
+ }
833
+
834
+ export type BugCommentUpdateWithoutUserInput = {
835
+ id?: Prisma.StringFieldUpdateOperationsInput | string
836
+ content?: Prisma.StringFieldUpdateOperationsInput | string
837
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
838
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
839
+ bug?: Prisma.BugUpdateOneRequiredWithoutCommentsNestedInput
840
+ parent?: Prisma.BugCommentUpdateOneWithoutRepliesNestedInput
841
+ replies?: Prisma.BugCommentUpdateManyWithoutParentNestedInput
842
+ reactions?: Prisma.BugCommentReactionUpdateManyWithoutCommentNestedInput
843
+ }
844
+
845
+ export type BugCommentUncheckedUpdateWithoutUserInput = {
846
+ id?: Prisma.StringFieldUpdateOperationsInput | string
847
+ bugId?: Prisma.StringFieldUpdateOperationsInput | string
848
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
849
+ content?: Prisma.StringFieldUpdateOperationsInput | string
850
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
851
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
852
+ replies?: Prisma.BugCommentUncheckedUpdateManyWithoutParentNestedInput
853
+ reactions?: Prisma.BugCommentReactionUncheckedUpdateManyWithoutCommentNestedInput
854
+ }
855
+
856
+ export type BugCommentUncheckedUpdateManyWithoutUserInput = {
857
+ id?: Prisma.StringFieldUpdateOperationsInput | string
858
+ bugId?: Prisma.StringFieldUpdateOperationsInput | string
859
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
860
+ content?: Prisma.StringFieldUpdateOperationsInput | string
861
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
862
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
863
+ }
864
+
865
+ export type BugCommentCreateManyBugInput = {
866
+ id?: string
867
+ userId: string
868
+ parentId?: string | null
869
+ content: string
870
+ createdAt?: Date | string
871
+ updatedAt?: Date | string
872
+ }
873
+
874
+ export type BugCommentUpdateWithoutBugInput = {
875
+ id?: Prisma.StringFieldUpdateOperationsInput | string
876
+ content?: Prisma.StringFieldUpdateOperationsInput | string
877
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
878
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
879
+ user?: Prisma.UserUpdateOneRequiredWithoutBugCommentsNestedInput
880
+ parent?: Prisma.BugCommentUpdateOneWithoutRepliesNestedInput
881
+ replies?: Prisma.BugCommentUpdateManyWithoutParentNestedInput
882
+ reactions?: Prisma.BugCommentReactionUpdateManyWithoutCommentNestedInput
883
+ }
884
+
885
+ export type BugCommentUncheckedUpdateWithoutBugInput = {
886
+ id?: Prisma.StringFieldUpdateOperationsInput | string
887
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
888
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
889
+ content?: Prisma.StringFieldUpdateOperationsInput | string
890
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
891
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
892
+ replies?: Prisma.BugCommentUncheckedUpdateManyWithoutParentNestedInput
893
+ reactions?: Prisma.BugCommentReactionUncheckedUpdateManyWithoutCommentNestedInput
894
+ }
895
+
896
+ export type BugCommentUncheckedUpdateManyWithoutBugInput = {
897
+ id?: Prisma.StringFieldUpdateOperationsInput | string
898
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
899
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
900
+ content?: Prisma.StringFieldUpdateOperationsInput | string
901
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
902
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
903
+ }
904
+
905
+ export type BugCommentCreateManyParentInput = {
906
+ id?: string
907
+ bugId: string
908
+ userId: string
909
+ content: string
910
+ createdAt?: Date | string
911
+ updatedAt?: Date | string
912
+ }
913
+
914
+ export type BugCommentUpdateWithoutParentInput = {
915
+ id?: Prisma.StringFieldUpdateOperationsInput | string
916
+ content?: Prisma.StringFieldUpdateOperationsInput | string
917
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
918
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
919
+ bug?: Prisma.BugUpdateOneRequiredWithoutCommentsNestedInput
920
+ user?: Prisma.UserUpdateOneRequiredWithoutBugCommentsNestedInput
921
+ replies?: Prisma.BugCommentUpdateManyWithoutParentNestedInput
922
+ reactions?: Prisma.BugCommentReactionUpdateManyWithoutCommentNestedInput
923
+ }
924
+
925
+ export type BugCommentUncheckedUpdateWithoutParentInput = {
926
+ id?: Prisma.StringFieldUpdateOperationsInput | string
927
+ bugId?: Prisma.StringFieldUpdateOperationsInput | string
928
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
929
+ content?: Prisma.StringFieldUpdateOperationsInput | string
930
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
931
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
932
+ replies?: Prisma.BugCommentUncheckedUpdateManyWithoutParentNestedInput
933
+ reactions?: Prisma.BugCommentReactionUncheckedUpdateManyWithoutCommentNestedInput
934
+ }
935
+
936
+ export type BugCommentUncheckedUpdateManyWithoutParentInput = {
937
+ id?: Prisma.StringFieldUpdateOperationsInput | string
938
+ bugId?: Prisma.StringFieldUpdateOperationsInput | string
939
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
940
+ content?: Prisma.StringFieldUpdateOperationsInput | string
941
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
942
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
943
+ }
944
+
945
+
946
+ /**
947
+ * Count Type BugCommentCountOutputType
948
+ */
949
+
950
+ export type BugCommentCountOutputType = {
951
+ replies: number
952
+ reactions: number
953
+ }
954
+
955
+ export type BugCommentCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
956
+ replies?: boolean | BugCommentCountOutputTypeCountRepliesArgs
957
+ reactions?: boolean | BugCommentCountOutputTypeCountReactionsArgs
958
+ }
959
+
960
+ /**
961
+ * BugCommentCountOutputType without action
962
+ */
963
+ export type BugCommentCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
964
+ /**
965
+ * Select specific fields to fetch from the BugCommentCountOutputType
966
+ */
967
+ select?: Prisma.BugCommentCountOutputTypeSelect<ExtArgs> | null
968
+ }
969
+
970
+ /**
971
+ * BugCommentCountOutputType without action
972
+ */
973
+ export type BugCommentCountOutputTypeCountRepliesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
974
+ where?: Prisma.BugCommentWhereInput
975
+ }
976
+
977
+ /**
978
+ * BugCommentCountOutputType without action
979
+ */
980
+ export type BugCommentCountOutputTypeCountReactionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
981
+ where?: Prisma.BugCommentReactionWhereInput
982
+ }
983
+
984
+
985
+ export type BugCommentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
986
+ id?: boolean
987
+ bugId?: boolean
988
+ userId?: boolean
989
+ parentId?: boolean
990
+ content?: boolean
991
+ createdAt?: boolean
992
+ updatedAt?: boolean
993
+ bug?: boolean | Prisma.BugDefaultArgs<ExtArgs>
994
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
995
+ parent?: boolean | Prisma.BugComment$parentArgs<ExtArgs>
996
+ replies?: boolean | Prisma.BugComment$repliesArgs<ExtArgs>
997
+ reactions?: boolean | Prisma.BugComment$reactionsArgs<ExtArgs>
998
+ _count?: boolean | Prisma.BugCommentCountOutputTypeDefaultArgs<ExtArgs>
999
+ }, ExtArgs["result"]["bugComment"]>
1000
+
1001
+ export type BugCommentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1002
+ id?: boolean
1003
+ bugId?: boolean
1004
+ userId?: boolean
1005
+ parentId?: boolean
1006
+ content?: boolean
1007
+ createdAt?: boolean
1008
+ updatedAt?: boolean
1009
+ bug?: boolean | Prisma.BugDefaultArgs<ExtArgs>
1010
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1011
+ parent?: boolean | Prisma.BugComment$parentArgs<ExtArgs>
1012
+ }, ExtArgs["result"]["bugComment"]>
1013
+
1014
+ export type BugCommentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1015
+ id?: boolean
1016
+ bugId?: boolean
1017
+ userId?: boolean
1018
+ parentId?: boolean
1019
+ content?: boolean
1020
+ createdAt?: boolean
1021
+ updatedAt?: boolean
1022
+ bug?: boolean | Prisma.BugDefaultArgs<ExtArgs>
1023
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1024
+ parent?: boolean | Prisma.BugComment$parentArgs<ExtArgs>
1025
+ }, ExtArgs["result"]["bugComment"]>
1026
+
1027
+ export type BugCommentSelectScalar = {
1028
+ id?: boolean
1029
+ bugId?: boolean
1030
+ userId?: boolean
1031
+ parentId?: boolean
1032
+ content?: boolean
1033
+ createdAt?: boolean
1034
+ updatedAt?: boolean
1035
+ }
1036
+
1037
+ export type BugCommentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "bugId" | "userId" | "parentId" | "content" | "createdAt" | "updatedAt", ExtArgs["result"]["bugComment"]>
1038
+ export type BugCommentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1039
+ bug?: boolean | Prisma.BugDefaultArgs<ExtArgs>
1040
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1041
+ parent?: boolean | Prisma.BugComment$parentArgs<ExtArgs>
1042
+ replies?: boolean | Prisma.BugComment$repliesArgs<ExtArgs>
1043
+ reactions?: boolean | Prisma.BugComment$reactionsArgs<ExtArgs>
1044
+ _count?: boolean | Prisma.BugCommentCountOutputTypeDefaultArgs<ExtArgs>
1045
+ }
1046
+ export type BugCommentIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1047
+ bug?: boolean | Prisma.BugDefaultArgs<ExtArgs>
1048
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1049
+ parent?: boolean | Prisma.BugComment$parentArgs<ExtArgs>
1050
+ }
1051
+ export type BugCommentIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1052
+ bug?: boolean | Prisma.BugDefaultArgs<ExtArgs>
1053
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1054
+ parent?: boolean | Prisma.BugComment$parentArgs<ExtArgs>
1055
+ }
1056
+
1057
+ export type $BugCommentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1058
+ name: "BugComment"
1059
+ objects: {
1060
+ bug: Prisma.$BugPayload<ExtArgs>
1061
+ user: Prisma.$UserPayload<ExtArgs>
1062
+ parent: Prisma.$BugCommentPayload<ExtArgs> | null
1063
+ replies: Prisma.$BugCommentPayload<ExtArgs>[]
1064
+ reactions: Prisma.$BugCommentReactionPayload<ExtArgs>[]
1065
+ }
1066
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
1067
+ id: string
1068
+ bugId: string
1069
+ userId: string
1070
+ parentId: string | null
1071
+ content: string
1072
+ createdAt: Date
1073
+ updatedAt: Date
1074
+ }, ExtArgs["result"]["bugComment"]>
1075
+ composites: {}
1076
+ }
1077
+
1078
+ export type BugCommentGetPayload<S extends boolean | null | undefined | BugCommentDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$BugCommentPayload, S>
1079
+
1080
+ export type BugCommentCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1081
+ Omit<BugCommentFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1082
+ select?: BugCommentCountAggregateInputType | true
1083
+ }
1084
+
1085
+ export interface BugCommentDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1086
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['BugComment'], meta: { name: 'BugComment' } }
1087
+ /**
1088
+ * Find zero or one BugComment that matches the filter.
1089
+ * @param {BugCommentFindUniqueArgs} args - Arguments to find a BugComment
1090
+ * @example
1091
+ * // Get one BugComment
1092
+ * const bugComment = await prisma.bugComment.findUnique({
1093
+ * where: {
1094
+ * // ... provide filter here
1095
+ * }
1096
+ * })
1097
+ */
1098
+ findUnique<T extends BugCommentFindUniqueArgs>(args: Prisma.SelectSubset<T, BugCommentFindUniqueArgs<ExtArgs>>): Prisma.Prisma__BugCommentClient<runtime.Types.Result.GetResult<Prisma.$BugCommentPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1099
+
1100
+ /**
1101
+ * Find one BugComment that matches the filter or throw an error with `error.code='P2025'`
1102
+ * if no matches were found.
1103
+ * @param {BugCommentFindUniqueOrThrowArgs} args - Arguments to find a BugComment
1104
+ * @example
1105
+ * // Get one BugComment
1106
+ * const bugComment = await prisma.bugComment.findUniqueOrThrow({
1107
+ * where: {
1108
+ * // ... provide filter here
1109
+ * }
1110
+ * })
1111
+ */
1112
+ findUniqueOrThrow<T extends BugCommentFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, BugCommentFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__BugCommentClient<runtime.Types.Result.GetResult<Prisma.$BugCommentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1113
+
1114
+ /**
1115
+ * Find the first BugComment that matches the filter.
1116
+ * Note, that providing `undefined` is treated as the value not being there.
1117
+ * Read more here: https://pris.ly/d/null-undefined
1118
+ * @param {BugCommentFindFirstArgs} args - Arguments to find a BugComment
1119
+ * @example
1120
+ * // Get one BugComment
1121
+ * const bugComment = await prisma.bugComment.findFirst({
1122
+ * where: {
1123
+ * // ... provide filter here
1124
+ * }
1125
+ * })
1126
+ */
1127
+ findFirst<T extends BugCommentFindFirstArgs>(args?: Prisma.SelectSubset<T, BugCommentFindFirstArgs<ExtArgs>>): Prisma.Prisma__BugCommentClient<runtime.Types.Result.GetResult<Prisma.$BugCommentPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1128
+
1129
+ /**
1130
+ * Find the first BugComment that matches the filter or
1131
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1132
+ * Note, that providing `undefined` is treated as the value not being there.
1133
+ * Read more here: https://pris.ly/d/null-undefined
1134
+ * @param {BugCommentFindFirstOrThrowArgs} args - Arguments to find a BugComment
1135
+ * @example
1136
+ * // Get one BugComment
1137
+ * const bugComment = await prisma.bugComment.findFirstOrThrow({
1138
+ * where: {
1139
+ * // ... provide filter here
1140
+ * }
1141
+ * })
1142
+ */
1143
+ findFirstOrThrow<T extends BugCommentFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, BugCommentFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__BugCommentClient<runtime.Types.Result.GetResult<Prisma.$BugCommentPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1144
+
1145
+ /**
1146
+ * Find zero or more BugComments that matches the filter.
1147
+ * Note, that providing `undefined` is treated as the value not being there.
1148
+ * Read more here: https://pris.ly/d/null-undefined
1149
+ * @param {BugCommentFindManyArgs} args - Arguments to filter and select certain fields only.
1150
+ * @example
1151
+ * // Get all BugComments
1152
+ * const bugComments = await prisma.bugComment.findMany()
1153
+ *
1154
+ * // Get first 10 BugComments
1155
+ * const bugComments = await prisma.bugComment.findMany({ take: 10 })
1156
+ *
1157
+ * // Only select the `id`
1158
+ * const bugCommentWithIdOnly = await prisma.bugComment.findMany({ select: { id: true } })
1159
+ *
1160
+ */
1161
+ findMany<T extends BugCommentFindManyArgs>(args?: Prisma.SelectSubset<T, BugCommentFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BugCommentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1162
+
1163
+ /**
1164
+ * Create a BugComment.
1165
+ * @param {BugCommentCreateArgs} args - Arguments to create a BugComment.
1166
+ * @example
1167
+ * // Create one BugComment
1168
+ * const BugComment = await prisma.bugComment.create({
1169
+ * data: {
1170
+ * // ... data to create a BugComment
1171
+ * }
1172
+ * })
1173
+ *
1174
+ */
1175
+ create<T extends BugCommentCreateArgs>(args: Prisma.SelectSubset<T, BugCommentCreateArgs<ExtArgs>>): Prisma.Prisma__BugCommentClient<runtime.Types.Result.GetResult<Prisma.$BugCommentPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1176
+
1177
+ /**
1178
+ * Create many BugComments.
1179
+ * @param {BugCommentCreateManyArgs} args - Arguments to create many BugComments.
1180
+ * @example
1181
+ * // Create many BugComments
1182
+ * const bugComment = await prisma.bugComment.createMany({
1183
+ * data: [
1184
+ * // ... provide data here
1185
+ * ]
1186
+ * })
1187
+ *
1188
+ */
1189
+ createMany<T extends BugCommentCreateManyArgs>(args?: Prisma.SelectSubset<T, BugCommentCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1190
+
1191
+ /**
1192
+ * Create many BugComments and returns the data saved in the database.
1193
+ * @param {BugCommentCreateManyAndReturnArgs} args - Arguments to create many BugComments.
1194
+ * @example
1195
+ * // Create many BugComments
1196
+ * const bugComment = await prisma.bugComment.createManyAndReturn({
1197
+ * data: [
1198
+ * // ... provide data here
1199
+ * ]
1200
+ * })
1201
+ *
1202
+ * // Create many BugComments and only return the `id`
1203
+ * const bugCommentWithIdOnly = await prisma.bugComment.createManyAndReturn({
1204
+ * select: { id: true },
1205
+ * data: [
1206
+ * // ... provide data here
1207
+ * ]
1208
+ * })
1209
+ * Note, that providing `undefined` is treated as the value not being there.
1210
+ * Read more here: https://pris.ly/d/null-undefined
1211
+ *
1212
+ */
1213
+ createManyAndReturn<T extends BugCommentCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, BugCommentCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BugCommentPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1214
+
1215
+ /**
1216
+ * Delete a BugComment.
1217
+ * @param {BugCommentDeleteArgs} args - Arguments to delete one BugComment.
1218
+ * @example
1219
+ * // Delete one BugComment
1220
+ * const BugComment = await prisma.bugComment.delete({
1221
+ * where: {
1222
+ * // ... filter to delete one BugComment
1223
+ * }
1224
+ * })
1225
+ *
1226
+ */
1227
+ delete<T extends BugCommentDeleteArgs>(args: Prisma.SelectSubset<T, BugCommentDeleteArgs<ExtArgs>>): Prisma.Prisma__BugCommentClient<runtime.Types.Result.GetResult<Prisma.$BugCommentPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1228
+
1229
+ /**
1230
+ * Update one BugComment.
1231
+ * @param {BugCommentUpdateArgs} args - Arguments to update one BugComment.
1232
+ * @example
1233
+ * // Update one BugComment
1234
+ * const bugComment = await prisma.bugComment.update({
1235
+ * where: {
1236
+ * // ... provide filter here
1237
+ * },
1238
+ * data: {
1239
+ * // ... provide data here
1240
+ * }
1241
+ * })
1242
+ *
1243
+ */
1244
+ update<T extends BugCommentUpdateArgs>(args: Prisma.SelectSubset<T, BugCommentUpdateArgs<ExtArgs>>): Prisma.Prisma__BugCommentClient<runtime.Types.Result.GetResult<Prisma.$BugCommentPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1245
+
1246
+ /**
1247
+ * Delete zero or more BugComments.
1248
+ * @param {BugCommentDeleteManyArgs} args - Arguments to filter BugComments to delete.
1249
+ * @example
1250
+ * // Delete a few BugComments
1251
+ * const { count } = await prisma.bugComment.deleteMany({
1252
+ * where: {
1253
+ * // ... provide filter here
1254
+ * }
1255
+ * })
1256
+ *
1257
+ */
1258
+ deleteMany<T extends BugCommentDeleteManyArgs>(args?: Prisma.SelectSubset<T, BugCommentDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1259
+
1260
+ /**
1261
+ * Update zero or more BugComments.
1262
+ * Note, that providing `undefined` is treated as the value not being there.
1263
+ * Read more here: https://pris.ly/d/null-undefined
1264
+ * @param {BugCommentUpdateManyArgs} args - Arguments to update one or more rows.
1265
+ * @example
1266
+ * // Update many BugComments
1267
+ * const bugComment = await prisma.bugComment.updateMany({
1268
+ * where: {
1269
+ * // ... provide filter here
1270
+ * },
1271
+ * data: {
1272
+ * // ... provide data here
1273
+ * }
1274
+ * })
1275
+ *
1276
+ */
1277
+ updateMany<T extends BugCommentUpdateManyArgs>(args: Prisma.SelectSubset<T, BugCommentUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1278
+
1279
+ /**
1280
+ * Update zero or more BugComments and returns the data updated in the database.
1281
+ * @param {BugCommentUpdateManyAndReturnArgs} args - Arguments to update many BugComments.
1282
+ * @example
1283
+ * // Update many BugComments
1284
+ * const bugComment = await prisma.bugComment.updateManyAndReturn({
1285
+ * where: {
1286
+ * // ... provide filter here
1287
+ * },
1288
+ * data: [
1289
+ * // ... provide data here
1290
+ * ]
1291
+ * })
1292
+ *
1293
+ * // Update zero or more BugComments and only return the `id`
1294
+ * const bugCommentWithIdOnly = await prisma.bugComment.updateManyAndReturn({
1295
+ * select: { id: true },
1296
+ * where: {
1297
+ * // ... provide filter here
1298
+ * },
1299
+ * data: [
1300
+ * // ... provide data here
1301
+ * ]
1302
+ * })
1303
+ * Note, that providing `undefined` is treated as the value not being there.
1304
+ * Read more here: https://pris.ly/d/null-undefined
1305
+ *
1306
+ */
1307
+ updateManyAndReturn<T extends BugCommentUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, BugCommentUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BugCommentPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1308
+
1309
+ /**
1310
+ * Create or update one BugComment.
1311
+ * @param {BugCommentUpsertArgs} args - Arguments to update or create a BugComment.
1312
+ * @example
1313
+ * // Update or create a BugComment
1314
+ * const bugComment = await prisma.bugComment.upsert({
1315
+ * create: {
1316
+ * // ... data to create a BugComment
1317
+ * },
1318
+ * update: {
1319
+ * // ... in case it already exists, update
1320
+ * },
1321
+ * where: {
1322
+ * // ... the filter for the BugComment we want to update
1323
+ * }
1324
+ * })
1325
+ */
1326
+ upsert<T extends BugCommentUpsertArgs>(args: Prisma.SelectSubset<T, BugCommentUpsertArgs<ExtArgs>>): Prisma.Prisma__BugCommentClient<runtime.Types.Result.GetResult<Prisma.$BugCommentPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1327
+
1328
+
1329
+ /**
1330
+ * Count the number of BugComments.
1331
+ * Note, that providing `undefined` is treated as the value not being there.
1332
+ * Read more here: https://pris.ly/d/null-undefined
1333
+ * @param {BugCommentCountArgs} args - Arguments to filter BugComments to count.
1334
+ * @example
1335
+ * // Count the number of BugComments
1336
+ * const count = await prisma.bugComment.count({
1337
+ * where: {
1338
+ * // ... the filter for the BugComments we want to count
1339
+ * }
1340
+ * })
1341
+ **/
1342
+ count<T extends BugCommentCountArgs>(
1343
+ args?: Prisma.Subset<T, BugCommentCountArgs>,
1344
+ ): Prisma.PrismaPromise<
1345
+ T extends runtime.Types.Utils.Record<'select', any>
1346
+ ? T['select'] extends true
1347
+ ? number
1348
+ : Prisma.GetScalarType<T['select'], BugCommentCountAggregateOutputType>
1349
+ : number
1350
+ >
1351
+
1352
+ /**
1353
+ * Allows you to perform aggregations operations on a BugComment.
1354
+ * Note, that providing `undefined` is treated as the value not being there.
1355
+ * Read more here: https://pris.ly/d/null-undefined
1356
+ * @param {BugCommentAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1357
+ * @example
1358
+ * // Ordered by age ascending
1359
+ * // Where email contains prisma.io
1360
+ * // Limited to the 10 users
1361
+ * const aggregations = await prisma.user.aggregate({
1362
+ * _avg: {
1363
+ * age: true,
1364
+ * },
1365
+ * where: {
1366
+ * email: {
1367
+ * contains: "prisma.io",
1368
+ * },
1369
+ * },
1370
+ * orderBy: {
1371
+ * age: "asc",
1372
+ * },
1373
+ * take: 10,
1374
+ * })
1375
+ **/
1376
+ aggregate<T extends BugCommentAggregateArgs>(args: Prisma.Subset<T, BugCommentAggregateArgs>): Prisma.PrismaPromise<GetBugCommentAggregateType<T>>
1377
+
1378
+ /**
1379
+ * Group by BugComment.
1380
+ * Note, that providing `undefined` is treated as the value not being there.
1381
+ * Read more here: https://pris.ly/d/null-undefined
1382
+ * @param {BugCommentGroupByArgs} args - Group by arguments.
1383
+ * @example
1384
+ * // Group by city, order by createdAt, get count
1385
+ * const result = await prisma.user.groupBy({
1386
+ * by: ['city', 'createdAt'],
1387
+ * orderBy: {
1388
+ * createdAt: true
1389
+ * },
1390
+ * _count: {
1391
+ * _all: true
1392
+ * },
1393
+ * })
1394
+ *
1395
+ **/
1396
+ groupBy<
1397
+ T extends BugCommentGroupByArgs,
1398
+ HasSelectOrTake extends Prisma.Or<
1399
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1400
+ Prisma.Extends<'take', Prisma.Keys<T>>
1401
+ >,
1402
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1403
+ ? { orderBy: BugCommentGroupByArgs['orderBy'] }
1404
+ : { orderBy?: BugCommentGroupByArgs['orderBy'] },
1405
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1406
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1407
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1408
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1409
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1410
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1411
+ InputErrors extends ByEmpty extends Prisma.True
1412
+ ? `Error: "by" must not be empty.`
1413
+ : HavingValid extends Prisma.False
1414
+ ? {
1415
+ [P in HavingFields]: P extends ByFields
1416
+ ? never
1417
+ : P extends string
1418
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1419
+ : [
1420
+ Error,
1421
+ 'Field ',
1422
+ P,
1423
+ ` in "having" needs to be provided in "by"`,
1424
+ ]
1425
+ }[HavingFields]
1426
+ : 'take' extends Prisma.Keys<T>
1427
+ ? 'orderBy' extends Prisma.Keys<T>
1428
+ ? ByValid extends Prisma.True
1429
+ ? {}
1430
+ : {
1431
+ [P in OrderFields]: P extends ByFields
1432
+ ? never
1433
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1434
+ }[OrderFields]
1435
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1436
+ : 'skip' extends Prisma.Keys<T>
1437
+ ? 'orderBy' extends Prisma.Keys<T>
1438
+ ? ByValid extends Prisma.True
1439
+ ? {}
1440
+ : {
1441
+ [P in OrderFields]: P extends ByFields
1442
+ ? never
1443
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1444
+ }[OrderFields]
1445
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1446
+ : ByValid extends Prisma.True
1447
+ ? {}
1448
+ : {
1449
+ [P in OrderFields]: P extends ByFields
1450
+ ? never
1451
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1452
+ }[OrderFields]
1453
+ >(args: Prisma.SubsetIntersection<T, BugCommentGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetBugCommentGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1454
+ /**
1455
+ * Fields of the BugComment model
1456
+ */
1457
+ readonly fields: BugCommentFieldRefs;
1458
+ }
1459
+
1460
+ /**
1461
+ * The delegate class that acts as a "Promise-like" for BugComment.
1462
+ * Why is this prefixed with `Prisma__`?
1463
+ * Because we want to prevent naming conflicts as mentioned in
1464
+ * https://github.com/prisma/prisma-client-js/issues/707
1465
+ */
1466
+ export interface Prisma__BugCommentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1467
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1468
+ bug<T extends Prisma.BugDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BugDefaultArgs<ExtArgs>>): Prisma.Prisma__BugClient<runtime.Types.Result.GetResult<Prisma.$BugPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1469
+ 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>
1470
+ parent<T extends Prisma.BugComment$parentArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BugComment$parentArgs<ExtArgs>>): Prisma.Prisma__BugCommentClient<runtime.Types.Result.GetResult<Prisma.$BugCommentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1471
+ replies<T extends Prisma.BugComment$repliesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BugComment$repliesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BugCommentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1472
+ reactions<T extends Prisma.BugComment$reactionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BugComment$reactionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BugCommentReactionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1473
+ /**
1474
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1475
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1476
+ * @param onrejected The callback to execute when the Promise is rejected.
1477
+ * @returns A Promise for the completion of which ever callback is executed.
1478
+ */
1479
+ 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>
1480
+ /**
1481
+ * Attaches a callback for only the rejection of the Promise.
1482
+ * @param onrejected The callback to execute when the Promise is rejected.
1483
+ * @returns A Promise for the completion of the callback.
1484
+ */
1485
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1486
+ /**
1487
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1488
+ * resolved value cannot be modified from the callback.
1489
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1490
+ * @returns A Promise for the completion of the callback.
1491
+ */
1492
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1493
+ }
1494
+
1495
+
1496
+
1497
+
1498
+ /**
1499
+ * Fields of the BugComment model
1500
+ */
1501
+ export interface BugCommentFieldRefs {
1502
+ readonly id: Prisma.FieldRef<"BugComment", 'String'>
1503
+ readonly bugId: Prisma.FieldRef<"BugComment", 'String'>
1504
+ readonly userId: Prisma.FieldRef<"BugComment", 'String'>
1505
+ readonly parentId: Prisma.FieldRef<"BugComment", 'String'>
1506
+ readonly content: Prisma.FieldRef<"BugComment", 'String'>
1507
+ readonly createdAt: Prisma.FieldRef<"BugComment", 'DateTime'>
1508
+ readonly updatedAt: Prisma.FieldRef<"BugComment", 'DateTime'>
1509
+ }
1510
+
1511
+
1512
+ // Custom InputTypes
1513
+ /**
1514
+ * BugComment findUnique
1515
+ */
1516
+ export type BugCommentFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1517
+ /**
1518
+ * Select specific fields to fetch from the BugComment
1519
+ */
1520
+ select?: Prisma.BugCommentSelect<ExtArgs> | null
1521
+ /**
1522
+ * Omit specific fields from the BugComment
1523
+ */
1524
+ omit?: Prisma.BugCommentOmit<ExtArgs> | null
1525
+ /**
1526
+ * Choose, which related nodes to fetch as well
1527
+ */
1528
+ include?: Prisma.BugCommentInclude<ExtArgs> | null
1529
+ /**
1530
+ * Filter, which BugComment to fetch.
1531
+ */
1532
+ where: Prisma.BugCommentWhereUniqueInput
1533
+ }
1534
+
1535
+ /**
1536
+ * BugComment findUniqueOrThrow
1537
+ */
1538
+ export type BugCommentFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1539
+ /**
1540
+ * Select specific fields to fetch from the BugComment
1541
+ */
1542
+ select?: Prisma.BugCommentSelect<ExtArgs> | null
1543
+ /**
1544
+ * Omit specific fields from the BugComment
1545
+ */
1546
+ omit?: Prisma.BugCommentOmit<ExtArgs> | null
1547
+ /**
1548
+ * Choose, which related nodes to fetch as well
1549
+ */
1550
+ include?: Prisma.BugCommentInclude<ExtArgs> | null
1551
+ /**
1552
+ * Filter, which BugComment to fetch.
1553
+ */
1554
+ where: Prisma.BugCommentWhereUniqueInput
1555
+ }
1556
+
1557
+ /**
1558
+ * BugComment findFirst
1559
+ */
1560
+ export type BugCommentFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1561
+ /**
1562
+ * Select specific fields to fetch from the BugComment
1563
+ */
1564
+ select?: Prisma.BugCommentSelect<ExtArgs> | null
1565
+ /**
1566
+ * Omit specific fields from the BugComment
1567
+ */
1568
+ omit?: Prisma.BugCommentOmit<ExtArgs> | null
1569
+ /**
1570
+ * Choose, which related nodes to fetch as well
1571
+ */
1572
+ include?: Prisma.BugCommentInclude<ExtArgs> | null
1573
+ /**
1574
+ * Filter, which BugComment to fetch.
1575
+ */
1576
+ where?: Prisma.BugCommentWhereInput
1577
+ /**
1578
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1579
+ *
1580
+ * Determine the order of BugComments to fetch.
1581
+ */
1582
+ orderBy?: Prisma.BugCommentOrderByWithRelationInput | Prisma.BugCommentOrderByWithRelationInput[]
1583
+ /**
1584
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1585
+ *
1586
+ * Sets the position for searching for BugComments.
1587
+ */
1588
+ cursor?: Prisma.BugCommentWhereUniqueInput
1589
+ /**
1590
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1591
+ *
1592
+ * Take `±n` BugComments from the position of the cursor.
1593
+ */
1594
+ take?: number
1595
+ /**
1596
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1597
+ *
1598
+ * Skip the first `n` BugComments.
1599
+ */
1600
+ skip?: number
1601
+ /**
1602
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1603
+ *
1604
+ * Filter by unique combinations of BugComments.
1605
+ */
1606
+ distinct?: Prisma.BugCommentScalarFieldEnum | Prisma.BugCommentScalarFieldEnum[]
1607
+ }
1608
+
1609
+ /**
1610
+ * BugComment findFirstOrThrow
1611
+ */
1612
+ export type BugCommentFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1613
+ /**
1614
+ * Select specific fields to fetch from the BugComment
1615
+ */
1616
+ select?: Prisma.BugCommentSelect<ExtArgs> | null
1617
+ /**
1618
+ * Omit specific fields from the BugComment
1619
+ */
1620
+ omit?: Prisma.BugCommentOmit<ExtArgs> | null
1621
+ /**
1622
+ * Choose, which related nodes to fetch as well
1623
+ */
1624
+ include?: Prisma.BugCommentInclude<ExtArgs> | null
1625
+ /**
1626
+ * Filter, which BugComment to fetch.
1627
+ */
1628
+ where?: Prisma.BugCommentWhereInput
1629
+ /**
1630
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1631
+ *
1632
+ * Determine the order of BugComments to fetch.
1633
+ */
1634
+ orderBy?: Prisma.BugCommentOrderByWithRelationInput | Prisma.BugCommentOrderByWithRelationInput[]
1635
+ /**
1636
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1637
+ *
1638
+ * Sets the position for searching for BugComments.
1639
+ */
1640
+ cursor?: Prisma.BugCommentWhereUniqueInput
1641
+ /**
1642
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1643
+ *
1644
+ * Take `±n` BugComments from the position of the cursor.
1645
+ */
1646
+ take?: number
1647
+ /**
1648
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1649
+ *
1650
+ * Skip the first `n` BugComments.
1651
+ */
1652
+ skip?: number
1653
+ /**
1654
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1655
+ *
1656
+ * Filter by unique combinations of BugComments.
1657
+ */
1658
+ distinct?: Prisma.BugCommentScalarFieldEnum | Prisma.BugCommentScalarFieldEnum[]
1659
+ }
1660
+
1661
+ /**
1662
+ * BugComment findMany
1663
+ */
1664
+ export type BugCommentFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1665
+ /**
1666
+ * Select specific fields to fetch from the BugComment
1667
+ */
1668
+ select?: Prisma.BugCommentSelect<ExtArgs> | null
1669
+ /**
1670
+ * Omit specific fields from the BugComment
1671
+ */
1672
+ omit?: Prisma.BugCommentOmit<ExtArgs> | null
1673
+ /**
1674
+ * Choose, which related nodes to fetch as well
1675
+ */
1676
+ include?: Prisma.BugCommentInclude<ExtArgs> | null
1677
+ /**
1678
+ * Filter, which BugComments to fetch.
1679
+ */
1680
+ where?: Prisma.BugCommentWhereInput
1681
+ /**
1682
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1683
+ *
1684
+ * Determine the order of BugComments to fetch.
1685
+ */
1686
+ orderBy?: Prisma.BugCommentOrderByWithRelationInput | Prisma.BugCommentOrderByWithRelationInput[]
1687
+ /**
1688
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1689
+ *
1690
+ * Sets the position for listing BugComments.
1691
+ */
1692
+ cursor?: Prisma.BugCommentWhereUniqueInput
1693
+ /**
1694
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1695
+ *
1696
+ * Take `±n` BugComments from the position of the cursor.
1697
+ */
1698
+ take?: number
1699
+ /**
1700
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1701
+ *
1702
+ * Skip the first `n` BugComments.
1703
+ */
1704
+ skip?: number
1705
+ /**
1706
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1707
+ *
1708
+ * Filter by unique combinations of BugComments.
1709
+ */
1710
+ distinct?: Prisma.BugCommentScalarFieldEnum | Prisma.BugCommentScalarFieldEnum[]
1711
+ }
1712
+
1713
+ /**
1714
+ * BugComment create
1715
+ */
1716
+ export type BugCommentCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1717
+ /**
1718
+ * Select specific fields to fetch from the BugComment
1719
+ */
1720
+ select?: Prisma.BugCommentSelect<ExtArgs> | null
1721
+ /**
1722
+ * Omit specific fields from the BugComment
1723
+ */
1724
+ omit?: Prisma.BugCommentOmit<ExtArgs> | null
1725
+ /**
1726
+ * Choose, which related nodes to fetch as well
1727
+ */
1728
+ include?: Prisma.BugCommentInclude<ExtArgs> | null
1729
+ /**
1730
+ * The data needed to create a BugComment.
1731
+ */
1732
+ data: Prisma.XOR<Prisma.BugCommentCreateInput, Prisma.BugCommentUncheckedCreateInput>
1733
+ }
1734
+
1735
+ /**
1736
+ * BugComment createMany
1737
+ */
1738
+ export type BugCommentCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1739
+ /**
1740
+ * The data used to create many BugComments.
1741
+ */
1742
+ data: Prisma.BugCommentCreateManyInput | Prisma.BugCommentCreateManyInput[]
1743
+ skipDuplicates?: boolean
1744
+ }
1745
+
1746
+ /**
1747
+ * BugComment createManyAndReturn
1748
+ */
1749
+ export type BugCommentCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1750
+ /**
1751
+ * Select specific fields to fetch from the BugComment
1752
+ */
1753
+ select?: Prisma.BugCommentSelectCreateManyAndReturn<ExtArgs> | null
1754
+ /**
1755
+ * Omit specific fields from the BugComment
1756
+ */
1757
+ omit?: Prisma.BugCommentOmit<ExtArgs> | null
1758
+ /**
1759
+ * The data used to create many BugComments.
1760
+ */
1761
+ data: Prisma.BugCommentCreateManyInput | Prisma.BugCommentCreateManyInput[]
1762
+ skipDuplicates?: boolean
1763
+ /**
1764
+ * Choose, which related nodes to fetch as well
1765
+ */
1766
+ include?: Prisma.BugCommentIncludeCreateManyAndReturn<ExtArgs> | null
1767
+ }
1768
+
1769
+ /**
1770
+ * BugComment update
1771
+ */
1772
+ export type BugCommentUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1773
+ /**
1774
+ * Select specific fields to fetch from the BugComment
1775
+ */
1776
+ select?: Prisma.BugCommentSelect<ExtArgs> | null
1777
+ /**
1778
+ * Omit specific fields from the BugComment
1779
+ */
1780
+ omit?: Prisma.BugCommentOmit<ExtArgs> | null
1781
+ /**
1782
+ * Choose, which related nodes to fetch as well
1783
+ */
1784
+ include?: Prisma.BugCommentInclude<ExtArgs> | null
1785
+ /**
1786
+ * The data needed to update a BugComment.
1787
+ */
1788
+ data: Prisma.XOR<Prisma.BugCommentUpdateInput, Prisma.BugCommentUncheckedUpdateInput>
1789
+ /**
1790
+ * Choose, which BugComment to update.
1791
+ */
1792
+ where: Prisma.BugCommentWhereUniqueInput
1793
+ }
1794
+
1795
+ /**
1796
+ * BugComment updateMany
1797
+ */
1798
+ export type BugCommentUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1799
+ /**
1800
+ * The data used to update BugComments.
1801
+ */
1802
+ data: Prisma.XOR<Prisma.BugCommentUpdateManyMutationInput, Prisma.BugCommentUncheckedUpdateManyInput>
1803
+ /**
1804
+ * Filter which BugComments to update
1805
+ */
1806
+ where?: Prisma.BugCommentWhereInput
1807
+ /**
1808
+ * Limit how many BugComments to update.
1809
+ */
1810
+ limit?: number
1811
+ }
1812
+
1813
+ /**
1814
+ * BugComment updateManyAndReturn
1815
+ */
1816
+ export type BugCommentUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1817
+ /**
1818
+ * Select specific fields to fetch from the BugComment
1819
+ */
1820
+ select?: Prisma.BugCommentSelectUpdateManyAndReturn<ExtArgs> | null
1821
+ /**
1822
+ * Omit specific fields from the BugComment
1823
+ */
1824
+ omit?: Prisma.BugCommentOmit<ExtArgs> | null
1825
+ /**
1826
+ * The data used to update BugComments.
1827
+ */
1828
+ data: Prisma.XOR<Prisma.BugCommentUpdateManyMutationInput, Prisma.BugCommentUncheckedUpdateManyInput>
1829
+ /**
1830
+ * Filter which BugComments to update
1831
+ */
1832
+ where?: Prisma.BugCommentWhereInput
1833
+ /**
1834
+ * Limit how many BugComments to update.
1835
+ */
1836
+ limit?: number
1837
+ /**
1838
+ * Choose, which related nodes to fetch as well
1839
+ */
1840
+ include?: Prisma.BugCommentIncludeUpdateManyAndReturn<ExtArgs> | null
1841
+ }
1842
+
1843
+ /**
1844
+ * BugComment upsert
1845
+ */
1846
+ export type BugCommentUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1847
+ /**
1848
+ * Select specific fields to fetch from the BugComment
1849
+ */
1850
+ select?: Prisma.BugCommentSelect<ExtArgs> | null
1851
+ /**
1852
+ * Omit specific fields from the BugComment
1853
+ */
1854
+ omit?: Prisma.BugCommentOmit<ExtArgs> | null
1855
+ /**
1856
+ * Choose, which related nodes to fetch as well
1857
+ */
1858
+ include?: Prisma.BugCommentInclude<ExtArgs> | null
1859
+ /**
1860
+ * The filter to search for the BugComment to update in case it exists.
1861
+ */
1862
+ where: Prisma.BugCommentWhereUniqueInput
1863
+ /**
1864
+ * In case the BugComment found by the `where` argument doesn't exist, create a new BugComment with this data.
1865
+ */
1866
+ create: Prisma.XOR<Prisma.BugCommentCreateInput, Prisma.BugCommentUncheckedCreateInput>
1867
+ /**
1868
+ * In case the BugComment was found with the provided `where` argument, update it with this data.
1869
+ */
1870
+ update: Prisma.XOR<Prisma.BugCommentUpdateInput, Prisma.BugCommentUncheckedUpdateInput>
1871
+ }
1872
+
1873
+ /**
1874
+ * BugComment delete
1875
+ */
1876
+ export type BugCommentDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1877
+ /**
1878
+ * Select specific fields to fetch from the BugComment
1879
+ */
1880
+ select?: Prisma.BugCommentSelect<ExtArgs> | null
1881
+ /**
1882
+ * Omit specific fields from the BugComment
1883
+ */
1884
+ omit?: Prisma.BugCommentOmit<ExtArgs> | null
1885
+ /**
1886
+ * Choose, which related nodes to fetch as well
1887
+ */
1888
+ include?: Prisma.BugCommentInclude<ExtArgs> | null
1889
+ /**
1890
+ * Filter which BugComment to delete.
1891
+ */
1892
+ where: Prisma.BugCommentWhereUniqueInput
1893
+ }
1894
+
1895
+ /**
1896
+ * BugComment deleteMany
1897
+ */
1898
+ export type BugCommentDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1899
+ /**
1900
+ * Filter which BugComments to delete
1901
+ */
1902
+ where?: Prisma.BugCommentWhereInput
1903
+ /**
1904
+ * Limit how many BugComments to delete.
1905
+ */
1906
+ limit?: number
1907
+ }
1908
+
1909
+ /**
1910
+ * BugComment.parent
1911
+ */
1912
+ export type BugComment$parentArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1913
+ /**
1914
+ * Select specific fields to fetch from the BugComment
1915
+ */
1916
+ select?: Prisma.BugCommentSelect<ExtArgs> | null
1917
+ /**
1918
+ * Omit specific fields from the BugComment
1919
+ */
1920
+ omit?: Prisma.BugCommentOmit<ExtArgs> | null
1921
+ /**
1922
+ * Choose, which related nodes to fetch as well
1923
+ */
1924
+ include?: Prisma.BugCommentInclude<ExtArgs> | null
1925
+ where?: Prisma.BugCommentWhereInput
1926
+ }
1927
+
1928
+ /**
1929
+ * BugComment.replies
1930
+ */
1931
+ export type BugComment$repliesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1932
+ /**
1933
+ * Select specific fields to fetch from the BugComment
1934
+ */
1935
+ select?: Prisma.BugCommentSelect<ExtArgs> | null
1936
+ /**
1937
+ * Omit specific fields from the BugComment
1938
+ */
1939
+ omit?: Prisma.BugCommentOmit<ExtArgs> | null
1940
+ /**
1941
+ * Choose, which related nodes to fetch as well
1942
+ */
1943
+ include?: Prisma.BugCommentInclude<ExtArgs> | null
1944
+ where?: Prisma.BugCommentWhereInput
1945
+ orderBy?: Prisma.BugCommentOrderByWithRelationInput | Prisma.BugCommentOrderByWithRelationInput[]
1946
+ cursor?: Prisma.BugCommentWhereUniqueInput
1947
+ take?: number
1948
+ skip?: number
1949
+ distinct?: Prisma.BugCommentScalarFieldEnum | Prisma.BugCommentScalarFieldEnum[]
1950
+ }
1951
+
1952
+ /**
1953
+ * BugComment.reactions
1954
+ */
1955
+ export type BugComment$reactionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1956
+ /**
1957
+ * Select specific fields to fetch from the BugCommentReaction
1958
+ */
1959
+ select?: Prisma.BugCommentReactionSelect<ExtArgs> | null
1960
+ /**
1961
+ * Omit specific fields from the BugCommentReaction
1962
+ */
1963
+ omit?: Prisma.BugCommentReactionOmit<ExtArgs> | null
1964
+ /**
1965
+ * Choose, which related nodes to fetch as well
1966
+ */
1967
+ include?: Prisma.BugCommentReactionInclude<ExtArgs> | null
1968
+ where?: Prisma.BugCommentReactionWhereInput
1969
+ orderBy?: Prisma.BugCommentReactionOrderByWithRelationInput | Prisma.BugCommentReactionOrderByWithRelationInput[]
1970
+ cursor?: Prisma.BugCommentReactionWhereUniqueInput
1971
+ take?: number
1972
+ skip?: number
1973
+ distinct?: Prisma.BugCommentReactionScalarFieldEnum | Prisma.BugCommentReactionScalarFieldEnum[]
1974
+ }
1975
+
1976
+ /**
1977
+ * BugComment without action
1978
+ */
1979
+ export type BugCommentDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1980
+ /**
1981
+ * Select specific fields to fetch from the BugComment
1982
+ */
1983
+ select?: Prisma.BugCommentSelect<ExtArgs> | null
1984
+ /**
1985
+ * Omit specific fields from the BugComment
1986
+ */
1987
+ omit?: Prisma.BugCommentOmit<ExtArgs> | null
1988
+ /**
1989
+ * Choose, which related nodes to fetch as well
1990
+ */
1991
+ include?: Prisma.BugCommentInclude<ExtArgs> | null
1992
+ }