@allbluecn/database 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (190) hide show
  1. package/desktop-init.ts +128 -0
  2. package/generated/browser.ts +494 -0
  3. package/generated/client.ts +518 -0
  4. package/generated/commonInputTypes.ts +1056 -0
  5. package/generated/enums.ts +93 -0
  6. package/generated/internal/class.ts +1144 -0
  7. package/generated/internal/prismaNamespace.ts +9603 -0
  8. package/generated/internal/prismaNamespaceBrowser.ts +1695 -0
  9. package/generated/models/Account.ts +1648 -0
  10. package/generated/models/AgentConversation.ts +1651 -0
  11. package/generated/models/AgentMessage.ts +1409 -0
  12. package/generated/models/AiProvider.ts +1607 -0
  13. package/generated/models/AiProviderConfig.ts +1514 -0
  14. package/generated/models/AiUsageLog.ts +1863 -0
  15. package/generated/models/AnyHubApp.ts +1911 -0
  16. package/generated/models/AnyHubMarketApp.ts +2008 -0
  17. package/generated/models/AnyHubPermission.ts +1422 -0
  18. package/generated/models/AnyHubRecommendation.ts +1870 -0
  19. package/generated/models/AnyHubRecommender.ts +1471 -0
  20. package/generated/models/Artboard.ts +1811 -0
  21. package/generated/models/ArtboardExport.ts +1548 -0
  22. package/generated/models/ArticleFavorite.ts +1352 -0
  23. package/generated/models/AuditLog.ts +1533 -0
  24. package/generated/models/Block.ts +1650 -0
  25. package/generated/models/BlockComponent.ts +1734 -0
  26. package/generated/models/BlockInstance.ts +2043 -0
  27. package/generated/models/BookmarkCategory.ts +1670 -0
  28. package/generated/models/ChatInterrupt.ts +1699 -0
  29. package/generated/models/ChatMessage.ts +1438 -0
  30. package/generated/models/ChatRun.ts +1632 -0
  31. package/generated/models/ChatThread.ts +2133 -0
  32. package/generated/models/Comment.ts +2206 -0
  33. package/generated/models/CommentIgnore.ts +1430 -0
  34. package/generated/models/CommentReaction.ts +1472 -0
  35. package/generated/models/ComplianceExport.ts +1345 -0
  36. package/generated/models/Component.ts +2345 -0
  37. package/generated/models/ComponentInstance.ts +2102 -0
  38. package/generated/models/ComponentTag.ts +1281 -0
  39. package/generated/models/CustomRole.ts +1560 -0
  40. package/generated/models/DesignProject.ts +1643 -0
  41. package/generated/models/DictionaryTerm.ts +1642 -0
  42. package/generated/models/GenerationRun.ts +1543 -0
  43. package/generated/models/IndustryCompliance.ts +1797 -0
  44. package/generated/models/InvitationCode.ts +1417 -0
  45. package/generated/models/InvitationUse.ts +1424 -0
  46. package/generated/models/Invoice.ts +1710 -0
  47. package/generated/models/KnowledgeBase.ts +1671 -0
  48. package/generated/models/KnowledgeDocument.ts +2458 -0
  49. package/generated/models/KnowledgeShareRecord.ts +1352 -0
  50. package/generated/models/Label.ts +1482 -0
  51. package/generated/models/LegalRegulation.ts +1873 -0
  52. package/generated/models/LicenseActivation.ts +1415 -0
  53. package/generated/models/LicenseKey.ts +1884 -0
  54. package/generated/models/LoginLog.ts +1450 -0
  55. package/generated/models/MonitoringErrorReport.ts +1299 -0
  56. package/generated/models/MonitoringHealthSnapshot.ts +1249 -0
  57. package/generated/models/MonitoringMetricsSnapshot.ts +1369 -0
  58. package/generated/models/MonitoringRequestLog.ts +1283 -0
  59. package/generated/models/PRD.ts +2805 -0
  60. package/generated/models/PRDPage.ts +2402 -0
  61. package/generated/models/PRDTag.ts +1430 -0
  62. package/generated/models/PRDVersion.ts +2121 -0
  63. package/generated/models/PageVersion.ts +1523 -0
  64. package/generated/models/PasswordResetToken.ts +1380 -0
  65. package/generated/models/Plan.ts +2069 -0
  66. package/generated/models/Project.ts +2148 -0
  67. package/generated/models/ProjectActivity.ts +1582 -0
  68. package/generated/models/ProjectMember.ts +1512 -0
  69. package/generated/models/ProviderEvent.ts +1227 -0
  70. package/generated/models/Reference.ts +1177 -0
  71. package/generated/models/Review.ts +1912 -0
  72. package/generated/models/ReviewComment.ts +1904 -0
  73. package/generated/models/RoleAssignment.ts +1430 -0
  74. package/generated/models/SequenceCounter.ts +1137 -0
  75. package/generated/models/Share.ts +1681 -0
  76. package/generated/models/ShareVersion.ts +1389 -0
  77. package/generated/models/SsoMapping.ts +1512 -0
  78. package/generated/models/SsoProvider.ts +1639 -0
  79. package/generated/models/Story.ts +5234 -0
  80. package/generated/models/StoryActivity.ts +1664 -0
  81. package/generated/models/StoryAttachment.ts +1467 -0
  82. package/generated/models/StoryComment.ts +1992 -0
  83. package/generated/models/StoryDependency.ts +1517 -0
  84. package/generated/models/StoryDocLink.ts +1430 -0
  85. package/generated/models/StoryFilterView.ts +1587 -0
  86. package/generated/models/StoryLabel.ts +1349 -0
  87. package/generated/models/StoryLink.ts +1415 -0
  88. package/generated/models/StoryPrdLink.ts +1430 -0
  89. package/generated/models/StoryReaction.ts +1472 -0
  90. package/generated/models/Subscription.ts +2147 -0
  91. package/generated/models/SystemSetting.ts +1217 -0
  92. package/generated/models/Tag.ts +1655 -0
  93. package/generated/models/TeamInvitation.ts +1526 -0
  94. package/generated/models/TeamMembership.ts +1436 -0
  95. package/generated/models/Template.ts +1391 -0
  96. package/generated/models/TemplateBlock.ts +1664 -0
  97. package/generated/models/ThirdPartyDependency.ts +1473 -0
  98. package/generated/models/UsageRecord.ts +1505 -0
  99. package/generated/models/User.ts +20998 -0
  100. package/generated/models/UserAgent.ts +1900 -0
  101. package/generated/models/UserSkill.ts +1456 -0
  102. package/generated/models/WebsiteBookmark.ts +2219 -0
  103. package/generated/models/Workspace.ts +2279 -0
  104. package/generated/models.ts +106 -0
  105. package/generated-sqlite/browser.ts +399 -0
  106. package/generated-sqlite/client.ts +423 -0
  107. package/generated-sqlite/commonInputTypes.ts +608 -0
  108. package/generated-sqlite/enums.ts +15 -0
  109. package/generated-sqlite/internal/class.ts +954 -0
  110. package/generated-sqlite/internal/prismaNamespace.ts +7716 -0
  111. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +1415 -0
  112. package/generated-sqlite/models/AgentConversation.ts +1647 -0
  113. package/generated-sqlite/models/AgentMessage.ts +1406 -0
  114. package/generated-sqlite/models/AiProvider.ts +1605 -0
  115. package/generated-sqlite/models/AiProviderConfig.ts +1511 -0
  116. package/generated-sqlite/models/AiUsageLog.ts +1845 -0
  117. package/generated-sqlite/models/AnyHubApp.ts +1908 -0
  118. package/generated-sqlite/models/AnyHubMarketApp.ts +1997 -0
  119. package/generated-sqlite/models/AnyHubPermission.ts +1419 -0
  120. package/generated-sqlite/models/AnyHubRecommendation.ts +1867 -0
  121. package/generated-sqlite/models/AnyHubRecommender.ts +1467 -0
  122. package/generated-sqlite/models/Artboard.ts +1808 -0
  123. package/generated-sqlite/models/ArtboardExport.ts +1545 -0
  124. package/generated-sqlite/models/ArticleFavorite.ts +1349 -0
  125. package/generated-sqlite/models/AuditLog.ts +1287 -0
  126. package/generated-sqlite/models/Block.ts +1648 -0
  127. package/generated-sqlite/models/BlockComponent.ts +1730 -0
  128. package/generated-sqlite/models/BlockInstance.ts +2039 -0
  129. package/generated-sqlite/models/BookmarkCategory.ts +1667 -0
  130. package/generated-sqlite/models/ChatInterrupt.ts +1695 -0
  131. package/generated-sqlite/models/ChatMessage.ts +1435 -0
  132. package/generated-sqlite/models/ChatRun.ts +1629 -0
  133. package/generated-sqlite/models/ChatThread.ts +2129 -0
  134. package/generated-sqlite/models/Comment.ts +2201 -0
  135. package/generated-sqlite/models/CommentIgnore.ts +1426 -0
  136. package/generated-sqlite/models/ComplianceExport.ts +1343 -0
  137. package/generated-sqlite/models/Component.ts +2326 -0
  138. package/generated-sqlite/models/ComponentInstance.ts +2097 -0
  139. package/generated-sqlite/models/ComponentTag.ts +1278 -0
  140. package/generated-sqlite/models/CustomRole.ts +1209 -0
  141. package/generated-sqlite/models/DesignProject.ts +1640 -0
  142. package/generated-sqlite/models/DictionaryTerm.ts +1639 -0
  143. package/generated-sqlite/models/GenerationRun.ts +1540 -0
  144. package/generated-sqlite/models/IndustryCompliance.ts +1794 -0
  145. package/generated-sqlite/models/InvitationCode.ts +1415 -0
  146. package/generated-sqlite/models/InvitationUse.ts +1420 -0
  147. package/generated-sqlite/models/Invoice.ts +1707 -0
  148. package/generated-sqlite/models/KnowledgeBase.ts +1668 -0
  149. package/generated-sqlite/models/KnowledgeDocument.ts +2282 -0
  150. package/generated-sqlite/models/KnowledgeShareRecord.ts +1349 -0
  151. package/generated-sqlite/models/LegalRegulation.ts +1870 -0
  152. package/generated-sqlite/models/LicenseActivation.ts +1203 -0
  153. package/generated-sqlite/models/LicenseKey.ts +1443 -0
  154. package/generated-sqlite/models/LoginLog.ts +1447 -0
  155. package/generated-sqlite/models/PRD.ts +2616 -0
  156. package/generated-sqlite/models/PRDPage.ts +2398 -0
  157. package/generated-sqlite/models/PRDTag.ts +1426 -0
  158. package/generated-sqlite/models/PRDVersion.ts +2117 -0
  159. package/generated-sqlite/models/PageVersion.ts +1528 -0
  160. package/generated-sqlite/models/PasswordResetToken.ts +1377 -0
  161. package/generated-sqlite/models/Plan.ts +2060 -0
  162. package/generated-sqlite/models/Project.ts +1994 -0
  163. package/generated-sqlite/models/ProjectActivity.ts +1578 -0
  164. package/generated-sqlite/models/ProjectMember.ts +1508 -0
  165. package/generated-sqlite/models/ProviderEvent.ts +1225 -0
  166. package/generated-sqlite/models/Reference.ts +1175 -0
  167. package/generated-sqlite/models/Review.ts +1903 -0
  168. package/generated-sqlite/models/ReviewComment.ts +1899 -0
  169. package/generated-sqlite/models/RoleAssignment.ts +1125 -0
  170. package/generated-sqlite/models/Share.ts +1674 -0
  171. package/generated-sqlite/models/ShareVersion.ts +1385 -0
  172. package/generated-sqlite/models/SsoMapping.ts +1181 -0
  173. package/generated-sqlite/models/SsoProvider.ts +1266 -0
  174. package/generated-sqlite/models/Subscription.ts +2137 -0
  175. package/generated-sqlite/models/SystemSetting.ts +1215 -0
  176. package/generated-sqlite/models/Tag.ts +1652 -0
  177. package/generated-sqlite/models/TeamInvitation.ts +1523 -0
  178. package/generated-sqlite/models/TeamMembership.ts +1433 -0
  179. package/generated-sqlite/models/Template.ts +1389 -0
  180. package/generated-sqlite/models/TemplateBlock.ts +1660 -0
  181. package/generated-sqlite/models/ThirdPartyDependency.ts +1471 -0
  182. package/generated-sqlite/models/UsageRecord.ts +1498 -0
  183. package/generated-sqlite/models/User.ts +13558 -0
  184. package/generated-sqlite/models/UserAgent.ts +1897 -0
  185. package/generated-sqlite/models/UserSkill.ts +1453 -0
  186. package/generated-sqlite/models/WebsiteBookmark.ts +2215 -0
  187. package/generated-sqlite/models/Workspace.ts +1824 -0
  188. package/generated-sqlite/models.ts +87 -0
  189. package/package.json +7 -3
  190. package/LICENSE +0 -661
