@allbluecn/database 0.9.0 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/desktop-init.ts +2 -2
  2. package/dist/get-prisma.js +1 -1
  3. package/dist/lib/share-utils.js +3 -3
  4. package/generated/browser.ts +115 -25
  5. package/generated/client.ts +115 -25
  6. package/generated/commonInputTypes.ts +34 -0
  7. package/generated/enums.ts +14 -0
  8. package/generated/internal/class.ts +234 -54
  9. package/generated/internal/prismaNamespace.ts +2190 -511
  10. package/generated/internal/prismaNamespaceBrowser.ts +391 -76
  11. package/generated/models/AgentConversation.ts +89 -89
  12. package/generated/models/AiProvider.ts +3 -3
  13. package/generated/models/AiStreamChunk.ts +3 -3
  14. package/generated/models/AnyHubMarketApp.ts +8 -8
  15. package/generated/models/AuditLog.ts +6 -6
  16. package/generated/models/BlockInstance.ts +17 -17
  17. package/generated/models/Bug.ts +5023 -0
  18. package/generated/models/BugActivity.ts +1765 -0
  19. package/generated/models/BugComment.ts +1853 -0
  20. package/generated/models/BugEvent.ts +1339 -0
  21. package/generated/models/BugFilterView.ts +1438 -0
  22. package/generated/models/BugFixRun.ts +1479 -0
  23. package/generated/models/BugLabel.ts +1349 -0
  24. package/generated/models/BugProjectSettings.ts +1403 -0
  25. package/generated/models/BugReproRun.ts +1582 -0
  26. package/generated/models/ChatPersistenceMeta.ts +3 -3
  27. package/generated/models/Comment.ts +99 -99
  28. package/generated/models/Component.ts +9 -9
  29. package/generated/models/ComponentInstance.ts +17 -17
  30. package/generated/models/CustomRole.ts +8 -8
  31. package/generated/models/Design.ts +2872 -0
  32. package/generated/models/DesignPage.ts +2402 -0
  33. package/generated/models/DesignTag.ts +1430 -0
  34. package/generated/models/DesignVersion.ts +2121 -0
  35. package/generated/models/DesktopSetting.ts +3 -3
  36. package/generated/models/Iteration.ts +148 -0
  37. package/generated/models/Label.ts +118 -0
  38. package/generated/models/LicenseKey.ts +16 -16
  39. package/generated/models/NotificationPreference.ts +5 -5
  40. package/generated/models/PageVersion.ts +49 -49
  41. package/generated/models/Plan.ts +5 -5
  42. package/generated/models/Project.ts +1970 -58
  43. package/generated/models/ProjectAccessToken.ts +1705 -0
  44. package/generated/models/ProjectWebhook.ts +1409 -0
  45. package/generated/models/Review.ts +118 -118
  46. package/generated/models/Share.ts +83 -83
  47. package/generated/models/ShareVersion.ts +15 -15
  48. package/generated/models/SsoProvider.ts +8 -8
  49. package/generated/models/Story.ts +973 -87
  50. package/generated/models/StoryDesignLink.ts +1430 -0
  51. package/generated/models/StoryFilterView.ts +12 -12
  52. package/generated/models/SystemPromptVersion.ts +6 -6
  53. package/generated/models/Tag.ts +49 -49
  54. package/generated/models/TestAutomationArtifact.ts +1790 -0
  55. package/generated/models/TestCase.ts +3568 -0
  56. package/generated/models/TestCaseFilterView.ts +1587 -0
  57. package/generated/models/TestCaseFolder.ts +1795 -0
  58. package/generated/models/TestExecRun.ts +1673 -0
  59. package/generated/models/TestGenerationRun.ts +1952 -0
  60. package/generated/models/TestPlan.ts +1950 -0
  61. package/generated/models/TestPlanCase.ts +1430 -0
  62. package/generated/models/TestRun.ts +1979 -0
  63. package/generated/models/TestRunCase.ts +2772 -0
  64. package/generated/models/ThirdPartyDependency.ts +19 -15
  65. package/generated/models/User.ts +12141 -2721
  66. package/generated/models.ts +26 -8
  67. package/generated-sqlite/browser.ts +8 -23
  68. package/generated-sqlite/client.ts +8 -23
  69. package/generated-sqlite/internal/class.ts +20 -50
  70. package/generated-sqlite/internal/prismaNamespace.ts +166 -437
  71. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +25 -71
  72. package/generated-sqlite/models/AgentConversation.ts +89 -89
  73. package/generated-sqlite/models/AiProvider.ts +3 -3
  74. package/generated-sqlite/models/AiStreamChunk.ts +3 -3
  75. package/generated-sqlite/models/AnyHubMarketApp.ts +8 -8
  76. package/generated-sqlite/models/BlockInstance.ts +17 -17
  77. package/generated-sqlite/models/ChatPersistenceMeta.ts +3 -3
  78. package/generated-sqlite/models/Comment.ts +99 -99
  79. package/generated-sqlite/models/Component.ts +9 -9
  80. package/generated-sqlite/models/ComponentInstance.ts +17 -17
  81. package/generated-sqlite/models/Design.ts +2679 -0
  82. package/generated-sqlite/models/DesignPage.ts +2398 -0
  83. package/generated-sqlite/models/DesignTag.ts +1426 -0
  84. package/generated-sqlite/models/DesignVersion.ts +2117 -0
  85. package/generated-sqlite/models/DesktopSetting.ts +3 -3
  86. package/generated-sqlite/models/KnowledgeBase.ts +240 -1
  87. package/generated-sqlite/models/NotificationPreference.ts +5 -5
  88. package/generated-sqlite/models/PageVersion.ts +49 -49
  89. package/generated-sqlite/models/Review.ts +118 -118
  90. package/generated-sqlite/models/Share.ts +83 -83
  91. package/generated-sqlite/models/ShareVersion.ts +15 -15
  92. package/generated-sqlite/models/SystemPromptVersion.ts +6 -6
  93. package/generated-sqlite/models/Tag.ts +49 -49
  94. package/generated-sqlite/models/User.ts +1201 -1321
  95. package/generated-sqlite/models/Workspace.ts +164 -0
  96. package/generated-sqlite/models.ts +4 -7
  97. package/index.ts +17 -3
  98. package/migrations/20260924084200_add_prd_kind_drop_design_sketch/migration.sql +24 -0
  99. package/migrations/20260924123118_drop_user_sketch_api_token/migration.sql +8 -0
  100. package/migrations/20260925011516_rename_prd_tables/migration.sql +189 -0
  101. package/migrations/20260925064226_rename_prd_columns/migration.sql +193 -0
  102. package/migrations/20260925080000_rename_prd_embeddings/migration.sql +43 -0
  103. package/migrations/20261002184838_bug_module_init/migration.sql +297 -0
  104. package/migrations/20261004234209_testcase_module_init/migration.sql +290 -0
  105. package/migrations/20261005090000_testcase_plan_cases/migration.sql +34 -0
  106. package/migrations/20261006151229_add_missing_fk_indexes_auth_billing/migration.sql +50 -0
  107. package/migrations/20261006152058_add_missing_fk_indexes_story_bug_test/migration.sql +59 -0
  108. package/migrations/20261006152153_add_missing_fk_indexes_design_misc/migration.sql +50 -0
  109. package/migrations/20261006184250_explicit_on_delete_core/migration.sql +33 -0
  110. package/migrations/20261006184604_explicit_on_delete_rest/migration.sql +117 -0
  111. package/migrations/20261006184932_json_column_defaults/migration.sql +74 -0
  112. package/migrations/20261006191724_revert_version_token_cascade/migration.sql +21 -0
  113. package/migrations/20261007025537_dependency_category_enum/migration.sql +22 -0
  114. package/package.json +4 -4
  115. package/schema.prisma +687 -177
  116. package/schema.sqlite.prisma +149 -151
  117. package/src/lib/share-utils.ts +2 -2
  118. package/generated/models/Artboard.ts +0 -1811
  119. package/generated/models/ArtboardExport.ts +0 -1548
  120. package/generated/models/DesignProject.ts +0 -1643
  121. package/generated/models/PRD.ts +0 -2805
  122. package/generated/models/PRDPage.ts +0 -2402
  123. package/generated/models/PRDTag.ts +0 -1430
  124. package/generated/models/PRDVersion.ts +0 -2121
  125. package/generated/models/StoryPrdLink.ts +0 -1430
  126. package/generated-sqlite/models/Artboard.ts +0 -1808
  127. package/generated-sqlite/models/ArtboardExport.ts +0 -1545
  128. package/generated-sqlite/models/DesignProject.ts +0 -1640
  129. package/generated-sqlite/models/PRD.ts +0 -2616
  130. package/generated-sqlite/models/PRDPage.ts +0 -2398
  131. package/generated-sqlite/models/PRDTag.ts +0 -1426
  132. package/generated-sqlite/models/PRDVersion.ts +0 -2117
