strapi-plugin-comments 3.1.1-beta.1 → 3.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/dist/_chunks/{en-DeZtLd2b.mjs → en-Cbt6CXo1.mjs} +1 -0
  2. package/dist/_chunks/{en-Ca05D1aN.js → en-DalOPLjA.js} +1 -1
  3. package/dist/_chunks/fr-C4_v32Lz.js +1 -0
  4. package/dist/_chunks/{fr-xcXYnLl6.mjs → fr-CztE_B7U.mjs} +1 -0
  5. package/dist/_chunks/{index-BvE3I2WB.mjs → index-111xj66k.mjs} +28 -28
  6. package/dist/_chunks/index-BYom1Ujm.js +18 -0
  7. package/dist/_chunks/{index-DcdRh9F7.mjs → index-C4yRw0kg.mjs} +7428 -7281
  8. package/dist/_chunks/{index-C9YD28U_.mjs → index-C6r-CX-i.mjs} +4 -4
  9. package/dist/_chunks/{index-CtUXr7rK.js → index-CQcJlyLz.js} +264 -264
  10. package/dist/_chunks/{index-BzZk45CE.js → index-DFSVVbXk.js} +3 -3
  11. package/dist/_chunks/{index-DHYGkXW6.js → index-Ddsb0ILo.js} +1 -1
  12. package/dist/_chunks/{index-Bd1INOJR.mjs → index-dty11bFS.mjs} +83 -83
  13. package/dist/_chunks/pl-D2JXVqZi.js +1 -0
  14. package/dist/_chunks/{pl-B2Il0b0-.mjs → pl-DBv6tBP6.mjs} +1 -0
  15. package/dist/_chunks/pt-BR-CCBBpLDV.js +1 -0
  16. package/dist/_chunks/{pt-BR-KCmyuDgJ.mjs → pt-BR-VqNYQ17j.mjs} +1 -0
  17. package/dist/_chunks/{ru-Bykkb95a.mjs → ru-DHi8VpMQ.mjs} +1 -0
  18. package/dist/_chunks/ru-DUiPYaBn.js +1 -0
  19. package/dist/_chunks/{tr-Cv3hH0Rh.js → tr-D_0EQ9aV.js} +1 -1
  20. package/dist/_chunks/{tr-BW_iq8S7.mjs → tr-ZRzw4I-8.mjs} +1 -0
  21. package/dist/_chunks/{zh-Hans-DixVuF8_.mjs → zh-Hans-Bz2wrwoC.mjs} +1 -0
  22. package/dist/_chunks/zh-Hans-D1xXhhCe.js +1 -0
  23. package/dist/admin/index.js +1 -1
  24. package/dist/admin/index.mjs +1 -1
  25. package/dist/admin/src/api/client.d.ts +65 -65
  26. package/dist/admin/src/api/schemas.d.ts +537 -537
  27. package/dist/admin/src/contexts/UserContext.d.ts +1 -1
  28. package/dist/admin/src/hooks/useAPI.d.ts +66 -66
  29. package/dist/admin/src/hooks/useCommentMutations.d.ts +1 -1
  30. package/dist/admin/src/hooks/useCommentsAll.d.ts +4 -4
  31. package/dist/admin/src/hooks/useReports.d.ts +12 -12
  32. package/dist/admin/src/hooks/useUserContext.d.ts +1 -1
  33. package/dist/admin/src/translations/en.d.ts +1 -0
  34. package/dist/admin/src/translations/fr.d.ts +1 -0
  35. package/dist/admin/src/translations/pl.d.ts +1 -0
  36. package/dist/admin/src/translations/pt-BR.d.ts +1 -0
  37. package/dist/admin/src/translations/ru.d.ts +1 -0
  38. package/dist/admin/src/translations/tr.d.ts +1 -0
  39. package/dist/admin/src/translations/zh-Hans.d.ts +1 -0
  40. package/dist/server/index.js +34 -34
  41. package/dist/server/index.mjs +430 -400
  42. package/dist/server/src/repositories/report.comment.repository.d.ts +66 -0
  43. package/dist/server/src/validators/api/controllers/admin.controller.validator.d.ts +36 -36
  44. package/dist/server/src/validators/repositories/comment.schema.d.ts +156 -0
  45. package/dist/server/src/validators/repositories/comment.validator.d.ts +16 -16
  46. package/dist/server/src/validators/repositories/reports.validator.d.ts +2709 -1149
  47. package/dist/server/src/validators/utils.d.ts +60 -60
  48. package/package.json +1 -1
  49. package/dist/_chunks/fr-DvC8Kjh_.js +0 -1
  50. package/dist/_chunks/index-C5ADhjCF.js +0 -18
  51. package/dist/_chunks/pl-DthJf26N.js +0 -1
  52. package/dist/_chunks/pt-BR-ByULlOKU.js +0 -1
  53. package/dist/_chunks/ru-DOajpZMF.js +0 -1
  54. package/dist/_chunks/zh-Hans-P1iGqMnb.js +0 -1
@@ -113,9 +113,9 @@ declare const relatedSchema: z.ZodIntersection<z.ZodObject<{
113
113
  locale?: string | null | undefined;
114
114
  }>, z.ZodRecord<z.ZodString, z.ZodUnknown>>;
115
115
  declare const authorSchema: z.ZodObject<{
116
- id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
116
+ id: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
117
117
  name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
118
- email: z.ZodString;
118
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
119
119
  avatar: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
120
120
  url: z.ZodString;
121
121
  }, "strip", z.ZodTypeAny, {
@@ -157,8 +157,8 @@ declare const authorSchema: z.ZodObject<{
157
157
  };
158
158
  }>, z.ZodString]>>>;
159
159
  }, "strip", z.ZodTypeAny, {
160
- email: string;
161
- id: string | number;
160
+ email?: string | null | undefined;
161
+ id?: string | number | null | undefined;
162
162
  name?: string | null | undefined;
163
163
  avatar?: string | {
164
164
  url: string;
@@ -171,8 +171,8 @@ declare const authorSchema: z.ZodObject<{
171
171
  };
172
172
  } | null | undefined;
173
173
  }, {
174
- email: string;
175
- id: string | number;
174
+ email?: string | null | undefined;
175
+ id?: string | number | null | undefined;
176
176
  name?: string | null | undefined;
177
177
  avatar?: string | {
178
178
  url: string;
@@ -241,10 +241,10 @@ declare const baseCommentSchema: z.ZodObject<{
241
241
  content: string;
242
242
  reason?: string | null | undefined;
243
243
  }>, "many">>>;
244
- author: z.ZodObject<{
245
- id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
244
+ author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
245
+ id: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
246
246
  name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
247
- email: z.ZodString;
247
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
248
248
  avatar: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
249
249
  url: z.ZodString;
250
250
  }, "strip", z.ZodTypeAny, {
@@ -286,8 +286,8 @@ declare const baseCommentSchema: z.ZodObject<{
286
286
  };
287
287
  }>, z.ZodString]>>>;
288
288
  }, "strip", z.ZodTypeAny, {
289
- email: string;
290
- id: string | number;
289
+ email?: string | null | undefined;
290
+ id?: string | number | null | undefined;
291
291
  name?: string | null | undefined;
292
292
  avatar?: string | {
293
293
  url: string;
@@ -300,8 +300,8 @@ declare const baseCommentSchema: z.ZodObject<{
300
300
  };
301
301
  } | null | undefined;
302
302
  }, {
303
- email: string;
304
- id: string | number;
303
+ email?: string | null | undefined;
304
+ id?: string | number | null | undefined;
305
305
  name?: string | null | undefined;
306
306
  avatar?: string | {
307
307
  url: string;
@@ -313,7 +313,7 @@ declare const baseCommentSchema: z.ZodObject<{
313
313
  } | null;
314
314
  };
315
315
  } | null | undefined;
316
- }>;
316
+ }>>>;
317
317
  gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
318
318
  threadFirstItemId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
