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