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