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