strapi-plugin-comments 3.2.4 → 3.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/LICENSE.md +18 -4
  2. package/README.md +379 -26
  3. package/dist/_chunks/{en-CT6Rt2uf.mjs → en-B_ywmALc.mjs} +3 -0
  4. package/dist/_chunks/{en-Tdlz6WoL.js → en-CTX-vxI-.js} +1 -1
  5. package/dist/_chunks/{fr-BlaISu0-.js → fr-CJZ1I0cO.js} +1 -1
  6. package/dist/_chunks/{fr-CTKzDZoe.mjs → fr-CzgABcR9.mjs} +3 -0
  7. package/dist/_chunks/{index-CqWqvu-C.mjs → index-2HqVa6_n.mjs} +11273 -12118
  8. package/dist/_chunks/index-BFzHCJ8V.mjs +5959 -0
  9. package/dist/_chunks/index-BYQzi_fP.js +44 -0
  10. package/dist/_chunks/{index-CgbBtemc.js → index-Cfy8GjIN.js} +134 -91
  11. package/dist/_chunks/{index-CynNsAVf.mjs → index-D8SWUMcR.mjs} +45 -23
  12. package/dist/_chunks/index-DXgb05uJ.js +1 -0
  13. package/dist/_chunks/{index-D9B_m9fB.mjs → index-W9svnX5A.mjs} +185 -146
  14. package/dist/_chunks/index-hBG5i5nT.js +5 -0
  15. package/dist/_chunks/{pl-BE9Xc2Tq.mjs → pl-Ca-o0rE-.mjs} +3 -0
  16. package/dist/_chunks/{pl-r2tJzCYX.js → pl-clljrMvo.js} +1 -1
  17. package/dist/_chunks/{pt-BR-BntmApbV.js → pt-BR-DV48_kX8.js} +1 -1
  18. package/dist/_chunks/{pt-BR-ZzKZqryk.mjs → pt-BR-XHO5Olrb.mjs} +3 -0
  19. package/dist/_chunks/{ru-DdjjIy0c.js → ru-BK78F2Vt.js} +1 -1
  20. package/dist/_chunks/{ru-NqAiywiG.mjs → ru-zKH0YOjJ.mjs} +3 -0
  21. package/dist/_chunks/{tr-v1mNvsod.js → tr-BMe1cFKp.js} +1 -1
  22. package/dist/_chunks/{tr-6Vivmm9L.mjs → tr-BaczzuT6.mjs} +3 -0
  23. package/dist/_chunks/{zh-Hans-B3CCaxs8.mjs → zh-Hans-CPSQ76Y3.mjs} +3 -0
  24. package/dist/_chunks/{zh-Hans-_ImAlhp2.js → zh-Hans-xMRxrXVG.js} +1 -1
  25. package/dist/admin/index.js +1 -1
  26. package/dist/admin/index.mjs +1 -1
  27. package/dist/admin/src/api/client.d.ts +67 -58
  28. package/dist/admin/src/api/schemas.d.ts +169 -2797
  29. package/dist/admin/src/components/ActionButton/index.d.ts +2 -4
  30. package/dist/admin/src/components/CommentReactionsSummary/index.d.ts +8 -0
  31. package/dist/admin/src/components/CommentStatusFilters/index.d.ts +2 -1
  32. package/dist/admin/src/components/CustomInjectionZone/index.d.ts +6 -0
  33. package/dist/admin/src/components/CustomInjectionZoneCell/index.d.ts +7 -0
  34. package/dist/admin/src/components/DiscussionThreadItem/DiscussionThreadItemFooter.d.ts +1 -1
  35. package/dist/admin/src/components/DiscussionThreadItem/index.d.ts +3 -3
  36. package/dist/admin/src/components/IconButtonGroup/index.d.ts +2 -5
  37. package/dist/admin/src/components/LoadingIndicatorOverlay/index.d.ts +2 -1
  38. package/dist/admin/src/components/PluginIcon/index.d.ts +2 -1
  39. package/dist/admin/src/components/ReactionCounter/index.d.ts +7 -0
  40. package/dist/admin/src/components/ReactionCounter/styled.d.ts +16 -0
  41. package/dist/admin/src/components/SideNav/index.d.ts +2 -1
  42. package/dist/admin/src/components/StatusBadge/index.d.ts +3 -5
  43. package/dist/admin/src/components/Wysiwyg/EditorLayout.d.ts +2 -2
  44. package/dist/admin/src/components/Wysiwyg/PreviewWysiwyg.d.ts +2 -1
  45. package/dist/admin/src/components/Wysiwyg/WysiwygFooter.d.ts +2 -1
  46. package/dist/admin/src/components/Wysiwyg/WysiwygNav.d.ts +1 -1
  47. package/dist/admin/src/components/Wysiwyg/WysiwygStyles.d.ts +4 -4
  48. package/dist/admin/src/components/icons/comments.d.ts +2 -1
  49. package/dist/admin/src/components/icons/strapiIcons.d.ts +2 -1
  50. package/dist/admin/src/contexts/UserContext.d.ts +7 -7
  51. package/dist/admin/src/hooks/useAPI.d.ts +74 -65
  52. package/dist/admin/src/hooks/useCommentMutations.d.ts +18 -18
  53. package/dist/admin/src/hooks/useCommentsAll.d.ts +8 -6
  54. package/dist/admin/src/hooks/useConfig.d.ts +2 -0
  55. package/dist/admin/src/hooks/useReactionCounts.d.ts +2 -0
  56. package/dist/admin/src/hooks/useReactionTypes.d.ts +8 -0
  57. package/dist/admin/src/hooks/useReports.d.ts +13 -11
  58. package/dist/admin/src/hooks/useUserContext.d.ts +7 -7
  59. package/dist/admin/src/pages/AiEvaluations/index.d.ts +2 -0
  60. package/dist/admin/src/pages/App/index.d.ts +2 -1
  61. package/dist/admin/src/pages/Details/DetailsEntry.d.ts +2 -1
  62. package/dist/admin/src/pages/Discover/index.d.ts +2 -1
  63. package/dist/admin/src/pages/Settings/hooks/useSettingsAPI.d.ts +9 -7
  64. package/dist/admin/src/pages/Settings/index.d.ts +2 -1
  65. package/dist/admin/src/translations/en.d.ts +3 -0
  66. package/dist/admin/src/translations/fr.d.ts +3 -0
  67. package/dist/admin/src/translations/pl.d.ts +3 -0
  68. package/dist/admin/src/translations/pt-BR.d.ts +3 -0
  69. package/dist/admin/src/translations/ru.d.ts +3 -0
  70. package/dist/admin/src/translations/tr.d.ts +3 -0
  71. package/dist/admin/src/translations/zh-Hans.d.ts +3 -0
  72. package/dist/admin/src/utils/functions.d.ts +3 -0
  73. package/dist/admin/src/utils/reactionsIntegration.d.ts +24 -0
  74. package/dist/admin/src/utils/resolveCommentStatusColor.d.ts +1 -1
  75. package/dist/admin/src/utils/resolveReportStatusColor.d.ts +1 -1
  76. package/dist/server/index.js +69 -88
  77. package/dist/server/index.mjs +9727 -7544
  78. package/dist/server/src/config/index.d.ts +37 -112
  79. package/dist/server/src/const/REPORT_SOURCE.d.ts +4 -0
  80. package/dist/server/src/const/index.d.ts +1 -0
  81. package/dist/server/src/content-types/index.d.ts +7 -0
  82. package/dist/server/src/content-types/report/index.d.ts +7 -0
  83. package/dist/server/src/content-types/report/schema.d.ts +8 -1
  84. package/dist/server/src/controllers/admin.controller.d.ts +920 -888
  85. package/dist/server/src/controllers/client.controller.d.ts +1595 -709
  86. package/dist/server/src/controllers/index.d.ts +2784 -6208
  87. package/dist/server/src/controllers/settings.controller.d.ts +110 -94
  88. package/dist/server/src/graphql/getResolversConfig.d.ts +33 -0
  89. package/dist/server/src/graphql/mutations/getApproveComment.d.ts +149 -0
  90. package/dist/server/src/graphql/mutations/getBlockComment.d.ts +149 -0
  91. package/dist/server/src/graphql/mutations/getBlockCommentThread.d.ts +149 -0
  92. package/dist/server/src/graphql/mutations/getCreateAbuseReport.d.ts +81 -78
  93. package/dist/server/src/graphql/mutations/getCreateComment.d.ts +74 -72
  94. package/dist/server/src/graphql/mutations/getRejectComment.d.ts +149 -0
  95. package/dist/server/src/graphql/mutations/getRemoveComment.d.ts +74 -72
  96. package/dist/server/src/graphql/mutations/getResolveAbuseReport.d.ts +25 -0
  97. package/dist/server/src/graphql/mutations/getResolveAllAbuseReportsForComment.d.ts +16 -0
  98. package/dist/server/src/graphql/mutations/getResolveAllAbuseReportsForThread.d.ts +16 -0
  99. package/dist/server/src/graphql/mutations/getResolveCommentMultipleAbuseReports.d.ts +17 -0
  100. package/dist/server/src/graphql/mutations/getResolveMultipleAbuseReports.d.ts +16 -0
  101. package/dist/server/src/graphql/mutations/getUnblockComment.d.ts +149 -0
  102. package/dist/server/src/graphql/mutations/getUnblockCommentThread.d.ts +149 -0
  103. package/dist/server/src/graphql/mutations/getUpdateComment.d.ts +74 -72
  104. package/dist/server/src/graphql/queries/findAllFlat.d.ts +162 -155
  105. package/dist/server/src/graphql/queries/findAllInHierarchy.d.ts +9 -1
  106. package/dist/server/src/graphql/queries/findAllPerAuthor.d.ts +161 -154
  107. package/dist/server/src/graphql/types/getCommentReactionCount.d.ts +2 -0
  108. package/dist/server/src/graphql/types/getCommentReactionsMetaEntry.d.ts +2 -0
  109. package/dist/server/src/graphql/types/getModerateCommentInput.d.ts +2 -0
  110. package/dist/server/src/graphql/types/getReportsResolveBatch.d.ts +2 -0
  111. package/dist/server/src/graphql/types/getResolveAbuseReportInput.d.ts +2 -0
  112. package/dist/server/src/graphql/types/getResolveCommentMultipleAbuseReportsInput.d.ts +2 -0
  113. package/dist/server/src/graphql/types/getResolveMultipleAbuseReportsInput.d.ts +2 -0
  114. package/dist/server/src/graphql/types/index.d.ts +1 -1
  115. package/dist/server/src/index.d.ts +17 -35339
  116. package/dist/server/src/repositories/report.comment.repository.d.ts +87 -83
  117. package/dist/server/src/repositories/store.repository.d.ts +144 -124
  118. package/dist/server/src/services/admin/admin.service.d.ts +14597 -8230
  119. package/dist/server/src/services/client.service.d.ts +11410 -7681
  120. package/dist/server/src/services/common.service.d.ts +3548 -471
  121. package/dist/server/src/services/email.service.d.ts +11 -0
  122. package/dist/server/src/services/index.d.ts +17 -27339
  123. package/dist/server/src/services/reactions.service.d.ts +11976 -0
  124. package/dist/server/src/services/settings.service.d.ts +85 -73
  125. package/dist/server/src/services/utils/functions.d.ts +2 -2
  126. package/dist/server/src/services/utils/reactions.d.ts +12 -0
  127. package/dist/server/src/utils/constants.d.ts +1 -0
  128. package/dist/server/src/utils/getConfig.d.ts +1 -1
  129. package/dist/server/src/utils/getPluginService.d.ts +1 -1
  130. package/dist/server/src/utils/types.d.ts +5 -3
  131. package/dist/server/src/validators/api/controllers/admin.controller.validator.d.ts +234 -1322
  132. package/dist/server/src/validators/api/controllers/client.controller.validator.d.ts +2051 -2013
  133. package/dist/server/src/validators/api/controllers/settings.controller.validator.d.ts +15 -13
  134. package/dist/server/src/validators/repositories/comment.schema.d.ts +15 -439
  135. package/dist/server/src/validators/repositories/comment.validator.d.ts +240 -7397
  136. package/dist/server/src/validators/repositories/reports.validator.d.ts +89 -2940
  137. package/dist/server/src/validators/repositories/utils.d.ts +5 -13
  138. package/dist/server/src/validators/utils.d.ts +164 -1875
  139. package/dist/shared/constants.d.ts +1 -0
  140. package/package.json +40 -48
  141. package/dist/_chunks/index-BIaTg-pL.mjs +0 -5682
  142. package/dist/_chunks/index-BIivsuhp.js +0 -44
  143. package/dist/_chunks/index-Dz3cg8MA.js +0 -1
  144. package/dist/_chunks/index-sPxsE9Y1.js +0 -5
