@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,2039 @@
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
+ }
706
+
707
+ export type BlockInstanceUpsertWithWhereUniqueWithoutBlockInput = {
708
+ where: Prisma.BlockInstanceWhereUniqueInput
709
+ update: Prisma.XOR<Prisma.BlockInstanceUpdateWithoutBlockInput, Prisma.BlockInstanceUncheckedUpdateWithoutBlockInput>
710
+ create: Prisma.XOR<Prisma.BlockInstanceCreateWithoutBlockInput, Prisma.BlockInstanceUncheckedCreateWithoutBlockInput>
711
+ }
712
+
713
+ export type BlockInstanceUpdateWithWhereUniqueWithoutBlockInput = {
714
+ where: Prisma.BlockInstanceWhereUniqueInput
715
+ data: Prisma.XOR<Prisma.BlockInstanceUpdateWithoutBlockInput, Prisma.BlockInstanceUncheckedUpdateWithoutBlockInput>
716
+ }
717
+
718
+ export type BlockInstanceUpdateManyWithWhereWithoutBlockInput = {
719
+ where: Prisma.BlockInstanceScalarWhereInput
720
+ data: Prisma.XOR<Prisma.BlockInstanceUpdateManyMutationInput, Prisma.BlockInstanceUncheckedUpdateManyWithoutBlockInput>
721
+ }
722
+
723
+ export type BlockInstanceScalarWhereInput = {
724
+ AND?: Prisma.BlockInstanceScalarWhereInput | Prisma.BlockInstanceScalarWhereInput[]
725
+ OR?: Prisma.BlockInstanceScalarWhereInput[]
726
+ NOT?: Prisma.BlockInstanceScalarWhereInput | Prisma.BlockInstanceScalarWhereInput[]
727
+ id?: Prisma.StringFilter<"BlockInstance"> | string
728
+ pageId?: Prisma.StringFilter<"BlockInstance"> | string
729
+ blockId?: Prisma.StringNullableFilter<"BlockInstance"> | string | null
730
+ name?: Prisma.StringNullableFilter<"BlockInstance"> | string | null
731
+ x?: Prisma.FloatFilter<"BlockInstance"> | number
732
+ y?: Prisma.FloatFilter<"BlockInstance"> | number
733
+ width?: Prisma.FloatFilter<"BlockInstance"> | number
734
+ height?: Prisma.FloatFilter<"BlockInstance"> | number
735
+ zIndex?: Prisma.IntFilter<"BlockInstance"> | number
736
+ props?: Prisma.JsonNullableFilter<"BlockInstance">
737
+ style?: Prisma.JsonNullableFilter<"BlockInstance">
738
+ createdAt?: Prisma.DateTimeFilter<"BlockInstance"> | Date | string
739
+ updatedAt?: Prisma.DateTimeFilter<"BlockInstance"> | Date | string
740
+ }
741
+
742
+ export type BlockInstanceCreateWithoutPageInput = {
743
+ id?: string
744
+ name?: string | null
745
+ x?: number
746
+ y?: number
747
+ width?: number
748
+ height?: number
749
+ zIndex?: number
750
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
751
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
752
+ createdAt?: Date | string
753
+ updatedAt?: Date | string
754
+ block?: Prisma.BlockCreateNestedOneWithoutInstancesInput
755
+ instances?: Prisma.ComponentInstanceCreateNestedManyWithoutBlockInstanceInput
756
+ }
757
+
758
+ export type BlockInstanceUncheckedCreateWithoutPageInput = {
759
+ id?: string
760
+ blockId?: string | null
761
+ name?: string | null
762
+ x?: number
763
+ y?: number
764
+ width?: number
765
+ height?: number
766
+ zIndex?: number
767
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
768
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
769
+ createdAt?: Date | string
770
+ updatedAt?: Date | string
771
+ instances?: Prisma.ComponentInstanceUncheckedCreateNestedManyWithoutBlockInstanceInput
772
+ }
773
+
774
+ export type BlockInstanceCreateOrConnectWithoutPageInput = {
775
+ where: Prisma.BlockInstanceWhereUniqueInput
776
+ create: Prisma.XOR<Prisma.BlockInstanceCreateWithoutPageInput, Prisma.BlockInstanceUncheckedCreateWithoutPageInput>
777
+ }
778
+
779
+ export type BlockInstanceCreateManyPageInputEnvelope = {
780
+ data: Prisma.BlockInstanceCreateManyPageInput | Prisma.BlockInstanceCreateManyPageInput[]
781
+ }
782
+
783
+ export type BlockInstanceUpsertWithWhereUniqueWithoutPageInput = {
784
+ where: Prisma.BlockInstanceWhereUniqueInput
785
+ update: Prisma.XOR<Prisma.BlockInstanceUpdateWithoutPageInput, Prisma.BlockInstanceUncheckedUpdateWithoutPageInput>
786
+ create: Prisma.XOR<Prisma.BlockInstanceCreateWithoutPageInput, Prisma.BlockInstanceUncheckedCreateWithoutPageInput>
787
+ }
788
+
789
+ export type BlockInstanceUpdateWithWhereUniqueWithoutPageInput = {
790
+ where: Prisma.BlockInstanceWhereUniqueInput
791
+ data: Prisma.XOR<Prisma.BlockInstanceUpdateWithoutPageInput, Prisma.BlockInstanceUncheckedUpdateWithoutPageInput>
792
+ }
793
+
794
+ export type BlockInstanceUpdateManyWithWhereWithoutPageInput = {
795
+ where: Prisma.BlockInstanceScalarWhereInput
796
+ data: Prisma.XOR<Prisma.BlockInstanceUpdateManyMutationInput, Prisma.BlockInstanceUncheckedUpdateManyWithoutPageInput>
797
+ }
798
+
799
+ export type BlockInstanceCreateWithoutInstancesInput = {
800
+ id?: string
801
+ name?: string | null
802
+ x?: number
803
+ y?: number
804
+ width?: number
805
+ height?: number
806
+ zIndex?: number
807
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
808
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
809
+ createdAt?: Date | string
810
+ updatedAt?: Date | string
811
+ page: Prisma.PRDPageCreateNestedOneWithoutBlockInstancesInput
812
+ block?: Prisma.BlockCreateNestedOneWithoutInstancesInput
813
+ }
814
+
815
+ export type BlockInstanceUncheckedCreateWithoutInstancesInput = {
816
+ id?: string
817
+ pageId: string
818
+ blockId?: string | null
819
+ name?: string | null
820
+ x?: number
821
+ y?: number
822
+ width?: number
823
+ height?: number
824
+ zIndex?: number
825
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
826
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
827
+ createdAt?: Date | string
828
+ updatedAt?: Date | string
829
+ }
830
+
831
+ export type BlockInstanceCreateOrConnectWithoutInstancesInput = {
832
+ where: Prisma.BlockInstanceWhereUniqueInput
833
+ create: Prisma.XOR<Prisma.BlockInstanceCreateWithoutInstancesInput, Prisma.BlockInstanceUncheckedCreateWithoutInstancesInput>
834
+ }
835
+
836
+ export type BlockInstanceUpsertWithoutInstancesInput = {
837
+ update: Prisma.XOR<Prisma.BlockInstanceUpdateWithoutInstancesInput, Prisma.BlockInstanceUncheckedUpdateWithoutInstancesInput>
838
+ create: Prisma.XOR<Prisma.BlockInstanceCreateWithoutInstancesInput, Prisma.BlockInstanceUncheckedCreateWithoutInstancesInput>
839
+ where?: Prisma.BlockInstanceWhereInput
840
+ }
841
+
842
+ export type BlockInstanceUpdateToOneWithWhereWithoutInstancesInput = {
843
+ where?: Prisma.BlockInstanceWhereInput
844
+ data: Prisma.XOR<Prisma.BlockInstanceUpdateWithoutInstancesInput, Prisma.BlockInstanceUncheckedUpdateWithoutInstancesInput>
845
+ }
846
+
847
+ export type BlockInstanceUpdateWithoutInstancesInput = {
848
+ id?: Prisma.StringFieldUpdateOperationsInput | string
849
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
850
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
851
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
852
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
853
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
854
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
855
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
856
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
857
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
858
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
859
+ page?: Prisma.PRDPageUpdateOneRequiredWithoutBlockInstancesNestedInput
860
+ block?: Prisma.BlockUpdateOneWithoutInstancesNestedInput
861
+ }
862
+
863
+ export type BlockInstanceUncheckedUpdateWithoutInstancesInput = {
864
+ id?: Prisma.StringFieldUpdateOperationsInput | string
865
+ pageId?: Prisma.StringFieldUpdateOperationsInput | string
866
+ blockId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
867
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
868
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
869
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
870
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
871
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
872
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
873
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
874
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
875
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
876
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
877
+ }
878
+
879
+ export type BlockInstanceCreateManyBlockInput = {
880
+ id?: string
881
+ pageId: string
882
+ name?: string | null
883
+ x?: number
884
+ y?: number
885
+ width?: number
886
+ height?: number
887
+ zIndex?: number
888
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
889
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
890
+ createdAt?: Date | string
891
+ updatedAt?: Date | string
892
+ }
893
+
894
+ export type BlockInstanceUpdateWithoutBlockInput = {
895
+ id?: Prisma.StringFieldUpdateOperationsInput | string
896
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
897
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
898
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
899
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
900
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
901
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
902
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
903
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
904
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
905
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
906
+ page?: Prisma.PRDPageUpdateOneRequiredWithoutBlockInstancesNestedInput
907
+ instances?: Prisma.ComponentInstanceUpdateManyWithoutBlockInstanceNestedInput
908
+ }
909
+
910
+ export type BlockInstanceUncheckedUpdateWithoutBlockInput = {
911
+ id?: Prisma.StringFieldUpdateOperationsInput | string
912
+ pageId?: Prisma.StringFieldUpdateOperationsInput | string
913
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
914
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
915
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
916
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
917
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
918
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
919
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
920
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
921
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
922
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
923
+ instances?: Prisma.ComponentInstanceUncheckedUpdateManyWithoutBlockInstanceNestedInput
924
+ }
925
+
926
+ export type BlockInstanceUncheckedUpdateManyWithoutBlockInput = {
927
+ id?: Prisma.StringFieldUpdateOperationsInput | string
928
+ pageId?: Prisma.StringFieldUpdateOperationsInput | string
929
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
930
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
931
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
932
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
933
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
934
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
935
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
936
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
937
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
938
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
939
+ }
940
+
941
+ export type BlockInstanceCreateManyPageInput = {
942
+ id?: string
943
+ blockId?: string | null
944
+ name?: string | null
945
+ x?: number
946
+ y?: number
947
+ width?: number
948
+ height?: number
949
+ zIndex?: number
950
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
951
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
952
+ createdAt?: Date | string
953
+ updatedAt?: Date | string
954
+ }
955
+
956
+ export type BlockInstanceUpdateWithoutPageInput = {
957
+ id?: Prisma.StringFieldUpdateOperationsInput | string
958
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
959
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
960
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
961
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
962
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
963
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
964
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
965
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
966
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
967
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
968
+ block?: Prisma.BlockUpdateOneWithoutInstancesNestedInput
969
+ instances?: Prisma.ComponentInstanceUpdateManyWithoutBlockInstanceNestedInput
970
+ }
971
+
972
+ export type BlockInstanceUncheckedUpdateWithoutPageInput = {
973
+ id?: Prisma.StringFieldUpdateOperationsInput | string
974
+ blockId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
975
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
976
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
977
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
978
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
979
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
980
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
981
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
982
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
983
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
984
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
985
+ instances?: Prisma.ComponentInstanceUncheckedUpdateManyWithoutBlockInstanceNestedInput
986
+ }
987
+
988
+ export type BlockInstanceUncheckedUpdateManyWithoutPageInput = {
989
+ id?: Prisma.StringFieldUpdateOperationsInput | string
990
+ blockId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
991
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
992
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
993
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
994
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
995
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
996
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
997
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
998
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
999
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1000
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1001
+ }
1002
+
1003
+
1004
+ /**
1005
+ * Count Type BlockInstanceCountOutputType
1006
+ */
1007
+
1008
+ export type BlockInstanceCountOutputType = {
1009
+ instances: number
1010
+ }
1011
+
1012
+ export type BlockInstanceCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1013
+ instances?: boolean | BlockInstanceCountOutputTypeCountInstancesArgs
1014
+ }
1015
+
1016
+ /**
1017
+ * BlockInstanceCountOutputType without action
1018
+ */
1019
+ export type BlockInstanceCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1020
+ /**
1021
+ * Select specific fields to fetch from the BlockInstanceCountOutputType
1022
+ */
1023
+ select?: Prisma.BlockInstanceCountOutputTypeSelect<ExtArgs> | null
1024
+ }
1025
+
1026
+ /**
1027
+ * BlockInstanceCountOutputType without action
1028
+ */
1029
+ export type BlockInstanceCountOutputTypeCountInstancesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1030
+ where?: Prisma.ComponentInstanceWhereInput
1031
+ }
1032
+
1033
+
1034
+ export type BlockInstanceSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1035
+ id?: boolean
1036
+ pageId?: boolean
1037
+ blockId?: boolean
1038
+ name?: boolean
1039
+ x?: boolean
1040
+ y?: boolean
1041
+ width?: boolean
1042
+ height?: boolean
1043
+ zIndex?: boolean
1044
+ props?: boolean
1045
+ style?: boolean
1046
+ createdAt?: boolean
1047
+ updatedAt?: boolean
1048
+ page?: boolean | Prisma.PRDPageDefaultArgs<ExtArgs>
1049
+ block?: boolean | Prisma.BlockInstance$blockArgs<ExtArgs>
1050
+ instances?: boolean | Prisma.BlockInstance$instancesArgs<ExtArgs>
1051
+ _count?: boolean | Prisma.BlockInstanceCountOutputTypeDefaultArgs<ExtArgs>
1052
+ }, ExtArgs["result"]["blockInstance"]>
1053
+
1054
+ export type BlockInstanceSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1055
+ id?: boolean
1056
+ pageId?: boolean
1057
+ blockId?: boolean
1058
+ name?: boolean
1059
+ x?: boolean
1060
+ y?: boolean
1061
+ width?: boolean
1062
+ height?: boolean
1063
+ zIndex?: boolean
1064
+ props?: boolean
1065
+ style?: boolean
1066
+ createdAt?: boolean
1067
+ updatedAt?: boolean
1068
+ page?: boolean | Prisma.PRDPageDefaultArgs<ExtArgs>
1069
+ block?: boolean | Prisma.BlockInstance$blockArgs<ExtArgs>
1070
+ }, ExtArgs["result"]["blockInstance"]>
1071
+
1072
+ export type BlockInstanceSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1073
+ id?: boolean
1074
+ pageId?: boolean
1075
+ blockId?: boolean
1076
+ name?: boolean
1077
+ x?: boolean
1078
+ y?: boolean
1079
+ width?: boolean
1080
+ height?: boolean
1081
+ zIndex?: boolean
1082
+ props?: boolean
1083
+ style?: boolean
1084
+ createdAt?: boolean
1085
+ updatedAt?: boolean
1086
+ page?: boolean | Prisma.PRDPageDefaultArgs<ExtArgs>
1087
+ block?: boolean | Prisma.BlockInstance$blockArgs<ExtArgs>
1088
+ }, ExtArgs["result"]["blockInstance"]>
1089
+
1090
+ export type BlockInstanceSelectScalar = {
1091
+ id?: boolean
1092
+ pageId?: boolean
1093
+ blockId?: boolean
1094
+ name?: boolean
1095
+ x?: boolean
1096
+ y?: boolean
1097
+ width?: boolean
1098
+ height?: boolean
1099
+ zIndex?: boolean
1100
+ props?: boolean
1101
+ style?: boolean
1102
+ createdAt?: boolean
1103
+ updatedAt?: boolean
1104
+ }
1105
+
1106
+ 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"]>
1107
+ export type BlockInstanceInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1108
+ page?: boolean | Prisma.PRDPageDefaultArgs<ExtArgs>
1109
+ block?: boolean | Prisma.BlockInstance$blockArgs<ExtArgs>
1110
+ instances?: boolean | Prisma.BlockInstance$instancesArgs<ExtArgs>
1111
+ _count?: boolean | Prisma.BlockInstanceCountOutputTypeDefaultArgs<ExtArgs>
1112
+ }
1113
+ export type BlockInstanceIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1114
+ page?: boolean | Prisma.PRDPageDefaultArgs<ExtArgs>
1115
+ block?: boolean | Prisma.BlockInstance$blockArgs<ExtArgs>
1116
+ }
1117
+ export type BlockInstanceIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1118
+ page?: boolean | Prisma.PRDPageDefaultArgs<ExtArgs>
1119
+ block?: boolean | Prisma.BlockInstance$blockArgs<ExtArgs>
1120
+ }
1121
+
1122
+ export type $BlockInstancePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1123
+ name: "BlockInstance"
1124
+ objects: {
1125
+ page: Prisma.$PRDPagePayload<ExtArgs>
1126
+ block: Prisma.$BlockPayload<ExtArgs> | null
1127
+ instances: Prisma.$ComponentInstancePayload<ExtArgs>[]
1128
+ }
1129
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
1130
+ id: string
1131
+ pageId: string
1132
+ blockId: string | null
1133
+ name: string | null
1134
+ x: number
1135
+ y: number
1136
+ width: number
1137
+ height: number
1138
+ zIndex: number
1139
+ props: runtime.JsonValue | null
1140
+ style: runtime.JsonValue | null
1141
+ createdAt: Date
1142
+ updatedAt: Date
1143
+ }, ExtArgs["result"]["blockInstance"]>
1144
+ composites: {}
1145
+ }
1146
+
1147
+ export type BlockInstanceGetPayload<S extends boolean | null | undefined | BlockInstanceDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$BlockInstancePayload, S>
1148
+
1149
+ export type BlockInstanceCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1150
+ Omit<BlockInstanceFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1151
+ select?: BlockInstanceCountAggregateInputType | true
1152
+ }
1153
+
1154
+ export interface BlockInstanceDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1155
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['BlockInstance'], meta: { name: 'BlockInstance' } }
1156
+ /**
1157
+ * Find zero or one BlockInstance that matches the filter.
1158
+ * @param {BlockInstanceFindUniqueArgs} args - Arguments to find a BlockInstance
1159
+ * @example
1160
+ * // Get one BlockInstance
1161
+ * const blockInstance = await prisma.blockInstance.findUnique({
1162
+ * where: {
1163
+ * // ... provide filter here
1164
+ * }
1165
+ * })
1166
+ */
1167
+ 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>
1168
+
1169
+ /**
1170
+ * Find one BlockInstance that matches the filter or throw an error with `error.code='P2025'`
1171
+ * if no matches were found.
1172
+ * @param {BlockInstanceFindUniqueOrThrowArgs} args - Arguments to find a BlockInstance
1173
+ * @example
1174
+ * // Get one BlockInstance
1175
+ * const blockInstance = await prisma.blockInstance.findUniqueOrThrow({
1176
+ * where: {
1177
+ * // ... provide filter here
1178
+ * }
1179
+ * })
1180
+ */
1181
+ 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>
1182
+
1183
+ /**
1184
+ * Find the first BlockInstance that matches the filter.
1185
+ * Note, that providing `undefined` is treated as the value not being there.
1186
+ * Read more here: https://pris.ly/d/null-undefined
1187
+ * @param {BlockInstanceFindFirstArgs} args - Arguments to find a BlockInstance
1188
+ * @example
1189
+ * // Get one BlockInstance
1190
+ * const blockInstance = await prisma.blockInstance.findFirst({
1191
+ * where: {
1192
+ * // ... provide filter here
1193
+ * }
1194
+ * })
1195
+ */
1196
+ 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>
1197
+
1198
+ /**
1199
+ * Find the first BlockInstance that matches the filter or
1200
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1201
+ * Note, that providing `undefined` is treated as the value not being there.
1202
+ * Read more here: https://pris.ly/d/null-undefined
1203
+ * @param {BlockInstanceFindFirstOrThrowArgs} args - Arguments to find a BlockInstance
1204
+ * @example
1205
+ * // Get one BlockInstance
1206
+ * const blockInstance = await prisma.blockInstance.findFirstOrThrow({
1207
+ * where: {
1208
+ * // ... provide filter here
1209
+ * }
1210
+ * })
1211
+ */
1212
+ 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>
1213
+
1214
+ /**
1215
+ * Find zero or more BlockInstances that matches the filter.
1216
+ * Note, that providing `undefined` is treated as the value not being there.
1217
+ * Read more here: https://pris.ly/d/null-undefined
1218
+ * @param {BlockInstanceFindManyArgs} args - Arguments to filter and select certain fields only.
1219
+ * @example
1220
+ * // Get all BlockInstances
1221
+ * const blockInstances = await prisma.blockInstance.findMany()
1222
+ *
1223
+ * // Get first 10 BlockInstances
1224
+ * const blockInstances = await prisma.blockInstance.findMany({ take: 10 })
1225
+ *
1226
+ * // Only select the `id`
1227
+ * const blockInstanceWithIdOnly = await prisma.blockInstance.findMany({ select: { id: true } })
1228
+ *
1229
+ */
1230
+ findMany<T extends BlockInstanceFindManyArgs>(args?: Prisma.SelectSubset<T, BlockInstanceFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BlockInstancePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1231
+
1232
+ /**
1233
+ * Create a BlockInstance.
1234
+ * @param {BlockInstanceCreateArgs} args - Arguments to create a BlockInstance.
1235
+ * @example
1236
+ * // Create one BlockInstance
1237
+ * const BlockInstance = await prisma.blockInstance.create({
1238
+ * data: {
1239
+ * // ... data to create a BlockInstance
1240
+ * }
1241
+ * })
1242
+ *
1243
+ */
1244
+ 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>
1245
+
1246
+ /**
1247
+ * Create many BlockInstances.
1248
+ * @param {BlockInstanceCreateManyArgs} args - Arguments to create many BlockInstances.
1249
+ * @example
1250
+ * // Create many BlockInstances
1251
+ * const blockInstance = await prisma.blockInstance.createMany({
1252
+ * data: [
1253
+ * // ... provide data here
1254
+ * ]
1255
+ * })
1256
+ *
1257
+ */
1258
+ createMany<T extends BlockInstanceCreateManyArgs>(args?: Prisma.SelectSubset<T, BlockInstanceCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1259
+
1260
+ /**
1261
+ * Create many BlockInstances and returns the data saved in the database.
1262
+ * @param {BlockInstanceCreateManyAndReturnArgs} args - Arguments to create many BlockInstances.
1263
+ * @example
1264
+ * // Create many BlockInstances
1265
+ * const blockInstance = await prisma.blockInstance.createManyAndReturn({
1266
+ * data: [
1267
+ * // ... provide data here
1268
+ * ]
1269
+ * })
1270
+ *
1271
+ * // Create many BlockInstances and only return the `id`
1272
+ * const blockInstanceWithIdOnly = await prisma.blockInstance.createManyAndReturn({
1273
+ * select: { id: true },
1274
+ * data: [
1275
+ * // ... provide data here
1276
+ * ]
1277
+ * })
1278
+ * Note, that providing `undefined` is treated as the value not being there.
1279
+ * Read more here: https://pris.ly/d/null-undefined
1280
+ *
1281
+ */
1282
+ createManyAndReturn<T extends BlockInstanceCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, BlockInstanceCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BlockInstancePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1283
+
1284
+ /**
1285
+ * Delete a BlockInstance.
1286
+ * @param {BlockInstanceDeleteArgs} args - Arguments to delete one BlockInstance.
1287
+ * @example
1288
+ * // Delete one BlockInstance
1289
+ * const BlockInstance = await prisma.blockInstance.delete({
1290
+ * where: {
1291
+ * // ... filter to delete one BlockInstance
1292
+ * }
1293
+ * })
1294
+ *
1295
+ */
1296
+ 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>
1297
+
1298
+ /**
1299
+ * Update one BlockInstance.
1300
+ * @param {BlockInstanceUpdateArgs} args - Arguments to update one BlockInstance.
1301
+ * @example
1302
+ * // Update one BlockInstance
1303
+ * const blockInstance = await prisma.blockInstance.update({
1304
+ * where: {
1305
+ * // ... provide filter here
1306
+ * },
1307
+ * data: {
1308
+ * // ... provide data here
1309
+ * }
1310
+ * })
1311
+ *
1312
+ */
1313
+ 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>
1314
+
1315
+ /**
1316
+ * Delete zero or more BlockInstances.
1317
+ * @param {BlockInstanceDeleteManyArgs} args - Arguments to filter BlockInstances to delete.
1318
+ * @example
1319
+ * // Delete a few BlockInstances
1320
+ * const { count } = await prisma.blockInstance.deleteMany({
1321
+ * where: {
1322
+ * // ... provide filter here
1323
+ * }
1324
+ * })
1325
+ *
1326
+ */
1327
+ deleteMany<T extends BlockInstanceDeleteManyArgs>(args?: Prisma.SelectSubset<T, BlockInstanceDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1328
+
1329
+ /**
1330
+ * Update zero or more BlockInstances.
1331
+ * Note, that providing `undefined` is treated as the value not being there.
1332
+ * Read more here: https://pris.ly/d/null-undefined
1333
+ * @param {BlockInstanceUpdateManyArgs} args - Arguments to update one or more rows.
1334
+ * @example
1335
+ * // Update many BlockInstances
1336
+ * const blockInstance = await prisma.blockInstance.updateMany({
1337
+ * where: {
1338
+ * // ... provide filter here
1339
+ * },
1340
+ * data: {
1341
+ * // ... provide data here
1342
+ * }
1343
+ * })
1344
+ *
1345
+ */
1346
+ updateMany<T extends BlockInstanceUpdateManyArgs>(args: Prisma.SelectSubset<T, BlockInstanceUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1347
+
1348
+ /**
1349
+ * Update zero or more BlockInstances and returns the data updated in the database.
1350
+ * @param {BlockInstanceUpdateManyAndReturnArgs} args - Arguments to update many BlockInstances.
1351
+ * @example
1352
+ * // Update many BlockInstances
1353
+ * const blockInstance = await prisma.blockInstance.updateManyAndReturn({
1354
+ * where: {
1355
+ * // ... provide filter here
1356
+ * },
1357
+ * data: [
1358
+ * // ... provide data here
1359
+ * ]
1360
+ * })
1361
+ *
1362
+ * // Update zero or more BlockInstances and only return the `id`
1363
+ * const blockInstanceWithIdOnly = await prisma.blockInstance.updateManyAndReturn({
1364
+ * select: { id: true },
1365
+ * where: {
1366
+ * // ... provide filter here
1367
+ * },
1368
+ * data: [
1369
+ * // ... provide data here
1370
+ * ]
1371
+ * })
1372
+ * Note, that providing `undefined` is treated as the value not being there.
1373
+ * Read more here: https://pris.ly/d/null-undefined
1374
+ *
1375
+ */
1376
+ updateManyAndReturn<T extends BlockInstanceUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, BlockInstanceUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BlockInstancePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1377
+
1378
+ /**
1379
+ * Create or update one BlockInstance.
1380
+ * @param {BlockInstanceUpsertArgs} args - Arguments to update or create a BlockInstance.
1381
+ * @example
1382
+ * // Update or create a BlockInstance
1383
+ * const blockInstance = await prisma.blockInstance.upsert({
1384
+ * create: {
1385
+ * // ... data to create a BlockInstance
1386
+ * },
1387
+ * update: {
1388
+ * // ... in case it already exists, update
1389
+ * },
1390
+ * where: {
1391
+ * // ... the filter for the BlockInstance we want to update
1392
+ * }
1393
+ * })
1394
+ */
1395
+ 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>
1396
+
1397
+
1398
+ /**
1399
+ * Count the number of BlockInstances.
1400
+ * Note, that providing `undefined` is treated as the value not being there.
1401
+ * Read more here: https://pris.ly/d/null-undefined
1402
+ * @param {BlockInstanceCountArgs} args - Arguments to filter BlockInstances to count.
1403
+ * @example
1404
+ * // Count the number of BlockInstances
1405
+ * const count = await prisma.blockInstance.count({
1406
+ * where: {
1407
+ * // ... the filter for the BlockInstances we want to count
1408
+ * }
1409
+ * })
1410
+ **/
1411
+ count<T extends BlockInstanceCountArgs>(
1412
+ args?: Prisma.Subset<T, BlockInstanceCountArgs>,
1413
+ ): Prisma.PrismaPromise<
1414
+ T extends runtime.Types.Utils.Record<'select', any>
1415
+ ? T['select'] extends true
1416
+ ? number
1417
+ : Prisma.GetScalarType<T['select'], BlockInstanceCountAggregateOutputType>
1418
+ : number
1419
+ >
1420
+
1421
+ /**
1422
+ * Allows you to perform aggregations operations on a BlockInstance.
1423
+ * Note, that providing `undefined` is treated as the value not being there.
1424
+ * Read more here: https://pris.ly/d/null-undefined
1425
+ * @param {BlockInstanceAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1426
+ * @example
1427
+ * // Ordered by age ascending
1428
+ * // Where email contains prisma.io
1429
+ * // Limited to the 10 users
1430
+ * const aggregations = await prisma.user.aggregate({
1431
+ * _avg: {
1432
+ * age: true,
1433
+ * },
1434
+ * where: {
1435
+ * email: {
1436
+ * contains: "prisma.io",
1437
+ * },
1438
+ * },
1439
+ * orderBy: {
1440
+ * age: "asc",
1441
+ * },
1442
+ * take: 10,
1443
+ * })
1444
+ **/
1445
+ aggregate<T extends BlockInstanceAggregateArgs>(args: Prisma.Subset<T, BlockInstanceAggregateArgs>): Prisma.PrismaPromise<GetBlockInstanceAggregateType<T>>
1446
+
1447
+ /**
1448
+ * Group by BlockInstance.
1449
+ * Note, that providing `undefined` is treated as the value not being there.
1450
+ * Read more here: https://pris.ly/d/null-undefined
1451
+ * @param {BlockInstanceGroupByArgs} args - Group by arguments.
1452
+ * @example
1453
+ * // Group by city, order by createdAt, get count
1454
+ * const result = await prisma.user.groupBy({
1455
+ * by: ['city', 'createdAt'],
1456
+ * orderBy: {
1457
+ * createdAt: true
1458
+ * },
1459
+ * _count: {
1460
+ * _all: true
1461
+ * },
1462
+ * })
1463
+ *
1464
+ **/
1465
+ groupBy<
1466
+ T extends BlockInstanceGroupByArgs,
1467
+ HasSelectOrTake extends Prisma.Or<
1468
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1469
+ Prisma.Extends<'take', Prisma.Keys<T>>
1470
+ >,
1471
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1472
+ ? { orderBy: BlockInstanceGroupByArgs['orderBy'] }
1473
+ : { orderBy?: BlockInstanceGroupByArgs['orderBy'] },
1474
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1475
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1476
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1477
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1478
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1479
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1480
+ InputErrors extends ByEmpty extends Prisma.True
1481
+ ? `Error: "by" must not be empty.`
1482
+ : HavingValid extends Prisma.False
1483
+ ? {
1484
+ [P in HavingFields]: P extends ByFields
1485
+ ? never
1486
+ : P extends string
1487
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1488
+ : [
1489
+ Error,
1490
+ 'Field ',
1491
+ P,
1492
+ ` in "having" needs to be provided in "by"`,
1493
+ ]
1494
+ }[HavingFields]
1495
+ : 'take' extends Prisma.Keys<T>
1496
+ ? 'orderBy' extends Prisma.Keys<T>
1497
+ ? ByValid extends Prisma.True
1498
+ ? {}
1499
+ : {
1500
+ [P in OrderFields]: P extends ByFields
1501
+ ? never
1502
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1503
+ }[OrderFields]
1504
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1505
+ : 'skip' extends Prisma.Keys<T>
1506
+ ? 'orderBy' extends Prisma.Keys<T>
1507
+ ? ByValid extends Prisma.True
1508
+ ? {}
1509
+ : {
1510
+ [P in OrderFields]: P extends ByFields
1511
+ ? never
1512
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1513
+ }[OrderFields]
1514
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1515
+ : ByValid extends Prisma.True
1516
+ ? {}
1517
+ : {
1518
+ [P in OrderFields]: P extends ByFields
1519
+ ? never
1520
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1521
+ }[OrderFields]
1522
+ >(args: Prisma.SubsetIntersection<T, BlockInstanceGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetBlockInstanceGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1523
+ /**
1524
+ * Fields of the BlockInstance model
1525
+ */
1526
+ readonly fields: BlockInstanceFieldRefs;
1527
+ }
1528
+
1529
+ /**
1530
+ * The delegate class that acts as a "Promise-like" for BlockInstance.
1531
+ * Why is this prefixed with `Prisma__`?
1532
+ * Because we want to prevent naming conflicts as mentioned in
1533
+ * https://github.com/prisma/prisma-client-js/issues/707
1534
+ */
1535
+ export interface Prisma__BlockInstanceClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1536
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1537
+ 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>
1538
+ 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>
1539
+ 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>
1540
+ /**
1541
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1542
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1543
+ * @param onrejected The callback to execute when the Promise is rejected.
1544
+ * @returns A Promise for the completion of which ever callback is executed.
1545
+ */
1546
+ 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>
1547
+ /**
1548
+ * Attaches a callback for only the rejection of the Promise.
1549
+ * @param onrejected The callback to execute when the Promise is rejected.
1550
+ * @returns A Promise for the completion of the callback.
1551
+ */
1552
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1553
+ /**
1554
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1555
+ * resolved value cannot be modified from the callback.
1556
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1557
+ * @returns A Promise for the completion of the callback.
1558
+ */
1559
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1560
+ }
1561
+
1562
+
1563
+
1564
+
1565
+ /**
1566
+ * Fields of the BlockInstance model
1567
+ */
1568
+ export interface BlockInstanceFieldRefs {
1569
+ readonly id: Prisma.FieldRef<"BlockInstance", 'String'>
1570
+ readonly pageId: Prisma.FieldRef<"BlockInstance", 'String'>
1571
+ readonly blockId: Prisma.FieldRef<"BlockInstance", 'String'>
1572
+ readonly name: Prisma.FieldRef<"BlockInstance", 'String'>
1573
+ readonly x: Prisma.FieldRef<"BlockInstance", 'Float'>
1574
+ readonly y: Prisma.FieldRef<"BlockInstance", 'Float'>
1575
+ readonly width: Prisma.FieldRef<"BlockInstance", 'Float'>
1576
+ readonly height: Prisma.FieldRef<"BlockInstance", 'Float'>
1577
+ readonly zIndex: Prisma.FieldRef<"BlockInstance", 'Int'>
1578
+ readonly props: Prisma.FieldRef<"BlockInstance", 'Json'>
1579
+ readonly style: Prisma.FieldRef<"BlockInstance", 'Json'>
1580
+ readonly createdAt: Prisma.FieldRef<"BlockInstance", 'DateTime'>
1581
+ readonly updatedAt: Prisma.FieldRef<"BlockInstance", 'DateTime'>
1582
+ }
1583
+
1584
+
1585
+ // Custom InputTypes
1586
+ /**
1587
+ * BlockInstance findUnique
1588
+ */
1589
+ export type BlockInstanceFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1590
+ /**
1591
+ * Select specific fields to fetch from the BlockInstance
1592
+ */
1593
+ select?: Prisma.BlockInstanceSelect<ExtArgs> | null
1594
+ /**
1595
+ * Omit specific fields from the BlockInstance
1596
+ */
1597
+ omit?: Prisma.BlockInstanceOmit<ExtArgs> | null
1598
+ /**
1599
+ * Choose, which related nodes to fetch as well
1600
+ */
1601
+ include?: Prisma.BlockInstanceInclude<ExtArgs> | null
1602
+ /**
1603
+ * Filter, which BlockInstance to fetch.
1604
+ */
1605
+ where: Prisma.BlockInstanceWhereUniqueInput
1606
+ }
1607
+
1608
+ /**
1609
+ * BlockInstance findUniqueOrThrow
1610
+ */
1611
+ export type BlockInstanceFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1612
+ /**
1613
+ * Select specific fields to fetch from the BlockInstance
1614
+ */
1615
+ select?: Prisma.BlockInstanceSelect<ExtArgs> | null
1616
+ /**
1617
+ * Omit specific fields from the BlockInstance
1618
+ */
1619
+ omit?: Prisma.BlockInstanceOmit<ExtArgs> | null
1620
+ /**
1621
+ * Choose, which related nodes to fetch as well
1622
+ */
1623
+ include?: Prisma.BlockInstanceInclude<ExtArgs> | null
1624
+ /**
1625
+ * Filter, which BlockInstance to fetch.
1626
+ */
1627
+ where: Prisma.BlockInstanceWhereUniqueInput
1628
+ }
1629
+
1630
+ /**
1631
+ * BlockInstance findFirst
1632
+ */
1633
+ export type BlockInstanceFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1634
+ /**
1635
+ * Select specific fields to fetch from the BlockInstance
1636
+ */
1637
+ select?: Prisma.BlockInstanceSelect<ExtArgs> | null
1638
+ /**
1639
+ * Omit specific fields from the BlockInstance
1640
+ */
1641
+ omit?: Prisma.BlockInstanceOmit<ExtArgs> | null
1642
+ /**
1643
+ * Choose, which related nodes to fetch as well
1644
+ */
1645
+ include?: Prisma.BlockInstanceInclude<ExtArgs> | null
1646
+ /**
1647
+ * Filter, which BlockInstance to fetch.
1648
+ */
1649
+ where?: Prisma.BlockInstanceWhereInput
1650
+ /**
1651
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1652
+ *
1653
+ * Determine the order of BlockInstances to fetch.
1654
+ */
1655
+ orderBy?: Prisma.BlockInstanceOrderByWithRelationInput | Prisma.BlockInstanceOrderByWithRelationInput[]
1656
+ /**
1657
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1658
+ *
1659
+ * Sets the position for searching for BlockInstances.
1660
+ */
1661
+ cursor?: Prisma.BlockInstanceWhereUniqueInput
1662
+ /**
1663
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1664
+ *
1665
+ * Take `±n` BlockInstances from the position of the cursor.
1666
+ */
1667
+ take?: number
1668
+ /**
1669
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1670
+ *
1671
+ * Skip the first `n` BlockInstances.
1672
+ */
1673
+ skip?: number
1674
+ /**
1675
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1676
+ *
1677
+ * Filter by unique combinations of BlockInstances.
1678
+ */
1679
+ distinct?: Prisma.BlockInstanceScalarFieldEnum | Prisma.BlockInstanceScalarFieldEnum[]
1680
+ }
1681
+
1682
+ /**
1683
+ * BlockInstance findFirstOrThrow
1684
+ */
1685
+ export type BlockInstanceFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1686
+ /**
1687
+ * Select specific fields to fetch from the BlockInstance
1688
+ */
1689
+ select?: Prisma.BlockInstanceSelect<ExtArgs> | null
1690
+ /**
1691
+ * Omit specific fields from the BlockInstance
1692
+ */
1693
+ omit?: Prisma.BlockInstanceOmit<ExtArgs> | null
1694
+ /**
1695
+ * Choose, which related nodes to fetch as well
1696
+ */
1697
+ include?: Prisma.BlockInstanceInclude<ExtArgs> | null
1698
+ /**
1699
+ * Filter, which BlockInstance to fetch.
1700
+ */
1701
+ where?: Prisma.BlockInstanceWhereInput
1702
+ /**
1703
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1704
+ *
1705
+ * Determine the order of BlockInstances to fetch.
1706
+ */
1707
+ orderBy?: Prisma.BlockInstanceOrderByWithRelationInput | Prisma.BlockInstanceOrderByWithRelationInput[]
1708
+ /**
1709
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1710
+ *
1711
+ * Sets the position for searching for BlockInstances.
1712
+ */
1713
+ cursor?: Prisma.BlockInstanceWhereUniqueInput
1714
+ /**
1715
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1716
+ *
1717
+ * Take `±n` BlockInstances from the position of the cursor.
1718
+ */
1719
+ take?: number
1720
+ /**
1721
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1722
+ *
1723
+ * Skip the first `n` BlockInstances.
1724
+ */
1725
+ skip?: number
1726
+ /**
1727
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1728
+ *
1729
+ * Filter by unique combinations of BlockInstances.
1730
+ */
1731
+ distinct?: Prisma.BlockInstanceScalarFieldEnum | Prisma.BlockInstanceScalarFieldEnum[]
1732
+ }
1733
+
1734
+ /**
1735
+ * BlockInstance findMany
1736
+ */
1737
+ export type BlockInstanceFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1738
+ /**
1739
+ * Select specific fields to fetch from the BlockInstance
1740
+ */
1741
+ select?: Prisma.BlockInstanceSelect<ExtArgs> | null
1742
+ /**
1743
+ * Omit specific fields from the BlockInstance
1744
+ */
1745
+ omit?: Prisma.BlockInstanceOmit<ExtArgs> | null
1746
+ /**
1747
+ * Choose, which related nodes to fetch as well
1748
+ */
1749
+ include?: Prisma.BlockInstanceInclude<ExtArgs> | null
1750
+ /**
1751
+ * Filter, which BlockInstances to fetch.
1752
+ */
1753
+ where?: Prisma.BlockInstanceWhereInput
1754
+ /**
1755
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1756
+ *
1757
+ * Determine the order of BlockInstances to fetch.
1758
+ */
1759
+ orderBy?: Prisma.BlockInstanceOrderByWithRelationInput | Prisma.BlockInstanceOrderByWithRelationInput[]
1760
+ /**
1761
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1762
+ *
1763
+ * Sets the position for listing BlockInstances.
1764
+ */
1765
+ cursor?: Prisma.BlockInstanceWhereUniqueInput
1766
+ /**
1767
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1768
+ *
1769
+ * Take `±n` BlockInstances from the position of the cursor.
1770
+ */
1771
+ take?: number
1772
+ /**
1773
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1774
+ *
1775
+ * Skip the first `n` BlockInstances.
1776
+ */
1777
+ skip?: number
1778
+ /**
1779
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1780
+ *
1781
+ * Filter by unique combinations of BlockInstances.
1782
+ */
1783
+ distinct?: Prisma.BlockInstanceScalarFieldEnum | Prisma.BlockInstanceScalarFieldEnum[]
1784
+ }
1785
+
1786
+ /**
1787
+ * BlockInstance create
1788
+ */
1789
+ export type BlockInstanceCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1790
+ /**
1791
+ * Select specific fields to fetch from the BlockInstance
1792
+ */
1793
+ select?: Prisma.BlockInstanceSelect<ExtArgs> | null
1794
+ /**
1795
+ * Omit specific fields from the BlockInstance
1796
+ */
1797
+ omit?: Prisma.BlockInstanceOmit<ExtArgs> | null
1798
+ /**
1799
+ * Choose, which related nodes to fetch as well
1800
+ */
1801
+ include?: Prisma.BlockInstanceInclude<ExtArgs> | null
1802
+ /**
1803
+ * The data needed to create a BlockInstance.
1804
+ */
1805
+ data: Prisma.XOR<Prisma.BlockInstanceCreateInput, Prisma.BlockInstanceUncheckedCreateInput>
1806
+ }
1807
+
1808
+ /**
1809
+ * BlockInstance createMany
1810
+ */
1811
+ export type BlockInstanceCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1812
+ /**
1813
+ * The data used to create many BlockInstances.
1814
+ */
1815
+ data: Prisma.BlockInstanceCreateManyInput | Prisma.BlockInstanceCreateManyInput[]
1816
+ }
1817
+
1818
+ /**
1819
+ * BlockInstance createManyAndReturn
1820
+ */
1821
+ export type BlockInstanceCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1822
+ /**
1823
+ * Select specific fields to fetch from the BlockInstance
1824
+ */
1825
+ select?: Prisma.BlockInstanceSelectCreateManyAndReturn<ExtArgs> | null
1826
+ /**
1827
+ * Omit specific fields from the BlockInstance
1828
+ */
1829
+ omit?: Prisma.BlockInstanceOmit<ExtArgs> | null
1830
+ /**
1831
+ * The data used to create many BlockInstances.
1832
+ */
1833
+ data: Prisma.BlockInstanceCreateManyInput | Prisma.BlockInstanceCreateManyInput[]
1834
+ /**
1835
+ * Choose, which related nodes to fetch as well
1836
+ */
1837
+ include?: Prisma.BlockInstanceIncludeCreateManyAndReturn<ExtArgs> | null
1838
+ }
1839
+
1840
+ /**
1841
+ * BlockInstance update
1842
+ */
1843
+ export type BlockInstanceUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1844
+ /**
1845
+ * Select specific fields to fetch from the BlockInstance
1846
+ */
1847
+ select?: Prisma.BlockInstanceSelect<ExtArgs> | null
1848
+ /**
1849
+ * Omit specific fields from the BlockInstance
1850
+ */
1851
+ omit?: Prisma.BlockInstanceOmit<ExtArgs> | null
1852
+ /**
1853
+ * Choose, which related nodes to fetch as well
1854
+ */
1855
+ include?: Prisma.BlockInstanceInclude<ExtArgs> | null
1856
+ /**
1857
+ * The data needed to update a BlockInstance.
1858
+ */
1859
+ data: Prisma.XOR<Prisma.BlockInstanceUpdateInput, Prisma.BlockInstanceUncheckedUpdateInput>
1860
+ /**
1861
+ * Choose, which BlockInstance to update.
1862
+ */
1863
+ where: Prisma.BlockInstanceWhereUniqueInput
1864
+ }
1865
+
1866
+ /**
1867
+ * BlockInstance updateMany
1868
+ */
1869
+ export type BlockInstanceUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1870
+ /**
1871
+ * The data used to update BlockInstances.
1872
+ */
1873
+ data: Prisma.XOR<Prisma.BlockInstanceUpdateManyMutationInput, Prisma.BlockInstanceUncheckedUpdateManyInput>
1874
+ /**
1875
+ * Filter which BlockInstances to update
1876
+ */
1877
+ where?: Prisma.BlockInstanceWhereInput
1878
+ /**
1879
+ * Limit how many BlockInstances to update.
1880
+ */
1881
+ limit?: number
1882
+ }
1883
+
1884
+ /**
1885
+ * BlockInstance updateManyAndReturn
1886
+ */
1887
+ export type BlockInstanceUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1888
+ /**
1889
+ * Select specific fields to fetch from the BlockInstance
1890
+ */
1891
+ select?: Prisma.BlockInstanceSelectUpdateManyAndReturn<ExtArgs> | null
1892
+ /**
1893
+ * Omit specific fields from the BlockInstance
1894
+ */
1895
+ omit?: Prisma.BlockInstanceOmit<ExtArgs> | null
1896
+ /**
1897
+ * The data used to update BlockInstances.
1898
+ */
1899
+ data: Prisma.XOR<Prisma.BlockInstanceUpdateManyMutationInput, Prisma.BlockInstanceUncheckedUpdateManyInput>
1900
+ /**
1901
+ * Filter which BlockInstances to update
1902
+ */
1903
+ where?: Prisma.BlockInstanceWhereInput
1904
+ /**
1905
+ * Limit how many BlockInstances to update.
1906
+ */
1907
+ limit?: number
1908
+ /**
1909
+ * Choose, which related nodes to fetch as well
1910
+ */
1911
+ include?: Prisma.BlockInstanceIncludeUpdateManyAndReturn<ExtArgs> | null
1912
+ }
1913
+
1914
+ /**
1915
+ * BlockInstance upsert
1916
+ */
1917
+ export type BlockInstanceUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1918
+ /**
1919
+ * Select specific fields to fetch from the BlockInstance
1920
+ */
1921
+ select?: Prisma.BlockInstanceSelect<ExtArgs> | null
1922
+ /**
1923
+ * Omit specific fields from the BlockInstance
1924
+ */
1925
+ omit?: Prisma.BlockInstanceOmit<ExtArgs> | null
1926
+ /**
1927
+ * Choose, which related nodes to fetch as well
1928
+ */
1929
+ include?: Prisma.BlockInstanceInclude<ExtArgs> | null
1930
+ /**
1931
+ * The filter to search for the BlockInstance to update in case it exists.
1932
+ */
1933
+ where: Prisma.BlockInstanceWhereUniqueInput
1934
+ /**
1935
+ * In case the BlockInstance found by the `where` argument doesn't exist, create a new BlockInstance with this data.
1936
+ */
1937
+ create: Prisma.XOR<Prisma.BlockInstanceCreateInput, Prisma.BlockInstanceUncheckedCreateInput>
1938
+ /**
1939
+ * In case the BlockInstance was found with the provided `where` argument, update it with this data.
1940
+ */
1941
+ update: Prisma.XOR<Prisma.BlockInstanceUpdateInput, Prisma.BlockInstanceUncheckedUpdateInput>
1942
+ }
1943
+
1944
+ /**
1945
+ * BlockInstance delete
1946
+ */
1947
+ export type BlockInstanceDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1948
+ /**
1949
+ * Select specific fields to fetch from the BlockInstance
1950
+ */
1951
+ select?: Prisma.BlockInstanceSelect<ExtArgs> | null
1952
+ /**
1953
+ * Omit specific fields from the BlockInstance
1954
+ */
1955
+ omit?: Prisma.BlockInstanceOmit<ExtArgs> | null
1956
+ /**
1957
+ * Choose, which related nodes to fetch as well
1958
+ */
1959
+ include?: Prisma.BlockInstanceInclude<ExtArgs> | null
1960
+ /**
1961
+ * Filter which BlockInstance to delete.
1962
+ */
1963
+ where: Prisma.BlockInstanceWhereUniqueInput
1964
+ }
1965
+
1966
+ /**
1967
+ * BlockInstance deleteMany
1968
+ */
1969
+ export type BlockInstanceDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1970
+ /**
1971
+ * Filter which BlockInstances to delete
1972
+ */
1973
+ where?: Prisma.BlockInstanceWhereInput
1974
+ /**
1975
+ * Limit how many BlockInstances to delete.
1976
+ */
1977
+ limit?: number
1978
+ }
1979
+
1980
+ /**
1981
+ * BlockInstance.block
1982
+ */
1983
+ export type BlockInstance$blockArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1984
+ /**
1985
+ * Select specific fields to fetch from the Block
1986
+ */
1987
+ select?: Prisma.BlockSelect<ExtArgs> | null
1988
+ /**
1989
+ * Omit specific fields from the Block
1990
+ */
1991
+ omit?: Prisma.BlockOmit<ExtArgs> | null
1992
+ /**
1993
+ * Choose, which related nodes to fetch as well
1994
+ */
1995
+ include?: Prisma.BlockInclude<ExtArgs> | null
1996
+ where?: Prisma.BlockWhereInput
1997
+ }
1998
+
1999
+ /**
2000
+ * BlockInstance.instances
2001
+ */
2002
+ export type BlockInstance$instancesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2003
+ /**
2004
+ * Select specific fields to fetch from the ComponentInstance
2005
+ */
2006
+ select?: Prisma.ComponentInstanceSelect<ExtArgs> | null
2007
+ /**
2008
+ * Omit specific fields from the ComponentInstance
2009
+ */
2010
+ omit?: Prisma.ComponentInstanceOmit<ExtArgs> | null
2011
+ /**
2012
+ * Choose, which related nodes to fetch as well
2013
+ */
2014
+ include?: Prisma.ComponentInstanceInclude<ExtArgs> | null
2015
+ where?: Prisma.ComponentInstanceWhereInput
2016
+ orderBy?: Prisma.ComponentInstanceOrderByWithRelationInput | Prisma.ComponentInstanceOrderByWithRelationInput[]
2017
+ cursor?: Prisma.ComponentInstanceWhereUniqueInput
2018
+ take?: number
2019
+ skip?: number
2020
+ distinct?: Prisma.ComponentInstanceScalarFieldEnum | Prisma.ComponentInstanceScalarFieldEnum[]
2021
+ }
2022
+
2023
+ /**
2024
+ * BlockInstance without action
2025
+ */
2026
+ export type BlockInstanceDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2027
+ /**
2028
+ * Select specific fields to fetch from the BlockInstance
2029
+ */
2030
+ select?: Prisma.BlockInstanceSelect<ExtArgs> | null
2031
+ /**
2032
+ * Omit specific fields from the BlockInstance
2033
+ */
2034
+ omit?: Prisma.BlockInstanceOmit<ExtArgs> | null
2035
+ /**
2036
+ * Choose, which related nodes to fetch as well
2037
+ */
2038
+ include?: Prisma.BlockInstanceInclude<ExtArgs> | null
2039
+ }