strapi-plugin-comments 3.0.8 → 3.0.10
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 +1 -1
- package/dist/_chunks/{en-DCsHR-ue.mjs → en-BtJqEJGe.mjs} +2 -0
- package/dist/_chunks/en-CNvRvaLL.js +1 -0
- package/dist/_chunks/fr-Bh0tVDIQ.js +1 -0
- package/dist/_chunks/{fr-DC9DGoT1.mjs → fr-n-k7Rsq9.mjs} +106 -55
- package/dist/_chunks/index-3aTvO9o4.js +2221 -0
- package/dist/_chunks/{index-Dz0m9-CE.mjs → index-B3sOw8of.mjs} +11781 -11717
- package/dist/_chunks/{index-B5PjDM8c.js → index-BkeaCrYD.js} +1 -1
- package/dist/_chunks/{index-C9SDOq14.mjs → index-BmZpl8oj.mjs} +8398 -8287
- package/dist/_chunks/{index-C06AHjYM.js → index-C1iG6Vvf.js} +44 -44
- package/dist/_chunks/index-CdurBq-v.js +18 -0
- package/dist/_chunks/{index-BS9J96Lh.mjs → index-CzOGwAt4.mjs} +466 -462
- package/dist/_chunks/{index-iv4k-YuD.mjs → index-DG6A3YTl.mjs} +20 -20
- package/dist/_chunks/pl-DoXe0BV9.js +1 -0
- package/dist/_chunks/{pl-DZiVsGIg.mjs → pl-_wkGtdQj.mjs} +2 -0
- package/dist/_chunks/{pt-BR-CW4ugNZj.mjs → pt-BR-Bx1qSZ0Z.mjs} +2 -0
- package/dist/_chunks/pt-BR-CLvbSGaH.js +1 -0
- package/dist/_chunks/{ru-CfKjYq3M.mjs → ru-BuUj7OWH.mjs} +2 -0
- package/dist/_chunks/ru-eLIDfsd3.js +1 -0
- package/dist/_chunks/tr-BX-_IBUR.js +1 -0
- package/dist/_chunks/{tr-BQR2hK7S.mjs → tr-CloK8CbW.mjs} +2 -0
- package/dist/_chunks/zh-Hans-DusBjCtd.js +1 -0
- package/dist/_chunks/{zh-Hans-lNqOn5JS.mjs → zh-Hans-Isi-yCnI.mjs} +2 -0
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/src/api/schemas.d.ts +21 -21
- package/dist/admin/src/components/ActionButton/index.d.ts +4 -2
- package/dist/admin/src/components/CommentStatusFilters/index.d.ts +6 -0
- package/dist/admin/src/components/DiscussionThreadItem/DiscussionThreadItemFooter.d.ts +1 -1
- package/dist/admin/src/components/DiscussionThreadItem/index.d.ts +2 -2
- package/dist/admin/src/components/IconButtonGroup/index.d.ts +5 -2
- package/dist/admin/src/components/StatusBadge/index.d.ts +1 -1
- package/dist/admin/src/components/Wysiwyg/EditorLayout.d.ts +1 -1
- package/dist/admin/src/components/Wysiwyg/WysiwygStyles.d.ts +4 -4
- package/dist/admin/src/hooks/useCommentsAll.d.ts +2 -2
- package/dist/admin/src/translations/en.d.ts +2 -0
- package/dist/admin/src/translations/fr.d.ts +52 -0
- package/dist/admin/src/translations/pl.d.ts +2 -0
- package/dist/admin/src/translations/pt-BR.d.ts +2 -0
- package/dist/admin/src/translations/ru.d.ts +2 -0
- package/dist/admin/src/translations/tr.d.ts +2 -0
- package/dist/admin/src/translations/zh-Hans.d.ts +2 -0
- package/dist/server/index.js +31 -31
- package/dist/server/index.mjs +1290 -1264
- package/dist/server/src/@types/controllers.d.ts +1 -0
- package/dist/server/src/controllers/index.d.ts +66 -0
- package/dist/server/src/graphql/getResolversConfig.d.ts +4 -4
- package/dist/server/src/index.d.ts +572 -1
- package/dist/server/src/services/admin/admin.service.d.ts +68 -1
- package/dist/server/src/services/admin/utils.d.ts +1 -8
- package/dist/server/src/services/client.service.d.ts +67 -0
- package/dist/server/src/services/common.service.d.ts +1 -0
- package/dist/server/src/services/index.d.ts +506 -1
- package/dist/server/src/validators/api/controllers/admin.controller.validator.d.ts +1504 -6
- package/dist/server/src/validators/api/controllers/client.controller.validator.d.ts +66 -0
- package/dist/server/src/validators/repositories/comment.validator.d.ts +57 -57
- package/dist/server/src/validators/utils.d.ts +1238 -4
- package/package.json +14 -14
- package/dist/_chunks/en-CgUbWvmQ.js +0 -1
- package/dist/_chunks/fr-BXfxIXq1.js +0 -1
- package/dist/_chunks/index-BGCzzYSK.js +0 -2175
- package/dist/_chunks/index-Chf4p7eV.js +0 -18
- package/dist/_chunks/pl-Bl4yP3sZ.js +0 -1
- package/dist/_chunks/pt-BR-D9T5g0JT.js +0 -1
- package/dist/_chunks/ru-DIZ4pV4l.js +0 -1
- package/dist/_chunks/tr-Dl2hdLCx.js +0 -1
- package/dist/_chunks/zh-Hans-BZhnqfei.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
declare const commentSchema: z.ZodObject<
|
|
2
|
+
declare const commentSchema: z.ZodObject<{
|
|
3
3
|
id: z.ZodNumber;
|
|
4
4
|
documentId: z.ZodNullable<z.ZodString>;
|
|
5
5
|
content: z.ZodString;
|
|
@@ -28,7 +28,7 @@ declare const commentSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
28
28
|
email?: string;
|
|
29
29
|
}>]>>>;
|
|
30
30
|
locale: z.ZodNullable<z.ZodString>;
|
|
31
|
-
}
|
|
31
|
+
} & {
|
|
32
32
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
33
33
|
threadFirstItemId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
34
34
|
reports: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -63,8 +63,8 @@ declare const commentSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
63
63
|
resolved?: boolean;
|
|
64
64
|
}>, "many">>;
|
|
65
65
|
author: z.ZodAny;
|
|
66
|
-
}
|
|
67
|
-
threadOf: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodUnion<[z.ZodNumber, z.ZodObject<
|
|
66
|
+
} & {
|
|
67
|
+
threadOf: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
68
68
|
id: z.ZodNumber;
|
|
69
69
|
documentId: z.ZodNullable<z.ZodString>;
|
|
70
70
|
content: z.ZodString;
|
|
@@ -93,7 +93,7 @@ declare const commentSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
93
93
|
email?: string;
|
|
94
94
|
}>]>>>;
|
|
95
95
|
locale: z.ZodNullable<z.ZodString>;
|
|
96
|
-
}
|
|
96
|
+
} & {
|
|
97
97
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
98
98
|
threadFirstItemId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
99
99
|
reports: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -128,7 +128,7 @@ declare const commentSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
128
128
|
resolved?: boolean;
|
|
129
129
|
}>, "many">>;
|
|
130
130
|
author: z.ZodAny;
|
|
131
|
-
}
|
|
131
|
+
}, "strip", z.ZodTypeAny, {
|
|
132
132
|
id?: number;
|
|
133
133
|
documentId?: string;
|
|
134
134
|
content?: string;
|
|
@@ -203,7 +203,7 @@ declare const commentSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
|
|
|
203
203
|
}[];
|
|
204
204
|
author?: any;
|
|
205
205
|
}>]>>>>;
|
|
206
|
-
}
|
|
206
|
+
}, "strip", z.ZodTypeAny, {
|
|
207
207
|
id?: number;
|
|
208
208
|
documentId?: string;
|
|
209
209
|
content?: string;
|
|
@@ -374,7 +374,7 @@ declare const commentRelatedSchema: z.ZodObject<{
|
|
|
374
374
|
requireCommentsApproval?: boolean;
|
|
375
375
|
}>;
|
|
376
376
|
export type CommentRelated = z.infer<typeof commentRelatedSchema>;
|
|
377
|
-
declare const commentWithRelatedSchema: z.ZodObject<
|
|
377
|
+
declare const commentWithRelatedSchema: z.ZodObject<Omit<{
|
|
378
378
|
id: z.ZodNumber;
|
|
379
379
|
documentId: z.ZodNullable<z.ZodString>;
|
|
380
380
|
content: z.ZodString;
|
|
@@ -403,7 +403,7 @@ declare const commentWithRelatedSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
403
403
|
email?: string;
|
|
404
404
|
}>]>>>;
|
|
405
405
|
locale: z.ZodNullable<z.ZodString>;
|
|
406
|
-
}
|
|
406
|
+
} & {
|
|
407
407
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
408
408
|
threadFirstItemId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
409
409
|
reports: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -438,8 +438,8 @@ declare const commentWithRelatedSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
438
438
|
resolved?: boolean;
|
|
439
439
|
}>, "many">>;
|
|
440
440
|
author: z.ZodAny;
|
|
441
|
-
}
|
|
442
|
-
threadOf: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodUnion<[z.ZodNumber, z.ZodObject<
|
|
441
|
+
} & {
|
|
442
|
+
threadOf: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
443
443
|
id: z.ZodNumber;
|
|
444
444
|
documentId: z.ZodNullable<z.ZodString>;
|
|
445
445
|
content: z.ZodString;
|
|
@@ -468,7 +468,7 @@ declare const commentWithRelatedSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
468
468
|
email?: string;
|
|
469
469
|
}>]>>>;
|
|
470
470
|
locale: z.ZodNullable<z.ZodString>;
|
|
471
|
-
}
|
|
471
|
+
} & {
|
|
472
472
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
473
473
|
threadFirstItemId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
474
474
|
reports: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -503,7 +503,7 @@ declare const commentWithRelatedSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
503
503
|
resolved?: boolean;
|
|
504
504
|
}>, "many">>;
|
|
505
505
|
author: z.ZodAny;
|
|
506
|
-
}
|
|
506
|
+
}, "strip", z.ZodTypeAny, {
|
|
507
507
|
id?: number;
|
|
508
508
|
documentId?: string;
|
|
509
509
|
content?: string;
|
|
@@ -578,7 +578,7 @@ declare const commentWithRelatedSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
578
578
|
}[];
|
|
579
579
|
author?: any;
|
|
580
580
|
}>]>>>>;
|
|
581
|
-
}
|
|
581
|
+
}, "related"> & {
|
|
582
582
|
related: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
583
583
|
id: z.ZodNumber;
|
|
584
584
|
uid: z.ZodString;
|
|
@@ -598,7 +598,7 @@ declare const commentWithRelatedSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
598
598
|
uid?: string;
|
|
599
599
|
requireCommentsApproval?: boolean;
|
|
600
600
|
}>>>;
|
|
601
|
-
}
|
|
601
|
+
}, "strip", z.ZodTypeAny, {
|
|
602
602
|
id?: number;
|
|
603
603
|
documentId?: string;
|
|
604
604
|
content?: string;
|
|
@@ -762,7 +762,7 @@ declare const commentWithRelatedSchema: z.ZodObject<z.objectUtil.extendShape<Omi
|
|
|
762
762
|
};
|
|
763
763
|
}>;
|
|
764
764
|
export type CommentWithRelated = z.infer<typeof commentWithRelatedSchema>;
|
|
765
|
-
export declare const findManySchema: z.ZodArray<z.ZodObject<
|
|
765
|
+
export declare const findManySchema: z.ZodArray<z.ZodObject<{
|
|
766
766
|
id: z.ZodNumber;
|
|
767
767
|
documentId: z.ZodNullable<z.ZodString>;
|
|
768
768
|
content: z.ZodString;
|
|
@@ -791,7 +791,7 @@ export declare const findManySchema: z.ZodArray<z.ZodObject<z.objectUtil.extendS
|
|
|
791
791
|
email?: string;
|
|
792
792
|
}>]>>>;
|
|
793
793
|
locale: z.ZodNullable<z.ZodString>;
|
|
794
|
-
}
|
|
794
|
+
} & {
|
|
795
795
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
796
796
|
threadFirstItemId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
797
797
|
reports: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -826,8 +826,8 @@ export declare const findManySchema: z.ZodArray<z.ZodObject<z.objectUtil.extendS
|
|
|
826
826
|
resolved?: boolean;
|
|
827
827
|
}>, "many">>;
|
|
828
828
|
author: z.ZodAny;
|
|
829
|
-
}
|
|
830
|
-
threadOf: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodUnion<[z.ZodNumber, z.ZodObject<
|
|
829
|
+
} & {
|
|
830
|
+
threadOf: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
831
831
|
id: z.ZodNumber;
|
|
832
832
|
documentId: z.ZodNullable<z.ZodString>;
|
|
833
833
|
content: z.ZodString;
|
|
@@ -856,7 +856,7 @@ export declare const findManySchema: z.ZodArray<z.ZodObject<z.objectUtil.extendS
|
|
|
856
856
|
email?: string;
|
|
857
857
|
}>]>>>;
|
|
858
858
|
locale: z.ZodNullable<z.ZodString>;
|
|
859
|
-
}
|
|
859
|
+
} & {
|
|
860
860
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
861
861
|
threadFirstItemId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
862
862
|
reports: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -891,7 +891,7 @@ export declare const findManySchema: z.ZodArray<z.ZodObject<z.objectUtil.extendS
|
|
|
891
891
|
resolved?: boolean;
|
|
892
892
|
}>, "many">>;
|
|
893
893
|
author: z.ZodAny;
|
|
894
|
-
}
|
|
894
|
+
}, "strip", z.ZodTypeAny, {
|
|
895
895
|
id?: number;
|
|
896
896
|
documentId?: string;
|
|
897
897
|
content?: string;
|
|
@@ -966,7 +966,7 @@ export declare const findManySchema: z.ZodArray<z.ZodObject<z.objectUtil.extendS
|
|
|
966
966
|
}[];
|
|
967
967
|
author?: any;
|
|
968
968
|
}>]>>>>;
|
|
969
|
-
}
|
|
969
|
+
}, "strip", z.ZodTypeAny, {
|
|
970
970
|
id?: number;
|
|
971
971
|
documentId?: string;
|
|
972
972
|
content?: string;
|
|
@@ -1134,7 +1134,7 @@ export declare const findWithCountSchema: z.ZodObject<{
|
|
|
1134
1134
|
pageCount?: number;
|
|
1135
1135
|
total?: number;
|
|
1136
1136
|
}>;
|
|
1137
|
-
results: z.ZodArray<z.ZodObject<
|
|
1137
|
+
results: z.ZodArray<z.ZodObject<{
|
|
1138
1138
|
id: z.ZodNumber;
|
|
1139
1139
|
documentId: z.ZodNullable<z.ZodString>;
|
|
1140
1140
|
content: z.ZodString;
|
|
@@ -1163,7 +1163,7 @@ export declare const findWithCountSchema: z.ZodObject<{
|
|
|
1163
1163
|
email?: string;
|
|
1164
1164
|
}>]>>>;
|
|
1165
1165
|
locale: z.ZodNullable<z.ZodString>;
|
|
1166
|
-
}
|
|
1166
|
+
} & {
|
|
1167
1167
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1168
1168
|
threadFirstItemId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1169
1169
|
reports: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1198,8 +1198,8 @@ export declare const findWithCountSchema: z.ZodObject<{
|
|
|
1198
1198
|
resolved?: boolean;
|
|
1199
1199
|
}>, "many">>;
|
|
1200
1200
|
author: z.ZodAny;
|
|
1201
|
-
}
|
|
1202
|
-
threadOf: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodUnion<[z.ZodNumber, z.ZodObject<
|
|
1201
|
+
} & {
|
|
1202
|
+
threadOf: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
1203
1203
|
id: z.ZodNumber;
|
|
1204
1204
|
documentId: z.ZodNullable<z.ZodString>;
|
|
1205
1205
|
content: z.ZodString;
|
|
@@ -1228,7 +1228,7 @@ export declare const findWithCountSchema: z.ZodObject<{
|
|
|
1228
1228
|
email?: string;
|
|
1229
1229
|
}>]>>>;
|
|
1230
1230
|
locale: z.ZodNullable<z.ZodString>;
|
|
1231
|
-
}
|
|
1231
|
+
} & {
|
|
1232
1232
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1233
1233
|
threadFirstItemId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1234
1234
|
reports: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1263,7 +1263,7 @@ export declare const findWithCountSchema: z.ZodObject<{
|
|
|
1263
1263
|
resolved?: boolean;
|
|
1264
1264
|
}>, "many">>;
|
|
1265
1265
|
author: z.ZodAny;
|
|
1266
|
-
}
|
|
1266
|
+
}, "strip", z.ZodTypeAny, {
|
|
1267
1267
|
id?: number;
|
|
1268
1268
|
documentId?: string;
|
|
1269
1269
|
content?: string;
|
|
@@ -1338,7 +1338,7 @@ export declare const findWithCountSchema: z.ZodObject<{
|
|
|
1338
1338
|
}[];
|
|
1339
1339
|
author?: any;
|
|
1340
1340
|
}>]>>>>;
|
|
1341
|
-
}
|
|
1341
|
+
}, "strip", z.ZodTypeAny, {
|
|
1342
1342
|
id?: number;
|
|
1343
1343
|
documentId?: string;
|
|
1344
1344
|
content?: string;
|
|
@@ -1664,7 +1664,7 @@ export type CommentResultValidator = {
|
|
|
1664
1664
|
create: z.infer<typeof commentSchema>;
|
|
1665
1665
|
};
|
|
1666
1666
|
export declare const commentResultValidator: {
|
|
1667
|
-
findMany: z.ZodArray<z.ZodObject<
|
|
1667
|
+
findMany: z.ZodArray<z.ZodObject<{
|
|
1668
1668
|
id: z.ZodNumber;
|
|
1669
1669
|
documentId: z.ZodNullable<z.ZodString>;
|
|
1670
1670
|
content: z.ZodString;
|
|
@@ -1693,7 +1693,7 @@ export declare const commentResultValidator: {
|
|
|
1693
1693
|
email?: string;
|
|
1694
1694
|
}>]>>>;
|
|
1695
1695
|
locale: z.ZodNullable<z.ZodString>;
|
|
1696
|
-
}
|
|
1696
|
+
} & {
|
|
1697
1697
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1698
1698
|
threadFirstItemId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1699
1699
|
reports: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1728,8 +1728,8 @@ export declare const commentResultValidator: {
|
|
|
1728
1728
|
resolved?: boolean;
|
|
1729
1729
|
}>, "many">>;
|
|
1730
1730
|
author: z.ZodAny;
|
|
1731
|
-
}
|
|
1732
|
-
threadOf: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodUnion<[z.ZodNumber, z.ZodObject<
|
|
1731
|
+
} & {
|
|
1732
|
+
threadOf: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
1733
1733
|
id: z.ZodNumber;
|
|
1734
1734
|
documentId: z.ZodNullable<z.ZodString>;
|
|
1735
1735
|
content: z.ZodString;
|
|
@@ -1758,7 +1758,7 @@ export declare const commentResultValidator: {
|
|
|
1758
1758
|
email?: string;
|
|
1759
1759
|
}>]>>>;
|
|
1760
1760
|
locale: z.ZodNullable<z.ZodString>;
|
|
1761
|
-
}
|
|
1761
|
+
} & {
|
|
1762
1762
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1763
1763
|
threadFirstItemId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1764
1764
|
reports: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -1793,7 +1793,7 @@ export declare const commentResultValidator: {
|
|
|
1793
1793
|
resolved?: boolean;
|
|
1794
1794
|
}>, "many">>;
|
|
1795
1795
|
author: z.ZodAny;
|
|
1796
|
-
}
|
|
1796
|
+
}, "strip", z.ZodTypeAny, {
|
|
1797
1797
|
id?: number;
|
|
1798
1798
|
documentId?: string;
|
|
1799
1799
|
content?: string;
|
|
@@ -1868,7 +1868,7 @@ export declare const commentResultValidator: {
|
|
|
1868
1868
|
}[];
|
|
1869
1869
|
author?: any;
|
|
1870
1870
|
}>]>>>>;
|
|
1871
|
-
}
|
|
1871
|
+
}, "strip", z.ZodTypeAny, {
|
|
1872
1872
|
id?: number;
|
|
1873
1873
|
documentId?: string;
|
|
1874
1874
|
content?: string;
|
|
@@ -2036,7 +2036,7 @@ export declare const commentResultValidator: {
|
|
|
2036
2036
|
pageCount?: number;
|
|
2037
2037
|
total?: number;
|
|
2038
2038
|
}>;
|
|
2039
|
-
results: z.ZodArray<z.ZodObject<
|
|
2039
|
+
results: z.ZodArray<z.ZodObject<{
|
|
2040
2040
|
id: z.ZodNumber;
|
|
2041
2041
|
documentId: z.ZodNullable<z.ZodString>;
|
|
2042
2042
|
content: z.ZodString;
|
|
@@ -2065,7 +2065,7 @@ export declare const commentResultValidator: {
|
|
|
2065
2065
|
email?: string;
|
|
2066
2066
|
}>]>>>;
|
|
2067
2067
|
locale: z.ZodNullable<z.ZodString>;
|
|
2068
|
-
}
|
|
2068
|
+
} & {
|
|
2069
2069
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2070
2070
|
threadFirstItemId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2071
2071
|
reports: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -2100,8 +2100,8 @@ export declare const commentResultValidator: {
|
|
|
2100
2100
|
resolved?: boolean;
|
|
2101
2101
|
}>, "many">>;
|
|
2102
2102
|
author: z.ZodAny;
|
|
2103
|
-
}
|
|
2104
|
-
threadOf: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodUnion<[z.ZodNumber, z.ZodObject<
|
|
2103
|
+
} & {
|
|
2104
|
+
threadOf: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
2105
2105
|
id: z.ZodNumber;
|
|
2106
2106
|
documentId: z.ZodNullable<z.ZodString>;
|
|
2107
2107
|
content: z.ZodString;
|
|
@@ -2130,7 +2130,7 @@ export declare const commentResultValidator: {
|
|
|
2130
2130
|
email?: string;
|
|
2131
2131
|
}>]>>>;
|
|
2132
2132
|
locale: z.ZodNullable<z.ZodString>;
|
|
2133
|
-
}
|
|
2133
|
+
} & {
|
|
2134
2134
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2135
2135
|
threadFirstItemId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2136
2136
|
reports: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -2165,7 +2165,7 @@ export declare const commentResultValidator: {
|
|
|
2165
2165
|
resolved?: boolean;
|
|
2166
2166
|
}>, "many">>;
|
|
2167
2167
|
author: z.ZodAny;
|
|
2168
|
-
}
|
|
2168
|
+
}, "strip", z.ZodTypeAny, {
|
|
2169
2169
|
id?: number;
|
|
2170
2170
|
documentId?: string;
|
|
2171
2171
|
content?: string;
|
|
@@ -2240,7 +2240,7 @@ export declare const commentResultValidator: {
|
|
|
2240
2240
|
}[];
|
|
2241
2241
|
author?: any;
|
|
2242
2242
|
}>]>>>>;
|
|
2243
|
-
}
|
|
2243
|
+
}, "strip", z.ZodTypeAny, {
|
|
2244
2244
|
id?: number;
|
|
2245
2245
|
documentId?: string;
|
|
2246
2246
|
content?: string;
|
|
@@ -2558,7 +2558,7 @@ export declare const commentResultValidator: {
|
|
|
2558
2558
|
};
|
|
2559
2559
|
}[];
|
|
2560
2560
|
}>;
|
|
2561
|
-
findOne: z.ZodObject<
|
|
2561
|
+
findOne: z.ZodObject<{
|
|
2562
2562
|
id: z.ZodNumber;
|
|
2563
2563
|
documentId: z.ZodNullable<z.ZodString>;
|
|
2564
2564
|
content: z.ZodString;
|
|
@@ -2587,7 +2587,7 @@ export declare const commentResultValidator: {
|
|
|
2587
2587
|
email?: string;
|
|
2588
2588
|
}>]>>>;
|
|
2589
2589
|
locale: z.ZodNullable<z.ZodString>;
|
|
2590
|
-
}
|
|
2590
|
+
} & {
|
|
2591
2591
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2592
2592
|
threadFirstItemId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2593
2593
|
reports: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -2622,8 +2622,8 @@ export declare const commentResultValidator: {
|
|
|
2622
2622
|
resolved?: boolean;
|
|
2623
2623
|
}>, "many">>;
|
|
2624
2624
|
author: z.ZodAny;
|
|
2625
|
-
}
|
|
2626
|
-
threadOf: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodUnion<[z.ZodNumber, z.ZodObject<
|
|
2625
|
+
} & {
|
|
2626
|
+
threadOf: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
2627
2627
|
id: z.ZodNumber;
|
|
2628
2628
|
documentId: z.ZodNullable<z.ZodString>;
|
|
2629
2629
|
content: z.ZodString;
|
|
@@ -2652,7 +2652,7 @@ export declare const commentResultValidator: {
|
|
|
2652
2652
|
email?: string;
|
|
2653
2653
|
}>]>>>;
|
|
2654
2654
|
locale: z.ZodNullable<z.ZodString>;
|
|
2655
|
-
}
|
|
2655
|
+
} & {
|
|
2656
2656
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2657
2657
|
threadFirstItemId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2658
2658
|
reports: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -2687,7 +2687,7 @@ export declare const commentResultValidator: {
|
|
|
2687
2687
|
resolved?: boolean;
|
|
2688
2688
|
}>, "many">>;
|
|
2689
2689
|
author: z.ZodAny;
|
|
2690
|
-
}
|
|
2690
|
+
}, "strip", z.ZodTypeAny, {
|
|
2691
2691
|
id?: number;
|
|
2692
2692
|
documentId?: string;
|
|
2693
2693
|
content?: string;
|
|
@@ -2762,7 +2762,7 @@ export declare const commentResultValidator: {
|
|
|
2762
2762
|
}[];
|
|
2763
2763
|
author?: any;
|
|
2764
2764
|
}>]>>>>;
|
|
2765
|
-
}
|
|
2765
|
+
}, "strip", z.ZodTypeAny, {
|
|
2766
2766
|
id?: number;
|
|
2767
2767
|
documentId?: string;
|
|
2768
2768
|
content?: string;
|
|
@@ -2913,7 +2913,7 @@ export declare const commentResultValidator: {
|
|
|
2913
2913
|
author?: any;
|
|
2914
2914
|
};
|
|
2915
2915
|
}>;
|
|
2916
|
-
create: z.ZodObject<
|
|
2916
|
+
create: z.ZodObject<{
|
|
2917
2917
|
id: z.ZodNumber;
|
|
2918
2918
|
documentId: z.ZodNullable<z.ZodString>;
|
|
2919
2919
|
content: z.ZodString;
|
|
@@ -2942,7 +2942,7 @@ export declare const commentResultValidator: {
|
|
|
2942
2942
|
email?: string;
|
|
2943
2943
|
}>]>>>;
|
|
2944
2944
|
locale: z.ZodNullable<z.ZodString>;
|
|
2945
|
-
}
|
|
2945
|
+
} & {
|
|
2946
2946
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2947
2947
|
threadFirstItemId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2948
2948
|
reports: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -2977,8 +2977,8 @@ export declare const commentResultValidator: {
|
|
|
2977
2977
|
resolved?: boolean;
|
|
2978
2978
|
}>, "many">>;
|
|
2979
2979
|
author: z.ZodAny;
|
|
2980
|
-
}
|
|
2981
|
-
threadOf: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodUnion<[z.ZodNumber, z.ZodObject<
|
|
2980
|
+
} & {
|
|
2981
|
+
threadOf: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
2982
2982
|
id: z.ZodNumber;
|
|
2983
2983
|
documentId: z.ZodNullable<z.ZodString>;
|
|
2984
2984
|
content: z.ZodString;
|
|
@@ -3007,7 +3007,7 @@ export declare const commentResultValidator: {
|
|
|
3007
3007
|
email?: string;
|
|
3008
3008
|
}>]>>>;
|
|
3009
3009
|
locale: z.ZodNullable<z.ZodString>;
|
|
3010
|
-
}
|
|
3010
|
+
} & {
|
|
3011
3011
|
gotThread: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3012
3012
|
threadFirstItemId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3013
3013
|
reports: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -3042,7 +3042,7 @@ export declare const commentResultValidator: {
|
|
|
3042
3042
|
resolved?: boolean;
|
|
3043
3043
|
}>, "many">>;
|
|
3044
3044
|
author: z.ZodAny;
|
|
3045
|
-
}
|
|
3045
|
+
}, "strip", z.ZodTypeAny, {
|
|
3046
3046
|
id?: number;
|
|
3047
3047
|
documentId?: string;
|
|
3048
3048
|
content?: string;
|
|
@@ -3117,7 +3117,7 @@ export declare const commentResultValidator: {
|
|
|
3117
3117
|
}[];
|
|
3118
3118
|
author?: any;
|
|
3119
3119
|
}>]>>>>;
|
|
3120
|
-
}
|
|
3120
|
+
}, "strip", z.ZodTypeAny, {
|
|
3121
3121
|
id?: number;
|
|
3122
3122
|
documentId?: string;
|
|
3123
3123
|
content?: string;
|