@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,1667 @@
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 `BookmarkCategory` 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 BookmarkCategory
17
+ *
18
+ */
19
+ export type BookmarkCategoryModel = runtime.Types.Result.DefaultSelection<Prisma.$BookmarkCategoryPayload>
20
+
21
+ export type AggregateBookmarkCategory = {
22
+ _count: BookmarkCategoryCountAggregateOutputType | null
23
+ _avg: BookmarkCategoryAvgAggregateOutputType | null
24
+ _sum: BookmarkCategorySumAggregateOutputType | null
25
+ _min: BookmarkCategoryMinAggregateOutputType | null
26
+ _max: BookmarkCategoryMaxAggregateOutputType | null
27
+ }
28
+
29
+ export type BookmarkCategoryAvgAggregateOutputType = {
30
+ sortOrder: number | null
31
+ }
32
+
33
+ export type BookmarkCategorySumAggregateOutputType = {
34
+ sortOrder: number | null
35
+ }
36
+
37
+ export type BookmarkCategoryMinAggregateOutputType = {
38
+ id: string | null
39
+ name: string | null
40
+ icon: string | null
41
+ sortOrder: number | null
42
+ isDefault: boolean | null
43
+ userId: string | null
44
+ createdAt: Date | null
45
+ updatedAt: Date | null
46
+ }
47
+
48
+ export type BookmarkCategoryMaxAggregateOutputType = {
49
+ id: string | null
50
+ name: string | null
51
+ icon: string | null
52
+ sortOrder: number | null
53
+ isDefault: boolean | null
54
+ userId: string | null
55
+ createdAt: Date | null
56
+ updatedAt: Date | null
57
+ }
58
+
59
+ export type BookmarkCategoryCountAggregateOutputType = {
60
+ id: number
61
+ name: number
62
+ icon: number
63
+ sortOrder: number
64
+ isDefault: number
65
+ userId: number
66
+ createdAt: number
67
+ updatedAt: number
68
+ _all: number
69
+ }
70
+
71
+
72
+ export type BookmarkCategoryAvgAggregateInputType = {
73
+ sortOrder?: true
74
+ }
75
+
76
+ export type BookmarkCategorySumAggregateInputType = {
77
+ sortOrder?: true
78
+ }
79
+
80
+ export type BookmarkCategoryMinAggregateInputType = {
81
+ id?: true
82
+ name?: true
83
+ icon?: true
84
+ sortOrder?: true
85
+ isDefault?: true
86
+ userId?: true
87
+ createdAt?: true
88
+ updatedAt?: true
89
+ }
90
+
91
+ export type BookmarkCategoryMaxAggregateInputType = {
92
+ id?: true
93
+ name?: true
94
+ icon?: true
95
+ sortOrder?: true
96
+ isDefault?: true
97
+ userId?: true
98
+ createdAt?: true
99
+ updatedAt?: true
100
+ }
101
+
102
+ export type BookmarkCategoryCountAggregateInputType = {
103
+ id?: true
104
+ name?: true
105
+ icon?: true
106
+ sortOrder?: true
107
+ isDefault?: true
108
+ userId?: true
109
+ createdAt?: true
110
+ updatedAt?: true
111
+ _all?: true
112
+ }
113
+
114
+ export type BookmarkCategoryAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
115
+ /**
116
+ * Filter which BookmarkCategory to aggregate.
117
+ */
118
+ where?: Prisma.BookmarkCategoryWhereInput
119
+ /**
120
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
121
+ *
122
+ * Determine the order of BookmarkCategories to fetch.
123
+ */
124
+ orderBy?: Prisma.BookmarkCategoryOrderByWithRelationInput | Prisma.BookmarkCategoryOrderByWithRelationInput[]
125
+ /**
126
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
127
+ *
128
+ * Sets the start position
129
+ */
130
+ cursor?: Prisma.BookmarkCategoryWhereUniqueInput
131
+ /**
132
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
133
+ *
134
+ * Take `±n` BookmarkCategories from the position of the cursor.
135
+ */
136
+ take?: number
137
+ /**
138
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
139
+ *
140
+ * Skip the first `n` BookmarkCategories.
141
+ */
142
+ skip?: number
143
+ /**
144
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
145
+ *
146
+ * Count returned BookmarkCategories
147
+ **/
148
+ _count?: true | BookmarkCategoryCountAggregateInputType
149
+ /**
150
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
151
+ *
152
+ * Select which fields to average
153
+ **/
154
+ _avg?: BookmarkCategoryAvgAggregateInputType
155
+ /**
156
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
157
+ *
158
+ * Select which fields to sum
159
+ **/
160
+ _sum?: BookmarkCategorySumAggregateInputType
161
+ /**
162
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
163
+ *
164
+ * Select which fields to find the minimum value
165
+ **/
166
+ _min?: BookmarkCategoryMinAggregateInputType
167
+ /**
168
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
169
+ *
170
+ * Select which fields to find the maximum value
171
+ **/
172
+ _max?: BookmarkCategoryMaxAggregateInputType
173
+ }
174
+
175
+ export type GetBookmarkCategoryAggregateType<T extends BookmarkCategoryAggregateArgs> = {
176
+ [P in keyof T & keyof AggregateBookmarkCategory]: P extends '_count' | 'count'
177
+ ? T[P] extends true
178
+ ? number
179
+ : Prisma.GetScalarType<T[P], AggregateBookmarkCategory[P]>
180
+ : Prisma.GetScalarType<T[P], AggregateBookmarkCategory[P]>
181
+ }
182
+
183
+
184
+
185
+
186
+ export type BookmarkCategoryGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
187
+ where?: Prisma.BookmarkCategoryWhereInput
188
+ orderBy?: Prisma.BookmarkCategoryOrderByWithAggregationInput | Prisma.BookmarkCategoryOrderByWithAggregationInput[]
189
+ by: Prisma.BookmarkCategoryScalarFieldEnum[] | Prisma.BookmarkCategoryScalarFieldEnum
190
+ having?: Prisma.BookmarkCategoryScalarWhereWithAggregatesInput
191
+ take?: number
192
+ skip?: number
193
+ _count?: BookmarkCategoryCountAggregateInputType | true
194
+ _avg?: BookmarkCategoryAvgAggregateInputType
195
+ _sum?: BookmarkCategorySumAggregateInputType
196
+ _min?: BookmarkCategoryMinAggregateInputType
197
+ _max?: BookmarkCategoryMaxAggregateInputType
198
+ }
199
+
200
+ export type BookmarkCategoryGroupByOutputType = {
201
+ id: string
202
+ name: string
203
+ icon: string
204
+ sortOrder: number
205
+ isDefault: boolean
206
+ userId: string | null
207
+ createdAt: Date
208
+ updatedAt: Date
209
+ _count: BookmarkCategoryCountAggregateOutputType | null
210
+ _avg: BookmarkCategoryAvgAggregateOutputType | null
211
+ _sum: BookmarkCategorySumAggregateOutputType | null
212
+ _min: BookmarkCategoryMinAggregateOutputType | null
213
+ _max: BookmarkCategoryMaxAggregateOutputType | null
214
+ }
215
+
216
+ export type GetBookmarkCategoryGroupByPayload<T extends BookmarkCategoryGroupByArgs> = Prisma.PrismaPromise<
217
+ Array<
218
+ Prisma.PickEnumerable<BookmarkCategoryGroupByOutputType, T['by']> &
219
+ {
220
+ [P in ((keyof T) & (keyof BookmarkCategoryGroupByOutputType))]: P extends '_count'
221
+ ? T[P] extends boolean
222
+ ? number
223
+ : Prisma.GetScalarType<T[P], BookmarkCategoryGroupByOutputType[P]>
224
+ : Prisma.GetScalarType<T[P], BookmarkCategoryGroupByOutputType[P]>
225
+ }
226
+ >
227
+ >
228
+
229
+
230
+
231
+ export type BookmarkCategoryWhereInput = {
232
+ AND?: Prisma.BookmarkCategoryWhereInput | Prisma.BookmarkCategoryWhereInput[]
233
+ OR?: Prisma.BookmarkCategoryWhereInput[]
234
+ NOT?: Prisma.BookmarkCategoryWhereInput | Prisma.BookmarkCategoryWhereInput[]
235
+ id?: Prisma.StringFilter<"BookmarkCategory"> | string
236
+ name?: Prisma.StringFilter<"BookmarkCategory"> | string
237
+ icon?: Prisma.StringFilter<"BookmarkCategory"> | string
238
+ sortOrder?: Prisma.IntFilter<"BookmarkCategory"> | number
239
+ isDefault?: Prisma.BoolFilter<"BookmarkCategory"> | boolean
240
+ userId?: Prisma.StringNullableFilter<"BookmarkCategory"> | string | null
241
+ createdAt?: Prisma.DateTimeFilter<"BookmarkCategory"> | Date | string
242
+ updatedAt?: Prisma.DateTimeFilter<"BookmarkCategory"> | Date | string
243
+ user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
244
+ bookmarks?: Prisma.WebsiteBookmarkListRelationFilter
245
+ }
246
+
247
+ export type BookmarkCategoryOrderByWithRelationInput = {
248
+ id?: Prisma.SortOrder
249
+ name?: Prisma.SortOrder
250
+ icon?: Prisma.SortOrder
251
+ sortOrder?: Prisma.SortOrder
252
+ isDefault?: Prisma.SortOrder
253
+ userId?: Prisma.SortOrderInput | Prisma.SortOrder
254
+ createdAt?: Prisma.SortOrder
255
+ updatedAt?: Prisma.SortOrder
256
+ user?: Prisma.UserOrderByWithRelationInput
257
+ bookmarks?: Prisma.WebsiteBookmarkOrderByRelationAggregateInput
258
+ }
259
+
260
+ export type BookmarkCategoryWhereUniqueInput = Prisma.AtLeast<{
261
+ id?: string
262
+ userId_name?: Prisma.BookmarkCategoryUserIdNameCompoundUniqueInput
263
+ AND?: Prisma.BookmarkCategoryWhereInput | Prisma.BookmarkCategoryWhereInput[]
264
+ OR?: Prisma.BookmarkCategoryWhereInput[]
265
+ NOT?: Prisma.BookmarkCategoryWhereInput | Prisma.BookmarkCategoryWhereInput[]
266
+ name?: Prisma.StringFilter<"BookmarkCategory"> | string
267
+ icon?: Prisma.StringFilter<"BookmarkCategory"> | string
268
+ sortOrder?: Prisma.IntFilter<"BookmarkCategory"> | number
269
+ isDefault?: Prisma.BoolFilter<"BookmarkCategory"> | boolean
270
+ userId?: Prisma.StringNullableFilter<"BookmarkCategory"> | string | null
271
+ createdAt?: Prisma.DateTimeFilter<"BookmarkCategory"> | Date | string
272
+ updatedAt?: Prisma.DateTimeFilter<"BookmarkCategory"> | Date | string
273
+ user?: Prisma.XOR<Prisma.UserNullableScalarRelationFilter, Prisma.UserWhereInput> | null
274
+ bookmarks?: Prisma.WebsiteBookmarkListRelationFilter
275
+ }, "id" | "userId_name">
276
+
277
+ export type BookmarkCategoryOrderByWithAggregationInput = {
278
+ id?: Prisma.SortOrder
279
+ name?: Prisma.SortOrder
280
+ icon?: Prisma.SortOrder
281
+ sortOrder?: Prisma.SortOrder
282
+ isDefault?: Prisma.SortOrder
283
+ userId?: Prisma.SortOrderInput | Prisma.SortOrder
284
+ createdAt?: Prisma.SortOrder
285
+ updatedAt?: Prisma.SortOrder
286
+ _count?: Prisma.BookmarkCategoryCountOrderByAggregateInput
287
+ _avg?: Prisma.BookmarkCategoryAvgOrderByAggregateInput
288
+ _max?: Prisma.BookmarkCategoryMaxOrderByAggregateInput
289
+ _min?: Prisma.BookmarkCategoryMinOrderByAggregateInput
290
+ _sum?: Prisma.BookmarkCategorySumOrderByAggregateInput
291
+ }
292
+
293
+ export type BookmarkCategoryScalarWhereWithAggregatesInput = {
294
+ AND?: Prisma.BookmarkCategoryScalarWhereWithAggregatesInput | Prisma.BookmarkCategoryScalarWhereWithAggregatesInput[]
295
+ OR?: Prisma.BookmarkCategoryScalarWhereWithAggregatesInput[]
296
+ NOT?: Prisma.BookmarkCategoryScalarWhereWithAggregatesInput | Prisma.BookmarkCategoryScalarWhereWithAggregatesInput[]
297
+ id?: Prisma.StringWithAggregatesFilter<"BookmarkCategory"> | string
298
+ name?: Prisma.StringWithAggregatesFilter<"BookmarkCategory"> | string
299
+ icon?: Prisma.StringWithAggregatesFilter<"BookmarkCategory"> | string
300
+ sortOrder?: Prisma.IntWithAggregatesFilter<"BookmarkCategory"> | number
301
+ isDefault?: Prisma.BoolWithAggregatesFilter<"BookmarkCategory"> | boolean
302
+ userId?: Prisma.StringNullableWithAggregatesFilter<"BookmarkCategory"> | string | null
303
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"BookmarkCategory"> | Date | string
304
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"BookmarkCategory"> | Date | string
305
+ }
306
+
307
+ export type BookmarkCategoryCreateInput = {
308
+ id?: string
309
+ name: string
310
+ icon?: string
311
+ sortOrder?: number
312
+ isDefault?: boolean
313
+ createdAt?: Date | string
314
+ updatedAt?: Date | string
315
+ user?: Prisma.UserCreateNestedOneWithoutBookmarkCategoriesInput
316
+ bookmarks?: Prisma.WebsiteBookmarkCreateNestedManyWithoutCategoryInput
317
+ }
318
+
319
+ export type BookmarkCategoryUncheckedCreateInput = {
320
+ id?: string
321
+ name: string
322
+ icon?: string
323
+ sortOrder?: number
324
+ isDefault?: boolean
325
+ userId?: string | null
326
+ createdAt?: Date | string
327
+ updatedAt?: Date | string
328
+ bookmarks?: Prisma.WebsiteBookmarkUncheckedCreateNestedManyWithoutCategoryInput
329
+ }
330
+
331
+ export type BookmarkCategoryUpdateInput = {
332
+ id?: Prisma.StringFieldUpdateOperationsInput | string
333
+ name?: Prisma.StringFieldUpdateOperationsInput | string
334
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
335
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
336
+ isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
337
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
338
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
339
+ user?: Prisma.UserUpdateOneWithoutBookmarkCategoriesNestedInput
340
+ bookmarks?: Prisma.WebsiteBookmarkUpdateManyWithoutCategoryNestedInput
341
+ }
342
+
343
+ export type BookmarkCategoryUncheckedUpdateInput = {
344
+ id?: Prisma.StringFieldUpdateOperationsInput | string
345
+ name?: Prisma.StringFieldUpdateOperationsInput | string
346
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
347
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
348
+ isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
349
+ userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
350
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
351
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
352
+ bookmarks?: Prisma.WebsiteBookmarkUncheckedUpdateManyWithoutCategoryNestedInput
353
+ }
354
+
355
+ export type BookmarkCategoryCreateManyInput = {
356
+ id?: string
357
+ name: string
358
+ icon?: string
359
+ sortOrder?: number
360
+ isDefault?: boolean
361
+ userId?: string | null
362
+ createdAt?: Date | string
363
+ updatedAt?: Date | string
364
+ }
365
+
366
+ export type BookmarkCategoryUpdateManyMutationInput = {
367
+ id?: Prisma.StringFieldUpdateOperationsInput | string
368
+ name?: Prisma.StringFieldUpdateOperationsInput | string
369
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
370
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
371
+ isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
372
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
373
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
374
+ }
375
+
376
+ export type BookmarkCategoryUncheckedUpdateManyInput = {
377
+ id?: Prisma.StringFieldUpdateOperationsInput | string
378
+ name?: Prisma.StringFieldUpdateOperationsInput | string
379
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
380
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
381
+ isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
382
+ userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
383
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
384
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
385
+ }
386
+
387
+ export type BookmarkCategoryListRelationFilter = {
388
+ every?: Prisma.BookmarkCategoryWhereInput
389
+ some?: Prisma.BookmarkCategoryWhereInput
390
+ none?: Prisma.BookmarkCategoryWhereInput
391
+ }
392
+
393
+ export type BookmarkCategoryOrderByRelationAggregateInput = {
394
+ _count?: Prisma.SortOrder
395
+ }
396
+
397
+ export type BookmarkCategoryNullableScalarRelationFilter = {
398
+ is?: Prisma.BookmarkCategoryWhereInput | null
399
+ isNot?: Prisma.BookmarkCategoryWhereInput | null
400
+ }
401
+
402
+ export type BookmarkCategoryUserIdNameCompoundUniqueInput = {
403
+ userId: string
404
+ name: string
405
+ }
406
+
407
+ export type BookmarkCategoryCountOrderByAggregateInput = {
408
+ id?: Prisma.SortOrder
409
+ name?: Prisma.SortOrder
410
+ icon?: Prisma.SortOrder
411
+ sortOrder?: Prisma.SortOrder
412
+ isDefault?: Prisma.SortOrder
413
+ userId?: Prisma.SortOrder
414
+ createdAt?: Prisma.SortOrder
415
+ updatedAt?: Prisma.SortOrder
416
+ }
417
+
418
+ export type BookmarkCategoryAvgOrderByAggregateInput = {
419
+ sortOrder?: Prisma.SortOrder
420
+ }
421
+
422
+ export type BookmarkCategoryMaxOrderByAggregateInput = {
423
+ id?: Prisma.SortOrder
424
+ name?: Prisma.SortOrder
425
+ icon?: Prisma.SortOrder
426
+ sortOrder?: Prisma.SortOrder
427
+ isDefault?: Prisma.SortOrder
428
+ userId?: Prisma.SortOrder
429
+ createdAt?: Prisma.SortOrder
430
+ updatedAt?: Prisma.SortOrder
431
+ }
432
+
433
+ export type BookmarkCategoryMinOrderByAggregateInput = {
434
+ id?: Prisma.SortOrder
435
+ name?: Prisma.SortOrder
436
+ icon?: Prisma.SortOrder
437
+ sortOrder?: Prisma.SortOrder
438
+ isDefault?: Prisma.SortOrder
439
+ userId?: Prisma.SortOrder
440
+ createdAt?: Prisma.SortOrder
441
+ updatedAt?: Prisma.SortOrder
442
+ }
443
+
444
+ export type BookmarkCategorySumOrderByAggregateInput = {
445
+ sortOrder?: Prisma.SortOrder
446
+ }
447
+
448
+ export type BookmarkCategoryCreateNestedManyWithoutUserInput = {
449
+ create?: Prisma.XOR<Prisma.BookmarkCategoryCreateWithoutUserInput, Prisma.BookmarkCategoryUncheckedCreateWithoutUserInput> | Prisma.BookmarkCategoryCreateWithoutUserInput[] | Prisma.BookmarkCategoryUncheckedCreateWithoutUserInput[]
450
+ connectOrCreate?: Prisma.BookmarkCategoryCreateOrConnectWithoutUserInput | Prisma.BookmarkCategoryCreateOrConnectWithoutUserInput[]
451
+ createMany?: Prisma.BookmarkCategoryCreateManyUserInputEnvelope
452
+ connect?: Prisma.BookmarkCategoryWhereUniqueInput | Prisma.BookmarkCategoryWhereUniqueInput[]
453
+ }
454
+
455
+ export type BookmarkCategoryUncheckedCreateNestedManyWithoutUserInput = {
456
+ create?: Prisma.XOR<Prisma.BookmarkCategoryCreateWithoutUserInput, Prisma.BookmarkCategoryUncheckedCreateWithoutUserInput> | Prisma.BookmarkCategoryCreateWithoutUserInput[] | Prisma.BookmarkCategoryUncheckedCreateWithoutUserInput[]
457
+ connectOrCreate?: Prisma.BookmarkCategoryCreateOrConnectWithoutUserInput | Prisma.BookmarkCategoryCreateOrConnectWithoutUserInput[]
458
+ createMany?: Prisma.BookmarkCategoryCreateManyUserInputEnvelope
459
+ connect?: Prisma.BookmarkCategoryWhereUniqueInput | Prisma.BookmarkCategoryWhereUniqueInput[]
460
+ }
461
+
462
+ export type BookmarkCategoryUpdateManyWithoutUserNestedInput = {
463
+ create?: Prisma.XOR<Prisma.BookmarkCategoryCreateWithoutUserInput, Prisma.BookmarkCategoryUncheckedCreateWithoutUserInput> | Prisma.BookmarkCategoryCreateWithoutUserInput[] | Prisma.BookmarkCategoryUncheckedCreateWithoutUserInput[]
464
+ connectOrCreate?: Prisma.BookmarkCategoryCreateOrConnectWithoutUserInput | Prisma.BookmarkCategoryCreateOrConnectWithoutUserInput[]
465
+ upsert?: Prisma.BookmarkCategoryUpsertWithWhereUniqueWithoutUserInput | Prisma.BookmarkCategoryUpsertWithWhereUniqueWithoutUserInput[]
466
+ createMany?: Prisma.BookmarkCategoryCreateManyUserInputEnvelope
467
+ set?: Prisma.BookmarkCategoryWhereUniqueInput | Prisma.BookmarkCategoryWhereUniqueInput[]
468
+ disconnect?: Prisma.BookmarkCategoryWhereUniqueInput | Prisma.BookmarkCategoryWhereUniqueInput[]
469
+ delete?: Prisma.BookmarkCategoryWhereUniqueInput | Prisma.BookmarkCategoryWhereUniqueInput[]
470
+ connect?: Prisma.BookmarkCategoryWhereUniqueInput | Prisma.BookmarkCategoryWhereUniqueInput[]
471
+ update?: Prisma.BookmarkCategoryUpdateWithWhereUniqueWithoutUserInput | Prisma.BookmarkCategoryUpdateWithWhereUniqueWithoutUserInput[]
472
+ updateMany?: Prisma.BookmarkCategoryUpdateManyWithWhereWithoutUserInput | Prisma.BookmarkCategoryUpdateManyWithWhereWithoutUserInput[]
473
+ deleteMany?: Prisma.BookmarkCategoryScalarWhereInput | Prisma.BookmarkCategoryScalarWhereInput[]
474
+ }
475
+
476
+ export type BookmarkCategoryUncheckedUpdateManyWithoutUserNestedInput = {
477
+ create?: Prisma.XOR<Prisma.BookmarkCategoryCreateWithoutUserInput, Prisma.BookmarkCategoryUncheckedCreateWithoutUserInput> | Prisma.BookmarkCategoryCreateWithoutUserInput[] | Prisma.BookmarkCategoryUncheckedCreateWithoutUserInput[]
478
+ connectOrCreate?: Prisma.BookmarkCategoryCreateOrConnectWithoutUserInput | Prisma.BookmarkCategoryCreateOrConnectWithoutUserInput[]
479
+ upsert?: Prisma.BookmarkCategoryUpsertWithWhereUniqueWithoutUserInput | Prisma.BookmarkCategoryUpsertWithWhereUniqueWithoutUserInput[]
480
+ createMany?: Prisma.BookmarkCategoryCreateManyUserInputEnvelope
481
+ set?: Prisma.BookmarkCategoryWhereUniqueInput | Prisma.BookmarkCategoryWhereUniqueInput[]
482
+ disconnect?: Prisma.BookmarkCategoryWhereUniqueInput | Prisma.BookmarkCategoryWhereUniqueInput[]
483
+ delete?: Prisma.BookmarkCategoryWhereUniqueInput | Prisma.BookmarkCategoryWhereUniqueInput[]
484
+ connect?: Prisma.BookmarkCategoryWhereUniqueInput | Prisma.BookmarkCategoryWhereUniqueInput[]
485
+ update?: Prisma.BookmarkCategoryUpdateWithWhereUniqueWithoutUserInput | Prisma.BookmarkCategoryUpdateWithWhereUniqueWithoutUserInput[]
486
+ updateMany?: Prisma.BookmarkCategoryUpdateManyWithWhereWithoutUserInput | Prisma.BookmarkCategoryUpdateManyWithWhereWithoutUserInput[]
487
+ deleteMany?: Prisma.BookmarkCategoryScalarWhereInput | Prisma.BookmarkCategoryScalarWhereInput[]
488
+ }
489
+
490
+ export type BookmarkCategoryCreateNestedOneWithoutBookmarksInput = {
491
+ create?: Prisma.XOR<Prisma.BookmarkCategoryCreateWithoutBookmarksInput, Prisma.BookmarkCategoryUncheckedCreateWithoutBookmarksInput>
492
+ connectOrCreate?: Prisma.BookmarkCategoryCreateOrConnectWithoutBookmarksInput
493
+ connect?: Prisma.BookmarkCategoryWhereUniqueInput
494
+ }
495
+
496
+ export type BookmarkCategoryUpdateOneWithoutBookmarksNestedInput = {
497
+ create?: Prisma.XOR<Prisma.BookmarkCategoryCreateWithoutBookmarksInput, Prisma.BookmarkCategoryUncheckedCreateWithoutBookmarksInput>
498
+ connectOrCreate?: Prisma.BookmarkCategoryCreateOrConnectWithoutBookmarksInput
499
+ upsert?: Prisma.BookmarkCategoryUpsertWithoutBookmarksInput
500
+ disconnect?: Prisma.BookmarkCategoryWhereInput | boolean
501
+ delete?: Prisma.BookmarkCategoryWhereInput | boolean
502
+ connect?: Prisma.BookmarkCategoryWhereUniqueInput
503
+ update?: Prisma.XOR<Prisma.XOR<Prisma.BookmarkCategoryUpdateToOneWithWhereWithoutBookmarksInput, Prisma.BookmarkCategoryUpdateWithoutBookmarksInput>, Prisma.BookmarkCategoryUncheckedUpdateWithoutBookmarksInput>
504
+ }
505
+
506
+ export type BookmarkCategoryCreateWithoutUserInput = {
507
+ id?: string
508
+ name: string
509
+ icon?: string
510
+ sortOrder?: number
511
+ isDefault?: boolean
512
+ createdAt?: Date | string
513
+ updatedAt?: Date | string
514
+ bookmarks?: Prisma.WebsiteBookmarkCreateNestedManyWithoutCategoryInput
515
+ }
516
+
517
+ export type BookmarkCategoryUncheckedCreateWithoutUserInput = {
518
+ id?: string
519
+ name: string
520
+ icon?: string
521
+ sortOrder?: number
522
+ isDefault?: boolean
523
+ createdAt?: Date | string
524
+ updatedAt?: Date | string
525
+ bookmarks?: Prisma.WebsiteBookmarkUncheckedCreateNestedManyWithoutCategoryInput
526
+ }
527
+
528
+ export type BookmarkCategoryCreateOrConnectWithoutUserInput = {
529
+ where: Prisma.BookmarkCategoryWhereUniqueInput
530
+ create: Prisma.XOR<Prisma.BookmarkCategoryCreateWithoutUserInput, Prisma.BookmarkCategoryUncheckedCreateWithoutUserInput>
531
+ }
532
+
533
+ export type BookmarkCategoryCreateManyUserInputEnvelope = {
534
+ data: Prisma.BookmarkCategoryCreateManyUserInput | Prisma.BookmarkCategoryCreateManyUserInput[]
535
+ }
536
+
537
+ export type BookmarkCategoryUpsertWithWhereUniqueWithoutUserInput = {
538
+ where: Prisma.BookmarkCategoryWhereUniqueInput
539
+ update: Prisma.XOR<Prisma.BookmarkCategoryUpdateWithoutUserInput, Prisma.BookmarkCategoryUncheckedUpdateWithoutUserInput>
540
+ create: Prisma.XOR<Prisma.BookmarkCategoryCreateWithoutUserInput, Prisma.BookmarkCategoryUncheckedCreateWithoutUserInput>
541
+ }
542
+
543
+ export type BookmarkCategoryUpdateWithWhereUniqueWithoutUserInput = {
544
+ where: Prisma.BookmarkCategoryWhereUniqueInput
545
+ data: Prisma.XOR<Prisma.BookmarkCategoryUpdateWithoutUserInput, Prisma.BookmarkCategoryUncheckedUpdateWithoutUserInput>
546
+ }
547
+
548
+ export type BookmarkCategoryUpdateManyWithWhereWithoutUserInput = {
549
+ where: Prisma.BookmarkCategoryScalarWhereInput
550
+ data: Prisma.XOR<Prisma.BookmarkCategoryUpdateManyMutationInput, Prisma.BookmarkCategoryUncheckedUpdateManyWithoutUserInput>
551
+ }
552
+
553
+ export type BookmarkCategoryScalarWhereInput = {
554
+ AND?: Prisma.BookmarkCategoryScalarWhereInput | Prisma.BookmarkCategoryScalarWhereInput[]
555
+ OR?: Prisma.BookmarkCategoryScalarWhereInput[]
556
+ NOT?: Prisma.BookmarkCategoryScalarWhereInput | Prisma.BookmarkCategoryScalarWhereInput[]
557
+ id?: Prisma.StringFilter<"BookmarkCategory"> | string
558
+ name?: Prisma.StringFilter<"BookmarkCategory"> | string
559
+ icon?: Prisma.StringFilter<"BookmarkCategory"> | string
560
+ sortOrder?: Prisma.IntFilter<"BookmarkCategory"> | number
561
+ isDefault?: Prisma.BoolFilter<"BookmarkCategory"> | boolean
562
+ userId?: Prisma.StringNullableFilter<"BookmarkCategory"> | string | null
563
+ createdAt?: Prisma.DateTimeFilter<"BookmarkCategory"> | Date | string
564
+ updatedAt?: Prisma.DateTimeFilter<"BookmarkCategory"> | Date | string
565
+ }
566
+
567
+ export type BookmarkCategoryCreateWithoutBookmarksInput = {
568
+ id?: string
569
+ name: string
570
+ icon?: string
571
+ sortOrder?: number
572
+ isDefault?: boolean
573
+ createdAt?: Date | string
574
+ updatedAt?: Date | string
575
+ user?: Prisma.UserCreateNestedOneWithoutBookmarkCategoriesInput
576
+ }
577
+
578
+ export type BookmarkCategoryUncheckedCreateWithoutBookmarksInput = {
579
+ id?: string
580
+ name: string
581
+ icon?: string
582
+ sortOrder?: number
583
+ isDefault?: boolean
584
+ userId?: string | null
585
+ createdAt?: Date | string
586
+ updatedAt?: Date | string
587
+ }
588
+
589
+ export type BookmarkCategoryCreateOrConnectWithoutBookmarksInput = {
590
+ where: Prisma.BookmarkCategoryWhereUniqueInput
591
+ create: Prisma.XOR<Prisma.BookmarkCategoryCreateWithoutBookmarksInput, Prisma.BookmarkCategoryUncheckedCreateWithoutBookmarksInput>
592
+ }
593
+
594
+ export type BookmarkCategoryUpsertWithoutBookmarksInput = {
595
+ update: Prisma.XOR<Prisma.BookmarkCategoryUpdateWithoutBookmarksInput, Prisma.BookmarkCategoryUncheckedUpdateWithoutBookmarksInput>
596
+ create: Prisma.XOR<Prisma.BookmarkCategoryCreateWithoutBookmarksInput, Prisma.BookmarkCategoryUncheckedCreateWithoutBookmarksInput>
597
+ where?: Prisma.BookmarkCategoryWhereInput
598
+ }
599
+
600
+ export type BookmarkCategoryUpdateToOneWithWhereWithoutBookmarksInput = {
601
+ where?: Prisma.BookmarkCategoryWhereInput
602
+ data: Prisma.XOR<Prisma.BookmarkCategoryUpdateWithoutBookmarksInput, Prisma.BookmarkCategoryUncheckedUpdateWithoutBookmarksInput>
603
+ }
604
+
605
+ export type BookmarkCategoryUpdateWithoutBookmarksInput = {
606
+ id?: Prisma.StringFieldUpdateOperationsInput | string
607
+ name?: Prisma.StringFieldUpdateOperationsInput | string
608
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
609
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
610
+ isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
611
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
612
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
613
+ user?: Prisma.UserUpdateOneWithoutBookmarkCategoriesNestedInput
614
+ }
615
+
616
+ export type BookmarkCategoryUncheckedUpdateWithoutBookmarksInput = {
617
+ id?: Prisma.StringFieldUpdateOperationsInput | string
618
+ name?: Prisma.StringFieldUpdateOperationsInput | string
619
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
620
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
621
+ isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
622
+ userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
623
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
624
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
625
+ }
626
+
627
+ export type BookmarkCategoryCreateManyUserInput = {
628
+ id?: string
629
+ name: string
630
+ icon?: string
631
+ sortOrder?: number
632
+ isDefault?: boolean
633
+ createdAt?: Date | string
634
+ updatedAt?: Date | string
635
+ }
636
+
637
+ export type BookmarkCategoryUpdateWithoutUserInput = {
638
+ id?: Prisma.StringFieldUpdateOperationsInput | string
639
+ name?: Prisma.StringFieldUpdateOperationsInput | string
640
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
641
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
642
+ isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
643
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
644
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
645
+ bookmarks?: Prisma.WebsiteBookmarkUpdateManyWithoutCategoryNestedInput
646
+ }
647
+
648
+ export type BookmarkCategoryUncheckedUpdateWithoutUserInput = {
649
+ id?: Prisma.StringFieldUpdateOperationsInput | string
650
+ name?: Prisma.StringFieldUpdateOperationsInput | string
651
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
652
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
653
+ isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
654
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
655
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
656
+ bookmarks?: Prisma.WebsiteBookmarkUncheckedUpdateManyWithoutCategoryNestedInput
657
+ }
658
+
659
+ export type BookmarkCategoryUncheckedUpdateManyWithoutUserInput = {
660
+ id?: Prisma.StringFieldUpdateOperationsInput | string
661
+ name?: Prisma.StringFieldUpdateOperationsInput | string
662
+ icon?: Prisma.StringFieldUpdateOperationsInput | string
663
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number
664
+ isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean
665
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
666
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
667
+ }
668
+
669
+
670
+ /**
671
+ * Count Type BookmarkCategoryCountOutputType
672
+ */
673
+
674
+ export type BookmarkCategoryCountOutputType = {
675
+ bookmarks: number
676
+ }
677
+
678
+ export type BookmarkCategoryCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
679
+ bookmarks?: boolean | BookmarkCategoryCountOutputTypeCountBookmarksArgs
680
+ }
681
+
682
+ /**
683
+ * BookmarkCategoryCountOutputType without action
684
+ */
685
+ export type BookmarkCategoryCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
686
+ /**
687
+ * Select specific fields to fetch from the BookmarkCategoryCountOutputType
688
+ */
689
+ select?: Prisma.BookmarkCategoryCountOutputTypeSelect<ExtArgs> | null
690
+ }
691
+
692
+ /**
693
+ * BookmarkCategoryCountOutputType without action
694
+ */
695
+ export type BookmarkCategoryCountOutputTypeCountBookmarksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
696
+ where?: Prisma.WebsiteBookmarkWhereInput
697
+ }
698
+
699
+
700
+ export type BookmarkCategorySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
701
+ id?: boolean
702
+ name?: boolean
703
+ icon?: boolean
704
+ sortOrder?: boolean
705
+ isDefault?: boolean
706
+ userId?: boolean
707
+ createdAt?: boolean
708
+ updatedAt?: boolean
709
+ user?: boolean | Prisma.BookmarkCategory$userArgs<ExtArgs>
710
+ bookmarks?: boolean | Prisma.BookmarkCategory$bookmarksArgs<ExtArgs>
711
+ _count?: boolean | Prisma.BookmarkCategoryCountOutputTypeDefaultArgs<ExtArgs>
712
+ }, ExtArgs["result"]["bookmarkCategory"]>
713
+
714
+ export type BookmarkCategorySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
715
+ id?: boolean
716
+ name?: boolean
717
+ icon?: boolean
718
+ sortOrder?: boolean
719
+ isDefault?: boolean
720
+ userId?: boolean
721
+ createdAt?: boolean
722
+ updatedAt?: boolean
723
+ user?: boolean | Prisma.BookmarkCategory$userArgs<ExtArgs>
724
+ }, ExtArgs["result"]["bookmarkCategory"]>
725
+
726
+ export type BookmarkCategorySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
727
+ id?: boolean
728
+ name?: boolean
729
+ icon?: boolean
730
+ sortOrder?: boolean
731
+ isDefault?: boolean
732
+ userId?: boolean
733
+ createdAt?: boolean
734
+ updatedAt?: boolean
735
+ user?: boolean | Prisma.BookmarkCategory$userArgs<ExtArgs>
736
+ }, ExtArgs["result"]["bookmarkCategory"]>
737
+
738
+ export type BookmarkCategorySelectScalar = {
739
+ id?: boolean
740
+ name?: boolean
741
+ icon?: boolean
742
+ sortOrder?: boolean
743
+ isDefault?: boolean
744
+ userId?: boolean
745
+ createdAt?: boolean
746
+ updatedAt?: boolean
747
+ }
748
+
749
+ export type BookmarkCategoryOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "icon" | "sortOrder" | "isDefault" | "userId" | "createdAt" | "updatedAt", ExtArgs["result"]["bookmarkCategory"]>
750
+ export type BookmarkCategoryInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
751
+ user?: boolean | Prisma.BookmarkCategory$userArgs<ExtArgs>
752
+ bookmarks?: boolean | Prisma.BookmarkCategory$bookmarksArgs<ExtArgs>
753
+ _count?: boolean | Prisma.BookmarkCategoryCountOutputTypeDefaultArgs<ExtArgs>
754
+ }
755
+ export type BookmarkCategoryIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
756
+ user?: boolean | Prisma.BookmarkCategory$userArgs<ExtArgs>
757
+ }
758
+ export type BookmarkCategoryIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
759
+ user?: boolean | Prisma.BookmarkCategory$userArgs<ExtArgs>
760
+ }
761
+
762
+ export type $BookmarkCategoryPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
763
+ name: "BookmarkCategory"
764
+ objects: {
765
+ user: Prisma.$UserPayload<ExtArgs> | null
766
+ bookmarks: Prisma.$WebsiteBookmarkPayload<ExtArgs>[]
767
+ }
768
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
769
+ id: string
770
+ name: string
771
+ icon: string
772
+ sortOrder: number
773
+ isDefault: boolean
774
+ userId: string | null
775
+ createdAt: Date
776
+ updatedAt: Date
777
+ }, ExtArgs["result"]["bookmarkCategory"]>
778
+ composites: {}
779
+ }
780
+
781
+ export type BookmarkCategoryGetPayload<S extends boolean | null | undefined | BookmarkCategoryDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$BookmarkCategoryPayload, S>
782
+
783
+ export type BookmarkCategoryCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
784
+ Omit<BookmarkCategoryFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
785
+ select?: BookmarkCategoryCountAggregateInputType | true
786
+ }
787
+
788
+ export interface BookmarkCategoryDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
789
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['BookmarkCategory'], meta: { name: 'BookmarkCategory' } }
790
+ /**
791
+ * Find zero or one BookmarkCategory that matches the filter.
792
+ * @param {BookmarkCategoryFindUniqueArgs} args - Arguments to find a BookmarkCategory
793
+ * @example
794
+ * // Get one BookmarkCategory
795
+ * const bookmarkCategory = await prisma.bookmarkCategory.findUnique({
796
+ * where: {
797
+ * // ... provide filter here
798
+ * }
799
+ * })
800
+ */
801
+ findUnique<T extends BookmarkCategoryFindUniqueArgs>(args: Prisma.SelectSubset<T, BookmarkCategoryFindUniqueArgs<ExtArgs>>): Prisma.Prisma__BookmarkCategoryClient<runtime.Types.Result.GetResult<Prisma.$BookmarkCategoryPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
802
+
803
+ /**
804
+ * Find one BookmarkCategory that matches the filter or throw an error with `error.code='P2025'`
805
+ * if no matches were found.
806
+ * @param {BookmarkCategoryFindUniqueOrThrowArgs} args - Arguments to find a BookmarkCategory
807
+ * @example
808
+ * // Get one BookmarkCategory
809
+ * const bookmarkCategory = await prisma.bookmarkCategory.findUniqueOrThrow({
810
+ * where: {
811
+ * // ... provide filter here
812
+ * }
813
+ * })
814
+ */
815
+ findUniqueOrThrow<T extends BookmarkCategoryFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, BookmarkCategoryFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__BookmarkCategoryClient<runtime.Types.Result.GetResult<Prisma.$BookmarkCategoryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
816
+
817
+ /**
818
+ * Find the first BookmarkCategory that matches the filter.
819
+ * Note, that providing `undefined` is treated as the value not being there.
820
+ * Read more here: https://pris.ly/d/null-undefined
821
+ * @param {BookmarkCategoryFindFirstArgs} args - Arguments to find a BookmarkCategory
822
+ * @example
823
+ * // Get one BookmarkCategory
824
+ * const bookmarkCategory = await prisma.bookmarkCategory.findFirst({
825
+ * where: {
826
+ * // ... provide filter here
827
+ * }
828
+ * })
829
+ */
830
+ findFirst<T extends BookmarkCategoryFindFirstArgs>(args?: Prisma.SelectSubset<T, BookmarkCategoryFindFirstArgs<ExtArgs>>): Prisma.Prisma__BookmarkCategoryClient<runtime.Types.Result.GetResult<Prisma.$BookmarkCategoryPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
831
+
832
+ /**
833
+ * Find the first BookmarkCategory that matches the filter or
834
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
835
+ * Note, that providing `undefined` is treated as the value not being there.
836
+ * Read more here: https://pris.ly/d/null-undefined
837
+ * @param {BookmarkCategoryFindFirstOrThrowArgs} args - Arguments to find a BookmarkCategory
838
+ * @example
839
+ * // Get one BookmarkCategory
840
+ * const bookmarkCategory = await prisma.bookmarkCategory.findFirstOrThrow({
841
+ * where: {
842
+ * // ... provide filter here
843
+ * }
844
+ * })
845
+ */
846
+ findFirstOrThrow<T extends BookmarkCategoryFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, BookmarkCategoryFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__BookmarkCategoryClient<runtime.Types.Result.GetResult<Prisma.$BookmarkCategoryPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
847
+
848
+ /**
849
+ * Find zero or more BookmarkCategories that matches the filter.
850
+ * Note, that providing `undefined` is treated as the value not being there.
851
+ * Read more here: https://pris.ly/d/null-undefined
852
+ * @param {BookmarkCategoryFindManyArgs} args - Arguments to filter and select certain fields only.
853
+ * @example
854
+ * // Get all BookmarkCategories
855
+ * const bookmarkCategories = await prisma.bookmarkCategory.findMany()
856
+ *
857
+ * // Get first 10 BookmarkCategories
858
+ * const bookmarkCategories = await prisma.bookmarkCategory.findMany({ take: 10 })
859
+ *
860
+ * // Only select the `id`
861
+ * const bookmarkCategoryWithIdOnly = await prisma.bookmarkCategory.findMany({ select: { id: true } })
862
+ *
863
+ */
864
+ findMany<T extends BookmarkCategoryFindManyArgs>(args?: Prisma.SelectSubset<T, BookmarkCategoryFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BookmarkCategoryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
865
+
866
+ /**
867
+ * Create a BookmarkCategory.
868
+ * @param {BookmarkCategoryCreateArgs} args - Arguments to create a BookmarkCategory.
869
+ * @example
870
+ * // Create one BookmarkCategory
871
+ * const BookmarkCategory = await prisma.bookmarkCategory.create({
872
+ * data: {
873
+ * // ... data to create a BookmarkCategory
874
+ * }
875
+ * })
876
+ *
877
+ */
878
+ create<T extends BookmarkCategoryCreateArgs>(args: Prisma.SelectSubset<T, BookmarkCategoryCreateArgs<ExtArgs>>): Prisma.Prisma__BookmarkCategoryClient<runtime.Types.Result.GetResult<Prisma.$BookmarkCategoryPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
879
+
880
+ /**
881
+ * Create many BookmarkCategories.
882
+ * @param {BookmarkCategoryCreateManyArgs} args - Arguments to create many BookmarkCategories.
883
+ * @example
884
+ * // Create many BookmarkCategories
885
+ * const bookmarkCategory = await prisma.bookmarkCategory.createMany({
886
+ * data: [
887
+ * // ... provide data here
888
+ * ]
889
+ * })
890
+ *
891
+ */
892
+ createMany<T extends BookmarkCategoryCreateManyArgs>(args?: Prisma.SelectSubset<T, BookmarkCategoryCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
893
+
894
+ /**
895
+ * Create many BookmarkCategories and returns the data saved in the database.
896
+ * @param {BookmarkCategoryCreateManyAndReturnArgs} args - Arguments to create many BookmarkCategories.
897
+ * @example
898
+ * // Create many BookmarkCategories
899
+ * const bookmarkCategory = await prisma.bookmarkCategory.createManyAndReturn({
900
+ * data: [
901
+ * // ... provide data here
902
+ * ]
903
+ * })
904
+ *
905
+ * // Create many BookmarkCategories and only return the `id`
906
+ * const bookmarkCategoryWithIdOnly = await prisma.bookmarkCategory.createManyAndReturn({
907
+ * select: { id: true },
908
+ * data: [
909
+ * // ... provide data here
910
+ * ]
911
+ * })
912
+ * Note, that providing `undefined` is treated as the value not being there.
913
+ * Read more here: https://pris.ly/d/null-undefined
914
+ *
915
+ */
916
+ createManyAndReturn<T extends BookmarkCategoryCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, BookmarkCategoryCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BookmarkCategoryPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
917
+
918
+ /**
919
+ * Delete a BookmarkCategory.
920
+ * @param {BookmarkCategoryDeleteArgs} args - Arguments to delete one BookmarkCategory.
921
+ * @example
922
+ * // Delete one BookmarkCategory
923
+ * const BookmarkCategory = await prisma.bookmarkCategory.delete({
924
+ * where: {
925
+ * // ... filter to delete one BookmarkCategory
926
+ * }
927
+ * })
928
+ *
929
+ */
930
+ delete<T extends BookmarkCategoryDeleteArgs>(args: Prisma.SelectSubset<T, BookmarkCategoryDeleteArgs<ExtArgs>>): Prisma.Prisma__BookmarkCategoryClient<runtime.Types.Result.GetResult<Prisma.$BookmarkCategoryPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
931
+
932
+ /**
933
+ * Update one BookmarkCategory.
934
+ * @param {BookmarkCategoryUpdateArgs} args - Arguments to update one BookmarkCategory.
935
+ * @example
936
+ * // Update one BookmarkCategory
937
+ * const bookmarkCategory = await prisma.bookmarkCategory.update({
938
+ * where: {
939
+ * // ... provide filter here
940
+ * },
941
+ * data: {
942
+ * // ... provide data here
943
+ * }
944
+ * })
945
+ *
946
+ */
947
+ update<T extends BookmarkCategoryUpdateArgs>(args: Prisma.SelectSubset<T, BookmarkCategoryUpdateArgs<ExtArgs>>): Prisma.Prisma__BookmarkCategoryClient<runtime.Types.Result.GetResult<Prisma.$BookmarkCategoryPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
948
+
949
+ /**
950
+ * Delete zero or more BookmarkCategories.
951
+ * @param {BookmarkCategoryDeleteManyArgs} args - Arguments to filter BookmarkCategories to delete.
952
+ * @example
953
+ * // Delete a few BookmarkCategories
954
+ * const { count } = await prisma.bookmarkCategory.deleteMany({
955
+ * where: {
956
+ * // ... provide filter here
957
+ * }
958
+ * })
959
+ *
960
+ */
961
+ deleteMany<T extends BookmarkCategoryDeleteManyArgs>(args?: Prisma.SelectSubset<T, BookmarkCategoryDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
962
+
963
+ /**
964
+ * Update zero or more BookmarkCategories.
965
+ * Note, that providing `undefined` is treated as the value not being there.
966
+ * Read more here: https://pris.ly/d/null-undefined
967
+ * @param {BookmarkCategoryUpdateManyArgs} args - Arguments to update one or more rows.
968
+ * @example
969
+ * // Update many BookmarkCategories
970
+ * const bookmarkCategory = await prisma.bookmarkCategory.updateMany({
971
+ * where: {
972
+ * // ... provide filter here
973
+ * },
974
+ * data: {
975
+ * // ... provide data here
976
+ * }
977
+ * })
978
+ *
979
+ */
980
+ updateMany<T extends BookmarkCategoryUpdateManyArgs>(args: Prisma.SelectSubset<T, BookmarkCategoryUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
981
+
982
+ /**
983
+ * Update zero or more BookmarkCategories and returns the data updated in the database.
984
+ * @param {BookmarkCategoryUpdateManyAndReturnArgs} args - Arguments to update many BookmarkCategories.
985
+ * @example
986
+ * // Update many BookmarkCategories
987
+ * const bookmarkCategory = await prisma.bookmarkCategory.updateManyAndReturn({
988
+ * where: {
989
+ * // ... provide filter here
990
+ * },
991
+ * data: [
992
+ * // ... provide data here
993
+ * ]
994
+ * })
995
+ *
996
+ * // Update zero or more BookmarkCategories and only return the `id`
997
+ * const bookmarkCategoryWithIdOnly = await prisma.bookmarkCategory.updateManyAndReturn({
998
+ * select: { id: true },
999
+ * where: {
1000
+ * // ... provide filter here
1001
+ * },
1002
+ * data: [
1003
+ * // ... provide data here
1004
+ * ]
1005
+ * })
1006
+ * Note, that providing `undefined` is treated as the value not being there.
1007
+ * Read more here: https://pris.ly/d/null-undefined
1008
+ *
1009
+ */
1010
+ updateManyAndReturn<T extends BookmarkCategoryUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, BookmarkCategoryUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$BookmarkCategoryPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
1011
+
1012
+ /**
1013
+ * Create or update one BookmarkCategory.
1014
+ * @param {BookmarkCategoryUpsertArgs} args - Arguments to update or create a BookmarkCategory.
1015
+ * @example
1016
+ * // Update or create a BookmarkCategory
1017
+ * const bookmarkCategory = await prisma.bookmarkCategory.upsert({
1018
+ * create: {
1019
+ * // ... data to create a BookmarkCategory
1020
+ * },
1021
+ * update: {
1022
+ * // ... in case it already exists, update
1023
+ * },
1024
+ * where: {
1025
+ * // ... the filter for the BookmarkCategory we want to update
1026
+ * }
1027
+ * })
1028
+ */
1029
+ upsert<T extends BookmarkCategoryUpsertArgs>(args: Prisma.SelectSubset<T, BookmarkCategoryUpsertArgs<ExtArgs>>): Prisma.Prisma__BookmarkCategoryClient<runtime.Types.Result.GetResult<Prisma.$BookmarkCategoryPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
1030
+
1031
+
1032
+ /**
1033
+ * Count the number of BookmarkCategories.
1034
+ * Note, that providing `undefined` is treated as the value not being there.
1035
+ * Read more here: https://pris.ly/d/null-undefined
1036
+ * @param {BookmarkCategoryCountArgs} args - Arguments to filter BookmarkCategories to count.
1037
+ * @example
1038
+ * // Count the number of BookmarkCategories
1039
+ * const count = await prisma.bookmarkCategory.count({
1040
+ * where: {
1041
+ * // ... the filter for the BookmarkCategories we want to count
1042
+ * }
1043
+ * })
1044
+ **/
1045
+ count<T extends BookmarkCategoryCountArgs>(
1046
+ args?: Prisma.Subset<T, BookmarkCategoryCountArgs>,
1047
+ ): Prisma.PrismaPromise<
1048
+ T extends runtime.Types.Utils.Record<'select', any>
1049
+ ? T['select'] extends true
1050
+ ? number
1051
+ : Prisma.GetScalarType<T['select'], BookmarkCategoryCountAggregateOutputType>
1052
+ : number
1053
+ >
1054
+
1055
+ /**
1056
+ * Allows you to perform aggregations operations on a BookmarkCategory.
1057
+ * Note, that providing `undefined` is treated as the value not being there.
1058
+ * Read more here: https://pris.ly/d/null-undefined
1059
+ * @param {BookmarkCategoryAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1060
+ * @example
1061
+ * // Ordered by age ascending
1062
+ * // Where email contains prisma.io
1063
+ * // Limited to the 10 users
1064
+ * const aggregations = await prisma.user.aggregate({
1065
+ * _avg: {
1066
+ * age: true,
1067
+ * },
1068
+ * where: {
1069
+ * email: {
1070
+ * contains: "prisma.io",
1071
+ * },
1072
+ * },
1073
+ * orderBy: {
1074
+ * age: "asc",
1075
+ * },
1076
+ * take: 10,
1077
+ * })
1078
+ **/
1079
+ aggregate<T extends BookmarkCategoryAggregateArgs>(args: Prisma.Subset<T, BookmarkCategoryAggregateArgs>): Prisma.PrismaPromise<GetBookmarkCategoryAggregateType<T>>
1080
+
1081
+ /**
1082
+ * Group by BookmarkCategory.
1083
+ * Note, that providing `undefined` is treated as the value not being there.
1084
+ * Read more here: https://pris.ly/d/null-undefined
1085
+ * @param {BookmarkCategoryGroupByArgs} args - Group by arguments.
1086
+ * @example
1087
+ * // Group by city, order by createdAt, get count
1088
+ * const result = await prisma.user.groupBy({
1089
+ * by: ['city', 'createdAt'],
1090
+ * orderBy: {
1091
+ * createdAt: true
1092
+ * },
1093
+ * _count: {
1094
+ * _all: true
1095
+ * },
1096
+ * })
1097
+ *
1098
+ **/
1099
+ groupBy<
1100
+ T extends BookmarkCategoryGroupByArgs,
1101
+ HasSelectOrTake extends Prisma.Or<
1102
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
1103
+ Prisma.Extends<'take', Prisma.Keys<T>>
1104
+ >,
1105
+ OrderByArg extends Prisma.True extends HasSelectOrTake
1106
+ ? { orderBy: BookmarkCategoryGroupByArgs['orderBy'] }
1107
+ : { orderBy?: BookmarkCategoryGroupByArgs['orderBy'] },
1108
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
1109
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
1110
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
1111
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
1112
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
1113
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
1114
+ InputErrors extends ByEmpty extends Prisma.True
1115
+ ? `Error: "by" must not be empty.`
1116
+ : HavingValid extends Prisma.False
1117
+ ? {
1118
+ [P in HavingFields]: P extends ByFields
1119
+ ? never
1120
+ : P extends string
1121
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
1122
+ : [
1123
+ Error,
1124
+ 'Field ',
1125
+ P,
1126
+ ` in "having" needs to be provided in "by"`,
1127
+ ]
1128
+ }[HavingFields]
1129
+ : 'take' extends Prisma.Keys<T>
1130
+ ? 'orderBy' extends Prisma.Keys<T>
1131
+ ? ByValid extends Prisma.True
1132
+ ? {}
1133
+ : {
1134
+ [P in OrderFields]: P extends ByFields
1135
+ ? never
1136
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1137
+ }[OrderFields]
1138
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
1139
+ : 'skip' extends Prisma.Keys<T>
1140
+ ? 'orderBy' extends Prisma.Keys<T>
1141
+ ? ByValid extends Prisma.True
1142
+ ? {}
1143
+ : {
1144
+ [P in OrderFields]: P extends ByFields
1145
+ ? never
1146
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1147
+ }[OrderFields]
1148
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
1149
+ : ByValid extends Prisma.True
1150
+ ? {}
1151
+ : {
1152
+ [P in OrderFields]: P extends ByFields
1153
+ ? never
1154
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
1155
+ }[OrderFields]
1156
+ >(args: Prisma.SubsetIntersection<T, BookmarkCategoryGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetBookmarkCategoryGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
1157
+ /**
1158
+ * Fields of the BookmarkCategory model
1159
+ */
1160
+ readonly fields: BookmarkCategoryFieldRefs;
1161
+ }
1162
+
1163
+ /**
1164
+ * The delegate class that acts as a "Promise-like" for BookmarkCategory.
1165
+ * Why is this prefixed with `Prisma__`?
1166
+ * Because we want to prevent naming conflicts as mentioned in
1167
+ * https://github.com/prisma/prisma-client-js/issues/707
1168
+ */
1169
+ export interface Prisma__BookmarkCategoryClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1170
+ readonly [Symbol.toStringTag]: "PrismaPromise"
1171
+ user<T extends Prisma.BookmarkCategory$userArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BookmarkCategory$userArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
1172
+ bookmarks<T extends Prisma.BookmarkCategory$bookmarksArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.BookmarkCategory$bookmarksArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$WebsiteBookmarkPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
1173
+ /**
1174
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1175
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1176
+ * @param onrejected The callback to execute when the Promise is rejected.
1177
+ * @returns A Promise for the completion of which ever callback is executed.
1178
+ */
1179
+ 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>
1180
+ /**
1181
+ * Attaches a callback for only the rejection of the Promise.
1182
+ * @param onrejected The callback to execute when the Promise is rejected.
1183
+ * @returns A Promise for the completion of the callback.
1184
+ */
1185
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
1186
+ /**
1187
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1188
+ * resolved value cannot be modified from the callback.
1189
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1190
+ * @returns A Promise for the completion of the callback.
1191
+ */
1192
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
1193
+ }
1194
+
1195
+
1196
+
1197
+
1198
+ /**
1199
+ * Fields of the BookmarkCategory model
1200
+ */
1201
+ export interface BookmarkCategoryFieldRefs {
1202
+ readonly id: Prisma.FieldRef<"BookmarkCategory", 'String'>
1203
+ readonly name: Prisma.FieldRef<"BookmarkCategory", 'String'>
1204
+ readonly icon: Prisma.FieldRef<"BookmarkCategory", 'String'>
1205
+ readonly sortOrder: Prisma.FieldRef<"BookmarkCategory", 'Int'>
1206
+ readonly isDefault: Prisma.FieldRef<"BookmarkCategory", 'Boolean'>
1207
+ readonly userId: Prisma.FieldRef<"BookmarkCategory", 'String'>
1208
+ readonly createdAt: Prisma.FieldRef<"BookmarkCategory", 'DateTime'>
1209
+ readonly updatedAt: Prisma.FieldRef<"BookmarkCategory", 'DateTime'>
1210
+ }
1211
+
1212
+
1213
+ // Custom InputTypes
1214
+ /**
1215
+ * BookmarkCategory findUnique
1216
+ */
1217
+ export type BookmarkCategoryFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1218
+ /**
1219
+ * Select specific fields to fetch from the BookmarkCategory
1220
+ */
1221
+ select?: Prisma.BookmarkCategorySelect<ExtArgs> | null
1222
+ /**
1223
+ * Omit specific fields from the BookmarkCategory
1224
+ */
1225
+ omit?: Prisma.BookmarkCategoryOmit<ExtArgs> | null
1226
+ /**
1227
+ * Choose, which related nodes to fetch as well
1228
+ */
1229
+ include?: Prisma.BookmarkCategoryInclude<ExtArgs> | null
1230
+ /**
1231
+ * Filter, which BookmarkCategory to fetch.
1232
+ */
1233
+ where: Prisma.BookmarkCategoryWhereUniqueInput
1234
+ }
1235
+
1236
+ /**
1237
+ * BookmarkCategory findUniqueOrThrow
1238
+ */
1239
+ export type BookmarkCategoryFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1240
+ /**
1241
+ * Select specific fields to fetch from the BookmarkCategory
1242
+ */
1243
+ select?: Prisma.BookmarkCategorySelect<ExtArgs> | null
1244
+ /**
1245
+ * Omit specific fields from the BookmarkCategory
1246
+ */
1247
+ omit?: Prisma.BookmarkCategoryOmit<ExtArgs> | null
1248
+ /**
1249
+ * Choose, which related nodes to fetch as well
1250
+ */
1251
+ include?: Prisma.BookmarkCategoryInclude<ExtArgs> | null
1252
+ /**
1253
+ * Filter, which BookmarkCategory to fetch.
1254
+ */
1255
+ where: Prisma.BookmarkCategoryWhereUniqueInput
1256
+ }
1257
+
1258
+ /**
1259
+ * BookmarkCategory findFirst
1260
+ */
1261
+ export type BookmarkCategoryFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1262
+ /**
1263
+ * Select specific fields to fetch from the BookmarkCategory
1264
+ */
1265
+ select?: Prisma.BookmarkCategorySelect<ExtArgs> | null
1266
+ /**
1267
+ * Omit specific fields from the BookmarkCategory
1268
+ */
1269
+ omit?: Prisma.BookmarkCategoryOmit<ExtArgs> | null
1270
+ /**
1271
+ * Choose, which related nodes to fetch as well
1272
+ */
1273
+ include?: Prisma.BookmarkCategoryInclude<ExtArgs> | null
1274
+ /**
1275
+ * Filter, which BookmarkCategory to fetch.
1276
+ */
1277
+ where?: Prisma.BookmarkCategoryWhereInput
1278
+ /**
1279
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1280
+ *
1281
+ * Determine the order of BookmarkCategories to fetch.
1282
+ */
1283
+ orderBy?: Prisma.BookmarkCategoryOrderByWithRelationInput | Prisma.BookmarkCategoryOrderByWithRelationInput[]
1284
+ /**
1285
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1286
+ *
1287
+ * Sets the position for searching for BookmarkCategories.
1288
+ */
1289
+ cursor?: Prisma.BookmarkCategoryWhereUniqueInput
1290
+ /**
1291
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1292
+ *
1293
+ * Take `±n` BookmarkCategories from the position of the cursor.
1294
+ */
1295
+ take?: number
1296
+ /**
1297
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1298
+ *
1299
+ * Skip the first `n` BookmarkCategories.
1300
+ */
1301
+ skip?: number
1302
+ /**
1303
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1304
+ *
1305
+ * Filter by unique combinations of BookmarkCategories.
1306
+ */
1307
+ distinct?: Prisma.BookmarkCategoryScalarFieldEnum | Prisma.BookmarkCategoryScalarFieldEnum[]
1308
+ }
1309
+
1310
+ /**
1311
+ * BookmarkCategory findFirstOrThrow
1312
+ */
1313
+ export type BookmarkCategoryFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1314
+ /**
1315
+ * Select specific fields to fetch from the BookmarkCategory
1316
+ */
1317
+ select?: Prisma.BookmarkCategorySelect<ExtArgs> | null
1318
+ /**
1319
+ * Omit specific fields from the BookmarkCategory
1320
+ */
1321
+ omit?: Prisma.BookmarkCategoryOmit<ExtArgs> | null
1322
+ /**
1323
+ * Choose, which related nodes to fetch as well
1324
+ */
1325
+ include?: Prisma.BookmarkCategoryInclude<ExtArgs> | null
1326
+ /**
1327
+ * Filter, which BookmarkCategory to fetch.
1328
+ */
1329
+ where?: Prisma.BookmarkCategoryWhereInput
1330
+ /**
1331
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1332
+ *
1333
+ * Determine the order of BookmarkCategories to fetch.
1334
+ */
1335
+ orderBy?: Prisma.BookmarkCategoryOrderByWithRelationInput | Prisma.BookmarkCategoryOrderByWithRelationInput[]
1336
+ /**
1337
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1338
+ *
1339
+ * Sets the position for searching for BookmarkCategories.
1340
+ */
1341
+ cursor?: Prisma.BookmarkCategoryWhereUniqueInput
1342
+ /**
1343
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1344
+ *
1345
+ * Take `±n` BookmarkCategories from the position of the cursor.
1346
+ */
1347
+ take?: number
1348
+ /**
1349
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1350
+ *
1351
+ * Skip the first `n` BookmarkCategories.
1352
+ */
1353
+ skip?: number
1354
+ /**
1355
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1356
+ *
1357
+ * Filter by unique combinations of BookmarkCategories.
1358
+ */
1359
+ distinct?: Prisma.BookmarkCategoryScalarFieldEnum | Prisma.BookmarkCategoryScalarFieldEnum[]
1360
+ }
1361
+
1362
+ /**
1363
+ * BookmarkCategory findMany
1364
+ */
1365
+ export type BookmarkCategoryFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1366
+ /**
1367
+ * Select specific fields to fetch from the BookmarkCategory
1368
+ */
1369
+ select?: Prisma.BookmarkCategorySelect<ExtArgs> | null
1370
+ /**
1371
+ * Omit specific fields from the BookmarkCategory
1372
+ */
1373
+ omit?: Prisma.BookmarkCategoryOmit<ExtArgs> | null
1374
+ /**
1375
+ * Choose, which related nodes to fetch as well
1376
+ */
1377
+ include?: Prisma.BookmarkCategoryInclude<ExtArgs> | null
1378
+ /**
1379
+ * Filter, which BookmarkCategories to fetch.
1380
+ */
1381
+ where?: Prisma.BookmarkCategoryWhereInput
1382
+ /**
1383
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1384
+ *
1385
+ * Determine the order of BookmarkCategories to fetch.
1386
+ */
1387
+ orderBy?: Prisma.BookmarkCategoryOrderByWithRelationInput | Prisma.BookmarkCategoryOrderByWithRelationInput[]
1388
+ /**
1389
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1390
+ *
1391
+ * Sets the position for listing BookmarkCategories.
1392
+ */
1393
+ cursor?: Prisma.BookmarkCategoryWhereUniqueInput
1394
+ /**
1395
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1396
+ *
1397
+ * Take `±n` BookmarkCategories from the position of the cursor.
1398
+ */
1399
+ take?: number
1400
+ /**
1401
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1402
+ *
1403
+ * Skip the first `n` BookmarkCategories.
1404
+ */
1405
+ skip?: number
1406
+ /**
1407
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1408
+ *
1409
+ * Filter by unique combinations of BookmarkCategories.
1410
+ */
1411
+ distinct?: Prisma.BookmarkCategoryScalarFieldEnum | Prisma.BookmarkCategoryScalarFieldEnum[]
1412
+ }
1413
+
1414
+ /**
1415
+ * BookmarkCategory create
1416
+ */
1417
+ export type BookmarkCategoryCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1418
+ /**
1419
+ * Select specific fields to fetch from the BookmarkCategory
1420
+ */
1421
+ select?: Prisma.BookmarkCategorySelect<ExtArgs> | null
1422
+ /**
1423
+ * Omit specific fields from the BookmarkCategory
1424
+ */
1425
+ omit?: Prisma.BookmarkCategoryOmit<ExtArgs> | null
1426
+ /**
1427
+ * Choose, which related nodes to fetch as well
1428
+ */
1429
+ include?: Prisma.BookmarkCategoryInclude<ExtArgs> | null
1430
+ /**
1431
+ * The data needed to create a BookmarkCategory.
1432
+ */
1433
+ data: Prisma.XOR<Prisma.BookmarkCategoryCreateInput, Prisma.BookmarkCategoryUncheckedCreateInput>
1434
+ }
1435
+
1436
+ /**
1437
+ * BookmarkCategory createMany
1438
+ */
1439
+ export type BookmarkCategoryCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1440
+ /**
1441
+ * The data used to create many BookmarkCategories.
1442
+ */
1443
+ data: Prisma.BookmarkCategoryCreateManyInput | Prisma.BookmarkCategoryCreateManyInput[]
1444
+ }
1445
+
1446
+ /**
1447
+ * BookmarkCategory createManyAndReturn
1448
+ */
1449
+ export type BookmarkCategoryCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1450
+ /**
1451
+ * Select specific fields to fetch from the BookmarkCategory
1452
+ */
1453
+ select?: Prisma.BookmarkCategorySelectCreateManyAndReturn<ExtArgs> | null
1454
+ /**
1455
+ * Omit specific fields from the BookmarkCategory
1456
+ */
1457
+ omit?: Prisma.BookmarkCategoryOmit<ExtArgs> | null
1458
+ /**
1459
+ * The data used to create many BookmarkCategories.
1460
+ */
1461
+ data: Prisma.BookmarkCategoryCreateManyInput | Prisma.BookmarkCategoryCreateManyInput[]
1462
+ /**
1463
+ * Choose, which related nodes to fetch as well
1464
+ */
1465
+ include?: Prisma.BookmarkCategoryIncludeCreateManyAndReturn<ExtArgs> | null
1466
+ }
1467
+
1468
+ /**
1469
+ * BookmarkCategory update
1470
+ */
1471
+ export type BookmarkCategoryUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1472
+ /**
1473
+ * Select specific fields to fetch from the BookmarkCategory
1474
+ */
1475
+ select?: Prisma.BookmarkCategorySelect<ExtArgs> | null
1476
+ /**
1477
+ * Omit specific fields from the BookmarkCategory
1478
+ */
1479
+ omit?: Prisma.BookmarkCategoryOmit<ExtArgs> | null
1480
+ /**
1481
+ * Choose, which related nodes to fetch as well
1482
+ */
1483
+ include?: Prisma.BookmarkCategoryInclude<ExtArgs> | null
1484
+ /**
1485
+ * The data needed to update a BookmarkCategory.
1486
+ */
1487
+ data: Prisma.XOR<Prisma.BookmarkCategoryUpdateInput, Prisma.BookmarkCategoryUncheckedUpdateInput>
1488
+ /**
1489
+ * Choose, which BookmarkCategory to update.
1490
+ */
1491
+ where: Prisma.BookmarkCategoryWhereUniqueInput
1492
+ }
1493
+
1494
+ /**
1495
+ * BookmarkCategory updateMany
1496
+ */
1497
+ export type BookmarkCategoryUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1498
+ /**
1499
+ * The data used to update BookmarkCategories.
1500
+ */
1501
+ data: Prisma.XOR<Prisma.BookmarkCategoryUpdateManyMutationInput, Prisma.BookmarkCategoryUncheckedUpdateManyInput>
1502
+ /**
1503
+ * Filter which BookmarkCategories to update
1504
+ */
1505
+ where?: Prisma.BookmarkCategoryWhereInput
1506
+ /**
1507
+ * Limit how many BookmarkCategories to update.
1508
+ */
1509
+ limit?: number
1510
+ }
1511
+
1512
+ /**
1513
+ * BookmarkCategory updateManyAndReturn
1514
+ */
1515
+ export type BookmarkCategoryUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1516
+ /**
1517
+ * Select specific fields to fetch from the BookmarkCategory
1518
+ */
1519
+ select?: Prisma.BookmarkCategorySelectUpdateManyAndReturn<ExtArgs> | null
1520
+ /**
1521
+ * Omit specific fields from the BookmarkCategory
1522
+ */
1523
+ omit?: Prisma.BookmarkCategoryOmit<ExtArgs> | null
1524
+ /**
1525
+ * The data used to update BookmarkCategories.
1526
+ */
1527
+ data: Prisma.XOR<Prisma.BookmarkCategoryUpdateManyMutationInput, Prisma.BookmarkCategoryUncheckedUpdateManyInput>
1528
+ /**
1529
+ * Filter which BookmarkCategories to update
1530
+ */
1531
+ where?: Prisma.BookmarkCategoryWhereInput
1532
+ /**
1533
+ * Limit how many BookmarkCategories to update.
1534
+ */
1535
+ limit?: number
1536
+ /**
1537
+ * Choose, which related nodes to fetch as well
1538
+ */
1539
+ include?: Prisma.BookmarkCategoryIncludeUpdateManyAndReturn<ExtArgs> | null
1540
+ }
1541
+
1542
+ /**
1543
+ * BookmarkCategory upsert
1544
+ */
1545
+ export type BookmarkCategoryUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1546
+ /**
1547
+ * Select specific fields to fetch from the BookmarkCategory
1548
+ */
1549
+ select?: Prisma.BookmarkCategorySelect<ExtArgs> | null
1550
+ /**
1551
+ * Omit specific fields from the BookmarkCategory
1552
+ */
1553
+ omit?: Prisma.BookmarkCategoryOmit<ExtArgs> | null
1554
+ /**
1555
+ * Choose, which related nodes to fetch as well
1556
+ */
1557
+ include?: Prisma.BookmarkCategoryInclude<ExtArgs> | null
1558
+ /**
1559
+ * The filter to search for the BookmarkCategory to update in case it exists.
1560
+ */
1561
+ where: Prisma.BookmarkCategoryWhereUniqueInput
1562
+ /**
1563
+ * In case the BookmarkCategory found by the `where` argument doesn't exist, create a new BookmarkCategory with this data.
1564
+ */
1565
+ create: Prisma.XOR<Prisma.BookmarkCategoryCreateInput, Prisma.BookmarkCategoryUncheckedCreateInput>
1566
+ /**
1567
+ * In case the BookmarkCategory was found with the provided `where` argument, update it with this data.
1568
+ */
1569
+ update: Prisma.XOR<Prisma.BookmarkCategoryUpdateInput, Prisma.BookmarkCategoryUncheckedUpdateInput>
1570
+ }
1571
+
1572
+ /**
1573
+ * BookmarkCategory delete
1574
+ */
1575
+ export type BookmarkCategoryDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1576
+ /**
1577
+ * Select specific fields to fetch from the BookmarkCategory
1578
+ */
1579
+ select?: Prisma.BookmarkCategorySelect<ExtArgs> | null
1580
+ /**
1581
+ * Omit specific fields from the BookmarkCategory
1582
+ */
1583
+ omit?: Prisma.BookmarkCategoryOmit<ExtArgs> | null
1584
+ /**
1585
+ * Choose, which related nodes to fetch as well
1586
+ */
1587
+ include?: Prisma.BookmarkCategoryInclude<ExtArgs> | null
1588
+ /**
1589
+ * Filter which BookmarkCategory to delete.
1590
+ */
1591
+ where: Prisma.BookmarkCategoryWhereUniqueInput
1592
+ }
1593
+
1594
+ /**
1595
+ * BookmarkCategory deleteMany
1596
+ */
1597
+ export type BookmarkCategoryDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1598
+ /**
1599
+ * Filter which BookmarkCategories to delete
1600
+ */
1601
+ where?: Prisma.BookmarkCategoryWhereInput
1602
+ /**
1603
+ * Limit how many BookmarkCategories to delete.
1604
+ */
1605
+ limit?: number
1606
+ }
1607
+
1608
+ /**
1609
+ * BookmarkCategory.user
1610
+ */
1611
+ export type BookmarkCategory$userArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1612
+ /**
1613
+ * Select specific fields to fetch from the User
1614
+ */
1615
+ select?: Prisma.UserSelect<ExtArgs> | null
1616
+ /**
1617
+ * Omit specific fields from the User
1618
+ */
1619
+ omit?: Prisma.UserOmit<ExtArgs> | null
1620
+ /**
1621
+ * Choose, which related nodes to fetch as well
1622
+ */
1623
+ include?: Prisma.UserInclude<ExtArgs> | null
1624
+ where?: Prisma.UserWhereInput
1625
+ }
1626
+
1627
+ /**
1628
+ * BookmarkCategory.bookmarks
1629
+ */
1630
+ export type BookmarkCategory$bookmarksArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1631
+ /**
1632
+ * Select specific fields to fetch from the WebsiteBookmark
1633
+ */
1634
+ select?: Prisma.WebsiteBookmarkSelect<ExtArgs> | null
1635
+ /**
1636
+ * Omit specific fields from the WebsiteBookmark
1637
+ */
1638
+ omit?: Prisma.WebsiteBookmarkOmit<ExtArgs> | null
1639
+ /**
1640
+ * Choose, which related nodes to fetch as well
1641
+ */
1642
+ include?: Prisma.WebsiteBookmarkInclude<ExtArgs> | null
1643
+ where?: Prisma.WebsiteBookmarkWhereInput
1644
+ orderBy?: Prisma.WebsiteBookmarkOrderByWithRelationInput | Prisma.WebsiteBookmarkOrderByWithRelationInput[]
1645
+ cursor?: Prisma.WebsiteBookmarkWhereUniqueInput
1646
+ take?: number
1647
+ skip?: number
1648
+ distinct?: Prisma.WebsiteBookmarkScalarFieldEnum | Prisma.WebsiteBookmarkScalarFieldEnum[]
1649
+ }
1650
+
1651
+ /**
1652
+ * BookmarkCategory without action
1653
+ */
1654
+ export type BookmarkCategoryDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1655
+ /**
1656
+ * Select specific fields to fetch from the BookmarkCategory
1657
+ */
1658
+ select?: Prisma.BookmarkCategorySelect<ExtArgs> | null
1659
+ /**
1660
+ * Omit specific fields from the BookmarkCategory
1661
+ */
1662
+ omit?: Prisma.BookmarkCategoryOmit<ExtArgs> | null
1663
+ /**
1664
+ * Choose, which related nodes to fetch as well
1665
+ */
1666
+ include?: Prisma.BookmarkCategoryInclude<ExtArgs> | null
1667
+ }