@allbluecn/database 0.4.0 → 0.4.1

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,2043 @@
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 `BlockInstance` 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 BlockInstance
17
+ *
18
+ */
19
+ export type BlockInstanceModel = runtime.Types.Result.DefaultSelection<Prisma.$BlockInstancePayload>
20
+
21
+ export type AggregateBlockInstance = {
22
+ _count: BlockInstanceCountAggregateOutputType | null
23
+ _avg: BlockInstanceAvgAggregateOutputType | null
24
+ _sum: BlockInstanceSumAggregateOutputType | null
25
+ _min: BlockInstanceMinAggregateOutputType | null
26
+ _max: BlockInstanceMaxAggregateOutputType | null
27
+ }
28
+
29
+ export type BlockInstanceAvgAggregateOutputType = {
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 BlockInstanceSumAggregateOutputType = {
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 BlockInstanceMinAggregateOutputType = {
46
+ id: string | null
47
+ pageId: string | null
48
+ blockId: string | null
49
+ name: string | null
50
+ x: number | null
51
+ y: number | null
52
+ width: number | null
53
+ height: number | null
54
+ zIndex: number | null
55
+ createdAt: Date | null
56
+ updatedAt: Date | null
57
+ }
58
+
59
+ export type BlockInstanceMaxAggregateOutputType = {
60
+ id: string | null
61
+ pageId: string | null
62
+ blockId: string | null
63
+ name: string | null
64
+ x: number | null
65
+ y: number | null
66
+ width: number | null
67
+ height: number | null
68
+ zIndex: number | null
69
+ createdAt: Date | null
70
+ updatedAt: Date | null
71
+ }
72
+
73
+ export type BlockInstanceCountAggregateOutputType = {
74
+ id: number
75
+ pageId: number
76
+ blockId: number
77
+ name: number
78
+ x: number
79
+ y: number
80
+ width: number
81
+ height: number
82
+ zIndex: number
83
+ props: number
84
+ style: number
85
+ createdAt: number
86
+ updatedAt: number
87
+ _all: number
88
+ }
89
+
90
+
91
+ export type BlockInstanceAvgAggregateInputType = {
92
+ x?: true
93
+ y?: true
94
+ width?: true
95
+ height?: true
96
+ zIndex?: true
97
+ }
98
+
99
+ export type BlockInstanceSumAggregateInputType = {
100
+ x?: true
101
+ y?: true
102
+ width?: true
103
+ height?: true
104
+ zIndex?: true
105
+ }
106
+
107
+ export type BlockInstanceMinAggregateInputType = {
108
+ id?: true
109
+ pageId?: true
110
+ blockId?: true
111
+ name?: true
112
+ x?: true
113
+ y?: true
114
+ width?: true
115
+ height?: true
116
+ zIndex?: true
117
+ createdAt?: true
118
+ updatedAt?: true
119
+ }
120
+
121
+ export type BlockInstanceMaxAggregateInputType = {
122
+ id?: true
123
+ pageId?: true
124
+ blockId?: true
125
+ name?: true
126
+ x?: true
127
+ y?: true
128
+ width?: true
129
+ height?: true
130
+ zIndex?: true
131
+ createdAt?: true
132
+ updatedAt?: true
133
+ }
134
+
135
+ export type BlockInstanceCountAggregateInputType = {
136
+ id?: true
137
+ pageId?: true
138
+ blockId?: true
139
+ name?: true
140
+ x?: true
141
+ y?: true
142
+ width?: true
143
+ height?: true
144
+ zIndex?: true
145
+ props?: true
146
+ style?: true
147
+ createdAt?: true
148
+ updatedAt?: true
149
+ _all?: true
150
+ }
151
+
152
+ export type BlockInstanceAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
153
+ /**
154
+ * Filter which BlockInstance to aggregate.
155
+ */
156
+ where?: Prisma.BlockInstanceWhereInput
157
+ /**
158
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
159
+ *
160
+ * Determine the order of BlockInstances to fetch.
161
+ */
162
+ orderBy?: Prisma.BlockInstanceOrderByWithRelationInput | Prisma.BlockInstanceOrderByWithRelationInput[]
163
+ /**
164
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
165
+ *
166
+ * Sets the start position
167
+ */
168
+ cursor?: Prisma.BlockInstanceWhereUniqueInput
169
+ /**
170
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
171
+ *
172
+ * Take `±n` BlockInstances from the position of the cursor.
173
+ */
174
+ take?: number
175
+ /**
176
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
177
+ *
178
+ * Skip the first `n` BlockInstances.
179
+ */
180
+ skip?: number
181
+ /**
182
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
183
+ *
184
+ * Count returned BlockInstances
185
+ **/
186
+ _count?: true | BlockInstanceCountAggregateInputType
187
+ /**
188
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
189
+ *
190
+ * Select which fields to average
191
+ **/
192
+ _avg?: BlockInstanceAvgAggregateInputType
193
+ /**
194
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
195
+ *
196
+ * Select which fields to sum
197
+ **/
198
+ _sum?: BlockInstanceSumAggregateInputType
199
+ /**
200
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
201
+ *
202
+ * Select which fields to find the minimum value
203
+ **/
204
+ _min?: BlockInstanceMinAggregateInputType
205
+ /**
206
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
207
+ *
208
+ * Select which fields to find the maximum value
209
+ **/
210
+ _max?: BlockInstanceMaxAggregateInputType
211
+ }
212
+
213
+ export type GetBlockInstanceAggregateType<T extends BlockInstanceAggregateArgs> = {
214
+ [P in keyof T & keyof AggregateBlockInstance]: P extends '_count' | 'count'
215
+ ? T[P] extends true
216
+ ? number
217
+ : Prisma.GetScalarType<T[P], AggregateBlockInstance[P]>
218
+ : Prisma.GetScalarType<T[P], AggregateBlockInstance[P]>
219
+ }
220
+
221
+
222
+
223
+
224
+ export type BlockInstanceGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
225
+ where?: Prisma.BlockInstanceWhereInput
226
+ orderBy?: Prisma.BlockInstanceOrderByWithAggregationInput | Prisma.BlockInstanceOrderByWithAggregationInput[]
227
+ by: Prisma.BlockInstanceScalarFieldEnum[] | Prisma.BlockInstanceScalarFieldEnum
228
+ having?: Prisma.BlockInstanceScalarWhereWithAggregatesInput
229
+ take?: number
230
+ skip?: number
231
+ _count?: BlockInstanceCountAggregateInputType | true
232
+ _avg?: BlockInstanceAvgAggregateInputType
233
+ _sum?: BlockInstanceSumAggregateInputType
234
+ _min?: BlockInstanceMinAggregateInputType
235
+ _max?: BlockInstanceMaxAggregateInputType
236
+ }
237
+
238
+ export type BlockInstanceGroupByOutputType = {
239
+ id: string
240
+ pageId: string
241
+ blockId: string | null
242
+ name: string | null
243
+ x: number
244
+ y: number
245
+ width: number
246
+ height: number
247
+ zIndex: number
248
+ props: runtime.JsonValue | null
249
+ style: runtime.JsonValue | null
250
+ createdAt: Date
251
+ updatedAt: Date
252
+ _count: BlockInstanceCountAggregateOutputType | null
253
+ _avg: BlockInstanceAvgAggregateOutputType | null
254
+ _sum: BlockInstanceSumAggregateOutputType | null
255
+ _min: BlockInstanceMinAggregateOutputType | null
256
+ _max: BlockInstanceMaxAggregateOutputType | null
257
+ }
258
+
259
+ export type GetBlockInstanceGroupByPayload<T extends BlockInstanceGroupByArgs> = Prisma.PrismaPromise<
260
+ Array<
261
+ Prisma.PickEnumerable<BlockInstanceGroupByOutputType, T['by']> &
262
+ {
263
+ [P in ((keyof T) & (keyof BlockInstanceGroupByOutputType))]: P extends '_count'
264
+ ? T[P] extends boolean
265
+ ? number
266
+ : Prisma.GetScalarType<T[P], BlockInstanceGroupByOutputType[P]>
267
+ : Prisma.GetScalarType<T[P], BlockInstanceGroupByOutputType[P]>
268
+ }
269
+ >
270
+ >
271
+
272
+
273
+
274
+ export type BlockInstanceWhereInput = {
275
+ AND?: Prisma.BlockInstanceWhereInput | Prisma.BlockInstanceWhereInput[]
276
+ OR?: Prisma.BlockInstanceWhereInput[]
277
+ NOT?: Prisma.BlockInstanceWhereInput | Prisma.BlockInstanceWhereInput[]
278
+ id?: Prisma.StringFilter<"BlockInstance"> | string
279
+ pageId?: Prisma.StringFilter<"BlockInstance"> | string
280
+ blockId?: Prisma.StringNullableFilter<"BlockInstance"> | string | null
281
+ name?: Prisma.StringNullableFilter<"BlockInstance"> | string | null
282
+ x?: Prisma.FloatFilter<"BlockInstance"> | number
283
+ y?: Prisma.FloatFilter<"BlockInstance"> | number
284
+ width?: Prisma.FloatFilter<"BlockInstance"> | number
285
+ height?: Prisma.FloatFilter<"BlockInstance"> | number
286
+ zIndex?: Prisma.IntFilter<"BlockInstance"> | number
287
+ props?: Prisma.JsonNullableFilter<"BlockInstance">
288
+ style?: Prisma.JsonNullableFilter<"BlockInstance">
289
+ createdAt?: Prisma.DateTimeFilter<"BlockInstance"> | Date | string
290
+ updatedAt?: Prisma.DateTimeFilter<"BlockInstance"> | Date | string
291
+ page?: Prisma.XOR<Prisma.PRDPageScalarRelationFilter, Prisma.PRDPageWhereInput>
292
+ block?: Prisma.XOR<Prisma.BlockNullableScalarRelationFilter, Prisma.BlockWhereInput> | null
293
+ instances?: Prisma.ComponentInstanceListRelationFilter
294
+ }
295
+
296
+ export type BlockInstanceOrderByWithRelationInput = {
297
+ id?: Prisma.SortOrder
298
+ pageId?: Prisma.SortOrder
299
+ blockId?: Prisma.SortOrderInput | Prisma.SortOrder
300
+ name?: Prisma.SortOrderInput | Prisma.SortOrder
301
+ x?: Prisma.SortOrder
302
+ y?: Prisma.SortOrder
303
+ width?: Prisma.SortOrder
304
+ height?: Prisma.SortOrder
305
+ zIndex?: Prisma.SortOrder
306
+ props?: Prisma.SortOrderInput | Prisma.SortOrder
307
+ style?: Prisma.SortOrderInput | Prisma.SortOrder
308
+ createdAt?: Prisma.SortOrder
309
+ updatedAt?: Prisma.SortOrder
310
+ page?: Prisma.PRDPageOrderByWithRelationInput
311
+ block?: Prisma.BlockOrderByWithRelationInput
312
+ instances?: Prisma.ComponentInstanceOrderByRelationAggregateInput
313
+ }
314
+
315
+ export type BlockInstanceWhereUniqueInput = Prisma.AtLeast<{
316
+ id?: string
317
+ AND?: Prisma.BlockInstanceWhereInput | Prisma.BlockInstanceWhereInput[]
318
+ OR?: Prisma.BlockInstanceWhereInput[]
319
+ NOT?: Prisma.BlockInstanceWhereInput | Prisma.BlockInstanceWhereInput[]
320
+ pageId?: Prisma.StringFilter<"BlockInstance"> | string
321
+ blockId?: Prisma.StringNullableFilter<"BlockInstance"> | string | null
322
+ name?: Prisma.StringNullableFilter<"BlockInstance"> | string | null
323
+ x?: Prisma.FloatFilter<"BlockInstance"> | number
324
+ y?: Prisma.FloatFilter<"BlockInstance"> | number
325
+ width?: Prisma.FloatFilter<"BlockInstance"> | number
326
+ height?: Prisma.FloatFilter<"BlockInstance"> | number
327
+ zIndex?: Prisma.IntFilter<"BlockInstance"> | number
328
+ props?: Prisma.JsonNullableFilter<"BlockInstance">
329
+ style?: Prisma.JsonNullableFilter<"BlockInstance">
330
+ createdAt?: Prisma.DateTimeFilter<"BlockInstance"> | Date | string
331
+ updatedAt?: Prisma.DateTimeFilter<"BlockInstance"> | Date | string
332
+ page?: Prisma.XOR<Prisma.PRDPageScalarRelationFilter, Prisma.PRDPageWhereInput>
333
+ block?: Prisma.XOR<Prisma.BlockNullableScalarRelationFilter, Prisma.BlockWhereInput> | null
334
+ instances?: Prisma.ComponentInstanceListRelationFilter
335
+ }, "id">
336
+
337
+ export type BlockInstanceOrderByWithAggregationInput = {
338
+ id?: Prisma.SortOrder
339
+ pageId?: Prisma.SortOrder
340
+ blockId?: Prisma.SortOrderInput | Prisma.SortOrder
341
+ name?: Prisma.SortOrderInput | Prisma.SortOrder
342
+ x?: Prisma.SortOrder
343
+ y?: Prisma.SortOrder
344
+ width?: Prisma.SortOrder
345
+ height?: Prisma.SortOrder
346
+ zIndex?: Prisma.SortOrder
347
+ props?: Prisma.SortOrderInput | Prisma.SortOrder
348
+ style?: Prisma.SortOrderInput | Prisma.SortOrder
349
+ createdAt?: Prisma.SortOrder
350
+ updatedAt?: Prisma.SortOrder
351
+ _count?: Prisma.BlockInstanceCountOrderByAggregateInput
352
+ _avg?: Prisma.BlockInstanceAvgOrderByAggregateInput
353
+ _max?: Prisma.BlockInstanceMaxOrderByAggregateInput
354
+ _min?: Prisma.BlockInstanceMinOrderByAggregateInput
355
+ _sum?: Prisma.BlockInstanceSumOrderByAggregateInput
356
+ }
357
+
358
+ export type BlockInstanceScalarWhereWithAggregatesInput = {
359
+ AND?: Prisma.BlockInstanceScalarWhereWithAggregatesInput | Prisma.BlockInstanceScalarWhereWithAggregatesInput[]
360
+ OR?: Prisma.BlockInstanceScalarWhereWithAggregatesInput[]
361
+ NOT?: Prisma.BlockInstanceScalarWhereWithAggregatesInput | Prisma.BlockInstanceScalarWhereWithAggregatesInput[]
362
+ id?: Prisma.StringWithAggregatesFilter<"BlockInstance"> | string
363
+ pageId?: Prisma.StringWithAggregatesFilter<"BlockInstance"> | string
364
+ blockId?: Prisma.StringNullableWithAggregatesFilter<"BlockInstance"> | string | null
365
+ name?: Prisma.StringNullableWithAggregatesFilter<"BlockInstance"> | string | null
366
+ x?: Prisma.FloatWithAggregatesFilter<"BlockInstance"> | number
367
+ y?: Prisma.FloatWithAggregatesFilter<"BlockInstance"> | number
368
+ width?: Prisma.FloatWithAggregatesFilter<"BlockInstance"> | number
369
+ height?: Prisma.FloatWithAggregatesFilter<"BlockInstance"> | number
370
+ zIndex?: Prisma.IntWithAggregatesFilter<"BlockInstance"> | number
371
+ props?: Prisma.JsonNullableWithAggregatesFilter<"BlockInstance">
372
+ style?: Prisma.JsonNullableWithAggregatesFilter<"BlockInstance">
373
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"BlockInstance"> | Date | string
374
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"BlockInstance"> | Date | string
375
+ }
376
+
377
+ export type BlockInstanceCreateInput = {
378
+ id?: string
379
+ name?: string | null
380
+ x?: number
381
+ y?: number
382
+ width?: number
383
+ height?: number
384
+ zIndex?: number
385
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
386
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
387
+ createdAt?: Date | string
388
+ updatedAt?: Date | string
389
+ page: Prisma.PRDPageCreateNestedOneWithoutBlockInstancesInput
390
+ block?: Prisma.BlockCreateNestedOneWithoutInstancesInput
391
+ instances?: Prisma.ComponentInstanceCreateNestedManyWithoutBlockInstanceInput
392
+ }
393
+
394
+ export type BlockInstanceUncheckedCreateInput = {
395
+ id?: string
396
+ pageId: string
397
+ blockId?: string | null
398
+ name?: string | null
399
+ x?: number
400
+ y?: number
401
+ width?: number
402
+ height?: number
403
+ zIndex?: number
404
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
405
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
406
+ createdAt?: Date | string
407
+ updatedAt?: Date | string
408
+ instances?: Prisma.ComponentInstanceUncheckedCreateNestedManyWithoutBlockInstanceInput
409
+ }
410
+
411
+ export type BlockInstanceUpdateInput = {
412
+ id?: Prisma.StringFieldUpdateOperationsInput | string
413
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
414
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
415
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
416
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
417
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
418
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
419
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
420
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
421
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
422
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
423
+ page?: Prisma.PRDPageUpdateOneRequiredWithoutBlockInstancesNestedInput
424
+ block?: Prisma.BlockUpdateOneWithoutInstancesNestedInput
425
+ instances?: Prisma.ComponentInstanceUpdateManyWithoutBlockInstanceNestedInput
426
+ }
427
+
428
+ export type BlockInstanceUncheckedUpdateInput = {
429
+ id?: Prisma.StringFieldUpdateOperationsInput | string
430
+ pageId?: Prisma.StringFieldUpdateOperationsInput | string
431
+ blockId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
432
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
433
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
434
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
435
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
436
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
437
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
438
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
439
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
440
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
441
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
442
+ instances?: Prisma.ComponentInstanceUncheckedUpdateManyWithoutBlockInstanceNestedInput
443
+ }
444
+
445
+ export type BlockInstanceCreateManyInput = {
446
+ id?: string
447
+ pageId: string
448
+ blockId?: string | null
449
+ name?: string | null
450
+ x?: number
451
+ y?: number
452
+ width?: number
453
+ height?: number
454
+ zIndex?: number
455
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
456
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
457
+ createdAt?: Date | string
458
+ updatedAt?: Date | string
459
+ }
460
+
461
+ export type BlockInstanceUpdateManyMutationInput = {
462
+ id?: Prisma.StringFieldUpdateOperationsInput | string
463
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
464
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
465
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
466
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
467
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
468
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
469
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
470
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
471
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
472
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
473
+ }
474
+
475
+ export type BlockInstanceUncheckedUpdateManyInput = {
476
+ id?: Prisma.StringFieldUpdateOperationsInput | string
477
+ pageId?: Prisma.StringFieldUpdateOperationsInput | string
478
+ blockId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
479
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
480
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
481
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
482
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
483
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
484
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
485
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
486
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
487
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
488
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
489
+ }
490
+
491
+ export type BlockInstanceListRelationFilter = {
492
+ every?: Prisma.BlockInstanceWhereInput
493
+ some?: Prisma.BlockInstanceWhereInput
494
+ none?: Prisma.BlockInstanceWhereInput
495
+ }
496
+
497
+ export type BlockInstanceOrderByRelationAggregateInput = {
498
+ _count?: Prisma.SortOrder
499
+ }
500
+
501
+ export type BlockInstanceNullableScalarRelationFilter = {
502
+ is?: Prisma.BlockInstanceWhereInput | null
503
+ isNot?: Prisma.BlockInstanceWhereInput | null
504
+ }
505
+
506
+ export type BlockInstanceCountOrderByAggregateInput = {
507
+ id?: Prisma.SortOrder
508
+ pageId?: Prisma.SortOrder
509
+ blockId?: Prisma.SortOrder
510
+ name?: Prisma.SortOrder
511
+ x?: Prisma.SortOrder
512
+ y?: Prisma.SortOrder
513
+ width?: Prisma.SortOrder
514
+ height?: Prisma.SortOrder
515
+ zIndex?: Prisma.SortOrder
516
+ props?: Prisma.SortOrder
517
+ style?: Prisma.SortOrder
518
+ createdAt?: Prisma.SortOrder
519
+ updatedAt?: Prisma.SortOrder
520
+ }
521
+
522
+ export type BlockInstanceAvgOrderByAggregateInput = {
523
+ x?: Prisma.SortOrder
524
+ y?: Prisma.SortOrder
525
+ width?: Prisma.SortOrder
526
+ height?: Prisma.SortOrder
527
+ zIndex?: Prisma.SortOrder
528
+ }
529
+
530
+ export type BlockInstanceMaxOrderByAggregateInput = {
531
+ id?: Prisma.SortOrder
532
+ pageId?: Prisma.SortOrder
533
+ blockId?: Prisma.SortOrder
534
+ name?: Prisma.SortOrder
535
+ x?: Prisma.SortOrder
536
+ y?: Prisma.SortOrder
537
+ width?: Prisma.SortOrder
538
+ height?: Prisma.SortOrder
539
+ zIndex?: Prisma.SortOrder
540
+ createdAt?: Prisma.SortOrder
541
+ updatedAt?: Prisma.SortOrder
542
+ }
543
+
544
+ export type BlockInstanceMinOrderByAggregateInput = {
545
+ id?: Prisma.SortOrder
546
+ pageId?: Prisma.SortOrder
547
+ blockId?: Prisma.SortOrder
548
+ name?: Prisma.SortOrder
549
+ x?: Prisma.SortOrder
550
+ y?: Prisma.SortOrder
551
+ width?: Prisma.SortOrder
552
+ height?: Prisma.SortOrder
553
+ zIndex?: Prisma.SortOrder
554
+ createdAt?: Prisma.SortOrder
555
+ updatedAt?: Prisma.SortOrder
556
+ }
557
+
558
+ export type BlockInstanceSumOrderByAggregateInput = {
559
+ x?: Prisma.SortOrder
560
+ y?: Prisma.SortOrder
561
+ width?: Prisma.SortOrder
562
+ height?: Prisma.SortOrder
563
+ zIndex?: Prisma.SortOrder
564
+ }
565
+
566
+ export type BlockInstanceCreateNestedManyWithoutBlockInput = {
567
+ create?: Prisma.XOR<Prisma.BlockInstanceCreateWithoutBlockInput, Prisma.BlockInstanceUncheckedCreateWithoutBlockInput> | Prisma.BlockInstanceCreateWithoutBlockInput[] | Prisma.BlockInstanceUncheckedCreateWithoutBlockInput[]
568
+ connectOrCreate?: Prisma.BlockInstanceCreateOrConnectWithoutBlockInput | Prisma.BlockInstanceCreateOrConnectWithoutBlockInput[]
569
+ createMany?: Prisma.BlockInstanceCreateManyBlockInputEnvelope
570
+ connect?: Prisma.BlockInstanceWhereUniqueInput | Prisma.BlockInstanceWhereUniqueInput[]
571
+ }
572
+
573
+ export type BlockInstanceUncheckedCreateNestedManyWithoutBlockInput = {
574
+ create?: Prisma.XOR<Prisma.BlockInstanceCreateWithoutBlockInput, Prisma.BlockInstanceUncheckedCreateWithoutBlockInput> | Prisma.BlockInstanceCreateWithoutBlockInput[] | Prisma.BlockInstanceUncheckedCreateWithoutBlockInput[]
575
+ connectOrCreate?: Prisma.BlockInstanceCreateOrConnectWithoutBlockInput | Prisma.BlockInstanceCreateOrConnectWithoutBlockInput[]
576
+ createMany?: Prisma.BlockInstanceCreateManyBlockInputEnvelope
577
+ connect?: Prisma.BlockInstanceWhereUniqueInput | Prisma.BlockInstanceWhereUniqueInput[]
578
+ }
579
+
580
+ export type BlockInstanceUpdateManyWithoutBlockNestedInput = {
581
+ create?: Prisma.XOR<Prisma.BlockInstanceCreateWithoutBlockInput, Prisma.BlockInstanceUncheckedCreateWithoutBlockInput> | Prisma.BlockInstanceCreateWithoutBlockInput[] | Prisma.BlockInstanceUncheckedCreateWithoutBlockInput[]
582
+ connectOrCreate?: Prisma.BlockInstanceCreateOrConnectWithoutBlockInput | Prisma.BlockInstanceCreateOrConnectWithoutBlockInput[]
583
+ upsert?: Prisma.BlockInstanceUpsertWithWhereUniqueWithoutBlockInput | Prisma.BlockInstanceUpsertWithWhereUniqueWithoutBlockInput[]
584
+ createMany?: Prisma.BlockInstanceCreateManyBlockInputEnvelope
585
+ set?: Prisma.BlockInstanceWhereUniqueInput | Prisma.BlockInstanceWhereUniqueInput[]
586
+ disconnect?: Prisma.BlockInstanceWhereUniqueInput | Prisma.BlockInstanceWhereUniqueInput[]
587
+ delete?: Prisma.BlockInstanceWhereUniqueInput | Prisma.BlockInstanceWhereUniqueInput[]
588
+ connect?: Prisma.BlockInstanceWhereUniqueInput | Prisma.BlockInstanceWhereUniqueInput[]
589
+ update?: Prisma.BlockInstanceUpdateWithWhereUniqueWithoutBlockInput | Prisma.BlockInstanceUpdateWithWhereUniqueWithoutBlockInput[]
590
+ updateMany?: Prisma.BlockInstanceUpdateManyWithWhereWithoutBlockInput | Prisma.BlockInstanceUpdateManyWithWhereWithoutBlockInput[]
591
+ deleteMany?: Prisma.BlockInstanceScalarWhereInput | Prisma.BlockInstanceScalarWhereInput[]
592
+ }
593
+
594
+ export type BlockInstanceUncheckedUpdateManyWithoutBlockNestedInput = {
595
+ create?: Prisma.XOR<Prisma.BlockInstanceCreateWithoutBlockInput, Prisma.BlockInstanceUncheckedCreateWithoutBlockInput> | Prisma.BlockInstanceCreateWithoutBlockInput[] | Prisma.BlockInstanceUncheckedCreateWithoutBlockInput[]
596
+ connectOrCreate?: Prisma.BlockInstanceCreateOrConnectWithoutBlockInput | Prisma.BlockInstanceCreateOrConnectWithoutBlockInput[]
597
+ upsert?: Prisma.BlockInstanceUpsertWithWhereUniqueWithoutBlockInput | Prisma.BlockInstanceUpsertWithWhereUniqueWithoutBlockInput[]
598
+ createMany?: Prisma.BlockInstanceCreateManyBlockInputEnvelope
599
+ set?: Prisma.BlockInstanceWhereUniqueInput | Prisma.BlockInstanceWhereUniqueInput[]
600
+ disconnect?: Prisma.BlockInstanceWhereUniqueInput | Prisma.BlockInstanceWhereUniqueInput[]
601
+ delete?: Prisma.BlockInstanceWhereUniqueInput | Prisma.BlockInstanceWhereUniqueInput[]
602
+ connect?: Prisma.BlockInstanceWhereUniqueInput | Prisma.BlockInstanceWhereUniqueInput[]
603
+ update?: Prisma.BlockInstanceUpdateWithWhereUniqueWithoutBlockInput | Prisma.BlockInstanceUpdateWithWhereUniqueWithoutBlockInput[]
604
+ updateMany?: Prisma.BlockInstanceUpdateManyWithWhereWithoutBlockInput | Prisma.BlockInstanceUpdateManyWithWhereWithoutBlockInput[]
605
+ deleteMany?: Prisma.BlockInstanceScalarWhereInput | Prisma.BlockInstanceScalarWhereInput[]
606
+ }
607
+
608
+ export type BlockInstanceCreateNestedManyWithoutPageInput = {
609
+ create?: Prisma.XOR<Prisma.BlockInstanceCreateWithoutPageInput, Prisma.BlockInstanceUncheckedCreateWithoutPageInput> | Prisma.BlockInstanceCreateWithoutPageInput[] | Prisma.BlockInstanceUncheckedCreateWithoutPageInput[]
610
+ connectOrCreate?: Prisma.BlockInstanceCreateOrConnectWithoutPageInput | Prisma.BlockInstanceCreateOrConnectWithoutPageInput[]
611
+ createMany?: Prisma.BlockInstanceCreateManyPageInputEnvelope
612
+ connect?: Prisma.BlockInstanceWhereUniqueInput | Prisma.BlockInstanceWhereUniqueInput[]
613
+ }
614
+
615
+ export type BlockInstanceUncheckedCreateNestedManyWithoutPageInput = {
616
+ create?: Prisma.XOR<Prisma.BlockInstanceCreateWithoutPageInput, Prisma.BlockInstanceUncheckedCreateWithoutPageInput> | Prisma.BlockInstanceCreateWithoutPageInput[] | Prisma.BlockInstanceUncheckedCreateWithoutPageInput[]
617
+ connectOrCreate?: Prisma.BlockInstanceCreateOrConnectWithoutPageInput | Prisma.BlockInstanceCreateOrConnectWithoutPageInput[]
618
+ createMany?: Prisma.BlockInstanceCreateManyPageInputEnvelope
619
+ connect?: Prisma.BlockInstanceWhereUniqueInput | Prisma.BlockInstanceWhereUniqueInput[]
620
+ }
621
+
622
+ export type BlockInstanceUpdateManyWithoutPageNestedInput = {
623
+ create?: Prisma.XOR<Prisma.BlockInstanceCreateWithoutPageInput, Prisma.BlockInstanceUncheckedCreateWithoutPageInput> | Prisma.BlockInstanceCreateWithoutPageInput[] | Prisma.BlockInstanceUncheckedCreateWithoutPageInput[]
624
+ connectOrCreate?: Prisma.BlockInstanceCreateOrConnectWithoutPageInput | Prisma.BlockInstanceCreateOrConnectWithoutPageInput[]
625
+ upsert?: Prisma.BlockInstanceUpsertWithWhereUniqueWithoutPageInput | Prisma.BlockInstanceUpsertWithWhereUniqueWithoutPageInput[]
626
+ createMany?: Prisma.BlockInstanceCreateManyPageInputEnvelope
627
+ set?: Prisma.BlockInstanceWhereUniqueInput | Prisma.BlockInstanceWhereUniqueInput[]
628
+ disconnect?: Prisma.BlockInstanceWhereUniqueInput | Prisma.BlockInstanceWhereUniqueInput[]
629
+ delete?: Prisma.BlockInstanceWhereUniqueInput | Prisma.BlockInstanceWhereUniqueInput[]
630
+ connect?: Prisma.BlockInstanceWhereUniqueInput | Prisma.BlockInstanceWhereUniqueInput[]
631
+ update?: Prisma.BlockInstanceUpdateWithWhereUniqueWithoutPageInput | Prisma.BlockInstanceUpdateWithWhereUniqueWithoutPageInput[]
632
+ updateMany?: Prisma.BlockInstanceUpdateManyWithWhereWithoutPageInput | Prisma.BlockInstanceUpdateManyWithWhereWithoutPageInput[]
633
+ deleteMany?: Prisma.BlockInstanceScalarWhereInput | Prisma.BlockInstanceScalarWhereInput[]
634
+ }
635
+
636
+ export type BlockInstanceUncheckedUpdateManyWithoutPageNestedInput = {
637
+ create?: Prisma.XOR<Prisma.BlockInstanceCreateWithoutPageInput, Prisma.BlockInstanceUncheckedCreateWithoutPageInput> | Prisma.BlockInstanceCreateWithoutPageInput[] | Prisma.BlockInstanceUncheckedCreateWithoutPageInput[]
638
+ connectOrCreate?: Prisma.BlockInstanceCreateOrConnectWithoutPageInput | Prisma.BlockInstanceCreateOrConnectWithoutPageInput[]
639
+ upsert?: Prisma.BlockInstanceUpsertWithWhereUniqueWithoutPageInput | Prisma.BlockInstanceUpsertWithWhereUniqueWithoutPageInput[]
640
+ createMany?: Prisma.BlockInstanceCreateManyPageInputEnvelope
641
+ set?: Prisma.BlockInstanceWhereUniqueInput | Prisma.BlockInstanceWhereUniqueInput[]
642
+ disconnect?: Prisma.BlockInstanceWhereUniqueInput | Prisma.BlockInstanceWhereUniqueInput[]
643
+ delete?: Prisma.BlockInstanceWhereUniqueInput | Prisma.BlockInstanceWhereUniqueInput[]
644
+ connect?: Prisma.BlockInstanceWhereUniqueInput | Prisma.BlockInstanceWhereUniqueInput[]
645
+ update?: Prisma.BlockInstanceUpdateWithWhereUniqueWithoutPageInput | Prisma.BlockInstanceUpdateWithWhereUniqueWithoutPageInput[]
646
+ updateMany?: Prisma.BlockInstanceUpdateManyWithWhereWithoutPageInput | Prisma.BlockInstanceUpdateManyWithWhereWithoutPageInput[]
647
+ deleteMany?: Prisma.BlockInstanceScalarWhereInput | Prisma.BlockInstanceScalarWhereInput[]
648
+ }
649
+
650
+ export type BlockInstanceCreateNestedOneWithoutInstancesInput = {
651
+ create?: Prisma.XOR<Prisma.BlockInstanceCreateWithoutInstancesInput, Prisma.BlockInstanceUncheckedCreateWithoutInstancesInput>
652
+ connectOrCreate?: Prisma.BlockInstanceCreateOrConnectWithoutInstancesInput
653
+ connect?: Prisma.BlockInstanceWhereUniqueInput
654
+ }
655
+
656
+ export type BlockInstanceUpdateOneWithoutInstancesNestedInput = {
657
+ create?: Prisma.XOR<Prisma.BlockInstanceCreateWithoutInstancesInput, Prisma.BlockInstanceUncheckedCreateWithoutInstancesInput>
658
+ connectOrCreate?: Prisma.BlockInstanceCreateOrConnectWithoutInstancesInput
659
+ upsert?: Prisma.BlockInstanceUpsertWithoutInstancesInput
660
+ disconnect?: Prisma.BlockInstanceWhereInput | boolean
661
+ delete?: Prisma.BlockInstanceWhereInput | boolean
662
+ connect?: Prisma.BlockInstanceWhereUniqueInput
663
+ update?: Prisma.XOR<Prisma.XOR<Prisma.BlockInstanceUpdateToOneWithWhereWithoutInstancesInput, Prisma.BlockInstanceUpdateWithoutInstancesInput>, Prisma.BlockInstanceUncheckedUpdateWithoutInstancesInput>
664
+ }
665
+
666
+ export type BlockInstanceCreateWithoutBlockInput = {
667
+ id?: string
668
+ name?: string | null
669
+ x?: number
670
+ y?: number
671
+ width?: number
672
+ height?: number
673
+ zIndex?: number
674
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
675
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
676
+ createdAt?: Date | string
677
+ updatedAt?: Date | string
678
+ page: Prisma.PRDPageCreateNestedOneWithoutBlockInstancesInput
679
+ instances?: Prisma.ComponentInstanceCreateNestedManyWithoutBlockInstanceInput
680
+ }
681
+
682
+ export type BlockInstanceUncheckedCreateWithoutBlockInput = {
683
+ id?: string
684
+ pageId: string
685
+ name?: string | null
686
+ x?: number
687
+ y?: number
688
+ width?: number
689
+ height?: number
690
+ zIndex?: number
691
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
692
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
693
+ createdAt?: Date | string
694
+ updatedAt?: Date | string
695
+ instances?: Prisma.ComponentInstanceUncheckedCreateNestedManyWithoutBlockInstanceInput
696
+ }
697
+
698
+ export type BlockInstanceCreateOrConnectWithoutBlockInput = {
699
+ where: Prisma.BlockInstanceWhereUniqueInput
700
+ create: Prisma.XOR<Prisma.BlockInstanceCreateWithoutBlockInput, Prisma.BlockInstanceUncheckedCreateWithoutBlockInput>
701
+ }
702
+
703
+ export type BlockInstanceCreateManyBlockInputEnvelope = {
704
+ data: Prisma.BlockInstanceCreateManyBlockInput | Prisma.BlockInstanceCreateManyBlockInput[]
705
+ skipDuplicates?: boolean
706
+ }
707
+
708
+ export type BlockInstanceUpsertWithWhereUniqueWithoutBlockInput = {
709
+ where: Prisma.BlockInstanceWhereUniqueInput
710
+ update: Prisma.XOR<Prisma.BlockInstanceUpdateWithoutBlockInput, Prisma.BlockInstanceUncheckedUpdateWithoutBlockInput>
711
+ create: Prisma.XOR<Prisma.BlockInstanceCreateWithoutBlockInput, Prisma.BlockInstanceUncheckedCreateWithoutBlockInput>
712
+ }
713
+
714
+ export type BlockInstanceUpdateWithWhereUniqueWithoutBlockInput = {
715
+ where: Prisma.BlockInstanceWhereUniqueInput
716
+ data: Prisma.XOR<Prisma.BlockInstanceUpdateWithoutBlockInput, Prisma.BlockInstanceUncheckedUpdateWithoutBlockInput>
717
+ }
718
+
719
+ export type BlockInstanceUpdateManyWithWhereWithoutBlockInput = {
720
+ where: Prisma.BlockInstanceScalarWhereInput
721
+ data: Prisma.XOR<Prisma.BlockInstanceUpdateManyMutationInput, Prisma.BlockInstanceUncheckedUpdateManyWithoutBlockInput>
722
+ }
723
+
724
+ export type BlockInstanceScalarWhereInput = {
725
+ AND?: Prisma.BlockInstanceScalarWhereInput | Prisma.BlockInstanceScalarWhereInput[]
726
+ OR?: Prisma.BlockInstanceScalarWhereInput[]
727
+ NOT?: Prisma.BlockInstanceScalarWhereInput | Prisma.BlockInstanceScalarWhereInput[]
728
+ id?: Prisma.StringFilter<"BlockInstance"> | string
729
+ pageId?: Prisma.StringFilter<"BlockInstance"> | string
730
+ blockId?: Prisma.StringNullableFilter<"BlockInstance"> | string | null
731
+ name?: Prisma.StringNullableFilter<"BlockInstance"> | string | null
732
+ x?: Prisma.FloatFilter<"BlockInstance"> | number
733
+ y?: Prisma.FloatFilter<"BlockInstance"> | number
734
+ width?: Prisma.FloatFilter<"BlockInstance"> | number
735
+ height?: Prisma.FloatFilter<"BlockInstance"> | number
736
+ zIndex?: Prisma.IntFilter<"BlockInstance"> | number
737
+ props?: Prisma.JsonNullableFilter<"BlockInstance">
738
+ style?: Prisma.JsonNullableFilter<"BlockInstance">
739
+ createdAt?: Prisma.DateTimeFilter<"BlockInstance"> | Date | string
740
+ updatedAt?: Prisma.DateTimeFilter<"BlockInstance"> | Date | string
741
+ }
742
+
743
+ export type BlockInstanceCreateWithoutPageInput = {
744
+ id?: string
745
+ name?: string | null
746
+ x?: number
747
+ y?: number
748
+ width?: number
749
+ height?: number
750
+ zIndex?: number
751
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
752
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
753
+ createdAt?: Date | string
754
+ updatedAt?: Date | string
755
+ block?: Prisma.BlockCreateNestedOneWithoutInstancesInput
756
+ instances?: Prisma.ComponentInstanceCreateNestedManyWithoutBlockInstanceInput
757
+ }
758
+
759
+ export type BlockInstanceUncheckedCreateWithoutPageInput = {
760
+ id?: string
761
+ blockId?: string | null
762
+ name?: string | null
763
+ x?: number
764
+ y?: number
765
+ width?: number
766
+ height?: number
767
+ zIndex?: number
768
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
769
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
770
+ createdAt?: Date | string
771
+ updatedAt?: Date | string
772
+ instances?: Prisma.ComponentInstanceUncheckedCreateNestedManyWithoutBlockInstanceInput
773
+ }
774
+
775
+ export type BlockInstanceCreateOrConnectWithoutPageInput = {
776
+ where: Prisma.BlockInstanceWhereUniqueInput
777
+ create: Prisma.XOR<Prisma.BlockInstanceCreateWithoutPageInput, Prisma.BlockInstanceUncheckedCreateWithoutPageInput>
778
+ }
779
+
780
+ export type BlockInstanceCreateManyPageInputEnvelope = {
781
+ data: Prisma.BlockInstanceCreateManyPageInput | Prisma.BlockInstanceCreateManyPageInput[]
782
+ skipDuplicates?: boolean
783
+ }
784
+
785
+ export type BlockInstanceUpsertWithWhereUniqueWithoutPageInput = {
786
+ where: Prisma.BlockInstanceWhereUniqueInput
787
+ update: Prisma.XOR<Prisma.BlockInstanceUpdateWithoutPageInput, Prisma.BlockInstanceUncheckedUpdateWithoutPageInput>
788
+ create: Prisma.XOR<Prisma.BlockInstanceCreateWithoutPageInput, Prisma.BlockInstanceUncheckedCreateWithoutPageInput>
789
+ }
790
+
791
+ export type BlockInstanceUpdateWithWhereUniqueWithoutPageInput = {
792
+ where: Prisma.BlockInstanceWhereUniqueInput
793
+ data: Prisma.XOR<Prisma.BlockInstanceUpdateWithoutPageInput, Prisma.BlockInstanceUncheckedUpdateWithoutPageInput>
794
+ }
795
+
796
+ export type BlockInstanceUpdateManyWithWhereWithoutPageInput = {
797
+ where: Prisma.BlockInstanceScalarWhereInput
798
+ data: Prisma.XOR<Prisma.BlockInstanceUpdateManyMutationInput, Prisma.BlockInstanceUncheckedUpdateManyWithoutPageInput>
799
+ }
800
+
801
+ export type BlockInstanceCreateWithoutInstancesInput = {
802
+ id?: string
803
+ name?: string | null
804
+ x?: number
805
+ y?: number
806
+ width?: number
807
+ height?: number
808
+ zIndex?: number
809
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
810
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
811
+ createdAt?: Date | string
812
+ updatedAt?: Date | string
813
+ page: Prisma.PRDPageCreateNestedOneWithoutBlockInstancesInput
814
+ block?: Prisma.BlockCreateNestedOneWithoutInstancesInput
815
+ }
816
+
817
+ export type BlockInstanceUncheckedCreateWithoutInstancesInput = {
818
+ id?: string
819
+ pageId: string
820
+ blockId?: string | null
821
+ name?: string | null
822
+ x?: number
823
+ y?: number
824
+ width?: number
825
+ height?: number
826
+ zIndex?: number
827
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
828
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
829
+ createdAt?: Date | string
830
+ updatedAt?: Date | string
831
+ }
832
+
833
+ export type BlockInstanceCreateOrConnectWithoutInstancesInput = {
834
+ where: Prisma.BlockInstanceWhereUniqueInput
835
+ create: Prisma.XOR<Prisma.BlockInstanceCreateWithoutInstancesInput, Prisma.BlockInstanceUncheckedCreateWithoutInstancesInput>
836
+ }
837
+
838
+ export type BlockInstanceUpsertWithoutInstancesInput = {
839
+ update: Prisma.XOR<Prisma.BlockInstanceUpdateWithoutInstancesInput, Prisma.BlockInstanceUncheckedUpdateWithoutInstancesInput>
840
+ create: Prisma.XOR<Prisma.BlockInstanceCreateWithoutInstancesInput, Prisma.BlockInstanceUncheckedCreateWithoutInstancesInput>
841
+ where?: Prisma.BlockInstanceWhereInput
842
+ }
843
+
844
+ export type BlockInstanceUpdateToOneWithWhereWithoutInstancesInput = {
845
+ where?: Prisma.BlockInstanceWhereInput
846
+ data: Prisma.XOR<Prisma.BlockInstanceUpdateWithoutInstancesInput, Prisma.BlockInstanceUncheckedUpdateWithoutInstancesInput>
847
+ }
848
+
849
+ export type BlockInstanceUpdateWithoutInstancesInput = {
850
+ id?: Prisma.StringFieldUpdateOperationsInput | string
851
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
852
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
853
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
854
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
855
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
856
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
857
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
858
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
859
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
860
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
861
+ page?: Prisma.PRDPageUpdateOneRequiredWithoutBlockInstancesNestedInput
862
+ block?: Prisma.BlockUpdateOneWithoutInstancesNestedInput
863
+ }
864
+
865
+ export type BlockInstanceUncheckedUpdateWithoutInstancesInput = {
866
+ id?: Prisma.StringFieldUpdateOperationsInput | string
867
+ pageId?: Prisma.StringFieldUpdateOperationsInput | string
868
+ blockId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
869
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
870
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
871
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
872
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
873
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
874
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
875
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
876
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
877
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
878
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
879
+ }
880
+
881
+ export type BlockInstanceCreateManyBlockInput = {
882
+ id?: string
883
+ pageId: string
884
+ name?: string | null
885
+ x?: number
886
+ y?: number
887
+ width?: number
888
+ height?: number
889
+ zIndex?: number
890
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
891
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
892
+ createdAt?: Date | string
893
+ updatedAt?: Date | string
894
+ }
895
+
896
+ export type BlockInstanceUpdateWithoutBlockInput = {
897
+ id?: Prisma.StringFieldUpdateOperationsInput | string
898
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
899
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
900
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
901
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
902
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
903
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
904
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
905
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
906
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
907
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
908
+ page?: Prisma.PRDPageUpdateOneRequiredWithoutBlockInstancesNestedInput
909
+ instances?: Prisma.ComponentInstanceUpdateManyWithoutBlockInstanceNestedInput
910
+ }
911
+
912
+ export type BlockInstanceUncheckedUpdateWithoutBlockInput = {
913
+ id?: Prisma.StringFieldUpdateOperationsInput | string
914
+ pageId?: Prisma.StringFieldUpdateOperationsInput | string
915
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
916
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
917
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
918
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
919
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
920
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
921
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
922
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
923
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
924
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
925
+ instances?: Prisma.ComponentInstanceUncheckedUpdateManyWithoutBlockInstanceNestedInput
926
+ }
927
+
928
+ export type BlockInstanceUncheckedUpdateManyWithoutBlockInput = {
929
+ id?: Prisma.StringFieldUpdateOperationsInput | string
930
+ pageId?: Prisma.StringFieldUpdateOperationsInput | string
931
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
932
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
933
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
934
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
935
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
936
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
937
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
938
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
939
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
940
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
941
+ }
942
+
943
+ export type BlockInstanceCreateManyPageInput = {
944
+ id?: string
945
+ blockId?: string | null
946
+ name?: string | null
947
+ x?: number
948
+ y?: number
949
+ width?: number
950
+ height?: number
951
+ zIndex?: number
952
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
953
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
954
+ createdAt?: Date | string
955
+ updatedAt?: Date | string
956
+ }
957
+
958
+ export type BlockInstanceUpdateWithoutPageInput = {
959
+ id?: Prisma.StringFieldUpdateOperationsInput | string
960
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
961
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
962
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
963
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
964
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
965
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
966
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
967
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
968
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
969
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
970
+ block?: Prisma.BlockUpdateOneWithoutInstancesNestedInput
971
+ instances?: Prisma.ComponentInstanceUpdateManyWithoutBlockInstanceNestedInput
972
+ }
973
+
974
+ export type BlockInstanceUncheckedUpdateWithoutPageInput = {
975
+ id?: Prisma.StringFieldUpdateOperationsInput | string
976
+ blockId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
977
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
978
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
979
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
980
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
981
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
982
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
983
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
984
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
985
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
986
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
987
+ instances?: Prisma.ComponentInstanceUncheckedUpdateManyWithoutBlockInstanceNestedInput
988
+ }
989
+
990
+ export type BlockInstanceUncheckedUpdateManyWithoutPageInput = {
991
+ id?: Prisma.StringFieldUpdateOperationsInput | string
992
+ blockId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
993
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
994
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
995
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
996
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
997
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
998
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
999
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1000
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1001
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1002
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1003
+ }
1004
+
1005
+
1006
+ /**
1007
+ * Count Type BlockInstanceCountOutputType
1008
+ */
1009
+
1010
+ export type BlockInstanceCountOutputType = {
1011
+ instances: number
1012
+ }
1013
+
1014
+ export type BlockInstanceCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1015
+ instances?: boolean | BlockInstanceCountOutputTypeCountInstancesArgs
1016
+ }
1017
+
1018
+ /**
1019
+ * BlockInstanceCountOutputType without action
1020
+ */
1021
+ export type BlockInstanceCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1022
+ /**
1023
+ * Select specific fields to fetch from the BlockInstanceCountOutputType
1024
+ */
1025
+ select?: Prisma.BlockInstanceCountOutputTypeSelect<ExtArgs> | null
1026
+ }
1027
+
1028
+ /**
1029
+ * BlockInstanceCountOutputType without action
1030
+ */
1031
+ export type BlockInstanceCountOutputTypeCountInstancesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1032
+ where?: Prisma.ComponentInstanceWhereInput
1033
+ }
1034
+
1035
+
1036
+ export type BlockInstanceSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1037
+ id?: boolean
1038
+ pageId?: boolean
1039
+ blockId?: boolean
1040
+ name?: boolean
1041
+ x?: boolean
1042
+ y?: boolean
1043
+ width?: boolean
1044
+ height?: boolean
1045
+ zIndex?: boolean
1046
+ props?: boolean
1047
+ style?: boolean
1048
+ createdAt?: boolean
1049
+ updatedAt?: boolean
1050
+ page?: boolean | Prisma.PRDPageDefaultArgs<ExtArgs>
1051
+ block?: boolean | Prisma.BlockInstance$blockArgs<ExtArgs>
1052
+ instances?: boolean | Prisma.BlockInstance$instancesArgs<ExtArgs>
1053
+ _count?: boolean | Prisma.BlockInstanceCountOutputTypeDefaultArgs<ExtArgs>
1054
+ }, ExtArgs["result"]["blockInstance"]>
1055
+
1056
+ export type BlockInstanceSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1057
+ id?: boolean
1058
+ pageId?: boolean
1059
+ blockId?: boolean
1060
+ name?: boolean
1061
+ x?: boolean
1062
+ y?: boolean
1063
+ width?: boolean
1064
+ height?: boolean
1065
+ zIndex?: boolean
1066
+ props?: boolean
1067
+ style?: boolean
1068
+ createdAt?: boolean
1069
+ updatedAt?: boolean
1070
+ page?: boolean | Prisma.PRDPageDefaultArgs<ExtArgs>
1071
+ block?: boolean | Prisma.BlockInstance$blockArgs<ExtArgs>
1072
+ }, ExtArgs["result"]["blockInstance"]>
1073
+
1074
+ export type BlockInstanceSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1075
+ id?: boolean
1076
+ pageId?: boolean
1077
+ blockId?: boolean
1078
+ name?: boolean
1079
+ x?: boolean
1080
+ y?: boolean
1081
+ width?: boolean
1082
+ height?: boolean
1083
+ zIndex?: boolean
1084
+ props?: boolean
1085
+ style?: boolean
1086
+ createdAt?: boolean
1087
+ updatedAt?: boolean
1088
+ page?: boolean | Prisma.PRDPageDefaultArgs<ExtArgs>
1089
+ block?: boolean | Prisma.BlockInstance$blockArgs<ExtArgs>
1090
+ }, ExtArgs["result"]["blockInstance"]>
1091
+
1092
+ export type BlockInstanceSelectScalar = {
1093
+ id?: boolean
1094
+ pageId?: boolean
1095
+ blockId?: boolean
1096
+ name?: boolean
1097
+ x?: boolean
1098
+ y?: boolean
1099
+ width?: boolean
1100
+ height?: boolean
1101
+ zIndex?: boolean
1102
+ props?: boolean
1103
+ style?: boolean
1104
+ createdAt?: boolean
1105
+ updatedAt?: boolean
1106
+ }
1107
+
1108
+ export type BlockInstanceOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "pageId" | "blockId" | "name" | "x" | "y" | "width" | "height" | "zIndex" | "props" | "style" | "createdAt" | "updatedAt", ExtArgs["result"]["blockInstance"]>
1109
+ export type BlockInstanceInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1110
+ page?: boolean | Prisma.PRDPageDefaultArgs<ExtArgs>
1111
+ block?: boolean | Prisma.BlockInstance$blockArgs<ExtArgs>
1112
+ instances?: boolean | Prisma.BlockInstance$instancesArgs<ExtArgs>
1113
+ _count?: boolean | Prisma.BlockInstanceCountOutputTypeDefaultArgs<ExtArgs>
1114
+ }
1115
+ export type BlockInstanceIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1116
+ page?: boolean | Prisma.PRDPageDefaultArgs<ExtArgs>
1117
+ block?: boolean | Prisma.BlockInstance$blockArgs<ExtArgs>
1118
+ }
1119
+ export type BlockInstanceIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1120
+ page?: boolean | Prisma.PRDPageDefaultArgs<ExtArgs>
1121
+ block?: boolean | Prisma.BlockInstance$blockArgs<ExtArgs>
1122
+ }
1123
+
1124
+ export type $BlockInstancePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1125
+ name: "BlockInstance"
1126
+ objects: {
1127
+ page: Prisma.$PRDPagePayload<ExtArgs>
1128
+ block: Prisma.$BlockPayload<ExtArgs> | null
1129
+ instances: Prisma.$ComponentInstancePayload<ExtArgs>[]
1130
+ }
1131
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
1132
+ id: string
1133
+ pageId: string
1134
+ blockId: string | null
1135
+ name: string | null
1136
+ x: number
1137
+ y: number
1138
+ width: number
1139
+ height: number
1140
+ zIndex: number
1141
+ props: runtime.JsonValue | null
1142
+ style: runtime.JsonValue | null
1143
+ createdAt: Date
1144
+ updatedAt: Date
1145
+ }, ExtArgs["result"]["blockInstance"]>
1146
+ composites: {}
1147
+ }
1148
+
1149
+ export type BlockInstanceGetPayload<S extends boolean | null | undefined | BlockInstanceDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$BlockInstancePayload, S>
1150
+
1151
+ export type BlockInstanceCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1152
+ Omit<BlockInstanceFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1153
+ select?: BlockInstanceCountAggregateInputType | true
1154
+ }
1155
+
1156
+ export interface BlockInstanceDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1157
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['BlockInstance'], meta: { name: 'BlockInstance' } }
1158
+ /**
1159
+ * Find zero or one BlockInstance that matches the filter.
1160
+ * @param {BlockInstanceFindUniqueArgs} args - Arguments to find a BlockInstance
1161
+ * @example
1162
+ * // Get one BlockInstance
1163
+ * const blockInstance = await prisma.blockInstance.findUnique({
1164
+ * where: {
1165
+ * // ... provide filter here
1166
+ * }
1167
+ * })
1168
+ */
1169
+ findUnique<T extends BlockInstanceFindUniqueArgs>(args: Prisma.SelectSubset<T, BlockInstanceFindUniqueArgs<ExtArgs>>): Prisma.Prisma__BlockInstanceClient<runtime.Types.Result.GetResult<Prisma.$BlockInstancePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1170
+
1171
+ /**
1172
+ * Find one BlockInstance that matches the filter or throw an error with `error.code='P2025'`
1173
+ * if no matches were found.
1174
+ * @param {BlockInstanceFindUniqueOrThrowArgs} args - Arguments to find a BlockInstance
1175
+ * @example
1176
+ * // Get one BlockInstance
1177
+ * const blockInstance = await prisma.blockInstance.findUniqueOrThrow({
1178
+ * where: {
1179
+ * // ... provide filter here
1180
+ * }
1181
+ * })
1182
+ */
1183
+ findUniqueOrThrow<T extends BlockInstanceFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, BlockInstanceFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__BlockInstanceClient<runtime.Types.Result.GetResult<Prisma.$BlockInstancePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1184
+
1185
+ /**
1186
+ * Find the first BlockInstance that matches the filter.
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 {BlockInstanceFindFirstArgs} args - Arguments to find a BlockInstance
1190
+ * @example
1191
+ * // Get one BlockInstance
1192
+ * const blockInstance = await prisma.blockInstance.findFirst({
1193
+ * where: {
1194
+ * // ... provide filter here
1195
+ * }
1196
+ * })
1197
+ */
1198
+ findFirst<T extends BlockInstanceFindFirstArgs>(args?: Prisma.SelectSubset<T, BlockInstanceFindFirstArgs<ExtArgs>>): Prisma.Prisma__BlockInstanceClient<runtime.Types.Result.GetResult<Prisma.$BlockInstancePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1199
+
1200
+ /**
1201
+ * Find the first BlockInstance that matches the filter or
1202
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1203
+ * Note, that providing `undefined` is treated as the value not being there.
1204
+ * Read more here: https://pris.ly/d/null-undefined
1205
+ * @param {BlockInstanceFindFirstOrThrowArgs} args - Arguments to find a BlockInstance
1206
+ * @example
1207
+ * // Get one BlockInstance
1208
+ * const blockInstance = await prisma.blockInstance.findFirstOrThrow({
1209
+ * where: {
1210
+ * // ... provide filter here
1211
+ * }
1212
+ * })
1213
+ */
1214
+ findFirstOrThrow<T extends BlockInstanceFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, BlockInstanceFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__BlockInstanceClient<runtime.Types.Result.GetResult<Prisma.$BlockInstancePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1215
+
1216
+ /**
1217
+ * Find zero or more BlockInstances that matches the filter.
1218
+ * Note, that providing `undefined` is treated as the value not being there.
1219
+ * Read more here: https://pris.ly/d/null-undefined
1220
+ * @param {BlockInstanceFindManyArgs} args - Arguments to filter and select certain fields only.
1221
+ * @example
1222
+ * // Get all BlockInstances
1223
+ * const blockInstances = await prisma.blockInstance.findMany()
1224
+ *
1225
+ * // Get first 10 BlockInstances
1226
+ * const blockInstances = await prisma.blockInstance.findMany({ take: 10 })
1227
+ *
1228
+ * // Only select the `id`
1229
+ * const blockInstanceWithIdOnly = await prisma.blockInstance.findMany({ select: { id: true } })
1230
+ *
1231
+ */
1232
+ findMany<T extends BlockInstanceFindManyArgs>(args?: Prisma.SelectSubset<T, BlockInstanceFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BlockInstancePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1233
+
1234
+ /**
1235
+ * Create a BlockInstance.
1236
+ * @param {BlockInstanceCreateArgs} args - Arguments to create a BlockInstance.
1237
+ * @example
1238
+ * // Create one BlockInstance
1239
+ * const BlockInstance = await prisma.blockInstance.create({
1240
+ * data: {
1241
+ * // ... data to create a BlockInstance
1242
+ * }
1243
+ * })
1244
+ *
1245
+ */
1246
+ create<T extends BlockInstanceCreateArgs>(args: Prisma.SelectSubset<T, BlockInstanceCreateArgs<ExtArgs>>): Prisma.Prisma__BlockInstanceClient<runtime.Types.Result.GetResult<Prisma.$BlockInstancePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1247
+
1248
+ /**
1249
+ * Create many BlockInstances.
1250
+ * @param {BlockInstanceCreateManyArgs} args - Arguments to create many BlockInstances.
1251
+ * @example
1252
+ * // Create many BlockInstances
1253
+ * const blockInstance = await prisma.blockInstance.createMany({
1254
+ * data: [
1255
+ * // ... provide data here
1256
+ * ]
1257
+ * })
1258
+ *
1259
+ */
1260
+ createMany<T extends BlockInstanceCreateManyArgs>(args?: Prisma.SelectSubset<T, BlockInstanceCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1261
+
1262
+ /**
1263
+ * Create many BlockInstances and returns the data saved in the database.
1264
+ * @param {BlockInstanceCreateManyAndReturnArgs} args - Arguments to create many BlockInstances.
1265
+ * @example
1266
+ * // Create many BlockInstances
1267
+ * const blockInstance = await prisma.blockInstance.createManyAndReturn({
1268
+ * data: [
1269
+ * // ... provide data here
1270
+ * ]
1271
+ * })
1272
+ *
1273
+ * // Create many BlockInstances and only return the `id`
1274
+ * const blockInstanceWithIdOnly = await prisma.blockInstance.createManyAndReturn({
1275
+ * select: { id: true },
1276
+ * data: [
1277
+ * // ... provide data here
1278
+ * ]
1279
+ * })
1280
+ * Note, that providing `undefined` is treated as the value not being there.
1281
+ * Read more here: https://pris.ly/d/null-undefined
1282
+ *
1283
+ */
1284
+ createManyAndReturn<T extends BlockInstanceCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, BlockInstanceCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BlockInstancePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1285
+
1286
+ /**
1287
+ * Delete a BlockInstance.
1288
+ * @param {BlockInstanceDeleteArgs} args - Arguments to delete one BlockInstance.
1289
+ * @example
1290
+ * // Delete one BlockInstance
1291
+ * const BlockInstance = await prisma.blockInstance.delete({
1292
+ * where: {
1293
+ * // ... filter to delete one BlockInstance
1294
+ * }
1295
+ * })
1296
+ *
1297
+ */
1298
+ delete<T extends BlockInstanceDeleteArgs>(args: Prisma.SelectSubset<T, BlockInstanceDeleteArgs<ExtArgs>>): Prisma.Prisma__BlockInstanceClient<runtime.Types.Result.GetResult<Prisma.$BlockInstancePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1299
+
1300
+ /**
1301
+ * Update one BlockInstance.
1302
+ * @param {BlockInstanceUpdateArgs} args - Arguments to update one BlockInstance.
1303
+ * @example
1304
+ * // Update one BlockInstance
1305
+ * const blockInstance = await prisma.blockInstance.update({
1306
+ * where: {
1307
+ * // ... provide filter here
1308
+ * },
1309
+ * data: {
1310
+ * // ... provide data here
1311
+ * }
1312
+ * })
1313
+ *
1314
+ */
1315
+ update<T extends BlockInstanceUpdateArgs>(args: Prisma.SelectSubset<T, BlockInstanceUpdateArgs<ExtArgs>>): Prisma.Prisma__BlockInstanceClient<runtime.Types.Result.GetResult<Prisma.$BlockInstancePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1316
+
1317
+ /**
1318
+ * Delete zero or more BlockInstances.
1319
+ * @param {BlockInstanceDeleteManyArgs} args - Arguments to filter BlockInstances to delete.
1320
+ * @example
1321
+ * // Delete a few BlockInstances
1322
+ * const { count } = await prisma.blockInstance.deleteMany({
1323
+ * where: {
1324
+ * // ... provide filter here
1325
+ * }
1326
+ * })
1327
+ *
1328
+ */
1329
+ deleteMany<T extends BlockInstanceDeleteManyArgs>(args?: Prisma.SelectSubset<T, BlockInstanceDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1330
+
1331
+ /**
1332
+ * Update zero or more BlockInstances.
1333
+ * Note, that providing `undefined` is treated as the value not being there.
1334
+ * Read more here: https://pris.ly/d/null-undefined
1335
+ * @param {BlockInstanceUpdateManyArgs} args - Arguments to update one or more rows.
1336
+ * @example
1337
+ * // Update many BlockInstances
1338
+ * const blockInstance = await prisma.blockInstance.updateMany({
1339
+ * where: {
1340
+ * // ... provide filter here
1341
+ * },
1342
+ * data: {
1343
+ * // ... provide data here
1344
+ * }
1345
+ * })
1346
+ *
1347
+ */
1348
+ updateMany<T extends BlockInstanceUpdateManyArgs>(args: Prisma.SelectSubset<T, BlockInstanceUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1349
+
1350
+ /**
1351
+ * Update zero or more BlockInstances and returns the data updated in the database.
1352
+ * @param {BlockInstanceUpdateManyAndReturnArgs} args - Arguments to update many BlockInstances.
1353
+ * @example
1354
+ * // Update many BlockInstances
1355
+ * const blockInstance = await prisma.blockInstance.updateManyAndReturn({
1356
+ * where: {
1357
+ * // ... provide filter here
1358
+ * },
1359
+ * data: [
1360
+ * // ... provide data here
1361
+ * ]
1362
+ * })
1363
+ *
1364
+ * // Update zero or more BlockInstances and only return the `id`
1365
+ * const blockInstanceWithIdOnly = await prisma.blockInstance.updateManyAndReturn({
1366
+ * select: { id: true },
1367
+ * where: {
1368
+ * // ... provide filter here
1369
+ * },
1370
+ * data: [
1371
+ * // ... provide data here
1372
+ * ]
1373
+ * })
1374
+ * Note, that providing `undefined` is treated as the value not being there.
1375
+ * Read more here: https://pris.ly/d/null-undefined
1376
+ *
1377
+ */
1378
+ updateManyAndReturn<T extends BlockInstanceUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, BlockInstanceUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BlockInstancePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1379
+
1380
+ /**
1381
+ * Create or update one BlockInstance.
1382
+ * @param {BlockInstanceUpsertArgs} args - Arguments to update or create a BlockInstance.
1383
+ * @example
1384
+ * // Update or create a BlockInstance
1385
+ * const blockInstance = await prisma.blockInstance.upsert({
1386
+ * create: {
1387
+ * // ... data to create a BlockInstance
1388
+ * },
1389
+ * update: {
1390
+ * // ... in case it already exists, update
1391
+ * },
1392
+ * where: {
1393
+ * // ... the filter for the BlockInstance we want to update
1394
+ * }
1395
+ * })
1396
+ */
1397
+ upsert<T extends BlockInstanceUpsertArgs>(args: Prisma.SelectSubset<T, BlockInstanceUpsertArgs<ExtArgs>>): Prisma.Prisma__BlockInstanceClient<runtime.Types.Result.GetResult<Prisma.$BlockInstancePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1398
+
1399
+
1400
+ /**
1401
+ * Count the number of BlockInstances.
1402
+ * Note, that providing `undefined` is treated as the value not being there.
1403
+ * Read more here: https://pris.ly/d/null-undefined
1404
+ * @param {BlockInstanceCountArgs} args - Arguments to filter BlockInstances to count.
1405
+ * @example
1406
+ * // Count the number of BlockInstances
1407
+ * const count = await prisma.blockInstance.count({
1408
+ * where: {
1409
+ * // ... the filter for the BlockInstances we want to count
1410
+ * }
1411
+ * })
1412
+ **/
1413
+ count<T extends BlockInstanceCountArgs>(
1414
+ args?: Prisma.Subset<T, BlockInstanceCountArgs>,
1415
+ ): Prisma.PrismaPromise<
1416
+ T extends runtime.Types.Utils.Record<'select', any>
1417
+ ? T['select'] extends true
1418
+ ? number
1419
+ : Prisma.GetScalarType<T['select'], BlockInstanceCountAggregateOutputType>
1420
+ : number
1421
+ >
1422
+
1423
+ /**
1424
+ * Allows you to perform aggregations operations on a BlockInstance.
1425
+ * Note, that providing `undefined` is treated as the value not being there.
1426
+ * Read more here: https://pris.ly/d/null-undefined
1427
+ * @param {BlockInstanceAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1428
+ * @example
1429
+ * // Ordered by age ascending
1430
+ * // Where email contains prisma.io
1431
+ * // Limited to the 10 users
1432
+ * const aggregations = await prisma.user.aggregate({
1433
+ * _avg: {
1434
+ * age: true,
1435
+ * },
1436
+ * where: {
1437
+ * email: {
1438
+ * contains: "prisma.io",
1439
+ * },
1440
+ * },
1441
+ * orderBy: {
1442
+ * age: "asc",
1443
+ * },
1444
+ * take: 10,
1445
+ * })
1446
+ **/
1447
+ aggregate<T extends BlockInstanceAggregateArgs>(args: Prisma.Subset<T, BlockInstanceAggregateArgs>): Prisma.PrismaPromise<GetBlockInstanceAggregateType<T>>
1448
+
1449
+ /**
1450
+ * Group by BlockInstance.
1451
+ * Note, that providing `undefined` is treated as the value not being there.
1452
+ * Read more here: https://pris.ly/d/null-undefined
1453
+ * @param {BlockInstanceGroupByArgs} args - Group by arguments.
1454
+ * @example
1455
+ * // Group by city, order by createdAt, get count
1456
+ * const result = await prisma.user.groupBy({
1457
+ * by: ['city', 'createdAt'],
1458
+ * orderBy: {
1459
+ * createdAt: true
1460
+ * },
1461
+ * _count: {
1462
+ * _all: true
1463
+ * },
1464
+ * })
1465
+ *
1466
+ **/
1467
+ groupBy<
1468
+ T extends BlockInstanceGroupByArgs,
1469
+ HasSelectOrTake extends Prisma.Or<
1470
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1471
+ Prisma.Extends<'take', Prisma.Keys<T>>
1472
+ >,
1473
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1474
+ ? { orderBy: BlockInstanceGroupByArgs['orderBy'] }
1475
+ : { orderBy?: BlockInstanceGroupByArgs['orderBy'] },
1476
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1477
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1478
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1479
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1480
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1481
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1482
+ InputErrors extends ByEmpty extends Prisma.True
1483
+ ? `Error: "by" must not be empty.`
1484
+ : HavingValid extends Prisma.False
1485
+ ? {
1486
+ [P in HavingFields]: P extends ByFields
1487
+ ? never
1488
+ : P extends string
1489
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1490
+ : [
1491
+ Error,
1492
+ 'Field ',
1493
+ P,
1494
+ ` in "having" needs to be provided in "by"`,
1495
+ ]
1496
+ }[HavingFields]
1497
+ : 'take' extends Prisma.Keys<T>
1498
+ ? 'orderBy' extends Prisma.Keys<T>
1499
+ ? ByValid extends Prisma.True
1500
+ ? {}
1501
+ : {
1502
+ [P in OrderFields]: P extends ByFields
1503
+ ? never
1504
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1505
+ }[OrderFields]
1506
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1507
+ : 'skip' extends Prisma.Keys<T>
1508
+ ? 'orderBy' extends Prisma.Keys<T>
1509
+ ? ByValid extends Prisma.True
1510
+ ? {}
1511
+ : {
1512
+ [P in OrderFields]: P extends ByFields
1513
+ ? never
1514
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1515
+ }[OrderFields]
1516
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1517
+ : ByValid extends Prisma.True
1518
+ ? {}
1519
+ : {
1520
+ [P in OrderFields]: P extends ByFields
1521
+ ? never
1522
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1523
+ }[OrderFields]
1524
+ >(args: Prisma.SubsetIntersection<T, BlockInstanceGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetBlockInstanceGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1525
+ /**
1526
+ * Fields of the BlockInstance model
1527
+ */
1528
+ readonly fields: BlockInstanceFieldRefs;
1529
+ }
1530
+
1531
+ /**
1532
+ * The delegate class that acts as a "Promise-like" for BlockInstance.
1533
+ * Why is this prefixed with `Prisma__`?
1534
+ * Because we want to prevent naming conflicts as mentioned in
1535
+ * https://github.com/prisma/prisma-client-js/issues/707
1536
+ */
1537
+ export interface Prisma__BlockInstanceClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1538
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1539
+ page<T extends Prisma.PRDPageDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PRDPageDefaultArgs<ExtArgs>>): Prisma.Prisma__PRDPageClient<runtime.Types.Result.GetResult<Prisma.$PRDPagePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1540
+ block<T extends Prisma.BlockInstance$blockArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BlockInstance$blockArgs<ExtArgs>>): Prisma.Prisma__BlockClient<runtime.Types.Result.GetResult<Prisma.$BlockPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1541
+ instances<T extends Prisma.BlockInstance$instancesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BlockInstance$instancesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ComponentInstancePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1542
+ /**
1543
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1544
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1545
+ * @param onrejected The callback to execute when the Promise is rejected.
1546
+ * @returns A Promise for the completion of which ever callback is executed.
1547
+ */
1548
+ 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>
1549
+ /**
1550
+ * Attaches a callback for only the rejection of the Promise.
1551
+ * @param onrejected The callback to execute when the Promise is rejected.
1552
+ * @returns A Promise for the completion of the callback.
1553
+ */
1554
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1555
+ /**
1556
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1557
+ * resolved value cannot be modified from the callback.
1558
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1559
+ * @returns A Promise for the completion of the callback.
1560
+ */
1561
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1562
+ }
1563
+
1564
+
1565
+
1566
+
1567
+ /**
1568
+ * Fields of the BlockInstance model
1569
+ */
1570
+ export interface BlockInstanceFieldRefs {
1571
+ readonly id: Prisma.FieldRef<"BlockInstance", 'String'>
1572
+ readonly pageId: Prisma.FieldRef<"BlockInstance", 'String'>
1573
+ readonly blockId: Prisma.FieldRef<"BlockInstance", 'String'>
1574
+ readonly name: Prisma.FieldRef<"BlockInstance", 'String'>
1575
+ readonly x: Prisma.FieldRef<"BlockInstance", 'Float'>
1576
+ readonly y: Prisma.FieldRef<"BlockInstance", 'Float'>
1577
+ readonly width: Prisma.FieldRef<"BlockInstance", 'Float'>
1578
+ readonly height: Prisma.FieldRef<"BlockInstance", 'Float'>
1579
+ readonly zIndex: Prisma.FieldRef<"BlockInstance", 'Int'>
1580
+ readonly props: Prisma.FieldRef<"BlockInstance", 'Json'>
1581
+ readonly style: Prisma.FieldRef<"BlockInstance", 'Json'>
1582
+ readonly createdAt: Prisma.FieldRef<"BlockInstance", 'DateTime'>
1583
+ readonly updatedAt: Prisma.FieldRef<"BlockInstance", 'DateTime'>
1584
+ }
1585
+
1586
+
1587
+ // Custom InputTypes
1588
+ /**
1589
+ * BlockInstance findUnique
1590
+ */
1591
+ export type BlockInstanceFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1592
+ /**
1593
+ * Select specific fields to fetch from the BlockInstance
1594
+ */
1595
+ select?: Prisma.BlockInstanceSelect<ExtArgs> | null
1596
+ /**
1597
+ * Omit specific fields from the BlockInstance
1598
+ */
1599
+ omit?: Prisma.BlockInstanceOmit<ExtArgs> | null
1600
+ /**
1601
+ * Choose, which related nodes to fetch as well
1602
+ */
1603
+ include?: Prisma.BlockInstanceInclude<ExtArgs> | null
1604
+ /**
1605
+ * Filter, which BlockInstance to fetch.
1606
+ */
1607
+ where: Prisma.BlockInstanceWhereUniqueInput
1608
+ }
1609
+
1610
+ /**
1611
+ * BlockInstance findUniqueOrThrow
1612
+ */
1613
+ export type BlockInstanceFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1614
+ /**
1615
+ * Select specific fields to fetch from the BlockInstance
1616
+ */
1617
+ select?: Prisma.BlockInstanceSelect<ExtArgs> | null
1618
+ /**
1619
+ * Omit specific fields from the BlockInstance
1620
+ */
1621
+ omit?: Prisma.BlockInstanceOmit<ExtArgs> | null
1622
+ /**
1623
+ * Choose, which related nodes to fetch as well
1624
+ */
1625
+ include?: Prisma.BlockInstanceInclude<ExtArgs> | null
1626
+ /**
1627
+ * Filter, which BlockInstance to fetch.
1628
+ */
1629
+ where: Prisma.BlockInstanceWhereUniqueInput
1630
+ }
1631
+
1632
+ /**
1633
+ * BlockInstance findFirst
1634
+ */
1635
+ export type BlockInstanceFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1636
+ /**
1637
+ * Select specific fields to fetch from the BlockInstance
1638
+ */
1639
+ select?: Prisma.BlockInstanceSelect<ExtArgs> | null
1640
+ /**
1641
+ * Omit specific fields from the BlockInstance
1642
+ */
1643
+ omit?: Prisma.BlockInstanceOmit<ExtArgs> | null
1644
+ /**
1645
+ * Choose, which related nodes to fetch as well
1646
+ */
1647
+ include?: Prisma.BlockInstanceInclude<ExtArgs> | null
1648
+ /**
1649
+ * Filter, which BlockInstance to fetch.
1650
+ */
1651
+ where?: Prisma.BlockInstanceWhereInput
1652
+ /**
1653
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1654
+ *
1655
+ * Determine the order of BlockInstances to fetch.
1656
+ */
1657
+ orderBy?: Prisma.BlockInstanceOrderByWithRelationInput | Prisma.BlockInstanceOrderByWithRelationInput[]
1658
+ /**
1659
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1660
+ *
1661
+ * Sets the position for searching for BlockInstances.
1662
+ */
1663
+ cursor?: Prisma.BlockInstanceWhereUniqueInput
1664
+ /**
1665
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1666
+ *
1667
+ * Take `±n` BlockInstances from the position of the cursor.
1668
+ */
1669
+ take?: number
1670
+ /**
1671
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1672
+ *
1673
+ * Skip the first `n` BlockInstances.
1674
+ */
1675
+ skip?: number
1676
+ /**
1677
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1678
+ *
1679
+ * Filter by unique combinations of BlockInstances.
1680
+ */
1681
+ distinct?: Prisma.BlockInstanceScalarFieldEnum | Prisma.BlockInstanceScalarFieldEnum[]
1682
+ }
1683
+
1684
+ /**
1685
+ * BlockInstance findFirstOrThrow
1686
+ */
1687
+ export type BlockInstanceFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1688
+ /**
1689
+ * Select specific fields to fetch from the BlockInstance
1690
+ */
1691
+ select?: Prisma.BlockInstanceSelect<ExtArgs> | null
1692
+ /**
1693
+ * Omit specific fields from the BlockInstance
1694
+ */
1695
+ omit?: Prisma.BlockInstanceOmit<ExtArgs> | null
1696
+ /**
1697
+ * Choose, which related nodes to fetch as well
1698
+ */
1699
+ include?: Prisma.BlockInstanceInclude<ExtArgs> | null
1700
+ /**
1701
+ * Filter, which BlockInstance to fetch.
1702
+ */
1703
+ where?: Prisma.BlockInstanceWhereInput
1704
+ /**
1705
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1706
+ *
1707
+ * Determine the order of BlockInstances to fetch.
1708
+ */
1709
+ orderBy?: Prisma.BlockInstanceOrderByWithRelationInput | Prisma.BlockInstanceOrderByWithRelationInput[]
1710
+ /**
1711
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1712
+ *
1713
+ * Sets the position for searching for BlockInstances.
1714
+ */
1715
+ cursor?: Prisma.BlockInstanceWhereUniqueInput
1716
+ /**
1717
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1718
+ *
1719
+ * Take `±n` BlockInstances from the position of the cursor.
1720
+ */
1721
+ take?: number
1722
+ /**
1723
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1724
+ *
1725
+ * Skip the first `n` BlockInstances.
1726
+ */
1727
+ skip?: number
1728
+ /**
1729
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1730
+ *
1731
+ * Filter by unique combinations of BlockInstances.
1732
+ */
1733
+ distinct?: Prisma.BlockInstanceScalarFieldEnum | Prisma.BlockInstanceScalarFieldEnum[]
1734
+ }
1735
+
1736
+ /**
1737
+ * BlockInstance findMany
1738
+ */
1739
+ export type BlockInstanceFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1740
+ /**
1741
+ * Select specific fields to fetch from the BlockInstance
1742
+ */
1743
+ select?: Prisma.BlockInstanceSelect<ExtArgs> | null
1744
+ /**
1745
+ * Omit specific fields from the BlockInstance
1746
+ */
1747
+ omit?: Prisma.BlockInstanceOmit<ExtArgs> | null
1748
+ /**
1749
+ * Choose, which related nodes to fetch as well
1750
+ */
1751
+ include?: Prisma.BlockInstanceInclude<ExtArgs> | null
1752
+ /**
1753
+ * Filter, which BlockInstances to fetch.
1754
+ */
1755
+ where?: Prisma.BlockInstanceWhereInput
1756
+ /**
1757
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1758
+ *
1759
+ * Determine the order of BlockInstances to fetch.
1760
+ */
1761
+ orderBy?: Prisma.BlockInstanceOrderByWithRelationInput | Prisma.BlockInstanceOrderByWithRelationInput[]
1762
+ /**
1763
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1764
+ *
1765
+ * Sets the position for listing BlockInstances.
1766
+ */
1767
+ cursor?: Prisma.BlockInstanceWhereUniqueInput
1768
+ /**
1769
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1770
+ *
1771
+ * Take `±n` BlockInstances from the position of the cursor.
1772
+ */
1773
+ take?: number
1774
+ /**
1775
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1776
+ *
1777
+ * Skip the first `n` BlockInstances.
1778
+ */
1779
+ skip?: number
1780
+ /**
1781
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1782
+ *
1783
+ * Filter by unique combinations of BlockInstances.
1784
+ */
1785
+ distinct?: Prisma.BlockInstanceScalarFieldEnum | Prisma.BlockInstanceScalarFieldEnum[]
1786
+ }
1787
+
1788
+ /**
1789
+ * BlockInstance create
1790
+ */
1791
+ export type BlockInstanceCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1792
+ /**
1793
+ * Select specific fields to fetch from the BlockInstance
1794
+ */
1795
+ select?: Prisma.BlockInstanceSelect<ExtArgs> | null
1796
+ /**
1797
+ * Omit specific fields from the BlockInstance
1798
+ */
1799
+ omit?: Prisma.BlockInstanceOmit<ExtArgs> | null
1800
+ /**
1801
+ * Choose, which related nodes to fetch as well
1802
+ */
1803
+ include?: Prisma.BlockInstanceInclude<ExtArgs> | null
1804
+ /**
1805
+ * The data needed to create a BlockInstance.
1806
+ */
1807
+ data: Prisma.XOR<Prisma.BlockInstanceCreateInput, Prisma.BlockInstanceUncheckedCreateInput>
1808
+ }
1809
+
1810
+ /**
1811
+ * BlockInstance createMany
1812
+ */
1813
+ export type BlockInstanceCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1814
+ /**
1815
+ * The data used to create many BlockInstances.
1816
+ */
1817
+ data: Prisma.BlockInstanceCreateManyInput | Prisma.BlockInstanceCreateManyInput[]
1818
+ skipDuplicates?: boolean
1819
+ }
1820
+
1821
+ /**
1822
+ * BlockInstance createManyAndReturn
1823
+ */
1824
+ export type BlockInstanceCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1825
+ /**
1826
+ * Select specific fields to fetch from the BlockInstance
1827
+ */
1828
+ select?: Prisma.BlockInstanceSelectCreateManyAndReturn<ExtArgs> | null
1829
+ /**
1830
+ * Omit specific fields from the BlockInstance
1831
+ */
1832
+ omit?: Prisma.BlockInstanceOmit<ExtArgs> | null
1833
+ /**
1834
+ * The data used to create many BlockInstances.
1835
+ */
1836
+ data: Prisma.BlockInstanceCreateManyInput | Prisma.BlockInstanceCreateManyInput[]
1837
+ skipDuplicates?: boolean
1838
+ /**
1839
+ * Choose, which related nodes to fetch as well
1840
+ */
1841
+ include?: Prisma.BlockInstanceIncludeCreateManyAndReturn<ExtArgs> | null
1842
+ }
1843
+
1844
+ /**
1845
+ * BlockInstance update
1846
+ */
1847
+ export type BlockInstanceUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1848
+ /**
1849
+ * Select specific fields to fetch from the BlockInstance
1850
+ */
1851
+ select?: Prisma.BlockInstanceSelect<ExtArgs> | null
1852
+ /**
1853
+ * Omit specific fields from the BlockInstance
1854
+ */
1855
+ omit?: Prisma.BlockInstanceOmit<ExtArgs> | null
1856
+ /**
1857
+ * Choose, which related nodes to fetch as well
1858
+ */
1859
+ include?: Prisma.BlockInstanceInclude<ExtArgs> | null
1860
+ /**
1861
+ * The data needed to update a BlockInstance.
1862
+ */
1863
+ data: Prisma.XOR<Prisma.BlockInstanceUpdateInput, Prisma.BlockInstanceUncheckedUpdateInput>
1864
+ /**
1865
+ * Choose, which BlockInstance to update.
1866
+ */
1867
+ where: Prisma.BlockInstanceWhereUniqueInput
1868
+ }
1869
+
1870
+ /**
1871
+ * BlockInstance updateMany
1872
+ */
1873
+ export type BlockInstanceUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1874
+ /**
1875
+ * The data used to update BlockInstances.
1876
+ */
1877
+ data: Prisma.XOR<Prisma.BlockInstanceUpdateManyMutationInput, Prisma.BlockInstanceUncheckedUpdateManyInput>
1878
+ /**
1879
+ * Filter which BlockInstances to update
1880
+ */
1881
+ where?: Prisma.BlockInstanceWhereInput
1882
+ /**
1883
+ * Limit how many BlockInstances to update.
1884
+ */
1885
+ limit?: number
1886
+ }
1887
+
1888
+ /**
1889
+ * BlockInstance updateManyAndReturn
1890
+ */
1891
+ export type BlockInstanceUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1892
+ /**
1893
+ * Select specific fields to fetch from the BlockInstance
1894
+ */
1895
+ select?: Prisma.BlockInstanceSelectUpdateManyAndReturn<ExtArgs> | null
1896
+ /**
1897
+ * Omit specific fields from the BlockInstance
1898
+ */
1899
+ omit?: Prisma.BlockInstanceOmit<ExtArgs> | null
1900
+ /**
1901
+ * The data used to update BlockInstances.
1902
+ */
1903
+ data: Prisma.XOR<Prisma.BlockInstanceUpdateManyMutationInput, Prisma.BlockInstanceUncheckedUpdateManyInput>
1904
+ /**
1905
+ * Filter which BlockInstances to update
1906
+ */
1907
+ where?: Prisma.BlockInstanceWhereInput
1908
+ /**
1909
+ * Limit how many BlockInstances to update.
1910
+ */
1911
+ limit?: number
1912
+ /**
1913
+ * Choose, which related nodes to fetch as well
1914
+ */
1915
+ include?: Prisma.BlockInstanceIncludeUpdateManyAndReturn<ExtArgs> | null
1916
+ }
1917
+
1918
+ /**
1919
+ * BlockInstance upsert
1920
+ */
1921
+ export type BlockInstanceUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1922
+ /**
1923
+ * Select specific fields to fetch from the BlockInstance
1924
+ */
1925
+ select?: Prisma.BlockInstanceSelect<ExtArgs> | null
1926
+ /**
1927
+ * Omit specific fields from the BlockInstance
1928
+ */
1929
+ omit?: Prisma.BlockInstanceOmit<ExtArgs> | null
1930
+ /**
1931
+ * Choose, which related nodes to fetch as well
1932
+ */
1933
+ include?: Prisma.BlockInstanceInclude<ExtArgs> | null
1934
+ /**
1935
+ * The filter to search for the BlockInstance to update in case it exists.
1936
+ */
1937
+ where: Prisma.BlockInstanceWhereUniqueInput
1938
+ /**
1939
+ * In case the BlockInstance found by the `where` argument doesn't exist, create a new BlockInstance with this data.
1940
+ */
1941
+ create: Prisma.XOR<Prisma.BlockInstanceCreateInput, Prisma.BlockInstanceUncheckedCreateInput>
1942
+ /**
1943
+ * In case the BlockInstance was found with the provided `where` argument, update it with this data.
1944
+ */
1945
+ update: Prisma.XOR<Prisma.BlockInstanceUpdateInput, Prisma.BlockInstanceUncheckedUpdateInput>
1946
+ }
1947
+
1948
+ /**
1949
+ * BlockInstance delete
1950
+ */
1951
+ export type BlockInstanceDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1952
+ /**
1953
+ * Select specific fields to fetch from the BlockInstance
1954
+ */
1955
+ select?: Prisma.BlockInstanceSelect<ExtArgs> | null
1956
+ /**
1957
+ * Omit specific fields from the BlockInstance
1958
+ */
1959
+ omit?: Prisma.BlockInstanceOmit<ExtArgs> | null
1960
+ /**
1961
+ * Choose, which related nodes to fetch as well
1962
+ */
1963
+ include?: Prisma.BlockInstanceInclude<ExtArgs> | null
1964
+ /**
1965
+ * Filter which BlockInstance to delete.
1966
+ */
1967
+ where: Prisma.BlockInstanceWhereUniqueInput
1968
+ }
1969
+
1970
+ /**
1971
+ * BlockInstance deleteMany
1972
+ */
1973
+ export type BlockInstanceDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1974
+ /**
1975
+ * Filter which BlockInstances to delete
1976
+ */
1977
+ where?: Prisma.BlockInstanceWhereInput
1978
+ /**
1979
+ * Limit how many BlockInstances to delete.
1980
+ */
1981
+ limit?: number
1982
+ }
1983
+
1984
+ /**
1985
+ * BlockInstance.block
1986
+ */
1987
+ export type BlockInstance$blockArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1988
+ /**
1989
+ * Select specific fields to fetch from the Block
1990
+ */
1991
+ select?: Prisma.BlockSelect<ExtArgs> | null
1992
+ /**
1993
+ * Omit specific fields from the Block
1994
+ */
1995
+ omit?: Prisma.BlockOmit<ExtArgs> | null
1996
+ /**
1997
+ * Choose, which related nodes to fetch as well
1998
+ */
1999
+ include?: Prisma.BlockInclude<ExtArgs> | null
2000
+ where?: Prisma.BlockWhereInput
2001
+ }
2002
+
2003
+ /**
2004
+ * BlockInstance.instances
2005
+ */
2006
+ export type BlockInstance$instancesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2007
+ /**
2008
+ * Select specific fields to fetch from the ComponentInstance
2009
+ */
2010
+ select?: Prisma.ComponentInstanceSelect<ExtArgs> | null
2011
+ /**
2012
+ * Omit specific fields from the ComponentInstance
2013
+ */
2014
+ omit?: Prisma.ComponentInstanceOmit<ExtArgs> | null
2015
+ /**
2016
+ * Choose, which related nodes to fetch as well
2017
+ */
2018
+ include?: Prisma.ComponentInstanceInclude<ExtArgs> | null
2019
+ where?: Prisma.ComponentInstanceWhereInput
2020
+ orderBy?: Prisma.ComponentInstanceOrderByWithRelationInput | Prisma.ComponentInstanceOrderByWithRelationInput[]
2021
+ cursor?: Prisma.ComponentInstanceWhereUniqueInput
2022
+ take?: number
2023
+ skip?: number
2024
+ distinct?: Prisma.ComponentInstanceScalarFieldEnum | Prisma.ComponentInstanceScalarFieldEnum[]
2025
+ }
2026
+
2027
+ /**
2028
+ * BlockInstance without action
2029
+ */
2030
+ export type BlockInstanceDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2031
+ /**
2032
+ * Select specific fields to fetch from the BlockInstance
2033
+ */
2034
+ select?: Prisma.BlockInstanceSelect<ExtArgs> | null
2035
+ /**
2036
+ * Omit specific fields from the BlockInstance
2037
+ */
2038
+ omit?: Prisma.BlockInstanceOmit<ExtArgs> | null
2039
+ /**
2040
+ * Choose, which related nodes to fetch as well
2041
+ */
2042
+ include?: Prisma.BlockInstanceInclude<ExtArgs> | null
2043
+ }