@allbluecn/database 0.4.0 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (190) hide show
  1. package/desktop-init.ts +128 -0
  2. package/generated/browser.ts +494 -0
  3. package/generated/client.ts +518 -0
  4. package/generated/commonInputTypes.ts +1056 -0
  5. package/generated/enums.ts +93 -0
  6. package/generated/internal/class.ts +1144 -0
  7. package/generated/internal/prismaNamespace.ts +9603 -0
  8. package/generated/internal/prismaNamespaceBrowser.ts +1695 -0
  9. package/generated/models/Account.ts +1648 -0
  10. package/generated/models/AgentConversation.ts +1651 -0
  11. package/generated/models/AgentMessage.ts +1409 -0
  12. package/generated/models/AiProvider.ts +1607 -0
  13. package/generated/models/AiProviderConfig.ts +1514 -0
  14. package/generated/models/AiUsageLog.ts +1863 -0
  15. package/generated/models/AnyHubApp.ts +1911 -0
  16. package/generated/models/AnyHubMarketApp.ts +2008 -0
  17. package/generated/models/AnyHubPermission.ts +1422 -0
  18. package/generated/models/AnyHubRecommendation.ts +1870 -0
  19. package/generated/models/AnyHubRecommender.ts +1471 -0
  20. package/generated/models/Artboard.ts +1811 -0
  21. package/generated/models/ArtboardExport.ts +1548 -0
  22. package/generated/models/ArticleFavorite.ts +1352 -0
  23. package/generated/models/AuditLog.ts +1533 -0
  24. package/generated/models/Block.ts +1650 -0
  25. package/generated/models/BlockComponent.ts +1734 -0
  26. package/generated/models/BlockInstance.ts +2043 -0
  27. package/generated/models/BookmarkCategory.ts +1670 -0
  28. package/generated/models/ChatInterrupt.ts +1699 -0
  29. package/generated/models/ChatMessage.ts +1438 -0
  30. package/generated/models/ChatRun.ts +1632 -0
  31. package/generated/models/ChatThread.ts +2133 -0
  32. package/generated/models/Comment.ts +2206 -0
  33. package/generated/models/CommentIgnore.ts +1430 -0
  34. package/generated/models/CommentReaction.ts +1472 -0
  35. package/generated/models/ComplianceExport.ts +1345 -0
  36. package/generated/models/Component.ts +2345 -0
  37. package/generated/models/ComponentInstance.ts +2102 -0
  38. package/generated/models/ComponentTag.ts +1281 -0
  39. package/generated/models/CustomRole.ts +1560 -0
  40. package/generated/models/DesignProject.ts +1643 -0
  41. package/generated/models/DictionaryTerm.ts +1642 -0
  42. package/generated/models/GenerationRun.ts +1543 -0
  43. package/generated/models/IndustryCompliance.ts +1797 -0
  44. package/generated/models/InvitationCode.ts +1417 -0
  45. package/generated/models/InvitationUse.ts +1424 -0
  46. package/generated/models/Invoice.ts +1710 -0
  47. package/generated/models/KnowledgeBase.ts +1671 -0
  48. package/generated/models/KnowledgeDocument.ts +2458 -0
  49. package/generated/models/KnowledgeShareRecord.ts +1352 -0
  50. package/generated/models/Label.ts +1482 -0
  51. package/generated/models/LegalRegulation.ts +1873 -0
  52. package/generated/models/LicenseActivation.ts +1415 -0
  53. package/generated/models/LicenseKey.ts +1884 -0
  54. package/generated/models/LoginLog.ts +1450 -0
  55. package/generated/models/MonitoringErrorReport.ts +1299 -0
  56. package/generated/models/MonitoringHealthSnapshot.ts +1249 -0
  57. package/generated/models/MonitoringMetricsSnapshot.ts +1369 -0
  58. package/generated/models/MonitoringRequestLog.ts +1283 -0
  59. package/generated/models/PRD.ts +2805 -0
  60. package/generated/models/PRDPage.ts +2402 -0
  61. package/generated/models/PRDTag.ts +1430 -0
  62. package/generated/models/PRDVersion.ts +2121 -0
  63. package/generated/models/PageVersion.ts +1523 -0
  64. package/generated/models/PasswordResetToken.ts +1380 -0
  65. package/generated/models/Plan.ts +2069 -0
  66. package/generated/models/Project.ts +2148 -0
  67. package/generated/models/ProjectActivity.ts +1582 -0
  68. package/generated/models/ProjectMember.ts +1512 -0
  69. package/generated/models/ProviderEvent.ts +1227 -0
  70. package/generated/models/Reference.ts +1177 -0
  71. package/generated/models/Review.ts +1912 -0
  72. package/generated/models/ReviewComment.ts +1904 -0
  73. package/generated/models/RoleAssignment.ts +1430 -0
  74. package/generated/models/SequenceCounter.ts +1137 -0
  75. package/generated/models/Share.ts +1681 -0
  76. package/generated/models/ShareVersion.ts +1389 -0
  77. package/generated/models/SsoMapping.ts +1512 -0
  78. package/generated/models/SsoProvider.ts +1639 -0
  79. package/generated/models/Story.ts +5234 -0
  80. package/generated/models/StoryActivity.ts +1664 -0
  81. package/generated/models/StoryAttachment.ts +1467 -0
  82. package/generated/models/StoryComment.ts +1992 -0
  83. package/generated/models/StoryDependency.ts +1517 -0
  84. package/generated/models/StoryDocLink.ts +1430 -0
  85. package/generated/models/StoryFilterView.ts +1587 -0
  86. package/generated/models/StoryLabel.ts +1349 -0
  87. package/generated/models/StoryLink.ts +1415 -0
  88. package/generated/models/StoryPrdLink.ts +1430 -0
  89. package/generated/models/StoryReaction.ts +1472 -0
  90. package/generated/models/Subscription.ts +2147 -0
  91. package/generated/models/SystemSetting.ts +1217 -0
  92. package/generated/models/Tag.ts +1655 -0
  93. package/generated/models/TeamInvitation.ts +1526 -0
  94. package/generated/models/TeamMembership.ts +1436 -0
  95. package/generated/models/Template.ts +1391 -0
  96. package/generated/models/TemplateBlock.ts +1664 -0
  97. package/generated/models/ThirdPartyDependency.ts +1473 -0
  98. package/generated/models/UsageRecord.ts +1505 -0
  99. package/generated/models/User.ts +20998 -0
  100. package/generated/models/UserAgent.ts +1900 -0
  101. package/generated/models/UserSkill.ts +1456 -0
  102. package/generated/models/WebsiteBookmark.ts +2219 -0
  103. package/generated/models/Workspace.ts +2279 -0
  104. package/generated/models.ts +106 -0
  105. package/generated-sqlite/browser.ts +399 -0
  106. package/generated-sqlite/client.ts +423 -0
  107. package/generated-sqlite/commonInputTypes.ts +608 -0
  108. package/generated-sqlite/enums.ts +15 -0
  109. package/generated-sqlite/internal/class.ts +954 -0
  110. package/generated-sqlite/internal/prismaNamespace.ts +7716 -0
  111. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +1415 -0
  112. package/generated-sqlite/models/AgentConversation.ts +1647 -0
  113. package/generated-sqlite/models/AgentMessage.ts +1406 -0
  114. package/generated-sqlite/models/AiProvider.ts +1605 -0
  115. package/generated-sqlite/models/AiProviderConfig.ts +1511 -0
  116. package/generated-sqlite/models/AiUsageLog.ts +1845 -0
  117. package/generated-sqlite/models/AnyHubApp.ts +1908 -0
  118. package/generated-sqlite/models/AnyHubMarketApp.ts +1997 -0
  119. package/generated-sqlite/models/AnyHubPermission.ts +1419 -0
  120. package/generated-sqlite/models/AnyHubRecommendation.ts +1867 -0
  121. package/generated-sqlite/models/AnyHubRecommender.ts +1467 -0
  122. package/generated-sqlite/models/Artboard.ts +1808 -0
  123. package/generated-sqlite/models/ArtboardExport.ts +1545 -0
  124. package/generated-sqlite/models/ArticleFavorite.ts +1349 -0
  125. package/generated-sqlite/models/AuditLog.ts +1287 -0
  126. package/generated-sqlite/models/Block.ts +1648 -0
  127. package/generated-sqlite/models/BlockComponent.ts +1730 -0
  128. package/generated-sqlite/models/BlockInstance.ts +2039 -0
  129. package/generated-sqlite/models/BookmarkCategory.ts +1667 -0
  130. package/generated-sqlite/models/ChatInterrupt.ts +1695 -0
  131. package/generated-sqlite/models/ChatMessage.ts +1435 -0
  132. package/generated-sqlite/models/ChatRun.ts +1629 -0
  133. package/generated-sqlite/models/ChatThread.ts +2129 -0
  134. package/generated-sqlite/models/Comment.ts +2201 -0
  135. package/generated-sqlite/models/CommentIgnore.ts +1426 -0
  136. package/generated-sqlite/models/ComplianceExport.ts +1343 -0
  137. package/generated-sqlite/models/Component.ts +2326 -0
  138. package/generated-sqlite/models/ComponentInstance.ts +2097 -0
  139. package/generated-sqlite/models/ComponentTag.ts +1278 -0
  140. package/generated-sqlite/models/CustomRole.ts +1209 -0
  141. package/generated-sqlite/models/DesignProject.ts +1640 -0
  142. package/generated-sqlite/models/DictionaryTerm.ts +1639 -0
  143. package/generated-sqlite/models/GenerationRun.ts +1540 -0
  144. package/generated-sqlite/models/IndustryCompliance.ts +1794 -0
  145. package/generated-sqlite/models/InvitationCode.ts +1415 -0
  146. package/generated-sqlite/models/InvitationUse.ts +1420 -0
  147. package/generated-sqlite/models/Invoice.ts +1707 -0
  148. package/generated-sqlite/models/KnowledgeBase.ts +1668 -0
  149. package/generated-sqlite/models/KnowledgeDocument.ts +2282 -0
  150. package/generated-sqlite/models/KnowledgeShareRecord.ts +1349 -0
  151. package/generated-sqlite/models/LegalRegulation.ts +1870 -0
  152. package/generated-sqlite/models/LicenseActivation.ts +1203 -0
  153. package/generated-sqlite/models/LicenseKey.ts +1443 -0
  154. package/generated-sqlite/models/LoginLog.ts +1447 -0
  155. package/generated-sqlite/models/PRD.ts +2616 -0
  156. package/generated-sqlite/models/PRDPage.ts +2398 -0
  157. package/generated-sqlite/models/PRDTag.ts +1426 -0
  158. package/generated-sqlite/models/PRDVersion.ts +2117 -0
  159. package/generated-sqlite/models/PageVersion.ts +1528 -0
  160. package/generated-sqlite/models/PasswordResetToken.ts +1377 -0
  161. package/generated-sqlite/models/Plan.ts +2060 -0
  162. package/generated-sqlite/models/Project.ts +1994 -0
  163. package/generated-sqlite/models/ProjectActivity.ts +1578 -0
  164. package/generated-sqlite/models/ProjectMember.ts +1508 -0
  165. package/generated-sqlite/models/ProviderEvent.ts +1225 -0
  166. package/generated-sqlite/models/Reference.ts +1175 -0
  167. package/generated-sqlite/models/Review.ts +1903 -0
  168. package/generated-sqlite/models/ReviewComment.ts +1899 -0
  169. package/generated-sqlite/models/RoleAssignment.ts +1125 -0
  170. package/generated-sqlite/models/Share.ts +1674 -0
  171. package/generated-sqlite/models/ShareVersion.ts +1385 -0
  172. package/generated-sqlite/models/SsoMapping.ts +1181 -0
  173. package/generated-sqlite/models/SsoProvider.ts +1266 -0
  174. package/generated-sqlite/models/Subscription.ts +2137 -0
  175. package/generated-sqlite/models/SystemSetting.ts +1215 -0
  176. package/generated-sqlite/models/Tag.ts +1652 -0
  177. package/generated-sqlite/models/TeamInvitation.ts +1523 -0
  178. package/generated-sqlite/models/TeamMembership.ts +1433 -0
  179. package/generated-sqlite/models/Template.ts +1389 -0
  180. package/generated-sqlite/models/TemplateBlock.ts +1660 -0
  181. package/generated-sqlite/models/ThirdPartyDependency.ts +1471 -0
  182. package/generated-sqlite/models/UsageRecord.ts +1498 -0
  183. package/generated-sqlite/models/User.ts +13558 -0
  184. package/generated-sqlite/models/UserAgent.ts +1897 -0
  185. package/generated-sqlite/models/UserSkill.ts +1453 -0
  186. package/generated-sqlite/models/WebsiteBookmark.ts +2215 -0
  187. package/generated-sqlite/models/Workspace.ts +1824 -0
  188. package/generated-sqlite/models.ts +87 -0
  189. package/package.json +7 -3
  190. package/LICENSE +0 -661