319
319
  }, "strip", z.ZodTypeAny, {
@@ -327,9 +327,17 @@ declare const baseCommentSchema: z.ZodObject<{
327
327
  isAdminComment: boolean | null;
328
328
  removed: boolean | null;
329
329
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
330
- author: {
331
- email: string;
332
- id: string | number;
330
+ reports?: {
331
+ resolved: boolean;
332
+ id: number;
333
+ createdAt: string;
334
+ updatedAt: string | null;
335
+ content: string;
336
+ reason?: string | null | undefined;
337
+ }[] | null | undefined;
338
+ author?: {
339
+ email?: string | null | undefined;
340
+ id?: string | number | null | undefined;
333
341
  name?: string | null | undefined;
334
342
  avatar?: string | {
335
343
  url: string;
@@ -341,15 +349,7 @@ declare const baseCommentSchema: z.ZodObject<{
341
349
  } | null;
342
350
  };
343
351
  } | null | undefined;
344
- };
345
- reports?: {
346
- resolved: boolean;
347
- id: number;
348
- createdAt: string;
349
- updatedAt: string | null;
350
- content: string;
351
- reason?: string | null | undefined;
352
- }[] | null | undefined;
352
+ } | null | undefined;
353
353
  gotThread?: boolean | null | undefined;
354
354
  threadFirstItemId?: number | null | undefined;
355
355
  }, {
@@ -363,9 +363,17 @@ declare const baseCommentSchema: z.ZodObject<{
363
363
  isAdminComment: boolean | null;
364
364
  removed: boolean | null;
365
365
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
366
- author: {
367
- email: string;
368
- id: string | number;
366
+ reports?: {
367
+ resolved: boolean;
368
+ id: number;
369
+ createdAt: string;
370
+ updatedAt: string | null;
371
+ content: string;
372
+ reason?: string | null | undefined;
373
+ }[] | null | undefined;
374
+ author?: {
375
+ email?: string | null | undefined;
376
+ id?: string | number | null | undefined;
369
377
  name?: string | null | undefined;
370
378
  avatar?: string | {
371
379
  url: string;
@@ -377,15 +385,7 @@ declare const baseCommentSchema: z.ZodObject<{
377
385
  } | null;
378
386
  };
379
387
  } | null | undefined;
380
- };
381
- reports?: {
382
- resolved: boolean;
383
- id: number;
384
- createdAt: string;
385
- updatedAt: string | null;
386
- content: string;
387
- reason?: string | null | undefined;
388
- }[] | null | undefined;
388
+ } | null | undefined;
389
389
  gotThread?: boolean | null | undefined;
390
390
  threadFirstItemId?: number | null | undefined;
391
391
  }>;
@@ -490,10 +490,10 @@ export declare const commentDetailsSchema: z.ZodObject<{
490
490
  content: string;
491
491
  reason?: string | null | undefined;
492
492
  }>, "many">>>;
493
- author: z.ZodObject<{
494
- id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
493
+ author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
494
+ id: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
495
495
  name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
496
- email: z.ZodString;
496
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
497
497
  avatar: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
498
498
  url: z.ZodString;
499
499
  }, "strip", z.ZodTypeAny, {
@@ -535,8 +535,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
535
535
  };
536
536
  }>, z.ZodString]>>>;
537
537
  }, "strip", z.ZodTypeAny, {
538
- email: string;
539
- id: string | number;
538
+ email?: string | null | undefined;
539
+ id?: string | number | null | undefined;
540
540
  name?: string | null | undefined;
541
541
  avatar?: string | {
542
542
  url: string;
@@ -549,8 +549,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
549
549
  };
550
550
  } | null | undefined;
551
551
  }, {
552
- email: string;
553
- id: string | number;
552
+ email?: string | null | undefined;
553
+ id?: string | number | null | undefined;
554
554
  name?: string | null | undefined;
555
555
  avatar?: string | {
556
556
  url: string;
@@ -562,7 +562,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
562
562
  } | null;
563
563
  };
564
564
  } | null | undefined;
565
- }>;
565
+ }>>>;
566
566
  gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
567
567
  threadFirstItemId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
568
568
  } & {
@@ -600,10 +600,10 @@ export declare const commentDetailsSchema: z.ZodObject<{
600
600
  content: string;
601
601
  reason?: string | null | undefined;
602
602
  }>, "many">>>;
603
- author: z.ZodObject<{
604
- id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
603
+ author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
604
+ id: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
605
605
  name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
606
- email: z.ZodString;
606
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
607
607
  avatar: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
608
608
  url: z.ZodString;
609
609
  }, "strip", z.ZodTypeAny, {
@@ -645,8 +645,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
645
645
  };
646
646
  }>, z.ZodString]>>>;
647
647
  }, "strip", z.ZodTypeAny, {
648
- email: string;
649
- id: string | number;
648
+ email?: string | null | undefined;
649
+ id?: string | number | null | undefined;
650
650
  name?: string | null | undefined;
651
651
  avatar?: string | {
652
652
  url: string;
@@ -659,8 +659,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
659
659
  };
660
660
  } | null | undefined;
661
661
  }, {
662
- email: string;
663
- id: string | number;
662
+ email?: string | null | undefined;
663
+ id?: string | number | null | undefined;
664
664
  name?: string | null | undefined;
665
665
  avatar?: string | {
666
666
  url: string;
@@ -672,7 +672,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
672
672
  } | null;
673
673
  };
674
674
  } | null | undefined;
675
- }>;
675
+ }>>>;
676
676
  gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
677
677
  threadFirstItemId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
678
678
  } & {
@@ -735,10 +735,10 @@ export declare const commentDetailsSchema: z.ZodObject<{
735
735
  content: string;
736
736
  reason?: string | null | undefined;
737
737
  }>, "many">>>;
738
- author: z.ZodObject<{
739
- id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
738
+ author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
739
+ id: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
740
740
  name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
741
- email: z.ZodString;
741
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
742
742
  avatar: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
743
743
  url: z.ZodString;
744
744
  }, "strip", z.ZodTypeAny, {
@@ -780,8 +780,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
780
780
  };
781
781
  }>, z.ZodString]>>>;
782
782
  }, "strip", z.ZodTypeAny, {
783
- email: string;
784
- id: string | number;
783
+ email?: string | null | undefined;
784
+ id?: string | number | null | undefined;
785
785
  name?: string | null | undefined;
786
786
  avatar?: string | {
787
787
  url: string;
@@ -794,8 +794,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
794
794
  };
795
795
  } | null | undefined;
796
796
  }, {
797
- email: string;
798
- id: string | number;
797
+ email?: string | null | undefined;
798
+ id?: string | number | null | undefined;
799
799
  name?: string | null | undefined;
800
800
  avatar?: string | {
801
801
  url: string;
@@ -807,7 +807,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
807
807
  } | null;
808
808
  };
809
809
  } | null | undefined;
810
- }>;
810
+ }>>>;
811
811
  gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
812
812
  threadFirstItemId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
813
813
  } & {
@@ -825,9 +825,19 @@ export declare const commentDetailsSchema: z.ZodObject<{
825
825
  isAdminComment: boolean | null;
826
826
  removed: boolean | null;
827
827
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
828
- author: {
829
- email: string;
830
- id: string | number;
828
+ related: string;
829
+ documentId?: string | undefined;
830
+ reports?: {
831
+ resolved: boolean;
832
+ id: number;
833
+ createdAt: string;
834
+ updatedAt: string | null;
835
+ content: string;
836
+ reason?: string | null | undefined;
837
+ }[] | null | undefined;
838
+ author?: {
839
+ email?: string | null | undefined;
840
+ id?: string | number | null | undefined;
831
841
  name?: string | null | undefined;
832
842
  avatar?: string | {
833
843
  url: string;
@@ -839,17 +849,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
839
849
  } | null;
840
850
  };
841
851
  } | null | undefined;
842
- };
843
- related: string;
844
- documentId?: string | undefined;
845
- reports?: {
846
- resolved: boolean;
847
- id: number;
848
- createdAt: string;
849
- updatedAt: string | null;
850
- content: string;
851
- reason?: string | null | undefined;
852
- }[] | null | undefined;
852
+ } | null | undefined;
853
853
  gotThread?: boolean | null | undefined;
854
854
  threadFirstItemId?: number | null | undefined;
855
855
  threadOf?: Comment | null | undefined;
@@ -864,9 +864,19 @@ export declare const commentDetailsSchema: z.ZodObject<{
864
864
  isAdminComment: boolean | null;
865
865
  removed: boolean | null;
866
866
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
867
- author: {
868
- email: string;
869
- id: string | number;
867
+ related: string;
868
+ documentId?: string | undefined;
869
+ reports?: {
870
+ resolved: boolean;
871
+ id: number;
872
+ createdAt: string;
873
+ updatedAt: string | null;
874
+ content: string;
875
+ reason?: string | null | undefined;
876
+ }[] | null | undefined;
877
+ author?: {
878
+ email?: string | null | undefined;
879
+ id?: string | number | null | undefined;
870
880
  name?: string | null | undefined;
871
881
  avatar?: string | {
872
882
  url: string;
@@ -878,17 +888,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
878
888
  } | null;
879
889
  };
880
890
  } | null | undefined;
881
- };
882
- related: string;
883
- documentId?: string | undefined;
884
- reports?: {
885
- resolved: boolean;
886
- id: number;
887
- createdAt: string;
888
- updatedAt: string | null;
889
- content: string;
890
- reason?: string | null | undefined;
891
- }[] | null | undefined;
891
+ } | null | undefined;
892
892
  gotThread?: boolean | null | undefined;
893
893
  threadFirstItemId?: number | null | undefined;
894
894
  threadOf?: Comment | null | undefined;
