@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,1730 @@
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
+ }
612
+
613
+ export type BlockComponentUpsertWithWhereUniqueWithoutComponentInput = {
614
+ where: Prisma.BlockComponentWhereUniqueInput
615
+ update: Prisma.XOR<Prisma.BlockComponentUpdateWithoutComponentInput, Prisma.BlockComponentUncheckedUpdateWithoutComponentInput>
616
+ create: Prisma.XOR<Prisma.BlockComponentCreateWithoutComponentInput, Prisma.BlockComponentUncheckedCreateWithoutComponentInput>
617
+ }
618
+
619
+ export type BlockComponentUpdateWithWhereUniqueWithoutComponentInput = {
620
+ where: Prisma.BlockComponentWhereUniqueInput
621
+ data: Prisma.XOR<Prisma.BlockComponentUpdateWithoutComponentInput, Prisma.BlockComponentUncheckedUpdateWithoutComponentInput>
622
+ }
623
+
624
+ export type BlockComponentUpdateManyWithWhereWithoutComponentInput = {
625
+ where: Prisma.BlockComponentScalarWhereInput
626
+ data: Prisma.XOR<Prisma.BlockComponentUpdateManyMutationInput, Prisma.BlockComponentUncheckedUpdateManyWithoutComponentInput>
627
+ }
628
+
629
+ export type BlockComponentScalarWhereInput = {
630
+ AND?: Prisma.BlockComponentScalarWhereInput | Prisma.BlockComponentScalarWhereInput[]
631
+ OR?: Prisma.BlockComponentScalarWhereInput[]
632
+ NOT?: Prisma.BlockComponentScalarWhereInput | Prisma.BlockComponentScalarWhereInput[]
633
+ id?: Prisma.StringFilter<"BlockComponent"> | string
634
+ blockId?: Prisma.StringFilter<"BlockComponent"> | string
635
+ componentId?: Prisma.StringFilter<"BlockComponent"> | string
636
+ x?: Prisma.FloatFilter<"BlockComponent"> | number
637
+ y?: Prisma.FloatFilter<"BlockComponent"> | number
638
+ width?: Prisma.FloatFilter<"BlockComponent"> | number
639
+ height?: Prisma.FloatFilter<"BlockComponent"> | number
640
+ zIndex?: Prisma.IntFilter<"BlockComponent"> | number
641
+ propsOverride?: Prisma.JsonNullableFilter<"BlockComponent">
642
+ styleOverride?: Prisma.JsonNullableFilter<"BlockComponent">
643
+ }
644
+
645
+ export type BlockComponentCreateWithoutBlockInput = {
646
+ id?: string
647
+ x?: number
648
+ y?: number
649
+ width?: number
650
+ height?: number
651
+ zIndex?: number
652
+ propsOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
653
+ styleOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
654
+ component: Prisma.ComponentCreateNestedOneWithoutBlockItemsInput
655
+ }
656
+
657
+ export type BlockComponentUncheckedCreateWithoutBlockInput = {
658
+ id?: string
659
+ componentId: string
660
+ x?: number
661
+ y?: number
662
+ width?: number
663
+ height?: number
664
+ zIndex?: number
665
+ propsOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
666
+ styleOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
667
+ }
668
+
669
+ export type BlockComponentCreateOrConnectWithoutBlockInput = {
670
+ where: Prisma.BlockComponentWhereUniqueInput
671
+ create: Prisma.XOR<Prisma.BlockComponentCreateWithoutBlockInput, Prisma.BlockComponentUncheckedCreateWithoutBlockInput>
672
+ }
673
+
674
+ export type BlockComponentCreateManyBlockInputEnvelope = {
675
+ data: Prisma.BlockComponentCreateManyBlockInput | Prisma.BlockComponentCreateManyBlockInput[]
676
+ }
677
+
678
+ export type BlockComponentUpsertWithWhereUniqueWithoutBlockInput = {
679
+ where: Prisma.BlockComponentWhereUniqueInput
680
+ update: Prisma.XOR<Prisma.BlockComponentUpdateWithoutBlockInput, Prisma.BlockComponentUncheckedUpdateWithoutBlockInput>
681
+ create: Prisma.XOR<Prisma.BlockComponentCreateWithoutBlockInput, Prisma.BlockComponentUncheckedCreateWithoutBlockInput>
682
+ }
683
+
684
+ export type BlockComponentUpdateWithWhereUniqueWithoutBlockInput = {
685
+ where: Prisma.BlockComponentWhereUniqueInput
686
+ data: Prisma.XOR<Prisma.BlockComponentUpdateWithoutBlockInput, Prisma.BlockComponentUncheckedUpdateWithoutBlockInput>
687
+ }
688
+
689
+ export type BlockComponentUpdateManyWithWhereWithoutBlockInput = {
690
+ where: Prisma.BlockComponentScalarWhereInput
691
+ data: Prisma.XOR<Prisma.BlockComponentUpdateManyMutationInput, Prisma.BlockComponentUncheckedUpdateManyWithoutBlockInput>
692
+ }
693
+
694
+ export type BlockComponentCreateManyComponentInput = {
695
+ id?: string
696
+ blockId: string
697
+ x?: number
698
+ y?: number
699
+ width?: number
700
+ height?: number
701
+ zIndex?: number
702
+ propsOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
703
+ styleOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
704
+ }
705
+
706
+ export type BlockComponentUpdateWithoutComponentInput = {
707
+ id?: Prisma.StringFieldUpdateOperationsInput | string
708
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
709
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
710
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
711
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
712
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
713
+ propsOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
714
+ styleOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
715
+ block?: Prisma.BlockUpdateOneRequiredWithoutItemsNestedInput
716
+ }
717
+
718
+ export type BlockComponentUncheckedUpdateWithoutComponentInput = {
719
+ id?: Prisma.StringFieldUpdateOperationsInput | string
720
+ blockId?: Prisma.StringFieldUpdateOperationsInput | string
721
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
722
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
723
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
724
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
725
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
726
+ propsOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
727
+ styleOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
728
+ }
729
+
730
+ export type BlockComponentUncheckedUpdateManyWithoutComponentInput = {
731
+ id?: Prisma.StringFieldUpdateOperationsInput | string
732
+ blockId?: Prisma.StringFieldUpdateOperationsInput | string
733
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
734
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
735
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
736
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
737
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
738
+ propsOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
739
+ styleOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
740
+ }
741
+
742
+ export type BlockComponentCreateManyBlockInput = {
743
+ id?: string
744
+ componentId: string
745
+ x?: number
746
+ y?: number
747
+ width?: number
748
+ height?: number
749
+ zIndex?: number
750
+ propsOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
751
+ styleOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
752
+ }
753
+
754
+ export type BlockComponentUpdateWithoutBlockInput = {
755
+ id?: Prisma.StringFieldUpdateOperationsInput | string
756
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
757
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
758
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
759
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
760
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
761
+ propsOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
762
+ styleOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
763
+ component?: Prisma.ComponentUpdateOneRequiredWithoutBlockItemsNestedInput
764
+ }
765
+
766
+ export type BlockComponentUncheckedUpdateWithoutBlockInput = {
767
+ id?: Prisma.StringFieldUpdateOperationsInput | string
768
+ componentId?: Prisma.StringFieldUpdateOperationsInput | string
769
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
770
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
771
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
772
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
773
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
774
+ propsOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
775
+ styleOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
776
+ }
777
+
778
+ export type BlockComponentUncheckedUpdateManyWithoutBlockInput = {
779
+ id?: Prisma.StringFieldUpdateOperationsInput | string
780
+ componentId?: Prisma.StringFieldUpdateOperationsInput | string
781
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
782
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
783
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
784
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
785
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
786
+ propsOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
787
+ styleOverride?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
788
+ }
789
+
790
+
791
+
792
+ export type BlockComponentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
793
+ id?: boolean
794
+ blockId?: boolean
795
+ componentId?: boolean
796
+ x?: boolean
797
+ y?: boolean
798
+ width?: boolean
799
+ height?: boolean
800
+ zIndex?: boolean
801
+ propsOverride?: boolean
802
+ styleOverride?: boolean
803
+ block?: boolean | Prisma.BlockDefaultArgs<ExtArgs>
804
+ component?: boolean | Prisma.ComponentDefaultArgs<ExtArgs>
805
+ }, ExtArgs["result"]["blockComponent"]>
806
+
807
+ export type BlockComponentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
808
+ id?: boolean
809
+ blockId?: boolean
810
+ componentId?: boolean
811
+ x?: boolean
812
+ y?: boolean
813
+ width?: boolean
814
+ height?: boolean
815
+ zIndex?: boolean
816
+ propsOverride?: boolean
817
+ styleOverride?: boolean
818
+ block?: boolean | Prisma.BlockDefaultArgs<ExtArgs>
819
+ component?: boolean | Prisma.ComponentDefaultArgs<ExtArgs>
820
+ }, ExtArgs["result"]["blockComponent"]>
821
+
822
+ export type BlockComponentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
823
+ id?: boolean
824
+ blockId?: boolean
825
+ componentId?: boolean
826
+ x?: boolean
827
+ y?: boolean
828
+ width?: boolean
829
+ height?: boolean
830
+ zIndex?: boolean
831
+ propsOverride?: boolean
832
+ styleOverride?: boolean
833
+ block?: boolean | Prisma.BlockDefaultArgs<ExtArgs>
834
+ component?: boolean | Prisma.ComponentDefaultArgs<ExtArgs>
835
+ }, ExtArgs["result"]["blockComponent"]>
836
+
837
+ export type BlockComponentSelectScalar = {
838
+ id?: boolean
839
+ blockId?: boolean
840
+ componentId?: boolean
841
+ x?: boolean
842
+ y?: boolean
843
+ width?: boolean
844
+ height?: boolean
845
+ zIndex?: boolean
846
+ propsOverride?: boolean
847
+ styleOverride?: boolean
848
+ }
849
+
850
+ 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"]>
851
+ export type BlockComponentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
852
+ block?: boolean | Prisma.BlockDefaultArgs<ExtArgs>
853
+ component?: boolean | Prisma.ComponentDefaultArgs<ExtArgs>
854
+ }
855
+ export type BlockComponentIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
856
+ block?: boolean | Prisma.BlockDefaultArgs<ExtArgs>
857
+ component?: boolean | Prisma.ComponentDefaultArgs<ExtArgs>
858
+ }
859
+ export type BlockComponentIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
860
+ block?: boolean | Prisma.BlockDefaultArgs<ExtArgs>
861
+ component?: boolean | Prisma.ComponentDefaultArgs<ExtArgs>
862
+ }
863
+
864
+ export type $BlockComponentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
865
+ name: "BlockComponent"
866
+ objects: {
867
+ block: Prisma.$BlockPayload<ExtArgs>
868
+ component: Prisma.$ComponentPayload<ExtArgs>
869
+ }
870
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
871
+ id: string
872
+ blockId: string
873
+ componentId: string
874
+ x: number
875
+ y: number
876
+ width: number
877
+ height: number
878
+ zIndex: number
879
+ propsOverride: runtime.JsonValue | null
880
+ styleOverride: runtime.JsonValue | null
881
+ }, ExtArgs["result"]["blockComponent"]>
882
+ composites: {}
883
+ }
884
+
885
+ export type BlockComponentGetPayload<S extends boolean | null | undefined | BlockComponentDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$BlockComponentPayload, S>
886
+
887
+ export type BlockComponentCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
888
+ Omit<BlockComponentFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
889
+ select?: BlockComponentCountAggregateInputType | true
890
+ }
891
+
892
+ export interface BlockComponentDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
893
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['BlockComponent'], meta: { name: 'BlockComponent' } }
894
+ /**
895
+ * Find zero or one BlockComponent that matches the filter.
896
+ * @param {BlockComponentFindUniqueArgs} args - Arguments to find a BlockComponent
897
+ * @example
898
+ * // Get one BlockComponent
899
+ * const blockComponent = await prisma.blockComponent.findUnique({
900
+ * where: {
901
+ * // ... provide filter here
902
+ * }
903
+ * })
904
+ */
905
+ 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>
906
+
907
+ /**
908
+ * Find one BlockComponent that matches the filter or throw an error with `error.code='P2025'`
909
+ * if no matches were found.
910
+ * @param {BlockComponentFindUniqueOrThrowArgs} args - Arguments to find a BlockComponent
911
+ * @example
912
+ * // Get one BlockComponent
913
+ * const blockComponent = await prisma.blockComponent.findUniqueOrThrow({
914
+ * where: {
915
+ * // ... provide filter here
916
+ * }
917
+ * })
918
+ */
919
+ 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>
920
+
921
+ /**
922
+ * Find the first BlockComponent that matches the filter.
923
+ * Note, that providing `undefined` is treated as the value not being there.
924
+ * Read more here: https://pris.ly/d/null-undefined
925
+ * @param {BlockComponentFindFirstArgs} args - Arguments to find a BlockComponent
926
+ * @example
927
+ * // Get one BlockComponent
928
+ * const blockComponent = await prisma.blockComponent.findFirst({
929
+ * where: {
930
+ * // ... provide filter here
931
+ * }
932
+ * })
933
+ */
934
+ 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>
935
+
936
+ /**
937
+ * Find the first BlockComponent that matches the filter or
938
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
939
+ * Note, that providing `undefined` is treated as the value not being there.
940
+ * Read more here: https://pris.ly/d/null-undefined
941
+ * @param {BlockComponentFindFirstOrThrowArgs} args - Arguments to find a BlockComponent
942
+ * @example
943
+ * // Get one BlockComponent
944
+ * const blockComponent = await prisma.blockComponent.findFirstOrThrow({
945
+ * where: {
946
+ * // ... provide filter here
947
+ * }
948
+ * })
949
+ */
950
+ 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>
951
+
952
+ /**
953
+ * Find zero or more BlockComponents that matches the filter.
954
+ * Note, that providing `undefined` is treated as the value not being there.
955
+ * Read more here: https://pris.ly/d/null-undefined
956
+ * @param {BlockComponentFindManyArgs} args - Arguments to filter and select certain fields only.
957
+ * @example
958
+ * // Get all BlockComponents
959
+ * const blockComponents = await prisma.blockComponent.findMany()
960
+ *
961
+ * // Get first 10 BlockComponents
962
+ * const blockComponents = await prisma.blockComponent.findMany({ take: 10 })
963
+ *
964
+ * // Only select the `id`
965
+ * const blockComponentWithIdOnly = await prisma.blockComponent.findMany({ select: { id: true } })
966
+ *
967
+ */
968
+ findMany<T extends BlockComponentFindManyArgs>(args?: Prisma.SelectSubset<T, BlockComponentFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BlockComponentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
969
+
970
+ /**
971
+ * Create a BlockComponent.
972
+ * @param {BlockComponentCreateArgs} args - Arguments to create a BlockComponent.
973
+ * @example
974
+ * // Create one BlockComponent
975
+ * const BlockComponent = await prisma.blockComponent.create({
976
+ * data: {
977
+ * // ... data to create a BlockComponent
978
+ * }
979
+ * })
980
+ *
981
+ */
982
+ 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>
983
+
984
+ /**
985
+ * Create many BlockComponents.
986
+ * @param {BlockComponentCreateManyArgs} args - Arguments to create many BlockComponents.
987
+ * @example
988
+ * // Create many BlockComponents
989
+ * const blockComponent = await prisma.blockComponent.createMany({
990
+ * data: [
991
+ * // ... provide data here
992
+ * ]
993
+ * })
994
+ *
995
+ */
996
+ createMany<T extends BlockComponentCreateManyArgs>(args?: Prisma.SelectSubset<T, BlockComponentCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
997
+
998
+ /**
999
+ * Create many BlockComponents and returns the data saved in the database.
1000
+ * @param {BlockComponentCreateManyAndReturnArgs} args - Arguments to create many BlockComponents.
1001
+ * @example
1002
+ * // Create many BlockComponents
1003
+ * const blockComponent = await prisma.blockComponent.createManyAndReturn({
1004
+ * data: [
1005
+ * // ... provide data here
1006
+ * ]
1007
+ * })
1008
+ *
1009
+ * // Create many BlockComponents and only return the `id`
1010
+ * const blockComponentWithIdOnly = await prisma.blockComponent.createManyAndReturn({
1011
+ * select: { id: true },
1012
+ * data: [
1013
+ * // ... provide data here
1014
+ * ]
1015
+ * })
1016
+ * Note, that providing `undefined` is treated as the value not being there.
1017
+ * Read more here: https://pris.ly/d/null-undefined
1018
+ *
1019
+ */
1020
+ createManyAndReturn<T extends BlockComponentCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, BlockComponentCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BlockComponentPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1021
+
1022
+ /**
1023
+ * Delete a BlockComponent.
1024
+ * @param {BlockComponentDeleteArgs} args - Arguments to delete one BlockComponent.
1025
+ * @example
1026
+ * // Delete one BlockComponent
1027
+ * const BlockComponent = await prisma.blockComponent.delete({
1028
+ * where: {
1029
+ * // ... filter to delete one BlockComponent
1030
+ * }
1031
+ * })
1032
+ *
1033
+ */
1034
+ 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>
1035
+
1036
+ /**
1037
+ * Update one BlockComponent.
1038
+ * @param {BlockComponentUpdateArgs} args - Arguments to update one BlockComponent.
1039
+ * @example
1040
+ * // Update one BlockComponent
1041
+ * const blockComponent = await prisma.blockComponent.update({
1042
+ * where: {
1043
+ * // ... provide filter here
1044
+ * },
1045
+ * data: {
1046
+ * // ... provide data here
1047
+ * }
1048
+ * })
1049
+ *
1050
+ */
1051
+ 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>
1052
+
1053
+ /**
1054
+ * Delete zero or more BlockComponents.
1055
+ * @param {BlockComponentDeleteManyArgs} args - Arguments to filter BlockComponents to delete.
1056
+ * @example
1057
+ * // Delete a few BlockComponents
1058
+ * const { count } = await prisma.blockComponent.deleteMany({
1059
+ * where: {
1060
+ * // ... provide filter here
1061
+ * }
1062
+ * })
1063
+ *
1064
+ */
1065
+ deleteMany<T extends BlockComponentDeleteManyArgs>(args?: Prisma.SelectSubset<T, BlockComponentDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1066
+
1067
+ /**
1068
+ * Update zero or more BlockComponents.
1069
+ * Note, that providing `undefined` is treated as the value not being there.
1070
+ * Read more here: https://pris.ly/d/null-undefined
1071
+ * @param {BlockComponentUpdateManyArgs} args - Arguments to update one or more rows.
1072
+ * @example
1073
+ * // Update many BlockComponents
1074
+ * const blockComponent = await prisma.blockComponent.updateMany({
1075
+ * where: {
1076
+ * // ... provide filter here
1077
+ * },
1078
+ * data: {
1079
+ * // ... provide data here
1080
+ * }
1081
+ * })
1082
+ *
1083
+ */
1084
+ updateMany<T extends BlockComponentUpdateManyArgs>(args: Prisma.SelectSubset<T, BlockComponentUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1085
+
1086
+ /**
1087
+ * Update zero or more BlockComponents and returns the data updated in the database.
1088
+ * @param {BlockComponentUpdateManyAndReturnArgs} args - Arguments to update many BlockComponents.
1089
+ * @example
1090
+ * // Update many BlockComponents
1091
+ * const blockComponent = await prisma.blockComponent.updateManyAndReturn({
1092
+ * where: {
1093
+ * // ... provide filter here
1094
+ * },
1095
+ * data: [
1096
+ * // ... provide data here
1097
+ * ]
1098
+ * })
1099
+ *
1100
+ * // Update zero or more BlockComponents and only return the `id`
1101
+ * const blockComponentWithIdOnly = await prisma.blockComponent.updateManyAndReturn({
1102
+ * select: { id: true },
1103
+ * where: {
1104
+ * // ... provide filter here
1105
+ * },
1106
+ * data: [
1107
+ * // ... provide data here
1108
+ * ]
1109
+ * })
1110
+ * Note, that providing `undefined` is treated as the value not being there.
1111
+ * Read more here: https://pris.ly/d/null-undefined
1112
+ *
1113
+ */
1114
+ updateManyAndReturn<T extends BlockComponentUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, BlockComponentUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BlockComponentPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1115
+
1116
+ /**
1117
+ * Create or update one BlockComponent.
1118
+ * @param {BlockComponentUpsertArgs} args - Arguments to update or create a BlockComponent.
1119
+ * @example
1120
+ * // Update or create a BlockComponent
1121
+ * const blockComponent = await prisma.blockComponent.upsert({
1122
+ * create: {
1123
+ * // ... data to create a BlockComponent
1124
+ * },
1125
+ * update: {
1126
+ * // ... in case it already exists, update
1127
+ * },
1128
+ * where: {
1129
+ * // ... the filter for the BlockComponent we want to update
1130
+ * }
1131
+ * })
1132
+ */
1133
+ 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>
1134
+
1135
+
1136
+ /**
1137
+ * Count the number of BlockComponents.
1138
+ * Note, that providing `undefined` is treated as the value not being there.
1139
+ * Read more here: https://pris.ly/d/null-undefined
1140
+ * @param {BlockComponentCountArgs} args - Arguments to filter BlockComponents to count.
1141
+ * @example
1142
+ * // Count the number of BlockComponents
1143
+ * const count = await prisma.blockComponent.count({
1144
+ * where: {
1145
+ * // ... the filter for the BlockComponents we want to count
1146
+ * }
1147
+ * })
1148
+ **/
1149
+ count<T extends BlockComponentCountArgs>(
1150
+ args?: Prisma.Subset<T, BlockComponentCountArgs>,
1151
+ ): Prisma.PrismaPromise<
1152
+ T extends runtime.Types.Utils.Record<'select', any>
1153
+ ? T['select'] extends true
1154
+ ? number
1155
+ : Prisma.GetScalarType<T['select'], BlockComponentCountAggregateOutputType>
1156
+ : number
1157
+ >
1158
+
1159
+ /**
1160
+ * Allows you to perform aggregations operations on a BlockComponent.
1161
+ * Note, that providing `undefined` is treated as the value not being there.
1162
+ * Read more here: https://pris.ly/d/null-undefined
1163
+ * @param {BlockComponentAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1164
+ * @example
1165
+ * // Ordered by age ascending
1166
+ * // Where email contains prisma.io
1167
+ * // Limited to the 10 users
1168
+ * const aggregations = await prisma.user.aggregate({
1169
+ * _avg: {
1170
+ * age: true,
1171
+ * },
1172
+ * where: {
1173
+ * email: {
1174
+ * contains: "prisma.io",
1175
+ * },
1176
+ * },
1177
+ * orderBy: {
1178
+ * age: "asc",
1179
+ * },
1180
+ * take: 10,
1181
+ * })
1182
+ **/
1183
+ aggregate<T extends BlockComponentAggregateArgs>(args: Prisma.Subset<T, BlockComponentAggregateArgs>): Prisma.PrismaPromise<GetBlockComponentAggregateType<T>>
1184
+
1185
+ /**
1186
+ * Group by BlockComponent.
1187
+ * Note, that providing `undefined` is treated as the value not being there.
1188
+ * Read more here: https://pris.ly/d/null-undefined
1189
+ * @param {BlockComponentGroupByArgs} args - Group by arguments.
1190
+ * @example
1191
+ * // Group by city, order by createdAt, get count
1192
+ * const result = await prisma.user.groupBy({
1193
+ * by: ['city', 'createdAt'],
1194
+ * orderBy: {
1195
+ * createdAt: true
1196
+ * },
1197
+ * _count: {
1198
+ * _all: true
1199
+ * },
1200
+ * })
1201
+ *
1202
+ **/
1203
+ groupBy<
1204
+ T extends BlockComponentGroupByArgs,
1205
+ HasSelectOrTake extends Prisma.Or<
1206
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1207
+ Prisma.Extends<'take', Prisma.Keys<T>>
1208
+ >,
1209
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1210
+ ? { orderBy: BlockComponentGroupByArgs['orderBy'] }
1211
+ : { orderBy?: BlockComponentGroupByArgs['orderBy'] },
1212
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1213
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1214
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1215
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1216
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1217
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1218
+ InputErrors extends ByEmpty extends Prisma.True
1219
+ ? `Error: "by" must not be empty.`
1220
+ : HavingValid extends Prisma.False
1221
+ ? {
1222
+ [P in HavingFields]: P extends ByFields
1223
+ ? never
1224
+ : P extends string
1225
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1226
+ : [
1227
+ Error,
1228
+ 'Field ',
1229
+ P,
1230
+ ` in "having" needs to be provided in "by"`,
1231
+ ]
1232
+ }[HavingFields]
1233
+ : 'take' extends Prisma.Keys<T>
1234
+ ? 'orderBy' extends Prisma.Keys<T>
1235
+ ? ByValid extends Prisma.True
1236
+ ? {}
1237
+ : {
1238
+ [P in OrderFields]: P extends ByFields
1239
+ ? never
1240
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1241
+ }[OrderFields]
1242
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1243
+ : 'skip' extends Prisma.Keys<T>
1244
+ ? 'orderBy' extends Prisma.Keys<T>
1245
+ ? ByValid extends Prisma.True
1246
+ ? {}
1247
+ : {
1248
+ [P in OrderFields]: P extends ByFields
1249
+ ? never
1250
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1251
+ }[OrderFields]
1252
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1253
+ : ByValid extends Prisma.True
1254
+ ? {}
1255
+ : {
1256
+ [P in OrderFields]: P extends ByFields
1257
+ ? never
1258
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1259
+ }[OrderFields]
1260
+ >(args: Prisma.SubsetIntersection<T, BlockComponentGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetBlockComponentGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1261
+ /**
1262
+ * Fields of the BlockComponent model
1263
+ */
1264
+ readonly fields: BlockComponentFieldRefs;
1265
+ }
1266
+
1267
+ /**
1268
+ * The delegate class that acts as a "Promise-like" for BlockComponent.
1269
+ * Why is this prefixed with `Prisma__`?
1270
+ * Because we want to prevent naming conflicts as mentioned in
1271
+ * https://github.com/prisma/prisma-client-js/issues/707
1272
+ */
1273
+ export interface Prisma__BlockComponentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1274
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1275
+ 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>
1276
+ 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>
1277
+ /**
1278
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1279
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1280
+ * @param onrejected The callback to execute when the Promise is rejected.
1281
+ * @returns A Promise for the completion of which ever callback is executed.
1282
+ */
1283
+ 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>
1284
+ /**
1285
+ * Attaches a callback for only the rejection of the Promise.
1286
+ * @param onrejected The callback to execute when the Promise is rejected.
1287
+ * @returns A Promise for the completion of the callback.
1288
+ */
1289
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1290
+ /**
1291
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1292
+ * resolved value cannot be modified from the callback.
1293
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1294
+ * @returns A Promise for the completion of the callback.
1295
+ */
1296
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1297
+ }
1298
+
1299
+
1300
+
1301
+
1302
+ /**
1303
+ * Fields of the BlockComponent model
1304
+ */
1305
+ export interface BlockComponentFieldRefs {
1306
+ readonly id: Prisma.FieldRef<"BlockComponent", 'String'>
1307
+ readonly blockId: Prisma.FieldRef<"BlockComponent", 'String'>
1308
+ readonly componentId: Prisma.FieldRef<"BlockComponent", 'String'>
1309
+ readonly x: Prisma.FieldRef<"BlockComponent", 'Float'>
1310
+ readonly y: Prisma.FieldRef<"BlockComponent", 'Float'>
1311
+ readonly width: Prisma.FieldRef<"BlockComponent", 'Float'>
1312
+ readonly height: Prisma.FieldRef<"BlockComponent", 'Float'>
1313
+ readonly zIndex: Prisma.FieldRef<"BlockComponent", 'Int'>
1314
+ readonly propsOverride: Prisma.FieldRef<"BlockComponent", 'Json'>
1315
+ readonly styleOverride: Prisma.FieldRef<"BlockComponent", 'Json'>
1316
+ }
1317
+
1318
+
1319
+ // Custom InputTypes
1320
+ /**
1321
+ * BlockComponent findUnique
1322
+ */
1323
+ export type BlockComponentFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1324
+ /**
1325
+ * Select specific fields to fetch from the BlockComponent
1326
+ */
1327
+ select?: Prisma.BlockComponentSelect<ExtArgs> | null
1328
+ /**
1329
+ * Omit specific fields from the BlockComponent
1330
+ */
1331
+ omit?: Prisma.BlockComponentOmit<ExtArgs> | null
1332
+ /**
1333
+ * Choose, which related nodes to fetch as well
1334
+ */
1335
+ include?: Prisma.BlockComponentInclude<ExtArgs> | null
1336
+ /**
1337
+ * Filter, which BlockComponent to fetch.
1338
+ */
1339
+ where: Prisma.BlockComponentWhereUniqueInput
1340
+ }
1341
+
1342
+ /**
1343
+ * BlockComponent findUniqueOrThrow
1344
+ */
1345
+ export type BlockComponentFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1346
+ /**
1347
+ * Select specific fields to fetch from the BlockComponent
1348
+ */
1349
+ select?: Prisma.BlockComponentSelect<ExtArgs> | null
1350
+ /**
1351
+ * Omit specific fields from the BlockComponent
1352
+ */
1353
+ omit?: Prisma.BlockComponentOmit<ExtArgs> | null
1354
+ /**
1355
+ * Choose, which related nodes to fetch as well
1356
+ */
1357
+ include?: Prisma.BlockComponentInclude<ExtArgs> | null
1358
+ /**
1359
+ * Filter, which BlockComponent to fetch.
1360
+ */
1361
+ where: Prisma.BlockComponentWhereUniqueInput
1362
+ }
1363
+
1364
+ /**
1365
+ * BlockComponent findFirst
1366
+ */
1367
+ export type BlockComponentFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1368
+ /**
1369
+ * Select specific fields to fetch from the BlockComponent
1370
+ */
1371
+ select?: Prisma.BlockComponentSelect<ExtArgs> | null
1372
+ /**
1373
+ * Omit specific fields from the BlockComponent
1374
+ */
1375
+ omit?: Prisma.BlockComponentOmit<ExtArgs> | null
1376
+ /**
1377
+ * Choose, which related nodes to fetch as well
1378
+ */
1379
+ include?: Prisma.BlockComponentInclude<ExtArgs> | null
1380
+ /**
1381
+ * Filter, which BlockComponent to fetch.
1382
+ */
1383
+ where?: Prisma.BlockComponentWhereInput
1384
+ /**
1385
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1386
+ *
1387
+ * Determine the order of BlockComponents to fetch.
1388
+ */
1389
+ orderBy?: Prisma.BlockComponentOrderByWithRelationInput | Prisma.BlockComponentOrderByWithRelationInput[]
1390
+ /**
1391
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1392
+ *
1393
+ * Sets the position for searching for BlockComponents.
1394
+ */
1395
+ cursor?: Prisma.BlockComponentWhereUniqueInput
1396
+ /**
1397
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1398
+ *
1399
+ * Take `±n` BlockComponents from the position of the cursor.
1400
+ */
1401
+ take?: number
1402
+ /**
1403
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1404
+ *
1405
+ * Skip the first `n` BlockComponents.
1406
+ */
1407
+ skip?: number
1408
+ /**
1409
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1410
+ *
1411
+ * Filter by unique combinations of BlockComponents.
1412
+ */
1413
+ distinct?: Prisma.BlockComponentScalarFieldEnum | Prisma.BlockComponentScalarFieldEnum[]
1414
+ }
1415
+
1416
+ /**
1417
+ * BlockComponent findFirstOrThrow
1418
+ */
1419
+ export type BlockComponentFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1420
+ /**
1421
+ * Select specific fields to fetch from the BlockComponent
1422
+ */
1423
+ select?: Prisma.BlockComponentSelect<ExtArgs> | null
1424
+ /**
1425
+ * Omit specific fields from the BlockComponent
1426
+ */
1427
+ omit?: Prisma.BlockComponentOmit<ExtArgs> | null
1428
+ /**
1429
+ * Choose, which related nodes to fetch as well
1430
+ */
1431
+ include?: Prisma.BlockComponentInclude<ExtArgs> | null
1432
+ /**
1433
+ * Filter, which BlockComponent to fetch.
1434
+ */
1435
+ where?: Prisma.BlockComponentWhereInput
1436
+ /**
1437
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1438
+ *
1439
+ * Determine the order of BlockComponents to fetch.
1440
+ */
1441
+ orderBy?: Prisma.BlockComponentOrderByWithRelationInput | Prisma.BlockComponentOrderByWithRelationInput[]
1442
+ /**
1443
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1444
+ *
1445
+ * Sets the position for searching for BlockComponents.
1446
+ */
1447
+ cursor?: Prisma.BlockComponentWhereUniqueInput
1448
+ /**
1449
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1450
+ *
1451
+ * Take `±n` BlockComponents from the position of the cursor.
1452
+ */
1453
+ take?: number
1454
+ /**
1455
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1456
+ *
1457
+ * Skip the first `n` BlockComponents.
1458
+ */
1459
+ skip?: number
1460
+ /**
1461
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1462
+ *
1463
+ * Filter by unique combinations of BlockComponents.
1464
+ */
1465
+ distinct?: Prisma.BlockComponentScalarFieldEnum | Prisma.BlockComponentScalarFieldEnum[]
1466
+ }
1467
+
1468
+ /**
1469
+ * BlockComponent findMany
1470
+ */
1471
+ export type BlockComponentFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1472
+ /**
1473
+ * Select specific fields to fetch from the BlockComponent
1474
+ */
1475
+ select?: Prisma.BlockComponentSelect<ExtArgs> | null
1476
+ /**
1477
+ * Omit specific fields from the BlockComponent
1478
+ */
1479
+ omit?: Prisma.BlockComponentOmit<ExtArgs> | null
1480
+ /**
1481
+ * Choose, which related nodes to fetch as well
1482
+ */
1483
+ include?: Prisma.BlockComponentInclude<ExtArgs> | null
1484
+ /**
1485
+ * Filter, which BlockComponents to fetch.
1486
+ */
1487
+ where?: Prisma.BlockComponentWhereInput
1488
+ /**
1489
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1490
+ *
1491
+ * Determine the order of BlockComponents to fetch.
1492
+ */
1493
+ orderBy?: Prisma.BlockComponentOrderByWithRelationInput | Prisma.BlockComponentOrderByWithRelationInput[]
1494
+ /**
1495
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1496
+ *
1497
+ * Sets the position for listing BlockComponents.
1498
+ */
1499
+ cursor?: Prisma.BlockComponentWhereUniqueInput
1500
+ /**
1501
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1502
+ *
1503
+ * Take `±n` BlockComponents from the position of the cursor.
1504
+ */
1505
+ take?: number
1506
+ /**
1507
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1508
+ *
1509
+ * Skip the first `n` BlockComponents.
1510
+ */
1511
+ skip?: number
1512
+ /**
1513
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1514
+ *
1515
+ * Filter by unique combinations of BlockComponents.
1516
+ */
1517
+ distinct?: Prisma.BlockComponentScalarFieldEnum | Prisma.BlockComponentScalarFieldEnum[]
1518
+ }
1519
+
1520
+ /**
1521
+ * BlockComponent create
1522
+ */
1523
+ export type BlockComponentCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1524
+ /**
1525
+ * Select specific fields to fetch from the BlockComponent
1526
+ */
1527
+ select?: Prisma.BlockComponentSelect<ExtArgs> | null
1528
+ /**
1529
+ * Omit specific fields from the BlockComponent
1530
+ */
1531
+ omit?: Prisma.BlockComponentOmit<ExtArgs> | null
1532
+ /**
1533
+ * Choose, which related nodes to fetch as well
1534
+ */
1535
+ include?: Prisma.BlockComponentInclude<ExtArgs> | null
1536
+ /**
1537
+ * The data needed to create a BlockComponent.
1538
+ */
1539
+ data: Prisma.XOR<Prisma.BlockComponentCreateInput, Prisma.BlockComponentUncheckedCreateInput>
1540
+ }
1541
+
1542
+ /**
1543
+ * BlockComponent createMany
1544
+ */
1545
+ export type BlockComponentCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1546
+ /**
1547
+ * The data used to create many BlockComponents.
1548
+ */
1549
+ data: Prisma.BlockComponentCreateManyInput | Prisma.BlockComponentCreateManyInput[]
1550
+ }
1551
+
1552
+ /**
1553
+ * BlockComponent createManyAndReturn
1554
+ */
1555
+ export type BlockComponentCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1556
+ /**
1557
+ * Select specific fields to fetch from the BlockComponent
1558
+ */
1559
+ select?: Prisma.BlockComponentSelectCreateManyAndReturn<ExtArgs> | null
1560
+ /**
1561
+ * Omit specific fields from the BlockComponent
1562
+ */
1563
+ omit?: Prisma.BlockComponentOmit<ExtArgs> | null
1564
+ /**
1565
+ * The data used to create many BlockComponents.
1566
+ */
1567
+ data: Prisma.BlockComponentCreateManyInput | Prisma.BlockComponentCreateManyInput[]
1568
+ /**
1569
+ * Choose, which related nodes to fetch as well
1570
+ */
1571
+ include?: Prisma.BlockComponentIncludeCreateManyAndReturn<ExtArgs> | null
1572
+ }
1573
+
1574
+ /**
1575
+ * BlockComponent update
1576
+ */
1577
+ export type BlockComponentUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1578
+ /**
1579
+ * Select specific fields to fetch from the BlockComponent
1580
+ */
1581
+ select?: Prisma.BlockComponentSelect<ExtArgs> | null
1582
+ /**
1583
+ * Omit specific fields from the BlockComponent
1584
+ */
1585
+ omit?: Prisma.BlockComponentOmit<ExtArgs> | null
1586
+ /**
1587
+ * Choose, which related nodes to fetch as well
1588
+ */
1589
+ include?: Prisma.BlockComponentInclude<ExtArgs> | null
1590
+ /**
1591
+ * The data needed to update a BlockComponent.
1592
+ */
1593
+ data: Prisma.XOR<Prisma.BlockComponentUpdateInput, Prisma.BlockComponentUncheckedUpdateInput>
1594
+ /**
1595
+ * Choose, which BlockComponent to update.
1596
+ */
1597
+ where: Prisma.BlockComponentWhereUniqueInput
1598
+ }
1599
+
1600
+ /**
1601
+ * BlockComponent updateMany
1602
+ */
1603
+ export type BlockComponentUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1604
+ /**
1605
+ * The data used to update BlockComponents.
1606
+ */
1607
+ data: Prisma.XOR<Prisma.BlockComponentUpdateManyMutationInput, Prisma.BlockComponentUncheckedUpdateManyInput>
1608
+ /**
1609
+ * Filter which BlockComponents to update
1610
+ */
1611
+ where?: Prisma.BlockComponentWhereInput
1612
+ /**
1613
+ * Limit how many BlockComponents to update.
1614
+ */
1615
+ limit?: number
1616
+ }
1617
+
1618
+ /**
1619
+ * BlockComponent updateManyAndReturn
1620
+ */
1621
+ export type BlockComponentUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1622
+ /**
1623
+ * Select specific fields to fetch from the BlockComponent
1624
+ */
1625
+ select?: Prisma.BlockComponentSelectUpdateManyAndReturn<ExtArgs> | null
1626
+ /**
1627
+ * Omit specific fields from the BlockComponent
1628
+ */
1629
+ omit?: Prisma.BlockComponentOmit<ExtArgs> | null
1630
+ /**
1631
+ * The data used to update BlockComponents.
1632
+ */
1633
+ data: Prisma.XOR<Prisma.BlockComponentUpdateManyMutationInput, Prisma.BlockComponentUncheckedUpdateManyInput>
1634
+ /**
1635
+ * Filter which BlockComponents to update
1636
+ */
1637
+ where?: Prisma.BlockComponentWhereInput
1638
+ /**
1639
+ * Limit how many BlockComponents to update.
1640
+ */
1641
+ limit?: number
1642
+ /**
1643
+ * Choose, which related nodes to fetch as well
1644
+ */
1645
+ include?: Prisma.BlockComponentIncludeUpdateManyAndReturn<ExtArgs> | null
1646
+ }
1647
+
1648
+ /**
1649
+ * BlockComponent upsert
1650
+ */
1651
+ export type BlockComponentUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1652
+ /**
1653
+ * Select specific fields to fetch from the BlockComponent
1654
+ */
1655
+ select?: Prisma.BlockComponentSelect<ExtArgs> | null
1656
+ /**
1657
+ * Omit specific fields from the BlockComponent
1658
+ */
1659
+ omit?: Prisma.BlockComponentOmit<ExtArgs> | null
1660
+ /**
1661
+ * Choose, which related nodes to fetch as well
1662
+ */
1663
+ include?: Prisma.BlockComponentInclude<ExtArgs> | null
1664
+ /**
1665
+ * The filter to search for the BlockComponent to update in case it exists.
1666
+ */
1667
+ where: Prisma.BlockComponentWhereUniqueInput
1668
+ /**
1669
+ * In case the BlockComponent found by the `where` argument doesn't exist, create a new BlockComponent with this data.
1670
+ */
1671
+ create: Prisma.XOR<Prisma.BlockComponentCreateInput, Prisma.BlockComponentUncheckedCreateInput>
1672
+ /**
1673
+ * In case the BlockComponent was found with the provided `where` argument, update it with this data.
1674
+ */
1675
+ update: Prisma.XOR<Prisma.BlockComponentUpdateInput, Prisma.BlockComponentUncheckedUpdateInput>
1676
+ }
1677
+
1678
+ /**
1679
+ * BlockComponent delete
1680
+ */
1681
+ export type BlockComponentDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1682
+ /**
1683
+ * Select specific fields to fetch from the BlockComponent
1684
+ */
1685
+ select?: Prisma.BlockComponentSelect<ExtArgs> | null
1686
+ /**
1687
+ * Omit specific fields from the BlockComponent
1688
+ */
1689
+ omit?: Prisma.BlockComponentOmit<ExtArgs> | null
1690
+ /**
1691
+ * Choose, which related nodes to fetch as well
1692
+ */
1693
+ include?: Prisma.BlockComponentInclude<ExtArgs> | null
1694
+ /**
1695
+ * Filter which BlockComponent to delete.
1696
+ */
1697
+ where: Prisma.BlockComponentWhereUniqueInput
1698
+ }
1699
+
1700
+ /**
1701
+ * BlockComponent deleteMany
1702
+ */
1703
+ export type BlockComponentDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1704
+ /**
1705
+ * Filter which BlockComponents to delete
1706
+ */
1707
+ where?: Prisma.BlockComponentWhereInput
1708
+ /**
1709
+ * Limit how many BlockComponents to delete.
1710
+ */
1711
+ limit?: number
1712
+ }
1713
+
1714
+ /**
1715
+ * BlockComponent without action
1716
+ */
1717
+ export type BlockComponentDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1718
+ /**
1719
+ * Select specific fields to fetch from the BlockComponent
1720
+ */
1721
+ select?: Prisma.BlockComponentSelect<ExtArgs> | null
1722
+ /**
1723
+ * Omit specific fields from the BlockComponent
1724
+ */
1725
+ omit?: Prisma.BlockComponentOmit<ExtArgs> | null
1726
+ /**
1727
+ * Choose, which related nodes to fetch as well
1728
+ */
1729
+ include?: Prisma.BlockComponentInclude<ExtArgs> | null
1730
+ }