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