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,769 +1,125 @@
1
1
  import { z, ZodArray, ZodObject } from 'zod';
2
2
  import PluginError from '../utils/PluginError';
3
- export declare const equalValidators: z.ZodUnion<[z.ZodObject<{
3
+ export declare const equalValidators: z.ZodUnion<readonly [z.ZodObject<{
4
4
  $eq: z.ZodString;
5
- }, "strip", z.ZodTypeAny, {
6
- $eq?: string;
7
- }, {
8
- $eq?: string;
9
- }>, z.ZodObject<{
5
+ }, z.core.$strip>, z.ZodObject<{
10
6
  $eqi: z.ZodString;
11
- }, "strip", z.ZodTypeAny, {
12
- $eqi?: string;
13
- }, {
14
- $eqi?: string;
15
- }>]>;
16
- export declare const notEqualValidators: z.ZodUnion<[z.ZodObject<{
7
+ }, z.core.$strip>]>;
8
+ export declare const notEqualValidators: z.ZodUnion<readonly [z.ZodObject<{
17
9
  $ne: z.ZodString;
18
- }, "strip", z.ZodTypeAny, {
19
- $ne?: string;
20
- }, {
21
- $ne?: string;
22
- }>, z.ZodObject<{
10
+ }, z.core.$strip>, z.ZodObject<{
23
11
  $nei: z.ZodString;
24
- }, "strip", z.ZodTypeAny, {
25
- $nei?: string;
26
- }, {
27
- $nei?: string;
28
- }>]>;
29
- export declare const grantThenValidators: z.ZodUnion<[z.ZodObject<{
12
+ }, z.core.$strip>]>;
13
+ export declare const grantThenValidators: z.ZodUnion<readonly [z.ZodObject<{
30
14
  $gt: z.ZodString;
31
- }, "strip", z.ZodTypeAny, {
32
- $gt?: string;
33
- }, {
34
- $gt?: string;
35
- }>, z.ZodObject<{
15
+ }, z.core.$strip>, z.ZodObject<{
36
16
  $gte: z.ZodString;
37
- }, "strip", z.ZodTypeAny, {
38
- $gte?: string;
39
- }, {
40
- $gte?: string;
41
- }>]>;
42
- export declare const lessThenValidators: z.ZodUnion<[z.ZodObject<{
17
+ }, z.core.$strip>]>;
18
+ export declare const lessThenValidators: z.ZodUnion<readonly [z.ZodObject<{
43
19
  $lt: z.ZodString;
44
- }, "strip", z.ZodTypeAny, {
45
- $lt?: string;
46
- }, {
47
- $lt?: string;
48
- }>, z.ZodObject<{
20
+ }, z.core.$strip>, z.ZodObject<{
49
21
  $lte: z.ZodString;
50
- }, "strip", z.ZodTypeAny, {
51
- $lte?: string;
52
- }, {
53
- $lte?: string;
54
- }>]>;
55
- export declare const startWithValidators: z.ZodUnion<[z.ZodObject<{
22
+ }, z.core.$strip>]>;
23
+ export declare const startWithValidators: z.ZodUnion<readonly [z.ZodObject<{
56
24
  $startsWith: z.ZodString;
57
- }, "strip", z.ZodTypeAny, {
58
- $startsWith?: string;
59
- }, {
60
- $startsWith?: string;
61
- }>, z.ZodObject<{
25
+ }, z.core.$strip>, z.ZodObject<{
62
26
  $startsWithi: z.ZodString;
63
- }, "strip", z.ZodTypeAny, {
64
- $startsWithi?: string;
65
- }, {
66
- $startsWithi?: string;
67
- }>]>;
68
- export declare const endWithValidators: z.ZodUnion<[z.ZodObject<{
27
+ }, z.core.$strip>]>;
28
+ export declare const endWithValidators: 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
- }>]>;
81
- export declare const containsValidators: z.ZodUnion<[z.ZodObject<{
32
+ }, z.core.$strip>]>;
33
+ export declare const containsValidators: z.ZodUnion<readonly [z.ZodObject<{
82
34
  $contains: z.ZodString;
83
- }, "strip", z.ZodTypeAny, {
84
- $contains?: string;
85
- }, {
86
- $contains?: string;
87
- }>, z.ZodObject<{
35
+ }, z.core.$strip>, z.ZodObject<{
88
36
  $containsi: z.ZodString;
89
- }, "strip", z.ZodTypeAny, {
90
- $containsi?: string;
91
- }, {
92
- $containsi?: string;
93
- }>]>;
94
- export declare const notContainsValidators: z.ZodUnion<[z.ZodObject<{
37
+ }, z.core.$strip>]>;
38
+ export declare const notContainsValidators: z.ZodUnion<readonly [z.ZodObject<{
95
39
  $notContains: z.ZodString;
96
- }, "strip", z.ZodTypeAny, {
97
- $notContains?: string;
98
- }, {
99
- $notContains?: string;
100
- }>, z.ZodObject<{
40
+ }, z.core.$strip>, z.ZodObject<{
101
41
  $notContainsi: z.ZodString;
102
- }, "strip", z.ZodTypeAny, {
103
- $notContainsi?: string;
104
- }, {
105
- $notContainsi?: string;
106
- }>]>;
107
- export declare const stringToNumberValidator: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>;
108
- export declare const stringToBooleanValidator: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
42
+ }, z.core.$strip>]>;
43
+ export declare const stringToNumberValidator: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<number, string | number>>, z.ZodNumber>;
44
+ export declare const stringToBooleanValidator: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>, z.ZodTransform<boolean, string | boolean>>, z.ZodBoolean>;
109
45
  export declare const qOperatorValidator: z.ZodObject<{
110
46
  _q: z.ZodOptional<z.ZodString>;
111
- }, "strip", z.ZodTypeAny, {
112
- _q?: string;
113
- }, {
114
- _q?: string;
115
- }>;
47
+ }, z.core.$strip>;
116
48
  export declare const orderByValidator: z.ZodString;
