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