@igstack/app-catalog-backend-core 6.10.2 → 6.11.0

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