@@ -907,9 +907,18 @@ export declare const commentDetailsSchema: z.ZodObject<{
907
907
  isAdminComment: boolean | null;
908
908
  removed: boolean | null;
909
909
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
910
- author: {
911
- email: string;
912
- id: string | number;
910
+ related: string;
911
+ reports?: {
912
+ resolved: boolean;
913
+ id: number;
914
+ createdAt: string;
915
+ updatedAt: string | null;
916
+ content: string;
917
+ reason?: string | null | undefined;
918
+ }[] | null | undefined;
919
+ author?: {
920
+ email?: string | null | undefined;
921
+ id?: string | number | null | undefined;
913
922
  name?: string | null | undefined;
914
923
  avatar?: string | {
915
924
  url: string;
@@ -921,16 +930,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
921
930
  } | null;
922
931
  };
923
932
  } | null | undefined;
924
- };
925
- related: string;
926
- reports?: {
927
- resolved: boolean;
928
- id: number;
929
- createdAt: string;
930
- updatedAt: string | null;
931
- content: string;
932
- reason?: string | null | undefined;
933
- }[] | null | undefined;
933
+ } | null | undefined;
934
934
  gotThread?: boolean | null | undefined;
935
935
  threadFirstItemId?: number | null | undefined;
936
936
  threadOf?: {
@@ -944,9 +944,19 @@ export declare const commentDetailsSchema: z.ZodObject<{
944
944
  isAdminComment: boolean | null;
945
945
  removed: boolean | null;
946
946
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
947
- author: {
948
- email: string;
949
- id: string | number;
947
+ related: string;
948
+ documentId?: string | undefined;
949
+ reports?: {
950
+ resolved: boolean;
951
+ id: number;
952
+ createdAt: string;
953
+ updatedAt: string | null;
954
+ content: string;
955
+ reason?: string | null | undefined;
956
+ }[] | null | undefined;
957
+ author?: {
958
+ email?: string | null | undefined;
959
+ id?: string | number | null | undefined;
950
960
  name?: string | null | undefined;
951
961
  avatar?: string | {
952
962
  url: string;
@@ -958,17 +968,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
958
968
  } | null;
959
969
  };
960
970
  } | null | undefined;
961
- };
962
- related: string;
963
- documentId?: string | undefined;
964
- reports?: {
965
- resolved: boolean;
966
- id: number;
967
- createdAt: string;
968
- updatedAt: string | null;
969
- content: string;
970
- reason?: string | null | undefined;
971
- }[] | null | undefined;
971
+ } | null | undefined;
972
972
  gotThread?: boolean | null | undefined;
973
973
  threadFirstItemId?: number | null | undefined;
974
974
  threadOf?: Comment | null | undefined;
@@ -985,9 +985,18 @@ export declare const commentDetailsSchema: z.ZodObject<{
985
985
  isAdminComment: boolean | null;
986
986
  removed: boolean | null;
987
987
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
988
- author: {
989
- email: string;
990
- id: string | number;
988
+ related: string;
989
+ reports?: {
990
+ resolved: boolean;
991
+ id: number;
992
+ createdAt: string;
993
+ updatedAt: string | null;
994
+ content: string;
995
+ reason?: string | null | undefined;
996
+ }[] | null | undefined;
997
+ author?: {
998
+ email?: string | null | undefined;
999
+ id?: string | number | null | undefined;
991
1000
  name?: string | null | undefined;
992
1001
  avatar?: string | {
993
1002
  url: string;
@@ -999,16 +1008,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
999
1008
  } | null;
1000
1009
  };
1001
1010
  } | null | undefined;
1002
- };
1003
- related: string;
1004
- reports?: {
1005
- resolved: boolean;
1006
- id: number;
1007
- createdAt: string;
1008
- updatedAt: string | null;
1009
- content: string;
1010
- reason?: string | null | undefined;
1011
- }[] | null | undefined;
1011
+ } | null | undefined;
1012
1012
  gotThread?: boolean | null | undefined;
1013
1013
  threadFirstItemId?: number | null | undefined;
1014
1014
  threadOf?: {
@@ -1022,9 +1022,19 @@ export declare const commentDetailsSchema: z.ZodObject<{
1022
1022
  isAdminComment: boolean | null;
1023
1023
  removed: boolean | null;
1024
1024
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
1025
- author: {
1026
- email: string;
1027
- id: string | number;
1025
+ related: string;
1026
+ documentId?: string | undefined;
1027
+ reports?: {
1028
+ resolved: boolean;
1029
+ id: number;
1030
+ createdAt: string;
1031
+ updatedAt: string | null;
1032
+ content: string;
1033
+ reason?: string | null | undefined;
1034
+ }[] | null | undefined;
1035
+ author?: {
1036
+ email?: string | null | undefined;
1037
+ id?: string | number | null | undefined;
1028
1038
  name?: string | null | undefined;
1029
1039
  avatar?: string | {
1030
1040
  url: string;
@@ -1036,17 +1046,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
1036
1046
  } | null;
1037
1047
  };
1038
1048
  } | null | undefined;
1039
- };
1040
- related: string;
1041
- documentId?: string | undefined;
1042
- reports?: {
1043
- resolved: boolean;
1044
- id: number;
1045
- createdAt: string;
1046
- updatedAt: string | null;
1047
- content: string;
1048
- reason?: string | null | undefined;
1049
- }[] | null | undefined;
1049
+ } | null | undefined;
1050
1050
  gotThread?: boolean | null | undefined;
1051
1051
  threadFirstItemId?: number | null | undefined;
1052
1052
  threadOf?: Comment | null | undefined;
@@ -1063,9 +1063,18 @@ export declare const commentDetailsSchema: z.ZodObject<{
1063
1063
  isAdminComment: boolean | null;
1064
1064
  removed: boolean | null;
1065
1065
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
1066
- author: {
1067
- email: string;
1068
- id: string | number;
1066
+ related: string;
1067
+ reports?: {
1068
+ resolved: boolean;
1069
+ id: number;
1070
+ createdAt: string;
1071
+ updatedAt: string | null;
1072
+ content: string;
1073
+ reason?: string | null | undefined;
1074
+ }[] | null | undefined;
1075
+ author?: {
1076
+ email?: string | null | undefined;
1077
+ id?: string | number | null | undefined;
1069
1078
  name?: string | null | undefined;
1070
1079
  avatar?: string | {
1071
1080
  url: string;
@@ -1077,16 +1086,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
1077
1086
  } | null;
1078
1087
  };
1079
1088
  } | null | undefined;
1080
- };
1081
- related: string;
1082
- reports?: {
1083
- resolved: boolean;
1084
- id: number;
1085
- createdAt: string;
1086
- updatedAt: string | null;
1087
- content: string;
1088
- reason?: string | null | undefined;
1089
- }[] | null | undefined;
1089
+ } | null | undefined;
1090
1090
  gotThread?: boolean | null | undefined;
1091
1091
  threadFirstItemId?: number | null | undefined;
1092
1092
  threadOf?: {
@@ -1101,9 +1101,18 @@ export declare const commentDetailsSchema: z.ZodObject<{
1101
1101
  isAdminComment: boolean | null;
1102
1102
  removed: boolean | null;
1103
1103
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
1104
- author: {
1105
- email: string;
1106
- id: string | number;
1104
+ related: string;
1105
+ reports?: {
1106
+ resolved: boolean;
1107
+ id: number;
1108
+ createdAt: string;
1109
+ updatedAt: string | null;
1110
+ content: string;
1111
+ reason?: string | null | undefined;
1112
+ }[] | null | undefined;
1113
+ author?: {
1114
+ email?: string | null | undefined;
1115
+ id?: string | number | null | undefined;
1107
1116
  name?: string | null | undefined;
1108
1117
  avatar?: string | {
1109
1118
  url: string;
@@ -1115,16 +1124,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
1115
1124
  } | null;
1116
1125
  };
1117
1126
  } | null | undefined;
1118
- };
1119
- related: string;
1120
- reports?: {
1121
- resolved: boolean;
1122
- id: number;
1123
- createdAt: string;
1124
- updatedAt: string | null;
1125
- content: string;
1126
- reason?: string | null | undefined;
1127
- }[] | null | undefined;
1127
+ } | null | undefined;
1128
1128
  gotThread?: boolean | null | undefined;
1129
1129
  threadFirstItemId?: number | null | undefined;
1130
1130
  threadOf?: {
@@ -1138,9 +1138,19 @@ export declare const commentDetailsSchema: z.ZodObject<{
1138
1138
  isAdminComment: boolean | null;
1139
1139
  removed: boolean | null;
1140
1140
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
1141
- author: {
1142
- email: string;
1143
- id: string | number;
1141
+ related: string;
1142
+ documentId?: string | undefined;
1143
+ reports?: {
1144
+ resolved: boolean;
1145
+ id: number;
1146
+ createdAt: string;
1147
+ updatedAt: string | null;
1148
+ content: string;
1149
+ reason?: string | null | undefined;
1150
+ }[] | null | undefined;
1151
+ author?: {
1152
+ email?: string | null | undefined;
1153
+ id?: string | number | null | undefined;
1144
1154
  name?: string | null | undefined;
1145
1155
  avatar?: string | {
1146
1156
  url: string;
@@ -1152,17 +1162,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
1152
1162
  } | null;
1153
1163
  };
1154
1164
  } | null | undefined;
1155
- };
1156
- related: string;
1157
- documentId?: string | undefined;
1158
- reports?: {
1159
- resolved: boolean;
1160
- id: number;
1161
- createdAt: string;
1162
- updatedAt: string | null;
1163
- content: string;
1164
- reason?: string | null | undefined;
1165
- }[] | null | undefined;
1165
+ } | null | undefined;
1166
1166
  gotThread?: boolean | null | undefined;
