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