strapi-plugin-comments 3.0.0-beta.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +83 -123
- package/dist/_chunks/{index-fAgatqD0.js → index-B-ygLKrb.js} +6080 -5662
- package/dist/_chunks/{index-fSb-gYwg.mjs → index-BgN4aUMA.mjs} +5 -5
- package/dist/_chunks/{index-h-TB6Qu2.mjs → index-Bx2boY6h.mjs} +6072 -5654
- package/dist/_chunks/{index-BQERo8pN.mjs → index-CIqMAf50.mjs} +1261 -1141
- package/dist/_chunks/{index-B6Q4U8YQ.js → index-CWfr5ejx.js} +27 -29
- package/dist/_chunks/{index-CTjupB9v.js → index-D8uskGzQ.js} +5 -5
- package/dist/_chunks/{index-BVj8EXjI.js → index-DFAPx7Bl.js} +1293 -1152
- package/dist/_chunks/{index-Bpbf7RON.mjs → index-Db2zwbpe.mjs} +27 -29
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/src/api/client.d.ts +33 -52
- package/dist/admin/src/api/schemas.d.ts +454 -764
- package/dist/admin/src/components/UserAvatar/index.d.ts +1 -1
- package/dist/admin/src/contexts/UserContext.d.ts +1 -1
- package/dist/admin/src/hooks/useAPI.d.ts +34 -53
- package/dist/admin/src/hooks/useCommentMutations.d.ts +1 -1
- package/dist/admin/src/hooks/useCommentsAll.d.ts +7 -10
- package/dist/admin/src/hooks/useReports.d.ts +6 -10
- package/dist/admin/src/hooks/useUserContext.d.ts +1 -1
- package/dist/admin/src/pages/Settings/hooks/useSettingsAPI.d.ts +1 -1
- package/dist/server/index.js +9307 -2467
- package/dist/server/index.mjs +9307 -2467
- 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 +52 -0
- package/dist/server/src/content-types/index.d.ts +1 -1
- package/dist/server/src/controllers/admin.controller.d.ts +110 -29
- package/dist/server/src/controllers/client.controller.d.ts +151 -23
- package/dist/server/src/controllers/index.d.ts +504 -197
- package/dist/server/src/controllers/settings.controller.d.ts +58 -2
- package/dist/server/src/controllers/utils/parsers.d.ts +4 -1
- package/dist/server/src/graphql/getResolversConfig.d.ts +21 -0
- package/dist/server/src/graphql/index.d.ts +2 -0
- package/dist/server/src/graphql/mutations/getCreateAbuseReport.d.ts +95 -0
- package/dist/server/src/graphql/mutations/getCreateComment.d.ts +84 -0
- package/dist/server/src/graphql/mutations/getRemoveComment.d.ts +84 -0
- package/dist/server/src/graphql/mutations/getUpdateComment.d.ts +84 -0
- package/dist/server/src/graphql/mutations/index.d.ts +3 -0
- package/dist/server/src/graphql/queries/findAllFlat.d.ts +177 -0
- package/dist/server/src/graphql/queries/findAllInHierarchy.d.ts +87 -0
- package/dist/server/src/graphql/queries/findAllPerAuthor.d.ts +176 -0
- package/dist/server/src/graphql/queries/index.d.ts +3 -0
- package/dist/server/src/graphql/types/getComment.d.ts +2 -0
- package/dist/server/src/graphql/types/getCommentAuthor.d.ts +2 -0
- package/dist/server/src/graphql/types/getCommentAuthorType.d.ts +2 -0
- package/dist/server/src/graphql/types/getCommentNested.d.ts +2 -0
- package/dist/server/src/graphql/types/getCreateComment.d.ts +2 -0
- package/dist/server/src/graphql/types/getCreateCommentAuthor.d.ts +2 -0
- package/dist/server/src/graphql/types/getCreateReport.d.ts +2 -0
- package/dist/server/src/graphql/types/getId.d.ts +2 -0
- package/dist/server/src/graphql/types/getIdentityAuthor.d.ts +2 -0
- package/dist/server/src/graphql/types/getRemoveComment.d.ts +2 -0
- package/dist/server/src/graphql/types/getReport.d.ts +2 -0
- package/dist/server/src/graphql/types/getReportReason.d.ts +3 -0
- package/dist/server/src/graphql/types/getResponseFindAll.d.ts +2 -0
- package/dist/server/src/graphql/types/getResponseFindAllPerAuthor.d.ts +2 -0
- package/dist/server/src/graphql/types/getResponseMeta.d.ts +2 -0
- package/dist/server/src/graphql/types/getResponsePagination.d.ts +2 -0
- package/dist/server/src/graphql/types/getUpdateComment.d.ts +2 -0
- package/dist/server/src/graphql/types/index.d.ts +3 -0
- package/dist/server/src/index.d.ts +1686 -779
- 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 +175 -4
- 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 +399 -188
- package/dist/server/src/services/admin/utils.d.ts +1 -1
- package/dist/server/src/services/client.service.d.ts +343 -177
- package/dist/server/src/services/common.service.d.ts +66 -22
- package/dist/server/src/services/gql.service.d.ts +7 -0
- package/dist/server/src/services/index.d.ts +1131 -552
- package/dist/server/src/services/settings.service.d.ts +44 -2
- package/dist/server/src/services/utils/functions.d.ts +10 -6
- 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 +116 -80
- package/dist/server/src/validators/api/controllers/settings.controller.validator.d.ts +7 -3
- package/dist/server/src/validators/repositories/comment.schema.d.ts +18 -3
- package/dist/server/src/validators/repositories/comment.validator.d.ts +400 -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 -11
- /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;
|
|
@@ -321,13 +357,19 @@ declare const commentSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
321
357
|
declare const commentRelatedSchema: z.ZodObject<{
|
|
322
358
|
id: z.ZodNumber;
|
|
323
359
|
uid: z.ZodString;
|
|
360
|
+
documentId: z.ZodString;
|
|
324
361
|
requireCommentsApproval: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
362
|
+
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
325
363
|
}, "strip", z.ZodTypeAny, {
|
|
326
364
|
id?: number;
|
|
365
|
+
documentId?: string;
|
|
366
|
+
locale?: string;
|
|
327
367
|
uid?: string;
|
|
328
368
|
requireCommentsApproval?: boolean;
|
|
329
369
|
}, {
|
|
330
370
|
id?: number;
|
|
371
|
+
documentId?: string;
|
|
372
|
+
locale?: string;
|
|
331
373
|
uid?: string;
|
|
332
374
|
requireCommentsApproval?: boolean;
|
|
333
375
|
}>;
|
|
@@ -350,7 +392,16 @@ declare const commentWithRelatedSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
350
392
|
authorName: z.ZodNullable<z.ZodString>;
|
|
351
393
|
authorEmail: z.ZodNullable<z.ZodString>;
|
|
352
394
|
authorAvatar: z.ZodNullable<z.ZodString>;
|
|
353
|
-
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
|
+
}>]>>>;
|
|
354
405
|
locale: z.ZodNullable<z.ZodString>;
|
|
355
406
|
}, {
|
|
356
407
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -406,7 +457,16 @@ declare const commentWithRelatedSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
406
457
|
authorName: z.ZodNullable<z.ZodString>;
|
|
407
458
|
authorEmail: z.ZodNullable<z.ZodString>;
|
|
408
459
|
authorAvatar: z.ZodNullable<z.ZodString>;
|
|
409
|
-
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
|
+
}>]>>>;
|
|
410
470
|
locale: z.ZodNullable<z.ZodString>;
|
|
411
471
|
}, {
|
|
412
472
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -461,7 +521,10 @@ declare const commentWithRelatedSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
461
521
|
authorName?: string;
|
|
462
522
|
authorEmail?: string;
|
|
463
523
|
authorAvatar?: string;
|
|
464
|
-
authorUser?: string
|
|
524
|
+
authorUser?: string | {
|
|
525
|
+
id?: number;
|
|
526
|
+
email?: string;
|
|
527
|
+
};
|
|
465
528
|
locale?: string;
|
|
466
529
|
gotThread?: boolean;
|
|
467
530
|
threadFirstItemId?: number;
|
|
@@ -495,7 +558,10 @@ declare const commentWithRelatedSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
495
558
|
authorName?: string;
|
|
496
559
|
authorEmail?: string;
|
|
497
560
|
authorAvatar?: string;
|
|
498
|
-
authorUser?: string
|
|
561
|
+
authorUser?: string | {
|
|
562
|
+
id?: number;
|
|
563
|
+
email?: string;
|
|
564
|
+
};
|
|
499
565
|
locale?: string;
|
|
500
566
|
gotThread?: boolean;
|
|
501
567
|
threadFirstItemId?: number;
|
|
@@ -516,13 +582,19 @@ declare const commentWithRelatedSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
516
582
|
related: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
517
583
|
id: z.ZodNumber;
|
|
518
584
|
uid: z.ZodString;
|
|
585
|
+
documentId: z.ZodString;
|
|
519
586
|
requireCommentsApproval: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
587
|
+
locale: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
520
588
|
}, "strip", z.ZodTypeAny, {
|
|
521
589
|
id?: number;
|
|
590
|
+
documentId?: string;
|
|
591
|
+
locale?: string;
|
|
522
592
|
uid?: string;
|
|
523
593
|
requireCommentsApproval?: boolean;
|
|
524
594
|
}, {
|
|
525
595
|
id?: number;
|
|
596
|
+
documentId?: string;
|
|
597
|
+
locale?: string;
|
|
526
598
|
uid?: string;
|
|
527
599
|
requireCommentsApproval?: boolean;
|
|
528
600
|
}>>>;
|
|
@@ -538,6 +610,8 @@ declare const commentWithRelatedSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
538
610
|
approvalStatus?: string;
|
|
539
611
|
related?: {
|
|
540
612
|
id?: number;
|
|
613
|
+
documentId?: string;
|
|
614
|
+
locale?: string;
|
|
541
615
|
uid?: string;
|
|
542
616
|
requireCommentsApproval?: boolean;
|
|
543
617
|
};
|
|
@@ -548,7 +622,10 @@ declare const commentWithRelatedSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
548
622
|
authorName?: string;
|
|
549
623
|
authorEmail?: string;
|
|
550
624
|
authorAvatar?: string;
|
|
551
|
-
authorUser?: string
|
|
625
|
+
authorUser?: string | {
|
|
626
|
+
id?: number;
|
|
627
|
+
email?: string;
|
|
628
|
+
};
|
|
552
629
|
locale?: string;
|
|
553
630
|
gotThread?: boolean;
|
|
554
631
|
threadFirstItemId?: number;
|
|
@@ -582,7 +659,10 @@ declare const commentWithRelatedSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
582
659
|
authorName?: string;
|
|
583
660
|
authorEmail?: string;
|
|
584
661
|
authorAvatar?: string;
|
|
585
|
-
authorUser?: string
|
|
662
|
+
authorUser?: string | {
|
|
663
|
+
id?: number;
|
|
664
|
+
email?: string;
|
|
665
|
+
};
|
|
586
666
|
locale?: string;
|
|
587
667
|
gotThread?: boolean;
|
|
588
668
|
threadFirstItemId?: number;
|
|
@@ -611,6 +691,8 @@ declare const commentWithRelatedSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
611
691
|
approvalStatus?: string;
|
|
612
692
|
related?: {
|
|
613
693
|
id?: number;
|
|
694
|
+
documentId?: string;
|
|
695
|
+
locale?: string;
|
|
614
696
|
uid?: string;
|
|
615
697
|
requireCommentsApproval?: boolean;
|
|
616
698
|
};
|
|
@@ -621,7 +703,10 @@ declare const commentWithRelatedSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
621
703
|
authorName?: string;
|
|
622
704
|
authorEmail?: string;
|
|
623
705
|
authorAvatar?: string;
|
|
624
|
-
authorUser?: string
|
|
706
|
+
authorUser?: string | {
|
|
707
|
+
id?: number;
|
|
708
|
+
email?: string;
|
|
709
|
+
};
|
|
625
710
|
locale?: string;
|
|
626
711
|
gotThread?: boolean;
|
|
627
712
|
threadFirstItemId?: number;
|
|
@@ -655,7 +740,10 @@ declare const commentWithRelatedSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
655
740
|
authorName?: string;
|
|
656
741
|
authorEmail?: string;
|
|
657
742
|
authorAvatar?: string;
|
|
658
|
-
authorUser?: string
|
|
743
|
+
authorUser?: string | {
|
|
744
|
+
id?: number;
|
|
745
|
+
email?: string;
|
|
746
|
+
};
|
|
659
747
|
locale?: string;
|
|
660
748
|
gotThread?: boolean;
|
|
661
749
|
threadFirstItemId?: number;
|
|
@@ -692,7 +780,16 @@ export declare const findManySchema: z.ZodArray<z.ZodObject<z.objectUtil.extendS
|
|
|
692
780
|
authorName: z.ZodNullable<z.ZodString>;
|
|
693
781
|
authorEmail: z.ZodNullable<z.ZodString>;
|
|
694
782
|
authorAvatar: z.ZodNullable<z.ZodString>;
|
|
695
|
-
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
|
+
}>]>>>;
|
|
696
793
|
locale: z.ZodNullable<z.ZodString>;
|
|
697
794
|
}, {
|
|
698
795
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -748,7 +845,16 @@ export declare const findManySchema: z.ZodArray<z.ZodObject<z.objectUtil.extendS
|
|
|
748
845
|
authorName: z.ZodNullable<z.ZodString>;
|
|
749
846
|
authorEmail: z.ZodNullable<z.ZodString>;
|
|
750
847
|
authorAvatar: z.ZodNullable<z.ZodString>;
|
|
751
|
-
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
|
+
}>]>>>;
|
|
752
858
|
locale: z.ZodNullable<z.ZodString>;
|
|
753
859
|
}, {
|
|
754
860
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -803,7 +909,10 @@ export declare const findManySchema: z.ZodArray<z.ZodObject<z.objectUtil.extendS
|
|
|
803
909
|
authorName?: string;
|
|
804
910
|
authorEmail?: string;
|
|
805
911
|
authorAvatar?: string;
|
|
806
|
-
authorUser?: string
|
|
912
|
+
authorUser?: string | {
|
|
913
|
+
id?: number;
|
|
914
|
+
email?: string;
|
|
915
|
+
};
|
|
807
916
|
locale?: string;
|
|
808
917
|
gotThread?: boolean;
|
|
809
918
|
threadFirstItemId?: number;
|
|
@@ -837,7 +946,10 @@ export declare const findManySchema: z.ZodArray<z.ZodObject<z.objectUtil.extendS
|
|
|
837
946
|
authorName?: string;
|
|
838
947
|
authorEmail?: string;
|
|
839
948
|
authorAvatar?: string;
|
|
840
|
-
authorUser?: string
|
|
949
|
+
authorUser?: string | {
|
|
950
|
+
id?: number;
|
|
951
|
+
email?: string;
|
|
952
|
+
};
|
|
841
953
|
locale?: string;
|
|
842
954
|
gotThread?: boolean;
|
|
843
955
|
threadFirstItemId?: number;
|
|
@@ -872,7 +984,10 @@ export declare const findManySchema: z.ZodArray<z.ZodObject<z.objectUtil.extendS
|
|
|
872
984
|
authorName?: string;
|
|
873
985
|
authorEmail?: string;
|
|
874
986
|
authorAvatar?: string;
|
|
875
|
-
authorUser?: string
|
|
987
|
+
authorUser?: string | {
|
|
988
|
+
id?: number;
|
|
989
|
+
email?: string;
|
|
990
|
+
};
|
|
876
991
|
locale?: string;
|
|
877
992
|
gotThread?: boolean;
|
|
878
993
|
threadFirstItemId?: number;
|
|
@@ -906,7 +1021,10 @@ export declare const findManySchema: z.ZodArray<z.ZodObject<z.objectUtil.extendS
|
|
|
906
1021
|
authorName?: string;
|
|
907
1022
|
authorEmail?: string;
|
|
908
1023
|
authorAvatar?: string;
|
|
909
|
-
authorUser?: string
|
|
1024
|
+
authorUser?: string | {
|
|
1025
|
+
id?: number;
|
|
1026
|
+
email?: string;
|
|
1027
|
+
};
|
|
910
1028
|
locale?: string;
|
|
911
1029
|
gotThread?: boolean;
|
|
912
1030
|
threadFirstItemId?: number;
|
|
@@ -941,7 +1059,10 @@ export declare const findManySchema: z.ZodArray<z.ZodObject<z.objectUtil.extendS
|
|
|
941
1059
|
authorName?: string;
|
|
942
1060
|
authorEmail?: string;
|
|
943
1061
|
authorAvatar?: string;
|
|
944
|
-
authorUser?: string
|
|
1062
|
+
authorUser?: string | {
|
|
1063
|
+
id?: number;
|
|
1064
|
+
email?: string;
|
|
1065
|
+
};
|
|
945
1066
|
locale?: string;
|
|
946
1067
|
gotThread?: boolean;
|
|
947
1068
|
threadFirstItemId?: number;
|
|
@@ -975,7 +1096,10 @@ export declare const findManySchema: z.ZodArray<z.ZodObject<z.objectUtil.extendS
|
|
|
975
1096
|
authorName?: string;
|
|
976
1097
|
authorEmail?: string;
|
|
977
1098
|
authorAvatar?: string;
|
|
978
|
-
authorUser?: string
|
|
1099
|
+
authorUser?: string | {
|
|
1100
|
+
id?: number;
|
|
1101
|
+
email?: string;
|
|
1102
|
+
};
|
|
979
1103
|
locale?: string;
|
|
980
1104
|
gotThread?: boolean;
|
|
981
1105
|
threadFirstItemId?: number;
|
|
@@ -1028,7 +1152,16 @@ export declare const findWithCountSchema: z.ZodObject<{
|
|
|
1028
1152
|
authorName: z.ZodNullable<z.ZodString>;
|
|
1029
1153
|
authorEmail: z.ZodNullable<z.ZodString>;
|
|
1030
1154
|
authorAvatar: z.ZodNullable<z.ZodString>;
|
|
1031
|
-
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
|
+
}>]>>>;
|
|
1032
1165
|
locale: z.ZodNullable<z.ZodString>;
|
|
1033
1166
|
}, {
|
|
1034
1167
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -1084,7 +1217,16 @@ export declare const findWithCountSchema: z.ZodObject<{
|
|
|
1084
1217
|
authorName: z.ZodNullable<z.ZodString>;
|
|
1085
1218
|
authorEmail: z.ZodNullable<z.ZodString>;
|
|
1086
1219
|
authorAvatar: z.ZodNullable<z.ZodString>;
|
|
1087
|
-
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
|
+
}>]>>>;
|
|
1088
1230
|
locale: z.ZodNullable<z.ZodString>;
|
|
1089
1231
|
}, {
|
|
1090
1232
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -1139,7 +1281,10 @@ export declare const findWithCountSchema: z.ZodObject<{
|
|
|
1139
1281
|
authorName?: string;
|
|
1140
1282
|
authorEmail?: string;
|
|
1141
1283
|
authorAvatar?: string;
|
|
1142
|
-
authorUser?: string
|
|
1284
|
+
authorUser?: string | {
|
|
1285
|
+
id?: number;
|
|
1286
|
+
email?: string;
|
|
1287
|
+
};
|
|
1143
1288
|
locale?: string;
|
|
1144
1289
|
gotThread?: boolean;
|
|
1145
1290
|
threadFirstItemId?: number;
|
|
@@ -1173,7 +1318,10 @@ export declare const findWithCountSchema: z.ZodObject<{
|
|
|
1173
1318
|
authorName?: string;
|
|
1174
1319
|
authorEmail?: string;
|
|
1175
1320
|
authorAvatar?: string;
|
|
1176
|
-
authorUser?: string
|
|
1321
|
+
authorUser?: string | {
|
|
1322
|
+
id?: number;
|
|
1323
|
+
email?: string;
|
|
1324
|
+
};
|
|
1177
1325
|
locale?: string;
|
|
1178
1326
|
gotThread?: boolean;
|
|
1179
1327
|
threadFirstItemId?: number;
|
|
@@ -1208,7 +1356,10 @@ export declare const findWithCountSchema: z.ZodObject<{
|
|
|
1208
1356
|
authorName?: string;
|
|
1209
1357
|
authorEmail?: string;
|
|
1210
1358
|
authorAvatar?: string;
|
|
1211
|
-
authorUser?: string
|
|
1359
|
+
authorUser?: string | {
|
|
1360
|
+
id?: number;
|
|
1361
|
+
email?: string;
|
|
1362
|
+
};
|
|
1212
1363
|
locale?: string;
|
|
1213
1364
|
gotThread?: boolean;
|
|
1214
1365
|
threadFirstItemId?: number;
|
|
@@ -1242,7 +1393,10 @@ export declare const findWithCountSchema: z.ZodObject<{
|
|
|
1242
1393
|
authorName?: string;
|
|
1243
1394
|
authorEmail?: string;
|
|
1244
1395
|
authorAvatar?: string;
|
|
1245
|
-
authorUser?: string
|
|
1396
|
+
authorUser?: string | {
|
|
1397
|
+
id?: number;
|
|
1398
|
+
email?: string;
|
|
1399
|
+
};
|
|
1246
1400
|
locale?: string;
|
|
1247
1401
|
gotThread?: boolean;
|
|
1248
1402
|
threadFirstItemId?: number;
|
|
@@ -1277,7 +1431,10 @@ export declare const findWithCountSchema: z.ZodObject<{
|
|
|
1277
1431
|
authorName?: string;
|
|
1278
1432
|
authorEmail?: string;
|
|
1279
1433
|
authorAvatar?: string;
|
|
1280
|
-
authorUser?: string
|
|
1434
|
+
authorUser?: string | {
|
|
1435
|
+
id?: number;
|
|
1436
|
+
email?: string;
|
|
1437
|
+
};
|
|
1281
1438
|
locale?: string;
|
|
1282
1439
|
gotThread?: boolean;
|
|
1283
1440
|
threadFirstItemId?: number;
|
|
@@ -1311,7 +1468,10 @@ export declare const findWithCountSchema: z.ZodObject<{
|
|
|
1311
1468
|
authorName?: string;
|
|
1312
1469
|
authorEmail?: string;
|
|
1313
1470
|
authorAvatar?: string;
|
|
1314
|
-
authorUser?: string
|
|
1471
|
+
authorUser?: string | {
|
|
1472
|
+
id?: number;
|
|
1473
|
+
email?: string;
|
|
1474
|
+
};
|
|
1315
1475
|
locale?: string;
|
|
1316
1476
|
gotThread?: boolean;
|
|
1317
1477
|
threadFirstItemId?: number;
|
|
@@ -1354,7 +1514,10 @@ export declare const findWithCountSchema: z.ZodObject<{
|
|
|
1354
1514
|
authorName?: string;
|
|
1355
1515
|
authorEmail?: string;
|
|
1356
1516
|
authorAvatar?: string;
|
|
1357
|
-
authorUser?: string
|
|
1517
|
+
authorUser?: string | {
|
|
1518
|
+
id?: number;
|
|
1519
|
+
email?: string;
|
|
1520
|
+
};
|
|
1358
1521
|
locale?: string;
|
|
1359
1522
|
gotThread?: boolean;
|
|
1360
1523
|
threadFirstItemId?: number;
|
|
@@ -1388,7 +1551,10 @@ export declare const findWithCountSchema: z.ZodObject<{
|
|
|
1388
1551
|
authorName?: string;
|
|
1389
1552
|
authorEmail?: string;
|
|
1390
1553
|
authorAvatar?: string;
|
|
1391
|
-
authorUser?: string
|
|
1554
|
+
authorUser?: string | {
|
|
1555
|
+
id?: number;
|
|
1556
|
+
email?: string;
|
|
1557
|
+
};
|
|
1392
1558
|
locale?: string;
|
|
1393
1559
|
gotThread?: boolean;
|
|
1394
1560
|
threadFirstItemId?: number;
|
|
@@ -1431,7 +1597,10 @@ export declare const findWithCountSchema: z.ZodObject<{
|
|
|
1431
1597
|
authorName?: string;
|
|
1432
1598
|
authorEmail?: string;
|
|
1433
1599
|
authorAvatar?: string;
|
|
1434
|
-
authorUser?: string
|
|
1600
|
+
authorUser?: string | {
|
|
1601
|
+
id?: number;
|
|
1602
|
+
email?: string;
|
|
1603
|
+
};
|
|
1435
1604
|
locale?: string;
|
|
1436
1605
|
gotThread?: boolean;
|
|
1437
1606
|
threadFirstItemId?: number;
|
|
@@ -1465,7 +1634,10 @@ export declare const findWithCountSchema: z.ZodObject<{
|
|
|
1465
1634
|
authorName?: string;
|
|
1466
1635
|
authorEmail?: string;
|
|
1467
1636
|
authorAvatar?: string;
|
|
1468
|
-
authorUser?: string
|
|
1637
|
+
authorUser?: string | {
|
|
1638
|
+
id?: number;
|
|
1639
|
+
email?: string;
|
|
1640
|
+
};
|
|
1469
1641
|
locale?: string;
|
|
1470
1642
|
gotThread?: boolean;
|
|
1471
1643
|
threadFirstItemId?: number;
|
|
@@ -1510,7 +1682,16 @@ export declare const commentResultValidator: {
|
|
|
1510
1682
|
authorName: z.ZodNullable<z.ZodString>;
|
|
1511
1683
|
authorEmail: z.ZodNullable<z.ZodString>;
|
|
1512
1684
|
authorAvatar: z.ZodNullable<z.ZodString>;
|
|
1513
|
-
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
|
+
}>]>>>;
|
|
1514
1695
|
locale: z.ZodNullable<z.ZodString>;
|
|
1515
1696
|
}, {
|
|
1516
1697
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -1566,7 +1747,16 @@ export declare const commentResultValidator: {
|
|
|
1566
1747
|
authorName: z.ZodNullable<z.ZodString>;
|
|
1567
1748
|
authorEmail: z.ZodNullable<z.ZodString>;
|
|
1568
1749
|
authorAvatar: z.ZodNullable<z.ZodString>;
|
|
1569
|
-
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
|
+
}>]>>>;
|
|
1570
1760
|
locale: z.ZodNullable<z.ZodString>;
|
|
1571
1761
|
}, {
|
|
1572
1762
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -1621,7 +1811,10 @@ export declare const commentResultValidator: {
|
|
|
1621
1811
|
authorName?: string;
|
|
1622
1812
|
authorEmail?: string;
|
|
1623
1813
|
authorAvatar?: string;
|
|
1624
|
-
authorUser?: string
|
|
1814
|
+
authorUser?: string | {
|
|
1815
|
+
id?: number;
|
|
1816
|
+
email?: string;
|
|
1817
|
+
};
|
|
1625
1818
|
locale?: string;
|
|
1626
1819
|
gotThread?: boolean;
|
|
1627
1820
|
threadFirstItemId?: number;
|
|
@@ -1655,7 +1848,10 @@ export declare const commentResultValidator: {
|
|
|
1655
1848
|
authorName?: string;
|
|
1656
1849
|
authorEmail?: string;
|
|
1657
1850
|
authorAvatar?: string;
|
|
1658
|
-
authorUser?: string
|
|
1851
|
+
authorUser?: string | {
|
|
1852
|
+
id?: number;
|
|
1853
|
+
email?: string;
|
|
1854
|
+
};
|
|
1659
1855
|
locale?: string;
|
|
1660
1856
|
gotThread?: boolean;
|
|
1661
1857
|
threadFirstItemId?: number;
|
|
@@ -1690,7 +1886,10 @@ export declare const commentResultValidator: {
|
|
|
1690
1886
|
authorName?: string;
|
|
1691
1887
|
authorEmail?: string;
|
|
1692
1888
|
authorAvatar?: string;
|
|
1693
|
-
authorUser?: string
|
|
1889
|
+
authorUser?: string | {
|
|
1890
|
+
id?: number;
|
|
1891
|
+
email?: string;
|
|
1892
|
+
};
|
|
1694
1893
|
locale?: string;
|
|
1695
1894
|
gotThread?: boolean;
|
|
1696
1895
|
threadFirstItemId?: number;
|
|
@@ -1724,7 +1923,10 @@ export declare const commentResultValidator: {
|
|
|
1724
1923
|
authorName?: string;
|
|
1725
1924
|
authorEmail?: string;
|
|
1726
1925
|
authorAvatar?: string;
|
|
1727
|
-
authorUser?: string
|
|
1926
|
+
authorUser?: string | {
|
|
1927
|
+
id?: number;
|
|
1928
|
+
email?: string;
|
|
1929
|
+
};
|
|
1728
1930
|
locale?: string;
|
|
1729
1931
|
gotThread?: boolean;
|
|
1730
1932
|
threadFirstItemId?: number;
|
|
@@ -1759,7 +1961,10 @@ export declare const commentResultValidator: {
|
|
|
1759
1961
|
authorName?: string;
|
|
1760
1962
|
authorEmail?: string;
|
|
1761
1963
|
authorAvatar?: string;
|
|
1762
|
-
authorUser?: string
|
|
1964
|
+
authorUser?: string | {
|
|
1965
|
+
id?: number;
|
|
1966
|
+
email?: string;
|
|
1967
|
+
};
|
|
1763
1968
|
locale?: string;
|
|
1764
1969
|
gotThread?: boolean;
|
|
1765
1970
|
threadFirstItemId?: number;
|
|
@@ -1793,7 +1998,10 @@ export declare const commentResultValidator: {
|
|
|
1793
1998
|
authorName?: string;
|
|
1794
1999
|
authorEmail?: string;
|
|
1795
2000
|
authorAvatar?: string;
|
|
1796
|
-
authorUser?: string
|
|
2001
|
+
authorUser?: string | {
|
|
2002
|
+
id?: number;
|
|
2003
|
+
email?: string;
|
|
2004
|
+
};
|
|
1797
2005
|
locale?: string;
|
|
1798
2006
|
gotThread?: boolean;
|
|
1799
2007
|
threadFirstItemId?: number;
|
|
@@ -1846,7 +2054,16 @@ export declare const commentResultValidator: {
|
|
|
1846
2054
|
authorName: z.ZodNullable<z.ZodString>;
|
|
1847
2055
|
authorEmail: z.ZodNullable<z.ZodString>;
|
|
1848
2056
|
authorAvatar: z.ZodNullable<z.ZodString>;
|
|
1849
|
-
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
|
+
}>]>>>;
|
|
1850
2067
|
locale: z.ZodNullable<z.ZodString>;
|
|
1851
2068
|
}, {
|
|
1852
2069
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -1902,7 +2119,16 @@ export declare const commentResultValidator: {
|
|
|
1902
2119
|
authorName: z.ZodNullable<z.ZodString>;
|
|
1903
2120
|
authorEmail: z.ZodNullable<z.ZodString>;
|
|
1904
2121
|
authorAvatar: z.ZodNullable<z.ZodString>;
|
|
1905
|
-
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
|
+
}>]>>>;
|
|
1906
2132
|
locale: z.ZodNullable<z.ZodString>;
|
|
1907
2133
|
}, {
|
|
1908
2134
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -1957,7 +2183,10 @@ export declare const commentResultValidator: {
|
|
|
1957
2183
|
authorName?: string;
|
|
1958
2184
|
authorEmail?: string;
|
|
1959
2185
|
authorAvatar?: string;
|
|
1960
|
-
authorUser?: string
|
|
2186
|
+
authorUser?: string | {
|
|
2187
|
+
id?: number;
|
|
2188
|
+
email?: string;
|
|
2189
|
+
};
|
|
1961
2190
|
locale?: string;
|
|
1962
2191
|
gotThread?: boolean;
|
|
1963
2192
|
threadFirstItemId?: number;
|
|
@@ -1991,7 +2220,10 @@ export declare const commentResultValidator: {
|
|
|
1991
2220
|
authorName?: string;
|
|
1992
2221
|
authorEmail?: string;
|
|
1993
2222
|
authorAvatar?: string;
|
|
1994
|
-
authorUser?: string
|
|
2223
|
+
authorUser?: string | {
|
|
2224
|
+
id?: number;
|
|
2225
|
+
email?: string;
|
|
2226
|
+
};
|
|
1995
2227
|
locale?: string;
|
|
1996
2228
|
gotThread?: boolean;
|
|
1997
2229
|
threadFirstItemId?: number;
|
|
@@ -2026,7 +2258,10 @@ export declare const commentResultValidator: {
|
|
|
2026
2258
|
authorName?: string;
|
|
2027
2259
|
authorEmail?: string;
|
|
2028
2260
|
authorAvatar?: string;
|
|
2029
|
-
authorUser?: string
|
|
2261
|
+
authorUser?: string | {
|
|
2262
|
+
id?: number;
|
|
2263
|
+
email?: string;
|
|
2264
|
+
};
|
|
2030
2265
|
locale?: string;
|
|
2031
2266
|
gotThread?: boolean;
|
|
2032
2267
|
threadFirstItemId?: number;
|
|
@@ -2060,7 +2295,10 @@ export declare const commentResultValidator: {
|
|
|
2060
2295
|
authorName?: string;
|
|
2061
2296
|
authorEmail?: string;
|
|
2062
2297
|
authorAvatar?: string;
|
|
2063
|
-
authorUser?: string
|
|
2298
|
+
authorUser?: string | {
|
|
2299
|
+
id?: number;
|
|
2300
|
+
email?: string;
|
|
2301
|
+
};
|
|
2064
2302
|
locale?: string;
|
|
2065
2303
|
gotThread?: boolean;
|
|
2066
2304
|
threadFirstItemId?: number;
|
|
@@ -2095,7 +2333,10 @@ export declare const commentResultValidator: {
|
|
|
2095
2333
|
authorName?: string;
|
|
2096
2334
|
authorEmail?: string;
|
|
2097
2335
|
authorAvatar?: string;
|
|
2098
|
-
authorUser?: string
|
|
2336
|
+
authorUser?: string | {
|
|
2337
|
+
id?: number;
|
|
2338
|
+
email?: string;
|
|
2339
|
+
};
|
|
2099
2340
|
locale?: string;
|
|
2100
2341
|
gotThread?: boolean;
|
|
2101
2342
|
threadFirstItemId?: number;
|
|
@@ -2129,7 +2370,10 @@ export declare const commentResultValidator: {
|
|
|
2129
2370
|
authorName?: string;
|
|
2130
2371
|
authorEmail?: string;
|
|
2131
2372
|
authorAvatar?: string;
|
|
2132
|
-
authorUser?: string
|
|
2373
|
+
authorUser?: string | {
|
|
2374
|
+
id?: number;
|
|
2375
|
+
email?: string;
|
|
2376
|
+
};
|
|
2133
2377
|
locale?: string;
|
|
2134
2378
|
gotThread?: boolean;
|
|
2135
2379
|
threadFirstItemId?: number;
|
|
@@ -2172,7 +2416,10 @@ export declare const commentResultValidator: {
|
|
|
2172
2416
|
authorName?: string;
|
|
2173
2417
|
authorEmail?: string;
|
|
2174
2418
|
authorAvatar?: string;
|
|
2175
|
-
authorUser?: string
|
|
2419
|
+
authorUser?: string | {
|
|
2420
|
+
id?: number;
|
|
2421
|
+
email?: string;
|
|
2422
|
+
};
|
|
2176
2423
|
locale?: string;
|
|
2177
2424
|
gotThread?: boolean;
|
|
2178
2425
|
threadFirstItemId?: number;
|
|
@@ -2206,7 +2453,10 @@ export declare const commentResultValidator: {
|
|
|
2206
2453
|
authorName?: string;
|
|
2207
2454
|
authorEmail?: string;
|
|
2208
2455
|
authorAvatar?: string;
|
|
2209
|
-
authorUser?: string
|
|
2456
|
+
authorUser?: string | {
|
|
2457
|
+
id?: number;
|
|
2458
|
+
email?: string;
|
|
2459
|
+
};
|
|
2210
2460
|
locale?: string;
|
|
2211
2461
|
gotThread?: boolean;
|
|
2212
2462
|
threadFirstItemId?: number;
|
|
@@ -2249,7 +2499,10 @@ export declare const commentResultValidator: {
|
|
|
2249
2499
|
authorName?: string;
|
|
2250
2500
|
authorEmail?: string;
|
|
2251
2501
|
authorAvatar?: string;
|
|
2252
|
-
authorUser?: string
|
|
2502
|
+
authorUser?: string | {
|
|
2503
|
+
id?: number;
|
|
2504
|
+
email?: string;
|
|
2505
|
+
};
|
|
2253
2506
|
locale?: string;
|
|
2254
2507
|
gotThread?: boolean;
|
|
2255
2508
|
threadFirstItemId?: number;
|
|
@@ -2283,7 +2536,10 @@ export declare const commentResultValidator: {
|
|
|
2283
2536
|
authorName?: string;
|
|
2284
2537
|
authorEmail?: string;
|
|
2285
2538
|
authorAvatar?: string;
|
|
2286
|
-
authorUser?: string
|
|
2539
|
+
authorUser?: string | {
|
|
2540
|
+
id?: number;
|
|
2541
|
+
email?: string;
|
|
2542
|
+
};
|
|
2287
2543
|
locale?: string;
|
|
2288
2544
|
gotThread?: boolean;
|
|
2289
2545
|
threadFirstItemId?: number;
|
|
@@ -2320,7 +2576,16 @@ export declare const commentResultValidator: {
|
|
|
2320
2576
|
authorName: z.ZodNullable<z.ZodString>;
|
|
2321
2577
|
authorEmail: z.ZodNullable<z.ZodString>;
|
|
2322
2578
|
authorAvatar: z.ZodNullable<z.ZodString>;
|
|
2323
|
-
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
|
+
}>]>>>;
|
|
2324
2589
|
locale: z.ZodNullable<z.ZodString>;
|
|
2325
2590
|
}, {
|
|
2326
2591
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -2376,7 +2641,16 @@ export declare const commentResultValidator: {
|
|
|
2376
2641
|
authorName: z.ZodNullable<z.ZodString>;
|
|
2377
2642
|
authorEmail: z.ZodNullable<z.ZodString>;
|
|
2378
2643
|
authorAvatar: z.ZodNullable<z.ZodString>;
|
|
2379
|
-
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
|
+
}>]>>>;
|
|
2380
2654
|
locale: z.ZodNullable<z.ZodString>;
|
|
2381
2655
|
}, {
|
|
2382
2656
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -2431,7 +2705,10 @@ export declare const commentResultValidator: {
|
|
|
2431
2705
|
authorName?: string;
|
|
2432
2706
|
authorEmail?: string;
|
|
2433
2707
|
authorAvatar?: string;
|
|
2434
|
-
authorUser?: string
|
|
2708
|
+
authorUser?: string | {
|
|
2709
|
+
id?: number;
|
|
2710
|
+
email?: string;
|
|
2711
|
+
};
|
|
2435
2712
|
locale?: string;
|
|
2436
2713
|
gotThread?: boolean;
|
|
2437
2714
|
threadFirstItemId?: number;
|
|
@@ -2465,7 +2742,10 @@ export declare const commentResultValidator: {
|
|
|
2465
2742
|
authorName?: string;
|
|
2466
2743
|
authorEmail?: string;
|
|
2467
2744
|
authorAvatar?: string;
|
|
2468
|
-
authorUser?: string
|
|
2745
|
+
authorUser?: string | {
|
|
2746
|
+
id?: number;
|
|
2747
|
+
email?: string;
|
|
2748
|
+
};
|
|
2469
2749
|
locale?: string;
|
|
2470
2750
|
gotThread?: boolean;
|
|
2471
2751
|
threadFirstItemId?: number;
|
|
@@ -2500,7 +2780,10 @@ export declare const commentResultValidator: {
|
|
|
2500
2780
|
authorName?: string;
|
|
2501
2781
|
authorEmail?: string;
|
|
2502
2782
|
authorAvatar?: string;
|
|
2503
|
-
authorUser?: string
|
|
2783
|
+
authorUser?: string | {
|
|
2784
|
+
id?: number;
|
|
2785
|
+
email?: string;
|
|
2786
|
+
};
|
|
2504
2787
|
locale?: string;
|
|
2505
2788
|
gotThread?: boolean;
|
|
2506
2789
|
threadFirstItemId?: number;
|
|
@@ -2534,7 +2817,10 @@ export declare const commentResultValidator: {
|
|
|
2534
2817
|
authorName?: string;
|
|
2535
2818
|
authorEmail?: string;
|
|
2536
2819
|
authorAvatar?: string;
|
|
2537
|
-
authorUser?: string
|
|
2820
|
+
authorUser?: string | {
|
|
2821
|
+
id?: number;
|
|
2822
|
+
email?: string;
|
|
2823
|
+
};
|
|
2538
2824
|
locale?: string;
|
|
2539
2825
|
gotThread?: boolean;
|
|
2540
2826
|
threadFirstItemId?: number;
|
|
@@ -2569,7 +2855,10 @@ export declare const commentResultValidator: {
|
|
|
2569
2855
|
authorName?: string;
|
|
2570
2856
|
authorEmail?: string;
|
|
2571
2857
|
authorAvatar?: string;
|
|
2572
|
-
authorUser?: string
|
|
2858
|
+
authorUser?: string | {
|
|
2859
|
+
id?: number;
|
|
2860
|
+
email?: string;
|
|
2861
|
+
};
|
|
2573
2862
|
locale?: string;
|
|
2574
2863
|
gotThread?: boolean;
|
|
2575
2864
|
threadFirstItemId?: number;
|
|
@@ -2603,7 +2892,10 @@ export declare const commentResultValidator: {
|
|
|
2603
2892
|
authorName?: string;
|
|
2604
2893
|
authorEmail?: string;
|
|
2605
2894
|
authorAvatar?: string;
|
|
2606
|
-
authorUser?: string
|
|
2895
|
+
authorUser?: string | {
|
|
2896
|
+
id?: number;
|
|
2897
|
+
email?: string;
|
|
2898
|
+
};
|
|
2607
2899
|
locale?: string;
|
|
2608
2900
|
gotThread?: boolean;
|
|
2609
2901
|
threadFirstItemId?: number;
|
|
@@ -2639,7 +2931,16 @@ export declare const commentResultValidator: {
|
|
|
2639
2931
|
authorName: z.ZodNullable<z.ZodString>;
|
|
2640
2932
|
authorEmail: z.ZodNullable<z.ZodString>;
|
|
2641
2933
|
authorAvatar: z.ZodNullable<z.ZodString>;
|
|
2642
|
-
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
|
+
}>]>>>;
|
|
2643
2944
|
locale: z.ZodNullable<z.ZodString>;
|
|
2644
2945
|
}, {
|
|
2645
2946
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -2695,7 +2996,16 @@ export declare const commentResultValidator: {
|
|
|
2695
2996
|
authorName: z.ZodNullable<z.ZodString>;
|
|
2696
2997
|
authorEmail: z.ZodNullable<z.ZodString>;
|
|
2697
2998
|
authorAvatar: z.ZodNullable<z.ZodString>;
|
|
2698
|
-
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
|
+
}>]>>>;
|
|
2699
3009
|
locale: z.ZodNullable<z.ZodString>;
|
|
2700
3010
|
}, {
|
|
2701
3011
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -2750,7 +3060,10 @@ export declare const commentResultValidator: {
|
|
|
2750
3060
|
authorName?: string;
|
|
2751
3061
|
authorEmail?: string;
|
|
2752
3062
|
authorAvatar?: string;
|
|
2753
|
-
authorUser?: string
|
|
3063
|
+
authorUser?: string | {
|
|
3064
|
+
id?: number;
|
|
3065
|
+
email?: string;
|
|
3066
|
+
};
|
|
2754
3067
|
locale?: string;
|
|
2755
3068
|
gotThread?: boolean;
|
|
2756
3069
|
threadFirstItemId?: number;
|
|
@@ -2784,7 +3097,10 @@ export declare const commentResultValidator: {
|
|
|
2784
3097
|
authorName?: string;
|
|
2785
3098
|
authorEmail?: string;
|
|
2786
3099
|
authorAvatar?: string;
|
|
2787
|
-
authorUser?: string
|
|
3100
|
+
authorUser?: string | {
|
|
3101
|
+
id?: number;
|
|
3102
|
+
email?: string;
|
|
3103
|
+
};
|
|
2788
3104
|
locale?: string;
|
|
2789
3105
|
gotThread?: boolean;
|
|
2790
3106
|
threadFirstItemId?: number;
|
|
@@ -2819,7 +3135,10 @@ export declare const commentResultValidator: {
|
|
|
2819
3135
|
authorName?: string;
|
|
2820
3136
|
authorEmail?: string;
|
|
2821
3137
|
authorAvatar?: string;
|
|
2822
|
-
authorUser?: string
|
|
3138
|
+
authorUser?: string | {
|
|
3139
|
+
id?: number;
|
|
3140
|
+
email?: string;
|
|
3141
|
+
};
|
|
2823
3142
|
locale?: string;
|
|
2824
3143
|
gotThread?: boolean;
|
|
2825
3144
|
threadFirstItemId?: number;
|
|
@@ -2853,7 +3172,10 @@ export declare const commentResultValidator: {
|
|
|
2853
3172
|
authorName?: string;
|
|
2854
3173
|
authorEmail?: string;
|
|
2855
3174
|
authorAvatar?: string;
|
|
2856
|
-
authorUser?: string
|
|
3175
|
+
authorUser?: string | {
|
|
3176
|
+
id?: number;
|
|
3177
|
+
email?: string;
|
|
3178
|
+
};
|
|
2857
3179
|
locale?: string;
|
|
2858
3180
|
gotThread?: boolean;
|
|
2859
3181
|
threadFirstItemId?: number;
|
|
@@ -2888,7 +3210,10 @@ export declare const commentResultValidator: {
|
|
|
2888
3210
|
authorName?: string;
|
|
2889
3211
|
authorEmail?: string;
|
|
2890
3212
|
authorAvatar?: string;
|
|
2891
|
-
authorUser?: string
|
|
3213
|
+
authorUser?: string | {
|
|
3214
|
+
id?: number;
|
|
3215
|
+
email?: string;
|
|
3216
|
+
};
|
|
2892
3217
|
locale?: string;
|
|
2893
3218
|
gotThread?: boolean;
|
|
2894
3219
|
threadFirstItemId?: number;
|
|
@@ -2922,7 +3247,10 @@ export declare const commentResultValidator: {
|
|
|
2922
3247
|
authorName?: string;
|
|
2923
3248
|
authorEmail?: string;
|
|
2924
3249
|
authorAvatar?: string;
|
|
2925
|
-
authorUser?: string
|
|
3250
|
+
authorUser?: string | {
|
|
3251
|
+
id?: number;
|
|
3252
|
+
email?: string;
|
|
3253
|
+
};
|
|
2926
3254
|
locale?: string;
|
|
2927
3255
|
gotThread?: boolean;
|
|
2928
3256
|
threadFirstItemId?: number;
|