@@ -1,1298 +1,241 @@
1
1
  import { z } from 'zod';
2
2
  import { ExtractRightEither } from '../../../utils/Either';
3
3
  export declare const baseAdminPanelQuery: z.ZodObject<{
4
- pageSize: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>;
5
- page: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>;
4
+ pageSize: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<number, string | number>>, z.ZodNumber>>;
5
+ page: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<number, string | number>>, z.ZodNumber>>;
6
6
  orderBy: z.ZodNullable<z.ZodOptional<z.ZodString>>;
7
7
  filters: z.ZodOptional<z.ZodObject<{
8
- removed: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodUnion<[z.ZodObject<{
8
+ removed: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodUnion<readonly [z.ZodObject<{
9
9
  $eq: z.ZodString;
10
- }, "strip", z.ZodTypeAny, {
11
- $eq?: string;
12
- }, {
13
- $eq?: string;
14
- }>, z.ZodObject<{
10
+ }, z.core.$strip>, z.ZodObject<{
15
11
  $eqi: z.ZodString;
16
- }, "strip", z.ZodTypeAny, {
17
- $eqi?: string;
18
- }, {
19
- $eqi?: string;
20
- }>]>, z.ZodUnion<[z.ZodObject<{
12
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
21
13
  $ne: z.ZodString;
22
- }, "strip", z.ZodTypeAny, {
23
- $ne?: string;
24
- }, {
25
- $ne?: string;
26
- }>, z.ZodObject<{
14
+ }, z.core.$strip>, z.ZodObject<{
27
15
  $nei: z.ZodString;
28
- }, "strip", z.ZodTypeAny, {
29
- $nei?: string;
30
- }, {
31
- $nei?: string;
32
- }>]>, z.ZodUnion<[z.ZodObject<{
16
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
33
17
  $gt: z.ZodString;
34
- }, "strip", z.ZodTypeAny, {
35
- $gt?: string;
36
- }, {
37
- $gt?: string;
38
- }>, z.ZodObject<{
18
+ }, z.core.$strip>, z.ZodObject<{
39
19
  $gte: z.ZodString;
40
- }, "strip", z.ZodTypeAny, {
41
- $gte?: string;
42
- }, {
43
- $gte?: string;
44
- }>]>, z.ZodUnion<[z.ZodObject<{
20
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
45
21
  $lt: z.ZodString;
46
- }, "strip", z.ZodTypeAny, {
47
- $lt?: string;
48
- }, {
49
- $lt?: string;
50
- }>, z.ZodObject<{
22
+ }, z.core.$strip>, z.ZodObject<{
51
23
  $lte: z.ZodString;
52
- }, "strip", z.ZodTypeAny, {
53
- $lte?: string;
54
- }, {
55
- $lte?: string;
56
- }>]>, z.ZodUnion<[z.ZodObject<{
24
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
57
25
  $startsWith: z.ZodString;
58
- }, "strip", z.ZodTypeAny, {
59
- $startsWith?: string;
60
- }, {
61
- $startsWith?: string;
62
- }>, z.ZodObject<{
26
+ }, z.core.$strip>, z.ZodObject<{
63
27
  $startsWithi: z.ZodString;
64
- }, "strip", z.ZodTypeAny, {
65
- $startsWithi?: string;
66
- }, {
67
- $startsWithi?: string;
68
- }>]>, z.ZodUnion<[z.ZodObject<{
28
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
69
29
  $endsWith: z.ZodString;
70
- }, "strip", z.ZodTypeAny, {
71
- $endsWith?: string;
72
- }, {
73
- $endsWith?: string;
74
- }>, z.ZodObject<{
30
+ }, z.core.$strip>, z.ZodObject<{
75
31
  $endsWithi: z.ZodString;
76
- }, "strip", z.ZodTypeAny, {
77
- $endsWithi?: string;
78
- }, {
79
- $endsWithi?: string;
80
- }>]>, z.ZodUnion<[z.ZodObject<{
32
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
81
33
  $contains: z.ZodString;
82
- }, "strip", z.ZodTypeAny, {
83
- $contains?: string;
84
- }, {
85
- $contains?: string;
86
- }>, z.ZodObject<{
34
+ }, z.core.$strip>, z.ZodObject<{
87
35
  $containsi: z.ZodString;
88
- }, "strip", z.ZodTypeAny, {
89
- $containsi?: string;
90
- }, {
91
- $containsi?: string;
92
- }>]>, z.ZodUnion<[z.ZodObject<{
36
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
93
37
  $notContains: z.ZodString;
94
- }, "strip", z.ZodTypeAny, {
95
- $notContains?: string;
96
- }, {
97
- $notContains?: string;
98
- }>, z.ZodObject<{
38
+ }, z.core.$strip>, z.ZodObject<{
99
39
  $notContainsi: z.ZodString;
100
- }, "strip", z.ZodTypeAny, {
101
- $notContainsi?: string;
102
- }, {
103
- $notContainsi?: string;
104
- }>]>, z.ZodObject<{
105
- $null: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
106
- }, "strip", z.ZodTypeAny, {
107
- $null?: boolean;
108
- }, {
109
- $null?: string | boolean;
110
- }>, z.ZodObject<{
111
- $notNull: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
112
- }, "strip", z.ZodTypeAny, {
113
- $notNull?: boolean;
114
- }, {
115
- $notNull?: string | boolean;
116
- }>]>;
117
- approvalStatus: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodUnion<[z.ZodObject<{
40
+ }, z.core.$strip>]>, z.ZodObject<{
41
+ $null: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>, z.ZodTransform<boolean, string | boolean>>, z.ZodBoolean>;
42
+ }, z.core.$strip>, z.ZodObject<{
43
+ $notNull: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>, z.ZodTransform<boolean, string | boolean>>, z.ZodBoolean>;
44
+ }, z.core.$strip>]>;
45
+ approvalStatus: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodUnion<readonly [z.ZodObject<{
118
46
  $eq: z.ZodString;
119
- }, "strip", z.ZodTypeAny, {
120
- $eq?: string;
121
- }, {
122
- $eq?: string;
123
- }>, z.ZodObject<{
47
+ }, z.core.$strip>, z.ZodObject<{
124
48
  $eqi: z.ZodString;
125
- }, "strip", z.ZodTypeAny, {
126
- $eqi?: string;
127
- }, {
128
- $eqi?: string;
129
- }>]>, z.ZodUnion<[z.ZodObject<{
49
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
130
50
  $ne: z.ZodString;
131
- }, "strip", z.ZodTypeAny, {
132
- $ne?: string;
133
- }, {
134
- $ne?: string;
135
- }>, z.ZodObject<{
51
+ }, z.core.$strip>, z.ZodObject<{
136
52
  $nei: z.ZodString;
137
- }, "strip", z.ZodTypeAny, {
138
- $nei?: string;
139
- }, {
140
- $nei?: string;
141
- }>]>, z.ZodUnion<[z.ZodObject<{
53
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
142
54
  $gt: z.ZodString;
143
- }, "strip", z.ZodTypeAny, {
144
- $gt?: string;
145
- }, {
146
- $gt?: string;
147
- }>, z.ZodObject<{
55
+ }, z.core.$strip>, z.ZodObject<{
148
56
  $gte: z.ZodString;
149
- }, "strip", z.ZodTypeAny, {
150
- $gte?: string;
151
- }, {
152
- $gte?: string;
153
- }>]>, z.ZodUnion<[z.ZodObject<{
57
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
154
58
  $lt: z.ZodString;
155
- }, "strip", z.ZodTypeAny, {
156
- $lt?: string;
157
- }, {
158
- $lt?: string;
159
- }>, z.ZodObject<{
59
+ }, z.core.$strip>, z.ZodObject<{
160
60
  $lte: z.ZodString;
161
- }, "strip", z.ZodTypeAny, {
162
- $lte?: string;
163
- }, {
164
- $lte?: string;
165
- }>]>, z.ZodUnion<[z.ZodObject<{
61
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
166
62
  $startsWith: z.ZodString;
167
- }, "strip", z.ZodTypeAny, {
168
- $startsWith?: string;
169
- }, {
170
- $startsWith?: string;
171
- }>, z.ZodObject<{
63
+ }, z.core.$strip>, z.ZodObject<{
172
64
  $startsWithi: z.ZodString;
173
- }, "strip", z.ZodTypeAny, {
174
- $startsWithi?: string;
175
- }, {
176
- $startsWithi?: string;
177
- }>]>, z.ZodUnion<[z.ZodObject<{
65
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
178
66
  $endsWith: z.ZodString;
179
- }, "strip", z.ZodTypeAny, {
180
- $endsWith?: string;
181
- }, {
182
- $endsWith?: string;
183
- }>, z.ZodObject<{
67
+ }, z.core.$strip>, z.ZodObject<{
184
68
  $endsWithi: z.ZodString;
185
- }, "strip", z.ZodTypeAny, {
186
- $endsWithi?: string;
187
- }, {
188
- $endsWithi?: string;
189
- }>]>, z.ZodUnion<[z.ZodObject<{
69
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
190
70
  $contains: z.ZodString;
191
- }, "strip", z.ZodTypeAny, {
192
- $contains?: string;
193
- }, {
194
- $contains?: string;
195
- }>, z.ZodObject<{
71
+ }, z.core.$strip>, z.ZodObject<{
196
72
  $containsi: z.ZodString;
197
- }, "strip", z.ZodTypeAny, {
198
- $containsi?: string;
199
- }, {
200
- $containsi?: string;
201
- }>]>, z.ZodUnion<[z.ZodObject<{
73
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
202
74
  $notContains: z.ZodString;
203
- }, "strip", z.ZodTypeAny, {
204
- $notContains?: string;
205
- }, {
206
- $notContains?: string;
207
- }>, z.ZodObject<{
75
+ }, z.core.$strip>, z.ZodObject<{
208
76
  $notContainsi: z.ZodString;
209
- }, "strip", z.ZodTypeAny, {
210
- $notContainsi?: string;
211
- }, {
212
- $notContainsi?: string;
213
- }>]>, z.ZodObject<{
214
- $null: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
215
- }, "strip", z.ZodTypeAny, {
216
- $null?: boolean;
217
- }, {
218
- $null?: string | boolean;
219
- }>, z.ZodObject<{
220
- $notNull: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
221
- }, "strip", z.ZodTypeAny, {
222
- $notNull?: boolean;
223
- }, {
224
- $notNull?: string | boolean;
225
- }>]>;
226
- } & {
77
+ }, z.core.$strip>]>, z.ZodObject<{
78
+ $null: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>, z.ZodTransform<boolean, string | boolean>>, z.ZodBoolean>;
79
+ }, z.core.$strip>, z.ZodObject<{
80
+ $notNull: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>, z.ZodTransform<boolean, string | boolean>>, z.ZodBoolean>;
81
+ }, z.core.$strip>]>;
227
82
  $or: z.ZodOptional<z.ZodArray<z.ZodObject<{
228
- blocked: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodUnion<[z.ZodObject<{
83
+ blocked: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodUnion<readonly [z.ZodObject<{
229
84
  $eq: z.ZodString;
230
- }, "strip", z.ZodTypeAny, {
231
- $eq?: string;
232
- }, {
233
- $eq?: string;
234
- }>, z.ZodObject<{
85
+ }, z.core.$strip>, z.ZodObject<{
235
86
  $eqi: z.ZodString;
236
- }, "strip", z.ZodTypeAny, {
237
- $eqi?: string;
238
- }, {
239
- $eqi?: string;
240
- }>]>, z.ZodUnion<[z.ZodObject<{
87
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
241
88
  $ne: z.ZodString;
242
- }, "strip", z.ZodTypeAny, {
243
- $ne?: string;
244
- }, {
245
- $ne?: string;
246
- }>, z.ZodObject<{
89
+ }, z.core.$strip>, z.ZodObject<{
247
90
  $nei: z.ZodString;
248
- }, "strip", z.ZodTypeAny, {
249
- $nei?: string;
250
- }, {
251
- $nei?: string;
252
- }>]>, z.ZodUnion<[z.ZodObject<{
91
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
253
92
  $gt: z.ZodString;
254
- }, "strip", z.ZodTypeAny, {
255
- $gt?: string;
256
- }, {
257
- $gt?: string;
258
- }>, z.ZodObject<{
93
+ }, z.core.$strip>, z.ZodObject<{
259
94
  $gte: z.ZodString;
260
- }, "strip", z.ZodTypeAny, {
261
- $gte?: string;
262
- }, {
263
- $gte?: string;
264
- }>]>, z.ZodUnion<[z.ZodObject<{
95
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
265
96
  $lt: z.ZodString;
266
- }, "strip", z.ZodTypeAny, {
267
- $lt?: string;
268
- }, {
269
- $lt?: string;
270
- }>, z.ZodObject<{
97
+ }, z.core.$strip>, z.ZodObject<{
271
98
  $lte: z.ZodString;
272
- }, "strip", z.ZodTypeAny, {
273
- $lte?: string;
274
- }, {
275
- $lte?: string;
276
- }>]>, z.ZodUnion<[z.ZodObject<{
99
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
277
100
  $startsWith: z.ZodString;
278
- }, "strip", z.ZodTypeAny, {
279
- $startsWith?: string;
280
- }, {
281
- $startsWith?: string;
282
- }>, z.ZodObject<{
101
+ }, z.core.$strip>, z.ZodObject<{
283
102
  $startsWithi: z.ZodString;
284
- }, "strip", z.ZodTypeAny, {
285
- $startsWithi?: string;
286
- }, {
287
- $startsWithi?: string;
288
- }>]>, z.ZodUnion<[z.ZodObject<{
103
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
289
104
  $endsWith: z.ZodString;
290
- }, "strip", z.ZodTypeAny, {
291
- $endsWith?: string;
292
- }, {
293
- $endsWith?: string;
294
- }>, z.ZodObject<{
105
+ }, z.core.$strip>, z.ZodObject<{
295
106
  $endsWithi: z.ZodString;
296
- }, "strip", z.ZodTypeAny, {
297
- $endsWithi?: string;
298
- }, {
299
- $endsWithi?: string;
300
- }>]>, z.ZodUnion<[z.ZodObject<{
107
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
301
108
  $contains: z.ZodString;
302
- }, "strip", z.ZodTypeAny, {
303
- $contains?: string;
304
- }, {
305
- $contains?: string;
306
- }>, z.ZodObject<{
109
+ }, z.core.$strip>, z.ZodObject<{
307
110
  $containsi: z.ZodString;
308
- }, "strip", z.ZodTypeAny, {
309
- $containsi?: string;
310
- }, {
311
- $containsi?: string;
312
- }>]>, z.ZodUnion<[z.ZodObject<{
111
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
313
112
  $notContains: z.ZodString;
314
- }, "strip", z.ZodTypeAny, {
315
- $notContains?: string;
316
- }, {
317
- $notContains?: string;
318
- }>, z.ZodObject<{
113
+ }, z.core.$strip>, z.ZodObject<{
319
114
  $notContainsi: z.ZodString;
320
- }, "strip", z.ZodTypeAny, {
321
- $notContainsi?: string;
322
- }, {
323
- $notContainsi?: string;
324
- }>]>, z.ZodObject<{
325
- $null: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
326
- }, "strip", z.ZodTypeAny, {
327
- $null?: boolean;
328
- }, {
329
- $null?: string | boolean;
330
- }>, z.ZodObject<{
331
- $notNull: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
332
- }, "strip", z.ZodTypeAny, {
333
- $notNull?: boolean;
334
- }, {
335
- $notNull?: string | boolean;
336
- }>]>;
337
- blockedThread: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodUnion<[z.ZodObject<{
115
+ }, z.core.$strip>]>, z.ZodObject<{
116
+ $null: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>, z.ZodTransform<boolean, string | boolean>>, z.ZodBoolean>;
117
+ }, z.core.$strip>, z.ZodObject<{
118
+ $notNull: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>, z.ZodTransform<boolean, string | boolean>>, z.ZodBoolean>;
119
+ }, z.core.$strip>]>;
120
+ blockedThread: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodUnion<readonly [z.ZodObject<{
338
121
  $eq: z.ZodString;
339
- }, "strip", z.ZodTypeAny, {
340
- $eq?: string;
341
- }, {
342
- $eq?: string;
343
- }>, z.ZodObject<{
122
+ }, z.core.$strip>, z.ZodObject<{
344
123
  $eqi: z.ZodString;
345
- }, "strip", z.ZodTypeAny, {
346
- $eqi?: string;
347
- }, {
348
- $eqi?: string;
349
- }>]>, z.ZodUnion<[z.ZodObject<{
124
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
350
125
  $ne: z.ZodString;
351
- }, "strip", z.ZodTypeAny, {
352
- $ne?: string;
353
- }, {
354
- $ne?: string;
355
- }>, z.ZodObject<{
126
+ }, z.core.$strip>, z.ZodObject<{
356
127
  $nei: z.ZodString;
357
- }, "strip", z.ZodTypeAny, {
358
- $nei?: string;
359
- }, {
360
- $nei?: string;
361
- }>]>, z.ZodUnion<[z.ZodObject<{
128
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
362
129
  $gt: z.ZodString;
363
- }, "strip", z.ZodTypeAny, {
364
- $gt?: string;
365
- }, {
366
- $gt?: string;
367
- }>, z.ZodObject<{
130
+ }, z.core.$strip>, z.ZodObject<{
368
131
  $gte: z.ZodString;
369
- }, "strip", z.ZodTypeAny, {
370
- $gte?: string;
371
- }, {
372
- $gte?: string;
373
- }>]>, z.ZodUnion<[z.ZodObject<{
132
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
374
133
  $lt: z.ZodString;
375
- }, "strip", z.ZodTypeAny, {
376
- $lt?: string;
377
- }, {
378
- $lt?: string;
379
- }>, z.ZodObject<{
134
+ }, z.core.$strip>, z.ZodObject<{
380
135
  $lte: z.ZodString;
381
- }, "strip", z.ZodTypeAny, {
382
- $lte?: string;
383
- }, {
384
- $lte?: string;
385
- }>]>, z.ZodUnion<[z.ZodObject<{
136
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
386
137
  $startsWith: z.ZodString;
387
- }, "strip", z.ZodTypeAny, {
388
- $startsWith?: string;
389
- }, {
390
- $startsWith?: string;
391
- }>, z.ZodObject<{
138
+ }, z.core.$strip>, z.ZodObject<{
392
139
  $startsWithi: z.ZodString;
393
- }, "strip", z.ZodTypeAny, {
394
- $startsWithi?: string;
395
- }, {
396
- $startsWithi?: string;
397
- }>]>, z.ZodUnion<[z.ZodObject<{
140
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
398
141
  $endsWith: z.ZodString;
399
- }, "strip", z.ZodTypeAny, {
400
- $endsWith?: string;
401
- }, {
402
- $endsWith?: string;
403
- }>, z.ZodObject<{
142
+ }, z.core.$strip>, z.ZodObject<{
404
143
  $endsWithi: z.ZodString;
405
- }, "strip", z.ZodTypeAny, {
406
- $endsWithi?: string;
407
- }, {
408
- $endsWithi?: string;
409
- }>]>, z.ZodUnion<[z.ZodObject<{
144
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
410
145
  $contains: z.ZodString;
411
- }, "strip", z.ZodTypeAny, {
412
- $contains?: string;
413
- }, {
414
- $contains?: string;
415
- }>, z.ZodObject<{
146
+ }, z.core.$strip>, z.ZodObject<{
416
147
  $containsi: z.ZodString;
417
- }, "strip", z.ZodTypeAny, {
418
- $containsi?: string;
419
- }, {
420
- $containsi?: string;
421
- }>]>, z.ZodUnion<[z.ZodObject<{
148
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
422
149
  $notContains: z.ZodString;
423
- }, "strip", z.ZodTypeAny, {
424
- $notContains?: string;
425
- }, {
426
- $notContains?: string;
427
- }>, z.ZodObject<{
150
+ }, z.core.$strip>, z.ZodObject<{
428
151
  $notContainsi: z.ZodString;
429
- }, "strip", z.ZodTypeAny, {
430
- $notContainsi?: string;
431
- }, {
432
- $notContainsi?: string;
433
- }>]>, z.ZodObject<{
434
- $null: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
435
- }, "strip", z.ZodTypeAny, {
436
- $null?: boolean;
437
- }, {
438
- $null?: string | boolean;
439
- }>, z.ZodObject<{
440
- $notNull: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
441
- }, "strip", z.ZodTypeAny, {
442
- $notNull?: boolean;
443
- }, {
444
- $notNull?: string | boolean;
445
- }>]>;
446
- }, z.UnknownKeysParam, z.ZodTypeAny, {
447
- blocked?: string | number | {
448
- $eq?: string;
449
- } | {
450
- $eqi?: string;
451
- } | {
452
- $ne?: string;
453
- } | {
454
- $nei?: string;
455
- } | {
456
- $gt?: string;
457
- } | {
458
- $gte?: string;
459
- } | {
460
- $lt?: string;
461
- } | {
462
- $lte?: string;
463
- } | {
464
- $startsWith?: string;
465
- } | {
466
- $startsWithi?: string;
467
- } | {
468
- $endsWith?: string;
469
- } | {
470
- $endsWithi?: string;
471
- } | {
472
- $contains?: string;
473
- } | {
474
- $containsi?: string;
475
- } | {
476
- $notContains?: string;
477
- } | {
478
- $notContainsi?: string;
479
- } | {
480
- $null?: boolean;
481
- } | {
482
- $notNull?: boolean;
483
- };
484
- blockedThread?: string | number | {
485
- $eq?: string;
486
- } | {
487
- $eqi?: string;
488
- } | {
489
- $ne?: string;
490
- } | {
491
- $nei?: string;
492
- } | {
493
- $gt?: string;
494
- } | {
495
- $gte?: string;
496
- } | {
497
- $lt?: string;
498
- } | {
499
- $lte?: string;
500
- } | {
501
- $startsWith?: string;
502
- } | {
503
- $startsWithi?: string;
504
- } | {
505
- $endsWith?: string;
506
- } | {
507
- $endsWithi?: string;
508
- } | {
509
- $contains?: string;
510
- } | {
511
- $containsi?: string;
512
- } | {
513
- $notContains?: string;
514
- } | {
515
- $notContainsi?: string;
516
- } | {
517
- $null?: boolean;
518
- } | {
519
- $notNull?: boolean;
520
- };
521
- }, {
522
- blocked?: string | number | {
523
- $eq?: string;
524
- } | {
525
- $eqi?: string;
526
- } | {
527
- $ne?: string;
528
- } | {
529
- $nei?: string;
530
- } | {
531
- $gt?: string;
532
- } | {
533
- $gte?: string;
534
- } | {
535
- $lt?: string;
536
- } | {
537
- $lte?: string;
538
- } | {
539
- $startsWith?: string;
540
- } | {
541
- $startsWithi?: string;
542
- } | {
543
- $endsWith?: string;
544
- } | {
545
- $endsWithi?: string;
546
- } | {
547
- $contains?: string;
548
- } | {
549
- $containsi?: string;
550
- } | {
551
- $notContains?: string;
552
- } | {
553
- $notContainsi?: string;
554
- } | {
555
- $null?: string | boolean;
556
- } | {
557
- $notNull?: string | boolean;
558
- };
559
- blockedThread?: string | number | {
560
- $eq?: string;
561
- } | {
562
- $eqi?: string;
563
- } | {
564
- $ne?: string;
565
- } | {
566
- $nei?: string;
567
- } | {
568
- $gt?: string;
569
- } | {
570
- $gte?: string;
571
- } | {
572
- $lt?: string;
573
- } | {
574
- $lte?: string;
575
- } | {
576
- $startsWith?: string;
577
- } | {
578
- $startsWithi?: string;
579
- } | {
580
- $endsWith?: string;
581
- } | {
582
- $endsWithi?: string;
583
- } | {
584
- $contains?: string;
585
- } | {
586
- $containsi?: string;
587
- } | {
588
- $notContains?: string;
589
- } | {
590
- $notContainsi?: string;
591
- } | {
592
- $null?: string | boolean;
593
- } | {
594
- $notNull?: string | boolean;
595
- };
596
- }>, "many">>;
597
- }, "strip", z.ZodTypeAny, {
598
- removed?: string | number | {
599
- $eq?: string;
600
- } | {
601
- $eqi?: string;
602
- } | {
603
- $ne?: string;
604
- } | {
605
- $nei?: string;
606
- } | {
607
- $gt?: string;
608
- } | {
609
- $gte?: string;
610
- } | {
611
- $lt?: string;
612
- } | {
613
- $lte?: string;
614
- } | {
615
- $startsWith?: string;
616
- } | {
617
- $startsWithi?: string;
618
- } | {
619
- $endsWith?: string;
620
- } | {
621
- $endsWithi?: string;
622
- } | {
623
- $contains?: string;
624
- } | {
625
- $containsi?: string;
626
- } | {
627
- $notContains?: string;
628
- } | {
629
- $notContainsi?: string;
630
- } | {
631
- $null?: boolean;
632
- } | {
633
- $notNull?: boolean;
634
- };
635
- approvalStatus?: string | number | {
636
- $eq?: string;
637
- } | {
638
- $eqi?: string;
639
- } | {
640
- $ne?: string;
641
- } | {
642
- $nei?: string;
643
- } | {
644
- $gt?: string;
645
- } | {
646
- $gte?: string;
647
- } | {
648
- $lt?: string;
649
- } | {
650
- $lte?: string;
651
- } | {
652
- $startsWith?: string;
653
- } | {
654
- $startsWithi?: string;
655
- } | {
656
- $endsWith?: string;
657
- } | {
658
- $endsWithi?: string;
659
- } | {
660
- $contains?: string;
661
- } | {
662
- $containsi?: string;
663
- } | {
664
- $notContains?: string;
665
- } | {
666
- $notContainsi?: string;
667
- } | {
668
- $null?: boolean;
669
- } | {
670
- $notNull?: boolean;
671
- };
672
- $or?: {
673
- blocked?: string | number | {
674
- $eq?: string;
675
- } | {
676
- $eqi?: string;
677
- } | {
678
- $ne?: string;
679
- } | {
680
- $nei?: string;
681
- } | {
682
- $gt?: string;
683
- } | {
684
- $gte?: string;
685
- } | {
686
- $lt?: string;
687
- } | {
688
- $lte?: string;
689
- } | {
690
- $startsWith?: string;
691
- } | {
692
- $startsWithi?: string;
693
- } | {
694
- $endsWith?: string;
695
- } | {
696
- $endsWithi?: string;
697
- } | {
698
- $contains?: string;
699
- } | {
700
- $containsi?: string;
701
- } | {
702
- $notContains?: string;
703
- } | {
704
- $notContainsi?: string;
705
- } | {
706
- $null?: boolean;
707
- } | {
708
- $notNull?: boolean;
709
- };
710
- blockedThread?: string | number | {
711
- $eq?: string;
712
- } | {
713
- $eqi?: string;
714
- } | {
715
- $ne?: string;
716
- } | {
717
- $nei?: string;
718
- } | {
719
- $gt?: string;
720
- } | {
721
- $gte?: string;
722
- } | {
723
- $lt?: string;
724
- } | {
725
- $lte?: string;
726
- } | {
727
- $startsWith?: string;
728
- } | {
729
- $startsWithi?: string;
730
- } | {
731
- $endsWith?: string;
732
- } | {
733
- $endsWithi?: string;
734
- } | {
735
- $contains?: string;
736
- } | {
737
- $containsi?: string;
738
- } | {
739
- $notContains?: string;
740
- } | {
741
- $notContainsi?: string;
742
- } | {
743
- $null?: boolean;
744
- } | {
745
- $notNull?: boolean;
746
- };
747
- }[];
748
- }, {
749
- removed?: string | number | {
750
- $eq?: string;
751
- } | {
752
- $eqi?: string;
753
- } | {
754
- $ne?: string;
755
- } | {
756
- $nei?: string;
757
- } | {
758
- $gt?: string;
759
- } | {
760
- $gte?: string;
761
- } | {
762
- $lt?: string;
763
- } | {
764
- $lte?: string;
765
- } | {
766
- $startsWith?: string;
767
- } | {
768
- $startsWithi?: string;
769
- } | {
770
- $endsWith?: string;
771
- } | {
772
- $endsWithi?: string;
773
- } | {
774
- $contains?: string;
775
- } | {
776
- $containsi?: string;
777
- } | {
778
- $notContains?: string;
779
- } | {
780
- $notContainsi?: string;
781
- } | {
782
- $null?: string | boolean;
783
- } | {
784
- $notNull?: string | boolean;
785
- };
786
- approvalStatus?: string | number | {
787
- $eq?: string;
788
- } | {
789
- $eqi?: string;
790
- } | {
791
- $ne?: string;
792
- } | {
793
- $nei?: string;
794
- } | {
795
- $gt?: string;
796
- } | {
797
- $gte?: string;
798
- } | {
799
- $lt?: string;
800
- } | {
801
- $lte?: string;
802
- } | {
803
- $startsWith?: string;
804
- } | {
805
- $startsWithi?: string;
806
- } | {
807
- $endsWith?: string;
808
- } | {
809
- $endsWithi?: string;
810
- } | {
811
- $contains?: string;
812
- } | {
813
- $containsi?: string;
814
- } | {
815
- $notContains?: string;
816
- } | {
817
- $notContainsi?: string;
818
- } | {
819
- $null?: string | boolean;
820
- } | {
821
- $notNull?: string | boolean;
822
- };
823
- $or?: {
824
- blocked?: string | number | {
825
- $eq?: string;
826
- } | {
827
- $eqi?: string;
828
- } | {
829
- $ne?: string;
830
- } | {
831
- $nei?: string;
832
- } | {
833
- $gt?: string;
834
- } | {
835
- $gte?: string;
836
- } | {
837
- $lt?: string;
838
- } | {
839
- $lte?: string;
840
- } | {
841
- $startsWith?: string;
842
- } | {
843
- $startsWithi?: string;
844
- } | {
845
- $endsWith?: string;
846
- } | {
847
- $endsWithi?: string;
848
- } | {
849
- $contains?: string;
850
- } | {
851
- $containsi?: string;
852
- } | {
853
- $notContains?: string;
854
- } | {
855
- $notContainsi?: string;
856
- } | {
857
- $null?: string | boolean;
858
- } | {
859
- $notNull?: string | boolean;
860
- };
861
- blockedThread?: string | number | {
862
- $eq?: string;
863
- } | {
864
- $eqi?: string;
865
- } | {
866
- $ne?: string;
867
- } | {
868
- $nei?: string;
869
- } | {
870
- $gt?: string;
871
- } | {
872
- $gte?: string;
873
- } | {
874
- $lt?: string;
875
- } | {
876
- $lte?: string;
877
- } | {
878
- $startsWith?: string;
879
- } | {
880
- $startsWithi?: string;
881
- } | {
882
- $endsWith?: string;
883
- } | {
884
- $endsWithi?: string;
885
- } | {
886
- $contains?: string;
887
- } | {
888
- $containsi?: string;
889
- } | {
890
- $notContains?: string;
891
- } | {
892
- $notContainsi?: string;
893
- } | {
894
- $null?: string | boolean;
895
- } | {
896
- $notNull?: string | boolean;
897
- };
898
- }[];
899
- }>>;
900
- } & {
152
+ }, z.core.$strip>]>, z.ZodObject<{
153
+ $null: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>, z.ZodTransform<boolean, string | boolean>>, z.ZodBoolean>;
154
+ }, z.core.$strip>, z.ZodObject<{
155
+ $notNull: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>, z.ZodTransform<boolean, string | boolean>>, z.ZodBoolean>;
156
+ }, z.core.$strip>]>;
157
+ }, z.core.$strip>>>;
158
+ }, z.core.$strip>>;
901
159
  _q: z.ZodOptional<z.ZodString>;
