@allbluecn/database 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (190) hide show
  1. package/desktop-init.ts +128 -0
  2. package/generated/browser.ts +494 -0
  3. package/generated/client.ts +518 -0
  4. package/generated/commonInputTypes.ts +1056 -0
  5. package/generated/enums.ts +93 -0
  6. package/generated/internal/class.ts +1144 -0
  7. package/generated/internal/prismaNamespace.ts +9603 -0
  8. package/generated/internal/prismaNamespaceBrowser.ts +1695 -0
  9. package/generated/models/Account.ts +1648 -0
  10. package/generated/models/AgentConversation.ts +1651 -0
  11. package/generated/models/AgentMessage.ts +1409 -0
  12. package/generated/models/AiProvider.ts +1607 -0
  13. package/generated/models/AiProviderConfig.ts +1514 -0
  14. package/generated/models/AiUsageLog.ts +1863 -0
  15. package/generated/models/AnyHubApp.ts +1911 -0
  16. package/generated/models/AnyHubMarketApp.ts +2008 -0
  17. package/generated/models/AnyHubPermission.ts +1422 -0
  18. package/generated/models/AnyHubRecommendation.ts +1870 -0
  19. package/generated/models/AnyHubRecommender.ts +1471 -0
  20. package/generated/models/Artboard.ts +1811 -0
  21. package/generated/models/ArtboardExport.ts +1548 -0
  22. package/generated/models/ArticleFavorite.ts +1352 -0
  23. package/generated/models/AuditLog.ts +1533 -0
  24. package/generated/models/Block.ts +1650 -0
  25. package/generated/models/BlockComponent.ts +1734 -0
  26. package/generated/models/BlockInstance.ts +2043 -0
  27. package/generated/models/BookmarkCategory.ts +1670 -0
  28. package/generated/models/ChatInterrupt.ts +1699 -0
  29. package/generated/models/ChatMessage.ts +1438 -0
  30. package/generated/models/ChatRun.ts +1632 -0
  31. package/generated/models/ChatThread.ts +2133 -0
  32. package/generated/models/Comment.ts +2206 -0
  33. package/generated/models/CommentIgnore.ts +1430 -0
  34. package/generated/models/CommentReaction.ts +1472 -0
  35. package/generated/models/ComplianceExport.ts +1345 -0
  36. package/generated/models/Component.ts +2345 -0
  37. package/generated/models/ComponentInstance.ts +2102 -0
  38. package/generated/models/ComponentTag.ts +1281 -0
  39. package/generated/models/CustomRole.ts +1560 -0
  40. package/generated/models/DesignProject.ts +1643 -0
  41. package/generated/models/DictionaryTerm.ts +1642 -0
  42. package/generated/models/GenerationRun.ts +1543 -0
  43. package/generated/models/IndustryCompliance.ts +1797 -0
  44. package/generated/models/InvitationCode.ts +1417 -0
  45. package/generated/models/InvitationUse.ts +1424 -0
  46. package/generated/models/Invoice.ts +1710 -0
  47. package/generated/models/KnowledgeBase.ts +1671 -0
  48. package/generated/models/KnowledgeDocument.ts +2458 -0
  49. package/generated/models/KnowledgeShareRecord.ts +1352 -0
  50. package/generated/models/Label.ts +1482 -0
  51. package/generated/models/LegalRegulation.ts +1873 -0
  52. package/generated/models/LicenseActivation.ts +1415 -0
  53. package/generated/models/LicenseKey.ts +1884 -0
  54. package/generated/models/LoginLog.ts +1450 -0
  55. package/generated/models/MonitoringErrorReport.ts +1299 -0
  56. package/generated/models/MonitoringHealthSnapshot.ts +1249 -0
  57. package/generated/models/MonitoringMetricsSnapshot.ts +1369 -0
  58. package/generated/models/MonitoringRequestLog.ts +1283 -0
  59. package/generated/models/PRD.ts +2805 -0
  60. package/generated/models/PRDPage.ts +2402 -0
  61. package/generated/models/PRDTag.ts +1430 -0
  62. package/generated/models/PRDVersion.ts +2121 -0
  63. package/generated/models/PageVersion.ts +1523 -0
  64. package/generated/models/PasswordResetToken.ts +1380 -0
  65. package/generated/models/Plan.ts +2069 -0
  66. package/generated/models/Project.ts +2148 -0
  67. package/generated/models/ProjectActivity.ts +1582 -0
  68. package/generated/models/ProjectMember.ts +1512 -0
  69. package/generated/models/ProviderEvent.ts +1227 -0
  70. package/generated/models/Reference.ts +1177 -0
  71. package/generated/models/Review.ts +1912 -0
  72. package/generated/models/ReviewComment.ts +1904 -0
  73. package/generated/models/RoleAssignment.ts +1430 -0
  74. package/generated/models/SequenceCounter.ts +1137 -0
  75. package/generated/models/Share.ts +1681 -0
  76. package/generated/models/ShareVersion.ts +1389 -0
  77. package/generated/models/SsoMapping.ts +1512 -0
  78. package/generated/models/SsoProvider.ts +1639 -0
  79. package/generated/models/Story.ts +5234 -0
  80. package/generated/models/StoryActivity.ts +1664 -0
  81. package/generated/models/StoryAttachment.ts +1467 -0
  82. package/generated/models/StoryComment.ts +1992 -0
  83. package/generated/models/StoryDependency.ts +1517 -0
  84. package/generated/models/StoryDocLink.ts +1430 -0
  85. package/generated/models/StoryFilterView.ts +1587 -0
  86. package/generated/models/StoryLabel.ts +1349 -0
  87. package/generated/models/StoryLink.ts +1415 -0
  88. package/generated/models/StoryPrdLink.ts +1430 -0
  89. package/generated/models/StoryReaction.ts +1472 -0
  90. package/generated/models/Subscription.ts +2147 -0
  91. package/generated/models/SystemSetting.ts +1217 -0
  92. package/generated/models/Tag.ts +1655 -0
  93. package/generated/models/TeamInvitation.ts +1526 -0
  94. package/generated/models/TeamMembership.ts +1436 -0
  95. package/generated/models/Template.ts +1391 -0
  96. package/generated/models/TemplateBlock.ts +1664 -0
  97. package/generated/models/ThirdPartyDependency.ts +1473 -0
  98. package/generated/models/UsageRecord.ts +1505 -0
  99. package/generated/models/User.ts +20998 -0
  100. package/generated/models/UserAgent.ts +1900 -0
  101. package/generated/models/UserSkill.ts +1456 -0
  102. package/generated/models/WebsiteBookmark.ts +2219 -0
  103. package/generated/models/Workspace.ts +2279 -0
  104. package/generated/models.ts +106 -0
  105. package/generated-sqlite/browser.ts +399 -0
  106. package/generated-sqlite/client.ts +423 -0
  107. package/generated-sqlite/commonInputTypes.ts +608 -0
  108. package/generated-sqlite/enums.ts +15 -0
  109. package/generated-sqlite/internal/class.ts +954 -0
  110. package/generated-sqlite/internal/prismaNamespace.ts +7716 -0
  111. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +1415 -0
  112. package/generated-sqlite/models/AgentConversation.ts +1647 -0
  113. package/generated-sqlite/models/AgentMessage.ts +1406 -0
  114. package/generated-sqlite/models/AiProvider.ts +1605 -0
  115. package/generated-sqlite/models/AiProviderConfig.ts +1511 -0
  116. package/generated-sqlite/models/AiUsageLog.ts +1845 -0
  117. package/generated-sqlite/models/AnyHubApp.ts +1908 -0
  118. package/generated-sqlite/models/AnyHubMarketApp.ts +1997 -0
  119. package/generated-sqlite/models/AnyHubPermission.ts +1419 -0
  120. package/generated-sqlite/models/AnyHubRecommendation.ts +1867 -0
  121. package/generated-sqlite/models/AnyHubRecommender.ts +1467 -0
  122. package/generated-sqlite/models/Artboard.ts +1808 -0
  123. package/generated-sqlite/models/ArtboardExport.ts +1545 -0
  124. package/generated-sqlite/models/ArticleFavorite.ts +1349 -0
  125. package/generated-sqlite/models/AuditLog.ts +1287 -0
  126. package/generated-sqlite/models/Block.ts +1648 -0
  127. package/generated-sqlite/models/BlockComponent.ts +1730 -0
  128. package/generated-sqlite/models/BlockInstance.ts +2039 -0
  129. package/generated-sqlite/models/BookmarkCategory.ts +1667 -0
  130. package/generated-sqlite/models/ChatInterrupt.ts +1695 -0
  131. package/generated-sqlite/models/ChatMessage.ts +1435 -0
  132. package/generated-sqlite/models/ChatRun.ts +1629 -0
  133. package/generated-sqlite/models/ChatThread.ts +2129 -0
  134. package/generated-sqlite/models/Comment.ts +2201 -0
  135. package/generated-sqlite/models/CommentIgnore.ts +1426 -0
  136. package/generated-sqlite/models/ComplianceExport.ts +1343 -0
  137. package/generated-sqlite/models/Component.ts +2326 -0
  138. package/generated-sqlite/models/ComponentInstance.ts +2097 -0
  139. package/generated-sqlite/models/ComponentTag.ts +1278 -0
  140. package/generated-sqlite/models/CustomRole.ts +1209 -0
  141. package/generated-sqlite/models/DesignProject.ts +1640 -0
  142. package/generated-sqlite/models/DictionaryTerm.ts +1639 -0
  143. package/generated-sqlite/models/GenerationRun.ts +1540 -0
  144. package/generated-sqlite/models/IndustryCompliance.ts +1794 -0
  145. package/generated-sqlite/models/InvitationCode.ts +1415 -0
  146. package/generated-sqlite/models/InvitationUse.ts +1420 -0
  147. package/generated-sqlite/models/Invoice.ts +1707 -0
  148. package/generated-sqlite/models/KnowledgeBase.ts +1668 -0
  149. package/generated-sqlite/models/KnowledgeDocument.ts +2282 -0
  150. package/generated-sqlite/models/KnowledgeShareRecord.ts +1349 -0
  151. package/generated-sqlite/models/LegalRegulation.ts +1870 -0
  152. package/generated-sqlite/models/LicenseActivation.ts +1203 -0
  153. package/generated-sqlite/models/LicenseKey.ts +1443 -0
  154. package/generated-sqlite/models/LoginLog.ts +1447 -0
  155. package/generated-sqlite/models/PRD.ts +2616 -0
  156. package/generated-sqlite/models/PRDPage.ts +2398 -0
  157. package/generated-sqlite/models/PRDTag.ts +1426 -0
  158. package/generated-sqlite/models/PRDVersion.ts +2117 -0
  159. package/generated-sqlite/models/PageVersion.ts +1528 -0
  160. package/generated-sqlite/models/PasswordResetToken.ts +1377 -0
  161. package/generated-sqlite/models/Plan.ts +2060 -0
  162. package/generated-sqlite/models/Project.ts +1994 -0
  163. package/generated-sqlite/models/ProjectActivity.ts +1578 -0
  164. package/generated-sqlite/models/ProjectMember.ts +1508 -0
  165. package/generated-sqlite/models/ProviderEvent.ts +1225 -0
  166. package/generated-sqlite/models/Reference.ts +1175 -0
  167. package/generated-sqlite/models/Review.ts +1903 -0
  168. package/generated-sqlite/models/ReviewComment.ts +1899 -0
  169. package/generated-sqlite/models/RoleAssignment.ts +1125 -0
  170. package/generated-sqlite/models/Share.ts +1674 -0
  171. package/generated-sqlite/models/ShareVersion.ts +1385 -0
  172. package/generated-sqlite/models/SsoMapping.ts +1181 -0
  173. package/generated-sqlite/models/SsoProvider.ts +1266 -0
  174. package/generated-sqlite/models/Subscription.ts +2137 -0
  175. package/generated-sqlite/models/SystemSetting.ts +1215 -0
  176. package/generated-sqlite/models/Tag.ts +1652 -0
  177. package/generated-sqlite/models/TeamInvitation.ts +1523 -0
  178. package/generated-sqlite/models/TeamMembership.ts +1433 -0
  179. package/generated-sqlite/models/Template.ts +1389 -0
  180. package/generated-sqlite/models/TemplateBlock.ts +1660 -0
  181. package/generated-sqlite/models/ThirdPartyDependency.ts +1471 -0
  182. package/generated-sqlite/models/UsageRecord.ts +1498 -0
  183. package/generated-sqlite/models/User.ts +13558 -0
  184. package/generated-sqlite/models/UserAgent.ts +1897 -0
  185. package/generated-sqlite/models/UserSkill.ts +1453 -0
  186. package/generated-sqlite/models/WebsiteBookmark.ts +2215 -0
  187. package/generated-sqlite/models/Workspace.ts +1824 -0
  188. package/generated-sqlite/models.ts +87 -0
  189. package/package.json +7 -3
  190. package/LICENSE +0 -661
