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