902
- }, "strip", z.ZodTypeAny, {
903
- page?: number;
904
- pageSize?: number;
905
- _q?: string;
906
- orderBy?: string;
907
- filters?: {
908
- removed?: string | number | {
909
- $eq?: string;
910
- } | {
911
- $eqi?: string;
912
- } | {
913
- $ne?: string;
914
- } | {
915
- $nei?: string;
916
- } | {
917
- $gt?: string;
918
- } | {
919
- $gte?: string;
920
- } | {
921
- $lt?: string;
922
- } | {
923
- $lte?: string;
924
- } | {
925
- $startsWith?: string;
926
- } | {
927
- $startsWithi?: string;
928
- } | {
929
- $endsWith?: string;
930
- } | {
931
- $endsWithi?: string;
932
- } | {
933
- $contains?: string;
934
- } | {
935
- $containsi?: string;
936
- } | {
937
- $notContains?: string;
938
- } | {
939
- $notContainsi?: string;
940
- } | {
941
- $null?: boolean;
942
- } | {
943
- $notNull?: boolean;
944
- };
945
- approvalStatus?: string | number | {
946
- $eq?: string;
947
- } | {
948
- $eqi?: string;
949
- } | {
950
- $ne?: string;
951
- } | {
952
- $nei?: string;
953
- } | {
954
- $gt?: string;
955
- } | {
956
- $gte?: string;
957
- } | {
958
- $lt?: string;
959
- } | {
960
- $lte?: string;
961
- } | {
962
- $startsWith?: string;
963
- } | {
964
- $startsWithi?: string;
965
- } | {
966
- $endsWith?: string;
967
- } | {
968
- $endsWithi?: string;
969
- } | {
970
- $contains?: string;
971
- } | {
972
- $containsi?: string;
973
- } | {
974
- $notContains?: string;
975
- } | {
976
- $notContainsi?: string;
977
- } | {
978
- $null?: boolean;
979
- } | {
980
- $notNull?: boolean;
981
- };
982
- $or?: {
983
- blocked?: string | number | {
984
- $eq?: string;
985
- } | {
986
- $eqi?: string;
987
- } | {
988
- $ne?: string;
989
- } | {
990
- $nei?: string;
991
- } | {
992
- $gt?: string;
993
- } | {
994
- $gte?: string;
995
- } | {
996
- $lt?: string;
997
- } | {
998
- $lte?: string;
999
- } | {
1000
- $startsWith?: string;
1001
- } | {
1002
- $startsWithi?: string;
1003
- } | {
1004
- $endsWith?: string;
1005
- } | {
1006
- $endsWithi?: string;
1007
- } | {
1008
- $contains?: string;
1009
- } | {
1010
- $containsi?: string;
1011
- } | {
1012
- $notContains?: string;
1013
- } | {
1014
- $notContainsi?: string;
1015
- } | {
1016
- $null?: boolean;
1017
- } | {
1018
- $notNull?: boolean;
1019
- };
1020
- blockedThread?: string | number | {
1021
- $eq?: string;
1022
- } | {
1023
- $eqi?: string;
1024
- } | {
1025
- $ne?: string;
1026
- } | {
1027
- $nei?: string;
1028
- } | {
1029
- $gt?: string;
1030
- } | {
1031
- $gte?: string;
1032
- } | {
1033
- $lt?: string;
1034
- } | {
1035
- $lte?: string;
1036
- } | {
1037
- $startsWith?: string;
1038
- } | {
1039
- $startsWithi?: string;
1040
- } | {
1041
- $endsWith?: string;
1042
- } | {
1043
- $endsWithi?: string;
1044
- } | {
1045
- $contains?: string;
1046
- } | {
1047
- $containsi?: string;
1048
- } | {
1049
- $notContains?: string;
1050
- } | {
1051
- $notContainsi?: string;
1052
- } | {
1053
- $null?: boolean;
1054
- } | {
1055
- $notNull?: boolean;
1056
- };
1057
- }[];
1058
- };
1059
- }, {
1060
- page?: string | number;
1061
- pageSize?: string | number;
1062
- _q?: string;
1063
- orderBy?: string;
1064
- filters?: {
1065
- removed?: string | number | {
1066
- $eq?: string;
1067
- } | {
1068
- $eqi?: string;
1069
- } | {
1070
- $ne?: string;
1071
- } | {
1072
- $nei?: string;
1073
- } | {
1074
- $gt?: string;
1075
- } | {
1076
- $gte?: string;
1077
- } | {
1078
- $lt?: string;
1079
- } | {
1080
- $lte?: string;
1081
- } | {
1082
- $startsWith?: string;
1083
- } | {
1084
- $startsWithi?: string;
1085
- } | {
1086
- $endsWith?: string;
1087
- } | {
1088
- $endsWithi?: string;
1089
- } | {
1090
- $contains?: string;
1091
- } | {
1092
- $containsi?: string;
1093
- } | {
1094
- $notContains?: string;
1095
- } | {
1096
- $notContainsi?: string;
1097
- } | {
1098
- $null?: string | boolean;
1099
- } | {
1100
- $notNull?: string | boolean;
1101
- };
1102
- approvalStatus?: string | number | {
1103
- $eq?: string;
1104
- } | {
1105
- $eqi?: string;
1106
- } | {
1107
- $ne?: string;
1108
- } | {
1109
- $nei?: string;
1110
- } | {
1111
- $gt?: string;
1112
- } | {
1113
- $gte?: string;
1114
- } | {
1115
- $lt?: string;
1116
- } | {
1117
- $lte?: string;
1118
- } | {
1119
- $startsWith?: string;
1120
- } | {
1121
- $startsWithi?: string;
1122
- } | {
1123
- $endsWith?: string;
1124
- } | {
1125
- $endsWithi?: string;
1126
- } | {
1127
- $contains?: string;
1128
- } | {
1129
- $containsi?: string;
1130
- } | {
1131
- $notContains?: string;
1132
- } | {
1133
- $notContainsi?: string;
1134
- } | {
1135
- $null?: string | boolean;
1136
- } | {
1137
- $notNull?: string | boolean;
1138
- };
1139
- $or?: {
1140
- blocked?: string | number | {
1141
- $eq?: string;
1142
- } | {
1143
- $eqi?: string;
1144
- } | {
1145
- $ne?: string;
1146
- } | {
1147
- $nei?: string;
1148
- } | {
1149
- $gt?: string;
1150
- } | {
1151
- $gte?: string;
1152
- } | {
1153
- $lt?: string;
1154
- } | {
1155
- $lte?: string;
1156
- } | {
1157
- $startsWith?: string;
1158
- } | {
1159
- $startsWithi?: string;
1160
- } | {
1161
- $endsWith?: string;
1162
- } | {
1163
- $endsWithi?: string;
1164
- } | {
1165
- $contains?: string;
1166
- } | {
1167
- $containsi?: string;
1168
- } | {
1169
- $notContains?: string;
1170
- } | {
1171
- $notContainsi?: string;
1172
- } | {
1173
- $null?: string | boolean;
1174
- } | {
1175
- $notNull?: string | boolean;
1176
- };
1177
- blockedThread?: string | number | {
1178
- $eq?: string;
1179
- } | {
1180
- $eqi?: string;
1181
- } | {
1182
- $ne?: string;
1183
- } | {
1184
- $nei?: string;
1185
- } | {
1186
- $gt?: string;
1187
- } | {
1188
- $gte?: string;
1189
- } | {
1190
- $lt?: string;
1191
- } | {
1192
- $lte?: string;
1193
- } | {
1194
- $startsWith?: string;
1195
- } | {
1196
- $startsWithi?: string;
1197
- } | {
1198
- $endsWith?: string;
1199
- } | {
1200
- $endsWithi?: string;
1201
- } | {
1202
- $contains?: string;
1203
- } | {
1204
- $containsi?: string;
1205
- } | {
1206
- $notContains?: string;
1207
- } | {
1208
- $notContainsi?: string;
1209
- } | {
1210
- $null?: string | boolean;
1211
- } | {
1212
- $notNull?: string | boolean;
1213
- };
1214
- }[];
1215
- };
1216
- }>;
160
+ }, z.core.$strip>;
1217
161
  export declare const getIdValidator: (params: unknown) => import("../../../utils/Either").Left<import("../../../utils/PluginError").default> | import("../../../utils/Either").Right<{
1218
162
  id?: number;
1219
163
  }>;
