@igstack/app-catalog-backend-core 6.12.0 → 6.12.2

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