strapi-plugin-comments 3.1.1-beta.1 → 3.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/{en-DeZtLd2b.mjs → en-Cbt6CXo1.mjs} +1 -0
- package/dist/_chunks/{en-Ca05D1aN.js → en-DalOPLjA.js} +1 -1
- package/dist/_chunks/fr-C4_v32Lz.js +1 -0
- package/dist/_chunks/{fr-xcXYnLl6.mjs → fr-CztE_B7U.mjs} +1 -0
- package/dist/_chunks/{index-BvE3I2WB.mjs → index-111xj66k.mjs} +28 -28
- package/dist/_chunks/index-BYom1Ujm.js +18 -0
- package/dist/_chunks/{index-DcdRh9F7.mjs → index-C4yRw0kg.mjs} +7428 -7281
- package/dist/_chunks/{index-C9YD28U_.mjs → index-C6r-CX-i.mjs} +4 -4
- package/dist/_chunks/{index-CtUXr7rK.js → index-CQcJlyLz.js} +264 -264
- package/dist/_chunks/{index-BzZk45CE.js → index-DFSVVbXk.js} +3 -3
- package/dist/_chunks/{index-DHYGkXW6.js → index-Ddsb0ILo.js} +1 -1
- package/dist/_chunks/{index-Bd1INOJR.mjs → index-dty11bFS.mjs} +83 -83
- package/dist/_chunks/pl-D2JXVqZi.js +1 -0
- package/dist/_chunks/{pl-B2Il0b0-.mjs → pl-DBv6tBP6.mjs} +1 -0
- package/dist/_chunks/pt-BR-CCBBpLDV.js +1 -0
- package/dist/_chunks/{pt-BR-KCmyuDgJ.mjs → pt-BR-VqNYQ17j.mjs} +1 -0
- package/dist/_chunks/{ru-Bykkb95a.mjs → ru-DHi8VpMQ.mjs} +1 -0
- package/dist/_chunks/ru-DUiPYaBn.js +1 -0
- package/dist/_chunks/{tr-Cv3hH0Rh.js → tr-D_0EQ9aV.js} +1 -1
- package/dist/_chunks/{tr-BW_iq8S7.mjs → tr-ZRzw4I-8.mjs} +1 -0
- package/dist/_chunks/{zh-Hans-DixVuF8_.mjs → zh-Hans-Bz2wrwoC.mjs} +1 -0
- package/dist/_chunks/zh-Hans-D1xXhhCe.js +1 -0
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/src/api/client.d.ts +65 -65
- package/dist/admin/src/api/schemas.d.ts +537 -537
- package/dist/admin/src/contexts/UserContext.d.ts +1 -1
- package/dist/admin/src/hooks/useAPI.d.ts +66 -66
- package/dist/admin/src/hooks/useCommentMutations.d.ts +1 -1
- package/dist/admin/src/hooks/useCommentsAll.d.ts +4 -4
- package/dist/admin/src/hooks/useReports.d.ts +12 -12
- package/dist/admin/src/hooks/useUserContext.d.ts +1 -1
- package/dist/admin/src/translations/en.d.ts +1 -0
- package/dist/admin/src/translations/fr.d.ts +1 -0
- package/dist/admin/src/translations/pl.d.ts +1 -0
- package/dist/admin/src/translations/pt-BR.d.ts +1 -0
- package/dist/admin/src/translations/ru.d.ts +1 -0
- package/dist/admin/src/translations/tr.d.ts +1 -0
- package/dist/admin/src/translations/zh-Hans.d.ts +1 -0
- package/dist/server/index.js +34 -34
- package/dist/server/index.mjs +430 -400
- package/dist/server/src/repositories/report.comment.repository.d.ts +66 -0
- package/dist/server/src/validators/api/controllers/admin.controller.validator.d.ts +36 -36
- package/dist/server/src/validators/repositories/comment.schema.d.ts +156 -0
- package/dist/server/src/validators/repositories/comment.validator.d.ts +16 -16
- package/dist/server/src/validators/repositories/reports.validator.d.ts +2709 -1149
- package/dist/server/src/validators/utils.d.ts +60 -60
- package/package.json +1 -1
- package/dist/_chunks/fr-DvC8Kjh_.js +0 -1
- package/dist/_chunks/index-C5ADhjCF.js +0 -18
- package/dist/_chunks/pl-DthJf26N.js +0 -1
- package/dist/_chunks/pt-BR-ByULlOKU.js +0 -1
- package/dist/_chunks/ru-DOajpZMF.js +0 -1
- package/dist/_chunks/zh-Hans-P1iGqMnb.js +0 -1
|
@@ -28,6 +28,39 @@ export declare const getReportCommentRepositorySource: (strapi: CoreStrapi) => {
|
|
|
28
28
|
authorName?: string;
|
|
29
29
|
authorEmail?: string;
|
|
30
30
|
authorAvatar?: string;
|
|
31
|
+
authorUser?: string | {
|
|
32
|
+
id?: number;
|
|
33
|
+
username?: string;
|
|
34
|
+
email?: string;
|
|
35
|
+
avatar?: {
|
|
36
|
+
url?: string;
|
|
37
|
+
name?: string;
|
|
38
|
+
hash?: string;
|
|
39
|
+
id?: number;
|
|
40
|
+
formats?: {
|
|
41
|
+
small?: {
|
|
42
|
+
url?: string;
|
|
43
|
+
name?: string;
|
|
44
|
+
hash?: string;
|
|
45
|
+
};
|
|
46
|
+
thumbnail?: {
|
|
47
|
+
url?: string;
|
|
48
|
+
name?: string;
|
|
49
|
+
hash?: string;
|
|
50
|
+
};
|
|
51
|
+
medium?: {
|
|
52
|
+
url?: string;
|
|
53
|
+
name?: string;
|
|
54
|
+
hash?: string;
|
|
55
|
+
};
|
|
56
|
+
large?: {
|
|
57
|
+
url?: string;
|
|
58
|
+
name?: string;
|
|
59
|
+
hash?: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
31
64
|
locale?: string;
|
|
32
65
|
};
|
|
33
66
|
createdAt?: string;
|
|
@@ -65,6 +98,39 @@ export declare const getReportCommentRepository: (strapi: CoreStrapi) => {
|
|
|
65
98
|
authorName?: string;
|
|
66
99
|
authorEmail?: string;
|
|
67
100
|
authorAvatar?: string;
|
|
101
|
+
authorUser?: string | {
|
|
102
|
+
id?: number;
|
|
103
|
+
username?: string;
|
|
104
|
+
email?: string;
|
|
105
|
+
avatar?: {
|
|
106
|
+
url?: string;
|
|
107
|
+
name?: string;
|
|
108
|
+
hash?: string;
|
|
109
|
+
id?: number;
|
|
110
|
+
formats?: {
|
|
111
|
+
small?: {
|
|
112
|
+
url?: string;
|
|
113
|
+
name?: string;
|
|
114
|
+
hash?: string;
|
|
115
|
+
};
|
|
116
|
+
thumbnail?: {
|
|
117
|
+
url?: string;
|
|
118
|
+
name?: string;
|
|
119
|
+
hash?: string;
|
|
120
|
+
};
|
|
121
|
+
medium?: {
|
|
122
|
+
url?: string;
|
|
123
|
+
name?: string;
|
|
124
|
+
hash?: string;
|
|
125
|
+
};
|
|
126
|
+
large?: {
|
|
127
|
+
url?: string;
|
|
128
|
+
name?: string;
|
|
129
|
+
hash?: string;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
};
|
|
68
134
|
locale?: string;
|
|
69
135
|
};
|
|
70
136
|
createdAt?: string;
|
|
@@ -102,17 +102,17 @@ export declare const baseAdminPanelQuery: z.ZodObject<{
|
|
|
102
102
|
}, {
|
|
103
103
|
$notContainsi?: string;
|
|
104
104
|
}>]>, z.ZodObject<{
|
|
105
|
-
$null: z.ZodBoolean
|
|
105
|
+
$null: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
|
|
106
106
|
}, "strip", z.ZodTypeAny, {
|
|
107
107
|
$null?: boolean;
|
|
108
108
|
}, {
|
|
109
|
-
$null?: boolean;
|
|
109
|
+
$null?: string | boolean;
|
|
110
110
|
}>, z.ZodObject<{
|
|
111
|
-
$notNull: z.ZodBoolean
|
|
111
|
+
$notNull: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
|
|
112
112
|
}, "strip", z.ZodTypeAny, {
|
|
113
113
|
$notNull?: boolean;
|
|
114
114
|
}, {
|
|
115
|
-
$notNull?: boolean;
|
|
115
|
+
$notNull?: string | boolean;
|
|
116
116
|
}>]>;
|
|
117
117
|
approvalStatus: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodUnion<[z.ZodObject<{
|
|
118
118
|
$eq: z.ZodString;
|
|
@@ -211,17 +211,17 @@ export declare const baseAdminPanelQuery: z.ZodObject<{
|
|
|
211
211
|
}, {
|
|
212
212
|
$notContainsi?: string;
|
|
213
213
|
}>]>, z.ZodObject<{
|
|
214
|
-
$null: z.ZodBoolean
|
|
214
|
+
$null: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
|
|
215
215
|
}, "strip", z.ZodTypeAny, {
|
|
216
216
|
$null?: boolean;
|
|
217
217
|
}, {
|
|
218
|
-
$null?: boolean;
|
|
218
|
+
$null?: string | boolean;
|
|
219
219
|
}>, z.ZodObject<{
|
|
220
|
-
$notNull: z.ZodBoolean
|
|
220
|
+
$notNull: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
|
|
221
221
|
}, "strip", z.ZodTypeAny, {
|
|
222
222
|
$notNull?: boolean;
|
|
223
223
|
}, {
|
|
224
|
-
$notNull?: boolean;
|
|
224
|
+
$notNull?: string | boolean;
|
|
225
225
|
}>]>;
|
|
226
226
|
} & {
|
|
227
227
|
$or: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -322,17 +322,17 @@ export declare const baseAdminPanelQuery: z.ZodObject<{
|
|
|
322
322
|
}, {
|
|
323
323
|
$notContainsi?: string;
|
|
324
324
|
}>]>, z.ZodObject<{
|
|
325
|
-
$null: z.ZodBoolean
|
|
325
|
+
$null: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
|
|
326
326
|
}, "strip", z.ZodTypeAny, {
|
|
327
327
|
$null?: boolean;
|
|
328
328
|
}, {
|
|
329
|
-
$null?: boolean;
|
|
329
|
+
$null?: string | boolean;
|
|
330
330
|
}>, z.ZodObject<{
|
|
331
|
-
$notNull: z.ZodBoolean
|
|
331
|
+
$notNull: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
|
|
332
332
|
}, "strip", z.ZodTypeAny, {
|
|
333
333
|
$notNull?: boolean;
|
|
334
334
|
}, {
|
|
335
|
-
$notNull?: boolean;
|
|
335
|
+
$notNull?: string | boolean;
|
|
336
336
|
}>]>;
|
|
337
337
|
blockedThread: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodUnion<[z.ZodObject<{
|
|
338
338
|
$eq: z.ZodString;
|
|
@@ -431,17 +431,17 @@ export declare const baseAdminPanelQuery: z.ZodObject<{
|
|
|
431
431
|
}, {
|
|
432
432
|
$notContainsi?: string;
|
|
433
433
|
}>]>, z.ZodObject<{
|
|
434
|
-
$null: z.ZodBoolean
|
|
434
|
+
$null: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
|
|
435
435
|
}, "strip", z.ZodTypeAny, {
|
|
436
436
|
$null?: boolean;
|
|
437
437
|
}, {
|
|
438
|
-
$null?: boolean;
|
|
438
|
+
$null?: string | boolean;
|
|
439
439
|
}>, z.ZodObject<{
|
|
440
|
-
$notNull: z.ZodBoolean
|
|
440
|
+
$notNull: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
|
|
441
441
|
}, "strip", z.ZodTypeAny, {
|
|
442
442
|
$notNull?: boolean;
|
|
443
443
|
}, {
|
|
444
|
-
$notNull?: boolean;
|
|
444
|
+
$notNull?: string | boolean;
|
|
445
445
|
}>]>;
|
|
446
446
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
447
447
|
blocked?: string | number | {
|
|
@@ -552,9 +552,9 @@ export declare const baseAdminPanelQuery: z.ZodObject<{
|
|
|
552
552
|
} | {
|
|
553
553
|
$notContainsi?: string;
|
|
554
554
|
} | {
|
|
555
|
-
$null?: boolean;
|
|
555
|
+
$null?: string | boolean;
|
|
556
556
|
} | {
|
|
557
|
-
$notNull?: boolean;
|
|
557
|
+
$notNull?: string | boolean;
|
|
558
558
|
};
|
|
559
559
|
blockedThread?: string | number | {
|
|
560
560
|
$eq?: string;
|
|
@@ -589,9 +589,9 @@ export declare const baseAdminPanelQuery: z.ZodObject<{
|
|
|
589
589
|
} | {
|
|
590
590
|
$notContainsi?: string;
|
|
591
591
|
} | {
|
|
592
|
-
$null?: boolean;
|
|
592
|
+
$null?: string | boolean;
|
|
593
593
|
} | {
|
|
594
|
-
$notNull?: boolean;
|
|
594
|
+
$notNull?: string | boolean;
|
|
595
595
|
};
|
|
596
596
|
}>, "many">>;
|
|
597
597
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -779,9 +779,9 @@ export declare const baseAdminPanelQuery: z.ZodObject<{
|
|
|
779
779
|
} | {
|
|
780
780
|
$notContainsi?: string;
|
|
781
781
|
} | {
|
|
782
|
-
$null?: boolean;
|
|
782
|
+
$null?: string | boolean;
|
|
783
783
|
} | {
|
|
784
|
-
$notNull?: boolean;
|
|
784
|
+
$notNull?: string | boolean;
|
|
785
785
|
};
|
|
786
786
|
approvalStatus?: string | number | {
|
|
787
787
|
$eq?: string;
|
|
@@ -816,9 +816,9 @@ export declare const baseAdminPanelQuery: z.ZodObject<{
|
|
|
816
816
|
} | {
|
|
817
817
|
$notContainsi?: string;
|
|
818
818
|
} | {
|
|
819
|
-
$null?: boolean;
|
|
819
|
+
$null?: string | boolean;
|
|
820
820
|
} | {
|
|
821
|
-
$notNull?: boolean;
|
|
821
|
+
$notNull?: string | boolean;
|
|
822
822
|
};
|
|
823
823
|
$or?: {
|
|
824
824
|
blocked?: string | number | {
|
|
@@ -854,9 +854,9 @@ export declare const baseAdminPanelQuery: z.ZodObject<{
|
|
|
854
854
|
} | {
|
|
855
855
|
$notContainsi?: string;
|
|
856
856
|
} | {
|
|
857
|
-
$null?: boolean;
|
|
857
|
+
$null?: string | boolean;
|
|
858
858
|
} | {
|
|
859
|
-
$notNull?: boolean;
|
|
859
|
+
$notNull?: string | boolean;
|
|
860
860
|
};
|
|
861
861
|
blockedThread?: string | number | {
|
|
862
862
|
$eq?: string;
|
|
@@ -891,9 +891,9 @@ export declare const baseAdminPanelQuery: z.ZodObject<{
|
|
|
891
891
|
} | {
|
|
892
892
|
$notContainsi?: string;
|
|
893
893
|
} | {
|
|
894
|
-
$null?: boolean;
|
|
894
|
+
$null?: string | boolean;
|
|
895
895
|
} | {
|
|
896
|
-
$notNull?: boolean;
|
|
896
|
+
$notNull?: string | boolean;
|
|
897
897
|
};
|
|
898
898
|
}[];
|
|
899
899
|
}>>;
|
|
@@ -1095,9 +1095,9 @@ export declare const baseAdminPanelQuery: z.ZodObject<{
|
|
|
1095
1095
|
} | {
|
|
1096
1096
|
$notContainsi?: string;
|
|
1097
1097
|
} | {
|
|
1098
|
-
$null?: boolean;
|
|
1098
|
+
$null?: string | boolean;
|
|
1099
1099
|
} | {
|
|
1100
|
-
$notNull?: boolean;
|
|
1100
|
+
$notNull?: string | boolean;
|
|
1101
1101
|
};
|
|
1102
1102
|
approvalStatus?: string | number | {
|
|
1103
1103
|
$eq?: string;
|
|
@@ -1132,9 +1132,9 @@ export declare const baseAdminPanelQuery: z.ZodObject<{
|
|
|
1132
1132
|
} | {
|
|
1133
1133
|
$notContainsi?: string;
|
|
1134
1134
|
} | {
|
|
1135
|
-
$null?: boolean;
|
|
1135
|
+
$null?: string | boolean;
|
|
1136
1136
|
} | {
|
|
1137
|
-
$notNull?: boolean;
|
|
1137
|
+
$notNull?: string | boolean;
|
|
1138
1138
|
};
|
|
1139
1139
|
$or?: {
|
|
1140
1140
|
blocked?: string | number | {
|
|
@@ -1170,9 +1170,9 @@ export declare const baseAdminPanelQuery: z.ZodObject<{
|
|
|
1170
1170
|
} | {
|
|
1171
1171
|
$notContainsi?: string;
|
|
1172
1172
|
} | {
|
|
1173
|
-
$null?: boolean;
|
|
1173
|
+
$null?: string | boolean;
|
|
1174
1174
|
} | {
|
|
1175
|
-
$notNull?: boolean;
|
|
1175
|
+
$notNull?: string | boolean;
|
|
1176
1176
|
};
|
|
1177
1177
|
blockedThread?: string | number | {
|
|
1178
1178
|
$eq?: string;
|
|
@@ -1207,9 +1207,9 @@ export declare const baseAdminPanelQuery: z.ZodObject<{
|
|
|
1207
1207
|
} | {
|
|
1208
1208
|
$notContainsi?: string;
|
|
1209
1209
|
} | {
|
|
1210
|
-
$null?: boolean;
|
|
1210
|
+
$null?: string | boolean;
|
|
1211
1211
|
} | {
|
|
1212
|
-
$notNull?: boolean;
|
|
1212
|
+
$notNull?: string | boolean;
|
|
1213
1213
|
};
|
|
1214
1214
|
}[];
|
|
1215
1215
|
};
|
|
@@ -1,4 +1,160 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export declare const avatarSchema: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3
|
+
formats: z.ZodOptional<z.ZodObject<{
|
|
4
|
+
thumbnail: z.ZodOptional<z.ZodObject<{
|
|
5
|
+
url: z.ZodString;
|
|
6
|
+
name: z.ZodString;
|
|
7
|
+
hash: z.ZodString;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
url?: string;
|
|
10
|
+
name?: string;
|
|
11
|
+
hash?: string;
|
|
12
|
+
}, {
|
|
13
|
+
url?: string;
|
|
14
|
+
name?: string;
|
|
15
|
+
hash?: string;
|
|
16
|
+
}>>;
|
|
17
|
+
small: z.ZodOptional<z.ZodObject<{
|
|
18
|
+
url: z.ZodString;
|
|
19
|
+
name: z.ZodString;
|
|
20
|
+
hash: z.ZodString;
|
|
21
|
+
}, "strip", z.ZodTypeAny, {
|
|
22
|
+
url?: string;
|
|
23
|
+
name?: string;
|
|
24
|
+
hash?: string;
|
|
25
|
+
}, {
|
|
26
|
+
url?: string;
|
|
27
|
+
name?: string;
|
|
28
|
+
hash?: string;
|
|
29
|
+
}>>;
|
|
30
|
+
medium: z.ZodOptional<z.ZodObject<{
|
|
31
|
+
url: z.ZodString;
|
|
32
|
+
name: z.ZodString;
|
|
33
|
+
hash: z.ZodString;
|
|
34
|
+
}, "strip", z.ZodTypeAny, {
|
|
35
|
+
url?: string;
|
|
36
|
+
name?: string;
|
|
37
|
+
hash?: string;
|
|
38
|
+
}, {
|
|
39
|
+
url?: string;
|
|
40
|
+
name?: string;
|
|
41
|
+
hash?: string;
|
|
42
|
+
}>>;
|
|
43
|
+
large: z.ZodOptional<z.ZodObject<{
|
|
44
|
+
url: z.ZodString;
|
|
45
|
+
name: z.ZodString;
|
|
46
|
+
hash: z.ZodString;
|
|
47
|
+
}, "strip", z.ZodTypeAny, {
|
|
48
|
+
url?: string;
|
|
49
|
+
name?: string;
|
|
50
|
+
hash?: string;
|
|
51
|
+
}, {
|
|
52
|
+
url?: string;
|
|
53
|
+
name?: string;
|
|
54
|
+
hash?: string;
|
|
55
|
+
}>>;
|
|
56
|
+
}, "strip", z.ZodTypeAny, {
|
|
57
|
+
small?: {
|
|
58
|
+
url?: string;
|
|
59
|
+
name?: string;
|
|
60
|
+
hash?: string;
|
|
61
|
+
};
|
|
62
|
+
thumbnail?: {
|
|
63
|
+
url?: string;
|
|
64
|
+
name?: string;
|
|
65
|
+
hash?: string;
|
|
66
|
+
};
|
|
67
|
+
medium?: {
|
|
68
|
+
url?: string;
|
|
69
|
+
name?: string;
|
|
70
|
+
hash?: string;
|
|
71
|
+
};
|
|
72
|
+
large?: {
|
|
73
|
+
url?: string;
|
|
74
|
+
name?: string;
|
|
75
|
+
hash?: string;
|
|
76
|
+
};
|
|
77
|
+
}, {
|
|
78
|
+
small?: {
|
|
79
|
+
url?: string;
|
|
80
|
+
name?: string;
|
|
81
|
+
hash?: string;
|
|
82
|
+
};
|
|
83
|
+
thumbnail?: {
|
|
84
|
+
url?: string;
|
|
85
|
+
name?: string;
|
|
86
|
+
hash?: string;
|
|
87
|
+
};
|
|
88
|
+
medium?: {
|
|
89
|
+
url?: string;
|
|
90
|
+
name?: string;
|
|
91
|
+
hash?: string;
|
|
92
|
+
};
|
|
93
|
+
large?: {
|
|
94
|
+
url?: string;
|
|
95
|
+
name?: string;
|
|
96
|
+
hash?: string;
|
|
97
|
+
};
|
|
98
|
+
}>>;
|
|
99
|
+
url: z.ZodString;
|
|
100
|
+
name: z.ZodString;
|
|
101
|
+
hash: z.ZodString;
|
|
102
|
+
id: z.ZodNumber;
|
|
103
|
+
}, "strip", z.ZodTypeAny, {
|
|
104
|
+
url?: string;
|
|
105
|
+
name?: string;
|
|
106
|
+
hash?: string;
|
|
107
|
+
id?: number;
|
|
108
|
+
formats?: {
|
|
109
|
+
small?: {
|
|
110
|
+
url?: string;
|
|
111
|
+
name?: string;
|
|
112
|
+
hash?: string;
|
|
113
|
+
};
|
|
114
|
+
thumbnail?: {
|
|
115
|
+
url?: string;
|
|
116
|
+
name?: string;
|
|
117
|
+
hash?: string;
|
|
118
|
+
};
|
|
119
|
+
medium?: {
|
|
120
|
+
url?: string;
|
|
121
|
+
name?: string;
|
|
122
|
+
hash?: string;
|
|
123
|
+
};
|
|
124
|
+
large?: {
|
|
125
|
+
url?: string;
|
|
126
|
+
name?: string;
|
|
127
|
+
hash?: string;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
}, {
|
|
131
|
+
url?: string;
|
|
132
|
+
name?: string;
|
|
133
|
+
hash?: string;
|
|
134
|
+
id?: number;
|
|
135
|
+
formats?: {
|
|
136
|
+
small?: {
|
|
137
|
+
url?: string;
|
|
138
|
+
name?: string;
|
|
139
|
+
hash?: string;
|
|
140
|
+
};
|
|
141
|
+
thumbnail?: {
|
|
142
|
+
url?: string;
|
|
143
|
+
name?: string;
|
|
144
|
+
hash?: string;
|
|
145
|
+
};
|
|
146
|
+
medium?: {
|
|
147
|
+
url?: string;
|
|
148
|
+
name?: string;
|
|
149
|
+
hash?: string;
|
|
150
|
+
};
|
|
151
|
+
large?: {
|
|
152
|
+
url?: string;
|
|
153
|
+
name?: string;
|
|
154
|
+
hash?: string;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
}>>>;
|
|
2
158
|
export declare const dbBaseCommentSchema: z.ZodObject<{
|
|
3
159
|
id: z.ZodNumber;
|
|
4
160
|
documentId: z.ZodNullable<z.ZodString>;
|
|
@@ -277,7 +277,7 @@ declare const commentSchema: z.ZodObject<{
|
|
|
277
277
|
reason?: string;
|
|
278
278
|
resolved?: boolean;
|
|
279
279
|
}>, "many">>;
|
|
280
|
-
author: z.ZodAny
|
|
280
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
281
281
|
} & {
|
|
282
282
|
threadOf: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
283
283
|
id: z.ZodNumber;
|
|
@@ -557,7 +557,7 @@ declare const commentSchema: z.ZodObject<{
|
|
|
557
557
|
reason?: string;
|
|
558
558
|
resolved?: boolean;
|
|
559
559
|
}>, "many">>;
|
|
560
|
-
author: z.ZodAny
|
|
560
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
561
561
|
}, "strip", z.ZodTypeAny, {
|
|
562
562
|
id?: number;
|
|
563
563
|
documentId?: string;
|
|
@@ -1256,7 +1256,7 @@ declare const commentWithRelatedSchema: z.ZodObject<Omit<{
|
|
|
1256
1256
|
reason?: string;
|
|
1257
1257
|
resolved?: boolean;
|
|
1258
1258
|
}>, "many">>;
|
|
1259
|
-
author: z.ZodAny
|
|
1259
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1260
1260
|
} & {
|
|
1261
1261
|
threadOf: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
1262
1262
|
id: z.ZodNumber;
|
|
@@ -1536,7 +1536,7 @@ declare const commentWithRelatedSchema: z.ZodObject<Omit<{
|
|
|
1536
1536
|
reason?: string;
|
|
1537
1537
|
resolved?: boolean;
|
|
1538
1538
|
}>, "many">>;
|
|
1539
|
-
author: z.ZodAny
|
|
1539
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
1540
1540
|
}, "strip", z.ZodTypeAny, {
|
|
1541
1541
|
id?: number;
|
|
1542
1542
|
documentId?: string;
|
|
@@ -2248,7 +2248,7 @@ export declare const findManySchema: z.ZodArray<z.ZodObject<{
|
|
|
2248
2248
|
reason?: string;
|
|
2249
2249
|
resolved?: boolean;
|
|
2250
2250
|
}>, "many">>;
|
|
2251
|
-
author: z.ZodAny
|
|
2251
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2252
2252
|
} & {
|
|
2253
2253
|
threadOf: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
2254
2254
|
id: z.ZodNumber;
|
|
@@ -2528,7 +2528,7 @@ export declare const findManySchema: z.ZodArray<z.ZodObject<{
|
|
|
2528
2528
|
reason?: string;
|
|
2529
2529
|
resolved?: boolean;
|
|
2530
2530
|
}>, "many">>;
|
|
2531
|
-
author: z.ZodAny
|
|
2531
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
2532
2532
|
}, "strip", z.ZodTypeAny, {
|
|
2533
2533
|
id?: number;
|
|
2534
2534
|
documentId?: string;
|
|
@@ -3224,7 +3224,7 @@ export declare const findWithCountSchema: z.ZodObject<{
|
|
|
3224
3224
|
reason?: string;
|
|
3225
3225
|
resolved?: boolean;
|
|
3226
3226
|
}>, "many">>;
|
|
3227
|
-
author: z.ZodAny
|
|
3227
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
3228
3228
|
} & {
|
|
3229
3229
|
threadOf: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
3230
3230
|
id: z.ZodNumber;
|
|
@@ -3504,7 +3504,7 @@ export declare const findWithCountSchema: z.ZodObject<{
|
|
|
3504
3504
|
reason?: string;
|
|
3505
3505
|
resolved?: boolean;
|
|
3506
3506
|
}>, "many">>;
|
|
3507
|
-
author: z.ZodAny
|
|
3507
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
3508
3508
|
}, "strip", z.ZodTypeAny, {
|
|
3509
3509
|
id?: number;
|
|
3510
3510
|
documentId?: string;
|
|
@@ -4474,7 +4474,7 @@ export declare const commentResultValidator: {
|
|
|
4474
4474
|
reason?: string;
|
|
4475
4475
|
resolved?: boolean;
|
|
4476
4476
|
}>, "many">>;
|
|
4477
|
-
author: z.ZodAny
|
|
4477
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
4478
4478
|
} & {
|
|
4479
4479
|
threadOf: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
4480
4480
|
id: z.ZodNumber;
|
|
@@ -4754,7 +4754,7 @@ export declare const commentResultValidator: {
|
|
|
4754
4754
|
reason?: string;
|
|
4755
4755
|
resolved?: boolean;
|
|
4756
4756
|
}>, "many">>;
|
|
4757
|
-
author: z.ZodAny
|
|
4757
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
4758
4758
|
}, "strip", z.ZodTypeAny, {
|
|
4759
4759
|
id?: number;
|
|
4760
4760
|
documentId?: string;
|
|
@@ -5450,7 +5450,7 @@ export declare const commentResultValidator: {
|
|
|
5450
5450
|
reason?: string;
|
|
5451
5451
|
resolved?: boolean;
|
|
5452
5452
|
}>, "many">>;
|
|
5453
|
-
author: z.ZodAny
|
|
5453
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
5454
5454
|
} & {
|
|
5455
5455
|
threadOf: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
5456
5456
|
id: z.ZodNumber;
|
|
@@ -5730,7 +5730,7 @@ export declare const commentResultValidator: {
|
|
|
5730
5730
|
reason?: string;
|
|
5731
5731
|
resolved?: boolean;
|
|
5732
5732
|
}>, "many">>;
|
|
5733
|
-
author: z.ZodAny
|
|
5733
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
5734
5734
|
}, "strip", z.ZodTypeAny, {
|
|
5735
5735
|
id?: number;
|
|
5736
5736
|
documentId?: string;
|
|
@@ -6692,7 +6692,7 @@ export declare const commentResultValidator: {
|
|
|
6692
6692
|
reason?: string;
|
|
6693
6693
|
resolved?: boolean;
|
|
6694
6694
|
}>, "many">>;
|
|
6695
|
-
author: z.ZodAny
|
|
6695
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
6696
6696
|
} & {
|
|
6697
6697
|
threadOf: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
6698
6698
|
id: z.ZodNumber;
|
|
@@ -6972,7 +6972,7 @@ export declare const commentResultValidator: {
|
|
|
6972
6972
|
reason?: string;
|
|
6973
6973
|
resolved?: boolean;
|
|
6974
6974
|
}>, "many">>;
|
|
6975
|
-
author: z.ZodAny
|
|
6975
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
6976
6976
|
}, "strip", z.ZodTypeAny, {
|
|
6977
6977
|
id?: number;
|
|
6978
6978
|
documentId?: string;
|
|
@@ -7651,7 +7651,7 @@ export declare const commentResultValidator: {
|
|
|
7651
7651
|
reason?: string;
|
|
7652
7652
|
resolved?: boolean;
|
|
7653
7653
|
}>, "many">>;
|
|
7654
|
-
author: z.ZodAny
|
|
7654
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
7655
7655
|
} & {
|
|
7656
7656
|
threadOf: z.ZodOptional<z.ZodNullable<z.ZodLazy<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
|
|
7657
7657
|
id: z.ZodNumber;
|
|
@@ -7931,7 +7931,7 @@ export declare const commentResultValidator: {
|
|
|
7931
7931
|
reason?: string;
|
|
7932
7932
|
resolved?: boolean;
|
|
7933
7933
|
}>, "many">>;
|
|
7934
|
-
author: z.ZodAny
|
|
7934
|
+
author: z.ZodOptional<z.ZodNullable<z.ZodAny>>;
|
|
7935
7935
|
}, "strip", z.ZodTypeAny, {
|
|
7936
7936
|
id?: number;
|
|
7937
7937
|
documentId?: string;
|