@igstack/app-catalog-backend-core 6.10.2 → 6.11.0

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 (104) hide show
  1. package/dist/db/syncAppCatalog.mjs +1 -1
  2. package/dist/generated/prisma/client.d.mts +1 -1
  3. package/dist/generated/prisma/client.mjs.map +1 -1
  4. package/dist/generated/prisma/commonInputTypes.d.mts +33 -3
  5. package/dist/generated/prisma/commonInputTypes.d.mts.map +1 -1
  6. package/dist/generated/prisma/enums.d.mts +6 -1
  7. package/dist/generated/prisma/enums.d.mts.map +1 -1
  8. package/dist/generated/prisma/internal/class.d.mts +84 -0
  9. package/dist/generated/prisma/internal/class.d.mts.map +1 -1
  10. package/dist/generated/prisma/internal/class.mjs +4 -4
  11. package/dist/generated/prisma/internal/class.mjs.map +1 -1
  12. package/dist/generated/prisma/internal/prismaNamespace.d.mts +617 -4
  13. package/dist/generated/prisma/internal/prismaNamespace.d.mts.map +1 -1
  14. package/dist/generated/prisma/models/DbCommunityTool.d.mts +2852 -0
  15. package/dist/generated/prisma/models/DbCommunityTool.d.mts.map +1 -0
  16. package/dist/generated/prisma/models/DbCommunityToolLike.d.mts +1102 -0
  17. package/dist/generated/prisma/models/DbCommunityToolLike.d.mts.map +1 -0
  18. package/dist/generated/prisma/models/DbCommunityToolNamedOwner.d.mts +1034 -0
  19. package/dist/generated/prisma/models/DbCommunityToolNamedOwner.d.mts.map +1 -0
  20. package/dist/generated/prisma/models/DbCommunityToolOwner.d.mts +1034 -0
  21. package/dist/generated/prisma/models/DbCommunityToolOwner.d.mts.map +1 -0
  22. package/dist/generated/prisma/models/DbCommunityToolPin.d.mts +1110 -0
  23. package/dist/generated/prisma/models/DbCommunityToolPin.d.mts.map +1 -0
  24. package/dist/generated/prisma/models/DbCommunityToolTag.d.mts +1073 -0
  25. package/dist/generated/prisma/models/DbCommunityToolTag.d.mts.map +1 -0
  26. package/dist/generated/prisma/models/DbCommunityToolView.d.mts +1149 -0
  27. package/dist/generated/prisma/models/DbCommunityToolView.d.mts.map +1 -0
  28. package/dist/generated/prisma/models/DbFeedback.d.mts +361 -2
  29. package/dist/generated/prisma/models/DbFeedback.d.mts.map +1 -1
  30. package/dist/generated/prisma/models.d.mts +9 -2
  31. package/dist/index.d.mts +5 -2
  32. package/dist/index.mjs +3 -1
  33. package/dist/middleware/createAcMiddleware.d.mts.map +1 -1
  34. package/dist/middleware/createAcMiddleware.mjs +15 -1
  35. package/dist/middleware/createAcMiddleware.mjs.map +1 -1
  36. package/dist/middleware/database.d.mts +1 -1
  37. package/dist/middleware/types.d.mts +20 -1
  38. package/dist/middleware/types.d.mts.map +1 -1
  39. package/dist/modules/communityTools/capture.d.mts +27 -0
  40. package/dist/modules/communityTools/capture.d.mts.map +1 -0
  41. package/dist/modules/communityTools/capture.mjs +192 -0
  42. package/dist/modules/communityTools/capture.mjs.map +1 -0
  43. package/dist/modules/communityTools/healthJob.mjs +132 -0
  44. package/dist/modules/communityTools/healthJob.mjs.map +1 -0
  45. package/dist/modules/communityTools/router.d.mts +150 -0
  46. package/dist/modules/communityTools/router.d.mts.map +1 -0
  47. package/dist/modules/communityTools/router.mjs +91 -0
  48. package/dist/modules/communityTools/router.mjs.map +1 -0
  49. package/dist/modules/communityTools/service.mjs +252 -0
  50. package/dist/modules/communityTools/service.mjs.map +1 -0
  51. package/dist/modules/communityTools/toView.mjs +81 -0
  52. package/dist/modules/communityTools/toView.mjs.map +1 -0
  53. package/dist/modules/communityTools/writeService.d.mts +55 -0
  54. package/dist/modules/communityTools/writeService.d.mts.map +1 -0
  55. package/dist/modules/communityTools/writeService.mjs +280 -0
  56. package/dist/modules/communityTools/writeService.mjs.map +1 -0
  57. package/dist/modules/feedback/feedbackRouter.d.mts +3 -0
  58. package/dist/modules/feedback/feedbackRouter.mjs +6 -2
  59. package/dist/modules/feedback/feedbackRouter.mjs.map +1 -1
  60. package/dist/modules/feedback/service.d.mts +3 -0
  61. package/dist/modules/feedback/service.d.mts.map +1 -1
  62. package/dist/modules/feedback/service.mjs +50 -17
  63. package/dist/modules/feedback/service.mjs.map +1 -1
  64. package/dist/server/controller.d.mts +143 -0
  65. package/dist/server/controller.d.mts.map +1 -1
  66. package/dist/server/controller.mjs +2 -0
  67. package/dist/server/controller.mjs.map +1 -1
  68. package/dist/server/trpcSetup.mjs +1 -1
  69. package/package.json +12 -5
  70. package/prisma/schema.prisma +161 -0
  71. package/src/__tests__/communityTools.test.ts +781 -0
  72. package/src/__tests__/communityToolsCapture.test.ts +319 -0
  73. package/src/__tests__/communityToolsHealth.test.ts +154 -0
  74. package/src/__tests__/communityToolsRouter.test.ts +58 -0
  75. package/src/__tests__/communityToolsWrite.test.ts +561 -0
  76. package/src/__tests__/feedbackService.test.ts +160 -0
  77. package/src/generated/prisma/browser.ts +35 -0
  78. package/src/generated/prisma/client.ts +35 -0
  79. package/src/generated/prisma/commonInputTypes.ts +34 -0
  80. package/src/generated/prisma/enums.ts +8 -0
  81. package/src/generated/prisma/internal/class.ts +74 -4
  82. package/src/generated/prisma/internal/prismaNamespace.ts +635 -2
  83. package/src/generated/prisma/internal/prismaNamespaceBrowser.ts +95 -1
  84. package/src/generated/prisma/models/DbCommunityTool.ts +3135 -0
  85. package/src/generated/prisma/models/DbCommunityToolLike.ts +1313 -0
  86. package/src/generated/prisma/models/DbCommunityToolNamedOwner.ts +1243 -0
  87. package/src/generated/prisma/models/DbCommunityToolOwner.ts +1243 -0
  88. package/src/generated/prisma/models/DbCommunityToolPin.ts +1325 -0
  89. package/src/generated/prisma/models/DbCommunityToolTag.ts +1283 -0
  90. package/src/generated/prisma/models/DbCommunityToolView.ts +1361 -0
  91. package/src/generated/prisma/models/DbFeedback.ts +379 -1
  92. package/src/generated/prisma/models.ts +7 -0
  93. package/src/index.ts +16 -0
  94. package/src/middleware/createAcMiddleware.ts +20 -0
  95. package/src/middleware/types.ts +21 -0
  96. package/src/modules/communityTools/capture.ts +332 -0
  97. package/src/modules/communityTools/healthJob.ts +191 -0
  98. package/src/modules/communityTools/router.ts +172 -0
  99. package/src/modules/communityTools/service.ts +380 -0
  100. package/src/modules/communityTools/toView.ts +112 -0
  101. package/src/modules/communityTools/writeService.ts +408 -0
  102. package/src/modules/feedback/feedbackRouter.ts +20 -6
  103. package/src/modules/feedback/service.ts +68 -12
  104. package/src/server/controller.ts +8 -1
