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

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