@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,1313 @@
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 `DbCommunityToolLike` 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 DbCommunityToolLike
19
+ * A signed-in person liked the tool; their name is kept for "Liked by".
20
+ */
21
+ export type DbCommunityToolLikeModel = runtime.Types.Result.DefaultSelection<Prisma.$DbCommunityToolLikePayload>
22
+
23
+ export type AggregateDbCommunityToolLike = {
24
+ _count: DbCommunityToolLikeCountAggregateOutputType | null
25
+ _min: DbCommunityToolLikeMinAggregateOutputType | null
26
+ _max: DbCommunityToolLikeMaxAggregateOutputType | null
27
+ }
28
+
29
+ export type DbCommunityToolLikeMinAggregateOutputType = {
30
+ toolId: string | null
31
+ userId: string | null
32
+ userName: string | null
33
+ createdAt: Date | null
34
+ }
35
+
36
+ export type DbCommunityToolLikeMaxAggregateOutputType = {
37
+ toolId: string | null
38
+ userId: string | null
39
+ userName: string | null
40
+ createdAt: Date | null
41
+ }
42
+
43
+ export type DbCommunityToolLikeCountAggregateOutputType = {
44
+ toolId: number
45
+ userId: number
46
+ userName: number
47
+ createdAt: number
48
+ _all: number
49
+ }
50
+
51
+
52
+ export type DbCommunityToolLikeMinAggregateInputType = {
53
+ toolId?: true
54
+ userId?: true
55
+ userName?: true
56
+ createdAt?: true
57
+ }
58
+
59
+ export type DbCommunityToolLikeMaxAggregateInputType = {
60
+ toolId?: true
61
+ userId?: true
62
+ userName?: true
63
+ createdAt?: true
64
+ }
65
+
66
+ export type DbCommunityToolLikeCountAggregateInputType = {
67
+ toolId?: true
68
+ userId?: true
69
+ userName?: true
70
+ createdAt?: true
71
+ _all?: true
72
+ }
73
+
74
+ export type DbCommunityToolLikeAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
75
+ /**
76
+ * Filter which DbCommunityToolLike to aggregate.
77
+ */
78
+ where?: Prisma.DbCommunityToolLikeWhereInput
79
+ /**
80
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
81
+ *
82
+ * Determine the order of DbCommunityToolLikes to fetch.
83
+ */
84
+ orderBy?: Prisma.DbCommunityToolLikeOrderByWithRelationInput | Prisma.DbCommunityToolLikeOrderByWithRelationInput[]
85
+ /**
86
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
87
+ *
88
+ * Sets the start position
89
+ */
90
+ cursor?: Prisma.DbCommunityToolLikeWhereUniqueInput
91
+ /**
92
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
93
+ *
94
+ * Take `±n` DbCommunityToolLikes from the position of the cursor.
95
+ */
96
+ take?: number
97
+ /**
98
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
99
+ *
100
+ * Skip the first `n` DbCommunityToolLikes.
101
+ */
102
+ skip?: number
103
+ /**
104
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
105
+ *
106
+ * Count returned DbCommunityToolLikes
107
+ **/
108
+ _count?: true | DbCommunityToolLikeCountAggregateInputType
109
+ /**
110
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
111
+ *
112
+ * Select which fields to find the minimum value
113
+ **/
114
+ _min?: DbCommunityToolLikeMinAggregateInputType
115
+ /**
116
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
117
+ *
118
+ * Select which fields to find the maximum value
119
+ **/
120
+ _max?: DbCommunityToolLikeMaxAggregateInputType
121
+ }
122
+
123
+ export type GetDbCommunityToolLikeAggregateType<T extends DbCommunityToolLikeAggregateArgs> = {
124
+ [P in keyof T & keyof AggregateDbCommunityToolLike]: P extends '_count' | 'count'
125
+ ? T[P] extends true
126
+ ? number
127
+ : Prisma.GetScalarType<T[P], AggregateDbCommunityToolLike[P]>
128
+ : Prisma.GetScalarType<T[P], AggregateDbCommunityToolLike[P]>
129
+ }
130
+
131
+
132
+
133
+
134
+ export type DbCommunityToolLikeGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
135
+ where?: Prisma.DbCommunityToolLikeWhereInput
136
+ orderBy?: Prisma.DbCommunityToolLikeOrderByWithAggregationInput | Prisma.DbCommunityToolLikeOrderByWithAggregationInput[]
137
+ by: Prisma.DbCommunityToolLikeScalarFieldEnum[] | Prisma.DbCommunityToolLikeScalarFieldEnum
138
+ having?: Prisma.DbCommunityToolLikeScalarWhereWithAggregatesInput
139
+ take?: number
140
+ skip?: number
141
+ _count?: DbCommunityToolLikeCountAggregateInputType | true
142
+ _min?: DbCommunityToolLikeMinAggregateInputType
143
+ _max?: DbCommunityToolLikeMaxAggregateInputType
144
+ }
145
+
146
+ export type DbCommunityToolLikeGroupByOutputType = {
147
+ toolId: string
148
+ userId: string
149
+ userName: string
150
+ createdAt: Date
151
+ _count: DbCommunityToolLikeCountAggregateOutputType | null
152
+ _min: DbCommunityToolLikeMinAggregateOutputType | null
153
+ _max: DbCommunityToolLikeMaxAggregateOutputType | null
154
+ }
155
+
156
+ type GetDbCommunityToolLikeGroupByPayload<T extends DbCommunityToolLikeGroupByArgs> = Prisma.PrismaPromise<
157
+ Array<
158
+ Prisma.PickEnumerable<DbCommunityToolLikeGroupByOutputType, T['by']> &
159
+ {
160
+ [P in ((keyof T) & (keyof DbCommunityToolLikeGroupByOutputType))]: P extends '_count'
161
+ ? T[P] extends boolean
162
+ ? number
163
+ : Prisma.GetScalarType<T[P], DbCommunityToolLikeGroupByOutputType[P]>
164
+ : Prisma.GetScalarType<T[P], DbCommunityToolLikeGroupByOutputType[P]>
165
+ }
166
+ >
167
+ >
168
+
169
+
170
+
171
+ export type DbCommunityToolLikeWhereInput = {
172
+ AND?: Prisma.DbCommunityToolLikeWhereInput | Prisma.DbCommunityToolLikeWhereInput[]
173
+ OR?: Prisma.DbCommunityToolLikeWhereInput[]
174
+ NOT?: Prisma.DbCommunityToolLikeWhereInput | Prisma.DbCommunityToolLikeWhereInput[]
175
+ toolId?: Prisma.StringFilter<"DbCommunityToolLike"> | string
176
+ userId?: Prisma.StringFilter<"DbCommunityToolLike"> | string
177
+ userName?: Prisma.StringFilter<"DbCommunityToolLike"> | string
178
+ createdAt?: Prisma.DateTimeFilter<"DbCommunityToolLike"> | Date | string
179
+ tool?: Prisma.XOR<Prisma.DbCommunityToolScalarRelationFilter, Prisma.DbCommunityToolWhereInput>
180
+ }
181
+
182
+ export type DbCommunityToolLikeOrderByWithRelationInput = {
183
+ toolId?: Prisma.SortOrder
184
+ userId?: Prisma.SortOrder
185
+ userName?: Prisma.SortOrder
186
+ createdAt?: Prisma.SortOrder
187
+ tool?: Prisma.DbCommunityToolOrderByWithRelationInput
188
+ }
189
+
190
+ export type DbCommunityToolLikeWhereUniqueInput = Prisma.AtLeast<{
191
+ toolId_userId?: Prisma.DbCommunityToolLikeToolIdUserIdCompoundUniqueInput
192
+ AND?: Prisma.DbCommunityToolLikeWhereInput | Prisma.DbCommunityToolLikeWhereInput[]
193
+ OR?: Prisma.DbCommunityToolLikeWhereInput[]
194
+ NOT?: Prisma.DbCommunityToolLikeWhereInput | Prisma.DbCommunityToolLikeWhereInput[]
195
+ toolId?: Prisma.StringFilter<"DbCommunityToolLike"> | string
196
+ userId?: Prisma.StringFilter<"DbCommunityToolLike"> | string
197
+ userName?: Prisma.StringFilter<"DbCommunityToolLike"> | string
198
+ createdAt?: Prisma.DateTimeFilter<"DbCommunityToolLike"> | Date | string
199
+ tool?: Prisma.XOR<Prisma.DbCommunityToolScalarRelationFilter, Prisma.DbCommunityToolWhereInput>
200
+ }, "toolId_userId">
201
+
202
+ export type DbCommunityToolLikeOrderByWithAggregationInput = {
203
+ toolId?: Prisma.SortOrder
204
+ userId?: Prisma.SortOrder
205
+ userName?: Prisma.SortOrder
206
+ createdAt?: Prisma.SortOrder
207
+ _count?: Prisma.DbCommunityToolLikeCountOrderByAggregateInput
208
+ _max?: Prisma.DbCommunityToolLikeMaxOrderByAggregateInput
209
+ _min?: Prisma.DbCommunityToolLikeMinOrderByAggregateInput
210
+ }
211
+
212
+ export type DbCommunityToolLikeScalarWhereWithAggregatesInput = {
213
+ AND?: Prisma.DbCommunityToolLikeScalarWhereWithAggregatesInput | Prisma.DbCommunityToolLikeScalarWhereWithAggregatesInput[]
214
+ OR?: Prisma.DbCommunityToolLikeScalarWhereWithAggregatesInput[]
215
+ NOT?: Prisma.DbCommunityToolLikeScalarWhereWithAggregatesInput | Prisma.DbCommunityToolLikeScalarWhereWithAggregatesInput[]
216
+ toolId?: Prisma.StringWithAggregatesFilter<"DbCommunityToolLike"> | string
217
+ userId?: Prisma.StringWithAggregatesFilter<"DbCommunityToolLike"> | string
218
+ userName?: Prisma.StringWithAggregatesFilter<"DbCommunityToolLike"> | string
219
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"DbCommunityToolLike"> | Date | string
220
+ }
221
+
222
+ export type DbCommunityToolLikeCreateInput = {
223
+ userId: string
224
+ userName: string
225
+ createdAt?: Date | string
226
+ tool: Prisma.DbCommunityToolCreateNestedOneWithoutLikesInput
227
+ }
228
+
229
+ export type DbCommunityToolLikeUncheckedCreateInput = {
230
+ toolId: string
231
+ userId: string
232
+ userName: string
233
+ createdAt?: Date | string
234
+ }
235
+
236
+ export type DbCommunityToolLikeUpdateInput = {
237
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
238
+ userName?: Prisma.StringFieldUpdateOperationsInput | string
239
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
240
+ tool?: Prisma.DbCommunityToolUpdateOneRequiredWithoutLikesNestedInput
241
+ }
242
+
243
+ export type DbCommunityToolLikeUncheckedUpdateInput = {
244
+ toolId?: Prisma.StringFieldUpdateOperationsInput | string
245
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
246
+ userName?: Prisma.StringFieldUpdateOperationsInput | string
247
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
248
+ }
249
+
250
+ export type DbCommunityToolLikeCreateManyInput = {
251
+ toolId: string
252
+ userId: string
253
+ userName: string
254
+ createdAt?: Date | string
255
+ }
256
+
257
+ export type DbCommunityToolLikeUpdateManyMutationInput = {
258
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
259
+ userName?: Prisma.StringFieldUpdateOperationsInput | string
260
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
261
+ }
262
+
263
+ export type DbCommunityToolLikeUncheckedUpdateManyInput = {
264
+ toolId?: Prisma.StringFieldUpdateOperationsInput | string
265
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
266
+ userName?: Prisma.StringFieldUpdateOperationsInput | string
267
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
268
+ }
269
+
270
+ export type DbCommunityToolLikeListRelationFilter = {
271
+ every?: Prisma.DbCommunityToolLikeWhereInput
272
+ some?: Prisma.DbCommunityToolLikeWhereInput
273
+ none?: Prisma.DbCommunityToolLikeWhereInput
274
+ }
275
+
276
+ export type DbCommunityToolLikeOrderByRelationAggregateInput = {
277
+ _count?: Prisma.SortOrder
278
+ }
279
+
280
+ export type DbCommunityToolLikeToolIdUserIdCompoundUniqueInput = {
281
+ toolId: string
282
+ userId: string
283
+ }
284
+
285
+ export type DbCommunityToolLikeCountOrderByAggregateInput = {
286
+ toolId?: Prisma.SortOrder
287
+ userId?: Prisma.SortOrder
288
+ userName?: Prisma.SortOrder
289
+ createdAt?: Prisma.SortOrder
290
+ }
291
+
292
+ export type DbCommunityToolLikeMaxOrderByAggregateInput = {
293
+ toolId?: Prisma.SortOrder
294
+ userId?: Prisma.SortOrder
295
+ userName?: Prisma.SortOrder
296
+ createdAt?: Prisma.SortOrder
297
+ }
298
+
299
+ export type DbCommunityToolLikeMinOrderByAggregateInput = {
300
+ toolId?: Prisma.SortOrder
301
+ userId?: Prisma.SortOrder
302
+ userName?: Prisma.SortOrder
303
+ createdAt?: Prisma.SortOrder
304
+ }
305
+
306
+ export type DbCommunityToolLikeCreateNestedManyWithoutToolInput = {
307
+ create?: Prisma.XOR<Prisma.DbCommunityToolLikeCreateWithoutToolInput, Prisma.DbCommunityToolLikeUncheckedCreateWithoutToolInput> | Prisma.DbCommunityToolLikeCreateWithoutToolInput[] | Prisma.DbCommunityToolLikeUncheckedCreateWithoutToolInput[]
308
+ connectOrCreate?: Prisma.DbCommunityToolLikeCreateOrConnectWithoutToolInput | Prisma.DbCommunityToolLikeCreateOrConnectWithoutToolInput[]
309
+ createMany?: Prisma.DbCommunityToolLikeCreateManyToolInputEnvelope
310
+ connect?: Prisma.DbCommunityToolLikeWhereUniqueInput | Prisma.DbCommunityToolLikeWhereUniqueInput[]
311
+ }
312
+
313
+ export type DbCommunityToolLikeUncheckedCreateNestedManyWithoutToolInput = {
314
+ create?: Prisma.XOR<Prisma.DbCommunityToolLikeCreateWithoutToolInput, Prisma.DbCommunityToolLikeUncheckedCreateWithoutToolInput> | Prisma.DbCommunityToolLikeCreateWithoutToolInput[] | Prisma.DbCommunityToolLikeUncheckedCreateWithoutToolInput[]
315
+ connectOrCreate?: Prisma.DbCommunityToolLikeCreateOrConnectWithoutToolInput | Prisma.DbCommunityToolLikeCreateOrConnectWithoutToolInput[]
316
+ createMany?: Prisma.DbCommunityToolLikeCreateManyToolInputEnvelope
317
+ connect?: Prisma.DbCommunityToolLikeWhereUniqueInput | Prisma.DbCommunityToolLikeWhereUniqueInput[]
318
+ }
319
+
320
+ export type DbCommunityToolLikeUpdateManyWithoutToolNestedInput = {
321
+ create?: Prisma.XOR<Prisma.DbCommunityToolLikeCreateWithoutToolInput, Prisma.DbCommunityToolLikeUncheckedCreateWithoutToolInput> | Prisma.DbCommunityToolLikeCreateWithoutToolInput[] | Prisma.DbCommunityToolLikeUncheckedCreateWithoutToolInput[]
322
+ connectOrCreate?: Prisma.DbCommunityToolLikeCreateOrConnectWithoutToolInput | Prisma.DbCommunityToolLikeCreateOrConnectWithoutToolInput[]
323
+ upsert?: Prisma.DbCommunityToolLikeUpsertWithWhereUniqueWithoutToolInput | Prisma.DbCommunityToolLikeUpsertWithWhereUniqueWithoutToolInput[]
324
+ createMany?: Prisma.DbCommunityToolLikeCreateManyToolInputEnvelope
325
+ set?: Prisma.DbCommunityToolLikeWhereUniqueInput | Prisma.DbCommunityToolLikeWhereUniqueInput[]
326
+ disconnect?: Prisma.DbCommunityToolLikeWhereUniqueInput | Prisma.DbCommunityToolLikeWhereUniqueInput[]
327
+ delete?: Prisma.DbCommunityToolLikeWhereUniqueInput | Prisma.DbCommunityToolLikeWhereUniqueInput[]
328
+ connect?: Prisma.DbCommunityToolLikeWhereUniqueInput | Prisma.DbCommunityToolLikeWhereUniqueInput[]
329
+ update?: Prisma.DbCommunityToolLikeUpdateWithWhereUniqueWithoutToolInput | Prisma.DbCommunityToolLikeUpdateWithWhereUniqueWithoutToolInput[]
330
+ updateMany?: Prisma.DbCommunityToolLikeUpdateManyWithWhereWithoutToolInput | Prisma.DbCommunityToolLikeUpdateManyWithWhereWithoutToolInput[]
331
+ deleteMany?: Prisma.DbCommunityToolLikeScalarWhereInput | Prisma.DbCommunityToolLikeScalarWhereInput[]
332
+ }
333
+
334
+ export type DbCommunityToolLikeUncheckedUpdateManyWithoutToolNestedInput = {
335
+ create?: Prisma.XOR<Prisma.DbCommunityToolLikeCreateWithoutToolInput, Prisma.DbCommunityToolLikeUncheckedCreateWithoutToolInput> | Prisma.DbCommunityToolLikeCreateWithoutToolInput[] | Prisma.DbCommunityToolLikeUncheckedCreateWithoutToolInput[]
336
+ connectOrCreate?: Prisma.DbCommunityToolLikeCreateOrConnectWithoutToolInput | Prisma.DbCommunityToolLikeCreateOrConnectWithoutToolInput[]
337
+ upsert?: Prisma.DbCommunityToolLikeUpsertWithWhereUniqueWithoutToolInput | Prisma.DbCommunityToolLikeUpsertWithWhereUniqueWithoutToolInput[]
338
+ createMany?: Prisma.DbCommunityToolLikeCreateManyToolInputEnvelope
339
+ set?: Prisma.DbCommunityToolLikeWhereUniqueInput | Prisma.DbCommunityToolLikeWhereUniqueInput[]
340
+ disconnect?: Prisma.DbCommunityToolLikeWhereUniqueInput | Prisma.DbCommunityToolLikeWhereUniqueInput[]
341
+ delete?: Prisma.DbCommunityToolLikeWhereUniqueInput | Prisma.DbCommunityToolLikeWhereUniqueInput[]
342
+ connect?: Prisma.DbCommunityToolLikeWhereUniqueInput | Prisma.DbCommunityToolLikeWhereUniqueInput[]
343
+ update?: Prisma.DbCommunityToolLikeUpdateWithWhereUniqueWithoutToolInput | Prisma.DbCommunityToolLikeUpdateWithWhereUniqueWithoutToolInput[]
344
+ updateMany?: Prisma.DbCommunityToolLikeUpdateManyWithWhereWithoutToolInput | Prisma.DbCommunityToolLikeUpdateManyWithWhereWithoutToolInput[]
345
+ deleteMany?: Prisma.DbCommunityToolLikeScalarWhereInput | Prisma.DbCommunityToolLikeScalarWhereInput[]
346
+ }
347
+
348
+ export type DbCommunityToolLikeCreateWithoutToolInput = {
349
+ userId: string
350
+ userName: string
351
+ createdAt?: Date | string
352
+ }
353
+
354
+ export type DbCommunityToolLikeUncheckedCreateWithoutToolInput = {
355
+ userId: string
356
+ userName: string
357
+ createdAt?: Date | string
358
+ }
359
+
360
+ export type DbCommunityToolLikeCreateOrConnectWithoutToolInput = {
361
+ where: Prisma.DbCommunityToolLikeWhereUniqueInput
362
+ create: Prisma.XOR<Prisma.DbCommunityToolLikeCreateWithoutToolInput, Prisma.DbCommunityToolLikeUncheckedCreateWithoutToolInput>
363
+ }
364
+
365
+ export type DbCommunityToolLikeCreateManyToolInputEnvelope = {
366
+ data: Prisma.DbCommunityToolLikeCreateManyToolInput | Prisma.DbCommunityToolLikeCreateManyToolInput[]
367
+ skipDuplicates?: boolean
368
+ }
369
+
370
+ export type DbCommunityToolLikeUpsertWithWhereUniqueWithoutToolInput = {
371
+ where: Prisma.DbCommunityToolLikeWhereUniqueInput
372
+ update: Prisma.XOR<Prisma.DbCommunityToolLikeUpdateWithoutToolInput, Prisma.DbCommunityToolLikeUncheckedUpdateWithoutToolInput>
373
+ create: Prisma.XOR<Prisma.DbCommunityToolLikeCreateWithoutToolInput, Prisma.DbCommunityToolLikeUncheckedCreateWithoutToolInput>
374
+ }
375
+
376
+ export type DbCommunityToolLikeUpdateWithWhereUniqueWithoutToolInput = {
377
+ where: Prisma.DbCommunityToolLikeWhereUniqueInput
378
+ data: Prisma.XOR<Prisma.DbCommunityToolLikeUpdateWithoutToolInput, Prisma.DbCommunityToolLikeUncheckedUpdateWithoutToolInput>
379
+ }
380
+
381
+ export type DbCommunityToolLikeUpdateManyWithWhereWithoutToolInput = {
382
+ where: Prisma.DbCommunityToolLikeScalarWhereInput
383
+ data: Prisma.XOR<Prisma.DbCommunityToolLikeUpdateManyMutationInput, Prisma.DbCommunityToolLikeUncheckedUpdateManyWithoutToolInput>
384
+ }
385
+
386
+ export type DbCommunityToolLikeScalarWhereInput = {
387
+ AND?: Prisma.DbCommunityToolLikeScalarWhereInput | Prisma.DbCommunityToolLikeScalarWhereInput[]
388
+ OR?: Prisma.DbCommunityToolLikeScalarWhereInput[]
389
+ NOT?: Prisma.DbCommunityToolLikeScalarWhereInput | Prisma.DbCommunityToolLikeScalarWhereInput[]
390
+ toolId?: Prisma.StringFilter<"DbCommunityToolLike"> | string
391
+ userId?: Prisma.StringFilter<"DbCommunityToolLike"> | string
392
+ userName?: Prisma.StringFilter<"DbCommunityToolLike"> | string
393
+ createdAt?: Prisma.DateTimeFilter<"DbCommunityToolLike"> | Date | string
394
+ }
395
+
396
+ export type DbCommunityToolLikeCreateManyToolInput = {
397
+ userId: string
398
+ userName: string
399
+ createdAt?: Date | string
400
+ }
401
+
402
+ export type DbCommunityToolLikeUpdateWithoutToolInput = {
403
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
404
+ userName?: Prisma.StringFieldUpdateOperationsInput | string
405
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
406
+ }
407
+
408
+ export type DbCommunityToolLikeUncheckedUpdateWithoutToolInput = {
409
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
410
+ userName?: Prisma.StringFieldUpdateOperationsInput | string
411
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
412
+ }
413
+
414
+ export type DbCommunityToolLikeUncheckedUpdateManyWithoutToolInput = {
415
+ userId?: Prisma.StringFieldUpdateOperationsInput | string
416
+ userName?: Prisma.StringFieldUpdateOperationsInput | string
417
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
418
+ }
419
+
420
+
421
+
422
+ export type DbCommunityToolLikeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
423
+ toolId?: boolean
424
+ userId?: boolean
425
+ userName?: boolean
426
+ createdAt?: boolean
427
+ tool?: boolean | Prisma.DbCommunityToolDefaultArgs<ExtArgs>
428
+ }, ExtArgs["result"]["dbCommunityToolLike"]>
429
+
430
+ export type DbCommunityToolLikeSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
431
+ toolId?: boolean
432
+ userId?: boolean
433
+ userName?: boolean
434
+ createdAt?: boolean
435
+ tool?: boolean | Prisma.DbCommunityToolDefaultArgs<ExtArgs>
436
+ }, ExtArgs["result"]["dbCommunityToolLike"]>
437
+
438
+ export type DbCommunityToolLikeSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
439
+ toolId?: boolean
440
+ userId?: boolean
441
+ userName?: boolean
442
+ createdAt?: boolean
443
+ tool?: boolean | Prisma.DbCommunityToolDefaultArgs<ExtArgs>
444
+ }, ExtArgs["result"]["dbCommunityToolLike"]>
445
+
446
+ export type DbCommunityToolLikeSelectScalar = {
447
+ toolId?: boolean
448
+ userId?: boolean
449
+ userName?: boolean
450
+ createdAt?: boolean
451
+ }
452
+
453
+ export type DbCommunityToolLikeOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"toolId" | "userId" | "userName" | "createdAt", ExtArgs["result"]["dbCommunityToolLike"]>
454
+ export type DbCommunityToolLikeInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
455
+ tool?: boolean | Prisma.DbCommunityToolDefaultArgs<ExtArgs>
456
+ }
457
+ export type DbCommunityToolLikeIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
458
+ tool?: boolean | Prisma.DbCommunityToolDefaultArgs<ExtArgs>
459
+ }
460
+ export type DbCommunityToolLikeIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
461
+ tool?: boolean | Prisma.DbCommunityToolDefaultArgs<ExtArgs>
462
+ }
463
+
464
+ export type $DbCommunityToolLikePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
465
+ name: "DbCommunityToolLike"
466
+ objects: {
467
+ tool: Prisma.$DbCommunityToolPayload<ExtArgs>
468
+ }
469
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
470
+ toolId: string
471
+ userId: string
472
+ userName: string
473
+ createdAt: Date
474
+ }, ExtArgs["result"]["dbCommunityToolLike"]>
475
+ composites: {}
476
+ }
477
+
478
+ export type DbCommunityToolLikeGetPayload<S extends boolean | null | undefined | DbCommunityToolLikeDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$DbCommunityToolLikePayload, S>
479
+
480
+ export type DbCommunityToolLikeCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
481
+ Omit<DbCommunityToolLikeFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
482
+ select?: DbCommunityToolLikeCountAggregateInputType | true
483
+ }
484
+
485
+ export interface DbCommunityToolLikeDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
486
+ [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['DbCommunityToolLike'], meta: { name: 'DbCommunityToolLike' } }
487
+ /**
488
+ * Find zero or one DbCommunityToolLike that matches the filter.
489
+ * @param {DbCommunityToolLikeFindUniqueArgs} args - Arguments to find a DbCommunityToolLike
490
+ * @example
491
+ * // Get one DbCommunityToolLike
492
+ * const dbCommunityToolLike = await prisma.dbCommunityToolLike.findUnique({
493
+ * where: {
494
+ * // ... provide filter here
495
+ * }
496
+ * })
497
+ */
498
+ findUnique<T extends DbCommunityToolLikeFindUniqueArgs>(args: Prisma.SelectSubset<T, DbCommunityToolLikeFindUniqueArgs<ExtArgs>>): Prisma.Prisma__DbCommunityToolLikeClient<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolLikePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
499
+
500
+ /**
501
+ * Find one DbCommunityToolLike that matches the filter or throw an error with `error.code='P2025'`
502
+ * if no matches were found.
503
+ * @param {DbCommunityToolLikeFindUniqueOrThrowArgs} args - Arguments to find a DbCommunityToolLike
504
+ * @example
505
+ * // Get one DbCommunityToolLike
506
+ * const dbCommunityToolLike = await prisma.dbCommunityToolLike.findUniqueOrThrow({
507
+ * where: {
508
+ * // ... provide filter here
509
+ * }
510
+ * })
511
+ */
512
+ findUniqueOrThrow<T extends DbCommunityToolLikeFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, DbCommunityToolLikeFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__DbCommunityToolLikeClient<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolLikePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
513
+
514
+ /**
515
+ * Find the first DbCommunityToolLike that matches the filter.
516
+ * Note, that providing `undefined` is treated as the value not being there.
517
+ * Read more here: https://pris.ly/d/null-undefined
518
+ * @param {DbCommunityToolLikeFindFirstArgs} args - Arguments to find a DbCommunityToolLike
519
+ * @example
520
+ * // Get one DbCommunityToolLike
521
+ * const dbCommunityToolLike = await prisma.dbCommunityToolLike.findFirst({
522
+ * where: {
523
+ * // ... provide filter here
524
+ * }
525
+ * })
526
+ */
527
+ findFirst<T extends DbCommunityToolLikeFindFirstArgs>(args?: Prisma.SelectSubset<T, DbCommunityToolLikeFindFirstArgs<ExtArgs>>): Prisma.Prisma__DbCommunityToolLikeClient<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolLikePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
528
+
529
+ /**
530
+ * Find the first DbCommunityToolLike that matches the filter or
531
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
532
+ * Note, that providing `undefined` is treated as the value not being there.
533
+ * Read more here: https://pris.ly/d/null-undefined
534
+ * @param {DbCommunityToolLikeFindFirstOrThrowArgs} args - Arguments to find a DbCommunityToolLike
535
+ * @example
536
+ * // Get one DbCommunityToolLike
537
+ * const dbCommunityToolLike = await prisma.dbCommunityToolLike.findFirstOrThrow({
538
+ * where: {
539
+ * // ... provide filter here
540
+ * }
541
+ * })
542
+ */
543
+ findFirstOrThrow<T extends DbCommunityToolLikeFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, DbCommunityToolLikeFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__DbCommunityToolLikeClient<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolLikePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
544
+
545
+ /**
546
+ * Find zero or more DbCommunityToolLikes that matches the filter.
547
+ * Note, that providing `undefined` is treated as the value not being there.
548
+ * Read more here: https://pris.ly/d/null-undefined
549
+ * @param {DbCommunityToolLikeFindManyArgs} args - Arguments to filter and select certain fields only.
550
+ * @example
551
+ * // Get all DbCommunityToolLikes
552
+ * const dbCommunityToolLikes = await prisma.dbCommunityToolLike.findMany()
553
+ *
554
+ * // Get first 10 DbCommunityToolLikes
555
+ * const dbCommunityToolLikes = await prisma.dbCommunityToolLike.findMany({ take: 10 })
556
+ *
557
+ * // Only select the `toolId`
558
+ * const dbCommunityToolLikeWithToolIdOnly = await prisma.dbCommunityToolLike.findMany({ select: { toolId: true } })
559
+ *
560
+ */
561
+ findMany<T extends DbCommunityToolLikeFindManyArgs>(args?: Prisma.SelectSubset<T, DbCommunityToolLikeFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolLikePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
562
+
563
+ /**
564
+ * Create a DbCommunityToolLike.
565
+ * @param {DbCommunityToolLikeCreateArgs} args - Arguments to create a DbCommunityToolLike.
566
+ * @example
567
+ * // Create one DbCommunityToolLike
568
+ * const DbCommunityToolLike = await prisma.dbCommunityToolLike.create({
569
+ * data: {
570
+ * // ... data to create a DbCommunityToolLike
571
+ * }
572
+ * })
573
+ *
574
+ */
575
+ create<T extends DbCommunityToolLikeCreateArgs>(args: Prisma.SelectSubset<T, DbCommunityToolLikeCreateArgs<ExtArgs>>): Prisma.Prisma__DbCommunityToolLikeClient<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolLikePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
576
+
577
+ /**
578
+ * Create many DbCommunityToolLikes.
579
+ * @param {DbCommunityToolLikeCreateManyArgs} args - Arguments to create many DbCommunityToolLikes.
580
+ * @example
581
+ * // Create many DbCommunityToolLikes
582
+ * const dbCommunityToolLike = await prisma.dbCommunityToolLike.createMany({
583
+ * data: [
584
+ * // ... provide data here
585
+ * ]
586
+ * })
587
+ *
588
+ */
589
+ createMany<T extends DbCommunityToolLikeCreateManyArgs>(args?: Prisma.SelectSubset<T, DbCommunityToolLikeCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
590
+
591
+ /**
592
+ * Create many DbCommunityToolLikes and returns the data saved in the database.
593
+ * @param {DbCommunityToolLikeCreateManyAndReturnArgs} args - Arguments to create many DbCommunityToolLikes.
594
+ * @example
595
+ * // Create many DbCommunityToolLikes
596
+ * const dbCommunityToolLike = await prisma.dbCommunityToolLike.createManyAndReturn({
597
+ * data: [
598
+ * // ... provide data here
599
+ * ]
600
+ * })
601
+ *
602
+ * // Create many DbCommunityToolLikes and only return the `toolId`
603
+ * const dbCommunityToolLikeWithToolIdOnly = await prisma.dbCommunityToolLike.createManyAndReturn({
604
+ * select: { toolId: true },
605
+ * data: [
606
+ * // ... provide data here
607
+ * ]
608
+ * })
609
+ * Note, that providing `undefined` is treated as the value not being there.
610
+ * Read more here: https://pris.ly/d/null-undefined
611
+ *
612
+ */
613
+ createManyAndReturn<T extends DbCommunityToolLikeCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, DbCommunityToolLikeCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolLikePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
614
+
615
+ /**
616
+ * Delete a DbCommunityToolLike.
617
+ * @param {DbCommunityToolLikeDeleteArgs} args - Arguments to delete one DbCommunityToolLike.
618
+ * @example
619
+ * // Delete one DbCommunityToolLike
620
+ * const DbCommunityToolLike = await prisma.dbCommunityToolLike.delete({
621
+ * where: {
622
+ * // ... filter to delete one DbCommunityToolLike
623
+ * }
624
+ * })
625
+ *
626
+ */
627
+ delete<T extends DbCommunityToolLikeDeleteArgs>(args: Prisma.SelectSubset<T, DbCommunityToolLikeDeleteArgs<ExtArgs>>): Prisma.Prisma__DbCommunityToolLikeClient<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolLikePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
628
+
629
+ /**
630
+ * Update one DbCommunityToolLike.
631
+ * @param {DbCommunityToolLikeUpdateArgs} args - Arguments to update one DbCommunityToolLike.
632
+ * @example
633
+ * // Update one DbCommunityToolLike
634
+ * const dbCommunityToolLike = await prisma.dbCommunityToolLike.update({
635
+ * where: {
636
+ * // ... provide filter here
637
+ * },
638
+ * data: {
639
+ * // ... provide data here
640
+ * }
641
+ * })
642
+ *
643
+ */
644
+ update<T extends DbCommunityToolLikeUpdateArgs>(args: Prisma.SelectSubset<T, DbCommunityToolLikeUpdateArgs<ExtArgs>>): Prisma.Prisma__DbCommunityToolLikeClient<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolLikePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
645
+
646
+ /**
647
+ * Delete zero or more DbCommunityToolLikes.
648
+ * @param {DbCommunityToolLikeDeleteManyArgs} args - Arguments to filter DbCommunityToolLikes to delete.
649
+ * @example
650
+ * // Delete a few DbCommunityToolLikes
651
+ * const { count } = await prisma.dbCommunityToolLike.deleteMany({
652
+ * where: {
653
+ * // ... provide filter here
654
+ * }
655
+ * })
656
+ *
657
+ */
658
+ deleteMany<T extends DbCommunityToolLikeDeleteManyArgs>(args?: Prisma.SelectSubset<T, DbCommunityToolLikeDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
659
+
660
+ /**
661
+ * Update zero or more DbCommunityToolLikes.
662
+ * Note, that providing `undefined` is treated as the value not being there.
663
+ * Read more here: https://pris.ly/d/null-undefined
664
+ * @param {DbCommunityToolLikeUpdateManyArgs} args - Arguments to update one or more rows.
665
+ * @example
666
+ * // Update many DbCommunityToolLikes
667
+ * const dbCommunityToolLike = await prisma.dbCommunityToolLike.updateMany({
668
+ * where: {
669
+ * // ... provide filter here
670
+ * },
671
+ * data: {
672
+ * // ... provide data here
673
+ * }
674
+ * })
675
+ *
676
+ */
677
+ updateMany<T extends DbCommunityToolLikeUpdateManyArgs>(args: Prisma.SelectSubset<T, DbCommunityToolLikeUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
678
+
679
+ /**
680
+ * Update zero or more DbCommunityToolLikes and returns the data updated in the database.
681
+ * @param {DbCommunityToolLikeUpdateManyAndReturnArgs} args - Arguments to update many DbCommunityToolLikes.
682
+ * @example
683
+ * // Update many DbCommunityToolLikes
684
+ * const dbCommunityToolLike = await prisma.dbCommunityToolLike.updateManyAndReturn({
685
+ * where: {
686
+ * // ... provide filter here
687
+ * },
688
+ * data: [
689
+ * // ... provide data here
690
+ * ]
691
+ * })
692
+ *
693
+ * // Update zero or more DbCommunityToolLikes and only return the `toolId`
694
+ * const dbCommunityToolLikeWithToolIdOnly = await prisma.dbCommunityToolLike.updateManyAndReturn({
695
+ * select: { toolId: true },
696
+ * where: {
697
+ * // ... provide filter here
698
+ * },
699
+ * data: [
700
+ * // ... provide data here
701
+ * ]
702
+ * })
703
+ * Note, that providing `undefined` is treated as the value not being there.
704
+ * Read more here: https://pris.ly/d/null-undefined
705
+ *
706
+ */
707
+ updateManyAndReturn<T extends DbCommunityToolLikeUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, DbCommunityToolLikeUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolLikePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
708
+
709
+ /**
710
+ * Create or update one DbCommunityToolLike.
711
+ * @param {DbCommunityToolLikeUpsertArgs} args - Arguments to update or create a DbCommunityToolLike.
712
+ * @example
713
+ * // Update or create a DbCommunityToolLike
714
+ * const dbCommunityToolLike = await prisma.dbCommunityToolLike.upsert({
715
+ * create: {
716
+ * // ... data to create a DbCommunityToolLike
717
+ * },
718
+ * update: {
719
+ * // ... in case it already exists, update
720
+ * },
721
+ * where: {
722
+ * // ... the filter for the DbCommunityToolLike we want to update
723
+ * }
724
+ * })
725
+ */
726
+ upsert<T extends DbCommunityToolLikeUpsertArgs>(args: Prisma.SelectSubset<T, DbCommunityToolLikeUpsertArgs<ExtArgs>>): Prisma.Prisma__DbCommunityToolLikeClient<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolLikePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
727
+
728
+
729
+ /**
730
+ * Count the number of DbCommunityToolLikes.
731
+ * Note, that providing `undefined` is treated as the value not being there.
732
+ * Read more here: https://pris.ly/d/null-undefined
733
+ * @param {DbCommunityToolLikeCountArgs} args - Arguments to filter DbCommunityToolLikes to count.
734
+ * @example
735
+ * // Count the number of DbCommunityToolLikes
736
+ * const count = await prisma.dbCommunityToolLike.count({
737
+ * where: {
738
+ * // ... the filter for the DbCommunityToolLikes we want to count
739
+ * }
740
+ * })
741
+ **/
742
+ count<T extends DbCommunityToolLikeCountArgs>(
743
+ args?: Prisma.Subset<T, DbCommunityToolLikeCountArgs>,
744
+ ): Prisma.PrismaPromise<
745
+ T extends runtime.Types.Utils.Record<'select', any>
746
+ ? T['select'] extends true
747
+ ? number
748
+ : Prisma.GetScalarType<T['select'], DbCommunityToolLikeCountAggregateOutputType>
749
+ : number
750
+ >
751
+
752
+ /**
753
+ * Allows you to perform aggregations operations on a DbCommunityToolLike.
754
+ * Note, that providing `undefined` is treated as the value not being there.
755
+ * Read more here: https://pris.ly/d/null-undefined
756
+ * @param {DbCommunityToolLikeAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
757
+ * @example
758
+ * // Ordered by age ascending
759
+ * // Where email contains prisma.io
760
+ * // Limited to the 10 users
761
+ * const aggregations = await prisma.user.aggregate({
762
+ * _avg: {
763
+ * age: true,
764
+ * },
765
+ * where: {
766
+ * email: {
767
+ * contains: "prisma.io",
768
+ * },
769
+ * },
770
+ * orderBy: {
771
+ * age: "asc",
772
+ * },
773
+ * take: 10,
774
+ * })
775
+ **/
776
+ aggregate<T extends DbCommunityToolLikeAggregateArgs>(args: Prisma.Subset<T, DbCommunityToolLikeAggregateArgs>): Prisma.PrismaPromise<GetDbCommunityToolLikeAggregateType<T>>
777
+
778
+ /**
779
+ * Group by DbCommunityToolLike.
780
+ * Note, that providing `undefined` is treated as the value not being there.
781
+ * Read more here: https://pris.ly/d/null-undefined
782
+ * @param {DbCommunityToolLikeGroupByArgs} args - Group by arguments.
783
+ * @example
784
+ * // Group by city, order by createdAt, get count
785
+ * const result = await prisma.user.groupBy({
786
+ * by: ['city', 'createdAt'],
787
+ * orderBy: {
788
+ * createdAt: true
789
+ * },
790
+ * _count: {
791
+ * _all: true
792
+ * },
793
+ * })
794
+ *
795
+ **/
796
+ groupBy<
797
+ T extends DbCommunityToolLikeGroupByArgs,
798
+ HasSelectOrTake extends Prisma.Or<
799
+ Prisma.Extends<'skip', Prisma.Keys<T>>,
800
+ Prisma.Extends<'take', Prisma.Keys<T>>
801
+ >,
802
+ OrderByArg extends Prisma.True extends HasSelectOrTake
803
+ ? { orderBy: DbCommunityToolLikeGroupByArgs['orderBy'] }
804
+ : { orderBy?: DbCommunityToolLikeGroupByArgs['orderBy'] },
805
+ OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
806
+ ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
807
+ ByValid extends Prisma.Has<ByFields, OrderFields>,
808
+ HavingFields extends Prisma.GetHavingFields<T['having']>,
809
+ HavingValid extends Prisma.Has<ByFields, HavingFields>,
810
+ ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
811
+ InputErrors extends ByEmpty extends Prisma.True
812
+ ? `Error: "by" must not be empty.`
813
+ : HavingValid extends Prisma.False
814
+ ? {
815
+ [P in HavingFields]: P extends ByFields
816
+ ? never
817
+ : P extends string
818
+ ? `Error: Field "${P}" used in "having" needs to be provided in "by".`
819
+ : [
820
+ Error,
821
+ 'Field ',
822
+ P,
823
+ ` in "having" needs to be provided in "by"`,
824
+ ]
825
+ }[HavingFields]
826
+ : 'take' extends Prisma.Keys<T>
827
+ ? 'orderBy' extends Prisma.Keys<T>
828
+ ? ByValid extends Prisma.True
829
+ ? {}
830
+ : {
831
+ [P in OrderFields]: P extends ByFields
832
+ ? never
833
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
834
+ }[OrderFields]
835
+ : 'Error: If you provide "take", you also need to provide "orderBy"'
836
+ : 'skip' extends Prisma.Keys<T>
837
+ ? 'orderBy' extends Prisma.Keys<T>
838
+ ? ByValid extends Prisma.True
839
+ ? {}
840
+ : {
841
+ [P in OrderFields]: P extends ByFields
842
+ ? never
843
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
844
+ }[OrderFields]
845
+ : 'Error: If you provide "skip", you also need to provide "orderBy"'
846
+ : ByValid extends Prisma.True
847
+ ? {}
848
+ : {
849
+ [P in OrderFields]: P extends ByFields
850
+ ? never
851
+ : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
852
+ }[OrderFields]
853
+ >(args: Prisma.SubsetIntersection<T, DbCommunityToolLikeGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDbCommunityToolLikeGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
854
+ /**
855
+ * Fields of the DbCommunityToolLike model
856
+ */
857
+ readonly fields: DbCommunityToolLikeFieldRefs;
858
+ }
859
+
860
+ /**
861
+ * The delegate class that acts as a "Promise-like" for DbCommunityToolLike.
862
+ * Why is this prefixed with `Prisma__`?
863
+ * Because we want to prevent naming conflicts as mentioned in
864
+ * https://github.com/prisma/prisma-client-js/issues/707
865
+ */
866
+ export interface Prisma__DbCommunityToolLikeClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
867
+ readonly [Symbol.toStringTag]: "PrismaPromise"
868
+ tool<T extends Prisma.DbCommunityToolDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DbCommunityToolDefaultArgs<ExtArgs>>): Prisma.Prisma__DbCommunityToolClient<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
869
+ /**
870
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
871
+ * @param onfulfilled The callback to execute when the Promise is resolved.
872
+ * @param onrejected The callback to execute when the Promise is rejected.
873
+ * @returns A Promise for the completion of which ever callback is executed.
874
+ */
875
+ 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>
876
+ /**
877
+ * Attaches a callback for only the rejection of the Promise.
878
+ * @param onrejected The callback to execute when the Promise is rejected.
879
+ * @returns A Promise for the completion of the callback.
880
+ */
881
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
882
+ /**
883
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
884
+ * resolved value cannot be modified from the callback.
885
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
886
+ * @returns A Promise for the completion of the callback.
887
+ */
888
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
889
+ }
890
+
891
+
892
+
893
+
894
+ /**
895
+ * Fields of the DbCommunityToolLike model
896
+ */
897
+ export interface DbCommunityToolLikeFieldRefs {
898
+ readonly toolId: Prisma.FieldRef<"DbCommunityToolLike", 'String'>
899
+ readonly userId: Prisma.FieldRef<"DbCommunityToolLike", 'String'>
900
+ readonly userName: Prisma.FieldRef<"DbCommunityToolLike", 'String'>
901
+ readonly createdAt: Prisma.FieldRef<"DbCommunityToolLike", 'DateTime'>
902
+ }
903
+
904
+
905
+ // Custom InputTypes
906
+ /**
907
+ * DbCommunityToolLike findUnique
908
+ */
909
+ export type DbCommunityToolLikeFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
910
+ /**
911
+ * Select specific fields to fetch from the DbCommunityToolLike
912
+ */
913
+ select?: Prisma.DbCommunityToolLikeSelect<ExtArgs> | null
914
+ /**
915
+ * Omit specific fields from the DbCommunityToolLike
916
+ */
917
+ omit?: Prisma.DbCommunityToolLikeOmit<ExtArgs> | null
918
+ /**
919
+ * Choose, which related nodes to fetch as well
920
+ */
921
+ include?: Prisma.DbCommunityToolLikeInclude<ExtArgs> | null
922
+ /**
923
+ * Filter, which DbCommunityToolLike to fetch.
924
+ */
925
+ where: Prisma.DbCommunityToolLikeWhereUniqueInput
926
+ }
927
+
928
+ /**
929
+ * DbCommunityToolLike findUniqueOrThrow
930
+ */
931
+ export type DbCommunityToolLikeFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
932
+ /**
933
+ * Select specific fields to fetch from the DbCommunityToolLike
934
+ */
935
+ select?: Prisma.DbCommunityToolLikeSelect<ExtArgs> | null
936
+ /**
937
+ * Omit specific fields from the DbCommunityToolLike
938
+ */
939
+ omit?: Prisma.DbCommunityToolLikeOmit<ExtArgs> | null
940
+ /**
941
+ * Choose, which related nodes to fetch as well
942
+ */
943
+ include?: Prisma.DbCommunityToolLikeInclude<ExtArgs> | null
944
+ /**
945
+ * Filter, which DbCommunityToolLike to fetch.
946
+ */
947
+ where: Prisma.DbCommunityToolLikeWhereUniqueInput
948
+ }
949
+
950
+ /**
951
+ * DbCommunityToolLike findFirst
952
+ */
953
+ export type DbCommunityToolLikeFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
954
+ /**
955
+ * Select specific fields to fetch from the DbCommunityToolLike
956
+ */
957
+ select?: Prisma.DbCommunityToolLikeSelect<ExtArgs> | null
958
+ /**
959
+ * Omit specific fields from the DbCommunityToolLike
960
+ */
961
+ omit?: Prisma.DbCommunityToolLikeOmit<ExtArgs> | null
962
+ /**
963
+ * Choose, which related nodes to fetch as well
964
+ */
965
+ include?: Prisma.DbCommunityToolLikeInclude<ExtArgs> | null
966
+ /**
967
+ * Filter, which DbCommunityToolLike to fetch.
968
+ */
969
+ where?: Prisma.DbCommunityToolLikeWhereInput
970
+ /**
971
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
972
+ *
973
+ * Determine the order of DbCommunityToolLikes to fetch.
974
+ */
975
+ orderBy?: Prisma.DbCommunityToolLikeOrderByWithRelationInput | Prisma.DbCommunityToolLikeOrderByWithRelationInput[]
976
+ /**
977
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
978
+ *
979
+ * Sets the position for searching for DbCommunityToolLikes.
980
+ */
981
+ cursor?: Prisma.DbCommunityToolLikeWhereUniqueInput
982
+ /**
983
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
984
+ *
985
+ * Take `±n` DbCommunityToolLikes from the position of the cursor.
986
+ */
987
+ take?: number
988
+ /**
989
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
990
+ *
991
+ * Skip the first `n` DbCommunityToolLikes.
992
+ */
993
+ skip?: number
994
+ /**
995
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
996
+ *
997
+ * Filter by unique combinations of DbCommunityToolLikes.
998
+ */
999
+ distinct?: Prisma.DbCommunityToolLikeScalarFieldEnum | Prisma.DbCommunityToolLikeScalarFieldEnum[]
1000
+ }
1001
+
1002
+ /**
1003
+ * DbCommunityToolLike findFirstOrThrow
1004
+ */
1005
+ export type DbCommunityToolLikeFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1006
+ /**
1007
+ * Select specific fields to fetch from the DbCommunityToolLike
1008
+ */
1009
+ select?: Prisma.DbCommunityToolLikeSelect<ExtArgs> | null
1010
+ /**
1011
+ * Omit specific fields from the DbCommunityToolLike
1012
+ */
1013
+ omit?: Prisma.DbCommunityToolLikeOmit<ExtArgs> | null
1014
+ /**
1015
+ * Choose, which related nodes to fetch as well
1016
+ */
1017
+ include?: Prisma.DbCommunityToolLikeInclude<ExtArgs> | null
1018
+ /**
1019
+ * Filter, which DbCommunityToolLike to fetch.
1020
+ */
1021
+ where?: Prisma.DbCommunityToolLikeWhereInput
1022
+ /**
1023
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1024
+ *
1025
+ * Determine the order of DbCommunityToolLikes to fetch.
1026
+ */
1027
+ orderBy?: Prisma.DbCommunityToolLikeOrderByWithRelationInput | Prisma.DbCommunityToolLikeOrderByWithRelationInput[]
1028
+ /**
1029
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1030
+ *
1031
+ * Sets the position for searching for DbCommunityToolLikes.
1032
+ */
1033
+ cursor?: Prisma.DbCommunityToolLikeWhereUniqueInput
1034
+ /**
1035
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1036
+ *
1037
+ * Take `±n` DbCommunityToolLikes from the position of the cursor.
1038
+ */
1039
+ take?: number
1040
+ /**
1041
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1042
+ *
1043
+ * Skip the first `n` DbCommunityToolLikes.
1044
+ */
1045
+ skip?: number
1046
+ /**
1047
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1048
+ *
1049
+ * Filter by unique combinations of DbCommunityToolLikes.
1050
+ */
1051
+ distinct?: Prisma.DbCommunityToolLikeScalarFieldEnum | Prisma.DbCommunityToolLikeScalarFieldEnum[]
1052
+ }
1053
+
1054
+ /**
1055
+ * DbCommunityToolLike findMany
1056
+ */
1057
+ export type DbCommunityToolLikeFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1058
+ /**
1059
+ * Select specific fields to fetch from the DbCommunityToolLike
1060
+ */
1061
+ select?: Prisma.DbCommunityToolLikeSelect<ExtArgs> | null
1062
+ /**
1063
+ * Omit specific fields from the DbCommunityToolLike
1064
+ */
1065
+ omit?: Prisma.DbCommunityToolLikeOmit<ExtArgs> | null
1066
+ /**
1067
+ * Choose, which related nodes to fetch as well
1068
+ */
1069
+ include?: Prisma.DbCommunityToolLikeInclude<ExtArgs> | null
1070
+ /**
1071
+ * Filter, which DbCommunityToolLikes to fetch.
1072
+ */
1073
+ where?: Prisma.DbCommunityToolLikeWhereInput
1074
+ /**
1075
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1076
+ *
1077
+ * Determine the order of DbCommunityToolLikes to fetch.
1078
+ */
1079
+ orderBy?: Prisma.DbCommunityToolLikeOrderByWithRelationInput | Prisma.DbCommunityToolLikeOrderByWithRelationInput[]
1080
+ /**
1081
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1082
+ *
1083
+ * Sets the position for listing DbCommunityToolLikes.
1084
+ */
1085
+ cursor?: Prisma.DbCommunityToolLikeWhereUniqueInput
1086
+ /**
1087
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1088
+ *
1089
+ * Take `±n` DbCommunityToolLikes from the position of the cursor.
1090
+ */
1091
+ take?: number
1092
+ /**
1093
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1094
+ *
1095
+ * Skip the first `n` DbCommunityToolLikes.
1096
+ */
1097
+ skip?: number
1098
+ distinct?: Prisma.DbCommunityToolLikeScalarFieldEnum | Prisma.DbCommunityToolLikeScalarFieldEnum[]
1099
+ }
1100
+
1101
+ /**
1102
+ * DbCommunityToolLike create
1103
+ */
1104
+ export type DbCommunityToolLikeCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1105
+ /**
1106
+ * Select specific fields to fetch from the DbCommunityToolLike
1107
+ */
1108
+ select?: Prisma.DbCommunityToolLikeSelect<ExtArgs> | null
1109
+ /**
1110
+ * Omit specific fields from the DbCommunityToolLike
1111
+ */
1112
+ omit?: Prisma.DbCommunityToolLikeOmit<ExtArgs> | null
1113
+ /**
1114
+ * Choose, which related nodes to fetch as well
1115
+ */
1116
+ include?: Prisma.DbCommunityToolLikeInclude<ExtArgs> | null
1117
+ /**
1118
+ * The data needed to create a DbCommunityToolLike.
1119
+ */
1120
+ data: Prisma.XOR<Prisma.DbCommunityToolLikeCreateInput, Prisma.DbCommunityToolLikeUncheckedCreateInput>
1121
+ }
1122
+
1123
+ /**
1124
+ * DbCommunityToolLike createMany
1125
+ */
1126
+ export type DbCommunityToolLikeCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1127
+ /**
1128
+ * The data used to create many DbCommunityToolLikes.
1129
+ */
1130
+ data: Prisma.DbCommunityToolLikeCreateManyInput | Prisma.DbCommunityToolLikeCreateManyInput[]
1131
+ skipDuplicates?: boolean
1132
+ }
1133
+
1134
+ /**
1135
+ * DbCommunityToolLike createManyAndReturn
1136
+ */
1137
+ export type DbCommunityToolLikeCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1138
+ /**
1139
+ * Select specific fields to fetch from the DbCommunityToolLike
1140
+ */
1141
+ select?: Prisma.DbCommunityToolLikeSelectCreateManyAndReturn<ExtArgs> | null
1142
+ /**
1143
+ * Omit specific fields from the DbCommunityToolLike
1144
+ */
1145
+ omit?: Prisma.DbCommunityToolLikeOmit<ExtArgs> | null
1146
+ /**
1147
+ * The data used to create many DbCommunityToolLikes.
1148
+ */
1149
+ data: Prisma.DbCommunityToolLikeCreateManyInput | Prisma.DbCommunityToolLikeCreateManyInput[]
1150
+ skipDuplicates?: boolean
1151
+ /**
1152
+ * Choose, which related nodes to fetch as well
1153
+ */
1154
+ include?: Prisma.DbCommunityToolLikeIncludeCreateManyAndReturn<ExtArgs> | null
1155
+ }
1156
+
1157
+ /**
1158
+ * DbCommunityToolLike update
1159
+ */
1160
+ export type DbCommunityToolLikeUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1161
+ /**
1162
+ * Select specific fields to fetch from the DbCommunityToolLike
1163
+ */
1164
+ select?: Prisma.DbCommunityToolLikeSelect<ExtArgs> | null
1165
+ /**
1166
+ * Omit specific fields from the DbCommunityToolLike
1167
+ */
1168
+ omit?: Prisma.DbCommunityToolLikeOmit<ExtArgs> | null
1169
+ /**
1170
+ * Choose, which related nodes to fetch as well
1171
+ */
1172
+ include?: Prisma.DbCommunityToolLikeInclude<ExtArgs> | null
1173
+ /**
1174
+ * The data needed to update a DbCommunityToolLike.
1175
+ */
1176
+ data: Prisma.XOR<Prisma.DbCommunityToolLikeUpdateInput, Prisma.DbCommunityToolLikeUncheckedUpdateInput>
1177
+ /**
1178
+ * Choose, which DbCommunityToolLike to update.
1179
+ */
1180
+ where: Prisma.DbCommunityToolLikeWhereUniqueInput
1181
+ }
1182
+
1183
+ /**
1184
+ * DbCommunityToolLike updateMany
1185
+ */
1186
+ export type DbCommunityToolLikeUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1187
+ /**
1188
+ * The data used to update DbCommunityToolLikes.
1189
+ */
1190
+ data: Prisma.XOR<Prisma.DbCommunityToolLikeUpdateManyMutationInput, Prisma.DbCommunityToolLikeUncheckedUpdateManyInput>
1191
+ /**
1192
+ * Filter which DbCommunityToolLikes to update
1193
+ */
1194
+ where?: Prisma.DbCommunityToolLikeWhereInput
1195
+ /**
1196
+ * Limit how many DbCommunityToolLikes to update.
1197
+ */
1198
+ limit?: number
1199
+ }
1200
+
1201
+ /**
1202
+ * DbCommunityToolLike updateManyAndReturn
1203
+ */
1204
+ export type DbCommunityToolLikeUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1205
+ /**
1206
+ * Select specific fields to fetch from the DbCommunityToolLike
1207
+ */
1208
+ select?: Prisma.DbCommunityToolLikeSelectUpdateManyAndReturn<ExtArgs> | null
1209
+ /**
1210
+ * Omit specific fields from the DbCommunityToolLike
1211
+ */
1212
+ omit?: Prisma.DbCommunityToolLikeOmit<ExtArgs> | null
1213
+ /**
1214
+ * The data used to update DbCommunityToolLikes.
1215
+ */
1216
+ data: Prisma.XOR<Prisma.DbCommunityToolLikeUpdateManyMutationInput, Prisma.DbCommunityToolLikeUncheckedUpdateManyInput>
1217
+ /**
1218
+ * Filter which DbCommunityToolLikes to update
1219
+ */
1220
+ where?: Prisma.DbCommunityToolLikeWhereInput
1221
+ /**
1222
+ * Limit how many DbCommunityToolLikes to update.
1223
+ */
1224
+ limit?: number
1225
+ /**
1226
+ * Choose, which related nodes to fetch as well
1227
+ */
1228
+ include?: Prisma.DbCommunityToolLikeIncludeUpdateManyAndReturn<ExtArgs> | null
1229
+ }
1230
+
1231
+ /**
1232
+ * DbCommunityToolLike upsert
1233
+ */
1234
+ export type DbCommunityToolLikeUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1235
+ /**
1236
+ * Select specific fields to fetch from the DbCommunityToolLike
1237
+ */
1238
+ select?: Prisma.DbCommunityToolLikeSelect<ExtArgs> | null
1239
+ /**
1240
+ * Omit specific fields from the DbCommunityToolLike
1241
+ */
1242
+ omit?: Prisma.DbCommunityToolLikeOmit<ExtArgs> | null
1243
+ /**
1244
+ * Choose, which related nodes to fetch as well
1245
+ */
1246
+ include?: Prisma.DbCommunityToolLikeInclude<ExtArgs> | null
1247
+ /**
1248
+ * The filter to search for the DbCommunityToolLike to update in case it exists.
1249
+ */
1250
+ where: Prisma.DbCommunityToolLikeWhereUniqueInput
1251
+ /**
1252
+ * In case the DbCommunityToolLike found by the `where` argument doesn't exist, create a new DbCommunityToolLike with this data.
1253
+ */
1254
+ create: Prisma.XOR<Prisma.DbCommunityToolLikeCreateInput, Prisma.DbCommunityToolLikeUncheckedCreateInput>
1255
+ /**
1256
+ * In case the DbCommunityToolLike was found with the provided `where` argument, update it with this data.
1257
+ */
1258
+ update: Prisma.XOR<Prisma.DbCommunityToolLikeUpdateInput, Prisma.DbCommunityToolLikeUncheckedUpdateInput>
1259
+ }
1260
+
1261
+ /**
1262
+ * DbCommunityToolLike delete
1263
+ */
1264
+ export type DbCommunityToolLikeDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1265
+ /**
1266
+ * Select specific fields to fetch from the DbCommunityToolLike
1267
+ */
1268
+ select?: Prisma.DbCommunityToolLikeSelect<ExtArgs> | null
1269
+ /**
1270
+ * Omit specific fields from the DbCommunityToolLike
1271
+ */
1272
+ omit?: Prisma.DbCommunityToolLikeOmit<ExtArgs> | null
1273
+ /**
1274
+ * Choose, which related nodes to fetch as well
1275
+ */
1276
+ include?: Prisma.DbCommunityToolLikeInclude<ExtArgs> | null
1277
+ /**
1278
+ * Filter which DbCommunityToolLike to delete.
1279
+ */
1280
+ where: Prisma.DbCommunityToolLikeWhereUniqueInput
1281
+ }
1282
+
1283
+ /**
1284
+ * DbCommunityToolLike deleteMany
1285
+ */
1286
+ export type DbCommunityToolLikeDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1287
+ /**
1288
+ * Filter which DbCommunityToolLikes to delete
1289
+ */
1290
+ where?: Prisma.DbCommunityToolLikeWhereInput
1291
+ /**
1292
+ * Limit how many DbCommunityToolLikes to delete.
1293
+ */
1294
+ limit?: number
1295
+ }
1296
+
1297
+ /**
1298
+ * DbCommunityToolLike without action
1299
+ */
1300
+ export type DbCommunityToolLikeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1301
+ /**
1302
+ * Select specific fields to fetch from the DbCommunityToolLike
1303
+ */
1304
+ select?: Prisma.DbCommunityToolLikeSelect<ExtArgs> | null
1305
+ /**
1306
+ * Omit specific fields from the DbCommunityToolLike
1307
+ */
1308
+ omit?: Prisma.DbCommunityToolLikeOmit<ExtArgs> | null
1309
+ /**
1310
+ * Choose, which related nodes to fetch as well
1311
+ */
1312
+ include?: Prisma.DbCommunityToolLikeInclude<ExtArgs> | null
1313
+ }