@@ -0,0 +1,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 `PRDPage` model and its related types.
8
+ *
9
+ * 🟢 You can import this file directly.
10
+ */
11
+ import type * as runtime from "@prisma/client/runtime/client"
12
+ import type * as $Enums from "../enums"
13
+ import type * as Prisma from "../internal/prismaNamespace"
14
+
15
+ /**
16
+ * Model PRDPage
17
+ *
18
+ */
19
+ export type PRDPageModel = runtime.Types.Result.DefaultSelection<Prisma.$PRDPagePayload>
20
+
21
+ export type AggregatePRDPage = {
22
+ _count: PRDPageCountAggregateOutputType | null
23
+ _avg: PRDPageAvgAggregateOutputType | null
24
+ _sum: PRDPageSumAggregateOutputType | null
25
+ _min: PRDPageMinAggregateOutputType | null
26
+ _max: PRDPageMaxAggregateOutputType | null
27
+ }
28
+
29
+ export type PRDPageAvgAggregateOutputType = {
30
+ order: number | null
31
+ version: number | null
32
+ }
33
+
34
+ export type PRDPageSumAggregateOutputType = {
35
+ order: number | null
36
+ version: number | null
37
+ }
38
+
39
+ export type PRDPageMinAggregateOutputType = {
40
+ id: string | null
41
+ prdId: 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 PRDPageMaxAggregateOutputType = {
52
+ id: string | null
53
+ prdId: 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 PRDPageCountAggregateOutputType = {
64
+ id: number
65
+ prdId: 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 PRDPageAvgAggregateInputType = {
80
+ order?: true
81
+ version?: true
82
+ }
83
+
84
+ export type PRDPageSumAggregateInputType = {
85
+ order?: true
86
+ version?: true
87
+ }
88
+
89
+ export type PRDPageMinAggregateInputType = {
90
+ id?: true
91
+ prdId?: 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 PRDPageMaxAggregateInputType = {
102
+ id?: true
103
+ prdId?: 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 PRDPageCountAggregateInputType = {
114
+ id?: true
115
+ prdId?: 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 PRDPageAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
129
+ /**
130
+ * Filter which PRDPage to aggregate.
131
+ */
132
+ where?: Prisma.PRDPageWhereInput
133
+ /**
134
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
135
+ *
136
+ * Determine the order of PRDPages to fetch.
137
+ */
138
+ orderBy?: Prisma.PRDPageOrderByWithRelationInput | Prisma.PRDPageOrderByWithRelationInput[]
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.PRDPageWhereUniqueInput
145
+ /**
146
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
147
+ *
148
+ * Take `±n` PRDPages 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` PRDPages.
155
+ */
156
+ skip?: number
157
+ /**
158
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
159
+ *
160
+ * Count returned PRDPages
161
+ **/
162
+ _count?: true | PRDPageCountAggregateInputType
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?: PRDPageAvgAggregateInputType
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?: PRDPageSumAggregateInputType
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?: PRDPageMinAggregateInputType
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?: PRDPageMaxAggregateInputType
187
+ }
188
+
189
+ export type GetPRDPageAggregateType<T extends PRDPageAggregateArgs> = {
190
+ [P in keyof T & keyof AggregatePRDPage]: P extends '_count' | 'count'
191
+ ? T[P] extends true
192
+ ? number
193
+ : Prisma.GetScalarType<T[P], AggregatePRDPage[P]>
194
+ : Prisma.GetScalarType<T[P], AggregatePRDPage[P]>
195
+ }
196
+
197
+
198
+
199
+
200
+ export type PRDPageGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
201
+ where?: Prisma.PRDPageWhereInput
202
+ orderBy?: Prisma.PRDPageOrderByWithAggregationInput | Prisma.PRDPageOrderByWithAggregationInput[]
203
+ by: Prisma.PRDPageScalarFieldEnum[] | Prisma.PRDPageScalarFieldEnum
204
+ having?: Prisma.PRDPageScalarWhereWithAggregatesInput
205
+ take?: number
206
+ skip?: number
207
+ _count?: PRDPageCountAggregateInputType | true
208
+ _avg?: PRDPageAvgAggregateInputType
209
+ _sum?: PRDPageSumAggregateInputType
210
+ _min?: PRDPageMinAggregateInputType
211
+ _max?: PRDPageMaxAggregateInputType
212
+ }
213
+
214
+ export type PRDPageGroupByOutputType = {
215
+ id: string
216
+ prdId: 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: PRDPageCountAggregateOutputType | null
227
+ _avg: PRDPageAvgAggregateOutputType | null
228
+ _sum: PRDPageSumAggregateOutputType | null
229
+ _min: PRDPageMinAggregateOutputType | null
230
+ _max: PRDPageMaxAggregateOutputType | null
231
+ }
232
+
233
+ export type GetPRDPageGroupByPayload<T extends PRDPageGroupByArgs> = Prisma.PrismaPromise<
234
+ Array<
235
+ Prisma.PickEnumerable<PRDPageGroupByOutputType, T['by']> &
236
+ {
237
+ [P in ((keyof T) & (keyof PRDPageGroupByOutputType))]: P extends '_count'
238
+ ? T[P] extends boolean
239
+ ? number
240
+ : Prisma.GetScalarType<T[P], PRDPageGroupByOutputType[P]>
241
+ : Prisma.GetScalarType<T[P], PRDPageGroupByOutputType[P]>
242
+ }
243
+ >
244
+ >
245
+
246
+
247
+
248
+ export type PRDPageWhereInput = {
249
+ AND?: Prisma.PRDPageWhereInput | Prisma.PRDPageWhereInput[]
250
+ OR?: Prisma.PRDPageWhereInput[]
251
+ NOT?: Prisma.PRDPageWhereInput | Prisma.PRDPageWhereInput[]
252
+ id?: Prisma.StringFilter<"PRDPage"> | string
253
+ prdId?: Prisma.StringFilter<"PRDPage"> | string
254
+ parentId?: Prisma.StringNullableFilter<"PRDPage"> | string | null
255
+ name?: Prisma.StringFilter<"PRDPage"> | string
256
+ order?: Prisma.IntFilter<"PRDPage"> | number
257
+ type?: Prisma.StringFilter<"PRDPage"> | string
258
+ canvas?: Prisma.JsonNullableFilter<"PRDPage">
259
+ content?: Prisma.JsonNullableFilter<"PRDPage">
260
+ version?: Prisma.IntFilter<"PRDPage"> | number
261
+ createdAt?: Prisma.DateTimeFilter<"PRDPage"> | Date | string
262
+ updatedAt?: Prisma.DateTimeFilter<"PRDPage"> | Date | string
263
+ prd?: Prisma.XOR<Prisma.PRDScalarRelationFilter, Prisma.PRDWhereInput>
264
+ parent?: Prisma.XOR<Prisma.PRDPageNullableScalarRelationFilter, Prisma.PRDPageWhereInput> | null
265
+ children?: Prisma.PRDPageListRelationFilter
266
+ componentInstances?: Prisma.ComponentInstanceListRelationFilter
267
+ blockInstances?: Prisma.BlockInstanceListRelationFilter
268
+ pageVersions?: Prisma.PageVersionListRelationFilter
269
+ }
270
+
271
+ export type PRDPageOrderByWithRelationInput = {
272
+ id?: Prisma.SortOrder
273
+ prdId?: 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
+ prd?: Prisma.PRDOrderByWithRelationInput
284
+ parent?: Prisma.PRDPageOrderByWithRelationInput
285
+ children?: Prisma.PRDPageOrderByRelationAggregateInput
286
+ componentInstances?: Prisma.ComponentInstanceOrderByRelationAggregateInput
287
+ blockInstances?: Prisma.BlockInstanceOrderByRelationAggregateInput
288
+ pageVersions?: Prisma.PageVersionOrderByRelationAggregateInput
289
+ }
290
+
291
+ export type PRDPageWhereUniqueInput = Prisma.AtLeast<{
292
+ id?: string
293
+ AND?: Prisma.PRDPageWhereInput | Prisma.PRDPageWhereInput[]
294
+ OR?: Prisma.PRDPageWhereInput[]
295
+ NOT?: Prisma.PRDPageWhereInput | Prisma.PRDPageWhereInput[]
296
+ prdId?: Prisma.StringFilter<"PRDPage"> | string
297
+ parentId?: Prisma.StringNullableFilter<"PRDPage"> | string | null
298
+ name?: Prisma.StringFilter<"PRDPage"> | string
299
+ order?: Prisma.IntFilter<"PRDPage"> | number
300
+ type?: Prisma.StringFilter<"PRDPage"> | string
301
+ canvas?: Prisma.JsonNullableFilter<"PRDPage">
302
+ content?: Prisma.JsonNullableFilter<"PRDPage">
303
+ version?: Prisma.IntFilter<"PRDPage"> | number
304
+ createdAt?: Prisma.DateTimeFilter<"PRDPage"> | Date | string
305
+ updatedAt?: Prisma.DateTimeFilter<"PRDPage"> | Date | string
306
+ prd?: Prisma.XOR<Prisma.PRDScalarRelationFilter, Prisma.PRDWhereInput>
307
+ parent?: Prisma.XOR<Prisma.PRDPageNullableScalarRelationFilter, Prisma.PRDPageWhereInput> | null
308
+ children?: Prisma.PRDPageListRelationFilter
309
+ componentInstances?: Prisma.ComponentInstanceListRelationFilter
310
+ blockInstances?: Prisma.BlockInstanceListRelationFilter
311
+ pageVersions?: Prisma.PageVersionListRelationFilter
312
+ }, "id">
313
+
314
+ export type PRDPageOrderByWithAggregationInput = {
315
+ id?: Prisma.SortOrder
316
+ prdId?: 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.PRDPageCountOrderByAggregateInput
327
+ _avg?: Prisma.PRDPageAvgOrderByAggregateInput
328
+ _max?: Prisma.PRDPageMaxOrderByAggregateInput
329
+ _min?: Prisma.PRDPageMinOrderByAggregateInput
330
+ _sum?: Prisma.PRDPageSumOrderByAggregateInput
331
+ }
332
+
333
+ export type PRDPageScalarWhereWithAggregatesInput = {
334
+ AND?: Prisma.PRDPageScalarWhereWithAggregatesInput | Prisma.PRDPageScalarWhereWithAggregatesInput[]
335
+ OR?: Prisma.PRDPageScalarWhereWithAggregatesInput[]
336
+ NOT?: Prisma.PRDPageScalarWhereWithAggregatesInput | Prisma.PRDPageScalarWhereWithAggregatesInput[]
337
+ id?: Prisma.StringWithAggregatesFilter<"PRDPage"> | string
338
+ prdId?: Prisma.StringWithAggregatesFilter<"PRDPage"> | string
339
+ parentId?: Prisma.StringNullableWithAggregatesFilter<"PRDPage"> | string | null
340
+ name?: Prisma.StringWithAggregatesFilter<"PRDPage"> | string
341
+ order?: Prisma.IntWithAggregatesFilter<"PRDPage"> | number
342
+ type?: Prisma.StringWithAggregatesFilter<"PRDPage"> | string
343
+ canvas?: Prisma.JsonNullableWithAggregatesFilter<"PRDPage">
344
+ content?: Prisma.JsonNullableWithAggregatesFilter<"PRDPage">
345
+ version?: Prisma.IntWithAggregatesFilter<"PRDPage"> | number
346
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"PRDPage"> | Date | string
347
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"PRDPage"> | Date | string
348
+ }
349
+
350
+ export type PRDPageCreateInput = {
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
+ prd: Prisma.PRDCreateNestedOneWithoutPagesInput
361
+ parent?: Prisma.PRDPageCreateNestedOneWithoutChildrenInput
362
+ children?: Prisma.PRDPageCreateNestedManyWithoutParentInput
363
+ componentInstances?: Prisma.ComponentInstanceCreateNestedManyWithoutPageInput
364
+ blockInstances?: Prisma.BlockInstanceCreateNestedManyWithoutPageInput
365
+ pageVersions?: Prisma.PageVersionCreateNestedManyWithoutPageInput
366
+ }
367
+
368
+ export type PRDPageUncheckedCreateInput = {
369
+ id?: string
370
+ prdId: 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.PRDPageUncheckedCreateNestedManyWithoutParentInput
381
+ componentInstances?: Prisma.ComponentInstanceUncheckedCreateNestedManyWithoutPageInput
382
+ blockInstances?: Prisma.BlockInstanceUncheckedCreateNestedManyWithoutPageInput
383
+ pageVersions?: Prisma.PageVersionUncheckedCreateNestedManyWithoutPageInput
384
+ }
385
+
386
+ export type PRDPageUpdateInput = {
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
+ prd?: Prisma.PRDUpdateOneRequiredWithoutPagesNestedInput
397
+ parent?: Prisma.PRDPageUpdateOneWithoutChildrenNestedInput
398
+ children?: Prisma.PRDPageUpdateManyWithoutParentNestedInput
399
+ componentInstances?: Prisma.ComponentInstanceUpdateManyWithoutPageNestedInput
400
+ blockInstances?: Prisma.BlockInstanceUpdateManyWithoutPageNestedInput
401
+ pageVersions?: Prisma.PageVersionUpdateManyWithoutPageNestedInput
402
+ }
403
+
404
+ export type PRDPageUncheckedUpdateInput = {
405
+ id?: Prisma.StringFieldUpdateOperationsInput | string
406
+ prdId?: 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.PRDPageUncheckedUpdateManyWithoutParentNestedInput
417
+ componentInstances?: Prisma.ComponentInstanceUncheckedUpdateManyWithoutPageNestedInput
418
+ blockInstances?: Prisma.BlockInstanceUncheckedUpdateManyWithoutPageNestedInput
419
+ pageVersions?: Prisma.PageVersionUncheckedUpdateManyWithoutPageNestedInput
420
+ }
421
+
422
+ export type PRDPageCreateManyInput = {
423
+ id?: string
424
+ prdId: 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 PRDPageUpdateManyMutationInput = {
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 PRDPageUncheckedUpdateManyInput = {
449
+ id?: Prisma.StringFieldUpdateOperationsInput | string
450
+ prdId?: 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 PRDPageListRelationFilter = {
463
+ every?: Prisma.PRDPageWhereInput
464
+ some?: Prisma.PRDPageWhereInput
465
+ none?: Prisma.PRDPageWhereInput
466
+ }
467
+
468
+ export type PRDPageOrderByRelationAggregateInput = {
469
+ _count?: Prisma.SortOrder
470
+ }
471
+
472
+ export type PRDPageNullableScalarRelationFilter = {
473
+ is?: Prisma.PRDPageWhereInput | null
474
+ isNot?: Prisma.PRDPageWhereInput | null
475
+ }
476
+
477
+ export type PRDPageCountOrderByAggregateInput = {
478
+ id?: Prisma.SortOrder
479
+ prdId?: 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 PRDPageAvgOrderByAggregateInput = {
492
+ order?: Prisma.SortOrder
493
+ version?: Prisma.SortOrder
494
+ }
495
+
496
+ export type PRDPageMaxOrderByAggregateInput = {
497
+ id?: Prisma.SortOrder
498
+ prdId?: 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 PRDPageMinOrderByAggregateInput = {
509
+ id?: Prisma.SortOrder
510
+ prdId?: 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 PRDPageSumOrderByAggregateInput = {
521
+ order?: Prisma.SortOrder
522
+ version?: Prisma.SortOrder
523
+ }
524
+
525
+ export type PRDPageScalarRelationFilter = {
526
+ is?: Prisma.PRDPageWhereInput
527
+ isNot?: Prisma.PRDPageWhereInput
528
+ }
529
+
530
+ export type PRDPageCreateNestedManyWithoutPrdInput = {
531
+ create?: Prisma.XOR<Prisma.PRDPageCreateWithoutPrdInput, Prisma.PRDPageUncheckedCreateWithoutPrdInput> | Prisma.PRDPageCreateWithoutPrdInput[] | Prisma.PRDPageUncheckedCreateWithoutPrdInput[]
532
+ connectOrCreate?: Prisma.PRDPageCreateOrConnectWithoutPrdInput | Prisma.PRDPageCreateOrConnectWithoutPrdInput[]
533
+ createMany?: Prisma.PRDPageCreateManyPrdInputEnvelope
534
+ connect?: Prisma.PRDPageWhereUniqueInput | Prisma.PRDPageWhereUniqueInput[]
535
+ }
536
+
537
+ export type PRDPageUncheckedCreateNestedManyWithoutPrdInput = {
538
+ create?: Prisma.XOR<Prisma.PRDPageCreateWithoutPrdInput, Prisma.PRDPageUncheckedCreateWithoutPrdInput> | Prisma.PRDPageCreateWithoutPrdInput[] | Prisma.PRDPageUncheckedCreateWithoutPrdInput[]
539
+ connectOrCreate?: Prisma.PRDPageCreateOrConnectWithoutPrdInput | Prisma.PRDPageCreateOrConnectWithoutPrdInput[]
540
+ createMany?: Prisma.PRDPageCreateManyPrdInputEnvelope
541
+ connect?: Prisma.PRDPageWhereUniqueInput | Prisma.PRDPageWhereUniqueInput[]
542
+ }
543
+
544
+ export type PRDPageUpdateManyWithoutPrdNestedInput = {
545
+ create?: Prisma.XOR<Prisma.PRDPageCreateWithoutPrdInput, Prisma.PRDPageUncheckedCreateWithoutPrdInput> | Prisma.PRDPageCreateWithoutPrdInput[] | Prisma.PRDPageUncheckedCreateWithoutPrdInput[]
546
+ connectOrCreate?: Prisma.PRDPageCreateOrConnectWithoutPrdInput | Prisma.PRDPageCreateOrConnectWithoutPrdInput[]
547
+ upsert?: Prisma.PRDPageUpsertWithWhereUniqueWithoutPrdInput | Prisma.PRDPageUpsertWithWhereUniqueWithoutPrdInput[]
548
+ createMany?: Prisma.PRDPageCreateManyPrdInputEnvelope
549
+ set?: Prisma.PRDPageWhereUniqueInput | Prisma.PRDPageWhereUniqueInput[]
550
+ disconnect?: Prisma.PRDPageWhereUniqueInput | Prisma.PRDPageWhereUniqueInput[]
551
+ delete?: Prisma.PRDPageWhereUniqueInput | Prisma.PRDPageWhereUniqueInput[]
552
+ connect?: Prisma.PRDPageWhereUniqueInput | Prisma.PRDPageWhereUniqueInput[]
553
+ update?: Prisma.PRDPageUpdateWithWhereUniqueWithoutPrdInput | Prisma.PRDPageUpdateWithWhereUniqueWithoutPrdInput[]
554
+ updateMany?: Prisma.PRDPageUpdateManyWithWhereWithoutPrdInput | Prisma.PRDPageUpdateManyWithWhereWithoutPrdInput[]
555
+ deleteMany?: Prisma.PRDPageScalarWhereInput | Prisma.PRDPageScalarWhereInput[]
556
+ }
557
+
558
+ export type PRDPageUncheckedUpdateManyWithoutPrdNestedInput = {
559
+ create?: Prisma.XOR<Prisma.PRDPageCreateWithoutPrdInput, Prisma.PRDPageUncheckedCreateWithoutPrdInput> | Prisma.PRDPageCreateWithoutPrdInput[] | Prisma.PRDPageUncheckedCreateWithoutPrdInput[]
560
+ connectOrCreate?: Prisma.PRDPageCreateOrConnectWithoutPrdInput | Prisma.PRDPageCreateOrConnectWithoutPrdInput[]
561
+ upsert?: Prisma.PRDPageUpsertWithWhereUniqueWithoutPrdInput | Prisma.PRDPageUpsertWithWhereUniqueWithoutPrdInput[]
562
+ createMany?: Prisma.PRDPageCreateManyPrdInputEnvelope
563
+ set?: Prisma.PRDPageWhereUniqueInput | Prisma.PRDPageWhereUniqueInput[]
564
+ disconnect?: Prisma.PRDPageWhereUniqueInput | Prisma.PRDPageWhereUniqueInput[]
565
+ delete?: Prisma.PRDPageWhereUniqueInput | Prisma.PRDPageWhereUniqueInput[]
566
+ connect?: Prisma.PRDPageWhereUniqueInput | Prisma.PRDPageWhereUniqueInput[]
567
+ update?: Prisma.PRDPageUpdateWithWhereUniqueWithoutPrdInput | Prisma.PRDPageUpdateWithWhereUniqueWithoutPrdInput[]
568
+ updateMany?: Prisma.PRDPageUpdateManyWithWhereWithoutPrdInput | Prisma.PRDPageUpdateManyWithWhereWithoutPrdInput[]
569
+ deleteMany?: Prisma.PRDPageScalarWhereInput | Prisma.PRDPageScalarWhereInput[]
570
+ }
571
+
572
+ export type PRDPageCreateNestedOneWithoutChildrenInput = {
573
+ create?: Prisma.XOR<Prisma.PRDPageCreateWithoutChildrenInput, Prisma.PRDPageUncheckedCreateWithoutChildrenInput>
574
+ connectOrCreate?: Prisma.PRDPageCreateOrConnectWithoutChildrenInput
575
+ connect?: Prisma.PRDPageWhereUniqueInput
576
+ }
577
+
578
+ export type PRDPageCreateNestedManyWithoutParentInput = {
579
+ create?: Prisma.XOR<Prisma.PRDPageCreateWithoutParentInput, Prisma.PRDPageUncheckedCreateWithoutParentInput> | Prisma.PRDPageCreateWithoutParentInput[] | Prisma.PRDPageUncheckedCreateWithoutParentInput[]
580
+ connectOrCreate?: Prisma.PRDPageCreateOrConnectWithoutParentInput | Prisma.PRDPageCreateOrConnectWithoutParentInput[]
581
+ createMany?: Prisma.PRDPageCreateManyParentInputEnvelope
582
+ connect?: Prisma.PRDPageWhereUniqueInput | Prisma.PRDPageWhereUniqueInput[]
583
+ }
584
+
585
+ export type PRDPageUncheckedCreateNestedManyWithoutParentInput = {
586
+ create?: Prisma.XOR<Prisma.PRDPageCreateWithoutParentInput, Prisma.PRDPageUncheckedCreateWithoutParentInput> | Prisma.PRDPageCreateWithoutParentInput[] | Prisma.PRDPageUncheckedCreateWithoutParentInput[]
587
+ connectOrCreate?: Prisma.PRDPageCreateOrConnectWithoutParentInput | Prisma.PRDPageCreateOrConnectWithoutParentInput[]
588
+ createMany?: Prisma.PRDPageCreateManyParentInputEnvelope
589
+ connect?: Prisma.PRDPageWhereUniqueInput | Prisma.PRDPageWhereUniqueInput[]
590
+ }
591
+
592
+ export type PRDPageUpdateOneWithoutChildrenNestedInput = {
593
+ create?: Prisma.XOR<Prisma.PRDPageCreateWithoutChildrenInput, Prisma.PRDPageUncheckedCreateWithoutChildrenInput>
594
+ connectOrCreate?: Prisma.PRDPageCreateOrConnectWithoutChildrenInput
595
+ upsert?: Prisma.PRDPageUpsertWithoutChildrenInput
596
+ disconnect?: Prisma.PRDPageWhereInput | boolean
597
+ delete?: Prisma.PRDPageWhereInput | boolean
598
+ connect?: Prisma.PRDPageWhereUniqueInput
599
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PRDPageUpdateToOneWithWhereWithoutChildrenInput, Prisma.PRDPageUpdateWithoutChildrenInput>, Prisma.PRDPageUncheckedUpdateWithoutChildrenInput>
600
+ }
601
+
602
+ export type PRDPageUpdateManyWithoutParentNestedInput = {
603
+ create?: Prisma.XOR<Prisma.PRDPageCreateWithoutParentInput, Prisma.PRDPageUncheckedCreateWithoutParentInput> | Prisma.PRDPageCreateWithoutParentInput[] | Prisma.PRDPageUncheckedCreateWithoutParentInput[]
604
+ connectOrCreate?: Prisma.PRDPageCreateOrConnectWithoutParentInput | Prisma.PRDPageCreateOrConnectWithoutParentInput[]
605
+ upsert?: Prisma.PRDPageUpsertWithWhereUniqueWithoutParentInput | Prisma.PRDPageUpsertWithWhereUniqueWithoutParentInput[]
606
+ createMany?: Prisma.PRDPageCreateManyParentInputEnvelope
607
+ set?: Prisma.PRDPageWhereUniqueInput | Prisma.PRDPageWhereUniqueInput[]
608
+ disconnect?: Prisma.PRDPageWhereUniqueInput | Prisma.PRDPageWhereUniqueInput[]
609
+ delete?: Prisma.PRDPageWhereUniqueInput | Prisma.PRDPageWhereUniqueInput[]
610
+ connect?: Prisma.PRDPageWhereUniqueInput | Prisma.PRDPageWhereUniqueInput[]
611
+ update?: Prisma.PRDPageUpdateWithWhereUniqueWithoutParentInput | Prisma.PRDPageUpdateWithWhereUniqueWithoutParentInput[]
612
+ updateMany?: Prisma.PRDPageUpdateManyWithWhereWithoutParentInput | Prisma.PRDPageUpdateManyWithWhereWithoutParentInput[]
613
+ deleteMany?: Prisma.PRDPageScalarWhereInput | Prisma.PRDPageScalarWhereInput[]
614
+ }
615
+
616
+ export type PRDPageUncheckedUpdateManyWithoutParentNestedInput = {
617
+ create?: Prisma.XOR<Prisma.PRDPageCreateWithoutParentInput, Prisma.PRDPageUncheckedCreateWithoutParentInput> | Prisma.PRDPageCreateWithoutParentInput[] | Prisma.PRDPageUncheckedCreateWithoutParentInput[]
618
+ connectOrCreate?: Prisma.PRDPageCreateOrConnectWithoutParentInput | Prisma.PRDPageCreateOrConnectWithoutParentInput[]
619
+ upsert?: Prisma.PRDPageUpsertWithWhereUniqueWithoutParentInput | Prisma.PRDPageUpsertWithWhereUniqueWithoutParentInput[]
620
+ createMany?: Prisma.PRDPageCreateManyParentInputEnvelope
621
+ set?: Prisma.PRDPageWhereUniqueInput | Prisma.PRDPageWhereUniqueInput[]
622
+ disconnect?: Prisma.PRDPageWhereUniqueInput | Prisma.PRDPageWhereUniqueInput[]
623
+ delete?: Prisma.PRDPageWhereUniqueInput | Prisma.PRDPageWhereUniqueInput[]
624
+ connect?: Prisma.PRDPageWhereUniqueInput | Prisma.PRDPageWhereUniqueInput[]
625
+ update?: Prisma.PRDPageUpdateWithWhereUniqueWithoutParentInput | Prisma.PRDPageUpdateWithWhereUniqueWithoutParentInput[]
626
+ updateMany?: Prisma.PRDPageUpdateManyWithWhereWithoutParentInput | Prisma.PRDPageUpdateManyWithWhereWithoutParentInput[]
627
+ deleteMany?: Prisma.PRDPageScalarWhereInput | Prisma.PRDPageScalarWhereInput[]
628
+ }
629
+
630
+ export type PRDPageCreateNestedOneWithoutComponentInstancesInput = {
631
+ create?: Prisma.XOR<Prisma.PRDPageCreateWithoutComponentInstancesInput, Prisma.PRDPageUncheckedCreateWithoutComponentInstancesInput>
632
+ connectOrCreate?: Prisma.PRDPageCreateOrConnectWithoutComponentInstancesInput
633
+ connect?: Prisma.PRDPageWhereUniqueInput
634
+ }
635
+
636
+ export type PRDPageUpdateOneRequiredWithoutComponentInstancesNestedInput = {
637
+ create?: Prisma.XOR<Prisma.PRDPageCreateWithoutComponentInstancesInput, Prisma.PRDPageUncheckedCreateWithoutComponentInstancesInput>
638
+ connectOrCreate?: Prisma.PRDPageCreateOrConnectWithoutComponentInstancesInput
639
+ upsert?: Prisma.PRDPageUpsertWithoutComponentInstancesInput
640
+ connect?: Prisma.PRDPageWhereUniqueInput
641
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PRDPageUpdateToOneWithWhereWithoutComponentInstancesInput, Prisma.PRDPageUpdateWithoutComponentInstancesInput>, Prisma.PRDPageUncheckedUpdateWithoutComponentInstancesInput>
642
+ }
643
+
644
+ export type PRDPageCreateNestedOneWithoutBlockInstancesInput = {
645
+ create?: Prisma.XOR<Prisma.PRDPageCreateWithoutBlockInstancesInput, Prisma.PRDPageUncheckedCreateWithoutBlockInstancesInput>
646
+ connectOrCreate?: Prisma.PRDPageCreateOrConnectWithoutBlockInstancesInput
647
+ connect?: Prisma.PRDPageWhereUniqueInput
648
+ }
649
+
650
+ export type PRDPageUpdateOneRequiredWithoutBlockInstancesNestedInput = {
651
+ create?: Prisma.XOR<Prisma.PRDPageCreateWithoutBlockInstancesInput, Prisma.PRDPageUncheckedCreateWithoutBlockInstancesInput>
652
+ connectOrCreate?: Prisma.PRDPageCreateOrConnectWithoutBlockInstancesInput
653
+ upsert?: Prisma.PRDPageUpsertWithoutBlockInstancesInput
654
+ connect?: Prisma.PRDPageWhereUniqueInput
655
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PRDPageUpdateToOneWithWhereWithoutBlockInstancesInput, Prisma.PRDPageUpdateWithoutBlockInstancesInput>, Prisma.PRDPageUncheckedUpdateWithoutBlockInstancesInput>
656
+ }
657
+
658
+ export type PRDPageCreateNestedOneWithoutPageVersionsInput = {
659
+ create?: Prisma.XOR<Prisma.PRDPageCreateWithoutPageVersionsInput, Prisma.PRDPageUncheckedCreateWithoutPageVersionsInput>
660
+ connectOrCreate?: Prisma.PRDPageCreateOrConnectWithoutPageVersionsInput
661
+ connect?: Prisma.PRDPageWhereUniqueInput
662
+ }
663
+
664
+ export type PRDPageUpdateOneRequiredWithoutPageVersionsNestedInput = {
665
+ create?: Prisma.XOR<Prisma.PRDPageCreateWithoutPageVersionsInput, Prisma.PRDPageUncheckedCreateWithoutPageVersionsInput>
666
+ connectOrCreate?: Prisma.PRDPageCreateOrConnectWithoutPageVersionsInput
667
+ upsert?: Prisma.PRDPageUpsertWithoutPageVersionsInput
668
+ connect?: Prisma.PRDPageWhereUniqueInput
669
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PRDPageUpdateToOneWithWhereWithoutPageVersionsInput, Prisma.PRDPageUpdateWithoutPageVersionsInput>, Prisma.PRDPageUncheckedUpdateWithoutPageVersionsInput>
670
+ }
671
+
672
+ export type PRDPageCreateWithoutPrdInput = {
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.PRDPageCreateNestedOneWithoutChildrenInput
683
+ children?: Prisma.PRDPageCreateNestedManyWithoutParentInput
684
+ componentInstances?: Prisma.ComponentInstanceCreateNestedManyWithoutPageInput
685
+ blockInstances?: Prisma.BlockInstanceCreateNestedManyWithoutPageInput
686
+ pageVersions?: Prisma.PageVersionCreateNestedManyWithoutPageInput
687
+ }
688
+
689
+ export type PRDPageUncheckedCreateWithoutPrdInput = {
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.PRDPageUncheckedCreateNestedManyWithoutParentInput
701
+ componentInstances?: Prisma.ComponentInstanceUncheckedCreateNestedManyWithoutPageInput
702
+ blockInstances?: Prisma.BlockInstanceUncheckedCreateNestedManyWithoutPageInput
703
+ pageVersions?: Prisma.PageVersionUncheckedCreateNestedManyWithoutPageInput
704
+ }
705
+
706
+ export type PRDPageCreateOrConnectWithoutPrdInput = {
707
+ where: Prisma.PRDPageWhereUniqueInput
708
+ create: Prisma.XOR<Prisma.PRDPageCreateWithoutPrdInput, Prisma.PRDPageUncheckedCreateWithoutPrdInput>
709
+ }
710
+
711
+ export type PRDPageCreateManyPrdInputEnvelope = {
712
+ data: Prisma.PRDPageCreateManyPrdInput | Prisma.PRDPageCreateManyPrdInput[]
713
+ skipDuplicates?: boolean
714
+ }
715
+
716
+ export type PRDPageUpsertWithWhereUniqueWithoutPrdInput = {
717
+ where: Prisma.PRDPageWhereUniqueInput
718
+ update: Prisma.XOR<Prisma.PRDPageUpdateWithoutPrdInput, Prisma.PRDPageUncheckedUpdateWithoutPrdInput>
719
+ create: Prisma.XOR<Prisma.PRDPageCreateWithoutPrdInput, Prisma.PRDPageUncheckedCreateWithoutPrdInput>
720
+ }
721
+
722
+ export type PRDPageUpdateWithWhereUniqueWithoutPrdInput = {
723
+ where: Prisma.PRDPageWhereUniqueInput
724
+ data: Prisma.XOR<Prisma.PRDPageUpdateWithoutPrdInput, Prisma.PRDPageUncheckedUpdateWithoutPrdInput>
725
+ }
726
+
727
+ export type PRDPageUpdateManyWithWhereWithoutPrdInput = {
728
+ where: Prisma.PRDPageScalarWhereInput
729
+ data: Prisma.XOR<Prisma.PRDPageUpdateManyMutationInput, Prisma.PRDPageUncheckedUpdateManyWithoutPrdInput>
730
+ }
731
+
732
+ export type PRDPageScalarWhereInput = {
733
+ AND?: Prisma.PRDPageScalarWhereInput | Prisma.PRDPageScalarWhereInput[]
734
+ OR?: Prisma.PRDPageScalarWhereInput[]
735
+ NOT?: Prisma.PRDPageScalarWhereInput | Prisma.PRDPageScalarWhereInput[]
736
+ id?: Prisma.StringFilter<"PRDPage"> | string
737
+ prdId?: Prisma.StringFilter<"PRDPage"> | string
738
+ parentId?: Prisma.StringNullableFilter<"PRDPage"> | string | null
739
+ name?: Prisma.StringFilter<"PRDPage"> | string
740
+ order?: Prisma.IntFilter<"PRDPage"> | number
741
+ type?: Prisma.StringFilter<"PRDPage"> | string
742
+ canvas?: Prisma.JsonNullableFilter<"PRDPage">
743
+ content?: Prisma.JsonNullableFilter<"PRDPage">
744
+ version?: Prisma.IntFilter<"PRDPage"> | number
745
+ createdAt?: Prisma.DateTimeFilter<"PRDPage"> | Date | string
746
+ updatedAt?: Prisma.DateTimeFilter<"PRDPage"> | Date | string
747
+ }
748
+
749
+ export type PRDPageCreateWithoutChildrenInput = {
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
+ prd: Prisma.PRDCreateNestedOneWithoutPagesInput
760
+ parent?: Prisma.PRDPageCreateNestedOneWithoutChildrenInput
761
+ componentInstances?: Prisma.ComponentInstanceCreateNestedManyWithoutPageInput
762
+ blockInstances?: Prisma.BlockInstanceCreateNestedManyWithoutPageInput
763
+ pageVersions?: Prisma.PageVersionCreateNestedManyWithoutPageInput
764
+ }
765
+
766
+ export type PRDPageUncheckedCreateWithoutChildrenInput = {
767
+ id?: string
768
+ prdId: 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 PRDPageCreateOrConnectWithoutChildrenInput = {
784
+ where: Prisma.PRDPageWhereUniqueInput
785
+ create: Prisma.XOR<Prisma.PRDPageCreateWithoutChildrenInput, Prisma.PRDPageUncheckedCreateWithoutChildrenInput>
786
+ }
787
+
788
+ export type PRDPageCreateWithoutParentInput = {
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
+ prd: Prisma.PRDCreateNestedOneWithoutPagesInput
799
+ children?: Prisma.PRDPageCreateNestedManyWithoutParentInput
800
+ componentInstances?: Prisma.ComponentInstanceCreateNestedManyWithoutPageInput
801
+ blockInstances?: Prisma.BlockInstanceCreateNestedManyWithoutPageInput
802
+ pageVersions?: Prisma.PageVersionCreateNestedManyWithoutPageInput
803
+ }
804
+
805
+ export type PRDPageUncheckedCreateWithoutParentInput = {
806
+ id?: string
807
+ prdId: 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.PRDPageUncheckedCreateNestedManyWithoutParentInput
817
+ componentInstances?: Prisma.ComponentInstanceUncheckedCreateNestedManyWithoutPageInput
818
+ blockInstances?: Prisma.BlockInstanceUncheckedCreateNestedManyWithoutPageInput
819
+ pageVersions?: Prisma.PageVersionUncheckedCreateNestedManyWithoutPageInput
820
+ }
821
+
822
+ export type PRDPageCreateOrConnectWithoutParentInput = {
823
+ where: Prisma.PRDPageWhereUniqueInput
824
+ create: Prisma.XOR<Prisma.PRDPageCreateWithoutParentInput, Prisma.PRDPageUncheckedCreateWithoutParentInput>
825
+ }
826
+
827
+ export type PRDPageCreateManyParentInputEnvelope = {
828
+ data: Prisma.PRDPageCreateManyParentInput | Prisma.PRDPageCreateManyParentInput[]
829
+ skipDuplicates?: boolean
830
+ }
831
+
832
+ export type PRDPageUpsertWithoutChildrenInput = {
833
+ update: Prisma.XOR<Prisma.PRDPageUpdateWithoutChildrenInput, Prisma.PRDPageUncheckedUpdateWithoutChildrenInput>
834
+ create: Prisma.XOR<Prisma.PRDPageCreateWithoutChildrenInput, Prisma.PRDPageUncheckedCreateWithoutChildrenInput>
835
+ where?: Prisma.PRDPageWhereInput
836
+ }
837
+
838
+ export type PRDPageUpdateToOneWithWhereWithoutChildrenInput = {
839
+ where?: Prisma.PRDPageWhereInput
840
+ data: Prisma.XOR<Prisma.PRDPageUpdateWithoutChildrenInput, Prisma.PRDPageUncheckedUpdateWithoutChildrenInput>
841
+ }
842
+
843
+ export type PRDPageUpdateWithoutChildrenInput = {
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
+ prd?: Prisma.PRDUpdateOneRequiredWithoutPagesNestedInput
854
+ parent?: Prisma.PRDPageUpdateOneWithoutChildrenNestedInput
855
+ componentInstances?: Prisma.ComponentInstanceUpdateManyWithoutPageNestedInput
856
+ blockInstances?: Prisma.BlockInstanceUpdateManyWithoutPageNestedInput
857
+ pageVersions?: Prisma.PageVersionUpdateManyWithoutPageNestedInput
858
+ }
859
+
860
+ export type PRDPageUncheckedUpdateWithoutChildrenInput = {
861
+ id?: Prisma.StringFieldUpdateOperationsInput | string
862
+ prdId?: 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 PRDPageUpsertWithWhereUniqueWithoutParentInput = {
878
+ where: Prisma.PRDPageWhereUniqueInput
879
+ update: Prisma.XOR<Prisma.PRDPageUpdateWithoutParentInput, Prisma.PRDPageUncheckedUpdateWithoutParentInput>
880
+ create: Prisma.XOR<Prisma.PRDPageCreateWithoutParentInput, Prisma.PRDPageUncheckedCreateWithoutParentInput>
881
+ }
882
+
883
+ export type PRDPageUpdateWithWhereUniqueWithoutParentInput = {
884
+ where: Prisma.PRDPageWhereUniqueInput
885
+ data: Prisma.XOR<Prisma.PRDPageUpdateWithoutParentInput, Prisma.PRDPageUncheckedUpdateWithoutParentInput>
886
+ }
887
+
888
+ export type PRDPageUpdateManyWithWhereWithoutParentInput = {
889
+ where: Prisma.PRDPageScalarWhereInput
890
+ data: Prisma.XOR<Prisma.PRDPageUpdateManyMutationInput, Prisma.PRDPageUncheckedUpdateManyWithoutParentInput>
891
+ }
892
+
893
+ export type PRDPageCreateWithoutComponentInstancesInput = {
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
+ prd: Prisma.PRDCreateNestedOneWithoutPagesInput
904
+ parent?: Prisma.PRDPageCreateNestedOneWithoutChildrenInput
905
+ children?: Prisma.PRDPageCreateNestedManyWithoutParentInput
906
+ blockInstances?: Prisma.BlockInstanceCreateNestedManyWithoutPageInput
907
+ pageVersions?: Prisma.PageVersionCreateNestedManyWithoutPageInput
908
+ }
909
+
910
+ export type PRDPageUncheckedCreateWithoutComponentInstancesInput = {
911
+ id?: string
912
+ prdId: 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.PRDPageUncheckedCreateNestedManyWithoutParentInput
923
+ blockInstances?: Prisma.BlockInstanceUncheckedCreateNestedManyWithoutPageInput
924
+ pageVersions?: Prisma.PageVersionUncheckedCreateNestedManyWithoutPageInput
925
+ }
926
+
927
+ export type PRDPageCreateOrConnectWithoutComponentInstancesInput = {
928
+ where: Prisma.PRDPageWhereUniqueInput
929
+ create: Prisma.XOR<Prisma.PRDPageCreateWithoutComponentInstancesInput, Prisma.PRDPageUncheckedCreateWithoutComponentInstancesInput>
930
+ }
931
+
932
+ export type PRDPageUpsertWithoutComponentInstancesInput = {
933
+ update: Prisma.XOR<Prisma.PRDPageUpdateWithoutComponentInstancesInput, Prisma.PRDPageUncheckedUpdateWithoutComponentInstancesInput>
934
+ create: Prisma.XOR<Prisma.PRDPageCreateWithoutComponentInstancesInput, Prisma.PRDPageUncheckedCreateWithoutComponentInstancesInput>
935
+ where?: Prisma.PRDPageWhereInput
936
+ }
937
+
938
+ export type PRDPageUpdateToOneWithWhereWithoutComponentInstancesInput = {
939
+ where?: Prisma.PRDPageWhereInput
940
+ data: Prisma.XOR<Prisma.PRDPageUpdateWithoutComponentInstancesInput, Prisma.PRDPageUncheckedUpdateWithoutComponentInstancesInput>
941
+ }
942
+
943
+ export type PRDPageUpdateWithoutComponentInstancesInput = {
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
+ prd?: Prisma.PRDUpdateOneRequiredWithoutPagesNestedInput
954
+ parent?: Prisma.PRDPageUpdateOneWithoutChildrenNestedInput
955
+ children?: Prisma.PRDPageUpdateManyWithoutParentNestedInput
956
+ blockInstances?: Prisma.BlockInstanceUpdateManyWithoutPageNestedInput
957
+ pageVersions?: Prisma.PageVersionUpdateManyWithoutPageNestedInput
958
+ }
959
+
960
+ export type PRDPageUncheckedUpdateWithoutComponentInstancesInput = {
961
+ id?: Prisma.StringFieldUpdateOperationsInput | string
962
+ prdId?: 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.PRDPageUncheckedUpdateManyWithoutParentNestedInput
973
+ blockInstances?: Prisma.BlockInstanceUncheckedUpdateManyWithoutPageNestedInput
974
+ pageVersions?: Prisma.PageVersionUncheckedUpdateManyWithoutPageNestedInput
975
+ }
976
+
977
+ export type PRDPageCreateWithoutBlockInstancesInput = {
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
+ prd: Prisma.PRDCreateNestedOneWithoutPagesInput
988
+ parent?: Prisma.PRDPageCreateNestedOneWithoutChildrenInput
989
+ children?: Prisma.PRDPageCreateNestedManyWithoutParentInput
990
+ componentInstances?: Prisma.ComponentInstanceCreateNestedManyWithoutPageInput
991
+ pageVersions?: Prisma.PageVersionCreateNestedManyWithoutPageInput
992
+ }
993
+
994
+ export type PRDPageUncheckedCreateWithoutBlockInstancesInput = {
995
+ id?: string
996
+ prdId: 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.PRDPageUncheckedCreateNestedManyWithoutParentInput
1007
+ componentInstances?: Prisma.ComponentInstanceUncheckedCreateNestedManyWithoutPageInput
1008
+ pageVersions?: Prisma.PageVersionUncheckedCreateNestedManyWithoutPageInput
1009
+ }
1010
+
1011
+ export type PRDPageCreateOrConnectWithoutBlockInstancesInput = {
1012
+ where: Prisma.PRDPageWhereUniqueInput
1013
+ create: Prisma.XOR<Prisma.PRDPageCreateWithoutBlockInstancesInput, Prisma.PRDPageUncheckedCreateWithoutBlockInstancesInput>
1014
+ }
1015
+
1016
+ export type PRDPageUpsertWithoutBlockInstancesInput = {
1017
+ update: Prisma.XOR<Prisma.PRDPageUpdateWithoutBlockInstancesInput, Prisma.PRDPageUncheckedUpdateWithoutBlockInstancesInput>
1018
+ create: Prisma.XOR<Prisma.PRDPageCreateWithoutBlockInstancesInput, Prisma.PRDPageUncheckedCreateWithoutBlockInstancesInput>
1019
+ where?: Prisma.PRDPageWhereInput
1020
+ }
1021
+
1022
+ export type PRDPageUpdateToOneWithWhereWithoutBlockInstancesInput = {
1023
+ where?: Prisma.PRDPageWhereInput
1024
+ data: Prisma.XOR<Prisma.PRDPageUpdateWithoutBlockInstancesInput, Prisma.PRDPageUncheckedUpdateWithoutBlockInstancesInput>
1025
+ }
1026
+
1027
+ export type PRDPageUpdateWithoutBlockInstancesInput = {
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
+ prd?: Prisma.PRDUpdateOneRequiredWithoutPagesNestedInput
1038
+ parent?: Prisma.PRDPageUpdateOneWithoutChildrenNestedInput
1039
+ children?: Prisma.PRDPageUpdateManyWithoutParentNestedInput
1040
+ componentInstances?: Prisma.ComponentInstanceUpdateManyWithoutPageNestedInput
1041
+ pageVersions?: Prisma.PageVersionUpdateManyWithoutPageNestedInput
1042
+ }
1043
+
1044
+ export type PRDPageUncheckedUpdateWithoutBlockInstancesInput = {
1045
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1046
+ prdId?: 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.PRDPageUncheckedUpdateManyWithoutParentNestedInput
1057
+ componentInstances?: Prisma.ComponentInstanceUncheckedUpdateManyWithoutPageNestedInput
1058
+ pageVersions?: Prisma.PageVersionUncheckedUpdateManyWithoutPageNestedInput
1059
+ }
1060
+
1061
+ export type PRDPageCreateWithoutPageVersionsInput = {
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
+ prd: Prisma.PRDCreateNestedOneWithoutPagesInput
1072
+ parent?: Prisma.PRDPageCreateNestedOneWithoutChildrenInput
1073
+ children?: Prisma.PRDPageCreateNestedManyWithoutParentInput
1074
+ componentInstances?: Prisma.ComponentInstanceCreateNestedManyWithoutPageInput
1075
+ blockInstances?: Prisma.BlockInstanceCreateNestedManyWithoutPageInput
1076
+ }
1077
+
1078
+ export type PRDPageUncheckedCreateWithoutPageVersionsInput = {
1079
+ id?: string
1080
+ prdId: 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.PRDPageUncheckedCreateNestedManyWithoutParentInput
1091
+ componentInstances?: Prisma.ComponentInstanceUncheckedCreateNestedManyWithoutPageInput
1092
+ blockInstances?: Prisma.BlockInstanceUncheckedCreateNestedManyWithoutPageInput
1093
+ }
1094
+
1095
+ export type PRDPageCreateOrConnectWithoutPageVersionsInput = {
1096
+ where: Prisma.PRDPageWhereUniqueInput
1097
+ create: Prisma.XOR<Prisma.PRDPageCreateWithoutPageVersionsInput, Prisma.PRDPageUncheckedCreateWithoutPageVersionsInput>
1098
+ }
1099
+
1100
+ export type PRDPageUpsertWithoutPageVersionsInput = {
1101
+ update: Prisma.XOR<Prisma.PRDPageUpdateWithoutPageVersionsInput, Prisma.PRDPageUncheckedUpdateWithoutPageVersionsInput>
1102
+ create: Prisma.XOR<Prisma.PRDPageCreateWithoutPageVersionsInput, Prisma.PRDPageUncheckedCreateWithoutPageVersionsInput>
1103
+ where?: Prisma.PRDPageWhereInput
1104
+ }
1105
+
1106
+ export type PRDPageUpdateToOneWithWhereWithoutPageVersionsInput = {
1107
+ where?: Prisma.PRDPageWhereInput
1108
+ data: Prisma.XOR<Prisma.PRDPageUpdateWithoutPageVersionsInput, Prisma.PRDPageUncheckedUpdateWithoutPageVersionsInput>
1109
+ }
1110
+
1111
+ export type PRDPageUpdateWithoutPageVersionsInput = {
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
+ prd?: Prisma.PRDUpdateOneRequiredWithoutPagesNestedInput
1122
+ parent?: Prisma.PRDPageUpdateOneWithoutChildrenNestedInput
1123
+ children?: Prisma.PRDPageUpdateManyWithoutParentNestedInput
1124
+ componentInstances?: Prisma.ComponentInstanceUpdateManyWithoutPageNestedInput
1125
+ blockInstances?: Prisma.BlockInstanceUpdateManyWithoutPageNestedInput
1126
+ }
1127
+
1128
+ export type PRDPageUncheckedUpdateWithoutPageVersionsInput = {
1129
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1130
+ prdId?: 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.PRDPageUncheckedUpdateManyWithoutParentNestedInput
1141
+ componentInstances?: Prisma.ComponentInstanceUncheckedUpdateManyWithoutPageNestedInput
1142
+ blockInstances?: Prisma.BlockInstanceUncheckedUpdateManyWithoutPageNestedInput
1143
+ }
1144
+
1145
+ export type PRDPageCreateManyPrdInput = {
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 PRDPageUpdateWithoutPrdInput = {
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.PRDPageUpdateOneWithoutChildrenNestedInput
1169
+ children?: Prisma.PRDPageUpdateManyWithoutParentNestedInput
1170
+ componentInstances?: Prisma.ComponentInstanceUpdateManyWithoutPageNestedInput
1171
+ blockInstances?: Prisma.BlockInstanceUpdateManyWithoutPageNestedInput
1172
+ pageVersions?: Prisma.PageVersionUpdateManyWithoutPageNestedInput
1173
+ }
1174
+
1175
+ export type PRDPageUncheckedUpdateWithoutPrdInput = {
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.PRDPageUncheckedUpdateManyWithoutParentNestedInput
1187
+ componentInstances?: Prisma.ComponentInstanceUncheckedUpdateManyWithoutPageNestedInput
1188
+ blockInstances?: Prisma.BlockInstanceUncheckedUpdateManyWithoutPageNestedInput
1189
+ pageVersions?: Prisma.PageVersionUncheckedUpdateManyWithoutPageNestedInput
1190
+ }
1191
+
1192
+ export type PRDPageUncheckedUpdateManyWithoutPrdInput = {
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 PRDPageCreateManyParentInput = {
1206
+ id?: string
1207
+ prdId: 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 PRDPageUpdateWithoutParentInput = {
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
+ prd?: Prisma.PRDUpdateOneRequiredWithoutPagesNestedInput
1229
+ children?: Prisma.PRDPageUpdateManyWithoutParentNestedInput
1230
+ componentInstances?: Prisma.ComponentInstanceUpdateManyWithoutPageNestedInput
1231
+ blockInstances?: Prisma.BlockInstanceUpdateManyWithoutPageNestedInput
1232
+ pageVersions?: Prisma.PageVersionUpdateManyWithoutPageNestedInput
1233
+ }
1234
+
1235
+ export type PRDPageUncheckedUpdateWithoutParentInput = {
1236
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1237
+ prdId?: 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.PRDPageUncheckedUpdateManyWithoutParentNestedInput
1247
+ componentInstances?: Prisma.ComponentInstanceUncheckedUpdateManyWithoutPageNestedInput
1248
+ blockInstances?: Prisma.BlockInstanceUncheckedUpdateManyWithoutPageNestedInput
1249
+ pageVersions?: Prisma.PageVersionUncheckedUpdateManyWithoutPageNestedInput
1250
+ }
1251
+
1252
+ export type PRDPageUncheckedUpdateManyWithoutParentInput = {
1253
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1254
+ prdId?: 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 PRDPageCountOutputType
1268
+ */
1269
+
1270
+ export type PRDPageCountOutputType = {
1271
+ children: number
1272
+ componentInstances: number
1273
+ blockInstances: number
1274
+ pageVersions: number
1275
+ }
1276
+
1277
+ export type PRDPageCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1278
+ children?: boolean | PRDPageCountOutputTypeCountChildrenArgs
1279
+ componentInstances?: boolean | PRDPageCountOutputTypeCountComponentInstancesArgs
1280
+ blockInstances?: boolean | PRDPageCountOutputTypeCountBlockInstancesArgs
1281
+ pageVersions?: boolean | PRDPageCountOutputTypeCountPageVersionsArgs
1282
+ }
1283
+
1284
+ /**
1285
+ * PRDPageCountOutputType without action
1286
+ */
1287
+ export type PRDPageCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1288
+ /**
1289
+ * Select specific fields to fetch from the PRDPageCountOutputType
1290
+ */
1291
+ select?: Prisma.PRDPageCountOutputTypeSelect<ExtArgs> | null
1292
+ }
1293
+
1294
+ /**
1295
+ * PRDPageCountOutputType without action
1296
+ */
1297
+ export type PRDPageCountOutputTypeCountChildrenArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1298
+ where?: Prisma.PRDPageWhereInput
1299
+ }
1300
+
1301
+ /**
1302
+ * PRDPageCountOutputType without action
1303
+ */
1304
+ export type PRDPageCountOutputTypeCountComponentInstancesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1305
+ where?: Prisma.ComponentInstanceWhereInput
1306
+ }
1307
+
1308
+ /**
1309
+ * PRDPageCountOutputType without action
1310
+ */
1311
+ export type PRDPageCountOutputTypeCountBlockInstancesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1312
+ where?: Prisma.BlockInstanceWhereInput
1313
+ }
1314
+
1315
+ /**
1316
+ * PRDPageCountOutputType without action
1317
+ */
1318
+ export type PRDPageCountOutputTypeCountPageVersionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1319
+ where?: Prisma.PageVersionWhereInput
1320
+ }
1321
+
1322
+
1323
+ export type PRDPageSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1324
+ id?: boolean
1325
+ prdId?: 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
+ prd?: boolean | Prisma.PRDDefaultArgs<ExtArgs>
1336
+ parent?: boolean | Prisma.PRDPage$parentArgs<ExtArgs>
1337
+ children?: boolean | Prisma.PRDPage$childrenArgs<ExtArgs>
1338
+ componentInstances?: boolean | Prisma.PRDPage$componentInstancesArgs<ExtArgs>
1339
+ blockInstances?: boolean | Prisma.PRDPage$blockInstancesArgs<ExtArgs>
1340
+ pageVersions?: boolean | Prisma.PRDPage$pageVersionsArgs<ExtArgs>
1341
+ _count?: boolean | Prisma.PRDPageCountOutputTypeDefaultArgs<ExtArgs>
1342
+ }, ExtArgs["result"]["pRDPage"]>
1343
+
1344
+ export type PRDPageSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1345
+ id?: boolean
1346
+ prdId?: 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
+ prd?: boolean | Prisma.PRDDefaultArgs<ExtArgs>
1357
+ parent?: boolean | Prisma.PRDPage$parentArgs<ExtArgs>
1358
+ }, ExtArgs["result"]["pRDPage"]>
1359
+
1360
+ export type PRDPageSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1361
+ id?: boolean
1362
+ prdId?: 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
+ prd?: boolean | Prisma.PRDDefaultArgs<ExtArgs>
1373
+ parent?: boolean | Prisma.PRDPage$parentArgs<ExtArgs>
1374
+ }, ExtArgs["result"]["pRDPage"]>
1375
+
1376
+ export type PRDPageSelectScalar = {
1377
+ id?: boolean
1378
+ prdId?: 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 PRDPageOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "prdId" | "parentId" | "name" | "order" | "type" | "canvas" | "content" | "version" | "createdAt" | "updatedAt", ExtArgs["result"]["pRDPage"]>
1391
+ export type PRDPageInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1392
+ prd?: boolean | Prisma.PRDDefaultArgs<ExtArgs>
1393
+ parent?: boolean | Prisma.PRDPage$parentArgs<ExtArgs>
1394
+ children?: boolean | Prisma.PRDPage$childrenArgs<ExtArgs>
1395
+ componentInstances?: boolean | Prisma.PRDPage$componentInstancesArgs<ExtArgs>
1396
+ blockInstances?: boolean | Prisma.PRDPage$blockInstancesArgs<ExtArgs>
1397
+ pageVersions?: boolean | Prisma.PRDPage$pageVersionsArgs<ExtArgs>
1398
+ _count?: boolean | Prisma.PRDPageCountOutputTypeDefaultArgs<ExtArgs>
1399
+ }
1400
+ export type PRDPageIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1401
+ prd?: boolean | Prisma.PRDDefaultArgs<ExtArgs>
1402
+ parent?: boolean | Prisma.PRDPage$parentArgs<ExtArgs>
1403
+ }
1404
+ export type PRDPageIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1405
+ prd?: boolean | Prisma.PRDDefaultArgs<ExtArgs>
1406
+ parent?: boolean | Prisma.PRDPage$parentArgs<ExtArgs>
1407
+ }
1408
+
1409
+ export type $PRDPagePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1410
+ name: "PRDPage"
1411
+ objects: {
1412
+ prd: Prisma.$PRDPayload<ExtArgs>
1413
+ parent: Prisma.$PRDPagePayload<ExtArgs> | null
1414
+ children: Prisma.$PRDPagePayload<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
+ prdId: 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"]["pRDPage"]>
1432
+ composites: {}
1433
+ }
1434
+
1435
+ export type PRDPageGetPayload<S extends boolean | null | undefined | PRDPageDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PRDPagePayload, S>
1436
+
1437
+ export type PRDPageCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1438
+ Omit<PRDPageFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1439
+ select?: PRDPageCountAggregateInputType | true
1440
+ }
1441
+
1442
+ export interface PRDPageDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1443
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['PRDPage'], meta: { name: 'PRDPage' } }
1444
+ /**
1445
+ * Find zero or one PRDPage that matches the filter.
1446
+ * @param {PRDPageFindUniqueArgs} args - Arguments to find a PRDPage
1447
+ * @example
1448
+ * // Get one PRDPage
1449
+ * const pRDPage = await prisma.pRDPage.findUnique({
1450
+ * where: {
1451
+ * // ... provide filter here
1452
+ * }
1453
+ * })
1454
+ */
1455
+ findUnique<T extends PRDPageFindUniqueArgs>(args: Prisma.SelectSubset<T, PRDPageFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PRDPageClient<runtime.Types.Result.GetResult<Prisma.$PRDPagePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1456
+
1457
+ /**
1458
+ * Find one PRDPage that matches the filter or throw an error with `error.code='P2025'`
1459
+ * if no matches were found.
1460
+ * @param {PRDPageFindUniqueOrThrowArgs} args - Arguments to find a PRDPage
1461
+ * @example
1462
+ * // Get one PRDPage
1463
+ * const pRDPage = await prisma.pRDPage.findUniqueOrThrow({
1464
+ * where: {
1465
+ * // ... provide filter here
1466
+ * }
1467
+ * })
1468
+ */
1469
+ findUniqueOrThrow<T extends PRDPageFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PRDPageFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PRDPageClient<runtime.Types.Result.GetResult<Prisma.$PRDPagePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1470
+
1471
+ /**
1472
+ * Find the first PRDPage 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 {PRDPageFindFirstArgs} args - Arguments to find a PRDPage
1476
+ * @example
1477
+ * // Get one PRDPage
1478
+ * const pRDPage = await prisma.pRDPage.findFirst({
1479
+ * where: {
1480
+ * // ... provide filter here
1481
+ * }
1482
+ * })
1483
+ */
1484
+ findFirst<T extends PRDPageFindFirstArgs>(args?: Prisma.SelectSubset<T, PRDPageFindFirstArgs<ExtArgs>>): Prisma.Prisma__PRDPageClient<runtime.Types.Result.GetResult<Prisma.$PRDPagePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1485
+
1486
+ /**
1487
+ * Find the first PRDPage 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 {PRDPageFindFirstOrThrowArgs} args - Arguments to find a PRDPage
1492
+ * @example
1493
+ * // Get one PRDPage
1494
+ * const pRDPage = await prisma.pRDPage.findFirstOrThrow({
1495
+ * where: {
1496
+ * // ... provide filter here
1497
+ * }
1498
+ * })
1499
+ */
1500
+ findFirstOrThrow<T extends PRDPageFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PRDPageFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PRDPageClient<runtime.Types.Result.GetResult<Prisma.$PRDPagePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1501
+
1502
+ /**
1503
+ * Find zero or more PRDPages 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 {PRDPageFindManyArgs} args - Arguments to filter and select certain fields only.
1507
+ * @example
1508
+ * // Get all PRDPages
1509
+ * const pRDPages = await prisma.pRDPage.findMany()
1510
+ *
1511
+ * // Get first 10 PRDPages
1512
+ * const pRDPages = await prisma.pRDPage.findMany({ take: 10 })
1513
+ *
1514
+ * // Only select the `id`
1515
+ * const pRDPageWithIdOnly = await prisma.pRDPage.findMany({ select: { id: true } })
1516
+ *
1517
+ */
1518
+ findMany<T extends PRDPageFindManyArgs>(args?: Prisma.SelectSubset<T, PRDPageFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PRDPagePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1519
+
1520
+ /**
1521
+ * Create a PRDPage.
1522
+ * @param {PRDPageCreateArgs} args - Arguments to create a PRDPage.
1523
+ * @example
1524
+ * // Create one PRDPage
1525
+ * const PRDPage = await prisma.pRDPage.create({
1526
+ * data: {
1527
+ * // ... data to create a PRDPage
1528
+ * }
1529
+ * })
1530
+ *
1531
+ */
1532
+ create<T extends PRDPageCreateArgs>(args: Prisma.SelectSubset<T, PRDPageCreateArgs<ExtArgs>>): Prisma.Prisma__PRDPageClient<runtime.Types.Result.GetResult<Prisma.$PRDPagePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1533
+
1534
+ /**
1535
+ * Create many PRDPages.
1536
+ * @param {PRDPageCreateManyArgs} args - Arguments to create many PRDPages.
1537
+ * @example
1538
+ * // Create many PRDPages
1539
+ * const pRDPage = await prisma.pRDPage.createMany({
1540
+ * data: [
1541
+ * // ... provide data here
1542
+ * ]
1543
+ * })
1544
+ *
1545
+ */
1546
+ createMany<T extends PRDPageCreateManyArgs>(args?: Prisma.SelectSubset<T, PRDPageCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1547
+
1548
+ /**
1549
+ * Create many PRDPages and returns the data saved in the database.
1550
+ * @param {PRDPageCreateManyAndReturnArgs} args - Arguments to create many PRDPages.
1551
+ * @example
1552
+ * // Create many PRDPages
1553
+ * const pRDPage = await prisma.pRDPage.createManyAndReturn({
1554
+ * data: [
1555
+ * // ... provide data here
1556
+ * ]
1557
+ * })
1558
+ *
1559
+ * // Create many PRDPages and only return the `id`
1560
+ * const pRDPageWithIdOnly = await prisma.pRDPage.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 PRDPageCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PRDPageCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PRDPagePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1571
+
1572
+ /**
1573
+ * Delete a PRDPage.
1574
+ * @param {PRDPageDeleteArgs} args - Arguments to delete one PRDPage.
1575
+ * @example
1576
+ * // Delete one PRDPage
1577
+ * const PRDPage = await prisma.pRDPage.delete({
1578
+ * where: {
1579
+ * // ... filter to delete one PRDPage
1580
+ * }
1581
+ * })
1582
+ *
1583
+ */
1584
+ delete<T extends PRDPageDeleteArgs>(args: Prisma.SelectSubset<T, PRDPageDeleteArgs<ExtArgs>>): Prisma.Prisma__PRDPageClient<runtime.Types.Result.GetResult<Prisma.$PRDPagePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1585
+
1586
+ /**
1587
+ * Update one PRDPage.
1588
+ * @param {PRDPageUpdateArgs} args - Arguments to update one PRDPage.
1589
+ * @example
1590
+ * // Update one PRDPage
1591
+ * const pRDPage = await prisma.pRDPage.update({
1592
+ * where: {
1593
+ * // ... provide filter here
1594
+ * },
1595
+ * data: {
1596
+ * // ... provide data here
1597
+ * }
1598
+ * })
1599
+ *
1600
+ */
1601
+ update<T extends PRDPageUpdateArgs>(args: Prisma.SelectSubset<T, PRDPageUpdateArgs<ExtArgs>>): Prisma.Prisma__PRDPageClient<runtime.Types.Result.GetResult<Prisma.$PRDPagePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1602
+
1603
+ /**
1604
+ * Delete zero or more PRDPages.
1605
+ * @param {PRDPageDeleteManyArgs} args - Arguments to filter PRDPages to delete.
1606
+ * @example
1607
+ * // Delete a few PRDPages
1608
+ * const { count } = await prisma.pRDPage.deleteMany({
1609
+ * where: {
1610
+ * // ... provide filter here
1611
+ * }
1612
+ * })
1613
+ *
1614
+ */
1615
+ deleteMany<T extends PRDPageDeleteManyArgs>(args?: Prisma.SelectSubset<T, PRDPageDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1616
+
1617
+ /**
1618
+ * Update zero or more PRDPages.
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 {PRDPageUpdateManyArgs} args - Arguments to update one or more rows.
1622
+ * @example
1623
+ * // Update many PRDPages
1624
+ * const pRDPage = await prisma.pRDPage.updateMany({
1625
+ * where: {
1626
+ * // ... provide filter here
1627
+ * },
1628
+ * data: {
1629
+ * // ... provide data here
1630
+ * }
1631
+ * })
1632
+ *
1633
+ */
1634
+ updateMany<T extends PRDPageUpdateManyArgs>(args: Prisma.SelectSubset<T, PRDPageUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1635
+
1636
+ /**
1637
+ * Update zero or more PRDPages and returns the data updated in the database.
1638
+ * @param {PRDPageUpdateManyAndReturnArgs} args - Arguments to update many PRDPages.
1639
+ * @example
1640
+ * // Update many PRDPages
1641
+ * const pRDPage = await prisma.pRDPage.updateManyAndReturn({
1642
+ * where: {
1643
+ * // ... provide filter here
1644
+ * },
1645
+ * data: [
1646
+ * // ... provide data here
1647
+ * ]
1648
+ * })
1649
+ *
1650
+ * // Update zero or more PRDPages and only return the `id`
1651
+ * const pRDPageWithIdOnly = await prisma.pRDPage.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 PRDPageUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PRDPageUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PRDPagePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1665
+
1666
+ /**
1667
+ * Create or update one PRDPage.
1668
+ * @param {PRDPageUpsertArgs} args - Arguments to update or create a PRDPage.
1669
+ * @example
1670
+ * // Update or create a PRDPage
1671
+ * const pRDPage = await prisma.pRDPage.upsert({
1672
+ * create: {
1673
+ * // ... data to create a PRDPage
1674
+ * },
1675
+ * update: {
1676
+ * // ... in case it already exists, update
1677
+ * },
1678
+ * where: {
1679
+ * // ... the filter for the PRDPage we want to update
1680
+ * }
1681
+ * })
1682
+ */
1683
+ upsert<T extends PRDPageUpsertArgs>(args: Prisma.SelectSubset<T, PRDPageUpsertArgs<ExtArgs>>): Prisma.Prisma__PRDPageClient<runtime.Types.Result.GetResult<Prisma.$PRDPagePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1684
+
1685
+
1686
+ /**
1687
+ * Count the number of PRDPages.
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 {PRDPageCountArgs} args - Arguments to filter PRDPages to count.
1691
+ * @example
1692
+ * // Count the number of PRDPages
1693
+ * const count = await prisma.pRDPage.count({
1694
+ * where: {
1695
+ * // ... the filter for the PRDPages we want to count
1696
+ * }
1697
+ * })
1698
+ **/
1699
+ count<T extends PRDPageCountArgs>(
1700
+ args?: Prisma.Subset<T, PRDPageCountArgs>,
1701
+ ): Prisma.PrismaPromise<
1702
+ T extends runtime.Types.Utils.Record<'select', any>
1703
+ ? T['select'] extends true
1704
+ ? number
1705
+ : Prisma.GetScalarType<T['select'], PRDPageCountAggregateOutputType>
1706
+ : number
1707
+ >
1708
+
1709
+ /**
1710
+ * Allows you to perform aggregations operations on a PRDPage.
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 {PRDPageAggregateArgs} 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 PRDPageAggregateArgs>(args: Prisma.Subset<T, PRDPageAggregateArgs>): Prisma.PrismaPromise<GetPRDPageAggregateType<T>>
1734
+
1735
+ /**
1736
+ * Group by PRDPage.
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 {PRDPageGroupByArgs} 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 PRDPageGroupByArgs,
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: PRDPageGroupByArgs['orderBy'] }
1761
+ : { orderBy?: PRDPageGroupByArgs['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, PRDPageGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPRDPageGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1811
+ /**
1812
+ * Fields of the PRDPage model
1813
+ */
1814
+ readonly fields: PRDPageFieldRefs;
1815
+ }
1816
+
1817
+ /**
1818
+ * The delegate class that acts as a "Promise-like" for PRDPage.
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__PRDPageClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1824
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1825
+ prd<T extends Prisma.PRDDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PRDDefaultArgs<ExtArgs>>): Prisma.Prisma__PRDClient<runtime.Types.Result.GetResult<Prisma.$PRDPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
1826
+ parent<T extends Prisma.PRDPage$parentArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PRDPage$parentArgs<ExtArgs>>): Prisma.Prisma__PRDPageClient<runtime.Types.Result.GetResult<Prisma.$PRDPagePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1827
+ children<T extends Prisma.PRDPage$childrenArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PRDPage$childrenArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PRDPagePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1828
+ componentInstances<T extends Prisma.PRDPage$componentInstancesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PRDPage$componentInstancesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ComponentInstancePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1829
+ blockInstances<T extends Prisma.PRDPage$blockInstancesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PRDPage$blockInstancesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BlockInstancePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1830
+ pageVersions<T extends Prisma.PRDPage$pageVersionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PRDPage$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 PRDPage model
1858
+ */
1859
+ export interface PRDPageFieldRefs {
1860
+ readonly id: Prisma.FieldRef<"PRDPage", 'String'>
1861
+ readonly prdId: Prisma.FieldRef<"PRDPage", 'String'>
1862
+ readonly parentId: Prisma.FieldRef<"PRDPage", 'String'>
1863
+ readonly name: Prisma.FieldRef<"PRDPage", 'String'>
1864
+ readonly order: Prisma.FieldRef<"PRDPage", 'Int'>
1865
+ readonly type: Prisma.FieldRef<"PRDPage", 'String'>
1866
+ readonly canvas: Prisma.FieldRef<"PRDPage", 'Json'>
1867
+ readonly content: Prisma.FieldRef<"PRDPage", 'Json'>
1868
+ readonly version: Prisma.FieldRef<"PRDPage", 'Int'>
1869
+ readonly createdAt: Prisma.FieldRef<"PRDPage", 'DateTime'>
1870
+ readonly updatedAt: Prisma.FieldRef<"PRDPage", 'DateTime'>
1871
+ }
1872
+
1873
+
1874
+ // Custom InputTypes
1875
+ /**
1876
+ * PRDPage findUnique
1877
+ */
1878
+ export type PRDPageFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1879
+ /**
1880
+ * Select specific fields to fetch from the PRDPage
1881
+ */
1882
+ select?: Prisma.PRDPageSelect<ExtArgs> | null
1883
+ /**
1884
+ * Omit specific fields from the PRDPage
1885
+ */
1886
+ omit?: Prisma.PRDPageOmit<ExtArgs> | null
1887
+ /**
1888
+ * Choose, which related nodes to fetch as well
1889
+ */
1890
+ include?: Prisma.PRDPageInclude<ExtArgs> | null
1891
+ /**
1892
+ * Filter, which PRDPage to fetch.
1893
+ */
1894
+ where: Prisma.PRDPageWhereUniqueInput
1895
+ }
1896
+
1897
+ /**
1898
+ * PRDPage findUniqueOrThrow
1899
+ */
1900
+ export type PRDPageFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1901
+ /**
1902
+ * Select specific fields to fetch from the PRDPage
1903
+ */
1904
+ select?: Prisma.PRDPageSelect<ExtArgs> | null
1905
+ /**
1906
+ * Omit specific fields from the PRDPage
1907
+ */
1908
+ omit?: Prisma.PRDPageOmit<ExtArgs> | null
1909
+ /**
1910
+ * Choose, which related nodes to fetch as well
1911
+ */
1912
+ include?: Prisma.PRDPageInclude<ExtArgs> | null
1913
+ /**
1914
+ * Filter, which PRDPage to fetch.
1915
+ */
1916
+ where: Prisma.PRDPageWhereUniqueInput
1917
+ }
1918
+
1919
+ /**
1920
+ * PRDPage findFirst
1921
+ */
1922
+ export type PRDPageFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1923
+ /**
1924
+ * Select specific fields to fetch from the PRDPage
1925
+ */
1926
+ select?: Prisma.PRDPageSelect<ExtArgs> | null
1927
+ /**
1928
+ * Omit specific fields from the PRDPage
1929
+ */
1930
+ omit?: Prisma.PRDPageOmit<ExtArgs> | null
1931
+ /**
1932
+ * Choose, which related nodes to fetch as well
1933
+ */
1934
+ include?: Prisma.PRDPageInclude<ExtArgs> | null
1935
+ /**
1936
+ * Filter, which PRDPage to fetch.
1937
+ */
1938
+ where?: Prisma.PRDPageWhereInput
1939
+ /**
1940
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1941
+ *
1942
+ * Determine the order of PRDPages to fetch.
1943
+ */
1944
+ orderBy?: Prisma.PRDPageOrderByWithRelationInput | Prisma.PRDPageOrderByWithRelationInput[]
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 PRDPages.
1949
+ */
1950
+ cursor?: Prisma.PRDPageWhereUniqueInput
1951
+ /**
1952
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1953
+ *
1954
+ * Take `±n` PRDPages 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` PRDPages.
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 PRDPages.
1967
+ */
1968
+ distinct?: Prisma.PRDPageScalarFieldEnum | Prisma.PRDPageScalarFieldEnum[]
1969
+ }
1970
+
1971
+ /**
1972
+ * PRDPage findFirstOrThrow
1973
+ */
1974
+ export type PRDPageFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1975
+ /**
1976
+ * Select specific fields to fetch from the PRDPage
1977
+ */
1978
+ select?: Prisma.PRDPageSelect<ExtArgs> | null
1979
+ /**
1980
+ * Omit specific fields from the PRDPage
1981
+ */
1982
+ omit?: Prisma.PRDPageOmit<ExtArgs> | null
1983
+ /**
1984
+ * Choose, which related nodes to fetch as well
1985
+ */
1986
+ include?: Prisma.PRDPageInclude<ExtArgs> | null
1987
+ /**
1988
+ * Filter, which PRDPage to fetch.
1989
+ */
1990
+ where?: Prisma.PRDPageWhereInput
1991
+ /**
1992
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1993
+ *
1994
+ * Determine the order of PRDPages to fetch.
1995
+ */
1996
+ orderBy?: Prisma.PRDPageOrderByWithRelationInput | Prisma.PRDPageOrderByWithRelationInput[]
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 PRDPages.
2001
+ */
2002
+ cursor?: Prisma.PRDPageWhereUniqueInput
2003
+ /**
2004
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2005
+ *
2006
+ * Take `±n` PRDPages 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` PRDPages.
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 PRDPages.
2019
+ */
2020
+ distinct?: Prisma.PRDPageScalarFieldEnum | Prisma.PRDPageScalarFieldEnum[]
2021
+ }
2022
+
2023
+ /**
2024
+ * PRDPage findMany
2025
+ */
2026
+ export type PRDPageFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2027
+ /**
2028
+ * Select specific fields to fetch from the PRDPage
2029
+ */
2030
+ select?: Prisma.PRDPageSelect<ExtArgs> | null
2031
+ /**
2032
+ * Omit specific fields from the PRDPage
2033
+ */
2034
+ omit?: Prisma.PRDPageOmit<ExtArgs> | null
2035
+ /**
2036
+ * Choose, which related nodes to fetch as well
2037
+ */
2038
+ include?: Prisma.PRDPageInclude<ExtArgs> | null
2039
+ /**
2040
+ * Filter, which PRDPages to fetch.
2041
+ */
2042
+ where?: Prisma.PRDPageWhereInput
2043
+ /**
2044
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2045
+ *
2046
+ * Determine the order of PRDPages to fetch.
2047
+ */
2048
+ orderBy?: Prisma.PRDPageOrderByWithRelationInput | Prisma.PRDPageOrderByWithRelationInput[]
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 PRDPages.
2053
+ */
2054
+ cursor?: Prisma.PRDPageWhereUniqueInput
2055
+ /**
2056
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2057
+ *
2058
+ * Take `±n` PRDPages 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` PRDPages.
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 PRDPages.
2071
+ */
2072
+ distinct?: Prisma.PRDPageScalarFieldEnum | Prisma.PRDPageScalarFieldEnum[]
2073
+ }
2074
+
2075
+ /**
2076
+ * PRDPage create
2077
+ */
2078
+ export type PRDPageCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2079
+ /**
2080
+ * Select specific fields to fetch from the PRDPage
2081
+ */
2082
+ select?: Prisma.PRDPageSelect<ExtArgs> | null
2083
+ /**
2084
+ * Omit specific fields from the PRDPage
2085
+ */
2086
+ omit?: Prisma.PRDPageOmit<ExtArgs> | null
2087
+ /**
2088
+ * Choose, which related nodes to fetch as well
2089
+ */
2090
+ include?: Prisma.PRDPageInclude<ExtArgs> | null
2091
+ /**
2092
+ * The data needed to create a PRDPage.
2093
+ */
2094
+ data: Prisma.XOR<Prisma.PRDPageCreateInput, Prisma.PRDPageUncheckedCreateInput>
2095
+ }
2096
+
2097
+ /**
2098
+ * PRDPage createMany
2099
+ */
2100
+ export type PRDPageCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2101
+ /**
2102
+ * The data used to create many PRDPages.
2103
+ */
2104
+ data: Prisma.PRDPageCreateManyInput | Prisma.PRDPageCreateManyInput[]
2105
+ skipDuplicates?: boolean
2106
+ }
2107
+
2108
+ /**
2109
+ * PRDPage createManyAndReturn
2110
+ */
2111
+ export type PRDPageCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2112
+ /**
2113
+ * Select specific fields to fetch from the PRDPage
2114
+ */
2115
+ select?: Prisma.PRDPageSelectCreateManyAndReturn<ExtArgs> | null
2116
+ /**
2117
+ * Omit specific fields from the PRDPage
2118
+ */
2119
+ omit?: Prisma.PRDPageOmit<ExtArgs> | null
2120
+ /**
2121
+ * The data used to create many PRDPages.
2122
+ */
2123
+ data: Prisma.PRDPageCreateManyInput | Prisma.PRDPageCreateManyInput[]
2124
+ skipDuplicates?: boolean
2125
+ /**
2126
+ * Choose, which related nodes to fetch as well
2127
+ */
2128
+ include?: Prisma.PRDPageIncludeCreateManyAndReturn<ExtArgs> | null
2129
+ }
2130
+
2131
+ /**
2132
+ * PRDPage update
2133
+ */
2134
+ export type PRDPageUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2135
+ /**
2136
+ * Select specific fields to fetch from the PRDPage
2137
+ */
2138
+ select?: Prisma.PRDPageSelect<ExtArgs> | null
2139
+ /**
2140
+ * Omit specific fields from the PRDPage
2141
+ */
2142
+ omit?: Prisma.PRDPageOmit<ExtArgs> | null
2143
+ /**
2144
+ * Choose, which related nodes to fetch as well
2145
+ */
2146
+ include?: Prisma.PRDPageInclude<ExtArgs> | null
2147
+ /**
2148
+ * The data needed to update a PRDPage.
2149
+ */
2150
+ data: Prisma.XOR<Prisma.PRDPageUpdateInput, Prisma.PRDPageUncheckedUpdateInput>
2151
+ /**
2152
+ * Choose, which PRDPage to update.
2153
+ */
2154
+ where: Prisma.PRDPageWhereUniqueInput
2155
+ }
2156
+
2157
+ /**
2158
+ * PRDPage updateMany
2159
+ */
2160
+ export type PRDPageUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2161
+ /**
2162
+ * The data used to update PRDPages.
2163
+ */
2164
+ data: Prisma.XOR<Prisma.PRDPageUpdateManyMutationInput, Prisma.PRDPageUncheckedUpdateManyInput>
2165
+ /**
2166
+ * Filter which PRDPages to update
2167
+ */
2168
+ where?: Prisma.PRDPageWhereInput
2169
+ /**
2170
+ * Limit how many PRDPages to update.
2171
+ */
2172
+ limit?: number
2173
+ }
2174
+
2175
+ /**
2176
+ * PRDPage updateManyAndReturn
2177
+ */
2178
+ export type PRDPageUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2179
+ /**
2180
+ * Select specific fields to fetch from the PRDPage
2181
+ */
2182
+ select?: Prisma.PRDPageSelectUpdateManyAndReturn<ExtArgs> | null
2183
+ /**
2184
+ * Omit specific fields from the PRDPage
2185
+ */
2186
+ omit?: Prisma.PRDPageOmit<ExtArgs> | null
2187
+ /**
2188
+ * The data used to update PRDPages.
2189
+ */
2190
+ data: Prisma.XOR<Prisma.PRDPageUpdateManyMutationInput, Prisma.PRDPageUncheckedUpdateManyInput>
2191
+ /**
2192
+ * Filter which PRDPages to update
2193
+ */
2194
+ where?: Prisma.PRDPageWhereInput
2195
+ /**
2196
+ * Limit how many PRDPages to update.
2197
+ */
2198
+ limit?: number
2199
+ /**
2200
+ * Choose, which related nodes to fetch as well
2201
+ */
2202
+ include?: Prisma.PRDPageIncludeUpdateManyAndReturn<ExtArgs> | null
2203
+ }
2204
+
2205
+ /**
2206
+ * PRDPage upsert
2207
+ */
2208
+ export type PRDPageUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2209
+ /**
2210
+ * Select specific fields to fetch from the PRDPage
2211
+ */
2212
+ select?: Prisma.PRDPageSelect<ExtArgs> | null
2213
+ /**
2214
+ * Omit specific fields from the PRDPage
2215
+ */
2216
+ omit?: Prisma.PRDPageOmit<ExtArgs> | null
2217
+ /**
2218
+ * Choose, which related nodes to fetch as well
2219
+ */
2220
+ include?: Prisma.PRDPageInclude<ExtArgs> | null
2221
+ /**
2222
+ * The filter to search for the PRDPage to update in case it exists.
2223
+ */
2224
+ where: Prisma.PRDPageWhereUniqueInput
2225
+ /**
2226
+ * In case the PRDPage found by the `where` argument doesn't exist, create a new PRDPage with this data.
2227
+ */
2228
+ create: Prisma.XOR<Prisma.PRDPageCreateInput, Prisma.PRDPageUncheckedCreateInput>
2229
+ /**
2230
+ * In case the PRDPage was found with the provided `where` argument, update it with this data.
2231
+ */
2232
+ update: Prisma.XOR<Prisma.PRDPageUpdateInput, Prisma.PRDPageUncheckedUpdateInput>
2233
+ }
2234
+
2235
+ /**
2236
+ * PRDPage delete
2237
+ */
2238
+ export type PRDPageDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2239
+ /**
2240
+ * Select specific fields to fetch from the PRDPage
2241
+ */
2242
+ select?: Prisma.PRDPageSelect<ExtArgs> | null
2243
+ /**
2244
+ * Omit specific fields from the PRDPage
2245
+ */
2246
+ omit?: Prisma.PRDPageOmit<ExtArgs> | null
2247
+ /**
2248
+ * Choose, which related nodes to fetch as well
2249
+ */
2250
+ include?: Prisma.PRDPageInclude<ExtArgs> | null
2251
+ /**
2252
+ * Filter which PRDPage to delete.
2253
+ */
2254
+ where: Prisma.PRDPageWhereUniqueInput
2255
+ }
2256
+
2257
+ /**
2258
+ * PRDPage deleteMany
2259
+ */
2260
+ export type PRDPageDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2261
+ /**
2262
+ * Filter which PRDPages to delete
2263
+ */
2264
+ where?: Prisma.PRDPageWhereInput
2265
+ /**
2266
+ * Limit how many PRDPages to delete.
2267
+ */
2268
+ limit?: number
2269
+ }
2270
+
2271
+ /**
2272
+ * PRDPage.parent
2273
+ */
2274
+ export type PRDPage$parentArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2275
+ /**
2276
+ * Select specific fields to fetch from the PRDPage
2277
+ */
2278
+ select?: Prisma.PRDPageSelect<ExtArgs> | null
2279
+ /**
2280
+ * Omit specific fields from the PRDPage
2281
+ */
2282
+ omit?: Prisma.PRDPageOmit<ExtArgs> | null
2283
+ /**
2284
+ * Choose, which related nodes to fetch as well
2285
+ */
2286
+ include?: Prisma.PRDPageInclude<ExtArgs> | null
2287
+ where?: Prisma.PRDPageWhereInput
2288
+ }
2289
+
2290
+ /**
2291
+ * PRDPage.children
2292
+ */
2293
+ export type PRDPage$childrenArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2294
+ /**
2295
+ * Select specific fields to fetch from the PRDPage
2296
+ */
2297
+ select?: Prisma.PRDPageSelect<ExtArgs> | null
2298
+ /**
2299
+ * Omit specific fields from the PRDPage
2300
+ */
2301
+ omit?: Prisma.PRDPageOmit<ExtArgs> | null
2302
+ /**
2303
+ * Choose, which related nodes to fetch as well
2304
+ */
2305
+ include?: Prisma.PRDPageInclude<ExtArgs> | null
2306
+ where?: Prisma.PRDPageWhereInput
2307
+ orderBy?: Prisma.PRDPageOrderByWithRelationInput | Prisma.PRDPageOrderByWithRelationInput[]
2308
+ cursor?: Prisma.PRDPageWhereUniqueInput
2309
+ take?: number
2310
+ skip?: number
2311
+ distinct?: Prisma.PRDPageScalarFieldEnum | Prisma.PRDPageScalarFieldEnum[]
2312
+ }
2313
+
2314
+ /**
2315
+ * PRDPage.componentInstances
2316
+ */
2317
+ export type PRDPage$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
+ * PRDPage.blockInstances
2340
+ */
2341
+ export type PRDPage$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
+ * PRDPage.pageVersions
2364
+ */
2365
+ export type PRDPage$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
+ * PRDPage without action
2388
+ */
2389
+ export type PRDPageDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2390
+ /**
2391
+ * Select specific fields to fetch from the PRDPage
2392
+ */
2393
+ select?: Prisma.PRDPageSelect<ExtArgs> | null
2394
+ /**
2395
+ * Omit specific fields from the PRDPage
2396
+ */
2397
+ omit?: Prisma.PRDPageOmit<ExtArgs> | null
2398
+ /**
2399
+ * Choose, which related nodes to fetch as well
2400
+ */
2401
+ include?: Prisma.PRDPageInclude<ExtArgs> | null
2402
+ }