@@ -0,0 +1,2805 @@
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 `PRD` 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 PRD
17
+ *
18
+ */
19
+ export type PRDModel = runtime.Types.Result.DefaultSelection<Prisma.$PRDPayload>
20
+
21
+ export type AggregatePRD = {
22
+ _count: PRDCountAggregateOutputType | null
23
+ _min: PRDMinAggregateOutputType | null
24
+ _max: PRDMaxAggregateOutputType | null
25
+ }
26
+
27
+ export type PRDMinAggregateOutputType = {
28
+ id: string | null
29
+ icon: string | null
30
+ name: string | null
31
+ description: string | null
32
+ userId: string | null
33
+ isDeleted: boolean | null
34
+ deletedAt: Date | null
35
+ createdAt: Date | null
36
+ updatedAt: Date | null
37
+ }
38
+
39
+ export type PRDMaxAggregateOutputType = {
40
+ id: string | null
41
+ icon: string | null
42
+ name: string | null
43
+ description: string | null
44
+ userId: string | null
45
+ isDeleted: boolean | null
46
+ deletedAt: Date | null
47
+ createdAt: Date | null
48
+ updatedAt: Date | null
49
+ }
50
+
51
+ export type PRDCountAggregateOutputType = {
52
+ id: number
53
+ icon: number
54
+ name: number
55
+ description: number
56
+ settings: number
57
+ userId: number
58
+ isDeleted: number
59
+ deletedAt: number
60
+ createdAt: number
61
+ updatedAt: number
62
+ _all: number
63
+ }
64
+
65
+
66
+ export type PRDMinAggregateInputType = {
67
+ id?: true
68
+ icon?: true
69
+ name?: true
70
+ description?: true
71
+ userId?: true
72
+ isDeleted?: true
73
+ deletedAt?: true
74
+ createdAt?: true
75
+ updatedAt?: true
76
+ }
77
+
78
+ export type PRDMaxAggregateInputType = {
79
+ id?: true
80
+ icon?: true
81
+ name?: true
82
+ description?: true
83
+ userId?: true
84
+ isDeleted?: true
85
+ deletedAt?: true
86
+ createdAt?: true
87
+ updatedAt?: true
88
+ }
89
+
90
+ export type PRDCountAggregateInputType = {
91
+ id?: true
92
+ icon?: true
93
+ name?: true
94
+ description?: true
95
+ settings?: true
96
+ userId?: true
97
+ isDeleted?: true
98
+ deletedAt?: true
99
+ createdAt?: true
100
+ updatedAt?: true
101
+ _all?: true
102
+ }
103
+
104
+ export type PRDAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
105
+ /**
106
+ * Filter which PRD to aggregate.
107
+ */
108
+ where?: Prisma.PRDWhereInput
109
+ /**
110
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
111
+ *
112
+ * Determine the order of PRDS to fetch.
113
+ */
114
+ orderBy?: Prisma.PRDOrderByWithRelationInput | Prisma.PRDOrderByWithRelationInput[]
115
+ /**
116
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
117
+ *
118
+ * Sets the start position
119
+ */
120
+ cursor?: Prisma.PRDWhereUniqueInput
121
+ /**
122
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
123
+ *
124
+ * Take `±n` PRDS from the position of the cursor.
125
+ */
126
+ take?: number
127
+ /**
128
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
129
+ *
130
+ * Skip the first `n` PRDS.
131
+ */
132
+ skip?: number
133
+ /**
134
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
135
+ *
136
+ * Count returned PRDS
137
+ **/
138
+ _count?: true | PRDCountAggregateInputType
139
+ /**
140
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
141
+ *
142
+ * Select which fields to find the minimum value
143
+ **/
144
+ _min?: PRDMinAggregateInputType
145
+ /**
146
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
147
+ *
148
+ * Select which fields to find the maximum value
149
+ **/
150
+ _max?: PRDMaxAggregateInputType
151
+ }
152
+
153
+ export type GetPRDAggregateType<T extends PRDAggregateArgs> = {
154
+ [P in keyof T & keyof AggregatePRD]: P extends '_count' | 'count'
155
+ ? T[P] extends true
156
+ ? number
157
+ : Prisma.GetScalarType<T[P], AggregatePRD[P]>
158
+ : Prisma.GetScalarType<T[P], AggregatePRD[P]>
159
+ }
160
+
161
+
162
+
163
+
164
+ export type PRDGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
165
+ where?: Prisma.PRDWhereInput
166
+ orderBy?: Prisma.PRDOrderByWithAggregationInput | Prisma.PRDOrderByWithAggregationInput[]
167
+ by: Prisma.PRDScalarFieldEnum[] | Prisma.PRDScalarFieldEnum
168
+ having?: Prisma.PRDScalarWhereWithAggregatesInput
169
+ take?: number
170
+ skip?: number
171
+ _count?: PRDCountAggregateInputType | true
172
+ _min?: PRDMinAggregateInputType
173
+ _max?: PRDMaxAggregateInputType
174
+ }
175
+
176
+ export type PRDGroupByOutputType = {
177
+ id: string
178
+ icon: string
179
+ name: string
180
+ description: string | null
181
+ settings: runtime.JsonValue | null
182
+ userId: string
183
+ isDeleted: boolean
184
+ deletedAt: Date | null
185
+ createdAt: Date
186
+ updatedAt: Date
187
+ _count: PRDCountAggregateOutputType | null
188
+ _min: PRDMinAggregateOutputType | null
189
+ _max: PRDMaxAggregateOutputType | null
190
+ }
191
+
192
+ export type GetPRDGroupByPayload<T extends PRDGroupByArgs> = Prisma.PrismaPromise<
193
+ Array<
194
+ Prisma.PickEnumerable<PRDGroupByOutputType, T['by']> &
195
+ {
196
+ [P in ((keyof T) & (keyof PRDGroupByOutputType))]: P extends '_count'
197
+ ? T[P] extends boolean
198
+ ? number
199
+ : Prisma.GetScalarType<T[P], PRDGroupByOutputType[P]>
200
+ : Prisma.GetScalarType<T[P], PRDGroupByOutputType[P]>
201
+ }
202
+ >
203
+ >
204
+
205
+
206
+
207
+ export type PRDWhereInput = {
208
+ AND?: Prisma.PRDWhereInput | Prisma.PRDWhereInput[]
209
+ OR?: Prisma.PRDWhereInput[]
210
+ NOT?: Prisma.PRDWhereInput | Prisma.PRDWhereInput[]
211
+ id?: Prisma.StringFilter<"PRD"> | string
212
+ icon?: Prisma.StringFilter<"PRD"> | string
213
+ name?: Prisma.StringFilter<"PRD"> | string
214
+ description?: Prisma.StringNullableFilter<"PRD"> | string | null
215
+ settings?: Prisma.JsonNullableFilter<"PRD">
216
+ userId?: Prisma.StringFilter<"PRD"> | string
217
+ isDeleted?: Prisma.BoolFilter<"PRD"> | boolean
218
+ deletedAt?: Prisma.DateTimeNullableFilter<"PRD"> | Date | string | null
219
+ createdAt?: Prisma.DateTimeFilter<"PRD"> | Date | string
220
+ updatedAt?: Prisma.DateTimeFilter<"PRD"> | Date | string
221
+ user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
222
+ pages?: Prisma.PRDPageListRelationFilter
223
+ versions?: Prisma.PRDVersionListRelationFilter
224
+ reviews?: Prisma.ReviewListRelationFilter
225
+ comments?: Prisma.CommentListRelationFilter
226
+ shares?: Prisma.ShareListRelationFilter
227
+ prdTags?: Prisma.PRDTagListRelationFilter
228
+ agentConversations?: Prisma.AgentConversationListRelationFilter
229
+ linkedStories?: Prisma.StoryPrdLinkListRelationFilter
230
+ }
231
+
232
+ export type PRDOrderByWithRelationInput = {
233
+ id?: Prisma.SortOrder
234
+ icon?: Prisma.SortOrder
235
+ name?: Prisma.SortOrder
236
+ description?: Prisma.SortOrderInput | Prisma.SortOrder
237
+ settings?: Prisma.SortOrderInput | Prisma.SortOrder
238
+ userId?: Prisma.SortOrder
239
+ isDeleted?: Prisma.SortOrder
240
+ deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
241
+ createdAt?: Prisma.SortOrder
242
+ updatedAt?: Prisma.SortOrder
243
+ user?: Prisma.UserOrderByWithRelationInput
244
+ pages?: Prisma.PRDPageOrderByRelationAggregateInput
245
+ versions?: Prisma.PRDVersionOrderByRelationAggregateInput
246
+ reviews?: Prisma.ReviewOrderByRelationAggregateInput
247
+ comments?: Prisma.CommentOrderByRelationAggregateInput
248
+ shares?: Prisma.ShareOrderByRelationAggregateInput
249
+ prdTags?: Prisma.PRDTagOrderByRelationAggregateInput
250
+ agentConversations?: Prisma.AgentConversationOrderByRelationAggregateInput
251
+ linkedStories?: Prisma.StoryPrdLinkOrderByRelationAggregateInput
252
+ }
253
+
254
+ export type PRDWhereUniqueInput = Prisma.AtLeast<{
255
+ id?: string
256
+ AND?: Prisma.PRDWhereInput | Prisma.PRDWhereInput[]
257
+ OR?: Prisma.PRDWhereInput[]
258
+ NOT?: Prisma.PRDWhereInput | Prisma.PRDWhereInput[]
259
+ icon?: Prisma.StringFilter<"PRD"> | string
260
+ name?: Prisma.StringFilter<"PRD"> | string
261
+ description?: Prisma.StringNullableFilter<"PRD"> | string | null
262
+ settings?: Prisma.JsonNullableFilter<"PRD">
263
+ userId?: Prisma.StringFilter<"PRD"> | string
264
+ isDeleted?: Prisma.BoolFilter<"PRD"> | boolean
265
+ deletedAt?: Prisma.DateTimeNullableFilter<"PRD"> | Date | string | null
266
+ createdAt?: Prisma.DateTimeFilter<"PRD"> | Date | string
267
+ updatedAt?: Prisma.DateTimeFilter<"PRD"> | Date | string
268
+ user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>
269
+ pages?: Prisma.PRDPageListRelationFilter
270
+ versions?: Prisma.PRDVersionListRelationFilter
271
+ reviews?: Prisma.ReviewListRelationFilter
272
+ comments?: Prisma.CommentListRelationFilter
273
+ shares?: Prisma.ShareListRelationFilter
274
+ prdTags?: Prisma.PRDTagListRelationFilter
275
+ agentConversations?: Prisma.AgentConversationListRelationFilter
276
+ linkedStories?: Prisma.StoryPrdLinkListRelationFilter
277
+ }, "id">
278
+
279
+ export type PRDOrderByWithAggregationInput = {
280
+ id?: Prisma.SortOrder
281
+ icon?: Prisma.SortOrder
282
+ name?: Prisma.SortOrder
283
+ description?: Prisma.SortOrderInput | Prisma.SortOrder
284
+ settings?: Prisma.SortOrderInput | Prisma.SortOrder
285
+ userId?: Prisma.SortOrder
286
+ isDeleted?: Prisma.SortOrder
287
+ deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
288
+ createdAt?: Prisma.SortOrder
289
+ updatedAt?: Prisma.SortOrder
290
+ _count?: Prisma.PRDCountOrderByAggregateInput
291
+ _max?: Prisma.PRDMaxOrderByAggregateInput
292
+ _min?: Prisma.PRDMinOrderByAggregateInput
293
+ }
294
+
295
+ export type PRDScalarWhereWithAggregatesInput = {
296
+ AND?: Prisma.PRDScalarWhereWithAggregatesInput | Prisma.PRDScalarWhereWithAggregatesInput[]
297
+ OR?: Prisma.PRDScalarWhereWithAggregatesInput[]
298
+ NOT?: Prisma.PRDScalarWhereWithAggregatesInput | Prisma.PRDScalarWhereWithAggregatesInput[]
299
+ id?: Prisma.StringWithAggregatesFilter<"PRD"> | string
300
+ icon?: Prisma.StringWithAggregatesFilter<"PRD"> | string
301
+ name?: Prisma.StringWithAggregatesFilter<"PRD"> | string
302
+ description?: Prisma.StringNullableWithAggregatesFilter<"PRD"> | string | null
303
+ settings?: Prisma.JsonNullableWithAggregatesFilter<"PRD">
304
+ userId?: Prisma.StringWithAggregatesFilter<"PRD"> | string
305
+ isDeleted?: Prisma.BoolWithAggregatesFilter<"PRD"> | boolean
306
+ deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"PRD"> | Date | string | null
307
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"PRD"> | Date | string
308
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"PRD"> | Date | string
309
+ }
310
+
311
+ export type PRDCreateInput = {
312
+ id?: string
313
+ icon?: string
314
+ name: string
315
+ description?: string | null
316
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
317
+ isDeleted?: boolean
318
+ deletedAt?: Date | string | null
319
+ createdAt?: Date | string
320
+ updatedAt?: Date | string
321
+ user: Prisma.UserCreateNestedOneWithoutPrdsInput
322
+ pages?: Prisma.PRDPageCreateNestedManyWithoutPrdInput
323
+ versions?: Prisma.PRDVersionCreateNestedManyWithoutPrdInput
324
+ reviews?: Prisma.ReviewCreateNestedManyWithoutPrdInput
325
+ comments?: Prisma.CommentCreateNestedManyWithoutPrdInput
326
+ shares?: Prisma.ShareCreateNestedManyWithoutPrdInput
327
+ prdTags?: Prisma.PRDTagCreateNestedManyWithoutPrdInput
328
+ agentConversations?: Prisma.AgentConversationCreateNestedManyWithoutPrdInput
329
+ linkedStories?: Prisma.StoryPrdLinkCreateNestedManyWithoutPrdInput
330
+ }
331
+
332
+ export type PRDUncheckedCreateInput = {
333
+ id?: string
334
+ icon?: string
335
+ name: string
336
+ description?: string | null
337
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
338
+ userId: string
339
+ isDeleted?: boolean
340
+ deletedAt?: Date | string | null
341
+ createdAt?: Date | string
342
+ updatedAt?: Date | string
343
+ pages?: Prisma.PRDPageUncheckedCreateNestedManyWithoutPrdInput
344
+ versions?: Prisma.PRDVersionUncheckedCreateNestedManyWithoutPrdInput
345
+ reviews?: Prisma.ReviewUncheckedCreateNestedManyWithoutPrdInput
346
+ comments?: Prisma.CommentUncheckedCreateNestedManyWithoutPrdInput
347
+ shares?: Prisma.ShareUncheckedCreateNestedManyWithoutPrdInput
348
+ prdTags?: Prisma.PRDTagUncheckedCreateNestedManyWithoutPrdInput
349
+ agentConversations?: Prisma.AgentConversationUncheckedCreateNestedManyWithoutPrdInput
350
+ linkedStories?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutPrdInput
351
+ }
352
+
353
+ export type PRDUpdateInput = {
354
+ id?: Prisma.StringFieldUpdateOperationsInput | string
355
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
356
+ name?: Prisma.StringFieldUpdateOperationsInput | string
357
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
358
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
359
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
360
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
361
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
362
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
363
+ user?: Prisma.UserUpdateOneRequiredWithoutPrdsNestedInput
364
+ pages?: Prisma.PRDPageUpdateManyWithoutPrdNestedInput
365
+ versions?: Prisma.PRDVersionUpdateManyWithoutPrdNestedInput
366
+ reviews?: Prisma.ReviewUpdateManyWithoutPrdNestedInput
367
+ comments?: Prisma.CommentUpdateManyWithoutPrdNestedInput
368
+ shares?: Prisma.ShareUpdateManyWithoutPrdNestedInput
369
+ prdTags?: Prisma.PRDTagUpdateManyWithoutPrdNestedInput
370
+ agentConversations?: Prisma.AgentConversationUpdateManyWithoutPrdNestedInput
371
+ linkedStories?: Prisma.StoryPrdLinkUpdateManyWithoutPrdNestedInput
372
+ }
373
+
374
+ export type PRDUncheckedUpdateInput = {
375
+ id?: Prisma.StringFieldUpdateOperationsInput | string
376
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
377
+ name?: Prisma.StringFieldUpdateOperationsInput | string
378
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
379
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
380
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
381
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
382
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
383
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
384
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
385
+ pages?: Prisma.PRDPageUncheckedUpdateManyWithoutPrdNestedInput
386
+ versions?: Prisma.PRDVersionUncheckedUpdateManyWithoutPrdNestedInput
387
+ reviews?: Prisma.ReviewUncheckedUpdateManyWithoutPrdNestedInput
388
+ comments?: Prisma.CommentUncheckedUpdateManyWithoutPrdNestedInput
389
+ shares?: Prisma.ShareUncheckedUpdateManyWithoutPrdNestedInput
390
+ prdTags?: Prisma.PRDTagUncheckedUpdateManyWithoutPrdNestedInput
391
+ agentConversations?: Prisma.AgentConversationUncheckedUpdateManyWithoutPrdNestedInput
392
+ linkedStories?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutPrdNestedInput
393
+ }
394
+
395
+ export type PRDCreateManyInput = {
396
+ id?: string
397
+ icon?: string
398
+ name: string
399
+ description?: string | null
400
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
401
+ userId: string
402
+ isDeleted?: boolean
403
+ deletedAt?: Date | string | null
404
+ createdAt?: Date | string
405
+ updatedAt?: Date | string
406
+ }
407
+
408
+ export type PRDUpdateManyMutationInput = {
409
+ id?: Prisma.StringFieldUpdateOperationsInput | string
410
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
411
+ name?: Prisma.StringFieldUpdateOperationsInput | string
412
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
413
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
414
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
415
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
416
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
417
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
418
+ }
419
+
420
+ export type PRDUncheckedUpdateManyInput = {
421
+ id?: Prisma.StringFieldUpdateOperationsInput | string
422
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
423
+ name?: Prisma.StringFieldUpdateOperationsInput | string
424
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
425
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
426
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
427
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
428
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
429
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
430
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
431
+ }
432
+
433
+ export type PRDListRelationFilter = {
434
+ every?: Prisma.PRDWhereInput
435
+ some?: Prisma.PRDWhereInput
436
+ none?: Prisma.PRDWhereInput
437
+ }
438
+
439
+ export type PRDOrderByRelationAggregateInput = {
440
+ _count?: Prisma.SortOrder
441
+ }
442
+
443
+ export type PRDCountOrderByAggregateInput = {
444
+ id?: Prisma.SortOrder
445
+ icon?: Prisma.SortOrder
446
+ name?: Prisma.SortOrder
447
+ description?: Prisma.SortOrder
448
+ settings?: Prisma.SortOrder
449
+ userId?: Prisma.SortOrder
450
+ isDeleted?: Prisma.SortOrder
451
+ deletedAt?: Prisma.SortOrder
452
+ createdAt?: Prisma.SortOrder
453
+ updatedAt?: Prisma.SortOrder
454
+ }
455
+
456
+ export type PRDMaxOrderByAggregateInput = {
457
+ id?: Prisma.SortOrder
458
+ icon?: Prisma.SortOrder
459
+ name?: Prisma.SortOrder
460
+ description?: Prisma.SortOrder
461
+ userId?: Prisma.SortOrder
462
+ isDeleted?: Prisma.SortOrder
463
+ deletedAt?: Prisma.SortOrder
464
+ createdAt?: Prisma.SortOrder
465
+ updatedAt?: Prisma.SortOrder
466
+ }
467
+
468
+ export type PRDMinOrderByAggregateInput = {
469
+ id?: Prisma.SortOrder
470
+ icon?: Prisma.SortOrder
471
+ name?: Prisma.SortOrder
472
+ description?: Prisma.SortOrder
473
+ userId?: Prisma.SortOrder
474
+ isDeleted?: Prisma.SortOrder
475
+ deletedAt?: Prisma.SortOrder
476
+ createdAt?: Prisma.SortOrder
477
+ updatedAt?: Prisma.SortOrder
478
+ }
479
+
480
+ export type PRDScalarRelationFilter = {
481
+ is?: Prisma.PRDWhereInput
482
+ isNot?: Prisma.PRDWhereInput
483
+ }
484
+
485
+ export type PRDCreateNestedManyWithoutUserInput = {
486
+ create?: Prisma.XOR<Prisma.PRDCreateWithoutUserInput, Prisma.PRDUncheckedCreateWithoutUserInput> | Prisma.PRDCreateWithoutUserInput[] | Prisma.PRDUncheckedCreateWithoutUserInput[]
487
+ connectOrCreate?: Prisma.PRDCreateOrConnectWithoutUserInput | Prisma.PRDCreateOrConnectWithoutUserInput[]
488
+ createMany?: Prisma.PRDCreateManyUserInputEnvelope
489
+ connect?: Prisma.PRDWhereUniqueInput | Prisma.PRDWhereUniqueInput[]
490
+ }
491
+
492
+ export type PRDUncheckedCreateNestedManyWithoutUserInput = {
493
+ create?: Prisma.XOR<Prisma.PRDCreateWithoutUserInput, Prisma.PRDUncheckedCreateWithoutUserInput> | Prisma.PRDCreateWithoutUserInput[] | Prisma.PRDUncheckedCreateWithoutUserInput[]
494
+ connectOrCreate?: Prisma.PRDCreateOrConnectWithoutUserInput | Prisma.PRDCreateOrConnectWithoutUserInput[]
495
+ createMany?: Prisma.PRDCreateManyUserInputEnvelope
496
+ connect?: Prisma.PRDWhereUniqueInput | Prisma.PRDWhereUniqueInput[]
497
+ }
498
+
499
+ export type PRDUpdateManyWithoutUserNestedInput = {
500
+ create?: Prisma.XOR<Prisma.PRDCreateWithoutUserInput, Prisma.PRDUncheckedCreateWithoutUserInput> | Prisma.PRDCreateWithoutUserInput[] | Prisma.PRDUncheckedCreateWithoutUserInput[]
501
+ connectOrCreate?: Prisma.PRDCreateOrConnectWithoutUserInput | Prisma.PRDCreateOrConnectWithoutUserInput[]
502
+ upsert?: Prisma.PRDUpsertWithWhereUniqueWithoutUserInput | Prisma.PRDUpsertWithWhereUniqueWithoutUserInput[]
503
+ createMany?: Prisma.PRDCreateManyUserInputEnvelope
504
+ set?: Prisma.PRDWhereUniqueInput | Prisma.PRDWhereUniqueInput[]
505
+ disconnect?: Prisma.PRDWhereUniqueInput | Prisma.PRDWhereUniqueInput[]
506
+ delete?: Prisma.PRDWhereUniqueInput | Prisma.PRDWhereUniqueInput[]
507
+ connect?: Prisma.PRDWhereUniqueInput | Prisma.PRDWhereUniqueInput[]
508
+ update?: Prisma.PRDUpdateWithWhereUniqueWithoutUserInput | Prisma.PRDUpdateWithWhereUniqueWithoutUserInput[]
509
+ updateMany?: Prisma.PRDUpdateManyWithWhereWithoutUserInput | Prisma.PRDUpdateManyWithWhereWithoutUserInput[]
510
+ deleteMany?: Prisma.PRDScalarWhereInput | Prisma.PRDScalarWhereInput[]
511
+ }
512
+
513
+ export type PRDUncheckedUpdateManyWithoutUserNestedInput = {
514
+ create?: Prisma.XOR<Prisma.PRDCreateWithoutUserInput, Prisma.PRDUncheckedCreateWithoutUserInput> | Prisma.PRDCreateWithoutUserInput[] | Prisma.PRDUncheckedCreateWithoutUserInput[]
515
+ connectOrCreate?: Prisma.PRDCreateOrConnectWithoutUserInput | Prisma.PRDCreateOrConnectWithoutUserInput[]
516
+ upsert?: Prisma.PRDUpsertWithWhereUniqueWithoutUserInput | Prisma.PRDUpsertWithWhereUniqueWithoutUserInput[]
517
+ createMany?: Prisma.PRDCreateManyUserInputEnvelope
518
+ set?: Prisma.PRDWhereUniqueInput | Prisma.PRDWhereUniqueInput[]
519
+ disconnect?: Prisma.PRDWhereUniqueInput | Prisma.PRDWhereUniqueInput[]
520
+ delete?: Prisma.PRDWhereUniqueInput | Prisma.PRDWhereUniqueInput[]
521
+ connect?: Prisma.PRDWhereUniqueInput | Prisma.PRDWhereUniqueInput[]
522
+ update?: Prisma.PRDUpdateWithWhereUniqueWithoutUserInput | Prisma.PRDUpdateWithWhereUniqueWithoutUserInput[]
523
+ updateMany?: Prisma.PRDUpdateManyWithWhereWithoutUserInput | Prisma.PRDUpdateManyWithWhereWithoutUserInput[]
524
+ deleteMany?: Prisma.PRDScalarWhereInput | Prisma.PRDScalarWhereInput[]
525
+ }
526
+
527
+ export type PRDCreateNestedOneWithoutAgentConversationsInput = {
528
+ create?: Prisma.XOR<Prisma.PRDCreateWithoutAgentConversationsInput, Prisma.PRDUncheckedCreateWithoutAgentConversationsInput>
529
+ connectOrCreate?: Prisma.PRDCreateOrConnectWithoutAgentConversationsInput
530
+ connect?: Prisma.PRDWhereUniqueInput
531
+ }
532
+
533
+ export type PRDUpdateOneRequiredWithoutAgentConversationsNestedInput = {
534
+ create?: Prisma.XOR<Prisma.PRDCreateWithoutAgentConversationsInput, Prisma.PRDUncheckedCreateWithoutAgentConversationsInput>
535
+ connectOrCreate?: Prisma.PRDCreateOrConnectWithoutAgentConversationsInput
536
+ upsert?: Prisma.PRDUpsertWithoutAgentConversationsInput
537
+ connect?: Prisma.PRDWhereUniqueInput
538
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PRDUpdateToOneWithWhereWithoutAgentConversationsInput, Prisma.PRDUpdateWithoutAgentConversationsInput>, Prisma.PRDUncheckedUpdateWithoutAgentConversationsInput>
539
+ }
540
+
541
+ export type PRDCreateNestedOneWithoutPagesInput = {
542
+ create?: Prisma.XOR<Prisma.PRDCreateWithoutPagesInput, Prisma.PRDUncheckedCreateWithoutPagesInput>
543
+ connectOrCreate?: Prisma.PRDCreateOrConnectWithoutPagesInput
544
+ connect?: Prisma.PRDWhereUniqueInput
545
+ }
546
+
547
+ export type PRDUpdateOneRequiredWithoutPagesNestedInput = {
548
+ create?: Prisma.XOR<Prisma.PRDCreateWithoutPagesInput, Prisma.PRDUncheckedCreateWithoutPagesInput>
549
+ connectOrCreate?: Prisma.PRDCreateOrConnectWithoutPagesInput
550
+ upsert?: Prisma.PRDUpsertWithoutPagesInput
551
+ connect?: Prisma.PRDWhereUniqueInput
552
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PRDUpdateToOneWithWhereWithoutPagesInput, Prisma.PRDUpdateWithoutPagesInput>, Prisma.PRDUncheckedUpdateWithoutPagesInput>
553
+ }
554
+
555
+ export type PRDCreateNestedOneWithoutVersionsInput = {
556
+ create?: Prisma.XOR<Prisma.PRDCreateWithoutVersionsInput, Prisma.PRDUncheckedCreateWithoutVersionsInput>
557
+ connectOrCreate?: Prisma.PRDCreateOrConnectWithoutVersionsInput
558
+ connect?: Prisma.PRDWhereUniqueInput
559
+ }
560
+
561
+ export type PRDUpdateOneRequiredWithoutVersionsNestedInput = {
562
+ create?: Prisma.XOR<Prisma.PRDCreateWithoutVersionsInput, Prisma.PRDUncheckedCreateWithoutVersionsInput>
563
+ connectOrCreate?: Prisma.PRDCreateOrConnectWithoutVersionsInput
564
+ upsert?: Prisma.PRDUpsertWithoutVersionsInput
565
+ connect?: Prisma.PRDWhereUniqueInput
566
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PRDUpdateToOneWithWhereWithoutVersionsInput, Prisma.PRDUpdateWithoutVersionsInput>, Prisma.PRDUncheckedUpdateWithoutVersionsInput>
567
+ }
568
+
569
+ export type PRDCreateNestedOneWithoutReviewsInput = {
570
+ create?: Prisma.XOR<Prisma.PRDCreateWithoutReviewsInput, Prisma.PRDUncheckedCreateWithoutReviewsInput>
571
+ connectOrCreate?: Prisma.PRDCreateOrConnectWithoutReviewsInput
572
+ connect?: Prisma.PRDWhereUniqueInput
573
+ }
574
+
575
+ export type PRDUpdateOneRequiredWithoutReviewsNestedInput = {
576
+ create?: Prisma.XOR<Prisma.PRDCreateWithoutReviewsInput, Prisma.PRDUncheckedCreateWithoutReviewsInput>
577
+ connectOrCreate?: Prisma.PRDCreateOrConnectWithoutReviewsInput
578
+ upsert?: Prisma.PRDUpsertWithoutReviewsInput
579
+ connect?: Prisma.PRDWhereUniqueInput
580
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PRDUpdateToOneWithWhereWithoutReviewsInput, Prisma.PRDUpdateWithoutReviewsInput>, Prisma.PRDUncheckedUpdateWithoutReviewsInput>
581
+ }
582
+
583
+ export type PRDCreateNestedOneWithoutCommentsInput = {
584
+ create?: Prisma.XOR<Prisma.PRDCreateWithoutCommentsInput, Prisma.PRDUncheckedCreateWithoutCommentsInput>
585
+ connectOrCreate?: Prisma.PRDCreateOrConnectWithoutCommentsInput
586
+ connect?: Prisma.PRDWhereUniqueInput
587
+ }
588
+
589
+ export type PRDUpdateOneRequiredWithoutCommentsNestedInput = {
590
+ create?: Prisma.XOR<Prisma.PRDCreateWithoutCommentsInput, Prisma.PRDUncheckedCreateWithoutCommentsInput>
591
+ connectOrCreate?: Prisma.PRDCreateOrConnectWithoutCommentsInput
592
+ upsert?: Prisma.PRDUpsertWithoutCommentsInput
593
+ connect?: Prisma.PRDWhereUniqueInput
594
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PRDUpdateToOneWithWhereWithoutCommentsInput, Prisma.PRDUpdateWithoutCommentsInput>, Prisma.PRDUncheckedUpdateWithoutCommentsInput>
595
+ }
596
+
597
+ export type PRDCreateNestedOneWithoutSharesInput = {
598
+ create?: Prisma.XOR<Prisma.PRDCreateWithoutSharesInput, Prisma.PRDUncheckedCreateWithoutSharesInput>
599
+ connectOrCreate?: Prisma.PRDCreateOrConnectWithoutSharesInput
600
+ connect?: Prisma.PRDWhereUniqueInput
601
+ }
602
+
603
+ export type PRDUpdateOneRequiredWithoutSharesNestedInput = {
604
+ create?: Prisma.XOR<Prisma.PRDCreateWithoutSharesInput, Prisma.PRDUncheckedCreateWithoutSharesInput>
605
+ connectOrCreate?: Prisma.PRDCreateOrConnectWithoutSharesInput
606
+ upsert?: Prisma.PRDUpsertWithoutSharesInput
607
+ connect?: Prisma.PRDWhereUniqueInput
608
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PRDUpdateToOneWithWhereWithoutSharesInput, Prisma.PRDUpdateWithoutSharesInput>, Prisma.PRDUncheckedUpdateWithoutSharesInput>
609
+ }
610
+
611
+ export type PRDCreateNestedOneWithoutPrdTagsInput = {
612
+ create?: Prisma.XOR<Prisma.PRDCreateWithoutPrdTagsInput, Prisma.PRDUncheckedCreateWithoutPrdTagsInput>
613
+ connectOrCreate?: Prisma.PRDCreateOrConnectWithoutPrdTagsInput
614
+ connect?: Prisma.PRDWhereUniqueInput
615
+ }
616
+
617
+ export type PRDUpdateOneRequiredWithoutPrdTagsNestedInput = {
618
+ create?: Prisma.XOR<Prisma.PRDCreateWithoutPrdTagsInput, Prisma.PRDUncheckedCreateWithoutPrdTagsInput>
619
+ connectOrCreate?: Prisma.PRDCreateOrConnectWithoutPrdTagsInput
620
+ upsert?: Prisma.PRDUpsertWithoutPrdTagsInput
621
+ connect?: Prisma.PRDWhereUniqueInput
622
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PRDUpdateToOneWithWhereWithoutPrdTagsInput, Prisma.PRDUpdateWithoutPrdTagsInput>, Prisma.PRDUncheckedUpdateWithoutPrdTagsInput>
623
+ }
624
+
625
+ export type PRDCreateNestedOneWithoutLinkedStoriesInput = {
626
+ create?: Prisma.XOR<Prisma.PRDCreateWithoutLinkedStoriesInput, Prisma.PRDUncheckedCreateWithoutLinkedStoriesInput>
627
+ connectOrCreate?: Prisma.PRDCreateOrConnectWithoutLinkedStoriesInput
628
+ connect?: Prisma.PRDWhereUniqueInput
629
+ }
630
+
631
+ export type PRDUpdateOneRequiredWithoutLinkedStoriesNestedInput = {
632
+ create?: Prisma.XOR<Prisma.PRDCreateWithoutLinkedStoriesInput, Prisma.PRDUncheckedCreateWithoutLinkedStoriesInput>
633
+ connectOrCreate?: Prisma.PRDCreateOrConnectWithoutLinkedStoriesInput
634
+ upsert?: Prisma.PRDUpsertWithoutLinkedStoriesInput
635
+ connect?: Prisma.PRDWhereUniqueInput
636
+ update?: Prisma.XOR<Prisma.XOR<Prisma.PRDUpdateToOneWithWhereWithoutLinkedStoriesInput, Prisma.PRDUpdateWithoutLinkedStoriesInput>, Prisma.PRDUncheckedUpdateWithoutLinkedStoriesInput>
637
+ }
638
+
639
+ export type PRDCreateWithoutUserInput = {
640
+ id?: string
641
+ icon?: string
642
+ name: string
643
+ description?: string | null
644
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
645
+ isDeleted?: boolean
646
+ deletedAt?: Date | string | null
647
+ createdAt?: Date | string
648
+ updatedAt?: Date | string
649
+ pages?: Prisma.PRDPageCreateNestedManyWithoutPrdInput
650
+ versions?: Prisma.PRDVersionCreateNestedManyWithoutPrdInput
651
+ reviews?: Prisma.ReviewCreateNestedManyWithoutPrdInput
652
+ comments?: Prisma.CommentCreateNestedManyWithoutPrdInput
653
+ shares?: Prisma.ShareCreateNestedManyWithoutPrdInput
654
+ prdTags?: Prisma.PRDTagCreateNestedManyWithoutPrdInput
655
+ agentConversations?: Prisma.AgentConversationCreateNestedManyWithoutPrdInput
656
+ linkedStories?: Prisma.StoryPrdLinkCreateNestedManyWithoutPrdInput
657
+ }
658
+
659
+ export type PRDUncheckedCreateWithoutUserInput = {
660
+ id?: string
661
+ icon?: string
662
+ name: string
663
+ description?: string | null
664
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
665
+ isDeleted?: boolean
666
+ deletedAt?: Date | string | null
667
+ createdAt?: Date | string
668
+ updatedAt?: Date | string
669
+ pages?: Prisma.PRDPageUncheckedCreateNestedManyWithoutPrdInput
670
+ versions?: Prisma.PRDVersionUncheckedCreateNestedManyWithoutPrdInput
671
+ reviews?: Prisma.ReviewUncheckedCreateNestedManyWithoutPrdInput
672
+ comments?: Prisma.CommentUncheckedCreateNestedManyWithoutPrdInput
673
+ shares?: Prisma.ShareUncheckedCreateNestedManyWithoutPrdInput
674
+ prdTags?: Prisma.PRDTagUncheckedCreateNestedManyWithoutPrdInput
675
+ agentConversations?: Prisma.AgentConversationUncheckedCreateNestedManyWithoutPrdInput
676
+ linkedStories?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutPrdInput
677
+ }
678
+
679
+ export type PRDCreateOrConnectWithoutUserInput = {
680
+ where: Prisma.PRDWhereUniqueInput
681
+ create: Prisma.XOR<Prisma.PRDCreateWithoutUserInput, Prisma.PRDUncheckedCreateWithoutUserInput>
682
+ }
683
+
684
+ export type PRDCreateManyUserInputEnvelope = {
685
+ data: Prisma.PRDCreateManyUserInput | Prisma.PRDCreateManyUserInput[]
686
+ skipDuplicates?: boolean
687
+ }
688
+
689
+ export type PRDUpsertWithWhereUniqueWithoutUserInput = {
690
+ where: Prisma.PRDWhereUniqueInput
691
+ update: Prisma.XOR<Prisma.PRDUpdateWithoutUserInput, Prisma.PRDUncheckedUpdateWithoutUserInput>
692
+ create: Prisma.XOR<Prisma.PRDCreateWithoutUserInput, Prisma.PRDUncheckedCreateWithoutUserInput>
693
+ }
694
+
695
+ export type PRDUpdateWithWhereUniqueWithoutUserInput = {
696
+ where: Prisma.PRDWhereUniqueInput
697
+ data: Prisma.XOR<Prisma.PRDUpdateWithoutUserInput, Prisma.PRDUncheckedUpdateWithoutUserInput>
698
+ }
699
+
700
+ export type PRDUpdateManyWithWhereWithoutUserInput = {
701
+ where: Prisma.PRDScalarWhereInput
702
+ data: Prisma.XOR<Prisma.PRDUpdateManyMutationInput, Prisma.PRDUncheckedUpdateManyWithoutUserInput>
703
+ }
704
+
705
+ export type PRDScalarWhereInput = {
706
+ AND?: Prisma.PRDScalarWhereInput | Prisma.PRDScalarWhereInput[]
707
+ OR?: Prisma.PRDScalarWhereInput[]
708
+ NOT?: Prisma.PRDScalarWhereInput | Prisma.PRDScalarWhereInput[]
709
+ id?: Prisma.StringFilter<"PRD"> | string
710
+ icon?: Prisma.StringFilter<"PRD"> | string
711
+ name?: Prisma.StringFilter<"PRD"> | string
712
+ description?: Prisma.StringNullableFilter<"PRD"> | string | null
713
+ settings?: Prisma.JsonNullableFilter<"PRD">
714
+ userId?: Prisma.StringFilter<"PRD"> | string
715
+ isDeleted?: Prisma.BoolFilter<"PRD"> | boolean
716
+ deletedAt?: Prisma.DateTimeNullableFilter<"PRD"> | Date | string | null
717
+ createdAt?: Prisma.DateTimeFilter<"PRD"> | Date | string
718
+ updatedAt?: Prisma.DateTimeFilter<"PRD"> | Date | string
719
+ }
720
+
721
+ export type PRDCreateWithoutAgentConversationsInput = {
722
+ id?: string
723
+ icon?: string
724
+ name: string
725
+ description?: string | null
726
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
727
+ isDeleted?: boolean
728
+ deletedAt?: Date | string | null
729
+ createdAt?: Date | string
730
+ updatedAt?: Date | string
731
+ user: Prisma.UserCreateNestedOneWithoutPrdsInput
732
+ pages?: Prisma.PRDPageCreateNestedManyWithoutPrdInput
733
+ versions?: Prisma.PRDVersionCreateNestedManyWithoutPrdInput
734
+ reviews?: Prisma.ReviewCreateNestedManyWithoutPrdInput
735
+ comments?: Prisma.CommentCreateNestedManyWithoutPrdInput
736
+ shares?: Prisma.ShareCreateNestedManyWithoutPrdInput
737
+ prdTags?: Prisma.PRDTagCreateNestedManyWithoutPrdInput
738
+ linkedStories?: Prisma.StoryPrdLinkCreateNestedManyWithoutPrdInput
739
+ }
740
+
741
+ export type PRDUncheckedCreateWithoutAgentConversationsInput = {
742
+ id?: string
743
+ icon?: string
744
+ name: string
745
+ description?: string | null
746
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
747
+ userId: string
748
+ isDeleted?: boolean
749
+ deletedAt?: Date | string | null
750
+ createdAt?: Date | string
751
+ updatedAt?: Date | string
752
+ pages?: Prisma.PRDPageUncheckedCreateNestedManyWithoutPrdInput
753
+ versions?: Prisma.PRDVersionUncheckedCreateNestedManyWithoutPrdInput
754
+ reviews?: Prisma.ReviewUncheckedCreateNestedManyWithoutPrdInput
755
+ comments?: Prisma.CommentUncheckedCreateNestedManyWithoutPrdInput
756
+ shares?: Prisma.ShareUncheckedCreateNestedManyWithoutPrdInput
757
+ prdTags?: Prisma.PRDTagUncheckedCreateNestedManyWithoutPrdInput
758
+ linkedStories?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutPrdInput
759
+ }
760
+
761
+ export type PRDCreateOrConnectWithoutAgentConversationsInput = {
762
+ where: Prisma.PRDWhereUniqueInput
763
+ create: Prisma.XOR<Prisma.PRDCreateWithoutAgentConversationsInput, Prisma.PRDUncheckedCreateWithoutAgentConversationsInput>
764
+ }
765
+
766
+ export type PRDUpsertWithoutAgentConversationsInput = {
767
+ update: Prisma.XOR<Prisma.PRDUpdateWithoutAgentConversationsInput, Prisma.PRDUncheckedUpdateWithoutAgentConversationsInput>
768
+ create: Prisma.XOR<Prisma.PRDCreateWithoutAgentConversationsInput, Prisma.PRDUncheckedCreateWithoutAgentConversationsInput>
769
+ where?: Prisma.PRDWhereInput
770
+ }
771
+
772
+ export type PRDUpdateToOneWithWhereWithoutAgentConversationsInput = {
773
+ where?: Prisma.PRDWhereInput
774
+ data: Prisma.XOR<Prisma.PRDUpdateWithoutAgentConversationsInput, Prisma.PRDUncheckedUpdateWithoutAgentConversationsInput>
775
+ }
776
+
777
+ export type PRDUpdateWithoutAgentConversationsInput = {
778
+ id?: Prisma.StringFieldUpdateOperationsInput | string
779
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
780
+ name?: Prisma.StringFieldUpdateOperationsInput | string
781
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
782
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
783
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
784
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
785
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
786
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
787
+ user?: Prisma.UserUpdateOneRequiredWithoutPrdsNestedInput
788
+ pages?: Prisma.PRDPageUpdateManyWithoutPrdNestedInput
789
+ versions?: Prisma.PRDVersionUpdateManyWithoutPrdNestedInput
790
+ reviews?: Prisma.ReviewUpdateManyWithoutPrdNestedInput
791
+ comments?: Prisma.CommentUpdateManyWithoutPrdNestedInput
792
+ shares?: Prisma.ShareUpdateManyWithoutPrdNestedInput
793
+ prdTags?: Prisma.PRDTagUpdateManyWithoutPrdNestedInput
794
+ linkedStories?: Prisma.StoryPrdLinkUpdateManyWithoutPrdNestedInput
795
+ }
796
+
797
+ export type PRDUncheckedUpdateWithoutAgentConversationsInput = {
798
+ id?: Prisma.StringFieldUpdateOperationsInput | string
799
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
800
+ name?: Prisma.StringFieldUpdateOperationsInput | string
801
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
802
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
803
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
804
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
805
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
806
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
807
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
808
+ pages?: Prisma.PRDPageUncheckedUpdateManyWithoutPrdNestedInput
809
+ versions?: Prisma.PRDVersionUncheckedUpdateManyWithoutPrdNestedInput
810
+ reviews?: Prisma.ReviewUncheckedUpdateManyWithoutPrdNestedInput
811
+ comments?: Prisma.CommentUncheckedUpdateManyWithoutPrdNestedInput
812
+ shares?: Prisma.ShareUncheckedUpdateManyWithoutPrdNestedInput
813
+ prdTags?: Prisma.PRDTagUncheckedUpdateManyWithoutPrdNestedInput
814
+ linkedStories?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutPrdNestedInput
815
+ }
816
+
817
+ export type PRDCreateWithoutPagesInput = {
818
+ id?: string
819
+ icon?: string
820
+ name: string
821
+ description?: string | null
822
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
823
+ isDeleted?: boolean
824
+ deletedAt?: Date | string | null
825
+ createdAt?: Date | string
826
+ updatedAt?: Date | string
827
+ user: Prisma.UserCreateNestedOneWithoutPrdsInput
828
+ versions?: Prisma.PRDVersionCreateNestedManyWithoutPrdInput
829
+ reviews?: Prisma.ReviewCreateNestedManyWithoutPrdInput
830
+ comments?: Prisma.CommentCreateNestedManyWithoutPrdInput
831
+ shares?: Prisma.ShareCreateNestedManyWithoutPrdInput
832
+ prdTags?: Prisma.PRDTagCreateNestedManyWithoutPrdInput
833
+ agentConversations?: Prisma.AgentConversationCreateNestedManyWithoutPrdInput
834
+ linkedStories?: Prisma.StoryPrdLinkCreateNestedManyWithoutPrdInput
835
+ }
836
+
837
+ export type PRDUncheckedCreateWithoutPagesInput = {
838
+ id?: string
839
+ icon?: string
840
+ name: string
841
+ description?: string | null
842
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
843
+ userId: string
844
+ isDeleted?: boolean
845
+ deletedAt?: Date | string | null
846
+ createdAt?: Date | string
847
+ updatedAt?: Date | string
848
+ versions?: Prisma.PRDVersionUncheckedCreateNestedManyWithoutPrdInput
849
+ reviews?: Prisma.ReviewUncheckedCreateNestedManyWithoutPrdInput
850
+ comments?: Prisma.CommentUncheckedCreateNestedManyWithoutPrdInput
851
+ shares?: Prisma.ShareUncheckedCreateNestedManyWithoutPrdInput
852
+ prdTags?: Prisma.PRDTagUncheckedCreateNestedManyWithoutPrdInput
853
+ agentConversations?: Prisma.AgentConversationUncheckedCreateNestedManyWithoutPrdInput
854
+ linkedStories?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutPrdInput
855
+ }
856
+
857
+ export type PRDCreateOrConnectWithoutPagesInput = {
858
+ where: Prisma.PRDWhereUniqueInput
859
+ create: Prisma.XOR<Prisma.PRDCreateWithoutPagesInput, Prisma.PRDUncheckedCreateWithoutPagesInput>
860
+ }
861
+
862
+ export type PRDUpsertWithoutPagesInput = {
863
+ update: Prisma.XOR<Prisma.PRDUpdateWithoutPagesInput, Prisma.PRDUncheckedUpdateWithoutPagesInput>
864
+ create: Prisma.XOR<Prisma.PRDCreateWithoutPagesInput, Prisma.PRDUncheckedCreateWithoutPagesInput>
865
+ where?: Prisma.PRDWhereInput
866
+ }
867
+
868
+ export type PRDUpdateToOneWithWhereWithoutPagesInput = {
869
+ where?: Prisma.PRDWhereInput
870
+ data: Prisma.XOR<Prisma.PRDUpdateWithoutPagesInput, Prisma.PRDUncheckedUpdateWithoutPagesInput>
871
+ }
872
+
873
+ export type PRDUpdateWithoutPagesInput = {
874
+ id?: Prisma.StringFieldUpdateOperationsInput | string
875
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
876
+ name?: Prisma.StringFieldUpdateOperationsInput | string
877
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
878
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
879
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
880
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
881
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
882
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
883
+ user?: Prisma.UserUpdateOneRequiredWithoutPrdsNestedInput
884
+ versions?: Prisma.PRDVersionUpdateManyWithoutPrdNestedInput
885
+ reviews?: Prisma.ReviewUpdateManyWithoutPrdNestedInput
886
+ comments?: Prisma.CommentUpdateManyWithoutPrdNestedInput
887
+ shares?: Prisma.ShareUpdateManyWithoutPrdNestedInput
888
+ prdTags?: Prisma.PRDTagUpdateManyWithoutPrdNestedInput
889
+ agentConversations?: Prisma.AgentConversationUpdateManyWithoutPrdNestedInput
890
+ linkedStories?: Prisma.StoryPrdLinkUpdateManyWithoutPrdNestedInput
891
+ }
892
+
893
+ export type PRDUncheckedUpdateWithoutPagesInput = {
894
+ id?: Prisma.StringFieldUpdateOperationsInput | string
895
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
896
+ name?: Prisma.StringFieldUpdateOperationsInput | string
897
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
898
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
899
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
900
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
901
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
902
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
903
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
904
+ versions?: Prisma.PRDVersionUncheckedUpdateManyWithoutPrdNestedInput
905
+ reviews?: Prisma.ReviewUncheckedUpdateManyWithoutPrdNestedInput
906
+ comments?: Prisma.CommentUncheckedUpdateManyWithoutPrdNestedInput
907
+ shares?: Prisma.ShareUncheckedUpdateManyWithoutPrdNestedInput
908
+ prdTags?: Prisma.PRDTagUncheckedUpdateManyWithoutPrdNestedInput
909
+ agentConversations?: Prisma.AgentConversationUncheckedUpdateManyWithoutPrdNestedInput
910
+ linkedStories?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutPrdNestedInput
911
+ }
912
+
913
+ export type PRDCreateWithoutVersionsInput = {
914
+ id?: string
915
+ icon?: string
916
+ name: string
917
+ description?: string | null
918
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
919
+ isDeleted?: boolean
920
+ deletedAt?: Date | string | null
921
+ createdAt?: Date | string
922
+ updatedAt?: Date | string
923
+ user: Prisma.UserCreateNestedOneWithoutPrdsInput
924
+ pages?: Prisma.PRDPageCreateNestedManyWithoutPrdInput
925
+ reviews?: Prisma.ReviewCreateNestedManyWithoutPrdInput
926
+ comments?: Prisma.CommentCreateNestedManyWithoutPrdInput
927
+ shares?: Prisma.ShareCreateNestedManyWithoutPrdInput
928
+ prdTags?: Prisma.PRDTagCreateNestedManyWithoutPrdInput
929
+ agentConversations?: Prisma.AgentConversationCreateNestedManyWithoutPrdInput
930
+ linkedStories?: Prisma.StoryPrdLinkCreateNestedManyWithoutPrdInput
931
+ }
932
+
933
+ export type PRDUncheckedCreateWithoutVersionsInput = {
934
+ id?: string
935
+ icon?: string
936
+ name: string
937
+ description?: string | null
938
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
939
+ userId: string
940
+ isDeleted?: boolean
941
+ deletedAt?: Date | string | null
942
+ createdAt?: Date | string
943
+ updatedAt?: Date | string
944
+ pages?: Prisma.PRDPageUncheckedCreateNestedManyWithoutPrdInput
945
+ reviews?: Prisma.ReviewUncheckedCreateNestedManyWithoutPrdInput
946
+ comments?: Prisma.CommentUncheckedCreateNestedManyWithoutPrdInput
947
+ shares?: Prisma.ShareUncheckedCreateNestedManyWithoutPrdInput
948
+ prdTags?: Prisma.PRDTagUncheckedCreateNestedManyWithoutPrdInput
949
+ agentConversations?: Prisma.AgentConversationUncheckedCreateNestedManyWithoutPrdInput
950
+ linkedStories?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutPrdInput
951
+ }
952
+
953
+ export type PRDCreateOrConnectWithoutVersionsInput = {
954
+ where: Prisma.PRDWhereUniqueInput
955
+ create: Prisma.XOR<Prisma.PRDCreateWithoutVersionsInput, Prisma.PRDUncheckedCreateWithoutVersionsInput>
956
+ }
957
+
958
+ export type PRDUpsertWithoutVersionsInput = {
959
+ update: Prisma.XOR<Prisma.PRDUpdateWithoutVersionsInput, Prisma.PRDUncheckedUpdateWithoutVersionsInput>
960
+ create: Prisma.XOR<Prisma.PRDCreateWithoutVersionsInput, Prisma.PRDUncheckedCreateWithoutVersionsInput>
961
+ where?: Prisma.PRDWhereInput
962
+ }
963
+
964
+ export type PRDUpdateToOneWithWhereWithoutVersionsInput = {
965
+ where?: Prisma.PRDWhereInput
966
+ data: Prisma.XOR<Prisma.PRDUpdateWithoutVersionsInput, Prisma.PRDUncheckedUpdateWithoutVersionsInput>
967
+ }
968
+
969
+ export type PRDUpdateWithoutVersionsInput = {
970
+ id?: Prisma.StringFieldUpdateOperationsInput | string
971
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
972
+ name?: Prisma.StringFieldUpdateOperationsInput | string
973
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
974
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
975
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
976
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
977
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
978
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
979
+ user?: Prisma.UserUpdateOneRequiredWithoutPrdsNestedInput
980
+ pages?: Prisma.PRDPageUpdateManyWithoutPrdNestedInput
981
+ reviews?: Prisma.ReviewUpdateManyWithoutPrdNestedInput
982
+ comments?: Prisma.CommentUpdateManyWithoutPrdNestedInput
983
+ shares?: Prisma.ShareUpdateManyWithoutPrdNestedInput
984
+ prdTags?: Prisma.PRDTagUpdateManyWithoutPrdNestedInput
985
+ agentConversations?: Prisma.AgentConversationUpdateManyWithoutPrdNestedInput
986
+ linkedStories?: Prisma.StoryPrdLinkUpdateManyWithoutPrdNestedInput
987
+ }
988
+
989
+ export type PRDUncheckedUpdateWithoutVersionsInput = {
990
+ id?: Prisma.StringFieldUpdateOperationsInput | string
991
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
992
+ name?: Prisma.StringFieldUpdateOperationsInput | string
993
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
994
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
995
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
996
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
997
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
998
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
999
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1000
+ pages?: Prisma.PRDPageUncheckedUpdateManyWithoutPrdNestedInput
1001
+ reviews?: Prisma.ReviewUncheckedUpdateManyWithoutPrdNestedInput
1002
+ comments?: Prisma.CommentUncheckedUpdateManyWithoutPrdNestedInput
1003
+ shares?: Prisma.ShareUncheckedUpdateManyWithoutPrdNestedInput
1004
+ prdTags?: Prisma.PRDTagUncheckedUpdateManyWithoutPrdNestedInput
1005
+ agentConversations?: Prisma.AgentConversationUncheckedUpdateManyWithoutPrdNestedInput
1006
+ linkedStories?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutPrdNestedInput
1007
+ }
1008
+
1009
+ export type PRDCreateWithoutReviewsInput = {
1010
+ id?: string
1011
+ icon?: string
1012
+ name: string
1013
+ description?: string | null
1014
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1015
+ isDeleted?: boolean
1016
+ deletedAt?: Date | string | null
1017
+ createdAt?: Date | string
1018
+ updatedAt?: Date | string
1019
+ user: Prisma.UserCreateNestedOneWithoutPrdsInput
1020
+ pages?: Prisma.PRDPageCreateNestedManyWithoutPrdInput
1021
+ versions?: Prisma.PRDVersionCreateNestedManyWithoutPrdInput
1022
+ comments?: Prisma.CommentCreateNestedManyWithoutPrdInput
1023
+ shares?: Prisma.ShareCreateNestedManyWithoutPrdInput
1024
+ prdTags?: Prisma.PRDTagCreateNestedManyWithoutPrdInput
1025
+ agentConversations?: Prisma.AgentConversationCreateNestedManyWithoutPrdInput
1026
+ linkedStories?: Prisma.StoryPrdLinkCreateNestedManyWithoutPrdInput
1027
+ }
1028
+
1029
+ export type PRDUncheckedCreateWithoutReviewsInput = {
1030
+ id?: string
1031
+ icon?: string
1032
+ name: string
1033
+ description?: string | null
1034
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1035
+ userId: string
1036
+ isDeleted?: boolean
1037
+ deletedAt?: Date | string | null
1038
+ createdAt?: Date | string
1039
+ updatedAt?: Date | string
1040
+ pages?: Prisma.PRDPageUncheckedCreateNestedManyWithoutPrdInput
1041
+ versions?: Prisma.PRDVersionUncheckedCreateNestedManyWithoutPrdInput
1042
+ comments?: Prisma.CommentUncheckedCreateNestedManyWithoutPrdInput
1043
+ shares?: Prisma.ShareUncheckedCreateNestedManyWithoutPrdInput
1044
+ prdTags?: Prisma.PRDTagUncheckedCreateNestedManyWithoutPrdInput
1045
+ agentConversations?: Prisma.AgentConversationUncheckedCreateNestedManyWithoutPrdInput
1046
+ linkedStories?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutPrdInput
1047
+ }
1048
+
1049
+ export type PRDCreateOrConnectWithoutReviewsInput = {
1050
+ where: Prisma.PRDWhereUniqueInput
1051
+ create: Prisma.XOR<Prisma.PRDCreateWithoutReviewsInput, Prisma.PRDUncheckedCreateWithoutReviewsInput>
1052
+ }
1053
+
1054
+ export type PRDUpsertWithoutReviewsInput = {
1055
+ update: Prisma.XOR<Prisma.PRDUpdateWithoutReviewsInput, Prisma.PRDUncheckedUpdateWithoutReviewsInput>
1056
+ create: Prisma.XOR<Prisma.PRDCreateWithoutReviewsInput, Prisma.PRDUncheckedCreateWithoutReviewsInput>
1057
+ where?: Prisma.PRDWhereInput
1058
+ }
1059
+
1060
+ export type PRDUpdateToOneWithWhereWithoutReviewsInput = {
1061
+ where?: Prisma.PRDWhereInput
1062
+ data: Prisma.XOR<Prisma.PRDUpdateWithoutReviewsInput, Prisma.PRDUncheckedUpdateWithoutReviewsInput>
1063
+ }
1064
+
1065
+ export type PRDUpdateWithoutReviewsInput = {
1066
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1067
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
1068
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1069
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1070
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1071
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1072
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1073
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1074
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1075
+ user?: Prisma.UserUpdateOneRequiredWithoutPrdsNestedInput
1076
+ pages?: Prisma.PRDPageUpdateManyWithoutPrdNestedInput
1077
+ versions?: Prisma.PRDVersionUpdateManyWithoutPrdNestedInput
1078
+ comments?: Prisma.CommentUpdateManyWithoutPrdNestedInput
1079
+ shares?: Prisma.ShareUpdateManyWithoutPrdNestedInput
1080
+ prdTags?: Prisma.PRDTagUpdateManyWithoutPrdNestedInput
1081
+ agentConversations?: Prisma.AgentConversationUpdateManyWithoutPrdNestedInput
1082
+ linkedStories?: Prisma.StoryPrdLinkUpdateManyWithoutPrdNestedInput
1083
+ }
1084
+
1085
+ export type PRDUncheckedUpdateWithoutReviewsInput = {
1086
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1087
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
1088
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1089
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1090
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1091
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
1092
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1093
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1094
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1095
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1096
+ pages?: Prisma.PRDPageUncheckedUpdateManyWithoutPrdNestedInput
1097
+ versions?: Prisma.PRDVersionUncheckedUpdateManyWithoutPrdNestedInput
1098
+ comments?: Prisma.CommentUncheckedUpdateManyWithoutPrdNestedInput
1099
+ shares?: Prisma.ShareUncheckedUpdateManyWithoutPrdNestedInput
1100
+ prdTags?: Prisma.PRDTagUncheckedUpdateManyWithoutPrdNestedInput
1101
+ agentConversations?: Prisma.AgentConversationUncheckedUpdateManyWithoutPrdNestedInput
1102
+ linkedStories?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutPrdNestedInput
1103
+ }
1104
+
1105
+ export type PRDCreateWithoutCommentsInput = {
1106
+ id?: string
1107
+ icon?: string
1108
+ name: string
1109
+ description?: string | null
1110
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1111
+ isDeleted?: boolean
1112
+ deletedAt?: Date | string | null
1113
+ createdAt?: Date | string
1114
+ updatedAt?: Date | string
1115
+ user: Prisma.UserCreateNestedOneWithoutPrdsInput
1116
+ pages?: Prisma.PRDPageCreateNestedManyWithoutPrdInput
1117
+ versions?: Prisma.PRDVersionCreateNestedManyWithoutPrdInput
1118
+ reviews?: Prisma.ReviewCreateNestedManyWithoutPrdInput
1119
+ shares?: Prisma.ShareCreateNestedManyWithoutPrdInput
1120
+ prdTags?: Prisma.PRDTagCreateNestedManyWithoutPrdInput
1121
+ agentConversations?: Prisma.AgentConversationCreateNestedManyWithoutPrdInput
1122
+ linkedStories?: Prisma.StoryPrdLinkCreateNestedManyWithoutPrdInput
1123
+ }
1124
+
1125
+ export type PRDUncheckedCreateWithoutCommentsInput = {
1126
+ id?: string
1127
+ icon?: string
1128
+ name: string
1129
+ description?: string | null
1130
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1131
+ userId: string
1132
+ isDeleted?: boolean
1133
+ deletedAt?: Date | string | null
1134
+ createdAt?: Date | string
1135
+ updatedAt?: Date | string
1136
+ pages?: Prisma.PRDPageUncheckedCreateNestedManyWithoutPrdInput
1137
+ versions?: Prisma.PRDVersionUncheckedCreateNestedManyWithoutPrdInput
1138
+ reviews?: Prisma.ReviewUncheckedCreateNestedManyWithoutPrdInput
1139
+ shares?: Prisma.ShareUncheckedCreateNestedManyWithoutPrdInput
1140
+ prdTags?: Prisma.PRDTagUncheckedCreateNestedManyWithoutPrdInput
1141
+ agentConversations?: Prisma.AgentConversationUncheckedCreateNestedManyWithoutPrdInput
1142
+ linkedStories?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutPrdInput
1143
+ }
1144
+
1145
+ export type PRDCreateOrConnectWithoutCommentsInput = {
1146
+ where: Prisma.PRDWhereUniqueInput
1147
+ create: Prisma.XOR<Prisma.PRDCreateWithoutCommentsInput, Prisma.PRDUncheckedCreateWithoutCommentsInput>
1148
+ }
1149
+
1150
+ export type PRDUpsertWithoutCommentsInput = {
1151
+ update: Prisma.XOR<Prisma.PRDUpdateWithoutCommentsInput, Prisma.PRDUncheckedUpdateWithoutCommentsInput>
1152
+ create: Prisma.XOR<Prisma.PRDCreateWithoutCommentsInput, Prisma.PRDUncheckedCreateWithoutCommentsInput>
1153
+ where?: Prisma.PRDWhereInput
1154
+ }
1155
+
1156
+ export type PRDUpdateToOneWithWhereWithoutCommentsInput = {
1157
+ where?: Prisma.PRDWhereInput
1158
+ data: Prisma.XOR<Prisma.PRDUpdateWithoutCommentsInput, Prisma.PRDUncheckedUpdateWithoutCommentsInput>
1159
+ }
1160
+
1161
+ export type PRDUpdateWithoutCommentsInput = {
1162
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1163
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
1164
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1165
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1166
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1167
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1168
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1169
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1170
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1171
+ user?: Prisma.UserUpdateOneRequiredWithoutPrdsNestedInput
1172
+ pages?: Prisma.PRDPageUpdateManyWithoutPrdNestedInput
1173
+ versions?: Prisma.PRDVersionUpdateManyWithoutPrdNestedInput
1174
+ reviews?: Prisma.ReviewUpdateManyWithoutPrdNestedInput
1175
+ shares?: Prisma.ShareUpdateManyWithoutPrdNestedInput
1176
+ prdTags?: Prisma.PRDTagUpdateManyWithoutPrdNestedInput
1177
+ agentConversations?: Prisma.AgentConversationUpdateManyWithoutPrdNestedInput
1178
+ linkedStories?: Prisma.StoryPrdLinkUpdateManyWithoutPrdNestedInput
1179
+ }
1180
+
1181
+ export type PRDUncheckedUpdateWithoutCommentsInput = {
1182
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1183
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
1184
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1185
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1186
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1187
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
1188
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1189
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1190
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1191
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1192
+ pages?: Prisma.PRDPageUncheckedUpdateManyWithoutPrdNestedInput
1193
+ versions?: Prisma.PRDVersionUncheckedUpdateManyWithoutPrdNestedInput
1194
+ reviews?: Prisma.ReviewUncheckedUpdateManyWithoutPrdNestedInput
1195
+ shares?: Prisma.ShareUncheckedUpdateManyWithoutPrdNestedInput
1196
+ prdTags?: Prisma.PRDTagUncheckedUpdateManyWithoutPrdNestedInput
1197
+ agentConversations?: Prisma.AgentConversationUncheckedUpdateManyWithoutPrdNestedInput
1198
+ linkedStories?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutPrdNestedInput
1199
+ }
1200
+
1201
+ export type PRDCreateWithoutSharesInput = {
1202
+ id?: string
1203
+ icon?: string
1204
+ name: string
1205
+ description?: string | null
1206
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1207
+ isDeleted?: boolean
1208
+ deletedAt?: Date | string | null
1209
+ createdAt?: Date | string
1210
+ updatedAt?: Date | string
1211
+ user: Prisma.UserCreateNestedOneWithoutPrdsInput
1212
+ pages?: Prisma.PRDPageCreateNestedManyWithoutPrdInput
1213
+ versions?: Prisma.PRDVersionCreateNestedManyWithoutPrdInput
1214
+ reviews?: Prisma.ReviewCreateNestedManyWithoutPrdInput
1215
+ comments?: Prisma.CommentCreateNestedManyWithoutPrdInput
1216
+ prdTags?: Prisma.PRDTagCreateNestedManyWithoutPrdInput
1217
+ agentConversations?: Prisma.AgentConversationCreateNestedManyWithoutPrdInput
1218
+ linkedStories?: Prisma.StoryPrdLinkCreateNestedManyWithoutPrdInput
1219
+ }
1220
+
1221
+ export type PRDUncheckedCreateWithoutSharesInput = {
1222
+ id?: string
1223
+ icon?: string
1224
+ name: string
1225
+ description?: string | null
1226
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1227
+ userId: string
1228
+ isDeleted?: boolean
1229
+ deletedAt?: Date | string | null
1230
+ createdAt?: Date | string
1231
+ updatedAt?: Date | string
1232
+ pages?: Prisma.PRDPageUncheckedCreateNestedManyWithoutPrdInput
1233
+ versions?: Prisma.PRDVersionUncheckedCreateNestedManyWithoutPrdInput
1234
+ reviews?: Prisma.ReviewUncheckedCreateNestedManyWithoutPrdInput
1235
+ comments?: Prisma.CommentUncheckedCreateNestedManyWithoutPrdInput
1236
+ prdTags?: Prisma.PRDTagUncheckedCreateNestedManyWithoutPrdInput
1237
+ agentConversations?: Prisma.AgentConversationUncheckedCreateNestedManyWithoutPrdInput
1238
+ linkedStories?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutPrdInput
1239
+ }
1240
+
1241
+ export type PRDCreateOrConnectWithoutSharesInput = {
1242
+ where: Prisma.PRDWhereUniqueInput
1243
+ create: Prisma.XOR<Prisma.PRDCreateWithoutSharesInput, Prisma.PRDUncheckedCreateWithoutSharesInput>
1244
+ }
1245
+
1246
+ export type PRDUpsertWithoutSharesInput = {
1247
+ update: Prisma.XOR<Prisma.PRDUpdateWithoutSharesInput, Prisma.PRDUncheckedUpdateWithoutSharesInput>
1248
+ create: Prisma.XOR<Prisma.PRDCreateWithoutSharesInput, Prisma.PRDUncheckedCreateWithoutSharesInput>
1249
+ where?: Prisma.PRDWhereInput
1250
+ }
1251
+
1252
+ export type PRDUpdateToOneWithWhereWithoutSharesInput = {
1253
+ where?: Prisma.PRDWhereInput
1254
+ data: Prisma.XOR<Prisma.PRDUpdateWithoutSharesInput, Prisma.PRDUncheckedUpdateWithoutSharesInput>
1255
+ }
1256
+
1257
+ export type PRDUpdateWithoutSharesInput = {
1258
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1259
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
1260
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1261
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1262
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1263
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1264
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1265
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1266
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1267
+ user?: Prisma.UserUpdateOneRequiredWithoutPrdsNestedInput
1268
+ pages?: Prisma.PRDPageUpdateManyWithoutPrdNestedInput
1269
+ versions?: Prisma.PRDVersionUpdateManyWithoutPrdNestedInput
1270
+ reviews?: Prisma.ReviewUpdateManyWithoutPrdNestedInput
1271
+ comments?: Prisma.CommentUpdateManyWithoutPrdNestedInput
1272
+ prdTags?: Prisma.PRDTagUpdateManyWithoutPrdNestedInput
1273
+ agentConversations?: Prisma.AgentConversationUpdateManyWithoutPrdNestedInput
1274
+ linkedStories?: Prisma.StoryPrdLinkUpdateManyWithoutPrdNestedInput
1275
+ }
1276
+
1277
+ export type PRDUncheckedUpdateWithoutSharesInput = {
1278
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1279
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
1280
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1281
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1282
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1283
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
1284
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1285
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1286
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1287
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1288
+ pages?: Prisma.PRDPageUncheckedUpdateManyWithoutPrdNestedInput
1289
+ versions?: Prisma.PRDVersionUncheckedUpdateManyWithoutPrdNestedInput
1290
+ reviews?: Prisma.ReviewUncheckedUpdateManyWithoutPrdNestedInput
1291
+ comments?: Prisma.CommentUncheckedUpdateManyWithoutPrdNestedInput
1292
+ prdTags?: Prisma.PRDTagUncheckedUpdateManyWithoutPrdNestedInput
1293
+ agentConversations?: Prisma.AgentConversationUncheckedUpdateManyWithoutPrdNestedInput
1294
+ linkedStories?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutPrdNestedInput
1295
+ }
1296
+
1297
+ export type PRDCreateWithoutPrdTagsInput = {
1298
+ id?: string
1299
+ icon?: string
1300
+ name: string
1301
+ description?: string | null
1302
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1303
+ isDeleted?: boolean
1304
+ deletedAt?: Date | string | null
1305
+ createdAt?: Date | string
1306
+ updatedAt?: Date | string
1307
+ user: Prisma.UserCreateNestedOneWithoutPrdsInput
1308
+ pages?: Prisma.PRDPageCreateNestedManyWithoutPrdInput
1309
+ versions?: Prisma.PRDVersionCreateNestedManyWithoutPrdInput
1310
+ reviews?: Prisma.ReviewCreateNestedManyWithoutPrdInput
1311
+ comments?: Prisma.CommentCreateNestedManyWithoutPrdInput
1312
+ shares?: Prisma.ShareCreateNestedManyWithoutPrdInput
1313
+ agentConversations?: Prisma.AgentConversationCreateNestedManyWithoutPrdInput
1314
+ linkedStories?: Prisma.StoryPrdLinkCreateNestedManyWithoutPrdInput
1315
+ }
1316
+
1317
+ export type PRDUncheckedCreateWithoutPrdTagsInput = {
1318
+ id?: string
1319
+ icon?: string
1320
+ name: string
1321
+ description?: string | null
1322
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1323
+ userId: string
1324
+ isDeleted?: boolean
1325
+ deletedAt?: Date | string | null
1326
+ createdAt?: Date | string
1327
+ updatedAt?: Date | string
1328
+ pages?: Prisma.PRDPageUncheckedCreateNestedManyWithoutPrdInput
1329
+ versions?: Prisma.PRDVersionUncheckedCreateNestedManyWithoutPrdInput
1330
+ reviews?: Prisma.ReviewUncheckedCreateNestedManyWithoutPrdInput
1331
+ comments?: Prisma.CommentUncheckedCreateNestedManyWithoutPrdInput
1332
+ shares?: Prisma.ShareUncheckedCreateNestedManyWithoutPrdInput
1333
+ agentConversations?: Prisma.AgentConversationUncheckedCreateNestedManyWithoutPrdInput
1334
+ linkedStories?: Prisma.StoryPrdLinkUncheckedCreateNestedManyWithoutPrdInput
1335
+ }
1336
+
1337
+ export type PRDCreateOrConnectWithoutPrdTagsInput = {
1338
+ where: Prisma.PRDWhereUniqueInput
1339
+ create: Prisma.XOR<Prisma.PRDCreateWithoutPrdTagsInput, Prisma.PRDUncheckedCreateWithoutPrdTagsInput>
1340
+ }
1341
+
1342
+ export type PRDUpsertWithoutPrdTagsInput = {
1343
+ update: Prisma.XOR<Prisma.PRDUpdateWithoutPrdTagsInput, Prisma.PRDUncheckedUpdateWithoutPrdTagsInput>
1344
+ create: Prisma.XOR<Prisma.PRDCreateWithoutPrdTagsInput, Prisma.PRDUncheckedCreateWithoutPrdTagsInput>
1345
+ where?: Prisma.PRDWhereInput
1346
+ }
1347
+
1348
+ export type PRDUpdateToOneWithWhereWithoutPrdTagsInput = {
1349
+ where?: Prisma.PRDWhereInput
1350
+ data: Prisma.XOR<Prisma.PRDUpdateWithoutPrdTagsInput, Prisma.PRDUncheckedUpdateWithoutPrdTagsInput>
1351
+ }
1352
+
1353
+ export type PRDUpdateWithoutPrdTagsInput = {
1354
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1355
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
1356
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1357
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1358
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1359
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1360
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1361
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1362
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1363
+ user?: Prisma.UserUpdateOneRequiredWithoutPrdsNestedInput
1364
+ pages?: Prisma.PRDPageUpdateManyWithoutPrdNestedInput
1365
+ versions?: Prisma.PRDVersionUpdateManyWithoutPrdNestedInput
1366
+ reviews?: Prisma.ReviewUpdateManyWithoutPrdNestedInput
1367
+ comments?: Prisma.CommentUpdateManyWithoutPrdNestedInput
1368
+ shares?: Prisma.ShareUpdateManyWithoutPrdNestedInput
1369
+ agentConversations?: Prisma.AgentConversationUpdateManyWithoutPrdNestedInput
1370
+ linkedStories?: Prisma.StoryPrdLinkUpdateManyWithoutPrdNestedInput
1371
+ }
1372
+
1373
+ export type PRDUncheckedUpdateWithoutPrdTagsInput = {
1374
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1375
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
1376
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1377
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1378
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1379
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
1380
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1381
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1382
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1383
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1384
+ pages?: Prisma.PRDPageUncheckedUpdateManyWithoutPrdNestedInput
1385
+ versions?: Prisma.PRDVersionUncheckedUpdateManyWithoutPrdNestedInput
1386
+ reviews?: Prisma.ReviewUncheckedUpdateManyWithoutPrdNestedInput
1387
+ comments?: Prisma.CommentUncheckedUpdateManyWithoutPrdNestedInput
1388
+ shares?: Prisma.ShareUncheckedUpdateManyWithoutPrdNestedInput
1389
+ agentConversations?: Prisma.AgentConversationUncheckedUpdateManyWithoutPrdNestedInput
1390
+ linkedStories?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutPrdNestedInput
1391
+ }
1392
+
1393
+ export type PRDCreateWithoutLinkedStoriesInput = {
1394
+ id?: string
1395
+ icon?: string
1396
+ name: string
1397
+ description?: string | null
1398
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1399
+ isDeleted?: boolean
1400
+ deletedAt?: Date | string | null
1401
+ createdAt?: Date | string
1402
+ updatedAt?: Date | string
1403
+ user: Prisma.UserCreateNestedOneWithoutPrdsInput
1404
+ pages?: Prisma.PRDPageCreateNestedManyWithoutPrdInput
1405
+ versions?: Prisma.PRDVersionCreateNestedManyWithoutPrdInput
1406
+ reviews?: Prisma.ReviewCreateNestedManyWithoutPrdInput
1407
+ comments?: Prisma.CommentCreateNestedManyWithoutPrdInput
1408
+ shares?: Prisma.ShareCreateNestedManyWithoutPrdInput
1409
+ prdTags?: Prisma.PRDTagCreateNestedManyWithoutPrdInput
1410
+ agentConversations?: Prisma.AgentConversationCreateNestedManyWithoutPrdInput
1411
+ }
1412
+
1413
+ export type PRDUncheckedCreateWithoutLinkedStoriesInput = {
1414
+ id?: string
1415
+ icon?: string
1416
+ name: string
1417
+ description?: string | null
1418
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1419
+ userId: string
1420
+ isDeleted?: boolean
1421
+ deletedAt?: Date | string | null
1422
+ createdAt?: Date | string
1423
+ updatedAt?: Date | string
1424
+ pages?: Prisma.PRDPageUncheckedCreateNestedManyWithoutPrdInput
1425
+ versions?: Prisma.PRDVersionUncheckedCreateNestedManyWithoutPrdInput
1426
+ reviews?: Prisma.ReviewUncheckedCreateNestedManyWithoutPrdInput
1427
+ comments?: Prisma.CommentUncheckedCreateNestedManyWithoutPrdInput
1428
+ shares?: Prisma.ShareUncheckedCreateNestedManyWithoutPrdInput
1429
+ prdTags?: Prisma.PRDTagUncheckedCreateNestedManyWithoutPrdInput
1430
+ agentConversations?: Prisma.AgentConversationUncheckedCreateNestedManyWithoutPrdInput
1431
+ }
1432
+
1433
+ export type PRDCreateOrConnectWithoutLinkedStoriesInput = {
1434
+ where: Prisma.PRDWhereUniqueInput
1435
+ create: Prisma.XOR<Prisma.PRDCreateWithoutLinkedStoriesInput, Prisma.PRDUncheckedCreateWithoutLinkedStoriesInput>
1436
+ }
1437
+
1438
+ export type PRDUpsertWithoutLinkedStoriesInput = {
1439
+ update: Prisma.XOR<Prisma.PRDUpdateWithoutLinkedStoriesInput, Prisma.PRDUncheckedUpdateWithoutLinkedStoriesInput>
1440
+ create: Prisma.XOR<Prisma.PRDCreateWithoutLinkedStoriesInput, Prisma.PRDUncheckedCreateWithoutLinkedStoriesInput>
1441
+ where?: Prisma.PRDWhereInput
1442
+ }
1443
+
1444
+ export type PRDUpdateToOneWithWhereWithoutLinkedStoriesInput = {
1445
+ where?: Prisma.PRDWhereInput
1446
+ data: Prisma.XOR<Prisma.PRDUpdateWithoutLinkedStoriesInput, Prisma.PRDUncheckedUpdateWithoutLinkedStoriesInput>
1447
+ }
1448
+
1449
+ export type PRDUpdateWithoutLinkedStoriesInput = {
1450
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1451
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
1452
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1453
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1454
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1455
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1456
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1457
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1458
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1459
+ user?: Prisma.UserUpdateOneRequiredWithoutPrdsNestedInput
1460
+ pages?: Prisma.PRDPageUpdateManyWithoutPrdNestedInput
1461
+ versions?: Prisma.PRDVersionUpdateManyWithoutPrdNestedInput
1462
+ reviews?: Prisma.ReviewUpdateManyWithoutPrdNestedInput
1463
+ comments?: Prisma.CommentUpdateManyWithoutPrdNestedInput
1464
+ shares?: Prisma.ShareUpdateManyWithoutPrdNestedInput
1465
+ prdTags?: Prisma.PRDTagUpdateManyWithoutPrdNestedInput
1466
+ agentConversations?: Prisma.AgentConversationUpdateManyWithoutPrdNestedInput
1467
+ }
1468
+
1469
+ export type PRDUncheckedUpdateWithoutLinkedStoriesInput = {
1470
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1471
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
1472
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1473
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1474
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1475
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
1476
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1477
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1478
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1479
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1480
+ pages?: Prisma.PRDPageUncheckedUpdateManyWithoutPrdNestedInput
1481
+ versions?: Prisma.PRDVersionUncheckedUpdateManyWithoutPrdNestedInput
1482
+ reviews?: Prisma.ReviewUncheckedUpdateManyWithoutPrdNestedInput
1483
+ comments?: Prisma.CommentUncheckedUpdateManyWithoutPrdNestedInput
1484
+ shares?: Prisma.ShareUncheckedUpdateManyWithoutPrdNestedInput
1485
+ prdTags?: Prisma.PRDTagUncheckedUpdateManyWithoutPrdNestedInput
1486
+ agentConversations?: Prisma.AgentConversationUncheckedUpdateManyWithoutPrdNestedInput
1487
+ }
1488
+
1489
+ export type PRDCreateManyUserInput = {
1490
+ id?: string
1491
+ icon?: string
1492
+ name: string
1493
+ description?: string | null
1494
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1495
+ isDeleted?: boolean
1496
+ deletedAt?: Date | string | null
1497
+ createdAt?: Date | string
1498
+ updatedAt?: Date | string
1499
+ }
1500
+
1501
+ export type PRDUpdateWithoutUserInput = {
1502
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1503
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
1504
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1505
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1506
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1507
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1508
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1509
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1510
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1511
+ pages?: Prisma.PRDPageUpdateManyWithoutPrdNestedInput
1512
+ versions?: Prisma.PRDVersionUpdateManyWithoutPrdNestedInput
1513
+ reviews?: Prisma.ReviewUpdateManyWithoutPrdNestedInput
1514
+ comments?: Prisma.CommentUpdateManyWithoutPrdNestedInput
1515
+ shares?: Prisma.ShareUpdateManyWithoutPrdNestedInput
1516
+ prdTags?: Prisma.PRDTagUpdateManyWithoutPrdNestedInput
1517
+ agentConversations?: Prisma.AgentConversationUpdateManyWithoutPrdNestedInput
1518
+ linkedStories?: Prisma.StoryPrdLinkUpdateManyWithoutPrdNestedInput
1519
+ }
1520
+
1521
+ export type PRDUncheckedUpdateWithoutUserInput = {
1522
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1523
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
1524
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1525
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1526
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1527
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1528
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1529
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1530
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1531
+ pages?: Prisma.PRDPageUncheckedUpdateManyWithoutPrdNestedInput
1532
+ versions?: Prisma.PRDVersionUncheckedUpdateManyWithoutPrdNestedInput
1533
+ reviews?: Prisma.ReviewUncheckedUpdateManyWithoutPrdNestedInput
1534
+ comments?: Prisma.CommentUncheckedUpdateManyWithoutPrdNestedInput
1535
+ shares?: Prisma.ShareUncheckedUpdateManyWithoutPrdNestedInput
1536
+ prdTags?: Prisma.PRDTagUncheckedUpdateManyWithoutPrdNestedInput
1537
+ agentConversations?: Prisma.AgentConversationUncheckedUpdateManyWithoutPrdNestedInput
1538
+ linkedStories?: Prisma.StoryPrdLinkUncheckedUpdateManyWithoutPrdNestedInput
1539
+ }
1540
+
1541
+ export type PRDUncheckedUpdateManyWithoutUserInput = {
1542
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1543
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
1544
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1545
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1546
+ settings?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue
1547
+ isDeleted?: Prisma.BoolFieldUpdateOperationsInput | boolean
1548
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1549
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1550
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1551
+ }
1552
+
1553
+
1554
+ /**
1555
+ * Count Type PRDCountOutputType
1556
+ */
1557
+
1558
+ export type PRDCountOutputType = {
1559
+ pages: number
1560
+ versions: number
1561
+ reviews: number
1562
+ comments: number
1563
+ shares: number
1564
+ prdTags: number
1565
+ agentConversations: number
1566
+ linkedStories: number
1567
+ }
1568
+
1569
+ export type PRDCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1570
+ pages?: boolean | PRDCountOutputTypeCountPagesArgs
1571
+ versions?: boolean | PRDCountOutputTypeCountVersionsArgs
1572
+ reviews?: boolean | PRDCountOutputTypeCountReviewsArgs
1573
+ comments?: boolean | PRDCountOutputTypeCountCommentsArgs
1574
+ shares?: boolean | PRDCountOutputTypeCountSharesArgs
1575
+ prdTags?: boolean | PRDCountOutputTypeCountPrdTagsArgs
1576
+ agentConversations?: boolean | PRDCountOutputTypeCountAgentConversationsArgs
1577
+ linkedStories?: boolean | PRDCountOutputTypeCountLinkedStoriesArgs
1578
+ }
1579
+
1580
+ /**
1581
+ * PRDCountOutputType without action
1582
+ */
1583
+ export type PRDCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1584
+ /**
1585
+ * Select specific fields to fetch from the PRDCountOutputType
1586
+ */
1587
+ select?: Prisma.PRDCountOutputTypeSelect<ExtArgs> | null
1588
+ }
1589
+
1590
+ /**
1591
+ * PRDCountOutputType without action
1592
+ */
1593
+ export type PRDCountOutputTypeCountPagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1594
+ where?: Prisma.PRDPageWhereInput
1595
+ }
1596
+
1597
+ /**
1598
+ * PRDCountOutputType without action
1599
+ */
1600
+ export type PRDCountOutputTypeCountVersionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1601
+ where?: Prisma.PRDVersionWhereInput
1602
+ }
1603
+
1604
+ /**
1605
+ * PRDCountOutputType without action
1606
+ */
1607
+ export type PRDCountOutputTypeCountReviewsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1608
+ where?: Prisma.ReviewWhereInput
1609
+ }
1610
+
1611
+ /**
1612
+ * PRDCountOutputType without action
1613
+ */
1614
+ export type PRDCountOutputTypeCountCommentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1615
+ where?: Prisma.CommentWhereInput
1616
+ }
1617
+
1618
+ /**
1619
+ * PRDCountOutputType without action
1620
+ */
1621
+ export type PRDCountOutputTypeCountSharesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1622
+ where?: Prisma.ShareWhereInput
1623
+ }
1624
+
1625
+ /**
1626
+ * PRDCountOutputType without action
1627
+ */
1628
+ export type PRDCountOutputTypeCountPrdTagsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1629
+ where?: Prisma.PRDTagWhereInput
1630
+ }
1631
+
1632
+ /**
1633
+ * PRDCountOutputType without action
1634
+ */
1635
+ export type PRDCountOutputTypeCountAgentConversationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1636
+ where?: Prisma.AgentConversationWhereInput
1637
+ }
1638
+
1639
+ /**
1640
+ * PRDCountOutputType without action
1641
+ */
1642
+ export type PRDCountOutputTypeCountLinkedStoriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1643
+ where?: Prisma.StoryPrdLinkWhereInput
1644
+ }
1645
+
1646
+
1647
+ export type PRDSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1648
+ id?: boolean
1649
+ icon?: boolean
1650
+ name?: boolean
1651
+ description?: boolean
1652
+ settings?: boolean
1653
+ userId?: boolean
1654
+ isDeleted?: boolean
1655
+ deletedAt?: boolean
1656
+ createdAt?: boolean
1657
+ updatedAt?: boolean
1658
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1659
+ pages?: boolean | Prisma.PRD$pagesArgs<ExtArgs>
1660
+ versions?: boolean | Prisma.PRD$versionsArgs<ExtArgs>
1661
+ reviews?: boolean | Prisma.PRD$reviewsArgs<ExtArgs>
1662
+ comments?: boolean | Prisma.PRD$commentsArgs<ExtArgs>
1663
+ shares?: boolean | Prisma.PRD$sharesArgs<ExtArgs>
1664
+ prdTags?: boolean | Prisma.PRD$prdTagsArgs<ExtArgs>
1665
+ agentConversations?: boolean | Prisma.PRD$agentConversationsArgs<ExtArgs>
1666
+ linkedStories?: boolean | Prisma.PRD$linkedStoriesArgs<ExtArgs>
1667
+ _count?: boolean | Prisma.PRDCountOutputTypeDefaultArgs<ExtArgs>
1668
+ }, ExtArgs["result"]["pRD"]>
1669
+
1670
+ export type PRDSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1671
+ id?: boolean
1672
+ icon?: boolean
1673
+ name?: boolean
1674
+ description?: boolean
1675
+ settings?: boolean
1676
+ userId?: boolean
1677
+ isDeleted?: boolean
1678
+ deletedAt?: boolean
1679
+ createdAt?: boolean
1680
+ updatedAt?: boolean
1681
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1682
+ }, ExtArgs["result"]["pRD"]>
1683
+
1684
+ export type PRDSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1685
+ id?: boolean
1686
+ icon?: boolean
1687
+ name?: boolean
1688
+ description?: boolean
1689
+ settings?: boolean
1690
+ userId?: boolean
1691
+ isDeleted?: boolean
1692
+ deletedAt?: boolean
1693
+ createdAt?: boolean
1694
+ updatedAt?: boolean
1695
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1696
+ }, ExtArgs["result"]["pRD"]>
1697
+
1698
+ export type PRDSelectScalar = {
1699
+ id?: boolean
1700
+ icon?: boolean
1701
+ name?: boolean
1702
+ description?: boolean
1703
+ settings?: boolean
1704
+ userId?: boolean
1705
+ isDeleted?: boolean
1706
+ deletedAt?: boolean
1707
+ createdAt?: boolean
1708
+ updatedAt?: boolean
1709
+ }
1710
+
1711
+ export type PRDOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "icon" | "name" | "description" | "settings" | "userId" | "isDeleted" | "deletedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["pRD"]>
1712
+ export type PRDInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1713
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1714
+ pages?: boolean | Prisma.PRD$pagesArgs<ExtArgs>
1715
+ versions?: boolean | Prisma.PRD$versionsArgs<ExtArgs>
1716
+ reviews?: boolean | Prisma.PRD$reviewsArgs<ExtArgs>
1717
+ comments?: boolean | Prisma.PRD$commentsArgs<ExtArgs>
1718
+ shares?: boolean | Prisma.PRD$sharesArgs<ExtArgs>
1719
+ prdTags?: boolean | Prisma.PRD$prdTagsArgs<ExtArgs>
1720
+ agentConversations?: boolean | Prisma.PRD$agentConversationsArgs<ExtArgs>
1721
+ linkedStories?: boolean | Prisma.PRD$linkedStoriesArgs<ExtArgs>
1722
+ _count?: boolean | Prisma.PRDCountOutputTypeDefaultArgs<ExtArgs>
1723
+ }
1724
+ export type PRDIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1725
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1726
+ }
1727
+ export type PRDIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1728
+ user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1729
+ }
1730
+
1731
+ export type $PRDPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1732
+ name: "PRD"
1733
+ objects: {
1734
+ user: Prisma.$UserPayload<ExtArgs>
1735
+ pages: Prisma.$PRDPagePayload<ExtArgs>[]
1736
+ versions: Prisma.$PRDVersionPayload<ExtArgs>[]
1737
+ reviews: Prisma.$ReviewPayload<ExtArgs>[]
1738
+ comments: Prisma.$CommentPayload<ExtArgs>[]
1739
+ shares: Prisma.$SharePayload<ExtArgs>[]
1740
+ prdTags: Prisma.$PRDTagPayload<ExtArgs>[]
1741
+ agentConversations: Prisma.$AgentConversationPayload<ExtArgs>[]
1742
+ linkedStories: Prisma.$StoryPrdLinkPayload<ExtArgs>[]
1743
+ }
1744
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
1745
+ id: string
1746
+ icon: string
1747
+ name: string
1748
+ description: string | null
1749
+ settings: runtime.JsonValue | null
1750
+ userId: string
1751
+ isDeleted: boolean
1752
+ deletedAt: Date | null
1753
+ createdAt: Date
1754
+ updatedAt: Date
1755
+ }, ExtArgs["result"]["pRD"]>
1756
+ composites: {}
1757
+ }
1758
+
1759
+ export type PRDGetPayload<S extends boolean | null | undefined | PRDDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PRDPayload, S>
1760
+
1761
+ export type PRDCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
1762
+ Omit<PRDFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1763
+ select?: PRDCountAggregateInputType | true
1764
+ }
1765
+
1766
+ export interface PRDDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1767
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['PRD'], meta: { name: 'PRD' } }
1768
+ /**
1769
+ * Find zero or one PRD that matches the filter.
1770
+ * @param {PRDFindUniqueArgs} args - Arguments to find a PRD
1771
+ * @example
1772
+ * // Get one PRD
1773
+ * const pRD = await prisma.pRD.findUnique({
1774
+ * where: {
1775
+ * // ... provide filter here
1776
+ * }
1777
+ * })
1778
+ */
1779
+ findUnique<T extends PRDFindUniqueArgs>(args: Prisma.SelectSubset<T, PRDFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PRDClient<runtime.Types.Result.GetResult<Prisma.$PRDPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1780
+
1781
+ /**
1782
+ * Find one PRD that matches the filter or throw an error with `error.code='P2025'`
1783
+ * if no matches were found.
1784
+ * @param {PRDFindUniqueOrThrowArgs} args - Arguments to find a PRD
1785
+ * @example
1786
+ * // Get one PRD
1787
+ * const pRD = await prisma.pRD.findUniqueOrThrow({
1788
+ * where: {
1789
+ * // ... provide filter here
1790
+ * }
1791
+ * })
1792
+ */
1793
+ findUniqueOrThrow<T extends PRDFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PRDFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PRDClient<runtime.Types.Result.GetResult<Prisma.$PRDPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1794
+
1795
+ /**
1796
+ * Find the first PRD that matches the filter.
1797
+ * Note, that providing `undefined` is treated as the value not being there.
1798
+ * Read more here: https://pris.ly/d/null-undefined
1799
+ * @param {PRDFindFirstArgs} args - Arguments to find a PRD
1800
+ * @example
1801
+ * // Get one PRD
1802
+ * const pRD = await prisma.pRD.findFirst({
1803
+ * where: {
1804
+ * // ... provide filter here
1805
+ * }
1806
+ * })
1807
+ */
1808
+ findFirst<T extends PRDFindFirstArgs>(args?: Prisma.SelectSubset<T, PRDFindFirstArgs<ExtArgs>>): Prisma.Prisma__PRDClient<runtime.Types.Result.GetResult<Prisma.$PRDPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1809
+
1810
+ /**
1811
+ * Find the first PRD that matches the filter or
1812
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1813
+ * Note, that providing `undefined` is treated as the value not being there.
1814
+ * Read more here: https://pris.ly/d/null-undefined
1815
+ * @param {PRDFindFirstOrThrowArgs} args - Arguments to find a PRD
1816
+ * @example
1817
+ * // Get one PRD
1818
+ * const pRD = await prisma.pRD.findFirstOrThrow({
1819
+ * where: {
1820
+ * // ... provide filter here
1821
+ * }
1822
+ * })
1823
+ */
1824
+ findFirstOrThrow<T extends PRDFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PRDFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PRDClient<runtime.Types.Result.GetResult<Prisma.$PRDPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1825
+
1826
+ /**
1827
+ * Find zero or more PRDS that matches the filter.
1828
+ * Note, that providing `undefined` is treated as the value not being there.
1829
+ * Read more here: https://pris.ly/d/null-undefined
1830
+ * @param {PRDFindManyArgs} args - Arguments to filter and select certain fields only.
1831
+ * @example
1832
+ * // Get all PRDS
1833
+ * const pRDS = await prisma.pRD.findMany()
1834
+ *
1835
+ * // Get first 10 PRDS
1836
+ * const pRDS = await prisma.pRD.findMany({ take: 10 })
1837
+ *
1838
+ * // Only select the `id`
1839
+ * const pRDWithIdOnly = await prisma.pRD.findMany({ select: { id: true } })
1840
+ *
1841
+ */
1842
+ findMany<T extends PRDFindManyArgs>(args?: Prisma.SelectSubset<T, PRDFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PRDPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
1843
+
1844
+ /**
1845
+ * Create a PRD.
1846
+ * @param {PRDCreateArgs} args - Arguments to create a PRD.
1847
+ * @example
1848
+ * // Create one PRD
1849
+ * const PRD = await prisma.pRD.create({
1850
+ * data: {
1851
+ * // ... data to create a PRD
1852
+ * }
1853
+ * })
1854
+ *
1855
+ */
1856
+ create<T extends PRDCreateArgs>(args: Prisma.SelectSubset<T, PRDCreateArgs<ExtArgs>>): Prisma.Prisma__PRDClient<runtime.Types.Result.GetResult<Prisma.$PRDPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1857
+
1858
+ /**
1859
+ * Create many PRDS.
1860
+ * @param {PRDCreateManyArgs} args - Arguments to create many PRDS.
1861
+ * @example
1862
+ * // Create many PRDS
1863
+ * const pRD = await prisma.pRD.createMany({
1864
+ * data: [
1865
+ * // ... provide data here
1866
+ * ]
1867
+ * })
1868
+ *
1869
+ */
1870
+ createMany<T extends PRDCreateManyArgs>(args?: Prisma.SelectSubset<T, PRDCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1871
+
1872
+ /**
1873
+ * Create many PRDS and returns the data saved in the database.
1874
+ * @param {PRDCreateManyAndReturnArgs} args - Arguments to create many PRDS.
1875
+ * @example
1876
+ * // Create many PRDS
1877
+ * const pRD = await prisma.pRD.createManyAndReturn({
1878
+ * data: [
1879
+ * // ... provide data here
1880
+ * ]
1881
+ * })
1882
+ *
1883
+ * // Create many PRDS and only return the `id`
1884
+ * const pRDWithIdOnly = await prisma.pRD.createManyAndReturn({
1885
+ * select: { id: true },
1886
+ * data: [
1887
+ * // ... provide data here
1888
+ * ]
1889
+ * })
1890
+ * Note, that providing `undefined` is treated as the value not being there.
1891
+ * Read more here: https://pris.ly/d/null-undefined
1892
+ *
1893
+ */
1894
+ createManyAndReturn<T extends PRDCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PRDCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PRDPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
1895
+
1896
+ /**
1897
+ * Delete a PRD.
1898
+ * @param {PRDDeleteArgs} args - Arguments to delete one PRD.
1899
+ * @example
1900
+ * // Delete one PRD
1901
+ * const PRD = await prisma.pRD.delete({
1902
+ * where: {
1903
+ * // ... filter to delete one PRD
1904
+ * }
1905
+ * })
1906
+ *
1907
+ */
1908
+ delete<T extends PRDDeleteArgs>(args: Prisma.SelectSubset<T, PRDDeleteArgs<ExtArgs>>): Prisma.Prisma__PRDClient<runtime.Types.Result.GetResult<Prisma.$PRDPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1909
+
1910
+ /**
1911
+ * Update one PRD.
1912
+ * @param {PRDUpdateArgs} args - Arguments to update one PRD.
1913
+ * @example
1914
+ * // Update one PRD
1915
+ * const pRD = await prisma.pRD.update({
1916
+ * where: {
1917
+ * // ... provide filter here
1918
+ * },
1919
+ * data: {
1920
+ * // ... provide data here
1921
+ * }
1922
+ * })
1923
+ *
1924
+ */
1925
+ update<T extends PRDUpdateArgs>(args: Prisma.SelectSubset<T, PRDUpdateArgs<ExtArgs>>): Prisma.Prisma__PRDClient<runtime.Types.Result.GetResult<Prisma.$PRDPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1926
+
1927
+ /**
1928
+ * Delete zero or more PRDS.
1929
+ * @param {PRDDeleteManyArgs} args - Arguments to filter PRDS to delete.
1930
+ * @example
1931
+ * // Delete a few PRDS
1932
+ * const { count } = await prisma.pRD.deleteMany({
1933
+ * where: {
1934
+ * // ... provide filter here
1935
+ * }
1936
+ * })
1937
+ *
1938
+ */
1939
+ deleteMany<T extends PRDDeleteManyArgs>(args?: Prisma.SelectSubset<T, PRDDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1940
+
1941
+ /**
1942
+ * Update zero or more PRDS.
1943
+ * Note, that providing `undefined` is treated as the value not being there.
1944
+ * Read more here: https://pris.ly/d/null-undefined
1945
+ * @param {PRDUpdateManyArgs} args - Arguments to update one or more rows.
1946
+ * @example
1947
+ * // Update many PRDS
1948
+ * const pRD = await prisma.pRD.updateMany({
1949
+ * where: {
1950
+ * // ... provide filter here
1951
+ * },
1952
+ * data: {
1953
+ * // ... provide data here
1954
+ * }
1955
+ * })
1956
+ *
1957
+ */
1958
+ updateMany<T extends PRDUpdateManyArgs>(args: Prisma.SelectSubset<T, PRDUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
1959
+
1960
+ /**
1961
+ * Update zero or more PRDS and returns the data updated in the database.
1962
+ * @param {PRDUpdateManyAndReturnArgs} args - Arguments to update many PRDS.
1963
+ * @example
1964
+ * // Update many PRDS
1965
+ * const pRD = await prisma.pRD.updateManyAndReturn({
1966
+ * where: {
1967
+ * // ... provide filter here
1968
+ * },
1969
+ * data: [
1970
+ * // ... provide data here
1971
+ * ]
1972
+ * })
1973
+ *
1974
+ * // Update zero or more PRDS and only return the `id`
1975
+ * const pRDWithIdOnly = await prisma.pRD.updateManyAndReturn({
1976
+ * select: { id: true },
1977
+ * where: {
1978
+ * // ... provide filter here
1979
+ * },
1980
+ * data: [
1981
+ * // ... provide data here
1982
+ * ]
1983
+ * })
1984
+ * Note, that providing `undefined` is treated as the value not being there.
1985
+ * Read more here: https://pris.ly/d/null-undefined
1986
+ *
1987
+ */
1988
+ updateManyAndReturn<T extends PRDUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PRDUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PRDPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1989
+
1990
+ /**
1991
+ * Create or update one PRD.
1992
+ * @param {PRDUpsertArgs} args - Arguments to update or create a PRD.
1993
+ * @example
1994
+ * // Update or create a PRD
1995
+ * const pRD = await prisma.pRD.upsert({
1996
+ * create: {
1997
+ * // ... data to create a PRD
1998
+ * },
1999
+ * update: {
2000
+ * // ... in case it already exists, update
2001
+ * },
2002
+ * where: {
2003
+ * // ... the filter for the PRD we want to update
2004
+ * }
2005
+ * })
2006
+ */
2007
+ upsert<T extends PRDUpsertArgs>(args: Prisma.SelectSubset<T, PRDUpsertArgs<ExtArgs>>): Prisma.Prisma__PRDClient<runtime.Types.Result.GetResult<Prisma.$PRDPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2008
+
2009
+
2010
+ /**
2011
+ * Count the number of PRDS.
2012
+ * Note, that providing `undefined` is treated as the value not being there.
2013
+ * Read more here: https://pris.ly/d/null-undefined
2014
+ * @param {PRDCountArgs} args - Arguments to filter PRDS to count.
2015
+ * @example
2016
+ * // Count the number of PRDS
2017
+ * const count = await prisma.pRD.count({
2018
+ * where: {
2019
+ * // ... the filter for the PRDS we want to count
2020
+ * }
2021
+ * })
2022
+ **/
2023
+ count<T extends PRDCountArgs>(
2024
+ args?: Prisma.Subset<T, PRDCountArgs>,
2025
+ ): Prisma.PrismaPromise<
2026
+ T extends runtime.Types.Utils.Record<'select', any>
2027
+ ? T['select'] extends true
2028
+ ? number
2029
+ : Prisma.GetScalarType<T['select'], PRDCountAggregateOutputType>
2030
+ : number
2031
+ >
2032
+
2033
+ /**
2034
+ * Allows you to perform aggregations operations on a PRD.
2035
+ * Note, that providing `undefined` is treated as the value not being there.
2036
+ * Read more here: https://pris.ly/d/null-undefined
2037
+ * @param {PRDAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
2038
+ * @example
2039
+ * // Ordered by age ascending
2040
+ * // Where email contains prisma.io
2041
+ * // Limited to the 10 users
2042
+ * const aggregations = await prisma.user.aggregate({
2043
+ * _avg: {
2044
+ * age: true,
2045
+ * },
2046
+ * where: {
2047
+ * email: {
2048
+ * contains: "prisma.io",
2049
+ * },
2050
+ * },
2051
+ * orderBy: {
2052
+ * age: "asc",
2053
+ * },
2054
+ * take: 10,
2055
+ * })
2056
+ **/
2057
+ aggregate<T extends PRDAggregateArgs>(args: Prisma.Subset<T, PRDAggregateArgs>): Prisma.PrismaPromise<GetPRDAggregateType<T>>
2058
+
2059
+ /**
2060
+ * Group by PRD.
2061
+ * Note, that providing `undefined` is treated as the value not being there.
2062
+ * Read more here: https://pris.ly/d/null-undefined
2063
+ * @param {PRDGroupByArgs} args - Group by arguments.
2064
+ * @example
2065
+ * // Group by city, order by createdAt, get count
2066
+ * const result = await prisma.user.groupBy({
2067
+ * by: ['city', 'createdAt'],
2068
+ * orderBy: {
2069
+ * createdAt: true
2070
+ * },
2071
+ * _count: {
2072
+ * _all: true
2073
+ * },
2074
+ * })
2075
+ *
2076
+ **/
2077
+ groupBy<
2078
+ T extends PRDGroupByArgs,
2079
+ HasSelectOrTake extends Prisma.Or<
2080
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
2081
+ Prisma.Extends<'take', Prisma.Keys<T>>
2082
+ >,
2083
+ OrderByArg extends Prisma.True extends HasSelectOrTake
2084
+ ? { orderBy: PRDGroupByArgs['orderBy'] }
2085
+ : { orderBy?: PRDGroupByArgs['orderBy'] },
2086
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
2087
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
2088
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
2089
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
2090
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
2091
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
2092
+ InputErrors extends ByEmpty extends Prisma.True
2093
+ ? `Error: "by" must not be empty.`
2094
+ : HavingValid extends Prisma.False
2095
+ ? {
2096
+ [P in HavingFields]: P extends ByFields
2097
+ ? never
2098
+ : P extends string
2099
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
2100
+ : [
2101
+ Error,
2102
+ 'Field ',
2103
+ P,
2104
+ ` in "having" needs to be provided in "by"`,
2105
+ ]
2106
+ }[HavingFields]
2107
+ : 'take' extends Prisma.Keys<T>
2108
+ ? 'orderBy' extends Prisma.Keys<T>
2109
+ ? ByValid extends Prisma.True
2110
+ ? {}
2111
+ : {
2112
+ [P in OrderFields]: P extends ByFields
2113
+ ? never
2114
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2115
+ }[OrderFields]
2116
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
2117
+ : 'skip' extends Prisma.Keys<T>
2118
+ ? 'orderBy' extends Prisma.Keys<T>
2119
+ ? ByValid extends Prisma.True
2120
+ ? {}
2121
+ : {
2122
+ [P in OrderFields]: P extends ByFields
2123
+ ? never
2124
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2125
+ }[OrderFields]
2126
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
2127
+ : ByValid extends Prisma.True
2128
+ ? {}
2129
+ : {
2130
+ [P in OrderFields]: P extends ByFields
2131
+ ? never
2132
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2133
+ }[OrderFields]
2134
+ >(args: Prisma.SubsetIntersection<T, PRDGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPRDGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
2135
+ /**
2136
+ * Fields of the PRD model
2137
+ */
2138
+ readonly fields: PRDFieldRefs;
2139
+ }
2140
+
2141
+ /**
2142
+ * The delegate class that acts as a "Promise-like" for PRD.
2143
+ * Why is this prefixed with `Prisma__`?
2144
+ * Because we want to prevent naming conflicts as mentioned in
2145
+ * https://github.com/prisma/prisma-client-js/issues/707
2146
+ */
2147
+ export interface Prisma__PRDClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
2148
+ readonly [Symbol.toStringTag]: "PrismaPromise"
2149
+ user<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
2150
+ pages<T extends Prisma.PRD$pagesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PRD$pagesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PRDPagePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2151
+ versions<T extends Prisma.PRD$versionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PRD$versionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PRDVersionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2152
+ reviews<T extends Prisma.PRD$reviewsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PRD$reviewsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ReviewPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2153
+ comments<T extends Prisma.PRD$commentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PRD$commentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CommentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2154
+ shares<T extends Prisma.PRD$sharesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PRD$sharesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SharePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2155
+ prdTags<T extends Prisma.PRD$prdTagsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PRD$prdTagsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PRDTagPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2156
+ agentConversations<T extends Prisma.PRD$agentConversationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PRD$agentConversationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AgentConversationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2157
+ linkedStories<T extends Prisma.PRD$linkedStoriesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PRD$linkedStoriesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StoryPrdLinkPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2158
+ /**
2159
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
2160
+ * @param onfulfilled The callback to execute when the Promise is resolved.
2161
+ * @param onrejected The callback to execute when the Promise is rejected.
2162
+ * @returns A Promise for the completion of which ever callback is executed.
2163
+ */
2164
+ 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>
2165
+ /**
2166
+ * Attaches a callback for only the rejection of the Promise.
2167
+ * @param onrejected The callback to execute when the Promise is rejected.
2168
+ * @returns A Promise for the completion of the callback.
2169
+ */
2170
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
2171
+ /**
2172
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
2173
+ * resolved value cannot be modified from the callback.
2174
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
2175
+ * @returns A Promise for the completion of the callback.
2176
+ */
2177
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
2178
+ }
2179
+
2180
+
2181
+
2182
+
2183
+ /**
2184
+ * Fields of the PRD model
2185
+ */
2186
+ export interface PRDFieldRefs {
2187
+ readonly id: Prisma.FieldRef<"PRD", 'String'>
2188
+ readonly icon: Prisma.FieldRef<"PRD", 'String'>
2189
+ readonly name: Prisma.FieldRef<"PRD", 'String'>
2190
+ readonly description: Prisma.FieldRef<"PRD", 'String'>
2191
+ readonly settings: Prisma.FieldRef<"PRD", 'Json'>
2192
+ readonly userId: Prisma.FieldRef<"PRD", 'String'>
2193
+ readonly isDeleted: Prisma.FieldRef<"PRD", 'Boolean'>
2194
+ readonly deletedAt: Prisma.FieldRef<"PRD", 'DateTime'>
2195
+ readonly createdAt: Prisma.FieldRef<"PRD", 'DateTime'>
2196
+ readonly updatedAt: Prisma.FieldRef<"PRD", 'DateTime'>
2197
+ }
2198
+
2199
+
2200
+ // Custom InputTypes
2201
+ /**
2202
+ * PRD findUnique
2203
+ */
2204
+ export type PRDFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2205
+ /**
2206
+ * Select specific fields to fetch from the PRD
2207
+ */
2208
+ select?: Prisma.PRDSelect<ExtArgs> | null
2209
+ /**
2210
+ * Omit specific fields from the PRD
2211
+ */
2212
+ omit?: Prisma.PRDOmit<ExtArgs> | null
2213
+ /**
2214
+ * Choose, which related nodes to fetch as well
2215
+ */
2216
+ include?: Prisma.PRDInclude<ExtArgs> | null
2217
+ /**
2218
+ * Filter, which PRD to fetch.
2219
+ */
2220
+ where: Prisma.PRDWhereUniqueInput
2221
+ }
2222
+
2223
+ /**
2224
+ * PRD findUniqueOrThrow
2225
+ */
2226
+ export type PRDFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2227
+ /**
2228
+ * Select specific fields to fetch from the PRD
2229
+ */
2230
+ select?: Prisma.PRDSelect<ExtArgs> | null
2231
+ /**
2232
+ * Omit specific fields from the PRD
2233
+ */
2234
+ omit?: Prisma.PRDOmit<ExtArgs> | null
2235
+ /**
2236
+ * Choose, which related nodes to fetch as well
2237
+ */
2238
+ include?: Prisma.PRDInclude<ExtArgs> | null
2239
+ /**
2240
+ * Filter, which PRD to fetch.
2241
+ */
2242
+ where: Prisma.PRDWhereUniqueInput
2243
+ }
2244
+
2245
+ /**
2246
+ * PRD findFirst
2247
+ */
2248
+ export type PRDFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2249
+ /**
2250
+ * Select specific fields to fetch from the PRD
2251
+ */
2252
+ select?: Prisma.PRDSelect<ExtArgs> | null
2253
+ /**
2254
+ * Omit specific fields from the PRD
2255
+ */
2256
+ omit?: Prisma.PRDOmit<ExtArgs> | null
2257
+ /**
2258
+ * Choose, which related nodes to fetch as well
2259
+ */
2260
+ include?: Prisma.PRDInclude<ExtArgs> | null
2261
+ /**
2262
+ * Filter, which PRD to fetch.
2263
+ */
2264
+ where?: Prisma.PRDWhereInput
2265
+ /**
2266
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2267
+ *
2268
+ * Determine the order of PRDS to fetch.
2269
+ */
2270
+ orderBy?: Prisma.PRDOrderByWithRelationInput | Prisma.PRDOrderByWithRelationInput[]
2271
+ /**
2272
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2273
+ *
2274
+ * Sets the position for searching for PRDS.
2275
+ */
2276
+ cursor?: Prisma.PRDWhereUniqueInput
2277
+ /**
2278
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2279
+ *
2280
+ * Take `±n` PRDS from the position of the cursor.
2281
+ */
2282
+ take?: number
2283
+ /**
2284
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2285
+ *
2286
+ * Skip the first `n` PRDS.
2287
+ */
2288
+ skip?: number
2289
+ /**
2290
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2291
+ *
2292
+ * Filter by unique combinations of PRDS.
2293
+ */
2294
+ distinct?: Prisma.PRDScalarFieldEnum | Prisma.PRDScalarFieldEnum[]
2295
+ }
2296
+
2297
+ /**
2298
+ * PRD findFirstOrThrow
2299
+ */
2300
+ export type PRDFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2301
+ /**
2302
+ * Select specific fields to fetch from the PRD
2303
+ */
2304
+ select?: Prisma.PRDSelect<ExtArgs> | null
2305
+ /**
2306
+ * Omit specific fields from the PRD
2307
+ */
2308
+ omit?: Prisma.PRDOmit<ExtArgs> | null
2309
+ /**
2310
+ * Choose, which related nodes to fetch as well
2311
+ */
2312
+ include?: Prisma.PRDInclude<ExtArgs> | null
2313
+ /**
2314
+ * Filter, which PRD to fetch.
2315
+ */
2316
+ where?: Prisma.PRDWhereInput
2317
+ /**
2318
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2319
+ *
2320
+ * Determine the order of PRDS to fetch.
2321
+ */
2322
+ orderBy?: Prisma.PRDOrderByWithRelationInput | Prisma.PRDOrderByWithRelationInput[]
2323
+ /**
2324
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2325
+ *
2326
+ * Sets the position for searching for PRDS.
2327
+ */
2328
+ cursor?: Prisma.PRDWhereUniqueInput
2329
+ /**
2330
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2331
+ *
2332
+ * Take `±n` PRDS from the position of the cursor.
2333
+ */
2334
+ take?: number
2335
+ /**
2336
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2337
+ *
2338
+ * Skip the first `n` PRDS.
2339
+ */
2340
+ skip?: number
2341
+ /**
2342
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2343
+ *
2344
+ * Filter by unique combinations of PRDS.
2345
+ */
2346
+ distinct?: Prisma.PRDScalarFieldEnum | Prisma.PRDScalarFieldEnum[]
2347
+ }
2348
+
2349
+ /**
2350
+ * PRD findMany
2351
+ */
2352
+ export type PRDFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2353
+ /**
2354
+ * Select specific fields to fetch from the PRD
2355
+ */
2356
+ select?: Prisma.PRDSelect<ExtArgs> | null
2357
+ /**
2358
+ * Omit specific fields from the PRD
2359
+ */
2360
+ omit?: Prisma.PRDOmit<ExtArgs> | null
2361
+ /**
2362
+ * Choose, which related nodes to fetch as well
2363
+ */
2364
+ include?: Prisma.PRDInclude<ExtArgs> | null
2365
+ /**
2366
+ * Filter, which PRDS to fetch.
2367
+ */
2368
+ where?: Prisma.PRDWhereInput
2369
+ /**
2370
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2371
+ *
2372
+ * Determine the order of PRDS to fetch.
2373
+ */
2374
+ orderBy?: Prisma.PRDOrderByWithRelationInput | Prisma.PRDOrderByWithRelationInput[]
2375
+ /**
2376
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2377
+ *
2378
+ * Sets the position for listing PRDS.
2379
+ */
2380
+ cursor?: Prisma.PRDWhereUniqueInput
2381
+ /**
2382
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2383
+ *
2384
+ * Take `±n` PRDS from the position of the cursor.
2385
+ */
2386
+ take?: number
2387
+ /**
2388
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2389
+ *
2390
+ * Skip the first `n` PRDS.
2391
+ */
2392
+ skip?: number
2393
+ /**
2394
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2395
+ *
2396
+ * Filter by unique combinations of PRDS.
2397
+ */
2398
+ distinct?: Prisma.PRDScalarFieldEnum | Prisma.PRDScalarFieldEnum[]
2399
+ }
2400
+
2401
+ /**
2402
+ * PRD create
2403
+ */
2404
+ export type PRDCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2405
+ /**
2406
+ * Select specific fields to fetch from the PRD
2407
+ */
2408
+ select?: Prisma.PRDSelect<ExtArgs> | null
2409
+ /**
2410
+ * Omit specific fields from the PRD
2411
+ */
2412
+ omit?: Prisma.PRDOmit<ExtArgs> | null
2413
+ /**
2414
+ * Choose, which related nodes to fetch as well
2415
+ */
2416
+ include?: Prisma.PRDInclude<ExtArgs> | null
2417
+ /**
2418
+ * The data needed to create a PRD.
2419
+ */
2420
+ data: Prisma.XOR<Prisma.PRDCreateInput, Prisma.PRDUncheckedCreateInput>
2421
+ }
2422
+
2423
+ /**
2424
+ * PRD createMany
2425
+ */
2426
+ export type PRDCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2427
+ /**
2428
+ * The data used to create many PRDS.
2429
+ */
2430
+ data: Prisma.PRDCreateManyInput | Prisma.PRDCreateManyInput[]
2431
+ skipDuplicates?: boolean
2432
+ }
2433
+
2434
+ /**
2435
+ * PRD createManyAndReturn
2436
+ */
2437
+ export type PRDCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2438
+ /**
2439
+ * Select specific fields to fetch from the PRD
2440
+ */
2441
+ select?: Prisma.PRDSelectCreateManyAndReturn<ExtArgs> | null
2442
+ /**
2443
+ * Omit specific fields from the PRD
2444
+ */
2445
+ omit?: Prisma.PRDOmit<ExtArgs> | null
2446
+ /**
2447
+ * The data used to create many PRDS.
2448
+ */
2449
+ data: Prisma.PRDCreateManyInput | Prisma.PRDCreateManyInput[]
2450
+ skipDuplicates?: boolean
2451
+ /**
2452
+ * Choose, which related nodes to fetch as well
2453
+ */
2454
+ include?: Prisma.PRDIncludeCreateManyAndReturn<ExtArgs> | null
2455
+ }
2456
+
2457
+ /**
2458
+ * PRD update
2459
+ */
2460
+ export type PRDUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2461
+ /**
2462
+ * Select specific fields to fetch from the PRD
2463
+ */
2464
+ select?: Prisma.PRDSelect<ExtArgs> | null
2465
+ /**
2466
+ * Omit specific fields from the PRD
2467
+ */
2468
+ omit?: Prisma.PRDOmit<ExtArgs> | null
2469
+ /**
2470
+ * Choose, which related nodes to fetch as well
2471
+ */
2472
+ include?: Prisma.PRDInclude<ExtArgs> | null
2473
+ /**
2474
+ * The data needed to update a PRD.
2475
+ */
2476
+ data: Prisma.XOR<Prisma.PRDUpdateInput, Prisma.PRDUncheckedUpdateInput>
2477
+ /**
2478
+ * Choose, which PRD to update.
2479
+ */
2480
+ where: Prisma.PRDWhereUniqueInput
2481
+ }
2482
+
2483
+ /**
2484
+ * PRD updateMany
2485
+ */
2486
+ export type PRDUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2487
+ /**
2488
+ * The data used to update PRDS.
2489
+ */
2490
+ data: Prisma.XOR<Prisma.PRDUpdateManyMutationInput, Prisma.PRDUncheckedUpdateManyInput>
2491
+ /**
2492
+ * Filter which PRDS to update
2493
+ */
2494
+ where?: Prisma.PRDWhereInput
2495
+ /**
2496
+ * Limit how many PRDS to update.
2497
+ */
2498
+ limit?: number
2499
+ }
2500
+
2501
+ /**
2502
+ * PRD updateManyAndReturn
2503
+ */
2504
+ export type PRDUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2505
+ /**
2506
+ * Select specific fields to fetch from the PRD
2507
+ */
2508
+ select?: Prisma.PRDSelectUpdateManyAndReturn<ExtArgs> | null
2509
+ /**
2510
+ * Omit specific fields from the PRD
2511
+ */
2512
+ omit?: Prisma.PRDOmit<ExtArgs> | null
2513
+ /**
2514
+ * The data used to update PRDS.
2515
+ */
2516
+ data: Prisma.XOR<Prisma.PRDUpdateManyMutationInput, Prisma.PRDUncheckedUpdateManyInput>
2517
+ /**
2518
+ * Filter which PRDS to update
2519
+ */
2520
+ where?: Prisma.PRDWhereInput
2521
+ /**
2522
+ * Limit how many PRDS to update.
2523
+ */
2524
+ limit?: number
2525
+ /**
2526
+ * Choose, which related nodes to fetch as well
2527
+ */
2528
+ include?: Prisma.PRDIncludeUpdateManyAndReturn<ExtArgs> | null
2529
+ }
2530
+
2531
+ /**
2532
+ * PRD upsert
2533
+ */
2534
+ export type PRDUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2535
+ /**
2536
+ * Select specific fields to fetch from the PRD
2537
+ */
2538
+ select?: Prisma.PRDSelect<ExtArgs> | null
2539
+ /**
2540
+ * Omit specific fields from the PRD
2541
+ */
2542
+ omit?: Prisma.PRDOmit<ExtArgs> | null
2543
+ /**
2544
+ * Choose, which related nodes to fetch as well
2545
+ */
2546
+ include?: Prisma.PRDInclude<ExtArgs> | null
2547
+ /**
2548
+ * The filter to search for the PRD to update in case it exists.
2549
+ */
2550
+ where: Prisma.PRDWhereUniqueInput
2551
+ /**
2552
+ * In case the PRD found by the `where` argument doesn't exist, create a new PRD with this data.
2553
+ */
2554
+ create: Prisma.XOR<Prisma.PRDCreateInput, Prisma.PRDUncheckedCreateInput>
2555
+ /**
2556
+ * In case the PRD was found with the provided `where` argument, update it with this data.
2557
+ */
2558
+ update: Prisma.XOR<Prisma.PRDUpdateInput, Prisma.PRDUncheckedUpdateInput>
2559
+ }
2560
+
2561
+ /**
2562
+ * PRD delete
2563
+ */
2564
+ export type PRDDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2565
+ /**
2566
+ * Select specific fields to fetch from the PRD
2567
+ */
2568
+ select?: Prisma.PRDSelect<ExtArgs> | null
2569
+ /**
2570
+ * Omit specific fields from the PRD
2571
+ */
2572
+ omit?: Prisma.PRDOmit<ExtArgs> | null
2573
+ /**
2574
+ * Choose, which related nodes to fetch as well
2575
+ */
2576
+ include?: Prisma.PRDInclude<ExtArgs> | null
2577
+ /**
2578
+ * Filter which PRD to delete.
2579
+ */
2580
+ where: Prisma.PRDWhereUniqueInput
2581
+ }
2582
+
2583
+ /**
2584
+ * PRD deleteMany
2585
+ */
2586
+ export type PRDDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2587
+ /**
2588
+ * Filter which PRDS to delete
2589
+ */
2590
+ where?: Prisma.PRDWhereInput
2591
+ /**
2592
+ * Limit how many PRDS to delete.
2593
+ */
2594
+ limit?: number
2595
+ }
2596
+
2597
+ /**
2598
+ * PRD.pages
2599
+ */
2600
+ export type PRD$pagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2601
+ /**
2602
+ * Select specific fields to fetch from the PRDPage
2603
+ */
2604
+ select?: Prisma.PRDPageSelect<ExtArgs> | null
2605
+ /**
2606
+ * Omit specific fields from the PRDPage
2607
+ */
2608
+ omit?: Prisma.PRDPageOmit<ExtArgs> | null
2609
+ /**
2610
+ * Choose, which related nodes to fetch as well
2611
+ */
2612
+ include?: Prisma.PRDPageInclude<ExtArgs> | null
2613
+ where?: Prisma.PRDPageWhereInput
2614
+ orderBy?: Prisma.PRDPageOrderByWithRelationInput | Prisma.PRDPageOrderByWithRelationInput[]
2615
+ cursor?: Prisma.PRDPageWhereUniqueInput
2616
+ take?: number
2617
+ skip?: number
2618
+ distinct?: Prisma.PRDPageScalarFieldEnum | Prisma.PRDPageScalarFieldEnum[]
2619
+ }
2620
+
2621
+ /**
2622
+ * PRD.versions
2623
+ */
2624
+ export type PRD$versionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2625
+ /**
2626
+ * Select specific fields to fetch from the PRDVersion
2627
+ */
2628
+ select?: Prisma.PRDVersionSelect<ExtArgs> | null
2629
+ /**
2630
+ * Omit specific fields from the PRDVersion
2631
+ */
2632
+ omit?: Prisma.PRDVersionOmit<ExtArgs> | null
2633
+ /**
2634
+ * Choose, which related nodes to fetch as well
2635
+ */
2636
+ include?: Prisma.PRDVersionInclude<ExtArgs> | null
2637
+ where?: Prisma.PRDVersionWhereInput
2638
+ orderBy?: Prisma.PRDVersionOrderByWithRelationInput | Prisma.PRDVersionOrderByWithRelationInput[]
2639
+ cursor?: Prisma.PRDVersionWhereUniqueInput
2640
+ take?: number
2641
+ skip?: number
2642
+ distinct?: Prisma.PRDVersionScalarFieldEnum | Prisma.PRDVersionScalarFieldEnum[]
2643
+ }
2644
+
2645
+ /**
2646
+ * PRD.reviews
2647
+ */
2648
+ export type PRD$reviewsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2649
+ /**
2650
+ * Select specific fields to fetch from the Review
2651
+ */
2652
+ select?: Prisma.ReviewSelect<ExtArgs> | null
2653
+ /**
2654
+ * Omit specific fields from the Review
2655
+ */
2656
+ omit?: Prisma.ReviewOmit<ExtArgs> | null
2657
+ /**
2658
+ * Choose, which related nodes to fetch as well
2659
+ */
2660
+ include?: Prisma.ReviewInclude<ExtArgs> | null
2661
+ where?: Prisma.ReviewWhereInput
2662
+ orderBy?: Prisma.ReviewOrderByWithRelationInput | Prisma.ReviewOrderByWithRelationInput[]
2663
+ cursor?: Prisma.ReviewWhereUniqueInput
2664
+ take?: number
2665
+ skip?: number
2666
+ distinct?: Prisma.ReviewScalarFieldEnum | Prisma.ReviewScalarFieldEnum[]
2667
+ }
2668
+
2669
+ /**
2670
+ * PRD.comments
2671
+ */
2672
+ export type PRD$commentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2673
+ /**
2674
+ * Select specific fields to fetch from the Comment
2675
+ */
2676
+ select?: Prisma.CommentSelect<ExtArgs> | null
2677
+ /**
2678
+ * Omit specific fields from the Comment
2679
+ */
2680
+ omit?: Prisma.CommentOmit<ExtArgs> | null
2681
+ /**
2682
+ * Choose, which related nodes to fetch as well
2683
+ */
2684
+ include?: Prisma.CommentInclude<ExtArgs> | null
2685
+ where?: Prisma.CommentWhereInput
2686
+ orderBy?: Prisma.CommentOrderByWithRelationInput | Prisma.CommentOrderByWithRelationInput[]
2687
+ cursor?: Prisma.CommentWhereUniqueInput
2688
+ take?: number
2689
+ skip?: number
2690
+ distinct?: Prisma.CommentScalarFieldEnum | Prisma.CommentScalarFieldEnum[]
2691
+ }
2692
+
2693
+ /**
2694
+ * PRD.shares
2695
+ */
2696
+ export type PRD$sharesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2697
+ /**
2698
+ * Select specific fields to fetch from the Share
2699
+ */
2700
+ select?: Prisma.ShareSelect<ExtArgs> | null
2701
+ /**
2702
+ * Omit specific fields from the Share
2703
+ */
2704
+ omit?: Prisma.ShareOmit<ExtArgs> | null
2705
+ /**
2706
+ * Choose, which related nodes to fetch as well
2707
+ */
2708
+ include?: Prisma.ShareInclude<ExtArgs> | null
2709
+ where?: Prisma.ShareWhereInput
2710
+ orderBy?: Prisma.ShareOrderByWithRelationInput | Prisma.ShareOrderByWithRelationInput[]
2711
+ cursor?: Prisma.ShareWhereUniqueInput
2712
+ take?: number
2713
+ skip?: number
2714
+ distinct?: Prisma.ShareScalarFieldEnum | Prisma.ShareScalarFieldEnum[]
2715
+ }
2716
+
2717
+ /**
2718
+ * PRD.prdTags
2719
+ */
2720
+ export type PRD$prdTagsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2721
+ /**
2722
+ * Select specific fields to fetch from the PRDTag
2723
+ */
2724
+ select?: Prisma.PRDTagSelect<ExtArgs> | null
2725
+ /**
2726
+ * Omit specific fields from the PRDTag
2727
+ */
2728
+ omit?: Prisma.PRDTagOmit<ExtArgs> | null
2729
+ /**
2730
+ * Choose, which related nodes to fetch as well
2731
+ */
2732
+ include?: Prisma.PRDTagInclude<ExtArgs> | null
2733
+ where?: Prisma.PRDTagWhereInput
2734
+ orderBy?: Prisma.PRDTagOrderByWithRelationInput | Prisma.PRDTagOrderByWithRelationInput[]
2735
+ cursor?: Prisma.PRDTagWhereUniqueInput
2736
+ take?: number
2737
+ skip?: number
2738
+ distinct?: Prisma.PRDTagScalarFieldEnum | Prisma.PRDTagScalarFieldEnum[]
2739
+ }
2740
+
2741
+ /**
2742
+ * PRD.agentConversations
2743
+ */
2744
+ export type PRD$agentConversationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2745
+ /**
2746
+ * Select specific fields to fetch from the AgentConversation
2747
+ */
2748
+ select?: Prisma.AgentConversationSelect<ExtArgs> | null
2749
+ /**
2750
+ * Omit specific fields from the AgentConversation
2751
+ */
2752
+ omit?: Prisma.AgentConversationOmit<ExtArgs> | null
2753
+ /**
2754
+ * Choose, which related nodes to fetch as well
2755
+ */
2756
+ include?: Prisma.AgentConversationInclude<ExtArgs> | null
2757
+ where?: Prisma.AgentConversationWhereInput
2758
+ orderBy?: Prisma.AgentConversationOrderByWithRelationInput | Prisma.AgentConversationOrderByWithRelationInput[]
2759
+ cursor?: Prisma.AgentConversationWhereUniqueInput
2760
+ take?: number
2761
+ skip?: number
2762
+ distinct?: Prisma.AgentConversationScalarFieldEnum | Prisma.AgentConversationScalarFieldEnum[]
2763
+ }
2764
+
2765
+ /**
2766
+ * PRD.linkedStories
2767
+ */
2768
+ export type PRD$linkedStoriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2769
+ /**
2770
+ * Select specific fields to fetch from the StoryPrdLink
2771
+ */
2772
+ select?: Prisma.StoryPrdLinkSelect<ExtArgs> | null
2773
+ /**
2774
+ * Omit specific fields from the StoryPrdLink
2775
+ */
2776
+ omit?: Prisma.StoryPrdLinkOmit<ExtArgs> | null
2777
+ /**
2778
+ * Choose, which related nodes to fetch as well
2779
+ */
2780
+ include?: Prisma.StoryPrdLinkInclude<ExtArgs> | null
2781
+ where?: Prisma.StoryPrdLinkWhereInput
2782
+ orderBy?: Prisma.StoryPrdLinkOrderByWithRelationInput | Prisma.StoryPrdLinkOrderByWithRelationInput[]
2783
+ cursor?: Prisma.StoryPrdLinkWhereUniqueInput
2784
+ take?: number
2785
+ skip?: number
2786
+ distinct?: Prisma.StoryPrdLinkScalarFieldEnum | Prisma.StoryPrdLinkScalarFieldEnum[]
2787
+ }
2788
+
2789
+ /**
2790
+ * PRD without action
2791
+ */
2792
+ export type PRDDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2793
+ /**
2794
+ * Select specific fields to fetch from the PRD
2795
+ */
2796
+ select?: Prisma.PRDSelect<ExtArgs> | null
2797
+ /**
2798
+ * Omit specific fields from the PRD
2799
+ */
2800
+ omit?: Prisma.PRDOmit<ExtArgs> | null
2801
+ /**
2802
+ * Choose, which related nodes to fetch as well
2803
+ */
2804
+ include?: Prisma.PRDInclude<ExtArgs> | null
2805
+ }