117
- export declare const filtersValidator: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodUnion<[z.ZodObject<{
118
- $eq: z.ZodString;
119
- }, "strip", z.ZodTypeAny, {
120
- $eq?: string;
121
- }, {
122
- $eq?: string;
123
- }>, z.ZodObject<{
124
- $eqi: z.ZodString;
125
- }, "strip", z.ZodTypeAny, {
126
- $eqi?: string;
127
- }, {
128
- $eqi?: string;
129
- }>]>, z.ZodUnion<[z.ZodObject<{
130
- $ne: z.ZodString;
131
- }, "strip", z.ZodTypeAny, {
132
- $ne?: string;
133
- }, {
134
- $ne?: string;
135
- }>, z.ZodObject<{
136
- $nei: z.ZodString;
137
- }, "strip", z.ZodTypeAny, {
138
- $nei?: string;
139
- }, {
140
- $nei?: string;
141
- }>]>, z.ZodUnion<[z.ZodObject<{
142
- $gt: z.ZodString;
143
- }, "strip", z.ZodTypeAny, {
144
- $gt?: string;
145
- }, {
146
- $gt?: string;
147
- }>, z.ZodObject<{
148
- $gte: z.ZodString;
149
- }, "strip", z.ZodTypeAny, {
150
- $gte?: string;
151
- }, {
152
- $gte?: string;
153
- }>]>, z.ZodUnion<[z.ZodObject<{
154
- $lt: z.ZodString;
155
- }, "strip", z.ZodTypeAny, {
156
- $lt?: string;
157
- }, {
158
- $lt?: string;
159
- }>, z.ZodObject<{
160
- $lte: z.ZodString;
161
- }, "strip", z.ZodTypeAny, {
162
- $lte?: string;
163
- }, {
164
- $lte?: string;
165
- }>]>, z.ZodUnion<[z.ZodObject<{
166
- $startsWith: z.ZodString;
167
- }, "strip", z.ZodTypeAny, {
168
- $startsWith?: string;
169
- }, {
170
- $startsWith?: string;
171
- }>, z.ZodObject<{
172
- $startsWithi: z.ZodString;
173
- }, "strip", z.ZodTypeAny, {
174
- $startsWithi?: string;
175
- }, {
176
- $startsWithi?: string;
177
- }>]>, z.ZodUnion<[z.ZodObject<{
178
- $endsWith: z.ZodString;
179
- }, "strip", z.ZodTypeAny, {
180
- $endsWith?: string;
181
- }, {
182
- $endsWith?: string;
183
- }>, z.ZodObject<{
184
- $endsWithi: z.ZodString;
185
- }, "strip", z.ZodTypeAny, {
186
- $endsWithi?: string;
187
- }, {
188
- $endsWithi?: string;
189
- }>]>, z.ZodUnion<[z.ZodObject<{
190
- $contains: z.ZodString;
191
- }, "strip", z.ZodTypeAny, {
192
- $contains?: string;
193
- }, {
194
- $contains?: string;
195
- }>, z.ZodObject<{
196
- $containsi: z.ZodString;
197
- }, "strip", z.ZodTypeAny, {
198
- $containsi?: string;
199
- }, {
200
- $containsi?: string;
201
- }>]>, z.ZodUnion<[z.ZodObject<{
202
- $notContains: z.ZodString;
203
- }, "strip", z.ZodTypeAny, {
204
- $notContains?: string;
205
- }, {
206
- $notContains?: string;
207
- }>, z.ZodObject<{
208
- $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
- export declare const getFiltersOperators: <T extends Record<string, boolean>>(dictionary: T) => z.ZodObject<{ [key in keyof T]: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodUnion<[z.ZodObject<{
49
+ export declare const filtersValidator: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodUnion<readonly [z.ZodObject<{
227
50
  $eq: z.ZodString;
228
- }, "strip", z.ZodTypeAny, {
229
- $eq?: string;
230
- }, {
231
- $eq?: string;
232
- }>, z.ZodObject<{
51
+ }, z.core.$strip>, z.ZodObject<{
233
52
  $eqi: z.ZodString;
234
- }, "strip", z.ZodTypeAny, {
235
- $eqi?: string;
236
- }, {
237
- $eqi?: string;
238
- }>]>, z.ZodUnion<[z.ZodObject<{
53
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
239
54
  $ne: z.ZodString;
240
- }, "strip", z.ZodTypeAny, {
241
- $ne?: string;
242
- }, {
243
- $ne?: string;
244
- }>, z.ZodObject<{
55
+ }, z.core.$strip>, z.ZodObject<{
245
56
  $nei: z.ZodString;
246
- }, "strip", z.ZodTypeAny, {
247
- $nei?: string;
248
- }, {
249
- $nei?: string;
250
- }>]>, z.ZodUnion<[z.ZodObject<{
57
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
251
58
  $gt: z.ZodString;
252
- }, "strip", z.ZodTypeAny, {
253
- $gt?: string;
254
- }, {
255
- $gt?: string;
256
- }>, z.ZodObject<{
59
+ }, z.core.$strip>, z.ZodObject<{
257
60
  $gte: z.ZodString;
258
- }, "strip", z.ZodTypeAny, {
259
- $gte?: string;
260
- }, {
261
- $gte?: string;
262
- }>]>, z.ZodUnion<[z.ZodObject<{
61
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
263
62
  $lt: z.ZodString;
264
- }, "strip", z.ZodTypeAny, {
265
- $lt?: string;
266
- }, {
267
- $lt?: string;
268
- }>, z.ZodObject<{
63
+ }, z.core.$strip>, z.ZodObject<{
269
64
  $lte: z.ZodString;
270
- }, "strip", z.ZodTypeAny, {
271
- $lte?: string;
272
- }, {
273
- $lte?: string;
274
- }>]>, z.ZodUnion<[z.ZodObject<{
65
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
275
66
  $startsWith: z.ZodString;
276
- }, "strip", z.ZodTypeAny, {
277
- $startsWith?: string;
278
- }, {
279
- $startsWith?: string;
280
- }>, z.ZodObject<{
67
+ }, z.core.$strip>, z.ZodObject<{
281
68
  $startsWithi: z.ZodString;
282
- }, "strip", z.ZodTypeAny, {
283
- $startsWithi?: string;
284
- }, {
285
- $startsWithi?: string;
286
- }>]>, z.ZodUnion<[z.ZodObject<{
69
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
287
70
  $endsWith: z.ZodString;
288
- }, "strip", z.ZodTypeAny, {
289
- $endsWith?: string;
290
- }, {
291
- $endsWith?: string;
292
- }>, z.ZodObject<{
71
+ }, z.core.$strip>, z.ZodObject<{
293
72
  $endsWithi: z.ZodString;
294
- }, "strip", z.ZodTypeAny, {
295
- $endsWithi?: string;
296
- }, {
297
- $endsWithi?: string;
298
- }>]>, z.ZodUnion<[z.ZodObject<{
73
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
299
74
  $contains: z.ZodString;
300
- }, "strip", z.ZodTypeAny, {
301
- $contains?: string;
302
- }, {
303
- $contains?: string;
304
- }>, z.ZodObject<{
75
+ }, z.core.$strip>, z.ZodObject<{
305
76
  $containsi: z.ZodString;
306
- }, "strip", z.ZodTypeAny, {
307
- $containsi?: string;
308
- }, {
309
- $containsi?: string;
310
- }>]>, z.ZodUnion<[z.ZodObject<{
77
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
311
78
  $notContains: z.ZodString;
312
- }, "strip", z.ZodTypeAny, {
313
- $notContains?: string;
314
- }, {
315
- $notContains?: string;
316
- }>, z.ZodObject<{
79
+ }, z.core.$strip>, z.ZodObject<{
317
80
  $notContainsi: z.ZodString;
318
- }, "strip", z.ZodTypeAny, {
319
- $notContainsi?: string;
320
- }, {
321
- $notContainsi?: string;
322
- }>]>, z.ZodObject<{
323
- $null: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
324
- }, "strip", z.ZodTypeAny, {
325
- $null?: boolean;
326
- }, {
327
- $null?: string | boolean;
328
- }>, z.ZodObject<{
329
- $notNull: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
330
- }, "strip", z.ZodTypeAny, {
331
- $notNull?: boolean;
332
- }, {
333
- $notNull?: string | boolean;
334
- }>]>; }, z.UnknownKeysParam, z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{ [key in keyof T]: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodUnion<[z.ZodObject<{
81
+ }, z.core.$strip>]>, z.ZodObject<{
82
+ $null: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>, z.ZodTransform<boolean, string | boolean>>, z.ZodBoolean>;
83
+ }, z.core.$strip>, z.ZodObject<{
84
+ $notNull: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>, z.ZodTransform<boolean, string | boolean>>, z.ZodBoolean>;
85
+ }, z.core.$strip>]>;
86
+ export declare const getFiltersOperators: <T extends Record<string, boolean>>(dictionary: T) => z.ZodObject<{ [key in keyof T]: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodUnion<readonly [z.ZodObject<{
335
87
  $eq: z.ZodString;
336
- }, "strip", z.ZodTypeAny, {
337
- $eq?: string;
338
- }, {
339
- $eq?: string;
340
- }>, z.ZodObject<{
88
+ }, z.core.$strip>, z.ZodObject<{
341
89
  $eqi: z.ZodString;
342
- }, "strip", z.ZodTypeAny, {
343
- $eqi?: string;
344
- }, {
345
- $eqi?: string;
346
- }>]>, z.ZodUnion<[z.ZodObject<{
90
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
347
91
  $ne: z.ZodString;
348
- }, "strip", z.ZodTypeAny, {
349
- $ne?: string;
350
- }, {
351
- $ne?: string;
352
- }>, z.ZodObject<{
92
+ }, z.core.$strip>, z.ZodObject<{
353
93
  $nei: z.ZodString;
354
- }, "strip", z.ZodTypeAny, {
355
- $nei?: string;
356
- }, {
357
- $nei?: string;
358
- }>]>, z.ZodUnion<[z.ZodObject<{
94
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
359
95
  $gt: z.ZodString;
360
- }, "strip", z.ZodTypeAny, {
361
- $gt?: string;
362
- }, {
363
- $gt?: string;
364
- }>, z.ZodObject<{
96
+ }, z.core.$strip>, z.ZodObject<{
365
97
  $gte: z.ZodString;
366
- }, "strip", z.ZodTypeAny, {
367
- $gte?: string;
368
- }, {
369
- $gte?: string;
370
- }>]>, z.ZodUnion<[z.ZodObject<{
98
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
371
99
  $lt: z.ZodString;
372
- }, "strip", z.ZodTypeAny, {
373
- $lt?: string;
374
- }, {
375
- $lt?: string;
376
- }>, z.ZodObject<{
100
+ }, z.core.$strip>, z.ZodObject<{
377
101
  $lte: z.ZodString;
378
- }, "strip", z.ZodTypeAny, {
379
- $lte?: string;
380
- }, {
381
- $lte?: string;
382
- }>]>, z.ZodUnion<[z.ZodObject<{
102
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
383
103
  $startsWith: z.ZodString;
384
- }, "strip", z.ZodTypeAny, {
385
- $startsWith?: string;
386
- }, {
387
- $startsWith?: string;
388
- }>, z.ZodObject<{
104
+ }, z.core.$strip>, z.ZodObject<{
389
105
  $startsWithi: z.ZodString;
390
- }, "strip", z.ZodTypeAny, {
391
- $startsWithi?: string;
392
- }, {
393
- $startsWithi?: string;
394
- }>]>, z.ZodUnion<[z.ZodObject<{
106
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
395
107
  $endsWith: z.ZodString;
396
- }, "strip", z.ZodTypeAny, {
397
- $endsWith?: string;
398
- }, {
399
- $endsWith?: string;
400
- }>, z.ZodObject<{
108
+ }, z.core.$strip>, z.ZodObject<{
401
109
  $endsWithi: z.ZodString;
402
- }, "strip", z.ZodTypeAny, {
403
- $endsWithi?: string;
404
- }, {
405
- $endsWithi?: string;
406
- }>]>, z.ZodUnion<[z.ZodObject<{
110
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
407
111
  $contains: z.ZodString;
408
- }, "strip", z.ZodTypeAny, {
409
- $contains?: string;
410
- }, {
411
- $contains?: string;
412
- }>, z.ZodObject<{
112
+ }, z.core.$strip>, z.ZodObject<{
413
113
  $containsi: z.ZodString;
414
- }, "strip", z.ZodTypeAny, {
415
- $containsi?: string;
416
- }, {
417
- $containsi?: string;
418
- }>]>, z.ZodUnion<[z.ZodObject<{
114
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
419
115
  $notContains: z.ZodString;
420
- }, "strip", z.ZodTypeAny, {
421
- $notContains?: string;
422
- }, {
423
- $notContains?: string;
424
- }>, z.ZodObject<{
116
+ }, z.core.$strip>, z.ZodObject<{
425
117
  $notContainsi: z.ZodString;
426
- }, "strip", z.ZodTypeAny, {
427
- $notContainsi?: string;
428
- }, {
429
- $notContainsi?: string;
430
- }>]>, z.ZodObject<{
431
- $null: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
432
- }, "strip", z.ZodTypeAny, {
433
- $null?: boolean;
434
- }, {
435
- $null?: string | boolean;
436
- }>, z.ZodObject<{
437
- $notNull: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
438
- }, "strip", z.ZodTypeAny, {
439
- $notNull?: boolean;
440
- }, {
441
- $notNull?: string | boolean;
442
- }>]>; }>, any> extends infer T_1 ? { [k in keyof T_1]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{ [key in keyof T]: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodUnion<[z.ZodObject<{
443
- $eq: z.ZodString;
444
- }, "strip", z.ZodTypeAny, {
445
- $eq?: string;
446
- }, {
447
- $eq?: string;
448
- }>, z.ZodObject<{
449
- $eqi: z.ZodString;
450
- }, "strip", z.ZodTypeAny, {
451
- $eqi?: string;
452
- }, {
453
- $eqi?: string;
454
- }>]>, z.ZodUnion<[z.ZodObject<{
455
- $ne: z.ZodString;
456
- }, "strip", z.ZodTypeAny, {
457
- $ne?: string;
458
- }, {
459
- $ne?: string;
460
- }>, z.ZodObject<{
461
- $nei: z.ZodString;
462
- }, "strip", z.ZodTypeAny, {
463
- $nei?: string;
464
- }, {
465
- $nei?: string;
466
- }>]>, z.ZodUnion<[z.ZodObject<{
467
- $gt: z.ZodString;
468
- }, "strip", z.ZodTypeAny, {
469
- $gt?: string;
470
- }, {
471
- $gt?: string;
472
- }>, z.ZodObject<{
473
- $gte: z.ZodString;
474
- }, "strip", z.ZodTypeAny, {
475
- $gte?: string;
476
- }, {
477
- $gte?: string;
478
- }>]>, z.ZodUnion<[z.ZodObject<{
479
- $lt: z.ZodString;
480
- }, "strip", z.ZodTypeAny, {
481
- $lt?: string;
482
- }, {
483
- $lt?: string;
484
- }>, z.ZodObject<{
485
- $lte: z.ZodString;
486
- }, "strip", z.ZodTypeAny, {
487
- $lte?: string;
488
- }, {
489
- $lte?: string;
490
- }>]>, z.ZodUnion<[z.ZodObject<{
491
- $startsWith: z.ZodString;
492
- }, "strip", z.ZodTypeAny, {
493
- $startsWith?: string;
494
- }, {
495
- $startsWith?: string;
496
- }>, z.ZodObject<{
497
- $startsWithi: z.ZodString;
498
- }, "strip", z.ZodTypeAny, {
499
- $startsWithi?: string;
500
- }, {
501
- $startsWithi?: string;
502
- }>]>, z.ZodUnion<[z.ZodObject<{
503
- $endsWith: z.ZodString;
504
- }, "strip", z.ZodTypeAny, {
505
- $endsWith?: string;
506
- }, {
507
- $endsWith?: string;
508
- }>, z.ZodObject<{
509
- $endsWithi: z.ZodString;
510
- }, "strip", z.ZodTypeAny, {
511
- $endsWithi?: string;
512
- }, {
513
- $endsWithi?: string;
514
- }>]>, z.ZodUnion<[z.ZodObject<{
515
- $contains: z.ZodString;
516
- }, "strip", z.ZodTypeAny, {
517
- $contains?: string;
518
- }, {
519
- $contains?: string;
520
- }>, z.ZodObject<{
521
- $containsi: z.ZodString;
522
- }, "strip", z.ZodTypeAny, {
523
- $containsi?: string;
524
- }, {
525
- $containsi?: string;
526
- }>]>, z.ZodUnion<[z.ZodObject<{
527
- $notContains: z.ZodString;
528
- }, "strip", z.ZodTypeAny, {
529
- $notContains?: string;
530
- }, {
531
- $notContains?: string;
532
- }>, z.ZodObject<{
533
- $notContainsi: z.ZodString;
534
- }, "strip", z.ZodTypeAny, {
535
- $notContainsi?: string;
536
- }, {
537
- $notContainsi?: string;
538
- }>]>, z.ZodObject<{
539
- $null: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
540
- }, "strip", z.ZodTypeAny, {
541
- $null?: boolean;
542
- }, {
543
- $null?: string | boolean;
544
- }>, z.ZodObject<{
545
- $notNull: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
546
- }, "strip", z.ZodTypeAny, {
547
- $notNull?: boolean;
548
- }, {
549
- $notNull?: string | boolean;
550
- }>]>; }>, any>[k]; } : never, z.baseObjectInputType<{ [key in keyof T]: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodUnion<[z.ZodObject<{
551
- $eq: z.ZodString;
552
- }, "strip", z.ZodTypeAny, {
553
- $eq?: string;
554
- }, {
555
- $eq?: string;
556
- }>, z.ZodObject<{
557
- $eqi: z.ZodString;
558
- }, "strip", z.ZodTypeAny, {
559
- $eqi?: string;
560
- }, {
561
- $eqi?: string;
562
- }>]>, z.ZodUnion<[z.ZodObject<{
563
- $ne: z.ZodString;
564
- }, "strip", z.ZodTypeAny, {
565
- $ne?: string;
566
- }, {
567
- $ne?: string;
568
- }>, z.ZodObject<{
569
- $nei: z.ZodString;
570
- }, "strip", z.ZodTypeAny, {
571
- $nei?: string;
572
- }, {
573
- $nei?: string;
574
- }>]>, z.ZodUnion<[z.ZodObject<{
575
- $gt: z.ZodString;
576
- }, "strip", z.ZodTypeAny, {
577
- $gt?: string;
578
- }, {
579
- $gt?: string;
580
- }>, z.ZodObject<{
581
- $gte: z.ZodString;
582
- }, "strip", z.ZodTypeAny, {
583
- $gte?: string;
584
- }, {
585
- $gte?: string;
586
- }>]>, z.ZodUnion<[z.ZodObject<{
587
- $lt: z.ZodString;
588
- }, "strip", z.ZodTypeAny, {
589
- $lt?: string;
590
- }, {
591
- $lt?: string;
592
- }>, z.ZodObject<{
593
- $lte: z.ZodString;
594
- }, "strip", z.ZodTypeAny, {
595
- $lte?: string;
596
- }, {
597
- $lte?: string;
598
- }>]>, z.ZodUnion<[z.ZodObject<{
599
- $startsWith: z.ZodString;
600
- }, "strip", z.ZodTypeAny, {
601
- $startsWith?: string;
602
- }, {
603
- $startsWith?: string;
604
- }>, z.ZodObject<{
605
- $startsWithi: z.ZodString;
606
- }, "strip", z.ZodTypeAny, {
607
- $startsWithi?: string;
608
- }, {
609
- $startsWithi?: string;
610
- }>]>, z.ZodUnion<[z.ZodObject<{
611
- $endsWith: z.ZodString;
612
- }, "strip", z.ZodTypeAny, {
613
- $endsWith?: string;
614
- }, {
615
- $endsWith?: string;
616
- }>, z.ZodObject<{
617
- $endsWithi: z.ZodString;
618
- }, "strip", z.ZodTypeAny, {
619
- $endsWithi?: string;
620
- }, {
621
- $endsWithi?: string;
622
- }>]>, z.ZodUnion<[z.ZodObject<{
623
- $contains: z.ZodString;
624
- }, "strip", z.ZodTypeAny, {
625
- $contains?: string;
626
- }, {
627
- $contains?: string;
628
- }>, z.ZodObject<{
629
- $containsi: z.ZodString;
630
- }, "strip", z.ZodTypeAny, {
631
- $containsi?: string;
632
- }, {
633
- $containsi?: string;
634
- }>]>, z.ZodUnion<[z.ZodObject<{
635
- $notContains: z.ZodString;
636
- }, "strip", z.ZodTypeAny, {
637
- $notContains?: string;
638
- }, {
639
- $notContains?: string;
640
- }>, z.ZodObject<{
641
- $notContainsi: z.ZodString;
642
- }, "strip", z.ZodTypeAny, {
643
- $notContainsi?: string;
644
- }, {
645
- $notContainsi?: string;
646
- }>]>, z.ZodObject<{
647
- $null: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
648
- }, "strip", z.ZodTypeAny, {
649
- $null?: boolean;
650
- }, {
651
- $null?: string | boolean;
652
- }>, z.ZodObject<{
653
- $notNull: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
654
- }, "strip", z.ZodTypeAny, {
655
- $notNull?: boolean;
656
- }, {
657
- $notNull?: string | boolean;
658
- }>]>; }> extends infer T_2 ? { [k_1 in keyof T_2]: z.baseObjectInputType<{ [key in keyof T]: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodUnion<[z.ZodObject<{
659
- $eq: z.ZodString;
660
- }, "strip", z.ZodTypeAny, {
661
- $eq?: string;
662
- }, {
663
- $eq?: string;
664
- }>, z.ZodObject<{
665
- $eqi: z.ZodString;
666
- }, "strip", z.ZodTypeAny, {
667
- $eqi?: string;
668
- }, {
669
- $eqi?: string;
670
- }>]>, z.ZodUnion<[z.ZodObject<{
671
- $ne: z.ZodString;
672
- }, "strip", z.ZodTypeAny, {
673
- $ne?: string;
674
- }, {
675
- $ne?: string;
676
- }>, z.ZodObject<{
677
- $nei: z.ZodString;
678
- }, "strip", z.ZodTypeAny, {
679
- $nei?: string;
680
- }, {
681
- $nei?: string;
682
- }>]>, z.ZodUnion<[z.ZodObject<{
683
- $gt: z.ZodString;
684
- }, "strip", z.ZodTypeAny, {
685
- $gt?: string;
686
- }, {
687
- $gt?: string;
688
- }>, z.ZodObject<{
689
- $gte: z.ZodString;
690
- }, "strip", z.ZodTypeAny, {
691
- $gte?: string;
692
- }, {
693
- $gte?: string;
694
- }>]>, z.ZodUnion<[z.ZodObject<{
695
- $lt: z.ZodString;
696
- }, "strip", z.ZodTypeAny, {
697
- $lt?: string;
698
- }, {
699
- $lt?: string;
700
- }>, z.ZodObject<{
701
- $lte: z.ZodString;
702
- }, "strip", z.ZodTypeAny, {
703
- $lte?: string;
704
- }, {
705
- $lte?: string;
706
- }>]>, z.ZodUnion<[z.ZodObject<{
707
- $startsWith: z.ZodString;
708
- }, "strip", z.ZodTypeAny, {
709
- $startsWith?: string;
710
- }, {
711
- $startsWith?: string;
712
- }>, z.ZodObject<{
713
- $startsWithi: z.ZodString;
714
- }, "strip", z.ZodTypeAny, {
715
- $startsWithi?: string;
716
- }, {
717
- $startsWithi?: string;
718
- }>]>, z.ZodUnion<[z.ZodObject<{
719
- $endsWith: z.ZodString;
720
- }, "strip", z.ZodTypeAny, {
721
- $endsWith?: string;
722
- }, {
723
- $endsWith?: string;
724
- }>, z.ZodObject<{
725
- $endsWithi: z.ZodString;
726
- }, "strip", z.ZodTypeAny, {
727
- $endsWithi?: string;
728
- }, {
729
- $endsWithi?: string;
730
- }>]>, z.ZodUnion<[z.ZodObject<{
731
- $contains: z.ZodString;
732
- }, "strip", z.ZodTypeAny, {
733
- $contains?: string;
734
- }, {
735
- $contains?: string;
736
- }>, z.ZodObject<{
737
- $containsi: z.ZodString;
738
- }, "strip", z.ZodTypeAny, {
739
- $containsi?: string;
740
- }, {
741
- $containsi?: string;
742
- }>]>, z.ZodUnion<[z.ZodObject<{
743
- $notContains: z.ZodString;
744
- }, "strip", z.ZodTypeAny, {
745
- $notContains?: string;
746
- }, {
747
- $notContains?: string;
748
- }>, z.ZodObject<{
749
- $notContainsi: z.ZodString;
750
- }, "strip", z.ZodTypeAny, {
751
- $notContainsi?: string;
752
- }, {
753
- $notContainsi?: string;
754
- }>]>, z.ZodObject<{
755
- $null: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
756
- }, "strip", z.ZodTypeAny, {
757
- $null?: boolean;
758
- }, {
759
- $null?: string | boolean;
760
- }>, z.ZodObject<{
761
- $notNull: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
762
- }, "strip", z.ZodTypeAny, {
763
- $notNull?: boolean;
764
- }, {
765
- $notNull?: string | boolean;
766
- }>]>; }>[k_1]; } : never>;
118
+ }, z.core.$strip>]>, z.ZodObject<{
119
+ $null: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>, z.ZodTransform<boolean, string | boolean>>, z.ZodBoolean>;
120
+ }, z.core.$strip>, z.ZodObject<{
121
+ $notNull: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>, z.ZodTransform<boolean, string | boolean>>, z.ZodBoolean>;
122
+ }, z.core.$strip>]>; }, z.core.$strip>;
767
123
  export declare const AVAILABLE_OPERATORS: {
768
124
  readonly single: "single";
769
125
  readonly array: "array";
@@ -773,1238 +129,171 @@ type Result<T extends Record<string, keyof typeof AVAILABLE_OPERATORS>> = ZodObj
773
129
  }>;
