@igstack/app-catalog-backend-core 6.3.0 → 6.4.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 -0
- package/dist/db/syncAppCatalog.mjs.map +1 -1
- package/dist/generated/prisma/client.mjs.map +1 -1
- package/dist/generated/prisma/commonInputTypes.d.mts +72 -72
- package/dist/generated/prisma/commonInputTypes.d.mts.map +1 -1
- package/dist/generated/prisma/internal/class.d.mts +17 -5
- 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 +145 -51
- package/dist/generated/prisma/internal/prismaNamespace.d.mts.map +1 -1
- package/dist/generated/prisma/models/DbApprovalMethod.d.mts +30 -3
- package/dist/generated/prisma/models/DbApprovalMethod.d.mts.map +1 -1
- package/dist/generated/prisma/models/DbAsset.d.mts +2 -11
- package/dist/generated/prisma/models/DbAsset.d.mts.map +1 -1
- package/dist/generated/prisma/models/DbFeedback.d.mts +1565 -0
- package/dist/generated/prisma/models/DbFeedback.d.mts.map +1 -0
- package/dist/generated/prisma/models/DbFeedbackAttachment.d.mts +1431 -0
- package/dist/generated/prisma/models/DbFeedbackAttachment.d.mts.map +1 -0
- package/dist/generated/prisma/models/DbResource.d.mts +108 -60
- package/dist/generated/prisma/models/DbResource.d.mts.map +1 -1
- package/dist/generated/prisma/models/SourceReference.d.mts +1 -1
- package/dist/generated/prisma/models.d.mts +4 -3
- package/dist/index.d.mts +5 -3
- package/dist/index.mjs +5 -3
- package/dist/middleware/createAcMiddleware.mjs +2 -2
- package/dist/middleware/createAcMiddleware.mjs.map +1 -1
- package/dist/middleware/featureRegistry.mjs +3 -1
- package/dist/middleware/featureRegistry.mjs.map +1 -1
- package/dist/modules/appCatalog/service.d.mts.map +1 -1
- package/dist/modules/appCatalog/service.mjs +1 -0
- package/dist/modules/appCatalog/service.mjs.map +1 -1
- package/dist/modules/feedback/feedbackAttachmentController.d.mts +22 -0
- package/dist/modules/feedback/feedbackAttachmentController.d.mts.map +1 -0
- package/dist/modules/feedback/feedbackAttachmentController.mjs +192 -0
- package/dist/modules/feedback/feedbackAttachmentController.mjs.map +1 -0
- package/dist/modules/feedback/feedbackRouter.d.mts +54 -0
- package/dist/modules/feedback/feedbackRouter.d.mts.map +1 -0
- package/dist/modules/feedback/feedbackRouter.mjs +59 -0
- package/dist/modules/feedback/feedbackRouter.mjs.map +1 -0
- package/dist/modules/feedback/service.d.mts +42 -0
- package/dist/modules/feedback/service.d.mts.map +1 -0
- package/dist/modules/feedback/service.mjs +165 -0
- package/dist/modules/feedback/service.mjs.map +1 -0
- package/dist/modules/visitor/visitorIdentity.d.mts +86 -0
- package/dist/modules/visitor/visitorIdentity.d.mts.map +1 -0
- package/dist/modules/{comments → visitor}/visitorIdentity.mjs +53 -2
- package/dist/modules/visitor/visitorIdentity.mjs.map +1 -0
- package/dist/server/acTrpcContext.d.mts +8 -7
- package/dist/server/acTrpcContext.d.mts.map +1 -1
- package/dist/server/acTrpcContext.mjs +2 -2
- package/dist/server/acTrpcContext.mjs.map +1 -1
- package/dist/server/controller.d.mts +15 -8
- package/dist/server/controller.d.mts.map +1 -1
- package/dist/server/controller.mjs +2 -2
- package/dist/server/controller.mjs.map +1 -1
- package/dist/types/common/appCatalogTypes.d.mts +12 -0
- package/dist/types/common/appCatalogTypes.d.mts.map +1 -1
- package/dist/types/common/approvalMethodTypes.d.mts +12 -0
- package/dist/types/common/approvalMethodTypes.d.mts.map +1 -1
- package/package.json +5 -5
- package/prisma/migrations/20261004000000_feedback_replaces_comments/migration.sql +74 -0
- package/prisma/schema.prisma +84 -24
- package/src/__tests__/feedbackAttachmentUpload.test.ts +192 -0
- package/src/__tests__/{comments.test.ts → visitorIdentity.test.ts} +1 -1
- package/src/db/syncAppCatalog.ts +1 -0
- package/src/generated/prisma/browser.ts +22 -7
- package/src/generated/prisma/client.ts +22 -7
- package/src/generated/prisma/commonInputTypes.ts +85 -85
- package/src/generated/prisma/internal/class.ts +18 -8
- package/src/generated/prisma/internal/prismaNamespace.ts +143 -47
- package/src/generated/prisma/internal/prismaNamespaceBrowser.ts +24 -3
- package/src/generated/prisma/models/DbApprovalMethod.ts +29 -1
- package/src/generated/prisma/models/DbAsset.ts +0 -12
- package/src/generated/prisma/models/DbFeedback.ts +1814 -0
- package/src/generated/prisma/models/DbFeedbackAttachment.ts +1661 -0
- package/src/generated/prisma/models/DbResource.ts +107 -58
- package/src/generated/prisma/models.ts +2 -1
- package/src/index.ts +24 -4
- package/src/middleware/createAcMiddleware.ts +4 -3
- package/src/middleware/featureRegistry.ts +7 -0
- package/src/modules/appCatalog/service.ts +1 -0
- package/src/modules/feedback/feedbackAttachmentController.ts +248 -0
- package/src/modules/feedback/feedbackRouter.ts +102 -0
- package/src/modules/feedback/service.ts +295 -0
- package/src/modules/{comments → visitor}/visitorIdentity.ts +84 -0
- package/src/server/acTrpcContext.ts +9 -8
- package/src/server/controller.ts +2 -2
- package/src/types/common/appCatalogTypes.ts +12 -0
- package/src/types/common/approvalMethodTypes.ts +12 -0
- package/dist/generated/prisma/models/DbComment.d.mts +0 -1340
- package/dist/generated/prisma/models/DbComment.d.mts.map +0 -1
- package/dist/modules/comments/commentsRouter.d.mts +0 -47
- package/dist/modules/comments/commentsRouter.d.mts.map +0 -1
- package/dist/modules/comments/commentsRouter.mjs +0 -55
- package/dist/modules/comments/commentsRouter.mjs.map +0 -1
- package/dist/modules/comments/service.d.mts +0 -40
- package/dist/modules/comments/service.d.mts.map +0 -1
- package/dist/modules/comments/service.mjs +0 -88
- package/dist/modules/comments/service.mjs.map +0 -1
- package/dist/modules/comments/visitorIdentity.d.mts +0 -15
- package/dist/modules/comments/visitorIdentity.d.mts.map +0 -1
- package/dist/modules/comments/visitorIdentity.mjs.map +0 -1
- package/src/generated/prisma/models/DbComment.ts +0 -1561
- package/src/modules/comments/commentsRouter.ts +0 -85
- package/src/modules/comments/service.ts +0 -174
|
@@ -0,0 +1,1814 @@
|
|
|
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 `DbFeedback` 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 DbFeedback
|
|
19
|
+
* One piece of visitor input about the catalog: a note, a correction, or an ask for
|
|
20
|
+
* something that is not in the catalog yet.
|
|
21
|
+
*
|
|
22
|
+
* Browsable without logging in, so this carries no user id. The server issues an
|
|
23
|
+
* opaque visitor token in an httpOnly cookie and stores its hash: enough to let an
|
|
24
|
+
* author edit or withdraw their own, and nothing a reader can forge.
|
|
25
|
+
*
|
|
26
|
+
* There is deliberately no `kind` discriminator. "Is anyone waiting on this" is
|
|
27
|
+
* `status IS NULL`, and "is this about an entry or about the catalog" is whether
|
|
28
|
+
* `resourceId` is set — so an enum would encode nothing the row does not already say,
|
|
29
|
+
* and asking a visitor to classify their own report costs more than it buys.
|
|
30
|
+
*/
|
|
31
|
+
export type DbFeedbackModel = runtime.Types.Result.DefaultSelection<Prisma.$DbFeedbackPayload>
|
|
32
|
+
|
|
33
|
+
export type AggregateDbFeedback = {
|
|
34
|
+
_count: DbFeedbackCountAggregateOutputType | null
|
|
35
|
+
_min: DbFeedbackMinAggregateOutputType | null
|
|
36
|
+
_max: DbFeedbackMaxAggregateOutputType | null
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export type DbFeedbackMinAggregateOutputType = {
|
|
40
|
+
id: string | null
|
|
41
|
+
resourceId: string | null
|
|
42
|
+
subject: string | null
|
|
43
|
+
authorHash: string | null
|
|
44
|
+
authorAlias: string | null
|
|
45
|
+
body: string | null
|
|
46
|
+
editedAt: Date | null
|
|
47
|
+
status: $Enums.CommentStatus | null
|
|
48
|
+
reviewerReply: string | null
|
|
49
|
+
reviewedAt: Date | null
|
|
50
|
+
createdAt: Date | null
|
|
51
|
+
updatedAt: Date | null
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export type DbFeedbackMaxAggregateOutputType = {
|
|
55
|
+
id: string | null
|
|
56
|
+
resourceId: string | null
|
|
57
|
+
subject: string | null
|
|
58
|
+
authorHash: string | null
|
|
59
|
+
authorAlias: string | null
|
|
60
|
+
body: string | null
|
|
61
|
+
editedAt: Date | null
|
|
62
|
+
status: $Enums.CommentStatus | null
|
|
63
|
+
reviewerReply: string | null
|
|
64
|
+
reviewedAt: Date | null
|
|
65
|
+
createdAt: Date | null
|
|
66
|
+
updatedAt: Date | null
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export type DbFeedbackCountAggregateOutputType = {
|
|
70
|
+
id: number
|
|
71
|
+
resourceId: number
|
|
72
|
+
subject: number
|
|
73
|
+
authorHash: number
|
|
74
|
+
authorAlias: number
|
|
75
|
+
body: number
|
|
76
|
+
editedAt: number
|
|
77
|
+
status: number
|
|
78
|
+
reviewerReply: number
|
|
79
|
+
reviewedAt: number
|
|
80
|
+
createdAt: number
|
|
81
|
+
updatedAt: number
|
|
82
|
+
_all: number
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
export type DbFeedbackMinAggregateInputType = {
|
|
87
|
+
id?: true
|
|
88
|
+
resourceId?: true
|
|
89
|
+
subject?: true
|
|
90
|
+
authorHash?: true
|
|
91
|
+
authorAlias?: true
|
|
92
|
+
body?: true
|
|
93
|
+
editedAt?: true
|
|
94
|
+
status?: true
|
|
95
|
+
reviewerReply?: true
|
|
96
|
+
reviewedAt?: true
|
|
97
|
+
createdAt?: true
|
|
98
|
+
updatedAt?: true
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export type DbFeedbackMaxAggregateInputType = {
|
|
102
|
+
id?: true
|
|
103
|
+
resourceId?: true
|
|
104
|
+
subject?: true
|
|
105
|
+
authorHash?: true
|
|
106
|
+
authorAlias?: true
|
|
107
|
+
body?: true
|
|
108
|
+
editedAt?: true
|
|
109
|
+
status?: true
|
|
110
|
+
reviewerReply?: true
|
|
111
|
+
reviewedAt?: true
|
|
112
|
+
createdAt?: true
|
|
113
|
+
updatedAt?: true
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export type DbFeedbackCountAggregateInputType = {
|
|
117
|
+
id?: true
|
|
118
|
+
resourceId?: true
|
|
119
|
+
subject?: true
|
|
120
|
+
authorHash?: true
|
|
121
|
+
authorAlias?: true
|
|
122
|
+
body?: true
|
|
123
|
+
editedAt?: true
|
|
124
|
+
status?: true
|
|
125
|
+
reviewerReply?: true
|
|
126
|
+
reviewedAt?: true
|
|
127
|
+
createdAt?: true
|
|
128
|
+
updatedAt?: true
|
|
129
|
+
_all?: true
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export type DbFeedbackAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
133
|
+
/**
|
|
134
|
+
* Filter which DbFeedback to aggregate.
|
|
135
|
+
*/
|
|
136
|
+
where?: Prisma.DbFeedbackWhereInput
|
|
137
|
+
/**
|
|
138
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
139
|
+
*
|
|
140
|
+
* Determine the order of DbFeedbacks to fetch.
|
|
141
|
+
*/
|
|
142
|
+
orderBy?: Prisma.DbFeedbackOrderByWithRelationInput | Prisma.DbFeedbackOrderByWithRelationInput[]
|
|
143
|
+
/**
|
|
144
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
145
|
+
*
|
|
146
|
+
* Sets the start position
|
|
147
|
+
*/
|
|
148
|
+
cursor?: Prisma.DbFeedbackWhereUniqueInput
|
|
149
|
+
/**
|
|
150
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
151
|
+
*
|
|
152
|
+
* Take `±n` DbFeedbacks from the position of the cursor.
|
|
153
|
+
*/
|
|
154
|
+
take?: number
|
|
155
|
+
/**
|
|
156
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
157
|
+
*
|
|
158
|
+
* Skip the first `n` DbFeedbacks.
|
|
159
|
+
*/
|
|
160
|
+
skip?: number
|
|
161
|
+
/**
|
|
162
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
163
|
+
*
|
|
164
|
+
* Count returned DbFeedbacks
|
|
165
|
+
**/
|
|
166
|
+
_count?: true | DbFeedbackCountAggregateInputType
|
|
167
|
+
/**
|
|
168
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
169
|
+
*
|
|
170
|
+
* Select which fields to find the minimum value
|
|
171
|
+
**/
|
|
172
|
+
_min?: DbFeedbackMinAggregateInputType
|
|
173
|
+
/**
|
|
174
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
175
|
+
*
|
|
176
|
+
* Select which fields to find the maximum value
|
|
177
|
+
**/
|
|
178
|
+
_max?: DbFeedbackMaxAggregateInputType
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
export type GetDbFeedbackAggregateType<T extends DbFeedbackAggregateArgs> = {
|
|
182
|
+
[P in keyof T & keyof AggregateDbFeedback]: P extends '_count' | 'count'
|
|
183
|
+
? T[P] extends true
|
|
184
|
+
? number
|
|
185
|
+
: Prisma.GetScalarType<T[P], AggregateDbFeedback[P]>
|
|
186
|
+
: Prisma.GetScalarType<T[P], AggregateDbFeedback[P]>
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
export type DbFeedbackGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
193
|
+
where?: Prisma.DbFeedbackWhereInput
|
|
194
|
+
orderBy?: Prisma.DbFeedbackOrderByWithAggregationInput | Prisma.DbFeedbackOrderByWithAggregationInput[]
|
|
195
|
+
by: Prisma.DbFeedbackScalarFieldEnum[] | Prisma.DbFeedbackScalarFieldEnum
|
|
196
|
+
having?: Prisma.DbFeedbackScalarWhereWithAggregatesInput
|
|
197
|
+
take?: number
|
|
198
|
+
skip?: number
|
|
199
|
+
_count?: DbFeedbackCountAggregateInputType | true
|
|
200
|
+
_min?: DbFeedbackMinAggregateInputType
|
|
201
|
+
_max?: DbFeedbackMaxAggregateInputType
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
export type DbFeedbackGroupByOutputType = {
|
|
205
|
+
id: string
|
|
206
|
+
resourceId: string | null
|
|
207
|
+
subject: string | null
|
|
208
|
+
authorHash: string
|
|
209
|
+
authorAlias: string
|
|
210
|
+
body: string | null
|
|
211
|
+
editedAt: Date | null
|
|
212
|
+
status: $Enums.CommentStatus | null
|
|
213
|
+
reviewerReply: string | null
|
|
214
|
+
reviewedAt: Date | null
|
|
215
|
+
createdAt: Date
|
|
216
|
+
updatedAt: Date
|
|
217
|
+
_count: DbFeedbackCountAggregateOutputType | null
|
|
218
|
+
_min: DbFeedbackMinAggregateOutputType | null
|
|
219
|
+
_max: DbFeedbackMaxAggregateOutputType | null
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
type GetDbFeedbackGroupByPayload<T extends DbFeedbackGroupByArgs> = Prisma.PrismaPromise<
|
|
223
|
+
Array<
|
|
224
|
+
Prisma.PickEnumerable<DbFeedbackGroupByOutputType, T['by']> &
|
|
225
|
+
{
|
|
226
|
+
[P in ((keyof T) & (keyof DbFeedbackGroupByOutputType))]: P extends '_count'
|
|
227
|
+
? T[P] extends boolean
|
|
228
|
+
? number
|
|
229
|
+
: Prisma.GetScalarType<T[P], DbFeedbackGroupByOutputType[P]>
|
|
230
|
+
: Prisma.GetScalarType<T[P], DbFeedbackGroupByOutputType[P]>
|
|
231
|
+
}
|
|
232
|
+
>
|
|
233
|
+
>
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
export type DbFeedbackWhereInput = {
|
|
238
|
+
AND?: Prisma.DbFeedbackWhereInput | Prisma.DbFeedbackWhereInput[]
|
|
239
|
+
OR?: Prisma.DbFeedbackWhereInput[]
|
|
240
|
+
NOT?: Prisma.DbFeedbackWhereInput | Prisma.DbFeedbackWhereInput[]
|
|
241
|
+
id?: Prisma.StringFilter<"DbFeedback"> | string
|
|
242
|
+
resourceId?: Prisma.StringNullableFilter<"DbFeedback"> | string | null
|
|
243
|
+
subject?: Prisma.StringNullableFilter<"DbFeedback"> | string | null
|
|
244
|
+
authorHash?: Prisma.StringFilter<"DbFeedback"> | string
|
|
245
|
+
authorAlias?: Prisma.StringFilter<"DbFeedback"> | string
|
|
246
|
+
body?: Prisma.StringNullableFilter<"DbFeedback"> | string | null
|
|
247
|
+
editedAt?: Prisma.DateTimeNullableFilter<"DbFeedback"> | Date | string | null
|
|
248
|
+
status?: Prisma.EnumCommentStatusNullableFilter<"DbFeedback"> | $Enums.CommentStatus | null
|
|
249
|
+
reviewerReply?: Prisma.StringNullableFilter<"DbFeedback"> | string | null
|
|
250
|
+
reviewedAt?: Prisma.DateTimeNullableFilter<"DbFeedback"> | Date | string | null
|
|
251
|
+
createdAt?: Prisma.DateTimeFilter<"DbFeedback"> | Date | string
|
|
252
|
+
updatedAt?: Prisma.DateTimeFilter<"DbFeedback"> | Date | string
|
|
253
|
+
resource?: Prisma.XOR<Prisma.DbResourceNullableScalarRelationFilter, Prisma.DbResourceWhereInput> | null
|
|
254
|
+
attachments?: Prisma.DbFeedbackAttachmentListRelationFilter
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
export type DbFeedbackOrderByWithRelationInput = {
|
|
258
|
+
id?: Prisma.SortOrder
|
|
259
|
+
resourceId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
260
|
+
subject?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
261
|
+
authorHash?: Prisma.SortOrder
|
|
262
|
+
authorAlias?: Prisma.SortOrder
|
|
263
|
+
body?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
264
|
+
editedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
265
|
+
status?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
266
|
+
reviewerReply?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
267
|
+
reviewedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
268
|
+
createdAt?: Prisma.SortOrder
|
|
269
|
+
updatedAt?: Prisma.SortOrder
|
|
270
|
+
resource?: Prisma.DbResourceOrderByWithRelationInput
|
|
271
|
+
attachments?: Prisma.DbFeedbackAttachmentOrderByRelationAggregateInput
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
export type DbFeedbackWhereUniqueInput = Prisma.AtLeast<{
|
|
275
|
+
id?: string
|
|
276
|
+
AND?: Prisma.DbFeedbackWhereInput | Prisma.DbFeedbackWhereInput[]
|
|
277
|
+
OR?: Prisma.DbFeedbackWhereInput[]
|
|
278
|
+
NOT?: Prisma.DbFeedbackWhereInput | Prisma.DbFeedbackWhereInput[]
|
|
279
|
+
resourceId?: Prisma.StringNullableFilter<"DbFeedback"> | string | null
|
|
280
|
+
subject?: Prisma.StringNullableFilter<"DbFeedback"> | string | null
|
|
281
|
+
authorHash?: Prisma.StringFilter<"DbFeedback"> | string
|
|
282
|
+
authorAlias?: Prisma.StringFilter<"DbFeedback"> | string
|
|
283
|
+
body?: Prisma.StringNullableFilter<"DbFeedback"> | string | null
|
|
284
|
+
editedAt?: Prisma.DateTimeNullableFilter<"DbFeedback"> | Date | string | null
|
|
285
|
+
status?: Prisma.EnumCommentStatusNullableFilter<"DbFeedback"> | $Enums.CommentStatus | null
|
|
286
|
+
reviewerReply?: Prisma.StringNullableFilter<"DbFeedback"> | string | null
|
|
287
|
+
reviewedAt?: Prisma.DateTimeNullableFilter<"DbFeedback"> | Date | string | null
|
|
288
|
+
createdAt?: Prisma.DateTimeFilter<"DbFeedback"> | Date | string
|
|
289
|
+
updatedAt?: Prisma.DateTimeFilter<"DbFeedback"> | Date | string
|
|
290
|
+
resource?: Prisma.XOR<Prisma.DbResourceNullableScalarRelationFilter, Prisma.DbResourceWhereInput> | null
|
|
291
|
+
attachments?: Prisma.DbFeedbackAttachmentListRelationFilter
|
|
292
|
+
}, "id">
|
|
293
|
+
|
|
294
|
+
export type DbFeedbackOrderByWithAggregationInput = {
|
|
295
|
+
id?: Prisma.SortOrder
|
|
296
|
+
resourceId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
297
|
+
subject?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
298
|
+
authorHash?: Prisma.SortOrder
|
|
299
|
+
authorAlias?: Prisma.SortOrder
|
|
300
|
+
body?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
301
|
+
editedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
302
|
+
status?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
303
|
+
reviewerReply?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
304
|
+
reviewedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
305
|
+
createdAt?: Prisma.SortOrder
|
|
306
|
+
updatedAt?: Prisma.SortOrder
|
|
307
|
+
_count?: Prisma.DbFeedbackCountOrderByAggregateInput
|
|
308
|
+
_max?: Prisma.DbFeedbackMaxOrderByAggregateInput
|
|
309
|
+
_min?: Prisma.DbFeedbackMinOrderByAggregateInput
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
export type DbFeedbackScalarWhereWithAggregatesInput = {
|
|
313
|
+
AND?: Prisma.DbFeedbackScalarWhereWithAggregatesInput | Prisma.DbFeedbackScalarWhereWithAggregatesInput[]
|
|
314
|
+
OR?: Prisma.DbFeedbackScalarWhereWithAggregatesInput[]
|
|
315
|
+
NOT?: Prisma.DbFeedbackScalarWhereWithAggregatesInput | Prisma.DbFeedbackScalarWhereWithAggregatesInput[]
|
|
316
|
+
id?: Prisma.StringWithAggregatesFilter<"DbFeedback"> | string
|
|
317
|
+
resourceId?: Prisma.StringNullableWithAggregatesFilter<"DbFeedback"> | string | null
|
|
318
|
+
subject?: Prisma.StringNullableWithAggregatesFilter<"DbFeedback"> | string | null
|
|
319
|
+
authorHash?: Prisma.StringWithAggregatesFilter<"DbFeedback"> | string
|
|
320
|
+
authorAlias?: Prisma.StringWithAggregatesFilter<"DbFeedback"> | string
|
|
321
|
+
body?: Prisma.StringNullableWithAggregatesFilter<"DbFeedback"> | string | null
|
|
322
|
+
editedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"DbFeedback"> | Date | string | null
|
|
323
|
+
status?: Prisma.EnumCommentStatusNullableWithAggregatesFilter<"DbFeedback"> | $Enums.CommentStatus | null
|
|
324
|
+
reviewerReply?: Prisma.StringNullableWithAggregatesFilter<"DbFeedback"> | string | null
|
|
325
|
+
reviewedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"DbFeedback"> | Date | string | null
|
|
326
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"DbFeedback"> | Date | string
|
|
327
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"DbFeedback"> | Date | string
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
export type DbFeedbackCreateInput = {
|
|
331
|
+
id?: string
|
|
332
|
+
subject?: string | null
|
|
333
|
+
authorHash: string
|
|
334
|
+
authorAlias: string
|
|
335
|
+
body?: string | null
|
|
336
|
+
editedAt?: Date | string | null
|
|
337
|
+
status?: $Enums.CommentStatus | null
|
|
338
|
+
reviewerReply?: string | null
|
|
339
|
+
reviewedAt?: Date | string | null
|
|
340
|
+
createdAt?: Date | string
|
|
341
|
+
updatedAt?: Date | string
|
|
342
|
+
resource?: Prisma.DbResourceCreateNestedOneWithoutFeedbackInput
|
|
343
|
+
attachments?: Prisma.DbFeedbackAttachmentCreateNestedManyWithoutFeedbackInput
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
export type DbFeedbackUncheckedCreateInput = {
|
|
347
|
+
id?: string
|
|
348
|
+
resourceId?: string | null
|
|
349
|
+
subject?: string | null
|
|
350
|
+
authorHash: string
|
|
351
|
+
authorAlias: string
|
|
352
|
+
body?: string | null
|
|
353
|
+
editedAt?: Date | string | null
|
|
354
|
+
status?: $Enums.CommentStatus | null
|
|
355
|
+
reviewerReply?: string | null
|
|
356
|
+
reviewedAt?: Date | string | null
|
|
357
|
+
createdAt?: Date | string
|
|
358
|
+
updatedAt?: Date | string
|
|
359
|
+
attachments?: Prisma.DbFeedbackAttachmentUncheckedCreateNestedManyWithoutFeedbackInput
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
export type DbFeedbackUpdateInput = {
|
|
363
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
364
|
+
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
365
|
+
authorHash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
366
|
+
authorAlias?: Prisma.StringFieldUpdateOperationsInput | string
|
|
367
|
+
body?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
368
|
+
editedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
369
|
+
status?: Prisma.NullableEnumCommentStatusFieldUpdateOperationsInput | $Enums.CommentStatus | null
|
|
370
|
+
reviewerReply?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
371
|
+
reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
372
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
373
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
374
|
+
resource?: Prisma.DbResourceUpdateOneWithoutFeedbackNestedInput
|
|
375
|
+
attachments?: Prisma.DbFeedbackAttachmentUpdateManyWithoutFeedbackNestedInput
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
export type DbFeedbackUncheckedUpdateInput = {
|
|
379
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
380
|
+
resourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
381
|
+
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
382
|
+
authorHash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
383
|
+
authorAlias?: Prisma.StringFieldUpdateOperationsInput | string
|
|
384
|
+
body?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
385
|
+
editedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
386
|
+
status?: Prisma.NullableEnumCommentStatusFieldUpdateOperationsInput | $Enums.CommentStatus | null
|
|
387
|
+
reviewerReply?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
388
|
+
reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
389
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
390
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
391
|
+
attachments?: Prisma.DbFeedbackAttachmentUncheckedUpdateManyWithoutFeedbackNestedInput
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
export type DbFeedbackCreateManyInput = {
|
|
395
|
+
id?: string
|
|
396
|
+
resourceId?: string | null
|
|
397
|
+
subject?: string | null
|
|
398
|
+
authorHash: string
|
|
399
|
+
authorAlias: string
|
|
400
|
+
body?: string | null
|
|
401
|
+
editedAt?: Date | string | null
|
|
402
|
+
status?: $Enums.CommentStatus | null
|
|
403
|
+
reviewerReply?: string | null
|
|
404
|
+
reviewedAt?: Date | string | null
|
|
405
|
+
createdAt?: Date | string
|
|
406
|
+
updatedAt?: Date | string
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
export type DbFeedbackUpdateManyMutationInput = {
|
|
410
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
411
|
+
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
412
|
+
authorHash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
413
|
+
authorAlias?: Prisma.StringFieldUpdateOperationsInput | string
|
|
414
|
+
body?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
415
|
+
editedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
416
|
+
status?: Prisma.NullableEnumCommentStatusFieldUpdateOperationsInput | $Enums.CommentStatus | null
|
|
417
|
+
reviewerReply?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
418
|
+
reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
419
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
420
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
export type DbFeedbackUncheckedUpdateManyInput = {
|
|
424
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
425
|
+
resourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
426
|
+
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
427
|
+
authorHash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
428
|
+
authorAlias?: Prisma.StringFieldUpdateOperationsInput | string
|
|
429
|
+
body?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
430
|
+
editedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
431
|
+
status?: Prisma.NullableEnumCommentStatusFieldUpdateOperationsInput | $Enums.CommentStatus | null
|
|
432
|
+
reviewerReply?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
433
|
+
reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
434
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
435
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
export type DbFeedbackListRelationFilter = {
|
|
439
|
+
every?: Prisma.DbFeedbackWhereInput
|
|
440
|
+
some?: Prisma.DbFeedbackWhereInput
|
|
441
|
+
none?: Prisma.DbFeedbackWhereInput
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
export type DbFeedbackOrderByRelationAggregateInput = {
|
|
445
|
+
_count?: Prisma.SortOrder
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
export type DbFeedbackCountOrderByAggregateInput = {
|
|
449
|
+
id?: Prisma.SortOrder
|
|
450
|
+
resourceId?: Prisma.SortOrder
|
|
451
|
+
subject?: Prisma.SortOrder
|
|
452
|
+
authorHash?: Prisma.SortOrder
|
|
453
|
+
authorAlias?: Prisma.SortOrder
|
|
454
|
+
body?: Prisma.SortOrder
|
|
455
|
+
editedAt?: Prisma.SortOrder
|
|
456
|
+
status?: Prisma.SortOrder
|
|
457
|
+
reviewerReply?: Prisma.SortOrder
|
|
458
|
+
reviewedAt?: Prisma.SortOrder
|
|
459
|
+
createdAt?: Prisma.SortOrder
|
|
460
|
+
updatedAt?: Prisma.SortOrder
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
export type DbFeedbackMaxOrderByAggregateInput = {
|
|
464
|
+
id?: Prisma.SortOrder
|
|
465
|
+
resourceId?: Prisma.SortOrder
|
|
466
|
+
subject?: Prisma.SortOrder
|
|
467
|
+
authorHash?: Prisma.SortOrder
|
|
468
|
+
authorAlias?: Prisma.SortOrder
|
|
469
|
+
body?: Prisma.SortOrder
|
|
470
|
+
editedAt?: Prisma.SortOrder
|
|
471
|
+
status?: Prisma.SortOrder
|
|
472
|
+
reviewerReply?: Prisma.SortOrder
|
|
473
|
+
reviewedAt?: Prisma.SortOrder
|
|
474
|
+
createdAt?: Prisma.SortOrder
|
|
475
|
+
updatedAt?: Prisma.SortOrder
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
export type DbFeedbackMinOrderByAggregateInput = {
|
|
479
|
+
id?: Prisma.SortOrder
|
|
480
|
+
resourceId?: Prisma.SortOrder
|
|
481
|
+
subject?: Prisma.SortOrder
|
|
482
|
+
authorHash?: Prisma.SortOrder
|
|
483
|
+
authorAlias?: Prisma.SortOrder
|
|
484
|
+
body?: Prisma.SortOrder
|
|
485
|
+
editedAt?: Prisma.SortOrder
|
|
486
|
+
status?: Prisma.SortOrder
|
|
487
|
+
reviewerReply?: Prisma.SortOrder
|
|
488
|
+
reviewedAt?: Prisma.SortOrder
|
|
489
|
+
createdAt?: Prisma.SortOrder
|
|
490
|
+
updatedAt?: Prisma.SortOrder
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
export type DbFeedbackNullableScalarRelationFilter = {
|
|
494
|
+
is?: Prisma.DbFeedbackWhereInput | null
|
|
495
|
+
isNot?: Prisma.DbFeedbackWhereInput | null
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
export type DbFeedbackCreateNestedManyWithoutResourceInput = {
|
|
499
|
+
create?: Prisma.XOR<Prisma.DbFeedbackCreateWithoutResourceInput, Prisma.DbFeedbackUncheckedCreateWithoutResourceInput> | Prisma.DbFeedbackCreateWithoutResourceInput[] | Prisma.DbFeedbackUncheckedCreateWithoutResourceInput[]
|
|
500
|
+
connectOrCreate?: Prisma.DbFeedbackCreateOrConnectWithoutResourceInput | Prisma.DbFeedbackCreateOrConnectWithoutResourceInput[]
|
|
501
|
+
createMany?: Prisma.DbFeedbackCreateManyResourceInputEnvelope
|
|
502
|
+
connect?: Prisma.DbFeedbackWhereUniqueInput | Prisma.DbFeedbackWhereUniqueInput[]
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
export type DbFeedbackUncheckedCreateNestedManyWithoutResourceInput = {
|
|
506
|
+
create?: Prisma.XOR<Prisma.DbFeedbackCreateWithoutResourceInput, Prisma.DbFeedbackUncheckedCreateWithoutResourceInput> | Prisma.DbFeedbackCreateWithoutResourceInput[] | Prisma.DbFeedbackUncheckedCreateWithoutResourceInput[]
|
|
507
|
+
connectOrCreate?: Prisma.DbFeedbackCreateOrConnectWithoutResourceInput | Prisma.DbFeedbackCreateOrConnectWithoutResourceInput[]
|
|
508
|
+
createMany?: Prisma.DbFeedbackCreateManyResourceInputEnvelope
|
|
509
|
+
connect?: Prisma.DbFeedbackWhereUniqueInput | Prisma.DbFeedbackWhereUniqueInput[]
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
export type DbFeedbackUpdateManyWithoutResourceNestedInput = {
|
|
513
|
+
create?: Prisma.XOR<Prisma.DbFeedbackCreateWithoutResourceInput, Prisma.DbFeedbackUncheckedCreateWithoutResourceInput> | Prisma.DbFeedbackCreateWithoutResourceInput[] | Prisma.DbFeedbackUncheckedCreateWithoutResourceInput[]
|
|
514
|
+
connectOrCreate?: Prisma.DbFeedbackCreateOrConnectWithoutResourceInput | Prisma.DbFeedbackCreateOrConnectWithoutResourceInput[]
|
|
515
|
+
upsert?: Prisma.DbFeedbackUpsertWithWhereUniqueWithoutResourceInput | Prisma.DbFeedbackUpsertWithWhereUniqueWithoutResourceInput[]
|
|
516
|
+
createMany?: Prisma.DbFeedbackCreateManyResourceInputEnvelope
|
|
517
|
+
set?: Prisma.DbFeedbackWhereUniqueInput | Prisma.DbFeedbackWhereUniqueInput[]
|
|
518
|
+
disconnect?: Prisma.DbFeedbackWhereUniqueInput | Prisma.DbFeedbackWhereUniqueInput[]
|
|
519
|
+
delete?: Prisma.DbFeedbackWhereUniqueInput | Prisma.DbFeedbackWhereUniqueInput[]
|
|
520
|
+
connect?: Prisma.DbFeedbackWhereUniqueInput | Prisma.DbFeedbackWhereUniqueInput[]
|
|
521
|
+
update?: Prisma.DbFeedbackUpdateWithWhereUniqueWithoutResourceInput | Prisma.DbFeedbackUpdateWithWhereUniqueWithoutResourceInput[]
|
|
522
|
+
updateMany?: Prisma.DbFeedbackUpdateManyWithWhereWithoutResourceInput | Prisma.DbFeedbackUpdateManyWithWhereWithoutResourceInput[]
|
|
523
|
+
deleteMany?: Prisma.DbFeedbackScalarWhereInput | Prisma.DbFeedbackScalarWhereInput[]
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
export type DbFeedbackUncheckedUpdateManyWithoutResourceNestedInput = {
|
|
527
|
+
create?: Prisma.XOR<Prisma.DbFeedbackCreateWithoutResourceInput, Prisma.DbFeedbackUncheckedCreateWithoutResourceInput> | Prisma.DbFeedbackCreateWithoutResourceInput[] | Prisma.DbFeedbackUncheckedCreateWithoutResourceInput[]
|
|
528
|
+
connectOrCreate?: Prisma.DbFeedbackCreateOrConnectWithoutResourceInput | Prisma.DbFeedbackCreateOrConnectWithoutResourceInput[]
|
|
529
|
+
upsert?: Prisma.DbFeedbackUpsertWithWhereUniqueWithoutResourceInput | Prisma.DbFeedbackUpsertWithWhereUniqueWithoutResourceInput[]
|
|
530
|
+
createMany?: Prisma.DbFeedbackCreateManyResourceInputEnvelope
|
|
531
|
+
set?: Prisma.DbFeedbackWhereUniqueInput | Prisma.DbFeedbackWhereUniqueInput[]
|
|
532
|
+
disconnect?: Prisma.DbFeedbackWhereUniqueInput | Prisma.DbFeedbackWhereUniqueInput[]
|
|
533
|
+
delete?: Prisma.DbFeedbackWhereUniqueInput | Prisma.DbFeedbackWhereUniqueInput[]
|
|
534
|
+
connect?: Prisma.DbFeedbackWhereUniqueInput | Prisma.DbFeedbackWhereUniqueInput[]
|
|
535
|
+
update?: Prisma.DbFeedbackUpdateWithWhereUniqueWithoutResourceInput | Prisma.DbFeedbackUpdateWithWhereUniqueWithoutResourceInput[]
|
|
536
|
+
updateMany?: Prisma.DbFeedbackUpdateManyWithWhereWithoutResourceInput | Prisma.DbFeedbackUpdateManyWithWhereWithoutResourceInput[]
|
|
537
|
+
deleteMany?: Prisma.DbFeedbackScalarWhereInput | Prisma.DbFeedbackScalarWhereInput[]
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
export type NullableEnumCommentStatusFieldUpdateOperationsInput = {
|
|
541
|
+
set?: $Enums.CommentStatus | null
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
export type DbFeedbackCreateNestedOneWithoutAttachmentsInput = {
|
|
545
|
+
create?: Prisma.XOR<Prisma.DbFeedbackCreateWithoutAttachmentsInput, Prisma.DbFeedbackUncheckedCreateWithoutAttachmentsInput>
|
|
546
|
+
connectOrCreate?: Prisma.DbFeedbackCreateOrConnectWithoutAttachmentsInput
|
|
547
|
+
connect?: Prisma.DbFeedbackWhereUniqueInput
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
export type DbFeedbackUpdateOneWithoutAttachmentsNestedInput = {
|
|
551
|
+
create?: Prisma.XOR<Prisma.DbFeedbackCreateWithoutAttachmentsInput, Prisma.DbFeedbackUncheckedCreateWithoutAttachmentsInput>
|
|
552
|
+
connectOrCreate?: Prisma.DbFeedbackCreateOrConnectWithoutAttachmentsInput
|
|
553
|
+
upsert?: Prisma.DbFeedbackUpsertWithoutAttachmentsInput
|
|
554
|
+
disconnect?: Prisma.DbFeedbackWhereInput | boolean
|
|
555
|
+
delete?: Prisma.DbFeedbackWhereInput | boolean
|
|
556
|
+
connect?: Prisma.DbFeedbackWhereUniqueInput
|
|
557
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.DbFeedbackUpdateToOneWithWhereWithoutAttachmentsInput, Prisma.DbFeedbackUpdateWithoutAttachmentsInput>, Prisma.DbFeedbackUncheckedUpdateWithoutAttachmentsInput>
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
export type DbFeedbackCreateWithoutResourceInput = {
|
|
561
|
+
id?: string
|
|
562
|
+
subject?: string | null
|
|
563
|
+
authorHash: string
|
|
564
|
+
authorAlias: string
|
|
565
|
+
body?: string | null
|
|
566
|
+
editedAt?: Date | string | null
|
|
567
|
+
status?: $Enums.CommentStatus | null
|
|
568
|
+
reviewerReply?: string | null
|
|
569
|
+
reviewedAt?: Date | string | null
|
|
570
|
+
createdAt?: Date | string
|
|
571
|
+
updatedAt?: Date | string
|
|
572
|
+
attachments?: Prisma.DbFeedbackAttachmentCreateNestedManyWithoutFeedbackInput
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
export type DbFeedbackUncheckedCreateWithoutResourceInput = {
|
|
576
|
+
id?: string
|
|
577
|
+
subject?: string | null
|
|
578
|
+
authorHash: string
|
|
579
|
+
authorAlias: string
|
|
580
|
+
body?: string | null
|
|
581
|
+
editedAt?: Date | string | null
|
|
582
|
+
status?: $Enums.CommentStatus | null
|
|
583
|
+
reviewerReply?: string | null
|
|
584
|
+
reviewedAt?: Date | string | null
|
|
585
|
+
createdAt?: Date | string
|
|
586
|
+
updatedAt?: Date | string
|
|
587
|
+
attachments?: Prisma.DbFeedbackAttachmentUncheckedCreateNestedManyWithoutFeedbackInput
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
export type DbFeedbackCreateOrConnectWithoutResourceInput = {
|
|
591
|
+
where: Prisma.DbFeedbackWhereUniqueInput
|
|
592
|
+
create: Prisma.XOR<Prisma.DbFeedbackCreateWithoutResourceInput, Prisma.DbFeedbackUncheckedCreateWithoutResourceInput>
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
export type DbFeedbackCreateManyResourceInputEnvelope = {
|
|
596
|
+
data: Prisma.DbFeedbackCreateManyResourceInput | Prisma.DbFeedbackCreateManyResourceInput[]
|
|
597
|
+
skipDuplicates?: boolean
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
export type DbFeedbackUpsertWithWhereUniqueWithoutResourceInput = {
|
|
601
|
+
where: Prisma.DbFeedbackWhereUniqueInput
|
|
602
|
+
update: Prisma.XOR<Prisma.DbFeedbackUpdateWithoutResourceInput, Prisma.DbFeedbackUncheckedUpdateWithoutResourceInput>
|
|
603
|
+
create: Prisma.XOR<Prisma.DbFeedbackCreateWithoutResourceInput, Prisma.DbFeedbackUncheckedCreateWithoutResourceInput>
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
export type DbFeedbackUpdateWithWhereUniqueWithoutResourceInput = {
|
|
607
|
+
where: Prisma.DbFeedbackWhereUniqueInput
|
|
608
|
+
data: Prisma.XOR<Prisma.DbFeedbackUpdateWithoutResourceInput, Prisma.DbFeedbackUncheckedUpdateWithoutResourceInput>
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
export type DbFeedbackUpdateManyWithWhereWithoutResourceInput = {
|
|
612
|
+
where: Prisma.DbFeedbackScalarWhereInput
|
|
613
|
+
data: Prisma.XOR<Prisma.DbFeedbackUpdateManyMutationInput, Prisma.DbFeedbackUncheckedUpdateManyWithoutResourceInput>
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
export type DbFeedbackScalarWhereInput = {
|
|
617
|
+
AND?: Prisma.DbFeedbackScalarWhereInput | Prisma.DbFeedbackScalarWhereInput[]
|
|
618
|
+
OR?: Prisma.DbFeedbackScalarWhereInput[]
|
|
619
|
+
NOT?: Prisma.DbFeedbackScalarWhereInput | Prisma.DbFeedbackScalarWhereInput[]
|
|
620
|
+
id?: Prisma.StringFilter<"DbFeedback"> | string
|
|
621
|
+
resourceId?: Prisma.StringNullableFilter<"DbFeedback"> | string | null
|
|
622
|
+
subject?: Prisma.StringNullableFilter<"DbFeedback"> | string | null
|
|
623
|
+
authorHash?: Prisma.StringFilter<"DbFeedback"> | string
|
|
624
|
+
authorAlias?: Prisma.StringFilter<"DbFeedback"> | string
|
|
625
|
+
body?: Prisma.StringNullableFilter<"DbFeedback"> | string | null
|
|
626
|
+
editedAt?: Prisma.DateTimeNullableFilter<"DbFeedback"> | Date | string | null
|
|
627
|
+
status?: Prisma.EnumCommentStatusNullableFilter<"DbFeedback"> | $Enums.CommentStatus | null
|
|
628
|
+
reviewerReply?: Prisma.StringNullableFilter<"DbFeedback"> | string | null
|
|
629
|
+
reviewedAt?: Prisma.DateTimeNullableFilter<"DbFeedback"> | Date | string | null
|
|
630
|
+
createdAt?: Prisma.DateTimeFilter<"DbFeedback"> | Date | string
|
|
631
|
+
updatedAt?: Prisma.DateTimeFilter<"DbFeedback"> | Date | string
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
export type DbFeedbackCreateWithoutAttachmentsInput = {
|
|
635
|
+
id?: string
|
|
636
|
+
subject?: string | null
|
|
637
|
+
authorHash: string
|
|
638
|
+
authorAlias: string
|
|
639
|
+
body?: string | null
|
|
640
|
+
editedAt?: Date | string | null
|
|
641
|
+
status?: $Enums.CommentStatus | null
|
|
642
|
+
reviewerReply?: string | null
|
|
643
|
+
reviewedAt?: Date | string | null
|
|
644
|
+
createdAt?: Date | string
|
|
645
|
+
updatedAt?: Date | string
|
|
646
|
+
resource?: Prisma.DbResourceCreateNestedOneWithoutFeedbackInput
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
export type DbFeedbackUncheckedCreateWithoutAttachmentsInput = {
|
|
650
|
+
id?: string
|
|
651
|
+
resourceId?: string | null
|
|
652
|
+
subject?: string | null
|
|
653
|
+
authorHash: string
|
|
654
|
+
authorAlias: string
|
|
655
|
+
body?: string | null
|
|
656
|
+
editedAt?: Date | string | null
|
|
657
|
+
status?: $Enums.CommentStatus | null
|
|
658
|
+
reviewerReply?: string | null
|
|
659
|
+
reviewedAt?: Date | string | null
|
|
660
|
+
createdAt?: Date | string
|
|
661
|
+
updatedAt?: Date | string
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
export type DbFeedbackCreateOrConnectWithoutAttachmentsInput = {
|
|
665
|
+
where: Prisma.DbFeedbackWhereUniqueInput
|
|
666
|
+
create: Prisma.XOR<Prisma.DbFeedbackCreateWithoutAttachmentsInput, Prisma.DbFeedbackUncheckedCreateWithoutAttachmentsInput>
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
export type DbFeedbackUpsertWithoutAttachmentsInput = {
|
|
670
|
+
update: Prisma.XOR<Prisma.DbFeedbackUpdateWithoutAttachmentsInput, Prisma.DbFeedbackUncheckedUpdateWithoutAttachmentsInput>
|
|
671
|
+
create: Prisma.XOR<Prisma.DbFeedbackCreateWithoutAttachmentsInput, Prisma.DbFeedbackUncheckedCreateWithoutAttachmentsInput>
|
|
672
|
+
where?: Prisma.DbFeedbackWhereInput
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
export type DbFeedbackUpdateToOneWithWhereWithoutAttachmentsInput = {
|
|
676
|
+
where?: Prisma.DbFeedbackWhereInput
|
|
677
|
+
data: Prisma.XOR<Prisma.DbFeedbackUpdateWithoutAttachmentsInput, Prisma.DbFeedbackUncheckedUpdateWithoutAttachmentsInput>
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
export type DbFeedbackUpdateWithoutAttachmentsInput = {
|
|
681
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
682
|
+
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
683
|
+
authorHash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
684
|
+
authorAlias?: Prisma.StringFieldUpdateOperationsInput | string
|
|
685
|
+
body?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
686
|
+
editedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
687
|
+
status?: Prisma.NullableEnumCommentStatusFieldUpdateOperationsInput | $Enums.CommentStatus | null
|
|
688
|
+
reviewerReply?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
689
|
+
reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
690
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
691
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
692
|
+
resource?: Prisma.DbResourceUpdateOneWithoutFeedbackNestedInput
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
export type DbFeedbackUncheckedUpdateWithoutAttachmentsInput = {
|
|
696
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
697
|
+
resourceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
698
|
+
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
699
|
+
authorHash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
700
|
+
authorAlias?: Prisma.StringFieldUpdateOperationsInput | string
|
|
701
|
+
body?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
702
|
+
editedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
703
|
+
status?: Prisma.NullableEnumCommentStatusFieldUpdateOperationsInput | $Enums.CommentStatus | null
|
|
704
|
+
reviewerReply?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
705
|
+
reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
706
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
707
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
export type DbFeedbackCreateManyResourceInput = {
|
|
711
|
+
id?: string
|
|
712
|
+
subject?: string | null
|
|
713
|
+
authorHash: string
|
|
714
|
+
authorAlias: string
|
|
715
|
+
body?: string | null
|
|
716
|
+
editedAt?: Date | string | null
|
|
717
|
+
status?: $Enums.CommentStatus | null
|
|
718
|
+
reviewerReply?: string | null
|
|
719
|
+
reviewedAt?: Date | string | null
|
|
720
|
+
createdAt?: Date | string
|
|
721
|
+
updatedAt?: Date | string
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
export type DbFeedbackUpdateWithoutResourceInput = {
|
|
725
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
726
|
+
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
727
|
+
authorHash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
728
|
+
authorAlias?: Prisma.StringFieldUpdateOperationsInput | string
|
|
729
|
+
body?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
730
|
+
editedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
731
|
+
status?: Prisma.NullableEnumCommentStatusFieldUpdateOperationsInput | $Enums.CommentStatus | null
|
|
732
|
+
reviewerReply?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
733
|
+
reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
734
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
735
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
736
|
+
attachments?: Prisma.DbFeedbackAttachmentUpdateManyWithoutFeedbackNestedInput
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
export type DbFeedbackUncheckedUpdateWithoutResourceInput = {
|
|
740
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
741
|
+
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
742
|
+
authorHash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
743
|
+
authorAlias?: Prisma.StringFieldUpdateOperationsInput | string
|
|
744
|
+
body?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
745
|
+
editedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
746
|
+
status?: Prisma.NullableEnumCommentStatusFieldUpdateOperationsInput | $Enums.CommentStatus | null
|
|
747
|
+
reviewerReply?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
748
|
+
reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
749
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
750
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
751
|
+
attachments?: Prisma.DbFeedbackAttachmentUncheckedUpdateManyWithoutFeedbackNestedInput
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
export type DbFeedbackUncheckedUpdateManyWithoutResourceInput = {
|
|
755
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
756
|
+
subject?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
757
|
+
authorHash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
758
|
+
authorAlias?: Prisma.StringFieldUpdateOperationsInput | string
|
|
759
|
+
body?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
760
|
+
editedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
761
|
+
status?: Prisma.NullableEnumCommentStatusFieldUpdateOperationsInput | $Enums.CommentStatus | null
|
|
762
|
+
reviewerReply?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
763
|
+
reviewedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
764
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
765
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
|
|
769
|
+
/**
|
|
770
|
+
* Count Type DbFeedbackCountOutputType
|
|
771
|
+
*/
|
|
772
|
+
|
|
773
|
+
export type DbFeedbackCountOutputType = {
|
|
774
|
+
attachments: number
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
export type DbFeedbackCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
778
|
+
attachments?: boolean | DbFeedbackCountOutputTypeCountAttachmentsArgs
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
/**
|
|
782
|
+
* DbFeedbackCountOutputType without action
|
|
783
|
+
*/
|
|
784
|
+
export type DbFeedbackCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
785
|
+
/**
|
|
786
|
+
* Select specific fields to fetch from the DbFeedbackCountOutputType
|
|
787
|
+
*/
|
|
788
|
+
select?: Prisma.DbFeedbackCountOutputTypeSelect<ExtArgs> | null
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
/**
|
|
792
|
+
* DbFeedbackCountOutputType without action
|
|
793
|
+
*/
|
|
794
|
+
export type DbFeedbackCountOutputTypeCountAttachmentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
795
|
+
where?: Prisma.DbFeedbackAttachmentWhereInput
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
|
|
799
|
+
export type DbFeedbackSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
800
|
+
id?: boolean
|
|
801
|
+
resourceId?: boolean
|
|
802
|
+
subject?: boolean
|
|
803
|
+
authorHash?: boolean
|
|
804
|
+
authorAlias?: boolean
|
|
805
|
+
body?: boolean
|
|
806
|
+
editedAt?: boolean
|
|
807
|
+
status?: boolean
|
|
808
|
+
reviewerReply?: boolean
|
|
809
|
+
reviewedAt?: boolean
|
|
810
|
+
createdAt?: boolean
|
|
811
|
+
updatedAt?: boolean
|
|
812
|
+
resource?: boolean | Prisma.DbFeedback$resourceArgs<ExtArgs>
|
|
813
|
+
attachments?: boolean | Prisma.DbFeedback$attachmentsArgs<ExtArgs>
|
|
814
|
+
_count?: boolean | Prisma.DbFeedbackCountOutputTypeDefaultArgs<ExtArgs>
|
|
815
|
+
}, ExtArgs["result"]["dbFeedback"]>
|
|
816
|
+
|
|
817
|
+
export type DbFeedbackSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
818
|
+
id?: boolean
|
|
819
|
+
resourceId?: boolean
|
|
820
|
+
subject?: boolean
|
|
821
|
+
authorHash?: boolean
|
|
822
|
+
authorAlias?: boolean
|
|
823
|
+
body?: boolean
|
|
824
|
+
editedAt?: boolean
|
|
825
|
+
status?: boolean
|
|
826
|
+
reviewerReply?: boolean
|
|
827
|
+
reviewedAt?: boolean
|
|
828
|
+
createdAt?: boolean
|
|
829
|
+
updatedAt?: boolean
|
|
830
|
+
resource?: boolean | Prisma.DbFeedback$resourceArgs<ExtArgs>
|
|
831
|
+
}, ExtArgs["result"]["dbFeedback"]>
|
|
832
|
+
|
|
833
|
+
export type DbFeedbackSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
834
|
+
id?: boolean
|
|
835
|
+
resourceId?: boolean
|
|
836
|
+
subject?: boolean
|
|
837
|
+
authorHash?: boolean
|
|
838
|
+
authorAlias?: boolean
|
|
839
|
+
body?: boolean
|
|
840
|
+
editedAt?: boolean
|
|
841
|
+
status?: boolean
|
|
842
|
+
reviewerReply?: boolean
|
|
843
|
+
reviewedAt?: boolean
|
|
844
|
+
createdAt?: boolean
|
|
845
|
+
updatedAt?: boolean
|
|
846
|
+
resource?: boolean | Prisma.DbFeedback$resourceArgs<ExtArgs>
|
|
847
|
+
}, ExtArgs["result"]["dbFeedback"]>
|
|
848
|
+
|
|
849
|
+
export type DbFeedbackSelectScalar = {
|
|
850
|
+
id?: boolean
|
|
851
|
+
resourceId?: boolean
|
|
852
|
+
subject?: boolean
|
|
853
|
+
authorHash?: boolean
|
|
854
|
+
authorAlias?: boolean
|
|
855
|
+
body?: boolean
|
|
856
|
+
editedAt?: boolean
|
|
857
|
+
status?: boolean
|
|
858
|
+
reviewerReply?: boolean
|
|
859
|
+
reviewedAt?: boolean
|
|
860
|
+
createdAt?: boolean
|
|
861
|
+
updatedAt?: boolean
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
export type DbFeedbackOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "resourceId" | "subject" | "authorHash" | "authorAlias" | "body" | "editedAt" | "status" | "reviewerReply" | "reviewedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["dbFeedback"]>
|
|
865
|
+
export type DbFeedbackInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
866
|
+
resource?: boolean | Prisma.DbFeedback$resourceArgs<ExtArgs>
|
|
867
|
+
attachments?: boolean | Prisma.DbFeedback$attachmentsArgs<ExtArgs>
|
|
868
|
+
_count?: boolean | Prisma.DbFeedbackCountOutputTypeDefaultArgs<ExtArgs>
|
|
869
|
+
}
|
|
870
|
+
export type DbFeedbackIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
871
|
+
resource?: boolean | Prisma.DbFeedback$resourceArgs<ExtArgs>
|
|
872
|
+
}
|
|
873
|
+
export type DbFeedbackIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
874
|
+
resource?: boolean | Prisma.DbFeedback$resourceArgs<ExtArgs>
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
export type $DbFeedbackPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
878
|
+
name: "DbFeedback"
|
|
879
|
+
objects: {
|
|
880
|
+
resource: Prisma.$DbResourcePayload<ExtArgs> | null
|
|
881
|
+
attachments: Prisma.$DbFeedbackAttachmentPayload<ExtArgs>[]
|
|
882
|
+
}
|
|
883
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
884
|
+
id: string
|
|
885
|
+
/**
|
|
886
|
+
* Null for a catalog-level ask ("please add X") — there is no entry to hang it on.
|
|
887
|
+
* The resource's id, not its slug: a slug is user-facing and gets renamed.
|
|
888
|
+
*/
|
|
889
|
+
resourceId: string | null
|
|
890
|
+
/**
|
|
891
|
+
* What the visitor was looking for when nothing matched. Set only when resourceId is
|
|
892
|
+
* null — it is the whole substance of a new-app ask, and the thing we research.
|
|
893
|
+
*/
|
|
894
|
+
subject: string | null
|
|
895
|
+
/**
|
|
896
|
+
* sha256 of the visitor token. Authorises edit/withdraw; never sent to a client.
|
|
897
|
+
*/
|
|
898
|
+
authorHash: string
|
|
899
|
+
/**
|
|
900
|
+
* The pseudonym shown alongside, stored rather than derived at render time so
|
|
901
|
+
* widening the wordlist later cannot rename everybody's history.
|
|
902
|
+
*/
|
|
903
|
+
authorAlias: string
|
|
904
|
+
/**
|
|
905
|
+
* Optional: a bare flag with no words is a valid signal, and the cheapest one a
|
|
906
|
+
* passing visitor can send.
|
|
907
|
+
*/
|
|
908
|
+
body: string | null
|
|
909
|
+
/**
|
|
910
|
+
* Set on a later edit, so the UI can mark it edited. Null when never edited.
|
|
911
|
+
*/
|
|
912
|
+
editedAt: Date | null
|
|
913
|
+
/**
|
|
914
|
+
* What a maintainer did with it. Null until reviewed — which is also what "open"
|
|
915
|
+
* means, so pending needs no stored value. Written out of band by review tooling,
|
|
916
|
+
* never by a visitor.
|
|
917
|
+
*/
|
|
918
|
+
status: $Enums.CommentStatus | null
|
|
919
|
+
reviewerReply: string | null
|
|
920
|
+
reviewedAt: Date | null
|
|
921
|
+
createdAt: Date
|
|
922
|
+
updatedAt: Date
|
|
923
|
+
}, ExtArgs["result"]["dbFeedback"]>
|
|
924
|
+
composites: {}
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
export type DbFeedbackGetPayload<S extends boolean | null | undefined | DbFeedbackDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$DbFeedbackPayload, S>
|
|
928
|
+
|
|
929
|
+
export type DbFeedbackCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
930
|
+
Omit<DbFeedbackFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
931
|
+
select?: DbFeedbackCountAggregateInputType | true
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
export interface DbFeedbackDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
935
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['DbFeedback'], meta: { name: 'DbFeedback' } }
|
|
936
|
+
/**
|
|
937
|
+
* Find zero or one DbFeedback that matches the filter.
|
|
938
|
+
* @param {DbFeedbackFindUniqueArgs} args - Arguments to find a DbFeedback
|
|
939
|
+
* @example
|
|
940
|
+
* // Get one DbFeedback
|
|
941
|
+
* const dbFeedback = await prisma.dbFeedback.findUnique({
|
|
942
|
+
* where: {
|
|
943
|
+
* // ... provide filter here
|
|
944
|
+
* }
|
|
945
|
+
* })
|
|
946
|
+
*/
|
|
947
|
+
findUnique<T extends DbFeedbackFindUniqueArgs>(args: Prisma.SelectSubset<T, DbFeedbackFindUniqueArgs<ExtArgs>>): Prisma.Prisma__DbFeedbackClient<runtime.Types.Result.GetResult<Prisma.$DbFeedbackPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
948
|
+
|
|
949
|
+
/**
|
|
950
|
+
* Find one DbFeedback that matches the filter or throw an error with `error.code='P2025'`
|
|
951
|
+
* if no matches were found.
|
|
952
|
+
* @param {DbFeedbackFindUniqueOrThrowArgs} args - Arguments to find a DbFeedback
|
|
953
|
+
* @example
|
|
954
|
+
* // Get one DbFeedback
|
|
955
|
+
* const dbFeedback = await prisma.dbFeedback.findUniqueOrThrow({
|
|
956
|
+
* where: {
|
|
957
|
+
* // ... provide filter here
|
|
958
|
+
* }
|
|
959
|
+
* })
|
|
960
|
+
*/
|
|
961
|
+
findUniqueOrThrow<T extends DbFeedbackFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, DbFeedbackFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__DbFeedbackClient<runtime.Types.Result.GetResult<Prisma.$DbFeedbackPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
962
|
+
|
|
963
|
+
/**
|
|
964
|
+
* Find the first DbFeedback that matches the filter.
|
|
965
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
966
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
967
|
+
* @param {DbFeedbackFindFirstArgs} args - Arguments to find a DbFeedback
|
|
968
|
+
* @example
|
|
969
|
+
* // Get one DbFeedback
|
|
970
|
+
* const dbFeedback = await prisma.dbFeedback.findFirst({
|
|
971
|
+
* where: {
|
|
972
|
+
* // ... provide filter here
|
|
973
|
+
* }
|
|
974
|
+
* })
|
|
975
|
+
*/
|
|
976
|
+
findFirst<T extends DbFeedbackFindFirstArgs>(args?: Prisma.SelectSubset<T, DbFeedbackFindFirstArgs<ExtArgs>>): Prisma.Prisma__DbFeedbackClient<runtime.Types.Result.GetResult<Prisma.$DbFeedbackPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
977
|
+
|
|
978
|
+
/**
|
|
979
|
+
* Find the first DbFeedback that matches the filter or
|
|
980
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
981
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
982
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
983
|
+
* @param {DbFeedbackFindFirstOrThrowArgs} args - Arguments to find a DbFeedback
|
|
984
|
+
* @example
|
|
985
|
+
* // Get one DbFeedback
|
|
986
|
+
* const dbFeedback = await prisma.dbFeedback.findFirstOrThrow({
|
|
987
|
+
* where: {
|
|
988
|
+
* // ... provide filter here
|
|
989
|
+
* }
|
|
990
|
+
* })
|
|
991
|
+
*/
|
|
992
|
+
findFirstOrThrow<T extends DbFeedbackFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, DbFeedbackFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__DbFeedbackClient<runtime.Types.Result.GetResult<Prisma.$DbFeedbackPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
993
|
+
|
|
994
|
+
/**
|
|
995
|
+
* Find zero or more DbFeedbacks that matches the filter.
|
|
996
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
997
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
998
|
+
* @param {DbFeedbackFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
999
|
+
* @example
|
|
1000
|
+
* // Get all DbFeedbacks
|
|
1001
|
+
* const dbFeedbacks = await prisma.dbFeedback.findMany()
|
|
1002
|
+
*
|
|
1003
|
+
* // Get first 10 DbFeedbacks
|
|
1004
|
+
* const dbFeedbacks = await prisma.dbFeedback.findMany({ take: 10 })
|
|
1005
|
+
*
|
|
1006
|
+
* // Only select the `id`
|
|
1007
|
+
* const dbFeedbackWithIdOnly = await prisma.dbFeedback.findMany({ select: { id: true } })
|
|
1008
|
+
*
|
|
1009
|
+
*/
|
|
1010
|
+
findMany<T extends DbFeedbackFindManyArgs>(args?: Prisma.SelectSubset<T, DbFeedbackFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DbFeedbackPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
1011
|
+
|
|
1012
|
+
/**
|
|
1013
|
+
* Create a DbFeedback.
|
|
1014
|
+
* @param {DbFeedbackCreateArgs} args - Arguments to create a DbFeedback.
|
|
1015
|
+
* @example
|
|
1016
|
+
* // Create one DbFeedback
|
|
1017
|
+
* const DbFeedback = await prisma.dbFeedback.create({
|
|
1018
|
+
* data: {
|
|
1019
|
+
* // ... data to create a DbFeedback
|
|
1020
|
+
* }
|
|
1021
|
+
* })
|
|
1022
|
+
*
|
|
1023
|
+
*/
|
|
1024
|
+
create<T extends DbFeedbackCreateArgs>(args: Prisma.SelectSubset<T, DbFeedbackCreateArgs<ExtArgs>>): Prisma.Prisma__DbFeedbackClient<runtime.Types.Result.GetResult<Prisma.$DbFeedbackPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1025
|
+
|
|
1026
|
+
/**
|
|
1027
|
+
* Create many DbFeedbacks.
|
|
1028
|
+
* @param {DbFeedbackCreateManyArgs} args - Arguments to create many DbFeedbacks.
|
|
1029
|
+
* @example
|
|
1030
|
+
* // Create many DbFeedbacks
|
|
1031
|
+
* const dbFeedback = await prisma.dbFeedback.createMany({
|
|
1032
|
+
* data: [
|
|
1033
|
+
* // ... provide data here
|
|
1034
|
+
* ]
|
|
1035
|
+
* })
|
|
1036
|
+
*
|
|
1037
|
+
*/
|
|
1038
|
+
createMany<T extends DbFeedbackCreateManyArgs>(args?: Prisma.SelectSubset<T, DbFeedbackCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1039
|
+
|
|
1040
|
+
/**
|
|
1041
|
+
* Create many DbFeedbacks and returns the data saved in the database.
|
|
1042
|
+
* @param {DbFeedbackCreateManyAndReturnArgs} args - Arguments to create many DbFeedbacks.
|
|
1043
|
+
* @example
|
|
1044
|
+
* // Create many DbFeedbacks
|
|
1045
|
+
* const dbFeedback = await prisma.dbFeedback.createManyAndReturn({
|
|
1046
|
+
* data: [
|
|
1047
|
+
* // ... provide data here
|
|
1048
|
+
* ]
|
|
1049
|
+
* })
|
|
1050
|
+
*
|
|
1051
|
+
* // Create many DbFeedbacks and only return the `id`
|
|
1052
|
+
* const dbFeedbackWithIdOnly = await prisma.dbFeedback.createManyAndReturn({
|
|
1053
|
+
* select: { id: true },
|
|
1054
|
+
* data: [
|
|
1055
|
+
* // ... provide data here
|
|
1056
|
+
* ]
|
|
1057
|
+
* })
|
|
1058
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1059
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1060
|
+
*
|
|
1061
|
+
*/
|
|
1062
|
+
createManyAndReturn<T extends DbFeedbackCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, DbFeedbackCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DbFeedbackPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
1063
|
+
|
|
1064
|
+
/**
|
|
1065
|
+
* Delete a DbFeedback.
|
|
1066
|
+
* @param {DbFeedbackDeleteArgs} args - Arguments to delete one DbFeedback.
|
|
1067
|
+
* @example
|
|
1068
|
+
* // Delete one DbFeedback
|
|
1069
|
+
* const DbFeedback = await prisma.dbFeedback.delete({
|
|
1070
|
+
* where: {
|
|
1071
|
+
* // ... filter to delete one DbFeedback
|
|
1072
|
+
* }
|
|
1073
|
+
* })
|
|
1074
|
+
*
|
|
1075
|
+
*/
|
|
1076
|
+
delete<T extends DbFeedbackDeleteArgs>(args: Prisma.SelectSubset<T, DbFeedbackDeleteArgs<ExtArgs>>): Prisma.Prisma__DbFeedbackClient<runtime.Types.Result.GetResult<Prisma.$DbFeedbackPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1077
|
+
|
|
1078
|
+
/**
|
|
1079
|
+
* Update one DbFeedback.
|
|
1080
|
+
* @param {DbFeedbackUpdateArgs} args - Arguments to update one DbFeedback.
|
|
1081
|
+
* @example
|
|
1082
|
+
* // Update one DbFeedback
|
|
1083
|
+
* const dbFeedback = await prisma.dbFeedback.update({
|
|
1084
|
+
* where: {
|
|
1085
|
+
* // ... provide filter here
|
|
1086
|
+
* },
|
|
1087
|
+
* data: {
|
|
1088
|
+
* // ... provide data here
|
|
1089
|
+
* }
|
|
1090
|
+
* })
|
|
1091
|
+
*
|
|
1092
|
+
*/
|
|
1093
|
+
update<T extends DbFeedbackUpdateArgs>(args: Prisma.SelectSubset<T, DbFeedbackUpdateArgs<ExtArgs>>): Prisma.Prisma__DbFeedbackClient<runtime.Types.Result.GetResult<Prisma.$DbFeedbackPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1094
|
+
|
|
1095
|
+
/**
|
|
1096
|
+
* Delete zero or more DbFeedbacks.
|
|
1097
|
+
* @param {DbFeedbackDeleteManyArgs} args - Arguments to filter DbFeedbacks to delete.
|
|
1098
|
+
* @example
|
|
1099
|
+
* // Delete a few DbFeedbacks
|
|
1100
|
+
* const { count } = await prisma.dbFeedback.deleteMany({
|
|
1101
|
+
* where: {
|
|
1102
|
+
* // ... provide filter here
|
|
1103
|
+
* }
|
|
1104
|
+
* })
|
|
1105
|
+
*
|
|
1106
|
+
*/
|
|
1107
|
+
deleteMany<T extends DbFeedbackDeleteManyArgs>(args?: Prisma.SelectSubset<T, DbFeedbackDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1108
|
+
|
|
1109
|
+
/**
|
|
1110
|
+
* Update zero or more DbFeedbacks.
|
|
1111
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1112
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1113
|
+
* @param {DbFeedbackUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1114
|
+
* @example
|
|
1115
|
+
* // Update many DbFeedbacks
|
|
1116
|
+
* const dbFeedback = await prisma.dbFeedback.updateMany({
|
|
1117
|
+
* where: {
|
|
1118
|
+
* // ... provide filter here
|
|
1119
|
+
* },
|
|
1120
|
+
* data: {
|
|
1121
|
+
* // ... provide data here
|
|
1122
|
+
* }
|
|
1123
|
+
* })
|
|
1124
|
+
*
|
|
1125
|
+
*/
|
|
1126
|
+
updateMany<T extends DbFeedbackUpdateManyArgs>(args: Prisma.SelectSubset<T, DbFeedbackUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1127
|
+
|
|
1128
|
+
/**
|
|
1129
|
+
* Update zero or more DbFeedbacks and returns the data updated in the database.
|
|
1130
|
+
* @param {DbFeedbackUpdateManyAndReturnArgs} args - Arguments to update many DbFeedbacks.
|
|
1131
|
+
* @example
|
|
1132
|
+
* // Update many DbFeedbacks
|
|
1133
|
+
* const dbFeedback = await prisma.dbFeedback.updateManyAndReturn({
|
|
1134
|
+
* where: {
|
|
1135
|
+
* // ... provide filter here
|
|
1136
|
+
* },
|
|
1137
|
+
* data: [
|
|
1138
|
+
* // ... provide data here
|
|
1139
|
+
* ]
|
|
1140
|
+
* })
|
|
1141
|
+
*
|
|
1142
|
+
* // Update zero or more DbFeedbacks and only return the `id`
|
|
1143
|
+
* const dbFeedbackWithIdOnly = await prisma.dbFeedback.updateManyAndReturn({
|
|
1144
|
+
* select: { id: true },
|
|
1145
|
+
* where: {
|
|
1146
|
+
* // ... provide filter here
|
|
1147
|
+
* },
|
|
1148
|
+
* data: [
|
|
1149
|
+
* // ... provide data here
|
|
1150
|
+
* ]
|
|
1151
|
+
* })
|
|
1152
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1153
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1154
|
+
*
|
|
1155
|
+
*/
|
|
1156
|
+
updateManyAndReturn<T extends DbFeedbackUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, DbFeedbackUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DbFeedbackPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1157
|
+
|
|
1158
|
+
/**
|
|
1159
|
+
* Create or update one DbFeedback.
|
|
1160
|
+
* @param {DbFeedbackUpsertArgs} args - Arguments to update or create a DbFeedback.
|
|
1161
|
+
* @example
|
|
1162
|
+
* // Update or create a DbFeedback
|
|
1163
|
+
* const dbFeedback = await prisma.dbFeedback.upsert({
|
|
1164
|
+
* create: {
|
|
1165
|
+
* // ... data to create a DbFeedback
|
|
1166
|
+
* },
|
|
1167
|
+
* update: {
|
|
1168
|
+
* // ... in case it already exists, update
|
|
1169
|
+
* },
|
|
1170
|
+
* where: {
|
|
1171
|
+
* // ... the filter for the DbFeedback we want to update
|
|
1172
|
+
* }
|
|
1173
|
+
* })
|
|
1174
|
+
*/
|
|
1175
|
+
upsert<T extends DbFeedbackUpsertArgs>(args: Prisma.SelectSubset<T, DbFeedbackUpsertArgs<ExtArgs>>): Prisma.Prisma__DbFeedbackClient<runtime.Types.Result.GetResult<Prisma.$DbFeedbackPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1176
|
+
|
|
1177
|
+
|
|
1178
|
+
/**
|
|
1179
|
+
* Count the number of DbFeedbacks.
|
|
1180
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1181
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1182
|
+
* @param {DbFeedbackCountArgs} args - Arguments to filter DbFeedbacks to count.
|
|
1183
|
+
* @example
|
|
1184
|
+
* // Count the number of DbFeedbacks
|
|
1185
|
+
* const count = await prisma.dbFeedback.count({
|
|
1186
|
+
* where: {
|
|
1187
|
+
* // ... the filter for the DbFeedbacks we want to count
|
|
1188
|
+
* }
|
|
1189
|
+
* })
|
|
1190
|
+
**/
|
|
1191
|
+
count<T extends DbFeedbackCountArgs>(
|
|
1192
|
+
args?: Prisma.Subset<T, DbFeedbackCountArgs>,
|
|
1193
|
+
): Prisma.PrismaPromise<
|
|
1194
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
1195
|
+
? T['select'] extends true
|
|
1196
|
+
? number
|
|
1197
|
+
: Prisma.GetScalarType<T['select'], DbFeedbackCountAggregateOutputType>
|
|
1198
|
+
: number
|
|
1199
|
+
>
|
|
1200
|
+
|
|
1201
|
+
/**
|
|
1202
|
+
* Allows you to perform aggregations operations on a DbFeedback.
|
|
1203
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1204
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1205
|
+
* @param {DbFeedbackAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1206
|
+
* @example
|
|
1207
|
+
* // Ordered by age ascending
|
|
1208
|
+
* // Where email contains prisma.io
|
|
1209
|
+
* // Limited to the 10 users
|
|
1210
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1211
|
+
* _avg: {
|
|
1212
|
+
* age: true,
|
|
1213
|
+
* },
|
|
1214
|
+
* where: {
|
|
1215
|
+
* email: {
|
|
1216
|
+
* contains: "prisma.io",
|
|
1217
|
+
* },
|
|
1218
|
+
* },
|
|
1219
|
+
* orderBy: {
|
|
1220
|
+
* age: "asc",
|
|
1221
|
+
* },
|
|
1222
|
+
* take: 10,
|
|
1223
|
+
* })
|
|
1224
|
+
**/
|
|
1225
|
+
aggregate<T extends DbFeedbackAggregateArgs>(args: Prisma.Subset<T, DbFeedbackAggregateArgs>): Prisma.PrismaPromise<GetDbFeedbackAggregateType<T>>
|
|
1226
|
+
|
|
1227
|
+
/**
|
|
1228
|
+
* Group by DbFeedback.
|
|
1229
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1230
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1231
|
+
* @param {DbFeedbackGroupByArgs} args - Group by arguments.
|
|
1232
|
+
* @example
|
|
1233
|
+
* // Group by city, order by createdAt, get count
|
|
1234
|
+
* const result = await prisma.user.groupBy({
|
|
1235
|
+
* by: ['city', 'createdAt'],
|
|
1236
|
+
* orderBy: {
|
|
1237
|
+
* createdAt: true
|
|
1238
|
+
* },
|
|
1239
|
+
* _count: {
|
|
1240
|
+
* _all: true
|
|
1241
|
+
* },
|
|
1242
|
+
* })
|
|
1243
|
+
*
|
|
1244
|
+
**/
|
|
1245
|
+
groupBy<
|
|
1246
|
+
T extends DbFeedbackGroupByArgs,
|
|
1247
|
+
HasSelectOrTake extends Prisma.Or<
|
|
1248
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1249
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1250
|
+
>,
|
|
1251
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1252
|
+
? { orderBy: DbFeedbackGroupByArgs['orderBy'] }
|
|
1253
|
+
: { orderBy?: DbFeedbackGroupByArgs['orderBy'] },
|
|
1254
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1255
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1256
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1257
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1258
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1259
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1260
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
1261
|
+
? `Error: "by" must not be empty.`
|
|
1262
|
+
: HavingValid extends Prisma.False
|
|
1263
|
+
? {
|
|
1264
|
+
[P in HavingFields]: P extends ByFields
|
|
1265
|
+
? never
|
|
1266
|
+
: P extends string
|
|
1267
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1268
|
+
: [
|
|
1269
|
+
Error,
|
|
1270
|
+
'Field ',
|
|
1271
|
+
P,
|
|
1272
|
+
` in "having" needs to be provided in "by"`,
|
|
1273
|
+
]
|
|
1274
|
+
}[HavingFields]
|
|
1275
|
+
: 'take' extends Prisma.Keys<T>
|
|
1276
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1277
|
+
? ByValid extends Prisma.True
|
|
1278
|
+
? {}
|
|
1279
|
+
: {
|
|
1280
|
+
[P in OrderFields]: P extends ByFields
|
|
1281
|
+
? never
|
|
1282
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1283
|
+
}[OrderFields]
|
|
1284
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1285
|
+
: 'skip' extends Prisma.Keys<T>
|
|
1286
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1287
|
+
? ByValid extends Prisma.True
|
|
1288
|
+
? {}
|
|
1289
|
+
: {
|
|
1290
|
+
[P in OrderFields]: P extends ByFields
|
|
1291
|
+
? never
|
|
1292
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1293
|
+
}[OrderFields]
|
|
1294
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1295
|
+
: ByValid extends Prisma.True
|
|
1296
|
+
? {}
|
|
1297
|
+
: {
|
|
1298
|
+
[P in OrderFields]: P extends ByFields
|
|
1299
|
+
? never
|
|
1300
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1301
|
+
}[OrderFields]
|
|
1302
|
+
>(args: Prisma.SubsetIntersection<T, DbFeedbackGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDbFeedbackGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1303
|
+
/**
|
|
1304
|
+
* Fields of the DbFeedback model
|
|
1305
|
+
*/
|
|
1306
|
+
readonly fields: DbFeedbackFieldRefs;
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
/**
|
|
1310
|
+
* The delegate class that acts as a "Promise-like" for DbFeedback.
|
|
1311
|
+
* Why is this prefixed with `Prisma__`?
|
|
1312
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1313
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1314
|
+
*/
|
|
1315
|
+
export interface Prisma__DbFeedbackClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1316
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1317
|
+
resource<T extends Prisma.DbFeedback$resourceArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DbFeedback$resourceArgs<ExtArgs>>): Prisma.Prisma__DbResourceClient<runtime.Types.Result.GetResult<Prisma.$DbResourcePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1318
|
+
attachments<T extends Prisma.DbFeedback$attachmentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DbFeedback$attachmentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DbFeedbackAttachmentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
1319
|
+
/**
|
|
1320
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1321
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1322
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1323
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1324
|
+
*/
|
|
1325
|
+
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>
|
|
1326
|
+
/**
|
|
1327
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1328
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1329
|
+
* @returns A Promise for the completion of the callback.
|
|
1330
|
+
*/
|
|
1331
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1332
|
+
/**
|
|
1333
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1334
|
+
* resolved value cannot be modified from the callback.
|
|
1335
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1336
|
+
* @returns A Promise for the completion of the callback.
|
|
1337
|
+
*/
|
|
1338
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1339
|
+
}
|
|
1340
|
+
|
|
1341
|
+
|
|
1342
|
+
|
|
1343
|
+
|
|
1344
|
+
/**
|
|
1345
|
+
* Fields of the DbFeedback model
|
|
1346
|
+
*/
|
|
1347
|
+
export interface DbFeedbackFieldRefs {
|
|
1348
|
+
readonly id: Prisma.FieldRef<"DbFeedback", 'String'>
|
|
1349
|
+
readonly resourceId: Prisma.FieldRef<"DbFeedback", 'String'>
|
|
1350
|
+
readonly subject: Prisma.FieldRef<"DbFeedback", 'String'>
|
|
1351
|
+
readonly authorHash: Prisma.FieldRef<"DbFeedback", 'String'>
|
|
1352
|
+
readonly authorAlias: Prisma.FieldRef<"DbFeedback", 'String'>
|
|
1353
|
+
readonly body: Prisma.FieldRef<"DbFeedback", 'String'>
|
|
1354
|
+
readonly editedAt: Prisma.FieldRef<"DbFeedback", 'DateTime'>
|
|
1355
|
+
readonly status: Prisma.FieldRef<"DbFeedback", 'CommentStatus'>
|
|
1356
|
+
readonly reviewerReply: Prisma.FieldRef<"DbFeedback", 'String'>
|
|
1357
|
+
readonly reviewedAt: Prisma.FieldRef<"DbFeedback", 'DateTime'>
|
|
1358
|
+
readonly createdAt: Prisma.FieldRef<"DbFeedback", 'DateTime'>
|
|
1359
|
+
readonly updatedAt: Prisma.FieldRef<"DbFeedback", 'DateTime'>
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
|
|
1363
|
+
// Custom InputTypes
|
|
1364
|
+
/**
|
|
1365
|
+
* DbFeedback findUnique
|
|
1366
|
+
*/
|
|
1367
|
+
export type DbFeedbackFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1368
|
+
/**
|
|
1369
|
+
* Select specific fields to fetch from the DbFeedback
|
|
1370
|
+
*/
|
|
1371
|
+
select?: Prisma.DbFeedbackSelect<ExtArgs> | null
|
|
1372
|
+
/**
|
|
1373
|
+
* Omit specific fields from the DbFeedback
|
|
1374
|
+
*/
|
|
1375
|
+
omit?: Prisma.DbFeedbackOmit<ExtArgs> | null
|
|
1376
|
+
/**
|
|
1377
|
+
* Choose, which related nodes to fetch as well
|
|
1378
|
+
*/
|
|
1379
|
+
include?: Prisma.DbFeedbackInclude<ExtArgs> | null
|
|
1380
|
+
/**
|
|
1381
|
+
* Filter, which DbFeedback to fetch.
|
|
1382
|
+
*/
|
|
1383
|
+
where: Prisma.DbFeedbackWhereUniqueInput
|
|
1384
|
+
}
|
|
1385
|
+
|
|
1386
|
+
/**
|
|
1387
|
+
* DbFeedback findUniqueOrThrow
|
|
1388
|
+
*/
|
|
1389
|
+
export type DbFeedbackFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1390
|
+
/**
|
|
1391
|
+
* Select specific fields to fetch from the DbFeedback
|
|
1392
|
+
*/
|
|
1393
|
+
select?: Prisma.DbFeedbackSelect<ExtArgs> | null
|
|
1394
|
+
/**
|
|
1395
|
+
* Omit specific fields from the DbFeedback
|
|
1396
|
+
*/
|
|
1397
|
+
omit?: Prisma.DbFeedbackOmit<ExtArgs> | null
|
|
1398
|
+
/**
|
|
1399
|
+
* Choose, which related nodes to fetch as well
|
|
1400
|
+
*/
|
|
1401
|
+
include?: Prisma.DbFeedbackInclude<ExtArgs> | null
|
|
1402
|
+
/**
|
|
1403
|
+
* Filter, which DbFeedback to fetch.
|
|
1404
|
+
*/
|
|
1405
|
+
where: Prisma.DbFeedbackWhereUniqueInput
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
/**
|
|
1409
|
+
* DbFeedback findFirst
|
|
1410
|
+
*/
|
|
1411
|
+
export type DbFeedbackFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1412
|
+
/**
|
|
1413
|
+
* Select specific fields to fetch from the DbFeedback
|
|
1414
|
+
*/
|
|
1415
|
+
select?: Prisma.DbFeedbackSelect<ExtArgs> | null
|
|
1416
|
+
/**
|
|
1417
|
+
* Omit specific fields from the DbFeedback
|
|
1418
|
+
*/
|
|
1419
|
+
omit?: Prisma.DbFeedbackOmit<ExtArgs> | null
|
|
1420
|
+
/**
|
|
1421
|
+
* Choose, which related nodes to fetch as well
|
|
1422
|
+
*/
|
|
1423
|
+
include?: Prisma.DbFeedbackInclude<ExtArgs> | null
|
|
1424
|
+
/**
|
|
1425
|
+
* Filter, which DbFeedback to fetch.
|
|
1426
|
+
*/
|
|
1427
|
+
where?: Prisma.DbFeedbackWhereInput
|
|
1428
|
+
/**
|
|
1429
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1430
|
+
*
|
|
1431
|
+
* Determine the order of DbFeedbacks to fetch.
|
|
1432
|
+
*/
|
|
1433
|
+
orderBy?: Prisma.DbFeedbackOrderByWithRelationInput | Prisma.DbFeedbackOrderByWithRelationInput[]
|
|
1434
|
+
/**
|
|
1435
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1436
|
+
*
|
|
1437
|
+
* Sets the position for searching for DbFeedbacks.
|
|
1438
|
+
*/
|
|
1439
|
+
cursor?: Prisma.DbFeedbackWhereUniqueInput
|
|
1440
|
+
/**
|
|
1441
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1442
|
+
*
|
|
1443
|
+
* Take `±n` DbFeedbacks from the position of the cursor.
|
|
1444
|
+
*/
|
|
1445
|
+
take?: number
|
|
1446
|
+
/**
|
|
1447
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1448
|
+
*
|
|
1449
|
+
* Skip the first `n` DbFeedbacks.
|
|
1450
|
+
*/
|
|
1451
|
+
skip?: number
|
|
1452
|
+
/**
|
|
1453
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1454
|
+
*
|
|
1455
|
+
* Filter by unique combinations of DbFeedbacks.
|
|
1456
|
+
*/
|
|
1457
|
+
distinct?: Prisma.DbFeedbackScalarFieldEnum | Prisma.DbFeedbackScalarFieldEnum[]
|
|
1458
|
+
}
|
|
1459
|
+
|
|
1460
|
+
/**
|
|
1461
|
+
* DbFeedback findFirstOrThrow
|
|
1462
|
+
*/
|
|
1463
|
+
export type DbFeedbackFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1464
|
+
/**
|
|
1465
|
+
* Select specific fields to fetch from the DbFeedback
|
|
1466
|
+
*/
|
|
1467
|
+
select?: Prisma.DbFeedbackSelect<ExtArgs> | null
|
|
1468
|
+
/**
|
|
1469
|
+
* Omit specific fields from the DbFeedback
|
|
1470
|
+
*/
|
|
1471
|
+
omit?: Prisma.DbFeedbackOmit<ExtArgs> | null
|
|
1472
|
+
/**
|
|
1473
|
+
* Choose, which related nodes to fetch as well
|
|
1474
|
+
*/
|
|
1475
|
+
include?: Prisma.DbFeedbackInclude<ExtArgs> | null
|
|
1476
|
+
/**
|
|
1477
|
+
* Filter, which DbFeedback to fetch.
|
|
1478
|
+
*/
|
|
1479
|
+
where?: Prisma.DbFeedbackWhereInput
|
|
1480
|
+
/**
|
|
1481
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1482
|
+
*
|
|
1483
|
+
* Determine the order of DbFeedbacks to fetch.
|
|
1484
|
+
*/
|
|
1485
|
+
orderBy?: Prisma.DbFeedbackOrderByWithRelationInput | Prisma.DbFeedbackOrderByWithRelationInput[]
|
|
1486
|
+
/**
|
|
1487
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1488
|
+
*
|
|
1489
|
+
* Sets the position for searching for DbFeedbacks.
|
|
1490
|
+
*/
|
|
1491
|
+
cursor?: Prisma.DbFeedbackWhereUniqueInput
|
|
1492
|
+
/**
|
|
1493
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1494
|
+
*
|
|
1495
|
+
* Take `±n` DbFeedbacks from the position of the cursor.
|
|
1496
|
+
*/
|
|
1497
|
+
take?: number
|
|
1498
|
+
/**
|
|
1499
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1500
|
+
*
|
|
1501
|
+
* Skip the first `n` DbFeedbacks.
|
|
1502
|
+
*/
|
|
1503
|
+
skip?: number
|
|
1504
|
+
/**
|
|
1505
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1506
|
+
*
|
|
1507
|
+
* Filter by unique combinations of DbFeedbacks.
|
|
1508
|
+
*/
|
|
1509
|
+
distinct?: Prisma.DbFeedbackScalarFieldEnum | Prisma.DbFeedbackScalarFieldEnum[]
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
/**
|
|
1513
|
+
* DbFeedback findMany
|
|
1514
|
+
*/
|
|
1515
|
+
export type DbFeedbackFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1516
|
+
/**
|
|
1517
|
+
* Select specific fields to fetch from the DbFeedback
|
|
1518
|
+
*/
|
|
1519
|
+
select?: Prisma.DbFeedbackSelect<ExtArgs> | null
|
|
1520
|
+
/**
|
|
1521
|
+
* Omit specific fields from the DbFeedback
|
|
1522
|
+
*/
|
|
1523
|
+
omit?: Prisma.DbFeedbackOmit<ExtArgs> | null
|
|
1524
|
+
/**
|
|
1525
|
+
* Choose, which related nodes to fetch as well
|
|
1526
|
+
*/
|
|
1527
|
+
include?: Prisma.DbFeedbackInclude<ExtArgs> | null
|
|
1528
|
+
/**
|
|
1529
|
+
* Filter, which DbFeedbacks to fetch.
|
|
1530
|
+
*/
|
|
1531
|
+
where?: Prisma.DbFeedbackWhereInput
|
|
1532
|
+
/**
|
|
1533
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1534
|
+
*
|
|
1535
|
+
* Determine the order of DbFeedbacks to fetch.
|
|
1536
|
+
*/
|
|
1537
|
+
orderBy?: Prisma.DbFeedbackOrderByWithRelationInput | Prisma.DbFeedbackOrderByWithRelationInput[]
|
|
1538
|
+
/**
|
|
1539
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1540
|
+
*
|
|
1541
|
+
* Sets the position for listing DbFeedbacks.
|
|
1542
|
+
*/
|
|
1543
|
+
cursor?: Prisma.DbFeedbackWhereUniqueInput
|
|
1544
|
+
/**
|
|
1545
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1546
|
+
*
|
|
1547
|
+
* Take `±n` DbFeedbacks from the position of the cursor.
|
|
1548
|
+
*/
|
|
1549
|
+
take?: number
|
|
1550
|
+
/**
|
|
1551
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1552
|
+
*
|
|
1553
|
+
* Skip the first `n` DbFeedbacks.
|
|
1554
|
+
*/
|
|
1555
|
+
skip?: number
|
|
1556
|
+
distinct?: Prisma.DbFeedbackScalarFieldEnum | Prisma.DbFeedbackScalarFieldEnum[]
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
/**
|
|
1560
|
+
* DbFeedback create
|
|
1561
|
+
*/
|
|
1562
|
+
export type DbFeedbackCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1563
|
+
/**
|
|
1564
|
+
* Select specific fields to fetch from the DbFeedback
|
|
1565
|
+
*/
|
|
1566
|
+
select?: Prisma.DbFeedbackSelect<ExtArgs> | null
|
|
1567
|
+
/**
|
|
1568
|
+
* Omit specific fields from the DbFeedback
|
|
1569
|
+
*/
|
|
1570
|
+
omit?: Prisma.DbFeedbackOmit<ExtArgs> | null
|
|
1571
|
+
/**
|
|
1572
|
+
* Choose, which related nodes to fetch as well
|
|
1573
|
+
*/
|
|
1574
|
+
include?: Prisma.DbFeedbackInclude<ExtArgs> | null
|
|
1575
|
+
/**
|
|
1576
|
+
* The data needed to create a DbFeedback.
|
|
1577
|
+
*/
|
|
1578
|
+
data: Prisma.XOR<Prisma.DbFeedbackCreateInput, Prisma.DbFeedbackUncheckedCreateInput>
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1581
|
+
/**
|
|
1582
|
+
* DbFeedback createMany
|
|
1583
|
+
*/
|
|
1584
|
+
export type DbFeedbackCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1585
|
+
/**
|
|
1586
|
+
* The data used to create many DbFeedbacks.
|
|
1587
|
+
*/
|
|
1588
|
+
data: Prisma.DbFeedbackCreateManyInput | Prisma.DbFeedbackCreateManyInput[]
|
|
1589
|
+
skipDuplicates?: boolean
|
|
1590
|
+
}
|
|
1591
|
+
|
|
1592
|
+
/**
|
|
1593
|
+
* DbFeedback createManyAndReturn
|
|
1594
|
+
*/
|
|
1595
|
+
export type DbFeedbackCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1596
|
+
/**
|
|
1597
|
+
* Select specific fields to fetch from the DbFeedback
|
|
1598
|
+
*/
|
|
1599
|
+
select?: Prisma.DbFeedbackSelectCreateManyAndReturn<ExtArgs> | null
|
|
1600
|
+
/**
|
|
1601
|
+
* Omit specific fields from the DbFeedback
|
|
1602
|
+
*/
|
|
1603
|
+
omit?: Prisma.DbFeedbackOmit<ExtArgs> | null
|
|
1604
|
+
/**
|
|
1605
|
+
* The data used to create many DbFeedbacks.
|
|
1606
|
+
*/
|
|
1607
|
+
data: Prisma.DbFeedbackCreateManyInput | Prisma.DbFeedbackCreateManyInput[]
|
|
1608
|
+
skipDuplicates?: boolean
|
|
1609
|
+
/**
|
|
1610
|
+
* Choose, which related nodes to fetch as well
|
|
1611
|
+
*/
|
|
1612
|
+
include?: Prisma.DbFeedbackIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1613
|
+
}
|
|
1614
|
+
|
|
1615
|
+
/**
|
|
1616
|
+
* DbFeedback update
|
|
1617
|
+
*/
|
|
1618
|
+
export type DbFeedbackUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1619
|
+
/**
|
|
1620
|
+
* Select specific fields to fetch from the DbFeedback
|
|
1621
|
+
*/
|
|
1622
|
+
select?: Prisma.DbFeedbackSelect<ExtArgs> | null
|
|
1623
|
+
/**
|
|
1624
|
+
* Omit specific fields from the DbFeedback
|
|
1625
|
+
*/
|
|
1626
|
+
omit?: Prisma.DbFeedbackOmit<ExtArgs> | null
|
|
1627
|
+
/**
|
|
1628
|
+
* Choose, which related nodes to fetch as well
|
|
1629
|
+
*/
|
|
1630
|
+
include?: Prisma.DbFeedbackInclude<ExtArgs> | null
|
|
1631
|
+
/**
|
|
1632
|
+
* The data needed to update a DbFeedback.
|
|
1633
|
+
*/
|
|
1634
|
+
data: Prisma.XOR<Prisma.DbFeedbackUpdateInput, Prisma.DbFeedbackUncheckedUpdateInput>
|
|
1635
|
+
/**
|
|
1636
|
+
* Choose, which DbFeedback to update.
|
|
1637
|
+
*/
|
|
1638
|
+
where: Prisma.DbFeedbackWhereUniqueInput
|
|
1639
|
+
}
|
|
1640
|
+
|
|
1641
|
+
/**
|
|
1642
|
+
* DbFeedback updateMany
|
|
1643
|
+
*/
|
|
1644
|
+
export type DbFeedbackUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1645
|
+
/**
|
|
1646
|
+
* The data used to update DbFeedbacks.
|
|
1647
|
+
*/
|
|
1648
|
+
data: Prisma.XOR<Prisma.DbFeedbackUpdateManyMutationInput, Prisma.DbFeedbackUncheckedUpdateManyInput>
|
|
1649
|
+
/**
|
|
1650
|
+
* Filter which DbFeedbacks to update
|
|
1651
|
+
*/
|
|
1652
|
+
where?: Prisma.DbFeedbackWhereInput
|
|
1653
|
+
/**
|
|
1654
|
+
* Limit how many DbFeedbacks to update.
|
|
1655
|
+
*/
|
|
1656
|
+
limit?: number
|
|
1657
|
+
}
|
|
1658
|
+
|
|
1659
|
+
/**
|
|
1660
|
+
* DbFeedback updateManyAndReturn
|
|
1661
|
+
*/
|
|
1662
|
+
export type DbFeedbackUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1663
|
+
/**
|
|
1664
|
+
* Select specific fields to fetch from the DbFeedback
|
|
1665
|
+
*/
|
|
1666
|
+
select?: Prisma.DbFeedbackSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1667
|
+
/**
|
|
1668
|
+
* Omit specific fields from the DbFeedback
|
|
1669
|
+
*/
|
|
1670
|
+
omit?: Prisma.DbFeedbackOmit<ExtArgs> | null
|
|
1671
|
+
/**
|
|
1672
|
+
* The data used to update DbFeedbacks.
|
|
1673
|
+
*/
|
|
1674
|
+
data: Prisma.XOR<Prisma.DbFeedbackUpdateManyMutationInput, Prisma.DbFeedbackUncheckedUpdateManyInput>
|
|
1675
|
+
/**
|
|
1676
|
+
* Filter which DbFeedbacks to update
|
|
1677
|
+
*/
|
|
1678
|
+
where?: Prisma.DbFeedbackWhereInput
|
|
1679
|
+
/**
|
|
1680
|
+
* Limit how many DbFeedbacks to update.
|
|
1681
|
+
*/
|
|
1682
|
+
limit?: number
|
|
1683
|
+
/**
|
|
1684
|
+
* Choose, which related nodes to fetch as well
|
|
1685
|
+
*/
|
|
1686
|
+
include?: Prisma.DbFeedbackIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1687
|
+
}
|
|
1688
|
+
|
|
1689
|
+
/**
|
|
1690
|
+
* DbFeedback upsert
|
|
1691
|
+
*/
|
|
1692
|
+
export type DbFeedbackUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1693
|
+
/**
|
|
1694
|
+
* Select specific fields to fetch from the DbFeedback
|
|
1695
|
+
*/
|
|
1696
|
+
select?: Prisma.DbFeedbackSelect<ExtArgs> | null
|
|
1697
|
+
/**
|
|
1698
|
+
* Omit specific fields from the DbFeedback
|
|
1699
|
+
*/
|
|
1700
|
+
omit?: Prisma.DbFeedbackOmit<ExtArgs> | null
|
|
1701
|
+
/**
|
|
1702
|
+
* Choose, which related nodes to fetch as well
|
|
1703
|
+
*/
|
|
1704
|
+
include?: Prisma.DbFeedbackInclude<ExtArgs> | null
|
|
1705
|
+
/**
|
|
1706
|
+
* The filter to search for the DbFeedback to update in case it exists.
|
|
1707
|
+
*/
|
|
1708
|
+
where: Prisma.DbFeedbackWhereUniqueInput
|
|
1709
|
+
/**
|
|
1710
|
+
* In case the DbFeedback found by the `where` argument doesn't exist, create a new DbFeedback with this data.
|
|
1711
|
+
*/
|
|
1712
|
+
create: Prisma.XOR<Prisma.DbFeedbackCreateInput, Prisma.DbFeedbackUncheckedCreateInput>
|
|
1713
|
+
/**
|
|
1714
|
+
* In case the DbFeedback was found with the provided `where` argument, update it with this data.
|
|
1715
|
+
*/
|
|
1716
|
+
update: Prisma.XOR<Prisma.DbFeedbackUpdateInput, Prisma.DbFeedbackUncheckedUpdateInput>
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1719
|
+
/**
|
|
1720
|
+
* DbFeedback delete
|
|
1721
|
+
*/
|
|
1722
|
+
export type DbFeedbackDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1723
|
+
/**
|
|
1724
|
+
* Select specific fields to fetch from the DbFeedback
|
|
1725
|
+
*/
|
|
1726
|
+
select?: Prisma.DbFeedbackSelect<ExtArgs> | null
|
|
1727
|
+
/**
|
|
1728
|
+
* Omit specific fields from the DbFeedback
|
|
1729
|
+
*/
|
|
1730
|
+
omit?: Prisma.DbFeedbackOmit<ExtArgs> | null
|
|
1731
|
+
/**
|
|
1732
|
+
* Choose, which related nodes to fetch as well
|
|
1733
|
+
*/
|
|
1734
|
+
include?: Prisma.DbFeedbackInclude<ExtArgs> | null
|
|
1735
|
+
/**
|
|
1736
|
+
* Filter which DbFeedback to delete.
|
|
1737
|
+
*/
|
|
1738
|
+
where: Prisma.DbFeedbackWhereUniqueInput
|
|
1739
|
+
}
|
|
1740
|
+
|
|
1741
|
+
/**
|
|
1742
|
+
* DbFeedback deleteMany
|
|
1743
|
+
*/
|
|
1744
|
+
export type DbFeedbackDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1745
|
+
/**
|
|
1746
|
+
* Filter which DbFeedbacks to delete
|
|
1747
|
+
*/
|
|
1748
|
+
where?: Prisma.DbFeedbackWhereInput
|
|
1749
|
+
/**
|
|
1750
|
+
* Limit how many DbFeedbacks to delete.
|
|
1751
|
+
*/
|
|
1752
|
+
limit?: number
|
|
1753
|
+
}
|
|
1754
|
+
|
|
1755
|
+
/**
|
|
1756
|
+
* DbFeedback.resource
|
|
1757
|
+
*/
|
|
1758
|
+
export type DbFeedback$resourceArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1759
|
+
/**
|
|
1760
|
+
* Select specific fields to fetch from the DbResource
|
|
1761
|
+
*/
|
|
1762
|
+
select?: Prisma.DbResourceSelect<ExtArgs> | null
|
|
1763
|
+
/**
|
|
1764
|
+
* Omit specific fields from the DbResource
|
|
1765
|
+
*/
|
|
1766
|
+
omit?: Prisma.DbResourceOmit<ExtArgs> | null
|
|
1767
|
+
/**
|
|
1768
|
+
* Choose, which related nodes to fetch as well
|
|
1769
|
+
*/
|
|
1770
|
+
include?: Prisma.DbResourceInclude<ExtArgs> | null
|
|
1771
|
+
where?: Prisma.DbResourceWhereInput
|
|
1772
|
+
}
|
|
1773
|
+
|
|
1774
|
+
/**
|
|
1775
|
+
* DbFeedback.attachments
|
|
1776
|
+
*/
|
|
1777
|
+
export type DbFeedback$attachmentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1778
|
+
/**
|
|
1779
|
+
* Select specific fields to fetch from the DbFeedbackAttachment
|
|
1780
|
+
*/
|
|
1781
|
+
select?: Prisma.DbFeedbackAttachmentSelect<ExtArgs> | null
|
|
1782
|
+
/**
|
|
1783
|
+
* Omit specific fields from the DbFeedbackAttachment
|
|
1784
|
+
*/
|
|
1785
|
+
omit?: Prisma.DbFeedbackAttachmentOmit<ExtArgs> | null
|
|
1786
|
+
/**
|
|
1787
|
+
* Choose, which related nodes to fetch as well
|
|
1788
|
+
*/
|
|
1789
|
+
include?: Prisma.DbFeedbackAttachmentInclude<ExtArgs> | null
|
|
1790
|
+
where?: Prisma.DbFeedbackAttachmentWhereInput
|
|
1791
|
+
orderBy?: Prisma.DbFeedbackAttachmentOrderByWithRelationInput | Prisma.DbFeedbackAttachmentOrderByWithRelationInput[]
|
|
1792
|
+
cursor?: Prisma.DbFeedbackAttachmentWhereUniqueInput
|
|
1793
|
+
take?: number
|
|
1794
|
+
skip?: number
|
|
1795
|
+
distinct?: Prisma.DbFeedbackAttachmentScalarFieldEnum | Prisma.DbFeedbackAttachmentScalarFieldEnum[]
|
|
1796
|
+
}
|
|
1797
|
+
|
|
1798
|
+
/**
|
|
1799
|
+
* DbFeedback without action
|
|
1800
|
+
*/
|
|
1801
|
+
export type DbFeedbackDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1802
|
+
/**
|
|
1803
|
+
* Select specific fields to fetch from the DbFeedback
|
|
1804
|
+
*/
|
|
1805
|
+
select?: Prisma.DbFeedbackSelect<ExtArgs> | null
|
|
1806
|
+
/**
|
|
1807
|
+
* Omit specific fields from the DbFeedback
|
|
1808
|
+
*/
|
|
1809
|
+
omit?: Prisma.DbFeedbackOmit<ExtArgs> | null
|
|
1810
|
+
/**
|
|
1811
|
+
* Choose, which related nodes to fetch as well
|
|
1812
|
+
*/
|
|
1813
|
+
include?: Prisma.DbFeedbackInclude<ExtArgs> | null
|
|
1814
|
+
}
|