1167
1167
  threadFirstItemId?: number | null | undefined;
1168
1168
  threadOf?: Comment | null | undefined;
@@ -1179,9 +1179,18 @@ export declare const commentDetailsSchema: z.ZodObject<{
1179
1179
  isAdminComment: boolean | null;
1180
1180
  removed: boolean | null;
1181
1181
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
1182
- author: {
1183
- email: string;
1184
- id: string | number;
1182
+ related: string;
1183
+ reports?: {
1184
+ resolved: boolean;
1185
+ id: number;
1186
+ createdAt: string;
1187
+ updatedAt: string | null;
1188
+ content: string;
1189
+ reason?: string | null | undefined;
1190
+ }[] | null | undefined;
1191
+ author?: {
1192
+ email?: string | null | undefined;
1193
+ id?: string | number | null | undefined;
1185
1194
  name?: string | null | undefined;
1186
1195
  avatar?: string | {
1187
1196
  url: string;
@@ -1193,16 +1202,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
1193
1202
  } | null;
1194
1203
  };
1195
1204
  } | null | undefined;
1196
- };
1197
- related: string;
1198
- reports?: {
1199
- resolved: boolean;
1200
- id: number;
1201
- createdAt: string;
1202
- updatedAt: string | null;
1203
- content: string;
1204
- reason?: string | null | undefined;
1205
- }[] | null | undefined;
1205
+ } | null | undefined;
1206
1206
  gotThread?: boolean | null | undefined;
1207
1207
  threadFirstItemId?: number | null | undefined;
1208
1208
  threadOf?: {
@@ -1217,9 +1217,18 @@ export declare const commentDetailsSchema: z.ZodObject<{
1217
1217
  isAdminComment: boolean | null;
1218
1218
  removed: boolean | null;
1219
1219
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
1220
- author: {
1221
- email: string;
1222
- id: string | number;
1220
+ related: string;
1221
+ reports?: {
1222
+ resolved: boolean;
1223
+ id: number;
1224
+ createdAt: string;
1225
+ updatedAt: string | null;
1226
+ content: string;
1227
+ reason?: string | null | undefined;
1228
+ }[] | null | undefined;
1229
+ author?: {
1230
+ email?: string | null | undefined;
1231
+ id?: string | number | null | undefined;
1223
1232
  name?: string | null | undefined;
1224
1233
  avatar?: string | {
1225
1234
  url: string;
@@ -1231,16 +1240,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
1231
1240
  } | null;
1232
1241
  };
1233
1242
  } | null | undefined;
1234
- };
1235
- related: string;
1236
- reports?: {
1237
- resolved: boolean;
1238
- id: number;
1239
- createdAt: string;
1240
- updatedAt: string | null;
1241
- content: string;
1242
- reason?: string | null | undefined;
1243
- }[] | null | undefined;
1243
+ } | null | undefined;
1244
1244
  gotThread?: boolean | null | undefined;
1245
1245
  threadFirstItemId?: number | null | undefined;
1246
1246
  threadOf?: {
@@ -1254,9 +1254,19 @@ export declare const commentDetailsSchema: z.ZodObject<{
1254
1254
  isAdminComment: boolean | null;
1255
1255
  removed: boolean | null;
1256
1256
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
1257
- author: {
1258
- email: string;
1259
- id: string | number;
1257
+ related: string;
1258
+ documentId?: string | undefined;
1259
+ reports?: {
1260
+ resolved: boolean;
1261
+ id: number;
1262
+ createdAt: string;
1263
+ updatedAt: string | null;
1264
+ content: string;
1265
+ reason?: string | null | undefined;
1266
+ }[] | null | undefined;
1267
+ author?: {
1268
+ email?: string | null | undefined;
1269
+ id?: string | number | null | undefined;
1260
1270
  name?: string | null | undefined;
1261
1271
  avatar?: string | {
1262
1272
  url: string;
@@ -1268,17 +1278,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
1268
1278
  } | null;
1269
1279
  };
1270
1280
  } | null | undefined;
1271
- };
1272
- related: string;
1273
- documentId?: string | undefined;
1274
- reports?: {
1275
- resolved: boolean;
1276
- id: number;
1277
- createdAt: string;
1278
- updatedAt: string | null;
1279
- content: string;
1280
- reason?: string | null | undefined;
1281
- }[] | null | undefined;
1281
+ } | null | undefined;
1282
1282
  gotThread?: boolean | null | undefined;
1283
1283
  threadFirstItemId?: number | null | undefined;
1284
1284
  threadOf?: Comment | null | undefined;
@@ -1318,10 +1318,10 @@ export declare const commentDetailsSchema: z.ZodObject<{
1318
1318
  content: string;
1319
1319
  reason?: string | null | undefined;
1320
1320
  }>, "many">>>;
1321
- author: z.ZodObject<{
1322
- id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1321
+ author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1322
+ id: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
1323
1323
  name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1324
- email: z.ZodString;
1324
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1325
1325
  avatar: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
1326
1326
  url: z.ZodString;
1327
1327
  }, "strip", z.ZodTypeAny, {
@@ -1363,8 +1363,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
1363
1363
  };
1364
1364
  }>, z.ZodString]>>>;
1365
1365
  }, "strip", z.ZodTypeAny, {
1366
- email: string;
1367
- id: string | number;
1366
+ email?: string | null | undefined;
1367
+ id?: string | number | null | undefined;
1368
1368
  name?: string | null | undefined;
1369
1369
  avatar?: string | {
1370
1370
  url: string;
@@ -1377,8 +1377,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
1377
1377
  };
1378
1378
  } | null | undefined;
1379
1379
  }, {
1380
- email: string;
1381
- id: string | number;
1380
+ email?: string | null | undefined;
1381
+ id?: string | number | null | undefined;
1382
1382
  name?: string | null | undefined;
1383
1383
  avatar?: string | {
1384
1384
  url: string;
@@ -1390,7 +1390,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
1390
1390
  } | null;
1391
1391
  };
1392
1392
  } | null | undefined;
1393
- }>;
1393
+ }>>>;
1394
1394
  gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1395
1395
  threadFirstItemId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1396
1396
  } & {
@@ -1453,10 +1453,10 @@ export declare const commentDetailsSchema: z.ZodObject<{
1453
1453
  content: string;
1454
1454
  reason?: string | null | undefined;
1455
1455
  }>, "many">>>;
1456
- author: z.ZodObject<{
1457
- id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1456
+ author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1457
+ id: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
1458
1458
  name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1459
- email: z.ZodString;
1459
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1460
1460
  avatar: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
1461
1461
  url: z.ZodString;
1462
1462
  }, "strip", z.ZodTypeAny, {
@@ -1498,8 +1498,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
1498
1498
  };
1499
1499
  }>, z.ZodString]>>>;
1500
1500
  }, "strip", z.ZodTypeAny, {
1501
- email: string;
1502
- id: string | number;
1501
+ email?: string | null | undefined;
1502
+ id?: string | number | null | undefined;
1503
1503
  name?: string | null | undefined;
1504
1504
  avatar?: string | {
1505
1505
  url: string;
@@ -1512,8 +1512,8 @@ export declare const commentDetailsSchema: z.ZodObject<{
1512
1512
  };
1513
1513
  } | null | undefined;
1514
1514
  }, {
1515
- email: string;
1516
- id: string | number;
1515
+ email?: string | null | undefined;
1516
+ id?: string | number | null | undefined;
1517
1517
  name?: string | null | undefined;
1518
1518
  avatar?: string | {
1519
1519
  url: string;
@@ -1525,7 +1525,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
1525
1525
  } | null;
1526
1526
  };
1527
1527
  } | null | undefined;
1528
- }>;
1528
+ }>>>;
1529
1529
  gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1530
1530
  threadFirstItemId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1531
1531
  } & {
@@ -1543,9 +1543,19 @@ export declare const commentDetailsSchema: z.ZodObject<{
1543
1543
  isAdminComment: boolean | null;
1544
1544
  removed: boolean | null;
1545
1545
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
1546
- author: {
1547
- email: string;
1548
- id: string | number;
1546
+ related: string;
1547
+ documentId?: string | undefined;
1548
+ reports?: {
1549
+ resolved: boolean;
1550
+ id: number;
1551
+ createdAt: string;
1552
+ updatedAt: string | null;
1553
+ content: string;
1554
+ reason?: string | null | undefined;
1555
+ }[] | null | undefined;
1556
+ author?: {
1557
+ email?: string | null | undefined;
1558
+ id?: string | number | null | undefined;
1549
1559
  name?: string | null | undefined;
1550
1560
  avatar?: string | {
1551
1561
  url: string;
@@ -1557,17 +1567,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
1557
1567
  } | null;
1558
1568
  };
1559
1569
  } | null | undefined;
1560
- };
1561
- related: string;
1562
- documentId?: string | undefined;
1563
- reports?: {
1564
- resolved: boolean;
1565
- id: number;
1566
- createdAt: string;
1567
- updatedAt: string | null;
1568
- content: string;
1569
- reason?: string | null | undefined;
1570
- }[] | null | undefined;
1570
+ } | null | undefined;
1571
1571
  gotThread?: boolean | null | undefined;