@@ -0,0 +1,3135 @@
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 `DbCommunityTool` model and its related types.
8
+ *
9
+ * 🟢 You can import this file directly.
10
+ */
11
+
12
+ import type * as PJTG from '../pjtg';
13
+ import type * as runtime from "@prisma/client/runtime/client"
14
+ import type * as $Enums from "../enums"
15
+ import type * as Prisma from "../internal/prismaNamespace"
16
+
17
+ /**
18
+ * Model DbCommunityTool
19
+ * A community-contributed tool or resource shared by catalog users.
20
+ */
21
+ export type DbCommunityToolModel = runtime.Types.Result.DefaultSelection<Prisma.$DbCommunityToolPayload>
22
+
23
+ export type AggregateDbCommunityTool = {
24
+ _count: DbCommunityToolCountAggregateOutputType | null
25
+ _min: DbCommunityToolMinAggregateOutputType | null
26
+ _max: DbCommunityToolMaxAggregateOutputType | null
27
+ }
28
+
29
+ export type DbCommunityToolMinAggregateOutputType = {
30
+ id: string | null
31
+ slug: string | null
32
+ name: string | null
33
+ url: string | null
34
+ host: string | null
35
+ summary: string | null
36
+ descriptionMd: string | null
37
+ addedByUserId: string | null
38
+ addedByName: string | null
39
+ reviewedAt: Date | null
40
+ reviewedByName: string | null
41
+ lastCheckAt: Date | null
42
+ failingSince: Date | null
43
+ archivedAt: Date | null
44
+ archivedReason: string | null
45
+ archivedBy: string | null
46
+ screenshotAssetId: string | null
47
+ faviconAssetId: string | null
48
+ capturedAt: Date | null
49
+ siteUpdatedAt: Date | null
50
+ createdAt: Date | null
51
+ updatedAt: Date | null
52
+ }
53
+
54
+ export type DbCommunityToolMaxAggregateOutputType = {
55
+ id: string | null
56
+ slug: string | null
57
+ name: string | null
58
+ url: string | null
59
+ host: string | null
60
+ summary: string | null
61
+ descriptionMd: string | null
62
+ addedByUserId: string | null
63
+ addedByName: string | null
64
+ reviewedAt: Date | null
65
+ reviewedByName: string | null
66
+ lastCheckAt: Date | null
67
+ failingSince: Date | null
68
+ archivedAt: Date | null
69
+ archivedReason: string | null
70
+ archivedBy: string | null
71
+ screenshotAssetId: string | null
72
+ faviconAssetId: string | null
73
+ capturedAt: Date | null
74
+ siteUpdatedAt: Date | null
75
+ createdAt: Date | null
76
+ updatedAt: Date | null
77
+ }
78
+
79
+ export type DbCommunityToolCountAggregateOutputType = {
80
+ id: number
81
+ slug: number
82
+ name: number
83
+ url: number
84
+ host: number
85
+ summary: number
86
+ descriptionMd: number
87
+ addedByUserId: number
88
+ addedByName: number
89
+ reviewedAt: number
90
+ reviewedByName: number
91
+ lastCheckAt: number
92
+ failingSince: number
93
+ archivedAt: number
94
+ archivedReason: number
95
+ archivedBy: number
96
+ screenshotAssetId: number
97
+ faviconAssetId: number
98
+ capturedAt: number
99
+ siteUpdatedAt: number
100
+ createdAt: number
101
+ updatedAt: number
102
+ _all: number
103
+ }
104
+
105
+
106
+ export type DbCommunityToolMinAggregateInputType = {
107
+ id?: true
108
+ slug?: true
109
+ name?: true
110
+ url?: true
111
+ host?: true
112
+ summary?: true
113
+ descriptionMd?: true
114
+ addedByUserId?: true
115
+ addedByName?: true
116
+ reviewedAt?: true
117
+ reviewedByName?: true
118
+ lastCheckAt?: true
119
+ failingSince?: true
120
+ archivedAt?: true
121
+ archivedReason?: true
122
+ archivedBy?: true
123
+ screenshotAssetId?: true
124
+ faviconAssetId?: true
125
+ capturedAt?: true
126
+ siteUpdatedAt?: true
127
+ createdAt?: true
128
+ updatedAt?: true
129
+ }
130
+
131
+ export type DbCommunityToolMaxAggregateInputType = {
132
+ id?: true
133
+ slug?: true
134
+ name?: true
135
+ url?: true
136
+ host?: true
137
+ summary?: true
138
+ descriptionMd?: true
139
+ addedByUserId?: true
140
+ addedByName?: true
141
+ reviewedAt?: true
142
+ reviewedByName?: true
143
+ lastCheckAt?: true
144
+ failingSince?: true
145
+ archivedAt?: true
146
+ archivedReason?: true
147
+ archivedBy?: true
148
+ screenshotAssetId?: true
149
+ faviconAssetId?: true
150
+ capturedAt?: true
151
+ siteUpdatedAt?: true
152
+ createdAt?: true
153
+ updatedAt?: true
154
+ }
155
+
156
+ export type DbCommunityToolCountAggregateInputType = {
157
+ id?: true
158
+ slug?: true
159
+ name?: true
160
+ url?: true
161
+ host?: true
162
+ summary?: true
163
+ descriptionMd?: true
164
+ addedByUserId?: true
165
+ addedByName?: true
166
+ reviewedAt?: true
167
+ reviewedByName?: true
168
+ lastCheckAt?: true
169
+ failingSince?: true
170
+ archivedAt?: true
171
+ archivedReason?: true
172
+ archivedBy?: true
173
+ screenshotAssetId?: true
174
+ faviconAssetId?: true
175
+ capturedAt?: true
176
+ siteUpdatedAt?: true
177
+ createdAt?: true
178
+ updatedAt?: true
179
+ _all?: true
180
+ }
181
+
182
+ export type DbCommunityToolAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
183
+ /**
184
+ * Filter which DbCommunityTool to aggregate.
185
+ */
186
+ where?: Prisma.DbCommunityToolWhereInput
187
+ /**
188
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
189
+ *
190
+ * Determine the order of DbCommunityTools to fetch.
191
+ */
192
+ orderBy?: Prisma.DbCommunityToolOrderByWithRelationInput | Prisma.DbCommunityToolOrderByWithRelationInput[]
193
+ /**
194
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
195
+ *
196
+ * Sets the start position
197
+ */
198
+ cursor?: Prisma.DbCommunityToolWhereUniqueInput
199
+ /**
200
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
201
+ *
202
+ * Take `±n` DbCommunityTools from the position of the cursor.
203
+ */
204
+ take?: number
205
+ /**
206
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
207
+ *
208
+ * Skip the first `n` DbCommunityTools.
209
+ */
210
+ skip?: number
211
+ /**
212
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
213
+ *
214
+ * Count returned DbCommunityTools
215
+ **/
216
+ _count?: true | DbCommunityToolCountAggregateInputType
217
+ /**
218
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
219
+ *
220
+ * Select which fields to find the minimum value
221
+ **/
222
+ _min?: DbCommunityToolMinAggregateInputType
223
+ /**
224
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
225
+ *
226
+ * Select which fields to find the maximum value
227
+ **/
228
+ _max?: DbCommunityToolMaxAggregateInputType
229
+ }
230
+
231
+ export type GetDbCommunityToolAggregateType<T extends DbCommunityToolAggregateArgs> = {
232
+ [P in keyof T & keyof AggregateDbCommunityTool]: P extends '_count' | 'count'
233
+ ? T[P] extends true
234
+ ? number
235
+ : Prisma.GetScalarType<T[P], AggregateDbCommunityTool[P]>
236
+ : Prisma.GetScalarType<T[P], AggregateDbCommunityTool[P]>
237
+ }
238
+
239
+
240
+
241
+
242
+ export type DbCommunityToolGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
243
+ where?: Prisma.DbCommunityToolWhereInput
244
+ orderBy?: Prisma.DbCommunityToolOrderByWithAggregationInput | Prisma.DbCommunityToolOrderByWithAggregationInput[]
245
+ by: Prisma.DbCommunityToolScalarFieldEnum[] | Prisma.DbCommunityToolScalarFieldEnum
246
+ having?: Prisma.DbCommunityToolScalarWhereWithAggregatesInput
247
+ take?: number
248
+ skip?: number
249
+ _count?: DbCommunityToolCountAggregateInputType | true
250
+ _min?: DbCommunityToolMinAggregateInputType
251
+ _max?: DbCommunityToolMaxAggregateInputType
252
+ }
253
+
254
+ export type DbCommunityToolGroupByOutputType = {
255
+ id: string
256
+ slug: string
257
+ name: string
258
+ url: string
259
+ host: string
260
+ summary: string
261
+ descriptionMd: string
262
+ addedByUserId: string
263
+ addedByName: string
264
+ reviewedAt: Date | null
265
+ reviewedByName: string | null
266
+ lastCheckAt: Date | null
267
+ failingSince: Date | null
268
+ archivedAt: Date | null
269
+ archivedReason: string | null
270
+ archivedBy: string | null
271
+ screenshotAssetId: string | null
272
+ faviconAssetId: string | null
273
+ capturedAt: Date | null
274
+ siteUpdatedAt: Date | null
275
+ createdAt: Date
276
+ updatedAt: Date
277
+ _count: DbCommunityToolCountAggregateOutputType | null
278
+ _min: DbCommunityToolMinAggregateOutputType | null
279
+ _max: DbCommunityToolMaxAggregateOutputType | null
280
+ }
281
+
282
+ type GetDbCommunityToolGroupByPayload<T extends DbCommunityToolGroupByArgs> = Prisma.PrismaPromise<
283
+ Array<
284
+ Prisma.PickEnumerable<DbCommunityToolGroupByOutputType, T['by']> &
285
+ {
286
+ [P in ((keyof T) & (keyof DbCommunityToolGroupByOutputType))]: P extends '_count'
287
+ ? T[P] extends boolean
288
+ ? number
289
+ : Prisma.GetScalarType<T[P], DbCommunityToolGroupByOutputType[P]>
290
+ : Prisma.GetScalarType<T[P], DbCommunityToolGroupByOutputType[P]>
291
+ }
292
+ >
293
+ >
294
+
295
+
296
+
297
+ export type DbCommunityToolWhereInput = {
298
+ AND?: Prisma.DbCommunityToolWhereInput | Prisma.DbCommunityToolWhereInput[]
299
+ OR?: Prisma.DbCommunityToolWhereInput[]
300
+ NOT?: Prisma.DbCommunityToolWhereInput | Prisma.DbCommunityToolWhereInput[]
301
+ id?: Prisma.StringFilter<"DbCommunityTool"> | string
302
+ slug?: Prisma.StringFilter<"DbCommunityTool"> | string
303
+ name?: Prisma.StringFilter<"DbCommunityTool"> | string
304
+ url?: Prisma.StringFilter<"DbCommunityTool"> | string
305
+ host?: Prisma.StringFilter<"DbCommunityTool"> | string
306
+ summary?: Prisma.StringFilter<"DbCommunityTool"> | string
307
+ descriptionMd?: Prisma.StringFilter<"DbCommunityTool"> | string
308
+ addedByUserId?: Prisma.StringFilter<"DbCommunityTool"> | string
309
+ addedByName?: Prisma.StringFilter<"DbCommunityTool"> | string
310
+ reviewedAt?: Prisma.DateTimeNullableFilter<"DbCommunityTool"> | Date | string | null
311
+ reviewedByName?: Prisma.StringNullableFilter<"DbCommunityTool"> | string | null
312
+ lastCheckAt?: Prisma.DateTimeNullableFilter<"DbCommunityTool"> | Date | string | null
313
+ failingSince?: Prisma.DateTimeNullableFilter<"DbCommunityTool"> | Date | string | null
314
+ archivedAt?: Prisma.DateTimeNullableFilter<"DbCommunityTool"> | Date | string | null
315
+ archivedReason?: Prisma.StringNullableFilter<"DbCommunityTool"> | string | null
316
+ archivedBy?: Prisma.StringNullableFilter<"DbCommunityTool"> | string | null
317
+ screenshotAssetId?: Prisma.StringNullableFilter<"DbCommunityTool"> | string | null
318
+ faviconAssetId?: Prisma.StringNullableFilter<"DbCommunityTool"> | string | null
319
+ capturedAt?: Prisma.DateTimeNullableFilter<"DbCommunityTool"> | Date | string | null
320
+ siteUpdatedAt?: Prisma.DateTimeNullableFilter<"DbCommunityTool"> | Date | string | null
321
+ createdAt?: Prisma.DateTimeFilter<"DbCommunityTool"> | Date | string
322
+ updatedAt?: Prisma.DateTimeFilter<"DbCommunityTool"> | Date | string
323
+ owners?: Prisma.DbCommunityToolOwnerListRelationFilter
324
+ namedOwners?: Prisma.DbCommunityToolNamedOwnerListRelationFilter
325
+ tags?: Prisma.DbCommunityToolTagListRelationFilter
326
+ views?: Prisma.DbCommunityToolViewListRelationFilter
327
+ pins?: Prisma.DbCommunityToolPinListRelationFilter
328
+ likes?: Prisma.DbCommunityToolLikeListRelationFilter
329
+ feedback?: Prisma.DbFeedbackListRelationFilter
330
+ }
331
+
332
+ export type DbCommunityToolOrderByWithRelationInput = {
333
+ id?: Prisma.SortOrder
334
+ slug?: Prisma.SortOrder
335
+ name?: Prisma.SortOrder
336
+ url?: Prisma.SortOrder
337
+ host?: Prisma.SortOrder
338
+ summary?: Prisma.SortOrder
339
+ descriptionMd?: Prisma.SortOrder
340
+ addedByUserId?: Prisma.SortOrder
341
+ addedByName?: Prisma.SortOrder
342
+ reviewedAt?: Prisma.SortOrderInput | Prisma.SortOrder
343
+ reviewedByName?: Prisma.SortOrderInput | Prisma.SortOrder
344
+ lastCheckAt?: Prisma.SortOrderInput | Prisma.SortOrder
345
+ failingSince?: Prisma.SortOrderInput | Prisma.SortOrder
346
+ archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
347
+ archivedReason?: Prisma.SortOrderInput | Prisma.SortOrder
348
+ archivedBy?: Prisma.SortOrderInput | Prisma.SortOrder
349
+ screenshotAssetId?: Prisma.SortOrderInput | Prisma.SortOrder
350
+ faviconAssetId?: Prisma.SortOrderInput | Prisma.SortOrder
351
+ capturedAt?: Prisma.SortOrderInput | Prisma.SortOrder
352
+ siteUpdatedAt?: Prisma.SortOrderInput | Prisma.SortOrder
353
+ createdAt?: Prisma.SortOrder
354
+ updatedAt?: Prisma.SortOrder
355
+ owners?: Prisma.DbCommunityToolOwnerOrderByRelationAggregateInput
356
+ namedOwners?: Prisma.DbCommunityToolNamedOwnerOrderByRelationAggregateInput
357
+ tags?: Prisma.DbCommunityToolTagOrderByRelationAggregateInput
358
+ views?: Prisma.DbCommunityToolViewOrderByRelationAggregateInput
359
+ pins?: Prisma.DbCommunityToolPinOrderByRelationAggregateInput
360
+ likes?: Prisma.DbCommunityToolLikeOrderByRelationAggregateInput
361
+ feedback?: Prisma.DbFeedbackOrderByRelationAggregateInput
362
+ }
363
+
364
+ export type DbCommunityToolWhereUniqueInput = Prisma.AtLeast<{
365
+ id?: string
366
+ slug?: string
367
+ AND?: Prisma.DbCommunityToolWhereInput | Prisma.DbCommunityToolWhereInput[]
368
+ OR?: Prisma.DbCommunityToolWhereInput[]
369
+ NOT?: Prisma.DbCommunityToolWhereInput | Prisma.DbCommunityToolWhereInput[]
370
+ name?: Prisma.StringFilter<"DbCommunityTool"> | string
371
+ url?: Prisma.StringFilter<"DbCommunityTool"> | string
372
+ host?: Prisma.StringFilter<"DbCommunityTool"> | string
373
+ summary?: Prisma.StringFilter<"DbCommunityTool"> | string
374
+ descriptionMd?: Prisma.StringFilter<"DbCommunityTool"> | string
375
+ addedByUserId?: Prisma.StringFilter<"DbCommunityTool"> | string
376
+ addedByName?: Prisma.StringFilter<"DbCommunityTool"> | string
377
+ reviewedAt?: Prisma.DateTimeNullableFilter<"DbCommunityTool"> | Date | string | null
378
+ reviewedByName?: Prisma.StringNullableFilter<"DbCommunityTool"> | string | null
379
+ lastCheckAt?: Prisma.DateTimeNullableFilter<"DbCommunityTool"> | Date | string | null
380
+ failingSince?: Prisma.DateTimeNullableFilter<"DbCommunityTool"> | Date | string | null
381
+ archivedAt?: Prisma.DateTimeNullableFilter<"DbCommunityTool"> | Date | string | null
382
+ archivedReason?: Prisma.StringNullableFilter<"DbCommunityTool"> | string | null
383
+ archivedBy?: Prisma.StringNullableFilter<"DbCommunityTool"> | string | null
384
+ screenshotAssetId?: Prisma.StringNullableFilter<"DbCommunityTool"> | string | null
385
+ faviconAssetId?: Prisma.StringNullableFilter<"DbCommunityTool"> | string | null
386
+ capturedAt?: Prisma.DateTimeNullableFilter<"DbCommunityTool"> | Date | string | null
387
+ siteUpdatedAt?: Prisma.DateTimeNullableFilter<"DbCommunityTool"> | Date | string | null
388
+ createdAt?: Prisma.DateTimeFilter<"DbCommunityTool"> | Date | string
389
+ updatedAt?: Prisma.DateTimeFilter<"DbCommunityTool"> | Date | string
390
+ owners?: Prisma.DbCommunityToolOwnerListRelationFilter
391
+ namedOwners?: Prisma.DbCommunityToolNamedOwnerListRelationFilter
392
+ tags?: Prisma.DbCommunityToolTagListRelationFilter
393
+ views?: Prisma.DbCommunityToolViewListRelationFilter
394
+ pins?: Prisma.DbCommunityToolPinListRelationFilter
395
+ likes?: Prisma.DbCommunityToolLikeListRelationFilter
396
+ feedback?: Prisma.DbFeedbackListRelationFilter
397
+ }, "id" | "slug">
398
+
399
+ export type DbCommunityToolOrderByWithAggregationInput = {
400
+ id?: Prisma.SortOrder
401
+ slug?: Prisma.SortOrder
402
+ name?: Prisma.SortOrder
403
+ url?: Prisma.SortOrder
404
+ host?: Prisma.SortOrder
405
+ summary?: Prisma.SortOrder
406
+ descriptionMd?: Prisma.SortOrder
407
+ addedByUserId?: Prisma.SortOrder
408
+ addedByName?: Prisma.SortOrder
409
+ reviewedAt?: Prisma.SortOrderInput | Prisma.SortOrder
410
+ reviewedByName?: Prisma.SortOrderInput | Prisma.SortOrder
411
+ lastCheckAt?: Prisma.SortOrderInput | Prisma.SortOrder
412
+ failingSince?: Prisma.SortOrderInput | Prisma.SortOrder
413
+ archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder
414
+ archivedReason?: Prisma.SortOrderInput | Prisma.SortOrder
415
+ archivedBy?: Prisma.SortOrderInput | Prisma.SortOrder
416
+ screenshotAssetId?: Prisma.SortOrderInput | Prisma.SortOrder
417
+ faviconAssetId?: Prisma.SortOrderInput | Prisma.SortOrder
418
+ capturedAt?: Prisma.SortOrderInput | Prisma.SortOrder
419
+ siteUpdatedAt?: Prisma.SortOrderInput | Prisma.SortOrder
420
+ createdAt?: Prisma.SortOrder
421
+ updatedAt?: Prisma.SortOrder
422
+ _count?: Prisma.DbCommunityToolCountOrderByAggregateInput
423
+ _max?: Prisma.DbCommunityToolMaxOrderByAggregateInput
424
+ _min?: Prisma.DbCommunityToolMinOrderByAggregateInput
425
+ }
426
+
427
+ export type DbCommunityToolScalarWhereWithAggregatesInput = {
428
+ AND?: Prisma.DbCommunityToolScalarWhereWithAggregatesInput | Prisma.DbCommunityToolScalarWhereWithAggregatesInput[]
429
+ OR?: Prisma.DbCommunityToolScalarWhereWithAggregatesInput[]
430
+ NOT?: Prisma.DbCommunityToolScalarWhereWithAggregatesInput | Prisma.DbCommunityToolScalarWhereWithAggregatesInput[]
431
+ id?: Prisma.StringWithAggregatesFilter<"DbCommunityTool"> | string
432
+ slug?: Prisma.StringWithAggregatesFilter<"DbCommunityTool"> | string
433
+ name?: Prisma.StringWithAggregatesFilter<"DbCommunityTool"> | string
434
+ url?: Prisma.StringWithAggregatesFilter<"DbCommunityTool"> | string
435
+ host?: Prisma.StringWithAggregatesFilter<"DbCommunityTool"> | string
436
+ summary?: Prisma.StringWithAggregatesFilter<"DbCommunityTool"> | string
437
+ descriptionMd?: Prisma.StringWithAggregatesFilter<"DbCommunityTool"> | string
438
+ addedByUserId?: Prisma.StringWithAggregatesFilter<"DbCommunityTool"> | string
439
+ addedByName?: Prisma.StringWithAggregatesFilter<"DbCommunityTool"> | string
440
+ reviewedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"DbCommunityTool"> | Date | string | null
441
+ reviewedByName?: Prisma.StringNullableWithAggregatesFilter<"DbCommunityTool"> | string | null
442
+ lastCheckAt?: Prisma.DateTimeNullableWithAggregatesFilter<"DbCommunityTool"> | Date | string | null
443
+ failingSince?: Prisma.DateTimeNullableWithAggregatesFilter<"DbCommunityTool"> | Date | string | null
444
+ archivedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"DbCommunityTool"> | Date | string | null
445
+ archivedReason?: Prisma.StringNullableWithAggregatesFilter<"DbCommunityTool"> | string | null
446
+ archivedBy?: Prisma.StringNullableWithAggregatesFilter<"DbCommunityTool"> | string | null
447
+ screenshotAssetId?: Prisma.StringNullableWithAggregatesFilter<"DbCommunityTool"> | string | null
448
+ faviconAssetId?: Prisma.StringNullableWithAggregatesFilter<"DbCommunityTool"> | string | null
449
+ capturedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"DbCommunityTool"> | Date | string | null
450
+ siteUpdatedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"DbCommunityTool"> | Date | string | null
451
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"DbCommunityTool"> | Date | string
452
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"DbCommunityTool"> | Date | string
453
+ }
454
+
455
+ export type DbCommunityToolCreateInput = {
456
+ id?: string
457
+ slug: string
458
+ name: string
459
+ url: string
460
+ host: string
461
+ summary: string
462
+ descriptionMd: string
463
+ addedByUserId: string
464
+ addedByName: string
465
+ reviewedAt?: Date | string | null
466
+ reviewedByName?: string | null
467
+ lastCheckAt?: Date | string | null
468
+ failingSince?: Date | string | null
469
+ archivedAt?: Date | string | null
470
+ archivedReason?: string | null
471
+ archivedBy?: string | null
472
+ screenshotAssetId?: string | null
473
+ faviconAssetId?: string | null
474
+ capturedAt?: Date | string | null
475
+ siteUpdatedAt?: Date | string | null
476
+ createdAt?: Date | string
477
+ updatedAt?: Date | string
478
+ owners?: Prisma.DbCommunityToolOwnerCreateNestedManyWithoutToolInput
479
+ namedOwners?: Prisma.DbCommunityToolNamedOwnerCreateNestedManyWithoutToolInput
480
+ tags?: Prisma.DbCommunityToolTagCreateNestedManyWithoutToolInput
481
+ views?: Prisma.DbCommunityToolViewCreateNestedManyWithoutToolInput
482
+ pins?: Prisma.DbCommunityToolPinCreateNestedManyWithoutToolInput
483
+ likes?: Prisma.DbCommunityToolLikeCreateNestedManyWithoutToolInput
484
+ feedback?: Prisma.DbFeedbackCreateNestedManyWithoutCommunityToolInput
485
+ }
486
+
487
+ export type DbCommunityToolUncheckedCreateInput = {
488
+ id?: string
489
+ slug: string
490
+ name: string
491
+ url: string
492
+ host: string
493
+ summary: string
494
+ descriptionMd: string
495
+ addedByUserId: string
496
+ addedByName: string
497
+ reviewedAt?: Date | string | null
498
+ reviewedByName?: string | null
499
+ lastCheckAt?: Date | string | null
500
+ failingSince?: Date | string | null
501
+ archivedAt?: Date | string | null
502
+ archivedReason?: string | null
503
+ archivedBy?: string | null
504
+ screenshotAssetId?: string | null
505
+ faviconAssetId?: string | null
506
+ capturedAt?: Date | string | null
507
+ siteUpdatedAt?: Date | string | null
508
+ createdAt?: Date | string
509
+ updatedAt?: Date | string
510
+ owners?: Prisma.DbCommunityToolOwnerUncheckedCreateNestedManyWithoutToolInput
511
+ namedOwners?: Prisma.DbCommunityToolNamedOwnerUncheckedCreateNestedManyWithoutToolInput
512
+ tags?: Prisma.DbCommunityToolTagUncheckedCreateNestedManyWithoutToolInput
513
+ views?: Prisma.DbCommunityToolViewUncheckedCreateNestedManyWithoutToolInput
514
+ pins?: Prisma.DbCommunityToolPinUncheckedCreateNestedManyWithoutToolInput
515
+ likes?: Prisma.DbCommunityToolLikeUncheckedCreateNestedManyWithoutToolInput
516
+ feedback?: Prisma.DbFeedbackUncheckedCreateNestedManyWithoutCommunityToolInput
517
+ }
518
+
519
+ export type DbCommunityToolUpdateInput = {
520
+ id?: Prisma.StringFieldUpdateOperationsInput | string
521
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
522
+ name?: Prisma.StringFieldUpdateOperationsInput | string
523
+ url?: Prisma.StringFieldUpdateOperationsInput | string
524
+ host?: Prisma.StringFieldUpdateOperationsInput | string
525
+ summary?: Prisma.StringFieldUpdateOperationsInput | string
526
+ descriptionMd?: Prisma.StringFieldUpdateOperationsInput | string
527
+ addedByUserId?: Prisma.StringFieldUpdateOperationsInput | string
528
+ addedByName?: Prisma.StringFieldUpdateOperationsInput | string
529
+ reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
530
+ reviewedByName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
531
+ lastCheckAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
532
+ failingSince?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
533
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
534
+ archivedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
535
+ archivedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
536
+ screenshotAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
537
+ faviconAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
538
+ capturedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
539
+ siteUpdatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
540
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
541
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
542
+ owners?: Prisma.DbCommunityToolOwnerUpdateManyWithoutToolNestedInput
543
+ namedOwners?: Prisma.DbCommunityToolNamedOwnerUpdateManyWithoutToolNestedInput
544
+ tags?: Prisma.DbCommunityToolTagUpdateManyWithoutToolNestedInput
545
+ views?: Prisma.DbCommunityToolViewUpdateManyWithoutToolNestedInput
546
+ pins?: Prisma.DbCommunityToolPinUpdateManyWithoutToolNestedInput
547
+ likes?: Prisma.DbCommunityToolLikeUpdateManyWithoutToolNestedInput
548
+ feedback?: Prisma.DbFeedbackUpdateManyWithoutCommunityToolNestedInput
549
+ }
550
+
551
+ export type DbCommunityToolUncheckedUpdateInput = {
552
+ id?: Prisma.StringFieldUpdateOperationsInput | string
553
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
554
+ name?: Prisma.StringFieldUpdateOperationsInput | string
555
+ url?: Prisma.StringFieldUpdateOperationsInput | string
556
+ host?: Prisma.StringFieldUpdateOperationsInput | string
557
+ summary?: Prisma.StringFieldUpdateOperationsInput | string
558
+ descriptionMd?: Prisma.StringFieldUpdateOperationsInput | string
559
+ addedByUserId?: Prisma.StringFieldUpdateOperationsInput | string
560
+ addedByName?: Prisma.StringFieldUpdateOperationsInput | string
561
+ reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
562
+ reviewedByName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
563
+ lastCheckAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
564
+ failingSince?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
565
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
566
+ archivedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
567
+ archivedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
568
+ screenshotAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
569
+ faviconAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
570
+ capturedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
571
+ siteUpdatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
572
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
573
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
574
+ owners?: Prisma.DbCommunityToolOwnerUncheckedUpdateManyWithoutToolNestedInput
575
+ namedOwners?: Prisma.DbCommunityToolNamedOwnerUncheckedUpdateManyWithoutToolNestedInput
576
+ tags?: Prisma.DbCommunityToolTagUncheckedUpdateManyWithoutToolNestedInput
577
+ views?: Prisma.DbCommunityToolViewUncheckedUpdateManyWithoutToolNestedInput
578
+ pins?: Prisma.DbCommunityToolPinUncheckedUpdateManyWithoutToolNestedInput
579
+ likes?: Prisma.DbCommunityToolLikeUncheckedUpdateManyWithoutToolNestedInput
580
+ feedback?: Prisma.DbFeedbackUncheckedUpdateManyWithoutCommunityToolNestedInput
581
+ }
582
+
583
+ export type DbCommunityToolCreateManyInput = {
584
+ id?: string
585
+ slug: string
586
+ name: string
587
+ url: string
588
+ host: string
589
+ summary: string
590
+ descriptionMd: string
591
+ addedByUserId: string
592
+ addedByName: string
593
+ reviewedAt?: Date | string | null
594
+ reviewedByName?: string | null
595
+ lastCheckAt?: Date | string | null
596
+ failingSince?: Date | string | null
597
+ archivedAt?: Date | string | null
598
+ archivedReason?: string | null
599
+ archivedBy?: string | null
600
+ screenshotAssetId?: string | null
601
+ faviconAssetId?: string | null
602
+ capturedAt?: Date | string | null
603
+ siteUpdatedAt?: Date | string | null
604
+ createdAt?: Date | string
605
+ updatedAt?: Date | string
606
+ }
607
+
608
+ export type DbCommunityToolUpdateManyMutationInput = {
609
+ id?: Prisma.StringFieldUpdateOperationsInput | string
610
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
611
+ name?: Prisma.StringFieldUpdateOperationsInput | string
612
+ url?: Prisma.StringFieldUpdateOperationsInput | string
613
+ host?: Prisma.StringFieldUpdateOperationsInput | string
614
+ summary?: Prisma.StringFieldUpdateOperationsInput | string
615
+ descriptionMd?: Prisma.StringFieldUpdateOperationsInput | string
616
+ addedByUserId?: Prisma.StringFieldUpdateOperationsInput | string
617
+ addedByName?: Prisma.StringFieldUpdateOperationsInput | string
618
+ reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
619
+ reviewedByName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
620
+ lastCheckAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
621
+ failingSince?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
622
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
623
+ archivedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
624
+ archivedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
625
+ screenshotAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
626
+ faviconAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
627
+ capturedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
628
+ siteUpdatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
629
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
630
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
631
+ }
632
+
633
+ export type DbCommunityToolUncheckedUpdateManyInput = {
634
+ id?: Prisma.StringFieldUpdateOperationsInput | string
635
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
636
+ name?: Prisma.StringFieldUpdateOperationsInput | string
637
+ url?: Prisma.StringFieldUpdateOperationsInput | string
638
+ host?: Prisma.StringFieldUpdateOperationsInput | string
639
+ summary?: Prisma.StringFieldUpdateOperationsInput | string
640
+ descriptionMd?: Prisma.StringFieldUpdateOperationsInput | string
641
+ addedByUserId?: Prisma.StringFieldUpdateOperationsInput | string
642
+ addedByName?: Prisma.StringFieldUpdateOperationsInput | string
643
+ reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
644
+ reviewedByName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
645
+ lastCheckAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
646
+ failingSince?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
647
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
648
+ archivedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
649
+ archivedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
650
+ screenshotAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
651
+ faviconAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
652
+ capturedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
653
+ siteUpdatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
654
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
655
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
656
+ }
657
+
658
+ export type DbCommunityToolNullableScalarRelationFilter = {
659
+ is?: Prisma.DbCommunityToolWhereInput | null
660
+ isNot?: Prisma.DbCommunityToolWhereInput | null
661
+ }
662
+
663
+ export type DbCommunityToolCountOrderByAggregateInput = {
664
+ id?: Prisma.SortOrder
665
+ slug?: Prisma.SortOrder
666
+ name?: Prisma.SortOrder
667
+ url?: Prisma.SortOrder
668
+ host?: Prisma.SortOrder
669
+ summary?: Prisma.SortOrder
670
+ descriptionMd?: Prisma.SortOrder
671
+ addedByUserId?: Prisma.SortOrder
672
+ addedByName?: Prisma.SortOrder
673
+ reviewedAt?: Prisma.SortOrder
674
+ reviewedByName?: Prisma.SortOrder
675
+ lastCheckAt?: Prisma.SortOrder
676
+ failingSince?: Prisma.SortOrder
677
+ archivedAt?: Prisma.SortOrder
678
+ archivedReason?: Prisma.SortOrder
679
+ archivedBy?: Prisma.SortOrder
680
+ screenshotAssetId?: Prisma.SortOrder
681
+ faviconAssetId?: Prisma.SortOrder
682
+ capturedAt?: Prisma.SortOrder
683
+ siteUpdatedAt?: Prisma.SortOrder
684
+ createdAt?: Prisma.SortOrder
685
+ updatedAt?: Prisma.SortOrder
686
+ }
687
+
688
+ export type DbCommunityToolMaxOrderByAggregateInput = {
689
+ id?: Prisma.SortOrder
690
+ slug?: Prisma.SortOrder
691
+ name?: Prisma.SortOrder
692
+ url?: Prisma.SortOrder
693
+ host?: Prisma.SortOrder
694
+ summary?: Prisma.SortOrder
695
+ descriptionMd?: Prisma.SortOrder
696
+ addedByUserId?: Prisma.SortOrder
697
+ addedByName?: Prisma.SortOrder
698
+ reviewedAt?: Prisma.SortOrder
699
+ reviewedByName?: Prisma.SortOrder
700
+ lastCheckAt?: Prisma.SortOrder
701
+ failingSince?: Prisma.SortOrder
702
+ archivedAt?: Prisma.SortOrder
703
+ archivedReason?: Prisma.SortOrder
704
+ archivedBy?: Prisma.SortOrder
705
+ screenshotAssetId?: Prisma.SortOrder
706
+ faviconAssetId?: Prisma.SortOrder
707
+ capturedAt?: Prisma.SortOrder
708
+ siteUpdatedAt?: Prisma.SortOrder
709
+ createdAt?: Prisma.SortOrder
710
+ updatedAt?: Prisma.SortOrder
711
+ }
712
+
713
+ export type DbCommunityToolMinOrderByAggregateInput = {
714
+ id?: Prisma.SortOrder
715
+ slug?: Prisma.SortOrder
716
+ name?: Prisma.SortOrder
717
+ url?: Prisma.SortOrder
718
+ host?: Prisma.SortOrder
719
+ summary?: Prisma.SortOrder
720
+ descriptionMd?: Prisma.SortOrder
721
+ addedByUserId?: Prisma.SortOrder
722
+ addedByName?: Prisma.SortOrder
723
+ reviewedAt?: Prisma.SortOrder
724
+ reviewedByName?: Prisma.SortOrder
725
+ lastCheckAt?: Prisma.SortOrder
726
+ failingSince?: Prisma.SortOrder
727
+ archivedAt?: Prisma.SortOrder
728
+ archivedReason?: Prisma.SortOrder
729
+ archivedBy?: Prisma.SortOrder
730
+ screenshotAssetId?: Prisma.SortOrder
731
+ faviconAssetId?: Prisma.SortOrder
732
+ capturedAt?: Prisma.SortOrder
733
+ siteUpdatedAt?: Prisma.SortOrder
734
+ createdAt?: Prisma.SortOrder
735
+ updatedAt?: Prisma.SortOrder
736
+ }
737
+
738
+ export type DbCommunityToolScalarRelationFilter = {
739
+ is?: Prisma.DbCommunityToolWhereInput
740
+ isNot?: Prisma.DbCommunityToolWhereInput
741
+ }
742
+
743
+ export type DbCommunityToolCreateNestedOneWithoutFeedbackInput = {
744
+ create?: Prisma.XOR<Prisma.DbCommunityToolCreateWithoutFeedbackInput, Prisma.DbCommunityToolUncheckedCreateWithoutFeedbackInput>
745
+ connectOrCreate?: Prisma.DbCommunityToolCreateOrConnectWithoutFeedbackInput
746
+ connect?: Prisma.DbCommunityToolWhereUniqueInput
747
+ }
748
+
749
+ export type DbCommunityToolUpdateOneWithoutFeedbackNestedInput = {
750
+ create?: Prisma.XOR<Prisma.DbCommunityToolCreateWithoutFeedbackInput, Prisma.DbCommunityToolUncheckedCreateWithoutFeedbackInput>
751
+ connectOrCreate?: Prisma.DbCommunityToolCreateOrConnectWithoutFeedbackInput
752
+ upsert?: Prisma.DbCommunityToolUpsertWithoutFeedbackInput
753
+ disconnect?: Prisma.DbCommunityToolWhereInput | boolean
754
+ delete?: Prisma.DbCommunityToolWhereInput | boolean
755
+ connect?: Prisma.DbCommunityToolWhereUniqueInput
756
+ update?: Prisma.XOR<Prisma.XOR<Prisma.DbCommunityToolUpdateToOneWithWhereWithoutFeedbackInput, Prisma.DbCommunityToolUpdateWithoutFeedbackInput>, Prisma.DbCommunityToolUncheckedUpdateWithoutFeedbackInput>
757
+ }
758
+
759
+ export type DbCommunityToolCreateNestedOneWithoutOwnersInput = {
760
+ create?: Prisma.XOR<Prisma.DbCommunityToolCreateWithoutOwnersInput, Prisma.DbCommunityToolUncheckedCreateWithoutOwnersInput>
761
+ connectOrCreate?: Prisma.DbCommunityToolCreateOrConnectWithoutOwnersInput
762
+ connect?: Prisma.DbCommunityToolWhereUniqueInput
763
+ }
764
+
765
+ export type DbCommunityToolUpdateOneRequiredWithoutOwnersNestedInput = {
766
+ create?: Prisma.XOR<Prisma.DbCommunityToolCreateWithoutOwnersInput, Prisma.DbCommunityToolUncheckedCreateWithoutOwnersInput>
767
+ connectOrCreate?: Prisma.DbCommunityToolCreateOrConnectWithoutOwnersInput
768
+ upsert?: Prisma.DbCommunityToolUpsertWithoutOwnersInput
769
+ connect?: Prisma.DbCommunityToolWhereUniqueInput
770
+ update?: Prisma.XOR<Prisma.XOR<Prisma.DbCommunityToolUpdateToOneWithWhereWithoutOwnersInput, Prisma.DbCommunityToolUpdateWithoutOwnersInput>, Prisma.DbCommunityToolUncheckedUpdateWithoutOwnersInput>
771
+ }
772
+
773
+ export type DbCommunityToolCreateNestedOneWithoutLikesInput = {
774
+ create?: Prisma.XOR<Prisma.DbCommunityToolCreateWithoutLikesInput, Prisma.DbCommunityToolUncheckedCreateWithoutLikesInput>
775
+ connectOrCreate?: Prisma.DbCommunityToolCreateOrConnectWithoutLikesInput
776
+ connect?: Prisma.DbCommunityToolWhereUniqueInput
777
+ }
778
+
779
+ export type DbCommunityToolUpdateOneRequiredWithoutLikesNestedInput = {
780
+ create?: Prisma.XOR<Prisma.DbCommunityToolCreateWithoutLikesInput, Prisma.DbCommunityToolUncheckedCreateWithoutLikesInput>
781
+ connectOrCreate?: Prisma.DbCommunityToolCreateOrConnectWithoutLikesInput
782
+ upsert?: Prisma.DbCommunityToolUpsertWithoutLikesInput
783
+ connect?: Prisma.DbCommunityToolWhereUniqueInput
784
+ update?: Prisma.XOR<Prisma.XOR<Prisma.DbCommunityToolUpdateToOneWithWhereWithoutLikesInput, Prisma.DbCommunityToolUpdateWithoutLikesInput>, Prisma.DbCommunityToolUncheckedUpdateWithoutLikesInput>
785
+ }
786
+
787
+ export type DbCommunityToolCreateNestedOneWithoutNamedOwnersInput = {
788
+ create?: Prisma.XOR<Prisma.DbCommunityToolCreateWithoutNamedOwnersInput, Prisma.DbCommunityToolUncheckedCreateWithoutNamedOwnersInput>
789
+ connectOrCreate?: Prisma.DbCommunityToolCreateOrConnectWithoutNamedOwnersInput
790
+ connect?: Prisma.DbCommunityToolWhereUniqueInput
791
+ }
792
+
793
+ export type DbCommunityToolUpdateOneRequiredWithoutNamedOwnersNestedInput = {
794
+ create?: Prisma.XOR<Prisma.DbCommunityToolCreateWithoutNamedOwnersInput, Prisma.DbCommunityToolUncheckedCreateWithoutNamedOwnersInput>
795
+ connectOrCreate?: Prisma.DbCommunityToolCreateOrConnectWithoutNamedOwnersInput
796
+ upsert?: Prisma.DbCommunityToolUpsertWithoutNamedOwnersInput
797
+ connect?: Prisma.DbCommunityToolWhereUniqueInput
798
+ update?: Prisma.XOR<Prisma.XOR<Prisma.DbCommunityToolUpdateToOneWithWhereWithoutNamedOwnersInput, Prisma.DbCommunityToolUpdateWithoutNamedOwnersInput>, Prisma.DbCommunityToolUncheckedUpdateWithoutNamedOwnersInput>
799
+ }
800
+
801
+ export type DbCommunityToolCreateNestedOneWithoutTagsInput = {
802
+ create?: Prisma.XOR<Prisma.DbCommunityToolCreateWithoutTagsInput, Prisma.DbCommunityToolUncheckedCreateWithoutTagsInput>
803
+ connectOrCreate?: Prisma.DbCommunityToolCreateOrConnectWithoutTagsInput
804
+ connect?: Prisma.DbCommunityToolWhereUniqueInput
805
+ }
806
+
807
+ export type DbCommunityToolUpdateOneRequiredWithoutTagsNestedInput = {
808
+ create?: Prisma.XOR<Prisma.DbCommunityToolCreateWithoutTagsInput, Prisma.DbCommunityToolUncheckedCreateWithoutTagsInput>
809
+ connectOrCreate?: Prisma.DbCommunityToolCreateOrConnectWithoutTagsInput
810
+ upsert?: Prisma.DbCommunityToolUpsertWithoutTagsInput
811
+ connect?: Prisma.DbCommunityToolWhereUniqueInput
812
+ update?: Prisma.XOR<Prisma.XOR<Prisma.DbCommunityToolUpdateToOneWithWhereWithoutTagsInput, Prisma.DbCommunityToolUpdateWithoutTagsInput>, Prisma.DbCommunityToolUncheckedUpdateWithoutTagsInput>
813
+ }
814
+
815
+ export type DbCommunityToolCreateNestedOneWithoutViewsInput = {
816
+ create?: Prisma.XOR<Prisma.DbCommunityToolCreateWithoutViewsInput, Prisma.DbCommunityToolUncheckedCreateWithoutViewsInput>
817
+ connectOrCreate?: Prisma.DbCommunityToolCreateOrConnectWithoutViewsInput
818
+ connect?: Prisma.DbCommunityToolWhereUniqueInput
819
+ }
820
+
821
+ export type DbCommunityToolUpdateOneRequiredWithoutViewsNestedInput = {
822
+ create?: Prisma.XOR<Prisma.DbCommunityToolCreateWithoutViewsInput, Prisma.DbCommunityToolUncheckedCreateWithoutViewsInput>
823
+ connectOrCreate?: Prisma.DbCommunityToolCreateOrConnectWithoutViewsInput
824
+ upsert?: Prisma.DbCommunityToolUpsertWithoutViewsInput
825
+ connect?: Prisma.DbCommunityToolWhereUniqueInput
826
+ update?: Prisma.XOR<Prisma.XOR<Prisma.DbCommunityToolUpdateToOneWithWhereWithoutViewsInput, Prisma.DbCommunityToolUpdateWithoutViewsInput>, Prisma.DbCommunityToolUncheckedUpdateWithoutViewsInput>
827
+ }
828
+
829
+ export type DbCommunityToolCreateNestedOneWithoutPinsInput = {
830
+ create?: Prisma.XOR<Prisma.DbCommunityToolCreateWithoutPinsInput, Prisma.DbCommunityToolUncheckedCreateWithoutPinsInput>
831
+ connectOrCreate?: Prisma.DbCommunityToolCreateOrConnectWithoutPinsInput
832
+ connect?: Prisma.DbCommunityToolWhereUniqueInput
833
+ }
834
+
835
+ export type DbCommunityToolUpdateOneRequiredWithoutPinsNestedInput = {
836
+ create?: Prisma.XOR<Prisma.DbCommunityToolCreateWithoutPinsInput, Prisma.DbCommunityToolUncheckedCreateWithoutPinsInput>
837
+ connectOrCreate?: Prisma.DbCommunityToolCreateOrConnectWithoutPinsInput
838
+ upsert?: Prisma.DbCommunityToolUpsertWithoutPinsInput
839
+ connect?: Prisma.DbCommunityToolWhereUniqueInput
840
+ update?: Prisma.XOR<Prisma.XOR<Prisma.DbCommunityToolUpdateToOneWithWhereWithoutPinsInput, Prisma.DbCommunityToolUpdateWithoutPinsInput>, Prisma.DbCommunityToolUncheckedUpdateWithoutPinsInput>
841
+ }
842
+
843
+ export type DbCommunityToolCreateWithoutFeedbackInput = {
844
+ id?: string
845
+ slug: string
846
+ name: string
847
+ url: string
848
+ host: string
849
+ summary: string
850
+ descriptionMd: string
851
+ addedByUserId: string
852
+ addedByName: string
853
+ reviewedAt?: Date | string | null
854
+ reviewedByName?: string | null
855
+ lastCheckAt?: Date | string | null
856
+ failingSince?: Date | string | null
857
+ archivedAt?: Date | string | null
858
+ archivedReason?: string | null
859
+ archivedBy?: string | null
860
+ screenshotAssetId?: string | null
861
+ faviconAssetId?: string | null
862
+ capturedAt?: Date | string | null
863
+ siteUpdatedAt?: Date | string | null
864
+ createdAt?: Date | string
865
+ updatedAt?: Date | string
866
+ owners?: Prisma.DbCommunityToolOwnerCreateNestedManyWithoutToolInput
867
+ namedOwners?: Prisma.DbCommunityToolNamedOwnerCreateNestedManyWithoutToolInput
868
+ tags?: Prisma.DbCommunityToolTagCreateNestedManyWithoutToolInput
869
+ views?: Prisma.DbCommunityToolViewCreateNestedManyWithoutToolInput
870
+ pins?: Prisma.DbCommunityToolPinCreateNestedManyWithoutToolInput
871
+ likes?: Prisma.DbCommunityToolLikeCreateNestedManyWithoutToolInput
872
+ }
873
+
874
+ export type DbCommunityToolUncheckedCreateWithoutFeedbackInput = {
875
+ id?: string
876
+ slug: string
877
+ name: string
878
+ url: string
879
+ host: string
880
+ summary: string
881
+ descriptionMd: string
882
+ addedByUserId: string
883
+ addedByName: string
884
+ reviewedAt?: Date | string | null
885
+ reviewedByName?: string | null
886
+ lastCheckAt?: Date | string | null
887
+ failingSince?: Date | string | null
888
+ archivedAt?: Date | string | null
889
+ archivedReason?: string | null
890
+ archivedBy?: string | null
891
+ screenshotAssetId?: string | null
892
+ faviconAssetId?: string | null
893
+ capturedAt?: Date | string | null
894
+ siteUpdatedAt?: Date | string | null
895
+ createdAt?: Date | string
896
+ updatedAt?: Date | string
897
+ owners?: Prisma.DbCommunityToolOwnerUncheckedCreateNestedManyWithoutToolInput
898
+ namedOwners?: Prisma.DbCommunityToolNamedOwnerUncheckedCreateNestedManyWithoutToolInput
899
+ tags?: Prisma.DbCommunityToolTagUncheckedCreateNestedManyWithoutToolInput
900
+ views?: Prisma.DbCommunityToolViewUncheckedCreateNestedManyWithoutToolInput
901
+ pins?: Prisma.DbCommunityToolPinUncheckedCreateNestedManyWithoutToolInput
902
+ likes?: Prisma.DbCommunityToolLikeUncheckedCreateNestedManyWithoutToolInput
903
+ }
904
+
905
+ export type DbCommunityToolCreateOrConnectWithoutFeedbackInput = {
906
+ where: Prisma.DbCommunityToolWhereUniqueInput
907
+ create: Prisma.XOR<Prisma.DbCommunityToolCreateWithoutFeedbackInput, Prisma.DbCommunityToolUncheckedCreateWithoutFeedbackInput>
908
+ }
909
+
910
+ export type DbCommunityToolUpsertWithoutFeedbackInput = {
911
+ update: Prisma.XOR<Prisma.DbCommunityToolUpdateWithoutFeedbackInput, Prisma.DbCommunityToolUncheckedUpdateWithoutFeedbackInput>
912
+ create: Prisma.XOR<Prisma.DbCommunityToolCreateWithoutFeedbackInput, Prisma.DbCommunityToolUncheckedCreateWithoutFeedbackInput>
913
+ where?: Prisma.DbCommunityToolWhereInput
914
+ }
915
+
916
+ export type DbCommunityToolUpdateToOneWithWhereWithoutFeedbackInput = {
917
+ where?: Prisma.DbCommunityToolWhereInput
918
+ data: Prisma.XOR<Prisma.DbCommunityToolUpdateWithoutFeedbackInput, Prisma.DbCommunityToolUncheckedUpdateWithoutFeedbackInput>
919
+ }
920
+
921
+ export type DbCommunityToolUpdateWithoutFeedbackInput = {
922
+ id?: Prisma.StringFieldUpdateOperationsInput | string
923
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
924
+ name?: Prisma.StringFieldUpdateOperationsInput | string
925
+ url?: Prisma.StringFieldUpdateOperationsInput | string
926
+ host?: Prisma.StringFieldUpdateOperationsInput | string
927
+ summary?: Prisma.StringFieldUpdateOperationsInput | string
928
+ descriptionMd?: Prisma.StringFieldUpdateOperationsInput | string
929
+ addedByUserId?: Prisma.StringFieldUpdateOperationsInput | string
930
+ addedByName?: Prisma.StringFieldUpdateOperationsInput | string
931
+ reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
932
+ reviewedByName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
933
+ lastCheckAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
934
+ failingSince?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
935
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
936
+ archivedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
937
+ archivedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
938
+ screenshotAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
939
+ faviconAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
940
+ capturedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
941
+ siteUpdatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
942
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
943
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
944
+ owners?: Prisma.DbCommunityToolOwnerUpdateManyWithoutToolNestedInput
945
+ namedOwners?: Prisma.DbCommunityToolNamedOwnerUpdateManyWithoutToolNestedInput
946
+ tags?: Prisma.DbCommunityToolTagUpdateManyWithoutToolNestedInput
947
+ views?: Prisma.DbCommunityToolViewUpdateManyWithoutToolNestedInput
948
+ pins?: Prisma.DbCommunityToolPinUpdateManyWithoutToolNestedInput
949
+ likes?: Prisma.DbCommunityToolLikeUpdateManyWithoutToolNestedInput
950
+ }
951
+
952
+ export type DbCommunityToolUncheckedUpdateWithoutFeedbackInput = {
953
+ id?: Prisma.StringFieldUpdateOperationsInput | string
954
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
955
+ name?: Prisma.StringFieldUpdateOperationsInput | string
956
+ url?: Prisma.StringFieldUpdateOperationsInput | string
957
+ host?: Prisma.StringFieldUpdateOperationsInput | string
958
+ summary?: Prisma.StringFieldUpdateOperationsInput | string
959
+ descriptionMd?: Prisma.StringFieldUpdateOperationsInput | string
960
+ addedByUserId?: Prisma.StringFieldUpdateOperationsInput | string
961
+ addedByName?: Prisma.StringFieldUpdateOperationsInput | string
962
+ reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
963
+ reviewedByName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
964
+ lastCheckAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
965
+ failingSince?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
966
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
967
+ archivedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
968
+ archivedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
969
+ screenshotAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
970
+ faviconAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
971
+ capturedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
972
+ siteUpdatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
973
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
974
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
975
+ owners?: Prisma.DbCommunityToolOwnerUncheckedUpdateManyWithoutToolNestedInput
976
+ namedOwners?: Prisma.DbCommunityToolNamedOwnerUncheckedUpdateManyWithoutToolNestedInput
977
+ tags?: Prisma.DbCommunityToolTagUncheckedUpdateManyWithoutToolNestedInput
978
+ views?: Prisma.DbCommunityToolViewUncheckedUpdateManyWithoutToolNestedInput
979
+ pins?: Prisma.DbCommunityToolPinUncheckedUpdateManyWithoutToolNestedInput
980
+ likes?: Prisma.DbCommunityToolLikeUncheckedUpdateManyWithoutToolNestedInput
981
+ }
982
+
983
+ export type DbCommunityToolCreateWithoutOwnersInput = {
984
+ id?: string
985
+ slug: string
986
+ name: string
987
+ url: string
988
+ host: string
989
+ summary: string
990
+ descriptionMd: string
991
+ addedByUserId: string
992
+ addedByName: string
993
+ reviewedAt?: Date | string | null
994
+ reviewedByName?: string | null
995
+ lastCheckAt?: Date | string | null
996
+ failingSince?: Date | string | null
997
+ archivedAt?: Date | string | null
998
+ archivedReason?: string | null
999
+ archivedBy?: string | null
1000
+ screenshotAssetId?: string | null
1001
+ faviconAssetId?: string | null
1002
+ capturedAt?: Date | string | null
1003
+ siteUpdatedAt?: Date | string | null
1004
+ createdAt?: Date | string
1005
+ updatedAt?: Date | string
1006
+ namedOwners?: Prisma.DbCommunityToolNamedOwnerCreateNestedManyWithoutToolInput
1007
+ tags?: Prisma.DbCommunityToolTagCreateNestedManyWithoutToolInput
1008
+ views?: Prisma.DbCommunityToolViewCreateNestedManyWithoutToolInput
1009
+ pins?: Prisma.DbCommunityToolPinCreateNestedManyWithoutToolInput
1010
+ likes?: Prisma.DbCommunityToolLikeCreateNestedManyWithoutToolInput
1011
+ feedback?: Prisma.DbFeedbackCreateNestedManyWithoutCommunityToolInput
1012
+ }
1013
+
1014
+ export type DbCommunityToolUncheckedCreateWithoutOwnersInput = {
1015
+ id?: string
1016
+ slug: string
1017
+ name: string
1018
+ url: string
1019
+ host: string
1020
+ summary: string
1021
+ descriptionMd: string
1022
+ addedByUserId: string
1023
+ addedByName: string
1024
+ reviewedAt?: Date | string | null
1025
+ reviewedByName?: string | null
1026
+ lastCheckAt?: Date | string | null
1027
+ failingSince?: Date | string | null
1028
+ archivedAt?: Date | string | null
1029
+ archivedReason?: string | null
1030
+ archivedBy?: string | null
1031
+ screenshotAssetId?: string | null
1032
+ faviconAssetId?: string | null
1033
+ capturedAt?: Date | string | null
1034
+ siteUpdatedAt?: Date | string | null
1035
+ createdAt?: Date | string
1036
+ updatedAt?: Date | string
1037
+ namedOwners?: Prisma.DbCommunityToolNamedOwnerUncheckedCreateNestedManyWithoutToolInput
1038
+ tags?: Prisma.DbCommunityToolTagUncheckedCreateNestedManyWithoutToolInput
1039
+ views?: Prisma.DbCommunityToolViewUncheckedCreateNestedManyWithoutToolInput
1040
+ pins?: Prisma.DbCommunityToolPinUncheckedCreateNestedManyWithoutToolInput
1041
+ likes?: Prisma.DbCommunityToolLikeUncheckedCreateNestedManyWithoutToolInput
1042
+ feedback?: Prisma.DbFeedbackUncheckedCreateNestedManyWithoutCommunityToolInput
1043
+ }
1044
+
1045
+ export type DbCommunityToolCreateOrConnectWithoutOwnersInput = {
1046
+ where: Prisma.DbCommunityToolWhereUniqueInput
1047
+ create: Prisma.XOR<Prisma.DbCommunityToolCreateWithoutOwnersInput, Prisma.DbCommunityToolUncheckedCreateWithoutOwnersInput>
1048
+ }
1049
+
1050
+ export type DbCommunityToolUpsertWithoutOwnersInput = {
1051
+ update: Prisma.XOR<Prisma.DbCommunityToolUpdateWithoutOwnersInput, Prisma.DbCommunityToolUncheckedUpdateWithoutOwnersInput>
1052
+ create: Prisma.XOR<Prisma.DbCommunityToolCreateWithoutOwnersInput, Prisma.DbCommunityToolUncheckedCreateWithoutOwnersInput>
1053
+ where?: Prisma.DbCommunityToolWhereInput
1054
+ }
1055
+
1056
+ export type DbCommunityToolUpdateToOneWithWhereWithoutOwnersInput = {
1057
+ where?: Prisma.DbCommunityToolWhereInput
1058
+ data: Prisma.XOR<Prisma.DbCommunityToolUpdateWithoutOwnersInput, Prisma.DbCommunityToolUncheckedUpdateWithoutOwnersInput>
1059
+ }
1060
+
1061
+ export type DbCommunityToolUpdateWithoutOwnersInput = {
1062
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1063
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
1064
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1065
+ url?: Prisma.StringFieldUpdateOperationsInput | string
1066
+ host?: Prisma.StringFieldUpdateOperationsInput | string
1067
+ summary?: Prisma.StringFieldUpdateOperationsInput | string
1068
+ descriptionMd?: Prisma.StringFieldUpdateOperationsInput | string
1069
+ addedByUserId?: Prisma.StringFieldUpdateOperationsInput | string
1070
+ addedByName?: Prisma.StringFieldUpdateOperationsInput | string
1071
+ reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1072
+ reviewedByName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1073
+ lastCheckAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1074
+ failingSince?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1075
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1076
+ archivedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1077
+ archivedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1078
+ screenshotAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1079
+ faviconAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1080
+ capturedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1081
+ siteUpdatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1082
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1083
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1084
+ namedOwners?: Prisma.DbCommunityToolNamedOwnerUpdateManyWithoutToolNestedInput
1085
+ tags?: Prisma.DbCommunityToolTagUpdateManyWithoutToolNestedInput
1086
+ views?: Prisma.DbCommunityToolViewUpdateManyWithoutToolNestedInput
1087
+ pins?: Prisma.DbCommunityToolPinUpdateManyWithoutToolNestedInput
1088
+ likes?: Prisma.DbCommunityToolLikeUpdateManyWithoutToolNestedInput
1089
+ feedback?: Prisma.DbFeedbackUpdateManyWithoutCommunityToolNestedInput
1090
+ }
1091
+
1092
+ export type DbCommunityToolUncheckedUpdateWithoutOwnersInput = {
1093
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1094
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
1095
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1096
+ url?: Prisma.StringFieldUpdateOperationsInput | string
1097
+ host?: Prisma.StringFieldUpdateOperationsInput | string
1098
+ summary?: Prisma.StringFieldUpdateOperationsInput | string
1099
+ descriptionMd?: Prisma.StringFieldUpdateOperationsInput | string
1100
+ addedByUserId?: Prisma.StringFieldUpdateOperationsInput | string
1101
+ addedByName?: Prisma.StringFieldUpdateOperationsInput | string
1102
+ reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1103
+ reviewedByName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1104
+ lastCheckAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1105
+ failingSince?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1106
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1107
+ archivedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1108
+ archivedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1109
+ screenshotAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1110
+ faviconAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1111
+ capturedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1112
+ siteUpdatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1113
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1114
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1115
+ namedOwners?: Prisma.DbCommunityToolNamedOwnerUncheckedUpdateManyWithoutToolNestedInput
1116
+ tags?: Prisma.DbCommunityToolTagUncheckedUpdateManyWithoutToolNestedInput
1117
+ views?: Prisma.DbCommunityToolViewUncheckedUpdateManyWithoutToolNestedInput
1118
+ pins?: Prisma.DbCommunityToolPinUncheckedUpdateManyWithoutToolNestedInput
1119
+ likes?: Prisma.DbCommunityToolLikeUncheckedUpdateManyWithoutToolNestedInput
1120
+ feedback?: Prisma.DbFeedbackUncheckedUpdateManyWithoutCommunityToolNestedInput
1121
+ }
1122
+
1123
+ export type DbCommunityToolCreateWithoutLikesInput = {
1124
+ id?: string
1125
+ slug: string
1126
+ name: string
1127
+ url: string
1128
+ host: string
1129
+ summary: string
1130
+ descriptionMd: string
1131
+ addedByUserId: string
1132
+ addedByName: string
1133
+ reviewedAt?: Date | string | null
1134
+ reviewedByName?: string | null
1135
+ lastCheckAt?: Date | string | null
1136
+ failingSince?: Date | string | null
1137
+ archivedAt?: Date | string | null
1138
+ archivedReason?: string | null
1139
+ archivedBy?: string | null
1140
+ screenshotAssetId?: string | null
1141
+ faviconAssetId?: string | null
1142
+ capturedAt?: Date | string | null
1143
+ siteUpdatedAt?: Date | string | null
1144
+ createdAt?: Date | string
1145
+ updatedAt?: Date | string
1146
+ owners?: Prisma.DbCommunityToolOwnerCreateNestedManyWithoutToolInput
1147
+ namedOwners?: Prisma.DbCommunityToolNamedOwnerCreateNestedManyWithoutToolInput
1148
+ tags?: Prisma.DbCommunityToolTagCreateNestedManyWithoutToolInput
1149
+ views?: Prisma.DbCommunityToolViewCreateNestedManyWithoutToolInput
1150
+ pins?: Prisma.DbCommunityToolPinCreateNestedManyWithoutToolInput
1151
+ feedback?: Prisma.DbFeedbackCreateNestedManyWithoutCommunityToolInput
1152
+ }
1153
+
1154
+ export type DbCommunityToolUncheckedCreateWithoutLikesInput = {
1155
+ id?: string
1156
+ slug: string
1157
+ name: string
1158
+ url: string
1159
+ host: string
1160
+ summary: string
1161
+ descriptionMd: string
1162
+ addedByUserId: string
1163
+ addedByName: string
1164
+ reviewedAt?: Date | string | null
1165
+ reviewedByName?: string | null
1166
+ lastCheckAt?: Date | string | null
1167
+ failingSince?: Date | string | null
1168
+ archivedAt?: Date | string | null
1169
+ archivedReason?: string | null
1170
+ archivedBy?: string | null
1171
+ screenshotAssetId?: string | null
1172
+ faviconAssetId?: string | null
1173
+ capturedAt?: Date | string | null
1174
+ siteUpdatedAt?: Date | string | null
1175
+ createdAt?: Date | string
1176
+ updatedAt?: Date | string
1177
+ owners?: Prisma.DbCommunityToolOwnerUncheckedCreateNestedManyWithoutToolInput
1178
+ namedOwners?: Prisma.DbCommunityToolNamedOwnerUncheckedCreateNestedManyWithoutToolInput
1179
+ tags?: Prisma.DbCommunityToolTagUncheckedCreateNestedManyWithoutToolInput
1180
+ views?: Prisma.DbCommunityToolViewUncheckedCreateNestedManyWithoutToolInput
1181
+ pins?: Prisma.DbCommunityToolPinUncheckedCreateNestedManyWithoutToolInput
1182
+ feedback?: Prisma.DbFeedbackUncheckedCreateNestedManyWithoutCommunityToolInput
1183
+ }
1184
+
1185
+ export type DbCommunityToolCreateOrConnectWithoutLikesInput = {
1186
+ where: Prisma.DbCommunityToolWhereUniqueInput
1187
+ create: Prisma.XOR<Prisma.DbCommunityToolCreateWithoutLikesInput, Prisma.DbCommunityToolUncheckedCreateWithoutLikesInput>
1188
+ }
1189
+
1190
+ export type DbCommunityToolUpsertWithoutLikesInput = {
1191
+ update: Prisma.XOR<Prisma.DbCommunityToolUpdateWithoutLikesInput, Prisma.DbCommunityToolUncheckedUpdateWithoutLikesInput>
1192
+ create: Prisma.XOR<Prisma.DbCommunityToolCreateWithoutLikesInput, Prisma.DbCommunityToolUncheckedCreateWithoutLikesInput>
1193
+ where?: Prisma.DbCommunityToolWhereInput
1194
+ }
1195
+
1196
+ export type DbCommunityToolUpdateToOneWithWhereWithoutLikesInput = {
1197
+ where?: Prisma.DbCommunityToolWhereInput
1198
+ data: Prisma.XOR<Prisma.DbCommunityToolUpdateWithoutLikesInput, Prisma.DbCommunityToolUncheckedUpdateWithoutLikesInput>
1199
+ }
1200
+
1201
+ export type DbCommunityToolUpdateWithoutLikesInput = {
1202
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1203
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
1204
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1205
+ url?: Prisma.StringFieldUpdateOperationsInput | string
1206
+ host?: Prisma.StringFieldUpdateOperationsInput | string
1207
+ summary?: Prisma.StringFieldUpdateOperationsInput | string
1208
+ descriptionMd?: Prisma.StringFieldUpdateOperationsInput | string
1209
+ addedByUserId?: Prisma.StringFieldUpdateOperationsInput | string
1210
+ addedByName?: Prisma.StringFieldUpdateOperationsInput | string
1211
+ reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1212
+ reviewedByName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1213
+ lastCheckAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1214
+ failingSince?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1215
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1216
+ archivedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1217
+ archivedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1218
+ screenshotAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1219
+ faviconAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1220
+ capturedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1221
+ siteUpdatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1222
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1223
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1224
+ owners?: Prisma.DbCommunityToolOwnerUpdateManyWithoutToolNestedInput
1225
+ namedOwners?: Prisma.DbCommunityToolNamedOwnerUpdateManyWithoutToolNestedInput
1226
+ tags?: Prisma.DbCommunityToolTagUpdateManyWithoutToolNestedInput
1227
+ views?: Prisma.DbCommunityToolViewUpdateManyWithoutToolNestedInput
1228
+ pins?: Prisma.DbCommunityToolPinUpdateManyWithoutToolNestedInput
1229
+ feedback?: Prisma.DbFeedbackUpdateManyWithoutCommunityToolNestedInput
1230
+ }
1231
+
1232
+ export type DbCommunityToolUncheckedUpdateWithoutLikesInput = {
1233
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1234
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
1235
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1236
+ url?: Prisma.StringFieldUpdateOperationsInput | string
1237
+ host?: Prisma.StringFieldUpdateOperationsInput | string
1238
+ summary?: Prisma.StringFieldUpdateOperationsInput | string
1239
+ descriptionMd?: Prisma.StringFieldUpdateOperationsInput | string
1240
+ addedByUserId?: Prisma.StringFieldUpdateOperationsInput | string
1241
+ addedByName?: Prisma.StringFieldUpdateOperationsInput | string
1242
+ reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1243
+ reviewedByName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1244
+ lastCheckAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1245
+ failingSince?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1246
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1247
+ archivedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1248
+ archivedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1249
+ screenshotAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1250
+ faviconAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1251
+ capturedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1252
+ siteUpdatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1253
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1254
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1255
+ owners?: Prisma.DbCommunityToolOwnerUncheckedUpdateManyWithoutToolNestedInput
1256
+ namedOwners?: Prisma.DbCommunityToolNamedOwnerUncheckedUpdateManyWithoutToolNestedInput
1257
+ tags?: Prisma.DbCommunityToolTagUncheckedUpdateManyWithoutToolNestedInput
1258
+ views?: Prisma.DbCommunityToolViewUncheckedUpdateManyWithoutToolNestedInput
1259
+ pins?: Prisma.DbCommunityToolPinUncheckedUpdateManyWithoutToolNestedInput
1260
+ feedback?: Prisma.DbFeedbackUncheckedUpdateManyWithoutCommunityToolNestedInput
1261
+ }
1262
+
1263
+ export type DbCommunityToolCreateWithoutNamedOwnersInput = {
1264
+ id?: string
1265
+ slug: string
1266
+ name: string
1267
+ url: string
1268
+ host: string
1269
+ summary: string
1270
+ descriptionMd: string
1271
+ addedByUserId: string
1272
+ addedByName: string
1273
+ reviewedAt?: Date | string | null
1274
+ reviewedByName?: string | null
1275
+ lastCheckAt?: Date | string | null
1276
+ failingSince?: Date | string | null
1277
+ archivedAt?: Date | string | null
1278
+ archivedReason?: string | null
1279
+ archivedBy?: string | null
1280
+ screenshotAssetId?: string | null
1281
+ faviconAssetId?: string | null
1282
+ capturedAt?: Date | string | null
1283
+ siteUpdatedAt?: Date | string | null
1284
+ createdAt?: Date | string
1285
+ updatedAt?: Date | string
1286
+ owners?: Prisma.DbCommunityToolOwnerCreateNestedManyWithoutToolInput
1287
+ tags?: Prisma.DbCommunityToolTagCreateNestedManyWithoutToolInput
1288
+ views?: Prisma.DbCommunityToolViewCreateNestedManyWithoutToolInput
1289
+ pins?: Prisma.DbCommunityToolPinCreateNestedManyWithoutToolInput
1290
+ likes?: Prisma.DbCommunityToolLikeCreateNestedManyWithoutToolInput
1291
+ feedback?: Prisma.DbFeedbackCreateNestedManyWithoutCommunityToolInput
1292
+ }
1293
+
1294
+ export type DbCommunityToolUncheckedCreateWithoutNamedOwnersInput = {
1295
+ id?: string
1296
+ slug: string
1297
+ name: string
1298
+ url: string
1299
+ host: string
1300
+ summary: string
1301
+ descriptionMd: string
1302
+ addedByUserId: string
1303
+ addedByName: string
1304
+ reviewedAt?: Date | string | null
1305
+ reviewedByName?: string | null
1306
+ lastCheckAt?: Date | string | null
1307
+ failingSince?: Date | string | null
1308
+ archivedAt?: Date | string | null
1309
+ archivedReason?: string | null
1310
+ archivedBy?: string | null
1311
+ screenshotAssetId?: string | null
1312
+ faviconAssetId?: string | null
1313
+ capturedAt?: Date | string | null
1314
+ siteUpdatedAt?: Date | string | null
1315
+ createdAt?: Date | string
1316
+ updatedAt?: Date | string
1317
+ owners?: Prisma.DbCommunityToolOwnerUncheckedCreateNestedManyWithoutToolInput
1318
+ tags?: Prisma.DbCommunityToolTagUncheckedCreateNestedManyWithoutToolInput
1319
+ views?: Prisma.DbCommunityToolViewUncheckedCreateNestedManyWithoutToolInput
1320
+ pins?: Prisma.DbCommunityToolPinUncheckedCreateNestedManyWithoutToolInput
1321
+ likes?: Prisma.DbCommunityToolLikeUncheckedCreateNestedManyWithoutToolInput
1322
+ feedback?: Prisma.DbFeedbackUncheckedCreateNestedManyWithoutCommunityToolInput
1323
+ }
1324
+
1325
+ export type DbCommunityToolCreateOrConnectWithoutNamedOwnersInput = {
1326
+ where: Prisma.DbCommunityToolWhereUniqueInput
1327
+ create: Prisma.XOR<Prisma.DbCommunityToolCreateWithoutNamedOwnersInput, Prisma.DbCommunityToolUncheckedCreateWithoutNamedOwnersInput>
1328
+ }
1329
+
1330
+ export type DbCommunityToolUpsertWithoutNamedOwnersInput = {
1331
+ update: Prisma.XOR<Prisma.DbCommunityToolUpdateWithoutNamedOwnersInput, Prisma.DbCommunityToolUncheckedUpdateWithoutNamedOwnersInput>
1332
+ create: Prisma.XOR<Prisma.DbCommunityToolCreateWithoutNamedOwnersInput, Prisma.DbCommunityToolUncheckedCreateWithoutNamedOwnersInput>
1333
+ where?: Prisma.DbCommunityToolWhereInput
1334
+ }
1335
+
1336
+ export type DbCommunityToolUpdateToOneWithWhereWithoutNamedOwnersInput = {
1337
+ where?: Prisma.DbCommunityToolWhereInput
1338
+ data: Prisma.XOR<Prisma.DbCommunityToolUpdateWithoutNamedOwnersInput, Prisma.DbCommunityToolUncheckedUpdateWithoutNamedOwnersInput>
1339
+ }
1340
+
1341
+ export type DbCommunityToolUpdateWithoutNamedOwnersInput = {
1342
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1343
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
1344
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1345
+ url?: Prisma.StringFieldUpdateOperationsInput | string
1346
+ host?: Prisma.StringFieldUpdateOperationsInput | string
1347
+ summary?: Prisma.StringFieldUpdateOperationsInput | string
1348
+ descriptionMd?: Prisma.StringFieldUpdateOperationsInput | string
1349
+ addedByUserId?: Prisma.StringFieldUpdateOperationsInput | string
1350
+ addedByName?: Prisma.StringFieldUpdateOperationsInput | string
1351
+ reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1352
+ reviewedByName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1353
+ lastCheckAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1354
+ failingSince?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1355
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1356
+ archivedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1357
+ archivedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1358
+ screenshotAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1359
+ faviconAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1360
+ capturedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1361
+ siteUpdatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1362
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1363
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1364
+ owners?: Prisma.DbCommunityToolOwnerUpdateManyWithoutToolNestedInput
1365
+ tags?: Prisma.DbCommunityToolTagUpdateManyWithoutToolNestedInput
1366
+ views?: Prisma.DbCommunityToolViewUpdateManyWithoutToolNestedInput
1367
+ pins?: Prisma.DbCommunityToolPinUpdateManyWithoutToolNestedInput
1368
+ likes?: Prisma.DbCommunityToolLikeUpdateManyWithoutToolNestedInput
1369
+ feedback?: Prisma.DbFeedbackUpdateManyWithoutCommunityToolNestedInput
1370
+ }
1371
+
1372
+ export type DbCommunityToolUncheckedUpdateWithoutNamedOwnersInput = {
1373
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1374
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
1375
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1376
+ url?: Prisma.StringFieldUpdateOperationsInput | string
1377
+ host?: Prisma.StringFieldUpdateOperationsInput | string
1378
+ summary?: Prisma.StringFieldUpdateOperationsInput | string
1379
+ descriptionMd?: Prisma.StringFieldUpdateOperationsInput | string
1380
+ addedByUserId?: Prisma.StringFieldUpdateOperationsInput | string
1381
+ addedByName?: Prisma.StringFieldUpdateOperationsInput | string
1382
+ reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1383
+ reviewedByName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1384
+ lastCheckAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1385
+ failingSince?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1386
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1387
+ archivedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1388
+ archivedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1389
+ screenshotAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1390
+ faviconAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1391
+ capturedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1392
+ siteUpdatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1393
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1394
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1395
+ owners?: Prisma.DbCommunityToolOwnerUncheckedUpdateManyWithoutToolNestedInput
1396
+ tags?: Prisma.DbCommunityToolTagUncheckedUpdateManyWithoutToolNestedInput
1397
+ views?: Prisma.DbCommunityToolViewUncheckedUpdateManyWithoutToolNestedInput
1398
+ pins?: Prisma.DbCommunityToolPinUncheckedUpdateManyWithoutToolNestedInput
1399
+ likes?: Prisma.DbCommunityToolLikeUncheckedUpdateManyWithoutToolNestedInput
1400
+ feedback?: Prisma.DbFeedbackUncheckedUpdateManyWithoutCommunityToolNestedInput
1401
+ }
1402
+
1403
+ export type DbCommunityToolCreateWithoutTagsInput = {
1404
+ id?: string
1405
+ slug: string
1406
+ name: string
1407
+ url: string
1408
+ host: string
1409
+ summary: string
1410
+ descriptionMd: string
1411
+ addedByUserId: string
1412
+ addedByName: string
1413
+ reviewedAt?: Date | string | null
1414
+ reviewedByName?: string | null
1415
+ lastCheckAt?: Date | string | null
1416
+ failingSince?: Date | string | null
1417
+ archivedAt?: Date | string | null
1418
+ archivedReason?: string | null
1419
+ archivedBy?: string | null
1420
+ screenshotAssetId?: string | null
1421
+ faviconAssetId?: string | null
1422
+ capturedAt?: Date | string | null
1423
+ siteUpdatedAt?: Date | string | null
1424
+ createdAt?: Date | string
1425
+ updatedAt?: Date | string
1426
+ owners?: Prisma.DbCommunityToolOwnerCreateNestedManyWithoutToolInput
1427
+ namedOwners?: Prisma.DbCommunityToolNamedOwnerCreateNestedManyWithoutToolInput
1428
+ views?: Prisma.DbCommunityToolViewCreateNestedManyWithoutToolInput
1429
+ pins?: Prisma.DbCommunityToolPinCreateNestedManyWithoutToolInput
1430
+ likes?: Prisma.DbCommunityToolLikeCreateNestedManyWithoutToolInput
1431
+ feedback?: Prisma.DbFeedbackCreateNestedManyWithoutCommunityToolInput
1432
+ }
1433
+
1434
+ export type DbCommunityToolUncheckedCreateWithoutTagsInput = {
1435
+ id?: string
1436
+ slug: string
1437
+ name: string
1438
+ url: string
1439
+ host: string
1440
+ summary: string
1441
+ descriptionMd: string
1442
+ addedByUserId: string
1443
+ addedByName: string
1444
+ reviewedAt?: Date | string | null
1445
+ reviewedByName?: string | null
1446
+ lastCheckAt?: Date | string | null
1447
+ failingSince?: Date | string | null
1448
+ archivedAt?: Date | string | null
1449
+ archivedReason?: string | null
1450
+ archivedBy?: string | null
1451
+ screenshotAssetId?: string | null
1452
+ faviconAssetId?: string | null
1453
+ capturedAt?: Date | string | null
1454
+ siteUpdatedAt?: Date | string | null
1455
+ createdAt?: Date | string
1456
+ updatedAt?: Date | string
1457
+ owners?: Prisma.DbCommunityToolOwnerUncheckedCreateNestedManyWithoutToolInput
1458
+ namedOwners?: Prisma.DbCommunityToolNamedOwnerUncheckedCreateNestedManyWithoutToolInput
1459
+ views?: Prisma.DbCommunityToolViewUncheckedCreateNestedManyWithoutToolInput
1460
+ pins?: Prisma.DbCommunityToolPinUncheckedCreateNestedManyWithoutToolInput
1461
+ likes?: Prisma.DbCommunityToolLikeUncheckedCreateNestedManyWithoutToolInput
1462
+ feedback?: Prisma.DbFeedbackUncheckedCreateNestedManyWithoutCommunityToolInput
1463
+ }
1464
+
1465
+ export type DbCommunityToolCreateOrConnectWithoutTagsInput = {
1466
+ where: Prisma.DbCommunityToolWhereUniqueInput
1467
+ create: Prisma.XOR<Prisma.DbCommunityToolCreateWithoutTagsInput, Prisma.DbCommunityToolUncheckedCreateWithoutTagsInput>
1468
+ }
1469
+
1470
+ export type DbCommunityToolUpsertWithoutTagsInput = {
1471
+ update: Prisma.XOR<Prisma.DbCommunityToolUpdateWithoutTagsInput, Prisma.DbCommunityToolUncheckedUpdateWithoutTagsInput>
1472
+ create: Prisma.XOR<Prisma.DbCommunityToolCreateWithoutTagsInput, Prisma.DbCommunityToolUncheckedCreateWithoutTagsInput>
1473
+ where?: Prisma.DbCommunityToolWhereInput
1474
+ }
1475
+
1476
+ export type DbCommunityToolUpdateToOneWithWhereWithoutTagsInput = {
1477
+ where?: Prisma.DbCommunityToolWhereInput
1478
+ data: Prisma.XOR<Prisma.DbCommunityToolUpdateWithoutTagsInput, Prisma.DbCommunityToolUncheckedUpdateWithoutTagsInput>
1479
+ }
1480
+
1481
+ export type DbCommunityToolUpdateWithoutTagsInput = {
1482
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1483
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
1484
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1485
+ url?: Prisma.StringFieldUpdateOperationsInput | string
1486
+ host?: Prisma.StringFieldUpdateOperationsInput | string
1487
+ summary?: Prisma.StringFieldUpdateOperationsInput | string
1488
+ descriptionMd?: Prisma.StringFieldUpdateOperationsInput | string
1489
+ addedByUserId?: Prisma.StringFieldUpdateOperationsInput | string
1490
+ addedByName?: Prisma.StringFieldUpdateOperationsInput | string
1491
+ reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1492
+ reviewedByName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1493
+ lastCheckAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1494
+ failingSince?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1495
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1496
+ archivedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1497
+ archivedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1498
+ screenshotAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1499
+ faviconAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1500
+ capturedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1501
+ siteUpdatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1502
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1503
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1504
+ owners?: Prisma.DbCommunityToolOwnerUpdateManyWithoutToolNestedInput
1505
+ namedOwners?: Prisma.DbCommunityToolNamedOwnerUpdateManyWithoutToolNestedInput
1506
+ views?: Prisma.DbCommunityToolViewUpdateManyWithoutToolNestedInput
1507
+ pins?: Prisma.DbCommunityToolPinUpdateManyWithoutToolNestedInput
1508
+ likes?: Prisma.DbCommunityToolLikeUpdateManyWithoutToolNestedInput
1509
+ feedback?: Prisma.DbFeedbackUpdateManyWithoutCommunityToolNestedInput
1510
+ }
1511
+
1512
+ export type DbCommunityToolUncheckedUpdateWithoutTagsInput = {
1513
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1514
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
1515
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1516
+ url?: Prisma.StringFieldUpdateOperationsInput | string
1517
+ host?: Prisma.StringFieldUpdateOperationsInput | string
1518
+ summary?: Prisma.StringFieldUpdateOperationsInput | string
1519
+ descriptionMd?: Prisma.StringFieldUpdateOperationsInput | string
1520
+ addedByUserId?: Prisma.StringFieldUpdateOperationsInput | string
1521
+ addedByName?: Prisma.StringFieldUpdateOperationsInput | string
1522
+ reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1523
+ reviewedByName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1524
+ lastCheckAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1525
+ failingSince?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1526
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1527
+ archivedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1528
+ archivedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1529
+ screenshotAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1530
+ faviconAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1531
+ capturedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1532
+ siteUpdatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1533
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1534
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1535
+ owners?: Prisma.DbCommunityToolOwnerUncheckedUpdateManyWithoutToolNestedInput
1536
+ namedOwners?: Prisma.DbCommunityToolNamedOwnerUncheckedUpdateManyWithoutToolNestedInput
1537
+ views?: Prisma.DbCommunityToolViewUncheckedUpdateManyWithoutToolNestedInput
1538
+ pins?: Prisma.DbCommunityToolPinUncheckedUpdateManyWithoutToolNestedInput
1539
+ likes?: Prisma.DbCommunityToolLikeUncheckedUpdateManyWithoutToolNestedInput
1540
+ feedback?: Prisma.DbFeedbackUncheckedUpdateManyWithoutCommunityToolNestedInput
1541
+ }
1542
+
1543
+ export type DbCommunityToolCreateWithoutViewsInput = {
1544
+ id?: string
1545
+ slug: string
1546
+ name: string
1547
+ url: string
1548
+ host: string
1549
+ summary: string
1550
+ descriptionMd: string
1551
+ addedByUserId: string
1552
+ addedByName: string
1553
+ reviewedAt?: Date | string | null
1554
+ reviewedByName?: string | null
1555
+ lastCheckAt?: Date | string | null
1556
+ failingSince?: Date | string | null
1557
+ archivedAt?: Date | string | null
1558
+ archivedReason?: string | null
1559
+ archivedBy?: string | null
1560
+ screenshotAssetId?: string | null
1561
+ faviconAssetId?: string | null
1562
+ capturedAt?: Date | string | null
1563
+ siteUpdatedAt?: Date | string | null
1564
+ createdAt?: Date | string
1565
+ updatedAt?: Date | string
1566
+ owners?: Prisma.DbCommunityToolOwnerCreateNestedManyWithoutToolInput
1567
+ namedOwners?: Prisma.DbCommunityToolNamedOwnerCreateNestedManyWithoutToolInput
1568
+ tags?: Prisma.DbCommunityToolTagCreateNestedManyWithoutToolInput
1569
+ pins?: Prisma.DbCommunityToolPinCreateNestedManyWithoutToolInput
1570
+ likes?: Prisma.DbCommunityToolLikeCreateNestedManyWithoutToolInput
1571
+ feedback?: Prisma.DbFeedbackCreateNestedManyWithoutCommunityToolInput
1572
+ }
1573
+
1574
+ export type DbCommunityToolUncheckedCreateWithoutViewsInput = {
1575
+ id?: string
1576
+ slug: string
1577
+ name: string
1578
+ url: string
1579
+ host: string
1580
+ summary: string
1581
+ descriptionMd: string
1582
+ addedByUserId: string
1583
+ addedByName: string
1584
+ reviewedAt?: Date | string | null
1585
+ reviewedByName?: string | null
1586
+ lastCheckAt?: Date | string | null
1587
+ failingSince?: Date | string | null
1588
+ archivedAt?: Date | string | null
1589
+ archivedReason?: string | null
1590
+ archivedBy?: string | null
1591
+ screenshotAssetId?: string | null
1592
+ faviconAssetId?: string | null
1593
+ capturedAt?: Date | string | null
1594
+ siteUpdatedAt?: Date | string | null
1595
+ createdAt?: Date | string
1596
+ updatedAt?: Date | string
1597
+ owners?: Prisma.DbCommunityToolOwnerUncheckedCreateNestedManyWithoutToolInput
1598
+ namedOwners?: Prisma.DbCommunityToolNamedOwnerUncheckedCreateNestedManyWithoutToolInput
1599
+ tags?: Prisma.DbCommunityToolTagUncheckedCreateNestedManyWithoutToolInput
1600
+ pins?: Prisma.DbCommunityToolPinUncheckedCreateNestedManyWithoutToolInput
1601
+ likes?: Prisma.DbCommunityToolLikeUncheckedCreateNestedManyWithoutToolInput
1602
+ feedback?: Prisma.DbFeedbackUncheckedCreateNestedManyWithoutCommunityToolInput
1603
+ }
1604
+
1605
+ export type DbCommunityToolCreateOrConnectWithoutViewsInput = {
1606
+ where: Prisma.DbCommunityToolWhereUniqueInput
1607
+ create: Prisma.XOR<Prisma.DbCommunityToolCreateWithoutViewsInput, Prisma.DbCommunityToolUncheckedCreateWithoutViewsInput>
1608
+ }
1609
+
1610
+ export type DbCommunityToolUpsertWithoutViewsInput = {
1611
+ update: Prisma.XOR<Prisma.DbCommunityToolUpdateWithoutViewsInput, Prisma.DbCommunityToolUncheckedUpdateWithoutViewsInput>
1612
+ create: Prisma.XOR<Prisma.DbCommunityToolCreateWithoutViewsInput, Prisma.DbCommunityToolUncheckedCreateWithoutViewsInput>
1613
+ where?: Prisma.DbCommunityToolWhereInput
1614
+ }
1615
+
1616
+ export type DbCommunityToolUpdateToOneWithWhereWithoutViewsInput = {
1617
+ where?: Prisma.DbCommunityToolWhereInput
1618
+ data: Prisma.XOR<Prisma.DbCommunityToolUpdateWithoutViewsInput, Prisma.DbCommunityToolUncheckedUpdateWithoutViewsInput>
1619
+ }
1620
+
1621
+ export type DbCommunityToolUpdateWithoutViewsInput = {
1622
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1623
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
1624
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1625
+ url?: Prisma.StringFieldUpdateOperationsInput | string
1626
+ host?: Prisma.StringFieldUpdateOperationsInput | string
1627
+ summary?: Prisma.StringFieldUpdateOperationsInput | string
1628
+ descriptionMd?: Prisma.StringFieldUpdateOperationsInput | string
1629
+ addedByUserId?: Prisma.StringFieldUpdateOperationsInput | string
1630
+ addedByName?: Prisma.StringFieldUpdateOperationsInput | string
1631
+ reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1632
+ reviewedByName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1633
+ lastCheckAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1634
+ failingSince?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1635
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1636
+ archivedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1637
+ archivedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1638
+ screenshotAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1639
+ faviconAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1640
+ capturedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1641
+ siteUpdatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1642
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1643
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1644
+ owners?: Prisma.DbCommunityToolOwnerUpdateManyWithoutToolNestedInput
1645
+ namedOwners?: Prisma.DbCommunityToolNamedOwnerUpdateManyWithoutToolNestedInput
1646
+ tags?: Prisma.DbCommunityToolTagUpdateManyWithoutToolNestedInput
1647
+ pins?: Prisma.DbCommunityToolPinUpdateManyWithoutToolNestedInput
1648
+ likes?: Prisma.DbCommunityToolLikeUpdateManyWithoutToolNestedInput
1649
+ feedback?: Prisma.DbFeedbackUpdateManyWithoutCommunityToolNestedInput
1650
+ }
1651
+
1652
+ export type DbCommunityToolUncheckedUpdateWithoutViewsInput = {
1653
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1654
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
1655
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1656
+ url?: Prisma.StringFieldUpdateOperationsInput | string
1657
+ host?: Prisma.StringFieldUpdateOperationsInput | string
1658
+ summary?: Prisma.StringFieldUpdateOperationsInput | string
1659
+ descriptionMd?: Prisma.StringFieldUpdateOperationsInput | string
1660
+ addedByUserId?: Prisma.StringFieldUpdateOperationsInput | string
1661
+ addedByName?: Prisma.StringFieldUpdateOperationsInput | string
1662
+ reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1663
+ reviewedByName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1664
+ lastCheckAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1665
+ failingSince?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1666
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1667
+ archivedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1668
+ archivedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1669
+ screenshotAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1670
+ faviconAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1671
+ capturedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1672
+ siteUpdatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1673
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1674
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1675
+ owners?: Prisma.DbCommunityToolOwnerUncheckedUpdateManyWithoutToolNestedInput
1676
+ namedOwners?: Prisma.DbCommunityToolNamedOwnerUncheckedUpdateManyWithoutToolNestedInput
1677
+ tags?: Prisma.DbCommunityToolTagUncheckedUpdateManyWithoutToolNestedInput
1678
+ pins?: Prisma.DbCommunityToolPinUncheckedUpdateManyWithoutToolNestedInput
1679
+ likes?: Prisma.DbCommunityToolLikeUncheckedUpdateManyWithoutToolNestedInput
1680
+ feedback?: Prisma.DbFeedbackUncheckedUpdateManyWithoutCommunityToolNestedInput
1681
+ }
1682
+
1683
+ export type DbCommunityToolCreateWithoutPinsInput = {
1684
+ id?: string
1685
+ slug: string
1686
+ name: string
1687
+ url: string
1688
+ host: string
1689
+ summary: string
1690
+ descriptionMd: string
1691
+ addedByUserId: string
1692
+ addedByName: string
1693
+ reviewedAt?: Date | string | null
1694
+ reviewedByName?: string | null
1695
+ lastCheckAt?: Date | string | null
1696
+ failingSince?: Date | string | null
1697
+ archivedAt?: Date | string | null
1698
+ archivedReason?: string | null
1699
+ archivedBy?: string | null
1700
+ screenshotAssetId?: string | null
1701
+ faviconAssetId?: string | null
1702
+ capturedAt?: Date | string | null
1703
+ siteUpdatedAt?: Date | string | null
1704
+ createdAt?: Date | string
1705
+ updatedAt?: Date | string
1706
+ owners?: Prisma.DbCommunityToolOwnerCreateNestedManyWithoutToolInput
1707
+ namedOwners?: Prisma.DbCommunityToolNamedOwnerCreateNestedManyWithoutToolInput
1708
+ tags?: Prisma.DbCommunityToolTagCreateNestedManyWithoutToolInput
1709
+ views?: Prisma.DbCommunityToolViewCreateNestedManyWithoutToolInput
1710
+ likes?: Prisma.DbCommunityToolLikeCreateNestedManyWithoutToolInput
1711
+ feedback?: Prisma.DbFeedbackCreateNestedManyWithoutCommunityToolInput
1712
+ }
1713
+
1714
+ export type DbCommunityToolUncheckedCreateWithoutPinsInput = {
1715
+ id?: string
1716
+ slug: string
1717
+ name: string
1718
+ url: string
1719
+ host: string
1720
+ summary: string
1721
+ descriptionMd: string
1722
+ addedByUserId: string
1723
+ addedByName: string
1724
+ reviewedAt?: Date | string | null
1725
+ reviewedByName?: string | null
1726
+ lastCheckAt?: Date | string | null
1727
+ failingSince?: Date | string | null
1728
+ archivedAt?: Date | string | null
1729
+ archivedReason?: string | null
1730
+ archivedBy?: string | null
1731
+ screenshotAssetId?: string | null
1732
+ faviconAssetId?: string | null
1733
+ capturedAt?: Date | string | null
1734
+ siteUpdatedAt?: Date | string | null
1735
+ createdAt?: Date | string
1736
+ updatedAt?: Date | string
1737
+ owners?: Prisma.DbCommunityToolOwnerUncheckedCreateNestedManyWithoutToolInput
1738
+ namedOwners?: Prisma.DbCommunityToolNamedOwnerUncheckedCreateNestedManyWithoutToolInput
1739
+ tags?: Prisma.DbCommunityToolTagUncheckedCreateNestedManyWithoutToolInput
1740
+ views?: Prisma.DbCommunityToolViewUncheckedCreateNestedManyWithoutToolInput
1741
+ likes?: Prisma.DbCommunityToolLikeUncheckedCreateNestedManyWithoutToolInput
1742
+ feedback?: Prisma.DbFeedbackUncheckedCreateNestedManyWithoutCommunityToolInput
1743
+ }
1744
+
1745
+ export type DbCommunityToolCreateOrConnectWithoutPinsInput = {
1746
+ where: Prisma.DbCommunityToolWhereUniqueInput
1747
+ create: Prisma.XOR<Prisma.DbCommunityToolCreateWithoutPinsInput, Prisma.DbCommunityToolUncheckedCreateWithoutPinsInput>
1748
+ }
1749
+
1750
+ export type DbCommunityToolUpsertWithoutPinsInput = {
1751
+ update: Prisma.XOR<Prisma.DbCommunityToolUpdateWithoutPinsInput, Prisma.DbCommunityToolUncheckedUpdateWithoutPinsInput>
1752
+ create: Prisma.XOR<Prisma.DbCommunityToolCreateWithoutPinsInput, Prisma.DbCommunityToolUncheckedCreateWithoutPinsInput>
1753
+ where?: Prisma.DbCommunityToolWhereInput
1754
+ }
1755
+
1756
+ export type DbCommunityToolUpdateToOneWithWhereWithoutPinsInput = {
1757
+ where?: Prisma.DbCommunityToolWhereInput
1758
+ data: Prisma.XOR<Prisma.DbCommunityToolUpdateWithoutPinsInput, Prisma.DbCommunityToolUncheckedUpdateWithoutPinsInput>
1759
+ }
1760
+
1761
+ export type DbCommunityToolUpdateWithoutPinsInput = {
1762
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1763
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
1764
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1765
+ url?: Prisma.StringFieldUpdateOperationsInput | string
1766
+ host?: Prisma.StringFieldUpdateOperationsInput | string
1767
+ summary?: Prisma.StringFieldUpdateOperationsInput | string
1768
+ descriptionMd?: Prisma.StringFieldUpdateOperationsInput | string
1769
+ addedByUserId?: Prisma.StringFieldUpdateOperationsInput | string
1770
+ addedByName?: Prisma.StringFieldUpdateOperationsInput | string
1771
+ reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1772
+ reviewedByName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1773
+ lastCheckAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1774
+ failingSince?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1775
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1776
+ archivedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1777
+ archivedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1778
+ screenshotAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1779
+ faviconAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1780
+ capturedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1781
+ siteUpdatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1782
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1783
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1784
+ owners?: Prisma.DbCommunityToolOwnerUpdateManyWithoutToolNestedInput
1785
+ namedOwners?: Prisma.DbCommunityToolNamedOwnerUpdateManyWithoutToolNestedInput
1786
+ tags?: Prisma.DbCommunityToolTagUpdateManyWithoutToolNestedInput
1787
+ views?: Prisma.DbCommunityToolViewUpdateManyWithoutToolNestedInput
1788
+ likes?: Prisma.DbCommunityToolLikeUpdateManyWithoutToolNestedInput
1789
+ feedback?: Prisma.DbFeedbackUpdateManyWithoutCommunityToolNestedInput
1790
+ }
1791
+
1792
+ export type DbCommunityToolUncheckedUpdateWithoutPinsInput = {
1793
+ id?: Prisma.StringFieldUpdateOperationsInput | string
1794
+ slug?: Prisma.StringFieldUpdateOperationsInput | string
1795
+ name?: Prisma.StringFieldUpdateOperationsInput | string
1796
+ url?: Prisma.StringFieldUpdateOperationsInput | string
1797
+ host?: Prisma.StringFieldUpdateOperationsInput | string
1798
+ summary?: Prisma.StringFieldUpdateOperationsInput | string
1799
+ descriptionMd?: Prisma.StringFieldUpdateOperationsInput | string
1800
+ addedByUserId?: Prisma.StringFieldUpdateOperationsInput | string
1801
+ addedByName?: Prisma.StringFieldUpdateOperationsInput | string
1802
+ reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1803
+ reviewedByName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1804
+ lastCheckAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1805
+ failingSince?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1806
+ archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1807
+ archivedReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1808
+ archivedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1809
+ screenshotAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1810
+ faviconAssetId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1811
+ capturedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1812
+ siteUpdatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
1813
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1814
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1815
+ owners?: Prisma.DbCommunityToolOwnerUncheckedUpdateManyWithoutToolNestedInput
1816
+ namedOwners?: Prisma.DbCommunityToolNamedOwnerUncheckedUpdateManyWithoutToolNestedInput
1817
+ tags?: Prisma.DbCommunityToolTagUncheckedUpdateManyWithoutToolNestedInput
1818
+ views?: Prisma.DbCommunityToolViewUncheckedUpdateManyWithoutToolNestedInput
1819
+ likes?: Prisma.DbCommunityToolLikeUncheckedUpdateManyWithoutToolNestedInput
1820
+ feedback?: Prisma.DbFeedbackUncheckedUpdateManyWithoutCommunityToolNestedInput
1821
+ }
1822
+
1823
+
1824
+ /**
1825
+ * Count Type DbCommunityToolCountOutputType
1826
+ */
1827
+
1828
+ export type DbCommunityToolCountOutputType = {
1829
+ owners: number
1830
+ namedOwners: number
1831
+ tags: number
1832
+ views: number
1833
+ pins: number
1834
+ likes: number
1835
+ feedback: number
1836
+ }
1837
+
1838
+ export type DbCommunityToolCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1839
+ owners?: boolean | DbCommunityToolCountOutputTypeCountOwnersArgs
1840
+ namedOwners?: boolean | DbCommunityToolCountOutputTypeCountNamedOwnersArgs
1841
+ tags?: boolean | DbCommunityToolCountOutputTypeCountTagsArgs
1842
+ views?: boolean | DbCommunityToolCountOutputTypeCountViewsArgs
1843
+ pins?: boolean | DbCommunityToolCountOutputTypeCountPinsArgs
1844
+ likes?: boolean | DbCommunityToolCountOutputTypeCountLikesArgs
1845
+ feedback?: boolean | DbCommunityToolCountOutputTypeCountFeedbackArgs
1846
+ }
1847
+
1848
+ /**
1849
+ * DbCommunityToolCountOutputType without action
1850
+ */
1851
+ export type DbCommunityToolCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1852
+ /**
1853
+ * Select specific fields to fetch from the DbCommunityToolCountOutputType
1854
+ */
1855
+ select?: Prisma.DbCommunityToolCountOutputTypeSelect<ExtArgs> | null
1856
+ }
1857
+
1858
+ /**
1859
+ * DbCommunityToolCountOutputType without action
1860
+ */
1861
+ export type DbCommunityToolCountOutputTypeCountOwnersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1862
+ where?: Prisma.DbCommunityToolOwnerWhereInput
1863
+ }
1864
+
1865
+ /**
1866
+ * DbCommunityToolCountOutputType without action
1867
+ */
1868
+ export type DbCommunityToolCountOutputTypeCountNamedOwnersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1869
+ where?: Prisma.DbCommunityToolNamedOwnerWhereInput
1870
+ }
1871
+
1872
+ /**
1873
+ * DbCommunityToolCountOutputType without action
1874
+ */
1875
+ export type DbCommunityToolCountOutputTypeCountTagsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1876
+ where?: Prisma.DbCommunityToolTagWhereInput
1877
+ }
1878
+
1879
+ /**
1880
+ * DbCommunityToolCountOutputType without action
1881
+ */
1882
+ export type DbCommunityToolCountOutputTypeCountViewsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1883
+ where?: Prisma.DbCommunityToolViewWhereInput
1884
+ }
1885
+
1886
+ /**
1887
+ * DbCommunityToolCountOutputType without action
1888
+ */
1889
+ export type DbCommunityToolCountOutputTypeCountPinsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1890
+ where?: Prisma.DbCommunityToolPinWhereInput
1891
+ }
1892
+
1893
+ /**
1894
+ * DbCommunityToolCountOutputType without action
1895
+ */
1896
+ export type DbCommunityToolCountOutputTypeCountLikesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1897
+ where?: Prisma.DbCommunityToolLikeWhereInput
1898
+ }
1899
+
1900
+ /**
1901
+ * DbCommunityToolCountOutputType without action
1902
+ */
1903
+ export type DbCommunityToolCountOutputTypeCountFeedbackArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1904
+ where?: Prisma.DbFeedbackWhereInput
1905
+ }
1906
+
1907
+
1908
+ export type DbCommunityToolSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1909
+ id?: boolean
1910
+ slug?: boolean
1911
+ name?: boolean
1912
+ url?: boolean
1913
+ host?: boolean
1914
+ summary?: boolean
1915
+ descriptionMd?: boolean
1916
+ addedByUserId?: boolean
1917
+ addedByName?: boolean
1918
+ reviewedAt?: boolean
1919
+ reviewedByName?: boolean
1920
+ lastCheckAt?: boolean
1921
+ failingSince?: boolean
1922
+ archivedAt?: boolean
1923
+ archivedReason?: boolean
1924
+ archivedBy?: boolean
1925
+ screenshotAssetId?: boolean
1926
+ faviconAssetId?: boolean
1927
+ capturedAt?: boolean
1928
+ siteUpdatedAt?: boolean
1929
+ createdAt?: boolean
1930
+ updatedAt?: boolean
1931
+ owners?: boolean | Prisma.DbCommunityTool$ownersArgs<ExtArgs>
1932
+ namedOwners?: boolean | Prisma.DbCommunityTool$namedOwnersArgs<ExtArgs>
1933
+ tags?: boolean | Prisma.DbCommunityTool$tagsArgs<ExtArgs>
1934
+ views?: boolean | Prisma.DbCommunityTool$viewsArgs<ExtArgs>
1935
+ pins?: boolean | Prisma.DbCommunityTool$pinsArgs<ExtArgs>
1936
+ likes?: boolean | Prisma.DbCommunityTool$likesArgs<ExtArgs>
1937
+ feedback?: boolean | Prisma.DbCommunityTool$feedbackArgs<ExtArgs>
1938
+ _count?: boolean | Prisma.DbCommunityToolCountOutputTypeDefaultArgs<ExtArgs>
1939
+ }, ExtArgs["result"]["dbCommunityTool"]>
1940
+
1941
+ export type DbCommunityToolSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1942
+ id?: boolean
1943
+ slug?: boolean
1944
+ name?: boolean
1945
+ url?: boolean
1946
+ host?: boolean
1947
+ summary?: boolean
1948
+ descriptionMd?: boolean
1949
+ addedByUserId?: boolean
1950
+ addedByName?: boolean
1951
+ reviewedAt?: boolean
1952
+ reviewedByName?: boolean
1953
+ lastCheckAt?: boolean
1954
+ failingSince?: boolean
1955
+ archivedAt?: boolean
1956
+ archivedReason?: boolean
1957
+ archivedBy?: boolean
1958
+ screenshotAssetId?: boolean
1959
+ faviconAssetId?: boolean
1960
+ capturedAt?: boolean
1961
+ siteUpdatedAt?: boolean
1962
+ createdAt?: boolean
1963
+ updatedAt?: boolean
1964
+ }, ExtArgs["result"]["dbCommunityTool"]>
1965
+
1966
+ export type DbCommunityToolSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1967
+ id?: boolean
1968
+ slug?: boolean
1969
+ name?: boolean
1970
+ url?: boolean
1971
+ host?: boolean
1972
+ summary?: boolean
1973
+ descriptionMd?: boolean
1974
+ addedByUserId?: boolean
1975
+ addedByName?: boolean
1976
+ reviewedAt?: boolean
1977
+ reviewedByName?: boolean
1978
+ lastCheckAt?: boolean
1979
+ failingSince?: boolean
1980
+ archivedAt?: boolean
1981
+ archivedReason?: boolean
1982
+ archivedBy?: boolean
1983
+ screenshotAssetId?: boolean
1984
+ faviconAssetId?: boolean
1985
+ capturedAt?: boolean
1986
+ siteUpdatedAt?: boolean
1987
+ createdAt?: boolean
1988
+ updatedAt?: boolean
1989
+ }, ExtArgs["result"]["dbCommunityTool"]>
1990
+
1991
+ export type DbCommunityToolSelectScalar = {
1992
+ id?: boolean
1993
+ slug?: boolean
1994
+ name?: boolean
1995
+ url?: boolean
1996
+ host?: boolean
1997
+ summary?: boolean
1998
+ descriptionMd?: boolean
1999
+ addedByUserId?: boolean
2000
+ addedByName?: boolean
2001
+ reviewedAt?: boolean
2002
+ reviewedByName?: boolean
2003
+ lastCheckAt?: boolean
2004
+ failingSince?: boolean
2005
+ archivedAt?: boolean
2006
+ archivedReason?: boolean
2007
+ archivedBy?: boolean
2008
+ screenshotAssetId?: boolean
2009
+ faviconAssetId?: boolean
2010
+ capturedAt?: boolean
2011
+ siteUpdatedAt?: boolean
2012
+ createdAt?: boolean
2013
+ updatedAt?: boolean
2014
+ }
2015
+
2016
+ export type DbCommunityToolOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "slug" | "name" | "url" | "host" | "summary" | "descriptionMd" | "addedByUserId" | "addedByName" | "reviewedAt" | "reviewedByName" | "lastCheckAt" | "failingSince" | "archivedAt" | "archivedReason" | "archivedBy" | "screenshotAssetId" | "faviconAssetId" | "capturedAt" | "siteUpdatedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["dbCommunityTool"]>
2017
+ export type DbCommunityToolInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2018
+ owners?: boolean | Prisma.DbCommunityTool$ownersArgs<ExtArgs>
2019
+ namedOwners?: boolean | Prisma.DbCommunityTool$namedOwnersArgs<ExtArgs>
2020
+ tags?: boolean | Prisma.DbCommunityTool$tagsArgs<ExtArgs>
2021
+ views?: boolean | Prisma.DbCommunityTool$viewsArgs<ExtArgs>
2022
+ pins?: boolean | Prisma.DbCommunityTool$pinsArgs<ExtArgs>
2023
+ likes?: boolean | Prisma.DbCommunityTool$likesArgs<ExtArgs>
2024
+ feedback?: boolean | Prisma.DbCommunityTool$feedbackArgs<ExtArgs>
2025
+ _count?: boolean | Prisma.DbCommunityToolCountOutputTypeDefaultArgs<ExtArgs>
2026
+ }
2027
+ export type DbCommunityToolIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
2028
+ export type DbCommunityToolIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {}
2029
+
2030
+ export type $DbCommunityToolPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2031
+ name: "DbCommunityTool"
2032
+ objects: {
2033
+ /**
2034
+ * Person slugs who maintain this tool.
2035
+ */
2036
+ owners: Prisma.$DbCommunityToolOwnerPayload<ExtArgs>[]
2037
+ /**
2038
+ * Owners who are not in the person directory, by name only.
2039
+ */
2040
+ namedOwners: Prisma.$DbCommunityToolNamedOwnerPayload<ExtArgs>[]
2041
+ /**
2042
+ * Categorization tags (app associations and topic labels).
2043
+ */
2044
+ tags: Prisma.$DbCommunityToolTagPayload<ExtArgs>[]
2045
+ /**
2046
+ * View tracking for ranking.
2047
+ */
2048
+ views: Prisma.$DbCommunityToolViewPayload<ExtArgs>[]
2049
+ /**
2050
+ * User pins for personalized ordering.
2051
+ */
2052
+ pins: Prisma.$DbCommunityToolPinPayload<ExtArgs>[]
2053
+ /**
2054
+ * One per person who liked it.
2055
+ */
2056
+ likes: Prisma.$DbCommunityToolLikePayload<ExtArgs>[]
2057
+ /**
2058
+ * Feedback comments about this tool.
2059
+ */
2060
+ feedback: Prisma.$DbFeedbackPayload<ExtArgs>[]
2061
+ }
2062
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
2063
+ id: string
2064
+ slug: string
2065
+ name: string
2066
+ url: string
2067
+ /**
2068
+ * Lowercase hostname extracted from url for fast host-based queries.
2069
+ */
2070
+ host: string
2071
+ summary: string
2072
+ descriptionMd: string
2073
+ addedByUserId: string
2074
+ addedByName: string
2075
+ /**
2076
+ * When a maintainer last reviewed this entry.
2077
+ */
2078
+ reviewedAt: Date | null
2079
+ reviewedByName: string | null
2080
+ /**
2081
+ * Last automated check for availability.
2082
+ */
2083
+ lastCheckAt: Date | null
2084
+ /**
2085
+ * When the tool first started failing checks (null when healthy).
2086
+ */
2087
+ failingSince: Date | null
2088
+ /**
2089
+ * When archived (null when active).
2090
+ */
2091
+ archivedAt: Date | null
2092
+ archivedReason: string | null
2093
+ /**
2094
+ * 'auto' for automated archival after prolonged failure, or user name for manual archival.
2095
+ */
2096
+ archivedBy: string | null
2097
+ /**
2098
+ * Asset references for screenshots and favicon.
2099
+ */
2100
+ screenshotAssetId: string | null
2101
+ faviconAssetId: string | null
2102
+ /**
2103
+ * When screenshots were last captured.
2104
+ */
2105
+ capturedAt: Date | null
2106
+ /**
2107
+ * When the site itself last changed: its page's Last-Modified, at the last visit that sent one.
2108
+ */
2109
+ siteUpdatedAt: Date | null
2110
+ createdAt: Date
2111
+ updatedAt: Date
2112
+ }, ExtArgs["result"]["dbCommunityTool"]>
2113
+ composites: {}
2114
+ }
2115
+
2116
+ export type DbCommunityToolGetPayload<S extends boolean | null | undefined | DbCommunityToolDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$DbCommunityToolPayload, S>
2117
+
2118
+ export type DbCommunityToolCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
2119
+ Omit<DbCommunityToolFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
2120
+ select?: DbCommunityToolCountAggregateInputType | true
2121
+ }
2122
+
2123
+ export interface DbCommunityToolDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
2124
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['DbCommunityTool'], meta: { name: 'DbCommunityTool' } }
2125
+ /**
2126
+ * Find zero or one DbCommunityTool that matches the filter.
2127
+ * @param {DbCommunityToolFindUniqueArgs} args - Arguments to find a DbCommunityTool
2128
+ * @example
2129
+ * // Get one DbCommunityTool
2130
+ * const dbCommunityTool = await prisma.dbCommunityTool.findUnique({
2131
+ * where: {
2132
+ * // ... provide filter here
2133
+ * }
2134
+ * })
2135
+ */
2136
+ findUnique<T extends DbCommunityToolFindUniqueArgs>(args: Prisma.SelectSubset<T, DbCommunityToolFindUniqueArgs<ExtArgs>>): Prisma.Prisma__DbCommunityToolClient<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2137
+
2138
+ /**
2139
+ * Find one DbCommunityTool that matches the filter or throw an error with `error.code='P2025'`
2140
+ * if no matches were found.
2141
+ * @param {DbCommunityToolFindUniqueOrThrowArgs} args - Arguments to find a DbCommunityTool
2142
+ * @example
2143
+ * // Get one DbCommunityTool
2144
+ * const dbCommunityTool = await prisma.dbCommunityTool.findUniqueOrThrow({
2145
+ * where: {
2146
+ * // ... provide filter here
2147
+ * }
2148
+ * })
2149
+ */
2150
+ findUniqueOrThrow<T extends DbCommunityToolFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, DbCommunityToolFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__DbCommunityToolClient<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2151
+
2152
+ /**
2153
+ * Find the first DbCommunityTool that matches the filter.
2154
+ * Note, that providing `undefined` is treated as the value not being there.
2155
+ * Read more here: https://pris.ly/d/null-undefined
2156
+ * @param {DbCommunityToolFindFirstArgs} args - Arguments to find a DbCommunityTool
2157
+ * @example
2158
+ * // Get one DbCommunityTool
2159
+ * const dbCommunityTool = await prisma.dbCommunityTool.findFirst({
2160
+ * where: {
2161
+ * // ... provide filter here
2162
+ * }
2163
+ * })
2164
+ */
2165
+ findFirst<T extends DbCommunityToolFindFirstArgs>(args?: Prisma.SelectSubset<T, DbCommunityToolFindFirstArgs<ExtArgs>>): Prisma.Prisma__DbCommunityToolClient<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
2166
+
2167
+ /**
2168
+ * Find the first DbCommunityTool that matches the filter or
2169
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
2170
+ * Note, that providing `undefined` is treated as the value not being there.
2171
+ * Read more here: https://pris.ly/d/null-undefined
2172
+ * @param {DbCommunityToolFindFirstOrThrowArgs} args - Arguments to find a DbCommunityTool
2173
+ * @example
2174
+ * // Get one DbCommunityTool
2175
+ * const dbCommunityTool = await prisma.dbCommunityTool.findFirstOrThrow({
2176
+ * where: {
2177
+ * // ... provide filter here
2178
+ * }
2179
+ * })
2180
+ */
2181
+ findFirstOrThrow<T extends DbCommunityToolFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, DbCommunityToolFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__DbCommunityToolClient<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2182
+
2183
+ /**
2184
+ * Find zero or more DbCommunityTools that matches the filter.
2185
+ * Note, that providing `undefined` is treated as the value not being there.
2186
+ * Read more here: https://pris.ly/d/null-undefined
2187
+ * @param {DbCommunityToolFindManyArgs} args - Arguments to filter and select certain fields only.
2188
+ * @example
2189
+ * // Get all DbCommunityTools
2190
+ * const dbCommunityTools = await prisma.dbCommunityTool.findMany()
2191
+ *
2192
+ * // Get first 10 DbCommunityTools
2193
+ * const dbCommunityTools = await prisma.dbCommunityTool.findMany({ take: 10 })
2194
+ *
2195
+ * // Only select the `id`
2196
+ * const dbCommunityToolWithIdOnly = await prisma.dbCommunityTool.findMany({ select: { id: true } })
2197
+ *
2198
+ */
2199
+ findMany<T extends DbCommunityToolFindManyArgs>(args?: Prisma.SelectSubset<T, DbCommunityToolFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
2200
+
2201
+ /**
2202
+ * Create a DbCommunityTool.
2203
+ * @param {DbCommunityToolCreateArgs} args - Arguments to create a DbCommunityTool.
2204
+ * @example
2205
+ * // Create one DbCommunityTool
2206
+ * const DbCommunityTool = await prisma.dbCommunityTool.create({
2207
+ * data: {
2208
+ * // ... data to create a DbCommunityTool
2209
+ * }
2210
+ * })
2211
+ *
2212
+ */
2213
+ create<T extends DbCommunityToolCreateArgs>(args: Prisma.SelectSubset<T, DbCommunityToolCreateArgs<ExtArgs>>): Prisma.Prisma__DbCommunityToolClient<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2214
+
2215
+ /**
2216
+ * Create many DbCommunityTools.
2217
+ * @param {DbCommunityToolCreateManyArgs} args - Arguments to create many DbCommunityTools.
2218
+ * @example
2219
+ * // Create many DbCommunityTools
2220
+ * const dbCommunityTool = await prisma.dbCommunityTool.createMany({
2221
+ * data: [
2222
+ * // ... provide data here
2223
+ * ]
2224
+ * })
2225
+ *
2226
+ */
2227
+ createMany<T extends DbCommunityToolCreateManyArgs>(args?: Prisma.SelectSubset<T, DbCommunityToolCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
2228
+
2229
+ /**
2230
+ * Create many DbCommunityTools and returns the data saved in the database.
2231
+ * @param {DbCommunityToolCreateManyAndReturnArgs} args - Arguments to create many DbCommunityTools.
2232
+ * @example
2233
+ * // Create many DbCommunityTools
2234
+ * const dbCommunityTool = await prisma.dbCommunityTool.createManyAndReturn({
2235
+ * data: [
2236
+ * // ... provide data here
2237
+ * ]
2238
+ * })
2239
+ *
2240
+ * // Create many DbCommunityTools and only return the `id`
2241
+ * const dbCommunityToolWithIdOnly = await prisma.dbCommunityTool.createManyAndReturn({
2242
+ * select: { id: true },
2243
+ * data: [
2244
+ * // ... provide data here
2245
+ * ]
2246
+ * })
2247
+ * Note, that providing `undefined` is treated as the value not being there.
2248
+ * Read more here: https://pris.ly/d/null-undefined
2249
+ *
2250
+ */
2251
+ createManyAndReturn<T extends DbCommunityToolCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, DbCommunityToolCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
2252
+
2253
+ /**
2254
+ * Delete a DbCommunityTool.
2255
+ * @param {DbCommunityToolDeleteArgs} args - Arguments to delete one DbCommunityTool.
2256
+ * @example
2257
+ * // Delete one DbCommunityTool
2258
+ * const DbCommunityTool = await prisma.dbCommunityTool.delete({
2259
+ * where: {
2260
+ * // ... filter to delete one DbCommunityTool
2261
+ * }
2262
+ * })
2263
+ *
2264
+ */
2265
+ delete<T extends DbCommunityToolDeleteArgs>(args: Prisma.SelectSubset<T, DbCommunityToolDeleteArgs<ExtArgs>>): Prisma.Prisma__DbCommunityToolClient<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2266
+
2267
+ /**
2268
+ * Update one DbCommunityTool.
2269
+ * @param {DbCommunityToolUpdateArgs} args - Arguments to update one DbCommunityTool.
2270
+ * @example
2271
+ * // Update one DbCommunityTool
2272
+ * const dbCommunityTool = await prisma.dbCommunityTool.update({
2273
+ * where: {
2274
+ * // ... provide filter here
2275
+ * },
2276
+ * data: {
2277
+ * // ... provide data here
2278
+ * }
2279
+ * })
2280
+ *
2281
+ */
2282
+ update<T extends DbCommunityToolUpdateArgs>(args: Prisma.SelectSubset<T, DbCommunityToolUpdateArgs<ExtArgs>>): Prisma.Prisma__DbCommunityToolClient<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2283
+
2284
+ /**
2285
+ * Delete zero or more DbCommunityTools.
2286
+ * @param {DbCommunityToolDeleteManyArgs} args - Arguments to filter DbCommunityTools to delete.
2287
+ * @example
2288
+ * // Delete a few DbCommunityTools
2289
+ * const { count } = await prisma.dbCommunityTool.deleteMany({
2290
+ * where: {
2291
+ * // ... provide filter here
2292
+ * }
2293
+ * })
2294
+ *
2295
+ */
2296
+ deleteMany<T extends DbCommunityToolDeleteManyArgs>(args?: Prisma.SelectSubset<T, DbCommunityToolDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
2297
+
2298
+ /**
2299
+ * Update zero or more DbCommunityTools.
2300
+ * Note, that providing `undefined` is treated as the value not being there.
2301
+ * Read more here: https://pris.ly/d/null-undefined
2302
+ * @param {DbCommunityToolUpdateManyArgs} args - Arguments to update one or more rows.
2303
+ * @example
2304
+ * // Update many DbCommunityTools
2305
+ * const dbCommunityTool = await prisma.dbCommunityTool.updateMany({
2306
+ * where: {
2307
+ * // ... provide filter here
2308
+ * },
2309
+ * data: {
2310
+ * // ... provide data here
2311
+ * }
2312
+ * })
2313
+ *
2314
+ */
2315
+ updateMany<T extends DbCommunityToolUpdateManyArgs>(args: Prisma.SelectSubset<T, DbCommunityToolUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
2316
+
2317
+ /**
2318
+ * Update zero or more DbCommunityTools and returns the data updated in the database.
2319
+ * @param {DbCommunityToolUpdateManyAndReturnArgs} args - Arguments to update many DbCommunityTools.
2320
+ * @example
2321
+ * // Update many DbCommunityTools
2322
+ * const dbCommunityTool = await prisma.dbCommunityTool.updateManyAndReturn({
2323
+ * where: {
2324
+ * // ... provide filter here
2325
+ * },
2326
+ * data: [
2327
+ * // ... provide data here
2328
+ * ]
2329
+ * })
2330
+ *
2331
+ * // Update zero or more DbCommunityTools and only return the `id`
2332
+ * const dbCommunityToolWithIdOnly = await prisma.dbCommunityTool.updateManyAndReturn({
2333
+ * select: { id: true },
2334
+ * where: {
2335
+ * // ... provide filter here
2336
+ * },
2337
+ * data: [
2338
+ * // ... provide data here
2339
+ * ]
2340
+ * })
2341
+ * Note, that providing `undefined` is treated as the value not being there.
2342
+ * Read more here: https://pris.ly/d/null-undefined
2343
+ *
2344
+ */
2345
+ updateManyAndReturn<T extends DbCommunityToolUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, DbCommunityToolUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
2346
+
2347
+ /**
2348
+ * Create or update one DbCommunityTool.
2349
+ * @param {DbCommunityToolUpsertArgs} args - Arguments to update or create a DbCommunityTool.
2350
+ * @example
2351
+ * // Update or create a DbCommunityTool
2352
+ * const dbCommunityTool = await prisma.dbCommunityTool.upsert({
2353
+ * create: {
2354
+ * // ... data to create a DbCommunityTool
2355
+ * },
2356
+ * update: {
2357
+ * // ... in case it already exists, update
2358
+ * },
2359
+ * where: {
2360
+ * // ... the filter for the DbCommunityTool we want to update
2361
+ * }
2362
+ * })
2363
+ */
2364
+ upsert<T extends DbCommunityToolUpsertArgs>(args: Prisma.SelectSubset<T, DbCommunityToolUpsertArgs<ExtArgs>>): Prisma.Prisma__DbCommunityToolClient<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
2365
+
2366
+
2367
+ /**
2368
+ * Count the number of DbCommunityTools.
2369
+ * Note, that providing `undefined` is treated as the value not being there.
2370
+ * Read more here: https://pris.ly/d/null-undefined
2371
+ * @param {DbCommunityToolCountArgs} args - Arguments to filter DbCommunityTools to count.
2372
+ * @example
2373
+ * // Count the number of DbCommunityTools
2374
+ * const count = await prisma.dbCommunityTool.count({
2375
+ * where: {
2376
+ * // ... the filter for the DbCommunityTools we want to count
2377
+ * }
2378
+ * })
2379
+ **/
2380
+ count<T extends DbCommunityToolCountArgs>(
2381
+ args?: Prisma.Subset<T, DbCommunityToolCountArgs>,
2382
+ ): Prisma.PrismaPromise<
2383
+ T extends runtime.Types.Utils.Record<'select', any>
2384
+ ? T['select'] extends true
2385
+ ? number
2386
+ : Prisma.GetScalarType<T['select'], DbCommunityToolCountAggregateOutputType>
2387
+ : number
2388
+ >
2389
+
2390
+ /**
2391
+ * Allows you to perform aggregations operations on a DbCommunityTool.
2392
+ * Note, that providing `undefined` is treated as the value not being there.
2393
+ * Read more here: https://pris.ly/d/null-undefined
2394
+ * @param {DbCommunityToolAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
2395
+ * @example
2396
+ * // Ordered by age ascending
2397
+ * // Where email contains prisma.io
2398
+ * // Limited to the 10 users
2399
+ * const aggregations = await prisma.user.aggregate({
2400
+ * _avg: {
2401
+ * age: true,
2402
+ * },
2403
+ * where: {
2404
+ * email: {
2405
+ * contains: "prisma.io",
2406
+ * },
2407
+ * },
2408
+ * orderBy: {
2409
+ * age: "asc",
2410
+ * },
2411
+ * take: 10,
2412
+ * })
2413
+ **/
2414
+ aggregate<T extends DbCommunityToolAggregateArgs>(args: Prisma.Subset<T, DbCommunityToolAggregateArgs>): Prisma.PrismaPromise<GetDbCommunityToolAggregateType<T>>
2415
+
2416
+ /**
2417
+ * Group by DbCommunityTool.
2418
+ * Note, that providing `undefined` is treated as the value not being there.
2419
+ * Read more here: https://pris.ly/d/null-undefined
2420
+ * @param {DbCommunityToolGroupByArgs} args - Group by arguments.
2421
+ * @example
2422
+ * // Group by city, order by createdAt, get count
2423
+ * const result = await prisma.user.groupBy({
2424
+ * by: ['city', 'createdAt'],
2425
+ * orderBy: {
2426
+ * createdAt: true
2427
+ * },
2428
+ * _count: {
2429
+ * _all: true
2430
+ * },
2431
+ * })
2432
+ *
2433
+ **/
2434
+ groupBy<
2435
+ T extends DbCommunityToolGroupByArgs,
2436
+ HasSelectOrTake extends Prisma.Or<
2437
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
2438
+ Prisma.Extends<'take', Prisma.Keys<T>>
2439
+ >,
2440
+ OrderByArg extends Prisma.True extends HasSelectOrTake
2441
+ ? { orderBy: DbCommunityToolGroupByArgs['orderBy'] }
2442
+ : { orderBy?: DbCommunityToolGroupByArgs['orderBy'] },
2443
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
2444
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
2445
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
2446
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
2447
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
2448
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
2449
+ InputErrors extends ByEmpty extends Prisma.True
2450
+ ? `Error: "by" must not be empty.`
2451
+ : HavingValid extends Prisma.False
2452
+ ? {
2453
+ [P in HavingFields]: P extends ByFields
2454
+ ? never
2455
+ : P extends string
2456
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
2457
+ : [
2458
+ Error,
2459
+ 'Field ',
2460
+ P,
2461
+ ` in "having" needs to be provided in "by"`,
2462
+ ]
2463
+ }[HavingFields]
2464
+ : 'take' extends Prisma.Keys<T>
2465
+ ? 'orderBy' extends Prisma.Keys<T>
2466
+ ? ByValid extends Prisma.True
2467
+ ? {}
2468
+ : {
2469
+ [P in OrderFields]: P extends ByFields
2470
+ ? never
2471
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2472
+ }[OrderFields]
2473
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
2474
+ : 'skip' extends Prisma.Keys<T>
2475
+ ? 'orderBy' extends Prisma.Keys<T>
2476
+ ? ByValid extends Prisma.True
2477
+ ? {}
2478
+ : {
2479
+ [P in OrderFields]: P extends ByFields
2480
+ ? never
2481
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2482
+ }[OrderFields]
2483
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
2484
+ : ByValid extends Prisma.True
2485
+ ? {}
2486
+ : {
2487
+ [P in OrderFields]: P extends ByFields
2488
+ ? never
2489
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
2490
+ }[OrderFields]
2491
+ >(args: Prisma.SubsetIntersection<T, DbCommunityToolGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDbCommunityToolGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
2492
+ /**
2493
+ * Fields of the DbCommunityTool model
2494
+ */
2495
+ readonly fields: DbCommunityToolFieldRefs;
2496
+ }
2497
+
2498
+ /**
2499
+ * The delegate class that acts as a "Promise-like" for DbCommunityTool.
2500
+ * Why is this prefixed with `Prisma__`?
2501
+ * Because we want to prevent naming conflicts as mentioned in
2502
+ * https://github.com/prisma/prisma-client-js/issues/707
2503
+ */
2504
+ export interface Prisma__DbCommunityToolClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
2505
+ readonly [Symbol.toStringTag]: "PrismaPromise"
2506
+ owners<T extends Prisma.DbCommunityTool$ownersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DbCommunityTool$ownersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolOwnerPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2507
+ namedOwners<T extends Prisma.DbCommunityTool$namedOwnersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DbCommunityTool$namedOwnersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolNamedOwnerPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2508
+ tags<T extends Prisma.DbCommunityTool$tagsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DbCommunityTool$tagsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolTagPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2509
+ views<T extends Prisma.DbCommunityTool$viewsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DbCommunityTool$viewsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolViewPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2510
+ pins<T extends Prisma.DbCommunityTool$pinsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DbCommunityTool$pinsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolPinPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2511
+ likes<T extends Prisma.DbCommunityTool$likesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DbCommunityTool$likesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolLikePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2512
+ feedback<T extends Prisma.DbCommunityTool$feedbackArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DbCommunityTool$feedbackArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DbFeedbackPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
2513
+ /**
2514
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
2515
+ * @param onfulfilled The callback to execute when the Promise is resolved.
2516
+ * @param onrejected The callback to execute when the Promise is rejected.
2517
+ * @returns A Promise for the completion of which ever callback is executed.
2518
+ */
2519
+ 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>
2520
+ /**
2521
+ * Attaches a callback for only the rejection of the Promise.
2522
+ * @param onrejected The callback to execute when the Promise is rejected.
2523
+ * @returns A Promise for the completion of the callback.
2524
+ */
2525
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
2526
+ /**
2527
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
2528
+ * resolved value cannot be modified from the callback.
2529
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
2530
+ * @returns A Promise for the completion of the callback.
2531
+ */
2532
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
2533
+ }
2534
+
2535
+
2536
+
2537
+
2538
+ /**
2539
+ * Fields of the DbCommunityTool model
2540
+ */
2541
+ export interface DbCommunityToolFieldRefs {
2542
+ readonly id: Prisma.FieldRef<"DbCommunityTool", 'String'>
2543
+ readonly slug: Prisma.FieldRef<"DbCommunityTool", 'String'>
2544
+ readonly name: Prisma.FieldRef<"DbCommunityTool", 'String'>
2545
+ readonly url: Prisma.FieldRef<"DbCommunityTool", 'String'>
2546
+ readonly host: Prisma.FieldRef<"DbCommunityTool", 'String'>
2547
+ readonly summary: Prisma.FieldRef<"DbCommunityTool", 'String'>
2548
+ readonly descriptionMd: Prisma.FieldRef<"DbCommunityTool", 'String'>
2549
+ readonly addedByUserId: Prisma.FieldRef<"DbCommunityTool", 'String'>
2550
+ readonly addedByName: Prisma.FieldRef<"DbCommunityTool", 'String'>
2551
+ readonly reviewedAt: Prisma.FieldRef<"DbCommunityTool", 'DateTime'>
2552
+ readonly reviewedByName: Prisma.FieldRef<"DbCommunityTool", 'String'>
2553
+ readonly lastCheckAt: Prisma.FieldRef<"DbCommunityTool", 'DateTime'>
2554
+ readonly failingSince: Prisma.FieldRef<"DbCommunityTool", 'DateTime'>
2555
+ readonly archivedAt: Prisma.FieldRef<"DbCommunityTool", 'DateTime'>
2556
+ readonly archivedReason: Prisma.FieldRef<"DbCommunityTool", 'String'>
2557
+ readonly archivedBy: Prisma.FieldRef<"DbCommunityTool", 'String'>
2558
+ readonly screenshotAssetId: Prisma.FieldRef<"DbCommunityTool", 'String'>
2559
+ readonly faviconAssetId: Prisma.FieldRef<"DbCommunityTool", 'String'>
2560
+ readonly capturedAt: Prisma.FieldRef<"DbCommunityTool", 'DateTime'>
2561
+ readonly siteUpdatedAt: Prisma.FieldRef<"DbCommunityTool", 'DateTime'>
2562
+ readonly createdAt: Prisma.FieldRef<"DbCommunityTool", 'DateTime'>
2563
+ readonly updatedAt: Prisma.FieldRef<"DbCommunityTool", 'DateTime'>
2564
+ }
2565
+
2566
+
2567
+ // Custom InputTypes
2568
+ /**
2569
+ * DbCommunityTool findUnique
2570
+ */
2571
+ export type DbCommunityToolFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2572
+ /**
2573
+ * Select specific fields to fetch from the DbCommunityTool
2574
+ */
2575
+ select?: Prisma.DbCommunityToolSelect<ExtArgs> | null
2576
+ /**
2577
+ * Omit specific fields from the DbCommunityTool
2578
+ */
2579
+ omit?: Prisma.DbCommunityToolOmit<ExtArgs> | null
2580
+ /**
2581
+ * Choose, which related nodes to fetch as well
2582
+ */
2583
+ include?: Prisma.DbCommunityToolInclude<ExtArgs> | null
2584
+ /**
2585
+ * Filter, which DbCommunityTool to fetch.
2586
+ */
2587
+ where: Prisma.DbCommunityToolWhereUniqueInput
2588
+ }
2589
+
2590
+ /**
2591
+ * DbCommunityTool findUniqueOrThrow
2592
+ */
2593
+ export type DbCommunityToolFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2594
+ /**
2595
+ * Select specific fields to fetch from the DbCommunityTool
2596
+ */
2597
+ select?: Prisma.DbCommunityToolSelect<ExtArgs> | null
2598
+ /**
2599
+ * Omit specific fields from the DbCommunityTool
2600
+ */
2601
+ omit?: Prisma.DbCommunityToolOmit<ExtArgs> | null
2602
+ /**
2603
+ * Choose, which related nodes to fetch as well
2604
+ */
2605
+ include?: Prisma.DbCommunityToolInclude<ExtArgs> | null
2606
+ /**
2607
+ * Filter, which DbCommunityTool to fetch.
2608
+ */
2609
+ where: Prisma.DbCommunityToolWhereUniqueInput
2610
+ }
2611
+
2612
+ /**
2613
+ * DbCommunityTool findFirst
2614
+ */
2615
+ export type DbCommunityToolFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2616
+ /**
2617
+ * Select specific fields to fetch from the DbCommunityTool
2618
+ */
2619
+ select?: Prisma.DbCommunityToolSelect<ExtArgs> | null
2620
+ /**
2621
+ * Omit specific fields from the DbCommunityTool
2622
+ */
2623
+ omit?: Prisma.DbCommunityToolOmit<ExtArgs> | null
2624
+ /**
2625
+ * Choose, which related nodes to fetch as well
2626
+ */
2627
+ include?: Prisma.DbCommunityToolInclude<ExtArgs> | null
2628
+ /**
2629
+ * Filter, which DbCommunityTool to fetch.
2630
+ */
2631
+ where?: Prisma.DbCommunityToolWhereInput
2632
+ /**
2633
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2634
+ *
2635
+ * Determine the order of DbCommunityTools to fetch.
2636
+ */
2637
+ orderBy?: Prisma.DbCommunityToolOrderByWithRelationInput | Prisma.DbCommunityToolOrderByWithRelationInput[]
2638
+ /**
2639
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2640
+ *
2641
+ * Sets the position for searching for DbCommunityTools.
2642
+ */
2643
+ cursor?: Prisma.DbCommunityToolWhereUniqueInput
2644
+ /**
2645
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2646
+ *
2647
+ * Take `±n` DbCommunityTools from the position of the cursor.
2648
+ */
2649
+ take?: number
2650
+ /**
2651
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2652
+ *
2653
+ * Skip the first `n` DbCommunityTools.
2654
+ */
2655
+ skip?: number
2656
+ /**
2657
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2658
+ *
2659
+ * Filter by unique combinations of DbCommunityTools.
2660
+ */
2661
+ distinct?: Prisma.DbCommunityToolScalarFieldEnum | Prisma.DbCommunityToolScalarFieldEnum[]
2662
+ }
2663
+
2664
+ /**
2665
+ * DbCommunityTool findFirstOrThrow
2666
+ */
2667
+ export type DbCommunityToolFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2668
+ /**
2669
+ * Select specific fields to fetch from the DbCommunityTool
2670
+ */
2671
+ select?: Prisma.DbCommunityToolSelect<ExtArgs> | null
2672
+ /**
2673
+ * Omit specific fields from the DbCommunityTool
2674
+ */
2675
+ omit?: Prisma.DbCommunityToolOmit<ExtArgs> | null
2676
+ /**
2677
+ * Choose, which related nodes to fetch as well
2678
+ */
2679
+ include?: Prisma.DbCommunityToolInclude<ExtArgs> | null
2680
+ /**
2681
+ * Filter, which DbCommunityTool to fetch.
2682
+ */
2683
+ where?: Prisma.DbCommunityToolWhereInput
2684
+ /**
2685
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2686
+ *
2687
+ * Determine the order of DbCommunityTools to fetch.
2688
+ */
2689
+ orderBy?: Prisma.DbCommunityToolOrderByWithRelationInput | Prisma.DbCommunityToolOrderByWithRelationInput[]
2690
+ /**
2691
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2692
+ *
2693
+ * Sets the position for searching for DbCommunityTools.
2694
+ */
2695
+ cursor?: Prisma.DbCommunityToolWhereUniqueInput
2696
+ /**
2697
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2698
+ *
2699
+ * Take `±n` DbCommunityTools from the position of the cursor.
2700
+ */
2701
+ take?: number
2702
+ /**
2703
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2704
+ *
2705
+ * Skip the first `n` DbCommunityTools.
2706
+ */
2707
+ skip?: number
2708
+ /**
2709
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2710
+ *
2711
+ * Filter by unique combinations of DbCommunityTools.
2712
+ */
2713
+ distinct?: Prisma.DbCommunityToolScalarFieldEnum | Prisma.DbCommunityToolScalarFieldEnum[]
2714
+ }
2715
+
2716
+ /**
2717
+ * DbCommunityTool findMany
2718
+ */
2719
+ export type DbCommunityToolFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2720
+ /**
2721
+ * Select specific fields to fetch from the DbCommunityTool
2722
+ */
2723
+ select?: Prisma.DbCommunityToolSelect<ExtArgs> | null
2724
+ /**
2725
+ * Omit specific fields from the DbCommunityTool
2726
+ */
2727
+ omit?: Prisma.DbCommunityToolOmit<ExtArgs> | null
2728
+ /**
2729
+ * Choose, which related nodes to fetch as well
2730
+ */
2731
+ include?: Prisma.DbCommunityToolInclude<ExtArgs> | null
2732
+ /**
2733
+ * Filter, which DbCommunityTools to fetch.
2734
+ */
2735
+ where?: Prisma.DbCommunityToolWhereInput
2736
+ /**
2737
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2738
+ *
2739
+ * Determine the order of DbCommunityTools to fetch.
2740
+ */
2741
+ orderBy?: Prisma.DbCommunityToolOrderByWithRelationInput | Prisma.DbCommunityToolOrderByWithRelationInput[]
2742
+ /**
2743
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2744
+ *
2745
+ * Sets the position for listing DbCommunityTools.
2746
+ */
2747
+ cursor?: Prisma.DbCommunityToolWhereUniqueInput
2748
+ /**
2749
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2750
+ *
2751
+ * Take `±n` DbCommunityTools from the position of the cursor.
2752
+ */
2753
+ take?: number
2754
+ /**
2755
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2756
+ *
2757
+ * Skip the first `n` DbCommunityTools.
2758
+ */
2759
+ skip?: number
2760
+ distinct?: Prisma.DbCommunityToolScalarFieldEnum | Prisma.DbCommunityToolScalarFieldEnum[]
2761
+ }
2762
+
2763
+ /**
2764
+ * DbCommunityTool create
2765
+ */
2766
+ export type DbCommunityToolCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2767
+ /**
2768
+ * Select specific fields to fetch from the DbCommunityTool
2769
+ */
2770
+ select?: Prisma.DbCommunityToolSelect<ExtArgs> | null
2771
+ /**
2772
+ * Omit specific fields from the DbCommunityTool
2773
+ */
2774
+ omit?: Prisma.DbCommunityToolOmit<ExtArgs> | null
2775
+ /**
2776
+ * Choose, which related nodes to fetch as well
2777
+ */
2778
+ include?: Prisma.DbCommunityToolInclude<ExtArgs> | null
2779
+ /**
2780
+ * The data needed to create a DbCommunityTool.
2781
+ */
2782
+ data: Prisma.XOR<Prisma.DbCommunityToolCreateInput, Prisma.DbCommunityToolUncheckedCreateInput>
2783
+ }
2784
+
2785
+ /**
2786
+ * DbCommunityTool createMany
2787
+ */
2788
+ export type DbCommunityToolCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2789
+ /**
2790
+ * The data used to create many DbCommunityTools.
2791
+ */
2792
+ data: Prisma.DbCommunityToolCreateManyInput | Prisma.DbCommunityToolCreateManyInput[]
2793
+ skipDuplicates?: boolean
2794
+ }
2795
+
2796
+ /**
2797
+ * DbCommunityTool createManyAndReturn
2798
+ */
2799
+ export type DbCommunityToolCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2800
+ /**
2801
+ * Select specific fields to fetch from the DbCommunityTool
2802
+ */
2803
+ select?: Prisma.DbCommunityToolSelectCreateManyAndReturn<ExtArgs> | null
2804
+ /**
2805
+ * Omit specific fields from the DbCommunityTool
2806
+ */
2807
+ omit?: Prisma.DbCommunityToolOmit<ExtArgs> | null
2808
+ /**
2809
+ * The data used to create many DbCommunityTools.
2810
+ */
2811
+ data: Prisma.DbCommunityToolCreateManyInput | Prisma.DbCommunityToolCreateManyInput[]
2812
+ skipDuplicates?: boolean
2813
+ }
2814
+
2815
+ /**
2816
+ * DbCommunityTool update
2817
+ */
2818
+ export type DbCommunityToolUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2819
+ /**
2820
+ * Select specific fields to fetch from the DbCommunityTool
2821
+ */
2822
+ select?: Prisma.DbCommunityToolSelect<ExtArgs> | null
2823
+ /**
2824
+ * Omit specific fields from the DbCommunityTool
2825
+ */
2826
+ omit?: Prisma.DbCommunityToolOmit<ExtArgs> | null
2827
+ /**
2828
+ * Choose, which related nodes to fetch as well
2829
+ */
2830
+ include?: Prisma.DbCommunityToolInclude<ExtArgs> | null
2831
+ /**
2832
+ * The data needed to update a DbCommunityTool.
2833
+ */
2834
+ data: Prisma.XOR<Prisma.DbCommunityToolUpdateInput, Prisma.DbCommunityToolUncheckedUpdateInput>
2835
+ /**
2836
+ * Choose, which DbCommunityTool to update.
2837
+ */
2838
+ where: Prisma.DbCommunityToolWhereUniqueInput
2839
+ }
2840
+
2841
+ /**
2842
+ * DbCommunityTool updateMany
2843
+ */
2844
+ export type DbCommunityToolUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2845
+ /**
2846
+ * The data used to update DbCommunityTools.
2847
+ */
2848
+ data: Prisma.XOR<Prisma.DbCommunityToolUpdateManyMutationInput, Prisma.DbCommunityToolUncheckedUpdateManyInput>
2849
+ /**
2850
+ * Filter which DbCommunityTools to update
2851
+ */
2852
+ where?: Prisma.DbCommunityToolWhereInput
2853
+ /**
2854
+ * Limit how many DbCommunityTools to update.
2855
+ */
2856
+ limit?: number
2857
+ }
2858
+
2859
+ /**
2860
+ * DbCommunityTool updateManyAndReturn
2861
+ */
2862
+ export type DbCommunityToolUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2863
+ /**
2864
+ * Select specific fields to fetch from the DbCommunityTool
2865
+ */
2866
+ select?: Prisma.DbCommunityToolSelectUpdateManyAndReturn<ExtArgs> | null
2867
+ /**
2868
+ * Omit specific fields from the DbCommunityTool
2869
+ */
2870
+ omit?: Prisma.DbCommunityToolOmit<ExtArgs> | null
2871
+ /**
2872
+ * The data used to update DbCommunityTools.
2873
+ */
2874
+ data: Prisma.XOR<Prisma.DbCommunityToolUpdateManyMutationInput, Prisma.DbCommunityToolUncheckedUpdateManyInput>
2875
+ /**
2876
+ * Filter which DbCommunityTools to update
2877
+ */
2878
+ where?: Prisma.DbCommunityToolWhereInput
2879
+ /**
2880
+ * Limit how many DbCommunityTools to update.
2881
+ */
2882
+ limit?: number
2883
+ }
2884
+
2885
+ /**
2886
+ * DbCommunityTool upsert
2887
+ */
2888
+ export type DbCommunityToolUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2889
+ /**
2890
+ * Select specific fields to fetch from the DbCommunityTool
2891
+ */
2892
+ select?: Prisma.DbCommunityToolSelect<ExtArgs> | null
2893
+ /**
2894
+ * Omit specific fields from the DbCommunityTool
2895
+ */
2896
+ omit?: Prisma.DbCommunityToolOmit<ExtArgs> | null
2897
+ /**
2898
+ * Choose, which related nodes to fetch as well
2899
+ */
2900
+ include?: Prisma.DbCommunityToolInclude<ExtArgs> | null
2901
+ /**
2902
+ * The filter to search for the DbCommunityTool to update in case it exists.
2903
+ */
2904
+ where: Prisma.DbCommunityToolWhereUniqueInput
2905
+ /**
2906
+ * In case the DbCommunityTool found by the `where` argument doesn't exist, create a new DbCommunityTool with this data.
2907
+ */
2908
+ create: Prisma.XOR<Prisma.DbCommunityToolCreateInput, Prisma.DbCommunityToolUncheckedCreateInput>
2909
+ /**
2910
+ * In case the DbCommunityTool was found with the provided `where` argument, update it with this data.
2911
+ */
2912
+ update: Prisma.XOR<Prisma.DbCommunityToolUpdateInput, Prisma.DbCommunityToolUncheckedUpdateInput>
2913
+ }
2914
+
2915
+ /**
2916
+ * DbCommunityTool delete
2917
+ */
2918
+ export type DbCommunityToolDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2919
+ /**
2920
+ * Select specific fields to fetch from the DbCommunityTool
2921
+ */
2922
+ select?: Prisma.DbCommunityToolSelect<ExtArgs> | null
2923
+ /**
2924
+ * Omit specific fields from the DbCommunityTool
2925
+ */
2926
+ omit?: Prisma.DbCommunityToolOmit<ExtArgs> | null
2927
+ /**
2928
+ * Choose, which related nodes to fetch as well
2929
+ */
2930
+ include?: Prisma.DbCommunityToolInclude<ExtArgs> | null
2931
+ /**
2932
+ * Filter which DbCommunityTool to delete.
2933
+ */
2934
+ where: Prisma.DbCommunityToolWhereUniqueInput
2935
+ }
2936
+
2937
+ /**
2938
+ * DbCommunityTool deleteMany
2939
+ */
2940
+ export type DbCommunityToolDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2941
+ /**
2942
+ * Filter which DbCommunityTools to delete
2943
+ */
2944
+ where?: Prisma.DbCommunityToolWhereInput
2945
+ /**
2946
+ * Limit how many DbCommunityTools to delete.
2947
+ */
2948
+ limit?: number
2949
+ }
2950
+
2951
+ /**
2952
+ * DbCommunityTool.owners
2953
+ */
2954
+ export type DbCommunityTool$ownersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2955
+ /**
2956
+ * Select specific fields to fetch from the DbCommunityToolOwner
2957
+ */
2958
+ select?: Prisma.DbCommunityToolOwnerSelect<ExtArgs> | null
2959
+ /**
2960
+ * Omit specific fields from the DbCommunityToolOwner
2961
+ */
2962
+ omit?: Prisma.DbCommunityToolOwnerOmit<ExtArgs> | null
2963
+ /**
2964
+ * Choose, which related nodes to fetch as well
2965
+ */
2966
+ include?: Prisma.DbCommunityToolOwnerInclude<ExtArgs> | null
2967
+ where?: Prisma.DbCommunityToolOwnerWhereInput
2968
+ orderBy?: Prisma.DbCommunityToolOwnerOrderByWithRelationInput | Prisma.DbCommunityToolOwnerOrderByWithRelationInput[]
2969
+ cursor?: Prisma.DbCommunityToolOwnerWhereUniqueInput
2970
+ take?: number
2971
+ skip?: number
2972
+ distinct?: Prisma.DbCommunityToolOwnerScalarFieldEnum | Prisma.DbCommunityToolOwnerScalarFieldEnum[]
2973
+ }
2974
+
2975
+ /**
2976
+ * DbCommunityTool.namedOwners
2977
+ */
2978
+ export type DbCommunityTool$namedOwnersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2979
+ /**
2980
+ * Select specific fields to fetch from the DbCommunityToolNamedOwner
2981
+ */
2982
+ select?: Prisma.DbCommunityToolNamedOwnerSelect<ExtArgs> | null
2983
+ /**
2984
+ * Omit specific fields from the DbCommunityToolNamedOwner
2985
+ */
2986
+ omit?: Prisma.DbCommunityToolNamedOwnerOmit<ExtArgs> | null
2987
+ /**
2988
+ * Choose, which related nodes to fetch as well
2989
+ */
2990
+ include?: Prisma.DbCommunityToolNamedOwnerInclude<ExtArgs> | null
2991
+ where?: Prisma.DbCommunityToolNamedOwnerWhereInput
2992
+ orderBy?: Prisma.DbCommunityToolNamedOwnerOrderByWithRelationInput | Prisma.DbCommunityToolNamedOwnerOrderByWithRelationInput[]
2993
+ cursor?: Prisma.DbCommunityToolNamedOwnerWhereUniqueInput
2994
+ take?: number
2995
+ skip?: number
2996
+ distinct?: Prisma.DbCommunityToolNamedOwnerScalarFieldEnum | Prisma.DbCommunityToolNamedOwnerScalarFieldEnum[]
2997
+ }
2998
+
2999
+ /**
3000
+ * DbCommunityTool.tags
3001
+ */
3002
+ export type DbCommunityTool$tagsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3003
+ /**
3004
+ * Select specific fields to fetch from the DbCommunityToolTag
3005
+ */
3006
+ select?: Prisma.DbCommunityToolTagSelect<ExtArgs> | null
3007
+ /**
3008
+ * Omit specific fields from the DbCommunityToolTag
3009
+ */
3010
+ omit?: Prisma.DbCommunityToolTagOmit<ExtArgs> | null
3011
+ /**
3012
+ * Choose, which related nodes to fetch as well
3013
+ */
3014
+ include?: Prisma.DbCommunityToolTagInclude<ExtArgs> | null
3015
+ where?: Prisma.DbCommunityToolTagWhereInput
3016
+ orderBy?: Prisma.DbCommunityToolTagOrderByWithRelationInput | Prisma.DbCommunityToolTagOrderByWithRelationInput[]
3017
+ cursor?: Prisma.DbCommunityToolTagWhereUniqueInput
3018
+ take?: number
3019
+ skip?: number
3020
+ distinct?: Prisma.DbCommunityToolTagScalarFieldEnum | Prisma.DbCommunityToolTagScalarFieldEnum[]
3021
+ }
3022
+
3023
+ /**
3024
+ * DbCommunityTool.views
3025
+ */
3026
+ export type DbCommunityTool$viewsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3027
+ /**
3028
+ * Select specific fields to fetch from the DbCommunityToolView
3029
+ */
3030
+ select?: Prisma.DbCommunityToolViewSelect<ExtArgs> | null
3031
+ /**
3032
+ * Omit specific fields from the DbCommunityToolView
3033
+ */
3034
+ omit?: Prisma.DbCommunityToolViewOmit<ExtArgs> | null
3035
+ /**
3036
+ * Choose, which related nodes to fetch as well
3037
+ */
3038
+ include?: Prisma.DbCommunityToolViewInclude<ExtArgs> | null
3039
+ where?: Prisma.DbCommunityToolViewWhereInput
3040
+ orderBy?: Prisma.DbCommunityToolViewOrderByWithRelationInput | Prisma.DbCommunityToolViewOrderByWithRelationInput[]
3041
+ cursor?: Prisma.DbCommunityToolViewWhereUniqueInput
3042
+ take?: number
3043
+ skip?: number
3044
+ distinct?: Prisma.DbCommunityToolViewScalarFieldEnum | Prisma.DbCommunityToolViewScalarFieldEnum[]
3045
+ }
3046
+
3047
+ /**
3048
+ * DbCommunityTool.pins
3049
+ */
3050
+ export type DbCommunityTool$pinsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3051
+ /**
3052
+ * Select specific fields to fetch from the DbCommunityToolPin
3053
+ */
3054
+ select?: Prisma.DbCommunityToolPinSelect<ExtArgs> | null
3055
+ /**
3056
+ * Omit specific fields from the DbCommunityToolPin
3057
+ */
3058
+ omit?: Prisma.DbCommunityToolPinOmit<ExtArgs> | null
3059
+ /**
3060
+ * Choose, which related nodes to fetch as well
3061
+ */
3062
+ include?: Prisma.DbCommunityToolPinInclude<ExtArgs> | null
3063
+ where?: Prisma.DbCommunityToolPinWhereInput
3064
+ orderBy?: Prisma.DbCommunityToolPinOrderByWithRelationInput | Prisma.DbCommunityToolPinOrderByWithRelationInput[]
3065
+ cursor?: Prisma.DbCommunityToolPinWhereUniqueInput
3066
+ take?: number
3067
+ skip?: number
3068
+ distinct?: Prisma.DbCommunityToolPinScalarFieldEnum | Prisma.DbCommunityToolPinScalarFieldEnum[]
3069
+ }
3070
+
3071
+ /**
3072
+ * DbCommunityTool.likes
3073
+ */
3074
+ export type DbCommunityTool$likesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3075
+ /**
3076
+ * Select specific fields to fetch from the DbCommunityToolLike
3077
+ */
3078
+ select?: Prisma.DbCommunityToolLikeSelect<ExtArgs> | null
3079
+ /**
3080
+ * Omit specific fields from the DbCommunityToolLike
3081
+ */
3082
+ omit?: Prisma.DbCommunityToolLikeOmit<ExtArgs> | null
3083
+ /**
3084
+ * Choose, which related nodes to fetch as well
3085
+ */
3086
+ include?: Prisma.DbCommunityToolLikeInclude<ExtArgs> | null
3087
+ where?: Prisma.DbCommunityToolLikeWhereInput
3088
+ orderBy?: Prisma.DbCommunityToolLikeOrderByWithRelationInput | Prisma.DbCommunityToolLikeOrderByWithRelationInput[]
3089
+ cursor?: Prisma.DbCommunityToolLikeWhereUniqueInput
3090
+ take?: number
3091
+ skip?: number
3092
+ distinct?: Prisma.DbCommunityToolLikeScalarFieldEnum | Prisma.DbCommunityToolLikeScalarFieldEnum[]
3093
+ }
3094
+
3095
+ /**
3096
+ * DbCommunityTool.feedback
3097
+ */
3098
+ export type DbCommunityTool$feedbackArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3099
+ /**
3100
+ * Select specific fields to fetch from the DbFeedback
3101
+ */
3102
+ select?: Prisma.DbFeedbackSelect<ExtArgs> | null
3103
+ /**
3104
+ * Omit specific fields from the DbFeedback
3105
+ */
3106
+ omit?: Prisma.DbFeedbackOmit<ExtArgs> | null
3107
+ /**
3108
+ * Choose, which related nodes to fetch as well
3109
+ */
3110
+ include?: Prisma.DbFeedbackInclude<ExtArgs> | null
3111
+ where?: Prisma.DbFeedbackWhereInput
3112
+ orderBy?: Prisma.DbFeedbackOrderByWithRelationInput | Prisma.DbFeedbackOrderByWithRelationInput[]
3113
+ cursor?: Prisma.DbFeedbackWhereUniqueInput
3114
+ take?: number
3115
+ skip?: number
3116
+ distinct?: Prisma.DbFeedbackScalarFieldEnum | Prisma.DbFeedbackScalarFieldEnum[]
3117
+ }
3118
+
3119
+ /**
3120
+ * DbCommunityTool without action
3121
+ */
3122
+ export type DbCommunityToolDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3123
+ /**
3124
+ * Select specific fields to fetch from the DbCommunityTool
3125
+ */
3126
+ select?: Prisma.DbCommunityToolSelect<ExtArgs> | null
3127
+ /**
3128
+ * Omit specific fields from the DbCommunityTool
3129
+ */
3130
+ omit?: Prisma.DbCommunityToolOmit<ExtArgs> | null
3131
+ /**
3132
+ * Choose, which related nodes to fetch as well
3133
+ */
3134
+ include?: Prisma.DbCommunityToolInclude<ExtArgs> | null
3135
+ }