@allbluecn/database 0.4.0 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (190) hide show
  1. package/desktop-init.ts +128 -0
  2. package/generated/browser.ts +494 -0
  3. package/generated/client.ts +518 -0
  4. package/generated/commonInputTypes.ts +1056 -0
  5. package/generated/enums.ts +93 -0
  6. package/generated/internal/class.ts +1144 -0
  7. package/generated/internal/prismaNamespace.ts +9603 -0
  8. package/generated/internal/prismaNamespaceBrowser.ts +1695 -0
  9. package/generated/models/Account.ts +1648 -0
  10. package/generated/models/AgentConversation.ts +1651 -0
  11. package/generated/models/AgentMessage.ts +1409 -0
  12. package/generated/models/AiProvider.ts +1607 -0
  13. package/generated/models/AiProviderConfig.ts +1514 -0
  14. package/generated/models/AiUsageLog.ts +1863 -0
  15. package/generated/models/AnyHubApp.ts +1911 -0
  16. package/generated/models/AnyHubMarketApp.ts +2008 -0
  17. package/generated/models/AnyHubPermission.ts +1422 -0
  18. package/generated/models/AnyHubRecommendation.ts +1870 -0
  19. package/generated/models/AnyHubRecommender.ts +1471 -0
  20. package/generated/models/Artboard.ts +1811 -0
  21. package/generated/models/ArtboardExport.ts +1548 -0
  22. package/generated/models/ArticleFavorite.ts +1352 -0
  23. package/generated/models/AuditLog.ts +1533 -0
  24. package/generated/models/Block.ts +1650 -0
  25. package/generated/models/BlockComponent.ts +1734 -0
  26. package/generated/models/BlockInstance.ts +2043 -0
  27. package/generated/models/BookmarkCategory.ts +1670 -0
  28. package/generated/models/ChatInterrupt.ts +1699 -0
  29. package/generated/models/ChatMessage.ts +1438 -0
  30. package/generated/models/ChatRun.ts +1632 -0
  31. package/generated/models/ChatThread.ts +2133 -0
  32. package/generated/models/Comment.ts +2206 -0
  33. package/generated/models/CommentIgnore.ts +1430 -0
  34. package/generated/models/CommentReaction.ts +1472 -0
  35. package/generated/models/ComplianceExport.ts +1345 -0
  36. package/generated/models/Component.ts +2345 -0
  37. package/generated/models/ComponentInstance.ts +2102 -0
  38. package/generated/models/ComponentTag.ts +1281 -0
  39. package/generated/models/CustomRole.ts +1560 -0
  40. package/generated/models/DesignProject.ts +1643 -0
  41. package/generated/models/DictionaryTerm.ts +1642 -0
  42. package/generated/models/GenerationRun.ts +1543 -0
  43. package/generated/models/IndustryCompliance.ts +1797 -0
  44. package/generated/models/InvitationCode.ts +1417 -0
  45. package/generated/models/InvitationUse.ts +1424 -0
  46. package/generated/models/Invoice.ts +1710 -0
  47. package/generated/models/KnowledgeBase.ts +1671 -0
  48. package/generated/models/KnowledgeDocument.ts +2458 -0
  49. package/generated/models/KnowledgeShareRecord.ts +1352 -0
  50. package/generated/models/Label.ts +1482 -0
  51. package/generated/models/LegalRegulation.ts +1873 -0
  52. package/generated/models/LicenseActivation.ts +1415 -0
  53. package/generated/models/LicenseKey.ts +1884 -0
  54. package/generated/models/LoginLog.ts +1450 -0
  55. package/generated/models/MonitoringErrorReport.ts +1299 -0
  56. package/generated/models/MonitoringHealthSnapshot.ts +1249 -0
  57. package/generated/models/MonitoringMetricsSnapshot.ts +1369 -0
  58. package/generated/models/MonitoringRequestLog.ts +1283 -0
  59. package/generated/models/PRD.ts +2805 -0
  60. package/generated/models/PRDPage.ts +2402 -0
  61. package/generated/models/PRDTag.ts +1430 -0
  62. package/generated/models/PRDVersion.ts +2121 -0
  63. package/generated/models/PageVersion.ts +1523 -0
  64. package/generated/models/PasswordResetToken.ts +1380 -0
  65. package/generated/models/Plan.ts +2069 -0
  66. package/generated/models/Project.ts +2148 -0
  67. package/generated/models/ProjectActivity.ts +1582 -0
  68. package/generated/models/ProjectMember.ts +1512 -0
  69. package/generated/models/ProviderEvent.ts +1227 -0
  70. package/generated/models/Reference.ts +1177 -0
  71. package/generated/models/Review.ts +1912 -0
  72. package/generated/models/ReviewComment.ts +1904 -0
  73. package/generated/models/RoleAssignment.ts +1430 -0
  74. package/generated/models/SequenceCounter.ts +1137 -0
  75. package/generated/models/Share.ts +1681 -0
  76. package/generated/models/ShareVersion.ts +1389 -0
  77. package/generated/models/SsoMapping.ts +1512 -0
  78. package/generated/models/SsoProvider.ts +1639 -0
  79. package/generated/models/Story.ts +5234 -0
  80. package/generated/models/StoryActivity.ts +1664 -0
  81. package/generated/models/StoryAttachment.ts +1467 -0
  82. package/generated/models/StoryComment.ts +1992 -0
  83. package/generated/models/StoryDependency.ts +1517 -0
  84. package/generated/models/StoryDocLink.ts +1430 -0
  85. package/generated/models/StoryFilterView.ts +1587 -0
  86. package/generated/models/StoryLabel.ts +1349 -0
  87. package/generated/models/StoryLink.ts +1415 -0
  88. package/generated/models/StoryPrdLink.ts +1430 -0
  89. package/generated/models/StoryReaction.ts +1472 -0
  90. package/generated/models/Subscription.ts +2147 -0
  91. package/generated/models/SystemSetting.ts +1217 -0
  92. package/generated/models/Tag.ts +1655 -0
  93. package/generated/models/TeamInvitation.ts +1526 -0
  94. package/generated/models/TeamMembership.ts +1436 -0
  95. package/generated/models/Template.ts +1391 -0
  96. package/generated/models/TemplateBlock.ts +1664 -0
  97. package/generated/models/ThirdPartyDependency.ts +1473 -0
  98. package/generated/models/UsageRecord.ts +1505 -0
  99. package/generated/models/User.ts +20998 -0
  100. package/generated/models/UserAgent.ts +1900 -0
  101. package/generated/models/UserSkill.ts +1456 -0
  102. package/generated/models/WebsiteBookmark.ts +2219 -0
  103. package/generated/models/Workspace.ts +2279 -0
  104. package/generated/models.ts +106 -0
  105. package/generated-sqlite/browser.ts +399 -0
  106. package/generated-sqlite/client.ts +423 -0
  107. package/generated-sqlite/commonInputTypes.ts +608 -0
  108. package/generated-sqlite/enums.ts +15 -0
  109. package/generated-sqlite/internal/class.ts +954 -0
  110. package/generated-sqlite/internal/prismaNamespace.ts +7716 -0
  111. package/generated-sqlite/internal/prismaNamespaceBrowser.ts +1415 -0
  112. package/generated-sqlite/models/AgentConversation.ts +1647 -0
  113. package/generated-sqlite/models/AgentMessage.ts +1406 -0
  114. package/generated-sqlite/models/AiProvider.ts +1605 -0
  115. package/generated-sqlite/models/AiProviderConfig.ts +1511 -0
  116. package/generated-sqlite/models/AiUsageLog.ts +1845 -0
  117. package/generated-sqlite/models/AnyHubApp.ts +1908 -0
  118. package/generated-sqlite/models/AnyHubMarketApp.ts +1997 -0
  119. package/generated-sqlite/models/AnyHubPermission.ts +1419 -0
  120. package/generated-sqlite/models/AnyHubRecommendation.ts +1867 -0
  121. package/generated-sqlite/models/AnyHubRecommender.ts +1467 -0
  122. package/generated-sqlite/models/Artboard.ts +1808 -0
  123. package/generated-sqlite/models/ArtboardExport.ts +1545 -0
  124. package/generated-sqlite/models/ArticleFavorite.ts +1349 -0
  125. package/generated-sqlite/models/AuditLog.ts +1287 -0
  126. package/generated-sqlite/models/Block.ts +1648 -0
  127. package/generated-sqlite/models/BlockComponent.ts +1730 -0
  128. package/generated-sqlite/models/BlockInstance.ts +2039 -0
  129. package/generated-sqlite/models/BookmarkCategory.ts +1667 -0
  130. package/generated-sqlite/models/ChatInterrupt.ts +1695 -0
  131. package/generated-sqlite/models/ChatMessage.ts +1435 -0
  132. package/generated-sqlite/models/ChatRun.ts +1629 -0
  133. package/generated-sqlite/models/ChatThread.ts +2129 -0
  134. package/generated-sqlite/models/Comment.ts +2201 -0
  135. package/generated-sqlite/models/CommentIgnore.ts +1426 -0
  136. package/generated-sqlite/models/ComplianceExport.ts +1343 -0
  137. package/generated-sqlite/models/Component.ts +2326 -0
  138. package/generated-sqlite/models/ComponentInstance.ts +2097 -0
  139. package/generated-sqlite/models/ComponentTag.ts +1278 -0
  140. package/generated-sqlite/models/CustomRole.ts +1209 -0
  141. package/generated-sqlite/models/DesignProject.ts +1640 -0
  142. package/generated-sqlite/models/DictionaryTerm.ts +1639 -0
  143. package/generated-sqlite/models/GenerationRun.ts +1540 -0
  144. package/generated-sqlite/models/IndustryCompliance.ts +1794 -0
  145. package/generated-sqlite/models/InvitationCode.ts +1415 -0
  146. package/generated-sqlite/models/InvitationUse.ts +1420 -0
  147. package/generated-sqlite/models/Invoice.ts +1707 -0
  148. package/generated-sqlite/models/KnowledgeBase.ts +1668 -0
  149. package/generated-sqlite/models/KnowledgeDocument.ts +2282 -0
  150. package/generated-sqlite/models/KnowledgeShareRecord.ts +1349 -0
  151. package/generated-sqlite/models/LegalRegulation.ts +1870 -0
  152. package/generated-sqlite/models/LicenseActivation.ts +1203 -0
  153. package/generated-sqlite/models/LicenseKey.ts +1443 -0
  154. package/generated-sqlite/models/LoginLog.ts +1447 -0
  155. package/generated-sqlite/models/PRD.ts +2616 -0
  156. package/generated-sqlite/models/PRDPage.ts +2398 -0
  157. package/generated-sqlite/models/PRDTag.ts +1426 -0
  158. package/generated-sqlite/models/PRDVersion.ts +2117 -0
  159. package/generated-sqlite/models/PageVersion.ts +1528 -0
  160. package/generated-sqlite/models/PasswordResetToken.ts +1377 -0
  161. package/generated-sqlite/models/Plan.ts +2060 -0
  162. package/generated-sqlite/models/Project.ts +1994 -0
  163. package/generated-sqlite/models/ProjectActivity.ts +1578 -0
  164. package/generated-sqlite/models/ProjectMember.ts +1508 -0
  165. package/generated-sqlite/models/ProviderEvent.ts +1225 -0
  166. package/generated-sqlite/models/Reference.ts +1175 -0
  167. package/generated-sqlite/models/Review.ts +1903 -0
  168. package/generated-sqlite/models/ReviewComment.ts +1899 -0
  169. package/generated-sqlite/models/RoleAssignment.ts +1125 -0
  170. package/generated-sqlite/models/Share.ts +1674 -0
  171. package/generated-sqlite/models/ShareVersion.ts +1385 -0
  172. package/generated-sqlite/models/SsoMapping.ts +1181 -0
  173. package/generated-sqlite/models/SsoProvider.ts +1266 -0
  174. package/generated-sqlite/models/Subscription.ts +2137 -0
  175. package/generated-sqlite/models/SystemSetting.ts +1215 -0
  176. package/generated-sqlite/models/Tag.ts +1652 -0
  177. package/generated-sqlite/models/TeamInvitation.ts +1523 -0
  178. package/generated-sqlite/models/TeamMembership.ts +1433 -0
  179. package/generated-sqlite/models/Template.ts +1389 -0
  180. package/generated-sqlite/models/TemplateBlock.ts +1660 -0
  181. package/generated-sqlite/models/ThirdPartyDependency.ts +1471 -0
  182. package/generated-sqlite/models/UsageRecord.ts +1498 -0
  183. package/generated-sqlite/models/User.ts +13558 -0
  184. package/generated-sqlite/models/UserAgent.ts +1897 -0
  185. package/generated-sqlite/models/UserSkill.ts +1453 -0
  186. package/generated-sqlite/models/WebsiteBookmark.ts +2215 -0
  187. package/generated-sqlite/models/Workspace.ts +1824 -0
  188. package/generated-sqlite/models.ts +87 -0
  189. package/package.json +7 -3
  190. package/LICENSE +0 -661
