@allbluecn/database 0.4.0 → 0.4.2

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