@@ -0,0 +1,2402 @@
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 `DesignPage` 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.ts"
13
+ import type * as Prisma from "../internal/prismaNamespace.ts"
14
+
15
+ /**
16
+ * Model DesignPage
17
+ *
18
+ */
19
+ export type DesignPageModel = runtime.Types.Result.DefaultSelection<Prisma.$DesignPagePayload>
20
+
21
+ export type AggregateDesignPage = {
22
+ _count: DesignPageCountAggregateOutputType | null
23
+ _avg: DesignPageAvgAggregateOutputType | null
24
+ _sum: DesignPageSumAggregateOutputType | null
25
+ _min: DesignPageMinAggregateOutputType | null
26
+ _max: DesignPageMaxAggregateOutputType | null
27
+ }
28
+
29
+ export type DesignPageAvgAggregateOutputType = {
30
+ order: number | null
31
+ version: number | null
32
+ }
33
+
34
+ export type DesignPageSumAggregateOutputType = {
35
+ order: number | null
36
+ version: number | null
37
+ }
38
+
39
+ export type DesignPageMinAggregateOutputType = {
40
+ id: string | null
41
+ designId: string | null
42
+ parentId: string | null
43
+ name: string | null
44
+ order: number | null
45
+ type: string | null
46
+ version: number | null
47
+ createdAt: Date | null
48
+ updatedAt: Date | null
49
+ }
50
+
51
+ export type DesignPageMaxAggregateOutputType = {
52
+ id: string | null
53
+ designId: string | null
54
+ parentId: string | null
55
+ name: string | null
56
+ order: number | null
57
+ type: string | null
58
+ version: number | null
59
+ createdAt: Date | null
60
+ updatedAt: Date | null
61
+ }
62
+
63
+ export type DesignPageCountAggregateOutputType = {
64
+ id: number
65
+ designId: number
66
+ parentId: number
67
+ name: number
68
+ order: number
69
+ type: number
70
+ canvas: number
71
+ content: number
72
+ version: number
73
+ createdAt: number
74
+ updatedAt: number
75
+ _all: number
76
+ }
77
+
78
+
79
+ export type DesignPageAvgAggregateInputType = {
80
+ order?: true
81
+ version?: true
82
+ }
83
+
84
+ export type DesignPageSumAggregateInputType = {
85
+ order?: true
86
+ version?: true
87
+ }
88
+
89
+ export type DesignPageMinAggregateInputType = {
90
+ id?: true
91
+ designId?: true
92
+ parentId?: true
93
+ name?: true
94
+ order?: true
95
+ type?: true
96
+ version?: true
97
+ createdAt?: true
98
+ updatedAt?: true
99
+ }
100
+
101
+ export type DesignPageMaxAggregateInputType = {
102
+ id?: true
103
+ designId?: true
104
+ parentId?: true
105
+ name?: true
106
+ order?: true
107
+ type?: true
108
+ version?: true
109
+ createdAt?: true
110
+ updatedAt?: true
111
+ }
112
+
113
+ export type DesignPageCountAggregateInputType = {
114
+ id?: true
115
+ designId?: true
116
+ parentId?: true
117
+ name?: true
118
+ order?: true
119
+ type?: true
120
+ canvas?: true
121
+ content?: true
122
+ version?: true
123
+ createdAt?: true
124
+ updatedAt?: true
125
+ _all?: true
126
+ }
127
+
128
+ export type DesignPageAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
129
+ /**
130
+ * Filter which DesignPage to aggregate.
131
+ */
132
+ where?: Prisma.DesignPageWhereInput
133
+ /**
134
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
135
+ *
136
+ * Determine the order of DesignPages to fetch.
137
+ */
138
+ orderBy?: Prisma.DesignPageOrderByWithRelationInput | Prisma.DesignPageOrderByWithRelationInput[]
139
+ /**
140
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
141
+ *
142
+ * Sets the start position
143
+ */
144
+ cursor?: Prisma.DesignPageWhereUniqueInput
145
+ /**
146
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
147
+ *
148
+ * Take `±n` DesignPages from the position of the cursor.
149
+ */
150
+ take?: number
151
+ /**
152
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
153
+ *
154
+ * Skip the first `n` DesignPages.
155
+ */
156
+ skip?: number
157
+ /**
158
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
159
+ *
160
+ * Count returned DesignPages
161
+ **/
162
+ _count?: true | DesignPageCountAggregateInputType
163
+ /**
164
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
165
+ *
166
+ * Select which fields to average
167
+ **/
168
+ _avg?: DesignPageAvgAggregateInputType
169
+ /**
170
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
171
+ *
172
+ * Select which fields to sum
173
+ **/
174
+ _sum?: DesignPageSumAggregateInputType
175
+ /**
176
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
177
+ *
178
+ * Select which fields to find the minimum value
179
+ **/
180
+ _min?: DesignPageMinAggregateInputType
181
+ /**
182
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
183
+ *
184
+ * Select which fields to find the maximum value
185
+ **/
186
+ _max?: DesignPageMaxAggregateInputType
187
+ }
188
+
189
+ export type GetDesignPageAggregateType<T extends DesignPageAggregateArgs> = {
190
+ [P in keyof T & keyof AggregateDesignPage]: P extends '_count' | 'count'
191
+ ? T[P] extends true
192
+ ? number
193
+ : Prisma.GetScalarType<T[P], AggregateDesignPage[P]>
194
+ : Prisma.GetScalarType<T[P], AggregateDesignPage[P]>
195
+ }
196
+
197
+
198
+
199
+
200
+ export type DesignPageGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
201
+ where?: Prisma.DesignPageWhereInput
202
+ orderBy?: Prisma.DesignPageOrderByWithAggregationInput | Prisma.DesignPageOrderByWithAggregationInput[]
203
+ by: Prisma.DesignPageScalarFieldEnum[] | Prisma.DesignPageScalarFieldEnum
204
+ having?: Prisma.DesignPageScalarWhereWithAggregatesInput
205
+ take?: number
206
+ skip?: number
207
+ _count?: DesignPageCountAggregateInputType | true
208
+ _avg?: DesignPageAvgAggregateInputType
209
+ _sum?: DesignPageSumAggregateInputType
210
+ _min?: DesignPageMinAggregateInputType
211
+ _max?: DesignPageMaxAggregateInputType
212
+ }
213
+
214
+ export type DesignPageGroupByOutputType = {
215
+ id: string
216
+ designId: string
217
+ parentId: string | null
218
+ name: string
219
+ order: number
220
+ type: string
221
+ canvas: runtime.JsonValue | null
222
+ content: runtime.JsonValue | null
223
+ version: number
224
+ createdAt: Date
225
+ updatedAt: Date
226
+ _count: DesignPageCountAggregateOutputType | null
227
+ _avg: DesignPageAvgAggregateOutputType | null
228
+ _sum: DesignPageSumAggregateOutputType | null
229
+ _min: DesignPageMinAggregateOutputType | null
230
+ _max: DesignPageMaxAggregateOutputType | null
231
+ }
232
+
233
+ export type GetDesignPageGroupByPayload<T extends DesignPageGroupByArgs> = Prisma.PrismaPromise<
234
+ Array<
235
+ Prisma.PickEnumerable<DesignPageGroupByOutputType, T['by']> &
236
+ {
237
+ [P in ((keyof T) & (keyof DesignPageGroupByOutputType))]: P extends '_count'
238
+ ? T[P] extends boolean
239
+ ? number
240
+ : Prisma.GetScalarType<T[P], DesignPageGroupByOutputType[P]>
241
+ : Prisma.GetScalarType<T[P], DesignPageGroupByOutputType[P]>
242
+ }
243
+ >
244
+ >
245
+
246
+
247
+
248
+ export type DesignPageWhereInput = {
249
+ AND?: Prisma.DesignPageWhereInput | Prisma.DesignPageWhereInput[]
250
+ OR?: Prisma.DesignPageWhereInput[]
251
+ NOT?: Prisma.DesignPageWhereInput | Prisma.DesignPageWhereInput[]
252
+ id?: Prisma.StringFilter<"DesignPage"> | string
253
+ designId?: Prisma.StringFilter<"DesignPage"> | string
254
+ parentId?: Prisma.StringNullableFilter<"DesignPage"> | string | null
255
+ name?: Prisma.StringFilter<"DesignPage"> | string
256
+ order?: Prisma.IntFilter<"DesignPage"> | number
257
+ type?: Prisma.StringFilter<"DesignPage"> | string
258
+ canvas?: Prisma.JsonNullableFilter<"DesignPage">
259
+ content?: Prisma.JsonNullableFilter<"DesignPage">
260
+ version?: Prisma.IntFilter<"DesignPage"> | number
261
+ createdAt?: Prisma.DateTimeFilter<"DesignPage"> | Date | string
262
+ updatedAt?: Prisma.DateTimeFilter<"DesignPage"> | Date | string
263
+ design?: Prisma.XOR<Prisma.DesignScalarRelationFilter, Prisma.DesignWhereInput>
264
+ parent?: Prisma.XOR<Prisma.DesignPageNullableScalarRelationFilter, Prisma.DesignPageWhereInput> | null
265
+ children?: Prisma.DesignPageListRelationFilter
266
+ componentInstances?: Prisma.ComponentInstanceListRelationFilter
267
+ blockInstances?: Prisma.BlockInstanceListRelationFilter
268
+ pageVersions?: Prisma.PageVersionListRelationFilter
269
+ }
270
+
271
+ export type DesignPageOrderByWithRelationInput = {
272
+ id?: Prisma.SortOrder
273
+ designId?: Prisma.SortOrder
274
+ parentId?: Prisma.SortOrderInput | Prisma.SortOrder
275
+ name?: Prisma.SortOrder
276
+ order?: Prisma.SortOrder
277
+ type?: Prisma.SortOrder
278
+ canvas?: Prisma.SortOrderInput | Prisma.SortOrder
279
+ content?: Prisma.SortOrderInput | Prisma.SortOrder
280
+ version?: Prisma.SortOrder
281
+ createdAt?: Prisma.SortOrder
282
+ updatedAt?: Prisma.SortOrder
283
+ design?: Prisma.DesignOrderByWithRelationInput
284
+ parent?: Prisma.DesignPageOrderByWithRelationInput
285
+ children?: Prisma.DesignPageOrderByRelationAggregateInput
286
+ componentInstances?: Prisma.ComponentInstanceOrderByRelationAggregateInput
287
+ blockInstances?: Prisma.BlockInstanceOrderByRelationAggregateInput
288
+ pageVersions?: Prisma.PageVersionOrderByRelationAggregateInput
289
+ }
290
+
291
+ export type DesignPageWhereUniqueInput = Prisma.AtLeast<{
292
+ id?: string
293
+ AND?: Prisma.DesignPageWhereInput | Prisma.DesignPageWhereInput[]
294
+ OR?: Prisma.DesignPageWhereInput[]
295
+ NOT?: Prisma.DesignPageWhereInput | Prisma.DesignPageWhereInput[]
296
+ designId?: Prisma.StringFilter<"DesignPage"> | string
297
+ parentId?: Prisma.StringNullableFilter<"DesignPage"> | string | null
298
+ name?: Prisma.StringFilter<"DesignPage"> | string
299
+ order?: Prisma.IntFilter<"DesignPage"> | number
300
+ type?: Prisma.StringFilter<"DesignPage"> | string
301
+ canvas?: Prisma.JsonNullableFilter<"DesignPage">
302
+ content?: Prisma.JsonNullableFilter<"DesignPage">
303
+ version?: Prisma.IntFilter<"DesignPage"> | number
304
+ createdAt?: Prisma.DateTimeFilter<"DesignPage"> | Date | string
305
+ updatedAt?: Prisma.DateTimeFilter<"DesignPage"> | Date | string
306
+ design?: Prisma.XOR<Prisma.DesignScalarRelationFilter, Prisma.DesignWhereInput>
307
+ parent?: Prisma.XOR<Prisma.DesignPageNullableScalarRelationFilter, Prisma.DesignPageWhereInput> | null
308
+ children?: Prisma.DesignPageListRelationFilter
309
+ componentInstances?: Prisma.ComponentInstanceListRelationFilter
310
+ blockInstances?: Prisma.BlockInstanceListRelationFilter
311
+ pageVersions?: Prisma.PageVersionListRelationFilter
312
+ }, "id">
313
+
314
+ export type DesignPageOrderByWithAggregationInput = {
315
+ id?: Prisma.SortOrder
316
+ designId?: Prisma.SortOrder
317
+ parentId?: Prisma.SortOrderInput | Prisma.SortOrder
318
+ name?: Prisma.SortOrder
319
+ order?: Prisma.SortOrder
320
+ type?: Prisma.SortOrder
321
+ canvas?: Prisma.SortOrderInput | Prisma.SortOrder
322
+ content?: Prisma.SortOrderInput | Prisma.SortOrder
323
+ version?: Prisma.SortOrder
324
+ createdAt?: Prisma.SortOrder
325
+ updatedAt?: Prisma.SortOrder
326
+ _count?: Prisma.DesignPageCountOrderByAggregateInput
327
+ _avg?: Prisma.DesignPageAvgOrderByAggregateInput
328
+ _max?: Prisma.DesignPageMaxOrderByAggregateInput
329
+ _min?: Prisma.DesignPageMinOrderByAggregateInput
330
+ _sum?: Prisma.DesignPageSumOrderByAggregateInput
331
+ }
332
+
333
+ export type DesignPageScalarWhereWithAggregatesInput = {
334
+ AND?: Prisma.DesignPageScalarWhereWithAggregatesInput | Prisma.DesignPageScalarWhereWithAggregatesInput[]
335
+ OR?: Prisma.DesignPageScalarWhereWithAggregatesInput[]
336
+ NOT?: Prisma.DesignPageScalarWhereWithAggregatesInput | Prisma.DesignPageScalarWhereWithAggregatesInput[]
337
+ id?: Prisma.StringWithAggregatesFilter<"DesignPage"> | string
338
+ designId?: Prisma.StringWithAggregatesFilter<"DesignPage"> | string
339
+ parentId?: Prisma.StringNullableWithAggregatesFilter<"DesignPage"> | string | null
340
+ name?: Prisma.StringWithAggregatesFilter<"DesignPage"> | string
341
+ order?: Prisma.IntWithAggregatesFilter<"DesignPage"> | number
342
+ type?: Prisma.StringWithAggregatesFilter<"DesignPage"> | string
343
+ canvas?: Prisma.JsonNullableWithAggregatesFilter<"DesignPage">
344
+ content?: Prisma.JsonNullableWithAggregatesFilter<"DesignPage">
345
+ version?: Prisma.IntWithAggregatesFilter<"DesignPage"> | number
346
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"DesignPage"> | Date | string
347
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"DesignPage"> | Date | string
348
+ }
349
+
350
+ export type DesignPageCreateInput = {
351
+ id?: string
352
+ name: string
353
+ order?: number
354
+ type?: string
355
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
356
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
357
+ version?: number
358
+ createdAt?: Date | string
359
+ updatedAt?: Date | string
360
+ design: Prisma.DesignCreateNestedOneWithoutPagesInput
361
+ parent?: Prisma.DesignPageCreateNestedOneWithoutChildrenInput
362
+ children?: Prisma.DesignPageCreateNestedManyWithoutParentInput
363
+ componentInstances?: Prisma.ComponentInstanceCreateNestedManyWithoutPageInput
364
+ blockInstances?: Prisma.BlockInstanceCreateNestedManyWithoutPageInput
365
+ pageVersions?: Prisma.PageVersionCreateNestedManyWithoutPageInput
366
+ }
367
+
368
+ export type DesignPageUncheckedCreateInput = {
369
+ id?: string
370
+ designId: string
371
+ parentId?: string | null
372
+ name: string
373
+ order?: number
374
+ type?: string
375
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
376
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
377
+ version?: number
378
+ createdAt?: Date | string
379
+ updatedAt?: Date | string
380
+ children?: Prisma.DesignPageUncheckedCreateNestedManyWithoutParentInput
381
+ componentInstances?: Prisma.ComponentInstanceUncheckedCreateNestedManyWithoutPageInput
382
+ blockInstances?: Prisma.BlockInstanceUncheckedCreateNestedManyWithoutPageInput
383
+ pageVersions?: Prisma.PageVersionUncheckedCreateNestedManyWithoutPageInput
384
+ }
385
+
386
+ export type DesignPageUpdateInput = {
387
+ id?: Prisma.StringFieldUpdateOperationsInput | string
388
+ name?: Prisma.StringFieldUpdateOperationsInput | string
389
+ order?: Prisma.IntFieldUpdateOperationsInput | number
390
+ type?: Prisma.StringFieldUpdateOperationsInput | string
391
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
392
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
393
+ version?: Prisma.IntFieldUpdateOperationsInput | number
394
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
395
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
396
+ design?: Prisma.DesignUpdateOneRequiredWithoutPagesNestedInput
397
+ parent?: Prisma.DesignPageUpdateOneWithoutChildrenNestedInput
398
+ children?: Prisma.DesignPageUpdateManyWithoutParentNestedInput
399
+ componentInstances?: Prisma.ComponentInstanceUpdateManyWithoutPageNestedInput
400
+ blockInstances?: Prisma.BlockInstanceUpdateManyWithoutPageNestedInput
401
+ pageVersions?: Prisma.PageVersionUpdateManyWithoutPageNestedInput
402
+ }
403
+
404
+ export type DesignPageUncheckedUpdateInput = {
405
+ id?: Prisma.StringFieldUpdateOperationsInput | string
406
+ designId?: Prisma.StringFieldUpdateOperationsInput | string
407
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
408
+ name?: Prisma.StringFieldUpdateOperationsInput | string
409
+ order?: Prisma.IntFieldUpdateOperationsInput | number
410
+ type?: Prisma.StringFieldUpdateOperationsInput | string
411
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
412
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
413
+ version?: Prisma.IntFieldUpdateOperationsInput | number
414
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
415
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
416
+ children?: Prisma.DesignPageUncheckedUpdateManyWithoutParentNestedInput
417
+ componentInstances?: Prisma.ComponentInstanceUncheckedUpdateManyWithoutPageNestedInput
418
+ blockInstances?: Prisma.BlockInstanceUncheckedUpdateManyWithoutPageNestedInput
419
+ pageVersions?: Prisma.PageVersionUncheckedUpdateManyWithoutPageNestedInput
420
+ }
421
+
422
+ export type DesignPageCreateManyInput = {
423
+ id?: string
424
+ designId: string
425
+ parentId?: string | null
426
+ name: string
427
+ order?: number
428
+ type?: string
429
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
430
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
431
+ version?: number
432
+ createdAt?: Date | string
433
+ updatedAt?: Date | string
434
+ }
435
+
436
+ export type DesignPageUpdateManyMutationInput = {
437
+ id?: Prisma.StringFieldUpdateOperationsInput | string
438
+ name?: Prisma.StringFieldUpdateOperationsInput | string
439
+ order?: Prisma.IntFieldUpdateOperationsInput | number
440
+ type?: Prisma.StringFieldUpdateOperationsInput | string
441
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
442
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
443
+ version?: Prisma.IntFieldUpdateOperationsInput | number
444
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
445
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
446
+ }
447
+
448
+ export type DesignPageUncheckedUpdateManyInput = {
449
+ id?: Prisma.StringFieldUpdateOperationsInput | string
450
+ designId?: Prisma.StringFieldUpdateOperationsInput | string
451
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
452
+ name?: Prisma.StringFieldUpdateOperationsInput | string
453
+ order?: Prisma.IntFieldUpdateOperationsInput | number
454
+ type?: Prisma.StringFieldUpdateOperationsInput | string
455
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
456
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
457
+ version?: Prisma.IntFieldUpdateOperationsInput | number
458
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
459
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
460
+ }
461
+
462
+ export type DesignPageListRelationFilter = {
463
+ every?: Prisma.DesignPageWhereInput
464
+ some?: Prisma.DesignPageWhereInput
465
+ none?: Prisma.DesignPageWhereInput
466
+ }
467
+
468
+ export type DesignPageOrderByRelationAggregateInput = {
469
+ _count?: Prisma.SortOrder
470
+ }
471
+
472
+ export type DesignPageNullableScalarRelationFilter = {
473
+ is?: Prisma.DesignPageWhereInput | null
474
+ isNot?: Prisma.DesignPageWhereInput | null
475
+ }
476
+
477
+ export type DesignPageCountOrderByAggregateInput = {
478
+ id?: Prisma.SortOrder
479
+ designId?: Prisma.SortOrder
480
+ parentId?: Prisma.SortOrder
481
+ name?: Prisma.SortOrder
482
+ order?: Prisma.SortOrder
483
+ type?: Prisma.SortOrder
484
+ canvas?: Prisma.SortOrder
485
+ content?: Prisma.SortOrder
486
+ version?: Prisma.SortOrder
487
+ createdAt?: Prisma.SortOrder
488
+ updatedAt?: Prisma.SortOrder
489
+ }
490
+
491
+ export type DesignPageAvgOrderByAggregateInput = {
492
+ order?: Prisma.SortOrder
493
+ version?: Prisma.SortOrder
494
+ }
495
+
496
+ export type DesignPageMaxOrderByAggregateInput = {
497
+ id?: Prisma.SortOrder
498
+ designId?: Prisma.SortOrder
499
+ parentId?: Prisma.SortOrder
500
+ name?: Prisma.SortOrder
501
+ order?: Prisma.SortOrder
502
+ type?: Prisma.SortOrder
503
+ version?: Prisma.SortOrder
504
+ createdAt?: Prisma.SortOrder
505
+ updatedAt?: Prisma.SortOrder
506
+ }
507
+
508
+ export type DesignPageMinOrderByAggregateInput = {
509
+ id?: Prisma.SortOrder
510
+ designId?: Prisma.SortOrder
511
+ parentId?: Prisma.SortOrder
512
+ name?: Prisma.SortOrder
513
+ order?: Prisma.SortOrder
514
+ type?: Prisma.SortOrder
515
+ version?: Prisma.SortOrder
516
+ createdAt?: Prisma.SortOrder
517
+ updatedAt?: Prisma.SortOrder
518
+ }
519
+
520
+ export type DesignPageSumOrderByAggregateInput = {
521
+ order?: Prisma.SortOrder
522
+ version?: Prisma.SortOrder
523
+ }
524
+
525
+ export type DesignPageScalarRelationFilter = {
526
+ is?: Prisma.DesignPageWhereInput
527
+ isNot?: Prisma.DesignPageWhereInput
528
+ }
529
+
530
+ export type DesignPageCreateNestedManyWithoutDesignInput = {
531
+ create?: Prisma.XOR<Prisma.DesignPageCreateWithoutDesignInput, Prisma.DesignPageUncheckedCreateWithoutDesignInput> | Prisma.DesignPageCreateWithoutDesignInput[] | Prisma.DesignPageUncheckedCreateWithoutDesignInput[]
532
+ connectOrCreate?: Prisma.DesignPageCreateOrConnectWithoutDesignInput | Prisma.DesignPageCreateOrConnectWithoutDesignInput[]
533
+ createMany?: Prisma.DesignPageCreateManyDesignInputEnvelope
534
+ connect?: Prisma.DesignPageWhereUniqueInput | Prisma.DesignPageWhereUniqueInput[]
535
+ }
536
+
537
+ export type DesignPageUncheckedCreateNestedManyWithoutDesignInput = {
538
+ create?: Prisma.XOR<Prisma.DesignPageCreateWithoutDesignInput, Prisma.DesignPageUncheckedCreateWithoutDesignInput> | Prisma.DesignPageCreateWithoutDesignInput[] | Prisma.DesignPageUncheckedCreateWithoutDesignInput[]
539
+ connectOrCreate?: Prisma.DesignPageCreateOrConnectWithoutDesignInput | Prisma.DesignPageCreateOrConnectWithoutDesignInput[]
540
+ createMany?: Prisma.DesignPageCreateManyDesignInputEnvelope
541
+ connect?: Prisma.DesignPageWhereUniqueInput | Prisma.DesignPageWhereUniqueInput[]
542
+ }
543
+
544
+ export type DesignPageUpdateManyWithoutDesignNestedInput = {
545
+ create?: Prisma.XOR<Prisma.DesignPageCreateWithoutDesignInput, Prisma.DesignPageUncheckedCreateWithoutDesignInput> | Prisma.DesignPageCreateWithoutDesignInput[] | Prisma.DesignPageUncheckedCreateWithoutDesignInput[]
546
+ connectOrCreate?: Prisma.DesignPageCreateOrConnectWithoutDesignInput | Prisma.DesignPageCreateOrConnectWithoutDesignInput[]
547
+ upsert?: Prisma.DesignPageUpsertWithWhereUniqueWithoutDesignInput | Prisma.DesignPageUpsertWithWhereUniqueWithoutDesignInput[]
548
+ createMany?: Prisma.DesignPageCreateManyDesignInputEnvelope
549
+ set?: Prisma.DesignPageWhereUniqueInput | Prisma.DesignPageWhereUniqueInput[]
550
+ disconnect?: Prisma.DesignPageWhereUniqueInput | Prisma.DesignPageWhereUniqueInput[]
551
+ delete?: Prisma.DesignPageWhereUniqueInput | Prisma.DesignPageWhereUniqueInput[]
552
+ connect?: Prisma.DesignPageWhereUniqueInput | Prisma.DesignPageWhereUniqueInput[]
553
+ update?: Prisma.DesignPageUpdateWithWhereUniqueWithoutDesignInput | Prisma.DesignPageUpdateWithWhereUniqueWithoutDesignInput[]
554
+ updateMany?: Prisma.DesignPageUpdateManyWithWhereWithoutDesignInput | Prisma.DesignPageUpdateManyWithWhereWithoutDesignInput[]
555
+ deleteMany?: Prisma.DesignPageScalarWhereInput | Prisma.DesignPageScalarWhereInput[]
556
+ }
557
+
558
+ export type DesignPageUncheckedUpdateManyWithoutDesignNestedInput = {
559
+ create?: Prisma.XOR<Prisma.DesignPageCreateWithoutDesignInput, Prisma.DesignPageUncheckedCreateWithoutDesignInput> | Prisma.DesignPageCreateWithoutDesignInput[] | Prisma.DesignPageUncheckedCreateWithoutDesignInput[]
560
+ connectOrCreate?: Prisma.DesignPageCreateOrConnectWithoutDesignInput | Prisma.DesignPageCreateOrConnectWithoutDesignInput[]
561
+ upsert?: Prisma.DesignPageUpsertWithWhereUniqueWithoutDesignInput | Prisma.DesignPageUpsertWithWhereUniqueWithoutDesignInput[]
562
+ createMany?: Prisma.DesignPageCreateManyDesignInputEnvelope
563
+ set?: Prisma.DesignPageWhereUniqueInput | Prisma.DesignPageWhereUniqueInput[]
564
+ disconnect?: Prisma.DesignPageWhereUniqueInput | Prisma.DesignPageWhereUniqueInput[]
565
+ delete?: Prisma.DesignPageWhereUniqueInput | Prisma.DesignPageWhereUniqueInput[]
566
+ connect?: Prisma.DesignPageWhereUniqueInput | Prisma.DesignPageWhereUniqueInput[]
567
+ update?: Prisma.DesignPageUpdateWithWhereUniqueWithoutDesignInput | Prisma.DesignPageUpdateWithWhereUniqueWithoutDesignInput[]
568
+ updateMany?: Prisma.DesignPageUpdateManyWithWhereWithoutDesignInput | Prisma.DesignPageUpdateManyWithWhereWithoutDesignInput[]
569
+ deleteMany?: Prisma.DesignPageScalarWhereInput | Prisma.DesignPageScalarWhereInput[]
570
+ }
571
+
572
+ export type DesignPageCreateNestedOneWithoutChildrenInput = {
573
+ create?: Prisma.XOR<Prisma.DesignPageCreateWithoutChildrenInput, Prisma.DesignPageUncheckedCreateWithoutChildrenInput>
574
+ connectOrCreate?: Prisma.DesignPageCreateOrConnectWithoutChildrenInput
575
+ connect?: Prisma.DesignPageWhereUniqueInput
576
+ }
577
+
578
+ export type DesignPageCreateNestedManyWithoutParentInput = {
579
+ create?: Prisma.XOR<Prisma.DesignPageCreateWithoutParentInput, Prisma.DesignPageUncheckedCreateWithoutParentInput> | Prisma.DesignPageCreateWithoutParentInput[] | Prisma.DesignPageUncheckedCreateWithoutParentInput[]
580
+ connectOrCreate?: Prisma.DesignPageCreateOrConnectWithoutParentInput | Prisma.DesignPageCreateOrConnectWithoutParentInput[]
581
+ createMany?: Prisma.DesignPageCreateManyParentInputEnvelope
582
+ connect?: Prisma.DesignPageWhereUniqueInput | Prisma.DesignPageWhereUniqueInput[]
583
+ }
584
+
585
+ export type DesignPageUncheckedCreateNestedManyWithoutParentInput = {
586
+ create?: Prisma.XOR<Prisma.DesignPageCreateWithoutParentInput, Prisma.DesignPageUncheckedCreateWithoutParentInput> | Prisma.DesignPageCreateWithoutParentInput[] | Prisma.DesignPageUncheckedCreateWithoutParentInput[]
587
+ connectOrCreate?: Prisma.DesignPageCreateOrConnectWithoutParentInput | Prisma.DesignPageCreateOrConnectWithoutParentInput[]
588
+ createMany?: Prisma.DesignPageCreateManyParentInputEnvelope
589
+ connect?: Prisma.DesignPageWhereUniqueInput | Prisma.DesignPageWhereUniqueInput[]
590
+ }
591
+
592
+ export type DesignPageUpdateOneWithoutChildrenNestedInput = {
593
+ create?: Prisma.XOR<Prisma.DesignPageCreateWithoutChildrenInput, Prisma.DesignPageUncheckedCreateWithoutChildrenInput>
594
+ connectOrCreate?: Prisma.DesignPageCreateOrConnectWithoutChildrenInput
595
+ upsert?: Prisma.DesignPageUpsertWithoutChildrenInput
596
+ disconnect?: Prisma.DesignPageWhereInput | boolean
597
+ delete?: Prisma.DesignPageWhereInput | boolean
598
+ connect?: Prisma.DesignPageWhereUniqueInput
599
+ update?: Prisma.XOR<Prisma.XOR<Prisma.DesignPageUpdateToOneWithWhereWithoutChildrenInput, Prisma.DesignPageUpdateWithoutChildrenInput>, Prisma.DesignPageUncheckedUpdateWithoutChildrenInput>
600
+ }
601
+
602
+ export type DesignPageUpdateManyWithoutParentNestedInput = {
603
+ create?: Prisma.XOR<Prisma.DesignPageCreateWithoutParentInput, Prisma.DesignPageUncheckedCreateWithoutParentInput> | Prisma.DesignPageCreateWithoutParentInput[] | Prisma.DesignPageUncheckedCreateWithoutParentInput[]
604
+ connectOrCreate?: Prisma.DesignPageCreateOrConnectWithoutParentInput | Prisma.DesignPageCreateOrConnectWithoutParentInput[]
605
+ upsert?: Prisma.DesignPageUpsertWithWhereUniqueWithoutParentInput | Prisma.DesignPageUpsertWithWhereUniqueWithoutParentInput[]
606
+ createMany?: Prisma.DesignPageCreateManyParentInputEnvelope
607
+ set?: Prisma.DesignPageWhereUniqueInput | Prisma.DesignPageWhereUniqueInput[]
608
+ disconnect?: Prisma.DesignPageWhereUniqueInput | Prisma.DesignPageWhereUniqueInput[]
609
+ delete?: Prisma.DesignPageWhereUniqueInput | Prisma.DesignPageWhereUniqueInput[]
610
+ connect?: Prisma.DesignPageWhereUniqueInput | Prisma.DesignPageWhereUniqueInput[]
611
+ update?: Prisma.DesignPageUpdateWithWhereUniqueWithoutParentInput | Prisma.DesignPageUpdateWithWhereUniqueWithoutParentInput[]
612
+ updateMany?: Prisma.DesignPageUpdateManyWithWhereWithoutParentInput | Prisma.DesignPageUpdateManyWithWhereWithoutParentInput[]
613
+ deleteMany?: Prisma.DesignPageScalarWhereInput | Prisma.DesignPageScalarWhereInput[]
614
+ }
615
+
616
+ export type DesignPageUncheckedUpdateManyWithoutParentNestedInput = {
617
+ create?: Prisma.XOR<Prisma.DesignPageCreateWithoutParentInput, Prisma.DesignPageUncheckedCreateWithoutParentInput> | Prisma.DesignPageCreateWithoutParentInput[] | Prisma.DesignPageUncheckedCreateWithoutParentInput[]
618
+ connectOrCreate?: Prisma.DesignPageCreateOrConnectWithoutParentInput | Prisma.DesignPageCreateOrConnectWithoutParentInput[]
619
+ upsert?: Prisma.DesignPageUpsertWithWhereUniqueWithoutParentInput | Prisma.DesignPageUpsertWithWhereUniqueWithoutParentInput[]
620
+ createMany?: Prisma.DesignPageCreateManyParentInputEnvelope
621
+ set?: Prisma.DesignPageWhereUniqueInput | Prisma.DesignPageWhereUniqueInput[]
622
+ disconnect?: Prisma.DesignPageWhereUniqueInput | Prisma.DesignPageWhereUniqueInput[]
623
+ delete?: Prisma.DesignPageWhereUniqueInput | Prisma.DesignPageWhereUniqueInput[]
624
+ connect?: Prisma.DesignPageWhereUniqueInput | Prisma.DesignPageWhereUniqueInput[]
625
+ update?: Prisma.DesignPageUpdateWithWhereUniqueWithoutParentInput | Prisma.DesignPageUpdateWithWhereUniqueWithoutParentInput[]
626
+ updateMany?: Prisma.DesignPageUpdateManyWithWhereWithoutParentInput | Prisma.DesignPageUpdateManyWithWhereWithoutParentInput[]
627
+ deleteMany?: Prisma.DesignPageScalarWhereInput | Prisma.DesignPageScalarWhereInput[]
628
+ }
629
+
630
+ export type DesignPageCreateNestedOneWithoutComponentInstancesInput = {
631
+ create?: Prisma.XOR<Prisma.DesignPageCreateWithoutComponentInstancesInput, Prisma.DesignPageUncheckedCreateWithoutComponentInstancesInput>
632
+ connectOrCreate?: Prisma.DesignPageCreateOrConnectWithoutComponentInstancesInput
633
+ connect?: Prisma.DesignPageWhereUniqueInput
634
+ }
635
+
636
+ export type DesignPageUpdateOneRequiredWithoutComponentInstancesNestedInput = {
637
+ create?: Prisma.XOR<Prisma.DesignPageCreateWithoutComponentInstancesInput, Prisma.DesignPageUncheckedCreateWithoutComponentInstancesInput>
638
+ connectOrCreate?: Prisma.DesignPageCreateOrConnectWithoutComponentInstancesInput
639
+ upsert?: Prisma.DesignPageUpsertWithoutComponentInstancesInput
640
+ connect?: Prisma.DesignPageWhereUniqueInput
641
+ update?: Prisma.XOR<Prisma.XOR<Prisma.DesignPageUpdateToOneWithWhereWithoutComponentInstancesInput, Prisma.DesignPageUpdateWithoutComponentInstancesInput>, Prisma.DesignPageUncheckedUpdateWithoutComponentInstancesInput>
642
+ }
643
+
644
+ export type DesignPageCreateNestedOneWithoutBlockInstancesInput = {
645
+ create?: Prisma.XOR<Prisma.DesignPageCreateWithoutBlockInstancesInput, Prisma.DesignPageUncheckedCreateWithoutBlockInstancesInput>
646
+ connectOrCreate?: Prisma.DesignPageCreateOrConnectWithoutBlockInstancesInput
647
+ connect?: Prisma.DesignPageWhereUniqueInput
648
+ }
649
+
650
+ export type DesignPageUpdateOneRequiredWithoutBlockInstancesNestedInput = {
651
+ create?: Prisma.XOR<Prisma.DesignPageCreateWithoutBlockInstancesInput, Prisma.DesignPageUncheckedCreateWithoutBlockInstancesInput>
652
+ connectOrCreate?: Prisma.DesignPageCreateOrConnectWithoutBlockInstancesInput
653
+ upsert?: Prisma.DesignPageUpsertWithoutBlockInstancesInput
654
+ connect?: Prisma.DesignPageWhereUniqueInput
655
+ update?: Prisma.XOR<Prisma.XOR<Prisma.DesignPageUpdateToOneWithWhereWithoutBlockInstancesInput, Prisma.DesignPageUpdateWithoutBlockInstancesInput>, Prisma.DesignPageUncheckedUpdateWithoutBlockInstancesInput>
656
+ }
657
+
658
+ export type DesignPageCreateNestedOneWithoutPageVersionsInput = {
659
+ create?: Prisma.XOR<Prisma.DesignPageCreateWithoutPageVersionsInput, Prisma.DesignPageUncheckedCreateWithoutPageVersionsInput>
660
+ connectOrCreate?: Prisma.DesignPageCreateOrConnectWithoutPageVersionsInput
661
+ connect?: Prisma.DesignPageWhereUniqueInput
662
+ }
663
+
664
+ export type DesignPageUpdateOneRequiredWithoutPageVersionsNestedInput = {
665
+ create?: Prisma.XOR<Prisma.DesignPageCreateWithoutPageVersionsInput, Prisma.DesignPageUncheckedCreateWithoutPageVersionsInput>
666
+ connectOrCreate?: Prisma.DesignPageCreateOrConnectWithoutPageVersionsInput
667
+ upsert?: Prisma.DesignPageUpsertWithoutPageVersionsInput
668
+ connect?: Prisma.DesignPageWhereUniqueInput
669
+ update?: Prisma.XOR<Prisma.XOR<Prisma.DesignPageUpdateToOneWithWhereWithoutPageVersionsInput, Prisma.DesignPageUpdateWithoutPageVersionsInput>, Prisma.DesignPageUncheckedUpdateWithoutPageVersionsInput>
670
+ }
671
+
672
+ export type DesignPageCreateWithoutDesignInput = {
673
+ id?: string
674
+ name: string
675
+ order?: number
676
+ type?: string
677
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
678
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
679
+ version?: number
680
+ createdAt?: Date | string
681
+ updatedAt?: Date | string
682
+ parent?: Prisma.DesignPageCreateNestedOneWithoutChildrenInput
683
+ children?: Prisma.DesignPageCreateNestedManyWithoutParentInput
684
+ componentInstances?: Prisma.ComponentInstanceCreateNestedManyWithoutPageInput
685
+ blockInstances?: Prisma.BlockInstanceCreateNestedManyWithoutPageInput
686
+ pageVersions?: Prisma.PageVersionCreateNestedManyWithoutPageInput
687
+ }
688
+
689
+ export type DesignPageUncheckedCreateWithoutDesignInput = {
690
+ id?: string
691
+ parentId?: string | null
692
+ name: string
693
+ order?: number
694
+ type?: string
695
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
696
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
697
+ version?: number
698
+ createdAt?: Date | string
699
+ updatedAt?: Date | string
700
+ children?: Prisma.DesignPageUncheckedCreateNestedManyWithoutParentInput
701
+ componentInstances?: Prisma.ComponentInstanceUncheckedCreateNestedManyWithoutPageInput
702
+ blockInstances?: Prisma.BlockInstanceUncheckedCreateNestedManyWithoutPageInput
703
+ pageVersions?: Prisma.PageVersionUncheckedCreateNestedManyWithoutPageInput
704
+ }
705
+
706
+ export type DesignPageCreateOrConnectWithoutDesignInput = {
707
+ where: Prisma.DesignPageWhereUniqueInput
708
+ create: Prisma.XOR<Prisma.DesignPageCreateWithoutDesignInput, Prisma.DesignPageUncheckedCreateWithoutDesignInput>
709
+ }
710
+
711
+ export type DesignPageCreateManyDesignInputEnvelope = {
712
+ data: Prisma.DesignPageCreateManyDesignInput | Prisma.DesignPageCreateManyDesignInput[]
713
+ skipDuplicates?: boolean
714
+ }
715
+
716
+ export type DesignPageUpsertWithWhereUniqueWithoutDesignInput = {
717
+ where: Prisma.DesignPageWhereUniqueInput
718
+ update: Prisma.XOR<Prisma.DesignPageUpdateWithoutDesignInput, Prisma.DesignPageUncheckedUpdateWithoutDesignInput>
719
+ create: Prisma.XOR<Prisma.DesignPageCreateWithoutDesignInput, Prisma.DesignPageUncheckedCreateWithoutDesignInput>
720
+ }
721
+
722
+ export type DesignPageUpdateWithWhereUniqueWithoutDesignInput = {
723
+ where: Prisma.DesignPageWhereUniqueInput
724
+ data: Prisma.XOR<Prisma.DesignPageUpdateWithoutDesignInput, Prisma.DesignPageUncheckedUpdateWithoutDesignInput>
725
+ }
726
+
727
+ export type DesignPageUpdateManyWithWhereWithoutDesignInput = {
728
+ where: Prisma.DesignPageScalarWhereInput
729
+ data: Prisma.XOR<Prisma.DesignPageUpdateManyMutationInput, Prisma.DesignPageUncheckedUpdateManyWithoutDesignInput>
730
+ }
731
+
732
+ export type DesignPageScalarWhereInput = {
733
+ AND?: Prisma.DesignPageScalarWhereInput | Prisma.DesignPageScalarWhereInput[]
734
+ OR?: Prisma.DesignPageScalarWhereInput[]
735
+ NOT?: Prisma.DesignPageScalarWhereInput | Prisma.DesignPageScalarWhereInput[]
736
+ id?: Prisma.StringFilter<"DesignPage"> | string
737
+ designId?: Prisma.StringFilter<"DesignPage"> | string
738
+ parentId?: Prisma.StringNullableFilter<"DesignPage"> | string | null
739
+ name?: Prisma.StringFilter<"DesignPage"> | string
740
+ order?: Prisma.IntFilter<"DesignPage"> | number
741
+ type?: Prisma.StringFilter<"DesignPage"> | string
742
+ canvas?: Prisma.JsonNullableFilter<"DesignPage">
743
+ content?: Prisma.JsonNullableFilter<"DesignPage">
744
+ version?: Prisma.IntFilter<"DesignPage"> | number
745
+ createdAt?: Prisma.DateTimeFilter<"DesignPage"> | Date | string
746
+ updatedAt?: Prisma.DateTimeFilter<"DesignPage"> | Date | string
747
+ }
748
+
749
+ export type DesignPageCreateWithoutChildrenInput = {
750
+ id?: string
751
+ name: string
752
+ order?: number
753
+ type?: string
754
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
755
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
756
+ version?: number
757
+ createdAt?: Date | string
758
+ updatedAt?: Date | string
759
+ design: Prisma.DesignCreateNestedOneWithoutPagesInput
760
+ parent?: Prisma.DesignPageCreateNestedOneWithoutChildrenInput
761
+ componentInstances?: Prisma.ComponentInstanceCreateNestedManyWithoutPageInput
762
+ blockInstances?: Prisma.BlockInstanceCreateNestedManyWithoutPageInput
763
+ pageVersions?: Prisma.PageVersionCreateNestedManyWithoutPageInput
764
+ }
765
+
766
+ export type DesignPageUncheckedCreateWithoutChildrenInput = {
767
+ id?: string
768
+ designId: string
769
+ parentId?: string | null
770
+ name: string
771
+ order?: number
772
+ type?: string
773
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
774
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
775
+ version?: number
776
+ createdAt?: Date | string
777
+ updatedAt?: Date | string
778
+ componentInstances?: Prisma.ComponentInstanceUncheckedCreateNestedManyWithoutPageInput
779
+ blockInstances?: Prisma.BlockInstanceUncheckedCreateNestedManyWithoutPageInput
780
+ pageVersions?: Prisma.PageVersionUncheckedCreateNestedManyWithoutPageInput
781
+ }
782
+
783
+ export type DesignPageCreateOrConnectWithoutChildrenInput = {
784
+ where: Prisma.DesignPageWhereUniqueInput
785
+ create: Prisma.XOR<Prisma.DesignPageCreateWithoutChildrenInput, Prisma.DesignPageUncheckedCreateWithoutChildrenInput>
786
+ }
787
+
788
+ export type DesignPageCreateWithoutParentInput = {
789
+ id?: string
790
+ name: string
791
+ order?: number
792
+ type?: string
793
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
794
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
795
+ version?: number
796
+ createdAt?: Date | string
797
+ updatedAt?: Date | string
798
+ design: Prisma.DesignCreateNestedOneWithoutPagesInput
799
+ children?: Prisma.DesignPageCreateNestedManyWithoutParentInput
800
+ componentInstances?: Prisma.ComponentInstanceCreateNestedManyWithoutPageInput
801
+ blockInstances?: Prisma.BlockInstanceCreateNestedManyWithoutPageInput
802
+ pageVersions?: Prisma.PageVersionCreateNestedManyWithoutPageInput
803
+ }
804
+
805
+ export type DesignPageUncheckedCreateWithoutParentInput = {
806
+ id?: string
807
+ designId: string
808
+ name: string
809
+ order?: number
810
+ type?: string
811
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
812
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
813
+ version?: number
814
+ createdAt?: Date | string
815
+ updatedAt?: Date | string
816
+ children?: Prisma.DesignPageUncheckedCreateNestedManyWithoutParentInput
817
+ componentInstances?: Prisma.ComponentInstanceUncheckedCreateNestedManyWithoutPageInput
818
+ blockInstances?: Prisma.BlockInstanceUncheckedCreateNestedManyWithoutPageInput
819
+ pageVersions?: Prisma.PageVersionUncheckedCreateNestedManyWithoutPageInput
820
+ }
821
+
822
+ export type DesignPageCreateOrConnectWithoutParentInput = {
823
+ where: Prisma.DesignPageWhereUniqueInput
824
+ create: Prisma.XOR<Prisma.DesignPageCreateWithoutParentInput, Prisma.DesignPageUncheckedCreateWithoutParentInput>
825
+ }
826
+
827
+ export type DesignPageCreateManyParentInputEnvelope = {
828
+ data: Prisma.DesignPageCreateManyParentInput | Prisma.DesignPageCreateManyParentInput[]
829
+ skipDuplicates?: boolean
830
+ }
831
+
832
+ export type DesignPageUpsertWithoutChildrenInput = {
833
+ update: Prisma.XOR<Prisma.DesignPageUpdateWithoutChildrenInput, Prisma.DesignPageUncheckedUpdateWithoutChildrenInput>
834
+ create: Prisma.XOR<Prisma.DesignPageCreateWithoutChildrenInput, Prisma.DesignPageUncheckedCreateWithoutChildrenInput>
835
+ where?: Prisma.DesignPageWhereInput
836
+ }
837
+
838
+ export type DesignPageUpdateToOneWithWhereWithoutChildrenInput = {
839
+ where?: Prisma.DesignPageWhereInput
840
+ data: Prisma.XOR<Prisma.DesignPageUpdateWithoutChildrenInput, Prisma.DesignPageUncheckedUpdateWithoutChildrenInput>
841
+ }
842
+
843
+ export type DesignPageUpdateWithoutChildrenInput = {
844
+ id?: Prisma.StringFieldUpdateOperationsInput | string
845
+ name?: Prisma.StringFieldUpdateOperationsInput | string
846
+ order?: Prisma.IntFieldUpdateOperationsInput | number
847
+ type?: Prisma.StringFieldUpdateOperationsInput | string
848
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
849
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
850
+ version?: Prisma.IntFieldUpdateOperationsInput | number
851
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
852
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
853
+ design?: Prisma.DesignUpdateOneRequiredWithoutPagesNestedInput
854
+ parent?: Prisma.DesignPageUpdateOneWithoutChildrenNestedInput
855
+ componentInstances?: Prisma.ComponentInstanceUpdateManyWithoutPageNestedInput
856
+ blockInstances?: Prisma.BlockInstanceUpdateManyWithoutPageNestedInput
857
+ pageVersions?: Prisma.PageVersionUpdateManyWithoutPageNestedInput
858
+ }
859
+
860
+ export type DesignPageUncheckedUpdateWithoutChildrenInput = {
861
+ id?: Prisma.StringFieldUpdateOperationsInput | string
862
+ designId?: Prisma.StringFieldUpdateOperationsInput | string
863
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
864
+ name?: Prisma.StringFieldUpdateOperationsInput | string
865
+ order?: Prisma.IntFieldUpdateOperationsInput | number
866
+ type?: Prisma.StringFieldUpdateOperationsInput | string
867
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
868
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
869
+ version?: Prisma.IntFieldUpdateOperationsInput | number
870
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
871
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
872
+ componentInstances?: Prisma.ComponentInstanceUncheckedUpdateManyWithoutPageNestedInput
873
+ blockInstances?: Prisma.BlockInstanceUncheckedUpdateManyWithoutPageNestedInput
874
+ pageVersions?: Prisma.PageVersionUncheckedUpdateManyWithoutPageNestedInput
875
+ }
876
+
877
+ export type DesignPageUpsertWithWhereUniqueWithoutParentInput = {
878
+ where: Prisma.DesignPageWhereUniqueInput
879
+ update: Prisma.XOR<Prisma.DesignPageUpdateWithoutParentInput, Prisma.DesignPageUncheckedUpdateWithoutParentInput>
880
+ create: Prisma.XOR<Prisma.DesignPageCreateWithoutParentInput, Prisma.DesignPageUncheckedCreateWithoutParentInput>
881
+ }
882
+
883
+ export type DesignPageUpdateWithWhereUniqueWithoutParentInput = {
884
+ where: Prisma.DesignPageWhereUniqueInput
885
+ data: Prisma.XOR<Prisma.DesignPageUpdateWithoutParentInput, Prisma.DesignPageUncheckedUpdateWithoutParentInput>
886
+ }
887
+
888
+ export type DesignPageUpdateManyWithWhereWithoutParentInput = {
889
+ where: Prisma.DesignPageScalarWhereInput
890
+ data: Prisma.XOR<Prisma.DesignPageUpdateManyMutationInput, Prisma.DesignPageUncheckedUpdateManyWithoutParentInput>
891
+ }
892
+
893
+ export type DesignPageCreateWithoutComponentInstancesInput = {
894
+ id?: string
895
+ name: string
896
+ order?: number
897
+ type?: string
898
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
899
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
900
+ version?: number
901
+ createdAt?: Date | string
902
+ updatedAt?: Date | string
903
+ design: Prisma.DesignCreateNestedOneWithoutPagesInput
904
+ parent?: Prisma.DesignPageCreateNestedOneWithoutChildrenInput
905
+ children?: Prisma.DesignPageCreateNestedManyWithoutParentInput
906
+ blockInstances?: Prisma.BlockInstanceCreateNestedManyWithoutPageInput
907
+ pageVersions?: Prisma.PageVersionCreateNestedManyWithoutPageInput
908
+ }
909
+
910
+ export type DesignPageUncheckedCreateWithoutComponentInstancesInput = {
911
+ id?: string
912
+ designId: string
913
+ parentId?: string | null
914
+ name: string
915
+ order?: number
916
+ type?: string
917
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
918
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
919
+ version?: number
920
+ createdAt?: Date | string
921
+ updatedAt?: Date | string
922
+ children?: Prisma.DesignPageUncheckedCreateNestedManyWithoutParentInput
923
+ blockInstances?: Prisma.BlockInstanceUncheckedCreateNestedManyWithoutPageInput
924
+ pageVersions?: Prisma.PageVersionUncheckedCreateNestedManyWithoutPageInput
925
+ }
926
+
927
+ export type DesignPageCreateOrConnectWithoutComponentInstancesInput = {
928
+ where: Prisma.DesignPageWhereUniqueInput
929
+ create: Prisma.XOR<Prisma.DesignPageCreateWithoutComponentInstancesInput, Prisma.DesignPageUncheckedCreateWithoutComponentInstancesInput>
930
+ }
931
+
932
+ export type DesignPageUpsertWithoutComponentInstancesInput = {
933
+ update: Prisma.XOR<Prisma.DesignPageUpdateWithoutComponentInstancesInput, Prisma.DesignPageUncheckedUpdateWithoutComponentInstancesInput>
934
+ create: Prisma.XOR<Prisma.DesignPageCreateWithoutComponentInstancesInput, Prisma.DesignPageUncheckedCreateWithoutComponentInstancesInput>
935
+ where?: Prisma.DesignPageWhereInput
936
+ }
937
+
938
+ export type DesignPageUpdateToOneWithWhereWithoutComponentInstancesInput = {
939
+ where?: Prisma.DesignPageWhereInput
940
+ data: Prisma.XOR<Prisma.DesignPageUpdateWithoutComponentInstancesInput, Prisma.DesignPageUncheckedUpdateWithoutComponentInstancesInput>
941
+ }
942
+
943
+ export type DesignPageUpdateWithoutComponentInstancesInput = {
944
+ id?: Prisma.StringFieldUpdateOperationsInput | string
945
+ name?: Prisma.StringFieldUpdateOperationsInput | string
946
+ order?: Prisma.IntFieldUpdateOperationsInput | number
947
+ type?: Prisma.StringFieldUpdateOperationsInput | string
948
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
949
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
950
+ version?: Prisma.IntFieldUpdateOperationsInput | number
951
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
952
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
953
+ design?: Prisma.DesignUpdateOneRequiredWithoutPagesNestedInput
954
+ parent?: Prisma.DesignPageUpdateOneWithoutChildrenNestedInput
955
+ children?: Prisma.DesignPageUpdateManyWithoutParentNestedInput
956
+ blockInstances?: Prisma.BlockInstanceUpdateManyWithoutPageNestedInput
957
+ pageVersions?: Prisma.PageVersionUpdateManyWithoutPageNestedInput
958
+ }
959
+
960
+ export type DesignPageUncheckedUpdateWithoutComponentInstancesInput = {
961
+ id?: Prisma.StringFieldUpdateOperationsInput | string
962
+ designId?: Prisma.StringFieldUpdateOperationsInput | string
963
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
964
+ name?: Prisma.StringFieldUpdateOperationsInput | string
965
+ order?: Prisma.IntFieldUpdateOperationsInput | number
966
+ type?: Prisma.StringFieldUpdateOperationsInput | string
967
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
968
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
969
+ version?: Prisma.IntFieldUpdateOperationsInput | number
970
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
971
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
972
+ children?: Prisma.DesignPageUncheckedUpdateManyWithoutParentNestedInput
973
+ blockInstances?: Prisma.BlockInstanceUncheckedUpdateManyWithoutPageNestedInput
974
+ pageVersions?: Prisma.PageVersionUncheckedUpdateManyWithoutPageNestedInput
975
+ }
976
+
977
+ export type DesignPageCreateWithoutBlockInstancesInput = {
978
+ id?: string
979
+ name: string
980
+ order?: number
981
+ type?: string
982
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
983
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
984
+ version?: number
985
+ createdAt?: Date | string
986
+ updatedAt?: Date | string
987
+ design: Prisma.DesignCreateNestedOneWithoutPagesInput
988
+ parent?: Prisma.DesignPageCreateNestedOneWithoutChildrenInput
989
+ children?: Prisma.DesignPageCreateNestedManyWithoutParentInput
990
+ componentInstances?: Prisma.ComponentInstanceCreateNestedManyWithoutPageInput
991
+ pageVersions?: Prisma.PageVersionCreateNestedManyWithoutPageInput
992
+ }
993
+
994
+ export type DesignPageUncheckedCreateWithoutBlockInstancesInput = {
995
+ id?: string
996
+ designId: string
997
+ parentId?: string | null
998
+ name: string
999
+ order?: number
1000
+ type?: string
1001
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1002
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1003
+ version?: number
1004
+ createdAt?: Date | string
1005
+ updatedAt?: Date | string
1006
+ children?: Prisma.DesignPageUncheckedCreateNestedManyWithoutParentInput
1007
+ componentInstances?: Prisma.ComponentInstanceUncheckedCreateNestedManyWithoutPageInput
1008
+ pageVersions?: Prisma.PageVersionUncheckedCreateNestedManyWithoutPageInput
1009
+ }
1010
+
1011
+ export type DesignPageCreateOrConnectWithoutBlockInstancesInput = {
1012
+ where: Prisma.DesignPageWhereUniqueInput
1013
+ create: Prisma.XOR<Prisma.DesignPageCreateWithoutBlockInstancesInput, Prisma.DesignPageUncheckedCreateWithoutBlockInstancesInput>
1014
+ }
1015
+
1016
+ export type DesignPageUpsertWithoutBlockInstancesInput = {
1017
+ update: Prisma.XOR<Prisma.DesignPageUpdateWithoutBlockInstancesInput, Prisma.DesignPageUncheckedUpdateWithoutBlockInstancesInput>
1018
+ create: Prisma.XOR<Prisma.DesignPageCreateWithoutBlockInstancesInput, Prisma.DesignPageUncheckedCreateWithoutBlockInstancesInput>
1019
+ where?: Prisma.DesignPageWhereInput
1020
+ }
1021
+
1022
+ export type DesignPageUpdateToOneWithWhereWithoutBlockInstancesInput = {
1023
+ where?: Prisma.DesignPageWhereInput
1024
+ data: Prisma.XOR<Prisma.DesignPageUpdateWithoutBlockInstancesInput, Prisma.DesignPageUncheckedUpdateWithoutBlockInstancesInput>
1025
+ }
1026
+
1027
+ export type DesignPageUpdateWithoutBlockInstancesInput = {
1028
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1029
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1030
+ order?: Prisma.IntFieldUpdateOperationsInput | number
1031
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1032
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1033
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1034
+ version?: Prisma.IntFieldUpdateOperationsInput | number
1035
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1036
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1037
+ design?: Prisma.DesignUpdateOneRequiredWithoutPagesNestedInput
1038
+ parent?: Prisma.DesignPageUpdateOneWithoutChildrenNestedInput
1039
+ children?: Prisma.DesignPageUpdateManyWithoutParentNestedInput
1040
+ componentInstances?: Prisma.ComponentInstanceUpdateManyWithoutPageNestedInput
1041
+ pageVersions?: Prisma.PageVersionUpdateManyWithoutPageNestedInput
1042
+ }
1043
+
1044
+ export type DesignPageUncheckedUpdateWithoutBlockInstancesInput = {
1045
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1046
+ designId?: Prisma.StringFieldUpdateOperationsInput | string
1047
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1048
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1049
+ order?: Prisma.IntFieldUpdateOperationsInput | number
1050
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1051
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1052
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1053
+ version?: Prisma.IntFieldUpdateOperationsInput | number
1054
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1055
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1056
+ children?: Prisma.DesignPageUncheckedUpdateManyWithoutParentNestedInput
1057
+ componentInstances?: Prisma.ComponentInstanceUncheckedUpdateManyWithoutPageNestedInput
1058
+ pageVersions?: Prisma.PageVersionUncheckedUpdateManyWithoutPageNestedInput
1059
+ }
1060
+
1061
+ export type DesignPageCreateWithoutPageVersionsInput = {
1062
+ id?: string
1063
+ name: string
1064
+ order?: number
1065
+ type?: string
1066
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1067
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1068
+ version?: number
1069
+ createdAt?: Date | string
1070
+ updatedAt?: Date | string
1071
+ design: Prisma.DesignCreateNestedOneWithoutPagesInput
1072
+ parent?: Prisma.DesignPageCreateNestedOneWithoutChildrenInput
1073
+ children?: Prisma.DesignPageCreateNestedManyWithoutParentInput
1074
+ componentInstances?: Prisma.ComponentInstanceCreateNestedManyWithoutPageInput
1075
+ blockInstances?: Prisma.BlockInstanceCreateNestedManyWithoutPageInput
1076
+ }
1077
+
1078
+ export type DesignPageUncheckedCreateWithoutPageVersionsInput = {
1079
+ id?: string
1080
+ designId: string
1081
+ parentId?: string | null
1082
+ name: string
1083
+ order?: number
1084
+ type?: string
1085
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1086
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1087
+ version?: number
1088
+ createdAt?: Date | string
1089
+ updatedAt?: Date | string
1090
+ children?: Prisma.DesignPageUncheckedCreateNestedManyWithoutParentInput
1091
+ componentInstances?: Prisma.ComponentInstanceUncheckedCreateNestedManyWithoutPageInput
1092
+ blockInstances?: Prisma.BlockInstanceUncheckedCreateNestedManyWithoutPageInput
1093
+ }
1094
+
1095
+ export type DesignPageCreateOrConnectWithoutPageVersionsInput = {
1096
+ where: Prisma.DesignPageWhereUniqueInput
1097
+ create: Prisma.XOR<Prisma.DesignPageCreateWithoutPageVersionsInput, Prisma.DesignPageUncheckedCreateWithoutPageVersionsInput>
1098
+ }
1099
+
1100
+ export type DesignPageUpsertWithoutPageVersionsInput = {
1101
+ update: Prisma.XOR<Prisma.DesignPageUpdateWithoutPageVersionsInput, Prisma.DesignPageUncheckedUpdateWithoutPageVersionsInput>
1102
+ create: Prisma.XOR<Prisma.DesignPageCreateWithoutPageVersionsInput, Prisma.DesignPageUncheckedCreateWithoutPageVersionsInput>
1103
+ where?: Prisma.DesignPageWhereInput
1104
+ }
1105
+
1106
+ export type DesignPageUpdateToOneWithWhereWithoutPageVersionsInput = {
1107
+ where?: Prisma.DesignPageWhereInput
1108
+ data: Prisma.XOR<Prisma.DesignPageUpdateWithoutPageVersionsInput, Prisma.DesignPageUncheckedUpdateWithoutPageVersionsInput>
1109
+ }
1110
+
1111
+ export type DesignPageUpdateWithoutPageVersionsInput = {
1112
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1113
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1114
+ order?: Prisma.IntFieldUpdateOperationsInput | number
1115
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1116
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1117
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1118
+ version?: Prisma.IntFieldUpdateOperationsInput | number
1119
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1120
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1121
+ design?: Prisma.DesignUpdateOneRequiredWithoutPagesNestedInput
1122
+ parent?: Prisma.DesignPageUpdateOneWithoutChildrenNestedInput
1123
+ children?: Prisma.DesignPageUpdateManyWithoutParentNestedInput
1124
+ componentInstances?: Prisma.ComponentInstanceUpdateManyWithoutPageNestedInput
1125
+ blockInstances?: Prisma.BlockInstanceUpdateManyWithoutPageNestedInput
1126
+ }
1127
+
1128
+ export type DesignPageUncheckedUpdateWithoutPageVersionsInput = {
1129
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1130
+ designId?: Prisma.StringFieldUpdateOperationsInput | string
1131
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1132
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1133
+ order?: Prisma.IntFieldUpdateOperationsInput | number
1134
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1135
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1136
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1137
+ version?: Prisma.IntFieldUpdateOperationsInput | number
1138
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1139
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1140
+ children?: Prisma.DesignPageUncheckedUpdateManyWithoutParentNestedInput
1141
+ componentInstances?: Prisma.ComponentInstanceUncheckedUpdateManyWithoutPageNestedInput
1142
+ blockInstances?: Prisma.BlockInstanceUncheckedUpdateManyWithoutPageNestedInput
1143
+ }
1144
+
1145
+ export type DesignPageCreateManyDesignInput = {
1146
+ id?: string
1147
+ parentId?: string | null
1148
+ name: string
1149
+ order?: number
1150
+ type?: string
1151
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1152
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1153
+ version?: number
1154
+ createdAt?: Date | string
1155
+ updatedAt?: Date | string
1156
+ }
1157
+
1158
+ export type DesignPageUpdateWithoutDesignInput = {
1159
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1160
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1161
+ order?: Prisma.IntFieldUpdateOperationsInput | number
1162
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1163
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1164
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1165
+ version?: Prisma.IntFieldUpdateOperationsInput | number
1166
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1167
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1168
+ parent?: Prisma.DesignPageUpdateOneWithoutChildrenNestedInput
1169
+ children?: Prisma.DesignPageUpdateManyWithoutParentNestedInput
1170
+ componentInstances?: Prisma.ComponentInstanceUpdateManyWithoutPageNestedInput
1171
+ blockInstances?: Prisma.BlockInstanceUpdateManyWithoutPageNestedInput
1172
+ pageVersions?: Prisma.PageVersionUpdateManyWithoutPageNestedInput
1173
+ }
1174
+
1175
+ export type DesignPageUncheckedUpdateWithoutDesignInput = {
1176
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1177
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1178
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1179
+ order?: Prisma.IntFieldUpdateOperationsInput | number
1180
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1181
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1182
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1183
+ version?: Prisma.IntFieldUpdateOperationsInput | number
1184
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1185
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1186
+ children?: Prisma.DesignPageUncheckedUpdateManyWithoutParentNestedInput
1187
+ componentInstances?: Prisma.ComponentInstanceUncheckedUpdateManyWithoutPageNestedInput
1188
+ blockInstances?: Prisma.BlockInstanceUncheckedUpdateManyWithoutPageNestedInput
1189
+ pageVersions?: Prisma.PageVersionUncheckedUpdateManyWithoutPageNestedInput
1190
+ }
1191
+
1192
+ export type DesignPageUncheckedUpdateManyWithoutDesignInput = {
1193
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1194
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1195
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1196
+ order?: Prisma.IntFieldUpdateOperationsInput | number
1197
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1198
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1199
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1200
+ version?: Prisma.IntFieldUpdateOperationsInput | number
1201
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1202
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1203
+ }
1204
+
1205
+ export type DesignPageCreateManyParentInput = {
1206
+ id?: string
1207
+ designId: string
1208
+ name: string
1209
+ order?: number
1210
+ type?: string
1211
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1212
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1213
+ version?: number
1214
+ createdAt?: Date | string
1215
+ updatedAt?: Date | string
1216
+ }
1217
+
1218
+ export type DesignPageUpdateWithoutParentInput = {
1219
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1220
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1221
+ order?: Prisma.IntFieldUpdateOperationsInput | number
1222
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1223
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1224
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1225
+ version?: Prisma.IntFieldUpdateOperationsInput | number
1226
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1227
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1228
+ design?: Prisma.DesignUpdateOneRequiredWithoutPagesNestedInput
1229
+ children?: Prisma.DesignPageUpdateManyWithoutParentNestedInput
1230
+ componentInstances?: Prisma.ComponentInstanceUpdateManyWithoutPageNestedInput
1231
+ blockInstances?: Prisma.BlockInstanceUpdateManyWithoutPageNestedInput
1232
+ pageVersions?: Prisma.PageVersionUpdateManyWithoutPageNestedInput
1233
+ }
1234
+
1235
+ export type DesignPageUncheckedUpdateWithoutParentInput = {
1236
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1237
+ designId?: Prisma.StringFieldUpdateOperationsInput | string
1238
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1239
+ order?: Prisma.IntFieldUpdateOperationsInput | number
1240
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1241
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1242
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1243
+ version?: Prisma.IntFieldUpdateOperationsInput | number
1244
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1245
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1246
+ children?: Prisma.DesignPageUncheckedUpdateManyWithoutParentNestedInput
1247
+ componentInstances?: Prisma.ComponentInstanceUncheckedUpdateManyWithoutPageNestedInput
1248
+ blockInstances?: Prisma.BlockInstanceUncheckedUpdateManyWithoutPageNestedInput
1249
+ pageVersions?: Prisma.PageVersionUncheckedUpdateManyWithoutPageNestedInput
1250
+ }
1251
+
1252
+ export type DesignPageUncheckedUpdateManyWithoutParentInput = {
1253
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1254
+ designId?: Prisma.StringFieldUpdateOperationsInput | string
1255
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1256
+ order?: Prisma.IntFieldUpdateOperationsInput | number
1257
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1258
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1259
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1260
+ version?: Prisma.IntFieldUpdateOperationsInput | number
1261
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1262
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1263
+ }
1264
+
1265
+
1266
+ /**
1267
+ * Count Type DesignPageCountOutputType
1268
+ */
1269
+
1270
+ export type DesignPageCountOutputType = {
1271
+ children: number
1272
+ componentInstances: number
1273
+ blockInstances: number
1274
+ pageVersions: number
1275
+ }
1276
+
1277
+ export type DesignPageCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1278
+ children?: boolean | DesignPageCountOutputTypeCountChildrenArgs
1279
+ componentInstances?: boolean | DesignPageCountOutputTypeCountComponentInstancesArgs
1280
+ blockInstances?: boolean | DesignPageCountOutputTypeCountBlockInstancesArgs
1281
+ pageVersions?: boolean | DesignPageCountOutputTypeCountPageVersionsArgs
1282
+ }
1283
+
1284
+ /**
1285
+ * DesignPageCountOutputType without action
1286
+ */
1287
+ export type DesignPageCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1288
+ /**
1289
+ * Select specific fields to fetch from the DesignPageCountOutputType
1290
+ */
1291
+ select?: Prisma.DesignPageCountOutputTypeSelect<ExtArgs> | null
1292
+ }
1293
+
1294
+ /**
1295
+ * DesignPageCountOutputType without action
1296
+ */
1297
+ export type DesignPageCountOutputTypeCountChildrenArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1298
+ where?: Prisma.DesignPageWhereInput
1299
+ }
1300
+
1301
+ /**
1302
+ * DesignPageCountOutputType without action
1303
+ */
1304
+ export type DesignPageCountOutputTypeCountComponentInstancesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1305
+ where?: Prisma.ComponentInstanceWhereInput
1306
+ }
1307
+
1308
+ /**
1309
+ * DesignPageCountOutputType without action
1310
+ */
1311
+ export type DesignPageCountOutputTypeCountBlockInstancesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1312
+ where?: Prisma.BlockInstanceWhereInput
1313
+ }
1314
+
1315
+ /**
1316
+ * DesignPageCountOutputType without action
1317
+ */
1318
+ export type DesignPageCountOutputTypeCountPageVersionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1319
+ where?: Prisma.PageVersionWhereInput
1320
+ }
1321
+
1322
+
1323
+ export type DesignPageSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1324
+ id?: boolean
1325
+ designId?: boolean
1326
+ parentId?: boolean
1327
+ name?: boolean
1328
+ order?: boolean
1329
+ type?: boolean
1330
+ canvas?: boolean
1331
+ content?: boolean
1332
+ version?: boolean
1333
+ createdAt?: boolean
1334
+ updatedAt?: boolean
1335
+ design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
1336
+ parent?: boolean | Prisma.DesignPage$parentArgs<ExtArgs>
1337
+ children?: boolean | Prisma.DesignPage$childrenArgs<ExtArgs>
1338
+ componentInstances?: boolean | Prisma.DesignPage$componentInstancesArgs<ExtArgs>
1339
+ blockInstances?: boolean | Prisma.DesignPage$blockInstancesArgs<ExtArgs>
1340
+ pageVersions?: boolean | Prisma.DesignPage$pageVersionsArgs<ExtArgs>
1341
+ _count?: boolean | Prisma.DesignPageCountOutputTypeDefaultArgs<ExtArgs>
1342
+ }, ExtArgs["result"]["designPage"]>
1343
+
1344
+ export type DesignPageSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1345
+ id?: boolean
1346
+ designId?: boolean
1347
+ parentId?: boolean
1348
+ name?: boolean
1349
+ order?: boolean
1350
+ type?: boolean
1351
+ canvas?: boolean
1352
+ content?: boolean
1353
+ version?: boolean
1354
+ createdAt?: boolean
1355
+ updatedAt?: boolean
1356
+ design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
1357
+ parent?: boolean | Prisma.DesignPage$parentArgs<ExtArgs>
1358
+ }, ExtArgs["result"]["designPage"]>
1359
+
1360
+ export type DesignPageSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1361
+ id?: boolean
1362
+ designId?: boolean
1363
+ parentId?: boolean
1364
+ name?: boolean
1365
+ order?: boolean
1366
+ type?: boolean
1367
+ canvas?: boolean
1368
+ content?: boolean
1369
+ version?: boolean
1370
+ createdAt?: boolean
1371
+ updatedAt?: boolean
1372
+ design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
1373
+ parent?: boolean | Prisma.DesignPage$parentArgs<ExtArgs>
1374
+ }, ExtArgs["result"]["designPage"]>
1375
+
1376
+ export type DesignPageSelectScalar = {
1377
+ id?: boolean
1378
+ designId?: boolean
1379
+ parentId?: boolean
1380
+ name?: boolean
1381
+ order?: boolean
1382
+ type?: boolean
1383
+ canvas?: boolean
1384
+ content?: boolean
1385
+ version?: boolean
1386
+ createdAt?: boolean
1387
+ updatedAt?: boolean
1388
+ }
1389
+
1390
+ export type DesignPageOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "designId" | "parentId" | "name" | "order" | "type" | "canvas" | "content" | "version" | "createdAt" | "updatedAt", ExtArgs["result"]["designPage"]>
1391
+ export type DesignPageInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1392
+ design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
1393
+ parent?: boolean | Prisma.DesignPage$parentArgs<ExtArgs>
1394
+ children?: boolean | Prisma.DesignPage$childrenArgs<ExtArgs>
1395
+ componentInstances?: boolean | Prisma.DesignPage$componentInstancesArgs<ExtArgs>
1396
+ blockInstances?: boolean | Prisma.DesignPage$blockInstancesArgs<ExtArgs>
1397
+ pageVersions?: boolean | Prisma.DesignPage$pageVersionsArgs<ExtArgs>
1398
+ _count?: boolean | Prisma.DesignPageCountOutputTypeDefaultArgs<ExtArgs>
1399
+ }
1400
+ export type DesignPageIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1401
+ design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
1402
+ parent?: boolean | Prisma.DesignPage$parentArgs<ExtArgs>
1403
+ }
1404
+ export type DesignPageIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1405
+ design?: boolean | Prisma.DesignDefaultArgs<ExtArgs>
1406
+ parent?: boolean | Prisma.DesignPage$parentArgs<ExtArgs>
1407
+ }
1408
+
1409
+ export type $DesignPagePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1410
+ name: "DesignPage"
1411
+ objects: {
1412
+ design: Prisma.$DesignPayload<ExtArgs>
1413
+ parent: Prisma.$DesignPagePayload<ExtArgs> | null
1414
+ children: Prisma.$DesignPagePayload<ExtArgs>[]
1415
+ componentInstances: Prisma.$ComponentInstancePayload<ExtArgs>[]
1416
+ blockInstances: Prisma.$BlockInstancePayload<ExtArgs>[]
1417
+ pageVersions: Prisma.$PageVersionPayload<ExtArgs>[]
1418
+ }
1419
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
1420
+ id: string
1421
+ designId: string
1422
+ parentId: string | null
1423
+ name: string
1424
+ order: number
1425
+ type: string
1426
+ canvas: runtime.JsonValue | null
1427
+ content: runtime.JsonValue | null
1428
+ version: number
1429
+ createdAt: Date
1430
+ updatedAt: Date
1431
+ }, ExtArgs["result"]["designPage"]>
1432
+ composites: {}
1433
+ }
1434
+
1435
+ export type DesignPageGetPayload<S extends boolean | null | undefined | DesignPageDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$DesignPagePayload, S>
1436
+
1437
+ export type DesignPageCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1438
+ Omit<DesignPageFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1439
+ select?: DesignPageCountAggregateInputType | true
1440
+ }
1441
+
1442
+ export interface DesignPageDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1443
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['DesignPage'], meta: { name: 'DesignPage' } }
1444
+ /**
1445
+ * Find zero or one DesignPage that matches the filter.
1446
+ * @param {DesignPageFindUniqueArgs} args - Arguments to find a DesignPage
1447
+ * @example
1448
+ * // Get one DesignPage
1449
+ * const designPage = await prisma.designPage.findUnique({
1450
+ * where: {
1451
+ * // ... provide filter here
1452
+ * }
1453
+ * })
1454
+ */
1455
+ findUnique<T extends DesignPageFindUniqueArgs>(args: Prisma.SelectSubset<T, DesignPageFindUniqueArgs<ExtArgs>>): Prisma.Prisma__DesignPageClient<runtime.Types.Result.GetResult<Prisma.$DesignPagePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1456
+
1457
+ /**
1458
+ * Find one DesignPage that matches the filter or throw an error with `error.code='P2025'`
1459
+ * if no matches were found.
1460
+ * @param {DesignPageFindUniqueOrThrowArgs} args - Arguments to find a DesignPage
1461
+ * @example
1462
+ * // Get one DesignPage
1463
+ * const designPage = await prisma.designPage.findUniqueOrThrow({
1464
+ * where: {
1465
+ * // ... provide filter here
1466
+ * }
1467
+ * })
1468
+ */
1469
+ findUniqueOrThrow<T extends DesignPageFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, DesignPageFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__DesignPageClient<runtime.Types.Result.GetResult<Prisma.$DesignPagePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1470
+
1471
+ /**
1472
+ * Find the first DesignPage that matches the filter.
1473
+ * Note, that providing `undefined` is treated as the value not being there.
1474
+ * Read more here: https://pris.ly/d/null-undefined
1475
+ * @param {DesignPageFindFirstArgs} args - Arguments to find a DesignPage
1476
+ * @example
1477
+ * // Get one DesignPage
1478
+ * const designPage = await prisma.designPage.findFirst({
1479
+ * where: {
1480
+ * // ... provide filter here
1481
+ * }
1482
+ * })
1483
+ */
1484
+ findFirst<T extends DesignPageFindFirstArgs>(args?: Prisma.SelectSubset<T, DesignPageFindFirstArgs<ExtArgs>>): Prisma.Prisma__DesignPageClient<runtime.Types.Result.GetResult<Prisma.$DesignPagePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1485
+
1486
+ /**
1487
+ * Find the first DesignPage that matches the filter or
1488
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1489
+ * Note, that providing `undefined` is treated as the value not being there.
1490
+ * Read more here: https://pris.ly/d/null-undefined
1491
+ * @param {DesignPageFindFirstOrThrowArgs} args - Arguments to find a DesignPage
1492
+ * @example
1493
+ * // Get one DesignPage
1494
+ * const designPage = await prisma.designPage.findFirstOrThrow({
1495
+ * where: {
1496
+ * // ... provide filter here
1497
+ * }
1498
+ * })
1499
+ */
1500
+ findFirstOrThrow<T extends DesignPageFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, DesignPageFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__DesignPageClient<runtime.Types.Result.GetResult<Prisma.$DesignPagePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1501
+
1502
+ /**
1503
+ * Find zero or more DesignPages that matches the filter.
1504
+ * Note, that providing `undefined` is treated as the value not being there.
1505
+ * Read more here: https://pris.ly/d/null-undefined
1506
+ * @param {DesignPageFindManyArgs} args - Arguments to filter and select certain fields only.
1507
+ * @example
1508
+ * // Get all DesignPages
1509
+ * const designPages = await prisma.designPage.findMany()
1510
+ *
1511
+ * // Get first 10 DesignPages
1512
+ * const designPages = await prisma.designPage.findMany({ take: 10 })
1513
+ *
1514
+ * // Only select the `id`
1515
+ * const designPageWithIdOnly = await prisma.designPage.findMany({ select: { id: true } })
1516
+ *
1517
+ */
1518
+ findMany<T extends DesignPageFindManyArgs>(args?: Prisma.SelectSubset<T, DesignPageFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DesignPagePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1519
+
1520
+ /**
1521
+ * Create a DesignPage.
1522
+ * @param {DesignPageCreateArgs} args - Arguments to create a DesignPage.
1523
+ * @example
1524
+ * // Create one DesignPage
1525
+ * const DesignPage = await prisma.designPage.create({
1526
+ * data: {
1527
+ * // ... data to create a DesignPage
1528
+ * }
1529
+ * })
1530
+ *
1531
+ */
1532
+ create<T extends DesignPageCreateArgs>(args: Prisma.SelectSubset<T, DesignPageCreateArgs<ExtArgs>>): Prisma.Prisma__DesignPageClient<runtime.Types.Result.GetResult<Prisma.$DesignPagePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1533
+
1534
+ /**
1535
+ * Create many DesignPages.
1536
+ * @param {DesignPageCreateManyArgs} args - Arguments to create many DesignPages.
1537
+ * @example
1538
+ * // Create many DesignPages
1539
+ * const designPage = await prisma.designPage.createMany({
1540
+ * data: [
1541
+ * // ... provide data here
1542
+ * ]
1543
+ * })
1544
+ *
1545
+ */
1546
+ createMany<T extends DesignPageCreateManyArgs>(args?: Prisma.SelectSubset<T, DesignPageCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1547
+
1548
+ /**
1549
+ * Create many DesignPages and returns the data saved in the database.
1550
+ * @param {DesignPageCreateManyAndReturnArgs} args - Arguments to create many DesignPages.
1551
+ * @example
1552
+ * // Create many DesignPages
1553
+ * const designPage = await prisma.designPage.createManyAndReturn({
1554
+ * data: [
1555
+ * // ... provide data here
1556
+ * ]
1557
+ * })
1558
+ *
1559
+ * // Create many DesignPages and only return the `id`
1560
+ * const designPageWithIdOnly = await prisma.designPage.createManyAndReturn({
1561
+ * select: { id: true },
1562
+ * data: [
1563
+ * // ... provide data here
1564
+ * ]
1565
+ * })
1566
+ * Note, that providing `undefined` is treated as the value not being there.
1567
+ * Read more here: https://pris.ly/d/null-undefined
1568
+ *
1569
+ */
1570
+ createManyAndReturn<T extends DesignPageCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, DesignPageCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DesignPagePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1571
+
1572
+ /**
1573
+ * Delete a DesignPage.
1574
+ * @param {DesignPageDeleteArgs} args - Arguments to delete one DesignPage.
1575
+ * @example
1576
+ * // Delete one DesignPage
1577
+ * const DesignPage = await prisma.designPage.delete({
1578
+ * where: {
1579
+ * // ... filter to delete one DesignPage
1580
+ * }
1581
+ * })
1582
+ *
1583
+ */
1584
+ delete<T extends DesignPageDeleteArgs>(args: Prisma.SelectSubset<T, DesignPageDeleteArgs<ExtArgs>>): Prisma.Prisma__DesignPageClient<runtime.Types.Result.GetResult<Prisma.$DesignPagePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1585
+
1586
+ /**
1587
+ * Update one DesignPage.
1588
+ * @param {DesignPageUpdateArgs} args - Arguments to update one DesignPage.
1589
+ * @example
1590
+ * // Update one DesignPage
1591
+ * const designPage = await prisma.designPage.update({
1592
+ * where: {
1593
+ * // ... provide filter here
1594
+ * },
1595
+ * data: {
1596
+ * // ... provide data here
1597
+ * }
1598
+ * })
1599
+ *
1600
+ */
1601
+ update<T extends DesignPageUpdateArgs>(args: Prisma.SelectSubset<T, DesignPageUpdateArgs<ExtArgs>>): Prisma.Prisma__DesignPageClient<runtime.Types.Result.GetResult<Prisma.$DesignPagePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1602
+
1603
+ /**
1604
+ * Delete zero or more DesignPages.
1605
+ * @param {DesignPageDeleteManyArgs} args - Arguments to filter DesignPages to delete.
1606
+ * @example
1607
+ * // Delete a few DesignPages
1608
+ * const { count } = await prisma.designPage.deleteMany({
1609
+ * where: {
1610
+ * // ... provide filter here
1611
+ * }
1612
+ * })
1613
+ *
1614
+ */
1615
+ deleteMany<T extends DesignPageDeleteManyArgs>(args?: Prisma.SelectSubset<T, DesignPageDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1616
+
1617
+ /**
1618
+ * Update zero or more DesignPages.
1619
+ * Note, that providing `undefined` is treated as the value not being there.
1620
+ * Read more here: https://pris.ly/d/null-undefined
1621
+ * @param {DesignPageUpdateManyArgs} args - Arguments to update one or more rows.
1622
+ * @example
1623
+ * // Update many DesignPages
1624
+ * const designPage = await prisma.designPage.updateMany({
1625
+ * where: {
1626
+ * // ... provide filter here
1627
+ * },
1628
+ * data: {
1629
+ * // ... provide data here
1630
+ * }
1631
+ * })
1632
+ *
1633
+ */
1634
+ updateMany<T extends DesignPageUpdateManyArgs>(args: Prisma.SelectSubset<T, DesignPageUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1635
+
1636
+ /**
1637
+ * Update zero or more DesignPages and returns the data updated in the database.
1638
+ * @param {DesignPageUpdateManyAndReturnArgs} args - Arguments to update many DesignPages.
1639
+ * @example
1640
+ * // Update many DesignPages
1641
+ * const designPage = await prisma.designPage.updateManyAndReturn({
1642
+ * where: {
1643
+ * // ... provide filter here
1644
+ * },
1645
+ * data: [
1646
+ * // ... provide data here
1647
+ * ]
1648
+ * })
1649
+ *
1650
+ * // Update zero or more DesignPages and only return the `id`
1651
+ * const designPageWithIdOnly = await prisma.designPage.updateManyAndReturn({
1652
+ * select: { id: true },
1653
+ * where: {
1654
+ * // ... provide filter here
1655
+ * },
1656
+ * data: [
1657
+ * // ... provide data here
1658
+ * ]
1659
+ * })
1660
+ * Note, that providing `undefined` is treated as the value not being there.
1661
+ * Read more here: https://pris.ly/d/null-undefined
1662
+ *
1663
+ */
1664
+ updateManyAndReturn<T extends DesignPageUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, DesignPageUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DesignPagePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1665
+
1666
+ /**
1667
+ * Create or update one DesignPage.
1668
+ * @param {DesignPageUpsertArgs} args - Arguments to update or create a DesignPage.
1669
+ * @example
1670
+ * // Update or create a DesignPage
1671
+ * const designPage = await prisma.designPage.upsert({
1672
+ * create: {
1673
+ * // ... data to create a DesignPage
1674
+ * },
1675
+ * update: {
1676
+ * // ... in case it already exists, update
1677
+ * },
1678
+ * where: {
1679
+ * // ... the filter for the DesignPage we want to update
1680
+ * }
1681
+ * })
1682
+ */
1683
+ upsert<T extends DesignPageUpsertArgs>(args: Prisma.SelectSubset<T, DesignPageUpsertArgs<ExtArgs>>): Prisma.Prisma__DesignPageClient<runtime.Types.Result.GetResult<Prisma.$DesignPagePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1684
+
1685
+
1686
+ /**
1687
+ * Count the number of DesignPages.
1688
+ * Note, that providing `undefined` is treated as the value not being there.
1689
+ * Read more here: https://pris.ly/d/null-undefined
1690
+ * @param {DesignPageCountArgs} args - Arguments to filter DesignPages to count.
1691
+ * @example
1692
+ * // Count the number of DesignPages
1693
+ * const count = await prisma.designPage.count({
1694
+ * where: {
1695
+ * // ... the filter for the DesignPages we want to count
1696
+ * }
1697
+ * })
1698
+ **/
1699
+ count<T extends DesignPageCountArgs>(
1700
+ args?: Prisma.Subset<T, DesignPageCountArgs>,
1701
+ ): Prisma.PrismaPromise<
1702
+ T extends runtime.Types.Utils.Record<'select', any>
1703
+ ? T['select'] extends true
1704
+ ? number
1705
+ : Prisma.GetScalarType<T['select'], DesignPageCountAggregateOutputType>
1706
+ : number
1707
+ >
1708
+
1709
+ /**
1710
+ * Allows you to perform aggregations operations on a DesignPage.
1711
+ * Note, that providing `undefined` is treated as the value not being there.
1712
+ * Read more here: https://pris.ly/d/null-undefined
1713
+ * @param {DesignPageAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1714
+ * @example
1715
+ * // Ordered by age ascending
1716
+ * // Where email contains prisma.io
1717
+ * // Limited to the 10 users
1718
+ * const aggregations = await prisma.user.aggregate({
1719
+ * _avg: {
1720
+ * age: true,
1721
+ * },
1722
+ * where: {
1723
+ * email: {
1724
+ * contains: "prisma.io",
1725
+ * },
1726
+ * },
1727
+ * orderBy: {
1728
+ * age: "asc",
1729
+ * },
1730
+ * take: 10,
1731
+ * })
1732
+ **/
1733
+ aggregate<T extends DesignPageAggregateArgs>(args: Prisma.Subset<T, DesignPageAggregateArgs>): Prisma.PrismaPromise<GetDesignPageAggregateType<T>>
1734
+
1735
+ /**
1736
+ * Group by DesignPage.
1737
+ * Note, that providing `undefined` is treated as the value not being there.
1738
+ * Read more here: https://pris.ly/d/null-undefined
1739
+ * @param {DesignPageGroupByArgs} args - Group by arguments.
1740
+ * @example
1741
+ * // Group by city, order by createdAt, get count
1742
+ * const result = await prisma.user.groupBy({
1743
+ * by: ['city', 'createdAt'],
1744
+ * orderBy: {
1745
+ * createdAt: true
1746
+ * },
1747
+ * _count: {
1748
+ * _all: true
1749
+ * },
1750
+ * })
1751
+ *
1752
+ **/
1753
+ groupBy<
1754
+ T extends DesignPageGroupByArgs,
1755
+ HasSelectOrTake extends Prisma.Or<
1756
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1757
+ Prisma.Extends<'take', Prisma.Keys<T>>
1758
+ >,
1759
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1760
+ ? { orderBy: DesignPageGroupByArgs['orderBy'] }
1761
+ : { orderBy?: DesignPageGroupByArgs['orderBy'] },
1762
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1763
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1764
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1765
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1766
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1767
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1768
+ InputErrors extends ByEmpty extends Prisma.True
1769
+ ? `Error: "by" must not be empty.`
1770
+ : HavingValid extends Prisma.False
1771
+ ? {
1772
+ [P in HavingFields]: P extends ByFields
1773
+ ? never
1774
+ : P extends string
1775
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1776
+ : [
1777
+ Error,
1778
+ 'Field ',
1779
+ P,
1780
+ ` in "having" needs to be provided in "by"`,
1781
+ ]
1782
+ }[HavingFields]
1783
+ : 'take' extends Prisma.Keys<T>
1784
+ ? 'orderBy' extends Prisma.Keys<T>
1785
+ ? ByValid extends Prisma.True
1786
+ ? {}
1787
+ : {
1788
+ [P in OrderFields]: P extends ByFields
1789
+ ? never
1790
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1791
+ }[OrderFields]
1792
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1793
+ : 'skip' extends Prisma.Keys<T>
1794
+ ? 'orderBy' extends Prisma.Keys<T>
1795
+ ? ByValid extends Prisma.True
1796
+ ? {}
1797
+ : {
1798
+ [P in OrderFields]: P extends ByFields
1799
+ ? never
1800
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1801
+ }[OrderFields]
1802
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1803
+ : ByValid extends Prisma.True
1804
+ ? {}
1805
+ : {
1806
+ [P in OrderFields]: P extends ByFields
1807
+ ? never
1808
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1809
+ }[OrderFields]
1810
+ >(args: Prisma.SubsetIntersection<T, DesignPageGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDesignPageGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1811
+ /**
1812
+ * Fields of the DesignPage model
1813
+ */
1814
+ readonly fields: DesignPageFieldRefs;
1815
+ }
1816
+
1817
+ /**
1818
+ * The delegate class that acts as a "Promise-like" for DesignPage.
1819
+ * Why is this prefixed with `Prisma__`?
1820
+ * Because we want to prevent naming conflicts as mentioned in
1821
+ * https://github.com/prisma/prisma-client-js/issues/707
1822
+ */
1823
+ export interface Prisma__DesignPageClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1824
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1825
+ design<T extends Prisma.DesignDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DesignDefaultArgs<ExtArgs>>): Prisma.Prisma__DesignClient<runtime.Types.Result.GetResult<Prisma.$DesignPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1826
+ parent<T extends Prisma.DesignPage$parentArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DesignPage$parentArgs<ExtArgs>>): Prisma.Prisma__DesignPageClient<runtime.Types.Result.GetResult<Prisma.$DesignPagePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1827
+ children<T extends Prisma.DesignPage$childrenArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DesignPage$childrenArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DesignPagePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1828
+ componentInstances<T extends Prisma.DesignPage$componentInstancesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DesignPage$componentInstancesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ComponentInstancePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1829
+ blockInstances<T extends Prisma.DesignPage$blockInstancesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DesignPage$blockInstancesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BlockInstancePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1830
+ pageVersions<T extends Prisma.DesignPage$pageVersionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DesignPage$pageVersionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PageVersionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1831
+ /**
1832
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1833
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1834
+ * @param onrejected The callback to execute when the Promise is rejected.
1835
+ * @returns A Promise for the completion of which ever callback is executed.
1836
+ */
1837
+ 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>
1838
+ /**
1839
+ * Attaches a callback for only the rejection of the Promise.
1840
+ * @param onrejected The callback to execute when the Promise is rejected.
1841
+ * @returns A Promise for the completion of the callback.
1842
+ */
1843
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1844
+ /**
1845
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1846
+ * resolved value cannot be modified from the callback.
1847
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1848
+ * @returns A Promise for the completion of the callback.
1849
+ */
1850
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1851
+ }
1852
+
1853
+
1854
+
1855
+
1856
+ /**
1857
+ * Fields of the DesignPage model
1858
+ */
1859
+ export interface DesignPageFieldRefs {
1860
+ readonly id: Prisma.FieldRef<"DesignPage", 'String'>
1861
+ readonly designId: Prisma.FieldRef<"DesignPage", 'String'>
1862
+ readonly parentId: Prisma.FieldRef<"DesignPage", 'String'>
1863
+ readonly name: Prisma.FieldRef<"DesignPage", 'String'>
1864
+ readonly order: Prisma.FieldRef<"DesignPage", 'Int'>
1865
+ readonly type: Prisma.FieldRef<"DesignPage", 'String'>
1866
+ readonly canvas: Prisma.FieldRef<"DesignPage", 'Json'>
1867
+ readonly content: Prisma.FieldRef<"DesignPage", 'Json'>
1868
+ readonly version: Prisma.FieldRef<"DesignPage", 'Int'>
1869
+ readonly createdAt: Prisma.FieldRef<"DesignPage", 'DateTime'>
1870
+ readonly updatedAt: Prisma.FieldRef<"DesignPage", 'DateTime'>
1871
+ }
1872
+
1873
+
1874
+ // Custom InputTypes
1875
+ /**
1876
+ * DesignPage findUnique
1877
+ */
1878
+ export type DesignPageFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1879
+ /**
1880
+ * Select specific fields to fetch from the DesignPage
1881
+ */
1882
+ select?: Prisma.DesignPageSelect<ExtArgs> | null
1883
+ /**
1884
+ * Omit specific fields from the DesignPage
1885
+ */
1886
+ omit?: Prisma.DesignPageOmit<ExtArgs> | null
1887
+ /**
1888
+ * Choose, which related nodes to fetch as well
1889
+ */
1890
+ include?: Prisma.DesignPageInclude<ExtArgs> | null
1891
+ /**
1892
+ * Filter, which DesignPage to fetch.
1893
+ */
1894
+ where: Prisma.DesignPageWhereUniqueInput
1895
+ }
1896
+
1897
+ /**
1898
+ * DesignPage findUniqueOrThrow
1899
+ */
1900
+ export type DesignPageFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1901
+ /**
1902
+ * Select specific fields to fetch from the DesignPage
1903
+ */
1904
+ select?: Prisma.DesignPageSelect<ExtArgs> | null
1905
+ /**
1906
+ * Omit specific fields from the DesignPage
1907
+ */
1908
+ omit?: Prisma.DesignPageOmit<ExtArgs> | null
1909
+ /**
1910
+ * Choose, which related nodes to fetch as well
1911
+ */
1912
+ include?: Prisma.DesignPageInclude<ExtArgs> | null
1913
+ /**
1914
+ * Filter, which DesignPage to fetch.
1915
+ */
1916
+ where: Prisma.DesignPageWhereUniqueInput
1917
+ }
1918
+
1919
+ /**
1920
+ * DesignPage findFirst
1921
+ */
1922
+ export type DesignPageFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1923
+ /**
1924
+ * Select specific fields to fetch from the DesignPage
1925
+ */
1926
+ select?: Prisma.DesignPageSelect<ExtArgs> | null
1927
+ /**
1928
+ * Omit specific fields from the DesignPage
1929
+ */
1930
+ omit?: Prisma.DesignPageOmit<ExtArgs> | null
1931
+ /**
1932
+ * Choose, which related nodes to fetch as well
1933
+ */
1934
+ include?: Prisma.DesignPageInclude<ExtArgs> | null
1935
+ /**
1936
+ * Filter, which DesignPage to fetch.
1937
+ */
1938
+ where?: Prisma.DesignPageWhereInput
1939
+ /**
1940
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1941
+ *
1942
+ * Determine the order of DesignPages to fetch.
1943
+ */
1944
+ orderBy?: Prisma.DesignPageOrderByWithRelationInput | Prisma.DesignPageOrderByWithRelationInput[]
1945
+ /**
1946
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1947
+ *
1948
+ * Sets the position for searching for DesignPages.
1949
+ */
1950
+ cursor?: Prisma.DesignPageWhereUniqueInput
1951
+ /**
1952
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1953
+ *
1954
+ * Take `±n` DesignPages from the position of the cursor.
1955
+ */
1956
+ take?: number
1957
+ /**
1958
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1959
+ *
1960
+ * Skip the first `n` DesignPages.
1961
+ */
1962
+ skip?: number
1963
+ /**
1964
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1965
+ *
1966
+ * Filter by unique combinations of DesignPages.
1967
+ */
1968
+ distinct?: Prisma.DesignPageScalarFieldEnum | Prisma.DesignPageScalarFieldEnum[]
1969
+ }
1970
+
1971
+ /**
1972
+ * DesignPage findFirstOrThrow
1973
+ */
1974
+ export type DesignPageFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1975
+ /**
1976
+ * Select specific fields to fetch from the DesignPage
1977
+ */
1978
+ select?: Prisma.DesignPageSelect<ExtArgs> | null
1979
+ /**
1980
+ * Omit specific fields from the DesignPage
1981
+ */
1982
+ omit?: Prisma.DesignPageOmit<ExtArgs> | null
1983
+ /**
1984
+ * Choose, which related nodes to fetch as well
1985
+ */
1986
+ include?: Prisma.DesignPageInclude<ExtArgs> | null
1987
+ /**
1988
+ * Filter, which DesignPage to fetch.
1989
+ */
1990
+ where?: Prisma.DesignPageWhereInput
1991
+ /**
1992
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1993
+ *
1994
+ * Determine the order of DesignPages to fetch.
1995
+ */
1996
+ orderBy?: Prisma.DesignPageOrderByWithRelationInput | Prisma.DesignPageOrderByWithRelationInput[]
1997
+ /**
1998
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1999
+ *
2000
+ * Sets the position for searching for DesignPages.
2001
+ */
2002
+ cursor?: Prisma.DesignPageWhereUniqueInput
2003
+ /**
2004
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2005
+ *
2006
+ * Take `±n` DesignPages from the position of the cursor.
2007
+ */
2008
+ take?: number
2009
+ /**
2010
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2011
+ *
2012
+ * Skip the first `n` DesignPages.
2013
+ */
2014
+ skip?: number
2015
+ /**
2016
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2017
+ *
2018
+ * Filter by unique combinations of DesignPages.
2019
+ */
2020
+ distinct?: Prisma.DesignPageScalarFieldEnum | Prisma.DesignPageScalarFieldEnum[]
2021
+ }
2022
+
2023
+ /**
2024
+ * DesignPage findMany
2025
+ */
2026
+ export type DesignPageFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2027
+ /**
2028
+ * Select specific fields to fetch from the DesignPage
2029
+ */
2030
+ select?: Prisma.DesignPageSelect<ExtArgs> | null
2031
+ /**
2032
+ * Omit specific fields from the DesignPage
2033
+ */
2034
+ omit?: Prisma.DesignPageOmit<ExtArgs> | null
2035
+ /**
2036
+ * Choose, which related nodes to fetch as well
2037
+ */
2038
+ include?: Prisma.DesignPageInclude<ExtArgs> | null
2039
+ /**
2040
+ * Filter, which DesignPages to fetch.
2041
+ */
2042
+ where?: Prisma.DesignPageWhereInput
2043
+ /**
2044
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2045
+ *
2046
+ * Determine the order of DesignPages to fetch.
2047
+ */
2048
+ orderBy?: Prisma.DesignPageOrderByWithRelationInput | Prisma.DesignPageOrderByWithRelationInput[]
2049
+ /**
2050
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2051
+ *
2052
+ * Sets the position for listing DesignPages.
2053
+ */
2054
+ cursor?: Prisma.DesignPageWhereUniqueInput
2055
+ /**
2056
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2057
+ *
2058
+ * Take `±n` DesignPages from the position of the cursor.
2059
+ */
2060
+ take?: number
2061
+ /**
2062
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2063
+ *
2064
+ * Skip the first `n` DesignPages.
2065
+ */
2066
+ skip?: number
2067
+ /**
2068
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2069
+ *
2070
+ * Filter by unique combinations of DesignPages.
2071
+ */
2072
+ distinct?: Prisma.DesignPageScalarFieldEnum | Prisma.DesignPageScalarFieldEnum[]
2073
+ }
2074
+
2075
+ /**
2076
+ * DesignPage create
2077
+ */
2078
+ export type DesignPageCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2079
+ /**
2080
+ * Select specific fields to fetch from the DesignPage
2081
+ */
2082
+ select?: Prisma.DesignPageSelect<ExtArgs> | null
2083
+ /**
2084
+ * Omit specific fields from the DesignPage
2085
+ */
2086
+ omit?: Prisma.DesignPageOmit<ExtArgs> | null
2087
+ /**
2088
+ * Choose, which related nodes to fetch as well
2089
+ */
2090
+ include?: Prisma.DesignPageInclude<ExtArgs> | null
2091
+ /**
2092
+ * The data needed to create a DesignPage.
2093
+ */
2094
+ data: Prisma.XOR<Prisma.DesignPageCreateInput, Prisma.DesignPageUncheckedCreateInput>
2095
+ }
2096
+
2097
+ /**
2098
+ * DesignPage createMany
2099
+ */
2100
+ export type DesignPageCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2101
+ /**
2102
+ * The data used to create many DesignPages.
2103
+ */
2104
+ data: Prisma.DesignPageCreateManyInput | Prisma.DesignPageCreateManyInput[]
2105
+ skipDuplicates?: boolean
2106
+ }
2107
+
2108
+ /**
2109
+ * DesignPage createManyAndReturn
2110
+ */
2111
+ export type DesignPageCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2112
+ /**
2113
+ * Select specific fields to fetch from the DesignPage
2114
+ */
2115
+ select?: Prisma.DesignPageSelectCreateManyAndReturn<ExtArgs> | null
2116
+ /**
2117
+ * Omit specific fields from the DesignPage
2118
+ */
2119
+ omit?: Prisma.DesignPageOmit<ExtArgs> | null
2120
+ /**
2121
+ * The data used to create many DesignPages.
2122
+ */
2123
+ data: Prisma.DesignPageCreateManyInput | Prisma.DesignPageCreateManyInput[]
2124
+ skipDuplicates?: boolean
2125
+ /**
2126
+ * Choose, which related nodes to fetch as well
2127
+ */
2128
+ include?: Prisma.DesignPageIncludeCreateManyAndReturn<ExtArgs> | null
2129
+ }
2130
+
2131
+ /**
2132
+ * DesignPage update
2133
+ */
2134
+ export type DesignPageUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2135
+ /**
2136
+ * Select specific fields to fetch from the DesignPage
2137
+ */
2138
+ select?: Prisma.DesignPageSelect<ExtArgs> | null
2139
+ /**
2140
+ * Omit specific fields from the DesignPage
2141
+ */
2142
+ omit?: Prisma.DesignPageOmit<ExtArgs> | null
2143
+ /**
2144
+ * Choose, which related nodes to fetch as well
2145
+ */
2146
+ include?: Prisma.DesignPageInclude<ExtArgs> | null
2147
+ /**
2148
+ * The data needed to update a DesignPage.
2149
+ */
2150
+ data: Prisma.XOR<Prisma.DesignPageUpdateInput, Prisma.DesignPageUncheckedUpdateInput>
2151
+ /**
2152
+ * Choose, which DesignPage to update.
2153
+ */
2154
+ where: Prisma.DesignPageWhereUniqueInput
2155
+ }
2156
+
2157
+ /**
2158
+ * DesignPage updateMany
2159
+ */
2160
+ export type DesignPageUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2161
+ /**
2162
+ * The data used to update DesignPages.
2163
+ */
2164
+ data: Prisma.XOR<Prisma.DesignPageUpdateManyMutationInput, Prisma.DesignPageUncheckedUpdateManyInput>
2165
+ /**
2166
+ * Filter which DesignPages to update
2167
+ */
2168
+ where?: Prisma.DesignPageWhereInput
2169
+ /**
2170
+ * Limit how many DesignPages to update.
2171
+ */
2172
+ limit?: number
2173
+ }
2174
+
2175
+ /**
2176
+ * DesignPage updateManyAndReturn
2177
+ */
2178
+ export type DesignPageUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2179
+ /**
2180
+ * Select specific fields to fetch from the DesignPage
2181
+ */
2182
+ select?: Prisma.DesignPageSelectUpdateManyAndReturn<ExtArgs> | null
2183
+ /**
2184
+ * Omit specific fields from the DesignPage
2185
+ */
2186
+ omit?: Prisma.DesignPageOmit<ExtArgs> | null
2187
+ /**
2188
+ * The data used to update DesignPages.
2189
+ */
2190
+ data: Prisma.XOR<Prisma.DesignPageUpdateManyMutationInput, Prisma.DesignPageUncheckedUpdateManyInput>
2191
+ /**
2192
+ * Filter which DesignPages to update
2193
+ */
2194
+ where?: Prisma.DesignPageWhereInput
2195
+ /**
2196
+ * Limit how many DesignPages to update.
2197
+ */
2198
+ limit?: number
2199
+ /**
2200
+ * Choose, which related nodes to fetch as well
2201
+ */
2202
+ include?: Prisma.DesignPageIncludeUpdateManyAndReturn<ExtArgs> | null
2203
+ }
2204
+
2205
+ /**
2206
+ * DesignPage upsert
2207
+ */
2208
+ export type DesignPageUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2209
+ /**
2210
+ * Select specific fields to fetch from the DesignPage
2211
+ */
2212
+ select?: Prisma.DesignPageSelect<ExtArgs> | null
2213
+ /**
2214
+ * Omit specific fields from the DesignPage
2215
+ */
2216
+ omit?: Prisma.DesignPageOmit<ExtArgs> | null
2217
+ /**
2218
+ * Choose, which related nodes to fetch as well
2219
+ */
2220
+ include?: Prisma.DesignPageInclude<ExtArgs> | null
2221
+ /**
2222
+ * The filter to search for the DesignPage to update in case it exists.
2223
+ */
2224
+ where: Prisma.DesignPageWhereUniqueInput
2225
+ /**
2226
+ * In case the DesignPage found by the `where` argument doesn't exist, create a new DesignPage with this data.
2227
+ */
2228
+ create: Prisma.XOR<Prisma.DesignPageCreateInput, Prisma.DesignPageUncheckedCreateInput>
2229
+ /**
2230
+ * In case the DesignPage was found with the provided `where` argument, update it with this data.
2231
+ */
2232
+ update: Prisma.XOR<Prisma.DesignPageUpdateInput, Prisma.DesignPageUncheckedUpdateInput>
2233
+ }
2234
+
2235
+ /**
2236
+ * DesignPage delete
2237
+ */
2238
+ export type DesignPageDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2239
+ /**
2240
+ * Select specific fields to fetch from the DesignPage
2241
+ */
2242
+ select?: Prisma.DesignPageSelect<ExtArgs> | null
2243
+ /**
2244
+ * Omit specific fields from the DesignPage
2245
+ */
2246
+ omit?: Prisma.DesignPageOmit<ExtArgs> | null
2247
+ /**
2248
+ * Choose, which related nodes to fetch as well
2249
+ */
2250
+ include?: Prisma.DesignPageInclude<ExtArgs> | null
2251
+ /**
2252
+ * Filter which DesignPage to delete.
2253
+ */
2254
+ where: Prisma.DesignPageWhereUniqueInput
2255
+ }
2256
+
2257
+ /**
2258
+ * DesignPage deleteMany
2259
+ */
2260
+ export type DesignPageDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2261
+ /**
2262
+ * Filter which DesignPages to delete
2263
+ */
2264
+ where?: Prisma.DesignPageWhereInput
2265
+ /**
2266
+ * Limit how many DesignPages to delete.
2267
+ */
2268
+ limit?: number
2269
+ }
2270
+
2271
+ /**
2272
+ * DesignPage.parent
2273
+ */
2274
+ export type DesignPage$parentArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2275
+ /**
2276
+ * Select specific fields to fetch from the DesignPage
2277
+ */
2278
+ select?: Prisma.DesignPageSelect<ExtArgs> | null
2279
+ /**
2280
+ * Omit specific fields from the DesignPage
2281
+ */
2282
+ omit?: Prisma.DesignPageOmit<ExtArgs> | null
2283
+ /**
2284
+ * Choose, which related nodes to fetch as well
2285
+ */
2286
+ include?: Prisma.DesignPageInclude<ExtArgs> | null
2287
+ where?: Prisma.DesignPageWhereInput
2288
+ }
2289
+
2290
+ /**
2291
+ * DesignPage.children
2292
+ */
2293
+ export type DesignPage$childrenArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2294
+ /**
2295
+ * Select specific fields to fetch from the DesignPage
2296
+ */
2297
+ select?: Prisma.DesignPageSelect<ExtArgs> | null
2298
+ /**
2299
+ * Omit specific fields from the DesignPage
2300
+ */
2301
+ omit?: Prisma.DesignPageOmit<ExtArgs> | null
2302
+ /**
2303
+ * Choose, which related nodes to fetch as well
2304
+ */
2305
+ include?: Prisma.DesignPageInclude<ExtArgs> | null
2306
+ where?: Prisma.DesignPageWhereInput
2307
+ orderBy?: Prisma.DesignPageOrderByWithRelationInput | Prisma.DesignPageOrderByWithRelationInput[]
2308
+ cursor?: Prisma.DesignPageWhereUniqueInput
2309
+ take?: number
2310
+ skip?: number
2311
+ distinct?: Prisma.DesignPageScalarFieldEnum | Prisma.DesignPageScalarFieldEnum[]
2312
+ }
2313
+
2314
+ /**
2315
+ * DesignPage.componentInstances
2316
+ */
2317
+ export type DesignPage$componentInstancesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2318
+ /**
2319
+ * Select specific fields to fetch from the ComponentInstance
2320
+ */
2321
+ select?: Prisma.ComponentInstanceSelect<ExtArgs> | null
2322
+ /**
2323
+ * Omit specific fields from the ComponentInstance
2324
+ */
2325
+ omit?: Prisma.ComponentInstanceOmit<ExtArgs> | null
2326
+ /**
2327
+ * Choose, which related nodes to fetch as well
2328
+ */
2329
+ include?: Prisma.ComponentInstanceInclude<ExtArgs> | null
2330
+ where?: Prisma.ComponentInstanceWhereInput
2331
+ orderBy?: Prisma.ComponentInstanceOrderByWithRelationInput | Prisma.ComponentInstanceOrderByWithRelationInput[]
2332
+ cursor?: Prisma.ComponentInstanceWhereUniqueInput
2333
+ take?: number
2334
+ skip?: number
2335
+ distinct?: Prisma.ComponentInstanceScalarFieldEnum | Prisma.ComponentInstanceScalarFieldEnum[]
2336
+ }
2337
+
2338
+ /**
2339
+ * DesignPage.blockInstances
2340
+ */
2341
+ export type DesignPage$blockInstancesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2342
+ /**
2343
+ * Select specific fields to fetch from the BlockInstance
2344
+ */
2345
+ select?: Prisma.BlockInstanceSelect<ExtArgs> | null
2346
+ /**
2347
+ * Omit specific fields from the BlockInstance
2348
+ */
2349
+ omit?: Prisma.BlockInstanceOmit<ExtArgs> | null
2350
+ /**
2351
+ * Choose, which related nodes to fetch as well
2352
+ */
2353
+ include?: Prisma.BlockInstanceInclude<ExtArgs> | null
2354
+ where?: Prisma.BlockInstanceWhereInput
2355
+ orderBy?: Prisma.BlockInstanceOrderByWithRelationInput | Prisma.BlockInstanceOrderByWithRelationInput[]
2356
+ cursor?: Prisma.BlockInstanceWhereUniqueInput
2357
+ take?: number
2358
+ skip?: number
2359
+ distinct?: Prisma.BlockInstanceScalarFieldEnum | Prisma.BlockInstanceScalarFieldEnum[]
2360
+ }
2361
+
2362
+ /**
2363
+ * DesignPage.pageVersions
2364
+ */
2365
+ export type DesignPage$pageVersionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2366
+ /**
2367
+ * Select specific fields to fetch from the PageVersion
2368
+ */
2369
+ select?: Prisma.PageVersionSelect<ExtArgs> | null
2370
+ /**
2371
+ * Omit specific fields from the PageVersion
2372
+ */
2373
+ omit?: Prisma.PageVersionOmit<ExtArgs> | null
2374
+ /**
2375
+ * Choose, which related nodes to fetch as well
2376
+ */
2377
+ include?: Prisma.PageVersionInclude<ExtArgs> | null
2378
+ where?: Prisma.PageVersionWhereInput
2379
+ orderBy?: Prisma.PageVersionOrderByWithRelationInput | Prisma.PageVersionOrderByWithRelationInput[]
2380
+ cursor?: Prisma.PageVersionWhereUniqueInput
2381
+ take?: number
2382
+ skip?: number
2383
+ distinct?: Prisma.PageVersionScalarFieldEnum | Prisma.PageVersionScalarFieldEnum[]
2384
+ }
2385
+
2386
+ /**
2387
+ * DesignPage without action
2388
+ */
2389
+ export type DesignPageDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2390
+ /**
2391
+ * Select specific fields to fetch from the DesignPage
2392
+ */
2393
+ select?: Prisma.DesignPageSelect<ExtArgs> | null
2394
+ /**
2395
+ * Omit specific fields from the DesignPage
2396
+ */
2397
+ omit?: Prisma.DesignPageOmit<ExtArgs> | null
2398
+ /**
2399
+ * Choose, which related nodes to fetch as well
2400
+ */
2401
+ include?: Prisma.DesignPageInclude<ExtArgs> | null
2402
+ }