@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,2345 @@
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: string[]
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.StringNullableListFilter<"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.StringNullableListFilter<"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.StringNullableListFilter<"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.ComponentCreatetagsInput | string[]
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.ComponentCreatetagsInput | string[]
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.ComponentUpdatetagsInput | string[]
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.ComponentUpdatetagsInput | string[]
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.ComponentCreatetagsInput | string[]
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.ComponentUpdatetagsInput | string[]
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.ComponentUpdatetagsInput | string[]
677
+ }
678
+
679
+ export type StringNullableListFilter<$PrismaModel = never> = {
680
+ equals?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null
681
+ has?: string | Prisma.StringFieldRefInput<$PrismaModel> | null
682
+ hasEvery?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
683
+ hasSome?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>
684
+ isEmpty?: boolean
685
+ }
686
+
687
+ export type ComponentCountOrderByAggregateInput = {
688
+ id?: Prisma.SortOrder
689
+ name?: Prisma.SortOrder
690
+ description?: Prisma.SortOrder
691
+ type?: Prisma.SortOrder
692
+ category?: Prisma.SortOrder
693
+ subCategory?: Prisma.SortOrder
694
+ path?: Prisma.SortOrder
695
+ defaultWidth?: Prisma.SortOrder
696
+ defaultHeight?: Prisma.SortOrder
697
+ prototypeKey?: Prisma.SortOrder
698
+ config?: Prisma.SortOrder
699
+ defaultProps?: Prisma.SortOrder
700
+ defaultStyle?: Prisma.SortOrder
701
+ preview?: Prisma.SortOrder
702
+ version?: Prisma.SortOrder
703
+ sortOrder?: Prisma.SortOrder
704
+ source?: Prisma.SortOrder
705
+ sourceId?: Prisma.SortOrder
706
+ isHidden?: Prisma.SortOrder
707
+ isDeleted?: Prisma.SortOrder
708
+ createdAt?: Prisma.SortOrder
709
+ updatedAt?: Prisma.SortOrder
710
+ tags?: Prisma.SortOrder
711
+ }
712
+
713
+ export type ComponentAvgOrderByAggregateInput = {
714
+ defaultWidth?: Prisma.SortOrder
715
+ defaultHeight?: Prisma.SortOrder
716
+ version?: Prisma.SortOrder
717
+ sortOrder?: Prisma.SortOrder
718
+ }
719
+
720
+ export type ComponentMaxOrderByAggregateInput = {
721
+ id?: Prisma.SortOrder
722
+ name?: Prisma.SortOrder
723
+ description?: Prisma.SortOrder
724
+ type?: Prisma.SortOrder
725
+ category?: Prisma.SortOrder
726
+ subCategory?: Prisma.SortOrder
727
+ path?: Prisma.SortOrder
728
+ defaultWidth?: Prisma.SortOrder
729
+ defaultHeight?: Prisma.SortOrder
730
+ prototypeKey?: Prisma.SortOrder
731
+ preview?: Prisma.SortOrder
732
+ version?: Prisma.SortOrder
733
+ sortOrder?: Prisma.SortOrder
734
+ source?: Prisma.SortOrder
735
+ sourceId?: Prisma.SortOrder
736
+ isHidden?: Prisma.SortOrder
737
+ isDeleted?: Prisma.SortOrder
738
+ createdAt?: Prisma.SortOrder
739
+ updatedAt?: Prisma.SortOrder
740
+ }
741
+
742
+ export type ComponentMinOrderByAggregateInput = {
743
+ id?: Prisma.SortOrder
744
+ name?: Prisma.SortOrder
745
+ description?: Prisma.SortOrder
746
+ type?: Prisma.SortOrder
747
+ category?: Prisma.SortOrder
748
+ subCategory?: Prisma.SortOrder
749
+ path?: Prisma.SortOrder
750
+ defaultWidth?: Prisma.SortOrder
751
+ defaultHeight?: Prisma.SortOrder
752
+ prototypeKey?: Prisma.SortOrder
753
+ preview?: Prisma.SortOrder
754
+ version?: Prisma.SortOrder
755
+ sortOrder?: Prisma.SortOrder
756
+ source?: Prisma.SortOrder
757
+ sourceId?: Prisma.SortOrder
758
+ isHidden?: Prisma.SortOrder
759
+ isDeleted?: Prisma.SortOrder
760
+ createdAt?: Prisma.SortOrder
761
+ updatedAt?: Prisma.SortOrder
762
+ }
763
+
764
+ export type ComponentSumOrderByAggregateInput = {
765
+ defaultWidth?: Prisma.SortOrder
766
+ defaultHeight?: Prisma.SortOrder
767
+ version?: Prisma.SortOrder
768
+ sortOrder?: Prisma.SortOrder
769
+ }
770
+
771
+ export type ComponentScalarRelationFilter = {
772
+ is?: Prisma.ComponentWhereInput
773
+ isNot?: Prisma.ComponentWhereInput
774
+ }
775
+
776
+ export type ComponentNullableScalarRelationFilter = {
777
+ is?: Prisma.ComponentWhereInput | null
778
+ isNot?: Prisma.ComponentWhereInput | null
779
+ }
780
+
781
+ export type ComponentCreatetagsInput = {
782
+ set: string[]
783
+ }
784
+
785
+ export type ComponentUpdatetagsInput = {
786
+ set?: string[]
787
+ push?: string | string[]
788
+ }
789
+
790
+ export type ComponentCreateNestedOneWithoutBlockItemsInput = {
791
+ create?: Prisma.XOR<Prisma.ComponentCreateWithoutBlockItemsInput, Prisma.ComponentUncheckedCreateWithoutBlockItemsInput>
792
+ connectOrCreate?: Prisma.ComponentCreateOrConnectWithoutBlockItemsInput
793
+ connect?: Prisma.ComponentWhereUniqueInput
794
+ }
795
+
796
+ export type ComponentUpdateOneRequiredWithoutBlockItemsNestedInput = {
797
+ create?: Prisma.XOR<Prisma.ComponentCreateWithoutBlockItemsInput, Prisma.ComponentUncheckedCreateWithoutBlockItemsInput>
798
+ connectOrCreate?: Prisma.ComponentCreateOrConnectWithoutBlockItemsInput
799
+ upsert?: Prisma.ComponentUpsertWithoutBlockItemsInput
800
+ connect?: Prisma.ComponentWhereUniqueInput
801
+ update?: Prisma.XOR<Prisma.XOR<Prisma.ComponentUpdateToOneWithWhereWithoutBlockItemsInput, Prisma.ComponentUpdateWithoutBlockItemsInput>, Prisma.ComponentUncheckedUpdateWithoutBlockItemsInput>
802
+ }
803
+
804
+ export type ComponentCreateNestedOneWithoutInstancesInput = {
805
+ create?: Prisma.XOR<Prisma.ComponentCreateWithoutInstancesInput, Prisma.ComponentUncheckedCreateWithoutInstancesInput>
806
+ connectOrCreate?: Prisma.ComponentCreateOrConnectWithoutInstancesInput
807
+ connect?: Prisma.ComponentWhereUniqueInput
808
+ }
809
+
810
+ export type ComponentUpdateOneWithoutInstancesNestedInput = {
811
+ create?: Prisma.XOR<Prisma.ComponentCreateWithoutInstancesInput, Prisma.ComponentUncheckedCreateWithoutInstancesInput>
812
+ connectOrCreate?: Prisma.ComponentCreateOrConnectWithoutInstancesInput
813
+ upsert?: Prisma.ComponentUpsertWithoutInstancesInput
814
+ disconnect?: Prisma.ComponentWhereInput | boolean
815
+ delete?: Prisma.ComponentWhereInput | boolean
816
+ connect?: Prisma.ComponentWhereUniqueInput
817
+ update?: Prisma.XOR<Prisma.XOR<Prisma.ComponentUpdateToOneWithWhereWithoutInstancesInput, Prisma.ComponentUpdateWithoutInstancesInput>, Prisma.ComponentUncheckedUpdateWithoutInstancesInput>
818
+ }
819
+
820
+ export type ComponentCreateNestedOneWithoutComponentTagsInput = {
821
+ create?: Prisma.XOR<Prisma.ComponentCreateWithoutComponentTagsInput, Prisma.ComponentUncheckedCreateWithoutComponentTagsInput>
822
+ connectOrCreate?: Prisma.ComponentCreateOrConnectWithoutComponentTagsInput
823
+ connect?: Prisma.ComponentWhereUniqueInput
824
+ }
825
+
826
+ export type ComponentUpdateOneRequiredWithoutComponentTagsNestedInput = {
827
+ create?: Prisma.XOR<Prisma.ComponentCreateWithoutComponentTagsInput, Prisma.ComponentUncheckedCreateWithoutComponentTagsInput>
828
+ connectOrCreate?: Prisma.ComponentCreateOrConnectWithoutComponentTagsInput
829
+ upsert?: Prisma.ComponentUpsertWithoutComponentTagsInput
830
+ connect?: Prisma.ComponentWhereUniqueInput
831
+ update?: Prisma.XOR<Prisma.XOR<Prisma.ComponentUpdateToOneWithWhereWithoutComponentTagsInput, Prisma.ComponentUpdateWithoutComponentTagsInput>, Prisma.ComponentUncheckedUpdateWithoutComponentTagsInput>
832
+ }
833
+
834
+ export type ComponentCreateWithoutBlockItemsInput = {
835
+ id?: string
836
+ name: string
837
+ description?: string | null
838
+ type: string
839
+ category?: string | null
840
+ subCategory?: string | null
841
+ path?: string | null
842
+ defaultWidth?: number
843
+ defaultHeight?: number
844
+ prototypeKey?: string | null
845
+ config: Prisma.JsonNullValueInput | runtime.InputJsonValue
846
+ defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
847
+ defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
848
+ preview?: string | null
849
+ version?: number
850
+ sortOrder?: number
851
+ source?: string
852
+ sourceId?: string | null
853
+ isHidden?: boolean
854
+ isDeleted?: boolean
855
+ createdAt?: Date | string
856
+ updatedAt?: Date | string
857
+ tags?: Prisma.ComponentCreatetagsInput | string[]
858
+ instances?: Prisma.ComponentInstanceCreateNestedManyWithoutComponentInput
859
+ componentTags?: Prisma.ComponentTagCreateNestedManyWithoutComponentInput
860
+ }
861
+
862
+ export type ComponentUncheckedCreateWithoutBlockItemsInput = {
863
+ id?: string
864
+ name: string
865
+ description?: string | null
866
+ type: string
867
+ category?: string | null
868
+ subCategory?: string | null
869
+ path?: string | null
870
+ defaultWidth?: number
871
+ defaultHeight?: number
872
+ prototypeKey?: string | null
873
+ config: Prisma.JsonNullValueInput | runtime.InputJsonValue
874
+ defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
875
+ defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
876
+ preview?: string | null
877
+ version?: number
878
+ sortOrder?: number
879
+ source?: string
880
+ sourceId?: string | null
881
+ isHidden?: boolean
882
+ isDeleted?: boolean
883
+ createdAt?: Date | string
884
+ updatedAt?: Date | string
885
+ tags?: Prisma.ComponentCreatetagsInput | string[]
886
+ instances?: Prisma.ComponentInstanceUncheckedCreateNestedManyWithoutComponentInput
887
+ componentTags?: Prisma.ComponentTagUncheckedCreateNestedManyWithoutComponentInput
888
+ }
889
+
890
+ export type ComponentCreateOrConnectWithoutBlockItemsInput = {
891
+ where: Prisma.ComponentWhereUniqueInput
892
+ create: Prisma.XOR<Prisma.ComponentCreateWithoutBlockItemsInput, Prisma.ComponentUncheckedCreateWithoutBlockItemsInput>
893
+ }
894
+
895
+ export type ComponentUpsertWithoutBlockItemsInput = {
896
+ update: Prisma.XOR<Prisma.ComponentUpdateWithoutBlockItemsInput, Prisma.ComponentUncheckedUpdateWithoutBlockItemsInput>
897
+ create: Prisma.XOR<Prisma.ComponentCreateWithoutBlockItemsInput, Prisma.ComponentUncheckedCreateWithoutBlockItemsInput>
898
+ where?: Prisma.ComponentWhereInput
899
+ }
900
+
901
+ export type ComponentUpdateToOneWithWhereWithoutBlockItemsInput = {
902
+ where?: Prisma.ComponentWhereInput
903
+ data: Prisma.XOR<Prisma.ComponentUpdateWithoutBlockItemsInput, Prisma.ComponentUncheckedUpdateWithoutBlockItemsInput>
904
+ }
905
+
906
+ export type ComponentUpdateWithoutBlockItemsInput = {
907
+ id?: Prisma.StringFieldUpdateOperationsInput | string
908
+ name?: Prisma.StringFieldUpdateOperationsInput | string
909
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
910
+ type?: Prisma.StringFieldUpdateOperationsInput | string
911
+ category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
912
+ subCategory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
913
+ path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
914
+ defaultWidth?: Prisma.IntFieldUpdateOperationsInput | number
915
+ defaultHeight?: Prisma.IntFieldUpdateOperationsInput | number
916
+ prototypeKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
917
+ config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
918
+ defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
919
+ defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
920
+ preview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
921
+ version?: Prisma.IntFieldUpdateOperationsInput | number
922
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
923
+ source?: Prisma.StringFieldUpdateOperationsInput | string
924
+ sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
925
+ isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
926
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
927
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
928
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
929
+ tags?: Prisma.ComponentUpdatetagsInput | string[]
930
+ instances?: Prisma.ComponentInstanceUpdateManyWithoutComponentNestedInput
931
+ componentTags?: Prisma.ComponentTagUpdateManyWithoutComponentNestedInput
932
+ }
933
+
934
+ export type ComponentUncheckedUpdateWithoutBlockItemsInput = {
935
+ id?: Prisma.StringFieldUpdateOperationsInput | string
936
+ name?: Prisma.StringFieldUpdateOperationsInput | string
937
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
938
+ type?: Prisma.StringFieldUpdateOperationsInput | string
939
+ category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
940
+ subCategory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
941
+ path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
942
+ defaultWidth?: Prisma.IntFieldUpdateOperationsInput | number
943
+ defaultHeight?: Prisma.IntFieldUpdateOperationsInput | number
944
+ prototypeKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
945
+ config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
946
+ defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
947
+ defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
948
+ preview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
949
+ version?: Prisma.IntFieldUpdateOperationsInput | number
950
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
951
+ source?: Prisma.StringFieldUpdateOperationsInput | string
952
+ sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
953
+ isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
954
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
955
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
956
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
957
+ tags?: Prisma.ComponentUpdatetagsInput | string[]
958
+ instances?: Prisma.ComponentInstanceUncheckedUpdateManyWithoutComponentNestedInput
959
+ componentTags?: Prisma.ComponentTagUncheckedUpdateManyWithoutComponentNestedInput
960
+ }
961
+
962
+ export type ComponentCreateWithoutInstancesInput = {
963
+ id?: string
964
+ name: string
965
+ description?: string | null
966
+ type: string
967
+ category?: string | null
968
+ subCategory?: string | null
969
+ path?: string | null
970
+ defaultWidth?: number
971
+ defaultHeight?: number
972
+ prototypeKey?: string | null
973
+ config: Prisma.JsonNullValueInput | runtime.InputJsonValue
974
+ defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
975
+ defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
976
+ preview?: string | null
977
+ version?: number
978
+ sortOrder?: number
979
+ source?: string
980
+ sourceId?: string | null
981
+ isHidden?: boolean
982
+ isDeleted?: boolean
983
+ createdAt?: Date | string
984
+ updatedAt?: Date | string
985
+ tags?: Prisma.ComponentCreatetagsInput | string[]
986
+ blockItems?: Prisma.BlockComponentCreateNestedManyWithoutComponentInput
987
+ componentTags?: Prisma.ComponentTagCreateNestedManyWithoutComponentInput
988
+ }
989
+
990
+ export type ComponentUncheckedCreateWithoutInstancesInput = {
991
+ id?: string
992
+ name: string
993
+ description?: string | null
994
+ type: string
995
+ category?: string | null
996
+ subCategory?: string | null
997
+ path?: string | null
998
+ defaultWidth?: number
999
+ defaultHeight?: number
1000
+ prototypeKey?: string | null
1001
+ config: Prisma.JsonNullValueInput | runtime.InputJsonValue
1002
+ defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1003
+ defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1004
+ preview?: string | null
1005
+ version?: number
1006
+ sortOrder?: number
1007
+ source?: string
1008
+ sourceId?: string | null
1009
+ isHidden?: boolean
1010
+ isDeleted?: boolean
1011
+ createdAt?: Date | string
1012
+ updatedAt?: Date | string
1013
+ tags?: Prisma.ComponentCreatetagsInput | string[]
1014
+ blockItems?: Prisma.BlockComponentUncheckedCreateNestedManyWithoutComponentInput
1015
+ componentTags?: Prisma.ComponentTagUncheckedCreateNestedManyWithoutComponentInput
1016
+ }
1017
+
1018
+ export type ComponentCreateOrConnectWithoutInstancesInput = {
1019
+ where: Prisma.ComponentWhereUniqueInput
1020
+ create: Prisma.XOR<Prisma.ComponentCreateWithoutInstancesInput, Prisma.ComponentUncheckedCreateWithoutInstancesInput>
1021
+ }
1022
+
1023
+ export type ComponentUpsertWithoutInstancesInput = {
1024
+ update: Prisma.XOR<Prisma.ComponentUpdateWithoutInstancesInput, Prisma.ComponentUncheckedUpdateWithoutInstancesInput>
1025
+ create: Prisma.XOR<Prisma.ComponentCreateWithoutInstancesInput, Prisma.ComponentUncheckedCreateWithoutInstancesInput>
1026
+ where?: Prisma.ComponentWhereInput
1027
+ }
1028
+
1029
+ export type ComponentUpdateToOneWithWhereWithoutInstancesInput = {
1030
+ where?: Prisma.ComponentWhereInput
1031
+ data: Prisma.XOR<Prisma.ComponentUpdateWithoutInstancesInput, Prisma.ComponentUncheckedUpdateWithoutInstancesInput>
1032
+ }
1033
+
1034
+ export type ComponentUpdateWithoutInstancesInput = {
1035
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1036
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1037
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1038
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1039
+ category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1040
+ subCategory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1041
+ path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1042
+ defaultWidth?: Prisma.IntFieldUpdateOperationsInput | number
1043
+ defaultHeight?: Prisma.IntFieldUpdateOperationsInput | number
1044
+ prototypeKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1045
+ config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1046
+ defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1047
+ defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1048
+ preview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1049
+ version?: Prisma.IntFieldUpdateOperationsInput | number
1050
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
1051
+ source?: Prisma.StringFieldUpdateOperationsInput | string
1052
+ sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1053
+ isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
1054
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1055
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1056
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1057
+ tags?: Prisma.ComponentUpdatetagsInput | string[]
1058
+ blockItems?: Prisma.BlockComponentUpdateManyWithoutComponentNestedInput
1059
+ componentTags?: Prisma.ComponentTagUpdateManyWithoutComponentNestedInput
1060
+ }
1061
+
1062
+ export type ComponentUncheckedUpdateWithoutInstancesInput = {
1063
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1064
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1065
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1066
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1067
+ category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1068
+ subCategory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1069
+ path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1070
+ defaultWidth?: Prisma.IntFieldUpdateOperationsInput | number
1071
+ defaultHeight?: Prisma.IntFieldUpdateOperationsInput | number
1072
+ prototypeKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1073
+ config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1074
+ defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1075
+ defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1076
+ preview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1077
+ version?: Prisma.IntFieldUpdateOperationsInput | number
1078
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
1079
+ source?: Prisma.StringFieldUpdateOperationsInput | string
1080
+ sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1081
+ isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
1082
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1083
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1084
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1085
+ tags?: Prisma.ComponentUpdatetagsInput | string[]
1086
+ blockItems?: Prisma.BlockComponentUncheckedUpdateManyWithoutComponentNestedInput
1087
+ componentTags?: Prisma.ComponentTagUncheckedUpdateManyWithoutComponentNestedInput
1088
+ }
1089
+
1090
+ export type ComponentCreateWithoutComponentTagsInput = {
1091
+ id?: string
1092
+ name: string
1093
+ description?: string | null
1094
+ type: string
1095
+ category?: string | null
1096
+ subCategory?: string | null
1097
+ path?: string | null
1098
+ defaultWidth?: number
1099
+ defaultHeight?: number
1100
+ prototypeKey?: string | null
1101
+ config: Prisma.JsonNullValueInput | runtime.InputJsonValue
1102
+ defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1103
+ defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1104
+ preview?: string | null
1105
+ version?: number
1106
+ sortOrder?: number
1107
+ source?: string
1108
+ sourceId?: string | null
1109
+ isHidden?: boolean
1110
+ isDeleted?: boolean
1111
+ createdAt?: Date | string
1112
+ updatedAt?: Date | string
1113
+ tags?: Prisma.ComponentCreatetagsInput | string[]
1114
+ blockItems?: Prisma.BlockComponentCreateNestedManyWithoutComponentInput
1115
+ instances?: Prisma.ComponentInstanceCreateNestedManyWithoutComponentInput
1116
+ }
1117
+
1118
+ export type ComponentUncheckedCreateWithoutComponentTagsInput = {
1119
+ id?: string
1120
+ name: string
1121
+ description?: string | null
1122
+ type: string
1123
+ category?: string | null
1124
+ subCategory?: string | null
1125
+ path?: string | null
1126
+ defaultWidth?: number
1127
+ defaultHeight?: number
1128
+ prototypeKey?: string | null
1129
+ config: Prisma.JsonNullValueInput | runtime.InputJsonValue
1130
+ defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1131
+ defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1132
+ preview?: string | null
1133
+ version?: number
1134
+ sortOrder?: number
1135
+ source?: string
1136
+ sourceId?: string | null
1137
+ isHidden?: boolean
1138
+ isDeleted?: boolean
1139
+ createdAt?: Date | string
1140
+ updatedAt?: Date | string
1141
+ tags?: Prisma.ComponentCreatetagsInput | string[]
1142
+ blockItems?: Prisma.BlockComponentUncheckedCreateNestedManyWithoutComponentInput
1143
+ instances?: Prisma.ComponentInstanceUncheckedCreateNestedManyWithoutComponentInput
1144
+ }
1145
+
1146
+ export type ComponentCreateOrConnectWithoutComponentTagsInput = {
1147
+ where: Prisma.ComponentWhereUniqueInput
1148
+ create: Prisma.XOR<Prisma.ComponentCreateWithoutComponentTagsInput, Prisma.ComponentUncheckedCreateWithoutComponentTagsInput>
1149
+ }
1150
+
1151
+ export type ComponentUpsertWithoutComponentTagsInput = {
1152
+ update: Prisma.XOR<Prisma.ComponentUpdateWithoutComponentTagsInput, Prisma.ComponentUncheckedUpdateWithoutComponentTagsInput>
1153
+ create: Prisma.XOR<Prisma.ComponentCreateWithoutComponentTagsInput, Prisma.ComponentUncheckedCreateWithoutComponentTagsInput>
1154
+ where?: Prisma.ComponentWhereInput
1155
+ }
1156
+
1157
+ export type ComponentUpdateToOneWithWhereWithoutComponentTagsInput = {
1158
+ where?: Prisma.ComponentWhereInput
1159
+ data: Prisma.XOR<Prisma.ComponentUpdateWithoutComponentTagsInput, Prisma.ComponentUncheckedUpdateWithoutComponentTagsInput>
1160
+ }
1161
+
1162
+ export type ComponentUpdateWithoutComponentTagsInput = {
1163
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1164
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1165
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1166
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1167
+ category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1168
+ subCategory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1169
+ path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1170
+ defaultWidth?: Prisma.IntFieldUpdateOperationsInput | number
1171
+ defaultHeight?: Prisma.IntFieldUpdateOperationsInput | number
1172
+ prototypeKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1173
+ config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1174
+ defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1175
+ defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1176
+ preview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1177
+ version?: Prisma.IntFieldUpdateOperationsInput | number
1178
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
1179
+ source?: Prisma.StringFieldUpdateOperationsInput | string
1180
+ sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1181
+ isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
1182
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1183
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1184
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1185
+ tags?: Prisma.ComponentUpdatetagsInput | string[]
1186
+ blockItems?: Prisma.BlockComponentUpdateManyWithoutComponentNestedInput
1187
+ instances?: Prisma.ComponentInstanceUpdateManyWithoutComponentNestedInput
1188
+ }
1189
+
1190
+ export type ComponentUncheckedUpdateWithoutComponentTagsInput = {
1191
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1192
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1193
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1194
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1195
+ category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1196
+ subCategory?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1197
+ path?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1198
+ defaultWidth?: Prisma.IntFieldUpdateOperationsInput | number
1199
+ defaultHeight?: Prisma.IntFieldUpdateOperationsInput | number
1200
+ prototypeKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1201
+ config?: Prisma.JsonNullValueInput | runtime.InputJsonValue
1202
+ defaultProps?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1203
+ defaultStyle?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1204
+ preview?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1205
+ version?: Prisma.IntFieldUpdateOperationsInput | number
1206
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
1207
+ source?: Prisma.StringFieldUpdateOperationsInput | string
1208
+ sourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1209
+ isHidden?: Prisma.BoolFieldUpdateOperationsInput | boolean
1210
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1211
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1212
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1213
+ tags?: Prisma.ComponentUpdatetagsInput | string[]
1214
+ blockItems?: Prisma.BlockComponentUncheckedUpdateManyWithoutComponentNestedInput
1215
+ instances?: Prisma.ComponentInstanceUncheckedUpdateManyWithoutComponentNestedInput
1216
+ }
1217
+
1218
+
1219
+ /**
1220
+ * Count Type ComponentCountOutputType
1221
+ */
1222
+
1223
+ export type ComponentCountOutputType = {
1224
+ blockItems: number
1225
+ instances: number
1226
+ componentTags: number
1227
+ }
1228
+
1229
+ export type ComponentCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1230
+ blockItems?: boolean | ComponentCountOutputTypeCountBlockItemsArgs
1231
+ instances?: boolean | ComponentCountOutputTypeCountInstancesArgs
1232
+ componentTags?: boolean | ComponentCountOutputTypeCountComponentTagsArgs
1233
+ }
1234
+
1235
+ /**
1236
+ * ComponentCountOutputType without action
1237
+ */
1238
+ export type ComponentCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1239
+ /**
1240
+ * Select specific fields to fetch from the ComponentCountOutputType
1241
+ */
1242
+ select?: Prisma.ComponentCountOutputTypeSelect<ExtArgs> | null
1243
+ }
1244
+
1245
+ /**
1246
+ * ComponentCountOutputType without action
1247
+ */
1248
+ export type ComponentCountOutputTypeCountBlockItemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1249
+ where?: Prisma.BlockComponentWhereInput
1250
+ }
1251
+
1252
+ /**
1253
+ * ComponentCountOutputType without action
1254
+ */
1255
+ export type ComponentCountOutputTypeCountInstancesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1256
+ where?: Prisma.ComponentInstanceWhereInput
1257
+ }
1258
+
1259
+ /**
1260
+ * ComponentCountOutputType without action
1261
+ */
1262
+ export type ComponentCountOutputTypeCountComponentTagsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1263
+ where?: Prisma.ComponentTagWhereInput
1264
+ }
1265
+
1266
+
1267
+ export type ComponentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1268
+ id?: boolean
1269
+ name?: boolean
1270
+ description?: boolean
1271
+ type?: boolean
1272
+ category?: boolean
1273
+ subCategory?: boolean
1274
+ path?: boolean
1275
+ defaultWidth?: boolean
1276
+ defaultHeight?: boolean
1277
+ prototypeKey?: boolean
1278
+ config?: boolean
1279
+ defaultProps?: boolean
1280
+ defaultStyle?: boolean
1281
+ preview?: boolean
1282
+ version?: boolean
1283
+ sortOrder?: boolean
1284
+ source?: boolean
1285
+ sourceId?: boolean
1286
+ isHidden?: boolean
1287
+ isDeleted?: boolean
1288
+ createdAt?: boolean
1289
+ updatedAt?: boolean
1290
+ tags?: boolean
1291
+ blockItems?: boolean | Prisma.Component$blockItemsArgs<ExtArgs>
1292
+ instances?: boolean | Prisma.Component$instancesArgs<ExtArgs>
1293
+ componentTags?: boolean | Prisma.Component$componentTagsArgs<ExtArgs>
1294
+ _count?: boolean | Prisma.ComponentCountOutputTypeDefaultArgs<ExtArgs>
1295
+ }, ExtArgs["result"]["component"]>
1296
+
1297
+ export type ComponentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1298
+ id?: boolean
1299
+ name?: boolean
1300
+ description?: boolean
1301
+ type?: boolean
1302
+ category?: boolean
1303
+ subCategory?: boolean
1304
+ path?: boolean
1305
+ defaultWidth?: boolean
1306
+ defaultHeight?: boolean
1307
+ prototypeKey?: boolean
1308
+ config?: boolean
1309
+ defaultProps?: boolean
1310
+ defaultStyle?: boolean
1311
+ preview?: boolean
1312
+ version?: boolean
1313
+ sortOrder?: boolean
1314
+ source?: boolean
1315
+ sourceId?: boolean
1316
+ isHidden?: boolean
1317
+ isDeleted?: boolean
1318
+ createdAt?: boolean
1319
+ updatedAt?: boolean
1320
+ tags?: boolean
1321
+ }, ExtArgs["result"]["component"]>
1322
+
1323
+ export type ComponentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1324
+ id?: boolean
1325
+ name?: boolean
1326
+ description?: boolean
1327
+ type?: boolean
1328
+ category?: boolean
1329
+ subCategory?: boolean
1330
+ path?: boolean
1331
+ defaultWidth?: boolean
1332
+ defaultHeight?: boolean
1333
+ prototypeKey?: boolean
1334
+ config?: boolean
1335
+ defaultProps?: boolean
1336
+ defaultStyle?: boolean
1337
+ preview?: boolean
1338
+ version?: boolean
1339
+ sortOrder?: boolean
1340
+ source?: boolean
1341
+ sourceId?: boolean
1342
+ isHidden?: boolean
1343
+ isDeleted?: boolean
1344
+ createdAt?: boolean
1345
+ updatedAt?: boolean
1346
+ tags?: boolean
1347
+ }, ExtArgs["result"]["component"]>
1348
+
1349
+ export type ComponentSelectScalar = {
1350
+ id?: boolean
1351
+ name?: boolean
1352
+ description?: boolean
1353
+ type?: boolean
1354
+ category?: boolean
1355
+ subCategory?: boolean
1356
+ path?: boolean
1357
+ defaultWidth?: boolean
1358
+ defaultHeight?: boolean
1359
+ prototypeKey?: boolean
1360
+ config?: boolean
1361
+ defaultProps?: boolean
1362
+ defaultStyle?: boolean
1363
+ preview?: boolean
1364
+ version?: boolean
1365
+ sortOrder?: boolean
1366
+ source?: boolean
1367
+ sourceId?: boolean
1368
+ isHidden?: boolean
1369
+ isDeleted?: boolean
1370
+ createdAt?: boolean
1371
+ updatedAt?: boolean
1372
+ tags?: boolean
1373
+ }
1374
+
1375
+ 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"]>
1376
+ export type ComponentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1377
+ blockItems?: boolean | Prisma.Component$blockItemsArgs<ExtArgs>
1378
+ instances?: boolean | Prisma.Component$instancesArgs<ExtArgs>
1379
+ componentTags?: boolean | Prisma.Component$componentTagsArgs<ExtArgs>
1380
+ _count?: boolean | Prisma.ComponentCountOutputTypeDefaultArgs<ExtArgs>
1381
+ }
1382
+ export type ComponentIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
1383
+ export type ComponentIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
1384
+
1385
+ export type $ComponentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1386
+ name: "Component"
1387
+ objects: {
1388
+ blockItems: Prisma.$BlockComponentPayload<ExtArgs>[]
1389
+ instances: Prisma.$ComponentInstancePayload<ExtArgs>[]
1390
+ componentTags: Prisma.$ComponentTagPayload<ExtArgs>[]
1391
+ }
1392
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
1393
+ id: string
1394
+ name: string
1395
+ description: string | null
1396
+ type: string
1397
+ category: string | null
1398
+ subCategory: string | null
1399
+ path: string | null
1400
+ defaultWidth: number
1401
+ defaultHeight: number
1402
+ prototypeKey: string | null
1403
+ config: runtime.JsonValue
1404
+ defaultProps: runtime.JsonValue | null
1405
+ defaultStyle: runtime.JsonValue | null
1406
+ preview: string | null
1407
+ version: number
1408
+ sortOrder: number
1409
+ source: string
1410
+ sourceId: string | null
1411
+ isHidden: boolean
1412
+ isDeleted: boolean
1413
+ createdAt: Date
1414
+ updatedAt: Date
1415
+ tags: string[]
1416
+ }, ExtArgs["result"]["component"]>
1417
+ composites: {}
1418
+ }
1419
+
1420
+ export type ComponentGetPayload<S extends boolean | null | undefined | ComponentDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ComponentPayload, S>
1421
+
1422
+ export type ComponentCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1423
+ Omit<ComponentFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1424
+ select?: ComponentCountAggregateInputType | true
1425
+ }
1426
+
1427
+ export interface ComponentDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1428
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Component'], meta: { name: 'Component' } }
1429
+ /**
1430
+ * Find zero or one Component that matches the filter.
1431
+ * @param {ComponentFindUniqueArgs} args - Arguments to find a Component
1432
+ * @example
1433
+ * // Get one Component
1434
+ * const component = await prisma.component.findUnique({
1435
+ * where: {
1436
+ * // ... provide filter here
1437
+ * }
1438
+ * })
1439
+ */
1440
+ 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>
1441
+
1442
+ /**
1443
+ * Find one Component that matches the filter or throw an error with `error.code='P2025'`
1444
+ * if no matches were found.
1445
+ * @param {ComponentFindUniqueOrThrowArgs} args - Arguments to find a Component
1446
+ * @example
1447
+ * // Get one Component
1448
+ * const component = await prisma.component.findUniqueOrThrow({
1449
+ * where: {
1450
+ * // ... provide filter here
1451
+ * }
1452
+ * })
1453
+ */
1454
+ 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>
1455
+
1456
+ /**
1457
+ * Find the first Component that matches the filter.
1458
+ * Note, that providing `undefined` is treated as the value not being there.
1459
+ * Read more here: https://pris.ly/d/null-undefined
1460
+ * @param {ComponentFindFirstArgs} args - Arguments to find a Component
1461
+ * @example
1462
+ * // Get one Component
1463
+ * const component = await prisma.component.findFirst({
1464
+ * where: {
1465
+ * // ... provide filter here
1466
+ * }
1467
+ * })
1468
+ */
1469
+ 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>
1470
+
1471
+ /**
1472
+ * Find the first Component that matches the filter or
1473
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1474
+ * Note, that providing `undefined` is treated as the value not being there.
1475
+ * Read more here: https://pris.ly/d/null-undefined
1476
+ * @param {ComponentFindFirstOrThrowArgs} args - Arguments to find a Component
1477
+ * @example
1478
+ * // Get one Component
1479
+ * const component = await prisma.component.findFirstOrThrow({
1480
+ * where: {
1481
+ * // ... provide filter here
1482
+ * }
1483
+ * })
1484
+ */
1485
+ 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>
1486
+
1487
+ /**
1488
+ * Find zero or more Components that matches the filter.
1489
+ * Note, that providing `undefined` is treated as the value not being there.
1490
+ * Read more here: https://pris.ly/d/null-undefined
1491
+ * @param {ComponentFindManyArgs} args - Arguments to filter and select certain fields only.
1492
+ * @example
1493
+ * // Get all Components
1494
+ * const components = await prisma.component.findMany()
1495
+ *
1496
+ * // Get first 10 Components
1497
+ * const components = await prisma.component.findMany({ take: 10 })
1498
+ *
1499
+ * // Only select the `id`
1500
+ * const componentWithIdOnly = await prisma.component.findMany({ select: { id: true } })
1501
+ *
1502
+ */
1503
+ findMany<T extends ComponentFindManyArgs>(args?: Prisma.SelectSubset<T, ComponentFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ComponentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1504
+
1505
+ /**
1506
+ * Create a Component.
1507
+ * @param {ComponentCreateArgs} args - Arguments to create a Component.
1508
+ * @example
1509
+ * // Create one Component
1510
+ * const Component = await prisma.component.create({
1511
+ * data: {
1512
+ * // ... data to create a Component
1513
+ * }
1514
+ * })
1515
+ *
1516
+ */
1517
+ 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>
1518
+
1519
+ /**
1520
+ * Create many Components.
1521
+ * @param {ComponentCreateManyArgs} args - Arguments to create many Components.
1522
+ * @example
1523
+ * // Create many Components
1524
+ * const component = await prisma.component.createMany({
1525
+ * data: [
1526
+ * // ... provide data here
1527
+ * ]
1528
+ * })
1529
+ *
1530
+ */
1531
+ createMany<T extends ComponentCreateManyArgs>(args?: Prisma.SelectSubset<T, ComponentCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1532
+
1533
+ /**
1534
+ * Create many Components and returns the data saved in the database.
1535
+ * @param {ComponentCreateManyAndReturnArgs} args - Arguments to create many Components.
1536
+ * @example
1537
+ * // Create many Components
1538
+ * const component = await prisma.component.createManyAndReturn({
1539
+ * data: [
1540
+ * // ... provide data here
1541
+ * ]
1542
+ * })
1543
+ *
1544
+ * // Create many Components and only return the `id`
1545
+ * const componentWithIdOnly = await prisma.component.createManyAndReturn({
1546
+ * select: { id: true },
1547
+ * data: [
1548
+ * // ... provide data here
1549
+ * ]
1550
+ * })
1551
+ * Note, that providing `undefined` is treated as the value not being there.
1552
+ * Read more here: https://pris.ly/d/null-undefined
1553
+ *
1554
+ */
1555
+ createManyAndReturn<T extends ComponentCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ComponentCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ComponentPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1556
+
1557
+ /**
1558
+ * Delete a Component.
1559
+ * @param {ComponentDeleteArgs} args - Arguments to delete one Component.
1560
+ * @example
1561
+ * // Delete one Component
1562
+ * const Component = await prisma.component.delete({
1563
+ * where: {
1564
+ * // ... filter to delete one Component
1565
+ * }
1566
+ * })
1567
+ *
1568
+ */
1569
+ 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>
1570
+
1571
+ /**
1572
+ * Update one Component.
1573
+ * @param {ComponentUpdateArgs} args - Arguments to update one Component.
1574
+ * @example
1575
+ * // Update one Component
1576
+ * const component = await prisma.component.update({
1577
+ * where: {
1578
+ * // ... provide filter here
1579
+ * },
1580
+ * data: {
1581
+ * // ... provide data here
1582
+ * }
1583
+ * })
1584
+ *
1585
+ */
1586
+ 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>
1587
+
1588
+ /**
1589
+ * Delete zero or more Components.
1590
+ * @param {ComponentDeleteManyArgs} args - Arguments to filter Components to delete.
1591
+ * @example
1592
+ * // Delete a few Components
1593
+ * const { count } = await prisma.component.deleteMany({
1594
+ * where: {
1595
+ * // ... provide filter here
1596
+ * }
1597
+ * })
1598
+ *
1599
+ */
1600
+ deleteMany<T extends ComponentDeleteManyArgs>(args?: Prisma.SelectSubset<T, ComponentDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1601
+
1602
+ /**
1603
+ * Update zero or more Components.
1604
+ * Note, that providing `undefined` is treated as the value not being there.
1605
+ * Read more here: https://pris.ly/d/null-undefined
1606
+ * @param {ComponentUpdateManyArgs} args - Arguments to update one or more rows.
1607
+ * @example
1608
+ * // Update many Components
1609
+ * const component = await prisma.component.updateMany({
1610
+ * where: {
1611
+ * // ... provide filter here
1612
+ * },
1613
+ * data: {
1614
+ * // ... provide data here
1615
+ * }
1616
+ * })
1617
+ *
1618
+ */
1619
+ updateMany<T extends ComponentUpdateManyArgs>(args: Prisma.SelectSubset<T, ComponentUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1620
+
1621
+ /**
1622
+ * Update zero or more Components and returns the data updated in the database.
1623
+ * @param {ComponentUpdateManyAndReturnArgs} args - Arguments to update many Components.
1624
+ * @example
1625
+ * // Update many Components
1626
+ * const component = await prisma.component.updateManyAndReturn({
1627
+ * where: {
1628
+ * // ... provide filter here
1629
+ * },
1630
+ * data: [
1631
+ * // ... provide data here
1632
+ * ]
1633
+ * })
1634
+ *
1635
+ * // Update zero or more Components and only return the `id`
1636
+ * const componentWithIdOnly = await prisma.component.updateManyAndReturn({
1637
+ * select: { id: true },
1638
+ * where: {
1639
+ * // ... provide filter here
1640
+ * },
1641
+ * data: [
1642
+ * // ... provide data here
1643
+ * ]
1644
+ * })
1645
+ * Note, that providing `undefined` is treated as the value not being there.
1646
+ * Read more here: https://pris.ly/d/null-undefined
1647
+ *
1648
+ */
1649
+ updateManyAndReturn<T extends ComponentUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ComponentUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ComponentPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1650
+
1651
+ /**
1652
+ * Create or update one Component.
1653
+ * @param {ComponentUpsertArgs} args - Arguments to update or create a Component.
1654
+ * @example
1655
+ * // Update or create a Component
1656
+ * const component = await prisma.component.upsert({
1657
+ * create: {
1658
+ * // ... data to create a Component
1659
+ * },
1660
+ * update: {
1661
+ * // ... in case it already exists, update
1662
+ * },
1663
+ * where: {
1664
+ * // ... the filter for the Component we want to update
1665
+ * }
1666
+ * })
1667
+ */
1668
+ 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>
1669
+
1670
+
1671
+ /**
1672
+ * Count the number of Components.
1673
+ * Note, that providing `undefined` is treated as the value not being there.
1674
+ * Read more here: https://pris.ly/d/null-undefined
1675
+ * @param {ComponentCountArgs} args - Arguments to filter Components to count.
1676
+ * @example
1677
+ * // Count the number of Components
1678
+ * const count = await prisma.component.count({
1679
+ * where: {
1680
+ * // ... the filter for the Components we want to count
1681
+ * }
1682
+ * })
1683
+ **/
1684
+ count<T extends ComponentCountArgs>(
1685
+ args?: Prisma.Subset<T, ComponentCountArgs>,
1686
+ ): Prisma.PrismaPromise<
1687
+ T extends runtime.Types.Utils.Record<'select', any>
1688
+ ? T['select'] extends true
1689
+ ? number
1690
+ : Prisma.GetScalarType<T['select'], ComponentCountAggregateOutputType>
1691
+ : number
1692
+ >
1693
+
1694
+ /**
1695
+ * Allows you to perform aggregations operations on a Component.
1696
+ * Note, that providing `undefined` is treated as the value not being there.
1697
+ * Read more here: https://pris.ly/d/null-undefined
1698
+ * @param {ComponentAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1699
+ * @example
1700
+ * // Ordered by age ascending
1701
+ * // Where email contains prisma.io
1702
+ * // Limited to the 10 users
1703
+ * const aggregations = await prisma.user.aggregate({
1704
+ * _avg: {
1705
+ * age: true,
1706
+ * },
1707
+ * where: {
1708
+ * email: {
1709
+ * contains: "prisma.io",
1710
+ * },
1711
+ * },
1712
+ * orderBy: {
1713
+ * age: "asc",
1714
+ * },
1715
+ * take: 10,
1716
+ * })
1717
+ **/
1718
+ aggregate<T extends ComponentAggregateArgs>(args: Prisma.Subset<T, ComponentAggregateArgs>): Prisma.PrismaPromise<GetComponentAggregateType<T>>
1719
+
1720
+ /**
1721
+ * Group by Component.
1722
+ * Note, that providing `undefined` is treated as the value not being there.
1723
+ * Read more here: https://pris.ly/d/null-undefined
1724
+ * @param {ComponentGroupByArgs} args - Group by arguments.
1725
+ * @example
1726
+ * // Group by city, order by createdAt, get count
1727
+ * const result = await prisma.user.groupBy({
1728
+ * by: ['city', 'createdAt'],
1729
+ * orderBy: {
1730
+ * createdAt: true
1731
+ * },
1732
+ * _count: {
1733
+ * _all: true
1734
+ * },
1735
+ * })
1736
+ *
1737
+ **/
1738
+ groupBy<
1739
+ T extends ComponentGroupByArgs,
1740
+ HasSelectOrTake extends Prisma.Or<
1741
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1742
+ Prisma.Extends<'take', Prisma.Keys<T>>
1743
+ >,
1744
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1745
+ ? { orderBy: ComponentGroupByArgs['orderBy'] }
1746
+ : { orderBy?: ComponentGroupByArgs['orderBy'] },
1747
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1748
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1749
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1750
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1751
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1752
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1753
+ InputErrors extends ByEmpty extends Prisma.True
1754
+ ? `Error: "by" must not be empty.`
1755
+ : HavingValid extends Prisma.False
1756
+ ? {
1757
+ [P in HavingFields]: P extends ByFields
1758
+ ? never
1759
+ : P extends string
1760
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1761
+ : [
1762
+ Error,
1763
+ 'Field ',
1764
+ P,
1765
+ ` in "having" needs to be provided in "by"`,
1766
+ ]
1767
+ }[HavingFields]
1768
+ : 'take' extends Prisma.Keys<T>
1769
+ ? 'orderBy' extends Prisma.Keys<T>
1770
+ ? ByValid extends Prisma.True
1771
+ ? {}
1772
+ : {
1773
+ [P in OrderFields]: P extends ByFields
1774
+ ? never
1775
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1776
+ }[OrderFields]
1777
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1778
+ : 'skip' extends Prisma.Keys<T>
1779
+ ? 'orderBy' extends Prisma.Keys<T>
1780
+ ? ByValid extends Prisma.True
1781
+ ? {}
1782
+ : {
1783
+ [P in OrderFields]: P extends ByFields
1784
+ ? never
1785
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1786
+ }[OrderFields]
1787
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1788
+ : ByValid extends Prisma.True
1789
+ ? {}
1790
+ : {
1791
+ [P in OrderFields]: P extends ByFields
1792
+ ? never
1793
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1794
+ }[OrderFields]
1795
+ >(args: Prisma.SubsetIntersection<T, ComponentGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetComponentGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1796
+ /**
1797
+ * Fields of the Component model
1798
+ */
1799
+ readonly fields: ComponentFieldRefs;
1800
+ }
1801
+
1802
+ /**
1803
+ * The delegate class that acts as a "Promise-like" for Component.
1804
+ * Why is this prefixed with `Prisma__`?
1805
+ * Because we want to prevent naming conflicts as mentioned in
1806
+ * https://github.com/prisma/prisma-client-js/issues/707
1807
+ */
1808
+ export interface Prisma__ComponentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1809
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1810
+ 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>
1811
+ 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>
1812
+ 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>
1813
+ /**
1814
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1815
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1816
+ * @param onrejected The callback to execute when the Promise is rejected.
1817
+ * @returns A Promise for the completion of which ever callback is executed.
1818
+ */
1819
+ 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>
1820
+ /**
1821
+ * Attaches a callback for only the rejection of the Promise.
1822
+ * @param onrejected The callback to execute when the Promise is rejected.
1823
+ * @returns A Promise for the completion of the callback.
1824
+ */
1825
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1826
+ /**
1827
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1828
+ * resolved value cannot be modified from the callback.
1829
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1830
+ * @returns A Promise for the completion of the callback.
1831
+ */
1832
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1833
+ }
1834
+
1835
+
1836
+
1837
+
1838
+ /**
1839
+ * Fields of the Component model
1840
+ */
1841
+ export interface ComponentFieldRefs {
1842
+ readonly id: Prisma.FieldRef<"Component", 'String'>
1843
+ readonly name: Prisma.FieldRef<"Component", 'String'>
1844
+ readonly description: Prisma.FieldRef<"Component", 'String'>
1845
+ readonly type: Prisma.FieldRef<"Component", 'String'>
1846
+ readonly category: Prisma.FieldRef<"Component", 'String'>
1847
+ readonly subCategory: Prisma.FieldRef<"Component", 'String'>
1848
+ readonly path: Prisma.FieldRef<"Component", 'String'>
1849
+ readonly defaultWidth: Prisma.FieldRef<"Component", 'Int'>
1850
+ readonly defaultHeight: Prisma.FieldRef<"Component", 'Int'>
1851
+ readonly prototypeKey: Prisma.FieldRef<"Component", 'String'>
1852
+ readonly config: Prisma.FieldRef<"Component", 'Json'>
1853
+ readonly defaultProps: Prisma.FieldRef<"Component", 'Json'>
1854
+ readonly defaultStyle: Prisma.FieldRef<"Component", 'Json'>
1855
+ readonly preview: Prisma.FieldRef<"Component", 'String'>
1856
+ readonly version: Prisma.FieldRef<"Component", 'Int'>
1857
+ readonly sortOrder: Prisma.FieldRef<"Component", 'Int'>
1858
+ readonly source: Prisma.FieldRef<"Component", 'String'>
1859
+ readonly sourceId: Prisma.FieldRef<"Component", 'String'>
1860
+ readonly isHidden: Prisma.FieldRef<"Component", 'Boolean'>
1861
+ readonly isDeleted: Prisma.FieldRef<"Component", 'Boolean'>
1862
+ readonly createdAt: Prisma.FieldRef<"Component", 'DateTime'>
1863
+ readonly updatedAt: Prisma.FieldRef<"Component", 'DateTime'>
1864
+ readonly tags: Prisma.FieldRef<"Component", 'String[]'>
1865
+ }
1866
+
1867
+
1868
+ // Custom InputTypes
1869
+ /**
1870
+ * Component findUnique
1871
+ */
1872
+ export type ComponentFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1873
+ /**
1874
+ * Select specific fields to fetch from the Component
1875
+ */
1876
+ select?: Prisma.ComponentSelect<ExtArgs> | null
1877
+ /**
1878
+ * Omit specific fields from the Component
1879
+ */
1880
+ omit?: Prisma.ComponentOmit<ExtArgs> | null
1881
+ /**
1882
+ * Choose, which related nodes to fetch as well
1883
+ */
1884
+ include?: Prisma.ComponentInclude<ExtArgs> | null
1885
+ /**
1886
+ * Filter, which Component to fetch.
1887
+ */
1888
+ where: Prisma.ComponentWhereUniqueInput
1889
+ }
1890
+
1891
+ /**
1892
+ * Component findUniqueOrThrow
1893
+ */
1894
+ export type ComponentFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1895
+ /**
1896
+ * Select specific fields to fetch from the Component
1897
+ */
1898
+ select?: Prisma.ComponentSelect<ExtArgs> | null
1899
+ /**
1900
+ * Omit specific fields from the Component
1901
+ */
1902
+ omit?: Prisma.ComponentOmit<ExtArgs> | null
1903
+ /**
1904
+ * Choose, which related nodes to fetch as well
1905
+ */
1906
+ include?: Prisma.ComponentInclude<ExtArgs> | null
1907
+ /**
1908
+ * Filter, which Component to fetch.
1909
+ */
1910
+ where: Prisma.ComponentWhereUniqueInput
1911
+ }
1912
+
1913
+ /**
1914
+ * Component findFirst
1915
+ */
1916
+ export type ComponentFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1917
+ /**
1918
+ * Select specific fields to fetch from the Component
1919
+ */
1920
+ select?: Prisma.ComponentSelect<ExtArgs> | null
1921
+ /**
1922
+ * Omit specific fields from the Component
1923
+ */
1924
+ omit?: Prisma.ComponentOmit<ExtArgs> | null
1925
+ /**
1926
+ * Choose, which related nodes to fetch as well
1927
+ */
1928
+ include?: Prisma.ComponentInclude<ExtArgs> | null
1929
+ /**
1930
+ * Filter, which Component to fetch.
1931
+ */
1932
+ where?: Prisma.ComponentWhereInput
1933
+ /**
1934
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1935
+ *
1936
+ * Determine the order of Components to fetch.
1937
+ */
1938
+ orderBy?: Prisma.ComponentOrderByWithRelationInput | Prisma.ComponentOrderByWithRelationInput[]
1939
+ /**
1940
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1941
+ *
1942
+ * Sets the position for searching for Components.
1943
+ */
1944
+ cursor?: Prisma.ComponentWhereUniqueInput
1945
+ /**
1946
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1947
+ *
1948
+ * Take `±n` Components from the position of the cursor.
1949
+ */
1950
+ take?: number
1951
+ /**
1952
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1953
+ *
1954
+ * Skip the first `n` Components.
1955
+ */
1956
+ skip?: number
1957
+ /**
1958
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1959
+ *
1960
+ * Filter by unique combinations of Components.
1961
+ */
1962
+ distinct?: Prisma.ComponentScalarFieldEnum | Prisma.ComponentScalarFieldEnum[]
1963
+ }
1964
+
1965
+ /**
1966
+ * Component findFirstOrThrow
1967
+ */
1968
+ export type ComponentFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1969
+ /**
1970
+ * Select specific fields to fetch from the Component
1971
+ */
1972
+ select?: Prisma.ComponentSelect<ExtArgs> | null
1973
+ /**
1974
+ * Omit specific fields from the Component
1975
+ */
1976
+ omit?: Prisma.ComponentOmit<ExtArgs> | null
1977
+ /**
1978
+ * Choose, which related nodes to fetch as well
1979
+ */
1980
+ include?: Prisma.ComponentInclude<ExtArgs> | null
1981
+ /**
1982
+ * Filter, which Component to fetch.
1983
+ */
1984
+ where?: Prisma.ComponentWhereInput
1985
+ /**
1986
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1987
+ *
1988
+ * Determine the order of Components to fetch.
1989
+ */
1990
+ orderBy?: Prisma.ComponentOrderByWithRelationInput | Prisma.ComponentOrderByWithRelationInput[]
1991
+ /**
1992
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1993
+ *
1994
+ * Sets the position for searching for Components.
1995
+ */
1996
+ cursor?: Prisma.ComponentWhereUniqueInput
1997
+ /**
1998
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1999
+ *
2000
+ * Take `±n` Components from the position of the cursor.
2001
+ */
2002
+ take?: number
2003
+ /**
2004
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2005
+ *
2006
+ * Skip the first `n` Components.
2007
+ */
2008
+ skip?: number
2009
+ /**
2010
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2011
+ *
2012
+ * Filter by unique combinations of Components.
2013
+ */
2014
+ distinct?: Prisma.ComponentScalarFieldEnum | Prisma.ComponentScalarFieldEnum[]
2015
+ }
2016
+
2017
+ /**
2018
+ * Component findMany
2019
+ */
2020
+ export type ComponentFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2021
+ /**
2022
+ * Select specific fields to fetch from the Component
2023
+ */
2024
+ select?: Prisma.ComponentSelect<ExtArgs> | null
2025
+ /**
2026
+ * Omit specific fields from the Component
2027
+ */
2028
+ omit?: Prisma.ComponentOmit<ExtArgs> | null
2029
+ /**
2030
+ * Choose, which related nodes to fetch as well
2031
+ */
2032
+ include?: Prisma.ComponentInclude<ExtArgs> | null
2033
+ /**
2034
+ * Filter, which Components to fetch.
2035
+ */
2036
+ where?: Prisma.ComponentWhereInput
2037
+ /**
2038
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2039
+ *
2040
+ * Determine the order of Components to fetch.
2041
+ */
2042
+ orderBy?: Prisma.ComponentOrderByWithRelationInput | Prisma.ComponentOrderByWithRelationInput[]
2043
+ /**
2044
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2045
+ *
2046
+ * Sets the position for listing Components.
2047
+ */
2048
+ cursor?: Prisma.ComponentWhereUniqueInput
2049
+ /**
2050
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2051
+ *
2052
+ * Take `±n` Components from the position of the cursor.
2053
+ */
2054
+ take?: number
2055
+ /**
2056
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2057
+ *
2058
+ * Skip the first `n` Components.
2059
+ */
2060
+ skip?: number
2061
+ /**
2062
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2063
+ *
2064
+ * Filter by unique combinations of Components.
2065
+ */
2066
+ distinct?: Prisma.ComponentScalarFieldEnum | Prisma.ComponentScalarFieldEnum[]
2067
+ }
2068
+
2069
+ /**
2070
+ * Component create
2071
+ */
2072
+ export type ComponentCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2073
+ /**
2074
+ * Select specific fields to fetch from the Component
2075
+ */
2076
+ select?: Prisma.ComponentSelect<ExtArgs> | null
2077
+ /**
2078
+ * Omit specific fields from the Component
2079
+ */
2080
+ omit?: Prisma.ComponentOmit<ExtArgs> | null
2081
+ /**
2082
+ * Choose, which related nodes to fetch as well
2083
+ */
2084
+ include?: Prisma.ComponentInclude<ExtArgs> | null
2085
+ /**
2086
+ * The data needed to create a Component.
2087
+ */
2088
+ data: Prisma.XOR<Prisma.ComponentCreateInput, Prisma.ComponentUncheckedCreateInput>
2089
+ }
2090
+
2091
+ /**
2092
+ * Component createMany
2093
+ */
2094
+ export type ComponentCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2095
+ /**
2096
+ * The data used to create many Components.
2097
+ */
2098
+ data: Prisma.ComponentCreateManyInput | Prisma.ComponentCreateManyInput[]
2099
+ skipDuplicates?: boolean
2100
+ }
2101
+
2102
+ /**
2103
+ * Component createManyAndReturn
2104
+ */
2105
+ export type ComponentCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2106
+ /**
2107
+ * Select specific fields to fetch from the Component
2108
+ */
2109
+ select?: Prisma.ComponentSelectCreateManyAndReturn<ExtArgs> | null
2110
+ /**
2111
+ * Omit specific fields from the Component
2112
+ */
2113
+ omit?: Prisma.ComponentOmit<ExtArgs> | null
2114
+ /**
2115
+ * The data used to create many Components.
2116
+ */
2117
+ data: Prisma.ComponentCreateManyInput | Prisma.ComponentCreateManyInput[]
2118
+ skipDuplicates?: boolean
2119
+ }
2120
+
2121
+ /**
2122
+ * Component update
2123
+ */
2124
+ export type ComponentUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2125
+ /**
2126
+ * Select specific fields to fetch from the Component
2127
+ */
2128
+ select?: Prisma.ComponentSelect<ExtArgs> | null
2129
+ /**
2130
+ * Omit specific fields from the Component
2131
+ */
2132
+ omit?: Prisma.ComponentOmit<ExtArgs> | null
2133
+ /**
2134
+ * Choose, which related nodes to fetch as well
2135
+ */
2136
+ include?: Prisma.ComponentInclude<ExtArgs> | null
2137
+ /**
2138
+ * The data needed to update a Component.
2139
+ */
2140
+ data: Prisma.XOR<Prisma.ComponentUpdateInput, Prisma.ComponentUncheckedUpdateInput>
2141
+ /**
2142
+ * Choose, which Component to update.
2143
+ */
2144
+ where: Prisma.ComponentWhereUniqueInput
2145
+ }
2146
+
2147
+ /**
2148
+ * Component updateMany
2149
+ */
2150
+ export type ComponentUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2151
+ /**
2152
+ * The data used to update Components.
2153
+ */
2154
+ data: Prisma.XOR<Prisma.ComponentUpdateManyMutationInput, Prisma.ComponentUncheckedUpdateManyInput>
2155
+ /**
2156
+ * Filter which Components to update
2157
+ */
2158
+ where?: Prisma.ComponentWhereInput
2159
+ /**
2160
+ * Limit how many Components to update.
2161
+ */
2162
+ limit?: number
2163
+ }
2164
+
2165
+ /**
2166
+ * Component updateManyAndReturn
2167
+ */
2168
+ export type ComponentUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2169
+ /**
2170
+ * Select specific fields to fetch from the Component
2171
+ */
2172
+ select?: Prisma.ComponentSelectUpdateManyAndReturn<ExtArgs> | null
2173
+ /**
2174
+ * Omit specific fields from the Component
2175
+ */
2176
+ omit?: Prisma.ComponentOmit<ExtArgs> | null
2177
+ /**
2178
+ * The data used to update Components.
2179
+ */
2180
+ data: Prisma.XOR<Prisma.ComponentUpdateManyMutationInput, Prisma.ComponentUncheckedUpdateManyInput>
2181
+ /**
2182
+ * Filter which Components to update
2183
+ */
2184
+ where?: Prisma.ComponentWhereInput
2185
+ /**
2186
+ * Limit how many Components to update.
2187
+ */
2188
+ limit?: number
2189
+ }
2190
+
2191
+ /**
2192
+ * Component upsert
2193
+ */
2194
+ export type ComponentUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2195
+ /**
2196
+ * Select specific fields to fetch from the Component
2197
+ */
2198
+ select?: Prisma.ComponentSelect<ExtArgs> | null
2199
+ /**
2200
+ * Omit specific fields from the Component
2201
+ */
2202
+ omit?: Prisma.ComponentOmit<ExtArgs> | null
2203
+ /**
2204
+ * Choose, which related nodes to fetch as well
2205
+ */
2206
+ include?: Prisma.ComponentInclude<ExtArgs> | null
2207
+ /**
2208
+ * The filter to search for the Component to update in case it exists.
2209
+ */
2210
+ where: Prisma.ComponentWhereUniqueInput
2211
+ /**
2212
+ * In case the Component found by the `where` argument doesn't exist, create a new Component with this data.
2213
+ */
2214
+ create: Prisma.XOR<Prisma.ComponentCreateInput, Prisma.ComponentUncheckedCreateInput>
2215
+ /**
2216
+ * In case the Component was found with the provided `where` argument, update it with this data.
2217
+ */
2218
+ update: Prisma.XOR<Prisma.ComponentUpdateInput, Prisma.ComponentUncheckedUpdateInput>
2219
+ }
2220
+
2221
+ /**
2222
+ * Component delete
2223
+ */
2224
+ export type ComponentDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2225
+ /**
2226
+ * Select specific fields to fetch from the Component
2227
+ */
2228
+ select?: Prisma.ComponentSelect<ExtArgs> | null
2229
+ /**
2230
+ * Omit specific fields from the Component
2231
+ */
2232
+ omit?: Prisma.ComponentOmit<ExtArgs> | null
2233
+ /**
2234
+ * Choose, which related nodes to fetch as well
2235
+ */
2236
+ include?: Prisma.ComponentInclude<ExtArgs> | null
2237
+ /**
2238
+ * Filter which Component to delete.
2239
+ */
2240
+ where: Prisma.ComponentWhereUniqueInput
2241
+ }
2242
+
2243
+ /**
2244
+ * Component deleteMany
2245
+ */
2246
+ export type ComponentDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2247
+ /**
2248
+ * Filter which Components to delete
2249
+ */
2250
+ where?: Prisma.ComponentWhereInput
2251
+ /**
2252
+ * Limit how many Components to delete.
2253
+ */
2254
+ limit?: number
2255
+ }
2256
+
2257
+ /**
2258
+ * Component.blockItems
2259
+ */
2260
+ export type Component$blockItemsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2261
+ /**
2262
+ * Select specific fields to fetch from the BlockComponent
2263
+ */
2264
+ select?: Prisma.BlockComponentSelect<ExtArgs> | null
2265
+ /**
2266
+ * Omit specific fields from the BlockComponent
2267
+ */
2268
+ omit?: Prisma.BlockComponentOmit<ExtArgs> | null
2269
+ /**
2270
+ * Choose, which related nodes to fetch as well
2271
+ */
2272
+ include?: Prisma.BlockComponentInclude<ExtArgs> | null
2273
+ where?: Prisma.BlockComponentWhereInput
2274
+ orderBy?: Prisma.BlockComponentOrderByWithRelationInput | Prisma.BlockComponentOrderByWithRelationInput[]
2275
+ cursor?: Prisma.BlockComponentWhereUniqueInput
2276
+ take?: number
2277
+ skip?: number
2278
+ distinct?: Prisma.BlockComponentScalarFieldEnum | Prisma.BlockComponentScalarFieldEnum[]
2279
+ }
2280
+
2281
+ /**
2282
+ * Component.instances
2283
+ */
2284
+ export type Component$instancesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2285
+ /**
2286
+ * Select specific fields to fetch from the ComponentInstance
2287
+ */
2288
+ select?: Prisma.ComponentInstanceSelect<ExtArgs> | null
2289
+ /**
2290
+ * Omit specific fields from the ComponentInstance
2291
+ */
2292
+ omit?: Prisma.ComponentInstanceOmit<ExtArgs> | null
2293
+ /**
2294
+ * Choose, which related nodes to fetch as well
2295
+ */
2296
+ include?: Prisma.ComponentInstanceInclude<ExtArgs> | null
2297
+ where?: Prisma.ComponentInstanceWhereInput
2298
+ orderBy?: Prisma.ComponentInstanceOrderByWithRelationInput | Prisma.ComponentInstanceOrderByWithRelationInput[]
2299
+ cursor?: Prisma.ComponentInstanceWhereUniqueInput
2300
+ take?: number
2301
+ skip?: number
2302
+ distinct?: Prisma.ComponentInstanceScalarFieldEnum | Prisma.ComponentInstanceScalarFieldEnum[]
2303
+ }
2304
+
2305
+ /**
2306
+ * Component.componentTags
2307
+ */
2308
+ export type Component$componentTagsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2309
+ /**
2310
+ * Select specific fields to fetch from the ComponentTag
2311
+ */
2312
+ select?: Prisma.ComponentTagSelect<ExtArgs> | null
2313
+ /**
2314
+ * Omit specific fields from the ComponentTag
2315
+ */
2316
+ omit?: Prisma.ComponentTagOmit<ExtArgs> | null
2317
+ /**
2318
+ * Choose, which related nodes to fetch as well
2319
+ */
2320
+ include?: Prisma.ComponentTagInclude<ExtArgs> | null
2321
+ where?: Prisma.ComponentTagWhereInput
2322
+ orderBy?: Prisma.ComponentTagOrderByWithRelationInput | Prisma.ComponentTagOrderByWithRelationInput[]
2323
+ cursor?: Prisma.ComponentTagWhereUniqueInput
2324
+ take?: number
2325
+ skip?: number
2326
+ distinct?: Prisma.ComponentTagScalarFieldEnum | Prisma.ComponentTagScalarFieldEnum[]
2327
+ }
2328
+
2329
+ /**
2330
+ * Component without action
2331
+ */
2332
+ export type ComponentDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2333
+ /**
2334
+ * Select specific fields to fetch from the Component
2335
+ */
2336
+ select?: Prisma.ComponentSelect<ExtArgs> | null
2337
+ /**
2338
+ * Omit specific fields from the Component
2339
+ */
2340
+ omit?: Prisma.ComponentOmit<ExtArgs> | null
2341
+ /**
2342
+ * Choose, which related nodes to fetch as well
2343
+ */
2344
+ include?: Prisma.ComponentInclude<ExtArgs> | null
2345
+ }