@allbluecn/database 0.4.0 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/desktop-init.ts +128 -0
- package/generated/browser.ts +494 -0
- package/generated/client.ts +518 -0
- package/generated/commonInputTypes.ts +1056 -0
- package/generated/enums.ts +93 -0
- package/generated/internal/class.ts +1144 -0
- package/generated/internal/prismaNamespace.ts +9603 -0
- package/generated/internal/prismaNamespaceBrowser.ts +1695 -0
- package/generated/models/Account.ts +1648 -0
- package/generated/models/AgentConversation.ts +1651 -0
- package/generated/models/AgentMessage.ts +1409 -0
- package/generated/models/AiProvider.ts +1607 -0
- package/generated/models/AiProviderConfig.ts +1514 -0
- package/generated/models/AiUsageLog.ts +1863 -0
- package/generated/models/AnyHubApp.ts +1911 -0
- package/generated/models/AnyHubMarketApp.ts +2008 -0
- package/generated/models/AnyHubPermission.ts +1422 -0
- package/generated/models/AnyHubRecommendation.ts +1870 -0
- package/generated/models/AnyHubRecommender.ts +1471 -0
- package/generated/models/Artboard.ts +1811 -0
- package/generated/models/ArtboardExport.ts +1548 -0
- package/generated/models/ArticleFavorite.ts +1352 -0
- package/generated/models/AuditLog.ts +1533 -0
- package/generated/models/Block.ts +1650 -0
- package/generated/models/BlockComponent.ts +1734 -0
- package/generated/models/BlockInstance.ts +2043 -0
- package/generated/models/BookmarkCategory.ts +1670 -0
- package/generated/models/ChatInterrupt.ts +1699 -0
- package/generated/models/ChatMessage.ts +1438 -0
- package/generated/models/ChatRun.ts +1632 -0
- package/generated/models/ChatThread.ts +2133 -0
- package/generated/models/Comment.ts +2206 -0
- package/generated/models/CommentIgnore.ts +1430 -0
- package/generated/models/CommentReaction.ts +1472 -0
- package/generated/models/ComplianceExport.ts +1345 -0
- package/generated/models/Component.ts +2345 -0
- package/generated/models/ComponentInstance.ts +2102 -0
- package/generated/models/ComponentTag.ts +1281 -0
- package/generated/models/CustomRole.ts +1560 -0
- package/generated/models/DesignProject.ts +1643 -0
- package/generated/models/DictionaryTerm.ts +1642 -0
- package/generated/models/GenerationRun.ts +1543 -0
- package/generated/models/IndustryCompliance.ts +1797 -0
- package/generated/models/InvitationCode.ts +1417 -0
- package/generated/models/InvitationUse.ts +1424 -0
- package/generated/models/Invoice.ts +1710 -0
- package/generated/models/KnowledgeBase.ts +1671 -0
- package/generated/models/KnowledgeDocument.ts +2458 -0
- package/generated/models/KnowledgeShareRecord.ts +1352 -0
- package/generated/models/Label.ts +1482 -0
- package/generated/models/LegalRegulation.ts +1873 -0
- package/generated/models/LicenseActivation.ts +1415 -0
- package/generated/models/LicenseKey.ts +1884 -0
- package/generated/models/LoginLog.ts +1450 -0
- package/generated/models/MonitoringErrorReport.ts +1299 -0
- package/generated/models/MonitoringHealthSnapshot.ts +1249 -0
- package/generated/models/MonitoringMetricsSnapshot.ts +1369 -0
- package/generated/models/MonitoringRequestLog.ts +1283 -0
- package/generated/models/PRD.ts +2805 -0
- package/generated/models/PRDPage.ts +2402 -0
- package/generated/models/PRDTag.ts +1430 -0
- package/generated/models/PRDVersion.ts +2121 -0
- package/generated/models/PageVersion.ts +1523 -0
- package/generated/models/PasswordResetToken.ts +1380 -0
- package/generated/models/Plan.ts +2069 -0
- package/generated/models/Project.ts +2148 -0
- package/generated/models/ProjectActivity.ts +1582 -0
- package/generated/models/ProjectMember.ts +1512 -0
- package/generated/models/ProviderEvent.ts +1227 -0
- package/generated/models/Reference.ts +1177 -0
- package/generated/models/Review.ts +1912 -0
- package/generated/models/ReviewComment.ts +1904 -0
- package/generated/models/RoleAssignment.ts +1430 -0
- package/generated/models/SequenceCounter.ts +1137 -0
- package/generated/models/Share.ts +1681 -0
- package/generated/models/ShareVersion.ts +1389 -0
- package/generated/models/SsoMapping.ts +1512 -0
- package/generated/models/SsoProvider.ts +1639 -0
- package/generated/models/Story.ts +5234 -0
- package/generated/models/StoryActivity.ts +1664 -0
- package/generated/models/StoryAttachment.ts +1467 -0
- package/generated/models/StoryComment.ts +1992 -0
- package/generated/models/StoryDependency.ts +1517 -0
- package/generated/models/StoryDocLink.ts +1430 -0
- package/generated/models/StoryFilterView.ts +1587 -0
- package/generated/models/StoryLabel.ts +1349 -0
- package/generated/models/StoryLink.ts +1415 -0
- package/generated/models/StoryPrdLink.ts +1430 -0
- package/generated/models/StoryReaction.ts +1472 -0
- package/generated/models/Subscription.ts +2147 -0
- package/generated/models/SystemSetting.ts +1217 -0
- package/generated/models/Tag.ts +1655 -0
- package/generated/models/TeamInvitation.ts +1526 -0
- package/generated/models/TeamMembership.ts +1436 -0
- package/generated/models/Template.ts +1391 -0
- package/generated/models/TemplateBlock.ts +1664 -0
- package/generated/models/ThirdPartyDependency.ts +1473 -0
- package/generated/models/UsageRecord.ts +1505 -0
- package/generated/models/User.ts +20998 -0
- package/generated/models/UserAgent.ts +1900 -0
- package/generated/models/UserSkill.ts +1456 -0
- package/generated/models/WebsiteBookmark.ts +2219 -0
- package/generated/models/Workspace.ts +2279 -0
- package/generated/models.ts +106 -0
- package/generated-sqlite/browser.ts +399 -0
- package/generated-sqlite/client.ts +423 -0
- package/generated-sqlite/commonInputTypes.ts +608 -0
- package/generated-sqlite/enums.ts +15 -0
- package/generated-sqlite/internal/class.ts +954 -0
- package/generated-sqlite/internal/prismaNamespace.ts +7716 -0
- package/generated-sqlite/internal/prismaNamespaceBrowser.ts +1415 -0
- package/generated-sqlite/models/AgentConversation.ts +1647 -0
- package/generated-sqlite/models/AgentMessage.ts +1406 -0
- package/generated-sqlite/models/AiProvider.ts +1605 -0
- package/generated-sqlite/models/AiProviderConfig.ts +1511 -0
- package/generated-sqlite/models/AiUsageLog.ts +1845 -0
- package/generated-sqlite/models/AnyHubApp.ts +1908 -0
- package/generated-sqlite/models/AnyHubMarketApp.ts +1997 -0
- package/generated-sqlite/models/AnyHubPermission.ts +1419 -0
- package/generated-sqlite/models/AnyHubRecommendation.ts +1867 -0
- package/generated-sqlite/models/AnyHubRecommender.ts +1467 -0
- package/generated-sqlite/models/Artboard.ts +1808 -0
- package/generated-sqlite/models/ArtboardExport.ts +1545 -0
- package/generated-sqlite/models/ArticleFavorite.ts +1349 -0
- package/generated-sqlite/models/AuditLog.ts +1287 -0
- package/generated-sqlite/models/Block.ts +1648 -0
- package/generated-sqlite/models/BlockComponent.ts +1730 -0
- package/generated-sqlite/models/BlockInstance.ts +2039 -0
- package/generated-sqlite/models/BookmarkCategory.ts +1667 -0
- package/generated-sqlite/models/ChatInterrupt.ts +1695 -0
- package/generated-sqlite/models/ChatMessage.ts +1435 -0
- package/generated-sqlite/models/ChatRun.ts +1629 -0
- package/generated-sqlite/models/ChatThread.ts +2129 -0
- package/generated-sqlite/models/Comment.ts +2201 -0
- package/generated-sqlite/models/CommentIgnore.ts +1426 -0
- package/generated-sqlite/models/ComplianceExport.ts +1343 -0
- package/generated-sqlite/models/Component.ts +2326 -0
- package/generated-sqlite/models/ComponentInstance.ts +2097 -0
- package/generated-sqlite/models/ComponentTag.ts +1278 -0
- package/generated-sqlite/models/CustomRole.ts +1209 -0
- package/generated-sqlite/models/DesignProject.ts +1640 -0
- package/generated-sqlite/models/DictionaryTerm.ts +1639 -0
- package/generated-sqlite/models/GenerationRun.ts +1540 -0
- package/generated-sqlite/models/IndustryCompliance.ts +1794 -0
- package/generated-sqlite/models/InvitationCode.ts +1415 -0
- package/generated-sqlite/models/InvitationUse.ts +1420 -0
- package/generated-sqlite/models/Invoice.ts +1707 -0
- package/generated-sqlite/models/KnowledgeBase.ts +1668 -0
- package/generated-sqlite/models/KnowledgeDocument.ts +2282 -0
- package/generated-sqlite/models/KnowledgeShareRecord.ts +1349 -0
- package/generated-sqlite/models/LegalRegulation.ts +1870 -0
- package/generated-sqlite/models/LicenseActivation.ts +1203 -0
- package/generated-sqlite/models/LicenseKey.ts +1443 -0
- package/generated-sqlite/models/LoginLog.ts +1447 -0
- package/generated-sqlite/models/PRD.ts +2616 -0
- package/generated-sqlite/models/PRDPage.ts +2398 -0
- package/generated-sqlite/models/PRDTag.ts +1426 -0
- package/generated-sqlite/models/PRDVersion.ts +2117 -0
- package/generated-sqlite/models/PageVersion.ts +1528 -0
- package/generated-sqlite/models/PasswordResetToken.ts +1377 -0
- package/generated-sqlite/models/Plan.ts +2060 -0
- package/generated-sqlite/models/Project.ts +1994 -0
- package/generated-sqlite/models/ProjectActivity.ts +1578 -0
- package/generated-sqlite/models/ProjectMember.ts +1508 -0
- package/generated-sqlite/models/ProviderEvent.ts +1225 -0
- package/generated-sqlite/models/Reference.ts +1175 -0
- package/generated-sqlite/models/Review.ts +1903 -0
- package/generated-sqlite/models/ReviewComment.ts +1899 -0
- package/generated-sqlite/models/RoleAssignment.ts +1125 -0
- package/generated-sqlite/models/Share.ts +1674 -0
- package/generated-sqlite/models/ShareVersion.ts +1385 -0
- package/generated-sqlite/models/SsoMapping.ts +1181 -0
- package/generated-sqlite/models/SsoProvider.ts +1266 -0
- package/generated-sqlite/models/Subscription.ts +2137 -0
- package/generated-sqlite/models/SystemSetting.ts +1215 -0
- package/generated-sqlite/models/Tag.ts +1652 -0
- package/generated-sqlite/models/TeamInvitation.ts +1523 -0
- package/generated-sqlite/models/TeamMembership.ts +1433 -0
- package/generated-sqlite/models/Template.ts +1389 -0
- package/generated-sqlite/models/TemplateBlock.ts +1660 -0
- package/generated-sqlite/models/ThirdPartyDependency.ts +1471 -0
- package/generated-sqlite/models/UsageRecord.ts +1498 -0
- package/generated-sqlite/models/User.ts +13558 -0
- package/generated-sqlite/models/UserAgent.ts +1897 -0
- package/generated-sqlite/models/UserSkill.ts +1453 -0
- package/generated-sqlite/models/WebsiteBookmark.ts +2215 -0
- package/generated-sqlite/models/Workspace.ts +1824 -0
- package/generated-sqlite/models.ts +87 -0
- package/package.json +7 -3
- package/LICENSE +0 -661
|
@@ -0,0 +1,1278 @@
|
|
|
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 `ComponentTag` 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 ComponentTag
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export type ComponentTagModel = runtime.Types.Result.DefaultSelection<Prisma.$ComponentTagPayload>
|
|
20
|
+
|
|
21
|
+
export type AggregateComponentTag = {
|
|
22
|
+
_count: ComponentTagCountAggregateOutputType | null
|
|
23
|
+
_min: ComponentTagMinAggregateOutputType | null
|
|
24
|
+
_max: ComponentTagMaxAggregateOutputType | null
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type ComponentTagMinAggregateOutputType = {
|
|
28
|
+
id: string | null
|
|
29
|
+
componentId: string | null
|
|
30
|
+
tagId: string | null
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export type ComponentTagMaxAggregateOutputType = {
|
|
34
|
+
id: string | null
|
|
35
|
+
componentId: string | null
|
|
36
|
+
tagId: string | null
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export type ComponentTagCountAggregateOutputType = {
|
|
40
|
+
id: number
|
|
41
|
+
componentId: number
|
|
42
|
+
tagId: number
|
|
43
|
+
_all: number
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
export type ComponentTagMinAggregateInputType = {
|
|
48
|
+
id?: true
|
|
49
|
+
componentId?: true
|
|
50
|
+
tagId?: true
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export type ComponentTagMaxAggregateInputType = {
|
|
54
|
+
id?: true
|
|
55
|
+
componentId?: true
|
|
56
|
+
tagId?: true
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export type ComponentTagCountAggregateInputType = {
|
|
60
|
+
id?: true
|
|
61
|
+
componentId?: true
|
|
62
|
+
tagId?: true
|
|
63
|
+
_all?: true
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export type ComponentTagAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
67
|
+
/**
|
|
68
|
+
* Filter which ComponentTag to aggregate.
|
|
69
|
+
*/
|
|
70
|
+
where?: Prisma.ComponentTagWhereInput
|
|
71
|
+
/**
|
|
72
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
73
|
+
*
|
|
74
|
+
* Determine the order of ComponentTags to fetch.
|
|
75
|
+
*/
|
|
76
|
+
orderBy?: Prisma.ComponentTagOrderByWithRelationInput | Prisma.ComponentTagOrderByWithRelationInput[]
|
|
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.ComponentTagWhereUniqueInput
|
|
83
|
+
/**
|
|
84
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
85
|
+
*
|
|
86
|
+
* Take `±n` ComponentTags 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` ComponentTags.
|
|
93
|
+
*/
|
|
94
|
+
skip?: number
|
|
95
|
+
/**
|
|
96
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
97
|
+
*
|
|
98
|
+
* Count returned ComponentTags
|
|
99
|
+
**/
|
|
100
|
+
_count?: true | ComponentTagCountAggregateInputType
|
|
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?: ComponentTagMinAggregateInputType
|
|
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?: ComponentTagMaxAggregateInputType
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export type GetComponentTagAggregateType<T extends ComponentTagAggregateArgs> = {
|
|
116
|
+
[P in keyof T & keyof AggregateComponentTag]: P extends '_count' | 'count'
|
|
117
|
+
? T[P] extends true
|
|
118
|
+
? number
|
|
119
|
+
: Prisma.GetScalarType<T[P], AggregateComponentTag[P]>
|
|
120
|
+
: Prisma.GetScalarType<T[P], AggregateComponentTag[P]>
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
export type ComponentTagGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
127
|
+
where?: Prisma.ComponentTagWhereInput
|
|
128
|
+
orderBy?: Prisma.ComponentTagOrderByWithAggregationInput | Prisma.ComponentTagOrderByWithAggregationInput[]
|
|
129
|
+
by: Prisma.ComponentTagScalarFieldEnum[] | Prisma.ComponentTagScalarFieldEnum
|
|
130
|
+
having?: Prisma.ComponentTagScalarWhereWithAggregatesInput
|
|
131
|
+
take?: number
|
|
132
|
+
skip?: number
|
|
133
|
+
_count?: ComponentTagCountAggregateInputType | true
|
|
134
|
+
_min?: ComponentTagMinAggregateInputType
|
|
135
|
+
_max?: ComponentTagMaxAggregateInputType
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export type ComponentTagGroupByOutputType = {
|
|
139
|
+
id: string
|
|
140
|
+
componentId: string
|
|
141
|
+
tagId: string
|
|
142
|
+
_count: ComponentTagCountAggregateOutputType | null
|
|
143
|
+
_min: ComponentTagMinAggregateOutputType | null
|
|
144
|
+
_max: ComponentTagMaxAggregateOutputType | null
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export type GetComponentTagGroupByPayload<T extends ComponentTagGroupByArgs> = Prisma.PrismaPromise<
|
|
148
|
+
Array<
|
|
149
|
+
Prisma.PickEnumerable<ComponentTagGroupByOutputType, T['by']> &
|
|
150
|
+
{
|
|
151
|
+
[P in ((keyof T) & (keyof ComponentTagGroupByOutputType))]: P extends '_count'
|
|
152
|
+
? T[P] extends boolean
|
|
153
|
+
? number
|
|
154
|
+
: Prisma.GetScalarType<T[P], ComponentTagGroupByOutputType[P]>
|
|
155
|
+
: Prisma.GetScalarType<T[P], ComponentTagGroupByOutputType[P]>
|
|
156
|
+
}
|
|
157
|
+
>
|
|
158
|
+
>
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
export type ComponentTagWhereInput = {
|
|
163
|
+
AND?: Prisma.ComponentTagWhereInput | Prisma.ComponentTagWhereInput[]
|
|
164
|
+
OR?: Prisma.ComponentTagWhereInput[]
|
|
165
|
+
NOT?: Prisma.ComponentTagWhereInput | Prisma.ComponentTagWhereInput[]
|
|
166
|
+
id?: Prisma.StringFilter<"ComponentTag"> | string
|
|
167
|
+
componentId?: Prisma.StringFilter<"ComponentTag"> | string
|
|
168
|
+
tagId?: Prisma.StringFilter<"ComponentTag"> | string
|
|
169
|
+
component?: Prisma.XOR<Prisma.ComponentScalarRelationFilter, Prisma.ComponentWhereInput>
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
export type ComponentTagOrderByWithRelationInput = {
|
|
173
|
+
id?: Prisma.SortOrder
|
|
174
|
+
componentId?: Prisma.SortOrder
|
|
175
|
+
tagId?: Prisma.SortOrder
|
|
176
|
+
component?: Prisma.ComponentOrderByWithRelationInput
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
export type ComponentTagWhereUniqueInput = Prisma.AtLeast<{
|
|
180
|
+
id?: string
|
|
181
|
+
componentId_tagId?: Prisma.ComponentTagComponentIdTagIdCompoundUniqueInput
|
|
182
|
+
AND?: Prisma.ComponentTagWhereInput | Prisma.ComponentTagWhereInput[]
|
|
183
|
+
OR?: Prisma.ComponentTagWhereInput[]
|
|
184
|
+
NOT?: Prisma.ComponentTagWhereInput | Prisma.ComponentTagWhereInput[]
|
|
185
|
+
componentId?: Prisma.StringFilter<"ComponentTag"> | string
|
|
186
|
+
tagId?: Prisma.StringFilter<"ComponentTag"> | string
|
|
187
|
+
component?: Prisma.XOR<Prisma.ComponentScalarRelationFilter, Prisma.ComponentWhereInput>
|
|
188
|
+
}, "id" | "componentId_tagId">
|
|
189
|
+
|
|
190
|
+
export type ComponentTagOrderByWithAggregationInput = {
|
|
191
|
+
id?: Prisma.SortOrder
|
|
192
|
+
componentId?: Prisma.SortOrder
|
|
193
|
+
tagId?: Prisma.SortOrder
|
|
194
|
+
_count?: Prisma.ComponentTagCountOrderByAggregateInput
|
|
195
|
+
_max?: Prisma.ComponentTagMaxOrderByAggregateInput
|
|
196
|
+
_min?: Prisma.ComponentTagMinOrderByAggregateInput
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
export type ComponentTagScalarWhereWithAggregatesInput = {
|
|
200
|
+
AND?: Prisma.ComponentTagScalarWhereWithAggregatesInput | Prisma.ComponentTagScalarWhereWithAggregatesInput[]
|
|
201
|
+
OR?: Prisma.ComponentTagScalarWhereWithAggregatesInput[]
|
|
202
|
+
NOT?: Prisma.ComponentTagScalarWhereWithAggregatesInput | Prisma.ComponentTagScalarWhereWithAggregatesInput[]
|
|
203
|
+
id?: Prisma.StringWithAggregatesFilter<"ComponentTag"> | string
|
|
204
|
+
componentId?: Prisma.StringWithAggregatesFilter<"ComponentTag"> | string
|
|
205
|
+
tagId?: Prisma.StringWithAggregatesFilter<"ComponentTag"> | string
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
export type ComponentTagCreateInput = {
|
|
209
|
+
id?: string
|
|
210
|
+
tagId: string
|
|
211
|
+
component: Prisma.ComponentCreateNestedOneWithoutComponentTagsInput
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
export type ComponentTagUncheckedCreateInput = {
|
|
215
|
+
id?: string
|
|
216
|
+
componentId: string
|
|
217
|
+
tagId: string
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
export type ComponentTagUpdateInput = {
|
|
221
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
222
|
+
tagId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
223
|
+
component?: Prisma.ComponentUpdateOneRequiredWithoutComponentTagsNestedInput
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
export type ComponentTagUncheckedUpdateInput = {
|
|
227
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
228
|
+
componentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
229
|
+
tagId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
export type ComponentTagCreateManyInput = {
|
|
233
|
+
id?: string
|
|
234
|
+
componentId: string
|
|
235
|
+
tagId: string
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
export type ComponentTagUpdateManyMutationInput = {
|
|
239
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
240
|
+
tagId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
export type ComponentTagUncheckedUpdateManyInput = {
|
|
244
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
245
|
+
componentId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
246
|
+
tagId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
export type ComponentTagListRelationFilter = {
|
|
250
|
+
every?: Prisma.ComponentTagWhereInput
|
|
251
|
+
some?: Prisma.ComponentTagWhereInput
|
|
252
|
+
none?: Prisma.ComponentTagWhereInput
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
export type ComponentTagOrderByRelationAggregateInput = {
|
|
256
|
+
_count?: Prisma.SortOrder
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
export type ComponentTagComponentIdTagIdCompoundUniqueInput = {
|
|
260
|
+
componentId: string
|
|
261
|
+
tagId: string
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
export type ComponentTagCountOrderByAggregateInput = {
|
|
265
|
+
id?: Prisma.SortOrder
|
|
266
|
+
componentId?: Prisma.SortOrder
|
|
267
|
+
tagId?: Prisma.SortOrder
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
export type ComponentTagMaxOrderByAggregateInput = {
|
|
271
|
+
id?: Prisma.SortOrder
|
|
272
|
+
componentId?: Prisma.SortOrder
|
|
273
|
+
tagId?: Prisma.SortOrder
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
export type ComponentTagMinOrderByAggregateInput = {
|
|
277
|
+
id?: Prisma.SortOrder
|
|
278
|
+
componentId?: Prisma.SortOrder
|
|
279
|
+
tagId?: Prisma.SortOrder
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
export type ComponentTagCreateNestedManyWithoutComponentInput = {
|
|
283
|
+
create?: Prisma.XOR<Prisma.ComponentTagCreateWithoutComponentInput, Prisma.ComponentTagUncheckedCreateWithoutComponentInput> | Prisma.ComponentTagCreateWithoutComponentInput[] | Prisma.ComponentTagUncheckedCreateWithoutComponentInput[]
|
|
284
|
+
connectOrCreate?: Prisma.ComponentTagCreateOrConnectWithoutComponentInput | Prisma.ComponentTagCreateOrConnectWithoutComponentInput[]
|
|
285
|
+
createMany?: Prisma.ComponentTagCreateManyComponentInputEnvelope
|
|
286
|
+
connect?: Prisma.ComponentTagWhereUniqueInput | Prisma.ComponentTagWhereUniqueInput[]
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
export type ComponentTagUncheckedCreateNestedManyWithoutComponentInput = {
|
|
290
|
+
create?: Prisma.XOR<Prisma.ComponentTagCreateWithoutComponentInput, Prisma.ComponentTagUncheckedCreateWithoutComponentInput> | Prisma.ComponentTagCreateWithoutComponentInput[] | Prisma.ComponentTagUncheckedCreateWithoutComponentInput[]
|
|
291
|
+
connectOrCreate?: Prisma.ComponentTagCreateOrConnectWithoutComponentInput | Prisma.ComponentTagCreateOrConnectWithoutComponentInput[]
|
|
292
|
+
createMany?: Prisma.ComponentTagCreateManyComponentInputEnvelope
|
|
293
|
+
connect?: Prisma.ComponentTagWhereUniqueInput | Prisma.ComponentTagWhereUniqueInput[]
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
export type ComponentTagUpdateManyWithoutComponentNestedInput = {
|
|
297
|
+
create?: Prisma.XOR<Prisma.ComponentTagCreateWithoutComponentInput, Prisma.ComponentTagUncheckedCreateWithoutComponentInput> | Prisma.ComponentTagCreateWithoutComponentInput[] | Prisma.ComponentTagUncheckedCreateWithoutComponentInput[]
|
|
298
|
+
connectOrCreate?: Prisma.ComponentTagCreateOrConnectWithoutComponentInput | Prisma.ComponentTagCreateOrConnectWithoutComponentInput[]
|
|
299
|
+
upsert?: Prisma.ComponentTagUpsertWithWhereUniqueWithoutComponentInput | Prisma.ComponentTagUpsertWithWhereUniqueWithoutComponentInput[]
|
|
300
|
+
createMany?: Prisma.ComponentTagCreateManyComponentInputEnvelope
|
|
301
|
+
set?: Prisma.ComponentTagWhereUniqueInput | Prisma.ComponentTagWhereUniqueInput[]
|
|
302
|
+
disconnect?: Prisma.ComponentTagWhereUniqueInput | Prisma.ComponentTagWhereUniqueInput[]
|
|
303
|
+
delete?: Prisma.ComponentTagWhereUniqueInput | Prisma.ComponentTagWhereUniqueInput[]
|
|
304
|
+
connect?: Prisma.ComponentTagWhereUniqueInput | Prisma.ComponentTagWhereUniqueInput[]
|
|
305
|
+
update?: Prisma.ComponentTagUpdateWithWhereUniqueWithoutComponentInput | Prisma.ComponentTagUpdateWithWhereUniqueWithoutComponentInput[]
|
|
306
|
+
updateMany?: Prisma.ComponentTagUpdateManyWithWhereWithoutComponentInput | Prisma.ComponentTagUpdateManyWithWhereWithoutComponentInput[]
|
|
307
|
+
deleteMany?: Prisma.ComponentTagScalarWhereInput | Prisma.ComponentTagScalarWhereInput[]
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
export type ComponentTagUncheckedUpdateManyWithoutComponentNestedInput = {
|
|
311
|
+
create?: Prisma.XOR<Prisma.ComponentTagCreateWithoutComponentInput, Prisma.ComponentTagUncheckedCreateWithoutComponentInput> | Prisma.ComponentTagCreateWithoutComponentInput[] | Prisma.ComponentTagUncheckedCreateWithoutComponentInput[]
|
|
312
|
+
connectOrCreate?: Prisma.ComponentTagCreateOrConnectWithoutComponentInput | Prisma.ComponentTagCreateOrConnectWithoutComponentInput[]
|
|
313
|
+
upsert?: Prisma.ComponentTagUpsertWithWhereUniqueWithoutComponentInput | Prisma.ComponentTagUpsertWithWhereUniqueWithoutComponentInput[]
|
|
314
|
+
createMany?: Prisma.ComponentTagCreateManyComponentInputEnvelope
|
|
315
|
+
set?: Prisma.ComponentTagWhereUniqueInput | Prisma.ComponentTagWhereUniqueInput[]
|
|
316
|
+
disconnect?: Prisma.ComponentTagWhereUniqueInput | Prisma.ComponentTagWhereUniqueInput[]
|
|
317
|
+
delete?: Prisma.ComponentTagWhereUniqueInput | Prisma.ComponentTagWhereUniqueInput[]
|
|
318
|
+
connect?: Prisma.ComponentTagWhereUniqueInput | Prisma.ComponentTagWhereUniqueInput[]
|
|
319
|
+
update?: Prisma.ComponentTagUpdateWithWhereUniqueWithoutComponentInput | Prisma.ComponentTagUpdateWithWhereUniqueWithoutComponentInput[]
|
|
320
|
+
updateMany?: Prisma.ComponentTagUpdateManyWithWhereWithoutComponentInput | Prisma.ComponentTagUpdateManyWithWhereWithoutComponentInput[]
|
|
321
|
+
deleteMany?: Prisma.ComponentTagScalarWhereInput | Prisma.ComponentTagScalarWhereInput[]
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
export type ComponentTagCreateWithoutComponentInput = {
|
|
325
|
+
id?: string
|
|
326
|
+
tagId: string
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
export type ComponentTagUncheckedCreateWithoutComponentInput = {
|
|
330
|
+
id?: string
|
|
331
|
+
tagId: string
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
export type ComponentTagCreateOrConnectWithoutComponentInput = {
|
|
335
|
+
where: Prisma.ComponentTagWhereUniqueInput
|
|
336
|
+
create: Prisma.XOR<Prisma.ComponentTagCreateWithoutComponentInput, Prisma.ComponentTagUncheckedCreateWithoutComponentInput>
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
export type ComponentTagCreateManyComponentInputEnvelope = {
|
|
340
|
+
data: Prisma.ComponentTagCreateManyComponentInput | Prisma.ComponentTagCreateManyComponentInput[]
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
export type ComponentTagUpsertWithWhereUniqueWithoutComponentInput = {
|
|
344
|
+
where: Prisma.ComponentTagWhereUniqueInput
|
|
345
|
+
update: Prisma.XOR<Prisma.ComponentTagUpdateWithoutComponentInput, Prisma.ComponentTagUncheckedUpdateWithoutComponentInput>
|
|
346
|
+
create: Prisma.XOR<Prisma.ComponentTagCreateWithoutComponentInput, Prisma.ComponentTagUncheckedCreateWithoutComponentInput>
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
export type ComponentTagUpdateWithWhereUniqueWithoutComponentInput = {
|
|
350
|
+
where: Prisma.ComponentTagWhereUniqueInput
|
|
351
|
+
data: Prisma.XOR<Prisma.ComponentTagUpdateWithoutComponentInput, Prisma.ComponentTagUncheckedUpdateWithoutComponentInput>
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
export type ComponentTagUpdateManyWithWhereWithoutComponentInput = {
|
|
355
|
+
where: Prisma.ComponentTagScalarWhereInput
|
|
356
|
+
data: Prisma.XOR<Prisma.ComponentTagUpdateManyMutationInput, Prisma.ComponentTagUncheckedUpdateManyWithoutComponentInput>
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
export type ComponentTagScalarWhereInput = {
|
|
360
|
+
AND?: Prisma.ComponentTagScalarWhereInput | Prisma.ComponentTagScalarWhereInput[]
|
|
361
|
+
OR?: Prisma.ComponentTagScalarWhereInput[]
|
|
362
|
+
NOT?: Prisma.ComponentTagScalarWhereInput | Prisma.ComponentTagScalarWhereInput[]
|
|
363
|
+
id?: Prisma.StringFilter<"ComponentTag"> | string
|
|
364
|
+
componentId?: Prisma.StringFilter<"ComponentTag"> | string
|
|
365
|
+
tagId?: Prisma.StringFilter<"ComponentTag"> | string
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
export type ComponentTagCreateManyComponentInput = {
|
|
369
|
+
id?: string
|
|
370
|
+
tagId: string
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
export type ComponentTagUpdateWithoutComponentInput = {
|
|
374
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
375
|
+
tagId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
export type ComponentTagUncheckedUpdateWithoutComponentInput = {
|
|
379
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
380
|
+
tagId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
export type ComponentTagUncheckedUpdateManyWithoutComponentInput = {
|
|
384
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
385
|
+
tagId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
export type ComponentTagSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
391
|
+
id?: boolean
|
|
392
|
+
componentId?: boolean
|
|
393
|
+
tagId?: boolean
|
|
394
|
+
component?: boolean | Prisma.ComponentDefaultArgs<ExtArgs>
|
|
395
|
+
}, ExtArgs["result"]["componentTag"]>
|
|
396
|
+
|
|
397
|
+
export type ComponentTagSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
398
|
+
id?: boolean
|
|
399
|
+
componentId?: boolean
|
|
400
|
+
tagId?: boolean
|
|
401
|
+
component?: boolean | Prisma.ComponentDefaultArgs<ExtArgs>
|
|
402
|
+
}, ExtArgs["result"]["componentTag"]>
|
|
403
|
+
|
|
404
|
+
export type ComponentTagSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
405
|
+
id?: boolean
|
|
406
|
+
componentId?: boolean
|
|
407
|
+
tagId?: boolean
|
|
408
|
+
component?: boolean | Prisma.ComponentDefaultArgs<ExtArgs>
|
|
409
|
+
}, ExtArgs["result"]["componentTag"]>
|
|
410
|
+
|
|
411
|
+
export type ComponentTagSelectScalar = {
|
|
412
|
+
id?: boolean
|
|
413
|
+
componentId?: boolean
|
|
414
|
+
tagId?: boolean
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
export type ComponentTagOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "componentId" | "tagId", ExtArgs["result"]["componentTag"]>
|
|
418
|
+
export type ComponentTagInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
419
|
+
component?: boolean | Prisma.ComponentDefaultArgs<ExtArgs>
|
|
420
|
+
}
|
|
421
|
+
export type ComponentTagIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
422
|
+
component?: boolean | Prisma.ComponentDefaultArgs<ExtArgs>
|
|
423
|
+
}
|
|
424
|
+
export type ComponentTagIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
425
|
+
component?: boolean | Prisma.ComponentDefaultArgs<ExtArgs>
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
export type $ComponentTagPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
429
|
+
name: "ComponentTag"
|
|
430
|
+
objects: {
|
|
431
|
+
component: Prisma.$ComponentPayload<ExtArgs>
|
|
432
|
+
}
|
|
433
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
434
|
+
id: string
|
|
435
|
+
componentId: string
|
|
436
|
+
tagId: string
|
|
437
|
+
}, ExtArgs["result"]["componentTag"]>
|
|
438
|
+
composites: {}
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
export type ComponentTagGetPayload<S extends boolean | null | undefined | ComponentTagDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ComponentTagPayload, S>
|
|
442
|
+
|
|
443
|
+
export type ComponentTagCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
444
|
+
Omit<ComponentTagFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
445
|
+
select?: ComponentTagCountAggregateInputType | true
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
export interface ComponentTagDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
449
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ComponentTag'], meta: { name: 'ComponentTag' } }
|
|
450
|
+
/**
|
|
451
|
+
* Find zero or one ComponentTag that matches the filter.
|
|
452
|
+
* @param {ComponentTagFindUniqueArgs} args - Arguments to find a ComponentTag
|
|
453
|
+
* @example
|
|
454
|
+
* // Get one ComponentTag
|
|
455
|
+
* const componentTag = await prisma.componentTag.findUnique({
|
|
456
|
+
* where: {
|
|
457
|
+
* // ... provide filter here
|
|
458
|
+
* }
|
|
459
|
+
* })
|
|
460
|
+
*/
|
|
461
|
+
findUnique<T extends ComponentTagFindUniqueArgs>(args: Prisma.SelectSubset<T, ComponentTagFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ComponentTagClient<runtime.Types.Result.GetResult<Prisma.$ComponentTagPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* Find one ComponentTag that matches the filter or throw an error with `error.code='P2025'`
|
|
465
|
+
* if no matches were found.
|
|
466
|
+
* @param {ComponentTagFindUniqueOrThrowArgs} args - Arguments to find a ComponentTag
|
|
467
|
+
* @example
|
|
468
|
+
* // Get one ComponentTag
|
|
469
|
+
* const componentTag = await prisma.componentTag.findUniqueOrThrow({
|
|
470
|
+
* where: {
|
|
471
|
+
* // ... provide filter here
|
|
472
|
+
* }
|
|
473
|
+
* })
|
|
474
|
+
*/
|
|
475
|
+
findUniqueOrThrow<T extends ComponentTagFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ComponentTagFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ComponentTagClient<runtime.Types.Result.GetResult<Prisma.$ComponentTagPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
* Find the first ComponentTag that matches the filter.
|
|
479
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
480
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
481
|
+
* @param {ComponentTagFindFirstArgs} args - Arguments to find a ComponentTag
|
|
482
|
+
* @example
|
|
483
|
+
* // Get one ComponentTag
|
|
484
|
+
* const componentTag = await prisma.componentTag.findFirst({
|
|
485
|
+
* where: {
|
|
486
|
+
* // ... provide filter here
|
|
487
|
+
* }
|
|
488
|
+
* })
|
|
489
|
+
*/
|
|
490
|
+
findFirst<T extends ComponentTagFindFirstArgs>(args?: Prisma.SelectSubset<T, ComponentTagFindFirstArgs<ExtArgs>>): Prisma.Prisma__ComponentTagClient<runtime.Types.Result.GetResult<Prisma.$ComponentTagPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
491
|
+
|
|
492
|
+
/**
|
|
493
|
+
* Find the first ComponentTag that matches the filter or
|
|
494
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
495
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
496
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
497
|
+
* @param {ComponentTagFindFirstOrThrowArgs} args - Arguments to find a ComponentTag
|
|
498
|
+
* @example
|
|
499
|
+
* // Get one ComponentTag
|
|
500
|
+
* const componentTag = await prisma.componentTag.findFirstOrThrow({
|
|
501
|
+
* where: {
|
|
502
|
+
* // ... provide filter here
|
|
503
|
+
* }
|
|
504
|
+
* })
|
|
505
|
+
*/
|
|
506
|
+
findFirstOrThrow<T extends ComponentTagFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ComponentTagFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ComponentTagClient<runtime.Types.Result.GetResult<Prisma.$ComponentTagPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
507
|
+
|
|
508
|
+
/**
|
|
509
|
+
* Find zero or more ComponentTags that matches the filter.
|
|
510
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
511
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
512
|
+
* @param {ComponentTagFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
513
|
+
* @example
|
|
514
|
+
* // Get all ComponentTags
|
|
515
|
+
* const componentTags = await prisma.componentTag.findMany()
|
|
516
|
+
*
|
|
517
|
+
* // Get first 10 ComponentTags
|
|
518
|
+
* const componentTags = await prisma.componentTag.findMany({ take: 10 })
|
|
519
|
+
*
|
|
520
|
+
* // Only select the `id`
|
|
521
|
+
* const componentTagWithIdOnly = await prisma.componentTag.findMany({ select: { id: true } })
|
|
522
|
+
*
|
|
523
|
+
*/
|
|
524
|
+
findMany<T extends ComponentTagFindManyArgs>(args?: Prisma.SelectSubset<T, ComponentTagFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ComponentTagPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* Create a ComponentTag.
|
|
528
|
+
* @param {ComponentTagCreateArgs} args - Arguments to create a ComponentTag.
|
|
529
|
+
* @example
|
|
530
|
+
* // Create one ComponentTag
|
|
531
|
+
* const ComponentTag = await prisma.componentTag.create({
|
|
532
|
+
* data: {
|
|
533
|
+
* // ... data to create a ComponentTag
|
|
534
|
+
* }
|
|
535
|
+
* })
|
|
536
|
+
*
|
|
537
|
+
*/
|
|
538
|
+
create<T extends ComponentTagCreateArgs>(args: Prisma.SelectSubset<T, ComponentTagCreateArgs<ExtArgs>>): Prisma.Prisma__ComponentTagClient<runtime.Types.Result.GetResult<Prisma.$ComponentTagPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* Create many ComponentTags.
|
|
542
|
+
* @param {ComponentTagCreateManyArgs} args - Arguments to create many ComponentTags.
|
|
543
|
+
* @example
|
|
544
|
+
* // Create many ComponentTags
|
|
545
|
+
* const componentTag = await prisma.componentTag.createMany({
|
|
546
|
+
* data: [
|
|
547
|
+
* // ... provide data here
|
|
548
|
+
* ]
|
|
549
|
+
* })
|
|
550
|
+
*
|
|
551
|
+
*/
|
|
552
|
+
createMany<T extends ComponentTagCreateManyArgs>(args?: Prisma.SelectSubset<T, ComponentTagCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
553
|
+
|
|
554
|
+
/**
|
|
555
|
+
* Create many ComponentTags and returns the data saved in the database.
|
|
556
|
+
* @param {ComponentTagCreateManyAndReturnArgs} args - Arguments to create many ComponentTags.
|
|
557
|
+
* @example
|
|
558
|
+
* // Create many ComponentTags
|
|
559
|
+
* const componentTag = await prisma.componentTag.createManyAndReturn({
|
|
560
|
+
* data: [
|
|
561
|
+
* // ... provide data here
|
|
562
|
+
* ]
|
|
563
|
+
* })
|
|
564
|
+
*
|
|
565
|
+
* // Create many ComponentTags and only return the `id`
|
|
566
|
+
* const componentTagWithIdOnly = await prisma.componentTag.createManyAndReturn({
|
|
567
|
+
* select: { id: true },
|
|
568
|
+
* data: [
|
|
569
|
+
* // ... provide data here
|
|
570
|
+
* ]
|
|
571
|
+
* })
|
|
572
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
573
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
574
|
+
*
|
|
575
|
+
*/
|
|
576
|
+
createManyAndReturn<T extends ComponentTagCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ComponentTagCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ComponentTagPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
* Delete a ComponentTag.
|
|
580
|
+
* @param {ComponentTagDeleteArgs} args - Arguments to delete one ComponentTag.
|
|
581
|
+
* @example
|
|
582
|
+
* // Delete one ComponentTag
|
|
583
|
+
* const ComponentTag = await prisma.componentTag.delete({
|
|
584
|
+
* where: {
|
|
585
|
+
* // ... filter to delete one ComponentTag
|
|
586
|
+
* }
|
|
587
|
+
* })
|
|
588
|
+
*
|
|
589
|
+
*/
|
|
590
|
+
delete<T extends ComponentTagDeleteArgs>(args: Prisma.SelectSubset<T, ComponentTagDeleteArgs<ExtArgs>>): Prisma.Prisma__ComponentTagClient<runtime.Types.Result.GetResult<Prisma.$ComponentTagPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* Update one ComponentTag.
|
|
594
|
+
* @param {ComponentTagUpdateArgs} args - Arguments to update one ComponentTag.
|
|
595
|
+
* @example
|
|
596
|
+
* // Update one ComponentTag
|
|
597
|
+
* const componentTag = await prisma.componentTag.update({
|
|
598
|
+
* where: {
|
|
599
|
+
* // ... provide filter here
|
|
600
|
+
* },
|
|
601
|
+
* data: {
|
|
602
|
+
* // ... provide data here
|
|
603
|
+
* }
|
|
604
|
+
* })
|
|
605
|
+
*
|
|
606
|
+
*/
|
|
607
|
+
update<T extends ComponentTagUpdateArgs>(args: Prisma.SelectSubset<T, ComponentTagUpdateArgs<ExtArgs>>): Prisma.Prisma__ComponentTagClient<runtime.Types.Result.GetResult<Prisma.$ComponentTagPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* Delete zero or more ComponentTags.
|
|
611
|
+
* @param {ComponentTagDeleteManyArgs} args - Arguments to filter ComponentTags to delete.
|
|
612
|
+
* @example
|
|
613
|
+
* // Delete a few ComponentTags
|
|
614
|
+
* const { count } = await prisma.componentTag.deleteMany({
|
|
615
|
+
* where: {
|
|
616
|
+
* // ... provide filter here
|
|
617
|
+
* }
|
|
618
|
+
* })
|
|
619
|
+
*
|
|
620
|
+
*/
|
|
621
|
+
deleteMany<T extends ComponentTagDeleteManyArgs>(args?: Prisma.SelectSubset<T, ComponentTagDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* Update zero or more ComponentTags.
|
|
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 {ComponentTagUpdateManyArgs} args - Arguments to update one or more rows.
|
|
628
|
+
* @example
|
|
629
|
+
* // Update many ComponentTags
|
|
630
|
+
* const componentTag = await prisma.componentTag.updateMany({
|
|
631
|
+
* where: {
|
|
632
|
+
* // ... provide filter here
|
|
633
|
+
* },
|
|
634
|
+
* data: {
|
|
635
|
+
* // ... provide data here
|
|
636
|
+
* }
|
|
637
|
+
* })
|
|
638
|
+
*
|
|
639
|
+
*/
|
|
640
|
+
updateMany<T extends ComponentTagUpdateManyArgs>(args: Prisma.SelectSubset<T, ComponentTagUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
641
|
+
|
|
642
|
+
/**
|
|
643
|
+
* Update zero or more ComponentTags and returns the data updated in the database.
|
|
644
|
+
* @param {ComponentTagUpdateManyAndReturnArgs} args - Arguments to update many ComponentTags.
|
|
645
|
+
* @example
|
|
646
|
+
* // Update many ComponentTags
|
|
647
|
+
* const componentTag = await prisma.componentTag.updateManyAndReturn({
|
|
648
|
+
* where: {
|
|
649
|
+
* // ... provide filter here
|
|
650
|
+
* },
|
|
651
|
+
* data: [
|
|
652
|
+
* // ... provide data here
|
|
653
|
+
* ]
|
|
654
|
+
* })
|
|
655
|
+
*
|
|
656
|
+
* // Update zero or more ComponentTags and only return the `id`
|
|
657
|
+
* const componentTagWithIdOnly = await prisma.componentTag.updateManyAndReturn({
|
|
658
|
+
* select: { id: true },
|
|
659
|
+
* where: {
|
|
660
|
+
* // ... provide filter here
|
|
661
|
+
* },
|
|
662
|
+
* data: [
|
|
663
|
+
* // ... provide data here
|
|
664
|
+
* ]
|
|
665
|
+
* })
|
|
666
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
667
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
668
|
+
*
|
|
669
|
+
*/
|
|
670
|
+
updateManyAndReturn<T extends ComponentTagUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ComponentTagUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ComponentTagPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
671
|
+
|
|
672
|
+
/**
|
|
673
|
+
* Create or update one ComponentTag.
|
|
674
|
+
* @param {ComponentTagUpsertArgs} args - Arguments to update or create a ComponentTag.
|
|
675
|
+
* @example
|
|
676
|
+
* // Update or create a ComponentTag
|
|
677
|
+
* const componentTag = await prisma.componentTag.upsert({
|
|
678
|
+
* create: {
|
|
679
|
+
* // ... data to create a ComponentTag
|
|
680
|
+
* },
|
|
681
|
+
* update: {
|
|
682
|
+
* // ... in case it already exists, update
|
|
683
|
+
* },
|
|
684
|
+
* where: {
|
|
685
|
+
* // ... the filter for the ComponentTag we want to update
|
|
686
|
+
* }
|
|
687
|
+
* })
|
|
688
|
+
*/
|
|
689
|
+
upsert<T extends ComponentTagUpsertArgs>(args: Prisma.SelectSubset<T, ComponentTagUpsertArgs<ExtArgs>>): Prisma.Prisma__ComponentTagClient<runtime.Types.Result.GetResult<Prisma.$ComponentTagPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
690
|
+
|
|
691
|
+
|
|
692
|
+
/**
|
|
693
|
+
* Count the number of ComponentTags.
|
|
694
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
695
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
696
|
+
* @param {ComponentTagCountArgs} args - Arguments to filter ComponentTags to count.
|
|
697
|
+
* @example
|
|
698
|
+
* // Count the number of ComponentTags
|
|
699
|
+
* const count = await prisma.componentTag.count({
|
|
700
|
+
* where: {
|
|
701
|
+
* // ... the filter for the ComponentTags we want to count
|
|
702
|
+
* }
|
|
703
|
+
* })
|
|
704
|
+
**/
|
|
705
|
+
count<T extends ComponentTagCountArgs>(
|
|
706
|
+
args?: Prisma.Subset<T, ComponentTagCountArgs>,
|
|
707
|
+
): Prisma.PrismaPromise<
|
|
708
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
709
|
+
? T['select'] extends true
|
|
710
|
+
? number
|
|
711
|
+
: Prisma.GetScalarType<T['select'], ComponentTagCountAggregateOutputType>
|
|
712
|
+
: number
|
|
713
|
+
>
|
|
714
|
+
|
|
715
|
+
/**
|
|
716
|
+
* Allows you to perform aggregations operations on a ComponentTag.
|
|
717
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
718
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
719
|
+
* @param {ComponentTagAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
720
|
+
* @example
|
|
721
|
+
* // Ordered by age ascending
|
|
722
|
+
* // Where email contains prisma.io
|
|
723
|
+
* // Limited to the 10 users
|
|
724
|
+
* const aggregations = await prisma.user.aggregate({
|
|
725
|
+
* _avg: {
|
|
726
|
+
* age: true,
|
|
727
|
+
* },
|
|
728
|
+
* where: {
|
|
729
|
+
* email: {
|
|
730
|
+
* contains: "prisma.io",
|
|
731
|
+
* },
|
|
732
|
+
* },
|
|
733
|
+
* orderBy: {
|
|
734
|
+
* age: "asc",
|
|
735
|
+
* },
|
|
736
|
+
* take: 10,
|
|
737
|
+
* })
|
|
738
|
+
**/
|
|
739
|
+
aggregate<T extends ComponentTagAggregateArgs>(args: Prisma.Subset<T, ComponentTagAggregateArgs>): Prisma.PrismaPromise<GetComponentTagAggregateType<T>>
|
|
740
|
+
|
|
741
|
+
/**
|
|
742
|
+
* Group by ComponentTag.
|
|
743
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
744
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
745
|
+
* @param {ComponentTagGroupByArgs} args - Group by arguments.
|
|
746
|
+
* @example
|
|
747
|
+
* // Group by city, order by createdAt, get count
|
|
748
|
+
* const result = await prisma.user.groupBy({
|
|
749
|
+
* by: ['city', 'createdAt'],
|
|
750
|
+
* orderBy: {
|
|
751
|
+
* createdAt: true
|
|
752
|
+
* },
|
|
753
|
+
* _count: {
|
|
754
|
+
* _all: true
|
|
755
|
+
* },
|
|
756
|
+
* })
|
|
757
|
+
*
|
|
758
|
+
**/
|
|
759
|
+
groupBy<
|
|
760
|
+
T extends ComponentTagGroupByArgs,
|
|
761
|
+
HasSelectOrTake extends Prisma.Or<
|
|
762
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
763
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
764
|
+
>,
|
|
765
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
766
|
+
? { orderBy: ComponentTagGroupByArgs['orderBy'] }
|
|
767
|
+
: { orderBy?: ComponentTagGroupByArgs['orderBy'] },
|
|
768
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
769
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
770
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
771
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
772
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
773
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
774
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
775
|
+
? `Error: "by" must not be empty.`
|
|
776
|
+
: HavingValid extends Prisma.False
|
|
777
|
+
? {
|
|
778
|
+
[P in HavingFields]: P extends ByFields
|
|
779
|
+
? never
|
|
780
|
+
: P extends string
|
|
781
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
782
|
+
: [
|
|
783
|
+
Error,
|
|
784
|
+
'Field ',
|
|
785
|
+
P,
|
|
786
|
+
` in "having" needs to be provided in "by"`,
|
|
787
|
+
]
|
|
788
|
+
}[HavingFields]
|
|
789
|
+
: 'take' extends Prisma.Keys<T>
|
|
790
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
791
|
+
? ByValid extends Prisma.True
|
|
792
|
+
? {}
|
|
793
|
+
: {
|
|
794
|
+
[P in OrderFields]: P extends ByFields
|
|
795
|
+
? never
|
|
796
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
797
|
+
}[OrderFields]
|
|
798
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
799
|
+
: 'skip' extends Prisma.Keys<T>
|
|
800
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
801
|
+
? ByValid extends Prisma.True
|
|
802
|
+
? {}
|
|
803
|
+
: {
|
|
804
|
+
[P in OrderFields]: P extends ByFields
|
|
805
|
+
? never
|
|
806
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
807
|
+
}[OrderFields]
|
|
808
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
809
|
+
: ByValid extends Prisma.True
|
|
810
|
+
? {}
|
|
811
|
+
: {
|
|
812
|
+
[P in OrderFields]: P extends ByFields
|
|
813
|
+
? never
|
|
814
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
815
|
+
}[OrderFields]
|
|
816
|
+
>(args: Prisma.SubsetIntersection<T, ComponentTagGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetComponentTagGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
817
|
+
/**
|
|
818
|
+
* Fields of the ComponentTag model
|
|
819
|
+
*/
|
|
820
|
+
readonly fields: ComponentTagFieldRefs;
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
/**
|
|
824
|
+
* The delegate class that acts as a "Promise-like" for ComponentTag.
|
|
825
|
+
* Why is this prefixed with `Prisma__`?
|
|
826
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
827
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
828
|
+
*/
|
|
829
|
+
export interface Prisma__ComponentTagClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
830
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
831
|
+
component<T extends Prisma.ComponentDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ComponentDefaultArgs<ExtArgs>>): Prisma.Prisma__ComponentClient<runtime.Types.Result.GetResult<Prisma.$ComponentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
832
|
+
/**
|
|
833
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
834
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
835
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
836
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
837
|
+
*/
|
|
838
|
+
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>
|
|
839
|
+
/**
|
|
840
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
841
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
842
|
+
* @returns A Promise for the completion of the callback.
|
|
843
|
+
*/
|
|
844
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
845
|
+
/**
|
|
846
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
847
|
+
* resolved value cannot be modified from the callback.
|
|
848
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
849
|
+
* @returns A Promise for the completion of the callback.
|
|
850
|
+
*/
|
|
851
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
|
|
855
|
+
|
|
856
|
+
|
|
857
|
+
/**
|
|
858
|
+
* Fields of the ComponentTag model
|
|
859
|
+
*/
|
|
860
|
+
export interface ComponentTagFieldRefs {
|
|
861
|
+
readonly id: Prisma.FieldRef<"ComponentTag", 'String'>
|
|
862
|
+
readonly componentId: Prisma.FieldRef<"ComponentTag", 'String'>
|
|
863
|
+
readonly tagId: Prisma.FieldRef<"ComponentTag", 'String'>
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
|
|
867
|
+
// Custom InputTypes
|
|
868
|
+
/**
|
|
869
|
+
* ComponentTag findUnique
|
|
870
|
+
*/
|
|
871
|
+
export type ComponentTagFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
872
|
+
/**
|
|
873
|
+
* Select specific fields to fetch from the ComponentTag
|
|
874
|
+
*/
|
|
875
|
+
select?: Prisma.ComponentTagSelect<ExtArgs> | null
|
|
876
|
+
/**
|
|
877
|
+
* Omit specific fields from the ComponentTag
|
|
878
|
+
*/
|
|
879
|
+
omit?: Prisma.ComponentTagOmit<ExtArgs> | null
|
|
880
|
+
/**
|
|
881
|
+
* Choose, which related nodes to fetch as well
|
|
882
|
+
*/
|
|
883
|
+
include?: Prisma.ComponentTagInclude<ExtArgs> | null
|
|
884
|
+
/**
|
|
885
|
+
* Filter, which ComponentTag to fetch.
|
|
886
|
+
*/
|
|
887
|
+
where: Prisma.ComponentTagWhereUniqueInput
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
/**
|
|
891
|
+
* ComponentTag findUniqueOrThrow
|
|
892
|
+
*/
|
|
893
|
+
export type ComponentTagFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
894
|
+
/**
|
|
895
|
+
* Select specific fields to fetch from the ComponentTag
|
|
896
|
+
*/
|
|
897
|
+
select?: Prisma.ComponentTagSelect<ExtArgs> | null
|
|
898
|
+
/**
|
|
899
|
+
* Omit specific fields from the ComponentTag
|
|
900
|
+
*/
|
|
901
|
+
omit?: Prisma.ComponentTagOmit<ExtArgs> | null
|
|
902
|
+
/**
|
|
903
|
+
* Choose, which related nodes to fetch as well
|
|
904
|
+
*/
|
|
905
|
+
include?: Prisma.ComponentTagInclude<ExtArgs> | null
|
|
906
|
+
/**
|
|
907
|
+
* Filter, which ComponentTag to fetch.
|
|
908
|
+
*/
|
|
909
|
+
where: Prisma.ComponentTagWhereUniqueInput
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
/**
|
|
913
|
+
* ComponentTag findFirst
|
|
914
|
+
*/
|
|
915
|
+
export type ComponentTagFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
916
|
+
/**
|
|
917
|
+
* Select specific fields to fetch from the ComponentTag
|
|
918
|
+
*/
|
|
919
|
+
select?: Prisma.ComponentTagSelect<ExtArgs> | null
|
|
920
|
+
/**
|
|
921
|
+
* Omit specific fields from the ComponentTag
|
|
922
|
+
*/
|
|
923
|
+
omit?: Prisma.ComponentTagOmit<ExtArgs> | null
|
|
924
|
+
/**
|
|
925
|
+
* Choose, which related nodes to fetch as well
|
|
926
|
+
*/
|
|
927
|
+
include?: Prisma.ComponentTagInclude<ExtArgs> | null
|
|
928
|
+
/**
|
|
929
|
+
* Filter, which ComponentTag to fetch.
|
|
930
|
+
*/
|
|
931
|
+
where?: Prisma.ComponentTagWhereInput
|
|
932
|
+
/**
|
|
933
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
934
|
+
*
|
|
935
|
+
* Determine the order of ComponentTags to fetch.
|
|
936
|
+
*/
|
|
937
|
+
orderBy?: Prisma.ComponentTagOrderByWithRelationInput | Prisma.ComponentTagOrderByWithRelationInput[]
|
|
938
|
+
/**
|
|
939
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
940
|
+
*
|
|
941
|
+
* Sets the position for searching for ComponentTags.
|
|
942
|
+
*/
|
|
943
|
+
cursor?: Prisma.ComponentTagWhereUniqueInput
|
|
944
|
+
/**
|
|
945
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
946
|
+
*
|
|
947
|
+
* Take `±n` ComponentTags from the position of the cursor.
|
|
948
|
+
*/
|
|
949
|
+
take?: number
|
|
950
|
+
/**
|
|
951
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
952
|
+
*
|
|
953
|
+
* Skip the first `n` ComponentTags.
|
|
954
|
+
*/
|
|
955
|
+
skip?: number
|
|
956
|
+
/**
|
|
957
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
958
|
+
*
|
|
959
|
+
* Filter by unique combinations of ComponentTags.
|
|
960
|
+
*/
|
|
961
|
+
distinct?: Prisma.ComponentTagScalarFieldEnum | Prisma.ComponentTagScalarFieldEnum[]
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
/**
|
|
965
|
+
* ComponentTag findFirstOrThrow
|
|
966
|
+
*/
|
|
967
|
+
export type ComponentTagFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
968
|
+
/**
|
|
969
|
+
* Select specific fields to fetch from the ComponentTag
|
|
970
|
+
*/
|
|
971
|
+
select?: Prisma.ComponentTagSelect<ExtArgs> | null
|
|
972
|
+
/**
|
|
973
|
+
* Omit specific fields from the ComponentTag
|
|
974
|
+
*/
|
|
975
|
+
omit?: Prisma.ComponentTagOmit<ExtArgs> | null
|
|
976
|
+
/**
|
|
977
|
+
* Choose, which related nodes to fetch as well
|
|
978
|
+
*/
|
|
979
|
+
include?: Prisma.ComponentTagInclude<ExtArgs> | null
|
|
980
|
+
/**
|
|
981
|
+
* Filter, which ComponentTag to fetch.
|
|
982
|
+
*/
|
|
983
|
+
where?: Prisma.ComponentTagWhereInput
|
|
984
|
+
/**
|
|
985
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
986
|
+
*
|
|
987
|
+
* Determine the order of ComponentTags to fetch.
|
|
988
|
+
*/
|
|
989
|
+
orderBy?: Prisma.ComponentTagOrderByWithRelationInput | Prisma.ComponentTagOrderByWithRelationInput[]
|
|
990
|
+
/**
|
|
991
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
992
|
+
*
|
|
993
|
+
* Sets the position for searching for ComponentTags.
|
|
994
|
+
*/
|
|
995
|
+
cursor?: Prisma.ComponentTagWhereUniqueInput
|
|
996
|
+
/**
|
|
997
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
998
|
+
*
|
|
999
|
+
* Take `±n` ComponentTags from the position of the cursor.
|
|
1000
|
+
*/
|
|
1001
|
+
take?: number
|
|
1002
|
+
/**
|
|
1003
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1004
|
+
*
|
|
1005
|
+
* Skip the first `n` ComponentTags.
|
|
1006
|
+
*/
|
|
1007
|
+
skip?: number
|
|
1008
|
+
/**
|
|
1009
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1010
|
+
*
|
|
1011
|
+
* Filter by unique combinations of ComponentTags.
|
|
1012
|
+
*/
|
|
1013
|
+
distinct?: Prisma.ComponentTagScalarFieldEnum | Prisma.ComponentTagScalarFieldEnum[]
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
/**
|
|
1017
|
+
* ComponentTag findMany
|
|
1018
|
+
*/
|
|
1019
|
+
export type ComponentTagFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1020
|
+
/**
|
|
1021
|
+
* Select specific fields to fetch from the ComponentTag
|
|
1022
|
+
*/
|
|
1023
|
+
select?: Prisma.ComponentTagSelect<ExtArgs> | null
|
|
1024
|
+
/**
|
|
1025
|
+
* Omit specific fields from the ComponentTag
|
|
1026
|
+
*/
|
|
1027
|
+
omit?: Prisma.ComponentTagOmit<ExtArgs> | null
|
|
1028
|
+
/**
|
|
1029
|
+
* Choose, which related nodes to fetch as well
|
|
1030
|
+
*/
|
|
1031
|
+
include?: Prisma.ComponentTagInclude<ExtArgs> | null
|
|
1032
|
+
/**
|
|
1033
|
+
* Filter, which ComponentTags to fetch.
|
|
1034
|
+
*/
|
|
1035
|
+
where?: Prisma.ComponentTagWhereInput
|
|
1036
|
+
/**
|
|
1037
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1038
|
+
*
|
|
1039
|
+
* Determine the order of ComponentTags to fetch.
|
|
1040
|
+
*/
|
|
1041
|
+
orderBy?: Prisma.ComponentTagOrderByWithRelationInput | Prisma.ComponentTagOrderByWithRelationInput[]
|
|
1042
|
+
/**
|
|
1043
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1044
|
+
*
|
|
1045
|
+
* Sets the position for listing ComponentTags.
|
|
1046
|
+
*/
|
|
1047
|
+
cursor?: Prisma.ComponentTagWhereUniqueInput
|
|
1048
|
+
/**
|
|
1049
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1050
|
+
*
|
|
1051
|
+
* Take `±n` ComponentTags from the position of the cursor.
|
|
1052
|
+
*/
|
|
1053
|
+
take?: number
|
|
1054
|
+
/**
|
|
1055
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1056
|
+
*
|
|
1057
|
+
* Skip the first `n` ComponentTags.
|
|
1058
|
+
*/
|
|
1059
|
+
skip?: number
|
|
1060
|
+
/**
|
|
1061
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1062
|
+
*
|
|
1063
|
+
* Filter by unique combinations of ComponentTags.
|
|
1064
|
+
*/
|
|
1065
|
+
distinct?: Prisma.ComponentTagScalarFieldEnum | Prisma.ComponentTagScalarFieldEnum[]
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
/**
|
|
1069
|
+
* ComponentTag create
|
|
1070
|
+
*/
|
|
1071
|
+
export type ComponentTagCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1072
|
+
/**
|
|
1073
|
+
* Select specific fields to fetch from the ComponentTag
|
|
1074
|
+
*/
|
|
1075
|
+
select?: Prisma.ComponentTagSelect<ExtArgs> | null
|
|
1076
|
+
/**
|
|
1077
|
+
* Omit specific fields from the ComponentTag
|
|
1078
|
+
*/
|
|
1079
|
+
omit?: Prisma.ComponentTagOmit<ExtArgs> | null
|
|
1080
|
+
/**
|
|
1081
|
+
* Choose, which related nodes to fetch as well
|
|
1082
|
+
*/
|
|
1083
|
+
include?: Prisma.ComponentTagInclude<ExtArgs> | null
|
|
1084
|
+
/**
|
|
1085
|
+
* The data needed to create a ComponentTag.
|
|
1086
|
+
*/
|
|
1087
|
+
data: Prisma.XOR<Prisma.ComponentTagCreateInput, Prisma.ComponentTagUncheckedCreateInput>
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
/**
|
|
1091
|
+
* ComponentTag createMany
|
|
1092
|
+
*/
|
|
1093
|
+
export type ComponentTagCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1094
|
+
/**
|
|
1095
|
+
* The data used to create many ComponentTags.
|
|
1096
|
+
*/
|
|
1097
|
+
data: Prisma.ComponentTagCreateManyInput | Prisma.ComponentTagCreateManyInput[]
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
/**
|
|
1101
|
+
* ComponentTag createManyAndReturn
|
|
1102
|
+
*/
|
|
1103
|
+
export type ComponentTagCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1104
|
+
/**
|
|
1105
|
+
* Select specific fields to fetch from the ComponentTag
|
|
1106
|
+
*/
|
|
1107
|
+
select?: Prisma.ComponentTagSelectCreateManyAndReturn<ExtArgs> | null
|
|
1108
|
+
/**
|
|
1109
|
+
* Omit specific fields from the ComponentTag
|
|
1110
|
+
*/
|
|
1111
|
+
omit?: Prisma.ComponentTagOmit<ExtArgs> | null
|
|
1112
|
+
/**
|
|
1113
|
+
* The data used to create many ComponentTags.
|
|
1114
|
+
*/
|
|
1115
|
+
data: Prisma.ComponentTagCreateManyInput | Prisma.ComponentTagCreateManyInput[]
|
|
1116
|
+
/**
|
|
1117
|
+
* Choose, which related nodes to fetch as well
|
|
1118
|
+
*/
|
|
1119
|
+
include?: Prisma.ComponentTagIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
/**
|
|
1123
|
+
* ComponentTag update
|
|
1124
|
+
*/
|
|
1125
|
+
export type ComponentTagUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1126
|
+
/**
|
|
1127
|
+
* Select specific fields to fetch from the ComponentTag
|
|
1128
|
+
*/
|
|
1129
|
+
select?: Prisma.ComponentTagSelect<ExtArgs> | null
|
|
1130
|
+
/**
|
|
1131
|
+
* Omit specific fields from the ComponentTag
|
|
1132
|
+
*/
|
|
1133
|
+
omit?: Prisma.ComponentTagOmit<ExtArgs> | null
|
|
1134
|
+
/**
|
|
1135
|
+
* Choose, which related nodes to fetch as well
|
|
1136
|
+
*/
|
|
1137
|
+
include?: Prisma.ComponentTagInclude<ExtArgs> | null
|
|
1138
|
+
/**
|
|
1139
|
+
* The data needed to update a ComponentTag.
|
|
1140
|
+
*/
|
|
1141
|
+
data: Prisma.XOR<Prisma.ComponentTagUpdateInput, Prisma.ComponentTagUncheckedUpdateInput>
|
|
1142
|
+
/**
|
|
1143
|
+
* Choose, which ComponentTag to update.
|
|
1144
|
+
*/
|
|
1145
|
+
where: Prisma.ComponentTagWhereUniqueInput
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
/**
|
|
1149
|
+
* ComponentTag updateMany
|
|
1150
|
+
*/
|
|
1151
|
+
export type ComponentTagUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1152
|
+
/**
|
|
1153
|
+
* The data used to update ComponentTags.
|
|
1154
|
+
*/
|
|
1155
|
+
data: Prisma.XOR<Prisma.ComponentTagUpdateManyMutationInput, Prisma.ComponentTagUncheckedUpdateManyInput>
|
|
1156
|
+
/**
|
|
1157
|
+
* Filter which ComponentTags to update
|
|
1158
|
+
*/
|
|
1159
|
+
where?: Prisma.ComponentTagWhereInput
|
|
1160
|
+
/**
|
|
1161
|
+
* Limit how many ComponentTags to update.
|
|
1162
|
+
*/
|
|
1163
|
+
limit?: number
|
|
1164
|
+
}
|
|
1165
|
+
|
|
1166
|
+
/**
|
|
1167
|
+
* ComponentTag updateManyAndReturn
|
|
1168
|
+
*/
|
|
1169
|
+
export type ComponentTagUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1170
|
+
/**
|
|
1171
|
+
* Select specific fields to fetch from the ComponentTag
|
|
1172
|
+
*/
|
|
1173
|
+
select?: Prisma.ComponentTagSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1174
|
+
/**
|
|
1175
|
+
* Omit specific fields from the ComponentTag
|
|
1176
|
+
*/
|
|
1177
|
+
omit?: Prisma.ComponentTagOmit<ExtArgs> | null
|
|
1178
|
+
/**
|
|
1179
|
+
* The data used to update ComponentTags.
|
|
1180
|
+
*/
|
|
1181
|
+
data: Prisma.XOR<Prisma.ComponentTagUpdateManyMutationInput, Prisma.ComponentTagUncheckedUpdateManyInput>
|
|
1182
|
+
/**
|
|
1183
|
+
* Filter which ComponentTags to update
|
|
1184
|
+
*/
|
|
1185
|
+
where?: Prisma.ComponentTagWhereInput
|
|
1186
|
+
/**
|
|
1187
|
+
* Limit how many ComponentTags to update.
|
|
1188
|
+
*/
|
|
1189
|
+
limit?: number
|
|
1190
|
+
/**
|
|
1191
|
+
* Choose, which related nodes to fetch as well
|
|
1192
|
+
*/
|
|
1193
|
+
include?: Prisma.ComponentTagIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
/**
|
|
1197
|
+
* ComponentTag upsert
|
|
1198
|
+
*/
|
|
1199
|
+
export type ComponentTagUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1200
|
+
/**
|
|
1201
|
+
* Select specific fields to fetch from the ComponentTag
|
|
1202
|
+
*/
|
|
1203
|
+
select?: Prisma.ComponentTagSelect<ExtArgs> | null
|
|
1204
|
+
/**
|
|
1205
|
+
* Omit specific fields from the ComponentTag
|
|
1206
|
+
*/
|
|
1207
|
+
omit?: Prisma.ComponentTagOmit<ExtArgs> | null
|
|
1208
|
+
/**
|
|
1209
|
+
* Choose, which related nodes to fetch as well
|
|
1210
|
+
*/
|
|
1211
|
+
include?: Prisma.ComponentTagInclude<ExtArgs> | null
|
|
1212
|
+
/**
|
|
1213
|
+
* The filter to search for the ComponentTag to update in case it exists.
|
|
1214
|
+
*/
|
|
1215
|
+
where: Prisma.ComponentTagWhereUniqueInput
|
|
1216
|
+
/**
|
|
1217
|
+
* In case the ComponentTag found by the `where` argument doesn't exist, create a new ComponentTag with this data.
|
|
1218
|
+
*/
|
|
1219
|
+
create: Prisma.XOR<Prisma.ComponentTagCreateInput, Prisma.ComponentTagUncheckedCreateInput>
|
|
1220
|
+
/**
|
|
1221
|
+
* In case the ComponentTag was found with the provided `where` argument, update it with this data.
|
|
1222
|
+
*/
|
|
1223
|
+
update: Prisma.XOR<Prisma.ComponentTagUpdateInput, Prisma.ComponentTagUncheckedUpdateInput>
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
/**
|
|
1227
|
+
* ComponentTag delete
|
|
1228
|
+
*/
|
|
1229
|
+
export type ComponentTagDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1230
|
+
/**
|
|
1231
|
+
* Select specific fields to fetch from the ComponentTag
|
|
1232
|
+
*/
|
|
1233
|
+
select?: Prisma.ComponentTagSelect<ExtArgs> | null
|
|
1234
|
+
/**
|
|
1235
|
+
* Omit specific fields from the ComponentTag
|
|
1236
|
+
*/
|
|
1237
|
+
omit?: Prisma.ComponentTagOmit<ExtArgs> | null
|
|
1238
|
+
/**
|
|
1239
|
+
* Choose, which related nodes to fetch as well
|
|
1240
|
+
*/
|
|
1241
|
+
include?: Prisma.ComponentTagInclude<ExtArgs> | null
|
|
1242
|
+
/**
|
|
1243
|
+
* Filter which ComponentTag to delete.
|
|
1244
|
+
*/
|
|
1245
|
+
where: Prisma.ComponentTagWhereUniqueInput
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
/**
|
|
1249
|
+
* ComponentTag deleteMany
|
|
1250
|
+
*/
|
|
1251
|
+
export type ComponentTagDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1252
|
+
/**
|
|
1253
|
+
* Filter which ComponentTags to delete
|
|
1254
|
+
*/
|
|
1255
|
+
where?: Prisma.ComponentTagWhereInput
|
|
1256
|
+
/**
|
|
1257
|
+
* Limit how many ComponentTags to delete.
|
|
1258
|
+
*/
|
|
1259
|
+
limit?: number
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1262
|
+
/**
|
|
1263
|
+
* ComponentTag without action
|
|
1264
|
+
*/
|
|
1265
|
+
export type ComponentTagDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1266
|
+
/**
|
|
1267
|
+
* Select specific fields to fetch from the ComponentTag
|
|
1268
|
+
*/
|
|
1269
|
+
select?: Prisma.ComponentTagSelect<ExtArgs> | null
|
|
1270
|
+
/**
|
|
1271
|
+
* Omit specific fields from the ComponentTag
|
|
1272
|
+
*/
|
|
1273
|
+
omit?: Prisma.ComponentTagOmit<ExtArgs> | null
|
|
1274
|
+
/**
|
|
1275
|
+
* Choose, which related nodes to fetch as well
|
|
1276
|
+
*/
|
|
1277
|
+
include?: Prisma.ComponentTagInclude<ExtArgs> | null
|
|
1278
|
+
}
|