1572
1572
  threadFirstItemId?: number | null | undefined;
1573
1573
  threadOf?: Comment | null | undefined;
@@ -1582,9 +1582,19 @@ export declare const commentDetailsSchema: z.ZodObject<{
1582
1582
  isAdminComment: boolean | null;
1583
1583
  removed: boolean | null;
1584
1584
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
1585
- author: {
1586
- email: string;
1587
- id: string | number;
1585
+ related: string;
1586
+ documentId?: string | undefined;
1587
+ reports?: {
1588
+ resolved: boolean;
1589
+ id: number;
1590
+ createdAt: string;
1591
+ updatedAt: string | null;
1592
+ content: string;
1593
+ reason?: string | null | undefined;
1594
+ }[] | null | undefined;
1595
+ author?: {
1596
+ email?: string | null | undefined;
1597
+ id?: string | number | null | undefined;
1588
1598
  name?: string | null | undefined;
1589
1599
  avatar?: string | {
1590
1600
  url: string;
@@ -1596,17 +1606,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
1596
1606
  } | null;
1597
1607
  };
1598
1608
  } | null | undefined;
1599
- };
1600
- related: string;
1601
- documentId?: string | undefined;
1602
- reports?: {
1603
- resolved: boolean;
1604
- id: number;
1605
- createdAt: string;
1606
- updatedAt: string | null;
1607
- content: string;
1608
- reason?: string | null | undefined;
1609
- }[] | null | undefined;
1609
+ } | null | undefined;
1610
1610
  gotThread?: boolean | null | undefined;
1611
1611
  threadFirstItemId?: number | null | undefined;
1612
1612
  threadOf?: Comment | null | undefined;
@@ -1623,9 +1623,17 @@ export declare const commentDetailsSchema: z.ZodObject<{
1623
1623
  isAdminComment: boolean | null;
1624
1624
  removed: boolean | null;
1625
1625
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
1626
- author: {
1627
- email: string;
1628
- id: string | number;
1626
+ reports?: {
1627
+ resolved: boolean;
1628
+ id: number;
1629
+ createdAt: string;
1630
+ updatedAt: string | null;
1631
+ content: string;
1632
+ reason?: string | null | undefined;
1633
+ }[] | null | undefined;
1634
+ author?: {
1635
+ email?: string | null | undefined;
1636
+ id?: string | number | null | undefined;
1629
1637
  name?: string | null | undefined;
1630
1638
  avatar?: string | {
1631
1639
  url: string;
@@ -1637,15 +1645,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
1637
1645
  } | null;
1638
1646
  };
1639
1647
  } | null | undefined;
1640
- };
1641
- reports?: {
1642
- resolved: boolean;
1643
- id: number;
1644
- createdAt: string;
1645
- updatedAt: string | null;
1646
- content: string;
1647
- reason?: string | null | undefined;
1648
- }[] | null | undefined;
1648
+ } | null | undefined;
1649
1649
  gotThread?: boolean | null | undefined;
1650
1650
  threadFirstItemId?: number | null | undefined;
1651
1651
  }, {
@@ -1660,9 +1660,17 @@ export declare const commentDetailsSchema: z.ZodObject<{
1660
1660
  isAdminComment: boolean | null;
1661
1661
  removed: boolean | null;
1662
1662
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
1663
- author: {
1664
- email: string;
1665
- id: string | number;
1663
+ reports?: {
1664
+ resolved: boolean;
1665
+ id: number;
1666
+ createdAt: string;
1667
+ updatedAt: string | null;
1668
+ content: string;
1669
+ reason?: string | null | undefined;
1670
+ }[] | null | undefined;
1671
+ author?: {
1672
+ email?: string | null | undefined;
1673
+ id?: string | number | null | undefined;
1666
1674
  name?: string | null | undefined;
1667
1675
  avatar?: string | {
1668
1676
  url: string;
@@ -1674,15 +1682,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
1674
1682
  } | null;
1675
1683
  };
1676
1684
  } | null | undefined;
1677
- };
1678
- reports?: {
1679
- resolved: boolean;
1680
- id: number;
1681
- createdAt: string;
1682
- updatedAt: string | null;
1683
- content: string;
1684
- reason?: string | null | undefined;
1685
- }[] | null | undefined;
1685
+ } | null | undefined;
1686
1686
  gotThread?: boolean | null | undefined;
1687
1687
  threadFirstItemId?: number | null | undefined;
1688
1688
  }>, "many">;
@@ -1707,9 +1707,18 @@ export declare const commentDetailsSchema: z.ZodObject<{
1707
1707
  isAdminComment: boolean | null;
1708
1708
  removed: boolean | null;
1709
1709
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
1710
- author: {
1711
- email: string;
1712
- id: string | number;
1710
+ related: string;
1711
+ reports?: {
1712
+ resolved: boolean;
1713
+ id: number;
1714
+ createdAt: string;
1715
+ updatedAt: string | null;
1716
+ content: string;
1717
+ reason?: string | null | undefined;
1718
+ }[] | null | undefined;
1719
+ author?: {
1720
+ email?: string | null | undefined;
1721
+ id?: string | number | null | undefined;
1713
1722
  name?: string | null | undefined;
1714
1723
  avatar?: string | {
1715
1724
  url: string;
@@ -1721,16 +1730,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
1721
1730
  } | null;
1722
1731
  };
1723
1732
  } | null | undefined;
1724
- };
1725
- related: string;
1726
- reports?: {
1727
- resolved: boolean;
1728
- id: number;
1729
- createdAt: string;
1730
- updatedAt: string | null;
1731
- content: string;
1732
- reason?: string | null | undefined;
1733
- }[] | null | undefined;
1733
+ } | null | undefined;
1734
1734
  gotThread?: boolean | null | undefined;
1735
1735
  threadFirstItemId?: number | null | undefined;
1736
1736
  threadOf?: {
@@ -1745,9 +1745,18 @@ export declare const commentDetailsSchema: z.ZodObject<{
1745
1745
  isAdminComment: boolean | null;
1746
1746
  removed: boolean | null;
1747
1747
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
1748
- author: {
1749
- email: string;
1750
- id: string | number;
1748
+ related: string;
1749
+ reports?: {
1750
+ resolved: boolean;
1751
+ id: number;
1752
+ createdAt: string;
1753
+ updatedAt: string | null;
1754
+ content: string;
1755
+ reason?: string | null | undefined;
1756
+ }[] | null | undefined;
1757
+ author?: {
1758
+ email?: string | null | undefined;
1759
+ id?: string | number | null | undefined;
1751
1760
  name?: string | null | undefined;
1752
1761
  avatar?: string | {
1753
1762
  url: string;
@@ -1759,16 +1768,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
1759
1768
  } | null;
1760
1769
  };
1761
1770
  } | null | undefined;
1762
- };
1763
- related: string;
1764
- reports?: {
1765
- resolved: boolean;
1766
- id: number;
1767
- createdAt: string;
1768
- updatedAt: string | null;
1769
- content: string;
1770
- reason?: string | null | undefined;
1771
- }[] | null | undefined;
1771
+ } | null | undefined;
1772
1772
  gotThread?: boolean | null | undefined;
1773
1773
  threadFirstItemId?: number | null | undefined;
1774
1774
  threadOf?: {
@@ -1782,9 +1782,19 @@ export declare const commentDetailsSchema: z.ZodObject<{
1782
1782
  isAdminComment: boolean | null;
1783
1783
  removed: boolean | null;
1784
1784
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
1785
- author: {
1786
- email: string;
1787
- id: string | number;
1785
+ related: string;
1786
+ documentId?: string | undefined;
1787
+ reports?: {
1788
+ resolved: boolean;
1789
+ id: number;
1790
+ createdAt: string;
1791
+ updatedAt: string | null;
1792
+ content: string;
1793
+ reason?: string | null | undefined;
1794
+ }[] | null | undefined;
1795
+ author?: {
1796
+ email?: string | null | undefined;
1797
+ id?: string | number | null | undefined;
1788
1798
  name?: string | null | undefined;
1789
1799
  avatar?: string | {
1790
1800
  url: string;
@@ -1796,17 +1806,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
1796
1806
  } | null;
1797
1807
  };
1798
1808
  } | null | undefined;
1799
- };
1800
- related: string;
1801
- documentId?: string | undefined;
1802
- reports?: {
1803
- resolved: boolean;
1804
- id: number;
1805
- createdAt: string;
1806
- updatedAt: string | null;
1807
- content: string;
1808
- reason?: string | null | undefined;
1809
- }[] | null | undefined;
1809
+ } | null | undefined;
1810
1810
  gotThread?: boolean | null | undefined;
1811
1811
  threadFirstItemId?: number | null | undefined;