@@ -0,0 +1,2398 @@
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
+ }
714
+
715
+ export type PRDPageUpsertWithWhereUniqueWithoutPrdInput = {
716
+ where: Prisma.PRDPageWhereUniqueInput
717
+ update: Prisma.XOR<Prisma.PRDPageUpdateWithoutPrdInput, Prisma.PRDPageUncheckedUpdateWithoutPrdInput>
718
+ create: Prisma.XOR<Prisma.PRDPageCreateWithoutPrdInput, Prisma.PRDPageUncheckedCreateWithoutPrdInput>
719
+ }
720
+
721
+ export type PRDPageUpdateWithWhereUniqueWithoutPrdInput = {
722
+ where: Prisma.PRDPageWhereUniqueInput
723
+ data: Prisma.XOR<Prisma.PRDPageUpdateWithoutPrdInput, Prisma.PRDPageUncheckedUpdateWithoutPrdInput>
724
+ }
725
+
726
+ export type PRDPageUpdateManyWithWhereWithoutPrdInput = {
727
+ where: Prisma.PRDPageScalarWhereInput
728
+ data: Prisma.XOR<Prisma.PRDPageUpdateManyMutationInput, Prisma.PRDPageUncheckedUpdateManyWithoutPrdInput>
729
+ }
730
+
731
+ export type PRDPageScalarWhereInput = {
732
+ AND?: Prisma.PRDPageScalarWhereInput | Prisma.PRDPageScalarWhereInput[]
733
+ OR?: Prisma.PRDPageScalarWhereInput[]
734
+ NOT?: Prisma.PRDPageScalarWhereInput | Prisma.PRDPageScalarWhereInput[]
735
+ id?: Prisma.StringFilter<"PRDPage"> | string
736
+ prdId?: Prisma.StringFilter<"PRDPage"> | string
737
+ parentId?: Prisma.StringNullableFilter<"PRDPage"> | string | null
738
+ name?: Prisma.StringFilter<"PRDPage"> | string
739
+ order?: Prisma.IntFilter<"PRDPage"> | number
740
+ type?: Prisma.StringFilter<"PRDPage"> | string
741
+ canvas?: Prisma.JsonNullableFilter<"PRDPage">
742
+ content?: Prisma.JsonNullableFilter<"PRDPage">
743
+ version?: Prisma.IntFilter<"PRDPage"> | number
744
+ createdAt?: Prisma.DateTimeFilter<"PRDPage"> | Date | string
745
+ updatedAt?: Prisma.DateTimeFilter<"PRDPage"> | Date | string
746
+ }
747
+
748
+ export type PRDPageCreateWithoutChildrenInput = {
749
+ id?: string
750
+ name: string
751
+ order?: number
752
+ type?: string
753
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
754
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
755
+ version?: number
756
+ createdAt?: Date | string
757
+ updatedAt?: Date | string
758
+ prd: Prisma.PRDCreateNestedOneWithoutPagesInput
759
+ parent?: Prisma.PRDPageCreateNestedOneWithoutChildrenInput
760
+ componentInstances?: Prisma.ComponentInstanceCreateNestedManyWithoutPageInput
761
+ blockInstances?: Prisma.BlockInstanceCreateNestedManyWithoutPageInput
762
+ pageVersions?: Prisma.PageVersionCreateNestedManyWithoutPageInput
763
+ }
764
+
765
+ export type PRDPageUncheckedCreateWithoutChildrenInput = {
766
+ id?: string
767
+ prdId: string
768
+ parentId?: string | null
769
+ name: string
770
+ order?: number
771
+ type?: string
772
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
773
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
774
+ version?: number
775
+ createdAt?: Date | string
776
+ updatedAt?: Date | string
777
+ componentInstances?: Prisma.ComponentInstanceUncheckedCreateNestedManyWithoutPageInput
778
+ blockInstances?: Prisma.BlockInstanceUncheckedCreateNestedManyWithoutPageInput
779
+ pageVersions?: Prisma.PageVersionUncheckedCreateNestedManyWithoutPageInput
780
+ }
781
+
782
+ export type PRDPageCreateOrConnectWithoutChildrenInput = {
783
+ where: Prisma.PRDPageWhereUniqueInput
784
+ create: Prisma.XOR<Prisma.PRDPageCreateWithoutChildrenInput, Prisma.PRDPageUncheckedCreateWithoutChildrenInput>
785
+ }
786
+
787
+ export type PRDPageCreateWithoutParentInput = {
788
+ id?: string
789
+ name: string
790
+ order?: number
791
+ type?: string
792
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
793
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
794
+ version?: number
795
+ createdAt?: Date | string
796
+ updatedAt?: Date | string
797
+ prd: Prisma.PRDCreateNestedOneWithoutPagesInput
798
+ children?: Prisma.PRDPageCreateNestedManyWithoutParentInput
799
+ componentInstances?: Prisma.ComponentInstanceCreateNestedManyWithoutPageInput
800
+ blockInstances?: Prisma.BlockInstanceCreateNestedManyWithoutPageInput
801
+ pageVersions?: Prisma.PageVersionCreateNestedManyWithoutPageInput
802
+ }
803
+
804
+ export type PRDPageUncheckedCreateWithoutParentInput = {
805
+ id?: string
806
+ prdId: string
807
+ name: string
808
+ order?: number
809
+ type?: string
810
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
811
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
812
+ version?: number
813
+ createdAt?: Date | string
814
+ updatedAt?: Date | string
815
+ children?: Prisma.PRDPageUncheckedCreateNestedManyWithoutParentInput
816
+ componentInstances?: Prisma.ComponentInstanceUncheckedCreateNestedManyWithoutPageInput
817
+ blockInstances?: Prisma.BlockInstanceUncheckedCreateNestedManyWithoutPageInput
818
+ pageVersions?: Prisma.PageVersionUncheckedCreateNestedManyWithoutPageInput
819
+ }
820
+
821
+ export type PRDPageCreateOrConnectWithoutParentInput = {
822
+ where: Prisma.PRDPageWhereUniqueInput
823
+ create: Prisma.XOR<Prisma.PRDPageCreateWithoutParentInput, Prisma.PRDPageUncheckedCreateWithoutParentInput>
824
+ }
825
+
826
+ export type PRDPageCreateManyParentInputEnvelope = {
827
+ data: Prisma.PRDPageCreateManyParentInput | Prisma.PRDPageCreateManyParentInput[]
828
+ }
829
+
830
+ export type PRDPageUpsertWithoutChildrenInput = {
831
+ update: Prisma.XOR<Prisma.PRDPageUpdateWithoutChildrenInput, Prisma.PRDPageUncheckedUpdateWithoutChildrenInput>
832
+ create: Prisma.XOR<Prisma.PRDPageCreateWithoutChildrenInput, Prisma.PRDPageUncheckedCreateWithoutChildrenInput>
833
+ where?: Prisma.PRDPageWhereInput
834
+ }
835
+
836
+ export type PRDPageUpdateToOneWithWhereWithoutChildrenInput = {
837
+ where?: Prisma.PRDPageWhereInput
838
+ data: Prisma.XOR<Prisma.PRDPageUpdateWithoutChildrenInput, Prisma.PRDPageUncheckedUpdateWithoutChildrenInput>
839
+ }
840
+
841
+ export type PRDPageUpdateWithoutChildrenInput = {
842
+ id?: Prisma.StringFieldUpdateOperationsInput | string
843
+ name?: Prisma.StringFieldUpdateOperationsInput | string
844
+ order?: Prisma.IntFieldUpdateOperationsInput | number
845
+ type?: Prisma.StringFieldUpdateOperationsInput | string
846
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
847
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
848
+ version?: Prisma.IntFieldUpdateOperationsInput | number
849
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
850
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
851
+ prd?: Prisma.PRDUpdateOneRequiredWithoutPagesNestedInput
852
+ parent?: Prisma.PRDPageUpdateOneWithoutChildrenNestedInput
853
+ componentInstances?: Prisma.ComponentInstanceUpdateManyWithoutPageNestedInput
854
+ blockInstances?: Prisma.BlockInstanceUpdateManyWithoutPageNestedInput
855
+ pageVersions?: Prisma.PageVersionUpdateManyWithoutPageNestedInput
856
+ }
857
+
858
+ export type PRDPageUncheckedUpdateWithoutChildrenInput = {
859
+ id?: Prisma.StringFieldUpdateOperationsInput | string
860
+ prdId?: Prisma.StringFieldUpdateOperationsInput | string
861
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
862
+ name?: Prisma.StringFieldUpdateOperationsInput | string
863
+ order?: Prisma.IntFieldUpdateOperationsInput | number
864
+ type?: Prisma.StringFieldUpdateOperationsInput | string
865
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
866
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
867
+ version?: Prisma.IntFieldUpdateOperationsInput | number
868
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
869
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
870
+ componentInstances?: Prisma.ComponentInstanceUncheckedUpdateManyWithoutPageNestedInput
871
+ blockInstances?: Prisma.BlockInstanceUncheckedUpdateManyWithoutPageNestedInput
872
+ pageVersions?: Prisma.PageVersionUncheckedUpdateManyWithoutPageNestedInput
873
+ }
874
+
875
+ export type PRDPageUpsertWithWhereUniqueWithoutParentInput = {
876
+ where: Prisma.PRDPageWhereUniqueInput
877
+ update: Prisma.XOR<Prisma.PRDPageUpdateWithoutParentInput, Prisma.PRDPageUncheckedUpdateWithoutParentInput>
878
+ create: Prisma.XOR<Prisma.PRDPageCreateWithoutParentInput, Prisma.PRDPageUncheckedCreateWithoutParentInput>
879
+ }
880
+
881
+ export type PRDPageUpdateWithWhereUniqueWithoutParentInput = {
882
+ where: Prisma.PRDPageWhereUniqueInput
883
+ data: Prisma.XOR<Prisma.PRDPageUpdateWithoutParentInput, Prisma.PRDPageUncheckedUpdateWithoutParentInput>
884
+ }
885
+
886
+ export type PRDPageUpdateManyWithWhereWithoutParentInput = {
887
+ where: Prisma.PRDPageScalarWhereInput
888
+ data: Prisma.XOR<Prisma.PRDPageUpdateManyMutationInput, Prisma.PRDPageUncheckedUpdateManyWithoutParentInput>
889
+ }
890
+
891
+ export type PRDPageCreateWithoutComponentInstancesInput = {
892
+ id?: string
893
+ name: string
894
+ order?: number
895
+ type?: string
896
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
897
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
898
+ version?: number
899
+ createdAt?: Date | string
900
+ updatedAt?: Date | string
901
+ prd: Prisma.PRDCreateNestedOneWithoutPagesInput
902
+ parent?: Prisma.PRDPageCreateNestedOneWithoutChildrenInput
903
+ children?: Prisma.PRDPageCreateNestedManyWithoutParentInput
904
+ blockInstances?: Prisma.BlockInstanceCreateNestedManyWithoutPageInput
905
+ pageVersions?: Prisma.PageVersionCreateNestedManyWithoutPageInput
906
+ }
907
+
908
+ export type PRDPageUncheckedCreateWithoutComponentInstancesInput = {
909
+ id?: string
910
+ prdId: string
911
+ parentId?: string | null
912
+ name: string
913
+ order?: number
914
+ type?: string
915
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
916
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
917
+ version?: number
918
+ createdAt?: Date | string
919
+ updatedAt?: Date | string
920
+ children?: Prisma.PRDPageUncheckedCreateNestedManyWithoutParentInput
921
+ blockInstances?: Prisma.BlockInstanceUncheckedCreateNestedManyWithoutPageInput
922
+ pageVersions?: Prisma.PageVersionUncheckedCreateNestedManyWithoutPageInput
923
+ }
924
+
925
+ export type PRDPageCreateOrConnectWithoutComponentInstancesInput = {
926
+ where: Prisma.PRDPageWhereUniqueInput
927
+ create: Prisma.XOR<Prisma.PRDPageCreateWithoutComponentInstancesInput, Prisma.PRDPageUncheckedCreateWithoutComponentInstancesInput>
928
+ }
929
+
930
+ export type PRDPageUpsertWithoutComponentInstancesInput = {
931
+ update: Prisma.XOR<Prisma.PRDPageUpdateWithoutComponentInstancesInput, Prisma.PRDPageUncheckedUpdateWithoutComponentInstancesInput>
932
+ create: Prisma.XOR<Prisma.PRDPageCreateWithoutComponentInstancesInput, Prisma.PRDPageUncheckedCreateWithoutComponentInstancesInput>
933
+ where?: Prisma.PRDPageWhereInput
934
+ }
935
+
936
+ export type PRDPageUpdateToOneWithWhereWithoutComponentInstancesInput = {
937
+ where?: Prisma.PRDPageWhereInput
938
+ data: Prisma.XOR<Prisma.PRDPageUpdateWithoutComponentInstancesInput, Prisma.PRDPageUncheckedUpdateWithoutComponentInstancesInput>
939
+ }
940
+
941
+ export type PRDPageUpdateWithoutComponentInstancesInput = {
942
+ id?: Prisma.StringFieldUpdateOperationsInput | string
943
+ name?: Prisma.StringFieldUpdateOperationsInput | string
944
+ order?: Prisma.IntFieldUpdateOperationsInput | number
945
+ type?: Prisma.StringFieldUpdateOperationsInput | string
946
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
947
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
948
+ version?: Prisma.IntFieldUpdateOperationsInput | number
949
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
950
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
951
+ prd?: Prisma.PRDUpdateOneRequiredWithoutPagesNestedInput
952
+ parent?: Prisma.PRDPageUpdateOneWithoutChildrenNestedInput
953
+ children?: Prisma.PRDPageUpdateManyWithoutParentNestedInput
954
+ blockInstances?: Prisma.BlockInstanceUpdateManyWithoutPageNestedInput
955
+ pageVersions?: Prisma.PageVersionUpdateManyWithoutPageNestedInput
956
+ }
957
+
958
+ export type PRDPageUncheckedUpdateWithoutComponentInstancesInput = {
959
+ id?: Prisma.StringFieldUpdateOperationsInput | string
960
+ prdId?: Prisma.StringFieldUpdateOperationsInput | string
961
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
962
+ name?: Prisma.StringFieldUpdateOperationsInput | string
963
+ order?: Prisma.IntFieldUpdateOperationsInput | number
964
+ type?: Prisma.StringFieldUpdateOperationsInput | string
965
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
966
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
967
+ version?: Prisma.IntFieldUpdateOperationsInput | number
968
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
969
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
970
+ children?: Prisma.PRDPageUncheckedUpdateManyWithoutParentNestedInput
971
+ blockInstances?: Prisma.BlockInstanceUncheckedUpdateManyWithoutPageNestedInput
972
+ pageVersions?: Prisma.PageVersionUncheckedUpdateManyWithoutPageNestedInput
973
+ }
974
+
975
+ export type PRDPageCreateWithoutBlockInstancesInput = {
976
+ id?: string
977
+ name: string
978
+ order?: number
979
+ type?: string
980
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
981
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
982
+ version?: number
983
+ createdAt?: Date | string
984
+ updatedAt?: Date | string
985
+ prd: Prisma.PRDCreateNestedOneWithoutPagesInput
986
+ parent?: Prisma.PRDPageCreateNestedOneWithoutChildrenInput
987
+ children?: Prisma.PRDPageCreateNestedManyWithoutParentInput
988
+ componentInstances?: Prisma.ComponentInstanceCreateNestedManyWithoutPageInput
989
+ pageVersions?: Prisma.PageVersionCreateNestedManyWithoutPageInput
990
+ }
991
+
992
+ export type PRDPageUncheckedCreateWithoutBlockInstancesInput = {
993
+ id?: string
994
+ prdId: string
995
+ parentId?: string | null
996
+ name: string
997
+ order?: number
998
+ type?: string
999
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1000
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1001
+ version?: number
1002
+ createdAt?: Date | string
1003
+ updatedAt?: Date | string
1004
+ children?: Prisma.PRDPageUncheckedCreateNestedManyWithoutParentInput
1005
+ componentInstances?: Prisma.ComponentInstanceUncheckedCreateNestedManyWithoutPageInput
1006
+ pageVersions?: Prisma.PageVersionUncheckedCreateNestedManyWithoutPageInput
1007
+ }
1008
+
1009
+ export type PRDPageCreateOrConnectWithoutBlockInstancesInput = {
1010
+ where: Prisma.PRDPageWhereUniqueInput
1011
+ create: Prisma.XOR<Prisma.PRDPageCreateWithoutBlockInstancesInput, Prisma.PRDPageUncheckedCreateWithoutBlockInstancesInput>
1012
+ }
1013
+
1014
+ export type PRDPageUpsertWithoutBlockInstancesInput = {
1015
+ update: Prisma.XOR<Prisma.PRDPageUpdateWithoutBlockInstancesInput, Prisma.PRDPageUncheckedUpdateWithoutBlockInstancesInput>
1016
+ create: Prisma.XOR<Prisma.PRDPageCreateWithoutBlockInstancesInput, Prisma.PRDPageUncheckedCreateWithoutBlockInstancesInput>
1017
+ where?: Prisma.PRDPageWhereInput
1018
+ }
1019
+
1020
+ export type PRDPageUpdateToOneWithWhereWithoutBlockInstancesInput = {
1021
+ where?: Prisma.PRDPageWhereInput
1022
+ data: Prisma.XOR<Prisma.PRDPageUpdateWithoutBlockInstancesInput, Prisma.PRDPageUncheckedUpdateWithoutBlockInstancesInput>
1023
+ }
1024
+
1025
+ export type PRDPageUpdateWithoutBlockInstancesInput = {
1026
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1027
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1028
+ order?: Prisma.IntFieldUpdateOperationsInput | number
1029
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1030
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1031
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1032
+ version?: Prisma.IntFieldUpdateOperationsInput | number
1033
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1034
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1035
+ prd?: Prisma.PRDUpdateOneRequiredWithoutPagesNestedInput
1036
+ parent?: Prisma.PRDPageUpdateOneWithoutChildrenNestedInput
1037
+ children?: Prisma.PRDPageUpdateManyWithoutParentNestedInput
1038
+ componentInstances?: Prisma.ComponentInstanceUpdateManyWithoutPageNestedInput
1039
+ pageVersions?: Prisma.PageVersionUpdateManyWithoutPageNestedInput
1040
+ }
1041
+
1042
+ export type PRDPageUncheckedUpdateWithoutBlockInstancesInput = {
1043
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1044
+ prdId?: Prisma.StringFieldUpdateOperationsInput | string
1045
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1046
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1047
+ order?: Prisma.IntFieldUpdateOperationsInput | number
1048
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1049
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1050
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1051
+ version?: Prisma.IntFieldUpdateOperationsInput | number
1052
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1053
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1054
+ children?: Prisma.PRDPageUncheckedUpdateManyWithoutParentNestedInput
1055
+ componentInstances?: Prisma.ComponentInstanceUncheckedUpdateManyWithoutPageNestedInput
1056
+ pageVersions?: Prisma.PageVersionUncheckedUpdateManyWithoutPageNestedInput
1057
+ }
1058
+
1059
+ export type PRDPageCreateWithoutPageVersionsInput = {
1060
+ id?: string
1061
+ name: string
1062
+ order?: number
1063
+ type?: string
1064
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1065
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1066
+ version?: number
1067
+ createdAt?: Date | string
1068
+ updatedAt?: Date | string
1069
+ prd: Prisma.PRDCreateNestedOneWithoutPagesInput
1070
+ parent?: Prisma.PRDPageCreateNestedOneWithoutChildrenInput
1071
+ children?: Prisma.PRDPageCreateNestedManyWithoutParentInput
1072
+ componentInstances?: Prisma.ComponentInstanceCreateNestedManyWithoutPageInput
1073
+ blockInstances?: Prisma.BlockInstanceCreateNestedManyWithoutPageInput
1074
+ }
1075
+
1076
+ export type PRDPageUncheckedCreateWithoutPageVersionsInput = {
1077
+ id?: string
1078
+ prdId: string
1079
+ parentId?: string | null
1080
+ name: string
1081
+ order?: number
1082
+ type?: string
1083
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1084
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1085
+ version?: number
1086
+ createdAt?: Date | string
1087
+ updatedAt?: Date | string
1088
+ children?: Prisma.PRDPageUncheckedCreateNestedManyWithoutParentInput
1089
+ componentInstances?: Prisma.ComponentInstanceUncheckedCreateNestedManyWithoutPageInput
1090
+ blockInstances?: Prisma.BlockInstanceUncheckedCreateNestedManyWithoutPageInput
1091
+ }
1092
+
1093
+ export type PRDPageCreateOrConnectWithoutPageVersionsInput = {
1094
+ where: Prisma.PRDPageWhereUniqueInput
1095
+ create: Prisma.XOR<Prisma.PRDPageCreateWithoutPageVersionsInput, Prisma.PRDPageUncheckedCreateWithoutPageVersionsInput>
1096
+ }
1097
+
1098
+ export type PRDPageUpsertWithoutPageVersionsInput = {
1099
+ update: Prisma.XOR<Prisma.PRDPageUpdateWithoutPageVersionsInput, Prisma.PRDPageUncheckedUpdateWithoutPageVersionsInput>
1100
+ create: Prisma.XOR<Prisma.PRDPageCreateWithoutPageVersionsInput, Prisma.PRDPageUncheckedCreateWithoutPageVersionsInput>
1101
+ where?: Prisma.PRDPageWhereInput
1102
+ }
1103
+
1104
+ export type PRDPageUpdateToOneWithWhereWithoutPageVersionsInput = {
1105
+ where?: Prisma.PRDPageWhereInput
1106
+ data: Prisma.XOR<Prisma.PRDPageUpdateWithoutPageVersionsInput, Prisma.PRDPageUncheckedUpdateWithoutPageVersionsInput>
1107
+ }
1108
+
1109
+ export type PRDPageUpdateWithoutPageVersionsInput = {
1110
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1111
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1112
+ order?: Prisma.IntFieldUpdateOperationsInput | number
1113
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1114
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1115
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1116
+ version?: Prisma.IntFieldUpdateOperationsInput | number
1117
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1118
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1119
+ prd?: Prisma.PRDUpdateOneRequiredWithoutPagesNestedInput
1120
+ parent?: Prisma.PRDPageUpdateOneWithoutChildrenNestedInput
1121
+ children?: Prisma.PRDPageUpdateManyWithoutParentNestedInput
1122
+ componentInstances?: Prisma.ComponentInstanceUpdateManyWithoutPageNestedInput
1123
+ blockInstances?: Prisma.BlockInstanceUpdateManyWithoutPageNestedInput
1124
+ }
1125
+
1126
+ export type PRDPageUncheckedUpdateWithoutPageVersionsInput = {
1127
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1128
+ prdId?: Prisma.StringFieldUpdateOperationsInput | string
1129
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1130
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1131
+ order?: Prisma.IntFieldUpdateOperationsInput | number
1132
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1133
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1134
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1135
+ version?: Prisma.IntFieldUpdateOperationsInput | number
1136
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1137
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1138
+ children?: Prisma.PRDPageUncheckedUpdateManyWithoutParentNestedInput
1139
+ componentInstances?: Prisma.ComponentInstanceUncheckedUpdateManyWithoutPageNestedInput
1140
+ blockInstances?: Prisma.BlockInstanceUncheckedUpdateManyWithoutPageNestedInput
1141
+ }
1142
+
1143
+ export type PRDPageCreateManyPrdInput = {
1144
+ id?: string
1145
+ parentId?: string | null
1146
+ name: string
1147
+ order?: number
1148
+ type?: string
1149
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1150
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1151
+ version?: number
1152
+ createdAt?: Date | string
1153
+ updatedAt?: Date | string
1154
+ }
1155
+
1156
+ export type PRDPageUpdateWithoutPrdInput = {
1157
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1158
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1159
+ order?: Prisma.IntFieldUpdateOperationsInput | number
1160
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1161
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1162
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1163
+ version?: Prisma.IntFieldUpdateOperationsInput | number
1164
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1165
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1166
+ parent?: Prisma.PRDPageUpdateOneWithoutChildrenNestedInput
1167
+ children?: Prisma.PRDPageUpdateManyWithoutParentNestedInput
1168
+ componentInstances?: Prisma.ComponentInstanceUpdateManyWithoutPageNestedInput
1169
+ blockInstances?: Prisma.BlockInstanceUpdateManyWithoutPageNestedInput
1170
+ pageVersions?: Prisma.PageVersionUpdateManyWithoutPageNestedInput
1171
+ }
1172
+
1173
+ export type PRDPageUncheckedUpdateWithoutPrdInput = {
1174
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1175
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1176
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1177
+ order?: Prisma.IntFieldUpdateOperationsInput | number
1178
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1179
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1180
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1181
+ version?: Prisma.IntFieldUpdateOperationsInput | number
1182
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1183
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1184
+ children?: Prisma.PRDPageUncheckedUpdateManyWithoutParentNestedInput
1185
+ componentInstances?: Prisma.ComponentInstanceUncheckedUpdateManyWithoutPageNestedInput
1186
+ blockInstances?: Prisma.BlockInstanceUncheckedUpdateManyWithoutPageNestedInput
1187
+ pageVersions?: Prisma.PageVersionUncheckedUpdateManyWithoutPageNestedInput
1188
+ }
1189
+
1190
+ export type PRDPageUncheckedUpdateManyWithoutPrdInput = {
1191
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1192
+ parentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1193
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1194
+ order?: Prisma.IntFieldUpdateOperationsInput | number
1195
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1196
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1197
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1198
+ version?: Prisma.IntFieldUpdateOperationsInput | number
1199
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1200
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1201
+ }
1202
+
1203
+ export type PRDPageCreateManyParentInput = {
1204
+ id?: string
1205
+ prdId: string
1206
+ name: string
1207
+ order?: number
1208
+ type?: string
1209
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1210
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1211
+ version?: number
1212
+ createdAt?: Date | string
1213
+ updatedAt?: Date | string
1214
+ }
1215
+
1216
+ export type PRDPageUpdateWithoutParentInput = {
1217
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1218
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1219
+ order?: Prisma.IntFieldUpdateOperationsInput | number
1220
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1221
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1222
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1223
+ version?: Prisma.IntFieldUpdateOperationsInput | number
1224
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1225
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1226
+ prd?: Prisma.PRDUpdateOneRequiredWithoutPagesNestedInput
1227
+ children?: Prisma.PRDPageUpdateManyWithoutParentNestedInput
1228
+ componentInstances?: Prisma.ComponentInstanceUpdateManyWithoutPageNestedInput
1229
+ blockInstances?: Prisma.BlockInstanceUpdateManyWithoutPageNestedInput
1230
+ pageVersions?: Prisma.PageVersionUpdateManyWithoutPageNestedInput
1231
+ }
1232
+
1233
+ export type PRDPageUncheckedUpdateWithoutParentInput = {
1234
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1235
+ prdId?: Prisma.StringFieldUpdateOperationsInput | string
1236
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1237
+ order?: Prisma.IntFieldUpdateOperationsInput | number
1238
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1239
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1240
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1241
+ version?: Prisma.IntFieldUpdateOperationsInput | number
1242
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1243
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1244
+ children?: Prisma.PRDPageUncheckedUpdateManyWithoutParentNestedInput
1245
+ componentInstances?: Prisma.ComponentInstanceUncheckedUpdateManyWithoutPageNestedInput
1246
+ blockInstances?: Prisma.BlockInstanceUncheckedUpdateManyWithoutPageNestedInput
1247
+ pageVersions?: Prisma.PageVersionUncheckedUpdateManyWithoutPageNestedInput
1248
+ }
1249
+
1250
+ export type PRDPageUncheckedUpdateManyWithoutParentInput = {
1251
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1252
+ prdId?: Prisma.StringFieldUpdateOperationsInput | string
1253
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1254
+ order?: Prisma.IntFieldUpdateOperationsInput | number
1255
+ type?: Prisma.StringFieldUpdateOperationsInput | string
1256
+ canvas?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1257
+ content?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1258
+ version?: Prisma.IntFieldUpdateOperationsInput | number
1259
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1260
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1261
+ }
1262
+
1263
+
1264
+ /**
1265
+ * Count Type PRDPageCountOutputType
1266
+ */
1267
+
1268
+ export type PRDPageCountOutputType = {
1269
+ children: number
1270
+ componentInstances: number
1271
+ blockInstances: number
1272
+ pageVersions: number
1273
+ }
1274
+
1275
+ export type PRDPageCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1276
+ children?: boolean | PRDPageCountOutputTypeCountChildrenArgs
1277
+ componentInstances?: boolean | PRDPageCountOutputTypeCountComponentInstancesArgs
1278
+ blockInstances?: boolean | PRDPageCountOutputTypeCountBlockInstancesArgs
1279
+ pageVersions?: boolean | PRDPageCountOutputTypeCountPageVersionsArgs
1280
+ }
1281
+
1282
+ /**
1283
+ * PRDPageCountOutputType without action
1284
+ */
1285
+ export type PRDPageCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1286
+ /**
1287
+ * Select specific fields to fetch from the PRDPageCountOutputType
1288
+ */
1289
+ select?: Prisma.PRDPageCountOutputTypeSelect<ExtArgs> | null
1290
+ }
1291
+
1292
+ /**
1293
+ * PRDPageCountOutputType without action
1294
+ */
1295
+ export type PRDPageCountOutputTypeCountChildrenArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1296
+ where?: Prisma.PRDPageWhereInput
1297
+ }
1298
+
1299
+ /**
1300
+ * PRDPageCountOutputType without action
1301
+ */
1302
+ export type PRDPageCountOutputTypeCountComponentInstancesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1303
+ where?: Prisma.ComponentInstanceWhereInput
1304
+ }
1305
+
1306
+ /**
1307
+ * PRDPageCountOutputType without action
1308
+ */
1309
+ export type PRDPageCountOutputTypeCountBlockInstancesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1310
+ where?: Prisma.BlockInstanceWhereInput
1311
+ }
1312
+
1313
+ /**
1314
+ * PRDPageCountOutputType without action
1315
+ */
1316
+ export type PRDPageCountOutputTypeCountPageVersionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1317
+ where?: Prisma.PageVersionWhereInput
1318
+ }
1319
+
1320
+
1321
+ export type PRDPageSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1322
+ id?: boolean
1323
+ prdId?: boolean
1324
+ parentId?: boolean
1325
+ name?: boolean
1326
+ order?: boolean
1327
+ type?: boolean
1328
+ canvas?: boolean
1329
+ content?: boolean
1330
+ version?: boolean
1331
+ createdAt?: boolean
1332
+ updatedAt?: boolean
1333
+ prd?: boolean | Prisma.PRDDefaultArgs<ExtArgs>
1334
+ parent?: boolean | Prisma.PRDPage$parentArgs<ExtArgs>
1335
+ children?: boolean | Prisma.PRDPage$childrenArgs<ExtArgs>
1336
+ componentInstances?: boolean | Prisma.PRDPage$componentInstancesArgs<ExtArgs>
1337
+ blockInstances?: boolean | Prisma.PRDPage$blockInstancesArgs<ExtArgs>
1338
+ pageVersions?: boolean | Prisma.PRDPage$pageVersionsArgs<ExtArgs>
1339
+ _count?: boolean | Prisma.PRDPageCountOutputTypeDefaultArgs<ExtArgs>
1340
+ }, ExtArgs["result"]["pRDPage"]>
1341
+
1342
+ export type PRDPageSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1343
+ id?: boolean
1344
+ prdId?: boolean
1345
+ parentId?: boolean
1346
+ name?: boolean
1347
+ order?: boolean
1348
+ type?: boolean
1349
+ canvas?: boolean
1350
+ content?: boolean
1351
+ version?: boolean
1352
+ createdAt?: boolean
1353
+ updatedAt?: boolean
1354
+ prd?: boolean | Prisma.PRDDefaultArgs<ExtArgs>
1355
+ parent?: boolean | Prisma.PRDPage$parentArgs<ExtArgs>
1356
+ }, ExtArgs["result"]["pRDPage"]>
1357
+
1358
+ export type PRDPageSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1359
+ id?: boolean
1360
+ prdId?: boolean
1361
+ parentId?: boolean
1362
+ name?: boolean
1363
+ order?: boolean
1364
+ type?: boolean
1365
+ canvas?: boolean
1366
+ content?: boolean
1367
+ version?: boolean
1368
+ createdAt?: boolean
1369
+ updatedAt?: boolean
1370
+ prd?: boolean | Prisma.PRDDefaultArgs<ExtArgs>
1371
+ parent?: boolean | Prisma.PRDPage$parentArgs<ExtArgs>
1372
+ }, ExtArgs["result"]["pRDPage"]>
1373
+
1374
+ export type PRDPageSelectScalar = {
1375
+ id?: boolean
1376
+ prdId?: boolean
1377
+ parentId?: boolean
1378
+ name?: boolean
1379
+ order?: boolean
1380
+ type?: boolean
1381
+ canvas?: boolean
1382
+ content?: boolean
1383
+ version?: boolean
1384
+ createdAt?: boolean
1385
+ updatedAt?: boolean
1386
+ }
1387
+
1388
+ 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"]>
1389
+ export type PRDPageInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1390
+ prd?: boolean | Prisma.PRDDefaultArgs<ExtArgs>
1391
+ parent?: boolean | Prisma.PRDPage$parentArgs<ExtArgs>
1392
+ children?: boolean | Prisma.PRDPage$childrenArgs<ExtArgs>
1393
+ componentInstances?: boolean | Prisma.PRDPage$componentInstancesArgs<ExtArgs>
1394
+ blockInstances?: boolean | Prisma.PRDPage$blockInstancesArgs<ExtArgs>
1395
+ pageVersions?: boolean | Prisma.PRDPage$pageVersionsArgs<ExtArgs>
1396
+ _count?: boolean | Prisma.PRDPageCountOutputTypeDefaultArgs<ExtArgs>
1397
+ }
1398
+ export type PRDPageIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1399
+ prd?: boolean | Prisma.PRDDefaultArgs<ExtArgs>
1400
+ parent?: boolean | Prisma.PRDPage$parentArgs<ExtArgs>
1401
+ }
1402
+ export type PRDPageIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1403
+ prd?: boolean | Prisma.PRDDefaultArgs<ExtArgs>
1404
+ parent?: boolean | Prisma.PRDPage$parentArgs<ExtArgs>
1405
+ }
1406
+
1407
+ export type $PRDPagePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1408
+ name: "PRDPage"
1409
+ objects: {
1410
+ prd: Prisma.$PRDPayload<ExtArgs>
1411
+ parent: Prisma.$PRDPagePayload<ExtArgs> | null
1412
+ children: Prisma.$PRDPagePayload<ExtArgs>[]
1413
+ componentInstances: Prisma.$ComponentInstancePayload<ExtArgs>[]
1414
+ blockInstances: Prisma.$BlockInstancePayload<ExtArgs>[]
1415
+ pageVersions: Prisma.$PageVersionPayload<ExtArgs>[]
1416
+ }
1417
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
1418
+ id: string
1419
+ prdId: string
1420
+ parentId: string | null
1421
+ name: string
1422
+ order: number
1423
+ type: string
1424
+ canvas: runtime.JsonValue | null
1425
+ content: runtime.JsonValue | null
1426
+ version: number
1427
+ createdAt: Date
1428
+ updatedAt: Date
1429
+ }, ExtArgs["result"]["pRDPage"]>
1430
+ composites: {}
1431
+ }
1432
+
1433
+ export type PRDPageGetPayload<S extends boolean | null | undefined | PRDPageDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PRDPagePayload, S>
1434
+
1435
+ export type PRDPageCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1436
+ Omit<PRDPageFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1437
+ select?: PRDPageCountAggregateInputType | true
1438
+ }
1439
+
1440
+ export interface PRDPageDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1441
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['PRDPage'], meta: { name: 'PRDPage' } }
1442
+ /**
1443
+ * Find zero or one PRDPage that matches the filter.
1444
+ * @param {PRDPageFindUniqueArgs} args - Arguments to find a PRDPage
1445
+ * @example
1446
+ * // Get one PRDPage
1447
+ * const pRDPage = await prisma.pRDPage.findUnique({
1448
+ * where: {
1449
+ * // ... provide filter here
1450
+ * }
1451
+ * })
1452
+ */
1453
+ 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>
1454
+
1455
+ /**
1456
+ * Find one PRDPage that matches the filter or throw an error with `error.code='P2025'`
1457
+ * if no matches were found.
1458
+ * @param {PRDPageFindUniqueOrThrowArgs} args - Arguments to find a PRDPage
1459
+ * @example
1460
+ * // Get one PRDPage
1461
+ * const pRDPage = await prisma.pRDPage.findUniqueOrThrow({
1462
+ * where: {
1463
+ * // ... provide filter here
1464
+ * }
1465
+ * })
1466
+ */
1467
+ 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>
1468
+
1469
+ /**
1470
+ * Find the first PRDPage that matches the filter.
1471
+ * Note, that providing `undefined` is treated as the value not being there.
1472
+ * Read more here: https://pris.ly/d/null-undefined
1473
+ * @param {PRDPageFindFirstArgs} args - Arguments to find a PRDPage
1474
+ * @example
1475
+ * // Get one PRDPage
1476
+ * const pRDPage = await prisma.pRDPage.findFirst({
1477
+ * where: {
1478
+ * // ... provide filter here
1479
+ * }
1480
+ * })
1481
+ */
1482
+ 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>
1483
+
1484
+ /**
1485
+ * Find the first PRDPage that matches the filter or
1486
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1487
+ * Note, that providing `undefined` is treated as the value not being there.
1488
+ * Read more here: https://pris.ly/d/null-undefined
1489
+ * @param {PRDPageFindFirstOrThrowArgs} args - Arguments to find a PRDPage
1490
+ * @example
1491
+ * // Get one PRDPage
1492
+ * const pRDPage = await prisma.pRDPage.findFirstOrThrow({
1493
+ * where: {
1494
+ * // ... provide filter here
1495
+ * }
1496
+ * })
1497
+ */
1498
+ 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>
1499
+
1500
+ /**
1501
+ * Find zero or more PRDPages that matches the filter.
1502
+ * Note, that providing `undefined` is treated as the value not being there.
1503
+ * Read more here: https://pris.ly/d/null-undefined
1504
+ * @param {PRDPageFindManyArgs} args - Arguments to filter and select certain fields only.
1505
+ * @example
1506
+ * // Get all PRDPages
1507
+ * const pRDPages = await prisma.pRDPage.findMany()
1508
+ *
1509
+ * // Get first 10 PRDPages
1510
+ * const pRDPages = await prisma.pRDPage.findMany({ take: 10 })
1511
+ *
1512
+ * // Only select the `id`
1513
+ * const pRDPageWithIdOnly = await prisma.pRDPage.findMany({ select: { id: true } })
1514
+ *
1515
+ */
1516
+ findMany<T extends PRDPageFindManyArgs>(args?: Prisma.SelectSubset<T, PRDPageFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PRDPagePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1517
+
1518
+ /**
1519
+ * Create a PRDPage.
1520
+ * @param {PRDPageCreateArgs} args - Arguments to create a PRDPage.
1521
+ * @example
1522
+ * // Create one PRDPage
1523
+ * const PRDPage = await prisma.pRDPage.create({
1524
+ * data: {
1525
+ * // ... data to create a PRDPage
1526
+ * }
1527
+ * })
1528
+ *
1529
+ */
1530
+ 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>
1531
+
1532
+ /**
1533
+ * Create many PRDPages.
1534
+ * @param {PRDPageCreateManyArgs} args - Arguments to create many PRDPages.
1535
+ * @example
1536
+ * // Create many PRDPages
1537
+ * const pRDPage = await prisma.pRDPage.createMany({
1538
+ * data: [
1539
+ * // ... provide data here
1540
+ * ]
1541
+ * })
1542
+ *
1543
+ */
1544
+ createMany<T extends PRDPageCreateManyArgs>(args?: Prisma.SelectSubset<T, PRDPageCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1545
+
1546
+ /**
1547
+ * Create many PRDPages and returns the data saved in the database.
1548
+ * @param {PRDPageCreateManyAndReturnArgs} args - Arguments to create many PRDPages.
1549
+ * @example
1550
+ * // Create many PRDPages
1551
+ * const pRDPage = await prisma.pRDPage.createManyAndReturn({
1552
+ * data: [
1553
+ * // ... provide data here
1554
+ * ]
1555
+ * })
1556
+ *
1557
+ * // Create many PRDPages and only return the `id`
1558
+ * const pRDPageWithIdOnly = await prisma.pRDPage.createManyAndReturn({
1559
+ * select: { id: true },
1560
+ * data: [
1561
+ * // ... provide data here
1562
+ * ]
1563
+ * })
1564
+ * Note, that providing `undefined` is treated as the value not being there.
1565
+ * Read more here: https://pris.ly/d/null-undefined
1566
+ *
1567
+ */
1568
+ createManyAndReturn<T extends PRDPageCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PRDPageCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PRDPagePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1569
+
1570
+ /**
1571
+ * Delete a PRDPage.
1572
+ * @param {PRDPageDeleteArgs} args - Arguments to delete one PRDPage.
1573
+ * @example
1574
+ * // Delete one PRDPage
1575
+ * const PRDPage = await prisma.pRDPage.delete({
1576
+ * where: {
1577
+ * // ... filter to delete one PRDPage
1578
+ * }
1579
+ * })
1580
+ *
1581
+ */
1582
+ 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>
1583
+
1584
+ /**
1585
+ * Update one PRDPage.
1586
+ * @param {PRDPageUpdateArgs} args - Arguments to update one PRDPage.
1587
+ * @example
1588
+ * // Update one PRDPage
1589
+ * const pRDPage = await prisma.pRDPage.update({
1590
+ * where: {
1591
+ * // ... provide filter here
1592
+ * },
1593
+ * data: {
1594
+ * // ... provide data here
1595
+ * }
1596
+ * })
1597
+ *
1598
+ */
1599
+ 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>
1600
+
1601
+ /**
1602
+ * Delete zero or more PRDPages.
1603
+ * @param {PRDPageDeleteManyArgs} args - Arguments to filter PRDPages to delete.
1604
+ * @example
1605
+ * // Delete a few PRDPages
1606
+ * const { count } = await prisma.pRDPage.deleteMany({
1607
+ * where: {
1608
+ * // ... provide filter here
1609
+ * }
1610
+ * })
1611
+ *
1612
+ */
1613
+ deleteMany<T extends PRDPageDeleteManyArgs>(args?: Prisma.SelectSubset<T, PRDPageDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1614
+
1615
+ /**
1616
+ * Update zero or more PRDPages.
1617
+ * Note, that providing `undefined` is treated as the value not being there.
1618
+ * Read more here: https://pris.ly/d/null-undefined
1619
+ * @param {PRDPageUpdateManyArgs} args - Arguments to update one or more rows.
1620
+ * @example
1621
+ * // Update many PRDPages
1622
+ * const pRDPage = await prisma.pRDPage.updateMany({
1623
+ * where: {
1624
+ * // ... provide filter here
1625
+ * },
1626
+ * data: {
1627
+ * // ... provide data here
1628
+ * }
1629
+ * })
1630
+ *
1631
+ */
1632
+ updateMany<T extends PRDPageUpdateManyArgs>(args: Prisma.SelectSubset<T, PRDPageUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1633
+
1634
+ /**
1635
+ * Update zero or more PRDPages and returns the data updated in the database.
1636
+ * @param {PRDPageUpdateManyAndReturnArgs} args - Arguments to update many PRDPages.
1637
+ * @example
1638
+ * // Update many PRDPages
1639
+ * const pRDPage = await prisma.pRDPage.updateManyAndReturn({
1640
+ * where: {
1641
+ * // ... provide filter here
1642
+ * },
1643
+ * data: [
1644
+ * // ... provide data here
1645
+ * ]
1646
+ * })
1647
+ *
1648
+ * // Update zero or more PRDPages and only return the `id`
1649
+ * const pRDPageWithIdOnly = await prisma.pRDPage.updateManyAndReturn({
1650
+ * select: { id: true },
1651
+ * where: {
1652
+ * // ... provide filter here
1653
+ * },
1654
+ * data: [
1655
+ * // ... provide data here
1656
+ * ]
1657
+ * })
1658
+ * Note, that providing `undefined` is treated as the value not being there.
1659
+ * Read more here: https://pris.ly/d/null-undefined
1660
+ *
1661
+ */
1662
+ updateManyAndReturn<T extends PRDPageUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PRDPageUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PRDPagePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1663
+
1664
+ /**
1665
+ * Create or update one PRDPage.
1666
+ * @param {PRDPageUpsertArgs} args - Arguments to update or create a PRDPage.
1667
+ * @example
1668
+ * // Update or create a PRDPage
1669
+ * const pRDPage = await prisma.pRDPage.upsert({
1670
+ * create: {
1671
+ * // ... data to create a PRDPage
1672
+ * },
1673
+ * update: {
1674
+ * // ... in case it already exists, update
1675
+ * },
1676
+ * where: {
1677
+ * // ... the filter for the PRDPage we want to update
1678
+ * }
1679
+ * })
1680
+ */
1681
+ 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>
1682
+
1683
+
1684
+ /**
1685
+ * Count the number of PRDPages.
1686
+ * Note, that providing `undefined` is treated as the value not being there.
1687
+ * Read more here: https://pris.ly/d/null-undefined
1688
+ * @param {PRDPageCountArgs} args - Arguments to filter PRDPages to count.
1689
+ * @example
1690
+ * // Count the number of PRDPages
1691
+ * const count = await prisma.pRDPage.count({
1692
+ * where: {
1693
+ * // ... the filter for the PRDPages we want to count
1694
+ * }
1695
+ * })
1696
+ **/
1697
+ count<T extends PRDPageCountArgs>(
1698
+ args?: Prisma.Subset<T, PRDPageCountArgs>,
1699
+ ): Prisma.PrismaPromise<
1700
+ T extends runtime.Types.Utils.Record<'select', any>
1701
+ ? T['select'] extends true
1702
+ ? number
1703
+ : Prisma.GetScalarType<T['select'], PRDPageCountAggregateOutputType>
1704
+ : number
1705
+ >
1706
+
1707
+ /**
1708
+ * Allows you to perform aggregations operations on a PRDPage.
1709
+ * Note, that providing `undefined` is treated as the value not being there.
1710
+ * Read more here: https://pris.ly/d/null-undefined
1711
+ * @param {PRDPageAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1712
+ * @example
1713
+ * // Ordered by age ascending
1714
+ * // Where email contains prisma.io
1715
+ * // Limited to the 10 users
1716
+ * const aggregations = await prisma.user.aggregate({
1717
+ * _avg: {
1718
+ * age: true,
1719
+ * },
1720
+ * where: {
1721
+ * email: {
1722
+ * contains: "prisma.io",
1723
+ * },
1724
+ * },
1725
+ * orderBy: {
1726
+ * age: "asc",
1727
+ * },
1728
+ * take: 10,
1729
+ * })
1730
+ **/
1731
+ aggregate<T extends PRDPageAggregateArgs>(args: Prisma.Subset<T, PRDPageAggregateArgs>): Prisma.PrismaPromise<GetPRDPageAggregateType<T>>
1732
+
1733
+ /**
1734
+ * Group by PRDPage.
1735
+ * Note, that providing `undefined` is treated as the value not being there.
1736
+ * Read more here: https://pris.ly/d/null-undefined
1737
+ * @param {PRDPageGroupByArgs} args - Group by arguments.
1738
+ * @example
1739
+ * // Group by city, order by createdAt, get count
1740
+ * const result = await prisma.user.groupBy({
1741
+ * by: ['city', 'createdAt'],
1742
+ * orderBy: {
1743
+ * createdAt: true
1744
+ * },
1745
+ * _count: {
1746
+ * _all: true
1747
+ * },
1748
+ * })
1749
+ *
1750
+ **/
1751
+ groupBy<
1752
+ T extends PRDPageGroupByArgs,
1753
+ HasSelectOrTake extends Prisma.Or<
1754
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1755
+ Prisma.Extends<'take', Prisma.Keys<T>>
1756
+ >,
1757
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1758
+ ? { orderBy: PRDPageGroupByArgs['orderBy'] }
1759
+ : { orderBy?: PRDPageGroupByArgs['orderBy'] },
1760
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1761
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1762
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1763
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1764
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1765
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1766
+ InputErrors extends ByEmpty extends Prisma.True
1767
+ ? `Error: "by" must not be empty.`
1768
+ : HavingValid extends Prisma.False
1769
+ ? {
1770
+ [P in HavingFields]: P extends ByFields
1771
+ ? never
1772
+ : P extends string
1773
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1774
+ : [
1775
+ Error,
1776
+ 'Field ',
1777
+ P,
1778
+ ` in "having" needs to be provided in "by"`,
1779
+ ]
1780
+ }[HavingFields]
1781
+ : 'take' extends Prisma.Keys<T>
1782
+ ? 'orderBy' extends Prisma.Keys<T>
1783
+ ? ByValid extends Prisma.True
1784
+ ? {}
1785
+ : {
1786
+ [P in OrderFields]: P extends ByFields
1787
+ ? never
1788
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1789
+ }[OrderFields]
1790
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1791
+ : 'skip' extends Prisma.Keys<T>
1792
+ ? 'orderBy' extends Prisma.Keys<T>
1793
+ ? ByValid extends Prisma.True
1794
+ ? {}
1795
+ : {
1796
+ [P in OrderFields]: P extends ByFields
1797
+ ? never
1798
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1799
+ }[OrderFields]
1800
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1801
+ : ByValid extends Prisma.True
1802
+ ? {}
1803
+ : {
1804
+ [P in OrderFields]: P extends ByFields
1805
+ ? never
1806
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1807
+ }[OrderFields]
1808
+ >(args: Prisma.SubsetIntersection<T, PRDPageGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPRDPageGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1809
+ /**
1810
+ * Fields of the PRDPage model
1811
+ */
1812
+ readonly fields: PRDPageFieldRefs;
1813
+ }
1814
+
1815
+ /**
1816
+ * The delegate class that acts as a "Promise-like" for PRDPage.
1817
+ * Why is this prefixed with `Prisma__`?
1818
+ * Because we want to prevent naming conflicts as mentioned in
1819
+ * https://github.com/prisma/prisma-client-js/issues/707
1820
+ */
1821
+ export interface Prisma__PRDPageClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1822
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1823
+ 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>
1824
+ 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>
1825
+ 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>
1826
+ 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>
1827
+ 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>
1828
+ 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>
1829
+ /**
1830
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1831
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1832
+ * @param onrejected The callback to execute when the Promise is rejected.
1833
+ * @returns A Promise for the completion of which ever callback is executed.
1834
+ */
1835
+ 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>
1836
+ /**
1837
+ * Attaches a callback for only the rejection of the Promise.
1838
+ * @param onrejected The callback to execute when the Promise is rejected.
1839
+ * @returns A Promise for the completion of the callback.
1840
+ */
1841
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1842
+ /**
1843
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1844
+ * resolved value cannot be modified from the callback.
1845
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1846
+ * @returns A Promise for the completion of the callback.
1847
+ */
1848
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1849
+ }
1850
+
1851
+
1852
+
1853
+
1854
+ /**
1855
+ * Fields of the PRDPage model
1856
+ */
1857
+ export interface PRDPageFieldRefs {
1858
+ readonly id: Prisma.FieldRef<"PRDPage", 'String'>
1859
+ readonly prdId: Prisma.FieldRef<"PRDPage", 'String'>
1860
+ readonly parentId: Prisma.FieldRef<"PRDPage", 'String'>
1861
+ readonly name: Prisma.FieldRef<"PRDPage", 'String'>
1862
+ readonly order: Prisma.FieldRef<"PRDPage", 'Int'>
1863
+ readonly type: Prisma.FieldRef<"PRDPage", 'String'>
1864
+ readonly canvas: Prisma.FieldRef<"PRDPage", 'Json'>
1865
+ readonly content: Prisma.FieldRef<"PRDPage", 'Json'>
1866
+ readonly version: Prisma.FieldRef<"PRDPage", 'Int'>
1867
+ readonly createdAt: Prisma.FieldRef<"PRDPage", 'DateTime'>
1868
+ readonly updatedAt: Prisma.FieldRef<"PRDPage", 'DateTime'>
1869
+ }
1870
+
1871
+
1872
+ // Custom InputTypes
1873
+ /**
1874
+ * PRDPage findUnique
1875
+ */
1876
+ export type PRDPageFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1877
+ /**
1878
+ * Select specific fields to fetch from the PRDPage
1879
+ */
1880
+ select?: Prisma.PRDPageSelect<ExtArgs> | null
1881
+ /**
1882
+ * Omit specific fields from the PRDPage
1883
+ */
1884
+ omit?: Prisma.PRDPageOmit<ExtArgs> | null
1885
+ /**
1886
+ * Choose, which related nodes to fetch as well
1887
+ */
1888
+ include?: Prisma.PRDPageInclude<ExtArgs> | null
1889
+ /**
1890
+ * Filter, which PRDPage to fetch.
1891
+ */
1892
+ where: Prisma.PRDPageWhereUniqueInput
1893
+ }
1894
+
1895
+ /**
1896
+ * PRDPage findUniqueOrThrow
1897
+ */
1898
+ export type PRDPageFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1899
+ /**
1900
+ * Select specific fields to fetch from the PRDPage
1901
+ */
1902
+ select?: Prisma.PRDPageSelect<ExtArgs> | null
1903
+ /**
1904
+ * Omit specific fields from the PRDPage
1905
+ */
1906
+ omit?: Prisma.PRDPageOmit<ExtArgs> | null
1907
+ /**
1908
+ * Choose, which related nodes to fetch as well
1909
+ */
1910
+ include?: Prisma.PRDPageInclude<ExtArgs> | null
1911
+ /**
1912
+ * Filter, which PRDPage to fetch.
1913
+ */
1914
+ where: Prisma.PRDPageWhereUniqueInput
1915
+ }
1916
+
1917
+ /**
1918
+ * PRDPage findFirst
1919
+ */
1920
+ export type PRDPageFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1921
+ /**
1922
+ * Select specific fields to fetch from the PRDPage
1923
+ */
1924
+ select?: Prisma.PRDPageSelect<ExtArgs> | null
1925
+ /**
1926
+ * Omit specific fields from the PRDPage
1927
+ */
1928
+ omit?: Prisma.PRDPageOmit<ExtArgs> | null
1929
+ /**
1930
+ * Choose, which related nodes to fetch as well
1931
+ */
1932
+ include?: Prisma.PRDPageInclude<ExtArgs> | null
1933
+ /**
1934
+ * Filter, which PRDPage to fetch.
1935
+ */
1936
+ where?: Prisma.PRDPageWhereInput
1937
+ /**
1938
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1939
+ *
1940
+ * Determine the order of PRDPages to fetch.
1941
+ */
1942
+ orderBy?: Prisma.PRDPageOrderByWithRelationInput | Prisma.PRDPageOrderByWithRelationInput[]
1943
+ /**
1944
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1945
+ *
1946
+ * Sets the position for searching for PRDPages.
1947
+ */
1948
+ cursor?: Prisma.PRDPageWhereUniqueInput
1949
+ /**
1950
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1951
+ *
1952
+ * Take `±n` PRDPages from the position of the cursor.
1953
+ */
1954
+ take?: number
1955
+ /**
1956
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1957
+ *
1958
+ * Skip the first `n` PRDPages.
1959
+ */
1960
+ skip?: number
1961
+ /**
1962
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1963
+ *
1964
+ * Filter by unique combinations of PRDPages.
1965
+ */
1966
+ distinct?: Prisma.PRDPageScalarFieldEnum | Prisma.PRDPageScalarFieldEnum[]
1967
+ }
1968
+
1969
+ /**
1970
+ * PRDPage findFirstOrThrow
1971
+ */
1972
+ export type PRDPageFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1973
+ /**
1974
+ * Select specific fields to fetch from the PRDPage
1975
+ */
1976
+ select?: Prisma.PRDPageSelect<ExtArgs> | null
1977
+ /**
1978
+ * Omit specific fields from the PRDPage
1979
+ */
1980
+ omit?: Prisma.PRDPageOmit<ExtArgs> | null
1981
+ /**
1982
+ * Choose, which related nodes to fetch as well
1983
+ */
1984
+ include?: Prisma.PRDPageInclude<ExtArgs> | null
1985
+ /**
1986
+ * Filter, which PRDPage to fetch.
1987
+ */
1988
+ where?: Prisma.PRDPageWhereInput
1989
+ /**
1990
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1991
+ *
1992
+ * Determine the order of PRDPages to fetch.
1993
+ */
1994
+ orderBy?: Prisma.PRDPageOrderByWithRelationInput | Prisma.PRDPageOrderByWithRelationInput[]
1995
+ /**
1996
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1997
+ *
1998
+ * Sets the position for searching for PRDPages.
1999
+ */
2000
+ cursor?: Prisma.PRDPageWhereUniqueInput
2001
+ /**
2002
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2003
+ *
2004
+ * Take `±n` PRDPages from the position of the cursor.
2005
+ */
2006
+ take?: number
2007
+ /**
2008
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2009
+ *
2010
+ * Skip the first `n` PRDPages.
2011
+ */
2012
+ skip?: number
2013
+ /**
2014
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2015
+ *
2016
+ * Filter by unique combinations of PRDPages.
2017
+ */
2018
+ distinct?: Prisma.PRDPageScalarFieldEnum | Prisma.PRDPageScalarFieldEnum[]
2019
+ }
2020
+
2021
+ /**
2022
+ * PRDPage findMany
2023
+ */
2024
+ export type PRDPageFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2025
+ /**
2026
+ * Select specific fields to fetch from the PRDPage
2027
+ */
2028
+ select?: Prisma.PRDPageSelect<ExtArgs> | null
2029
+ /**
2030
+ * Omit specific fields from the PRDPage
2031
+ */
2032
+ omit?: Prisma.PRDPageOmit<ExtArgs> | null
2033
+ /**
2034
+ * Choose, which related nodes to fetch as well
2035
+ */
2036
+ include?: Prisma.PRDPageInclude<ExtArgs> | null
2037
+ /**
2038
+ * Filter, which PRDPages to fetch.
2039
+ */
2040
+ where?: Prisma.PRDPageWhereInput
2041
+ /**
2042
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2043
+ *
2044
+ * Determine the order of PRDPages to fetch.
2045
+ */
2046
+ orderBy?: Prisma.PRDPageOrderByWithRelationInput | Prisma.PRDPageOrderByWithRelationInput[]
2047
+ /**
2048
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2049
+ *
2050
+ * Sets the position for listing PRDPages.
2051
+ */
2052
+ cursor?: Prisma.PRDPageWhereUniqueInput
2053
+ /**
2054
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2055
+ *
2056
+ * Take `±n` PRDPages from the position of the cursor.
2057
+ */
2058
+ take?: number
2059
+ /**
2060
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2061
+ *
2062
+ * Skip the first `n` PRDPages.
2063
+ */
2064
+ skip?: number
2065
+ /**
2066
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2067
+ *
2068
+ * Filter by unique combinations of PRDPages.
2069
+ */
2070
+ distinct?: Prisma.PRDPageScalarFieldEnum | Prisma.PRDPageScalarFieldEnum[]
2071
+ }
2072
+
2073
+ /**
2074
+ * PRDPage create
2075
+ */
2076
+ export type PRDPageCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2077
+ /**
2078
+ * Select specific fields to fetch from the PRDPage
2079
+ */
2080
+ select?: Prisma.PRDPageSelect<ExtArgs> | null
2081
+ /**
2082
+ * Omit specific fields from the PRDPage
2083
+ */
2084
+ omit?: Prisma.PRDPageOmit<ExtArgs> | null
2085
+ /**
2086
+ * Choose, which related nodes to fetch as well
2087
+ */
2088
+ include?: Prisma.PRDPageInclude<ExtArgs> | null
2089
+ /**
2090
+ * The data needed to create a PRDPage.
2091
+ */
2092
+ data: Prisma.XOR<Prisma.PRDPageCreateInput, Prisma.PRDPageUncheckedCreateInput>
2093
+ }
2094
+
2095
+ /**
2096
+ * PRDPage createMany
2097
+ */
2098
+ export type PRDPageCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2099
+ /**
2100
+ * The data used to create many PRDPages.
2101
+ */
2102
+ data: Prisma.PRDPageCreateManyInput | Prisma.PRDPageCreateManyInput[]
2103
+ }
2104
+
2105
+ /**
2106
+ * PRDPage createManyAndReturn
2107
+ */
2108
+ export type PRDPageCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2109
+ /**
2110
+ * Select specific fields to fetch from the PRDPage
2111
+ */
2112
+ select?: Prisma.PRDPageSelectCreateManyAndReturn<ExtArgs> | null
2113
+ /**
2114
+ * Omit specific fields from the PRDPage
2115
+ */
2116
+ omit?: Prisma.PRDPageOmit<ExtArgs> | null
2117
+ /**
2118
+ * The data used to create many PRDPages.
2119
+ */
2120
+ data: Prisma.PRDPageCreateManyInput | Prisma.PRDPageCreateManyInput[]
2121
+ /**
2122
+ * Choose, which related nodes to fetch as well
2123
+ */
2124
+ include?: Prisma.PRDPageIncludeCreateManyAndReturn<ExtArgs> | null
2125
+ }
2126
+
2127
+ /**
2128
+ * PRDPage update
2129
+ */
2130
+ export type PRDPageUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2131
+ /**
2132
+ * Select specific fields to fetch from the PRDPage
2133
+ */
2134
+ select?: Prisma.PRDPageSelect<ExtArgs> | null
2135
+ /**
2136
+ * Omit specific fields from the PRDPage
2137
+ */
2138
+ omit?: Prisma.PRDPageOmit<ExtArgs> | null
2139
+ /**
2140
+ * Choose, which related nodes to fetch as well
2141
+ */
2142
+ include?: Prisma.PRDPageInclude<ExtArgs> | null
2143
+ /**
2144
+ * The data needed to update a PRDPage.
2145
+ */
2146
+ data: Prisma.XOR<Prisma.PRDPageUpdateInput, Prisma.PRDPageUncheckedUpdateInput>
2147
+ /**
2148
+ * Choose, which PRDPage to update.
2149
+ */
2150
+ where: Prisma.PRDPageWhereUniqueInput
2151
+ }
2152
+
2153
+ /**
2154
+ * PRDPage updateMany
2155
+ */
2156
+ export type PRDPageUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2157
+ /**
2158
+ * The data used to update PRDPages.
2159
+ */
2160
+ data: Prisma.XOR<Prisma.PRDPageUpdateManyMutationInput, Prisma.PRDPageUncheckedUpdateManyInput>
2161
+ /**
2162
+ * Filter which PRDPages to update
2163
+ */
2164
+ where?: Prisma.PRDPageWhereInput
2165
+ /**
2166
+ * Limit how many PRDPages to update.
2167
+ */
2168
+ limit?: number
2169
+ }
2170
+
2171
+ /**
2172
+ * PRDPage updateManyAndReturn
2173
+ */
2174
+ export type PRDPageUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2175
+ /**
2176
+ * Select specific fields to fetch from the PRDPage
2177
+ */
2178
+ select?: Prisma.PRDPageSelectUpdateManyAndReturn<ExtArgs> | null
2179
+ /**
2180
+ * Omit specific fields from the PRDPage
2181
+ */
2182
+ omit?: Prisma.PRDPageOmit<ExtArgs> | null
2183
+ /**
2184
+ * The data used to update PRDPages.
2185
+ */
2186
+ data: Prisma.XOR<Prisma.PRDPageUpdateManyMutationInput, Prisma.PRDPageUncheckedUpdateManyInput>
2187
+ /**
2188
+ * Filter which PRDPages to update
2189
+ */
2190
+ where?: Prisma.PRDPageWhereInput
2191
+ /**
2192
+ * Limit how many PRDPages to update.
2193
+ */
2194
+ limit?: number
2195
+ /**
2196
+ * Choose, which related nodes to fetch as well
2197
+ */
2198
+ include?: Prisma.PRDPageIncludeUpdateManyAndReturn<ExtArgs> | null
2199
+ }
2200
+
2201
+ /**
2202
+ * PRDPage upsert
2203
+ */
2204
+ export type PRDPageUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2205
+ /**
2206
+ * Select specific fields to fetch from the PRDPage
2207
+ */
2208
+ select?: Prisma.PRDPageSelect<ExtArgs> | null
2209
+ /**
2210
+ * Omit specific fields from the PRDPage
2211
+ */
2212
+ omit?: Prisma.PRDPageOmit<ExtArgs> | null
2213
+ /**
2214
+ * Choose, which related nodes to fetch as well
2215
+ */
2216
+ include?: Prisma.PRDPageInclude<ExtArgs> | null
2217
+ /**
2218
+ * The filter to search for the PRDPage to update in case it exists.
2219
+ */
2220
+ where: Prisma.PRDPageWhereUniqueInput
2221
+ /**
2222
+ * In case the PRDPage found by the `where` argument doesn't exist, create a new PRDPage with this data.
2223
+ */
2224
+ create: Prisma.XOR<Prisma.PRDPageCreateInput, Prisma.PRDPageUncheckedCreateInput>
2225
+ /**
2226
+ * In case the PRDPage was found with the provided `where` argument, update it with this data.
2227
+ */
2228
+ update: Prisma.XOR<Prisma.PRDPageUpdateInput, Prisma.PRDPageUncheckedUpdateInput>
2229
+ }
2230
+
2231
+ /**
2232
+ * PRDPage delete
2233
+ */
2234
+ export type PRDPageDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2235
+ /**
2236
+ * Select specific fields to fetch from the PRDPage
2237
+ */
2238
+ select?: Prisma.PRDPageSelect<ExtArgs> | null
2239
+ /**
2240
+ * Omit specific fields from the PRDPage
2241
+ */
2242
+ omit?: Prisma.PRDPageOmit<ExtArgs> | null
2243
+ /**
2244
+ * Choose, which related nodes to fetch as well
2245
+ */
2246
+ include?: Prisma.PRDPageInclude<ExtArgs> | null
2247
+ /**
2248
+ * Filter which PRDPage to delete.
2249
+ */
2250
+ where: Prisma.PRDPageWhereUniqueInput
2251
+ }
2252
+
2253
+ /**
2254
+ * PRDPage deleteMany
2255
+ */
2256
+ export type PRDPageDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2257
+ /**
2258
+ * Filter which PRDPages to delete
2259
+ */
2260
+ where?: Prisma.PRDPageWhereInput
2261
+ /**
2262
+ * Limit how many PRDPages to delete.
2263
+ */
2264
+ limit?: number
2265
+ }
2266
+
2267
+ /**
2268
+ * PRDPage.parent
2269
+ */
2270
+ export type PRDPage$parentArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2271
+ /**
2272
+ * Select specific fields to fetch from the PRDPage
2273
+ */
2274
+ select?: Prisma.PRDPageSelect<ExtArgs> | null
2275
+ /**
2276
+ * Omit specific fields from the PRDPage
2277
+ */
2278
+ omit?: Prisma.PRDPageOmit<ExtArgs> | null
2279
+ /**
2280
+ * Choose, which related nodes to fetch as well
2281
+ */
2282
+ include?: Prisma.PRDPageInclude<ExtArgs> | null
2283
+ where?: Prisma.PRDPageWhereInput
2284
+ }
2285
+
2286
+ /**
2287
+ * PRDPage.children
2288
+ */
2289
+ export type PRDPage$childrenArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2290
+ /**
2291
+ * Select specific fields to fetch from the PRDPage
2292
+ */
2293
+ select?: Prisma.PRDPageSelect<ExtArgs> | null
2294
+ /**
2295
+ * Omit specific fields from the PRDPage
2296
+ */
2297
+ omit?: Prisma.PRDPageOmit<ExtArgs> | null
2298
+ /**
2299
+ * Choose, which related nodes to fetch as well
2300
+ */
2301
+ include?: Prisma.PRDPageInclude<ExtArgs> | null
2302
+ where?: Prisma.PRDPageWhereInput
2303
+ orderBy?: Prisma.PRDPageOrderByWithRelationInput | Prisma.PRDPageOrderByWithRelationInput[]
2304
+ cursor?: Prisma.PRDPageWhereUniqueInput
2305
+ take?: number
2306
+ skip?: number
2307
+ distinct?: Prisma.PRDPageScalarFieldEnum | Prisma.PRDPageScalarFieldEnum[]
2308
+ }
2309
+
2310
+ /**
2311
+ * PRDPage.componentInstances
2312
+ */
2313
+ export type PRDPage$componentInstancesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2314
+ /**
2315
+ * Select specific fields to fetch from the ComponentInstance
2316
+ */
2317
+ select?: Prisma.ComponentInstanceSelect<ExtArgs> | null
2318
+ /**
2319
+ * Omit specific fields from the ComponentInstance
2320
+ */
2321
+ omit?: Prisma.ComponentInstanceOmit<ExtArgs> | null
2322
+ /**
2323
+ * Choose, which related nodes to fetch as well
2324
+ */
2325
+ include?: Prisma.ComponentInstanceInclude<ExtArgs> | null
2326
+ where?: Prisma.ComponentInstanceWhereInput
2327
+ orderBy?: Prisma.ComponentInstanceOrderByWithRelationInput | Prisma.ComponentInstanceOrderByWithRelationInput[]
2328
+ cursor?: Prisma.ComponentInstanceWhereUniqueInput
2329
+ take?: number
2330
+ skip?: number
2331
+ distinct?: Prisma.ComponentInstanceScalarFieldEnum | Prisma.ComponentInstanceScalarFieldEnum[]
2332
+ }
2333
+
2334
+ /**
2335
+ * PRDPage.blockInstances
2336
+ */
2337
+ export type PRDPage$blockInstancesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2338
+ /**
2339
+ * Select specific fields to fetch from the BlockInstance
2340
+ */
2341
+ select?: Prisma.BlockInstanceSelect<ExtArgs> | null
2342
+ /**
2343
+ * Omit specific fields from the BlockInstance
2344
+ */
2345
+ omit?: Prisma.BlockInstanceOmit<ExtArgs> | null
2346
+ /**
2347
+ * Choose, which related nodes to fetch as well
2348
+ */
2349
+ include?: Prisma.BlockInstanceInclude<ExtArgs> | null
2350
+ where?: Prisma.BlockInstanceWhereInput
2351
+ orderBy?: Prisma.BlockInstanceOrderByWithRelationInput | Prisma.BlockInstanceOrderByWithRelationInput[]
2352
+ cursor?: Prisma.BlockInstanceWhereUniqueInput
2353
+ take?: number
2354
+ skip?: number
2355
+ distinct?: Prisma.BlockInstanceScalarFieldEnum | Prisma.BlockInstanceScalarFieldEnum[]
2356
+ }
2357
+
2358
+ /**
2359
+ * PRDPage.pageVersions
2360
+ */
2361
+ export type PRDPage$pageVersionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2362
+ /**
2363
+ * Select specific fields to fetch from the PageVersion
2364
+ */
2365
+ select?: Prisma.PageVersionSelect<ExtArgs> | null
2366
+ /**
2367
+ * Omit specific fields from the PageVersion
2368
+ */
2369
+ omit?: Prisma.PageVersionOmit<ExtArgs> | null
2370
+ /**
2371
+ * Choose, which related nodes to fetch as well
2372
+ */
2373
+ include?: Prisma.PageVersionInclude<ExtArgs> | null
2374
+ where?: Prisma.PageVersionWhereInput
2375
+ orderBy?: Prisma.PageVersionOrderByWithRelationInput | Prisma.PageVersionOrderByWithRelationInput[]
2376
+ cursor?: Prisma.PageVersionWhereUniqueInput
2377
+ take?: number
2378
+ skip?: number
2379
+ distinct?: Prisma.PageVersionScalarFieldEnum | Prisma.PageVersionScalarFieldEnum[]
2380
+ }
2381
+
2382
+ /**
2383
+ * PRDPage without action
2384
+ */
2385
+ export type PRDPageDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2386
+ /**
2387
+ * Select specific fields to fetch from the PRDPage
2388
+ */
2389
+ select?: Prisma.PRDPageSelect<ExtArgs> | null
2390
+ /**
2391
+ * Omit specific fields from the PRDPage
2392
+ */
2393
+ omit?: Prisma.PRDPageOmit<ExtArgs> | null
2394
+ /**
2395
+ * Choose, which related nodes to fetch as well
2396
+ */
2397
+ include?: Prisma.PRDPageInclude<ExtArgs> | null
2398
+ }