@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.
- package/dist/db/syncAppCatalog.mjs +1 -1
- package/dist/generated/prisma/client.d.mts +1 -1
- package/dist/generated/prisma/client.mjs.map +1 -1
- package/dist/generated/prisma/commonInputTypes.d.mts +33 -3
- package/dist/generated/prisma/commonInputTypes.d.mts.map +1 -1
- package/dist/generated/prisma/enums.d.mts +6 -1
- package/dist/generated/prisma/enums.d.mts.map +1 -1
- package/dist/generated/prisma/internal/class.d.mts +84 -0
- package/dist/generated/prisma/internal/class.d.mts.map +1 -1
- package/dist/generated/prisma/internal/class.mjs +4 -4
- package/dist/generated/prisma/internal/class.mjs.map +1 -1
- package/dist/generated/prisma/internal/prismaNamespace.d.mts +617 -4
- package/dist/generated/prisma/internal/prismaNamespace.d.mts.map +1 -1
- package/dist/generated/prisma/models/DbCommunityTool.d.mts +2852 -0
- package/dist/generated/prisma/models/DbCommunityTool.d.mts.map +1 -0
- package/dist/generated/prisma/models/DbCommunityToolLike.d.mts +1102 -0
- package/dist/generated/prisma/models/DbCommunityToolLike.d.mts.map +1 -0
- package/dist/generated/prisma/models/DbCommunityToolNamedOwner.d.mts +1034 -0
- package/dist/generated/prisma/models/DbCommunityToolNamedOwner.d.mts.map +1 -0
- package/dist/generated/prisma/models/DbCommunityToolOwner.d.mts +1034 -0
- package/dist/generated/prisma/models/DbCommunityToolOwner.d.mts.map +1 -0
- package/dist/generated/prisma/models/DbCommunityToolPin.d.mts +1110 -0
- package/dist/generated/prisma/models/DbCommunityToolPin.d.mts.map +1 -0
- package/dist/generated/prisma/models/DbCommunityToolTag.d.mts +1073 -0
- package/dist/generated/prisma/models/DbCommunityToolTag.d.mts.map +1 -0
- package/dist/generated/prisma/models/DbCommunityToolView.d.mts +1149 -0
- package/dist/generated/prisma/models/DbCommunityToolView.d.mts.map +1 -0
- package/dist/generated/prisma/models/DbFeedback.d.mts +361 -2
- package/dist/generated/prisma/models/DbFeedback.d.mts.map +1 -1
- package/dist/generated/prisma/models.d.mts +9 -2
- package/dist/index.d.mts +5 -2
- package/dist/index.mjs +3 -1
- package/dist/middleware/createAcMiddleware.d.mts.map +1 -1
- package/dist/middleware/createAcMiddleware.mjs +15 -1
- package/dist/middleware/createAcMiddleware.mjs.map +1 -1
- package/dist/middleware/database.d.mts +1 -1
- package/dist/middleware/types.d.mts +20 -1
- package/dist/middleware/types.d.mts.map +1 -1
- package/dist/modules/communityTools/capture.d.mts +27 -0
- package/dist/modules/communityTools/capture.d.mts.map +1 -0
- package/dist/modules/communityTools/capture.mjs +192 -0
- package/dist/modules/communityTools/capture.mjs.map +1 -0
- package/dist/modules/communityTools/healthJob.mjs +132 -0
- package/dist/modules/communityTools/healthJob.mjs.map +1 -0
- package/dist/modules/communityTools/router.d.mts +150 -0
- package/dist/modules/communityTools/router.d.mts.map +1 -0
- package/dist/modules/communityTools/router.mjs +91 -0
- package/dist/modules/communityTools/router.mjs.map +1 -0
- package/dist/modules/communityTools/service.mjs +252 -0
- package/dist/modules/communityTools/service.mjs.map +1 -0
- package/dist/modules/communityTools/toView.mjs +81 -0
- package/dist/modules/communityTools/toView.mjs.map +1 -0
- package/dist/modules/communityTools/writeService.d.mts +55 -0
- package/dist/modules/communityTools/writeService.d.mts.map +1 -0
- package/dist/modules/communityTools/writeService.mjs +280 -0
- package/dist/modules/communityTools/writeService.mjs.map +1 -0
- package/dist/modules/feedback/feedbackRouter.d.mts +3 -0
- package/dist/modules/feedback/feedbackRouter.mjs +6 -2
- package/dist/modules/feedback/feedbackRouter.mjs.map +1 -1
- package/dist/modules/feedback/service.d.mts +3 -0
- package/dist/modules/feedback/service.d.mts.map +1 -1
- package/dist/modules/feedback/service.mjs +50 -17
- package/dist/modules/feedback/service.mjs.map +1 -1
- package/dist/server/controller.d.mts +143 -0
- package/dist/server/controller.d.mts.map +1 -1
- package/dist/server/controller.mjs +2 -0
- package/dist/server/controller.mjs.map +1 -1
- package/dist/server/trpcSetup.mjs +1 -1
- package/package.json +12 -5
- package/prisma/schema.prisma +161 -0
- package/src/__tests__/communityTools.test.ts +781 -0
- package/src/__tests__/communityToolsCapture.test.ts +319 -0
- package/src/__tests__/communityToolsHealth.test.ts +154 -0
- package/src/__tests__/communityToolsRouter.test.ts +58 -0
- package/src/__tests__/communityToolsWrite.test.ts +561 -0
- package/src/__tests__/feedbackService.test.ts +160 -0
- package/src/generated/prisma/browser.ts +35 -0
- package/src/generated/prisma/client.ts +35 -0
- package/src/generated/prisma/commonInputTypes.ts +34 -0
- package/src/generated/prisma/enums.ts +8 -0
- package/src/generated/prisma/internal/class.ts +74 -4
- package/src/generated/prisma/internal/prismaNamespace.ts +635 -2
- package/src/generated/prisma/internal/prismaNamespaceBrowser.ts +95 -1
- package/src/generated/prisma/models/DbCommunityTool.ts +3135 -0
- package/src/generated/prisma/models/DbCommunityToolLike.ts +1313 -0
- package/src/generated/prisma/models/DbCommunityToolNamedOwner.ts +1243 -0
- package/src/generated/prisma/models/DbCommunityToolOwner.ts +1243 -0
- package/src/generated/prisma/models/DbCommunityToolPin.ts +1325 -0
- package/src/generated/prisma/models/DbCommunityToolTag.ts +1283 -0
- package/src/generated/prisma/models/DbCommunityToolView.ts +1361 -0
- package/src/generated/prisma/models/DbFeedback.ts +379 -1
- package/src/generated/prisma/models.ts +7 -0
- package/src/index.ts +16 -0
- package/src/middleware/createAcMiddleware.ts +20 -0
- package/src/middleware/types.ts +21 -0
- package/src/modules/communityTools/capture.ts +332 -0
- package/src/modules/communityTools/healthJob.ts +191 -0
- package/src/modules/communityTools/router.ts +172 -0
- package/src/modules/communityTools/service.ts +380 -0
- package/src/modules/communityTools/toView.ts +112 -0
- package/src/modules/communityTools/writeService.ts +408 -0
- package/src/modules/feedback/feedbackRouter.ts +20 -6
- package/src/modules/feedback/service.ts +68 -12
- 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 `DbCommunityToolOwner` 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 DbCommunityToolOwner
|
|
19
|
+
* Many-to-many join between community tools and their owners.
|
|
20
|
+
*/
|
|
21
|
+
export type DbCommunityToolOwnerModel = runtime.Types.Result.DefaultSelection<Prisma.$DbCommunityToolOwnerPayload>
|
|
22
|
+
|
|
23
|
+
export type AggregateDbCommunityToolOwner = {
|
|
24
|
+
_count: DbCommunityToolOwnerCountAggregateOutputType | null
|
|
25
|
+
_min: DbCommunityToolOwnerMinAggregateOutputType | null
|
|
26
|
+
_max: DbCommunityToolOwnerMaxAggregateOutputType | null
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type DbCommunityToolOwnerMinAggregateOutputType = {
|
|
30
|
+
toolId: string | null
|
|
31
|
+
personSlug: string | null
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export type DbCommunityToolOwnerMaxAggregateOutputType = {
|
|
35
|
+
toolId: string | null
|
|
36
|
+
personSlug: string | null
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export type DbCommunityToolOwnerCountAggregateOutputType = {
|
|
40
|
+
toolId: number
|
|
41
|
+
personSlug: number
|
|
42
|
+
_all: number
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
export type DbCommunityToolOwnerMinAggregateInputType = {
|
|
47
|
+
toolId?: true
|
|
48
|
+
personSlug?: true
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export type DbCommunityToolOwnerMaxAggregateInputType = {
|
|
52
|
+
toolId?: true
|
|
53
|
+
personSlug?: true
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export type DbCommunityToolOwnerCountAggregateInputType = {
|
|
57
|
+
toolId?: true
|
|
58
|
+
personSlug?: true
|
|
59
|
+
_all?: true
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export type DbCommunityToolOwnerAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
63
|
+
/**
|
|
64
|
+
* Filter which DbCommunityToolOwner to aggregate.
|
|
65
|
+
*/
|
|
66
|
+
where?: Prisma.DbCommunityToolOwnerWhereInput
|
|
67
|
+
/**
|
|
68
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
69
|
+
*
|
|
70
|
+
* Determine the order of DbCommunityToolOwners to fetch.
|
|
71
|
+
*/
|
|
72
|
+
orderBy?: Prisma.DbCommunityToolOwnerOrderByWithRelationInput | Prisma.DbCommunityToolOwnerOrderByWithRelationInput[]
|
|
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.DbCommunityToolOwnerWhereUniqueInput
|
|
79
|
+
/**
|
|
80
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
81
|
+
*
|
|
82
|
+
* Take `±n` DbCommunityToolOwners 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` DbCommunityToolOwners.
|
|
89
|
+
*/
|
|
90
|
+
skip?: number
|
|
91
|
+
/**
|
|
92
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
93
|
+
*
|
|
94
|
+
* Count returned DbCommunityToolOwners
|
|
95
|
+
**/
|
|
96
|
+
_count?: true | DbCommunityToolOwnerCountAggregateInputType
|
|
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?: DbCommunityToolOwnerMinAggregateInputType
|
|
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?: DbCommunityToolOwnerMaxAggregateInputType
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export type GetDbCommunityToolOwnerAggregateType<T extends DbCommunityToolOwnerAggregateArgs> = {
|
|
112
|
+
[P in keyof T & keyof AggregateDbCommunityToolOwner]: P extends '_count' | 'count'
|
|
113
|
+
? T[P] extends true
|
|
114
|
+
? number
|
|
115
|
+
: Prisma.GetScalarType<T[P], AggregateDbCommunityToolOwner[P]>
|
|
116
|
+
: Prisma.GetScalarType<T[P], AggregateDbCommunityToolOwner[P]>
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
export type DbCommunityToolOwnerGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
123
|
+
where?: Prisma.DbCommunityToolOwnerWhereInput
|
|
124
|
+
orderBy?: Prisma.DbCommunityToolOwnerOrderByWithAggregationInput | Prisma.DbCommunityToolOwnerOrderByWithAggregationInput[]
|
|
125
|
+
by: Prisma.DbCommunityToolOwnerScalarFieldEnum[] | Prisma.DbCommunityToolOwnerScalarFieldEnum
|
|
126
|
+
having?: Prisma.DbCommunityToolOwnerScalarWhereWithAggregatesInput
|
|
127
|
+
take?: number
|
|
128
|
+
skip?: number
|
|
129
|
+
_count?: DbCommunityToolOwnerCountAggregateInputType | true
|
|
130
|
+
_min?: DbCommunityToolOwnerMinAggregateInputType
|
|
131
|
+
_max?: DbCommunityToolOwnerMaxAggregateInputType
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
export type DbCommunityToolOwnerGroupByOutputType = {
|
|
135
|
+
toolId: string
|
|
136
|
+
personSlug: string
|
|
137
|
+
_count: DbCommunityToolOwnerCountAggregateOutputType | null
|
|
138
|
+
_min: DbCommunityToolOwnerMinAggregateOutputType | null
|
|
139
|
+
_max: DbCommunityToolOwnerMaxAggregateOutputType | null
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
type GetDbCommunityToolOwnerGroupByPayload<T extends DbCommunityToolOwnerGroupByArgs> = Prisma.PrismaPromise<
|
|
143
|
+
Array<
|
|
144
|
+
Prisma.PickEnumerable<DbCommunityToolOwnerGroupByOutputType, T['by']> &
|
|
145
|
+
{
|
|
146
|
+
[P in ((keyof T) & (keyof DbCommunityToolOwnerGroupByOutputType))]: P extends '_count'
|
|
147
|
+
? T[P] extends boolean
|
|
148
|
+
? number
|
|
149
|
+
: Prisma.GetScalarType<T[P], DbCommunityToolOwnerGroupByOutputType[P]>
|
|
150
|
+
: Prisma.GetScalarType<T[P], DbCommunityToolOwnerGroupByOutputType[P]>
|
|
151
|
+
}
|
|
152
|
+
>
|
|
153
|
+
>
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
export type DbCommunityToolOwnerWhereInput = {
|
|
158
|
+
AND?: Prisma.DbCommunityToolOwnerWhereInput | Prisma.DbCommunityToolOwnerWhereInput[]
|
|
159
|
+
OR?: Prisma.DbCommunityToolOwnerWhereInput[]
|
|
160
|
+
NOT?: Prisma.DbCommunityToolOwnerWhereInput | Prisma.DbCommunityToolOwnerWhereInput[]
|
|
161
|
+
toolId?: Prisma.StringFilter<"DbCommunityToolOwner"> | string
|
|
162
|
+
personSlug?: Prisma.StringFilter<"DbCommunityToolOwner"> | string
|
|
163
|
+
tool?: Prisma.XOR<Prisma.DbCommunityToolScalarRelationFilter, Prisma.DbCommunityToolWhereInput>
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
export type DbCommunityToolOwnerOrderByWithRelationInput = {
|
|
167
|
+
toolId?: Prisma.SortOrder
|
|
168
|
+
personSlug?: Prisma.SortOrder
|
|
169
|
+
tool?: Prisma.DbCommunityToolOrderByWithRelationInput
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
export type DbCommunityToolOwnerWhereUniqueInput = Prisma.AtLeast<{
|
|
173
|
+
toolId_personSlug?: Prisma.DbCommunityToolOwnerToolIdPersonSlugCompoundUniqueInput
|
|
174
|
+
AND?: Prisma.DbCommunityToolOwnerWhereInput | Prisma.DbCommunityToolOwnerWhereInput[]
|
|
175
|
+
OR?: Prisma.DbCommunityToolOwnerWhereInput[]
|
|
176
|
+
NOT?: Prisma.DbCommunityToolOwnerWhereInput | Prisma.DbCommunityToolOwnerWhereInput[]
|
|
177
|
+
toolId?: Prisma.StringFilter<"DbCommunityToolOwner"> | string
|
|
178
|
+
personSlug?: Prisma.StringFilter<"DbCommunityToolOwner"> | string
|
|
179
|
+
tool?: Prisma.XOR<Prisma.DbCommunityToolScalarRelationFilter, Prisma.DbCommunityToolWhereInput>
|
|
180
|
+
}, "toolId_personSlug">
|
|
181
|
+
|
|
182
|
+
export type DbCommunityToolOwnerOrderByWithAggregationInput = {
|
|
183
|
+
toolId?: Prisma.SortOrder
|
|
184
|
+
personSlug?: Prisma.SortOrder
|
|
185
|
+
_count?: Prisma.DbCommunityToolOwnerCountOrderByAggregateInput
|
|
186
|
+
_max?: Prisma.DbCommunityToolOwnerMaxOrderByAggregateInput
|
|
187
|
+
_min?: Prisma.DbCommunityToolOwnerMinOrderByAggregateInput
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
export type DbCommunityToolOwnerScalarWhereWithAggregatesInput = {
|
|
191
|
+
AND?: Prisma.DbCommunityToolOwnerScalarWhereWithAggregatesInput | Prisma.DbCommunityToolOwnerScalarWhereWithAggregatesInput[]
|
|
192
|
+
OR?: Prisma.DbCommunityToolOwnerScalarWhereWithAggregatesInput[]
|
|
193
|
+
NOT?: Prisma.DbCommunityToolOwnerScalarWhereWithAggregatesInput | Prisma.DbCommunityToolOwnerScalarWhereWithAggregatesInput[]
|
|
194
|
+
toolId?: Prisma.StringWithAggregatesFilter<"DbCommunityToolOwner"> | string
|
|
195
|
+
personSlug?: Prisma.StringWithAggregatesFilter<"DbCommunityToolOwner"> | string
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
export type DbCommunityToolOwnerCreateInput = {
|
|
199
|
+
personSlug: string
|
|
200
|
+
tool: Prisma.DbCommunityToolCreateNestedOneWithoutOwnersInput
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
export type DbCommunityToolOwnerUncheckedCreateInput = {
|
|
204
|
+
toolId: string
|
|
205
|
+
personSlug: string
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
export type DbCommunityToolOwnerUpdateInput = {
|
|
209
|
+
personSlug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
210
|
+
tool?: Prisma.DbCommunityToolUpdateOneRequiredWithoutOwnersNestedInput
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
export type DbCommunityToolOwnerUncheckedUpdateInput = {
|
|
214
|
+
toolId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
215
|
+
personSlug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
export type DbCommunityToolOwnerCreateManyInput = {
|
|
219
|
+
toolId: string
|
|
220
|
+
personSlug: string
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
export type DbCommunityToolOwnerUpdateManyMutationInput = {
|
|
224
|
+
personSlug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
export type DbCommunityToolOwnerUncheckedUpdateManyInput = {
|
|
228
|
+
toolId?: Prisma.StringFieldUpdateOperationsInput | string
|
|
229
|
+
personSlug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
export type DbCommunityToolOwnerListRelationFilter = {
|
|
233
|
+
every?: Prisma.DbCommunityToolOwnerWhereInput
|
|
234
|
+
some?: Prisma.DbCommunityToolOwnerWhereInput
|
|
235
|
+
none?: Prisma.DbCommunityToolOwnerWhereInput
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
export type DbCommunityToolOwnerOrderByRelationAggregateInput = {
|
|
239
|
+
_count?: Prisma.SortOrder
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
export type DbCommunityToolOwnerToolIdPersonSlugCompoundUniqueInput = {
|
|
243
|
+
toolId: string
|
|
244
|
+
personSlug: string
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
export type DbCommunityToolOwnerCountOrderByAggregateInput = {
|
|
248
|
+
toolId?: Prisma.SortOrder
|
|
249
|
+
personSlug?: Prisma.SortOrder
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
export type DbCommunityToolOwnerMaxOrderByAggregateInput = {
|
|
253
|
+
toolId?: Prisma.SortOrder
|
|
254
|
+
personSlug?: Prisma.SortOrder
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
export type DbCommunityToolOwnerMinOrderByAggregateInput = {
|
|
258
|
+
toolId?: Prisma.SortOrder
|
|
259
|
+
personSlug?: Prisma.SortOrder
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
export type DbCommunityToolOwnerCreateNestedManyWithoutToolInput = {
|
|
263
|
+
create?: Prisma.XOR<Prisma.DbCommunityToolOwnerCreateWithoutToolInput, Prisma.DbCommunityToolOwnerUncheckedCreateWithoutToolInput> | Prisma.DbCommunityToolOwnerCreateWithoutToolInput[] | Prisma.DbCommunityToolOwnerUncheckedCreateWithoutToolInput[]
|
|
264
|
+
connectOrCreate?: Prisma.DbCommunityToolOwnerCreateOrConnectWithoutToolInput | Prisma.DbCommunityToolOwnerCreateOrConnectWithoutToolInput[]
|
|
265
|
+
createMany?: Prisma.DbCommunityToolOwnerCreateManyToolInputEnvelope
|
|
266
|
+
connect?: Prisma.DbCommunityToolOwnerWhereUniqueInput | Prisma.DbCommunityToolOwnerWhereUniqueInput[]
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
export type DbCommunityToolOwnerUncheckedCreateNestedManyWithoutToolInput = {
|
|
270
|
+
create?: Prisma.XOR<Prisma.DbCommunityToolOwnerCreateWithoutToolInput, Prisma.DbCommunityToolOwnerUncheckedCreateWithoutToolInput> | Prisma.DbCommunityToolOwnerCreateWithoutToolInput[] | Prisma.DbCommunityToolOwnerUncheckedCreateWithoutToolInput[]
|
|
271
|
+
connectOrCreate?: Prisma.DbCommunityToolOwnerCreateOrConnectWithoutToolInput | Prisma.DbCommunityToolOwnerCreateOrConnectWithoutToolInput[]
|
|
272
|
+
createMany?: Prisma.DbCommunityToolOwnerCreateManyToolInputEnvelope
|
|
273
|
+
connect?: Prisma.DbCommunityToolOwnerWhereUniqueInput | Prisma.DbCommunityToolOwnerWhereUniqueInput[]
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
export type DbCommunityToolOwnerUpdateManyWithoutToolNestedInput = {
|
|
277
|
+
create?: Prisma.XOR<Prisma.DbCommunityToolOwnerCreateWithoutToolInput, Prisma.DbCommunityToolOwnerUncheckedCreateWithoutToolInput> | Prisma.DbCommunityToolOwnerCreateWithoutToolInput[] | Prisma.DbCommunityToolOwnerUncheckedCreateWithoutToolInput[]
|
|
278
|
+
connectOrCreate?: Prisma.DbCommunityToolOwnerCreateOrConnectWithoutToolInput | Prisma.DbCommunityToolOwnerCreateOrConnectWithoutToolInput[]
|
|
279
|
+
upsert?: Prisma.DbCommunityToolOwnerUpsertWithWhereUniqueWithoutToolInput | Prisma.DbCommunityToolOwnerUpsertWithWhereUniqueWithoutToolInput[]
|
|
280
|
+
createMany?: Prisma.DbCommunityToolOwnerCreateManyToolInputEnvelope
|
|
281
|
+
set?: Prisma.DbCommunityToolOwnerWhereUniqueInput | Prisma.DbCommunityToolOwnerWhereUniqueInput[]
|
|
282
|
+
disconnect?: Prisma.DbCommunityToolOwnerWhereUniqueInput | Prisma.DbCommunityToolOwnerWhereUniqueInput[]
|
|
283
|
+
delete?: Prisma.DbCommunityToolOwnerWhereUniqueInput | Prisma.DbCommunityToolOwnerWhereUniqueInput[]
|
|
284
|
+
connect?: Prisma.DbCommunityToolOwnerWhereUniqueInput | Prisma.DbCommunityToolOwnerWhereUniqueInput[]
|
|
285
|
+
update?: Prisma.DbCommunityToolOwnerUpdateWithWhereUniqueWithoutToolInput | Prisma.DbCommunityToolOwnerUpdateWithWhereUniqueWithoutToolInput[]
|
|
286
|
+
updateMany?: Prisma.DbCommunityToolOwnerUpdateManyWithWhereWithoutToolInput | Prisma.DbCommunityToolOwnerUpdateManyWithWhereWithoutToolInput[]
|
|
287
|
+
deleteMany?: Prisma.DbCommunityToolOwnerScalarWhereInput | Prisma.DbCommunityToolOwnerScalarWhereInput[]
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
export type DbCommunityToolOwnerUncheckedUpdateManyWithoutToolNestedInput = {
|
|
291
|
+
create?: Prisma.XOR<Prisma.DbCommunityToolOwnerCreateWithoutToolInput, Prisma.DbCommunityToolOwnerUncheckedCreateWithoutToolInput> | Prisma.DbCommunityToolOwnerCreateWithoutToolInput[] | Prisma.DbCommunityToolOwnerUncheckedCreateWithoutToolInput[]
|
|
292
|
+
connectOrCreate?: Prisma.DbCommunityToolOwnerCreateOrConnectWithoutToolInput | Prisma.DbCommunityToolOwnerCreateOrConnectWithoutToolInput[]
|
|
293
|
+
upsert?: Prisma.DbCommunityToolOwnerUpsertWithWhereUniqueWithoutToolInput | Prisma.DbCommunityToolOwnerUpsertWithWhereUniqueWithoutToolInput[]
|
|
294
|
+
createMany?: Prisma.DbCommunityToolOwnerCreateManyToolInputEnvelope
|
|
295
|
+
set?: Prisma.DbCommunityToolOwnerWhereUniqueInput | Prisma.DbCommunityToolOwnerWhereUniqueInput[]
|
|
296
|
+
disconnect?: Prisma.DbCommunityToolOwnerWhereUniqueInput | Prisma.DbCommunityToolOwnerWhereUniqueInput[]
|
|
297
|
+
delete?: Prisma.DbCommunityToolOwnerWhereUniqueInput | Prisma.DbCommunityToolOwnerWhereUniqueInput[]
|
|
298
|
+
connect?: Prisma.DbCommunityToolOwnerWhereUniqueInput | Prisma.DbCommunityToolOwnerWhereUniqueInput[]
|
|
299
|
+
update?: Prisma.DbCommunityToolOwnerUpdateWithWhereUniqueWithoutToolInput | Prisma.DbCommunityToolOwnerUpdateWithWhereUniqueWithoutToolInput[]
|
|
300
|
+
updateMany?: Prisma.DbCommunityToolOwnerUpdateManyWithWhereWithoutToolInput | Prisma.DbCommunityToolOwnerUpdateManyWithWhereWithoutToolInput[]
|
|
301
|
+
deleteMany?: Prisma.DbCommunityToolOwnerScalarWhereInput | Prisma.DbCommunityToolOwnerScalarWhereInput[]
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
export type DbCommunityToolOwnerCreateWithoutToolInput = {
|
|
305
|
+
personSlug: string
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
export type DbCommunityToolOwnerUncheckedCreateWithoutToolInput = {
|
|
309
|
+
personSlug: string
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
export type DbCommunityToolOwnerCreateOrConnectWithoutToolInput = {
|
|
313
|
+
where: Prisma.DbCommunityToolOwnerWhereUniqueInput
|
|
314
|
+
create: Prisma.XOR<Prisma.DbCommunityToolOwnerCreateWithoutToolInput, Prisma.DbCommunityToolOwnerUncheckedCreateWithoutToolInput>
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
export type DbCommunityToolOwnerCreateManyToolInputEnvelope = {
|
|
318
|
+
data: Prisma.DbCommunityToolOwnerCreateManyToolInput | Prisma.DbCommunityToolOwnerCreateManyToolInput[]
|
|
319
|
+
skipDuplicates?: boolean
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
export type DbCommunityToolOwnerUpsertWithWhereUniqueWithoutToolInput = {
|
|
323
|
+
where: Prisma.DbCommunityToolOwnerWhereUniqueInput
|
|
324
|
+
update: Prisma.XOR<Prisma.DbCommunityToolOwnerUpdateWithoutToolInput, Prisma.DbCommunityToolOwnerUncheckedUpdateWithoutToolInput>
|
|
325
|
+
create: Prisma.XOR<Prisma.DbCommunityToolOwnerCreateWithoutToolInput, Prisma.DbCommunityToolOwnerUncheckedCreateWithoutToolInput>
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
export type DbCommunityToolOwnerUpdateWithWhereUniqueWithoutToolInput = {
|
|
329
|
+
where: Prisma.DbCommunityToolOwnerWhereUniqueInput
|
|
330
|
+
data: Prisma.XOR<Prisma.DbCommunityToolOwnerUpdateWithoutToolInput, Prisma.DbCommunityToolOwnerUncheckedUpdateWithoutToolInput>
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
export type DbCommunityToolOwnerUpdateManyWithWhereWithoutToolInput = {
|
|
334
|
+
where: Prisma.DbCommunityToolOwnerScalarWhereInput
|
|
335
|
+
data: Prisma.XOR<Prisma.DbCommunityToolOwnerUpdateManyMutationInput, Prisma.DbCommunityToolOwnerUncheckedUpdateManyWithoutToolInput>
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
export type DbCommunityToolOwnerScalarWhereInput = {
|
|
339
|
+
AND?: Prisma.DbCommunityToolOwnerScalarWhereInput | Prisma.DbCommunityToolOwnerScalarWhereInput[]
|
|
340
|
+
OR?: Prisma.DbCommunityToolOwnerScalarWhereInput[]
|
|
341
|
+
NOT?: Prisma.DbCommunityToolOwnerScalarWhereInput | Prisma.DbCommunityToolOwnerScalarWhereInput[]
|
|
342
|
+
toolId?: Prisma.StringFilter<"DbCommunityToolOwner"> | string
|
|
343
|
+
personSlug?: Prisma.StringFilter<"DbCommunityToolOwner"> | string
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
export type DbCommunityToolOwnerCreateManyToolInput = {
|
|
347
|
+
personSlug: string
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
export type DbCommunityToolOwnerUpdateWithoutToolInput = {
|
|
351
|
+
personSlug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
export type DbCommunityToolOwnerUncheckedUpdateWithoutToolInput = {
|
|
355
|
+
personSlug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
export type DbCommunityToolOwnerUncheckedUpdateManyWithoutToolInput = {
|
|
359
|
+
personSlug?: Prisma.StringFieldUpdateOperationsInput | string
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
export type DbCommunityToolOwnerSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
365
|
+
toolId?: boolean
|
|
366
|
+
personSlug?: boolean
|
|
367
|
+
tool?: boolean | Prisma.DbCommunityToolDefaultArgs<ExtArgs>
|
|
368
|
+
}, ExtArgs["result"]["dbCommunityToolOwner"]>
|
|
369
|
+
|
|
370
|
+
export type DbCommunityToolOwnerSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
371
|
+
toolId?: boolean
|
|
372
|
+
personSlug?: boolean
|
|
373
|
+
tool?: boolean | Prisma.DbCommunityToolDefaultArgs<ExtArgs>
|
|
374
|
+
}, ExtArgs["result"]["dbCommunityToolOwner"]>
|
|
375
|
+
|
|
376
|
+
export type DbCommunityToolOwnerSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
377
|
+
toolId?: boolean
|
|
378
|
+
personSlug?: boolean
|
|
379
|
+
tool?: boolean | Prisma.DbCommunityToolDefaultArgs<ExtArgs>
|
|
380
|
+
}, ExtArgs["result"]["dbCommunityToolOwner"]>
|
|
381
|
+
|
|
382
|
+
export type DbCommunityToolOwnerSelectScalar = {
|
|
383
|
+
toolId?: boolean
|
|
384
|
+
personSlug?: boolean
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
export type DbCommunityToolOwnerOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"toolId" | "personSlug", ExtArgs["result"]["dbCommunityToolOwner"]>
|
|
388
|
+
export type DbCommunityToolOwnerInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
389
|
+
tool?: boolean | Prisma.DbCommunityToolDefaultArgs<ExtArgs>
|
|
390
|
+
}
|
|
391
|
+
export type DbCommunityToolOwnerIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
392
|
+
tool?: boolean | Prisma.DbCommunityToolDefaultArgs<ExtArgs>
|
|
393
|
+
}
|
|
394
|
+
export type DbCommunityToolOwnerIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
395
|
+
tool?: boolean | Prisma.DbCommunityToolDefaultArgs<ExtArgs>
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
export type $DbCommunityToolOwnerPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
399
|
+
name: "DbCommunityToolOwner"
|
|
400
|
+
objects: {
|
|
401
|
+
tool: Prisma.$DbCommunityToolPayload<ExtArgs>
|
|
402
|
+
}
|
|
403
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
404
|
+
toolId: string
|
|
405
|
+
personSlug: string
|
|
406
|
+
}, ExtArgs["result"]["dbCommunityToolOwner"]>
|
|
407
|
+
composites: {}
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
export type DbCommunityToolOwnerGetPayload<S extends boolean | null | undefined | DbCommunityToolOwnerDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$DbCommunityToolOwnerPayload, S>
|
|
411
|
+
|
|
412
|
+
export type DbCommunityToolOwnerCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
413
|
+
Omit<DbCommunityToolOwnerFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
414
|
+
select?: DbCommunityToolOwnerCountAggregateInputType | true
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
export interface DbCommunityToolOwnerDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
418
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['DbCommunityToolOwner'], meta: { name: 'DbCommunityToolOwner' } }
|
|
419
|
+
/**
|
|
420
|
+
* Find zero or one DbCommunityToolOwner that matches the filter.
|
|
421
|
+
* @param {DbCommunityToolOwnerFindUniqueArgs} args - Arguments to find a DbCommunityToolOwner
|
|
422
|
+
* @example
|
|
423
|
+
* // Get one DbCommunityToolOwner
|
|
424
|
+
* const dbCommunityToolOwner = await prisma.dbCommunityToolOwner.findUnique({
|
|
425
|
+
* where: {
|
|
426
|
+
* // ... provide filter here
|
|
427
|
+
* }
|
|
428
|
+
* })
|
|
429
|
+
*/
|
|
430
|
+
findUnique<T extends DbCommunityToolOwnerFindUniqueArgs>(args: Prisma.SelectSubset<T, DbCommunityToolOwnerFindUniqueArgs<ExtArgs>>): Prisma.Prisma__DbCommunityToolOwnerClient<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolOwnerPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
* Find one DbCommunityToolOwner that matches the filter or throw an error with `error.code='P2025'`
|
|
434
|
+
* if no matches were found.
|
|
435
|
+
* @param {DbCommunityToolOwnerFindUniqueOrThrowArgs} args - Arguments to find a DbCommunityToolOwner
|
|
436
|
+
* @example
|
|
437
|
+
* // Get one DbCommunityToolOwner
|
|
438
|
+
* const dbCommunityToolOwner = await prisma.dbCommunityToolOwner.findUniqueOrThrow({
|
|
439
|
+
* where: {
|
|
440
|
+
* // ... provide filter here
|
|
441
|
+
* }
|
|
442
|
+
* })
|
|
443
|
+
*/
|
|
444
|
+
findUniqueOrThrow<T extends DbCommunityToolOwnerFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, DbCommunityToolOwnerFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__DbCommunityToolOwnerClient<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolOwnerPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* Find the first DbCommunityToolOwner 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 {DbCommunityToolOwnerFindFirstArgs} args - Arguments to find a DbCommunityToolOwner
|
|
451
|
+
* @example
|
|
452
|
+
* // Get one DbCommunityToolOwner
|
|
453
|
+
* const dbCommunityToolOwner = await prisma.dbCommunityToolOwner.findFirst({
|
|
454
|
+
* where: {
|
|
455
|
+
* // ... provide filter here
|
|
456
|
+
* }
|
|
457
|
+
* })
|
|
458
|
+
*/
|
|
459
|
+
findFirst<T extends DbCommunityToolOwnerFindFirstArgs>(args?: Prisma.SelectSubset<T, DbCommunityToolOwnerFindFirstArgs<ExtArgs>>): Prisma.Prisma__DbCommunityToolOwnerClient<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolOwnerPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* Find the first DbCommunityToolOwner 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 {DbCommunityToolOwnerFindFirstOrThrowArgs} args - Arguments to find a DbCommunityToolOwner
|
|
467
|
+
* @example
|
|
468
|
+
* // Get one DbCommunityToolOwner
|
|
469
|
+
* const dbCommunityToolOwner = await prisma.dbCommunityToolOwner.findFirstOrThrow({
|
|
470
|
+
* where: {
|
|
471
|
+
* // ... provide filter here
|
|
472
|
+
* }
|
|
473
|
+
* })
|
|
474
|
+
*/
|
|
475
|
+
findFirstOrThrow<T extends DbCommunityToolOwnerFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, DbCommunityToolOwnerFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__DbCommunityToolOwnerClient<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolOwnerPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
* Find zero or more DbCommunityToolOwners 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 {DbCommunityToolOwnerFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
482
|
+
* @example
|
|
483
|
+
* // Get all DbCommunityToolOwners
|
|
484
|
+
* const dbCommunityToolOwners = await prisma.dbCommunityToolOwner.findMany()
|
|
485
|
+
*
|
|
486
|
+
* // Get first 10 DbCommunityToolOwners
|
|
487
|
+
* const dbCommunityToolOwners = await prisma.dbCommunityToolOwner.findMany({ take: 10 })
|
|
488
|
+
*
|
|
489
|
+
* // Only select the `toolId`
|
|
490
|
+
* const dbCommunityToolOwnerWithToolIdOnly = await prisma.dbCommunityToolOwner.findMany({ select: { toolId: true } })
|
|
491
|
+
*
|
|
492
|
+
*/
|
|
493
|
+
findMany<T extends DbCommunityToolOwnerFindManyArgs>(args?: Prisma.SelectSubset<T, DbCommunityToolOwnerFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolOwnerPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
494
|
+
|
|
495
|
+
/**
|
|
496
|
+
* Create a DbCommunityToolOwner.
|
|
497
|
+
* @param {DbCommunityToolOwnerCreateArgs} args - Arguments to create a DbCommunityToolOwner.
|
|
498
|
+
* @example
|
|
499
|
+
* // Create one DbCommunityToolOwner
|
|
500
|
+
* const DbCommunityToolOwner = await prisma.dbCommunityToolOwner.create({
|
|
501
|
+
* data: {
|
|
502
|
+
* // ... data to create a DbCommunityToolOwner
|
|
503
|
+
* }
|
|
504
|
+
* })
|
|
505
|
+
*
|
|
506
|
+
*/
|
|
507
|
+
create<T extends DbCommunityToolOwnerCreateArgs>(args: Prisma.SelectSubset<T, DbCommunityToolOwnerCreateArgs<ExtArgs>>): Prisma.Prisma__DbCommunityToolOwnerClient<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolOwnerPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
508
|
+
|
|
509
|
+
/**
|
|
510
|
+
* Create many DbCommunityToolOwners.
|
|
511
|
+
* @param {DbCommunityToolOwnerCreateManyArgs} args - Arguments to create many DbCommunityToolOwners.
|
|
512
|
+
* @example
|
|
513
|
+
* // Create many DbCommunityToolOwners
|
|
514
|
+
* const dbCommunityToolOwner = await prisma.dbCommunityToolOwner.createMany({
|
|
515
|
+
* data: [
|
|
516
|
+
* // ... provide data here
|
|
517
|
+
* ]
|
|
518
|
+
* })
|
|
519
|
+
*
|
|
520
|
+
*/
|
|
521
|
+
createMany<T extends DbCommunityToolOwnerCreateManyArgs>(args?: Prisma.SelectSubset<T, DbCommunityToolOwnerCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* Create many DbCommunityToolOwners and returns the data saved in the database.
|
|
525
|
+
* @param {DbCommunityToolOwnerCreateManyAndReturnArgs} args - Arguments to create many DbCommunityToolOwners.
|
|
526
|
+
* @example
|
|
527
|
+
* // Create many DbCommunityToolOwners
|
|
528
|
+
* const dbCommunityToolOwner = await prisma.dbCommunityToolOwner.createManyAndReturn({
|
|
529
|
+
* data: [
|
|
530
|
+
* // ... provide data here
|
|
531
|
+
* ]
|
|
532
|
+
* })
|
|
533
|
+
*
|
|
534
|
+
* // Create many DbCommunityToolOwners and only return the `toolId`
|
|
535
|
+
* const dbCommunityToolOwnerWithToolIdOnly = await prisma.dbCommunityToolOwner.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 DbCommunityToolOwnerCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, DbCommunityToolOwnerCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolOwnerPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* Delete a DbCommunityToolOwner.
|
|
549
|
+
* @param {DbCommunityToolOwnerDeleteArgs} args - Arguments to delete one DbCommunityToolOwner.
|
|
550
|
+
* @example
|
|
551
|
+
* // Delete one DbCommunityToolOwner
|
|
552
|
+
* const DbCommunityToolOwner = await prisma.dbCommunityToolOwner.delete({
|
|
553
|
+
* where: {
|
|
554
|
+
* // ... filter to delete one DbCommunityToolOwner
|
|
555
|
+
* }
|
|
556
|
+
* })
|
|
557
|
+
*
|
|
558
|
+
*/
|
|
559
|
+
delete<T extends DbCommunityToolOwnerDeleteArgs>(args: Prisma.SelectSubset<T, DbCommunityToolOwnerDeleteArgs<ExtArgs>>): Prisma.Prisma__DbCommunityToolOwnerClient<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolOwnerPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
* Update one DbCommunityToolOwner.
|
|
563
|
+
* @param {DbCommunityToolOwnerUpdateArgs} args - Arguments to update one DbCommunityToolOwner.
|
|
564
|
+
* @example
|
|
565
|
+
* // Update one DbCommunityToolOwner
|
|
566
|
+
* const dbCommunityToolOwner = await prisma.dbCommunityToolOwner.update({
|
|
567
|
+
* where: {
|
|
568
|
+
* // ... provide filter here
|
|
569
|
+
* },
|
|
570
|
+
* data: {
|
|
571
|
+
* // ... provide data here
|
|
572
|
+
* }
|
|
573
|
+
* })
|
|
574
|
+
*
|
|
575
|
+
*/
|
|
576
|
+
update<T extends DbCommunityToolOwnerUpdateArgs>(args: Prisma.SelectSubset<T, DbCommunityToolOwnerUpdateArgs<ExtArgs>>): Prisma.Prisma__DbCommunityToolOwnerClient<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolOwnerPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
* Delete zero or more DbCommunityToolOwners.
|
|
580
|
+
* @param {DbCommunityToolOwnerDeleteManyArgs} args - Arguments to filter DbCommunityToolOwners to delete.
|
|
581
|
+
* @example
|
|
582
|
+
* // Delete a few DbCommunityToolOwners
|
|
583
|
+
* const { count } = await prisma.dbCommunityToolOwner.deleteMany({
|
|
584
|
+
* where: {
|
|
585
|
+
* // ... provide filter here
|
|
586
|
+
* }
|
|
587
|
+
* })
|
|
588
|
+
*
|
|
589
|
+
*/
|
|
590
|
+
deleteMany<T extends DbCommunityToolOwnerDeleteManyArgs>(args?: Prisma.SelectSubset<T, DbCommunityToolOwnerDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* Update zero or more DbCommunityToolOwners.
|
|
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 {DbCommunityToolOwnerUpdateManyArgs} args - Arguments to update one or more rows.
|
|
597
|
+
* @example
|
|
598
|
+
* // Update many DbCommunityToolOwners
|
|
599
|
+
* const dbCommunityToolOwner = await prisma.dbCommunityToolOwner.updateMany({
|
|
600
|
+
* where: {
|
|
601
|
+
* // ... provide filter here
|
|
602
|
+
* },
|
|
603
|
+
* data: {
|
|
604
|
+
* // ... provide data here
|
|
605
|
+
* }
|
|
606
|
+
* })
|
|
607
|
+
*
|
|
608
|
+
*/
|
|
609
|
+
updateMany<T extends DbCommunityToolOwnerUpdateManyArgs>(args: Prisma.SelectSubset<T, DbCommunityToolOwnerUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
* Update zero or more DbCommunityToolOwners and returns the data updated in the database.
|
|
613
|
+
* @param {DbCommunityToolOwnerUpdateManyAndReturnArgs} args - Arguments to update many DbCommunityToolOwners.
|
|
614
|
+
* @example
|
|
615
|
+
* // Update many DbCommunityToolOwners
|
|
616
|
+
* const dbCommunityToolOwner = await prisma.dbCommunityToolOwner.updateManyAndReturn({
|
|
617
|
+
* where: {
|
|
618
|
+
* // ... provide filter here
|
|
619
|
+
* },
|
|
620
|
+
* data: [
|
|
621
|
+
* // ... provide data here
|
|
622
|
+
* ]
|
|
623
|
+
* })
|
|
624
|
+
*
|
|
625
|
+
* // Update zero or more DbCommunityToolOwners and only return the `toolId`
|
|
626
|
+
* const dbCommunityToolOwnerWithToolIdOnly = await prisma.dbCommunityToolOwner.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 DbCommunityToolOwnerUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, DbCommunityToolOwnerUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolOwnerPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
640
|
+
|
|
641
|
+
/**
|
|
642
|
+
* Create or update one DbCommunityToolOwner.
|
|
643
|
+
* @param {DbCommunityToolOwnerUpsertArgs} args - Arguments to update or create a DbCommunityToolOwner.
|
|
644
|
+
* @example
|
|
645
|
+
* // Update or create a DbCommunityToolOwner
|
|
646
|
+
* const dbCommunityToolOwner = await prisma.dbCommunityToolOwner.upsert({
|
|
647
|
+
* create: {
|
|
648
|
+
* // ... data to create a DbCommunityToolOwner
|
|
649
|
+
* },
|
|
650
|
+
* update: {
|
|
651
|
+
* // ... in case it already exists, update
|
|
652
|
+
* },
|
|
653
|
+
* where: {
|
|
654
|
+
* // ... the filter for the DbCommunityToolOwner we want to update
|
|
655
|
+
* }
|
|
656
|
+
* })
|
|
657
|
+
*/
|
|
658
|
+
upsert<T extends DbCommunityToolOwnerUpsertArgs>(args: Prisma.SelectSubset<T, DbCommunityToolOwnerUpsertArgs<ExtArgs>>): Prisma.Prisma__DbCommunityToolOwnerClient<runtime.Types.Result.GetResult<Prisma.$DbCommunityToolOwnerPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
659
|
+
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
* Count the number of DbCommunityToolOwners.
|
|
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 {DbCommunityToolOwnerCountArgs} args - Arguments to filter DbCommunityToolOwners to count.
|
|
666
|
+
* @example
|
|
667
|
+
* // Count the number of DbCommunityToolOwners
|
|
668
|
+
* const count = await prisma.dbCommunityToolOwner.count({
|
|
669
|
+
* where: {
|
|
670
|
+
* // ... the filter for the DbCommunityToolOwners we want to count
|
|
671
|
+
* }
|
|
672
|
+
* })
|
|
673
|
+
**/
|
|
674
|
+
count<T extends DbCommunityToolOwnerCountArgs>(
|
|
675
|
+
args?: Prisma.Subset<T, DbCommunityToolOwnerCountArgs>,
|
|
676
|
+
): Prisma.PrismaPromise<
|
|
677
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
678
|
+
? T['select'] extends true
|
|
679
|
+
? number
|
|
680
|
+
: Prisma.GetScalarType<T['select'], DbCommunityToolOwnerCountAggregateOutputType>
|
|
681
|
+
: number
|
|
682
|
+
>
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* Allows you to perform aggregations operations on a DbCommunityToolOwner.
|
|
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 {DbCommunityToolOwnerAggregateArgs} 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 DbCommunityToolOwnerAggregateArgs>(args: Prisma.Subset<T, DbCommunityToolOwnerAggregateArgs>): Prisma.PrismaPromise<GetDbCommunityToolOwnerAggregateType<T>>
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* Group by DbCommunityToolOwner.
|
|
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 {DbCommunityToolOwnerGroupByArgs} 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 DbCommunityToolOwnerGroupByArgs,
|
|
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: DbCommunityToolOwnerGroupByArgs['orderBy'] }
|
|
736
|
+
: { orderBy?: DbCommunityToolOwnerGroupByArgs['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, DbCommunityToolOwnerGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDbCommunityToolOwnerGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
786
|
+
/**
|
|
787
|
+
* Fields of the DbCommunityToolOwner model
|
|
788
|
+
*/
|
|
789
|
+
readonly fields: DbCommunityToolOwnerFieldRefs;
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
/**
|
|
793
|
+
* The delegate class that acts as a "Promise-like" for DbCommunityToolOwner.
|
|
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__DbCommunityToolOwnerClient<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 DbCommunityToolOwner model
|
|
828
|
+
*/
|
|
829
|
+
export interface DbCommunityToolOwnerFieldRefs {
|
|
830
|
+
readonly toolId: Prisma.FieldRef<"DbCommunityToolOwner", 'String'>
|
|
831
|
+
readonly personSlug: Prisma.FieldRef<"DbCommunityToolOwner", 'String'>
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
|
|
835
|
+
// Custom InputTypes
|
|
836
|
+
/**
|
|
837
|
+
* DbCommunityToolOwner findUnique
|
|
838
|
+
*/
|
|
839
|
+
export type DbCommunityToolOwnerFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
840
|
+
/**
|
|
841
|
+
* Select specific fields to fetch from the DbCommunityToolOwner
|
|
842
|
+
*/
|
|
843
|
+
select?: Prisma.DbCommunityToolOwnerSelect<ExtArgs> | null
|
|
844
|
+
/**
|
|
845
|
+
* Omit specific fields from the DbCommunityToolOwner
|
|
846
|
+
*/
|
|
847
|
+
omit?: Prisma.DbCommunityToolOwnerOmit<ExtArgs> | null
|
|
848
|
+
/**
|
|
849
|
+
* Choose, which related nodes to fetch as well
|
|
850
|
+
*/
|
|
851
|
+
include?: Prisma.DbCommunityToolOwnerInclude<ExtArgs> | null
|
|
852
|
+
/**
|
|
853
|
+
* Filter, which DbCommunityToolOwner to fetch.
|
|
854
|
+
*/
|
|
855
|
+
where: Prisma.DbCommunityToolOwnerWhereUniqueInput
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* DbCommunityToolOwner findUniqueOrThrow
|
|
860
|
+
*/
|
|
861
|
+
export type DbCommunityToolOwnerFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
862
|
+
/**
|
|
863
|
+
* Select specific fields to fetch from the DbCommunityToolOwner
|
|
864
|
+
*/
|
|
865
|
+
select?: Prisma.DbCommunityToolOwnerSelect<ExtArgs> | null
|
|
866
|
+
/**
|
|
867
|
+
* Omit specific fields from the DbCommunityToolOwner
|
|
868
|
+
*/
|
|
869
|
+
omit?: Prisma.DbCommunityToolOwnerOmit<ExtArgs> | null
|
|
870
|
+
/**
|
|
871
|
+
* Choose, which related nodes to fetch as well
|
|
872
|
+
*/
|
|
873
|
+
include?: Prisma.DbCommunityToolOwnerInclude<ExtArgs> | null
|
|
874
|
+
/**
|
|
875
|
+
* Filter, which DbCommunityToolOwner to fetch.
|
|
876
|
+
*/
|
|
877
|
+
where: Prisma.DbCommunityToolOwnerWhereUniqueInput
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
/**
|
|
881
|
+
* DbCommunityToolOwner findFirst
|
|
882
|
+
*/
|
|
883
|
+
export type DbCommunityToolOwnerFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
884
|
+
/**
|
|
885
|
+
* Select specific fields to fetch from the DbCommunityToolOwner
|
|
886
|
+
*/
|
|
887
|
+
select?: Prisma.DbCommunityToolOwnerSelect<ExtArgs> | null
|
|
888
|
+
/**
|
|
889
|
+
* Omit specific fields from the DbCommunityToolOwner
|
|
890
|
+
*/
|
|
891
|
+
omit?: Prisma.DbCommunityToolOwnerOmit<ExtArgs> | null
|
|
892
|
+
/**
|
|
893
|
+
* Choose, which related nodes to fetch as well
|
|
894
|
+
*/
|
|
895
|
+
include?: Prisma.DbCommunityToolOwnerInclude<ExtArgs> | null
|
|
896
|
+
/**
|
|
897
|
+
* Filter, which DbCommunityToolOwner to fetch.
|
|
898
|
+
*/
|
|
899
|
+
where?: Prisma.DbCommunityToolOwnerWhereInput
|
|
900
|
+
/**
|
|
901
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
902
|
+
*
|
|
903
|
+
* Determine the order of DbCommunityToolOwners to fetch.
|
|
904
|
+
*/
|
|
905
|
+
orderBy?: Prisma.DbCommunityToolOwnerOrderByWithRelationInput | Prisma.DbCommunityToolOwnerOrderByWithRelationInput[]
|
|
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 DbCommunityToolOwners.
|
|
910
|
+
*/
|
|
911
|
+
cursor?: Prisma.DbCommunityToolOwnerWhereUniqueInput
|
|
912
|
+
/**
|
|
913
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
914
|
+
*
|
|
915
|
+
* Take `±n` DbCommunityToolOwners 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` DbCommunityToolOwners.
|
|
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 DbCommunityToolOwners.
|
|
928
|
+
*/
|
|
929
|
+
distinct?: Prisma.DbCommunityToolOwnerScalarFieldEnum | Prisma.DbCommunityToolOwnerScalarFieldEnum[]
|
|
930
|
+
}
|
|
931
|
+
|
|
932
|
+
/**
|
|
933
|
+
* DbCommunityToolOwner findFirstOrThrow
|
|
934
|
+
*/
|
|
935
|
+
export type DbCommunityToolOwnerFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
936
|
+
/**
|
|
937
|
+
* Select specific fields to fetch from the DbCommunityToolOwner
|
|
938
|
+
*/
|
|
939
|
+
select?: Prisma.DbCommunityToolOwnerSelect<ExtArgs> | null
|
|
940
|
+
/**
|
|
941
|
+
* Omit specific fields from the DbCommunityToolOwner
|
|
942
|
+
*/
|
|
943
|
+
omit?: Prisma.DbCommunityToolOwnerOmit<ExtArgs> | null
|
|
944
|
+
/**
|
|
945
|
+
* Choose, which related nodes to fetch as well
|
|
946
|
+
*/
|
|
947
|
+
include?: Prisma.DbCommunityToolOwnerInclude<ExtArgs> | null
|
|
948
|
+
/**
|
|
949
|
+
* Filter, which DbCommunityToolOwner to fetch.
|
|
950
|
+
*/
|
|
951
|
+
where?: Prisma.DbCommunityToolOwnerWhereInput
|
|
952
|
+
/**
|
|
953
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
954
|
+
*
|
|
955
|
+
* Determine the order of DbCommunityToolOwners to fetch.
|
|
956
|
+
*/
|
|
957
|
+
orderBy?: Prisma.DbCommunityToolOwnerOrderByWithRelationInput | Prisma.DbCommunityToolOwnerOrderByWithRelationInput[]
|
|
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 DbCommunityToolOwners.
|
|
962
|
+
*/
|
|
963
|
+
cursor?: Prisma.DbCommunityToolOwnerWhereUniqueInput
|
|
964
|
+
/**
|
|
965
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
966
|
+
*
|
|
967
|
+
* Take `±n` DbCommunityToolOwners 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` DbCommunityToolOwners.
|
|
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 DbCommunityToolOwners.
|
|
980
|
+
*/
|
|
981
|
+
distinct?: Prisma.DbCommunityToolOwnerScalarFieldEnum | Prisma.DbCommunityToolOwnerScalarFieldEnum[]
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
/**
|
|
985
|
+
* DbCommunityToolOwner findMany
|
|
986
|
+
*/
|
|
987
|
+
export type DbCommunityToolOwnerFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
988
|
+
/**
|
|
989
|
+
* Select specific fields to fetch from the DbCommunityToolOwner
|
|
990
|
+
*/
|
|
991
|
+
select?: Prisma.DbCommunityToolOwnerSelect<ExtArgs> | null
|
|
992
|
+
/**
|
|
993
|
+
* Omit specific fields from the DbCommunityToolOwner
|
|
994
|
+
*/
|
|
995
|
+
omit?: Prisma.DbCommunityToolOwnerOmit<ExtArgs> | null
|
|
996
|
+
/**
|
|
997
|
+
* Choose, which related nodes to fetch as well
|
|
998
|
+
*/
|
|
999
|
+
include?: Prisma.DbCommunityToolOwnerInclude<ExtArgs> | null
|
|
1000
|
+
/**
|
|
1001
|
+
* Filter, which DbCommunityToolOwners to fetch.
|
|
1002
|
+
*/
|
|
1003
|
+
where?: Prisma.DbCommunityToolOwnerWhereInput
|
|
1004
|
+
/**
|
|
1005
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1006
|
+
*
|
|
1007
|
+
* Determine the order of DbCommunityToolOwners to fetch.
|
|
1008
|
+
*/
|
|
1009
|
+
orderBy?: Prisma.DbCommunityToolOwnerOrderByWithRelationInput | Prisma.DbCommunityToolOwnerOrderByWithRelationInput[]
|
|
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 DbCommunityToolOwners.
|
|
1014
|
+
*/
|
|
1015
|
+
cursor?: Prisma.DbCommunityToolOwnerWhereUniqueInput
|
|
1016
|
+
/**
|
|
1017
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1018
|
+
*
|
|
1019
|
+
* Take `±n` DbCommunityToolOwners 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` DbCommunityToolOwners.
|
|
1026
|
+
*/
|
|
1027
|
+
skip?: number
|
|
1028
|
+
distinct?: Prisma.DbCommunityToolOwnerScalarFieldEnum | Prisma.DbCommunityToolOwnerScalarFieldEnum[]
|
|
1029
|
+
}
|
|
1030
|
+
|
|
1031
|
+
/**
|
|
1032
|
+
* DbCommunityToolOwner create
|
|
1033
|
+
*/
|
|
1034
|
+
export type DbCommunityToolOwnerCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1035
|
+
/**
|
|
1036
|
+
* Select specific fields to fetch from the DbCommunityToolOwner
|
|
1037
|
+
*/
|
|
1038
|
+
select?: Prisma.DbCommunityToolOwnerSelect<ExtArgs> | null
|
|
1039
|
+
/**
|
|
1040
|
+
* Omit specific fields from the DbCommunityToolOwner
|
|
1041
|
+
*/
|
|
1042
|
+
omit?: Prisma.DbCommunityToolOwnerOmit<ExtArgs> | null
|
|
1043
|
+
/**
|
|
1044
|
+
* Choose, which related nodes to fetch as well
|
|
1045
|
+
*/
|
|
1046
|
+
include?: Prisma.DbCommunityToolOwnerInclude<ExtArgs> | null
|
|
1047
|
+
/**
|
|
1048
|
+
* The data needed to create a DbCommunityToolOwner.
|
|
1049
|
+
*/
|
|
1050
|
+
data: Prisma.XOR<Prisma.DbCommunityToolOwnerCreateInput, Prisma.DbCommunityToolOwnerUncheckedCreateInput>
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
/**
|
|
1054
|
+
* DbCommunityToolOwner createMany
|
|
1055
|
+
*/
|
|
1056
|
+
export type DbCommunityToolOwnerCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1057
|
+
/**
|
|
1058
|
+
* The data used to create many DbCommunityToolOwners.
|
|
1059
|
+
*/
|
|
1060
|
+
data: Prisma.DbCommunityToolOwnerCreateManyInput | Prisma.DbCommunityToolOwnerCreateManyInput[]
|
|
1061
|
+
skipDuplicates?: boolean
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
/**
|
|
1065
|
+
* DbCommunityToolOwner createManyAndReturn
|
|
1066
|
+
*/
|
|
1067
|
+
export type DbCommunityToolOwnerCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1068
|
+
/**
|
|
1069
|
+
* Select specific fields to fetch from the DbCommunityToolOwner
|
|
1070
|
+
*/
|
|
1071
|
+
select?: Prisma.DbCommunityToolOwnerSelectCreateManyAndReturn<ExtArgs> | null
|
|
1072
|
+
/**
|
|
1073
|
+
* Omit specific fields from the DbCommunityToolOwner
|
|
1074
|
+
*/
|
|
1075
|
+
omit?: Prisma.DbCommunityToolOwnerOmit<ExtArgs> | null
|
|
1076
|
+
/**
|
|
1077
|
+
* The data used to create many DbCommunityToolOwners.
|
|
1078
|
+
*/
|
|
1079
|
+
data: Prisma.DbCommunityToolOwnerCreateManyInput | Prisma.DbCommunityToolOwnerCreateManyInput[]
|
|
1080
|
+
skipDuplicates?: boolean
|
|
1081
|
+
/**
|
|
1082
|
+
* Choose, which related nodes to fetch as well
|
|
1083
|
+
*/
|
|
1084
|
+
include?: Prisma.DbCommunityToolOwnerIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
/**
|
|
1088
|
+
* DbCommunityToolOwner update
|
|
1089
|
+
*/
|
|
1090
|
+
export type DbCommunityToolOwnerUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1091
|
+
/**
|
|
1092
|
+
* Select specific fields to fetch from the DbCommunityToolOwner
|
|
1093
|
+
*/
|
|
1094
|
+
select?: Prisma.DbCommunityToolOwnerSelect<ExtArgs> | null
|
|
1095
|
+
/**
|
|
1096
|
+
* Omit specific fields from the DbCommunityToolOwner
|
|
1097
|
+
*/
|
|
1098
|
+
omit?: Prisma.DbCommunityToolOwnerOmit<ExtArgs> | null
|
|
1099
|
+
/**
|
|
1100
|
+
* Choose, which related nodes to fetch as well
|
|
1101
|
+
*/
|
|
1102
|
+
include?: Prisma.DbCommunityToolOwnerInclude<ExtArgs> | null
|
|
1103
|
+
/**
|
|
1104
|
+
* The data needed to update a DbCommunityToolOwner.
|
|
1105
|
+
*/
|
|
1106
|
+
data: Prisma.XOR<Prisma.DbCommunityToolOwnerUpdateInput, Prisma.DbCommunityToolOwnerUncheckedUpdateInput>
|
|
1107
|
+
/**
|
|
1108
|
+
* Choose, which DbCommunityToolOwner to update.
|
|
1109
|
+
*/
|
|
1110
|
+
where: Prisma.DbCommunityToolOwnerWhereUniqueInput
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
/**
|
|
1114
|
+
* DbCommunityToolOwner updateMany
|
|
1115
|
+
*/
|
|
1116
|
+
export type DbCommunityToolOwnerUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1117
|
+
/**
|
|
1118
|
+
* The data used to update DbCommunityToolOwners.
|
|
1119
|
+
*/
|
|
1120
|
+
data: Prisma.XOR<Prisma.DbCommunityToolOwnerUpdateManyMutationInput, Prisma.DbCommunityToolOwnerUncheckedUpdateManyInput>
|
|
1121
|
+
/**
|
|
1122
|
+
* Filter which DbCommunityToolOwners to update
|
|
1123
|
+
*/
|
|
1124
|
+
where?: Prisma.DbCommunityToolOwnerWhereInput
|
|
1125
|
+
/**
|
|
1126
|
+
* Limit how many DbCommunityToolOwners to update.
|
|
1127
|
+
*/
|
|
1128
|
+
limit?: number
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
/**
|
|
1132
|
+
* DbCommunityToolOwner updateManyAndReturn
|
|
1133
|
+
*/
|
|
1134
|
+
export type DbCommunityToolOwnerUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1135
|
+
/**
|
|
1136
|
+
* Select specific fields to fetch from the DbCommunityToolOwner
|
|
1137
|
+
*/
|
|
1138
|
+
select?: Prisma.DbCommunityToolOwnerSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1139
|
+
/**
|
|
1140
|
+
* Omit specific fields from the DbCommunityToolOwner
|
|
1141
|
+
*/
|
|
1142
|
+
omit?: Prisma.DbCommunityToolOwnerOmit<ExtArgs> | null
|
|
1143
|
+
/**
|
|
1144
|
+
* The data used to update DbCommunityToolOwners.
|
|
1145
|
+
*/
|
|
1146
|
+
data: Prisma.XOR<Prisma.DbCommunityToolOwnerUpdateManyMutationInput, Prisma.DbCommunityToolOwnerUncheckedUpdateManyInput>
|
|
1147
|
+
/**
|
|
1148
|
+
* Filter which DbCommunityToolOwners to update
|
|
1149
|
+
*/
|
|
1150
|
+
where?: Prisma.DbCommunityToolOwnerWhereInput
|
|
1151
|
+
/**
|
|
1152
|
+
* Limit how many DbCommunityToolOwners to update.
|
|
1153
|
+
*/
|
|
1154
|
+
limit?: number
|
|
1155
|
+
/**
|
|
1156
|
+
* Choose, which related nodes to fetch as well
|
|
1157
|
+
*/
|
|
1158
|
+
include?: Prisma.DbCommunityToolOwnerIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
/**
|
|
1162
|
+
* DbCommunityToolOwner upsert
|
|
1163
|
+
*/
|
|
1164
|
+
export type DbCommunityToolOwnerUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1165
|
+
/**
|
|
1166
|
+
* Select specific fields to fetch from the DbCommunityToolOwner
|
|
1167
|
+
*/
|
|
1168
|
+
select?: Prisma.DbCommunityToolOwnerSelect<ExtArgs> | null
|
|
1169
|
+
/**
|
|
1170
|
+
* Omit specific fields from the DbCommunityToolOwner
|
|
1171
|
+
*/
|
|
1172
|
+
omit?: Prisma.DbCommunityToolOwnerOmit<ExtArgs> | null
|
|
1173
|
+
/**
|
|
1174
|
+
* Choose, which related nodes to fetch as well
|
|
1175
|
+
*/
|
|
1176
|
+
include?: Prisma.DbCommunityToolOwnerInclude<ExtArgs> | null
|
|
1177
|
+
/**
|
|
1178
|
+
* The filter to search for the DbCommunityToolOwner to update in case it exists.
|
|
1179
|
+
*/
|
|
1180
|
+
where: Prisma.DbCommunityToolOwnerWhereUniqueInput
|
|
1181
|
+
/**
|
|
1182
|
+
* In case the DbCommunityToolOwner found by the `where` argument doesn't exist, create a new DbCommunityToolOwner with this data.
|
|
1183
|
+
*/
|
|
1184
|
+
create: Prisma.XOR<Prisma.DbCommunityToolOwnerCreateInput, Prisma.DbCommunityToolOwnerUncheckedCreateInput>
|
|
1185
|
+
/**
|
|
1186
|
+
* In case the DbCommunityToolOwner was found with the provided `where` argument, update it with this data.
|
|
1187
|
+
*/
|
|
1188
|
+
update: Prisma.XOR<Prisma.DbCommunityToolOwnerUpdateInput, Prisma.DbCommunityToolOwnerUncheckedUpdateInput>
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
/**
|
|
1192
|
+
* DbCommunityToolOwner delete
|
|
1193
|
+
*/
|
|
1194
|
+
export type DbCommunityToolOwnerDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1195
|
+
/**
|
|
1196
|
+
* Select specific fields to fetch from the DbCommunityToolOwner
|
|
1197
|
+
*/
|
|
1198
|
+
select?: Prisma.DbCommunityToolOwnerSelect<ExtArgs> | null
|
|
1199
|
+
/**
|
|
1200
|
+
* Omit specific fields from the DbCommunityToolOwner
|
|
1201
|
+
*/
|
|
1202
|
+
omit?: Prisma.DbCommunityToolOwnerOmit<ExtArgs> | null
|
|
1203
|
+
/**
|
|
1204
|
+
* Choose, which related nodes to fetch as well
|
|
1205
|
+
*/
|
|
1206
|
+
include?: Prisma.DbCommunityToolOwnerInclude<ExtArgs> | null
|
|
1207
|
+
/**
|
|
1208
|
+
* Filter which DbCommunityToolOwner to delete.
|
|
1209
|
+
*/
|
|
1210
|
+
where: Prisma.DbCommunityToolOwnerWhereUniqueInput
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
/**
|
|
1214
|
+
* DbCommunityToolOwner deleteMany
|
|
1215
|
+
*/
|
|
1216
|
+
export type DbCommunityToolOwnerDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1217
|
+
/**
|
|
1218
|
+
* Filter which DbCommunityToolOwners to delete
|
|
1219
|
+
*/
|
|
1220
|
+
where?: Prisma.DbCommunityToolOwnerWhereInput
|
|
1221
|
+
/**
|
|
1222
|
+
* Limit how many DbCommunityToolOwners to delete.
|
|
1223
|
+
*/
|
|
1224
|
+
limit?: number
|
|
1225
|
+
}
|
|
1226
|
+
|
|
1227
|
+
/**
|
|
1228
|
+
* DbCommunityToolOwner without action
|
|
1229
|
+
*/
|
|
1230
|
+
export type DbCommunityToolOwnerDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1231
|
+
/**
|
|
1232
|
+
* Select specific fields to fetch from the DbCommunityToolOwner
|
|
1233
|
+
*/
|
|
1234
|
+
select?: Prisma.DbCommunityToolOwnerSelect<ExtArgs> | null
|
|
1235
|
+
/**
|
|
1236
|
+
* Omit specific fields from the DbCommunityToolOwner
|
|
1237
|
+
*/
|
|
1238
|
+
omit?: Prisma.DbCommunityToolOwnerOmit<ExtArgs> | null
|
|
1239
|
+
/**
|
|
1240
|
+
* Choose, which related nodes to fetch as well
|
|
1241
|
+
*/
|
|
1242
|
+
include?: Prisma.DbCommunityToolOwnerInclude<ExtArgs> | null
|
|
1243
|
+
}
|