1812
1812
  threadOf?: Comment | null | undefined;
@@ -1825,9 +1825,17 @@ export declare const commentDetailsSchema: z.ZodObject<{
1825
1825
  isAdminComment: boolean | null;
1826
1826
  removed: boolean | null;
1827
1827
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
1828
- author: {
1829
- email: string;
1830
- id: string | number;
1828
+ reports?: {
1829
+ resolved: boolean;
1830
+ id: number;
1831
+ createdAt: string;
1832
+ updatedAt: string | null;
1833
+ content: string;
1834
+ reason?: string | null | undefined;
1835
+ }[] | null | undefined;
1836
+ author?: {
1837
+ email?: string | null | undefined;
1838
+ id?: string | number | null | undefined;
1831
1839
  name?: string | null | undefined;
1832
1840
  avatar?: string | {
1833
1841
  url: string;
@@ -1839,15 +1847,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
1839
1847
  } | null;
1840
1848
  };
1841
1849
  } | null | undefined;
1842
- };
1843
- reports?: {
1844
- resolved: boolean;
1845
- id: number;
1846
- createdAt: string;
1847
- updatedAt: string | null;
1848
- content: string;
1849
- reason?: string | null | undefined;
1850
- }[] | null | undefined;
1850
+ } | null | undefined;
1851
1851
  gotThread?: boolean | null | undefined;
1852
1852
  threadFirstItemId?: number | null | undefined;
1853
1853
  }[];
@@ -1872,9 +1872,18 @@ export declare const commentDetailsSchema: z.ZodObject<{
1872
1872
  isAdminComment: boolean | null;
1873
1873
  removed: boolean | null;
1874
1874
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
1875
- author: {
1876
- email: string;
1877
- id: string | number;
1875
+ related: string;
1876
+ reports?: {
1877
+ resolved: boolean;
1878
+ id: number;
1879
+ createdAt: string;
1880
+ updatedAt: string | null;
1881
+ content: string;
1882
+ reason?: string | null | undefined;
1883
+ }[] | null | undefined;
1884
+ author?: {
1885
+ email?: string | null | undefined;
1886
+ id?: string | number | null | undefined;
1878
1887
  name?: string | null | undefined;
1879
1888
  avatar?: string | {
1880
1889
  url: string;
@@ -1886,16 +1895,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
1886
1895
  } | null;
1887
1896
  };
1888
1897
  } | null | undefined;
1889
- };
1890
- related: string;
1891
- reports?: {
1892
- resolved: boolean;
1893
- id: number;
1894
- createdAt: string;
1895
- updatedAt: string | null;
1896
- content: string;
1897
- reason?: string | null | undefined;
1898
- }[] | null | undefined;
1898
+ } | null | undefined;
1899
1899
  gotThread?: boolean | null | undefined;
1900
1900
  threadFirstItemId?: number | null | undefined;
1901
1901
  threadOf?: {
@@ -1910,9 +1910,18 @@ export declare const commentDetailsSchema: z.ZodObject<{
1910
1910
  isAdminComment: boolean | null;
1911
1911
  removed: boolean | null;
1912
1912
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
1913
- author: {
1914
- email: string;
1915
- id: string | number;
1913
+ related: string;
1914
+ reports?: {
1915
+ resolved: boolean;
1916
+ id: number;
1917
+ createdAt: string;
1918
+ updatedAt: string | null;
1919
+ content: string;
1920
+ reason?: string | null | undefined;
1921
+ }[] | null | undefined;
1922
+ author?: {
1923
+ email?: string | null | undefined;
1924
+ id?: string | number | null | undefined;
1916
1925
  name?: string | null | undefined;
1917
1926
  avatar?: string | {
1918
1927
  url: string;
@@ -1924,16 +1933,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
1924
1933
  } | null;
1925
1934
  };
1926
1935
  } | null | undefined;
1927
- };
1928
- related: string;
1929
- reports?: {
1930
- resolved: boolean;
1931
- id: number;
1932
- createdAt: string;
1933
- updatedAt: string | null;
1934
- content: string;
1935
- reason?: string | null | undefined;
1936
- }[] | null | undefined;
1936
+ } | null | undefined;
1937
1937
  gotThread?: boolean | null | undefined;
1938
1938
  threadFirstItemId?: number | null | undefined;
1939
1939
  threadOf?: {
@@ -1947,9 +1947,19 @@ export declare const commentDetailsSchema: z.ZodObject<{
1947
1947
  isAdminComment: boolean | null;
1948
1948
  removed: boolean | null;
1949
1949
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
1950
- author: {
1951
- email: string;
1952
- id: string | number;
1950
+ related: string;
1951
+ documentId?: string | undefined;
1952
+ reports?: {
1953
+ resolved: boolean;
1954
+ id: number;
1955
+ createdAt: string;
1956
+ updatedAt: string | null;
1957
+ content: string;
1958
+ reason?: string | null | undefined;
1959
+ }[] | null | undefined;
1960
+ author?: {
1961
+ email?: string | null | undefined;
1962
+ id?: string | number | null | undefined;
1953
1963
  name?: string | null | undefined;
1954
1964
  avatar?: string | {
1955
1965
  url: string;
@@ -1961,17 +1971,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
1961
1971
  } | null;
1962
1972
  };
1963
1973
  } | null | undefined;
1964
- };
1965
- related: string;
1966
- documentId?: string | undefined;
1967
- reports?: {
1968
- resolved: boolean;
1969
- id: number;
1970
- createdAt: string;
1971
- updatedAt: string | null;
1972
- content: string;
1973
- reason?: string | null | undefined;
1974
- }[] | null | undefined;
1974
+ } | null | undefined;
1975
1975
  gotThread?: boolean | null | undefined;
1976
1976
  threadFirstItemId?: number | null | undefined;
1977
1977
  threadOf?: Comment | null | undefined;
@@ -1990,9 +1990,17 @@ export declare const commentDetailsSchema: z.ZodObject<{
1990
1990
  isAdminComment: boolean | null;
1991
1991
  removed: boolean | null;
1992
1992
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
1993
- author: {
1994
- email: string;
1995
- id: string | number;
1993
+ reports?: {
1994
+ resolved: boolean;
1995
+ id: number;
1996
+ createdAt: string;
1997
+ updatedAt: string | null;
1998
+ content: string;
1999
+ reason?: string | null | undefined;
2000
+ }[] | null | undefined;
2001
+ author?: {
2002
+ email?: string | null | undefined;
2003
+ id?: string | number | null | undefined;
1996
2004
  name?: string | null | undefined;
1997
2005
  avatar?: string | {
1998
2006
  url: string;
@@ -2004,15 +2012,7 @@ export declare const commentDetailsSchema: z.ZodObject<{
2004
2012
  } | null;
2005
2013
  };
2006
2014
  } | null | undefined;
2007
- };
2008
- reports?: {
2009
- resolved: boolean;
2010
- id: number;
2011
- createdAt: string;
2012
- updatedAt: string | null;
2013
- content: string;
2014
- reason?: string | null | undefined;
2015
- }[] | null | undefined;
2015
+ } | null | undefined;
2016
2016
  gotThread?: boolean | null | undefined;
2017
2017
  threadFirstItemId?: number | null | undefined;
2018
2018
  }[];
@@ -2292,10 +2292,10 @@ export declare const reportSchema: z.ZodObject<{
2292
2292
  content: string;
2293
2293
  reason?: string | null | undefined;
2294
2294
  }>, "many">>>;
2295
- author: z.ZodObject<{
2296
- id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2295
+ author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2296
+ id: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
2297
2297
  name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2298
- email: z.ZodString;
2298
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2299
2299
  avatar: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
2300
2300
  url: z.ZodString;
2301
2301
  }, "strip", z.ZodTypeAny, {
@@ -2337,8 +2337,8 @@ export declare const reportSchema: z.ZodObject<{
2337
2337
  };
2338
2338
  }>, z.ZodString]>>>;
2339
2339
  }, "strip", z.ZodTypeAny, {
2340
- email: string;
2341
- id: string | number;
2340
+ email?: string | null | undefined;
2341
+ id?: string | number | null | undefined;
2342
2342
  name?: string | null | undefined;
2343
2343
  avatar?: string | {
2344
2344
  url: string;
@@ -2351,8 +2351,8 @@ export declare const reportSchema: z.ZodObject<{
2351
2351
  };
2352
2352
  } | null | undefined;
2353
2353
  }, {
2354
- email: string;
2355
- id: string | number;
2354
+ email?: string | null | undefined;
2355
+ id?: string | number | null | undefined;
2356
2356
  name?: string | null | undefined;
2357
2357
  avatar?: string | {
2358
2358
  url: string;
@@ -2364,7 +2364,7 @@ export declare const reportSchema: z.ZodObject<{
2364
2364
  } | null;
2365
2365
  };
2366
2366
  } | null | undefined;
2367
- }>;
2367
+ }>>>;
2368
2368
  gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2369
2369
  threadFirstItemId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2370
