strapi-plugin-comments 3.0.0-beta.1 → 3.0.1
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/README.md +81 -122
- package/dist/_chunks/{index-D3iNqWZT.mjs → index-BC5Odn17.mjs} +5 -5
- package/dist/_chunks/{index-BBcsmSTs.mjs → index-BIorFYba.mjs} +448 -256
- package/dist/_chunks/{index-Bcck91A8.js → index-COoWcAcA.js} +1290 -1144
- package/dist/_chunks/{index-CY_AVWS-.js → index-Ccb93U47.js} +445 -253
- package/dist/_chunks/{index-D9MOkoQ2.mjs → index-D1DAMkhj.mjs} +20 -26
- package/dist/_chunks/{index-BFPteXuP.js → index-R1krliyC.js} +5 -5
- package/dist/_chunks/{index-DJ32APz-.mjs → index-_exHAK6u.mjs} +1290 -1144
- package/dist/_chunks/{index-BXEk5PWx.js → index-k7z0V0lj.js} +20 -26
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/src/api/client.d.ts +30 -50
- package/dist/admin/src/api/schemas.d.ts +432 -756
- package/dist/admin/src/components/UserAvatar/index.d.ts +1 -1
- package/dist/admin/src/hooks/useAPI.d.ts +30 -50
- package/dist/admin/src/hooks/useCommentsAll.d.ts +6 -10
- package/dist/admin/src/hooks/useReports.d.ts +6 -10
- package/dist/server/index.js +212 -157
- package/dist/server/index.mjs +212 -157
- package/dist/server/src/{@types-v5 → @types}/utils.d.ts +4 -0
- package/dist/server/src/bootstrap.d.ts +1 -1
- package/dist/server/src/config/index.d.ts +30 -0
- package/dist/server/src/content-types/index.d.ts +1 -1
- package/dist/server/src/controllers/admin.controller.d.ts +108 -29
- package/dist/server/src/controllers/client.controller.d.ts +121 -24
- package/dist/server/src/controllers/index.d.ts +300 -88
- package/dist/server/src/controllers/settings.controller.d.ts +33 -1
- package/dist/server/src/graphql/index.d.ts +1 -1
- package/dist/server/src/graphql/mutations/getCreateAbuseReport.d.ts +10 -4
- package/dist/server/src/graphql/mutations/getCreateComment.d.ts +10 -4
- package/dist/server/src/graphql/mutations/getRemoveComment.d.ts +10 -4
- package/dist/server/src/graphql/mutations/getUpdateComment.d.ts +10 -4
- package/dist/server/src/graphql/mutations/index.d.ts +2 -2
- package/dist/server/src/graphql/queries/findAllFlat.d.ts +18 -6
- package/dist/server/src/graphql/queries/findAllInHierarchy.d.ts +10 -4
- package/dist/server/src/graphql/queries/findAllPerAuthor.d.ts +18 -6
- package/dist/server/src/graphql/queries/index.d.ts +2 -2
- package/dist/server/src/graphql/types/getComment.d.ts +1 -1
- package/dist/server/src/graphql/types/getCommentAuthor.d.ts +1 -1
- package/dist/server/src/graphql/types/getCommentAuthorType.d.ts +1 -1
- package/dist/server/src/graphql/types/getCommentNested.d.ts +1 -1
- package/dist/server/src/graphql/types/getCreateComment.d.ts +1 -1
- package/dist/server/src/graphql/types/getCreateCommentAuthor.d.ts +1 -1
- package/dist/server/src/graphql/types/getCreateReport.d.ts +1 -1
- package/dist/server/src/graphql/types/getId.d.ts +1 -1
- package/dist/server/src/graphql/types/getIdentityAuthor.d.ts +1 -1
- package/dist/server/src/graphql/types/getRemoveComment.d.ts +1 -1
- package/dist/server/src/graphql/types/getReport.d.ts +1 -1
- package/dist/server/src/graphql/types/getReportReason.d.ts +1 -1
- package/dist/server/src/graphql/types/getResponseFindAll.d.ts +1 -1
- package/dist/server/src/graphql/types/getResponseFindAllPerAuthor.d.ts +1 -1
- package/dist/server/src/graphql/types/getResponseMeta.d.ts +1 -1
- package/dist/server/src/graphql/types/getResponsePagination.d.ts +1 -1
- package/dist/server/src/graphql/types/getUpdateComment.d.ts +1 -1
- package/dist/server/src/graphql/types/index.d.ts +1 -1
- package/dist/server/src/index.d.ts +931 -315
- package/dist/server/src/register/custom-fields/index.d.ts +1 -1
- package/dist/server/src/register/index.d.ts +1 -1
- package/dist/server/src/repositories/comment.repository.d.ts +10 -1
- package/dist/server/src/repositories/index.d.ts +0 -2
- package/dist/server/src/repositories/report.comment.repository.d.ts +38 -1
- package/dist/server/src/repositories/store.repository.d.ts +159 -3
- package/dist/server/src/repositories/utils.d.ts +1 -3
- package/dist/server/src/routes/admin.routes.d.ts +1 -1
- package/dist/server/src/routes/client.routes.d.ts +1 -1
- package/dist/server/src/routes/index.d.ts +2 -2
- package/dist/server/src/services/admin/admin.service.d.ts +232 -78
- package/dist/server/src/services/admin/utils.d.ts +1 -1
- package/dist/server/src/services/client.service.d.ts +178 -67
- package/dist/server/src/services/common.service.d.ts +60 -19
- package/dist/server/src/services/gql.service.d.ts +1 -1
- package/dist/server/src/services/index.d.ts +615 -223
- package/dist/server/src/services/settings.service.d.ts +25 -1
- package/dist/server/src/services/utils/functions.d.ts +1 -3
- package/dist/server/src/test/utils.d.ts +1 -0
- package/dist/server/src/utils/constants.d.ts +1 -1
- package/dist/server/src/utils/getConfig.d.ts +2 -2
- package/dist/server/src/utils/getPluginService.d.ts +2 -2
- package/dist/server/src/utils/throwError.d.ts +1 -1
- package/dist/server/src/validators/api/controllers/client.controller.validator.d.ts +16 -9
- package/dist/server/src/validators/api/controllers/settings.controller.validator.d.ts +4 -0
- package/dist/server/src/validators/repositories/comment.schema.d.ts +18 -3
- package/dist/server/src/validators/repositories/comment.validator.d.ts +384 -72
- package/dist/server/src/validators/repositories/reports.validator.d.ts +60 -18
- package/dist/server/src/validators/utils.d.ts +1 -1
- package/package.json +18 -12
- /package/dist/server/src/{@types-v5 → @types}/controllers.d.ts +0 -0
- /package/dist/server/src/{@types-v5 → @types}/index.d.ts +0 -0
- /package/dist/server/src/{@types-v5 → @types}/repositories.d.ts +0 -0
- /package/dist/server/src/{@types-v5 → @types}/routes.d.ts +0 -0
|
@@ -17,7 +17,16 @@ declare const commentSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
17
17
|
authorName: z.ZodNullable<z.ZodString>;
|
|
18
18
|
authorEmail: z.ZodNullable<z.ZodString>;
|
|
19
19
|
authorAvatar: z.ZodNullable<z.ZodString>;
|
|
20
|
-
authorUser: z.ZodNullable<z.ZodOptional<z.ZodString
|
|
20
|
+
authorUser: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
21
|
+
id: z.ZodNumber;
|
|
22
|
+
email: z.ZodString;
|
|
23
|
+
}, "strip", z.ZodTypeAny, {
|
|
24
|
+
id?: number;
|
|
25
|
+
email?: string;
|
|
26
|
+
}, {
|
|
27
|
+
id?: number;
|
|
28
|
+
email?: string;
|
|
29
|
+
}>]>>>;
|
|
21
30
|
locale: z.ZodNullable<z.ZodString>;
|
|
22
31
|
}, {
|
|
23
32
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -73,7 +82,16 @@ declare const commentSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
73
82
|
authorName: z.ZodNullable<z.ZodString>;
|
|
74
83
|
authorEmail: z.ZodNullable<z.ZodString>;
|
|
75
84
|
authorAvatar: z.ZodNullable<z.ZodString>;
|
|
76
|
-
authorUser: z.ZodNullable<z.ZodOptional<z.ZodString
|
|
85
|
+
authorUser: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
86
|
+
id: z.ZodNumber;
|
|
87
|
+
email: z.ZodString;
|
|
88
|
+
}, "strip", z.ZodTypeAny, {
|
|
89
|
+
id?: number;
|
|
90
|
+
email?: string;
|
|
91
|
+
}, {
|
|
92
|
+
id?: number;
|
|
93
|
+
email?: string;
|
|
94
|
+
}>]>>>;
|
|
77
95
|
locale: z.ZodNullable<z.ZodString>;
|
|
78
96
|
}, {
|
|
79
97
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -128,7 +146,10 @@ declare const commentSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
128
146
|
authorName?: string;
|
|
129
147
|
authorEmail?: string;
|
|
130
148
|
authorAvatar?: string;
|
|
131
|
-
authorUser?: string
|
|
149
|
+
authorUser?: string | {
|
|
150
|
+
id?: number;
|
|
151
|
+
email?: string;
|
|
152
|
+
};
|
|
132
153
|
locale?: string;
|
|
133
154
|
gotThread?: boolean;
|
|
134
155
|
threadFirstItemId?: number;
|
|
@@ -162,7 +183,10 @@ declare const commentSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
162
183
|
authorName?: string;
|
|
163
184
|
authorEmail?: string;
|
|
164
185
|
authorAvatar?: string;
|
|
165
|
-
authorUser?: string
|
|
186
|
+
authorUser?: string | {
|
|
187
|
+
id?: number;
|
|
188
|
+
email?: string;
|
|
189
|
+
};
|
|
166
190
|
locale?: string;
|
|
167
191
|
gotThread?: boolean;
|
|
168
192
|
threadFirstItemId?: number;
|
|
@@ -197,7 +221,10 @@ declare const commentSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
197
221
|
authorName?: string;
|
|
198
222
|
authorEmail?: string;
|
|
199
223
|
authorAvatar?: string;
|
|
200
|
-
authorUser?: string
|
|
224
|
+
authorUser?: string | {
|
|
225
|
+
id?: number;
|
|
226
|
+
email?: string;
|
|
227
|
+
};
|
|
201
228
|
locale?: string;
|
|
202
229
|
gotThread?: boolean;
|
|
203
230
|
threadFirstItemId?: number;
|
|
@@ -231,7 +258,10 @@ declare const commentSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
231
258
|
authorName?: string;
|
|
232
259
|
authorEmail?: string;
|
|
233
260
|
authorAvatar?: string;
|
|
234
|
-
authorUser?: string
|
|
261
|
+
authorUser?: string | {
|
|
262
|
+
id?: number;
|
|
263
|
+
email?: string;
|
|
264
|
+
};
|
|
235
265
|
locale?: string;
|
|
236
266
|
gotThread?: boolean;
|
|
237
267
|
threadFirstItemId?: number;
|
|
@@ -266,7 +296,10 @@ declare const commentSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
266
296
|
authorName?: string;
|
|
267
297
|
authorEmail?: string;
|
|
268
298
|
authorAvatar?: string;
|
|
269
|
-
authorUser?: string
|
|
299
|
+
authorUser?: string | {
|
|
300
|
+
id?: number;
|
|
301
|
+
email?: string;
|
|
302
|
+
};
|
|
270
303
|
locale?: string;
|
|
271
304
|
gotThread?: boolean;
|
|
272
305
|
threadFirstItemId?: number;
|
|
@@ -300,7 +333,10 @@ declare const commentSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
300
333
|
authorName?: string;
|
|
301
334
|
authorEmail?: string;
|
|
302
335
|
authorAvatar?: string;
|
|
303
|
-
authorUser?: string
|
|
336
|
+
authorUser?: string | {
|
|
337
|
+
id?: number;
|
|
338
|
+
email?: string;
|
|
339
|
+
};
|
|
304
340
|
locale?: string;
|
|
305
341
|
gotThread?: boolean;
|
|
306
342
|
threadFirstItemId?: number;
|
|
@@ -356,7 +392,16 @@ declare const commentWithRelatedSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
356
392
|
authorName: z.ZodNullable<z.ZodString>;
|
|
357
393
|
authorEmail: z.ZodNullable<z.ZodString>;
|
|
358
394
|
authorAvatar: z.ZodNullable<z.ZodString>;
|
|
359
|
-
authorUser: z.ZodNullable<z.ZodOptional<z.ZodString
|
|
395
|
+
authorUser: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
396
|
+
id: z.ZodNumber;
|
|
397
|
+
email: z.ZodString;
|
|
398
|
+
}, "strip", z.ZodTypeAny, {
|
|
399
|
+
id?: number;
|
|
400
|
+
email?: string;
|
|
401
|
+
}, {
|
|
402
|
+
id?: number;
|
|
403
|
+
email?: string;
|
|
404
|
+
}>]>>>;
|
|
360
405
|
locale: z.ZodNullable<z.ZodString>;
|
|
361
406
|
}, {
|
|
362
407
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -412,7 +457,16 @@ declare const commentWithRelatedSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
412
457
|
authorName: z.ZodNullable<z.ZodString>;
|
|
413
458
|
authorEmail: z.ZodNullable<z.ZodString>;
|
|
414
459
|
authorAvatar: z.ZodNullable<z.ZodString>;
|
|
415
|
-
authorUser: z.ZodNullable<z.ZodOptional<z.ZodString
|
|
460
|
+
authorUser: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
461
|
+
id: z.ZodNumber;
|
|
462
|
+
email: z.ZodString;
|
|
463
|
+
}, "strip", z.ZodTypeAny, {
|
|
464
|
+
id?: number;
|
|
465
|
+
email?: string;
|
|
466
|
+
}, {
|
|
467
|
+
id?: number;
|
|
468
|
+
email?: string;
|
|
469
|
+
}>]>>>;
|
|
416
470
|
locale: z.ZodNullable<z.ZodString>;
|
|
417
471
|
}, {
|
|
418
472
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -467,7 +521,10 @@ declare const commentWithRelatedSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
467
521
|
authorName?: string;
|
|
468
522
|
authorEmail?: string;
|
|
469
523
|
authorAvatar?: string;
|
|
470
|
-
authorUser?: string
|
|
524
|
+
authorUser?: string | {
|
|
525
|
+
id?: number;
|
|
526
|
+
email?: string;
|
|
527
|
+
};
|
|
471
528
|
locale?: string;
|
|
472
529
|
gotThread?: boolean;
|
|
473
530
|
threadFirstItemId?: number;
|
|
@@ -501,7 +558,10 @@ declare const commentWithRelatedSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
501
558
|
authorName?: string;
|
|
502
559
|
authorEmail?: string;
|
|
503
560
|
authorAvatar?: string;
|
|
504
|
-
authorUser?: string
|
|
561
|
+
authorUser?: string | {
|
|
562
|
+
id?: number;
|
|
563
|
+
email?: string;
|
|
564
|
+
};
|
|
505
565
|
locale?: string;
|
|
506
566
|
gotThread?: boolean;
|
|
507
567
|
threadFirstItemId?: number;
|
|
@@ -562,7 +622,10 @@ declare const commentWithRelatedSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
562
622
|
authorName?: string;
|
|
563
623
|
authorEmail?: string;
|
|
564
624
|
authorAvatar?: string;
|
|
565
|
-
authorUser?: string
|
|
625
|
+
authorUser?: string | {
|
|
626
|
+
id?: number;
|
|
627
|
+
email?: string;
|
|
628
|
+
};
|
|
566
629
|
locale?: string;
|
|
567
630
|
gotThread?: boolean;
|
|
568
631
|
threadFirstItemId?: number;
|
|
@@ -596,7 +659,10 @@ declare const commentWithRelatedSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
596
659
|
authorName?: string;
|
|
597
660
|
authorEmail?: string;
|
|
598
661
|
authorAvatar?: string;
|
|
599
|
-
authorUser?: string
|
|
662
|
+
authorUser?: string | {
|
|
663
|
+
id?: number;
|
|
664
|
+
email?: string;
|
|
665
|
+
};
|
|
600
666
|
locale?: string;
|
|
601
667
|
gotThread?: boolean;
|
|
602
668
|
threadFirstItemId?: number;
|
|
@@ -637,7 +703,10 @@ declare const commentWithRelatedSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
637
703
|
authorName?: string;
|
|
638
704
|
authorEmail?: string;
|
|
639
705
|
authorAvatar?: string;
|
|
640
|
-
authorUser?: string
|
|
706
|
+
authorUser?: string | {
|
|
707
|
+
id?: number;
|
|
708
|
+
email?: string;
|
|
709
|
+
};
|
|
641
710
|
locale?: string;
|
|
642
711
|
gotThread?: boolean;
|
|
643
712
|
threadFirstItemId?: number;
|
|
@@ -671,7 +740,10 @@ declare const commentWithRelatedSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
671
740
|
authorName?: string;
|
|
672
741
|
authorEmail?: string;
|
|
673
742
|
authorAvatar?: string;
|
|
674
|
-
authorUser?: string
|
|
743
|
+
authorUser?: string | {
|
|
744
|
+
id?: number;
|
|
745
|
+
email?: string;
|
|
746
|
+
};
|
|
675
747
|
locale?: string;
|
|
676
748
|
gotThread?: boolean;
|
|
677
749
|
threadFirstItemId?: number;
|
|
@@ -708,7 +780,16 @@ export declare const findManySchema: z.ZodArray<z.ZodObject<z.objectUtil.extendS
|
|
|
708
780
|
authorName: z.ZodNullable<z.ZodString>;
|
|
709
781
|
authorEmail: z.ZodNullable<z.ZodString>;
|
|
710
782
|
authorAvatar: z.ZodNullable<z.ZodString>;
|
|
711
|
-
authorUser: z.ZodNullable<z.ZodOptional<z.ZodString
|
|
783
|
+
authorUser: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
784
|
+
id: z.ZodNumber;
|
|
785
|
+
email: z.ZodString;
|
|
786
|
+
}, "strip", z.ZodTypeAny, {
|
|
787
|
+
id?: number;
|
|
788
|
+
email?: string;
|
|
789
|
+
}, {
|
|
790
|
+
id?: number;
|
|
791
|
+
email?: string;
|
|
792
|
+
}>]>>>;
|
|
712
793
|
locale: z.ZodNullable<z.ZodString>;
|
|
713
794
|
}, {
|
|
714
795
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -764,7 +845,16 @@ export declare const findManySchema: z.ZodArray<z.ZodObject<z.objectUtil.extendS
|
|
|
764
845
|
authorName: z.ZodNullable<z.ZodString>;
|
|
765
846
|
authorEmail: z.ZodNullable<z.ZodString>;
|
|
766
847
|
authorAvatar: z.ZodNullable<z.ZodString>;
|
|
767
|
-
authorUser: z.ZodNullable<z.ZodOptional<z.ZodString
|
|
848
|
+
authorUser: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
849
|
+
id: z.ZodNumber;
|
|
850
|
+
email: z.ZodString;
|
|
851
|
+
}, "strip", z.ZodTypeAny, {
|
|
852
|
+
id?: number;
|
|
853
|
+
email?: string;
|
|
854
|
+
}, {
|
|
855
|
+
id?: number;
|
|
856
|
+
email?: string;
|
|
857
|
+
}>]>>>;
|
|
768
858
|
locale: z.ZodNullable<z.ZodString>;
|
|
769
859
|
}, {
|
|
770
860
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -819,7 +909,10 @@ export declare const findManySchema: z.ZodArray<z.ZodObject<z.objectUtil.extendS
|
|
|
819
909
|
authorName?: string;
|
|
820
910
|
authorEmail?: string;
|
|
821
911
|
authorAvatar?: string;
|
|
822
|
-
authorUser?: string
|
|
912
|
+
authorUser?: string | {
|
|
913
|
+
id?: number;
|
|
914
|
+
email?: string;
|
|
915
|
+
};
|
|
823
916
|
locale?: string;
|
|
824
917
|
gotThread?: boolean;
|
|
825
918
|
threadFirstItemId?: number;
|
|
@@ -853,7 +946,10 @@ export declare const findManySchema: z.ZodArray<z.ZodObject<z.objectUtil.extendS
|
|
|
853
946
|
authorName?: string;
|
|
854
947
|
authorEmail?: string;
|
|
855
948
|
authorAvatar?: string;
|
|
856
|
-
authorUser?: string
|
|
949
|
+
authorUser?: string | {
|
|
950
|
+
id?: number;
|
|
951
|
+
email?: string;
|
|
952
|
+
};
|
|
857
953
|
locale?: string;
|
|
858
954
|
gotThread?: boolean;
|
|
859
955
|
threadFirstItemId?: number;
|
|
@@ -888,7 +984,10 @@ export declare const findManySchema: z.ZodArray<z.ZodObject<z.objectUtil.extendS
|
|
|
888
984
|
authorName?: string;
|
|
889
985
|
authorEmail?: string;
|
|
890
986
|
authorAvatar?: string;
|
|
891
|
-
authorUser?: string
|
|
987
|
+
authorUser?: string | {
|
|
988
|
+
id?: number;
|
|
989
|
+
email?: string;
|
|
990
|
+
};
|
|
892
991
|
locale?: string;
|
|
893
992
|
gotThread?: boolean;
|
|
894
993
|
threadFirstItemId?: number;
|
|
@@ -922,7 +1021,10 @@ export declare const findManySchema: z.ZodArray<z.ZodObject<z.objectUtil.extendS
|
|
|
922
1021
|
authorName?: string;
|
|
923
1022
|
authorEmail?: string;
|
|
924
1023
|
authorAvatar?: string;
|
|
925
|
-
authorUser?: string
|
|
1024
|
+
authorUser?: string | {
|
|
1025
|
+
id?: number;
|
|
1026
|
+
email?: string;
|
|
1027
|
+
};
|
|
926
1028
|
locale?: string;
|
|
927
1029
|
gotThread?: boolean;
|
|
928
1030
|
threadFirstItemId?: number;
|
|
@@ -957,7 +1059,10 @@ export declare const findManySchema: z.ZodArray<z.ZodObject<z.objectUtil.extendS
|
|
|
957
1059
|
authorName?: string;
|
|
958
1060
|
authorEmail?: string;
|
|
959
1061
|
authorAvatar?: string;
|
|
960
|
-
authorUser?: string
|
|
1062
|
+
authorUser?: string | {
|
|
1063
|
+
id?: number;
|
|
1064
|
+
email?: string;
|
|
1065
|
+
};
|
|
961
1066
|
locale?: string;
|
|
962
1067
|
gotThread?: boolean;
|
|
963
1068
|
threadFirstItemId?: number;
|
|
@@ -991,7 +1096,10 @@ export declare const findManySchema: z.ZodArray<z.ZodObject<z.objectUtil.extendS
|
|
|
991
1096
|
authorName?: string;
|
|
992
1097
|
authorEmail?: string;
|
|
993
1098
|
authorAvatar?: string;
|
|
994
|
-
authorUser?: string
|
|
1099
|
+
authorUser?: string | {
|
|
1100
|
+
id?: number;
|
|
1101
|
+
email?: string;
|
|
1102
|
+
};
|
|
995
1103
|
locale?: string;
|
|
996
1104
|
gotThread?: boolean;
|
|
997
1105
|
threadFirstItemId?: number;
|
|
@@ -1044,7 +1152,16 @@ export declare const findWithCountSchema: z.ZodObject<{
|
|
|
1044
1152
|
authorName: z.ZodNullable<z.ZodString>;
|
|
1045
1153
|
authorEmail: z.ZodNullable<z.ZodString>;
|
|
1046
1154
|
authorAvatar: z.ZodNullable<z.ZodString>;
|
|
1047
|
-
authorUser: z.ZodNullable<z.ZodOptional<z.ZodString
|
|
1155
|
+
authorUser: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1156
|
+
id: z.ZodNumber;
|
|
1157
|
+
email: z.ZodString;
|
|
1158
|
+
}, "strip", z.ZodTypeAny, {
|
|
1159
|
+
id?: number;
|
|
1160
|
+
email?: string;
|
|
1161
|
+
}, {
|
|
1162
|
+
id?: number;
|
|
1163
|
+
email?: string;
|
|
1164
|
+
}>]>>>;
|
|
1048
1165
|
locale: z.ZodNullable<z.ZodString>;
|
|
1049
1166
|
}, {
|
|
1050
1167
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -1100,7 +1217,16 @@ export declare const findWithCountSchema: z.ZodObject<{
|
|
|
1100
1217
|
authorName: z.ZodNullable<z.ZodString>;
|
|
1101
1218
|
authorEmail: z.ZodNullable<z.ZodString>;
|
|
1102
1219
|
authorAvatar: z.ZodNullable<z.ZodString>;
|
|
1103
|
-
authorUser: z.ZodNullable<z.ZodOptional<z.ZodString
|
|
1220
|
+
authorUser: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1221
|
+
id: z.ZodNumber;
|
|
1222
|
+
email: z.ZodString;
|
|
1223
|
+
}, "strip", z.ZodTypeAny, {
|
|
1224
|
+
id?: number;
|
|
1225
|
+
email?: string;
|
|
1226
|
+
}, {
|
|
1227
|
+
id?: number;
|
|
1228
|
+
email?: string;
|
|
1229
|
+
}>]>>>;
|
|
1104
1230
|
locale: z.ZodNullable<z.ZodString>;
|
|
1105
1231
|
}, {
|
|
1106
1232
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -1155,7 +1281,10 @@ export declare const findWithCountSchema: z.ZodObject<{
|
|
|
1155
1281
|
authorName?: string;
|
|
1156
1282
|
authorEmail?: string;
|
|
1157
1283
|
authorAvatar?: string;
|
|
1158
|
-
authorUser?: string
|
|
1284
|
+
authorUser?: string | {
|
|
1285
|
+
id?: number;
|
|
1286
|
+
email?: string;
|
|
1287
|
+
};
|
|
1159
1288
|
locale?: string;
|
|
1160
1289
|
gotThread?: boolean;
|
|
1161
1290
|
threadFirstItemId?: number;
|
|
@@ -1189,7 +1318,10 @@ export declare const findWithCountSchema: z.ZodObject<{
|
|
|
1189
1318
|
authorName?: string;
|
|
1190
1319
|
authorEmail?: string;
|
|
1191
1320
|
authorAvatar?: string;
|
|
1192
|
-
authorUser?: string
|
|
1321
|
+
authorUser?: string | {
|
|
1322
|
+
id?: number;
|
|
1323
|
+
email?: string;
|
|
1324
|
+
};
|
|
1193
1325
|
locale?: string;
|
|
1194
1326
|
gotThread?: boolean;
|
|
1195
1327
|
threadFirstItemId?: number;
|
|
@@ -1224,7 +1356,10 @@ export declare const findWithCountSchema: z.ZodObject<{
|
|
|
1224
1356
|
authorName?: string;
|
|
1225
1357
|
authorEmail?: string;
|
|
1226
1358
|
authorAvatar?: string;
|
|
1227
|
-
authorUser?: string
|
|
1359
|
+
authorUser?: string | {
|
|
1360
|
+
id?: number;
|
|
1361
|
+
email?: string;
|
|
1362
|
+
};
|
|
1228
1363
|
locale?: string;
|
|
1229
1364
|
gotThread?: boolean;
|
|
1230
1365
|
threadFirstItemId?: number;
|
|
@@ -1258,7 +1393,10 @@ export declare const findWithCountSchema: z.ZodObject<{
|
|
|
1258
1393
|
authorName?: string;
|
|
1259
1394
|
authorEmail?: string;
|
|
1260
1395
|
authorAvatar?: string;
|
|
1261
|
-
authorUser?: string
|
|
1396
|
+
authorUser?: string | {
|
|
1397
|
+
id?: number;
|
|
1398
|
+
email?: string;
|
|
1399
|
+
};
|
|
1262
1400
|
locale?: string;
|
|
1263
1401
|
gotThread?: boolean;
|
|
1264
1402
|
threadFirstItemId?: number;
|
|
@@ -1293,7 +1431,10 @@ export declare const findWithCountSchema: z.ZodObject<{
|
|
|
1293
1431
|
authorName?: string;
|
|
1294
1432
|
authorEmail?: string;
|
|
1295
1433
|
authorAvatar?: string;
|
|
1296
|
-
authorUser?: string
|
|
1434
|
+
authorUser?: string | {
|
|
1435
|
+
id?: number;
|
|
1436
|
+
email?: string;
|
|
1437
|
+
};
|
|
1297
1438
|
locale?: string;
|
|
1298
1439
|
gotThread?: boolean;
|
|
1299
1440
|
threadFirstItemId?: number;
|
|
@@ -1327,7 +1468,10 @@ export declare const findWithCountSchema: z.ZodObject<{
|
|
|
1327
1468
|
authorName?: string;
|
|
1328
1469
|
authorEmail?: string;
|
|
1329
1470
|
authorAvatar?: string;
|
|
1330
|
-
authorUser?: string
|
|
1471
|
+
authorUser?: string | {
|
|
1472
|
+
id?: number;
|
|
1473
|
+
email?: string;
|
|
1474
|
+
};
|
|
1331
1475
|
locale?: string;
|
|
1332
1476
|
gotThread?: boolean;
|
|
1333
1477
|
threadFirstItemId?: number;
|
|
@@ -1370,7 +1514,10 @@ export declare const findWithCountSchema: z.ZodObject<{
|
|
|
1370
1514
|
authorName?: string;
|
|
1371
1515
|
authorEmail?: string;
|
|
1372
1516
|
authorAvatar?: string;
|
|
1373
|
-
authorUser?: string
|
|
1517
|
+
authorUser?: string | {
|
|
1518
|
+
id?: number;
|
|
1519
|
+
email?: string;
|
|
1520
|
+
};
|
|
1374
1521
|
locale?: string;
|
|
1375
1522
|
gotThread?: boolean;
|
|
1376
1523
|
threadFirstItemId?: number;
|
|
@@ -1404,7 +1551,10 @@ export declare const findWithCountSchema: z.ZodObject<{
|
|
|
1404
1551
|
authorName?: string;
|
|
1405
1552
|
authorEmail?: string;
|
|
1406
1553
|
authorAvatar?: string;
|
|
1407
|
-
authorUser?: string
|
|
1554
|
+
authorUser?: string | {
|
|
1555
|
+
id?: number;
|
|
1556
|
+
email?: string;
|
|
1557
|
+
};
|
|
1408
1558
|
locale?: string;
|
|
1409
1559
|
gotThread?: boolean;
|
|
1410
1560
|
threadFirstItemId?: number;
|
|
@@ -1447,7 +1597,10 @@ export declare const findWithCountSchema: z.ZodObject<{
|
|
|
1447
1597
|
authorName?: string;
|
|
1448
1598
|
authorEmail?: string;
|
|
1449
1599
|
authorAvatar?: string;
|
|
1450
|
-
authorUser?: string
|
|
1600
|
+
authorUser?: string | {
|
|
1601
|
+
id?: number;
|
|
1602
|
+
email?: string;
|
|
1603
|
+
};
|
|
1451
1604
|
locale?: string;
|
|
1452
1605
|
gotThread?: boolean;
|
|
1453
1606
|
threadFirstItemId?: number;
|
|
@@ -1481,7 +1634,10 @@ export declare const findWithCountSchema: z.ZodObject<{
|
|
|
1481
1634
|
authorName?: string;
|
|
1482
1635
|
authorEmail?: string;
|
|
1483
1636
|
authorAvatar?: string;
|
|
1484
|
-
authorUser?: string
|
|
1637
|
+
authorUser?: string | {
|
|
1638
|
+
id?: number;
|
|
1639
|
+
email?: string;
|
|
1640
|
+
};
|
|
1485
1641
|
locale?: string;
|
|
1486
1642
|
gotThread?: boolean;
|
|
1487
1643
|
threadFirstItemId?: number;
|
|
@@ -1526,7 +1682,16 @@ export declare const commentResultValidator: {
|
|
|
1526
1682
|
authorName: z.ZodNullable<z.ZodString>;
|
|
1527
1683
|
authorEmail: z.ZodNullable<z.ZodString>;
|
|
1528
1684
|
authorAvatar: z.ZodNullable<z.ZodString>;
|
|
1529
|
-
authorUser: z.ZodNullable<z.ZodOptional<z.ZodString
|
|
1685
|
+
authorUser: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1686
|
+
id: z.ZodNumber;
|
|
1687
|
+
email: z.ZodString;
|
|
1688
|
+
}, "strip", z.ZodTypeAny, {
|
|
1689
|
+
id?: number;
|
|
1690
|
+
email?: string;
|
|
1691
|
+
}, {
|
|
1692
|
+
id?: number;
|
|
1693
|
+
email?: string;
|
|
1694
|
+
}>]>>>;
|
|
1530
1695
|
locale: z.ZodNullable<z.ZodString>;
|
|
1531
1696
|
}, {
|
|
1532
1697
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -1582,7 +1747,16 @@ export declare const commentResultValidator: {
|
|
|
1582
1747
|
authorName: z.ZodNullable<z.ZodString>;
|
|
1583
1748
|
authorEmail: z.ZodNullable<z.ZodString>;
|
|
1584
1749
|
authorAvatar: z.ZodNullable<z.ZodString>;
|
|
1585
|
-
authorUser: z.ZodNullable<z.ZodOptional<z.ZodString
|
|
1750
|
+
authorUser: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
1751
|
+
id: z.ZodNumber;
|
|
1752
|
+
email: z.ZodString;
|
|
1753
|
+
}, "strip", z.ZodTypeAny, {
|
|
1754
|
+
id?: number;
|
|
1755
|
+
email?: string;
|
|
1756
|
+
}, {
|
|
1757
|
+
id?: number;
|
|
1758
|
+
email?: string;
|
|
1759
|
+
}>]>>>;
|
|
1586
1760
|
locale: z.ZodNullable<z.ZodString>;
|
|
1587
1761
|
}, {
|
|
1588
1762
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -1637,7 +1811,10 @@ export declare const commentResultValidator: {
|
|
|
1637
1811
|
authorName?: string;
|
|
1638
1812
|
authorEmail?: string;
|
|
1639
1813
|
authorAvatar?: string;
|
|
1640
|
-
authorUser?: string
|
|
1814
|
+
authorUser?: string | {
|
|
1815
|
+
id?: number;
|
|
1816
|
+
email?: string;
|
|
1817
|
+
};
|
|
1641
1818
|
locale?: string;
|
|
1642
1819
|
gotThread?: boolean;
|
|
1643
1820
|
threadFirstItemId?: number;
|
|
@@ -1671,7 +1848,10 @@ export declare const commentResultValidator: {
|
|
|
1671
1848
|
authorName?: string;
|
|
1672
1849
|
authorEmail?: string;
|
|
1673
1850
|
authorAvatar?: string;
|
|
1674
|
-
authorUser?: string
|
|
1851
|
+
authorUser?: string | {
|
|
1852
|
+
id?: number;
|
|
1853
|
+
email?: string;
|
|
1854
|
+
};
|
|
1675
1855
|
locale?: string;
|
|
1676
1856
|
gotThread?: boolean;
|
|
1677
1857
|
threadFirstItemId?: number;
|
|
@@ -1706,7 +1886,10 @@ export declare const commentResultValidator: {
|
|
|
1706
1886
|
authorName?: string;
|
|
1707
1887
|
authorEmail?: string;
|
|
1708
1888
|
authorAvatar?: string;
|
|
1709
|
-
authorUser?: string
|
|
1889
|
+
authorUser?: string | {
|
|
1890
|
+
id?: number;
|
|
1891
|
+
email?: string;
|
|
1892
|
+
};
|
|
1710
1893
|
locale?: string;
|
|
1711
1894
|
gotThread?: boolean;
|
|
1712
1895
|
threadFirstItemId?: number;
|
|
@@ -1740,7 +1923,10 @@ export declare const commentResultValidator: {
|
|
|
1740
1923
|
authorName?: string;
|
|
1741
1924
|
authorEmail?: string;
|
|
1742
1925
|
authorAvatar?: string;
|
|
1743
|
-
authorUser?: string
|
|
1926
|
+
authorUser?: string | {
|
|
1927
|
+
id?: number;
|
|
1928
|
+
email?: string;
|
|
1929
|
+
};
|
|
1744
1930
|
locale?: string;
|
|
1745
1931
|
gotThread?: boolean;
|
|
1746
1932
|
threadFirstItemId?: number;
|
|
@@ -1775,7 +1961,10 @@ export declare const commentResultValidator: {
|
|
|
1775
1961
|
authorName?: string;
|
|
1776
1962
|
authorEmail?: string;
|
|
1777
1963
|
authorAvatar?: string;
|
|
1778
|
-
authorUser?: string
|
|
1964
|
+
authorUser?: string | {
|
|
1965
|
+
id?: number;
|
|
1966
|
+
email?: string;
|
|
1967
|
+
};
|
|
1779
1968
|
locale?: string;
|
|
1780
1969
|
gotThread?: boolean;
|
|
1781
1970
|
threadFirstItemId?: number;
|
|
@@ -1809,7 +1998,10 @@ export declare const commentResultValidator: {
|
|
|
1809
1998
|
authorName?: string;
|
|
1810
1999
|
authorEmail?: string;
|
|
1811
2000
|
authorAvatar?: string;
|
|
1812
|
-
authorUser?: string
|
|
2001
|
+
authorUser?: string | {
|
|
2002
|
+
id?: number;
|
|
2003
|
+
email?: string;
|
|
2004
|
+
};
|
|
1813
2005
|
locale?: string;
|
|
1814
2006
|
gotThread?: boolean;
|
|
1815
2007
|
threadFirstItemId?: number;
|
|
@@ -1862,7 +2054,16 @@ export declare const commentResultValidator: {
|
|
|
1862
2054
|
authorName: z.ZodNullable<z.ZodString>;
|
|
1863
2055
|
authorEmail: z.ZodNullable<z.ZodString>;
|
|
1864
2056
|
authorAvatar: z.ZodNullable<z.ZodString>;
|
|
1865
|
-
authorUser: z.ZodNullable<z.ZodOptional<z.ZodString
|
|
2057
|
+
authorUser: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2058
|
+
id: z.ZodNumber;
|
|
2059
|
+
email: z.ZodString;
|
|
2060
|
+
}, "strip", z.ZodTypeAny, {
|
|
2061
|
+
id?: number;
|
|
2062
|
+
email?: string;
|
|
2063
|
+
}, {
|
|
2064
|
+
id?: number;
|
|
2065
|
+
email?: string;
|
|
2066
|
+
}>]>>>;
|
|
1866
2067
|
locale: z.ZodNullable<z.ZodString>;
|
|
1867
2068
|
}, {
|
|
1868
2069
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -1918,7 +2119,16 @@ export declare const commentResultValidator: {
|
|
|
1918
2119
|
authorName: z.ZodNullable<z.ZodString>;
|
|
1919
2120
|
authorEmail: z.ZodNullable<z.ZodString>;
|
|
1920
2121
|
authorAvatar: z.ZodNullable<z.ZodString>;
|
|
1921
|
-
authorUser: z.ZodNullable<z.ZodOptional<z.ZodString
|
|
2122
|
+
authorUser: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2123
|
+
id: z.ZodNumber;
|
|
2124
|
+
email: z.ZodString;
|
|
2125
|
+
}, "strip", z.ZodTypeAny, {
|
|
2126
|
+
id?: number;
|
|
2127
|
+
email?: string;
|
|
2128
|
+
}, {
|
|
2129
|
+
id?: number;
|
|
2130
|
+
email?: string;
|
|
2131
|
+
}>]>>>;
|
|
1922
2132
|
locale: z.ZodNullable<z.ZodString>;
|
|
1923
2133
|
}, {
|
|
1924
2134
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -1973,7 +2183,10 @@ export declare const commentResultValidator: {
|
|
|
1973
2183
|
authorName?: string;
|
|
1974
2184
|
authorEmail?: string;
|
|
1975
2185
|
authorAvatar?: string;
|
|
1976
|
-
authorUser?: string
|
|
2186
|
+
authorUser?: string | {
|
|
2187
|
+
id?: number;
|
|
2188
|
+
email?: string;
|
|
2189
|
+
};
|
|
1977
2190
|
locale?: string;
|
|
1978
2191
|
gotThread?: boolean;
|
|
1979
2192
|
threadFirstItemId?: number;
|
|
@@ -2007,7 +2220,10 @@ export declare const commentResultValidator: {
|
|
|
2007
2220
|
authorName?: string;
|
|
2008
2221
|
authorEmail?: string;
|
|
2009
2222
|
authorAvatar?: string;
|
|
2010
|
-
authorUser?: string
|
|
2223
|
+
authorUser?: string | {
|
|
2224
|
+
id?: number;
|
|
2225
|
+
email?: string;
|
|
2226
|
+
};
|
|
2011
2227
|
locale?: string;
|
|
2012
2228
|
gotThread?: boolean;
|
|
2013
2229
|
threadFirstItemId?: number;
|
|
@@ -2042,7 +2258,10 @@ export declare const commentResultValidator: {
|
|
|
2042
2258
|
authorName?: string;
|
|
2043
2259
|
authorEmail?: string;
|
|
2044
2260
|
authorAvatar?: string;
|
|
2045
|
-
authorUser?: string
|
|
2261
|
+
authorUser?: string | {
|
|
2262
|
+
id?: number;
|
|
2263
|
+
email?: string;
|
|
2264
|
+
};
|
|
2046
2265
|
locale?: string;
|
|
2047
2266
|
gotThread?: boolean;
|
|
2048
2267
|
threadFirstItemId?: number;
|
|
@@ -2076,7 +2295,10 @@ export declare const commentResultValidator: {
|
|
|
2076
2295
|
authorName?: string;
|
|
2077
2296
|
authorEmail?: string;
|
|
2078
2297
|
authorAvatar?: string;
|
|
2079
|
-
authorUser?: string
|
|
2298
|
+
authorUser?: string | {
|
|
2299
|
+
id?: number;
|
|
2300
|
+
email?: string;
|
|
2301
|
+
};
|
|
2080
2302
|
locale?: string;
|
|
2081
2303
|
gotThread?: boolean;
|
|
2082
2304
|
threadFirstItemId?: number;
|
|
@@ -2111,7 +2333,10 @@ export declare const commentResultValidator: {
|
|
|
2111
2333
|
authorName?: string;
|
|
2112
2334
|
authorEmail?: string;
|
|
2113
2335
|
authorAvatar?: string;
|
|
2114
|
-
authorUser?: string
|
|
2336
|
+
authorUser?: string | {
|
|
2337
|
+
id?: number;
|
|
2338
|
+
email?: string;
|
|
2339
|
+
};
|
|
2115
2340
|
locale?: string;
|
|
2116
2341
|
gotThread?: boolean;
|
|
2117
2342
|
threadFirstItemId?: number;
|
|
@@ -2145,7 +2370,10 @@ export declare const commentResultValidator: {
|
|
|
2145
2370
|
authorName?: string;
|
|
2146
2371
|
authorEmail?: string;
|
|
2147
2372
|
authorAvatar?: string;
|
|
2148
|
-
authorUser?: string
|
|
2373
|
+
authorUser?: string | {
|
|
2374
|
+
id?: number;
|
|
2375
|
+
email?: string;
|
|
2376
|
+
};
|
|
2149
2377
|
locale?: string;
|
|
2150
2378
|
gotThread?: boolean;
|
|
2151
2379
|
threadFirstItemId?: number;
|
|
@@ -2188,7 +2416,10 @@ export declare const commentResultValidator: {
|
|
|
2188
2416
|
authorName?: string;
|
|
2189
2417
|
authorEmail?: string;
|
|
2190
2418
|
authorAvatar?: string;
|
|
2191
|
-
authorUser?: string
|
|
2419
|
+
authorUser?: string | {
|
|
2420
|
+
id?: number;
|
|
2421
|
+
email?: string;
|
|
2422
|
+
};
|
|
2192
2423
|
locale?: string;
|
|
2193
2424
|
gotThread?: boolean;
|
|
2194
2425
|
threadFirstItemId?: number;
|
|
@@ -2222,7 +2453,10 @@ export declare const commentResultValidator: {
|
|
|
2222
2453
|
authorName?: string;
|
|
2223
2454
|
authorEmail?: string;
|
|
2224
2455
|
authorAvatar?: string;
|
|
2225
|
-
authorUser?: string
|
|
2456
|
+
authorUser?: string | {
|
|
2457
|
+
id?: number;
|
|
2458
|
+
email?: string;
|
|
2459
|
+
};
|
|
2226
2460
|
locale?: string;
|
|
2227
2461
|
gotThread?: boolean;
|
|
2228
2462
|
threadFirstItemId?: number;
|
|
@@ -2265,7 +2499,10 @@ export declare const commentResultValidator: {
|
|
|
2265
2499
|
authorName?: string;
|
|
2266
2500
|
authorEmail?: string;
|
|
2267
2501
|
authorAvatar?: string;
|
|
2268
|
-
authorUser?: string
|
|
2502
|
+
authorUser?: string | {
|
|
2503
|
+
id?: number;
|
|
2504
|
+
email?: string;
|
|
2505
|
+
};
|
|
2269
2506
|
locale?: string;
|
|
2270
2507
|
gotThread?: boolean;
|
|
2271
2508
|
threadFirstItemId?: number;
|
|
@@ -2299,7 +2536,10 @@ export declare const commentResultValidator: {
|
|
|
2299
2536
|
authorName?: string;
|
|
2300
2537
|
authorEmail?: string;
|
|
2301
2538
|
authorAvatar?: string;
|
|
2302
|
-
authorUser?: string
|
|
2539
|
+
authorUser?: string | {
|
|
2540
|
+
id?: number;
|
|
2541
|
+
email?: string;
|
|
2542
|
+
};
|
|
2303
2543
|
locale?: string;
|
|
2304
2544
|
gotThread?: boolean;
|
|
2305
2545
|
threadFirstItemId?: number;
|
|
@@ -2336,7 +2576,16 @@ export declare const commentResultValidator: {
|
|
|
2336
2576
|
authorName: z.ZodNullable<z.ZodString>;
|
|
2337
2577
|
authorEmail: z.ZodNullable<z.ZodString>;
|
|
2338
2578
|
authorAvatar: z.ZodNullable<z.ZodString>;
|
|
2339
|
-
authorUser: z.ZodNullable<z.ZodOptional<z.ZodString
|
|
2579
|
+
authorUser: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2580
|
+
id: z.ZodNumber;
|
|
2581
|
+
email: z.ZodString;
|
|
2582
|
+
}, "strip", z.ZodTypeAny, {
|
|
2583
|
+
id?: number;
|
|
2584
|
+
email?: string;
|
|
2585
|
+
}, {
|
|
2586
|
+
id?: number;
|
|
2587
|
+
email?: string;
|
|
2588
|
+
}>]>>>;
|
|
2340
2589
|
locale: z.ZodNullable<z.ZodString>;
|
|
2341
2590
|
}, {
|
|
2342
2591
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -2392,7 +2641,16 @@ export declare const commentResultValidator: {
|
|
|
2392
2641
|
authorName: z.ZodNullable<z.ZodString>;
|
|
2393
2642
|
authorEmail: z.ZodNullable<z.ZodString>;
|
|
2394
2643
|
authorAvatar: z.ZodNullable<z.ZodString>;
|
|
2395
|
-
authorUser: z.ZodNullable<z.ZodOptional<z.ZodString
|
|
2644
|
+
authorUser: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2645
|
+
id: z.ZodNumber;
|
|
2646
|
+
email: z.ZodString;
|
|
2647
|
+
}, "strip", z.ZodTypeAny, {
|
|
2648
|
+
id?: number;
|
|
2649
|
+
email?: string;
|
|
2650
|
+
}, {
|
|
2651
|
+
id?: number;
|
|
2652
|
+
email?: string;
|
|
2653
|
+
}>]>>>;
|
|
2396
2654
|
locale: z.ZodNullable<z.ZodString>;
|
|
2397
2655
|
}, {
|
|
2398
2656
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -2447,7 +2705,10 @@ export declare const commentResultValidator: {
|
|
|
2447
2705
|
authorName?: string;
|
|
2448
2706
|
authorEmail?: string;
|
|
2449
2707
|
authorAvatar?: string;
|
|
2450
|
-
authorUser?: string
|
|
2708
|
+
authorUser?: string | {
|
|
2709
|
+
id?: number;
|
|
2710
|
+
email?: string;
|
|
2711
|
+
};
|
|
2451
2712
|
locale?: string;
|
|
2452
2713
|
gotThread?: boolean;
|
|
2453
2714
|
threadFirstItemId?: number;
|
|
@@ -2481,7 +2742,10 @@ export declare const commentResultValidator: {
|
|
|
2481
2742
|
authorName?: string;
|
|
2482
2743
|
authorEmail?: string;
|
|
2483
2744
|
authorAvatar?: string;
|
|
2484
|
-
authorUser?: string
|
|
2745
|
+
authorUser?: string | {
|
|
2746
|
+
id?: number;
|
|
2747
|
+
email?: string;
|
|
2748
|
+
};
|
|
2485
2749
|
locale?: string;
|
|
2486
2750
|
gotThread?: boolean;
|
|
2487
2751
|
threadFirstItemId?: number;
|
|
@@ -2516,7 +2780,10 @@ export declare const commentResultValidator: {
|
|
|
2516
2780
|
authorName?: string;
|
|
2517
2781
|
authorEmail?: string;
|
|
2518
2782
|
authorAvatar?: string;
|
|
2519
|
-
authorUser?: string
|
|
2783
|
+
authorUser?: string | {
|
|
2784
|
+
id?: number;
|
|
2785
|
+
email?: string;
|
|
2786
|
+
};
|
|
2520
2787
|
locale?: string;
|
|
2521
2788
|
gotThread?: boolean;
|
|
2522
2789
|
threadFirstItemId?: number;
|
|
@@ -2550,7 +2817,10 @@ export declare const commentResultValidator: {
|
|
|
2550
2817
|
authorName?: string;
|
|
2551
2818
|
authorEmail?: string;
|
|
2552
2819
|
authorAvatar?: string;
|
|
2553
|
-
authorUser?: string
|
|
2820
|
+
authorUser?: string | {
|
|
2821
|
+
id?: number;
|
|
2822
|
+
email?: string;
|
|
2823
|
+
};
|
|
2554
2824
|
locale?: string;
|
|
2555
2825
|
gotThread?: boolean;
|
|
2556
2826
|
threadFirstItemId?: number;
|
|
@@ -2585,7 +2855,10 @@ export declare const commentResultValidator: {
|
|
|
2585
2855
|
authorName?: string;
|
|
2586
2856
|
authorEmail?: string;
|
|
2587
2857
|
authorAvatar?: string;
|
|
2588
|
-
authorUser?: string
|
|
2858
|
+
authorUser?: string | {
|
|
2859
|
+
id?: number;
|
|
2860
|
+
email?: string;
|
|
2861
|
+
};
|
|
2589
2862
|
locale?: string;
|
|
2590
2863
|
gotThread?: boolean;
|
|
2591
2864
|
threadFirstItemId?: number;
|
|
@@ -2619,7 +2892,10 @@ export declare const commentResultValidator: {
|
|
|
2619
2892
|
authorName?: string;
|
|
2620
2893
|
authorEmail?: string;
|
|
2621
2894
|
authorAvatar?: string;
|
|
2622
|
-
authorUser?: string
|
|
2895
|
+
authorUser?: string | {
|
|
2896
|
+
id?: number;
|
|
2897
|
+
email?: string;
|
|
2898
|
+
};
|
|
2623
2899
|
locale?: string;
|
|
2624
2900
|
gotThread?: boolean;
|
|
2625
2901
|
threadFirstItemId?: number;
|
|
@@ -2655,7 +2931,16 @@ export declare const commentResultValidator: {
|
|
|
2655
2931
|
authorName: z.ZodNullable<z.ZodString>;
|
|
2656
2932
|
authorEmail: z.ZodNullable<z.ZodString>;
|
|
2657
2933
|
authorAvatar: z.ZodNullable<z.ZodString>;
|
|
2658
|
-
authorUser: z.ZodNullable<z.ZodOptional<z.ZodString
|
|
2934
|
+
authorUser: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
2935
|
+
id: z.ZodNumber;
|
|
2936
|
+
email: z.ZodString;
|
|
2937
|
+
}, "strip", z.ZodTypeAny, {
|
|
2938
|
+
id?: number;
|
|
2939
|
+
email?: string;
|
|
2940
|
+
}, {
|
|
2941
|
+
id?: number;
|
|
2942
|
+
email?: string;
|
|
2943
|
+
}>]>>>;
|
|
2659
2944
|
locale: z.ZodNullable<z.ZodString>;
|
|
2660
2945
|
}, {
|
|
2661
2946
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -2711,7 +2996,16 @@ export declare const commentResultValidator: {
|
|
|
2711
2996
|
authorName: z.ZodNullable<z.ZodString>;
|
|
2712
2997
|
authorEmail: z.ZodNullable<z.ZodString>;
|
|
2713
2998
|
authorAvatar: z.ZodNullable<z.ZodString>;
|
|
2714
|
-
authorUser: z.ZodNullable<z.ZodOptional<z.ZodString
|
|
2999
|
+
authorUser: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
3000
|
+
id: z.ZodNumber;
|
|
3001
|
+
email: z.ZodString;
|
|
3002
|
+
}, "strip", z.ZodTypeAny, {
|
|
3003
|
+
id?: number;
|
|
3004
|
+
email?: string;
|
|
3005
|
+
}, {
|
|
3006
|
+
id?: number;
|
|
3007
|
+
email?: string;
|
|
3008
|
+
}>]>>>;
|
|
2715
3009
|
locale: z.ZodNullable<z.ZodString>;
|
|
2716
3010
|
}, {
|
|
2717
3011
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -2766,7 +3060,10 @@ export declare const commentResultValidator: {
|
|
|
2766
3060
|
authorName?: string;
|
|
2767
3061
|
authorEmail?: string;
|
|
2768
3062
|
authorAvatar?: string;
|
|
2769
|
-
authorUser?: string
|
|
3063
|
+
authorUser?: string | {
|
|
3064
|
+
id?: number;
|
|
3065
|
+
email?: string;
|
|
3066
|
+
};
|
|
2770
3067
|
locale?: string;
|
|
2771
3068
|
gotThread?: boolean;
|
|
2772
3069
|
threadFirstItemId?: number;
|
|
@@ -2800,7 +3097,10 @@ export declare const commentResultValidator: {
|
|
|
2800
3097
|
authorName?: string;
|
|
2801
3098
|
authorEmail?: string;
|
|
2802
3099
|
authorAvatar?: string;
|
|
2803
|
-
authorUser?: string
|
|
3100
|
+
authorUser?: string | {
|
|
3101
|
+
id?: number;
|
|
3102
|
+
email?: string;
|
|
3103
|
+
};
|
|
2804
3104
|
locale?: string;
|
|
2805
3105
|
gotThread?: boolean;
|
|
2806
3106
|
threadFirstItemId?: number;
|
|
@@ -2835,7 +3135,10 @@ export declare const commentResultValidator: {
|
|
|
2835
3135
|
authorName?: string;
|
|
2836
3136
|
authorEmail?: string;
|
|
2837
3137
|
authorAvatar?: string;
|
|
2838
|
-
authorUser?: string
|
|
3138
|
+
authorUser?: string | {
|
|
3139
|
+
id?: number;
|
|
3140
|
+
email?: string;
|
|
3141
|
+
};
|
|
2839
3142
|
locale?: string;
|
|
2840
3143
|
gotThread?: boolean;
|
|
2841
3144
|
threadFirstItemId?: number;
|
|
@@ -2869,7 +3172,10 @@ export declare const commentResultValidator: {
|
|
|
2869
3172
|
authorName?: string;
|
|
2870
3173
|
authorEmail?: string;
|
|
2871
3174
|
authorAvatar?: string;
|
|
2872
|
-
authorUser?: string
|
|
3175
|
+
authorUser?: string | {
|
|
3176
|
+
id?: number;
|
|
3177
|
+
email?: string;
|
|
3178
|
+
};
|
|
2873
3179
|
locale?: string;
|
|
2874
3180
|
gotThread?: boolean;
|
|
2875
3181
|
threadFirstItemId?: number;
|
|
@@ -2904,7 +3210,10 @@ export declare const commentResultValidator: {
|
|
|
2904
3210
|
authorName?: string;
|
|
2905
3211
|
authorEmail?: string;
|
|
2906
3212
|
authorAvatar?: string;
|
|
2907
|
-
authorUser?: string
|
|
3213
|
+
authorUser?: string | {
|
|
3214
|
+
id?: number;
|
|
3215
|
+
email?: string;
|
|
3216
|
+
};
|
|
2908
3217
|
locale?: string;
|
|
2909
3218
|
gotThread?: boolean;
|
|
2910
3219
|
threadFirstItemId?: number;
|
|
@@ -2938,7 +3247,10 @@ export declare const commentResultValidator: {
|
|
|
2938
3247
|
authorName?: string;
|
|
2939
3248
|
authorEmail?: string;
|
|
2940
3249
|
authorAvatar?: string;
|
|
2941
|
-
authorUser?: string
|
|
3250
|
+
authorUser?: string | {
|
|
3251
|
+
id?: number;
|
|
3252
|
+
email?: string;
|
|
3253
|
+
};
|
|
2942
3254
|
locale?: string;
|
|
2943
3255
|
gotThread?: boolean;
|
|
2944
3256
|
threadFirstItemId?: number;
|