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