@allbluecn/database 0.3.14 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (190) hide show
  1. package/desktop-init.ts +128 -0
  2. package/generated/browser.ts +494 -0
  3. package/generated/client.ts +518 -0
  4. package/generated/commonInputTypes.ts +1056 -0
  5. package/generated/enums.ts +93 -0
  6. package/generated/internal/class.ts +1144 -0
  7. package/generated/internal/prismaNamespace.ts +9603 -0
  8. package/generated/internal/prismaNamespaceBrowser.ts +1695 -0
  9. package/generated/models/Account.ts +1648 -0
  10. package/generated/models/AgentConversation.ts +1651 -0
  11. package/generated/models/AgentMessage.ts +1409 -0
  12. package/generated/models/AiProvider.ts +1607 -0
  13. package/generated/models/AiProviderConfig.ts +1514 -0
  14. package/generated/models/AiUsageLog.ts +1863 -0
  15. package/generated/models/AnyHubApp.ts +1911 -0
  16. package/generated/models/AnyHubMarketApp.ts +2008 -0
  17. package/generated/models/AnyHubPermission.ts +1422 -0
  18. package/generated/models/AnyHubRecommendation.ts +1870 -0
  19. package/generated/models/AnyHubRecommender.ts +1471 -0
  20. package/generated/models/Artboard.ts +1811 -0
  21. package/generated/models/ArtboardExport.ts +1548 -0
  22. package/generated/models/ArticleFavorite.ts +1352 -0
  23. package/generated/models/AuditLog.ts +1533 -0
  24. package/generated/models/Block.ts +1650 -0
  25. package/generated/models/BlockComponent.ts +1734 -0
  26. package/generated/models/BlockInstance.ts +2043 -0
  27. package/generated/models/BookmarkCategory.ts +1670 -0
  28. package/generated/models/ChatInterrupt.ts +1699 -0
  29. package/generated/models/ChatMessage.ts +1438 -0
  30. package/generated/models/ChatRun.ts +1632 -0
  31. package/generated/models/ChatThread.ts +2133 -0
  32. package/generated/models/Comment.ts +2206 -0
  33. package/generated/models/CommentIgnore.ts +1430 -0
  34. package/generated/models/CommentReaction.ts +1472 -0
  35. package/generated/models/ComplianceExport.ts +1345 -0
  36. package/generated/models/Component.ts +2345 -0
  37. package/generated/models/ComponentInstance.ts +2102 -0
  38. package/generated/models/ComponentTag.ts +1281 -0
  39. package/generated/models/CustomRole.ts +1560 -0
  40. package/generated/models/DesignProject.ts +1643 -0
  41. package/generated/models/DictionaryTerm.ts +1642 -0
  42. package/generated/models/GenerationRun.ts +1543 -0
  43. package/generated/models/IndustryCompliance.ts +1797 -0
  44. package/generated/models/InvitationCode.ts +1417 -0
  45. package/generated/models/InvitationUse.ts +1424 -0
  46. package/generated/models/Invoice.ts +1710 -0
  47. package/generated/models/KnowledgeBase.ts +1671 -0
  48. package/generated/models/KnowledgeDocument.ts +2458 -0
  49. package/generated/models/KnowledgeShareRecord.ts +1352 -0
  50. package/generated/models/Label.ts +1482 -0
  51. package/generated/models/LegalRegulation.ts +1873 -0
  52. package/generated/models/LicenseActivation.ts +1415 -0
  53. package/generated/models/LicenseKey.ts +1884 -0
  54. package/generated/models/LoginLog.ts +1450 -0
  55. package/generated/models/MonitoringErrorReport.ts +1299 -0
  56. package/generated/models/MonitoringHealthSnapshot.ts +1249 -0
  57. package/generated/models/MonitoringMetricsSnapshot.ts +1369 -0
  58. package/generated/models/MonitoringRequestLog.ts +1283 -0
  59. package/generated/models/PRD.ts +2805 -0
  60. package/generated/models/PRDPage.ts +2402 -0
  61. package/generated/models/PRDTag.ts +1430 -0
  62. package/generated/models/PRDVersion.ts +2121 -0
  63. package/generated/models/PageVersion.ts +1523 -0
  64. package/generated/models/PasswordResetToken.ts +1380 -0
  65. package/generated/models/Plan.ts +2069 -0
  66. package/generated/models/Project.ts +2148 -0
  67. package/generated/models/ProjectActivity.ts +1582 -0
  68. package/generated/models/ProjectMember.ts +1512 -0
  69. package/generated/models/ProviderEvent.ts +1227 -0
  70. package/generated/models/Reference.ts +1177 -0
  71. package/generated/models/Review.ts +1912 -0
  72. package/generated/models/ReviewComment.ts +1904 -0
  73. package/generated/models/RoleAssignment.ts +1430 -0
  74. package/generated/models/SequenceCounter.ts +1137 -0
  75. package/generated/models/Share.ts +1681 -0
  76. package/generated/models/ShareVersion.ts +1389 -0
  77. package/generated/models/SsoMapping.ts +1512 -0
  78. package/generated/models/SsoProvider.ts +1639 -0
  79. package/generated/models/Story.ts +5234 -0
  80. package/generated/models/StoryActivity.ts +1664 -0
  81. package/generated/models/StoryAttachment.ts +1467 -0
  82. package/generated/models/StoryComment.ts +1992 -0
  83. package/generated/models/StoryDependency.ts +1517 -0
  84. package/generated/models/StoryDocLink.ts +1430 -0
  85. package/generated/models/StoryFilterView.ts +1587 -0
  86. package/generated/models/StoryLabel.ts +1349 -0
  87. package/generated/models/StoryLink.ts +1415 -0
  88. package/generated/models/StoryPrdLink.ts +1430 -0
  89. package/generated/models/StoryReaction.ts +1472 -0
  90. package/generated/models/Subscription.ts +2147 -0
  91. package/generated/models/SystemSetting.ts +1217 -0
  92. package/generated/models/Tag.ts +1655 -0
  93. package/generated/models/TeamInvitation.ts +1526 -0
  94. package/generated/models/TeamMembership.ts +1436 -0
  95. package/generated/models/Template.ts +1391 -0
  96. package/generated/models/TemplateBlock.ts +1664 -0
  97. package/generated/models/ThirdPartyDependency.ts +1473 -0
  98. package/generated/models/UsageRecord.ts +1505 -0
  99. package/generated/models/User.ts +20998 -0
  100. package/generated/models/UserAgent.ts +1900 -0
  101. package/generated/models/UserSkill.ts +1456 -0
  102. package/generated/models/WebsiteBookmark.ts +2219 -0
  103. package/generated/models/Workspace.ts +2279 -0
  104. package/generated/models.ts +106 -0
  105. package/generated-sqlite/browser.ts +399 -0
  106. package/generated-sqlite/client.ts +423 -0
  107. package/generated-sqlite/commonInputTypes.ts +608 -0
  108. package/generated-sqlite/enums.ts +15 -0
  109. package/generated-sqlite/internal/class.ts +954 -0
  110. package/generated-sqlite/internal/prismaNamespace.ts +7716 -0
  111. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +1415 -0
  112. package/generated-sqlite/models/AgentConversation.ts +1647 -0
  113. package/generated-sqlite/models/AgentMessage.ts +1406 -0
  114. package/generated-sqlite/models/AiProvider.ts +1605 -0
  115. package/generated-sqlite/models/AiProviderConfig.ts +1511 -0
  116. package/generated-sqlite/models/AiUsageLog.ts +1845 -0
  117. package/generated-sqlite/models/AnyHubApp.ts +1908 -0
  118. package/generated-sqlite/models/AnyHubMarketApp.ts +1997 -0
  119. package/generated-sqlite/models/AnyHubPermission.ts +1419 -0
  120. package/generated-sqlite/models/AnyHubRecommendation.ts +1867 -0
  121. package/generated-sqlite/models/AnyHubRecommender.ts +1467 -0
  122. package/generated-sqlite/models/Artboard.ts +1808 -0
  123. package/generated-sqlite/models/ArtboardExport.ts +1545 -0
  124. package/generated-sqlite/models/ArticleFavorite.ts +1349 -0
  125. package/generated-sqlite/models/AuditLog.ts +1287 -0
  126. package/generated-sqlite/models/Block.ts +1648 -0
  127. package/generated-sqlite/models/BlockComponent.ts +1730 -0
  128. package/generated-sqlite/models/BlockInstance.ts +2039 -0
  129. package/generated-sqlite/models/BookmarkCategory.ts +1667 -0
  130. package/generated-sqlite/models/ChatInterrupt.ts +1695 -0
  131. package/generated-sqlite/models/ChatMessage.ts +1435 -0
  132. package/generated-sqlite/models/ChatRun.ts +1629 -0
  133. package/generated-sqlite/models/ChatThread.ts +2129 -0
  134. package/generated-sqlite/models/Comment.ts +2201 -0
  135. package/generated-sqlite/models/CommentIgnore.ts +1426 -0
  136. package/generated-sqlite/models/ComplianceExport.ts +1343 -0
  137. package/generated-sqlite/models/Component.ts +2326 -0
  138. package/generated-sqlite/models/ComponentInstance.ts +2097 -0
  139. package/generated-sqlite/models/ComponentTag.ts +1278 -0
  140. package/generated-sqlite/models/CustomRole.ts +1209 -0
  141. package/generated-sqlite/models/DesignProject.ts +1640 -0
  142. package/generated-sqlite/models/DictionaryTerm.ts +1639 -0
  143. package/generated-sqlite/models/GenerationRun.ts +1540 -0
  144. package/generated-sqlite/models/IndustryCompliance.ts +1794 -0
  145. package/generated-sqlite/models/InvitationCode.ts +1415 -0
  146. package/generated-sqlite/models/InvitationUse.ts +1420 -0
  147. package/generated-sqlite/models/Invoice.ts +1707 -0
  148. package/generated-sqlite/models/KnowledgeBase.ts +1668 -0
  149. package/generated-sqlite/models/KnowledgeDocument.ts +2282 -0
  150. package/generated-sqlite/models/KnowledgeShareRecord.ts +1349 -0
  151. package/generated-sqlite/models/LegalRegulation.ts +1870 -0
  152. package/generated-sqlite/models/LicenseActivation.ts +1203 -0
  153. package/generated-sqlite/models/LicenseKey.ts +1443 -0
  154. package/generated-sqlite/models/LoginLog.ts +1447 -0
  155. package/generated-sqlite/models/PRD.ts +2616 -0
  156. package/generated-sqlite/models/PRDPage.ts +2398 -0
  157. package/generated-sqlite/models/PRDTag.ts +1426 -0
  158. package/generated-sqlite/models/PRDVersion.ts +2117 -0
  159. package/generated-sqlite/models/PageVersion.ts +1528 -0
  160. package/generated-sqlite/models/PasswordResetToken.ts +1377 -0
  161. package/generated-sqlite/models/Plan.ts +2060 -0
  162. package/generated-sqlite/models/Project.ts +1994 -0
  163. package/generated-sqlite/models/ProjectActivity.ts +1578 -0
  164. package/generated-sqlite/models/ProjectMember.ts +1508 -0
  165. package/generated-sqlite/models/ProviderEvent.ts +1225 -0
  166. package/generated-sqlite/models/Reference.ts +1175 -0
  167. package/generated-sqlite/models/Review.ts +1903 -0
  168. package/generated-sqlite/models/ReviewComment.ts +1899 -0
  169. package/generated-sqlite/models/RoleAssignment.ts +1125 -0
  170. package/generated-sqlite/models/Share.ts +1674 -0
  171. package/generated-sqlite/models/ShareVersion.ts +1385 -0
  172. package/generated-sqlite/models/SsoMapping.ts +1181 -0
  173. package/generated-sqlite/models/SsoProvider.ts +1266 -0
  174. package/generated-sqlite/models/Subscription.ts +2137 -0
  175. package/generated-sqlite/models/SystemSetting.ts +1215 -0
  176. package/generated-sqlite/models/Tag.ts +1652 -0
  177. package/generated-sqlite/models/TeamInvitation.ts +1523 -0
  178. package/generated-sqlite/models/TeamMembership.ts +1433 -0
  179. package/generated-sqlite/models/Template.ts +1389 -0
  180. package/generated-sqlite/models/TemplateBlock.ts +1660 -0
  181. package/generated-sqlite/models/ThirdPartyDependency.ts +1471 -0
  182. package/generated-sqlite/models/UsageRecord.ts +1498 -0
  183. package/generated-sqlite/models/User.ts +13558 -0
  184. package/generated-sqlite/models/UserAgent.ts +1897 -0
  185. package/generated-sqlite/models/UserSkill.ts +1453 -0
  186. package/generated-sqlite/models/WebsiteBookmark.ts +2215 -0
  187. package/generated-sqlite/models/Workspace.ts +1824 -0
  188. package/generated-sqlite/models.ts +87 -0
  189. package/package.json +7 -3
  190. package/LICENSE +0 -661