1220
164
  export type IdValidatorSchema = ExtractRightEither<ReturnType<typeof getIdValidator>>;
1221
165
  export declare const getCommentFindAllValidator: (query: unknown) => import("../../../utils/Either").Left<import("../../../utils/PluginError").default> | import("../../../utils/Either").Right<{
1222
- page?: number;
1223
- pageSize?: number;
1224
- _q?: string;
166
+ pageSize: number;
167
+ page: number;
1225
168
  orderBy?: string;
1226
169
  filters?: {
1227
170
  removed?: string | number | {
1228
- $eq?: string;
171
+ $eq: string;
1229
172
  } | {
1230
- $eqi?: string;
173
+ $eqi: string;
1231
174
  } | {
1232
- $ne?: string;
175
+ $ne: string;
1233
176
  } | {
1234
- $nei?: string;
177
+ $nei: string;
1235
178
  } | {
1236
- $gt?: string;
179
+ $gt: string;
1237
180
  } | {
1238
- $gte?: string;
181
+ $gte: string;
1239
182
  } | {
1240
- $lt?: string;
183
+ $lt: string;
1241
184
  } | {
1242
- $lte?: string;
185
+ $lte: string;
1243
186
  } | {
1244
- $startsWith?: string;
187
+ $startsWith: string;
1245
188
  } | {
1246
- $startsWithi?: string;
189
+ $startsWithi: string;
1247
190
  } | {
1248
- $endsWith?: string;
191
+ $endsWith: string;
1249
192
  } | {
1250
- $endsWithi?: string;
193
+ $endsWithi: string;
1251
194
  } | {
1252
- $contains?: string;
195
+ $contains: string;
1253
196
  } | {
1254
- $containsi?: string;
197
+ $containsi: string;
1255
198
  } | {
1256
- $notContains?: string;
199
+ $notContains: string;
1257
200
  } | {
1258
- $notContainsi?: string;
201
+ $notContainsi: string;
1259
202
  } | {
1260
203
  $null?: boolean;
1261
204
  } | {
1262
205
  $notNull?: boolean;
1263
206
  };
1264
207
  approvalStatus?: string | number | {
1265
- $eq?: string;
208
+ $eq: string;
1266
209
  } | {
1267
- $eqi?: string;
210
+ $eqi: string;
1268
211
  } | {
1269
- $ne?: string;
212
+ $ne: string;
1270
213
  } | {
1271
- $nei?: string;
214
+ $nei: string;
1272
215
  } | {
1273
- $gt?: string;
216
+ $gt: string;
1274
217
  } | {
1275
- $gte?: string;
218
+ $gte: string;
1276
219
  } | {
1277
- $lt?: string;
220
+ $lt: string;
1278
221
  } | {
1279
- $lte?: string;
222
+ $lte: string;
1280
223
  } | {
1281
- $startsWith?: string;
224
+ $startsWith: string;
1282
225
  } | {
1283
- $startsWithi?: string;
226
+ $startsWithi: string;
1284
227
  } | {
1285
- $endsWith?: string;
228
+ $endsWith: string;
1286
229
  } | {
1287
- $endsWithi?: string;
230
+ $endsWithi: string;
1288
231
  } | {
1289
- $contains?: string;
232
+ $contains: string;
1290
233
  } | {
1291
- $containsi?: string;
234
+ $containsi: string;
1292
235
  } | {
1293
- $notContains?: string;
236
+ $notContains: string;
1294
237
  } | {
1295
- $notContainsi?: string;
238
+ $notContainsi: string;
1296
239
  } | {
1297
240
  $null?: boolean;
1298
241
  } | {
@@ -1300,74 +243,74 @@ export declare const getCommentFindAllValidator: (query: unknown) => import("../
1300
243
  };
1301
244
  $or?: {
1302
245
  blocked?: string | number | {
1303
- $eq?: string;
246
+ $eq: string;
1304
247
  } | {
1305
- $eqi?: string;
248
+ $eqi: string;
1306
249
  } | {
1307
- $ne?: string;
250
+ $ne: string;
1308
251
  } | {
1309
- $nei?: string;
252
+ $nei: string;
1310
253
  } | {
1311
- $gt?: string;
254
+ $gt: string;
1312
255
  } | {
1313
- $gte?: string;
256
+ $gte: string;
1314
257
  } | {
1315
- $lt?: string;
258
+ $lt: string;
1316
259
  } | {
1317
- $lte?: string;
260
+ $lte: string;
1318
261
  } | {
1319
- $startsWith?: string;
262
+ $startsWith: string;
1320
263
  } | {
1321
- $startsWithi?: string;
264
+ $startsWithi: string;
1322
265
  } | {
1323
- $endsWith?: string;
266
+ $endsWith: string;
1324
267
  } | {
1325
- $endsWithi?: string;
268
+ $endsWithi: string;
1326
269
  } | {
1327
- $contains?: string;
270
+ $contains: string;
1328
271
  } | {
1329
- $containsi?: string;
272
+ $containsi: string;
1330
273
  } | {
1331
- $notContains?: string;
274
+ $notContains: string;
1332
275
  } | {
1333
- $notContainsi?: string;
276
+ $notContainsi: string;
1334
277
  } | {
1335
278
  $null?: boolean;
1336
279
  } | {
1337
280
  $notNull?: boolean;
1338
281
  };
1339
282
  blockedThread?: string | number | {
1340
- $eq?: string;
283
+ $eq: string;
1341
284
  } | {
1342
- $eqi?: string;
285
+ $eqi: string;
1343
286
  } | {
1344
- $ne?: string;
287
+ $ne: string;
1345
288
  } | {
1346
- $nei?: string;
289
+ $nei: string;
1347
290
  } | {
1348
- $gt?: string;
291
+ $gt: string;
1349
292
  } | {
1350
- $gte?: string;
293
+ $gte: string;
1351
294
  } | {
1352
- $lt?: string;
295
+ $lt: string;
1353
296
  } | {
1354
- $lte?: string;
297
+ $lte: string;
1355
298
  } | {
1356
- $startsWith?: string;
299
+ $startsWith: string;
1357
300
  } | {
1358
- $startsWithi?: string;
301
+ $startsWithi: string;
1359
302
  } | {
1360
- $endsWith?: string;
303
+ $endsWith: string;
1361
304
  } | {
1362
- $endsWithi?: string;
305
+ $endsWithi: string;
1363
306
  } | {
1364
- $contains?: string;
307
+ $contains: string;
1365
308
  } | {
1366
- $containsi?: string;
309
+ $containsi: string;
1367
310
  } | {
1368
- $notContains?: string;
311
+ $notContains: string;
1369
312
  } | {
1370
- $notContainsi?: string;
313
+ $notContainsi: string;
1371
314
  } | {
1372
315
  $null?: boolean;
1373
316
  } | {
@@ -1375,83 +318,83 @@ export declare const getCommentFindAllValidator: (query: unknown) => import("../
1375
318
  };
1376
319
  }[];
1377
320
  };
321
+ _q?: string;
1378
322
  }>;
1379
323
  export type CommentFindAllSchema = ExtractRightEither<ReturnType<typeof getCommentFindAllValidator>>;
1380
324
  export declare const getReportFindReportsValidator: (query: unknown) => import("../../../utils/Either").Left<import("../../../utils/PluginError").default> | import("../../../utils/Either").Right<{
1381
- page?: number;
1382
- pageSize?: number;
1383
- _q?: string;
325
+ pageSize: number;
326
+ page: number;
1384
327
  orderBy?: string;
1385
328
  filters?: {
1386
329
  removed?: string | number | {
1387
- $eq?: string;
330
+ $eq: string;
1388
331
  } | {
1389
- $eqi?: string;
332
+ $eqi: string;
1390
333
  } | {
1391
- $ne?: string;
334
+ $ne: string;
1392
335
  } | {
1393
- $nei?: string;
336
+ $nei: string;
1394
337
  } | {
1395
- $gt?: string;
338
+ $gt: string;
1396
339
  } | {
1397
- $gte?: string;
340
+ $gte: string;
1398
341
  } | {
1399
- $lt?: string;
342
+ $lt: string;
1400
343
  } | {
1401
- $lte?: string;
344
+ $lte: string;
1402
345
  } | {
1403
- $startsWith?: string;
346
+ $startsWith: string;
1404
347
  } | {
1405
- $startsWithi?: string;
348
+ $startsWithi: string;
1406
349
  } | {
1407
- $endsWith?: string;
350
+ $endsWith: string;
1408
351
  } | {
1409
- $endsWithi?: string;
352
+ $endsWithi: string;
1410
353
  } | {
1411
- $contains?: string;
354
+ $contains: string;
1412
355
  } | {
1413
- $containsi?: string;
356
+ $containsi: string;
1414
357
  } | {
1415
- $notContains?: string;
358
+ $notContains: string;
1416
359
  } | {
1417
- $notContainsi?: string;
360
+ $notContainsi: string;
1418
361
  } | {
1419
362
  $null?: boolean;
1420
363
  } | {
1421
364
  $notNull?: boolean;
1422
365
  };
1423
366
  approvalStatus?: string | number | {
1424
- $eq?: string;
367
+ $eq: string;
1425
368
  } | {
1426
- $eqi?: string;
369
+ $eqi: string;
1427
370
  } | {
1428
- $ne?: string;
371
+ $ne: string;
1429
372
  } | {
1430
- $nei?: string;
373
+ $nei: string;
1431
374
  } | {
1432
- $gt?: string;
375
+ $gt: string;
1433
376
  } | {
1434
- $gte?: string;
377
+ $gte: string;
1435
378
  } | {
1436
- $lt?: string;
379
+ $lt: string;
1437
380
  } | {
1438
- $lte?: string;
381
+ $lte: string;
1439
382
  } | {
1440
- $startsWith?: string;
383
+ $startsWith: string;
1441
384
  } | {
1442
- $startsWithi?: string;
385
+ $startsWithi: string;
1443
386
  } | {
1444
- $endsWith?: string;
387
+ $endsWith: string;
1445
388
  } | {
1446
- $endsWithi?: string;
389
+ $endsWithi: string;
1447
390
  } | {
1448
- $contains?: string;
391
+ $contains: string;
1449
392
  } | {
1450
- $containsi?: string;
393
+ $containsi: string;
1451
394
  } | {
1452
- $notContains?: string;
395
+ $notContains: string;
1453
396
  } | {
1454
- $notContainsi?: string;
397
+ $notContainsi: string;
1455
398
  } | {
1456
399
  $null?: boolean;
1457
400
  } | {
@@ -1459,74 +402,74 @@ export declare const getReportFindReportsValidator: (query: unknown) => import("
1459
402
  };
1460
403
  $or?: {
1461
404
  blocked?: string | number | {
1462
- $eq?: string;
405
+ $eq: string;
1463
406
  } | {
1464
- $eqi?: string;
407
+ $eqi: string;
1465
408
  } | {
1466
- $ne?: string;
409
+ $ne: string;
1467
410
  } | {
1468
- $nei?: string;
411
+ $nei: string;
1469
412
  } | {
1470
- $gt?: string;
413
+ $gt: string;
1471
414
  } | {
1472
- $gte?: string;
415
+ $gte: string;
1473
416
  } | {
1474
- $lt?: string;
417
+ $lt: string;
1475
418
  } | {
1476
- $lte?: string;
419
+ $lte: string;
1477
420
  } | {
1478
- $startsWith?: string;
421
+ $startsWith: string;
1479
422
  } | {
1480
- $startsWithi?: string;
423
+ $startsWithi: string;
1481
424
  } | {
1482
- $endsWith?: string;
425
+ $endsWith: string;
1483
426
  } | {
1484
- $endsWithi?: string;
427
+ $endsWithi: string;
1485
428
  } | {
1486
- $contains?: string;
429
+ $contains: string;
1487
430
  } | {
1488
- $containsi?: string;
431
+ $containsi: string;
1489
432
  } | {
1490
- $notContains?: string;
433
+ $notContains: string;
1491
434
  } | {
1492
- $notContainsi?: string;
435
+ $notContainsi: string;
1493
436
  } | {
1494
437
  $null?: boolean;
1495
438
  } | {
1496
439
  $notNull?: boolean;
1497
440
  };
1498
441
  blockedThread?: string | number | {
1499
- $eq?: string;
442
+ $eq: string;
1500
443
  } | {
1501
- $eqi?: string;
444
+ $eqi: string;
1502
445
  } | {
1503
- $ne?: string;
446
+ $ne: string;
1504
447
  } | {
1505
- $nei?: string;
448
+ $nei: string;
1506
449
  } | {
1507
- $gt?: string;
450
+ $gt: string;
1508
451
  } | {
1509
- $gte?: string;
452
+ $gte: string;
1510
453
  } | {
1511
- $lt?: string;
454
+ $lt: string;
1512
455
  } | {
1513
- $lte?: string;
456
+ $lte: string;
1514
457
  } | {
1515
- $startsWith?: string;
458
+ $startsWith: string;
1516
459
  } | {
1517
- $startsWithi?: string;
460
+ $startsWithi: string;
1518
461
  } | {
1519
- $endsWith?: string;
462
+ $endsWith: string;
1520
463
  } | {
1521
- $endsWithi?: string;
464
+ $endsWithi: string;
1522
465
  } | {
1523
- $contains?: string;
466
+ $contains: string;
1524
467
  } | {
1525
- $containsi?: string;
468
+ $containsi: string;
1526
469
  } | {
1527
- $notContains?: string;
470
+ $notContains: string;
1528
471
  } | {
1529
- $notContainsi?: string;
472
+ $notContainsi: string;
1530
473
  } | {
1531
474
  $null?: boolean;
1532
475
  } | {
@@ -1534,6 +477,7 @@ export declare const getReportFindReportsValidator: (query: unknown) => import("
1534
477
  };
1535
478
  }[];
1536
479
  };
480
+ _q?: string;
1537
481
  }>;
1538
482
  export type ReportFindReportsValidator = ExtractRightEither<ReturnType<typeof getReportFindReportsValidator>>;
1539
483
  export declare const getCommentFindOneValidator: (id: string | number, params: object) => import("../../../utils/Either").Left<import("../../../utils/PluginError").default> | import("../../../utils/Either").Right<{
@@ -1547,71 +491,39 @@ export declare const getCommentResolveAbuseReportValidator: (params: unknown) =>
1547
491
  }>;
1548
492
  export type CommentResolveAbuseReportValidatorSchema = ExtractRightEither<ReturnType<typeof getCommentResolveAbuseReportValidator>>;
1549
493
  export declare const getCommentResolveMultipleAbuseReportsValidator: (params: unknown) => import("../../../utils/Either").Left<import("../../../utils/PluginError").default> | import("../../../utils/Either").Right<{
494
+ reportIds: number[];
1550
495
  id?: number;
1551
- reportIds?: number[];
1552
496
  }>;
1553
497
  export type CommentResolveMultipleAbuseReportsValidatorSchema = ExtractRightEither<ReturnType<typeof getCommentResolveMultipleAbuseReportsValidator>>;
1554
498
  export declare const getReportsMultipleAbuseValidator: (params: unknown) => import("../../../utils/Either").Left<import("../../../utils/PluginError").default> | import("../../../utils/Either").Right<{
1555
- reportIds?: number[];
499
+ reportIds: number[];
1556
500
  }>;
1557
501
  export type ReportsMultipleAbuseValidator = ExtractRightEither<ReturnType<typeof getReportsMultipleAbuseValidator>>;
1558
502
  export declare const postCommentValidator: z.ZodObject<{
1559
- id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
503
+ id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
1560
504
  content: z.ZodString;
1561
505
  author: z.ZodObject<{
1562
- id: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
506
+ id: z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>;
1563
507
  email: z.ZodString;
1564
508
  lastname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1565
509
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1566
510
  firstname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1567
- }, "strip", z.ZodTypeAny, {
1568
- id?: string | number;
1569
- username?: string;
1570
- email?: string;
1571
- lastname?: string;
1572
- firstname?: string;
1573
- }, {
1574
- id?: string | number;
1575
- username?: string;
1576
- email?: string;
1577
- lastname?: string;
1578
- firstname?: string;
1579
- }>;
1580
- }, "strip", z.ZodTypeAny, {
1581
- id?: string | number;
1582
- content?: string;
1583
- author?: {
511
+ }, z.core.$strip>;
512
+ }, z.core.$strip>;
513
+ export declare const getCommentPostValidator: (params: unknown) => import("../../../utils/Either").Left<import("../../../utils/PluginError").default> | import("../../../utils/Either").Right<{
514
+ content: string;
515
+ author: {
516
+ email: string;
1584
517
  id?: string | number;
1585
- username?: string;
1586
- email?: string;
1587
518
  lastname?: string;
1588
- firstname?: string;
1589
- };
1590
- }, {
1591
- id?: string | number;
1592
- content?: string;
1593
- author?: {
1594
- id?: string | number;
1595
519
  username?: string;
1596
- email?: string;
1597
- lastname?: string;
1598
520
  firstname?: string;
1599
521
  };
1600
- }>;
1601
- export declare const getCommentPostValidator: (params: unknown) => import("../../../utils/Either").Left<import("../../../utils/PluginError").default> | import("../../../utils/Either").Right<{
1602
522
  id?: string | number;
1603
- content?: string;
1604
- author?: {
1605
- id?: string | number;
1606
- username?: string;
1607
- email?: string;
1608
- lastname?: string;
1609
- firstname?: string;
1610
- };
1611
523
  }>;
1612
524
  export type CommentPostValidatorSchema = z.infer<typeof postCommentValidator>;
1613
525
  export declare const getUpdateCommentValidator: (params: unknown) => import("../../../utils/Either").Left<import("../../../utils/PluginError").default> | import("../../../utils/Either").Right<{
526
+ content: string;
1614
527
  id?: string | number;
1615
- content?: string;
1616
528
  }>;
1617
529
  export type UpdateCommentValidatorSchema = ExtractRightEither<ReturnType<typeof getUpdateCommentValidator>>;