2370
  }, "strip", z.ZodTypeAny, {
@@ -2378,9 +2378,17 @@ export declare const reportSchema: z.ZodObject<{
2378
2378
  isAdminComment: boolean | null;
2379
2379
  removed: boolean | null;
2380
2380
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
2381
- author: {
2382
- email: string;
2383
- id: string | number;
2381
+ reports?: {
2382
+ resolved: boolean;
2383
+ id: number;
2384
+ createdAt: string;
2385
+ updatedAt: string | null;
2386
+ content: string;
2387
+ reason?: string | null | undefined;
2388
+ }[] | null | undefined;
2389
+ author?: {
2390
+ email?: string | null | undefined;
2391
+ id?: string | number | null | undefined;
2384
2392
  name?: string | null | undefined;
2385
2393
  avatar?: string | {
2386
2394
  url: string;
@@ -2392,15 +2400,7 @@ export declare const reportSchema: z.ZodObject<{
2392
2400
  } | null;
2393
2401
  };
2394
2402
  } | null | undefined;
2395
- };
2396
- reports?: {
2397
- resolved: boolean;
2398
- id: number;
2399
- createdAt: string;
2400
- updatedAt: string | null;
2401
- content: string;
2402
- reason?: string | null | undefined;
2403
- }[] | null | undefined;
2403
+ } | null | undefined;
2404
2404
  gotThread?: boolean | null | undefined;
2405
2405
  threadFirstItemId?: number | null | undefined;
2406
2406
  }, {
@@ -2414,9 +2414,17 @@ export declare const reportSchema: z.ZodObject<{
2414
2414
  isAdminComment: boolean | null;
2415
2415
  removed: boolean | null;
2416
2416
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
2417
- author: {
2418
- email: string;
2419
- id: string | number;
2417
+ reports?: {
2418
+ resolved: boolean;
2419
+ id: number;
2420
+ createdAt: string;
2421
+ updatedAt: string | null;
2422
+ content: string;
2423
+ reason?: string | null | undefined;
2424
+ }[] | null | undefined;
2425
+ author?: {
2426
+ email?: string | null | undefined;
2427
+ id?: string | number | null | undefined;
2420
2428
  name?: string | null | undefined;
2421
2429
  avatar?: string | {
2422
2430
  url: string;
@@ -2428,15 +2436,7 @@ export declare const reportSchema: z.ZodObject<{
2428
2436
  } | null;
2429
2437
  };
2430
2438
  } | null | undefined;
2431
- };
2432
- reports?: {
2433
- resolved: boolean;
2434
- id: number;
2435
- createdAt: string;
2436
- updatedAt: string | null;
2437
- content: string;
2438
- reason?: string | null | undefined;
2439
- }[] | null | undefined;
2439
+ } | null | undefined;
2440
2440
  gotThread?: boolean | null | undefined;
2441
2441
  threadFirstItemId?: number | null | undefined;
2442
2442
  }>;
@@ -2457,9 +2457,17 @@ export declare const reportSchema: z.ZodObject<{
2457
2457
  isAdminComment: boolean | null;
2458
2458
  removed: boolean | null;
2459
2459
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
2460
- author: {
2461
- email: string;
2462
- id: string | number;
2460
+ reports?: {
2461
+ resolved: boolean;
2462
+ id: number;
2463
+ createdAt: string;
2464
+ updatedAt: string | null;
2465
+ content: string;
2466
+ reason?: string | null | undefined;
2467
+ }[] | null | undefined;
2468
+ author?: {
2469
+ email?: string | null | undefined;
2470
+ id?: string | number | null | undefined;
2463
2471
  name?: string | null | undefined;
2464
2472
  avatar?: string | {
2465
2473
  url: string;
@@ -2471,15 +2479,7 @@ export declare const reportSchema: z.ZodObject<{
2471
2479
  } | null;
2472
2480
  };
2473
2481
  } | null | undefined;
2474
- };
2475
- reports?: {
2476
- resolved: boolean;
2477
- id: number;
2478
- createdAt: string;
2479
- updatedAt: string | null;
2480
- content: string;
2481
- reason?: string | null | undefined;
2482
- }[] | null | undefined;
2482
+ } | null | undefined;
2483
2483
  gotThread?: boolean | null | undefined;
2484
2484
  threadFirstItemId?: number | null | undefined;
2485
2485
  };
@@ -2504,9 +2504,17 @@ export declare const reportSchema: z.ZodObject<{
2504
2504
  isAdminComment: boolean | null;
2505
2505
  removed: boolean | null;
2506
2506
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
2507
- author: {
2508
- email: string;
2509
- id: string | number;
2507
+ reports?: {
2508
+ resolved: boolean;
2509
+ id: number;
2510
+ createdAt: string;
2511
+ updatedAt: string | null;
2512
+ content: string;
2513
+ reason?: string | null | undefined;
2514
+ }[] | null | undefined;
2515
+ author?: {
2516
+ email?: string | null | undefined;
2517
+ id?: string | number | null | undefined;
2510
2518
  name?: string | null | undefined;
2511
2519
  avatar?: string | {
2512
2520
  url: string;
@@ -2518,15 +2526,7 @@ export declare const reportSchema: z.ZodObject<{
2518
2526
  } | null;
2519
2527
  };
2520
2528
  } | null | undefined;
2521
- };
2522
- reports?: {
2523
- resolved: boolean;
2524
- id: number;
2525
- createdAt: string;
2526
- updatedAt: string | null;
2527
- content: string;
2528
- reason?: string | null | undefined;
2529
- }[] | null | undefined;
2529
+ } | null | undefined;
2530
2530
  gotThread?: boolean | null | undefined;
2531
2531
  threadFirstItemId?: number | null | undefined;
2532
2532
  };
@@ -2596,10 +2596,10 @@ export declare const reportsSchema: z.ZodObject<{
2596
2596
  content: string;
2597
2597
  reason?: string | null | undefined;
2598
2598
  }>, "many">>>;
2599
- author: z.ZodObject<{
2600
- id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
2599
+ author: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2600
+ id: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
2601
2601
  name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2602
- email: z.ZodString;
2602
+ email: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2603
2603
  avatar: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodObject<{
2604
2604
  url: z.ZodString;
2605
2605
  }, "strip", z.ZodTypeAny, {
@@ -2641,8 +2641,8 @@ export declare const reportsSchema: z.ZodObject<{
2641
2641
  };
2642
2642
  }>, z.ZodString]>>>;
2643
2643
  }, "strip", z.ZodTypeAny, {
2644
- email: string;
2645
- id: string | number;
2644
+ email?: string | null | undefined;
2645
+ id?: string | number | null | undefined;
2646
2646
  name?: string | null | undefined;
2647
2647
  avatar?: string | {
2648
2648
  url: string;
@@ -2655,8 +2655,8 @@ export declare const reportsSchema: z.ZodObject<{
2655
2655
  };
2656
2656
  } | null | undefined;
2657
2657
  }, {
2658
- email: string;
2659
- id: string | number;
2658
+ email?: string | null | undefined;
2659
+ id?: string | number | null | undefined;
2660
2660
  name?: string | null | undefined;
2661
2661
  avatar?: string | {
2662
2662
  url: string;
@@ -2668,7 +2668,7 @@ export declare const reportsSchema: z.ZodObject<{
2668
2668
  } | null;
2669
2669
  };
2670
2670
  } | null | undefined;
2671
- }>;
2671
+ }>>>;
2672
2672
  gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2673
2673
  threadFirstItemId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2674
2674
  }, "strip", z.ZodTypeAny, {
@@ -2682,9 +2682,17 @@ export declare const reportsSchema: z.ZodObject<{
2682
2682
  isAdminComment: boolean | null;
2683
2683
  removed: boolean | null;
2684
2684
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
2685
- author: {
2686
- email: string;
2687
- id: string | number;
2685
+ reports?: {
2686
+ resolved: boolean;
2687
+ id: number;
2688
+ createdAt: string;
2689
+ updatedAt: string | null;
2690
+ content: string;
2691
+ reason?: string | null | undefined;
2692
+ }[] | null | undefined;
2693
+ author?: {
2694
+ email?: string | null | undefined;
2695
+ id?: string | number | null | undefined;
2688
2696
  name?: string | null | undefined;
2689
2697
  avatar?: string | {
2690
2698
  url: string;
@@ -2696,15 +2704,7 @@ export declare const reportsSchema: z.ZodObject<{
2696
2704
  } | null;
2697
2705
  };
2698
2706
  } | null | undefined;
2699
- };
2700
- reports?: {
2701
- resolved: boolean;
2702
- id: number;
2703
- createdAt: string;
2704
- updatedAt: string | null;
2705
- content: string;
2706
- reason?: string | null | undefined;
2707
- }[] | null | undefined;
2707
+ } | null | undefined;
2708
2708
  gotThread?: boolean | null | undefined;
2709
2709
  threadFirstItemId?: number | null | undefined;
2710
2710
  }, {
@@ -2718,9 +2718,17 @@ export declare const reportsSchema: z.ZodObject<{
2718
2718
  isAdminComment: boolean | null;
2719
2719
  removed: boolean | null;
2720
2720
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
2721
- author: {
2722
- email: string;
2723
- id: string | number;
2721
+ reports?: {
2722
+ resolved: boolean;
2723
+ id: number;
2724
+ createdAt: string;
2725
+ updatedAt: string | null;
2726
+ content: string;
2727
+ reason?: string | null | undefined;
2728
+ }[] | null | undefined;
2729
+ author?: {
2730
+ email?: string | null | undefined;
2731
+ id?: string | number | null | undefined;
2724
2732
  name?: string | null | undefined;
2725
2733
  avatar?: string | {
2726
2734
  url: string;
@@ -2732,15 +2740,7 @@ export declare const reportsSchema: z.ZodObject<{
2732
2740
  } | null;
2733
2741
  };
2734
2742
  } | null | undefined;
2735
- };
2736
- reports?: {
2737
- resolved: boolean;
2738
- id: number;
2739
- createdAt: string;
2740
- updatedAt: string | null;
2741
- content: string;
2742
- reason?: string | null | undefined;
2743
- }[] | null | undefined;
2743
+ } | null | undefined;
2744
2744
  gotThread?: boolean | null | undefined;
2745
2745
  threadFirstItemId?: number | null | undefined;
2746
2746
  }>;
