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