strapi-plugin-comments 3.0.13 → 3.0.15
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/_chunks/en-Ca05D1aN.js +1 -0
- package/dist/_chunks/{en-BtJqEJGe.mjs → en-DeZtLd2b.mjs} +15 -2
- package/dist/_chunks/fr-DvC8Kjh_.js +1 -0
- package/dist/_chunks/{fr-n-k7Rsq9.mjs → fr-xcXYnLl6.mjs} +15 -2
- package/dist/_chunks/index-B4YsjIh4.js +18 -0
- package/dist/_chunks/{index-BNUfJ5rK.mjs → index-C7XjYXV7.mjs} +2 -2
- package/dist/_chunks/{index-nX8EInHC.js → index-CCnYc2Ti.js} +1 -1
- package/dist/_chunks/{index-B_ImEGPI.mjs → index-CyVj8EKp.mjs} +1768 -1770
- package/dist/_chunks/{index-B4cSir6s.js → index-DKmA1egQ.js} +39 -39
- package/dist/_chunks/{index-CKnhBcNh.js → index-DaKT3Mnh.js} +181 -181
- package/dist/_chunks/{index-CQD92qgD.mjs → index-DrxFf0pS.mjs} +852 -874
- package/dist/_chunks/{index-B7F5_QGF.mjs → index-jHBYjbuk.mjs} +7591 -7543
- package/dist/_chunks/{pl-_wkGtdQj.mjs → pl-B2Il0b0-.mjs} +1 -1
- package/dist/_chunks/pl-DthJf26N.js +1 -0
- package/dist/_chunks/pt-BR-ByULlOKU.js +1 -0
- package/dist/_chunks/{pt-BR-Bx1qSZ0Z.mjs → pt-BR-KCmyuDgJ.mjs} +1 -1
- package/dist/_chunks/{ru-BuUj7OWH.mjs → ru-Bykkb95a.mjs} +1 -1
- package/dist/_chunks/ru-DOajpZMF.js +1 -0
- package/dist/_chunks/{tr-CloK8CbW.mjs → tr-BW_iq8S7.mjs} +1 -1
- package/dist/_chunks/tr-Cv3hH0Rh.js +1 -0
- package/dist/_chunks/{zh-Hans-Isi-yCnI.mjs → zh-Hans-DixVuF8_.mjs} +1 -1
- package/dist/_chunks/zh-Hans-P1iGqMnb.js +1 -0
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/src/api/client.d.ts +8 -8
- package/dist/admin/src/api/schemas.d.ts +83 -83
- package/dist/admin/src/components/CommentStatusFilters/index.d.ts +1 -6
- package/dist/admin/src/components/SortableTh/index.d.ts +7 -0
- package/dist/admin/src/hooks/useAPI.d.ts +8 -8
- package/dist/admin/src/hooks/useCommentsAll.d.ts +1 -1
- package/dist/admin/src/hooks/useReports.d.ts +2 -2
- package/dist/admin/src/pages/Settings/hooks/useSettingsAPI.d.ts +1 -1
- package/dist/admin/src/translations/en.d.ts +13 -0
- package/dist/admin/src/translations/fr.d.ts +13 -0
- package/dist/server/index.js +11 -11
- package/dist/server/index.mjs +132 -147
- package/dist/server/src/index.d.ts +0 -3
- package/dist/server/src/services/admin/admin.service.d.ts +0 -1
- package/dist/server/src/services/client.service.d.ts +0 -1
- package/dist/server/src/services/common.service.d.ts +0 -1
- package/dist/server/src/services/index.d.ts +0 -3
- package/package.json +1 -1
- package/dist/_chunks/en-CNvRvaLL.js +0 -1
- package/dist/_chunks/fr-Bh0tVDIQ.js +0 -1
- package/dist/_chunks/index-DO4U1xys.js +0 -18
- package/dist/_chunks/pl-DoXe0BV9.js +0 -1
- package/dist/_chunks/pt-BR-CLvbSGaH.js +0 -1
- package/dist/_chunks/ru-eLIDfsd3.js +0 -1
- package/dist/_chunks/tr-BX-_IBUR.js +0 -1
- package/dist/_chunks/zh-Hans-DusBjCtd.js +0 -1
|
@@ -188,7 +188,7 @@ declare const authorSchema: z.ZodObject<{
|
|
|
188
188
|
export type Author = z.infer<typeof authorSchema>;
|
|
189
189
|
declare const commentReportSchema: z.ZodObject<{
|
|
190
190
|
id: z.ZodNumber;
|
|
191
|
-
reason: z.
|
|
191
|
+
reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
192
192
|
content: z.ZodString;
|
|
193
193
|
resolved: z.ZodBoolean;
|
|
194
194
|
createdAt: z.ZodString;
|
|
@@ -198,15 +198,15 @@ declare const commentReportSchema: z.ZodObject<{
|
|
|
198
198
|
id: number;
|
|
199
199
|
createdAt: string;
|
|
200
200
|
updatedAt: string | null;
|
|
201
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
202
201
|
content: string;
|
|
202
|
+
reason?: string | null | undefined;
|
|
203
203
|
}, {
|
|
204
204
|
resolved: boolean;
|
|
205
205
|
id: number;
|
|
206
206
|
createdAt: string;
|
|
207
207
|
updatedAt: string | null;
|
|
208
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
209
208
|
content: string;
|
|
209
|
+
reason?: string | null | undefined;
|
|
210
210
|
}>;
|
|
211
211
|
declare const baseCommentSchema: z.ZodObject<{
|
|
212
212
|
id: z.ZodNumber;
|
|
@@ -221,7 +221,7 @@ declare const baseCommentSchema: z.ZodObject<{
|
|
|
221
221
|
updatedAt: z.ZodString;
|
|
222
222
|
reports: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
223
223
|
id: z.ZodNumber;
|
|
224
|
-
reason: z.
|
|
224
|
+
reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
225
225
|
content: z.ZodString;
|
|
226
226
|
resolved: z.ZodBoolean;
|
|
227
227
|
createdAt: z.ZodString;
|
|
@@ -231,15 +231,15 @@ declare const baseCommentSchema: z.ZodObject<{
|
|
|
231
231
|
id: number;
|
|
232
232
|
createdAt: string;
|
|
233
233
|
updatedAt: string | null;
|
|
234
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
235
234
|
content: string;
|
|
235
|
+
reason?: string | null | undefined;
|
|
236
236
|
}, {
|
|
237
237
|
resolved: boolean;
|
|
238
238
|
id: number;
|
|
239
239
|
createdAt: string;
|
|
240
240
|
updatedAt: string | null;
|
|
241
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
242
241
|
content: string;
|
|
242
|
+
reason?: string | null | undefined;
|
|
243
243
|
}>, "many">>>;
|
|
244
244
|
author: z.ZodObject<{
|
|
245
245
|
id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
@@ -347,8 +347,8 @@ declare const baseCommentSchema: z.ZodObject<{
|
|
|
347
347
|
id: number;
|
|
348
348
|
createdAt: string;
|
|
349
349
|
updatedAt: string | null;
|
|
350
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
351
350
|
content: string;
|
|
351
|
+
reason?: string | null | undefined;
|
|
352
352
|
}[] | null | undefined;
|
|
353
353
|
gotThread?: boolean | null | undefined;
|
|
354
354
|
threadFirstItemId?: number | null | undefined;
|
|
@@ -383,8 +383,8 @@ declare const baseCommentSchema: z.ZodObject<{
|
|
|
383
383
|
id: number;
|
|
384
384
|
createdAt: string;
|
|
385
385
|
updatedAt: string | null;
|
|
386
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
387
386
|
content: string;
|
|
387
|
+
reason?: string | null | undefined;
|
|
388
388
|
}[] | null | undefined;
|
|
389
389
|
gotThread?: boolean | null | undefined;
|
|
390
390
|
threadFirstItemId?: number | null | undefined;
|
|
@@ -470,7 +470,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
470
470
|
updatedAt: z.ZodString;
|
|
471
471
|
reports: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
472
472
|
id: z.ZodNumber;
|
|
473
|
-
reason: z.
|
|
473
|
+
reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
474
474
|
content: z.ZodString;
|
|
475
475
|
resolved: z.ZodBoolean;
|
|
476
476
|
createdAt: z.ZodString;
|
|
@@ -480,15 +480,15 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
480
480
|
id: number;
|
|
481
481
|
createdAt: string;
|
|
482
482
|
updatedAt: string | null;
|
|
483
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
484
483
|
content: string;
|
|
484
|
+
reason?: string | null | undefined;
|
|
485
485
|
}, {
|
|
486
486
|
resolved: boolean;
|
|
487
487
|
id: number;
|
|
488
488
|
createdAt: string;
|
|
489
489
|
updatedAt: string | null;
|
|
490
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
491
490
|
content: string;
|
|
491
|
+
reason?: string | null | undefined;
|
|
492
492
|
}>, "many">>>;
|
|
493
493
|
author: z.ZodObject<{
|
|
494
494
|
id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
@@ -580,7 +580,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
580
580
|
updatedAt: z.ZodString;
|
|
581
581
|
reports: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
582
582
|
id: z.ZodNumber;
|
|
583
|
-
reason: z.
|
|
583
|
+
reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
584
584
|
content: z.ZodString;
|
|
585
585
|
resolved: z.ZodBoolean;
|
|
586
586
|
createdAt: z.ZodString;
|
|
@@ -590,15 +590,15 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
590
590
|
id: number;
|
|
591
591
|
createdAt: string;
|
|
592
592
|
updatedAt: string | null;
|
|
593
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
594
593
|
content: string;
|
|
594
|
+
reason?: string | null | undefined;
|
|
595
595
|
}, {
|
|
596
596
|
resolved: boolean;
|
|
597
597
|
id: number;
|
|
598
598
|
createdAt: string;
|
|
599
599
|
updatedAt: string | null;
|
|
600
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
601
600
|
content: string;
|
|
601
|
+
reason?: string | null | undefined;
|
|
602
602
|
}>, "many">>>;
|
|
603
603
|
author: z.ZodObject<{
|
|
604
604
|
id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
@@ -715,7 +715,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
715
715
|
updatedAt: z.ZodString;
|
|
716
716
|
reports: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
717
717
|
id: z.ZodNumber;
|
|
718
|
-
reason: z.
|
|
718
|
+
reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
719
719
|
content: z.ZodString;
|
|
720
720
|
resolved: z.ZodBoolean;
|
|
721
721
|
createdAt: z.ZodString;
|
|
@@ -725,15 +725,15 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
725
725
|
id: number;
|
|
726
726
|
createdAt: string;
|
|
727
727
|
updatedAt: string | null;
|
|
728
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
729
728
|
content: string;
|
|
729
|
+
reason?: string | null | undefined;
|
|
730
730
|
}, {
|
|
731
731
|
resolved: boolean;
|
|
732
732
|
id: number;
|
|
733
733
|
createdAt: string;
|
|
734
734
|
updatedAt: string | null;
|
|
735
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
736
735
|
content: string;
|
|
736
|
+
reason?: string | null | undefined;
|
|
737
737
|
}>, "many">>>;
|
|
738
738
|
author: z.ZodObject<{
|
|
739
739
|
id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
@@ -847,8 +847,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
847
847
|
id: number;
|
|
848
848
|
createdAt: string;
|
|
849
849
|
updatedAt: string | null;
|
|
850
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
851
850
|
content: string;
|
|
851
|
+
reason?: string | null | undefined;
|
|
852
852
|
}[] | null | undefined;
|
|
853
853
|
gotThread?: boolean | null | undefined;
|
|
854
854
|
threadFirstItemId?: number | null | undefined;
|
|
@@ -886,8 +886,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
886
886
|
id: number;
|
|
887
887
|
createdAt: string;
|
|
888
888
|
updatedAt: string | null;
|
|
889
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
890
889
|
content: string;
|
|
890
|
+
reason?: string | null | undefined;
|
|
891
891
|
}[] | null | undefined;
|
|
892
892
|
gotThread?: boolean | null | undefined;
|
|
893
893
|
threadFirstItemId?: number | null | undefined;
|
|
@@ -928,8 +928,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
928
928
|
id: number;
|
|
929
929
|
createdAt: string;
|
|
930
930
|
updatedAt: string | null;
|
|
931
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
932
931
|
content: string;
|
|
932
|
+
reason?: string | null | undefined;
|
|
933
933
|
}[] | null | undefined;
|
|
934
934
|
gotThread?: boolean | null | undefined;
|
|
935
935
|
threadFirstItemId?: number | null | undefined;
|
|
@@ -966,8 +966,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
966
966
|
id: number;
|
|
967
967
|
createdAt: string;
|
|
968
968
|
updatedAt: string | null;
|
|
969
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
970
969
|
content: string;
|
|
970
|
+
reason?: string | null | undefined;
|
|
971
971
|
}[] | null | undefined;
|
|
972
972
|
gotThread?: boolean | null | undefined;
|
|
973
973
|
threadFirstItemId?: number | null | undefined;
|
|
@@ -1006,8 +1006,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
1006
1006
|
id: number;
|
|
1007
1007
|
createdAt: string;
|
|
1008
1008
|
updatedAt: string | null;
|
|
1009
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
1010
1009
|
content: string;
|
|
1010
|
+
reason?: string | null | undefined;
|
|
1011
1011
|
}[] | null | undefined;
|
|
1012
1012
|
gotThread?: boolean | null | undefined;
|
|
1013
1013
|
threadFirstItemId?: number | null | undefined;
|
|
@@ -1044,8 +1044,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
1044
1044
|
id: number;
|
|
1045
1045
|
createdAt: string;
|
|
1046
1046
|
updatedAt: string | null;
|
|
1047
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
1048
1047
|
content: string;
|
|
1048
|
+
reason?: string | null | undefined;
|
|
1049
1049
|
}[] | null | undefined;
|
|
1050
1050
|
gotThread?: boolean | null | undefined;
|
|
1051
1051
|
threadFirstItemId?: number | null | undefined;
|
|
@@ -1084,8 +1084,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
1084
1084
|
id: number;
|
|
1085
1085
|
createdAt: string;
|
|
1086
1086
|
updatedAt: string | null;
|
|
1087
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
1088
1087
|
content: string;
|
|
1088
|
+
reason?: string | null | undefined;
|
|
1089
1089
|
}[] | null | undefined;
|
|
1090
1090
|
gotThread?: boolean | null | undefined;
|
|
1091
1091
|
threadFirstItemId?: number | null | undefined;
|
|
@@ -1122,8 +1122,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
1122
1122
|
id: number;
|
|
1123
1123
|
createdAt: string;
|
|
1124
1124
|
updatedAt: string | null;
|
|
1125
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
1126
1125
|
content: string;
|
|
1126
|
+
reason?: string | null | undefined;
|
|
1127
1127
|
}[] | null | undefined;
|
|
1128
1128
|
gotThread?: boolean | null | undefined;
|
|
1129
1129
|
threadFirstItemId?: number | null | undefined;
|
|
@@ -1160,8 +1160,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
1160
1160
|
id: number;
|
|
1161
1161
|
createdAt: string;
|
|
1162
1162
|
updatedAt: string | null;
|
|
1163
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
1164
1163
|
content: string;
|
|
1164
|
+
reason?: string | null | undefined;
|
|
1165
1165
|
}[] | null | undefined;
|
|
1166
1166
|
gotThread?: boolean | null | undefined;
|
|
1167
1167
|
threadFirstItemId?: number | null | undefined;
|
|
@@ -1200,8 +1200,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
1200
1200
|
id: number;
|
|
1201
1201
|
createdAt: string;
|
|
1202
1202
|
updatedAt: string | null;
|
|
1203
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
1204
1203
|
content: string;
|
|
1204
|
+
reason?: string | null | undefined;
|
|
1205
1205
|
}[] | null | undefined;
|
|
1206
1206
|
gotThread?: boolean | null | undefined;
|
|
1207
1207
|
threadFirstItemId?: number | null | undefined;
|
|
@@ -1238,8 +1238,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
1238
1238
|
id: number;
|
|
1239
1239
|
createdAt: string;
|
|
1240
1240
|
updatedAt: string | null;
|
|
1241
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
1242
1241
|
content: string;
|
|
1242
|
+
reason?: string | null | undefined;
|
|
1243
1243
|
}[] | null | undefined;
|
|
1244
1244
|
gotThread?: boolean | null | undefined;
|
|
1245
1245
|
threadFirstItemId?: number | null | undefined;
|
|
@@ -1276,8 +1276,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
1276
1276
|
id: number;
|
|
1277
1277
|
createdAt: string;
|
|
1278
1278
|
updatedAt: string | null;
|
|
1279
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
1280
1279
|
content: string;
|
|
1280
|
+
reason?: string | null | undefined;
|
|
1281
1281
|
}[] | null | undefined;
|
|
1282
1282
|
gotThread?: boolean | null | undefined;
|
|
1283
1283
|
threadFirstItemId?: number | null | undefined;
|
|
@@ -1298,7 +1298,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
1298
1298
|
updatedAt: z.ZodString;
|
|
1299
1299
|
reports: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1300
1300
|
id: z.ZodNumber;
|
|
1301
|
-
reason: z.
|
|
1301
|
+
reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1302
1302
|
content: z.ZodString;
|
|
1303
1303
|
resolved: z.ZodBoolean;
|
|
1304
1304
|
createdAt: z.ZodString;
|
|
@@ -1308,15 +1308,15 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
1308
1308
|
id: number;
|
|
1309
1309
|
createdAt: string;
|
|
1310
1310
|
updatedAt: string | null;
|
|
1311
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
1312
1311
|
content: string;
|
|
1312
|
+
reason?: string | null | undefined;
|
|
1313
1313
|
}, {
|
|
1314
1314
|
resolved: boolean;
|
|
1315
1315
|
id: number;
|
|
1316
1316
|
createdAt: string;
|
|
1317
1317
|
updatedAt: string | null;
|
|
1318
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
1319
1318
|
content: string;
|
|
1319
|
+
reason?: string | null | undefined;
|
|
1320
1320
|
}>, "many">>>;
|
|
1321
1321
|
author: z.ZodObject<{
|
|
1322
1322
|
id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
@@ -1433,7 +1433,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
1433
1433
|
updatedAt: z.ZodString;
|
|
1434
1434
|
reports: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1435
1435
|
id: z.ZodNumber;
|
|
1436
|
-
reason: z.
|
|
1436
|
+
reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1437
1437
|
content: z.ZodString;
|
|
1438
1438
|
resolved: z.ZodBoolean;
|
|
1439
1439
|
createdAt: z.ZodString;
|
|
@@ -1443,15 +1443,15 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
1443
1443
|
id: number;
|
|
1444
1444
|
createdAt: string;
|
|
1445
1445
|
updatedAt: string | null;
|
|
1446
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
1447
1446
|
content: string;
|
|
1447
|
+
reason?: string | null | undefined;
|
|
1448
1448
|
}, {
|
|
1449
1449
|
resolved: boolean;
|
|
1450
1450
|
id: number;
|
|
1451
1451
|
createdAt: string;
|
|
1452
1452
|
updatedAt: string | null;
|
|
1453
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
1454
1453
|
content: string;
|
|
1454
|
+
reason?: string | null | undefined;
|
|
1455
1455
|
}>, "many">>>;
|
|
1456
1456
|
author: z.ZodObject<{
|
|
1457
1457
|
id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
@@ -1565,8 +1565,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
1565
1565
|
id: number;
|
|
1566
1566
|
createdAt: string;
|
|
1567
1567
|
updatedAt: string | null;
|
|
1568
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
1569
1568
|
content: string;
|
|
1569
|
+
reason?: string | null | undefined;
|
|
1570
1570
|
}[] | null | undefined;
|
|
1571
1571
|
gotThread?: boolean | null | undefined;
|
|
1572
1572
|
threadFirstItemId?: number | null | undefined;
|
|
@@ -1604,8 +1604,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
1604
1604
|
id: number;
|
|
1605
1605
|
createdAt: string;
|
|
1606
1606
|
updatedAt: string | null;
|
|
1607
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
1608
1607
|
content: string;
|
|
1608
|
+
reason?: string | null | undefined;
|
|
1609
1609
|
}[] | null | undefined;
|
|
1610
1610
|
gotThread?: boolean | null | undefined;
|
|
1611
1611
|
threadFirstItemId?: number | null | undefined;
|
|
@@ -1643,8 +1643,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
1643
1643
|
id: number;
|
|
1644
1644
|
createdAt: string;
|
|
1645
1645
|
updatedAt: string | null;
|
|
1646
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
1647
1646
|
content: string;
|
|
1647
|
+
reason?: string | null | undefined;
|
|
1648
1648
|
}[] | null | undefined;
|
|
1649
1649
|
gotThread?: boolean | null | undefined;
|
|
1650
1650
|
threadFirstItemId?: number | null | undefined;
|
|
@@ -1680,8 +1680,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
1680
1680
|
id: number;
|
|
1681
1681
|
createdAt: string;
|
|
1682
1682
|
updatedAt: string | null;
|
|
1683
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
1684
1683
|
content: string;
|
|
1684
|
+
reason?: string | null | undefined;
|
|
1685
1685
|
}[] | null | undefined;
|
|
1686
1686
|
gotThread?: boolean | null | undefined;
|
|
1687
1687
|
threadFirstItemId?: number | null | undefined;
|
|
@@ -1728,8 +1728,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
1728
1728
|
id: number;
|
|
1729
1729
|
createdAt: string;
|
|
1730
1730
|
updatedAt: string | null;
|
|
1731
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
1732
1731
|
content: string;
|
|
1732
|
+
reason?: string | null | undefined;
|
|
1733
1733
|
}[] | null | undefined;
|
|
1734
1734
|
gotThread?: boolean | null | undefined;
|
|
1735
1735
|
threadFirstItemId?: number | null | undefined;
|
|
@@ -1766,8 +1766,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
1766
1766
|
id: number;
|
|
1767
1767
|
createdAt: string;
|
|
1768
1768
|
updatedAt: string | null;
|
|
1769
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
1770
1769
|
content: string;
|
|
1770
|
+
reason?: string | null | undefined;
|
|
1771
1771
|
}[] | null | undefined;
|
|
1772
1772
|
gotThread?: boolean | null | undefined;
|
|
1773
1773
|
threadFirstItemId?: number | null | undefined;
|
|
@@ -1804,8 +1804,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
1804
1804
|
id: number;
|
|
1805
1805
|
createdAt: string;
|
|
1806
1806
|
updatedAt: string | null;
|
|
1807
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
1808
1807
|
content: string;
|
|
1808
|
+
reason?: string | null | undefined;
|
|
1809
1809
|
}[] | null | undefined;
|
|
1810
1810
|
gotThread?: boolean | null | undefined;
|
|
1811
1811
|
threadFirstItemId?: number | null | undefined;
|
|
@@ -1845,8 +1845,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
1845
1845
|
id: number;
|
|
1846
1846
|
createdAt: string;
|
|
1847
1847
|
updatedAt: string | null;
|
|
1848
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
1849
1848
|
content: string;
|
|
1849
|
+
reason?: string | null | undefined;
|
|
1850
1850
|
}[] | null | undefined;
|
|
1851
1851
|
gotThread?: boolean | null | undefined;
|
|
1852
1852
|
threadFirstItemId?: number | null | undefined;
|
|
@@ -1893,8 +1893,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
1893
1893
|
id: number;
|
|
1894
1894
|
createdAt: string;
|
|
1895
1895
|
updatedAt: string | null;
|
|
1896
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
1897
1896
|
content: string;
|
|
1897
|
+
reason?: string | null | undefined;
|
|
1898
1898
|
}[] | null | undefined;
|
|
1899
1899
|
gotThread?: boolean | null | undefined;
|
|
1900
1900
|
threadFirstItemId?: number | null | undefined;
|
|
@@ -1931,8 +1931,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
1931
1931
|
id: number;
|
|
1932
1932
|
createdAt: string;
|
|
1933
1933
|
updatedAt: string | null;
|
|
1934
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
1935
1934
|
content: string;
|
|
1935
|
+
reason?: string | null | undefined;
|
|
1936
1936
|
}[] | null | undefined;
|
|
1937
1937
|
gotThread?: boolean | null | undefined;
|
|
1938
1938
|
threadFirstItemId?: number | null | undefined;
|
|
@@ -1969,8 +1969,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
1969
1969
|
id: number;
|
|
1970
1970
|
createdAt: string;
|
|
1971
1971
|
updatedAt: string | null;
|
|
1972
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
1973
1972
|
content: string;
|
|
1973
|
+
reason?: string | null | undefined;
|
|
1974
1974
|
}[] | null | undefined;
|
|
1975
1975
|
gotThread?: boolean | null | undefined;
|
|
1976
1976
|
threadFirstItemId?: number | null | undefined;
|
|
@@ -2010,8 +2010,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
|
|
|
2010
2010
|
id: number;
|
|
2011
2011
|
createdAt: string;
|
|
2012
2012
|
updatedAt: string | null;
|
|
2013
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
2014
2013
|
content: string;
|
|
2014
|
+
reason?: string | null | undefined;
|
|
2015
2015
|
}[] | null | undefined;
|
|
2016
2016
|
gotThread?: boolean | null | undefined;
|
|
2017
2017
|
threadFirstItemId?: number | null | undefined;
|
|
@@ -2039,24 +2039,24 @@ export declare const contentTypeSchema: z.ZodObject<{
|
|
|
2039
2039
|
singularName: z.ZodString;
|
|
2040
2040
|
visible: z.ZodBoolean;
|
|
2041
2041
|
}, "strip", z.ZodTypeAny, {
|
|
2042
|
-
displayName: string;
|
|
2043
2042
|
attributes: Record<string, {
|
|
2044
2043
|
type: string;
|
|
2045
2044
|
}>;
|
|
2046
2045
|
collectionName: string;
|
|
2047
2046
|
description: string;
|
|
2047
|
+
displayName: string;
|
|
2048
2048
|
draftAndPublish: boolean;
|
|
2049
2049
|
kind: string;
|
|
2050
2050
|
pluralName: string;
|
|
2051
2051
|
singularName: string;
|
|
2052
2052
|
visible: boolean;
|
|
2053
2053
|
}, {
|
|
2054
|
-
displayName: string;
|
|
2055
2054
|
attributes: Record<string, {
|
|
2056
2055
|
type: string;
|
|
2057
2056
|
}>;
|
|
2058
2057
|
collectionName: string;
|
|
2059
2058
|
description: string;
|
|
2059
|
+
displayName: string;
|
|
2060
2060
|
draftAndPublish: boolean;
|
|
2061
2061
|
kind: string;
|
|
2062
2062
|
pluralName: string;
|
|
@@ -2067,12 +2067,12 @@ export declare const contentTypeSchema: z.ZodObject<{
|
|
|
2067
2067
|
uid: string;
|
|
2068
2068
|
apiID: string;
|
|
2069
2069
|
schema: {
|
|
2070
|
-
displayName: string;
|
|
2071
2070
|
attributes: Record<string, {
|
|
2072
2071
|
type: string;
|
|
2073
2072
|
}>;
|
|
2074
2073
|
collectionName: string;
|
|
2075
2074
|
description: string;
|
|
2075
|
+
displayName: string;
|
|
2076
2076
|
draftAndPublish: boolean;
|
|
2077
2077
|
kind: string;
|
|
2078
2078
|
pluralName: string;
|
|
@@ -2083,12 +2083,12 @@ export declare const contentTypeSchema: z.ZodObject<{
|
|
|
2083
2083
|
uid: string;
|
|
2084
2084
|
apiID: string;
|
|
2085
2085
|
schema: {
|
|
2086
|
-
displayName: string;
|
|
2087
2086
|
attributes: Record<string, {
|
|
2088
2087
|
type: string;
|
|
2089
2088
|
}>;
|
|
2090
2089
|
collectionName: string;
|
|
2091
2090
|
description: string;
|
|
2091
|
+
displayName: string;
|
|
2092
2092
|
draftAndPublish: boolean;
|
|
2093
2093
|
kind: string;
|
|
2094
2094
|
pluralName: string;
|
|
@@ -2101,12 +2101,12 @@ export declare const contentTypeSchema: z.ZodObject<{
|
|
|
2101
2101
|
uid: string;
|
|
2102
2102
|
apiID: string;
|
|
2103
2103
|
schema: {
|
|
2104
|
-
displayName: string;
|
|
2105
2104
|
attributes: Record<string, {
|
|
2106
2105
|
type: string;
|
|
2107
2106
|
}>;
|
|
2108
2107
|
collectionName: string;
|
|
2109
2108
|
description: string;
|
|
2109
|
+
displayName: string;
|
|
2110
2110
|
draftAndPublish: boolean;
|
|
2111
2111
|
kind: string;
|
|
2112
2112
|
pluralName: string;
|
|
@@ -2119,12 +2119,12 @@ export declare const contentTypeSchema: z.ZodObject<{
|
|
|
2119
2119
|
uid: string;
|
|
2120
2120
|
apiID: string;
|
|
2121
2121
|
schema: {
|
|
2122
|
-
displayName: string;
|
|
2123
2122
|
attributes: Record<string, {
|
|
2124
2123
|
type: string;
|
|
2125
2124
|
}>;
|
|
2126
2125
|
collectionName: string;
|
|
2127
2126
|
description: string;
|
|
2127
|
+
displayName: string;
|
|
2128
2128
|
draftAndPublish: boolean;
|
|
2129
2129
|
kind: string;
|
|
2130
2130
|
pluralName: string;
|
|
@@ -2154,24 +2154,24 @@ export declare const contentTypesSchema: z.ZodObject<{
|
|
|
2154
2154
|
singularName: z.ZodString;
|
|
2155
2155
|
visible: z.ZodBoolean;
|
|
2156
2156
|
}, "strip", z.ZodTypeAny, {
|
|
2157
|
-
displayName: string;
|
|
2158
2157
|
attributes: Record<string, {
|
|
2159
2158
|
type: string;
|
|
2160
2159
|
}>;
|
|
2161
2160
|
collectionName: string;
|
|
2162
2161
|
description: string;
|
|
2162
|
+
displayName: string;
|
|
2163
2163
|
draftAndPublish: boolean;
|
|
2164
2164
|
kind: string;
|
|
2165
2165
|
pluralName: string;
|
|
2166
2166
|
singularName: string;
|
|
2167
2167
|
visible: boolean;
|
|
2168
2168
|
}, {
|
|
2169
|
-
displayName: string;
|
|
2170
2169
|
attributes: Record<string, {
|
|
2171
2170
|
type: string;
|
|
2172
2171
|
}>;
|
|
2173
2172
|
collectionName: string;
|
|
2174
2173
|
description: string;
|
|
2174
|
+
displayName: string;
|
|
2175
2175
|
draftAndPublish: boolean;
|
|
2176
2176
|
kind: string;
|
|
2177
2177
|
pluralName: string;
|
|
@@ -2182,12 +2182,12 @@ export declare const contentTypesSchema: z.ZodObject<{
|
|
|
2182
2182
|
uid: string;
|
|
2183
2183
|
apiID: string;
|
|
2184
2184
|
schema: {
|
|
2185
|
-
displayName: string;
|
|
2186
2185
|
attributes: Record<string, {
|
|
2187
2186
|
type: string;
|
|
2188
2187
|
}>;
|
|
2189
2188
|
collectionName: string;
|
|
2190
2189
|
description: string;
|
|
2190
|
+
displayName: string;
|
|
2191
2191
|
draftAndPublish: boolean;
|
|
2192
2192
|
kind: string;
|
|
2193
2193
|
pluralName: string;
|
|
@@ -2198,12 +2198,12 @@ export declare const contentTypesSchema: z.ZodObject<{
|
|
|
2198
2198
|
uid: string;
|
|
2199
2199
|
apiID: string;
|
|
2200
2200
|
schema: {
|
|
2201
|
-
displayName: string;
|
|
2202
2201
|
attributes: Record<string, {
|
|
2203
2202
|
type: string;
|
|
2204
2203
|
}>;
|
|
2205
2204
|
collectionName: string;
|
|
2206
2205
|
description: string;
|
|
2206
|
+
displayName: string;
|
|
2207
2207
|
draftAndPublish: boolean;
|
|
2208
2208
|
kind: string;
|
|
2209
2209
|
pluralName: string;
|
|
@@ -2216,12 +2216,12 @@ export declare const contentTypesSchema: z.ZodObject<{
|
|
|
2216
2216
|
uid: string;
|
|
2217
2217
|
apiID: string;
|
|
2218
2218
|
schema: {
|
|
2219
|
-
displayName: string;
|
|
2220
2219
|
attributes: Record<string, {
|
|
2221
2220
|
type: string;
|
|
2222
2221
|
}>;
|
|
2223
2222
|
collectionName: string;
|
|
2224
2223
|
description: string;
|
|
2224
|
+
displayName: string;
|
|
2225
2225
|
draftAndPublish: boolean;
|
|
2226
2226
|
kind: string;
|
|
2227
2227
|
pluralName: string;
|
|
@@ -2234,12 +2234,12 @@ export declare const contentTypesSchema: z.ZodObject<{
|
|
|
2234
2234
|
uid: string;
|
|
2235
2235
|
apiID: string;
|
|
2236
2236
|
schema: {
|
|
2237
|
-
displayName: string;
|
|
2238
2237
|
attributes: Record<string, {
|
|
2239
2238
|
type: string;
|
|
2240
2239
|
}>;
|
|
2241
2240
|
collectionName: string;
|
|
2242
2241
|
description: string;
|
|
2242
|
+
displayName: string;
|
|
2243
2243
|
draftAndPublish: boolean;
|
|
2244
2244
|
kind: string;
|
|
2245
2245
|
pluralName: string;
|
|
@@ -2254,7 +2254,7 @@ export declare const reportSchema: z.ZodObject<{
|
|
|
2254
2254
|
content: z.ZodString;
|
|
2255
2255
|
id: z.ZodNumber;
|
|
2256
2256
|
approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"APPROVED">, z.ZodLiteral<"REJECTED">, z.ZodLiteral<"BLOCKED">, z.ZodLiteral<"OPEN">, z.ZodLiteral<"REMOVED">, z.ZodLiteral<"TO_REVIEW">, z.ZodLiteral<"UNKNOWN">]>>>;
|
|
2257
|
-
reason: z.
|
|
2257
|
+
reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2258
2258
|
reports: z.ZodArray<z.ZodUnknown, "many">;
|
|
2259
2259
|
resolved: z.ZodOptional<z.ZodBoolean>;
|
|
2260
2260
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -2272,7 +2272,7 @@ export declare const reportSchema: z.ZodObject<{
|
|
|
2272
2272
|
updatedAt: z.ZodString;
|
|
2273
2273
|
reports: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2274
2274
|
id: z.ZodNumber;
|
|
2275
|
-
reason: z.
|
|
2275
|
+
reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2276
2276
|
content: z.ZodString;
|
|
2277
2277
|
resolved: z.ZodBoolean;
|
|
2278
2278
|
createdAt: z.ZodString;
|
|
@@ -2282,15 +2282,15 @@ export declare const reportSchema: z.ZodObject<{
|
|
|
2282
2282
|
id: number;
|
|
2283
2283
|
createdAt: string;
|
|
2284
2284
|
updatedAt: string | null;
|
|
2285
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
2286
2285
|
content: string;
|
|
2286
|
+
reason?: string | null | undefined;
|
|
2287
2287
|
}, {
|
|
2288
2288
|
resolved: boolean;
|
|
2289
2289
|
id: number;
|
|
2290
2290
|
createdAt: string;
|
|
2291
2291
|
updatedAt: string | null;
|
|
2292
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
2293
2292
|
content: string;
|
|
2293
|
+
reason?: string | null | undefined;
|
|
2294
2294
|
}>, "many">>>;
|
|
2295
2295
|
author: z.ZodObject<{
|
|
2296
2296
|
id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
@@ -2398,8 +2398,8 @@ export declare const reportSchema: z.ZodObject<{
|
|
|
2398
2398
|
id: number;
|
|
2399
2399
|
createdAt: string;
|
|
2400
2400
|
updatedAt: string | null;
|
|
2401
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
2402
2401
|
content: string;
|
|
2402
|
+
reason?: string | null | undefined;
|
|
2403
2403
|
}[] | null | undefined;
|
|
2404
2404
|
gotThread?: boolean | null | undefined;
|
|
2405
2405
|
threadFirstItemId?: number | null | undefined;
|
|
@@ -2434,8 +2434,8 @@ export declare const reportSchema: z.ZodObject<{
|
|
|
2434
2434
|
id: number;
|
|
2435
2435
|
createdAt: string;
|
|
2436
2436
|
updatedAt: string | null;
|
|
2437
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
2438
2437
|
content: string;
|
|
2438
|
+
reason?: string | null | undefined;
|
|
2439
2439
|
}[] | null | undefined;
|
|
2440
2440
|
gotThread?: boolean | null | undefined;
|
|
2441
2441
|
threadFirstItemId?: number | null | undefined;
|
|
@@ -2444,7 +2444,6 @@ export declare const reportSchema: z.ZodObject<{
|
|
|
2444
2444
|
id: number;
|
|
2445
2445
|
createdAt: string;
|
|
2446
2446
|
updatedAt: string | null;
|
|
2447
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
2448
2447
|
content: string;
|
|
2449
2448
|
reports: unknown[];
|
|
2450
2449
|
related: {
|
|
@@ -2478,20 +2477,20 @@ export declare const reportSchema: z.ZodObject<{
|
|
|
2478
2477
|
id: number;
|
|
2479
2478
|
createdAt: string;
|
|
2480
2479
|
updatedAt: string | null;
|
|
2481
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
2482
2480
|
content: string;
|
|
2481
|
+
reason?: string | null | undefined;
|
|
2483
2482
|
}[] | null | undefined;
|
|
2484
2483
|
gotThread?: boolean | null | undefined;
|
|
2485
2484
|
threadFirstItemId?: number | null | undefined;
|
|
2486
2485
|
};
|
|
2487
2486
|
resolved?: boolean | undefined;
|
|
2487
|
+
reason?: string | null | undefined;
|
|
2488
2488
|
approvalStatus?: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null | undefined;
|
|
2489
2489
|
author?: unknown;
|
|
2490
2490
|
}, {
|
|
2491
2491
|
id: number;
|
|
2492
2492
|
createdAt: string;
|
|
2493
2493
|
updatedAt: string | null;
|
|
2494
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
2495
2494
|
content: string;
|
|
2496
2495
|
reports: unknown[];
|
|
2497
2496
|
related: {
|
|
@@ -2525,13 +2524,14 @@ export declare const reportSchema: z.ZodObject<{
|
|
|
2525
2524
|
id: number;
|
|
2526
2525
|
createdAt: string;
|
|
2527
2526
|
updatedAt: string | null;
|
|
2528
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
2529
2527
|
content: string;
|
|
2528
|
+
reason?: string | null | undefined;
|
|
2530
2529
|
}[] | null | undefined;
|
|
2531
2530
|
gotThread?: boolean | null | undefined;
|
|
2532
2531
|
threadFirstItemId?: number | null | undefined;
|
|
2533
2532
|
};
|
|
2534
2533
|
resolved?: boolean | undefined;
|
|
2534
|
+
reason?: string | null | undefined;
|
|
2535
2535
|
approvalStatus?: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null | undefined;
|
|
2536
2536
|
author?: unknown;
|
|
2537
2537
|
}>;
|
|
@@ -2558,7 +2558,7 @@ export declare const reportsSchema: z.ZodObject<{
|
|
|
2558
2558
|
content: z.ZodString;
|
|
2559
2559
|
id: z.ZodNumber;
|
|
2560
2560
|
approvalStatus: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodLiteral<"PENDING">, z.ZodLiteral<"APPROVED">, z.ZodLiteral<"REJECTED">, z.ZodLiteral<"BLOCKED">, z.ZodLiteral<"OPEN">, z.ZodLiteral<"REMOVED">, z.ZodLiteral<"TO_REVIEW">, z.ZodLiteral<"UNKNOWN">]>>>;
|
|
2561
|
-
reason: z.
|
|
2561
|
+
reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2562
2562
|
reports: z.ZodArray<z.ZodUnknown, "many">;
|
|
2563
2563
|
resolved: z.ZodOptional<z.ZodBoolean>;
|
|
2564
2564
|
updatedAt: z.ZodNullable<z.ZodString>;
|
|
@@ -2576,7 +2576,7 @@ export declare const reportsSchema: z.ZodObject<{
|
|
|
2576
2576
|
updatedAt: z.ZodString;
|
|
2577
2577
|
reports: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2578
2578
|
id: z.ZodNumber;
|
|
2579
|
-
reason: z.
|
|
2579
|
+
reason: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2580
2580
|
content: z.ZodString;
|
|
2581
2581
|
resolved: z.ZodBoolean;
|
|
2582
2582
|
createdAt: z.ZodString;
|
|
@@ -2586,15 +2586,15 @@ export declare const reportsSchema: z.ZodObject<{
|
|
|
2586
2586
|
id: number;
|
|
2587
2587
|
createdAt: string;
|
|
2588
2588
|
updatedAt: string | null;
|
|
2589
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
2590
2589
|
content: string;
|
|
2590
|
+
reason?: string | null | undefined;
|
|
2591
2591
|
}, {
|
|
2592
2592
|
resolved: boolean;
|
|
2593
2593
|
id: number;
|
|
2594
2594
|
createdAt: string;
|
|
2595
2595
|
updatedAt: string | null;
|
|
2596
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
2597
2596
|
content: string;
|
|
2597
|
+
reason?: string | null | undefined;
|
|
2598
2598
|
}>, "many">>>;
|
|
2599
2599
|
author: z.ZodObject<{
|
|
2600
2600
|
id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
@@ -2702,8 +2702,8 @@ export declare const reportsSchema: z.ZodObject<{
|
|
|
2702
2702
|
id: number;
|
|
2703
2703
|
createdAt: string;
|
|
2704
2704
|
updatedAt: string | null;
|
|
2705
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
2706
2705
|
content: string;
|
|
2706
|
+
reason?: string | null | undefined;
|
|
2707
2707
|
}[] | null | undefined;
|
|
2708
2708
|
gotThread?: boolean | null | undefined;
|
|
2709
2709
|
threadFirstItemId?: number | null | undefined;
|
|
@@ -2738,8 +2738,8 @@ export declare const reportsSchema: z.ZodObject<{
|
|
|
2738
2738
|
id: number;
|
|
2739
2739
|
createdAt: string;
|
|
2740
2740
|
updatedAt: string | null;
|
|
2741
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
2742
2741
|
content: string;
|
|
2742
|
+
reason?: string | null | undefined;
|
|
2743
2743
|
}[] | null | undefined;
|
|
2744
2744
|
gotThread?: boolean | null | undefined;
|
|
2745
2745
|
threadFirstItemId?: number | null | undefined;
|
|
@@ -2748,7 +2748,6 @@ export declare const reportsSchema: z.ZodObject<{
|
|
|
2748
2748
|
id: number;
|
|
2749
2749
|
createdAt: string;
|
|
2750
2750
|
updatedAt: string | null;
|
|
2751
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
2752
2751
|
content: string;
|
|
2753
2752
|
reports: unknown[];
|
|
2754
2753
|
related: {
|
|
@@ -2782,20 +2781,20 @@ export declare const reportsSchema: z.ZodObject<{
|
|
|
2782
2781
|
id: number;
|
|
2783
2782
|
createdAt: string;
|
|
2784
2783
|
updatedAt: string | null;
|
|
2785
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
2786
2784
|
content: string;
|
|
2785
|
+
reason?: string | null | undefined;
|
|
2787
2786
|
}[] | null | undefined;
|
|
2788
2787
|
gotThread?: boolean | null | undefined;
|
|
2789
2788
|
threadFirstItemId?: number | null | undefined;
|
|
2790
2789
|
};
|
|
2791
2790
|
resolved?: boolean | undefined;
|
|
2791
|
+
reason?: string | null | undefined;
|
|
2792
2792
|
approvalStatus?: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null | undefined;
|
|
2793
2793
|
author?: unknown;
|
|
2794
2794
|
}, {
|
|
2795
2795
|
id: number;
|
|
2796
2796
|
createdAt: string;
|
|
2797
2797
|
updatedAt: string | null;
|
|
2798
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
2799
2798
|
content: string;
|
|
2800
2799
|
reports: unknown[];
|
|
2801
2800
|
related: {
|
|
@@ -2829,13 +2828,14 @@ export declare const reportsSchema: z.ZodObject<{
|
|
|
2829
2828
|
id: number;
|
|
2830
2829
|
createdAt: string;
|
|
2831
2830
|
updatedAt: string | null;
|
|
2832
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
2833
2831
|
content: string;
|
|
2832
|
+
reason?: string | null | undefined;
|
|
2834
2833
|
}[] | null | undefined;
|
|
2835
2834
|
gotThread?: boolean | null | undefined;
|
|
2836
2835
|
threadFirstItemId?: number | null | undefined;
|
|
2837
2836
|
};
|
|
2838
2837
|
resolved?: boolean | undefined;
|
|
2838
|
+
reason?: string | null | undefined;
|
|
2839
2839
|
approvalStatus?: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null | undefined;
|
|
2840
2840
|
author?: unknown;
|
|
2841
2841
|
}>, "many">;
|
|
@@ -2850,7 +2850,6 @@ export declare const reportsSchema: z.ZodObject<{
|
|
|
2850
2850
|
id: number;
|
|
2851
2851
|
createdAt: string;
|
|
2852
2852
|
updatedAt: string | null;
|
|
2853
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
2854
2853
|
content: string;
|
|
2855
2854
|
reports: unknown[];
|
|
2856
2855
|
related: {
|
|
@@ -2884,13 +2883,14 @@ export declare const reportsSchema: z.ZodObject<{
|
|
|
2884
2883
|
id: number;
|
|
2885
2884
|
createdAt: string;
|
|
2886
2885
|
updatedAt: string | null;
|
|
2887
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
2888
2886
|
content: string;
|
|
2887
|
+
reason?: string | null | undefined;
|
|
2889
2888
|
}[] | null | undefined;
|
|
2890
2889
|
gotThread?: boolean | null | undefined;
|
|
2891
2890
|
threadFirstItemId?: number | null | undefined;
|
|
2892
2891
|
};
|
|
2893
2892
|
resolved?: boolean | undefined;
|
|
2893
|
+
reason?: string | null | undefined;
|
|
2894
2894
|
approvalStatus?: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null | undefined;
|
|
2895
2895
|
author?: unknown;
|
|
2896
2896
|
}[];
|
|
@@ -2905,7 +2905,6 @@ export declare const reportsSchema: z.ZodObject<{
|
|
|
2905
2905
|
id: number;
|
|
2906
2906
|
createdAt: string;
|
|
2907
2907
|
updatedAt: string | null;
|
|
2908
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
2909
2908
|
content: string;
|
|
2910
2909
|
reports: unknown[];
|
|
2911
2910
|
related: {
|
|
@@ -2939,13 +2938,14 @@ export declare const reportsSchema: z.ZodObject<{
|
|
|
2939
2938
|
id: number;
|
|
2940
2939
|
createdAt: string;
|
|
2941
2940
|
updatedAt: string | null;
|
|
2942
|
-
reason: "BAD_LANGUAGE" | "DISCRIMINATION" | "OTHER";
|
|
2943
2941
|
content: string;
|
|
2942
|
+
reason?: string | null | undefined;
|
|
2944
2943
|
}[] | null | undefined;
|
|
2945
2944
|
gotThread?: boolean | null | undefined;
|
|
2946
2945
|
threadFirstItemId?: number | null | undefined;
|
|
2947
2946
|
};
|
|
2948
2947
|
resolved?: boolean | undefined;
|
|
2948
|
+
reason?: string | null | undefined;
|
|
2949
2949
|
approvalStatus?: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null | undefined;
|
|
2950
2950
|
author?: unknown;
|
|
2951
2951
|
}[];
|