@@ -0,0 +1,1415 @@
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 `StoryLink` 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 StoryLink
17
+ *
18
+ */
19
+ export type StoryLinkModel = runtime.Types.Result.DefaultSelection<Prisma.$StoryLinkPayload>
20
+
21
+ export type AggregateStoryLink = {
22
+ _count: StoryLinkCountAggregateOutputType | null
23
+ _min: StoryLinkMinAggregateOutputType | null
24
+ _max: StoryLinkMaxAggregateOutputType | null
25
+ }
26
+
27
+ export type StoryLinkMinAggregateOutputType = {
28
+ id: string | null
29
+ storyId: string | null
30
+ url: string | null
31
+ title: string | null
32
+ description: string | null
33
+ createdAt: Date | null
34
+ updatedAt: Date | null
35
+ }
36
+
37
+ export type StoryLinkMaxAggregateOutputType = {
38
+ id: string | null
39
+ storyId: string | null
40
+ url: string | null
41
+ title: string | null
42
+ description: string | null
43
+ createdAt: Date | null
44
+ updatedAt: Date | null
45
+ }
46
+
47
+ export type StoryLinkCountAggregateOutputType = {
48
+ id: number
49
+ storyId: number
50
+ url: number
51
+ title: number
52
+ description: number
53
+ createdAt: number
54
+ updatedAt: number
55
+ _all: number
56
+ }
57
+
58
+
59
+ export type StoryLinkMinAggregateInputType = {
60
+ id?: true
61
+ storyId?: true
62
+ url?: true
63
+ title?: true
64
+ description?: true
65
+ createdAt?: true
66
+ updatedAt?: true
67
+ }
68
+
69
+ export type StoryLinkMaxAggregateInputType = {
70
+ id?: true
71
+ storyId?: true
72
+ url?: true
73
+ title?: true
74
+ description?: true
75
+ createdAt?: true
76
+ updatedAt?: true
77
+ }
78
+
79
+ export type StoryLinkCountAggregateInputType = {
80
+ id?: true
81
+ storyId?: true
82
+ url?: true
83
+ title?: true
84
+ description?: true
85
+ createdAt?: true
86
+ updatedAt?: true
87
+ _all?: true
88
+ }
89
+
90
+ export type StoryLinkAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
91
+ /**
92
+ * Filter which StoryLink to aggregate.
93
+ */
94
+ where?: Prisma.StoryLinkWhereInput
95
+ /**
96
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
97
+ *
98
+ * Determine the order of StoryLinks to fetch.
99
+ */
100
+ orderBy?: Prisma.StoryLinkOrderByWithRelationInput | Prisma.StoryLinkOrderByWithRelationInput[]
101
+ /**
102
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
103
+ *
104
+ * Sets the start position
105
+ */
106
+ cursor?: Prisma.StoryLinkWhereUniqueInput
107
+ /**
108
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
109
+ *
110
+ * Take `±n` StoryLinks from the position of the cursor.
111
+ */
112
+ take?: number
113
+ /**
114
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
115
+ *
116
+ * Skip the first `n` StoryLinks.
117
+ */
118
+ skip?: number
119
+ /**
120
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
121
+ *
122
+ * Count returned StoryLinks
123
+ **/
124
+ _count?: true | StoryLinkCountAggregateInputType
125
+ /**
126
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
127
+ *
128
+ * Select which fields to find the minimum value
129
+ **/
130
+ _min?: StoryLinkMinAggregateInputType
131
+ /**
132
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
133
+ *
134
+ * Select which fields to find the maximum value
135
+ **/
136
+ _max?: StoryLinkMaxAggregateInputType
137
+ }
138
+
139
+ export type GetStoryLinkAggregateType<T extends StoryLinkAggregateArgs> = {
140
+ [P in keyof T & keyof AggregateStoryLink]: P extends '_count' | 'count'
141
+ ? T[P] extends true
142
+ ? number
143
+ : Prisma.GetScalarType<T[P], AggregateStoryLink[P]>
144
+ : Prisma.GetScalarType<T[P], AggregateStoryLink[P]>
145
+ }
146
+
147
+
148
+
149
+
150
+ export type StoryLinkGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
151
+ where?: Prisma.StoryLinkWhereInput
152
+ orderBy?: Prisma.StoryLinkOrderByWithAggregationInput | Prisma.StoryLinkOrderByWithAggregationInput[]
153
+ by: Prisma.StoryLinkScalarFieldEnum[] | Prisma.StoryLinkScalarFieldEnum
154
+ having?: Prisma.StoryLinkScalarWhereWithAggregatesInput
155
+ take?: number
156
+ skip?: number
157
+ _count?: StoryLinkCountAggregateInputType | true
158
+ _min?: StoryLinkMinAggregateInputType
159
+ _max?: StoryLinkMaxAggregateInputType
160
+ }
161
+
162
+ export type StoryLinkGroupByOutputType = {
163
+ id: string
164
+ storyId: string
165
+ url: string
166
+ title: string | null
167
+ description: string | null
168
+ createdAt: Date
169
+ updatedAt: Date
170
+ _count: StoryLinkCountAggregateOutputType | null
171
+ _min: StoryLinkMinAggregateOutputType | null
172
+ _max: StoryLinkMaxAggregateOutputType | null
173
+ }
174
+
175
+ export type GetStoryLinkGroupByPayload<T extends StoryLinkGroupByArgs> = Prisma.PrismaPromise<
176
+ Array<
177
+ Prisma.PickEnumerable<StoryLinkGroupByOutputType, T['by']> &
178
+ {
179
+ [P in ((keyof T) & (keyof StoryLinkGroupByOutputType))]: P extends '_count'
180
+ ? T[P] extends boolean
181
+ ? number
182
+ : Prisma.GetScalarType<T[P], StoryLinkGroupByOutputType[P]>
183
+ : Prisma.GetScalarType<T[P], StoryLinkGroupByOutputType[P]>
184
+ }
185
+ >
186
+ >
187
+
188
+
189
+
190
+ export type StoryLinkWhereInput = {
191
+ AND?: Prisma.StoryLinkWhereInput | Prisma.StoryLinkWhereInput[]
192
+ OR?: Prisma.StoryLinkWhereInput[]
193
+ NOT?: Prisma.StoryLinkWhereInput | Prisma.StoryLinkWhereInput[]
194
+ id?: Prisma.StringFilter<"StoryLink"> | string
195
+ storyId?: Prisma.StringFilter<"StoryLink"> | string
196
+ url?: Prisma.StringFilter<"StoryLink"> | string
197
+ title?: Prisma.StringNullableFilter<"StoryLink"> | string | null
198
+ description?: Prisma.StringNullableFilter<"StoryLink"> | string | null
199
+ createdAt?: Prisma.DateTimeFilter<"StoryLink"> | Date | string
200
+ updatedAt?: Prisma.DateTimeFilter<"StoryLink"> | Date | string
201
+ story?: Prisma.XOR<Prisma.StoryScalarRelationFilter, Prisma.StoryWhereInput>
202
+ }
203
+
204
+ export type StoryLinkOrderByWithRelationInput = {
205
+ id?: Prisma.SortOrder
206
+ storyId?: Prisma.SortOrder
207
+ url?: Prisma.SortOrder
208
+ title?: Prisma.SortOrderInput | Prisma.SortOrder
209
+ description?: Prisma.SortOrderInput | Prisma.SortOrder
210
+ createdAt?: Prisma.SortOrder
211
+ updatedAt?: Prisma.SortOrder
212
+ story?: Prisma.StoryOrderByWithRelationInput
213
+ }
214
+
215
+ export type StoryLinkWhereUniqueInput = Prisma.AtLeast<{
216
+ id?: string
217
+ AND?: Prisma.StoryLinkWhereInput | Prisma.StoryLinkWhereInput[]
218
+ OR?: Prisma.StoryLinkWhereInput[]
219
+ NOT?: Prisma.StoryLinkWhereInput | Prisma.StoryLinkWhereInput[]
220
+ storyId?: Prisma.StringFilter<"StoryLink"> | string
221
+ url?: Prisma.StringFilter<"StoryLink"> | string
222
+ title?: Prisma.StringNullableFilter<"StoryLink"> | string | null
223
+ description?: Prisma.StringNullableFilter<"StoryLink"> | string | null
224
+ createdAt?: Prisma.DateTimeFilter<"StoryLink"> | Date | string
225
+ updatedAt?: Prisma.DateTimeFilter<"StoryLink"> | Date | string
226
+ story?: Prisma.XOR<Prisma.StoryScalarRelationFilter, Prisma.StoryWhereInput>
227
+ }, "id">
228
+
229
+ export type StoryLinkOrderByWithAggregationInput = {
230
+ id?: Prisma.SortOrder
231
+ storyId?: Prisma.SortOrder
232
+ url?: Prisma.SortOrder
233
+ title?: Prisma.SortOrderInput | Prisma.SortOrder
234
+ description?: Prisma.SortOrderInput | Prisma.SortOrder
235
+ createdAt?: Prisma.SortOrder
236
+ updatedAt?: Prisma.SortOrder
237
+ _count?: Prisma.StoryLinkCountOrderByAggregateInput
238
+ _max?: Prisma.StoryLinkMaxOrderByAggregateInput
239
+ _min?: Prisma.StoryLinkMinOrderByAggregateInput
240
+ }
241
+
242
+ export type StoryLinkScalarWhereWithAggregatesInput = {
243
+ AND?: Prisma.StoryLinkScalarWhereWithAggregatesInput | Prisma.StoryLinkScalarWhereWithAggregatesInput[]
244
+ OR?: Prisma.StoryLinkScalarWhereWithAggregatesInput[]
245
+ NOT?: Prisma.StoryLinkScalarWhereWithAggregatesInput | Prisma.StoryLinkScalarWhereWithAggregatesInput[]
246
+ id?: Prisma.StringWithAggregatesFilter<"StoryLink"> | string
247
+ storyId?: Prisma.StringWithAggregatesFilter<"StoryLink"> | string
248
+ url?: Prisma.StringWithAggregatesFilter<"StoryLink"> | string
249
+ title?: Prisma.StringNullableWithAggregatesFilter<"StoryLink"> | string | null
250
+ description?: Prisma.StringNullableWithAggregatesFilter<"StoryLink"> | string | null
251
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"StoryLink"> | Date | string
252
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"StoryLink"> | Date | string
253
+ }
254
+
255
+ export type StoryLinkCreateInput = {
256
+ id?: string
257
+ url: string
258
+ title?: string | null
259
+ description?: string | null
260
+ createdAt?: Date | string
261
+ updatedAt?: Date | string
262
+ story: Prisma.StoryCreateNestedOneWithoutLinksInput
263
+ }
264
+
265
+ export type StoryLinkUncheckedCreateInput = {
266
+ id?: string
267
+ storyId: string
268
+ url: string
269
+ title?: string | null
270
+ description?: string | null
271
+ createdAt?: Date | string
272
+ updatedAt?: Date | string
273
+ }
274
+
275
+ export type StoryLinkUpdateInput = {
276
+ id?: Prisma.StringFieldUpdateOperationsInput | string
277
+ url?: Prisma.StringFieldUpdateOperationsInput | string
278
+ title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
279
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
280
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
281
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
282
+ story?: Prisma.StoryUpdateOneRequiredWithoutLinksNestedInput
283
+ }
284
+
285
+ export type StoryLinkUncheckedUpdateInput = {
286
+ id?: Prisma.StringFieldUpdateOperationsInput | string
287
+ storyId?: Prisma.StringFieldUpdateOperationsInput | string
288
+ url?: Prisma.StringFieldUpdateOperationsInput | string
289
+ title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
290
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
291
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
292
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
293
+ }
294
+
295
+ export type StoryLinkCreateManyInput = {
296
+ id?: string
297
+ storyId: string
298
+ url: string
299
+ title?: string | null
300
+ description?: string | null
301
+ createdAt?: Date | string
302
+ updatedAt?: Date | string
303
+ }
304
+
305
+ export type StoryLinkUpdateManyMutationInput = {
306
+ id?: Prisma.StringFieldUpdateOperationsInput | string
307
+ url?: Prisma.StringFieldUpdateOperationsInput | string
308
+ title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
309
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
310
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
311
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
312
+ }
313
+
314
+ export type StoryLinkUncheckedUpdateManyInput = {
315
+ id?: Prisma.StringFieldUpdateOperationsInput | string
316
+ storyId?: Prisma.StringFieldUpdateOperationsInput | string
317
+ url?: Prisma.StringFieldUpdateOperationsInput | string
318
+ title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
319
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
320
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
321
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
322
+ }
323
+
324
+ export type StoryLinkListRelationFilter = {
325
+ every?: Prisma.StoryLinkWhereInput
326
+ some?: Prisma.StoryLinkWhereInput
327
+ none?: Prisma.StoryLinkWhereInput
328
+ }
329
+
330
+ export type StoryLinkOrderByRelationAggregateInput = {
331
+ _count?: Prisma.SortOrder
332
+ }
333
+
334
+ export type StoryLinkCountOrderByAggregateInput = {
335
+ id?: Prisma.SortOrder
336
+ storyId?: Prisma.SortOrder
337
+ url?: Prisma.SortOrder
338
+ title?: Prisma.SortOrder
339
+ description?: Prisma.SortOrder
340
+ createdAt?: Prisma.SortOrder
341
+ updatedAt?: Prisma.SortOrder
342
+ }
343
+
344
+ export type StoryLinkMaxOrderByAggregateInput = {
345
+ id?: Prisma.SortOrder
346
+ storyId?: Prisma.SortOrder
347
+ url?: Prisma.SortOrder
348
+ title?: Prisma.SortOrder
349
+ description?: Prisma.SortOrder
350
+ createdAt?: Prisma.SortOrder
351
+ updatedAt?: Prisma.SortOrder
352
+ }
353
+
354
+ export type StoryLinkMinOrderByAggregateInput = {
355
+ id?: Prisma.SortOrder
356
+ storyId?: Prisma.SortOrder
357
+ url?: Prisma.SortOrder
358
+ title?: Prisma.SortOrder
359
+ description?: Prisma.SortOrder
360
+ createdAt?: Prisma.SortOrder
361
+ updatedAt?: Prisma.SortOrder
362
+ }
363
+
364
+ export type StoryLinkCreateNestedManyWithoutStoryInput = {
365
+ create?: Prisma.XOR<Prisma.StoryLinkCreateWithoutStoryInput, Prisma.StoryLinkUncheckedCreateWithoutStoryInput> | Prisma.StoryLinkCreateWithoutStoryInput[] | Prisma.StoryLinkUncheckedCreateWithoutStoryInput[]
366
+ connectOrCreate?: Prisma.StoryLinkCreateOrConnectWithoutStoryInput | Prisma.StoryLinkCreateOrConnectWithoutStoryInput[]
367
+ createMany?: Prisma.StoryLinkCreateManyStoryInputEnvelope
368
+ connect?: Prisma.StoryLinkWhereUniqueInput | Prisma.StoryLinkWhereUniqueInput[]
369
+ }
370
+
371
+ export type StoryLinkUncheckedCreateNestedManyWithoutStoryInput = {
372
+ create?: Prisma.XOR<Prisma.StoryLinkCreateWithoutStoryInput, Prisma.StoryLinkUncheckedCreateWithoutStoryInput> | Prisma.StoryLinkCreateWithoutStoryInput[] | Prisma.StoryLinkUncheckedCreateWithoutStoryInput[]
373
+ connectOrCreate?: Prisma.StoryLinkCreateOrConnectWithoutStoryInput | Prisma.StoryLinkCreateOrConnectWithoutStoryInput[]
374
+ createMany?: Prisma.StoryLinkCreateManyStoryInputEnvelope
375
+ connect?: Prisma.StoryLinkWhereUniqueInput | Prisma.StoryLinkWhereUniqueInput[]
376
+ }
377
+
378
+ export type StoryLinkUpdateManyWithoutStoryNestedInput = {
379
+ create?: Prisma.XOR<Prisma.StoryLinkCreateWithoutStoryInput, Prisma.StoryLinkUncheckedCreateWithoutStoryInput> | Prisma.StoryLinkCreateWithoutStoryInput[] | Prisma.StoryLinkUncheckedCreateWithoutStoryInput[]
380
+ connectOrCreate?: Prisma.StoryLinkCreateOrConnectWithoutStoryInput | Prisma.StoryLinkCreateOrConnectWithoutStoryInput[]
381
+ upsert?: Prisma.StoryLinkUpsertWithWhereUniqueWithoutStoryInput | Prisma.StoryLinkUpsertWithWhereUniqueWithoutStoryInput[]
382
+ createMany?: Prisma.StoryLinkCreateManyStoryInputEnvelope
383
+ set?: Prisma.StoryLinkWhereUniqueInput | Prisma.StoryLinkWhereUniqueInput[]
384
+ disconnect?: Prisma.StoryLinkWhereUniqueInput | Prisma.StoryLinkWhereUniqueInput[]
385
+ delete?: Prisma.StoryLinkWhereUniqueInput | Prisma.StoryLinkWhereUniqueInput[]
386
+ connect?: Prisma.StoryLinkWhereUniqueInput | Prisma.StoryLinkWhereUniqueInput[]
387
+ update?: Prisma.StoryLinkUpdateWithWhereUniqueWithoutStoryInput | Prisma.StoryLinkUpdateWithWhereUniqueWithoutStoryInput[]
388
+ updateMany?: Prisma.StoryLinkUpdateManyWithWhereWithoutStoryInput | Prisma.StoryLinkUpdateManyWithWhereWithoutStoryInput[]
389
+ deleteMany?: Prisma.StoryLinkScalarWhereInput | Prisma.StoryLinkScalarWhereInput[]
390
+ }
391
+
392
+ export type StoryLinkUncheckedUpdateManyWithoutStoryNestedInput = {
393
+ create?: Prisma.XOR<Prisma.StoryLinkCreateWithoutStoryInput, Prisma.StoryLinkUncheckedCreateWithoutStoryInput> | Prisma.StoryLinkCreateWithoutStoryInput[] | Prisma.StoryLinkUncheckedCreateWithoutStoryInput[]
394
+ connectOrCreate?: Prisma.StoryLinkCreateOrConnectWithoutStoryInput | Prisma.StoryLinkCreateOrConnectWithoutStoryInput[]
395
+ upsert?: Prisma.StoryLinkUpsertWithWhereUniqueWithoutStoryInput | Prisma.StoryLinkUpsertWithWhereUniqueWithoutStoryInput[]
396
+ createMany?: Prisma.StoryLinkCreateManyStoryInputEnvelope
397
+ set?: Prisma.StoryLinkWhereUniqueInput | Prisma.StoryLinkWhereUniqueInput[]
398
+ disconnect?: Prisma.StoryLinkWhereUniqueInput | Prisma.StoryLinkWhereUniqueInput[]
399
+ delete?: Prisma.StoryLinkWhereUniqueInput | Prisma.StoryLinkWhereUniqueInput[]
400
+ connect?: Prisma.StoryLinkWhereUniqueInput | Prisma.StoryLinkWhereUniqueInput[]
401
+ update?: Prisma.StoryLinkUpdateWithWhereUniqueWithoutStoryInput | Prisma.StoryLinkUpdateWithWhereUniqueWithoutStoryInput[]
402
+ updateMany?: Prisma.StoryLinkUpdateManyWithWhereWithoutStoryInput | Prisma.StoryLinkUpdateManyWithWhereWithoutStoryInput[]
403
+ deleteMany?: Prisma.StoryLinkScalarWhereInput | Prisma.StoryLinkScalarWhereInput[]
404
+ }
405
+
406
+ export type StoryLinkCreateWithoutStoryInput = {
407
+ id?: string
408
+ url: string
409
+ title?: string | null
410
+ description?: string | null
411
+ createdAt?: Date | string
412
+ updatedAt?: Date | string
413
+ }
414
+
415
+ export type StoryLinkUncheckedCreateWithoutStoryInput = {
416
+ id?: string
417
+ url: string
418
+ title?: string | null
419
+ description?: string | null
420
+ createdAt?: Date | string
421
+ updatedAt?: Date | string
422
+ }
423
+
424
+ export type StoryLinkCreateOrConnectWithoutStoryInput = {
425
+ where: Prisma.StoryLinkWhereUniqueInput
426
+ create: Prisma.XOR<Prisma.StoryLinkCreateWithoutStoryInput, Prisma.StoryLinkUncheckedCreateWithoutStoryInput>
427
+ }
428
+
429
+ export type StoryLinkCreateManyStoryInputEnvelope = {
430
+ data: Prisma.StoryLinkCreateManyStoryInput | Prisma.StoryLinkCreateManyStoryInput[]
431
+ skipDuplicates?: boolean
432
+ }
433
+
434
+ export type StoryLinkUpsertWithWhereUniqueWithoutStoryInput = {
435
+ where: Prisma.StoryLinkWhereUniqueInput
436
+ update: Prisma.XOR<Prisma.StoryLinkUpdateWithoutStoryInput, Prisma.StoryLinkUncheckedUpdateWithoutStoryInput>
437
+ create: Prisma.XOR<Prisma.StoryLinkCreateWithoutStoryInput, Prisma.StoryLinkUncheckedCreateWithoutStoryInput>
438
+ }
439
+
440
+ export type StoryLinkUpdateWithWhereUniqueWithoutStoryInput = {
441
+ where: Prisma.StoryLinkWhereUniqueInput
442
+ data: Prisma.XOR<Prisma.StoryLinkUpdateWithoutStoryInput, Prisma.StoryLinkUncheckedUpdateWithoutStoryInput>
443
+ }
444
+
445
+ export type StoryLinkUpdateManyWithWhereWithoutStoryInput = {
446
+ where: Prisma.StoryLinkScalarWhereInput
447
+ data: Prisma.XOR<Prisma.StoryLinkUpdateManyMutationInput, Prisma.StoryLinkUncheckedUpdateManyWithoutStoryInput>
448
+ }
449
+
450
+ export type StoryLinkScalarWhereInput = {
451
+ AND?: Prisma.StoryLinkScalarWhereInput | Prisma.StoryLinkScalarWhereInput[]
452
+ OR?: Prisma.StoryLinkScalarWhereInput[]
453
+ NOT?: Prisma.StoryLinkScalarWhereInput | Prisma.StoryLinkScalarWhereInput[]
454
+ id?: Prisma.StringFilter<"StoryLink"> | string
455
+ storyId?: Prisma.StringFilter<"StoryLink"> | string
456
+ url?: Prisma.StringFilter<"StoryLink"> | string
457
+ title?: Prisma.StringNullableFilter<"StoryLink"> | string | null
458
+ description?: Prisma.StringNullableFilter<"StoryLink"> | string | null
459
+ createdAt?: Prisma.DateTimeFilter<"StoryLink"> | Date | string
460
+ updatedAt?: Prisma.DateTimeFilter<"StoryLink"> | Date | string
461
+ }
462
+
463
+ export type StoryLinkCreateManyStoryInput = {
464
+ id?: string
465
+ url: string
466
+ title?: string | null
467
+ description?: string | null
468
+ createdAt?: Date | string
469
+ updatedAt?: Date | string
470
+ }
471
+
472
+ export type StoryLinkUpdateWithoutStoryInput = {
473
+ id?: Prisma.StringFieldUpdateOperationsInput | string
474
+ url?: Prisma.StringFieldUpdateOperationsInput | string
475
+ title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
476
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
477
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
478
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
479
+ }
480
+
481
+ export type StoryLinkUncheckedUpdateWithoutStoryInput = {
482
+ id?: Prisma.StringFieldUpdateOperationsInput | string
483
+ url?: Prisma.StringFieldUpdateOperationsInput | string
484
+ title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
485
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
486
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
487
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
488
+ }
489
+
490
+ export type StoryLinkUncheckedUpdateManyWithoutStoryInput = {
491
+ id?: Prisma.StringFieldUpdateOperationsInput | string
492
+ url?: Prisma.StringFieldUpdateOperationsInput | string
493
+ title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
494
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
495
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
496
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
497
+ }
498
+
499
+
500
+
501
+ export type StoryLinkSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
502
+ id?: boolean
503
+ storyId?: boolean
504
+ url?: boolean
505
+ title?: boolean
506
+ description?: boolean
507
+ createdAt?: boolean
508
+ updatedAt?: boolean
509
+ story?: boolean | Prisma.StoryDefaultArgs<ExtArgs>
510
+ }, ExtArgs["result"]["storyLink"]>
511
+
512
+ export type StoryLinkSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
513
+ id?: boolean
514
+ storyId?: boolean
515
+ url?: boolean
516
+ title?: boolean
517
+ description?: boolean
518
+ createdAt?: boolean
519
+ updatedAt?: boolean
520
+ story?: boolean | Prisma.StoryDefaultArgs<ExtArgs>
521
+ }, ExtArgs["result"]["storyLink"]>
522
+
523
+ export type StoryLinkSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
524
+ id?: boolean
525
+ storyId?: boolean
526
+ url?: boolean
527
+ title?: boolean
528
+ description?: boolean
529
+ createdAt?: boolean
530
+ updatedAt?: boolean
531
+ story?: boolean | Prisma.StoryDefaultArgs<ExtArgs>
532
+ }, ExtArgs["result"]["storyLink"]>
533
+
534
+ export type StoryLinkSelectScalar = {
535
+ id?: boolean
536
+ storyId?: boolean
537
+ url?: boolean
538
+ title?: boolean
539
+ description?: boolean
540
+ createdAt?: boolean
541
+ updatedAt?: boolean
542
+ }
543
+
544
+ export type StoryLinkOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "storyId" | "url" | "title" | "description" | "createdAt" | "updatedAt", ExtArgs["result"]["storyLink"]>
545
+ export type StoryLinkInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
546
+ story?: boolean | Prisma.StoryDefaultArgs<ExtArgs>
547
+ }
548
+ export type StoryLinkIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
549
+ story?: boolean | Prisma.StoryDefaultArgs<ExtArgs>
550
+ }
551
+ export type StoryLinkIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
552
+ story?: boolean | Prisma.StoryDefaultArgs<ExtArgs>
553
+ }
554
+
555
+ export type $StoryLinkPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
556
+ name: "StoryLink"
557
+ objects: {
558
+ story: Prisma.$StoryPayload<ExtArgs>
559
+ }
560
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
561
+ id: string
562
+ storyId: string
563
+ url: string
564
+ title: string | null
565
+ description: string | null
566
+ createdAt: Date
567
+ updatedAt: Date
568
+ }, ExtArgs["result"]["storyLink"]>
569
+ composites: {}
570
+ }
571
+
572
+ export type StoryLinkGetPayload<S extends boolean | null | undefined | StoryLinkDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$StoryLinkPayload, S>
573
+
574
+ export type StoryLinkCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
575
+ Omit<StoryLinkFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
576
+ select?: StoryLinkCountAggregateInputType | true
577
+ }
578
+
579
+ export interface StoryLinkDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
580
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['StoryLink'], meta: { name: 'StoryLink' } }
581
+ /**
582
+ * Find zero or one StoryLink that matches the filter.
583
+ * @param {StoryLinkFindUniqueArgs} args - Arguments to find a StoryLink
584
+ * @example
585
+ * // Get one StoryLink
586
+ * const storyLink = await prisma.storyLink.findUnique({
587
+ * where: {
588
+ * // ... provide filter here
589
+ * }
590
+ * })
591
+ */
592
+ findUnique<T extends StoryLinkFindUniqueArgs>(args: Prisma.SelectSubset<T, StoryLinkFindUniqueArgs<ExtArgs>>): Prisma.Prisma__StoryLinkClient<runtime.Types.Result.GetResult<Prisma.$StoryLinkPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
593
+
594
+ /**
595
+ * Find one StoryLink that matches the filter or throw an error with `error.code='P2025'`
596
+ * if no matches were found.
597
+ * @param {StoryLinkFindUniqueOrThrowArgs} args - Arguments to find a StoryLink
598
+ * @example
599
+ * // Get one StoryLink
600
+ * const storyLink = await prisma.storyLink.findUniqueOrThrow({
601
+ * where: {
602
+ * // ... provide filter here
603
+ * }
604
+ * })
605
+ */
606
+ findUniqueOrThrow<T extends StoryLinkFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, StoryLinkFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__StoryLinkClient<runtime.Types.Result.GetResult<Prisma.$StoryLinkPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
607
+
608
+ /**
609
+ * Find the first StoryLink that matches the filter.
610
+ * Note, that providing `undefined` is treated as the value not being there.
611
+ * Read more here: https://pris.ly/d/null-undefined
612
+ * @param {StoryLinkFindFirstArgs} args - Arguments to find a StoryLink
613
+ * @example
614
+ * // Get one StoryLink
615
+ * const storyLink = await prisma.storyLink.findFirst({
616
+ * where: {
617
+ * // ... provide filter here
618
+ * }
619
+ * })
620
+ */
621
+ findFirst<T extends StoryLinkFindFirstArgs>(args?: Prisma.SelectSubset<T, StoryLinkFindFirstArgs<ExtArgs>>): Prisma.Prisma__StoryLinkClient<runtime.Types.Result.GetResult<Prisma.$StoryLinkPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
622
+
623
+ /**
624
+ * Find the first StoryLink that matches the filter or
625
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
626
+ * Note, that providing `undefined` is treated as the value not being there.
627
+ * Read more here: https://pris.ly/d/null-undefined
628
+ * @param {StoryLinkFindFirstOrThrowArgs} args - Arguments to find a StoryLink
629
+ * @example
630
+ * // Get one StoryLink
631
+ * const storyLink = await prisma.storyLink.findFirstOrThrow({
632
+ * where: {
633
+ * // ... provide filter here
634
+ * }
635
+ * })
636
+ */
637
+ findFirstOrThrow<T extends StoryLinkFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, StoryLinkFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__StoryLinkClient<runtime.Types.Result.GetResult<Prisma.$StoryLinkPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
638
+
639
+ /**
640
+ * Find zero or more StoryLinks that matches the filter.
641
+ * Note, that providing `undefined` is treated as the value not being there.
642
+ * Read more here: https://pris.ly/d/null-undefined
643
+ * @param {StoryLinkFindManyArgs} args - Arguments to filter and select certain fields only.
644
+ * @example
645
+ * // Get all StoryLinks
646
+ * const storyLinks = await prisma.storyLink.findMany()
647
+ *
648
+ * // Get first 10 StoryLinks
649
+ * const storyLinks = await prisma.storyLink.findMany({ take: 10 })
650
+ *
651
+ * // Only select the `id`
652
+ * const storyLinkWithIdOnly = await prisma.storyLink.findMany({ select: { id: true } })
653
+ *
654
+ */
655
+ findMany<T extends StoryLinkFindManyArgs>(args?: Prisma.SelectSubset<T, StoryLinkFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StoryLinkPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
656
+
657
+ /**
658
+ * Create a StoryLink.
659
+ * @param {StoryLinkCreateArgs} args - Arguments to create a StoryLink.
660
+ * @example
661
+ * // Create one StoryLink
662
+ * const StoryLink = await prisma.storyLink.create({
663
+ * data: {
664
+ * // ... data to create a StoryLink
665
+ * }
666
+ * })
667
+ *
668
+ */
669
+ create<T extends StoryLinkCreateArgs>(args: Prisma.SelectSubset<T, StoryLinkCreateArgs<ExtArgs>>): Prisma.Prisma__StoryLinkClient<runtime.Types.Result.GetResult<Prisma.$StoryLinkPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
670
+
671
+ /**
672
+ * Create many StoryLinks.
673
+ * @param {StoryLinkCreateManyArgs} args - Arguments to create many StoryLinks.
674
+ * @example
675
+ * // Create many StoryLinks
676
+ * const storyLink = await prisma.storyLink.createMany({
677
+ * data: [
678
+ * // ... provide data here
679
+ * ]
680
+ * })
681
+ *
682
+ */
683
+ createMany<T extends StoryLinkCreateManyArgs>(args?: Prisma.SelectSubset<T, StoryLinkCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
684
+
685
+ /**
686
+ * Create many StoryLinks and returns the data saved in the database.
687
+ * @param {StoryLinkCreateManyAndReturnArgs} args - Arguments to create many StoryLinks.
688
+ * @example
689
+ * // Create many StoryLinks
690
+ * const storyLink = await prisma.storyLink.createManyAndReturn({
691
+ * data: [
692
+ * // ... provide data here
693
+ * ]
694
+ * })
695
+ *
696
+ * // Create many StoryLinks and only return the `id`
697
+ * const storyLinkWithIdOnly = await prisma.storyLink.createManyAndReturn({
698
+ * select: { id: true },
699
+ * data: [
700
+ * // ... provide data here
701
+ * ]
702
+ * })
703
+ * Note, that providing `undefined` is treated as the value not being there.
704
+ * Read more here: https://pris.ly/d/null-undefined
705
+ *
706
+ */
707
+ createManyAndReturn<T extends StoryLinkCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, StoryLinkCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StoryLinkPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
708
+
709
+ /**
710
+ * Delete a StoryLink.
711
+ * @param {StoryLinkDeleteArgs} args - Arguments to delete one StoryLink.
712
+ * @example
713
+ * // Delete one StoryLink
714
+ * const StoryLink = await prisma.storyLink.delete({
715
+ * where: {
716
+ * // ... filter to delete one StoryLink
717
+ * }
718
+ * })
719
+ *
720
+ */
721
+ delete<T extends StoryLinkDeleteArgs>(args: Prisma.SelectSubset<T, StoryLinkDeleteArgs<ExtArgs>>): Prisma.Prisma__StoryLinkClient<runtime.Types.Result.GetResult<Prisma.$StoryLinkPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
722
+
723
+ /**
724
+ * Update one StoryLink.
725
+ * @param {StoryLinkUpdateArgs} args - Arguments to update one StoryLink.
726
+ * @example
727
+ * // Update one StoryLink
728
+ * const storyLink = await prisma.storyLink.update({
729
+ * where: {
730
+ * // ... provide filter here
731
+ * },
732
+ * data: {
733
+ * // ... provide data here
734
+ * }
735
+ * })
736
+ *
737
+ */
738
+ update<T extends StoryLinkUpdateArgs>(args: Prisma.SelectSubset<T, StoryLinkUpdateArgs<ExtArgs>>): Prisma.Prisma__StoryLinkClient<runtime.Types.Result.GetResult<Prisma.$StoryLinkPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
739
+
740
+ /**
741
+ * Delete zero or more StoryLinks.
742
+ * @param {StoryLinkDeleteManyArgs} args - Arguments to filter StoryLinks to delete.
743
+ * @example
744
+ * // Delete a few StoryLinks
745
+ * const { count } = await prisma.storyLink.deleteMany({
746
+ * where: {
747
+ * // ... provide filter here
748
+ * }
749
+ * })
750
+ *
751
+ */
752
+ deleteMany<T extends StoryLinkDeleteManyArgs>(args?: Prisma.SelectSubset<T, StoryLinkDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
753
+
754
+ /**
755
+ * Update zero or more StoryLinks.
756
+ * Note, that providing `undefined` is treated as the value not being there.
757
+ * Read more here: https://pris.ly/d/null-undefined
758
+ * @param {StoryLinkUpdateManyArgs} args - Arguments to update one or more rows.
759
+ * @example
760
+ * // Update many StoryLinks
761
+ * const storyLink = await prisma.storyLink.updateMany({
762
+ * where: {
763
+ * // ... provide filter here
764
+ * },
765
+ * data: {
766
+ * // ... provide data here
767
+ * }
768
+ * })
769
+ *
770
+ */
771
+ updateMany<T extends StoryLinkUpdateManyArgs>(args: Prisma.SelectSubset<T, StoryLinkUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
772
+
773
+ /**
774
+ * Update zero or more StoryLinks and returns the data updated in the database.
775
+ * @param {StoryLinkUpdateManyAndReturnArgs} args - Arguments to update many StoryLinks.
776
+ * @example
777
+ * // Update many StoryLinks
778
+ * const storyLink = await prisma.storyLink.updateManyAndReturn({
779
+ * where: {
780
+ * // ... provide filter here
781
+ * },
782
+ * data: [
783
+ * // ... provide data here
784
+ * ]
785
+ * })
786
+ *
787
+ * // Update zero or more StoryLinks and only return the `id`
788
+ * const storyLinkWithIdOnly = await prisma.storyLink.updateManyAndReturn({
789
+ * select: { id: true },
790
+ * where: {
791
+ * // ... provide filter here
792
+ * },
793
+ * data: [
794
+ * // ... provide data here
795
+ * ]
796
+ * })
797
+ * Note, that providing `undefined` is treated as the value not being there.
798
+ * Read more here: https://pris.ly/d/null-undefined
799
+ *
800
+ */
801
+ updateManyAndReturn<T extends StoryLinkUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, StoryLinkUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StoryLinkPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
802
+
803
+ /**
804
+ * Create or update one StoryLink.
805
+ * @param {StoryLinkUpsertArgs} args - Arguments to update or create a StoryLink.
806
+ * @example
807
+ * // Update or create a StoryLink
808
+ * const storyLink = await prisma.storyLink.upsert({
809
+ * create: {
810
+ * // ... data to create a StoryLink
811
+ * },
812
+ * update: {
813
+ * // ... in case it already exists, update
814
+ * },
815
+ * where: {
816
+ * // ... the filter for the StoryLink we want to update
817
+ * }
818
+ * })
819
+ */
820
+ upsert<T extends StoryLinkUpsertArgs>(args: Prisma.SelectSubset<T, StoryLinkUpsertArgs<ExtArgs>>): Prisma.Prisma__StoryLinkClient<runtime.Types.Result.GetResult<Prisma.$StoryLinkPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
821
+
822
+
823
+ /**
824
+ * Count the number of StoryLinks.
825
+ * Note, that providing `undefined` is treated as the value not being there.
826
+ * Read more here: https://pris.ly/d/null-undefined
827
+ * @param {StoryLinkCountArgs} args - Arguments to filter StoryLinks to count.
828
+ * @example
829
+ * // Count the number of StoryLinks
830
+ * const count = await prisma.storyLink.count({
831
+ * where: {
832
+ * // ... the filter for the StoryLinks we want to count
833
+ * }
834
+ * })
835
+ **/
836
+ count<T extends StoryLinkCountArgs>(
837
+ args?: Prisma.Subset<T, StoryLinkCountArgs>,
838
+ ): Prisma.PrismaPromise<
839
+ T extends runtime.Types.Utils.Record<'select', any>
840
+ ? T['select'] extends true
841
+ ? number
842
+ : Prisma.GetScalarType<T['select'], StoryLinkCountAggregateOutputType>
843
+ : number
844
+ >
845
+
846
+ /**
847
+ * Allows you to perform aggregations operations on a StoryLink.
848
+ * Note, that providing `undefined` is treated as the value not being there.
849
+ * Read more here: https://pris.ly/d/null-undefined
850
+ * @param {StoryLinkAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
851
+ * @example
852
+ * // Ordered by age ascending
853
+ * // Where email contains prisma.io
854
+ * // Limited to the 10 users
855
+ * const aggregations = await prisma.user.aggregate({
856
+ * _avg: {
857
+ * age: true,
858
+ * },
859
+ * where: {
860
+ * email: {
861
+ * contains: "prisma.io",
862
+ * },
863
+ * },
864
+ * orderBy: {
865
+ * age: "asc",
866
+ * },
867
+ * take: 10,
868
+ * })
869
+ **/
870
+ aggregate<T extends StoryLinkAggregateArgs>(args: Prisma.Subset<T, StoryLinkAggregateArgs>): Prisma.PrismaPromise<GetStoryLinkAggregateType<T>>
871
+
872
+ /**
873
+ * Group by StoryLink.
874
+ * Note, that providing `undefined` is treated as the value not being there.
875
+ * Read more here: https://pris.ly/d/null-undefined
876
+ * @param {StoryLinkGroupByArgs} args - Group by arguments.
877
+ * @example
878
+ * // Group by city, order by createdAt, get count
879
+ * const result = await prisma.user.groupBy({
880
+ * by: ['city', 'createdAt'],
881
+ * orderBy: {
882
+ * createdAt: true
883
+ * },
884
+ * _count: {
885
+ * _all: true
886
+ * },
887
+ * })
888
+ *
889
+ **/
890
+ groupBy<
891
+ T extends StoryLinkGroupByArgs,
892
+ HasSelectOrTake extends Prisma.Or<
893
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
894
+ Prisma.Extends<'take', Prisma.Keys<T>>
895
+ >,
896
+ OrderByArg extends Prisma.True extends HasSelectOrTake
897
+ ? { orderBy: StoryLinkGroupByArgs['orderBy'] }
898
+ : { orderBy?: StoryLinkGroupByArgs['orderBy'] },
899
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
900
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
901
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
902
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
903
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
904
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
905
+ InputErrors extends ByEmpty extends Prisma.True
906
+ ? `Error: "by" must not be empty.`
907
+ : HavingValid extends Prisma.False
908
+ ? {
909
+ [P in HavingFields]: P extends ByFields
910
+ ? never
911
+ : P extends string
912
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
913
+ : [
914
+ Error,
915
+ 'Field ',
916
+ P,
917
+ ` in "having" needs to be provided in "by"`,
918
+ ]
919
+ }[HavingFields]
920
+ : 'take' extends Prisma.Keys<T>
921
+ ? 'orderBy' extends Prisma.Keys<T>
922
+ ? ByValid extends Prisma.True
923
+ ? {}
924
+ : {
925
+ [P in OrderFields]: P extends ByFields
926
+ ? never
927
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
928
+ }[OrderFields]
929
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
930
+ : 'skip' extends Prisma.Keys<T>
931
+ ? 'orderBy' extends Prisma.Keys<T>
932
+ ? ByValid extends Prisma.True
933
+ ? {}
934
+ : {
935
+ [P in OrderFields]: P extends ByFields
936
+ ? never
937
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
938
+ }[OrderFields]
939
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
940
+ : ByValid extends Prisma.True
941
+ ? {}
942
+ : {
943
+ [P in OrderFields]: P extends ByFields
944
+ ? never
945
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
946
+ }[OrderFields]
947
+ >(args: Prisma.SubsetIntersection<T, StoryLinkGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetStoryLinkGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
948
+ /**
949
+ * Fields of the StoryLink model
950
+ */
951
+ readonly fields: StoryLinkFieldRefs;
952
+ }
953
+
954
+ /**
955
+ * The delegate class that acts as a "Promise-like" for StoryLink.
956
+ * Why is this prefixed with `Prisma__`?
957
+ * Because we want to prevent naming conflicts as mentioned in
958
+ * https://github.com/prisma/prisma-client-js/issues/707
959
+ */
960
+ export interface Prisma__StoryLinkClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
961
+ readonly [Symbol.toStringTag]: "PrismaPromise"
962
+ story<T extends Prisma.StoryDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.StoryDefaultArgs<ExtArgs>>): Prisma.Prisma__StoryClient<runtime.Types.Result.GetResult<Prisma.$StoryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
963
+ /**
964
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
965
+ * @param onfulfilled The callback to execute when the Promise is resolved.
966
+ * @param onrejected The callback to execute when the Promise is rejected.
967
+ * @returns A Promise for the completion of which ever callback is executed.
968
+ */
969
+ 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>
970
+ /**
971
+ * Attaches a callback for only the rejection of the Promise.
972
+ * @param onrejected The callback to execute when the Promise is rejected.
973
+ * @returns A Promise for the completion of the callback.
974
+ */
975
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
976
+ /**
977
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
978
+ * resolved value cannot be modified from the callback.
979
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
980
+ * @returns A Promise for the completion of the callback.
981
+ */
982
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
983
+ }
984
+
985
+
986
+
987
+
988
+ /**
989
+ * Fields of the StoryLink model
990
+ */
991
+ export interface StoryLinkFieldRefs {
992
+ readonly id: Prisma.FieldRef<"StoryLink", 'String'>
993
+ readonly storyId: Prisma.FieldRef<"StoryLink", 'String'>
994
+ readonly url: Prisma.FieldRef<"StoryLink", 'String'>
995
+ readonly title: Prisma.FieldRef<"StoryLink", 'String'>
996
+ readonly description: Prisma.FieldRef<"StoryLink", 'String'>
997
+ readonly createdAt: Prisma.FieldRef<"StoryLink", 'DateTime'>
998
+ readonly updatedAt: Prisma.FieldRef<"StoryLink", 'DateTime'>
999
+ }
1000
+
1001
+
1002
+ // Custom InputTypes
1003
+ /**
1004
+ * StoryLink findUnique
1005
+ */
1006
+ export type StoryLinkFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1007
+ /**
1008
+ * Select specific fields to fetch from the StoryLink
1009
+ */
1010
+ select?: Prisma.StoryLinkSelect<ExtArgs> | null
1011
+ /**
1012
+ * Omit specific fields from the StoryLink
1013
+ */
1014
+ omit?: Prisma.StoryLinkOmit<ExtArgs> | null
1015
+ /**
1016
+ * Choose, which related nodes to fetch as well
1017
+ */
1018
+ include?: Prisma.StoryLinkInclude<ExtArgs> | null
1019
+ /**
1020
+ * Filter, which StoryLink to fetch.
1021
+ */
1022
+ where: Prisma.StoryLinkWhereUniqueInput
1023
+ }
1024
+
1025
+ /**
1026
+ * StoryLink findUniqueOrThrow
1027
+ */
1028
+ export type StoryLinkFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1029
+ /**
1030
+ * Select specific fields to fetch from the StoryLink
1031
+ */
1032
+ select?: Prisma.StoryLinkSelect<ExtArgs> | null
1033
+ /**
1034
+ * Omit specific fields from the StoryLink
1035
+ */
1036
+ omit?: Prisma.StoryLinkOmit<ExtArgs> | null
1037
+ /**
1038
+ * Choose, which related nodes to fetch as well
1039
+ */
1040
+ include?: Prisma.StoryLinkInclude<ExtArgs> | null
1041
+ /**
1042
+ * Filter, which StoryLink to fetch.
1043
+ */
1044
+ where: Prisma.StoryLinkWhereUniqueInput
1045
+ }
1046
+
1047
+ /**
1048
+ * StoryLink findFirst
1049
+ */
1050
+ export type StoryLinkFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1051
+ /**
1052
+ * Select specific fields to fetch from the StoryLink
1053
+ */
1054
+ select?: Prisma.StoryLinkSelect<ExtArgs> | null
1055
+ /**
1056
+ * Omit specific fields from the StoryLink
1057
+ */
1058
+ omit?: Prisma.StoryLinkOmit<ExtArgs> | null
1059
+ /**
1060
+ * Choose, which related nodes to fetch as well
1061
+ */
1062
+ include?: Prisma.StoryLinkInclude<ExtArgs> | null
1063
+ /**
1064
+ * Filter, which StoryLink to fetch.
1065
+ */
1066
+ where?: Prisma.StoryLinkWhereInput
1067
+ /**
1068
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1069
+ *
1070
+ * Determine the order of StoryLinks to fetch.
1071
+ */
1072
+ orderBy?: Prisma.StoryLinkOrderByWithRelationInput | Prisma.StoryLinkOrderByWithRelationInput[]
1073
+ /**
1074
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1075
+ *
1076
+ * Sets the position for searching for StoryLinks.
1077
+ */
1078
+ cursor?: Prisma.StoryLinkWhereUniqueInput
1079
+ /**
1080
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1081
+ *
1082
+ * Take `±n` StoryLinks from the position of the cursor.
1083
+ */
1084
+ take?: number
1085
+ /**
1086
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1087
+ *
1088
+ * Skip the first `n` StoryLinks.
1089
+ */
1090
+ skip?: number
1091
+ /**
1092
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1093
+ *
1094
+ * Filter by unique combinations of StoryLinks.
1095
+ */
1096
+ distinct?: Prisma.StoryLinkScalarFieldEnum | Prisma.StoryLinkScalarFieldEnum[]
1097
+ }
1098
+
1099
+ /**
1100
+ * StoryLink findFirstOrThrow
1101
+ */
1102
+ export type StoryLinkFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1103
+ /**
1104
+ * Select specific fields to fetch from the StoryLink
1105
+ */
1106
+ select?: Prisma.StoryLinkSelect<ExtArgs> | null
1107
+ /**
1108
+ * Omit specific fields from the StoryLink
1109
+ */
1110
+ omit?: Prisma.StoryLinkOmit<ExtArgs> | null
1111
+ /**
1112
+ * Choose, which related nodes to fetch as well
1113
+ */
1114
+ include?: Prisma.StoryLinkInclude<ExtArgs> | null
1115
+ /**
1116
+ * Filter, which StoryLink to fetch.
1117
+ */
1118
+ where?: Prisma.StoryLinkWhereInput
1119
+ /**
1120
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1121
+ *
1122
+ * Determine the order of StoryLinks to fetch.
1123
+ */
1124
+ orderBy?: Prisma.StoryLinkOrderByWithRelationInput | Prisma.StoryLinkOrderByWithRelationInput[]
1125
+ /**
1126
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1127
+ *
1128
+ * Sets the position for searching for StoryLinks.
1129
+ */
1130
+ cursor?: Prisma.StoryLinkWhereUniqueInput
1131
+ /**
1132
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1133
+ *
1134
+ * Take `±n` StoryLinks from the position of the cursor.
1135
+ */
1136
+ take?: number
1137
+ /**
1138
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1139
+ *
1140
+ * Skip the first `n` StoryLinks.
1141
+ */
1142
+ skip?: number
1143
+ /**
1144
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1145
+ *
1146
+ * Filter by unique combinations of StoryLinks.
1147
+ */
1148
+ distinct?: Prisma.StoryLinkScalarFieldEnum | Prisma.StoryLinkScalarFieldEnum[]
1149
+ }
1150
+
1151
+ /**
1152
+ * StoryLink findMany
1153
+ */
1154
+ export type StoryLinkFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1155
+ /**
1156
+ * Select specific fields to fetch from the StoryLink
1157
+ */
1158
+ select?: Prisma.StoryLinkSelect<ExtArgs> | null
1159
+ /**
1160
+ * Omit specific fields from the StoryLink
1161
+ */
1162
+ omit?: Prisma.StoryLinkOmit<ExtArgs> | null
1163
+ /**
1164
+ * Choose, which related nodes to fetch as well
1165
+ */
1166
+ include?: Prisma.StoryLinkInclude<ExtArgs> | null
1167
+ /**
1168
+ * Filter, which StoryLinks to fetch.
1169
+ */
1170
+ where?: Prisma.StoryLinkWhereInput
1171
+ /**
1172
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1173
+ *
1174
+ * Determine the order of StoryLinks to fetch.
1175
+ */
1176
+ orderBy?: Prisma.StoryLinkOrderByWithRelationInput | Prisma.StoryLinkOrderByWithRelationInput[]
1177
+ /**
1178
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1179
+ *
1180
+ * Sets the position for listing StoryLinks.
1181
+ */
1182
+ cursor?: Prisma.StoryLinkWhereUniqueInput
1183
+ /**
1184
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1185
+ *
1186
+ * Take `±n` StoryLinks from the position of the cursor.
1187
+ */
1188
+ take?: number
1189
+ /**
1190
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1191
+ *
1192
+ * Skip the first `n` StoryLinks.
1193
+ */
1194
+ skip?: number
1195
+ /**
1196
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1197
+ *
1198
+ * Filter by unique combinations of StoryLinks.
1199
+ */
1200
+ distinct?: Prisma.StoryLinkScalarFieldEnum | Prisma.StoryLinkScalarFieldEnum[]
1201
+ }
1202
+
1203
+ /**
1204
+ * StoryLink create
1205
+ */
1206
+ export type StoryLinkCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1207
+ /**
1208
+ * Select specific fields to fetch from the StoryLink
1209
+ */
1210
+ select?: Prisma.StoryLinkSelect<ExtArgs> | null
1211
+ /**
1212
+ * Omit specific fields from the StoryLink
1213
+ */
1214
+ omit?: Prisma.StoryLinkOmit<ExtArgs> | null
1215
+ /**
1216
+ * Choose, which related nodes to fetch as well
1217
+ */
1218
+ include?: Prisma.StoryLinkInclude<ExtArgs> | null
1219
+ /**
1220
+ * The data needed to create a StoryLink.
1221
+ */
1222
+ data: Prisma.XOR<Prisma.StoryLinkCreateInput, Prisma.StoryLinkUncheckedCreateInput>
1223
+ }
1224
+
1225
+ /**
1226
+ * StoryLink createMany
1227
+ */
1228
+ export type StoryLinkCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1229
+ /**
1230
+ * The data used to create many StoryLinks.
1231
+ */
1232
+ data: Prisma.StoryLinkCreateManyInput | Prisma.StoryLinkCreateManyInput[]
1233
+ skipDuplicates?: boolean
1234
+ }
1235
+
1236
+ /**
1237
+ * StoryLink createManyAndReturn
1238
+ */
1239
+ export type StoryLinkCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1240
+ /**
1241
+ * Select specific fields to fetch from the StoryLink
1242
+ */
1243
+ select?: Prisma.StoryLinkSelectCreateManyAndReturn<ExtArgs> | null
1244
+ /**
1245
+ * Omit specific fields from the StoryLink
1246
+ */
1247
+ omit?: Prisma.StoryLinkOmit<ExtArgs> | null
1248
+ /**
1249
+ * The data used to create many StoryLinks.
1250
+ */
1251
+ data: Prisma.StoryLinkCreateManyInput | Prisma.StoryLinkCreateManyInput[]
1252
+ skipDuplicates?: boolean
1253
+ /**
1254
+ * Choose, which related nodes to fetch as well
1255
+ */
1256
+ include?: Prisma.StoryLinkIncludeCreateManyAndReturn<ExtArgs> | null
1257
+ }
1258
+
1259
+ /**
1260
+ * StoryLink update
1261
+ */
1262
+ export type StoryLinkUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1263
+ /**
1264
+ * Select specific fields to fetch from the StoryLink
1265
+ */
1266
+ select?: Prisma.StoryLinkSelect<ExtArgs> | null
1267
+ /**
1268
+ * Omit specific fields from the StoryLink
1269
+ */
1270
+ omit?: Prisma.StoryLinkOmit<ExtArgs> | null
1271
+ /**
1272
+ * Choose, which related nodes to fetch as well
1273
+ */
1274
+ include?: Prisma.StoryLinkInclude<ExtArgs> | null
1275
+ /**
1276
+ * The data needed to update a StoryLink.
1277
+ */
1278
+ data: Prisma.XOR<Prisma.StoryLinkUpdateInput, Prisma.StoryLinkUncheckedUpdateInput>
1279
+ /**
1280
+ * Choose, which StoryLink to update.
1281
+ */
1282
+ where: Prisma.StoryLinkWhereUniqueInput
1283
+ }
1284
+
1285
+ /**
1286
+ * StoryLink updateMany
1287
+ */
1288
+ export type StoryLinkUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1289
+ /**
1290
+ * The data used to update StoryLinks.
1291
+ */
1292
+ data: Prisma.XOR<Prisma.StoryLinkUpdateManyMutationInput, Prisma.StoryLinkUncheckedUpdateManyInput>
1293
+ /**
1294
+ * Filter which StoryLinks to update
1295
+ */
1296
+ where?: Prisma.StoryLinkWhereInput
1297
+ /**
1298
+ * Limit how many StoryLinks to update.
1299
+ */
1300
+ limit?: number
1301
+ }
1302
+
1303
+ /**
1304
+ * StoryLink updateManyAndReturn
1305
+ */
1306
+ export type StoryLinkUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1307
+ /**
1308
+ * Select specific fields to fetch from the StoryLink
1309
+ */
1310
+ select?: Prisma.StoryLinkSelectUpdateManyAndReturn<ExtArgs> | null
1311
+ /**
1312
+ * Omit specific fields from the StoryLink
1313
+ */
1314
+ omit?: Prisma.StoryLinkOmit<ExtArgs> | null
1315
+ /**
1316
+ * The data used to update StoryLinks.
1317
+ */
1318
+ data: Prisma.XOR<Prisma.StoryLinkUpdateManyMutationInput, Prisma.StoryLinkUncheckedUpdateManyInput>
1319
+ /**
1320
+ * Filter which StoryLinks to update
1321
+ */
1322
+ where?: Prisma.StoryLinkWhereInput
1323
+ /**
1324
+ * Limit how many StoryLinks to update.
1325
+ */
1326
+ limit?: number
1327
+ /**
1328
+ * Choose, which related nodes to fetch as well
1329
+ */
1330
+ include?: Prisma.StoryLinkIncludeUpdateManyAndReturn<ExtArgs> | null
1331
+ }
1332
+
1333
+ /**
1334
+ * StoryLink upsert
1335
+ */
1336
+ export type StoryLinkUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1337
+ /**
1338
+ * Select specific fields to fetch from the StoryLink
1339
+ */
1340
+ select?: Prisma.StoryLinkSelect<ExtArgs> | null
1341
+ /**
1342
+ * Omit specific fields from the StoryLink
1343
+ */
1344
+ omit?: Prisma.StoryLinkOmit<ExtArgs> | null
1345
+ /**
1346
+ * Choose, which related nodes to fetch as well
1347
+ */
1348
+ include?: Prisma.StoryLinkInclude<ExtArgs> | null
1349
+ /**
1350
+ * The filter to search for the StoryLink to update in case it exists.
1351
+ */
1352
+ where: Prisma.StoryLinkWhereUniqueInput
1353
+ /**
1354
+ * In case the StoryLink found by the `where` argument doesn't exist, create a new StoryLink with this data.
1355
+ */
1356
+ create: Prisma.XOR<Prisma.StoryLinkCreateInput, Prisma.StoryLinkUncheckedCreateInput>
1357
+ /**
1358
+ * In case the StoryLink was found with the provided `where` argument, update it with this data.
1359
+ */
1360
+ update: Prisma.XOR<Prisma.StoryLinkUpdateInput, Prisma.StoryLinkUncheckedUpdateInput>
1361
+ }
1362
+
1363
+ /**
1364
+ * StoryLink delete
1365
+ */
1366
+ export type StoryLinkDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1367
+ /**
1368
+ * Select specific fields to fetch from the StoryLink
1369
+ */
1370
+ select?: Prisma.StoryLinkSelect<ExtArgs> | null
1371
+ /**
1372
+ * Omit specific fields from the StoryLink
1373
+ */
1374
+ omit?: Prisma.StoryLinkOmit<ExtArgs> | null
1375
+ /**
1376
+ * Choose, which related nodes to fetch as well
1377
+ */
1378
+ include?: Prisma.StoryLinkInclude<ExtArgs> | null
1379
+ /**
1380
+ * Filter which StoryLink to delete.
1381
+ */
1382
+ where: Prisma.StoryLinkWhereUniqueInput
1383
+ }
1384
+
1385
+ /**
1386
+ * StoryLink deleteMany
1387
+ */
1388
+ export type StoryLinkDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1389
+ /**
1390
+ * Filter which StoryLinks to delete
1391
+ */
1392
+ where?: Prisma.StoryLinkWhereInput
1393
+ /**
1394
+ * Limit how many StoryLinks to delete.
1395
+ */
1396
+ limit?: number
1397
+ }
1398
+
1399
+ /**
1400
+ * StoryLink without action
1401
+ */
1402
+ export type StoryLinkDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1403
+ /**
1404
+ * Select specific fields to fetch from the StoryLink
1405
+ */
1406
+ select?: Prisma.StoryLinkSelect<ExtArgs> | null
1407
+ /**
1408
+ * Omit specific fields from the StoryLink
1409
+ */
1410
+ omit?: Prisma.StoryLinkOmit<ExtArgs> | null
1411
+ /**
1412
+ * Choose, which related nodes to fetch as well
1413
+ */
1414
+ include?: Prisma.StoryLinkInclude<ExtArgs> | null
1415
+ }