@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,1385 @@
|
|
|
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 `ShareVersion` 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 ShareVersion
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type ShareVersionModel = runtime.Types.Result.DefaultSelection<Prisma.$ShareVersionPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateShareVersion = {
|
|
22
|
+
_count: ShareVersionCountAggregateOutputType | null
|
|
23
|
+
_min: ShareVersionMinAggregateOutputType | null
|
|
24
|
+
_max: ShareVersionMaxAggregateOutputType | null
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type ShareVersionMinAggregateOutputType = {
|
|
28
|
+
id: string | null
|
|
29
|
+
shareId: string | null
|
|
30
|
+
versionId: string | null
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export type ShareVersionMaxAggregateOutputType = {
|
|
34
|
+
id: string | null
|
|
35
|
+
shareId: string | null
|
|
36
|
+
versionId: string | null
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export type ShareVersionCountAggregateOutputType = {
|
|
40
|
+
id: number
|
|
41
|
+
shareId: number
|
|
42
|
+
versionId: number
|
|
43
|
+
_all: number
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
export type ShareVersionMinAggregateInputType = {
|
|
48
|
+
id?: true
|
|
49
|
+
shareId?: true
|
|
50
|
+
versionId?: true
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export type ShareVersionMaxAggregateInputType = {
|
|
54
|
+
id?: true
|
|
55
|
+
shareId?: true
|
|
56
|
+
versionId?: true
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export type ShareVersionCountAggregateInputType = {
|
|
60
|
+
id?: true
|
|
61
|
+
shareId?: true
|
|
62
|
+
versionId?: true
|
|
63
|
+
_all?: true
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export type ShareVersionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
67
|
+
/**
|
|
68
|
+
* Filter which ShareVersion to aggregate.
|
|
69
|
+
*/
|
|
70
|
+
where?: Prisma.ShareVersionWhereInput
|
|
71
|
+
/**
|
|
72
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
73
|
+
*
|
|
74
|
+
* Determine the order of ShareVersions to fetch.
|
|
75
|
+
*/
|
|
76
|
+
orderBy?: Prisma.ShareVersionOrderByWithRelationInput | Prisma.ShareVersionOrderByWithRelationInput[]
|
|
77
|
+
/**
|
|
78
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
79
|
+
*
|
|
80
|
+
* Sets the start position
|
|
81
|
+
*/
|
|
82
|
+
cursor?: Prisma.ShareVersionWhereUniqueInput
|
|
83
|
+
/**
|
|
84
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
85
|
+
*
|
|
86
|
+
* Take `±n` ShareVersions from the position of the cursor.
|
|
87
|
+
*/
|
|
88
|
+
take?: number
|
|
89
|
+
/**
|
|
90
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
91
|
+
*
|
|
92
|
+
* Skip the first `n` ShareVersions.
|
|
93
|
+
*/
|
|
94
|
+
skip?: number
|
|
95
|
+
/**
|
|
96
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
97
|
+
*
|
|
98
|
+
* Count returned ShareVersions
|
|
99
|
+
**/
|
|
100
|
+
_count?: true | ShareVersionCountAggregateInputType
|
|
101
|
+
/**
|
|
102
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
103
|
+
*
|
|
104
|
+
* Select which fields to find the minimum value
|
|
105
|
+
**/
|
|
106
|
+
_min?: ShareVersionMinAggregateInputType
|
|
107
|
+
/**
|
|
108
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
109
|
+
*
|
|
110
|
+
* Select which fields to find the maximum value
|
|
111
|
+
**/
|
|
112
|
+
_max?: ShareVersionMaxAggregateInputType
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export type GetShareVersionAggregateType<T extends ShareVersionAggregateArgs> = {
|
|
116
|
+
[P in keyof T & keyof AggregateShareVersion]: P extends '_count' | 'count'
|
|
117
|
+
? T[P] extends true
|
|
118
|
+
? number
|
|
119
|
+
: Prisma.GetScalarType<T[P], AggregateShareVersion[P]>
|
|
120
|
+
: Prisma.GetScalarType<T[P], AggregateShareVersion[P]>
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
export type ShareVersionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
127
|
+
where?: Prisma.ShareVersionWhereInput
|
|
128
|
+
orderBy?: Prisma.ShareVersionOrderByWithAggregationInput | Prisma.ShareVersionOrderByWithAggregationInput[]
|
|
129
|
+
by: Prisma.ShareVersionScalarFieldEnum[] | Prisma.ShareVersionScalarFieldEnum
|
|
130
|
+
having?: Prisma.ShareVersionScalarWhereWithAggregatesInput
|
|
131
|
+
take?: number
|
|
132
|
+
skip?: number
|
|
133
|
+
_count?: ShareVersionCountAggregateInputType | true
|
|
134
|
+
_min?: ShareVersionMinAggregateInputType
|
|
135
|
+
_max?: ShareVersionMaxAggregateInputType
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export type ShareVersionGroupByOutputType = {
|
|
139
|
+
id: string
|
|
140
|
+
shareId: string
|
|
141
|
+
versionId: string
|
|
142
|
+
_count: ShareVersionCountAggregateOutputType | null
|
|
143
|
+
_min: ShareVersionMinAggregateOutputType | null
|
|
144
|
+
_max: ShareVersionMaxAggregateOutputType | null
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export type GetShareVersionGroupByPayload<T extends ShareVersionGroupByArgs> = Prisma.PrismaPromise<
|
|
148
|
+
Array<
|
|
149
|
+
Prisma.PickEnumerable<ShareVersionGroupByOutputType, T['by']> &
|
|
150
|
+
{
|
|
151
|
+
[P in ((keyof T) & (keyof ShareVersionGroupByOutputType))]: P extends '_count'
|
|
152
|
+
? T[P] extends boolean
|
|
153
|
+
? number
|
|
154
|
+
: Prisma.GetScalarType<T[P], ShareVersionGroupByOutputType[P]>
|
|
155
|
+
: Prisma.GetScalarType<T[P], ShareVersionGroupByOutputType[P]>
|
|
156
|
+
}
|
|
157
|
+
>
|
|
158
|
+
>
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
export type ShareVersionWhereInput = {
|
|
163
|
+
AND?: Prisma.ShareVersionWhereInput | Prisma.ShareVersionWhereInput[]
|
|
164
|
+
OR?: Prisma.ShareVersionWhereInput[]
|
|
165
|
+
NOT?: Prisma.ShareVersionWhereInput | Prisma.ShareVersionWhereInput[]
|
|
166
|
+
id?: Prisma.StringFilter<"ShareVersion"> | string
|
|
167
|
+
shareId?: Prisma.StringFilter<"ShareVersion"> | string
|
|
168
|
+
versionId?: Prisma.StringFilter<"ShareVersion"> | string
|
|
169
|
+
share?: Prisma.XOR<Prisma.ShareScalarRelationFilter, Prisma.ShareWhereInput>
|
|
170
|
+
version?: Prisma.XOR<Prisma.PRDVersionScalarRelationFilter, Prisma.PRDVersionWhereInput>
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
export type ShareVersionOrderByWithRelationInput = {
|
|
174
|
+
id?: Prisma.SortOrder
|
|
175
|
+
shareId?: Prisma.SortOrder
|
|
176
|
+
versionId?: Prisma.SortOrder
|
|
177
|
+
share?: Prisma.ShareOrderByWithRelationInput
|
|
178
|
+
version?: Prisma.PRDVersionOrderByWithRelationInput
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
export type ShareVersionWhereUniqueInput = Prisma.AtLeast<{
|
|
182
|
+
id?: string
|
|
183
|
+
shareId_versionId?: Prisma.ShareVersionShareIdVersionIdCompoundUniqueInput
|
|
184
|
+
AND?: Prisma.ShareVersionWhereInput | Prisma.ShareVersionWhereInput[]
|
|
185
|
+
OR?: Prisma.ShareVersionWhereInput[]
|
|
186
|
+
NOT?: Prisma.ShareVersionWhereInput | Prisma.ShareVersionWhereInput[]
|
|
187
|
+
shareId?: Prisma.StringFilter<"ShareVersion"> | string
|
|
188
|
+
versionId?: Prisma.StringFilter<"ShareVersion"> | string
|
|
189
|
+
share?: Prisma.XOR<Prisma.ShareScalarRelationFilter, Prisma.ShareWhereInput>
|
|
190
|
+
version?: Prisma.XOR<Prisma.PRDVersionScalarRelationFilter, Prisma.PRDVersionWhereInput>
|
|
191
|
+
}, "id" | "shareId_versionId">
|
|
192
|
+
|
|
193
|
+
export type ShareVersionOrderByWithAggregationInput = {
|
|
194
|
+
id?: Prisma.SortOrder
|
|
195
|
+
shareId?: Prisma.SortOrder
|
|
196
|
+
versionId?: Prisma.SortOrder
|
|
197
|
+
_count?: Prisma.ShareVersionCountOrderByAggregateInput
|
|
198
|
+
_max?: Prisma.ShareVersionMaxOrderByAggregateInput
|
|
199
|
+
_min?: Prisma.ShareVersionMinOrderByAggregateInput
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
export type ShareVersionScalarWhereWithAggregatesInput = {
|
|
203
|
+
AND?: Prisma.ShareVersionScalarWhereWithAggregatesInput | Prisma.ShareVersionScalarWhereWithAggregatesInput[]
|
|
204
|
+
OR?: Prisma.ShareVersionScalarWhereWithAggregatesInput[]
|
|
205
|
+
NOT?: Prisma.ShareVersionScalarWhereWithAggregatesInput | Prisma.ShareVersionScalarWhereWithAggregatesInput[]
|
|
206
|
+
id?: Prisma.StringWithAggregatesFilter<"ShareVersion"> | string
|
|
207
|
+
shareId?: Prisma.StringWithAggregatesFilter<"ShareVersion"> | string
|
|
208
|
+
versionId?: Prisma.StringWithAggregatesFilter<"ShareVersion"> | string
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
export type ShareVersionCreateInput = {
|
|
212
|
+
id?: string
|
|
213
|
+
share: Prisma.ShareCreateNestedOneWithoutShareVersionsInput
|
|
214
|
+
version: Prisma.PRDVersionCreateNestedOneWithoutShareVersionsInput
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
export type ShareVersionUncheckedCreateInput = {
|
|
218
|
+
id?: string
|
|
219
|
+
shareId: string
|
|
220
|
+
versionId: string
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
export type ShareVersionUpdateInput = {
|
|
224
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
225
|
+
share?: Prisma.ShareUpdateOneRequiredWithoutShareVersionsNestedInput
|
|
226
|
+
version?: Prisma.PRDVersionUpdateOneRequiredWithoutShareVersionsNestedInput
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
export type ShareVersionUncheckedUpdateInput = {
|
|
230
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
231
|
+
shareId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
232
|
+
versionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
export type ShareVersionCreateManyInput = {
|
|
236
|
+
id?: string
|
|
237
|
+
shareId: string
|
|
238
|
+
versionId: string
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
export type ShareVersionUpdateManyMutationInput = {
|
|
242
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
export type ShareVersionUncheckedUpdateManyInput = {
|
|
246
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
247
|
+
shareId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
248
|
+
versionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
export type ShareVersionListRelationFilter = {
|
|
252
|
+
every?: Prisma.ShareVersionWhereInput
|
|
253
|
+
some?: Prisma.ShareVersionWhereInput
|
|
254
|
+
none?: Prisma.ShareVersionWhereInput
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
export type ShareVersionOrderByRelationAggregateInput = {
|
|
258
|
+
_count?: Prisma.SortOrder
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
export type ShareVersionShareIdVersionIdCompoundUniqueInput = {
|
|
262
|
+
shareId: string
|
|
263
|
+
versionId: string
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
export type ShareVersionCountOrderByAggregateInput = {
|
|
267
|
+
id?: Prisma.SortOrder
|
|
268
|
+
shareId?: Prisma.SortOrder
|
|
269
|
+
versionId?: Prisma.SortOrder
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
export type ShareVersionMaxOrderByAggregateInput = {
|
|
273
|
+
id?: Prisma.SortOrder
|
|
274
|
+
shareId?: Prisma.SortOrder
|
|
275
|
+
versionId?: Prisma.SortOrder
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
export type ShareVersionMinOrderByAggregateInput = {
|
|
279
|
+
id?: Prisma.SortOrder
|
|
280
|
+
shareId?: Prisma.SortOrder
|
|
281
|
+
versionId?: Prisma.SortOrder
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
export type ShareVersionCreateNestedManyWithoutVersionInput = {
|
|
285
|
+
create?: Prisma.XOR<Prisma.ShareVersionCreateWithoutVersionInput, Prisma.ShareVersionUncheckedCreateWithoutVersionInput> | Prisma.ShareVersionCreateWithoutVersionInput[] | Prisma.ShareVersionUncheckedCreateWithoutVersionInput[]
|
|
286
|
+
connectOrCreate?: Prisma.ShareVersionCreateOrConnectWithoutVersionInput | Prisma.ShareVersionCreateOrConnectWithoutVersionInput[]
|
|
287
|
+
createMany?: Prisma.ShareVersionCreateManyVersionInputEnvelope
|
|
288
|
+
connect?: Prisma.ShareVersionWhereUniqueInput | Prisma.ShareVersionWhereUniqueInput[]
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
export type ShareVersionUncheckedCreateNestedManyWithoutVersionInput = {
|
|
292
|
+
create?: Prisma.XOR<Prisma.ShareVersionCreateWithoutVersionInput, Prisma.ShareVersionUncheckedCreateWithoutVersionInput> | Prisma.ShareVersionCreateWithoutVersionInput[] | Prisma.ShareVersionUncheckedCreateWithoutVersionInput[]
|
|
293
|
+
connectOrCreate?: Prisma.ShareVersionCreateOrConnectWithoutVersionInput | Prisma.ShareVersionCreateOrConnectWithoutVersionInput[]
|
|
294
|
+
createMany?: Prisma.ShareVersionCreateManyVersionInputEnvelope
|
|
295
|
+
connect?: Prisma.ShareVersionWhereUniqueInput | Prisma.ShareVersionWhereUniqueInput[]
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
export type ShareVersionUpdateManyWithoutVersionNestedInput = {
|
|
299
|
+
create?: Prisma.XOR<Prisma.ShareVersionCreateWithoutVersionInput, Prisma.ShareVersionUncheckedCreateWithoutVersionInput> | Prisma.ShareVersionCreateWithoutVersionInput[] | Prisma.ShareVersionUncheckedCreateWithoutVersionInput[]
|
|
300
|
+
connectOrCreate?: Prisma.ShareVersionCreateOrConnectWithoutVersionInput | Prisma.ShareVersionCreateOrConnectWithoutVersionInput[]
|
|
301
|
+
upsert?: Prisma.ShareVersionUpsertWithWhereUniqueWithoutVersionInput | Prisma.ShareVersionUpsertWithWhereUniqueWithoutVersionInput[]
|
|
302
|
+
createMany?: Prisma.ShareVersionCreateManyVersionInputEnvelope
|
|
303
|
+
set?: Prisma.ShareVersionWhereUniqueInput | Prisma.ShareVersionWhereUniqueInput[]
|
|
304
|
+
disconnect?: Prisma.ShareVersionWhereUniqueInput | Prisma.ShareVersionWhereUniqueInput[]
|
|
305
|
+
delete?: Prisma.ShareVersionWhereUniqueInput | Prisma.ShareVersionWhereUniqueInput[]
|
|
306
|
+
connect?: Prisma.ShareVersionWhereUniqueInput | Prisma.ShareVersionWhereUniqueInput[]
|
|
307
|
+
update?: Prisma.ShareVersionUpdateWithWhereUniqueWithoutVersionInput | Prisma.ShareVersionUpdateWithWhereUniqueWithoutVersionInput[]
|
|
308
|
+
updateMany?: Prisma.ShareVersionUpdateManyWithWhereWithoutVersionInput | Prisma.ShareVersionUpdateManyWithWhereWithoutVersionInput[]
|
|
309
|
+
deleteMany?: Prisma.ShareVersionScalarWhereInput | Prisma.ShareVersionScalarWhereInput[]
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
export type ShareVersionUncheckedUpdateManyWithoutVersionNestedInput = {
|
|
313
|
+
create?: Prisma.XOR<Prisma.ShareVersionCreateWithoutVersionInput, Prisma.ShareVersionUncheckedCreateWithoutVersionInput> | Prisma.ShareVersionCreateWithoutVersionInput[] | Prisma.ShareVersionUncheckedCreateWithoutVersionInput[]
|
|
314
|
+
connectOrCreate?: Prisma.ShareVersionCreateOrConnectWithoutVersionInput | Prisma.ShareVersionCreateOrConnectWithoutVersionInput[]
|
|
315
|
+
upsert?: Prisma.ShareVersionUpsertWithWhereUniqueWithoutVersionInput | Prisma.ShareVersionUpsertWithWhereUniqueWithoutVersionInput[]
|
|
316
|
+
createMany?: Prisma.ShareVersionCreateManyVersionInputEnvelope
|
|
317
|
+
set?: Prisma.ShareVersionWhereUniqueInput | Prisma.ShareVersionWhereUniqueInput[]
|
|
318
|
+
disconnect?: Prisma.ShareVersionWhereUniqueInput | Prisma.ShareVersionWhereUniqueInput[]
|
|
319
|
+
delete?: Prisma.ShareVersionWhereUniqueInput | Prisma.ShareVersionWhereUniqueInput[]
|
|
320
|
+
connect?: Prisma.ShareVersionWhereUniqueInput | Prisma.ShareVersionWhereUniqueInput[]
|
|
321
|
+
update?: Prisma.ShareVersionUpdateWithWhereUniqueWithoutVersionInput | Prisma.ShareVersionUpdateWithWhereUniqueWithoutVersionInput[]
|
|
322
|
+
updateMany?: Prisma.ShareVersionUpdateManyWithWhereWithoutVersionInput | Prisma.ShareVersionUpdateManyWithWhereWithoutVersionInput[]
|
|
323
|
+
deleteMany?: Prisma.ShareVersionScalarWhereInput | Prisma.ShareVersionScalarWhereInput[]
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
export type ShareVersionCreateNestedManyWithoutShareInput = {
|
|
327
|
+
create?: Prisma.XOR<Prisma.ShareVersionCreateWithoutShareInput, Prisma.ShareVersionUncheckedCreateWithoutShareInput> | Prisma.ShareVersionCreateWithoutShareInput[] | Prisma.ShareVersionUncheckedCreateWithoutShareInput[]
|
|
328
|
+
connectOrCreate?: Prisma.ShareVersionCreateOrConnectWithoutShareInput | Prisma.ShareVersionCreateOrConnectWithoutShareInput[]
|
|
329
|
+
createMany?: Prisma.ShareVersionCreateManyShareInputEnvelope
|
|
330
|
+
connect?: Prisma.ShareVersionWhereUniqueInput | Prisma.ShareVersionWhereUniqueInput[]
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
export type ShareVersionUncheckedCreateNestedManyWithoutShareInput = {
|
|
334
|
+
create?: Prisma.XOR<Prisma.ShareVersionCreateWithoutShareInput, Prisma.ShareVersionUncheckedCreateWithoutShareInput> | Prisma.ShareVersionCreateWithoutShareInput[] | Prisma.ShareVersionUncheckedCreateWithoutShareInput[]
|
|
335
|
+
connectOrCreate?: Prisma.ShareVersionCreateOrConnectWithoutShareInput | Prisma.ShareVersionCreateOrConnectWithoutShareInput[]
|
|
336
|
+
createMany?: Prisma.ShareVersionCreateManyShareInputEnvelope
|
|
337
|
+
connect?: Prisma.ShareVersionWhereUniqueInput | Prisma.ShareVersionWhereUniqueInput[]
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
export type ShareVersionUpdateManyWithoutShareNestedInput = {
|
|
341
|
+
create?: Prisma.XOR<Prisma.ShareVersionCreateWithoutShareInput, Prisma.ShareVersionUncheckedCreateWithoutShareInput> | Prisma.ShareVersionCreateWithoutShareInput[] | Prisma.ShareVersionUncheckedCreateWithoutShareInput[]
|
|
342
|
+
connectOrCreate?: Prisma.ShareVersionCreateOrConnectWithoutShareInput | Prisma.ShareVersionCreateOrConnectWithoutShareInput[]
|
|
343
|
+
upsert?: Prisma.ShareVersionUpsertWithWhereUniqueWithoutShareInput | Prisma.ShareVersionUpsertWithWhereUniqueWithoutShareInput[]
|
|
344
|
+
createMany?: Prisma.ShareVersionCreateManyShareInputEnvelope
|
|
345
|
+
set?: Prisma.ShareVersionWhereUniqueInput | Prisma.ShareVersionWhereUniqueInput[]
|
|
346
|
+
disconnect?: Prisma.ShareVersionWhereUniqueInput | Prisma.ShareVersionWhereUniqueInput[]
|
|
347
|
+
delete?: Prisma.ShareVersionWhereUniqueInput | Prisma.ShareVersionWhereUniqueInput[]
|
|
348
|
+
connect?: Prisma.ShareVersionWhereUniqueInput | Prisma.ShareVersionWhereUniqueInput[]
|
|
349
|
+
update?: Prisma.ShareVersionUpdateWithWhereUniqueWithoutShareInput | Prisma.ShareVersionUpdateWithWhereUniqueWithoutShareInput[]
|
|
350
|
+
updateMany?: Prisma.ShareVersionUpdateManyWithWhereWithoutShareInput | Prisma.ShareVersionUpdateManyWithWhereWithoutShareInput[]
|
|
351
|
+
deleteMany?: Prisma.ShareVersionScalarWhereInput | Prisma.ShareVersionScalarWhereInput[]
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
export type ShareVersionUncheckedUpdateManyWithoutShareNestedInput = {
|
|
355
|
+
create?: Prisma.XOR<Prisma.ShareVersionCreateWithoutShareInput, Prisma.ShareVersionUncheckedCreateWithoutShareInput> | Prisma.ShareVersionCreateWithoutShareInput[] | Prisma.ShareVersionUncheckedCreateWithoutShareInput[]
|
|
356
|
+
connectOrCreate?: Prisma.ShareVersionCreateOrConnectWithoutShareInput | Prisma.ShareVersionCreateOrConnectWithoutShareInput[]
|
|
357
|
+
upsert?: Prisma.ShareVersionUpsertWithWhereUniqueWithoutShareInput | Prisma.ShareVersionUpsertWithWhereUniqueWithoutShareInput[]
|
|
358
|
+
createMany?: Prisma.ShareVersionCreateManyShareInputEnvelope
|
|
359
|
+
set?: Prisma.ShareVersionWhereUniqueInput | Prisma.ShareVersionWhereUniqueInput[]
|
|
360
|
+
disconnect?: Prisma.ShareVersionWhereUniqueInput | Prisma.ShareVersionWhereUniqueInput[]
|
|
361
|
+
delete?: Prisma.ShareVersionWhereUniqueInput | Prisma.ShareVersionWhereUniqueInput[]
|
|
362
|
+
connect?: Prisma.ShareVersionWhereUniqueInput | Prisma.ShareVersionWhereUniqueInput[]
|
|
363
|
+
update?: Prisma.ShareVersionUpdateWithWhereUniqueWithoutShareInput | Prisma.ShareVersionUpdateWithWhereUniqueWithoutShareInput[]
|
|
364
|
+
updateMany?: Prisma.ShareVersionUpdateManyWithWhereWithoutShareInput | Prisma.ShareVersionUpdateManyWithWhereWithoutShareInput[]
|
|
365
|
+
deleteMany?: Prisma.ShareVersionScalarWhereInput | Prisma.ShareVersionScalarWhereInput[]
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
export type ShareVersionCreateWithoutVersionInput = {
|
|
369
|
+
id?: string
|
|
370
|
+
share: Prisma.ShareCreateNestedOneWithoutShareVersionsInput
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
export type ShareVersionUncheckedCreateWithoutVersionInput = {
|
|
374
|
+
id?: string
|
|
375
|
+
shareId: string
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
export type ShareVersionCreateOrConnectWithoutVersionInput = {
|
|
379
|
+
where: Prisma.ShareVersionWhereUniqueInput
|
|
380
|
+
create: Prisma.XOR<Prisma.ShareVersionCreateWithoutVersionInput, Prisma.ShareVersionUncheckedCreateWithoutVersionInput>
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
export type ShareVersionCreateManyVersionInputEnvelope = {
|
|
384
|
+
data: Prisma.ShareVersionCreateManyVersionInput | Prisma.ShareVersionCreateManyVersionInput[]
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
export type ShareVersionUpsertWithWhereUniqueWithoutVersionInput = {
|
|
388
|
+
where: Prisma.ShareVersionWhereUniqueInput
|
|
389
|
+
update: Prisma.XOR<Prisma.ShareVersionUpdateWithoutVersionInput, Prisma.ShareVersionUncheckedUpdateWithoutVersionInput>
|
|
390
|
+
create: Prisma.XOR<Prisma.ShareVersionCreateWithoutVersionInput, Prisma.ShareVersionUncheckedCreateWithoutVersionInput>
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
export type ShareVersionUpdateWithWhereUniqueWithoutVersionInput = {
|
|
394
|
+
where: Prisma.ShareVersionWhereUniqueInput
|
|
395
|
+
data: Prisma.XOR<Prisma.ShareVersionUpdateWithoutVersionInput, Prisma.ShareVersionUncheckedUpdateWithoutVersionInput>
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
export type ShareVersionUpdateManyWithWhereWithoutVersionInput = {
|
|
399
|
+
where: Prisma.ShareVersionScalarWhereInput
|
|
400
|
+
data: Prisma.XOR<Prisma.ShareVersionUpdateManyMutationInput, Prisma.ShareVersionUncheckedUpdateManyWithoutVersionInput>
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
export type ShareVersionScalarWhereInput = {
|
|
404
|
+
AND?: Prisma.ShareVersionScalarWhereInput | Prisma.ShareVersionScalarWhereInput[]
|
|
405
|
+
OR?: Prisma.ShareVersionScalarWhereInput[]
|
|
406
|
+
NOT?: Prisma.ShareVersionScalarWhereInput | Prisma.ShareVersionScalarWhereInput[]
|
|
407
|
+
id?: Prisma.StringFilter<"ShareVersion"> | string
|
|
408
|
+
shareId?: Prisma.StringFilter<"ShareVersion"> | string
|
|
409
|
+
versionId?: Prisma.StringFilter<"ShareVersion"> | string
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
export type ShareVersionCreateWithoutShareInput = {
|
|
413
|
+
id?: string
|
|
414
|
+
version: Prisma.PRDVersionCreateNestedOneWithoutShareVersionsInput
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
export type ShareVersionUncheckedCreateWithoutShareInput = {
|
|
418
|
+
id?: string
|
|
419
|
+
versionId: string
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
export type ShareVersionCreateOrConnectWithoutShareInput = {
|
|
423
|
+
where: Prisma.ShareVersionWhereUniqueInput
|
|
424
|
+
create: Prisma.XOR<Prisma.ShareVersionCreateWithoutShareInput, Prisma.ShareVersionUncheckedCreateWithoutShareInput>
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
export type ShareVersionCreateManyShareInputEnvelope = {
|
|
428
|
+
data: Prisma.ShareVersionCreateManyShareInput | Prisma.ShareVersionCreateManyShareInput[]
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
export type ShareVersionUpsertWithWhereUniqueWithoutShareInput = {
|
|
432
|
+
where: Prisma.ShareVersionWhereUniqueInput
|
|
433
|
+
update: Prisma.XOR<Prisma.ShareVersionUpdateWithoutShareInput, Prisma.ShareVersionUncheckedUpdateWithoutShareInput>
|
|
434
|
+
create: Prisma.XOR<Prisma.ShareVersionCreateWithoutShareInput, Prisma.ShareVersionUncheckedCreateWithoutShareInput>
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
export type ShareVersionUpdateWithWhereUniqueWithoutShareInput = {
|
|
438
|
+
where: Prisma.ShareVersionWhereUniqueInput
|
|
439
|
+
data: Prisma.XOR<Prisma.ShareVersionUpdateWithoutShareInput, Prisma.ShareVersionUncheckedUpdateWithoutShareInput>
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
export type ShareVersionUpdateManyWithWhereWithoutShareInput = {
|
|
443
|
+
where: Prisma.ShareVersionScalarWhereInput
|
|
444
|
+
data: Prisma.XOR<Prisma.ShareVersionUpdateManyMutationInput, Prisma.ShareVersionUncheckedUpdateManyWithoutShareInput>
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
export type ShareVersionCreateManyVersionInput = {
|
|
448
|
+
id?: string
|
|
449
|
+
shareId: string
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
export type ShareVersionUpdateWithoutVersionInput = {
|
|
453
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
454
|
+
share?: Prisma.ShareUpdateOneRequiredWithoutShareVersionsNestedInput
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
export type ShareVersionUncheckedUpdateWithoutVersionInput = {
|
|
458
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
459
|
+
shareId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
export type ShareVersionUncheckedUpdateManyWithoutVersionInput = {
|
|
463
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
464
|
+
shareId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
export type ShareVersionCreateManyShareInput = {
|
|
468
|
+
id?: string
|
|
469
|
+
versionId: string
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
export type ShareVersionUpdateWithoutShareInput = {
|
|
473
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
474
|
+
version?: Prisma.PRDVersionUpdateOneRequiredWithoutShareVersionsNestedInput
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
export type ShareVersionUncheckedUpdateWithoutShareInput = {
|
|
478
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
479
|
+
versionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
export type ShareVersionUncheckedUpdateManyWithoutShareInput = {
|
|
483
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
484
|
+
versionId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
export type ShareVersionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
490
|
+
id?: boolean
|
|
491
|
+
shareId?: boolean
|
|
492
|
+
versionId?: boolean
|
|
493
|
+
share?: boolean | Prisma.ShareDefaultArgs<ExtArgs>
|
|
494
|
+
version?: boolean | Prisma.PRDVersionDefaultArgs<ExtArgs>
|
|
495
|
+
}, ExtArgs["result"]["shareVersion"]>
|
|
496
|
+
|
|
497
|
+
export type ShareVersionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
498
|
+
id?: boolean
|
|
499
|
+
shareId?: boolean
|
|
500
|
+
versionId?: boolean
|
|
501
|
+
share?: boolean | Prisma.ShareDefaultArgs<ExtArgs>
|
|
502
|
+
version?: boolean | Prisma.PRDVersionDefaultArgs<ExtArgs>
|
|
503
|
+
}, ExtArgs["result"]["shareVersion"]>
|
|
504
|
+
|
|
505
|
+
export type ShareVersionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
506
|
+
id?: boolean
|
|
507
|
+
shareId?: boolean
|
|
508
|
+
versionId?: boolean
|
|
509
|
+
share?: boolean | Prisma.ShareDefaultArgs<ExtArgs>
|
|
510
|
+
version?: boolean | Prisma.PRDVersionDefaultArgs<ExtArgs>
|
|
511
|
+
}, ExtArgs["result"]["shareVersion"]>
|
|
512
|
+
|
|
513
|
+
export type ShareVersionSelectScalar = {
|
|
514
|
+
id?: boolean
|
|
515
|
+
shareId?: boolean
|
|
516
|
+
versionId?: boolean
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
export type ShareVersionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "shareId" | "versionId", ExtArgs["result"]["shareVersion"]>
|
|
520
|
+
export type ShareVersionInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
521
|
+
share?: boolean | Prisma.ShareDefaultArgs<ExtArgs>
|
|
522
|
+
version?: boolean | Prisma.PRDVersionDefaultArgs<ExtArgs>
|
|
523
|
+
}
|
|
524
|
+
export type ShareVersionIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
525
|
+
share?: boolean | Prisma.ShareDefaultArgs<ExtArgs>
|
|
526
|
+
version?: boolean | Prisma.PRDVersionDefaultArgs<ExtArgs>
|
|
527
|
+
}
|
|
528
|
+
export type ShareVersionIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
529
|
+
share?: boolean | Prisma.ShareDefaultArgs<ExtArgs>
|
|
530
|
+
version?: boolean | Prisma.PRDVersionDefaultArgs<ExtArgs>
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
export type $ShareVersionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
534
|
+
name: "ShareVersion"
|
|
535
|
+
objects: {
|
|
536
|
+
share: Prisma.$SharePayload<ExtArgs>
|
|
537
|
+
version: Prisma.$PRDVersionPayload<ExtArgs>
|
|
538
|
+
}
|
|
539
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
540
|
+
id: string
|
|
541
|
+
shareId: string
|
|
542
|
+
versionId: string
|
|
543
|
+
}, ExtArgs["result"]["shareVersion"]>
|
|
544
|
+
composites: {}
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
export type ShareVersionGetPayload<S extends boolean | null | undefined | ShareVersionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ShareVersionPayload, S>
|
|
548
|
+
|
|
549
|
+
export type ShareVersionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
550
|
+
Omit<ShareVersionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
551
|
+
select?: ShareVersionCountAggregateInputType | true
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
export interface ShareVersionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
555
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ShareVersion'], meta: { name: 'ShareVersion' } }
|
|
556
|
+
/**
|
|
557
|
+
* Find zero or one ShareVersion that matches the filter.
|
|
558
|
+
* @param {ShareVersionFindUniqueArgs} args - Arguments to find a ShareVersion
|
|
559
|
+
* @example
|
|
560
|
+
* // Get one ShareVersion
|
|
561
|
+
* const shareVersion = await prisma.shareVersion.findUnique({
|
|
562
|
+
* where: {
|
|
563
|
+
* // ... provide filter here
|
|
564
|
+
* }
|
|
565
|
+
* })
|
|
566
|
+
*/
|
|
567
|
+
findUnique<T extends ShareVersionFindUniqueArgs>(args: Prisma.SelectSubset<T, ShareVersionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ShareVersionClient<runtime.Types.Result.GetResult<Prisma.$ShareVersionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* Find one ShareVersion that matches the filter or throw an error with `error.code='P2025'`
|
|
571
|
+
* if no matches were found.
|
|
572
|
+
* @param {ShareVersionFindUniqueOrThrowArgs} args - Arguments to find a ShareVersion
|
|
573
|
+
* @example
|
|
574
|
+
* // Get one ShareVersion
|
|
575
|
+
* const shareVersion = await prisma.shareVersion.findUniqueOrThrow({
|
|
576
|
+
* where: {
|
|
577
|
+
* // ... provide filter here
|
|
578
|
+
* }
|
|
579
|
+
* })
|
|
580
|
+
*/
|
|
581
|
+
findUniqueOrThrow<T extends ShareVersionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ShareVersionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ShareVersionClient<runtime.Types.Result.GetResult<Prisma.$ShareVersionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* Find the first ShareVersion that matches the filter.
|
|
585
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
586
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
587
|
+
* @param {ShareVersionFindFirstArgs} args - Arguments to find a ShareVersion
|
|
588
|
+
* @example
|
|
589
|
+
* // Get one ShareVersion
|
|
590
|
+
* const shareVersion = await prisma.shareVersion.findFirst({
|
|
591
|
+
* where: {
|
|
592
|
+
* // ... provide filter here
|
|
593
|
+
* }
|
|
594
|
+
* })
|
|
595
|
+
*/
|
|
596
|
+
findFirst<T extends ShareVersionFindFirstArgs>(args?: Prisma.SelectSubset<T, ShareVersionFindFirstArgs<ExtArgs>>): Prisma.Prisma__ShareVersionClient<runtime.Types.Result.GetResult<Prisma.$ShareVersionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* Find the first ShareVersion that matches the filter or
|
|
600
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
601
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
602
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
603
|
+
* @param {ShareVersionFindFirstOrThrowArgs} args - Arguments to find a ShareVersion
|
|
604
|
+
* @example
|
|
605
|
+
* // Get one ShareVersion
|
|
606
|
+
* const shareVersion = await prisma.shareVersion.findFirstOrThrow({
|
|
607
|
+
* where: {
|
|
608
|
+
* // ... provide filter here
|
|
609
|
+
* }
|
|
610
|
+
* })
|
|
611
|
+
*/
|
|
612
|
+
findFirstOrThrow<T extends ShareVersionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ShareVersionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ShareVersionClient<runtime.Types.Result.GetResult<Prisma.$ShareVersionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* Find zero or more ShareVersions that matches the filter.
|
|
616
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
617
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
618
|
+
* @param {ShareVersionFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
619
|
+
* @example
|
|
620
|
+
* // Get all ShareVersions
|
|
621
|
+
* const shareVersions = await prisma.shareVersion.findMany()
|
|
622
|
+
*
|
|
623
|
+
* // Get first 10 ShareVersions
|
|
624
|
+
* const shareVersions = await prisma.shareVersion.findMany({ take: 10 })
|
|
625
|
+
*
|
|
626
|
+
* // Only select the `id`
|
|
627
|
+
* const shareVersionWithIdOnly = await prisma.shareVersion.findMany({ select: { id: true } })
|
|
628
|
+
*
|
|
629
|
+
*/
|
|
630
|
+
findMany<T extends ShareVersionFindManyArgs>(args?: Prisma.SelectSubset<T, ShareVersionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ShareVersionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
* Create a ShareVersion.
|
|
634
|
+
* @param {ShareVersionCreateArgs} args - Arguments to create a ShareVersion.
|
|
635
|
+
* @example
|
|
636
|
+
* // Create one ShareVersion
|
|
637
|
+
* const ShareVersion = await prisma.shareVersion.create({
|
|
638
|
+
* data: {
|
|
639
|
+
* // ... data to create a ShareVersion
|
|
640
|
+
* }
|
|
641
|
+
* })
|
|
642
|
+
*
|
|
643
|
+
*/
|
|
644
|
+
create<T extends ShareVersionCreateArgs>(args: Prisma.SelectSubset<T, ShareVersionCreateArgs<ExtArgs>>): Prisma.Prisma__ShareVersionClient<runtime.Types.Result.GetResult<Prisma.$ShareVersionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
645
|
+
|
|
646
|
+
/**
|
|
647
|
+
* Create many ShareVersions.
|
|
648
|
+
* @param {ShareVersionCreateManyArgs} args - Arguments to create many ShareVersions.
|
|
649
|
+
* @example
|
|
650
|
+
* // Create many ShareVersions
|
|
651
|
+
* const shareVersion = await prisma.shareVersion.createMany({
|
|
652
|
+
* data: [
|
|
653
|
+
* // ... provide data here
|
|
654
|
+
* ]
|
|
655
|
+
* })
|
|
656
|
+
*
|
|
657
|
+
*/
|
|
658
|
+
createMany<T extends ShareVersionCreateManyArgs>(args?: Prisma.SelectSubset<T, ShareVersionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
659
|
+
|
|
660
|
+
/**
|
|
661
|
+
* Create many ShareVersions and returns the data saved in the database.
|
|
662
|
+
* @param {ShareVersionCreateManyAndReturnArgs} args - Arguments to create many ShareVersions.
|
|
663
|
+
* @example
|
|
664
|
+
* // Create many ShareVersions
|
|
665
|
+
* const shareVersion = await prisma.shareVersion.createManyAndReturn({
|
|
666
|
+
* data: [
|
|
667
|
+
* // ... provide data here
|
|
668
|
+
* ]
|
|
669
|
+
* })
|
|
670
|
+
*
|
|
671
|
+
* // Create many ShareVersions and only return the `id`
|
|
672
|
+
* const shareVersionWithIdOnly = await prisma.shareVersion.createManyAndReturn({
|
|
673
|
+
* select: { id: true },
|
|
674
|
+
* data: [
|
|
675
|
+
* // ... provide data here
|
|
676
|
+
* ]
|
|
677
|
+
* })
|
|
678
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
679
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
680
|
+
*
|
|
681
|
+
*/
|
|
682
|
+
createManyAndReturn<T extends ShareVersionCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ShareVersionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ShareVersionPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* Delete a ShareVersion.
|
|
686
|
+
* @param {ShareVersionDeleteArgs} args - Arguments to delete one ShareVersion.
|
|
687
|
+
* @example
|
|
688
|
+
* // Delete one ShareVersion
|
|
689
|
+
* const ShareVersion = await prisma.shareVersion.delete({
|
|
690
|
+
* where: {
|
|
691
|
+
* // ... filter to delete one ShareVersion
|
|
692
|
+
* }
|
|
693
|
+
* })
|
|
694
|
+
*
|
|
695
|
+
*/
|
|
696
|
+
delete<T extends ShareVersionDeleteArgs>(args: Prisma.SelectSubset<T, ShareVersionDeleteArgs<ExtArgs>>): Prisma.Prisma__ShareVersionClient<runtime.Types.Result.GetResult<Prisma.$ShareVersionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
697
|
+
|
|
698
|
+
/**
|
|
699
|
+
* Update one ShareVersion.
|
|
700
|
+
* @param {ShareVersionUpdateArgs} args - Arguments to update one ShareVersion.
|
|
701
|
+
* @example
|
|
702
|
+
* // Update one ShareVersion
|
|
703
|
+
* const shareVersion = await prisma.shareVersion.update({
|
|
704
|
+
* where: {
|
|
705
|
+
* // ... provide filter here
|
|
706
|
+
* },
|
|
707
|
+
* data: {
|
|
708
|
+
* // ... provide data here
|
|
709
|
+
* }
|
|
710
|
+
* })
|
|
711
|
+
*
|
|
712
|
+
*/
|
|
713
|
+
update<T extends ShareVersionUpdateArgs>(args: Prisma.SelectSubset<T, ShareVersionUpdateArgs<ExtArgs>>): Prisma.Prisma__ShareVersionClient<runtime.Types.Result.GetResult<Prisma.$ShareVersionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
714
|
+
|
|
715
|
+
/**
|
|
716
|
+
* Delete zero or more ShareVersions.
|
|
717
|
+
* @param {ShareVersionDeleteManyArgs} args - Arguments to filter ShareVersions to delete.
|
|
718
|
+
* @example
|
|
719
|
+
* // Delete a few ShareVersions
|
|
720
|
+
* const { count } = await prisma.shareVersion.deleteMany({
|
|
721
|
+
* where: {
|
|
722
|
+
* // ... provide filter here
|
|
723
|
+
* }
|
|
724
|
+
* })
|
|
725
|
+
*
|
|
726
|
+
*/
|
|
727
|
+
deleteMany<T extends ShareVersionDeleteManyArgs>(args?: Prisma.SelectSubset<T, ShareVersionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
728
|
+
|
|
729
|
+
/**
|
|
730
|
+
* Update zero or more ShareVersions.
|
|
731
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
732
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
733
|
+
* @param {ShareVersionUpdateManyArgs} args - Arguments to update one or more rows.
|
|
734
|
+
* @example
|
|
735
|
+
* // Update many ShareVersions
|
|
736
|
+
* const shareVersion = await prisma.shareVersion.updateMany({
|
|
737
|
+
* where: {
|
|
738
|
+
* // ... provide filter here
|
|
739
|
+
* },
|
|
740
|
+
* data: {
|
|
741
|
+
* // ... provide data here
|
|
742
|
+
* }
|
|
743
|
+
* })
|
|
744
|
+
*
|
|
745
|
+
*/
|
|
746
|
+
updateMany<T extends ShareVersionUpdateManyArgs>(args: Prisma.SelectSubset<T, ShareVersionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
747
|
+
|
|
748
|
+
/**
|
|
749
|
+
* Update zero or more ShareVersions and returns the data updated in the database.
|
|
750
|
+
* @param {ShareVersionUpdateManyAndReturnArgs} args - Arguments to update many ShareVersions.
|
|
751
|
+
* @example
|
|
752
|
+
* // Update many ShareVersions
|
|
753
|
+
* const shareVersion = await prisma.shareVersion.updateManyAndReturn({
|
|
754
|
+
* where: {
|
|
755
|
+
* // ... provide filter here
|
|
756
|
+
* },
|
|
757
|
+
* data: [
|
|
758
|
+
* // ... provide data here
|
|
759
|
+
* ]
|
|
760
|
+
* })
|
|
761
|
+
*
|
|
762
|
+
* // Update zero or more ShareVersions and only return the `id`
|
|
763
|
+
* const shareVersionWithIdOnly = await prisma.shareVersion.updateManyAndReturn({
|
|
764
|
+
* select: { id: true },
|
|
765
|
+
* where: {
|
|
766
|
+
* // ... provide filter here
|
|
767
|
+
* },
|
|
768
|
+
* data: [
|
|
769
|
+
* // ... provide data here
|
|
770
|
+
* ]
|
|
771
|
+
* })
|
|
772
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
773
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
774
|
+
*
|
|
775
|
+
*/
|
|
776
|
+
updateManyAndReturn<T extends ShareVersionUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ShareVersionUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ShareVersionPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
777
|
+
|
|
778
|
+
/**
|
|
779
|
+
* Create or update one ShareVersion.
|
|
780
|
+
* @param {ShareVersionUpsertArgs} args - Arguments to update or create a ShareVersion.
|
|
781
|
+
* @example
|
|
782
|
+
* // Update or create a ShareVersion
|
|
783
|
+
* const shareVersion = await prisma.shareVersion.upsert({
|
|
784
|
+
* create: {
|
|
785
|
+
* // ... data to create a ShareVersion
|
|
786
|
+
* },
|
|
787
|
+
* update: {
|
|
788
|
+
* // ... in case it already exists, update
|
|
789
|
+
* },
|
|
790
|
+
* where: {
|
|
791
|
+
* // ... the filter for the ShareVersion we want to update
|
|
792
|
+
* }
|
|
793
|
+
* })
|
|
794
|
+
*/
|
|
795
|
+
upsert<T extends ShareVersionUpsertArgs>(args: Prisma.SelectSubset<T, ShareVersionUpsertArgs<ExtArgs>>): Prisma.Prisma__ShareVersionClient<runtime.Types.Result.GetResult<Prisma.$ShareVersionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
796
|
+
|
|
797
|
+
|
|
798
|
+
/**
|
|
799
|
+
* Count the number of ShareVersions.
|
|
800
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
801
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
802
|
+
* @param {ShareVersionCountArgs} args - Arguments to filter ShareVersions to count.
|
|
803
|
+
* @example
|
|
804
|
+
* // Count the number of ShareVersions
|
|
805
|
+
* const count = await prisma.shareVersion.count({
|
|
806
|
+
* where: {
|
|
807
|
+
* // ... the filter for the ShareVersions we want to count
|
|
808
|
+
* }
|
|
809
|
+
* })
|
|
810
|
+
**/
|
|
811
|
+
count<T extends ShareVersionCountArgs>(
|
|
812
|
+
args?: Prisma.Subset<T, ShareVersionCountArgs>,
|
|
813
|
+
): Prisma.PrismaPromise<
|
|
814
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
815
|
+
? T['select'] extends true
|
|
816
|
+
? number
|
|
817
|
+
: Prisma.GetScalarType<T['select'], ShareVersionCountAggregateOutputType>
|
|
818
|
+
: number
|
|
819
|
+
>
|
|
820
|
+
|
|
821
|
+
/**
|
|
822
|
+
* Allows you to perform aggregations operations on a ShareVersion.
|
|
823
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
824
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
825
|
+
* @param {ShareVersionAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
826
|
+
* @example
|
|
827
|
+
* // Ordered by age ascending
|
|
828
|
+
* // Where email contains prisma.io
|
|
829
|
+
* // Limited to the 10 users
|
|
830
|
+
* const aggregations = await prisma.user.aggregate({
|
|
831
|
+
* _avg: {
|
|
832
|
+
* age: true,
|
|
833
|
+
* },
|
|
834
|
+
* where: {
|
|
835
|
+
* email: {
|
|
836
|
+
* contains: "prisma.io",
|
|
837
|
+
* },
|
|
838
|
+
* },
|
|
839
|
+
* orderBy: {
|
|
840
|
+
* age: "asc",
|
|
841
|
+
* },
|
|
842
|
+
* take: 10,
|
|
843
|
+
* })
|
|
844
|
+
**/
|
|
845
|
+
aggregate<T extends ShareVersionAggregateArgs>(args: Prisma.Subset<T, ShareVersionAggregateArgs>): Prisma.PrismaPromise<GetShareVersionAggregateType<T>>
|
|
846
|
+
|
|
847
|
+
/**
|
|
848
|
+
* Group by ShareVersion.
|
|
849
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
850
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
851
|
+
* @param {ShareVersionGroupByArgs} args - Group by arguments.
|
|
852
|
+
* @example
|
|
853
|
+
* // Group by city, order by createdAt, get count
|
|
854
|
+
* const result = await prisma.user.groupBy({
|
|
855
|
+
* by: ['city', 'createdAt'],
|
|
856
|
+
* orderBy: {
|
|
857
|
+
* createdAt: true
|
|
858
|
+
* },
|
|
859
|
+
* _count: {
|
|
860
|
+
* _all: true
|
|
861
|
+
* },
|
|
862
|
+
* })
|
|
863
|
+
*
|
|
864
|
+
**/
|
|
865
|
+
groupBy<
|
|
866
|
+
T extends ShareVersionGroupByArgs,
|
|
867
|
+
HasSelectOrTake extends Prisma.Or<
|
|
868
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
869
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
870
|
+
>,
|
|
871
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
872
|
+
? { orderBy: ShareVersionGroupByArgs['orderBy'] }
|
|
873
|
+
: { orderBy?: ShareVersionGroupByArgs['orderBy'] },
|
|
874
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
875
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
876
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
877
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
878
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
879
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
880
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
881
|
+
? `Error: "by" must not be empty.`
|
|
882
|
+
: HavingValid extends Prisma.False
|
|
883
|
+
? {
|
|
884
|
+
[P in HavingFields]: P extends ByFields
|
|
885
|
+
? never
|
|
886
|
+
: P extends string
|
|
887
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
888
|
+
: [
|
|
889
|
+
Error,
|
|
890
|
+
'Field ',
|
|
891
|
+
P,
|
|
892
|
+
` in "having" needs to be provided in "by"`,
|
|
893
|
+
]
|
|
894
|
+
}[HavingFields]
|
|
895
|
+
: 'take' extends Prisma.Keys<T>
|
|
896
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
897
|
+
? ByValid extends Prisma.True
|
|
898
|
+
? {}
|
|
899
|
+
: {
|
|
900
|
+
[P in OrderFields]: P extends ByFields
|
|
901
|
+
? never
|
|
902
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
903
|
+
}[OrderFields]
|
|
904
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
905
|
+
: 'skip' extends Prisma.Keys<T>
|
|
906
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
907
|
+
? ByValid extends Prisma.True
|
|
908
|
+
? {}
|
|
909
|
+
: {
|
|
910
|
+
[P in OrderFields]: P extends ByFields
|
|
911
|
+
? never
|
|
912
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
913
|
+
}[OrderFields]
|
|
914
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
915
|
+
: ByValid extends Prisma.True
|
|
916
|
+
? {}
|
|
917
|
+
: {
|
|
918
|
+
[P in OrderFields]: P extends ByFields
|
|
919
|
+
? never
|
|
920
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
921
|
+
}[OrderFields]
|
|
922
|
+
>(args: Prisma.SubsetIntersection<T, ShareVersionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetShareVersionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
923
|
+
/**
|
|
924
|
+
* Fields of the ShareVersion model
|
|
925
|
+
*/
|
|
926
|
+
readonly fields: ShareVersionFieldRefs;
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
/**
|
|
930
|
+
* The delegate class that acts as a "Promise-like" for ShareVersion.
|
|
931
|
+
* Why is this prefixed with `Prisma__`?
|
|
932
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
933
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
934
|
+
*/
|
|
935
|
+
export interface Prisma__ShareVersionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
936
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
937
|
+
share<T extends Prisma.ShareDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ShareDefaultArgs<ExtArgs>>): Prisma.Prisma__ShareClient<runtime.Types.Result.GetResult<Prisma.$SharePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
938
|
+
version<T extends Prisma.PRDVersionDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PRDVersionDefaultArgs<ExtArgs>>): Prisma.Prisma__PRDVersionClient<runtime.Types.Result.GetResult<Prisma.$PRDVersionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
939
|
+
/**
|
|
940
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
941
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
942
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
943
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
944
|
+
*/
|
|
945
|
+
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>
|
|
946
|
+
/**
|
|
947
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
948
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
949
|
+
* @returns A Promise for the completion of the callback.
|
|
950
|
+
*/
|
|
951
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
952
|
+
/**
|
|
953
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
954
|
+
* resolved value cannot be modified from the callback.
|
|
955
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
956
|
+
* @returns A Promise for the completion of the callback.
|
|
957
|
+
*/
|
|
958
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
|
|
962
|
+
|
|
963
|
+
|
|
964
|
+
/**
|
|
965
|
+
* Fields of the ShareVersion model
|
|
966
|
+
*/
|
|
967
|
+
export interface ShareVersionFieldRefs {
|
|
968
|
+
readonly id: Prisma.FieldRef<"ShareVersion", 'String'>
|
|
969
|
+
readonly shareId: Prisma.FieldRef<"ShareVersion", 'String'>
|
|
970
|
+
readonly versionId: Prisma.FieldRef<"ShareVersion", 'String'>
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
|
|
974
|
+
// Custom InputTypes
|
|
975
|
+
/**
|
|
976
|
+
* ShareVersion findUnique
|
|
977
|
+
*/
|
|
978
|
+
export type ShareVersionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
979
|
+
/**
|
|
980
|
+
* Select specific fields to fetch from the ShareVersion
|
|
981
|
+
*/
|
|
982
|
+
select?: Prisma.ShareVersionSelect<ExtArgs> | null
|
|
983
|
+
/**
|
|
984
|
+
* Omit specific fields from the ShareVersion
|
|
985
|
+
*/
|
|
986
|
+
omit?: Prisma.ShareVersionOmit<ExtArgs> | null
|
|
987
|
+
/**
|
|
988
|
+
* Choose, which related nodes to fetch as well
|
|
989
|
+
*/
|
|
990
|
+
include?: Prisma.ShareVersionInclude<ExtArgs> | null
|
|
991
|
+
/**
|
|
992
|
+
* Filter, which ShareVersion to fetch.
|
|
993
|
+
*/
|
|
994
|
+
where: Prisma.ShareVersionWhereUniqueInput
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
/**
|
|
998
|
+
* ShareVersion findUniqueOrThrow
|
|
999
|
+
*/
|
|
1000
|
+
export type ShareVersionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1001
|
+
/**
|
|
1002
|
+
* Select specific fields to fetch from the ShareVersion
|
|
1003
|
+
*/
|
|
1004
|
+
select?: Prisma.ShareVersionSelect<ExtArgs> | null
|
|
1005
|
+
/**
|
|
1006
|
+
* Omit specific fields from the ShareVersion
|
|
1007
|
+
*/
|
|
1008
|
+
omit?: Prisma.ShareVersionOmit<ExtArgs> | null
|
|
1009
|
+
/**
|
|
1010
|
+
* Choose, which related nodes to fetch as well
|
|
1011
|
+
*/
|
|
1012
|
+
include?: Prisma.ShareVersionInclude<ExtArgs> | null
|
|
1013
|
+
/**
|
|
1014
|
+
* Filter, which ShareVersion to fetch.
|
|
1015
|
+
*/
|
|
1016
|
+
where: Prisma.ShareVersionWhereUniqueInput
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
/**
|
|
1020
|
+
* ShareVersion findFirst
|
|
1021
|
+
*/
|
|
1022
|
+
export type ShareVersionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1023
|
+
/**
|
|
1024
|
+
* Select specific fields to fetch from the ShareVersion
|
|
1025
|
+
*/
|
|
1026
|
+
select?: Prisma.ShareVersionSelect<ExtArgs> | null
|
|
1027
|
+
/**
|
|
1028
|
+
* Omit specific fields from the ShareVersion
|
|
1029
|
+
*/
|
|
1030
|
+
omit?: Prisma.ShareVersionOmit<ExtArgs> | null
|
|
1031
|
+
/**
|
|
1032
|
+
* Choose, which related nodes to fetch as well
|
|
1033
|
+
*/
|
|
1034
|
+
include?: Prisma.ShareVersionInclude<ExtArgs> | null
|
|
1035
|
+
/**
|
|
1036
|
+
* Filter, which ShareVersion to fetch.
|
|
1037
|
+
*/
|
|
1038
|
+
where?: Prisma.ShareVersionWhereInput
|
|
1039
|
+
/**
|
|
1040
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1041
|
+
*
|
|
1042
|
+
* Determine the order of ShareVersions to fetch.
|
|
1043
|
+
*/
|
|
1044
|
+
orderBy?: Prisma.ShareVersionOrderByWithRelationInput | Prisma.ShareVersionOrderByWithRelationInput[]
|
|
1045
|
+
/**
|
|
1046
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1047
|
+
*
|
|
1048
|
+
* Sets the position for searching for ShareVersions.
|
|
1049
|
+
*/
|
|
1050
|
+
cursor?: Prisma.ShareVersionWhereUniqueInput
|
|
1051
|
+
/**
|
|
1052
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1053
|
+
*
|
|
1054
|
+
* Take `±n` ShareVersions from the position of the cursor.
|
|
1055
|
+
*/
|
|
1056
|
+
take?: number
|
|
1057
|
+
/**
|
|
1058
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1059
|
+
*
|
|
1060
|
+
* Skip the first `n` ShareVersions.
|
|
1061
|
+
*/
|
|
1062
|
+
skip?: number
|
|
1063
|
+
/**
|
|
1064
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1065
|
+
*
|
|
1066
|
+
* Filter by unique combinations of ShareVersions.
|
|
1067
|
+
*/
|
|
1068
|
+
distinct?: Prisma.ShareVersionScalarFieldEnum | Prisma.ShareVersionScalarFieldEnum[]
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
/**
|
|
1072
|
+
* ShareVersion findFirstOrThrow
|
|
1073
|
+
*/
|
|
1074
|
+
export type ShareVersionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1075
|
+
/**
|
|
1076
|
+
* Select specific fields to fetch from the ShareVersion
|
|
1077
|
+
*/
|
|
1078
|
+
select?: Prisma.ShareVersionSelect<ExtArgs> | null
|
|
1079
|
+
/**
|
|
1080
|
+
* Omit specific fields from the ShareVersion
|
|
1081
|
+
*/
|
|
1082
|
+
omit?: Prisma.ShareVersionOmit<ExtArgs> | null
|
|
1083
|
+
/**
|
|
1084
|
+
* Choose, which related nodes to fetch as well
|
|
1085
|
+
*/
|
|
1086
|
+
include?: Prisma.ShareVersionInclude<ExtArgs> | null
|
|
1087
|
+
/**
|
|
1088
|
+
* Filter, which ShareVersion to fetch.
|
|
1089
|
+
*/
|
|
1090
|
+
where?: Prisma.ShareVersionWhereInput
|
|
1091
|
+
/**
|
|
1092
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1093
|
+
*
|
|
1094
|
+
* Determine the order of ShareVersions to fetch.
|
|
1095
|
+
*/
|
|
1096
|
+
orderBy?: Prisma.ShareVersionOrderByWithRelationInput | Prisma.ShareVersionOrderByWithRelationInput[]
|
|
1097
|
+
/**
|
|
1098
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1099
|
+
*
|
|
1100
|
+
* Sets the position for searching for ShareVersions.
|
|
1101
|
+
*/
|
|
1102
|
+
cursor?: Prisma.ShareVersionWhereUniqueInput
|
|
1103
|
+
/**
|
|
1104
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1105
|
+
*
|
|
1106
|
+
* Take `±n` ShareVersions from the position of the cursor.
|
|
1107
|
+
*/
|
|
1108
|
+
take?: number
|
|
1109
|
+
/**
|
|
1110
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1111
|
+
*
|
|
1112
|
+
* Skip the first `n` ShareVersions.
|
|
1113
|
+
*/
|
|
1114
|
+
skip?: number
|
|
1115
|
+
/**
|
|
1116
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1117
|
+
*
|
|
1118
|
+
* Filter by unique combinations of ShareVersions.
|
|
1119
|
+
*/
|
|
1120
|
+
distinct?: Prisma.ShareVersionScalarFieldEnum | Prisma.ShareVersionScalarFieldEnum[]
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1123
|
+
/**
|
|
1124
|
+
* ShareVersion findMany
|
|
1125
|
+
*/
|
|
1126
|
+
export type ShareVersionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1127
|
+
/**
|
|
1128
|
+
* Select specific fields to fetch from the ShareVersion
|
|
1129
|
+
*/
|
|
1130
|
+
select?: Prisma.ShareVersionSelect<ExtArgs> | null
|
|
1131
|
+
/**
|
|
1132
|
+
* Omit specific fields from the ShareVersion
|
|
1133
|
+
*/
|
|
1134
|
+
omit?: Prisma.ShareVersionOmit<ExtArgs> | null
|
|
1135
|
+
/**
|
|
1136
|
+
* Choose, which related nodes to fetch as well
|
|
1137
|
+
*/
|
|
1138
|
+
include?: Prisma.ShareVersionInclude<ExtArgs> | null
|
|
1139
|
+
/**
|
|
1140
|
+
* Filter, which ShareVersions to fetch.
|
|
1141
|
+
*/
|
|
1142
|
+
where?: Prisma.ShareVersionWhereInput
|
|
1143
|
+
/**
|
|
1144
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1145
|
+
*
|
|
1146
|
+
* Determine the order of ShareVersions to fetch.
|
|
1147
|
+
*/
|
|
1148
|
+
orderBy?: Prisma.ShareVersionOrderByWithRelationInput | Prisma.ShareVersionOrderByWithRelationInput[]
|
|
1149
|
+
/**
|
|
1150
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1151
|
+
*
|
|
1152
|
+
* Sets the position for listing ShareVersions.
|
|
1153
|
+
*/
|
|
1154
|
+
cursor?: Prisma.ShareVersionWhereUniqueInput
|
|
1155
|
+
/**
|
|
1156
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1157
|
+
*
|
|
1158
|
+
* Take `±n` ShareVersions from the position of the cursor.
|
|
1159
|
+
*/
|
|
1160
|
+
take?: number
|
|
1161
|
+
/**
|
|
1162
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1163
|
+
*
|
|
1164
|
+
* Skip the first `n` ShareVersions.
|
|
1165
|
+
*/
|
|
1166
|
+
skip?: number
|
|
1167
|
+
/**
|
|
1168
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1169
|
+
*
|
|
1170
|
+
* Filter by unique combinations of ShareVersions.
|
|
1171
|
+
*/
|
|
1172
|
+
distinct?: Prisma.ShareVersionScalarFieldEnum | Prisma.ShareVersionScalarFieldEnum[]
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
/**
|
|
1176
|
+
* ShareVersion create
|
|
1177
|
+
*/
|
|
1178
|
+
export type ShareVersionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1179
|
+
/**
|
|
1180
|
+
* Select specific fields to fetch from the ShareVersion
|
|
1181
|
+
*/
|
|
1182
|
+
select?: Prisma.ShareVersionSelect<ExtArgs> | null
|
|
1183
|
+
/**
|
|
1184
|
+
* Omit specific fields from the ShareVersion
|
|
1185
|
+
*/
|
|
1186
|
+
omit?: Prisma.ShareVersionOmit<ExtArgs> | null
|
|
1187
|
+
/**
|
|
1188
|
+
* Choose, which related nodes to fetch as well
|
|
1189
|
+
*/
|
|
1190
|
+
include?: Prisma.ShareVersionInclude<ExtArgs> | null
|
|
1191
|
+
/**
|
|
1192
|
+
* The data needed to create a ShareVersion.
|
|
1193
|
+
*/
|
|
1194
|
+
data: Prisma.XOR<Prisma.ShareVersionCreateInput, Prisma.ShareVersionUncheckedCreateInput>
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
/**
|
|
1198
|
+
* ShareVersion createMany
|
|
1199
|
+
*/
|
|
1200
|
+
export type ShareVersionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1201
|
+
/**
|
|
1202
|
+
* The data used to create many ShareVersions.
|
|
1203
|
+
*/
|
|
1204
|
+
data: Prisma.ShareVersionCreateManyInput | Prisma.ShareVersionCreateManyInput[]
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
/**
|
|
1208
|
+
* ShareVersion createManyAndReturn
|
|
1209
|
+
*/
|
|
1210
|
+
export type ShareVersionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1211
|
+
/**
|
|
1212
|
+
* Select specific fields to fetch from the ShareVersion
|
|
1213
|
+
*/
|
|
1214
|
+
select?: Prisma.ShareVersionSelectCreateManyAndReturn<ExtArgs> | null
|
|
1215
|
+
/**
|
|
1216
|
+
* Omit specific fields from the ShareVersion
|
|
1217
|
+
*/
|
|
1218
|
+
omit?: Prisma.ShareVersionOmit<ExtArgs> | null
|
|
1219
|
+
/**
|
|
1220
|
+
* The data used to create many ShareVersions.
|
|
1221
|
+
*/
|
|
1222
|
+
data: Prisma.ShareVersionCreateManyInput | Prisma.ShareVersionCreateManyInput[]
|
|
1223
|
+
/**
|
|
1224
|
+
* Choose, which related nodes to fetch as well
|
|
1225
|
+
*/
|
|
1226
|
+
include?: Prisma.ShareVersionIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
/**
|
|
1230
|
+
* ShareVersion update
|
|
1231
|
+
*/
|
|
1232
|
+
export type ShareVersionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1233
|
+
/**
|
|
1234
|
+
* Select specific fields to fetch from the ShareVersion
|
|
1235
|
+
*/
|
|
1236
|
+
select?: Prisma.ShareVersionSelect<ExtArgs> | null
|
|
1237
|
+
/**
|
|
1238
|
+
* Omit specific fields from the ShareVersion
|
|
1239
|
+
*/
|
|
1240
|
+
omit?: Prisma.ShareVersionOmit<ExtArgs> | null
|
|
1241
|
+
/**
|
|
1242
|
+
* Choose, which related nodes to fetch as well
|
|
1243
|
+
*/
|
|
1244
|
+
include?: Prisma.ShareVersionInclude<ExtArgs> | null
|
|
1245
|
+
/**
|
|
1246
|
+
* The data needed to update a ShareVersion.
|
|
1247
|
+
*/
|
|
1248
|
+
data: Prisma.XOR<Prisma.ShareVersionUpdateInput, Prisma.ShareVersionUncheckedUpdateInput>
|
|
1249
|
+
/**
|
|
1250
|
+
* Choose, which ShareVersion to update.
|
|
1251
|
+
*/
|
|
1252
|
+
where: Prisma.ShareVersionWhereUniqueInput
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
/**
|
|
1256
|
+
* ShareVersion updateMany
|
|
1257
|
+
*/
|
|
1258
|
+
export type ShareVersionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1259
|
+
/**
|
|
1260
|
+
* The data used to update ShareVersions.
|
|
1261
|
+
*/
|
|
1262
|
+
data: Prisma.XOR<Prisma.ShareVersionUpdateManyMutationInput, Prisma.ShareVersionUncheckedUpdateManyInput>
|
|
1263
|
+
/**
|
|
1264
|
+
* Filter which ShareVersions to update
|
|
1265
|
+
*/
|
|
1266
|
+
where?: Prisma.ShareVersionWhereInput
|
|
1267
|
+
/**
|
|
1268
|
+
* Limit how many ShareVersions to update.
|
|
1269
|
+
*/
|
|
1270
|
+
limit?: number
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
/**
|
|
1274
|
+
* ShareVersion updateManyAndReturn
|
|
1275
|
+
*/
|
|
1276
|
+
export type ShareVersionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1277
|
+
/**
|
|
1278
|
+
* Select specific fields to fetch from the ShareVersion
|
|
1279
|
+
*/
|
|
1280
|
+
select?: Prisma.ShareVersionSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1281
|
+
/**
|
|
1282
|
+
* Omit specific fields from the ShareVersion
|
|
1283
|
+
*/
|
|
1284
|
+
omit?: Prisma.ShareVersionOmit<ExtArgs> | null
|
|
1285
|
+
/**
|
|
1286
|
+
* The data used to update ShareVersions.
|
|
1287
|
+
*/
|
|
1288
|
+
data: Prisma.XOR<Prisma.ShareVersionUpdateManyMutationInput, Prisma.ShareVersionUncheckedUpdateManyInput>
|
|
1289
|
+
/**
|
|
1290
|
+
* Filter which ShareVersions to update
|
|
1291
|
+
*/
|
|
1292
|
+
where?: Prisma.ShareVersionWhereInput
|
|
1293
|
+
/**
|
|
1294
|
+
* Limit how many ShareVersions to update.
|
|
1295
|
+
*/
|
|
1296
|
+
limit?: number
|
|
1297
|
+
/**
|
|
1298
|
+
* Choose, which related nodes to fetch as well
|
|
1299
|
+
*/
|
|
1300
|
+
include?: Prisma.ShareVersionIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
/**
|
|
1304
|
+
* ShareVersion upsert
|
|
1305
|
+
*/
|
|
1306
|
+
export type ShareVersionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1307
|
+
/**
|
|
1308
|
+
* Select specific fields to fetch from the ShareVersion
|
|
1309
|
+
*/
|
|
1310
|
+
select?: Prisma.ShareVersionSelect<ExtArgs> | null
|
|
1311
|
+
/**
|
|
1312
|
+
* Omit specific fields from the ShareVersion
|
|
1313
|
+
*/
|
|
1314
|
+
omit?: Prisma.ShareVersionOmit<ExtArgs> | null
|
|
1315
|
+
/**
|
|
1316
|
+
* Choose, which related nodes to fetch as well
|
|
1317
|
+
*/
|
|
1318
|
+
include?: Prisma.ShareVersionInclude<ExtArgs> | null
|
|
1319
|
+
/**
|
|
1320
|
+
* The filter to search for the ShareVersion to update in case it exists.
|
|
1321
|
+
*/
|
|
1322
|
+
where: Prisma.ShareVersionWhereUniqueInput
|
|
1323
|
+
/**
|
|
1324
|
+
* In case the ShareVersion found by the `where` argument doesn't exist, create a new ShareVersion with this data.
|
|
1325
|
+
*/
|
|
1326
|
+
create: Prisma.XOR<Prisma.ShareVersionCreateInput, Prisma.ShareVersionUncheckedCreateInput>
|
|
1327
|
+
/**
|
|
1328
|
+
* In case the ShareVersion was found with the provided `where` argument, update it with this data.
|
|
1329
|
+
*/
|
|
1330
|
+
update: Prisma.XOR<Prisma.ShareVersionUpdateInput, Prisma.ShareVersionUncheckedUpdateInput>
|
|
1331
|
+
}
|
|
1332
|
+
|
|
1333
|
+
/**
|
|
1334
|
+
* ShareVersion delete
|
|
1335
|
+
*/
|
|
1336
|
+
export type ShareVersionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1337
|
+
/**
|
|
1338
|
+
* Select specific fields to fetch from the ShareVersion
|
|
1339
|
+
*/
|
|
1340
|
+
select?: Prisma.ShareVersionSelect<ExtArgs> | null
|
|
1341
|
+
/**
|
|
1342
|
+
* Omit specific fields from the ShareVersion
|
|
1343
|
+
*/
|
|
1344
|
+
omit?: Prisma.ShareVersionOmit<ExtArgs> | null
|
|
1345
|
+
/**
|
|
1346
|
+
* Choose, which related nodes to fetch as well
|
|
1347
|
+
*/
|
|
1348
|
+
include?: Prisma.ShareVersionInclude<ExtArgs> | null
|
|
1349
|
+
/**
|
|
1350
|
+
* Filter which ShareVersion to delete.
|
|
1351
|
+
*/
|
|
1352
|
+
where: Prisma.ShareVersionWhereUniqueInput
|
|
1353
|
+
}
|
|
1354
|
+
|
|
1355
|
+
/**
|
|
1356
|
+
* ShareVersion deleteMany
|
|
1357
|
+
*/
|
|
1358
|
+
export type ShareVersionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1359
|
+
/**
|
|
1360
|
+
* Filter which ShareVersions to delete
|
|
1361
|
+
*/
|
|
1362
|
+
where?: Prisma.ShareVersionWhereInput
|
|
1363
|
+
/**
|
|
1364
|
+
* Limit how many ShareVersions to delete.
|
|
1365
|
+
*/
|
|
1366
|
+
limit?: number
|
|
1367
|
+
}
|
|
1368
|
+
|
|
1369
|
+
/**
|
|
1370
|
+
* ShareVersion without action
|
|
1371
|
+
*/
|
|
1372
|
+
export type ShareVersionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1373
|
+
/**
|
|
1374
|
+
* Select specific fields to fetch from the ShareVersion
|
|
1375
|
+
*/
|
|
1376
|
+
select?: Prisma.ShareVersionSelect<ExtArgs> | null
|
|
1377
|
+
/**
|
|
1378
|
+
* Omit specific fields from the ShareVersion
|
|
1379
|
+
*/
|
|
1380
|
+
omit?: Prisma.ShareVersionOmit<ExtArgs> | null
|
|
1381
|
+
/**
|
|
1382
|
+
* Choose, which related nodes to fetch as well
|
|
1383
|
+
*/
|
|
1384
|
+
include?: Prisma.ShareVersionInclude<ExtArgs> | null
|
|
1385
|
+
}
|