@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,1734 @@
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 `BlockComponent` 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 BlockComponent
17
+ *
18
+ */
19
+ export type BlockComponentModel = runtime.Types.Result.DefaultSelection<Prisma.$BlockComponentPayload>
20
+
21
+ export type AggregateBlockComponent = {
22
+ _count: BlockComponentCountAggregateOutputType | null
23
+ _avg: BlockComponentAvgAggregateOutputType | null
24
+ _sum: BlockComponentSumAggregateOutputType | null
25
+ _min: BlockComponentMinAggregateOutputType | null
26
+ _max: BlockComponentMaxAggregateOutputType | null
27
+ }
28
+
29
+ export type BlockComponentAvgAggregateOutputType = {
30
+ x: number | null
31
+ y: number | null
32
+ width: number | null
33
+ height: number | null
34
+ zIndex: number | null
35
+ }
36
+
37
+ export type BlockComponentSumAggregateOutputType = {
38
+ x: number | null
39
+ y: number | null
40
+ width: number | null
41
+ height: number | null
42
+ zIndex: number | null
43
+ }
44
+
45
+ export type BlockComponentMinAggregateOutputType = {
46
+ id: string | null
47
+ blockId: string | null
48
+ componentId: string | null
49
+ x: number | null
50
+ y: number | null
51
+ width: number | null
52
+ height: number | null
53
+ zIndex: number | null
54
+ }
55
+
56
+ export type BlockComponentMaxAggregateOutputType = {
57
+ id: string | null
58
+ blockId: string | null
59
+ componentId: string | null
60
+ x: number | null
61
+ y: number | null
62
+ width: number | null
63
+ height: number | null
64
+ zIndex: number | null
65
+ }
66
+
67
+ export type BlockComponentCountAggregateOutputType = {
68
+ id: number
69
+ blockId: number
70
+ componentId: number
71
+ x: number
72
+ y: number
73
+ width: number
74
+ height: number
75
+ zIndex: number
76
+ propsOverride: number
77
+ styleOverride: number
78
+ _all: number
79
+ }
80
+
81
+
82
+ export type BlockComponentAvgAggregateInputType = {
83
+ x?: true
84
+ y?: true
85
+ width?: true
86
+ height?: true
87
+ zIndex?: true
88
+ }
89
+
90
+ export type BlockComponentSumAggregateInputType = {
91
+ x?: true
92
+ y?: true
93
+ width?: true
94
+ height?: true
95
+ zIndex?: true
96
+ }
97
+
98
+ export type BlockComponentMinAggregateInputType = {
99
+ id?: true
100
+ blockId?: true
101
+ componentId?: true
102
+ x?: true
103
+ y?: true
104
+ width?: true
105
+ height?: true
106
+ zIndex?: true
107
+ }
108
+
109
+ export type BlockComponentMaxAggregateInputType = {
110
+ id?: true
111
+ blockId?: true
112
+ componentId?: true
113
+ x?: true
114
+ y?: true
115
+ width?: true
116
+ height?: true
117
+ zIndex?: true
118
+ }
119
+
120
+ export type BlockComponentCountAggregateInputType = {
121
+ id?: true
122
+ blockId?: true
123
+ componentId?: true
124
+ x?: true
125
+ y?: true
126
+ width?: true
127
+ height?: true
128
+ zIndex?: true
129
+ propsOverride?: true
130
+ styleOverride?: true
131
+ _all?: true
132
+ }
133
+
134
+ export type BlockComponentAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
135
+ /**
136
+ * Filter which BlockComponent to aggregate.
137
+ */
138
+ where?: Prisma.BlockComponentWhereInput
139
+ /**
140
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
141
+ *
142
+ * Determine the order of BlockComponents to fetch.
143
+ */
144
+ orderBy?: Prisma.BlockComponentOrderByWithRelationInput | Prisma.BlockComponentOrderByWithRelationInput[]
145
+ /**
146
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
147
+ *
148
+ * Sets the start position
149
+ */
150
+ cursor?: Prisma.BlockComponentWhereUniqueInput
151
+ /**
152
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
153
+ *
154
+ * Take `±n` BlockComponents from the position of the cursor.
155
+ */
156
+ take?: number
157
+ /**
158
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
159
+ *
160
+ * Skip the first `n` BlockComponents.
161
+ */
162
+ skip?: number
163
+ /**
164
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
165
+ *
166
+ * Count returned BlockComponents
167
+ **/
168
+ _count?: true | BlockComponentCountAggregateInputType
169
+ /**
170
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
171
+ *
172
+ * Select which fields to average
173
+ **/
174
+ _avg?: BlockComponentAvgAggregateInputType
175
+ /**
176
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
177
+ *
178
+ * Select which fields to sum
179
+ **/
180
+ _sum?: BlockComponentSumAggregateInputType
181
+ /**
182
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
183
+ *
184
+ * Select which fields to find the minimum value
185
+ **/
186
+ _min?: BlockComponentMinAggregateInputType
187
+ /**
188
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
189
+ *
190
+ * Select which fields to find the maximum value
191
+ **/
192
+ _max?: BlockComponentMaxAggregateInputType
193
+ }
194
+
195
+ export type GetBlockComponentAggregateType<T extends BlockComponentAggregateArgs> = {
196
+ [P in keyof T & keyof AggregateBlockComponent]: P extends '_count' | 'count'
197
+ ? T[P] extends true
198
+ ? number
199
+ : Prisma.GetScalarType<T[P], AggregateBlockComponent[P]>
200
+ : Prisma.GetScalarType<T[P], AggregateBlockComponent[P]>
201
+ }
202
+
203
+
204
+
205
+
206
+ export type BlockComponentGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
207
+ where?: Prisma.BlockComponentWhereInput
208
+ orderBy?: Prisma.BlockComponentOrderByWithAggregationInput | Prisma.BlockComponentOrderByWithAggregationInput[]
209
+ by: Prisma.BlockComponentScalarFieldEnum[] | Prisma.BlockComponentScalarFieldEnum
210
+ having?: Prisma.BlockComponentScalarWhereWithAggregatesInput
211
+ take?: number
212
+ skip?: number
213
+ _count?: BlockComponentCountAggregateInputType | true
214
+ _avg?: BlockComponentAvgAggregateInputType
215
+ _sum?: BlockComponentSumAggregateInputType
216
+ _min?: BlockComponentMinAggregateInputType
217
+ _max?: BlockComponentMaxAggregateInputType
218
+ }
219
+
220
+ export type BlockComponentGroupByOutputType = {
221
+ id: string
222
+ blockId: string
223
+ componentId: string
224
+ x: number
225
+ y: number
226
+ width: number
227
+ height: number
228
+ zIndex: number
229
+ propsOverride: runtime.JsonValue | null
230
+ styleOverride: runtime.JsonValue | null
231
+ _count: BlockComponentCountAggregateOutputType | null
232
+ _avg: BlockComponentAvgAggregateOutputType | null
233
+ _sum: BlockComponentSumAggregateOutputType | null
234
+ _min: BlockComponentMinAggregateOutputType | null
235
+ _max: BlockComponentMaxAggregateOutputType | null
236
+ }
237
+
238
+ export type GetBlockComponentGroupByPayload<T extends BlockComponentGroupByArgs> = Prisma.PrismaPromise<
239
+ Array<
240
+ Prisma.PickEnumerable<BlockComponentGroupByOutputType, T['by']> &
241
+ {
242
+ [P in ((keyof T) & (keyof BlockComponentGroupByOutputType))]: P extends '_count'
243
+ ? T[P] extends boolean
244
+ ? number
245
+ : Prisma.GetScalarType<T[P], BlockComponentGroupByOutputType[P]>
246
+ : Prisma.GetScalarType<T[P], BlockComponentGroupByOutputType[P]>
247
+ }
248
+ >
249
+ >
250
+
251
+
252
+
253
+ export type BlockComponentWhereInput = {
254
+ AND?: Prisma.BlockComponentWhereInput | Prisma.BlockComponentWhereInput[]
255
+ OR?: Prisma.BlockComponentWhereInput[]
256
+ NOT?: Prisma.BlockComponentWhereInput | Prisma.BlockComponentWhereInput[]
257
+ id?: Prisma.StringFilter<"BlockComponent"> | string
258
+ blockId?: Prisma.StringFilter<"BlockComponent"> | string
259
+ componentId?: Prisma.StringFilter<"BlockComponent"> | string
260
+ x?: Prisma.FloatFilter<"BlockComponent"> | number
261
+ y?: Prisma.FloatFilter<"BlockComponent"> | number
262
+ width?: Prisma.FloatFilter<"BlockComponent"> | number
263
+ height?: Prisma.FloatFilter<"BlockComponent"> | number
264
+ zIndex?: Prisma.IntFilter<"BlockComponent"> | number
265
+ propsOverride?: Prisma.JsonNullableFilter<"BlockComponent">
266
+ styleOverride?: Prisma.JsonNullableFilter<"BlockComponent">
267
+ block?: Prisma.XOR<Prisma.BlockScalarRelationFilter, Prisma.BlockWhereInput>
268
+ component?: Prisma.XOR<Prisma.ComponentScalarRelationFilter, Prisma.ComponentWhereInput>
269
+ }
270
+
271
+ export type BlockComponentOrderByWithRelationInput = {
272
+ id?: Prisma.SortOrder
273
+ blockId?: Prisma.SortOrder
274
+ componentId?: Prisma.SortOrder
275
+ x?: Prisma.SortOrder
276
+ y?: Prisma.SortOrder
277
+ width?: Prisma.SortOrder
278
+ height?: Prisma.SortOrder
279
+ zIndex?: Prisma.SortOrder
280
+ propsOverride?: Prisma.SortOrderInput | Prisma.SortOrder
281
+ styleOverride?: Prisma.SortOrderInput | Prisma.SortOrder
282
+ block?: Prisma.BlockOrderByWithRelationInput
283
+ component?: Prisma.ComponentOrderByWithRelationInput
284
+ }
285
+
286
+ export type BlockComponentWhereUniqueInput = Prisma.AtLeast<{
287
+ id?: string
288
+ AND?: Prisma.BlockComponentWhereInput | Prisma.BlockComponentWhereInput[]
289
+ OR?: Prisma.BlockComponentWhereInput[]
290
+ NOT?: Prisma.BlockComponentWhereInput | Prisma.BlockComponentWhereInput[]
291
+ blockId?: Prisma.StringFilter<"BlockComponent"> | string
292
+ componentId?: Prisma.StringFilter<"BlockComponent"> | string
293
+ x?: Prisma.FloatFilter<"BlockComponent"> | number
294
+ y?: Prisma.FloatFilter<"BlockComponent"> | number
295
+ width?: Prisma.FloatFilter<"BlockComponent"> | number
296
+ height?: Prisma.FloatFilter<"BlockComponent"> | number
297
+ zIndex?: Prisma.IntFilter<"BlockComponent"> | number
298
+ propsOverride?: Prisma.JsonNullableFilter<"BlockComponent">
299
+ styleOverride?: Prisma.JsonNullableFilter<"BlockComponent">
300
+ block?: Prisma.XOR<Prisma.BlockScalarRelationFilter, Prisma.BlockWhereInput>
301
+ component?: Prisma.XOR<Prisma.ComponentScalarRelationFilter, Prisma.ComponentWhereInput>
302
+ }, "id">
303
+
304
+ export type BlockComponentOrderByWithAggregationInput = {
305
+ id?: Prisma.SortOrder
306
+ blockId?: Prisma.SortOrder
307
+ componentId?: Prisma.SortOrder
308
+ x?: Prisma.SortOrder
309
+ y?: Prisma.SortOrder
310
+ width?: Prisma.SortOrder
311
+ height?: Prisma.SortOrder
312
+ zIndex?: Prisma.SortOrder
313
+ propsOverride?: Prisma.SortOrderInput | Prisma.SortOrder
314
+ styleOverride?: Prisma.SortOrderInput | Prisma.SortOrder
315
+ _count?: Prisma.BlockComponentCountOrderByAggregateInput
316
+ _avg?: Prisma.BlockComponentAvgOrderByAggregateInput
317
+ _max?: Prisma.BlockComponentMaxOrderByAggregateInput
318
+ _min?: Prisma.BlockComponentMinOrderByAggregateInput
319
+ _sum?: Prisma.BlockComponentSumOrderByAggregateInput
320
+ }
321
+
322
+ export type BlockComponentScalarWhereWithAggregatesInput = {
323
+ AND?: Prisma.BlockComponentScalarWhereWithAggregatesInput | Prisma.BlockComponentScalarWhereWithAggregatesInput[]
324
+ OR?: Prisma.BlockComponentScalarWhereWithAggregatesInput[]
325
+ NOT?: Prisma.BlockComponentScalarWhereWithAggregatesInput | Prisma.BlockComponentScalarWhereWithAggregatesInput[]
326
+ id?: Prisma.StringWithAggregatesFilter<"BlockComponent"> | string
327
+ blockId?: Prisma.StringWithAggregatesFilter<"BlockComponent"> | string
328
+ componentId?: Prisma.StringWithAggregatesFilter<"BlockComponent"> | string
329
+ x?: Prisma.FloatWithAggregatesFilter<"BlockComponent"> | number
330
+ y?: Prisma.FloatWithAggregatesFilter<"BlockComponent"> | number
331
+ width?: Prisma.FloatWithAggregatesFilter<"BlockComponent"> | number
332
+ height?: Prisma.FloatWithAggregatesFilter<"BlockComponent"> | number
333
+ zIndex?: Prisma.IntWithAggregatesFilter<"BlockComponent"> | number
334
+ propsOverride?: Prisma.JsonNullableWithAggregatesFilter<"BlockComponent">
335
+ styleOverride?: Prisma.JsonNullableWithAggregatesFilter<"BlockComponent">
336
+ }
337
+
338
+ export type BlockComponentCreateInput = {
339
+ id?: string
340
+ x?: number
341
+ y?: number
342
+ width?: number
343
+ height?: number
344
+ zIndex?: number
345
+ propsOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
346
+ styleOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
347
+ block: Prisma.BlockCreateNestedOneWithoutItemsInput
348
+ component: Prisma.ComponentCreateNestedOneWithoutBlockItemsInput
349
+ }
350
+
351
+ export type BlockComponentUncheckedCreateInput = {
352
+ id?: string
353
+ blockId: string
354
+ componentId: string
355
+ x?: number
356
+ y?: number
357
+ width?: number
358
+ height?: number
359
+ zIndex?: number
360
+ propsOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
361
+ styleOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
362
+ }
363
+
364
+ export type BlockComponentUpdateInput = {
365
+ id?: Prisma.StringFieldUpdateOperationsInput | string
366
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
367
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
368
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
369
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
370
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
371
+ propsOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
372
+ styleOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
373
+ block?: Prisma.BlockUpdateOneRequiredWithoutItemsNestedInput
374
+ component?: Prisma.ComponentUpdateOneRequiredWithoutBlockItemsNestedInput
375
+ }
376
+
377
+ export type BlockComponentUncheckedUpdateInput = {
378
+ id?: Prisma.StringFieldUpdateOperationsInput | string
379
+ blockId?: Prisma.StringFieldUpdateOperationsInput | string
380
+ componentId?: Prisma.StringFieldUpdateOperationsInput | string
381
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
382
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
383
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
384
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
385
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
386
+ propsOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
387
+ styleOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
388
+ }
389
+
390
+ export type BlockComponentCreateManyInput = {
391
+ id?: string
392
+ blockId: string
393
+ componentId: string
394
+ x?: number
395
+ y?: number
396
+ width?: number
397
+ height?: number
398
+ zIndex?: number
399
+ propsOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
400
+ styleOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
401
+ }
402
+
403
+ export type BlockComponentUpdateManyMutationInput = {
404
+ id?: Prisma.StringFieldUpdateOperationsInput | string
405
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
406
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
407
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
408
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
409
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
410
+ propsOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
411
+ styleOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
412
+ }
413
+
414
+ export type BlockComponentUncheckedUpdateManyInput = {
415
+ id?: Prisma.StringFieldUpdateOperationsInput | string
416
+ blockId?: Prisma.StringFieldUpdateOperationsInput | string
417
+ componentId?: Prisma.StringFieldUpdateOperationsInput | string
418
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
419
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
420
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
421
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
422
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
423
+ propsOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
424
+ styleOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
425
+ }
426
+
427
+ export type BlockComponentListRelationFilter = {
428
+ every?: Prisma.BlockComponentWhereInput
429
+ some?: Prisma.BlockComponentWhereInput
430
+ none?: Prisma.BlockComponentWhereInput
431
+ }
432
+
433
+ export type BlockComponentOrderByRelationAggregateInput = {
434
+ _count?: Prisma.SortOrder
435
+ }
436
+
437
+ export type BlockComponentCountOrderByAggregateInput = {
438
+ id?: Prisma.SortOrder
439
+ blockId?: Prisma.SortOrder
440
+ componentId?: Prisma.SortOrder
441
+ x?: Prisma.SortOrder
442
+ y?: Prisma.SortOrder
443
+ width?: Prisma.SortOrder
444
+ height?: Prisma.SortOrder
445
+ zIndex?: Prisma.SortOrder
446
+ propsOverride?: Prisma.SortOrder
447
+ styleOverride?: Prisma.SortOrder
448
+ }
449
+
450
+ export type BlockComponentAvgOrderByAggregateInput = {
451
+ x?: Prisma.SortOrder
452
+ y?: Prisma.SortOrder
453
+ width?: Prisma.SortOrder
454
+ height?: Prisma.SortOrder
455
+ zIndex?: Prisma.SortOrder
456
+ }
457
+
458
+ export type BlockComponentMaxOrderByAggregateInput = {
459
+ id?: Prisma.SortOrder
460
+ blockId?: Prisma.SortOrder
461
+ componentId?: Prisma.SortOrder
462
+ x?: Prisma.SortOrder
463
+ y?: Prisma.SortOrder
464
+ width?: Prisma.SortOrder
465
+ height?: Prisma.SortOrder
466
+ zIndex?: Prisma.SortOrder
467
+ }
468
+
469
+ export type BlockComponentMinOrderByAggregateInput = {
470
+ id?: Prisma.SortOrder
471
+ blockId?: Prisma.SortOrder
472
+ componentId?: Prisma.SortOrder
473
+ x?: Prisma.SortOrder
474
+ y?: Prisma.SortOrder
475
+ width?: Prisma.SortOrder
476
+ height?: Prisma.SortOrder
477
+ zIndex?: Prisma.SortOrder
478
+ }
479
+
480
+ export type BlockComponentSumOrderByAggregateInput = {
481
+ x?: Prisma.SortOrder
482
+ y?: Prisma.SortOrder
483
+ width?: Prisma.SortOrder
484
+ height?: Prisma.SortOrder
485
+ zIndex?: Prisma.SortOrder
486
+ }
487
+
488
+ export type BlockComponentCreateNestedManyWithoutComponentInput = {
489
+ create?: Prisma.XOR<Prisma.BlockComponentCreateWithoutComponentInput, Prisma.BlockComponentUncheckedCreateWithoutComponentInput> | Prisma.BlockComponentCreateWithoutComponentInput[] | Prisma.BlockComponentUncheckedCreateWithoutComponentInput[]
490
+ connectOrCreate?: Prisma.BlockComponentCreateOrConnectWithoutComponentInput | Prisma.BlockComponentCreateOrConnectWithoutComponentInput[]
491
+ createMany?: Prisma.BlockComponentCreateManyComponentInputEnvelope
492
+ connect?: Prisma.BlockComponentWhereUniqueInput | Prisma.BlockComponentWhereUniqueInput[]
493
+ }
494
+
495
+ export type BlockComponentUncheckedCreateNestedManyWithoutComponentInput = {
496
+ create?: Prisma.XOR<Prisma.BlockComponentCreateWithoutComponentInput, Prisma.BlockComponentUncheckedCreateWithoutComponentInput> | Prisma.BlockComponentCreateWithoutComponentInput[] | Prisma.BlockComponentUncheckedCreateWithoutComponentInput[]
497
+ connectOrCreate?: Prisma.BlockComponentCreateOrConnectWithoutComponentInput | Prisma.BlockComponentCreateOrConnectWithoutComponentInput[]
498
+ createMany?: Prisma.BlockComponentCreateManyComponentInputEnvelope
499
+ connect?: Prisma.BlockComponentWhereUniqueInput | Prisma.BlockComponentWhereUniqueInput[]
500
+ }
501
+
502
+ export type BlockComponentUpdateManyWithoutComponentNestedInput = {
503
+ create?: Prisma.XOR<Prisma.BlockComponentCreateWithoutComponentInput, Prisma.BlockComponentUncheckedCreateWithoutComponentInput> | Prisma.BlockComponentCreateWithoutComponentInput[] | Prisma.BlockComponentUncheckedCreateWithoutComponentInput[]
504
+ connectOrCreate?: Prisma.BlockComponentCreateOrConnectWithoutComponentInput | Prisma.BlockComponentCreateOrConnectWithoutComponentInput[]
505
+ upsert?: Prisma.BlockComponentUpsertWithWhereUniqueWithoutComponentInput | Prisma.BlockComponentUpsertWithWhereUniqueWithoutComponentInput[]
506
+ createMany?: Prisma.BlockComponentCreateManyComponentInputEnvelope
507
+ set?: Prisma.BlockComponentWhereUniqueInput | Prisma.BlockComponentWhereUniqueInput[]
508
+ disconnect?: Prisma.BlockComponentWhereUniqueInput | Prisma.BlockComponentWhereUniqueInput[]
509
+ delete?: Prisma.BlockComponentWhereUniqueInput | Prisma.BlockComponentWhereUniqueInput[]
510
+ connect?: Prisma.BlockComponentWhereUniqueInput | Prisma.BlockComponentWhereUniqueInput[]
511
+ update?: Prisma.BlockComponentUpdateWithWhereUniqueWithoutComponentInput | Prisma.BlockComponentUpdateWithWhereUniqueWithoutComponentInput[]
512
+ updateMany?: Prisma.BlockComponentUpdateManyWithWhereWithoutComponentInput | Prisma.BlockComponentUpdateManyWithWhereWithoutComponentInput[]
513
+ deleteMany?: Prisma.BlockComponentScalarWhereInput | Prisma.BlockComponentScalarWhereInput[]
514
+ }
515
+
516
+ export type BlockComponentUncheckedUpdateManyWithoutComponentNestedInput = {
517
+ create?: Prisma.XOR<Prisma.BlockComponentCreateWithoutComponentInput, Prisma.BlockComponentUncheckedCreateWithoutComponentInput> | Prisma.BlockComponentCreateWithoutComponentInput[] | Prisma.BlockComponentUncheckedCreateWithoutComponentInput[]
518
+ connectOrCreate?: Prisma.BlockComponentCreateOrConnectWithoutComponentInput | Prisma.BlockComponentCreateOrConnectWithoutComponentInput[]
519
+ upsert?: Prisma.BlockComponentUpsertWithWhereUniqueWithoutComponentInput | Prisma.BlockComponentUpsertWithWhereUniqueWithoutComponentInput[]
520
+ createMany?: Prisma.BlockComponentCreateManyComponentInputEnvelope
521
+ set?: Prisma.BlockComponentWhereUniqueInput | Prisma.BlockComponentWhereUniqueInput[]
522
+ disconnect?: Prisma.BlockComponentWhereUniqueInput | Prisma.BlockComponentWhereUniqueInput[]
523
+ delete?: Prisma.BlockComponentWhereUniqueInput | Prisma.BlockComponentWhereUniqueInput[]
524
+ connect?: Prisma.BlockComponentWhereUniqueInput | Prisma.BlockComponentWhereUniqueInput[]
525
+ update?: Prisma.BlockComponentUpdateWithWhereUniqueWithoutComponentInput | Prisma.BlockComponentUpdateWithWhereUniqueWithoutComponentInput[]
526
+ updateMany?: Prisma.BlockComponentUpdateManyWithWhereWithoutComponentInput | Prisma.BlockComponentUpdateManyWithWhereWithoutComponentInput[]
527
+ deleteMany?: Prisma.BlockComponentScalarWhereInput | Prisma.BlockComponentScalarWhereInput[]
528
+ }
529
+
530
+ export type BlockComponentCreateNestedManyWithoutBlockInput = {
531
+ create?: Prisma.XOR<Prisma.BlockComponentCreateWithoutBlockInput, Prisma.BlockComponentUncheckedCreateWithoutBlockInput> | Prisma.BlockComponentCreateWithoutBlockInput[] | Prisma.BlockComponentUncheckedCreateWithoutBlockInput[]
532
+ connectOrCreate?: Prisma.BlockComponentCreateOrConnectWithoutBlockInput | Prisma.BlockComponentCreateOrConnectWithoutBlockInput[]
533
+ createMany?: Prisma.BlockComponentCreateManyBlockInputEnvelope
534
+ connect?: Prisma.BlockComponentWhereUniqueInput | Prisma.BlockComponentWhereUniqueInput[]
535
+ }
536
+
537
+ export type BlockComponentUncheckedCreateNestedManyWithoutBlockInput = {
538
+ create?: Prisma.XOR<Prisma.BlockComponentCreateWithoutBlockInput, Prisma.BlockComponentUncheckedCreateWithoutBlockInput> | Prisma.BlockComponentCreateWithoutBlockInput[] | Prisma.BlockComponentUncheckedCreateWithoutBlockInput[]
539
+ connectOrCreate?: Prisma.BlockComponentCreateOrConnectWithoutBlockInput | Prisma.BlockComponentCreateOrConnectWithoutBlockInput[]
540
+ createMany?: Prisma.BlockComponentCreateManyBlockInputEnvelope
541
+ connect?: Prisma.BlockComponentWhereUniqueInput | Prisma.BlockComponentWhereUniqueInput[]
542
+ }
543
+
544
+ export type BlockComponentUpdateManyWithoutBlockNestedInput = {
545
+ create?: Prisma.XOR<Prisma.BlockComponentCreateWithoutBlockInput, Prisma.BlockComponentUncheckedCreateWithoutBlockInput> | Prisma.BlockComponentCreateWithoutBlockInput[] | Prisma.BlockComponentUncheckedCreateWithoutBlockInput[]
546
+ connectOrCreate?: Prisma.BlockComponentCreateOrConnectWithoutBlockInput | Prisma.BlockComponentCreateOrConnectWithoutBlockInput[]
547
+ upsert?: Prisma.BlockComponentUpsertWithWhereUniqueWithoutBlockInput | Prisma.BlockComponentUpsertWithWhereUniqueWithoutBlockInput[]
548
+ createMany?: Prisma.BlockComponentCreateManyBlockInputEnvelope
549
+ set?: Prisma.BlockComponentWhereUniqueInput | Prisma.BlockComponentWhereUniqueInput[]
550
+ disconnect?: Prisma.BlockComponentWhereUniqueInput | Prisma.BlockComponentWhereUniqueInput[]
551
+ delete?: Prisma.BlockComponentWhereUniqueInput | Prisma.BlockComponentWhereUniqueInput[]
552
+ connect?: Prisma.BlockComponentWhereUniqueInput | Prisma.BlockComponentWhereUniqueInput[]
553
+ update?: Prisma.BlockComponentUpdateWithWhereUniqueWithoutBlockInput | Prisma.BlockComponentUpdateWithWhereUniqueWithoutBlockInput[]
554
+ updateMany?: Prisma.BlockComponentUpdateManyWithWhereWithoutBlockInput | Prisma.BlockComponentUpdateManyWithWhereWithoutBlockInput[]
555
+ deleteMany?: Prisma.BlockComponentScalarWhereInput | Prisma.BlockComponentScalarWhereInput[]
556
+ }
557
+
558
+ export type BlockComponentUncheckedUpdateManyWithoutBlockNestedInput = {
559
+ create?: Prisma.XOR<Prisma.BlockComponentCreateWithoutBlockInput, Prisma.BlockComponentUncheckedCreateWithoutBlockInput> | Prisma.BlockComponentCreateWithoutBlockInput[] | Prisma.BlockComponentUncheckedCreateWithoutBlockInput[]
560
+ connectOrCreate?: Prisma.BlockComponentCreateOrConnectWithoutBlockInput | Prisma.BlockComponentCreateOrConnectWithoutBlockInput[]
561
+ upsert?: Prisma.BlockComponentUpsertWithWhereUniqueWithoutBlockInput | Prisma.BlockComponentUpsertWithWhereUniqueWithoutBlockInput[]
562
+ createMany?: Prisma.BlockComponentCreateManyBlockInputEnvelope
563
+ set?: Prisma.BlockComponentWhereUniqueInput | Prisma.BlockComponentWhereUniqueInput[]
564
+ disconnect?: Prisma.BlockComponentWhereUniqueInput | Prisma.BlockComponentWhereUniqueInput[]
565
+ delete?: Prisma.BlockComponentWhereUniqueInput | Prisma.BlockComponentWhereUniqueInput[]
566
+ connect?: Prisma.BlockComponentWhereUniqueInput | Prisma.BlockComponentWhereUniqueInput[]
567
+ update?: Prisma.BlockComponentUpdateWithWhereUniqueWithoutBlockInput | Prisma.BlockComponentUpdateWithWhereUniqueWithoutBlockInput[]
568
+ updateMany?: Prisma.BlockComponentUpdateManyWithWhereWithoutBlockInput | Prisma.BlockComponentUpdateManyWithWhereWithoutBlockInput[]
569
+ deleteMany?: Prisma.BlockComponentScalarWhereInput | Prisma.BlockComponentScalarWhereInput[]
570
+ }
571
+
572
+ export type FloatFieldUpdateOperationsInput = {
573
+ set?: number
574
+ increment?: number
575
+ decrement?: number
576
+ multiply?: number
577
+ divide?: number
578
+ }
579
+
580
+ export type BlockComponentCreateWithoutComponentInput = {
581
+ id?: string
582
+ x?: number
583
+ y?: number
584
+ width?: number
585
+ height?: number
586
+ zIndex?: number
587
+ propsOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
588
+ styleOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
589
+ block: Prisma.BlockCreateNestedOneWithoutItemsInput
590
+ }
591
+
592
+ export type BlockComponentUncheckedCreateWithoutComponentInput = {
593
+ id?: string
594
+ blockId: string
595
+ x?: number
596
+ y?: number
597
+ width?: number
598
+ height?: number
599
+ zIndex?: number
600
+ propsOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
601
+ styleOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
602
+ }
603
+
604
+ export type BlockComponentCreateOrConnectWithoutComponentInput = {
605
+ where: Prisma.BlockComponentWhereUniqueInput
606
+ create: Prisma.XOR<Prisma.BlockComponentCreateWithoutComponentInput, Prisma.BlockComponentUncheckedCreateWithoutComponentInput>
607
+ }
608
+
609
+ export type BlockComponentCreateManyComponentInputEnvelope = {
610
+ data: Prisma.BlockComponentCreateManyComponentInput | Prisma.BlockComponentCreateManyComponentInput[]
611
+ skipDuplicates?: boolean
612
+ }
613
+
614
+ export type BlockComponentUpsertWithWhereUniqueWithoutComponentInput = {
615
+ where: Prisma.BlockComponentWhereUniqueInput
616
+ update: Prisma.XOR<Prisma.BlockComponentUpdateWithoutComponentInput, Prisma.BlockComponentUncheckedUpdateWithoutComponentInput>
617
+ create: Prisma.XOR<Prisma.BlockComponentCreateWithoutComponentInput, Prisma.BlockComponentUncheckedCreateWithoutComponentInput>
618
+ }
619
+
620
+ export type BlockComponentUpdateWithWhereUniqueWithoutComponentInput = {
621
+ where: Prisma.BlockComponentWhereUniqueInput
622
+ data: Prisma.XOR<Prisma.BlockComponentUpdateWithoutComponentInput, Prisma.BlockComponentUncheckedUpdateWithoutComponentInput>
623
+ }
624
+
625
+ export type BlockComponentUpdateManyWithWhereWithoutComponentInput = {
626
+ where: Prisma.BlockComponentScalarWhereInput
627
+ data: Prisma.XOR<Prisma.BlockComponentUpdateManyMutationInput, Prisma.BlockComponentUncheckedUpdateManyWithoutComponentInput>
628
+ }
629
+
630
+ export type BlockComponentScalarWhereInput = {
631
+ AND?: Prisma.BlockComponentScalarWhereInput | Prisma.BlockComponentScalarWhereInput[]
632
+ OR?: Prisma.BlockComponentScalarWhereInput[]
633
+ NOT?: Prisma.BlockComponentScalarWhereInput | Prisma.BlockComponentScalarWhereInput[]
634
+ id?: Prisma.StringFilter<"BlockComponent"> | string
635
+ blockId?: Prisma.StringFilter<"BlockComponent"> | string
636
+ componentId?: Prisma.StringFilter<"BlockComponent"> | string
637
+ x?: Prisma.FloatFilter<"BlockComponent"> | number
638
+ y?: Prisma.FloatFilter<"BlockComponent"> | number
639
+ width?: Prisma.FloatFilter<"BlockComponent"> | number
640
+ height?: Prisma.FloatFilter<"BlockComponent"> | number
641
+ zIndex?: Prisma.IntFilter<"BlockComponent"> | number
642
+ propsOverride?: Prisma.JsonNullableFilter<"BlockComponent">
643
+ styleOverride?: Prisma.JsonNullableFilter<"BlockComponent">
644
+ }
645
+
646
+ export type BlockComponentCreateWithoutBlockInput = {
647
+ id?: string
648
+ x?: number
649
+ y?: number
650
+ width?: number
651
+ height?: number
652
+ zIndex?: number
653
+ propsOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
654
+ styleOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
655
+ component: Prisma.ComponentCreateNestedOneWithoutBlockItemsInput
656
+ }
657
+
658
+ export type BlockComponentUncheckedCreateWithoutBlockInput = {
659
+ id?: string
660
+ componentId: string
661
+ x?: number
662
+ y?: number
663
+ width?: number
664
+ height?: number
665
+ zIndex?: number
666
+ propsOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
667
+ styleOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
668
+ }
669
+
670
+ export type BlockComponentCreateOrConnectWithoutBlockInput = {
671
+ where: Prisma.BlockComponentWhereUniqueInput
672
+ create: Prisma.XOR<Prisma.BlockComponentCreateWithoutBlockInput, Prisma.BlockComponentUncheckedCreateWithoutBlockInput>
673
+ }
674
+
675
+ export type BlockComponentCreateManyBlockInputEnvelope = {
676
+ data: Prisma.BlockComponentCreateManyBlockInput | Prisma.BlockComponentCreateManyBlockInput[]
677
+ skipDuplicates?: boolean
678
+ }
679
+
680
+ export type BlockComponentUpsertWithWhereUniqueWithoutBlockInput = {
681
+ where: Prisma.BlockComponentWhereUniqueInput
682
+ update: Prisma.XOR<Prisma.BlockComponentUpdateWithoutBlockInput, Prisma.BlockComponentUncheckedUpdateWithoutBlockInput>
683
+ create: Prisma.XOR<Prisma.BlockComponentCreateWithoutBlockInput, Prisma.BlockComponentUncheckedCreateWithoutBlockInput>
684
+ }
685
+
686
+ export type BlockComponentUpdateWithWhereUniqueWithoutBlockInput = {
687
+ where: Prisma.BlockComponentWhereUniqueInput
688
+ data: Prisma.XOR<Prisma.BlockComponentUpdateWithoutBlockInput, Prisma.BlockComponentUncheckedUpdateWithoutBlockInput>
689
+ }
690
+
691
+ export type BlockComponentUpdateManyWithWhereWithoutBlockInput = {
692
+ where: Prisma.BlockComponentScalarWhereInput
693
+ data: Prisma.XOR<Prisma.BlockComponentUpdateManyMutationInput, Prisma.BlockComponentUncheckedUpdateManyWithoutBlockInput>
694
+ }
695
+
696
+ export type BlockComponentCreateManyComponentInput = {
697
+ id?: string
698
+ blockId: string
699
+ x?: number
700
+ y?: number
701
+ width?: number
702
+ height?: number
703
+ zIndex?: number
704
+ propsOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
705
+ styleOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
706
+ }
707
+
708
+ export type BlockComponentUpdateWithoutComponentInput = {
709
+ id?: Prisma.StringFieldUpdateOperationsInput | string
710
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
711
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
712
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
713
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
714
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
715
+ propsOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
716
+ styleOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
717
+ block?: Prisma.BlockUpdateOneRequiredWithoutItemsNestedInput
718
+ }
719
+
720
+ export type BlockComponentUncheckedUpdateWithoutComponentInput = {
721
+ id?: Prisma.StringFieldUpdateOperationsInput | string
722
+ blockId?: Prisma.StringFieldUpdateOperationsInput | string
723
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
724
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
725
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
726
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
727
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
728
+ propsOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
729
+ styleOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
730
+ }
731
+
732
+ export type BlockComponentUncheckedUpdateManyWithoutComponentInput = {
733
+ id?: Prisma.StringFieldUpdateOperationsInput | string
734
+ blockId?: Prisma.StringFieldUpdateOperationsInput | string
735
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
736
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
737
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
738
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
739
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
740
+ propsOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
741
+ styleOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
742
+ }
743
+
744
+ export type BlockComponentCreateManyBlockInput = {
745
+ id?: string
746
+ componentId: string
747
+ x?: number
748
+ y?: number
749
+ width?: number
750
+ height?: number
751
+ zIndex?: number
752
+ propsOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
753
+ styleOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
754
+ }
755
+
756
+ export type BlockComponentUpdateWithoutBlockInput = {
757
+ id?: Prisma.StringFieldUpdateOperationsInput | string
758
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
759
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
760
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
761
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
762
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
763
+ propsOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
764
+ styleOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
765
+ component?: Prisma.ComponentUpdateOneRequiredWithoutBlockItemsNestedInput
766
+ }
767
+
768
+ export type BlockComponentUncheckedUpdateWithoutBlockInput = {
769
+ id?: Prisma.StringFieldUpdateOperationsInput | string
770
+ componentId?: Prisma.StringFieldUpdateOperationsInput | string
771
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
772
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
773
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
774
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
775
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
776
+ propsOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
777
+ styleOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
778
+ }
779
+
780
+ export type BlockComponentUncheckedUpdateManyWithoutBlockInput = {
781
+ id?: Prisma.StringFieldUpdateOperationsInput | string
782
+ componentId?: Prisma.StringFieldUpdateOperationsInput | string
783
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
784
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
785
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
786
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
787
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
788
+ propsOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
789
+ styleOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
790
+ }
791
+
792
+
793
+
794
+ export type BlockComponentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
795
+ id?: boolean
796
+ blockId?: boolean
797
+ componentId?: boolean
798
+ x?: boolean
799
+ y?: boolean
800
+ width?: boolean
801
+ height?: boolean
802
+ zIndex?: boolean
803
+ propsOverride?: boolean
804
+ styleOverride?: boolean
805
+ block?: boolean | Prisma.BlockDefaultArgs<ExtArgs>
806
+ component?: boolean | Prisma.ComponentDefaultArgs<ExtArgs>
807
+ }, ExtArgs["result"]["blockComponent"]>
808
+
809
+ export type BlockComponentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
810
+ id?: boolean
811
+ blockId?: boolean
812
+ componentId?: boolean
813
+ x?: boolean
814
+ y?: boolean
815
+ width?: boolean
816
+ height?: boolean
817
+ zIndex?: boolean
818
+ propsOverride?: boolean
819
+ styleOverride?: boolean
820
+ block?: boolean | Prisma.BlockDefaultArgs<ExtArgs>
821
+ component?: boolean | Prisma.ComponentDefaultArgs<ExtArgs>
822
+ }, ExtArgs["result"]["blockComponent"]>
823
+
824
+ export type BlockComponentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
825
+ id?: boolean
826
+ blockId?: boolean
827
+ componentId?: boolean
828
+ x?: boolean
829
+ y?: boolean
830
+ width?: boolean
831
+ height?: boolean
832
+ zIndex?: boolean
833
+ propsOverride?: boolean
834
+ styleOverride?: boolean
835
+ block?: boolean | Prisma.BlockDefaultArgs<ExtArgs>
836
+ component?: boolean | Prisma.ComponentDefaultArgs<ExtArgs>
837
+ }, ExtArgs["result"]["blockComponent"]>
838
+
839
+ export type BlockComponentSelectScalar = {
840
+ id?: boolean
841
+ blockId?: boolean
842
+ componentId?: boolean
843
+ x?: boolean
844
+ y?: boolean
845
+ width?: boolean
846
+ height?: boolean
847
+ zIndex?: boolean
848
+ propsOverride?: boolean
849
+ styleOverride?: boolean
850
+ }
851
+
852
+ export type BlockComponentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "blockId" | "componentId" | "x" | "y" | "width" | "height" | "zIndex" | "propsOverride" | "styleOverride", ExtArgs["result"]["blockComponent"]>
853
+ export type BlockComponentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
854
+ block?: boolean | Prisma.BlockDefaultArgs<ExtArgs>
855
+ component?: boolean | Prisma.ComponentDefaultArgs<ExtArgs>
856
+ }
857
+ export type BlockComponentIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
858
+ block?: boolean | Prisma.BlockDefaultArgs<ExtArgs>
859
+ component?: boolean | Prisma.ComponentDefaultArgs<ExtArgs>
860
+ }
861
+ export type BlockComponentIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
862
+ block?: boolean | Prisma.BlockDefaultArgs<ExtArgs>
863
+ component?: boolean | Prisma.ComponentDefaultArgs<ExtArgs>
864
+ }
865
+
866
+ export type $BlockComponentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
867
+ name: "BlockComponent"
868
+ objects: {
869
+ block: Prisma.$BlockPayload<ExtArgs>
870
+ component: Prisma.$ComponentPayload<ExtArgs>
871
+ }
872
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
873
+ id: string
874
+ blockId: string
875
+ componentId: string
876
+ x: number
877
+ y: number
878
+ width: number
879
+ height: number
880
+ zIndex: number
881
+ propsOverride: runtime.JsonValue | null
882
+ styleOverride: runtime.JsonValue | null
883
+ }, ExtArgs["result"]["blockComponent"]>
884
+ composites: {}
885
+ }
886
+
887
+ export type BlockComponentGetPayload<S extends boolean | null | undefined | BlockComponentDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$BlockComponentPayload, S>
888
+
889
+ export type BlockComponentCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
890
+ Omit<BlockComponentFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
891
+ select?: BlockComponentCountAggregateInputType | true
892
+ }
893
+
894
+ export interface BlockComponentDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
895
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['BlockComponent'], meta: { name: 'BlockComponent' } }
896
+ /**
897
+ * Find zero or one BlockComponent that matches the filter.
898
+ * @param {BlockComponentFindUniqueArgs} args - Arguments to find a BlockComponent
899
+ * @example
900
+ * // Get one BlockComponent
901
+ * const blockComponent = await prisma.blockComponent.findUnique({
902
+ * where: {
903
+ * // ... provide filter here
904
+ * }
905
+ * })
906
+ */
907
+ findUnique<T extends BlockComponentFindUniqueArgs>(args: Prisma.SelectSubset<T, BlockComponentFindUniqueArgs<ExtArgs>>): Prisma.Prisma__BlockComponentClient<runtime.Types.Result.GetResult<Prisma.$BlockComponentPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
908
+
909
+ /**
910
+ * Find one BlockComponent that matches the filter or throw an error with `error.code='P2025'`
911
+ * if no matches were found.
912
+ * @param {BlockComponentFindUniqueOrThrowArgs} args - Arguments to find a BlockComponent
913
+ * @example
914
+ * // Get one BlockComponent
915
+ * const blockComponent = await prisma.blockComponent.findUniqueOrThrow({
916
+ * where: {
917
+ * // ... provide filter here
918
+ * }
919
+ * })
920
+ */
921
+ findUniqueOrThrow<T extends BlockComponentFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, BlockComponentFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__BlockComponentClient<runtime.Types.Result.GetResult<Prisma.$BlockComponentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
922
+
923
+ /**
924
+ * Find the first BlockComponent that matches the filter.
925
+ * Note, that providing `undefined` is treated as the value not being there.
926
+ * Read more here: https://pris.ly/d/null-undefined
927
+ * @param {BlockComponentFindFirstArgs} args - Arguments to find a BlockComponent
928
+ * @example
929
+ * // Get one BlockComponent
930
+ * const blockComponent = await prisma.blockComponent.findFirst({
931
+ * where: {
932
+ * // ... provide filter here
933
+ * }
934
+ * })
935
+ */
936
+ findFirst<T extends BlockComponentFindFirstArgs>(args?: Prisma.SelectSubset<T, BlockComponentFindFirstArgs<ExtArgs>>): Prisma.Prisma__BlockComponentClient<runtime.Types.Result.GetResult<Prisma.$BlockComponentPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
937
+
938
+ /**
939
+ * Find the first BlockComponent that matches the filter or
940
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
941
+ * Note, that providing `undefined` is treated as the value not being there.
942
+ * Read more here: https://pris.ly/d/null-undefined
943
+ * @param {BlockComponentFindFirstOrThrowArgs} args - Arguments to find a BlockComponent
944
+ * @example
945
+ * // Get one BlockComponent
946
+ * const blockComponent = await prisma.blockComponent.findFirstOrThrow({
947
+ * where: {
948
+ * // ... provide filter here
949
+ * }
950
+ * })
951
+ */
952
+ findFirstOrThrow<T extends BlockComponentFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, BlockComponentFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__BlockComponentClient<runtime.Types.Result.GetResult<Prisma.$BlockComponentPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
953
+
954
+ /**
955
+ * Find zero or more BlockComponents that matches the filter.
956
+ * Note, that providing `undefined` is treated as the value not being there.
957
+ * Read more here: https://pris.ly/d/null-undefined
958
+ * @param {BlockComponentFindManyArgs} args - Arguments to filter and select certain fields only.
959
+ * @example
960
+ * // Get all BlockComponents
961
+ * const blockComponents = await prisma.blockComponent.findMany()
962
+ *
963
+ * // Get first 10 BlockComponents
964
+ * const blockComponents = await prisma.blockComponent.findMany({ take: 10 })
965
+ *
966
+ * // Only select the `id`
967
+ * const blockComponentWithIdOnly = await prisma.blockComponent.findMany({ select: { id: true } })
968
+ *
969
+ */
970
+ findMany<T extends BlockComponentFindManyArgs>(args?: Prisma.SelectSubset<T, BlockComponentFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BlockComponentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
971
+
972
+ /**
973
+ * Create a BlockComponent.
974
+ * @param {BlockComponentCreateArgs} args - Arguments to create a BlockComponent.
975
+ * @example
976
+ * // Create one BlockComponent
977
+ * const BlockComponent = await prisma.blockComponent.create({
978
+ * data: {
979
+ * // ... data to create a BlockComponent
980
+ * }
981
+ * })
982
+ *
983
+ */
984
+ create<T extends BlockComponentCreateArgs>(args: Prisma.SelectSubset<T, BlockComponentCreateArgs<ExtArgs>>): Prisma.Prisma__BlockComponentClient<runtime.Types.Result.GetResult<Prisma.$BlockComponentPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
985
+
986
+ /**
987
+ * Create many BlockComponents.
988
+ * @param {BlockComponentCreateManyArgs} args - Arguments to create many BlockComponents.
989
+ * @example
990
+ * // Create many BlockComponents
991
+ * const blockComponent = await prisma.blockComponent.createMany({
992
+ * data: [
993
+ * // ... provide data here
994
+ * ]
995
+ * })
996
+ *
997
+ */
998
+ createMany<T extends BlockComponentCreateManyArgs>(args?: Prisma.SelectSubset<T, BlockComponentCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
999
+
1000
+ /**
1001
+ * Create many BlockComponents and returns the data saved in the database.
1002
+ * @param {BlockComponentCreateManyAndReturnArgs} args - Arguments to create many BlockComponents.
1003
+ * @example
1004
+ * // Create many BlockComponents
1005
+ * const blockComponent = await prisma.blockComponent.createManyAndReturn({
1006
+ * data: [
1007
+ * // ... provide data here
1008
+ * ]
1009
+ * })
1010
+ *
1011
+ * // Create many BlockComponents and only return the `id`
1012
+ * const blockComponentWithIdOnly = await prisma.blockComponent.createManyAndReturn({
1013
+ * select: { id: true },
1014
+ * data: [
1015
+ * // ... provide data here
1016
+ * ]
1017
+ * })
1018
+ * Note, that providing `undefined` is treated as the value not being there.
1019
+ * Read more here: https://pris.ly/d/null-undefined
1020
+ *
1021
+ */
1022
+ createManyAndReturn<T extends BlockComponentCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, BlockComponentCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BlockComponentPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1023
+
1024
+ /**
1025
+ * Delete a BlockComponent.
1026
+ * @param {BlockComponentDeleteArgs} args - Arguments to delete one BlockComponent.
1027
+ * @example
1028
+ * // Delete one BlockComponent
1029
+ * const BlockComponent = await prisma.blockComponent.delete({
1030
+ * where: {
1031
+ * // ... filter to delete one BlockComponent
1032
+ * }
1033
+ * })
1034
+ *
1035
+ */
1036
+ delete<T extends BlockComponentDeleteArgs>(args: Prisma.SelectSubset<T, BlockComponentDeleteArgs<ExtArgs>>): Prisma.Prisma__BlockComponentClient<runtime.Types.Result.GetResult<Prisma.$BlockComponentPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1037
+
1038
+ /**
1039
+ * Update one BlockComponent.
1040
+ * @param {BlockComponentUpdateArgs} args - Arguments to update one BlockComponent.
1041
+ * @example
1042
+ * // Update one BlockComponent
1043
+ * const blockComponent = await prisma.blockComponent.update({
1044
+ * where: {
1045
+ * // ... provide filter here
1046
+ * },
1047
+ * data: {
1048
+ * // ... provide data here
1049
+ * }
1050
+ * })
1051
+ *
1052
+ */
1053
+ update<T extends BlockComponentUpdateArgs>(args: Prisma.SelectSubset<T, BlockComponentUpdateArgs<ExtArgs>>): Prisma.Prisma__BlockComponentClient<runtime.Types.Result.GetResult<Prisma.$BlockComponentPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1054
+
1055
+ /**
1056
+ * Delete zero or more BlockComponents.
1057
+ * @param {BlockComponentDeleteManyArgs} args - Arguments to filter BlockComponents to delete.
1058
+ * @example
1059
+ * // Delete a few BlockComponents
1060
+ * const { count } = await prisma.blockComponent.deleteMany({
1061
+ * where: {
1062
+ * // ... provide filter here
1063
+ * }
1064
+ * })
1065
+ *
1066
+ */
1067
+ deleteMany<T extends BlockComponentDeleteManyArgs>(args?: Prisma.SelectSubset<T, BlockComponentDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1068
+
1069
+ /**
1070
+ * Update zero or more BlockComponents.
1071
+ * Note, that providing `undefined` is treated as the value not being there.
1072
+ * Read more here: https://pris.ly/d/null-undefined
1073
+ * @param {BlockComponentUpdateManyArgs} args - Arguments to update one or more rows.
1074
+ * @example
1075
+ * // Update many BlockComponents
1076
+ * const blockComponent = await prisma.blockComponent.updateMany({
1077
+ * where: {
1078
+ * // ... provide filter here
1079
+ * },
1080
+ * data: {
1081
+ * // ... provide data here
1082
+ * }
1083
+ * })
1084
+ *
1085
+ */
1086
+ updateMany<T extends BlockComponentUpdateManyArgs>(args: Prisma.SelectSubset<T, BlockComponentUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1087
+
1088
+ /**
1089
+ * Update zero or more BlockComponents and returns the data updated in the database.
1090
+ * @param {BlockComponentUpdateManyAndReturnArgs} args - Arguments to update many BlockComponents.
1091
+ * @example
1092
+ * // Update many BlockComponents
1093
+ * const blockComponent = await prisma.blockComponent.updateManyAndReturn({
1094
+ * where: {
1095
+ * // ... provide filter here
1096
+ * },
1097
+ * data: [
1098
+ * // ... provide data here
1099
+ * ]
1100
+ * })
1101
+ *
1102
+ * // Update zero or more BlockComponents and only return the `id`
1103
+ * const blockComponentWithIdOnly = await prisma.blockComponent.updateManyAndReturn({
1104
+ * select: { id: true },
1105
+ * where: {
1106
+ * // ... provide filter here
1107
+ * },
1108
+ * data: [
1109
+ * // ... provide data here
1110
+ * ]
1111
+ * })
1112
+ * Note, that providing `undefined` is treated as the value not being there.
1113
+ * Read more here: https://pris.ly/d/null-undefined
1114
+ *
1115
+ */
1116
+ updateManyAndReturn<T extends BlockComponentUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, BlockComponentUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BlockComponentPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1117
+
1118
+ /**
1119
+ * Create or update one BlockComponent.
1120
+ * @param {BlockComponentUpsertArgs} args - Arguments to update or create a BlockComponent.
1121
+ * @example
1122
+ * // Update or create a BlockComponent
1123
+ * const blockComponent = await prisma.blockComponent.upsert({
1124
+ * create: {
1125
+ * // ... data to create a BlockComponent
1126
+ * },
1127
+ * update: {
1128
+ * // ... in case it already exists, update
1129
+ * },
1130
+ * where: {
1131
+ * // ... the filter for the BlockComponent we want to update
1132
+ * }
1133
+ * })
1134
+ */
1135
+ upsert<T extends BlockComponentUpsertArgs>(args: Prisma.SelectSubset<T, BlockComponentUpsertArgs<ExtArgs>>): Prisma.Prisma__BlockComponentClient<runtime.Types.Result.GetResult<Prisma.$BlockComponentPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1136
+
1137
+
1138
+ /**
1139
+ * Count the number of BlockComponents.
1140
+ * Note, that providing `undefined` is treated as the value not being there.
1141
+ * Read more here: https://pris.ly/d/null-undefined
1142
+ * @param {BlockComponentCountArgs} args - Arguments to filter BlockComponents to count.
1143
+ * @example
1144
+ * // Count the number of BlockComponents
1145
+ * const count = await prisma.blockComponent.count({
1146
+ * where: {
1147
+ * // ... the filter for the BlockComponents we want to count
1148
+ * }
1149
+ * })
1150
+ **/
1151
+ count<T extends BlockComponentCountArgs>(
1152
+ args?: Prisma.Subset<T, BlockComponentCountArgs>,
1153
+ ): Prisma.PrismaPromise<
1154
+ T extends runtime.Types.Utils.Record<'select', any>
1155
+ ? T['select'] extends true
1156
+ ? number
1157
+ : Prisma.GetScalarType<T['select'], BlockComponentCountAggregateOutputType>
1158
+ : number
1159
+ >
1160
+
1161
+ /**
1162
+ * Allows you to perform aggregations operations on a BlockComponent.
1163
+ * Note, that providing `undefined` is treated as the value not being there.
1164
+ * Read more here: https://pris.ly/d/null-undefined
1165
+ * @param {BlockComponentAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1166
+ * @example
1167
+ * // Ordered by age ascending
1168
+ * // Where email contains prisma.io
1169
+ * // Limited to the 10 users
1170
+ * const aggregations = await prisma.user.aggregate({
1171
+ * _avg: {
1172
+ * age: true,
1173
+ * },
1174
+ * where: {
1175
+ * email: {
1176
+ * contains: "prisma.io",
1177
+ * },
1178
+ * },
1179
+ * orderBy: {
1180
+ * age: "asc",
1181
+ * },
1182
+ * take: 10,
1183
+ * })
1184
+ **/
1185
+ aggregate<T extends BlockComponentAggregateArgs>(args: Prisma.Subset<T, BlockComponentAggregateArgs>): Prisma.PrismaPromise<GetBlockComponentAggregateType<T>>
1186
+
1187
+ /**
1188
+ * Group by BlockComponent.
1189
+ * Note, that providing `undefined` is treated as the value not being there.
1190
+ * Read more here: https://pris.ly/d/null-undefined
1191
+ * @param {BlockComponentGroupByArgs} args - Group by arguments.
1192
+ * @example
1193
+ * // Group by city, order by createdAt, get count
1194
+ * const result = await prisma.user.groupBy({
1195
+ * by: ['city', 'createdAt'],
1196
+ * orderBy: {
1197
+ * createdAt: true
1198
+ * },
1199
+ * _count: {
1200
+ * _all: true
1201
+ * },
1202
+ * })
1203
+ *
1204
+ **/
1205
+ groupBy<
1206
+ T extends BlockComponentGroupByArgs,
1207
+ HasSelectOrTake extends Prisma.Or<
1208
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1209
+ Prisma.Extends<'take', Prisma.Keys<T>>
1210
+ >,
1211
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1212
+ ? { orderBy: BlockComponentGroupByArgs['orderBy'] }
1213
+ : { orderBy?: BlockComponentGroupByArgs['orderBy'] },
1214
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1215
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1216
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1217
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1218
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1219
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1220
+ InputErrors extends ByEmpty extends Prisma.True
1221
+ ? `Error: "by" must not be empty.`
1222
+ : HavingValid extends Prisma.False
1223
+ ? {
1224
+ [P in HavingFields]: P extends ByFields
1225
+ ? never
1226
+ : P extends string
1227
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1228
+ : [
1229
+ Error,
1230
+ 'Field ',
1231
+ P,
1232
+ ` in "having" needs to be provided in "by"`,
1233
+ ]
1234
+ }[HavingFields]
1235
+ : 'take' extends Prisma.Keys<T>
1236
+ ? 'orderBy' extends Prisma.Keys<T>
1237
+ ? ByValid extends Prisma.True
1238
+ ? {}
1239
+ : {
1240
+ [P in OrderFields]: P extends ByFields
1241
+ ? never
1242
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1243
+ }[OrderFields]
1244
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1245
+ : 'skip' extends Prisma.Keys<T>
1246
+ ? 'orderBy' extends Prisma.Keys<T>
1247
+ ? ByValid extends Prisma.True
1248
+ ? {}
1249
+ : {
1250
+ [P in OrderFields]: P extends ByFields
1251
+ ? never
1252
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1253
+ }[OrderFields]
1254
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1255
+ : ByValid extends Prisma.True
1256
+ ? {}
1257
+ : {
1258
+ [P in OrderFields]: P extends ByFields
1259
+ ? never
1260
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1261
+ }[OrderFields]
1262
+ >(args: Prisma.SubsetIntersection<T, BlockComponentGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetBlockComponentGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1263
+ /**
1264
+ * Fields of the BlockComponent model
1265
+ */
1266
+ readonly fields: BlockComponentFieldRefs;
1267
+ }
1268
+
1269
+ /**
1270
+ * The delegate class that acts as a "Promise-like" for BlockComponent.
1271
+ * Why is this prefixed with `Prisma__`?
1272
+ * Because we want to prevent naming conflicts as mentioned in
1273
+ * https://github.com/prisma/prisma-client-js/issues/707
1274
+ */
1275
+ export interface Prisma__BlockComponentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1276
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1277
+ block<T extends Prisma.BlockDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BlockDefaultArgs<ExtArgs>>): Prisma.Prisma__BlockClient<runtime.Types.Result.GetResult<Prisma.$BlockPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1278
+ component<T extends Prisma.ComponentDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ComponentDefaultArgs<ExtArgs>>): Prisma.Prisma__ComponentClient<runtime.Types.Result.GetResult<Prisma.$ComponentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1279
+ /**
1280
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1281
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1282
+ * @param onrejected The callback to execute when the Promise is rejected.
1283
+ * @returns A Promise for the completion of which ever callback is executed.
1284
+ */
1285
+ 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>
1286
+ /**
1287
+ * Attaches a callback for only the rejection of the Promise.
1288
+ * @param onrejected The callback to execute when the Promise is rejected.
1289
+ * @returns A Promise for the completion of the callback.
1290
+ */
1291
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1292
+ /**
1293
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1294
+ * resolved value cannot be modified from the callback.
1295
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1296
+ * @returns A Promise for the completion of the callback.
1297
+ */
1298
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1299
+ }
1300
+
1301
+
1302
+
1303
+
1304
+ /**
1305
+ * Fields of the BlockComponent model
1306
+ */
1307
+ export interface BlockComponentFieldRefs {
1308
+ readonly id: Prisma.FieldRef<"BlockComponent", 'String'>
1309
+ readonly blockId: Prisma.FieldRef<"BlockComponent", 'String'>
1310
+ readonly componentId: Prisma.FieldRef<"BlockComponent", 'String'>
1311
+ readonly x: Prisma.FieldRef<"BlockComponent", 'Float'>
1312
+ readonly y: Prisma.FieldRef<"BlockComponent", 'Float'>
1313
+ readonly width: Prisma.FieldRef<"BlockComponent", 'Float'>
1314
+ readonly height: Prisma.FieldRef<"BlockComponent", 'Float'>
1315
+ readonly zIndex: Prisma.FieldRef<"BlockComponent", 'Int'>
1316
+ readonly propsOverride: Prisma.FieldRef<"BlockComponent", 'Json'>
1317
+ readonly styleOverride: Prisma.FieldRef<"BlockComponent", 'Json'>
1318
+ }
1319
+
1320
+
1321
+ // Custom InputTypes
1322
+ /**
1323
+ * BlockComponent findUnique
1324
+ */
1325
+ export type BlockComponentFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1326
+ /**
1327
+ * Select specific fields to fetch from the BlockComponent
1328
+ */
1329
+ select?: Prisma.BlockComponentSelect<ExtArgs> | null
1330
+ /**
1331
+ * Omit specific fields from the BlockComponent
1332
+ */
1333
+ omit?: Prisma.BlockComponentOmit<ExtArgs> | null
1334
+ /**
1335
+ * Choose, which related nodes to fetch as well
1336
+ */
1337
+ include?: Prisma.BlockComponentInclude<ExtArgs> | null
1338
+ /**
1339
+ * Filter, which BlockComponent to fetch.
1340
+ */
1341
+ where: Prisma.BlockComponentWhereUniqueInput
1342
+ }
1343
+
1344
+ /**
1345
+ * BlockComponent findUniqueOrThrow
1346
+ */
1347
+ export type BlockComponentFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1348
+ /**
1349
+ * Select specific fields to fetch from the BlockComponent
1350
+ */
1351
+ select?: Prisma.BlockComponentSelect<ExtArgs> | null
1352
+ /**
1353
+ * Omit specific fields from the BlockComponent
1354
+ */
1355
+ omit?: Prisma.BlockComponentOmit<ExtArgs> | null
1356
+ /**
1357
+ * Choose, which related nodes to fetch as well
1358
+ */
1359
+ include?: Prisma.BlockComponentInclude<ExtArgs> | null
1360
+ /**
1361
+ * Filter, which BlockComponent to fetch.
1362
+ */
1363
+ where: Prisma.BlockComponentWhereUniqueInput
1364
+ }
1365
+
1366
+ /**
1367
+ * BlockComponent findFirst
1368
+ */
1369
+ export type BlockComponentFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1370
+ /**
1371
+ * Select specific fields to fetch from the BlockComponent
1372
+ */
1373
+ select?: Prisma.BlockComponentSelect<ExtArgs> | null
1374
+ /**
1375
+ * Omit specific fields from the BlockComponent
1376
+ */
1377
+ omit?: Prisma.BlockComponentOmit<ExtArgs> | null
1378
+ /**
1379
+ * Choose, which related nodes to fetch as well
1380
+ */
1381
+ include?: Prisma.BlockComponentInclude<ExtArgs> | null
1382
+ /**
1383
+ * Filter, which BlockComponent to fetch.
1384
+ */
1385
+ where?: Prisma.BlockComponentWhereInput
1386
+ /**
1387
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1388
+ *
1389
+ * Determine the order of BlockComponents to fetch.
1390
+ */
1391
+ orderBy?: Prisma.BlockComponentOrderByWithRelationInput | Prisma.BlockComponentOrderByWithRelationInput[]
1392
+ /**
1393
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1394
+ *
1395
+ * Sets the position for searching for BlockComponents.
1396
+ */
1397
+ cursor?: Prisma.BlockComponentWhereUniqueInput
1398
+ /**
1399
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1400
+ *
1401
+ * Take `±n` BlockComponents from the position of the cursor.
1402
+ */
1403
+ take?: number
1404
+ /**
1405
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1406
+ *
1407
+ * Skip the first `n` BlockComponents.
1408
+ */
1409
+ skip?: number
1410
+ /**
1411
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1412
+ *
1413
+ * Filter by unique combinations of BlockComponents.
1414
+ */
1415
+ distinct?: Prisma.BlockComponentScalarFieldEnum | Prisma.BlockComponentScalarFieldEnum[]
1416
+ }
1417
+
1418
+ /**
1419
+ * BlockComponent findFirstOrThrow
1420
+ */
1421
+ export type BlockComponentFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1422
+ /**
1423
+ * Select specific fields to fetch from the BlockComponent
1424
+ */
1425
+ select?: Prisma.BlockComponentSelect<ExtArgs> | null
1426
+ /**
1427
+ * Omit specific fields from the BlockComponent
1428
+ */
1429
+ omit?: Prisma.BlockComponentOmit<ExtArgs> | null
1430
+ /**
1431
+ * Choose, which related nodes to fetch as well
1432
+ */
1433
+ include?: Prisma.BlockComponentInclude<ExtArgs> | null
1434
+ /**
1435
+ * Filter, which BlockComponent to fetch.
1436
+ */
1437
+ where?: Prisma.BlockComponentWhereInput
1438
+ /**
1439
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1440
+ *
1441
+ * Determine the order of BlockComponents to fetch.
1442
+ */
1443
+ orderBy?: Prisma.BlockComponentOrderByWithRelationInput | Prisma.BlockComponentOrderByWithRelationInput[]
1444
+ /**
1445
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1446
+ *
1447
+ * Sets the position for searching for BlockComponents.
1448
+ */
1449
+ cursor?: Prisma.BlockComponentWhereUniqueInput
1450
+ /**
1451
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1452
+ *
1453
+ * Take `±n` BlockComponents from the position of the cursor.
1454
+ */
1455
+ take?: number
1456
+ /**
1457
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1458
+ *
1459
+ * Skip the first `n` BlockComponents.
1460
+ */
1461
+ skip?: number
1462
+ /**
1463
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1464
+ *
1465
+ * Filter by unique combinations of BlockComponents.
1466
+ */
1467
+ distinct?: Prisma.BlockComponentScalarFieldEnum | Prisma.BlockComponentScalarFieldEnum[]
1468
+ }
1469
+
1470
+ /**
1471
+ * BlockComponent findMany
1472
+ */
1473
+ export type BlockComponentFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1474
+ /**
1475
+ * Select specific fields to fetch from the BlockComponent
1476
+ */
1477
+ select?: Prisma.BlockComponentSelect<ExtArgs> | null
1478
+ /**
1479
+ * Omit specific fields from the BlockComponent
1480
+ */
1481
+ omit?: Prisma.BlockComponentOmit<ExtArgs> | null
1482
+ /**
1483
+ * Choose, which related nodes to fetch as well
1484
+ */
1485
+ include?: Prisma.BlockComponentInclude<ExtArgs> | null
1486
+ /**
1487
+ * Filter, which BlockComponents to fetch.
1488
+ */
1489
+ where?: Prisma.BlockComponentWhereInput
1490
+ /**
1491
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1492
+ *
1493
+ * Determine the order of BlockComponents to fetch.
1494
+ */
1495
+ orderBy?: Prisma.BlockComponentOrderByWithRelationInput | Prisma.BlockComponentOrderByWithRelationInput[]
1496
+ /**
1497
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1498
+ *
1499
+ * Sets the position for listing BlockComponents.
1500
+ */
1501
+ cursor?: Prisma.BlockComponentWhereUniqueInput
1502
+ /**
1503
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1504
+ *
1505
+ * Take `±n` BlockComponents from the position of the cursor.
1506
+ */
1507
+ take?: number
1508
+ /**
1509
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1510
+ *
1511
+ * Skip the first `n` BlockComponents.
1512
+ */
1513
+ skip?: number
1514
+ /**
1515
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1516
+ *
1517
+ * Filter by unique combinations of BlockComponents.
1518
+ */
1519
+ distinct?: Prisma.BlockComponentScalarFieldEnum | Prisma.BlockComponentScalarFieldEnum[]
1520
+ }
1521
+
1522
+ /**
1523
+ * BlockComponent create
1524
+ */
1525
+ export type BlockComponentCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1526
+ /**
1527
+ * Select specific fields to fetch from the BlockComponent
1528
+ */
1529
+ select?: Prisma.BlockComponentSelect<ExtArgs> | null
1530
+ /**
1531
+ * Omit specific fields from the BlockComponent
1532
+ */
1533
+ omit?: Prisma.BlockComponentOmit<ExtArgs> | null
1534
+ /**
1535
+ * Choose, which related nodes to fetch as well
1536
+ */
1537
+ include?: Prisma.BlockComponentInclude<ExtArgs> | null
1538
+ /**
1539
+ * The data needed to create a BlockComponent.
1540
+ */
1541
+ data: Prisma.XOR<Prisma.BlockComponentCreateInput, Prisma.BlockComponentUncheckedCreateInput>
1542
+ }
1543
+
1544
+ /**
1545
+ * BlockComponent createMany
1546
+ */
1547
+ export type BlockComponentCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1548
+ /**
1549
+ * The data used to create many BlockComponents.
1550
+ */
1551
+ data: Prisma.BlockComponentCreateManyInput | Prisma.BlockComponentCreateManyInput[]
1552
+ skipDuplicates?: boolean
1553
+ }
1554
+
1555
+ /**
1556
+ * BlockComponent createManyAndReturn
1557
+ */
1558
+ export type BlockComponentCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1559
+ /**
1560
+ * Select specific fields to fetch from the BlockComponent
1561
+ */
1562
+ select?: Prisma.BlockComponentSelectCreateManyAndReturn<ExtArgs> | null
1563
+ /**
1564
+ * Omit specific fields from the BlockComponent
1565
+ */
1566
+ omit?: Prisma.BlockComponentOmit<ExtArgs> | null
1567
+ /**
1568
+ * The data used to create many BlockComponents.
1569
+ */
1570
+ data: Prisma.BlockComponentCreateManyInput | Prisma.BlockComponentCreateManyInput[]
1571
+ skipDuplicates?: boolean
1572
+ /**
1573
+ * Choose, which related nodes to fetch as well
1574
+ */
1575
+ include?: Prisma.BlockComponentIncludeCreateManyAndReturn<ExtArgs> | null
1576
+ }
1577
+
1578
+ /**
1579
+ * BlockComponent update
1580
+ */
1581
+ export type BlockComponentUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1582
+ /**
1583
+ * Select specific fields to fetch from the BlockComponent
1584
+ */
1585
+ select?: Prisma.BlockComponentSelect<ExtArgs> | null
1586
+ /**
1587
+ * Omit specific fields from the BlockComponent
1588
+ */
1589
+ omit?: Prisma.BlockComponentOmit<ExtArgs> | null
1590
+ /**
1591
+ * Choose, which related nodes to fetch as well
1592
+ */
1593
+ include?: Prisma.BlockComponentInclude<ExtArgs> | null
1594
+ /**
1595
+ * The data needed to update a BlockComponent.
1596
+ */
1597
+ data: Prisma.XOR<Prisma.BlockComponentUpdateInput, Prisma.BlockComponentUncheckedUpdateInput>
1598
+ /**
1599
+ * Choose, which BlockComponent to update.
1600
+ */
1601
+ where: Prisma.BlockComponentWhereUniqueInput
1602
+ }
1603
+
1604
+ /**
1605
+ * BlockComponent updateMany
1606
+ */
1607
+ export type BlockComponentUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1608
+ /**
1609
+ * The data used to update BlockComponents.
1610
+ */
1611
+ data: Prisma.XOR<Prisma.BlockComponentUpdateManyMutationInput, Prisma.BlockComponentUncheckedUpdateManyInput>
1612
+ /**
1613
+ * Filter which BlockComponents to update
1614
+ */
1615
+ where?: Prisma.BlockComponentWhereInput
1616
+ /**
1617
+ * Limit how many BlockComponents to update.
1618
+ */
1619
+ limit?: number
1620
+ }
1621
+
1622
+ /**
1623
+ * BlockComponent updateManyAndReturn
1624
+ */
1625
+ export type BlockComponentUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1626
+ /**
1627
+ * Select specific fields to fetch from the BlockComponent
1628
+ */
1629
+ select?: Prisma.BlockComponentSelectUpdateManyAndReturn<ExtArgs> | null
1630
+ /**
1631
+ * Omit specific fields from the BlockComponent
1632
+ */
1633
+ omit?: Prisma.BlockComponentOmit<ExtArgs> | null
1634
+ /**
1635
+ * The data used to update BlockComponents.
1636
+ */
1637
+ data: Prisma.XOR<Prisma.BlockComponentUpdateManyMutationInput, Prisma.BlockComponentUncheckedUpdateManyInput>
1638
+ /**
1639
+ * Filter which BlockComponents to update
1640
+ */
1641
+ where?: Prisma.BlockComponentWhereInput
1642
+ /**
1643
+ * Limit how many BlockComponents to update.
1644
+ */
1645
+ limit?: number
1646
+ /**
1647
+ * Choose, which related nodes to fetch as well
1648
+ */
1649
+ include?: Prisma.BlockComponentIncludeUpdateManyAndReturn<ExtArgs> | null
1650
+ }
1651
+
1652
+ /**
1653
+ * BlockComponent upsert
1654
+ */
1655
+ export type BlockComponentUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1656
+ /**
1657
+ * Select specific fields to fetch from the BlockComponent
1658
+ */
1659
+ select?: Prisma.BlockComponentSelect<ExtArgs> | null
1660
+ /**
1661
+ * Omit specific fields from the BlockComponent
1662
+ */
1663
+ omit?: Prisma.BlockComponentOmit<ExtArgs> | null
1664
+ /**
1665
+ * Choose, which related nodes to fetch as well
1666
+ */
1667
+ include?: Prisma.BlockComponentInclude<ExtArgs> | null
1668
+ /**
1669
+ * The filter to search for the BlockComponent to update in case it exists.
1670
+ */
1671
+ where: Prisma.BlockComponentWhereUniqueInput
1672
+ /**
1673
+ * In case the BlockComponent found by the `where` argument doesn't exist, create a new BlockComponent with this data.
1674
+ */
1675
+ create: Prisma.XOR<Prisma.BlockComponentCreateInput, Prisma.BlockComponentUncheckedCreateInput>
1676
+ /**
1677
+ * In case the BlockComponent was found with the provided `where` argument, update it with this data.
1678
+ */
1679
+ update: Prisma.XOR<Prisma.BlockComponentUpdateInput, Prisma.BlockComponentUncheckedUpdateInput>
1680
+ }
1681
+
1682
+ /**
1683
+ * BlockComponent delete
1684
+ */
1685
+ export type BlockComponentDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1686
+ /**
1687
+ * Select specific fields to fetch from the BlockComponent
1688
+ */
1689
+ select?: Prisma.BlockComponentSelect<ExtArgs> | null
1690
+ /**
1691
+ * Omit specific fields from the BlockComponent
1692
+ */
1693
+ omit?: Prisma.BlockComponentOmit<ExtArgs> | null
1694
+ /**
1695
+ * Choose, which related nodes to fetch as well
1696
+ */
1697
+ include?: Prisma.BlockComponentInclude<ExtArgs> | null
1698
+ /**
1699
+ * Filter which BlockComponent to delete.
1700
+ */
1701
+ where: Prisma.BlockComponentWhereUniqueInput
1702
+ }
1703
+
1704
+ /**
1705
+ * BlockComponent deleteMany
1706
+ */
1707
+ export type BlockComponentDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1708
+ /**
1709
+ * Filter which BlockComponents to delete
1710
+ */
1711
+ where?: Prisma.BlockComponentWhereInput
1712
+ /**
1713
+ * Limit how many BlockComponents to delete.
1714
+ */
1715
+ limit?: number
1716
+ }
1717
+
1718
+ /**
1719
+ * BlockComponent without action
1720
+ */
1721
+ export type BlockComponentDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1722
+ /**
1723
+ * Select specific fields to fetch from the BlockComponent
1724
+ */
1725
+ select?: Prisma.BlockComponentSelect<ExtArgs> | null
1726
+ /**
1727
+ * Omit specific fields from the BlockComponent
1728
+ */
1729
+ omit?: Prisma.BlockComponentOmit<ExtArgs> | null
1730
+ /**
1731
+ * Choose, which related nodes to fetch as well
1732
+ */
1733
+ include?: Prisma.BlockComponentInclude<ExtArgs> | null
1734
+ }