@allbluecn/database 0.3.14 → 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.
- package/desktop-init.ts +128 -0
- package/generated/browser.ts +494 -0
- package/generated/client.ts +518 -0
- package/generated/commonInputTypes.ts +1056 -0
- package/generated/enums.ts +93 -0
- package/generated/internal/class.ts +1144 -0
- package/generated/internal/prismaNamespace.ts +9603 -0
- package/generated/internal/prismaNamespaceBrowser.ts +1695 -0
- package/generated/models/Account.ts +1648 -0
- package/generated/models/AgentConversation.ts +1651 -0
- package/generated/models/AgentMessage.ts +1409 -0
- package/generated/models/AiProvider.ts +1607 -0
- package/generated/models/AiProviderConfig.ts +1514 -0
- package/generated/models/AiUsageLog.ts +1863 -0
- package/generated/models/AnyHubApp.ts +1911 -0
- package/generated/models/AnyHubMarketApp.ts +2008 -0
- package/generated/models/AnyHubPermission.ts +1422 -0
- package/generated/models/AnyHubRecommendation.ts +1870 -0
- package/generated/models/AnyHubRecommender.ts +1471 -0
- package/generated/models/Artboard.ts +1811 -0
- package/generated/models/ArtboardExport.ts +1548 -0
- package/generated/models/ArticleFavorite.ts +1352 -0
- package/generated/models/AuditLog.ts +1533 -0
- package/generated/models/Block.ts +1650 -0
- package/generated/models/BlockComponent.ts +1734 -0
- package/generated/models/BlockInstance.ts +2043 -0
- package/generated/models/BookmarkCategory.ts +1670 -0
- package/generated/models/ChatInterrupt.ts +1699 -0
- package/generated/models/ChatMessage.ts +1438 -0
- package/generated/models/ChatRun.ts +1632 -0
- package/generated/models/ChatThread.ts +2133 -0
- package/generated/models/Comment.ts +2206 -0
- package/generated/models/CommentIgnore.ts +1430 -0
- package/generated/models/CommentReaction.ts +1472 -0
- package/generated/models/ComplianceExport.ts +1345 -0
- package/generated/models/Component.ts +2345 -0
- package/generated/models/ComponentInstance.ts +2102 -0
- package/generated/models/ComponentTag.ts +1281 -0
- package/generated/models/CustomRole.ts +1560 -0
- package/generated/models/DesignProject.ts +1643 -0
- package/generated/models/DictionaryTerm.ts +1642 -0
- package/generated/models/GenerationRun.ts +1543 -0
- package/generated/models/IndustryCompliance.ts +1797 -0
- package/generated/models/InvitationCode.ts +1417 -0
- package/generated/models/InvitationUse.ts +1424 -0
- package/generated/models/Invoice.ts +1710 -0
- package/generated/models/KnowledgeBase.ts +1671 -0
- package/generated/models/KnowledgeDocument.ts +2458 -0
- package/generated/models/KnowledgeShareRecord.ts +1352 -0
- package/generated/models/Label.ts +1482 -0
- package/generated/models/LegalRegulation.ts +1873 -0
- package/generated/models/LicenseActivation.ts +1415 -0
- package/generated/models/LicenseKey.ts +1884 -0
- package/generated/models/LoginLog.ts +1450 -0
- package/generated/models/MonitoringErrorReport.ts +1299 -0
- package/generated/models/MonitoringHealthSnapshot.ts +1249 -0
- package/generated/models/MonitoringMetricsSnapshot.ts +1369 -0
- package/generated/models/MonitoringRequestLog.ts +1283 -0
- package/generated/models/PRD.ts +2805 -0
- package/generated/models/PRDPage.ts +2402 -0
- package/generated/models/PRDTag.ts +1430 -0
- package/generated/models/PRDVersion.ts +2121 -0
- package/generated/models/PageVersion.ts +1523 -0
- package/generated/models/PasswordResetToken.ts +1380 -0
- package/generated/models/Plan.ts +2069 -0
- package/generated/models/Project.ts +2148 -0
- package/generated/models/ProjectActivity.ts +1582 -0
- package/generated/models/ProjectMember.ts +1512 -0
- package/generated/models/ProviderEvent.ts +1227 -0
- package/generated/models/Reference.ts +1177 -0
- package/generated/models/Review.ts +1912 -0
- package/generated/models/ReviewComment.ts +1904 -0
- package/generated/models/RoleAssignment.ts +1430 -0
- package/generated/models/SequenceCounter.ts +1137 -0
- package/generated/models/Share.ts +1681 -0
- package/generated/models/ShareVersion.ts +1389 -0
- package/generated/models/SsoMapping.ts +1512 -0
- package/generated/models/SsoProvider.ts +1639 -0
- package/generated/models/Story.ts +5234 -0
- package/generated/models/StoryActivity.ts +1664 -0
- package/generated/models/StoryAttachment.ts +1467 -0
- package/generated/models/StoryComment.ts +1992 -0
- package/generated/models/StoryDependency.ts +1517 -0
- package/generated/models/StoryDocLink.ts +1430 -0
- package/generated/models/StoryFilterView.ts +1587 -0
- package/generated/models/StoryLabel.ts +1349 -0
- package/generated/models/StoryLink.ts +1415 -0
- package/generated/models/StoryPrdLink.ts +1430 -0
- package/generated/models/StoryReaction.ts +1472 -0
- package/generated/models/Subscription.ts +2147 -0
- package/generated/models/SystemSetting.ts +1217 -0
- package/generated/models/Tag.ts +1655 -0
- package/generated/models/TeamInvitation.ts +1526 -0
- package/generated/models/TeamMembership.ts +1436 -0
- package/generated/models/Template.ts +1391 -0
- package/generated/models/TemplateBlock.ts +1664 -0
- package/generated/models/ThirdPartyDependency.ts +1473 -0
- package/generated/models/UsageRecord.ts +1505 -0
- package/generated/models/User.ts +20998 -0
- package/generated/models/UserAgent.ts +1900 -0
- package/generated/models/UserSkill.ts +1456 -0
- package/generated/models/WebsiteBookmark.ts +2219 -0
- package/generated/models/Workspace.ts +2279 -0
- package/generated/models.ts +106 -0
- package/generated-sqlite/browser.ts +399 -0
- package/generated-sqlite/client.ts +423 -0
- package/generated-sqlite/commonInputTypes.ts +608 -0
- package/generated-sqlite/enums.ts +15 -0
- package/generated-sqlite/internal/class.ts +954 -0
- package/generated-sqlite/internal/prismaNamespace.ts +7716 -0
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +1415 -0
- package/generated-sqlite/models/AgentConversation.ts +1647 -0
- package/generated-sqlite/models/AgentMessage.ts +1406 -0
- package/generated-sqlite/models/AiProvider.ts +1605 -0
- package/generated-sqlite/models/AiProviderConfig.ts +1511 -0
- package/generated-sqlite/models/AiUsageLog.ts +1845 -0
- package/generated-sqlite/models/AnyHubApp.ts +1908 -0
- package/generated-sqlite/models/AnyHubMarketApp.ts +1997 -0
- package/generated-sqlite/models/AnyHubPermission.ts +1419 -0
- package/generated-sqlite/models/AnyHubRecommendation.ts +1867 -0
- package/generated-sqlite/models/AnyHubRecommender.ts +1467 -0
- package/generated-sqlite/models/Artboard.ts +1808 -0
- package/generated-sqlite/models/ArtboardExport.ts +1545 -0
- package/generated-sqlite/models/ArticleFavorite.ts +1349 -0
- package/generated-sqlite/models/AuditLog.ts +1287 -0
- package/generated-sqlite/models/Block.ts +1648 -0
- package/generated-sqlite/models/BlockComponent.ts +1730 -0
- package/generated-sqlite/models/BlockInstance.ts +2039 -0
- package/generated-sqlite/models/BookmarkCategory.ts +1667 -0
- package/generated-sqlite/models/ChatInterrupt.ts +1695 -0
- package/generated-sqlite/models/ChatMessage.ts +1435 -0
- package/generated-sqlite/models/ChatRun.ts +1629 -0
- package/generated-sqlite/models/ChatThread.ts +2129 -0
- package/generated-sqlite/models/Comment.ts +2201 -0
- package/generated-sqlite/models/CommentIgnore.ts +1426 -0
- package/generated-sqlite/models/ComplianceExport.ts +1343 -0
- package/generated-sqlite/models/Component.ts +2326 -0
- package/generated-sqlite/models/ComponentInstance.ts +2097 -0
- package/generated-sqlite/models/ComponentTag.ts +1278 -0
- package/generated-sqlite/models/CustomRole.ts +1209 -0
- package/generated-sqlite/models/DesignProject.ts +1640 -0
- package/generated-sqlite/models/DictionaryTerm.ts +1639 -0
- package/generated-sqlite/models/GenerationRun.ts +1540 -0
- package/generated-sqlite/models/IndustryCompliance.ts +1794 -0
- package/generated-sqlite/models/InvitationCode.ts +1415 -0
- package/generated-sqlite/models/InvitationUse.ts +1420 -0
- package/generated-sqlite/models/Invoice.ts +1707 -0
- package/generated-sqlite/models/KnowledgeBase.ts +1668 -0
- package/generated-sqlite/models/KnowledgeDocument.ts +2282 -0
- package/generated-sqlite/models/KnowledgeShareRecord.ts +1349 -0
- package/generated-sqlite/models/LegalRegulation.ts +1870 -0
- package/generated-sqlite/models/LicenseActivation.ts +1203 -0
- package/generated-sqlite/models/LicenseKey.ts +1443 -0
- package/generated-sqlite/models/LoginLog.ts +1447 -0
- package/generated-sqlite/models/PRD.ts +2616 -0
- package/generated-sqlite/models/PRDPage.ts +2398 -0
- package/generated-sqlite/models/PRDTag.ts +1426 -0
- package/generated-sqlite/models/PRDVersion.ts +2117 -0
- package/generated-sqlite/models/PageVersion.ts +1528 -0
- package/generated-sqlite/models/PasswordResetToken.ts +1377 -0
- package/generated-sqlite/models/Plan.ts +2060 -0
- package/generated-sqlite/models/Project.ts +1994 -0
- package/generated-sqlite/models/ProjectActivity.ts +1578 -0
- package/generated-sqlite/models/ProjectMember.ts +1508 -0
- package/generated-sqlite/models/ProviderEvent.ts +1225 -0
- package/generated-sqlite/models/Reference.ts +1175 -0
- package/generated-sqlite/models/Review.ts +1903 -0
- package/generated-sqlite/models/ReviewComment.ts +1899 -0
- package/generated-sqlite/models/RoleAssignment.ts +1125 -0
- package/generated-sqlite/models/Share.ts +1674 -0
- package/generated-sqlite/models/ShareVersion.ts +1385 -0
- package/generated-sqlite/models/SsoMapping.ts +1181 -0
- package/generated-sqlite/models/SsoProvider.ts +1266 -0
- package/generated-sqlite/models/Subscription.ts +2137 -0
- package/generated-sqlite/models/SystemSetting.ts +1215 -0
- package/generated-sqlite/models/Tag.ts +1652 -0
- package/generated-sqlite/models/TeamInvitation.ts +1523 -0
- package/generated-sqlite/models/TeamMembership.ts +1433 -0
- package/generated-sqlite/models/Template.ts +1389 -0
- package/generated-sqlite/models/TemplateBlock.ts +1660 -0
- package/generated-sqlite/models/ThirdPartyDependency.ts +1471 -0
- package/generated-sqlite/models/UsageRecord.ts +1498 -0
- package/generated-sqlite/models/User.ts +13558 -0
- package/generated-sqlite/models/UserAgent.ts +1897 -0
- package/generated-sqlite/models/UserSkill.ts +1453 -0
- package/generated-sqlite/models/WebsiteBookmark.ts +2215 -0
- package/generated-sqlite/models/Workspace.ts +1824 -0
- package/generated-sqlite/models.ts +87 -0
- package/package.json +7 -3
- package/LICENSE +0 -661
|
@@ -0,0 +1,1472 @@
|
|
|
1
|
+
|
|
2
|
+
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// biome-ignore-all lint: generated file
|
|
5
|
+
// @ts-nocheck
|
|
6
|
+
/*
|
|
7
|
+
* This file exports the `CommentReaction` 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 CommentReaction
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type CommentReactionModel = runtime.Types.Result.DefaultSelection<Prisma.$CommentReactionPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateCommentReaction = {
|
|
22
|
+
_count: CommentReactionCountAggregateOutputType | null
|
|
23
|
+
_min: CommentReactionMinAggregateOutputType | null
|
|
24
|
+
_max: CommentReactionMaxAggregateOutputType | null
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type CommentReactionMinAggregateOutputType = {
|
|
28
|
+
id: string | null
|
|
29
|
+
commentId: string | null
|
|
30
|
+
userId: string | null
|
|
31
|
+
emoji: string | null
|
|
32
|
+
createdAt: Date | null
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export type CommentReactionMaxAggregateOutputType = {
|
|
36
|
+
id: string | null
|
|
37
|
+
commentId: string | null
|
|
38
|
+
userId: string | null
|
|
39
|
+
emoji: string | null
|
|
40
|
+
createdAt: Date | null
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export type CommentReactionCountAggregateOutputType = {
|
|
44
|
+
id: number
|
|
45
|
+
commentId: number
|
|
46
|
+
userId: number
|
|
47
|
+
emoji: number
|
|
48
|
+
createdAt: number
|
|
49
|
+
_all: number
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
export type CommentReactionMinAggregateInputType = {
|
|
54
|
+
id?: true
|
|
55
|
+
commentId?: true
|
|
56
|
+
userId?: true
|
|
57
|
+
emoji?: true
|
|
58
|
+
createdAt?: true
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export type CommentReactionMaxAggregateInputType = {
|
|
62
|
+
id?: true
|
|
63
|
+
commentId?: true
|
|
64
|
+
userId?: true
|
|
65
|
+
emoji?: true
|
|
66
|
+
createdAt?: true
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export type CommentReactionCountAggregateInputType = {
|
|
70
|
+
id?: true
|
|
71
|
+
commentId?: true
|
|
72
|
+
userId?: true
|
|
73
|
+
emoji?: true
|
|
74
|
+
createdAt?: true
|
|
75
|
+
_all?: true
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export type CommentReactionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
79
|
+
/**
|
|
80
|
+
* Filter which CommentReaction to aggregate.
|
|
81
|
+
*/
|
|
82
|
+
where?: Prisma.CommentReactionWhereInput
|
|
83
|
+
/**
|
|
84
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
85
|
+
*
|
|
86
|
+
* Determine the order of CommentReactions to fetch.
|
|
87
|
+
*/
|
|
88
|
+
orderBy?: Prisma.CommentReactionOrderByWithRelationInput | Prisma.CommentReactionOrderByWithRelationInput[]
|
|
89
|
+
/**
|
|
90
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
91
|
+
*
|
|
92
|
+
* Sets the start position
|
|
93
|
+
*/
|
|
94
|
+
cursor?: Prisma.CommentReactionWhereUniqueInput
|
|
95
|
+
/**
|
|
96
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
97
|
+
*
|
|
98
|
+
* Take `±n` CommentReactions from the position of the cursor.
|
|
99
|
+
*/
|
|
100
|
+
take?: number
|
|
101
|
+
/**
|
|
102
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
103
|
+
*
|
|
104
|
+
* Skip the first `n` CommentReactions.
|
|
105
|
+
*/
|
|
106
|
+
skip?: number
|
|
107
|
+
/**
|
|
108
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
109
|
+
*
|
|
110
|
+
* Count returned CommentReactions
|
|
111
|
+
**/
|
|
112
|
+
_count?: true | CommentReactionCountAggregateInputType
|
|
113
|
+
/**
|
|
114
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
115
|
+
*
|
|
116
|
+
* Select which fields to find the minimum value
|
|
117
|
+
**/
|
|
118
|
+
_min?: CommentReactionMinAggregateInputType
|
|
119
|
+
/**
|
|
120
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
121
|
+
*
|
|
122
|
+
* Select which fields to find the maximum value
|
|
123
|
+
**/
|
|
124
|
+
_max?: CommentReactionMaxAggregateInputType
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export type GetCommentReactionAggregateType<T extends CommentReactionAggregateArgs> = {
|
|
128
|
+
[P in keyof T & keyof AggregateCommentReaction]: P extends '_count' | 'count'
|
|
129
|
+
? T[P] extends true
|
|
130
|
+
? number
|
|
131
|
+
: Prisma.GetScalarType<T[P], AggregateCommentReaction[P]>
|
|
132
|
+
: Prisma.GetScalarType<T[P], AggregateCommentReaction[P]>
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
export type CommentReactionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
139
|
+
where?: Prisma.CommentReactionWhereInput
|
|
140
|
+
orderBy?: Prisma.CommentReactionOrderByWithAggregationInput | Prisma.CommentReactionOrderByWithAggregationInput[]
|
|
141
|
+
by: Prisma.CommentReactionScalarFieldEnum[] | Prisma.CommentReactionScalarFieldEnum
|
|
142
|
+
having?: Prisma.CommentReactionScalarWhereWithAggregatesInput
|
|
143
|
+
take?: number
|
|
144
|
+
skip?: number
|
|
145
|
+
_count?: CommentReactionCountAggregateInputType | true
|
|
146
|
+
_min?: CommentReactionMinAggregateInputType
|
|
147
|
+
_max?: CommentReactionMaxAggregateInputType
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export type CommentReactionGroupByOutputType = {
|
|
151
|
+
id: string
|
|
152
|
+
commentId: string
|
|
153
|
+
userId: string
|
|
154
|
+
emoji: string
|
|
155
|
+
createdAt: Date
|
|
156
|
+
_count: CommentReactionCountAggregateOutputType | null
|
|
157
|
+
_min: CommentReactionMinAggregateOutputType | null
|
|
158
|
+
_max: CommentReactionMaxAggregateOutputType | null
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
export type GetCommentReactionGroupByPayload<T extends CommentReactionGroupByArgs> = Prisma.PrismaPromise<
|
|
162
|
+
Array<
|
|
163
|
+
Prisma.PickEnumerable<CommentReactionGroupByOutputType, T['by']> &
|
|
164
|
+
{
|
|
165
|
+
[P in ((keyof T) & (keyof CommentReactionGroupByOutputType))]: P extends '_count'
|
|
166
|
+
? T[P] extends boolean
|
|
167
|
+
? number
|
|
168
|
+
: Prisma.GetScalarType<T[P], CommentReactionGroupByOutputType[P]>
|
|
169
|
+
: Prisma.GetScalarType<T[P], CommentReactionGroupByOutputType[P]>
|
|
170
|
+
}
|
|
171
|
+
>
|
|
172
|
+
>
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
export type CommentReactionWhereInput = {
|
|
177
|
+
AND?: Prisma.CommentReactionWhereInput | Prisma.CommentReactionWhereInput[]
|
|
178
|
+
OR?: Prisma.CommentReactionWhereInput[]
|
|
179
|
+
NOT?: Prisma.CommentReactionWhereInput | Prisma.CommentReactionWhereInput[]
|
|
180
|
+
id?: Prisma.StringFilter<"CommentReaction"> | string
|
|
181
|
+
commentId?: Prisma.StringFilter<"CommentReaction"> | string
|
|
182
|
+
userId?: Prisma.StringFilter<"CommentReaction"> | string
|
|
183
|
+
emoji?: Prisma.StringFilter<"CommentReaction"> | string
|
|
184
|
+
createdAt?: Prisma.DateTimeFilter<"CommentReaction"> | Date | string
|
|
185
|
+
comment?: Prisma.XOR<Prisma.StoryCommentScalarRelationFilter, Prisma.StoryCommentWhereInput>
|
|
186
|
+
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
export type CommentReactionOrderByWithRelationInput = {
|
|
190
|
+
id?: Prisma.SortOrder
|
|
191
|
+
commentId?: Prisma.SortOrder
|
|
192
|
+
userId?: Prisma.SortOrder
|
|
193
|
+
emoji?: Prisma.SortOrder
|
|
194
|
+
createdAt?: Prisma.SortOrder
|
|
195
|
+
comment?: Prisma.StoryCommentOrderByWithRelationInput
|
|
196
|
+
user?: Prisma.UserOrderByWithRelationInput
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
export type CommentReactionWhereUniqueInput = Prisma.AtLeast<{
|
|
200
|
+
id?: string
|
|
201
|
+
commentId_userId_emoji?: Prisma.CommentReactionCommentIdUserIdEmojiCompoundUniqueInput
|
|
202
|
+
AND?: Prisma.CommentReactionWhereInput | Prisma.CommentReactionWhereInput[]
|
|
203
|
+
OR?: Prisma.CommentReactionWhereInput[]
|
|
204
|
+
NOT?: Prisma.CommentReactionWhereInput | Prisma.CommentReactionWhereInput[]
|
|
205
|
+
commentId?: Prisma.StringFilter<"CommentReaction"> | string
|
|
206
|
+
userId?: Prisma.StringFilter<"CommentReaction"> | string
|
|
207
|
+
emoji?: Prisma.StringFilter<"CommentReaction"> | string
|
|
208
|
+
createdAt?: Prisma.DateTimeFilter<"CommentReaction"> | Date | string
|
|
209
|
+
comment?: Prisma.XOR<Prisma.StoryCommentScalarRelationFilter, Prisma.StoryCommentWhereInput>
|
|
210
|
+
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
|
|
211
|
+
}, "id" | "commentId_userId_emoji">
|
|
212
|
+
|
|
213
|
+
export type CommentReactionOrderByWithAggregationInput = {
|
|
214
|
+
id?: Prisma.SortOrder
|
|
215
|
+
commentId?: Prisma.SortOrder
|
|
216
|
+
userId?: Prisma.SortOrder
|
|
217
|
+
emoji?: Prisma.SortOrder
|
|
218
|
+
createdAt?: Prisma.SortOrder
|
|
219
|
+
_count?: Prisma.CommentReactionCountOrderByAggregateInput
|
|
220
|
+
_max?: Prisma.CommentReactionMaxOrderByAggregateInput
|
|
221
|
+
_min?: Prisma.CommentReactionMinOrderByAggregateInput
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export type CommentReactionScalarWhereWithAggregatesInput = {
|
|
225
|
+
AND?: Prisma.CommentReactionScalarWhereWithAggregatesInput | Prisma.CommentReactionScalarWhereWithAggregatesInput[]
|
|
226
|
+
OR?: Prisma.CommentReactionScalarWhereWithAggregatesInput[]
|
|
227
|
+
NOT?: Prisma.CommentReactionScalarWhereWithAggregatesInput | Prisma.CommentReactionScalarWhereWithAggregatesInput[]
|
|
228
|
+
id?: Prisma.StringWithAggregatesFilter<"CommentReaction"> | string
|
|
229
|
+
commentId?: Prisma.StringWithAggregatesFilter<"CommentReaction"> | string
|
|
230
|
+
userId?: Prisma.StringWithAggregatesFilter<"CommentReaction"> | string
|
|
231
|
+
emoji?: Prisma.StringWithAggregatesFilter<"CommentReaction"> | string
|
|
232
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"CommentReaction"> | Date | string
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
export type CommentReactionCreateInput = {
|
|
236
|
+
id?: string
|
|
237
|
+
emoji: string
|
|
238
|
+
createdAt?: Date | string
|
|
239
|
+
comment: Prisma.StoryCommentCreateNestedOneWithoutReactionsInput
|
|
240
|
+
user: Prisma.UserCreateNestedOneWithoutCommentReactionsInput
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
export type CommentReactionUncheckedCreateInput = {
|
|
244
|
+
id?: string
|
|
245
|
+
commentId: string
|
|
246
|
+
userId: string
|
|
247
|
+
emoji: string
|
|
248
|
+
createdAt?: Date | string
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
export type CommentReactionUpdateInput = {
|
|
252
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
253
|
+
emoji?: Prisma.StringFieldUpdateOperationsInput | string
|
|
254
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
255
|
+
comment?: Prisma.StoryCommentUpdateOneRequiredWithoutReactionsNestedInput
|
|
256
|
+
user?: Prisma.UserUpdateOneRequiredWithoutCommentReactionsNestedInput
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
export type CommentReactionUncheckedUpdateInput = {
|
|
260
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
261
|
+
commentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
262
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
263
|
+
emoji?: Prisma.StringFieldUpdateOperationsInput | string
|
|
264
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
export type CommentReactionCreateManyInput = {
|
|
268
|
+
id?: string
|
|
269
|
+
commentId: string
|
|
270
|
+
userId: string
|
|
271
|
+
emoji: string
|
|
272
|
+
createdAt?: Date | string
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
export type CommentReactionUpdateManyMutationInput = {
|
|
276
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
277
|
+
emoji?: Prisma.StringFieldUpdateOperationsInput | string
|
|
278
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
export type CommentReactionUncheckedUpdateManyInput = {
|
|
282
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
283
|
+
commentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
284
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
285
|
+
emoji?: Prisma.StringFieldUpdateOperationsInput | string
|
|
286
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
export type CommentReactionListRelationFilter = {
|
|
290
|
+
every?: Prisma.CommentReactionWhereInput
|
|
291
|
+
some?: Prisma.CommentReactionWhereInput
|
|
292
|
+
none?: Prisma.CommentReactionWhereInput
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
export type CommentReactionOrderByRelationAggregateInput = {
|
|
296
|
+
_count?: Prisma.SortOrder
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
export type CommentReactionCommentIdUserIdEmojiCompoundUniqueInput = {
|
|
300
|
+
commentId: string
|
|
301
|
+
userId: string
|
|
302
|
+
emoji: string
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
export type CommentReactionCountOrderByAggregateInput = {
|
|
306
|
+
id?: Prisma.SortOrder
|
|
307
|
+
commentId?: Prisma.SortOrder
|
|
308
|
+
userId?: Prisma.SortOrder
|
|
309
|
+
emoji?: Prisma.SortOrder
|
|
310
|
+
createdAt?: Prisma.SortOrder
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
export type CommentReactionMaxOrderByAggregateInput = {
|
|
314
|
+
id?: Prisma.SortOrder
|
|
315
|
+
commentId?: Prisma.SortOrder
|
|
316
|
+
userId?: Prisma.SortOrder
|
|
317
|
+
emoji?: Prisma.SortOrder
|
|
318
|
+
createdAt?: Prisma.SortOrder
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
export type CommentReactionMinOrderByAggregateInput = {
|
|
322
|
+
id?: Prisma.SortOrder
|
|
323
|
+
commentId?: Prisma.SortOrder
|
|
324
|
+
userId?: Prisma.SortOrder
|
|
325
|
+
emoji?: Prisma.SortOrder
|
|
326
|
+
createdAt?: Prisma.SortOrder
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
export type CommentReactionCreateNestedManyWithoutUserInput = {
|
|
330
|
+
create?: Prisma.XOR<Prisma.CommentReactionCreateWithoutUserInput, Prisma.CommentReactionUncheckedCreateWithoutUserInput> | Prisma.CommentReactionCreateWithoutUserInput[] | Prisma.CommentReactionUncheckedCreateWithoutUserInput[]
|
|
331
|
+
connectOrCreate?: Prisma.CommentReactionCreateOrConnectWithoutUserInput | Prisma.CommentReactionCreateOrConnectWithoutUserInput[]
|
|
332
|
+
createMany?: Prisma.CommentReactionCreateManyUserInputEnvelope
|
|
333
|
+
connect?: Prisma.CommentReactionWhereUniqueInput | Prisma.CommentReactionWhereUniqueInput[]
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
export type CommentReactionUncheckedCreateNestedManyWithoutUserInput = {
|
|
337
|
+
create?: Prisma.XOR<Prisma.CommentReactionCreateWithoutUserInput, Prisma.CommentReactionUncheckedCreateWithoutUserInput> | Prisma.CommentReactionCreateWithoutUserInput[] | Prisma.CommentReactionUncheckedCreateWithoutUserInput[]
|
|
338
|
+
connectOrCreate?: Prisma.CommentReactionCreateOrConnectWithoutUserInput | Prisma.CommentReactionCreateOrConnectWithoutUserInput[]
|
|
339
|
+
createMany?: Prisma.CommentReactionCreateManyUserInputEnvelope
|
|
340
|
+
connect?: Prisma.CommentReactionWhereUniqueInput | Prisma.CommentReactionWhereUniqueInput[]
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
export type CommentReactionUpdateManyWithoutUserNestedInput = {
|
|
344
|
+
create?: Prisma.XOR<Prisma.CommentReactionCreateWithoutUserInput, Prisma.CommentReactionUncheckedCreateWithoutUserInput> | Prisma.CommentReactionCreateWithoutUserInput[] | Prisma.CommentReactionUncheckedCreateWithoutUserInput[]
|
|
345
|
+
connectOrCreate?: Prisma.CommentReactionCreateOrConnectWithoutUserInput | Prisma.CommentReactionCreateOrConnectWithoutUserInput[]
|
|
346
|
+
upsert?: Prisma.CommentReactionUpsertWithWhereUniqueWithoutUserInput | Prisma.CommentReactionUpsertWithWhereUniqueWithoutUserInput[]
|
|
347
|
+
createMany?: Prisma.CommentReactionCreateManyUserInputEnvelope
|
|
348
|
+
set?: Prisma.CommentReactionWhereUniqueInput | Prisma.CommentReactionWhereUniqueInput[]
|
|
349
|
+
disconnect?: Prisma.CommentReactionWhereUniqueInput | Prisma.CommentReactionWhereUniqueInput[]
|
|
350
|
+
delete?: Prisma.CommentReactionWhereUniqueInput | Prisma.CommentReactionWhereUniqueInput[]
|
|
351
|
+
connect?: Prisma.CommentReactionWhereUniqueInput | Prisma.CommentReactionWhereUniqueInput[]
|
|
352
|
+
update?: Prisma.CommentReactionUpdateWithWhereUniqueWithoutUserInput | Prisma.CommentReactionUpdateWithWhereUniqueWithoutUserInput[]
|
|
353
|
+
updateMany?: Prisma.CommentReactionUpdateManyWithWhereWithoutUserInput | Prisma.CommentReactionUpdateManyWithWhereWithoutUserInput[]
|
|
354
|
+
deleteMany?: Prisma.CommentReactionScalarWhereInput | Prisma.CommentReactionScalarWhereInput[]
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
export type CommentReactionUncheckedUpdateManyWithoutUserNestedInput = {
|
|
358
|
+
create?: Prisma.XOR<Prisma.CommentReactionCreateWithoutUserInput, Prisma.CommentReactionUncheckedCreateWithoutUserInput> | Prisma.CommentReactionCreateWithoutUserInput[] | Prisma.CommentReactionUncheckedCreateWithoutUserInput[]
|
|
359
|
+
connectOrCreate?: Prisma.CommentReactionCreateOrConnectWithoutUserInput | Prisma.CommentReactionCreateOrConnectWithoutUserInput[]
|
|
360
|
+
upsert?: Prisma.CommentReactionUpsertWithWhereUniqueWithoutUserInput | Prisma.CommentReactionUpsertWithWhereUniqueWithoutUserInput[]
|
|
361
|
+
createMany?: Prisma.CommentReactionCreateManyUserInputEnvelope
|
|
362
|
+
set?: Prisma.CommentReactionWhereUniqueInput | Prisma.CommentReactionWhereUniqueInput[]
|
|
363
|
+
disconnect?: Prisma.CommentReactionWhereUniqueInput | Prisma.CommentReactionWhereUniqueInput[]
|
|
364
|
+
delete?: Prisma.CommentReactionWhereUniqueInput | Prisma.CommentReactionWhereUniqueInput[]
|
|
365
|
+
connect?: Prisma.CommentReactionWhereUniqueInput | Prisma.CommentReactionWhereUniqueInput[]
|
|
366
|
+
update?: Prisma.CommentReactionUpdateWithWhereUniqueWithoutUserInput | Prisma.CommentReactionUpdateWithWhereUniqueWithoutUserInput[]
|
|
367
|
+
updateMany?: Prisma.CommentReactionUpdateManyWithWhereWithoutUserInput | Prisma.CommentReactionUpdateManyWithWhereWithoutUserInput[]
|
|
368
|
+
deleteMany?: Prisma.CommentReactionScalarWhereInput | Prisma.CommentReactionScalarWhereInput[]
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
export type CommentReactionCreateNestedManyWithoutCommentInput = {
|
|
372
|
+
create?: Prisma.XOR<Prisma.CommentReactionCreateWithoutCommentInput, Prisma.CommentReactionUncheckedCreateWithoutCommentInput> | Prisma.CommentReactionCreateWithoutCommentInput[] | Prisma.CommentReactionUncheckedCreateWithoutCommentInput[]
|
|
373
|
+
connectOrCreate?: Prisma.CommentReactionCreateOrConnectWithoutCommentInput | Prisma.CommentReactionCreateOrConnectWithoutCommentInput[]
|
|
374
|
+
createMany?: Prisma.CommentReactionCreateManyCommentInputEnvelope
|
|
375
|
+
connect?: Prisma.CommentReactionWhereUniqueInput | Prisma.CommentReactionWhereUniqueInput[]
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
export type CommentReactionUncheckedCreateNestedManyWithoutCommentInput = {
|
|
379
|
+
create?: Prisma.XOR<Prisma.CommentReactionCreateWithoutCommentInput, Prisma.CommentReactionUncheckedCreateWithoutCommentInput> | Prisma.CommentReactionCreateWithoutCommentInput[] | Prisma.CommentReactionUncheckedCreateWithoutCommentInput[]
|
|
380
|
+
connectOrCreate?: Prisma.CommentReactionCreateOrConnectWithoutCommentInput | Prisma.CommentReactionCreateOrConnectWithoutCommentInput[]
|
|
381
|
+
createMany?: Prisma.CommentReactionCreateManyCommentInputEnvelope
|
|
382
|
+
connect?: Prisma.CommentReactionWhereUniqueInput | Prisma.CommentReactionWhereUniqueInput[]
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
export type CommentReactionUpdateManyWithoutCommentNestedInput = {
|
|
386
|
+
create?: Prisma.XOR<Prisma.CommentReactionCreateWithoutCommentInput, Prisma.CommentReactionUncheckedCreateWithoutCommentInput> | Prisma.CommentReactionCreateWithoutCommentInput[] | Prisma.CommentReactionUncheckedCreateWithoutCommentInput[]
|
|
387
|
+
connectOrCreate?: Prisma.CommentReactionCreateOrConnectWithoutCommentInput | Prisma.CommentReactionCreateOrConnectWithoutCommentInput[]
|
|
388
|
+
upsert?: Prisma.CommentReactionUpsertWithWhereUniqueWithoutCommentInput | Prisma.CommentReactionUpsertWithWhereUniqueWithoutCommentInput[]
|
|
389
|
+
createMany?: Prisma.CommentReactionCreateManyCommentInputEnvelope
|
|
390
|
+
set?: Prisma.CommentReactionWhereUniqueInput | Prisma.CommentReactionWhereUniqueInput[]
|
|
391
|
+
disconnect?: Prisma.CommentReactionWhereUniqueInput | Prisma.CommentReactionWhereUniqueInput[]
|
|
392
|
+
delete?: Prisma.CommentReactionWhereUniqueInput | Prisma.CommentReactionWhereUniqueInput[]
|
|
393
|
+
connect?: Prisma.CommentReactionWhereUniqueInput | Prisma.CommentReactionWhereUniqueInput[]
|
|
394
|
+
update?: Prisma.CommentReactionUpdateWithWhereUniqueWithoutCommentInput | Prisma.CommentReactionUpdateWithWhereUniqueWithoutCommentInput[]
|
|
395
|
+
updateMany?: Prisma.CommentReactionUpdateManyWithWhereWithoutCommentInput | Prisma.CommentReactionUpdateManyWithWhereWithoutCommentInput[]
|
|
396
|
+
deleteMany?: Prisma.CommentReactionScalarWhereInput | Prisma.CommentReactionScalarWhereInput[]
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
export type CommentReactionUncheckedUpdateManyWithoutCommentNestedInput = {
|
|
400
|
+
create?: Prisma.XOR<Prisma.CommentReactionCreateWithoutCommentInput, Prisma.CommentReactionUncheckedCreateWithoutCommentInput> | Prisma.CommentReactionCreateWithoutCommentInput[] | Prisma.CommentReactionUncheckedCreateWithoutCommentInput[]
|
|
401
|
+
connectOrCreate?: Prisma.CommentReactionCreateOrConnectWithoutCommentInput | Prisma.CommentReactionCreateOrConnectWithoutCommentInput[]
|
|
402
|
+
upsert?: Prisma.CommentReactionUpsertWithWhereUniqueWithoutCommentInput | Prisma.CommentReactionUpsertWithWhereUniqueWithoutCommentInput[]
|
|
403
|
+
createMany?: Prisma.CommentReactionCreateManyCommentInputEnvelope
|
|
404
|
+
set?: Prisma.CommentReactionWhereUniqueInput | Prisma.CommentReactionWhereUniqueInput[]
|
|
405
|
+
disconnect?: Prisma.CommentReactionWhereUniqueInput | Prisma.CommentReactionWhereUniqueInput[]
|
|
406
|
+
delete?: Prisma.CommentReactionWhereUniqueInput | Prisma.CommentReactionWhereUniqueInput[]
|
|
407
|
+
connect?: Prisma.CommentReactionWhereUniqueInput | Prisma.CommentReactionWhereUniqueInput[]
|
|
408
|
+
update?: Prisma.CommentReactionUpdateWithWhereUniqueWithoutCommentInput | Prisma.CommentReactionUpdateWithWhereUniqueWithoutCommentInput[]
|
|
409
|
+
updateMany?: Prisma.CommentReactionUpdateManyWithWhereWithoutCommentInput | Prisma.CommentReactionUpdateManyWithWhereWithoutCommentInput[]
|
|
410
|
+
deleteMany?: Prisma.CommentReactionScalarWhereInput | Prisma.CommentReactionScalarWhereInput[]
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
export type CommentReactionCreateWithoutUserInput = {
|
|
414
|
+
id?: string
|
|
415
|
+
emoji: string
|
|
416
|
+
createdAt?: Date | string
|
|
417
|
+
comment: Prisma.StoryCommentCreateNestedOneWithoutReactionsInput
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
export type CommentReactionUncheckedCreateWithoutUserInput = {
|
|
421
|
+
id?: string
|
|
422
|
+
commentId: string
|
|
423
|
+
emoji: string
|
|
424
|
+
createdAt?: Date | string
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
export type CommentReactionCreateOrConnectWithoutUserInput = {
|
|
428
|
+
where: Prisma.CommentReactionWhereUniqueInput
|
|
429
|
+
create: Prisma.XOR<Prisma.CommentReactionCreateWithoutUserInput, Prisma.CommentReactionUncheckedCreateWithoutUserInput>
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
export type CommentReactionCreateManyUserInputEnvelope = {
|
|
433
|
+
data: Prisma.CommentReactionCreateManyUserInput | Prisma.CommentReactionCreateManyUserInput[]
|
|
434
|
+
skipDuplicates?: boolean
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
export type CommentReactionUpsertWithWhereUniqueWithoutUserInput = {
|
|
438
|
+
where: Prisma.CommentReactionWhereUniqueInput
|
|
439
|
+
update: Prisma.XOR<Prisma.CommentReactionUpdateWithoutUserInput, Prisma.CommentReactionUncheckedUpdateWithoutUserInput>
|
|
440
|
+
create: Prisma.XOR<Prisma.CommentReactionCreateWithoutUserInput, Prisma.CommentReactionUncheckedCreateWithoutUserInput>
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
export type CommentReactionUpdateWithWhereUniqueWithoutUserInput = {
|
|
444
|
+
where: Prisma.CommentReactionWhereUniqueInput
|
|
445
|
+
data: Prisma.XOR<Prisma.CommentReactionUpdateWithoutUserInput, Prisma.CommentReactionUncheckedUpdateWithoutUserInput>
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
export type CommentReactionUpdateManyWithWhereWithoutUserInput = {
|
|
449
|
+
where: Prisma.CommentReactionScalarWhereInput
|
|
450
|
+
data: Prisma.XOR<Prisma.CommentReactionUpdateManyMutationInput, Prisma.CommentReactionUncheckedUpdateManyWithoutUserInput>
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
export type CommentReactionScalarWhereInput = {
|
|
454
|
+
AND?: Prisma.CommentReactionScalarWhereInput | Prisma.CommentReactionScalarWhereInput[]
|
|
455
|
+
OR?: Prisma.CommentReactionScalarWhereInput[]
|
|
456
|
+
NOT?: Prisma.CommentReactionScalarWhereInput | Prisma.CommentReactionScalarWhereInput[]
|
|
457
|
+
id?: Prisma.StringFilter<"CommentReaction"> | string
|
|
458
|
+
commentId?: Prisma.StringFilter<"CommentReaction"> | string
|
|
459
|
+
userId?: Prisma.StringFilter<"CommentReaction"> | string
|
|
460
|
+
emoji?: Prisma.StringFilter<"CommentReaction"> | string
|
|
461
|
+
createdAt?: Prisma.DateTimeFilter<"CommentReaction"> | Date | string
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
export type CommentReactionCreateWithoutCommentInput = {
|
|
465
|
+
id?: string
|
|
466
|
+
emoji: string
|
|
467
|
+
createdAt?: Date | string
|
|
468
|
+
user: Prisma.UserCreateNestedOneWithoutCommentReactionsInput
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
export type CommentReactionUncheckedCreateWithoutCommentInput = {
|
|
472
|
+
id?: string
|
|
473
|
+
userId: string
|
|
474
|
+
emoji: string
|
|
475
|
+
createdAt?: Date | string
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
export type CommentReactionCreateOrConnectWithoutCommentInput = {
|
|
479
|
+
where: Prisma.CommentReactionWhereUniqueInput
|
|
480
|
+
create: Prisma.XOR<Prisma.CommentReactionCreateWithoutCommentInput, Prisma.CommentReactionUncheckedCreateWithoutCommentInput>
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
export type CommentReactionCreateManyCommentInputEnvelope = {
|
|
484
|
+
data: Prisma.CommentReactionCreateManyCommentInput | Prisma.CommentReactionCreateManyCommentInput[]
|
|
485
|
+
skipDuplicates?: boolean
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
export type CommentReactionUpsertWithWhereUniqueWithoutCommentInput = {
|
|
489
|
+
where: Prisma.CommentReactionWhereUniqueInput
|
|
490
|
+
update: Prisma.XOR<Prisma.CommentReactionUpdateWithoutCommentInput, Prisma.CommentReactionUncheckedUpdateWithoutCommentInput>
|
|
491
|
+
create: Prisma.XOR<Prisma.CommentReactionCreateWithoutCommentInput, Prisma.CommentReactionUncheckedCreateWithoutCommentInput>
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
export type CommentReactionUpdateWithWhereUniqueWithoutCommentInput = {
|
|
495
|
+
where: Prisma.CommentReactionWhereUniqueInput
|
|
496
|
+
data: Prisma.XOR<Prisma.CommentReactionUpdateWithoutCommentInput, Prisma.CommentReactionUncheckedUpdateWithoutCommentInput>
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
export type CommentReactionUpdateManyWithWhereWithoutCommentInput = {
|
|
500
|
+
where: Prisma.CommentReactionScalarWhereInput
|
|
501
|
+
data: Prisma.XOR<Prisma.CommentReactionUpdateManyMutationInput, Prisma.CommentReactionUncheckedUpdateManyWithoutCommentInput>
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
export type CommentReactionCreateManyUserInput = {
|
|
505
|
+
id?: string
|
|
506
|
+
commentId: string
|
|
507
|
+
emoji: string
|
|
508
|
+
createdAt?: Date | string
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
export type CommentReactionUpdateWithoutUserInput = {
|
|
512
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
513
|
+
emoji?: Prisma.StringFieldUpdateOperationsInput | string
|
|
514
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
515
|
+
comment?: Prisma.StoryCommentUpdateOneRequiredWithoutReactionsNestedInput
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
export type CommentReactionUncheckedUpdateWithoutUserInput = {
|
|
519
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
520
|
+
commentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
521
|
+
emoji?: Prisma.StringFieldUpdateOperationsInput | string
|
|
522
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
export type CommentReactionUncheckedUpdateManyWithoutUserInput = {
|
|
526
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
527
|
+
commentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
528
|
+
emoji?: Prisma.StringFieldUpdateOperationsInput | string
|
|
529
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
export type CommentReactionCreateManyCommentInput = {
|
|
533
|
+
id?: string
|
|
534
|
+
userId: string
|
|
535
|
+
emoji: string
|
|
536
|
+
createdAt?: Date | string
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
export type CommentReactionUpdateWithoutCommentInput = {
|
|
540
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
541
|
+
emoji?: Prisma.StringFieldUpdateOperationsInput | string
|
|
542
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
543
|
+
user?: Prisma.UserUpdateOneRequiredWithoutCommentReactionsNestedInput
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
export type CommentReactionUncheckedUpdateWithoutCommentInput = {
|
|
547
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
548
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
549
|
+
emoji?: Prisma.StringFieldUpdateOperationsInput | string
|
|
550
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
export type CommentReactionUncheckedUpdateManyWithoutCommentInput = {
|
|
554
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
555
|
+
userId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
556
|
+
emoji?: Prisma.StringFieldUpdateOperationsInput | string
|
|
557
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
export type CommentReactionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
563
|
+
id?: boolean
|
|
564
|
+
commentId?: boolean
|
|
565
|
+
userId?: boolean
|
|
566
|
+
emoji?: boolean
|
|
567
|
+
createdAt?: boolean
|
|
568
|
+
comment?: boolean | Prisma.StoryCommentDefaultArgs<ExtArgs>
|
|
569
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
570
|
+
}, ExtArgs["result"]["commentReaction"]>
|
|
571
|
+
|
|
572
|
+
export type CommentReactionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
573
|
+
id?: boolean
|
|
574
|
+
commentId?: boolean
|
|
575
|
+
userId?: boolean
|
|
576
|
+
emoji?: boolean
|
|
577
|
+
createdAt?: boolean
|
|
578
|
+
comment?: boolean | Prisma.StoryCommentDefaultArgs<ExtArgs>
|
|
579
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
580
|
+
}, ExtArgs["result"]["commentReaction"]>
|
|
581
|
+
|
|
582
|
+
export type CommentReactionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
583
|
+
id?: boolean
|
|
584
|
+
commentId?: boolean
|
|
585
|
+
userId?: boolean
|
|
586
|
+
emoji?: boolean
|
|
587
|
+
createdAt?: boolean
|
|
588
|
+
comment?: boolean | Prisma.StoryCommentDefaultArgs<ExtArgs>
|
|
589
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
590
|
+
}, ExtArgs["result"]["commentReaction"]>
|
|
591
|
+
|
|
592
|
+
export type CommentReactionSelectScalar = {
|
|
593
|
+
id?: boolean
|
|
594
|
+
commentId?: boolean
|
|
595
|
+
userId?: boolean
|
|
596
|
+
emoji?: boolean
|
|
597
|
+
createdAt?: boolean
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
export type CommentReactionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "commentId" | "userId" | "emoji" | "createdAt", ExtArgs["result"]["commentReaction"]>
|
|
601
|
+
export type CommentReactionInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
602
|
+
comment?: boolean | Prisma.StoryCommentDefaultArgs<ExtArgs>
|
|
603
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
604
|
+
}
|
|
605
|
+
export type CommentReactionIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
606
|
+
comment?: boolean | Prisma.StoryCommentDefaultArgs<ExtArgs>
|
|
607
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
608
|
+
}
|
|
609
|
+
export type CommentReactionIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
610
|
+
comment?: boolean | Prisma.StoryCommentDefaultArgs<ExtArgs>
|
|
611
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
export type $CommentReactionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
615
|
+
name: "CommentReaction"
|
|
616
|
+
objects: {
|
|
617
|
+
comment: Prisma.$StoryCommentPayload<ExtArgs>
|
|
618
|
+
user: Prisma.$UserPayload<ExtArgs>
|
|
619
|
+
}
|
|
620
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
621
|
+
id: string
|
|
622
|
+
commentId: string
|
|
623
|
+
userId: string
|
|
624
|
+
emoji: string
|
|
625
|
+
createdAt: Date
|
|
626
|
+
}, ExtArgs["result"]["commentReaction"]>
|
|
627
|
+
composites: {}
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
export type CommentReactionGetPayload<S extends boolean | null | undefined | CommentReactionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$CommentReactionPayload, S>
|
|
631
|
+
|
|
632
|
+
export type CommentReactionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
633
|
+
Omit<CommentReactionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
634
|
+
select?: CommentReactionCountAggregateInputType | true
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
export interface CommentReactionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
638
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['CommentReaction'], meta: { name: 'CommentReaction' } }
|
|
639
|
+
/**
|
|
640
|
+
* Find zero or one CommentReaction that matches the filter.
|
|
641
|
+
* @param {CommentReactionFindUniqueArgs} args - Arguments to find a CommentReaction
|
|
642
|
+
* @example
|
|
643
|
+
* // Get one CommentReaction
|
|
644
|
+
* const commentReaction = await prisma.commentReaction.findUnique({
|
|
645
|
+
* where: {
|
|
646
|
+
* // ... provide filter here
|
|
647
|
+
* }
|
|
648
|
+
* })
|
|
649
|
+
*/
|
|
650
|
+
findUnique<T extends CommentReactionFindUniqueArgs>(args: Prisma.SelectSubset<T, CommentReactionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__CommentReactionClient<runtime.Types.Result.GetResult<Prisma.$CommentReactionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
651
|
+
|
|
652
|
+
/**
|
|
653
|
+
* Find one CommentReaction that matches the filter or throw an error with `error.code='P2025'`
|
|
654
|
+
* if no matches were found.
|
|
655
|
+
* @param {CommentReactionFindUniqueOrThrowArgs} args - Arguments to find a CommentReaction
|
|
656
|
+
* @example
|
|
657
|
+
* // Get one CommentReaction
|
|
658
|
+
* const commentReaction = await prisma.commentReaction.findUniqueOrThrow({
|
|
659
|
+
* where: {
|
|
660
|
+
* // ... provide filter here
|
|
661
|
+
* }
|
|
662
|
+
* })
|
|
663
|
+
*/
|
|
664
|
+
findUniqueOrThrow<T extends CommentReactionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, CommentReactionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__CommentReactionClient<runtime.Types.Result.GetResult<Prisma.$CommentReactionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
665
|
+
|
|
666
|
+
/**
|
|
667
|
+
* Find the first CommentReaction that matches the filter.
|
|
668
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
669
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
670
|
+
* @param {CommentReactionFindFirstArgs} args - Arguments to find a CommentReaction
|
|
671
|
+
* @example
|
|
672
|
+
* // Get one CommentReaction
|
|
673
|
+
* const commentReaction = await prisma.commentReaction.findFirst({
|
|
674
|
+
* where: {
|
|
675
|
+
* // ... provide filter here
|
|
676
|
+
* }
|
|
677
|
+
* })
|
|
678
|
+
*/
|
|
679
|
+
findFirst<T extends CommentReactionFindFirstArgs>(args?: Prisma.SelectSubset<T, CommentReactionFindFirstArgs<ExtArgs>>): Prisma.Prisma__CommentReactionClient<runtime.Types.Result.GetResult<Prisma.$CommentReactionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
680
|
+
|
|
681
|
+
/**
|
|
682
|
+
* Find the first CommentReaction that matches the filter or
|
|
683
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
684
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
685
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
686
|
+
* @param {CommentReactionFindFirstOrThrowArgs} args - Arguments to find a CommentReaction
|
|
687
|
+
* @example
|
|
688
|
+
* // Get one CommentReaction
|
|
689
|
+
* const commentReaction = await prisma.commentReaction.findFirstOrThrow({
|
|
690
|
+
* where: {
|
|
691
|
+
* // ... provide filter here
|
|
692
|
+
* }
|
|
693
|
+
* })
|
|
694
|
+
*/
|
|
695
|
+
findFirstOrThrow<T extends CommentReactionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, CommentReactionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__CommentReactionClient<runtime.Types.Result.GetResult<Prisma.$CommentReactionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
696
|
+
|
|
697
|
+
/**
|
|
698
|
+
* Find zero or more CommentReactions that matches the filter.
|
|
699
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
700
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
701
|
+
* @param {CommentReactionFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
702
|
+
* @example
|
|
703
|
+
* // Get all CommentReactions
|
|
704
|
+
* const commentReactions = await prisma.commentReaction.findMany()
|
|
705
|
+
*
|
|
706
|
+
* // Get first 10 CommentReactions
|
|
707
|
+
* const commentReactions = await prisma.commentReaction.findMany({ take: 10 })
|
|
708
|
+
*
|
|
709
|
+
* // Only select the `id`
|
|
710
|
+
* const commentReactionWithIdOnly = await prisma.commentReaction.findMany({ select: { id: true } })
|
|
711
|
+
*
|
|
712
|
+
*/
|
|
713
|
+
findMany<T extends CommentReactionFindManyArgs>(args?: Prisma.SelectSubset<T, CommentReactionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CommentReactionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
714
|
+
|
|
715
|
+
/**
|
|
716
|
+
* Create a CommentReaction.
|
|
717
|
+
* @param {CommentReactionCreateArgs} args - Arguments to create a CommentReaction.
|
|
718
|
+
* @example
|
|
719
|
+
* // Create one CommentReaction
|
|
720
|
+
* const CommentReaction = await prisma.commentReaction.create({
|
|
721
|
+
* data: {
|
|
722
|
+
* // ... data to create a CommentReaction
|
|
723
|
+
* }
|
|
724
|
+
* })
|
|
725
|
+
*
|
|
726
|
+
*/
|
|
727
|
+
create<T extends CommentReactionCreateArgs>(args: Prisma.SelectSubset<T, CommentReactionCreateArgs<ExtArgs>>): Prisma.Prisma__CommentReactionClient<runtime.Types.Result.GetResult<Prisma.$CommentReactionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
728
|
+
|
|
729
|
+
/**
|
|
730
|
+
* Create many CommentReactions.
|
|
731
|
+
* @param {CommentReactionCreateManyArgs} args - Arguments to create many CommentReactions.
|
|
732
|
+
* @example
|
|
733
|
+
* // Create many CommentReactions
|
|
734
|
+
* const commentReaction = await prisma.commentReaction.createMany({
|
|
735
|
+
* data: [
|
|
736
|
+
* // ... provide data here
|
|
737
|
+
* ]
|
|
738
|
+
* })
|
|
739
|
+
*
|
|
740
|
+
*/
|
|
741
|
+
createMany<T extends CommentReactionCreateManyArgs>(args?: Prisma.SelectSubset<T, CommentReactionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
742
|
+
|
|
743
|
+
/**
|
|
744
|
+
* Create many CommentReactions and returns the data saved in the database.
|
|
745
|
+
* @param {CommentReactionCreateManyAndReturnArgs} args - Arguments to create many CommentReactions.
|
|
746
|
+
* @example
|
|
747
|
+
* // Create many CommentReactions
|
|
748
|
+
* const commentReaction = await prisma.commentReaction.createManyAndReturn({
|
|
749
|
+
* data: [
|
|
750
|
+
* // ... provide data here
|
|
751
|
+
* ]
|
|
752
|
+
* })
|
|
753
|
+
*
|
|
754
|
+
* // Create many CommentReactions and only return the `id`
|
|
755
|
+
* const commentReactionWithIdOnly = await prisma.commentReaction.createManyAndReturn({
|
|
756
|
+
* select: { id: true },
|
|
757
|
+
* data: [
|
|
758
|
+
* // ... provide data here
|
|
759
|
+
* ]
|
|
760
|
+
* })
|
|
761
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
762
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
763
|
+
*
|
|
764
|
+
*/
|
|
765
|
+
createManyAndReturn<T extends CommentReactionCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, CommentReactionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CommentReactionPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
766
|
+
|
|
767
|
+
/**
|
|
768
|
+
* Delete a CommentReaction.
|
|
769
|
+
* @param {CommentReactionDeleteArgs} args - Arguments to delete one CommentReaction.
|
|
770
|
+
* @example
|
|
771
|
+
* // Delete one CommentReaction
|
|
772
|
+
* const CommentReaction = await prisma.commentReaction.delete({
|
|
773
|
+
* where: {
|
|
774
|
+
* // ... filter to delete one CommentReaction
|
|
775
|
+
* }
|
|
776
|
+
* })
|
|
777
|
+
*
|
|
778
|
+
*/
|
|
779
|
+
delete<T extends CommentReactionDeleteArgs>(args: Prisma.SelectSubset<T, CommentReactionDeleteArgs<ExtArgs>>): Prisma.Prisma__CommentReactionClient<runtime.Types.Result.GetResult<Prisma.$CommentReactionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
780
|
+
|
|
781
|
+
/**
|
|
782
|
+
* Update one CommentReaction.
|
|
783
|
+
* @param {CommentReactionUpdateArgs} args - Arguments to update one CommentReaction.
|
|
784
|
+
* @example
|
|
785
|
+
* // Update one CommentReaction
|
|
786
|
+
* const commentReaction = await prisma.commentReaction.update({
|
|
787
|
+
* where: {
|
|
788
|
+
* // ... provide filter here
|
|
789
|
+
* },
|
|
790
|
+
* data: {
|
|
791
|
+
* // ... provide data here
|
|
792
|
+
* }
|
|
793
|
+
* })
|
|
794
|
+
*
|
|
795
|
+
*/
|
|
796
|
+
update<T extends CommentReactionUpdateArgs>(args: Prisma.SelectSubset<T, CommentReactionUpdateArgs<ExtArgs>>): Prisma.Prisma__CommentReactionClient<runtime.Types.Result.GetResult<Prisma.$CommentReactionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
797
|
+
|
|
798
|
+
/**
|
|
799
|
+
* Delete zero or more CommentReactions.
|
|
800
|
+
* @param {CommentReactionDeleteManyArgs} args - Arguments to filter CommentReactions to delete.
|
|
801
|
+
* @example
|
|
802
|
+
* // Delete a few CommentReactions
|
|
803
|
+
* const { count } = await prisma.commentReaction.deleteMany({
|
|
804
|
+
* where: {
|
|
805
|
+
* // ... provide filter here
|
|
806
|
+
* }
|
|
807
|
+
* })
|
|
808
|
+
*
|
|
809
|
+
*/
|
|
810
|
+
deleteMany<T extends CommentReactionDeleteManyArgs>(args?: Prisma.SelectSubset<T, CommentReactionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
811
|
+
|
|
812
|
+
/**
|
|
813
|
+
* Update zero or more CommentReactions.
|
|
814
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
815
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
816
|
+
* @param {CommentReactionUpdateManyArgs} args - Arguments to update one or more rows.
|
|
817
|
+
* @example
|
|
818
|
+
* // Update many CommentReactions
|
|
819
|
+
* const commentReaction = await prisma.commentReaction.updateMany({
|
|
820
|
+
* where: {
|
|
821
|
+
* // ... provide filter here
|
|
822
|
+
* },
|
|
823
|
+
* data: {
|
|
824
|
+
* // ... provide data here
|
|
825
|
+
* }
|
|
826
|
+
* })
|
|
827
|
+
*
|
|
828
|
+
*/
|
|
829
|
+
updateMany<T extends CommentReactionUpdateManyArgs>(args: Prisma.SelectSubset<T, CommentReactionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
830
|
+
|
|
831
|
+
/**
|
|
832
|
+
* Update zero or more CommentReactions and returns the data updated in the database.
|
|
833
|
+
* @param {CommentReactionUpdateManyAndReturnArgs} args - Arguments to update many CommentReactions.
|
|
834
|
+
* @example
|
|
835
|
+
* // Update many CommentReactions
|
|
836
|
+
* const commentReaction = await prisma.commentReaction.updateManyAndReturn({
|
|
837
|
+
* where: {
|
|
838
|
+
* // ... provide filter here
|
|
839
|
+
* },
|
|
840
|
+
* data: [
|
|
841
|
+
* // ... provide data here
|
|
842
|
+
* ]
|
|
843
|
+
* })
|
|
844
|
+
*
|
|
845
|
+
* // Update zero or more CommentReactions and only return the `id`
|
|
846
|
+
* const commentReactionWithIdOnly = await prisma.commentReaction.updateManyAndReturn({
|
|
847
|
+
* select: { id: true },
|
|
848
|
+
* where: {
|
|
849
|
+
* // ... provide filter here
|
|
850
|
+
* },
|
|
851
|
+
* data: [
|
|
852
|
+
* // ... provide data here
|
|
853
|
+
* ]
|
|
854
|
+
* })
|
|
855
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
856
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
857
|
+
*
|
|
858
|
+
*/
|
|
859
|
+
updateManyAndReturn<T extends CommentReactionUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, CommentReactionUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CommentReactionPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
860
|
+
|
|
861
|
+
/**
|
|
862
|
+
* Create or update one CommentReaction.
|
|
863
|
+
* @param {CommentReactionUpsertArgs} args - Arguments to update or create a CommentReaction.
|
|
864
|
+
* @example
|
|
865
|
+
* // Update or create a CommentReaction
|
|
866
|
+
* const commentReaction = await prisma.commentReaction.upsert({
|
|
867
|
+
* create: {
|
|
868
|
+
* // ... data to create a CommentReaction
|
|
869
|
+
* },
|
|
870
|
+
* update: {
|
|
871
|
+
* // ... in case it already exists, update
|
|
872
|
+
* },
|
|
873
|
+
* where: {
|
|
874
|
+
* // ... the filter for the CommentReaction we want to update
|
|
875
|
+
* }
|
|
876
|
+
* })
|
|
877
|
+
*/
|
|
878
|
+
upsert<T extends CommentReactionUpsertArgs>(args: Prisma.SelectSubset<T, CommentReactionUpsertArgs<ExtArgs>>): Prisma.Prisma__CommentReactionClient<runtime.Types.Result.GetResult<Prisma.$CommentReactionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
879
|
+
|
|
880
|
+
|
|
881
|
+
/**
|
|
882
|
+
* Count the number of CommentReactions.
|
|
883
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
884
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
885
|
+
* @param {CommentReactionCountArgs} args - Arguments to filter CommentReactions to count.
|
|
886
|
+
* @example
|
|
887
|
+
* // Count the number of CommentReactions
|
|
888
|
+
* const count = await prisma.commentReaction.count({
|
|
889
|
+
* where: {
|
|
890
|
+
* // ... the filter for the CommentReactions we want to count
|
|
891
|
+
* }
|
|
892
|
+
* })
|
|
893
|
+
**/
|
|
894
|
+
count<T extends CommentReactionCountArgs>(
|
|
895
|
+
args?: Prisma.Subset<T, CommentReactionCountArgs>,
|
|
896
|
+
): Prisma.PrismaPromise<
|
|
897
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
898
|
+
? T['select'] extends true
|
|
899
|
+
? number
|
|
900
|
+
: Prisma.GetScalarType<T['select'], CommentReactionCountAggregateOutputType>
|
|
901
|
+
: number
|
|
902
|
+
>
|
|
903
|
+
|
|
904
|
+
/**
|
|
905
|
+
* Allows you to perform aggregations operations on a CommentReaction.
|
|
906
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
907
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
908
|
+
* @param {CommentReactionAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
909
|
+
* @example
|
|
910
|
+
* // Ordered by age ascending
|
|
911
|
+
* // Where email contains prisma.io
|
|
912
|
+
* // Limited to the 10 users
|
|
913
|
+
* const aggregations = await prisma.user.aggregate({
|
|
914
|
+
* _avg: {
|
|
915
|
+
* age: true,
|
|
916
|
+
* },
|
|
917
|
+
* where: {
|
|
918
|
+
* email: {
|
|
919
|
+
* contains: "prisma.io",
|
|
920
|
+
* },
|
|
921
|
+
* },
|
|
922
|
+
* orderBy: {
|
|
923
|
+
* age: "asc",
|
|
924
|
+
* },
|
|
925
|
+
* take: 10,
|
|
926
|
+
* })
|
|
927
|
+
**/
|
|
928
|
+
aggregate<T extends CommentReactionAggregateArgs>(args: Prisma.Subset<T, CommentReactionAggregateArgs>): Prisma.PrismaPromise<GetCommentReactionAggregateType<T>>
|
|
929
|
+
|
|
930
|
+
/**
|
|
931
|
+
* Group by CommentReaction.
|
|
932
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
933
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
934
|
+
* @param {CommentReactionGroupByArgs} args - Group by arguments.
|
|
935
|
+
* @example
|
|
936
|
+
* // Group by city, order by createdAt, get count
|
|
937
|
+
* const result = await prisma.user.groupBy({
|
|
938
|
+
* by: ['city', 'createdAt'],
|
|
939
|
+
* orderBy: {
|
|
940
|
+
* createdAt: true
|
|
941
|
+
* },
|
|
942
|
+
* _count: {
|
|
943
|
+
* _all: true
|
|
944
|
+
* },
|
|
945
|
+
* })
|
|
946
|
+
*
|
|
947
|
+
**/
|
|
948
|
+
groupBy<
|
|
949
|
+
T extends CommentReactionGroupByArgs,
|
|
950
|
+
HasSelectOrTake extends Prisma.Or<
|
|
951
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
952
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
953
|
+
>,
|
|
954
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
955
|
+
? { orderBy: CommentReactionGroupByArgs['orderBy'] }
|
|
956
|
+
: { orderBy?: CommentReactionGroupByArgs['orderBy'] },
|
|
957
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
958
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
959
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
960
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
961
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
962
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
963
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
964
|
+
? `Error: "by" must not be empty.`
|
|
965
|
+
: HavingValid extends Prisma.False
|
|
966
|
+
? {
|
|
967
|
+
[P in HavingFields]: P extends ByFields
|
|
968
|
+
? never
|
|
969
|
+
: P extends string
|
|
970
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
971
|
+
: [
|
|
972
|
+
Error,
|
|
973
|
+
'Field ',
|
|
974
|
+
P,
|
|
975
|
+
` in "having" needs to be provided in "by"`,
|
|
976
|
+
]
|
|
977
|
+
}[HavingFields]
|
|
978
|
+
: 'take' extends Prisma.Keys<T>
|
|
979
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
980
|
+
? ByValid extends Prisma.True
|
|
981
|
+
? {}
|
|
982
|
+
: {
|
|
983
|
+
[P in OrderFields]: P extends ByFields
|
|
984
|
+
? never
|
|
985
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
986
|
+
}[OrderFields]
|
|
987
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
988
|
+
: 'skip' extends Prisma.Keys<T>
|
|
989
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
990
|
+
? ByValid extends Prisma.True
|
|
991
|
+
? {}
|
|
992
|
+
: {
|
|
993
|
+
[P in OrderFields]: P extends ByFields
|
|
994
|
+
? never
|
|
995
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
996
|
+
}[OrderFields]
|
|
997
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
998
|
+
: ByValid extends Prisma.True
|
|
999
|
+
? {}
|
|
1000
|
+
: {
|
|
1001
|
+
[P in OrderFields]: P extends ByFields
|
|
1002
|
+
? never
|
|
1003
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1004
|
+
}[OrderFields]
|
|
1005
|
+
>(args: Prisma.SubsetIntersection<T, CommentReactionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCommentReactionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1006
|
+
/**
|
|
1007
|
+
* Fields of the CommentReaction model
|
|
1008
|
+
*/
|
|
1009
|
+
readonly fields: CommentReactionFieldRefs;
|
|
1010
|
+
}
|
|
1011
|
+
|
|
1012
|
+
/**
|
|
1013
|
+
* The delegate class that acts as a "Promise-like" for CommentReaction.
|
|
1014
|
+
* Why is this prefixed with `Prisma__`?
|
|
1015
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1016
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1017
|
+
*/
|
|
1018
|
+
export interface Prisma__CommentReactionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1019
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1020
|
+
comment<T extends Prisma.StoryCommentDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.StoryCommentDefaultArgs<ExtArgs>>): Prisma.Prisma__StoryCommentClient<runtime.Types.Result.GetResult<Prisma.$StoryCommentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1021
|
+
user<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
1022
|
+
/**
|
|
1023
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1024
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1025
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1026
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1027
|
+
*/
|
|
1028
|
+
then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
1029
|
+
/**
|
|
1030
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1031
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1032
|
+
* @returns A Promise for the completion of the callback.
|
|
1033
|
+
*/
|
|
1034
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1035
|
+
/**
|
|
1036
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1037
|
+
* resolved value cannot be modified from the callback.
|
|
1038
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1039
|
+
* @returns A Promise for the completion of the callback.
|
|
1040
|
+
*/
|
|
1041
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
|
|
1045
|
+
|
|
1046
|
+
|
|
1047
|
+
/**
|
|
1048
|
+
* Fields of the CommentReaction model
|
|
1049
|
+
*/
|
|
1050
|
+
export interface CommentReactionFieldRefs {
|
|
1051
|
+
readonly id: Prisma.FieldRef<"CommentReaction", 'String'>
|
|
1052
|
+
readonly commentId: Prisma.FieldRef<"CommentReaction", 'String'>
|
|
1053
|
+
readonly userId: Prisma.FieldRef<"CommentReaction", 'String'>
|
|
1054
|
+
readonly emoji: Prisma.FieldRef<"CommentReaction", 'String'>
|
|
1055
|
+
readonly createdAt: Prisma.FieldRef<"CommentReaction", 'DateTime'>
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
|
|
1059
|
+
// Custom InputTypes
|
|
1060
|
+
/**
|
|
1061
|
+
* CommentReaction findUnique
|
|
1062
|
+
*/
|
|
1063
|
+
export type CommentReactionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1064
|
+
/**
|
|
1065
|
+
* Select specific fields to fetch from the CommentReaction
|
|
1066
|
+
*/
|
|
1067
|
+
select?: Prisma.CommentReactionSelect<ExtArgs> | null
|
|
1068
|
+
/**
|
|
1069
|
+
* Omit specific fields from the CommentReaction
|
|
1070
|
+
*/
|
|
1071
|
+
omit?: Prisma.CommentReactionOmit<ExtArgs> | null
|
|
1072
|
+
/**
|
|
1073
|
+
* Choose, which related nodes to fetch as well
|
|
1074
|
+
*/
|
|
1075
|
+
include?: Prisma.CommentReactionInclude<ExtArgs> | null
|
|
1076
|
+
/**
|
|
1077
|
+
* Filter, which CommentReaction to fetch.
|
|
1078
|
+
*/
|
|
1079
|
+
where: Prisma.CommentReactionWhereUniqueInput
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
/**
|
|
1083
|
+
* CommentReaction findUniqueOrThrow
|
|
1084
|
+
*/
|
|
1085
|
+
export type CommentReactionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1086
|
+
/**
|
|
1087
|
+
* Select specific fields to fetch from the CommentReaction
|
|
1088
|
+
*/
|
|
1089
|
+
select?: Prisma.CommentReactionSelect<ExtArgs> | null
|
|
1090
|
+
/**
|
|
1091
|
+
* Omit specific fields from the CommentReaction
|
|
1092
|
+
*/
|
|
1093
|
+
omit?: Prisma.CommentReactionOmit<ExtArgs> | null
|
|
1094
|
+
/**
|
|
1095
|
+
* Choose, which related nodes to fetch as well
|
|
1096
|
+
*/
|
|
1097
|
+
include?: Prisma.CommentReactionInclude<ExtArgs> | null
|
|
1098
|
+
/**
|
|
1099
|
+
* Filter, which CommentReaction to fetch.
|
|
1100
|
+
*/
|
|
1101
|
+
where: Prisma.CommentReactionWhereUniqueInput
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
/**
|
|
1105
|
+
* CommentReaction findFirst
|
|
1106
|
+
*/
|
|
1107
|
+
export type CommentReactionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1108
|
+
/**
|
|
1109
|
+
* Select specific fields to fetch from the CommentReaction
|
|
1110
|
+
*/
|
|
1111
|
+
select?: Prisma.CommentReactionSelect<ExtArgs> | null
|
|
1112
|
+
/**
|
|
1113
|
+
* Omit specific fields from the CommentReaction
|
|
1114
|
+
*/
|
|
1115
|
+
omit?: Prisma.CommentReactionOmit<ExtArgs> | null
|
|
1116
|
+
/**
|
|
1117
|
+
* Choose, which related nodes to fetch as well
|
|
1118
|
+
*/
|
|
1119
|
+
include?: Prisma.CommentReactionInclude<ExtArgs> | null
|
|
1120
|
+
/**
|
|
1121
|
+
* Filter, which CommentReaction to fetch.
|
|
1122
|
+
*/
|
|
1123
|
+
where?: Prisma.CommentReactionWhereInput
|
|
1124
|
+
/**
|
|
1125
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1126
|
+
*
|
|
1127
|
+
* Determine the order of CommentReactions to fetch.
|
|
1128
|
+
*/
|
|
1129
|
+
orderBy?: Prisma.CommentReactionOrderByWithRelationInput | Prisma.CommentReactionOrderByWithRelationInput[]
|
|
1130
|
+
/**
|
|
1131
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1132
|
+
*
|
|
1133
|
+
* Sets the position for searching for CommentReactions.
|
|
1134
|
+
*/
|
|
1135
|
+
cursor?: Prisma.CommentReactionWhereUniqueInput
|
|
1136
|
+
/**
|
|
1137
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1138
|
+
*
|
|
1139
|
+
* Take `±n` CommentReactions from the position of the cursor.
|
|
1140
|
+
*/
|
|
1141
|
+
take?: number
|
|
1142
|
+
/**
|
|
1143
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1144
|
+
*
|
|
1145
|
+
* Skip the first `n` CommentReactions.
|
|
1146
|
+
*/
|
|
1147
|
+
skip?: number
|
|
1148
|
+
/**
|
|
1149
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1150
|
+
*
|
|
1151
|
+
* Filter by unique combinations of CommentReactions.
|
|
1152
|
+
*/
|
|
1153
|
+
distinct?: Prisma.CommentReactionScalarFieldEnum | Prisma.CommentReactionScalarFieldEnum[]
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
/**
|
|
1157
|
+
* CommentReaction findFirstOrThrow
|
|
1158
|
+
*/
|
|
1159
|
+
export type CommentReactionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1160
|
+
/**
|
|
1161
|
+
* Select specific fields to fetch from the CommentReaction
|
|
1162
|
+
*/
|
|
1163
|
+
select?: Prisma.CommentReactionSelect<ExtArgs> | null
|
|
1164
|
+
/**
|
|
1165
|
+
* Omit specific fields from the CommentReaction
|
|
1166
|
+
*/
|
|
1167
|
+
omit?: Prisma.CommentReactionOmit<ExtArgs> | null
|
|
1168
|
+
/**
|
|
1169
|
+
* Choose, which related nodes to fetch as well
|
|
1170
|
+
*/
|
|
1171
|
+
include?: Prisma.CommentReactionInclude<ExtArgs> | null
|
|
1172
|
+
/**
|
|
1173
|
+
* Filter, which CommentReaction to fetch.
|
|
1174
|
+
*/
|
|
1175
|
+
where?: Prisma.CommentReactionWhereInput
|
|
1176
|
+
/**
|
|
1177
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1178
|
+
*
|
|
1179
|
+
* Determine the order of CommentReactions to fetch.
|
|
1180
|
+
*/
|
|
1181
|
+
orderBy?: Prisma.CommentReactionOrderByWithRelationInput | Prisma.CommentReactionOrderByWithRelationInput[]
|
|
1182
|
+
/**
|
|
1183
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1184
|
+
*
|
|
1185
|
+
* Sets the position for searching for CommentReactions.
|
|
1186
|
+
*/
|
|
1187
|
+
cursor?: Prisma.CommentReactionWhereUniqueInput
|
|
1188
|
+
/**
|
|
1189
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1190
|
+
*
|
|
1191
|
+
* Take `±n` CommentReactions from the position of the cursor.
|
|
1192
|
+
*/
|
|
1193
|
+
take?: number
|
|
1194
|
+
/**
|
|
1195
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1196
|
+
*
|
|
1197
|
+
* Skip the first `n` CommentReactions.
|
|
1198
|
+
*/
|
|
1199
|
+
skip?: number
|
|
1200
|
+
/**
|
|
1201
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1202
|
+
*
|
|
1203
|
+
* Filter by unique combinations of CommentReactions.
|
|
1204
|
+
*/
|
|
1205
|
+
distinct?: Prisma.CommentReactionScalarFieldEnum | Prisma.CommentReactionScalarFieldEnum[]
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
/**
|
|
1209
|
+
* CommentReaction findMany
|
|
1210
|
+
*/
|
|
1211
|
+
export type CommentReactionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1212
|
+
/**
|
|
1213
|
+
* Select specific fields to fetch from the CommentReaction
|
|
1214
|
+
*/
|
|
1215
|
+
select?: Prisma.CommentReactionSelect<ExtArgs> | null
|
|
1216
|
+
/**
|
|
1217
|
+
* Omit specific fields from the CommentReaction
|
|
1218
|
+
*/
|
|
1219
|
+
omit?: Prisma.CommentReactionOmit<ExtArgs> | null
|
|
1220
|
+
/**
|
|
1221
|
+
* Choose, which related nodes to fetch as well
|
|
1222
|
+
*/
|
|
1223
|
+
include?: Prisma.CommentReactionInclude<ExtArgs> | null
|
|
1224
|
+
/**
|
|
1225
|
+
* Filter, which CommentReactions to fetch.
|
|
1226
|
+
*/
|
|
1227
|
+
where?: Prisma.CommentReactionWhereInput
|
|
1228
|
+
/**
|
|
1229
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1230
|
+
*
|
|
1231
|
+
* Determine the order of CommentReactions to fetch.
|
|
1232
|
+
*/
|
|
1233
|
+
orderBy?: Prisma.CommentReactionOrderByWithRelationInput | Prisma.CommentReactionOrderByWithRelationInput[]
|
|
1234
|
+
/**
|
|
1235
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1236
|
+
*
|
|
1237
|
+
* Sets the position for listing CommentReactions.
|
|
1238
|
+
*/
|
|
1239
|
+
cursor?: Prisma.CommentReactionWhereUniqueInput
|
|
1240
|
+
/**
|
|
1241
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1242
|
+
*
|
|
1243
|
+
* Take `±n` CommentReactions from the position of the cursor.
|
|
1244
|
+
*/
|
|
1245
|
+
take?: number
|
|
1246
|
+
/**
|
|
1247
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1248
|
+
*
|
|
1249
|
+
* Skip the first `n` CommentReactions.
|
|
1250
|
+
*/
|
|
1251
|
+
skip?: number
|
|
1252
|
+
/**
|
|
1253
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1254
|
+
*
|
|
1255
|
+
* Filter by unique combinations of CommentReactions.
|
|
1256
|
+
*/
|
|
1257
|
+
distinct?: Prisma.CommentReactionScalarFieldEnum | Prisma.CommentReactionScalarFieldEnum[]
|
|
1258
|
+
}
|
|
1259
|
+
|
|
1260
|
+
/**
|
|
1261
|
+
* CommentReaction create
|
|
1262
|
+
*/
|
|
1263
|
+
export type CommentReactionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1264
|
+
/**
|
|
1265
|
+
* Select specific fields to fetch from the CommentReaction
|
|
1266
|
+
*/
|
|
1267
|
+
select?: Prisma.CommentReactionSelect<ExtArgs> | null
|
|
1268
|
+
/**
|
|
1269
|
+
* Omit specific fields from the CommentReaction
|
|
1270
|
+
*/
|
|
1271
|
+
omit?: Prisma.CommentReactionOmit<ExtArgs> | null
|
|
1272
|
+
/**
|
|
1273
|
+
* Choose, which related nodes to fetch as well
|
|
1274
|
+
*/
|
|
1275
|
+
include?: Prisma.CommentReactionInclude<ExtArgs> | null
|
|
1276
|
+
/**
|
|
1277
|
+
* The data needed to create a CommentReaction.
|
|
1278
|
+
*/
|
|
1279
|
+
data: Prisma.XOR<Prisma.CommentReactionCreateInput, Prisma.CommentReactionUncheckedCreateInput>
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1282
|
+
/**
|
|
1283
|
+
* CommentReaction createMany
|
|
1284
|
+
*/
|
|
1285
|
+
export type CommentReactionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1286
|
+
/**
|
|
1287
|
+
* The data used to create many CommentReactions.
|
|
1288
|
+
*/
|
|
1289
|
+
data: Prisma.CommentReactionCreateManyInput | Prisma.CommentReactionCreateManyInput[]
|
|
1290
|
+
skipDuplicates?: boolean
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
/**
|
|
1294
|
+
* CommentReaction createManyAndReturn
|
|
1295
|
+
*/
|
|
1296
|
+
export type CommentReactionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1297
|
+
/**
|
|
1298
|
+
* Select specific fields to fetch from the CommentReaction
|
|
1299
|
+
*/
|
|
1300
|
+
select?: Prisma.CommentReactionSelectCreateManyAndReturn<ExtArgs> | null
|
|
1301
|
+
/**
|
|
1302
|
+
* Omit specific fields from the CommentReaction
|
|
1303
|
+
*/
|
|
1304
|
+
omit?: Prisma.CommentReactionOmit<ExtArgs> | null
|
|
1305
|
+
/**
|
|
1306
|
+
* The data used to create many CommentReactions.
|
|
1307
|
+
*/
|
|
1308
|
+
data: Prisma.CommentReactionCreateManyInput | Prisma.CommentReactionCreateManyInput[]
|
|
1309
|
+
skipDuplicates?: boolean
|
|
1310
|
+
/**
|
|
1311
|
+
* Choose, which related nodes to fetch as well
|
|
1312
|
+
*/
|
|
1313
|
+
include?: Prisma.CommentReactionIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
/**
|
|
1317
|
+
* CommentReaction update
|
|
1318
|
+
*/
|
|
1319
|
+
export type CommentReactionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1320
|
+
/**
|
|
1321
|
+
* Select specific fields to fetch from the CommentReaction
|
|
1322
|
+
*/
|
|
1323
|
+
select?: Prisma.CommentReactionSelect<ExtArgs> | null
|
|
1324
|
+
/**
|
|
1325
|
+
* Omit specific fields from the CommentReaction
|
|
1326
|
+
*/
|
|
1327
|
+
omit?: Prisma.CommentReactionOmit<ExtArgs> | null
|
|
1328
|
+
/**
|
|
1329
|
+
* Choose, which related nodes to fetch as well
|
|
1330
|
+
*/
|
|
1331
|
+
include?: Prisma.CommentReactionInclude<ExtArgs> | null
|
|
1332
|
+
/**
|
|
1333
|
+
* The data needed to update a CommentReaction.
|
|
1334
|
+
*/
|
|
1335
|
+
data: Prisma.XOR<Prisma.CommentReactionUpdateInput, Prisma.CommentReactionUncheckedUpdateInput>
|
|
1336
|
+
/**
|
|
1337
|
+
* Choose, which CommentReaction to update.
|
|
1338
|
+
*/
|
|
1339
|
+
where: Prisma.CommentReactionWhereUniqueInput
|
|
1340
|
+
}
|
|
1341
|
+
|
|
1342
|
+
/**
|
|
1343
|
+
* CommentReaction updateMany
|
|
1344
|
+
*/
|
|
1345
|
+
export type CommentReactionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1346
|
+
/**
|
|
1347
|
+
* The data used to update CommentReactions.
|
|
1348
|
+
*/
|
|
1349
|
+
data: Prisma.XOR<Prisma.CommentReactionUpdateManyMutationInput, Prisma.CommentReactionUncheckedUpdateManyInput>
|
|
1350
|
+
/**
|
|
1351
|
+
* Filter which CommentReactions to update
|
|
1352
|
+
*/
|
|
1353
|
+
where?: Prisma.CommentReactionWhereInput
|
|
1354
|
+
/**
|
|
1355
|
+
* Limit how many CommentReactions to update.
|
|
1356
|
+
*/
|
|
1357
|
+
limit?: number
|
|
1358
|
+
}
|
|
1359
|
+
|
|
1360
|
+
/**
|
|
1361
|
+
* CommentReaction updateManyAndReturn
|
|
1362
|
+
*/
|
|
1363
|
+
export type CommentReactionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1364
|
+
/**
|
|
1365
|
+
* Select specific fields to fetch from the CommentReaction
|
|
1366
|
+
*/
|
|
1367
|
+
select?: Prisma.CommentReactionSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1368
|
+
/**
|
|
1369
|
+
* Omit specific fields from the CommentReaction
|
|
1370
|
+
*/
|
|
1371
|
+
omit?: Prisma.CommentReactionOmit<ExtArgs> | null
|
|
1372
|
+
/**
|
|
1373
|
+
* The data used to update CommentReactions.
|
|
1374
|
+
*/
|
|
1375
|
+
data: Prisma.XOR<Prisma.CommentReactionUpdateManyMutationInput, Prisma.CommentReactionUncheckedUpdateManyInput>
|
|
1376
|
+
/**
|
|
1377
|
+
* Filter which CommentReactions to update
|
|
1378
|
+
*/
|
|
1379
|
+
where?: Prisma.CommentReactionWhereInput
|
|
1380
|
+
/**
|
|
1381
|
+
* Limit how many CommentReactions to update.
|
|
1382
|
+
*/
|
|
1383
|
+
limit?: number
|
|
1384
|
+
/**
|
|
1385
|
+
* Choose, which related nodes to fetch as well
|
|
1386
|
+
*/
|
|
1387
|
+
include?: Prisma.CommentReactionIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
/**
|
|
1391
|
+
* CommentReaction upsert
|
|
1392
|
+
*/
|
|
1393
|
+
export type CommentReactionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1394
|
+
/**
|
|
1395
|
+
* Select specific fields to fetch from the CommentReaction
|
|
1396
|
+
*/
|
|
1397
|
+
select?: Prisma.CommentReactionSelect<ExtArgs> | null
|
|
1398
|
+
/**
|
|
1399
|
+
* Omit specific fields from the CommentReaction
|
|
1400
|
+
*/
|
|
1401
|
+
omit?: Prisma.CommentReactionOmit<ExtArgs> | null
|
|
1402
|
+
/**
|
|
1403
|
+
* Choose, which related nodes to fetch as well
|
|
1404
|
+
*/
|
|
1405
|
+
include?: Prisma.CommentReactionInclude<ExtArgs> | null
|
|
1406
|
+
/**
|
|
1407
|
+
* The filter to search for the CommentReaction to update in case it exists.
|
|
1408
|
+
*/
|
|
1409
|
+
where: Prisma.CommentReactionWhereUniqueInput
|
|
1410
|
+
/**
|
|
1411
|
+
* In case the CommentReaction found by the `where` argument doesn't exist, create a new CommentReaction with this data.
|
|
1412
|
+
*/
|
|
1413
|
+
create: Prisma.XOR<Prisma.CommentReactionCreateInput, Prisma.CommentReactionUncheckedCreateInput>
|
|
1414
|
+
/**
|
|
1415
|
+
* In case the CommentReaction was found with the provided `where` argument, update it with this data.
|
|
1416
|
+
*/
|
|
1417
|
+
update: Prisma.XOR<Prisma.CommentReactionUpdateInput, Prisma.CommentReactionUncheckedUpdateInput>
|
|
1418
|
+
}
|
|
1419
|
+
|
|
1420
|
+
/**
|
|
1421
|
+
* CommentReaction delete
|
|
1422
|
+
*/
|
|
1423
|
+
export type CommentReactionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1424
|
+
/**
|
|
1425
|
+
* Select specific fields to fetch from the CommentReaction
|
|
1426
|
+
*/
|
|
1427
|
+
select?: Prisma.CommentReactionSelect<ExtArgs> | null
|
|
1428
|
+
/**
|
|
1429
|
+
* Omit specific fields from the CommentReaction
|
|
1430
|
+
*/
|
|
1431
|
+
omit?: Prisma.CommentReactionOmit<ExtArgs> | null
|
|
1432
|
+
/**
|
|
1433
|
+
* Choose, which related nodes to fetch as well
|
|
1434
|
+
*/
|
|
1435
|
+
include?: Prisma.CommentReactionInclude<ExtArgs> | null
|
|
1436
|
+
/**
|
|
1437
|
+
* Filter which CommentReaction to delete.
|
|
1438
|
+
*/
|
|
1439
|
+
where: Prisma.CommentReactionWhereUniqueInput
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
/**
|
|
1443
|
+
* CommentReaction deleteMany
|
|
1444
|
+
*/
|
|
1445
|
+
export type CommentReactionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1446
|
+
/**
|
|
1447
|
+
* Filter which CommentReactions to delete
|
|
1448
|
+
*/
|
|
1449
|
+
where?: Prisma.CommentReactionWhereInput
|
|
1450
|
+
/**
|
|
1451
|
+
* Limit how many CommentReactions to delete.
|
|
1452
|
+
*/
|
|
1453
|
+
limit?: number
|
|
1454
|
+
}
|
|
1455
|
+
|
|
1456
|
+
/**
|
|
1457
|
+
* CommentReaction without action
|
|
1458
|
+
*/
|
|
1459
|
+
export type CommentReactionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1460
|
+
/**
|
|
1461
|
+
* Select specific fields to fetch from the CommentReaction
|
|
1462
|
+
*/
|
|
1463
|
+
select?: Prisma.CommentReactionSelect<ExtArgs> | null
|
|
1464
|
+
/**
|
|
1465
|
+
* Omit specific fields from the CommentReaction
|
|
1466
|
+
*/
|
|
1467
|
+
omit?: Prisma.CommentReactionOmit<ExtArgs> | null
|
|
1468
|
+
/**
|
|
1469
|
+
* Choose, which related nodes to fetch as well
|
|
1470
|
+
*/
|
|
1471
|
+
include?: Prisma.CommentReactionInclude<ExtArgs> | null
|
|
1472
|
+
}
|