@igstack/app-catalog-backend-core 6.10.2 → 6.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/db/syncAppCatalog.mjs +1 -1
- package/dist/generated/prisma/client.d.mts +1 -1
- package/dist/generated/prisma/client.mjs.map +1 -1
- package/dist/generated/prisma/commonInputTypes.d.mts +33 -3
- package/dist/generated/prisma/commonInputTypes.d.mts.map +1 -1
- package/dist/generated/prisma/enums.d.mts +6 -1
- package/dist/generated/prisma/enums.d.mts.map +1 -1
- package/dist/generated/prisma/internal/class.d.mts +84 -0
- package/dist/generated/prisma/internal/class.d.mts.map +1 -1
- package/dist/generated/prisma/internal/class.mjs +4 -4
- package/dist/generated/prisma/internal/class.mjs.map +1 -1
- package/dist/generated/prisma/internal/prismaNamespace.d.mts +617 -4
- package/dist/generated/prisma/internal/prismaNamespace.d.mts.map +1 -1
- package/dist/generated/prisma/models/DbCommunityTool.d.mts +2852 -0
- package/dist/generated/prisma/models/DbCommunityTool.d.mts.map +1 -0
- package/dist/generated/prisma/models/DbCommunityToolLike.d.mts +1102 -0
- package/dist/generated/prisma/models/DbCommunityToolLike.d.mts.map +1 -0
- package/dist/generated/prisma/models/DbCommunityToolNamedOwner.d.mts +1034 -0
- package/dist/generated/prisma/models/DbCommunityToolNamedOwner.d.mts.map +1 -0
- package/dist/generated/prisma/models/DbCommunityToolOwner.d.mts +1034 -0
- package/dist/generated/prisma/models/DbCommunityToolOwner.d.mts.map +1 -0
- package/dist/generated/prisma/models/DbCommunityToolPin.d.mts +1110 -0
- package/dist/generated/prisma/models/DbCommunityToolPin.d.mts.map +1 -0
- package/dist/generated/prisma/models/DbCommunityToolTag.d.mts +1073 -0
- package/dist/generated/prisma/models/DbCommunityToolTag.d.mts.map +1 -0
- package/dist/generated/prisma/models/DbCommunityToolView.d.mts +1149 -0
- package/dist/generated/prisma/models/DbCommunityToolView.d.mts.map +1 -0
- package/dist/generated/prisma/models/DbFeedback.d.mts +361 -2
- package/dist/generated/prisma/models/DbFeedback.d.mts.map +1 -1
- package/dist/generated/prisma/models.d.mts +9 -2
- package/dist/index.d.mts +5 -2
- package/dist/index.mjs +3 -1
- package/dist/middleware/createAcMiddleware.d.mts.map +1 -1
- package/dist/middleware/createAcMiddleware.mjs +15 -1
- package/dist/middleware/createAcMiddleware.mjs.map +1 -1
- package/dist/middleware/database.d.mts +1 -1
- package/dist/middleware/types.d.mts +20 -1
- package/dist/middleware/types.d.mts.map +1 -1
- package/dist/modules/communityTools/capture.d.mts +27 -0
- package/dist/modules/communityTools/capture.d.mts.map +1 -0
- package/dist/modules/communityTools/capture.mjs +192 -0
- package/dist/modules/communityTools/capture.mjs.map +1 -0
- package/dist/modules/communityTools/healthJob.mjs +132 -0
- package/dist/modules/communityTools/healthJob.mjs.map +1 -0
- package/dist/modules/communityTools/router.d.mts +150 -0
- package/dist/modules/communityTools/router.d.mts.map +1 -0
- package/dist/modules/communityTools/router.mjs +91 -0
- package/dist/modules/communityTools/router.mjs.map +1 -0
- package/dist/modules/communityTools/service.mjs +252 -0
- package/dist/modules/communityTools/service.mjs.map +1 -0
- package/dist/modules/communityTools/toView.mjs +81 -0
- package/dist/modules/communityTools/toView.mjs.map +1 -0
- package/dist/modules/communityTools/writeService.d.mts +55 -0
- package/dist/modules/communityTools/writeService.d.mts.map +1 -0
- package/dist/modules/communityTools/writeService.mjs +280 -0
- package/dist/modules/communityTools/writeService.mjs.map +1 -0
- package/dist/modules/feedback/feedbackRouter.d.mts +3 -0
- package/dist/modules/feedback/feedbackRouter.mjs +6 -2
- package/dist/modules/feedback/feedbackRouter.mjs.map +1 -1
- package/dist/modules/feedback/service.d.mts +3 -0
- package/dist/modules/feedback/service.d.mts.map +1 -1
- package/dist/modules/feedback/service.mjs +50 -17
- package/dist/modules/feedback/service.mjs.map +1 -1
- package/dist/server/controller.d.mts +143 -0
- package/dist/server/controller.d.mts.map +1 -1
- package/dist/server/controller.mjs +2 -0
- package/dist/server/controller.mjs.map +1 -1
- package/dist/server/trpcSetup.mjs +1 -1
- package/package.json +12 -5
- package/prisma/schema.prisma +161 -0
- package/src/__tests__/communityTools.test.ts +781 -0
- package/src/__tests__/communityToolsCapture.test.ts +319 -0
- package/src/__tests__/communityToolsHealth.test.ts +154 -0
- package/src/__tests__/communityToolsRouter.test.ts +58 -0
- package/src/__tests__/communityToolsWrite.test.ts +561 -0
- package/src/__tests__/feedbackService.test.ts +160 -0
- package/src/generated/prisma/browser.ts +35 -0
- package/src/generated/prisma/client.ts +35 -0
- package/src/generated/prisma/commonInputTypes.ts +34 -0
- package/src/generated/prisma/enums.ts +8 -0
- package/src/generated/prisma/internal/class.ts +74 -4
- package/src/generated/prisma/internal/prismaNamespace.ts +635 -2
- package/src/generated/prisma/internal/prismaNamespaceBrowser.ts +95 -1
- package/src/generated/prisma/models/DbCommunityTool.ts +3135 -0
- package/src/generated/prisma/models/DbCommunityToolLike.ts +1313 -0
- package/src/generated/prisma/models/DbCommunityToolNamedOwner.ts +1243 -0
- package/src/generated/prisma/models/DbCommunityToolOwner.ts +1243 -0
- package/src/generated/prisma/models/DbCommunityToolPin.ts +1325 -0
- package/src/generated/prisma/models/DbCommunityToolTag.ts +1283 -0
- package/src/generated/prisma/models/DbCommunityToolView.ts +1361 -0
- package/src/generated/prisma/models/DbFeedback.ts +379 -1
- package/src/generated/prisma/models.ts +7 -0
- package/src/index.ts +16 -0
- package/src/middleware/createAcMiddleware.ts +20 -0
- package/src/middleware/types.ts +21 -0
- package/src/modules/communityTools/capture.ts +332 -0
- package/src/modules/communityTools/healthJob.ts +191 -0
- package/src/modules/communityTools/router.ts +172 -0
- package/src/modules/communityTools/service.ts +380 -0
- package/src/modules/communityTools/toView.ts +112 -0
- package/src/modules/communityTools/writeService.ts +408 -0
- package/src/modules/feedback/feedbackRouter.ts +20 -6
- package/src/modules/feedback/service.ts +68 -12
- package/src/server/controller.ts +8 -1
|
@@ -3,6 +3,7 @@ import { NullableDateTimeFieldUpdateOperationsInput } from "./account.mjs";
|
|
|
3
3
|
import { CommentStatus } from "../enums.mjs";
|
|
4
4
|
import { $DbResourcePayload, DbResourceCreateNestedOneWithoutFeedbackInput, DbResourceInclude, DbResourceNullableScalarRelationFilter, DbResourceOmit, DbResourceOrderByWithRelationInput, DbResourceSelect, DbResourceUpdateOneWithoutFeedbackNestedInput, DbResourceWhereInput, Prisma__DbResourceClient } from "./DbResource.mjs";
|
|
5
5
|
import { $DbFeedbackAttachmentPayload, DbFeedbackAttachmentCreateNestedManyWithoutFeedbackInput, DbFeedbackAttachmentInclude, DbFeedbackAttachmentListRelationFilter, DbFeedbackAttachmentOmit, DbFeedbackAttachmentOrderByRelationAggregateInput, DbFeedbackAttachmentOrderByWithRelationInput, DbFeedbackAttachmentSelect, DbFeedbackAttachmentUncheckedCreateNestedManyWithoutFeedbackInput, DbFeedbackAttachmentUncheckedUpdateManyWithoutFeedbackNestedInput, DbFeedbackAttachmentUpdateManyWithoutFeedbackNestedInput, DbFeedbackAttachmentWhereInput, DbFeedbackAttachmentWhereUniqueInput } from "./DbFeedbackAttachment.mjs";
|
|
6
|
+
import { $DbCommunityToolPayload, DbCommunityToolCreateNestedOneWithoutFeedbackInput, DbCommunityToolInclude, DbCommunityToolNullableScalarRelationFilter, DbCommunityToolOmit, DbCommunityToolOrderByWithRelationInput, DbCommunityToolSelect, DbCommunityToolUpdateOneWithoutFeedbackNestedInput, DbCommunityToolWhereInput, Prisma__DbCommunityToolClient } from "./DbCommunityTool.mjs";
|
|
6
7
|
import { DateTimeFilter, DateTimeNullableFilter, DateTimeNullableWithAggregatesFilter, DateTimeWithAggregatesFilter, EnumCommentStatusNullableFilter, EnumCommentStatusNullableWithAggregatesFilter, SortOrderInput, StringFilter, StringNullableFilter, StringNullableWithAggregatesFilter, StringWithAggregatesFilter } from "../commonInputTypes.mjs";
|
|
7
8
|
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
9
|
import * as runtime from "@prisma/client/runtime/client";
|
|
@@ -16,10 +17,14 @@ type AggregateDbFeedback = {
|
|
|
16
17
|
type DbFeedbackMinAggregateOutputType = {
|
|
17
18
|
id: string | null;
|
|
18
19
|
resourceId: string | null;
|
|
20
|
+
communityToolId: string | null;
|
|
19
21
|
subject: string | null;
|
|
20
22
|
authorHash: string | null;
|
|
21
23
|
authorAlias: string | null;
|
|
24
|
+
authorUserId: string | null;
|
|
25
|
+
authorName: string | null;
|
|
22
26
|
body: string | null;
|
|
27
|
+
kind: string | null;
|
|
23
28
|
editedAt: Date | null;
|
|
24
29
|
status: CommentStatus | null;
|
|
25
30
|
reviewerReply: string | null;
|
|
@@ -30,10 +35,14 @@ type DbFeedbackMinAggregateOutputType = {
|
|
|
30
35
|
type DbFeedbackMaxAggregateOutputType = {
|
|
31
36
|
id: string | null;
|
|
32
37
|
resourceId: string | null;
|
|
38
|
+
communityToolId: string | null;
|
|
33
39
|
subject: string | null;
|
|
34
40
|
authorHash: string | null;
|
|
35
41
|
authorAlias: string | null;
|
|
42
|
+
authorUserId: string | null;
|
|
43
|
+
authorName: string | null;
|
|
36
44
|
body: string | null;
|
|
45
|
+
kind: string | null;
|
|
37
46
|
editedAt: Date | null;
|
|
38
47
|
status: CommentStatus | null;
|
|
39
48
|
reviewerReply: string | null;
|
|
@@ -44,10 +53,14 @@ type DbFeedbackMaxAggregateOutputType = {
|
|
|
44
53
|
type DbFeedbackCountAggregateOutputType = {
|
|
45
54
|
id: number;
|
|
46
55
|
resourceId: number;
|
|
56
|
+
communityToolId: number;
|
|
47
57
|
subject: number;
|
|
48
58
|
authorHash: number;
|
|
49
59
|
authorAlias: number;
|
|
60
|
+
authorUserId: number;
|
|
61
|
+
authorName: number;
|
|
50
62
|
body: number;
|
|
63
|
+
kind: number;
|
|
51
64
|
editedAt: number;
|
|
52
65
|
status: number;
|
|
53
66
|
reviewerReply: number;
|
|
@@ -59,10 +72,14 @@ type DbFeedbackCountAggregateOutputType = {
|
|
|
59
72
|
type DbFeedbackMinAggregateInputType = {
|
|
60
73
|
id?: true;
|
|
61
74
|
resourceId?: true;
|
|
75
|
+
communityToolId?: true;
|
|
62
76
|
subject?: true;
|
|
63
77
|
authorHash?: true;
|
|
64
78
|
authorAlias?: true;
|
|
79
|
+
authorUserId?: true;
|
|
80
|
+
authorName?: true;
|
|
65
81
|
body?: true;
|
|
82
|
+
kind?: true;
|
|
66
83
|
editedAt?: true;
|
|
67
84
|
status?: true;
|
|
68
85
|
reviewerReply?: true;
|
|
@@ -73,10 +90,14 @@ type DbFeedbackMinAggregateInputType = {
|
|
|
73
90
|
type DbFeedbackMaxAggregateInputType = {
|
|
74
91
|
id?: true;
|
|
75
92
|
resourceId?: true;
|
|
93
|
+
communityToolId?: true;
|
|
76
94
|
subject?: true;
|
|
77
95
|
authorHash?: true;
|
|
78
96
|
authorAlias?: true;
|
|
97
|
+
authorUserId?: true;
|
|
98
|
+
authorName?: true;
|
|
79
99
|
body?: true;
|
|
100
|
+
kind?: true;
|
|
80
101
|
editedAt?: true;
|
|
81
102
|
status?: true;
|
|
82
103
|
reviewerReply?: true;
|
|
@@ -87,10 +108,14 @@ type DbFeedbackMaxAggregateInputType = {
|
|
|
87
108
|
type DbFeedbackCountAggregateInputType = {
|
|
88
109
|
id?: true;
|
|
89
110
|
resourceId?: true;
|
|
111
|
+
communityToolId?: true;
|
|
90
112
|
subject?: true;
|
|
91
113
|
authorHash?: true;
|
|
92
114
|
authorAlias?: true;
|
|
115
|
+
authorUserId?: true;
|
|
116
|
+
authorName?: true;
|
|
93
117
|
body?: true;
|
|
118
|
+
kind?: true;
|
|
94
119
|
editedAt?: true;
|
|
95
120
|
status?: true;
|
|
96
121
|
reviewerReply?: true;
|
|
@@ -162,10 +187,14 @@ type DbFeedbackGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs
|
|
|
162
187
|
type DbFeedbackGroupByOutputType = {
|
|
163
188
|
id: string;
|
|
164
189
|
resourceId: string | null;
|
|
190
|
+
communityToolId: string | null;
|
|
165
191
|
subject: string | null;
|
|
166
192
|
authorHash: string;
|
|
167
193
|
authorAlias: string;
|
|
194
|
+
authorUserId: string | null;
|
|
195
|
+
authorName: string | null;
|
|
168
196
|
body: string | null;
|
|
197
|
+
kind: string | null;
|
|
169
198
|
editedAt: Date | null;
|
|
170
199
|
status: CommentStatus | null;
|
|
171
200
|
reviewerReply: string | null;
|
|
@@ -183,10 +212,14 @@ type DbFeedbackWhereInput = {
|
|
|
183
212
|
NOT?: DbFeedbackWhereInput | DbFeedbackWhereInput[];
|
|
184
213
|
id?: StringFilter<"DbFeedback"> | string;
|
|
185
214
|
resourceId?: StringNullableFilter<"DbFeedback"> | string | null;
|
|
215
|
+
communityToolId?: StringNullableFilter<"DbFeedback"> | string | null;
|
|
186
216
|
subject?: StringNullableFilter<"DbFeedback"> | string | null;
|
|
187
217
|
authorHash?: StringFilter<"DbFeedback"> | string;
|
|
188
218
|
authorAlias?: StringFilter<"DbFeedback"> | string;
|
|
219
|
+
authorUserId?: StringNullableFilter<"DbFeedback"> | string | null;
|
|
220
|
+
authorName?: StringNullableFilter<"DbFeedback"> | string | null;
|
|
189
221
|
body?: StringNullableFilter<"DbFeedback"> | string | null;
|
|
222
|
+
kind?: StringNullableFilter<"DbFeedback"> | string | null;
|
|
190
223
|
editedAt?: DateTimeNullableFilter<"DbFeedback"> | Date | string | null;
|
|
191
224
|
status?: EnumCommentStatusNullableFilter<"DbFeedback"> | CommentStatus | null;
|
|
192
225
|
reviewerReply?: StringNullableFilter<"DbFeedback"> | string | null;
|
|
@@ -194,15 +227,20 @@ type DbFeedbackWhereInput = {
|
|
|
194
227
|
createdAt?: DateTimeFilter<"DbFeedback"> | Date | string;
|
|
195
228
|
updatedAt?: DateTimeFilter<"DbFeedback"> | Date | string;
|
|
196
229
|
resource?: XOR<DbResourceNullableScalarRelationFilter, DbResourceWhereInput> | null;
|
|
230
|
+
communityTool?: XOR<DbCommunityToolNullableScalarRelationFilter, DbCommunityToolWhereInput> | null;
|
|
197
231
|
attachments?: DbFeedbackAttachmentListRelationFilter;
|
|
198
232
|
};
|
|
199
233
|
type DbFeedbackOrderByWithRelationInput = {
|
|
200
234
|
id?: SortOrder;
|
|
201
235
|
resourceId?: SortOrderInput | SortOrder;
|
|
236
|
+
communityToolId?: SortOrderInput | SortOrder;
|
|
202
237
|
subject?: SortOrderInput | SortOrder;
|
|
203
238
|
authorHash?: SortOrder;
|
|
204
239
|
authorAlias?: SortOrder;
|
|
240
|
+
authorUserId?: SortOrderInput | SortOrder;
|
|
241
|
+
authorName?: SortOrderInput | SortOrder;
|
|
205
242
|
body?: SortOrderInput | SortOrder;
|
|
243
|
+
kind?: SortOrderInput | SortOrder;
|
|
206
244
|
editedAt?: SortOrderInput | SortOrder;
|
|
207
245
|
status?: SortOrderInput | SortOrder;
|
|
208
246
|
reviewerReply?: SortOrderInput | SortOrder;
|
|
@@ -210,6 +248,7 @@ type DbFeedbackOrderByWithRelationInput = {
|
|
|
210
248
|
createdAt?: SortOrder;
|
|
211
249
|
updatedAt?: SortOrder;
|
|
212
250
|
resource?: DbResourceOrderByWithRelationInput;
|
|
251
|
+
communityTool?: DbCommunityToolOrderByWithRelationInput;
|
|
213
252
|
attachments?: DbFeedbackAttachmentOrderByRelationAggregateInput;
|
|
214
253
|
};
|
|
215
254
|
type DbFeedbackWhereUniqueInput = AtLeast<{
|
|
@@ -218,10 +257,14 @@ type DbFeedbackWhereUniqueInput = AtLeast<{
|
|
|
218
257
|
OR?: DbFeedbackWhereInput[];
|
|
219
258
|
NOT?: DbFeedbackWhereInput | DbFeedbackWhereInput[];
|
|
220
259
|
resourceId?: StringNullableFilter<"DbFeedback"> | string | null;
|
|
260
|
+
communityToolId?: StringNullableFilter<"DbFeedback"> | string | null;
|
|
221
261
|
subject?: StringNullableFilter<"DbFeedback"> | string | null;
|
|
222
262
|
authorHash?: StringFilter<"DbFeedback"> | string;
|
|
223
263
|
authorAlias?: StringFilter<"DbFeedback"> | string;
|
|
264
|
+
authorUserId?: StringNullableFilter<"DbFeedback"> | string | null;
|
|
265
|
+
authorName?: StringNullableFilter<"DbFeedback"> | string | null;
|
|
224
266
|
body?: StringNullableFilter<"DbFeedback"> | string | null;
|
|
267
|
+
kind?: StringNullableFilter<"DbFeedback"> | string | null;
|
|
225
268
|
editedAt?: DateTimeNullableFilter<"DbFeedback"> | Date | string | null;
|
|
226
269
|
status?: EnumCommentStatusNullableFilter<"DbFeedback"> | CommentStatus | null;
|
|
227
270
|
reviewerReply?: StringNullableFilter<"DbFeedback"> | string | null;
|
|
@@ -229,15 +272,20 @@ type DbFeedbackWhereUniqueInput = AtLeast<{
|
|
|
229
272
|
createdAt?: DateTimeFilter<"DbFeedback"> | Date | string;
|
|
230
273
|
updatedAt?: DateTimeFilter<"DbFeedback"> | Date | string;
|
|
231
274
|
resource?: XOR<DbResourceNullableScalarRelationFilter, DbResourceWhereInput> | null;
|
|
275
|
+
communityTool?: XOR<DbCommunityToolNullableScalarRelationFilter, DbCommunityToolWhereInput> | null;
|
|
232
276
|
attachments?: DbFeedbackAttachmentListRelationFilter;
|
|
233
277
|
}, "id">;
|
|
234
278
|
type DbFeedbackOrderByWithAggregationInput = {
|
|
235
279
|
id?: SortOrder;
|
|
236
280
|
resourceId?: SortOrderInput | SortOrder;
|
|
281
|
+
communityToolId?: SortOrderInput | SortOrder;
|
|
237
282
|
subject?: SortOrderInput | SortOrder;
|
|
238
283
|
authorHash?: SortOrder;
|
|
239
284
|
authorAlias?: SortOrder;
|
|
285
|
+
authorUserId?: SortOrderInput | SortOrder;
|
|
286
|
+
authorName?: SortOrderInput | SortOrder;
|
|
240
287
|
body?: SortOrderInput | SortOrder;
|
|
288
|
+
kind?: SortOrderInput | SortOrder;
|
|
241
289
|
editedAt?: SortOrderInput | SortOrder;
|
|
242
290
|
status?: SortOrderInput | SortOrder;
|
|
243
291
|
reviewerReply?: SortOrderInput | SortOrder;
|
|
@@ -254,10 +302,14 @@ type DbFeedbackScalarWhereWithAggregatesInput = {
|
|
|
254
302
|
NOT?: DbFeedbackScalarWhereWithAggregatesInput | DbFeedbackScalarWhereWithAggregatesInput[];
|
|
255
303
|
id?: StringWithAggregatesFilter<"DbFeedback"> | string;
|
|
256
304
|
resourceId?: StringNullableWithAggregatesFilter<"DbFeedback"> | string | null;
|
|
305
|
+
communityToolId?: StringNullableWithAggregatesFilter<"DbFeedback"> | string | null;
|
|
257
306
|
subject?: StringNullableWithAggregatesFilter<"DbFeedback"> | string | null;
|
|
258
307
|
authorHash?: StringWithAggregatesFilter<"DbFeedback"> | string;
|
|
259
308
|
authorAlias?: StringWithAggregatesFilter<"DbFeedback"> | string;
|
|
309
|
+
authorUserId?: StringNullableWithAggregatesFilter<"DbFeedback"> | string | null;
|
|
310
|
+
authorName?: StringNullableWithAggregatesFilter<"DbFeedback"> | string | null;
|
|
260
311
|
body?: StringNullableWithAggregatesFilter<"DbFeedback"> | string | null;
|
|
312
|
+
kind?: StringNullableWithAggregatesFilter<"DbFeedback"> | string | null;
|
|
261
313
|
editedAt?: DateTimeNullableWithAggregatesFilter<"DbFeedback"> | Date | string | null;
|
|
262
314
|
status?: EnumCommentStatusNullableWithAggregatesFilter<"DbFeedback"> | CommentStatus | null;
|
|
263
315
|
reviewerReply?: StringNullableWithAggregatesFilter<"DbFeedback"> | string | null;
|
|
@@ -270,7 +322,10 @@ type DbFeedbackCreateInput = {
|
|
|
270
322
|
subject?: string | null;
|
|
271
323
|
authorHash: string;
|
|
272
324
|
authorAlias: string;
|
|
325
|
+
authorUserId?: string | null;
|
|
326
|
+
authorName?: string | null;
|
|
273
327
|
body?: string | null;
|
|
328
|
+
kind?: string | null;
|
|
274
329
|
editedAt?: Date | string | null;
|
|
275
330
|
status?: CommentStatus | null;
|
|
276
331
|
reviewerReply?: string | null;
|
|
@@ -278,15 +333,20 @@ type DbFeedbackCreateInput = {
|
|
|
278
333
|
createdAt?: Date | string;
|
|
279
334
|
updatedAt?: Date | string;
|
|
280
335
|
resource?: DbResourceCreateNestedOneWithoutFeedbackInput;
|
|
336
|
+
communityTool?: DbCommunityToolCreateNestedOneWithoutFeedbackInput;
|
|
281
337
|
attachments?: DbFeedbackAttachmentCreateNestedManyWithoutFeedbackInput;
|
|
282
338
|
};
|
|
283
339
|
type DbFeedbackUncheckedCreateInput = {
|
|
284
340
|
id?: string;
|
|
285
341
|
resourceId?: string | null;
|
|
342
|
+
communityToolId?: string | null;
|
|
286
343
|
subject?: string | null;
|
|
287
344
|
authorHash: string;
|
|
288
345
|
authorAlias: string;
|
|
346
|
+
authorUserId?: string | null;
|
|
347
|
+
authorName?: string | null;
|
|
289
348
|
body?: string | null;
|
|
349
|
+
kind?: string | null;
|
|
290
350
|
editedAt?: Date | string | null;
|
|
291
351
|
status?: CommentStatus | null;
|
|
292
352
|
reviewerReply?: string | null;
|
|
@@ -300,7 +360,10 @@ type DbFeedbackUpdateInput = {
|
|
|
300
360
|
subject?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
301
361
|
authorHash?: StringFieldUpdateOperationsInput | string;
|
|
302
362
|
authorAlias?: StringFieldUpdateOperationsInput | string;
|
|
363
|
+
authorUserId?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
364
|
+
authorName?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
303
365
|
body?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
366
|
+
kind?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
304
367
|
editedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
305
368
|
status?: NullableEnumCommentStatusFieldUpdateOperationsInput | CommentStatus | null;
|
|
306
369
|
reviewerReply?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -308,15 +371,20 @@ type DbFeedbackUpdateInput = {
|
|
|
308
371
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
|
|
309
372
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
|
|
310
373
|
resource?: DbResourceUpdateOneWithoutFeedbackNestedInput;
|
|
374
|
+
communityTool?: DbCommunityToolUpdateOneWithoutFeedbackNestedInput;
|
|
311
375
|
attachments?: DbFeedbackAttachmentUpdateManyWithoutFeedbackNestedInput;
|
|
312
376
|
};
|
|
313
377
|
type DbFeedbackUncheckedUpdateInput = {
|
|
314
378
|
id?: StringFieldUpdateOperationsInput | string;
|
|
315
379
|
resourceId?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
380
|
+
communityToolId?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
316
381
|
subject?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
317
382
|
authorHash?: StringFieldUpdateOperationsInput | string;
|
|
318
383
|
authorAlias?: StringFieldUpdateOperationsInput | string;
|
|
384
|
+
authorUserId?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
385
|
+
authorName?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
319
386
|
body?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
387
|
+
kind?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
320
388
|
editedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
321
389
|
status?: NullableEnumCommentStatusFieldUpdateOperationsInput | CommentStatus | null;
|
|
322
390
|
reviewerReply?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -328,10 +396,14 @@ type DbFeedbackUncheckedUpdateInput = {
|
|
|
328
396
|
type DbFeedbackCreateManyInput = {
|
|
329
397
|
id?: string;
|
|
330
398
|
resourceId?: string | null;
|
|
399
|
+
communityToolId?: string | null;
|
|
331
400
|
subject?: string | null;
|
|
332
401
|
authorHash: string;
|
|
333
402
|
authorAlias: string;
|
|
403
|
+
authorUserId?: string | null;
|
|
404
|
+
authorName?: string | null;
|
|
334
405
|
body?: string | null;
|
|
406
|
+
kind?: string | null;
|
|
335
407
|
editedAt?: Date | string | null;
|
|
336
408
|
status?: CommentStatus | null;
|
|
337
409
|
reviewerReply?: string | null;
|
|
@@ -344,7 +416,10 @@ type DbFeedbackUpdateManyMutationInput = {
|
|
|
344
416
|
subject?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
345
417
|
authorHash?: StringFieldUpdateOperationsInput | string;
|
|
346
418
|
authorAlias?: StringFieldUpdateOperationsInput | string;
|
|
419
|
+
authorUserId?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
420
|
+
authorName?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
347
421
|
body?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
422
|
+
kind?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
348
423
|
editedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
349
424
|
status?: NullableEnumCommentStatusFieldUpdateOperationsInput | CommentStatus | null;
|
|
350
425
|
reviewerReply?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -355,10 +430,14 @@ type DbFeedbackUpdateManyMutationInput = {
|
|
|
355
430
|
type DbFeedbackUncheckedUpdateManyInput = {
|
|
356
431
|
id?: StringFieldUpdateOperationsInput | string;
|
|
357
432
|
resourceId?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
433
|
+
communityToolId?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
358
434
|
subject?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
359
435
|
authorHash?: StringFieldUpdateOperationsInput | string;
|
|
360
436
|
authorAlias?: StringFieldUpdateOperationsInput | string;
|
|
437
|
+
authorUserId?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
438
|
+
authorName?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
361
439
|
body?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
440
|
+
kind?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
362
441
|
editedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
363
442
|
status?: NullableEnumCommentStatusFieldUpdateOperationsInput | CommentStatus | null;
|
|
364
443
|
reviewerReply?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -377,10 +456,14 @@ type DbFeedbackOrderByRelationAggregateInput = {
|
|
|
377
456
|
type DbFeedbackCountOrderByAggregateInput = {
|
|
378
457
|
id?: SortOrder;
|
|
379
458
|
resourceId?: SortOrder;
|
|
459
|
+
communityToolId?: SortOrder;
|
|
380
460
|
subject?: SortOrder;
|
|
381
461
|
authorHash?: SortOrder;
|
|
382
462
|
authorAlias?: SortOrder;
|
|
463
|
+
authorUserId?: SortOrder;
|
|
464
|
+
authorName?: SortOrder;
|
|
383
465
|
body?: SortOrder;
|
|
466
|
+
kind?: SortOrder;
|
|
384
467
|
editedAt?: SortOrder;
|
|
385
468
|
status?: SortOrder;
|
|
386
469
|
reviewerReply?: SortOrder;
|
|
@@ -391,10 +474,14 @@ type DbFeedbackCountOrderByAggregateInput = {
|
|
|
391
474
|
type DbFeedbackMaxOrderByAggregateInput = {
|
|
392
475
|
id?: SortOrder;
|
|
393
476
|
resourceId?: SortOrder;
|
|
477
|
+
communityToolId?: SortOrder;
|
|
394
478
|
subject?: SortOrder;
|
|
395
479
|
authorHash?: SortOrder;
|
|
396
480
|
authorAlias?: SortOrder;
|
|
481
|
+
authorUserId?: SortOrder;
|
|
482
|
+
authorName?: SortOrder;
|
|
397
483
|
body?: SortOrder;
|
|
484
|
+
kind?: SortOrder;
|
|
398
485
|
editedAt?: SortOrder;
|
|
399
486
|
status?: SortOrder;
|
|
400
487
|
reviewerReply?: SortOrder;
|
|
@@ -405,10 +492,14 @@ type DbFeedbackMaxOrderByAggregateInput = {
|
|
|
405
492
|
type DbFeedbackMinOrderByAggregateInput = {
|
|
406
493
|
id?: SortOrder;
|
|
407
494
|
resourceId?: SortOrder;
|
|
495
|
+
communityToolId?: SortOrder;
|
|
408
496
|
subject?: SortOrder;
|
|
409
497
|
authorHash?: SortOrder;
|
|
410
498
|
authorAlias?: SortOrder;
|
|
499
|
+
authorUserId?: SortOrder;
|
|
500
|
+
authorName?: SortOrder;
|
|
411
501
|
body?: SortOrder;
|
|
502
|
+
kind?: SortOrder;
|
|
412
503
|
editedAt?: SortOrder;
|
|
413
504
|
status?: SortOrder;
|
|
414
505
|
reviewerReply?: SortOrder;
|
|
@@ -475,26 +566,72 @@ type DbFeedbackUpdateOneWithoutAttachmentsNestedInput = {
|
|
|
475
566
|
connect?: DbFeedbackWhereUniqueInput;
|
|
476
567
|
update?: XOR<XOR<DbFeedbackUpdateToOneWithWhereWithoutAttachmentsInput, DbFeedbackUpdateWithoutAttachmentsInput>, DbFeedbackUncheckedUpdateWithoutAttachmentsInput>;
|
|
477
568
|
};
|
|
569
|
+
type DbFeedbackCreateNestedManyWithoutCommunityToolInput = {
|
|
570
|
+
create?: XOR<DbFeedbackCreateWithoutCommunityToolInput, DbFeedbackUncheckedCreateWithoutCommunityToolInput> | DbFeedbackCreateWithoutCommunityToolInput[] | DbFeedbackUncheckedCreateWithoutCommunityToolInput[];
|
|
571
|
+
connectOrCreate?: DbFeedbackCreateOrConnectWithoutCommunityToolInput | DbFeedbackCreateOrConnectWithoutCommunityToolInput[];
|
|
572
|
+
createMany?: DbFeedbackCreateManyCommunityToolInputEnvelope;
|
|
573
|
+
connect?: DbFeedbackWhereUniqueInput | DbFeedbackWhereUniqueInput[];
|
|
574
|
+
};
|
|
575
|
+
type DbFeedbackUncheckedCreateNestedManyWithoutCommunityToolInput = {
|
|
576
|
+
create?: XOR<DbFeedbackCreateWithoutCommunityToolInput, DbFeedbackUncheckedCreateWithoutCommunityToolInput> | DbFeedbackCreateWithoutCommunityToolInput[] | DbFeedbackUncheckedCreateWithoutCommunityToolInput[];
|
|
577
|
+
connectOrCreate?: DbFeedbackCreateOrConnectWithoutCommunityToolInput | DbFeedbackCreateOrConnectWithoutCommunityToolInput[];
|
|
578
|
+
createMany?: DbFeedbackCreateManyCommunityToolInputEnvelope;
|
|
579
|
+
connect?: DbFeedbackWhereUniqueInput | DbFeedbackWhereUniqueInput[];
|
|
580
|
+
};
|
|
581
|
+
type DbFeedbackUpdateManyWithoutCommunityToolNestedInput = {
|
|
582
|
+
create?: XOR<DbFeedbackCreateWithoutCommunityToolInput, DbFeedbackUncheckedCreateWithoutCommunityToolInput> | DbFeedbackCreateWithoutCommunityToolInput[] | DbFeedbackUncheckedCreateWithoutCommunityToolInput[];
|
|
583
|
+
connectOrCreate?: DbFeedbackCreateOrConnectWithoutCommunityToolInput | DbFeedbackCreateOrConnectWithoutCommunityToolInput[];
|
|
584
|
+
upsert?: DbFeedbackUpsertWithWhereUniqueWithoutCommunityToolInput | DbFeedbackUpsertWithWhereUniqueWithoutCommunityToolInput[];
|
|
585
|
+
createMany?: DbFeedbackCreateManyCommunityToolInputEnvelope;
|
|
586
|
+
set?: DbFeedbackWhereUniqueInput | DbFeedbackWhereUniqueInput[];
|
|
587
|
+
disconnect?: DbFeedbackWhereUniqueInput | DbFeedbackWhereUniqueInput[];
|
|
588
|
+
delete?: DbFeedbackWhereUniqueInput | DbFeedbackWhereUniqueInput[];
|
|
589
|
+
connect?: DbFeedbackWhereUniqueInput | DbFeedbackWhereUniqueInput[];
|
|
590
|
+
update?: DbFeedbackUpdateWithWhereUniqueWithoutCommunityToolInput | DbFeedbackUpdateWithWhereUniqueWithoutCommunityToolInput[];
|
|
591
|
+
updateMany?: DbFeedbackUpdateManyWithWhereWithoutCommunityToolInput | DbFeedbackUpdateManyWithWhereWithoutCommunityToolInput[];
|
|
592
|
+
deleteMany?: DbFeedbackScalarWhereInput | DbFeedbackScalarWhereInput[];
|
|
593
|
+
};
|
|
594
|
+
type DbFeedbackUncheckedUpdateManyWithoutCommunityToolNestedInput = {
|
|
595
|
+
create?: XOR<DbFeedbackCreateWithoutCommunityToolInput, DbFeedbackUncheckedCreateWithoutCommunityToolInput> | DbFeedbackCreateWithoutCommunityToolInput[] | DbFeedbackUncheckedCreateWithoutCommunityToolInput[];
|
|
596
|
+
connectOrCreate?: DbFeedbackCreateOrConnectWithoutCommunityToolInput | DbFeedbackCreateOrConnectWithoutCommunityToolInput[];
|
|
597
|
+
upsert?: DbFeedbackUpsertWithWhereUniqueWithoutCommunityToolInput | DbFeedbackUpsertWithWhereUniqueWithoutCommunityToolInput[];
|
|
598
|
+
createMany?: DbFeedbackCreateManyCommunityToolInputEnvelope;
|
|
599
|
+
set?: DbFeedbackWhereUniqueInput | DbFeedbackWhereUniqueInput[];
|
|
600
|
+
disconnect?: DbFeedbackWhereUniqueInput | DbFeedbackWhereUniqueInput[];
|
|
601
|
+
delete?: DbFeedbackWhereUniqueInput | DbFeedbackWhereUniqueInput[];
|
|
602
|
+
connect?: DbFeedbackWhereUniqueInput | DbFeedbackWhereUniqueInput[];
|
|
603
|
+
update?: DbFeedbackUpdateWithWhereUniqueWithoutCommunityToolInput | DbFeedbackUpdateWithWhereUniqueWithoutCommunityToolInput[];
|
|
604
|
+
updateMany?: DbFeedbackUpdateManyWithWhereWithoutCommunityToolInput | DbFeedbackUpdateManyWithWhereWithoutCommunityToolInput[];
|
|
605
|
+
deleteMany?: DbFeedbackScalarWhereInput | DbFeedbackScalarWhereInput[];
|
|
606
|
+
};
|
|
478
607
|
type DbFeedbackCreateWithoutResourceInput = {
|
|
479
608
|
id?: string;
|
|
480
609
|
subject?: string | null;
|
|
481
610
|
authorHash: string;
|
|
482
611
|
authorAlias: string;
|
|
612
|
+
authorUserId?: string | null;
|
|
613
|
+
authorName?: string | null;
|
|
483
614
|
body?: string | null;
|
|
615
|
+
kind?: string | null;
|
|
484
616
|
editedAt?: Date | string | null;
|
|
485
617
|
status?: CommentStatus | null;
|
|
486
618
|
reviewerReply?: string | null;
|
|
487
619
|
reviewedAt?: Date | string | null;
|
|
488
620
|
createdAt?: Date | string;
|
|
489
621
|
updatedAt?: Date | string;
|
|
622
|
+
communityTool?: DbCommunityToolCreateNestedOneWithoutFeedbackInput;
|
|
490
623
|
attachments?: DbFeedbackAttachmentCreateNestedManyWithoutFeedbackInput;
|
|
491
624
|
};
|
|
492
625
|
type DbFeedbackUncheckedCreateWithoutResourceInput = {
|
|
493
626
|
id?: string;
|
|
627
|
+
communityToolId?: string | null;
|
|
494
628
|
subject?: string | null;
|
|
495
629
|
authorHash: string;
|
|
496
630
|
authorAlias: string;
|
|
631
|
+
authorUserId?: string | null;
|
|
632
|
+
authorName?: string | null;
|
|
497
633
|
body?: string | null;
|
|
634
|
+
kind?: string | null;
|
|
498
635
|
editedAt?: Date | string | null;
|
|
499
636
|
status?: CommentStatus | null;
|
|
500
637
|
reviewerReply?: string | null;
|
|
@@ -530,10 +667,14 @@ type DbFeedbackScalarWhereInput = {
|
|
|
530
667
|
NOT?: DbFeedbackScalarWhereInput | DbFeedbackScalarWhereInput[];
|
|
531
668
|
id?: StringFilter<"DbFeedback"> | string;
|
|
532
669
|
resourceId?: StringNullableFilter<"DbFeedback"> | string | null;
|
|
670
|
+
communityToolId?: StringNullableFilter<"DbFeedback"> | string | null;
|
|
533
671
|
subject?: StringNullableFilter<"DbFeedback"> | string | null;
|
|
534
672
|
authorHash?: StringFilter<"DbFeedback"> | string;
|
|
535
673
|
authorAlias?: StringFilter<"DbFeedback"> | string;
|
|
674
|
+
authorUserId?: StringNullableFilter<"DbFeedback"> | string | null;
|
|
675
|
+
authorName?: StringNullableFilter<"DbFeedback"> | string | null;
|
|
536
676
|
body?: StringNullableFilter<"DbFeedback"> | string | null;
|
|
677
|
+
kind?: StringNullableFilter<"DbFeedback"> | string | null;
|
|
537
678
|
editedAt?: DateTimeNullableFilter<"DbFeedback"> | Date | string | null;
|
|
538
679
|
status?: EnumCommentStatusNullableFilter<"DbFeedback"> | CommentStatus | null;
|
|
539
680
|
reviewerReply?: StringNullableFilter<"DbFeedback"> | string | null;
|
|
@@ -546,7 +687,10 @@ type DbFeedbackCreateWithoutAttachmentsInput = {
|
|
|
546
687
|
subject?: string | null;
|
|
547
688
|
authorHash: string;
|
|
548
689
|
authorAlias: string;
|
|
690
|
+
authorUserId?: string | null;
|
|
691
|
+
authorName?: string | null;
|
|
549
692
|
body?: string | null;
|
|
693
|
+
kind?: string | null;
|
|
550
694
|
editedAt?: Date | string | null;
|
|
551
695
|
status?: CommentStatus | null;
|
|
552
696
|
reviewerReply?: string | null;
|
|
@@ -554,14 +698,19 @@ type DbFeedbackCreateWithoutAttachmentsInput = {
|
|
|
554
698
|
createdAt?: Date | string;
|
|
555
699
|
updatedAt?: Date | string;
|
|
556
700
|
resource?: DbResourceCreateNestedOneWithoutFeedbackInput;
|
|
701
|
+
communityTool?: DbCommunityToolCreateNestedOneWithoutFeedbackInput;
|
|
557
702
|
};
|
|
558
703
|
type DbFeedbackUncheckedCreateWithoutAttachmentsInput = {
|
|
559
704
|
id?: string;
|
|
560
705
|
resourceId?: string | null;
|
|
706
|
+
communityToolId?: string | null;
|
|
561
707
|
subject?: string | null;
|
|
562
708
|
authorHash: string;
|
|
563
709
|
authorAlias: string;
|
|
710
|
+
authorUserId?: string | null;
|
|
711
|
+
authorName?: string | null;
|
|
564
712
|
body?: string | null;
|
|
713
|
+
kind?: string | null;
|
|
565
714
|
editedAt?: Date | string | null;
|
|
566
715
|
status?: CommentStatus | null;
|
|
567
716
|
reviewerReply?: string | null;
|
|
@@ -587,7 +736,10 @@ type DbFeedbackUpdateWithoutAttachmentsInput = {
|
|
|
587
736
|
subject?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
588
737
|
authorHash?: StringFieldUpdateOperationsInput | string;
|
|
589
738
|
authorAlias?: StringFieldUpdateOperationsInput | string;
|
|
739
|
+
authorUserId?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
740
|
+
authorName?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
590
741
|
body?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
742
|
+
kind?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
591
743
|
editedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
592
744
|
status?: NullableEnumCommentStatusFieldUpdateOperationsInput | CommentStatus | null;
|
|
593
745
|
reviewerReply?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -595,14 +747,19 @@ type DbFeedbackUpdateWithoutAttachmentsInput = {
|
|
|
595
747
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
|
|
596
748
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
|
|
597
749
|
resource?: DbResourceUpdateOneWithoutFeedbackNestedInput;
|
|
750
|
+
communityTool?: DbCommunityToolUpdateOneWithoutFeedbackNestedInput;
|
|
598
751
|
};
|
|
599
752
|
type DbFeedbackUncheckedUpdateWithoutAttachmentsInput = {
|
|
600
753
|
id?: StringFieldUpdateOperationsInput | string;
|
|
601
754
|
resourceId?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
755
|
+
communityToolId?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
602
756
|
subject?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
603
757
|
authorHash?: StringFieldUpdateOperationsInput | string;
|
|
604
758
|
authorAlias?: StringFieldUpdateOperationsInput | string;
|
|
759
|
+
authorUserId?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
760
|
+
authorName?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
605
761
|
body?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
762
|
+
kind?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
606
763
|
editedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
607
764
|
status?: NullableEnumCommentStatusFieldUpdateOperationsInput | CommentStatus | null;
|
|
608
765
|
reviewerReply?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -610,12 +767,73 @@ type DbFeedbackUncheckedUpdateWithoutAttachmentsInput = {
|
|
|
610
767
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
|
|
611
768
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
|
|
612
769
|
};
|
|
770
|
+
type DbFeedbackCreateWithoutCommunityToolInput = {
|
|
771
|
+
id?: string;
|
|
772
|
+
subject?: string | null;
|
|
773
|
+
authorHash: string;
|
|
774
|
+
authorAlias: string;
|
|
775
|
+
authorUserId?: string | null;
|
|
776
|
+
authorName?: string | null;
|
|
777
|
+
body?: string | null;
|
|
778
|
+
kind?: string | null;
|
|
779
|
+
editedAt?: Date | string | null;
|
|
780
|
+
status?: CommentStatus | null;
|
|
781
|
+
reviewerReply?: string | null;
|
|
782
|
+
reviewedAt?: Date | string | null;
|
|
783
|
+
createdAt?: Date | string;
|
|
784
|
+
updatedAt?: Date | string;
|
|
785
|
+
resource?: DbResourceCreateNestedOneWithoutFeedbackInput;
|
|
786
|
+
attachments?: DbFeedbackAttachmentCreateNestedManyWithoutFeedbackInput;
|
|
787
|
+
};
|
|
788
|
+
type DbFeedbackUncheckedCreateWithoutCommunityToolInput = {
|
|
789
|
+
id?: string;
|
|
790
|
+
resourceId?: string | null;
|
|
791
|
+
subject?: string | null;
|
|
792
|
+
authorHash: string;
|
|
793
|
+
authorAlias: string;
|
|
794
|
+
authorUserId?: string | null;
|
|
795
|
+
authorName?: string | null;
|
|
796
|
+
body?: string | null;
|
|
797
|
+
kind?: string | null;
|
|
798
|
+
editedAt?: Date | string | null;
|
|
799
|
+
status?: CommentStatus | null;
|
|
800
|
+
reviewerReply?: string | null;
|
|
801
|
+
reviewedAt?: Date | string | null;
|
|
802
|
+
createdAt?: Date | string;
|
|
803
|
+
updatedAt?: Date | string;
|
|
804
|
+
attachments?: DbFeedbackAttachmentUncheckedCreateNestedManyWithoutFeedbackInput;
|
|
805
|
+
};
|
|
806
|
+
type DbFeedbackCreateOrConnectWithoutCommunityToolInput = {
|
|
807
|
+
where: DbFeedbackWhereUniqueInput;
|
|
808
|
+
create: XOR<DbFeedbackCreateWithoutCommunityToolInput, DbFeedbackUncheckedCreateWithoutCommunityToolInput>;
|
|
809
|
+
};
|
|
810
|
+
type DbFeedbackCreateManyCommunityToolInputEnvelope = {
|
|
811
|
+
data: DbFeedbackCreateManyCommunityToolInput | DbFeedbackCreateManyCommunityToolInput[];
|
|
812
|
+
skipDuplicates?: boolean;
|
|
813
|
+
};
|
|
814
|
+
type DbFeedbackUpsertWithWhereUniqueWithoutCommunityToolInput = {
|
|
815
|
+
where: DbFeedbackWhereUniqueInput;
|
|
816
|
+
update: XOR<DbFeedbackUpdateWithoutCommunityToolInput, DbFeedbackUncheckedUpdateWithoutCommunityToolInput>;
|
|
817
|
+
create: XOR<DbFeedbackCreateWithoutCommunityToolInput, DbFeedbackUncheckedCreateWithoutCommunityToolInput>;
|
|
818
|
+
};
|
|
819
|
+
type DbFeedbackUpdateWithWhereUniqueWithoutCommunityToolInput = {
|
|
820
|
+
where: DbFeedbackWhereUniqueInput;
|
|
821
|
+
data: XOR<DbFeedbackUpdateWithoutCommunityToolInput, DbFeedbackUncheckedUpdateWithoutCommunityToolInput>;
|
|
822
|
+
};
|
|
823
|
+
type DbFeedbackUpdateManyWithWhereWithoutCommunityToolInput = {
|
|
824
|
+
where: DbFeedbackScalarWhereInput;
|
|
825
|
+
data: XOR<DbFeedbackUpdateManyMutationInput, DbFeedbackUncheckedUpdateManyWithoutCommunityToolInput>;
|
|
826
|
+
};
|
|
613
827
|
type DbFeedbackCreateManyResourceInput = {
|
|
614
828
|
id?: string;
|
|
829
|
+
communityToolId?: string | null;
|
|
615
830
|
subject?: string | null;
|
|
616
831
|
authorHash: string;
|
|
617
832
|
authorAlias: string;
|
|
833
|
+
authorUserId?: string | null;
|
|
834
|
+
authorName?: string | null;
|
|
618
835
|
body?: string | null;
|
|
836
|
+
kind?: string | null;
|
|
619
837
|
editedAt?: Date | string | null;
|
|
620
838
|
status?: CommentStatus | null;
|
|
621
839
|
reviewerReply?: string | null;
|
|
@@ -628,21 +846,29 @@ type DbFeedbackUpdateWithoutResourceInput = {
|
|
|
628
846
|
subject?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
629
847
|
authorHash?: StringFieldUpdateOperationsInput | string;
|
|
630
848
|
authorAlias?: StringFieldUpdateOperationsInput | string;
|
|
849
|
+
authorUserId?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
850
|
+
authorName?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
631
851
|
body?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
852
|
+
kind?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
632
853
|
editedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
633
854
|
status?: NullableEnumCommentStatusFieldUpdateOperationsInput | CommentStatus | null;
|
|
634
855
|
reviewerReply?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
635
856
|
reviewedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
636
857
|
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
|
|
637
858
|
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
|
|
859
|
+
communityTool?: DbCommunityToolUpdateOneWithoutFeedbackNestedInput;
|
|
638
860
|
attachments?: DbFeedbackAttachmentUpdateManyWithoutFeedbackNestedInput;
|
|
639
861
|
};
|
|
640
862
|
type DbFeedbackUncheckedUpdateWithoutResourceInput = {
|
|
641
863
|
id?: StringFieldUpdateOperationsInput | string;
|
|
864
|
+
communityToolId?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
642
865
|
subject?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
643
866
|
authorHash?: StringFieldUpdateOperationsInput | string;
|
|
644
867
|
authorAlias?: StringFieldUpdateOperationsInput | string;
|
|
868
|
+
authorUserId?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
869
|
+
authorName?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
645
870
|
body?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
871
|
+
kind?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
646
872
|
editedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
647
873
|
status?: NullableEnumCommentStatusFieldUpdateOperationsInput | CommentStatus | null;
|
|
648
874
|
reviewerReply?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -652,11 +878,85 @@ type DbFeedbackUncheckedUpdateWithoutResourceInput = {
|
|
|
652
878
|
attachments?: DbFeedbackAttachmentUncheckedUpdateManyWithoutFeedbackNestedInput;
|
|
653
879
|
};
|
|
654
880
|
type DbFeedbackUncheckedUpdateManyWithoutResourceInput = {
|
|
881
|
+
id?: StringFieldUpdateOperationsInput | string;
|
|
882
|
+
communityToolId?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
883
|
+
subject?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
884
|
+
authorHash?: StringFieldUpdateOperationsInput | string;
|
|
885
|
+
authorAlias?: StringFieldUpdateOperationsInput | string;
|
|
886
|
+
authorUserId?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
887
|
+
authorName?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
888
|
+
body?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
889
|
+
kind?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
890
|
+
editedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
891
|
+
status?: NullableEnumCommentStatusFieldUpdateOperationsInput | CommentStatus | null;
|
|
892
|
+
reviewerReply?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
893
|
+
reviewedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
894
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
|
|
895
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
|
|
896
|
+
};
|
|
897
|
+
type DbFeedbackCreateManyCommunityToolInput = {
|
|
898
|
+
id?: string;
|
|
899
|
+
resourceId?: string | null;
|
|
900
|
+
subject?: string | null;
|
|
901
|
+
authorHash: string;
|
|
902
|
+
authorAlias: string;
|
|
903
|
+
authorUserId?: string | null;
|
|
904
|
+
authorName?: string | null;
|
|
905
|
+
body?: string | null;
|
|
906
|
+
kind?: string | null;
|
|
907
|
+
editedAt?: Date | string | null;
|
|
908
|
+
status?: CommentStatus | null;
|
|
909
|
+
reviewerReply?: string | null;
|
|
910
|
+
reviewedAt?: Date | string | null;
|
|
911
|
+
createdAt?: Date | string;
|
|
912
|
+
updatedAt?: Date | string;
|
|
913
|
+
};
|
|
914
|
+
type DbFeedbackUpdateWithoutCommunityToolInput = {
|
|
655
915
|
id?: StringFieldUpdateOperationsInput | string;
|
|
656
916
|
subject?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
657
917
|
authorHash?: StringFieldUpdateOperationsInput | string;
|
|
658
918
|
authorAlias?: StringFieldUpdateOperationsInput | string;
|
|
919
|
+
authorUserId?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
920
|
+
authorName?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
659
921
|
body?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
922
|
+
kind?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
923
|
+
editedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
924
|
+
status?: NullableEnumCommentStatusFieldUpdateOperationsInput | CommentStatus | null;
|
|
925
|
+
reviewerReply?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
926
|
+
reviewedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
927
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
|
|
928
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
|
|
929
|
+
resource?: DbResourceUpdateOneWithoutFeedbackNestedInput;
|
|
930
|
+
attachments?: DbFeedbackAttachmentUpdateManyWithoutFeedbackNestedInput;
|
|
931
|
+
};
|
|
932
|
+
type DbFeedbackUncheckedUpdateWithoutCommunityToolInput = {
|
|
933
|
+
id?: StringFieldUpdateOperationsInput | string;
|
|
934
|
+
resourceId?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
935
|
+
subject?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
936
|
+
authorHash?: StringFieldUpdateOperationsInput | string;
|
|
937
|
+
authorAlias?: StringFieldUpdateOperationsInput | string;
|
|
938
|
+
authorUserId?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
939
|
+
authorName?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
940
|
+
body?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
941
|
+
kind?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
942
|
+
editedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
943
|
+
status?: NullableEnumCommentStatusFieldUpdateOperationsInput | CommentStatus | null;
|
|
944
|
+
reviewerReply?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
945
|
+
reviewedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
946
|
+
createdAt?: DateTimeFieldUpdateOperationsInput | Date | string;
|
|
947
|
+
updatedAt?: DateTimeFieldUpdateOperationsInput | Date | string;
|
|
948
|
+
attachments?: DbFeedbackAttachmentUncheckedUpdateManyWithoutFeedbackNestedInput;
|
|
949
|
+
};
|
|
950
|
+
type DbFeedbackUncheckedUpdateManyWithoutCommunityToolInput = {
|
|
951
|
+
id?: StringFieldUpdateOperationsInput | string;
|
|
952
|
+
resourceId?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
953
|
+
subject?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
954
|
+
authorHash?: StringFieldUpdateOperationsInput | string;
|
|
955
|
+
authorAlias?: StringFieldUpdateOperationsInput | string;
|
|
956
|
+
authorUserId?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
957
|
+
authorName?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
958
|
+
body?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
959
|
+
kind?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
660
960
|
editedAt?: NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
661
961
|
status?: NullableEnumCommentStatusFieldUpdateOperationsInput | CommentStatus | null;
|
|
662
962
|
reviewerReply?: NullableStringFieldUpdateOperationsInput | string | null;
|
|
@@ -685,10 +985,14 @@ type DbFeedbackCountOutputTypeCountAttachmentsArgs<ExtArgs extends runtime.Types
|
|
|
685
985
|
type DbFeedbackSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
686
986
|
id?: boolean;
|
|
687
987
|
resourceId?: boolean;
|
|
988
|
+
communityToolId?: boolean;
|
|
688
989
|
subject?: boolean;
|
|
689
990
|
authorHash?: boolean;
|
|
690
991
|
authorAlias?: boolean;
|
|
992
|
+
authorUserId?: boolean;
|
|
993
|
+
authorName?: boolean;
|
|
691
994
|
body?: boolean;
|
|
995
|
+
kind?: boolean;
|
|
692
996
|
editedAt?: boolean;
|
|
693
997
|
status?: boolean;
|
|
694
998
|
reviewerReply?: boolean;
|
|
@@ -696,16 +1000,21 @@ type DbFeedbackSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = ru
|
|
|
696
1000
|
createdAt?: boolean;
|
|
697
1001
|
updatedAt?: boolean;
|
|
698
1002
|
resource?: boolean | DbFeedback$resourceArgs<ExtArgs>;
|
|
1003
|
+
communityTool?: boolean | DbFeedback$communityToolArgs<ExtArgs>;
|
|
699
1004
|
attachments?: boolean | DbFeedback$attachmentsArgs<ExtArgs>;
|
|
700
1005
|
_count?: boolean | DbFeedbackCountOutputTypeDefaultArgs<ExtArgs>;
|
|
701
1006
|
}, ExtArgs["result"]["dbFeedback"]>;
|
|
702
1007
|
type DbFeedbackSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
703
1008
|
id?: boolean;
|
|
704
1009
|
resourceId?: boolean;
|
|
1010
|
+
communityToolId?: boolean;
|
|
705
1011
|
subject?: boolean;
|
|
706
1012
|
authorHash?: boolean;
|
|
707
1013
|
authorAlias?: boolean;
|
|
1014
|
+
authorUserId?: boolean;
|
|
1015
|
+
authorName?: boolean;
|
|
708
1016
|
body?: boolean;
|
|
1017
|
+
kind?: boolean;
|
|
709
1018
|
editedAt?: boolean;
|
|
710
1019
|
status?: boolean;
|
|
711
1020
|
reviewerReply?: boolean;
|
|
@@ -713,14 +1022,19 @@ type DbFeedbackSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extension
|
|
|
713
1022
|
createdAt?: boolean;
|
|
714
1023
|
updatedAt?: boolean;
|
|
715
1024
|
resource?: boolean | DbFeedback$resourceArgs<ExtArgs>;
|
|
1025
|
+
communityTool?: boolean | DbFeedback$communityToolArgs<ExtArgs>;
|
|
716
1026
|
}, ExtArgs["result"]["dbFeedback"]>;
|
|
717
1027
|
type DbFeedbackSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
718
1028
|
id?: boolean;
|
|
719
1029
|
resourceId?: boolean;
|
|
1030
|
+
communityToolId?: boolean;
|
|
720
1031
|
subject?: boolean;
|
|
721
1032
|
authorHash?: boolean;
|
|
722
1033
|
authorAlias?: boolean;
|
|
1034
|
+
authorUserId?: boolean;
|
|
1035
|
+
authorName?: boolean;
|
|
723
1036
|
body?: boolean;
|
|
1037
|
+
kind?: boolean;
|
|
724
1038
|
editedAt?: boolean;
|
|
725
1039
|
status?: boolean;
|
|
726
1040
|
reviewerReply?: boolean;
|
|
@@ -728,23 +1042,28 @@ type DbFeedbackSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extension
|
|
|
728
1042
|
createdAt?: boolean;
|
|
729
1043
|
updatedAt?: boolean;
|
|
730
1044
|
resource?: boolean | DbFeedback$resourceArgs<ExtArgs>;
|
|
1045
|
+
communityTool?: boolean | DbFeedback$communityToolArgs<ExtArgs>;
|
|
731
1046
|
}, 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"]>;
|
|
1047
|
+
type DbFeedbackOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "resourceId" | "communityToolId" | "subject" | "authorHash" | "authorAlias" | "authorUserId" | "authorName" | "body" | "kind" | "editedAt" | "status" | "reviewerReply" | "reviewedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["dbFeedback"]>;
|
|
733
1048
|
type DbFeedbackInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
734
1049
|
resource?: boolean | DbFeedback$resourceArgs<ExtArgs>;
|
|
1050
|
+
communityTool?: boolean | DbFeedback$communityToolArgs<ExtArgs>;
|
|
735
1051
|
attachments?: boolean | DbFeedback$attachmentsArgs<ExtArgs>;
|
|
736
1052
|
_count?: boolean | DbFeedbackCountOutputTypeDefaultArgs<ExtArgs>;
|
|
737
1053
|
};
|
|
738
1054
|
type DbFeedbackIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
739
1055
|
resource?: boolean | DbFeedback$resourceArgs<ExtArgs>;
|
|
1056
|
+
communityTool?: boolean | DbFeedback$communityToolArgs<ExtArgs>;
|
|
740
1057
|
};
|
|
741
1058
|
type DbFeedbackIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
742
1059
|
resource?: boolean | DbFeedback$resourceArgs<ExtArgs>;
|
|
1060
|
+
communityTool?: boolean | DbFeedback$communityToolArgs<ExtArgs>;
|
|
743
1061
|
};
|
|
744
1062
|
type $DbFeedbackPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
745
1063
|
name: "DbFeedback";
|
|
746
1064
|
objects: {
|
|
747
1065
|
resource: $DbResourcePayload<ExtArgs> | null;
|
|
1066
|
+
communityTool: $DbCommunityToolPayload<ExtArgs> | null;
|
|
748
1067
|
attachments: $DbFeedbackAttachmentPayload<ExtArgs>[];
|
|
749
1068
|
};
|
|
750
1069
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
@@ -754,6 +1073,10 @@ type $DbFeedbackPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
|
|
754
1073
|
* The resource's id, not its slug: a slug is user-facing and gets renamed.
|
|
755
1074
|
*/
|
|
756
1075
|
resourceId: string | null;
|
|
1076
|
+
/**
|
|
1077
|
+
* Feedback about a community tool rather than a catalog resource.
|
|
1078
|
+
*/
|
|
1079
|
+
communityToolId: string | null;
|
|
757
1080
|
/**
|
|
758
1081
|
* What the visitor was looking for when nothing matched. Set only when resourceId is
|
|
759
1082
|
* null — it is the whole substance of a new-app ask, and the thing we research.
|
|
@@ -768,11 +1091,24 @@ type $DbFeedbackPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs =
|
|
|
768
1091
|
* widening the wordlist later cannot rename everybody's history.
|
|
769
1092
|
*/
|
|
770
1093
|
authorAlias: string;
|
|
1094
|
+
/**
|
|
1095
|
+
* Optional: authenticated user id when feedback is submitted by a logged-in user.
|
|
1096
|
+
*/
|
|
1097
|
+
authorUserId: string | null;
|
|
1098
|
+
/**
|
|
1099
|
+
* Optional: authenticated user's name when feedback is submitted by a logged-in user.
|
|
1100
|
+
*/
|
|
1101
|
+
authorName: string | null;
|
|
771
1102
|
/**
|
|
772
1103
|
* Optional: a bare flag with no words is a valid signal, and the cheapest one a
|
|
773
1104
|
* passing visitor can send.
|
|
774
1105
|
*/
|
|
775
1106
|
body: string | null;
|
|
1107
|
+
/**
|
|
1108
|
+
* 'marker' for a row the system writes when a community tool changes: it has no
|
|
1109
|
+
* author to edit or withdraw it. Null for a visitor's own feedback.
|
|
1110
|
+
*/
|
|
1111
|
+
kind: string | null;
|
|
776
1112
|
/**
|
|
777
1113
|
* Set on a later edit, so the UI can mark it edited. Null when never edited.
|
|
778
1114
|
*/
|
|
@@ -1103,6 +1439,7 @@ interface DbFeedbackDelegate<ExtArgs extends runtime.Types.Extensions.InternalAr
|
|
|
1103
1439
|
interface Prisma__DbFeedbackClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends PrismaPromise<T> {
|
|
1104
1440
|
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1105
1441
|
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>;
|
|
1442
|
+
communityTool<T extends DbFeedback$communityToolArgs<ExtArgs> = {}>(args?: Subset<T, DbFeedback$communityToolArgs<ExtArgs>>): Prisma__DbCommunityToolClient<runtime.Types.Result.GetResult<$DbCommunityToolPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1106
1443
|
attachments<T extends DbFeedback$attachmentsArgs<ExtArgs> = {}>(args?: Subset<T, DbFeedback$attachmentsArgs<ExtArgs>>): PrismaPromise<runtime.Types.Result.GetResult<$DbFeedbackAttachmentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1107
1444
|
/**
|
|
1108
1445
|
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
@@ -1131,10 +1468,14 @@ interface Prisma__DbFeedbackClient<T, Null = never, ExtArgs extends runtime.Type
|
|
|
1131
1468
|
interface DbFeedbackFieldRefs {
|
|
1132
1469
|
readonly id: FieldRef<"DbFeedback", 'String'>;
|
|
1133
1470
|
readonly resourceId: FieldRef<"DbFeedback", 'String'>;
|
|
1471
|
+
readonly communityToolId: FieldRef<"DbFeedback", 'String'>;
|
|
1134
1472
|
readonly subject: FieldRef<"DbFeedback", 'String'>;
|
|
1135
1473
|
readonly authorHash: FieldRef<"DbFeedback", 'String'>;
|
|
1136
1474
|
readonly authorAlias: FieldRef<"DbFeedback", 'String'>;
|
|
1475
|
+
readonly authorUserId: FieldRef<"DbFeedback", 'String'>;
|
|
1476
|
+
readonly authorName: FieldRef<"DbFeedback", 'String'>;
|
|
1137
1477
|
readonly body: FieldRef<"DbFeedback", 'String'>;
|
|
1478
|
+
readonly kind: FieldRef<"DbFeedback", 'String'>;
|
|
1138
1479
|
readonly editedAt: FieldRef<"DbFeedback", 'DateTime'>;
|
|
1139
1480
|
readonly status: FieldRef<"DbFeedback", 'CommentStatus'>;
|
|
1140
1481
|
readonly reviewerReply: FieldRef<"DbFeedback", 'String'>;
|
|
@@ -1537,6 +1878,24 @@ type DbFeedback$resourceArgs<ExtArgs extends runtime.Types.Extensions.InternalAr
|
|
|
1537
1878
|
include?: DbResourceInclude<ExtArgs> | null;
|
|
1538
1879
|
where?: DbResourceWhereInput;
|
|
1539
1880
|
};
|
|
1881
|
+
/**
|
|
1882
|
+
* DbFeedback.communityTool
|
|
1883
|
+
*/
|
|
1884
|
+
type DbFeedback$communityToolArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1885
|
+
/**
|
|
1886
|
+
* Select specific fields to fetch from the DbCommunityTool
|
|
1887
|
+
*/
|
|
1888
|
+
select?: DbCommunityToolSelect<ExtArgs> | null;
|
|
1889
|
+
/**
|
|
1890
|
+
* Omit specific fields from the DbCommunityTool
|
|
1891
|
+
*/
|
|
1892
|
+
omit?: DbCommunityToolOmit<ExtArgs> | null;
|
|
1893
|
+
/**
|
|
1894
|
+
* Choose, which related nodes to fetch as well
|
|
1895
|
+
*/
|
|
1896
|
+
include?: DbCommunityToolInclude<ExtArgs> | null;
|
|
1897
|
+
where?: DbCommunityToolWhereInput;
|
|
1898
|
+
};
|
|
1540
1899
|
/**
|
|
1541
1900
|
* DbFeedback.attachments
|
|
1542
1901
|
*/
|
|
@@ -1561,5 +1920,5 @@ type DbFeedback$attachmentsArgs<ExtArgs extends runtime.Types.Extensions.Interna
|
|
|
1561
1920
|
distinct?: DbFeedbackAttachmentScalarFieldEnum | DbFeedbackAttachmentScalarFieldEnum[];
|
|
1562
1921
|
};
|
|
1563
1922
|
//#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 };
|
|
1923
|
+
export { $DbFeedbackPayload, AggregateDbFeedback, DbFeedback$attachmentsArgs, DbFeedback$communityToolArgs, DbFeedback$resourceArgs, DbFeedbackAggregateArgs, DbFeedbackCountAggregateInputType, DbFeedbackCountAggregateOutputType, DbFeedbackCountArgs, DbFeedbackCountOrderByAggregateInput, DbFeedbackCountOutputTypeCountAttachmentsArgs, DbFeedbackCountOutputTypeDefaultArgs, DbFeedbackCountOutputTypeSelect, DbFeedbackCreateArgs, DbFeedbackCreateInput, DbFeedbackCreateManyAndReturnArgs, DbFeedbackCreateManyArgs, DbFeedbackCreateManyCommunityToolInput, DbFeedbackCreateManyCommunityToolInputEnvelope, DbFeedbackCreateManyInput, DbFeedbackCreateManyResourceInput, DbFeedbackCreateManyResourceInputEnvelope, DbFeedbackCreateNestedManyWithoutCommunityToolInput, DbFeedbackCreateNestedManyWithoutResourceInput, DbFeedbackCreateNestedOneWithoutAttachmentsInput, DbFeedbackCreateOrConnectWithoutAttachmentsInput, DbFeedbackCreateOrConnectWithoutCommunityToolInput, DbFeedbackCreateOrConnectWithoutResourceInput, DbFeedbackCreateWithoutAttachmentsInput, DbFeedbackCreateWithoutCommunityToolInput, 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, DbFeedbackUncheckedCreateNestedManyWithoutCommunityToolInput, DbFeedbackUncheckedCreateNestedManyWithoutResourceInput, DbFeedbackUncheckedCreateWithoutAttachmentsInput, DbFeedbackUncheckedCreateWithoutCommunityToolInput, DbFeedbackUncheckedCreateWithoutResourceInput, DbFeedbackUncheckedUpdateInput, DbFeedbackUncheckedUpdateManyInput, DbFeedbackUncheckedUpdateManyWithoutCommunityToolInput, DbFeedbackUncheckedUpdateManyWithoutCommunityToolNestedInput, DbFeedbackUncheckedUpdateManyWithoutResourceInput, DbFeedbackUncheckedUpdateManyWithoutResourceNestedInput, DbFeedbackUncheckedUpdateWithoutAttachmentsInput, DbFeedbackUncheckedUpdateWithoutCommunityToolInput, DbFeedbackUncheckedUpdateWithoutResourceInput, DbFeedbackUpdateArgs, DbFeedbackUpdateInput, DbFeedbackUpdateManyAndReturnArgs, DbFeedbackUpdateManyArgs, DbFeedbackUpdateManyMutationInput, DbFeedbackUpdateManyWithWhereWithoutCommunityToolInput, DbFeedbackUpdateManyWithWhereWithoutResourceInput, DbFeedbackUpdateManyWithoutCommunityToolNestedInput, DbFeedbackUpdateManyWithoutResourceNestedInput, DbFeedbackUpdateOneWithoutAttachmentsNestedInput, DbFeedbackUpdateToOneWithWhereWithoutAttachmentsInput, DbFeedbackUpdateWithWhereUniqueWithoutCommunityToolInput, DbFeedbackUpdateWithWhereUniqueWithoutResourceInput, DbFeedbackUpdateWithoutAttachmentsInput, DbFeedbackUpdateWithoutCommunityToolInput, DbFeedbackUpdateWithoutResourceInput, DbFeedbackUpsertArgs, DbFeedbackUpsertWithWhereUniqueWithoutCommunityToolInput, DbFeedbackUpsertWithWhereUniqueWithoutResourceInput, DbFeedbackUpsertWithoutAttachmentsInput, DbFeedbackWhereInput, DbFeedbackWhereUniqueInput, GetDbFeedbackAggregateType, NullableEnumCommentStatusFieldUpdateOperationsInput, Prisma__DbFeedbackClient };
|
|
1565
1924
|
//# sourceMappingURL=DbFeedback.d.mts.map
|