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