@igstack/app-catalog-backend-core 6.3.1-alpha-20261003051755 → 6.5.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,1661 @@
|
|
|
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 `DbFeedbackAttachment` 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 DbFeedbackAttachment
|
|
19
|
+
* An image attached to one piece of feedback.
|
|
20
|
+
*
|
|
21
|
+
* Deliberately not a DbAsset: that model's `name` is `@unique` and that namespace holds
|
|
22
|
+
* published, reviewed assets, so an unreviewed stranger's upload must not be able to
|
|
23
|
+
* squat `jira.svg`. Promoting an attached logo into a real icon is an explicit
|
|
24
|
+
* maintainer step through the existing upsertAsset.
|
|
25
|
+
*/
|
|
26
|
+
export type DbFeedbackAttachmentModel = runtime.Types.Result.DefaultSelection<Prisma.$DbFeedbackAttachmentPayload>
|
|
27
|
+
|
|
28
|
+
export type AggregateDbFeedbackAttachment = {
|
|
29
|
+
_count: DbFeedbackAttachmentCountAggregateOutputType | null
|
|
30
|
+
_avg: DbFeedbackAttachmentAvgAggregateOutputType | null
|
|
31
|
+
_sum: DbFeedbackAttachmentSumAggregateOutputType | null
|
|
32
|
+
_min: DbFeedbackAttachmentMinAggregateOutputType | null
|
|
33
|
+
_max: DbFeedbackAttachmentMaxAggregateOutputType | null
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export type DbFeedbackAttachmentAvgAggregateOutputType = {
|
|
37
|
+
fileSize: number | null
|
|
38
|
+
width: number | null
|
|
39
|
+
height: number | null
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export type DbFeedbackAttachmentSumAggregateOutputType = {
|
|
43
|
+
fileSize: number | null
|
|
44
|
+
width: number | null
|
|
45
|
+
height: number | null
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export type DbFeedbackAttachmentMinAggregateOutputType = {
|
|
49
|
+
id: string | null
|
|
50
|
+
feedbackId: string | null
|
|
51
|
+
authorHash: string | null
|
|
52
|
+
content: runtime.Bytes | null
|
|
53
|
+
mimeType: string | null
|
|
54
|
+
fileSize: number | null
|
|
55
|
+
checksum: string | null
|
|
56
|
+
width: number | null
|
|
57
|
+
height: number | null
|
|
58
|
+
originalFilename: string | null
|
|
59
|
+
createdAt: Date | null
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export type DbFeedbackAttachmentMaxAggregateOutputType = {
|
|
63
|
+
id: string | null
|
|
64
|
+
feedbackId: string | null
|
|
65
|
+
authorHash: string | null
|
|
66
|
+
content: runtime.Bytes | null
|
|
67
|
+
mimeType: string | null
|
|
68
|
+
fileSize: number | null
|
|
69
|
+
checksum: string | null
|
|
70
|
+
width: number | null
|
|
71
|
+
height: number | null
|
|
72
|
+
originalFilename: string | null
|
|
73
|
+
createdAt: Date | null
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export type DbFeedbackAttachmentCountAggregateOutputType = {
|
|
77
|
+
id: number
|
|
78
|
+
feedbackId: number
|
|
79
|
+
authorHash: number
|
|
80
|
+
content: number
|
|
81
|
+
mimeType: number
|
|
82
|
+
fileSize: number
|
|
83
|
+
checksum: number
|
|
84
|
+
width: number
|
|
85
|
+
height: number
|
|
86
|
+
originalFilename: number
|
|
87
|
+
createdAt: number
|
|
88
|
+
_all: number
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
export type DbFeedbackAttachmentAvgAggregateInputType = {
|
|
93
|
+
fileSize?: true
|
|
94
|
+
width?: true
|
|
95
|
+
height?: true
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export type DbFeedbackAttachmentSumAggregateInputType = {
|
|
99
|
+
fileSize?: true
|
|
100
|
+
width?: true
|
|
101
|
+
height?: true
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export type DbFeedbackAttachmentMinAggregateInputType = {
|
|
105
|
+
id?: true
|
|
106
|
+
feedbackId?: true
|
|
107
|
+
authorHash?: true
|
|
108
|
+
content?: true
|
|
109
|
+
mimeType?: true
|
|
110
|
+
fileSize?: true
|
|
111
|
+
checksum?: true
|
|
112
|
+
width?: true
|
|
113
|
+
height?: true
|
|
114
|
+
originalFilename?: true
|
|
115
|
+
createdAt?: true
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export type DbFeedbackAttachmentMaxAggregateInputType = {
|
|
119
|
+
id?: true
|
|
120
|
+
feedbackId?: true
|
|
121
|
+
authorHash?: true
|
|
122
|
+
content?: true
|
|
123
|
+
mimeType?: true
|
|
124
|
+
fileSize?: true
|
|
125
|
+
checksum?: true
|
|
126
|
+
width?: true
|
|
127
|
+
height?: true
|
|
128
|
+
originalFilename?: true
|
|
129
|
+
createdAt?: true
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export type DbFeedbackAttachmentCountAggregateInputType = {
|
|
133
|
+
id?: true
|
|
134
|
+
feedbackId?: true
|
|
135
|
+
authorHash?: true
|
|
136
|
+
content?: true
|
|
137
|
+
mimeType?: true
|
|
138
|
+
fileSize?: true
|
|
139
|
+
checksum?: true
|
|
140
|
+
width?: true
|
|
141
|
+
height?: true
|
|
142
|
+
originalFilename?: true
|
|
143
|
+
createdAt?: true
|
|
144
|
+
_all?: true
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export type DbFeedbackAttachmentAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
148
|
+
/**
|
|
149
|
+
* Filter which DbFeedbackAttachment to aggregate.
|
|
150
|
+
*/
|
|
151
|
+
where?: Prisma.DbFeedbackAttachmentWhereInput
|
|
152
|
+
/**
|
|
153
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
154
|
+
*
|
|
155
|
+
* Determine the order of DbFeedbackAttachments to fetch.
|
|
156
|
+
*/
|
|
157
|
+
orderBy?: Prisma.DbFeedbackAttachmentOrderByWithRelationInput | Prisma.DbFeedbackAttachmentOrderByWithRelationInput[]
|
|
158
|
+
/**
|
|
159
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
160
|
+
*
|
|
161
|
+
* Sets the start position
|
|
162
|
+
*/
|
|
163
|
+
cursor?: Prisma.DbFeedbackAttachmentWhereUniqueInput
|
|
164
|
+
/**
|
|
165
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
166
|
+
*
|
|
167
|
+
* Take `±n` DbFeedbackAttachments from the position of the cursor.
|
|
168
|
+
*/
|
|
169
|
+
take?: number
|
|
170
|
+
/**
|
|
171
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
172
|
+
*
|
|
173
|
+
* Skip the first `n` DbFeedbackAttachments.
|
|
174
|
+
*/
|
|
175
|
+
skip?: number
|
|
176
|
+
/**
|
|
177
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
178
|
+
*
|
|
179
|
+
* Count returned DbFeedbackAttachments
|
|
180
|
+
**/
|
|
181
|
+
_count?: true | DbFeedbackAttachmentCountAggregateInputType
|
|
182
|
+
/**
|
|
183
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
184
|
+
*
|
|
185
|
+
* Select which fields to average
|
|
186
|
+
**/
|
|
187
|
+
_avg?: DbFeedbackAttachmentAvgAggregateInputType
|
|
188
|
+
/**
|
|
189
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
190
|
+
*
|
|
191
|
+
* Select which fields to sum
|
|
192
|
+
**/
|
|
193
|
+
_sum?: DbFeedbackAttachmentSumAggregateInputType
|
|
194
|
+
/**
|
|
195
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
196
|
+
*
|
|
197
|
+
* Select which fields to find the minimum value
|
|
198
|
+
**/
|
|
199
|
+
_min?: DbFeedbackAttachmentMinAggregateInputType
|
|
200
|
+
/**
|
|
201
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
202
|
+
*
|
|
203
|
+
* Select which fields to find the maximum value
|
|
204
|
+
**/
|
|
205
|
+
_max?: DbFeedbackAttachmentMaxAggregateInputType
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
export type GetDbFeedbackAttachmentAggregateType<T extends DbFeedbackAttachmentAggregateArgs> = {
|
|
209
|
+
[P in keyof T & keyof AggregateDbFeedbackAttachment]: P extends '_count' | 'count'
|
|
210
|
+
? T[P] extends true
|
|
211
|
+
? number
|
|
212
|
+
: Prisma.GetScalarType<T[P], AggregateDbFeedbackAttachment[P]>
|
|
213
|
+
: Prisma.GetScalarType<T[P], AggregateDbFeedbackAttachment[P]>
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
export type DbFeedbackAttachmentGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
220
|
+
where?: Prisma.DbFeedbackAttachmentWhereInput
|
|
221
|
+
orderBy?: Prisma.DbFeedbackAttachmentOrderByWithAggregationInput | Prisma.DbFeedbackAttachmentOrderByWithAggregationInput[]
|
|
222
|
+
by: Prisma.DbFeedbackAttachmentScalarFieldEnum[] | Prisma.DbFeedbackAttachmentScalarFieldEnum
|
|
223
|
+
having?: Prisma.DbFeedbackAttachmentScalarWhereWithAggregatesInput
|
|
224
|
+
take?: number
|
|
225
|
+
skip?: number
|
|
226
|
+
_count?: DbFeedbackAttachmentCountAggregateInputType | true
|
|
227
|
+
_avg?: DbFeedbackAttachmentAvgAggregateInputType
|
|
228
|
+
_sum?: DbFeedbackAttachmentSumAggregateInputType
|
|
229
|
+
_min?: DbFeedbackAttachmentMinAggregateInputType
|
|
230
|
+
_max?: DbFeedbackAttachmentMaxAggregateInputType
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
export type DbFeedbackAttachmentGroupByOutputType = {
|
|
234
|
+
id: string
|
|
235
|
+
feedbackId: string | null
|
|
236
|
+
authorHash: string
|
|
237
|
+
content: runtime.Bytes
|
|
238
|
+
mimeType: string
|
|
239
|
+
fileSize: number
|
|
240
|
+
checksum: string
|
|
241
|
+
width: number | null
|
|
242
|
+
height: number | null
|
|
243
|
+
originalFilename: string
|
|
244
|
+
createdAt: Date
|
|
245
|
+
_count: DbFeedbackAttachmentCountAggregateOutputType | null
|
|
246
|
+
_avg: DbFeedbackAttachmentAvgAggregateOutputType | null
|
|
247
|
+
_sum: DbFeedbackAttachmentSumAggregateOutputType | null
|
|
248
|
+
_min: DbFeedbackAttachmentMinAggregateOutputType | null
|
|
249
|
+
_max: DbFeedbackAttachmentMaxAggregateOutputType | null
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
type GetDbFeedbackAttachmentGroupByPayload<T extends DbFeedbackAttachmentGroupByArgs> = Prisma.PrismaPromise<
|
|
253
|
+
Array<
|
|
254
|
+
Prisma.PickEnumerable<DbFeedbackAttachmentGroupByOutputType, T['by']> &
|
|
255
|
+
{
|
|
256
|
+
[P in ((keyof T) & (keyof DbFeedbackAttachmentGroupByOutputType))]: P extends '_count'
|
|
257
|
+
? T[P] extends boolean
|
|
258
|
+
? number
|
|
259
|
+
: Prisma.GetScalarType<T[P], DbFeedbackAttachmentGroupByOutputType[P]>
|
|
260
|
+
: Prisma.GetScalarType<T[P], DbFeedbackAttachmentGroupByOutputType[P]>
|
|
261
|
+
}
|
|
262
|
+
>
|
|
263
|
+
>
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
export type DbFeedbackAttachmentWhereInput = {
|
|
268
|
+
AND?: Prisma.DbFeedbackAttachmentWhereInput | Prisma.DbFeedbackAttachmentWhereInput[]
|
|
269
|
+
OR?: Prisma.DbFeedbackAttachmentWhereInput[]
|
|
270
|
+
NOT?: Prisma.DbFeedbackAttachmentWhereInput | Prisma.DbFeedbackAttachmentWhereInput[]
|
|
271
|
+
id?: Prisma.StringFilter<"DbFeedbackAttachment"> | string
|
|
272
|
+
feedbackId?: Prisma.StringNullableFilter<"DbFeedbackAttachment"> | string | null
|
|
273
|
+
authorHash?: Prisma.StringFilter<"DbFeedbackAttachment"> | string
|
|
274
|
+
content?: Prisma.BytesFilter<"DbFeedbackAttachment"> | runtime.Bytes
|
|
275
|
+
mimeType?: Prisma.StringFilter<"DbFeedbackAttachment"> | string
|
|
276
|
+
fileSize?: Prisma.IntFilter<"DbFeedbackAttachment"> | number
|
|
277
|
+
checksum?: Prisma.StringFilter<"DbFeedbackAttachment"> | string
|
|
278
|
+
width?: Prisma.IntNullableFilter<"DbFeedbackAttachment"> | number | null
|
|
279
|
+
height?: Prisma.IntNullableFilter<"DbFeedbackAttachment"> | number | null
|
|
280
|
+
originalFilename?: Prisma.StringFilter<"DbFeedbackAttachment"> | string
|
|
281
|
+
createdAt?: Prisma.DateTimeFilter<"DbFeedbackAttachment"> | Date | string
|
|
282
|
+
feedback?: Prisma.XOR<Prisma.DbFeedbackNullableScalarRelationFilter, Prisma.DbFeedbackWhereInput> | null
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export type DbFeedbackAttachmentOrderByWithRelationInput = {
|
|
286
|
+
id?: Prisma.SortOrder
|
|
287
|
+
feedbackId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
288
|
+
authorHash?: Prisma.SortOrder
|
|
289
|
+
content?: Prisma.SortOrder
|
|
290
|
+
mimeType?: Prisma.SortOrder
|
|
291
|
+
fileSize?: Prisma.SortOrder
|
|
292
|
+
checksum?: Prisma.SortOrder
|
|
293
|
+
width?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
294
|
+
height?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
295
|
+
originalFilename?: Prisma.SortOrder
|
|
296
|
+
createdAt?: Prisma.SortOrder
|
|
297
|
+
feedback?: Prisma.DbFeedbackOrderByWithRelationInput
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
export type DbFeedbackAttachmentWhereUniqueInput = Prisma.AtLeast<{
|
|
301
|
+
id?: string
|
|
302
|
+
AND?: Prisma.DbFeedbackAttachmentWhereInput | Prisma.DbFeedbackAttachmentWhereInput[]
|
|
303
|
+
OR?: Prisma.DbFeedbackAttachmentWhereInput[]
|
|
304
|
+
NOT?: Prisma.DbFeedbackAttachmentWhereInput | Prisma.DbFeedbackAttachmentWhereInput[]
|
|
305
|
+
feedbackId?: Prisma.StringNullableFilter<"DbFeedbackAttachment"> | string | null
|
|
306
|
+
authorHash?: Prisma.StringFilter<"DbFeedbackAttachment"> | string
|
|
307
|
+
content?: Prisma.BytesFilter<"DbFeedbackAttachment"> | runtime.Bytes
|
|
308
|
+
mimeType?: Prisma.StringFilter<"DbFeedbackAttachment"> | string
|
|
309
|
+
fileSize?: Prisma.IntFilter<"DbFeedbackAttachment"> | number
|
|
310
|
+
checksum?: Prisma.StringFilter<"DbFeedbackAttachment"> | string
|
|
311
|
+
width?: Prisma.IntNullableFilter<"DbFeedbackAttachment"> | number | null
|
|
312
|
+
height?: Prisma.IntNullableFilter<"DbFeedbackAttachment"> | number | null
|
|
313
|
+
originalFilename?: Prisma.StringFilter<"DbFeedbackAttachment"> | string
|
|
314
|
+
createdAt?: Prisma.DateTimeFilter<"DbFeedbackAttachment"> | Date | string
|
|
315
|
+
feedback?: Prisma.XOR<Prisma.DbFeedbackNullableScalarRelationFilter, Prisma.DbFeedbackWhereInput> | null
|
|
316
|
+
}, "id">
|
|
317
|
+
|
|
318
|
+
export type DbFeedbackAttachmentOrderByWithAggregationInput = {
|
|
319
|
+
id?: Prisma.SortOrder
|
|
320
|
+
feedbackId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
321
|
+
authorHash?: Prisma.SortOrder
|
|
322
|
+
content?: Prisma.SortOrder
|
|
323
|
+
mimeType?: Prisma.SortOrder
|
|
324
|
+
fileSize?: Prisma.SortOrder
|
|
325
|
+
checksum?: Prisma.SortOrder
|
|
326
|
+
width?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
327
|
+
height?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
328
|
+
originalFilename?: Prisma.SortOrder
|
|
329
|
+
createdAt?: Prisma.SortOrder
|
|
330
|
+
_count?: Prisma.DbFeedbackAttachmentCountOrderByAggregateInput
|
|
331
|
+
_avg?: Prisma.DbFeedbackAttachmentAvgOrderByAggregateInput
|
|
332
|
+
_max?: Prisma.DbFeedbackAttachmentMaxOrderByAggregateInput
|
|
333
|
+
_min?: Prisma.DbFeedbackAttachmentMinOrderByAggregateInput
|
|
334
|
+
_sum?: Prisma.DbFeedbackAttachmentSumOrderByAggregateInput
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
export type DbFeedbackAttachmentScalarWhereWithAggregatesInput = {
|
|
338
|
+
AND?: Prisma.DbFeedbackAttachmentScalarWhereWithAggregatesInput | Prisma.DbFeedbackAttachmentScalarWhereWithAggregatesInput[]
|
|
339
|
+
OR?: Prisma.DbFeedbackAttachmentScalarWhereWithAggregatesInput[]
|
|
340
|
+
NOT?: Prisma.DbFeedbackAttachmentScalarWhereWithAggregatesInput | Prisma.DbFeedbackAttachmentScalarWhereWithAggregatesInput[]
|
|
341
|
+
id?: Prisma.StringWithAggregatesFilter<"DbFeedbackAttachment"> | string
|
|
342
|
+
feedbackId?: Prisma.StringNullableWithAggregatesFilter<"DbFeedbackAttachment"> | string | null
|
|
343
|
+
authorHash?: Prisma.StringWithAggregatesFilter<"DbFeedbackAttachment"> | string
|
|
344
|
+
content?: Prisma.BytesWithAggregatesFilter<"DbFeedbackAttachment"> | runtime.Bytes
|
|
345
|
+
mimeType?: Prisma.StringWithAggregatesFilter<"DbFeedbackAttachment"> | string
|
|
346
|
+
fileSize?: Prisma.IntWithAggregatesFilter<"DbFeedbackAttachment"> | number
|
|
347
|
+
checksum?: Prisma.StringWithAggregatesFilter<"DbFeedbackAttachment"> | string
|
|
348
|
+
width?: Prisma.IntNullableWithAggregatesFilter<"DbFeedbackAttachment"> | number | null
|
|
349
|
+
height?: Prisma.IntNullableWithAggregatesFilter<"DbFeedbackAttachment"> | number | null
|
|
350
|
+
originalFilename?: Prisma.StringWithAggregatesFilter<"DbFeedbackAttachment"> | string
|
|
351
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"DbFeedbackAttachment"> | Date | string
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
export type DbFeedbackAttachmentCreateInput = {
|
|
355
|
+
id?: string
|
|
356
|
+
authorHash: string
|
|
357
|
+
content: runtime.Bytes
|
|
358
|
+
mimeType: string
|
|
359
|
+
fileSize: number
|
|
360
|
+
checksum: string
|
|
361
|
+
width?: number | null
|
|
362
|
+
height?: number | null
|
|
363
|
+
originalFilename: string
|
|
364
|
+
createdAt?: Date | string
|
|
365
|
+
feedback?: Prisma.DbFeedbackCreateNestedOneWithoutAttachmentsInput
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
export type DbFeedbackAttachmentUncheckedCreateInput = {
|
|
369
|
+
id?: string
|
|
370
|
+
feedbackId?: string | null
|
|
371
|
+
authorHash: string
|
|
372
|
+
content: runtime.Bytes
|
|
373
|
+
mimeType: string
|
|
374
|
+
fileSize: number
|
|
375
|
+
checksum: string
|
|
376
|
+
width?: number | null
|
|
377
|
+
height?: number | null
|
|
378
|
+
originalFilename: string
|
|
379
|
+
createdAt?: Date | string
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
export type DbFeedbackAttachmentUpdateInput = {
|
|
383
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
384
|
+
authorHash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
385
|
+
content?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes
|
|
386
|
+
mimeType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
387
|
+
fileSize?: Prisma.IntFieldUpdateOperationsInput | number
|
|
388
|
+
checksum?: Prisma.StringFieldUpdateOperationsInput | string
|
|
389
|
+
width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
390
|
+
height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
391
|
+
originalFilename?: Prisma.StringFieldUpdateOperationsInput | string
|
|
392
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
393
|
+
feedback?: Prisma.DbFeedbackUpdateOneWithoutAttachmentsNestedInput
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
export type DbFeedbackAttachmentUncheckedUpdateInput = {
|
|
397
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
398
|
+
feedbackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
399
|
+
authorHash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
400
|
+
content?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes
|
|
401
|
+
mimeType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
402
|
+
fileSize?: Prisma.IntFieldUpdateOperationsInput | number
|
|
403
|
+
checksum?: Prisma.StringFieldUpdateOperationsInput | string
|
|
404
|
+
width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
405
|
+
height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
406
|
+
originalFilename?: Prisma.StringFieldUpdateOperationsInput | string
|
|
407
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
export type DbFeedbackAttachmentCreateManyInput = {
|
|
411
|
+
id?: string
|
|
412
|
+
feedbackId?: string | null
|
|
413
|
+
authorHash: string
|
|
414
|
+
content: runtime.Bytes
|
|
415
|
+
mimeType: string
|
|
416
|
+
fileSize: number
|
|
417
|
+
checksum: string
|
|
418
|
+
width?: number | null
|
|
419
|
+
height?: number | null
|
|
420
|
+
originalFilename: string
|
|
421
|
+
createdAt?: Date | string
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
export type DbFeedbackAttachmentUpdateManyMutationInput = {
|
|
425
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
426
|
+
authorHash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
427
|
+
content?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes
|
|
428
|
+
mimeType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
429
|
+
fileSize?: Prisma.IntFieldUpdateOperationsInput | number
|
|
430
|
+
checksum?: Prisma.StringFieldUpdateOperationsInput | string
|
|
431
|
+
width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
432
|
+
height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
433
|
+
originalFilename?: Prisma.StringFieldUpdateOperationsInput | string
|
|
434
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
export type DbFeedbackAttachmentUncheckedUpdateManyInput = {
|
|
438
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
439
|
+
feedbackId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
440
|
+
authorHash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
441
|
+
content?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes
|
|
442
|
+
mimeType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
443
|
+
fileSize?: Prisma.IntFieldUpdateOperationsInput | number
|
|
444
|
+
checksum?: Prisma.StringFieldUpdateOperationsInput | string
|
|
445
|
+
width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
446
|
+
height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
447
|
+
originalFilename?: Prisma.StringFieldUpdateOperationsInput | string
|
|
448
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
export type DbFeedbackAttachmentListRelationFilter = {
|
|
452
|
+
every?: Prisma.DbFeedbackAttachmentWhereInput
|
|
453
|
+
some?: Prisma.DbFeedbackAttachmentWhereInput
|
|
454
|
+
none?: Prisma.DbFeedbackAttachmentWhereInput
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
export type DbFeedbackAttachmentOrderByRelationAggregateInput = {
|
|
458
|
+
_count?: Prisma.SortOrder
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
export type DbFeedbackAttachmentCountOrderByAggregateInput = {
|
|
462
|
+
id?: Prisma.SortOrder
|
|
463
|
+
feedbackId?: Prisma.SortOrder
|
|
464
|
+
authorHash?: Prisma.SortOrder
|
|
465
|
+
content?: Prisma.SortOrder
|
|
466
|
+
mimeType?: Prisma.SortOrder
|
|
467
|
+
fileSize?: Prisma.SortOrder
|
|
468
|
+
checksum?: Prisma.SortOrder
|
|
469
|
+
width?: Prisma.SortOrder
|
|
470
|
+
height?: Prisma.SortOrder
|
|
471
|
+
originalFilename?: Prisma.SortOrder
|
|
472
|
+
createdAt?: Prisma.SortOrder
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
export type DbFeedbackAttachmentAvgOrderByAggregateInput = {
|
|
476
|
+
fileSize?: Prisma.SortOrder
|
|
477
|
+
width?: Prisma.SortOrder
|
|
478
|
+
height?: Prisma.SortOrder
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
export type DbFeedbackAttachmentMaxOrderByAggregateInput = {
|
|
482
|
+
id?: Prisma.SortOrder
|
|
483
|
+
feedbackId?: Prisma.SortOrder
|
|
484
|
+
authorHash?: Prisma.SortOrder
|
|
485
|
+
content?: Prisma.SortOrder
|
|
486
|
+
mimeType?: Prisma.SortOrder
|
|
487
|
+
fileSize?: Prisma.SortOrder
|
|
488
|
+
checksum?: Prisma.SortOrder
|
|
489
|
+
width?: Prisma.SortOrder
|
|
490
|
+
height?: Prisma.SortOrder
|
|
491
|
+
originalFilename?: Prisma.SortOrder
|
|
492
|
+
createdAt?: Prisma.SortOrder
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
export type DbFeedbackAttachmentMinOrderByAggregateInput = {
|
|
496
|
+
id?: Prisma.SortOrder
|
|
497
|
+
feedbackId?: Prisma.SortOrder
|
|
498
|
+
authorHash?: Prisma.SortOrder
|
|
499
|
+
content?: Prisma.SortOrder
|
|
500
|
+
mimeType?: Prisma.SortOrder
|
|
501
|
+
fileSize?: Prisma.SortOrder
|
|
502
|
+
checksum?: Prisma.SortOrder
|
|
503
|
+
width?: Prisma.SortOrder
|
|
504
|
+
height?: Prisma.SortOrder
|
|
505
|
+
originalFilename?: Prisma.SortOrder
|
|
506
|
+
createdAt?: Prisma.SortOrder
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
export type DbFeedbackAttachmentSumOrderByAggregateInput = {
|
|
510
|
+
fileSize?: Prisma.SortOrder
|
|
511
|
+
width?: Prisma.SortOrder
|
|
512
|
+
height?: Prisma.SortOrder
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
export type DbFeedbackAttachmentCreateNestedManyWithoutFeedbackInput = {
|
|
516
|
+
create?: Prisma.XOR<Prisma.DbFeedbackAttachmentCreateWithoutFeedbackInput, Prisma.DbFeedbackAttachmentUncheckedCreateWithoutFeedbackInput> | Prisma.DbFeedbackAttachmentCreateWithoutFeedbackInput[] | Prisma.DbFeedbackAttachmentUncheckedCreateWithoutFeedbackInput[]
|
|
517
|
+
connectOrCreate?: Prisma.DbFeedbackAttachmentCreateOrConnectWithoutFeedbackInput | Prisma.DbFeedbackAttachmentCreateOrConnectWithoutFeedbackInput[]
|
|
518
|
+
createMany?: Prisma.DbFeedbackAttachmentCreateManyFeedbackInputEnvelope
|
|
519
|
+
connect?: Prisma.DbFeedbackAttachmentWhereUniqueInput | Prisma.DbFeedbackAttachmentWhereUniqueInput[]
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
export type DbFeedbackAttachmentUncheckedCreateNestedManyWithoutFeedbackInput = {
|
|
523
|
+
create?: Prisma.XOR<Prisma.DbFeedbackAttachmentCreateWithoutFeedbackInput, Prisma.DbFeedbackAttachmentUncheckedCreateWithoutFeedbackInput> | Prisma.DbFeedbackAttachmentCreateWithoutFeedbackInput[] | Prisma.DbFeedbackAttachmentUncheckedCreateWithoutFeedbackInput[]
|
|
524
|
+
connectOrCreate?: Prisma.DbFeedbackAttachmentCreateOrConnectWithoutFeedbackInput | Prisma.DbFeedbackAttachmentCreateOrConnectWithoutFeedbackInput[]
|
|
525
|
+
createMany?: Prisma.DbFeedbackAttachmentCreateManyFeedbackInputEnvelope
|
|
526
|
+
connect?: Prisma.DbFeedbackAttachmentWhereUniqueInput | Prisma.DbFeedbackAttachmentWhereUniqueInput[]
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
export type DbFeedbackAttachmentUpdateManyWithoutFeedbackNestedInput = {
|
|
530
|
+
create?: Prisma.XOR<Prisma.DbFeedbackAttachmentCreateWithoutFeedbackInput, Prisma.DbFeedbackAttachmentUncheckedCreateWithoutFeedbackInput> | Prisma.DbFeedbackAttachmentCreateWithoutFeedbackInput[] | Prisma.DbFeedbackAttachmentUncheckedCreateWithoutFeedbackInput[]
|
|
531
|
+
connectOrCreate?: Prisma.DbFeedbackAttachmentCreateOrConnectWithoutFeedbackInput | Prisma.DbFeedbackAttachmentCreateOrConnectWithoutFeedbackInput[]
|
|
532
|
+
upsert?: Prisma.DbFeedbackAttachmentUpsertWithWhereUniqueWithoutFeedbackInput | Prisma.DbFeedbackAttachmentUpsertWithWhereUniqueWithoutFeedbackInput[]
|
|
533
|
+
createMany?: Prisma.DbFeedbackAttachmentCreateManyFeedbackInputEnvelope
|
|
534
|
+
set?: Prisma.DbFeedbackAttachmentWhereUniqueInput | Prisma.DbFeedbackAttachmentWhereUniqueInput[]
|
|
535
|
+
disconnect?: Prisma.DbFeedbackAttachmentWhereUniqueInput | Prisma.DbFeedbackAttachmentWhereUniqueInput[]
|
|
536
|
+
delete?: Prisma.DbFeedbackAttachmentWhereUniqueInput | Prisma.DbFeedbackAttachmentWhereUniqueInput[]
|
|
537
|
+
connect?: Prisma.DbFeedbackAttachmentWhereUniqueInput | Prisma.DbFeedbackAttachmentWhereUniqueInput[]
|
|
538
|
+
update?: Prisma.DbFeedbackAttachmentUpdateWithWhereUniqueWithoutFeedbackInput | Prisma.DbFeedbackAttachmentUpdateWithWhereUniqueWithoutFeedbackInput[]
|
|
539
|
+
updateMany?: Prisma.DbFeedbackAttachmentUpdateManyWithWhereWithoutFeedbackInput | Prisma.DbFeedbackAttachmentUpdateManyWithWhereWithoutFeedbackInput[]
|
|
540
|
+
deleteMany?: Prisma.DbFeedbackAttachmentScalarWhereInput | Prisma.DbFeedbackAttachmentScalarWhereInput[]
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
export type DbFeedbackAttachmentUncheckedUpdateManyWithoutFeedbackNestedInput = {
|
|
544
|
+
create?: Prisma.XOR<Prisma.DbFeedbackAttachmentCreateWithoutFeedbackInput, Prisma.DbFeedbackAttachmentUncheckedCreateWithoutFeedbackInput> | Prisma.DbFeedbackAttachmentCreateWithoutFeedbackInput[] | Prisma.DbFeedbackAttachmentUncheckedCreateWithoutFeedbackInput[]
|
|
545
|
+
connectOrCreate?: Prisma.DbFeedbackAttachmentCreateOrConnectWithoutFeedbackInput | Prisma.DbFeedbackAttachmentCreateOrConnectWithoutFeedbackInput[]
|
|
546
|
+
upsert?: Prisma.DbFeedbackAttachmentUpsertWithWhereUniqueWithoutFeedbackInput | Prisma.DbFeedbackAttachmentUpsertWithWhereUniqueWithoutFeedbackInput[]
|
|
547
|
+
createMany?: Prisma.DbFeedbackAttachmentCreateManyFeedbackInputEnvelope
|
|
548
|
+
set?: Prisma.DbFeedbackAttachmentWhereUniqueInput | Prisma.DbFeedbackAttachmentWhereUniqueInput[]
|
|
549
|
+
disconnect?: Prisma.DbFeedbackAttachmentWhereUniqueInput | Prisma.DbFeedbackAttachmentWhereUniqueInput[]
|
|
550
|
+
delete?: Prisma.DbFeedbackAttachmentWhereUniqueInput | Prisma.DbFeedbackAttachmentWhereUniqueInput[]
|
|
551
|
+
connect?: Prisma.DbFeedbackAttachmentWhereUniqueInput | Prisma.DbFeedbackAttachmentWhereUniqueInput[]
|
|
552
|
+
update?: Prisma.DbFeedbackAttachmentUpdateWithWhereUniqueWithoutFeedbackInput | Prisma.DbFeedbackAttachmentUpdateWithWhereUniqueWithoutFeedbackInput[]
|
|
553
|
+
updateMany?: Prisma.DbFeedbackAttachmentUpdateManyWithWhereWithoutFeedbackInput | Prisma.DbFeedbackAttachmentUpdateManyWithWhereWithoutFeedbackInput[]
|
|
554
|
+
deleteMany?: Prisma.DbFeedbackAttachmentScalarWhereInput | Prisma.DbFeedbackAttachmentScalarWhereInput[]
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
export type BytesFieldUpdateOperationsInput = {
|
|
558
|
+
set?: runtime.Bytes
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
export type NullableIntFieldUpdateOperationsInput = {
|
|
562
|
+
set?: number | null
|
|
563
|
+
increment?: number
|
|
564
|
+
decrement?: number
|
|
565
|
+
multiply?: number
|
|
566
|
+
divide?: number
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
export type DbFeedbackAttachmentCreateWithoutFeedbackInput = {
|
|
570
|
+
id?: string
|
|
571
|
+
authorHash: string
|
|
572
|
+
content: runtime.Bytes
|
|
573
|
+
mimeType: string
|
|
574
|
+
fileSize: number
|
|
575
|
+
checksum: string
|
|
576
|
+
width?: number | null
|
|
577
|
+
height?: number | null
|
|
578
|
+
originalFilename: string
|
|
579
|
+
createdAt?: Date | string
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
export type DbFeedbackAttachmentUncheckedCreateWithoutFeedbackInput = {
|
|
583
|
+
id?: string
|
|
584
|
+
authorHash: string
|
|
585
|
+
content: runtime.Bytes
|
|
586
|
+
mimeType: string
|
|
587
|
+
fileSize: number
|
|
588
|
+
checksum: string
|
|
589
|
+
width?: number | null
|
|
590
|
+
height?: number | null
|
|
591
|
+
originalFilename: string
|
|
592
|
+
createdAt?: Date | string
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
export type DbFeedbackAttachmentCreateOrConnectWithoutFeedbackInput = {
|
|
596
|
+
where: Prisma.DbFeedbackAttachmentWhereUniqueInput
|
|
597
|
+
create: Prisma.XOR<Prisma.DbFeedbackAttachmentCreateWithoutFeedbackInput, Prisma.DbFeedbackAttachmentUncheckedCreateWithoutFeedbackInput>
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
export type DbFeedbackAttachmentCreateManyFeedbackInputEnvelope = {
|
|
601
|
+
data: Prisma.DbFeedbackAttachmentCreateManyFeedbackInput | Prisma.DbFeedbackAttachmentCreateManyFeedbackInput[]
|
|
602
|
+
skipDuplicates?: boolean
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
export type DbFeedbackAttachmentUpsertWithWhereUniqueWithoutFeedbackInput = {
|
|
606
|
+
where: Prisma.DbFeedbackAttachmentWhereUniqueInput
|
|
607
|
+
update: Prisma.XOR<Prisma.DbFeedbackAttachmentUpdateWithoutFeedbackInput, Prisma.DbFeedbackAttachmentUncheckedUpdateWithoutFeedbackInput>
|
|
608
|
+
create: Prisma.XOR<Prisma.DbFeedbackAttachmentCreateWithoutFeedbackInput, Prisma.DbFeedbackAttachmentUncheckedCreateWithoutFeedbackInput>
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
export type DbFeedbackAttachmentUpdateWithWhereUniqueWithoutFeedbackInput = {
|
|
612
|
+
where: Prisma.DbFeedbackAttachmentWhereUniqueInput
|
|
613
|
+
data: Prisma.XOR<Prisma.DbFeedbackAttachmentUpdateWithoutFeedbackInput, Prisma.DbFeedbackAttachmentUncheckedUpdateWithoutFeedbackInput>
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
export type DbFeedbackAttachmentUpdateManyWithWhereWithoutFeedbackInput = {
|
|
617
|
+
where: Prisma.DbFeedbackAttachmentScalarWhereInput
|
|
618
|
+
data: Prisma.XOR<Prisma.DbFeedbackAttachmentUpdateManyMutationInput, Prisma.DbFeedbackAttachmentUncheckedUpdateManyWithoutFeedbackInput>
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
export type DbFeedbackAttachmentScalarWhereInput = {
|
|
622
|
+
AND?: Prisma.DbFeedbackAttachmentScalarWhereInput | Prisma.DbFeedbackAttachmentScalarWhereInput[]
|
|
623
|
+
OR?: Prisma.DbFeedbackAttachmentScalarWhereInput[]
|
|
624
|
+
NOT?: Prisma.DbFeedbackAttachmentScalarWhereInput | Prisma.DbFeedbackAttachmentScalarWhereInput[]
|
|
625
|
+
id?: Prisma.StringFilter<"DbFeedbackAttachment"> | string
|
|
626
|
+
feedbackId?: Prisma.StringNullableFilter<"DbFeedbackAttachment"> | string | null
|
|
627
|
+
authorHash?: Prisma.StringFilter<"DbFeedbackAttachment"> | string
|
|
628
|
+
content?: Prisma.BytesFilter<"DbFeedbackAttachment"> | runtime.Bytes
|
|
629
|
+
mimeType?: Prisma.StringFilter<"DbFeedbackAttachment"> | string
|
|
630
|
+
fileSize?: Prisma.IntFilter<"DbFeedbackAttachment"> | number
|
|
631
|
+
checksum?: Prisma.StringFilter<"DbFeedbackAttachment"> | string
|
|
632
|
+
width?: Prisma.IntNullableFilter<"DbFeedbackAttachment"> | number | null
|
|
633
|
+
height?: Prisma.IntNullableFilter<"DbFeedbackAttachment"> | number | null
|
|
634
|
+
originalFilename?: Prisma.StringFilter<"DbFeedbackAttachment"> | string
|
|
635
|
+
createdAt?: Prisma.DateTimeFilter<"DbFeedbackAttachment"> | Date | string
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
export type DbFeedbackAttachmentCreateManyFeedbackInput = {
|
|
639
|
+
id?: string
|
|
640
|
+
authorHash: string
|
|
641
|
+
content: runtime.Bytes
|
|
642
|
+
mimeType: string
|
|
643
|
+
fileSize: number
|
|
644
|
+
checksum: string
|
|
645
|
+
width?: number | null
|
|
646
|
+
height?: number | null
|
|
647
|
+
originalFilename: string
|
|
648
|
+
createdAt?: Date | string
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
export type DbFeedbackAttachmentUpdateWithoutFeedbackInput = {
|
|
652
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
653
|
+
authorHash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
654
|
+
content?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes
|
|
655
|
+
mimeType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
656
|
+
fileSize?: Prisma.IntFieldUpdateOperationsInput | number
|
|
657
|
+
checksum?: Prisma.StringFieldUpdateOperationsInput | string
|
|
658
|
+
width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
659
|
+
height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
660
|
+
originalFilename?: Prisma.StringFieldUpdateOperationsInput | string
|
|
661
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
export type DbFeedbackAttachmentUncheckedUpdateWithoutFeedbackInput = {
|
|
665
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
666
|
+
authorHash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
667
|
+
content?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes
|
|
668
|
+
mimeType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
669
|
+
fileSize?: Prisma.IntFieldUpdateOperationsInput | number
|
|
670
|
+
checksum?: Prisma.StringFieldUpdateOperationsInput | string
|
|
671
|
+
width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
672
|
+
height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
673
|
+
originalFilename?: Prisma.StringFieldUpdateOperationsInput | string
|
|
674
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
export type DbFeedbackAttachmentUncheckedUpdateManyWithoutFeedbackInput = {
|
|
678
|
+
id?: Prisma.StringFieldUpdateOperationsInput | string
|
|
679
|
+
authorHash?: Prisma.StringFieldUpdateOperationsInput | string
|
|
680
|
+
content?: Prisma.BytesFieldUpdateOperationsInput | runtime.Bytes
|
|
681
|
+
mimeType?: Prisma.StringFieldUpdateOperationsInput | string
|
|
682
|
+
fileSize?: Prisma.IntFieldUpdateOperationsInput | number
|
|
683
|
+
checksum?: Prisma.StringFieldUpdateOperationsInput | string
|
|
684
|
+
width?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
685
|
+
height?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
|
|
686
|
+
originalFilename?: Prisma.StringFieldUpdateOperationsInput | string
|
|
687
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
|
|
691
|
+
|
|
692
|
+
export type DbFeedbackAttachmentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
693
|
+
id?: boolean
|
|
694
|
+
feedbackId?: boolean
|
|
695
|
+
authorHash?: boolean
|
|
696
|
+
content?: boolean
|
|
697
|
+
mimeType?: boolean
|
|
698
|
+
fileSize?: boolean
|
|
699
|
+
checksum?: boolean
|
|
700
|
+
width?: boolean
|
|
701
|
+
height?: boolean
|
|
702
|
+
originalFilename?: boolean
|
|
703
|
+
createdAt?: boolean
|
|
704
|
+
feedback?: boolean | Prisma.DbFeedbackAttachment$feedbackArgs<ExtArgs>
|
|
705
|
+
}, ExtArgs["result"]["dbFeedbackAttachment"]>
|
|
706
|
+
|
|
707
|
+
export type DbFeedbackAttachmentSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
708
|
+
id?: boolean
|
|
709
|
+
feedbackId?: boolean
|
|
710
|
+
authorHash?: boolean
|
|
711
|
+
content?: boolean
|
|
712
|
+
mimeType?: boolean
|
|
713
|
+
fileSize?: boolean
|
|
714
|
+
checksum?: boolean
|
|
715
|
+
width?: boolean
|
|
716
|
+
height?: boolean
|
|
717
|
+
originalFilename?: boolean
|
|
718
|
+
createdAt?: boolean
|
|
719
|
+
feedback?: boolean | Prisma.DbFeedbackAttachment$feedbackArgs<ExtArgs>
|
|
720
|
+
}, ExtArgs["result"]["dbFeedbackAttachment"]>
|
|
721
|
+
|
|
722
|
+
export type DbFeedbackAttachmentSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
723
|
+
id?: boolean
|
|
724
|
+
feedbackId?: boolean
|
|
725
|
+
authorHash?: boolean
|
|
726
|
+
content?: boolean
|
|
727
|
+
mimeType?: boolean
|
|
728
|
+
fileSize?: boolean
|
|
729
|
+
checksum?: boolean
|
|
730
|
+
width?: boolean
|
|
731
|
+
height?: boolean
|
|
732
|
+
originalFilename?: boolean
|
|
733
|
+
createdAt?: boolean
|
|
734
|
+
feedback?: boolean | Prisma.DbFeedbackAttachment$feedbackArgs<ExtArgs>
|
|
735
|
+
}, ExtArgs["result"]["dbFeedbackAttachment"]>
|
|
736
|
+
|
|
737
|
+
export type DbFeedbackAttachmentSelectScalar = {
|
|
738
|
+
id?: boolean
|
|
739
|
+
feedbackId?: boolean
|
|
740
|
+
authorHash?: boolean
|
|
741
|
+
content?: boolean
|
|
742
|
+
mimeType?: boolean
|
|
743
|
+
fileSize?: boolean
|
|
744
|
+
checksum?: boolean
|
|
745
|
+
width?: boolean
|
|
746
|
+
height?: boolean
|
|
747
|
+
originalFilename?: boolean
|
|
748
|
+
createdAt?: boolean
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
export type DbFeedbackAttachmentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "feedbackId" | "authorHash" | "content" | "mimeType" | "fileSize" | "checksum" | "width" | "height" | "originalFilename" | "createdAt", ExtArgs["result"]["dbFeedbackAttachment"]>
|
|
752
|
+
export type DbFeedbackAttachmentInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
753
|
+
feedback?: boolean | Prisma.DbFeedbackAttachment$feedbackArgs<ExtArgs>
|
|
754
|
+
}
|
|
755
|
+
export type DbFeedbackAttachmentIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
756
|
+
feedback?: boolean | Prisma.DbFeedbackAttachment$feedbackArgs<ExtArgs>
|
|
757
|
+
}
|
|
758
|
+
export type DbFeedbackAttachmentIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
759
|
+
feedback?: boolean | Prisma.DbFeedbackAttachment$feedbackArgs<ExtArgs>
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
export type $DbFeedbackAttachmentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
763
|
+
name: "DbFeedbackAttachment"
|
|
764
|
+
objects: {
|
|
765
|
+
feedback: Prisma.$DbFeedbackPayload<ExtArgs> | null
|
|
766
|
+
}
|
|
767
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
768
|
+
id: string
|
|
769
|
+
/**
|
|
770
|
+
* Null between upload and submit: an image is stored before the feedback row exists,
|
|
771
|
+
* so abandoning the form leaves an orphan image rather than half-written feedback.
|
|
772
|
+
* A sweep deletes orphans older than a day.
|
|
773
|
+
*/
|
|
774
|
+
feedbackId: string | null
|
|
775
|
+
/**
|
|
776
|
+
* Who uploaded it, so submitting can only claim your OWN unclaimed images. Without
|
|
777
|
+
* this, `feedbackId` being a single FK means attaching a guessed id would MOVE that
|
|
778
|
+
* image off somebody else's feedback.
|
|
779
|
+
*/
|
|
780
|
+
authorHash: string
|
|
781
|
+
/**
|
|
782
|
+
* Re-encoded by sharp before storage, so this is always one of our own formats and
|
|
783
|
+
* never whatever bytes arrived.
|
|
784
|
+
*/
|
|
785
|
+
content: runtime.Bytes
|
|
786
|
+
mimeType: string
|
|
787
|
+
fileSize: number
|
|
788
|
+
checksum: string
|
|
789
|
+
width: number | null
|
|
790
|
+
height: number | null
|
|
791
|
+
/**
|
|
792
|
+
* The uploader's filename, shown to a maintainer. Never used as a path or a key.
|
|
793
|
+
*/
|
|
794
|
+
originalFilename: string
|
|
795
|
+
createdAt: Date
|
|
796
|
+
}, ExtArgs["result"]["dbFeedbackAttachment"]>
|
|
797
|
+
composites: {}
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
export type DbFeedbackAttachmentGetPayload<S extends boolean | null | undefined | DbFeedbackAttachmentDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$DbFeedbackAttachmentPayload, S>
|
|
801
|
+
|
|
802
|
+
export type DbFeedbackAttachmentCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
803
|
+
Omit<DbFeedbackAttachmentFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
804
|
+
select?: DbFeedbackAttachmentCountAggregateInputType | true
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
export interface DbFeedbackAttachmentDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
808
|
+
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['DbFeedbackAttachment'], meta: { name: 'DbFeedbackAttachment' } }
|
|
809
|
+
/**
|
|
810
|
+
* Find zero or one DbFeedbackAttachment that matches the filter.
|
|
811
|
+
* @param {DbFeedbackAttachmentFindUniqueArgs} args - Arguments to find a DbFeedbackAttachment
|
|
812
|
+
* @example
|
|
813
|
+
* // Get one DbFeedbackAttachment
|
|
814
|
+
* const dbFeedbackAttachment = await prisma.dbFeedbackAttachment.findUnique({
|
|
815
|
+
* where: {
|
|
816
|
+
* // ... provide filter here
|
|
817
|
+
* }
|
|
818
|
+
* })
|
|
819
|
+
*/
|
|
820
|
+
findUnique<T extends DbFeedbackAttachmentFindUniqueArgs>(args: Prisma.SelectSubset<T, DbFeedbackAttachmentFindUniqueArgs<ExtArgs>>): Prisma.Prisma__DbFeedbackAttachmentClient<runtime.Types.Result.GetResult<Prisma.$DbFeedbackAttachmentPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
821
|
+
|
|
822
|
+
/**
|
|
823
|
+
* Find one DbFeedbackAttachment that matches the filter or throw an error with `error.code='P2025'`
|
|
824
|
+
* if no matches were found.
|
|
825
|
+
* @param {DbFeedbackAttachmentFindUniqueOrThrowArgs} args - Arguments to find a DbFeedbackAttachment
|
|
826
|
+
* @example
|
|
827
|
+
* // Get one DbFeedbackAttachment
|
|
828
|
+
* const dbFeedbackAttachment = await prisma.dbFeedbackAttachment.findUniqueOrThrow({
|
|
829
|
+
* where: {
|
|
830
|
+
* // ... provide filter here
|
|
831
|
+
* }
|
|
832
|
+
* })
|
|
833
|
+
*/
|
|
834
|
+
findUniqueOrThrow<T extends DbFeedbackAttachmentFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, DbFeedbackAttachmentFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__DbFeedbackAttachmentClient<runtime.Types.Result.GetResult<Prisma.$DbFeedbackAttachmentPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
835
|
+
|
|
836
|
+
/**
|
|
837
|
+
* Find the first DbFeedbackAttachment that matches the filter.
|
|
838
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
839
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
840
|
+
* @param {DbFeedbackAttachmentFindFirstArgs} args - Arguments to find a DbFeedbackAttachment
|
|
841
|
+
* @example
|
|
842
|
+
* // Get one DbFeedbackAttachment
|
|
843
|
+
* const dbFeedbackAttachment = await prisma.dbFeedbackAttachment.findFirst({
|
|
844
|
+
* where: {
|
|
845
|
+
* // ... provide filter here
|
|
846
|
+
* }
|
|
847
|
+
* })
|
|
848
|
+
*/
|
|
849
|
+
findFirst<T extends DbFeedbackAttachmentFindFirstArgs>(args?: Prisma.SelectSubset<T, DbFeedbackAttachmentFindFirstArgs<ExtArgs>>): Prisma.Prisma__DbFeedbackAttachmentClient<runtime.Types.Result.GetResult<Prisma.$DbFeedbackAttachmentPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
850
|
+
|
|
851
|
+
/**
|
|
852
|
+
* Find the first DbFeedbackAttachment that matches the filter or
|
|
853
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
854
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
855
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
856
|
+
* @param {DbFeedbackAttachmentFindFirstOrThrowArgs} args - Arguments to find a DbFeedbackAttachment
|
|
857
|
+
* @example
|
|
858
|
+
* // Get one DbFeedbackAttachment
|
|
859
|
+
* const dbFeedbackAttachment = await prisma.dbFeedbackAttachment.findFirstOrThrow({
|
|
860
|
+
* where: {
|
|
861
|
+
* // ... provide filter here
|
|
862
|
+
* }
|
|
863
|
+
* })
|
|
864
|
+
*/
|
|
865
|
+
findFirstOrThrow<T extends DbFeedbackAttachmentFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, DbFeedbackAttachmentFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__DbFeedbackAttachmentClient<runtime.Types.Result.GetResult<Prisma.$DbFeedbackAttachmentPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* Find zero or more DbFeedbackAttachments that matches the filter.
|
|
869
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
870
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
871
|
+
* @param {DbFeedbackAttachmentFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
872
|
+
* @example
|
|
873
|
+
* // Get all DbFeedbackAttachments
|
|
874
|
+
* const dbFeedbackAttachments = await prisma.dbFeedbackAttachment.findMany()
|
|
875
|
+
*
|
|
876
|
+
* // Get first 10 DbFeedbackAttachments
|
|
877
|
+
* const dbFeedbackAttachments = await prisma.dbFeedbackAttachment.findMany({ take: 10 })
|
|
878
|
+
*
|
|
879
|
+
* // Only select the `id`
|
|
880
|
+
* const dbFeedbackAttachmentWithIdOnly = await prisma.dbFeedbackAttachment.findMany({ select: { id: true } })
|
|
881
|
+
*
|
|
882
|
+
*/
|
|
883
|
+
findMany<T extends DbFeedbackAttachmentFindManyArgs>(args?: Prisma.SelectSubset<T, DbFeedbackAttachmentFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DbFeedbackAttachmentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
|
|
884
|
+
|
|
885
|
+
/**
|
|
886
|
+
* Create a DbFeedbackAttachment.
|
|
887
|
+
* @param {DbFeedbackAttachmentCreateArgs} args - Arguments to create a DbFeedbackAttachment.
|
|
888
|
+
* @example
|
|
889
|
+
* // Create one DbFeedbackAttachment
|
|
890
|
+
* const DbFeedbackAttachment = await prisma.dbFeedbackAttachment.create({
|
|
891
|
+
* data: {
|
|
892
|
+
* // ... data to create a DbFeedbackAttachment
|
|
893
|
+
* }
|
|
894
|
+
* })
|
|
895
|
+
*
|
|
896
|
+
*/
|
|
897
|
+
create<T extends DbFeedbackAttachmentCreateArgs>(args: Prisma.SelectSubset<T, DbFeedbackAttachmentCreateArgs<ExtArgs>>): Prisma.Prisma__DbFeedbackAttachmentClient<runtime.Types.Result.GetResult<Prisma.$DbFeedbackAttachmentPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
898
|
+
|
|
899
|
+
/**
|
|
900
|
+
* Create many DbFeedbackAttachments.
|
|
901
|
+
* @param {DbFeedbackAttachmentCreateManyArgs} args - Arguments to create many DbFeedbackAttachments.
|
|
902
|
+
* @example
|
|
903
|
+
* // Create many DbFeedbackAttachments
|
|
904
|
+
* const dbFeedbackAttachment = await prisma.dbFeedbackAttachment.createMany({
|
|
905
|
+
* data: [
|
|
906
|
+
* // ... provide data here
|
|
907
|
+
* ]
|
|
908
|
+
* })
|
|
909
|
+
*
|
|
910
|
+
*/
|
|
911
|
+
createMany<T extends DbFeedbackAttachmentCreateManyArgs>(args?: Prisma.SelectSubset<T, DbFeedbackAttachmentCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
912
|
+
|
|
913
|
+
/**
|
|
914
|
+
* Create many DbFeedbackAttachments and returns the data saved in the database.
|
|
915
|
+
* @param {DbFeedbackAttachmentCreateManyAndReturnArgs} args - Arguments to create many DbFeedbackAttachments.
|
|
916
|
+
* @example
|
|
917
|
+
* // Create many DbFeedbackAttachments
|
|
918
|
+
* const dbFeedbackAttachment = await prisma.dbFeedbackAttachment.createManyAndReturn({
|
|
919
|
+
* data: [
|
|
920
|
+
* // ... provide data here
|
|
921
|
+
* ]
|
|
922
|
+
* })
|
|
923
|
+
*
|
|
924
|
+
* // Create many DbFeedbackAttachments and only return the `id`
|
|
925
|
+
* const dbFeedbackAttachmentWithIdOnly = await prisma.dbFeedbackAttachment.createManyAndReturn({
|
|
926
|
+
* select: { id: true },
|
|
927
|
+
* data: [
|
|
928
|
+
* // ... provide data here
|
|
929
|
+
* ]
|
|
930
|
+
* })
|
|
931
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
932
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
933
|
+
*
|
|
934
|
+
*/
|
|
935
|
+
createManyAndReturn<T extends DbFeedbackAttachmentCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, DbFeedbackAttachmentCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DbFeedbackAttachmentPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
|
|
936
|
+
|
|
937
|
+
/**
|
|
938
|
+
* Delete a DbFeedbackAttachment.
|
|
939
|
+
* @param {DbFeedbackAttachmentDeleteArgs} args - Arguments to delete one DbFeedbackAttachment.
|
|
940
|
+
* @example
|
|
941
|
+
* // Delete one DbFeedbackAttachment
|
|
942
|
+
* const DbFeedbackAttachment = await prisma.dbFeedbackAttachment.delete({
|
|
943
|
+
* where: {
|
|
944
|
+
* // ... filter to delete one DbFeedbackAttachment
|
|
945
|
+
* }
|
|
946
|
+
* })
|
|
947
|
+
*
|
|
948
|
+
*/
|
|
949
|
+
delete<T extends DbFeedbackAttachmentDeleteArgs>(args: Prisma.SelectSubset<T, DbFeedbackAttachmentDeleteArgs<ExtArgs>>): Prisma.Prisma__DbFeedbackAttachmentClient<runtime.Types.Result.GetResult<Prisma.$DbFeedbackAttachmentPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
950
|
+
|
|
951
|
+
/**
|
|
952
|
+
* Update one DbFeedbackAttachment.
|
|
953
|
+
* @param {DbFeedbackAttachmentUpdateArgs} args - Arguments to update one DbFeedbackAttachment.
|
|
954
|
+
* @example
|
|
955
|
+
* // Update one DbFeedbackAttachment
|
|
956
|
+
* const dbFeedbackAttachment = await prisma.dbFeedbackAttachment.update({
|
|
957
|
+
* where: {
|
|
958
|
+
* // ... provide filter here
|
|
959
|
+
* },
|
|
960
|
+
* data: {
|
|
961
|
+
* // ... provide data here
|
|
962
|
+
* }
|
|
963
|
+
* })
|
|
964
|
+
*
|
|
965
|
+
*/
|
|
966
|
+
update<T extends DbFeedbackAttachmentUpdateArgs>(args: Prisma.SelectSubset<T, DbFeedbackAttachmentUpdateArgs<ExtArgs>>): Prisma.Prisma__DbFeedbackAttachmentClient<runtime.Types.Result.GetResult<Prisma.$DbFeedbackAttachmentPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
967
|
+
|
|
968
|
+
/**
|
|
969
|
+
* Delete zero or more DbFeedbackAttachments.
|
|
970
|
+
* @param {DbFeedbackAttachmentDeleteManyArgs} args - Arguments to filter DbFeedbackAttachments to delete.
|
|
971
|
+
* @example
|
|
972
|
+
* // Delete a few DbFeedbackAttachments
|
|
973
|
+
* const { count } = await prisma.dbFeedbackAttachment.deleteMany({
|
|
974
|
+
* where: {
|
|
975
|
+
* // ... provide filter here
|
|
976
|
+
* }
|
|
977
|
+
* })
|
|
978
|
+
*
|
|
979
|
+
*/
|
|
980
|
+
deleteMany<T extends DbFeedbackAttachmentDeleteManyArgs>(args?: Prisma.SelectSubset<T, DbFeedbackAttachmentDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
981
|
+
|
|
982
|
+
/**
|
|
983
|
+
* Update zero or more DbFeedbackAttachments.
|
|
984
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
985
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
986
|
+
* @param {DbFeedbackAttachmentUpdateManyArgs} args - Arguments to update one or more rows.
|
|
987
|
+
* @example
|
|
988
|
+
* // Update many DbFeedbackAttachments
|
|
989
|
+
* const dbFeedbackAttachment = await prisma.dbFeedbackAttachment.updateMany({
|
|
990
|
+
* where: {
|
|
991
|
+
* // ... provide filter here
|
|
992
|
+
* },
|
|
993
|
+
* data: {
|
|
994
|
+
* // ... provide data here
|
|
995
|
+
* }
|
|
996
|
+
* })
|
|
997
|
+
*
|
|
998
|
+
*/
|
|
999
|
+
updateMany<T extends DbFeedbackAttachmentUpdateManyArgs>(args: Prisma.SelectSubset<T, DbFeedbackAttachmentUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
1000
|
+
|
|
1001
|
+
/**
|
|
1002
|
+
* Update zero or more DbFeedbackAttachments and returns the data updated in the database.
|
|
1003
|
+
* @param {DbFeedbackAttachmentUpdateManyAndReturnArgs} args - Arguments to update many DbFeedbackAttachments.
|
|
1004
|
+
* @example
|
|
1005
|
+
* // Update many DbFeedbackAttachments
|
|
1006
|
+
* const dbFeedbackAttachment = await prisma.dbFeedbackAttachment.updateManyAndReturn({
|
|
1007
|
+
* where: {
|
|
1008
|
+
* // ... provide filter here
|
|
1009
|
+
* },
|
|
1010
|
+
* data: [
|
|
1011
|
+
* // ... provide data here
|
|
1012
|
+
* ]
|
|
1013
|
+
* })
|
|
1014
|
+
*
|
|
1015
|
+
* // Update zero or more DbFeedbackAttachments and only return the `id`
|
|
1016
|
+
* const dbFeedbackAttachmentWithIdOnly = await prisma.dbFeedbackAttachment.updateManyAndReturn({
|
|
1017
|
+
* select: { id: true },
|
|
1018
|
+
* where: {
|
|
1019
|
+
* // ... provide filter here
|
|
1020
|
+
* },
|
|
1021
|
+
* data: [
|
|
1022
|
+
* // ... provide data here
|
|
1023
|
+
* ]
|
|
1024
|
+
* })
|
|
1025
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1026
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1027
|
+
*
|
|
1028
|
+
*/
|
|
1029
|
+
updateManyAndReturn<T extends DbFeedbackAttachmentUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, DbFeedbackAttachmentUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DbFeedbackAttachmentPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
|
|
1030
|
+
|
|
1031
|
+
/**
|
|
1032
|
+
* Create or update one DbFeedbackAttachment.
|
|
1033
|
+
* @param {DbFeedbackAttachmentUpsertArgs} args - Arguments to update or create a DbFeedbackAttachment.
|
|
1034
|
+
* @example
|
|
1035
|
+
* // Update or create a DbFeedbackAttachment
|
|
1036
|
+
* const dbFeedbackAttachment = await prisma.dbFeedbackAttachment.upsert({
|
|
1037
|
+
* create: {
|
|
1038
|
+
* // ... data to create a DbFeedbackAttachment
|
|
1039
|
+
* },
|
|
1040
|
+
* update: {
|
|
1041
|
+
* // ... in case it already exists, update
|
|
1042
|
+
* },
|
|
1043
|
+
* where: {
|
|
1044
|
+
* // ... the filter for the DbFeedbackAttachment we want to update
|
|
1045
|
+
* }
|
|
1046
|
+
* })
|
|
1047
|
+
*/
|
|
1048
|
+
upsert<T extends DbFeedbackAttachmentUpsertArgs>(args: Prisma.SelectSubset<T, DbFeedbackAttachmentUpsertArgs<ExtArgs>>): Prisma.Prisma__DbFeedbackAttachmentClient<runtime.Types.Result.GetResult<Prisma.$DbFeedbackAttachmentPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
|
|
1049
|
+
|
|
1050
|
+
|
|
1051
|
+
/**
|
|
1052
|
+
* Count the number of DbFeedbackAttachments.
|
|
1053
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1054
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1055
|
+
* @param {DbFeedbackAttachmentCountArgs} args - Arguments to filter DbFeedbackAttachments to count.
|
|
1056
|
+
* @example
|
|
1057
|
+
* // Count the number of DbFeedbackAttachments
|
|
1058
|
+
* const count = await prisma.dbFeedbackAttachment.count({
|
|
1059
|
+
* where: {
|
|
1060
|
+
* // ... the filter for the DbFeedbackAttachments we want to count
|
|
1061
|
+
* }
|
|
1062
|
+
* })
|
|
1063
|
+
**/
|
|
1064
|
+
count<T extends DbFeedbackAttachmentCountArgs>(
|
|
1065
|
+
args?: Prisma.Subset<T, DbFeedbackAttachmentCountArgs>,
|
|
1066
|
+
): Prisma.PrismaPromise<
|
|
1067
|
+
T extends runtime.Types.Utils.Record<'select', any>
|
|
1068
|
+
? T['select'] extends true
|
|
1069
|
+
? number
|
|
1070
|
+
: Prisma.GetScalarType<T['select'], DbFeedbackAttachmentCountAggregateOutputType>
|
|
1071
|
+
: number
|
|
1072
|
+
>
|
|
1073
|
+
|
|
1074
|
+
/**
|
|
1075
|
+
* Allows you to perform aggregations operations on a DbFeedbackAttachment.
|
|
1076
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1077
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1078
|
+
* @param {DbFeedbackAttachmentAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1079
|
+
* @example
|
|
1080
|
+
* // Ordered by age ascending
|
|
1081
|
+
* // Where email contains prisma.io
|
|
1082
|
+
* // Limited to the 10 users
|
|
1083
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1084
|
+
* _avg: {
|
|
1085
|
+
* age: true,
|
|
1086
|
+
* },
|
|
1087
|
+
* where: {
|
|
1088
|
+
* email: {
|
|
1089
|
+
* contains: "prisma.io",
|
|
1090
|
+
* },
|
|
1091
|
+
* },
|
|
1092
|
+
* orderBy: {
|
|
1093
|
+
* age: "asc",
|
|
1094
|
+
* },
|
|
1095
|
+
* take: 10,
|
|
1096
|
+
* })
|
|
1097
|
+
**/
|
|
1098
|
+
aggregate<T extends DbFeedbackAttachmentAggregateArgs>(args: Prisma.Subset<T, DbFeedbackAttachmentAggregateArgs>): Prisma.PrismaPromise<GetDbFeedbackAttachmentAggregateType<T>>
|
|
1099
|
+
|
|
1100
|
+
/**
|
|
1101
|
+
* Group by DbFeedbackAttachment.
|
|
1102
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1103
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1104
|
+
* @param {DbFeedbackAttachmentGroupByArgs} args - Group by arguments.
|
|
1105
|
+
* @example
|
|
1106
|
+
* // Group by city, order by createdAt, get count
|
|
1107
|
+
* const result = await prisma.user.groupBy({
|
|
1108
|
+
* by: ['city', 'createdAt'],
|
|
1109
|
+
* orderBy: {
|
|
1110
|
+
* createdAt: true
|
|
1111
|
+
* },
|
|
1112
|
+
* _count: {
|
|
1113
|
+
* _all: true
|
|
1114
|
+
* },
|
|
1115
|
+
* })
|
|
1116
|
+
*
|
|
1117
|
+
**/
|
|
1118
|
+
groupBy<
|
|
1119
|
+
T extends DbFeedbackAttachmentGroupByArgs,
|
|
1120
|
+
HasSelectOrTake extends Prisma.Or<
|
|
1121
|
+
Prisma.Extends<'skip', Prisma.Keys<T>>,
|
|
1122
|
+
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
1123
|
+
>,
|
|
1124
|
+
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
1125
|
+
? { orderBy: DbFeedbackAttachmentGroupByArgs['orderBy'] }
|
|
1126
|
+
: { orderBy?: DbFeedbackAttachmentGroupByArgs['orderBy'] },
|
|
1127
|
+
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
1128
|
+
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
1129
|
+
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
1130
|
+
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
1131
|
+
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
1132
|
+
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
1133
|
+
InputErrors extends ByEmpty extends Prisma.True
|
|
1134
|
+
? `Error: "by" must not be empty.`
|
|
1135
|
+
: HavingValid extends Prisma.False
|
|
1136
|
+
? {
|
|
1137
|
+
[P in HavingFields]: P extends ByFields
|
|
1138
|
+
? never
|
|
1139
|
+
: P extends string
|
|
1140
|
+
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
1141
|
+
: [
|
|
1142
|
+
Error,
|
|
1143
|
+
'Field ',
|
|
1144
|
+
P,
|
|
1145
|
+
` in "having" needs to be provided in "by"`,
|
|
1146
|
+
]
|
|
1147
|
+
}[HavingFields]
|
|
1148
|
+
: 'take' extends Prisma.Keys<T>
|
|
1149
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1150
|
+
? ByValid extends Prisma.True
|
|
1151
|
+
? {}
|
|
1152
|
+
: {
|
|
1153
|
+
[P in OrderFields]: P extends ByFields
|
|
1154
|
+
? never
|
|
1155
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1156
|
+
}[OrderFields]
|
|
1157
|
+
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
1158
|
+
: 'skip' extends Prisma.Keys<T>
|
|
1159
|
+
? 'orderBy' extends Prisma.Keys<T>
|
|
1160
|
+
? ByValid extends Prisma.True
|
|
1161
|
+
? {}
|
|
1162
|
+
: {
|
|
1163
|
+
[P in OrderFields]: P extends ByFields
|
|
1164
|
+
? never
|
|
1165
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1166
|
+
}[OrderFields]
|
|
1167
|
+
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
1168
|
+
: ByValid extends Prisma.True
|
|
1169
|
+
? {}
|
|
1170
|
+
: {
|
|
1171
|
+
[P in OrderFields]: P extends ByFields
|
|
1172
|
+
? never
|
|
1173
|
+
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
1174
|
+
}[OrderFields]
|
|
1175
|
+
>(args: Prisma.SubsetIntersection<T, DbFeedbackAttachmentGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetDbFeedbackAttachmentGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
1176
|
+
/**
|
|
1177
|
+
* Fields of the DbFeedbackAttachment model
|
|
1178
|
+
*/
|
|
1179
|
+
readonly fields: DbFeedbackAttachmentFieldRefs;
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
/**
|
|
1183
|
+
* The delegate class that acts as a "Promise-like" for DbFeedbackAttachment.
|
|
1184
|
+
* Why is this prefixed with `Prisma__`?
|
|
1185
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1186
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1187
|
+
*/
|
|
1188
|
+
export interface Prisma__DbFeedbackAttachmentClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1189
|
+
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
1190
|
+
feedback<T extends Prisma.DbFeedbackAttachment$feedbackArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.DbFeedbackAttachment$feedbackArgs<ExtArgs>>): Prisma.Prisma__DbFeedbackClient<runtime.Types.Result.GetResult<Prisma.$DbFeedbackPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
1191
|
+
/**
|
|
1192
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1193
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1194
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1195
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1196
|
+
*/
|
|
1197
|
+
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>
|
|
1198
|
+
/**
|
|
1199
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1200
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1201
|
+
* @returns A Promise for the completion of the callback.
|
|
1202
|
+
*/
|
|
1203
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
1204
|
+
/**
|
|
1205
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1206
|
+
* resolved value cannot be modified from the callback.
|
|
1207
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1208
|
+
* @returns A Promise for the completion of the callback.
|
|
1209
|
+
*/
|
|
1210
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
|
|
1214
|
+
|
|
1215
|
+
|
|
1216
|
+
/**
|
|
1217
|
+
* Fields of the DbFeedbackAttachment model
|
|
1218
|
+
*/
|
|
1219
|
+
export interface DbFeedbackAttachmentFieldRefs {
|
|
1220
|
+
readonly id: Prisma.FieldRef<"DbFeedbackAttachment", 'String'>
|
|
1221
|
+
readonly feedbackId: Prisma.FieldRef<"DbFeedbackAttachment", 'String'>
|
|
1222
|
+
readonly authorHash: Prisma.FieldRef<"DbFeedbackAttachment", 'String'>
|
|
1223
|
+
readonly content: Prisma.FieldRef<"DbFeedbackAttachment", 'Bytes'>
|
|
1224
|
+
readonly mimeType: Prisma.FieldRef<"DbFeedbackAttachment", 'String'>
|
|
1225
|
+
readonly fileSize: Prisma.FieldRef<"DbFeedbackAttachment", 'Int'>
|
|
1226
|
+
readonly checksum: Prisma.FieldRef<"DbFeedbackAttachment", 'String'>
|
|
1227
|
+
readonly width: Prisma.FieldRef<"DbFeedbackAttachment", 'Int'>
|
|
1228
|
+
readonly height: Prisma.FieldRef<"DbFeedbackAttachment", 'Int'>
|
|
1229
|
+
readonly originalFilename: Prisma.FieldRef<"DbFeedbackAttachment", 'String'>
|
|
1230
|
+
readonly createdAt: Prisma.FieldRef<"DbFeedbackAttachment", 'DateTime'>
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
|
|
1234
|
+
// Custom InputTypes
|
|
1235
|
+
/**
|
|
1236
|
+
* DbFeedbackAttachment findUnique
|
|
1237
|
+
*/
|
|
1238
|
+
export type DbFeedbackAttachmentFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1239
|
+
/**
|
|
1240
|
+
* Select specific fields to fetch from the DbFeedbackAttachment
|
|
1241
|
+
*/
|
|
1242
|
+
select?: Prisma.DbFeedbackAttachmentSelect<ExtArgs> | null
|
|
1243
|
+
/**
|
|
1244
|
+
* Omit specific fields from the DbFeedbackAttachment
|
|
1245
|
+
*/
|
|
1246
|
+
omit?: Prisma.DbFeedbackAttachmentOmit<ExtArgs> | null
|
|
1247
|
+
/**
|
|
1248
|
+
* Choose, which related nodes to fetch as well
|
|
1249
|
+
*/
|
|
1250
|
+
include?: Prisma.DbFeedbackAttachmentInclude<ExtArgs> | null
|
|
1251
|
+
/**
|
|
1252
|
+
* Filter, which DbFeedbackAttachment to fetch.
|
|
1253
|
+
*/
|
|
1254
|
+
where: Prisma.DbFeedbackAttachmentWhereUniqueInput
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
/**
|
|
1258
|
+
* DbFeedbackAttachment findUniqueOrThrow
|
|
1259
|
+
*/
|
|
1260
|
+
export type DbFeedbackAttachmentFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1261
|
+
/**
|
|
1262
|
+
* Select specific fields to fetch from the DbFeedbackAttachment
|
|
1263
|
+
*/
|
|
1264
|
+
select?: Prisma.DbFeedbackAttachmentSelect<ExtArgs> | null
|
|
1265
|
+
/**
|
|
1266
|
+
* Omit specific fields from the DbFeedbackAttachment
|
|
1267
|
+
*/
|
|
1268
|
+
omit?: Prisma.DbFeedbackAttachmentOmit<ExtArgs> | null
|
|
1269
|
+
/**
|
|
1270
|
+
* Choose, which related nodes to fetch as well
|
|
1271
|
+
*/
|
|
1272
|
+
include?: Prisma.DbFeedbackAttachmentInclude<ExtArgs> | null
|
|
1273
|
+
/**
|
|
1274
|
+
* Filter, which DbFeedbackAttachment to fetch.
|
|
1275
|
+
*/
|
|
1276
|
+
where: Prisma.DbFeedbackAttachmentWhereUniqueInput
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
/**
|
|
1280
|
+
* DbFeedbackAttachment findFirst
|
|
1281
|
+
*/
|
|
1282
|
+
export type DbFeedbackAttachmentFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1283
|
+
/**
|
|
1284
|
+
* Select specific fields to fetch from the DbFeedbackAttachment
|
|
1285
|
+
*/
|
|
1286
|
+
select?: Prisma.DbFeedbackAttachmentSelect<ExtArgs> | null
|
|
1287
|
+
/**
|
|
1288
|
+
* Omit specific fields from the DbFeedbackAttachment
|
|
1289
|
+
*/
|
|
1290
|
+
omit?: Prisma.DbFeedbackAttachmentOmit<ExtArgs> | null
|
|
1291
|
+
/**
|
|
1292
|
+
* Choose, which related nodes to fetch as well
|
|
1293
|
+
*/
|
|
1294
|
+
include?: Prisma.DbFeedbackAttachmentInclude<ExtArgs> | null
|
|
1295
|
+
/**
|
|
1296
|
+
* Filter, which DbFeedbackAttachment to fetch.
|
|
1297
|
+
*/
|
|
1298
|
+
where?: Prisma.DbFeedbackAttachmentWhereInput
|
|
1299
|
+
/**
|
|
1300
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1301
|
+
*
|
|
1302
|
+
* Determine the order of DbFeedbackAttachments to fetch.
|
|
1303
|
+
*/
|
|
1304
|
+
orderBy?: Prisma.DbFeedbackAttachmentOrderByWithRelationInput | Prisma.DbFeedbackAttachmentOrderByWithRelationInput[]
|
|
1305
|
+
/**
|
|
1306
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1307
|
+
*
|
|
1308
|
+
* Sets the position for searching for DbFeedbackAttachments.
|
|
1309
|
+
*/
|
|
1310
|
+
cursor?: Prisma.DbFeedbackAttachmentWhereUniqueInput
|
|
1311
|
+
/**
|
|
1312
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1313
|
+
*
|
|
1314
|
+
* Take `±n` DbFeedbackAttachments from the position of the cursor.
|
|
1315
|
+
*/
|
|
1316
|
+
take?: number
|
|
1317
|
+
/**
|
|
1318
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1319
|
+
*
|
|
1320
|
+
* Skip the first `n` DbFeedbackAttachments.
|
|
1321
|
+
*/
|
|
1322
|
+
skip?: number
|
|
1323
|
+
/**
|
|
1324
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1325
|
+
*
|
|
1326
|
+
* Filter by unique combinations of DbFeedbackAttachments.
|
|
1327
|
+
*/
|
|
1328
|
+
distinct?: Prisma.DbFeedbackAttachmentScalarFieldEnum | Prisma.DbFeedbackAttachmentScalarFieldEnum[]
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
/**
|
|
1332
|
+
* DbFeedbackAttachment findFirstOrThrow
|
|
1333
|
+
*/
|
|
1334
|
+
export type DbFeedbackAttachmentFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1335
|
+
/**
|
|
1336
|
+
* Select specific fields to fetch from the DbFeedbackAttachment
|
|
1337
|
+
*/
|
|
1338
|
+
select?: Prisma.DbFeedbackAttachmentSelect<ExtArgs> | null
|
|
1339
|
+
/**
|
|
1340
|
+
* Omit specific fields from the DbFeedbackAttachment
|
|
1341
|
+
*/
|
|
1342
|
+
omit?: Prisma.DbFeedbackAttachmentOmit<ExtArgs> | null
|
|
1343
|
+
/**
|
|
1344
|
+
* Choose, which related nodes to fetch as well
|
|
1345
|
+
*/
|
|
1346
|
+
include?: Prisma.DbFeedbackAttachmentInclude<ExtArgs> | null
|
|
1347
|
+
/**
|
|
1348
|
+
* Filter, which DbFeedbackAttachment to fetch.
|
|
1349
|
+
*/
|
|
1350
|
+
where?: Prisma.DbFeedbackAttachmentWhereInput
|
|
1351
|
+
/**
|
|
1352
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1353
|
+
*
|
|
1354
|
+
* Determine the order of DbFeedbackAttachments to fetch.
|
|
1355
|
+
*/
|
|
1356
|
+
orderBy?: Prisma.DbFeedbackAttachmentOrderByWithRelationInput | Prisma.DbFeedbackAttachmentOrderByWithRelationInput[]
|
|
1357
|
+
/**
|
|
1358
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1359
|
+
*
|
|
1360
|
+
* Sets the position for searching for DbFeedbackAttachments.
|
|
1361
|
+
*/
|
|
1362
|
+
cursor?: Prisma.DbFeedbackAttachmentWhereUniqueInput
|
|
1363
|
+
/**
|
|
1364
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1365
|
+
*
|
|
1366
|
+
* Take `±n` DbFeedbackAttachments from the position of the cursor.
|
|
1367
|
+
*/
|
|
1368
|
+
take?: number
|
|
1369
|
+
/**
|
|
1370
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1371
|
+
*
|
|
1372
|
+
* Skip the first `n` DbFeedbackAttachments.
|
|
1373
|
+
*/
|
|
1374
|
+
skip?: number
|
|
1375
|
+
/**
|
|
1376
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1377
|
+
*
|
|
1378
|
+
* Filter by unique combinations of DbFeedbackAttachments.
|
|
1379
|
+
*/
|
|
1380
|
+
distinct?: Prisma.DbFeedbackAttachmentScalarFieldEnum | Prisma.DbFeedbackAttachmentScalarFieldEnum[]
|
|
1381
|
+
}
|
|
1382
|
+
|
|
1383
|
+
/**
|
|
1384
|
+
* DbFeedbackAttachment findMany
|
|
1385
|
+
*/
|
|
1386
|
+
export type DbFeedbackAttachmentFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1387
|
+
/**
|
|
1388
|
+
* Select specific fields to fetch from the DbFeedbackAttachment
|
|
1389
|
+
*/
|
|
1390
|
+
select?: Prisma.DbFeedbackAttachmentSelect<ExtArgs> | null
|
|
1391
|
+
/**
|
|
1392
|
+
* Omit specific fields from the DbFeedbackAttachment
|
|
1393
|
+
*/
|
|
1394
|
+
omit?: Prisma.DbFeedbackAttachmentOmit<ExtArgs> | null
|
|
1395
|
+
/**
|
|
1396
|
+
* Choose, which related nodes to fetch as well
|
|
1397
|
+
*/
|
|
1398
|
+
include?: Prisma.DbFeedbackAttachmentInclude<ExtArgs> | null
|
|
1399
|
+
/**
|
|
1400
|
+
* Filter, which DbFeedbackAttachments to fetch.
|
|
1401
|
+
*/
|
|
1402
|
+
where?: Prisma.DbFeedbackAttachmentWhereInput
|
|
1403
|
+
/**
|
|
1404
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1405
|
+
*
|
|
1406
|
+
* Determine the order of DbFeedbackAttachments to fetch.
|
|
1407
|
+
*/
|
|
1408
|
+
orderBy?: Prisma.DbFeedbackAttachmentOrderByWithRelationInput | Prisma.DbFeedbackAttachmentOrderByWithRelationInput[]
|
|
1409
|
+
/**
|
|
1410
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1411
|
+
*
|
|
1412
|
+
* Sets the position for listing DbFeedbackAttachments.
|
|
1413
|
+
*/
|
|
1414
|
+
cursor?: Prisma.DbFeedbackAttachmentWhereUniqueInput
|
|
1415
|
+
/**
|
|
1416
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1417
|
+
*
|
|
1418
|
+
* Take `±n` DbFeedbackAttachments from the position of the cursor.
|
|
1419
|
+
*/
|
|
1420
|
+
take?: number
|
|
1421
|
+
/**
|
|
1422
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1423
|
+
*
|
|
1424
|
+
* Skip the first `n` DbFeedbackAttachments.
|
|
1425
|
+
*/
|
|
1426
|
+
skip?: number
|
|
1427
|
+
distinct?: Prisma.DbFeedbackAttachmentScalarFieldEnum | Prisma.DbFeedbackAttachmentScalarFieldEnum[]
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
/**
|
|
1431
|
+
* DbFeedbackAttachment create
|
|
1432
|
+
*/
|
|
1433
|
+
export type DbFeedbackAttachmentCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1434
|
+
/**
|
|
1435
|
+
* Select specific fields to fetch from the DbFeedbackAttachment
|
|
1436
|
+
*/
|
|
1437
|
+
select?: Prisma.DbFeedbackAttachmentSelect<ExtArgs> | null
|
|
1438
|
+
/**
|
|
1439
|
+
* Omit specific fields from the DbFeedbackAttachment
|
|
1440
|
+
*/
|
|
1441
|
+
omit?: Prisma.DbFeedbackAttachmentOmit<ExtArgs> | null
|
|
1442
|
+
/**
|
|
1443
|
+
* Choose, which related nodes to fetch as well
|
|
1444
|
+
*/
|
|
1445
|
+
include?: Prisma.DbFeedbackAttachmentInclude<ExtArgs> | null
|
|
1446
|
+
/**
|
|
1447
|
+
* The data needed to create a DbFeedbackAttachment.
|
|
1448
|
+
*/
|
|
1449
|
+
data: Prisma.XOR<Prisma.DbFeedbackAttachmentCreateInput, Prisma.DbFeedbackAttachmentUncheckedCreateInput>
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
/**
|
|
1453
|
+
* DbFeedbackAttachment createMany
|
|
1454
|
+
*/
|
|
1455
|
+
export type DbFeedbackAttachmentCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1456
|
+
/**
|
|
1457
|
+
* The data used to create many DbFeedbackAttachments.
|
|
1458
|
+
*/
|
|
1459
|
+
data: Prisma.DbFeedbackAttachmentCreateManyInput | Prisma.DbFeedbackAttachmentCreateManyInput[]
|
|
1460
|
+
skipDuplicates?: boolean
|
|
1461
|
+
}
|
|
1462
|
+
|
|
1463
|
+
/**
|
|
1464
|
+
* DbFeedbackAttachment createManyAndReturn
|
|
1465
|
+
*/
|
|
1466
|
+
export type DbFeedbackAttachmentCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1467
|
+
/**
|
|
1468
|
+
* Select specific fields to fetch from the DbFeedbackAttachment
|
|
1469
|
+
*/
|
|
1470
|
+
select?: Prisma.DbFeedbackAttachmentSelectCreateManyAndReturn<ExtArgs> | null
|
|
1471
|
+
/**
|
|
1472
|
+
* Omit specific fields from the DbFeedbackAttachment
|
|
1473
|
+
*/
|
|
1474
|
+
omit?: Prisma.DbFeedbackAttachmentOmit<ExtArgs> | null
|
|
1475
|
+
/**
|
|
1476
|
+
* The data used to create many DbFeedbackAttachments.
|
|
1477
|
+
*/
|
|
1478
|
+
data: Prisma.DbFeedbackAttachmentCreateManyInput | Prisma.DbFeedbackAttachmentCreateManyInput[]
|
|
1479
|
+
skipDuplicates?: boolean
|
|
1480
|
+
/**
|
|
1481
|
+
* Choose, which related nodes to fetch as well
|
|
1482
|
+
*/
|
|
1483
|
+
include?: Prisma.DbFeedbackAttachmentIncludeCreateManyAndReturn<ExtArgs> | null
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1486
|
+
/**
|
|
1487
|
+
* DbFeedbackAttachment update
|
|
1488
|
+
*/
|
|
1489
|
+
export type DbFeedbackAttachmentUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1490
|
+
/**
|
|
1491
|
+
* Select specific fields to fetch from the DbFeedbackAttachment
|
|
1492
|
+
*/
|
|
1493
|
+
select?: Prisma.DbFeedbackAttachmentSelect<ExtArgs> | null
|
|
1494
|
+
/**
|
|
1495
|
+
* Omit specific fields from the DbFeedbackAttachment
|
|
1496
|
+
*/
|
|
1497
|
+
omit?: Prisma.DbFeedbackAttachmentOmit<ExtArgs> | null
|
|
1498
|
+
/**
|
|
1499
|
+
* Choose, which related nodes to fetch as well
|
|
1500
|
+
*/
|
|
1501
|
+
include?: Prisma.DbFeedbackAttachmentInclude<ExtArgs> | null
|
|
1502
|
+
/**
|
|
1503
|
+
* The data needed to update a DbFeedbackAttachment.
|
|
1504
|
+
*/
|
|
1505
|
+
data: Prisma.XOR<Prisma.DbFeedbackAttachmentUpdateInput, Prisma.DbFeedbackAttachmentUncheckedUpdateInput>
|
|
1506
|
+
/**
|
|
1507
|
+
* Choose, which DbFeedbackAttachment to update.
|
|
1508
|
+
*/
|
|
1509
|
+
where: Prisma.DbFeedbackAttachmentWhereUniqueInput
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
/**
|
|
1513
|
+
* DbFeedbackAttachment updateMany
|
|
1514
|
+
*/
|
|
1515
|
+
export type DbFeedbackAttachmentUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1516
|
+
/**
|
|
1517
|
+
* The data used to update DbFeedbackAttachments.
|
|
1518
|
+
*/
|
|
1519
|
+
data: Prisma.XOR<Prisma.DbFeedbackAttachmentUpdateManyMutationInput, Prisma.DbFeedbackAttachmentUncheckedUpdateManyInput>
|
|
1520
|
+
/**
|
|
1521
|
+
* Filter which DbFeedbackAttachments to update
|
|
1522
|
+
*/
|
|
1523
|
+
where?: Prisma.DbFeedbackAttachmentWhereInput
|
|
1524
|
+
/**
|
|
1525
|
+
* Limit how many DbFeedbackAttachments to update.
|
|
1526
|
+
*/
|
|
1527
|
+
limit?: number
|
|
1528
|
+
}
|
|
1529
|
+
|
|
1530
|
+
/**
|
|
1531
|
+
* DbFeedbackAttachment updateManyAndReturn
|
|
1532
|
+
*/
|
|
1533
|
+
export type DbFeedbackAttachmentUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1534
|
+
/**
|
|
1535
|
+
* Select specific fields to fetch from the DbFeedbackAttachment
|
|
1536
|
+
*/
|
|
1537
|
+
select?: Prisma.DbFeedbackAttachmentSelectUpdateManyAndReturn<ExtArgs> | null
|
|
1538
|
+
/**
|
|
1539
|
+
* Omit specific fields from the DbFeedbackAttachment
|
|
1540
|
+
*/
|
|
1541
|
+
omit?: Prisma.DbFeedbackAttachmentOmit<ExtArgs> | null
|
|
1542
|
+
/**
|
|
1543
|
+
* The data used to update DbFeedbackAttachments.
|
|
1544
|
+
*/
|
|
1545
|
+
data: Prisma.XOR<Prisma.DbFeedbackAttachmentUpdateManyMutationInput, Prisma.DbFeedbackAttachmentUncheckedUpdateManyInput>
|
|
1546
|
+
/**
|
|
1547
|
+
* Filter which DbFeedbackAttachments to update
|
|
1548
|
+
*/
|
|
1549
|
+
where?: Prisma.DbFeedbackAttachmentWhereInput
|
|
1550
|
+
/**
|
|
1551
|
+
* Limit how many DbFeedbackAttachments to update.
|
|
1552
|
+
*/
|
|
1553
|
+
limit?: number
|
|
1554
|
+
/**
|
|
1555
|
+
* Choose, which related nodes to fetch as well
|
|
1556
|
+
*/
|
|
1557
|
+
include?: Prisma.DbFeedbackAttachmentIncludeUpdateManyAndReturn<ExtArgs> | null
|
|
1558
|
+
}
|
|
1559
|
+
|
|
1560
|
+
/**
|
|
1561
|
+
* DbFeedbackAttachment upsert
|
|
1562
|
+
*/
|
|
1563
|
+
export type DbFeedbackAttachmentUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1564
|
+
/**
|
|
1565
|
+
* Select specific fields to fetch from the DbFeedbackAttachment
|
|
1566
|
+
*/
|
|
1567
|
+
select?: Prisma.DbFeedbackAttachmentSelect<ExtArgs> | null
|
|
1568
|
+
/**
|
|
1569
|
+
* Omit specific fields from the DbFeedbackAttachment
|
|
1570
|
+
*/
|
|
1571
|
+
omit?: Prisma.DbFeedbackAttachmentOmit<ExtArgs> | null
|
|
1572
|
+
/**
|
|
1573
|
+
* Choose, which related nodes to fetch as well
|
|
1574
|
+
*/
|
|
1575
|
+
include?: Prisma.DbFeedbackAttachmentInclude<ExtArgs> | null
|
|
1576
|
+
/**
|
|
1577
|
+
* The filter to search for the DbFeedbackAttachment to update in case it exists.
|
|
1578
|
+
*/
|
|
1579
|
+
where: Prisma.DbFeedbackAttachmentWhereUniqueInput
|
|
1580
|
+
/**
|
|
1581
|
+
* In case the DbFeedbackAttachment found by the `where` argument doesn't exist, create a new DbFeedbackAttachment with this data.
|
|
1582
|
+
*/
|
|
1583
|
+
create: Prisma.XOR<Prisma.DbFeedbackAttachmentCreateInput, Prisma.DbFeedbackAttachmentUncheckedCreateInput>
|
|
1584
|
+
/**
|
|
1585
|
+
* In case the DbFeedbackAttachment was found with the provided `where` argument, update it with this data.
|
|
1586
|
+
*/
|
|
1587
|
+
update: Prisma.XOR<Prisma.DbFeedbackAttachmentUpdateInput, Prisma.DbFeedbackAttachmentUncheckedUpdateInput>
|
|
1588
|
+
}
|
|
1589
|
+
|
|
1590
|
+
/**
|
|
1591
|
+
* DbFeedbackAttachment delete
|
|
1592
|
+
*/
|
|
1593
|
+
export type DbFeedbackAttachmentDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1594
|
+
/**
|
|
1595
|
+
* Select specific fields to fetch from the DbFeedbackAttachment
|
|
1596
|
+
*/
|
|
1597
|
+
select?: Prisma.DbFeedbackAttachmentSelect<ExtArgs> | null
|
|
1598
|
+
/**
|
|
1599
|
+
* Omit specific fields from the DbFeedbackAttachment
|
|
1600
|
+
*/
|
|
1601
|
+
omit?: Prisma.DbFeedbackAttachmentOmit<ExtArgs> | null
|
|
1602
|
+
/**
|
|
1603
|
+
* Choose, which related nodes to fetch as well
|
|
1604
|
+
*/
|
|
1605
|
+
include?: Prisma.DbFeedbackAttachmentInclude<ExtArgs> | null
|
|
1606
|
+
/**
|
|
1607
|
+
* Filter which DbFeedbackAttachment to delete.
|
|
1608
|
+
*/
|
|
1609
|
+
where: Prisma.DbFeedbackAttachmentWhereUniqueInput
|
|
1610
|
+
}
|
|
1611
|
+
|
|
1612
|
+
/**
|
|
1613
|
+
* DbFeedbackAttachment deleteMany
|
|
1614
|
+
*/
|
|
1615
|
+
export type DbFeedbackAttachmentDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1616
|
+
/**
|
|
1617
|
+
* Filter which DbFeedbackAttachments to delete
|
|
1618
|
+
*/
|
|
1619
|
+
where?: Prisma.DbFeedbackAttachmentWhereInput
|
|
1620
|
+
/**
|
|
1621
|
+
* Limit how many DbFeedbackAttachments to delete.
|
|
1622
|
+
*/
|
|
1623
|
+
limit?: number
|
|
1624
|
+
}
|
|
1625
|
+
|
|
1626
|
+
/**
|
|
1627
|
+
* DbFeedbackAttachment.feedback
|
|
1628
|
+
*/
|
|
1629
|
+
export type DbFeedbackAttachment$feedbackArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1630
|
+
/**
|
|
1631
|
+
* Select specific fields to fetch from the DbFeedback
|
|
1632
|
+
*/
|
|
1633
|
+
select?: Prisma.DbFeedbackSelect<ExtArgs> | null
|
|
1634
|
+
/**
|
|
1635
|
+
* Omit specific fields from the DbFeedback
|
|
1636
|
+
*/
|
|
1637
|
+
omit?: Prisma.DbFeedbackOmit<ExtArgs> | null
|
|
1638
|
+
/**
|
|
1639
|
+
* Choose, which related nodes to fetch as well
|
|
1640
|
+
*/
|
|
1641
|
+
include?: Prisma.DbFeedbackInclude<ExtArgs> | null
|
|
1642
|
+
where?: Prisma.DbFeedbackWhereInput
|
|
1643
|
+
}
|
|
1644
|
+
|
|
1645
|
+
/**
|
|
1646
|
+
* DbFeedbackAttachment without action
|
|
1647
|
+
*/
|
|
1648
|
+
export type DbFeedbackAttachmentDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1649
|
+
/**
|
|
1650
|
+
* Select specific fields to fetch from the DbFeedbackAttachment
|
|
1651
|
+
*/
|
|
1652
|
+
select?: Prisma.DbFeedbackAttachmentSelect<ExtArgs> | null
|
|
1653
|
+
/**
|
|
1654
|
+
* Omit specific fields from the DbFeedbackAttachment
|
|
1655
|
+
*/
|
|
1656
|
+
omit?: Prisma.DbFeedbackAttachmentOmit<ExtArgs> | null
|
|
1657
|
+
/**
|
|
1658
|
+
* Choose, which related nodes to fetch as well
|
|
1659
|
+
*/
|
|
1660
|
+
include?: Prisma.DbFeedbackAttachmentInclude<ExtArgs> | null
|
|
1661
|
+
}
|