@allbluecn/database 0.4.0 → 0.4.1

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