774
130
  export declare const getStringToNumberValidator: <T extends Record<string, "array" | "single">>(dictionary: T) => Result<T>;
775
131
  export declare const queryPaginationSchema: z.ZodObject<{
776
- pageSize: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>;
777
- page: z.ZodDefault<z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, z.ZodNumber>>;
778
- } & {
132
+ pageSize: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<number, string | number>>, z.ZodNumber>>;
133
+ page: z.ZodDefault<z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>, z.ZodTransform<number, string | number>>, z.ZodNumber>>;
779
134
  _q: z.ZodOptional<z.ZodString>;
780
- } & {
781
135
  orderBy: z.ZodNullable<z.ZodOptional<z.ZodString>>;
782
- } & {
783
136
  filters: z.ZodOptional<z.ZodObject<{
784
- removed: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodUnion<[z.ZodObject<{
137
+ removed: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodUnion<readonly [z.ZodObject<{
785
138
  $eq: z.ZodString;
786
- }, "strip", z.ZodTypeAny, {
787
- $eq?: string;
788
- }, {
789
- $eq?: string;
790
- }>, z.ZodObject<{
139
+ }, z.core.$strip>, z.ZodObject<{
791
140
  $eqi: z.ZodString;
792
- }, "strip", z.ZodTypeAny, {
793
- $eqi?: string;
794
- }, {
795
- $eqi?: string;
796
- }>]>, z.ZodUnion<[z.ZodObject<{
141
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
797
142
  $ne: z.ZodString;
798
- }, "strip", z.ZodTypeAny, {
799
- $ne?: string;
800
- }, {
801
- $ne?: string;
802
- }>, z.ZodObject<{
143
+ }, z.core.$strip>, z.ZodObject<{
803
144
  $nei: z.ZodString;
804
- }, "strip", z.ZodTypeAny, {
805
- $nei?: string;
806
- }, {
807
- $nei?: string;
808
- }>]>, z.ZodUnion<[z.ZodObject<{
145
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
809
146
  $gt: z.ZodString;
810
- }, "strip", z.ZodTypeAny, {
811
- $gt?: string;
812
- }, {
813
- $gt?: string;
814
- }>, z.ZodObject<{
147
+ }, z.core.$strip>, z.ZodObject<{
815
148
  $gte: z.ZodString;
816
- }, "strip", z.ZodTypeAny, {
817
- $gte?: string;
818
- }, {
819
- $gte?: string;
820
- }>]>, z.ZodUnion<[z.ZodObject<{
149
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
821
150
  $lt: z.ZodString;
822
- }, "strip", z.ZodTypeAny, {
823
- $lt?: string;
824
- }, {
825
- $lt?: string;
826
- }>, z.ZodObject<{
151
+ }, z.core.$strip>, z.ZodObject<{
827
152
  $lte: z.ZodString;
828
- }, "strip", z.ZodTypeAny, {
829
- $lte?: string;
830
- }, {
831
- $lte?: string;
832
- }>]>, z.ZodUnion<[z.ZodObject<{
153
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
833
154
  $startsWith: z.ZodString;
834
- }, "strip", z.ZodTypeAny, {
835
- $startsWith?: string;
836
- }, {
837
- $startsWith?: string;
838
- }>, z.ZodObject<{
155
+ }, z.core.$strip>, z.ZodObject<{
839
156
  $startsWithi: z.ZodString;
840
- }, "strip", z.ZodTypeAny, {
841
- $startsWithi?: string;
842
- }, {
843
- $startsWithi?: string;
844
- }>]>, z.ZodUnion<[z.ZodObject<{
157
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
845
158
  $endsWith: z.ZodString;
846
- }, "strip", z.ZodTypeAny, {
847
- $endsWith?: string;
848
- }, {
849
- $endsWith?: string;
850
- }>, z.ZodObject<{
159
+ }, z.core.$strip>, z.ZodObject<{
851
160
  $endsWithi: z.ZodString;
852
- }, "strip", z.ZodTypeAny, {
853
- $endsWithi?: string;
854
- }, {
855
- $endsWithi?: string;
856
- }>]>, z.ZodUnion<[z.ZodObject<{
161
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
857
162
  $contains: z.ZodString;
858
- }, "strip", z.ZodTypeAny, {
859
- $contains?: string;
860
- }, {
861
- $contains?: string;
862
- }>, z.ZodObject<{
163
+ }, z.core.$strip>, z.ZodObject<{
863
164
  $containsi: z.ZodString;
864
- }, "strip", z.ZodTypeAny, {
865
- $containsi?: string;
866
- }, {
867
- $containsi?: string;
868
- }>]>, z.ZodUnion<[z.ZodObject<{
165
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
869
166
  $notContains: z.ZodString;
870
- }, "strip", z.ZodTypeAny, {
871
- $notContains?: string;
872
- }, {
873
- $notContains?: string;
874
- }>, z.ZodObject<{
167
+ }, z.core.$strip>, z.ZodObject<{
875
168
  $notContainsi: z.ZodString;
876
- }, "strip", z.ZodTypeAny, {
877
- $notContainsi?: string;
878
- }, {
879
- $notContainsi?: string;
880
- }>]>, z.ZodObject<{
881
- $null: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
882
- }, "strip", z.ZodTypeAny, {
883
- $null?: boolean;
884
- }, {
885
- $null?: string | boolean;
886
- }>, z.ZodObject<{
887
- $notNull: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
888
- }, "strip", z.ZodTypeAny, {
889
- $notNull?: boolean;
890
- }, {
891
- $notNull?: string | boolean;
892
- }>]>;
893
- approvalStatus: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodUnion<[z.ZodObject<{
169
+ }, z.core.$strip>]>, z.ZodObject<{
170
+ $null: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>, z.ZodTransform<boolean, string | boolean>>, z.ZodBoolean>;
171
+ }, z.core.$strip>, z.ZodObject<{
172
+ $notNull: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>, z.ZodTransform<boolean, string | boolean>>, z.ZodBoolean>;
173
+ }, z.core.$strip>]>;
174
+ approvalStatus: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodUnion<readonly [z.ZodObject<{
894
175
  $eq: z.ZodString;
895
- }, "strip", z.ZodTypeAny, {
896
- $eq?: string;
897
- }, {
898
- $eq?: string;
899
- }>, z.ZodObject<{
176
+ }, z.core.$strip>, z.ZodObject<{
900
177
  $eqi: z.ZodString;
901
- }, "strip", z.ZodTypeAny, {
902
- $eqi?: string;
903
- }, {
904
- $eqi?: string;
905
- }>]>, z.ZodUnion<[z.ZodObject<{
178
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
906
179
  $ne: z.ZodString;
907
- }, "strip", z.ZodTypeAny, {
908
- $ne?: string;
909
- }, {
910
- $ne?: string;
911
- }>, z.ZodObject<{
180
+ }, z.core.$strip>, z.ZodObject<{
912
181
  $nei: z.ZodString;
913
- }, "strip", z.ZodTypeAny, {
914
- $nei?: string;
915
- }, {
916
- $nei?: string;
917
- }>]>, z.ZodUnion<[z.ZodObject<{
182
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
918
183
  $gt: z.ZodString;
919
- }, "strip", z.ZodTypeAny, {
920
- $gt?: string;
921
- }, {
922
- $gt?: string;
923
- }>, z.ZodObject<{
184
+ }, z.core.$strip>, z.ZodObject<{
924
185
  $gte: z.ZodString;
925
- }, "strip", z.ZodTypeAny, {
926
- $gte?: string;
927
- }, {
928
- $gte?: string;
929
- }>]>, z.ZodUnion<[z.ZodObject<{
186
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
930
187
  $lt: z.ZodString;
931
- }, "strip", z.ZodTypeAny, {
932
- $lt?: string;
933
- }, {
934
- $lt?: string;
935
- }>, z.ZodObject<{
188
+ }, z.core.$strip>, z.ZodObject<{
936
189
  $lte: z.ZodString;
937
- }, "strip", z.ZodTypeAny, {
938
- $lte?: string;
939
- }, {
940
- $lte?: string;
941
- }>]>, z.ZodUnion<[z.ZodObject<{
190
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
942
191
  $startsWith: z.ZodString;
943
- }, "strip", z.ZodTypeAny, {
944
- $startsWith?: string;
945
- }, {
946
- $startsWith?: string;
947
- }>, z.ZodObject<{
192
+ }, z.core.$strip>, z.ZodObject<{
948
193
  $startsWithi: z.ZodString;
949
- }, "strip", z.ZodTypeAny, {
950
- $startsWithi?: string;
951
- }, {
952
- $startsWithi?: string;
953
- }>]>, z.ZodUnion<[z.ZodObject<{
194
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
954
195
  $endsWith: z.ZodString;
955
- }, "strip", z.ZodTypeAny, {
956
- $endsWith?: string;
957
- }, {
958
- $endsWith?: string;
959
- }>, z.ZodObject<{
196
+ }, z.core.$strip>, z.ZodObject<{
960
197
  $endsWithi: z.ZodString;
961
- }, "strip", z.ZodTypeAny, {
962
- $endsWithi?: string;
963
- }, {
964
- $endsWithi?: string;
965
- }>]>, z.ZodUnion<[z.ZodObject<{
198
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
966
199
  $contains: z.ZodString;
967
- }, "strip", z.ZodTypeAny, {
968
- $contains?: string;
969
- }, {
970
- $contains?: string;
971
- }>, z.ZodObject<{
200
+ }, z.core.$strip>, z.ZodObject<{
972
201
  $containsi: z.ZodString;
973
- }, "strip", z.ZodTypeAny, {
974
- $containsi?: string;
975
- }, {
976
- $containsi?: string;
977
- }>]>, z.ZodUnion<[z.ZodObject<{
202
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
978
203
  $notContains: z.ZodString;
979
- }, "strip", z.ZodTypeAny, {
980
- $notContains?: string;
981
- }, {
982
- $notContains?: string;
983
- }>, z.ZodObject<{
204
+ }, z.core.$strip>, z.ZodObject<{
984
205
  $notContainsi: z.ZodString;
985
- }, "strip", z.ZodTypeAny, {
986
- $notContainsi?: string;
987
- }, {
988
- $notContainsi?: string;
989
- }>]>, z.ZodObject<{
990
- $null: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
991
- }, "strip", z.ZodTypeAny, {
992
- $null?: boolean;
993
- }, {
994
- $null?: string | boolean;
995
- }>, z.ZodObject<{
996
- $notNull: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
997
- }, "strip", z.ZodTypeAny, {
998
- $notNull?: boolean;
999
- }, {
1000
- $notNull?: string | boolean;
1001
- }>]>;
1002
- } & {
206
+ }, z.core.$strip>]>, z.ZodObject<{
207
+ $null: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>, z.ZodTransform<boolean, string | boolean>>, z.ZodBoolean>;
208
+ }, z.core.$strip>, z.ZodObject<{
209
+ $notNull: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>, z.ZodTransform<boolean, string | boolean>>, z.ZodBoolean>;
210
+ }, z.core.$strip>]>;
1003
211
  $or: z.ZodOptional<z.ZodArray<z.ZodObject<{
1004
- blocked: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodUnion<[z.ZodObject<{
212
+ blocked: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodUnion<readonly [z.ZodObject<{
1005
213
  $eq: z.ZodString;
1006
- }, "strip", z.ZodTypeAny, {
1007
- $eq?: string;
1008
- }, {
1009
- $eq?: string;
1010
- }>, z.ZodObject<{
214
+ }, z.core.$strip>, z.ZodObject<{
1011
215
  $eqi: z.ZodString;
1012
- }, "strip", z.ZodTypeAny, {
1013
- $eqi?: string;
1014
- }, {
1015
- $eqi?: string;
1016
- }>]>, z.ZodUnion<[z.ZodObject<{
216
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
1017
217
  $ne: z.ZodString;
1018
- }, "strip", z.ZodTypeAny, {
1019
- $ne?: string;
1020
- }, {
1021
- $ne?: string;
1022
- }>, z.ZodObject<{
218
+ }, z.core.$strip>, z.ZodObject<{
1023
219
  $nei: z.ZodString;
1024
- }, "strip", z.ZodTypeAny, {
1025
- $nei?: string;
1026
- }, {
1027
- $nei?: string;
1028
- }>]>, z.ZodUnion<[z.ZodObject<{
220
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
1029
221
  $gt: z.ZodString;
1030
- }, "strip", z.ZodTypeAny, {
1031
- $gt?: string;
1032
- }, {
1033
- $gt?: string;
1034
- }>, z.ZodObject<{
222
+ }, z.core.$strip>, z.ZodObject<{
1035
223
  $gte: z.ZodString;
1036
- }, "strip", z.ZodTypeAny, {
1037
- $gte?: string;
1038
- }, {
1039
- $gte?: string;
1040
- }>]>, z.ZodUnion<[z.ZodObject<{
224
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
1041
225
  $lt: z.ZodString;
1042
- }, "strip", z.ZodTypeAny, {
1043
- $lt?: string;
1044
- }, {
1045
- $lt?: string;
1046
- }>, z.ZodObject<{
226
+ }, z.core.$strip>, z.ZodObject<{
1047
227
  $lte: z.ZodString;
1048
- }, "strip", z.ZodTypeAny, {
1049
- $lte?: string;
1050
- }, {
1051
- $lte?: string;
1052
- }>]>, z.ZodUnion<[z.ZodObject<{
228
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
1053
229
  $startsWith: z.ZodString;
1054
- }, "strip", z.ZodTypeAny, {
1055
- $startsWith?: string;
1056
- }, {
1057
- $startsWith?: string;
1058
- }>, z.ZodObject<{
230
+ }, z.core.$strip>, z.ZodObject<{
1059
231
  $startsWithi: z.ZodString;
1060
- }, "strip", z.ZodTypeAny, {
1061
- $startsWithi?: string;
1062
- }, {
1063
- $startsWithi?: string;
1064
- }>]>, z.ZodUnion<[z.ZodObject<{
232
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
1065
233
  $endsWith: z.ZodString;
1066
- }, "strip", z.ZodTypeAny, {
1067
- $endsWith?: string;
1068
- }, {
1069
- $endsWith?: string;
1070
- }>, z.ZodObject<{
234
+ }, z.core.$strip>, z.ZodObject<{
1071
235
  $endsWithi: z.ZodString;
1072
- }, "strip", z.ZodTypeAny, {
1073
- $endsWithi?: string;
1074
- }, {
1075
- $endsWithi?: string;
1076
- }>]>, z.ZodUnion<[z.ZodObject<{
236
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
1077
237
  $contains: z.ZodString;
1078
- }, "strip", z.ZodTypeAny, {
1079
- $contains?: string;
1080
- }, {
1081
- $contains?: string;
1082
- }>, z.ZodObject<{
238
+ }, z.core.$strip>, z.ZodObject<{
1083
239
  $containsi: z.ZodString;
1084
- }, "strip", z.ZodTypeAny, {
1085
- $containsi?: string;
1086
- }, {
1087
- $containsi?: string;
1088
- }>]>, z.ZodUnion<[z.ZodObject<{
240
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
1089
241
  $notContains: z.ZodString;
1090
- }, "strip", z.ZodTypeAny, {
1091
- $notContains?: string;
1092
- }, {
1093
- $notContains?: string;
1094
- }>, z.ZodObject<{
242
+ }, z.core.$strip>, z.ZodObject<{
1095
243
  $notContainsi: z.ZodString;
1096
- }, "strip", z.ZodTypeAny, {
1097
- $notContainsi?: string;
1098
- }, {
1099
- $notContainsi?: string;
1100
- }>]>, z.ZodObject<{
1101
- $null: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
1102
- }, "strip", z.ZodTypeAny, {
1103
- $null?: boolean;
1104
- }, {
1105
- $null?: string | boolean;
1106
- }>, z.ZodObject<{
1107
- $notNull: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
1108
- }, "strip", z.ZodTypeAny, {
1109
- $notNull?: boolean;
1110
- }, {
1111
- $notNull?: string | boolean;
1112
- }>]>;
1113
- blockedThread: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodUnion<[z.ZodObject<{
244
+ }, z.core.$strip>]>, z.ZodObject<{
245
+ $null: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>, z.ZodTransform<boolean, string | boolean>>, z.ZodBoolean>;
246
+ }, z.core.$strip>, z.ZodObject<{
247
+ $notNull: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>, z.ZodTransform<boolean, string | boolean>>, z.ZodBoolean>;
248
+ }, z.core.$strip>]>;
249
+ blockedThread: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodUnion<readonly [z.ZodObject<{
1114
250
  $eq: z.ZodString;
1115
- }, "strip", z.ZodTypeAny, {
1116
- $eq?: string;
1117
- }, {
1118
- $eq?: string;
1119
- }>, z.ZodObject<{
251
+ }, z.core.$strip>, z.ZodObject<{
1120
252
  $eqi: z.ZodString;
1121
- }, "strip", z.ZodTypeAny, {
1122
- $eqi?: string;
1123
- }, {
1124
- $eqi?: string;
1125
- }>]>, z.ZodUnion<[z.ZodObject<{
253
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
1126
254
  $ne: z.ZodString;
1127
- }, "strip", z.ZodTypeAny, {
1128
- $ne?: string;
1129
- }, {
1130
- $ne?: string;
1131
- }>, z.ZodObject<{
255
+ }, z.core.$strip>, z.ZodObject<{
1132
256
  $nei: z.ZodString;
1133
- }, "strip", z.ZodTypeAny, {
1134
- $nei?: string;
1135
- }, {
1136
- $nei?: string;
1137
- }>]>, z.ZodUnion<[z.ZodObject<{
257
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
1138
258
  $gt: z.ZodString;
1139
- }, "strip", z.ZodTypeAny, {
1140
- $gt?: string;
1141
- }, {
1142
- $gt?: string;
1143
- }>, z.ZodObject<{
259
+ }, z.core.$strip>, z.ZodObject<{
1144
260
  $gte: z.ZodString;
1145
- }, "strip", z.ZodTypeAny, {
1146
- $gte?: string;
1147
- }, {
1148
- $gte?: string;
1149
- }>]>, z.ZodUnion<[z.ZodObject<{
261
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
1150
262
  $lt: z.ZodString;
1151
- }, "strip", z.ZodTypeAny, {
1152
- $lt?: string;
1153
- }, {
1154
- $lt?: string;
1155
- }>, z.ZodObject<{
263
+ }, z.core.$strip>, z.ZodObject<{
1156
264
  $lte: z.ZodString;
1157
- }, "strip", z.ZodTypeAny, {
1158
- $lte?: string;
1159
- }, {
1160
- $lte?: string;
1161
- }>]>, z.ZodUnion<[z.ZodObject<{
265
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
1162
266
  $startsWith: z.ZodString;
1163
- }, "strip", z.ZodTypeAny, {
1164
- $startsWith?: string;
1165
- }, {
1166
- $startsWith?: string;
1167
- }>, z.ZodObject<{
267
+ }, z.core.$strip>, z.ZodObject<{
1168
268
  $startsWithi: z.ZodString;
1169
- }, "strip", z.ZodTypeAny, {
1170
- $startsWithi?: string;
1171
- }, {
1172
- $startsWithi?: string;
1173
- }>]>, z.ZodUnion<[z.ZodObject<{
269
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
1174
270
  $endsWith: z.ZodString;
1175
- }, "strip", z.ZodTypeAny, {
1176
- $endsWith?: string;
1177
- }, {
1178
- $endsWith?: string;
1179
- }>, z.ZodObject<{
271
+ }, z.core.$strip>, z.ZodObject<{
1180
272
  $endsWithi: z.ZodString;
1181
- }, "strip", z.ZodTypeAny, {
1182
- $endsWithi?: string;
1183
- }, {
1184
- $endsWithi?: string;
1185
- }>]>, z.ZodUnion<[z.ZodObject<{
273
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
1186
274
  $contains: z.ZodString;
1187
- }, "strip", z.ZodTypeAny, {
1188
- $contains?: string;
1189
- }, {
1190
- $contains?: string;
1191
- }>, z.ZodObject<{
275
+ }, z.core.$strip>, z.ZodObject<{
1192
276
  $containsi: z.ZodString;
1193
- }, "strip", z.ZodTypeAny, {
1194
- $containsi?: string;
1195
- }, {
1196
- $containsi?: string;
1197
- }>]>, z.ZodUnion<[z.ZodObject<{
277
+ }, z.core.$strip>]>, z.ZodUnion<readonly [z.ZodObject<{
1198
278
  $notContains: z.ZodString;
1199
- }, "strip", z.ZodTypeAny, {
1200
- $notContains?: string;
1201
- }, {
1202
- $notContains?: string;
1203
- }>, z.ZodObject<{
279
+ }, z.core.$strip>, z.ZodObject<{
1204
280
  $notContainsi: z.ZodString;
1205
- }, "strip", z.ZodTypeAny, {
1206
- $notContainsi?: string;
1207
- }, {
1208
- $notContainsi?: string;
1209
- }>]>, z.ZodObject<{
1210
- $null: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
1211
- }, "strip", z.ZodTypeAny, {
1212
- $null?: boolean;
1213
- }, {
1214
- $null?: string | boolean;
1215
- }>, z.ZodObject<{
1216
- $notNull: z.ZodPipeline<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodBoolean]>, boolean, string | boolean>, z.ZodBoolean>;
1217
- }, "strip", z.ZodTypeAny, {
1218
- $notNull?: boolean;
1219
- }, {
1220
- $notNull?: string | boolean;
1221
- }>]>;
1222
- }, z.UnknownKeysParam, z.ZodTypeAny, {
1223
- blocked?: string | number | {
1224
- $eq?: string;
1225
- } | {
1226
- $eqi?: string;
1227
- } | {
1228
- $ne?: string;
1229
- } | {
1230
- $nei?: string;
1231
- } | {
1232
- $gt?: string;
1233
- } | {
1234
- $gte?: string;
1235
- } | {
1236
- $lt?: string;
1237
- } | {
1238
- $lte?: string;
1239
- } | {
1240
- $startsWith?: string;
1241
- } | {
1242
- $startsWithi?: string;
1243
- } | {
1244
- $endsWith?: string;
1245
- } | {
1246
- $endsWithi?: string;
1247
- } | {
1248
- $contains?: string;
1249
- } | {
1250
- $containsi?: string;
1251
- } | {
1252
- $notContains?: string;
1253
- } | {
1254
- $notContainsi?: string;
1255
- } | {
1256
- $null?: boolean;
1257
- } | {
1258
- $notNull?: boolean;
1259
- };
1260
- blockedThread?: string | number | {
1261
- $eq?: string;
1262
- } | {
1263
- $eqi?: string;
1264
- } | {
1265
- $ne?: string;
1266
- } | {
1267
- $nei?: string;
1268
- } | {
1269
- $gt?: string;
1270
- } | {
1271
- $gte?: string;
1272
- } | {
1273
- $lt?: string;
1274
- } | {
1275
- $lte?: string;
1276
- } | {
1277
- $startsWith?: string;
1278
- } | {
1279
- $startsWithi?: string;
1280
- } | {
1281
- $endsWith?: string;
1282
- } | {
1283
- $endsWithi?: string;
1284
- } | {
1285
- $contains?: string;
1286
- } | {
1287
- $containsi?: string;
1288
- } | {
1289
- $notContains?: string;
1290
- } | {
1291
- $notContainsi?: string;
1292
- } | {
1293
- $null?: boolean;
1294
- } | {
1295
- $notNull?: boolean;
1296
- };
1297
- }, {
1298
- blocked?: string | number | {
1299
- $eq?: string;
1300
- } | {
1301
- $eqi?: string;
1302
- } | {
1303
- $ne?: string;
1304
- } | {
1305
- $nei?: string;
1306
- } | {
1307
- $gt?: string;
1308
- } | {
1309
- $gte?: string;
1310
- } | {
1311
- $lt?: string;
1312
- } | {
1313
- $lte?: string;
1314
- } | {
1315
- $startsWith?: string;
1316
- } | {
1317
- $startsWithi?: string;
1318
- } | {
1319
- $endsWith?: string;
1320
- } | {
1321
- $endsWithi?: string;
1322
- } | {
1323
- $contains?: string;
1324
- } | {
1325
- $containsi?: string;
1326
- } | {
1327
- $notContains?: string;
1328
- } | {
1329
- $notContainsi?: string;
1330
- } | {
1331
- $null?: string | boolean;
1332
- } | {
1333
- $notNull?: string | boolean;
1334
- };
1335
- blockedThread?: string | number | {
1336
- $eq?: string;
1337
- } | {
1338
- $eqi?: string;
1339
- } | {
1340
- $ne?: string;
1341
- } | {
1342
- $nei?: string;
1343
- } | {
1344
- $gt?: string;
1345
- } | {
1346
- $gte?: string;
1347
- } | {
1348
- $lt?: string;
1349
- } | {
1350
- $lte?: string;
1351
- } | {
1352
- $startsWith?: string;
1353
- } | {
1354
- $startsWithi?: string;
1355
- } | {
1356
- $endsWith?: string;
1357
- } | {
1358
- $endsWithi?: string;
1359
- } | {
1360
- $contains?: string;
1361
- } | {
1362
- $containsi?: string;
1363
- } | {
1364
- $notContains?: string;
1365
- } | {
1366
- $notContainsi?: string;
1367
- } | {
1368
- $null?: string | boolean;
1369
- } | {
1370
- $notNull?: string | boolean;
1371
- };
1372
- }>, "many">>;
1373
- }, "strip", z.ZodTypeAny, {
1374
- removed?: string | number | {
1375
- $eq?: string;
1376
- } | {
1377
- $eqi?: string;
1378
- } | {
1379
- $ne?: string;
1380
- } | {
1381
- $nei?: string;
1382
- } | {
1383
- $gt?: string;
1384
- } | {
1385
- $gte?: string;
1386
- } | {
1387
- $lt?: string;
1388
- } | {
1389
- $lte?: string;
1390
- } | {
1391
- $startsWith?: string;
1392
- } | {
1393
- $startsWithi?: string;
1394
- } | {
1395
- $endsWith?: string;
1396
- } | {
1397
- $endsWithi?: string;
1398
- } | {
1399
- $contains?: string;
1400
- } | {
1401
- $containsi?: string;
1402
- } | {
1403
- $notContains?: string;
1404
- } | {
1405
- $notContainsi?: string;
1406
- } | {
1407
- $null?: boolean;
1408
- } | {
1409
- $notNull?: boolean;
1410
- };
1411
- approvalStatus?: string | number | {
1412
- $eq?: string;
1413
- } | {
1414
- $eqi?: string;
1415
- } | {
1416
- $ne?: string;
1417
- } | {
1418
- $nei?: string;
1419
- } | {
1420
- $gt?: string;
1421
- } | {
1422
- $gte?: string;
1423
- } | {
1424
- $lt?: string;
1425
- } | {
1426
- $lte?: string;
1427
- } | {
1428
- $startsWith?: string;
1429
- } | {
1430
- $startsWithi?: string;
1431
- } | {
1432
- $endsWith?: string;
1433
- } | {
1434
- $endsWithi?: string;
1435
- } | {
1436
- $contains?: string;
1437
- } | {
1438
- $containsi?: string;
1439
- } | {
1440
- $notContains?: string;
1441
- } | {
1442
- $notContainsi?: string;
1443
- } | {
1444
- $null?: boolean;
1445
- } | {
1446
- $notNull?: boolean;
1447
- };
1448
- $or?: {
1449
- blocked?: string | number | {
1450
- $eq?: string;
1451
- } | {
1452
- $eqi?: string;
1453
- } | {
1454
- $ne?: string;
1455
- } | {
1456
- $nei?: string;
1457
- } | {
1458
- $gt?: string;
1459
- } | {
1460
- $gte?: string;
1461
- } | {
1462
- $lt?: string;
1463
- } | {
1464
- $lte?: string;
1465
- } | {
1466
- $startsWith?: string;
1467
- } | {
1468
- $startsWithi?: string;
1469
- } | {
1470
- $endsWith?: string;
1471
- } | {
1472
- $endsWithi?: string;
1473
- } | {
1474
- $contains?: string;
1475
- } | {
1476
- $containsi?: string;
1477
- } | {
1478
- $notContains?: string;
1479
- } | {
1480
- $notContainsi?: string;
1481
- } | {
1482
- $null?: boolean;
1483
- } | {
1484
- $notNull?: boolean;
1485
- };
1486
- blockedThread?: string | number | {
1487
- $eq?: string;
1488
- } | {
1489
- $eqi?: string;
1490
- } | {
1491
- $ne?: string;
1492
- } | {
1493
- $nei?: string;
1494
- } | {
1495
- $gt?: string;
1496
- } | {
1497
- $gte?: string;
1498
- } | {
1499
- $lt?: string;
1500
- } | {
1501
- $lte?: string;
1502
- } | {
1503
- $startsWith?: string;
1504
- } | {
1505
- $startsWithi?: string;
1506
- } | {
1507
- $endsWith?: string;
1508
- } | {
1509
- $endsWithi?: string;
1510
- } | {
1511
- $contains?: string;
1512
- } | {
1513
- $containsi?: string;
1514
- } | {
1515
- $notContains?: string;
1516
- } | {
1517
- $notContainsi?: string;
1518
- } | {
1519
- $null?: boolean;
1520
- } | {
1521
- $notNull?: boolean;
1522
- };
1523
- }[];
1524
- }, {
1525
- removed?: string | number | {
1526
- $eq?: string;
1527
- } | {
1528
- $eqi?: string;
1529
- } | {
1530
- $ne?: string;
1531
- } | {
1532
- $nei?: string;
1533
- } | {
1534
- $gt?: string;
1535
- } | {
1536
- $gte?: string;
1537
- } | {
1538
- $lt?: string;
1539
- } | {
1540
- $lte?: string;
1541
- } | {
1542
- $startsWith?: string;
1543
- } | {
1544
- $startsWithi?: string;
1545
- } | {
1546
- $endsWith?: string;
1547
- } | {
1548
- $endsWithi?: string;
1549
- } | {
1550
- $contains?: string;
1551
- } | {
1552
- $containsi?: string;
1553
- } | {
1554
- $notContains?: string;
1555
- } | {
1556
- $notContainsi?: string;
1557
- } | {
1558
- $null?: string | boolean;
1559
- } | {
1560
- $notNull?: string | boolean;
1561
- };
1562
- approvalStatus?: string | number | {
1563
- $eq?: string;
1564
- } | {
1565
- $eqi?: string;
1566
- } | {
1567
- $ne?: string;
1568
- } | {
1569
- $nei?: string;
1570
- } | {
1571
- $gt?: string;
1572
- } | {
1573
- $gte?: string;
1574
- } | {
1575
- $lt?: string;
1576
- } | {
1577
- $lte?: string;
1578
- } | {
1579
- $startsWith?: string;
1580
- } | {
1581
- $startsWithi?: string;
1582
- } | {
1583
- $endsWith?: string;
1584
- } | {
1585
- $endsWithi?: string;
1586
- } | {
1587
- $contains?: string;
1588
- } | {
1589
- $containsi?: string;
1590
- } | {
1591
- $notContains?: string;
1592
- } | {
1593
- $notContainsi?: string;
1594
- } | {
1595
- $null?: string | boolean;
1596
- } | {
1597
- $notNull?: string | boolean;
1598
- };
1599
- $or?: {
1600
- blocked?: string | number | {
1601
- $eq?: string;
1602
- } | {
1603
- $eqi?: string;
1604
- } | {
1605
- $ne?: string;
1606
- } | {
1607
- $nei?: string;
1608
- } | {
1609
- $gt?: string;
1610
- } | {
1611
- $gte?: string;
1612
- } | {
1613
- $lt?: string;
1614
- } | {
1615
- $lte?: string;
1616
- } | {
1617
- $startsWith?: string;
1618
- } | {
1619
- $startsWithi?: string;
1620
- } | {
1621
- $endsWith?: string;
1622
- } | {
1623
- $endsWithi?: string;
1624
- } | {
1625
- $contains?: string;
1626
- } | {
1627
- $containsi?: string;
1628
- } | {
1629
- $notContains?: string;
1630
- } | {
1631
- $notContainsi?: string;
1632
- } | {
1633
- $null?: string | boolean;
1634
- } | {
1635
- $notNull?: string | boolean;
1636
- };
1637
- blockedThread?: string | number | {
1638
- $eq?: string;
1639
- } | {
1640
- $eqi?: string;
1641
- } | {
1642
- $ne?: string;
1643
- } | {
1644
- $nei?: string;
1645
- } | {
1646
- $gt?: string;
1647
- } | {
1648
- $gte?: string;
1649
- } | {
1650
- $lt?: string;
1651
- } | {
1652
- $lte?: string;
1653
- } | {
1654
- $startsWith?: string;
1655
- } | {
1656
- $startsWithi?: string;
1657
- } | {
1658
- $endsWith?: string;
1659
- } | {
1660
- $endsWithi?: string;
1661
- } | {
1662
- $contains?: string;
1663
- } | {
1664
- $containsi?: string;
1665
- } | {
1666
- $notContains?: string;
1667
- } | {
1668
- $notContainsi?: string;
1669
- } | {
1670
- $null?: string | boolean;
1671
- } | {
1672
- $notNull?: string | boolean;
1673
- };
1674
- }[];
1675
- }>>;
1676
- }, "strip", z.ZodTypeAny, {
1677
- page?: number;
1678
- pageSize?: number;
1679
- _q?: string;
1680
- orderBy?: string;
1681
- filters?: {
1682
- removed?: string | number | {
1683
- $eq?: string;
1684
- } | {
1685
- $eqi?: string;
1686
- } | {
1687
- $ne?: string;
1688
- } | {
1689
- $nei?: string;
1690
- } | {
1691
- $gt?: string;
1692
- } | {
1693
- $gte?: string;
1694
- } | {
1695
- $lt?: string;
1696
- } | {
1697
- $lte?: string;
1698
- } | {
1699
- $startsWith?: string;
1700
- } | {
1701
- $startsWithi?: string;
1702
- } | {
1703
- $endsWith?: string;
1704
- } | {
1705
- $endsWithi?: string;
1706
- } | {
1707
- $contains?: string;
1708
- } | {
1709
- $containsi?: string;
1710
- } | {
1711
- $notContains?: string;
1712
- } | {
1713
- $notContainsi?: string;
1714
- } | {
1715
- $null?: boolean;
1716
- } | {
1717
- $notNull?: boolean;
1718
- };
1719
- approvalStatus?: string | number | {
1720
- $eq?: string;
1721
- } | {
1722
- $eqi?: string;
1723
- } | {
1724
- $ne?: string;
1725
- } | {
1726
- $nei?: string;
1727
- } | {
1728
- $gt?: string;
1729
- } | {
1730
- $gte?: string;
1731
- } | {
1732
- $lt?: string;
1733
- } | {
1734
- $lte?: string;
1735
- } | {
1736
- $startsWith?: string;
1737
- } | {
1738
- $startsWithi?: string;
1739
- } | {
1740
- $endsWith?: string;
1741
- } | {
1742
- $endsWithi?: string;
1743
- } | {
1744
- $contains?: string;
1745
- } | {
1746
- $containsi?: string;
1747
- } | {
1748
- $notContains?: string;
1749
- } | {
1750
- $notContainsi?: string;
1751
- } | {
1752
- $null?: boolean;
1753
- } | {
1754
- $notNull?: boolean;
1755
- };
1756
- $or?: {
1757
- blocked?: string | number | {
1758
- $eq?: string;
1759
- } | {
1760
- $eqi?: string;
1761
- } | {
1762
- $ne?: string;
1763
- } | {
1764
- $nei?: string;
1765
- } | {
1766
- $gt?: string;
1767
- } | {
1768
- $gte?: string;
1769
- } | {
1770
- $lt?: string;
1771
- } | {
1772
- $lte?: string;
1773
- } | {
1774
- $startsWith?: string;
1775
- } | {
1776
- $startsWithi?: string;
1777
- } | {
1778
- $endsWith?: string;
1779
- } | {
1780
- $endsWithi?: string;
1781
- } | {
1782
- $contains?: string;
1783
- } | {
1784
- $containsi?: string;
1785
- } | {
1786
- $notContains?: string;
1787
- } | {
1788
- $notContainsi?: string;
1789
- } | {
1790
- $null?: boolean;
1791
- } | {
1792
- $notNull?: boolean;
1793
- };
1794
- blockedThread?: string | number | {
1795
- $eq?: string;
1796
- } | {
1797
- $eqi?: string;
1798
- } | {
1799
- $ne?: string;
1800
- } | {
1801
- $nei?: string;
1802
- } | {
1803
- $gt?: string;
1804
- } | {
1805
- $gte?: string;
1806
- } | {
1807
- $lt?: string;
1808
- } | {
1809
- $lte?: string;
1810
- } | {
1811
- $startsWith?: string;
1812
- } | {
1813
- $startsWithi?: string;
1814
- } | {
1815
- $endsWith?: string;
1816
- } | {
1817
- $endsWithi?: string;
1818
- } | {
1819
- $contains?: string;
1820
- } | {
1821
- $containsi?: string;
1822
- } | {
1823
- $notContains?: string;
1824
- } | {
1825
- $notContainsi?: string;
1826
- } | {
1827
- $null?: boolean;
1828
- } | {
1829
- $notNull?: boolean;
1830
- };
1831
- }[];
1832
- };
1833
- }, {
1834
- page?: string | number;
1835
- pageSize?: string | number;
1836
- _q?: string;
1837
- orderBy?: string;
1838
- filters?: {
1839
- removed?: string | number | {
1840
- $eq?: string;
1841
- } | {
1842
- $eqi?: string;
1843
- } | {
1844
- $ne?: string;
1845
- } | {
1846
- $nei?: string;
1847
- } | {
1848
- $gt?: string;
1849
- } | {
1850
- $gte?: string;
1851
- } | {
1852
- $lt?: string;
1853
- } | {
1854
- $lte?: string;
1855
- } | {
1856
- $startsWith?: string;
1857
- } | {
1858
- $startsWithi?: string;
1859
- } | {
1860
- $endsWith?: string;
1861
- } | {
1862
- $endsWithi?: string;
1863
- } | {
1864
- $contains?: string;
1865
- } | {
1866
- $containsi?: string;
1867
- } | {
1868
- $notContains?: string;
1869
- } | {
1870
- $notContainsi?: string;
1871
- } | {
1872
- $null?: string | boolean;
1873
- } | {
1874
- $notNull?: string | boolean;
1875
- };
1876
- approvalStatus?: string | number | {
1877
- $eq?: string;
1878
- } | {
1879
- $eqi?: string;
1880
- } | {
1881
- $ne?: string;
1882
- } | {
1883
- $nei?: string;
1884
- } | {
1885
- $gt?: string;
1886
- } | {
1887
- $gte?: string;
1888
- } | {
1889
- $lt?: string;
1890
- } | {
1891
- $lte?: string;
1892
- } | {
1893
- $startsWith?: string;
1894
- } | {
1895
- $startsWithi?: string;
1896
- } | {
1897
- $endsWith?: string;
1898
- } | {
1899
- $endsWithi?: string;
1900
- } | {
1901
- $contains?: string;
1902
- } | {
1903
- $containsi?: string;
1904
- } | {
1905
- $notContains?: string;
1906
- } | {
1907
- $notContainsi?: string;
1908
- } | {
1909
- $null?: string | boolean;
1910
- } | {
1911
- $notNull?: string | boolean;
1912
- };
1913
- $or?: {
1914
- blocked?: string | number | {
1915
- $eq?: string;
1916
- } | {
1917
- $eqi?: string;
1918
- } | {
1919
- $ne?: string;
1920
- } | {
1921
- $nei?: string;
1922
- } | {
1923
- $gt?: string;
1924
- } | {
1925
- $gte?: string;
1926
- } | {
1927
- $lt?: string;
1928
- } | {
1929
- $lte?: string;
1930
- } | {
1931
- $startsWith?: string;
1932
- } | {
1933
- $startsWithi?: string;
1934
- } | {
1935
- $endsWith?: string;
1936
- } | {
1937
- $endsWithi?: string;
1938
- } | {
1939
- $contains?: string;
1940
- } | {
1941
- $containsi?: string;
1942
- } | {
1943
- $notContains?: string;
1944
- } | {
1945
- $notContainsi?: string;
1946
- } | {
1947
- $null?: string | boolean;
1948
- } | {
1949
- $notNull?: string | boolean;
1950
- };
1951
- blockedThread?: string | number | {
1952
- $eq?: string;
1953
- } | {
1954
- $eqi?: string;
1955
- } | {
1956
- $ne?: string;
1957
- } | {
1958
- $nei?: string;
1959
- } | {
1960
- $gt?: string;
1961
- } | {
1962
- $gte?: string;
1963
- } | {
1964
- $lt?: string;
1965
- } | {
1966
- $lte?: string;
1967
- } | {
1968
- $startsWith?: string;
1969
- } | {
1970
- $startsWithi?: string;
1971
- } | {
1972
- $endsWith?: string;
1973
- } | {
1974
- $endsWithi?: string;
1975
- } | {
1976
- $contains?: string;
1977
- } | {
1978
- $containsi?: string;
1979
- } | {
1980
- $notContains?: string;
1981
- } | {
1982
- $notContainsi?: string;
1983
- } | {
1984
- $null?: string | boolean;
1985
- } | {
1986
- $notNull?: string | boolean;
1987
- };
1988
- }[];
1989
- };
1990
- }>;
1991
- export declare const validate: <I, O>(result: z.SafeParseReturnType<I, O>) => import("../utils/Either").Left<PluginError> | import("../utils/Either").Right<O>;
1992
- export declare const getRelationValidator: (enabledCollections: string[]) => z.ZodEffects<z.ZodString, `${string}::${string}.${string}`, string>;
281
+ }, z.core.$strip>]>, z.ZodObject<{
282
+ $null: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>, z.ZodTransform<boolean, string | boolean>>, z.ZodBoolean>;
283
+ }, z.core.$strip>, z.ZodObject<{
284
+ $notNull: z.ZodPipe<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodBoolean]>, z.ZodTransform<boolean, string | boolean>>, z.ZodBoolean>;
285
+ }, z.core.$strip>]>;
286
+ }, z.core.$strip>>>;
287
+ }, z.core.$strip>>;
288
+ }, z.core.$strip>;
289
+ export declare const validate: <O>(result: z.ZodSafeParseResult<O>) => import("../utils/Either").Left<PluginError> | import("../utils/Either").Right<O>;
290
+ export declare const getRelationValidator: (enabledCollections: string[]) => z.ZodType<`${string}::${string}.${string}`, string, z.core.$ZodTypeInternals<`${string}::${string}.${string}`, string>>;
1993
291
  export declare const externalAuthorSchema: z.ZodObject<{
1994
- id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
292
+ id: z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>;
1995
293
  name: z.ZodOptional<z.ZodString>;
1996
294
  email: z.ZodString;
1997
295
  avatar: z.ZodOptional<z.ZodString>;
1998
- }, "strip", z.ZodTypeAny, {
1999
- name?: string;
2000
- id?: string | number;
2001
- email?: string;
2002
- avatar?: string;
2003
- }, {
2004
- name?: string;
2005
- id?: string | number;
2006
- email?: string;
2007
- avatar?: string;
2008
- }>;
2009
- export declare const primitiveUnion: z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean]>;
296
+ }, z.core.$strip>;
297
+ export declare const primitiveUnion: z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>;
298
+ export declare const isRecord: (value: unknown) => value is Record<string, unknown>;
2010
299
  export {};