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