@@ -2761,9 +2761,17 @@ export declare const reportsSchema: z.ZodObject<{
2761
2761
  isAdminComment: boolean | null;
2762
2762
  removed: boolean | null;
2763
2763
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
2764
- author: {
2765
- email: string;
2766
- id: string | number;
2764
+ reports?: {
2765
+ resolved: boolean;
2766
+ id: number;
2767
+ createdAt: string;
2768
+ updatedAt: string | null;
2769
+ content: string;
2770
+ reason?: string | null | undefined;
2771
+ }[] | null | undefined;
2772
+ author?: {
2773
+ email?: string | null | undefined;
2774
+ id?: string | number | null | undefined;
2767
2775
  name?: string | null | undefined;
2768
2776
  avatar?: string | {
2769
2777
  url: string;
@@ -2775,15 +2783,7 @@ export declare const reportsSchema: z.ZodObject<{
2775
2783
  } | null;
2776
2784
  };
2777
2785
  } | null | undefined;
2778
- };
2779
- reports?: {
2780
- resolved: boolean;
2781
- id: number;
2782
- createdAt: string;
2783
- updatedAt: string | null;
2784
- content: string;
2785
- reason?: string | null | undefined;
2786
- }[] | null | undefined;
2786
+ } | null | undefined;
2787
2787
  gotThread?: boolean | null | undefined;
2788
2788
  threadFirstItemId?: number | null | undefined;
2789
2789
  };
@@ -2808,9 +2808,17 @@ export declare const reportsSchema: z.ZodObject<{
2808
2808
  isAdminComment: boolean | null;
2809
2809
  removed: boolean | null;
2810
2810
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
2811
- author: {
2812
- email: string;
2813
- id: string | number;
2811
+ reports?: {
2812
+ resolved: boolean;
2813
+ id: number;
2814
+ createdAt: string;
2815
+ updatedAt: string | null;
2816
+ content: string;
2817
+ reason?: string | null | undefined;
2818
+ }[] | null | undefined;
2819
+ author?: {
2820
+ email?: string | null | undefined;
2821
+ id?: string | number | null | undefined;
2814
2822
  name?: string | null | undefined;
2815
2823
  avatar?: string | {
2816
2824
  url: string;
@@ -2822,15 +2830,7 @@ export declare const reportsSchema: z.ZodObject<{
2822
2830
  } | null;
2823
2831
  };
2824
2832
  } | null | undefined;
2825
- };
2826
- reports?: {
2827
- resolved: boolean;
2828
- id: number;
2829
- createdAt: string;
2830
- updatedAt: string | null;
2831
- content: string;
2832
- reason?: string | null | undefined;
2833
- }[] | null | undefined;
2833
+ } | null | undefined;
2834
2834
  gotThread?: boolean | null | undefined;
2835
2835
  threadFirstItemId?: number | null | undefined;
2836
2836
  };
@@ -2863,9 +2863,17 @@ export declare const reportsSchema: z.ZodObject<{
2863
2863
  isAdminComment: boolean | null;
2864
2864
  removed: boolean | null;
2865
2865
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
2866
- author: {
2867
- email: string;
2868
- id: string | number;
2866
+ reports?: {
2867
+ resolved: boolean;
2868
+ id: number;
2869
+ createdAt: string;
2870
+ updatedAt: string | null;
2871
+ content: string;
2872
+ reason?: string | null | undefined;
2873
+ }[] | null | undefined;
2874
+ author?: {
2875
+ email?: string | null | undefined;
2876
+ id?: string | number | null | undefined;
2869
2877
  name?: string | null | undefined;
2870
2878
  avatar?: string | {
2871
2879
  url: string;
@@ -2877,15 +2885,7 @@ export declare const reportsSchema: z.ZodObject<{
2877
2885
  } | null;
2878
2886
  };
2879
2887
  } | null | undefined;
2880
- };
2881
- reports?: {
2882
- resolved: boolean;
2883
- id: number;
2884
- createdAt: string;
2885
- updatedAt: string | null;
2886
- content: string;
2887
- reason?: string | null | undefined;
2888
- }[] | null | undefined;
2888
+ } | null | undefined;
2889
2889
  gotThread?: boolean | null | undefined;
2890
2890
  threadFirstItemId?: number | null | undefined;
2891
2891
  };
@@ -2918,9 +2918,17 @@ export declare const reportsSchema: z.ZodObject<{
2918
2918
  isAdminComment: boolean | null;
2919
2919
  removed: boolean | null;
2920
2920
  approvalStatus: "PENDING" | "APPROVED" | "REJECTED" | "BLOCKED" | "OPEN" | "REMOVED" | "TO_REVIEW" | "UNKNOWN" | null;
2921
- author: {
2922
- email: string;
2923
- id: string | number;
2921
+ reports?: {
2922
+ resolved: boolean;
2923
+ id: number;
2924
+ createdAt: string;
2925
+ updatedAt: string | null;
2926
+ content: string;
2927
+ reason?: string | null | undefined;
2928
+ }[] | null | undefined;
2929
+ author?: {
2930
+ email?: string | null | undefined;
2931
+ id?: string | number | null | undefined;
2924
2932
  name?: string | null | undefined;
2925
2933
  avatar?: string | {
2926
2934
  url: string;
@@ -2932,15 +2940,7 @@ export declare const reportsSchema: z.ZodObject<{
2932
2940
  } | null;
2933
2941
  };
2934
2942
  } | null | undefined;
2935
- };
2936
- reports?: {
2937
- resolved: boolean;
2938
- id: number;
2939
- createdAt: string;
2940
- updatedAt: string | null;
2941
- content: string;
2942
- reason?: string | null | undefined;
2943
- }[] | null | undefined;
2943
+ } | null | undefined;
2944
2944
  gotThread?: boolean | null | undefined;
2945
2945
  threadFirstItemId?: number | null | undefined;
2946
2946
  };
@@ -3017,7 +3017,7 @@ export declare const userSchema: z.ZodObject<{
3017
3017
  id: z.ZodNumber;
3018
3018
  documentId: z.ZodString;
3019
3019
  firstname: z.ZodString;
3020
- lastname: z.ZodString;
3020
+ lastname: z.ZodNullable<z.ZodString>;
3021
3021
  username: z.ZodNullable<z.ZodString>;
3022
3022
  email: z.ZodString;
3023
3023
  isActive: z.ZodBoolean;
@@ -3053,7 +3053,7 @@ export declare const userSchema: z.ZodObject<{
3053
3053
  locale: null;
3054
3054
  blocked: boolean;
3055
3055
  firstname: string;
3056
- lastname: string;
3056
+ lastname: string | null;
3057
3057
  username: string | null;
3058
3058
  isActive: boolean;
3059
3059
  preferedLanguage: string | null;
@@ -3073,7 +3073,7 @@ export declare const userSchema: z.ZodObject<{
3073
3073
  locale: null;
3074
3074
  blocked: boolean;
3075
3075
  firstname: string;
3076
- lastname: string;
3076
+ lastname: string | null;
3077
3077
  username: string | null;
3078
3078
  isActive: boolean;
3079
3079
  preferedLanguage: string | null;
@@ -3095,7 +3095,7 @@ export declare const userSchema: z.ZodObject<{
3095
3095
  locale: null;
3096
3096
  blocked: boolean;
3097
3097
  firstname: string;
3098
- lastname: string;
3098
+ lastname: string | null;
3099
3099
  username: string | null;
3100
3100
  isActive: boolean;
3101
3101
  preferedLanguage: string | null;
@@ -3117,7 +3117,7 @@ export declare const userSchema: z.ZodObject<{
3117
3117
  locale: null;
3118
3118
  blocked: boolean;
3119
3119
  firstname: string;
3120
- lastname: string;
3120
+ lastname: string | null;
3121
3121
  username: string | null;
3122
3122
  isActive: boolean;
3123
3123
  preferedLanguage: string | null;