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