@@ -0,0 +1,2097 @@
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
+ }
744
+
745
+ export type ComponentInstanceUpsertWithWhereUniqueWithoutComponentInput = {
746
+ where: Prisma.ComponentInstanceWhereUniqueInput
747
+ update: Prisma.XOR<Prisma.ComponentInstanceUpdateWithoutComponentInput, Prisma.ComponentInstanceUncheckedUpdateWithoutComponentInput>
748
+ create: Prisma.XOR<Prisma.ComponentInstanceCreateWithoutComponentInput, Prisma.ComponentInstanceUncheckedCreateWithoutComponentInput>
749
+ }
750
+
751
+ export type ComponentInstanceUpdateWithWhereUniqueWithoutComponentInput = {
752
+ where: Prisma.ComponentInstanceWhereUniqueInput
753
+ data: Prisma.XOR<Prisma.ComponentInstanceUpdateWithoutComponentInput, Prisma.ComponentInstanceUncheckedUpdateWithoutComponentInput>
754
+ }
755
+
756
+ export type ComponentInstanceUpdateManyWithWhereWithoutComponentInput = {
757
+ where: Prisma.ComponentInstanceScalarWhereInput
758
+ data: Prisma.XOR<Prisma.ComponentInstanceUpdateManyMutationInput, Prisma.ComponentInstanceUncheckedUpdateManyWithoutComponentInput>
759
+ }
760
+
761
+ export type ComponentInstanceScalarWhereInput = {
762
+ AND?: Prisma.ComponentInstanceScalarWhereInput | Prisma.ComponentInstanceScalarWhereInput[]
763
+ OR?: Prisma.ComponentInstanceScalarWhereInput[]
764
+ NOT?: Prisma.ComponentInstanceScalarWhereInput | Prisma.ComponentInstanceScalarWhereInput[]
765
+ id?: Prisma.StringFilter<"ComponentInstance"> | string
766
+ pageId?: Prisma.StringFilter<"ComponentInstance"> | string
767
+ componentId?: Prisma.StringNullableFilter<"ComponentInstance"> | string | null
768
+ blockInstanceId?: Prisma.StringNullableFilter<"ComponentInstance"> | string | null
769
+ name?: Prisma.StringNullableFilter<"ComponentInstance"> | string | null
770
+ x?: Prisma.FloatFilter<"ComponentInstance"> | number
771
+ y?: Prisma.FloatFilter<"ComponentInstance"> | number
772
+ width?: Prisma.FloatFilter<"ComponentInstance"> | number
773
+ height?: Prisma.FloatFilter<"ComponentInstance"> | number
774
+ zIndex?: Prisma.IntFilter<"ComponentInstance"> | number
775
+ props?: Prisma.JsonNullableFilter<"ComponentInstance">
776
+ style?: Prisma.JsonNullableFilter<"ComponentInstance">
777
+ createdAt?: Prisma.DateTimeFilter<"ComponentInstance"> | Date | string
778
+ updatedAt?: Prisma.DateTimeFilter<"ComponentInstance"> | Date | string
779
+ }
780
+
781
+ export type ComponentInstanceCreateWithoutPageInput = {
782
+ id?: string
783
+ name?: string | null
784
+ x?: number
785
+ y?: number
786
+ width?: number
787
+ height?: number
788
+ zIndex?: number
789
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
790
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
791
+ createdAt?: Date | string
792
+ updatedAt?: Date | string
793
+ component?: Prisma.ComponentCreateNestedOneWithoutInstancesInput
794
+ blockInstance?: Prisma.BlockInstanceCreateNestedOneWithoutInstancesInput
795
+ }
796
+
797
+ export type ComponentInstanceUncheckedCreateWithoutPageInput = {
798
+ id?: string
799
+ componentId?: string | null
800
+ blockInstanceId?: string | null
801
+ name?: string | null
802
+ x?: number
803
+ y?: number
804
+ width?: number
805
+ height?: number
806
+ zIndex?: number
807
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
808
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
809
+ createdAt?: Date | string
810
+ updatedAt?: Date | string
811
+ }
812
+
813
+ export type ComponentInstanceCreateOrConnectWithoutPageInput = {
814
+ where: Prisma.ComponentInstanceWhereUniqueInput
815
+ create: Prisma.XOR<Prisma.ComponentInstanceCreateWithoutPageInput, Prisma.ComponentInstanceUncheckedCreateWithoutPageInput>
816
+ }
817
+
818
+ export type ComponentInstanceCreateManyPageInputEnvelope = {
819
+ data: Prisma.ComponentInstanceCreateManyPageInput | Prisma.ComponentInstanceCreateManyPageInput[]
820
+ }
821
+
822
+ export type ComponentInstanceUpsertWithWhereUniqueWithoutPageInput = {
823
+ where: Prisma.ComponentInstanceWhereUniqueInput
824
+ update: Prisma.XOR<Prisma.ComponentInstanceUpdateWithoutPageInput, Prisma.ComponentInstanceUncheckedUpdateWithoutPageInput>
825
+ create: Prisma.XOR<Prisma.ComponentInstanceCreateWithoutPageInput, Prisma.ComponentInstanceUncheckedCreateWithoutPageInput>
826
+ }
827
+
828
+ export type ComponentInstanceUpdateWithWhereUniqueWithoutPageInput = {
829
+ where: Prisma.ComponentInstanceWhereUniqueInput
830
+ data: Prisma.XOR<Prisma.ComponentInstanceUpdateWithoutPageInput, Prisma.ComponentInstanceUncheckedUpdateWithoutPageInput>
831
+ }
832
+
833
+ export type ComponentInstanceUpdateManyWithWhereWithoutPageInput = {
834
+ where: Prisma.ComponentInstanceScalarWhereInput
835
+ data: Prisma.XOR<Prisma.ComponentInstanceUpdateManyMutationInput, Prisma.ComponentInstanceUncheckedUpdateManyWithoutPageInput>
836
+ }
837
+
838
+ export type ComponentInstanceCreateWithoutBlockInstanceInput = {
839
+ id?: string
840
+ name?: string | null
841
+ x?: number
842
+ y?: number
843
+ width?: number
844
+ height?: number
845
+ zIndex?: number
846
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
847
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
848
+ createdAt?: Date | string
849
+ updatedAt?: Date | string
850
+ page: Prisma.PRDPageCreateNestedOneWithoutComponentInstancesInput
851
+ component?: Prisma.ComponentCreateNestedOneWithoutInstancesInput
852
+ }
853
+
854
+ export type ComponentInstanceUncheckedCreateWithoutBlockInstanceInput = {
855
+ id?: string
856
+ pageId: string
857
+ componentId?: string | null
858
+ name?: string | null
859
+ x?: number
860
+ y?: number
861
+ width?: number
862
+ height?: number
863
+ zIndex?: number
864
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
865
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
866
+ createdAt?: Date | string
867
+ updatedAt?: Date | string
868
+ }
869
+
870
+ export type ComponentInstanceCreateOrConnectWithoutBlockInstanceInput = {
871
+ where: Prisma.ComponentInstanceWhereUniqueInput
872
+ create: Prisma.XOR<Prisma.ComponentInstanceCreateWithoutBlockInstanceInput, Prisma.ComponentInstanceUncheckedCreateWithoutBlockInstanceInput>
873
+ }
874
+
875
+ export type ComponentInstanceCreateManyBlockInstanceInputEnvelope = {
876
+ data: Prisma.ComponentInstanceCreateManyBlockInstanceInput | Prisma.ComponentInstanceCreateManyBlockInstanceInput[]
877
+ }
878
+
879
+ export type ComponentInstanceUpsertWithWhereUniqueWithoutBlockInstanceInput = {
880
+ where: Prisma.ComponentInstanceWhereUniqueInput
881
+ update: Prisma.XOR<Prisma.ComponentInstanceUpdateWithoutBlockInstanceInput, Prisma.ComponentInstanceUncheckedUpdateWithoutBlockInstanceInput>
882
+ create: Prisma.XOR<Prisma.ComponentInstanceCreateWithoutBlockInstanceInput, Prisma.ComponentInstanceUncheckedCreateWithoutBlockInstanceInput>
883
+ }
884
+
885
+ export type ComponentInstanceUpdateWithWhereUniqueWithoutBlockInstanceInput = {
886
+ where: Prisma.ComponentInstanceWhereUniqueInput
887
+ data: Prisma.XOR<Prisma.ComponentInstanceUpdateWithoutBlockInstanceInput, Prisma.ComponentInstanceUncheckedUpdateWithoutBlockInstanceInput>
888
+ }
889
+
890
+ export type ComponentInstanceUpdateManyWithWhereWithoutBlockInstanceInput = {
891
+ where: Prisma.ComponentInstanceScalarWhereInput
892
+ data: Prisma.XOR<Prisma.ComponentInstanceUpdateManyMutationInput, Prisma.ComponentInstanceUncheckedUpdateManyWithoutBlockInstanceInput>
893
+ }
894
+
895
+ export type ComponentInstanceCreateManyComponentInput = {
896
+ id?: string
897
+ pageId: string
898
+ blockInstanceId?: string | null
899
+ name?: string | null
900
+ x?: number
901
+ y?: number
902
+ width?: number
903
+ height?: number
904
+ zIndex?: number
905
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
906
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
907
+ createdAt?: Date | string
908
+ updatedAt?: Date | string
909
+ }
910
+
911
+ export type ComponentInstanceUpdateWithoutComponentInput = {
912
+ id?: Prisma.StringFieldUpdateOperationsInput | string
913
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
914
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
915
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
916
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
917
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
918
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
919
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
920
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
921
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
922
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
923
+ page?: Prisma.PRDPageUpdateOneRequiredWithoutComponentInstancesNestedInput
924
+ blockInstance?: Prisma.BlockInstanceUpdateOneWithoutInstancesNestedInput
925
+ }
926
+
927
+ export type ComponentInstanceUncheckedUpdateWithoutComponentInput = {
928
+ id?: Prisma.StringFieldUpdateOperationsInput | string
929
+ pageId?: Prisma.StringFieldUpdateOperationsInput | string
930
+ blockInstanceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
931
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
932
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
933
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
934
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
935
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
936
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
937
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
938
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
939
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
940
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
941
+ }
942
+
943
+ export type ComponentInstanceUncheckedUpdateManyWithoutComponentInput = {
944
+ id?: Prisma.StringFieldUpdateOperationsInput | string
945
+ pageId?: Prisma.StringFieldUpdateOperationsInput | string
946
+ blockInstanceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
947
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
948
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
949
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
950
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
951
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
952
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
953
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
954
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
955
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
956
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
957
+ }
958
+
959
+ export type ComponentInstanceCreateManyPageInput = {
960
+ id?: string
961
+ componentId?: string | null
962
+ blockInstanceId?: string | null
963
+ name?: string | null
964
+ x?: number
965
+ y?: number
966
+ width?: number
967
+ height?: number
968
+ zIndex?: number
969
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
970
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
971
+ createdAt?: Date | string
972
+ updatedAt?: Date | string
973
+ }
974
+
975
+ export type ComponentInstanceUpdateWithoutPageInput = {
976
+ id?: Prisma.StringFieldUpdateOperationsInput | string
977
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
978
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
979
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
980
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
981
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
982
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
983
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
984
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
985
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
986
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
987
+ component?: Prisma.ComponentUpdateOneWithoutInstancesNestedInput
988
+ blockInstance?: Prisma.BlockInstanceUpdateOneWithoutInstancesNestedInput
989
+ }
990
+
991
+ export type ComponentInstanceUncheckedUpdateWithoutPageInput = {
992
+ id?: Prisma.StringFieldUpdateOperationsInput | string
993
+ componentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
994
+ blockInstanceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
995
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
996
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
997
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
998
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
999
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
1000
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
1001
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1002
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1003
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1004
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1005
+ }
1006
+
1007
+ export type ComponentInstanceUncheckedUpdateManyWithoutPageInput = {
1008
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1009
+ componentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1010
+ blockInstanceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1011
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1012
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
1013
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
1014
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
1015
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
1016
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
1017
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1018
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1019
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1020
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1021
+ }
1022
+
1023
+ export type ComponentInstanceCreateManyBlockInstanceInput = {
1024
+ id?: string
1025
+ pageId: string
1026
+ componentId?: string | null
1027
+ name?: string | null
1028
+ x?: number
1029
+ y?: number
1030
+ width?: number
1031
+ height?: number
1032
+ zIndex?: number
1033
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1034
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1035
+ createdAt?: Date | string
1036
+ updatedAt?: Date | string
1037
+ }
1038
+
1039
+ export type ComponentInstanceUpdateWithoutBlockInstanceInput = {
1040
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1041
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1042
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
1043
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
1044
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
1045
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
1046
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
1047
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1048
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1049
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1050
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1051
+ page?: Prisma.PRDPageUpdateOneRequiredWithoutComponentInstancesNestedInput
1052
+ component?: Prisma.ComponentUpdateOneWithoutInstancesNestedInput
1053
+ }
1054
+
1055
+ export type ComponentInstanceUncheckedUpdateWithoutBlockInstanceInput = {
1056
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1057
+ pageId?: Prisma.StringFieldUpdateOperationsInput | string
1058
+ componentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1059
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1060
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
1061
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
1062
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
1063
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
1064
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
1065
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1066
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1067
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1068
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1069
+ }
1070
+
1071
+ export type ComponentInstanceUncheckedUpdateManyWithoutBlockInstanceInput = {
1072
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1073
+ pageId?: Prisma.StringFieldUpdateOperationsInput | string
1074
+ componentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1075
+ name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1076
+ x?: Prisma.FloatFieldUpdateOperationsInput | number
1077
+ y?: Prisma.FloatFieldUpdateOperationsInput | number
1078
+ width?: Prisma.FloatFieldUpdateOperationsInput | number
1079
+ height?: Prisma.FloatFieldUpdateOperationsInput | number
1080
+ zIndex?: Prisma.IntFieldUpdateOperationsInput | number
1081
+ props?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1082
+ style?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1083
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1084
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1085
+ }
1086
+
1087
+
1088
+
1089
+ export type ComponentInstanceSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1090
+ id?: boolean
1091
+ pageId?: boolean
1092
+ componentId?: boolean
1093
+ blockInstanceId?: boolean
1094
+ name?: boolean
1095
+ x?: boolean
1096
+ y?: boolean
1097
+ width?: boolean
1098
+ height?: boolean
1099
+ zIndex?: boolean
1100
+ props?: boolean
1101
+ style?: boolean
1102
+ createdAt?: boolean
1103
+ updatedAt?: boolean
1104
+ page?: boolean | Prisma.PRDPageDefaultArgs<ExtArgs>
1105
+ component?: boolean | Prisma.ComponentInstance$componentArgs<ExtArgs>
1106
+ blockInstance?: boolean | Prisma.ComponentInstance$blockInstanceArgs<ExtArgs>
1107
+ }, ExtArgs["result"]["componentInstance"]>
1108
+
1109
+ export type ComponentInstanceSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1110
+ id?: boolean
1111
+ pageId?: boolean
1112
+ componentId?: boolean
1113
+ blockInstanceId?: boolean
1114
+ name?: boolean
1115
+ x?: boolean
1116
+ y?: boolean
1117
+ width?: boolean
1118
+ height?: boolean
1119
+ zIndex?: boolean
1120
+ props?: boolean
1121
+ style?: boolean
1122
+ createdAt?: boolean
1123
+ updatedAt?: boolean
1124
+ page?: boolean | Prisma.PRDPageDefaultArgs<ExtArgs>
1125
+ component?: boolean | Prisma.ComponentInstance$componentArgs<ExtArgs>
1126
+ blockInstance?: boolean | Prisma.ComponentInstance$blockInstanceArgs<ExtArgs>
1127
+ }, ExtArgs["result"]["componentInstance"]>
1128
+
1129
+ export type ComponentInstanceSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1130
+ id?: boolean
1131
+ pageId?: boolean
1132
+ componentId?: boolean
1133
+ blockInstanceId?: boolean
1134
+ name?: boolean
1135
+ x?: boolean
1136
+ y?: boolean
1137
+ width?: boolean
1138
+ height?: boolean
1139
+ zIndex?: boolean
1140
+ props?: boolean
1141
+ style?: boolean
1142
+ createdAt?: boolean
1143
+ updatedAt?: boolean
1144
+ page?: boolean | Prisma.PRDPageDefaultArgs<ExtArgs>
1145
+ component?: boolean | Prisma.ComponentInstance$componentArgs<ExtArgs>
1146
+ blockInstance?: boolean | Prisma.ComponentInstance$blockInstanceArgs<ExtArgs>
1147
+ }, ExtArgs["result"]["componentInstance"]>
1148
+
1149
+ export type ComponentInstanceSelectScalar = {
1150
+ id?: boolean
1151
+ pageId?: boolean
1152
+ componentId?: boolean
1153
+ blockInstanceId?: boolean
1154
+ name?: boolean
1155
+ x?: boolean
1156
+ y?: boolean
1157
+ width?: boolean
1158
+ height?: boolean
1159
+ zIndex?: boolean
1160
+ props?: boolean
1161
+ style?: boolean
1162
+ createdAt?: boolean
1163
+ updatedAt?: boolean
1164
+ }
1165
+
1166
+ 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"]>
1167
+ export type ComponentInstanceInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1168
+ page?: boolean | Prisma.PRDPageDefaultArgs<ExtArgs>
1169
+ component?: boolean | Prisma.ComponentInstance$componentArgs<ExtArgs>
1170
+ blockInstance?: boolean | Prisma.ComponentInstance$blockInstanceArgs<ExtArgs>
1171
+ }
1172
+ export type ComponentInstanceIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1173
+ page?: boolean | Prisma.PRDPageDefaultArgs<ExtArgs>
1174
+ component?: boolean | Prisma.ComponentInstance$componentArgs<ExtArgs>
1175
+ blockInstance?: boolean | Prisma.ComponentInstance$blockInstanceArgs<ExtArgs>
1176
+ }
1177
+ export type ComponentInstanceIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1178
+ page?: boolean | Prisma.PRDPageDefaultArgs<ExtArgs>
1179
+ component?: boolean | Prisma.ComponentInstance$componentArgs<ExtArgs>
1180
+ blockInstance?: boolean | Prisma.ComponentInstance$blockInstanceArgs<ExtArgs>
1181
+ }
1182
+
1183
+ export type $ComponentInstancePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1184
+ name: "ComponentInstance"
1185
+ objects: {
1186
+ page: Prisma.$PRDPagePayload<ExtArgs>
1187
+ component: Prisma.$ComponentPayload<ExtArgs> | null
1188
+ blockInstance: Prisma.$BlockInstancePayload<ExtArgs> | null
1189
+ }
1190
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
1191
+ id: string
1192
+ pageId: string
1193
+ componentId: string | null
1194
+ blockInstanceId: string | null
1195
+ name: string | null
1196
+ x: number
1197
+ y: number
1198
+ width: number
1199
+ height: number
1200
+ zIndex: number
1201
+ props: runtime.JsonValue | null
1202
+ style: runtime.JsonValue | null
1203
+ createdAt: Date
1204
+ updatedAt: Date
1205
+ }, ExtArgs["result"]["componentInstance"]>
1206
+ composites: {}
1207
+ }
1208
+
1209
+ export type ComponentInstanceGetPayload<S extends boolean | null | undefined | ComponentInstanceDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ComponentInstancePayload, S>
1210
+
1211
+ export type ComponentInstanceCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1212
+ Omit<ComponentInstanceFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1213
+ select?: ComponentInstanceCountAggregateInputType | true
1214
+ }
1215
+
1216
+ export interface ComponentInstanceDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1217
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['ComponentInstance'], meta: { name: 'ComponentInstance' } }
1218
+ /**
1219
+ * Find zero or one ComponentInstance that matches the filter.
1220
+ * @param {ComponentInstanceFindUniqueArgs} args - Arguments to find a ComponentInstance
1221
+ * @example
1222
+ * // Get one ComponentInstance
1223
+ * const componentInstance = await prisma.componentInstance.findUnique({
1224
+ * where: {
1225
+ * // ... provide filter here
1226
+ * }
1227
+ * })
1228
+ */
1229
+ 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>
1230
+
1231
+ /**
1232
+ * Find one ComponentInstance that matches the filter or throw an error with `error.code='P2025'`
1233
+ * if no matches were found.
1234
+ * @param {ComponentInstanceFindUniqueOrThrowArgs} args - Arguments to find a ComponentInstance
1235
+ * @example
1236
+ * // Get one ComponentInstance
1237
+ * const componentInstance = await prisma.componentInstance.findUniqueOrThrow({
1238
+ * where: {
1239
+ * // ... provide filter here
1240
+ * }
1241
+ * })
1242
+ */
1243
+ 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>
1244
+
1245
+ /**
1246
+ * Find the first ComponentInstance that matches the filter.
1247
+ * Note, that providing `undefined` is treated as the value not being there.
1248
+ * Read more here: https://pris.ly/d/null-undefined
1249
+ * @param {ComponentInstanceFindFirstArgs} args - Arguments to find a ComponentInstance
1250
+ * @example
1251
+ * // Get one ComponentInstance
1252
+ * const componentInstance = await prisma.componentInstance.findFirst({
1253
+ * where: {
1254
+ * // ... provide filter here
1255
+ * }
1256
+ * })
1257
+ */
1258
+ 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>
1259
+
1260
+ /**
1261
+ * Find the first ComponentInstance that matches the filter or
1262
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1263
+ * Note, that providing `undefined` is treated as the value not being there.
1264
+ * Read more here: https://pris.ly/d/null-undefined
1265
+ * @param {ComponentInstanceFindFirstOrThrowArgs} args - Arguments to find a ComponentInstance
1266
+ * @example
1267
+ * // Get one ComponentInstance
1268
+ * const componentInstance = await prisma.componentInstance.findFirstOrThrow({
1269
+ * where: {
1270
+ * // ... provide filter here
1271
+ * }
1272
+ * })
1273
+ */
1274
+ 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>
1275
+
1276
+ /**
1277
+ * Find zero or more ComponentInstances that matches the filter.
1278
+ * Note, that providing `undefined` is treated as the value not being there.
1279
+ * Read more here: https://pris.ly/d/null-undefined
1280
+ * @param {ComponentInstanceFindManyArgs} args - Arguments to filter and select certain fields only.
1281
+ * @example
1282
+ * // Get all ComponentInstances
1283
+ * const componentInstances = await prisma.componentInstance.findMany()
1284
+ *
1285
+ * // Get first 10 ComponentInstances
1286
+ * const componentInstances = await prisma.componentInstance.findMany({ take: 10 })
1287
+ *
1288
+ * // Only select the `id`
1289
+ * const componentInstanceWithIdOnly = await prisma.componentInstance.findMany({ select: { id: true } })
1290
+ *
1291
+ */
1292
+ findMany<T extends ComponentInstanceFindManyArgs>(args?: Prisma.SelectSubset<T, ComponentInstanceFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ComponentInstancePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1293
+
1294
+ /**
1295
+ * Create a ComponentInstance.
1296
+ * @param {ComponentInstanceCreateArgs} args - Arguments to create a ComponentInstance.
1297
+ * @example
1298
+ * // Create one ComponentInstance
1299
+ * const ComponentInstance = await prisma.componentInstance.create({
1300
+ * data: {
1301
+ * // ... data to create a ComponentInstance
1302
+ * }
1303
+ * })
1304
+ *
1305
+ */
1306
+ 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>
1307
+
1308
+ /**
1309
+ * Create many ComponentInstances.
1310
+ * @param {ComponentInstanceCreateManyArgs} args - Arguments to create many ComponentInstances.
1311
+ * @example
1312
+ * // Create many ComponentInstances
1313
+ * const componentInstance = await prisma.componentInstance.createMany({
1314
+ * data: [
1315
+ * // ... provide data here
1316
+ * ]
1317
+ * })
1318
+ *
1319
+ */
1320
+ createMany<T extends ComponentInstanceCreateManyArgs>(args?: Prisma.SelectSubset<T, ComponentInstanceCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1321
+
1322
+ /**
1323
+ * Create many ComponentInstances and returns the data saved in the database.
1324
+ * @param {ComponentInstanceCreateManyAndReturnArgs} args - Arguments to create many ComponentInstances.
1325
+ * @example
1326
+ * // Create many ComponentInstances
1327
+ * const componentInstance = await prisma.componentInstance.createManyAndReturn({
1328
+ * data: [
1329
+ * // ... provide data here
1330
+ * ]
1331
+ * })
1332
+ *
1333
+ * // Create many ComponentInstances and only return the `id`
1334
+ * const componentInstanceWithIdOnly = await prisma.componentInstance.createManyAndReturn({
1335
+ * select: { id: true },
1336
+ * data: [
1337
+ * // ... provide data here
1338
+ * ]
1339
+ * })
1340
+ * Note, that providing `undefined` is treated as the value not being there.
1341
+ * Read more here: https://pris.ly/d/null-undefined
1342
+ *
1343
+ */
1344
+ createManyAndReturn<T extends ComponentInstanceCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ComponentInstanceCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ComponentInstancePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1345
+
1346
+ /**
1347
+ * Delete a ComponentInstance.
1348
+ * @param {ComponentInstanceDeleteArgs} args - Arguments to delete one ComponentInstance.
1349
+ * @example
1350
+ * // Delete one ComponentInstance
1351
+ * const ComponentInstance = await prisma.componentInstance.delete({
1352
+ * where: {
1353
+ * // ... filter to delete one ComponentInstance
1354
+ * }
1355
+ * })
1356
+ *
1357
+ */
1358
+ 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>
1359
+
1360
+ /**
1361
+ * Update one ComponentInstance.
1362
+ * @param {ComponentInstanceUpdateArgs} args - Arguments to update one ComponentInstance.
1363
+ * @example
1364
+ * // Update one ComponentInstance
1365
+ * const componentInstance = await prisma.componentInstance.update({
1366
+ * where: {
1367
+ * // ... provide filter here
1368
+ * },
1369
+ * data: {
1370
+ * // ... provide data here
1371
+ * }
1372
+ * })
1373
+ *
1374
+ */
1375
+ 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>
1376
+
1377
+ /**
1378
+ * Delete zero or more ComponentInstances.
1379
+ * @param {ComponentInstanceDeleteManyArgs} args - Arguments to filter ComponentInstances to delete.
1380
+ * @example
1381
+ * // Delete a few ComponentInstances
1382
+ * const { count } = await prisma.componentInstance.deleteMany({
1383
+ * where: {
1384
+ * // ... provide filter here
1385
+ * }
1386
+ * })
1387
+ *
1388
+ */
1389
+ deleteMany<T extends ComponentInstanceDeleteManyArgs>(args?: Prisma.SelectSubset<T, ComponentInstanceDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1390
+
1391
+ /**
1392
+ * Update zero or more ComponentInstances.
1393
+ * Note, that providing `undefined` is treated as the value not being there.
1394
+ * Read more here: https://pris.ly/d/null-undefined
1395
+ * @param {ComponentInstanceUpdateManyArgs} args - Arguments to update one or more rows.
1396
+ * @example
1397
+ * // Update many ComponentInstances
1398
+ * const componentInstance = await prisma.componentInstance.updateMany({
1399
+ * where: {
1400
+ * // ... provide filter here
1401
+ * },
1402
+ * data: {
1403
+ * // ... provide data here
1404
+ * }
1405
+ * })
1406
+ *
1407
+ */
1408
+ updateMany<T extends ComponentInstanceUpdateManyArgs>(args: Prisma.SelectSubset<T, ComponentInstanceUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1409
+
1410
+ /**
1411
+ * Update zero or more ComponentInstances and returns the data updated in the database.
1412
+ * @param {ComponentInstanceUpdateManyAndReturnArgs} args - Arguments to update many ComponentInstances.
1413
+ * @example
1414
+ * // Update many ComponentInstances
1415
+ * const componentInstance = await prisma.componentInstance.updateManyAndReturn({
1416
+ * where: {
1417
+ * // ... provide filter here
1418
+ * },
1419
+ * data: [
1420
+ * // ... provide data here
1421
+ * ]
1422
+ * })
1423
+ *
1424
+ * // Update zero or more ComponentInstances and only return the `id`
1425
+ * const componentInstanceWithIdOnly = await prisma.componentInstance.updateManyAndReturn({
1426
+ * select: { id: true },
1427
+ * where: {
1428
+ * // ... provide filter here
1429
+ * },
1430
+ * data: [
1431
+ * // ... provide data here
1432
+ * ]
1433
+ * })
1434
+ * Note, that providing `undefined` is treated as the value not being there.
1435
+ * Read more here: https://pris.ly/d/null-undefined
1436
+ *
1437
+ */
1438
+ updateManyAndReturn<T extends ComponentInstanceUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ComponentInstanceUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ComponentInstancePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1439
+
1440
+ /**
1441
+ * Create or update one ComponentInstance.
1442
+ * @param {ComponentInstanceUpsertArgs} args - Arguments to update or create a ComponentInstance.
1443
+ * @example
1444
+ * // Update or create a ComponentInstance
1445
+ * const componentInstance = await prisma.componentInstance.upsert({
1446
+ * create: {
1447
+ * // ... data to create a ComponentInstance
1448
+ * },
1449
+ * update: {
1450
+ * // ... in case it already exists, update
1451
+ * },
1452
+ * where: {
1453
+ * // ... the filter for the ComponentInstance we want to update
1454
+ * }
1455
+ * })
1456
+ */
1457
+ 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>
1458
+
1459
+
1460
+ /**
1461
+ * Count the number of ComponentInstances.
1462
+ * Note, that providing `undefined` is treated as the value not being there.
1463
+ * Read more here: https://pris.ly/d/null-undefined
1464
+ * @param {ComponentInstanceCountArgs} args - Arguments to filter ComponentInstances to count.
1465
+ * @example
1466
+ * // Count the number of ComponentInstances
1467
+ * const count = await prisma.componentInstance.count({
1468
+ * where: {
1469
+ * // ... the filter for the ComponentInstances we want to count
1470
+ * }
1471
+ * })
1472
+ **/
1473
+ count<T extends ComponentInstanceCountArgs>(
1474
+ args?: Prisma.Subset<T, ComponentInstanceCountArgs>,
1475
+ ): Prisma.PrismaPromise<
1476
+ T extends runtime.Types.Utils.Record<'select', any>
1477
+ ? T['select'] extends true
1478
+ ? number
1479
+ : Prisma.GetScalarType<T['select'], ComponentInstanceCountAggregateOutputType>
1480
+ : number
1481
+ >
1482
+
1483
+ /**
1484
+ * Allows you to perform aggregations operations on a ComponentInstance.
1485
+ * Note, that providing `undefined` is treated as the value not being there.
1486
+ * Read more here: https://pris.ly/d/null-undefined
1487
+ * @param {ComponentInstanceAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1488
+ * @example
1489
+ * // Ordered by age ascending
1490
+ * // Where email contains prisma.io
1491
+ * // Limited to the 10 users
1492
+ * const aggregations = await prisma.user.aggregate({
1493
+ * _avg: {
1494
+ * age: true,
1495
+ * },
1496
+ * where: {
1497
+ * email: {
1498
+ * contains: "prisma.io",
1499
+ * },
1500
+ * },
1501
+ * orderBy: {
1502
+ * age: "asc",
1503
+ * },
1504
+ * take: 10,
1505
+ * })
1506
+ **/
1507
+ aggregate<T extends ComponentInstanceAggregateArgs>(args: Prisma.Subset<T, ComponentInstanceAggregateArgs>): Prisma.PrismaPromise<GetComponentInstanceAggregateType<T>>
1508
+
1509
+ /**
1510
+ * Group by ComponentInstance.
1511
+ * Note, that providing `undefined` is treated as the value not being there.
1512
+ * Read more here: https://pris.ly/d/null-undefined
1513
+ * @param {ComponentInstanceGroupByArgs} args - Group by arguments.
1514
+ * @example
1515
+ * // Group by city, order by createdAt, get count
1516
+ * const result = await prisma.user.groupBy({
1517
+ * by: ['city', 'createdAt'],
1518
+ * orderBy: {
1519
+ * createdAt: true
1520
+ * },
1521
+ * _count: {
1522
+ * _all: true
1523
+ * },
1524
+ * })
1525
+ *
1526
+ **/
1527
+ groupBy<
1528
+ T extends ComponentInstanceGroupByArgs,
1529
+ HasSelectOrTake extends Prisma.Or<
1530
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1531
+ Prisma.Extends<'take', Prisma.Keys<T>>
1532
+ >,
1533
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1534
+ ? { orderBy: ComponentInstanceGroupByArgs['orderBy'] }
1535
+ : { orderBy?: ComponentInstanceGroupByArgs['orderBy'] },
1536
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1537
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1538
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1539
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1540
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1541
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1542
+ InputErrors extends ByEmpty extends Prisma.True
1543
+ ? `Error: "by" must not be empty.`
1544
+ : HavingValid extends Prisma.False
1545
+ ? {
1546
+ [P in HavingFields]: P extends ByFields
1547
+ ? never
1548
+ : P extends string
1549
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1550
+ : [
1551
+ Error,
1552
+ 'Field ',
1553
+ P,
1554
+ ` in "having" needs to be provided in "by"`,
1555
+ ]
1556
+ }[HavingFields]
1557
+ : 'take' extends Prisma.Keys<T>
1558
+ ? 'orderBy' extends Prisma.Keys<T>
1559
+ ? ByValid extends Prisma.True
1560
+ ? {}
1561
+ : {
1562
+ [P in OrderFields]: P extends ByFields
1563
+ ? never
1564
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1565
+ }[OrderFields]
1566
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1567
+ : 'skip' extends Prisma.Keys<T>
1568
+ ? 'orderBy' extends Prisma.Keys<T>
1569
+ ? ByValid extends Prisma.True
1570
+ ? {}
1571
+ : {
1572
+ [P in OrderFields]: P extends ByFields
1573
+ ? never
1574
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1575
+ }[OrderFields]
1576
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1577
+ : ByValid extends Prisma.True
1578
+ ? {}
1579
+ : {
1580
+ [P in OrderFields]: P extends ByFields
1581
+ ? never
1582
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1583
+ }[OrderFields]
1584
+ >(args: Prisma.SubsetIntersection<T, ComponentInstanceGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetComponentInstanceGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1585
+ /**
1586
+ * Fields of the ComponentInstance model
1587
+ */
1588
+ readonly fields: ComponentInstanceFieldRefs;
1589
+ }
1590
+
1591
+ /**
1592
+ * The delegate class that acts as a "Promise-like" for ComponentInstance.
1593
+ * Why is this prefixed with `Prisma__`?
1594
+ * Because we want to prevent naming conflicts as mentioned in
1595
+ * https://github.com/prisma/prisma-client-js/issues/707
1596
+ */
1597
+ export interface Prisma__ComponentInstanceClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1598
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1599
+ 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>
1600
+ 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>
1601
+ 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>
1602
+ /**
1603
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1604
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1605
+ * @param onrejected The callback to execute when the Promise is rejected.
1606
+ * @returns A Promise for the completion of which ever callback is executed.
1607
+ */
1608
+ 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>
1609
+ /**
1610
+ * Attaches a callback for only the rejection of the Promise.
1611
+ * @param onrejected The callback to execute when the Promise is rejected.
1612
+ * @returns A Promise for the completion of the callback.
1613
+ */
1614
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1615
+ /**
1616
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1617
+ * resolved value cannot be modified from the callback.
1618
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1619
+ * @returns A Promise for the completion of the callback.
1620
+ */
1621
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1622
+ }
1623
+
1624
+
1625
+
1626
+
1627
+ /**
1628
+ * Fields of the ComponentInstance model
1629
+ */
1630
+ export interface ComponentInstanceFieldRefs {
1631
+ readonly id: Prisma.FieldRef<"ComponentInstance", 'String'>
1632
+ readonly pageId: Prisma.FieldRef<"ComponentInstance", 'String'>
1633
+ readonly componentId: Prisma.FieldRef<"ComponentInstance", 'String'>
1634
+ readonly blockInstanceId: Prisma.FieldRef<"ComponentInstance", 'String'>
1635
+ readonly name: Prisma.FieldRef<"ComponentInstance", 'String'>
1636
+ readonly x: Prisma.FieldRef<"ComponentInstance", 'Float'>
1637
+ readonly y: Prisma.FieldRef<"ComponentInstance", 'Float'>
1638
+ readonly width: Prisma.FieldRef<"ComponentInstance", 'Float'>
1639
+ readonly height: Prisma.FieldRef<"ComponentInstance", 'Float'>
1640
+ readonly zIndex: Prisma.FieldRef<"ComponentInstance", 'Int'>
1641
+ readonly props: Prisma.FieldRef<"ComponentInstance", 'Json'>
1642
+ readonly style: Prisma.FieldRef<"ComponentInstance", 'Json'>
1643
+ readonly createdAt: Prisma.FieldRef<"ComponentInstance", 'DateTime'>
1644
+ readonly updatedAt: Prisma.FieldRef<"ComponentInstance", 'DateTime'>
1645
+ }
1646
+
1647
+
1648
+ // Custom InputTypes
1649
+ /**
1650
+ * ComponentInstance findUnique
1651
+ */
1652
+ export type ComponentInstanceFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1653
+ /**
1654
+ * Select specific fields to fetch from the ComponentInstance
1655
+ */
1656
+ select?: Prisma.ComponentInstanceSelect<ExtArgs> | null
1657
+ /**
1658
+ * Omit specific fields from the ComponentInstance
1659
+ */
1660
+ omit?: Prisma.ComponentInstanceOmit<ExtArgs> | null
1661
+ /**
1662
+ * Choose, which related nodes to fetch as well
1663
+ */
1664
+ include?: Prisma.ComponentInstanceInclude<ExtArgs> | null
1665
+ /**
1666
+ * Filter, which ComponentInstance to fetch.
1667
+ */
1668
+ where: Prisma.ComponentInstanceWhereUniqueInput
1669
+ }
1670
+
1671
+ /**
1672
+ * ComponentInstance findUniqueOrThrow
1673
+ */
1674
+ export type ComponentInstanceFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1675
+ /**
1676
+ * Select specific fields to fetch from the ComponentInstance
1677
+ */
1678
+ select?: Prisma.ComponentInstanceSelect<ExtArgs> | null
1679
+ /**
1680
+ * Omit specific fields from the ComponentInstance
1681
+ */
1682
+ omit?: Prisma.ComponentInstanceOmit<ExtArgs> | null
1683
+ /**
1684
+ * Choose, which related nodes to fetch as well
1685
+ */
1686
+ include?: Prisma.ComponentInstanceInclude<ExtArgs> | null
1687
+ /**
1688
+ * Filter, which ComponentInstance to fetch.
1689
+ */
1690
+ where: Prisma.ComponentInstanceWhereUniqueInput
1691
+ }
1692
+
1693
+ /**
1694
+ * ComponentInstance findFirst
1695
+ */
1696
+ export type ComponentInstanceFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1697
+ /**
1698
+ * Select specific fields to fetch from the ComponentInstance
1699
+ */
1700
+ select?: Prisma.ComponentInstanceSelect<ExtArgs> | null
1701
+ /**
1702
+ * Omit specific fields from the ComponentInstance
1703
+ */
1704
+ omit?: Prisma.ComponentInstanceOmit<ExtArgs> | null
1705
+ /**
1706
+ * Choose, which related nodes to fetch as well
1707
+ */
1708
+ include?: Prisma.ComponentInstanceInclude<ExtArgs> | null
1709
+ /**
1710
+ * Filter, which ComponentInstance to fetch.
1711
+ */
1712
+ where?: Prisma.ComponentInstanceWhereInput
1713
+ /**
1714
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1715
+ *
1716
+ * Determine the order of ComponentInstances to fetch.
1717
+ */
1718
+ orderBy?: Prisma.ComponentInstanceOrderByWithRelationInput | Prisma.ComponentInstanceOrderByWithRelationInput[]
1719
+ /**
1720
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1721
+ *
1722
+ * Sets the position for searching for ComponentInstances.
1723
+ */
1724
+ cursor?: Prisma.ComponentInstanceWhereUniqueInput
1725
+ /**
1726
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1727
+ *
1728
+ * Take `±n` ComponentInstances from the position of the cursor.
1729
+ */
1730
+ take?: number
1731
+ /**
1732
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1733
+ *
1734
+ * Skip the first `n` ComponentInstances.
1735
+ */
1736
+ skip?: number
1737
+ /**
1738
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1739
+ *
1740
+ * Filter by unique combinations of ComponentInstances.
1741
+ */
1742
+ distinct?: Prisma.ComponentInstanceScalarFieldEnum | Prisma.ComponentInstanceScalarFieldEnum[]
1743
+ }
1744
+
1745
+ /**
1746
+ * ComponentInstance findFirstOrThrow
1747
+ */
1748
+ export type ComponentInstanceFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1749
+ /**
1750
+ * Select specific fields to fetch from the ComponentInstance
1751
+ */
1752
+ select?: Prisma.ComponentInstanceSelect<ExtArgs> | null
1753
+ /**
1754
+ * Omit specific fields from the ComponentInstance
1755
+ */
1756
+ omit?: Prisma.ComponentInstanceOmit<ExtArgs> | null
1757
+ /**
1758
+ * Choose, which related nodes to fetch as well
1759
+ */
1760
+ include?: Prisma.ComponentInstanceInclude<ExtArgs> | null
1761
+ /**
1762
+ * Filter, which ComponentInstance to fetch.
1763
+ */
1764
+ where?: Prisma.ComponentInstanceWhereInput
1765
+ /**
1766
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1767
+ *
1768
+ * Determine the order of ComponentInstances to fetch.
1769
+ */
1770
+ orderBy?: Prisma.ComponentInstanceOrderByWithRelationInput | Prisma.ComponentInstanceOrderByWithRelationInput[]
1771
+ /**
1772
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1773
+ *
1774
+ * Sets the position for searching for ComponentInstances.
1775
+ */
1776
+ cursor?: Prisma.ComponentInstanceWhereUniqueInput
1777
+ /**
1778
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1779
+ *
1780
+ * Take `±n` ComponentInstances from the position of the cursor.
1781
+ */
1782
+ take?: number
1783
+ /**
1784
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1785
+ *
1786
+ * Skip the first `n` ComponentInstances.
1787
+ */
1788
+ skip?: number
1789
+ /**
1790
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1791
+ *
1792
+ * Filter by unique combinations of ComponentInstances.
1793
+ */
1794
+ distinct?: Prisma.ComponentInstanceScalarFieldEnum | Prisma.ComponentInstanceScalarFieldEnum[]
1795
+ }
1796
+
1797
+ /**
1798
+ * ComponentInstance findMany
1799
+ */
1800
+ export type ComponentInstanceFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1801
+ /**
1802
+ * Select specific fields to fetch from the ComponentInstance
1803
+ */
1804
+ select?: Prisma.ComponentInstanceSelect<ExtArgs> | null
1805
+ /**
1806
+ * Omit specific fields from the ComponentInstance
1807
+ */
1808
+ omit?: Prisma.ComponentInstanceOmit<ExtArgs> | null
1809
+ /**
1810
+ * Choose, which related nodes to fetch as well
1811
+ */
1812
+ include?: Prisma.ComponentInstanceInclude<ExtArgs> | null
1813
+ /**
1814
+ * Filter, which ComponentInstances to fetch.
1815
+ */
1816
+ where?: Prisma.ComponentInstanceWhereInput
1817
+ /**
1818
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1819
+ *
1820
+ * Determine the order of ComponentInstances to fetch.
1821
+ */
1822
+ orderBy?: Prisma.ComponentInstanceOrderByWithRelationInput | Prisma.ComponentInstanceOrderByWithRelationInput[]
1823
+ /**
1824
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1825
+ *
1826
+ * Sets the position for listing ComponentInstances.
1827
+ */
1828
+ cursor?: Prisma.ComponentInstanceWhereUniqueInput
1829
+ /**
1830
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1831
+ *
1832
+ * Take `±n` ComponentInstances from the position of the cursor.
1833
+ */
1834
+ take?: number
1835
+ /**
1836
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1837
+ *
1838
+ * Skip the first `n` ComponentInstances.
1839
+ */
1840
+ skip?: number
1841
+ /**
1842
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1843
+ *
1844
+ * Filter by unique combinations of ComponentInstances.
1845
+ */
1846
+ distinct?: Prisma.ComponentInstanceScalarFieldEnum | Prisma.ComponentInstanceScalarFieldEnum[]
1847
+ }
1848
+
1849
+ /**
1850
+ * ComponentInstance create
1851
+ */
1852
+ export type ComponentInstanceCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1853
+ /**
1854
+ * Select specific fields to fetch from the ComponentInstance
1855
+ */
1856
+ select?: Prisma.ComponentInstanceSelect<ExtArgs> | null
1857
+ /**
1858
+ * Omit specific fields from the ComponentInstance
1859
+ */
1860
+ omit?: Prisma.ComponentInstanceOmit<ExtArgs> | null
1861
+ /**
1862
+ * Choose, which related nodes to fetch as well
1863
+ */
1864
+ include?: Prisma.ComponentInstanceInclude<ExtArgs> | null
1865
+ /**
1866
+ * The data needed to create a ComponentInstance.
1867
+ */
1868
+ data: Prisma.XOR<Prisma.ComponentInstanceCreateInput, Prisma.ComponentInstanceUncheckedCreateInput>
1869
+ }
1870
+
1871
+ /**
1872
+ * ComponentInstance createMany
1873
+ */
1874
+ export type ComponentInstanceCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1875
+ /**
1876
+ * The data used to create many ComponentInstances.
1877
+ */
1878
+ data: Prisma.ComponentInstanceCreateManyInput | Prisma.ComponentInstanceCreateManyInput[]
1879
+ }
1880
+
1881
+ /**
1882
+ * ComponentInstance createManyAndReturn
1883
+ */
1884
+ export type ComponentInstanceCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1885
+ /**
1886
+ * Select specific fields to fetch from the ComponentInstance
1887
+ */
1888
+ select?: Prisma.ComponentInstanceSelectCreateManyAndReturn<ExtArgs> | null
1889
+ /**
1890
+ * Omit specific fields from the ComponentInstance
1891
+ */
1892
+ omit?: Prisma.ComponentInstanceOmit<ExtArgs> | null
1893
+ /**
1894
+ * The data used to create many ComponentInstances.
1895
+ */
1896
+ data: Prisma.ComponentInstanceCreateManyInput | Prisma.ComponentInstanceCreateManyInput[]
1897
+ /**
1898
+ * Choose, which related nodes to fetch as well
1899
+ */
1900
+ include?: Prisma.ComponentInstanceIncludeCreateManyAndReturn<ExtArgs> | null
1901
+ }
1902
+
1903
+ /**
1904
+ * ComponentInstance update
1905
+ */
1906
+ export type ComponentInstanceUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1907
+ /**
1908
+ * Select specific fields to fetch from the ComponentInstance
1909
+ */
1910
+ select?: Prisma.ComponentInstanceSelect<ExtArgs> | null
1911
+ /**
1912
+ * Omit specific fields from the ComponentInstance
1913
+ */
1914
+ omit?: Prisma.ComponentInstanceOmit<ExtArgs> | null
1915
+ /**
1916
+ * Choose, which related nodes to fetch as well
1917
+ */
1918
+ include?: Prisma.ComponentInstanceInclude<ExtArgs> | null
1919
+ /**
1920
+ * The data needed to update a ComponentInstance.
1921
+ */
1922
+ data: Prisma.XOR<Prisma.ComponentInstanceUpdateInput, Prisma.ComponentInstanceUncheckedUpdateInput>
1923
+ /**
1924
+ * Choose, which ComponentInstance to update.
1925
+ */
1926
+ where: Prisma.ComponentInstanceWhereUniqueInput
1927
+ }
1928
+
1929
+ /**
1930
+ * ComponentInstance updateMany
1931
+ */
1932
+ export type ComponentInstanceUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1933
+ /**
1934
+ * The data used to update ComponentInstances.
1935
+ */
1936
+ data: Prisma.XOR<Prisma.ComponentInstanceUpdateManyMutationInput, Prisma.ComponentInstanceUncheckedUpdateManyInput>
1937
+ /**
1938
+ * Filter which ComponentInstances to update
1939
+ */
1940
+ where?: Prisma.ComponentInstanceWhereInput
1941
+ /**
1942
+ * Limit how many ComponentInstances to update.
1943
+ */
1944
+ limit?: number
1945
+ }
1946
+
1947
+ /**
1948
+ * ComponentInstance updateManyAndReturn
1949
+ */
1950
+ export type ComponentInstanceUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1951
+ /**
1952
+ * Select specific fields to fetch from the ComponentInstance
1953
+ */
1954
+ select?: Prisma.ComponentInstanceSelectUpdateManyAndReturn<ExtArgs> | null
1955
+ /**
1956
+ * Omit specific fields from the ComponentInstance
1957
+ */
1958
+ omit?: Prisma.ComponentInstanceOmit<ExtArgs> | null
1959
+ /**
1960
+ * The data used to update ComponentInstances.
1961
+ */
1962
+ data: Prisma.XOR<Prisma.ComponentInstanceUpdateManyMutationInput, Prisma.ComponentInstanceUncheckedUpdateManyInput>
1963
+ /**
1964
+ * Filter which ComponentInstances to update
1965
+ */
1966
+ where?: Prisma.ComponentInstanceWhereInput
1967
+ /**
1968
+ * Limit how many ComponentInstances to update.
1969
+ */
1970
+ limit?: number
1971
+ /**
1972
+ * Choose, which related nodes to fetch as well
1973
+ */
1974
+ include?: Prisma.ComponentInstanceIncludeUpdateManyAndReturn<ExtArgs> | null
1975
+ }
1976
+
1977
+ /**
1978
+ * ComponentInstance upsert
1979
+ */
1980
+ export type ComponentInstanceUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1981
+ /**
1982
+ * Select specific fields to fetch from the ComponentInstance
1983
+ */
1984
+ select?: Prisma.ComponentInstanceSelect<ExtArgs> | null
1985
+ /**
1986
+ * Omit specific fields from the ComponentInstance
1987
+ */
1988
+ omit?: Prisma.ComponentInstanceOmit<ExtArgs> | null
1989
+ /**
1990
+ * Choose, which related nodes to fetch as well
1991
+ */
1992
+ include?: Prisma.ComponentInstanceInclude<ExtArgs> | null
1993
+ /**
1994
+ * The filter to search for the ComponentInstance to update in case it exists.
1995
+ */
1996
+ where: Prisma.ComponentInstanceWhereUniqueInput
1997
+ /**
1998
+ * In case the ComponentInstance found by the `where` argument doesn't exist, create a new ComponentInstance with this data.
1999
+ */
2000
+ create: Prisma.XOR<Prisma.ComponentInstanceCreateInput, Prisma.ComponentInstanceUncheckedCreateInput>
2001
+ /**
2002
+ * In case the ComponentInstance was found with the provided `where` argument, update it with this data.
2003
+ */
2004
+ update: Prisma.XOR<Prisma.ComponentInstanceUpdateInput, Prisma.ComponentInstanceUncheckedUpdateInput>
2005
+ }
2006
+
2007
+ /**
2008
+ * ComponentInstance delete
2009
+ */
2010
+ export type ComponentInstanceDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2011
+ /**
2012
+ * Select specific fields to fetch from the ComponentInstance
2013
+ */
2014
+ select?: Prisma.ComponentInstanceSelect<ExtArgs> | null
2015
+ /**
2016
+ * Omit specific fields from the ComponentInstance
2017
+ */
2018
+ omit?: Prisma.ComponentInstanceOmit<ExtArgs> | null
2019
+ /**
2020
+ * Choose, which related nodes to fetch as well
2021
+ */
2022
+ include?: Prisma.ComponentInstanceInclude<ExtArgs> | null
2023
+ /**
2024
+ * Filter which ComponentInstance to delete.
2025
+ */
2026
+ where: Prisma.ComponentInstanceWhereUniqueInput
2027
+ }
2028
+
2029
+ /**
2030
+ * ComponentInstance deleteMany
2031
+ */
2032
+ export type ComponentInstanceDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2033
+ /**
2034
+ * Filter which ComponentInstances to delete
2035
+ */
2036
+ where?: Prisma.ComponentInstanceWhereInput
2037
+ /**
2038
+ * Limit how many ComponentInstances to delete.
2039
+ */
2040
+ limit?: number
2041
+ }
2042
+
2043
+ /**
2044
+ * ComponentInstance.component
2045
+ */
2046
+ export type ComponentInstance$componentArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2047
+ /**
2048
+ * Select specific fields to fetch from the Component
2049
+ */
2050
+ select?: Prisma.ComponentSelect<ExtArgs> | null
2051
+ /**
2052
+ * Omit specific fields from the Component
2053
+ */
2054
+ omit?: Prisma.ComponentOmit<ExtArgs> | null
2055
+ /**
2056
+ * Choose, which related nodes to fetch as well
2057
+ */
2058
+ include?: Prisma.ComponentInclude<ExtArgs> | null
2059
+ where?: Prisma.ComponentWhereInput
2060
+ }
2061
+
2062
+ /**
2063
+ * ComponentInstance.blockInstance
2064
+ */
2065
+ export type ComponentInstance$blockInstanceArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2066
+ /**
2067
+ * Select specific fields to fetch from the BlockInstance
2068
+ */
2069
+ select?: Prisma.BlockInstanceSelect<ExtArgs> | null
2070
+ /**
2071
+ * Omit specific fields from the BlockInstance
2072
+ */
2073
+ omit?: Prisma.BlockInstanceOmit<ExtArgs> | null
2074
+ /**
2075
+ * Choose, which related nodes to fetch as well
2076
+ */
2077
+ include?: Prisma.BlockInstanceInclude<ExtArgs> | null
2078
+ where?: Prisma.BlockInstanceWhereInput
2079
+ }
2080
+
2081
+ /**
2082
+ * ComponentInstance without action
2083
+ */
2084
+ export type ComponentInstanceDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2085
+ /**
2086
+ * Select specific fields to fetch from the ComponentInstance
2087
+ */
2088
+ select?: Prisma.ComponentInstanceSelect<ExtArgs> | null
2089
+ /**
2090
+ * Omit specific fields from the ComponentInstance
2091
+ */
2092
+ omit?: Prisma.ComponentInstanceOmit<ExtArgs> | null
2093
+ /**
2094
+ * Choose, which related nodes to fetch as well
2095
+ */
2096
+ include?: Prisma.ComponentInstanceInclude<ExtArgs> | null
2097
+ }