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